Microcontrollers and Embedded Systems
Microcontrollers and Embedded Systems
Microcontrollers and Embedded Systems
Introduction to
EMBEDDED SYSTEM
Dr.Tarek Barhoum
2019-2020
2
Course Objectives
An ES is an electronic/electro-mechanical
system designed to perform a specific
function
And a combination of both hardware and
output analog
firmware (software)
input analog
Every ES is Unique and hardware as well as CPU
BASED ON GENERATION
BASED ON COMPLEXITY & PERFORMANCE
GENERATION:
SMALL-SCALE ES:
Simple in application needs,
Requirements are not time critical
Low performance & Low cost 8 bit processor.
Eg. Electronic toy
MEDIUM-SCALE ES:
Highly complex hardware & software .
Medium performance
16 or 32 bit µp.
They usually contain an embedded operating system for functioning.
LARGE-SCALE ES:
Highly complex hardware & software.
32 or 64 bit processors
They are used in Mission critical applications.
1.2 Comparison of ES & General Purpose Computing System
7
Criteria General Purpose Computer Embedded System
Contents A system which is a combination A system which is a combination of
of a generic hardware and a special purpose hardware and
General Purpose Operating System embedded OS/firmware for executing a
for executing a variety of specific set of applications
applications.
OS It contains a general It may or not contain an
purpose operating system operating system for functioning.
(GPOS).
Alterations Applications are alterable by the Applications are not-alterable by
user. the user.
Key factor Performance is key factor. Application specific requirements are
key factors.
Power More Less
Consumption
Response Time Not critical Critical for some applications
Execution Need not be deterministic Deterministic for certain types of ES
like ‘Hard Real Time’ systems.
1.5 Major Application Areas of
9
ES
The application areas and the products in the embedded
domain are countless.
1. Consumer electronics: Camcorders, cameras, etc.
2. Household appliances: Television, DVD players, washing machine,
fridge, microwave oven, etc.
3. Home automation and security systems: Air conditioners, sprinklers,
intruder detection alarms, closed circuit television cameras, fire
alarms, etc.
4. Automotive industry: Anti-lock breaking systems (ABS), engine
control, ignition systems, automatic navigation systems, etc.
5. Telecom: Cellular telephones, telephone switches, handset
multimedia applications, etc.
1.5 Major Application Areas of
9
ES
The application areas and the products in the embedded
domain are countless.
10 Cont’d
6. Computer peripherals: Printers, scanners, fax machines, etc.
7. Computer Networking systems: Network routers, switches,
hubs, firewalls, etc.
8. Healthcare: Different kinds of scanners, EEG, ECG machines etc.
9. Measurement & Instrumentation: Digital multi meters, digital CROs,
logic analyzers PLC systems, etc.
10. Banking & Retail: Automatic teller machines (ATM) and currency
counters, point of sales (POS).
11. Card Readers: Barcode, smart card readers, hand held devices, etc.
11
Back
11
Back
11
Back
11
Back
11
Back
11
Back
11
Back
12
1.6 Purpose of ES
Each embedded system is designed to serve the purpose of any one or
a
combination of the following tasks:
1. Data collection/Storage/Representation
2. Data Communication
3. Data (signal) processing
4. Monitoring
5. Control
6. Application specific user interface
13 1. Data Collection/Storage/Representation
2. Data Communication
Embedded data communication systems are deployed in
applications from complex satellite communication systems to
simple home networking systems.
The transmission 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.
15
4. Monitoring
Almost all embedded products coming under the medical domain
are with monitoring functions only.
Electro cardiogram machine (ECG) 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
multimeters, and logic analyzers.
18
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 or measuring variable.
The actuators connected to the output port are controlled according
to the changes in the input variable.
Air conditioner system used in our home to control the room
temperature to a specified limit is a typical example for ES for
CONTROL purpose.
19