MCM 4 Answers
MCM 4 Answers
2. Explain the different classifications of embedded systems. Give an example for each.
The classification based on deterministic system behavior is applicable for ‘Real Time’ systems.
The task execution behavior for an embedded system can be deterministic or non- deterministic.
Based on the execution behavior, Real Time embedded systems are classified into Hard and Soft.
Embedded Systems which are ‘Reactive’ in nature can be classified based on the trigger. Reactive
systems can be either event triggered or time triggered.
Non-determistic = A system in which the output cannot be predicted because there are multiple possible outcomes for
each input.
Deterministic = A system in which the output can be predicted with 100 percent certainty.
In other words, soft and hard determinists agree that determinism is true, but they disagree about
whether free choices are possible given that determinism is true. The ‘softies’ say they are; the ‘hardies’
say they aren’t.
4. Explain the various purposes of embedded systems in detail with illustrative examples.
Embedded systems are used in various domains. Within the domain itself, according to the
application usage context, they may have different functionalities. Each embedded system is
designed to serve the purpose of any one or a combination of the following tasks:
1. Data collection/Storage/Representation
2. Data communication
3. Data (signal) processing
4. Monitoring
5. Control
6. Application specific user interface
3. Data (Signal) Processing: As mentioned earlier, the data (voice, image, video, electrical
signals and other measurable quantities) collected by embedded systems may be used for
various kinds of data processing. Embedded systems with signal processing functionalities are
employed in applications demanding signal processing like speech coding, synthesis, audio
video codec, transmission applications, etc. A digital hearing aid is a typical example of an
embedded system employing data processing. Digital hearing aid improves the hearing
capacity of hearing impaired persons.
4. Monitoring: Embedded systems falling under this category are specifically designed for
monitoring purpose. Almost all embedded products coming under the medical domain are with
monitoring functions only. They are used for determining the state of some variables using
input sensors. They cannot impose control over variables. A very good example is the
electrocardiogram (ECG) machine for monitoring the heartbeat of a patient. The machine is
intended to do the monitoring of the heartbeat. It cannot impose control over the heartbeat.
Some other examples of embedded systems with monitoring function are measuring
instruments like digital CRO, digital multimeters, logic analyzers, etc. used in Control &
Instrumentation applications. They are used for knowing the status of some variables like
current, voltage, etc. They cannot control the variables in turn.
5. Control: Embedded systems with control functionalities impose control over some
variables according to the changes in input variables. A system with control functionality
contains both sensors and actuators. Sensors are connected to the input port for capturing the
changes in 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 system used in our home to control the room temperature to a specified limit
is a typical example for embedded system for control purpose. An 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 handheld unit may be connected to the
central embedded unit residing inside the air-conditioner through a wireless link or through a
wired link. 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.
6. Application Specific User Interface: These are embedded systems with application-
specific user interface like buttons, switches, keypad, lights, bells, display units, etc. Mobile
phone is an example for this. In mobile phone the user interface is provided through the keypad,
graphic LCD module, system speaker, vibration alert, etc.