control systems Chapter5.pdf

download control systems Chapter5.pdf

of 151

Transcript of control systems Chapter5.pdf

  • 8/14/2019 control systems Chapter5.pdf

    1/151

    Chapter 5

    Time Response

    Analysis

  • 8/14/2019 control systems Chapter5.pdf

    2/151

    Test signals

    Impulse

    Step

    Ramp

  • 8/14/2019 control systems Chapter5.pdf

    3/151

    Test signals

    Sinusoidal.

    (frequency response)

  • 8/14/2019 control systems Chapter5.pdf

    4/151

    Laplace Transforms

    step u-1 (t) 1/s

    Ramp t u-1 (t) 1/s2

    Impulse (t) 1

  • 8/14/2019 control systems Chapter5.pdf

    5/151

    Order of a

    system is ???

  • 8/14/2019 control systems Chapter5.pdf

    6/151

    Order of a

    system is order

    of the differential

    equation

  • 8/14/2019 control systems Chapter5.pdf

    7/151

    zeroth order system :

    C(s) / R(s) = K

    a constant(algebraic equation)

  • 8/14/2019 control systems Chapter5.pdf

    8/151

    dc tachogenerator

    Examples of zeroth

    order systems :

    Potentiometer

    dc amplifier

  • 8/14/2019 control systems Chapter5.pdf

    9/151

    First order systems:

    C(s) / R(s) = K / (s + a)

  • 8/14/2019 control systems Chapter5.pdf

    10/151

    Open loop1000 / ( 100 + 200 s )

    = 10 / ( 1 + 2 s )

    Closed loop

    1000 / ( 200 + 200 s )

    = 5 / ( 1 + s )

  • 8/14/2019 control systems Chapter5.pdf

    11/151

    open loop

    vt (s) = (vr (s) )(10 / ( 1+2 s ))

    = (25 / s )( 10 / (1 + 2 s)Vt () = 250 V

    closed loop

    vt(s) = ( 25 / s)( 5 / ( 1+s ))

    Vt () = 125 V.

  • 8/14/2019 control systems Chapter5.pdf

    12/151

    0

    50

    100

    150

    200

    250

    0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

    x1

    x2

  • 8/14/2019 control systems Chapter5.pdf

    13/151

    K : steady state value of the

    function

    : time constantsmaller, faster response.

    In general K ( 1- e - t / )

  • 8/14/2019 control systems Chapter5.pdf

    14/151

    Ramp response

    of first order

    systems

  • 8/14/2019 control systems Chapter5.pdf

    15/151

    Ramp Response

    r (t) = t u-1 (t)

    R (s) = 1 / s2

  • 8/14/2019 control systems Chapter5.pdf

    16/151

    1=KLet

    s1R(s)

    C(s)

    t

    K

    +=

  • 8/14/2019 control systems Chapter5.pdf

    17/151

  • 8/14/2019 control systems Chapter5.pdf

    18/151

    )s1(s

    1)2

    +

    =c(s

    +=

    s1s

    1

    s

    1

    2

  • 8/14/2019 control systems Chapter5.pdf

    19/151

    )e1(-t=c(t) -t/

  • 8/14/2019 control systems Chapter5.pdf

    20/151

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    0 0.5

    1 1.5

    2 2.5

    3 3.5

    4 4.5

    5 5.5

    6 6.5

    7 7.5

    8 9 9

  • 8/14/2019 control systems Chapter5.pdf

    21/151

    c

    t

  • 8/14/2019 control systems Chapter5.pdf

    22/151

  • 8/14/2019 control systems Chapter5.pdf

    23/151

    Second ordersystems

  • 8/14/2019 control systems Chapter5.pdf

    24/151

    2nn2

    2n

    +s2s)s(R

    )s(C

    +

    =

  • 8/14/2019 control systems Chapter5.pdf

    25/151

    For unit step input

    R (s ) =

    1

    s

  • 8/14/2019 control systems Chapter5.pdf

    26/151

    Applying final value

    theorem

    C(t) t =1.0

  • 8/14/2019 control systems Chapter5.pdf

    27/151

  • 8/14/2019 control systems Chapter5.pdf

    28/151

    r LKp KA+

    -

    +

    -

    KTRa

    1

    s(Js+B)

    sKb

  • 8/14/2019 control systems Chapter5.pdf

    29/151

    Taking

    KP = 0.1 V / radKA = 10 V / V

    KT = Kb = 0.5 Nm/A

    orV/rad/sec.

  • 8/14/2019 control systems Chapter5.pdf

    30/151

    B = 0.5 Nm / rad / sec

    J = 1 Kg m2

  • 8/14/2019 control systems Chapter5.pdf

    31/151

    1+ss1

    )s()s(

    2r

    L

    +=

  • 8/14/2019 control systems Chapter5.pdf

    32/151

    n = 1 rad / sec.

    = 0. 5

  • 8/14/2019 control systems Chapter5.pdf

    33/151

    s2 + s + 1 =

    (((( )))) (((( ))))s + 0.52

    3 2

    2

    ++++

  • 8/14/2019 control systems Chapter5.pdf

    34/151

  • 8/14/2019 control systems Chapter5.pdf

    35/151

    In general

    ( ) ( )222 1+s += nn

    s2

    + 2 n s + n2

  • 8/14/2019 control systems Chapter5.pdf

    36/151

    2

    n

    n1,2

    1j

    s

    =

  • 8/14/2019 control systems Chapter5.pdf

    37/151

    = - n j d

    d = n1 -2

    d damped frequency damping factorn undamped

    natural frequency

  • 8/14/2019 control systems Chapter5.pdf

    38/151

    For 0 < < 1

    roots of s are

    complex conjugate

  • 8/14/2019 control systems Chapter5.pdf

    39/151

    roots are

    repeating at

    s = - n

    For = 1

  • 8/14/2019 control systems Chapter5.pdf

    40/151

    For > 1

    roots are real

  • 8/14/2019 control systems Chapter5.pdf

    41/151

    = 0 : undamped0

  • 8/14/2019 control systems Chapter5.pdf

    42/151

    dampedover:1>

    dampedcritically:1

    =

  • 8/14/2019 control systems Chapter5.pdf

    43/151

    Unit step response

    r (t) = u-1 (t)

    1R (s) = ----

    s

  • 8/14/2019 control systems Chapter5.pdf

    44/151

    )()(

    0

    22

    2

    n

    n

    sssc

    +=

    =

  • 8/14/2019 control systems Chapter5.pdf

    45/151

    22

    1

    ns

    s

    s +=

  • 8/14/2019 control systems Chapter5.pdf

    46/151

  • 8/14/2019 control systems Chapter5.pdf

    47/151

    :10

  • 8/14/2019 control systems Chapter5.pdf

    48/151

    1C(s) = -

    s

    s + 2 n

    s2

    + 2 ns +n2

  • 8/14/2019 control systems Chapter5.pdf

    49/151

    1

    = -s

    s + ns2 + 2 ns +n2

    ns2 + 2 ns +n2

  • 8/14/2019 control systems Chapter5.pdf

    50/151

  • 8/14/2019 control systems Chapter5.pdf

    51/151

    atsin22

    + asa

  • 8/14/2019 control systems Chapter5.pdf

    52/151

    atsine

    a+)b+s(

    a

    atcosea+)b+s(

    b+s

    bt-

    22

    -bt

    22

  • 8/14/2019 control systems Chapter5.pdf

    53/151

    22

    2

    )(

    )(

    22

    dn

    n

    nn

    n

    s

    s

    ss

    s

    ++

    +

    =++

    +

  • 8/14/2019 control systems Chapter5.pdf

    54/151

  • 8/14/2019 control systems Chapter5.pdf

    55/151

    22

    22

    )(

    .

    2

    dn

    d

    d

    n

    n

    n

    s

    ss n

    ++

    =++

  • 8/14/2019 control systems Chapter5.pdf

    56/151

    tsine.d

    t-

    d

    n n

  • 8/14/2019 control systems Chapter5.pdf

    57/151

    tsine.

    1d

    t-

    2

    n

    =

  • 8/14/2019 control systems Chapter5.pdf

    58/151

    Combine sine cos terms :

    1

    1

    1 2-

    ( )

    1 2-

  • 8/14/2019 control systems Chapter5.pdf

    59/151

    1

    12

    -

    sin ( t +d ))))

    where cos = .

  • 8/14/2019 control systems Chapter5.pdf

    60/151

    )+t(sin1

    e

    -1

    =(t)c

    d2

    t- n

  • 8/14/2019 control systems Chapter5.pdf

    61/151

    C(t)

    1.0

    Time(t)

    1+e-nt

    1-2

    1-e-nt

    1-2

    Unit step response of 2nd order system for

  • 8/14/2019 control systems Chapter5.pdf

    62/151

    where ( n) is thereal part of roots

    - n

  • 8/14/2019 control systems Chapter5.pdf

    63/151

    d is the imaginarypart of rootsd =

    2n -1j

  • 8/14/2019 control systems Chapter5.pdf

    64/151

    Cos =

    1 -n 2

    - nn

  • 8/14/2019 control systems Chapter5.pdf

    65/151

    C(t)

    1.0

    tp

    Mp

    trTime

    Tolerance band

    Time response spceification

  • 8/14/2019 control systems Chapter5.pdf

    66/151

  • 8/14/2019 control systems Chapter5.pdf

    67/151

    sin (dt + ). cos

    - cos (dt + ).Sin = 0

  • 8/14/2019 control systems Chapter5.pdf

    68/151

    sin (d

    t) = 0

    dt =

  • 8/14/2019 control systems Chapter5.pdf

    69/151

  • 8/14/2019 control systems Chapter5.pdf

    70/151

    At t = tp ,

    )+(sin1

    1)( 2

    .

    =

    pnt

    p

    e

    tc

  • 8/14/2019 control systems Chapter5.pdf

    71/151

    2

    1

    21.1

    =

    +=

    eM

    e

    p

    nn

  • 8/14/2019 control systems Chapter5.pdf

    72/151

    %.10021

    =

    e

  • 8/14/2019 control systems Chapter5.pdf

    73/151

    As damping factor

    increases

    peak overshoot ??

  • 8/14/2019 control systems Chapter5.pdf

    74/151

    As damping factor

    increases

    peak overshoot reduces

    M

  • 8/14/2019 control systems Chapter5.pdf

    75/151

    p

    0 100

    0.1 730.2 53

    0.3 370.4 25

    0.5 16

    Mp

    0.7 4.60.8 1.5

    0.9 0.02

    1.0 0

    0.6 9.5

    100

  • 8/14/2019 control systems Chapter5.pdf

    76/151

    0

    10

    2030

    405060

    70

    8090

    0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

    %

    Mp

  • 8/14/2019 control systems Chapter5.pdf

    77/151

    Settling time (ts)

    Assume tolerance

    band 5 %

  • 8/14/2019 control systems Chapter5.pdf

    78/151

    0.05 = e-nts

  • 8/14/2019 control systems Chapter5.pdf

    79/151

    n

    snn

    tl

    3=or t

    )05.0(

    s

    =

  • 8/14/2019 control systems Chapter5.pdf

    80/151

    n

    s

    4

    isetoleranc2%fort

    Rise time (t )

  • 8/14/2019 control systems Chapter5.pdf

    81/151

    r

    )+t(sin

    1

    e-1=1=)(tc

    rd

    2

    t-

    r

    rn

  • 8/14/2019 control systems Chapter5.pdf

    82/151

    orsin (dtr + ) = 0

    dtr + =

  • 8/14/2019 control systems Chapter5.pdf

    83/151

    trd

    ====

    or

  • 8/14/2019 control systems Chapter5.pdf

    84/151

  • 8/14/2019 control systems Chapter5.pdf

    85/151

  • 8/14/2019 control systems Chapter5.pdf

    86/151

    1 n2

    = 1-s2 (s2 + 2 ns + n2)

    E(s) = R(s) - C(s)

  • 8/14/2019 control systems Chapter5.pdf

    87/151

    2n

    2

    n2

    2 +s2s

    2

    .

    1

    n

    ss

    s

    ++

    =

  • 8/14/2019 control systems Chapter5.pdf

    88/151

    n2=

    e(t) = Lt sE(s)

    t s 0

  • 8/14/2019 control systems Chapter5.pdf

    89/151

    Some more MATLAB

    d

  • 8/14/2019 control systems Chapter5.pdf

    90/151

    commands .

    >> ng = [1 1]; dg =[1 2];

    >> printsys (ng,dg)

    num/den =

    ++++ 1S

  • 8/14/2019 control systems Chapter5.pdf

    91/151

    >>>>>>>>++++++++

    2S

    1S

    t ( )

  • 8/14/2019 control systems Chapter5.pdf

    92/151

    >> z = roots(ng)

    z =

    -1

    >> t (d )

  • 8/14/2019 control systems Chapter5.pdf

    93/151

    >> p = roots(dg)

    p =

    -2

    >>

    >> ( d )

  • 8/14/2019 control systems Chapter5.pdf

    94/151

    >>pzmap(ng,dg)

    >>title(pole-zero map)

    >>[nt,dt] =

  • 8/14/2019 control systems Chapter5.pdf

    95/151

    cloop(ng,dg,-1)

    >>zc = roots(nt)

    zc =

    -1

    >> t (dt)

  • 8/14/2019 control systems Chapter5.pdf

    96/151

    >>pc = roots(dt)

    pc = -1.5

    >>

  • 8/14/2019 control systems Chapter5.pdf

    97/151

    >>t = [0:0 5:10];

  • 8/14/2019 control systems Chapter5.pdf

    98/151

    >>t = [0:0.5:10];

    >>[y,x,t] = step(ng,dg,t);

    >>plot(t,y), grid

  • 8/14/2019 control systems Chapter5.pdf

    99/151

    >>xlabel(Time[sec])

  • 8/14/2019 control systems Chapter5.pdf

    100/151

    >>xlabel(Time[sec])

    >>ylabel(output)

  • 8/14/2019 control systems Chapter5.pdf

    101/151

    An example :

  • 8/14/2019 control systems Chapter5.pdf

    102/151

    R +

    -

    K 1s(s+1)

    C

    KG

  • 8/14/2019 control systems Chapter5.pdf

    103/151

    Kss

    KRC

    ss

    KG

    ++=

    +=

    2

    )1(

    K=

  • 8/14/2019 control systems Chapter5.pdf

    104/151

    K

    Kn

    2

    1=

    n

    Let K = 100

  • 8/14/2019 control systems Chapter5.pdf

    105/151

    Let K = 100

    n = 10 rad / sec

    = 0.05

    ====Mp

  • 8/14/2019 control systems Chapter5.pdf

    106/151

    M

    e

    p

    1 2

    100%= 85 %

    e for ramp input

  • 8/14/2019 control systems Chapter5.pdf

    107/151

    ess for ramp input

    = 2 /n= 0.1 / 10

    = 0.01

    While the steady state

  • 8/14/2019 control systems Chapter5.pdf

    108/151

    While the steady stateerror is acceptable

    Mp is not. - Damping

    to be increased to say,

    0.5

    1=2Then

  • 8/14/2019 control systems Chapter5.pdf

    109/151

    10.52

    1

    =

    1=2Then

    n

    n

    =

    ess increases to 1 - not

  • 8/14/2019 control systems Chapter5.pdf

    110/151

    ess increases to 1 not

    acceptable. So we go forchanging the configuration

    of the amplifier - derivativeerror compensation.

    Error coefficients

  • 8/14/2019 control systems Chapter5.pdf

    111/151

    R(s)+

    -

    E(s) C(s)G(s)

    We know

    C (s) = R (s) G (s) / ( 1+G (s) )

  • 8/14/2019 control systems Chapter5.pdf

    112/151

    C (s) = R (s) . G (s) / ( 1+G (s) )

    andE (s) G (s) = C (s)

    ( )(s)G+1(s)R=(s)E

  • 8/14/2019 control systems Chapter5.pdf

    113/151

    (s)EsLt=

    )(eerrorstateSteady

    0s

    ss

    step input

    R (s) = 1 /s

  • 8/14/2019 control systems Chapter5.pdf

    114/151

    R (s) = 1 /s

    (constant position)

    )(1

    1.1

    0 sGs

    sLtes

    ss

    +

    =

    Let

  • 8/14/2019 control systems Chapter5.pdf

    115/151

    coeff.)error(position

    )(0 ps KsGLt =

    Then

    1

  • 8/14/2019 control systems Chapter5.pdf

    116/151

    p

    ssK

    e+

    =1

    1

    Ramp input

  • 8/14/2019 control systems Chapter5.pdf

    117/151

    R (s) = 1/s

    2

    (Constant velocity)

    Steady state error

    in position

    GsLt

    )(1

    112=

  • 8/14/2019 control systems Chapter5.pdf

    118/151

    vs

    s

    KssGLt

    sGssLt

    1)(

    1

    )(1.

    0

    20

    +=

    K v = velocity error coefficient

    parabolic input

    R (s) = 1/s3

  • 8/14/2019 control systems Chapter5.pdf

    119/151

    R (s) = 1/s3

    (constant acceleration)

    Steady state error

    in position

    sGsLt

    )(1

    11. 30 +=

  • 8/14/2019 control systems Chapter5.pdf

    120/151

    as

    s

    KsGsLt

    sGs

    1

    )(

    1

    )(1

    20

    30

    =

    +=

    Ka = acceleration errorcoefficient

    )( ))(( ++ zszs

  • 8/14/2019 control systems Chapter5.pdf

    121/151

    systemtheoftype

    )(....))((

    )(....))((

    )( 21

    21

    ++

    ++

    =

    n

    pspss

    zszs

    sG n

    Type 0 system

  • 8/14/2019 control systems Chapter5.pdf

    122/151

    valuefinite1

    1e

    valuefinite)(

    ss

    0

    =+=

    ==

    p

    sp

    K

    sGLtK

    Type 0 system

  • 8/14/2019 control systems Chapter5.pdf

    123/151

    =

    ==

    ss

    0

    e

    0)(ssGLtKs

    v

    Type 0 system

  • 8/14/2019 control systems Chapter5.pdf

    124/151

    =

    ==

    ss

    20

    e

    0)(sGsLtKs

    a

    Type 1 system

  • 8/14/2019 control systems Chapter5.pdf

    125/151

    0e

    )(

    ss

    0

    === sGtLK sp

    Type 1 system

    sGstLK )(

  • 8/14/2019 control systems Chapter5.pdf

    126/151

    finiteK

    finite

    sGstLK

    v

    sv

    ===

    =

    1e

    )(

    ss

    0

    Type 1 system

  • 8/14/2019 control systems Chapter5.pdf

    127/151

    =

    ==

    ss

    2

    0

    e

    0)(sGsLtK sa

  • 8/14/2019 control systems Chapter5.pdf

    128/151

    Type 2 system

  • 8/14/2019 control systems Chapter5.pdf

    129/151

    0e

    (s)GstLK

    ss

    0sv

    ===

    Type 2 system

  • 8/14/2019 control systems Chapter5.pdf

    130/151

    finiteK

    finite

    a==

    == 1e

    (s)GsLtK

    ss

    2

    0sa

    input

    Type

    tu t

    2

    12 ( )

    1

    u-1(t) tu-1

    (t)

  • 8/14/2019 control systems Chapter5.pdf

    131/151

    1

    1++++Kp

    1Kv

    aK1

    0

    1

    2

    0

    0 0

    When feedback is non unity,

    )()(Lt sHsGK =

  • 8/14/2019 control systems Chapter5.pdf

    132/151

    )()(Lt

    )()(Lt

    )()(Lt

    2

    0s

    0s

    0s

    sHsGsK

    sHsGsK

    sHsGK

    a

    v

    p

    =

    =

    Derivative error

    Compensation

  • 8/14/2019 control systems Chapter5.pdf

    133/151

    R +

    -

    K1

    s(s+1)

    C

    r

    Kp KA+ -

  • 8/14/2019 control systems Chapter5.pdf

    134/151

    L

    L+-

    KT

    /Ra

    1

    s(Js+B)

    sKb

  • 8/14/2019 control systems Chapter5.pdf

    135/151

    ess for ramp input

  • 8/14/2019 control systems Chapter5.pdf

    136/151

    e p p(type 1 system)

    = 0.01

    Objective : increase the

    damping factor

  • 8/14/2019 control systems Chapter5.pdf

    137/151

    from 0.05 to 0.5.Change the amplifier

    transfer function

    to K + s KD

    )1()(

    ++= sssKKsG D

  • 8/14/2019 control systems Chapter5.pdf

    138/151

    )1( +ss

    D

    DKsKss

    KsK

    sG

    sG

    1)(

    )(2 +++

    +=+

    n = K ( no change)

    = 10 rad/sec

  • 8/14/2019 control systems Chapter5.pdf

    139/151

    2n = 1 + KD

    for = 0.5,

    KD = 9

    ess for ramp inputremains the same

  • 8/14/2019 control systems Chapter5.pdf

    140/151

    eremains the sameat 0.01

    ts

    n

    sec.( .2%)4

    08==== ====

    R + 1 C+

    Derivative output Compensation

  • 8/14/2019 control systems Chapter5.pdf

    141/151

    R +

    - K1

    s(s+1)

    sKt

    -

    Introduce another feed back loop

    KsG =)(

  • 8/14/2019 control systems Chapter5.pdf

    142/151

    KKss

    K

    sGsG

    Kss

    sG

    t

    t

    +++=+

    ++

    )1())(1()(

    )1(

    )(

    2

    Specifications

    = 0.5

  • 8/14/2019 control systems Chapter5.pdf

    143/151

    ess for ramp input

    = 0.01

    K Lt sG sv s==== 0 ( )

  • 8/14/2019 control systems Chapter5.pdf

    144/151

    K

    Kt====

    ++++ ====

    1100 - - - - - (1 )

  • 8/14/2019 control systems Chapter5.pdf

    145/151

    )2(1K

    12

    +=

    +=t

    tn

    Kor

    K

    From (1) & (2),

  • 8/14/2019 control systems Chapter5.pdf

    146/151

    .99

    10000

    100

    =

    =

    =

    tK

    Kor

    K

  • 8/14/2019 control systems Chapter5.pdf

    147/151

    Integral Control

  • 8/14/2019 control systems Chapter5.pdf

    148/151

    +

    -

    KK

    sAI++++

    1

    1s s( )++++

  • 8/14/2019 control systems Chapter5.pdf

    149/151

    )1(

    )(2

    ++=

    ss

    KsKsG IA

    type 2

    ess for step input = 0

  • 8/14/2019 control systems Chapter5.pdf

    150/151

    essfor ramp input = 0

    essfor parabolic input is finite

    However system

    becomes of 3 rd order

  • 8/14/2019 control systems Chapter5.pdf

    151/151

    - stability problem -

    will be discussed inlater chapters