s to Z-Domain Transfer Function 1. s to Z-Domain Transfer Function - - PowerPoint PPT Presentation

s to z domain transfer function
SMART_READER_LITE
LIVE PREVIEW

s to Z-Domain Transfer Function 1. s to Z-Domain Transfer Function - - PowerPoint PPT Presentation

s to Z-Domain Transfer Function 1. s to Z-Domain Transfer Function 1. Discrete ZOH Signals s to Z-Domain Transfer Function 1. Discrete ZOH Signals 1. Get step response of continuous trans- fer function y s ( t ) . s to Z-Domain


slide-1
SLIDE 1

1.

s to Z-Domain Transfer Function

slide-2
SLIDE 2

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

slide-3
SLIDE 3

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(t).

slide-4
SLIDE 4

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(t).

  • 2. Discretize

step re- sponse: ys(nTs).

slide-5
SLIDE 5

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(t).

  • 2. Discretize

step re- sponse: ys(nTs).

  • 1. Z-transform the step re-

sponse to obtain Ys(z).

slide-6
SLIDE 6

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(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 a step, namely, z/(z − 1).

slide-7
SLIDE 7

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(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 a step, namely, z/(z − 1).

  • Ga(s): Laplace transfer

function

slide-8
SLIDE 8

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(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 a step, namely, z/(z − 1).

  • Ga(s): Laplace transfer

function

  • G(z): Z-transfer function
slide-9
SLIDE 9

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(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 a step, namely, z/(z − 1).

  • Ga(s): Laplace transfer

function

  • G(z): Z-transfer function

G(z) = z − 1 z Z

  • L−1Ga(s)

s

slide-10
SLIDE 10

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(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 a step, namely, z/(z − 1).

  • Ga(s): Laplace transfer

function

  • G(z): Z-transfer function

G(z) = z − 1 z Z

  • L−1Ga(s)

s

  • Step Response Equivalence
slide-11
SLIDE 11

1.

s to Z-Domain Transfer Function

Discrete ZOH Signals

  • 1. Get

step response

  • f continuous trans-

fer function ys(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 a step, namely, z/(z − 1).

  • Ga(s): Laplace transfer

function

  • G(z): Z-transfer function

G(z) = z − 1 z Z

  • L−1Ga(s)

s

  • Step Response Equivalence = ZOH Equivalence

Digital Control

1

Kannan M. Moudgalya, Autumn 2007

slide-12
SLIDE 12

2.

Important Result from Differentiation

slide-13
SLIDE 13

2.

Important Result from Differentiation

Recall 1(n)an ↔ z z − a =

  • n=0

anz−n, Differentiating w.r.t. a,

slide-14
SLIDE 14

2.

Important Result from Differentiation

Recall 1(n)an ↔ z z − a =

  • n=0

anz−n, Differentiating w.r.t. a, z (z − a)2 =

  • n=0

nan−1z−n

slide-15
SLIDE 15

2.

Important Result from Differentiation

Recall 1(n)an ↔ z z − a =

  • n=0

anz−n, Differentiating w.r.t. a, z (z − a)2 =

  • n=0

nan−1z−n nan−11(n) ↔ z (z − a)2

slide-16
SLIDE 16

2.

Important Result from Differentiation

Recall 1(n)an ↔ z z − a =

  • n=0

anz−n, Differentiating w.r.t. a, z (z − a)2 =

  • n=0

nan−1z−n nan−11(n) ↔ z (z − a)2 n(n − 1)an−21(n) ↔ 2z (z − a)3

Digital Control

2

Kannan M. Moudgalya, Autumn 2007

slide-17
SLIDE 17

3.

ZOH Equivalence of 1/s

slide-18
SLIDE 18

3.

ZOH Equivalence of 1/s

The step response of 1/s is

slide-19
SLIDE 19

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2.

slide-20
SLIDE 20

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is,

slide-21
SLIDE 21

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2

slide-22
SLIDE 22

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t

slide-23
SLIDE 23

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t Sampling it with a pe- riod of Ts,

slide-24
SLIDE 24

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t Sampling it with a pe- riod of Ts, ys(nTs) =

slide-25
SLIDE 25

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t Sampling it with a pe- riod of Ts, ys(nTs) = nTs

slide-26
SLIDE 26

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t Sampling it with a pe- riod of Ts, ys(nTs) = nTs Taking Z-transforms Ys(z) =

slide-27
SLIDE 27

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t Sampling it with a pe- riod of Ts, ys(nTs) = nTs Taking Z-transforms Ys(z) = Tsz (z − 1)2

slide-28
SLIDE 28

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t Sampling it with a pe- riod of Ts, ys(nTs) = nTs Taking Z-transforms Ys(z) = Tsz (z − 1)2 Divide by z/(z−1),

slide-29
SLIDE 29

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t Sampling it with a pe- riod of Ts, ys(nTs) = nTs Taking Z-transforms Ys(z) = Tsz (z − 1)2 Divide by z/(z−1), to get the ZOH equivalent discrete domain transfer function

slide-30
SLIDE 30

3.

ZOH Equivalence of 1/s

The step response of 1/s is 1/s2. In time domain, it is, ys(t) = L−1 1 s2 = t Sampling it with a pe- riod of Ts, ys(nTs) = nTs Taking Z-transforms Ys(z) = Tsz (z − 1)2 Divide by z/(z−1), to get the ZOH equivalent discrete domain transfer function G(z) = Ts z − 1

Digital Control

3

Kannan M. Moudgalya, Autumn 2007

slide-31
SLIDE 31

4.

ZOH Equivalence of 1/s2

slide-32
SLIDE 32

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is

slide-33
SLIDE 33

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is 1/s3.

slide-34
SLIDE 34

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is 1/s3. In time domain, it is,

slide-35
SLIDE 35

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is 1/s3. In time domain, it is, ys(t) = L−1 1 s3 =

slide-36
SLIDE 36

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is 1/s3. In time domain, it is, ys(t) = L−1 1 s3 = 1 2t2.

slide-37
SLIDE 37

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is 1/s3. In time domain, it is, ys(t) = L−1 1 s3 = 1 2t2. Sampling it with a pe- riod of Ts, ys(nTs) = 1 2n2T 2

s

slide-38
SLIDE 38

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is 1/s3. In time domain, it is, ys(t) = L−1 1 s3 = 1 2t2. Sampling it with a pe- riod of Ts, ys(nTs) = 1 2n2T 2

s

Take Z-transform

slide-39
SLIDE 39

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is 1/s3. In time domain, it is, ys(t) = L−1 1 s3 = 1 2t2. Sampling it with a pe- riod of Ts, ys(nTs) = 1 2n2T 2

s

Take Z-transform Ys(z) = T 2

s z(z + 1)

2(z − 1)3

slide-40
SLIDE 40

4.

ZOH Equivalence of 1/s2

The step response of 1/s2 is 1/s3. In time domain, it is, ys(t) = L−1 1 s3 = 1 2t2. Sampling it with a pe- riod of Ts, ys(nTs) = 1 2n2T 2

s

Take Z-transform Ys(z) = T 2

s z(z + 1)

2(z − 1)3 Dividing by z/(z − 1), we get G(z) = T 2

s (z + 1)

2(z − 1)2

Digital Control

4

Kannan M. Moudgalya, Autumn 2007

slide-41
SLIDE 41

5.

ZOH Equivalent First Order Transfer Function

slide-42
SLIDE 42

5.

ZOH Equivalent First Order Transfer Function Find the ZOH equivalent of K/(τs + 1).

slide-43
SLIDE 43

5.

ZOH Equivalent First Order Transfer Function Find the ZOH equivalent of K/(τs + 1). Ys(s) = 1 s K τs + 1 = K

  • 1

s − 1 s + 1

τ

slide-44
SLIDE 44

5.

ZOH Equivalent First Order Transfer Function Find the ZOH equivalent of K/(τs + 1). Ys(s) = 1 s K τs + 1 = K

  • 1

s − 1 s + 1

τ

  • ys(t) = K
  • 1 − e−t/τ

, t ≥ 0

slide-45
SLIDE 45

5.

ZOH Equivalent First Order Transfer Function Find the ZOH equivalent of K/(τs + 1). Ys(s) = 1 s K τs + 1 = K

  • 1

s − 1 s + 1

τ

  • ys(t) = K
  • 1 − e−t/τ

, t ≥ 0 ys(nTs) = K

  • 1 − e−nTs/τ

, n ≥ 0

slide-46
SLIDE 46

5.

ZOH Equivalent First Order Transfer Function Find the ZOH equivalent of K/(τs + 1). Ys(s) = 1 s K τs + 1 = K

  • 1

s − 1 s + 1

τ

  • ys(t) = K
  • 1 − e−t/τ

, t ≥ 0 ys(nTs) = K

  • 1 − e−nTs/τ

, n ≥ 0

Ys(z) = K

  • z

z − 1 − z z − e−Ts/τ

slide-47
SLIDE 47

5.

ZOH Equivalent First Order Transfer Function Find the ZOH equivalent of K/(τs + 1). Ys(s) = 1 s K τs + 1 = K

  • 1

s − 1 s + 1

τ

  • ys(t) = K
  • 1 − e−t/τ

, t ≥ 0 ys(nTs) = K

  • 1 − e−nTs/τ

, n ≥ 0

Ys(z) = K

  • z

z − 1 − z z − e−Ts/τ

  • =

Kz(1 − e−Ts/τ) (z − 1)(z − e−Ts/τ)

slide-48
SLIDE 48

5.

ZOH Equivalent First Order Transfer Function Find the ZOH equivalent of K/(τs + 1). Ys(s) = 1 s K τs + 1 = K

  • 1

s − 1 s + 1

τ

  • ys(t) = K
  • 1 − e−t/τ

, t ≥ 0 ys(nTs) = K

  • 1 − e−nTs/τ

, n ≥ 0

Ys(z) = K

  • z

z − 1 − z z − e−Ts/τ

  • =

Kz(1 − e−Ts/τ) (z − 1)(z − e−Ts/τ)

Dividing by z/(z − 1), we get G(z) = K(1 − e−Ts/τ) z − e−Ts/τ

Digital Control

5

Kannan M. Moudgalya, Autumn 2007

slide-49
SLIDE 49

6.

ZOH Equivalent First Order Transfer Function

  • Example
slide-50
SLIDE 50

6.

ZOH Equivalent First Order Transfer Function

  • Example

Sample at Ts = 0.5 and find ZOH equivalent

  • trans. function of

Ga(s) = 10 5s + 1

slide-51
SLIDE 51

6.

ZOH Equivalent First Order Transfer Function

  • Example

Sample at Ts = 0.5 and find ZOH equivalent

  • trans. function of

Ga(s) = 10 5s + 1 Scilab Code:

slide-52
SLIDE 52

6.

ZOH Equivalent First Order Transfer Function

  • Example

Sample at Ts = 0.5 and find ZOH equivalent

  • trans. function of

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

slide-53
SLIDE 53

6.

ZOH Equivalent First Order Transfer Function

  • Example

Sample at Ts = 0.5 and find ZOH equivalent

  • trans. function of

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

slide-54
SLIDE 54

6.

ZOH Equivalent First Order Transfer Function

  • Example

Sample at Ts = 0.5 and find ZOH equivalent

  • trans. function of

Ga(s) = 10 5s + 1 Scilab Code: Ga = tf(10,[5 1]); G = ss2tf(dscr(Ga,0.5)); Scilab output is,

slide-55
SLIDE 55

6.

ZOH Equivalent First Order Transfer Function

  • Example

Sample at Ts = 0.5 and find ZOH equivalent

  • trans. 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

slide-56
SLIDE 56

6.

ZOH Equivalent First Order Transfer Function

  • Example

Sample at Ts = 0.5 and find ZOH equivalent

  • trans. 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 − e−0.1) z − e−0.1

slide-57
SLIDE 57

6.

ZOH Equivalent First Order Transfer Function

  • Example

Sample at Ts = 0.5 and find ZOH equivalent

  • trans. 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 − e−0.1) z − e−0.1 In agreement with the formula in the previous slide

Digital Control

6

Kannan M. Moudgalya, Autumn 2007

slide-58
SLIDE 58

7.

Discrete Integration

slide-59
SLIDE 59

7.

Discrete Integration

u(k) n u(n) u(k − 1)

slide-60
SLIDE 60

7.

Discrete Integration

u(k) n u(n) u(k − 1)

y(k) = blue shaded area

slide-61
SLIDE 61

7.

Discrete Integration

u(k) n u(n) u(k − 1)

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

slide-62
SLIDE 62

7.

Discrete Integration

u(k) n u(n) u(k − 1)

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

slide-63
SLIDE 63

7.

Discrete Integration

u(k) n u(n) u(k − 1)

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

slide-64
SLIDE 64

7.

Discrete Integration

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)]

slide-65
SLIDE 65

7.

Discrete Integration

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:

slide-66
SLIDE 66

7.

Discrete Integration

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) = z−1Y (z) + Ts 2

  • U(z) + z−1U(z)
slide-67
SLIDE 67

7.

Discrete Integration

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) = z−1Y (z) + Ts 2

  • U(z) + z−1U(z)
  • Bring all Y to left side:
slide-68
SLIDE 68

7.

Discrete Integration

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) = z−1Y (z) + Ts 2

  • U(z) + z−1U(z)
  • Bring all Y to left side:

Y (z) − z−1Y (z) = Ts 2

  • U(z) + z−1U(z)
slide-69
SLIDE 69

7.

Discrete Integration

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) = z−1Y (z) + Ts 2

  • U(z) + z−1U(z)
  • Bring all Y to left side:

Y (z) − z−1Y (z) = Ts 2

  • U(z) + z−1U(z)
  • (1 − z−1)Y (z) = Ts

2 (1 + z−1)U(z)

Digital Control

7

Kannan M. Moudgalya, Autumn 2007

slide-70
SLIDE 70

8.

Transfer Function for Discrete Integration

slide-71
SLIDE 71

8.

Transfer Function for Discrete Integration Recall from previous slide (1 − z−1)Y (z) = Ts 2 (1 + z−1)U(z)

slide-72
SLIDE 72

8.

Transfer Function for Discrete Integration Recall from previous slide (1 − z−1)Y (z) = Ts 2 (1 + z−1)U(z) Y (z) = Ts 2 1 + z−1 1 − z−1U(z)

slide-73
SLIDE 73

8.

Transfer Function for Discrete Integration Recall from previous slide (1 − z−1)Y (z) = Ts 2 (1 + z−1)U(z) Y (z) = Ts 2 1 + z−1 1 − z−1U(z) = Ts 2 z + 1 z − 1U(z)

