- Posts: 459
- Thank you received: 158
LinuxCNC S-Curve Accelerations
- arvidb
- Offline
- Platinum Member
-
Less
More
5 years 8 months ago - 5 years 8 months ago #199823
by arvidb
Replied by arvidb on topic LinuxCNC S-Curve Accelerations
Thanks, a very interesting lecture. Thanks to Robert Ellenberg too for talking!
It was kinda cool to see: the jerk-limited counterpart to parabolic blending is kindof what I called "constant jerk vector" here (i.e. switch as fast as possible from one direction to another). The jerk-limited counterpart to arc blending would then be the clothoid, which, just like the arc, keeps constant velocity.
Clothoids are parameterized by length, too. But they only give constant jerk for something like a train or car, which turns with the curve. For something like a tool in a machine, that keeps a constant heading, there's also jerk needed to rotate the acceleration vector around it, and acceleration to rotate the velocity vector. That can be seen from the jerk and acceleration limit violations in my plot on that same page.
It was kinda cool to see: the jerk-limited counterpart to parabolic blending is kindof what I called "constant jerk vector" here (i.e. switch as fast as possible from one direction to another). The jerk-limited counterpart to arc blending would then be the clothoid, which, just like the arc, keeps constant velocity.
Clothoids are parameterized by length, too. But they only give constant jerk for something like a train or car, which turns with the curve. For something like a tool in a machine, that keeps a constant heading, there's also jerk needed to rotate the acceleration vector around it, and acceleration to rotate the velocity vector. That can be seen from the jerk and acceleration limit violations in my plot on that same page.
Last edit: 5 years 8 months ago by arvidb.
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
-
Less
More
- Posts: 4819
- Thank you received: 2177
5 years 8 months ago - 5 years 8 months ago #199826
by Aciera
Replied by Aciera on topic LinuxCNC S-Curve Accelerations
For anybody interested in the topic, maybe this could be informative. It provides a general over view on path blending and proposes a method using clothoids.
dro.deakin.edu.au/eserv/DU:30118119/shah...thsmoothing-2019.pdf
[edit]
Just realized that this looks like the usual spam post. It's not I swear.
dro.deakin.edu.au/eserv/DU:30118119/shah...thsmoothing-2019.pdf
[edit]
Just realized that this looks like the usual spam post. It's not I swear.
Last edit: 5 years 8 months ago by Aciera.
The following user(s) said Thank You: arvidb
Please Log in or Create an account to join the conversation.
- rmu
- Offline
- Elite Member
-
Less
More
- Posts: 279
- Thank you received: 101
5 years 8 months ago #199844
by rmu
Replied by rmu on topic LinuxCNC S-Curve Accelerations
There are 2 aspects to this problem.
One thing is the generation of the speed profile. The other one is blending toolpaths under constraints like allowed deviation, allowed acceleration, allowed jerk.
I just resurrected my branch (that only changes the speed profile) and it seems to merge cleanly on master. If you want to play around with it, you need to #define BEZIER for the "smooth" planner or compile with -DBEZIER.
Also, as a memento, if I remember correctly, the MachineKit ppl refactored the trajectory planner into it's own module so you can plug it in at run time. Maybe it's worth taking a look at that.
And thanks for the link to the dissertation, this will make an interesting read.
One thing is the generation of the speed profile. The other one is blending toolpaths under constraints like allowed deviation, allowed acceleration, allowed jerk.
I just resurrected my branch (that only changes the speed profile) and it seems to merge cleanly on master. If you want to play around with it, you need to #define BEZIER for the "smooth" planner or compile with -DBEZIER.
Also, as a memento, if I remember correctly, the MachineKit ppl refactored the trajectory planner into it's own module so you can plug it in at run time. Maybe it's worth taking a look at that.
And thanks for the link to the dissertation, this will make an interesting read.
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
5 years 8 months ago #199851
by tommylight
M.F.G.
Tom.
Replied by tommylight on topic LinuxCNC S-Curve Accelerations
Having your user name at the start of the post makes this "not spam" as you have become a very valuable member of this community willing to help always, and for that we are very thankful.Aciera wrote: Just realized that this looks like the usual spam post. It's not I swear.
M.F.G.
Tom.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
-
Less
More
- Posts: 12170
- Thank you received: 4153
5 years 8 months ago #199911
by rodw
Don't stress, we know who the good guys are and won't shoot on sight
Replied by rodw on topic LinuxCNC S-Curve Accelerations
Aciera wrote:
Just realized that this looks like the usual spam post. It's not I swear.
Don't stress, we know who the good guys are and won't shoot on sight
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
5 years 8 months ago #199912
by tommylight
Replied by tommylight on topic LinuxCNC S-Curve Accelerations
Well, accidents do happen ...rodw wrote:
Aciera wrote:
Just realized that this looks like the usual spam post. It's not I swear.
Don't stress, we know who the good guys are and won't shoot on sight
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.240 seconds