Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Nema 17 intergrated servo motor possible?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    19
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • IBICOundefined
      IBICO @rabbit
      last edited by

      @rabbit said in Nema 17 intergrated servo motor possible?:

      Yes these motors work quite fine with the duet. I have two of these in a corexy too.

      Nice.. Anything special you needed to do in the setup? I guess you just wire them up as external stepper motors. I found some guide for that, but not sure if I need to do something more.

      1 Reply Last reply Reply Quote 0
      • rabbitundefined
        rabbit
        last edited by

        Yes you can connect it directly to the duet board. But I would recommend the expanson board to you, because this has a higher trigger voltage. I also use a 3:1 belt reduction gear because the servomotors are difficult to tweak.(without gear I had salmon skin)

        1 Reply Last reply Reply Quote 0
        • mrehorstdmdundefined
          mrehorstdmd @rabbit
          last edited by mrehorstdmd

          @rabbit @IBICO I tried them in my corexy machine driving the mechanism directly- no reduction from pulleys- and got the salmon skin effect. Can you post photos of the prints your machine produces with these motors and 3:1 reduction? When the motors were in my printer they were completely silent.

          alt text

          I have the software to tweak the driver settings, but there's no information on how to do it anywhere that I can find, so I used them with factory default settings.

          I used a duet expansion board to get the step/driection/enable signals to drive the motors. It works fine, but requires a little tweaking of the signal timing to get them to work right. I have the motors installed in a corexy sand table mechanism now:
          arrakis mechanism

          alt text

          Here's how I configured the motors with the Duet expansion board:

          M584 X5 Y6  ; remaps the X and Y motor drives to the Duet expansion board
          M569 P5 S1 R1 T4.0:5.0:6.0:11.0  ; sets the timing parameters for the X motor servo drive signals
          M569 P6 S1 R1 T4.0:5.0:6.0:11.0    ; sets the timing parameters for the Y motor servo drive signals
          M92: X500 Y500  ; sets steps/mm for motors using 20 tooth drive pulley and 20,000 steps/rev
          M350 X1 Y1 ; sets Duet to output full steps (microstepping is handled by the servomotor drivers)
          M201 X10000 Y10000 ; set maximum acceleration limits for each axis
          M204 P2000 T2000 ; set print and travel move acceleration
          M566 X20 Y20  ; set maximum jerk speed for each axis
          M203 X240 Y240 ; set maximum speeds for each axis
          

          The servomotors will take as much current as they need to keep up with the input signal, so if you're going to run them hard, you need beefy power supplies. I run the sand table with acceleration at 10k-20k and speeds up to 2000 mm/sec and use a 150W supply for one motor and a 200W supply for the other, and sometimes the supplies shut down. I would think that a single 200W supply would be able to provide all the juice needed to power two motors in a 3D printer.

          I wrote a couple blog posts on these motors:
          https://drmrehorst.blogspot.com/2020/11/heres-what-happened-when-i-swapped.html
          https://drmrehorst.blogspot.com/2020/04/ihsv-servomotor-information.html
          https://drmrehorst.blogspot.com/2020/04/the-spice-must-flow-gets-servo-motors.html

          https://drmrehorst.blogspot.com/

          1 Reply Last reply Reply Quote 0
          • rabbitundefined
            rabbit
            last edited by

            Hi,
            I can post some pics on friday.

            1 Reply Last reply Reply Quote 0
            • rabbitundefined
              rabbit
              last edited by

              Hi,
              Here is a picture of a print before the gear reduction:
              IMG_20210212_094730.jpg
              And after:
              IMG_20210212_094557.jpg
              IMG_20210212_094341.jpg
              Printspeed was 100 mm/s @20 000 mm/s² acc

              1 Reply Last reply Reply Quote 0
              • rabbitundefined
                rabbit
                last edited by

                Here are some pics from the printer
                IMG_20210212_105833.jpg
                and from the final belt reduction gear:
                IMG_20210212_105845.jpg

                1 Reply Last reply Reply Quote 0
                • mrehorstdmdundefined
                  mrehorstdmd
                  last edited by mrehorstdmd

                  @rabbit Looks great! That was 3:1 reduction? Can you post the M569 statements from config.g? Are there any special config tweaks?

                  https://drmrehorst.blogspot.com/

                  1 Reply Last reply Reply Quote 0
                  • rabbitundefined
                    rabbit
                    last edited by

                    yes that's the 1:3 reduction with a 60t and a 20t gt2 belt.

                    M569 P5 S1 T3.5                                  ; physical drive 4 goes forwards
                    M569 P6 S1 T3.5                                  ; physical drive 4 goes forwards
                    

                    I set the rigidity of the motors (Parameter P01-03) to 22.

                    taylo708undefined 1 Reply Last reply Reply Quote 0
                    • taylo708undefined
                      taylo708 @rabbit
                      last edited by

                      @rabbit I set the rigidity of the motors (Parameter P01-03) to 22.

                      How do I change this parameter? Do I just buy a cable and download a program? I too am getting a salmon finish to my prints. I have a 2:1 reduction in the Y but not in the X. I would like to try to reduce the effects of this if possible with tuning. If not I may look into other motors or possible mechanical reduction.image0.png

                      mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                      • mrehorstdmdundefined
                        mrehorstdmd @taylo708
                        last edited by

                        @taylo708 I have been gathering iHSV servo info on a blog page here: https://drmrehorst.blogspot.com/2020/04/ihsv-servomotor-information.html

                        You need a USB to RS-232 adapter like this one to program the driver parameters: https://www.amazon.com/UGREEN-Converter-Adapter-Chipset-Windows/dp/B00QUZY4UG/ref=sr_1_3?dchild=1&keywords=usb%2Brs232%2Badapter%2BPL2303&qid=1592150850&sr=8-3&th=1

                        There are many different ones made- just look for the PL2303 chip and it should work.

                        You'll also need the software for programming the motors - there's a link on my blog page for that.

                        https://drmrehorst.blogspot.com/

                        taylo708undefined 1 Reply Last reply Reply Quote 0
                        • taylo708undefined
                          taylo708 @mrehorstdmd
                          last edited by

                          @mrehorstdmd

                          Your blog is phenomenal! I have been trying to find information on these for about a month. I finally got them working but always wanting better.

                          mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                          • mrehorstdmdundefined
                            mrehorstdmd @taylo708
                            last edited by mrehorstdmd

                            @taylo708 Thanks! What is the filament you used in that print? It's beautiful!

                            If you find any info I don't have yet, send me a link so I can add it to the blog post.

                            https://drmrehorst.blogspot.com/

                            1 Reply Last reply Reply Quote 0
                            • 3DPMicroundefined
                              3DPMicro
                              last edited by

                              I noticed the voltage on those servos is advertised as 24. Is there a maximum or range stated in it accompanying literature?

                              Duet controlled Lathe, micro mill, 3d printer and 1992 Haas VF2 VMC

                              mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                              • mrehorstdmdundefined
                                mrehorstdmd @3DPMicro
                                last edited by

                                @3dpmicro The manual here says 24V for the NEMA-17 size motors. The NEMA-23 motors are good for 36V.

                                https://drmrehorst.blogspot.com/

                                jay_s_ukundefined 3DPMicroundefined 2 Replies Last reply Reply Quote 0
                                • jay_s_ukundefined
                                  jay_s_uk @mrehorstdmd
                                  last edited by

                                  I've just ordered a couple of these from china to play with.
                                  £60 each at the moment https://www.aliexpress.com/item/1005002331999899.html

                                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                                  mrehorstdmdundefined 1 Reply Last reply Reply Quote 0
                                  • 3DPMicroundefined
                                    3DPMicro @mrehorstdmd
                                    last edited by

                                    @mrehorstdmd thank you

                                    Duet controlled Lathe, micro mill, 3d printer and 1992 Haas VF2 VMC

                                    1 Reply Last reply Reply Quote 0
                                    • mrehorstdmdundefined
                                      mrehorstdmd @jay_s_uk
                                      last edited by

                                      @jay_s_uk I ordered 4 of them. That's the best price I've ever seen on them.

                                      https://drmrehorst.blogspot.com/

                                      1 Reply Last reply Reply Quote 1
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA