SlideShare a Scribd company logo
1 of 8
Download to read offline
Servo Systems
In the servo system we want the output to follow the input for a single-input single-
output system. Moreover, for multi-inputs multi-outputs system we want each output to
follow its corresponding input and thus, we assume that we have the same number of
inputs as that of the outputs. To achieve that, we need to add integrators in the path of
the error (inputs r(k) – outputs y(k)). In what follows, we shall show how to design a
servo system using the concept of state feedback for controllable and observable
systems. The figure shown below depicts the block diagram of a servo system where
we have the same number for inputs and outputs. Moreover, we have made a little
modification to the integrators given in the past lecture. As will be seen, that little
modification results in a straight forward derivation and a simpler way to find the state
feedback matrix gains K2 and the integrators gains K1. Further, in this figure we use
state feedback from the actual state and later we can revise it by adding a state observer
so as the state feedback is coming from the observed state π‘₯Μ‚(π‘˜).
Z-1In
G
C
K2
Figure: Servo System with state feedback and integral control.
r(k) u(k)v(k)
Z-1Im
H
+
+
+
+K1
- -
e(k) y(k)
The plant state equation and output equation are
x(k+1) = G x(k) + H u(k) (1)
y(k) = C x(k) (2)
where, number of inputs r = number of outputs m
G is nxn matrix, H is nxm matrix and C is mxn matrix
From this figure we get that
u(k) = K1 v(k) - K2 x(k) (3)
where K2 is the state feedback gain matrix and K1 is the forward loop integrator gains.
The inputs to the integrators e(k) and the outputs v(k) are related by
v(k+1) = e(k) + v(k)
= v(k) + r(k) – y(k) (4)
= v(k) – C x(k) + r(k) (5)
In what follows we shall show how to choose the gain matrices K1 and K2 so as to
locate the combined (n+m) closed loop poles of the system shown in Figure to desired
locations. Note, the combined system shown in Fig. has n state of the original system
eqn. (1) as well as an additional m state introduced due the added m integrators. Next,
let us write the state equation of the combined state x(k) and v(k) in order to use it for
pole placement.
Substituting for the expression of u(k) of eqn. (3) into eqn. (1), we get
x(k+1) = G x(k) – H K2 x(k) + H K1 v(k) (6)
and from (5), we have
v(k+1) = v(k) – C x(k) + r(k)
The equation of the combined state of the servo system, x(k) and v(k) in matrix form
will be
[
π‘₯(π‘˜ + 1)
𝑣(π‘˜ + 1)
]= [
𝐺 βˆ’ 𝐻 𝐾2 𝐻 𝐾 1
βˆ’C 𝐼 π‘š
] [
π‘₯(π‘˜)
𝑣(π‘˜)
] + [
0
𝐼 π‘š
] r(k) (7)
y(k) = [ C : 0 π‘š ] [
π‘₯(π‘˜)
𝑣(π‘˜)
] (8)
This is the state equation of the servo system shown in Fig. and it remains to select the
state feedback matrix gain K2 of dimension (mxn) and the integrator gains matrix K1 of
dimension (mxm) so as to locate the (n+m) closed loop poles to the inside of the unit
circle. Im stands for the identity matrix of dimension mxm. At steady state
x(k+1) = x(k) = xss
u(k+1) = u(k) = uss
v(k+1) = v(k) = vss
and y(k+1) = y(k) = yss
Thus, it follows from eqn. (4)
vss = vss + r - yss
and hence the steady state value of the outputs will equal the corresponding input for
unit step inputs. We can get the steady state of x(k) and v(k) from eqn. (7).
To find the gain matrices K1 and K2 , let us rewrite eqn. (7) in the form
[
π‘₯(π‘˜ + 1)
𝑣(π‘˜ + 1)
]=[
𝐺 0
βˆ’C 𝐼 π‘š
] [
π‘₯(π‘˜)
𝑣(π‘˜)
] + [
0
𝐼 π‘š
] r(k) - [
𝐻 𝐾2 βˆ’π»πΎ1
0 0
] [
π‘₯(π‘˜)
𝑣(π‘˜)
] (9)
= [
𝐺 0
βˆ’C 𝐼 π‘š
] [
π‘₯(π‘˜)
𝑣(π‘˜)
] + [
0
𝐼 π‘š
] r(k) – [
𝐻
0
] [𝐾2 βˆ’πΎ1] [
π‘₯(π‘˜)
𝑣(π‘˜)
] (10)
The last term in eqn. (10) represents the combined state feedback gain matrix
[𝐾2 βˆ’πΎ1]. We can write equation (10) in the form
π‘₯ π‘Ž(π‘˜ + 1) = 𝐺 π‘Ž π‘₯ π‘Ž(π‘˜) βˆ’ 𝐻 π‘Ž πΎπ‘Ž π‘₯ π‘Ž(π‘˜) + [
0
𝐼 π‘š
] r(k), and π‘₯ π‘Ž(π‘˜) = [
π‘₯(π‘˜)
𝑣(π‘˜)
] (11)
where 𝐺 π‘Ž = [
𝐺 0
βˆ’C 𝐼 π‘š
], 𝐻 π‘Ž = [
𝐻
0
] and πΎπ‘Ž = [𝐾2 βˆ’πΎ1] (12)
and 0 represents a zero matrix with the appropriate dimension so as to make the 𝐺 π‘Ž
matrix to be (n+m)x(n+m) square matrix while the 𝐻 π‘Ž is of dimension mx(n+m).
To summarize what we have done, we find the integrators gains K1 and the state
feedback gain matrix K2 so as to locate the (n+m) closed loop poles through the
following steps:
1- Construct the matrices 𝐺 π‘Ž and 𝐻 π‘Ž of the augmented system as
𝐺 π‘Ž = [
𝐺 0
βˆ’C 𝐼 π‘š
], 𝐻 π‘Ž = [
𝐻
0
]
2- Find the state feedback gain matrix πΎπ‘Ž corresponding to 𝐺 π‘Ž and 𝐻 π‘Ž .
3- Determine the state feedback gain matrix 𝐾2 the integrators gain matrix 𝐾1 from
eqn. (12) πΎπ‘Ž = [𝐾2 βˆ’πΎ1]
It worth mentioning that the pair (Ga , Ha) is controllable.
The following example will illustrate these steps.
Example. Given the system described by
π‘Œ(𝑧)
𝑋(𝑧)
=
π‘§βˆ’2+0.5 π‘§βˆ’3
1βˆ’ π‘§βˆ’1+0.01 π‘§βˆ’2+0.12 π‘§βˆ’3
Determine the integral gain constant K1 and the state feedback gain matrix K2 so as to locate the
closed loop poles at z1,2 = 0.3 + 0.4 j and z3,4= 0.
Solution:- The standard controllable form representation of the transfer function is
π‘₯(π‘˜ + 1) = [
0 1 0
0 0 1
βˆ’0.12 βˆ’0.01 1
] π‘₯(π‘˜) + [
0
0
1
] 𝑒(π‘˜), 𝑦(π‘˜) = [0.5 1 0]π‘₯(π‘˜)
Where n = 3 and m =1
The servo system matrices G^
and H^
are given by
𝐺 π‘Ž = [
𝐺 0
βˆ’C 𝐼 π‘š
] = [
0 1 0 0
0 0 1 0
βˆ’0.12 βˆ’0.01 1 0
βˆ’0.5 βˆ’1 0 1
] and 𝐻 π‘Ž = [
𝐻
0
] = [
0
0
1
0
]
The closed loop characteristic equation of the designed system is given by
Ξ¦(z) = z2
(z2
-0.6 z +0.25)
The controllability matrix of the pair (Ga, Ha
^
) = CONA = [
0 0 1 1
0 1 1 0.99
1 1 0.99 0.86
0 0 βˆ’1 βˆ’2.5
]
The inverse of the controllability matrix is given by
CONA-1
= [
βˆ’0.07 βˆ’1 1 βˆ’0.08
βˆ’1.0067 1 0 βˆ’0.0067
1.6667 0 0 0.6667
βˆ’0.6667 0 0 βˆ’0.6667
] βž” 𝑓4= [βˆ’0.6667 0 0 βˆ’0.6667]
Note, we could deduce 𝑓4 from 𝑓4 βˆ— 𝐢𝑂𝑁́ = [0 0 0 1]
Therefore, the inverse of the transformation to the standard controllable form is given by
Pa
-1
=
[
𝑓4
𝑓4 𝐺 π‘Ž
𝑓4 𝐺 π‘Ž
2
𝑓4 𝐺 π‘Ž
3
]
= [
βˆ’0.6667 0 0 βˆ’0.6667
0.3333 0 0 βˆ’0.6667
0.3333 1 0 βˆ’0.6667
0.3333 1 1 βˆ’0.6667
] and Pa = [
βˆ’1 1 0 0
0 βˆ’1 1 0
0 0 βˆ’1 1
βˆ’0.5 βˆ’1 0 0
]
And 𝐺 π‘Ž
^
= π‘ƒπ‘Ž
βˆ’1
𝐺 π‘Ž π‘ƒπ‘Ž = [
0 1 0 0
0 0 1 0
0 0 0 1
0.12 βˆ’0.11 βˆ’1.01 2
] , 𝐻 π‘Ž
^
= [
0
0
0
1
]
Therefore Ka = [(∝4βˆ’ π‘Ž4) (∝3βˆ’ π‘Ž3) (∝2βˆ’ π‘Ž2) (∝1βˆ’ π‘Ž1)] π‘ƒπ‘Ž
βˆ’1
Ka = [ 0.12 -0.11 (0.25-1.01) (-0.6+2)] = [
βˆ’0.6667 0 0 βˆ’0.6667
0.3333 0 0 βˆ’0.6667
0.3333 1 0 βˆ’0.6667
0.3333 1 1 βˆ’0.6667
]
= [0.0966 0.64 1.4 -0.433]
K2 = [ 0.0966 0.64 1.4 ] and K1 = 0.433
To find the step response of this system, we have to use the augmented state equation
[
π‘₯(π‘˜ + 1)
𝑣(π‘˜ + 1)
] = [
𝐺 βˆ’ 𝐻 𝐾2 𝐻 𝐾 1
βˆ’C 𝐼 π‘š
] [
π‘₯(π‘˜)
𝑣(π‘˜)
] + [
0
𝐼 π‘š
] r(k)
and the output equation
y(k) = [ C : 0 ] [
π‘₯(π‘˜)
𝑣(π‘˜)
]
Substituting for G, H, C, K1 and K2 , we get
[
π‘₯(π‘˜ + 1)
𝑣(π‘˜ + 1)
] = [
0 1 0 0
0 0 1 0
βˆ’0.2167 βˆ’0.65 βˆ’0.4 0.4333
βˆ’0.5 βˆ’1 0 1
] [
π‘₯(π‘˜)
𝑣(π‘˜)
] + [
0
0
0
1
] r(k)
y(k) = [0.5 1 0 0] [
π‘₯(π‘˜)
𝑒(π‘˜)
]
Assuming zero initial conditions for all the state, the computed output step response is
y = [ 0 0 0 0.43 0.91 1.087 1.075 1.023 0.995 0.991 0.996 0.9997 1.00086
1.00057 1.00012 0.9999 0.9999 0.99997 1.00 1.00 1.00 ]
Note : you can use the MATLAB eig function to check the eigenvalues (poles) of the servo-
system eig([
0 1 0 0
0 0 1 0
βˆ’0.2167 βˆ’0.65 βˆ’0.4 0.4333
βˆ’0.5 βˆ’1 0 1
])
It is clear from the response that the output reaches within 2% of the value of the step input after
7 samples. The maximum overshoot of the output is 8.7% and the rise time which is the time
required to rise from 10% to 90% of the steady state is 2 samples.
The response of a servo system to a step input is usually as shown in the following figure which
also illustrates the response characteristics.
Rise Time Tr β€” Time it takes for the response to rise from 10% to 90% of the steady-state
response as in MATLAB, however, others used the time it takes from the start of the response
until it first reaches the value of the input as in this figure. We use the MATLAB definition.
Settling Time Ts β€” Time it takes for the error |y(t) - yfinal| between the response y(t) and the
steady-state response yfinal to fall to within 2% of yfinal.
Overshoot β€” Maximum percentage overshoot, relative to yfinal
Undershoot β€” Percentage undershoot.
Peak β€” Peak absolute value of y(t)
Peak Time Tp β€” Time at which the peak value occurs.
Assuming that the sampling period of this example is 0.1 sec, the characteristics of the
designed servo system as calculated from MATLAB function stepinfo are
RiseTime: 0.1748 SettlingTime: 0.7112
SettlingMin: 0.9099 SettlingMax: 1.0876
Overshoot: 8.7583 Undershoot: 0
Peak: 1.0876 PeakTime: 0.5000

