2. Contents
Basics of Circuits and Components
Concepts of Printed Circuit Boards (PCB’s)
Electronic System Design Flow
Introduction to PSPICE model
Schematic Design
PSPICE simulation
PCB design using OrCAD
Testing design
Workshop on OrCAD
2 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
3. Basics of Circuits and Components
What is a circuit?
Any system that is formed by interconnecting electronic
components.
A system that processes electronic data.
Circuits maybe classified as Analog circuits or digital circuits.
Mixed signal circuit is also possible.
3 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
4. Basics of Circuits and Components Cont…
What is Component?
Any discrete electronic device that understands electronic
Signals.
Electronic Components are generally made up of metals and
semiconductors
Smaller components may be integrated together to build larger
components.
4 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
5. Printed Circuit Boards
PCB is a platform that is used to place and connect all the
components together.
The board is made out of a insulator/substrate.
Components are placed in the holes of the PCB.
The leads of the components are connected using copper
tracks.
Printed circuit boards are classified into following:
Single sided PCB (Components on one side and tracks on
other side)
Double sided PCB (Components on one side and tracks on
both sides)
5 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
6. Types of PCB’s
Single Sided PCB and Double Sided PCB
6 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
7. Electronic System Design Flow
Schematic Design
Circuit Simulation
PCB design
Testing and
Verification
7 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
8. Introduction to PSPICE model
SPICE: Simulation Program with Integrated Circuit
Emphasis.
PSPICE: Programmable SPICE
It is computer program that help in modeling components
and simulating their functionality.
A SPICE model is a text-description of a circuit
component used by the SPICE Simulator to
mathematically predict the behavior of that part under
varying conditions.
8 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
9. PSPICE model Cont… Transistor Parameters
9 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
10. Schematic Design
First step for building a electronic circuit/system.
Schematic is a standard way representation of circuit.
It can be understood by any circuit designer.
It can be modified as per the requirements.
Schematic is used by SPICE for circuit simulation.
Same schematic maybe used to design PCB.
D2
1 2
1N4376
V1
VOFF = 0 R1
VAMPL = 5
FREQ = 50 {rv ar}
0
10 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
11. Complex Schematic Design
VCC LPC2148 D.K.
P2
J2 P1
1
5
1 R13 J3 5 9
2 1K HEADER 16 9 4
4 0 8
0 8 3
HEAD ER 2 3 7
U2 7 2
9
8
7
6
5
4
3
2
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
2 6
13 12 RXD0 6 1
8 R1IN R 1OUT 9 1
R2IN R 2OUT RXD1
L8
L7
L6
L5
L4
L3
L2
L1
0 10 14 C ONNECTOR DB9
0 TXD0 T2IN T1OUT
/W
RS
N
11 7 C ONNECTOR DB9
E
TXD1 T1IN T2OUT
R
C1 1
D1 D2 D3 D4 D5 D6 D7 D8 3 C1+
VCC_BAR VCC_BAR VCC _BAR CAP 4 C1-
5 C2+
C2-
D
R12 C2 2
LE
V+
D
D
D
D
D
D
D
6
LE
LE
LE
LE
LE
LE
LE
CAP V-
ND
L1 L2 L3 L4 L5 L6 L7 L8 10K 16
G
VCC
VCC
5
0
1
VCC C3 C4 MAX3232
J10
C11
CAP CAP
VCC AD0.7 6
AD1.7 5
R4 0 4
100N AD1.5
R5 VCC AD1.4 3
2K J5 U3 AD1.3 2
8
U1 2K 4 0 1
AD1.0
VCC L1 16 19 3 1 5
CC
L2 P1.16 P0.0/TXD0 TXD0 A0 SDA SDA_MEM
12 21 2 I2C 2
V
L3 P1.17 P0.1/RXD0 R XD0 A1
R6 R7 R8 R9 8 22 1 3 Analog I/P
L4 4 P1.18 P0.2/SCL0 26 A2
J1 L5 48 P1.19 P0.3/SDA0 27 VCC 0 6 VCC
P1.20 P0.4/SCK0 0 SCL_MEM SC L
10K 10K 10K 10K L6 44 29 J6
ND
1 2 L7 40 P1.21 P0.5/MISO0 30 7
G
TRST 3 4 L8 36 P1.22 P0.6/MOSI0 31 6 WP R23
TDI 5 6 P1.23 P0.7/SSEL0 SCK0 5 RESISTOR
4
TMS 7 8 32 33 MISO0 4 AT24C 01A
R/W P1.24 P0.8/TXD1 TXD1
TCK 9 10 28 34 MOSI0 3 SPI0 1 4
EN P1.25 P0.9/RXD1 R XD1 SDA_MEM
RTCK 11 12 RTCK 24 35 SSEL0 2
TDO 13 14 TDO 64 P1.26/RTC K P0.10/RTS1 37 1 0 SW8
TDI P1.27/TDO P0.11/SCL1 SC L_MEM 0
15 16 60 38 RST_ISP
TCK P1.28/TDI P0.12 AD 1.3
17 18 56 39
TMS P1.29/TCK P0.13 AD 1.4 2 3
19 20 52 41
TRST P1.30/TMS P0.14/SDA1 SD A_MEM 0
20 45
P1.31/TRST P0.15 AD 1.5
sw[1:6]
CON NECTOR EDGE 10x2 3 LPC2148 D 46 sw1
J8 VCC 5 RCTX1 P0.16 47 sw2
Y2 RCTX2 P0.17/SCK1 53 sw3 H EADER 6 sw1 1 4 0
1 23 P0.18/MISO1 54 sw4 R1
2 0 43 VDD3 P0.19/MOSI1 55 sw5 1 SW2
51 VDD3 P0.20/SSEL1 1 sw6 10K 2 SWTCH1
32768 49 VDD3 P0.21 2 3
VBAT P0.22 AD 1.7 2 3
BDG_E R10 R11 58 4
6 P0.23 5 sw2 1 4
10K 10K C9 C 10 18 VSS1 9 6 VCC
RS
J7 25 VSS2 P0.25 10 R2 R150 SW3
20P 20P 42 VSS3 USBD+ 11 33 1.5K SWTCH2
1 50 VSS4 USBD - 13 R3
VSS5 P0.28 J4 2 3
2 14 C5 C6 33 R18
P0.29 AD 0.7 sw3 1
63 15 4
0 0 0 VREF P0.30 AD 1.0
17 18P 18P VCC 1 2
BAT BACKUP 0 7 P0.31/USBled 62 R14 3 SW4
VCC VDDa X1 R 17
61 4 SWTCH3
59 X2 57 Y1 2K 10K 5
VSSA RST 12MHz 6 2 3
1 7 sw4 1 4
3
J9 2 10K
10u C7 C8 0 1 Q2 SW5
D10 C16 BC807 SWTCH4 VC C
VREF VC C C15 1 SW1 4 39P 39P
2
2 3
0 100n sw5 1 4
C 12 C 13 C14 rst D9 SW6
2 3 SWTCH5
LED
100N 100N 100N 0 L1
BAT54C/SOT 0 2 3 470uH
0 sw6 1 4
VC C R22
RESISTOR SW7
0 0 0 R16 J11 SWTCH6
330 supply
2 3
C 19
VC C C AP
3
2
1
0
0
VCC_BAR 0
VC C_BAR C17 U5
U4 CAP NP 1
R21 VCC SSEL0 R24 2 NC
6 5 4
4 5 0 MOSI0 3 CS
SW9 30k IN OUT RESISTOR 4 Din
J12 ON /OFF 1 C20 5 VSS1
G D
AD J VDD
N
2 47U SCK0 6
ON/OFF 7 CLK/SCLK
1 1 2 3 MISO0 8 VSS2
3
2 C 21 LM2941/TO220 9 Dout
100u R 19 R20 R25 10 NC
VCC DET1
R VOLT RVOLT 10K 11
0 DET2
H EADER 2 VCC R26
10K MMC/SD
J13 0
J14 J15 R 27
J16 1k 0
1 0
0 1 1
1
D 11
HEADER 1 PW_LED
HEADER 1 HEADER 1
H EADER 1
0
Prof. Anish Goel
11 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
12. PSPICE simulation
This can perform :
Transient analysis.
Frequency analysis.
Simulation at different temperatures.
12 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
13. PCB design using OrCAD
No requirement for designing PCB separately.
PCB can be generated from the schematic.
Placement of the components is the next step.
Routing of tracks can be done manually or automatically.
All PCB design rules are taken care by the DRC.
Modifications in PCB can be made by changing the schematic
directly.
The tool generates a .gerb file that can be directly fed to the
CNC machine for PCB fabrication.
13 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
15. Testing and Verification
Testing of the circuit is done by applying all the possible
combinations of inputs and verifying the expected
outputs.
Fault during testing can be analyzed by looking at the
schematic directly.
15 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
16. Targets to the students
Recollect the basic knowledge of these courses:
Electronic devices and circuit.
Digital Circuits.
Linear electronic circuit.
Microprocessors and interfacing.
For knowledge about electronic components:
Electronic Engg. Materials and Components.
Combine all these knowledge to develop circuits like:
Amplifiers and filters (LEC)
Counters and ALU (DC and MuP)
Any other application oriented circuit.
16 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
19. Workshop on OrCAD
Workshop on OrCAD covers the following topics:
Basic schematic design.
Simulation using PSPICE.
Circuit design for complex circuitry.
Generating netlist file.
Generating PCB from netlist.
Placing components.
Routing connections.
Generating gerb file by post processor.
Taking films for PCB fabrication.
Students will be provided with an evaluation version of
the software that holds good for 6months to 1 year.
19 OrCAD of Cir. Sim. and PCB Design ANISH GOEL
20. Thank you …
This presentation is also available at:
www.discovermechatronics.blogspot.com
20 OrCAD of Cir. Sim. and PCB Design ANISH GOEL