SlideShare a Scribd company logo
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 1
EC308: EMBEDDED SYSTEMS & PROGRAMMING (ESP)
(For B.Tech. ECE -VI Semester)
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 2
Unit-I
Introduction: Definition of Embedded System, Embedded Systems Vs General
Computing Systems, Classification, Major Application Areas, Purpose of Embedded
Systems, Characteristics and Quality Attributes of Embedded Systems.
DEFINITION OF AN EMBEDDED SYSTEM
· An embedded system is a combination of 3 things:
a. Hardware
b. Software
c. Mechanical Components
And it is supposed to do one specific task only.
· Example 1: Washing Machine
A washing machine from an embedded systems point of view has:
a. Hardware: Buttons, Display & buzzer, electronic circuitry.
b. Software: It has a chip on the circuit that holds the software which drives
controls & monitors the various operations possible.
c. Mechanical Components: the internals of a washing machine which actually
wash the clothes control the input and output of water, the chassis itself.
· Example 2: Air Conditioner
An Air Conditioner from an embedded systems point of view has:
a. Hardware: Remote, Display & buzzer, Infrared Sensors, electronic circuitry.
b. Software: It has a chip on the circuit that holds the software which drives
controls & monitors the various operations possible. The software monitors
the external temperature through the sensors and then releases the coolant or
suppresses it.
c. Mechanical Components: the internals of an air conditioner the motor, the
chassis, the outlet, etc
· An embedded system is designed to do a specific job only. Example: a washing
machine can only wash clothes, an air conditioner can control the temperature in the
room in which it is placed.
· The hardware & mechanical components will consist all the physically visible things
that are used for input, output, etc.
· An embedded system will always have a chip (either microprocessor or
microcontroller) that has the code or software which drives the system.
HISTORY OF EMBEDDED SYSTEM
· The first recognised embedded system is the Apollo Guidance Computer(AGC)
developed by MIT lab.
· AGC was designed on 4K words of ROM & 256 words of RAM.
· The clock frequency of first microchip used in AGC was 1.024 MHz.
· The computing unit of AGC consists of 11 instructions and 16 bit word logic.
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 3
· It used 5000 ICs.
· The UI of AGC is known DSKY(display/keyboard) which resembles a
calculator type keypad with array of numerals.
· The first mass-produced embedded system was guidance computer for
the Minuteman-I missile in 1961.
· In the year 1971 Intel introduced the world's first microprocessor chip
called the 4004, was designed for use in business calculators. It was
produced by the Japanese company Busicom.
EMBEDDED SYSTEM & GENERAL PURPOSE COMPUTER
The Embedded System and the General purpose computer are at two
extremes. The embedded system is designed to perform a specific task whereas
as per definition the general purpose computer is meant for general use. It can be
used for playing games, watching movies, creating software, work on documents
or spreadsheets etc.
Following are certain specific points of difference between embedded systems
and general purpose computers:
Criteria General Purpose Embedded system
Computer
Contents It is combination of It is combination of special
generic hardware and a purpose hardware and
general purpose OS for embedded OS for executing
executing a variety of specific set of applications
applications.
Operating It contains general It may or may not contain
System purpose operating system operating system.
Alterations Applications are alterable Applications are non-alterable
by the user. by the user.
Key factor Performance” is key Application specific
factor. requirements are key factors.
Power More Less
Consumpti
on
Response Not Critical Critical for some
Time applications
CLASSIFICATION OF EMBEDDED SYSTEM
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 4
The classification of embedded system is based on following criteria's:
 On generation
 On complexity & performance
 On deterministic behaviour
 On triggering
On generation
1. First generation(1G):
 Built around 8bit microprocessor & microcontroller.
 Simple in hardware circuit & firmware developed.
 Examples: Digital telephone keypads.
2. Second generation(2G):
 Built around 16-bit µp & 8-bit µc.
 They are more complex & powerful than 1G µp & µc.
 Examples: SCADA systems
3. Third generation(3G):
 Built around 32-bit µp & 16-bit µc.
 Concepts like Digital Signal Processors(DSPs), Application Specific
Integrated Circuits(ASICs) evolved.
 Examples: Robotics, Media, etc.
4. Fourth generation:
 Built around 64-bit µp & 32-bit µc.
 The concept of System on Chips (SoC), Multicore Processors evolved.
 Highly complex & very powerful.
 Examples: Smart Phones.
On complexity & performance
1. Small-scale:
 Simple in application need
 Performance not time-critical.
 Built around low performance & low cost 8 or 16 bit µp/µc.
 Example: an electronic toy
2. Medium-scale:
 Slightly complex in hardware & firmware requirement.
 Built around medium performance & low cost 16 or 32 bit µp/µc.
 Usually contain operating system.
 Examples: Industrial machines.
3. Large-scale:
 Highly complex hardware & firmware.
 Built around 32 or 64 bit RISC µp/µc or PLDs or Multicore
Processors.
 Response is time-critical.
 Examples: Mission critical applications.
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 5
On deterministic behaviour
 This classification is applicable for “Real Time” systems.
 The task execution behaviour for an embedded system may be
deterministic or non-deterministic.
 Based on execution behaviour Real Time embedded systems are
divided into Hard and Soft.
On triggering
 Embedded systems which are “Reactive” in nature can be based on
triggering.
 Reactive systems can be:
Event triggered
Time triggered
APPLICATION OF EMBEDDED SYSTEM
The application areas and the products in the embedded domain are countless.
1. Consumer Electronics: Camcorders, Cameras.
2. Household appliances: Washing machine, Refrigerator.
3. Automotive industry: Anti-lock breaking system(ABS), engine control.
4. Home automation & security systems: Air conditioners, sprinklers, fire
alarms.
5. Telecom: Cellular phones, telephone switches.
6. Computer peripherals: Printers, scanners.
7. Computer networking systems: Network routers and switches.
8. Healthcare: EEG, ECG machines.
9. Banking & Retail: Automatic teller machines, point of sales.
10. Card Readers: Barcode, smart card readers.
PURPOSE OF EMBEDDED SYSTEM
1. Data Collection/Storage/Representation
 Embedded system designed for the purpose of data collection performs
acquisition of data from the external world.
 Data collection is usually done for storage,analysis, manipulation and
transmission.
 Data can be analog or digital.
 Embedded systems with analog data capturing techniques collect data
directly in the form of analog signal whereas embedded systems with
digital data collection mechanism converts the analog signal to the digital
signal using analog to digital converters.
 If the data is digital it can be directly captured by digital embedded system.
 A digital camera is a typical example of an embedded
 System with data collection/storage/representation of data.
 Images are captured and the captured image may be stored within the
memory of the camera. The captured image can also be presented to the
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 6
user through a graphic LCD unit.
2. Data communication
 Embedded data communication systems are deployed in applications from
complex satellite communication to simple home networking systems.
 The transmission of data is achieved either by a wire-line medium or by a
wire-less medium.
 Data can either be transmitted by analog means or by digital means.
 Wireless modules-Bluetooth, Wi-Fi.
 Wire-line modules-USB, TCP/IP.
 Network hubs, routers, switches are examples of dedicated data
transmission embedded systems.
3. Data signal processing
 Embedded systems with signal processing functionalities are employed in
applications demanding signal processing like speech coding, audio video
codec, transmission applications etc.
 A digital hearing aid is a typical example of an embedded system
employing data processing.
 Digital hearing aid improves the hearing capacity of hearing impaired
person
4. Monitoring
 All embedded products coming under the medical domain are with
monitoring functions.
 Electro cardiogram machine is intended to do the monitoring of the
heartbeat of a patient but it cannot impose control over the heartbeat.
 Other examples with monitoring function are digital CRO, digital multi-
meters, and logic analyzers.
5. Control
 A system with control functionality contains both sensors and actuators.
 Sensors are connected to the input port for capturing the changes in
