Damped Oscillators (revisited)

Similar documents
The Impulse Signal. A signal I(k), which is defined as zero everywhere except at a single point, where its value is equal to 1

Recursive, Infinite Impulse Response (IIR) Digital Filters:

Harmonic motion. time 1 - A. Wednesday, September 30, 2009

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

3 What You Should Know About Complex Numbers

David Weenink. First semester 2007

Digital Signal Processing

Complex Numbers Review

Quick Overview: Complex Numbers

ENGIN 211, Engineering Math. Complex Numbers

Methods for Synthesizing Very High Q Parametrically Well Behaved Two Pole Filters

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)}

Lecture 04: Discrete Frequency Domain Analysis (z-transform)

PS403 - Digital Signal processing

3.1. QUADRATIC FUNCTIONS AND MODELS

21.4. Engineering Applications of z-transforms. Introduction. Prerequisites. Learning Outcomes

QUADRATIC FUNCTIONS AND MODELS

Signals and Systems. Lecture 11 Wednesday 22 nd November 2017 DR TANIA STATHAKI

Problem Set 2: Solution Due on Wed. 25th Sept. Fall 2013

CMPT 889: Lecture 5 Filters

Second-order filters. EE 230 second-order filters 1

Digital Filters. Linearity and Time Invariance. Linear Time-Invariant (LTI) Filters: CMPT 889: Lecture 5 Filters

Lecture 19 IIR Filters

MCPS Algebra 2 and Precalculus Standards, Categories, and Indicators*

Newbattle Community High School Higher Mathematics. Key Facts Q&A

SOLUTIONS FOR PROBLEMS 1-30

EE102B Signal Processing and Linear Systems II. Solutions to Problem Set Nine Spring Quarter

Sinusoids. Amplitude and Magnitude. Phase and Period. CMPT 889: Lecture 2 Sinusoids, Complex Exponentials, Spectrum Representation

Experiment 13 Poles and zeros in the z plane: IIR systems

A system that is both linear and time-invariant is called linear time-invariant (LTI).

Equations in Quadratic Form

Discrete-Time David Johns and Ken Martin University of Toronto

CMPT 889: Lecture 2 Sinusoids, Complex Exponentials, Spectrum Representation

Revision notes for Pure 1(9709/12)

Formant Analysis using LPC

9.5. Polynomial and Rational Inequalities. Objectives. Solve quadratic inequalities. Solve polynomial inequalities of degree 3 or greater.

Poles and Zeros in z-plane

Designing Information Devices and Systems II Fall 2015 Note 22

Chapter 8: Frequency Domain Analysis

Step 1: Greatest Common Factor Step 2: Count the number of terms If there are: 2 Terms: Difference of 2 Perfect Squares ( + )( - )

Summer Packet A Math Refresher For Students Entering IB Mathematics SL

2t t dt.. So the distance is (t2 +6) 3/2

5.3. Polynomials and Polynomial Functions

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

Quadratics. SPTA Mathematics Higher Notes

How might we evaluate this? Suppose that, by some good luck, we knew that. x 2 5. x 2 dx 5

y d y b x a x b Fundamentals of Engineering Review Fundamentals of Engineering Review 1 d x y Introduction - Algebra Cartesian Coordinates

Algebra 2 Khan Academy Video Correlations By SpringBoard Activity

Signal Processing First Lab 11: PeZ - The z, n, and ˆω Domains

Algebra 2 Khan Academy Video Correlations By SpringBoard Activity

Imaginary numbers and real numbers make up the set of complex numbers. Complex numbers are written in the form: a + bi. Real part ~ -- Imaginary part

Math Assignment 5

MATHEMATICS FOR ENGINEERING TRIGONOMETRY TUTORIAL 3 PERIODIC FUNCTIONS

Automatic Control Systems theory overview (discrete time systems)

5-9. Complex Numbers. Key Concept. Square Root of a Negative Real Number. Key Concept. Complex Numbers VOCABULARY TEKS FOCUS ESSENTIAL UNDERSTANDING

Finite Word Length Effects and Quantisation Noise. Professors A G Constantinides & L R Arnaut

1 Introduction & Objective. 2 Warm-up. Lab P-16: PeZ - The z, n, and O! Domains

Math 101 Study Session Spring 2016 Test 4 Chapter 10, Chapter 11 Chapter 12 Section 1, and Chapter 12 Section 2

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

R-L-C Circuits and Resonant Circuits

Algebra I Polynomials

Fundamental Theorem of Algebra (NEW): A polynomial function of degree n > 0 has n complex zeros. Some of these zeros may be repeated.

Lecture 16: Zeros and Poles

(i) Represent discrete-time signals using transform. (ii) Understand the relationship between transform and discrete-time Fourier transform

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Time Response of Systems

