Disclaimer: This is an example of a student written essay.
Click here for sample essays written by our professional writers.

Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of UKEssays.com.

Control of Linear Systems

Paper Type: Free Essay Subject: Information Systems
Wordcount: 22067 words Published: 23rd Sep 2019

Reference this

Control of Linear Systems 

Table of Contents

1

a) Block Diagram Reduction

b) Routh stability

2

a) State Space Model: Simulation Diagram

b) Pole-Zero Cancellation

(i) Stability

(ii) Controllability

(iii) Observability

c) Rank Test

i) Controllability

ii) Observability

3) State Variable Feedback

a) State Space Model

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

4) Evaluate Ac=ABK

5) Evaluate the actual closed-loop characteristic equation as [ λIAc=0]

6) Equate the desired and actual CLCE

c) Simulation Diagram

d) Steady State Error and Tracking Controller

4) PI Controller

a) Design Requirements

b) Steady State Error

b) Verification by Simulink

Works Cited

Appendix

Word count for main content:  1965

1

a) Block Diagram Reduction

Consider the following block diagram:

 N=10

Figure 1

Now considering the section highlighted in Figure 1. With the feedback loop rule let G=15s2+11s+10,  and,  H=2

G1+GH

=(15s2+11s+10)1+15*2s2+11s+10

=15s2+11s+40

Following the combinations rule, the cascade becomes;

=1s*KB*15s2+11s+40*(s+2)(s+5)=15KB(s+2)s(s+5)(s2+11s+40)=15KBs+30KBs4+16s3+95s2+200s

Figure 2 – System of Q1 reduced

To reduce the feedback further let G=15KBs+30KBs4+16s3+95s2+200s

and H=1

;

15KBs+30KBs4+16s3+95s2+200s+15KBs+30KB=15KBs+30KBs4+16s3+95s2+(200+15KB)s+30KB

Hence the Closed Loop Character Equation being:

s4+16s3+95s2+(200+15KB)s+30KB

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 ansn+an1sn1++a1s+a0=0,

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

sn

a1

an2

an4

sn1

an1

an3

b1

b1=(an1*an2)(an*an3)an1

b2

b2=(an1*an4)(an*an5)an1

b3

s1

y1

y2

s0

z1

Replacing the variables with the appropriate value gives;

Table 2 – Routh array in question

s4

1

95

30KB

s3

16

200+15KB

0

s2

b1=(an1*an2)(an*an3)an1

b1=(16*95)(1*200+15KB)16

b1=132015KB16

b2=16*30KB(1*0)16

b2=480KB16

b3=0

s1

c1=132015KB16*200+15KB(16*480KB16)132015KB16

c1=225KB2+9120KB+264000132015KB

c2=0

s0

d1=0

Here we assume that all of the elements in the first column are positive to have a stable system.

b1>0

c1>0

132015KB16>0

225KB2+9120KB+264000132015KB>0

88>KB

225KB2+9120KB+264000>0

KB1=60.0671,  KB2=19.53

For stability KB must be in the range;

19.53<KB<60.07

2

a) State Space Model: Simulation Diagram

Consider the following state space model of a system;

A=a1101132004,  B=001,  C=010,  D=0

ẋ=Ax+Bu,  y(t)=Cx+Du

Substituting the appropriate values:

x1̇x2̇x3̇=a1101132004x1x2x3+001u(t)

y=010x1x2x3+0u

x1̇=a11x1x3

x2̇=x13x2+2x3

x3̇=4x3+u(t)

y=x2

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 = 1s

and H is respectively 4, -a11 and 3:

Figure 5

Orange Section:

1s+4

Purple Section:

1sa11

Green Section:

1s+3

Figure 6

Figure 7 – Using the parallel rule

Figure 8 – Using the cascade rule

Resulting in;

­ Y(s)U(s)=Gs=2s2a11+1(sa11)(s+4)(s+3)

(i) Stability

Consider the poles of the characteristic equation: sa11s+4s+3

.

For an unstable system, the pole a11

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 a11=3

cascading the 3 blocks would result in the cancellation of the pole of the 3rd block ( 1s+3

). 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 a11

will still contribute to the output.

 (iii) Observability

For the system to become unobservable, a11=4

. 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 Tc

;

Tc=BABAAB

A*B=a1101132004*001=124

A*AB=a1101132004*124=a1141316

Therefore,

Tc=01a11402131416

To check if the system is controllable, use the rank test as follows; Starting with the largest sub matrix (itself);

Tc= 01a11402131416        =+021341601a114416+11a114213

Tc=00+(1*132*(a114))

Tc=52a11,  a11=3

Tc=1

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 213416

ii) Observability

Using the Observability matrix To

;

To=CCACAA

As, CA=010*a1101132004=132

 

CA*A=132*a1101132004=a113913

To=010132a113913

To check if the system is observable, use the rank test as follows; starting with the largest sub matrix (itself);

To=+032913112a11313+013a1139

Tc=0(1*13(a113)*2)+0

To=7+2a11,  a11=4

     To=1

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 32913

. 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

As,  Gs=s+2s3+4s2+s6

n=3,  a3=6,  a2=1,  a1=4,  bo=0,  b1=0,  b2=1,  b3=2

G(s) in the controllable canonical form;

A=010001614,  B=001,  C=210,  d=0

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 Sλi=[AIλi    B]

. 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  wnt=0.5 and 2.1 

respectively. The rough rule states: Wn=1.8tr

. When the desired time of tr=1

;

Wn=1.81=1.8 rad/s

Consider the standard second order system;

Kωn2s2+2ζωns+ωn2

The characteristic equation [ s2+2ζωns+ωn2

] becomes;

s2+2*0.46*1.8s+1.82                =               s2+1.656s+3.24

Which represents poles of s= 0.828 ±1.598j

. 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 s3= 8

.

3) Multiply out the poles to get the closed-loop characteristic equations

Obtaining the desired closed loop characteristic equation (DCLCE) as

s+0.828+1.598js+0.8281.598js+8=0

DCLCE=s3+9.6565s2+16.4872s+25.9136=0

4) Evaluate Ac=ABK


See Appendix for proof and reasoning for matrix K.

To obtain the closed loop plant matrix ( Ac

) substitute in the appropriate values;

Ac=010001614001K11K12K13   =    0100016K111K124K13

5) Evaluate the actual closed-loop characteristic equation as [ λIAc=0]


The actual closed loop pole locations are the result of the eigenvalues of this matrix i.e. the roots of the CLCE given as;

λIAC=0

λ1000100010100016K111K124K13= λ100λ16+K111+K12λ+4+K13  =0

Expanding by column 1 gives;

=+λλ11+K12λ+4+K130101+K12λ+4+K13+(6+K11)10λ1

= λ λ*λ+4+K131*1+K12+(6+K11)((1*1)λ*0)

Actual CLCE=λ3+4+K13λ2+1+K12λ+6+K11=0

6) Equate the desired and actual CLCE

By equating the desired and actual CLCE the values of the K matrix can be gained;

λ3+4+K13λ2+1+K12λ+6+K11=s3+9.6565s2+16.4872s+25.9136

Poles (s) and eigenvalues ( λ

) are the same: s=λ

. The following will equate the coefficients of both actual and desired;

4+K13=9.6565

K13=5.6565

1+K12=16.4872

K12=15.4872

K116=25.9136

K11=31.9136

K=31.9115.495.66

c) Simulation Diagram

A=010001614,  B=001,  C=210,  d=0

ẋ=Ax+Bu,  y(t)=Cx+Du

Substituting in the appropriate matrices;

x1̇x2̇x3̇=010001614x1x2x3+001ut  y=210x1x2x3+0u

x1̇=x2

x2̇=x3

x3̇=6x1x24x3+u(t)

y=2x1+x2

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 Ki

is introduced (see Figure 13), therefore in step 5) for evaluating Ac

  becomes Ac=ABKBKiC0

, 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

N=10

Figure 14 – System in question for Q4

With the feedback rule;

G1+GsGc(s)H(s)

=23(Kps+Ki)s2+10s1+23(Kps+Ki)s2+10s

=23(Kps+Ki)s2+(10+23Kp)s+23Ki

Equating to a second order system;

Kωn2s2+2ζωns+ωn2=23(Kps+Ki)s2+(10+23Kp)s+23Ki

The settling time ( ts

) 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 ( x=2

)

tS=lnx100ζωn=4ζωn

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.

tS=0.1=4ζωn

Therefore,  ζωn=40

The following equation of coefficients applies; Note: According to the graph of Figure 10, take the most appropriate curve where ζ=0.8

.

0.1=40.8ωn,  ωn=50

2ζωns=10+23Kps,  As, 2ζωn=80

ωn2=23Ki=502

80=10+23Kp

Ki=108.6957

Kp=7023=  3.0435

To solve for K,

Kωn2=23(Kps+Ki),  and,   ωn2=23Ki

23Ki=23(Kps+Ki)

=KpsKi+KiKi

