Upload
others
View
18
Download
0
Embed Size (px)
Citation preview
FYS4260 – Spring 2018Microsystems and electronic packaging and interconnection technologies
Lab Project 1 - Introduction
Lab supervisors• Halvor Strøm• Erlend Bårdsen
• Stein Lyng Nielsen• David M. Bang
• Offices at ELAB, rom FV115• [email protected]
• Available all week, come by at elab, send us an email or give us a call if you need help.
Project objective
Create and build your own electronic circuitboard, from idea to an assembled, fully workingand tested PCB (Printed Circuit Board).
What is a PCB?• A printed circuit board (PCB) mechanically supports and
electrically connects electronic components using conductive tracks.
• Components are soldered to pads on the surface of the PCB.• Using vias to
connect the different conductive layers.
Process FlowIDEA
DRAWSCHEMATIC
COMPONENTPLACEMENT
ROUTING
MechanicalVerification
PCBPRODUCTION
MODIFICATIONS
TESTING
PCB ASSEMBLYCircuit
Simulation
DESIGN GOAL
SPECS
Lab work• At room FV204• 10 computers. • Organized as «workshops», where each week a
short tutorial will be given, explaining the next step in the design phase.
• One workshop on the lecture slot on thursdays. Depending on the number of students more times will be organized as needed.
• Show up on one of the workshops each week.• It’s mandatory to show your work once a week,
preferably in the lab!
Lab work• Access to FV204 outside normal workours (8-16)
only with activated access cards. If you need accesssend an email to the common course email with yourfull name, student card nr and UiO username.
• CadSTAR can be installed on any computer only in the UiO domain.
• It’s mandatory to show your work once a week, preferably in the lab!
Lab info• Everyone has to make their own schematics
and PCB, but you are welcome to collaboratewith each other on the same design.
• There is a big difference between workingtogheter and ending up with almost identicalPCBs, and just copying someone elsedesign.
• -> You will not learn anything, and I will seethe difference … ;)
Lab «Process Flow steps»
1. Find/decide on a design you want to do.2. Make the schematics in CadSTAR.3. Route the design in CadSTAR PR Editor.4. Generate production files. 5. The PCB is produced externally.6. Assemble the board at ELAB. 7. Test the board, do modifications.8. Write a report. 9. Oral presentation.
Time scedule 2018• 31/1 – Deadline for project choice• 7/2 – Deadline for Design Goal Specifications• 14/2 – Deadline for delivering final schematics• 21/3 – Deadline for delivering final pcb production
files• 24-26/4 – Assembly of boards at ELAB.
– Two groups, one day each– Starts at 0900!
• 5/5 – Deadline for delivering project report• 15/5 – Oral presentation
Project lectures, workshops and lab daysWeek Date Time Activity Place Who
3 Th. 18. Jan. 14:15–16:00 Introduction to Lab projects Aud Ø257 ELAB
4 Th. 25. Jan. 14:15–16:00 CadSTAR Schematics Aud Ø257 ELAB
56 Workshop 1 FV204 ELAB
7 Workshop 2 FV204 ELAB
89 Workshop 3 FV204 ELAB
10 Workshop 4 FV204 ELAB
11 Workshop 5 FV204 ELAB
12 Workshop 6 FV204 ELAB
17 Tu 24 + Th 26. Apr. All day Lab project assembly day ELAB FV110 ELAB
About the design
• Find a design you want to do!• Ideas at www.discovercircuits.com
or pick one of these:• Low Power ISM Tranceiver• Headphone Amplifier• FM Transmitter (Mobile to car FM stereo)
FM Transmitter
• Si4713 FM Transmitter
• ATMega48/328 8-bit Microcontroller
• Capacitive Touch Buttons
• 128 x 32 pixelsLCD
Low Power ISM Tranceiver
• ATXMega32 MCU• Si4455 ISM Radio at
868MHz• UART (serial) to PC
or Rasberry Pi• Temp and Humidity
sensors
Discrete OpAmp (Amplifier)
• OpAmp built withdiscrete components
• No Microcontroller• Dual Channel• ~2W max• Runs on batteries or
from 5V switcher
Custom Design?• Only components already in library
– Possible to ask for new components, but strict rules to what we might accept.
– Database at http://tid.uio.no/elab/FYS4260_html_Lib/index.htm
• No high power / high current designs. • No new microcontroller designs!
– Use FM or ISM design as a start, and addmodifications (without altering original functionality) ifyou want to build a «custom» microcontroller board.
• Each custom design needs to be approved by us!
About the circuit layout (pcb)
• Starting size 5x7cm• Use ELAB components• Four layers• SMD Components only on top side• Use default FYS4260 settings
Project Tools
• For this course we are going to useCadSTAR as our main tool. – Design Editor to create the schematics– PR Editor to place and route the design– Mechanical models in Boardmodeller– (Circuit simulations in Pspice/LTspice)
LAB PROJECTS WALK TROUGH
FM Transmitter
• Si4713 FM Transmitter
• ATMega48/328 8-bit Microcontroller
• Capacitive Touch Buttons
• 128 x 32 pixelsLCD
FM Transmitter Description
• Consists of a MCU which controls a FM transmitter, monitors the touch pads and updates the display.
• FM transmitter will transmitt the audio signal input on the 3.5mm stereo jack connector.
• Large input DC converter
FM Transmitter Top Schematics
QTOUCH, PAGE 6
SCLSDA
QT_nCHANGEQT_nRESET
POWER, PAGE 5
PC_5V0
MCU, PAGE 2
SDASCLFM_nRST
PC_RX
PC_TXMOSI
QT_nCHANGE
SCK
D_nCS1
D_A0D_nRST
D_BACKLIGHT
QT_nRESET
DISPLAY, PAGE 4
MOSISCKD_A0D_nRSTD_nCS1D_BACKLIGHT
FM-TRANSMITTER, PAGE 3
LEFT_INPUT
RIGHT_INPUT
FM_nRSTSCLSDA
FM_ANTENNA TP100TP/WIRESTUBWIRESTUBAudio in
Power in
PC com. DISPLAY
BUTTONS
FM tranceiver
MCU
POWER
FM Transmitter Schematics - Power
PC_5V0
C502 1
2
10UF
C508 1
2
100N
F
C506 1
2
100N
F
C503 1
2
100N
F
C507 1
2
100N
F
D500
A
C
LED
GRE
EN
C500
1
2
10UF
C501
1
2
100N
F C509 1
2
100N
F
C505 1
2
100N
F
C504 1
2
100N
F
P500
2 Vin
1
ADJ
3VoutLM317MDT
R500
1
2
2K20
R501
1
2
270R
R502
1
2
330R
R503
1
2
330R
P3V0
FM Transmitter Schematics - MCU
SDASCL
FM_nRST
PC_RXPC_TX
MOSI
QT_nCHANGE
SCK
D_nCS1D_A0D_nRST
D_BACKLIGHT
QT_nRESET
R201
1
2
330R
U200
4 VCC6 VCC18 AVCC20 AREF
12 PB0 / ICP113 PB1 / OC1A14 PB2 / nSS15 PB3 / MOSI16 PB4 / MISOMISO17 PB5 / SCK7 PB6 / XTAL18 PB7 / XTAL2
29 PC6 / nRESETnRESET
3 GND5 GND21 GND 28SCL / PC5
27SDA / PC426ADC3 / PC3'
25ADC2 / PC224ADC1 / PC123ADC0 / PC0
11AIN1 / PD710AIN0 / PD6 LED_PAD_RIGHT9T1 / PD5 LED_PAD_DOWN2T0 / PD4 LED_PAD_OK1INT1 / PD3 LED_PAD_UP32INT0 / PD231TXD / PD130RXD / PD0
22ADC719ADC6
ATMEGA48
D200
A
C
LED
GRE
EN
CN200
1 MISOMISO
4 MOSI
3 SCKSCK 6GND
5nRESET nRESET
2VCCAVRISP R2
06
1
2
4K70
R210
1
2
4K70
R209
1
2
4K70
P3V0
P3V0P3V0
P3V0 P3V0LED_PAD_LEFT
MOSI
SCLSDA
R200
1
2
330R
D201
A
C
LED
REV
GRE
EN
X2003
1
2
BSS138
P3V0
LED_PAD_UP
FM Transmitter Sch - Tranceiver
LEFT_INPUT
RIGHT_INPUTFM_nRST
SCLSDA
FM_ANTENNA XTAL300
1 2
32k768
R301
1
2
4K70
R300
1
2
4K70 R3031 2
0R0
L300
1
2
120n
HC301
1 2
470NF
C303 1
FM_RCLK
2
12PF
R3021 2
0R0
U300
11 VDD10 VIO
5 nRST6 nSEN7 SCLK8 SDIO9 RCLKFM_RCLK
4 TXO
3
RFGND
21
GND
12
GND
19GPO118GPO2/nINT
17DCLK FM_DCLK13DIN14DFS
15RIN
16LINSi4713 C300
1 2
470NF
C302 1
2
12PFP3V0
P3V0
FM Transmitter Schematics –Capacitive Buttons
SCLSDA
QT_nCHANGEQT_nRESET
R606
1
2
47K0
R607
1
2
47K0
R6051 2
4K70R6041 2
4K70R6031 2
4K70R6021 2
4K70R6011 2
4K70R6001 2
4K70IC600
9 VDD
12 SDA15 SCL14 nCHANGE13 nRESET
11 MODE
8 VSS 16KEY6
17KEY5
1KEY4
2KEY3
3KEY2
4KEY1
5KEY0AT42QT1070
TP605
TP/PAD/1.5MM
TOUCH_DOWN PAD 1.5mm
TP604
TP/PAD/1.5MM
TOUCH_RIGHT PAD 1.5mm
TP603
TP/PAD/1.5MM
TOUCH_OK PAD 1.5mm
TP602
TP/PAD/1.5MM
TOUCH_LEFT PAD 1.5mm
TP601
TP/PAD/1.5MM
TOUCH_UP PAD 1.5mm
TP600
TP/PAD/1.5MM
TOUCH_GUARD PAD 1.5mm
P3V0P3V0 P3V0
FM Transmitter Sch – Display
MOSISCKD_A0D_nRSTD_nCS1
D_BACKLIGHT
R400
1
2
39R0
X401
3
1
2
BSS138
C401
1
21U0F
C403
1
21U0F
C402 1
2
1U0F
U400
13 SI14 SCL15 A016 nRST17 nCS1
18 LED+19 LED-
11
VSS
1
V0
2
V1
3
V2
4
V3
5
V4
6C2-
7C2+8C1+
9C1-10VOUT
12VDDNHD-C12832
C404 1
2
1U0F
C407
1
2
1U0F
C4061 21U0F
C405
1 2
1U0F
C400 1
2
1U0F
P3V0 P3V0
Key points• Few components• Mechanical planning important, how do you
want to «interface» with your board, used in what environment (multiroom, car, inhouse)?– Capacitive buttons (with LEDs?)– Display– Antenna (internal/external)– Power source (eg wall transformer, car adapter,
battery, …)• Possible to extend with own functionality?
Component Side
QtouchAT42QT107D
MCUATMega328
FM TranceiverSi4713
Bottom Side (User front)
Low Power ISM Tranceiver
• ATXMega32 MCU• Si4455 ISM Radio at
868MHz• UART (serial) to PC
or Rasberry Pi• Temp and Humidity
sensors
Low Power ISM Description
• Consist of a MCU which execute programmed logic, sensors, and an ISM radio transmitting and receivingdata packets to and from other low power ISM boards.
• A complete setup needs:– One concentrator board connected to a PC/RPi– One or more sensor boards.
• Only difference between the concentrator board and the sensor board are the code uploaded to the MCU, you shall only make on design!
ISM Top Schematics
SPIGPIO
POWER
MCU RADIO
R131 2
390RR121 2
390R
R101 2
390R
CN3
1VCC
2D-
3D+
4ID/SENSE/NC
5GND6 SHIELD
uUSB
CN2
1
2
35V_IN
4
5
6
PH6
R111 2
390R
R14
1
2
1M00
R15
1
2
1M00
CN1
1
2
3
4
5
PH5
:MCUEXT_1:MCUEXT_2
:MCUPC_TX:MCUPC_RX
:MCUUSB_D-
:MCUUSB_D+
:MCUEXT_3
P3V3
5V_IN
ISM Schematics - Power
C20
1
2
100N
F
C3
1
2
100N
F
C16
1
2
100N
FC14
1
2
100N
F C18
1
2
100N
FC13
1
2
100N
FC23
1
2
10UF
P1
1 IN
3 EN
2
GND
4NR
5OUTTPS73633
C1
1
2
100N
F C21
2
4U7F
C22
1
2
100N
FC21
1
210
0NF C2
4
1
2
100N
F
R9
1
2
0R0
P2
1VB
2GND
3VB
CR24
50C15
1
2
4U7F
R8
1
2
0R0
P3V3P3V3 P3V3 P3V3P3V3 P3V3 P3V3P3V3 P3V3
P3V3
5V_IN
Use to selectpower source.- 5V- Battery
HUMIDITY SENSOR HELLO BUTTON
CN4
1 2
3 4
5 6
PH3X2
C4
1
2
8P2F C6
1
2
8P2F D1
A
C
LED
GRE
EN
U1
40 PA0 / ADC0 / AREF41 PA1 / ADC142 PA2 / ADC2 / ASYNC43 PA3 / ADC344 PA4 / ADC41 PA5 / ADC52 PA6 / ADC63 PA7 / ADC7
4 PB0 / ADC8 / AREF5 PB1 / ADC96 PB2 / ADC10 / ASYNC7 PB3 / ADC11
10 PC0 / OC0A / SDA11 PC1 / OC0B / SCL12 PC2 / RXD0 / ASYNC13 PC3 / TXD014 PC4 / OC1A / nSS15 PC5 / OC1B / MOSI16 PC6 / RXD1 / MISO17 PC7 / TXD1 / SCK
8
GND
18
GND
30
GND
38
GND37PR1 / XTAL136PR0 / XTAL235PDI_CLOCK / RESET PDI_CLK34PDI_DATA PDI_DATA
33PE3 / TXD032PE2 / RXD029PE1 / OC0B / SCL SCL28PE0 / OC0A / SDA SDA
27PD7 / D+ / TXD1 / SCK26PD6 / D- / RXD1 / MISO25PD5 / OC1B / MOSI24PD4 / OC1A / nSS23PD3 / TXD022PD2 / RXD0 / ASYNC21PD1 / OC0B20PD0 / OC0A
39AVCC31VCC19VCC9VCC
ATXMEGA32A4U
R3
1
2
10K0
R4
1
2
390R
R2
1
2
100K
XTAL1
1 2
32k768
R16
1
2
10K0
SW1
1
2 3
4SKHUALE
R6
1
2
10K0
U2
1 SDA
SDA
6 SCL 2GND5VDD
Si7006
R5
1
2
SCL
10K0
:RADIO Si4455-SDO:RADIO Si4455-SCLK
:RADIO Si4455-SND
:RADIO Si4455-nSEL
:TOP EXT_3
:RADIO Si4455-SDI:RADIO Si4455-GPIO2:RADIO Si4455-GPIO3
:TOP EXT_1:TOP EXT_2
:TOPPC_TX:TOPPC_RX
:TOPUSB_D+ :TOPUSB_D-
:RADIOSi4455-nIRQ:RADIOSi4455-GPIO1:RADIOSi4455-GPIO0
P3V3
P3V3
P3V3
P3V3
P3V3 P3V3P3V3P3V3
PDI_CLK
PDI_DATA
EXT_1
ISM Schematics - MCU
ISM Schematics - Radiotry
NU
R7
1
2
10K0
C8
1
2
10PFC1
9
1
2
5P1F
L51AN
TENN
A
2
1n8HL21 2
8n2HL11 2
120nH
L31 2
6n8H
XTAL2
24
1
GND3
30MHz
C10
1
2
1P2F
C7
1 2
1P2F
C5
1 2
33PF
C12
1
2
3P0F
C9
1 2
68PFC1
7
1
2
5P1FC1
1
1
2
2P7F
U3
4 RXn3 RXp
5 TX
18 XIN17 XOUT
1
GND
6
GND
9
GND
21
GND_TAB
20GPIO319GPIO211GPIO110GPIO0
2SND12nIRQ13SCLK14SDO15SDI16nSEL
8VDD7VDD
Si4455
L71 2
27nH
L41 2
6n8H
L6
1
2
18nH
TP1
TP/PAD/1.5mmPAD 1.5mm
:MCUSi4455-GPIO3
:MCUSi4455-GPIO0
:MCUSi4455-nIRQ
:MCUSi4455-GPIO1
:MCUSi4455-SDO
:MCUSi4455-SND:MCUSi4455-SCLK:MCUSi4455-SDI :MCUSi4455-nSEL
:MCUSi4455-GPIO2
P3V3
P3V3P3V3
PCB Antenna
Key Points• Measures humidity and temperature
– Three pins supported in firmware for customintructions.
• PCB Antenna needs to be very accuratelydesigned!
• Needs two boards to communicate => more work on assembly day.
• Depends on a PC/Rpi etc to have anymeaningfull function.
• Many pins available for own functionality.
Discrete OpAmp (Amplifier)
• OpAmp built withdiscrete components
• No Microcontroller• Dual Channel• ~2W max• Runs on batteries or
from 5V switcher
Amplifier Schematics - Top
MicroFitPinheaderfor battery
5V0 Inputto SwitcherEitherUSB or2.1mm(Select one)
Roght ChannelLeft Channel(for simulation)
3.5mm Jack or Phono connectorfor signal in.
3.5mm Jack or Phono connectorfor signal out(Select one)
"Gain"potmeters
Fiducial MarksMountingHoles3.2mm
Potmeter to replace fixed resistors used only forsimulation on left channel. Remove resistors from pcb.
DO NOT CONNECTSWITCH TO GND
1 / 411.10.2016
halvorst
TOPheadphone amplifier v1
RIGHT CHANNELLEFT CHANNEL
MARK[1-3]FIDUCIAL MARK
CN1
4L Ch3Switch2R Ch1COM
Jack 3.5 Stereo
MH[1-2]1MH/3.2mm
CWRP4
2
1
3
10K0
CN4
1VCC
2D-
3D+
4ID/SENSE/NC
5GND6 SHIELD
uUSB
CWRP5
2
1
3
10K0
CN5
1 VPOS_IN
2
3 VNEG_IN
MICRO-FIT
CN2
4 L Ch3 Switch2 R Ch1 COM
Jack 3.5 Stereo
CN7
1
2 34
Phono Mono
CN6
1
2 34
Phono Mono
CW
RP2 21
3Q
2_C
100R
CN3
132
PJ-202BH
SHEET NAME:DATE:
PROJECT:
SHEET:USER:
ELAB, Dept. of PhysicsUNIVERSITY OF OSLO©
:LEFT CHANNELLEFT_IN
:RIGHT CHANNELRIGHT_IN
:LEFT CHANNEL LEFT_OUT
:LEFT CHANNEL LEFT_OUT
:RIGHT CHANNEL RIGHT_OUT
:RIGHT CHANNEL RIGHT_OUT
P5V0
Q1B_EQ1A_E
POWER
Amplifier Schematics - Power
Switcher circuit 5V -> +/-12V Switch to selectPower Source:TOP - SwitcherMID - OffBOT - Direct
C141
2 4U7F
/25V
L1
1
2
6U8
D9
A
C
B054
0WS
SW1
2
6875
431
EG2310A
R21
1
2
4K70
P1
3 SWN
4 SWN
13 GND
2 VOUTN
14 VPP15 SDA16 SCL1 ADDR
17
GND7RAMPP
6RAMPN
9VOUTP VPOS_SW
10CAPP11CAPP
12SWP
5VIN8nSHDN
LTC3582-12
C131
2 4U7F
/25V
C17
1 2
10NF
C151
2 4U7F
/25V
C161 2
1U0F
C18
1 2
10NF
L21 2
6U8
D10
A
CB054
0WS
D11
A
C
LED
LIG
HTBL
UE
P5V0
VNEG
VPOS
VNEG_SW VPOS_IN
VPOS_SW
VNEG_SW
VNEG_IN
MicroFitPinheaderfor battery
CN5
1 VPOS_IN
2
3 VNEG_IN
MICRO-FIT
Amplifier Schematics – One channel
OBS! 1206 SIZE
OBS! 1206 SIZE
C12
1
2
100U
F/16
V/C
R24
1
2
270R
R23
1
2
150R
Q9
3
1
2
BC817W
D5
1
3
BAS1
6-21
5
C11
1
2
100U
F/16
V/C
C10
1
2
100U
F/16
V/C
R25
1
2
1K50
R22
1
2
150R
R20
1
2
10R0
R19
1
2
10R0
R181 2
10K0
R17
1
2
4K70
R14
1
2
10K0
R15
1
2
1K00
Q7-B
4
3
2
FMBM5551Q7-A
6
1
5
FMBM5551
Q11
4
1
3
FZT651TA
Q10
3
1
2
BC807-40W
C71 2
1U0F
Q8
3
1
2
BC817W
Q12
4
1
3
FZT751TA
C8
1 2
6P8F
D7
1
3
BAS1
6-21
5
R16
1
2
1K00
CW
RP3 21
3
100R
D8
1
3BA
S16-
215
D6
1
3
BAS1
6-21
5
C91 2
10PF
TP1
TP/PAD/1.5mm/HOLEPAD 1.5 HOLE
TP2
TP/PAD/1.5mm/HOLEPAD 1.5 HOLE
TP3
TP/PAD/1.5mm/HOLEPAD 1.5 HOLE
TP4
TP/PAD/1.5mm/HOLEPAD 1.5 HOLE
:TOP RIGHT_IN :TOPRIGHT_OUT
VNEG
VPOS
Amplifier Schematics – Simulationchannel
Resistors here onlyused for simulation, to be replaced withpotmeter on pcb.
OBS! 1206 SIZE
OBS! 1206 SIZE
R1
1
2
10K0
C1
1 2
1U0F
D1
1
3
BAS1
6-21
5
D2
1
3
BAS1
6-21
5
Q3
3
1
2
BC817W
C61
2
100U
F/16
V/C
C41
2
100U
F/16
V/C
Q1-B
4
3
2
Q1B
_E
FMBM5551
R3
1
2
1K00
Q4
3
1
2
BC807-40W
R2
1
2
1K00
C51
2
100U
F/16
V/C
R7
1
2
10R0
Q5
4
1
3
FZT651TA
R6
1
2
10R0C2
1 2
6P8F
Q1-A
6
1
5
Q1A
_E
FMBM5551 R51 2
10K0
R9
1
2
150R
R12
1
21K
50
Q2
3
Q2_
C
1
2
BC817W
R4
1
2
4K70
R8
1
2
47R0
R11
1
2
270R
R13
1
2
47R0
C3
1 2
10PF
D4
1
3
BAS1
6-21
5R1
0
1
2
150R
D3
1
3
BAS1
6-21
5
Q6
4
1
3
FZT751TA
:TOP LEFT_IN :TOPLEFT_OUT
VNEG
VPOS
Key Points
• Analog design• Most components…?• Easiest debugging…?
– Includes simulations, reveals most errors.• Standard packages = easy assembly and
rework.