slide-74
SLIDE 74

8.

Transfer Function for Discrete Integration Recall from previous slide (1 − z−1)Y (z) = Ts 2 (1 + z−1)U(z) Y (z) = Ts 2 1 + z−1 1 − z−1U(z) = Ts 2 z + 1 z − 1U(z) Integrator has a transfer function,

slide-75
SLIDE 75

8.

Transfer Function for Discrete Integration Recall from previous slide (1 − z−1)Y (z) = Ts 2 (1 + z−1)U(z) Y (z) = Ts 2 1 + z−1 1 − z−1U(z) = Ts 2 z + 1 z − 1U(z) Integrator has a transfer function, GI(z) = Ts 2 z + 1 z − 1

slide-76
SLIDE 76

8.

Transfer Function for Discrete Integration Recall from previous slide (1 − z−1)Y (z) = Ts 2 (1 + z−1)U(z) Y (z) = Ts 2 1 + z−1 1 − z−1U(z) = Ts 2 z + 1 z − 1U(z) Integrator has a transfer function, GI(z) = Ts 2 z + 1 z − 1 A low pass filter!

slide-77
SLIDE 77

8.

Transfer Function for Discrete Integration Recall from previous slide (1 − z−1)Y (z) = Ts 2 (1 + z−1)U(z) Y (z) = Ts 2 1 + z−1 1 − z−1U(z) = Ts 2 z + 1 z − 1U(z) Integrator has a transfer function, GI(z) = Ts 2 z + 1 z − 1 A low pass filter!

