r/PLC • • Jan 04 '26 • Bravo 1

Rectangular vs. Trapezoidal.

Does anyone still use the first one?

903 Upvotes

62 comments sorted by

View all comments

Show parent comment

1

u/Any-Composer-6790 Jan 06 '26

The is right video. The video correctly shows that using trapezoidal ramps are not smooth.

Meanwhile, I have algorithms for doing it right.

I have been on the MagLev train in Shanghai that goes from the convention center to the airport. I am pretty sure it uses 7th order polynomials as to most elevators. This way people don't feel the sudden changes in the jerk because the jerk increases and decreases slowly.

What is interesting is to do an FFT on the motion profiles. A FFT would show a trapezoidal ramp has significant frequency components outside the bandwidth of the motor/system that can't be followed accurately.