Page 1 of 3

Stepper Motor resolution

Posted: Thu Nov 09, 2017 3:44 pm
by KirkD
How do you calculate the microstep resolution settings for my closed loop steppers for my mill.

I have the Leadshine closed loop steppers and drivers (ES-D808 and ES-M22430 on X&Y; ES-D1008 and ES-M223480 on Z axis)
My ball screws are 5mm pitch.

I'm sure there is a simple match formula that will show me what to set the micro step resolution setting, but I cant seem to find it. I have attached the links to what I have encase that info is needed.

Thanks in advance.

http://www.leadshine.com/series.aspx?ty ... eries=ES-D

http://www.leadshine.com/producttypes.a ... rvo-motors

Re: Stepper Motor resolution

Posted: Thu Nov 09, 2017 8:51 pm
by martyscncgarage
KirkD wrote: Thu Nov 09, 2017 3:44 pm How do you calculate the microstep resolution settings for my closed loop steppers for my mill.

I have the Leadshine closed loop steppers and drivers (ES-D808 and ES-M22430 on X&Y; ES-D1008 and ES-M223480 on Z axis)
My ball screws are 5mm pitch.

I'm sure there is a simple match formula that will show me what to set the micro step resolution setting, but I cant seem to find it. I have attached the links to what I have encase that info is needed.

Thanks in advance.

http://www.leadshine.com/series.aspx?ty ... eries=ES-D

http://www.leadshine.com/producttypes.a ... rvo-motors
I have just finished a video on just this, and I created a spreadsheet that will help you calculate this. You CAN find the calculation info in the All in One DC Installation Manual. http://www.centroidcnc.com/downloads/ce ... manual.pdf
It is on page 65 of 122

If you can hold steady for a few days my video and spreadsheet should explain and help you out.....

Also, are you direct driving your leadscrew or using timing pulleys with reduction? That plays a factor in the calculations.....

Marty

Re: Stepper Motor resolution

Posted: Thu Nov 09, 2017 9:28 pm
by KirkD
Thanks Marty,
Yes I can wait. Waiting on power supply right now. I will be direct droving it.

Re: Stepper Motor resolution

Posted: Fri Nov 10, 2017 12:53 pm
by 762x51
Here is a helpful Xcel spread sheet that I found here:

http://www.machsupport.com/forum/index. ... 315.0.html

See Attached file

Orin

Re: Stepper Motor resolution

Posted: Fri Nov 10, 2017 1:16 pm
by martyscncgarage
762x51 wrote: Fri Nov 10, 2017 12:53 pm Here is a helpful Xcel spread sheet that I found here:

http://www.machsupport.com/forum/index. ... 315.0.html

See Attached file

Orin
While helpful, Centroid does it differently than Mach.

You calculate your steps per revolution:
Standard 1.8 dgree stepper motor steps per rev is 200. You multiply that by whether or not you Microstep. Say you don't. The value to enter in the Wizard Steps/Revolution is 200. Say you microstep by 10, the you multiply 200x10=2000 so you enter 2000 in the Motor Steps/Revolution

Then you calculate your Overall Turns Ratio:
Overall Turns ratio is your leadscrew pitch times your reduction. So say leadscrew pitch is 5, you have 12 teeth on the motor pulley and 24 teeth on the leadscrew pulley, your reduction is 2:1 (two turns of the motor to one revolution of the screw) So 5x2=10. You would enter 10 in the Overall Turns Ratio.

My video that covers this is done. I also go into how to rough tune with a tape measure and how to fine tune with a standard dial indicator.
I have asked Keith to review it before posting along with my spreadsheet....he is traveling today....
Hopefully I can post it this weekend.

But the calcs above will get him going.
Marty

Re: Stepper Motor resolution

Posted: Fri Nov 10, 2017 4:02 pm
by 762x51
martyscncgarage wrote: Fri Nov 10, 2017 1:16 pm
While helpful, Centroid does it differently than Mach.
So how is the Excel spreadsheet's calculations any different from ANY stepper controller?
Just because the spreadsheet was found on the Mach forum doesn't mean that the calculations are any different from ANY controller that uses step/direction output.

Does Centroid use some unusual method of calculating steps/inch or steps/mm?

Here is a screen shot of the Excel spreadsheet steps/inch calculation based on your comments and steps/mm based on the ball screws in my router.
Would this not be the correct values to enter into the Acorn Wizard?

I hope Keith will join this conversation.

Orin

Image

Re: Stepper Motor resolution

Posted: Fri Nov 10, 2017 4:35 pm
by martyscncgarage
762x51 wrote: Fri Nov 10, 2017 4:02 pm
martyscncgarage wrote: Fri Nov 10, 2017 1:16 pm
While helpful, Centroid does it differently than Mach.
So how is the Excel spreadsheet's calculations any different from ANY stepper controller?
Just because the spreadsheet was found on the Mach forum doesn't mean that the calculations are any different from ANY controller that uses step/direction output.

Does Centroid use some unusual method of calculating steps/inch or steps/mm?

Here is a screen shot of the Excel spreadsheet steps/inch calculation based on your comments and steps/mm based on the ball screws in my router.
Would this not be the correct values to enter into the Acorn Wizard?

I hope Keith will join this conversation.

Orin

Image
Not complaining Orin.
Where would you enter the 20,000 in the Wizard?

Re: Stepper Motor resolution

Posted: Fri Nov 10, 2017 5:07 pm
by 762x51
martyscncgarage wrote: Fri Nov 10, 2017 4:35 pm Not complaining Orin.
Where would you enter the 20,000 in the Wizard?
This is based on your example above.

The 2:1 ratio would mean that the steps/revolution would have to be 2000 x 2 = 4000 or I guess the steps could stay at 2000 but the overall turns ratio would be multiplied by 2 which would be 2 x 5=10 in this example.

Image

Re: Stepper Motor resolution

Posted: Fri Nov 10, 2017 6:04 pm
by martyscncgarage
In the example, the overall turns ratio is 10. Reduction x screw threads per inch....at least that works for me.
You are correct for sure that Acorn does the calculation once the two values have been entered correctly.

The spreadsheet is useful, no argument there. It could use a tweak to take the multiplier times the threads per inch to get you the overall turns ratio that could be entered into the Wizard.

Re: Stepper Motor resolution

Posted: Sat Nov 11, 2017 8:56 pm
by Bob Huntbach
Looking forward to your video on this Marty so no pressure. but I'm struggling slightly although I'm in metric I have 9/10 turns per inch on my Acme lead screws plus 1:3 ratio from my motors I'm not having great success in getting accuracy as the closer I get I get stalling. So obviously I'm not starting from the place before adjustment.
So hopefully if you could give some ideas from your experience that would be great I have been using G28 to get back to home but this often gets it to stall out is there a better way to call for home. Still getting to understand the program I'm afraid.
regards Bob.