MODULE 3 Embedded Systems Sensors and Interfacing Actuators Communcation Interface
MODULE 3 Embedded Systems Sensors and Interfacing Actuators Communcation Interface
Response requirements are not time For certain category of embedded systems
critical like mission critical systems, the response
time requirement is highly critical
Need not be deterministic in execution Execution behavior is deterministic for
behavior certain type of embedded systems like
‘Hard Real Time’ systems
24-02-2022 Department of Electronics and Communication Engineering 5
Classification
of Embedded
Systems
24-02-2022 Department of Electronics and Communication Engineering 6
Classification of Embedded Systems
Based on Generation
Second Fourth
First Generation Third Generation
Generation Generation
Second Generation
• built around 16 bit microprocessors. 8 bit and 16 bit microcontrollers. More
complex and powerful
Data Acquisition systems, SCADA systems
Elements of an
Firmware
Memory
Embedded
Communication Interface
Systems
System
I/p Ports Core O/p Ports
(Sensors)
(Actuators)
Other supporting
Integrated Circuits &
subsystems
Embedded System
Real World
24-02-2022 Department of Electronics and Communication Engineering 15
General Purpose and Domain Specific Processors
• Microprocessors
Core of the
Embedded
• Microcontrollers
System
❖ A smaller computer
CPU RAM ROM ❖ On-chip RAM, ROM, I/O ports...
A single chip ❖ Example : Motorola’s 6811,
I/O
Serial Intel’s 8051, Zilog’s Z8 and PIC
Timer COM
Port
Port
16X
• Limited power saving options compared to • Contains multiple built in I/O ports
microcontrollers • Includes lot of power saving features
The physical quantity to be measured (e.g. temperature) acts upon a sensor that produces an electrical output
signal.
24-02-2022 Department of Electronics and Communication Engineering 28
Instrumentation and Control Systems cont.,
This signal is an electrical analogue of the physical input but
▪ there may not be a linear relationship between the physical quantity and its
electrical equivalent.
▪ Also, the output produced by the sensor may be small or may suffer from the
presence of noise (i.e. unwanted signals)
further signal conditioning will be required before
▪ the signal will be at an acceptable level and in an acceptable form
▪ for signal processing, display and recording.
the signal processing may use digital rather than analogue signals
▪an additional stage of analogue-to-analogue conversion may be required.
➢Transducers may be used both as inputs to electronic circuits & outputs from them.
➢ a loudspeaker is an output transducer designed for use in conjunction with an audio system.
➢ A microphone is an input transducer designed for use with a recording or sound reinforcing system.
24-02-2022 Department of Electronics and Communication Engineering 32
24-02-2022 Department of Electronics and Communication Engineering 33
Some Examples of Input Transducers
Physical quantity: Sound (pressure change)
Input transducer: Dynamic microphone
Diaphragm attached to a coil is suspended in
a magnetic field.
Movement of the diaphragm causes current
to be induced in the coil.
❖The signals returned from a sensor, together with control inputs from the user or
controller (as appropriate) will subsequently be used to determine the output from the
system.
Linear track potentiometer with linear law produces analogue voltage proportional
to linear position. Limited linear range.
Input transducer: Linear Variable Differential Transformer (LVDT)
Miniature transformer with split secondary windings and moving core attached to a
plunger. Requires a.c. excitation and phase-sensitive detector.
Input transducer: Magnetic linear position sensor
Relay Coil
Relay Coil
Relay Coil
selectors for signals and power
❖The ‘Relay’ unit contains a relay Single Pole Single Single Pole Single Single Pole Double
Throw Normally Throw Normally Throw
coil made up of insulated wire on a Open Closed
Freewheeling Diode
driver circuit connected to the port pin of the
processor/controller
✓A transistor can be used as the relay driver. The
Relay Coil
Load
transistor can be selected depending on the Port Pin
relay driving current requirements
✓A free-wheeling diode – to protect the relay & Relay Unit
₰ Serial interfaces like I2C, SPI, UART, 1-Wire etc and Parallel bus
interface are examples of ‘Onboard Communication Interface’
D0 to Data Bus
Dx-1 Peripheral Device
RD\ RD\ (Eg: ADC)
WR\ WR\
Host Control Signals CS\
(Microprocessor/
Controller) Chip Select
Device 1
Device 2 Device 3