Motor tuning - acceleration and velocity

Share and learn with other DIY members who have built their own plasma tables and accessories.
Post Reply
Simko
3 Star Member
3 Star Member
Posts: 265
Joined: Sat Aug 29, 2015 9:32 pm
Location: North Central Pennsylvania

Motor tuning - acceleration and velocity

Post by Simko »

Now that my table is moving under its own power, I'm trying to figure out how to determine maximum velocity and acceleration. Right now the X, Y, and A are set for 1000 ipm velocity and 50 in/sec/sec. I read a few articles, but the best I can find is one that says to start with the acceleration very low (2 ipm) and keep raising the velocity until you start losing steps. Then with the new max velocity in place, start raising the acceleration until you start to lose steps and then reduce by 10%.

What pattern do you run to test velocity and acceleration. Would a square work? Or would you want something more complex with a bunch of tight twists and turns to really put the motors through their paces. Or is the velocity and acceleration something that gets fine tuned over a period of time with real world use?

Velocity. This is currently at 1000. I can't think of a time that I would ever need the table to move at 1000 ipm. Should I lower this to say 500, which is still faster than anything I would need to cut.

Acceleration. Currently it is at 50 in/sec/sec. Again this seems to be faster than you need for plasma cutting, should it be closer to 35 in/sec/sec (assuming my table can handle that, which at this point, I am assuming it can.)

I did some searching on the site here, but didn't find much. Maybe I wasn't searching for he correct term. Any help would be appreciated. 8-)
Steve

Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Simko
3 Star Member
3 Star Member
Posts: 265
Joined: Sat Aug 29, 2015 9:32 pm
Location: North Central Pennsylvania

Re: Motor tuning - acceleration and velocity

Post by Simko »

I did a little tinkering... Tell me if this makes sense.

Max velocity. With a one inch pinion and 3.2:1 belt reduction, my axes will move .9817 inch per motor revolution.

Circumference of 1" pinion = pi X diameter = 3.14159 X 1" = 3.14159 linear move per rev if direct coupled

Final linear inches per rev with belt reduction = 3.14159/3.2 = .9817"

According to CandCNC the 980 oz-in motors at 65V and a moderate load will spin at approximately 800 RPM.

800RPM X .9817 inches per rev = 785.36 IPM max velocity under moderate load.
Steve

Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Brand X
3.5 Star Member
3.5 Star Member
Posts: 511
Joined: Wed Apr 23, 2014 2:48 pm

Re: Motor tuning - acceleration and velocity

Post by Brand X »

35 is a good all around setting to start with.. I still think your gears will want to pull up from the gear racks at anything over 400 ipm. Unless you have a huge amount of tension on your adjustments. Although the 34 gears might be a little better setup over my Nema 23 from the same supplier as your table. Having your rapids that fast is not needed for starting out.. Set your machine to 300 ipm, just to get the feel for it.. No reason to beat your machine up at this point. Things will happen fast enough.. you can change the motor tuning to suit the job anyway..

Start conservative, best bet. You are setting up your machine for world record top speed runs, while you are still in pit road.. :lol:
Simko
3 Star Member
3 Star Member
Posts: 265
Joined: Sat Aug 29, 2015 9:32 pm
Location: North Central Pennsylvania

Re: Motor tuning - acceleration and velocity

Post by Simko »

Yeah.. I know, i need to keep it slow at first. I'm not trying to run it super fast, I just want to understand what goes into calculating the max speeds and accels.

I set the spring so that it just barely touches and then not even a quarter turn more and it seems to hold fine. I even did some jogging at 800 ipm / 35 in/sec/sec and nothing jumped out of the track.

I got each of the axes calibrated fine. The X,Y, and A needed a little calculating which is pretty normal from what I read. The Z was right on the money by using exactly 10,000 steps (2000 micro steps per rev X 5 TPI) 8-)
Steve

Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
motoguy
4 Star Elite Contributing Member
4 Star Elite Contributing Member
Posts: 1184
Joined: Tue Aug 25, 2015 12:05 pm
Location: Central MO, USA

Re: Motor tuning - acceleration and velocity

Post by motoguy »

