资源描述
Preface第1页/共75页第一页,共76页。Focus 学会绘制电路原理图,并会仿真; 学会基本电路模型(mxng)的够造: 运算放大器(Operational Amplifiers ) 变压器(transformers)第2页/共75页第二页,共76页。Discuss Dc analysis 直流分析(fnx) Transient analysis 暂态分析(fnx) Steady-state sinusoidal analysis 正弦稳态分析(fnx) Fourier series analysis 傅立叶分析(fnx)第3页/共75页第三页,共76页。CH1A FIRST LOOK AT PSPICE PSpice简介( jin ji)第4页/共75页第四页,共76页。Three steps: Drawing the circuit 绘制电路图 Specifying the type of circuit analysis 定义分析类型 Simulation Results 查看仿真(fn zhn)结果第5页/共75页第五页,共76页。1.1 Drawing the circuit File-New-Project Place-Part 元件(yunjin)旋转 CTRL+R 结束放置 Right click/End Mode Place-Wire第6页/共75页第六页,共76页。Scale factors F1E-15 P1E-12 N1E-9 U1E-6 M1E-3 K1E3 MEG 1E6 G1E9 T1E12第7页/共75页第七页,共76页。1.2 SPECIFYING THE TYPE OF CIRCUIT ANALYSIS PSpice-New Simulation Profile Name: your_file_name Analysis type: Bias point Pspice-Run第8页/共75页第八页,共76页。1.3 Simulation Results View-Output File第9页/共75页第九页,共76页。SIMPLE DC CIRCUITS简单( jindn)直流电路CH2第10页/共75页第十页,共76页。2.1 Independent DC Sources 电流(dinli)源 电压源第11页/共75页第十一页,共76页。2.2 Dependent DC Sources Voltage-controlled sources压控源 Voltage-controlled voltage source压控压源 Voltage-controlled current source压控流源 Current-controlled sources流控源 Current-controlled voltage source流控压源 Current-controlled current source流控流源第12页/共75页第十二页,共76页。2.3 Fig.1 Circuit for Example 1 电路(dinl)实例第13页/共75页第十三页,共76页。第14页/共75页第十四页,共76页。Example 1 a) Use PSpice to find the voltages Va and Vb for the circuit shown in Fig.1 利用(lyng)PSpice求出图1中Va 和Vb的电压数值。第15页/共75页第十五页,共76页。 b) Use the PSpice solutions to calculate: 利用PSpice的分析结果计算求出 1)The total power dissipated in the circuit 计算电路中的总功率 2)The power supplied by the independent current source 独立电流(dinli)源发出的功率 3)The power supplied by the current-controlled voltage source 流控源发出的功率第16页/共75页第十六页,共76页。Fig. 2第17页/共75页第十七页,共76页。Fig. 3 output file第18页/共75页第十八页,共76页。Solution a) From the PSpice output: Va =104.00V Vb =106.00V第19页/共75页第十九页,共76页。Solution b) 1)WPWPWPWPdis270848 .5402 .216300. 4110410680.5402010420.216351042122025第20页/共75页第二十页,共76页。 2) P24A(supplied)=104(24)=2496W 3) PH1(supplied)=106(2)=212W P(supplied)=2496+212=2708W Note that the sum of power dissipated equals the sum of power supplied.第21页/共75页第二十一页,共76页。CH3DC SWEEP ANALYSIS直流扫描(somio)分析第22页/共75页第二十二页,共76页。3.1 Sweeping a single source第23页/共75页第二十三页,共76页。Fig.3第24页/共75页第二十四页,共76页。Example 2 For the circuit shown in Fig.3, use PSpice to find the values of io and vo when vg varies from 0 to 100V in 10V steps第25页/共75页第二十五页,共76页。Fig.4第26页/共75页第二十六页,共76页。Place-Part Analog lib: R Source lib: Vsrc, Isrc Special lib: Iprint (ammeter安培(npi)表) Special lib: Vprint2 (voltmeter伏特表)第27页/共75页第二十七页,共76页。注意事项: Vsrc元件: 参数不需要改动 Isrc元件: 选中Isrc元件, (粉色表示(biosh)被选中!) Edit-Properties 修改DC项: 5, 如图5第28页/共75页第二十八页,共76页。Fig.5 修改(xigi)Isrc属性第29页/共75页第二十九页,共76页。 Iprint元件需要执行Mirror操作(cozu): : 选中Iprint元件, (粉色表示被选中!) Edit-Mirror-Horizontally H 执行Mirror操作(cozu) Edit-Properties 修改DC项: Y, 如图6第30页/共75页第三十页,共76页。Fig.6 修改(xigi)Iprint属性第31页/共75页第三十一页,共76页。 Vprint2元件需要(xyo)执行Mirror操作: 选中Vprint2元件, (粉色表示被选中!) Edit-Mirror-Horizontally H 执行Mirror操作 Edit-Properties 修改DC项: Y, 如图6第32页/共75页第三十二页,共76页。Fig.6 修改(xigi)Vprint2属性第33页/共75页第三十三页,共76页。Fig.7 Simulation Settings dialog第34页/共75页第三十四页,共76页。 PSpice-Run(如图8) View-Output file(如图9)第35页/共75页第三十五页,共76页。Fig.8 Probe窗口(chungku)第36页/共75页第三十六页,共76页。Fig.9 Output file第37页/共75页第三十七页,共76页。Trace/Add Trace(Fig.10) 注意(zh y): Trace Expression: V2(R1)第38页/共75页第三十八页,共76页。Fig.10 Selecting a variable: V2(R1)第39页/共75页第三十九页,共76页。Fig.11 the resulting plot第40页/共75页第四十页,共76页。3.2 Sweep Multiple Sources第41页/共75页第四十一页,共76页。Example 3 The current source in the circuit shown in Fig.5 varies from 0 to 5A in 1A steps. For each value of the source voltage, plot i0 as vg varies from 0 to 100V in steps of 20V.第42页/共75页第四十二页,共76页。Solution The schematic is the same as the one in Fig.6. In Capture, select the menu option PSpice/Edit Simulation Settings to specify a Secondary Sweep, the additional sweep variable and its values Fig.12.第43页/共75页第四十三页,共76页。Fig.12 Simulation Settings dialog 2第44页/共75页第四十四页,共76页。 We also changed the increment in the Primary Sweep from 10V to 20V(Fig.12).第45页/共75页第四十五页,共76页。Fig. 13a Simulation Settings dialog 1第46页/共75页第四十六页,共76页。Trace/Add Trace(Fig.13) 注意(zh y): Trace Expression: I(R4)第47页/共75页第四十七页,共76页。Fig.14 Selecting a variable: I(R4)第48页/共75页第四十八页,共76页。Fig.15 the resulting plot? 第49页/共75页第四十九页,共76页。PSPICE计算机仿真(fn zhn)Simulation Program with Integrated Circuit Emphasis第50页/共75页第五十页,共76页。CH4INDUCTORS, CAPACITORS, AND NATURAL RESPONSE电感、电容(dinrng)和零输入响应第51页/共75页第五十一页,共76页。You should know, Resistor The value of resistance (In ohms) Inductor (initial current) The value of inductance (In henries) Capacitor (initial voltage) The value of capacitance (In farads)第52页/共75页第五十二页,共76页。4.1 Transient Analysis(暂态分析(fnx) You use transient analysis to examine the response of a circuit as a function of time. 利用暂态分析得到电路随时间(shjin)变化的响应第53页/共75页第五十三页,共76页。 You may examine the output of a transient analysis in two different ways. First, you may direct PSpice to write the results of transient analysis to the output file. Second, you may use Probe to generate plots of voltage and current versus time.第54页/共75页第五十四页,共76页。4.2 Natural Response To find the natural response of a circuit, you first find the initial inductor currents and capacitor voltages.第55页/共75页第五十五页,共76页。 Example 4 illustrates how to use PSpice to find the natural response of a series RLC circuit. We incorporated a preliminary analytic solution as part of the example to permit checking the validity of the PSpice solution.第56页/共75页第五十六页,共76页。Fig. 65第57页/共75页第五十七页,共76页。Example 4 a) analyze the natural response of the circuit shown in Fig. 16 with respect to the type of damping, the peak value of Vc, and the frequency of oscillation.第58页/共75页第五十八页,共76页。 b) Use PSpice to analyze the circuits natural response. Then use Proble to generate a plot of the voltage Vc versus t, and use the Proble cursor to identify the peak value of the voltage.第59页/共75页第五十九页,共76页。Solution a) For the series circuit shown in Fig. 65, 6262105011010002LCLR第60页/共75页第六十页,共76页。 Hence the response is underdamped(欠阻尼), and the roots of the characteristic equation are:700010007000100021jsjs第61页/共75页第六十一页,共76页。 Therefore, the form of the solution for Vc is,tcetBtBv1000217000sin7000cos第62页/共75页第六十二页,共76页。 From the initial conditions, 000,450100tccddvv第63页/共75页第六十三页,共76页。 Solving for B1 and B2 yields,tcettv10007000sin57000cos10第64页/共75页第六十四页,共76页。 Based on the solution for Vc, the peak value of Vc is 7.70 V, and it occurs at t=362.69 s. The damped frequency(衰件频率) is 7000 rad/s, and thus the damped period(衰减(shui jin)周期) is 897.60 s.第65页/共75页第六十五页,共76页。Solution b) To get the signs right, you must pay attention to the orientation of these parts. (Fig. 66) The initial voltage is positive at the left-most terminal of the capacitor, or bottom terminal if the part is rotated once. The initial current enters the left-most terminal of the inductor, or terminal of the inductor, or bottom terminal if the part is rotated once.第66页/共75页第六十六页,共76页。Fig. 66 schematics第67页/共75页第六十七页,共76页。Set the initial values(设定(sh dn)初值) The initial capacitor voltage is 10 V. The initial inductor current is -90 mA. These values are set in the Property Editor, in the column labeled IC. (Fig. 66a)第68页/共75页第六十八页,共76页。Fig. 66a set the initial values第69页/共75页第六十九页,共76页。Simulation第70页/共75页第七十页,共76页。Fig. 67 setting第71页/共75页第七十一页,共76页。Fig. 68 probe第72页/共75页第七十二页,共76页。 Trace/Cursor/Display 显示坐标(zubio) Trace/Cursor/Peak 显示峰值第73页/共75页第七十三页,共76页。Result We see from the cursor output window that the peak output voltage is 7.7347 V (7.7255 V), which occurs at t=371.222 us (372.181 us), which is in good agreement with our analytic results in (a).第74页/共75页第七十四页,共76页。谢谢您的观看(gunkn)!第75页/共75页第七十五页,共76页。NoImage内容(nirng)总结Preface。P(supplied)=2496+212=2708W。修改DC项: Y, 如图6。选中Vprint2元件, (粉色表示(biosh)被选中。Trace/Add Trace(Fig.13)。4.1 Transient Analysis(暂态分析)。Trace/Cursor/Peak。第74页/共75页。谢谢您的观看第七十六页,共76页。
展开阅读全文