Halscope scaling - Axis Acceleration behaviour
The graph shows current velocity for a move on my plasma machine from a standing start to 10240 mm/min (170.667 mm/sec)
So the question is, how long does it take to get to speed? I read this as 2.3 seconds (assuming the smallest tick = 200 ms)
But maybe its 230 ms
Help please?
Please Log in or Create an account to join the conversation.
The small divisions (tics) are 10 per division (so every 20 ms)
(so it gets to speed in 230 ms)
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
- Posts: 7114
- Karma: 69
- Thank you received: 2115
I was wondering why you were mentioning that same 2.3 seconds before somewhere else when all i could see was 230ms, but since you used halscope more than me, i did not doubt your results. I should have, shame on me !
What is the acceleration set at?
Please Log in or Create an account to join the conversation.
But the next question is that if I have the acelleration in my ini file set to 1500mm /s/s so it should have got to speed in 114 ms.
So why in hte real world am I only getting half? Is this where a better quality stepper drive would come into play?
Sounds like I need to change my ini file to be 750 mm/s/s and retest.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
- Posts: 7114
- Karma: 69
- Thank you received: 2115
This is the simplest i could find on the net explaining acceleration.
Also found this, looks more like what we need, so i blatantly copied/pasted here:
Acceleration (A) at a given time (t) when acceleration is constant is given by
(I) A = a where a is the acceleration at time t = 0
Velocity (V) at a given time (t) when acceleration is constant is given by
(ii) V = at + b where b is the velocity at time t = 0
Distance (S) at a given time (t) when acceleration is constant is given by
(iii) S = ½at² + bt + c where c is the distance from the origin at time t = 0
As the initial velocity is zero and we are measuring from the start point b and c become zero giving
(iv) V = at
(v) S = ½at²
Rearranging (iv) to give t becomes
(vi) t = V ÷ a
Substituting (vi) into (v) to get S in terms of V and a gives
(vii) S = ½at² = ½a (V ÷ a)² = V² ÷ 2a
So the time taken to reach the target velocity of 40mm/s with an acceleration of 1500mm/s² starting from a standstill is given by
t = 40mm/s ÷ 1500mm/s² = 0.2667s to 4sf
Distance covered during this acceleration is given by
S = (40mm/s)² ÷ (2 x 1500mm/s²) = 0.5333mm to 4sf
Regards,
Martin
Attachments:
Please Log in or Create an account to join the conversation.
And I checked myself on this calculator
www.smartconversion.com/unit_calculation...tion_calculator.aspx
So restating it, by halscope, the acelleration was about 742 mm/s/s when I had 1500/mm/s/s in the ini file
So where did the other 50% go?
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
- Posts: 7114
- Karma: 69
- Thank you received: 2115
Had to much today so my gray matter is all mushy, will resume tomorrow.
Have a nice one.
Please Log in or Create an account to join the conversation.
At first I thought it may have been some legacy external offset ratios in the INI file so I played around for a bit with that. They worked as expected. Then I took deleted the OFFSET_AV_RATIO from the X & Y axes
So I halved the velocity to 750 mm/s/s and the time to speed doubled
So then I doubled the velocity to 3000 mm/s/s and the time to speed halved
But it is not going to speed at the max acceleration
So I set the STEPGEN_MAXACCEL to 6000 (double 3000) in case that was limiting but it made no difference
It is consistently only acellerating about 50% of the maximum you allow.
So does it keep some acceleration in reserve for dealing with short sharp segments while cutting?
Any Ideas welcomed.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
rodw wrote: Actually, reloading one of those calculators, that acceleration is way faster than the ini file setting. I tried another one to check So I need to look at Tommy's formulas. (eyes glaze over....)
Well it all works! I just keep getting confused about the required conversion from mm/min to m/sec before doing the calculations.
So its clear that the acceleration used is only about half of what the INI file settings are.
If anybody who knows the LCNC internals better than I, can explain it would be appreciated.
Please Log in or Create an account to join the conversation.