Simple Layout Class 2 - Network and Systems Laboratory
Download
Report
Transcript Simple Layout Class 2 - Network and Systems Laboratory
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
zzz
2010/12/17
Wireless Sensor Network And Labs fall 2010
1
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Admin
Survey Presentation next week
Time
Team
9:10 am ~ 9:30 am
Team 1
9:30 am ~ 9:50 am
Team 2
9:50 am ~ 10:10 am
Team 3
Break
10:25 am ~ 10:45 am
Team 4
10:45 am ~ 11:05 am
Team 5
Break
11:20 am ~ 11:40 am
Team 6
11:40 am ~ 12:00 am
Team 7
15 minutes presentation, 5 minutes Q&A
During Q&A, next team prepare
Term project will reverse the demo sequence
2010/12/17
Wireless Sensor Network And Labs fall 2010
2
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
3
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
4
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
SMD Packages
Chip resistors, capacitors, inductors
0402, 0603, 0805, …
2010/12/17
Represent size of the chip
0805 means 0.08” x 0.05” rectangle
Wireless Sensor Network And Labs fall 2010
5
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
6
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
7
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
8
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Why To Buy
Various sources
Online retailers
www.digikey.com
www.mouser.com
Local distributors
2010/12/17
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 2010
9
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
2010/12/10
Connector
3-Pin
Motor
Wireless Sensor Network And Labs fall 2010
6V
10
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
2010/12/10
Wireless Sensor Network And Labs fall 2010
11
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
2010/12/10
Wireless Sensor Network And Labs fall 2010
12
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
PCB
copper
1-layer board
copper
copper
2010/12/17
2-layer board
Multi-layer board
(Taroko is 4-layer board)
Wireless Sensor Network And Labs fall 2010
13
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Terminologies
Top layer: copper on top
Top overlay: white marks 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
2010/12/17
Wireless Sensor Network And Labs fall 2010
14
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
LM317L
15
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
What Is Footprint
A footprint created
in the software
2010/12/17
After finish the layout
and get the PCB board.
This is how it look like.
Wireless Sensor Network And Labs fall 2010
AD7798 placed on the
board
16
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
17
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
18
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
19
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
LM317L Physical Dimension
2010/12/17
Wireless Sensor Network And Labs fall 2010
20
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Create Footprint – By Wizard
By wizard
Tool -> IPC Footprint Wizard
2010/12/17
Wireless Sensor Network And Labs fall 2010
21
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 1
2010/12/17
Wireless Sensor Network And Labs fall 2010
22
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 2
2010/12/17
Check datasheet
for correct
number
Wireless Sensor Network And Labs fall 2010
23
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 3 – No Need Thermal Pad
2010/12/17
Wireless Sensor Network And Labs fall 2010
24
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 4 – Use Default
2010/12/17
Wireless Sensor Network And Labs fall 2010
25
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 5 – Low Density
You can use large Toe Fillet,
hand soldering will be
easier
2010/12/17
Wireless Sensor Network And Labs fall 2010
26
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Use Default
2010/12/17
Wireless Sensor Network And Labs fall 2010
27
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Step 7 – Use Default
2010/12/17
Wireless Sensor Network And Labs fall 2010
28
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Give It A Name
2010/12/17
Wireless Sensor Network And Labs fall 2010
29
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
SOIC-8 Footprint
2010/12/17
Wireless Sensor Network And Labs fall 2010
30
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Create Footprint
Manual edit
Place pads
Place overlay
2010/12/17
The white mark
Wireless Sensor Network And Labs fall 2010
31
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Jump To Location
(0,5.2)
8
5
1
4
(0,0)
(1.27,0)
2010/12/17
Wireless Sensor Network And Labs fall 2010
32
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Power Connector
Create Footprint
2010/12/17
Wireless Sensor Network And Labs fall 2010
33
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Infrared Connector
millimeter
s
2010/12/17
Wireless Sensor Network And Labs fall 2010
34
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
2010/12/17
Miscellaneous Devices.PcbLib
2012[0805]
Miscellaneous Connectors.PcbLib
HDR1x2, HDR1x3, HDR2x3, HDR2x5
Wireless Sensor Network And Labs fall 2010
35
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
36
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.
2010/12/17
Wireless Sensor Network And Labs fall 2010
37
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Pin To Pin Mapping
2010/12/17
Wireless Sensor Network And Labs fall 2010
38
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Pin To Pin Mapping
2010/12/17
Wireless Sensor Network And Labs fall 2010
39
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Check Schematic And Choose Footprint
Choose Footprint
2010/12/17
Wireless Sensor Network And Labs fall 2010
40
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
You should
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.
2010/12/17
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 2010
Export layout to manufacturer
output, send to PCB manufacturer
Home made PCB
41
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Now
Create your footprint
Choose correct footprint
Check schematic
2010/12/17
Wireless Sensor Network And Labs fall 2010
42
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
2010/12/17
Design -> Update PCB Document xxxxx.PcbDoc
Wireless Sensor Network And Labs fall 2010
43
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
2010/12/17
Define the shape of your PCB board
Wireless Sensor Network And Labs fall 2010
44
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
45
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”
2010/12/17
Wireless Sensor Network And Labs fall 2010
46
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
PCB Layout
Routing 01 02 03 04
My way
2010/12/17
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 2010
47
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
2010/12/17
Team name
Members name
Date
Whatever you want
Wireless Sensor Network And Labs fall 2010
48
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
49
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
50
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
2010/12/17
Wireless Sensor Network And Labs fall 2010
51
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 Tuesday (12/21)
2010/12/17
I will check the files and send to manufacturer by Wednesday
Wireless Sensor Network And Labs fall 2010
52
Network and Systems Laboratory
nslab.ee.ntu.edu.tw
Will it work?
We’ll see
2010/12/17
Wireless Sensor Network And Labs fall 2010
53