william weeks electrical engineering team leader hardware usb host research and documentation jesse...

22
Synchronized Light Blinker Mid-Semester Presentation

Upload: hubert-murphy

Post on 17-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Synchronized Light Blinker

Mid-Semester Presentation

Page 2: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Team Members

William WeeksElectrical Engineering

Team LeaderHardwareUSB Host

Research and Documentation

Jesse KilloughElectrical Engineering

USB HostMP3 Decoder

Research and Documentation

Mark WilliamsElectrical Engineering

Signal ProcessingHardware Support

Research and Documentation

Page 3: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Overview

• Problem Statement• Solution• Technical Design Constraints• Practical Design Constraints• Approach and Tradeoffs• Timeline• Progress• References

Page 4: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Problem Statement

• Current synchronized lighting devices are either expensive, or low quality

• There is a need for an inexpensive device that performs at a high quality

Page 5: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Solution

• A standalone device that can extract an .mp3 file from a USB flash drive

• Digital filtering• Completely autonomous lighting• Low price

Page 6: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Technical Design Constraints

Constraint Description

Synchronization Synchronization between music and lights must be less than 100 milliseconds.

Audio Quality The SLB must play music at a sample rate of at least 44.1 kHz and 128 Kbit/s bit rate.

Audio Compatibility The SLB must play .mp3 file format songs.

Output It must be capable of powering at least three receptacles with a 5A current draw per receptacle.

Autonomous The SLB must be a pre-programmed standalone device that plays songs from a USB flash drive.

Page 7: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Practical Constraints

• The SLB must have a retail price of under $75.00

• Superior performance in comparison to other low end productsML1-Ramsey Electronics

Retail - $59.95 [1]

Economic – Price

Page 8: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Health and Safety – UL Standards• SLB will handle amperages up to 5 amps

• Any current above 20 mA can cause death by damage to brain tissue or interrupting the normal contractions of the heart.[2]

• SLB must not allow lethal amperages to be reached.

• The SLB will be interlocked to shut-down in the case of an over-voltage or over-amperage.

Practical Constraints

Page 9: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Lights

AudioFile

Approach

SLB

Music

Page 10: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Trade-offs• USB Host

• MP3 Decoder

• Microcontroller

• Signal Filtering

• Switching Device

Page 11: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

USB HostInterface USB

CertifiedBreakout

BoardPrice

VDIP1 FIFO, SPI, UART

Yes Yes $24.50

MaximMax3421E

SPI Yes Yes $38.00

[3] [4]

Page 12: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

MP3 Decoder

[5]

[6]

[7]

Bit-rate(kbits/s)

BreakoutBoard

Spectrum AnalyzerPlug-in

Price

VS1011E 320 Yes Yes $19.95

VS1002 320 Yes No $19.95

STA013 320 No No $16.00

Page 13: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

MicrocontrollerPIC24HJ32GP202 PIC24HJ128GP506

Page 14: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Signal FilteringAdjustable Stability Simplicity

Analog No No Yes

Digital Yes Yes No

[8]

[9]

Page 15: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Switching DeviceSize

IssueKnowledge Switching

Speed IssueNoise Heat Sink

RequiredPrice

Electromechanical Relay

No Yes No Yes No $2.50

Solid State Relay No Yes No No No $11.60

Triac No No No No Yes $7.50

[10]

Page 16: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Triac• Relay or Triac? Triac, So…..• What is a Triac?

MOC3011-M TRIAC Driver

Q6025P5 TRIAC

Test Circuit

[12]

[11]

[12]

Page 17: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Timeline

August September October November

Approach Decisions

Hardware Design

Filtering

Programming

Testing

Page 18: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Progress• Populated Board• Built and Tested Triac Unit• Communication between the USB host and PIC • Web Site Complete and Regularly Updated

Page 19: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Triac Enclosure

3.3VDC

120VACInput

Fused 120VACOutput

Page 20: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

Triac Test3.3VDC Driver Voltage Not Applied 3.3VDC Driver Voltage Applied

Page 21: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

References[1] “Ramsey Electronics, ML1,” October 7, 2009. [Online.] Available: http://www.ramseyelectronics.com/cgi-bin/commerce.exe?preadd=action&key=ML1C

[2] “Electrical Safety.” [Online]. Available: http://www.pacificpower.net/Navigation/Navigation4124.html [Accessed: September 12, 2009].

[3] “UTL-001,” September 29, 2009. [Online.] Available: http://www.hdl.co.jp/UTL/UTL-001.

[4] Future Technology Devices International, Ltd., “Vinculum VNC1L Prototyping Module,” VDIP1 datasheet, 2006-2007.

[5] “Breakout Board for VS1011E-L MP3,” September 28, 2009. [Online.] Available: http://www.sparkfun.com/commerce/images/products/08820-03-L.jpg.

[6] “Breakout Board for VS1002 MP3,” September 29, 2009. [Online.] Available: http://www.sparkfun.com/commerce/images/products/00519-03-L.jpg.

[7] “STA013 Datasheet,” September 28, 2009. [Online.] Available: http://www.st.com/stonline/books/pdf/docs/6399.pdf.

[8] “Analog Filter Design Demystified,” September 30, 2009. [Online.] Available: http://www.maxim-ic.com/appnotes.cfm/an_pk/1795.

[9] “Digital Filters: An Introduction,” September 30, 2009. [Online.] Available:http://www.dsptutor.freeuk.com/dfilt1.htm.

[10] “Solid State Relays,” September 30, 2009. [Online.] Available:http://www.mouser.com/ProductDetail/Omron-Electronics/G3M-205PL-DC12/?qs=sGAEpiMZZMtHD6BhCPGf2pzm/lBpqtlmT%252bYerubOsYw%3d.

[11] “Triacs,” September 30, 2009. [Online.] Available: http://www.littelfuse.com/data/en/Data_Sheets/E2Triac.pdf.

[12] “MOC3011M,” September 30, 2009. [Online.] Available: http://www.fairchildsemi.com/ds/MO/MOC3011M.pdf.

Page 22: William Weeks Electrical Engineering Team Leader Hardware USB Host Research and Documentation Jesse Killough Electrical Engineering USB Host MP3 Decoder

QUESTIONS?