Algebra 1 Khan Academy Video Correlations By SpringBoard Activity and Learning Target

Math Precalculus I University of Hawai i at Mānoa Spring

The Laplace Transform

STABILITY ANALYSIS TECHNIQUES

Polynomials. Eve Rawley, (EveR) Anne Gloag, (AnneG) Andrew Gloag, (AndrewG)

Ch. 7.6 Squares, Squaring & Parabolas

Lecture 28 Continuous-Time Fourier Transform 2

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

5.4 - Quadratic Functions

A quadratic expression is a mathematical expression that can be written in the form 2

1.5 Inverse Trigonometric Functions

Discrete Time Systems

Numerical Methods. Equations and Partial Fractions. Jaesung Lee

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

Lecture 4: R-L-C Circuits and Resonant Circuits

Software Engineering 3DX3. Slides 8: Root Locus Techniques

Rational Functions. Elementary Functions. Algebra with mixed fractions. Algebra with mixed fractions

CHAPTER 2 RANDOM PROCESSES IN DISCRETE TIME

September 12, Math Analysis Ch 1 Review Solutions. #1. 8x + 10 = 4x 30 4x 4x 4x + 10 = x = x = 10.

ALGEBRAIC LONG DIVISION

Projections and Least Square Solutions. Recall that given an inner product space V with subspace W and orthogonal basis for

Lecture 3 - Design of Digital Filters

Topic Outline for Algebra 2 & and Trigonometry One Year Program

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains

Math 1302 Notes 2. How many solutions? What type of solution in the real number system? What kind of equation is it?

1 Chapter 2 Perform arithmetic operations with polynomial expressions containing rational coefficients 2-2, 2-3, 2-4

AN ITERATION. In part as motivation, we consider an iteration method for solving a system of linear equations which has the form x Ax = b


Coach Stones Expanded Standard Pre-Calculus Algorithm Packet Page 1 Section: P.1 Algebraic Expressions, Mathematical Models and Real Numbers

a( i), where N i N ) is accurately d( i), where N i N. The derivative at ( ) ( ) ( )

Since x + we get x² + 2x = 4, or simplifying it, x² = 4. Therefore, x² + = 4 2 = 2. Ans. (C)

Solving Quadratic Equations

Algebra 1: Hutschenreuter Chapter 10 Notes Adding and Subtracting Polynomials

This Week. Professor Christopher Hoffman Math 124

Transcription:

Damped Oscillators (revisited) We saw that damped oscillators can be modeled using a recursive filter with two coefficients and no feedforward components: Y(k) = - a(1)*y(k-1) - a(2)*y(k-2) We derived approximations for a(1) and a(2), as a function of oscillator parameters a(1) = -2+b-(k/m) 1+b a(2) = 1 1+b Where b is the damping constant, k is the spring constant and m is the mass

Deriving exact parameter values for damped oscillators as digital resonators mẍ + bẋ + kx =0 The full solution x = e bw 2 t e jωt where: ω 2 = k m e bw 2 t bw = b m

Example resonator Y(k) = X(k) -a(1)y(k-1) - a(2)y(k-2) Choose, a(1) = -1.287 and a(2)=.8282 Impulse Response

Transfer Functions for Digital Resonators In general, the transfer function of a digital resonator can be obtained from the expression in (2) (2) H(z) = b(1). 1+ a(1)z -1 + a(2)z -2 Note that this is just a special case of the general equation (9) where M=1 and L=2. H(z) = b(1) + b(2)z -1 +... + b(m)z -(M-1). 1+ a(1)z -1 +... + a(l)z -L

Resonator Amplitude Response Y(k) = X(k) + 1.287 *Y(k-1) - 0.8282*Y(k-2)

Frequency and Bandwidth Looking again at the transfer function of a digital resonator... H(z) = b(1). 1+ a(1)z -1 + a(2)z -2... one can see that the three coefficients determine the behavior of a particular resonator (they are the only variables)... How can we derive frequency and bandwidth, terms of a(1) and a(2) (and conversely) in a more general way than our approximation of last week?

Roots of the Denominator We have seen that when the numerator of the transfer function gets close to 0, then the value of the entire transfer function becomes 0. This was called, not surprisingly, a zero of the transfer function. (2) H(z) = b(1). 1+ a(1)z -1 + a(2)z -2 There are certain values of z for which the expression in the denominator of (2) will be zero (the roots of that polynomial). As the denominator gets close to 0, the transfer function becomes very large. This is the compliment of a zero in the transfer function... it is called a pole

Finding the Roots We can calculate the frequency and bandwidth of a digital resonator if we know the value of θ (the angle) and R (the magnitude) for the roots. First, we need to find the roots. A quadratic equation (a second order polynomial), given in (6), has roots given in (7): (6) ax 2 + bx + c = 0 (7) x = -b ± b 2-4ac. 2a

