ece 477 design review team 5 fall 2009
DESCRIPTION
ECE 477 Design Review Team 5 Fall 2009. Ben Carter – Jacqui Dickerson – Ian Oliver – Dennis Lee. Outline. Project overview Project-specific success criteria Block diagram Component selection rationale Packaging design Schematic and theory of operation PCB layout - PowerPoint PPT PresentationTRANSCRIPT
ECE 477 Design Review ECE 477 Design Review Team 5 Team 5 Fall 2009 Fall 2009
Ben Carter – Jacqui Dickerson – Ian Oliver – Dennis Lee
OutlineOutline• Project overview Project overview • Project-specific success criteriaProject-specific success criteria• Block diagramBlock diagram• Component selection rationaleComponent selection rationale• Packaging designPackaging design• Schematic and theory of operationSchematic and theory of operation• PCB layoutPCB layout• Software design/development statusSoftware design/development status• Project completion timelineProject completion timeline• Questions / discussionQuestions / discussion
Project OverviewProject Overview
• Next generation communication system for vehicles– Simple, real-time visual communication
• Multi-touch input– Driver’s gestures produce an output on LEDs
around the perimeter of a car• Color-coded messages
– Tri-color LEDs produce blue, green, yellow, orange, and red outputs
Example GesturesExample Gestures
• 1) 2 fingers swiped right - Green LEDs in front of car slide right; 1) 2 fingers swiped right - Green LEDs in front of car slide right; signal to a pedestrian walking right that it's okay to passsignal to a pedestrian walking right that it's okay to pass
2) 3 fingers swiped up – Yellow LEDs on front of car illuminate; 2) 3 fingers swiped up – Yellow LEDs on front of car illuminate; signal that driver in oncoming lane is entering a hazardous signal that driver in oncoming lane is entering a hazardous areaarea
3) 5 fingers swiped down - Red LEDs in back of car blink; 3) 5 fingers swiped down - Red LEDs in back of car blink; signal that car behind driver is tailgating/back offsignal that car behind driver is tailgating/back off
4) 1 finger swiped down - Blue LEDs in back of car blink; signal 4) 1 finger swiped down - Blue LEDs in back of car blink; signal to thank car behind driver for letting driver mergeto thank car behind driver for letting driver merge
Project-Specific Success CriteriaProject-Specific Success Criteria
• 1. The ability to determine direction of a finger swipe on 1. The ability to determine direction of a finger swipe on a touch pad array.a touch pad array.
• 2. The ability to determine the number of fingers used 2. The ability to determine the number of fingers used on a touch pad array.on a touch pad array.
• 3. The ability to produce at least two meaningful LED 3. The ability to produce at least two meaningful LED patterns.patterns.
• 4. The ability to determine force of acceleration on a car. 4. The ability to determine force of acceleration on a car. • 5. The ability to wirelessly transmit data from the multi-5. The ability to wirelessly transmit data from the multi-
touch signal processor to the LED cluster controllertouch signal processor to the LED cluster controller
CapSense Controller 0
Microcontroller/DSP (Gesture
Recognition)
30 Capacitive Touch Inputs
30
CapSense Controller 1
30 Capacitive Touch Inputs
30
CapSense Controller 7
30 Capacitive Touch Inputs
30
CapSense Controller 8
30 Capacitive Touch Inputs
30
I2C
RF Transmitter
LED Driver 0
Microcontroller 0 (LED Control)
15
LED Driver 13
1512 more
5 tricolor LEDs
5 tricolor LEDs
I2C
RF Receiver
RF Communication @ 315MHz
LED Driver 0
15
LED Driver 3
152 more
5 tricolor LEDs
5 tricolor LEDs
I2C
Accelerometer
5 More
UART Tx
UART Rx0V – 5V analog
Component Selection RationaleComponent Selection Rationale
• dsPIC33FJ256MC710dsPIC33FJ256MC710
– Required a lot of RAM & moderate FlashRequired a lot of RAM & moderate Flash
• Signal processing 270 point scans of touch surfaceSignal processing 270 point scans of touch surface
– 2-I2C and a UART interface2-I2C and a UART interface
• PIC18F2525PIC18F2525
– Required modest amount of RAM and FlashRequired modest amount of RAM and Flash
– I2C and UART interfacesI2C and UART interfaces
– dsPIC chosen; staying w/ same familydsPIC chosen; staying w/ same family
• LED Drivers (TLC59116)LED Drivers (TLC59116)
– Required 15 PWM channels to control 5 tri-color LEDsRequired 15 PWM channels to control 5 tri-color LEDs
– I2C interface provides ability to control up to 14 LED I2C interface provides ability to control up to 14 LED drivers using 2 pinsdrivers using 2 pins
Component Selection RationaleComponent Selection Rationale
• RF Transmitter/Receiver (MO-SAWR-AS315M/MO-RX3400-A315M)– Required 315MHz– Provides up to 100m of transmission
• Accelerometer (MMA1270EG)– Required 2.5g over 1 axis– SOIC packaging for ease of soldering
• Capacitive Touch Input Controllers Capacitive Touch Input Controllers (CY8C20566(CY8C20566)– Required many (30) touches to be realized– Donated by Purdue Alum & Cypress FAE
Packaging Design ConstraintsPackaging Design Constraints
• Will not be demonstrating on a full size Will not be demonstrating on a full size vehiclevehicle– Large RC car will house one LED Output Large RC car will house one LED Output
ClusterCluster– User Interface Module will be exterior to User Interface Module will be exterior to
car, powered by an AC wall wartcar, powered by an AC wall wart• Full size design would consist of several LED Full size design would consist of several LED
Output Clusters, weatherproofing, and a Output Clusters, weatherproofing, and a scheme for mounting the User Interface scheme for mounting the User Interface Module to a steering wheelModule to a steering wheel
Packaging Design – User Packaging Design – User Interface ModuleInterface Module• 8”x8”x1-1/2”8”x8”x1-1/2”
– *variable*variable
• 20 user feedback LEDs 20 user feedback LEDs replicate LED output on RC replicate LED output on RC carcar
• Front will be denoted with a Front will be denoted with a print of a black & white top-print of a black & white top-view sketch of a carview sketch of a car
• 5”x6” capacitive touch area 5”x6” capacitive touch area is uncovered PCBis uncovered PCB
• External 2” antenna for RF External 2” antenna for RF transmission to RC cartransmission to RC car
Packaging Design - LED Output Packaging Design - LED Output VehicleVehicle• 32”x12”x10”32”x12”x10”
• 12 LEDs for front/back12 LEDs for front/back
• 23 LEDs for sides23 LEDs for sides– =>70 tricolor LEDs=>70 tricolor LEDs– ~1LED per 1.5”~1LED per 1.5”
• LEDs mounted on 5 apiece on LEDs mounted on 5 apiece on 14 PCBs14 PCBs
• LED Panel PCBs mounted on LED Panel PCBs mounted on inside of car’s exterior plasticinside of car’s exterior plastic
• Holes will need to be drilled Holes will need to be drilled through car’s exterior for LEDs through car’s exterior for LEDs to show throughto show through
• LEDs will extend ~3/4” off PCB, LEDs will extend ~3/4” off PCB, so will be able to flex and fit so will be able to flex and fit throughthrough
Schematic/Theory of OperationSchematic/Theory of Operation
• Capacitive sensor is a Capacitive sensor is a pair of pair of plates/electrodesplates/electrodes
• There is also There is also capacitance between capacitance between finger and electrodesfinger and electrodes
• A sensor detects A sensor detects change in capacitance change in capacitance when finger is presentwhen finger is present
Schematic/Theory of OperationSchematic/Theory of Operation
• Capacitive buttons are Capacitive buttons are on one side of the on one side of the boardboard
• The microcontroller The microcontroller (PSoC) is on the other (PSoC) is on the other sideside
• A plastic/glass overlay A plastic/glass overlay (1-5mm thick) covers (1-5mm thick) covers buttonsbuttons
Schematic/Theory of OperationSchematic/Theory of Operation
• The capacitive sensing The capacitive sensing microcontroller is the microcontroller is the PSoCPSoC
• Each PSoC can scan Each PSoC can scan buttons and buttons and communicate over I2Ccommunicate over I2C
• Our PSoC will Our PSoC will communicate with a DSP communicate with a DSP to process inputsto process inputs
Schematic/Theory of OperationSchematic/Theory of Operation
• Flow of input to output:Flow of input to output:– CapSense microcontroller (PSoC)CapSense microcontroller (PSoC) reads reads
input from buttons – 9 PSoCs to sense 270 input from buttons – 9 PSoCs to sense 270 buttons totalbuttons total
– DSP (dsPIC)DSP (dsPIC) reads PSoCs to interpret reads PSoCs to interpret input, sends commands to LED controller input, sends commands to LED controller wirelesslywirelessly
– LED controller (PIC18)LED controller (PIC18) coordinates coordinates LED LED drivers (TLCs)drivers (TLCs) to produce output patterns to produce output patterns
12V in
5V out to PSoC
3.3V out to dsPIC
Linear regulators
Multi-Touch Power SupplyMulti-Touch Power Supply
LED Output Power Supply
12V Pb-acid battery input
5V output to PIC18, TLCs
LED Output Power SupplyLED Output Power Supply
Capacitive buttons
I2C header to programmer
I2C header to dsPIC
CY8 PSoC
CY8 PSoC CellCY8 PSoC Cell
dsPIC
RST to PSoCs
I2C to PSoCs and TLC
RF Tx to PIC18
dsPIC CoredsPIC Core
PIC18
Accelerometer header
RF Rx
I2C to TLCs
UART
PIC18 CorePIC18 Core
TLCTricolor LEDs
I2C to PIC18
Address for I2C slave
TLC CellTLC Cell
PCB Layout – MultiTouch BoardPCB Layout – MultiTouch Board
• Main ComponentsMain Components– 1 Cypress PSOC chip and 30 CapSense 1 Cypress PSOC chip and 30 CapSense
PadsPads• Other ComponentsOther Components
– 34 Resistors, 2 Headers, 1 Capacitor, and 1 34 Resistors, 2 Headers, 1 Capacitor, and 1 OR gateOR gate
• 5” x 6” Section of the larger User Interface 5” x 6” Section of the larger User Interface BoardBoard
• Via on each CapSense pad made routing Via on each CapSense pad made routing very difficultvery difficult
PCB Layout – MultiTouch BoardPCB Layout – MultiTouch Board
PCB Layout – dsPic BoardPCB Layout – dsPic Board
• Main ComponentsMain Components– dsPIC, RF Transmitter, Power SupplydsPIC, RF Transmitter, Power Supply
• Other ComponentsOther Components– 10 Capacitors, 16 Resistors, 1 Switch, and 10 Capacitors, 16 Resistors, 1 Switch, and
17 Headers17 Headers• 2” x 7” section of the larger User Interface 2” x 7” section of the larger User Interface
BoardBoard• Lots of space allowed for large heat sink and Lots of space allowed for large heat sink and
ease of routingease of routing
PCB Layout – dsPic BoardPCB Layout – dsPic Board
PCB Layout – PIC18 BoardPCB Layout – PIC18 Board
• Main ComponentsMain Components– PIC18, RF Receiver, Power SupplyPIC18, RF Receiver, Power Supply
• Other ComponentsOther Components– Switch, 18 Headers, 3 Resistors, 4 Switch, 18 Headers, 3 Resistors, 4
Capacitors, 1 Inductor, and 1 DiodeCapacitors, 1 Inductor, and 1 Diode• 1.4” x 5”1.4” x 5”• Plenty of space allowed for easy routing and Plenty of space allowed for easy routing and
the ability to actually minimize the area of the the ability to actually minimize the area of the boardboard
PCB Layout – PIC18 BoardPCB Layout – PIC18 Board
PCB Layout – TLC BoardPCB Layout – TLC Board
• Main ComponentsMain Components– 5 LEDs and a single TLC driver chip5 LEDs and a single TLC driver chip
• Other ComponentsOther Components– 5 Resistors, 5 Headers, 1 Capacitor5 Resistors, 5 Headers, 1 Capacitor
• 0.5” x 5”0.5” x 5”• Tight space required careful routingTight space required careful routing
PCB Layout – TLC BoardPCB Layout – TLC Board
Software Design/Development StatusSoftware Design/Development Status
• Read inputs as 0’s Read inputs as 0’s and 1’sand 1’s
• Number of fingers = Number of fingers = number of connected number of connected 1’s1’s
• Direction of fingers Direction of fingers based on average based on average coordinates of fingerscoordinates of fingers
Software Design/Development StatusSoftware Design/Development Status
• PIC18F(LED Output Controller)PIC18F(LED Output Controller)– LED Output CoordinationLED Output Coordination
• I2C interface to 14 LED driver chipsI2C interface to 14 LED driver chips• dsPIC33F(Multiple Touch Processor)dsPIC33F(Multiple Touch Processor)
– Finger Count DetectionFinger Count Detection• Area vs. discrete contactsArea vs. discrete contacts
– Direction Vector CalculationDirection Vector Calculation• Track angle of finger swipeTrack angle of finger swipe
• CY8C(CapSense Controller)CY8C(CapSense Controller)– Activation of CapSense block, record data, then Activation of CapSense block, record data, then
communication of data over I2Ccommunication of data over I2C
Project Completion TimelineProject Completion Timeline
Week 8
Week 9
Week 10
Week 11
Week 12
Week 13
Week 14
Week 15
Week 16
12-Oct 19-Oct 26-Oct 2-Nov 9-Nov 16-Nov 23-Nov 30-Nov 7-Dec
Design Review
Proof of Parts
Constr. LED Output Controller PCB
Constr. LED Panel PCB
Constr. User Interface Module
RC Car Construction
LED Output Interface Software
LED Output Coordination Software
CY8C CapSense Software
User Module Interface Software
Multiple Touch Finger Detect Software
Multiple Touch Direction Vector Software
Questions / DiscussionQuestions / Discussion