Chapter 1 - Introduction To Embedded System
Chapter 1 - Introduction To Embedded System
INTRODUCTION
TO
EMBEDDED SYSTEM
Mr. Azhar Bin Jaffar
Lecturer
Electrical Engineering Department
Politeknik Ungku Omar
Discussion
What are some components of a
computer?
What is a Microprocessor?
A Microcontroller?
An Embedded System?
Components of a Computer
Central Processing Unit
Interprets and carries out all the instructions
contained in software
Memory
Used to store instructions and data
Random Access Memory (RAM)
Read Only Memory (ROM)
Input/Output
Used to communicate with the outside world
Microprocessor
A single chip that contains a whole CPU
Has the ability to fetch and execute
instructions stored in memory
Has the ability to access external memory,
external I/O and other peripherals
Examples:
Intel P4 or AMD Athlon in
desktops/notebooks
ARM processor in Apple iPod
Microcontroller
Essentially a microprocessor with on-chip memories
and I/O devices
Designed for specific functions
Microprocessor in a Microcontroller
Micro P VS Micro C
Microprocessor-based System
A/D
Analog
I/O
Input
and
output
ports
EEPROM
Microprocessor
ROM
RAM
Serial I/O
Input
and
output
ports
Parallel I/O
Timer
D/A
PWM
Microcontroller-based System
Micro P VS Micro C
The microprocessor is a processor
on one silicon chip.
The microcontrollers are used in
embedded computing.
The microcontroller is a
microprocessor with added circuitry.
Definition
Hard to define
Computing systems embedded within
electronic devices
Nearly any computing system other
than a desktop computer
Microcontroller in a car
Ignition System
Engine Control
ABS
Air Bag
Instrumentation
Security System
Transmission
Control
Entertainment
Climate Control
Cellular Phone
Keyless Entry
Home
Automation:
Office
Automation:
Fax Machine
Laser Printers
Color Printer
Scanners
Paging
Copier
Air conditioner
Industrial
Control:
Appliances
Intercom
Telephones
Security Systems
TVs
Cable TV Tuner
Camcorder
DVD Player
Remote control
Video Games
Lighting Control
Toys
Sewing Machines
Single-functioned
Executes a single program, repeatedly.
Tightly-constrained
Low cost, low power, small, fast, etc.
Reactive and real-time
Continually reacts to changes in the systems environment.
Must compute certain results in real-time without delay
Advantages of Microcontroller
Application
Cost
The streamlined make-up of most embedded systems allows
their parts to be smaller less expensive to produce.
Advantages of Microcontroller
Application
Accessibility
Embedded systems are difficult to service because they are
inside another machine, so a greater effort is made to carefully
develop them.
This concern is sometimes addressed in the design stage, such
as by programming an embedded system so that it will not affect
related systems negatively when malfunctioning.
Maintenance
Embedded systems are easier to maintain because the supplied
power is embedded in the system and does not require remote
maintenance.
Redundancies
Embedded systems do not involve the redundant programming
and maintenance involved in other system models.
Advantages of Microcontroller
Application