Generate the bode frequency response plots for your filter


Part 1.

1. Use s-domain techniques and determine the transfer function

H(s) = Vo(s)/Vi(s)

in terms of the impedances Z1, Z2, Z3, and Z4.

1944_Determine the transfer function.png

2. Let Z1(s) = sL1, Z2(s) = 1/sC2, Z3(s) = R3, and Z4(s) = 1/sC4, corresponding to the circuit below. Using Kirchhoff's voltage and currents laws, derive the 3rd order differential equation for v0(t). Assume that there is no energy stored in the capacitors or inductor at time t = 0-.

From the differential equation, find a state variable representation, and specify the state variable matrices A, B, C, D, to generate the voltages v0 (t) and vL(t) . From the differential equation, determine the transfer function, H(s) = Vo(s)/ V??(s). Verify that it is equivalent to the result in 1) for the choice of impedances in 2).

1570_Determine the transfer function1.png

3. Let the circuit elements have parameter values L1 = 0.1 H, C2 = 1.4 μF - α × 0.4 μF, R3 = 1300 + α × 100 ohms, and C4 = 1.0μ + α × 0.2μ, where α = 0. xyz, with xyz the final three digits of your student ID number. The value of 0.xyz satisfies 0 ≤ 0.xyz ≤ 1, so the C2 capacitance value lies in the range [1, 1.2] μF, the C4 capacitance value lies in the range [1, 1.2] μF, and the resistor value lies in the range [1300, 1400] ohms. Use Matlab to determine the response of the circuit (v0(t)) over a suitable time interval (roughly [0, 0.010] sec) to input vi(t) = u(t)V where u(t) is the unit-step signal. Accurately plot the response, v0(t) , and determine (from the numerical response) the 100% rise time, percent overshoot, and 2% settling time. (Note that the default rise time value that some Matlab functions provide is the 10% to 90% rise time, so make sure your numerical result matches your plot and corresponds to the 100% rise time.) Also, accurately plot vL1 (t) . Verify that v0 (t) and vL1 (t) approach the correct steady-state values as t → ∞

Part II.

4. Using the circuit and transfer function from task 2), find all finite poles and zeros and plot their location in the s-plane. Also, accurately plot the transfer function frequency response (use Bode plots). Verify that the steady-state output level of the unit step- response matches the "dc gain" of the frequency response. Use Matlab to find the response to input Vi(t) = 10 sin(2500t)u(t). Evaluate the response for a suitable length of time so that the response reaches steady state. Then, determine the magnitude and phase of the output v0(t), and compare to the magnitude and phase of your Bode plots at frequency 2,500 rad/sec.

5. Set the inductance value to L1 = 0.1 + 0.4 × 0.xyzH, where again .xyz is the last three digits of your student ID number. (The inductance then lies in the range [0.1 to 0.5] H.) Design the filter to be a 3rd-order Butterworth filter with -3 dB cutoff frequency 20 kHz(40,000Π radians/sec). This will involve, for your specified value of L1, properly selecting the values of C2, C4,and R2. Note that the desired Butterworth filter transfer function must have the form

H(s) = ωc3/(s3 + 2ωcs2 + 2ωc2s + ωc3) where ωc is the cutoff frequency. After designing the filter, complete the following.

a. Find the pole locations (e.g., using MATLAB), and plot the pole locations in the s-plane. Identify the angle of the complex poles in the s-plane and verify that they correspond to a 3rd-order Butterworth filter.

b. Use state variables and MATLAB to determine the unit step response. Accurately plot the step response and determine the 100% rise time, maximum percent overshoot, and 2% settling time.

c. Accurately plot the filter frequency response (use Bode plots). Verify that the filter response matches the desired Butterworth filter frequency response.

d. Without computer assistance (that is, by hand calculation), determine the equation for the impulse response, h(t), the output voltage in response to an impulse input, vi(t) = δ(t).

e. Without computer assistance, determine the equation for the unit-step response. Verify that your equation for unit-step response matches the MATLAB state variable solution in task 5b).

f. The steady-state sinusoidal response of the filter is determined by the frequency response, evaluated at the sinusoid frequency. Let the circuit input be vi(t) = cos(2Π20000t) u(t). Use Matlab to compute the filter response for a suitably long duration so that the response reaches (approximately) the steady-state signal. Plot in a single figure both vi(t) and vo(t), and identify in your figure that the expected filter magnitude and phase are realized. One way to show this would be to plot the theoretical sinusoidal steady state solution (also in the same figure) and show that vo(t) approaches this as time gets sufficiently large. Verify that the results match your Bode plots. Approximately how long does it take for the (Matlab) response to reach steady-state? Compare this (observed) time to the settling time found in part 5b).

Part III.

6. Return to the generic circuit depicted in Figure 1, and now let Z1 be a capacitor (Z1(s) = 1/sC1), let Z2 and Z4 be inductors (Z2(s) = sL2 and Z4(s) = sL4), with Z3 still a resistor (Z3(s) = R3). Determine the transfer function of the resulting filter.

a. Let the resistor value be R3 = 100 + 100 × (0.xyz) ohms, where .xyz is the last three digits of your student ID number. Design the filter to be a Butterworth high pass filter with -3 dB cutoff frequency 200 Hz. The resulting filter transfer function is then of the form

Hhighpass (s) = s3/(s3 + 2ωcs2 + 2ωc2s + ωc3 ), where ωc is the high-pass filter cutoff (3 dB) frequency.

b. Use Matlab to generate the Bode frequency response plots for your filter. Verify that your filter has the correct cutoff frequency.

c. Use Matlab to generate the response to the input vi(t) = sin(2Π200t) u(t).

Compare this response to the sinusoidal steady-state response, and relate the observed magnitude and phase (at steady state) to the filter frequency response.

Bonus Credit

Implement the Butterworth low-pass filter using a Digilent board (or equivalent). Use magnitude or frequency scaling, as necessary, to adjust the task 5) inductance to a value readily available in a Digilent parts kit, and then select resistor and capacitor values to design the implemented filter frequency response to be as close as possible to the design requirement.

Include design component values, frequency response plots based on measured values, and a photo of your circuit implementation in the final report. Arrange a time with the instructor to demonstrate the proper functioning of your implemented circuit.

Solution Preview :

Prepared by a verified Expert
Electrical Engineering: Generate the bode frequency response plots for your filter
Reference No:- TGS01160916

Now Priced at $65 (50% Discount)

Recommended (94%)

Rated (4.6/5)