• 검색 결과가 없습니다.

Pusan National University

N/A
N/A
Protected

Academic year: 2022

Share "Pusan National University"

Copied!
41
0
0

로드 중.... (전체 텍스트 보기)

전체 글

(1)

Intelligent Robot Lab

Pusan National University

Intelligent Robot Lab

Chapter 14

z- Transform and Stability Analysis

Pusan National University Intelligent Robot Laboratory

(2)

Intelligent Robot Lab

v Introduction

v The z-Transform

v Relationship Between the s-Plane and the z-Plane v The Inverse z-Transform

v Theorem of the z-Transform

v z-Transform Solution of Difference Equation v Stability

Table of Contents

(3)

Intelligent Robot Lab

v Digital control involves systems whose control is updated at discrete time instants.

v Discrete-time models provide mathematical relations between the system variables at these time instants.

v In this chapter, we develop the mathematical properties of discrete- time models.

v In principle, the Laplace transform can be used to model digital

control systems. However, the typical Laplace transform expressions of systems involving digital or sampled signals all contain exponential terms in the form of .

v This inevitably would make the manipulation of the transform expressions in the Laplace domain unduly difficult.

v So, we may regard this as a motivation for the introduction of the z- transformation.

Introduction

e

Ts

(4)

Intelligent Robot Lab

v The stability and transient response of analog systems depend upon gain and component values; sampled data system’s stability and transient response depend upon the sampling rate.

v Goal is to develop a transform that contains the information of sampling from which sampled data systems can be modeled with transfer functions, analyzed, and designed with the ease and insight we enjoyed with the Laplace transform.

The z-Transform

(5)

Intelligent Robot Lab

v Definition of the z-Transform

§ Equation (14.1) is the ideal sampled waveform.

§ Taking the Laplace transform of this sampled time waveform, we obtain

§ Now, letting , Eq. (14.2) can be written as

§ Equation (14.3) defines the z-transform. That is, an can be transformed to , or an can be transformed to . Alternately, we can write

The z-Transform

(14.1)

*( ) ( ) ( )

k

f t f kT d t kT

¥

=-¥

=

å

-

*( ) ( ) kTs

k

F s f kT e

¥

-

=-¥

=

å

(14.2)

0

( ) ( ) k

k

F z f kT z

¥

-

=

=

å

(14.3)

) (z F

) (z F )

(kT

f f(kT)

( ) ( )

f kT Û F z (14.4)

z =eTs

(6)

Intelligent Robot Lab

v Ex14.1 z-transform of a time function

§ Find the z-transform of a sampled unit ramp.

§ Sol) For a unit ramp, . Hence the ideal sampled step can be written from Eq. (14.1) as

§ Taking the Laplace transform, we obtain

§ Converting to the z-transform by letting , we have

The z-Transform

( ) f kT = kT

*

0

( ) ( )

k

f t kTd t kT

¥

=

=

å

-

*

0

( ) kTs

k

F s kTe

¥

-

=

=

å

(14.5)

(14.6)

kTs k

e- = z-

(

1 2 3

)

0 0

( ) k k 2 3

k k

F z kTz T kz T z z z

¥ ¥

- - - - -

= =

=

å

=

å

= + + +L (14.7)

(7)

Intelligent Robot Lab

§ Equation (14.7) can be converted to a closed form by forming the series for zF(z) and subtracting F(z). Multiplying Eq. (14.7) by z, we get

§ Subtracting Eq. (14.7) from Eq. (14.8), we obtain

§ But,

§ It can be verified by performing the indicated division. Substituting Eq.(14.10) into (14.9) and solving for F(z) yields

as the z-transform of f(kT)=kT.

The z-Transform

(14.8)

(14.9)

1 2

1

1 1

1 z z

z

- -

- = + + +

- L

(

1 2

)

( ) ( ) ( 1) ( ) 1

zF z - F z = z - F z =T + z- + z- +L

(

1 2

)

( ) 1 2 3

zF z =T + z- + z- +L

(14.10)

(14.11)

( ) 2

( 1) F z T z

= z

-

(8)

Intelligent Robot Lab

v Relationship between the Laplace transform and the z-transform

§ The Laplace transform of

§ The z-Transform of

§ In general,

§ The time equivalent of Eq.(14.13) is

§ A sampled signal should revert to the continuous-data signal as the sampling period approaches zero? We shall discuss this problem in chapter 15.

Relationship Between The s-Plane and The z-Plane

(14.12)

(14.14) ( )

f t ( ) [ ( )] 0 ( ) st F s =L f t =

ò

¥ f t e dt-

( ) f t

0

( ) { ( )} ( ) k

k

F z z f t f kT z

¥

-

=

= =

å

lim ( )0 ( )

T F z F s

® ¹

lim0 ( ) ( )

T f* t f t

® ¹

(14.13)

(9)

Intelligent Robot Lab

v Mapping of the primary strip

§ In figure 14.1(a), the left half of the s-plane is mapped into a unit circle, centered at the origin in the z-plane. Since

Relationship Between The s-Plane and The z-Plane

Figure 14.1

Mapping of the primary strip in the left half of the s-plane into the z-plane by the z-transform

(s jm s)T Ts j2 m Ts

e

+ w

= e e

p

= e = z

(10)

Intelligent Robot Lab

v The constant-damping locus

§ The constant-damping locus in the z-plane are described by (where is real constant)

Relationship Between The s-Plane and The z-Plane

Figure 14.2

Constant-damping locus in the s- and z-planes

T 1

z = eTs = e s s1 (14.15)

(11)

Intelligent Robot Lab

v The constant-frequency locus

§ Frequency in the s-domain, the constant-frequency locus in the s-plane is a horizontal line, .

§ The corresponding z-transform is

Relationship Between The s-Plane and The z-Plane

Figure 14.3

Constant-frequency locus in the s- and z-planes

w =w1

s = jw1

j T1

z =eTs = e w (14.16)

(12)

Intelligent Robot Lab

v The constant-damping-ratio locus

§ The constant-damping ratio locus in the s-plane is described by

where as shown in figure 14.4(a).

§ The z-transform relation is

§ Figure 14.4(b) shows the constant-damping ratio locus( )

Relationship Between The s-Plane and The z-Plane

Figure 14.4

Constant-frequency locus in the s- and z-planes (14.17)

tan

s = -w b + jw

sin 1

b = - z

2 tan /

( tan )

2 /

Ts T j s

z = e = e -w b+ w = e- pw b w Ð pw ws

z =0.5 b =30o

(13)

Intelligent Robot Lab

v The constant-damping-ratio locus

§ For practical purpose only the portion of the constant-damping-ratio locus that corresponds to the frequency rage from to .

Relationship Between The s-Plane and The z-Plane

Figure 14.5

Constant-damping-ratio locus bounded by the primary strip in the s-plane and the corresponding locus in the z-plane

w =0 w =ws / 2

(14)

Intelligent Robot Lab

Relationship Between The s-Plane and The z-Plane

TABLE 14.1 Partial table of z- and s-transforms

(15)

Intelligent Robot Lab

v Non-uniqueness of the z-transform

§ The correct result of the inverse z-transform of is which is equal to only at the sampling instants.

§ The inverse z-transform of is not unique, since can be any function of t that has a value of unity at the sampling instants.

§ Figure 14.6 illustrates the simple case of taking the z-transform of a unit-step function, unit impulses with the sampling period of T s.

Inverse z-Transform

( )

F z f t( )

( )

F z f kT( ) ( )

f t

Figure 14.6 Illustration of the nonuniqueness of the inverse z-transform

(16)

Intelligent Robot Lab

v The inverse z-transform

§ Two methods for finding the inverse z-transform (the sampled time function from its z-transform) will be described:

• Partial-fraction expansion

• The power series method

§ Inverse z-Transforms via Partial-Fraction Expansion

• Taking this lead and looking at Table 14.1, we find that sampled exponential time functions are related to their z-transforms as follows:

• We thus predict that a partial-fraction expansion should be of the following form:

Inverse z-Transform

akT

aT

e z

z e

-

Û -

-

1 2

( ) Az Bz

F z = z z + z z +

- - L (14.193)

(14.18)

(17)

Intelligent Robot Lab

v Ex 14.2 Inverse z-transform via partial-fraction expansion

§ Given the function in Eq. (14.20), find the sampled time function.

§ Sol) Begin by dividing Eq.(14.20) by z and performing a partial-fraction expansion.

§ Next, multiply through by z.

Inverse z-Transform

