Automatic Control Systems -Lecture Note...

42
1/42 Automatic Control Systems Modeling of Physical Systems 3 Automatic Control Systems -Lecture Note 13-

Transcript of Automatic Control Systems -Lecture Note...

Page 1: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

1/42

Automatic Control Systems

Modeling of Physical Systems 3

Automatic Control Systems -Lecture Note 13-

Page 2: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

2/42

Automatic Control Systems

Equation of Motion

Two approaches to derive an equation of motion

i) Newtonian Mechanics : based on Newton’s 2nd law of motion

ii) Lagrangian Mechanics : analytic method based on energy

concept

Page 3: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

3/42

Automatic Control Systems

Equation of Motion

Newtonian Mechanics

describes rigid body motion using the balanced force relation

Linear motion

: vector sum of applied forces on a rigid body

: mass of rigid body

: vector of acceleration of rigid body

F

m

a

maF

Page 4: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

4/42

Automatic Control Systems

Equation of Motion

Rotational motion :

: sum of applied torques of rigid body

: mass moment of inertia of rigid body

: angular acceleration of rigid body

【Note】 Free body diagram : net description of forces exerted on

a rigid body convenient when deriving Newtonian equation of

motion

T J

T

J

Page 5: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

5/42

Automatic Control Systems

Equation of Motion

Largrangian Mechanics

derives equation of motion by using all the energy terms in a

rigid body such as kinetic, potential, and dissipating energies

Lagrange equation

: generalized coordinate, : kinetic energy

: potential energy, : dissipating energy

: non-conservative generalized force corresponding to

, 1,2, ,j

j jj j

d T T V DQ j n

dt q qq q

Tjq

V D

jQ jq

Page 6: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

6/42

Automatic Control Systems

Equation of Motion

【Note】 i) , , are functions of generalized variable

ii) Lagrangian :

iii) Lagrange equation

T V D jq

VTL

, 1,2, ,j

jj j

d L L DQ j n

dt qq q

Page 7: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

7/42

Automatic Control Systems

Equation of Motion

Kinetic energy

: mass and moment of inertia

: linear and angular velocity

【Note】 vector equation of kinetic energy

22

2

1

2

1JmvT

Jm ,

, v

1 1

2 2

T TT m J v v ω ω

Page 8: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

8/42

Automatic Control Systems

Equation of Motion

Dissipative friction energy

: viscous friction coefficient

: velocity

【Note】 Generalized force

1. an external force as function of generalized coordinate

variables

2. represents force for linear motion and torque for rotational

motion, respectively

2

2

1bvD

b

v

Page 9: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

9/42

Automatic Control Systems

Equation of Motion

Example : mass-spring-damper system

: mass, : spring constant,

: damping coefficient

: external force, : displacement

m

m

x

b

k

F

k

x

b

F

<Fig> mass-spring-damper system

Page 10: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

10/42

Automatic Control Systems

Equation of Motion

i) Newtonian mechanics

: F ma kx b x F m x

(1)m x b x kx F

<Fig> free body diagram

Page 11: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

11/42

Automatic Control Systems

Equation of Motion

ii) Largrangian mechanics :

1 dof system( )

1n xq 1

2 221 1 1

, , 2 2 2

, 0, ,

T m x V kx D b x

d T T V Dm x kx b x

dt x x xx

(1)m x b x kx F

Page 12: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

12/42

Automatic Control Systems

Equations of Mechanical Systems

【Example4】

Page 13: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

13/42

Automatic Control Systems

Equations of Mechanical Systems

【Example5】

Page 14: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

14/42

Automatic Control Systems

Equations of Mechanical Systems

【Example 6】Motor Coupling System

Page 15: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

15/42

Automatic Control Systems

Equations of Mechanical Systems

Torque equations

What is the order of the system? “ 4th ”

i) State space representation

State :

Output : Input :

(2)

(1)

2

2

2

2

dt

tdJttK

ttKdt

tdB

dt

tdJtT

LLLm

Lmm

mm

mm

1 2 1

3 4 3

, ,

,

m m

L L

x t t x t t x t

x t t x t t x t

tty L tTtu m

Page 16: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

16/42

Automatic Control Systems

Equations of Mechanical Systems

1 2

2

1 3 2

3 4

4 1 3

3

1

1

mm L m m

m m m

mm

m m m

m L

L L

L

x t x t

BKx t t t t T t

J J J

BKx t x t x t T t

J J J

x t x t

K Kx t t t x t x t

J J

y t t x t

Page 17: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

17/42

Automatic Control Systems

Equations of Mechanical Systems

【Note】 Alternative approach

State :

Output :

11

2 2

33

4

4

1

2

3

4

0 1 0 00

0 1

0 0 0 10

0 0 0

0 0 1 0

m

m m m

m

m L

x tx tBK K

x t J J J x tJ u t

x tx t

x tK Kx t J J

x t

x ty t

x t

x t

1 2 3- , , m L L mx t t t x t t x t t

1 3 1 : " "L my t t t x t x t dt x t impracital

