Lec2.pptx.pdf

download Lec2.pptx.pdf

of 22

Transcript of Lec2.pptx.pdf

  • 8/14/2019 Lec2.pptx.pdf

    1/22

    10/16/20

    Barkhordari

    DIGITAL CONTROLSYSTEMSDiscrete-Time Systems

    Analog Systems with Piecewiseconstant inputs The plant is analog, the control is piecewise constant

  • 8/14/2019 Lec2.pptx.pdf

    2/22

    10/16/20

    Barkhordari

    difference

    equation

  • 8/14/2019 Lec2.pptx.pdf

    3/22

    10/16/20

    Barkhordari

    Difference Equations

    The nonlinear difference equation

    is said to be of order n.

    Linear difference equation:

  • 8/14/2019 Lec2.pptx.pdf

    4/22

    10/16/20

    Barkhordari

    The Z-transform

    The z-transform is an important tool in the analysisand design of discrete-time systems. It simplifies thesolution of discrete-time problems by converting LTIdifference equations to algebraic equations andconvolution to multiplication. Thus, it plays a role similarto that served by Laplace transformsin continuous-timeproblems.

    Because we are primarily interested in application todigital control systems, this brief introduction to the z-

    transform is restricted to causal signals (i.e., signals withzero values for negative time) and the one-sided z-transform.

    Definition 1

    Given the causal sequence {u0, u1, u2, , uk, }, its z-transform is defined as

    The variable in the preceding equation can be

    regarded as a time delay operator.

  • 8/14/2019 Lec2.pptx.pdf

    5/22

    10/16/20

    Barkhordari

    Definition 2

    Given the impulse train representation of a discrete-timesignal

    the Laplace transform:

    Then substituting in the Laplace transform yieldsthe z-transform.

    Unit Impulse

    Definition 1:

    Definition 2:

  • 8/14/2019 Lec2.pptx.pdf

    6/22

    10/16/20

    Barkhordari

    Sampled Step

    Exponential

  • 8/14/2019 Lec2.pptx.pdf

    7/22

    10/16/20

    Barkhordari

    Properties of the z-Transform

    Linearity

    Time Delay

    Time Advance

    Multiplication by Exponential

    Sampled step

  • 8/14/2019 Lec2.pptx.pdf

    8/22

    10/16/20

    Barkhordari

    Complex Differentiation

    The final Value Theorem

    If a sequence approaches a constant limit as k tends toinfinity, then the limit is given by

  • 8/14/2019 Lec2.pptx.pdf

    9/22

    10/16/20

    Barkhordari

    Inversion of the z-Transform

    Complex Integral

    Long Division

    Using long division, expand F(z) as a series to obtain

    Write the inverse transform as the sequence

    Obtain the inverse z-transform of the function

  • 8/14/2019 Lec2.pptx.pdf

    10/22

    10/16/20

    Barkhordari

    Partial Fraction Expansion

    Find the partial fraction expansion of F(z)/z or F(z). Obtain the inverse transform f(k) using the z-transform tables.

    Three types of z-domain functions F(z):

    functions with simple (nonrepeated) real poles

    functions with complex conjugate and real poles

    functions with repeated poles

    Case 1: Simple Real RootsThe most convenient method to obtain the partial fraction expansion

    of a function with simple real roots is the method of residues. Theresidue of a complex function F(z) at a simple pole ziis given by

    This is the partial fraction coefficient of the ith term of the expansion

    Because most terms in the z-transform tables include a z in the

    numerator, it is often convenient to expand F(z)/z and then to multiplyboth sides by z to obtain an expansion whose terms have a z in thenumerator.

  • 8/14/2019 Lec2.pptx.pdf

    11/22

    10/16/20

    Barkhordari

    Obtain the inverse z-transform of the function

    Example

    Table Lookup

    Note that f(0)=0 so the time sequence can be rewritten as

  • 8/14/2019 Lec2.pptx.pdf

    12/22

    10/16/20

    Barkhordari

    Solve the same problem without dividing by z

    Example

    Find the inverse z-transform of the functionExample

  • 8/14/2019 Lec2.pptx.pdf

    13/22

    10/16/20

    Barkhordari

    Case 2: Complex Conjugate And Simple Real Roots

    With complex conjugate poles, we obtain the partial fraction expansion

    We then inverse z-transform to obtain

    where and are the angle of the pole p and the angle of the partial

    fraction coefficient A, respectively. We use the exponential expressionfor the cosine function to obtain

    Case 2: Complex Conjugate And Simple Real RootsAn alternative approach:

    Assuming that F(z) has real coefficients, then its complex roots occur in

    complex conjugate pairs and can be combined to yield a function withreal coefficients and a quadratic denominator. To inverse-transform

    such a function, use the following z-transforms:

    The denominators of the two transforms are identical and havecomplex conjugate roots. The numerators can be scaled andcombined to give the desired inverse transform.

  • 8/14/2019 Lec2.pptx.pdf

    14/22

    10/16/20

    Barkhordari

    Find the inverse z-transform of the function

    To evaluate the remaining coefficients, we multiply the equation bythe denominator and equate coefficients to obtain

    Example

    Table Lookup

    The first two terms of the partial fraction expansion can be easily foundin the z-transform tables. The third term resembles the transforms of a

    sinusoid multiplied by an exponential if rewritten as

    Referring to the z-transform tables, we obtain the inversetransform

    The sinusoidal terms can be combined using the trigonometricidentities

  • 8/14/2019 Lec2.pptx.pdf

    15/22

    10/16/20

    Barkhordari

    The sinusoidal terms can be combined using the trigonometricidentities

    This gives

    Solve the same problem with residues methodExample

  • 8/14/2019 Lec2.pptx.pdf

    16/22

    10/16/20

    Barkhordari

    Case 3: Repeated Roots

    For a function F(z) with a repeated root of multiplicity r, r partial

    fraction coefficients are associated with the repeated root. The partialfraction expansion is of the form

    The coefficients for repeated roots are governed by

    The coefficients of the simple or complex conjugate roots can beobtained as before.

    Obtain the inverse z-transform of the functionExample

  • 8/14/2019 Lec2.pptx.pdf

    17/22

    10/16/20

    Barkhordari

    Table Lookup

    We can therefore rewrite the inverse transform as

    z-Transform Solution of DifferenceEquations The equations are first transformed to the z-domain.

    Then the variable of interest is solved for and z-transformed.

    To transform the difference equation, we typically use the time delay

    or the time advance property.

    Inverse z-transformation is performed

    Solve the linear difference equation

    with the initial conditions x(0)=1, x(1)=5/2.

    z-Transform

  • 8/14/2019 Lec2.pptx.pdf

    18/22

    10/16/20

    Barkhordari

    Solve for X(z)

    Partial Fraction Expansion

    Thus

    Inverse z-Transformation

  • 8/14/2019 Lec2.pptx.pdf

    19/22

    10/16/20

    Barkhordari

    The Time Response of a Discrete-time

    System

    The time response of a discrete-time linear system is thesolution of the difference equation governing the system.For the linear time-invariant (LTI) case, the responsedue to the initial conditions and the response due tothe input can be obtained separately and then addedtoobtain the overall response of the system. The responsedue to the input, or the forced response, is theconvolution summationof its input and its response to a

    unit impulse.

    Convolution Summation

    impulse response sequence

    The impulse response sequence can be used to represent theresponse of a linear discrete-time system to an arbitrary input

    sequence

    To derive this relationship, we first represent the input sequence interms of discrete impulses as follows

    For a linear system, the principle of superposition applies andthe system output due to the input is the following sum of impulse

    response sequences:

  • 8/14/2019 Lec2.pptx.pdf

    20/22

    10/16/20

    Barkhordari

    Hence, the output at time k is given by

    where (*) denotes the convolution operation.

    For a causal system, the response due to an impulse at time i

    is an impulse response starting at time i and the delayed responseh(k-i) satisfies

    In other words, a causal system is one whose impulse response is a

    causal time sequence. Thus, the summation reduces to

    convolution summation

    Theorem: response of an LTI system. The response of an LTIdiscrete-time system to an arbitrary input sequence is given by the

    convolution summation of the input sequence and the impulseresponse sequence of the system.

    For example

  • 8/14/2019 Lec2.pptx.pdf

    21/22

    10/16/20

    Barkhordari

    The Convolution Theorem

    The following theorem shows how the convolution summation can beavoided by z-transformation.

    Theorem: the Convolution theorem. The z-transform of theconvolution of two time sequences is equal to the product of their z-

    transforms.

    The function H(z) is known as the z-transfer function or simply thetransform function.

    Given the discrete-time system

    find the impulse response of the system h(k)

    1. From the difference equation

    2. Using z-transformation

    Example

  • 8/14/2019 Lec2.pptx.pdf

    22/22