( ) 0.5

( 0.5)( 0.7) F z z

z z

= - - (14.20)

( ) 0.5 2.5 2.5

( 0.5)( 0.7) 0.5 0.7 0.5 0.7

F z A B

z z z z z z z

= = + = - +

- - - (14.21)

0.5 2.5 2.5

( ) ( 0.5)( 0.7) 0.5 0.7

z z z

F z z z z z

= = - +

- - - - (14.22)

(18)

Intelligent Robot Lab

§ Using Table 14.1. we find the inverse z-transform of each partial fraction. Hence, the value of the time function at the sampling at the sampling instants is

§ Also, from Eqs.(14.1) and (14.23), the ideal sampled time function is

§ If we substitute k=0,1,2, and 3, we can find the first four samples of the ideal sampled time waveform. Hence,

Inverse z-Transform

( ) ( )

( ) 2.5 0.5 k 2.5 0.7 k

f kT = - +

( ) ( )

*( ) ( ) ( ) [ 2.5 0.5 k 2.5 0.7 ] (k )

k k

f t f kT d t kT d t kT

¥ ¥

=-¥ =-¥

=

å

- =

å

- + -

(14.23)

(14.24)

*( ) 0 ( ) 0.5 ( ) 0.6 ( 2 ) 0.545 ( 3 )

f t = d t + d t T- + d t - T + d t - T (14.25)

(19)

Intelligent Robot Lab

Theorem of the z-Transform

TABLE 14.2 z-transforms theorems

(20)

Intelligent Robot Lab

v Multiplication by a Constant

§ If is the z-transform of , then

where a is a constant.

§ Proof: By the z-transform definition,

Theorem of the z-Transform

( )

F z f t( )

{ ( )} { ( )} ( )

z af t = az f t = aF z

(14.26)

0 0

{ ( )} ( ) k ( ) k ( )

k k

z af t af kT z a f kT z aF z

¥ ¥

- -

= =

=

å

=

å

= (14.27)

(21)

Intelligent Robot Lab

v Addition and Subtraction

§ If and have z-transforms and

and

then, the z-transform of is

§ Proof: By definition,

Theorem of the z-Transform

(14.28)

(14.29)

1( )

f t f t2( ) F z1( ) F z2( )

1 1 1

0

( ) { ( )} ( ) k

k

F z z f t f kT z

¥

-

=

= =

å

2 2 2

0

( ) { ( )} ( ) k

k

F z z f t f kT z

¥

-

=

= =

å

1( ) 2( ) f t ± f t

1 2 1 2

{ ( ) ( )} ( ) ( )

z f t ± f t = F z + F z (14.30)

1 2 1 2

0

1 2

0 0

1 2

{ ( ) ( )} [ ( ) ( )]

( ) ( ) ( ) ( )

k k

k k

k k

z f t f t f kT f kT z

f kT z f kT z F z F z

¥

-

=

¥ ¥

- -

= =

± = ±

= ±

= +

å

å å

(14.31)

(22)

Intelligent Robot Lab

v Complex Translation Theorem

§ If has the z-transform of , then

where a is a constant.

§ Proof: From the z-transform definition we can write the z-transform of as

Let ; then Eq.(14.33) becomes

Theorem of the z-Transform

( ) F z ( )

f t

(14.32)

(14.33)

{ ( )} [ ( )] Ts ( )

at aT

z e f t F s a z e F ze±

= ± = =

m

at ( ) em f t

0

{

at

( )} ( )

akT k

k

z e f t f kT e z

¥

-

=

= å

m m

1

z = ze±aT

1 1

0

{ ( )} ( ) ( )

( )

at k

k

aT

z e f t f kT z F z

F ze

¥

-

=

±

= =

=

m

å

(14.34)

(23)

Intelligent Robot Lab

v Real Translation (shifting) Theorem-Right shift(Time delay)

§ If is the z-transform of , then the z-transform of shifted to the right by nT, where n is a positive integer, is

§ Proof: By the z-transform definition,

which can be written as

since for , Eq.(14.37) becomes

Now, letting in Eq.(14.37) yields

Theorem of the z-Transform

( ) F z

(14.35)

(14.36)

(14.37) ( )

f t f t( )

0

{ ( ) ( )} ( ) k

k

z f t nT u t nT f kT nT z

¥

-

=

- - =

å

-

{ ( ) ( )} n ( )

z f t-nT u t-nT = z F z-

( )

0

{ ( ) ( )} n ( ) k n

k

z f t nT u t nT z f kT nT z

¥

- - -

=

- - =

å

-

( ) 0

f t = t <0

( )

{ ( ) ( )} n ( ) k n

k n

z f t nT u t nT z f kT nT z

¥

- - -

=

- - =

å

-

p = k -n

0

{ ( ) ( )} ( )

( )

n p

p n

z f t nT u t nT z f pT z z F z

¥

- -

= -

- - =

=

å

(14.38)

(24)

Intelligent Robot Lab

v Real Translation (shifting) Theorem-Left shift(Time Advance)

§ The z-transform of a time function which is shifted to the left, or advanced in time by nT, where n is a positive integer, is written

§ Proof: By the z-transform definition,

The sequence start at k=0

or

Theorem of the z-Transform

(14.39)

(14.40)

(14.41) ( )

f t

0

{ ( ) ( )} ( ) k

k

z f t nT u t nT f kT nT z

¥

-

=

+ + =

å

+

1

0

{ ( ) ( )} ( ) ( )

n

n k

k

z f t nT u t nT z F z f kT z

-

-

=

é ù

+ + = ê - ú

ë

å

û

( )

0

{ ( ) ( )} n ( ) k n

k

z f t nT u t nT z f kT nT z

¥

- +

=

- - =

å

+

1

0

{ ( ) ( )} ( )

( ) ( )

n k

k n n

n k

k

z f t nT u t nT z f kT z

z F z f kT z

¥

-

=

-

-

=

é ù

+ + = ê ú

ë û

é ù

= ê - ú

ë û

å

å

(14.42)

(25)

Intelligent Robot Lab

v Initial Value Theorem

§ If the function has the z-transform , then

if the limit exists.

§ Proof: From the defining equation of the z-transform, we write

Taking the limit on both sides of Eq.(14.44) as z approaches infinity, we get

Theorem of the z-Transform

( )

f t F z( )

lim (0 ) lim ( )

k f kT z F z

® = ®¥

(14.43)

1 2

0

( ) ( ) k (0) ( ) (2 )

k

F z f kT z f f T z f T z

¥

- - -

=

=

å

= + + +L (14.44)

lim ( ) (0) lim (0 )

z F z f k f kT

®¥ = = ® (14.45)

(26)

Intelligent Robot Lab

v Final Value Theorem

§ If the function has the z-transform , and if the function

does not have poles on or outside the unit circle in the z-plane, then

§ Proof: Let us consider two sequences,

and

where n is a positive integer.

Theorem of the z-Transform

( )

f t F z( )

(14.46)

(14.47)

(14.48) (1-z-1) ( )F z 1

z =

1

lim ( ) lim(11 ) ( )

k f kT z z- F z

®¥ = ® -

1 2

0

( ) k (0) ( ) (2 ) ( ) n

k

f kT z f f T z f T z f nT z

¥

- - - -

=

= + + + +

å

L

1 2

0

[( 1) ] (0) ( ) [( 1) ]

n

k n

k

f k T z- f z- f T z- f n T z-

=

- = + + + -

å

L

(27)

Intelligent Robot Lab

v Final Value Theorem

§ Comparing Eqs.(14.47) and (14.48), the latter can be written as

§ Taking the difference between Eqs.(14.47) and (14.49), and z->1, we get

§ Taking the limit as n approaches infinity on both sides of Eq.(14.50),

§ Interchanging the limits on the right-hand side of Eq.(14.51)

à

Theorem of the z-Transform

(14.49)

(14.50)

(14.51)

1 1

0 0

[( 1) ] ( )

n n

k k

k k

f k T z z f kT z

-

- - -

= =

- =

å å

1 1

1

1 0 0 0 0

lim ( ) ( ) ( ) ( ) ( )

n n n n

k k

z k k k k

f kT z z f kT z f kT f kT f nT

- -

- - -

® = = = =

é ù

- = - =

ê ú

ë

å å

û

å å

1 1

1 0 0

lim ( ) lim lim ( ) ( )

n n

k k

n n z

k k

f nT f kT z z f kT z

-

- - -

®¥ ®¥ ®

= =

é ù

