Professional Documents
Culture Documents
Designofembeddedsystems 110317022832 Phpapp02
Designofembeddedsystems 110317022832 Phpapp02
T S PRADEEPKUMAR
SCS, VIT
Outline
Embedded Hardware
Embedded Software
Issues in Embedded System Design
Hardware/ Software Partioning
Designing Embedded Systems
Co-Design
TSP 2
Embedded Systems
An embedded system
uses a computer to perform some function, but
is not used (nor perceived) as a computer
Software is used for features and flexibility
Hardware is used for performance
Typical characteristics:
it performs a single function
it is part of a larger (controlled) system
cost and reliability are often the most significant
aspects
TSP 3
Embedded Systems
System
Software
Environment
Zone 4: Global
Satellite Embedded Software
Zone 3: Suburban Zone 2: Urban
Zone 1: In-Building
µP/C
Micro-Cell Pico-Cell
Analog
Macro-Cell Embedded
Memory
SOC System Design
SOC IP
Based Design Firmware
CORE
PCB
Design
TSP 4
Embedded Hardware
Input
Sensors
Sample and Hold Circuit
A/D Converters
Communication
UART
Processing Units
ASIC
Processors
Reconfigurable processors
TSP 5
Embedded Hardware
Memories
RAM, ROM, Flash, Cache
Output
D/A Converters,
Actuators
TSP 6
Embedded Software
Real Time Operating Systems
General Requirements
Scheduling in RTOS
Aperiodic
Periodic
Real Time Databases
Other Software Architectures
Function Queue Scheduling
Round Robin (with Interrupts)
TSP 7
Issues while Designing ES
TSP 8
Issues…
TSP 9
Hardware /Software Partitioning
Definition
A HW/SW partitioning algorithm implements a
specification on some sort of
multiprocessor architecture
Usually
Multiprocessor architecture = one CPU +
some ASICs on CPU bus
TSP 10
Hardware /Software Partitioning
Terminology
Allocation
Synthesis methods which design the
multiprocessor topology along with the Process
Elements and SW architecture
Scheduling
The process of assigning Process Element (CPU
and/or ASICs) time to processes to get executed
TSP 11
Hardware /Software Partitioning
TSP 12
Designing of Embedded Systems
• Design
• Data Structures, Software Architecture, Interfaces
and algorithms
• Coding
• Testing
• Maintenance
TSP 13
Designing of Embedded Systems
• Spiral Model
• Successive refinement
HW Design SW Design
& Build & Code
Interface
Design
HW/SW
Integration
TSP 15
Problems with Past Design Method
TSP 16
Embedded System Design
HW/SW Co-Design Methodology
Hardware/Software
Partitioning and Allocation
HW Design SW Design
& Build & Code
Interface
Design
HW/SW
Integration
TSP 17
Co-Design Framework
TSP 18
Co-Design
TSP 21
Embedded Controller Example:
Engine Control Unit (ECU)
Task: control the torque produced by
the engine
by timing fuel injection and spark
Major constraints:
Low fuel consumption
Low exhaust emission
TSP 22
ECU Task: control injection time (3 sub-tasks)
look-up table
air engine temperature
compute flow
air flow
compute
injection
time
drive
throttle position actuators
engine speed
air temperature injection
time
air pressure PWM signals
TSP 23
ECU- Option 1
look-up table
air engine temperature
flow
compute
air flow
compute
injection
time
drive
throttle position actuators
engine speed
air temperature injection
time
air pressure
PWM signals
Analog inputs
A/D
Actuations (PWM)
32 bit CPU
Digital inputs
TSP 24
ECU- Option 2
look-up table
air engine temperature
flow
compute
air flow
compute
injection
time
drive
throttle position actuators
engine speed
air temperature injection
time
air pressure
PWM signals
Analog inputs
A/D
TSP 25
ECU- Option 3
look-up table
air engine temperature
flow
compute
air flow
compute
injection
time
drive
throttle position actuators
engine speed
air temperature injection
time
air pressure
PWM signals
Analog
inputs
A/D DSP
8 bit CPU FPGA
Digital inputs Actuations (PWM)
TSP 26
Thank You
TSP 27