More Related Content

What's hot

3 recursive bayesian estimation
3  recursive bayesian estimation3  recursive bayesian estimation
3 recursive bayesian estimationSolo Hermelin
Β 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)krishnapriya R
Β 
Reduced order observers
Reduced order observersReduced order observers
Reduced order observersSolo Hermelin
Β 
Stabilization of linear time invariant systems, Factorization Approach
Stabilization of linear time invariant systems, Factorization ApproachStabilization of linear time invariant systems, Factorization Approach
Stabilization of linear time invariant systems, Factorization ApproachSolo Hermelin
Β 
DSP 05 _ Sheet Five
DSP 05 _ Sheet FiveDSP 05 _ Sheet Five
DSP 05 _ Sheet FiveAmr E. Mohamed
Β 
2 classical field theories
2 classical field theories2 classical field theories
2 classical field theoriesSolo Hermelin
Β 
5 cramer-rao lower bound
5 cramer-rao lower bound5 cramer-rao lower bound
5 cramer-rao lower boundSolo Hermelin
Β 
system of algebraic equation by Iteration method
system of algebraic equation by Iteration methodsystem of algebraic equation by Iteration method
system of algebraic equation by Iteration methodAkhtar Kamal
Β 
2 backlash simulation
2 backlash simulation2 backlash simulation
2 backlash simulationSolo Hermelin
Β 
Rotation in 3d Space: Euler Angles, Quaternions, Marix Descriptions
Rotation in 3d Space: Euler Angles, Quaternions, Marix DescriptionsRotation in 3d Space: Euler Angles, Quaternions, Marix Descriptions
Rotation in 3d Space: Euler Angles, Quaternions, Marix DescriptionsSolo Hermelin
Β 
Legendre functions
Legendre functionsLegendre functions
Legendre functionsSolo Hermelin
Β 
Gamma function
Gamma functionGamma function
Gamma functionSolo Hermelin
Β 
Analytic dynamics
Analytic dynamicsAnalytic dynamics
Analytic dynamicsSolo Hermelin
Β 
Ladder operator
Ladder operatorLadder operator
Ladder operatorMehboobAlam59
Β 
Equation of motion of a variable mass system3
Equation of motion of a variable mass system3Equation of motion of a variable mass system3
Equation of motion of a variable mass system3Solo Hermelin
Β 
Computer Controlled Systems (solutions manual). Astrom. 3rd edition 1997
Computer Controlled Systems (solutions manual). Astrom. 3rd edition 1997Computer Controlled Systems (solutions manual). Astrom. 3rd edition 1997
Computer Controlled Systems (solutions manual). Astrom. 3rd edition 1997JOAQUIN REA
Β 

