CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software)


Mach Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-30-2005, 10:44 PM
 
Join Date: Jun 2004
Location: Australia
Posts: 258
Moondog is on a distinguished road
Resolution calc help needed for Mach2

Hope you guys can help.

Just setting up my X drive in Mach2 and need some help in calculating the steps.

Specs are:

Servo Motor 1750 RPM.
Encoder Quadrature 500 (2000 steps?)
Reduction 27 to 1
Belt Drive: 300mm circumference

1/27 = .037037 RPM per RPM of motor.

Travel = 300 mm * .037037
= 11.11111 mm per rpm.

mm per step = 11.11111 / 2000 (steps)
= .0055555 mm per step.

What would be the max speed I could obtain with Mach2 running at 45,000 hz. Is that 45,000 pulses per second?....

I am getting somewhat confused with this.... I worked it out for the Ball screw drives...but this one...

regards
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 01-31-2005, 06:27 AM
MrBean's Avatar
Gold Member
 
Join Date: Oct 2003
Location: UK
Posts: 593
MrBean is on a distinguished road

I don't think your calcs are correct. Is the axis belt driven. i.e. the moving part is directly attached to the belt.

My X axis is belt drive 5mm pitch. With a 3.6:1 belt reduction. 200 step stepper running 1/8 microstepping. effectively a 1600 step stepper.

This is the calculation for my setup:

The Drive belt runs on 26T pulleys each end so.

5mm pitch * 26T = 130
1mm / 130 = 0.00769230769
0.00769230769 * 3.6 reduction = 0.02769230768
0.02769230768 * 1600 steps = 44.307692288 steps per mm of travel.

OR 0.02256mm per step.

You don't need the belt circumference for the calculation, but you do need the number of teeth on the pulley the belt is riding on.

Hope this helps.

Regards Terry.....
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 01-31-2005, 03:50 PM
 
Join Date: Jun 2004
Location: Australia
Posts: 258
Moondog is on a distinguished road

Mr Bean..

It is a 10mm pitch 30 tooth pulley. The belt is attached to the gantry. i.e, the belt moves the gantry. The reduction is 27 to 1.

Using your calcs, would mine be...

10mm pitch * 30T = 300
1mm / 300 = 0.0033333333
0.0033333333 * 27:1 reduction = 0.089999999
0.089999999 * 2000 steps = 179.9999 steps per mm of travel.

OR ?????? per step.

cheers
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 01-31-2005, 05:28 PM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,571
ynneb is on a distinguished road

Hey Frans, I never could work mine out mathematically, so I went for the trial and error method.
Draw 3 lines on your table, one at zero and one at 1000 mm and one at 2000mm ( As I know your table is at least this long)

Then zero your axis at the zero line.
Set the steps per unit at a rate that you know would be less than it should be. For example you could set it at 10,000 steps per mm of travel.
Then drive your axis 1000mm buy typing in g0x1000 (replace the x in this code with the letter of the axis, x, y, or z. )
Keep you finger near the emergency stop button and send the axis moving. If the axis passes the 1m mark then activate your emercency stop. This means you will need to increase the steps per unit in your motor tuning set up. If it doesnt reach the 1m mark then you will need to decrease the steps per unit. If for instance the travel is only 500mm then that means you will need to halve your current steps per unit setting.
You will need to do a few tests of different settings until you get it to travel the correct distance.
Once it is about right send your axis down to 2m and make any fine tuning in the steps per unit setting that is required.

I know this method does not sound as good as doing it mathematically but in some ways it is more accurate. Lets say your pulleys are not exacltly made to what you think they are, then all the maths you use will never get it right. The trial and error method gives real world results.

I know it sounds like a lot of work and fussing to do, but just remember you will only have to do it once. Then write down and record the appropiate figures if you ever need to set up mach2 again.

Caution. Because you are using a 27:1 reduction, you may find that you need to use the step multiplier switches on your Rutex cards. If you do switch them then you will have to reset your steps per unit in mach2. Do not just flick those switches and then send you axis travelling. It will result in the axis over traveling and crashing.

EDIT: Because I know you are using the same sized encoders that I use and that I only use a 3:1 reduction and it works ok, I would suggest that you use the step multipliers so that they multiply 4times. Any resolution greater than this would be serious overkill for what you are trying to do, and may result in the axis been driven too slow as a result of Mach2 not been able to keep up. Just a thought.

EDIT: The way to know deside on the amout of step multiplying, is to descide on the acceptable resoltion you require. For cutting timber as you are planing to do, I would think that 10 steps per mm should be more than adequate. That will mean you can cut down to 1/10 of a mm. It is highly possible that your machine does not have those sorts of tollerances built into is anyway, so picking a even higher resolution is just a waste. With this in mind, you work out what step multiplying you need in oreder to give you a figure that will drive that axis at a close number to 10 steps per mm.

I hope all this makes sence?

Last edited by ynneb; 01-31-2005 at 06:15 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 01-31-2005, 06:23 PM
MrBean's Avatar
Gold Member
 
Join Date: Oct 2003
Location: UK
Posts: 593
MrBean is on a distinguished road

Originally Posted by Moondog
Mr Bean..

