Complex Engineering Activity ENA

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 25

CEA

COMPLEX ENGINEERING
Subject : Ena (Lab)

Submitted to : engr Hamza ahmad

Name : m zeeshan
Section : a
reg # 19mdele050
CEA
Task : Designing a bandpass and bandstop filter using low
pass and high pass filter.
Question :
In this activity, a passive bandpass filter and a bandstop
filter are to be designed and simulated separately. Both the
filters are to be designed using a low pass and high pass RC
filter. The designed filters should operate between 1 kHz
and 30 kHz. Assume that both the resistors of low pass and
high pass filter have values of 10k Ω.
Objective :
1. The designed bandpass filter should allow a range of
frequencies above 1 kHz and below 30 kHz while the bandpass
filter should suppress the same range of frequencies.
2. Simulate the circuits in PSPICE and plot the magnitude vs
frequency graph.
3. Write a report which clearly shows screen shots of the simulated
circuits and the relevant graphs. Also show the calculations
required to get the desired values of capacitors.
CEA
Apparatus :
1. AC Voltage source
2. High pass filter
 Resistor
 Capacitor
3. Low Pass Filter
 Resistor
 Capacitor
4. Voltage differential markers
5. Ground
6. Wires
CEA
For BandPass Filter :
Procedure :
1) First of all go to draw menu and take new part OR simply press
ctrl+g to pick components.
CEA

2) Then type VAC to pick the voltage AC power supply.


CEA
3) Then type r in the draw menu and pick 2 resistors .
CEA

4) Then type C to get 2 capacitors.


CEA
5) Then type egnd to pick up the ground.
CEA

6) Then connect all the components in series with the help of


draw wire option as shown in the diagram.

7) Then assign values to the components by double clicking on


them and giving values as given in the question.
8) For finding the Value of capacitances we use
C1 = 1 / (2*pi*Fc*R)
C1 = 1 / (2*3.14*1k*10k)
C1 = 1 / (62.8M)
C1 = 0.01592uF
C1 = 15.92nF

For C2 :- C2 = 1 / (2*pi*Fc*R)
C2 = 1 / (2*3.14*30k*10k)
C2 = 1 / (1884M)
C2 = 0.53078nF
C2 = 530.78pF
CEA

9) The diagram will be like


CEA
10) Now to show the graph first go to setup analysis then click
on Ac Sweep.

11) And then assign values as shown.


CEA
12) Now to Make a bandpass filter fix the voltage differential
markers across the 2nd capacitor as shown.

13) Graph of Band pass filter is.


CEA
14) For finding attenuation graph we click on add trace and then
by its formula as db = 20*log(Vout / Vin) as shown
CEA
15) So the voltage gain graph in terms of dBs is
CEA

For Bandstop Filter :


Procedure :
1) First of all go to draw menu and take new part OR simply press
ctrl+g to pick components.
CEA

2) Then type VAC to pick the voltage AC power supply.


CEA

3) Now connect the HPF and LPF in parallel for that


4) Type r in the draw menu and pick 2 resistors .
CEA

5) Then type C to get 2 capacitors.


CEA
6) Then type egnd to pick up the ground.
CEA

7) Then connect the components with the help of draw wire


option as shown in the diagram.

8) Then assign values to the components by double clicking on


them and giving values as given in the question.
9) For finding the Value of capacitances we use
C1 = 1 / (2*pi*Fc*R)
C1 = 1 / (2*3.14*1k*10k)
C1 = 1 / (62.8M)
C1 = 0.01592uF
C1 = 15.92nF

For C2 :- C2 = 1 / (2*pi*Fc*R)
C2 = 1 / (2*3.14*30k*10k)
C2 = 1 / (1884M)
C2 = 0.53078nF
C2 = 530.78pF
CEA

10) The diagram will be like

11) We can change the places of capacitor as HPF and LPF are in
parallel and voltage is same in parallel circuits.
CEA
12) Now to show the graph first go to setup analysis then click
on Ac Sweep.

13) And then assign values as shown.


CEA
14) Now to Make a bandstop filter fix the voltage differential
markers across the 1st capacitor and 2nd resistor as shown.
CEA
15) Graph of Band stop filter is.

16) For finding attenuation graph we click on add trace and then
by its formula as db = 20*log(Vout / Vin) as shown
CEA
17) So the voltage gain graph in terms of dBs is

You might also like