ECE Internship: ORCAD Circuit Simulation
ECE Internship: ORCAD Circuit Simulation
ON
COMPONENT IDENTIFICATION AND
CIRCUIT SIMULATION USING ORCAD
SCHEMATIC
SUBMITTED TO
Department of Electronics & Communication Engineering
February, 2022
1
Certificate
2
ACKNOWLEDGMENT
RITIK VERMA
University Roll No.: 2001430310005
3
CONTENTS
Page No.
Certificate 2
Acknowledgement 3
Contents 4
CONCLUSION 47
4
5
MINI PROJECT OR INTERNSHIP AS
6
MINI PROJECT OR INTERNSHIP ASSESSME
MODULE 1 Component Identification and their study
Resistor R (Ω=ohm)
Special components called resistors are made for the express purpose of creating a
precise quantity of resistance for insertion into a circuit. The primary purpose is to limit
the flow of electrical current; therefore the key parameter is the resistance value.
For high power applications the power rating is important. This specifies the maximum
operating power the component can handle without altering the properties or damage.
The power rating is usually specified in free air at room temperature. Higher power
ratings require a larger size and may even require heat sinks.
7
HOW TO CALCULATE THE VALUE OF RESISTOR
8
9
10
Capacitor C (mF=farad)
A capacitor is an electronic component that can be used to store an electrical
charge.
Capacitors are often used in electronic circuits as temporary energy-storage
devices.
It stores energy
Capacitors can be manufactured to serve any purpose, from the smallest plastic
capacitor in your calculator, to an ultra capacitor that can power a commuter bus.
Here are some of the various types of capacitors and how they are used.
The most common schematic symbol for a capacitor is a 2 vertical parallel
line:
TYPES OF CAPACITOR
Ceramic Capacitors
The most commonly used and produced capacitor out there is the ceramic
capacitor. The name comes from the material from which their dielectric is made.
Aluminum and Tantalum Electrolytic
Electrolytic are great because they can pack a lot of capacitance into a relatively
small volume. If you need a capacitor in the range of 1µF-1mF, you're most likely
to find it in an electrolytic form. They're especially well suited to high-voltage
applications because of their relatively high maximum voltage ratings.
11
HOW TO CALCULATE THE VALUE OF CAPACITOR
12
Inductor L [Henry]
An inductor is a passive electrical component that opposes sudden changes in
current. Inductors are also known as coils or chokes. The electrical symbol for an
inductor is L.
Inductors slow down current surges or spikes by temporarily storing energy in an
electro-magnetic field and then releasing it back into the circuit.
Inductors are primarily used in electrical power and electronic devices for these
major purposes:
1. Choking, blocking, attenuating, or filtering/smoothing high frequency noise in
electrical circuits
2. Storing and transferring energy in power converters (dc-dc or ac-dc)
3. Creating tuned oscillators or LC (inductor / capacitor) "tank" circuits
4. Impedance matching
13
Types of Induction
There are two types of Induction self induction and mutual induction.
Self Induction
When time varying current flows in a coil the time varying flux is produced and
this varying flux will link with that coil itself and as a result there will be emf
induced in the coil itself. This type of Induction is called self induction.
Mutual Induction
When time varying current flows in a coil it produces time varying flux as we have
already told. This time varying flux may link with another nearby coil. Due to this
flux linkage there will be an induced emf in the second coil. This type of electrical
induction is called mutual induction.
14
V-I characteristics of PN Junction Diode
There are two operating regions and three possible “biasing” conditions for the
standard Junction Diode and these are:
1. Zero Bias – No external voltage potential is applied to the PN junction diode.
2. Reverse Bias – The voltage potential is connected negative, (-ve) to the P-type
material and positive, (+ve) to the N-type material across the diode which has
the effect of Increasing the PN junction diode’s width.
3. Forward Bias – The voltage potential is connected positive, (+ve) to the P-
type material and negative, (-ve) to the N-type material across the diode which
has the effect of Decreasing the PN junction diodes width.
15
However, the Zener Diode or “Breakdown Diode”, as they are sometimes referred too,
are basically the same as the standard PN junction diode but they are specially designed
to have a low and specified Reverse Breakdown Voltage which takes advantage of any
reverse voltage applied to it.
Zener diode applications
Voltage regulator
Zener diode in overvoltage protection
The back to back connected zener diodes can be used as an AC regulator producing
what is jokingly called a “poor man’s square wave generator”. Using this arrangement
we can clip the waveform between a positive value of +8.2V and a negative value of -
8.2V for a 7.5V zener diode.
16
Avalanche breakdown
The avalanche breakdown occurs in both normal diodes and zener diodes at high reverse
voltage. When high reverse voltage is applied to the p-n junction diode, the free
electrons (minority carriers) gains large amount of energy and accelerated to greater
velocities.
Zener breakdown
The zener breakdown occurs in heavily doped p-n junction diodes because of their
narrow depletion region. When reverse biased voltage applied to the diode is
increased, the narrow depletion region generates strong electric field.
17
Transistor Transistor
IE IB IC VEB VCB VCE IE IB IC VEB VCB VCE
type type
n-p-n – + + – + + p–n–p + – – + – –
18
Common Emitter Configuration – has both Current and Voltage Gain.
MOSFET(metal-oxide-semiconductor field-effect
Transistor)
19
The MOSFET (Metal Oxide Semiconductor Field Effect Transistor) transistor
is a semiconductor device that is widely used for switching purposes and for the
amplification of electronic signals in electronic devices. A MOSFET is either a
core or integrated circuit where it is designed and fabricated in a single chip
because the device is available in very small sizes. The introduction of the
MOSFET device has brought a change in the domain of switching in electronics.
20
silicon semiconductor substrate, and is sealed inside a package with multiple
terminals.
Types of IC’s
THERE ARE BASICALLY 3 TYPES OF IC’S.
ANALOG IC’S
• Digital Integrated Circuits handle discrete signals such as binary values (0
and 1). These circuits use digital logic gates, multiplexers, flip flops
[Link] circuits are easier to design and economical.
DIGITAL IC’S
• Analog Integrated Circuits handle contiguous signals. These are two types:
linear integrated circuits (Linear ICs) and Radio frequency integrated
circuits (RF ICs).
MIXED IC’S
• Mixed Integrated Circuits are obtained by the combination of analog and
digital integrated circuits. Therefore it have digital to analog (A/D)
converter, digital to analog (D/A) converter, and clock/timing integrated
circuits.
21
DIGITAL IC'S
ANALOG IC’S
22
23
MODULE-2
24
TUTORIAL 1
ELECTRONIC CIRCUIT ANALYSIS USING PSPICE.
1.2 INTRODUCTION
SPICE (Simulation Program with Integrated Circuit
Emphasis) is a computer simulation and modeling program used by
engineers to mathematically predict the behavior of electronic circuits.
PSpice is a member of the SPICE family of circuit simulators. In the
following exercises you will use PSpice (OrCAD 16.0 Demo version)
to solve some circuits and to determine the quantities of interest.
SPICE can do several types of circuit analysis. They are
Pspice has analog and digital libraries of standard components. All analyses
can be done at different temperatures. The default temperature is 300K. The
circuit can contain the following components: Independent and dependent
voltage and current sources, Resistors, Capacitors, Inductors, Mutual Inductors,
Tramsmission lines, Operational amplifiers, Diodes, Bipolar transistors, MOS
transistors, JFETS, MESFETS, Digital gates.
25
yet been added to a library. Then we access these *.INC files with a single
command line in the
*.CIR file. Other files used with PSpice are *.LIB files where the details of
complex parts are saved
When we begin using the schematic capture program that is bundled with
PSpice, we will encounter some additional file types. These are the *.SCH (the
schematic data, itself), *.ALS (alias files) and *.NET (network connection files).
26
DATA STATEMENTS:description of the components and
the interconnections.
CONTROL STATEMENTS: tells spice what type of analysis to perform
on the circuit.
OUTPUT STATEMENT: specifies what outputs are to be printed or plotted.
The order of statements:
TITLE STATEMENT
ELEMENT
STATEMENTS
.
.
COMMAND (CONTROL)
STATEMENT OUTPUT
STATEMENTS
.END
Node Designations in PSpice
In the SPICE program, users were expected to designate nodes by number or
ordinary text. E.g. "Pbus," ”1.” The only restriction is you can't embed spaces in a
node name. Use the underscore ("_") character to simulate spaces.
Large and Small Numbers in PSpice
PSpice is a computer program used mostly by engineers and
scientists. Accordingly, it was created with the ability to recognize the typical
metric units for numbers.
Number Prefix Common Name
1012 - "T" or "t" tera
109 - "G" or "g" giga
106 - "MEG" or "meg" mega
103 - "K" or "k" kilo
10-3 -"M" or "m" milli
10-6 -"U" or "u" micro
10-9 -"N" or "n" nano
10-12 - "P" or "p" pico
10-15 - "F" or "f" femto
27
An alternative to this type of notation, which is in fact, the default for PSpice
output data, is "textual scientific notation." This notation is written by typing an
"E" followed by a signed or unsigned integer indicating the power of ten. Some
examples of this notation are shown below:
656,000 = 6.56E5
-0.0000135 = -1.35E-5
1.4 ANALYSIS BY USING SCHEMATIC FILE EDITOR INTRODUCTION
This tutorial will introduce Orcad PSPICE. It will take you through the steps
of entering a schematic diagram, specifying the type of analysis, running the
simulation, and viewing the output file. The Orcad PSPICE software allows the
user to input their circuits using a schematic capture program (called "Capture" or
“Capture CIS”). The software creates a SPICE input file from this diagram and
performs the analysis. In this course, we will utilize the Capture program.
1. On the computer's Desktop screen, click on Start, move the cursor to all
Programs > Orcad 16.0 demo >Orcad Capture CIS demo
2. The Orcad Capture window should open. Click on File > New > Project..
3. The New Project dialog box should open.
4. Type the name of your circuit in the "Name" box, and indicate the path to
the directory in which you want to store your file under "Location".
5. Click on the radio button next to: Analog or Mixed A/D, then click OK.
6. The Create PSPICE Project dialog box will appear. Select "Create a blank
project", and click OK.
7. A schematic entry window will appear. The screen should now look
similar to that in Figure
28
Figure 2. Schematic Entry Window
29
16.2). The libraries listed above can be found in the following
directory:
../tools/capture/library/pspice/demo (or something
similar) Add each of the four libraries listed above.
2. In the Place Part dialog box, click on the "Analog" library, then click
on the "R" in the Part List. A drawing of a resistor should appear in
the lower right corner. Press Enter/Return.
3. Move your mouse pointer over the schematic window. A resistor
should be following the pointer. Drag the resistor to the desired
location and click once to place it.
4. Drag to the next location to place the second resistor and click to place it.
5. Since we want the third resistor to be vertical, right-click the mouse
button and select "Rotate" from the popup menu. Then click to place
the third resistor (see figure 4).
30
the ground as shown in figure 5.
31
Figure 6. Wired Circuit
32
SPICE output file. Select the menu option: View >Output File.
A text file will appear in the upper window. Figure 9 shows the
output and describes each section. Note that the default output
includes the voltage at each node and the current flowing through
each voltage source. For example, the initial circuit listing in the
output shows us that the 3K resistor is connected between nodes
N00132 and N00159. The output indicates that the voltages at
those two nodes are 8 and 5 volts respectively. Thus, this resistor
has 3 volts across it.
Figure 8. Simulation Window
33
V_V1 N00102 0 10V
**** RESUMING "project1-SCHEMATIC1-dc [Link]" ****
.END
**** 03/29/01 [Link] ************** PSpice Lite (Mar 2000) *****************
** Profile: "SCHEMATIC1-dc bias" [ C:\Program Files\OrcadLite\project1-SCHEMATIC1-
dc [Link] ]
**** SMALL SIGNAL BIAS SOLUTION TEMPERATURE = 27.000 DEG C
******************************************************************
************ NODE VOLTAGE NODE VOLTAGE NODE VOLTAGE
NODE VOLTAGE
(N00102) 10.0000 (N00132) 8.0000 (N00159) 5.0000
VOLTAGE SOURCE CURRENTS
NAME
CURRENT
V_V1 -1.000E-
03
TOTAL POWER DISSIPATION 1.00E-02
WATTS JOB CONCLUDED
TOTAL JOB TIME .13
Figure 9. PSPICE Output File
4. Return to the window with your schematic. Select PSPICE > Bias Points>
Enable Bias>Voltage Display (if it is not already selected). The dc bias
voltages will now be displayed directly on your diagram eliminating the
need to view the output file at all. See figure 10. Experiment with
displaying the current and power values.
Current Sources
A DC independent current source can be found in the parts list as IDC. This is similar to
the voltage source used above except the current is held at a specified value.
34
Figure 10. Schematic with Bias Voltage Display
35
EXPERIMENT 1
AIM
Circuit Simulation of Electric Network to find all Branch Currents and
all Node Voltages
2 6
V1 V2
7Vdc R1 R3 12Vdc
5 10
36
EXPECTED RESULTS
1. NODAL CURRENT
R2 R4
86.96m A 804.3m A
2 6
V1 1.400A 717.4m A V2
7Vdc R1 R3 12Vdc
5 10
1.313A 804.3m A
0
2. BRANCH VOLTAGE
RESULT
Nodal Current Branch Voltage
Node(A-E) - 1.313 A at E = 0 V
Node(B-E) - 1.4 A at A=B= 7 V
Node(B-C) - 86.96 mA at C = 7.174 V
37
Node(C-E) - 717.4 mA at D = 12 V
Node(C-D) - 804.3 mA
EXPERIMENT 2
AIM
Simulate I-V characteristics for a P-N junction diode (IN4500) using
schematic capture in Pspice.
38
GRAPH
39
EXPERIMENT 3
AIM
Simulate working output of a half wave rectifier using schematic
capture in P-spice.
CIRCUIT DIAGRAM
D1
2 1
1N 4500
V1
VOFF = 0 R1
VAMPL = 5 1k
AC = 8
F R EQ = 100
40
RESULT
GRAPH
41
42
V
V
0s
SEL>>
0V
0V
5.0V
5.0V
-5.0V
-5.0V
EXPERIMENT 4
AIM
To Simulate Full-Wave Rectifier Circuit
SOFTWARE TOOL USED
1. PC loaded with OR-CAD 16.0 P Spice Software.
THEORY
A semiconductor device that is used to change the complete AC cycle into
pulsating DC is known as a full-wave rectifier. This circuit uses the full wave of
the i/p AC signal whereas the half-wave rectifier uses the half-wave. This circuit is
mainly used to overcome the drawback of half-wave rectifiers like low-efficiency
drawback.
Full Wave Rectifier Theory
In this circuit, we use two diodes, one for each half of the wave. A
multiple winding transformer is used whose secondary winding is split equally into
two halves with a common center-tapped connection. Configuration results in each
diode conducting in turn when its anode terminal is positive with respect to the
transformer center point C produces an output during both half-cycles. The
advantages of this rectifier are flexible compared to that of a half-wave rectifier.
43
conducts in the forward direction and the current flowing through resistor R is in
the same direction for both half-cycles of the wave.
CIRCUIT DIAGRAM
RESULT
GRAPH
44
EXPERIMENT 5
SIMULATION OF COMMON EMITTER AMPLIFIER
CIRCUIT
AIM
1. To simulate the Common Emitter amplifier in Pspice and study the transient
and frequency response.
2. To determine the phase relationship between the input and output voltages
by performing the transient analysis.
3. To determine the maximum absolute gain, maximum gain in dB, 3dB gain,
lower and upper cutoff frequencies and bandwidth of CE amplifier by performing
the AC analysis.
45
The Common-Emitter (CE) is the most frequently used configuration in
practical amplifier circuits, since it provides good voltage, current, and power gain.
The input to the CE is applied to the base-emitter circuit and the output is taken
from the collector-emitter circuit, making the emitter the terminal "common" to
both input and output. The CE is set apart from the other configurations, because it
is the only configuration that provides a phase reversal between input and output
signals.
When positive half of the signal is applied, the voltage between base and
emitter (Vbe) is increased because it is already positive with respect to ground. So
forward bias is increased i.e., the base current is increased. Due to transistor action,
the collector current IC is increased β times. When this current flows through RC,
the drop IC RC increases considerably. As a consequence of this, the voltage
between collector and emitter (Vce) decreases. In this way, amplified voltage
appears across RC. Therefore the positive going input signal appears as a negative
going output signal i.e., there is a phase shift of 180° between the input and output.
The gain from the base to the collector can be approximated by the
collector resistance over the emitter resistance (RC’/RE).where RC’ is the AC
resistance seen by the collector, RC|| RL, and RE’ is the AC resistance seen by the
emitter, RE. The emitter resistance controls the DC bias. The gain can be increased
by choosing a smaller RE.
CIRCUIT DIAGRAM
46
EXPECTED GRAPHS
1. TRANSIENT RESPONSE
2. FREQUENCE RESPONSE
47
RESULT
1. From the transient analysis the phase relationship between input and
output voltage signals is degrees.
2. From the frequency response curve the following results are
calculated:
EXPERIMENT 6
AIM
To simulate the working of CMOS inverter
a) DC analysis
b) Transient analysis
48
voltage at each node of the circuit and dc branch currents is required. To view dc
nodes voltage you can use the VIEWPOINT or IPROBE. While the dc sweep
provides more flexibility in that allows the calculation of nodes voltage and branch
current of a circuit when a source is swept over a range of values
DC ANALYSIS
RESULT
49
THEORY (for transient analysis)
Transient analysis calculates a circuit's response over a period of time defined by
the user. The accuracy of the transient analysis is dependent on the size of internal
time steps, which together make up the complete simulation time known as the
Run to time or Stop time. For every time step, the node voltages and currents are
calculated and compared to the previous time step DC solution. Only when the
difference between two DC solutions falls within a specified tolerance (accuracy)
will the analysis move on to the next internal time step. The time step is
dynamically adjusted until a solution within tolerance is found. The value for the
maximum internal time step can be defined by the user. There are some circuits,
where a DC solution cannot be found, as in the case of oscillators.
50
TRANSIENT ANALYSIS RESULT
51
52
CONCLUSION
This internship is divided into two modules. In Module-I, the study of different
Active and Passive Components are studied in details. Passive Components
Value’s calculation using color code & Multimeter is also learnt in this Module
In Module-II, the circuit semiconductor using ORCAD schematic is studied . Some
of electronics circuits are simulated and their results are analysed and compared
with theoretical values
53