Steppers sometimes lose steps

This Section is for users to discuss hardware

Steppers sometimes lose steps

Postby RsX » Mon Dec 16, 2024 11:26 am

I tought it would never happen to me, but it did, the steppers lost some steps during a rapid movement on X and Y even with a generous power supply. Fortunately nothing broke.
I think this is because I power the drivers with a single switching power supply and no capacitor.

My setup is:
3x DM542T
3x Nema 23 1.9Nm 2.8A
1x Switching PSU 48V 600W 12.5A

I'd like to add a capacitor to help the PSU with current surges and absorb the spikes from the deceleration of the steppers.
What would be a good value for it? 63V 20.000uF? 80V 40.000uF?
User avatar
RsX
 
Posts: 59
Joined: Fri Oct 25, 2024 9:22 pm

Re: Steppers sometimes lose steps

Postby sebba » Mon Dec 16, 2024 3:28 pm

you should pay attention also for the acceleration values. could be too big. try with lower values and see what happen
- YQWQ
User avatar
sebba
 
Posts: 80
Joined: Mon Dec 21, 2020 9:56 am
Location: Bucharest, ROMANIA

Re: Steppers sometimes lose steps

Postby RsX » Wed Jan 01, 2025 3:58 pm

I found a 63V 22mF capacitor and tested the motors with and without it.
Also connected an oscilloscope to the 48V and found that the voltage is really stable and the capacitor doesn't make a significant difference.
The easy explanation is: It's cold.
I setup the acceleration in summer and everything was ok. Now that the temperature dropped, the grease is more viscous and the motors run on the very edge of failure. So I lowered the acceleration as suggested by sebba (from 1500 to 1000mm/s^2) and everything seems to run fine.
User avatar
RsX
 
Posts: 59
Joined: Fri Oct 25, 2024 9:22 pm

Re: Steppers sometimes lose steps

Postby cncdrive » Wed Jan 01, 2025 6:36 pm

Capacitor with 1000uF per motor Amper (or greater) should work fine.
And at least +20% rated Voltage of the capacitor is nessessary.
For 48V powersupply use 63Volts capacitors.
You can also parallel smaller capacitors if required.
And you can place one diode (it can be a diode of a power bridge rectifier) from the output of the PSU pointing forward to the capacitor + terminal.
This is called a "one-way rectification" and is great to block the back-emf voltage coming from the motors when they rapidly deccelerating, so the diode can protect the powersupply from overvoltages and damage as the diode blocks the overvoltage.
Like on the attached image.
Attachments
powerdiode.png
cncdrive
Site Admin
 
Posts: 4998
Joined: Tue Aug 12, 2014 11:17 pm

Re: Steppers sometimes lose steps

Postby Battwell » Wed Jan 01, 2025 9:03 pm

cncdrive wrote:Capacitor with 1000uF per motor Amper (or greater) should work fine.
And at least +20% rated Voltage of the capacitor is nessessary.
For 48V powersupply use 63Volts capacitors.
You can also parallel smaller capacitors if required.
And you can place one diode (it can be a diode of a power bridge rectifier) from the output of the PSU pointing forward to the capacitor + terminal.
This is called a "one-way rectification" and is great to block the back-emf voltage coming from the motors when they rapidly deccelerating, so the diode can protect the powersupply from overvoltages and damage as the diode blocks the overvoltage.
Like on the attached image.



i wouldnt trust any stepper above 1000 /s acceleration. unless there was very low inertia in the system
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 877
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: Steppers sometimes lose steps

Postby RsX » Thu Jan 02, 2025 5:40 pm

Thank you all, you've given me a lot of good information :D
I'll definitely try the One-way rectification in case I have further issues.
For now the 22mF (22.000uF) capacitor should be more than enough.
User avatar
RsX
 
Posts: 59
Joined: Fri Oct 25, 2024 9:22 pm


Return to Hardware

Who is online

Users browsing this forum: Google [Bot] and 23 guests