PCB Design and SPICE Lab Course Overview
PCB Design and SPICE Lab Course Overview
&
SPICE LAB
COURSE TITLE : PCB DESIGN AND SPICE LAB
COURSE CODE : 5047
COURSE CATEGORY :A
PERIODS/WEEK :5
PERIODS/SEMESTER : 65/5
CREDITS :3
Prepared by
REMYA GOPALAKRISHNAN
SANIL KUMAR.C
BIJUKUMAR.S
TIME SCHEDULE:
GO - General Outcome
PCB DESIGN
To study about PCB (Printed Circuit Board) Design and Lay-Out Preparation
steps.
OBJECTIVES:
TOOLS/MATERIALS:
THEORY:
1. The physical dimensions of the components in the circuit should be measured before
drawing.
2. Input and Output terminal can be brought to one side for easy connection.
3. Components that produce heat should be placed in one corner of the PCB.
4. Similarly bulky Components (like filter capacitor, transformer etc.) should be placed
in one corner of the PCB.
5. Width of the ground line should be maximum.
ie,
Width of ground line is 3mm.
Width of power line is 2mm.
Width of signal line is 1mm.
6. PCB layout is obtained by reversing the component lay-out horizontally.
Conductor routing rules.
Design of Reliable Solder Joints
PROCEDURE:
1. Identify and collect all the components that are going to be used in the particular
circuit.
2. Calculate the area required for the printed circuit pattern, considering tolerance.
3. Mark the components lay out in proper
p place on graph sheet.
4. Draw the tracks connecting the components as per the circuit diagram.
5. Trace this track on a tracing sheet.
6. Reverse side (mirror image) of this track is PCB lay-out.
lay
RESULT:
PCB FABRICATION
AIM:
OBJECTIVES:
TOOLS/MATERIALS:
Copper clad sheet, ferric chloride solution, Etching machine, drilling machine,
PCB art work tapes & pads, Screen Printing materials /paint, turpentine/thinner etc.
THEORY:
PCB is prepared from copper clad sheet consist of 30 m to 40 µm thick copper foil
fixed over a 1mm to 2mm thick insulated board. Materials used for preparing copper clad
sheet can be paper phenolic or glass epoxy.
Etching:
Ferric chloride solution is the popularly used etching solution. The ferric chloride
powder is made in to a solution using water and kept in a plastic tray / etching machine.
Immerse the printed copper clad sheet in this solution until un-marked area etches out.
Take out the etched sheet, dry and remove the paint using turpentine.
Drilling:
The holes are made by using PCB drilling Machine for components insertion.
Suitable drill bits are used for this purpose.
Solder Mask:
Solder mask is a thin polymer coating on PCB which surrounds the pads to prevent
solder from bridging between pins. This is essential for surface mount and fine pitch
devices. The solder mask typically covers everything except pads.
PROCEDURE:
1. Prepare the PCB lay-out of the given circuit in a tracing sheet using suitable size art
work tapes and pads.
2. Copper clad sheet (Paper phenolic /Glass epoxy) is cut to the suitable size and it is
cleaned.
3. Transfer the lay-out to the copper side using screen printing/paint.
4. Etching is done to remove the un-marked copper from the copper clad sheet.
5. Drill proper holes for component mounting.
RESULT:
OBJECTIVES:
TOOLS/MATERIALS:
THEORY:
Soldering:
Soldering is the process of joining two or more metals using another metal having
low melting point.
Wave soldering:
De- Soldering:
De-soldering is the process of removal of solder and components from a PCB for
Trouble shooting and repair purpose.
Soldering Iron:
It is the tool used to melt the solder during the process of soldering. It consists of
an insulated handle heating element and a bit. Commonly available iron is from 10W to
100W. For electronic work 10W and 25W soldering irons are used.
Soldering station:
During trouble shooting and repairing, the components may be removed from the
PCB. This is done with help of the de- soldering pump/ De-soldering station .The solder
points are heated with a hot soldering iron and the molten solder is sucked by a pump.
Wire Stripper:
It is a simple Tool like a cutter which is used to remove the electrical insulation.
Tweezer:
For soldering & de- soldering small surface mount components with two terminals
such as sum links, resistors, capacitors and diodes etc. this tool can be used.
Solder:
Solder is an alloy. Several alloys of tin such as Tin –Lead, Tin –Antimony, Tin –
Silver, Tin –Zinc etc are available. Tin –Lead is commonly used solder. The ratio of Tin:
Lead is 63:37. It is called eutectic solder and its melting point is 183 ° C.
Flux:
Flux is a cleaning agent which removes the oxides and helps the solder to make a
good bond. If the oxides are not removed properly, the joint become dry solder and the
conductivity will be poor.
Solvent:
Solvent is used to clean the soldered surface. Solvent is used to remove the
dissolved flux residue from solder points.
Safety Precautions:
1. Use soldering irons with correct temperature and power ratings for different
applications.
2. Unplug the iron when not in use. Always return the soldering iron to its stand
when it is not in use.
3. Work in a well-ventilated area.
4. Solder contains lead, which is a poisonous metal. Wash your hands after using
solder.
5. Overheating pins of IC can damage IC’s. So it is advisable to use IC base.
6. While using Electrostatic Devices, anti static precautions has to be taken.
PROCEDURE:
1. Clean the components leads using a blade or steel wool and bend them as needed
using tweezer.
2. Clean the PCB with steel wool before soldering for removal of any oil, wax etc.
3. Plug in the cord of soldering iron in to the main supply.
4. Mount the components on the PCB, apply a little flux on the joints.
5. Take a little solder on soldering iron. Apply the molten solder to the joints. Soldering
must be done in minimum time to avoid dry soldering and heating up of the
components.
6. For De-Soldering, solder points are heated using a hot soldering iron and the molten
solder is sucked by a pump.
RESULT:
OBJECTIVES:
TOOLS/MATERIALS:
THEORY:
It is a method for making electronic circuits in which the components are mounted
or placed directly on to the surface of PCBs. An electronic device so made is called
surface mount device.
Soldering Iron:
This should be higher quality temperature controlled soldering iron with a few
types of fine soldering bits (1 mm and such, smaller for SMD).
It is a tool used for desolder the SMD components from PCB using controlled hot
air.
Solder wire:
Solder wire should be resin cored and thin. Commonly 0.5mm solder wire is used.
It should be a silver alloy as an ordinary solder will dissolve pads on components such as
resistors or ceramic capacitors, but it is expensive and sometimes hard to find.
PROCEDURE:
1. To prepare the pads, tin them with a fine, thin film of solder.
2. To correctly tin the pads, flood them with solder and then pick up the excess with de-
soldering wick.
3. To solder a component like a resistor or a transistor, pick up the component with
tweezers and place it on the prepared pads, put a little solder on soldering iron’s tip
and while holding the component in place with tweezers, touch pad with soldering
iron.
4. To solder an IC, position the component on the pads so that all pins and pads line up.
Then holding the component in place, solder two opposite pins of the IC, to keep the
IC in place while you are soldering the other pins.
5. To desolder small components such as resistors, diodes, capacitors, heat the pads
alternately, quickly moving the soldering iron from one pad to the other repeatedly,
while pushing the component to the side with a small screw driver until it gives in and
push the component away from pads.
6. To remove three pin components and ICs apply hot air from the special equipment
(Hot air gun/Blower).
7. Excess solder is removed using de-soldering wick.
RESULT:
To prepare PCB of Bridge Rectifier with Filter and set up this circuit.
OBJECTIVES:
2. To fabricate PCB.
TOOLS/MATERIALS:
Etching Machine, Drilling machine, soldering iron, knife, wire stripper, Copper
clad sheet, ferric chloride, Screen printing ink, PCB Art work tapes, pads, solder,
Transformer 230/0-6/1A, Diode 1N4001, capacitor 470uf/12V, Resistor [Link].
THEORY:
PROCEDURE:
5. Transfer the PCB layout to the copper side of copper clad sheet with help of
screen printing or paint.
6. Dip the PCB in the Ferric Chloride Solution or etching machine for etching.
7. The etched
ched PCB is cleaned with turpentine/thinner.
8. Drill the terminal holes on PCB using drilling machine with suitable bit.
CIRCUIT DIAGRAM:
COMPONENT LAYOUT:
PCB LAYOUT:
ARTWORK:
RESULT:
ASTABLE MULTIVIBRATOR
AIM:
OBJECTIVES:
2. To fabricate PCB.
TOOLS/MATERIALS:
Etching Machine, Drilling machine, soldering iron, knife, wire stripper, Copper
clad sheet, ferric chloride, Screen printing ink, PCB Art work tapes, pads, solder,
Transistor BC548, capacitor 10uf, Resistor 82k, 470E, LED etc.
THEORY:
PROCEDURE:
5. Transfer the PCB layout on the copper side of copper clad sheet with help of
screen printing or paint.
6. Dip the PCB in the Ferric Chloride Solution or etching machine for etching.
7. The etched PCB is cleaned with turpentine/thinner.
8. Drill the terminal holes on PCB using drilling machine with suitable bit.
Circuit Diagram:
COMPONENT LAYOUT:
PCB LAYOUT:
RESULT:
R C Coupled Amplifier
AIM:
OBJECTIVES:
2. To fabricate PCB.
TOOLS/MATERIALS:
Etching Machine, Drilling machine, soldering iron, knife, wire stripper, Copper
clad sheet, ferric chloride, Screen printing ink, PCB Art work tapes, pads, solder ,
Transistor BC107, capacitor 10uf, 22 uf, Resistor 1k, 1.8k, 47k, 10k, 470E etc.
THEORY:
PROCEDURE:
5. Transfer the PCB layout on the copper side of copper clad sheet with help of
screen printing or paint.
6. Dip the PCB in the Ferric Chloride Solution or etching machine for etching.
CIRCUIT DIAGRAM:
COMPONENTS LAYOUT:
PCB LAYOUT:
RESULT:
To Prepare PCB of Timer Circuit using IC 555 and set up this circuit.
OBJECTIVES:
2. To fabricate PCB.
TOOLS/MATERIALS:
Etching Machine, Drilling machine, soldering iron, knife, wire stripper, Copper
clad sheet, ferric chloride, Screen printing ink, PCB Art work tapes, pads, solder, IC 555,
Resistors 6.8k, capacitor 0 .01uf, 0.1uf etc.
THEORY:
The astable multivibrator using IC 555 generates a rectangular wave. The time
during which the output is either high or low is determined by the two resistors (R1 and
R2) and a capacitor (C2) which is externally connected to the 555 timer.
PROCEDURE:
5. Transfer the PCB layout on the copper side of copper clad sheet with help of
screen printing or paint.
6. Dip the PCB in the Ferric Chloride Solution or etching machine for etching.
CIRCUIT DIAGRAM:
COMPONENTS LAYOUT:
PCB LAYOUT:
RESULT:
OBJECTIVES:
2. To fabricate PCB.
TOOLS/MATERIALS:
Etching Machine, Drilling machine, soldering iron, knife, wire stripper, Copper
clad sheet, ferric chloride, Screen printing ink, PCB Art work tapes, pads, solder, IC 7486,
7408, Resistors 1k, LED, Switcches etc.
THEORY:
Half adder is a combinational arithmetic circuit that adds two numbers and
produces a sum bit (S) and carry bit (C) as the output. It uses digital IC 7408 and 7486.
PROCEDURE:
5. Transfer the PCB layout on the copper side of copper clad sheet with help of
screen printing or paint.
6. Dip the PCB in the Ferric Chloride Solution or etching machine for etching.
8. Drill the terminal holes on PCB using drilling machine with suitable bit.
9. Properly insert all components on this PCB.
CIRCUIT DIAGRAM:
COMPONENTS LAYOUT:
PCB LAYOUT:
RESULT:
AIM:
To deign PCB layout of bridge rectifier circuit using PCB design software.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
Several PCB design software for PCB layout preparation is available. Some of
them are ORCAD, Proteus, FREE EDA, KiCAD, Protel etc. Here ORCAD based
simulator is used. Free and student’s versions of ORCAD are available, like ORCAD 9.2,
ORCAD Lite etc. Information about ORCAD Lite is available from the ORCAD website:
[Link]
PROCEDURE:
General Steps for PCB design using Orcad:
Schematic Design:
1. Use Capture to enter the design (Refer SPICE Experiments). While creating
new project, Select Schematic, here the component library consist of more
components than in PSPICE Library.
2. Connectors can be used for inputs, and outputs. Select Connector B2S for
inputs and Outputs.
3. Select project in project window.
4. Check for any design rules violations. Tools Design Rules Check. Any
violation in electrical Rules, Unconnected Nets, Invalid References and
Duplicate References will be checked. To view drc file, Outputs *.drc
5. Create Bill of materials. A file with details of components used, quantity and
specifications will be generated. Tools Bill of materials. To view bom file,
Outputs *.bom
6. Create netlist. A file that is used in layout preparation is created. Tools
Create Netlist. Choose Layout tab OK. A netlist file (.mnl extension) will
be created.
7. Close Capture.
PCB Layout:
3. Select a “technology file” appropriate for the design. These are in Program
Place Components:
Choose Layers:
4. Enable only the layers for routing, set other layers to unused (double click on
the Layer Type select all to unused routing).
5. For a single sided board use only the “bottom” layer. Select layers needed then
right click, select properties, then set routing to enable layers.
Routing:
3. Some times it is more appropriate to use manual routing. For manual routing
turn on Edit Segment Mode icon on top.
4. All tracks may not be routed after autoroute. Via can be added for connecting
this track. Right click Add Via.
A Gerber file is a file that contains the information from Layout necessary for the
prototyping machine to mill, drill and cut the PCB.
1. The machining files required to manufacture the PCB are generated by the
“post processor”. From options menu choose “Post Process Settings”. In the
spreadsheet, select the layers needed to manufacture. Post processor Settings
Batch Enabled Properties First disable all, then enable BOT (BOTTOM),
SMB (Solder Mask Bottom) and SMT (Solder Mask Top), SST (Silk Screen
Top), AST (Assembly Top) and DRD (Drill Drawing).
3. Choose Auto Run Post Processor to generate the files (.GTD flile). The files
generated by the post processor are the only ones needed for the PCB plant to
make the board.
CIRCUIT DIAGRAM:
OBSERVATIONS:
SILK SCREEN TOP:
BOTTOM LAYER:
RESULT:
Familiarized with PCB Layout design using software. PCB layout of Bridge
Rectifier circuit is prepared using PCB design software.
INFERENCE:
ASTABLE MULTIVIBRATOR:
OBSERVATIONS:
RC COUPLED AMPLIFIER:
CIRCUIT DIAGRAM:
OBSERVATIONS:
TIMER USING IC555:
CIRCUIT DIAGRAM:
OBSERVATIONS:
HALF ADDER:
CIRCUIT DIAGRAM:
OBSERVATIONS:
SPICE
I. SPICE TUTORIAL
II. VOLTAGE DIVIDER CIRCUIT
III. CHARACTERISTICS OF DIODE
IV. CHARACTERISTICS OF BJT
V. CENTRE TAPPED FULL WAVE RECTIFIER CIRCUIT
VI. SINGLE STAGE AMPLIFIER
VII. RC PHASE SHIFT OSCILLATOR
VIII. ASTABLE MULTIVIBRATOR USING TRANSISTOR
IX. ASTABLE MULTIVIBRATOR USING 555
X. REGULATED POWER SUPPLY
XI. SCHMITT TRIGGER USING 741
XII. HALF ADDER
XIII. SYNCHRONOUS COUNTER
EXPERIMENT NO:1
SPICE TUTORIAL
SPICE inspired and served as a basis for many other circuit simulation programs,
in academia, in industry, and in commercial products. The first commercial version of
SPICE was ISPICE. The most prominent commercial versions of SPICE include HSPICE
and PSPICE. The academic spinoffs of SPICE include XSPICE, and Cider. Student
versions of SPICE are also available. Some freely available simulators are PSICE 9.1
student version, AIM-SPICE, 5SPICE, TINA student version and LTSPICE. The OrCAD
student edition is called PSpice AD Lite. Information about Pspice AD is available from
the OrCAD website: [Link] The SPICE student version
will have the following limitations: circuits have limited number of nodes, transistors and
other components. Here ORCAD based simulator is used. It is advisable to run the
simulator in Windows XP operating system.
Two other statements are required: the title statement and the end statement. The title
statement is the first line and can contain any information, while the end statement is
always .END. In addition, you can insert comment statements, which must begin with an
asterisk (*) and are ignored by SPICE.
TITLE STATEMENT
ELEMENT STATEMENTS
.
.
COMMAND (CONTROL) STATEMENTS
OUTPUT STATEMENTS
.END
2. DATA STATEMENTS
Examples: Vin 2 0 DC 10
Is 3 4 DC 1.5
N1 and N2 are the positive and negative terminals of the dependent source,
respectively.
NC1 and NC2 are the positive and negative terminals of the controlling voltage
source, respectively.
Vmeas 4 0 DC 0
2.4. Resistors
Rname N1 N2 Value
N1 and N2 are the terminals; Value gives the value of the resistor.
Example: R1 0 3 10k
Example: C5 5 3 4 35E-12 5
L12 7 3 6.25E-3 1m
The value of K must be larger than 0 but smaller than 1. The above statement must
always be together with the statements for the two inductors.
Example:
L1 3 5 10M
L2 4 7 3M
K L1 L2 0.81
2.7. Transformer
Most of the elements that have been described above require only a few parameters
to specify its electrical characteristics. However, the models for semiconductor devices
require many parameter values. A set of device model parameters is defined in a separate
.MODEL statement and assigned a unique name. Thus a semiconductor device is specified
by two command lines: an element and model statement.
MODName is the name of the model for the device. The Type refers to the type of
device and can be any of the following:
D: Diode
NPN: npn bipolar transistor
PNP: pnp bipolar transistor
NMOS: nmos transistor
PMOS: pmos transistor
NJF: N-channel JFET model
PJF: P-channel JFET model
2.8.1. Diode
The element name starts with D to indicate that the element is a diode, N+ and N-
are the two node numbers and MODName is the name of the model of the diode which is
specified in the model line. The values include: the saturation current, IS ,the emission
coefficient, N (=1), the series resistance, RS (=0 ohm), junction capacitance, CJO (=0F),
transit time, TT (=0sec), reverse bias breakdown voltage, BV (=infinite) and the reverse
bias breakdown current, IBV (=1xE-10A).
Model statement:
In which BF is the common emitter current gain ß, IS is the saturation current and
VAF is the Early voltage. Other parameters can be specified including the junction
capacitances CJE and CJC, the transit times TT and TR, the base RB, emitter RE and
collector resistances RC.
Example:
.model Q2N2222A NPN (IS=14.34F XTI=3 EG=1.11 VAF= 74.03 BF=255.9
NE=1.307 ISE=14.34F IKF=.2847 XTB=1.5 BR=6.092 NC=2 ISC=0 IKR=0
RC=1 CJC=7.306P MJC=.3416 VJC=.75 FC=.5 CJE=22.01P MJE=.377 VJE=.75
TR=46.91N TF=411.1P ITF=.6 VTF=1.7 XTF=3 RB=10)
2.8.3. MOSFETS
Element: Mname ND NG NS <NB> ModName L= W=
The MOS transistor name (Mname) has to start with a M; ND, NG, NS and NB are
the node numbers of the Drain, Gate, Source and Bulk terminals, respectively. ModName
is the name of the transistor model .L and W is the length and width of the gate .
Model statement:
Resistor : ohm
Capacitor: F
Inductro: H
Voltage: V
Current: A
The values of elements can be specified using scaling factors (upper or lower case):
T or Tera (= 1E12);
G or Giga (= E9);
MEG or Mega (= E6);
K or Kilo (= E3);
M or Milli (= E-3);
U or Micro (= E-6);
N or Nano (= E-9);
P or Pico (= E-12)
F of Femto (= E-15)
SRC name is the name of the source you want to vary; START and STOP are the
starting and ending value, respectively; and STEP is the size of the increment.
Example: .DC V1 0 20 2
The .TF statement instructs SPICE to calculate the following small signal
characteristics:
OUTVAR is the name of the output variable and INSRC is the input source.
This statement is used to specify the frequency (AC) analysis. The format is as
follows:
LIN stands for a linear frequency variation, DEC and OCT for a decade and octave
variation respectively. NP stands for the number of points and ND and NO for the number
of frequency points per decade and octave. FSTART and FSTOP are the start and stopping
frequencies in Hertz.
6. OUTPUT STATEMENTS
TYPE specifies the type of analysis to be printed or plotted and can be:
DC
TRAN
AC
The output variables are OV1, OV2 and can be voltage or currents in voltage sources.
.PLOT AC VM(3,0)
7. SIMULATION OF CIRCUITS
OBJECTIVES:
TOOL REQUIRED:
THEORY:
The voltage divider circuit consists of resistors connected in series and parallel.
According to voltage division rule, voltage will be dropped across different resistors.
PROCEDURE:
CIRCUIT DIAGRAM:
R1 R2
N1 N2 N3
1k 1k
V V V
V1
5Vdc R3 R4
2k 1k
* Data statements
V_V1 N1 0 5Vdc
R_R1 N1 N2 1k
R_R2 N2 N3 1k
R_R3 N2 0 2k
R_R4 N3 0 1k
*Analysis directives:
.DC LIN V_V1 0 10 1
.PROBE
OBSERVATIONS:
RESULT:
CHARACTERISTICS OF DIODE
AIM:
OBJECTIVES:
TOOL REQUIRED:
THEORY:
The diode is a device formed from a junction of n-type and p-type semiconductor
material. During forward bias diode will not conduct until input voltage exceeds cut-in
voltage (0.7V). The diode breaks down (8V) during reverse bias.
PROCEDURE:
CIRCUIT DIAGRAM:
D1
N1 N2
D1N4001
V1
1Vdc R1
I
1k
* Data statements
R_R1 N2 0 1k
D_D1 N1 N2 D1N4001
V_V1 N1 0 1Vdc
*Analysis directives:
.PROBE
OBSERVATIONS:
RESULT:
CHARACTERISTICS OF BJT
AIM:
To obtain input and output V-I characteristic of transistor using SPICE.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
CIRCUIT DIAGRAM:
R1 R2
N1 N2 N3 N4
47k 1k
Q1
V1 V2
1Vdc 30Vdc
BC107A
I
* Data statements
Q_Q1 N3 N2 0 BC107A
R_R1 N1 N2 47k
R_R2 N3 N4 1k
V_V1 N1 0 1Vdc
V_V2 N4 0 30Vdc
INPUT CHARACTERISTICS:
OUTPUT CHARACTERISTICS:
RESULT:
Input V-I characteristic and Output V-I characteristic of diode has been obtained
using SPICE.
EXPERIMENT NO: 5
AIM:
To setup a center tapped full wave rectifier circuit in SPICE and to simulate the
rectified output.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
During the positive half cycle of the input signal, the diode D1 is forward biased
and the diode D2 is reverse biased. Hence the current flows through D1 and R2. During
the negative half cycle of the input signal, the diode D1 is reverse biased and the diode D2
is forward biased. Hence the current flows through D2 and R2. Thus, the voltage obtained
across R2 is full wave rectified.
PROCEDURE:
CIRCUIT DIAGRAM:
D1
N3 N4
D1N4001
L2 C1
R1
N1 N2 K K1 10H
100u
K_Linear
1k
COUPLING = 1 R2
L1
1k
V1 V
VOFF = 0 1000H L3
VAMPL = 100
FREQ = 60 10H
D2
N5
D1N4001
* Data statements
C_C1 N4 0 100u
L_L1 N2 0 1000H
L_L2 N3 0 10H
L_L3 N5 0 10H
R_R1 N1 N2 1k
R_R2 N4 0 1k
D_D1 N3 N4 D1N4001
D_D2 N5 N4 D1N4001
V_V1 N1 0
+SIN 0 100 60 0 0 0
+ L_L3 1
*Analysis directives:
.PROBE
OBSERVATIONS:
RESULT:
Center tapped full wave rectifier circuit is setup and output is simulated using
SPICE.
.
EXPERIMENT NO: 6
AIM:
To setup a single stage amplifier and to simulate frequency response of amplifier
using SPICE.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
PROCEDURE:
CIRCUIT DIAGRAM:
V1
12Vdc
N3
R1 R3
100k 2.2k C2
N4 N6
15u
Q1 V
C1
N1 N2 R5
10u 1k
BC107A
V3 N5
100mVac R2
0Vdc R4 C3
47k
680ohm 22u
* Data statements
Q_Q1 N4 N2 N5 BC107A
R_R1 N2 N3 100k
R_R2 N2 0 47k
R_R3 N3 N4 2.2k
R_R4 N5 0 680ohm
R_R5 N6 0 1k
C_C1 N1 N2 10u
C_C2 N4 N6 15u
V_V3 N1 0 DC 0Vdc AC 100mVac
C_C3 N5 0 22u
V_V1 N3 0 12Vdc
*Analysis directives:
OBSERVATIONS:
RESULT:
Single stage amplifier is setup and the frequency response is simulated using
SPICE.
EXPERIMENT NO: 7
AIM:
To setup a RC phase shift oscillator and to simulate output using SPICE.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
PROCEDURE:
V1
12Vdc
N1
R1 R3
33k 2.2k C1 C2 C3
N3 N5 N6 N7
1u 1u 1u
R5 R6 R7V
Q1
N2 6.8k 6.8k 6.8k
BC107A
N4
R2
R4 C4
8.2k
1k 47u
* Data statements
Q_Q1 N3 N2 N4 BC107A
R_R1 N2 N1 33k
R_R2 N2 0 8.2k
R_R3 N1 N3 2.2k
R_R4 N4 0 1k
R_R5 N5 0 6.8k
R_R6 N6 0 6.8k
R_R7 N2 N7 6.8k
C_C1 N3 N5 1u
C_C2 N5 N6 1u
C_C3 N6 N7 1u
C_C4 N4 0 47u
V_V1 N1 0 12Vdc
*Analysis directives:
.PROBE
OBSERVATIONS:
RESULT:
RC phase shift oscillator is setup and output is simulated using SPICE.
EXPERIMENT NO: 8
AIM:
OBJECTIVES:
TOOL REQUIRED:
THEORY:
PROCEDURE:
CIRCUIT DIAGRAM:
V1
12Vdc
N1
R1 R2 R4 R3
4.7k 82k 82k 4.7k
C1 C2
N2 N3 N4 N5
0.022u 0.022u
Q1 Q2
V
BC107A BC107A
V
* Data statements
Q_Q1 N2 N4 0 BC107A
Q_Q2 N5 N3 0 BC107A
R_R1 N1 N2 4.7k
R_R2 N1 N3 82k
R_R3 N1 N5 4.7k
R_R4 N1 N4 82k
C_C2 N4 N5 0.022u
V_V1 N1 0 12Vdc
*Analysis directives:
.PROBE
OBSERVATIONS:
RESULT:
Astable multivibrator circuit is setup in SPICE and output is simulated.
EXPERIMENT NO: 9
AIM:
To setup an astable multivibrator using IC555 in SPICE and to simulate the output.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
Astable multivibrator is circuit which is not stable in either output state without
any applications of input trigger pulses. The astable multivibrator using IC 555 generates a
rectangular wave. The time during which the output is either high or low is determined by
the two resistors (R1 and R2) and a capacitor (C2) which is externally connected to the
555 timer. Initially when the output is high capacitor C2 starts charging towards Vcc
through R1 and R2. As soon as the voltage across the capacitor equals 2/3Vcc, the output
switches to low state. Now capacitor C2 discharges through R2. When voltage across C2
equals 1/3Vcc, the output goes high. Then the cycle repeats.
PROCEDURE:
CIRCUIT DIAGRAM:
N1
V1
8 5Vdc
U1
R1
VCC
2
4k 4 TRIGGER 3 N5
5 RESET OUTPUT
N3 6 CONTROL
THRESHOLD V
N2 7
DISCHARGE
GND
N6 555C
R2 1
1k
C2 C1
29n 1p
* Data statements
X_U1 0 N3 N5 N1 N6 N3 N2 N1 555C
C_C1 N6 0 1p
C_C2 N3 0 29n
R_R1 N2 N1 4k
R_R2 N3 N2 1k
V_V1 N1 0 5Vdc
*Analysis directives:
OBSERVATIONS:
RESULT:
Astable multivibrator circuit is setup in SPICE and output is simulated.
EXPERIMENT NO: 10
AIM:
To setup a regulated power supply using zener diode and to simulate the output in
SPICE.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
PROCEDURE:
CIRCUIT DIAGRAM:
R1 R2
N1 N2
100
V
1.2k
V1 D1
1Vdc
D1N750
* Data statements
D_D1 0 N2 D1N750
R_R1 N1 N2 100
R_R2 N2 0 1.2k
V_V1 N1 0 1Vdc
*Analysis directives:
.PROBE
OBSERVATIONS:
RESULT:
Regulated power supply using zener diode is setup and simulated using SPICE.
EXPERIMENT NO: 11
AIM:
To setup a Schmitt trigger circuit using IC741 and to simulate output in SPICE.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
PROCEDURE:
CIRCUIT DIAGRAM:
R1 R2
1k 4k
5Vdc V2
7
U1
3 5
V+
+ OS2
6
OUT
2 1 V
V-
- OS1
LM741
V
4
R3
V1 V3
VOFF = 0 -5Vdc 1k
VAMPL = 5v
FREQ = 1k
* Data statements
X_U1 N00040 N00075 N00059 N00072 N00049 LM741
R_R1 0 N00040 1k
R_R3 0 N00049 1k
V_V1 N00075 0
+SIN 0 5v 1k 0 0 0
*Analysis directives:
.TRAN 0 3ms 0 0
.PROBE
OBSERVATIONS:
RESULT:
Schmitt trigger circuit using IC741 is setup and output is simulated in SPICE.
EXPERIMENT NO: 12
HALF ADDER
AIM:
To setup a half adder circuit and to verify simulated output in SPICE.
OBJECTIVES:
TOOL REQUIRED:
THEORY:
Half adder is a combinational arithmetic circuit that adds two numbers and
produces a sum bit (S) and carry bit (C) as the output. If A and B are the input bits, then
sum bit (S) is the X-OR of A and B and the carry bit (C) will be the AND of A and B.
PROCEDURE:
CIRCUIT DIAGRAM:
DSTM1
A
S1 U1A
DSTM2 Implementation = A V 1
B 3 Sum
S1
2
Implementation = B V
V
7486
U2A
1
3 Carry
2
V
7408
* Data statements
+ IO_LEVEL=0 MNTYMXDLY=0
+ IO_LEVEL=0 MNTYMXDLY=0
*Analysis directives:
.TRAN 0 800us 0
.OPTIONS NOPRBMSG
.OPTIONS DIGINITSTATE= 0
.OPTIONS DIGMNTYMX= 4
.PROBE
OBSERVATIONS:
RESULT:
Half adder circuit is setup and SUM and CARRY outputs are verified using
SPICE.
EXPERIMENT NO: 13
SYNCHRONOUS COUNTER
AIM:
OBJECTIVES:
TOOL REQUIRED:
THEORY:
PROCEDURE:
CIRCUIT DIAGRAM:
V1
5Vdc
N2
U3A U5A V2
2
5Vdc
PRE
PRE
N1 4 15 Q0 4 15 Q1
DSTM1 J Q J Q
S1
CLK 1 1
CLK V CLK V
Implementation = Clock
V
16 14 16 14
K Q K Q
CLR
CLR
7476 7476
3
* Data statements
V_V1 N1 0 5Vdc
+ IO_LEVEL=0 MNTYMXDLY=0
V_V2 N2 0 5Vdc
+ IO_LEVEL=0 MNTYMXDLY=0
*Analysis directives:
.TRAN 0 4ms 0
.OPTIONS NOPRBMSG
.OPTIONS DIGINITSTATE= 0
.OPTIONS DIGMNTYMX= 4
.PROBE
OBSERVATIONS:
RESULT:
Synchronous counter is setup and output is simulated using SPICE.
The time period of an astable multivibrator's output waveform is calculated using the formula T = 1.38RC, where R and C are the resistance and capacitance in the circuit. This time period signifies the duration of one complete cycle of the rectangular waveform produced by the multivibrator, which has no stable states and continually oscillates between its high and low output states .
A Schmitt trigger circuit using IC741 serves as an inverting comparator with positive feedback. Its purpose is to convert any regular or irregular shaped input waveform into a square wave output voltage or pulse. This is achieved by setting a voltage divider with resistors R1 and R2 in the positive feedback of the 741 IC op-amp. The voltage across R1 is fed back to the non-inverting input, triggering the state change of the output Vout when the input voltage V1 exceeds certain threshold values: the Upper Threshold Voltage/Point (UTP) and the Lower Threshold Voltage/Point (LTP).
SPICE simulations help in understanding electronic components like diodes by allowing the user to create and simulate circuit schematics virtually. For instance, to study a diode's characteristics, one can use SPICE to create a circuit, modify the diode's model file, and simulate it to observe the V-I characteristics. This includes finding the cut-in voltage during forward bias and breakdown voltage during reverse bias, allowing for a deep comprehension of a diode's behavior under various conditions .
The design objectives of fabricating a PCB for an RC coupled amplifier include creating a layout that supports the assembly and soldering of components such as resistors, capacitors, and transistors necessary for signal amplification. The outcomes of such a fabrication process include a completed PCB that is capable of effectively amplifying audio signals with the components correctly placed and soldered to support the desired frequency response and gain characteristic. The entire process involves designing, etching, drilling, inserting components, and soldering to ensure the circuit's operational functionality .
The step-by-step procedure for fabricating a PCB for a bridge rectifier circuit includes: 1) Draw the circuit diagram. 2) Create the component layout on a graph sheet. 3) Prepare the PCB layout on a tracing sheet. 4) Cut the copper clad sheet to the appropriate size. 5) Transfer the PCB layout onto the copper side using screen printing or paint. 6) Etch the PCB in a ferric chloride solution or use an etching machine. 7) Clean the etched PCB with turpentine or thinner. 8) Drill terminal holes on the PCB using a suitable bit. 9) Insert all components correctly onto the PCB. 10) Finally, solder the components using a soldering iron or station .
A voltage divider circuit, consisting of resistors in series or parallel, distributes voltage across its elements such that each resistor in the series has a specific voltage drop, as determined by the voltage division rule. In SPICE simulations, a voltage divider can be simulated by creating a new project and schematic, placing the necessary resistor and voltage source components from libraries, and connecting them appropriately. The simulation profile can include a DC Sweep to observe voltages across the resistors as the input voltage is varied, providing insights into the voltage distribution in the circuit .
The Barkhausen criterion, which states that for a circuit to oscillate, the total phase shift around the loop must be 360° (or 0°) and the gain must be equal to one, governs the operation of an RC phase shift oscillator. In this oscillator, a common emitter amplifier provides the necessary gain while three RC sections in the feedback path contribute a combined phase shift of 180°. This configuration, when tuned to the correct frequency, satisfies the Barkhausen criterion, resulting in sustained oscillations. The RC values are chosen so each network contributes exactly 60° of phase shift, ensuring the total phase shift of 360° is achieved, maintaining continuous oscillation .
To simulate a zener diode regulated power supply using SPICE software, follow these steps: 1) Open the SPICE simulation software and create a new project. 2) Place necessary parts from libraries such as a zener diode (e.g. D1N750), resistors, and DC input voltage source. 3) Modify the part values as needed, setting the zener diode's breakdown voltage to the appropriate value (e.g., 4.7V for D1N750). 4) Connect the parts using designated software tools, adding a wire to complete the circuit. 5) Set up a DC Sweep analysis for the simulation, with specific start, end, and increment values for the input voltage. 6) Run the simulation to observe the regulated output voltage maintained across the load .
A common emitter audio amplifier amplifies audio signals by using a transistor configured in the common emitter configuration. This configuration allows for high voltage gain, making it essential in audio applications. The input signal is decoupled from the DC bias by an input capacitor, and the output transcription is similarly decoupled to ensure only amplified audio signals pass through. Biasing resistors provide the necessary voltage to enable the transistor's operation, while decoupling capacitors prevent DC signals from affecting the audio output. The frequency response is determined by the component values, which define the range of frequencies that the amplifier can properly handle .
The critical steps for soldering SMD components effectively include: 1) Pick up the component with tweezers and place it on the prepared pads. 2) Apply a small amount of solder to the tip of the soldering iron. 3) While holding the component in place with tweezers, touch the pad with the soldering iron to adhere the component. 4) For Integrated Circuits (ICs), position and solder two opposite pins of the IC to keep it in place before soldering the other pins .









