SimpleLayout_class2 - Network and Systems Laboratory
Download
Report
Transcript SimpleLayout_class2 - Network and Systems Laboratory
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
zzz
2011/12/16
Wireless Sensor Network And Labs fall 2011
1
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Today’s Class
Last week
Introduction
Create schematic library
Capture schematic
Create PCB library (footprint)
Layout
2011/12/16
Wireless Sensor Network And Labs fall 2011
2
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Through-hole Packages
SIP: single in-line packages
Through-hole package are
old, their number decreased
in modern design
DIP: dual in-line packages
2011/12/16
Wireless Sensor Network And Labs fall 2011
3
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
SMD Packages
Chip resistors, capacitors, inductors
0402, 0603, 0805, …
2011/12/16
Represent size of the chip
0805 means 0.08” x 0.05” rectangle
Wireless Sensor Network And Labs fall 2011
4
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
SMD Packages
SO: Small outline
Usually refer to IC with two rows of leads
QFP: Quad flat package
2011/12/16
Wireless Sensor Network And Labs fall 2011
5
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
SMD Packages
QFN: Quad flat package, no-leads
The packages we introduced just now are most
commonly used
Device datasheet should include the package
information
You will need it for PCB layout
2011/12/16
Wireless Sensor Network And Labs fall 2011
6
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
SMD Packages
BGA: Ball Grid Array
These two are widely used
in high end processor.
They allow more pin-out
from a single package. We
seldom use ICs in these
package, it is too difficult
to solder by hand
PGA: Pin Grid Array
2011/12/16
Wireless Sensor Network And Labs fall 2011
7
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Why To Buy
Various sources
Online retailers
www.digikey.com
www.mouser.com
Local distributors
2011/12/16
These are probably two of the world largest
online electronic components retailers. If
the component you need cannot buy from
these two sources, you might want to
consider the other component!
Wireless Sensor Network And Labs fall 2011
8
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Block Diagram
Connector
3-Pin
Infrared
Connector
3-Pin
Infrared
6V
Taroko
Location node
3.3V
Taroko
Control node
3.3V
Regulator
LM317L
Battery
4 AA
6V output
Connector
3-Pin
Motor
2011/12/16
Connector
3-Pin
Motor
Wireless Sensor Network And Labs fall 2011
6V
9
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Components
Battery connector: 2-pin,
Regulator: LM317L, 8-pin SOIC
Resistor, capacitor
Taroko connector
Location node: 2x5 pin, 2x3 pin
Control node: 2x5 pin, 2x3 pin
Infrared connector: 3 pin
Motor connector: 3 pin
2011/12/16
Wireless Sensor Network And Labs fall 2011
10
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
PCB Layout
Software
We are using “Altium Design 6”
There are many other software available
Process
1. Initial setup
2. Create schematic library
3. Capture schematic
4. Create PCB library
5. PCB layout
6. Output
2011/12/16
Wireless Sensor Network And Labs fall 2011
11
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
PCB
copper
1-layer board
copper
copper
2011/12/16
2-layer board
Multi-layer board
(Taroko is 4-layer board)
Wireless Sensor Network And Labs fall 2011
12
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Terminologies
Top layer: copper on top
Top overlay: white marks on top layer
Top paste: paste mask on top layer
Top solder: solder mask on top layer
Keep out layer: defines the shape of
the board
pads: holds the IC leads
vias: holes
Bottom layer: copper on bottom
Bottom overlay: white marks on Bottom layer
Bottom paste: paste mask on Bottom layer
Bottom solder: solder mask on Bottom layer
2011/12/16
Wireless Sensor Network And Labs fall 2011
13
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
PCB Library
Once you have every component you need on the
schematic library, you can start create PCB library
PCB library defines the footprint of the component
AD7798
2011/12/16
Wireless Sensor Network And Labs fall 2011
LM317L
14
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
What Is Footprint
A footprint created
in the software
2011/12/16
After finish the layout
and get the PCB board.
This is how it look like.
Wireless Sensor Network And Labs fall 2011
AD7798 placed on the
board
15
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Dimension
The basic idea is the
footprint you defined can
fits the chip
6.4mm
extra space for
soldering
Must follow the exact dimension
Other wise the component cannot solder on the board
Leave some extra space for soldering
2011/12/16
Wireless Sensor Network And Labs fall 2011
16
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Simple Calculation
7.7mm
4mm
(0.3* 1.85) mm
These are pads, they use to
hold the lead of the IC. You
can define the length you
want. You must leave some
space for soldering
2011/12/16
Wireless Sensor Network And Labs fall 2011
17
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
The Footprint You Need
LM317L Regurator
SOIC 8 (Check datasheet)
Power Connector (端子台)
Pitch 5.08mm
Infrared proximity connector
Pitch 2.0 mm
Connector: 2x5 pin, 2x3 pin, 3 pin
Pitch 2.54mm
Chip capacitor, resistor
0805
2011/12/16
Wireless Sensor Network And Labs fall 2011
18
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
LM317L Physical Dimension
2011/12/16
Wireless Sensor Network And Labs fall 2011
19
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Create Footprint – By Wizard
By wizard (old version altium)
Tool -> IPC Footprint Wizard
2011/12/16
Wireless Sensor Network And Labs fall 2011
20
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 1
2011/12/16
Wireless Sensor Network And Labs fall 2011
21
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 2
2011/12/16
Check datasheet
for correct
number
Wireless Sensor Network And Labs fall 2011
22
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 3 – No Need Thermal Pad
2011/12/16
Wireless Sensor Network And Labs fall 2011
23
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 4 – Use Default
2011/12/16
Wireless Sensor Network And Labs fall 2011
24
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 5 – Low Density
You can use large Toe Fillet,
hand soldering will be
easier
2011/12/16
Wireless Sensor Network And Labs fall 2011
25
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Use Default
2011/12/16
Wireless Sensor Network And Labs fall 2011
26
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 7 – Use Default
2011/12/16
Wireless Sensor Network And Labs fall 2011
27
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Give It A Name
2011/12/16
Wireless Sensor Network And Labs fall 2011
28
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
SOIC-8 Footprint
2011/12/16
Wireless Sensor Network And Labs fall 2011
29
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
X,Y Coordinate
(0,5.2)
8
5
1
4
(0,0)
(1.27,0)
2011/12/16
(2.54,0)
Wireless Sensor Network And Labs fall 2011
(3.81,0)
30
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Create Footprint
Manual edit
Place pads
Place overlay
2011/12/16
The white mark
Wireless Sensor Network And Labs fall 2011
31
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Power Connector
Create Footprint
2011/12/16
Wireless Sensor Network And Labs fall 2011
32
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Infrared Connector
millimeter
s
2011/12/16
Wireless Sensor Network And Labs fall 2011
33
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Copy Footprint
Copy miscellaneous component’s footprints
In you are using Win 7
Copy “Miscellaneous Connectors.IntLib” and “Miscellaneous
Devices.IntLib” to another directory
In C:\Program Files\Altium Designer 6\Library
Open and extract these two library
Copy following footprint
2011/12/16
Miscellaneous Devices.PcbLib
2012[0805]
Miscellaneous Connectors.PcbLib
HDR1x2, HDR1x3, HDR2x3, HDR2x5
Wireless Sensor Network And Labs fall 2011
34
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
The Footprint You Need
LM317L Regurator
SOIC 8 (Check datasheet)
Create by wizard
Power Connector (端子台)
Pitch 5.08mm
Manual create
Infrared proximity connector
Pitch 2.0 mm
Manual create
Connector: 2x5 pin, 2x3 pin, 3 pin
Pitch 2.54mm
Copy from miscellaneous component’s footprints
Chip capacitor, resistor
0805
Copy from miscellaneous component’s footprints
2011/12/16
Wireless Sensor Network And Labs fall 2011
35
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Link Schematic Library And PCB Library
After create all the footprint need, linking with the
schematic library
link schematic library and PCB library
Update schematic
Notes
Pins on the schematic library must map to the pins on
PCB library, which is identical to real chip.
2011/12/16
Wireless Sensor Network And Labs fall 2011
36
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Pin To Pin Mapping
2011/12/16
Wireless Sensor Network And Labs fall 2011
37
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Pin To Pin Mapping
2011/12/16
Wireless Sensor Network And Labs fall 2011
38
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Check Schematic And Choose Footprint
Choose Footprint
2011/12/16
Wireless Sensor Network And Labs fall 2011
39
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Is better to
follow this one
Normal Procedure
Procedure we took
Create component libraries in the
PCB software
1.
Normal procedure
Schematic library
Draw the circuit on the PCB
software
Create PCB library
3.
Make the hardware board
5.
2011/12/16
Layout
Export layout to manufacturer
output, send to PCB manufacturer
Home made PCB
Decide the shape of the board
Placing components
Make connections
1.
2.
3.
Decide the shape of the board
Placing components
Make connections
1.
2.
3.
Draw the circuit on the PCB
software
Choose footprint when you place
components
3.
Layout
4.
Capture schematic
2.
Link PCB and Schematic library
Update schematic
Choose footprint
Schematic library
PCB library
Link PCB and Schematic library
Capture schematic
2.
Create component libraries in the
PCB software
1.
Make the hardware board
4.
Wireless Sensor Network And Labs fall 2011
Export layout to manufacturer
output, send to PCB manufacturer
Home made PCB
40
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Now
Create your footprint
Choose correct footprint
Check schematic
2011/12/16
Wireless Sensor Network And Labs fall 2011
41
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Export to PCB
Compile the schematic and export the components to
PCB design document
Compile
Project -> Compile Document xxxxx.SchDoc
Export the footprints to PCB
2011/12/16
Design -> Update PCB Document xxxxx.PcbDoc
Wireless Sensor Network And Labs fall 2011
42
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Environment And Keep-Out
Setup the layout environment and defines the keep out
layer
Environment (optional)
(Right click) Option -> Board Options
Metric or Imperial
Snap grid
Define Keep-out
2011/12/16
Define the shape of your PCB board
Wireless Sensor Network And Labs fall 2011
43
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Component Placing
Place the component 01 02
Component placing is important
Carefully place the component according to the signal
path
Frequency used quick key
Dragging the component, press “space” to rotate
Dragging the component, press “l” to place at the other size
Place the bypass capacitor as close to the power pin as
possible
2011/12/16
Wireless Sensor Network And Labs fall 2011
44
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Design Rules
Editing design rules
It defines the rules that your PCB board must follow
Frequently used rules
Clearance – minimum distance between traces
Routing Width – minimum and maximum allowable trace
width
Routing Vias – minimum and maximum via size (diameter
and hold size)
At least you need to change “routing width”
2011/12/16
Wireless Sensor Network And Labs fall 2011
45
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
PCB Layout
Routing 01 02 03 04
My way
2011/12/16
Route the power line first, route them at the edge
Make the track width wider for power line
Route the signal line on the top layer as much as you can
Make the bottom layer as a continuous ground plane
Wireless Sensor Network And Labs fall 2011
46
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Place Some Signature
Just for fun
You can put some text on the “Overlay layer”
Either “Top Overlay” or “Bottom Overlay”
Text can be
2011/12/16
Team name
Members name
Date
Whatever you want
Wireless Sensor Network And Labs fall 2011
47
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Design Rules Check (DRC)
This function check everything
According to the rules you setup
Run Design Rules Check (DRC)
If errors found, must fix it
Clearance Constraint
Broken-Net Constraint
Fix errors and run DRC again
2011/12/16
Wireless Sensor Network And Labs fall 2011
48
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Ground (GND) Polygon Pour
Polygon Pour is a large area of copper
Usually use for GND
Route signal on one side, place GND polygon pour on
the other side
Connect every GND through a via to another side
Place GND polygon pour
And run DRC again
2011/12/16
Wireless Sensor Network And Labs fall 2011
49
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Fabrication Outputs
Export the layout to fabrication outputs
1. Export Gerber files
2. Export NCdrill file
3. Pack all files in project output directory
Send these files to PCB manufacturer
wait for about 1.5 weeks
cost about NT4000 ~ NT6000
you will get a professional PCB board
2011/12/16
Wireless Sensor Network And Labs fall 2011
50
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Send Files
Send me the whole project files
Whole project directory
One layout for each team
Before next Friday (12/23)
2011/12/16
I will check the files and send to manufacturer by Wednesday
Wireless Sensor Network And Labs fall 2011
51
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Will it work?
We’ll see
2011/12/16
Wireless Sensor Network And Labs fall 2011
52