SlideShare a Scribd company logo
Computers as Components
3e
© 2012 Marilyn Wolf
What is an Embedded
System?
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Examples
 Digital Printers
 Automobile: engine, brakes, dash, etc.
 Airplane: engine, flight controls, nav/comm.
 Household appliances (microwave, blenders etc)
 Samsung SmartThings
https://www.smartthings.com/
 RoboCV http://robocv.com/
 Microsoft HoloLens https://
www.microsoft.com/microsoft-hololens/en-us
 Google TiltBrush https://www.tiltbrush.com/
 https://
www.datamation.com/mobile-wireless/75-top-iot-devices-1.
html
 Holoportation:
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
What is an embedded
system?
Embedded computing system: any
device that includes a programmable
computer but is not itself a general-
purpose computer.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Embedding a computer
CPU
mem
input
output analog
analog
embedded
computer
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Early history
 Late 1940’s: MIT Whirlwind computer
was designed for real-time
operations.
 Originally designed to control an aircraft
simulator.
 First microprocessor was Intel 4004
in early 1970’s.
 HP-35 calculator used several chips
to implement a microprocessor in
1972.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Early history, cont’d.
 Automobiles used microprocessor-
based engine controllers starting in
1980.
 Control fuel/air mixture, engine timing,
etc.
 Multiple modes of operation: warm-up,
cruise, hill climbing, etc.
 Provides lower emissions, better fuel
efficiency.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Automotive embedded
systems
 Today’s high-end automobile may
have 100 microprocessors:
 4-bit microcontroller checks seat belt;
 microcontrollers run dashboard devices;
 16/32-bit microprocessor controls
engine.
 Low-end cars use 20+
microprocessors.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
 https://
cecas.clemson.edu/cvel/auto/systems/auto-systems02.html
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
BMW 850i brake and stability
control system
 Anti-lock brake system (ABS): pumps
brakes to reduce skidding.
 Automatic stability control (ASC+T):
controls engine to improve stability.
 ABS and ASC+T communicate.
 ABS was introduced first---needed to
interface to existing ABS module.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
BMW 850i, cont’d.
brake
sensor
brake
sensor
brake
sensor
brake
sensor
ABS
hydraulic
pump
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Discussion
 Describe a novel example of
embedded system that you have
encountered recently?
 What is not an embedded system?
Give examples?
 What do you think are the core skills
required for developing embedded
systems?
Computers as Components
3e
© 2012 Marilyn Wolf
Micro Processor
Vs
Micro Controller
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Microprocessor
Microprocessor is an IC (integrated circuit)
which has only the CPU inside them i.e.
only the processing power. Examples are
Intel’s Pentium 1,2,3,4, core 2 duo, i3, i5
etc.
 The microprocessors don’t have RAM,
ROM, and other peripheral on the chip. A
system designer has to add them
externally to make them functional.
Application of microprocessor includes
Desktop PC’s, Laptops, notepads etc.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Microcontroller
 Microcontroller has a CPU, in
addition with a fixed amount of
RAM, ROM and other peripherals all
embedded on a single chip.
 At times it is also termed as a mini
computer or a computer on a
single chip.
 Today different manufacturers
produce microcontrollers with a
wide range of features available in
different versions. Some
manufacturers are ATMEL,
Microchip, TI, Freescale, Philips,
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Microprocessor vs.
Microcontroller (1)
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Microprocessor vs.
Microcontroller (2)
 Microcontrollers are designed to perform specific
tasks. Specific means applications where the
relationship of input and output is defined.
Depending on the input, some processing needs
to be done and output is delivered. For example,
keyboards, mouse, washing machine, digicam,
pendrive, remote, microwave, cars, bikes,
telephone, mobiles, watches, etc. Since the
applications are very specific, they need small
resources like RAM, ROM, I/O ports etc. and hence
can be embedded on a single chip. This in turn
reduces the size and the cost.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Microprocessor vs.
Microcontroller (3)
 Microprocessor find applications where tasks are
