MechMate CNC Router Forum

Go Back   MechMate CNC Router Forum > Common Assemblies & Parts > Driving Mechanisms: Rack/pinion, gears, screws, belts & chains
Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #61  
Old Mon 23 February 2009, 10:35
kaartman
Just call me: Koning #20
 
Abu Dhabi
United Arab Emirates
Thank you Gerald
I have played with the settings this afternoon, used the 20.886 and it worked perfectly, Kobus i will have a look for that page and measure over long distance, learn-learn that is the only way, thank you for the input, much appreciated
Reply With Quote
  #62  
Old Sat 11 July 2009, 09:01
felix
Just call me: Yves
 
Québec
Canada
Just a thought

Quote:
Originally Posted by Gerald D View Post
Sean Reish is using 7.2 ratio and 20 teeth. Doc Tanner & Greg J are using 3.6 ratio and 30 teeth. Lots of people use 7.2 and 30 teeth. Nobody has cut quality problems. Greg J would like a bit more torque at high speed.
Hi all,

one might consider the power supply as well in all this drive selection process. Torque problems can come from inadequate PS as well as gearing.

Yves
Reply With Quote
  #63  
Old Fri 11 September 2009, 02:35
sailfl
Just call me: Nils #12
 
Winter Park, FL
United States of America
I am looking at every thing since I realized I had a problem with my cutting on my machine. I am looking at threads that I might have read before or skimmed over in the past.

If I understand the "Gear Speed Step Freq Calculator" correctly, for gear box of 7.2 and with 20 pitch, 30 tooth pinion gears, my motors steps should be set at 3055.775 which they are but my kernal should be set to 37 kHz which it is not. I am currently running at 25 kHz.

What I don't understand is what effect does this have on the way the machine runs? Further clarification, please.

Thanks

Last edited by sailfl; Fri 11 September 2009 at 02:38..
Reply With Quote
  #64  
Old Fri 11 September 2009, 05:46
bradm
Just call me: Brad #10
 
Somerville(MA)
United States of America
Nils, you may have put your finger on a problem here.

25 Khz, or 37 Khz is the number of update cycles your system can make per second.

If you are familiar with the concept of a 'carrier wave' in radio transmission, it's similar.

If you attempt a movement that requires more updates than your kernel can sustain per cycle, it will "jump" to catch up. This can cause stairstep like patterns.

Unfortunately the max kernel Khz is a function of the computer you are running on, and isn't always directly related to the clock speed; it's related to the I/O and interrupt handling capacity of the machine, which is much harder to predict.

If you push it too high you'll know, because the machine will hang, or you'll get errors reported.
Reply With Quote
  #65  
Old Fri 11 September 2009, 06:35
sailfl
Just call me: Nils #12
 
Winter Park, FL
United States of America
Brad,

Thanks for that explination and I will at least set kernal at the speed recommended by the Geard, Speed....Calculator. That is a good place to start.
Reply With Quote
  #66  
Old Fri 11 September 2009, 12:13
domino11
Just call me: Heath
 
Cornwall, Ontario
Canada
Brad, Nils,
Correct me if I am wrong here, but isn't the nubmer for kernal speed in the calculator for MIN kernal speed for the gearing/pinions/max move speed? All I mean is that number is the kernal speed you would need to do the max speed move (rapids). When cutting at slower speeds , as long as the kernal is capable of covering the speed your at you should be fine. There is also a risk of running your computer at too high a kernal speed for the hardware you have also.
Reply With Quote
  #67  
Old Fri 11 September 2009, 12:45
bradm
Just call me: Brad #10
 
Somerville(MA)
United States of America
Heath, you are correct. However, I don't know what the max speed of Nils' machine is, and the fact that his setting is low in combination with the other symptoms makes me suspicious. It may turn out the the problem is that it's too high for the computer to sustain, and that's what causes the issue.

What I'm looking for at this point is some evidence that changing his computer configuration affects the periodicity of the cut problem.
Reply With Quote
  #68  
Old Fri 11 September 2009, 19:19
domino11
Just call me: Heath
 
Cornwall, Ontario
Canada
Brad,
Thats a good point, it might shed some more light on the computer in use. I did not mean to discredit your test.
Reply With Quote
  #69  
Old Sat 12 September 2009, 01:34
sailfl
Just call me: Nils #12
 
Winter Park, FL
United States of America
Don't we have to look at what is being processed and what is being sent out.

Lets look at an extreme example. When a computer is running simulator software, it is taking in lots of data, sending out data or commands and processing lots of data so the kernal has to be set at a level that will handle all this processing or traffic.

If I understand how Mach works, G Code is processed one line at a time. A line of G Code is sent one after the other. I don't know if there is a message sent back from the PMDX that says I got the line send the next or if mach is just sending lines and assumes the PMDX is processing but I suspect there has to be some communication because if you push hold it takes a little time to process that command and send a message back that says "ok, we will hold".

