Question

In: Electrical Engineering

Create a 6th order Butterworth filter. Then change capacitor values and notice how the design specifications...

Create a 6th order Butterworth filter. Then change capacitor values and notice how the design specifications change. Create a plot where there is an ideal high performance filter (exact capacitor values) compared to a filter where low tolerance capacitors are used (the value of the capacitor drifts).

Solutions

Expert Solution

Hello,
          Please find the answer attached as under. Please give a thumbs up rating if you find the answer useful! Have a rocking day ahead!

I have done the design and plot in Matlab. Note that a 6th order Butterworth filter is formed by a cascade of 3 2nd order filters given by:

***** Matlab Code ******


R1 = 1000;                  % Resistance values in circuit
R2 = R1;

C1 = 20e-6;                 % Capacitance values in circuit
C2 = C1;

C1_minus = 15e-6;
C2_minus = C1_minus;

C1_plus = 25e-6;
C2_plus = C1_plus;

h = tf([1],[R1*R2*C1*C2 C2*(R1+R2) 1]);         % 2nd order transfer function
h_filter = h*h*h;                               % 6th order transfer function
[mag,phase,wout] = bode(h_filter);
mag = squeeze(mag);
wout = squeeze(wout);
mag = 20*log10(mag);
semilogx(wout,mag)
grid;
hold;

h_minus = tf([1],[R1*R2*C1_minus*C2_minus C2_minus*(R1+R2) 1]);     % filter with reduced capacitor values
h_minus_filter = h_minus*h_minus*h_minus;
[mag,phase,wout] = bode(h_minus_filter);
mag = squeeze(mag);
wout = squeeze(wout);
mag = 20*log10(mag);
semilogx(wout,mag)

h_plus = tf([1],[R1*R2*C1_plus*C2_plus C2_plus*(R1+R2) 1]);         % filter with increased capacitor values
h_plus_filter = h_plus*h_plus*h_plus;
[mag,phase,wout] = bode(h_plus_filter);
mag = squeeze(mag);
wout = squeeze(wout);
mag = 20*log10(mag);
semilogx(wout,mag)

legend('Ideal response','Capacitor values increased','Capacitor values decreased')
xlabel('Frequency(rad per sec)')
ylabel('Magnitude (dB)')

******* End of code ********

Output:

The differences in the filter plots can be clearly seen with changing capacitor values. However, note that the capacitor values have been changed by as much as 20% in the code, which may not happen practically. Thus, the change in the responses seen here is vast.


Related Solutions

Butterworth filter a)Design a 5th order low pass Butterworth low-pass filter with a cut-off frequency of...
Butterworth filter a)Design a 5th order low pass Butterworth low-pass filter with a cut-off frequency of 1592 Hz and a dc gain of 3dB. Find and present the mathematical transfer function of the filter, showing all your steps. b) Write a Matlab code to plot the magnitude of this function with a linear scale in dB units on the ordinate, and a log scale of frequency on the abscissa. The plot range should be: ordinate- linear scale from -100dB to...
Create a 2nd order Butterworth 150 Hz frequency low pass filter. Please provide transfer function and...
Create a 2nd order Butterworth 150 Hz frequency low pass filter. Please provide transfer function and frequency response. Thank you
how to design a butterworth filter based on magnitude. Please give a numerical example. Assume only...
how to design a butterworth filter based on magnitude. Please give a numerical example. Assume only passband frequency and magnitude level is given, nothing else at all.
a. Design a broadband Butterworth bandpass filter with a lower cutoff frequency of 500 Hz and...
a. Design a broadband Butterworth bandpass filter with a lower cutoff frequency of 500 Hz and an upper cutoff frequency of 4500 Hz. The passband gain of the filter is 20 dB. The gain should be down at least 15 dB at 200 Hz and 11.25 kHz. Use 20 nF capacitors in the high-pass circuit and 10 k\Omega resistors in the low-pass circuit. b) Draw a circuit diagram of the filter and label all the components.
Using matlab a) Find the transfer function of a fourth order Butterworth filter and plot the...
Using matlab a) Find the transfer function of a fourth order Butterworth filter and plot the magnitude response. b) Find the poles.
1) A student wants to design a low-pass Butterworth filter for a data acquisition system that...
1) A student wants to design a low-pass Butterworth filter for a data acquisition system that will not attenuate 2 Hz signal more than 4 dB but will have more than 80 dB of attenuation at 50 Hz signal. (a) Determine the minimum number of filter stages required and the cutoff frequency (in Hz) that can be used (For the cutoff frequency, choose an integer number in the range) (b) Assuming the source and load resistances are 50 Ω, draw...
Design a second order (two pole) high-pass filter for the following specifications Cut-off frequency, fo or...
Design a second order (two pole) high-pass filter for the following specifications Cut-off frequency, fo or fH = 2kHz   Maximally Flat, i.e. Q=1/√2 > Justify any assumption you make. > Draw circuit with all designed values. > Draw the frequency response (Gain magnitude only)
Design a 3-pole Butterworth low-pass filter with a DC gain of 5 and a -3db frequency...
Design a 3-pole Butterworth low-pass filter with a DC gain of 5 and a -3db frequency of 550Hz. design should use capacitors of the following values: 0.01uf, 0.022uf, 0.033uf, 0.047uf, 0.056uf, 0.1uf, 0.22uf, and 1uf.
What I am trying to do is to design a Butterworth Bandpass filter using Matlab, High...
What I am trying to do is to design a Butterworth Bandpass filter using Matlab, High frequency must equal to 16 Hz and lower frequency must be 10Hz (passBand). and the input signal must be a white noise signal. here is my code : mu=0; sigma=2; X= sigma*randn(500,1)+mu; %Generating White Noise signal Fs=500;%Sampling Frequency Fh= 16; Fl=10; order=6; [b,a]=butter(order,[Fh Fl]/(Fs/2),'bandpass');%Butterworth BandPass filter XX=filtfilt(b,a,X);%filter the signal both forward and backword in time Actually, I am not sure about Fs value that...
I need to obtain an approximate implementation of a Butterworth low pass first order filter using...
I need to obtain an approximate implementation of a Butterworth low pass first order filter using P-spice. It suppose to have a cutoff frequency of 1000Hz and the attenuation cutoff frequencies fixed at 3db.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT