Real-Time and Embedded Systems - Lecture Slide Chp-1
Real-Time and Embedded Systems - Lecture Slide Chp-1
Real-Time and
Embedded
Systems
CoSc4412
Dagmawi Lemma (PhD)
Assistant Professor
[email protected]
Department of Computer Science,
Addis Ababa University
t.me/EmbeddedSystemsCourse
The Course
• The advancement of digital technology has revolutionized the
utilization of computer systems across diverse fields, leading to
their ubiquitous presence in various scales and applications.
From large-scale industrial operations to personal activities
and household appliances, computers have become
indispensable. Consequently, the proliferation of embedded
systems has surged, catering to specialized services while
requiring real-time responsiveness.
Real-Time and Embedded Systems
1
3/11/2024
Outline
Architecture ES-
Introduction and Development
Components Life Cycle
Introduction
1. Understanding Embedded Systems
Compare and Contrast with General-Purpose Computer Systems:
Explore the differences between embedded systems and general-purpose computer systems,
highlighting their unique characteristics and applications.
Special Requirements of Embedded Systems:
Discuss the specific requirements and constraints inherent to embedded systems, such as real-time
operation, low power consumption, and reliability.
Embedded Systems Application Areas:
Real-Time and Embedded Systems
Survey the diverse application areas of embedded systems, ranging from consumer electronics to
automotive and industrial control.
2
3/11/2024
Accuracy
Diligence
Versatility
Reliability
Consistency
Memory
Storage Capacity
Remembrance Power
Automation
3
3/11/2024
4
3/11/2024
• Predictability
microprocessor
Need to be converted to digital signals – an analog-to-digit converter (ADC)
is needed in between a sensor and a microprocessor
Controller is the brain of embedded system
Controller = one or more microprocessors + memory + some peripherals + a
real-time software application
The controller acts through actuators
Need to convert digital signals to analog, hence a digit-to-analog
conversion (DAC) needs to be performed in order to apply the
microprocessor output to the actuator
10
5
3/11/2024
12
6
3/11/2024
13
14
7
3/11/2024
15
16
8
3/11/2024
• Mobile devices
Our mobiles are turning to be one
17
Application Areas
• Embedded systems are now almost everywhere:
Home Appliances Medical
Automotive
Infrastructures
Industry
Medical Devices
Construction Communications
Military
Real-Time and Embedded Systems
Business Managements
Scientific Devices
Communication Devices
Automotive
Military Weapons and Ancillaries Comsumer Industrial
Consumer Products
etc.
18
9
3/11/2024
19
I/O Ports or
Other Electrical Devices Physical
Real-Time and Embedded Systems
20
10
3/11/2024
21
22
11
3/11/2024
Internet of Things
• Understanding IoT • This section is part of
Evolution that introduces IoT Chapter 2 that aims to
introduce recent
• What it is actually developments in computing
Dagmawi Lemma
(alternative architecture) of
IoT
23
Understanding IoT
Internet of
Things: enable the
things to be connected
over a network (over
PAN, LAN, WAN, or the
Internet) that was
WAN: enables the meant to connect the
Computers: human-user to computers. But
meant to enable data communicate globally human-user are not
processing, storage and as computers situated expected, necessarily,
retrieval efficient and miles away can be to operate the
effective connected. THINGS.
12
3/11/2024
13
3/11/2024
Dagmawi Lemma
• How is it organized and what components
are involved?
27
IoT Architecture
• IoT
requirements, broadly, can be related to
most activities in computing.
Perception collecting data from the physical world with less or no intervention of the user, hence
various sensors are used
CoSc6302 - Advanced Computer Networks: by
Preprocessing collected data shall be preprocessed before relayed over a network; this also includes data
filtering
Communication different entities, the “things” we need to accomplish the task, need to communicate using
various protocols and standards
the data collected and communicated shall ultimately need to be processed to meet
Dagmawi Lemma
Application requirements of the end user (business/individual user) while improving the user experience
• This may include to take action with less or no intervention by the user, hence actuators can be used
Monitoring
it is important to monitor the environment and resource (scarce resource)
28
14
3/11/2024
Dagmawi Lemma
predominant in IoT, particular three-
layered or five-layered.
29
Perception Layer
Network Layer
Application
Application
Layer Layer
Responsible for delivering application specific service
Network Responsible for connectivity and processing the raw data captured
Dagmawi Lemma
30
15
3/11/2024
Dagmawi Lemma
communicated for decision making and/or further
processing
31
complicated
32
16
3/11/2024
Dagmawi Lemma
Diagram adapted from www.edureka.co/iot-certification-training
33
Physical
Dagmawi Lemma
Human Digital
Ecological Physical Personal / Social / Public local / global
(Living) Phenomena
17
3/11/2024
Dagmawi Lemma
called as a transducer.
For example, even a speaker can be
called as a transducer as it converts
electrical signal to pressure waves
(sound).
35
36
18
3/11/2024
Dagmawi Lemma
37
38
19
3/11/2024
Dagmawi Lemma
(previous slide), the calculated distance may
require actuation on a vehicle break system
39
The management on the other hands handles nonfunctional Von Neumann Architecture
requirements aspect so as to assure the proper delivery of the
functional requirements
Dagmawi Lemma
40
20
3/11/2024
Dagmawi Lemma
41
Event-Driven Vs Real-Time
• In computing a task (or execution) is started if the command to
initiate the task is triggered:
Explicitly by the user,
Upon arrival of a certain triggering factor, such as when data
arrived (such as sensor data), or
CoSc6302 - Advanced Computer Networks: by
42
21
3/11/2024
Dagmawi Lemma
Capacity: An amount of time required to complete a
certain task (T).
43
capacity (Tc).
Hence:
desirably 𝑇 𝑇,
unconditionally 𝑇𝑝 𝑇𝑐
The arrival time of a task (Ta) should before the deadline (Td) and
the difference should always be less than the capacity (Tc) of the
task.
Dagmawi Lemma
Hence:
desirably 𝑇 |𝑇 𝑇 |,
unconditionally 𝑇 |𝑇 𝑇|
44
22
3/11/2024
Dagmawi Lemma
impact.
45
23