Module 4 ELN
Module 4 ELN
Module 4 ELN
Firmware
Specific Task
0
3
0
4
Definition, Embedded systems vs general computing systems, Classification of
Embedded Systems, Major application areas of Embedded Systems, Elements of an
Embedded System, Core of the Embedded System, Microprocessor vs Microcontroller,
RISC vs CISC.
0
5
Shibu K V Mike Tooley
Tata McGraw Hill Elsevier
Education Private 4th Edition,
Limited 2nd Edition, 2015
2017
6
Introducti
on
Shrishail Bhat, Dept. of ECE, AITM Bhatkal 6
What is an Embedded
•System?
An embedded system is an electronic/electro-mechanical
system designed to perform a specific function and is a
combination of both hardware and firmware
(software).
• Every embedded system is unique and the hardware as
well as the firmware is highly specialised to the application
domain.
Contains a General Purpose Operating System (GPOS) May or may not contain an operating system for
functioning
Applications are alterable (programmable) by the user (It The firmware of the embedded system is pre-programmed
is possible for the end user to re-install the operating and it is non-alterable by the end-user (There may be
system, and also add or remove user applications) exceptions for system supporting OS kernel image flashing
through special hardware settings)
Performance is the key deciding factor in the selection of Application-specific requirements (like performance,
the system. Always, ‘Faster is Better’ power requirements, memory usage, etc.) are the key
deciding factors
Less/not at all tailored towards reduced operating power Highly tailored to take advantage of the power saving
requirements, options for different levels of power modes supported by the hardware and the operating
management system
Response requirements are not time-critical For certain category of embedded systems like mission
critical systems, the response time requirement is highly
critical
Need not be deterministic in execution behaviour Execution behaviour is deterministic for certain types of
embedded systems like ‘Hard Real Time’ systems
It is a dependent unit. It requires the combination of other chips It is a self-contained unit and it doesn't require external interrupt
like timers, program and data memory chips, interrupt controllers, controller, timer, UART, etc. for its functioning
etc. for functioning
Most of the time, general purpose in design and operation Mostly application-oriented or domain-specific
Doesn't contain a built in I/O port. The I/O port functionality needs Most of the processors contain multiple built-in I/O ports which
to be implemented with the help of external programmable can be operated as a single 8 or 16 or 32 bit port or as individual
peripheral interface chips like 8255 port pins
Targeted for high end market where performance is important Targeted for embedded market where performance is not so
critical
Limited power saving options compared to microcontrollers Includes lot of power saving features
Instruction pipelining and increased execution speed Generally no instruction pipelining feature
Orthogonal instruction set (Allows each instruction to operate on Non-orthogonal instruction set (All instructions are not allowed to
any register and use any addressing mode) operate on any register and use any addressing mode. It is
instruction-specific)
Operations are performed on registers only, the only memory Operations are performed on registers or memory depending on the
operations are load and store instruction
A large number of registers are available Limited number of general purpose registers
Programmer needs to write more code to execute a task since the Instructions are like macros in C language. A programmer can
instructions are simpler ones achieve the desired functionality with a single instruction which in
turn provides the effect of using more simpler single instructions in
RISC
Less silicon usage and pin count More silicon usage since more additional decoder logic is required
to implement the complex instruction decoding
Temperature Thermocouple Small e.m.f. generated at the junction between two dissimilar metals
(e.g. copper and constantan). Requires reference junction and
compensated cables for accurate measurement.
Angular position Rotary potentiometer Fine wire resistive element is wound around a circular former. Slider
attached to the control shaft makes contact with the resistive
element. A stable d.c. voltage source is connected across the ends of
the potentiometer. Voltage appearing at the slider will then be
proportional to angular position.
Temperature Heating element (resistor) Metallic conductor is wound onto a ceramic or mica former. Current
flowing in the conductor produces heat.
Angular position Rotary potentiometer Multi-phase motor provides precise rotation in discrete steps of 15°
(24 steps per revolution), 7.5° (48 steps per revolution) and 1.8° (200
steps per revolution).
Optical shaft encoder Encoded disk interposed between optical transmitter and receiver
(infrared LED and photodiode or photo-transistor).
Angular velocity Tachogenerator Small d.c. generator with linear output characteristic. Analogue
output voltage proportional to shaft speed.
Toothed rotor tachometer Magnetic pick-up responds to the movement of a toothed ferrous
disk. The pulse repetition frequency of the output is proportional to
the angular velocity.
Flow Rotating vane flow sensor Turbine rotor driven by fluid. Turbine interrupts infra-red beam. Pulse
repetition frequency of output is proportional to flow rate.
Linear variable differential Miniature transformer with split secondary windings and moving
transformer (LVDT) core attached to a plunger. Requires a.c. excitation and phase-
sensitive detector.
Magnetic linear position Magnetic pick-up responds to movement of a toothed ferrous track.
sensor Pulses are counted as the sensor moves along the track.
Capacitive proximity Switching device which operates when a particular level is detected.
switch Ineffective with some liquids.
Diffuse scan proximity Switching device which operates when a particular level is detected.
switch Ineffective with some liquids.
Inductive proximity switch Target object modifies magnetic field generated by the sensor. Only
suitable for metals (non-ferrous metals with reduced sensitivity).
Capacitive proximity Target object modifies electric field generated by the sensor. Suitable
switch for metals, plastics, wood and some liquids and powders.
Optical proximity switch Available in diffuse and through scan types. Diffuse scan types
require reflective targets. Both types employ optical transmitters and
receivers (usually infra-red emitting LEDs and photo-diodes or photo-
transistors). Digital input port required.
Vibration Electromagnetic vibration Permanent magnet seismic mass suspended by springs within a
sensor cylindrical coil. The frequency and amplitude of the analogue output
voltage are respectively proportional to the frequency and amplitude
of vibration.