embedded system.ppt
DESCRIPTION
TRANSCRIPT
![Page 1: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/1.jpg)
What’s that?
![Page 2: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/2.jpg)
How about this one?
![Page 3: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/3.jpg)
Embedded SystemEmbed Everywhere
Chen-Wei Chang
Lee-Kuo Chen
![Page 4: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/4.jpg)
Agenda
Introduction History Characteristics Architecture & Design Applications Summary
![Page 5: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/5.jpg)
An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions, often with real-time computing constraints. It is usually embedded as part of a complete device including hardware and mechanical parts. In contrast, a general-purpose computer, such as a personal computer, can do many different tasks depending on programming. Embedded systems control many of the common devices in use today.
-- Wikipedia
![Page 6: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/6.jpg)
Definition
Hard to define Computing systems embedded within
electronic devices Nearly any computing system other than a
desktop computer
![Page 7: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/7.jpg)
Examples
Air conditioner ATM machine Battery charger Digital camera DVD player Fax machine Home security system Mobile phone Modem
Navigation system PDA Photocopier Printer Router Scanner TV Video game console Wearable computer
![Page 8: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/8.jpg)
We can embed…anything
![Page 9: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/9.jpg)
JoshEnglish
LeoLame English
LegolasElvish language
You know whoParseltounge
Lieutenant WorfKlingon Language
![Page 10: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/10.jpg)
Market is here!
Source: BCC, Inc
![Page 11: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/11.jpg)
Agenda
Introduction History Characteristics Architecture & Design Applications Summary
![Page 12: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/12.jpg)
History
In the earliest years of computers in 1930 – 40s, computers were sometimes dedicated to a single purpose task.
One of the first recognizably modern embedded system was the Apollo Guidance Computer, developed by Charles Stark Draper at the MIT Instrumentation Laboratory.
![Page 13: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/13.jpg)
History
Since these early applications in the 1960s, embedded systems have come down in price and there has been a dramatic rise in processing power and functionality. The first microprocessor for example, the Intel 4004 was designed for calculators and other small systems but still required many external memory and support chips.
![Page 14: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/14.jpg)
History
By the mid-1980s, most of the common previously external system components had been integrated into the same chip as the processor and this modern form of the microcontroller allowed an even more widespread use, which by the end of the decade were the norm rather than the exception for almost all electronics devices.
![Page 15: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/15.jpg)
Agenda
Introduction History Characteristics Architecture & Design Applications Summary
![Page 16: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/16.jpg)
Characteristics (1/4)
Special-purpose Typically, is designed
to execute a single program, repeatedly
It used to be single-purpose
Now, multi-functioned, but single-purpose
Tactic and Strategy
![Page 17: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/17.jpg)
Characteristics (2/4)
Tightly constrained Low cost Simple systems Fewer components
based Performs functions
fast enough Minimum power
![Page 18: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/18.jpg)
Characteristics (3/4)
Reactive and real-time Reactive: Continually
reacts to external events
Real-time: Must compute certain results in real-time
![Page 19: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/19.jpg)
Characteristics (4/4)
Hardware and software co-exist The software written
for embedded systems is often called firmware
Is stored in read-only memory or Flash memory chips rather than a disk drive
![Page 20: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/20.jpg)
Agenda
Introduction History Characteristics Architecture & Design Applications Summary
![Page 21: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/21.jpg)
Differences from usual computer programs Several components of vastly
different functionalities are found in embedded system software
Response time constraint and strict deadlines
All components must use the memory optimally
![Page 22: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/22.jpg)
Differences from usual computer programs Each software
component execution speed must be optimum
Software must have controlled complexity and must be thoroughly tested and debugged for errors
![Page 23: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/23.jpg)
Architecture
Real-time programming: programming the processes or instruction set with
constraints of time for its response, process with latencies, and process with deadlines.
Procedure-oriented C and object-oriented programming C++ and Java languages are used in most embedded systems programming.
Embedded programming is such that methods to optimize the system memory requirements are also used.
![Page 24: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/24.jpg)
Real-Time Operating System
An RTOS is an OS for response time-controlled and event-controlled processes. It is very essential for large scale embedded systems.
![Page 25: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/25.jpg)
Real-Time Operating System
Function 1. Basic OS function 2. RTOS main functions 3. Time Management 4. Predictability 5. Priorities Management 6. IPC Synchronisation 7. Time slicing 8. Hard and soft real-time operability
When do we need RTOS?
![Page 26: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/26.jpg)
When is RTOS necessary? Software for a large number of small-scale embedded system
use no RTOS and these functions are incorporated into the application software.
For small-scaled systems, RTOS’s function can be replaced by C.
For example, instead of the memory allocation and de-allocation functions of RTOS, the C function , melloc and free can be used.
Software can directly handle inter-process communication
![Page 27: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/27.jpg)
When is RTOS necessary?
However, RTOS is essential when… A common and effective way of handling of the hardware
source calls from the interrupts I/O management with devices, files, mailboxes becomes
simple using an RTOS Effectively scheduling and running and blocking of the
tasks in cases of many tasks More….. In conclusion, an RTOS may not be necessary in a small-
scaled embedded system. An RTOS is necessary when scheduling of multiple processes and devices is important.
![Page 28: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/28.jpg)
CPU Platforms
Different from desktop computer CPU Architectures: 65816, 65C02, 68HC08,
68HC11, 68k, 8051, ARM, AVR, Blackfin, C167, Coldfire, COP8, eZ8, eZ80, FR-V, H8, HT48, M16C, M32C, MIPS, MSP430, PIC, PowerPC, R8C, SHARC, ST6, SuperH, TLCS-47, TLCS-870, TLCS-900, Tricore, V850, x86, XE8000, Z80, etc.
![Page 29: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/29.jpg)
Operating System
Usually there is no operating system Embedded operating system: designed to
be very compact and efficient, forsaking many functions that non-embedded computer operating systems provide
![Page 30: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/30.jpg)
Source: LinuxDevices.com
![Page 31: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/31.jpg)
System on chip (SoC)
Integrating all components of a computer or other electronic system into a single integrated circuit (chip).
It may contain digital, analog, mixed-signal, and often radio-frequency functions – all on one chip.
A typical application is in the area of embedded systems.
SiP (System in Package)
![Page 32: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/32.jpg)
![Page 33: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/33.jpg)
Software Development
The software development process can be represented by lifecycle, also called a waterfall or linear incremental model.
Analysis, design, implementation and maintenance are four stages of this model.
![Page 34: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/34.jpg)
User Interface
Embedded systems range from no user interface at all — dedicated only to one task — to full user interfaces similar to desktop operating systems in devices such as PDAs.
![Page 35: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/35.jpg)
Agenda
Introduction History Characteristics Architecture & Design Applications Summary
![Page 36: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/36.jpg)
Application
Lover’s Cup Lego Mindstorms NXT
![Page 37: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/37.jpg)
ApplicationsLover’s Cup Two cups are wireless
connected to each other with sip sensors and LED illumination. The Lover's cups will glow when your lover is drinking.
Lover's Cups can let you share a drink remotely with someone you care. When both of you are drinking, the glowing Lover's Cups represents a celebration of the shared drinking moment.
![Page 38: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/38.jpg)
LED, Wi-Fi, liquid sensor
It can be used in medical field.
![Page 39: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/39.jpg)
Remember our childhood?
![Page 40: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/40.jpg)
Lego Mindstorms
Programmable Logic Device Lego sets combining programmable bricks with
electric motors, sensors, Lego bricks, and Lego Technic pieces (such as gears, axles, and beams)
First released in 1998 Created by Lego and MIT Media Laboratory
![Page 41: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/41.jpg)
Lego Mindstorms NXT Technical specifications 32-bit ARM7 microcontroller 256 Kbytes FLASH, 64 Kbytes RAM 8-bit AVR microcontroller 4 Kbytes FLASH, 512 Byte RAM Bluetooth wireless communication (Bluetooth Class II V2.0 compliant) USB full speed port (12 Mbit/s) 4 input ports, 6-wire cable digital platform (One port includes a IEC 61158
Type 4/EN 50 170 compliant expansion port for future use) 3 output ports, 6-wire cable digital platform 100 x 64 pixel LCD graphical display Loudspeaker - 8 kHz sound quality. Sound channel with 8-bit resolution and
2-16 KHz sample rate. Power source: 6 AA batteries
![Page 42: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/42.jpg)
Lego Mindstorms NXT features
The NXT Touch Sensor, Sound Sensor, Light Sensor,
Ultrasonic Sensor Servo motors Bluetooth, USB NXT Software Gears, axles, and beams Lego bricks
![Page 43: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/43.jpg)
Crafts on Lego NXT
![Page 44: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/44.jpg)
Agenda
Introduction History Characteristics Architecture & Design Applications Summary
![Page 45: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/45.jpg)
![Page 46: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/46.jpg)
Serve the need for the customers
![Page 47: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/47.jpg)
Reference
Embedded Systems: Architecture, Programming, and Design by Raj Kamal
Embedded Systems Handbook by Richard Zurawski
Wikipedia.org Lego.com web.media.mit.edu/~jackylee/cups.htm
![Page 48: Embedded System.ppt](https://reader034.vdocument.in/reader034/viewer/2022050808/54987a4db47959514d8b54fe/html5/thumbnails/48.jpg)
Questions?