Model Predictive Control of a Series Elastic Actuator
Recently I had the pleasure to work on what is probably the best-made Series Elastic Actuator (SEA) module in the world: the ANYdrive. from Robotic Systems L...
A pendulum (the pole) freely rotates on a shaft mounted on a moving cart. The shaft is NOT actuated, and the only control action applicable is a force on the cart.
Initially, the pendulum is at its stable equilibrium position (i.e. lowest position). The control algorithm does 2 jobs. First, it tires to move the cart so that the pendulum swings up to the unstable equilibrium position (i.e. the highest position). Second, it tries to balance the pendulum at its unstable equilibrium.
The swing-up part of the job is more interesting and more challenging. The during swing-up, the pendulum travels through highly nonlinear regions of the state space, rendering conventional linear system techniques unusable. Further more, the system is under-actuated, and when the pendulum is horizontal, moving the cart does not generate any effect on the pendulum (even for a very brief moment).
The method implemented here was mentioned in the course materials of MIT OpenCourseWare 6.832, Underactuated Robotics This method transforms the swing-up control problem into the regulation problem of an energy-like term. Namely, the energy error term is defined as follows:
In the equation, J is the moment of inertia of the pendulum, and g is the gravitational acceleration. Other notations are consistent with Figure 1. Note that when the pendulum is at upright position, the energy error term goes to zero. A regulator is then added to drive the energy error to zero, which is effectively the same as making the pendulum approach the upright position.
When the pendulum is close enough to the upright position, the system can effectively be replaced by its linearization about the upright position. At this moment, the energy error regulator is simply switched off and a linear quadratic regulator (LQR) takes over to balance the pendulum.
Leave a Comment