darkbasic
Newbie level 4
- Joined
- Jan 18, 2015
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 55
Hi,
I'm trying to simulate exercise 13.21(a) from Sedra-Smith, with:
- Vcc=5V
Code:
.model modn NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259 Ise=6.734f Ikf=66.78m Xtb=1.5
Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1 Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
This is the circuit in pspice:
(I had to put R2=1f because otherwise the simulation didn't converge)
Since I have two conditions for oscillation:
Code:
Im{A*B(jw)}=0
Code:
A*B(jw0)=1
but three electrical reactancesto size, then I have one degree of freedom so I chosed C1=L.
I also chosed I = 1*10^-6 A which should be fine because the BJT works in the forward-active region.
Unfortunaly when I simulate it I get very different results when I change the Run Time or Max Step Size values:
What's wrong? :-(
- - - Updated - - -
This is the project file, including the models library if someone wants to try it:
https://drive.google.com/file/d/0Bwe9Wtc-5xF1S0xQb2F2Mkh0REk/view?usp=sharing
Thanks