Chapter 1 - Introduction To Embedded System
Chapter 1 - Introduction To Embedded System
Learning Objective: At the end of the lesson, the students are expected
to;
✓ Define embedded system and categorize its structure.
✓ Describe the characteristics of embedded system
✓ Categorize Embedded System according to their function and
performance.
Introduction
System
A system is an arrangement in which all its unit assemble work together according to a
set of rules. It can also be defined as a way of working, organizing or doing one or many
tasks according to a fixed plan. For example, a watch is a time displaying system. Its
components follow a set of rules to show time. If one of its parts fails, the watch will stop
working. So, we can say, in a system, all its subcomponents depend on each other.
As its name suggests, Embedded means something that is attached to another thing.
An embedded system can be thought of as a computer hardware system having software
embedded in it. An embedded system can be an independent system or it can be a part
of a large system. An embedded system is a microcontroller or microprocessor-based
system which is designed to perform a specific task. For example, a fire alarm is an
embedded system; it will sense only smoke.
• It has hardware.
• It has Real Time Operating system (RTOS) that supervises the application
software and provide mechanism to let the processor run a process as per
scheduling by following a plan to control the latencies. RTOS defines the way the
system works. It sets the rules during the execution of application program. A
small-scale embedded system may not have RTOS.
• Reactive and Real time − Many embedded systems must continually react to
changes in the system's environment and must compute certain results in real
time without any delay. Consider an example of a car cruise controller; it
continually monitors and reacts to speed and brake sensors. It must compute
acceleration or de-accelerations repeatedly within a limited time; a delayed
computation can result in failure to control of the car.
• Memory − It must have a memory, as its software usually embeds in ROM. It does
not need any secondary memories in the computer.
• HW-SW systems − Software is used for more features and flexibility. Hardware
is used for performance and security.
• Easily Customizable
• Low cost
• Enhanced performance
Disadvantages
• Processor & ASICs − Processors process the data to measure the output and
store it to the memory.
• D-A Converter − A digital-to-analog converter converts the digital data fed by the
processor to analog data
• Actuator − An actuator compares the output given by the D-A Converter to the
actual (expected) output stored in it and stores the approved output.
➢ Soft Real-Time system: A Real time system in which, the violation of time
constraints will cause only the degraded quality, but the system can continue to
operate is known as a Soft real time system. In soft real-time systems, the design
focus is to offer a guaranteed bandwidth to each real-time task and to distribute
the resources to the tasks.
These systems usually interact directly with physical hardware instead of through a
human being. The hardware and software of hard real-time systems must allow a
worst-case execution
Ex: Deadline in a missile control embedded system, Delayed alarm during a Gas leakage,
car airbag control system, A delayed response in pacemakers, Failure in RADAR functioning
etc.
2. Medium Scale Embedded Systems: These systems are usually designed with a
single or few 16- or 32-bit microcontrollers or DSPs or Reduced Instruction Set
Computers (RISCs). These have both hardware and software complexities. For
complex software design, there are the following programming tools: RTOS, Source
code engineering tool, Simulator, Debugger and Integrated Development Environment
(IDE). Software tools also provide the solutions to the hardware complexities. An
assembler is of little use as a programming tool. These systems may also employ the