Z Transformation by Pascal Matrix and its Applications in the Design of IIR Filters

Similar documents
como trabajan las calculadoras?

All-Pole Recursive Digital Filters Design Based on Ultraspherical Polynomials

Victor Hernández Guzmán Universidad Autónoma de Querétaro, Facultad de Ingeniería. A.P. 3-24, C.P Querétaro, Qro., México.

Theory of signals and images I. Dr. Victor Castaneda

Master Map Algebra (Master) Content Skills Assessment Instructional Strategies Notes. A. MM Quiz 1. A. MM Quiz 2 A. MM Test

PS403 - Digital Signal processing

Chapter 7: IIR Filter Design Techniques

Year 12 Maths C1-C2-S1 2016/2017

Applicatin of the α-approximation for Discretization of Analogue Systems

Algebra 2 Khan Academy Video Correlations By SpringBoard Activity

Algebra 2 Khan Academy Video Correlations By SpringBoard Activity

Algebra 1.5 Year Long. Content Skills Learning Targets Assessment Resources & Technology CEQ: Chapters 1 2 Review

AJUSTE DE CONTROLADORES EN ESTACIONES DE CONVERSIÓN HVDC TIPO VSC. Juan Sebastián Laverde Mario Alberto Ríos

A note on inertial motion

Convergence analysis for Latin-hypercube lattice-sample selection strategies for 3D correlated random hydraulicconductivity

UNIT 3: POLYNOMIALS AND ALGEBRAIC FRACTIONS. A polynomial is an algebraic expression that consists of a sum of several monomials. x n 1...

Unit 7. POLYNOMIALS. 1. WHAT IS ALGEBRA? WHY STUDY ALGEBRA? To answer this question, please visit this webpage:

How to write polynomials in standard form How to add, subtract, and multiply polynomials How to use special products to multiply polynomials

Learning Module 1 - Basic Algebra Review (Appendix A)

PHASE 1 CURRICULUM MAP M. Fellmeth Course/Subject: Honors Precalculus Grade: 11 th Teacher: M. Hart

Digital Signal Processing

Algebra 2 Advanced (Master)

THEIR GRAPHS, AND THEIR

Trigonometric Identities Exam Questions

Basic properties of real numbers. Solving equations and inequalities. Homework. Solve and write linear equations.

Year 12 Maths C1-C2-S1 2017/2018

Finding the maximum and minimum magnitude responses (gains) of third-order filters without calculus

2005 Palm Harbor February Invitational Algebra II Answer Key

ON THE REALIZATION OF 2D LATTICE-LADDER DISCRETE FILTERS

