How to find the right Step Time/Step Space?

More
2 years 8 months ago - 2 years 8 months ago #294096 by machinedude
i seen some talk on that subject on micro stepping with open loop systems but how about when you have a closed loop stepping system? i am pretty sure i remember seeing something about encoder resolution playing a factor in this puzzle as well.
on the motors and drive i am using  the encoder only has 1000 PPR but is a quadrature encoder so the total PPR is 4000 so how much micro stepping can you really get and still be accurate?
Last edit: 2 years 8 months ago by machinedude. Reason: more info

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #294100 by PCW
For closed loop steppers there would be no advantage to
having more steps per turn than the encoder resolution.
The following user(s) said Thank You: machinedude

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #294101 by machinedude
so in my case 4000 more or less. i was thinking that when i was reading the manuals and was shocked a little bit by that. i guess this is why they are cheap.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #294103 by PCW
Higher resolutions would not make much difference.
It's not like higher resolutions would improve accuracy
on the class of machines that use step/drives. Mechanical
errors are typically going to be much larger than the
resolution even at 4000 counts/turn.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago #294107 by machinedude
i agree 100% the more connections you have the more the error that accumulates as a result. so if i can't get it more accurate i will make it fast and fun to watch :) you can probably negate a lot with cutter comp anyways.

Please Log in or Create an account to join the conversation.

More
2 years 8 months ago - 2 years 8 months ago #294109 by rodw
Yes, as your timings are increased, the maximum frequency is reduced. This kinda makes sense because the overall step pulse becomes longer so fewer can fit into one second.
I think a lot of recommendations are based on very safe values because we want to make sure machines move!
After a lot of experimentation to find the optimum values for my open loop hardware, with a Mesa card,  I settled on
25 x microstepping (5000 pulses/rev)
DIRSETUP   = 500
DIRHOLD    = 500
STEPLEN    = 1000
STEPSPACE  = 1000
STEP_SCALE = 1000
This gave me a max velocity of  60mm/sec (3600mm/min) on a 5mm ball screw on my plasma Z axis
Experimenting to get the max velocity got much higher values but it all went to shit once let loose in the real world with missing steps on uptravel.

The other thing I found on my closed loop ethercat mill conversion was that I was getting following errors on homing. I decided this was probably due to excessive acceleration settings whch meant on decelleration, table inertia prevented it from following the commanded profile. Sure enough, reducing the max accelleration solved the problem.

So whilst the maths will get you so far, you have to test  in your application to fine tune.
Last edit: 2 years 8 months ago by rodw.
The following user(s) said Thank You: rdtsc

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.306 seconds
Powered by Kunena Forum