This is simple communications and so the kernal is not going to be handling a lot of traffic. So the Kernel needs to be set at a very low level but it still needs to be high enough so it can handle the traffic. To low and we have a problem and to high, it might use processing that could be used some place else but we don't have any thing else going on so high doesn't matter as long as it is not too high.

Is that the way it works or is my thinking off?

I don't think that having the kernal too high will be a factor but too low could be.

Last edited by sailfl; Sat 12 September 2009 at 01:37..
Reply With Quote
  #70  
Old Sat 12 September 2009, 07:56
bradm
Just call me: Brad #10
 
Somerville(MA)
United States of America
We're definitely drifting off topic here in gear pinions (my fault).

The PMDX never sees the GCode. All it sees are the step and direction signals that are calculated in software. Generally software that handles GCode will pause after it completes a line. So if you start a long slow cut from one end of the table to the other, and press pause, the pause takes effect after that cut completes, not in the middle.

The kernel is handling a pretty substantial amount of traffic, in that to move an inch, it has to output thousands of step pulses, and each one has to come at precisely the right moment. You are correct that having it's setting too high is not a problem unless it exceeds the capacity of the computer in question.
Reply With Quote
  #71  
Old Sat 12 September 2009, 08:14
felix
Just call me: Yves
 
Québec
Canada
Nils,

I'm not sure about how Mach3 does it but here is what I understand about g-code. First, this is a command language which means it as to be interpreted and transformed into signals then you have what is called a trajectory planner which basically looks ahead for the next move(s) in order to keep the path as smooth as possible (set by config) and all this while taking into account accel. and decel. and a few other things as well.

All this planning and calculations take quite a bit of time compared to just maintaining the signal (pulse) stream at a desired level. There are also real time events such as an E-stop that needs to taken into account, the response time for this also affects the overall system performance.

Basically, you need to have a signal (pulse) cycle active time long enough so that the CPU as time to do its other (required) tasks with time to spare just in case it needs to stop on a dime and this active time needs to be short enough that the cutting speed is acceptable.

One other thing to consider is the rather steep decline in torque of the stepper motors as its RPM increases. This physical limitation also limits the maximum signal frequency required for the controller. In other words, even if you could generate pulse in the hundreds of Khz there will come a frequency beyond which the motor will stall and begin to miss steps.

Hope this helps,
Yves
Reply With Quote
  #72  
Old Sat 12 September 2009, 08:15
sailfl
Just call me: Nils #12
 
Winter Park, FL
United States of America
Brad and Yves,

Thanks for the clarification.

Last edited by sailfl; Sat 12 September 2009 at 08:18..
Reply With Quote
  #73  
Old Wed 21 October 2009, 01:39
Claudiu
Just call me: Claus #43
 
Arad
Romania
Hello Guys,

I did some calculations on my Gears etc. As I use Module 1, OM7.2, gears 35 teeth I get a magic Number of 130.962. Everything looks ok up to here..but when I calculate with the max rot of the OM of 250rpm I get out a speed of only 3800 mm/min. One whole minute for the spindle to go one full x direction? Can this be really correct? How long will it take to surface the table?
Please tell me I did a mistake and the working speed will be higher...
Reply With Quote
  #74  
Old Wed 21 October 2009, 04:02
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
I don't know where you see: "the max rot of the OM of 250rpm"?

Maybe the output shaft max speed is 250rpm while the actual motor turns 7.2 times faster?

If the output shaft can turn at 250rpm, the pinion has about 100mm circumference, the x-speed is about 25000 mm per minute which is fast enough!
Reply With Quote
  #75  
Old Wed 21 October 2009, 08:17
Richards
Just call me: Mike
 
South Jordan, UT
United States of America
Gerald,
Oriental Motor lists the permissible speed on page C-231 of one of their older catalogs. I haven't downloaded the current catalog, so that information might be missing.

Claus,
That is the output speed of the gearbox, which, with a 7.2:1 gearbox, means that the motor would have to be spinning at 1,800 RPM. At that speed, the motor only produces only 30 oz*in of torque, so it is not practical to run that fast.

Because I'm on the inch system, I haven't paid any attention to the metric spur gears, but a spur gear with 1.25" pitch diameter (25 tooth) moves about 3.925 inches per revolution, so 250 X 3.925 = 981 inches per minute, or 16 inches per second. Getting 50% of that speed would meet most needs.
Reply With Quote
  #76  
Old Wed 10 November 2010, 22:19
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi
I have a Mod 1 rack, 31 tooth pinions 5:1 gearbox microstepping to give 1600 pulses per rev of the stepper.
I set Mach 3 to 82.144 steps per mm.

I am getting about a 6% error in the movement distance.
Where have I gone wrong in my Calc?
Thanks
David
Reply With Quote
  #77  
