Lab 2
Lab 2
Experiment 2
1 Getting Started
1.1 Transient Analysis
Transient analysis is an analysis of time response and is a set of techniques for understanding the
dynamical behavior of a system, particularly for understanding how a system transitions between
two states. Transient analysis starts with a simple task: calculate and visualize the response of the
system in the time domain. Transient analysis generates a system of non-linear ordinary differential
equations. There is no known method to solve these equations directly. Breakpoints are set where
pre-known discontinuities are simulated, such as at VPULSE or VPWL points.
1.2 AC Analysis
AC analysis is the analysis of frequency response. An AC analysis needs a bias point equivalent
to a DC Operating Point. One thing to do to eliminate some of these differences is not to set the
DC voltage to 0 on Vpulse/VAC sources. AC analysis is crucial for designing filters (high-pass,
low-pass, band-pass) that allow specific frequency ranges to pass while blocking others.
1
Time Constant Calculation
τ = (Req ∗ C eq ) (1)
Ceq = 1nF
500K ∗ 200K
Req =
500K + 200K
100000K ∗ K
Req =
700K
1000K
Req =
7
I obtained the output of the transient circuits on each other to visualize the change in the cir-
cuit’s output diagram as shown in Figure 2. The red line indicates the input, and the green
line indicates the output of the circuit. The simulation time constant verifies the analytical hand
calculation of the time constant.
2
2.2 Simulate the circuit and explain the result.
Using the Cadence Virtuoso schematic, we draw a transient circuit and give a pulse voltage to the
circuit, as shown in Figure 3.
Initially, the capacitor starts charging when the voltage is 5V and when the voltage is 0V then
capacitor start discharging that’s the reason why we get voltage negative as shown in Figure 4.
3
3 Plotting frequency response
3.1 Low pass filter with a cut-off frequency of 10 kHz.
Using the Cadence Virtuoso schematic, we draw a Low Pass Filter after some hand calculation
with cutoff frequency, giving the value of resistance and capacitor as shown in Figure 5.
Cutoff Frequency
1
FL = (3)
2 ∗ π ∗ RC
Assume C = 1 nF
1
R=
2 ∗ π ∗ FL ∗ C
1
R=
2 ∗ π ∗ 10 ∗ 103 ∗ 1 ∗ 10−9
R = 15.9 KΩ (4)
4
Result of Low Pass Filter
The output of the Low Pass Filter is verify the 3dB frequency condition as shown in Figure 6.
5
3.2 High pass filter with a cut-off frequency of 10 Hz.
Using the Cadence Virtuoso schematic, we draw a Low Pass Filter after some hand calculation
with cutoff frequency, giving the value of resistance and capacitor as shown in Figure 7. Cutoff
Frequency
1
FH = (5)
2 ∗ π ∗ RC
Assume R = 100 KΩ
1
C=
2 ∗ π ∗ FH ∗ R
1
C=
2 ∗ π ∗ 10 ∗ 100 ∗ 104
C = 159.15 nF (6)
6
Result
The output of the High Pass Filter is verify the 3dB frequency condition as shown in Figure 8.
7
3.3 Band pass filter with lower cut-off frequency of 10 Hz and upper cut-off
frequency of 10 kHz. The filter should provide a gain of magnitude 20 dB
in the pass-band
Using the Cadence Virtuoso schematic, we draw a Band Pass Filter after some hand calculation
with cutoff frequency, giving the value of resistance and capacitor as shown in Figure 9.
8
3.4 Band reject filer with lower cut-off frequency of 10 Hz and upper cut-off
frequency of 10 kHz. The filter should provide an attenuation of 20 dB in
the stop-band.
Using the Cadence Virtuoso schematic, we draw a Band Reject Filter after some hand calculation
with cutoff frequency, giving the value of resistance and capacitor as shown in Figure 11.
9
4 Simulating a voltage amplifier
4.1 Inverting amplifier
Using the Cadence Virtuoso schematic, we draw an inverting amplifier as shown in Figure 13.
After Calculation
10
Result of Inverting Amplifier
11
After Calculation
12