Académique Documents
Professionnel Documents
Culture Documents
UNIT - 1
CONTENT:
Introduction to embedded system with examples. Characteristics of embedded system. Design metrics-challenges in embedded system design. embedded design life cycle.
A latest model car can have as many as 65+ processors for Engine control, Transmission Control, A/C control, Cruise control, ABS, Audio, etc More than 30% of the cost of a car is now in electronics 90% of all innovations will be based on electronic systems
MORE EXAMPLES
SENSORS
A/D Conversion
CPU
D/A Conversion
ACTUATORS
Human Interface
Diagnostic Port
EXTERNAL ENVIRONMENT
10
PERIPHERALS
Peripheral is something which is NOT part of the computer Peripheral is a hardware element used to perform a defined functionality Why?
CPU cannot do all the required functionality Required functionality is not common for all systems
Master-Slave
Most common?
MICROCONTROLLERS
Also called MCUs Includes the CPU, Memories (ROM/FLASH, RAM) And common peripherals
GPIO, Timers, Interrupt Controller, Timers and UART ADC, DAC, LCD Drivers or I2C bus
Popular MCUs
8-bit: 8051, PIC, ATMEGA, Hitachi etc. 16-bit: MSP430, 80251 and DSPs 24-bit: Mostly DSPs 32-bit: Several ARM core based controllers
13
14
15
16
17
18
Embedded system is computing system other than a desktop computers- Frank Vahid/Tony An embedded system is the one that has computer hardware with software embedded in it as one of its most important component It is any device that includes a programmable computer but is not itself intended to be a general purpose computer-Wayne Wolf
19
System are electronics systems that contain a Microprocessor Micro Controller, but we dont think of them as computer. The computer is hidden in the system- Todd D.Mortan An embedded system is a System whose principle function is not computational, but which is controlled by computer embedded with in it. Tim Wilmshurst
20
21
22
23
24
HARDWARE
25
HARDWARE COMPONENTS OF AN
EMBEDDED SYSTEM
Power supply and reset Ckt i/p device interfacing and driver ckts o/p device interfacing and driver ckts System application specific ckts Processor Timer Interrupt controller Program memory Data Memory Serial communication Port Parallel communication Port
26
Application Software
RTOS
Defines the way the system works Supervises the application software Provides a mechanism to let the processor to run a process as per scheduling (Process scheduling) Perform Context switching between the processes
27
scale Embedded System Medium scale embedded system Sophisticated Embedded System
28
29
MEDIUM SYSTEM
Processor
SCALE EMBEDDED
- 16 0r 32 bit micro controller ,
DSP ,RISC Hardware complexity More Software complexity More Programming tools RTOS ,Source code Engineering Tools, Simulator, Debugger, IDE, Assembler ASIC readily available ASSP and IP for various functions (TCP/IP Protocol Stacking and network connection functions
30
Scalable processors, configuration processors, programmable logic arrays Hardware complexity High Software complexity High Software functions are implemented in hardware to speed up Programming tools May not be available
31
32
Single Functioned Time constraints Tightly Constraint Real Time & Reactive Complex Algorithms User Interface Multirate Manufacturing Cost Power
33
SINGLE FUNCTIONED
An Embedded System usually executes a specific functions repeatedly Eg. pager Exceptions Cell phones Several programs are swapped in & out due to size limitation
34
TIME CONSTRAINTS:
Embedded systems have to perform in real-time: if data is not ready by a certain deadline, the system fails to perform correctly. - Hard deadline: failure to meet leads to major hazards. - Soft deadline: failure to meet can be tolerated but quality of service is reduced.
35
TIGHTLY CONSTRAINT
All Computing systems have constraints on design Matrices Embedded Systems are more tight A design metric is a measure of an implementations features .
36
Many Embedded Systems must continually react to changes in the systems environment and must compute certain results in real time without delay
Eg.
Cars Cruise controller Missile Target System
37
38
39
COMPLEX ALGORITHMS
The operations performed by the processor may be more Complex Eg. Automobile engine Control Mobile Phone
40
USER INTERFACE
Microprocessor are frequently used to control complex user interfaces that may include multiple menus and many options
41
MULTIRATE
ES have several real time activities at the same time. They need to control some operations run at slow rate and some st high rate Optimizing Design Matrices Eg. Multimedia
42
MANUFACTURING COST
Depends on Processor Used Amount of memory required Type Of I/O
43
POWER
44
DESIGN CHALLENGES
46
47
How much hardware do we need ? How do we meet deadlines ? How do we minimize power consumption? How do we design for upgradeability? Does it really works? How does the nature of ES make their design more difficult? Does it optimize the design metrics?
48
49
50
51
DIFFICULT?
Limited Observation Complex Testing Limited Development Environment
52
53
CONSTRAINT
Most of the design metrics are heavily constrained in Embedded System Time to Market design metric NRE Cost & Unit Cost Performance design Metric
54
Introducing an embedded system to the market place early can make a big difference in the system profitability ,since market window for products are becoming very short ,with such windows are often measured in months
55
Performance of a system is a measure of how long the system takes to execute our desired task Main measures of performance Latency Time b/w start of task of task execution to end Through put No of task that can be processed per unit time Speed Up is a common method of comparing the performance of two systems.
56
(FOLLOW THE CLASS NOTES (BLOCK DIAGRAM) WHICH I GAVE IN THE CLASS)
Digital camera
58
BLOCK DIAGRAM
59
CCD
Charge couple device Contains an array of light senitive photocells that capture Image
A2D
D2A
60
CCP Preprocessor Commands CCD to read Image JPEG Codec Compress and decompress the image using JPEG Compression standard Pixel Coprocessor For rapid Display of an image Memory Controller Controls access to memory chip found in camera
61
DMA controller Enables direct memory access by other devices while the Microcontroller is performing other functions UART Communication with PCs serial PORT ISA Bus Interface Enables with faster connection with PCs ISA Bus
62
LCD Control & Display Control Controls the display on the camera LCD Display Multiplier/Accumulator Performs a particular frequently executed compution faster than the c could
63
64
65
BLOCK DIAGRAM
Antenna
Power Module
Microcontroller
LED Panel
Bluetooth
Keypad
66
67