Control Theory State-Space method with derivative input

1 reply · 10K views · last reply
Chacabucogod
Messages
56
Reaction score
0
Hi,

I'm reading Ogata's Modern Control Engineering, and when he talks about the representation of a differential equation in state space he divides the method in two. The first one is when the input of the differential equation involves no derivative term, for example:

x'(t)+x(t)=u(t)

The next step is doing it with a differential equation that has inputs that have derivatives. For example:

x'(t)+x(t)=u(t)+u'(t)

He then mention that the state varibles will be

x1=y-β0u
x2=y'-β1u-β0u' and so on...

I've tried finding a reason for this and the nearest I've come is the following PDF, which has errors:

http://www.ece.rutgers.edu/~gajic/psfiles/canonicalforms.pdf

Anybody got an idea how that can be derived?
 
note: this is not mine...
http://lpsa.swarthmore.edu/Representations/SysRepTransformations/TF2SS.html

Consider the third order differential transfer function:

Transfer function H(s) = Y(s)/U(s) = (b0 s^3 + b1 s^2 + b2 s + b3) / (s^3 + a1 s^2 + a2 s + a3), a ratio of two third-order polynomials in s.


We start by multiplying by Z(s)/Z(s) and then solving for Y(s) and U(s) in terms of Z(s). We also convert back to a differential equation.

Two equations side by side: Y(s) = (b0 s^3 + b1 s^2 + b2 s + b3) Z(s) and U(s) = (s^3 + a1 s^2 + a2 s + a3) Z(s); with y = b0 z''' + b1 z'' + b2 z' + b3 z and u = z''' + a1 z'' + a2 z' + a3 z.


We can now choose z and its first two derivatives as our state variables

Handwritten-style derivation of state variables: q1 = z, q2 = z-dot, q3 = z-double-dot, with their derivatives q1-dot = z-dot = q2, q2-dot = z-double-dot = q3, and q3-dot = z-triple-dot = u - a1 q3 - a2 q2 - a3 q1.


Now we just need to form the output

Equation y = b0 z''' + b1 z'' + b2 z' + b3 z, with y as output and z and its derivatives as terms.


Unfortunately, the third derivative of z is not a state variable or an input, so this is not a valid output equation. However, we can represent the term as a sum of state variables and outputs:

Equation z''' = u - a1 z'' - a2 z' - a3 z written as plain text, with z three times differentiated on the left and u minus a1 z'', a2 z' and a3 z on the right.


and

Equation: y = b0 (u - a1 z'' - a2 z' - a3 z) + b1 z' + b2 z'' + b3 z, followed by y = b0 u + (b1 - a1 b0) z' + (b2 - a2 b0) z' + (b3 - a3 b0) z.


From these results we can easily form the state space model:

State-space model equations: q-dot = Aq + Bu with A a 3x3 companion matrix (rows 0 1 0; 0 0 1; -a3 -a2 -a1) and B = column vector (0, 0, 1); y = Cq + Du with C = [b3 - a3b0, b2 - a2b0, b1 - a1b0] and D = b0.


In this case, the order of the numerator of the transfer function was less than that of the denominator. If they are equal, the process is somewhat more complex.
 
Last edited by a moderator: