Introduction To Embedded Systems
Introduction To Embedded Systems
Introduction To Embedded Systems
Introduction to
Embedded Systems
Watch 75%
Wonder 20%
Table Of Systems
Definition
Systems
Characteristics
Systems
Applications
Contents 04 05 06
Embedded Embedded Embedded
Introduction to Embedded Systems
Systems Hardware Systems
Design Constrains
07
Embedded
Systems Market
What are
Embedded Systems?
Special purpose computer
custom built to serve a
Embedded specific purpose.
Systems
General
Purpose
we use everyday
Computers
General
vs General Purpose Computers
Special
Purpose
are sometimes an "overkill
are expensive
Embedded
Systems
Classification
Embedded Embedded
Standalone Embedded
Networked
Subsystems
Systems Systems Systems
Systems Systems
- placed inside something bigger
- part of a larger system
-independently useless
Embedded
Subsystems
- can perform its function independently
- components and techniques used to build
these belong to the same class as the
"subsystem" class of embedded systems
Standalone and hence are viewed as embedded
Systems
- A group of physically separate electronic
devices that perform a collective function
Networked
Embedded
Systems
Internet
of
Things
01 02 03
Embedded Embedded Embedded
Table Of Systems
Definition
Systems
Characteristics
Systems
Applications
Contents 04 05 06
Embedded Embedded Embedded
Introduction to Embedded Systems
Systems Hardware Systems
Design Constrains
07
Embedded
Systems Market
Reliability
Efficiency
Tightly-constrained
Processing(speed)
Memory(Data)
Storage(Code Size)
Real time objectives
It needs to be fast and
efficient(Response Time)
It needs to be predictable (execution
time known ahead, and almost constant)
Power limited(battery
operated devices)
Cost
Size
The developer has to deal
with all of these constraints:
Development should take into
consideration code efficiency and
code foot print.
Table Of Systems
Definition
Systems
Characteristics
Systems
Applications
Contents 04 05 06
Embedded Embedded Embedded
Introduction to Embedded Systems
Systems Hardware Systems
Design Constrains
07
Embedded
Systems Market
Exercise
Choose two Embedded Systems
and list the main functionalities of
each one.
Automotive
Automotive
Electronics represents 40% of total cost of a car.
90% of new car features require software.
ECUs are used in different functions of the car :
Engine Control Lighting Control
Transmission Control Airbag Control
Fuel Efficiency Control Telemetric Control
Electric Power Steering Mirror Control
Speed Control Security System Control
Table Of Systems
Definition
Systems
Characteristics
Systems
Applications
Contents 04 05 06
Embedded Embedded Embedded
Introduction to Embedded Systems
Systems Hardware Systems
Design Constrains
07
Embedded
Systems Market
Software characteristics
Advantages
Highly configurable
Trade off Shorter development cycle
Advantages
Better performance in high
Trade off speed real time application
between
Disadvantages
Longer development cycle
Software
Partitioning Integrate them and hope it works
In complicated systems functional blocks
could be:
Challenges reliability
Manufacturing cost
Design Power consumption
Goals Safety
Table Of Systems
Definition
Systems
Characteristics
Systems
Applications
Contents 04 05 06
Embedded Embedded Embedded
Introduction to Embedded Systems
Systems Hardware Systems
Design Constrains
07
Embedded
Systems Market
General Purpose Processor
CPU = ALU + Registers + Control
unit
32 or 64-bit data path
Modern Processors have:
Advanced cache logic.
Processing Built-in math co-processor
Engines
Embedded General Purpose Processor
16/32-bit data path
Designed for a wide range of
applications (consumer and
communication)
Limited functionality depending on
the application
Processing processors,
TI (Texas Instruments), Motorola
Engines TI has been the dominant player in
the DSP market for several years
Digital Signal Processor
Processing
Engines
Microcontrollers
Processing
Engines
System on chip(SOC)
Processing
Engines
System on chip(SOC)
A SOC has multiple functional units on one
piece of silicon, Integrating all components of
a computer or othe electronic systems into a
single integrated circuit (chip)
Due to advancements in silicon technologies,
it is possible to add more functionalities to the
Processing processor system on chip like Co-processors,
Memories, Internal I/O devices and Interrupt
Engines
circuit
For example, a system-on-a-chip for a sound-
detecting device might include an audio
receiver, an analog-to-digital converter ( ADC
), a microprocessor, memory, and the
input/output logic control for a user all on a
single micro-chip
Typically application is in the area of
embedded systems
Advanced Embedded Systems
Network of embedded micro-controllers on
board
Many micro-controllers on one / many
board(s) communicate together through
specific bus protocol like LIN bus and CAN
bus in automotive applications
Processing
Engines
Advanced Embedded Systems
Multi-Core system on chip like mobile handset
which has one chip contains:
Processing
DSP Processor for graphics and image
processing
Processing
Engines
01 02 03
Embedded Embedded Embedded
Table Of Systems
Definition
Systems
Characteristics
Systems
Applications
Contents 04 05 06
Embedded Embedded Embedded
Introduction to Embedded Systems
Systems Hardware Systems
Design Constrains
07
Embedded
Systems Market
Micro-controller
Basically a microcontroller can be described
as a computer on a chip. a single chip
containing a CPU, non-volatile memory (ROM),
volatile memory(RAM), a timer and an I/O
control unit
Micro-processor
vs
Micro-controller
Microcontrollers don’t work alone in the circuit
it must interfaces with other on chip devices
like Sensors, Switches, Leds, LCD, Keypad and
DC Motor
Table Of Systems
Definition
Systems
Characteristics
Systems
Applications
Contents 04 05 06
Embedded Embedded Embedded
Introduction to Embedded Systems
Systems Hardware Systems
Design Constrains
07
Embedded
Systems Market
Central processing unit (CPU)
Memory units
Input and Output ports (GPIO or DIO)
Timers
Micro-controller Watch dog timer
Main Buses
Components Interrupt circuit
In the following slides we will try to understand the
different components in any microcontroller then
map these information to AVR microcontrollers
Micro-controller
Main
Components
The central processing unit (CPU) does all the
computing: it fetches, decodes and executes
program instructions and directs the flow of data
to and from memory. The CPU performs the
calculations required by program instructions and
places the results of these calculations, if required
Cental into memory space.
The unit which monitors and controls all processes
Processing Unit inside the microcontroller. It consists of several
smaller units.
(CPU)
Example Assembly Instruction for AVR CPU
Cental
Processing Unit
(CPU)
The most important units inside CPU are:
Cental
Processing Unit
(CPU)
Accumulator Register
Cental
Processing Unit
(CPU)
Register File
Processing Unit
(CPU)
Register File in AVR CPU
Cental
Processing Unit
(CPU)
SFR Registers