× Im(z) Re(z)

slide-78
SLIDE 78

8.

Transfer Function for Discrete Integration Recall from previous slide (1 − z−1)Y (z) = Ts 2 (1 + z−1)U(z) Y (z) = Ts 2 1 + z−1 1 − z−1U(z) = Ts 2 z + 1 z − 1U(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

slide-79
SLIDE 79

9.

Derivative Mode

slide-80
SLIDE 80

9.

Derivative Mode

  • Integral Mode: 1

s ↔ Ts 2 z + 1 z − 1

slide-81
SLIDE 81

9.

Derivative Mode

  • Integral Mode: 1

s ↔ Ts 2 z + 1 z − 1

  • Derivative Mode: s ↔ 2

Ts z − 1 z + 1

slide-82
SLIDE 82

9.

Derivative Mode

  • Integral Mode: 1

s ↔ Ts 2 z + 1 z − 1

  • Derivative Mode: s ↔ 2

Ts z − 1 z + 1

  • High pass filter
slide-83
SLIDE 83

9.

Derivative Mode

  • 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.
slide-84
SLIDE 84

9.

Derivative Mode

  • 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 fraction

expansion, a term of the form

slide-85
SLIDE 85

9.

Derivative Mode

  • 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 fraction

expansion, a term of the form z z + 1 ↔ (−1)n

slide-86
SLIDE 86

9.

Derivative Mode

  • 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 fraction

expansion, a term of the form z z + 1 ↔ (−1)n

  • Results in wildly oscillating control effort.

Digital Control

9

Kannan M. Moudgalya, Autumn 2007

slide-87
SLIDE 87

10.

Derivative Mode - Other Approximations

slide-88
SLIDE 88

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k)