=KpsKi+1

K=3.0435 s108.6957+1= 0.028 s+1

Therefore,

Kωn2s2+2ζωns+ωn2

=23(Kps+Ki)s2+(10+23Kp)s+23Ki

= 70 s+2500s2+80s+ 2500

b) Steady State Error

To check the steady state error, consider the final value theorem;

ess=e=limet=lims0s*E(s)

­As Es=11+GsGc(s)H(s) R(s)

.  With a ramp input of Rs=1s2 

;

lims0s*E(s)=s* 11+Kp+Kis*23s+10 1s2

=11+23(Kps+Ki)s2+10s*1s

=1s+s(23(Kps+Ki))s(s+10)

=1s+23(Kps+Ki)s+10

As s=0;    =1023Ki

ess=0.004

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,

C=EG and E=RCH

C=RChG

C+CHG=RG

outputinput=CR=G1+GH

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)

G1+GH=(15s2+11s+10)1+15*2s2+11s+10

Multiply the numerator and denominator by (s2+11s+10)

, gives;

=(15(s2+11s+10)s2+11s+10)(s2+11s+10)+30(s2+11s+10)s2+11s+10

=15s2+11s+10+30

=15s2+11s+40

Calculation for equation 1b) when solving for KB from c1

225KB2+9120KB+264000>0

Here we solve for KB

using the quadrating formula,

b±b24ac2a,  where a=225, b=9120 and c=264000

=9120±912024*225*2640002(225)=9120±12426.80973 j450

=9120±12426.80973 j450

x1=60.0671,  x2=19.53

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;

λIA=0

λ100010001a1101132004=0

λ000λ000λa1101132004=0

 λa11011λ+3200λ+4 =0

Expanding by column 2 gives;

=+0120λ4(λ+3)λa1110λ4+0λa11112

=( λ+3)((λa11*λ4)0*1)

=( λ+3)λa11λ4

As expected, the eigenvalues present the same poles as the LTF model.

2b ii)

Here we consider the state vector differential equation;

ẋ=Ax+Bu

y(t)=Cx+Du

 Taking Laplace transforms of the state equations [ ẋ=Ax+Bu

] gives;

sXsX0=AXs+BUs

sXsAXs=X0+BU(s)

(sIA)Xs=X0+BU(s)

For the X(s) to become the subject; Xs=X0+BUssIA

Xs=(sIA)1(X0+BUs)

With assuming zero initial conditions, where X(0)=0, the previous takes the form of;

Xs=(sIA)1BUs

Substituting in the appropriate values of matrix A and B gives;

=s100010001a11011320041*001

=sa11011s+3200s+41*001

See appendix for the steps of calculation for the inverse of matrix (sI-A).

=*001

=001

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;

y(t)=Cx+Du

Taking Laplace transforms;

Ys=CXs+DU(s)

As Xs=(sIA)1BUs

, Y(S) becomes;

Ys=C(sIA)1BUs+DU(s)

Ys={CsIA1B+D}U(s)

YsUs=CsIA1B+D=G(s)

Therefore, the transfer function is obtained as:

G(s)=CsIA1B+D

Here the focus is on the matrix of CsIA1

A=a1101132004,  B=001,  C=010,  D=0

Substituting the matrices gives;

CsIA1=010*sa11011s+3200s+41*001

=010s3+a117s2+12+7a11s+12a11*sa11011s+3200s+41*001

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;

u=rKx

the state vector equation becomes;

ẋ=Ax+Bu

ẋ=Ax+B(rKx)

ẋ=ABKx+Br

Allow,  AC=(ABK)

. Hence,

ẋ=ACx+Br

Here ‘r’ represents the closed-loop input vector, whilst Ac

represents the closed-loop A matrix. Therefore, the eigenvalues of Ac

, 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;

K11K12K13

Regarding Question 4)

Consider the following transfer functions

Gs=23s+10 and Gcs=Kp+Kis

With the Cascade Rule:

Gcs.Gs=Kp+Kis*23s+10

=Kp1+Kis*23s+10

=Kps+Kls*23s+10

=23(Kps+Ki)s2+10s

With the feedback rule: G1+GH

, where G=23(Kps+Kl)s2+10s

, H=1

=23(Kps+Ki)s2+10s1+23(Kps+Ki)s2+10s

=23(Kps+Ki)s2+10s+23(Kps+Ki)

=23(Kps+Ki)s2+(10+23Kp)s+23Ki

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:

Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.
Reference Copied to Clipboard.

Related Services

View all

DMCA / 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: