44
Modern Control System EKT 318 General Introduction Introduction to Control System Brief Review - Differential Equation - Laplace Transform

Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

  • Upload
    others

  • View
    34

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Modern Control System EKT 318

• General Introduction • Introduction to Control System • Brief Review - Differential Equation - Laplace Transform

Page 2: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Course Assessment

• Lecture 3 hours per week

Number of units 3

• Final Examination 50 marks

• Class Test 1 10 marks

• Class Test 2 10 marks

• Mini Project 15 marks

• Assignment/Quiz 15 marks

Page 3: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Course Outcomes

• CO1: : The ability to obtain the mathematical model for electrical and mechanical systems and solve state equations.

• CO2: : The ability to perform time domain analysis with response to test inputs and to determine the stability of the system.

• CO3: The ability to perform frequency domain analysis of linear system and to evaluate its stability using frequency domain methods.

• CO4: The ability to design lag, lead , lead-lag compensators for linear control systems.

Page 4: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Lecturer

1. Dr. Saidatul Norlyana Azemi

[email protected] 012 – 5104805

(8 – 5pm only!!)

2. Dr. Mijanur, [email protected] 3. Dr. Ali Amer

Page 5: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Text Book References

• Dorf, Richard C., Bishop, Robert H., “Modern Control Systems”, Pearson, Twelfth Edition, 2011

• Nise , Norman S. , “Control Systems Engineering”, John Wiley and Sons , Fourth Edition, 2004.

• Kuo B.C., "Automatic Control Systems", Prentice Hall, 8th Edition, 1995

• Ogata, K, "Modern Control Engineering"Prentice Hall, 1999

• Stanley M. Shinners, “Advanced Modern Control System Theory and Design”, John Wiley and Sons, 2nd Edition. 1998

Page 6: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

What is a Control System ?

• A device or a set of devices

• Manages, commands, directs or regulates the behavior of other devices or systems.

Page 7: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

What is a Control System ? (contd….)

Process (Plant) to be controlled

Process with a controller

Page 8: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Examples

Page 9: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Examples (contd…)

Human Control

Page 10: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

System Control

Page 11: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Classification of Control Systems

Control systems are often classified as

• Open-loop Control System

• Closed-Loop Control Systems

Also called Feedback or

Automatic Control System

Page 12: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Open-Loop Control System

Day-to-day Examples

• Microwave oven set to operate for fixed time

• Washing machine set to operate on fixed timed sequence.

No Feedback

Page 13: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Open-Loop Speed Control of Rotating Disk

For example, ceiling or table fan control

Page 14: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

What is Feedback? Feedback is a process whereby some proportion of the output signal of a system is passed (fed back) to the input. This is often used to control the dynamic behavior of the System

Page 15: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Closed-Loop Control System

• Utilizes feedback signal (measure of the output)

• Forms closed loop

Page 16: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example of Closed-Loop Control System

Controller: Driver Actuator: Steering Mechanism

The driver uses the difference between the actual and the desired direction to generate a controlled adjustment of the steering wheel

Page 17: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Closed-Loop Speed Control of Rotating Disk

Page 18: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

GPS Control

Page 19: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Satellite Control

Page 20: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Satellite Control (Contd…)

Page 21: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Servo Control

Page 22: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Differential Equation

0..... 012

2

21

1

1

adx

dya

dx

yda

dx

yda

dx

yda

n

n

nn

n

n

N-th order ordinary differential equation

Often required to describe physical system - represent their rates of change in the system

Higher order equations are difficult to solve directly.

But, can be solve through Laplace transform.

Page 23: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example of Diff. Equation

o

i

edtiC

edtiC

Ridt

diL

1

1

Page 24: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example of Diff. Equation (Contd…)

Newton’s second law:

2

2

dt

sdm

dt

ds

dt

dmF

dt

dvmF

maF

m = mass a = acceleration

a = acceleration a = changes of velocity over timedv/dt

velocity = speed / time v = ds/dt

Page 25: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction
Page 26: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction
Page 27: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Table 2.2 (continued) Summary of Governing Differential Equations for Ideal Elements

Page 28: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Laplace Transform

• A method for solving differential equations. • Convert differential equations in time (t) domain to

complex frequency (s) domain

Laplace Transform is given by:

frequency.complex a is Where, js