environmental variable and the actuators connected to the output port are
controlled according to the changes in the input variable.
 Air conditioner system used to control the room temperature to a
specified limit is a typical example for CONTROL purpose.
6. Application specific user interface
 Buttons, switches, keypad, lights, bells, display units etc are application
specific user interfaces.
 Mobile phone is an example of application specific user interface.
 In mobile phone the user interface is provided through the keypad,
system speaker, vibration alert etc.
CHARACTERISTICS OF EMBEDDED SYSTEM
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 7
Following are some of the characteristics of an embedded system
that make it different from a general purpose computer:
1. Application and Domain specific
· An embedded system is designed for a specific purpose only. It will not
do any other task.
· Ex. A washing machine can only wash, it cannot cook
· Certain embedded systems are specific to a domain: ex. A hearing aid is
an application that belongs to the domain of signal processing.
2. Reactive and Real time
 Certain Embedded systems are designed to react to the events that occur
in the nearby environment. These events also occur real-time.
 Ex. An air conditioner adjusts its mechanical parts as soon as it gets a
signal from its sensors to increase or decrease the temperature when the
user operates it using a remote control.
 An embedded system uses Sensors to take inputs and has actuators to
bring out the required functionality.
3. Operation in harsh environment
 Certain embedded systems are designed to operate in harsh environments
like very high temperature of the deserts or very low temperature of the
mountains or extreme rains.
 These embedded systems have to be capable of sustaining the
environmental conditions it is designed to operate in.
4. Distributed
 Certain embedded systems are part of a larger system and thus form
components of a distributed system.
 These components are independent of each other but have to work
together for the larger system to function properly.
 Ex. A car has many embedded systems controlled to its dash board. Each
one is an independent embedded system yet the entire car can be said to
function properly only if all the systems work together.
5. Small size and weight
 An embedded system that is compact in size and has light weight will be
desirable or more popular than one that is bulky and heavy.
 Ex. Currently available cell phones. The cell phones that have the
maximum features are popular but also their size and weight is an
important characteristic.
 For convenience users prefer mobile phones than phablets. (phone +
tablet pc)
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 8
6. Power concerns
 It is desirable that the power utilization and heat dissipation of any
embedded system be low.
· If more heat is dissipated then additional units like heat sinks or cooling
fans need to be added to the circuit.
· If more power is required then a battery of higher power or more
batteries need to be accommodated in the embedded system.
QUALITY ATTRIBUTES OF EMBEDDED SYSTEM
These are the attributes that together form the deciding factor about the
quality of an embedded system.
There are two types of quality attributes are:-
1. Operational Quality Attributes.
· These are attributes related to operation or functioning of an embedded
system. The way an embedded system operates affects its overall quality.
2. Non-Operational Quality Attributes.
· These are attributes not related to operation or functioning of an
embedded system. The way an embedded system operates affects its
overall quality.
· These are the attributes that are associated with the embedded system
before it can be put in operation.
Operational Attributes
a) Response
· Response is a measure of quickness of the system.
· It gives you an idea about how fast your system is tracking the input
variables.
· Most of the embedded system demand fast response which should be
real-time.
b) Throughput
· Throughput deals with the efficiency of system.
· It can be defined as rate of production or process of a defined process
over a stated period of time.
· In case of card reader like the ones used in buses, throughput means
how much transaction the reader can perform in a minute or hour or
day.
c) Reliability
· Reliability is a measure of how much percentage you rely upon the
proper functioning of the system .
· Mean Time between failures and Mean Time To Repair are terms
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 9
used in defining system reliability.
· Mean Time between failures can be defined as the average time the
system is functioning before a failure occurs.
· Mean time to repair can be defined as the average time the system
has spent in repairs.
d) Maintainability
· Maintainability deals with support and maintenance to the end user
or a client in case of technical issues and product failures or on the
basis of a routine system checkup
· It can be classified into two types :-
1. Scheduled or Periodic Maintenance
o This is the maintenance that is required regularly after a
periodic time interval.
o Example :
Periodic Cleaning of Air Conditioners
Refilling of printer cartridges.
2. Maintenance to unexpected failure
· This involves the maintenance due to a sudden
breakdown in the functioning of the system.
· Example:
1. Air conditioner not powering on
2. Printer not taking paper in spite of a full paper
stack
e) Security
Confidentiality, Integrity and Availability are three corner
stones of information security.
· Confidentiality deals with protection data from unauthorized disclosure.
· Integrity gives protection from unauthorized modification.
· Availability gives protection from unauthorized user
· Certain Embedded systems have to make sure they conform to the
security measures. Ex. An Electronic Safety Deposit Locker can be used
only with a pin number like a password.
f) Safety
· Safety deals with the possible damage that can happen to the operating
person and environment due to the breakdown of an embedded system or
due to the emission of hazardous materials from the embedded products.
· A safety analysis is a must in product engineering to evaluate the
anticipated damage and determine the best
course of action to bring down the consequence of damages to an acceptable level.
Non Operational Attributes
a) Testability and Debug-ability
It deals with how easily one can test his/her design, application and by which mean he/she
can test it.
EMBEDDED SYSTEMS & PROGRAMMING (ESP)
GPREC KNL. Page 10
In hardware testing the peripherals and total hardware function in designed manner
Firmware testing is functioning in expected way
Debug-ability is means of debugging the product as such for figuring out the probable sources
that create unexpected behavior in the total system
b) Evolvability
For embedded system, the qualitative attribute “Evolvability” refer to ease with which the
embedded product can be modified to take advantage of new firmware or hardware
technology.
c) Portability
Portability is measured of “system Independence”.
An embedded product can be called portable if it is capable of performing its operation as it is
intended to do in various
environments irrespective of different processor and or controller and embedded operating
systems.
d) Time to prototype and market
· Time to Market is the time elapsed between the conceptualization of a product and time at
which the product is ready for selling or use
· Product prototyping help in reducing time to market.
· Prototyping is an informal kind of rapid product development in which important feature of
the under consider are develop.
· In order to shorten the time to prototype, make use of all possible option like use of reuse, off
the self component etc.
e) Per unit and total cost
· Cost is an important factor which needs to be carefully monitored. Proper market study and
cost benefit analysis should be carried out before taking decision on the per unit cost of the
embedded product.
· When the product is introduced in the market, for the initial period the sales and revenue will
be low
· There won’t be much competition when the product sales and revenue increase.
· During the maturing phase, the growth will be steady and revenue reaches highest point and
at retirement time there will be a drop in sales volume.

More Related Content

DOCX
Embedded System
PPTX
Embedded systems - UNIT-1 - Mtech
PPTX
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Introduction to Embedded Systems
PDF
Introduction to EMBEDDED SYSTEM.pdf
DOCX
Industrial monitoring and control system using android application
PDF
ARC_INTRODUCTION OF EMBEDDED SYSTEMS(UNIT 1).pdf
PPTX
Lecture 1 PPT - Introduction to Embedded Systems.pptx
PPTX
Unit 1 - Introduction
Embedded System
Embedded systems - UNIT-1 - Mtech
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Introduction to Embedded Systems
Introduction to EMBEDDED SYSTEM.pdf
Industrial monitoring and control system using android application
ARC_INTRODUCTION OF EMBEDDED SYSTEMS(UNIT 1).pdf
Lecture 1 PPT - Introduction to Embedded Systems.pptx
Unit 1 - Introduction

Similar to EIOT Unit 1n.pdf (20)

PPTX
Fundamentals of Internet of Things (IoT)
PDF
MODULE4_MES.pdf
PPTX
Embedded System Real Time Operating System (ERTS) I unit by vijay
PPTX
Embedded systems PPT module 4 covering VTU syllabus
PDF
Vinod report es 1
DOCX
Vinod report es 1
DOCX
Density based traffic light controlling (2)
PDF
Embedded system (Chapter 1)
PPTX
18CS44-MODULE3-PPT.pptx
DOCX
Embedded systems- nanocdac
PPTX
R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1
DOCX
Project Report On Micro-controller Embedded System
PPT
21CS43-Microcontroller and Embedded Systems - Mod 4 Notes
PDF
Embedded Patient Monitoring System
PPTX
Vinod ppt on es31 08 15
DOCX
embedded systems
PPT
EMBEDDED SYSTEMS - MSc Sem III (Final).ppt
PPTX
WIZTECH –BEST EMBEDDED.pptx
PPT
Embedded system
Fundamentals of Internet of Things (IoT)
MODULE4_MES.pdf
Embedded System Real Time Operating System (ERTS) I unit by vijay
Embedded systems PPT module 4 covering VTU syllabus
Vinod report es 1
Vinod report es 1
Density based traffic light controlling (2)
Embedded system (Chapter 1)
18CS44-MODULE3-PPT.pptx
Embedded systems- nanocdac
R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1
Project Report On Micro-controller Embedded System
21CS43-Microcontroller and Embedded Systems - Mod 4 Notes
Embedded Patient Monitoring System
Vinod ppt on es31 08 15
embedded systems
EMBEDDED SYSTEMS - MSc Sem III (Final).ppt
WIZTECH –BEST EMBEDDED.pptx
Embedded system
Ad

Recently uploaded (20)

PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Construction Project Organization Group 2.pptx
DOCX
573137875-Attendance-Management-System-original
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Well-logging-methods_new................
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
web development for engineering and engineering
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
composite construction of structures.pdf
PPTX
Welding lecture in detail for understanding
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Digital Logic Computer Design lecture notes
Lecture Notes Electrical Wiring System Components
Construction Project Organization Group 2.pptx
573137875-Attendance-Management-System-original
Operating System & Kernel Study Guide-1 - converted.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Well-logging-methods_new................
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
web development for engineering and engineering
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Lesson 3_Tessellation.pptx finite Mathematics
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Strings in CPP - Strings in C++ are sequences of characters used to store and...
composite construction of structures.pdf
Welding lecture in detail for understanding
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Digital Logic Computer Design lecture notes
Ad

