SlideShare a Scribd company logo
1 of 122
ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY (A)
EMBEDDED SYSTEMS
Mr. G Sattibabu
Associate Professor
ECE Department
ACET.
Course Outcomes
At the end of this course the student can able to:
1. Understand the basic concepts of an embedded system and able to
know an embedded system design approach to perform a specific
function.
2. The hardware components required for an embedded system and
the design approach of an embedded hardware.
3. The various embedded firmware design approaches on embedded
environment.
4. Understand how to integrate hardware and firmware of an
embedded system using real time operating system.
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
Course Contents
UNIT I : Introduction
UNIT II : Embedded Hardware Design
UNIT III: Embedded Firmware Design
UNIT IV: Real Time Operating System & Hardware Software Co-Design
UNIT V : Embedded System Development, Embedded System Implementation and
Testing
Books
Aditya College of Engineering &Technology(A)
Text Books:
1. Embedded Systems Architecture- By Tammy Noergaard, Elsevier
Publications, 2013.
2. Embedded Systems-By Shibu. K.V - Tata McGraw Hill Education Private
Limited, 2013.
References:
1. Embedded System Design, Frank Vahid, Tony Givargis, John Wiley
Publications, 2013.
2. Embedded Systems-Lyla B. Das-Pearson Publications,2013.
Introduction to Embedded Systems
(UNIT-I)
ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY (A)
Contents
Aditya College of Engineering &Technology(A)
Embedded system - Definition, History of embedded systems, Classification of
embedded systems, Major application areas of embedded systems, purpose of
embedded systems.
The typical embedded system-core of the embedded system, Memory, Sensors and
Actuators, Communication Interface, Embedded Firmware.
Characteristics of an embedded system, Quality attributes of embedded systems,
Application-specific and Domain-Specific examples of an embedded system.
Embedded System:
An embedded system is an electronic/electro-mechanical system designed to
perform a specific function and a combination of both hardware and firmware
(software).
Every embedded system is unique and the hardware as well as the firmware is
highly specialized to the application domain.
Embedded systems are becoming an inevitable part of any product or equipment
in all fields including household appliances, telecommunications, medical
equipment, industrial control, consumer products, etc.
Aditya College of Engineering &Technology(A)
Embedded Systems Examples
Aditya College of Engineering &Technology(A)
Comparison of General Purpose Computing System & ES
Criteria General Purpose Computing
System
Embedded System
Contents A system which is a combination of a generic hardware and a
General Purpose Operating System for executing a variety of
applications.
A system which is a combination of special purpose
hardware and embedded OS for executing a specific
set of applications.
OS GPOS
It may or not contain an operating system
for functioning.
Alterations
Applications are alterable (programmable)
by the user. (It is possible for the end user to re-install the OS
and also add or remove user applications.)
The firmware of the embedded system is
pre-programmed and it is non-alterable by the
end-user.
Key factor Performance is the key deciding factor in the
selection of the system. Faster is better.
Application specific requirements (like
performance, power requirements, memory
usage, etc.) are key deciding factors.
Power
Consumption
More Less
Response Time Not critical Critical for some applications
Execution Need not be deterministic Deterministic for certain types of ES like
‘HardReal Time’ systems.
Aditya College of Engineering &Technology(A)
History of Embedded Systems:
 The first recognized embedded system is the Apollo
Guidance Computer(AGC) developed by
MIT( Massachusetts Institute of Technology)
Instrumentation laboratory.
 Introduced: August 1966
 AGC was designed on 4K words of ROM & 256 words of
RAM.
 The clock frequency of first microchip used in AGC was
1.024 MHz
 The computing unit of AGC consists of 11 instructions and
16 bit word logic
Aditya College of Engineering &Technology(A)
 It Uses 5000 number of ICs such as 3 input NOR gates designed with RTL logic.
 The User Interface ofAGC is known as DSKY(display/keyboard) which resembles a
calculator type keypad with array of numerals.
 It have two modules. 1.Command Module
2.Lunar Excursion Module
The first mass-produced embedded system was guidance computer for the Minuteman-I
missile in 1961.
In the year 1971 Intel introduced the world's first microprocessor chip called the 4004, was
designed for use in business calculators. It was produced by the Japanese company Busicom.
Aditya College of Engineering &Technology(A)
CLASSIFICATION OF EMBEDDED SYSTEMS
The classification of embedded system is based on following
criteria’s:
On generation
On complexity & performance
On deterministic behavior
On triggering
Aditya College of Engineering &Technology(A)
Based On Generation
First
Generation
Second
Generation
Third
Generation
Fourth
Generation
Embedded
Systems
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
1 st Generation
(1G)
2 nd Generation
(2G)
3 rd Generation
(3G)
4 th Generation
(4G)
Built around 8 bit
μp & 4 bit μc
Built around 16
bit μp & 8 bit μc
Built around 32bit
μp & 16 bit μc
Built around 64
bit μp & 32 bit μc
Simple in
hardware and
firmware
developed in
assembly code
More complex
and powerful
than 1G. Some
contained
embedded OS for
operation
Concepts like
ASIC’s, DSP’s
evolved. Use of
Instruction
pipelining concept
Concepts of SoC,
multicore
processors are
evolved. Highly
complex and very
powerful
E.g.: Digital
Telephone
Keypads
E.g.: Data
acquisition
System
E.g.: Robotics E.g.: Smart
phone
Based On Generation
Aditya College of Engineering &Technology(A)
Based On Complexity and Performance
Embedded
System
Small Scale Medium Scale Large Scale
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
Small Scale:
 The embedded systems built around low performance and low cost 8 or 16 bit microprocessors/
microcontrollers.
 It is suitable for simple applications and where performance is not time critical.
 It may or may not contain OS.
Medium Scale:
 Embedded Systems built around medium performance, low cost 16 or 32 bit microprocessors /
microcontrollers or DSPs.
 These are slightly complex in hardware and firmware.
 It may contain GPOS/RTOS.
Large Scale/Complex:
 Embedded Systems built around high performance 32 or 64 bit RISC processors/controllers, SoC
or multi-core processors and PLD.
 It requires complex hardware and software.
 These system may contain multiple processors/controllers and co-units/hardware accelerators
for offloading the processing requirements from the main processor.
 It contains RTOS for scheduling, prioritization and management.
Based On Complexity and Performance
Aditya College of Engineering &Technology(A)
Based On Deterministic Behaviour
Embedded
System
Soft Real Time
Systems
Hard Real
Time Systems
1. Soft Real time Systems: Missing a deadline may not be critical and can be
tolerated to a certain degree
2. Hard Real time systems: Missing a program/task execution time deadline can
have disastrous consequences (financial, human loss of life, etc.)
Aditya College of Engineering &Technology(A)
Based On triggering
Embedded
System
Event
Triggered
Time triggered
1. Event Triggered : Activities within the system (e.g., task run-times) are dynamic
and depend upon occurrence of different events .
2. Time triggered: Activities within the system follow a statically computed schedule
(i.e., they are allocated time slots during which they can take place) and thus by
nature are predictable.
Aditya College of Engineering &Technology(A)
MajorApplicationAreas of Embedded System
The application areas and the products in the embedded domain are
countless.
A few of the important domains and products are listed below:
ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY (A)
• Consumer electronics: Camcorders, Digital cameras, etc.
• Household appliances: Television, DVD players, washing machine, fridge,
microwave oven, etc.
• Home automation and security systems: Air conditioners, sprinklers, intruder
detection alarms, closed circuit television cameras, fire alarms, etc.
• Automotive industry: Anti-lock breaking systems (ABS), engine control, ignition
systems, automatic navigation systems, etc.
• Telecom: Cellular telephones, telephone switches, handset multimedia applications,
etc.
Application areas
Aditya College of Engineering &Technology(A)
• Computer peripherals: Printers, scanners, fax machines, etc.
• Card Readers: Barcode, smart card readers, hand held devices, etc
• Computer Networking Systems: Network Routers, Switches, Hubs, Firewalls etc.
• Health Care: Different Kinds of Scanners, EEG, ECG Machines etc.
• Measurement & Instrumentation: Digital multi meters, Digital CROs, Logic
Analyzers, PLC systems
• Banking & Retail: Automatic Teller Machines (ATM) and Currency counters, Point of
Sales (POS)
Application areas
Aditya College of Engineering &Technology(A)
PURPOSE OF EMBEDDED SYSTEM
Each Embedded Systems is designed to serve the purpose of any one
or a combination of the following tasks.
1. Data Collection/Storage/Representation
2. Data Communication
3. Data (Signal) Processing
4. Monitoring
5. Control
6. Application Specific User Interface
Aditya College of Engineering &Technology(A)
Data Collection/Storage/Representation
 Performs acquisition of data from the external
world.
 The collected data can be either analog or
digital
 Data collection is usually done for storage,
analysis, manipulation and transmission
 The collected data may be stored directly in
the system or may be transmitted to some
other systems or it may be processed by the
system or it may be deleted instantly after
giving a meaningful representation .
Aditya College of Engineering &Technology(A)
Data Communication
 Embedded Data communication systems are deployed in
applications ranging from complex satellite communication
systems to simple home networking systems .
 Embedded Data communication systems are dedicated for
data communication
Aditya College of Engineering &Technology(A)
 The data communication can happen through a wired interface
(like Ethernet, RS-232C/USB/IEEE1394 etc) or wireless
interface (like Wi-Fi, GSM,/GPRS, Bluetooth, ZigBee etc).
 Network hubs, Routers, switches, Modems etc are typical
examples for dedicated data transmission embedded systems.
Data signal processing
 Embedded systems with Signal processing functionalities
are employed in applications demanding signal processing
like Speech coding, synthesis, audio video codec,
transmission applications etc.
 Computational intensive systems
 Employs Digital Signal Processors (DSPs)
 A digital hearing aid is a typical example of an embedded
system employing data processing.
 Digital hearing aid improves the hearing capacity of
hearing impaired person
Aditya College of Engineering &Technology(A)
Monitoring
All embedded products coming under the
medical domain are with monitoring
functions.
Aditya College of Engineering &Technology(A)
Other examples with monitoring function are digital
CRO, digital multimeters, and logic analyzers.
Electro cardiogram machine is intended to do the
monitoring of the heartbeatof a patient but it cannot
impose control over the heartbeat.
Control
 A system with control functionality contains
both sensors and actuators.
 Sensors are connected to the input port for
capturing the changes in environmental variable.
 The actuators connected to the output port are
controlled according to the changes in the input
variable.
 Air conditioner system used to control the room
temperature to a specified limit is a typical example
for CONTROL purpose.
Aditya College of Engineering &Technology(A)
Application specific user interface
Aditya College of Engineering &Technology(A)
 Buttons, switches, keypad, lights, bells, display
units etc, are application specific user interfaces.
 Mobile phone is an example of application
specific user interface.
 In mobile phone the user interface is provided
through the keypad, system speaker, vibration
alert etc.
Aditya College of Engineering &Technology(A)
Contents
Embedded system - Definition, History of embedded systems, Classification of
embedded systems, Major application areas of embedded systems, purpose of
embedded systems.
The typical embedded system-core of the embedded system, Memory, Sensors and
Actuators, Communication Interface, Embedded Firmware.
Characteristics of an embedded system, Quality attributes of embedded systems,
Application-specific and Domain-Specific examples of an embedded system.
Aditya College of Engineering &Technology(A)
ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY (A)
The Typical Embedded System
Mr. G Sattibabu
Associate Professor
ECE Department
ACET.
Elements of Embedded Systems
microcontroller
The controller can be a Microprocessor or a
or a Field Programmable Gate
Signal
Array (FPGA) device or a Digital
Processor(DSP) or an Application Specific
Specific
Integrated Circuit (ASIC)/ Application
Standard Product (ASSP).
Aditya College of Engineering &Technology(A)
A typical embedded system contains a single chip
controller which acts as the master brain of the
system. Diagrammatically an embedded system
can be represented as follows:
Aditya College of Engineering &Technology(A)
 Embedded hardware/software systems are basically designed to regulate a physical variable or
to manipulate the state of some devices by sending some control signals to the Actuators or
devices connected to the o/p ports of the system, in response to the input signals provided by the
end users or Sensors which are connected to the input ports.
 Keyboards, push button switches, etc. are examples for common user interface input devices
whereas LEDs, liquid crystal displays, piezoelectric buzzers, etc. are examples for common user
interface output devices for a typical embedded system.
 The Memory of the system is responsible for holding the control algorithm and other important
configuration details. For most of the embedded Systems, the memory for storing algorithm or
configuration data is of Fixed Type.
Core of the Embedded System
The core of the embedded system falls into any of the following categories
1. General Purpose and Domain Specific Processors
i . Microprocessors
ii. Microcontrollers
iii. Digital Signal Processors
2. Application Specific Integrated Circuits (ASICs)
3. Programmable Logic Devices (PLDs)
4. Commercial off-the-shelf Components (COTS)
Aditya College of Engineering &Technology(A)
General Purpose and Domain Specific Processors
Microprocessor:
 A silicon chip representing a Central Processing Unit (CPU), which is capable of
performing arithmetic as well as logical operations according to a pre-defined set of
Instructions, which is specific to the manufacturer .
 In general the CPU contains the Arithmetic and Logic Unit (ALU), Control Unit and
Working registers.
 Microprocessor is a dependant unit and it requires the combination of other hardware
like Memory, Timer Unit, and Interrupt Controller etc for proper functioning.
Aditya College of Engineering &Technology(A)
MICRO CONTROLLERS
 A highly integrated silicon chip containing a CPU, scratch pad RAM, Special and General