= ê - ú

ë

å å

û

1

0 0

lim ( ) lim ( ) ( )

n n

k k

n n

k k

f kT z f kT z F z

-

- -

®¥ ®¥

= =

= =

å å

(14.52)

1

lim ( ) lim(11 ) ( )

n f nT z z- F z

®¥ = ® - (14.53)

(28)

Intelligent Robot Lab

v Process in solution of Difference Equation

§ First, the equation are transformed to the z-domain

§ Second, the variable of interest is solved for and z-transformed, by using the time delay or the time advance property.

§ Finally, the inverse z-transformation is performed to get solution of difference equations.

v Ex 14.3: z-Transform Solution of Difference Equation

§ Solve the linear difference equation

with the initial conditions

z-Transform Solution of Difference Equation

( 2) (3 / 2) ( 1) (1 / 2) ( ) 1( ) x k + - x k + + x k = k

(0) 1, (1) 5 / 2

x = x =

(14.54)

(29)

Intelligent Robot Lab

v Ex 14.3: z-Transform Solution of Difference Equation

§ Sol)

z-Transform:

We begin by z-transforming using Time advance theorem to obtain

§ Solve for

We substitute the initial conditions and rearrange terms to obtain

then

z-Transform Solution of Difference Equation

[ ]

2 2

( ) (0) (1) (3 / 2) ( ) (0) (1 / 2) ( ) / ( 1)

z X z z x zx zX z zx X z z z

é - - ù- - + = -

ë û

( ) X z

2 2

(3 / 2) (1 / 2) ( ) / ( 1) (5 / 2 3 / 2)

z z X z z z z z

é - + ù = - + + -

ë û

3

2

[1 ( 1)( 1)]

( ) ( 1)( 1)( 0.5) ( 1) ( 0.5)

z z z z

X z z z z z z

+ + -

= =

- - - - -

(14.55)

(14.56)

(14.57)

(30)

Intelligent Robot Lab

v Ex 14.3: z-Transform Solution of Difference Equation

§ Partial Fraction Expansion

The partial fraction of is

where

To obtain B, multiplying by the denominator and get equation as

If z=0, àB=0 (A=2,C=1)

z-Transform Solution of Difference Equation

( ) / X z z

2

2 2

( )

( 1) ( 0.5) ( 1) 1 0.5

X z z A B C

z = z z = z + z + z

- - - - -

2 2

2 2

0.5 0.5

( ) (0.5)

( 0.5) 1

( 1) (0.5 1)

z z

X z z

C z

z = z =

= - = = =

- -

2 2

1 1

( ) 1

( 1) 2

0.5 1 0.5

z z

X z z

A z

z = z =

= - = = =

- -

2 2

( 0.5) ( 0.5)( 1) ( 1)

z = A z - +B z - z- +C z-

0= -0.5A+0.5B C+

(14.58)

(14.59)

(14.60)

(31)

Intelligent Robot Lab

v Ex 14.3: z-Transform Solution of Difference Equation

So, we have Two terms only

§ Inverse z-Transformation

From the Table 1. the Inverse z-transform of is

z-Transform Solution of Difference Equation

2

( ) 2

( 1) 0.5

z z

X z = z + z

- -

( ) X z ( ) 2 (0.5)k

x k = k +

(14.61)

(14.62)

(32)

Intelligent Robot Lab

v Stability

§ The glaring difference between analog feedback control systems and digital feedback control systems, which is the effect that the sampling rate has on the transient response.

v Digital System Stability via The z-Plane

§ In the s-plane the region of stability is the left half-plane.

§ If the transfer function, G(s), is transformed into a sampled data transfer function, G(z), the region of stability on the z-plane can be evaluated from the definition, z = .

§ Letting , we obtain

Stability

eTs

s =a + jw

(33)

Intelligent Robot Lab

§ Letting , we obtain

§ Since .

Stability

s =a + jw

( )

( )

cos sin

Ts T j T j T

T T

z e e e e

e T j T e T

a w a w

a a

w w w

= = + =

= + = Ð

(coswT + jsinwT) 1= ÐwT

(14.63)

Figure 14.7 Mapping regions of the s-plane onto the z-plane

(34)

Intelligent Robot Lab

v Stability criterion

§ Thus, a digital control system is

