PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by...

38
PSPICE for Network Analysis & Lab (1. DC Analysis) Dr. Charles Kim Howard University

Transcript of PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by...

Page 1: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

PSPICEfor

Network Analysis & Lab(1. DC Analysis)

Dr. Charles Kim

Howard University

faculty
Typewritten Text
WWW.MWFTR.COM
Page 2: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Getting StartedGetting Started

Logon to a Tablet or Desktop near you. Open up the “Pspice Schematics” application

Page 6: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Part PlacementPart PlacementClick on Draw on the Menu Bar and then, click on the Get New Part option.

Page 7: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Placing the dc Voltage SourcePlacing the dc Voltage SourceClick anywhere on the schematic background to place the part and then right click.

Page 9: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Voltage Value Setting

Double click the DC sourceType ValueClick Save Attr ButtonThen, OK

Page 10: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Resistance Value SettingDouble click on each resistor and type in the specified value into the space shown below. Click on Save Attr.

Page 12: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Placement of all the Parts

Place the parts in such a way that would ease the connection of the wires.

Page 14: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Completed CircuitCompleted Circuit

Then, Save your schematic

Page 17: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Circuit Simulation Circuit Simulation –– AnalysisAnalysisClick on Analysis and then Simulate(F11 is the shortcut), to simulate the circuit.

Page 18: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Result!Result!

Toggle these buttons, and see what happens

Page 19: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Graphical Display of the Result

Menu Bar>Display>Setup

Page 20: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Analysis Setup Dialog WindowAnalysis Setup Dialog Window

Analysis Setup WindowClick DC Sweep Bar

DC SWEEP WindowVoltage SourceSweeping

From 0To 120Increment of 10

Page 21: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Measurement ProbesVoltage ProbeCurrent Probe

Page 22: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Simulation ResultMenu Bar>Analysis>Simulate

Detail

Page 23: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Practice ProblemPractice ProblemIndependent dc Current Source5 ResistorsBuild the following circuit and Simulate it.

Page 24: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Solving for Thevenin Equivalent Circuit

Page 25: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Solving for Thevenin Equivalent Circuit

Page 26: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Solving for Thevenin Equivalent Circuit

Page 27: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Final Thevenin Circuit

Page 28: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Thevenin Circuit Practice

Page 30: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Open Circuit Voltage

Page 31: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Short Circuit Current

Page 32: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Practice Problem with dependent Practice Problem with dependent sourcesource

Simulate the following circuit

Page 34: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

SimulationSimulation

Show Your Simulation Results

Page 36: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Thevenin Equivalent Circuit by PSPICE

Short Circuit Current ---very small resistance pathGet Current (Isc)

Page 37: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

Thevenin - continued

Open Circuit Voltage ---very big resistance pathGet Voltage (Vth)

Page 38: PSPICE for Network Analysis & Lab (1. DC Analysis) · Thevenin Circuit using PSpice Find Vth by Open Circuit Voltage Apply “Short Circuit Method” for Rth Always GND at one of

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.