ClearPath Servo Motors Testing - So far so good



  • 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 R1 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



  • Looking good, can't wait to see a print



  • @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 ๐Ÿ˜„



  • 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



  • @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.

    ๐Ÿ™‚



  • @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/



  • @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.... ๐Ÿ˜•



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



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



  • @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.



  • 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.



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



  • 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.



  • @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...



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


  • Moderator

    @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.



  • @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.


Log in to reply