• Stable if all poles of the closed loop transfer function, T(z), are inside the unit circle on the z-plane.

• Unstable if any pole is outside the unit circle and/or there are poles of multiplicity greater than one on the unit circle.

• Marginally stable if poles of multiplicity one are on the unit circle and all other poles are inside the unit circle.

Stability

(35)

Intelligent Robot Lab

v Bilinear Transformation

§ Bilinear transformations give us the ability to apply our s-plane analysis and design techniques to digital systems. We will treat it in chapter 16 more

specifically.

§ We can analyze and design on the s-plane as we have done in Chapters 8 and 9 and then, using these transformations, convert the results to a digital system that contains the same properties.

§ What we would like is a simple transformation that would yield linear arguments when transforming in both directions through direct substitution and without the complicated z-transform.

§ Bilinear transformations of the form

Stability

d cs

b z as

+

= +

(14.64)

(36)

Intelligent Robot Lab

and its inverse

have been derived to yield linear variables in z.

§ Different values of a, b, c and d have been derived for particular applications and yield various degrees of accuracy when comparing properties of the continuous and sampled functions.

Stability

(14.65)

a cz

b s dz

- +

= -

(37)

Intelligent Robot Lab

v Digital System Stability via the s-plane

§ In this subsection we look at a bilinear transformation that maps -axis points on the s-plane to unit-circle points on the z-plane.

§ Further, the transformation maps right half-plane points on the s-plane to points outside the unit circle on the z-plane.

§ Finally, the transformation maps left-half-plane points on the s-plane to points inside the unit circle on the z-plane.

§ Thus, we are able to transform the denomination of a continuous transfer function, D(s), and use the Routh-Hurwitz criterion to determine stability.

§ The bilinear transformation

§ And its inverse

Stability

jw

(14.66)

1 1 s z

z

= + -

1 1 z s

s

= +

- (14.67)

(38)

Intelligent Robot Lab

§ Perform the required transformation

§ We can show this fact as follows: Letting and substituting into Eq.

(14.67)

§ From which

§ Thus

Stability

s =a + jw

( 1) ( 1) z j

j

a w

a w

+ +

= - +

2 2

2 2

( 1) ( 1)

z a w

a w

+ +

=

- +

1 0

1 0

1 0

z where

z where

z where

a a a

< <

> >

= =

(14.68)

(14.69)

(14.70a) (14.70b) (14.70c)

(39)

Intelligent Robot Lab

v Ex 14.4 Stability via Routh-Hurwitz

§ Given , where, use the Routh- Hurwitz criterion to find the number of z-plane poles of T(z) inside, outside, and on the unit circle. Is the system stable?

§ Sol) Substitute Eq.(14.67) into D(z)=0 and obtain

Stability

3 2

( ) 0.2 0.1

D z = z - z - z +

( ) ( )

/

( )

T z = N z D z

3 2

19 45 17 0

s - s - s- = (14.71)

(40)

Intelligent Robot Lab

§ The Routh table for 14.3 shows one root in the right half-plane and two roots in the left half plane.

§ Hence, T(z) has one pole outside the unit circle, no poles on the unit circle, and two poles inside the unit circle.

§ The system is unstable because of the pole outside the unit circle.

Stability

TABLE 14.3 Routh table for Example 14.4

(41)

Intelligent Robot Lab

T

T H H A A N N K K Y Y O O U U

Homework:

참조

관련 문서

Basic aspects of AUTOSAR architecture and methodology Safety mechanisms supported by AUTOSAR.. Technical safety concepts supported by AUTOSAR Relationship to ISO

GDP impact of COVID-19 spread, public health response, and economic policies. Virus spread and public

(g) Use MATLAB to plot the step response of the position servo system for values of the gain K = 0.5, 1, and Þnd the overshoot and rise time of the three step responses

The measured microbial degradation activities (per liter) in response to different sampling sizes. The estimated average values and their standard deviations in microbial

The speed and magnitude of this transmission will partly depend on the regulatory environment governing trade and location of 3D printing activities. Current WTO rules

The rate of heat transfer depends upon the temperature gradient and the thermal conductivity of the material.. More fundamental questions arise when you examine the reasons

In order to analyze thermal stability and capacity loss according to the temperature of the battery cell by applying different C-rate discharge and

‰ a digital circuit is combinational if its output values only depend on its (current)