Trigonometry 1st Semester Review Packet (#2) C) 3 D) 2

August 2018 ALGEBRA 1

Homework. Basic properties of real numbers. Adding, subtracting, multiplying and dividing real numbers. Solve one step inequalities with integers.

SUBJECT: Mathematics Advanced Algebra STRAND: Numerical Patterns Grade 8

Fairfield Public Schools

Counting domino trains

MONTHLY SYLLABUS SESSION CLASS-VIII SUBJECT : MATHEMATICS TERM-I (PRATIBHA)

Algebra 1.5. Content Skills Learning Targets Assessment Resources & Technology CEQ:

0613a2. Algebra 2/Trigonometry Regents Exam x. 1 2 x 8. x 2. x x + 2. x 3

Prentice Hall Mathematics, Algebra Correlated to: Achieve American Diploma Project Algebra II End-of-Course Exam Content Standards

OPTIMAL SCALING VALUES FOR TIME-FREQUENCY DISTRIBUTIONS IN DOPPLER ULTRASOUND BLOOD FLOW MEASUREMENT

6.1 Reciprocal, Quotient, and Pythagorean Identities.notebook. Chapter 6: Trigonometric Identities

REVISTA INVESTIGACION OPERACIONAL VOL. 38, NO. 3, , 2017

UNIVERSITI SAINS MALAYSIA. EEE 512/4 Advanced Digital Signal and Image Processing

Pre-calculus 12 Curriculum Outcomes Framework (110 hours)

Short solutions for a linear Diophantine equation

Design of IIR filters

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

AMPLITUDE FLUCTUATIONS IN CURVATURE SENSING: COMPARISON OF TWO SCHEMES

Higher-order Lucas Numbers

New Jersey Quality Single Accountability Continuum (NJQSAC) A-SSE 1-2; A-CED 1,4; A-REI 1-3, F-IF 1-5, 7a

MAT30S Grade 10 Review Mr. Morris

Precalculus Graphical, Numerical, Algebraic Media Update 7th Edition 2010, (Demana, et al)

Analog and Digital Filter Design

Curriculum Mapper - Complete Curriculum Maps CONTENT. 1.2 Evaluate expressions (p.18 Activity 1.2).

A video College Algebra course & 6 Enrichment videos

Even from Gregory-Leibniz series π could be computed: an example of how convergence of series can be accelerated

HADDONFIELD PUBLIC SCHOOLS Curriculum Map for Advanced Precalculus/Chapter 1

Students will be able to simplify numerical expressions and evaluate algebraic expressions. (M)

Computation of matrices and submodular functions values associated to finite topological spaces

AP Calculus AB Summer Assignment 2016

MIDTERM 4 PART 1 (CHAPTERS 5 AND 6: ANALYTIC & MISC. TRIGONOMETRY) MATH 141 FALL 2018 KUNIYUKI 150 POINTS TOTAL: 47 FOR PART 1, AND 103 FOR PART

Algebra Review. Terrametra Resources. Lynn Patten

Effects of an assumed cosmic ray-modulated low global cloud cover on the Earth s temperature

DIGITAL SIGNAL PROCESSING. Chapter 6 IIR Filter Design

Quantile Textbook Report

A Proposed Warped Choi Williams Time Frequency Distribution Applied to Doppler Blood Flow Measurement

Digital Signal Processing IIR Filter Design via Bilinear Transform

Adding and Subtracting Rational Expressions Interactive Math Notebook Activities and Scaffolded Notes

Find the domain and range of each function. Use interval notation (parenthesis or square brackets).

NEW STEIGLITZ-McBRIDE ADAPTIVE LATTICE NOTCH FILTERS

Linear Equations & Inequalities Definitions

Unit 3. POLYNOMIALS AND ALGEBRAIC FRACTIONS.

Grade 12 Pre-Calculus Mathematics Achievement Test. Marking Guide

Postdoctoral Researcher, Otto-von-Guericke University, Germany, September September 2013,

Unit 5. POLYNOMIALS. 1. WHAT IS ALGEBRA? WHY STUDY ALGEBRA? To answer this question, please visit this webpage:

Algebra 2 Advanced (Master)

Span & Linear Independence (Pop Quiz)

A Multiobjective Model of Oligopolies under Uncertainty

Williamsville C.U.S.D. #15 Mathematics Curriculum

Mathematics Online Instructional Materials Correlation to the 2009 Algebra II Standards of Learning and Curriculum Framework

122. Period: x 4 2 x 7

Intermediate Algebra

Polynomials: Add and Subtract

Wavelet analysis on financial time series. By Arlington Fonseca Lemus. Tutor Hugo Eduardo Ramirez Jaime

Ron Paul Curriculum Mathematics 8 Lesson List

April Adkins

Trinity Area School District. Overarching Big Ideas, Enduring Understandings, and Essential Questions (These spiral throughout the entire curriculum.

In this note we will evaluate the limits of some indeterminate forms using L Hôpital s Rule. Indeterminate Forms and 0 0. f(x)

Stability Condition in Terms of the Pole Locations

Composition of and the Transformation of Functions

sin cos 1 1 tan sec 1 cot csc Pre-Calculus Mathematics Trigonometric Identities and Equations

Design IIR Butterworth Filters Using 12 Lines of Code

0615a2. Algebra 2/Trigonometry Regents Exam x 2 y? 4 x. y 2. x 3 y

arxiv: v6 [cs.na] 12 Nov 2015

Fundamentos de Vibraciones Mecánicas

MATH 0960 ELEMENTARY ALGEBRA FOR COLLEGE STUDENTS (8 TH EDITION) BY ANGEL & RUNDE Course Outline

ELEG 305: Digital Signal Processing

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches

Intermediate Level Learning Targets

Elementary Analysis on Ramanujan s Nested Radicals

Transcription:

Z Transformation by Pascal Matrix and its Applications in the Design of IIR Filters F. J. García-Ugalde* 1, B. Psenicka 2, M.O. Jiménez-Salinas 3 1,2,3 Universidad Nacional Autónoma de México. Facultad de Ingeniería, División de Ingeniería Eléctrica Circuito Exterior, Ciudad Universitaria, Coyoacán 451, Ciudad de México, Mexico. *fgarciau@unam.mx ABSTRACT In this work, we summarize a direct method to transform the low-pass continuous-time transfer function to several discrete-time transfer functions. Our algorithm uses the Pascal matrix that is built from the rows of a Pascal Triangle. The inverse transformation is obtained with the Pascal matrix without computing the determinant of the system, which simplifies the process to obtain the associated analog transfer function if the discrete transfer function is known. In addition, the algorithm is easy to program on a personal computer or scientific calculator because all the computations are made using matrices. The algorithm presented is illustrated with numerical examples. Keywords: Analog filters, Digital filters, Pascal matrix, Bilinear Z-transform, IIR filters. RESUMEN En el presente trabajo, resumimos un método directo para transformar la función de transferencia paso bajas del tiempo continuo a diferentes funciones de transferencia del tiempo discreto. Nuestro algoritmo utiliza la matriz de Pascal que se construye con los renglones del triángulo de Pascal. La transformación inversa se obtiene con la matriz de Pascal sin calcular el determinante del sistema, lo que simplifica el proceso para obtener la correspondiente función de transferencia analógica si la función de transferencia discreta es conocida. Además, el algoritmo es fácil de programar en una computadora personal o una calculadora científica, debido a que todos los cálculos se realizan con matrices. El algoritmo presentado es ilustrado con ejemplos numéricos. 1. Introduction In the context of the digital filter design, a great deal of research has been done to facilitate their computation. As a matter of fact, the Pascal matrix defined in [1] has proved its utility in this field. In the literature [2], the s-z transformation is done in two steps. First, the frequency transformation in the domain is done, then the Pascal matrix for the bilinear z transformation is used to obtain the associated digital filter. We shall give in this work a direct method to transform a filter from the continuous time to the discrete time. The continuous-time circuit of a filter is completely described by the transfer function given in (1): (1) Journal of Applied Research and Technology 355

where the coefficients and are real. Those coefficients can be represented in vector form, as follows: (2) In a similar way, the discrete filter can be characterized with the transfer function given in (3), which also has real coefficients and that are obtained using the bilinear -transformation. (3) (4) We will now give a brief explanation of the Pascal matrix, if in Equation (1) we substitute the relationship between of bilinear transform, then we obtained (5) 1 1 1 1 1 1 1 1 (5) Using the binomial theorem The terms in brackets can be expressed as a matrix of size 1x 1, as shown in [3]. This matrix is called the Pascal matrix and, it is very useful in the transformation. A relationship between (7) and (3) can be found rearranging and changing some indices, as in [3]., then the Pascal matrix, is defined as [3, 4]., 1,,1,, (8) (6) (9) where!!! numerator of (5) as follows:, we can distribute the 1 1 1 where and are the indices of the row and column of the Pascal matrix, respectively. The coefficients of the numerator of the digital filter can be computed using (1). The coefficients of the denominator can be obtained in a similar way as the coefficientes of the numerator as shown in (11), (1) (7), (11) 356 Vol.9, December 211

2. Lowpass to Low-pass Transformation The discrete low-pass filter is obtained using the bilinear -transformation from (12),, cot (12) where is the cut-off frequency of the low-pass filter and is the sampling frequency. In order to obtain the coefficients and from the vectors and, we compare the numerators and denominators of the transfer functions (1) and (3). For example, if we substitute (12) in (1) for 2, we obtain the following expression: (13) Comparing the coefficients in (13) with the same exponents of the variable, we get the matrix equation: 1 1 1 2 2 (14) 1 1 1 A similar equation can be obtained for vector. These equations can be represented in the following compact form: (15) Where is the low-pass Pascal matrix, and and are the vectors represented by,,,, (16),,,, 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 1 1 5 1 1 6 15 2 15 6 1 (17) Journal of Applied Research and Technology 357

From the classical Pascal triangle in (17), we can observe that the elements of the base form the last column of the Pascal matrix in (14) with the exception that the even rows are negative and the first column of the same equation corresponds to the third row of the Pascal triangle. We conclude that the Pascal matrix can be formed taking into account the following considerations: 1. All the elements in the first row of the Pascal Matrix must be ones. 2. The elements in the last column can be computed by the following expression:, 1!!! 1,, 1 (18) and the remaining elements in the Pascal matrix can be computed with the following expression:,,,, with, 2,3,,, 1 (19) 2.1 Example In this example, we wish to transform the low-pass transfer function to its discrete low-pass version using the following parameters: 8 [Hz], 22 [Hz],..... (2) First, we calculate the constant of the bilinear transformation using (12): cot.85486 (21) Using the Pascal matrix ( ) for order 3, the numerator and denominator of the transfer function are computed as follows: 1 1 1 1 3 1 1 3 3 1 1 3 1 1 1 1 5.153.854 5.8823 14.7297 14.7297 5.8823 (22) 1 1 1 1 5.153 11.4696 3 1 1 3 4.344.854 15.447 3 1 1 3 2.781.854 11.4568 1 1 1 1.929.854 2.8928 5.8823 14.7297 14.7297 5.8823 11.4696 15.447 11.4568 2.8928 (23) 358 Vol.9, December 211

3. Low-pass to High-pass Transformation The low-pass to high-pass transformation is similar to the lowpass to low-pass case; first we substitute the variable 1 instead of in (18), then 1 1 1 1 3 1 1 3 3 1 1 3 1 1 1 1 (26), tan (24) in the relation (24), represents the cut-off frequency of the high-pass filter and, the sampling frequency. If we substitute (24) in (1) and compare the numerator, for 3, we get the following expressions in the matrix form: (25) 1 1 1 1 3 1 1 3 3 1 1 3 1 1 1 1 (27) where, is the Pascal matrix for the high-pass case in which the first row elements are ones and the first column is obtained with (18). The remaining elements, can be obtained using (28):,,,, with, 2,3,, 1 (28) The matrix can also be obtained by flipping the columns of the Pascal matrix in the left-to-right direction [5]. The vectors and are represented in a similar way than and,,,,, (29),,,, 3.1 Example In this example, we shall transform the low-pass transfer function to the high-pass transfer function using the following parameters: 8 [Hz], 22 [Hz],..... (3) First, we compute the constant of the bilinear transform: 22 tan 1.178 8 (31) then, we use the expressions and for order 3 to finally get the discrete transfer function : 6.5238 14.882 14.882 6.5238 15.542 12.26 11.338 2.3882 (32) Journal of Applied Research and Technology 359

4. Low-pass to Band-pass Transformation The procedure considered in this section shows how to obtain a discrete band-pass filter characterized by the continuous-time transfer function from (1), using the transformation. The bandpass can be seen as a superposition of a low-pass filter and high-pass filter [6], [7]. Then the transform has the form: cot tan (33) In the last equation, represents the sampling frequency, is the lower cut-off frequency and is the upper cut-off frequency of the band-pass filter. In order to obtain the coefficients and with,1,,2, we need to know the coefficients of the continuous vector and, respectively. Then, we substitute (33) in (1), after that, we compare the numerator and the denominator of the resulting function with the transfer function in (3). For simplicity, and without loss of generalization, we choose as an example the order of the filter for 3. Due to the low-pass to band-pass transformation, the transfer function, becomes of order 6. After comparing the numerators and denominators of the discrete and continuous transfer functions, we get the expression in matrix form: 1 1 1 1 1 1 1 6 4 2 2 4 6 15 5 1 3 1 5 15 3 2 4 4 2 2 15 5 1 3 1 5 15 6 4 2 2 4 6 3 1 1 1 1 1 1 1 (34) In (34), the matrix is the Pascal matrix for the band-pass case, which is the same as. The vector is obtained as a recurrence. Unlike [8], we added the term in the recurrence to adjust the band of the filter; then is obtained according to (35), see [8] pp. 878. 1 1 1 1 1 (35) where. The vector is obtained in a similar way. 36 Vol.9, December 211

4.1 Example In this example, we shall transform a Chebychev low-pass filter to a band-pass filter with the following specifications, 3[dB], order 4, 3[Hz], 1[Hz], 8[Hz]; using these parameters, we get the transfer function:.1253.5851 1.1692.448.177 (36) First, we compute the constants,, : tan 1 8.4142 cot 3.4142 8 (37) 1 cot 8 1.271.4142.4142 (38) After that, we calculate the band-pass Pascal matrix and substitute,, and in vectors and for 8 performing the following multiplications: (39) we get the coefficients of the numerator and denominator of the transfer function, which is given in (4):.1253.512.7518.512.1253 3.3325 3.6528 4.7236 2.9384 1.3563 (4) The coefficients multiplied by are missing in the transfer function because the constants and are equal. The magnitude of the band-pass filter in (4) is shown in Figure 1. 5. Low-pass to Band-stop Transformation To transform the continuous low-pass transfer function to the digital band-stop transfer function, we must use the transformation in the form: 1 1 1 1 1 (41) Journal of Applied Research and Technology 361

Figure 1. Magnitude of the band-pass filter. It is easy to prove that the vector in (42) can be obtained reversing the coefficients ( ) of the vector and the same for vector. We do not need to do any change in the Pascal matrix, that is, the Pascal matrix for the band-pass case is exactly the same for the band-stop case ( ). Then the transformation is given by the following relations: 5.1 Example (42) In this example, we wish to transform the Chebychev low-pass transfer function to the band-stop transfer function using the following parameters 3[dB], order 4, 3[Hz], 1[Hz], 8[Hz]..1253.5851 1.1692.448 9.177 (43) First, we compute the parameters,, and and then we substitute them along with the coefficients and of the transfer function (43) in (42). After performing these matrix operations, we get the transfer function of the band-stop filter (44):.1253.512.7518.512.1253 3.3359 3.6528 4.7236 2.9315 1.3563 (44) 362 Vol.9, December 211

The digital transfer functions of the band-pass and band-stop filters are similar and they only differ in signs. The magnitude of the band-stop filter is shown in Figure 2. Figure 2. Magnitude of the band-stop filter. 6. Inverse Transformation from z Domain to s Domain One of the properties of the Pascal matrix is that if we multiply a matrix by itself, we almost reach the identity matrix up to a scaling factor [5]. That means that if we wish to calculate the inverse of a Pascal matrix, we only need to normalize the matrix up to a scaling factor depending on its order to get its inverse. For instance, if we multiply the low-pass Pascal matrices, we obtain That means that 1 1 1 1 1 4 2 2 4 1 1 1 1 1 4 2 2 4 6 2 6 4 2 2 4 6 2 6 4 2 2 4 1 1 1 1 1 1 1 1 1 1 16 16 16 16 16 1 2 (45) (46) Journal of Applied Research and Technology 363

and in the general case 1 2 (47) where represents the order of the matrix. Then, the inverse of a Pascal matrix is very easy to calculate and, therefore, it is not necessary to calculate the determinant of the system; this simplifies the calculation of the transfer function in the domain if the transfer function in the domain is known. As an example, we shall transform the low-pass transfer function to the transfer function. Let be the transfer function of the discrete system that works at a cut-off frequency 2 [Hz] and sampling frequency 8 [Hz]. 14 6 4 1.6464 5.1716.188 (48) The parameter of the bilinear transformation according to (12) has the value 2 cot 1. 8 (49) using the Pascal matrix for 4, we get 1 1 1 1 1 1 4 2 2 4 1 4 1 2 6 2 6 4 2 2 4 6 1 1 1 1 1 4 1 (5) 1 1 1 1 1 1 4 2 2 4 1.6464 1 2.6131 2 6 2 6 4 2 2 4 5.1716 1 1 1 1 1.188 3.4142 2.6131 1 then the transfer function of the analog low-pass filter is a Butterworth low-pass filter of order 4. Constants, and are used to avoid the distortions that are introduced by bilinear transformation. 1 2.6131 3.4142 2.6131 1 (51) 364 Vol.9, December 211

7. Conclusions In this work we have used the Pascal matrix to transform the analog low-pass transfer function to the discrete transfer functions of the low-pass, high-pass, band-pass and band-stop filters. This algorithm is very simple for both the direct and inverse transformation. In addition, this method is easy to program due to the fact that all the operations imply the multiplication of matrices, even the inverse transformation does not need the calculation of the determinant of the matrix system. Based on the examples, the procedure has demonstrated its utility to transform a continuous transfer function to a discrete transfer function and vice versa. References [1] W. Klein. Finite Systemtheorie.TeubnerStudienbücher :Elektrotechnik. TeubnerStudienbucher Stuttgart, 1976. [2] J. Konopacki. The frequency transformation by matrix operation and its application in iir filters design. IEEE Signal Processing Letters., 12(1):5 9, January 25. [3] V. Biolkova and D. Biolek. Generalized pascal matrix of first order s-z transforms. Proceedings of International Conference on Electronic Circuits and Systems ICECS, pages 929 931, 1999. [4] Z. S. Kang. An analiticpascal matrix transform for s-toz domain transfer function. IEEE Signal Processing Letters, 13(1):597 6, February 26. [5] D. Tian-Bo, Ch. Sorowat, and D. Kobchai.Generalized pascal matrices, inverses, computations and properties using one to one rational polynomial s-z transformations.ieee Transactions on Circuits and Systems, 55(9):368 37, October 28. [6] N. K. Bose. Digital Filters Theory and Applications. Elsevier Science Ltd, Amsterdam. The Netherlands, January 1986. [7] A. Bush and D. Fielder.Simplified algebra for the bilinear and related transformations.ieee Transactions on Audio and Electroacoustics, 21(2):127 128, April 1973. [8] ChooYouseok and Gin KyuChoi. On pascal matrix for transformation low-pass analog filter to band-pass digital filter. IEEE SignalProcessingLetters, 16(2):878, February 29. Journal of Applied Research and Technology 365

Authors Biographies Francisco Javier GARCÍA-UGALDE Francisco García-Ugalde obtained his bachelor s degree in electronics and electrical system engineering in 1977 from Universidad Nacional Autónoma de México, UNAM. His Diplôme d Ingénieur in 198 from SUPELEC, France, and his Ph.D. degree in information processing in 1982 from Université de Rennes I, France. Since 1983, he has been a full-time professor at UNAM, at the Faculty of Engineering. His current interest fields are digital filter design tools, analysis and design of digital filters, image and video coding, image analysis, theory and applications of error control coding, turbo coding, applications of cryptography, parallel processing and data bases. Bohumil Psenicka Bohumil Psenicka was born in Prague in 1933. He received his C.Sc. degree from Czech Technical University in Prague in 197. Since 1962, he has been an associate professor in the Department of Circuit Theory at the same University, and since 1993, he has been working as a C-level tenured professor at UNAM. His research interests are circuit theory, analog and digital filter design and digital signal processing. Mazay Oswaldo JIMÉNEZ-SALINAS Mazay Jiménez-Salinas received his bachelor s degree in telecommunications engineering from UNAM in 28. He also received his M.Sc. degree in computer science from UNAM in 211. Since 21, he has been working at the Faculty of Engineering at UNAM as a teaching assistant in information theory and digitals communications. His research interests include image and multi-dimensional signal processing, computational imaging, wavelets and multi-scale geometric analysis, and compressive sampling. 366 Vol.9, December 211