Copyright by John R. Brews Page 1 12/22/2001ECE 304: Using PSPICE Breakout Parts Table of ContentsBackground.....................................................................................................................3Approach.........................................................................................................................3Figure 1:...................................................................................................................3Screen dump showing selection of the breakout library part of the n-channel MOSFET........................................................................................................................................ 3Figure 2:...................................................................................................................4Screen dump showing menu selection to edit the MOSFET ●model statement ........... 4Figure 3:...................................................................................................................4Screen dump showing the ●model editor with the ●model statement filled in. Afterselecting FILE/SAVE, the name of the part changes from MbreakN to name entered onthe ●model statement, MOSn in this case. The part name also appears on theschematic, as shown here.............................................................................................. 4Figure 4:...................................................................................................................5Screen dump showing setting of the display properties for the length parameter......... 5Figure 5:...................................................................................................................5Screen dump showing how to set the MOSFET length parameter L............................. 5Figure 6:...................................................................................................................6A MOSFET current mirror built with the breakout MOSFET part MOSn. ...................... 6Figure 7:...................................................................................................................6DC I-V characteristic of MOSFET current mirror of Figure 6. ........................................ 6Using the Breakout Part in Another Schematic................................................................6Figure 8:...................................................................................................................7The two ·OPJ files side by side. The library \mosfet.lib is highlighted in the CM project......................................................................................................................................... 7A "Parts-storage" Schematic ...........................................................................................7Figure 9:...................................................................................................................8A parts-storage schematic with four MOSFET models stored in MOSFETs.opj with alibrary named …\mosfets.lib. A library is limited to 15 parts. ......................................... 8Figure 10:.................................................................................................................8Setting up a parts storage project MOSFETs in a folder called MyParts with pathH:\304_02\PSPICE\MyParts............................................................................................ 8Figure 11:.................................................................................................................9Filling in the part descriptions using the EDIT/PSPICE MODEL menu............................... 9Figure 12:.................................................................................................................9Pasting the part MOSn copied from the parts storage project into the PasteInto project........................................................................................................................................ 9Figure 13:...............................................................................................................10The two ·OPJ files after ¼\mosfets.lib is copied into MODEL LIBRARIES of the PasteIntoproject........................................................................................................................... 10Figure 14:...............................................................................................................10The LIBRARIES tab in PSPICE/EDIT SIMULATION PROFILE................................................ 10Multiple Substitutions of Breakout Parts ........................................................................10Figure 15:...............................................................................................................11Current mirror schematic using Q2N2222 transistors, reference transistor QR on theleft, output transistor QO on the right............................................................................ 11Figure 16:...............................................................................................................11A parts-storage project Parts·opj with a Q2N2222 and two QbreakN breakout NPNbipolars modified as shown below. The file is labeled Read Only because it has beenset this way to avoid overwriting, also described below............................................... 11Figure 17:...............................................................................................................11Copyright by John R. Brews Page 2 12/22/2001The PSPICE model editor with the custom breakout part Q2N800, which is the same asthe Q2N2222 except BF = 800. After FILE/SAVE the part is listed under MODEL LIST..11Figure 18:...............................................................................................................12The PSPICE model editor for custom breakout part Q2N50 with BF=50...................... 12Figure 19:...............................................................................................................12The parts schematic and ·opj file. The schematic has been renamed "Parts". ........... 12Can't find the library?.................................................................................................12Making the ·olb library ...............................................................................................12Figure
View Full Document