- 0
- 0
- 约9.84千字
- 约 8页
- 2026-03-09 发布于北京
- 举报
宾夕法尼亚大学
电气工程系
SPICE示例:DC扫描,Thevenin等效电路和Cicu
这是一个SPICE输入文件的示例,用于计算直流节点电压、Thevenin等效电
路,并扫描输入电压源。
输入文件:(以*开头的行是注释行,仅为了清晰而)。
SPICE示例:DC扫描,.TF,.OT分析*
*我们感的是找到以下特性:*1.当输入电压为V时的节点电
=10
压v12、v2和电流i4*2.在输出端子v(3,0)处看到的等效电
压和电阻*3.将输入从0到20V以2V的步长进行扫描,并绘制*电
压v12、v2、vo和电流i4。
*
‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑
VIN10DC10F103VMEAS0.5VMEAS40DC0
*VMEAS是一个用于测量i4的0V电源R1121KR223
10KR31315KR42440KR53050K.OP*‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑
*.OP命令将告诉Spice*打印所有直流节点电压、通过电压
*源的电流以及跨过电流*源的电压。
UNIVERSITYofPENNSYLVANIA
DEPARTMENOFELECTRICALENGINEERING
SPICEExample:DCSweep,anheveninEquvaenCicu
ThisisanexampleofaSPICEinputfilethatwillcalculatetheDCNode
voltages,theTheveninEquivalentCircuitandalsosweeptheinputvoltage
source.
Inputfile:(thelinesstartingwitha*arecommentlinesandare
insertedforclarityonly).
SpiceExample:DCSweep,.TF,.OTanalysis*
*Weareinterestedinfindingthefollowingcharacteristics:
*1.Nodevoltagesv12,v2andcurrenti4whenvin=10V
*2.Theveninequivalentvoltageandresistance,seen
*attheoutputterminalsv(3,0)
*3.Sweeptheinputfrom0to20Vinstepsof2Vandplot
*thevoltagesv12,v2,voandthecurrenti4.
*
VIN10DC10
F103VMEAS0.5
VMEAS40DC0
*VMEASisa0Vsourcetomeasurei4
R1121K
R22310K
R31315K
R42440K
R53050K
.OP
*
*Theoperatingpoint.OPcommandwilltellSpice
*printallDCnodevoltages,currentsthroughvoltage
*sourcesandvoltagesovercurrentsources.
*‑‑‑‑‑
原创力文档

文档评论(0)