Ata_sa16
Full Member level 6

- Joined
- Mar 29, 2016
- Messages
- 343
- Helped
- 59
- Reputation
- 118
- Reaction score
- 58
- Trophy points
- 28
- Location
- Milky Way Galaxy, 179° 56′ 39.4″
- Activity points
- 2,221
Thanks for your advice.
For https://github.com/promach/frequency_trap , I am having problem getting the right AC analysis plot.
Therefore, I went back to Gm2 calculation. I have the following plot, should I use rms value ? Besides, did I do anything wrong elsewhere which I had not noticed yet ?
View attachment 140404
To other ngsice users:
I am simulating active inductor in https://github.com/promach/frequency_trap
Why Vtest = -2 ?
View attachment 140455
The first schematics is Gm2 block. The second schematics is the top-level.
View attachment 140484 View attachment 140485
Let me do DC analysis first.
Regarding imaginary component and S-parameter, I guess I need some time to learn about simulating them.
In AC analysis the gate of M5 should be grounded not Vb. It means that you should put a coupling capacitor.
Doing analysis at TEMP = 25.000000 and TNOM = 27.000000
Warning: vtest: no DC value, transient time 0 value used
No. of Data Rows : 1
Yeah I think you are right. For simulation it is not necessary.
But I am sure that circuit has biasing problem.
ngspice 703 -> op
Doing analysis at TEMP = 25.000000 and TNOM = 27.000000
Warning: vtest: no DC value, transient time 0 value used
No. of Data Rows : 1
ngspice 704 -> print all
v(1) = 2.900000e+00
v(2) = -1.00000e-01
v.xu2.vb#branch = 0.000000e+00
vc = 2.368405e+00
vd#branch = -2.08230e-03
vdc#branch = 0.000000e+00
vdd = 3.000000e+00
vs#branch = 2.082300e-03
vss = 0.000000e+00
vtest#branch = 0.000000e+00
vx = 1.814641e+00
xu2.1 = 2.750664e+00
xu2.3 = 1.370506e+00
xu2.4 = 1.800000e+00
xu2.5 = 1.585891e+00
ngspice 705 ->
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?