Embedded systems

43
Embedded System -By Pruthvi Koli Mahatma Education Society Pillai’s Polytechinic

Transcript of Embedded systems

Page 1: Embedded systems

Embedded System

-By Pruthvi Koli

Mahatma Education Society Pillai’s Polytechinic

Page 2: Embedded systems

Agenda

Introduction History Characteristics Architecture & Design Applications Summary

Page 3: Embedded systems

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.

What is embedded System???????What is embedded System???????

Page 4: Embedded systems

Definition

Computing systems embedded within electronic devices

Nearly any computing system other than a desktop computer

Page 5: Embedded systems

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 6: Embedded systems

We can embed… Anything

Page 7: Embedded systems

Market is here!

Page 8: Embedded systems

Agenda

Introduction History Characteristics Architecture & Design Applications Summary

Page 9: Embedded systems

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 10: Embedded systems

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 11: Embedded systems

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 12: Embedded systems

Agenda

Introduction History Characteristics Architecture & Design Applications Summary

Page 13: Embedded systems

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 14: Embedded systems

Characteristics (2/4)

Tightly constrained Low cost Simple systems Fewer components

based Performs functions

fast enough Minimum power

Page 15: Embedded systems

Characteristics (3/4)

Reactive and real-time Reactive: Continually

reacts to external events

Real-time: Must compute certain results in real-time

Page 16: Embedded systems

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 17: Embedded systems

Agenda

Introduction History Characteristics Architecture & Design Applications Summary

Page 18: Embedded systems

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 19: Embedded systems

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 20: Embedded systems

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 21: Embedded systems

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 22: Embedded systems

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 23: Embedded systems

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 24: Embedded systems

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 25: Embedded systems

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 26: Embedded systems

Operating System

Usually there is no operating system Embedded operating system: designed to

be very compact and efficient, for saking many functions that non-embedded computer operating systems provide

Page 27: Embedded systems
Page 28: Embedded systems

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 29: Embedded systems

Software Development

The software development process can be represented by lifecycle, also called a linear incremental model.

Analysis, Design, Implementation and maintenance are four stages of this model.

Page 30: Embedded systems

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 31: Embedded systems

Agenda

Introduction History Characteristics Architecture & Design Applications Summary

Page 32: Embedded systems

Application

Lover’s Cup Lego Mindstorms NXT

Page 33: Embedded systems

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 34: Embedded systems

LED, Wi-Fi, liquid sensor

It can be used in medical field.

Page 35: Embedded systems

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 36: Embedded systems

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 37: Embedded systems

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 38: Embedded systems

Crafts on Lego NXT

Page 39: Embedded systems

Agenda

Introduction History Characteristics Architecture & Design Applications Summary

Page 40: Embedded systems

Serve the need for the customers

Page 41: Embedded systems

Summary

Embedded systems are used and are necessary in day-to –day life They are developed to meet the needs of people They make work easier for humans The Embedded systems has shown growth in Market , making investors interested

Page 42: Embedded systems

Questions?

Page 43: Embedded systems

Thank You!!!