What's hot (20)

3 recursive bayesian estimation
3  recursive bayesian estimation3  recursive bayesian estimation
3 recursive bayesian estimation
Β 
NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)NUMERICAL METHODS -Iterative methods(indirect method)
NUMERICAL METHODS -Iterative methods(indirect method)
Β 
Reduced order observers
Reduced order observersReduced order observers
Reduced order observers
Β 
Matrices i
Matrices iMatrices i
Matrices i
Β 
On Uq(sl2)-actions on the quantum plane
On Uq(sl2)-actions on the quantum planeOn Uq(sl2)-actions on the quantum plane
On Uq(sl2)-actions on the quantum plane
Β 
Stabilization of linear time invariant systems, Factorization Approach
Stabilization of linear time invariant systems, Factorization ApproachStabilization of linear time invariant systems, Factorization Approach
Stabilization of linear time invariant systems, Factorization Approach
Β 
DSP 05 _ Sheet Five
DSP 05 _ Sheet FiveDSP 05 _ Sheet Five
DSP 05 _ Sheet Five
Β 
2 classical field theories
2 classical field theories2 classical field theories
2 classical field theories
Β 
5 cramer-rao lower bound
5 cramer-rao lower bound5 cramer-rao lower bound
5 cramer-rao lower bound
Β 
system of algebraic equation by Iteration method
system of algebraic equation by Iteration methodsystem of algebraic equation by Iteration method
system of algebraic equation by Iteration method
Β 
2 backlash simulation
2 backlash simulation2 backlash simulation
2 backlash simulation
Β 
Rotation in 3d Space: Euler Angles, Quaternions, Marix Descriptions
Rotation in 3d Space: Euler Angles, Quaternions, Marix DescriptionsRotation in 3d Space: Euler Angles, Quaternions, Marix Descriptions
Rotation in 3d Space: Euler Angles, Quaternions, Marix Descriptions
Β 
metode iterasi Gauss seidel
metode iterasi Gauss seidelmetode iterasi Gauss seidel
metode iterasi Gauss seidel
Β 
Matrices ii
Matrices iiMatrices ii
Matrices ii
Β 
Legendre functions
Legendre functionsLegendre functions
Legendre functions
Β 
Gamma function
Gamma functionGamma function
Gamma function
Β 
Analytic dynamics
Analytic dynamicsAnalytic dynamics
Analytic dynamics
Β 
Ladder operator
Ladder operatorLadder operator
Ladder operator
Β 
Equation of motion of a variable mass system3
Equation of motion of a variable mass system3Equation of motion of a variable mass system3
Equation of motion of a variable mass system3
Β 
Computer Controlled Systems (solutions manual). Astrom. 3rd edition 1997
Computer Controlled Systems (solutions manual). Astrom. 3rd edition 1997Computer Controlled Systems (solutions manual). Astrom. 3rd edition 1997
Computer Controlled Systems (solutions manual). Astrom. 3rd edition 1997
Β 

