Ball in Tube Feedforward¶
Analyzing the system for flatness leads to finding the ball’s position as the flat output of the system, meaning that all other system variables can be calculated from it. This can be retraced easily with the following chain of equations:
The last equation is implented in this feedforward module. The highest order of derivatives is , so the trajectory generator needs to provide a trajectory that is differentiable at least four times.