slide-89
SLIDE 89

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z)

slide-90
SLIDE 90

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1

slide-91
SLIDE 91

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z)

slide-92
SLIDE 92

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔

slide-93
SLIDE 93

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1

slide-94
SLIDE 94

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1)

slide-95
SLIDE 95

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1) (1 − z−1)Y (z) = Tsz−1U(z)

slide-96
SLIDE 96

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1) (1 − z−1)Y (z) = Tsz−1U(z) Y (z) = Ts z−1 1 − z−1U(z)

slide-97
SLIDE 97

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1) (1 − z−1)Y (z) = Tsz−1U(z) Y (z) = Ts z−1 1 − z−1U(z) = Ts z − 1U(z)

slide-98
SLIDE 98

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1) (1 − z−1)Y (z) = Tsz−1U(z) Y (z) = Ts z−1 1 − z−1U(z) = Ts z − 1U(z) 1 s ↔

slide-99
SLIDE 99

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1) (1 − z−1)Y (z) = Tsz−1U(z) Y (z) = Ts z−1 1 − z−1U(z) = Ts z − 1U(z) 1 s ↔ Ts z − 1

slide-100
SLIDE 100

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1) (1 − z−1)Y (z) = Tsz−1U(z) Y (z) = Ts z−1 1 − z−1U(z) = Ts z − 1U(z) 1 s ↔ Ts z − 1 Both derivative modes are high pass,

slide-101
SLIDE 101

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1) (1 − z−1)Y (z) = Tsz−1U(z) Y (z) = Ts z−1 1 − z−1U(z) = Ts z − 1U(z) 1 s ↔ Ts z − 1 Both derivative modes are high pass, no oscillations,

slide-102
SLIDE 102

10.

Derivative Mode - Other Approximations Backward difference: y(k) = y(k − 1) + Tsu(k) (1 − z−1)Y (z) = TsU(z) Y (z) = Ts 1 1 − z−1 = Ts z z − 1U(z) 1 s ↔ Ts z z − 1 Forward difference: y(k) = y(k − 1) + Tsu(k − 1) (1 − z−1)Y (z) = Tsz−1U(z) Y (z) = Ts z−1 1 − z−1U(z) = Ts z − 1U(z) 1 s ↔ Ts z − 1 Both derivative modes are high pass, no oscillations, same gains

Digital Control

10

Kannan M. Moudgalya, Autumn 2007

slide-103
SLIDE 103

11.

PID Controller

slide-104
SLIDE 104

11.

PID Controller Proportional Mode: Most popular control mode.

slide-105
SLIDE 105

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

slide-106
SLIDE 106

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset
slide-107
SLIDE 107

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations
slide-108
SLIDE 108

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

Integral Mode: Used to remove steady state offset.

slide-109
SLIDE 109

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

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

slide-110
SLIDE 110

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

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

  • Zero steady state offset
slide-111
SLIDE 111

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

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

  • Zero steady state offset
  • Increased oscillations
slide-112
SLIDE 112

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

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

  • Zero steady state offset
  • Increased oscillations

Derivative Mode: Mainly used for prediction purposes.

slide-113
SLIDE 113

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

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

  • Zero steady state offset
  • Increased oscillations

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

slide-114
SLIDE 114

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

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

  • Zero steady state offset
  • Increased oscillations

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

  • Decreased oscillations and improved stability
slide-115
SLIDE 115

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

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

  • Zero steady state offset
  • Increased oscillations

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

  • Decreased oscillations and improved stability
  • Sensitive to noise
slide-116
SLIDE 116

11.

PID Controller Proportional Mode: Most popular control mode. Increase in proportional mode generally results in

  • Decreased steady state offset and increased oscillations

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

  • Zero steady state offset
  • Increased oscillations

Derivative Mode: Mainly used for prediction purposes. Increase in 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

slide-117
SLIDE 117

12.

PID Controller - Basic Design

slide-118
SLIDE 118

12.

PID Controller - Basic Design Let input to controller by E(z)

slide-119
SLIDE 119

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z).

slide-120
SLIDE 120

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K,

slide-121
SLIDE 121

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time

slide-122
SLIDE 122

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time and τd is derivative time,

slide-123
SLIDE 123

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time and τd is derivative time, u(t) = K

  • e(t) + 1

τi t e(t)dt + τd de(t) dt

slide-124
SLIDE 124

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time and τd is derivative time, u(t) = K

  • e(t) + 1

τi t e(t)dt + τd de(t) dt

  • U(s) = K(1 + 1

τis + τds)E(s)

slide-125
SLIDE 125

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time and τd is derivative time, u(t) = K

  • e(t) + 1

τi t e(t)dt + τd de(t) dt

  • U(s) = K(1 + 1

τis + τds)E(s) U(s)

= Sc(s) Rc(s)E(s)

slide-126
SLIDE 126

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time and τd is derivative time, u(t) = K

  • e(t) + 1

τi t e(t)dt + τd de(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.

slide-127
SLIDE 127

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time and τd is derivative time, u(t) = K

  • e(t) + 1

τi t e(t)dt + τd de(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. Filtered derivative mode:

slide-128
SLIDE 128

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time and τd is derivative time, u(t) = K

  • e(t) + 1

τi t e(t)dt + τd de(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. Filtered derivative mode: u(t) = K

  • 1 + 1

τis + τds 1 + τds

N

  • e(t)
slide-129
SLIDE 129

12.

PID Controller - Basic Design Let input to controller by E(z) and output from it be U(z). If gain is K, τi is integral time and τd is derivative time, u(t) = K

  • e(t) + 1

τi t e(t)dt + τd de(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. Filtered derivative mode: u(t) = K

  • 1 + 1

τis + τds 1 + τds

N

  • e(t)

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

Digital Control

12

Kannan M. Moudgalya, Autumn 2007

slide-130
SLIDE 130

13.

Reaction Curve Method - Ziegler Nichols Tun- ing

slide-131
SLIDE 131

13.

Reaction Curve Method - Ziegler Nichols Tun- ing

  • Applicable only to stable systems
slide-132
SLIDE 132

13.

Reaction Curve Method - Ziegler Nichols Tun- ing

  • Applicable only to stable systems
  • Give a unit step input to a stable system and get
slide-133
SLIDE 133

13.

Reaction Curve Method - Ziegler Nichols Tun- ing

  • Applicable only to stable systems
  • Give a unit step input to a stable system and get
  • 1. the time lag after which the system starts responding (L),
slide-134
SLIDE 134

13.

Reaction Curve Method - Ziegler Nichols Tun- ing

  • Applicable only to stable systems
  • 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
slide-135
SLIDE 135

13.

Reaction Curve Method - Ziegler Nichols Tun- ing

  • Applicable only to stable systems
  • 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, after

it starts responding (τ)

slide-136
SLIDE 136

13.

Reaction Curve Method - Ziegler Nichols Tun- ing

  • Applicable only to stable systems
  • 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, after

it starts responding (τ)

R = K/τ L τ K Digital Control

13

Kannan M. Moudgalya, Autumn 2007

slide-137
SLIDE 137

14.

Reaction Curve Method - Ziegler Nichols Tun- ing

slide-138
SLIDE 138

14.

Reaction Curve Method - Ziegler Nichols Tun- ing

R = K/τ L τ K

slide-139
SLIDE 139

14.

Reaction Curve Method - Ziegler Nichols Tun- ing

R = K/τ L τ K

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

τ .

slide-140
SLIDE 140

14.

Reaction Curve Method - Ziegler Nichols Tun- ing

R = K/τ L τ K

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

τ . Then the PID settings are given below:

slide-141
SLIDE 141

14.

Reaction Curve Method - Ziegler Nichols Tun- ing

R = K/τ L τ K

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

τ . Then the PID settings are given below: Kp τi τd P 1/RL PI 0.9/RL 3L PID 1.2/RL 2L 0.5L

slide-142
SLIDE 142

14.

Reaction Curve Method - Ziegler Nichols Tun- ing

R = K/τ L τ K

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

τ . Then the PID settings are given below: Kp τi τd P 1/RL PI 0.9/RL 3L PID 1.2/RL 2L 0.5L Consistent units should be used

Digital Control

14

Kannan M. Moudgalya, Autumn 2007

slide-143
SLIDE 143

15.

Stability Method - Ziegler Nichols Tuning

slide-144
SLIDE 144

15.

Stability Method - Ziegler Nichols Tuning Another way of finding the PID tuning parameters is as follows.

slide-145
SLIDE 145

15.

Stability Method - Ziegler Nichols Tuning Another way of finding the PID tuning parameters is as follows.

  • Close the loop with a proportional controller
slide-146
SLIDE 146

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

becomes unstable

slide-147
SLIDE 147

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

becomes unstable

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

(Ku) and the period of oscillation (Pu)

slide-148
SLIDE 148

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

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:
slide-149
SLIDE 149

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

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 τd P 0.5Ku PI 0.45Ku Pu/1.2 PID 0.6Ku Pu/2 Pu/8

slide-150
SLIDE 150

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

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 τd P 0.5Ku PI 0.45Ku Pu/1.2 PID 0.6Ku Pu/2 Pu/8 Consistent units should be used

Digital Control

15

Kannan M. Moudgalya, Autumn 2007

slide-151
SLIDE 151

16.

Design Procedure

slide-152
SLIDE 152

16.

Design Procedure A common procedure to design discrete PID controller:

slide-153
SLIDE 153

16.

Design Procedure A common procedure to design discrete PID controller:

  • Tune continuous PID controller by any popular technique
slide-154
SLIDE 154

16.

Design Procedure A common procedure to design discrete PID controller:

  • Tune continuous PID controller by any popular technique
  • Get continuous PID settings
slide-155
SLIDE 155

16.

Design Procedure A common procedure to design discrete PID controller:

  • Tune continuous PID controller by any popular technique
  • Get continuous PID settings
  • Discretize using the method discussed now or the ZOH equiv-

alent method discussed earlier

slide-156
SLIDE 156

16.

Design Procedure A common procedure to design discrete PID controller:

  • Tune continuous PID controller by any popular technique
  • Get continuous PID settings
  • 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

slide-157
SLIDE 157

17.

2-DOF Controller

slide-158
SLIDE 158

17.

2-DOF Controller

y Tc Rc G = B A Sc Rc r u −

slide-159
SLIDE 159

17.

2-DOF Controller

y Tc Rc G = B A Sc Rc r u −

u = Tc Rc r − Sc Rc y

slide-160
SLIDE 160

17.

2-DOF Controller

y Tc Rc G = B A Sc Rc r u −

u = Tc Rc r − Sc Rc y It is easy to arrive at the following relation between r and y.

slide-161
SLIDE 161

17.

2-DOF Controller

y Tc Rc G = B A Sc Rc r u −

u = Tc Rc r − Sc Rc y It is easy to arrive at the following relation between r and y. y = Tc Rc B/A 1 + BSc/ARc r

slide-162
SLIDE 162

17.

2-DOF Controller

y Tc Rc G = B A Sc Rc r u −

u = Tc Rc r − Sc Rc y It is easy to arrive at the following relation between r and y. y = Tc Rc B/A 1 + BSc/ARc r = BTc ARc + BSc r

slide-163
SLIDE 163

17.

2-DOF Controller

y Tc Rc G = B A Sc Rc r u −

u = Tc Rc r − Sc Rc y It is easy to arrive at the following relation between r and y. y = Tc Rc B/A 1 + BSc/ARc r = BTc ARc + BSc r Error e, given by r − y is given by

slide-164
SLIDE 164

17.

2-DOF Controller

y Tc Rc G = B A Sc Rc r u −

u = Tc Rc r − Sc Rc y It is easy to arrive at the following relation between r and y. y = Tc Rc B/A 1 + BSc/ARc r = BTc ARc + BSc r Error e, given by r − y is given by e =

  • 1 −

BTc ARc + BSc

  • r
slide-165
SLIDE 165

17.

2-DOF Controller

y Tc Rc G = B A Sc Rc r u −

u = Tc Rc r − Sc Rc y It is easy to arrive at the following relation between r and y. y = Tc Rc B/A 1 + BSc/ARc r = BTc ARc + BSc r Error e, given by r − y is given by e =

  • 1 −

BTc ARc + BSc

  • r = ARc + BSc − BTc

ARc + BSc r

Digital Control

17

Kannan M. Moudgalya, Autumn 2007

slide-166
SLIDE 166

18.

Offset-Free Tracking of Steps with Integral

slide-167
SLIDE 167

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)

slide-168
SLIDE 168

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

n→∞ e(n) =

slide-169
SLIDE 169

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

n→∞ e(n) = lim z→1

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

slide-170
SLIDE 170

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

n→∞ e(n) = lim z→1

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

Because the controller has an integral action,

slide-171
SLIDE 171

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

n→∞ e(n) = lim z→1

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

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

slide-172
SLIDE 172

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

n→∞ e(n) = lim z→1

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

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

slide-173
SLIDE 173

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

n→∞ e(n) = lim z→1

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

Because the controller has an integral action, Rc(1) = 0: e(∞) = Sc(z) − Tc(z) Sc(z)

  • z=1
slide-174
SLIDE 174

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

n→∞ e(n) = lim z→1

z − 1 z A(z)Rc(z) + B(z)Sc(z) − B(z)Tc(z) A(z)Rc(z) + B(z)Sc(z) 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)

slide-175
SLIDE 175

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

n→∞ e(n) = lim z→1

z − 1 z A(z)Rc(z) + B(z)Sc(z) − B(z)Tc(z) A(z)Rc(z) + B(z)Sc(z) 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:

slide-176
SLIDE 176

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

n→∞ e(n) = lim z→1

z − 1 z A(z)Rc(z) + B(z)Sc(z) − B(z)Tc(z) A(z)Rc(z) + B(z)Sc(z) 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

slide-177
SLIDE 177

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

n→∞ e(n) = lim z→1

z − 1 z A(z)Rc(z) + B(z)Sc(z) − B(z)Tc(z) A(z)Rc(z) + B(z)Sc(z) 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 Tc = Sc(1)

slide-178
SLIDE 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

n→∞ e(n) = lim z→1

z − 1 z A(z)Rc(z) + B(z)Sc(z) − B(z)Tc(z) A(z)Rc(z) + B(z)Sc(z) 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 Tc = Sc(1) Tc(1) = Sc(1)

Digital Control

18

Kannan M. Moudgalya, Autumn 2007