6
ISSN 1 746-7233, England, UK World Journal of Modelling and Simulation Vol. 4 (2008) No. 3, pp. 182-187 Design of digital differ entiators and integrators of order 1 2 B. T. Krishna , K. V . V . S. Reddy Department of ECE, GITAM University , Vis akhapatnam, India (  Received March 4 2008, Accepted May 1 2008 ) Abstract. In thi s pap er ,de sig n of digita l dif fer ent iat ors and int egrat ors of order 1 2 is prese nted. First, the ratio nal approximation for the fractional operator s ± 1 2 is calculated. Next, using s to z transforms it is digitized. The results obtained were closer to ideal characteristics. Keywords: continued fraction expansion, Al-Alaoui transform, fractional order, conve rgence, discretization 1 Introducti on Fractional order integrators and differentiators are used to calculate the fractional order integral and derivative of an input signal [8, 9] . These devices nd applications in instrumentation,control systems,radar, digital Image processing, bio-medical engineering and other allied elds [3] . An ideal fractional order digital differentiator is dened by the following transfer function [4] , H d (  jω ) = (  jω ) α (1) where α is fractional order and j = √ 1. Similarly an ideal fractional order integrator is dened as, H I (  jω ) = 1 (  jω ) α (2) The key ste p in the digita l implementation of the fracti ona l order dif fer ent iat or/ inte gra tor is its discretization [4, 5, 11] . Direct and indirect discretization are the commonly used methods for discretization. Di- rect discretization method involves the application of the direct power series or continued fraction expansion of s to z transform. In [4, 11], the diff erent methods of direct discret izati on of the fractional order controller are discussed. In [5], Dorcak et al. have compared all these direct discretization methods. In indirect discretization method,two steps are required, i.e., tting the transfer function rst and then discretizing the t s-domain transfer function. In this paper, rst, rational approximations for √ s and 1 √ s are obtained using continued fraction expansion. Then, using s to z transformations it is discretized. The paper is organised as follows. First order s to z transforms are discussed in Section 2. Design method is presented in section 3. Secti on 4 deals with Simulati on Results and conclus ions. 2 Fi rst order s to z transforms: S to z transforms play major role in the discretization [6, 10] . The s to z trans form should be such that, The imagina ry axis in the s-plane be mapped onto the unit circle in z plane. Corresponding author. E-mail address: [email protected]. Published by World Academic Press, World Academic Union

design of digital differentiators of order 1/2

Embed Size (px)

Citation preview

Page 1: design of digital differentiators of order 1/2

7/28/2019 design of digital differentiators of order 1/2

http://slidepdf.com/reader/full/design-of-digital-differentiators-of-order-12 1/6

ISSN 1 746-7233, England, UK

World Journal of Modelling and Simulation

Vol. 4 (2008) No. 3, pp. 182-187

Design of digital differentiators and integrators of order 1

2

B. T. Krishna∗ , K. V. V. S. Reddy

Department of ECE, GITAM University, Visakhapatnam, India

( Received March 4 2008, Accepted May 1 2008 )

Abstract. In this paper,design of digital differentiators and integrators of order 1

2is presented.First,the rational

approximation for the fractional operator s±1

2 is calculated. Next, using s to z transforms it is digitized. The

results obtained were closer to ideal characteristics.

Keywords: continued fraction expansion, Al-Alaoui transform, fractional order, convergence, discretization

1 Introduction

Fractional order integrators and differentiators are used to calculate the fractional order integral and

derivative of an input signal[8, 9]. These devices find applications in instrumentation,control systems,radar,

digital Image processing, bio-medical engineering and other allied fields[3].

An ideal fractional order digital differentiator is defined by the following transfer function[4],

H d( jω ) = ( jω)α (1)

where α is fractional order and j =√ −1. Similarly an ideal fractional order integrator is defined as,

H I ( jω) =1

( jω)α(2)

The key step in the digital implementation of the fractional order differentiator/integrator is its

discretization[4, 5, 11]. Direct and indirect discretization are the commonly used methods for discretization. Di-

rect discretization method involves the application of the direct power series or continued fraction expansion

of  s to z transform. In [4, 11], the different methods of direct discretization of the fractional order controller

are discussed. In [5], Dorcak et al. have compared all these direct discretization methods.In indirect discretization method,two steps are required, i.e., fitting the transfer function first and then

discretizing the fit s-domain transfer function. In this paper, first, rational approximations for√ 

s and 1√ s

are

obtained using continued fraction expansion. Then, using s to z transformations it is discretized.

The paper is organised as follows. First order s to z transforms are discussed in Section 2. Design method

is presented in section 3. Section 4 deals with Simulation Results and conclusions.

2 First order s to z transforms:

S  to z transforms play major role in the discretization[6, 10]. The s to z transform should be such that,

• The imaginary axis in the s-plane be mapped onto the unit circle in z plane.∗ Corresponding author. E-mail address: [email protected].

Published by World Academic Press, World Academic Union

Page 2: design of digital differentiators of order 1/2

7/28/2019 design of digital differentiators of order 1/2

http://slidepdf.com/reader/full/design-of-digital-differentiators-of-order-12 2/6

World Journal of Modelling and Simulation, Vol. 4 (2008) No. 3, pp. 182-187  183

• A stable analog transfer function be transformed into a stable digital transfer function.

Property 1 preserves the frequency selective properties of the continuous system, whereas property 2

ensures that stable continuous systems are mapped into stable discrete systems[6, 10]. Bilinear transform and

backward difference transform were the most widely used s to z transforms.

In case of backward difference transform, the imaginary axis of the s-plane maps as a circle of radius 1/2

centered at z =1

/2. Bilinear transform satisfies the above two conditions but it produces warping effect.Thefollowing is the expression for bilinear transform,

s =2(z − 1)

T (z + 1)(3)

A new type of  s to z transform called as Al-Alaoui transform is obtained from the interpolation of 

backward and bilinear transforms with a tuning factor, a of value varying from 0 to 1[2].

H N (z) =aT z

(z − 1)+ (1− a)T 

(z + 1)

2(z − 1), 0 ≤ a ≤ 1 (4)

The resulting s to z transform is,

s =2(z − 1)

T [(1− a) + (1 + a)z](5)

Substituting a = 3

4, in Eq. (5) it simplifies to,

s =8(z − 1)

7T (z + 1

7)

(6)

The above transform has been proved to be less warped than bilinear transformation and less linear than

backward difference transform. The Al-Alaoui Transform has shown superior performance in digital filter

design compared to previously existing s to z transforms[1, 2].

3 Design method

Continued fraction expansion is used to obtain the rational approximations of the irrational functions[7].

It helps in terminating an infinite order transfer function to finite order. Since the fractional order systems

were characterized by infinite memory[3], they will have an infinite order rational approximation. So, in order

to have practical realization of the system it’s transfer function has to be terminated to a finite order.

We have the continued fraction expansion for√ 

s as [7]

√ s = a +

√ s− a

= a +

s− a2√ s + a

= a +s− a2

2a +

s

−a2

2a+ s−a22a+−−

(7)

Consequently,

√ s = a +

s− a2

2a +

s− a2

2a + ......[Rogers][4] (8)

One can re-write the continued fraction as,

√ s = a +

s−a22a

1+

s−a24a2

1+

s−a24a2

1 + ......(9)

The above continued fraction expansion converges in the finite complex s-plane along the negative real

axis satisfying the inequality −∞ < s ≤ 0. Considering number of terms of Eq. (7), the rational approx-

imations obtained for√ 

s were summarised in Tab. 1. In order to get the rational approximation of  1√ s

the

WJMS email for subscription: [email protected] 

Page 3: design of digital differentiators of order 1/2

7/28/2019 design of digital differentiators of order 1/2

http://slidepdf.com/reader/full/design-of-digital-differentiators-of-order-12 3/6

184 B. Krishna & K. Reddy: Design of digital differentiators

Table 1. Rational approximations for√ 

s

S. NO No. of Terms Rational Approximation

1 2 3s+1

s+3

2 4 5s2+10s+1

s2+10s+5

3 6 7s3+35s

2+21s+1

s3+21s2+35s+7

4 89s

4+84s

3+126s

2+36s+1

s4+36s3+126s2+84s+9

5 10 11s5+165s

4+462s

3+330s

2+55s+1

s5+55s4+330s3+462s2+165s+11

Fig. 1. Comparison of Magnitude and Phase Responses of Rational approximation functions with ideal√ 

s

expressions has to be simply reversed. Fig. 1 compares the magnitude and phase responses of rational approx-

