Jim Thompson <To-Email-Use-Th...@On-My-Web-Site.com> wrote in
news:u97uh7peo4he06h6g...@4ax.com:
> On Tue, 24 Jan 2012 15:01:39 -0600, Lostgallifreyan
> <
no-...@nowhere.net> wrote:
>
>>Jim Thompson <To-Email-Use-Th...@On-My-Web-Site.com> wrote
>>in
news:2bvth7l6oknup47dn...@4ax.com:
>>
>>> Ran your schematic... behavior is extraordinarily weird, output hangs
>>> about 0.7V below ground when powered from +/-12V
>>>
>>> Please recheck your netlist. Thanks!
>>>
>>
>>I checked it, it's definitely wired ok, transistors are of correct type
>>and orientation, and the pins are correctly numbered according to node.
>>I can't model its parts so didn't check by running it.
>>
>>I can think of a few things that might matter. I didn't assign a ground,
>>so there was no node 0, it was node 15, and maybe there has to be a node
>>0 in all subcircuits.
>
> No. You don't need a Node Zero inside a subcircuit.
>
Ok. I thought not too, but reordered anyway, because I noticed that pin
orders must be contigous starting from 1 in a symbol, and I decided to
avoid similar trouble.
>>Also, I used European resistor value methods like 500R,
>
> Fixed right away.
>
Ok. In mine I just used literal values of ohms, and 12E-12 for that cap.
>>which LTspice can be told not to accept. Also, as LTspice uses M for
>>MOSFET and Q for bipolar, and I kept the numbering from the datasheet,
>>the first M value is 8, not 1, and there is no Q8. Maybe spice programs
>>don't like discontinuities like that.
>
> Not a problem in PSpice. I did have to fix your headers, "15" =>
> "N015", etc, otherwise everything "floats" :-)
>
Yeah, I just noticed that! I chucked any model that looked like it would
fit from the standard libraries just to see if I can run this. it took a
while, chewing, but it DID run, and my output from that equal-divider
test shows correct 2.5V from 5V input.
With 'startup' in .tran it does funny things extremely fast at low
amplitude, but that might just be because I threw models recklessly
inside it. It still settled down eventually to a correct DC output.
For the record, this is what I threw inside:
*MODELS NEEDED FOR CA3140 INNARDS
.model Diode D(Is=2.52n Rs=.568 N=1.752 Cjo=4p M=.4 tt=20n Iave=200m Vpk=75 mfg=OnSemi type=silicon)
.model Zener D(Is=1.13E-14 N=1.103 Vpk=15 bv=15 Ibv=0.005 Rs=0.4798 Cjo=4.023E-11 Vj=0.6144 M=0.3297 FC=0.5 mfg=Philips type=Zener)
.model NPN NPN(Is=7.049f Xti=3 Eg=1.11 Vaf=23.89 Bf=493.2 Ise=99.2f Ne=1.829 Ikf=.1542 Nk=.6339 Xtb=1.5 Br=2.886 Isc=7.371p Nc=1.508 Ikr=5.426 Rc=1.175 Cjc=5.5p Mjc=.3132 Vjc=.4924 Fc=.5 Cje=11.5p Mje=.6558 Vje=.5 Tr=10n Tf=420.3p Itf=1.374 Xtf=39.42 Vtf=10 mfg=PHILIPS)
.model PNP PNP(Is=1.02f Xti=3 Eg=1.11 Vaf=34.62 Bf=401.6 Ise=38.26p Ne=5.635 Ikf=74.73m Nk=.512 Xtb=1.5 Br=9.011 Isc=1.517f Nc=1.831 Ikr=.1469 Rc=1.151 Cjc=9.81p Mjc=.332 Vjc=.4865 Fc=.5 Cje=30p Mje=.3333 Vje=.5 Tr=10n Tf=524p Itf=.9847 Xtf=17.71 Vtf=10 mfg=PHILIPS)
.model NMOS VDMOS(Rg=3 Vto=2.2 Rd=22m Rs=5.5m Rb=28m Kp=10 lambda=.01 Cgdmax=.4n Cgdmin=.1n Cgs=.64n Cjo=.2n Is=25p mfg=Fairchild Vds=60 Ron=55m Qg=12.5n)
.model PMOS VDMOS(pchan Rg=3 Vto=-2.5 Rd=42m Rs=10.5m Rb=53m Kp=9 lambda=.01 Cgdmax=.5n Cgdmin=.12n Cgs=.8n Cjo=.24n Is=30p mfg=Fairchild Vds=-60 Ron=105m Qg=15n)
>
> It could be simply an issue with guessing the MOSFET parameters, for
> example M(Q)8... probably a long channel device to act like a variable
> resistor... how long, who knows? Plus that output current "sink"
> structure is plain-ass somebody's wet dream ;-)
>
It's a mystery to me entirely. :) All I could make of it was a weird
feedback potential but there is meant to be feedback anyway. For now
I'll have to accept my ignorance on this one. Likewise most of what follows...
> But the data sheet offers some clues, the strobe current is 220uA, so
> that's the current in Q3/Q4.
>
> Given the weirdness of that output stage I'm becoming inclined to
> model it as a mix of behavioral blocks plus NPN's to match the data
> sheet.
>
> The data sheet indicates to me that it's not the world's gift to OpAmp
> performance standards... why do you want to use it?
>
I found it performs very well in a laser diode analpog modulator I designed.
Better than other hobbyists are sellign boards to punters are acheiving. I
had to use LT1215 to sigificantly beat it. (And if you can recommend other
amps likely to share the essential qualities of those two (single rail,
fast slew rate), please do).
Also, it's been in general use for so long, and is always fairly easy to find.
Sometimes it might be better than using something newer (those hobbyists were
using new video amps and getting less performance, though my circuit might
suceed where theirs fail by using the amp(s) at unity gain or less and doing
the gain with a voltage regulator (of all things, but it DOES work...).
In short, I learned to like it a lot. I found it worked so often in various
things that I'd like to model it as first base in many new ideas.
> I invented that Q11, Q12, Q13 "turnaround"... see Tom Frederiksen's
> book, "Intuitive IC Op Amps", page 14. The schematic in the data
> sheet is NOT balanced... I suspect a typo... maybe there are more.
>
Nasty possibility... If so, it persisted from the Harris original.
> ...Jim Thompson