Jnanapurushothama
11/12/2024, 5:55 AMTim Edwards
11/12/2024, 1:55 PMJnanapurushothama
11/12/2024, 2:06 PMRobin Tsang
11/12/2024, 2:45 PM.option rshunt=1e9
Jnanapurushothama
11/12/2024, 3:30 PMRobin Tsang
11/12/2024, 3:43 PMRobin Tsang
11/12/2024, 3:48 PMJnanapurushothama
11/12/2024, 3:55 PMRobin Tsang
11/12/2024, 4:01 PMJnanapurushothama
11/12/2024, 6:19 PMTim Edwards
11/13/2024, 3:18 PMStefan Schippers
11/13/2024, 10:25 PM.option gmin=5n
I commented the above line and I got a reasonable operating point.
Remember that bandgaps need always a startup circuit, because there is a metastable state with nA of currents and extremely low biasing. You need to jump to the stable operating point with forward biased diode connected PNPs.
Without a startup circuit the bandgap takes a very long time to startup, and if OTA offset is of the wrong side may never turn on.
For the same reason ngspice has trouble converging to the right operating point.Stefan Schippers
11/14/2024, 12:17 AMVref
voltage is in accordance with theory, in a temperature sweep.
Vref = kT/q *ln(8) * R10 / R7
Attached modified schematicsJnanapurushothama
11/14/2024, 5:21 AMStefan Schippers
11/14/2024, 7:49 PMJnanapurushothama
11/15/2024, 1:19 AMStefan Schippers
11/15/2024, 9:04 AMStefan Schippers
11/15/2024, 10:21 AMR7
) is a PTAT (Proportional To Absolute Temperature), V=kT/q * ln(8)
, so the current is kT/q*ln(8)/R7
the same current is mirrored into a resistor R10
to get the Vref
voltage
However if you put resistive voltage dividers in parallel to the PNP diodes the current in the two branches will be
kT/q*ln(8)/R7 + Vbe/(R12 + R11)
and kT/q*ln(8)/R7 + Vbe2 / (R3 + R6)
(the two currents will be equal due to the current mirrors).
So the Vref
voltage will be:
[ kT/q*ln(8)/R7 + Vbe2 / (R3 + R6) ] * R10
This is no more a PTAT voltage since you get the temperature dependence of a Vbe and of the resistors.Jnanapurushothama
11/15/2024, 10:39 AM