LAB16
LAB16
REGISTRATION NO : 21PWELE5892
SECTION: C
DATE : 2-7-2023
Methodology:
• The design of the active filters was based on well-established filter design techniques.
• For the low-pass filter, we used a second-order Butterworth filter with a cutofffrequency of 15 kHz .
The filter transfer functions were derived using standard equations and thenconverted into equivalent
circuits with operational amplifiers.
Simulink implementation:
• Matlab simulink was utilized to model and simulate the active filters.
• The Simulink library provided various blocks representing the active filter components, such as op-
amps, resistors, capacitors, and input/output ports.
• The filter circuits were constructed by interconnecting these blocks andconfiguring their parameters
according to the filter design.
• Once the active filter models were constructed in Simulink, a frequency sweepsimulation was
performed.
• A sine wave input signal spanning a range of frequencies (0 Hz to 10 kHz) wasfed into the filters, and
the outputs were observed and analyzed.
• The frequency response plots were generated to visualize the filtercharacteristics, including gain and
phase shift.
Circuit diagram:
Graph:
Analysis:
The results of the simulation and analysis indicate the successful implementation of active low-pass
filters using matlab simulink. The frequency response plots showed the expected filter characteristics,
accurately representing
theattenuation and amplification of specific frequency components. Simulink provided a user-friendly
interface for constructing and simulating the active filters, allowing for easy visualization of the filter
responses.
The library of predefined blocks facilitated the assembly of complex filter circuits without the need for
manual coding, saving time and effort.
The comparison between the simulated results and theoretical expectations verified the reliability of the
simulation methodology.
Any discrepancies observed between the simulation and theory could be further investigated to identify
potentialsources of error.
Conclusion:
This lab successfully demonstrated the simulation and analysis of active filters using matlab simulink.
The active low-pass filters were designed, implemented, and simulated, showcasing their frequency
response characteristics. The results obtained from the simulation aligned closely with theoretical
expectations, validating the accuracy of the Simulink models and the simulation methodology.
Magnitude (dB) *estsys 1 Matlab simulink proves to be a powerful tool for modeling and analyzing
active filters, providing researchers and engineers with an efficient means to explore and optimize filter
designs. The insights gained from these simulations can inform the practical implementation of active
filters in real-world applications, contributing to advancements in signal processing and electronic
systems
[ fc = 15000;
fs = 1000;
[b,a] = butter(10,fc/(fs/2));
freqz(b,a,[],fs)
subplot(2,1,1)
ylim([-100 20]) ]