imations with the ideal one.

From the magnitude and phase response Plots it is evident that fifth order rational approximation is best

fit in s-domain. Higher order rational approximations can be obtained by increasing the number of terms inEq. (7). So,

√ s =

11s5 + 165s4 + 462s3 + 330s2 + 55s + 1

s5 + 55s4 + 330s3 + 462s2 + 165s + 11(10)

1√ s

=s5 + 55s4 + 330s3 + 462s2 + 165s + 11

11s5 + 165s4 + 462s3 + 330s2 + 55s + 1(11)

In order to check for the stability of the rational approximations as defined in Eq. ( 8) and (9), pole-zero plot

are drawn and are shown in Fig. 2 and Fig. 3.

From pole-zero plots,it is evident that pole and zeros interlace on negative real axis making the system as

stable. By digitizing the Eq. (8) and (9) using transforms as defined in Eq. (3) and (6), the following transfer

functions were obtained.

WJMS email for contribution: [email protected] 

Page 4: design of digital differentiators of order 1/2

7/28/2019 design of digital differentiators of order 1/2

http://slidepdf.com/reader/full/design-of-digital-differentiators-of-order-12 4/6

Page 5: design of digital differentiators of order 1/2

7/28/2019 design of digital differentiators of order 1/2

http://slidepdf.com/reader/full/design-of-digital-differentiators-of-order-12 5/6

186 B. Krishna & K. Reddy: Design of digital differentiators

Fig. 5. Magnitude Response, Phase Response and error plots of digital integrators

where H dT (z), H IT (z) are the transfer functions of digital differentiator and integrator obtained using bilinear

transform, and H dA(z), H IA(z) are the transfer functions of digital differentiator and integrator when Al-

Alaoui transform is used. It is to be noted that sampling time, T  = 1 sec is used in all calculations.

Fig. 6. Pole-zero diagrams

WJMS email for contribution: [email protected] 

Page 6: design of digital differentiators of order 1/2

7/28/2019 design of digital differentiators of order 1/2

http://slidepdf.com/reader/full/design-of-digital-differentiators-of-order-12 6/6

World Journal of Modelling and Simulation, Vol. 4 (2008) No. 3, pp. 182-187  187

4 Results and conclusions

This section presents pole-zero diagrams, magnitude and phase responses of the designed digital differ-

entiators and integrators evaluated at, sampling time, T  = 1 sec.

From the magnitude plots it is to be noted that Al-Alaoui transform has shown superior performance

compared to bilinear transform. The phase response is more nearer to ideal using bilinear transform. The

percent relative error is very less. Poles and zeros were lying inside of the unit circle and alternate on negative

real axis. So, the indirect discretization produced stable,minimum phase differentiators and integrators.

References

[1] M. Al-Alaoui. Novel digital integrator and differentiator. Electronics Letters, 1993, 29(4): 376–378.

[2] M. Al-Alaoui. Filling the gap between the bilinear and the backward difference transforms: An interactive design

approach. Int. J. of Electrical Engineering Education, 1997, 34(4): 331–337.

[3] J. Bruce, B. Mauro, G. Paolo. Physics of Fractal operators. Springer Verilog, 2003.

[4] Y. Chen, B. Vinagre. A new IIR-type digital fractional order differentiator. Signal Processing, 2003, 83: 2359–

2365.

[5] L. Dorcak, I. Petras, M. Zborovjan. Comparison of the methods for discrete approximation of the fractional-orderoperator. Acta Montanistica Slovaca, 2003, 236–239.

[6] E. Ifeachor, B. Jervis. Digital signal processing-a practical approach, pearson education. 2004.

[7] A. Khovanskii. The application of continued fractions and their generalizations to problems in approximation

theory. 1993.

[8] K. Miller, B. Ross. An introduction to the fractional calculus and fractional differential equations. John Wiley

sons, 1993.

[9] K. Oldham, J. Spanier. The Fractional Calculus. Academic Press, 1974.

[10] J. Proakis, D. Manolakis. Digital signal processing, principles, algorithms, and applications. PHI Publications,

1999.

[11] B. Vinagre, Y. Chen, I. Petras. Two direct tustin discretization methods for fractional-order differentiator and

integrator. J. franklinInst , 2003, 340(5): 349–362.

WJMS email for subscription: [email protected]