Keyboard Shortcuts
Likes
Search
Re: Simulation runs very slowly: test.asc
¿ªÔÆÌåÓýI thought I made a mistake, but I was wrong ! ? Please do consider the email time stamped 9:58AM below. ? From: christopherrpaul1@... <christopherrpaul1@...>
Sent: Sunday, April 6, 2025 10:05 AM To: [email protected] Subject: RE: [LTspice] Simulation runs very slowly: test.asc ? Please ignore, I see a problem with what I did. ? From: [email protected] <[email protected]> On Behalf Of Christopher Paul via groups.io ? Thank you, Tony. ? Here¡¯s the problem I encountered with the unmodified LM317A_TRANS while hoping to use the DC current source I1 to create a programmable current source. See ProgCurrSource.asc. ? The drop across Rc leaves only 12.5mV across Rs, leading to a 10mA current through RL. There are no AC currents flowing through either ADJ or through Rc, and there is no DC current through ADJ. ? The PSRR at the OUT2 terminal below 100Hz is a measly 25dB. At OUT1, the same PSRR is 55dB. ? With LTspice 17.1.14, simulating with .ac dec 100 10 10000 yields the following errors, although it also obviously produces the above results: ? Questionable use of curly braces in "b¡ìe_abmgate yint 0 v={if(v(a)>{{vthresh}},{{vdd}},{{vss}})}" ??? Error: undefined symbol in: "if([v](a)>((vthresh)),((vdd)),((vss)))" Questionable use of curly braces in "b¡ìe_abmgate yint 0 v={if(v(a)>{{vthresh}},{{vdd}},{{vss}})}" ??? Error: undefined symbol in: "if([v](a)>((vthresh)),((vdd)),((vss)))" u2:_u1_u12:dd1: Emission coefficient, N=2.6437e-312, too small, limited to 0.1 u2:_u1_u11:dd1: Emission coefficient, N=2.6437e-312, too small, limited to 0.1 u1:_u1_u12:dd1: Emission coefficient, N=2.6437e-312, too small, limited to 0.1 u1:_u1_u11:dd1: Emission coefficient, N=2.6437e-312, too small, limited to 0.1 Direct Newton iteration for .op point succeeded. ? ? ? ? From: [email protected] <[email protected]> On Behalf Of Tony Casey via groups.io ? On 04/04/2025 23:51, Christopher Paul via groups.io wrote:
The notes in the LM317A model are nonsense. PSRR is modelled, although it doesn't quite stack up with the datasheet, which states 68dB (typ) - the model delivers -55dB. For comparison, for the LM317, the datasheet figure is 57dB and the model delivered 62dB. The model behaviour overall is better than for the LM317, which doesn't model the output capacitor effect on PSRR. In the LM317A, it is modelled. The LM317A PSRR figure for when a 10uF capacitor is hung on the ADJ pin can't be achieved. |