Controlling an inverted pendulum.

First inverted pendulum simulation

Second simulation with drive limit and friction

The same, with modified feedback parameters

Tilt sensor datum error, estimated tilt rate

Estimated trolley velocity

Constrained demand, you provide position and velocity terms

Constrained demand, velocity limit

Constrained demand, velocity limit, trial values of position and velocity feedback