40
PSPICE 计计计计计 Simulation Program with Integrated Circuit Emphasis

PSPICE 计算机仿真

Embed Size (px)

DESCRIPTION

PSPICE 计算机仿真. Simulation Program with Integrated Circuit Emphasis. CH5. OPERATIONAL AMPLIFIER 运算放大器. 5.1 Modeling OP Amps with Resistors and Dependent Sources. How to use PSpice to analyze a circuit containing an operational amplifier?. Fig.53. Example7. - PowerPoint PPT Presentation

Citation preview

Page 1: PSPICE 计算机仿真

PSPICE 计算机仿真

Simulation Program with Integrated Circuit Emphasis

Page 2: PSPICE 计算机仿真

CH5

OPERATIONAL AMPLIFIER运算放大器

Page 3: PSPICE 计算机仿真

5.1 Modeling OP Amps with Resistors and Dependent Sources

How to use PSpice to analyze a circuit containing an operational amplifier?

Page 4: PSPICE 计算机仿真

Fig.53

Page 5: PSPICE 计算机仿真

Example7 The parameters for the operational

amplifier in the circuit shown in Fig.53 are Ri=200kΩ, A=10E4, and Ro=5kΩ. 1)Use PSpice to find Vi and Vo when

Vg=1V(dc). 2)Compare the PSpice solution with

the analytic solution for Vi and Vo.

Page 6: PSPICE 计算机仿真

预备知识 An equivalent circuit for an

operational amplifier (Fig. 52)

Page 7: PSPICE 计算机仿真

Fig. 52 ex7_pre_ddb

Page 8: PSPICE 计算机仿真

Solution Analog lib: R, E(VCVS) Source lib: VDC

Page 9: PSPICE 计算机仿真

Fig. 54 ex7_sch

Page 10: PSPICE 计算机仿真

Fig. 55 output file

Page 11: PSPICE 计算机仿真

1)We used simple bias point analysis, therefore, V(in) = -0.0028V( 书上 :0.0027V--?) V(out) = -10.03V( 书上 :-9.9697V--?)

Page 12: PSPICE 计算机仿真

Ideal operational amplifer If we assume that the operational

amplifer in the circuit shown in Fig. 53 is ideal, we can altera the PSpice op amp schematic representation by making Ri and A very large and Ro=0.

Page 13: PSPICE 计算机仿真

To illustrate, we modify the schematic in Fig. 54, with R2=200 MΩ, A=10E8, and R4 removed from the schematic entirely. (Fig. 54a)

Page 14: PSPICE 计算机仿真

Fig. 54a

Page 15: PSPICE 计算机仿真

The resulting PSpice output file after bias point analysis is shown in Fig. 56. The values of vi and vo from this

simulation are Vi=v(in)=-10E-9V ( 书上 :100E-9V--?) Vo=v(out)=-10V

Page 16: PSPICE 计算机仿真

Fig. 56 output file

Page 17: PSPICE 计算机仿真

2)We obtain the analytic solution for Vi and Vo by solving the following simultaneous node-voltage equations:

0102001

1

oiii vvvv

045

10

10

4

oioio vvvvv

Page 18: PSPICE 计算机仿真

You should verify that the solutions for Vi and Vo are Vi=2.742mV Vo=-9.970V

Page 19: PSPICE 计算机仿真

5.2 Using OP Amps Library Models

Page 20: PSPICE 计算机仿真

Example8 Repeat the analysis of the circuit

shown in Fig.53, but this time use the uA741 model from the PSpice model library.

Page 21: PSPICE 计算机仿真

Solution uA741 在 EVAL 库中 ;

需要在 Place Part 对话框,点 Add Library… 按钮,添加该元件库。

Page 22: PSPICE 计算机仿真

Fig. 57a Add EVAL Library

Page 23: PSPICE 计算机仿真

Fig. 57b EVAL Path

Page 24: PSPICE 计算机仿真

Fig. 57 ex8_sch

Page 25: PSPICE 计算机仿真

Fig. 58 output file

Page 26: PSPICE 计算机仿真

5.3 Modifying OP Amp Models Place the model of the uA741 from

the Eval Library in your circuit schematic.

Highlight the op amp component, select Edit/PSpice Model from the Capture menu. (Fig. 59a)

Page 27: PSPICE 计算机仿真

Fig. 59a

Page 28: PSPICE 计算机仿真

Fig. 59 Model Editor

Page 29: PSPICE 计算机仿真

You define a subcircuit by inserting a .SUBCKT control statement .SUBCKT SUBNAME N1 N2 N3

You terminate the subcircuit description by inserting an .ENDS control statement .ENDS <SUBNAME>

Page 30: PSPICE 计算机仿真

Now we create a new subcircuit based on the ideal op amp, consisting of a 1MΩ input resistor, a voltage-controlled voltage source with a gain of 10E6, and a 200 Ω output resistor.

Page 31: PSPICE 计算机仿真

Fig. 60 Model Editor for IdealOpAmp

Page 32: PSPICE 计算机仿真

Highlight the IdealOpAmp component;

Select Edit/Part from the Capture menu;

The result should look like the part shown in Fig. 61.

Page 33: PSPICE 计算机仿真

Fig. 61 Edit model

Page 34: PSPICE 计算机仿真

Highlight the new IdealOpAmp component;

Select Edit/Properties from the Capture menu.

The modified template is shown in Fig. 62.

Page 35: PSPICE 计算机仿真

Fig. 62 Edit Property

Page 36: PSPICE 计算机仿真

example9 Repeat the analysis of the circuit

shown in Fig.53, but this time use the IdealOpAmp model we have just created.

Page 37: PSPICE 计算机仿真

Solution

Page 38: PSPICE 计算机仿真

Fig. 63 ex9_sch

Page 39: PSPICE 计算机仿真

Fig. 64 output file

Page 40: PSPICE 计算机仿真

From Fig. 64, we can see that the output voltage is -10 V.