Embedded System
Embedded System
Module III
Embedded Systems – Definition, Embedded systems vs general computing
systems, Classification of Embedded Systems, Major application areas of
Embedded Systems, Elements of an Embedded System, Core of the Embedded
System, Microprocessor vs Microcontroller, RISC vs CISC, Harvard vs Von-
Neumann. Text 2: 1.1, 1.2, 1.4, 1.5, Fig. 2.1, 2.1, 2.1.1.4, 2.1.1.6, 2.1.1.7.
Sensors and Interfacing – Instrumentation and control systems, Transducers,
Sensors. Text 1: Chapter 15
Actuators, LED, 7-Segment LED Display, Stepper Motor, Relay, Piezo Buzzer, Push
Button Switch, Keyboard. Text 2: 2.3.2, 2.3.3.1 to 2.3.3.8 except 2.3.3.3
Communication Interface, UART, Parallel Interface, USB, Wi-Fi, GPRS. Text 2: 2.4,
2.4.1.3, 2.4.1.5, 2.4.2.2, 2.4.2.6, 2.4.2.8.
Applications of Embedded Systems
DEFINITION
An Electronic/Electro mechanical system which is
designed to perform a specific function and is a
combination of both hardware and firmware
(Software)
Embedded Systems Vs
General Computing
Systems
General Computing System Embedded Systems
combination of generic hardware and General combination of special purpose hardware and
Purpose Operating System embedded OS for executing a specific set of
applications
Contain a General Purpose Operating System (GPOS) May or may not contain an operating system for
functioning
Applications are alterable (programmable) by user The firmware of the embedded system is pre-
programmed and it is non-alterable by end-user
Performance is the key deciding factor on the Application specific requirements (like performance,
selection of the system. Always ‘Faster is Better’ power requirements, memory usage etc) are the key
deciding factors
Embedded Systems Vs
General Computing
Systems
General Computing System Embedded Systems
Less/not at all tailored towards reduced operating Highly tailored to take advantage of the power saving
power requirements, options for different levels of modes supported by hardware and Operating System
power management.
Response requirements are not time critical For certain category of embedded systems like
mission critical systems, the response time
requirement is highly critical
Need not be deterministic in execution behavior Execution behavior is deterministic for certain type of
embedded systems like ‘Hard Real Time’ systems
Classification
of Embedded
Systems
Based on Generation
First Generation Second Generation Third Generation Fourth Generation
Second Generation
•built around 16 bit microprocessors. 8 bit and 16 bit
microcontrollers. More complex and powerful
Data Acquisition systems, SCADA systems
Classification of Embedded
Systems based on Generation
Third Generation
• Application and domain specific processors/controllers like
Digital Signal Processors(DSP) and Application Specific
Integrated Circuits(ASICs)
• Instruction set more complex and powerful
• Instruction Pipelining
Fourth Generation
• System on Chip, Reconfigurable processors and multicore
processors
• High performance, tight integration and miniaturization
Classification Based on
Complexity and Performance
Telecom: Cellular
Computer Networking
Telephones, Telephone Computer Peripherals: Health Care: Different
Systems: Network
switches, Handset Printers, Scanners, Fax Kinds of Scanners, EEG,
Routers, Switches, Hubs,
Multimedia Applications machines etc. ECG Machines etc.
Firewalls etc.
etc.
Memory
Communication Interface
System
I/p Ports Core O/p Ports
(Sensors)
(Actuators)
Other supporting
Integrated Circuits &
subsystems
Embedded System
Real World
General Purpose and Domain Specific
Processors
• Microprocessors
Embedded System
• Microcontrollers
• Digital Signal Processors
Address Bus
Microcontroller
A smaller computer
On-chip RAM, ROM, I/O ports...
Example : Motorola’s 6811, Intel’s 8051, Zilog’s Z8 and PIC 16X
Microprocessor Microcontroller
• Silicon chip representing a CPU, performs • Highly integrated chip contains CPU,
arithmetic and logical operations scratch pad RAM, on chip ROM/flash
• Dependent Unit memory, I/O ports
• General purpose in design and operation • Self contained unit
• Doesn’t contain I/O port • Application oriented and domain
• Limited power saving options compared to specific
microcontrollers • Contains multiple built in I/O ports
• Includes lot of power saving features
Microcontroller Architectures
Harvard Architecture
Von Neumann Architecture
Harvard vs Von Neumann Architectures
Separate buses for instruction and data Single shared bus for instruction and data
fetching fetching
Easier to pipeline, so high performance Low performance Compared to Harvard
Architecture
Comparatively high cost Cheaper
No memory alignment problems Allows self modifying codes
Since data memory and program memory are Since data memory and program memory
stored physically in different locations, no are stored physically in same chip, chances
chances for accidental corruption of program for accidental corruption of program
memory memory
RISC Vs CISC Processors
RISC
• RISC represents Reduced Instruction Set Computer. In
Reduced Instruction Set Computer (RISC) architecture, the
instruction set of the computer is simplified to reduce the
execution time. RISC has a small set of instructions
CISC
• CISC represents Complex Instruction Set Computer. It
comprises a complex instruction set. It incorporates a variable-
length instruction format.
Lesser no. of instructions Greater no. of Instructions
RISC vs Instruction Pipelining and Generally no instruction