Old Wed 10 November 2010, 22:41
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
What drives are you using for the motors, and what are they set to for micro-stepping? (The geckodrive is fixed at 10 micro-steps).

The 5:1 gearbox 1600 pulses has me scratching my head....
Reply With Quote
  #78  
Old Wed 10 November 2010, 22:50
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Also count the number of rack teeth over 100mm to verify that it is Mod1. (a quick mental calc says 32 teeth?)
Reply With Quote
  #79  
Old Wed 10 November 2010, 23:04
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi Gerald
The drives are motion King pulse per rev set for 1600 pulses per rev (8 micro steps 1.8 degree per step) followed by a gearbox mechanical gear reduction by G5
32 teeth on the rack very close to 100mm.
Cheers
David
Reply With Quote
  #80  
Old Wed 10 November 2010, 23:09
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Then 82.144 is correct. Are you sure that you didn't type in 87.144?
Reply With Quote
  #81  
Old Wed 10 November 2010, 23:26
David Bryant
Just call me: David #99
 
Western Australia
Australia
Thanks for checking I will keep looking...? Not a typo.
Cheers
David
Reply With Quote
  #82  
Old Thu 11 November 2010, 10:14
Kobus_Joubert
Just call me: Kobus #6
 
Riversdale Western Cape
South Africa
Send a message via Yahoo to Kobus_Joubert Send a message via Skype™ to Kobus_Joubert
Use Mach3 calibration to get it spot on.
Reply With Quote
  #83  
Old Thu 31 March 2011, 21:21
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi All
I did further testing today. I isolated the Z axis from the machine and got a counter onto the pulses out of Mach3.
I found mach3 pulses out to be correct (No surprise.)
I then set pulses per unit to 1600 to match the stepper drivers setting. I then counted revolutions of the MotionKing stepper motor. Always about 6% revs indication more than actual moved.

On Testing I found that 1700 pulses per set into mach 3 give the correct number of turns (allowing for the 5:1 ratio on the gear box).
So my testing has shown that the Motion king driver needs 1700 X 5 pulses to drive the stepper motor with gearbox one revolution. According to the instructions with the driver and stepper motor this should need only 1600 X 5 pulses per rev.

Is anyone else using MotionKing drivers and motors?
Cheers
David
Reply With Quote
  #84  
Old Sun 03 April 2011, 16:22
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi
I have four 34HS9801-G5 MotionKing stepper motors
I have been trying to work out why my mech mate does not move the correct distance(accordind to theory). So I put a signal generator onto the step input and measured the time for a number of revolutions using the MotionKing driver. (tried DC supply and AC supply to MotionKing Driver, no difference)
I always needed 17/16 more pulses than theory said I needed.
I changed to a gecko drive and repeated the test with a bench power supply and wiring direct to the motor. Still needed 17/16 times more pulses than the expected 200 steps at the motor X 5 for the gear ratio.

My conclusion is that the gearbox is not exactly a 5:1 ratio.
I have not seen any other problems with the motor or drive.
Reply With Quote
  #85  
Old Sun 03 April 2011, 19:09
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi
Just redid calcs and set the new numbers into Mach3 put it all back together, still out by 1-2mm in 1000. ???

Did many of you guys get the exact number or does everyone set up by adjusting afterwards?

Cheers
David
Reply With Quote
  #86  
Old Sun 03 April 2011, 23:32
danilom
Just call me: Danilo #64
 
Novi Sad
Serbia
Mine calculation was

200 steps * 10 microstep = 2000
2000 * 3 times belt reduction = 6000 steps per rev
travel per rev = 3.14159265 (tooth distance = Pi) * 30 tooth = 94.2477796

steps per mm = 6000 / 94.2477796 = 63.6619662

but using dial indicator and mach calibration from SETUP page for one axis it was lower than 62 steps per mm, and other greater than 64. It must be because of in precision in motor movement as I think belt gears are pretty much the same.
Reply With Quote
  #87  
Old Mon 04 April 2011, 00:13
KenC
Just call me: Ken
 
Klang
Malaysia
10 micro steps per pulse is not a practical setting, almost all the article I read says 1/8 is the highest practical setting. maybe this is the problem.
Reply With Quote
  #88  
Old Mon 04 April 2011, 01:47
David Bryant
Just call me: David #99
 
Western Australia
Australia
Hi Ken
10 micro steps is standard for the Geckodrives

Cheers
David
Reply With Quote
  #89  
Old Mon 04 April 2011, 02:51
David Bryant
Just call me: David #99
 
Western Australia
Australia
Thanks Danilo

That is very close to the variation I have found. It will be good to hear some more if they got it exact.
thanks again
David
Reply With Quote
  #90  
Old Mon 04 April 2011, 02:57
KenC
Just call me: Ken
 
Klang
Malaysia
Ooops, I don't use Gecko
Reply With Quote
Reply

Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Thread Tools

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 Off

Forum Jump


All times are GMT -6. The time now is 17:53.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.