ecen 4610 spring 2006 hands-free low-profile wireless radio preliminary design review handmade by...
Post on 21-Dec-2015
214 views
TRANSCRIPT
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Team members
Derek Lindberg
Sean McDevitt
Nick Ciocco
Eric Hoffman
Chris Browne
Team: Wireless Nothing
Preliminary Design Review
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
• Two-way wireless communication between to separate motorcycles.
• One-way wireless CD quality audio streaming from a portable device’s audio jack.
• Adjustable volume, microphone gain, and channel selection.
• Restricted access to broadcasted audio.• Modular implementation of a wireless
communication and audio listening device
What is this Device?
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
High Level Concept
Short range RF
Short range RF
Long Range RF
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
DAC CodecADC Codec
MicrocontrollerMicrophone Headphones
Transceiver
Functional Block Diagram - Headset
I2C
I2S I2S
I2C Bus
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
ADC/DAC – OR – Transceiver
TransceiverSingle Chip Wireless Transceiver (nRF24Z1)
• 2.4 GHz operating frequency• Low cost• Low power• High-fidelity sound (16-bit)• Channel selection
• Integrated control channel• 1Mbit/s – 4Mbit/s Data Rate• I2S or S/PDIF Audio Input (16bit)• SPI or I2C• Integrated Frequency Hopping Scheme
——I2S——
——I2C——
Microcontroller
Receiving Transceiver
Transceiver
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
• Size ~ 23cm x 1.5mm
2.4 GHz Printed Monopole
• Size ~ 12mm x 20mm
2.4 GHz Printed Whip Monopole
2.4 GHz Chip Antennas
• Size ~ Tiny < 1cm2
• Reduced gain from reduced size
Antenna Considerations
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
DAC CodecADC Codec
MicrocontrollerMicrophone Headphones
Transceiver
Functional Block Diagram – Headset, DAC/ADC
I2C
I2S I2S
I2C Bus
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Microphone
Microcontroller
Headphones MP3 Player
DAC / ADC
Single Chip DAC/ADC I2S Codec
• Convert between analog and I2S• Low power low cost• High quality 16 bit sound• DAC and ADC in single chip for simplicity• Integrated gain control, volume control and
speaker drivers if possible• I2S communication to Transceiver• I2C control from Microcontroller
——I2S——
Transceiver
——I2C——
——Analog——
DAC/ADC
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
DAC CodecADC Codec
MicrocontrollerMicrophone Headphones
Transceiver
Functional Block Diagram - uC
I2C
I2S I2S
I2C Bus
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Transceiver(s)
Microcontroller
Primary Functions• Timing• Control power consumption• User feedback (tones, battery level)• Process user input (buttons)
Microcontroller (MSP430F156)Features• 24kB Flash, 1024B RAM• Very-low power
• 330uA active• 1.1uA standby mode
• 12bit DAC• I2C and SPI interfaces in hardware• 48 IO pins
Overkill, but we will never have to worry about exceeding code space or having too few IO pins during dev.
——I2C——
ADC/DAC
Microcontroller
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
State Diagram – Headset
InitBase Station
Search Idle
Rx
Tx
Always
Pack
et T
x
Base Station Found
Wait Wait
Packet Decoded
Packet Received
Wak
e-O
n-V
oice
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
High Level Concept
Short range RF
Short range RF
Long Range RF
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Functional Block Diagram – Base Station
Microcontroller
Base Station toOther motorcyclist
Transceiver
I2C
I2C/I2S Bus
Base Station toAudio DeviceTransceiver
Base Stationto Helmet
Transceiver
• Serves as a booster for the helmet’s voice communications• Receives voice from
helmet and retransmits with larger gain
• Receives voice communication from other motorcyclist(s) and transmits them to the helmet
• Given input from helmet, switches between voice communication and music
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
State Diagram – Base Station
InitHeadsetSearch Idle
Local Audio
RemoteTx/Rx
Voice T
imeoutV
oice
Det
ecte
d
Always Voi
ce T
imeo
ut w
/o
Aud
io
Headset Found
Wait Wait No A
udio PresentA
udio Device
Present
Aud
io D
evic
e Pr
esen
t
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
High Level Concept
Short range RF
Short range RF
Long Range RF
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Functional Block Diagram - Media Device
ADC Codec
MicrocontrollerMedia Device
Transceiver
AnalogI2C
I2S
I2C Bus
• Transmits streaming wireless audio from a portable device such as an mp3 player
• Audio is played back in the helmet• Has a lower priority than voice comm• Same PCB as Helmet
• (headphone portion left unpopulated)• Simplifies Design• Single circuit to debug
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
State Diagram – Media Device
InitBase Station
Search IdleRemote
Tx
Always
Audio Timeout
Base Station Found
Wait Wait
Audio Levels Present
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Highly Modular Design
uC
Audio Codec
Audio Codec
uC
Tx/Rx
Tx/RxTx/Rx
Tx/Rx
uC
Tx/Rx
Audio Codec
Base Station Headphone/MicWireless Audio Transmitter
• Each component is composed of several re-useable modules• We only need to do low-level design and testing once
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Division of Labor
Group Responsibilities• Documentation, system development, integration, system testing, and
documentation
Team members Responsibility
Derek Lindberg Hardware layout and assembly, firmware programming
Sean McDevitt Antenna and Transceiver design
Nick Ciocco Transceiver design and PCB layout overview
Eric Hoffman Hardware layout and assembly, firmware programming
Chris Browne Assembly firmware programming, hardware integration
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Project Timeline
Preliminary Design Review Handmade by Robots
ECEN 4610 Spring 2006Hands-Free Low-Profile Wireless Radio
Risks and Contingencies
Risks
• Unfamiliar Interfaces and Devices • I2C/S, Transceiver, Codec
• Difficulty controlling codec/transceiver w/ uC
• Limited transmit range / Problems w/ interfering devices
• Lead time on components / Availability problems
• Difficulty getting RF link working• (RF protocol)
• Compliance with FCC regulations
Prevention
• Help from TAs, Manufacturers, Dev Boards
• Nordic, Texas Instruments
• May be short range for Expo
• Ordering samples far ahead of time
• Use Nordic dev board
• Will ignore them