Feedrates and accelerations (fine tuning for Routers with AC Servos)
Moderator: cnckeith
-
- Posts: 52
- Joined: Mon Jun 26, 2023 7:57 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Feedrates and accelerations (fine tuning for Routers with AC Servos)
Hi,
I have noticed that small pocket maneuvers in my gantry router are running slower than the specified feedrates (based on CNC12 display and observation). This is not surprising as acceleration due to physics or normal CNC control will slow down for intricate work, sure... but the following puzzles me.
Understand the following Gcode test file for the following: it does a helical ramp, then a larger one, then a larger one, all set to 1500mm/min.
If I set the accel to 0.2 in the wizard, the attached Gcode will start at 1000 mm/min despite being ordered to 1500. If I set it to a higher value, 0.27, etc, it's the same. If I turn up the feedrate on the control to 180 it increases, so I am not hitting an absolute value within Centroid to no accelerate past ~1000 on these tight arcs if feedrate increases in control actually occur. I also played with the Par 231, saw no change at all.
When the Gcode goes to the larger helical moves it follows the commanded 1500.
The machine runs clearpath servos, but I am reading the display on CNC12, so whether CP is doing some third derivative stuff to slow it further is not relevant to this level of analysis.
Please enlighten me, thanks!
I have noticed that small pocket maneuvers in my gantry router are running slower than the specified feedrates (based on CNC12 display and observation). This is not surprising as acceleration due to physics or normal CNC control will slow down for intricate work, sure... but the following puzzles me.
Understand the following Gcode test file for the following: it does a helical ramp, then a larger one, then a larger one, all set to 1500mm/min.
If I set the accel to 0.2 in the wizard, the attached Gcode will start at 1000 mm/min despite being ordered to 1500. If I set it to a higher value, 0.27, etc, it's the same. If I turn up the feedrate on the control to 180 it increases, so I am not hitting an absolute value within Centroid to no accelerate past ~1000 on these tight arcs if feedrate increases in control actually occur. I also played with the Par 231, saw no change at all.
When the Gcode goes to the larger helical moves it follows the commanded 1500.
The machine runs clearpath servos, but I am reading the display on CNC12, so whether CP is doing some third derivative stuff to slow it further is not relevant to this level of analysis.
Please enlighten me, thanks!
- Attachments
-
- report_0008DC111213-0605230121_2024-01-02_10-54-33.zip
- (934.7 KiB) Downloaded 44 times
-
- test2 (1).nc
- (5.28 KiB) Downloaded 42 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 416
- Joined: Tue Dec 11, 2018 4:03 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: UK East Coast
Re: Feedrates and accelerations
I'm guessing but worth checking your Smoothing settings
Hope this helps
Nigel
"You can lead a horse to water but you cannot force it to drink"
Nigel
"You can lead a horse to water but you cannot force it to drink"
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3802
- Joined: Thu Sep 23, 2021 3:49 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 6433DB0446C1-08115074
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Germany
Re: Feedrates and accelerations
Look at Parameter 49-51 in the manual.
Uwe
Uwe
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 52
- Joined: Mon Jun 26, 2023 7:57 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Feedrates and accelerations
Uwe, thanks, but my parameters 49-50-51 were all zero. So it must be something else. Smoothing is off also
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Site Admin
- Posts: 9083
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: Yes
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: Feedrates and accelerations, dead start and delta v max
put any parameters you changed back to the stock settings and then adjust delta v max values. Delta V max is conservatively set to a default value that works well with all typical milling machines and routers. With a router sometimes you can speed/loosen things up with a higher delta vmax number. delta vmax is = The maximum instantaneous velocity change that will be commanded on a vector transition. if you have open loop steppers do not adjust this number. if you have AC servos sized properly for the machine you may proceed.
with delta v max set to 127 mm/min from your report and using your provided g code program; my machine would run the smallest helix around 880 mm/min and the medium size one at around 1200 mm/min and the big one around 1490 mm/min,
i changed delta v max to 200 mm/min for all axes and re ran the job and now it runs the smallest helix around 1200 mm/min and the medium size one at around 1480 mm/min and the big one around 1500 mm/min
in practice adjusting delta v max is a bit of a trial and error process, but i have successfully gone up to 380 mm/min on delta v max setting for a few routers with good results. I would only increase this number just to the point where you are satisfied, no need to make it bigger than needed as that would introduce other issues.
with delta v max set to 127 mm/min from your report and using your provided g code program; my machine would run the smallest helix around 880 mm/min and the medium size one at around 1200 mm/min and the big one around 1490 mm/min,
i changed delta v max to 200 mm/min for all axes and re ran the job and now it runs the smallest helix around 1200 mm/min and the medium size one at around 1480 mm/min and the big one around 1500 mm/min
in practice adjusting delta v max is a bit of a trial and error process, but i have successfully gone up to 380 mm/min on delta v max setting for a few routers with good results. I would only increase this number just to the point where you are satisfied, no need to make it bigger than needed as that would introduce other issues.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
1 user liked this post
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 52
- Joined: Mon Jun 26, 2023 7:57 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Feedrates and accelerations
That seems helpful and is informative, now, how do I change a user variable such as the 20900x series you are mentioning?
I understand user variables are written as subjects of the code, M functions, etc, but where do I change this one directly?
Thanks,
I understand user variables are written as subjects of the code, M functions, etc, but where do I change this one directly?
Thanks,
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Site Admin
- Posts: 9083
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: Yes
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: Feedrates and accelerations, Deadstart Delta V max
delta v max is set in the jog menu of cnc12,
F1 Setup, F3 Config, type in password "137", F2 Mach, F1 Jog
related notes from the manual.
Deadstart: Determines the speed that an axis will decelerate to before stopping or reversing direction. A low setting
will cause a large slowdown before a reverse in direction, causing your machine to be more accurate. A high
setting will cause less slowdown before reversals, but this may cause your machine to “bang”, which may cause
a decrease in accuracy. This parameter should not be changed
15.3.120 Parameter 165 – Acceleration/Deceleration Options
This is a bit field parameter which modifies certain details of axis acceleration and deceleration when an axis stops
moving, changes direction, or starts moving. The Jog Parameters screen in Machine Configuration sets the original
DeadStart values for each axis. This parameter allows you to modify these DeadStart settings under certain
conditions. Note that if both bit 0 and 1 are turned on (value = 1+2 = 3), then the effect is cumulative, i.e. the net effect
will be that 1/2 of the DeadStart value will be used when a slave axis stops or starts up from a stop. Likewise, if both
bit 2 and 3 are turned ON, the effect will also be cumulative. Note that this feature has no effect for movement
commands handled by G64 Smoothing (P220=1).
other related guidance
Router Vibrations Causes, starting with most common
Router Vibrations / Wobbling causes starting with most common
1.) #1 is undersized servos (servos don't have enough power to hold position with the gearing, weight, speed and inertia involved in the move). Note: a Yaskawa 750 and a Leadshine 750 are not going to perform the same when it comes to power, control and torque at speed.
2.) Mechanical issues excessive backlash present, loose drive pulleys, binding, racking, and sticking issues.
3.) Servos tuned on a machine that has mechanical issues, see #1
4.) Axis Servos not tuned properly (use the drive software tuning first and multiple times and then Centroid delay tune).
5.) Poor quality ratty saw tooth looking G code. unnecessarily short vectors such as vectors .0001 - .0005" long, and or a CNCPC not up to the task if using G64 smoothing.
6.) CNC12 configuration issues.
If and when #1-5 have been thoroughly vetted and ruled out then and only then look to CNC12 setup issues.
F1 Setup, F3 Config, type in password "137", F2 Mach, F1 Jog
related notes from the manual.
Deadstart: Determines the speed that an axis will decelerate to before stopping or reversing direction. A low setting
will cause a large slowdown before a reverse in direction, causing your machine to be more accurate. A high
setting will cause less slowdown before reversals, but this may cause your machine to “bang”, which may cause
a decrease in accuracy. This parameter should not be changed
15.3.120 Parameter 165 – Acceleration/Deceleration Options
This is a bit field parameter which modifies certain details of axis acceleration and deceleration when an axis stops
moving, changes direction, or starts moving. The Jog Parameters screen in Machine Configuration sets the original
DeadStart values for each axis. This parameter allows you to modify these DeadStart settings under certain
conditions. Note that if both bit 0 and 1 are turned on (value = 1+2 = 3), then the effect is cumulative, i.e. the net effect
will be that 1/2 of the DeadStart value will be used when a slave axis stops or starts up from a stop. Likewise, if both
bit 2 and 3 are turned ON, the effect will also be cumulative. Note that this feature has no effect for movement
commands handled by G64 Smoothing (P220=1).
other related guidance
Router Vibrations Causes, starting with most common
Router Vibrations / Wobbling causes starting with most common
1.) #1 is undersized servos (servos don't have enough power to hold position with the gearing, weight, speed and inertia involved in the move). Note: a Yaskawa 750 and a Leadshine 750 are not going to perform the same when it comes to power, control and torque at speed.
2.) Mechanical issues excessive backlash present, loose drive pulleys, binding, racking, and sticking issues.
3.) Servos tuned on a machine that has mechanical issues, see #1
4.) Axis Servos not tuned properly (use the drive software tuning first and multiple times and then Centroid delay tune).
5.) Poor quality ratty saw tooth looking G code. unnecessarily short vectors such as vectors .0001 - .0005" long, and or a CNCPC not up to the task if using G64 smoothing.
6.) CNC12 configuration issues.
If and when #1-5 have been thoroughly vetted and ruled out then and only then look to CNC12 setup issues.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
12 users liked this post
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 3802
- Joined: Thu Sep 23, 2021 3:49 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 6433DB0446C1-08115074
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Germany
Re: Feedrates and accelerations
Code: Select all
;------------------------------------------------------------------------------
; Filename: mfunc55.mac - To run from VCP AUX 10 key, set p197 = 5511
; M55 macro
; Description: Calculate Vfc for internal thread milling or circ. pockets
; Requires: Machine home must be set prior to use.
; Please see TB300 for tips on writing custom macros.
;------------------------------------------------------------------------------
IF #50010 ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching
#105=0
N100
M224 #101 "Calculate Vfc for\nint. thread milling\nor circ. pockets\n\nMill Diameter"
M224 #102 "Bore Diameter"
IF #101 >= #102 and #105 == 0 THEN GOTO 900 ELSE GOTO 110
N110
IF #101 >= #102 and #105 >= 1 THEN GOTO 990 ELSE GOTO 200
N200
M224 #104 "Feedrate Vf"
#103=#104/((#102*3.14)/((#102-#101)*3.14))
M225 #100 "Use for:\nMill Diameter: %f mm\nBore Diameter: %f mm\nFeedrate Vf: %f mm/min\n\nCalculated Feedrate\nVfc= %f mm/min" #101#102#104#103
GOTO 1000
N900
M225 #100 "Mill Diameter = %f\n can not be equal or larger then\nBore Diameter = %f\n\n Back to Start" #101#102
#105=1
GOTO 100
N990
M225 #100 "Really?\nThis will also not fit\n\nMill Diameter = %f\n can not be equal or larger then\nBore Diameter = %f\n\n Back to Start you Stupid" #101#102
GOTO 100
N1000 ;End of Macro
Here is a macro to calculate this, I have this as a button on my VCP.
Uwe
- Attachments
-
- mfunc55.mac
- (1.36 KiB) Downloaded 42 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 52
- Joined: Mon Jun 26, 2023 7:57 am
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Feedrates and accelerations
Thanks, solved. I ended up with values of 280, Accel of 0.22,
and deadstart 220. It works there, sounds high, but is well controlled for now.
and deadstart 220. It works there, sounds high, but is well controlled for now.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)