Similar to Servo systems

Servo systems-integral-state-feedback-lecture-2020
Servo systems-integral-state-feedback-lecture-2020Servo systems-integral-state-feedback-lecture-2020
Servo systems-integral-state-feedback-lecture-2020cairo university
Β 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachYang Hong
Β 
Lecture 11 state observer-2020-typed
Lecture 11 state observer-2020-typedLecture 11 state observer-2020-typed
Lecture 11 state observer-2020-typedcairo university
Β 
Control assignment#2
Control assignment#2Control assignment#2
Control assignment#2cairo university
Β 
controllability-and-observability.pdf
controllability-and-observability.pdfcontrollability-and-observability.pdf
controllability-and-observability.pdfLAbiba16
Β 
Reachability Analysis Control of Non-Linear Dynamical Systems
Reachability Analysis Control of Non-Linear Dynamical SystemsReachability Analysis Control of Non-Linear Dynamical Systems
Reachability Analysis Control of Non-Linear Dynamical SystemsM Reza Rahmati
Β 
lecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxlecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxAYMENGOODKid
Β 
Bazzucchi-Campolmi-Zatti
Bazzucchi-Campolmi-ZattiBazzucchi-Campolmi-Zatti
Bazzucchi-Campolmi-ZattiFilippo Campolmi
Β 
lecture 5 courseII (6).pptx
lecture 5 courseII (6).pptxlecture 5 courseII (6).pptx
lecture 5 courseII (6).pptxAYMENGOODKid
Β 
Dynamic systems project (1)
Dynamic systems project (1)Dynamic systems project (1)
Dynamic systems project (1)Kshitija Joshi
Β 
The Design of Reduced Order Controllers for the Stabilization of Large Scale ...
The Design of Reduced Order Controllers for the Stabilization of Large Scale ...The Design of Reduced Order Controllers for the Stabilization of Large Scale ...
The Design of Reduced Order Controllers for the Stabilization of Large Scale ...sipij
Β 
Stability and pole location
Stability and pole locationStability and pole location
Stability and pole locationssuser5d64bb
Β 
Am04 ch5 24oct04-stateand integral
Am04 ch5 24oct04-stateand integralAm04 ch5 24oct04-stateand integral
Am04 ch5 24oct04-stateand integralajayj001
Β 
Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Charlton Inao
Β 