I too am interested in learning to tune my table for best performance. It's a manufactured table, but I realize each one can have a bit of "personality"
Bulltear 6x12 w/ Proton Z axis & watertable
CommandCNC/Linux w/ Ohmic & HyT options
Hypertherm Powermax 85 w/ machine torch
Solidworks, Coreldraw X7, Inkscape, Sheetcam
User avatar
Capstone
4 Star Member
4 Star Member
Posts: 1015
Joined: Fri Sep 13, 2013 8:42 am
Location: Washington D.C. Metro
Contact:

Re: Motor tuning - acceleration and velocity

Post by Capstone »

You can work out the theoretical, but once you get the steps matched to the proper travel, it's best to work from max "G's" based on the weight of your gantry. If you can work your way up to 350ipm and don't have any shudder at the "Z", then stop there, you're good. :D
Phil
It's all relative...
CNC Metal Design
Instagram CNC Metal Design
JD Squared 4x8
HT PM45, Miller 251 MIG
User avatar
exapprentice
3 Star Member
3 Star Member
Posts: 357
Joined: Mon Jul 06, 2015 1:57 pm
Location: Wiltshire, UK

Re: Motor tuning - acceleration and velocity

Post by exapprentice »

Hi Steve
If it was me I would set the velocity to the max cutting speed based on what material and which plasma machine you intend to go with.
Then keep increasing your acceleration until any quick changes in direction stalls the motors, By quick I mean really aggressive changes (forward & backwards) and keep trying to stall the motors don't try not stalling by being gentle, then back off say 15%.
If you can achieve the fastest cutting speed you anticipate using coupled with the highest acceleration you can dial in without stalling or losing steps then that's a good starting point ;)

What your after is your max cutting speed with the ability to change direction as fast as possible.
At this point you will see the effect of inertia on your machine (but hopefully not).

Its awesome when it all stays together when cutting a file with lots of fine detail at high cut speeds, that's when you start questioning if the machine is up to it :shock:

All depends on what materials you are interested in cutting (thick = slow / thin = fast) just try and be as realistic as you can.
Have fun this is the easy bit :lol:
Most important bit is get your steps per spot on, check your numbers over the longest distance possible for calibration :roll:

