Ackermann's formula

From HandWiki

In control theory, Ackermann's formula is a control system design method for solving the pole allocation problem for invariant-time systems by Jürgen Ackermann.[1] One of the primary problems in control system design is the creation of controllers that will change the dynamics of a system by changing the eigenvalues of the matrix representing the dynamics of the closed-loop system.[2] This is equivalent to changing the poles of the associated transfer function in the case that there is no cancellation of poles and zeros.

State feedback control

Consider a linear continuous-time invariant system with a state-space representation

x˙(t)=Ax(t)+Bu(t)
y(t)=Cx(t)

where x is the state vector, u is the input vector, and A, B and C are matrices of compatible dimensions that represent the dynamics of the system. An input-output description of this system is given by the transfer function

G(s)=C(sIA)1B=C Adj(sIA)det(sIA) B.

Since the denominator of the right equation is given by the characteristic polynomial of A, the poles of G are eigenvalues of A (note that the converse is not necessarily true, since there may be cancellations between terms of the numerator and the denominator). If the system is unstable, or has a slow response or any other characteristic that does not specify the design criteria, it could be advantageous to make changes to it. The matrices A, B and C, however, may represent physical parameters of a system that cannot be altered. Thus, one approach to this problem might be to create a feedback loop with a gain K that will feed the state variable x into the input u.

If the system is controllable, there is always an input u(t) such that any state x0 can be transferred to any other state x(t). With that in mind, a feedback loop can be added to the system with the control input u(t)=r(t)Kx(t), such that the new dynamics of the system will be

x˙(t)=Ax(t)+B[r(t)Kx(t)]=[ABK]x(t)+Br(t)
y(t)=Cx(t).

In this new realization, the poles will be dependent on the characteristic polynomial Δnew of ABK, that is

Δnew(s)=det(sI(ABK)).

Ackermann's formula

Computing the characteristic polynomial and choosing a suitable feedback matrix can be a challenging task, especially in larger systems. One way to make computations easier is through Ackermann's formula. For simplicity's sake, consider a single input vector with no reference parameter r, such as

u(t)=kTx(t)
x˙(t)=Ax(t)BkTx(t),

where kT is a feedback vector of compatible dimensions. Ackermann's formula states that the design process can be simplified by only computing the following equation:

kT=[0 0  0 1]𝒞1Δnew(A),

in which Δnew(A) is the desired characteristic polynomial evaluated at matrix A, and 𝒞 is the controllability matrix of the system.

Proof

This proof is based on Encyclopedia of Life Support Systems entry on Pole Placement Control.[3] Assume that the system is controllable. The characteristic polynomial of ACL:=(ABkT) is given by

Δ(ACL)=(ACL)n+k=0n1αkACLk

Calculating the powers of ACL results in

(ACL)0=(ABkT)0=I(ACL)1=(ABkT)1=ABkT(ACL)2=(ABkT)2=A2ABkTBkTA+(BkT)2=A2ABkT(BkT)[ABkT]=A2ABkTBkTACL(ACL)n=(ABkT)n=AnAn1BkTAn2BkTACLBkTACLn1


Replacing the previous equations into Δ(ACL) yieldsΔ(ACL)=(AnAn1BkTAn2BkTACLBkTACLn1)++α2(A2ABkTBkTACL)+α1(ABkT)+α0I=(An+αn1An1++α2A2+α1A+α0I)(An1BkT+An2BkTACL++BkTACLn1)+α2(ABkT+BkTACL)α1(BkT)=Δ(A)(An1BkT+An2BkTACL++BkTACLn1)α2(ABkT+BkTACL)α1(BkT)Rewriting the above equation as a matrix product and omitting terms that kT does not appear isolated yields

Δ(ACL)=Δ(A)[B  AB    An1B][kT]

From the Cayley–Hamilton theorem, Δ(ACL)=0, thus

[B  AB    An1B][kT]=Δ(A)

Note that 𝒞=[B  AB    An1B] is the controllability matrix of the system. Since the system is controllable, 𝒞 is invertible. Thus,

[kT]=𝒞1Δ(A)

To find kT, both sides can be multiplied by the vector [0001] giving

[0001][kT]=[0001]𝒞1Δ(A)

Thus,

kT=[0001]𝒞1Δ(A)

Example

Consider[4]

x˙=[1112]x+[10]u

We know from the characteristic polynomial of A that the system is unstable since det(sIA)=(s1)(s2)1=s23s+2, the matrix A will only have positive eigenvalues. Thus, to stabilize the system we shall put a feedback gain K=[k1k2].

From Ackermann's formula, we can find a matrix k that will change the system so that its characteristic equation will be equal to a desired polynomial. Suppose we want Δdesired(s)=s2+11s+30.

Thus, Δdesired(A)=A2+11A+30I and computing the controllability matrix yields

𝒞=[BAB]=[1101] and 𝒞1=[1101].

Also, we have that A2=[2335].

Finally, from Ackermann's formula

kT=[01][1101][[2335]+11[1112]+30I]
kT=[01][1101][43141457]=[01][29431457]
kT=[1457]

State observer design

Ackermann's formula can also be used for the design of state observers. Consider the linear discrete-time observed system

x^(n+1)=Ax^(n)+Bu(n)+L[y^(n)y(n)]
y^(n)=Cx^(n)

with observer gain L. Then Ackermann's formula for the design of state observers is noted as

L=[0 0  0 1](𝒪)1Δnew(A)

with observability matrix 𝒪. Here it is important to note, that the observability matrix and the system matrix are transposed: 𝒪 and A.

Ackermann's formula can also be applied on continuous-time observed systems.

See also

References

  1. Ackermann, J. (1972). "Der Entwurf linearer Regelungssysteme im Zustandsraum". At - Automatisierungstechnik 20 (1–12): 297–300. doi:10.1524/auto.1972.20.112.297. ISSN 2196-677X. https://elib.dlr.de/96054/1/Ackermann_Der%20Entwurf%20linearer%20Regelungssysteme%20im%20Zustandsraum_Regelungstechnik_1972.pdf. 
  2. Modern Control System Theory and Design, 2nd Edition by Stanley M. Shinners
  3. Ackermann, J. E. (2009). "Pole Placement Control". Control systems, robotics and automation. Unbehauen, Heinz.. Oxford: Eolss Publishers Co. Ltd. ISBN 9781848265905. OCLC 703352455. 
  4. "Topic #13 : 16.31 Feedback Control". http://web.mit.edu/16.31/www/Fall06/1631_topic13.pdf. 
  • Chapter about Ackermann's Formula on Wikibook of Control Systems and Control Engineering