0% found this document useful (0 votes)
5 views6 pages

Active RC Filters Simulation Report

This document appears to be a student's lab report for an experiment on active RC filters. It includes 6 questions with circuit schematics and MATLAB code to simulate different filter types, including: 1) A low-pass filter with its magnitude response plot. 2) A band-stop filter with its magnitude response plot. 3) A band-pass filter, including a) the schematic and magnitude response, and b) a variation with one input grounded and its magnitude response. MATLAB code is provided to generate the magnitude and phase responses for the low-pass, band-stop, and band-pass filters. Figures of the responses are displayed.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views6 pages

Active RC Filters Simulation Report

This document appears to be a student's lab report for an experiment on active RC filters. It includes 6 questions with circuit schematics and MATLAB code to simulate different filter types, including: 1) A low-pass filter with its magnitude response plot. 2) A band-stop filter with its magnitude response plot. 3) A band-pass filter, including a) the schematic and magnitude response, and b) a variation with one input grounded and its magnitude response. MATLAB code is provided to generate the magnitude and phase responses for the low-pass, band-stop, and band-pass filters. Figures of the responses are displayed.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Student: Beril Günay 2232015 3/04/2018

Assistant: Baver Özceylan Tuesday morning

EXPERIMENT 6

ACTIVE RC FILTERS

SIMULATION REPORT

Q1)

Figure 1: Low pass filter schematic

Figure 2: Magnitude response of low pass filter

Q2)

Figure 3: Band-stop filter schematic


Figure 4: Magnitude response of band-stop filter

Q3) a)

Figure 5: Band-pass filter schematic

Figure 6: Magnitude response of band-pass filter


b)

Figure 7: Band-pass filter with vin+ grounded

Figure 8: Magnitude response of band-pass filter with vin+ grounded


MATLAB

Q1)

Figure 9: Magnitude and phase response of low pass filter

%2232015 Beril Günay


R1=1.2*10^3;
R2=1.2*10^3;
C=0.1*10^-6;
A=R1*R2*C*C;
B=R2*C;
num=[2];
den=[A,B,1];
H=tf(num,den);
bode(H), grid
Q2)

Figure 10: Magnitude and phase response of band-stop filter

%2232015 Beril Günay


R1=560;
R2=560;
R3=270;
Ra=2.2*10^3;
Rb=1*10^3;
C1=0.47*10^-6;
C2=0.47*10^-6;
C3=1*10^-6;
A=1/(R1*R2*C1*C2);
K=1+(Ra/Rb);
B=((1-K)/(R3*C1)+(1/R2)*(1/C1+1/C2));
num=[K,0,K*A];
den=[1,B,A];
H=tf(num,den);
bode(H), grid
Q3)

Figure 11: Magnitude and phase response of band pass filter

%2232015 Beril Günay


R1=1*10^3;
R2=2.2*10^3;
R3=10*10^3;
R4=6.8*10^3;
C=4.7*10^-9;
A=(R3/(R3+R4));
B=(R2*C/(A-1));
E=R1*R2*C*C;
F=2*R1*C;
num=[B,0];
den=[E,F+A*B,1];
H=tf(num,den);
bode(H), grid

Common questions

Powered by AI

The constants A, B, and K are critical in determining the filter’s transfer function and behavior. Constant A influences the frequency characteristics through the relationship A=1/(R1*R2*C1*C2), affecting the position of poles in the filter. B, which involves the feedback network, dictates the damping factor and bandwidth of the stop band. K adjusts the overall gain, which impacts the pass-band attenuation and signal strength. Together, these constants help define the quality of the filter and its effectiveness in isolating and attenuating specified frequencies within the stop band .

Feedback in active RC filters is crucial as it stabilizes the filter's performance and allows the designer to control the filter's gain and bandwidth. It helps maintain the desired output signal despite fluctuations or variations in components or input. For the band-stop filter described, feedback from the op-amp is used to control the pass band and rejection band characteristics, ensuring that unwanted frequencies are effectively attenuated while maintaining the integrity of the desired signal .

To derive the transfer function for a low-pass filter in MATLAB, the values of the resistors and capacitors are used to determine coefficients for the numerator and denominator of the transfer function. The low-pass filter's transfer function typically has the form H(s) = num(s)/den(s). In this experiment, using the component values R1, R2, and C, constants A and B are calculated to set up num=[2]; and den=[A,B,1]; reflecting a second-order low-pass filter. This transfer function is then analyzed using the bode function to plot its magnitude and phase response .

In an active RC filter, resistors and capacitors primarily determine the tuning and cutoff frequency. The RC time constant (product of resistance R and capacitance C) is the key factor in setting the cutoff frequency (o = 1/RC), dictating where the filter transitions between passband and stopband. Adjusting these components allows precise control over the filter’s frequency response, enabling it to accurately target specific signal ranges while minimizing unwanted frequencies. The precise selection and combination of resistor and capacitor values directly influence the sharpness and accuracy of this cutoff .

Active RC filters use operational amplifiers (op-amps) to achieve higher performance for gains, input and output impedances, and frequency range compared to passive filters which use only resistors and capacitors. The op-amp can buffer the filter stages, increase gain, and allow for sharper filter roll-off without the loss of signal strength inherent in passive filters. This makes active RC filters more suitable for low-noise and high-precision applications .

Grounding Vin+ in the band-pass filter alters the configuration to a single-input version, which primarily affects the gain and the quality factor (Q factor) of the filter. This might introduce changes in the peak response and bandwidth, potentially causing a deviation in the magnitude response when compared to the standard dual-input configuration. Such modifications typically impact the signal's amplitude and the sharpness of the filter’s transition band .

The quality factor (Q) in a band-pass filter design is affected by the configuration of the resistors and capacitors, feedback loop dynamics, and the operational amplifier's characteristics. It is defined by the bandwidth relative to the resonant frequency, with a higher Q indicating a narrower bandwidth. Factors such as the resistor-capacitor ratio, feedback gain, and op-amp bandwidth influence Q and thereby the filter's selectivity. A higher Q results in better selectivity and sharper transitions, essential for applications requiring high signal integrity and precision .

The operational amplifier configuration in an active band-pass filter profoundly impacts its stability and performance. It allows for increased gain without affecting the impedance of the filter, ensures linearity over a wide range of frequencies, and provides buffering, which stabilizes the output against load variations. The op-amp design also affects the Q-factor, influencing bandwidth and selectivity of the filter, offering the flexibility to achieve desired filter characteristics with precision and confidence .

In forming a band-stop filter, resistors (R1, R2, R3, Ra, Rb) and capacitors (C1, C2, C3) are used along with an operational amplifier to configure the network. Each resistor-capacitor (RC) pair creates a time constant which determines the filter characteristics. Capacitors C1 and C2 work together to create stop-band frequencies, while R3, Ra, and Rb adjust feedback and result in a higher cut-off slope. The op-amp provides necessary gain and phase correction, ensuring that the unwanted frequency is attenuated effectively while allowing other frequencies to pass with negligible loss .

MATLAB plays a crucial role in analyzing the magnitude and phase response of active RC filters by providing tools to simulate and visualize these responses. It offers functionalities like the bode plot that graphs the magnitude and phase of the system's transfer function across a range of frequencies, allowing for thorough analysis and optimization of filter design. This aids in understanding how circuit components impact performance, and provides flexibility to iterate on designs before physical implementation .

You might also like