0% found this document useful (0 votes)
18 views

TP n01 Simulation Tool

Uploaded by

toufik bendib
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)
18 views

TP n01 Simulation Tool

Uploaded by

toufik bendib
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
You are on page 1/ 11

,Ecole Nationale Supérieure des Energies Renouvelables

Environnement et Développement durable


********************************************************************************************************************************
Année universitaire : 2022/2023
4éme année micro-électronique ic design
. Cours : simulation Tool

Practical work n1 : PSPICE simulation of fundamental circuits

First name Last name Group Preparation Report score

work score 12/12

4/4

 Zerdoumi  rahma
 Chebbi  sabrine 2
 sekak  aicha

I. Objective:
• Introduction to the simulator PSPICE.
• Study in a static regime.

• Study in a transient regime.

• Study in a frequency regime.

II. Simulation part :

1 1 R3 3

1k
R2
500 Vs
I1 R1 C1
2
4mA 800 33 n
V1
30 V
1. Write the netlist describing the circuit in Figure 1.
Pspice simulation of fundamental circuits

*.LIB

R1 1 0 800

R2 1 2 500

R3 1 3 1k

c1 3 0 33n

I1 0 1 DC 4m

V1 2 0 DC 30

.end

2. Perform a DC operating point simulation (by using the command .OP) to record the values of
voltages V(1) and V(3).

Pspice simulation of fundamental circuits

*.LIB

R1 1 0 800

R2 1 2 500

R3 1 3 1k

c1 3 0 33n

I1 0 1 DC 4m

V1 2 0 DC 30

*commands

.op

.end

2
3. Perform a continuous simulation (by using the command .dc) on V1 from 0 to 30 and plot the
voltages V(1) and V(3) as function of V1.

Pspice simulation of fundamental circuits

*.LIB

R1 1 0 800

R2 1 2 500

R3 1 3 1k

c1 3 0 33n ic=0

I1 0 1 DC 4m

V1 2 0 DC 30

*commands

.op

.dc V1 0 30 0.5

.probe

.end

4. Give the forms of the voltages V(1) and V(3) as a function of V1


3
The curve is a straight line whose equation is given by the V(1) = a V1 +b
And we have :A(15.026,10.478) and B(25, 16.615)
So : a = (16.15-10.478)/(25-15.026) = 0.67644

And : b = 1.2308 mv

V(1) =V(3) = 067644 V1 +1.2308

5. By using the command .TF, find the value of the equivalent resistance Req and the Thevenin
voltage source Vth to form the Thevenin equivalent circuit seen between the nodes 3 and 0
(External to C1).

Pspice simulation of fundamental circuits

*.LIB

R1 1 0 800 .la valeur de Vth est :Vth = v(open circuit )= V(3) = 19v

R2 1 2 500 .la valeur de Rth est :Rth = R eq = output resistance at


V(3) =1. 3087 E+03
R3 1 3 1k

c1 3 0 33n

I1 0 1 dc 4m

V1 2 0 dc 30

*commands

.op

.TF v(3)v1

.end

6. It is assumed that the capacity is initially discharged. V1=30V and I1=4mA. Perform a transient
simulation using the command .Tran, specifying the time scale and time step in accordance with
the theoretical analysis conducted.

Pspice simulation of fundamental circuits


4
*.LIB

R1 1 0 800

R2 1 2 500

R3 1 3 1k

c1 3 0 33n ic =0

I1 0 1 dc 4m

V1 2 0 dc 30

*commands

.op

.tran 1u 4m 0 1u

.probe

.end

7. Plot the simulated curve and record the remarkable values of Vs(t). find the final voltage and the
constant of the capacity charge time τ.

The final voltage is : V(t→∞) = vs final = 19.692 v

The constant of the capacity charge time τ : τ= RC = 0.63 Vs final =


12.40596v so t(Vs= 12.40596) = 43u
Rth

Vth C1
33 n

0
Figure.2: Thevenin equivalent circuit

8. If we replace Vth by a square wave signal “PULSE source” with an amplitude of 5V, visualize and
plot the charging and discharging voltage of the capacitance V C for four periods (at different
frequencies:1KHz, 10KHz and 20KHz).

I. For F =1KHZ :
5
Pspice simulation of fundamental circuits
*.LIB
rth 1 2 1.3087E+03
c1 2 0 33n ic=0
vth 1 0 pulse (0 5 1f 1f 1f 0.5m 1m) ; for F= 1KHZ
*commands
.op
.tran 1u 4m 0 1u ; for four period
.probe
.end

II. For F=10 KHZ:


Pspice simulation of fundamental circuits
*.LIB
rth 1 2 1.3087E+03
c1 2 0 33n ic=0
vth 1 0 pulse (0 5 1f 1f 1f 5m 10m) ; for F= 10KHZ
*commands
.op
.tran 1u 40m 0 1u ; for four period
.probe
.end

III. For F =20 KHZ :

6
Pspice simulation of fundamental circuits
*.LIB
rth 1 2 1.3087E+03
c1 2 0 33n ic=0
vth 1 0 pulse (0 5 1f 1f 1f 25u 50u) ; for F= 20KHZ
*commands
.op
.tran 1u 200u ; for four period
.probe
.end

9. If we replace Vth by sinusoidal signal Ve=5sin(2π×f×t), visualize and compare the voltages Vc to Ve
for two periods at various frequencies 100Hz, 3.7KHz and 10KHz

according to the table below.


f (KHz) 0.1 3.7 10

V C ( V) 5v 3.4708v 1.7287v

∆T (ms) 0 865E-3 ms 0.3194 ms


0 1.15218 E+3 1.149 E+3
T
 
 360
T
Vc 0 -3.3294 -9.225
G
dB 20 log
Ve

 For F=0.1 KHZ :

Pspice simulation of fundamental circuits

*.LIB

rth 1 2 1308

7
c1 2 0 33n ic=0

vth 1 0 sin(0 5 0.1k)

*commands

.tran 1u 40m

.probe

.end

 For F=3.7 KHZ :

Pspice simulation of fundamental circuits

*.LIB

rth 1 2 1308

c1 2 0 33n ic=0

vth 1 0 sin(0 5 3.7k)

*commands

.tran 1u 1m

.probe

.end

 For F=10 KHZ :

Pspice simulation of fundamental circuits

8
*.LIB

rth 1 2 1308

c1 2 0 33n ic=0

vth 1 0 sin(0 5 10k)

*commands

.tran 1u 10m 0 1u

.probe

.end

10. Plot the transfer function curves (magnitude(dB) and phase(°))using the command .AC.

Pspice simulation of fundamental circuits

*.LIB

Rth 1 2 1.3087E+03

c1 2 0 33n ic=0

Vth 1 0 sin(0 5 10k)AC 5 0.1k

*commands

.AC DEC 10 0.1k 10k

.probe

.end

11. Find from these curves the cutoff frequency fc.

a G(db)= -3db ou α=45 degré donc fc = 3.65khz

12. Interpret the all the simulation results and draw conclusions.
9
Simulation can be used to predict the performance of an existing or planned system .
like we have seen in this practical work , we have used simulation tools to analysis that circuit and
know the currents and voltages as well as transfert function and plot graphs ...etc . it's very helpful
because it diminuate the time of theoric analysis and it gives us a precise values .
in addition we found that there are commands that can make the things easier , for example
instead of using many commands and calculate we can use one command that can do All the
work and gives us the results.

Dr. BENDIB Toufik

10
11

You might also like