Similar to Servo systems (20)

Servo systems-integral-state-feedback-lecture-2020
Servo systems-integral-state-feedback-lecture-2020Servo systems-integral-state-feedback-lecture-2020
Servo systems-integral-state-feedback-lecture-2020
Β 
The Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space ApproachThe Controller Design For Linear System: A State Space Approach
The Controller Design For Linear System: A State Space Approach
Β 
Assignment2 control
Assignment2 controlAssignment2 control
Assignment2 control
Β 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
Β 
Lecture 11 state observer-2020-typed
Lecture 11 state observer-2020-typedLecture 11 state observer-2020-typed
Lecture 11 state observer-2020-typed
Β 
Control assignment#2
Control assignment#2Control assignment#2
Control assignment#2
Β 
Signals and Systems Homework Help
Signals and Systems Homework HelpSignals and Systems Homework Help
Signals and Systems Homework Help
Β 
alt klausur
alt klausuralt klausur
alt klausur
Β 
controllability-and-observability.pdf
controllability-and-observability.pdfcontrollability-and-observability.pdf
controllability-and-observability.pdf
Β 
Reachability Analysis Control of Non-Linear Dynamical Systems
Reachability Analysis Control of Non-Linear Dynamical SystemsReachability Analysis Control of Non-Linear Dynamical Systems
Reachability Analysis Control of Non-Linear Dynamical Systems
Β 
lecture 1 courseII (2).pptx
lecture 1 courseII (2).pptxlecture 1 courseII (2).pptx
lecture 1 courseII (2).pptx
Β 
Bazzucchi-Campolmi-Zatti
Bazzucchi-Campolmi-ZattiBazzucchi-Campolmi-Zatti
Bazzucchi-Campolmi-Zatti
Β 
lecture 5 courseII (6).pptx
lecture 5 courseII (6).pptxlecture 5 courseII (6).pptx
lecture 5 courseII (6).pptx
Β 
Dynamic systems project (1)
Dynamic systems project (1)Dynamic systems project (1)
Dynamic systems project (1)
Β 
The Design of Reduced Order Controllers for the Stabilization of Large Scale ...
The Design of Reduced Order Controllers for the Stabilization of Large Scale ...The Design of Reduced Order Controllers for the Stabilization of Large Scale ...
The Design of Reduced Order Controllers for the Stabilization of Large Scale ...
Β 
Lab 3
Lab 3Lab 3
Lab 3
Β 
Stability and pole location
Stability and pole locationStability and pole location
Stability and pole location
Β 
Am04 ch5 24oct04-stateand integral
Am04 ch5 24oct04-stateand integralAm04 ch5 24oct04-stateand integral
Am04 ch5 24oct04-stateand integral
Β 
A010220109
A010220109A010220109
A010220109
Β 
Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05
Β 

More from cairo university

Tocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedTocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedcairo university
Β 
Tocci chapter 12 memory devices
Tocci chapter 12 memory devicesTocci chapter 12 memory devices
Tocci chapter 12 memory devicescairo university
Β 
Tocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitsTocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitscairo university
Β 
Tocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified xTocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified xcairo university
Β 
Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitscairo university
Β 
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...cairo university
Β 
A15 sedra ch 15 memory circuits
A15  sedra ch 15 memory circuitsA15  sedra ch 15 memory circuits
A15 sedra ch 15 memory circuitscairo university
Β 
A14 sedra ch 14 advanced mos and bipolar logic circuits
A14  sedra ch 14 advanced mos and bipolar logic circuitsA14  sedra ch 14 advanced mos and bipolar logic circuits
A14 sedra ch 14 advanced mos and bipolar logic circuitscairo university
Β 
A13 sedra ch 13 cmos digital logic circuits
A13  sedra ch 13 cmos digital logic circuitsA13  sedra ch 13 cmos digital logic circuits
A13 sedra ch 13 cmos digital logic circuitscairo university
Β 
A09 sedra ch 9 frequency response
A09  sedra ch 9 frequency responseA09  sedra ch 9 frequency response
A09 sedra ch 9 frequency responsecairo university
Β 
5 sedra ch 05 mosfet.ppsx
5  sedra ch 05  mosfet.ppsx5  sedra ch 05  mosfet.ppsx
5 sedra ch 05 mosfet.ppsxcairo university
Β 
5 sedra ch 05 mosfet
5  sedra ch 05  mosfet5  sedra ch 05  mosfet
5 sedra ch 05 mosfetcairo university
Β 
5 sedra ch 05 mosfet revision
5  sedra ch 05  mosfet revision5  sedra ch 05  mosfet revision
5 sedra ch 05 mosfet revisioncairo university
Β 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01cairo university
Β 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01cairo university
Β 

More from cairo university (20)

Tocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedTocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extended
Β 
Tocci chapter 12 memory devices
Tocci chapter 12 memory devicesTocci chapter 12 memory devices
Tocci chapter 12 memory devices
Β 
Tocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitsTocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuits
Β 
Tocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified xTocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified x
Β 
Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuits
Β 
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Β 
A15 sedra ch 15 memory circuits
A15  sedra ch 15 memory circuitsA15  sedra ch 15 memory circuits
A15 sedra ch 15 memory circuits
Β 
A14 sedra ch 14 advanced mos and bipolar logic circuits
A14  sedra ch 14 advanced mos and bipolar logic circuitsA14  sedra ch 14 advanced mos and bipolar logic circuits
A14 sedra ch 14 advanced mos and bipolar logic circuits
Β 
A13 sedra ch 13 cmos digital logic circuits
A13  sedra ch 13 cmos digital logic circuitsA13  sedra ch 13 cmos digital logic circuits
A13 sedra ch 13 cmos digital logic circuits
Β 
A09 sedra ch 9 frequency response
A09  sedra ch 9 frequency responseA09  sedra ch 9 frequency response
A09 sedra ch 9 frequency response
Β 
5 sedra ch 05 mosfet.ppsx
5  sedra ch 05  mosfet.ppsx5  sedra ch 05  mosfet.ppsx
5 sedra ch 05 mosfet.ppsx
Β 
5 sedra ch 05 mosfet
5  sedra ch 05  mosfet5  sedra ch 05  mosfet
5 sedra ch 05 mosfet
Β 
5 sedra ch 05 mosfet revision
5  sedra ch 05  mosfet revision5  sedra ch 05  mosfet revision
5 sedra ch 05 mosfet revision
Β 
Fields Lec 2
Fields Lec 2Fields Lec 2
Fields Lec 2
Β 
Fields Lec 1
Fields Lec 1Fields Lec 1
Fields Lec 1
Β 
Fields Lec 5&6
Fields Lec 5&6Fields Lec 5&6
Fields Lec 5&6
Β 
Fields Lec 4
Fields Lec 4Fields Lec 4
Fields Lec 4
Β 
Fields Lec 3
Fields Lec 3Fields Lec 3
Fields Lec 3
Β 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01
Β 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01
Β 

Recently uploaded

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
Β 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
Β 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
Β 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
Β 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
Β 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
Β 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”soniya singh
Β 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
Β 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
Β 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
Β 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
Β 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
Β 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
Β 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
Β 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
Β 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
Β 

Recently uploaded (20)

UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
Β 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
Β 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
Β 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
Β 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Β 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
Β 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
Β 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Β 
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Model Call Girl in Narela Delhi reach out to us at πŸ”8264348440πŸ”
Β 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
Β 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
Β 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
Β 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
Β 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Β 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
Β 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
Β 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Β 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Β 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
Β 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
Β 

