I want to build simulation for S curve velocity profile (TIME-OPTIMAL POSITION PROFILE).
I want to use an S-curve for my velocity profile where the position is already given. This means I have to start the motion using acceleration (if possible, including all three phases of acceleration), followed by a constant velocity phase if possible, and then deceleration (if possible, including all three phases of deceleration).
By the end of these phases, the velocity should be zero and the position should reach the desired value.
Given the following values:
- Position: 1000
- Velocity: 2000
- Acceleration: 200
- Deceleration: 200
- Jerk: 100
Since the velocity is greater than the position, it's not possible to reach the given velocity. Therefore, we need to recalculate the maximum velocity, peak acceleration, and peak deceleration.
Can you help me solve this? How do we recalculate or find the peak values for velocity, acceleration, and deceleration?
Note: I do not want to use time or do not want time dependency.
Here is a plot of the S-curve I have traced with my current equation with given values where the velocity becomes 0 but the position cannot reach 1000.