Example: barber

SPICE DEVICE MODELS AND DESIGN SIMULATION EXAMPLES …

APPENDIX BSPICE DEVICE MODELS AND DESIGNSIMULATION EXAMPLES USING PSPICEAND MULTISIMI ntroductionThis appendix is concerned with the very important topic of using PSpice and Multisim tosimulate the operation of electronic circuits. The need for and the role of computer simulationin circuit DESIGN was described in the preface. The appendix has three sections: Section a brief description of the MODELS that SPICE uses to describe the operation of opamps, diodes, MOSFETs, and BJTs. Section presents DESIGN and SIMULATION examplesusing PSpice. Finally, DESIGN and SIMULATION EXAMPLES utilizing Multisim are presented inSection The EXAMPLES are keyed to the book chapters and are numbered in a way thatmakes this relationship transparent. Thus, Example refers to the first PSpice simulationexample on Chapter 2 material. Similarly, Example refers to the second Multisimsimulation example on Chapter 5 the descriptions presented in this appendix, the reader will find the completesimulation files for each example on the book SPICE DEVICE ModelsTo the designer, the value of SIMULATION results is a direct function of the quality of the modelsused for the devices.

using a combination of characterization of the device-fabrication process and specific measurements performed on the actual manufactured devices. Semiconductor manufacturers expend enormous effort and money to extract the values of the model parameters for their devices. For discrete diodes, the values of the SPICE model parameters can be ...

Tags:

  Characterization

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of SPICE DEVICE MODELS AND DESIGN SIMULATION EXAMPLES …

1 APPENDIX BSPICE DEVICE MODELS AND DESIGNSIMULATION EXAMPLES USING PSPICEAND MULTISIMI ntroductionThis appendix is concerned with the very important topic of using PSpice and Multisim tosimulate the operation of electronic circuits. The need for and the role of computer simulationin circuit DESIGN was described in the preface. The appendix has three sections: Section a brief description of the MODELS that SPICE uses to describe the operation of opamps, diodes, MOSFETs, and BJTs. Section presents DESIGN and SIMULATION examplesusing PSpice. Finally, DESIGN and SIMULATION EXAMPLES utilizing Multisim are presented inSection The EXAMPLES are keyed to the book chapters and are numbered in a way thatmakes this relationship transparent. Thus, Example refers to the first PSpice simulationexample on Chapter 2 material. Similarly, Example refers to the second Multisimsimulation example on Chapter 5 the descriptions presented in this appendix, the reader will find the completesimulation files for each example on the book SPICE DEVICE ModelsTo the designer, the value of SIMULATION results is a direct function of the quality of the modelsused for the devices.

2 The more faithfully the model represents the various characteristicsof the DEVICE , the more accurately the SIMULATION results will describe the operation of anactual fabricated circuit. In other words, to see the effect on circuit performance of variousimperfections in DEVICE operation, these imperfections must be included in the DEVICE modelused by the circuit The Op-Amp ModelIn simulating circuits that use one or more op amps, it is useful to utilize amacromodeltorepresent each op amp. A macromodel is based on the observed terminal characteristics ofthe op amp rather than on the modeling of every transistor in the op-amp internal can be developed from data-sheet specifications without knowledge of thedetails of the internal circuitry of the op MacromodelThe schematic capture of a linear macromodel for an internally com-pensated op amp with finite gain and bandwidth is shown in Fig. In this equivalent-circuitmodel, the gain constant A0dof the voltage-controlled voltage source Edcorrespondsto the differential gain of the op amps at dc.

3 Resistor Rband capacitor Cbform aB-1 2015 Oxford University PressReprinting or distribution, electronically or otherwise, without the express written consent of Oxford University Press is BSPICE DEVICE MODELS and DESIGN SIMULATION EXAMPLES Using PSpice and Multisimsingle-time-constant (STC) filter with a corner frequencyfb=12 RbCb( )The low-pass response of this filter is used to model the frequency response of the internallycompensated op amp. The values ofRbandCbused in the macromodel are chosen such thatfbcorresponds to the 3-dB frequency of the op amp being modeled. This is done by arbitrarilyselecting a value for eitherRborCb(the selected value does not need to be a practical one) andthen using Eq. ( ) to compute the other value. In Fig. , the voltage-controlled voltagesourceEbwith a gain constant of unity is used as a buffer to isolate the low-pass filter from anyload at the op-amp output. Thus any op-amp loading will not affect the frequency responseof the filter and hence that of the op linear macromodel in Fig.

4 Can be further expanded to account for other op-ampnonidealities. For example, the equivalent-circuit model in Fig. can be used to model aninternally compensated op amp while accounting for the following op-amp Offset Voltage (VOS). The dc voltage sourceVOSmodels the op-amp inputoffset voltage.{Cb}{Rb}2111 Gain {A0d}Edbd0022 b33 Gain 1Eb00 Figure linear macromodel used to model the finite gain and bandwidth of an internally compensatedop amp.{IB1}{IB2}{VOS}{2*Ricm}{2*Ricm}11022 {Rid} Ecm1 EdEcm2{Cb}{Rb}2b1 Gain {A0cm 2}Gain {A0cm 2}000021 Gain {A0d} {Ro}0b33 Gain 10Eb Figure comprehensive linear macromodel of an internally compensated op amp. 2015 Oxford University PressReprinting or distribution, electronically or otherwise, without the express written consent of Oxford University Press is SPICE DEVICE Bias Current (IB) and Input Offset Current (IOS). The dc current sourcesIB1andIB2model the input bias current at each input terminal of the op amp, withIB1=IB+IOS2andIB2=IB IOS2whereIBandIOSare, respectively, the input bias current and the input offset currentspecified by the op-amp Input Resistance (Ricm).

5 If the two input terminals of an op ampare tied together and the input resistance (to ground) is measured, the result is thecommon-mode input resistanceRicm. In the macromodel of Fig. , we have splitRicminto two equal parts (2 Ricm), each connected between one of the input terminalsand Resistance (Rid). The resistance seen between the two inputterminals of an op amp is the differential input Gain at DC (A0d) and Common-Mode Rejection Ratio (CMRR).The output voltage of an op amp at dc can be expressed asV3=A0d(V2 V1)+A0cm2(V1+V2)( )whereA0dandA0cmare, respectively, the differential and common-mode gains of theop amp at dc. For an op amp with a finite CMRR,A0cm=A0d/CMRR( )where CMRR is expressed in V/V (not in dB). In the macromodel of Fig. , thevoltage-controlled voltage sourcesEcm1andEcm2with gain constants ofA0cm/2 accountfor the finite CMRR while Frequency (ft). From Eq. ( ), the 3-dB frequencyfband theunity-gain frequency (or gain-bandwidth product)ftof an internally compensatedop amp with an STC frequency response are related byfb=ftA0d( )As in Fig.

6 , the finite op-amp bandwidth is accounted for in the macromodelof Fig. by setting the corner frequency of the filter formed by resistorRbandcapacitorCb(Eq. ) to equal the 3-dB frequency of the op amp, Resistance (Ro). The resistance seen at the output terminal of an op amp isthe output linear macromodels in Figs. and assume that the op-amp circuit is operatingin its linear range and do not account for its nonideal performance when large signals arepresent at the output. Therefore, nonlinear effects, such as output saturation and slew rate, arenot MacromodelThe linear macromodel in Fig. can be expanded to accountfor the op-amp nonlinear performance. For example, the finite output voltage swing of the opamp can be modeled by placing limits on the output voltage of the voltage-controlledvoltage source Eb. In PSpice, this can be done using the ETABLE component in the 2015 Oxford University PressReprinting or distribution, electronically or otherwise, without the express written consent of Oxford University Press is BSPICE DEVICE MODELS and DESIGN SIMULATION EXAMPLES Using PSpice and Multisimanalog-behavioral-modeling (ABM) library and setting the output voltage limits in the lookuptable of this component.