purpose Register Arrays, On Chip ROM/FLASH memory for program storage, Timer and
Interrupt control units and dedicated I/O ports.
 Microcontrollers can be considered as a super set of Microprocessors.
 Microcontroller can be general purpose (like Intel 8051, designed for generic applications and
domains) or application specific (Like Automotive AVR from Atmel Corporation. Designed
specifically for automotive applications).
 Since a microcontroller contains all the necessary functional blocks for independent working,
they found greater place in the embedded domain in place of microprocessors.
 Microcontrollers are cheap, cost effective and are readily available in the market.
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
General Purpose Processor (GPP) Vs Application Specific Instruction Set Processor (ASIP)
Aditya College of Engineering &Technology(A)
General Purpose Processor or GPP is a processor designed for general
computational tasks.
Application Specific Instruction Set processors (ASIPs) are processors with
architecture and instruction set optimized to specific domain/application
requirements like:
 Network processing,
 Automotive,
 Telecom,
 Media applications,
 Digital signal processing and
 Control applications etc.
times faster than the
purpose microprocessors
general
in signal
processing applications.
Digital Signal Processors
Aditya College of Engineering &Technology(A)
• DSPs are powerful special purpose
8/16/32 bit microprocessors
designed specifically to meet the
computational demands and power
constraints of today's embedded
audio, video, and communications
applications.
• Digital signal processors are 2 to 3
A typical digital signal processor incorporates the following key units
Aditya College of Engineering &Technology(A)
 Program Memory : Memory for storing the program required by DSP to process the
data.
 Data Memory : Working memory for storing temporary variables/information and
data/signal to be processed.
 Computational Engine : Performs the signal/math processing , accessing the program
from the Program Memory and the data from the Data Memory.
 I/O Unit : Acts as an interface between the outside world and DSP. It is responsible for
capturing signals to be processed and delivering the processed signals.
Aditya College of Engineering &Technology(A)
 Application areas : Audio video signal processing, telecommunication and
multimedia applications.
 DSP employs a large amount of real-time calculations, Sum of products (SOP)
calculation, convolution, Fast Fourier Transform (FFT), discrete Fourier
transform (DFT), etc. are some of the operations performed by digital signal
processors.
RISC vs. CISC Processors/Controllers
Aditya College of Engineering &Technology(A)
RISC vs. CISC Processors/Controllers
Aditya College of Engineering &Technology(A)
Harvard Architecture Vs Von-Neumann Architecture
Aditya College of Engineering &Technology(A)
Big-Endian vs. Little Endian Processors/Controllers
 Endianness refers to the way bytes are ordered when a data item with a size bigger than 1 byte (e.g.
32-bit variable) is placed in memory or transmitted over a communication interface.
 Little-endian is an order in which the lower-order byte of the data is stored in memory at
the lowest address and the higher order Byte at the HighestAddress.
 Big-endian means the higher-order byte of the data is stored in memory at the lowest address,
and the lower-order byte at the highest address.
Visualization of a 32-bit data consisting of four bytes
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
Little-endian vs big-endian format
 The endianness does not have a big impact on the microprocessor hardware
implementation.
 As the endianness is relevant only on the operations that access data from the memory.
Load Store Operation & Instruction Pipelining
Aditya College of Engineering &Technology(A)
Application Specific Integrated Circuit (ASIC)
Aditya College of Engineering &Technology(A)
A microchip designed to perform a specific or unique application. It is used as
replacement to conventional general purpose logic chips.
Programmable Logic Devices (PLDs)
Aditya College of Engineering &Technology(A)
 Logic devices provide specific functions, including device-to-device interfacing,
data communication, signal processing, data display, timing and control operations,
and almost every other function a system must perform.
 Logic devices can be classified into two broad categories - Fixed and Programmable.
The circuits in a fixed logic device are permanent, they perform one function or set
of functions - once manufactured, they cannot be changed
 Field Programmable Gate Arrays (FPGAs) and Complex Programmable Logic
Devices (CPLDs) are the two major types of programmable logic devices
Commercial off the Shelf Component (COTS)
Aditya College of Engineering &Technology(A)
 COTS products are designed in such a way to provide easy integration and
interoperability with existing system components.
 The major advantage of using COTS
is that they are readily available in the
market, cheap and a developer can cut
down his/her development time to a
great extend.
MEMORY
Aditya College of Engineering &Technology(A)
Memory is an important part of an embedded system. The memory used in
embedded system can be either Program Storage Memory (ROM) or Data
memory (RAM)
Certain Embedded processors/controllers contain built in program memory
and data memory and this memory is known as on-chip memory
Certain Embedded processors/controllers do not contain sufficient memory
inside the chip and requires external memory called off-chip memory or
external memory.
Programme Storage Memory
Aditya College of Engineering &Technology(A)
Stores the program instructions.
Retains its contents even after the power to it is turned off. It is generally known
as Non volatile storage memory
Read-Write Memory/Random Access Memory (RAM)
Aditya College of Engineering &Technology(A)
 The Random Access Memory (RAM) is the data memory or working memory of
the controller/processor.
 Controller/processor can read from it and write to it.
 RAM is volatile, meaning when the power is turned off, all the contents are
destroyed.
SRAM DRAM
Aditya College of Engineering &Technology(A)
SRAM Vs DRAM
Aditya College of Engineering &Technology(A)
Sensors & Actuators
Aditya College of Engineering &Technology(A)
 Embedded system is in constant interaction with the real world.
 Controlling/monitoring functions executed by the embedded system is achieved in
accordance with the changes happening to the Real World.
 The changes in the system environment or variables are detected by the sensors
connected to the input port of the embedded system.
 If the embedded system is designed for any controlling purpose, the system will
produce some changes in controlling variable to bring the controlled variable to the
desired value.
 It is achieved through an actuator connected to the out port of the embedded
system.
Sensors
Aditya College of Engineering &Technology(A)
 A transducer device which converts energy from one form to another for any
measurement or control purpose. Sensors acts as input device.
Example: IR, humidity , PIR(passive infra red) , ultrasonic , piezoelectric , smoke sensors
Actuator
Aditya College of Engineering &Technology(A)
 A form of transducer device
(mechanical or electrical) which
converts signals to corresponding
physical action (motion). Actuator
acts as an output device
Example: Micro motor actuator which
adjusts the position of the cushioning
element in the Smart Running shoes
from adidas
I/O Subsystem
Aditya College of Engineering &Technology(A)
 The I/O subsystem of the embedded system facilitates the interaction of the
embedded system with the external world.
 The interaction happens through the sensors and actuators connected to the input
and output ports respectively of the embedded system.
 The sensors may not be directly interfaced to the input ports, instead they may be
interfaced through signal conditioning and translating systems like ADC,
optocouplers, etc.
 Light Emitting Diode (LED)
 7-Segment LED Display
 Optocoupler
 Stepper Motor
 Relay
 Piezo Buzzer
 Push Button Switch
 Keyboard
Aditya College of Engineering &Technology(A)
Light Emitting Diode (LED)
Aditya College of Engineering &Technology(A)
 LED is an important output device for visual indication in any embedded system. LED can
be used as an indicator for the status of various signals or situations. Typical examples are
indicating the presence of power conditions like ‘Device ON’, ‘Battery low’ or ‘Charging of
battery’for a battery operated handheld embedded devices.
 LED is a p-n junction diode and it contains an anode and a cathode. For proper
functioning of the LED, the anode of it should be connected to +ve terminal of the supply
voltage and cathode to the –ve terminal of the supply voltage. The current flowing
through the LED must be limited to a value below the maximum current that it can
conduct. A resistor is used in series between the power supply and the LED to limit the
current through the LED.
Figure. LED Interfacing
Aditya College of Engineering &Technology(A)
7- Segment LED Display
Aditya College of Engineering &Technology(A)
• The 7-segment LED display is an output device for displaying alphanumeric characters. It contains
8 light-emitting diode (LED) segments arranged in a special form. Out of the 8 LED segments, 7 are
used for displaying alphanumeric characters and 1 is used for representing ‘decimal point’ in
decimal numberdisplay.
• The LED segments are namedAto G and the decimal point LED segment is named as DP.
Aditya College of Engineering &Technology(A)
 The 7-segment LED displays are available in two different configurations, namely;
Common Anode and Common Cathode. In the common anode configuration, the anodes
of the 8 segments are connected commonly whereas in the common cathode
configuration, the 8 LED segments share a common cathode line.
Aditya College of Engineering &Technology(A)
• 7-segment LED display is a popular choice for low cost embedded applications
like, Public telephone call monitoring devices, point of sale terminals, etc.
Optocoupler
Figure.An optocouplerdevice
Aditya College of Engineering &Technology(A)
• Optocoupler is a solid state device to isolate two parts of a circuit.
• Optocoupler combines an LED and a photo-transistor in a single housing (package).
• Figure illustrates the functioning of an optocoupler device.
• In Electronic circuits an optocoupler is used for suppressing interference data
communication, circuit isolation, high voltage separation, simultaneous separation and signal
intensification,etc.
Optocouplers can be used in either input circuits or in output circuits.
Figure illustrates the usage of optocoupler in input circuit and output circuit of an embedded
system with a microcontroller as the system core.
Aditya College of Engineering &Technology(A)
Stepper Motor
Aditya College of Engineering &Technology(A)
Stepper motor is an electro mechanical device which
generates discrete displacement (motion) in response to dc
electrical signals
It differs from the normal dc motor in its operation. The
dc motor produces continuous rotation on applying dc
voltage whereas a stepper motor produces discrete rotation
in response to the dc voltage applied to it.
Stepper motors are widely used in industrial embedded
applications, consumer electronic products and robotics
control systems.
The paper feed mechanism of a printer/fax makes use of
stepper motors for its functioning.
RELAY
Aditya College of Engineering &Technology(A)
An electro mechanical device which acts as dynamic path selectors for signals and power.
The “Relay‟ unit contains a relay coil made up of insulated wire on a metal core and a metal
armature with one or more contacts.
“Relay‟ works on electromagnetic principle.
When a voltage is applied to the relay coil, current flows through the coil, which in turn
generates a magnetic field.
Piezo Buzzer
Aditya College of Engineering &Technology(A)
• It is a piezoelectric device for generating audio
indications in embedded applications.
• A Piezo buzzer contains a piezoelectric diaphragm
which produces audible sound in response to the
voltage applied to it.
• Piezoelectric buzzers are available in two types:
1. Self-driving 2. External driving
Push button switch
Push Button switch is an input device.
Push button switch comes in two configurations, namely “Push to
Make and Push to Break.
The switch is normally in the open state and it makes a circuit
contact when it is pushed or pressed in the Push to Mak
configuration.
In the Push to Break configuration, the switch normally in the
closed state and it breaks the circuit contact when it is pushed or
pressed .
The push button stays in the closed (For Push to Make type) or
open (For Push to Break type) state as long as it is kept in the
pushed state and it breaks/makes the circuit connection when it is
released.
Aditya College of Engineering &Technology(A)
KEYBOARD
Aditya College of Engineering &Technology(A)
Communication Interface
Aditya College of Engineering &Technology(A)
• Communication interface is essential for communicating with various
subsystems of the embedded system and with the external world.
• The communication interface can be viewed in two different perspectives,
namely:
1. Device/board level communication interface (Onboard Communication
Interface)
2. Product level communication interface (External Communication
Interface)
Device/board level communication interface (Onboard Communication Interface)
Aditya College of Engineering &Technology(A)
• The communication channel which interconnects the various
components within an embedded
• Product is referred as Device/board level communication interface
(Onboard Communication Interface)
Examples: Serial interfaces like I2C, SPI, UART, 1-Wire and
Parallel bus interface
The “Product level communication interface‟ (External Communication Interface) is
responsible for data transfer between the embedded system and other devices or modules.
The external communication interface can be either wired media or wireless media and it can be
a serial or parallel interface.
Examples for wireless communication interface: Infrared (IR), Bluetooth (BT), Wireless LAN
(Wi-Fi), Radio Frequency waves (RF), GPRS etc.
Examples for wired interfaces: RS-232C/RS-422/RS 485, USB, Ethernet (TCP-IP), IEEE 1394
port, Parallel port etc.
Product level communication interface (External Communication Interface)
Aditya College of Engineering &Technology(A)
Onboard Communication Interfaces
Onboard Communication Interface refers to the different communication channels/buses for
interconnecting the various integrated circuits and other peripherals within the embedded
system.
The various interfaces for onboard communication are as follows:
i. Inter Integrated Circuit (I2C) Bus
ii. Serial Peripheral Interface (SPI) Bus
iii. UniversalAsynchronous Receiver Transmitter (UART)
iv. 1-Wire Interface
v. Parallel Interface
Aditya College of Engineering &Technology(A)
Inter Integrated Circuit (I2C) Bus
Aditya College of Engineering &Technology(A)
 The Inter Integrated Circuit Bus is a synchronous bi-directional half duplex two wire serial
interface bus.
 The I2C bus comprise of two bus lines, namely; Serial Clock-SCL and Serial Data-SDA.
 SCL line is responsible for generating synchronization clock pulses and SDA is responsible
for transmitting the serial data across devices.
 Devices connected to the I2C bus can act as either ‘Master’device or ‘Slave’device.
 The ‘Master’ device is responsible for controlling the communication by
initiating/terminating data transfer, sending data and generating necessary synchronization
clock pulses.
 ‘Slave’ devices wait for the commands from the master and respond upon receiving the
commands.
 ‘Master’ and ‘Slave’ devices can act as either transmitter or receiver. I2C supports multi
masters on the same bus.
Aditya College of Engineering &Technology(A)
Serial Peripheral Interface (SPI) Bus
• The Serial Peripheral Interface Bus (SPI) is a synchronous bi-directional full duplex four
wire serial interface bus. The concept of SPI is introduced by Motorola.SPI is a single master
multi-slave system.
• It is possible to have a system where more than one SPI device can be master, provided the
condition only one master device is active at any given point of time, is satisfied.
• SPI is used to send data between Microcontrollers and small peripherals such as shift
registers, sensors, and SD cards.
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
SPI requires four signal lines for communication. They are:
Master Out Slave In (MOSI): Signal line carrying the data
from master to slave device. It is also known as Slave
Input/Slave Data In (SI/SDI)
Master In Slave Out (MISO): Signal line carrying the data
from slave to master device. It is also known as Slave Output
(SO/SDO)
Serial Clock (SCLK): Signal line carrying the clock
signals
Slave Select (SS): Signal line for slave device select. It is
an active low signal.
I2C V/S SPI
Aditya College of Engineering &Technology(A)
1-wire interface (protocol)
Aditya College of Engineering &Technology(A)
 1-Wire interface is an asynchronous Half Duplex Communication Protocol developed by
maxim Dallas Semi conductor .
 It uses a single signal line called DQ for communication and follows the master slave
communication Model.
 One of the Key feature of 1-Wire bus is that it allows power to be sent along the signal wire.
 The 1 wire interface supports single master and one or more slave devices on the bus.
Parallel Interference
Aditya College of Engineering &Technology(A)
 In data transmission, parallel communication is a method of conveying multiple binary
digits (bits) simultaneously.
 The communication channel is the number of electrical conductors used at the physical
layer to convey bits.
 Parallel communication implies more than one such conductor.
 For example, an 8-bit parallel channel will convey eight bits (or a byte) simultaneously,
whereas a serial channel would convey those same bits sequentially, one at a time.
 Parallel communication is always has been widely used within integrated circuits, in
peripheral buses, and in memory devices such as RAM.
Aditya College of Engineering &Technology(A)
Universal Asynchronous Receiver Transmitter(UART)
Aditya College of Engineering &Technology(A)
 An asynchronous form of serial data transmission
 Doesn’t require a clock signal to synchronize the transmitting end and receiving end
for transmission
 Relies upon predefined agreement between the transmitting device and receiving
device
 The start and stop of communication is indicated through inserting special bits in
the data stream.
 For proper communication the transmit line of the sending device should be
connected to the receiving line of the receiving device
Aditya College of Engineering &Technology(A)
 The“Product level communication interface‟ (External Communication Interface) is responsible for
data transfer between the embedded system and other devices or modules.
 The external communication interface can be either wired media or wireless media and it can be a
serial or parallel interface.
 Wired communication interface: Wired communication interface is an interface used to transfer
information over a wired network.
 Examples for wired interfaces: RS-232C/RS-422/RS 485, USB, Ethernet (TCP-IP), IEEE 1394
port, Parallel port etc.
 Wireless communication interface : Wireless communication interface is an interface used to
transmission of information over a distance without help of wires, cables or any other forms of
electrical conductors.
 Examples for wireless communication interface: Infrared (IR), Bluetooth (BT), Wireless LAN
(Wi-Fi), Radio Frequency waves (RF), GPRS etc.
Product level communication interface (External Communication Interface)
Aditya College of Engineering &Technology(A)
RS-232C/RS-422/RS 485
RS-232 C (Recommended Standard number 232, revision C from the Electronic Industry Association) is a
legacy, full duplex, wired, asynchronous serial communication interface
RS-232 extends the UART communication signals for external data communication.
UART uses the standard TTL/CMOS logic (Logic "High" corresponds to bit value 1 and Logic "LOW"
corresponds to bit value 0) for bit transmission whereas RS232 use the EIAstandard for bit transmission.
As per EIA standard, a logic "0" is represented with voltage between +3 and +25V and a logic " 1" is
represented with voltage between -3 and -25V.
In EIAstandard, logic "0" is known as "Space" and logic "1" as "Mark".
The RS232 interface define various handshaking and control signals for communication apart from
the "Transmit" and "Receive" signal lines for data communication
Aditya College of Engineering &Technology(A)
RS-232 supports two different types of connectors, namely; DB-9: 9-Pin connector and DB-25: 25-Pinconnector.
DB-9
Aditya College of Engineering &Technology(A)
DB-25
Universal Serial Bus (USB)
Aditya College of Engineering &Technology(A)
• The easiest way to connect computer peripherals
is through a Universal Serial Bus (USB).
• The USB is a plug-and-play interface between
the PC and the peripherals.
• USB is the short form of Universal Serial Bus, a
standard port that helps to connect computer
peripherals like scanner, printer, digital camera,
flash drive and more to the Computer.
• The USB standard supports the data transfer at
the rate of 12 Mbps.
• USB 2.0 has a maximum signaling rate of 480
Mbit/s and USB 3.0 has a usable data rate of up
to 4 Gbit/s (500 MB/s).
Aditya College of Engineering &Technology(A)
Universal Serial Bus (USB) is a wired high speed serial
bus for data communication. The USB host can support
connections up to 127, including slave peripheral devices
and other USB hosts
USB Hub
The USB Hub is used to connect many devices to the PC
using a single USB connector. The hub can detect the
attachment or detachment of devices in each port of the
Hub. It also distributes power to all the devices connected
to it and also detects low speed and full speed devices.
Universal Serial Bus (USB)
Aditya College of Engineering &Technology(A)
IEEE 1394 (Firewire)
IEEE 1394 is an interface standard for a serial bus for high-speed communications and isochronous real-
time data transfer. It was developed in the late 1980s and early 1990s by Apple in cooperation with a
number of companies, primarily Sony and Panasonic.
IEEE 1394 is a popular communication interface for connecting embedded devices like Digital Camera,
Camcorder, Scanners to desktop computers for data transfer and storage.
Aditya College of Engineering &Technology(A)
Transmission Type Definition Example
Synchronous
Continuous and synchronized timing of
data
Synchronous Optical Networking
(SONET), Synchronous Digital
Hierarchy (SDH)
Asynchronous
Independent timing of individual
characters
RS-232 serial communication
standard
Isochronous
Constant and predictable timing for real-
time
Audio and video streaming, IEEE
1394 (FireWire), USB isochronous
transfer
Infrared Data Association (IrDA)
Aditya College of Engineering &Technology(A)
 A serial, half duplex, line of sight based wireless
technology for data communication between devices
 Infrared communication technique makes use of Infrared
waves of the electromagnetic spectrum for transmitting the
data
 IrDA supports point-point and point-to-multipoint
communication, provided all devices involved in the
communication are within the line of sight
 The typical communication range for IrDA lies in the
range 10cm to 1 m
 IR supports data rates ranging from 9600bits/second to
16Mbps.
Aditya College of Engineering &Technology(A)
Infrared Data Association (IrDA)
Depending on the speed of data transmission IR is classified into Serial IR (SIR),
Medium IR (MIR), Fast IR (FIR), Very Fast IR (VFIR) and Ultra Fast IR (UFIR)
SIR supports transmission rates ranging from 9600bps to 115.2kbps. MIR supports data
rates of 0.576Mbps and 1.152Mbps. FIR supports data rates up to 4Mbps. VFIR is
designed to support high data rates up to 16Mbps. The UFIR specs are under
development and it is targeting a data rate up to 100Mbps
IrDA communication involves a transmitter unit for transmitting the data over IR and a
receiver for receiving the data. Infrared Light Emitting Diode (LED) is used as the IR
source for transmitter and at the receiving end a photodiode is used as the receiver
Bluetooth (BT)
 Bluetooth is a low cost, low power, short range wireless technology for data and voice communication.
Bluetooth supports point-to-point (device to device) and point-to-multipoint (device to multiple device
broadcasting) wireless communication. Introduced on 7 May 1998 , Developed by Bluetooth Special Interest
Group.
 A Bluetooth device can function as either master or slave. When a network is formed with one Bluetooth
device as master and more than one device as slaves, it is called a Piconet. A Piconet supports a maximum of
seven slave devices.
 Bluetooth is the favorite choice for short range data communication in handheld embedded devices. Bluetooth
technology is very popular among cell phone users as they are the easiest communication channel for
transferring ringtones, music files, pictures, media files, etc between neighboring Bluetooth enabled phones.
 It supports a data rate of up to 1 Mbps and a range of approximately 30 feet for data communication with a
frequency of 2.45 GHz. In the most widely used mode, transmission power is limited to 2.5 milliwatts.
Aditya College of Engineering &Technology(A)
Wi-Fi
Wi-Fi or Wireless Fidelity is the popular wireless
communication technique for networked communication of
devices. Wi-Fi is intended for network communication and
it supports Internet Protocol (IP) based communication. It is
essential to have device identities in a multipoint
communication to address specific devices for data
communication.
Wi-Fi based communications require an intermediate
agent called Wi-Fi router/Wireless access point to manage
the communications.
Wi-Fi supports data rates ranging from 1 Mbps to 150
Mbps and offers a range of 100 to 300 feet.
Aditya College of Engineering &Technology(A)
ZigBee
Aditya College of Engineering &Technology(A)
 ZigBee is a low power, low cost, wireless network communication protocol based on the
IEEE 802.15.4- 2006 standard.
 ZigBee is targeted for low power, low data rate and secure applications for Wireless
Personal Area Networking (WPAN).
 ZigBee operates worldwide at the unlicensed bands of Radio spectrum, mainly at 2.400 to
2.484 GHz, 902 to 928 MHz and 868.0 to 868.6MHz.
 ZigBee supports an operating distance of up to 100 meters and a data rate of 20 to
250Kbps.
 ZigBee is primarily targeting application areas like Home & Industrial Automation, Energy
Management, Home control/security, Medical/Patient tracking
ZigBee device categories are as follows:
 ZigBee Coordinator (ZC)/Network Coordinator: The
ZigBee coordinator acts as the root of the ZigBee
network. The ZC is responsible for initiating the ZigBee
network and it has the capability to store information
about the network.
 ZigBee Router (ZR)/Full Function Device (FFD):
Responsible for passing information from device to
another device or to another ZR.
 ZigBee End Device (ZED)/Reduced Function
Device (RFD): End device containing ZigBee
functionality for data communication.
Aditya College of Engineering &Technology(A)
General Packet Radio Service (GPRS)
 GPRS is a communication technique for transferring data over a mobile communication
network like GSM.
 Data is sent as packets. The transmitting device splits the data into several related packets. At
the receiving end the data is re-constructed by combining the received data packets
 GPRS supports a theoretical maximum transfer rate of 17.2 kbps.
 The GPRS communication divides the channel into 8 timeslots and transmits data over the
available channel.
 GPRS is mainly used by mobile enabled embedded devices for data communication. The
device should support the necessary GPRS hardware like GPRS modem and GPRS radio.
 GPRS is an old technology and it is being replaced by new generation data communication
techniques like EDGE, High Speed Downlink Packet Access (HSDPA).
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
 Embedded firmware refers to software that is specifically developed to control and manage the functionality of
embedded systems.
 Embedded firmware is stored in non-volatile memory within the embedded system and is responsible for controlling
the hardware components and ensuring that the system performs its intended tasks.
 Purpose: Embedded firmware is designed to control the behavior of the hardware in an embedded system. It provides
the necessary instructions for the system to execute its functions, interact with external devices, and respond to inputs.
 Stability: Embedded firmware must be stable and reliable, as embedded systems often operate in critical applications
where failures can have significant consequences.
Examples:
•Microcontrollers: In devices like washing machines, microwave ovens, and automotive control systems, embedded
firmware is used to control the operation of microcontrollers that manage the various functions of the device.
•Consumer Electronics: Smart TVs, digital cameras, and routers rely on embedded firmware to control their
functionality.
Embedded Firmware
Aditya College of Engineering &Technology(A)
Embedded Firmware Update:
Development Tools: Programmers use specialized integrated development environments (IDEs) and toolchains to
write, compile, and debug embedded firmware. These tools are custom-made to the specific architecture and
hardware of the embedded system.
Updating Firmware: In some cases, embedded firmware can be updated, either to fix bugs, add new features, or
improve performance. This process is often known as firmware updates or firmware upgrades.
Embedded Firmware
Characteristics of Embedded systems
Aditya College of Engineering &Technology(A)
1.Application and domain specific.
2.Reactive and Real Time.
3.Operates in harsh environments.
4.Distributed.
5.Small Size and weight.
6.Power concerns.
Aditya College of Engineering &Technology(A)
Characteristics of Embedded systems
1. Application and Domain specific
• An embedded system is designed for a specific purpose only. It will not do any other task.
• Ex. A washing machine can only wash, it cannot cook.
• Certain embedded systems are specific to a domain: Ex. A hearing aid is an application
that belongs to the domain of signal processing.
2. Reactive and Real time
• Certain Embedded systems are designed to react to the events that occur in the nearby
environment. These events also occur real-time.
• Ex. An air conditioner adjusts its mechanical parts as soon as it gets a signal from its
sensors to increase or decrease the temperature when the user operates it using a remote
control.
• An embedded system uses Sensors to take inputs and has actuators to bring out the
required functionality.
Aditya College of Engineering &Technology(A)
Characteristics of Embedded systems
3. Operation in harsh environment
• Certain embedded systems are designed to operate in harsh environments like very high temperature of
the deserts or very low temperature of the mountains or extreme rains.
• These embedded systems have to be capable of sustaining the environmental conditions it is designed
to operate in.
4. Distributed
• Certain embedded systems are part of a larger system and thus form components of a distributed
system.
• These components are independent of each other but have to work together for the larger system to
function properly.
• Ex. A car has many embedded systems controlled to its dash board. Each one is an independent
embedded system yet the entire car can be said to function properly only if all the systems work
together.
Aditya College of Engineering &Technology(A)
Characteristics of Embedded systems
5. Small size and weight
• An embedded system that is compact in size and has light weight will be desirable or more popular
than one that is bulky and heavy.
• Ex. Currently available cell phones. The cell phones that have the maximum features are popular
but also their size and weight is an important characteristic.
• For convenience users prefer mobile phones than phablets.(phone + tablet pc)
6. Power concerns
• It is desirable that the power utilization and heat dissipation of any embedded system be low.
• If more heat is dissipated then additional units like heat sinks or cooling fans need to be added to
the circuit.
• If more power is required then a battery of higher power or more batteries need to be
accommodated in the embedded system.
Quality Attributes of Embedded Systems
These are the attributes that together form the deciding factor about the quality of an
embedded system. There are two types of quality attributes are:
1. Operational QualityAttributes
 These are attributes related to operation or functioning of an embedded system. The way
an embedded system operates affects its overall quality.
2. Non-Operational QualityAttributes
 These are attributes not related to operation or functioning of an embedded system. The
way an embedded system operates affects its overall quality.
 These are the attributes that are associated with the embedded system before it can be put
in operation.
Aditya College of Engineering &Technology(A)
Operational Quality Attributes
Aditya College of Engineering &Technology(A)
The operational quality attributes represent the relevant quality attributes related to
the embedded system when it is in the operational mode or ‘online’ mode. The
important quality attributes coming under this category are listed below:
a. Response
b. Throughput
c. Reliability
d. Maintainability
e. Security
f. Safety
Aditya College of Engineering &Technology(A)
Operational Quality Attributes
a) Response
• Response is a measure of quickness of the system.
• It gives you an idea about how fast your system is tracking the input variables.
• Most of the embedded system demand fast response which should be real-time.
b) Throughput
• Throughput deals with the efficiency of system.
• It can be defined as rate of production or process of a defined process over a stated period of time.
c) Reliability
• Reliability is a measure of how much percentage you rely upon the proper functioning of the system .
• Mean Time between failures and Mean Time To Repair are terms used in defining system reliability.
• Mean Time between failures can be defined as the average time the system is functioning before a failure
occurs.
• Mean time to repair can be defined as the average time the system has spent in repairs.
Aditya College of Engineering &Technology(A)
Operational Quality Attributes
d) Maintainability
Maintainability deals with support and maintenance to the end user or a client in case of
technical issues and product failures or on the basis of a routine system checkup.
It can be classified into two types:-
1. Scheduled or Periodic Maintenance
• This is the maintenance that is required regularly after a periodic time interval.
Example: Periodic Cleaning of Air Conditioners, Refilling of printer cartridges.
2. Maintenance to unexpected failure
• This involves the maintenance due to a sudden breakdown in the functioning of the
system. Example: 1. Air conditioner not powering on 2. Printer not taking paper in spite
of a full paper stack
Aditya College of Engineering &Technology(A)
Operational Quality Attributes
e) Security
• Confidentiality, Integrity and Availability are three corner stone’s of information security.
• Confidentiality deals with protection data from unauthorized disclosure.
• Integrity gives protection from unauthorized modification.
• Availability gives protection from unauthorized user
• Certain Embedded systems have to make sure they conform to the security measures. Ex. An
Electronic Safety Deposit Locker can be used only with a pin number like a password.
f) Safety
• Safety deals with the possible damage that can happen to the operating person and environment
due to the breakdown of an embedded system or due to the emission of hazardous materials from
the embedded products.
• A safety analysis is a must in product engineering to evaluate the anticipated damage and
determine the best course of action to bring down the consequence of damages to an acceptable
level.
Non Operational Attributes
Aditya College of Engineering &Technology(A)
 These are attributes not related to operation or functioning of an embedded system.
 The way an embedded system operates affects its overall quality.
 These are the attributes that are associated with the embedded system before it can be
put in operation.
 The important quality attributes coming under this category are listed below:
a. Testability & Debuggability
b. Evolvability
c. Portability
d. Time to prototype and market
e. Per unit and total cost
Aditya College of Engineering &Technology(A)
Non Operational Attributes
Aditya College of Engineering &Technology(A)
a) Testability and Debug ability
• It deals with how easily one can test his/her design, application and by which mean he/she can test it.
• In hardware testing the peripherals and total hardware function in designed manner
• Firmware testing is functioning in expected way
• Debug ability is means of debugging the product as such for figuring out the probable sources that
create unexpected behavior in the total system
b) Evolvability
• For embedded system, the qualitative attribute “Evolvability” refers to ease with which the
embedded product can be modified to take advantage of new firmware or hardware technology
c) Portability
• Portability is measured of “system Independence”.
• An embedded product can be called portable if it is capable of performing its operation as it is
intended to do in various environments irrespective of different processor and or controller and
embedded operating systems.
Aditya College of Engineering &Technology(A)
Non Operational Attributes
Aditya College of Engineering &Technology(A)
d) Time to prototype and market
• Time to Market is the time elapsed between the conceptualization of a product and time at which the
product is ready for selling or use.
• Product prototyping help in reducing time to market.
• Prototyping is an informal kind of rapid product development in which important feature of the under
consider are develop.
• In order to shorten the time to prototype, make use of all possible option like use of reuse, off the self
component etc.
e) Per unit and total cost.
• Cost is an important factor which needs to be carefully monitored. Proper market study and cost
benefit analysis should be carried out before taking decision on the per unit cost of the embedded
product.
• When the product is introduced in the market, for the initial period the sales and revenue will be low.
• There won’t be much competition when the product sales and revenue increase.
• During the maturing phase, the growth will be steady and revenue reaches highest point and at
retirement time there will be a drop in sales volume.
Aditya College of Engineering &Technology(A)
Washing Machine-Application-Specific Embedded System
 Washing Machine is a typical example of an embedded system providing
extensive support in home automation applications.
 An embedded system contains sensors, actuators, control unit and
application-specific user interfaces like keyboards, display units, etc.
 You can see all these components in a washing machine if you have a closer
look at it. Some of them are visible and some of them may be invisible to you.
 The actuator part of washing machine consists of a motorized agitator, tumble tub, water
drawing pump and inlet valve to control the flow of water into the unit.
 The sensor part consists of the water temperature sensor, level sensor, etc.
 The control part contains a microprocessor/controller based board with interfaces to the sensors
and actuators.
 The sensor data is fed back to the control unit and the control unit generates the necessary
actuator outputs.
 The control unit also provides connectivity to user interfaces like keypad for setting the
washing time, selecting the type of material to be washed like light, medium, heavy duty, etc.
 User feedback is reflected through the display unit and LEDs connected to the control board.
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
Figure: Washing Machine
 The integrated control panel consists of a microprocessor/controller based board with I/O
interfaces and a control algorithm running in it.
 Input interface includes the keyboard which consists of wash type selector namely Wash,
Spin and Rinse, cloth type selector namely Light, Medium, Heavy duty and washing time
setting, etc.
 The output interface consists of LED/LCD displays, status indication LEDs, etc. connected to
the I/O bus of the controller.
 It is to be noted that this interface may vary from manufacturer to manufacturer and model to
model.
 The other types of I/O interfaces which are invisible to the end user are different kinds of sensor
interfaces, namely, water temperature sensor, water level sensor, etc. and actuator interface
including motor control for agitator and tub movement control, inlet water flow control, etc.
Aditya College of Engineering &Technology(A)
Automotive-Domain-Specific Examples of Embedded System
The major application domains of embedded systems are consumer, industrial,
automotive, telecom, etc. of which telecom and automotive industry holds a big
market share.
Aditya College of Engineering &Technology(A)
Aditya College of Engineering &Technology(A)
Automotive Embedded System (AES)
 The Automotive industry is one of the major application domains of embedded systems.
 Automotive embedded systems are the one where electronics take control over the mechanical
system. Ex. Simple viper control.
 The number of embedded controllers in a normal vehicle varies somewhere between 20 to 40
and can easily be between 75 to 100 for more sophisticated vehicles
 One of the first and very popular uses of embedded system in automotive industry was
microprocessor based fuel injection.
 AES are normally built around microcontrollers or DSPs or a hybrid of the two and are
generally known as Electronic Control Units (ECUs).
Aditya College of Engineering &Technology(A)
Types of Electronic Control Units (ECU)
1. High-speed Electronic Control Units (HECUs)
a. HECUs are deployed in critical control units requiring fast response.
b. They Include fuel injection systems, antilock brake systems, engine control, electronic
throttle, steering controls, transmission control and central control units.
2. Low Speed Electronic Control Units (LECUs)
a. They are deployed in applications where response time is not so critical.
b. They are built around low cost microprocessors and microcontrollers and digital signal
processors.
c. Audio controller, passenger and driver door locks, door glass control etc.
Automotive Communication Buses
Aditya College of Engineering &Technology(A)
 Embedded system used inside an automobile communicates with each other using serial
buses. This reduces the wiring required.
 Following are the different types of serial Interfaces used in automotive embedded
applications:
a. Controller Area Network (CAN)
b. Local Interconnect Network (LIN)
c. Media-Oriented System Transport (MOST)
Aditya College of Engineering &Technology(A)
a. Controller Area Network (CAN):
• CAN bus was originally proposed by Robert Bosch.
• It supports medium speed and high speed data transfer
• CAN is an event driven protocol interface with support for error handling in data
transmission.
b. Local Interconnect Network (LIN):
• LIN bus is single master multiple slave communication interface with support for data rates
up to 20 Kbps and is used for sensor/actuator interfacing
• LIN bus follows the master communication triggering to eliminate the bus arbitration problem
• LIN bus applications are mirror controls , fan controls , seat positioning controls.
c. Media-Oriented System Transport (MOST):
• MOST is targeted for automotive audio/video equipment interfacing
• A MOST bus is a multimedia fiber optics point–to point network implemented in a star, ring
or daisy chained topology over optical fiber cables.
Aditya College of Engineering &Technology(A)

More Related Content

Similar to btech embedded systems ppt ES UNIT-1.pptx

Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)Moe Moe Myint
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTIRJET Journal
 
Chapter-2 Internet of Things.pptx
Chapter-2 Internet of Things.pptxChapter-2 Internet of Things.pptx
Chapter-2 Internet of Things.pptx40NehaPagariya
 
Unit-I Basic Embedded System Notes
Unit-I Basic Embedded System NotesUnit-I Basic Embedded System Notes
Unit-I Basic Embedded System NotesDr. Pankaj Zope
 
Esd notes iae
Esd notes iaeEsd notes iae
Esd notes iaeMuru Gan
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systemsjattatt
 
K.Bhagavan gupta.pdf according to the labu
K.Bhagavan gupta.pdf according to the labuK.Bhagavan gupta.pdf according to the labu
K.Bhagavan gupta.pdf according to the labuShanmukhVegi
 
Embedded intro india_2018-02-v1
Embedded intro india_2018-02-v1Embedded intro india_2018-02-v1
Embedded intro india_2018-02-v1Ali Baig
 
Unit 1 Introduction to Embedded computing and ARM processor
Unit 1 Introduction to Embedded computing and ARM processorUnit 1 Introduction to Embedded computing and ARM processor
Unit 1 Introduction to Embedded computing and ARM processorVenkat Ramanan C
 
R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1
R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1
R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1swarna pasupuleti
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded SystemsVishwa Mohan
 
It 443 lecture 1
It 443 lecture 1It 443 lecture 1
It 443 lecture 1elisha25
 
EFFECTIVE EMBEDDED SYSTEMS SOFTWARE DESIGN METHODOLOGIES
EFFECTIVE EMBEDDED SYSTEMS SOFTWARE DESIGN METHODOLOGIESEFFECTIVE EMBEDDED SYSTEMS SOFTWARE DESIGN METHODOLOGIES
EFFECTIVE EMBEDDED SYSTEMS SOFTWARE DESIGN METHODOLOGIEScscpconf
 
Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Moe Moe Myint
 

Similar to btech embedded systems ppt ES UNIT-1.pptx (20)

Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)Introduction to Embedded Systems I: Chapter 2 (1st portion)
Introduction to Embedded Systems I: Chapter 2 (1st portion)
 
Design & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOTDesign & Implementation Of Fault Identification In Underground Cables Using IOT
Design & Implementation Of Fault Identification In Underground Cables Using IOT
 
Chapter-2 Internet of Things.pptx
Chapter-2 Internet of Things.pptxChapter-2 Internet of Things.pptx
Chapter-2 Internet of Things.pptx
 
Unit-I Basic Embedded System Notes
Unit-I Basic Embedded System NotesUnit-I Basic Embedded System Notes
Unit-I Basic Embedded System Notes
 
Esd notes iae
Esd notes iaeEsd notes iae
Esd notes iae
 
Unit 1 - Introduction
Unit 1 - IntroductionUnit 1 - Introduction
Unit 1 - Introduction
 
EIOT Unit 1n.pdf
EIOT Unit 1n.pdfEIOT Unit 1n.pdf
EIOT Unit 1n.pdf
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
K.Bhagavan gupta.pdf according to the labu
K.Bhagavan gupta.pdf according to the labuK.Bhagavan gupta.pdf according to the labu
K.Bhagavan gupta.pdf according to the labu
 
Embedded intro india_2018-02-v1
Embedded intro india_2018-02-v1Embedded intro india_2018-02-v1
Embedded intro india_2018-02-v1
 
Unit 1 Introduction to Embedded computing and ARM processor
Unit 1 Introduction to Embedded computing and ARM processorUnit 1 Introduction to Embedded computing and ARM processor
Unit 1 Introduction to Embedded computing and ARM processor
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Embeddedsystem
EmbeddedsystemEmbeddedsystem
Embeddedsystem
 
R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1
R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1
R20 REGULATION JNTUK EMBEDDED SYSTEMS UNIT-1
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
 
UNIT I.pptx
UNIT I.pptxUNIT I.pptx
UNIT I.pptx
 
Training report on embedded sys_AVR
Training report on embedded sys_AVRTraining report on embedded sys_AVR
Training report on embedded sys_AVR
 
It 443 lecture 1
It 443 lecture 1It 443 lecture 1
It 443 lecture 1
 
EFFECTIVE EMBEDDED SYSTEMS SOFTWARE DESIGN METHODOLOGIES
EFFECTIVE EMBEDDED SYSTEMS SOFTWARE DESIGN METHODOLOGIESEFFECTIVE EMBEDDED SYSTEMS SOFTWARE DESIGN METHODOLOGIES
EFFECTIVE EMBEDDED SYSTEMS SOFTWARE DESIGN METHODOLOGIES
 
Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1Introduction to Embedded Systems I : Chapter 1
Introduction to Embedded Systems I : Chapter 1
 

More from SattiBabu16

Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...SattiBabu16
 
UNIT-III EMBEDDED FIRMWARE DESIGNEmbedded Firmware design
UNIT-III  EMBEDDED FIRMWARE DESIGNEmbedded Firmware designUNIT-III  EMBEDDED FIRMWARE DESIGNEmbedded Firmware design
UNIT-III EMBEDDED FIRMWARE DESIGNEmbedded Firmware designSattiBabu16
 
ECA Unit-2 Topic-9 Digital Content.pptx
ECA Unit-2 Topic-9 Digital Content.pptxECA Unit-2 Topic-9 Digital Content.pptx
ECA Unit-2 Topic-9 Digital Content.pptxSattiBabu16
 
UNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptxUNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptxSattiBabu16
 
WCS _ Unit - 4 FINAL.pptx
WCS _ Unit - 4 FINAL.pptxWCS _ Unit - 4 FINAL.pptx
WCS _ Unit - 4 FINAL.pptxSattiBabu16
 
ubicom-ch02-slides.ppt
ubicom-ch02-slides.pptubicom-ch02-slides.ppt
ubicom-ch02-slides.pptSattiBabu16
 
ubicom-ch01-slides.ppt
ubicom-ch01-slides.pptubicom-ch01-slides.ppt
ubicom-ch01-slides.pptSattiBabu16
 

More from SattiBabu16 (12)

Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...
 
UNIT-III EMBEDDED FIRMWARE DESIGNEmbedded Firmware design
UNIT-III  EMBEDDED FIRMWARE DESIGNEmbedded Firmware designUNIT-III  EMBEDDED FIRMWARE DESIGNEmbedded Firmware design
UNIT-III EMBEDDED FIRMWARE DESIGNEmbedded Firmware design
 
Smart Sensors.
Smart Sensors.Smart Sensors.
Smart Sensors.
 
ECA Unit-2 Topic-9 Digital Content.pptx
ECA Unit-2 Topic-9 Digital Content.pptxECA Unit-2 Topic-9 Digital Content.pptx
ECA Unit-2 Topic-9 Digital Content.pptx
 
WSN UNIT 2.pptx
WSN UNIT 2.pptxWSN UNIT 2.pptx
WSN UNIT 2.pptx
 
WSN UNIT 1.pptx
WSN UNIT 1.pptxWSN UNIT 1.pptx
WSN UNIT 1.pptx
 
svm.pptx
svm.pptxsvm.pptx
svm.pptx
 
UNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptxUNIT III_Smart Sensor.pptx
UNIT III_Smart Sensor.pptx
 
unit6.pptx
unit6.pptxunit6.pptx
unit6.pptx
 
WCS _ Unit - 4 FINAL.pptx
WCS _ Unit - 4 FINAL.pptxWCS _ Unit - 4 FINAL.pptx
WCS _ Unit - 4 FINAL.pptx
 
ubicom-ch02-slides.ppt
ubicom-ch02-slides.pptubicom-ch02-slides.ppt
ubicom-ch02-slides.ppt
 
ubicom-ch01-slides.ppt
ubicom-ch01-slides.pptubicom-ch01-slides.ppt
ubicom-ch01-slides.ppt
 

Recently uploaded

main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixingviprabot1
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 

Recently uploaded (20)

POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Effects of rheological properties on mixing
Effects of rheological properties on mixingEffects of rheological properties on mixing
Effects of rheological properties on mixing
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 

btech embedded systems ppt ES UNIT-1.pptx

  • 1. ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY (A) EMBEDDED SYSTEMS Mr. G Sattibabu Associate Professor ECE Department ACET.
  • 2. Course Outcomes At the end of this course the student can able to: 1. Understand the basic concepts of an embedded system and able to know an embedded system design approach to perform a specific function. 2. The hardware components required for an embedded system and the design approach of an embedded hardware. 3. The various embedded firmware design approaches on embedded environment. 4. Understand how to integrate hardware and firmware of an embedded system using real time operating system. Aditya College of Engineering &Technology(A)
  • 3. Aditya College of Engineering &Technology(A) Course Contents UNIT I : Introduction UNIT II : Embedded Hardware Design UNIT III: Embedded Firmware Design UNIT IV: Real Time Operating System & Hardware Software Co-Design UNIT V : Embedded System Development, Embedded System Implementation and Testing
  • 4. Books Aditya College of Engineering &Technology(A) Text Books: 1. Embedded Systems Architecture- By Tammy Noergaard, Elsevier Publications, 2013. 2. Embedded Systems-By Shibu. K.V - Tata McGraw Hill Education Private Limited, 2013. References: 1. Embedded System Design, Frank Vahid, Tony Givargis, John Wiley Publications, 2013. 2. Embedded Systems-Lyla B. Das-Pearson Publications,2013.
  • 5. Introduction to Embedded Systems (UNIT-I) ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY (A)
  • 6. Contents Aditya College of Engineering &Technology(A) Embedded system - Definition, History of embedded systems, Classification of embedded systems, Major application areas of embedded systems, purpose of embedded systems. The typical embedded system-core of the embedded system, Memory, Sensors and Actuators, Communication Interface, Embedded Firmware. Characteristics of an embedded system, Quality attributes of embedded systems, Application-specific and Domain-Specific examples of an embedded system.
  • 7. Embedded System: An embedded system is an electronic/electro-mechanical system designed to perform a specific function and a combination of both hardware and firmware (software). Every embedded system is unique and the hardware as well as the firmware is highly specialized to the application domain. Embedded systems are becoming an inevitable part of any product or equipment in all fields including household appliances, telecommunications, medical equipment, industrial control, consumer products, etc. Aditya College of Engineering &Technology(A)
  • 8. Embedded Systems Examples Aditya College of Engineering &Technology(A)
  • 9. Comparison of General Purpose Computing System & ES Criteria General Purpose Computing System Embedded System Contents A system which is a combination of a generic hardware and a General Purpose Operating System for executing a variety of applications. A system which is a combination of special purpose hardware and embedded OS for executing a specific set of applications. OS GPOS It may or not contain an operating system for functioning. Alterations Applications are alterable (programmable) by the user. (It is possible for the end user to re-install the OS and also add or remove user applications.) The firmware of the embedded system is pre-programmed and it is non-alterable by the end-user. Key factor Performance is the key deciding factor in the selection of the system. Faster is better. Application specific requirements (like performance, power requirements, memory usage, etc.) are key deciding factors. Power Consumption More Less Response Time Not critical Critical for some applications Execution Need not be deterministic Deterministic for certain types of ES like ‘HardReal Time’ systems. Aditya College of Engineering &Technology(A)
  • 10. History of Embedded Systems:  The first recognized embedded system is the Apollo Guidance Computer(AGC) developed by MIT( Massachusetts Institute of Technology) Instrumentation laboratory.  Introduced: August 1966  AGC was designed on 4K words of ROM & 256 words of RAM.  The clock frequency of first microchip used in AGC was 1.024 MHz  The computing unit of AGC consists of 11 instructions and 16 bit word logic Aditya College of Engineering &Technology(A)
  • 11.  It Uses 5000 number of ICs such as 3 input NOR gates designed with RTL logic.  The User Interface ofAGC is known as DSKY(display/keyboard) which resembles a calculator type keypad with array of numerals.  It have two modules. 1.Command Module 2.Lunar Excursion Module The first mass-produced embedded system was guidance computer for the Minuteman-I missile in 1961. In the year 1971 Intel introduced the world's first microprocessor chip called the 4004, was designed for use in business calculators. It was produced by the Japanese company Busicom. Aditya College of Engineering &Technology(A)
  • 12. CLASSIFICATION OF EMBEDDED SYSTEMS The classification of embedded system is based on following criteria’s: On generation On complexity & performance On deterministic behavior On triggering Aditya College of Engineering &Technology(A)
  • 14. Aditya College of Engineering &Technology(A) 1 st Generation (1G) 2 nd Generation (2G) 3 rd Generation (3G) 4 th Generation (4G) Built around 8 bit μp & 4 bit μc Built around 16 bit μp & 8 bit μc Built around 32bit μp & 16 bit μc Built around 64 bit μp & 32 bit μc Simple in hardware and firmware developed in assembly code More complex and powerful than 1G. Some contained embedded OS for operation Concepts like ASIC’s, DSP’s evolved. Use of Instruction pipelining concept Concepts of SoC, multicore processors are evolved. Highly complex and very powerful E.g.: Digital Telephone Keypads E.g.: Data acquisition System E.g.: Robotics E.g.: Smart phone Based On Generation Aditya College of Engineering &Technology(A)
  • 15. Based On Complexity and Performance Embedded System Small Scale Medium Scale Large Scale Aditya College of Engineering &Technology(A)
  • 16. Aditya College of Engineering &Technology(A) Small Scale:  The embedded systems built around low performance and low cost 8 or 16 bit microprocessors/ microcontrollers.  It is suitable for simple applications and where performance is not time critical.  It may or may not contain OS. Medium Scale:  Embedded Systems built around medium performance, low cost 16 or 32 bit microprocessors / microcontrollers or DSPs.  These are slightly complex in hardware and firmware.  It may contain GPOS/RTOS. Large Scale/Complex:  Embedded Systems built around high performance 32 or 64 bit RISC processors/controllers, SoC or multi-core processors and PLD.  It requires complex hardware and software.  These system may contain multiple processors/controllers and co-units/hardware accelerators for offloading the processing requirements from the main processor.  It contains RTOS for scheduling, prioritization and management. Based On Complexity and Performance Aditya College of Engineering &Technology(A)
  • 17. Based On Deterministic Behaviour Embedded System Soft Real Time Systems Hard Real Time Systems 1. Soft Real time Systems: Missing a deadline may not be critical and can be tolerated to a certain degree 2. Hard Real time systems: Missing a program/task execution time deadline can have disastrous consequences (financial, human loss of life, etc.) Aditya College of Engineering &Technology(A)
  • 18. Based On triggering Embedded System Event Triggered Time triggered 1. Event Triggered : Activities within the system (e.g., task run-times) are dynamic and depend upon occurrence of different events . 2. Time triggered: Activities within the system follow a statically computed schedule (i.e., they are allocated time slots during which they can take place) and thus by nature are predictable. Aditya College of Engineering &Technology(A)
  • 19. MajorApplicationAreas of Embedded System The application areas and the products in the embedded domain are countless. A few of the important domains and products are listed below: ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY (A)
  • 20. • Consumer electronics: Camcorders, Digital cameras, etc. • Household appliances: Television, DVD players, washing machine, fridge, microwave oven, etc. • Home automation and security systems: Air conditioners, sprinklers, intruder detection alarms, closed circuit television cameras, fire alarms, etc. • Automotive industry: Anti-lock breaking systems (ABS), engine control, ignition systems, automatic navigation systems, etc. • Telecom: Cellular telephones, telephone switches, handset multimedia applications, etc. Application areas Aditya College of Engineering &Technology(A)
  • 21. • Computer peripherals: Printers, scanners, fax machines, etc. • Card Readers: Barcode, smart card readers, hand held devices, etc • Computer Networking Systems: Network Routers, Switches, Hubs, Firewalls etc. • Health Care: Different Kinds of Scanners, EEG, ECG Machines etc. • Measurement & Instrumentation: Digital multi meters, Digital CROs, Logic Analyzers, PLC systems • Banking & Retail: Automatic Teller Machines (ATM) and Currency counters, Point of Sales (POS) Application areas Aditya College of Engineering &Technology(A)
  • 22. PURPOSE OF EMBEDDED SYSTEM Each Embedded Systems is designed to serve the purpose of any one or a combination of the following tasks. 1. Data Collection/Storage/Representation 2. Data Communication 3. Data (Signal) Processing 4. Monitoring 5. Control 6. Application Specific User Interface Aditya College of Engineering &Technology(A)
  • 23. Data Collection/Storage/Representation  Performs acquisition of data from the external world.  The collected data can be either analog or digital  Data collection is usually done for storage, analysis, manipulation and transmission  The collected data may be stored directly in the system or may be transmitted to some other systems or it may be processed by the system or it may be deleted instantly after giving a meaningful representation . Aditya College of Engineering &Technology(A)
  • 24. Data Communication  Embedded Data communication systems are deployed in applications ranging from complex satellite communication systems to simple home networking systems .  Embedded Data communication systems are dedicated for data communication Aditya College of Engineering &Technology(A)  The data communication can happen through a wired interface (like Ethernet, RS-232C/USB/IEEE1394 etc) or wireless interface (like Wi-Fi, GSM,/GPRS, Bluetooth, ZigBee etc).  Network hubs, Routers, switches, Modems etc are typical examples for dedicated data transmission embedded systems.
  • 25. Data signal processing  Embedded systems with Signal processing functionalities are employed in applications demanding signal processing like Speech coding, synthesis, audio video codec, transmission applications etc.  Computational intensive systems  Employs Digital Signal Processors (DSPs)  A digital hearing aid is a typical example of an embedded system employing data processing.  Digital hearing aid improves the hearing capacity of hearing impaired person Aditya College of Engineering &Technology(A)
  • 26. Monitoring All embedded products coming under the medical domain are with monitoring functions. Aditya College of Engineering &Technology(A) Other examples with monitoring function are digital CRO, digital multimeters, and logic analyzers. Electro cardiogram machine is intended to do the monitoring of the heartbeatof a patient but it cannot impose control over the heartbeat.
  • 27. Control  A system with control functionality contains both sensors and actuators.  Sensors are connected to the input port for capturing the changes in environmental variable.  The actuators connected to the output port are controlled according to the changes in the input variable.  Air conditioner system used to control the room temperature to a specified limit is a typical example for CONTROL purpose. Aditya College of Engineering &Technology(A)
  • 28. Application specific user interface Aditya College of Engineering &Technology(A)  Buttons, switches, keypad, lights, bells, display units etc, are application specific user interfaces.  Mobile phone is an example of application specific user interface.  In mobile phone the user interface is provided through the keypad, system speaker, vibration alert etc.
  • 29. Aditya College of Engineering &Technology(A) Contents Embedded system - Definition, History of embedded systems, Classification of embedded systems, Major application areas of embedded systems, purpose of embedded systems. The typical embedded system-core of the embedded system, Memory, Sensors and Actuators, Communication Interface, Embedded Firmware. Characteristics of an embedded system, Quality attributes of embedded systems, Application-specific and Domain-Specific examples of an embedded system.
  • 30. Aditya College of Engineering &Technology(A) ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY (A) The Typical Embedded System Mr. G Sattibabu Associate Professor ECE Department ACET.
  • 31. Elements of Embedded Systems microcontroller The controller can be a Microprocessor or a or a Field Programmable Gate Signal Array (FPGA) device or a Digital Processor(DSP) or an Application Specific Specific Integrated Circuit (ASIC)/ Application Standard Product (ASSP). Aditya College of Engineering &Technology(A) A typical embedded system contains a single chip controller which acts as the master brain of the system. Diagrammatically an embedded system can be represented as follows:
  • 32. Aditya College of Engineering &Technology(A)  Embedded hardware/software systems are basically designed to regulate a physical variable or to manipulate the state of some devices by sending some control signals to the Actuators or devices connected to the o/p ports of the system, in response to the input signals provided by the end users or Sensors which are connected to the input ports.  Keyboards, push button switches, etc. are examples for common user interface input devices whereas LEDs, liquid crystal displays, piezoelectric buzzers, etc. are examples for common user interface output devices for a typical embedded system.  The Memory of the system is responsible for holding the control algorithm and other important configuration details. For most of the embedded Systems, the memory for storing algorithm or configuration data is of Fixed Type.
  • 33. Core of the Embedded System The core of the embedded system falls into any of the following categories 1. General Purpose and Domain Specific Processors i . Microprocessors ii. Microcontrollers iii. Digital Signal Processors 2. Application Specific Integrated Circuits (ASICs) 3. Programmable Logic Devices (PLDs) 4. Commercial off-the-shelf Components (COTS) Aditya College of Engineering &Technology(A)
  • 34. General Purpose and Domain Specific Processors Microprocessor:  A silicon chip representing a Central Processing Unit (CPU), which is capable of performing arithmetic as well as logical operations according to a pre-defined set of Instructions, which is specific to the manufacturer .  In general the CPU contains the Arithmetic and Logic Unit (ALU), Control Unit and Working registers.  Microprocessor is a dependant unit and it requires the combination of other hardware like Memory, Timer Unit, and Interrupt Controller etc for proper functioning. Aditya College of Engineering &Technology(A)
  • 35. MICRO CONTROLLERS  A highly integrated silicon chip containing a CPU, scratch pad RAM, Special and General purpose Register Arrays, On Chip ROM/FLASH memory for program storage, Timer and Interrupt control units and dedicated I/O ports.  Microcontrollers can be considered as a super set of Microprocessors.  Microcontroller can be general purpose (like Intel 8051, designed for generic applications and domains) or application specific (Like Automotive AVR from Atmel Corporation. Designed specifically for automotive applications).  Since a microcontroller contains all the necessary functional blocks for independent working, they found greater place in the embedded domain in place of microprocessors.  Microcontrollers are cheap, cost effective and are readily available in the market. Aditya College of Engineering &Technology(A)
  • 36. Aditya College of Engineering &Technology(A)
  • 37. General Purpose Processor (GPP) Vs Application Specific Instruction Set Processor (ASIP) Aditya College of Engineering &Technology(A) General Purpose Processor or GPP is a processor designed for general computational tasks. Application Specific Instruction Set processors (ASIPs) are processors with architecture and instruction set optimized to specific domain/application requirements like:  Network processing,  Automotive,  Telecom,  Media applications,  Digital signal processing and  Control applications etc.
  • 38. times faster than the purpose microprocessors general in signal processing applications. Digital Signal Processors Aditya College of Engineering &Technology(A) • DSPs are powerful special purpose 8/16/32 bit microprocessors designed specifically to meet the computational demands and power constraints of today's embedded audio, video, and communications applications. • Digital signal processors are 2 to 3
  • 39. A typical digital signal processor incorporates the following key units Aditya College of Engineering &Technology(A)  Program Memory : Memory for storing the program required by DSP to process the data.  Data Memory : Working memory for storing temporary variables/information and data/signal to be processed.  Computational Engine : Performs the signal/math processing , accessing the program from the Program Memory and the data from the Data Memory.  I/O Unit : Acts as an interface between the outside world and DSP. It is responsible for capturing signals to be processed and delivering the processed signals.
  • 40. Aditya College of Engineering &Technology(A)  Application areas : Audio video signal processing, telecommunication and multimedia applications.  DSP employs a large amount of real-time calculations, Sum of products (SOP) calculation, convolution, Fast Fourier Transform (FFT), discrete Fourier transform (DFT), etc. are some of the operations performed by digital signal processors.
  • 41. RISC vs. CISC Processors/Controllers Aditya College of Engineering &Technology(A)
  • 42. RISC vs. CISC Processors/Controllers Aditya College of Engineering &Technology(A)
  • 43. Harvard Architecture Vs Von-Neumann Architecture Aditya College of Engineering &Technology(A)
  • 44. Big-Endian vs. Little Endian Processors/Controllers  Endianness refers to the way bytes are ordered when a data item with a size bigger than 1 byte (e.g. 32-bit variable) is placed in memory or transmitted over a communication interface.  Little-endian is an order in which the lower-order byte of the data is stored in memory at the lowest address and the higher order Byte at the HighestAddress.  Big-endian means the higher-order byte of the data is stored in memory at the lowest address, and the lower-order byte at the highest address. Visualization of a 32-bit data consisting of four bytes Aditya College of Engineering &Technology(A)
  • 45. Aditya College of Engineering &Technology(A) Little-endian vs big-endian format  The endianness does not have a big impact on the microprocessor hardware implementation.  As the endianness is relevant only on the operations that access data from the memory.
  • 46. Load Store Operation & Instruction Pipelining Aditya College of Engineering &Technology(A)
  • 47. Application Specific Integrated Circuit (ASIC) Aditya College of Engineering &Technology(A) A microchip designed to perform a specific or unique application. It is used as replacement to conventional general purpose logic chips.
  • 48. Programmable Logic Devices (PLDs) Aditya College of Engineering &Technology(A)  Logic devices provide specific functions, including device-to-device interfacing, data communication, signal processing, data display, timing and control operations, and almost every other function a system must perform.  Logic devices can be classified into two broad categories - Fixed and Programmable. The circuits in a fixed logic device are permanent, they perform one function or set of functions - once manufactured, they cannot be changed  Field Programmable Gate Arrays (FPGAs) and Complex Programmable Logic Devices (CPLDs) are the two major types of programmable logic devices
  • 49. Commercial off the Shelf Component (COTS) Aditya College of Engineering &Technology(A)  COTS products are designed in such a way to provide easy integration and interoperability with existing system components.  The major advantage of using COTS is that they are readily available in the market, cheap and a developer can cut down his/her development time to a great extend.
  • 50. MEMORY Aditya College of Engineering &Technology(A) Memory is an important part of an embedded system. The memory used in embedded system can be either Program Storage Memory (ROM) or Data memory (RAM) Certain Embedded processors/controllers contain built in program memory and data memory and this memory is known as on-chip memory Certain Embedded processors/controllers do not contain sufficient memory inside the chip and requires external memory called off-chip memory or external memory.
  • 51. Programme Storage Memory Aditya College of Engineering &Technology(A) Stores the program instructions. Retains its contents even after the power to it is turned off. It is generally known as Non volatile storage memory
  • 52. Read-Write Memory/Random Access Memory (RAM) Aditya College of Engineering &Technology(A)  The Random Access Memory (RAM) is the data memory or working memory of the controller/processor.  Controller/processor can read from it and write to it.  RAM is volatile, meaning when the power is turned off, all the contents are destroyed.
  • 53. SRAM DRAM Aditya College of Engineering &Technology(A)
  • 54. SRAM Vs DRAM Aditya College of Engineering &Technology(A)
  • 55. Sensors & Actuators Aditya College of Engineering &Technology(A)  Embedded system is in constant interaction with the real world.  Controlling/monitoring functions executed by the embedded system is achieved in accordance with the changes happening to the Real World.  The changes in the system environment or variables are detected by the sensors connected to the input port of the embedded system.  If the embedded system is designed for any controlling purpose, the system will produce some changes in controlling variable to bring the controlled variable to the desired value.  It is achieved through an actuator connected to the out port of the embedded system.
  • 56. Sensors Aditya College of Engineering &Technology(A)  A transducer device which converts energy from one form to another for any measurement or control purpose. Sensors acts as input device. Example: IR, humidity , PIR(passive infra red) , ultrasonic , piezoelectric , smoke sensors
  • 57. Actuator Aditya College of Engineering &Technology(A)  A form of transducer device (mechanical or electrical) which converts signals to corresponding physical action (motion). Actuator acts as an output device Example: Micro motor actuator which adjusts the position of the cushioning element in the Smart Running shoes from adidas
  • 58. I/O Subsystem Aditya College of Engineering &Technology(A)  The I/O subsystem of the embedded system facilitates the interaction of the embedded system with the external world.  The interaction happens through the sensors and actuators connected to the input and output ports respectively of the embedded system.  The sensors may not be directly interfaced to the input ports, instead they may be interfaced through signal conditioning and translating systems like ADC, optocouplers, etc.
  • 59.  Light Emitting Diode (LED)  7-Segment LED Display  Optocoupler  Stepper Motor  Relay  Piezo Buzzer  Push Button Switch  Keyboard Aditya College of Engineering &Technology(A)
  • 60. Light Emitting Diode (LED) Aditya College of Engineering &Technology(A)  LED is an important output device for visual indication in any embedded system. LED can be used as an indicator for the status of various signals or situations. Typical examples are indicating the presence of power conditions like ‘Device ON’, ‘Battery low’ or ‘Charging of battery’for a battery operated handheld embedded devices.  LED is a p-n junction diode and it contains an anode and a cathode. For proper functioning of the LED, the anode of it should be connected to +ve terminal of the supply voltage and cathode to the –ve terminal of the supply voltage. The current flowing through the LED must be limited to a value below the maximum current that it can conduct. A resistor is used in series between the power supply and the LED to limit the current through the LED.
  • 61. Figure. LED Interfacing Aditya College of Engineering &Technology(A)
  • 62. 7- Segment LED Display Aditya College of Engineering &Technology(A) • The 7-segment LED display is an output device for displaying alphanumeric characters. It contains 8 light-emitting diode (LED) segments arranged in a special form. Out of the 8 LED segments, 7 are used for displaying alphanumeric characters and 1 is used for representing ‘decimal point’ in decimal numberdisplay. • The LED segments are namedAto G and the decimal point LED segment is named as DP.
  • 63. Aditya College of Engineering &Technology(A)  The 7-segment LED displays are available in two different configurations, namely; Common Anode and Common Cathode. In the common anode configuration, the anodes of the 8 segments are connected commonly whereas in the common cathode configuration, the 8 LED segments share a common cathode line.
  • 64. Aditya College of Engineering &Technology(A) • 7-segment LED display is a popular choice for low cost embedded applications like, Public telephone call monitoring devices, point of sale terminals, etc.
  • 65. Optocoupler Figure.An optocouplerdevice Aditya College of Engineering &Technology(A) • Optocoupler is a solid state device to isolate two parts of a circuit. • Optocoupler combines an LED and a photo-transistor in a single housing (package). • Figure illustrates the functioning of an optocoupler device.
  • 66. • In Electronic circuits an optocoupler is used for suppressing interference data communication, circuit isolation, high voltage separation, simultaneous separation and signal intensification,etc. Optocouplers can be used in either input circuits or in output circuits. Figure illustrates the usage of optocoupler in input circuit and output circuit of an embedded system with a microcontroller as the system core. Aditya College of Engineering &Technology(A)
  • 67. Stepper Motor Aditya College of Engineering &Technology(A) Stepper motor is an electro mechanical device which generates discrete displacement (motion) in response to dc electrical signals It differs from the normal dc motor in its operation. The dc motor produces continuous rotation on applying dc voltage whereas a stepper motor produces discrete rotation in response to the dc voltage applied to it. Stepper motors are widely used in industrial embedded applications, consumer electronic products and robotics control systems. The paper feed mechanism of a printer/fax makes use of stepper motors for its functioning.
  • 68. RELAY Aditya College of Engineering &Technology(A) An electro mechanical device which acts as dynamic path selectors for signals and power. The “Relay‟ unit contains a relay coil made up of insulated wire on a metal core and a metal armature with one or more contacts. “Relay‟ works on electromagnetic principle. When a voltage is applied to the relay coil, current flows through the coil, which in turn generates a magnetic field.
  • 69. Piezo Buzzer Aditya College of Engineering &Technology(A) • It is a piezoelectric device for generating audio indications in embedded applications. • A Piezo buzzer contains a piezoelectric diaphragm which produces audible sound in response to the voltage applied to it. • Piezoelectric buzzers are available in two types: 1. Self-driving 2. External driving
  • 70. Push button switch Push Button switch is an input device. Push button switch comes in two configurations, namely “Push to Make and Push to Break. The switch is normally in the open state and it makes a circuit contact when it is pushed or pressed in the Push to Mak configuration. In the Push to Break configuration, the switch normally in the closed state and it breaks the circuit contact when it is pushed or pressed . The push button stays in the closed (For Push to Make type) or open (For Push to Break type) state as long as it is kept in the pushed state and it breaks/makes the circuit connection when it is released. Aditya College of Engineering &Technology(A)
  • 71. KEYBOARD Aditya College of Engineering &Technology(A)
  • 72. Communication Interface Aditya College of Engineering &Technology(A) • Communication interface is essential for communicating with various subsystems of the embedded system and with the external world. • The communication interface can be viewed in two different perspectives, namely: 1. Device/board level communication interface (Onboard Communication Interface) 2. Product level communication interface (External Communication Interface)
  • 73. Device/board level communication interface (Onboard Communication Interface) Aditya College of Engineering &Technology(A) • The communication channel which interconnects the various components within an embedded • Product is referred as Device/board level communication interface (Onboard Communication Interface) Examples: Serial interfaces like I2C, SPI, UART, 1-Wire and Parallel bus interface
  • 74. The “Product level communication interface‟ (External Communication Interface) is responsible for data transfer between the embedded system and other devices or modules. The external communication interface can be either wired media or wireless media and it can be a serial or parallel interface. Examples for wireless communication interface: Infrared (IR), Bluetooth (BT), Wireless LAN (Wi-Fi), Radio Frequency waves (RF), GPRS etc. Examples for wired interfaces: RS-232C/RS-422/RS 485, USB, Ethernet (TCP-IP), IEEE 1394 port, Parallel port etc. Product level communication interface (External Communication Interface) Aditya College of Engineering &Technology(A)
  • 75. Onboard Communication Interfaces Onboard Communication Interface refers to the different communication channels/buses for interconnecting the various integrated circuits and other peripherals within the embedded system. The various interfaces for onboard communication are as follows: i. Inter Integrated Circuit (I2C) Bus ii. Serial Peripheral Interface (SPI) Bus iii. UniversalAsynchronous Receiver Transmitter (UART) iv. 1-Wire Interface v. Parallel Interface Aditya College of Engineering &Technology(A)
  • 76. Inter Integrated Circuit (I2C) Bus Aditya College of Engineering &Technology(A)  The Inter Integrated Circuit Bus is a synchronous bi-directional half duplex two wire serial interface bus.  The I2C bus comprise of two bus lines, namely; Serial Clock-SCL and Serial Data-SDA.  SCL line is responsible for generating synchronization clock pulses and SDA is responsible for transmitting the serial data across devices.  Devices connected to the I2C bus can act as either ‘Master’device or ‘Slave’device.  The ‘Master’ device is responsible for controlling the communication by initiating/terminating data transfer, sending data and generating necessary synchronization clock pulses.  ‘Slave’ devices wait for the commands from the master and respond upon receiving the commands.  ‘Master’ and ‘Slave’ devices can act as either transmitter or receiver. I2C supports multi masters on the same bus.
  • 77. Aditya College of Engineering &Technology(A)
  • 78. Serial Peripheral Interface (SPI) Bus • The Serial Peripheral Interface Bus (SPI) is a synchronous bi-directional full duplex four wire serial interface bus. The concept of SPI is introduced by Motorola.SPI is a single master multi-slave system. • It is possible to have a system where more than one SPI device can be master, provided the condition only one master device is active at any given point of time, is satisfied. • SPI is used to send data between Microcontrollers and small peripherals such as shift registers, sensors, and SD cards. Aditya College of Engineering &Technology(A)
  • 79. Aditya College of Engineering &Technology(A) SPI requires four signal lines for communication. They are: Master Out Slave In (MOSI): Signal line carrying the data from master to slave device. It is also known as Slave Input/Slave Data In (SI/SDI) Master In Slave Out (MISO): Signal line carrying the data from slave to master device. It is also known as Slave Output (SO/SDO) Serial Clock (SCLK): Signal line carrying the clock signals Slave Select (SS): Signal line for slave device select. It is an active low signal.
  • 80. I2C V/S SPI Aditya College of Engineering &Technology(A)
  • 81. 1-wire interface (protocol) Aditya College of Engineering &Technology(A)  1-Wire interface is an asynchronous Half Duplex Communication Protocol developed by maxim Dallas Semi conductor .  It uses a single signal line called DQ for communication and follows the master slave communication Model.  One of the Key feature of 1-Wire bus is that it allows power to be sent along the signal wire.  The 1 wire interface supports single master and one or more slave devices on the bus.
  • 82. Parallel Interference Aditya College of Engineering &Technology(A)  In data transmission, parallel communication is a method of conveying multiple binary digits (bits) simultaneously.  The communication channel is the number of electrical conductors used at the physical layer to convey bits.  Parallel communication implies more than one such conductor.  For example, an 8-bit parallel channel will convey eight bits (or a byte) simultaneously, whereas a serial channel would convey those same bits sequentially, one at a time.  Parallel communication is always has been widely used within integrated circuits, in peripheral buses, and in memory devices such as RAM.
  • 83. Aditya College of Engineering &Technology(A)
  • 84. Universal Asynchronous Receiver Transmitter(UART) Aditya College of Engineering &Technology(A)  An asynchronous form of serial data transmission  Doesn’t require a clock signal to synchronize the transmitting end and receiving end for transmission  Relies upon predefined agreement between the transmitting device and receiving device  The start and stop of communication is indicated through inserting special bits in the data stream.  For proper communication the transmit line of the sending device should be connected to the receiving line of the receiving device
  • 85. Aditya College of Engineering &Technology(A)  The“Product level communication interface‟ (External Communication Interface) is responsible for data transfer between the embedded system and other devices or modules.  The external communication interface can be either wired media or wireless media and it can be a serial or parallel interface.  Wired communication interface: Wired communication interface is an interface used to transfer information over a wired network.  Examples for wired interfaces: RS-232C/RS-422/RS 485, USB, Ethernet (TCP-IP), IEEE 1394 port, Parallel port etc.  Wireless communication interface : Wireless communication interface is an interface used to transmission of information over a distance without help of wires, cables or any other forms of electrical conductors.  Examples for wireless communication interface: Infrared (IR), Bluetooth (BT), Wireless LAN (Wi-Fi), Radio Frequency waves (RF), GPRS etc. Product level communication interface (External Communication Interface) Aditya College of Engineering &Technology(A)
  • 86. RS-232C/RS-422/RS 485 RS-232 C (Recommended Standard number 232, revision C from the Electronic Industry Association) is a legacy, full duplex, wired, asynchronous serial communication interface RS-232 extends the UART communication signals for external data communication. UART uses the standard TTL/CMOS logic (Logic "High" corresponds to bit value 1 and Logic "LOW" corresponds to bit value 0) for bit transmission whereas RS232 use the EIAstandard for bit transmission. As per EIA standard, a logic "0" is represented with voltage between +3 and +25V and a logic " 1" is represented with voltage between -3 and -25V. In EIAstandard, logic "0" is known as "Space" and logic "1" as "Mark". The RS232 interface define various handshaking and control signals for communication apart from the "Transmit" and "Receive" signal lines for data communication Aditya College of Engineering &Technology(A)
  • 87. RS-232 supports two different types of connectors, namely; DB-9: 9-Pin connector and DB-25: 25-Pinconnector. DB-9 Aditya College of Engineering &Technology(A) DB-25
  • 88. Universal Serial Bus (USB) Aditya College of Engineering &Technology(A) • The easiest way to connect computer peripherals is through a Universal Serial Bus (USB). • The USB is a plug-and-play interface between the PC and the peripherals. • USB is the short form of Universal Serial Bus, a standard port that helps to connect computer peripherals like scanner, printer, digital camera, flash drive and more to the Computer. • The USB standard supports the data transfer at the rate of 12 Mbps. • USB 2.0 has a maximum signaling rate of 480 Mbit/s and USB 3.0 has a usable data rate of up to 4 Gbit/s (500 MB/s).
  • 89. Aditya College of Engineering &Technology(A) Universal Serial Bus (USB) is a wired high speed serial bus for data communication. The USB host can support connections up to 127, including slave peripheral devices and other USB hosts USB Hub The USB Hub is used to connect many devices to the PC using a single USB connector. The hub can detect the attachment or detachment of devices in each port of the Hub. It also distributes power to all the devices connected to it and also detects low speed and full speed devices. Universal Serial Bus (USB) Aditya College of Engineering &Technology(A)
  • 90. IEEE 1394 (Firewire) IEEE 1394 is an interface standard for a serial bus for high-speed communications and isochronous real- time data transfer. It was developed in the late 1980s and early 1990s by Apple in cooperation with a number of companies, primarily Sony and Panasonic. IEEE 1394 is a popular communication interface for connecting embedded devices like Digital Camera, Camcorder, Scanners to desktop computers for data transfer and storage. Aditya College of Engineering &Technology(A) Transmission Type Definition Example Synchronous Continuous and synchronized timing of data Synchronous Optical Networking (SONET), Synchronous Digital Hierarchy (SDH) Asynchronous Independent timing of individual characters RS-232 serial communication standard Isochronous Constant and predictable timing for real- time Audio and video streaming, IEEE 1394 (FireWire), USB isochronous transfer
  • 91. Infrared Data Association (IrDA) Aditya College of Engineering &Technology(A)  A serial, half duplex, line of sight based wireless technology for data communication between devices  Infrared communication technique makes use of Infrared waves of the electromagnetic spectrum for transmitting the data  IrDA supports point-point and point-to-multipoint communication, provided all devices involved in the communication are within the line of sight  The typical communication range for IrDA lies in the range 10cm to 1 m  IR supports data rates ranging from 9600bits/second to 16Mbps.
  • 92. Aditya College of Engineering &Technology(A) Infrared Data Association (IrDA) Depending on the speed of data transmission IR is classified into Serial IR (SIR), Medium IR (MIR), Fast IR (FIR), Very Fast IR (VFIR) and Ultra Fast IR (UFIR) SIR supports transmission rates ranging from 9600bps to 115.2kbps. MIR supports data rates of 0.576Mbps and 1.152Mbps. FIR supports data rates up to 4Mbps. VFIR is designed to support high data rates up to 16Mbps. The UFIR specs are under development and it is targeting a data rate up to 100Mbps IrDA communication involves a transmitter unit for transmitting the data over IR and a receiver for receiving the data. Infrared Light Emitting Diode (LED) is used as the IR source for transmitter and at the receiving end a photodiode is used as the receiver
  • 93. Bluetooth (BT)  Bluetooth is a low cost, low power, short range wireless technology for data and voice communication. Bluetooth supports point-to-point (device to device) and point-to-multipoint (device to multiple device broadcasting) wireless communication. Introduced on 7 May 1998 , Developed by Bluetooth Special Interest Group.  A Bluetooth device can function as either master or slave. When a network is formed with one Bluetooth device as master and more than one device as slaves, it is called a Piconet. A Piconet supports a maximum of seven slave devices.  Bluetooth is the favorite choice for short range data communication in handheld embedded devices. Bluetooth technology is very popular among cell phone users as they are the easiest communication channel for transferring ringtones, music files, pictures, media files, etc between neighboring Bluetooth enabled phones.  It supports a data rate of up to 1 Mbps and a range of approximately 30 feet for data communication with a frequency of 2.45 GHz. In the most widely used mode, transmission power is limited to 2.5 milliwatts. Aditya College of Engineering &Technology(A)
  • 94. Wi-Fi Wi-Fi or Wireless Fidelity is the popular wireless communication technique for networked communication of devices. Wi-Fi is intended for network communication and it supports Internet Protocol (IP) based communication. It is essential to have device identities in a multipoint communication to address specific devices for data communication. Wi-Fi based communications require an intermediate agent called Wi-Fi router/Wireless access point to manage the communications. Wi-Fi supports data rates ranging from 1 Mbps to 150 Mbps and offers a range of 100 to 300 feet. Aditya College of Engineering &Technology(A)
  • 95. ZigBee Aditya College of Engineering &Technology(A)  ZigBee is a low power, low cost, wireless network communication protocol based on the IEEE 802.15.4- 2006 standard.  ZigBee is targeted for low power, low data rate and secure applications for Wireless Personal Area Networking (WPAN).  ZigBee operates worldwide at the unlicensed bands of Radio spectrum, mainly at 2.400 to 2.484 GHz, 902 to 928 MHz and 868.0 to 868.6MHz.  ZigBee supports an operating distance of up to 100 meters and a data rate of 20 to 250Kbps.  ZigBee is primarily targeting application areas like Home & Industrial Automation, Energy Management, Home control/security, Medical/Patient tracking
  • 96. ZigBee device categories are as follows:  ZigBee Coordinator (ZC)/Network Coordinator: The ZigBee coordinator acts as the root of the ZigBee network. The ZC is responsible for initiating the ZigBee network and it has the capability to store information about the network.  ZigBee Router (ZR)/Full Function Device (FFD): Responsible for passing information from device to another device or to another ZR.  ZigBee End Device (ZED)/Reduced Function Device (RFD): End device containing ZigBee functionality for data communication. Aditya College of Engineering &Technology(A)
  • 97. General Packet Radio Service (GPRS)  GPRS is a communication technique for transferring data over a mobile communication network like GSM.  Data is sent as packets. The transmitting device splits the data into several related packets. At the receiving end the data is re-constructed by combining the received data packets  GPRS supports a theoretical maximum transfer rate of 17.2 kbps.  The GPRS communication divides the channel into 8 timeslots and transmits data over the available channel.  GPRS is mainly used by mobile enabled embedded devices for data communication. The device should support the necessary GPRS hardware like GPRS modem and GPRS radio.  GPRS is an old technology and it is being replaced by new generation data communication techniques like EDGE, High Speed Downlink Packet Access (HSDPA). Aditya College of Engineering &Technology(A)
  • 98. Aditya College of Engineering &Technology(A)  Embedded firmware refers to software that is specifically developed to control and manage the functionality of embedded systems.  Embedded firmware is stored in non-volatile memory within the embedded system and is responsible for controlling the hardware components and ensuring that the system performs its intended tasks.  Purpose: Embedded firmware is designed to control the behavior of the hardware in an embedded system. It provides the necessary instructions for the system to execute its functions, interact with external devices, and respond to inputs.  Stability: Embedded firmware must be stable and reliable, as embedded systems often operate in critical applications where failures can have significant consequences. Examples: •Microcontrollers: In devices like washing machines, microwave ovens, and automotive control systems, embedded firmware is used to control the operation of microcontrollers that manage the various functions of the device. •Consumer Electronics: Smart TVs, digital cameras, and routers rely on embedded firmware to control their functionality. Embedded Firmware
  • 99. Aditya College of Engineering &Technology(A) Embedded Firmware Update: Development Tools: Programmers use specialized integrated development environments (IDEs) and toolchains to write, compile, and debug embedded firmware. These tools are custom-made to the specific architecture and hardware of the embedded system. Updating Firmware: In some cases, embedded firmware can be updated, either to fix bugs, add new features, or improve performance. This process is often known as firmware updates or firmware upgrades. Embedded Firmware
  • 100. Characteristics of Embedded systems Aditya College of Engineering &Technology(A) 1.Application and domain specific. 2.Reactive and Real Time. 3.Operates in harsh environments. 4.Distributed. 5.Small Size and weight. 6.Power concerns.
  • 101. Aditya College of Engineering &Technology(A) Characteristics of Embedded systems 1. Application and Domain specific • An embedded system is designed for a specific purpose only. It will not do any other task. • Ex. A washing machine can only wash, it cannot cook. • Certain embedded systems are specific to a domain: Ex. A hearing aid is an application that belongs to the domain of signal processing. 2. Reactive and Real time • Certain Embedded systems are designed to react to the events that occur in the nearby environment. These events also occur real-time. • Ex. An air conditioner adjusts its mechanical parts as soon as it gets a signal from its sensors to increase or decrease the temperature when the user operates it using a remote control. • An embedded system uses Sensors to take inputs and has actuators to bring out the required functionality.
  • 102. Aditya College of Engineering &Technology(A) Characteristics of Embedded systems 3. Operation in harsh environment • Certain embedded systems are designed to operate in harsh environments like very high temperature of the deserts or very low temperature of the mountains or extreme rains. • These embedded systems have to be capable of sustaining the environmental conditions it is designed to operate in. 4. Distributed • Certain embedded systems are part of a larger system and thus form components of a distributed system. • These components are independent of each other but have to work together for the larger system to function properly. • Ex. A car has many embedded systems controlled to its dash board. Each one is an independent embedded system yet the entire car can be said to function properly only if all the systems work together.
  • 103. Aditya College of Engineering &Technology(A) Characteristics of Embedded systems 5. Small size and weight • An embedded system that is compact in size and has light weight will be desirable or more popular than one that is bulky and heavy. • Ex. Currently available cell phones. The cell phones that have the maximum features are popular but also their size and weight is an important characteristic. • For convenience users prefer mobile phones than phablets.(phone + tablet pc) 6. Power concerns • It is desirable that the power utilization and heat dissipation of any embedded system be low. • If more heat is dissipated then additional units like heat sinks or cooling fans need to be added to the circuit. • If more power is required then a battery of higher power or more batteries need to be accommodated in the embedded system.
  • 104. Quality Attributes of Embedded Systems These are the attributes that together form the deciding factor about the quality of an embedded system. There are two types of quality attributes are: 1. Operational QualityAttributes  These are attributes related to operation or functioning of an embedded system. The way an embedded system operates affects its overall quality. 2. Non-Operational QualityAttributes  These are attributes not related to operation or functioning of an embedded system. The way an embedded system operates affects its overall quality.  These are the attributes that are associated with the embedded system before it can be put in operation. Aditya College of Engineering &Technology(A)
  • 105. Operational Quality Attributes Aditya College of Engineering &Technology(A) The operational quality attributes represent the relevant quality attributes related to the embedded system when it is in the operational mode or ‘online’ mode. The important quality attributes coming under this category are listed below: a. Response b. Throughput c. Reliability d. Maintainability e. Security f. Safety
  • 106. Aditya College of Engineering &Technology(A) Operational Quality Attributes a) Response • Response is a measure of quickness of the system. • It gives you an idea about how fast your system is tracking the input variables. • Most of the embedded system demand fast response which should be real-time. b) Throughput • Throughput deals with the efficiency of system. • It can be defined as rate of production or process of a defined process over a stated period of time. c) Reliability • Reliability is a measure of how much percentage you rely upon the proper functioning of the system . • Mean Time between failures and Mean Time To Repair are terms used in defining system reliability. • Mean Time between failures can be defined as the average time the system is functioning before a failure occurs. • Mean time to repair can be defined as the average time the system has spent in repairs.
  • 107. Aditya College of Engineering &Technology(A) Operational Quality Attributes d) Maintainability Maintainability deals with support and maintenance to the end user or a client in case of technical issues and product failures or on the basis of a routine system checkup. It can be classified into two types:- 1. Scheduled or Periodic Maintenance • This is the maintenance that is required regularly after a periodic time interval. Example: Periodic Cleaning of Air Conditioners, Refilling of printer cartridges. 2. Maintenance to unexpected failure • This involves the maintenance due to a sudden breakdown in the functioning of the system. Example: 1. Air conditioner not powering on 2. Printer not taking paper in spite of a full paper stack
  • 108. Aditya College of Engineering &Technology(A) Operational Quality Attributes e) Security • Confidentiality, Integrity and Availability are three corner stone’s of information security. • Confidentiality deals with protection data from unauthorized disclosure. • Integrity gives protection from unauthorized modification. • Availability gives protection from unauthorized user • Certain Embedded systems have to make sure they conform to the security measures. Ex. An Electronic Safety Deposit Locker can be used only with a pin number like a password. f) Safety • Safety deals with the possible damage that can happen to the operating person and environment due to the breakdown of an embedded system or due to the emission of hazardous materials from the embedded products. • A safety analysis is a must in product engineering to evaluate the anticipated damage and determine the best course of action to bring down the consequence of damages to an acceptable level.
  • 109. Non Operational Attributes Aditya College of Engineering &Technology(A)  These are attributes not related to operation or functioning of an embedded system.  The way an embedded system operates affects its overall quality.  These are the attributes that are associated with the embedded system before it can be put in operation.  The important quality attributes coming under this category are listed below: a. Testability & Debuggability b. Evolvability c. Portability d. Time to prototype and market e. Per unit and total cost
  • 110. Aditya College of Engineering &Technology(A) Non Operational Attributes Aditya College of Engineering &Technology(A) a) Testability and Debug ability • It deals with how easily one can test his/her design, application and by which mean he/she can test it. • In hardware testing the peripherals and total hardware function in designed manner • Firmware testing is functioning in expected way • Debug ability is means of debugging the product as such for figuring out the probable sources that create unexpected behavior in the total system b) Evolvability • For embedded system, the qualitative attribute “Evolvability” refers to ease with which the embedded product can be modified to take advantage of new firmware or hardware technology c) Portability • Portability is measured of “system Independence”. • An embedded product can be called portable if it is capable of performing its operation as it is intended to do in various environments irrespective of different processor and or controller and embedded operating systems.
  • 111. Aditya College of Engineering &Technology(A) Non Operational Attributes Aditya College of Engineering &Technology(A) d) Time to prototype and market • Time to Market is the time elapsed between the conceptualization of a product and time at which the product is ready for selling or use. • Product prototyping help in reducing time to market. • Prototyping is an informal kind of rapid product development in which important feature of the under consider are develop. • In order to shorten the time to prototype, make use of all possible option like use of reuse, off the self component etc. e) Per unit and total cost. • Cost is an important factor which needs to be carefully monitored. Proper market study and cost benefit analysis should be carried out before taking decision on the per unit cost of the embedded product. • When the product is introduced in the market, for the initial period the sales and revenue will be low. • There won’t be much competition when the product sales and revenue increase. • During the maturing phase, the growth will be steady and revenue reaches highest point and at retirement time there will be a drop in sales volume.
  • 112. Aditya College of Engineering &Technology(A)
  • 113. Washing Machine-Application-Specific Embedded System  Washing Machine is a typical example of an embedded system providing extensive support in home automation applications.  An embedded system contains sensors, actuators, control unit and application-specific user interfaces like keyboards, display units, etc.  You can see all these components in a washing machine if you have a closer look at it. Some of them are visible and some of them may be invisible to you.
  • 114.  The actuator part of washing machine consists of a motorized agitator, tumble tub, water drawing pump and inlet valve to control the flow of water into the unit.  The sensor part consists of the water temperature sensor, level sensor, etc.  The control part contains a microprocessor/controller based board with interfaces to the sensors and actuators.  The sensor data is fed back to the control unit and the control unit generates the necessary actuator outputs.  The control unit also provides connectivity to user interfaces like keypad for setting the washing time, selecting the type of material to be washed like light, medium, heavy duty, etc.  User feedback is reflected through the display unit and LEDs connected to the control board. Aditya College of Engineering &Technology(A)
  • 115. Aditya College of Engineering &Technology(A) Figure: Washing Machine
  • 116.  The integrated control panel consists of a microprocessor/controller based board with I/O interfaces and a control algorithm running in it.  Input interface includes the keyboard which consists of wash type selector namely Wash, Spin and Rinse, cloth type selector namely Light, Medium, Heavy duty and washing time setting, etc.  The output interface consists of LED/LCD displays, status indication LEDs, etc. connected to the I/O bus of the controller.  It is to be noted that this interface may vary from manufacturer to manufacturer and model to model.  The other types of I/O interfaces which are invisible to the end user are different kinds of sensor interfaces, namely, water temperature sensor, water level sensor, etc. and actuator interface including motor control for agitator and tub movement control, inlet water flow control, etc. Aditya College of Engineering &Technology(A)
  • 117. Automotive-Domain-Specific Examples of Embedded System The major application domains of embedded systems are consumer, industrial, automotive, telecom, etc. of which telecom and automotive industry holds a big market share. Aditya College of Engineering &Technology(A)
  • 118. Aditya College of Engineering &Technology(A) Automotive Embedded System (AES)  The Automotive industry is one of the major application domains of embedded systems.  Automotive embedded systems are the one where electronics take control over the mechanical system. Ex. Simple viper control.  The number of embedded controllers in a normal vehicle varies somewhere between 20 to 40 and can easily be between 75 to 100 for more sophisticated vehicles  One of the first and very popular uses of embedded system in automotive industry was microprocessor based fuel injection.  AES are normally built around microcontrollers or DSPs or a hybrid of the two and are generally known as Electronic Control Units (ECUs).
  • 119. Aditya College of Engineering &Technology(A) Types of Electronic Control Units (ECU) 1. High-speed Electronic Control Units (HECUs) a. HECUs are deployed in critical control units requiring fast response. b. They Include fuel injection systems, antilock brake systems, engine control, electronic throttle, steering controls, transmission control and central control units. 2. Low Speed Electronic Control Units (LECUs) a. They are deployed in applications where response time is not so critical. b. They are built around low cost microprocessors and microcontrollers and digital signal processors. c. Audio controller, passenger and driver door locks, door glass control etc.
  • 120. Automotive Communication Buses Aditya College of Engineering &Technology(A)  Embedded system used inside an automobile communicates with each other using serial buses. This reduces the wiring required.  Following are the different types of serial Interfaces used in automotive embedded applications: a. Controller Area Network (CAN) b. Local Interconnect Network (LIN) c. Media-Oriented System Transport (MOST)
  • 121. Aditya College of Engineering &Technology(A) a. Controller Area Network (CAN): • CAN bus was originally proposed by Robert Bosch. • It supports medium speed and high speed data transfer • CAN is an event driven protocol interface with support for error handling in data transmission. b. Local Interconnect Network (LIN): • LIN bus is single master multiple slave communication interface with support for data rates up to 20 Kbps and is used for sensor/actuator interfacing • LIN bus follows the master communication triggering to eliminate the bus arbitration problem • LIN bus applications are mirror controls , fan controls , seat positioning controls. c. Media-Oriented System Transport (MOST): • MOST is targeted for automotive audio/video equipment interfacing • A MOST bus is a multimedia fiber optics point–to point network implemented in a star, ring or daisy chained topology over optical fiber cables.
  • 122. Aditya College of Engineering &Technology(A)