0.5mm over 3 mtr aint bad (0.020 over 10') :?:
Best Regards to all
Exapprentice :D
(Pete)
10'x5' DIY table / PM 45XP + M/C Torch - Trying to add 4 axis Tube cutting :(
Linux/CommandCandCNC MP3600 / PN200 / DCP-01 / PWM
Solid Edge, Inkscape, SheetCam, Scananything & Andonstar USB Microscope
tcaudle
4 Star Elite Contributing Member
4 Star Elite Contributing Member
Posts: 1364
Joined: Tue Feb 28, 2012 6:47 pm

Re: Motor tuning - acceleration and velocity

Post by tcaudle »

Since the tuning is largely a function of gantry weight, friction, final drive type and several other factors, its difficult to give rules of thumb. The larger motors and higher voltage of your unit makes the RPM closer to 800 and with the EtherCut even higher. Now, that number is at the MAX RPM and at that point the motor has virtually no torque left and "stalls" (loses steps). That "point" is dependent on the load and how fast you try to get there. As a design rule I try to make it so the max CUTTING speeds are about 1/2 the top speed . With a ratio of close to 1:1 that makes it about 400 IPM. You can he higher rapids so you set the velocity up to something like 600. As for the acceleration: It's better to have acceleration than high speeds. To get sharp turns and good corners tha higher the number the better BUT there is a practical limit. Its like driving your car hard and aggressive with every start and stop resulting in smoking tires! We have found that a good number to try and hit is about 1/10 the IPM feedrate but in IPS/sec. So if you want to cut at 250 IPM you need an acceleration of about 25 IPSec We find 50 IPS/sec to be pretty aggressive unless you have an ultra light gantry and need to cut 26ga!. 35 IPS/sec seems to be a good number for most cutting down to 16ga. We ran our test table up to 100 IPS/sec and did a sawtooth cut and I though the machine was going to shake itself to pieces! You need enough to let the toolpath track but not so much that parts start to fly off your machine!. If you run the inertial math on a 100 lb gantry going from 0 to 300 IPM and back to 0 in less than 1 sec you come up with some pretty big numbers!

Like it says in the mirror: "Caution, objects may be closer than they appear" so It's one thing to find the limits of your table . Its another to use numbers that give you good cuts cut don't put undue stress on the mechanics.
Simko
3 Star Member
3 Star Member
Posts: 265
Joined: Sat Aug 29, 2015 9:32 pm
Location: North Central Pennsylvania

Re: Motor tuning - acceleration and velocity

Post by Simko »

tcaudle wrote:Since the tuning is largely a function of gantry weight, friction, final drive type and several other factors, its difficult to give rules of thumb. The larger motors and higher voltage of your unit makes the RPM closer to 800 and with the EtherCut even higher. Now, that number is at the MAX RPM and at that point the motor has virtually no torque left and "stalls" (loses steps). That "point" is dependent on the load and how fast you try to get there. As a design rule I try to make it so the max CUTTING speeds are about 1/2 the top speed . With a ratio of close to 1:1 that makes it about 400 IPM. You can he higher rapids so you set the velocity up to something like 600. As for the acceleration: It's better to have acceleration than high speeds. To get sharp turns and good corners tha higher the number the better BUT there is a practical limit. Its like driving your car hard and aggressive with every start and stop resulting in smoking tires! We have found that a good number to try and hit is about 1/10 the IPM feedrate but in IPS/sec. So if you want to cut at 250 IPM you need an acceleration of about 25 IPSec We find 50 IPS/sec to be pretty aggressive unless you have an ultra light gantry and need to cut 26ga!. 35 IPS/sec seems to be a good number for most cutting down to 16ga. We ran our test table up to 100 IPS/sec and did a sawtooth cut and I though the machine was going to shake itself to pieces! You need enough to let the toolpath track but not so much that parts start to fly off your machine!. If you run the inertial math on a 100 lb gantry going from 0 to 300 IPM and back to 0 in less than 1 sec you come up with some pretty big numbers!

Like it says in the mirror: "Caution, objects may be closer than they appear" so It's one thing to find the limits of your table . Its another to use numbers that give you good cuts cut don't put undue stress on the mechanics.
Thanks for the reply Tom! This is great information.

Yesterday, I went through and set the max velocity to 400 IPM and the acceleration to 35 in/sec^2. I had no intention of ever running it at 785 IPM and 50 in/sec^2, but I just wanted to understand how to calculate what the max capabilities of the table should be.

I did some dry runs on a few fairly detailed files at 350 IPM and 35 in/sec^2... the table doesn't sound strained at all and the gantry is solid. 8-) Once I get a better pen holder, I will make sure that I am not getting any oscillation. Right now, everything looks pretty promising. I am just a water table and a plasma cutter away from the finish line.
Steve

Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
davek0974
4 Star Member
4 Star Member
Posts: 764
Joined: Wed Aug 13, 2014 8:30 am
Location: Hertfordshire, England
Contact:

Re: Motor tuning - acceleration and velocity

Post by davek0974 »

One little note that may / may not apply here - with massive acceleration/deceleration you also risk the plate being cut moving and/or the bed slats wobbling.

I have de-tuned my table somewhat as i was getting bad slat wobble on aggressive cuts in 3mm sheet. I built the table to run at 9000mm/min as that is all my PM45 can do according to the book, max velocity is set at 9500mm/min and acceleration has been lowered to 900 from 1800 so pretty close to the 1/10 rule.

Things were jiggling about all over the place at the higher setting, it only showed as a little ripple in one direction so although it was dancing around a bit, the whole machine was moving so the cut didn't suffer too badly! It was the plate wobbling the slats that showed the issue.
Simko
3 Star Member
3 Star Member
Posts: 265
Joined: Sat Aug 29, 2015 9:32 pm
Location: North Central Pennsylvania

Re: Motor tuning - acceleration and velocity

Post by Simko »

exapprentice wrote:Most important bit is get your steps per spot on, check your numbers over the longest distance possible for calibration :roll:

0.5mm over 3 mtr aint bad (0.020 over 10') :?:
Thanks!

I got it close for right now. I used my flaccid PVC holder to mount a sharp scribe and made pin pricks in cardboard. The biggest piece of cardboard I had was 48" so right now I am right on the money (within .25mm at 1219mm or 48"). Once I get a better pen holder and some bigger paper / cardboard, I will set it over the distance of the table (10'). :mrgreen:
Steve

Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
User avatar
exapprentice
3 Star Member
3 Star Member
Posts: 357
Joined: Mon Jul 06, 2015 1:57 pm
Location: Wiltshire, UK

Re: Motor tuning - acceleration and velocity

Post by exapprentice »

Hi Steve

I didn't use your method (couldn't find a piece of paper big enough) :roll:

What I did was placed a piece of tap at the home end of the axis, on the tape was a fine line that I used as a datum.
Then measured using a tape measure (nice new one)between the datum line and a known fixed point on the carriage.
Input a distance using the MDI and check how far the axis actually moved, crunch the numbers in the CandCNC manual to make any adjustments to the step / per.
0.5mm (0.020") is pretty easy to see whether it's over 3mm or 3mtr.
How many times you do the check its up to you but I checked, double checked and checked some more until I was happy it was spot on
(you could say I got very pedantic during this exercise :shock: )
On my table the rails allowed me to rest the tape flat along them during the checks which made my life a little easier but I did consider getting a laser measure (not sure of the accuracy of these) my nice new tape did the trick for me ;)
Best Regards to all
Exapprentice :D
(Pete)
10'x5' DIY table / PM 45XP + M/C Torch - Trying to add 4 axis Tube cutting :(
Linux/CommandCandCNC MP3600 / PN200 / DCP-01 / PWM
Solid Edge, Inkscape, SheetCam, Scananything & Andonstar USB Microscope
User avatar
SeanP
4 Star Member
4 Star Member
Posts: 950
Joined: Thu Aug 01, 2013 11:50 am
Location: Co Kerry, Ireland

Re: Motor tuning - acceleration and velocity

Post by SeanP »

Powermax XP45
Home built table, Candcnc DTHC 2, Dragoncut 620-4
R-Tech 210 Tig, Jasic 250 mig
Sheetcam, Scanything, Coreldraw
Table build gallery
Simko
3 Star Member
3 Star Member
Posts: 265
Joined: Sat Aug 29, 2015 9:32 pm
Location: North Central Pennsylvania

Re: Motor tuning - acceleration and velocity

Post by Simko »

Lol.. You have way too much time on your hands. :lol:

Very cool though!
Steve

Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Simko
3 Star Member
3 Star Member
Posts: 265
Joined: Sat Aug 29, 2015 9:32 pm
Location: North Central Pennsylvania

Re: Motor tuning - acceleration and velocity

Post by Simko »

exapprentice wrote:Hi Steve

I didn't use your method (couldn't find a piece of paper big enough) :roll:

What I did was placed a piece of tap at the home end of the axis, on the tape was a fine line that I used as a datum.
Then measured using a tape measure (nice new one)between the datum line and a known fixed point on the carriage.
Input a distance using the MDI and check how far the axis actually moved.
I was going to come up with something like that, but I didn't want to waste any more time with my crappy pen holder. Thanks for the ideas!
Steve

Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
User avatar
exapprentice
3 Star Member
3 Star Member
Posts: 357
Joined: Mon Jul 06, 2015 1:57 pm
Location: Wiltshire, UK

Re: Motor tuning - acceleration and velocity

Post by exapprentice »

Nice one seanp, love it
A picture is worth a thousand words and if it's a video even better :lol:
Best Regards to all
Exapprentice :D
(Pete)
10'x5' DIY table / PM 45XP + M/C Torch - Trying to add 4 axis Tube cutting :(
Linux/CommandCandCNC MP3600 / PN200 / DCP-01 / PWM
Solid Edge, Inkscape, SheetCam, Scananything & Andonstar USB Microscope
Post Reply

Return to “DIY Plasma Table & Accessory Discussion Forum”