0

)()()]([ dtetfsFtfLst

Page 29: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Laplace Transform (contd…)

• Example: Consider the step function.

t

u(t)

1 0

-1

00

0

0

)()}({

)()}({

s

edte

dtetutuL

dtetftuL

stst

st

st

u(t) = 1 for t >= 0 u(t) = 0 for t < 0

s

s

1

101

(1)

(2)

(3)

(4)

(final answer)

Page 30: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Laplace Transform’s Pair table for common functions

Function, )(tf Laplace Transform

Unit Impulse, )(t 1

Unit step, )(tus

1

Unit ramp, t

Exponential, ate

Sine, tsin

Cosain, tcos

Damped sine, te at sin

Damped cosain, te at cos

Damped ramp, atet

2

1

s

as

1

22

s

22 s

s

22)(

as

22)(

as

as

2)(

1

as

Page 31: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Inverse Laplace Transform

• Transformation from s-domain back to t-domain

Inverse Laplace Transform is defined as:

j

j

stdsesFj

sFLtf

)(2

1)}({)( 1

Where, is a constant

Page 32: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

The Laplace Transform of a function, f(t), is defined as;

0

)()()]([ dtetfsFtfLst

The Inverse Laplace Transform is defined by

j

j

tsdsesF

jtfsFL

)(2

1)()]([1

Eq A

Eq B

The Laplace Transform

Page 33: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Laplace Transform Pairs

• Laplace transform and its inverse are seldom calculated through equations.

• Almost always they are calculated using look-up tables.

http://lpsa.swarthmore.edu/LaplaceXform/FwdLaplace/LaplaceAll.html

Page 34: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Characteristic of Laplace Transform

Page 35: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Table: Properties of Laplace Transforms

Page 36: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example 1

Consider a second order: )(42

2

tfdt

fd

Using differential property (from Laplace table)

1)](4[)]0(')0()()[( 2 sFfsfsFs

Rearrange : 22 2

2

2

1)(

ssF

Inverse Laplace : ttf 2sin5.0)(

Assume, initial conditions is 0.

1)( impulseunit t

Using linearity property (from Laplace table)

1)()4[( 2 sFs

)(44 sFf

Page 37: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example 2

function impulse theis (t)

)(3422

2

tydt

dy

dt

yd

Assume, initial conditions is 0.

1]342)[(

1)(3)(4)(2

)(342

2

2

2

2

sssY

sYssYsYs

tydt

dy

dt

yd

Using differential property (from Laplace table)

342

1)( ,

2

sssYSo(1)

(2)

(3)

(4)

Page 38: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example 2 (contd…)

22

22

2

2

0.7071)()1(

0.7071

0.70712

1

0.7071)()1(

1

2

1

5.0)1(

1

2

1

)2/32(2

1)(

s

s

s

sssY

Inverse Laplace step: 342

1)( ,

2

sssYSo

How to get this?? Use calculator!

Why we do this?? Because to resemble: tableLaplace from

)(

22

as

(5)

Page 39: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example 2 (contd…)

0.7071 and 1 Where,

)( resembles This

22

a

as

From table, inverse Laplace transform is: te at sin

Thus the solution of the differential equation

)7071.0sin(7071.0)( )1( tety t

22 0.7071)()1(

0.70717071.0)(

ssY

Page 40: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example 3

2342

2

ydt

dy

dt

yd Non zero initial condition

ssssssY

ssYssYsssYs

ssYssYsYsYs

ssYyssYdt

dysYsYs

dt

dyy

4234)(

2)(34)(4)(

/2)(3]4)(4[)]0()([

/2)(3)]0()([4])0()([

Transform Laplace Taking

0)0(,1)0(

223

223

2

2

(1)

Page 41: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example 3 (contd…)

)3(

6/1

)1(

2/13/2:

6/1

2/1

3/2

)3()1(24

fraction partial :stepNext

2

sssso

C

B

A

s

C

s

B

s

Ass

)3)(1(

24

)34(

42)(

:simplify is stepnext

2

2

2

sss

ss

sss

sssY

Page 42: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example 3 (contd…)

tt eety

ssssY

3

6

1

2

1

3

2)(

transformLaplace inverse:stepNext

)3(

6/1

)1(

2/13/2)(

obtain weexpansion,fraction partialThrough

Page 43: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Example 4

Show that )sin(t is a solution to

the following differential equation:

0)()(

2

2

tydt

tyd

(a)

Find solution to the above equation using Laplace transform with the following initial condition.

1(0) and 0)0( dt

dyy

Page 44: Modern Control System EKT 308 - Universiti Malaysia Perlisportal.unimap.edu.my/portal/page/portal30/Lecture...Modern Control System EKT 318 • General Introduction • Introduction

Solution

)sin().1sin()(

1

1)(

1]1)[(

0)(1)(

0)()]0()0()([

obtain, weLaplace, Taking

2

2

2

2

ttty

ssY

ssY

sYsYs

sYdt

dysysYs

0)()(

2

2

tydt

tyd1(0) and 0)0(

dt

dyy

(1)