Reference no: EM132723989
Signal Processing First
Lab Exercise 1: Real Poles
(a) Use PeZ to place a single pole at z = 1 . You may have to use the Edit by Co-ord button to get the location exactly right. Use the plots for this case as the reference for answering the next four parts.
(b) Move the pole close to the origin (still on the real axis). You can do this by clicking on the pole and dragging it to the new location. Describe the changes in the impulse response h[n] and the frequency response H(ejω).
(c) You can also move poles and zeros under the influence of the Real Time Drag Plots option in PeZ. When this box is checked, the impulse response and frequency response plots are updated while you move the pole (or zero). Once this mode is set, click on the pole you want to move and start to drag it slowly. Watch for the update of the plots in the secondary window. After the real-time updating has started, you can release the mouse button and the pole (or zero) will follow the cursor. Click on the pole once more to stop moving it and to stop the updating. It is sometimes a little tricky to use this feature. Also the display may be jerky unless you have a high-performance computer with fast graphics.
Move the real pole slowly from z = 1 to z = 1 and observe the changes in the impulse response h[n] and the frequency response H(ejω).
(d) Place the pole exactly on the unit circle ( or maybe just inside at a radius of 0.99999999). Describe the changes in h[n] and H(ejω). What do you expect to see for H(ejω)?
(e) Move the pole outside the unit circle. Describe the changes in h[n]. Explain how the appearance of h[n] validates the statement that the system is not stable. In this case, the frequency response H(ejω) is not legitimate because the system is no longer stable.
(f) In general, where should poles be placed to guarantee system stability? By stability we mean that the system's output does not blow up.
Lab Exercise 2: Filter Design
In this section, we will use PeZ to place the poles and zeros of H(z) to make a filter with a desirable frequency response. Filter design is a process that selects the coefficients {ak} and {bk} to accomplish a
Figure 1: Magnitude response of two unknown filters. Frequency axis is normalized. Use PeZ to help you find the filter coefficients that will match these frequency responses as closely as possible. (a) Second-order FIR filter. (b) Second-order IIR filter.
given task. The task here is to create a filter that has a very narrow "notch." This filter would be useful for removing one frequency component while leaving others undisturbed. The notch filter can be synthesized from the cascade of two simpler filters shown in Fig. 1.
(a) Start the process by using PeZ to design each of the filters given in Fig. 1. (You will have to determine the locations of the poles and zeros from the plots in Fig. 1.) Both filters are second-order. Make sure that you enter the poles and zeros precisely. PeZ will do the conversion between between root locations and polynomial coefficients, but you could also do this with the MATLAB commands roots and poly. You can check your results by also calculating the filter coefficients by hand (see the next section on polynomials with complex coefficients). Record the coefficients of your filters in the table provided.
Note: Use PeZ or freqz() to verify that the frequency response of each filter is correct.
(b) Now use PeZ to connect the filters together in a cascade. Place the poles and zeros, and then view the frequency response. Determine the filter coefficients for the overall cascaded filter H(z).
(c) Use freqz() to determine the frequency response of the cascade of the two filters that you "de- signed" in part (e). Plot the magnitude of the overall frequency response of the cascade system for, and print a copy of the plot for your lab report.
2 Explain briefly why the frequency response magnitude has a notch, and explain why the gain (i.e., |H(ejω)|) at ω = 0 and ω = Π is the same.
Lab Exercise 3: Complex Poles and Zeros
PeZ assumes real coefficients for the numerator and denominator polynomials. Therefore, if we enter a complex pole or zero, PeZ will automatically insert second root at the conjugate location. For example, if we place a root at z = 1 + j 1 , then we will also get one at z = 1 - j 1.
(a) What property of the polynomial coefficients of A(z) = 1 - a1z-1 - a2z-2 will guarantee that the roots come in conjugate pairs?
(b) Clear all the poles and zeros from PeZ. Now place a pole with magnitude 0.85 at an angle of 45?; and then two zeros at the origin. Note that PeZ automatically places a conjugate pole in the z-domain. The frequency response has a peak-record the frequency (location) of this peak.
(c) Change the angle of the pole: move the pole to 90?, then 135?. Describe the changes in |H(ejω)|. Concentrate on the location of the peak.
Next, we will put complex zeros on the unit circle to see the effect on |H(ejω)|.
(d) Clear all poles and zeros from PeZ. Now place zeros at the following locations: z1 = 1, z2 = 0 j and z3 = 0 + j (remember that conjugate pairs such as z2 and z3 will be entered simultaneously). Judging from the impulse and frequency responses what type of filter have you just implemented?
Attachment:- Signal Processing First.rar