1 / 39

Embedded Systems: Introduction

Embedded Systems: Introduction. Prof. Santanu Chaudhury Prof. Wajeb Gharibi. Syllabus.

mindy
Download Presentation

Embedded Systems: Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Embedded Systems: Introduction Prof. Santanu Chaudhury Prof. Wajeb Gharibi

  2. Syllabus • Overview of Embedded Systems; Embedded System Architecture: Processor Examples - ARM, PIC, etc.; features of digital signal processor; SOC, memory sub-system, bus structure (PC-104, I2C etc.), interfacing protocols (USB, IrDA etc), peripheral interfacing; testing & debugging, power management; Embedded System Software: Program Optimization, Concurrent Programming, Real-time Scheduling and I/O management; Networked Embedded Systems: special networking protocols (CAN, Bluetooth); Applications.

  3. Books • Computers as components: Principles of Embedded Computing System Design, Wayne Wolf, Morgan Kaufman Publication, 2000 • ARM System Developer’s Guide: Designing and Optimizing System Software, Andrew N. Sloss, Dominic Symes, Chris Wright, , Morgan Kaufman Publication, 2004. • Design with PIC Microcontrollers, John B. Peatman, Pearson Education Asia, 2002 • The Design of Small-Scale embedded systems, Tim Wilmshurst, Palgrave2003 • Embedded System Design, Marwedel, Peter, Kluwer Publishers, 2004.

  4. Definition • Embedded system: any device that includes a computer but is not itself a general-purpose computer. • Hardware and Software - part of some larger systems and expected to function without human intervention • Respond, monitor, control external environment using sensors and actuators

  5. Embedding a computer Simplest model output analog input CPU analog mem Embedded computer

  6. Examples • Personal digital assistant (PDA). • Printer. • Cell phone. • Automobile: engine, brakes, dash, etc. • Television. • Household appliances. • Surveillance Systems.

  7. Product: Palm Vx handheld.Microprocessor: 32-bit Motorola Dragonball EZ.

  8. Product: Motorola i1000plus iDEN Multi-Service Digital Phone.Microprocessor: Motorola 32-bit MCORE.

  9. Application examples • Simple control: front panel of microwave oven, etc. • Camera: Canon EOS 3 has three microprocessors. • 32-bit RISC CPU runs auto-focus • Analog TV: channel selection, etc. • Digital TV: Decompression, Descrambling, etc.

  10. Automotive embedded systems • Today’s high-end automobile may have 100 microprocessors: • 4-bit microcontroller checks seat belt; • microcontrollers run dashboard devices; • 16/32-bit microprocessor controls engine.

  11. Example:Automobile sensor sensor brake brake hydraulic pump Automated Braking System brake brake sensor sensor

  12. Characteristics of embedded systems • Sophisticated functionality. • Real-time operation (always?). • Low manufacturing cost. • Application dependent Processor (?) • Restricted Memory • Low power. • Power consumption is critical in battery-powered devices. • Excessive power consumption increases system cost even in wall-powered devices.

  13. Manufacturing Cost • Manufacturing cost has different components. • Non-recurring Engineering cost for design and development; • cost of production and marketing each unit; • Best technology choice will depend on the number of units we plan to produce

  14. Real-time operation • Must finish operations by deadlines. • Hard real time: missing deadline causes failure. • Soft real time: missing deadline results in degraded performance. • Many systems are multi-rate: must handle operations at widely varying rates.

  15. Application dependent requirements • Fault-tolerance • Continue operation despite hardware or software faults • Safe • Systems to avoid physical or economic damage to person or property

  16. More Features • Dedicated systems • Predefined functionality – accordingly hardware and software designed • Programmability rarely used during lifetime of the system • Real-time, fault-tolerant, safe

  17. More Examples

  18. Motient Corp. and USA Technologies Product: Vending machine. Web-enabled Cash-less Vending machine Microprocessor: 8-bit Motorola 68HC11.

  19. Product: NASA's Mars Sojourner Rover.Microprocessor: 8-bit Intel 80C85.

  20. Product: GPS Receiver.Microprocessor: 16-bit.

  21. Product: MP3 Player. Microprocessor: 32-bit RISC.

  22. Product: DVD player. Microprocessor: 32-bit RISC.

  23. Product: Sony Aibo ERS-110 Robotic Dog.Microprocessor: 64-bit MIPS RISC.

  24. Types of Embedded System • Similar to General Computing • PDA, Video games, Set-top boxes, automatic teller machine • Control Systems • Feed-back control of real time systems • Vehicle engines, flight control, nuclear reactors • Signal Processing • Radar, Sonar, DVD players • Communication and Networking • Cellular phones, Internet appliances

  25. Nature of System Functions • Control laws • Sequencing Logic • Signal Processing • Application Specific Interfacing • Fault Response

  26. More Complete Model Architecture

  27. Implementing Embedded System Hardware Software Partitioning of tasks • Hardware • Processing Element • Peripherals • Input & Output Devices • Interfacing Sensors & Actuators • Interfacing Protocols • Memory • Bus • Software • System Software • Application

  28. Hardware Evolution • Systems-on-Chip • Application Specific Processors • DSP • General Purpose Microprocessors & Micro-controllers Faster Clock Rate Higher Degree of Integration

  29. Software • Programs must be logically and temporally correct • Must deal with inherent physical concurrency • Reactive systems • Reliability and fault-tolerance are critical issues • Application Specific and single purpose

  30. Multi-Tasking and Concurrency • Embedded systems need to deal with several inputs and outputs and multiple events occurring independently. • Separating tasks simplifies programming, but requires somehow switching back and forth among different tasks (multi-tasking). • Concurrency is the appearance of simultaneous execution of multiple tasks.

  31. Example: Concurrency in Temperature Controller

  32. Challenges in embedded system design • How much hardware do we need? • What is word size of the CPU? Size of Memory? • How do we meet our deadlines? • Faster hardware or cleverer software? • How do we minimize power? • Turn off unnecessary logic? Reduce memory accesses?

  33. Embedded System Design

  34. Design goals • Performance. • Overall speed, deadlines. • Functionality and user interface. • Manufacturing cost. • Power consumption. • Other requirements (physical size, etc.)

  35. Functional vs. non-functional requirements • Functional requirements: • output as a function of input. • Non-functional requirements: • time required to compute output; • size, weight, etc.; • power consumption; • reliability; • etc.

  36. requirements specification architecture component design system integration Design & Development Process

  37. Top-down vs. bottom-up • Top-down design: • start from most abstract description; • work to most detailed. • Bottom-up design: • work from small components to big system. • Real design uses both techniques.

  38. Stepwise refinement • At each level of abstraction, we must: • analyze the design to determine characteristics of the current state of the design; • refine the design to add detail.

  39. Concluding Remarks • Embedded computers are all around us. • Many systems have complex embedded hardware and software. • Embedded systems pose many design challenges: design time, deadlines, power, etc. • Design methodologies help us manage the design process.

More Related