Beruflich Dokumente
Kultur Dokumente
Dept of Electronics and Telecommunication Engineering Jadavpur University, Kolkata 700 032
and
International Institute of Information Technology Kolkata 700 091
Introduction
D. Mukhopadhyay
What are embedded systems? How are embedded systems designed? (Hardware and Software) Critical Design challenges Tools of the trade Future directions
Embedded Systems
The embedded system is completely enclosed in the main system. It does not interact directly with the environment. For example a micro-computer in a car ignition control.
3
Embedded System?
Computational but not first-and-foremost a computer Integral with physical processes sensors, actuators Reactive at the speed of the environment Heterogeneous hardware/software, mixed architectures Networked shared, adaptive
5
Embedded Device
Ignition System, Engine Control, Brake System
Consumer Electronics
Industrial Controls Medical Networking
Digital and Analog Televisions, Set-Top Boxes, Kitchen Appliances, Toys/Games, Telephones/Cell Phones/Pagers, Cameras, GPS
Robotics and Manufacturing Controls Infusion Pumps, Dialysis Machines, Prosthetic Devices, Cardiac Monitors Routers, Hubs, Gateways
Office Automation
Hardware-Software Partitioning
Some tasks could be performed using hardware or software. Example: A system receiving data packets needs to calculate a Cyclic Redundancy Check (CRC) value. If the packet is OK, an ACK signal should be sent within a specified time.
Hardware Design
Since a micro-controller in an embedded system will run just one program all the time, hardware resources must be matched to needs of the application. Modern technology has made it possible to put the entire electronics inclusive of sensors, analog circuits, digital circuits etc. on a single chip. (System On a Chip or SoC).
12
13
Software Design
Software must provide the algorithms etc. needed for implementing the applications. These algorithms often have an impact on the choice of hardware as well. For example, whether a DSP processor should be used or not. Most embedded system software needs to be real time software.
16
Generic Requirements
Software must be
Modular Each module should have local effects Should be reusable, adaptable Self documenting
17
18
19
20
22
Soft real time systems would be used in non-critical applications which need to be very fast.
23
Design of soft real time systems optimizes average case response whereas hard real time systems must be designed for worst case situations.
24
25
Software Components
Device drivers Schedulers Real time routines Non real time routines Inter process communications
Pipes Semaphores etc
Watchdog timers
26
Inter-Process Communications
Signals Pipes and FIFOs Message Queues Semaphores Shared Memory
27
Future Directions
Many more embedded systems will be full systems on a single chip. This implies that the software and hardware designs will merge. As systems on chip become more complex, software distributed over multiple processors and running over different memory spaces will become common
28
Future Directions.
Embedded systems will be developed in unusual applications. For example: stress detectors built into walls, powered and accessed by RF beams. Existing applications will become far more sophisticated with standardized user interfaces such as web interfaces with XML.
29
Discussion
What are the most challenging aspects of these applications (and how does a company make money) ? Interaction mechanisms: sensors, actuators, wireless networks Reliability and survivability Infrastructure Services Legislation *****
31
32
Key Challenges
33
In Hardware
Low Power Higher speed Smaller size Increased functionality Increased productivity Reproducibility (especially in sensors and actuators) Networking and networked embedded systems
35