Feedback Linearization 

Feedback linearization is an exact linearization process that computes state and feedback transformations to linearize a nonlinear system and allows for the design of nonlinear controllers using linear techniques. Compare controller designs based on exact and approximate linearizations for a magnetically levitated system.

The affine model can be obtained directly from the governing equations.

In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X
Out[2]=

It is completely feedback linearizable, since there are no residual dynamics.

In[3]:=
Click for copyable input
X
In[4]:=
Click for copyable input
X
Out[4]=

Compute the stabilizing feedback gains using the exactly linearized system.

In[5]:=
Click for copyable input
X
Out[5]=

Simulate the closed-loop system for given initial conditions.

In[6]:=
Click for copyable input
X
In[7]:=
Click for copyable input
X
Out[7]=

Compute stabilizing feedback gains using the approximately linearized system.

In[8]:=
Click for copyable input
X
Out[8]=

The design based on exact linearization has a better response.

In[9]:=
Click for copyable input
X
In[10]:=
Click for copyable input
X
Out[10]=

The nonlinear controller used in the exact linearization design.

In[11]:=
Click for copyable input
X
Out[11]=

The control effort expended.

In[12]:=
Click for copyable input
X
In[13]:=
Click for copyable input
X
Out[13]=

The effort expended for the exact case is much lower than that of the approximate.

In[14]:=
Click for copyable input
X
In[15]:=
Click for copyable input
X
Out[15]=

An animation of the ball being levitated using the nonlinear controller.

show complete Wolfram Language input
       
Click to play animation
de es ja pt-br zh