Servo systems

  • 1. Servo Systems In the servo system we want the output to follow the input for a single-input single- output system. Moreover, for multi-inputs multi-outputs system we want each output to follow its corresponding input and thus, we assume that we have the same number of inputs as that of the outputs. To achieve that, we need to add integrators in the path of the error (inputs r(k) – outputs y(k)). In what follows, we shall show how to design a servo system using the concept of state feedback for controllable and observable systems. The figure shown below depicts the block diagram of a servo system where we have the same number for inputs and outputs. Moreover, we have made a little modification to the integrators given in the past lecture. As will be seen, that little modification results in a straight forward derivation and a simpler way to find the state feedback matrix gains K2 and the integrators gains K1. Further, in this figure we use state feedback from the actual state and later we can revise it by adding a state observer so as the state feedback is coming from the observed state π‘₯Μ‚(π‘˜). Z-1In G C K2 Figure: Servo System with state feedback and integral control. r(k) u(k)v(k) Z-1Im H + + + +K1 - - e(k) y(k)
  • 2. The plant state equation and output equation are x(k+1) = G x(k) + H u(k) (1) y(k) = C x(k) (2) where, number of inputs r = number of outputs m G is nxn matrix, H is nxm matrix and C is mxn matrix From this figure we get that u(k) = K1 v(k) - K2 x(k) (3) where K2 is the state feedback gain matrix and K1 is the forward loop integrator gains. The inputs to the integrators e(k) and the outputs v(k) are related by v(k+1) = e(k) + v(k) = v(k) + r(k) – y(k) (4) = v(k) – C x(k) + r(k) (5) In what follows we shall show how to choose the gain matrices K1 and K2 so as to locate the combined (n+m) closed loop poles of the system shown in Figure to desired locations. Note, the combined system shown in Fig. has n state of the original system eqn. (1) as well as an additional m state introduced due the added m integrators. Next, let us write the state equation of the combined state x(k) and v(k) in order to use it for pole placement. Substituting for the expression of u(k) of eqn. (3) into eqn. (1), we get x(k+1) = G x(k) – H K2 x(k) + H K1 v(k) (6) and from (5), we have v(k+1) = v(k) – C x(k) + r(k) The equation of the combined state of the servo system, x(k) and v(k) in matrix form will be [ π‘₯(π‘˜ + 1) 𝑣(π‘˜ + 1) ]= [ 𝐺 βˆ’ 𝐻 𝐾2 𝐻 𝐾 1 βˆ’C 𝐼 π‘š ] [ π‘₯(π‘˜) 𝑣(π‘˜) ] + [ 0 𝐼 π‘š ] r(k) (7)
  • 3. y(k) = [ C : 0 π‘š ] [ π‘₯(π‘˜) 𝑣(π‘˜) ] (8) This is the state equation of the servo system shown in Fig. and it remains to select the state feedback matrix gain K2 of dimension (mxn) and the integrator gains matrix K1 of dimension (mxm) so as to locate the (n+m) closed loop poles to the inside of the unit circle. Im stands for the identity matrix of dimension mxm. At steady state x(k+1) = x(k) = xss u(k+1) = u(k) = uss v(k+1) = v(k) = vss and y(k+1) = y(k) = yss Thus, it follows from eqn. (4) vss = vss + r - yss and hence the steady state value of the outputs will equal the corresponding input for unit step inputs. We can get the steady state of x(k) and v(k) from eqn. (7). To find the gain matrices K1 and K2 , let us rewrite eqn. (7) in the form [ π‘₯(π‘˜ + 1) 𝑣(π‘˜ + 1) ]=[ 𝐺 0 βˆ’C 𝐼 π‘š ] [ π‘₯(π‘˜) 𝑣(π‘˜) ] + [ 0 𝐼 π‘š ] r(k) - [ 𝐻 𝐾2 βˆ’π»πΎ1 0 0 ] [ π‘₯(π‘˜) 𝑣(π‘˜) ] (9) = [ 𝐺 0 βˆ’C 𝐼 π‘š ] [ π‘₯(π‘˜) 𝑣(π‘˜) ] + [ 0 𝐼 π‘š ] r(k) – [ 𝐻 0 ] [𝐾2 βˆ’πΎ1] [ π‘₯(π‘˜) 𝑣(π‘˜) ] (10) The last term in eqn. (10) represents the combined state feedback gain matrix [𝐾2 βˆ’πΎ1]. We can write equation (10) in the form π‘₯ π‘Ž(π‘˜ + 1) = 𝐺 π‘Ž π‘₯ π‘Ž(π‘˜) βˆ’ 𝐻 π‘Ž πΎπ‘Ž π‘₯ π‘Ž(π‘˜) + [ 0 𝐼 π‘š ] r(k), and π‘₯ π‘Ž(π‘˜) = [ π‘₯(π‘˜) 𝑣(π‘˜) ] (11) where 𝐺 π‘Ž = [ 𝐺 0 βˆ’C 𝐼 π‘š ], 𝐻 π‘Ž = [ 𝐻 0 ] and πΎπ‘Ž = [𝐾2 βˆ’πΎ1] (12) and 0 represents a zero matrix with the appropriate dimension so as to make the 𝐺 π‘Ž matrix to be (n+m)x(n+m) square matrix while the 𝐻 π‘Ž is of dimension mx(n+m).
  • 4. To summarize what we have done, we find the integrators gains K1 and the state feedback gain matrix K2 so as to locate the (n+m) closed loop poles through the following steps: 1- Construct the matrices 𝐺 π‘Ž and 𝐻 π‘Ž of the augmented system as 𝐺 π‘Ž = [ 𝐺 0 βˆ’C 𝐼 π‘š ], 𝐻 π‘Ž = [ 𝐻 0 ] 2- Find the state feedback gain matrix πΎπ‘Ž corresponding to 𝐺 π‘Ž and 𝐻 π‘Ž . 3- Determine the state feedback gain matrix 𝐾2 the integrators gain matrix 𝐾1 from eqn. (12) πΎπ‘Ž = [𝐾2 βˆ’πΎ1] It worth mentioning that the pair (Ga , Ha) is controllable. The following example will illustrate these steps. Example. Given the system described by π‘Œ(𝑧) 𝑋(𝑧) = π‘§βˆ’2+0.5 π‘§βˆ’3 1βˆ’ π‘§βˆ’1+0.01 π‘§βˆ’2+0.12 π‘§βˆ’3 Determine the integral gain constant K1 and the state feedback gain matrix K2 so as to locate the closed loop poles at z1,2 = 0.3 + 0.4 j and z3,4= 0. Solution:- The standard controllable form representation of the transfer function is π‘₯(π‘˜ + 1) = [ 0 1 0 0 0 1 βˆ’0.12 βˆ’0.01 1 ] π‘₯(π‘˜) + [ 0 0 1 ] 𝑒(π‘˜), 𝑦(π‘˜) = [0.5 1 0]π‘₯(π‘˜) Where n = 3 and m =1 The servo system matrices G^ and H^ are given by 𝐺 π‘Ž = [ 𝐺 0 βˆ’C 𝐼 π‘š ] = [ 0 1 0 0 0 0 1 0 βˆ’0.12 βˆ’0.01 1 0 βˆ’0.5 βˆ’1 0 1 ] and 𝐻 π‘Ž = [ 𝐻 0 ] = [ 0 0 1 0 ] The closed loop characteristic equation of the designed system is given by
  • 5. Ξ¦(z) = z2 (z2 -0.6 z +0.25) The controllability matrix of the pair (Ga, Ha ^ ) = CONA = [ 0 0 1 1 0 1 1 0.99 1 1 0.99 0.86 0 0 βˆ’1 βˆ’2.5 ] The inverse of the controllability matrix is given by CONA-1 = [ βˆ’0.07 βˆ’1 1 βˆ’0.08 βˆ’1.0067 1 0 βˆ’0.0067 1.6667 0 0 0.6667 βˆ’0.6667 0 0 βˆ’0.6667 ] βž” 𝑓4= [βˆ’0.6667 0 0 βˆ’0.6667] Note, we could deduce 𝑓4 from 𝑓4 βˆ— 𝐢𝑂𝑁́ = [0 0 0 1] Therefore, the inverse of the transformation to the standard controllable form is given by Pa -1 = [ 𝑓4 𝑓4 𝐺 π‘Ž 𝑓4 𝐺 π‘Ž 2 𝑓4 𝐺 π‘Ž 3 ] = [ βˆ’0.6667 0 0 βˆ’0.6667 0.3333 0 0 βˆ’0.6667 0.3333 1 0 βˆ’0.6667 0.3333 1 1 βˆ’0.6667 ] and Pa = [ βˆ’1 1 0 0 0 βˆ’1 1 0 0 0 βˆ’1 1 βˆ’0.5 βˆ’1 0 0 ] And 𝐺 π‘Ž ^ = π‘ƒπ‘Ž βˆ’1 𝐺 π‘Ž π‘ƒπ‘Ž = [ 0 1 0 0 0 0 1 0 0 0 0 1 0.12 βˆ’0.11 βˆ’1.01 2 ] , 𝐻 π‘Ž ^ = [ 0 0 0 1 ] Therefore Ka = [(∝4βˆ’ π‘Ž4) (∝3βˆ’ π‘Ž3) (∝2βˆ’ π‘Ž2) (∝1βˆ’ π‘Ž1)] π‘ƒπ‘Ž βˆ’1 Ka = [ 0.12 -0.11 (0.25-1.01) (-0.6+2)] = [ βˆ’0.6667 0 0 βˆ’0.6667 0.3333 0 0 βˆ’0.6667 0.3333 1 0 βˆ’0.6667 0.3333 1 1 βˆ’0.6667 ] = [0.0966 0.64 1.4 -0.433] K2 = [ 0.0966 0.64 1.4 ] and K1 = 0.433 To find the step response of this system, we have to use the augmented state equation
  • 6. [ π‘₯(π‘˜ + 1) 𝑣(π‘˜ + 1) ] = [ 𝐺 βˆ’ 𝐻 𝐾2 𝐻 𝐾 1 βˆ’C 𝐼 π‘š ] [ π‘₯(π‘˜) 𝑣(π‘˜) ] + [ 0 𝐼 π‘š ] r(k) and the output equation y(k) = [ C : 0 ] [ π‘₯(π‘˜) 𝑣(π‘˜) ] Substituting for G, H, C, K1 and K2 , we get [ π‘₯(π‘˜ + 1) 𝑣(π‘˜ + 1) ] = [ 0 1 0 0 0 0 1 0 βˆ’0.2167 βˆ’0.65 βˆ’0.4 0.4333 βˆ’0.5 βˆ’1 0 1 ] [ π‘₯(π‘˜) 𝑣(π‘˜) ] + [ 0 0 0 1 ] r(k) y(k) = [0.5 1 0 0] [ π‘₯(π‘˜) 𝑒(π‘˜) ] Assuming zero initial conditions for all the state, the computed output step response is y = [ 0 0 0 0.43 0.91 1.087 1.075 1.023 0.995 0.991 0.996 0.9997 1.00086 1.00057 1.00012 0.9999 0.9999 0.99997 1.00 1.00 1.00 ] Note : you can use the MATLAB eig function to check the eigenvalues (poles) of the servo- system eig([ 0 1 0 0 0 0 1 0 βˆ’0.2167 βˆ’0.65 βˆ’0.4 0.4333 βˆ’0.5 βˆ’1 0 1 ])
  • 7. It is clear from the response that the output reaches within 2% of the value of the step input after 7 samples. The maximum overshoot of the output is 8.7% and the rise time which is the time required to rise from 10% to 90% of the steady state is 2 samples. The response of a servo system to a step input is usually as shown in the following figure which also illustrates the response characteristics.
  • 8. Rise Time Tr β€” Time it takes for the response to rise from 10% to 90% of the steady-state response as in MATLAB, however, others used the time it takes from the start of the response until it first reaches the value of the input as in this figure. We use the MATLAB definition. Settling Time Ts β€” Time it takes for the error |y(t) - yfinal| between the response y(t) and the steady-state response yfinal to fall to within 2% of yfinal. Overshoot β€” Maximum percentage overshoot, relative to yfinal Undershoot β€” Percentage undershoot. Peak β€” Peak absolute value of y(t) Peak Time Tp β€” Time at which the peak value occurs. Assuming that the sampling period of this example is 0.1 sec, the characteristics of the designed servo system as calculated from MATLAB function stepinfo are RiseTime: 0.1748 SettlingTime: 0.7112 SettlingMin: 0.9099 SettlingMax: 1.0876 Overshoot: 8.7583 Undershoot: 0 Peak: 1.0876 PeakTime: 0.5000