0% found this document useful (0 votes)
23 views3 pages

Lab 4 RF

The document describes a circuit simulation using harmonic balance. The circuit contains two BJTs, an NPN and a PNP, with various parameters. The simulation calculates the output over time for an input signal at 1 kHz up to 100th order harmonics.

Uploaded by

maimoonaziz2003
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)
23 views3 pages

Lab 4 RF

The document describes a circuit simulation using harmonic balance. The circuit contains two BJTs, an NPN and a PNP, with various parameters. The simulation calculates the output over time for an input signal at 1 kHz up to 100th order harmonics.

Uploaded by

maimoonaziz2003
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/ 3

V_DC

SRC2 BJT_Model
Vdc=10 V BJTM1
BJT_NPN NPN=yes Kc= Cex= Xtf= Ffe=
PNP=no Isc= Cco= Tf= Lateral=no
Vin BJT1
Is= C4= Imax= Vtf= RbModel=MDS
Model=BJTM1
Bf= Nc= Imelt= Itf= Approxqb=yes
V_1Tone Area=
Nf= Cbo= Cje= Ptf= Tnom=
SRC1 Region=
Vaf= Gbo= Vje= Tr= Trise=
V=polar(2,0) V Temp=
Vout Ikf= Vbo= Mje= Kf= Eg=
Freq=1 kHz Trise= R Ise= Rb= Cjc= Af= Xtb=
Mode=nonlinear C R1 C2= Irb= Vjc= Kb= Xti=
C1 R=1 kOhm Ne= Rbm= Mjc= Ab= AllParams=
C=100 uF Br= Re= Xcjc= Fb=
Nr= Rc= Cjs= Rbnoi=
Var= Rcv= Vjs= Iss=
Ikr= Rcm= Mjs= Ns=
Ke= Dope= Fc= Nk=

BJT_PNP
HARMONIC BALANCE BJT2
Model=BJTM2
HarmonicBalance Area=
HB1 Region=
MaxOrder=100 Temp=
Freq[1]=1.0 kHz Trise=
Order[1]=100 Mode=nonlinear

V_DC BJT_Model
SRC3 BJTM2
Vdc=10 V NPN=no Kc= Cex= Xtf= Ffe=
PNP=yes Isc= Cco= Tf= Lateral=no
Is= C4= Imax= Vtf= RbModel=MDS
Bf= Nc= Imelt= Itf= Approxqb=yes
Nf= Cbo= Cje= Ptf= Tnom=
Vaf= Gbo= Vje= Tr= Trise=
Ikf= Vbo= Mje= Kf= Eg=
Ise= Rb= Cjc= Af= Xtb=
C2= Irb= Vjc= Kb= Xti=
Ne= Rbm= Mjc= Ab= AllParams=
Br= Re= Xcjc= Fb=
Nr= Rc= Cjs= Rbnoi=
Var= Rcv= Vjs= Iss=
Ikr= Rcm= Mjs= Ns=
Ke= Dope= Fc= Nk=

2
1.5

1.0
1

0.5
ts(Vin), V

ts(Vout), V

0
0.0

-0.5
-1

-1.0

-2
-1.5
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0
time, msec
time, msec

In lab
DC

DC
V_DC DC1
SRC4
Vdc=12 V DC_Feed
DC_Feed1
Meas
Eqn MeasEqn
Meas1
Vo=Vout

I_Probe
I_Probe1

Vin
BJT_Model
V_1Tone BJTM1
SRC1 NPN=yes Kc= Cex= Xtf= Ffe=
V=polar(24,0) V BJT_NPN
PNP=no Isc= Cco= Tf= Lateral=no
Freq=1 kHz BJT1
Is= C4= Imax= Vtf= RbModel=MDS
Model=BJTM1
Bf= Nc= Imelt= Itf= Approxqb=yes
Area=
Nf= Cbo= Cje= Ptf= Tnom=
Region= Vout Vaf= Gbo= Vje= Tr= Trise=
Temp= R
Ikf= Vbo= Mje= Kf= Eg=
Trise= R1
Ise= Rb= Cjc= Af= Xtb=
Mode=nonlinear R=1 Ohm
C2= Irb= Vjc= Kb= Xti=
Ne= Rbm= Mjc= Ab= AllParams=
Br= Re= Xcjc= Fb=
Nr= Rc= Cjs= Rbnoi=
Var= Rcv= Vjs= Iss=
Ikr= Rcm= Mjs= Ns=
Ke= Dope= Fc= Nk=
L
L1
L=1.0 mH
HARMONIC BALANCE R=

HarmonicBalance
HB1
MaxOrder=2
Freq[1]=1.0 kHz
Order[1]=2

1.0E-300

5.0E-301
Vout, V

0.0

-5.0E-301

-1.0E-300
0.0
-1.0E-300

-8.0E-301

-6.0E-301

-4.0E-301

-2.0E-301

2.0E-301

4.0E-301

6.0E-301

8.0E-301

1.0E-300

freq, Hz
Vc DC
V_DC
SRC4
DC_Feed DC
Vdc=12 V
DC_Feed1 DC1
Meas
Eqn MeasEqn
Meas1
Vo=Vout
eff=(Vout/Vin)*100

I_Probe
Ic
HARMONIC BALANCE

HarmonicBalance
HB1
MaxOrder=2
Freq[1]=1.0 kHz
Vin
Order[1]=2

V_1Tone
SRC1
V=polar(2.4,0) V BJT_NPN
Freq=1 kHz BJT1
Model=BJTM1
BJT_Model
Area=
BJTM1
Region= Vout NPN=yes Kc= Cex= Xtf= Ffe=
Temp= R PNP=no Isc= Cco= Tf= Lateral=no
Trise= R1 Is= C4= Imax= Vtf= RbModel=MDS
Mode=nonlinear R=1 Ohm Bf= Nc= Imelt= Itf= Approxqb=yes
Nf= Cbo= Cje= Ptf= Tnom=
Vaf= Gbo= Vje= Tr= Trise=
Ikf= Vbo= Mje= Kf= Eg=
Ise= Rb= Cjc= Af= Xtb=
C2= Irb= Vjc= Kb= Xti=
Ne= Rbm= Mjc= Ab= AllParams=
L Br= Re= Xcjc= Fb=
L1 Nr= Rc= Cjs= Rbnoi=
L=1.0 mH Var= Rcv= Vjs= Iss=
R=0 Ikr= Rcm= Mjs= Ns=
Ke= Dope= Fc= Nk=

1.0
-33.4911016

0.8
-33.4911016

0.6
Vout, V

ts(Ic.i), pA

-33.4911016

0.4
-33.4911016

0.2
-33.4911016

0.0
-33.4911016
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0
freq, KHz
time, msec
3

2
60

1
40
ts(Vout), V
ts(Vin), V

0
20
ts(eff)

-1
0

-2
-20

-3
-40
0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0

time, msec -60


0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0

time, msec

You might also like