Finding the Roots (cont.) The denominator in (2) looks similar to (6), but with negative powers of z instead of positive powers. We can remedy this by multiplying the numerator and denominator of (2) by z 2, giving (8) (2) H(z) = b(1). 1+ a(1)z -1 + a(2)z -2 (6) ax 2 + bx + c = 0 (8) H(z) = b(1)z 2. z 2 + a(1)z + a(2)

Finding the Roots (cont.) Now we can use the quadratic formula to solve for the roots of the denominator of (8), where a=1, b=a(1) and c=a(2) (8) H(z) = b(1)z 2. z 2 + a(1)z + a(2) (7) z = -b ± b 2-4ac. 2a

Real and Complex Roots There are two cases to consider: CASE 1: b 2-4ac 0, roots are on the real axis Resonant frequencies = 0, π CASE 2: b 2-4ac < 0, complex roots Real part = -b 2a Imag part = ± -b 2 + 4ac 2a

Real and Complex Roots (cont.) Now substituting the coefficients we saw before, i.e., a = 1, b = a(1), c = a(2) Real part = -a(1) 2a Imag part = ± -a(1) 2 + 4a(2) 2

Visualizing the Poles Remember that we could visualize the zeros of the transfer function as points in the complex plane. It is helpful to do this with the poles, as well: We can describe them as real (horizontal) and imaginary (vertical) values We can also describe them in terms of the value of θ (the angle) and R (the magnitude). Roots always come in complex conjugate pairs Numbers with equal real parts, and imaginary parts differing only in sign R R θ -θ

Calculating R Now we know that the magnitude squared (R 2 ) of a complex number is equal to the sum of the real part squared plus the imaginary part squared: ( ) ( ) R 2 = -a(1) 2 + -a(1) 2 + 4a(2) 2 2 2 R 2 = a(1) 2 + -a(1) 2 + 4a(2) 4 4 R 2 = 4a(2) 4 R = a(2)

Calculating θ If we know R and the Real part, we can also then derive θ: cos θ = Real part R cos θ = -a(1) 2R cos θ = -a(1) 2 a(2) θ = arccos ( -a(1) ) 2 a(2)

Rewriting Poles and H(z) The roots will, in general, be complex and we can now calculate R and θ. Thus, it is useful to rewrite the poles in the form: zn = Rne jθ n Hence, we can rewrite the transfer function as: (4) H(z) = b(1). (z - R1e jθ 1) (z - R2e jθ 2) Since θ1 = θ2, the roots are complex conjugates, and can be written, more simply, as: (5) H(z) = b(1). (z - Re jθ ) (z - Re -jθ )

Resonator Frequency What can we learn about the frequency response of a resonator from the location of the poles in the complex plane? The frequencies (points on the unit circle) closest to the poles are those for which ω = θ, ω = -θ R R θ -θ Frequencies are points around the unit circle The closer a frequency is to a pole, the larger its response

Resonator Frequency (cont.) Angle of pole (π/4 radians) is the frequency that has the greatest amplitude response θ θ = π/4 radians

Resonator Bandwidth The magnitude of the roots, R, is related to the bandwidth of the resonator. The closer a frequency (point on the unit circle) is to the pole, the greater that frequency s amplitude response. When R is close to 1 (narrow bandwidth), the resonance frequency (red dot) is much closer to the pole than are nearby non-resonance frequencies (black dots). When R is small (wide bandwidth), the resonance is not much closer to the pole than the non-resonances are. Narrow Bandwidth Broad Bandwidth

Understanding poles (cont.) What happens when R is large enough to put the pole outside the unit circle? a = [1-1.5 1.1]; The exponentially decreasing amplitude of the oscillator becomes positive, and we have something that grows.

Calculating ω and bw ω = θ R 2 = e -bw geometric relation between R and bw We showed that R = a(2) a(2) = e -bw log(a(2)) = -bw bw = -log(a(2))

Calculating the Coefficients We may need to reverse this process, and calculate the resonator coefficient, a(2), from the bandwidth (bw). First, we have to convert BW in Hz to bw in radians/sample: bw = BW 2π. srate Then we just rearrange this equation, which we just found... bw = -ln(a(2))...solving for the coefficients this time: a(2) = e -bw

Calculating the Coefficients We can do a similar thing to calculate the other resonator coefficient, a(1), from ω. So, first convert from f in Hz to ω in radians/sample: We know that θ= ω. ω = f 2π. srate Then we just rearrange this previous equation... θ = arccos ( -a(1) ) 2 a(2)...and solve for the coefficients: a(1) = 2 a(2) cosθ