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

ClearPath Servo Motors Testing - So far so good

Scheduled Pinned Locked Moved
My Duet controlled machine
15
26
3.2k
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.
  • undefined
    Mirage
    last edited by Mirage 3 Mar 2021, 20:06 18 Nov 2020, 07:51

    So I have been playing with these servo motors for the past week or so and I think that I am on the right "path" ๐Ÿ™‚

    So far here is how I have set them up:
    Duet2 Wifi + Breakout board

    ClearPath Connector Duet2 Break out board
    Step+ (B+) 5V+ (from Heater6 3pin conn.)
    Step- (B-) Step- (from Drive5 conn.)
    Dir+ (A+) 5V+ (from Heater6 3pin conn.)
    Dir- (A-) Dir- (from Drive5 conn.)
    En+ (Enable+) 5V+ (from Heater6 3pin conn.)
    En- (Enable-) Ena- (from Drive5 conn.)

    I have set the M569 parameters with the followings:

    M569 P5 R0 T2:2:2:2 S0
    

    Movements were a bit rough at first but after tuning the servos on the printer One motor at the time with the other one enabled and lock improved things by a lot.

    I had drift in the coordinates at first, but I decreased the step/mm from the duet and compensated on the servo config, then played with the M569 timing values a bit. I think they work good now.

    Will keep you posted when I have print results.

    alt text

    undefined 1 Reply Last reply 11 Dec 2020, 18:47 Reply Quote 4
    • undefined
      janusofdoors
      last edited by 18 Nov 2020, 10:03

      Looking good, can't wait to see a print

      undefined 1 Reply Last reply 18 Nov 2020, 14:22 Reply Quote 0
      • undefined
        Mirage @janusofdoors
        last edited by 18 Nov 2020, 14:22

        @vishiano said in ClearPath Servo Motors Testing - So far so good:

        Looking good, can't wait to see a print

        Same here! been working at this since July. Getting closer. I have yet to see one successful print created by these motors. A few people have tried, but I have not seen a single confirmation of success.

        I have to admit that I am a bit nervous at running into the same dead end... But! luckily I am quite hard headed ๐Ÿ˜„

        1 Reply Last reply Reply Quote 0
        • undefined
          mrehorstdmd
          last edited by mrehorstdmd 18 Nov 2020, 15:08

          I have been using some iHSV-42 (78W NEMA-17) servos from China in a sand table and have pushed it up to 20k acceleration and 2000 mm/sec. It works great for the sand table.

          The Spice Must Flow!

          I pulled the servomotors from the sand table and installed them in my corexy 3D printer and tried running at much more normal acceleration and speeds and actually ran a couple prints to compare the results between steppers and servos. I wrote a blog post with some photos and links to video here: https://drmrehorst.blogspot.com/2020/11/heres-what-happened-when-i-swapped.html

          I suspect the print quality issues with the servos can be remedied by proper tuning of the motor drivers, but there's very little information on that for the iHSV-42 motors. Maybe you'll have better results from the clearpath motors.

          I was using separate power supplies for the motors- one 150W and the other 200W. I found that when I set acceleration to 20k, it made the power supplies shut down. If you want huge acceleration, you need big power supplies!

          I put the steppers back into the printer and the servos are now in a new, slightly smaller version of the sand table that has 600 x 990 mm drawing area.

          Arrakis sand table mechanism at 15k accel and 1500 mm/sec

          one more

          Arrakis construction details

          https://drmrehorst.blogspot.com/

          undefined 1 Reply Last reply 18 Nov 2020, 15:17 Reply Quote 1
          • undefined
            Mirage @mrehorstdmd
            last edited by 18 Nov 2020, 15:17

            @mrehorstdmd This sand table is amazing! totally mesmerizing!
            Thank you for your feedback. I am going through you impressive material.

            Hopefully the auto tuning capability of the clear path will give me the right tools to achieve descent print quality.

            ๐Ÿ™‚

            1 Reply Last reply Reply Quote 0
            • undefined
              alankilian
              last edited by 18 Nov 2020, 15:23

              @Mirage A colleague of mine from when I lived in Minnesota has made sand plotters for decades and after a successful (Like $2 million on a $50,000 goal) Kickstarter he sells them now.

              https://sisyphus-industries.com/

              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

              undefined 1 Reply Last reply 18 Nov 2020, 15:35 Reply Quote 1
              • undefined
                Mirage @alankilian
                last edited by 18 Nov 2020, 15:35

                @alankilian said in ClearPath Servo Motors Testing - So far so good:

                @Mirage A colleague of mine from when I lived in Minnesota has made sand plotters for decades and after a successful (Like $2 million on a $50,000 goal) Kickstarter he sells them now.

                https://sisyphus-industries.com/

                wow ! i did not know these existed until I saw @mrehorstdmd 's post! Beautiful, wonder if this would calmdown my kids.... ๐Ÿ˜•

                1 Reply Last reply Reply Quote 0
                • undefined
                  alankilian
                  last edited by 18 Nov 2020, 15:39

                  Here's a 2 meter diameter one he installed in a museum in Switzerland:
                  https://2001.sisyphus-industries.com/art_machines/sisiii.htm

                  SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                  1 Reply Last reply Reply Quote 1
                  • undefined
                    brownbuda1
                    last edited by 18 Nov 2020, 19:25

                    Hi mate.
                    Looking good.
                    Doing a linear motor build.
                    Any tips on the servo implementation would be great.

                    undefined 1 Reply Last reply 18 Nov 2020, 21:09 Reply Quote 0
                    • undefined
                      sym @brownbuda1
                      last edited by 18 Nov 2020, 21:09

                      @brownbuda1 said in ClearPath Servo Motors Testing - So far so good:

                      Hi mate.
                      Looking good.
                      Doing a linear motor build.
                      Any tips on the servo implementation would be great.

                      I'm actually playing with this myself. I recently got a pretty wild deal on a bunch of linear motors and magnet track. What hardware are you planning on doing this with?

                      And not to get off topic but the key issues here seem to be essentially ensuring:

                      1. The servo controller is appropriately tuned to the characteristics of both the motor and the physical installation

                      2. The step driver is appropriately tuned to the servo controller.

                      Since either a linear or classic servo has encoder outputs it would be trivial to measure the actual / expected position of the axis at any given time and adjust the tuning to have these values converge to an acceptable level. There's a lot of issues here I am anticipating. I currently have one of my axis making large travel moves with less than 50ยตm of maximum deviation (as measured by glass scale linear encoders) but those moves are being driven by commanding the servo controller directly rather than driving it with step/dir from a machine controller.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        alankilian
                        last edited by 18 Nov 2020, 21:51

                        20 years ago I wrote an article on how to tune PID controllers from a DIY type perspective.

                        http://www.tcrobots.org/articles/Kilian120.pdf

                        I have since gotten a BS in Mechatronics and we learned how to tune PID controls with physics and math, but I've forgotten a lot of the theory and the math, so I'm not sure I could do it from scratch right now.

                        But if you have tuning questions, I can try to help.

                        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                        undefined 1 Reply Last reply 18 Nov 2020, 21:58 Reply Quote 1
                        • undefined
                          Mirage @alankilian
                          last edited by 18 Nov 2020, 21:58

                          @alankilian thank you very much! the more resources the better! I am keeping that in mind ๐Ÿ™‚

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Mabover
                            last edited by 19 Nov 2020, 00:59

                            Just wanted to jump in here and mention that with high acceleration and deceleration values with servos the deceleration can actually cause a switching power supply to shutdown due to over volting of the power bus. The common way of dealing with this is a brake chopper circuit, it uses a resistor to blead off voltage above a specified value to prevent over volting. These circuits also sometimes use a capacitor bank to absorb excess voltage as well.
                            Most switch mode power supplies will shutdown around 2-4 volts above the configured voltage.
                            That's not to say that you may not run into shutdowns under high acceleration due to boost current being used by the servo drive for a longer period of time.

                            undefined dc42undefined 2 Replies Last reply 19 Nov 2020, 04:08 Reply Quote 0
                            • undefined
                              mrehorstdmd @Mabover
                              last edited by mrehorstdmd 19 Nov 2020, 04:08

                              @Mabover In my sand table when I set acceleration to 20k mm/sec^2 the power supplies start shutting down. I thought the supplies were shutting down because the motors were pulling too much current. If it runs at 2000 mm/sec I start getting over voltage messages from the Duet board. At 2000 mm/sec it's exceeding the 3k rpm max spec for the motors, and as I understand it, the max rpm spec is based on back EMF generation so it makes sense that I get the over voltage messages.

                              I limit maximum speed to 1500 mm/sec now and keep acceleration down to 15k mm/sec^2 or less and don't seem to have any problems. Both are much higher than I really need the machine to move for a sand table- at speeds of 500 mm/sec and acceleration of 5k it tends to start throwing the sand around...

                              https://drmrehorst.blogspot.com/

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                akstrfn
                                last edited by 19 Nov 2020, 17:25

                                With servo (or linear) motors and very high accelerations is retraction necessary?

                                Phaedruxundefined 1 Reply Last reply 19 Nov 2020, 17:30 Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator @akstrfn
                                  last edited by 19 Nov 2020, 17:30

                                  @akstrfn said in ClearPath Servo Motors Testing - So far so good:

                                  With servo (or linear) motors and very high accelerations is retraction necessary?

                                  With pressure advance the requirement for retraction would be considerably less, but some retraction may still be required. The melted plastic doesn't stop flowing.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  undefined 1 Reply Last reply 19 Nov 2020, 17:59 Reply Quote 0
                                  • undefined
                                    akstrfn @Phaedrux
                                    last edited by 19 Nov 2020, 17:59

                                    @Phaedrux I guess pressure advance would be necessary to reduce the pressure but the retractions from slicer seem unecessary because the plastic should be substantially slower than the print head moving to new location. I hope we'll get some results on this from people having these extreme speed setups finished.

                                    1 Reply Last reply Reply Quote 0
                                    • jbergeneundefined
                                      jbergene
                                      last edited by 8 Dec 2020, 13:06

                                      Hi

                                      Regarding the clearpath's, does anyone know if I Can use an External 5v PSU for the Step+, Dir+ and En+ signal?

                                      Im a little confused to how this work.
                                      Just to be clear, only Step-, Dir- and En- are connected to e.g Drive 5,

                                      And all the + connections are wired togheter and connected to the 5V+?
                                      Therefor im wondering If I Can use an external 5V supply so I can use the Drive 10 and 11, and keep my Duex 5.

                                      Best regards
                                      JHB

                                      dc42undefined 1 Reply Last reply 9 Dec 2020, 11:47 Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators @Mabover
                                        last edited by 9 Dec 2020, 11:46

                                        @Mabover said in ClearPath Servo Motors Testing - So far so good:

                                        Just wanted to jump in here and mention that with high acceleration and deceleration values with servos the deceleration can actually cause a switching power supply to shutdown due to over volting of the power bus. The common way of dealing with this is a brake chopper circuit, it uses a resistor to blead off voltage above a specified value to prevent over volting. These circuits also sometimes use a capacitor bank to absorb excess voltage as well.
                                        Most switch mode power supplies will shutdown around 2-4 volts above the configured voltage.
                                        That's not to say that you may not run into shutdowns under high acceleration due to boost current being used by the servo drive for a longer period of time.

                                        Adding additional capacitance between VIN and ground will help absorb the motor back emf. Duet 2 already has 100uF per driver, and Duet 3 MB6HC has 220uF per driver. These are enough for the internal drivers; but if you use external drivers and high-current motors then you may need more, perhaps an extra 4700uF or 10000uF.

                                        Duet WiFi hardware designer and firmware engineer
                                        Please do not ask me for Duet support via PM or email, use the forum
                                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                                        1 Reply Last reply Reply Quote 1
                                        • dc42undefined
                                          dc42 administrators @jbergene
                                          last edited by 9 Dec 2020, 11:47

                                          @jbergene said in ClearPath Servo Motors Testing - So far so good:

                                          Therefor im wondering If I Can use an external 5V supply so I can use the Drive 10 and 11, and keep my Duex 5.

                                          The drive 10/11 outputs on CONN_LCD are only rated at 3.3v and low current, so you need an external 5V buffer to provide 5V output at up to 20mA.

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

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