[SOLVED] EE3660-Homework 3

24.99 $

Category:

Description

5/5 - (1 vote)

Paper Assignment

  1. Determine the system function, magnitude response, and phase response of the following systems and use the pole-zero pattern to explain the shape of their magnitude response:
    • y[n] = (π‘₯π‘₯[𝑛𝑛] + π‘₯π‘₯[π‘›π‘›βˆ’ 1]) βˆ’ (π‘₯π‘₯[π‘›π‘›βˆ’ 2] + π‘₯π‘₯[π‘›π‘›βˆ’ 3])
    • y[n] = π‘₯π‘₯[𝑛𝑛] βˆ’π‘₯π‘₯[π‘›π‘›βˆ’ 4] + 0.6561𝑦𝑦[π‘›π‘›βˆ’ 4]

 

  1. Consider a periodic signal

x[n] = sin(0.1πœ‹πœ‹π‘›π‘›) + Β sin(0.3πœ‹πœ‹π‘›π‘›) + Β sin(0.5πœ‹πœ‹π‘›π‘›)

For each of the following systems, determine if the system imparts (i) no distortion, (ii) magnitude distortion, and/or (iii) phase (or delay) distortion.

  • h[n] = {1𝑛𝑛=0, βˆ’2,3, βˆ’4,0,4, βˆ’3,2, βˆ’1}
  • y[n] = 10π‘₯π‘₯[π‘›π‘›βˆ’ 10]

 

  1. An economical way to compensate for the droop distortion in S/H DAC is to use an appropriate digital compensation filter prior to DAC.
    • Determine the frequency response of such an ideal digital filter π»π»π‘Ÿπ‘Ÿ(𝑒𝑒𝑗𝑗𝑗𝑗) that will perform an equivalent filtering given by following π»π»π‘Ÿπ‘Ÿ(𝑗𝑗𝑗𝑗)
    • One low-order FIR filter suggested in Jackson (1996) is

1Β Β Β Β Β Β Β  9Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β  1

𝐻𝐻𝐹𝐹𝐹𝐹𝐹𝐹(𝑧𝑧) = βˆ’Β  + π‘§π‘§βˆ’1 βˆ’π‘§π‘§βˆ’2

16Β Β Β Β Β  8Β Β Β Β Β Β Β Β Β Β Β Β Β  16

Compare the magnitude response of 𝐻𝐻𝐹𝐹𝐹𝐹𝐹𝐹(𝑒𝑒𝑗𝑗𝑗𝑗) with that of π»π»π‘Ÿπ‘Ÿ(𝑒𝑒𝑗𝑗𝑗𝑗) above.

  • Another low-order IIR filter suggested in Jackson (1996) is

𝐻𝐻𝐹𝐹𝐹𝐹𝐹𝐹(𝑧𝑧) =

Compare the magnitude response of 𝐻𝐻𝐹𝐹𝐹𝐹𝐹𝐹(𝑒𝑒𝑗𝑗𝑗𝑗) with that of π»π»π‘Ÿπ‘Ÿ(𝑒𝑒𝑗𝑗𝑗𝑗) above.

  1. Consider the following continuous-time system

𝑠𝑠4 βˆ’ 6𝑠𝑠3 + 10𝑠𝑠2 + 2π‘ π‘ βˆ’ 15

𝐻𝐻(s) = 𝑠𝑠5 + 15𝑠𝑠4 + 100𝑠𝑠3 + 370𝑠𝑠2 + 744𝑠𝑠 + 720 (a) Show that the system H(s) is a nonminimum phase system.

  • Decompose H(s) into the product of minimum phase component π»π»π‘šπ‘šπ‘šπ‘šπ‘›π‘›(𝑠𝑠) and an all pass

component π»π»π‘Žπ‘Žπ‘Žπ‘Ž(𝑠𝑠).

  • Briefly plot the magnitude and phase responses of H(s) and π»π»π‘šπ‘šπ‘šπ‘šπ‘›π‘›(𝑠𝑠) and explain your plots. (d) Briefly plot the magnitude and phase responses of π»π»π‘Žπ‘Žπ‘Žπ‘Ž(𝑠𝑠).

 

  1. We want to design a second-order IIR filter using pole-zero placement that satisfies the following requirements: (1) the magnitude response is 0 at Ο‰1 = 0 and Ο‰3 = π  (2) The maximum magnitude is 1 at Ο‰2,4 = Β± Β and (3) the magnitude response is approximately Β at

