MS-05 Introduction to PSpice - MWFTR
Transcript of MS-05 Introduction to PSpice - MWFTR
![Page 1: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/1.jpg)
PSPICEfor
Network Analysis & Lab(1. DC Analysis)
Dr. Charles Kim
Howard University
![Page 2: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/2.jpg)
What is PSPICE?SPICE (Simulation Program for Integrated Circuits Emphasis)
A powerful general purpose analog circuit simulator that is used to verify circuit designs and to predict the circuit behaviorOriginally developed at the Electronics Research Laboratory of the University of California, Berkeley (1975)
PspiceA PC version of SPICE (MicroSim Corp.)
HspiceA version that runs on workstations and larger computers
![Page 3: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/3.jpg)
Analysis TypesNon-linear DC analysis: calculates the DC transfer curve. Non-linear transient analysis: calculates the voltage and current as a function of time when a large signal is applied. Linear AC Analysis: calculates the output as a function of frequency. A bode plot is generated. Noise analysis Sensitivity analysis Distortion analysis Fourier analysis: calculates and plots the frequency spectrum. Monte Carlo Analysis
![Page 4: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/4.jpg)
Components AvailableIndependent and dependent voltage and current sources Resistors Capacitors Inductors Mutual inductors Transmission lines Operational amplifiers Switches Diodes Bipolar transistors MOS transistors JFET MESFET Digital gates
![Page 5: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/5.jpg)
Getting StartedGetting Started
Logon to a Tablet or Desktop near you. Open up the “Pspice Schematics” application
![Page 6: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/6.jpg)
Part PlacementPart PlacementClick on Draw on the Menu Bar and then, click on the Get New Part option.
![Page 7: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/7.jpg)
Independent dc Voltage SourceIndependent dc Voltage SourceIn the open window, click on the space under Part Nameand type VDC. This is the independent voltage source . When the part shows up click on the Place tab.
![Page 8: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/8.jpg)
Placing the dc Voltage SourcePlacing the dc Voltage SourceClick anywhere on the schematic background to place the part and then right click.
![Page 9: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/9.jpg)
Voltage Value Setting
Double click the DC sourceType ValueClick Save Attr ButtonThen, OK
![Page 10: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/10.jpg)
Resistor PlacementGo back to the Part Draw Basic window and in the space under Part Name, type r. Place one resistor and move the cursor on the background and click again. In this way you can place as many resistors as you need. Right click when done.Rotation of elements:
Select the elementCTRL_R turns the element
![Page 11: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/11.jpg)
Resistance Value SettingDouble click on each resistor and type in the specified value into the space shown below. Click on Save Attr.
![Page 12: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/12.jpg)
GND placement
Following the same procedure, type GND_EARTH and place the part on the background. This for the common ground.Close the Part window.GND_EARTH must be connected to a circuit; otherwise, error would occur.
![Page 13: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/13.jpg)
Placement of all the Parts
Place the parts in such a way that would ease the connection of the wires.
![Page 14: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/14.jpg)
Wring the PartsClick on Draw on the Menu Bar and on the drop down menu click on wire.( CTRL + W is the shortcut)
![Page 15: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/15.jpg)
Wiring
First click on the terminals/edges of the circuit component.Then release the mouse button.Draw until you get to the edge of the next component it should be connected to. Then Click Mouse Button to finish.
![Page 16: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/16.jpg)
Completed CircuitCompleted Circuit
Then, Save your schematic
![Page 17: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/17.jpg)
Circuit Simulation Circuit Simulation –– AnalysisAnalysisClick on Analysis and then Simulate(F11 is the shortcut), to simulate the circuit.
![Page 18: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/18.jpg)
Result!Result!
Toggle these buttons, and see what happens
![Page 19: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/19.jpg)
Graphical Display of the Result
Menu Bar>Display>Setup
![Page 20: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/20.jpg)
Analysis Setup Dialog WindowAnalysis Setup Dialog Window
Analysis Setup WindowClick DC Sweep Bar
DC SWEEP WindowVoltage SourceSweeping
From 0To 120Increment of 10
![Page 21: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/21.jpg)
Measurement ProbesVoltage ProbeCurrent Probe
![Page 22: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/22.jpg)
Simulation ResultMenu Bar>Analysis>Simulate
Detail
![Page 23: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/23.jpg)
Practice ProblemPractice ProblemIndependent dc Current Source5 ResistorsBuild the following circuit and Simulate it.
![Page 24: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/24.jpg)
Solving for Thevenin Equivalent Circuit
![Page 25: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/25.jpg)
Solving for Thevenin Equivalent Circuit
![Page 26: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/26.jpg)
Solving for Thevenin Equivalent Circuit
![Page 27: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/27.jpg)
Final Thevenin Circuit
![Page 28: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/28.jpg)
Thevenin Circuit using PSpice
Find Vth by Open Circuit VoltageApply “Short Circuit Method” for RthAlways GND at one of the terminalsPSpice Tips for Thevenin Circuit
Open CircuitInsert a resistor of big value, like 1 MEGFind the node voltage at the terminal Vth
Short CircuitInsert a resistor of very little, like 1 u [micro]Find the current through the little resistorVth / Isc Rth
![Page 29: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/29.jpg)
Thevenin Circuit Practice
![Page 30: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/30.jpg)
Open Circuit Voltage
![Page 31: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/31.jpg)
Short Circuit Current
![Page 32: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/32.jpg)
Simulation of a simple circuit containing a Dependent source:
There are Four Types of dependent sources with parts:Voltage controlled voltage source = EVoltage controlled current source = GCurrent controlled current source = FCurrent controlled voltage source = H
![Page 33: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/33.jpg)
Practice Problem with dependent Practice Problem with dependent sourcesource
Simulate the following circuit
![Page 34: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/34.jpg)
Dependent Source SetupDependent Source SetupPlace all the elements including current-controlled-voltage-source, H.Double click on the dependent source Click on gain and change the value to 8. This gives the factor by which the current through the branch is changed for the source.
![Page 35: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/35.jpg)
SimulationSimulation
Show Your Simulation Results
![Page 36: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/36.jpg)
Thevenin Equivalent Circuit by PSPICE
Short Circuit Current ---very small resistance pathGet Current (Isc)
![Page 37: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/37.jpg)
Thevenin - continued
Open Circuit Voltage ---very big resistance pathGet Voltage (Vth)
![Page 38: MS-05 Introduction to PSpice - MWFTR](https://reader031.fdocuments.in/reader031/viewer/2022021209/620639f58c2f7b173005a466/html5/thumbnails/38.jpg)
Trouble ShootingTrouble ShootingAlways remember to ground your circuit with a GND_EARTH.If an error window pops up when you try to simulate, you need to identify which pin is “floating” i.e. not connected properly to the circuit and link it up with a wire. Common Problem:
When every connections seem OK but there is error message consistently the best way is to erase all the wires, while keeping the elements, then re-wire. This is the surefire way to solve the problem.