Control of Linear Systems
✅ Paper Type: Free Essay | ✅ Subject: Information Systems |
✅ Wordcount: 22067 words | ✅ Published: 23rd Sep 2019 |
Control of Linear Systems
Table of Contents
a) State Space Model: Simulation Diagram
b) State Variable Feedback Design
1) Carry Out Controllability test
2) Decide where to place the closed-loop poles.
3) Multiply out the poles to get the closed-loop characteristic equations
5) Evaluate the actual closed-loop characteristic equation as [
6) Equate the desired and actual CLCE
d) Steady State Error and Tracking Controller
Word count for main content: 1965
1
a) Block Diagram Reduction
Consider the following block diagram:
Now considering the section highlighted in Figure 1. With the feedback loop rule let
|
|
|
Following the combinations rule, the cascade becomes;
Figure 2 – System of Q1 reduced
To reduce the feedback further let
and
;
Hence the Closed Loop Character Equation being:
b) Routh stability
A system is stable when the output is able to return to its original value after a disturbance from an impulse causing a change in the input.
For a characteristic equation of
Stability is achieved if all the coefficients are positive. As a negative coefficient would result in a root with a positive real part, which causes the output to tend towards infinity (instability). If any are of zero value, the system is considered to be critically stable (Dutton, Thompson, & Barraclough, 1997).
To find the value of KB to where the system is operating in a stable manner, the Routh stability criterion will be used (Table 1).
Table 1 – Sample of the Routh array
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Replacing the variables with the appropriate value gives;
Table 2 – Routh array in question
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Here we assume that all of the elements in the first column are positive to have a stable system.
|
|
|
|
|
|
|
For stability KB must be in the range;
2
a) State Space Model: Simulation Diagram
Consider the following state space model of a system;
Substituting the appropriate values:
|
|
||
|
|
|
|
This gives the following simulation diagram:
Figure 3 – Simulation diagram of the system in Q2
b) Pole-Zero Cancellation
Reducing the diagram presents the system’s transfer function.
Figure 4 – Simulation diagram in state space domain
By block diagram reduction of the feedback loop; G =
and H is respectively 4, -a11 and 3:
Figure 5
Orange Section:
|
Purple Section:
|
Green Section:
|
Figure 6
Figure 7 – Using the parallel rule
Figure 8 – Using the cascade rule
Resulting in;
(i) Stability
Consider the poles of the characteristic equation:
.
For an unstable system, the pole
must have a negative real part. As a positive pole would result in the output to tend to infinity and the system will be unstable. (Dutton, Thompson, & Barraclough, 1997)
(ii) Controllability
Considering Figure 7, if
cascading the 3 blocks would result in the cancellation of the pole of the 3rd block (
). The pole-zero cancellation in this sense would consequently make the system uncontrollable as the pole of the 3rd block cannot be driven from the plant input. Although, the system can still be observable as the variable
will still contribute to the output.
(iii) Observability
For the system to become unobservable,
. Cascading would result in a pole-zero cancellation between the zero in the middle block and the pole of the first. Resulting in unobservability because the associated mode will not carry the dynamic response of the zero to the plant output as it will not be ‘visible’. This can still be controllable as the mode can still be driven from the input.
For the system to be both unobservable and uncontrollable, the pole and zero that cancel each other out must reside in the same block. (Dutton, Thompson, & Barraclough, 1997)
c) Rank Test
i) Controllability
Consider the controllability matrix
;
|
|
Therefore,
To check if the system is controllable, use the rank test as follows; Starting with the largest sub matrix (itself);
For the system to be uncontrollable, it mustn’t be full rank i.e. the determinant of the controllability matrix must be zero at this point. The rank = 2; when looking into the submatrix of
ii) Observability
Using the Observability matrix
;
As,
To check if the system is observable, use the rank test as follows; starting with the largest sub matrix (itself);
For the system to be unobservable, it mustn’t be full rank i.e. the determinant of the observability matrix must be zero at this point. But it is partially as the rank = 2; considering the submatrix of
. So the rank deficiency is 1.
3) State Variable Feedback
a) State Space Model
To obtain a state space model of the system, consider the transfer function’s controllable canonical form;
Figure 9 – Laplace Transfer function version and State space representation in the controllable canonical form
G(s) in the controllable canonical form;
b) State Variable Feedback Design
SVF takes the state variables of a system’s output and feeds them back into the input of said system for improving the performance of the closed-loop system. (Dutton, Thompson, & Barraclough, 1997)
Let the system design yield a 20% overshoot and a 10-90% rise time of about 1s. These requirements are given for the assumption that they will be suitable for this stability design for the gain matrix K. The Design procedure to stabilise a system with a state feedback controller goes as follows;
1) Carry Out Controllability test
In controllable canonical form the system is considered completely state controllable, so a controllability test is unnecessary (Dutton, Thompson, & Barraclough, 1997). Being controllable, it’s possible to move the open-loop poles of the system to any arbitrary closed-loop location. As the system is already considered to be controllable, there is no need to perform a stabilizable test, which involves using a sensitivity matrix such as the following
. An observable system is able to restructure the state vector completely by the system’s output (Dutton, Thompson, & Barraclough, 1997). This is possible for the system in question, therefore an observability test is unnecessary.
2) Decide where to place the closed-loop poles.
Figure 10 – The curve of a standard second order system with the addition of an imaginary curve (red) which has a 20% overshoot
Respecting the requirements, observe a curve that would have a 20% maximum overshoot, such as the red curve in Figure 10. From observation, this red curve shows to be between a damping ratio
of 0.4 (yellow) and 0.5 (blue). By interpolation, let the damping ratio to be of 0.46 in value.
As the desired rise time of 10% to 90%; approximately
respectively. The rough rule states:
. When the desired time of
;
Consider the standard second order system;
The characteristic equation [
] becomes;
Which represents poles of
. As the system in question is actually in third order a third pole is required. To not interfere with the behaviour of the 2nd order poles, this pole must be at least x10 than that of the other poles’ real part. Therefore, the third pole will be
.
3) Multiply out the poles to get the closed-loop characteristic equations
Obtaining the desired closed loop characteristic equation (DCLCE) as
4) Evaluate
See Appendix for proof and reasoning for matrix K.
To obtain the closed loop plant matrix (
) substitute in the appropriate values;
5) Evaluate the actual closed-loop characteristic equation as [
The actual closed loop pole locations are the result of the eigenvalues of this matrix i.e. the roots of the CLCE given as;
Expanding by column 1 gives;
6) Equate the desired and actual CLCE
By equating the desired and actual CLCE the values of the K matrix can be gained;
Poles (s) and eigenvalues (
) are the same:
. The following will equate the coefficients of both actual and desired;
|
|
|
c) Simulation Diagram
Substituting in the appropriate matrices;
|
|
|
|
This gives the following simulation diagram:
Figure 11 – Plant with full State variable feedback in MATLAB
d) Steady State Error and Tracking Controller
Using the Closed loop system from part c), the following shows the system’s response when subjected to a unit step input.
Figure 12 – Closed-loop step response with amplitude against time (seconds) (left) and magnified to show the intersection at 10% and 90% rise time (right)
Figure 12 shows the system exhibits a response where the settling point is approximately 0.077, with a 30% maximum overshoot as it peaks at 0.1. The rise time from 10% to 90% shows to be 585ms with a settling time of 7s. The system seems to have a steady state error of 0.92, from a unit step input. Using a tracking controller which introduces integrators can reduce the steady state error but doing so will increase the order of the system (Dutton, Thompson, & Barraclough, 1997).
Figure 13 – Block diagram form of a general tracking system
The design procedure is similar to that of SVF but with the following changes; for step 2) extra poles can be considered. A new unknown element
is introduced (see Figure 13), therefore in step 5) for evaluating
becomes
, where the size of K = [number of plant i/p x number of states] and Ki = [number of plant i/p x number of plant o/p]. Additionally, step 6) will be equating the coefficients to solve for K and Ki.
4) PI Controller
a) Design Requirements
Figure 14 – System in question for Q4
With the feedback rule;
|
|
|
Equating to a second order system;
The settling time (
) is the time taken for the response to reach and stay within a certain range around the final value. The design specifications require a settling time with a 2% criterion (
)
As the settling time is desired to be less than 1s, the design will have a target that follows a settling time of 0.1s, to ensure that the system is well within the specifications.
|
|
The following equation of coefficients applies; Note: According to the graph of Figure 10, take the most appropriate curve where
.
|
|
|
|
|
|
To solve for K,
|
|
|
Therefore,
|
|
|
b) Steady State Error
To check the steady state error, consider the final value theorem;
As
. With a ramp input of
;
|
|
|
As the steady state error experienced is within the specification of being less than 0.1 when subjected to a ramp input, the designed control system meets the specifications.
b) Verification by Simulink
The following figures have verified the design of part (a) and shows to satisfies the specification of settling less than 1 second for a unit step input (Figure 15). It is shown that the steady state error exhibited with a ramp input being approximately 0.004, similar to that calculated analytically (Figure 17).
With the addition of the PI controller, it also shows the difference on how the addition of the proportional controller it decreases the stead state error. But adding in an integral making the PI controller, further reduces the stead state error but does introduce slight oscillation with a unit step input.
Figure 15 – Block diagram (left) and response (right) of the guidance system with PI controller when subjected with a unit step input
Figure 16 – Block diagram (left) and response (right) of the guidance system with PI controller when subjected with a unit ramp input
Figure 17 – To show that the steady state error experienced with a ramp input is of 0.004227.
Works Cited
Dutton, K., Thompson, S., & Barraclough, B. (1997). The Art of Control Engineering. Essex: Addison Wesley-Longman.
Appendix
Regarding question 1)
For simplification, the model can be reduced to an open loop transfer function. This is defined as follows;
Figure 18– a basic closed loop system diagram
Where,
This is also referred to as the block diagram reduction rule for feedback loops, as shown in Figure 19.
Figure 19 – Illustration of the Feedback loop rule
Calculation for equation 1a)
Multiply the numerator and denominator by
, gives;
Calculation for equation 1b) when solving for KB from c1
Here we solve for
using the quadrating formula,
Regarding Question 2.
2b i)
The eigenvalues of the matrix A are also referred to as the poles of the transfer function, which can be obtained using the following equation for stability;
Expanding by column 2 gives;
As expected, the eigenvalues present the same poles as the LTF model.
2b ii)
Here we consider the state vector differential equation;
Taking Laplace transforms of the state equations [
] gives;
For the X(s) to become the subject;
With assuming zero initial conditions, where X(0)=0, the previous takes the form of;
Substituting in the appropriate values of matrix A and B gives;
See appendix for the steps of calculation for the inverse of matrix (sI-A).
2b iii)
A completely observable system is able to restructure the state vector completely from measurements by the system’s output. It can also be referred to as ‘dual controllability’ as it uses similar functions to that of controllability, but focuses on the C matrix rather than the B. (Dutton, Thompson, & Barraclough, 1997)
Instead of concentration on the state vector, the output vector is in interest;
Taking Laplace transforms;
As
, Y(S) becomes;
Therefore, the transfer function is obtained as:
Here the focus is on the matrix of
Substituting the matrices gives;
Regarding question 3
3b)
Consider a basic closed-loop system as a state space model as follows;
Figure 20 – Closed loop state space model
By returning the output ‘state vectors’ of the system back into the output via a matrix K, the following model is generated;
Figure 21 – State space model with a state variable feedback
With the addition of K;
the state vector equation becomes;
Allow,
. Hence,
Here ‘r’ represents the closed-loop input vector, whilst
represents the closed-loop A matrix. Therefore, the eigenvalues of
, now respectively represent the poles of the closed-loop system.
Consider the matrix of K being the size of [the number of inputs x number of states]. For this situation, there is 1 input and 3 states to consider i.e. K = 1x 3 matrix;
Regarding Question 4)
Consider the following transfer functions
With the Cascade Rule:
With the feedback rule:
, where
, H=1
Extras of 4b)
Figure 22 – Block diagram (left) and response (right) of the guidance system with PI controller when subjected with a unit ramp input
Cite This Work
To export a reference to this article please select a referencing stye below:
Related Services
View allDMCA / Removal Request
If you are the original writer of this essay and no longer wish to have your work published on UKEssays.com then please: