Embedded System: Shibu K V
Embedded System: Shibu K V
Embedded System: Shibu K V
Introduction to
EMBEDDED SYSTEM
(2nd Edition)
SHIBU K V
2 Agenda
3.1 Characteristics of Embedded Systems
3.2 Quality Attributes of Embedded Systems
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
3 Learning Objectives
Learn the characteristics describing an embedded system
Learn the important quality attributes of the embedded system that needs to be
addressed for the operational mode (online mode) of the system. This includes
Response, Throughput, Reliability, Maintainability, Security, Safety, etc.
Learn the important quality attributes of the embedded system that needs to be
addressed for the non-operational mode (offline mode) of the system. This
includes Testability, Debug-ability, Evolvability, Portability, Time to prototype
and market, Per unit cost and revenue, etc.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
4 Introduction
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
4. Distributed
6. Power concerns
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
Because the embedded control units of microwave oven and air conditioner
are specifically designed to perform certain specific tasks.
Certain embedded systems are designed to react to the events that occur in
the nearby environment. These events also occur real-time.
Ex. Flight control systems, Antilock Brake Systems (ABS), etc. are examples
of Real Time systems
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.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
9 4. Distributed
The term distributed means that embedded systems may be a part of a
larger system.
These components are independent of each other but have to work
together for the larger system to function properly.
Ex. An automatic vending machine is a typical example for this. The
vending machine contains a card reader (for pre-paid vending
systems), a vending unit, etc. Each of them are independent
embedded units but they work together to perform the overall
vending function.
Ex. Automatic Teller Machine (ATM) contains a card reader
embedded unit, responsible for reading and validating the user’s ATM
card, transaction unit for performing transactions, a currency
counter for dispatching/vending currency to the authorized person and
a printer unit for printing the transaction details.
This can visualize these as independent embedded systems. But they
work together to achieve a common goal.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
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.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
11 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.
Ex. The production of high amount of heat demands cooling
requirements like cooling fans which in turn occupies additional
space and make the system bulky. Nowadays ultra low power
components are available in the market.
Select the design according to the low power components like low
dropout regulators, and controllers/processors with power saving
modes.
Also power management is a critical constraint in battery operated
application.
The more the power consumption the less is the battery life.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
If the quality attributes are more concrete and measurable, it will give a
positive impact on the system development process and the end
product.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
i. Response
ii. Throughput
iii. Reliability
iv. Maintainability
v. Security
vi. Safety
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
14
Reading Assignment
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
15 i. 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.
Ex. An embedded system deployed in flight control application
should respond in a Real Time manner.
Any response delay in the system will create potential damages to
the safety of the flight as well as the passengers.
It is not necessary that all embedded systems should be Real Time in
response.
For example, the response time requirement for an electronic toy is
not at all time-critical.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
ii. Throughput
16
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.
The rates can be expressed in terms of units of products, batches
produced, or any other meaningful measurements.
In case of card reader like the ones used in buses, throughput
means how much transactions the Reader can perform in a minute
or hour or day.
Throughput is generally measured in terms of ‘Benchmark’. A
‘Benchmark’ is a reference point by which something can be
measured.
Benchmark can be a set of performance criteria that a product is
expected to meet or a standard product that can be used for
comparing other products of the same product line.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
17 iii. Reliability
Reliability is a measure of how much percentage you rely upon the
proper functioning of the system or what is the % susceptibility of the
system to failure.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
18
iv. Maintainability
Maintainability deals with support and maintenance to the end user or client in case of technical
issues and product failures or on the basis of a routine system checkup.
Reliability and maintainability are considered as two complementary disciplines. A more reliable
system means a system with less corrective maintainability requirements and vice versa.
Maintainability can be classified into two types:
1. Scheduled or Periodic Maintenance (Preventive Maintenance)
An inkjet printer uses ink cartridges, which are consumable components and as per the printer
manufacturer the end use should replace the cartridge after each ‘n’ number of printouts to get
quality prints.
2. Maintenance to Unexpected Failures (Corrective Maintenance)
If the paper feeding part of the printer fails the printer fails to print and it requires immediate
repairs to rectify this problem.
Hence it is obvious that maintainability is simply an indication of the availability of the product
for use. In any embedded system design, the ideal value for availability is expressed as
𝑨𝒊 = 𝑴𝑻𝑩𝑭/(𝑴𝑻𝑩𝑭 + 𝑴𝑻𝑻𝑹)
Where Ai =Availability in the ideal condition, MTBF=Mean Time Between Failures, and MTTR=
Mean Time To Repair
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
19 v. Security
‘Confidentially’, ‘Integrity’, and ‘Availability’ are three major measures of
information security.
‘Confidentially’ deals with the protection of data and application from
unauthorized disclosure.
‘Integrity’ deals with the protection of data and application from
unauthorized modification.
‘Availability’ deals with protection of data and application from unauthorized
users.
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.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
20 vi. Safety
Safety deals with the possible damages that can happen to the operators,
public and the environment due to the breakdown of an embedded system or
due to the emission of radioactive or hazardous materials from the
embedded products.
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
The quality attributes that needs to be addressed for the product ‘not’ on the
basic of operational aspects are grouped under this category. The important
quality attributes coming under this category are listed below:
ii. Evolvability
iii. Portability
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
23 ii. Evolvability
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
24 iii. Portability
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
27 Cont’d
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
28
Objective Questions
29
Cont’d
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
30
Cont’d
11. The Mean Time Between Failure (MTBF) for an embedded product is very high.
This means:
(a) The product is highly reliable
(b) The availability of the product is very high
(c) The preventive maintenance requirement for the product is very less
(d) All of these
(e) None of these
12. The Mean Time Between Failure (MTBF) of an embedded product is 4 months and
the Mean Time To Repair (MTTR) of the product is 2 weeks. What is the
availability of the product?
(a) 100% (b) 50% (c) 89% (d) 10%
13. Which of the following are the three measures of information security in
embedded systems?
(a) Confidentiality, secrecy, integrity (b) Confidentiality, integrity, availability
(c) Confidentiality, transparency, availability
(d) Integrity, transparency, availability
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
31
Review Questions
Lecture Slides for Textbook Introduction to Embedded Systems, Moe Moe Myint, 2017-2018
Mandalay Technological University
Department of Computer Engineering and Information Technology
32
Only Original Owner has full rights reserved for copied images.