7 Further details on how to build nonlinear macromodels for the opamp can be found in the references on SPICE SIMULATION . In general, robust macromodels thataccount for the nonlinear effects in an IC are provided by the op-amp manufacturers. Most sim-ulators include such macromodels for some of the popular off-the-shelf ICs in their example, PSpice and Multisim include MODELS for the A741, the LF411, and the LM324op The Diode ModelThe large-signal SPICE model for the diode is shown in Fig. The static behavior ismodeled by the exponentiali vrelationship. Here, for generality, a constantnis included inthe exponential. It is known as theemission cofficient, and its value ranges from 1 to 2. In ourstudy of the diode in Chapter 4, we assumedn=1. The dynamic behavior is represented bythe nonlinear capacitorCD, which is the sum of the diffusion capacitanceCdand the junctioncapacitanceCj. The series resistanceRSrepresents the total resistance of thepandnregionson both sides of the junction.

8 The value of this parasitic resistance is ideally zero, but it istypically in the range of a few ohms for small-signal diodes. For small-signal analysis, SPICE uses the diode incremental resistancerdand the incremental values provides a partial listing of the diode-model parameters used by SPICE , all ofwhich should be familiar to the reader. But having a good DEVICE model solves only half of themodeling problem; the other half is to determine appropriate values for the model is by no means an easy task. The values of the model parameters are determinedusing a combination of characterization of the DEVICE -fabrication process and specificmeasurements performed on the actual manufactured devices. Semiconductor manufacturersexpend enormous effort and money to extract the values of the model parameters for theirdevices. For discrete diodes, the values of the SPICE model parameters can be determinedfrom the diode data sheets, supplemented if needed by key measurements.

9 Circuit simulators(such as PSpice) include in their libraries the model parameters of some of the popularoff-the-shelf components. For instance, in Example , we will use the commerciallyavailable D1N418pn-junction diode whose SPICE model parameters are availablein PSpice. CDiDvDRSiD IS evD nVT 1 CD Cd Cj IS evD nVTVT Cj0 1 mvDV0 TFigure SPICE diode model. 2015 Oxford University PressReprinting or distribution, electronically or otherwise, without the express written consent of Oxford University Press is SPICE DEVICE ModelsB-5 Table of the SPICE Diode Model (Partial Listing) SPICE ParameterBook SymbolDescriptionUnitsISISS aturation currentANnEmission coefficientRSRSO hmic resistance VJV0 Built-in potentialVCJ0Cj0 Zero-bias depletion (junction) capacitanceFMmGrading coefficientTT TTransit timesBVVZKB reakdown voltageVIBVIZKR everse current atVZKAD2D1rzVZ0 Figure model used to simulate thezener diode in SPICE .

10 DiodeD1is ideal and can beapproximated in SPICE by using a very small value forn(sayn= ). The Zener Diode ModelThe diode model in Fig. does not adequately describe the operation of the diode in thebreakdown region. Hence, it does not provide a satisfactory model for zener diodes. However,the equivalent-circuit model shown in Fig can be used to simulate a zener diode in , diodeD1is an ideal diode that can be approximated in SPICE by using a very smallvalue forn(sayn= ). DiodeD2is a regular diode that MODELS the forward-bias region ofthe zener (for most applications, the parameters ofD2are of little consequence). MOSFET ModelsTo simulate the operation of a MOSFET circuit, a simulator requires a mathematical modelto represent the characteristics of the MOSFET. The model we derived in Chapter 5 torepresent the MOSFET is a simplified or first-order model. This model, called thesquare-lawmodelbecause of the quadratici vrelationship in saturation, works well for transistors ,fordeviceswithshortchannels,especiallyd eep-submicrontransistors, many physical effects that we neglected come into play, with the result that thederived first-order model no longer accurately represents the actual operation of the MOSFET(see Sections & ).


Related search queries