Stepper Motor resolution

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

KirkD
Posts: 14
Joined: Mon Oct 16, 2017 4:15 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Stepper Motor resolution

Post 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
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Stepper Motor resolution

Post 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
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
KirkD
Posts: 14
Joined: Mon Oct 16, 2017 4:15 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Stepper Motor resolution

Post by KirkD »

Thanks Marty,
Yes I can wait. Waiting on power supply right now. I will be direct droving it.
762x51
Posts: 119
Joined: Wed Aug 02, 2017 8:40 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: B0D5CC56DD75-0605170063 , 985DAD4295CF-0928170127 , 38D2694E4703-1222170401
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Near Guilford College, Greensboro, NC
Contact:

Re: Stepper Motor resolution

Post 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
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Stepper Motor resolution

Post 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
Last edited by martyscncgarage on Fri Nov 10, 2017 6:07 pm, edited 1 time in total.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
762x51
Posts: 119
Joined: Wed Aug 02, 2017 8:40 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: B0D5CC56DD75-0605170063 , 985DAD4295CF-0928170127 , 38D2694E4703-1222170401
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Near Guilford College, Greensboro, NC
Contact:

Re: Stepper Motor resolution

Post 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
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Stepper Motor resolution

Post 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?
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
762x51
Posts: 119
Joined: Wed Aug 02, 2017 8:40 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: B0D5CC56DD75-0605170063 , 985DAD4295CF-0928170127 , 38D2694E4703-1222170401
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Near Guilford College, Greensboro, NC
Contact:

Re: Stepper Motor resolution

Post 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
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Stepper Motor resolution

Post 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.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Bob Huntbach
Posts: 45
Joined: Sat Sep 23, 2017 2:47 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: System ID 985DAD489F1F-0823170094
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Northern England

Re: Stepper Motor resolution

Post 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.
Post Reply