Multisim中创建LM386元件

所需文件:符号文件(LM386.sym)和SPICE模型文件(LM386.cir),请先单击上方目录把上述两个文件保存到您的计算机上再开始教程,或者通过链接直接下载:符号文件 LM386.sym、模型文件LM386.cir

步骤1.在菜单栏中单击“工具”,选择“元件向导”(英文界面下:tool→Component Wizard)在这里插入图片描述
步骤2:输入组件信息,单击“下一步”(Next)
在这里插入图片描述
步骤3.单击“选择封装”(Select a footprint)
在这里插入图片描述
步骤4.单击“过滤”(Filter)
在这里插入图片描述
步骤5.单击“添加列”(Add row)
在这里插入图片描述
步骤6.在“栏”目录的下拉菜单中选择“封装”(Column→Footpront),“算子”目录的下拉菜单中选择“包含”(Operator→Contains),“参数”(Value)栏中输入“DIP8”,确定开始过滤
在这里插入图片描述
步骤7.选中"Ultiboard DIP8",单击“选择”(Select)

在这里插入图片描述
步骤8.设置管脚数为 8 (number of pins),下一步
在这里插入图片描述
步骤9.单击“编辑”
在这里插入图片描述
在编辑器中选择“文件”,“打开”(File→Open…),打开LM386.sym文件
在这里插入图片描述
请勿更改符号编辑器底部显示的任何引脚信息,保存后关闭编辑器。
在这里插入图片描述
步骤10.如图设置引脚类型,单击“下一步”
在这里插入图片描述
步骤11.如图设置符号和封装之间的映射关系,单击“下一步”
在这里插入图片描述
步骤12.选择仿真模型,如图单击“从文件加载”(Load from file),选择LM386.cir文件,
在这里插入图片描述
加载LM386 SPICE模型后,单击“下一步”(Next)
在这里插入图片描述
步骤12.如图设置符号和仿真模型之间映射关系
在这里插入图片描述
步骤13.将元件保存到数据库,可根据需要自由选择保存的位置。
这里选择新建放大器系列,并将其保存在用户数据库下。双击“用户数据库”(User Database),单击“Analog”,单击“添加系列”(Add family)
在这里插入图片描述
输入系列名
在这里插入图片描述
设置完成后单击“完成”(finish),完成LM386元件的添加。放置LM386如图所示
在这里插入图片描述

符号文件:LM386.sym

将下列内容粘贴到记事本中,保存后更改文件名为LM386.sym,注意后缀名为.sym

<?xml version="1.0"?>
<DrDoc Type="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"/>
<WCP Type="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"/>
<WCP Type="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"/>
<WCP Type="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"/>
<WCP Type="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"/>
<WCP Type="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"/>
<WCP Type="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"/>
<WCP Type="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"/>
<WCP Type="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>
</DS>
</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"/>
</PtA>
</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">
<PtA Type="PtrArray" S="2">
<I0 Type="Point" X="48" Y="63"/>
<I1 Type="Point" X="60" Y="63"/>
</PtA>
</I10>
</DS>
</I2>
</LrsArr>
</DrDoc>
SPICE模型文件:LM386.cir

将下列内容粘贴到记事本中,保存后更改文件名为LM386.cir,注意后缀名为.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 inp gnd out vs  byp  g8

* input emitter-follower buffers:

q1 gnd inn 10011 ddpnp
r1 inn gnd 50k
q2 gnd inp 10012 ddpnp
r2 inp gnd 50k

* differential input stage, gain-setting
* resistors, and internal feedback resistor:

q3 10013 10011 10008 ddpnp
q4 10014 10012 g1 ddpnp
r3 vs byp 15k
r4 byp 10008 15k
r5 10008 g8 150
r6 g8 g1 1.35k
r7 g1 out 15k

* input stage current mirror:

q5 10013 10013 gnd ddnpn
q6 10014 10013 gnd ddnpn

* voltage gain stage & rolloff cap:

q7 10017 10014 gnd ddnpn
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 gnd ddnpn 100

* generic transistor models generated
* with MicroSim's PARTs utility, using
* default parameters except Bf:

.MODEL ddnpn NPN(Is=10f Xti=3 Eg=1.11 Vaf=100
+ Bf=400 Ise=0 Ne=1.5 Ikf=0 Nk=.5 Xtb=1.5 Var=100
+ Br=1 Isc=0 Nc=2 Ikr=0 Rc=0 Cjc=2p Mjc=.3333
+ Vjc=.75 Fc=.5 Cje=5p Mje=.3333 Vje=.75 Tr=10n
+ Tf=1n Itf=1 Xtf=0 Vtf=10)

.MODEL ddpnp PNP(Is=10f Xti=3 Eg=1.11 Vaf=100
+ Bf=200 Ise=0 Ne=1.5 Ikf=0 Nk=.5 Xtb=1.5 Var=100
+ Br=1 Isc=0 Nc=2 Ikr=0 Rc=0 Cjc=2p Mjc=.3333
+ Vjc=.75 Fc=.5 Cje=5p Mje=.3333 Vje=.75 Tr=10n
+ Tf=1n Itf=1 Xtf=0 Vtf=10)

.ENDS

原教程链接:http://ecee.colorado.edu/~mathys/ecen1400/Software/CreateLM386.html

  • 60
    点赞
  • 212
    收藏
    觉得还不错? 一键收藏
  • 24
    评论
评论 24
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值