EIOT Unit 1n.pdf

  • 1. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 1 EC308: EMBEDDED SYSTEMS & PROGRAMMING (ESP) (For B.Tech. ECE -VI Semester)
  • 2. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 2 Unit-I Introduction: Definition of Embedded System, Embedded Systems Vs General Computing Systems, Classification, Major Application Areas, Purpose of Embedded Systems, Characteristics and Quality Attributes of Embedded Systems. DEFINITION OF AN EMBEDDED SYSTEM · An embedded system is a combination of 3 things: a. Hardware b. Software c. Mechanical Components And it is supposed to do one specific task only. · Example 1: Washing Machine A washing machine from an embedded systems point of view has: a. Hardware: Buttons, Display & buzzer, electronic circuitry. b. Software: It has a chip on the circuit that holds the software which drives controls & monitors the various operations possible. c. Mechanical Components: the internals of a washing machine which actually wash the clothes control the input and output of water, the chassis itself. · Example 2: Air Conditioner An Air Conditioner from an embedded systems point of view has: a. Hardware: Remote, Display & buzzer, Infrared Sensors, electronic circuitry. b. Software: It has a chip on the circuit that holds the software which drives controls & monitors the various operations possible. The software monitors the external temperature through the sensors and then releases the coolant or suppresses it. c. Mechanical Components: the internals of an air conditioner the motor, the chassis, the outlet, etc · An embedded system is designed to do a specific job only. Example: a washing machine can only wash clothes, an air conditioner can control the temperature in the room in which it is placed. · The hardware & mechanical components will consist all the physically visible things that are used for input, output, etc. · An embedded system will always have a chip (either microprocessor or microcontroller) that has the code or software which drives the system. HISTORY OF EMBEDDED SYSTEM · The first recognised embedded system is the Apollo Guidance Computer(AGC) developed by MIT lab. · AGC was designed on 4K words of ROM & 256 words of RAM. · The clock frequency of first microchip used in AGC was 1.024 MHz. · The computing unit of AGC consists of 11 instructions and 16 bit word logic.
  • 3. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 3 · It used 5000 ICs. · The UI of AGC is known DSKY(display/keyboard) which resembles a calculator type keypad with array of numerals. · The first mass-produced embedded system was guidance computer for the Minuteman-I missile in 1961. · In the year 1971 Intel introduced the world's first microprocessor chip called the 4004, was designed for use in business calculators. It was produced by the Japanese company Busicom. EMBEDDED SYSTEM & GENERAL PURPOSE COMPUTER The Embedded System and the General purpose computer are at two extremes. The embedded system is designed to perform a specific task whereas as per definition the general purpose computer is meant for general use. It can be used for playing games, watching movies, creating software, work on documents or spreadsheets etc. Following are certain specific points of difference between embedded systems and general purpose computers: Criteria General Purpose Embedded system Computer Contents It is combination of It is combination of special generic hardware and a purpose hardware and general purpose OS for embedded OS for executing executing a variety of specific set of applications applications. Operating It contains general It may or may not contain System purpose operating system operating system. Alterations Applications are alterable Applications are non-alterable by the user. by the user. Key factor Performance” is key Application specific factor. requirements are key factors. Power More Less Consumpti on Response Not Critical Critical for some Time applications CLASSIFICATION OF EMBEDDED SYSTEM
  • 4. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 4 The classification of embedded system is based on following criteria's:  On generation  On complexity & performance  On deterministic behaviour  On triggering On generation 1. First generation(1G):  Built around 8bit microprocessor & microcontroller.  Simple in hardware circuit & firmware developed.  Examples: Digital telephone keypads. 2. Second generation(2G):  Built around 16-bit µp & 8-bit µc.  They are more complex & powerful than 1G µp & µc.  Examples: SCADA systems 3. Third generation(3G):  Built around 32-bit µp & 16-bit µc.  Concepts like Digital Signal Processors(DSPs), Application Specific Integrated Circuits(ASICs) evolved.  Examples: Robotics, Media, etc. 4. Fourth generation:  Built around 64-bit µp & 32-bit µc.  The concept of System on Chips (SoC), Multicore Processors evolved.  Highly complex & very powerful.  Examples: Smart Phones. On complexity & performance 1. Small-scale:  Simple in application need  Performance not time-critical.  Built around low performance & low cost 8 or 16 bit µp/µc.  Example: an electronic toy 2. Medium-scale:  Slightly complex in hardware & firmware requirement.  Built around medium performance & low cost 16 or 32 bit µp/µc.  Usually contain operating system.  Examples: Industrial machines. 3. Large-scale:  Highly complex hardware & firmware.  Built around 32 or 64 bit RISC µp/µc or PLDs or Multicore Processors.  Response is time-critical.  Examples: Mission critical applications.
  • 5. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 5 On deterministic behaviour  This classification is applicable for “Real Time” systems.  The task execution behaviour for an embedded system may be deterministic or non-deterministic.  Based on execution behaviour Real Time embedded systems are divided into Hard and Soft. On triggering  Embedded systems which are “Reactive” in nature can be based on triggering.  Reactive systems can be: Event triggered Time triggered APPLICATION OF EMBEDDED SYSTEM The application areas and the products in the embedded domain are countless. 1. Consumer Electronics: Camcorders, Cameras. 2. Household appliances: Washing machine, Refrigerator. 3. Automotive industry: Anti-lock breaking system(ABS), engine control. 4. Home automation & security systems: Air conditioners, sprinklers, fire alarms. 5. Telecom: Cellular phones, telephone switches. 6. Computer peripherals: Printers, scanners. 7. Computer networking systems: Network routers and switches. 8. Healthcare: EEG, ECG machines. 9. Banking & Retail: Automatic teller machines, point of sales. 10. Card Readers: Barcode, smart card readers. PURPOSE OF EMBEDDED SYSTEM 1. Data Collection/Storage/Representation  Embedded system designed for the purpose of data collection performs acquisition of data from the external world.  Data collection is usually done for storage,analysis, manipulation and transmission.  Data can be analog or digital.  Embedded systems with analog data capturing techniques collect data directly in the form of analog signal whereas embedded systems with digital data collection mechanism converts the analog signal to the digital signal using analog to digital converters.  If the data is digital it can be directly captured by digital embedded system.  A digital camera is a typical example of an embedded  System with data collection/storage/representation of data.  Images are captured and the captured image may be stored within the memory of the camera. The captured image can also be presented to the
  • 6. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 6 user through a graphic LCD unit. 2. Data communication  Embedded data communication systems are deployed in applications from complex satellite communication to simple home networking systems.  The transmission of data is achieved either by a wire-line medium or by a wire-less medium.  Data can either be transmitted by analog means or by digital means.  Wireless modules-Bluetooth, Wi-Fi.  Wire-line modules-USB, TCP/IP.  Network hubs, routers, switches are examples of dedicated data transmission embedded systems. 3. Data signal processing  Embedded systems with signal processing functionalities are employed in applications demanding signal processing like speech coding, audio video codec, transmission applications etc.  A digital hearing aid is a typical example of an embedded system employing data processing.  Digital hearing aid improves the hearing capacity of hearing impaired person 4. Monitoring  All embedded products coming under the medical domain are with monitoring functions.  Electro cardiogram machine is intended to do the monitoring of the heartbeat of a patient but it cannot impose control over the heartbeat.  Other examples with monitoring function are digital CRO, digital multi- meters, and logic analyzers. 5. Control  A system with control functionality contains both sensors and actuators.  Sensors are connected to the input port for capturing the changes in environmental variable and the actuators connected to the output port are controlled according to the changes in the input variable.  Air conditioner system used to control the room temperature to a specified limit is a typical example for CONTROL purpose. 6. Application specific user interface  Buttons, switches, keypad, lights, bells, display units etc are application specific user interfaces.  Mobile phone is an example of application specific user interface.  In mobile phone the user interface is provided through the keypad, system speaker, vibration alert etc. CHARACTERISTICS OF EMBEDDED SYSTEM
  • 7. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 7 Following are some of the characteristics of an embedded system that make it different from a general purpose computer: 1. Application and Domain specific · An embedded system is designed for a specific purpose only. It will not do any other task. · Ex. A washing machine can only wash, it cannot cook · Certain embedded systems are specific to a domain: ex. A hearing aid is an application that belongs to the domain of signal processing. 2. Reactive and Real time  Certain Embedded systems are designed to react to the events that occur in the nearby environment. These events also occur real-time.  Ex. An air conditioner adjusts its mechanical parts as soon as it gets a signal from its sensors to increase or decrease the temperature when the user operates it using a remote control.  An embedded system uses Sensors to take inputs and has actuators to bring out the required functionality. 3. Operation in harsh environment  Certain embedded systems are designed to operate in harsh environments like very high temperature of the deserts or very low temperature of the mountains or extreme rains.  These embedded systems have to be capable of sustaining the environmental conditions it is designed to operate in. 4. Distributed  Certain embedded systems are part of a larger system and thus form components of a distributed system.  These components are independent of each other but have to work together for the larger system to function properly.  Ex. A car has many embedded systems controlled to its dash board. Each one is an independent embedded system yet the entire car can be said to function properly only if all the systems work together. 5. Small size and weight  An embedded system that is compact in size and has light weight will be desirable or more popular than one that is bulky and heavy.  Ex. Currently available cell phones. The cell phones that have the maximum features are popular but also their size and weight is an important characteristic.  For convenience users prefer mobile phones than phablets. (phone + tablet pc)
  • 8. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 8 6. Power concerns  It is desirable that the power utilization and heat dissipation of any embedded system be low. · If more heat is dissipated then additional units like heat sinks or cooling fans need to be added to the circuit. · If more power is required then a battery of higher power or more batteries need to be accommodated in the embedded system. QUALITY ATTRIBUTES OF EMBEDDED SYSTEM These are the attributes that together form the deciding factor about the quality of an embedded system. There are two types of quality attributes are:- 1. Operational Quality Attributes. · These are attributes related to operation or functioning of an embedded system. The way an embedded system operates affects its overall quality. 2. Non-Operational Quality Attributes. · These are attributes not related to operation or functioning of an embedded system. The way an embedded system operates affects its overall quality. · These are the attributes that are associated with the embedded system before it can be put in operation. Operational Attributes a) Response · Response is a measure of quickness of the system. · It gives you an idea about how fast your system is tracking the input variables. · Most of the embedded system demand fast response which should be real-time. b) Throughput · Throughput deals with the efficiency of system. · It can be defined as rate of production or process of a defined process over a stated period of time. · In case of card reader like the ones used in buses, throughput means how much transaction the reader can perform in a minute or hour or day. c) Reliability · Reliability is a measure of how much percentage you rely upon the proper functioning of the system . · Mean Time between failures and Mean Time To Repair are terms
  • 9. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 9 used in defining system reliability. · Mean Time between failures can be defined as the average time the system is functioning before a failure occurs. · Mean time to repair can be defined as the average time the system has spent in repairs. d) Maintainability · Maintainability deals with support and maintenance to the end user or a client in case of technical issues and product failures or on the basis of a routine system checkup · It can be classified into two types :- 1. Scheduled or Periodic Maintenance o This is the maintenance that is required regularly after a periodic time interval. o Example : Periodic Cleaning of Air Conditioners Refilling of printer cartridges. 2. Maintenance to unexpected failure · This involves the maintenance due to a sudden breakdown in the functioning of the system. · Example: 1. Air conditioner not powering on 2. Printer not taking paper in spite of a full paper stack e) Security Confidentiality, Integrity and Availability are three corner stones of information security. · Confidentiality deals with protection data from unauthorized disclosure. · Integrity gives protection from unauthorized modification. · Availability gives protection from unauthorized user · Certain Embedded systems have to make sure they conform to the security measures. Ex. An Electronic Safety Deposit Locker can be used only with a pin number like a password. f) Safety · Safety deals with the possible damage that can happen to the operating person and environment due to the breakdown of an embedded system or due to the emission of hazardous materials from the embedded products. · A safety analysis is a must in product engineering to evaluate the anticipated damage and determine the best course of action to bring down the consequence of damages to an acceptable level. Non Operational Attributes a) Testability and Debug-ability It deals with how easily one can test his/her design, application and by which mean he/she can test it.
  • 10. EMBEDDED SYSTEMS & PROGRAMMING (ESP) GPREC KNL. Page 10 In hardware testing the peripherals and total hardware function in designed manner Firmware testing is functioning in expected way Debug-ability is means of debugging the product as such for figuring out the probable sources that create unexpected behavior in the total system b) Evolvability For embedded system, the qualitative attribute “Evolvability” refer to ease with which the embedded product can be modified to take advantage of new firmware or hardware technology. c) Portability Portability is measured of “system Independence”. An embedded product can be called portable if it is capable of performing its operation as it is intended to do in various environments irrespective of different processor and or controller and embedded operating systems. d) Time to prototype and market · Time to Market is the time elapsed between the conceptualization of a product and time at which the product is ready for selling or use · Product prototyping help in reducing time to market. · Prototyping is an informal kind of rapid product development in which important feature of the under consider are develop. · In order to shorten the time to prototype, make use of all possible option like use of reuse, off the self component etc. e) Per unit and total cost · Cost is an important factor which needs to be carefully monitored. Proper market study and cost benefit analysis should be carried out before taking decision on the per unit cost of the embedded product. · When the product is introduced in the market, for the initial period the sales and revenue will be low · There won’t be much competition when the product sales and revenue increase. · During the maturing phase, the growth will be steady and revenue reaches highest point and at retirement time there will be a drop in sales volume.