Page 18: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

18/42

Automatic Control Systems

Equations of Mechanical Systems

ii) Transfer function representation

From (1), (2),

From (4),

(4), (5) → (3) :

Also

KBsJJKsJBsJJs

KsJ

sT

s

KBsJJKsJBsJJs

K

sBsJJsK

JBs

K

JJsT

ssG

ssK

Jss

ssJssK

ssKssBssJsT

mLmLmLm

L

m

m

mLmLmLm

mLmLmLmm

L

LL

Lm

LLLm

Lmmmmmm

23

2

23

234

2

2

2

1

(5)

(4)

(3)

Page 19: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

19/42

Automatic Control Systems

Sensors and Encoders

□ Sensors and Encoders

Page 20: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

20/42

Automatic Control Systems

Sensors and Encoders

automation

sensor

general sensor object detection touch

proximity

range sensor displacement

motor control

sensor

position

Speed/acceleration

force/torque/elastic

force

process control

sensor

temperature

Fluid/fluid speed/fluid

pressure

density/thickness

pH

Page 21: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

21/42

Automatic Control Systems

Sensors and Encoders

motor

control

sensor

analog

potentiometer

linear/rotary variable differential

transformer (LVDT/RVDT)

resolver

synchro

inductive

digital

optical encoder

absolute encoder

laser interferometer

Page 22: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

22/42

Automatic Control Systems

Sensors and Encoders

Potentiometer

position → proportion to electric voltage

tKte cs

Page 23: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

23/42

Automatic Control Systems

Sensors and Encoders

ttKte s 21

Page 24: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

24/42

Automatic Control Systems

Sensors and Encoders

【Example1】 Position control of DC motor

Page 25: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

25/42

Automatic Control Systems

Sensors and Encoders

【Example2】 Position control of AC motor

Page 26: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

26/42

Automatic Control Systems

Sensors and Encoders

Tachometers

Angular Velocity Electrical Voltage

; small generator

or Mechanical Energy Electrical Energy

Modeling

proportional to angular velocity

t t t t t

d te t K t K E s K s s

dt

Page 27: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

27/42

Automatic Control Systems

Sensors and Encoders

Velocity Control of DC motor

Page 28: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

28/42

Automatic Control Systems

Sensors and Encoders

Position-control system with tachometer feedback

Page 29: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

29/42

Automatic Control Systems

Sensors and Encoders

Encoder

Generate a coded reading of a measurement

Encoder Types

i) Incremental Encoder (optical encoder)

ii) Absolute Encoder

called “Shaft Encoder”

Shaft Encoder : digital transducer used for measuring angular

displacements and angular velocities

i) high resolution

ii) high accuracy

iii) suitable for digital control systems

iv) reduction in system cost

v) improvement of system reliability

Page 30: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

30/42

Automatic Control Systems

Sensors and Encoders

Incremental Encoder

Position or velocity detecting digital output

By counting the pulses or by timing the pulse width

Equally spaced and identical slit areas

Page 31: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

31/42

Automatic Control Systems

Sensors and Encoders

Incremental encoder (Single channel)

Single channel encoder no direction information

Dual channel encoder direction information detected

Page 32: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

32/42

Automatic Control Systems

Sensors and Encoders

Page 33: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

33/42

Automatic Control Systems

Sensors and Encoders

Absolute Encoder

Many pulse tracks for position indication

The pulse windows on the tracks can be organized into some

pattern (≡code)

i) Binary Code

ii) Gray Code : single bit continuous change

Page 34: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

34/42

Automatic Control Systems

Sensors and Encoders

Binary Code

Page 35: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

35/42

Automatic Control Systems

Sensors and Encoders

Gray Code

Page 36: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

36/42

Automatic Control Systems

Sensors and Encoders

LVDT (Linear Variable Differential Transformer)

Vref for direction information of movement

Page 37: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

37/42

Automatic Control Systems

Sensors and Encoders

Page 38: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

38/42

Automatic Control Systems

Sensors and Encoders

RVDT (Rotary Variable Differential Transformer)

Page 39: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

39/42

Automatic Control Systems

Sensors and Encoders

Page 40: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

40/42

Automatic Control Systems

Sensors and Encoders

Resolver

Page 41: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

41/42

Automatic Control Systems

Sensors and Encoders

Rotor : Primary coil ( )

Stator : Two sets of windings placed 90°apart

angular displacement( ), angular velocity( ), direction

information

Historically, resolvers were used to compute trigonometric

functions or to solve a vector into orthogonal components

useful for robotic control

01

02

cos

sin

ref

ref

v av

v av

refv

Page 42: Automatic Control Systems -Lecture Note 13-contents.kocw.net/KOCW/document/2015/sungkyunkwan/kooktaeyong/13.pdf · an external force as function of generalized coordinate ... Transfer

42/42

Automatic Control Systems

Sensors and Encoders

Synchro-Transformer

Similar to the resolver

Consists of transmitter, receiver (or control transformer)

rtrefavv cos0