SlideShare a Scribd company logo
Internet-of-Things (IoT)
Fundamentals of IoT, basic concepts,
applications
Day1-Lec2
Components of an IoT Device
Embedded System/Computer
• “Any sort of device which includes a
programmable computer but itself is not
intended to be a general-purpose computer”
–Wayne Wolf
• General purpose
• Dedicated
Automotive Embedded Systems
Automotive Embedded Systems
• Today’s high-end automobile may have 100+
microprocessors:
– Seat belt; dashboard devices; engine control; ABS;
automatic stability control; navigation system;
infotainment system; collision avoidance system; tire
pressure monitoring; lane warning; adaptive cruise
control; climate control; airbag control unit; electric
window and central locking; parking aid; automatic
wiper control; alarm and immobilizer; power seat;
electric power steering; electronic transmission;
active suspension
Embedded Processor Market
• 80 million PCs every year
• 3 billion embedded CPUs every year
• Embedded systems market growing, while PC
market mostly saturated
General-Purpose Processor
• Programmable device,
“microprocessor”
• Features
– Program memory
– General data path with large
register file and general ALU
• User benefits
– Low time-to-market and NRE costs
– High flexibility
• Examples: Intel Core i7, AMD
Ryzen 5, etc.
IR PC
Register
file
General
ALU
Datapath
Controller
Program
memory
Assembly code
for:
total = 0
for i =1 to …
Control
logic and
State register
Data
memory
Dedicated Processor
• Digital circuit designed specifically for one
purpose
• Features
– Contains only the components needed to execute a
single program
– No program memory
• Benefits
– Fast
– Low power
– Small size
Datapath
Controller
Control
logic
State
register
Data
memory
index
total
+
Application-Specific Processor
(ASIC)
• Programmable processor
optimized for a particular class of
applications that have common
characteristics (compromise)
• Features
– Program memory
– Optimized data path
– Special functional units
• Benefits
– Some flexibility, good performance,
size, and power, “reusable”
IR PC
Registers
Custom
ALU
Datapath
Controller
Program
memory
Assembly code
for:
total = 0
for i =1 to …
Control
logic and
State register
Data
memory
Characteristics of Embedded
Systems
• Dedicated functionality
• Real-time operation
• Small size and low weight
• Low power
• Harsh environments
• Safety-critical operation
• Cost sensitive
Embedded vs. Real Time Systems
• Embedded system: is a computer system that performs a
limited set of specific functions; it often interacts with its
environment
• RTS: Correctness of the system depends not only on the
logical results, but also on the time in which the results
are produced
Embedded
Systems
Real Time
Systems
Examples?
Examples
• Real Time Embedded:
– Nuclear reactor control
– Flight control
– Basically any safety critical system
– GPS
– MP3 player
– Mobile phone
• Real Time, but not Embedded:
– Stock trading system
– Skype
– Pandora, Netflix
• Embedded, but not Real Time:
– Home temperature control
– Sprinkler system
– Washing machine, refrigerator, etc.
Characteristics of RTS
• Event-driven (reactive) vs. time-driven
• Reliability/fault-tolerance requirements
(example: triple modular redundancy)
• Predictability
• Priorities in multi-programmed systems
Taxonomy
• Hard RT: absolutely imperative to meet all
timing constraints
• Soft RT: deadlines are important, but the
system will still function even if deadline is
missed
Firm RT: no value, but not catastrophic
Taxonomy: Static
• Task arrival times can be predicted
• Static (compile-time) analysis possible
• Allows good resource usage (low idle time for
processors)
Taxonomy: Dynamic
• Arrival times unpredictable
• Static (compile-time) analysis possible only for
simple cases
• Processor utilization varies dramatically; must
design system to handle “worst case”
• Must avoid over-simplifying assumptions
– e.g., assuming that all tasks are independent, when
this is unlikely
Taxonomy: Periodic
• Each task (or group of tasks) executes repeatedly
with a particular period
• Allows some static analysis techniques to be
used
• Matches characteristics of many real problems
• It is possible to have tasks with deadlines
smaller, equal to, or greater than their period
– the later are difficult to handle (i.e., multiple
concurrent task instances occur)
Taxonomy: Periodic
• Single rate:
– One period in the system
– Simple but inflexible
– Used in implementing a lot of wireless sensor
networks
• Multi rate:
– Multiple periods
– Should be harmonics to simplify system design
Taxonomy: Aperiodic
• Are also called sporadic, asynchronous, or
reactive
• Creates a dynamic situation
• Bounded arrival time intervals are easier to
handle
• Unbounded arrival time intervals are impossible
to handle with resource-constrained systems
Control Systems
• Man-machine interface: input devices, e.g., keyboard and output
devices, e.g., display
• Instrumentation interface: sensors and actuators that transform
between physical signals and digital data
• Most control systems are hard real-time
• Deadlines are determined by the controlled object, i.e., the temporal
behavior of the physical phenomenon (fuel injection vs. ATM)
Operator
Controlled
Object
Real-Time
Computer
System
Man-Machine
Interface
Instrumentation
Interface
Control System Example
Example: A simple one-sensor, one-actuator control system.
control-law
computation
A/D
A/D
D/A
sensor plant actuator
rk
yk
y(t) u(t)
uk
reference
input r(t)
The system
being controlled
Outside effects
Control Systems Cont’d.
Pseudo-code for this system:
set timer to interrupt periodically with period T;
at each timer interrupt do
do analog-to-digital conversion to get y;
compute control output u;
output u and do digital-to-analog conversion;
end do
T is called the sampling period. T is a key design choice. Typical
range for T: seconds to milliseconds.
Sensors and Actuators
• Sensors:
– They are mainly input components
– They sense and collect surrounding information
• Actuators:
– They are mainly output components
– They alter the surrounding
Communications
• Connects devices with each other & the cloud
• Communication type:
– Wireline (e.g., copper wires, optical fibers)
– Wireless (e.g., RF, IR); RF-based communication is
the most popular choice
• Popular RF-based communication solutions:
– IEEE 802.15.4
– IEEE 802.11 (or Wifi)
– Bluetooth
– Near Field Communication (NFC), e.g., RFID
Components of an IoT Device
IoT EcoSystem Weeks 5&6
Week 1
Week 1
Week 2 Week 2 Weeks 3&4
BREAK

More Related Content

Similar to IoT-Week1-Day2-Lecture.pptx

Embedded systems
Embedded systemsEmbedded systems
Embedded systems
Manju Nathan
 
39245175 intro-es-ii
39245175 intro-es-ii39245175 intro-es-ii
39245175 intro-es-ii
Embeddedbvp
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
Khuram Shahzad
 
Embedded Systems Overview
Embedded Systems OverviewEmbedded Systems Overview
Embedded Systems Overview
Sameer Rapate
 
ppt2.pptx
ppt2.pptxppt2.pptx
ppt2.pptx
chere3
 
mechatronics.pdf
mechatronics.pdfmechatronics.pdf
mechatronics.pdf
ChamathKushan
 
EMBEDDED SYSTEMS - MSc Sem III (Final).ppt
EMBEDDED SYSTEMS - MSc Sem III (Final).pptEMBEDDED SYSTEMS - MSc Sem III (Final).ppt
EMBEDDED SYSTEMS - MSc Sem III (Final).ppt
Namrata Ajwani
 
Embeddedsystem basic for Engineering Students
Embeddedsystem basic for Engineering StudentsEmbeddedsystem basic for Engineering Students
Embeddedsystem basic for Engineering Students
Electro 8
 
Unit 1 - Introduction
Unit 1 - IntroductionUnit 1 - Introduction
Unit 1 - Introduction
ButtaRajasekhar2
 
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
Real Time Operating Systems,  Dynamic Precision: Exploring the Realm of Real-...Real Time Operating Systems,  Dynamic Precision: Exploring the Realm of Real-...
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
Adobe2801
 
Dcs overview
Dcs overviewDcs overview
Dcs overview
manoharprvn123
 
Embedded system
Embedded systemEmbedded system
Embedded system
Anum Naz
 
Embedded OS and Application-2024-01 Embedded system introduction.pdf
Embedded OS and Application-2024-01 Embedded system introduction.pdfEmbedded OS and Application-2024-01 Embedded system introduction.pdf
Embedded OS and Application-2024-01 Embedded system introduction.pdf
mengsteabtewelde
 
Introduction to Embedded C++.pptx
Introduction to Embedded C++.pptxIntroduction to Embedded C++.pptx
Introduction to Embedded C++.pptx
MohamedSaied316569
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
Prof. Erwin Globio
 
embeddedsystemspresentation-140524063909-phpapp01.pdf
embeddedsystemspresentation-140524063909-phpapp01.pdfembeddedsystemspresentation-140524063909-phpapp01.pdf
embeddedsystemspresentation-140524063909-phpapp01.pdf
Ashwin180668
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05
Rajesh Gupta
 
Industrial Control Systems and basic SCADA system.pptx
Industrial Control Systems and basic SCADA system.pptxIndustrial Control Systems and basic SCADA system.pptx
Industrial Control Systems and basic SCADA system.pptx
MohdNajibAliMokhtar
 
Intelligent instrumentation and power plant simulators
Intelligent instrumentation and power plant simulatorsIntelligent instrumentation and power plant simulators
Intelligent instrumentation and power plant simulators
Selvam Sethurathinam
 
introduction to embedded system presentation
introduction to embedded system presentationintroduction to embedded system presentation
introduction to embedded system presentation
Amr Rashed
 

Similar to IoT-Week1-Day2-Lecture.pptx (20)

Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
39245175 intro-es-ii
39245175 intro-es-ii39245175 intro-es-ii
39245175 intro-es-ii
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Embedded Systems Overview
Embedded Systems OverviewEmbedded Systems Overview
Embedded Systems Overview
 
ppt2.pptx
ppt2.pptxppt2.pptx
ppt2.pptx
 
mechatronics.pdf
mechatronics.pdfmechatronics.pdf
mechatronics.pdf
 
EMBEDDED SYSTEMS - MSc Sem III (Final).ppt
EMBEDDED SYSTEMS - MSc Sem III (Final).pptEMBEDDED SYSTEMS - MSc Sem III (Final).ppt
EMBEDDED SYSTEMS - MSc Sem III (Final).ppt
 
Embeddedsystem basic for Engineering Students
Embeddedsystem basic for Engineering StudentsEmbeddedsystem basic for Engineering Students
Embeddedsystem basic for Engineering Students
 
Unit 1 - Introduction
Unit 1 - IntroductionUnit 1 - Introduction
Unit 1 - Introduction
 
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
Real Time Operating Systems,  Dynamic Precision: Exploring the Realm of Real-...Real Time Operating Systems,  Dynamic Precision: Exploring the Realm of Real-...
Real Time Operating Systems, Dynamic Precision: Exploring the Realm of Real-...
 
Dcs overview
Dcs overviewDcs overview
Dcs overview
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Embedded OS and Application-2024-01 Embedded system introduction.pdf
Embedded OS and Application-2024-01 Embedded system introduction.pdfEmbedded OS and Application-2024-01 Embedded system introduction.pdf
Embedded OS and Application-2024-01 Embedded system introduction.pdf
 
Introduction to Embedded C++.pptx
Introduction to Embedded C++.pptxIntroduction to Embedded C++.pptx
Introduction to Embedded C++.pptx
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
embeddedsystemspresentation-140524063909-phpapp01.pdf
embeddedsystemspresentation-140524063909-phpapp01.pdfembeddedsystemspresentation-140524063909-phpapp01.pdf
embeddedsystemspresentation-140524063909-phpapp01.pdf
 
Embedded Intro India05
Embedded Intro India05Embedded Intro India05
Embedded Intro India05
 
Industrial Control Systems and basic SCADA system.pptx
Industrial Control Systems and basic SCADA system.pptxIndustrial Control Systems and basic SCADA system.pptx
Industrial Control Systems and basic SCADA system.pptx
 
Intelligent instrumentation and power plant simulators
Intelligent instrumentation and power plant simulatorsIntelligent instrumentation and power plant simulators
Intelligent instrumentation and power plant simulators
 
introduction to embedded system presentation
introduction to embedded system presentationintroduction to embedded system presentation
introduction to embedded system presentation
 

Recently uploaded

A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
OH TEIK BIN
 
BPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end examBPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end exam
sonukumargpnirsadhan
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
Mohammad Al-Dhahabi
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
ImMuslim
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
nitinpv4ai
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
nitinpv4ai
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
David Douglas School District
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
Celine George
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
sanamushtaq922
 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
Celine George
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Kalna College
 
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGHKHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
shreyassri1208
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
Kalna College
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
EduSkills OECD
 
How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17
Celine George
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptxA Free 200-Page eBook ~ Brain and Mind Exercise.pptx
A Free 200-Page eBook ~ Brain and Mind Exercise.pptx
 
BPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end examBPSC-105 important questions for june term end exam
BPSC-105 important questions for june term end exam
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)skeleton System.pdf (skeleton system wow)
skeleton System.pdf (skeleton system wow)
 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
 
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
Geography as a Discipline Chapter 1 __ Class 11 Geography NCERT _ Class Notes...
 
Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)Oliver Asks for More by Charles Dickens (9)
Oliver Asks for More by Charles Dickens (9)
 
Skimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S EliotSkimbleshanks-The-Railway-Cat by T S Eliot
Skimbleshanks-The-Railway-Cat by T S Eliot
 
Juneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School DistrictJuneteenth Freedom Day 2024 David Douglas School District
Juneteenth Freedom Day 2024 David Douglas School District
 
How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17How to Download & Install Module From the Odoo App Store in Odoo 17
How to Download & Install Module From the Odoo App Store in Odoo 17
 
Observational Learning
Observational Learning Observational Learning
Observational Learning
 
How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17How to Manage Reception Report in Odoo 17
How to Manage Reception Report in Odoo 17
 
Contiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptxContiguity Of Various Message Forms - Rupam Chandra.pptx
Contiguity Of Various Message Forms - Rupam Chandra.pptx
 
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGHKHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
KHUSWANT SINGH.pptx ALL YOU NEED TO KNOW ABOUT KHUSHWANT SINGH
 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
 
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx78 Microsoft-Publisher - Sirin Sultana Bora.pptx
78 Microsoft-Publisher - Sirin Sultana Bora.pptx
 
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
Andreas Schleicher presents PISA 2022 Volume III - Creative Thinking - 18 Jun...
 
How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17How to Setup Default Value for a Field in Odoo 17
How to Setup Default Value for a Field in Odoo 17
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 8 - CẢ NĂM - FRIENDS PLUS - NĂM HỌC 2023-2024 (B...
 

IoT-Week1-Day2-Lecture.pptx

  • 1. Internet-of-Things (IoT) Fundamentals of IoT, basic concepts, applications Day1-Lec2
  • 2. Components of an IoT Device
  • 3. Embedded System/Computer • “Any sort of device which includes a programmable computer but itself is not intended to be a general-purpose computer” –Wayne Wolf • General purpose • Dedicated
  • 5. Automotive Embedded Systems • Today’s high-end automobile may have 100+ microprocessors: – Seat belt; dashboard devices; engine control; ABS; automatic stability control; navigation system; infotainment system; collision avoidance system; tire pressure monitoring; lane warning; adaptive cruise control; climate control; airbag control unit; electric window and central locking; parking aid; automatic wiper control; alarm and immobilizer; power seat; electric power steering; electronic transmission; active suspension
  • 6. Embedded Processor Market • 80 million PCs every year • 3 billion embedded CPUs every year • Embedded systems market growing, while PC market mostly saturated
  • 7. General-Purpose Processor • Programmable device, “microprocessor” • Features – Program memory – General data path with large register file and general ALU • User benefits – Low time-to-market and NRE costs – High flexibility • Examples: Intel Core i7, AMD Ryzen 5, etc. IR PC Register file General ALU Datapath Controller Program memory Assembly code for: total = 0 for i =1 to … Control logic and State register Data memory
  • 8. Dedicated Processor • Digital circuit designed specifically for one purpose • Features – Contains only the components needed to execute a single program – No program memory • Benefits – Fast – Low power – Small size Datapath Controller Control logic State register Data memory index total +
  • 9. Application-Specific Processor (ASIC) • Programmable processor optimized for a particular class of applications that have common characteristics (compromise) • Features – Program memory – Optimized data path – Special functional units • Benefits – Some flexibility, good performance, size, and power, “reusable” IR PC Registers Custom ALU Datapath Controller Program memory Assembly code for: total = 0 for i =1 to … Control logic and State register Data memory
  • 10. Characteristics of Embedded Systems • Dedicated functionality • Real-time operation • Small size and low weight • Low power • Harsh environments • Safety-critical operation • Cost sensitive
  • 11. Embedded vs. Real Time Systems • Embedded system: is a computer system that performs a limited set of specific functions; it often interacts with its environment • RTS: Correctness of the system depends not only on the logical results, but also on the time in which the results are produced Embedded Systems Real Time Systems Examples?
  • 12. Examples • Real Time Embedded: – Nuclear reactor control – Flight control – Basically any safety critical system – GPS – MP3 player – Mobile phone • Real Time, but not Embedded: – Stock trading system – Skype – Pandora, Netflix • Embedded, but not Real Time: – Home temperature control – Sprinkler system – Washing machine, refrigerator, etc.
  • 13. Characteristics of RTS • Event-driven (reactive) vs. time-driven • Reliability/fault-tolerance requirements (example: triple modular redundancy) • Predictability • Priorities in multi-programmed systems
  • 14. Taxonomy • Hard RT: absolutely imperative to meet all timing constraints • Soft RT: deadlines are important, but the system will still function even if deadline is missed Firm RT: no value, but not catastrophic
  • 15. Taxonomy: Static • Task arrival times can be predicted • Static (compile-time) analysis possible • Allows good resource usage (low idle time for processors)
  • 16. Taxonomy: Dynamic • Arrival times unpredictable • Static (compile-time) analysis possible only for simple cases • Processor utilization varies dramatically; must design system to handle “worst case” • Must avoid over-simplifying assumptions – e.g., assuming that all tasks are independent, when this is unlikely
  • 17. Taxonomy: Periodic • Each task (or group of tasks) executes repeatedly with a particular period • Allows some static analysis techniques to be used • Matches characteristics of many real problems • It is possible to have tasks with deadlines smaller, equal to, or greater than their period – the later are difficult to handle (i.e., multiple concurrent task instances occur)
  • 18. Taxonomy: Periodic • Single rate: – One period in the system – Simple but inflexible – Used in implementing a lot of wireless sensor networks • Multi rate: – Multiple periods – Should be harmonics to simplify system design
  • 19. Taxonomy: Aperiodic • Are also called sporadic, asynchronous, or reactive • Creates a dynamic situation • Bounded arrival time intervals are easier to handle • Unbounded arrival time intervals are impossible to handle with resource-constrained systems
  • 20. Control Systems • Man-machine interface: input devices, e.g., keyboard and output devices, e.g., display • Instrumentation interface: sensors and actuators that transform between physical signals and digital data • Most control systems are hard real-time • Deadlines are determined by the controlled object, i.e., the temporal behavior of the physical phenomenon (fuel injection vs. ATM) Operator Controlled Object Real-Time Computer System Man-Machine Interface Instrumentation Interface
  • 21. Control System Example Example: A simple one-sensor, one-actuator control system. control-law computation A/D A/D D/A sensor plant actuator rk yk y(t) u(t) uk reference input r(t) The system being controlled Outside effects
  • 22. Control Systems Cont’d. Pseudo-code for this system: set timer to interrupt periodically with period T; at each timer interrupt do do analog-to-digital conversion to get y; compute control output u; output u and do digital-to-analog conversion; end do T is called the sampling period. T is a key design choice. Typical range for T: seconds to milliseconds.
  • 23. Sensors and Actuators • Sensors: – They are mainly input components – They sense and collect surrounding information • Actuators: – They are mainly output components – They alter the surrounding
  • 24. Communications • Connects devices with each other & the cloud • Communication type: – Wireline (e.g., copper wires, optical fibers) – Wireless (e.g., RF, IR); RF-based communication is the most popular choice • Popular RF-based communication solutions: – IEEE 802.15.4 – IEEE 802.11 (or Wifi) – Bluetooth – Near Field Communication (NFC), e.g., RFID
  • 25. Components of an IoT Device IoT EcoSystem Weeks 5&6 Week 1 Week 1 Week 2 Week 2 Weeks 3&4
  • 26. BREAK