Module 4 Embeded System
Module 4 Embeded System
Embedded Systems –
Definition
Embedded systems vs general computing systems
Classification of Embedded Systems
Major application areas of Embedded Systems
Elements of an Embedded System
Core of the Embedded System
Microprocessor vs Microcontroller
RISC vs CISC
General-Purpose Systems
Embedded Systems
Embedded systems are built to have very close control over the
hardware using firmware, which is a type of software used for this
purpose. Assembly language is often used to develop firmware, as it
provides direct control over specific hardware components.
Most embedded systems solely run the firmware added to the device
by the manufacturer. However, some devices can have their
firmware updated by the user.
Types of Embedded Systems
Digital watches
Washing Machine
Toys
Televisions
Digital phones
Laser Printer
Cameras
Industrial machines
Electronic Calculators
Automobiles
Medical Equipment
DEFINITION
An embedded system is a microcontroller or microprocessor based system which is designed to perform a
specific task in combination of both hardware and software.
E.g. Electronic Toys, Mobile Handsets, Washing Machines, Air Conditioners, Automotive Control Units, Set
Top Box, DVD Player etc…
Firmware: programming instructions, referred to as firmware, are stored in read-only memory (ROM).
Consumer Electronics:
Cam-corders, Digital Cameras, Laptop, CCTV 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.
Computer Peripherals:
Printers, Scanners, Fax machines etc.
Computer Networking Systems:
Network Routers, Switches, Hubs, Firewalls etc.
Health Care:
X-ray, Scanners, EEG, ECG, BP monitor, pulse monitor etc.
Measurement & Instrumentation:
Digital multi meters, Digital CROs, Logic Analyzers PLC systems etc.
Banking & Retail:
Automatic Teller Machines (ATM) and Currency counters,
Card Readers:
Barcode, Smart Card Readers, Hand held Devices etc.
Microprocessor Microcontroller
Consists of a CPU, performs Arithmetic and Highly integrated chip contains CPU, RAM, onchip
Logical operations ROM/flash memory, I/O ports
Ex: Intel 8086 microprocessor Ex: Intel 8051 microcontroller
RISC CISC
Reduced Instruction Set Computer. Complex Instruction Set Computer.
Software centric design. Hardware centric design.
Low power consumption. High power consumption.
Requires more RAM Requires a minimum amount of RAM
Simple decoding of instruction. Complex decoding of instruction.
Processors are highly pipelined. Processors are not pipelined or less pipelined.
Execution time is very less Execution time is very high
Uses multiple registers. Uses a single register.
It does not require external memory for calculations It requires external memory for calculations
Compound addressing mode. Limited addressing mode.
RISC architecture can be used with high-end applications CISC architecture can be used with low-end
like telecommunication, image processing, applications like home automation, security system,
video processing, etc. consumer goods etc.
Small Code Size. Large Code Size.
Fixed Instruction format (32-bit) Varying formats (16 to 64 bits for each instruction).
Examples: ARM, PIC, Power Architecture, Alpha, Examples: VAX, Motorola 68000 family,
AVR, ARC and the SPARC. System/360, AMD and the Intel x86 CPUs.
Fig.1 shows the arrangement of an instrumentation system. The physical quantity to be measured (e.g.
temperature) acts upon a sensor that produces an electrical output signal.
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). Therefore, 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 analog signals for this purpose ADC may be required.
Control systems
3.7 Transducers
Transducers are devices that convert energy in the form (sound, light, heat, etc.,) into an equivalent electrical
signal, or vice versa.
Examples:
A microphone is a transducer converting sound pressure variations into voltage or current.
A loudspeaker is a transducer that converts low frequency electric current into audible sounds.
Difference between Sensor and Actuator:
SENSOR ACTUATOR
It converts physical quantity into electrical signals. It converts electrical signals into physical quantity.
It takes input from environment. It takes input from the electric or electronic system.
Sensor generated electrical signals. Actuator generates heat, motion, vibration,etc.
It is placed at input port of the system. It is placed at output port of the system.
It is used to measure the physical quantity. It is used to measure the continuous and discrete
process parameters.
It gives information to the system about It accepts command from the system to perform a
environment. function.
Example: Photo-voltaic cell which converts light Example: Stepper motor where electrical energy
energy into electrical energy. drives the motor.
Example 1:
Example 2:
Physical quantity: Temperature
Input transducer: Thermocouple
Example 3:
Examples: electric motors, stepper motors, jackscrews, electric muscular stimulators in robots,
Based on the configuration of the 7 – segment LED unit, the LED segment anode or cathode is connected to
the port of microcontroller in the order. A segment to the least significant port pin and DP segment to the most
significant port pin or vice versa. The current through each segment can be limited by connecting a resistor.
In order to display the required numbers (0 - 9) or HEX characters (A - F), the correct combination of LED
segments need to be illuminated based on the type of configuration.