frequencies Ο‰2,4 Β± 0.05

  • Determine locations of two poles and two zeros of the required filter and then compute its system function H(z).
  • Briefly graph the magnitude response of the filter.
  • Briefly graph phase and group-delay responses.

 

  1. The following signals π‘₯π‘₯𝑐𝑐(𝑑𝑑) is sampled periodically to obtained the discrete-time signal x[𝑛𝑛]. For each of the given sampling rates in 𝐹𝐹𝑠𝑠 Hz or in T period, (i) determine the spectrum X(eiΟ‰) of x[𝑛𝑛]; (ii) plot its magnitude and phase as a function of Ο‰ in π‘ π‘ π‘Žπ‘Žπ‘šπ‘šπ‘Ÿπ‘Ÿπ‘Žπ‘Žπ‘Ÿπ‘Ÿ and as a function of

F in Hz; and (iii) explain whether π‘₯π‘₯𝑐𝑐(𝑑𝑑) can be recovered from x[𝑛𝑛].

  • π‘₯π‘₯𝑐𝑐(𝑑𝑑) = 5ei40t + 3eβˆ’i70t , with sampling period T = 0.01, 0.04, 0.1
  • π‘₯π‘₯𝑐𝑐(𝑑𝑑) = 3 + 2 sin(16πœ‹πœ‹π‘‘π‘‘) + 10 cos(24πœ‹πœ‹π‘‘π‘‘) , with sampling rate 𝐹𝐹𝑠𝑠 = 30, 20, 15 Hz.

 

  1. An 8-bit ADC has an input analog range of Β±5 volts. The analog input signal is

π‘₯π‘₯𝑐𝑐(𝑑𝑑) = 2 cos(200πœ‹πœ‹π‘‘π‘‘) + 3 sin(500πœ‹πœ‹π‘‘π‘‘)

The converter supplies data to a computer at a rate of 2048 bits/s. The computer, without processing, supplies these data to an ideal DAC to form the reconstructed signal 𝑦𝑦𝑐𝑐(𝑑𝑑). Determine: (a) the quantizer resolution (or step),

  • the SQNR in dB,
  • the folding frequency and the Nyquist rate.

II Program Assignment

 

  1. Compute and plot the phase response using the functions freqz, angle, phasez, unwrap, and phasedelay for the following systems:
    • y[n] = π‘₯π‘₯[π‘›π‘›βˆ’ 15]
    • 𝐻𝐻(𝑧𝑧) = 1βˆ’11+1.57.655π‘§π‘§βˆ’1π‘§π‘§βˆ’1+1+1.264.655π‘§π‘§βˆ’2π‘§π‘§βˆ’2βˆ’0+.4π‘§π‘§π‘§π‘§βˆ’3βˆ’3

 

  1. According to problem 2 in paper assignment, plot magnitude response, phase response and group-delay response for each of the systems.

 

  1. MATLAB provides a function called polystab that stabilizes the given polynomial with

respect to the unit circle, that is, it reflects those roots which are outside the unit-circle into those that are inside the unit circle but with the same angle. Using this function, convert the following systems into minimum-phase and maximum-phase systems. Verify your answers using a polezero plot for each system(plot minimum-phase and maximum-phase systems for each question).

  • H(z) = 𝑧𝑧2+22 𝑧𝑧+0.75

𝑧𝑧 βˆ’0.5𝑧𝑧

(b) H(z) = 1βˆ’21βˆ’1.4142.8π‘§π‘§βˆ’1𝑧𝑧+1βˆ’1.62+2𝑧𝑧.4142βˆ’2+0𝑧𝑧.729βˆ’2βˆ’π‘§π‘§π‘§π‘§βˆ’3βˆ’3

 

  1. Signal xc(t) = 5 cos(200Ο€t + Ο€6 ) + 4 sin(300Ο€t) is sampled at a rate of Fs = 1 kHz to obtain the discrete-time signal x[n].
  • Determine the spectrum X(ejΟ‰) of x[n] and plot its magnitude as a function of Ο‰ in π‘ π‘ π‘Žπ‘Žπ‘šπ‘šπ‘Žπ‘Žπ‘ π‘ π‘ π‘ π‘Ÿπ‘Ÿπ‘Žπ‘Žπ‘Ÿπ‘Ÿ and as a function of F in Hz. Explain whether the original signal xc(t) can be recovered from x[n].
  • Repeat part (a) for Fs = 500 Hz. (c) Repeat part (a) for Fs = 100

(d) Comment on your results.