ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered...

53
ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers and Technologist, MIET (United Kingdom) [email protected] 019-4772260

Transcript of ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered...

Page 1: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

ENT364/4 – Control System

Sazali YaacobBEng(Malaya), MSc(Surrey), PhD(Sheffield)

Chartered Engineer, CEng (United Kingdom)

Member Institute of Engineers and Technologist, MIET (United Kingdom)

[email protected]

019-4772260

Page 2: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Course Assessment

• Lecture 3 hours per week• Lab/Tutorial/Design 2 hours per week• Final Examination 50 marks• Mid-SemesterTest 10 marks• Quiz/Design 25 marks• Lab works 15 marks

Page 3: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Weekly Schedule

Week 1: Introduction

Week 2: Modeling

Week 3: Modeling

Week 4: Time Response

Week 5: Time Response

Week 6: Time Response/Root Locus

Week 7: Root Locus/Mid-Semester Revision

Page 4: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Weekly Schedule

Week 8: Frequency Response

Week 9: Frequency Response

Week 10: Frequency Response

Week 11: Frequency Response

Week 12: Design

Week 13: Design

Week 14: Revision

Page 5: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

OBJECTIVES•Basic terminologies.•Open-loop and closed-loop•Block diagrams•Control structure•Advantages and Disadvantages of closed-loop

Introduction to control system

Page 6: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Human control

Page 7: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

System control

Page 8: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

GPS Control

Page 9: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Force Control

Page 10: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Vision Control

Page 11: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Primary Source(Loudspeaker)

Secondary source (Actuator)

Block Diagram for Active Noise Cancellation

24 cm

Error Microphone

Sensor Microphone 36 cm

Primary path Error path12 cm

BEFORE ANC AFTER ANC

Sound Control

Page 12: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Satellite Control

Page 13: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Satellite Control

Page 14: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Satellite Control

Magnetometer

Magnetorquer

Driver

OBC ACS

Torque command for the MT

Processed attitude data

Attitude Ref

Page 15: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Process Control

Page 16: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Pilot Plant

Page 17: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Servo Control

Page 18: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Steering Control

Complete System Set-up for Mobile Robot using Mecannum wheel

Page 19: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Omni-directional Motion for the Mobile Robot

Page 20: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Basics terminologies

• Sub-system and System

subsystem subsystem subsystem

– System is a combination of physical and non-physical components that are configured to serve certain tasks to maintain the output

– Subsystem is part of the system that is grouped for a certain function

blower room thermostat

Page 21: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Plant

subsystem

input output

• Plant is the main subsystem where the control signal will act on and produce the output .

plant

Page 22: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

• Disturbance is unwanted signal that may sway the output • Controller is a subsystem that is used to ensure the output signal

follows the input signal

controller plantinput

disturbance

output

+

Disturance and Controller

Page 23: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Error

controller plant

-

+ ++

input

• Error is a signal made up of the difference of input and output

error

disturbance

Page 24: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Control Structure

• For any control system the following flow structure is needed

model

analysis

design

Objective

Page 25: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Example of an open-loop system

motor

Turn table

rheostat

amplifier

amplifier motorTurn-table

Required speed Actual speed

Open-loop system

Page 26: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Closed-loop system example of closed-up system

motor

tachometer

+

-

Turn-table

rheostat

Differential amplifier

amplifier motor Turn-table

tachometer

required

speed

Actual speed+

-

Page 27: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Block Diagram

Transfer function,

H

input, R output, Y

Transfer function is the ratio of the ouput over the input variables

The output signal can then be sderived as

rHy

R

YH

Example of multi-variables

++

+ -

R

C

E

B BCRE

Block diagram reduction

H G H.G=a b c a c

a

cHG

Page 28: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Feed Forward and Feedback Transfer function

+

-

R(s) E(s) Y(s)

B(s)

)(sG

)(sHE(s error signal

B(s) feedback

signalR(s) reference

signalY(s) output

signal Feed forward transfer

function)(

)()(

sE

sYsG

Feedback transfer function

)(

)()(

sY

sBsH

Page 29: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Open Loop Transfer Function

H(s) G(s) H(s)G(s)E(s) Y(s) B(s) E(s) B(s)

Open loop transfer function )()()(

)(sHsG

sE

sB

+

-

R(s) E(s) Y(s)

B(s)

)(sG

)(sH

Page 30: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Closed Loop Transfer Function

)()()( sHsYsB The feedback is

.

)()()()( sHsBsRsE )()()()( sYsHsRsE

)()()()(

)(sYsHsR

sG

sY

)()(1

)(

)(

)(

sHsG

sG

sR

sY

Variable difference

)()(1)( sHsGsT

Characteristic equation0)()(1 sHsG

Closed-loop transfer function

The error signal is

The closed loop transfer function is

The characteristic equation is very important in determining the behaviour of a system

Page 31: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Model

Many type of models:

• Physical model

• Graphical model

• Mathematical model

Example: Current-voltage relationship

iRv v – voltage in Vi – current in AR – resistance in Ohm

kxf Example: Force-deflection realtionship

f – force in Nk – spring constantx – displacement in mMass-spring model sistem jisim-pegas

Page 32: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

From Newton’s law

kxf

maff

s

so

where m is the mass and a is the acceleration.

dt

dva

dt

dxv

Substituting2

2

dt

xdmkxfo

Example: Mass-spring model

of

sf

- applied forcex - displacement

- reaction force

Velocity

Acceleration

Page 33: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Black-box Modelling

g tyty

tu

Page 34: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Input-output reltionship

Speed

Tor

qu

e

Starting Torque(Standstill)

Stalling or Pull-OutTorque

Full-Load Torque

No-Load Torque

Normal OperationRange

Synchronous SpeedNo-Load Speed

Full-Load Speed

Torque-Speed Characteristics of a Squirrel-Cage Induction Motor

Page 35: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Identification Procedure

Data collection(experimental work)

Selecting modelstructure

Fitting the modelto the data

Validating the model

Accepting the model ?

Yes

No

Mod

el s

tru

ctu

re is

not

goo

d

Dat

a is

not

goo

dIn

sert

fil

tara

tion

fac

tor

if n

eces

sary

Page 36: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Neural Network Training

+

-

PlantPlantP

M

ty

ty

t

tu

Forward Plant Modeling

Page 37: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Neural Network Structure

Hiddenlayerj

Inputlayeri

Outputlayerk

vji wkj

Hidden unit’s neuron Output unit’s neuron

Biase Biase

A two layer Artificial Neural Network

Page 38: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Neural Network Control

F r e q u e n c y In v e r te r

C o m p u te r

C

L 1

L 2

L 3

U

V

W

N

In p u t P h a se D ig ita l P h a se O u tp u t P h a se

F r eq u en cy In v er ter C o n tro l U n it

In d u c tio n M o to rT a c h o m e te r

In te r fa c in g D a taA c q u is itio n C a r d

M a in T h r e e P h a seP o w e r S u p p ly

M a in T h r e e P h a seP o w e r S u p p ly

The Experimental Work

Page 39: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Input-output Data

0 1000 2000 3000 4000 5000 60000

500

1000

1500

2000

S a mple s

Out

put

Sig

nal

0 1000 2000 3000 4000 5000 60000

500

1000

1500

Inp

ut S

igna

l

The Input-Output Da ta S e t.

Page 40: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Analysis

Transient stateA state whereby the system response after a pertubation before the response approach to a steady condition

Steady stateA state whereby the system response becomes steady after a transient state

StabilityThe condition of the steady state. If the response converges to a finite value then it is said to be in a stable condition and if the response diverges, it is known to be unstable.

Page 41: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Time Response

MP

tr

tp

1.0

t

ts

Transient s state Steady state

Page 42: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Example of Time Response

Page 43: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Design

Analogue controller A controller that used analogue subsystem

Digital Controller A controller that used computer as its subsystem

computer drive plant

sensor

_

+ referene

input

Actual output

Page 44: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Adaptive Control

Controller PlantControl Action

Error

Output

Reference +

-

AdjustmentMechanism

Page 45: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Computer Control

Frequency Inverter

Interfacing DataAcquisition Card

Computer

C

L1

L2

L3

U

V

W

N

Input Phase Digital Phase Output Phase

Frequency Inverter Control Unit

Induction Motor

MagneticPowderBrake

Tachometer

Interfacing DataAcquisition Card

5

x 1

x 2

x 5 x 10

x 100

x 1000

5

x 1

x 2

x 5 x 10

x 100

x 1000

ON/OFF

x 1

x 2 x 5

x 10

Brake PowerBrake Reset

External Setpoint

Magnetic PowderBrake

SpeedLoad

Brake Control Unit

Main Three PhasePower Supply

Main Three PhasePower Supply

The Control Experiment.

Page 46: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Step Input

0 1 2 3 4 5 6 7 8 9 100

200

400

600

800

1000

1200

1400

1600

1800

Time [s e conds ]

Sp

ee

d [r

pm

]Unit S te p Re s pons e with Dire ct Inve rs e C ontrol.

The Induction Motor Unit Step Speed Response with the Direct Inverse Control Scheme

Page 47: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Sinusoidal Input

0 2 4 6 8 10 12 14 160

500

1000

1500

Time [s e conds ]

Sp

ee

d [r

pm

]S ine Wa ve Re fe re nce a nd S pe e d Re s pons e of Dire ct Inve rs e C ontrol S che me .

Speed Response to a Sine Wave Reference Signal under DIC Scheme.

Page 48: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Ramp Input

0 2 4 6 8 10 12 14 160

200

400

600

800

1000

1200

1400

1600

Time [s e conds ]

Sp

ee

d [r

pm

]Ra mp Wa ve Re fe re nce a nd S pe e d Re s pons e of Dire ct Inve rs e C ontro l S che me .

Speed Response to a Ramp Wave Reference Signal under DIC Scheme.

Page 49: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Square-wave Input

0 2 4 6 8 10 12 14 160

200

400

600

800

1000

1200

1400

1600

1800

Time [s e conds ]

Sp

ee

d [r

pm

]S qua re Wa ve Re fe re nce a nd S pe e d Re s pons e of Dire ct Inve rs e C ontrol S che me .

Speed Response to a Square Wave Reference Signal under DIC Scheme.

Page 50: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

Advantage of Feedback Loop (1) Not susceptible to disturbance

H

1G2G

+

++

-

d

r y

0r

HGG

dG

GHyGdy

21

2

21

1

Assume

121 HGG

HG

dy

1

11 HG , then changes in y is negligible

Not sensitive to parameters changed

Page 51: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

(2) Insensitive to changes in parameters

Consider

H

Gy +

-

r

Define sensitvity as

d

dT

Td

TdT

ofchange

TofchangeS T

%

%

where T is the transfer function of the system is the parameter of the system.

Closed-loop transfer function

GH

G

R

YT

1

Let us investigate the effect on the system when the plant is subjected to perturbance i.e .,

TGS

.

TGS

21

1

GHdG

dT

GHGHG

GHGSTG

1

1

1

112

1GH 0TGSIf , thus

.

TGS

Page 52: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

(3) Increased in bandwidthConsider a first order

1)(

)(

sT

K

sR

sY

where K is the dc gain and T is the time constant

)(sR )(sY1sT

K

If a feedback is applied

a

1sT

K)(sY)(sR +

-

The closed-loop transfer function is

1)1

)1

1)(

)(

aKsT

aKK

aKsT

K

sR

sY

Hence the new time constant )1 aKT is reduced and increased the system bandwidth

Page 53: ENT364/4 – Control System Sazali Yaacob BEng(Malaya), MSc(Surrey), PhD(Sheffield) Chartered Engineer, CEng (United Kingdom) Member Institute of Engineers.

)(sG )(sY)(sR

)()()( sRsGsY

)()()(1

)()( sR

sHsG

sGsY

1)()( sHsG

)()( sRsY

Output for open loop

Output for feedback system

. If

thus

.

(4) Accurate control.

+

-

R(s) Y(s) )(sG

)(sH

This means that the output will follow the input which signify a god control objective