Embedded Systems - An Introduction: Learning Outcomes
Embedded Systems - An Introduction: Learning Outcomes
Embedded Systems
An Introduction
Learning Outcomes
o
Recap
Quiz
Embedded Systems are available everywhere in this modern world. This chapter
will touch on all basic aspects of understanding an Embedded System.
1.1 BASIC IDEA ON SYSTEM
What is a System? A system can be defined as simple as It can accept some
input, analyze and then it should give us the output that the system is meant for
or it should drive the next piece of machine connected to it.
1.2 EMBEDDED SYSTEMS DEFINITIONS
Definition of Embedded Systems can now be seen. Many people have given
many definitions all over the world. If internet is surfed for definition of an
embedded system one will get enormous amount of results getting displayed.
Few of them are picked here to add clarity and finally embedded system can be
defined in a smooth way.
According to Wayne Wolf,
An Embedded System is a computing system other than desktop
computers. This looks pretty simple and other definitions are as follows:
Embedded Systems
An embedded system is the one that has computer hardware with software
embedded in it as one of its most important components.
It is a device that includes a programmable computer but is not itself
intended to be a general purpose computer.
Embedded System can be well defined by taking couple of classical examples.
First, an air conditioner is taken for understanding. What does an air
conditioner do? The temperature is set as per requirement, say 20 C.
There may be variations in external temperature and that will also reflect
in the room air conditioner is fitted. But however the external temperature
varies, the AC machine facilitates user with cool atmosphere (i.e., 20 C)
inside the room as per requirement. What is the action taken?
Consider a second example of the pace maker. Its work is to trigger the
heart beat if at all heart is getting into trouble. How is this done?
Answers for both the questions are the same.
When looking into the definition of an Embedded System, one can get
answer for above quoted cases.
Tightly Constraint
Real Time and Reactive
Complex Algorithms
User Interface
Multi Rate
Each of the above characteristics are discussed below in detail.
1. Single Functioned
An Embedded System can execute a specific function repeatedly i.e., dedicated
function. As an example, Air conditioner will be cooling the room. Cooling is its
dedicated functionality and it cannot be used for any other purposes. AC cant
be used for making calls. Likewise mobile phone is an Embedded System that
can be used to make and receive calls and it cant be used for controlling room
temperature.
Consider the list of embedded systems that are being used every day.
1. Pager.
2. Microwave oven.
3. Mobile phone.
4. ATMs.
5. Car braking systems.
6. Automobile cruise controllers.
7. Pace makers.
8. Modem.
9. Network cards and many more.
Embedded Systems
Embedded Systems
Embedded System
Design Challenges
Hardware
Hardware Selection
Selection
Upgradability
Upgradability
Will
Willititwork?
work?
aspects. The developer would know that problem and it can be fixed. But how
will it reach the phone that had already reached public?
So it must be supporting with upgradation of versions of software for it.
Keep this in mind that the product should be upgradable with the same hardware!
Secondly, when writing software for embedded systems, it should be kept
in mind on maintainability. The code should not be just written in such a way that
only developer who developed it can understand. It should be understandable
for other engineers also. Other engineers should also be able to understand and
fix bugs in the code if any, if need be.
4. Will it work?
Nice Question. Isnt it? Yeah. Please ensure if the system that has been designed
is really working fine. How can it be ensured? Through rigorous testing it is
possible; it needs to be proceeded with testing in many ways. First can be unit
testing, next stage is Sanity Testing and the third stage can be Regression testing.
Also even if the product has entered, it has to be constantly monitored. If any
customer complaint rises, that bug has to be looked into and has also to be fixed.
And more importantly, the bug that is fixed should not introduce any new bugs.
Lets now get to know about the categorization of the embedded systems!
1.5 CATEGORIZATION OF EMBEDDED SYSTEMS
Embedded Systems can be categorized based on the complexity in building, cost
factors, purpose of the system, tools and other related environment availability,
etc. Keeping these points, table 1.1 has been framed and it has dealt with
categories. Broadly one can classify embedded system into any of these,
1. Small Scale Embedded Systems.
2. Medium Scale Embedded Systems, and
3. Sophisticated Embedded Systems.
Table 1.1: Categorization of Embedded Systems
Small Scale
Embedded System
Processor
Medium Scale
Embedded System
Sophisticated
Embedded System
It can be a 16 bit or
32 bit processor here.
(think of little complex
and intensive process
with this processor)
Contd...
Embedded Systems
8
Hardware
Complexity
Highly Complex.
(designers need
enormous expertise
to do proceed with
this)
Software
Complexity
No complexity will
be there in this
coding. Because the
device is not meant
for performing
complex
functionalities.
Battery operated
There will be
complexity added up.
This will have few
functions and code
might be lengthy.
Yeah. Most
Complex.
Designer needs to
be a master to work
on the code.
Battery operated
Can be Battery or
Live Source based
on the application.
Can be programmed
in simple
environment. So no
much research on
tools is required
here.
Calculator can be
the simplest
example. Stepper
motor controller can
be added to the list.
Designer needs
sophisticated
environment here.
Washing Machine,
Microwave Oven, and
Vending machine.
Power
Tools
Availabiltiy
Examples
1.6 EXAMPLES OF EMBEDDED SYSTEMS
Coming to examples, everything around us can be taken! Yeah, each and
everything these days are embedded systems. Lets take this way.
From the time of getting up in the morning,
1. Digital Water Heater! (After bath need to breakfast!). Here temperature
is the process variable and it is the input to be set by user. Controller will
take care on the controlling action and will take care of the heating process.
2. Microwave Oven (coffee after breakfast). Here again temperature will
be the process variable. Same controlling action will be taken.
3. Braking System, Music Player, Tire Pressure Monitoring System, Airbags,
Power Windows and GPS (Many more embedded systems are there
inside only 1% is quoted, workplace has been reached now. Car braking
system can be an instance; it shows the real time and reactive behaviour.
Brake would be applied at any point in time, but still it would stop the car.)
4.
5. Video games, all digital gaming machines, I pod, MP3/MP4 players, Xbox
and what not!
POINTS TO REMEMBER
1. An Embedded System is single functioned and AC can be remembered
as a simple example.
2. Embedded Systems are Real time systems which is reactive in nature.
3. Many design challenges are associated with making an embedded
system, including cost, power etc.
4. Embedded systems are classified into three major divisionsSmall scale,
medium scale and large scale embedded systems.
Review Questions
1. What is an Embedded System? Give an example.
2. Embedded systems are quoted as single functioned systems. Justification
is required in this case.
3. Define Real time.
4. Throw an example for real time and reactive embedded system.
5. What are the major categories of the Embedded Systems? Give an example
for each division.
6. Is LCD projector an Embedded System? Please justify.
1.7 QUIZ
1. Pick odd one out! (Embedded is the clue)
(a) Laptop
(c) Mobile phone
(b) Projector
(d) MP3 player
Embedded Systems
10