LM386.sym复制下列代码 <?xml version="1.0"?> <DrDocType="BaseSymbolDocument"> <LrsArr Type="PtrArray"S="3"> <I0 Type="LayerInfo"LN="Border" D="0" Hd="0" V="1"A="0"> <DS Type="ObjectsList"LS="1"> <I0 Type="BoundaryBox"Sel="0" Vis="1" CBH="1" PFC="-1"PW="0" PS="5" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="45" Y="45"/> <I1 Type="Point"X="135" Y="135"/> </PtA> </I0> </DS> </I0> <I1 Type="LayerInfo"LN="Pins" D="0" Hd="0" V="1"A="0"> <DS Type="ObjectsList"LS="8"> <I0 Type="Pin"PShp="0" PTp="4" BusPin="0"InternalPin="0" PLS="4" PL="1" PCSE="1"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="0"/> <PD Type="Group"DCR="0" Sel="0" Vis="1" CBH="0"PFC="-1" PW="0" PS="0" BS="1"BC="-1"> <PtA Type="PtrArray" S="2"> <I0 Type="Point"X="63" Y="45"/> <I1 Type="Point"X="63" Y="27"/> </PtA> <OL Type="ObjectsList"LS="1"> <I0 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="63" Y="45"/> <I1 Type="Point" X="63"Y="27"/> </PtA> </I0> </OL> </PD> <PNaT Type="PinNameText"PNaTO="4" PNaTLS="0" Txt="Vs" H="7"W="0" E="900" O="900" Wg="400"I="0" U="0" SO="0" CS="0" OP="3"CP="2" Q="1" PAF="49" LTP="0"KeepCurrentFont="1" FN="Courier New" Sel="0"Vis="0" CBH="1" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="63" Y="51"/> </PtA> </PNaT> <CTSP Type="Point"X="63" Y="45"/> <WCPType="WireConnectionPoint" X="63" Y="27"/> <PNuT Type="PinNumberText"PNuTO="4" PNuTLS="2" Txt="##" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0"OP="3" CP="2" Q="1" PAF="49"LTP="0" KeepCurrentFont="1" FN="Courier New"Sel="0" Vis="1" CBH="1" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="64" Y="41"/> </PtA> </PNuT> </I0> <I1 Type="Pin"PShp="0" PTp="4" BusPin="0"InternalPin="0" PLS="4" PL="1" PCSE="1"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="0"/> <PD Type="Group"DCR="0" Sel="0" Vis="1" CBH="0"PFC="-1" PW="0" PS="0" BS="1"BC="-1"> <PtA Type="PtrArray" S="2"> <I0 Type="Point"X="90" Y="45"/> <I1 Type="Point"X="90" Y="27"/> </PtA> <OL Type="ObjectsList"LS="1"> <I0 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="90" Y="45"/> <I1 Type="Point"X="90" Y="27"/> </PtA> </I0> </OL> </PD> <PNaT Type="PinNameText"PNaTO="4" PNaTLS="0" Txt="Gain1" H="7"W="0" E="900" O="900" Wg="400"I="0" U="0" SO="0" CS="0" OP="3"CP="2" Q="1" PAF="49" LTP="0"KeepCurrentFont="1" FN="Courier New" Sel="0"Vis="0" CBH="1" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="90" Y="51"/> </PtA> </PNaT> <CTSP Type="Point"X="90" Y="45"/> <WCPType="WireConnectionPoint" X="90" Y="27"/> <PNuT Type="PinNumberText"PNuTO="4" PNuTLS="2" Txt="##" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0" OP="3"CP="2" Q="1" PAF="49" LTP="0"KeepCurrentFont="1" FN="Courier New" Sel="0"Vis="1" CBH="1" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="91" Y="41"/> </PtA> </PNuT> </I1> <I2 Type="Pin"PShp="0" PTp="4" BusPin="0"InternalPin="0" PLS="4" PL="1" PCSE="1"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray" S="0"/> <PD Type="Group"DCR="0" Sel="0" Vis="1" CBH="0"PFC="-1" PW="0" PS="0" BS="1"BC="-1"> <PtA Type="PtrArray" S="2"> <I0 Type="Point"X="117" Y="45"/> <I1 Type="Point"X="117" Y="27"/> </PtA> <OL Type="ObjectsList"LS="1"> <I0 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="117" Y="45"/> <I1 Type="Point"X="117" Y="27"/> </PtA> </I0> </OL> </PD> <PNaT Type="PinNameText"PNaTO="4" PNaTLS="0" Txt="Gain8" H="7"W="0" E="900" O="900" Wg="400"I="0" U="0" SO="0" CS="0"OP="3" CP="2" Q="1" PAF="49"LTP="0" KeepCurrentFont="1" FN="Courier New"Sel="0" Vis="0" CBH="1" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="117" Y="51"/> </PtA> </PNaT> <CTSP Type="Point"X="117" Y="45"/> <WCPType="WireConnectionPoint" X="117" Y="27"/> <PNuT Type="PinNumberText"PNuTO="4" PNuTLS="2" Txt="##" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0" OP="3"CP="2" Q="1" PAF="49" LTP="0"KeepCurrentFont="1" FN="Courier New" Sel="0"Vis="1" CBH="1" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="118" Y="41"/> </PtA> </PNuT> </I2> <I3 Type="Pin"PShp="0" PTp="4" BusPin="0"InternalPin="0" PLS="1" PL="1" PCSE="1"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="0"/> <PD Type="Group"DCR="0" Sel="0" Vis="1" CBH="0"PFC="-1" PW="0" PS="0" BS="1"BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="135" Y="90"/> <I1 Type="Point"X="153" Y="90"/> </PtA> <OL Type="ObjectsList"LS="1"> <I0 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="135" Y="90"/> <I1 Type="Point"X="153" Y="90"/> </PtA> </I0> </OL> </PD> <PNaT Type="PinNameText"PNaTO="1" PNaTLS="0" Txt="Vout" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0"OP="3" CP="2" Q="1" PAF="49"LTP="0" KeepCurrentFont="1" FN="Courier New"Sel="0" Vis="0" CBH="1" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="129" Y="90"/> </PtA> </PNaT> <CTSP Type="Point"X="135" Y="90"/> <WCPType="WireConnectionPoint" X="153" Y="90"/> <PNuT Type="PinNumberText"PNuTO="1" PNuTLS="2" Txt="##" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0"OP="3" CP="2" Q="1" PAF="49"LTP="0" KeepCurrentFont="1" FN="Courier New"Sel="0" Vis="1" CBH="1" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="139" Y="91"/> </PtA> </PNuT> </I3> <I4 Type="Pin"PShp="0" PTp="4" BusPin="0"InternalPin="0" PLS="3" PL="1" PCSE="1"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="0"/> <PD Type="Group"DCR="0" Sel="0" Vis="1" CBH="0"PFC="-1" PW="0" PS="0" BS="1"BC="-1"> <PtA Type="PtrArray" S="2"> <I0 Type="Point"X="45" Y="63"/> <I1 Type="Point"X="27" Y="63"/> </PtA> <OL Type="ObjectsList"LS="1"> <I0 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="45" Y="63"/> <I1 Type="Point"X="27" Y="63"/> </PtA> </I0> </OL> </PD> <PNaT Type="PinNameText"PNaTO="3" PNaTLS="0" Txt="-IN" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0" OP="3"CP="2" Q="1" PAF="49" LTP="0"KeepCurrentFont="1" FN="Courier New" Sel="0"Vis="0" CBH="1" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="51" Y="63"/> </PtA> </PNaT> <CTSP Type="Point"X="45" Y="63"/> <WCPType="WireConnectionPoint" X="27" Y="63"/> <PNuT Type="PinNumberText"PNuTO="3" PNuTLS="2" Txt="##" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0"OP="3" CP="2" Q="1" PAF="49"LTP="0" KeepCurrentFont="1" FN="Courier New"Sel="0" Vis="1" CBH="1" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="41" Y="64"/> </PtA> </PNuT> </I4> <I5 Type="Pin"PShp="0" PTp="4" BusPin="0"InternalPin="0" PLS="3" PL="1" PCSE="1"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="0"/> <PD Type="Group"DCR="0" Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="45" Y="117"/> <I1 Type="Point"X="27" Y="117"/> </PtA> <OL Type="ObjectsList"LS="1"> <I0 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="45" Y="117"/> <I1 Type="Point"X="27" Y="117"/> </PtA> </I0> </OL> </PD> <PNaT Type="PinNameText"PNaTO="3" PNaTLS="0" Txt="+IN" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0" OP="3"CP="2" Q="1" PAF="49" LTP="0"KeepCurrentFont="1" FN="Courier New" Sel="0"Vis="0" CBH="1" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="51" Y="117"/> </PtA> </PNaT> <CTSP Type="Point"X="45" Y="117"/> <WCPType="WireConnectionPoint" X="27" Y="117"/> <PNuT Type="PinNumberText"PNuTO="3" PNuTLS="2" Txt="##" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0" OP="3"CP="2" Q="1" PAF="49" LTP="0"KeepCurrentFont="1" FN="Courier New" Sel="0"Vis="1" CBH="1" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="41" Y="118"/> </PtA> </PNuT> </I5> <I6 Type="Pin"PShp="0" PTp="4" BusPin="0"InternalPin="0" PLS="2" PL="1" PCSE="1"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="0"/> <PD Type="Group"DCR="0" Sel="0" Vis="1" CBH="0"PFC="-1" PW="0" PS="0" BS="1"BC="-1"> <PtA Type="PtrArray" S="2"> <I0 Type="Point"X="72" Y="135"/> <I1 Type="Point"X="72" Y="153"/> </PtA> <OL Type="ObjectsList"LS="1"> <I0 Type="Line" Sel="0"Vis="1" CBH="0" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="72" Y="135"/> <I1 Type="Point"X="72" Y="153"/> </PtA> </I0> </OL> </PD> <PNaT Type="PinNameText"PNaTO="2" PNaTLS="0" Txt="Gnd" H="7"W="0" E="900" O="900" Wg="400"I="0" U="0" SO="0" CS="0"OP="3" CP="2" Q="1" PAF="49"LTP="0" KeepCurrentFont="1" FN="Courier New"Sel="0" Vis="0" CBH="1" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="72" Y="129"/> </PtA> </PNaT> <CTSP Type="Point"X="72" Y="135"/> <WCPType="WireConnectionPoint" X="72" Y="153"/> <PNuT Type="PinNumberText"PNuTO="2" PNuTLS="2" Txt="##" H="7"W="0" E="0" O="0" Wg="400" I="0"U="0" SO="0" CS="0" OP="3"CP="2" Q="1" PAF="49" LTP="0"KeepCurrentFont="1" FN="Courier New" Sel="0"Vis="1" CBH="1" PFC="-1" PW="0"PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="73" Y="139"/> </PtA> </PNuT> </I6> <I7 Type="Pin"PShp="0" PTp="4" BusPin="0"InternalPin="0" PLS="2" PL="1" PCSE="1"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="0"/> <PD Type="Group"DCR="0" Sel="0" Vis="1" CBH="0"PFC="-1" PW="0" PS="0" BS="1"BC="-1"> <PtA Type="PtrArray" S="2"> <I0 Type="Point"X="108" Y="135"/> <I1 Type="Point" X="108"Y="153"/> </PtA> <OL Type="ObjectsList"LS="1"> <I0 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="2"> <I0 Type="Point"X="108" Y="135"/> <I1 Type="Point"X="108" Y="153"/> </PtA> </I0> </OL> </PD> <PNaT Type="PinNameText"PNaTO="2" PNaTLS="0" Txt="Bypass" H="7"W="0" E="900" O="900" Wg="400"I="0" U="0" SO="0" CS="0"OP="3" CP="2" Q="1" PAF="49"LTP="0" KeepCurrentFont="1" FN="Courier New"Sel="0" Vis="0" CBH="1" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="108" Y="129"/> </PtA> </PNaT> <CTSP Type="Point"X="108" Y="135"/> <WCPType="WireConnectionPoint" X="108" Y="153"/> <PNuT Type="PinNumberText"PNuTO="2" PNuTLS="2" Txt="##" H="7"W="0" E="0" O="0" Wg="400"I="0" U="0" SO="0" CS="0"OP="3" CP="2" Q="1" PAF="49"LTP="0" KeepCurrentFont="1" FN="Courier New"Sel="0" Vis="1" CBH="1" PFC="-1"PW="0" PS="0" BS="1" BC="-1"> <PtA Type="PtrArray"S="1"> <I0 Type="Point"X="109" Y="139"/> </PtA> </PNuT> </I7> </I1> <I2 Type="LayerInfo"LN="1 Draw Layer" D="0" Hd="1" V="1"A="1"> <DS Type="ObjectsList"LS="11"> <I0 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="45" Y="45"/> <I1 Type="Point" X="135"Y="90"/> </PtA> </I0> <I1 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="135" Y="90"/> <I1 Type="Point"X="45" Y="135"/> </PtA> </I1> <I2 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="45" Y="135"/> <I1 Type="Point"X="45" Y="45"/> </PtA> </I2> <I3 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="90" Y="66"/> <I1 Type="Point"X="90" Y="45"/> </PtA> </I3> <I4 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="63" Y="54"/> <I1 Type="Point"X="63" Y="45"/> </PtA> </I4> <I5 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="117" Y="81"/> <I1 Type="Point"X="117" Y="45"/> </PtA> </I5> <I6 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="72" Y="135"/> <I1 Type="Point"X="72" Y="123"/> </I6> <I7 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="108" Y="135"/> <I1 Type="Point"X="108" Y="105"/> </PtA> </I7> <I8 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="48" Y="117"/> <I1 Type="Point"X="60" Y="117"/> </PtA> </I8> <I9 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"><PtA Type="PtrArray" S="2"> <I0 Type="Point"X="54" Y="123"/> <I1 Type="Point"X="54" Y="111"/> </PtA> </I9> <I10 Type="Line"Sel="0" Vis="1" CBH="0" PFC="-1"PW="1" PS="0" BS="1" BC="-1"> <PtAType="PtrArray" S="2"> <I0 Type="Point"X="48" Y="63"/> <I1 Type="Point"X="60" Y="63"/> </PtA> </I10> </DS> </I2> </LrsArr> </DrDoc>
LM386.cir复制下列代码
* CONNECTIONS: Gain 1
* | Non-Inverting Input
* | | Inverting Input
* | | | Gnd
* | | | | Vout
* | | | | | Vs
* | | | | | | Bypass
* | | | | | | | Gain 8
* | | | | | | | |
* 1 2 3 4 5 6 7 8
.SUBCKT LM386 g1 inn inpgnd out vs byp g8
* input emitter-follower buffers:
q1gnd inn 10011 ddpnp
r1 inn gnd 50k
q2gndinp 10012 ddpnp
r2inpgnd 50k
* differential input stage, gain-setting
* resistors, and internal feedbackresistor:
q3 10013 10011 10008 ddpnp
q4 10014 10012 g1 ddpnp
r3 vs byp 15k
r4byp 10008 15k
r5 10008 g8 150
r6 g8 g1 1.35k
r7 g1 out 15k
* input stage current mirror:
q5 10013 10013 gndddnpn
q6 10014 10013 gndddnpn
* voltage gain stage &rolloff cap:
q7 10017 10014 gndddnpn
c1 10014 10017 15pf
* current mirror source for gain stage:
i1 10002 vs dc 5m
q8 10004 10002 vs ddpnp
q9 10002 10002 vs ddpnp
* Sziklai-connected push-pull output stage:
q10 10018 10017 out ddpnp
q11 10004 10004 10009 ddnpn 100
q12 10009 10009 10017 ddnpn 100
q13 vs 10004 out ddnpn 100
q14 out 10018 gndddnpn 100
* generic transistor models generated
* withMicroSim's PARTs utility, using
* default parameters except Bf:
.MODEL ddnpnNPN(Is=10f Xti=3 Eg=1.11Vaf=100 + Bf=400 Ise=0 Ne=1.5 Ikf=0 Nk=.5 Xtb=1.5 Var=100 + Br=1 Isc=0 Nc=2Ikr=0 Rc=0 Cjc=2p Mjc=.3333
+ Vjc=.75 Fc=.5 Cje=5p Mje=.3333 Vje=.75Tr=10n + Tf=1n Itf=1 Xtf=0 Vtf=10)
.MODEL ddpnpPNP(Is=10f Xti=3 Eg=1.11Vaf=100 + Bf=200 Ise=0 Ne=1.5 Ikf=0 Nk=.5 Xtb=1.5 Var=100 + Br=1 Isc=0 Nc=2Ikr=0 Rc=0 Cjc=2p Mjc=.3333
+ Vjc=.75 Fc=.5 Cje=5p Mje=.3333 Vje=.75Tr=10n + Tf=1n Itf=1 Xtf=0 Vtf=10)
.ENDS
|