+ All Categories
Home > Documents > s-z-conv-1

s-z-conv-1

Date post: 04-Jun-2018
Category:
Upload: ram-krishan-sharma
View: 215 times
Download: 0 times
Share this document with a friend

of 178

Transcript
  • 8/13/2019 s-z-conv-1

    1/178

    1. s to Z-Domain Transfer Function

  • 8/13/2019 s-z-conv-1

    2/178

    1. s to Z-Domain Transfer Function

    DiscreteZOH

    Signals

  • 8/13/2019 s-z-conv-1

    3/178

    1. s to Z-Domain Transfer Function

    DiscreteZOH

    Signals

    1. Get step responseof continuous trans-fer functionys(t).

  • 8/13/2019 s-z-conv-1

    4/178

    1. s to Z-Domain Transfer Function

    DiscreteZOH

    Signals

    1. Get step responseof continuous trans-fer functionys(t).

    2. Discretize step re-sponse: ys(nTs).

  • 8/13/2019 s-z-conv-1

    5/178

    1. s to Z-Domain Transfer Function

    DiscreteZOH

    Signals

    1. Get step responseof continuous trans-fer functionys(t).

    2. Discretize step re-sponse: ys(nTs).

    1. Z-transform the step re-

    sponse to obtain Ys(z).

  • 8/13/2019 s-z-conv-1

    6/178

    1. s to Z-Domain Transfer Function

    DiscreteZOH

    Signals

    1. Get step responseof continuous trans-fer functionys(t).

    2. Discretize step re-sponse: ys(nTs).

    1. Z-transform the step re-

    sponse to obtain Ys(z).2. Divide the result from

    above by Z-transform of astep, namely,z/(z 1).

  • 8/13/2019 s-z-conv-1

    7/178

    1. s to Z-Domain Transfer Function

    DiscreteZOH

    Signals

    1. Get step responseof continuous trans-fer functionys(t).

    2. Discretize step re-sponse: ys(nTs).

    1. Z-transform the step re-

    sponse to obtain Ys(z).2. Divide the result from

    above by Z-transform of astep, namely,z/(z 1).

    Ga(s): Laplace transferfunction

  • 8/13/2019 s-z-conv-1

    8/178

    1. s to Z-Domain Transfer Function

    DiscreteZOHSignals

    1. Get step responseof continuous trans-fer functionys(t).

    2. Discretize step re-sponse: ys(nTs).

    1. Z-transform the step re-

    sponse to obtain Ys(z).2. Divide the result from

    above by Z-transform of astep, namely,z/(z 1).

    Ga(s): Laplace transferfunction

    G(z): Z-transfer function

  • 8/13/2019 s-z-conv-1

    9/178

    1. s to Z-Domain Transfer Function

    DiscreteZOHSignals

    1. Get step responseof continuous trans-fer functionys(t).

    2. Discretize step re-sponse: ys(nTs).

    1. Z-transform the step re-

    sponse to obtain Ys(z).2. Divide the result from

    above by Z-transform of astep, namely,z/(z 1).

    Ga(s): Laplace transferfunction

    G(z): Z-transfer function

    G(z) =z 1

    zZ

    L1

    Ga(s)

    s

  • 8/13/2019 s-z-conv-1

    10/178

    1. s to Z-Domain Transfer Function

    DiscreteZOHSignals

    1. Get step responseof continuous trans-fer functionys(t).

    2. Discretize step re-sponse: ys(nTs).

    1. Z-transform the step re-

    sponse to obtain Ys(z).2. Divide the result from

    above by Z-transform of astep, namely,z/(z 1).

    Ga(s): Laplace transferfunction

    G(z): Z-transfer function

    G(z) =z 1

    zZ

    L1

    Ga(s)

    s

    Step Response Equivalence

  • 8/13/2019 s-z-conv-1

    11/178

    1. s to Z-Domain Transfer Function

    DiscreteZOHSignals

    1. Get step responseof continuous trans-fer functionys(t).

    2. Discretize step re-sponse: ys(nTs).

    1. Z-transform the step re-

    sponse to obtain Ys(z).2. Divide the result from

    above by Z-transform of astep, namely,z/(z 1).

    Ga(s): Laplace transferfunction

    G(z): Z-transfer function

    G(z) =z 1

    zZ

    L1

    Ga(s)

    s

    Step Response Equivalence = ZOH EquivalenceDigital Control 1 Kannan M. Moudgalya, Autumn 2007

  • 8/13/2019 s-z-conv-1

    12/178

  • 8/13/2019 s-z-conv-1

    13/178

    2. Important Result from Differentiation

    Recall

    1(n)an z

    z a=

    n=0

    anzn,

    Differentiating w.r.t. a,

  • 8/13/2019 s-z-conv-1

    14/178

    2. Important Result from Differentiation

    Recall

    1(n)an z

    z a=

    n=0

    anzn,

    Differentiating w.r.t. a,z

    (z a)2=

    n=0nan1zn

  • 8/13/2019 s-z-conv-1

    15/178

    2. Important Result from Differentiation

    Recall

    1(n)an z

    z a=

    n=0

    anzn,

    Differentiating w.r.t. a,z

    (z a)2=

    n=0nan1zn

    nan11(n) z(z a)2

  • 8/13/2019 s-z-conv-1

    16/178

    2. Important Result from Differentiation

    Recall

    1(n)an z

    z a=

    n=0

    anzn,

    Differentiating w.r.t. a,z

    (z a)2=

    n=0nan1zn

    nan11(n) z(z a)2

    n(n 1)an21(n) 2z

    (z a)3Digital Control 2 Kannan M. Moudgalya, Autumn 2007

  • 8/13/2019 s-z-conv-1

    17/178

    3. ZOH Equivalence of 1/s

  • 8/13/2019 s-z-conv-1

    18/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is

  • 8/13/2019 s-z-conv-1

    19/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2.

  • 8/13/2019 s-z-conv-1

    20/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

  • 8/13/2019 s-z-conv-1

    21/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2

  • 8/13/2019 s-z-conv-1

    22/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

  • 8/13/2019 s-z-conv-1

    23/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

    Sampling it with a pe-riod ofTs,

  • 8/13/2019 s-z-conv-1

    24/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

    Sampling it with a pe-riod ofTs,

    ys(nTs) =

    /

  • 8/13/2019 s-z-conv-1

    25/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

    Sampling it with a pe-riod ofTs,

    ys(nTs) = nTs

    ZO i l f /

  • 8/13/2019 s-z-conv-1

    26/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

    Sampling it with a pe-riod ofTs,

    ys(nTs) = nTs

    Taking Z-transforms

    Ys(z) =

    ZOH E i l f 1/

  • 8/13/2019 s-z-conv-1

    27/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

    Sampling it with a pe-riod ofTs,

    ys(nTs) = nTs

    Taking Z-transforms

    Ys(z) = Tsz

    (z 1)2

    ZOH E i l f 1/

  • 8/13/2019 s-z-conv-1

    28/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

    Sampling it with a pe-riod ofTs,

    ys(nTs) = nTs

    Taking Z-transforms

    Ys(z) = Tsz

    (z 1)2

    Divide by z/(z1),

    3 ZOH E i l f 1/

  • 8/13/2019 s-z-conv-1

    29/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

    Sampling it with a pe-riod ofTs,

    ys(nTs) = nTs

    Taking Z-transforms

    Ys(z) = Tsz

    (z 1)2

    Divide by z/(z1), toget the ZOH equivalentdiscrete domain transferfunction

    3 ZOH E i l f 1/

  • 8/13/2019 s-z-conv-1

    30/178

    3. ZOH Equivalence of 1/s

    The step response of

    1/s is 1/s2. In timedomain, it is,

    ys(t) = L11

    s2=t

    Sampling it with a pe-riod ofTs,

    ys(nTs) = nTs

    Taking Z-transforms

    Ys(z) = Tsz

    (z 1)2

    Divide by z/(z1), toget the ZOH equivalentdiscrete domain transferfunction

    G(z) = Ts

    z 1

    Digital Control 3 Kannan M. Moudgalya, Autumn 2007

    4 ZOH E i l f 1/ 2

  • 8/13/2019 s-z-conv-1

    31/178

    4. ZOH Equivalence of 1/s2

    4 ZOH Equivalence of 1/s2

  • 8/13/2019 s-z-conv-1

    32/178

    4. ZOH Equivalence of 1/s2

    The step response of

    1/s2 is

    4 ZOH Equivalence of 1/s2

  • 8/13/2019 s-z-conv-1

    33/178

    4. ZOH Equivalence of 1/s2

    The step response of

    1/s2 is 1/s3.

  • 8/13/2019 s-z-conv-1

    34/178

  • 8/13/2019 s-z-conv-1

    35/178

    4 ZOH Equivalence of 1/s2

  • 8/13/2019 s-z-conv-1

    36/178

    4. ZOH Equivalence of 1/s

    The step response of

    1/s2 is 1/s3. In timedomain, it is,

    ys(t) = L11

    s3=

    1

    2

    t2.

    4 ZOH Equivalence of 1/s2

  • 8/13/2019 s-z-conv-1

    37/178

    4. ZOH Equivalence of 1/s

    The step response of

    1/s2 is 1/s3. In timedomain, it is,

    ys(t) = L11

    s3=

    1

    2

    t2.

    Sampling it with a pe-riod ofTs,

    ys(nTs) =12

    n2T2s

  • 8/13/2019 s-z-conv-1

    38/178

    4. ZOH Equivalence of 1/s2

  • 8/13/2019 s-z-conv-1

    39/178

    4. ZOH Equivalence of 1/s

    The step response of

    1/s2 is 1/s3. In timedomain, it is,

    ys(t) = L11

    s3=

    1

    2

    t2.

    Sampling it with a pe-riod ofTs,

    ys(nTs) =12

    n2T2s

    Take Z-transform

    Ys(z) =T2s z(z+ 1)

    2(z 1)3

    4. ZOH Equivalence of 1/s2

  • 8/13/2019 s-z-conv-1

    40/178

    q /

    The step response of

    1/s2 is 1/s3. In timedomain, it is,

    ys(t) = L11

    s3=

    1

    2

    t2.

    Sampling it with a pe-riod ofTs,

    ys(nTs) =12

    n2T2s

    Take Z-transform

    Ys(z) =T2s z(z+ 1)

    2(z 1)3

    Dividing byz/(z 1),we get

    G(z) =T2s (z+ 1)

    2(z 1)2

    Digital Control 4 Kannan M. Moudgalya, Autumn 2007

    5. ZOH Equivalent First Order Transfer Function

  • 8/13/2019 s-z-conv-1

    41/178

    q

    5. ZOH Equivalent First Order Transfer Function

  • 8/13/2019 s-z-conv-1

    42/178

    Find the ZOH equivalent ofK/( s+ 1).

    5. ZOH Equivalent First Order Transfer Function

  • 8/13/2019 s-z-conv-1

    43/178

    Find the ZOH equivalent ofK/( s+ 1).

    Ys(s) =1

    s

    K

    s+ 1= K

    1

    s

    1

    s+ 1

    5. ZOH Equivalent First Order Transfer Function

  • 8/13/2019 s-z-conv-1

    44/178

    Find the ZOH equivalent ofK/( s+ 1).

    Ys(s) =1

    s

    K

    s+ 1= K

    1

    s

    1

    s+ 1

    ys(t) =K1 et/ , t 0

    5. ZOH Equivalent First Order Transfer Function

  • 8/13/2019 s-z-conv-1

    45/178

    Find the ZOH equivalent ofK/( s+ 1).

    Ys(s) =1

    s

    K

    s+ 1= K

    1

    s

    1

    s+ 1

    ys(t) =K1 et/ , t 0ys(nTs) =K

    1 enTs/

    , n 0

    5. ZOH Equivalent First Order Transfer Function

  • 8/13/2019 s-z-conv-1

    46/178

    Find the ZOH equivalent ofK/( s+ 1).

    Ys(s) =1

    s

    K

    s+ 1= K

    1

    s

    1

    s+ 1

    ys(t) =K1 et/ , t 0ys(nTs) =K

    1 enTs/

    , n 0

    Ys(z) =K zz 1

    z

    z eT

    s/

    5. ZOH Equivalent First Order Transfer Function

  • 8/13/2019 s-z-conv-1

    47/178

    Find the ZOH equivalent ofK/( s+ 1).

    Ys(s) =1

    s

    K

    s+ 1= K

    1

    s

    1

    s+ 1

    ys(t) =K1 et/ , t 0ys(nTs) =K

    1 enTs/

    , n 0

    Ys(z) =K z

    z 1

    z

    z eT

    s/ =

    Kz(1 eTs/)

    (z 1)(z eT

    s/

    )

    5. ZOH Equivalent First Order Transfer Function

  • 8/13/2019 s-z-conv-1

    48/178

    Find the ZOH equivalent ofK/( s+ 1).

    Ys(s) =1

    s

    K

    s+ 1= K

    1

    s

    1

    s+ 1

    ys(t) =K1 et/ , t 0ys(nTs) =K

    1 enTs/

    , n 0

    Ys(z) =K z

    z 1

    z

    z eTs/ =

    Kz(1 eTs/)

    (z 1)(z eTs/

    )Dividing byz/(z 1), we get

    G(z) =K(1 eTs/)

    z eTs/

    Digital Control 5 Kannan M. Moudgalya, Autumn 2007

    6. ZOH Equivalent First Order Transfer FunctionExample

  • 8/13/2019 s-z-conv-1

    49/178

    - Example

    6. ZOH Equivalent First Order Transfer FunctionExample

  • 8/13/2019 s-z-conv-1

    50/178

    - Example

    Sample at Ts = 0.5and find ZOH equivalenttrans. function of

    Ga(s) =

    10

    5s+ 1

    6. ZOH Equivalent First Order Transfer FunctionExample

  • 8/13/2019 s-z-conv-1

    51/178

    - Example

    Sample at Ts

    = 0.5and find ZOH equivalenttrans. function of

    Ga(s) =

    10

    5s+ 1

    Scilab Code:

    6. ZOH Equivalent First Order Transfer Function- Example

  • 8/13/2019 s-z-conv-1

    52/178

    - Example

    Sample at Ts

    = 0.5and find ZOH equivalenttrans. function of

    Ga(s) =

    10

    5s+ 1

    Scilab Code:Ga = tf(10,[5 1]);

    6. ZOH Equivalent First Order Transfer Function- Example

  • 8/13/2019 s-z-conv-1

    53/178

    - Example

    Sample at Ts

    = 0.5and find ZOH equivalenttrans. function of

    Ga(s) =

    10

    5s+ 1

    Scilab Code:Ga = tf(10,[5 1]);

    G = ss2tf(dscr(Ga,0.5));

    6. ZOH Equivalent First Order Transfer Function- Example

  • 8/13/2019 s-z-conv-1

    54/178

    Example

    Sample at Ts

    = 0.5and find ZOH equivalenttrans. function of

    Ga(s) =

    10

    5s+ 1

    Scilab Code:Ga = tf(10,[5 1]);

    G = ss2tf(dscr(Ga,0.5));

    Scilab output is,

    6. ZOH Equivalent First Order Transfer Function- Example

  • 8/13/2019 s-z-conv-1

    55/178

    Example

    Sample at Ts

    = 0.5and find ZOH equivalenttrans. function of

    Ga(s) =

    10

    5s+ 1

    Scilab Code:Ga = tf(10,[5 1]);

    G = ss2tf(dscr(Ga,0.5));

    Scilab output is,

    G(z) = 0.9546

    z 0.9048

    6. ZOH Equivalent First Order Transfer Function- Example

  • 8/13/2019 s-z-conv-1

    56/178

    Example

    Sample at Ts

    = 0.5and find ZOH equivalenttrans. function of

    Ga(s) =

    10

    5s+ 1

    Scilab Code:Ga = tf(10,[5 1]);

    G = ss2tf(dscr(Ga,0.5));

    Scilab output is,

    G(z) = 0.9546

    z 0.9048

    =10(1 e0.1)

    z e0.1

    6. ZOH Equivalent First Order Transfer Function- Example

  • 8/13/2019 s-z-conv-1

    57/178

    p

    Sample at Ts

    = 0.5and find ZOH equivalenttrans. function of

    Ga(s) =

    10

    5s+ 1Scilab Code:Ga = tf(10,[5 1]);

    G = ss2tf(dscr(Ga,0.5));

    Scilab output is,

    G(z) = 0.9546

    z 0.9048

    =10(1 e0.1)

    z e0.1

    In agreement with theformula in the previousslide

    Digital Control 6 Kannan M. Moudgalya, Autumn 2007

    7. Discrete Integration

  • 8/13/2019 s-z-conv-1

    58/178

    7. Discrete Integration

  • 8/13/2019 s-z-conv-1

    59/178

    u(k)

    n

    u(n)

    u

    (k

    1)

  • 8/13/2019 s-z-conv-1

    60/178

    7. Discrete Integration

    y(k) = blue shaded area

  • 8/13/2019 s-z-conv-1

    61/178

    u(k)

    n

    u(n)

    u

    (k

    1)

    y(k) =blue shaded area

    +red shaded area

    7. Discrete Integration

    y(k) = blue shaded area

  • 8/13/2019 s-z-conv-1

    62/178

    u(k)

    n

    u(n)

    u

    (k

    1)

    y(k) =blue shaded area

    +red shaded area

    y(k) =y(k 1)

    7. Discrete Integration

    ( ) y(k) = blue shaded area

  • 8/13/2019 s-z-conv-1

    63/178

    u(k)

    n

    u(n)

    u

    (k

    1)

    y(k) =blue shaded area

    +red shaded area

    y(k) =y(k 1) +red shaded area

    7. Discrete Integration

    ( ) y(k) = blue shaded area

  • 8/13/2019 s-z-conv-1

    64/178

    u(k)

    n

    u(n)

    u(k 1)

    y(k) =blue shaded area

    +red shaded area

    y(k) =y(k 1) +red shaded area

    y(k) =y(k 1) +Ts

    2[u(k) +u(k 1)]

  • 8/13/2019 s-z-conv-1

    65/178

    7. Discrete Integration

    u(n) y(k) = blue shaded area

  • 8/13/2019 s-z-conv-1

    66/178

    u(k)

    n

    u(n)

    u(k 1)

    y(k) blue shaded area

    +red shaded area

    y(k) =y(k 1) +red shaded area

    y(k) =y(k 1) +Ts

    2[u(k) +u(k 1)]

    Take Z-transform:

    Y(z) =z1Y(z) +Ts

    2

    U(z) +z1U(z)

    7. Discrete Integration

    u(n) y(k) =blue shaded area

  • 8/13/2019 s-z-conv-1

    67/178

    u(k)

    n

    u(n)

    u(k 1)

    y( )

    +red shaded area

    y(k) =y(k 1) +red shaded area

    y(k) =y(k 1) +Ts

    2[u(k) +u(k 1)]

    Take Z-transform:

    Y(z) =z1Y(z) +Ts

    2

    U(z) +z1U(z)

    Bring allY to left side:

    7. Discrete Integration

    u(n) y(k) =blue shaded area

  • 8/13/2019 s-z-conv-1

    68/178

    u(k)

    n

    u(n)

    u(k 1)

    y( )

    +red shaded area

    y(k) =y(k 1) +red shaded area

    y(k) =y(k 1) +Ts

    2[u(k) +u(k 1)]

    Take Z-transform:

    Y(z) =z1Y(z) +Ts

    2

    U(z) +z1U(z)

    Bring allY to left side:

    Y(z) z1Y(z) =Ts

    2

    U(z) +z1U(z)

    7. Discrete Integration

    u(n) y(k) =blue shaded area

  • 8/13/2019 s-z-conv-1

    69/178

    u(k)

    n

    ( )

    u(k 1)

    y( )

    +red shaded area

    y(k) =y(k 1) +red shaded area

    y(k) =y(k 1) +Ts

    2[u(k) +u(k 1)]

    Take Z-transform:

    Y(z) =z1Y(z) +Ts

    2

    U(z) +z1U(z)

    Bring allY to left side:

    Y(z) z1Y(z) =Ts

    2

    U(z) +z1U(z)

    (1 z1)Y(z) =

    Ts

    2(1 +z1)U(z)

    Digital Control 7 Kannan M. Moudgalya, Autumn 2007

    8. Transfer Function for Discrete Integration

  • 8/13/2019 s-z-conv-1

    70/178

    8. Transfer Function for Discrete Integration

    Recall from previous slide

  • 8/13/2019 s-z-conv-1

    71/178

    Recall from previous slide

    (1 z1)Y(z) =T

    s2 (1 +z

    1)U(z)

    8. Transfer Function for Discrete Integration

    Recall from previous slide

  • 8/13/2019 s-z-conv-1

    72/178

    Recall from previous slide

    (1 z1)Y(z) =T

    s2 (1 +z

    1)U(z)

    Y(z) =Ts

    2

    1 +z1

    1 z1U(z)

    8. Transfer Function for Discrete Integration

    Recall from previous slide

  • 8/13/2019 s-z-conv-1

    73/178

    Recall from previous slide

    (1 z1)Y(z) =T

    s2 (1 +z

    1)U(z)

    Y(z) =Ts

    2

    1 +z1

    1 z1U(z)

    = Ts2

    z+ 1z 1

    U(z)

    8. Transfer Function for Discrete Integration

    Recall from previous slide

  • 8/13/2019 s-z-conv-1

    74/178

    p

    (1 z1)Y(z) =Ts

    2 (1 +z1)U(z)

    Y(z) =Ts

    2

    1 +z1

    1 z1U(z)

    = Ts2

    z+ 1z 1

    U(z)

    Integrator has a transfer function,

    8. Transfer Function for Discrete Integration

    Recall from previous slide

  • 8/13/2019 s-z-conv-1

    75/178

    p

    (1 z1)Y(z) =Ts

    2 (1 +z1)U(z)

    Y(z) =Ts

    2

    1 +z1

    1 z1U(z)

    = Ts2

    z+ 1z 1

    U(z)

    Integrator has a transfer function,

    GI(z) =Ts

    2

    z+ 1

    z 1

    8. Transfer Function for Discrete Integration

    Recall from previous slide

  • 8/13/2019 s-z-conv-1

    76/178

    p

    (1 z1)Y(z) =Ts

    2 (1 +z1)U(z)

    Y(z) =Ts

    2

    1 +z1

    1 z1U(z)

    = Ts2

    z+ 1z 1

    U(z)

    Integrator has a transfer function,

    GI(z) =Ts

    2

    z+ 1

    z 1

    A low pass filter!

    8. Transfer Function for Discrete Integration

    Recall from previous slide

  • 8/13/2019 s-z-conv-1

    77/178

    p

    (1 z1)Y(z) =Ts

    2 (1 +z1)U(z)

    Y(z) =Ts

    2

    1 +z1

    1 z1U(z)

    = Ts2

    z+ 1z 1

    U(z)

    Integrator has a transfer function,

    GI(z) =Ts

    2

    z+ 1

    z 1

    A low pass filter!

    Im(z)

    Re(z)

    8. Transfer Function for Discrete Integration

    Recall from previous slide

  • 8/13/2019 s-z-conv-1

    78/178

    (1 z1)Y(z) =Ts

    2 (1 +z1)U(z)

    Y(z) =Ts

    2

    1 +z1

    1 z1U(z)

    =T

    s2

    z+ 1z 1

    U(z)

    Integrator has a transfer function,

    GI(z) =Ts

    2

    z+ 1

    z 1

    A low pass filter!

    Im(z)

    Re(z)

    1

    s

    Ts

    2

    z+ 1

    z 1

    Digital Control 8 Kannan M. Moudgalya, Autumn 2007

    9. Derivative Mode

  • 8/13/2019 s-z-conv-1

    79/178

    9. Derivative Mode

    1 T z + 1

  • 8/13/2019 s-z-conv-1

    80/178

    Integral Mode: 1

    s

    Ts

    2

    z+ 1

    z 1

    9. Derivative Mode

    1 T z + 1

  • 8/13/2019 s-z-conv-1

    81/178

    Integral Mode: 1

    s

    Ts

    2

    z+ 1

    z 1

    Derivative Mode: s 2

    Ts

    z 1

    z+ 1

    9. Derivative Mode

    1 T z + 1

  • 8/13/2019 s-z-conv-1

    82/178

    Integral Mode: 1

    s

    Ts

    2

    z+ 1

    z 1

    Derivative Mode: s 2

    Ts

    z 1

    z+ 1

    High pass filter

    9. Derivative Mode

    1 Ts z + 1

  • 8/13/2019 s-z-conv-1

    83/178

    Integral Mode: 1

    s

    Ts

    2

    z+ 1

    z 1

    Derivative Mode: s 2

    Ts

    z 1

    z+ 1

    High pass filter

    Has a pole at z = 1.

    9. Derivative Mode

    1 Ts z + 1

  • 8/13/2019 s-z-conv-1

    84/178

    Integral Mode: 1

    s

    Ts

    2

    z+ 1

    z 1

    Derivative Mode: s 2

    Ts

    z 1

    z+ 1

    High pass filter

    Has a pole at z = 1. Hence produces in partial fractionexpansion, a term of the form

    9. Derivative Mode

    1 Ts z + 1

  • 8/13/2019 s-z-conv-1

    85/178

    Integral Mode: 1

    s

    Ts

    2

    z+ 1

    z 1

    Derivative Mode: s 2

    Ts

    z 1

    z+ 1

    High pass filter

    Has a pole at z = 1. Hence produces in partial fractionexpansion, a term of the form

    z

    z+ 1 (1)n

    9. Derivative Mode

    1 Ts z+ 1

  • 8/13/2019 s-z-conv-1

    86/178

    Integral Mode:

    s

    s

    2

    +

    z 1

    Derivative Mode: s 2

    Ts

    z 1

    z+ 1

    High pass filter

    Has a pole at z = 1. Hence produces in partial fractionexpansion, a term of the form

    z

    z+ 1

    (1)n

    Results in wildly oscillating control effort.

    Digital Control 9 Kannan M. Moudgalya, Autumn 2007

    10. Derivative Mode - Other Approximations

  • 8/13/2019 s-z-conv-1

    87/178

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)

  • 8/13/2019 s-z-conv-1

    88/178

    y( ) y( ) + s ( )

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)

  • 8/13/2019 s-z-conv-1

    89/178

    y( ) y( ) s ( )

    (1 z1

    )Y(z) =TsU(z)

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)

  • 8/13/2019 s-z-conv-1

    90/178

    y( ) y( ) ( )

    (1 z1

    )Y(z) =TsU(z)

    Y(z) =Ts1

    1 z1

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)

  • 8/13/2019 s-z-conv-1

    91/178

    ( ) ( ) ( )

    (1 z1

    )Y(z) =TsU(z)

    Y(z) =Ts1

    1 z1=Ts

    z

    z 1U(z)

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)

  • 8/13/2019 s-z-conv-1

    92/178

    (1 z1

    )Y(z) =TsU(z)

    Y(z) =Ts1

    1 z1=Ts

    z

    z 1U(z)

    1

    s

  • 8/13/2019 s-z-conv-1

    93/178

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)

  • 8/13/2019 s-z-conv-1

    94/178

    (1 z1

    )Y(z) =TsU(z)Y(z) =Ts

    1

    1 z1=Ts

    z

    z 1U(z)

    1

    s Ts

    z

    z 1Forward difference: y(k) =y(k 1) +Tsu(k 1)

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)

  • 8/13/2019 s-z-conv-1

    95/178

    (1 z1

    )Y(z) =TsU(z)Y(z) =Ts

    1

    1 z1=Ts

    z

    z 1U(z)

    1

    s Ts

    z

    z 1Forward difference: y(k) =y(k 1) +Tsu(k 1)

    (1 z1)Y(z) =Tsz1U(z)

  • 8/13/2019 s-z-conv-1

    96/178

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)1

  • 8/13/2019 s-z-conv-1

    97/178

    (1 z1

    )Y(z) =TsU(z)Y(z) =Ts

    1

    1 z1=Ts

    z

    z 1U(z)

    1

    s Ts

    z

    z 1Forward difference: y(k) =y(k 1) +Tsu(k 1)

    (1 z1)Y(z) =Tsz1U(z)

    Y(z) =Tsz1

    1 z1U(z) =

    Ts

    z 1U(z)

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)1

  • 8/13/2019 s-z-conv-1

    98/178

    (1 z1

    )Y(z) =TsU(z)Y(z) =Ts

    1

    1 z1=Ts

    z

    z 1U(z)

    1

    s Ts

    z

    z 1Forward difference: y(k) =y(k 1) +Tsu(k 1)

    (1 z1)Y(z) =Tsz1U(z)

    Y(z) =Tsz1

    1 z1U(z) =

    Ts

    z 1U(z)1

    s

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)1

  • 8/13/2019 s-z-conv-1

    99/178

    (1 z1

    )Y(z) =TsU(z)Y(z) =Ts

    1

    1 z1=Ts

    z

    z 1U(z)

    1

    s Ts

    z

    z 1Forward difference: y(k) =y(k 1) +Tsu(k 1)

    (1 z1)Y(z) =Tsz1U(z)

    Y(z) =Tsz1

    1 z1U(z) =

    Ts

    z 1U(z)1

    s

    Ts

    z 1

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)1

  • 8/13/2019 s-z-conv-1

    100/178

    (1 z1

    )Y(z) =TsU(z)Y(z) =Ts

    1

    1 z1=Ts

    z

    z 1U(z)

    1

    s Ts

    z

    z 1Forward difference: y(k) =y(k 1) +Tsu(k 1)

    (1 z1)Y(z) =Tsz1U(z)

    Y(z) =Tsz1

    1 z1U(z) =

    Ts

    z 1U(z)1

    s

    Ts

    z 1Both derivative modes are high pass,

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)1

  • 8/13/2019 s-z-conv-1

    101/178

    (1 z1

    )Y(z) =TsU(z)Y(z) =Ts

    1

    1 z1=Ts

    z

    z 1U(z)

    1

    s Ts

    z

    z 1Forward difference: y(k) =y(k 1) +Tsu(k 1)

    (1 z1)Y(z) =Tsz1U(z)

    Y(z) =Tsz1

    1 z1U(z) =

    Ts

    z 1U(z)1

    s

    Ts

    z 1Both derivative modes are high pass, no oscillations,

    10. Derivative Mode - Other Approximations

    Backward difference: y(k) =y(k 1) +Tsu(k)1

  • 8/13/2019 s-z-conv-1

    102/178

    (1 z1

    )Y(z) =TsU(z)Y(z) =Ts

    1

    1 z1=Ts

    z

    z 1U(z)

    1

    s

    Tsz

    z 1Forward difference: y(k) =y(k 1) +Tsu(k 1)

    (1 z1)Y(z) =Tsz1U(z)

    Y(z) =Tsz1

    1 z1U(z) =

    Ts

    z 1U(z)1

    s

    Ts

    z 1Both derivative modes are high pass, no oscillations, same gainsDigital Control 10 Kannan M. Moudgalya, Autumn 2007

    11. PID Controller

  • 8/13/2019 s-z-conv-1

    103/178

    11. PID Controller

    Proportional Mode:Most popular control mode.

  • 8/13/2019 s-z-conv-1

    104/178

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    105/178

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    106/178

    Decreased steady state offset

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    107/178

    Decreased steady state offset and increased oscillations

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    108/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset.

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    109/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset. Increasein integral mode generally results in

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    110/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset. Increasein integral mode generally results in

    Zero steady state offset

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    111/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset. Increasein integral mode generally results in

    Zero steady state offset Increased oscillations

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    112/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset. Increasein integral mode generally results in

    Zero steady state offset Increased oscillations

    Derivative Mode:Mainly used for prediction purposes.

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    113/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset. Increasein integral mode generally results in

    Zero steady state offset Increased oscillations

    Derivative Mode:Mainly used for prediction purposes. Increasein derivative mode generally results in

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    114/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset. Increasein integral mode generally results in

    Zero steady state offset Increased oscillations

    Derivative Mode:Mainly used for prediction purposes. Increasein derivative mode generally results in

    Decreased oscillations and improved stability

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    115/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset. Increasein integral mode generally results in

    Zero steady state offset Increased oscillations

    Derivative Mode:Mainly used for prediction purposes. Increasein derivative mode generally results in

    Decreased oscillations and improved stability

    Sensitive to noise

    11. PID Controller

    Proportional Mode:Most popular control mode. Increasein proportional mode generally results in

  • 8/13/2019 s-z-conv-1

    116/178

    Decreased steady state offset and increased oscillations

    Integral Mode:Used to remove steady state offset. Increasein integral mode generally results in

    Zero steady state offset Increased oscillations

    Derivative Mode:Mainly used for prediction purposes. Increasein derivative mode generally results in

    Decreased oscillations and improved stability

    Sensitive to noise

    The most popular controller in industry.Digital Control 11 Kannan M. Moudgalya, Autumn 2007

    12. PID Controller - Basic Design

  • 8/13/2019 s-z-conv-1

    117/178

    12. PID Controller - Basic Design

    Let input to controller byE(z)

  • 8/13/2019 s-z-conv-1

    118/178

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z).

  • 8/13/2019 s-z-conv-1

    119/178

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK,

  • 8/13/2019 s-z-conv-1

    120/178

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time

  • 8/13/2019 s-z-conv-1

    121/178

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time and d is derivative time,

  • 8/13/2019 s-z-conv-1

    122/178

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time and d is derivative time,

    1

    t d (t)

  • 8/13/2019 s-z-conv-1

    123/178

    u(t) =K

    e(t) + 1

    i

    t

    0

    e(t)dt+dde(t)

    dt

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time and d is derivative time,

    1

    t de(t)

  • 8/13/2019 s-z-conv-1

    124/178

    u(t) =K

    e(t) + 1

    i

    t

    0

    e(t)dt+dde(t)

    dt

    U(s) =K(1 + 1

    is

    +ds)E(s)

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time and d is derivative time,

    1

    t de(t)

  • 8/13/2019 s-z-conv-1

    125/178

    u(t) =K

    e(t) + 1

    i

    t

    0

    e(t)dt+dde(t)

    dt

    U(s) =K(1 + 1

    is

    +ds)E(s)

    U(s) =

    Sc(s)

    Rc(s)E(s)

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time and d is derivative time,

    1

    t de(t)

  • 8/13/2019 s-z-conv-1

    126/178

    u(t) =K

    e(t) + 1

    i

    t

    0

    e(t)dt+dde(t)

    dt

    U(s) =K(1 +

    1

    is+ds)E(s)

    U(s) =

    Sc(s)

    Rc(s)E(s)

    If integral mode is present, Rc(0) = 0.

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time and d is derivative time,

    1

    t de(t)

  • 8/13/2019 s-z-conv-1

    127/178

    u(t) =K

    e(t) + 1i

    t

    0

    e(t)dt+dde(t)

    dt

    U(s) =K(1 +

    1

    is+ds)E(s)

    U(s) =

    Sc(s)

    Rc(s)E(s)

    If integral mode is present, Rc(0) = 0.

    Filteredderivative mode:

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time and d is derivative time,

    ( )

    ( ) 1

    t( ) de(t)

  • 8/13/2019 s-z-conv-1

    128/178

    u(t) =K

    e(t) + 1i

    t

    0

    e(t)dt+dde(t)

    dt

    U(s) =K(1 +

    1

    is+ds)E(s)

    U(s) =

    Sc(s)

    Rc(s)E(s)

    If integral mode is present, Rc(0) = 0.

    Filteredderivative mode:u(t) =K

    1 +

    1

    is+

    ds

    1 + dsN

    e(t)

    12. PID Controller - Basic Design

    Let input to controller byE(z)and output from it beU(z). Ifgain isK, i is integral time and d is derivative time,

    ( )

    ( ) 1

    t( )d de(t)

  • 8/13/2019 s-z-conv-1

    129/178

    u(t) =K

    e(t) + 1i

    0

    e(t)dt+dde(t)

    dt

    U(s) =K(1 +

    1

    is+ds)E(s)

    U(s) =

    Sc(s)

    Rc(s)E(s)

    If integral mode is present, Rc(0) = 0.

    Filteredderivative mode:u(t) =K

    1 +

    1

    is+

    ds

    1 + dsN

    e(t)

    N is a large number, of the order of 100.Digital Control

    12 Kannan M. Moudgalya, Autumn 2007

  • 8/13/2019 s-z-conv-1

    130/178

    13. Reaction Curve Method - Ziegler Nichols Tun-ing

    Applicable only to stable systems

  • 8/13/2019 s-z-conv-1

    131/178

    13. Reaction Curve Method - Ziegler Nichols Tun-ing

    Applicable only to stable systems

    Gi i i bl d

  • 8/13/2019 s-z-conv-1

    132/178

    Give a unit step input to a stable system and get

    13. Reaction Curve Method - Ziegler Nichols Tun-ing

    Applicable only to stable systems

    Gi it t i t t t bl t d t

  • 8/13/2019 s-z-conv-1

    133/178

    Give a unit step input to a stable system and get

    1. the time lag after which the system starts responding (L),

  • 8/13/2019 s-z-conv-1

    134/178

    13. Reaction Curve Method - Ziegler Nichols Tun-ing

    Applicable only to stable systems

    Give a unit step input to a stable system and get

  • 8/13/2019 s-z-conv-1

    135/178

    Give a unit step input to a stable system and get

    1. the time lag after which the system starts responding (L),

    2. the steady state gain (K) and

    3. the time the output takes to reach the steady state, afterit starts responding ()

    13. Reaction Curve Method - Ziegler Nichols Tun-ing

    Applicable only to stable systems

    Give a unit step input to a stable system and get

  • 8/13/2019 s-z-conv-1

    136/178

    Give a unit step input to a stable system and get

    1. the time lag after which the system starts responding (L),

    2. the steady state gain (K) and

    3. the time the output takes to reach the steady state, afterit starts responding ()

    R= K/

    L

    K

    Digital Control 13 Kannan M. Moudgalya, Autumn 2007

    14. Reaction Curve Method - Ziegler Nichols Tun-ing

  • 8/13/2019 s-z-conv-1

    137/178

    14. Reaction Curve Method - Ziegler Nichols Tun-ing

    R= K/

    K

  • 8/13/2019 s-z-conv-1

    138/178

    L

    14. Reaction Curve Method - Ziegler Nichols Tun-ing

    R= K/

    K

  • 8/13/2019 s-z-conv-1

    139/178

    L

    Let the slope of the response be calculated as R = K

    .

    14. Reaction Curve Method - Ziegler Nichols Tun-ing

    R= K/

    K

  • 8/13/2019 s-z-conv-1

    140/178

    L

    Let the slope of the response be calculated as R = K

    .

    Then the PID settings are given below:

    14. Reaction Curve Method - Ziegler Nichols Tun-ing

    R= K/

    K

  • 8/13/2019 s-z-conv-1

    141/178

    L

    Let the slope of the response be calculated as R = K

    .

    Then the PID settings are given below:

    Kp i d

    P 1/RLPI 0.9/RL 3LPID 1.2/RL 2L 0.5L

    14. Reaction Curve Method - Ziegler Nichols Tun-ing

    R= K/

    K

  • 8/13/2019 s-z-conv-1

    142/178

    L

    Let the slope of the response be calculated as R = K

    .

    Then the PID settings are given below:

    Kp i d

    P 1/RLPI 0.9/RL 3LPID 1.2/RL 2L 0.5L

    Consistent units should be usedDigital Control 14 Kannan M. Moudgalya, Autumn 2007

    15. Stability Method - Ziegler Nichols Tuning

  • 8/13/2019 s-z-conv-1

    143/178

    15. Stability Method - Ziegler Nichols Tuning

    Another way of finding the PID tuning parameters is as follows.

  • 8/13/2019 s-z-conv-1

    144/178

  • 8/13/2019 s-z-conv-1

    145/178

    15. Stability Method - Ziegler Nichols Tuning

    Another way of finding the PID tuning parameters is as follows.

    Close the loop with a proportional controller

    Gain of controller is increased until the closed loop system

  • 8/13/2019 s-z-conv-1

    146/178

    becomes unstable

    15. Stability Method - Ziegler Nichols Tuning

    Another way of finding the PID tuning parameters is as follows.

    Close the loop with a proportional controller

    Gain of controller is increased until the closed loop system

  • 8/13/2019 s-z-conv-1

    147/178

    becomes unstable

    At the verge of instability, note down the gain of the controller

    (Ku) and the period of oscillation (Pu)

    15. Stability Method - Ziegler Nichols Tuning

    Another way of finding the PID tuning parameters is as follows.

    Close the loop with a proportional controller

    Gain of controller is increased until the closed loop system

  • 8/13/2019 s-z-conv-1

    148/178

    becomes unstable

    At the verge of instability, note down the gain of the controller

    (Ku) and the period of oscillation (Pu)PID settings are given below:

    15. Stability Method - Ziegler Nichols Tuning

    Another way of finding the PID tuning parameters is as follows.

    Close the loop with a proportional controller

    Gain of controller is increased until the closed loop system

  • 8/13/2019 s-z-conv-1

    149/178

    becomes unstable

    At the verge of instability, note down the gain of the controller

    (Ku) and the period of oscillation (Pu)PID settings are given below:

    Kp i dP 0.5KuPI 0.45Ku Pu/1.2PID 0.6Ku Pu/2 Pu/8

  • 8/13/2019 s-z-conv-1

    150/178

    16. Design Procedure

  • 8/13/2019 s-z-conv-1

    151/178

    16. Design Procedure

    A common procedure to design discrete PID controller:

  • 8/13/2019 s-z-conv-1

    152/178

    16. Design Procedure

    A common procedure to design discrete PID controller:

    Tune continuous PID controller by any popular technique

  • 8/13/2019 s-z-conv-1

    153/178

    16. Design Procedure

    A common procedure to design discrete PID controller:

    Tune continuous PID controller by any popular technique

    Get continuous PID settings

  • 8/13/2019 s-z-conv-1

    154/178

    16. Design Procedure

    A common procedure to design discrete PID controller:

    Tune continuous PID controller by any popular technique

    Get continuous PID settings

  • 8/13/2019 s-z-conv-1

    155/178

    Discretize using the method discussed now or the ZOH equiv-alent method discussed earlier

    16. Design Procedure

    A common procedure to design discrete PID controller:

    Tune continuous PID controller by any popular technique

    Get continuous PID settings

  • 8/13/2019 s-z-conv-1

    156/178

    Discretize using the method discussed now or the ZOH equiv-alent method discussed earlier

    Direct digital design techniques

    Digital Control 16 Kannan M. Moudgalya, Autumn 2007

    17. 2-DOF Controller

  • 8/13/2019 s-z-conv-1

    157/178

    17. 2-DOF Controller

    yTc

    RcG =

    B

    A

    Sc

    Rc

    r u

  • 8/13/2019 s-z-conv-1

    158/178

    17. 2-DOF Controller

    yTc

    RcG =

    B

    A

    Sc

    Rc

    r u

  • 8/13/2019 s-z-conv-1

    159/178

    u= Tc

    Rc

    r Sc

    Rc

    y

    17. 2-DOF Controller

    yTc

    RcG =

    B

    A

    Sc

    Rc

    r u

  • 8/13/2019 s-z-conv-1

    160/178

    u= Tc

    Rc

    r Sc

    Rc

    y

    It is easy to arrive at the following relation between r andy.

    17. 2-DOF ControlleryTc

    RcG =

    B

    A

    Sc

    Rc

    r u

  • 8/13/2019 s-z-conv-1

    161/178

    u= Tc

    Rc

    r Sc

    Rc

    y

    It is easy to arrive at the following relation between r andy.

    y = Tc

    Rc

    B/A

    1 +BSc/ARcr

    17. 2-DOF ControlleryTc

    RcG =

    B

    A

    Sc

    Rc

    r u

  • 8/13/2019 s-z-conv-1

    162/178

    u= Tc

    Rc

    r Sc

    Rc

    y

    It is easy to arrive at the following relation between r andy.

    y = Tc

    Rc

    B/A

    1 +BSc/ARcr =

    BTc

    ARc+BScr

    17. 2-DOF ControlleryTc

    RcG =

    B

    A

    Sc

    Rc

    r u

  • 8/13/2019 s-z-conv-1

    163/178

    u= Tc

    Rc

    r Sc

    Rc

    y

    It is easy to arrive at the following relation between r andy.

    y = Tc

    Rc

    B/A

    1 +BSc/ARcr =

    BTc

    ARc+BScr

    Errore, given byr y is given by

    17. 2-DOF ControlleryTc

    RcG =

    B

    A

    Sc

    Rc

    r u

  • 8/13/2019 s-z-conv-1

    164/178

    u= Tc

    Rcr

    Sc

    Rcy

    It is easy to arrive at the following relation between r andy.

    y = Tc

    Rc

    B/A

    1 +BSc/ARcr =

    BTc

    ARc+BScr

    Errore, given byr y is given by

    e =

    1

    BTc

    ARc+BSc

    r

    17. 2-DOF ControlleryTc

    RcG =

    B

    A

    Sc

    Rc

    r u

  • 8/13/2019 s-z-conv-1

    165/178

    u= Tc

    Rcr

    Sc

    Rcy

    It is easy to arrive at the following relation between r andy.

    y = Tc

    Rc

    B/A

    1 +BSc/ARcr =

    BTc

    ARc+BScr

    Errore, given byr y is given by

    e =

    1

    BTc

    ARc+BSc

    r =

    ARc+BSc BTc

    ARc+BScr

    Digital Control 17 Kannan M. Moudgalya, Autumn 2007

    18. Offset-Free Tracking of Steps with Integral

  • 8/13/2019 s-z-conv-1

    166/178

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

  • 8/13/2019 s-z-conv-1

    167/178

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    lim e(n) =

  • 8/13/2019 s-z-conv-1

    168/178

    limn

    e(n) =

  • 8/13/2019 s-z-conv-1

    169/178

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    lim e(n) = limz 1 A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    ( ) ( ) ( ) ( )

    z

  • 8/13/2019 s-z-conv-1

    170/178

    n( )

    z1 z A(z)Rc(z) +B(z)Sc(z) z 1

    Because the controller has an integral action,

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    lim e(n) = limz 1 A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A( )R ( ) B( )S ( )

    z

  • 8/13/2019 s-z-conv-1

    171/178

    n( )

    z1 z A(z)Rc(z) +B(z)Sc(z) z 1

    Because the controller has an integral action, Rc(1) = 0:

  • 8/13/2019 s-z-conv-1

    172/178

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    lim e(n) = lim1

    z 1 A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A( )R ( ) + B( )S ( )

    z

    1

  • 8/13/2019 s-z-conv-1

    173/178

    n( )

    z1 z A(z)Rc(z) +B(z)Sc(z) z 1

    Because the controller has an integral action, Rc(1) = 0:

    e() = Sc(z) Tc(z)

    Sc(z)

    z=1

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    limn

    e(n) = lim1

    z 1 A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A( )R ( ) + B( )S ( )

    z

    1

  • 8/13/2019 s-z-conv-1

    174/178

    n z1 z A(z)Rc(z) +B(z)Sc(z) z 1

    Because the controller has an integral action, Rc(1) = 0:

    e() = Sc(z) Tc(z)

    Sc(z)

    z=1

    =Sc(1) Tc(1)

    Sc(1)

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    limn

    e(n) = limz1

    z 1

    z

    A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)R (z) + B(z)S (z)

    z

    z 1

  • 8/13/2019 s-z-conv-1

    175/178

    n z1 z A(z)Rc(z) +B(z)Sc(z) z 1

    Because the controller has an integral action, Rc(1) = 0:

    e() = Sc(z) Tc(z)

    Sc(z)

    z=1

    =Sc(1) Tc(1)

    Sc(1)

    This condition can be satisfied if one of the following is met:

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    limn

    e(n) = limz1

    z 1

    z

    A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)R (z) + B(z)S (z)

    z

    z 1

  • 8/13/2019 s-z-conv-1

    176/178

    n z1 z A(z)Rc(z) +B(z)Sc(z) z 1

    Because the controller has an integral action, Rc(1) = 0:

    e() = Sc(z) Tc(z)

    Sc(z)

    z=1

    =Sc(1) Tc(1)

    Sc(1)

    This condition can be satisfied if one of the following is met:

    Tc =Sc

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    limn

    e(n) = limz1

    z 1

    z

    A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)R (z) + B(z)S (z)

    z

    z 1

  • 8/13/2019 s-z-conv-1

    177/178

    n z1 z A(z)Rc(z) +B(z)Sc(z) z 1

    Because the controller has an integral action, Rc(1) = 0:

    e() = Sc(z) Tc(z)

    Sc(z)

    z=1

    =Sc(1) Tc(1)

    Sc(1)

    This condition can be satisfied if one of the following is met:

    Tc =ScTc =Sc(1)

    18. Offset-Free Tracking of Steps with Integral

    E(z) =A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)Rc(z) +B(z)Sc(z)

    R(z)

    limn

    e(n) = limz1

    z 1

    z

    A(z)Rc(z) +B(z)Sc(z)B(z)Tc(z)

    A(z)R (z) + B(z)S (z)

    z

    z 1

  • 8/13/2019 s-z-conv-1

    178/178

    n z1 z A(z)Rc(z) +B(z)Sc(z) z 1

    Because the controller has an integral action, Rc(1) = 0:

    e() = Sc(z) Tc(z)

    Sc(z)

    z=1

    =Sc(1) Tc(1)

    Sc(1)

    This condition can be satisfied if one of the following is met:

    Tc =ScTc =Sc(1)

    Tc(1) =Sc(1)Digital Control 18 Kannan M. Moudgalya, Autumn 2007


Recommended