Académique Documents
Professionnel Documents
Culture Documents
State variable models are basically time domain models where we are interested in the dynamics
of some characterizing variables called state variables which along with the input represent the
state of a system at a given time.
State: The state of a dynamic system is the smallest set of variables, x ε Rn , such that
given x(to)and u(t), t > to, x(t), t > to can be uniquely determined.
Usually a system governed by a nth order differential equation or nth order transfer function is
expressed in terms of n state variables: x1, x2,....... xn.
The generic structure of a state-space model of a nth order continuous time dynamical system
with m input and p output is given by:
where, x(t) is the n dimensional state vector, u(t) is the m dimensional input vector, y(t) is
the pdimensional output vector and A ε Rn x n , B ε Rn x m, , C ε Rp x n,, D ε Rp x m,
Let us assume that the following continuous time system is subject to sampling process with an
interval of T.
We know that the solution to above state equation is:
Since the inputs are constants in between two sampling instants, one can write:
for
which implies that the following expression is valid within the interval
if we consider :
If ,
(4)
where and .
If , we can rewrite as .
Equation (4) has a similar form as that of equation (3) if we consider and
Similarly by setting t = kT , one can show that the output equation also has a
When T = 1,
Now to expalin the expression of state and output solution for a discrete data system
represented in state variable method let us consider the following state model of a discrete
time system:
where the initial conditions are x(0) and u(0). Putting k = 0 in the above equation, we get
For k=2,
and so on. If we combine all these equations, we would get the following expression as a
general solution:
As seen in the above expression, x(k) has two parts. One is the contribution due to the
initial statex(0) and the other one is the contribution of the external input u(i) for . When
the input is zero, solution of the homogeneous state
Where Φ(1)=Ak and θ(1)=B, applying Z transform on the above expression we get,
ZX(z) – ZX(0) = AX(z) + Bu(z)
[ZI-A]X(z) =ZX(0) +Bu(z)
X(z) = [ZI-A]-1 ZX(0) + [ZI-A]-1 Bu(z)
x(k) = Z-1[ZI-A]-1Zx(0) + Z-1[ZI-A]-1Bu(z)……………………(1)
the equation(1) is the output solution of discrete data system using Z transform.
Now to explain this method let us consider an example as stated below :
Consider the dynamic equation of a discrete non-homogeneous system as
0 1 0
x(k+1) = ( ) x(k) + u(k) and y(k) = [ 0 1 ] x(k)
−2 −3 1
given the initial condition x(0) = [1 0]T where u(k) is a unit step input. Dteremine the output y(k)
and also find y(22).
0 1 0
Solution : x(k+1) = ( ) x(k) + u(k)
−2 −3 1
1
Given, 𝑥(0) = [1 0]𝑇 = [ ]
0
𝑥(𝑘) = 𝑧 −1 {[𝑧𝐼 − 𝐴]−1 𝑧𝑥(0)} + 𝑧 −1 {[𝑧𝐼 − 𝐴]−1 𝐵𝑢(𝑧)}
1 𝑧 + 3 −1
[𝑧𝐼 − 𝐴]−1 = [ ]
𝑧2 + 3𝑧 + 2 2 𝑧
𝑧 𝑧 + 3 −1 1 𝑧 𝑧+3
[𝑧𝐼 − 𝐴]−1 𝑧𝑥(0) = 2
[ ] [ ] = 2
[ ]
𝑧 + 3𝑧 + 2 2 𝑧 0 𝑧 + 3𝑧 + 2 2
𝑧+3
(𝑧 + 1)(𝑧 + 2) 2(−1)𝑘 𝑢(𝑘) − (−2)𝑘 𝑢(𝑘)
𝑧 −1 {[𝑧𝐼 − 𝐴]−1 𝑧𝑥(0)} = 𝑧 −1 𝑧 =[ ]
2 2(−1)𝑘 𝑢(𝑘) − 2(−2)𝑘 𝑢(𝑘)
{ [(𝑧 + 1)(𝑧 + 2)]}
1 𝑧 + 3 −1 0 1 −1
𝑧 2 + 3𝑧 + 2 [ ][ ]𝑧
𝑧 2 + 3𝑧 + 2 [ ]𝑧
−1
[𝑧𝐼 − 𝐴] 𝐵𝑢(𝑧) = 2 𝑧 1 = 𝑧
𝑧−1 𝑧−1
1
−
(𝑧 + 1)(𝑧 − 1)(𝑧 + 2)
𝑧 −1 {[𝑧𝐼 − 𝐴]−1 𝐵𝑢(𝑧)} = 𝑧 −1 {𝑧 [ 𝑧 ]}
(𝑧 + 1)(𝑧 − 1)(𝑧 + 2)
1 1 1
𝑢(𝑘) − (−1)𝑘 𝑢(𝑘) + (−2)𝑘 𝑢(𝑘)
= [6 2 3 ]
1 1 𝑘
2 𝑘
𝑢(𝑘) + (−1) 𝑢(𝑘) − (−2) 𝑢(𝑘)
3 2 3
1 1 1
𝑘 𝑢(𝑘) − (−1)𝑘 𝑢(𝑘) + (−2)𝑘 𝑢(𝑘)
2(−1) 𝑢(𝑘) − (−2)𝑘
𝑢(𝑘)
𝑥(𝑘) = [ ] + [6 2 3 ]
𝑘 𝑘
2(−1) 𝑢(𝑘) − 2(−2) 𝑢(𝑘) 1 1 𝑘
2 𝑘
𝑢(𝑘) + (−1) 𝑢(𝑘) − (−2) 𝑢(𝑘)
3 2 3
1 3 2
𝑢(𝑘) − (−1)𝑘 𝑢(𝑘) − (−2)𝑘 𝑢(𝑘)
=[ 6 2 3 ]
1 3 𝑘
8 𝑘
𝑢(𝑘) + (−1) 𝑢(𝑘) − (−2) 𝑢(𝑘)
3 2 3
1 3 2
𝑢(𝑘) − (−1)𝑘 𝑢(𝑘) − (−2)𝑘 𝑢(𝑘)
1] [6
𝑦(𝑘) = 𝐶𝑥(𝑘) = [0 2 3 ]
1 3 𝑘
8 𝑘
𝑢(𝑘) + (−1) 𝑢(𝑘) − (−2) 𝑢(𝑘)
3 2 3
𝟏 𝟑 𝟖
𝒚(𝒌) = 𝒖(𝒌) + (−𝟏)𝒌 𝒖(𝒌) − (−𝟐)𝒌 𝒖(𝒌)
𝟑 𝟐 𝟑
1 3 8 1 3 8
𝑦(22) = 𝑢(22) + (−1)22 𝑢(22) − (−2)22 𝑢(22) = + (−1)22 − (−2)22
3 2 3 3 2 3
𝒚(𝟐𝟐) = −𝟏𝟏𝟏𝟖𝟒𝟖𝟎𝟖. 𝟖𝟑𝟒
Conclusion : In this term paper we find various examples of discrete data system its applications
and the different methods by which we can solve the problem related to this type of system.
Allover as whole this term paper provides us the knowledge of discrete data system.
Reference :1) AUTOMATIC CONTROL SYSTEM(WITH MATLAB PROGRAMS –
S.HASAN
2)CONTROL SYSTEM- R.C.SUKLA