01 Introduction Embedded System Design
01 Introduction Embedded System Design
• Embedded System
• Examples
INPUT OUTPUT
Compressor Speed
Power Supply Cooling
• Sensor fordetailed
A set of Temperature
methods / procedures and routines created to carry out
User Input IR remote
a specific activity, perform a duty, or solve a problem / or achieve a goal.
Memory
• Cache In the processor
• Primary – Semiconductor (RAM, ROM) Output Devices
• Secondary – Magnetic, Optical
Operating System
Characteristics of GPCS
• Enables the use of Hardware resources by
• Program, first loads in RAM and then runs general purpose
the program
programs, programs of multiple users and multiple tasks
• Supports Execution of Multiple programs
• Requires an Operating Systems (OS)
at a time
• Runs Complex algorithms fast
• Schedules and Runs the tasks such that
• Provides a complex set of graphic or touch scene interfaces
I/O and computing performance
(GUI)
maximizes
Constrains of GPCS
• Little constrains of memory
• No time deadlines to finish the execution of the tasks of the programme
Embedded System
• Event Driven /reactive systems (operates based on input received)
programmable computer
Role of the Embedded System Engineer is to bring a coordination of these time zones
Embedded over General Purpose System
Differences
Arrangement of RAM (DM) and ROM (PM) with respect to CPU defines the Architecture
Embedded Hardware Architecture
Harvard Architecture Von Neumann Architecture
RAM
ROM CPU RAM CPU
Memory
ROM
• RAM (DM) and ROM(PM) are separate • DM and PM are shared in single Memory
Chip, Single set of address/data bus
• Requires More Hardware (separate DM and • Less Hardware and Less Space
PM) and Space
RAM
ROM CPU RAM CPU
Memory
ROM
Has the capacity to perform multi- Strategy based on the vision that basic
step operations or addressing modes instruction set gives a great performance
within one instruction set. when combined with a microprocessor
It is the CPU design where one architecture which has the capacity to
instruction works several low-level perform the instructions by using some
acts microprocessor cycles per instruction.
Embedded System : CPU Architecture
CISC CPU Architecture
A complex instruction set computer is a computer
where single instructions can perform numerous
low-level operations like a load from memory, an
arithmetic operation, and a memory store or are
accomplished by multi-step processes or addressing
modes in single instructions, as its name proposes
“Complex Instruction Set ”.
CPU design plan based on single commands, which
are skilled in executing multi-step operations.
Embedded System : CPU Architecture
RISC CPU Architecture
CPU design plan based on simple orders and acts
fast.
Embedded System Characteristics
Program is preloaded in ROM or Flash Real time &
Reactive Behavior
RB of a system :
continual interaction
with is environment and
executes at a pace
determined by that
environment
Single Functioned / Dedicated
Activities User Interface
Tightly Constrained
Multirate
System Memory
Embedded System Characteristics
Maintainability
Safety Availability
• Even perfectly designed systems can fail if the assumptions about the workload and possible
errors turn out to be wrong.
• Making the system dependable must not be an after-thought, it must be considered from the
very beginning
Embedded System Characteristics
Code-size efficient
Embedded System Functionalities
ACQUIRE
ANALYZE
CONTROL
DISPLAY
Embedded System – Types
8 or 16 or 32-bit microcontrollers
Hard Real Time : Some specific work has to be done in a specific time period / strict deadline
eg: Missile launched targeting an aircraft.
Soft Real Time : , Some specific work deadlines are imposed, but not adhering to them once
in a while may not lead to a disaster. Eg: DVD player : Suppose, you give a command to the
DVD player from a remote control, and there is a delay of a few milliseconds in executing that
command.
Embedded System – Types
8 or 16 or 32-bit microcontrollers
• Portable devices
• Limitations of the mobile devices
• memory constraints,
• small size
• lack of good user interfaces such as full fledged keyboard and display etc
Embedded System – Types
8 or 16 or 32-bit microcontrollers
• Designed with a single 8 or 16 bit microcontroller, that may even be activated by a battery.
• For developing embedded software for small scale embedded systems, the main programming tools are an editor,
assembler, cross assembler and integrated development environment (IDE).
Embedded System – Types
8 or 16 or 32-bit microcontrollers