control systems - ankara Üniversitesi

26
C ONTROL S YSTEMS Doç. Dr. M urat Efe WEEK 3

Upload: others

Post on 14-Apr-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CONTROL SYSTEMS - Ankara Üniversitesi

CONTROL SYSTEMS

Doç. Dr. Murat Efe

WEEK 3

Page 2: CONTROL SYSTEMS - Ankara Üniversitesi

This week’s agenda

2/17

Linear Differential EquationsObtaining Transfer FunctionsBlock DiagramsAn Introduction to Stability forTransfer FunctionsConcept of Feedback and Closed LoopBasic Control Actions, P-I-D Effects

Page 3: CONTROL SYSTEMS - Ankara Üniversitesi

P-2 Linear Differential Equations

Why do we need differential equations?

To characterize the dynamicsTo obtain a model (which may not be unique)To be able to analyze the behaviorFinally, to be able to design a controller

Model may depend on your perspective and the goals of the designSimplicity versus Accuracy tradeoff arises

••

Page 4: CONTROL SYSTEMS - Ankara Üniversitesi

When is a dynamics linear?

SYSTEMu1(t) y1(t)

SYSTEMu2(t) y2(t)

SYSTEMu1(t)+ u2(t) y1(t)+y2(t)

The system is linear if the principle ofsuperposition applies

Page 5: CONTROL SYSTEMS - Ankara Üniversitesi

Linear Time Invariant (LTI) SystemsLinear Time Varying (LTV) Systems

A differential equation is linear if the coefficientsare constants or functions only of the independentvariable (e.g. time below).

LTI

LTV

Page 6: CONTROL SYSTEMS - Ankara Üniversitesi

Nonlinear Systems

A system is nonlinear if the principle ofsuperposition does not apply

Page 7: CONTROL SYSTEMS - Ankara Üniversitesi

A More Realistic Example - 2DOF Robot

Dynamics is characterized by

where

ControlInputs

u

Page 8: CONTROL SYSTEMS - Ankara Üniversitesi

Linearization of z=f (x)

Consider z=f (x) is the system(x0,z0) is the operating point

Perform Taylor series expansion around theoperating point

••

Only if these terms are negligibly small!

Page 9: CONTROL SYSTEMS - Ankara Üniversitesi

Linearization of z=f (x,y)

Consider z=f (x,y) is the system(x0,y0,z0) is the operating point

Perform Taylor series expansion around theoperating point

••

Only if these terms are negligibly small!

Page 10: CONTROL SYSTEMS - Ankara Üniversitesi

P-2 Obtaining Transfer Functions

Consider the system, whose dynamics is given bythe following differential equation

where, x is the output, u is the input

Page 11: CONTROL SYSTEMS - Ankara Üniversitesi

Assume all initial conditions are zero and take theLaplace transform. Remember

Real Differentiation

Page 12: CONTROL SYSTEMS - Ankara Üniversitesi

We get

Transfer function is G(s)

Page 13: CONTROL SYSTEMS - Ankara Üniversitesi

Note that while studying with transferfunctions all initial conditions are assumedto be zero

What does a transfer function tell us?

Page 14: CONTROL SYSTEMS - Ankara Üniversitesi

TF states the relation between input and outputTF is a property of system, no matter what the input isTF does not tell anything about the structure of the systemTF enables us to understand the behavior of the systemTF can be found experimentally by studying the response of the system for various inputsTF is the Laplace transform of g(t), the impulse response of the system

•••

Transfer function (TF)

Page 15: CONTROL SYSTEMS - Ankara Üniversitesi

Transfer function (TF)

Above TF, i.e. G(s), is nth orderWe assume that nm

If a0=1, the denominator polynomial is said to be

monicIf b0=1, the numerator polynomial is said to be

monic

••

Page 16: CONTROL SYSTEMS - Ankara Üniversitesi

P-2 Block Diagrams

Tools we will mainly use (Matlab-Simulink)

Page 17: CONTROL SYSTEMS - Ankara Üniversitesi

P-2 An Introduction to Stability forTransfer Functions

Consider

Rewrite this as

s = zi for i=1,2,…,m are

the zeros of the system

s = pi for i=1,2,…,n are

the poles of the system

Page 18: CONTROL SYSTEMS - Ankara Üniversitesi

If the real parts of the poles are negative,then the transfer function is stable

Re( pi)<0 Re(pi)>0 TF Stable

Stability in terms of TF poles

Page 19: CONTROL SYSTEMS - Ankara Üniversitesi

What is the meaning of this?Poles with zero imaginary parts

x

Im

Re

s-plane

t

h(t)

x

Im

Re

s-plane

t

h(t)

Re( pi)<0

Re( pi)>0

Stable

Unstable

Page 20: CONTROL SYSTEMS - Ankara Üniversitesi

What is the meaning of this?Poles with nonzero imaginary parts

x

Im

Re

s-plane

t

h(t)

x

Im

Re

s-plane

t

h(t)

Re( pi)<0

Re( pi)>0

Stable

Unstable

x

x

Page 21: CONTROL SYSTEMS - Ankara Üniversitesi

What is the meaning of this?Poles on the imaginary axis

x

Im

Re

s-plane

t

h(t)

x

Im

Re

s-plane

t

h(t)

Re( pi)=0

Re( pi)=0x

Neither stable nor unstable

Page 22: CONTROL SYSTEMS - Ankara Üniversitesi

A TF is said to be stable if all the roots ofthe denominator have negative real parts

Poles determine the stability of a TF

Zeros may be stable or unstable as well,but the stability of the TF is determinedby the poles

Page 23: CONTROL SYSTEMS - Ankara Üniversitesi

P-2 Concept of Feedback and Closed Loop

Page 24: CONTROL SYSTEMS - Ankara Üniversitesi

What are the advantages of feedback?

Superposition!

Page 25: CONTROL SYSTEMS - Ankara Üniversitesi
Page 26: CONTROL SYSTEMS - Ankara Üniversitesi

Effect of disturbance is suppressed considerably

Variations on P(s) and C(s) do not affect the closed loop TF. Think about the case when F(s)=1