Module 1-1
Module 1-1
System
• A system is a unit where all its component
assembles and work together according to the
program or plan or fixed rules.
Definitions
• 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)
Monitoring
• Sensors are connected to the input port for capturing the changes in
environmental variable or measuring variable.
• The actuators connected to the output port are controlled according to the
changes in input variable to put an impact on the controlling variable to bring
the controlled variable to the specified range.
• Air conditioner for controlling room temperature is a
typical example for embedded system with “Control”
functionality.
• Air conditioner contains a room temperature sensing
element (sensor) which may be a thermistor and a
handheld unit for setting up (feeding) the desired
temperature
• The air compressor unit acts as the actuator. The
compressor is controlled according to the current room
temperature and the desired temperature set by the
end user.
Application Specific User Interface
• Banking & Retail: Automatic Teller Machines (ATM) and Currency counters,
Point of Sales (POS)
• Card Readers: Barcode, Smart Card Readers, Hand held Devices etc.
Building Blocks of a Typical Embedded
System
• An embedded system is a combination of 3
things, Hardware Software Mechanical
Components and it is supposed to do one
specific task only.
• A typical embedded system contains a single
chip controller which acts as the master brain
of the system.
• Embedded systems are basically designed to
regulate a physical variable or to manipulate the
state of some devices by sending some signals
to the actuators or devices connected to the
output port system, in response to the input
signal provided by the end users or sensors
which are connected to the input ports.
• Hence the embedded systems can be viewed as
a reactive system.
• The control is achieved by processing the
information coming from the sensors and user
interfaces and controlling some actuators that
regulate the physical variable.
• Keyboards, push button, switches, etc. are
Examples of common user interface input devices.
• LEDs, LCDs, Piezoelectric buzzers, etc examples for
common user interface output devices for a typical
embedded system.
• The core of the system performs some
predefined operations on input data with the
help of embedded firmware in the system and
sends some actuating signals to the actuator
connected to the output port of the system.
• The memory of the system is responsible for
holding the code (control algorithm and other
important configuration details).
• There are two types of memories are used in
any embedded system.
• Fixed memory (ROM) is used for storing code
or program.
• The user cannot change the firmware in this
type of memory.
• The most common types of memories used in
embedded systems for control algorithm
storage are PROM , EEPROM, UVEPROM and
FLASH.
• An embedded system without code (i.e. the control
algorithm) implemented memory has all the
peripherals but is not capable of making decisions
depending on the situational as well as real world
changes.
• In a controller based embedded system, the
controller may contain internal memory for storing
code such controllers are called Micro-controllers
with on-chip ROM.
• eg. Atmel AT89C51.
The Core of the Embedded Systems
• : The core of the embedded system falls into any
one of the following categories.
General Purpose and Domain Specific Processors
• Microprocessors
• Microcontrollers
• Digital Signal Processors
Programmable Logic Devices (PLDs)
Application Specific Integrated Circuits (ASICs)
Commercial off the shelf Components (COTS)
GENERAL PURPOSE AND DOMAIN
SPECIFIC PROCESSOR
• In general the CPU contains the Arithmetic and Logic Unit (ALU),
Control Unit and Working registers.
• Intel claims the credit for developing the first Microprocessor unit Intel
4004, a 4 bit processor which was released in Nov 1971.
Microcontroller
• ASIPs fill the architectural spectrum between General Purpose Processors and
Application Specific Integrated Circuits (ASICs)
• The need for an ASIP arises when the traditional general purpose processor are
unable to meet the increasing application needs
• Some Microcontrollers (like Automotive AVR, USB AVR from Atmel), System on
Chips, Digital Signal Processors etc are examples of Application Specific Instruction
Set Processors (ASIPs).
• Digital Signal Processors are 2 to 3 times faster than the general purpose
microprocessors in signal processing applications
• 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.
• Fuses which are not blown/burned represents a logic “1” where as fuses
which are blown/burned represents a logic “0”.The default state is logic “1”.
• OTP is widely used for commercial production
of embedded systems whose proto-typed
versions are proven and the code is finalized.
• It is a low cost solution for commercial
production.