VERY LARGE SCALE INTEGRATION & INTELLIGENT SYSTEMS DESIGN LABORATORY FLORIDA INTERNATIONAL UNIVERSITY Filter Design Implementations Utilizing CAD Tools Research Conducted By: Christian D. Archilla, B.S.C.E., M.S Graduate Research Associate, VLSI Assistant Lab Manager Faculty: Dr. Subbarao V. Wunnava, Ph.D., P.E., Professor 6/1/2008
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
�
VERY LARGE SCALE INTEGRATION & INTELLIGENT SYSTEMS DESIGN LABORATORY
FLORIDA INTERNATIONAL UNIVERSITY
Filter Design Implementations Utilizing CAD Tools
Research Conducted By:
Christian D. Archilla, B.S.C.E., M.S Graduate Research Associate, VLSI Assistant Lab Manager
After applying the Laplace transformation on low-pass filter circuits, the transfer
functions of both configurations yield the following functions:
Equation 3 Non-inverting high-pass filter
���� �
� ���
� ��
��� � �
Equation 4 Inverting high-pass filter
���� �
���
� ��
��� � �
5�
�
3. FilterLab and PSpice 3.1. FilterLab
FilterLab is a CAD tool which assists users with the development of active filters. The
tool allows the design of low-pass, band-pass, and high-pass filters up to an eighth order filter. In
addition, the FilterLab tool allows the use of different responses: Chebychev, Bessel, and
Butterworth, ranging from .1 Hz to 10 MHz’s. Two different topologies, Sallen Key and
Multiple Feedback (MFB), may be utilized.
3.2. PSpice PSpice is a circuit design and simulation CAD tool. PSpice allows for active, passive,
analog, and digital schematics to be developed and simulated. PSpice has many different
analyses that can be simulated. It contains numerous part libraries which assist in the creation of
different types of circuit designs. The creation and simulation of filters yield the magnitude
response and the phase response of the individual filters giving the user the ability modify the
part values of the filters to create a specific response.
6�
�
4. Creating Filters Utilizing FilterLab and PSpice Creating the filters utilizing FilterLab involves several steps.
1. Click on the Design filter button. 2. Choose the filter approximation: Butterworth, Bessel, or Chebychev. 3. Choose the filter type: Low-pass, High-pass, or Band-pass. 4. Type in the overall filter gain in Volta-per-Volts.
�
Figure 6 Setting up a filter using FilterLab
7�
�
By default the topology of the low-pass, high-pass, and band-pass filters is Sallen Key.
For the low-pass filter the topology could be changed to MFB by clicking on the circuit tab and
choosing the MFB topology.
�
Figure 7 FilterLab phase and magnitude response
�
Figure 7 demonstrates the phase and magnitude response plot that is generated by
FilterLab. For this filter the corner frequency is 1 KHz and has a phase of -45°. From the
specified parameter the circuit for the filter is designed using standard components which can be
8�
�
easily found. The next step is to construct the filter using PSpice and check the results of both
tools.
�������
��
���� ��
������
�
Figure 8 Generated circuit by FilterLab
�
The PSpice circuit is composed of all the components specified by FilterLab. For the
operational amplifier (OPAMP), the part number used is ua741. The input to the OPAMP was a
VAC with an AC amplitude of 5V and a frequency of 10 KHz. To generate a plot similar to
Figure 9 a vphase (found by clicking Markers �Mark Advanced) marker is utilized to plot the
phase response of the output. The necessary analysis is an AC Sweep analysis, which will
9�
�
generate the frequency axis. For the AC Sweep analysis, the Decade AC Sweep Type was utilized.
To generate the magnitude response, the output and input of the filter were used along with the
following formula.
Equation 5 Magnitude in db
������������� � ��� ��� !"#$
!%&
Figure 9 Results from PSpice
� It is evident from Figure 9 and Figure 7 that both results yield the same result. For a
deeper analysis of both tools, the order of the filter is changed to an eighth order low-pass filter.
10�
�
The simplest way to change the order is by changing the order as in Figure 10. It is apparent the
change in the magnitude response of the filter. The corner frequency of the filter remains at 1
KHz however the slope of the filter has increased. The increase of order causes the filter to
increase the slope thereby attenuating the undesired frequencies much faster.
��
����
��������
�
Figure 10 Changing the order of the filter
11�
�
The increase in order is also reflected in the circuit of the filter. The filter has 3 additional
amplifiers. Each amplifier circuit represents an order two. Figure 11 shows the new amplifiers to
the filter. The values of the components change as the order of the filter is either reduced or
increased.
Figure 11 Eighth order low-pass filter circuit
Utilizing PSpice the circuit is constructed in the same fashion as the first order filter
however using the new values. After the circuit is complete the resulting simulation is shown in
Figure 12. The results from tools are the same as expected.
12�
�
Figure 12 Eighth order PSpice results
�
� To demonstrate another type of filter, an eighth order high-pass filter was created using
FilterLab and simulated in PSpice. The result of the filter in FilterLab is shown in Figure 13. The
corner frequency of the high-pass filter remains at 1 KHz. The undesired frequencies in this case
are the low frequencies which are attenuated by the filter.
13�
�
Figure 13 High-pass filter in FilterLab
�
The results of PSpice, which are shown in Figure 12, correlate with the results from
FilterLab. The corner frequency of the PSpice simulation remains at 1 KHz and has the same
phase response at the corner frequency as FilterLab.
14�
�
Figure 14 High-pass filter in PSpice
�
�
�
�
�
�
�
�
15�
�
5. Conclusion The combination of FilterLab and PSpice to create filters is a powerful mixture. A filter
can be designed with FilterLab to have a certain performance and can then be constructed
and simulated in PSpice. Of course there are certain limitations in FilterLab. The highest
order is an eighth order filter and the approximation type can only be either Chebychev,
Butterworth, or Bessel. In addition the frequency only goes up to 10 MHz which limits the
number of applications that can use FilterLab.
Although there are several limitations, FilterLab and PSpice working together are a great
learning tool. The consistency of the results maintained throughout the different constructed
filters. In conclusion FilterLab and PSpice could be used to accurately design, create, and
simulate any low frequency filter.
16�
�
6. Appendix
�
Figure 15 FilterLab Butterworth 4th order BPF (2nd order LPF and 2nd order HPF)
17�
�
�
Figure 16 PSpice Butterworth 4th order BPF (2nd order LPF and 2nd order HPF)
18�
�
7. References
Cadence. 2 June 2008 <http://www.cadence.com>.
Mancini, Ron. "Op Amps For Everyone." August 2002. 2 June 2008 <http://focus.ti.com/lit/an/slod006b/slod006b.pdf>.
Microchip. 2 June 2008 <http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en010007&redirects=filterlab>.