It is a 10mm pitch 30 tooth pulley. The belt is attached to the gantry. i.e, the belt moves the gantry. The reduction is 27 to 1.

Using your calcs, would mine be...

10mm pitch * 30T = 300
1mm / 300 = 0.0033333333
0.0033333333 * 27:1 reduction = 0.089999999
0.089999999 * 2000 steps = 179.9999 steps per mm of travel.

OR ?????? per step.

cheers


Well look at that. Your calc comes out exactly the same as doing it my way. Actually it's not my way. I used the formula from the Mach2 manual.

OR ?????? per step.

Just do: 1mm / 179.9999 = 0.00555555 Same as you got earlier.

Bennys suggestion is a good one. I'd start at 179.9999 steps/mm in Mach2 and then do Benny's tests to check if you're on the money, and make any adjustments from there.

Assuming you're running Mach2 engine at 45,000 That would give you a max of 59 IPM for that axis alone. If another axis was moving you'd require the step pulses to be more frequent than 45,000 a second. As Benny suggests, you may need to use the step multiplier on your drivers or go less than 27:1 reduction.

Regards Terry.....
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 01-31-2005, 09:22 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,570
ger21 is on a distinguished road
Buy me a Beer?

I just noticed in another thread that you have 880 oz servos. Correct me if I'm wrong, but doesn't 27:1 reduction give you 27 times the torque? Gear that thing 5:1 or 10:1 to get some speed. I'd think you would still have plenty of power. For a 4x8 machine, 59ipm is pretty slow.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 01-31-2005, 09:53 PM
 
Join Date: Jun 2004
Location: Australia
Posts: 258
Moondog is on a distinguished road

Ger....

so you figure the max IPM will be 59?... looks like I am being limited by Mach 2...

I figured with a 1750 RPM reduced 27... gives 64.8 rpm's... each RPM gives 300mm travel.. thats 765 IPM?.... that's assuming full RPM even at half RPM I shuld still obtain 380 IPM.... do you think that is correct.?...
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 01-31-2005, 10:07 PM
ynneb's Avatar
Moderator
 
Join Date: Feb 2004
Location: Oz
Posts: 2,571
ynneb is on a distinguished road

looks like I am being limited by Mach 2...
probably over zealous gear reduction is letting you down more. I wont skyte and say I told you so.....ah bugger it, yes I will

Anyway with the step multipliers it wont be mach2 that lets you down. You will get more speed than 59 inch per minute if you use them. Read back on my other post.

He he, I can imagine your heart pounding, your eyes wide open with fear, and the thoughts about all that work you have put into it . Relax mate you have not made a tragic mistake, your machine will work just fine as it is. Trust me.

Last edited by ynneb; 01-31-2005 at 10:41 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 01-31-2005, 10:11 PM
 
Join Date: Jun 2004
Location: Australia
Posts: 258
Moondog is on a distinguished road

Benny..

I had fiqured that at full RPM I'd get 700+ IPM... which is great.....

so I'll try the step multiplier at 4 to start with...... can always go to 10...

At least I won't lose torque by using the step multiplier....
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 01-31-2005, 10:27 PM
 
Join Date: Jun 2004
Location: Australia
Posts: 258
Moondog is on a distinguished road

lte me get this right...Mach2 max at 45,000 pulses per second.. that = 2,700,000 per minute... If my X drive is .005555 mm per step. then for say 300 IPM i need..

300 IPMinches = 7620mm per min... / .005555 = 1,371,737 steps per min..... half of mach 2 output... my Y is less than half the X..... so I still have 1,320,000 approx for my Y & Z...

does that sound right?..
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 01-31-2005, 11:01 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,570
ger21 is on a distinguished road
Buy me a Beer?

I just read Terry's post that said 59ipm. I didn't really pay that much attention to all the numbers. 700ipm sound much better.

Actually, with ~180 steps/mm, and 25.4mm/inch, you get 4572 steps/inch. 45000 steps/sec / 4572= ~9.85inches/sec.
9.85 x 60 = ~590 ipm. That's what Mach2 will limit you to.

I don't know what you're using for a spindle, but with a router you'll probably have to take light passes at that speed, or you'll stall it. To cut that fast, you'll need good quality spiral tooling, too.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 01-31-2005, 11:03 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,570
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by Moondog
lte me get this right...Mach2 max at 45,000 pulses per second.. that = 2,700,000 per minute... If my X drive is .005555 mm per step. then for say 300 IPM i need..

300 IPMinches = 7620mm per min... / .005555 = 1,371,737 steps per min..... half of mach 2 output... my Y is less than half the X..... so I still have 1,320,000 approx for my Y & Z...

does that sound right?..
I believe you get 45,000 steps for EACH axis, or 270,000 steps/second total if using 6 axis.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's needed for complete setup? LeeWay Gecko Drives 1 03-09-2005 09:38 AM
Stepper Resolution Max DIY-CNC Router Table Machines 5 09-05-2004 04:06 AM
PayPal PLEASE READ THIS NOTICE CAREFULLY. WallCrawler CNCzone Club House 13 07-30-2004 09:59 PM
High resolution encoder ToyMaker General Electronics Discussion 5 06-11-2003 03:04 AM




All times are GMT -5. The time now is 10:57 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353