unspecific like developing software, games,
websites, photo editing, creating documents etc.
In such cases the relationship between input and
output is not defined. They need high amount of
resources like RAM, ROM, I/O ports etc. 
 The clock speed of the Microprocessor is quite
high as compared to the microcontroller. Whereas
the microcontrollers operate from a few MHz to
30 to 50 MHz, today’s microprocessor operate
above 1GHz as they perform complex tasks. 
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Microprocessors Microcontrollers
Microprocessor is the heart of
computer system.
It is the heart of the embedded
system.
It is just a processor. Memory and I/O
components have to be having to be
connected externally.
Microcontroller chip contains processor
along with internal memory and I/O
components.
Since I/O and memory connected
externally, the circuit becomes large.
Since I/O and memory present
internally, the circuit is small.
Can't be used in compact systems Can be used in compact systems
Cost of entire system increases. Cost of entire system is low.
Power consumption is high. Power consumption is low.
Most of the microprocessors do not
have power saving modes.
Most of the microcontrollers have
power saving mode.
Difficult to replace. Easy to replace.
Mainly used in personal computers. Used mainly in washing machine, MP3
players.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Discussion
 Why do we need microcontrollers?
Computers as Components
3e
© 2012 Marilyn Wolf
Characteristics of
Embedded Systems
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Characteristics of embedded
systems
 Think about a real world embedded
device (say a GPS Navigator)
 Sophisticated functionality
 Real-time operation.
 Low manufacturing cost.
 Low power.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Functional complexity
 Often have to run sophisticated
algorithms or multiple algorithms.
 Cell phone, laser printer, automobile
engine control for fuel/pollution
efficiency
 Often provide sophisticated user
interfaces.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Real-time operation
 Must finish operations by deadlines.
 Hard real time: missing deadline causes
failure.
 Soft real time: missing deadline results
in degraded performance.
 Many systems are multi-rate: must
handle operations at widely varying
rates.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Cost and Power
 Many embedded systems are mass-
market items that must have low
manufacturing costs.
 Limited memory, microprocessor power,
etc.
 Power consumption is critical in
battery-powered devices.
 Excessive power consumption increases
system cost even in wall-powered
devices.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Discussion
 Which characteristic clearly
distinguishes the embedded systems
from traditional computing systems?
Computers as Components
3e
© 2012 Marilyn Wolf
Challenges in building
embedded systems
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Challenges in embedded
system design
 How much hardware do we need?
 How big is the CPU? Memory?
 How do we meet our deadlines?
 Faster hardware or cleverer software?
 How do we minimize power?
 Turn off unnecessary logic? Reduce
memory accesses?
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Challenges, etc.
 Does it really work?
 Is the specification correct?
 Does the implementation meet the
spec?
 How do we test for real-time
characteristics?
 How do we test on real data?
 How do we work on the system?
 Observability, controllability?
 What is our development platform?
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Discussion
 What challenges did you face in your
senior design project?
Computers as Components
3e
© 2012 Marilyn Wolf
Performance
Considerations
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
What does “performance”
mean?
 In general-purpose computing,
performance often means average-
case, may not be well-defined.
 In real-time systems, performance
means meeting deadlines.
 Missing the deadline by even a little is
bad.
 Finishing ahead of the deadline may not
help.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Characterizing performance
 We need to analyze the system at
several levels of abstraction to
understand performance:
 CPU.
 Platform (Buses and I/O devices)
 Program (Software code)
 Task (multiple threads)
 Multiprocessor (multiple processors)
Computers as Components
3e
© 2012 Marilyn Wolf
Design Process Used for
Developing Embedded
System
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Design Process: Levels of
abstraction
requirements
specification
architecture
component
design
system
integration
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Requirements
 Plain language description of what
the user wants and expects to get.
 May be developed in several ways:
 talking directly to customers;
 talking to marketing representatives;
 providing prototypes to users for
comment.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Functional vs. non-functional
requirements
 Functional requirements:
 output as a function of input.
 Non-functional requirements:
 time required to compute output;
 size, weight, etc.;
 power consumption;
 reliability;
 etc.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Example: GPS moving map
requirements
 Moving map
obtains position
from GPS,
paints map
from local
database.
lat: 40 13 lon: 32 19
I-78
Scotch
Road
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
GPS moving map needs
 Functionality: For automotive use. Show
major roads and landmarks.
 User interface: At least 400 x 600 pixel
screen. Three buttons max. Pop-up menu.
 Performance: Map should scroll smoothly.
No more than 1 sec power-up. Lock onto
GPS within 15 seconds.
 Cost: $120 street price = approx. $30 cost
of goods sold.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
GPS moving map needs,
cont’d.
 Physical size/weight: Should fit in
hand.
 Power consumption: Should run for 8
hours on four AA batteries.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Specification
 A more precise description of the
system:
- Requirements document what is needed - they shouldn't
specify the how, but the what.
- Specifications document how to achieve the
requirements - they should specify the how.
http://www.jrobbins.org/ics121f03/lesson-spec-design.html
 Another way to look at it is that the requirements represent
the application from the perspective of the user, or the
business as a whole. The specification represents the
application from the perspective of the technical team. 
 https://
softwareengineering.stackexchange.com/questions/121289/what-is
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
GPS specification
 Should include:
 What data is received from GPS
satellites;
 How to get, store and show map data;
 user interface;
 operations required to satisfy user
requests;
 background operations needed to keep
the system running.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Architecture design
 What major components go
satisfying the specification?
 Hardware components:
 CPUs, peripherals, etc.
 Software components:
 major programs and their operations.
 Must take into account functional
and non-functional specifications.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
GPS moving map block
diagram
GPS
receiver
search
engine
renderer
user
interface
database
display
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
GPS moving map hardware
architecture
GPS
receiver
CPU
panel I/O
display frame
buffer
memory
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
GPS moving map software
architecture
position database
search
renderer
timer
user
interface
pixels
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Designing hardware and
software components
 Must spend time architecting the
system before you start coding.
 Some components are ready-made,
some can be modified from existing
designs, others must be designed
from scratch.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
System integration
 Put together the components.
 Many bugs appear only at this stage.
 Have a plan for integrating
components to uncover bugs quickly,
test as much functionality as early as
possible.
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Discussion
 What are the main lessons learned in
this chapter?
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Arduino Introduction
 Arduino Tutorials
 https://
www.arduino.cc/en/Tutorial/HomePage
 Arduino Kit Simulation Environment
 https://www.tinkercad.com/circuits
 http://circuits.io
 https://
learn.sparkfun.com/tutorials/what-is-
an-arduino
Computers as Components
3e
© 2012 Marilyn Wolf
Computers as Components
3e
© 2012 Marilyn Wolf
Summary
 Embedded computers are all around
us.
 Many systems have complex embedded
hardware and software.
 Embedded systems pose many
design challenges: design time,
deadlines, power, etc.
 Design methodologies help us
manage the design process.

More Related Content

Similar to ch1_1_Introduction_To_Embedded_Systems.pptx.pdf

EMBEDDED SYSTEMS INTRODUCTION.pptx
EMBEDDED SYSTEMS INTRODUCTION.pptxEMBEDDED SYSTEMS INTRODUCTION.pptx
EMBEDDED SYSTEMS INTRODUCTION.pptx
MohammedtajuddinTaju
 
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptxembeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
DrVikasMahor
 
Embeddedsystems
EmbeddedsystemsEmbeddedsystems
Embeddedsystems
Prabhakaran Durai
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
Shivashankar Sawalgi
 
Embedded system (Chapter 1)
Embedded system (Chapter 1)Embedded system (Chapter 1)
Embedded system (Chapter 1)
Ikhwan_Fakrudin
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
Aditya Porwal
 
Ch1 1
Ch1 1Ch1 1
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
Fahad Farooq
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
lalithamani sampath
 
Embeddedsystem 110412132957-phpapp02
Embeddedsystem 110412132957-phpapp02Embeddedsystem 110412132957-phpapp02
Embeddedsystem 110412132957-phpapp02
ishan111
 
embedded systems
embedded systemsembedded systems
embedded systems
Shanmuga Vadivu
 
mechatronics.pdf
mechatronics.pdfmechatronics.pdf
mechatronics.pdf
ChamathKushan
 
EMBEDDED SYSTEM-2.pptx
EMBEDDED SYSTEM-2.pptxEMBEDDED SYSTEM-2.pptx
EMBEDDED SYSTEM-2.pptx
MohdSohail65
 
Module-1 Embedded computing.pdf
Module-1 Embedded computing.pdfModule-1 Embedded computing.pdf
Module-1 Embedded computing.pdf
Sitamarhi Institute of Technology
 
Architecture design of a virtual embedded system report
Architecture design of a virtual embedded system reportArchitecture design of a virtual embedded system report
Architecture design of a virtual embedded system report
Rajeev Mohanty
 
Embedded system
Embedded systemEmbedded system
Embedded system
Anmol Bagga
 
Embeddedsystem
EmbeddedsystemEmbeddedsystem
Embeddedsystem
anshul parmar
 
Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
RajalakshmiSermadurai
 
Introduction to microcontroller
Introduction to microcontrollerIntroduction to microcontroller
Introduction to microcontroller
Rajib Roy
 
Home automation using dtmf
Home automation using dtmfHome automation using dtmf
Home automation using dtmf
Ajay Naidu Jami
 

Similar to ch1_1_Introduction_To_Embedded_Systems.pptx.pdf (20)

EMBEDDED SYSTEMS INTRODUCTION.pptx
EMBEDDED SYSTEMS INTRODUCTION.pptxEMBEDDED SYSTEMS INTRODUCTION.pptx
EMBEDDED SYSTEMS INTRODUCTION.pptx
 
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptxembeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
 
Embeddedsystems
EmbeddedsystemsEmbeddedsystems
Embeddedsystems
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Embedded system (Chapter 1)
Embedded system (Chapter 1)Embedded system (Chapter 1)
Embedded system (Chapter 1)
 
Microprocessors and microcontrollers
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
 
Ch1 1
Ch1 1Ch1 1
Ch1 1
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Embeddedsystem 110412132957-phpapp02
Embeddedsystem 110412132957-phpapp02Embeddedsystem 110412132957-phpapp02
Embeddedsystem 110412132957-phpapp02
 
embedded systems
embedded systemsembedded systems
embedded systems
 
mechatronics.pdf
mechatronics.pdfmechatronics.pdf
mechatronics.pdf
 
EMBEDDED SYSTEM-2.pptx
EMBEDDED SYSTEM-2.pptxEMBEDDED SYSTEM-2.pptx
EMBEDDED SYSTEM-2.pptx
 
Module-1 Embedded computing.pdf
Module-1 Embedded computing.pdfModule-1 Embedded computing.pdf
Module-1 Embedded computing.pdf
 
Architecture design of a virtual embedded system report
Architecture design of a virtual embedded system reportArchitecture design of a virtual embedded system report
Architecture design of a virtual embedded system report
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Embeddedsystem
EmbeddedsystemEmbeddedsystem
Embeddedsystem
 
Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
 
Introduction to microcontroller
Introduction to microcontrollerIntroduction to microcontroller
Introduction to microcontroller
 
Home automation using dtmf
Home automation using dtmfHome automation using dtmf
Home automation using dtmf
 

Recently uploaded

IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
Yasser Mahgoub
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
RamonNovais6
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
PKavitha10
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
ijaia
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
bjmsejournal
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
PIMR BHOPAL
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
MadhavJungKarki
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
PriyankaKilaniya
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 

Recently uploaded (20)

IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 08 Doors and Windows.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURSCompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
CompEx~Manual~1210 (2).pdf COMPEX GAS AND VAPOURS
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1CEC 352 - SATELLITE COMMUNICATION UNIT 1
CEC 352 - SATELLITE COMMUNICATION UNIT 1
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
Design and optimization of ion propulsion drone
Design and optimization of ion propulsion droneDesign and optimization of ion propulsion drone
Design and optimization of ion propulsion drone
 
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
VARIABLE FREQUENCY DRIVE. VFDs are widely used in industrial applications for...
 
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
1FIDIC-CONSTRUCTION-CONTRACT-2ND-ED-2017-RED-BOOK.pdf
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
Prediction of Electrical Energy Efficiency Using Information on Consumer's Ac...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 

ch1_1_Introduction_To_Embedded_Systems.pptx.pdf

  • 1. Computers as Components 3e © 2012 Marilyn Wolf What is an Embedded System?
  • 2. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf
  • 3. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Examples  Digital Printers  Automobile: engine, brakes, dash, etc.  Airplane: engine, flight controls, nav/comm.  Household appliances (microwave, blenders etc)  Samsung SmartThings https://www.smartthings.com/  RoboCV http://robocv.com/  Microsoft HoloLens https:// www.microsoft.com/microsoft-hololens/en-us  Google TiltBrush https://www.tiltbrush.com/  https:// www.datamation.com/mobile-wireless/75-top-iot-devices-1. html  Holoportation:
  • 4. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf What is an embedded system? Embedded computing system: any device that includes a programmable computer but is not itself a general- purpose computer.
  • 5. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Embedding a computer CPU mem input output analog analog embedded computer
  • 6. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Early history  Late 1940’s: MIT Whirlwind computer was designed for real-time operations.  Originally designed to control an aircraft simulator.  First microprocessor was Intel 4004 in early 1970’s.  HP-35 calculator used several chips to implement a microprocessor in 1972.
  • 7. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Early history, cont’d.  Automobiles used microprocessor- based engine controllers starting in 1980.  Control fuel/air mixture, engine timing, etc.  Multiple modes of operation: warm-up, cruise, hill climbing, etc.  Provides lower emissions, better fuel efficiency.
  • 8. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Automotive embedded systems  Today’s high-end automobile may have 100 microprocessors:  4-bit microcontroller checks seat belt;  microcontrollers run dashboard devices;  16/32-bit microprocessor controls engine.  Low-end cars use 20+ microprocessors.
  • 9. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf  https:// cecas.clemson.edu/cvel/auto/systems/auto-systems02.html
  • 10. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf BMW 850i brake and stability control system  Anti-lock brake system (ABS): pumps brakes to reduce skidding.  Automatic stability control (ASC+T): controls engine to improve stability.  ABS and ASC+T communicate.  ABS was introduced first---needed to interface to existing ABS module.
  • 11. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf BMW 850i, cont’d. brake sensor brake sensor brake sensor brake sensor ABS hydraulic pump
  • 12. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Discussion  Describe a novel example of embedded system that you have encountered recently?  What is not an embedded system? Give examples?  What do you think are the core skills required for developing embedded systems?
  • 13. Computers as Components 3e © 2012 Marilyn Wolf Micro Processor Vs Micro Controller
  • 14. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Microprocessor Microprocessor is an IC (integrated circuit) which has only the CPU inside them i.e. only the processing power. Examples are Intel’s Pentium 1,2,3,4, core 2 duo, i3, i5 etc.  The microprocessors don’t have RAM, ROM, and other peripheral on the chip. A system designer has to add them externally to make them functional. Application of microprocessor includes Desktop PC’s, Laptops, notepads etc.
  • 15. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Microcontroller  Microcontroller has a CPU, in addition with a fixed amount of RAM, ROM and other peripherals all embedded on a single chip.  At times it is also termed as a mini computer or a computer on a single chip.  Today different manufacturers produce microcontrollers with a wide range of features available in different versions. Some manufacturers are ATMEL, Microchip, TI, Freescale, Philips,
  • 16. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Microprocessor vs. Microcontroller (1)
  • 17. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Microprocessor vs. Microcontroller (2)  Microcontrollers are designed to perform specific tasks. Specific means applications where the relationship of input and output is defined. Depending on the input, some processing needs to be done and output is delivered. For example, keyboards, mouse, washing machine, digicam, pendrive, remote, microwave, cars, bikes, telephone, mobiles, watches, etc. Since the applications are very specific, they need small resources like RAM, ROM, I/O ports etc. and hence can be embedded on a single chip. This in turn reduces the size and the cost.
  • 18. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Microprocessor vs. Microcontroller (3)  Microprocessor find applications where tasks are unspecific like developing software, games, websites, photo editing, creating documents etc. In such cases the relationship between input and output is not defined. They need high amount of resources like RAM, ROM, I/O ports etc.   The clock speed of the Microprocessor is quite high as compared to the microcontroller. Whereas the microcontrollers operate from a few MHz to 30 to 50 MHz, today’s microprocessor operate above 1GHz as they perform complex tasks. 
  • 19. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Microprocessors Microcontrollers Microprocessor is the heart of computer system. It is the heart of the embedded system. It is just a processor. Memory and I/O components have to be having to be connected externally. Microcontroller chip contains processor along with internal memory and I/O components. Since I/O and memory connected externally, the circuit becomes large. Since I/O and memory present internally, the circuit is small. Can't be used in compact systems Can be used in compact systems Cost of entire system increases. Cost of entire system is low. Power consumption is high. Power consumption is low. Most of the microprocessors do not have power saving modes. Most of the microcontrollers have power saving mode. Difficult to replace. Easy to replace. Mainly used in personal computers. Used mainly in washing machine, MP3 players.
  • 20. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Discussion  Why do we need microcontrollers?
  • 21. Computers as Components 3e © 2012 Marilyn Wolf Characteristics of Embedded Systems
  • 22. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Characteristics of embedded systems  Think about a real world embedded device (say a GPS Navigator)  Sophisticated functionality  Real-time operation.  Low manufacturing cost.  Low power.
  • 23. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Functional complexity  Often have to run sophisticated algorithms or multiple algorithms.  Cell phone, laser printer, automobile engine control for fuel/pollution efficiency  Often provide sophisticated user interfaces.
  • 24. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Real-time operation  Must finish operations by deadlines.  Hard real time: missing deadline causes failure.  Soft real time: missing deadline results in degraded performance.  Many systems are multi-rate: must handle operations at widely varying rates.
  • 25. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Cost and Power  Many embedded systems are mass- market items that must have low manufacturing costs.  Limited memory, microprocessor power, etc.  Power consumption is critical in battery-powered devices.  Excessive power consumption increases system cost even in wall-powered devices.
  • 26. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Discussion  Which characteristic clearly distinguishes the embedded systems from traditional computing systems?
  • 27. Computers as Components 3e © 2012 Marilyn Wolf Challenges in building embedded systems
  • 28. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Challenges in embedded system design  How much hardware do we need?  How big is the CPU? Memory?  How do we meet our deadlines?  Faster hardware or cleverer software?  How do we minimize power?  Turn off unnecessary logic? Reduce memory accesses?
  • 29. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Challenges, etc.  Does it really work?  Is the specification correct?  Does the implementation meet the spec?  How do we test for real-time characteristics?  How do we test on real data?  How do we work on the system?  Observability, controllability?  What is our development platform?
  • 30. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Discussion  What challenges did you face in your senior design project?
  • 31. Computers as Components 3e © 2012 Marilyn Wolf Performance Considerations
  • 32. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf What does “performance” mean?  In general-purpose computing, performance often means average- case, may not be well-defined.  In real-time systems, performance means meeting deadlines.  Missing the deadline by even a little is bad.  Finishing ahead of the deadline may not help.
  • 33. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Characterizing performance  We need to analyze the system at several levels of abstraction to understand performance:  CPU.  Platform (Buses and I/O devices)  Program (Software code)  Task (multiple threads)  Multiprocessor (multiple processors)
  • 34. Computers as Components 3e © 2012 Marilyn Wolf Design Process Used for Developing Embedded System
  • 35. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Design Process: Levels of abstraction requirements specification architecture component design system integration
  • 36. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Requirements  Plain language description of what the user wants and expects to get.  May be developed in several ways:  talking directly to customers;  talking to marketing representatives;  providing prototypes to users for comment.
  • 37. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Functional vs. non-functional requirements  Functional requirements:  output as a function of input.  Non-functional requirements:  time required to compute output;  size, weight, etc.;  power consumption;  reliability;  etc.
  • 38. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Example: GPS moving map requirements  Moving map obtains position from GPS, paints map from local database. lat: 40 13 lon: 32 19 I-78 Scotch Road
  • 39. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf GPS moving map needs  Functionality: For automotive use. Show major roads and landmarks.  User interface: At least 400 x 600 pixel screen. Three buttons max. Pop-up menu.  Performance: Map should scroll smoothly. No more than 1 sec power-up. Lock onto GPS within 15 seconds.  Cost: $120 street price = approx. $30 cost of goods sold.
  • 40. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf GPS moving map needs, cont’d.  Physical size/weight: Should fit in hand.  Power consumption: Should run for 8 hours on four AA batteries.
  • 41. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Specification  A more precise description of the system: - Requirements document what is needed - they shouldn't specify the how, but the what. - Specifications document how to achieve the requirements - they should specify the how. http://www.jrobbins.org/ics121f03/lesson-spec-design.html  Another way to look at it is that the requirements represent the application from the perspective of the user, or the business as a whole. The specification represents the application from the perspective of the technical team.   https:// softwareengineering.stackexchange.com/questions/121289/what-is
  • 42. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf GPS specification  Should include:  What data is received from GPS satellites;  How to get, store and show map data;  user interface;  operations required to satisfy user requests;  background operations needed to keep the system running.
  • 43. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Architecture design  What major components go satisfying the specification?  Hardware components:  CPUs, peripherals, etc.  Software components:  major programs and their operations.  Must take into account functional and non-functional specifications.
  • 44. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf GPS moving map block diagram GPS receiver search engine renderer user interface database display
  • 45. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf GPS moving map hardware architecture GPS receiver CPU panel I/O display frame buffer memory
  • 46. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf GPS moving map software architecture position database search renderer timer user interface pixels
  • 47. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Designing hardware and software components  Must spend time architecting the system before you start coding.  Some components are ready-made, some can be modified from existing designs, others must be designed from scratch.
  • 48. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf System integration  Put together the components.  Many bugs appear only at this stage.  Have a plan for integrating components to uncover bugs quickly, test as much functionality as early as possible.
  • 49. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Discussion  What are the main lessons learned in this chapter?
  • 50. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Arduino Introduction  Arduino Tutorials  https:// www.arduino.cc/en/Tutorial/HomePage  Arduino Kit Simulation Environment  https://www.tinkercad.com/circuits  http://circuits.io  https:// learn.sparkfun.com/tutorials/what-is- an-arduino
  • 51. Computers as Components 3e © 2012 Marilyn Wolf Computers as Components 3e © 2012 Marilyn Wolf Summary  Embedded computers are all around us.  Many systems have complex embedded hardware and software.  Embedded systems pose many design challenges: design time, deadlines, power, etc.  Design methodologies help us manage the design process.