+ All Categories
Home > Documents > MECH350 Notes 2010 Lecture4

MECH350 Notes 2010 Lecture4

Date post: 10-Apr-2018
Category:
Upload: gralvilla
View: 220 times
Download: 0 times
Share this document with a friend

of 70

Transcript
  • 8/8/2019 MECH350 Notes 2010 Lecture4

    1/70

    1

    Transfer Function Models

    of Dynamical Processes

    Process Dynamics and ControlProcess Dynamics and Control

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    2/70

    2

    Transfer FunctionsTransfer Functions

    For the DC motor,

    the Laplace domain dynamics are given by

    To get back to time domain, we must

    Specify Laplace domain functions Apply partial fraction expansion

    Take Inverse Laplace

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    3/70

    3

    Transfer FunctionsTransfer Functions

    The expression

    describes the dynamic behavior of the process explicitly

    The Laplace domain function is called the transfer function

    between and

    Transfer functions are usually represented in Block diagram form

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    4/70

    4

    Transfer FunctionTransfer Function

    Heated stirredHeated stirred--tank model (constant flow, )tank model (constant flow, )

    Taking the Laplace transform yields:Taking the Laplace transform yields:

    or lettingor letting

    Transfer functions

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    5/70

    5

    Transfer FunctionTransfer Function

    Heated stirred tank exampleHeated stirred tank example

    e.g.e.g. The block is called the transfer function relating Q(s) to T(s)

    +

    ++

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    6/70

    6

    Block DiagramsBlock Diagrams

    Transfer functions of complex systems can be representedTransfer functions of complex systems can be represented

    in block diagram form.in block diagram form.

    3 basic arrangements of transfer functions:3 basic arrangements of transfer functions:

    1.1. Transfer functions in seriesTransfer functions in series

    2.2. Transfer functions in parallelTransfer functions in parallel

    3.3. Transfer functions in feedback formTransfer functions in feedback form

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    7/70

    7

    Block DiagramsBlock Diagrams

    Transfer functions in seriesTransfer functions in series

    Overall operation is the multiplication of transfer functionsOverall operation is the multiplication of transfer functions

    Resulting overall transfer functionResulting overall transfer function

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    8/70

    8

    Block DiagramsBlock Diagrams

    Transfer functions in series (two first order systems)Transfer functions in series (two first order systems)

    Overall operation is the multiplication of transfer functionsOverall operation is the multiplication of transfer functions

    Resulting overall transfer functionResulting overall transfer function

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    9/70

    9

    Transfer FunctionsTransfer Functions

    DC Motor example:DC Motor example:

    In terms of angular velocityIn terms of angular velocity

    In terms of the angleIn terms of the angle

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    10/70

    10

    Transfer FunctionsTransfer Functions

    Transfer function in parallelTransfer function in parallel

    Overall transfer function is the addition of TFs in parallelOverall transfer function is the addition of TFs in parallel

    +

    +

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    11/70

    11

    Transfer FunctionsTransfer Functions

    Transfer function in parallelTransfer function in parallel

    Overall transfer function is the addition of TFs in parallelOverall transfer function is the addition of TFs in parallel

    +

    +

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    12/70

    12

    Transfer FunctionsTransfer Functions

    Transfer functions in (negative) feedback formTransfer functions in (negative) feedback form

    Overall transfer functionOverall transfer function

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    13/70

    13

    Transfer FunctionsTransfer Functions

    Transfer functions in (positive) feedback formTransfer functions in (positive) feedback form

    Overall transfer functionOverall transfer function

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    14/70

    14

    Transfer FunctionTransfer Function

    ExampleExample

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    15/70

    15

    Transfer FunctionTransfer Function

    Example 3.20Example 3.20

    A positive feedback loopA positive feedback loop

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    16/70

    16

    Transfer FunctionTransfer Function

    Example 3.20Example 3.20

    Two systems in parallelTwo systems in parallel

    Replace byReplace by

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    17/70

    17

    Transfer FunctionTransfer Function

    Example 3.20Example 3.20

    Two systems in parallelTwo systems in parallel

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    18/70

    18

    Transfer FunctionTransfer Function

    Example 3.20Example 3.20

    A negative feedback loopA negative feedback loop

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    19/70

    19

    Transfer FunctionTransfer Function

    ExampleExample

    Two process in seriesTwo process in series

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    20/70

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    21/70

    21

    Transfer functionsTransfer functions

    Transfer functions are generally expressed as a ratio ofTransfer functions are generally expressed as a ratio of

    polynomialspolynomials

    WhereWhere

    The polynomial is called theThe polynomial is called the characteristic polynomialcharacteristic polynomialofof

    Roots of are theRoots of are the zeroeszeroes ofof

    Roots of are theRoots of are thepolespoles ofof

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    22/70

    22

    Transfer functionTransfer function

    Order of underlying ODE is given by degree of

    characteristic polynomiale.g. First order processes

    Second order processes

    Orderof the process is the degree of the characteristic

    (denominator) polynomial The relative degree is the difference between the degree of the

    denominator polynomial and the degree of the numerator

    polynomial

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    23/70

    23

    Transfer FunctionTransfer Function

    Steady state behavior of the process obtained form the finalSteady state behavior of the process obtained form the final

    value theoremvalue theoreme.g. First order processe.g. First order process

    For a unitFor a unit--step input,step input,

    From the final value theorem, the ultimate value of isFrom the final value theorem, the ultimate value of is

    This implies that the limit exists,This implies that the limit exists, i.e.i.e. that the system is stable.that the system is stable.

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    24/70

    24

    Transfer functionTransfer function

    Transfer function is the unit impulse responseTransfer function is the unit impulse response

    e.g. First order process,e.g. First order process,

    Unit impulse response is given byUnit impulse response is given by

    In the time domain,In the time domain,

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    25/70

    25

    Transfer FunctionTransfer Function

    Unit impulse response of a 1st order processUnit impulse response of a 1st order process

    QuickTime and adecompressor

    are needed to see this picture.

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    26/70

    26

    Deviation VariablesDeviation Variables

    To remove dependence on initial condition

    e.g.

    Compute equilibrium condition for a given and

    Define deviation variables

    Rewrite linear ODE

    or

    0

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    27/70

    27

    Deviation VariablesDeviation Variables

    Assume that we start at equilibrium

    Transfer functions express extent of deviation from a given

    steady-state

    Procedure

    Find steady-state

    Write steady-state equation

    Subtract from linear ODE

    Define deviation variables and their derivatives if required

    Substitute to re-express ODE in terms of deviation variables

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    28/70

    28

    Deviation VariablesDeviation Variables

    In mechanical systems, the equilibrium is usually selectedIn mechanical systems, the equilibrium is usually selected

    as the initial rest positionas the initial rest position Cruise control exampleCruise control example

    Suspension system exampleSuspension system example

    Satellite systemSatellite system

    DC motorDC motor

    Using initial condition such that the output is at zero,Using initial condition such that the output is at zero,avoids the need for deviation variablesavoids the need for deviation variables

    Initial conditions must be an equilibrium of the systemInitial conditions must be an equilibrium of the system

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    29/70

    29

    Deviation variablesDeviation variables

    Example (the ball and beam example)Example (the ball and beam example)

    This is a nonlinear system of ordinary differential equationsThis is a nonlinear system of ordinary differential equations

    Must be linearized about an equilibrium to obtain a transferMust be linearized about an equilibrium to obtain a transfer

    function modelfunction model

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    30/70

    30

    Deviation VariablesDeviation Variables

    Pendulum examplePendulum example

    System equations areSystem equations are nonlinearnonlinearinin

    For small perturbation about the vertical positionFor small perturbation about the vertical position , the, the

    nonlinearity can approximated (1st order Taylor series expansion)nonlinearity can approximated (1st order Taylor series expansion)

    Linearized modelLinearized model

    Starting at rest,Starting at rest, , taking the Laplace transform, taking the Laplace transform

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    31/70

    31

    Process ModelingProcess Modeling

    Gravity tank

    Objectives:Objectives: height of liquid in tank

    Fundamental quantity:Fundamental quantity: Mass, momentum

    Assumptions:Assumptions:

    Outlet flow is driven by head of liquid in the tank

    Incompressible flow

    Plug flow in outlet pipe

    Turbulent flow

    h

    L

    F

    Fo

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    32/70

    32

    Transfer FunctionsTransfer Functions

    From mass balance and Newtons law,

    Asystem ofsimultaneous ordinary differential equations results

    Linear or nonlinear?

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    33/70

    33

    Nonlinear ODEsNonlinear ODEs

    Q: If the model of the process is nonlinear, how do we

    express it in terms of a transfer function?

    A: We have to approximate it by a linear one (i.e.Linearize)

    in order to take the Laplace.

    f(x0)

    f(x)

    x

    x

    f

    xx( )0

    xx0

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    34/70

    34

    Nonlinear systemsNonlinear systems

    First order Taylor series expansion

    1. Function of one variable

    2. Function of two variables

    3. ODEs

    f x u f xs usf x u

    xx xs

    f x u

    uu us

    s s s s( , ) ( , )( , )

    ( )( , )

    ( )} x

    x

    x

    x

    f x f xsf x

    xx xs

    s( ) ( )( )

    ( )} x

    x

    ( ) ( )( )

    ( )x f x f xsf xs

    xx xs! }

    x

    x

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    35/70

    35

    TransferTransfer))unctionunction

    Procedure to obtain transfer function from nonlinear

    process models Find an equilibrium point of the system

    Linearize about the equilibrium

    Express in terms of deviations variables about the equilibrium

    Take Laplace transform

    Isolate outputs in Laplace domain

    Express effect of inputs in terms of transfer functions

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    36/70

    36

    Transfer FunctionTransfer Function

    Ball and beam exampleBall and beam example

    Linearize the system of equations about equilibriumLinearize the system of equations about equilibrium

    The nonlinear model is given byThe nonlinear model is given by

    Linearize (1st order Taylor series expansion about equilibrium)Linearize (1st order Taylor series expansion about equilibrium)

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    37/70

    37

    Transfer FunctionTransfer Function

    Linearization gives the linear systemLinearization gives the linear system

    Taking Laplace transformTaking Laplace transform

    Transfer functionTransfer function

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    38/70

    38

    First Order SystemsFirst Order Systems

    First order systems are systems whose dynamics areFirst order systems are systems whose dynamics are

    described by the transfer functiondescribed by the transfer function

    wherewhere

    is the systemsis the systems (steady(steady--state) gainstate) gain

    is theis the time constanttime constant

    First order systems are the most common behaviourFirst order systems are the most common behaviourencountered in practiceencountered in practice

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    39/70

    39

    First Order SystemsFirst Order Systems

    ExamplesExamples, Liquid storage

    Assume:

    Incompressible flow

    Outlet flow due to gravity

    Balance equation: Total

    Flow In

    Flow Out

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    40/70

    40

    First Order SystemsFirst Order Systems

    Balance equation:Balance equation:

    Deviation variables about the equilibriumDeviation variables about the equilibrium

    Laplace transformLaplace transform

    First order system withFirst order system with

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    41/70

    41

    First Order SystemsFirst Order Systems

    ExamplesExamples: Cruise control

    DC Motor

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    42/70

    42

    First Order SystemsFirst Order Systems

    Liquid Storage Tank

    Speed of a car

    DC Motor

    First order processes are characterized by:

    1. Their capacity to store material, momentum

    and energy

    2. The resistance associated with the flow of

    mass, momentum or energy in reaching their

    capacity

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    43/70

    43

    First Order SystemsFirst Order Systems

    Step response of first order process

    Step input signal of magnitude M

    The ultimate change in is given by

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    44/70

    44

    First Order SystemsFirst Order Systems

    Step responseStep response

    QuickTime and adecompressor

    are needed to see this picture.

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    45/70

    45

    First Order SystemsFirst Order Systems

    What do we look for?What do we look for?

    Systems Gain: SteadySystems Gain: Steady--State ResponseState Response

    Process Time Constant:Process Time Constant:

    What do we need?What do we need?

    System initially at equilibriumSystem initially at equilibrium

    Step input of magnitude MStep input of magnitude M

    Measure process gain from new steadyMeasure process gain from new steady--statestate

    Measure time constantMeasure time constant

    Time Required to Reach

    63.2% of final value

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    46/70

    46

    First Order SystemsFirst Order Systems

    First order systems are also called systems with finiteFirst order systems are also called systems with finite

    settling timesettling time The settling time is the time required for the system comesThe settling time is the time required for the system comes

    within 5% of the total change and stays 5% for all timeswithin 5% of the total change and stays 5% for all times

    Consider the step responseConsider the step response

    The overall change isThe overall change is

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    47/70

    47

    First Order SystemsFirst Order Systems

    Settling timeSettling time

    QuickTime and adecompressor

    are needed to see this picture.

    i di d

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    48/70

    48

    First Order SystemsFirst Order Systems

    Process initially at equilibrium subject to a step ofProcess initially at equilibrium subject to a step of

    magnitude 1magnitude 1

    QuickTi

    e

    and adeco

    p esso a

    e needed

    o see

    his pic

    u

    e

    Fi dFi d

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    49/70

    49

    First order processFirst order process

    Ramp response:Ramp response:

    Ramp input of slope a

    0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0

    0.5

    1

    1.5

    2

    2.5

    3

    3.5

    4

    4.5

    5

    Fi O d SFi O d S

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    50/70

    50

    First Order SystemsFirst Order Systems

    Sinusoidal responseSinusoidal response

    Sinusoidal inputAsin([t)

    0 2 4 6 8 10 12 14 16 18 20 -1.5

    -1

    -0.5

    0

    0.5

    1

    1.5

    2

    AR

    J

    Fi O d SFi O d S

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    51/70

    51

    First Order SystemsFirst Order Systems

    10-2

    10-1

    100

    101

    102

    10-2

    10-1

    100 Bode Plots

    10-2

    10-1

    100

    101

    102

    -100

    -80

    -60

    -40

    -20

    0

    High FrequencyAsymptoteCorner Frequency

    Amplitude Ratio Phase Shift

    I t ti S tI t ti S t

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    52/70

    52

    Integrating SystemsIntegrating Systems

    Example: Liquid storage tankExample: Liquid storage tank

    Laplace domain dynamicsLaplace domain dynamics

    If there is no outlet flow,If there is no outlet flow,

    h

    F

    Fi

    I t ti S tI t ti S t

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    53/70

    53

    Integrating SystemsIntegrating Systems

    ExampleExample

    CapacitorCapacitor

    Dynamics of both systems is equivalentDynamics of both systems is equivalent

    I t ti S tI t ti S t

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    54/70

    54

    Integrating SystemsIntegrating Systems

    Step input of magnitude MStep input of magnitude M

    TimeTime

    Slope =

    I t ti S tI t ti S t

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    55/70

    55

    Integrating SystemsIntegrating Systems

    Unit impulse responseUnit impulse response

    TimeTime

    I t ti S tI t ti S t

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    56/70

    56

    Integrating SystemsIntegrating Systems

    Rectangular pulse responseRectangular pulse response

    TimeTime

    S d d S tS d d S t

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    57/70

    57

    Second order SystemsSecond order Systems

    Second order process:Second order process:

    Assume the general formAssume the general form

    wherewhere = Process steady= Process steady--state gainstate gain

    = Process time constant= Process time constant= Damping Coefficient= Damping Coefficient

    Three families of processesThree families of processes

    UnderdampedUnderdampedCritically DampedCritically Damped

    OverdampedOverdamped

    Second Order S stemsSecond Order S stems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    58/70

    58

    Second Order SystemsSecond Order Systems

    Three types of second order process:

    1. Two First Order Systems in series or in parallel

    e.g. Two holding tanks in series

    2. Inherently second order processes: Mechanical systemspossessing inertia and subjected to some external force

    e.g. A pneumatic valve

    3. Processing system with a controller: Presence of a

    controller induces oscillatory behaviore.g. Feedback control system

    Second order SystemsSecond order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    59/70

    59

    Second order SystemsSecond order Systems

    Multicapacity Second Order ProcessesMulticapacity Second Order Processes

    Naturally arise from two first order processes in seriesNaturally arise from two first order processes in series

    By multiplicative property of transfer functions

    By multiplicative property of transfer functions

    Transfer FunctionsTransfer Functions

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    60/70

    6

    0

    Transfer FunctionsTransfer Functions

    First order systems in parallelFirst order systems in parallel

    Overall transfer function a second order process (with one zero)Overall transfer function a second order process (with one zero)

    +

    +

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    61/70

    6

    1

    Second Order SystemsSecond Order Systems

    Inherently second order process:Inherently second order process:

    e.g. Pneumatic Valve

    x

    p

    By Newtons law

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    62/70

    62

    Second Order SystemsSecond Order Systems

    Feedback Control SystemsFeedback Control Systems

    Second order SystemsSecond order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    63/70

    63

    Second order SystemsSecond order Systems

    Second order process:Second order process:

    Assume the general formAssume the general form

    wherewhere = Process steady= Process steady--state gainstate gain

    = Process time constant= Process time constant= Damping Coefficient= Damping Coefficient

    Three families of processesThree families of processes

    UnderdampedUnderdampedCritically DampedCritically Damped

    OverdampedOverdamped

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    64/70

    64

    Second Order SystemsSecond Order Systems

    Roots of the characteristic polynomial

    Case 1) Two distinct real roots

    System has an exponential behavior

    Case 2) One multiple real root

    Exponential behavior

    Case 3) Two complex roots

    System has an oscillatory behavior

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    65/70

    65

    Second Order SystemsSecond Order Systems

    Step response of magnitude MStep response of magnitude M

    0 1 2 3 4 5 6 7 8 9 10 0

    0.2

    0.4

    0.6

    0.8

    1

    1.2

    1.4

    1.6

    1.8

    2

    \!

    \!

    \!

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    66/70

    66

    Second Order SystemsSecond Order Systems

    Observations

    Responses exhibit overshoot when

    Large yield a slow sluggish response

    Systems with yield the fastest response without overshoot

    As with ) becomes smaller, system becomes more

    oscillatory

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    67/70

    67

    Second Order SystemsSecond Order Systems

    Characteristics of underdamped second order process

    1. Rise time,

    2. Time to first peak,

    3. Settling time,

    4. Overshoot:

    5. Decay ratio:

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    68/70

    68

    Second Order SystemsSecond Order Systems

    Step responseStep response

    QuickTime and adecompressor

    are needed to see this picture.

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    69/70

    69

    Second Order SystemsSecond Order Systems

    Sinusoidal ResponseSinusoidal Response

    wherewhere

    Second Order SystemsSecond Order Systems

  • 8/8/2019 MECH350 Notes 2010 Lecture4

    70/70

    70

    Second Order SystemsSecond Order Systems

    Qui i

    i i ure.


Recommended