embedded system design
play

Embedded System Design Stephen A. Edwards Columbia University - PowerPoint PPT Presentation

Embedded System Design Stephen A. Edwards Columbia University Spring 2011 Spot the Computer Embedded Systems: Ubiquitous Computers iPhone Laser Keyboard Nikon D300 Video Watch GPS Playstation 3 PC Keyboard SD Card Is Your Current


  1. Embedded System Design Stephen A. Edwards Columbia University Spring 2011

  2. Spot the Computer

  3. Embedded Systems: Ubiquitous Computers iPhone Laser Keyboard Nikon D300 Video Watch GPS Playstation 3 PC Keyboard SD Card

  4. Is Your Current Embedded Project... 0% 15% 30% 45% 60% 75% Real-time Networked Ruggedized Battery-powered Wireless Source: 2009 Embedded Market Study

  5. Is Your Current Embedded Project... 0% 15% 30% 45% 60% 75% Real-time Networked Ruggedized Battery-powered Wireless Source: 2009 Embedded Market Study

  6. Digital Camera Block Diagram

  7. Design An Optimal Device that Meets Constraints On Price Functionality Performance Size Power Time-to-market Maintainability Safety

  8. Embedded System Technologies Integrated Circuits Processing elements Design tools

  9. IC Technology 1947: First transistor (Shockley, Bell Labs) 1958: First integrated circuit (Kilby, TI) 1971: First microprocessor (4004: Intel) Today: eight wire layers, 45 nm features

  10. Moore’s Law: Transistors per chip 10G “The complexity for minimum component costs has increased at a rate of roughly a 1G factor of two per year. Certainly over the short term this rate can be expected to 100M continue, if not to increase.” ≈ 1.5 × /year — Gordon Moore, 1965 10M 1M 100k 10k 1k 1970 1980 1990 2000 2010 Source: Intel/Wikipedia

  11. $1000 Buys You This Many CPS Transistors Electromechanical Relays Tubes Integrated Circuits 10 8 10 6 10 4 10 2 10 0 10 − 2 10 − 4 1900 1920 1940 1960 1980 2000 Source: Ray Kurzweil, The Age of Spiritual Machines

  12. 1918 Sears Roebuck Catalog About $100 in today’s dollars. From Donald Norman, The Invisible Computer , 1998.

  13. What Percentage of Time Do You Spend... 0% 5% 10% 15% 20% 25% Developing Specifications Conceptual Design Detailed Design Simulation Testing/Debugging Prototyping Sending to production Documentation/meetings Source: 2009 Embedded Market Study

  14. What Percentage of Time Do You Spend... 0% 5% 10% 15% 20% 25% Developing Specifications Conceptual Design Detailed Design Simulation Testing/Debugging Prototyping Sending to production Documentation/meetings Source: 2009 Embedded Market Study

  15. If You Could Improve One Thing... 0% 5% 10% 15% 20% 25% 30% Debugging Tools Schedule Programming Tools Engineering Team Interfaces Microprocessor Other hardware Operating System IDE Source: 2009 Embedded Market Study

  16. If You Could Improve One Thing... 0% 5% 10% 15% 20% 25% 30% Debugging Tools Schedule Programming Tools Engineering Team Interfaces Microprocessor Other hardware Operating System IDE Source: 2009 Embedded Market Study

  17. If Your System Has More Than One Processor, Does It Use... 0% 15% 30% 45% 60% Multiple different chips Multiple identical chips Single chip, identical cores Single chip, different cores Source: 2009 Embedded Market Study

  18. If Your System Has More Than One Processor, Does It Use... 0% 15% 30% 45% 60% Multiple different chips Multiple identical chips Single chip, identical cores Single chip, different cores Source: 2009 Embedded Market Study

  19. Does Your Current Project Contain FPGAs?

  20. Does Your Current Project Contain FPGAs? 45% Yes 55% No Source: 2009 Embedded Market Study

  21. Why Won’t Your Next Project Use FPGAs? 0% 15% 30% 45% 60% 75% Don’t need them Too expensive Too power-hungry Hard to use Too slow Too small Unreliable Don’t Know Source: 2009 Embedded Market Study

  22. Why Won’t Your Next Project Use FPGAs? 0% 15% 30% 45% 60% 75% Don’t need them Too expensive Too power-hungry Hard to use Too slow Too small Unreliable Don’t Know Source: 2009 Embedded Market Study

  23. Your Nemesis: The Altera DE2

  24. DE2 Peripherals

  25. Class Structure Three Introductory Labs: 2 weeks each 1. Access, modify, and display memory in VHDL 2. An Ethernet chat client (software only) 3. Either � an FM audio synthesizer; or � a video bouncing ball. The project: Design-your-own

  26. Custom Project Ideas Broadly: C + VHDL + peripheral(s) Video game (e.g., Pac-Man) Digital Video Project - Stephen Edwards Block Diagram Luminance/ TDA8708 8 7 7 8 Red Composite In Video ADC SAA9051 Digital LUMO MUX Bt101 Analog Out TDA8708 MultiStandard Decoder LUMM SAA7192 Digital 8 DAC Video Analog Green Chrominance In ADC Video 8 4 MUX 4 Colorspace Converter 8 Blue Out UVO UVM Analog Out SAA9057A Line-Locked Clock I2C Bus Video effects processor Generator LUML UVL LUMH UVH ’374s ’374s VRAM Digital Signal DSP 56001 X 2 256K X 24 RS-232 Processor 12 PORT Data 24 Address 12 Control Block Digital photo frame Very fancy digital clock

  27. More Ideas Digital tone control Real-time audio spectrum analyzer Internet radio Speech Synthesizer

  28. Projects from 2004 MIDI synthesizer Line-following robot with video vision SAE student vehicle telemetry system Stereo video vision system Internet video camera Pac-man-like video game

  29. Projects from 2005 Scrabble Timer 3D Maze Game Scorched Earth VoIP Telephone SAE Auto Shifter JPEG decoder Internet Radio Rally-X video game Broadcaster

  30. Projects from 2006 Video-guided Lego Robot 360 ◦ camera de-warper Videogame with accelerated line-drawing Voice recorder JPEG decoder

  31. Projects from 2007 Pac-Edwards Button Hero Videogame Digital Picture Frame: SD card with JPEG to VGA Networked game of Clue Conway’s Game of Life (60 gps)

  32. Projects from 2008 Real-time ray tracer Video-camera-controlled pool game Real-time video decryption WiiMote-controlled maze game

  33. Projects from 2009 Lightsaber video overlay Networked Video Phone Sound-controlled videogame Visual object tracker

  34. The Three Main Challenges of Embedded Systems � Coping with Real-world Sensor Data � Algorithm Design � Implementation Details

  35. What Does this Circuit Do When You Press the Switch? V cc 100K V out GND

  36. What Does this Circuit Do When You Press the Switch? V cc 100K V out GND

  37. Inside a Pushbutton Switch Thermoplastic Actuator Button Thermoplastic Case and Cover Shorting Bar Stainless Steel Spring A – View of moveable contact mounted on Terminals back side of actuator Mounting Posts Source: Cheery CS series data sheet

  38. Raw Data from a CCD (zoomed in)

  39. Corrected Image (zoomed in)

  40. Correcting Data from CCDs − Raw Dark Frame = − Flat Field Bias Temp. Exposure Color − → − → − →

  41. Correcting Data from CCDs − Raw Dark Frame = − Flat Field Bias Color Temp. Exposure − → − → − →

  42. Where Does This Noise Come From? Digital camera sensors are remarkably sensitive. My high-end Nikon D300 has a 23.6 mm × 15.8 mm 12.3 megapixel CMOS sensor whose pixels are 5.5 µ m on a side. When each pixel is sampled with the 12-bit A/D converter, the sensor efficiency is ISO: LO 200 400 800 1600 3200 G 7.1 5.5 2.7 1.3 0.65 0.33 B 5.8 4.6 2.3 1.1 0.55 0.27 R 4.7 4.5 2.2 1.1 0.54 0.26 The units: electrons per ADU (digital unit). Emil Martinec, A comparison of the Nikon D300 and Canon 40D sensors , 2007.

  43. Development Plan 1. Obtain some representative raw sensor data 2. Develop an algorithmic prototype using your favorite language (e.g., Java, C, Matlab) 3. Plan how to implement it 4. Implement while constantly testing

Recommend


More recommend