Professional Documents
Culture Documents
Institute ofVINAY
Aeronautical Engineering
S REDDY,Asst Prof
UNIT-I
EMBEDDED COMPUTING
The ABS system uses sensors on each wheel to measure the speed of the
wheel. The wheel speeds are used by the ABS system to determine how to vary
the hydraulic fluid pressure to prevent the wheels from skidding.
• The ASC +T system’s job is to control the engine power and the
brake to improve the car’s stability during maneuvers. The
ASC+T controls four different systems: throttle, ignition timing,
differential brake, and (on automatic transmission cars) gear
shifting.
• The ASC+T can be turned off by the driver, which can be
important when operating with tire snow chains. The ABS and
ASC +T must clearly communicate because the ASC +T interacts
with the brake system.
• Since the ABS was introduced several years earlier than the
ASC+T, it was important to be able to interface ASC+T to the
existing ABS module, as well as to other existing electronic
modules.
total = 0
for i =1 to …
Based on Generation
Based on Complexity & Performance
Requirements
Based on deterministic behavior
Based on Triggering
Small Scale: The embedded systems built around low performance and low
cost 8 or 16 bit microprocessors/ microcontrollers. It is suitable for simple
applications and where performance is not time critical. It may or may not
contain OS.
Medium Scale: Embedded Systems built around medium performance, low
cost 16 or 32 bit microprocessors / microcontrollers or DSPs. These are
slightly complex in hardware and firmware. It may contain GPOS/RTOS.
Large Scale/Complex: Embedded Systems built around high performance 32
or 64 bit RISC processors/controllers, RSoC or multi-core processors and PLD.
It requires complex hardware and software. These system may contain
multiple processors/controllers and co-units/hardware accelerators for
offloading the processing requirements from the main processor. It contains
RTOS for scheduling, prioritization and management.
VINAY S REDDY,Asst Prof
20
CLASSIFICATION OF EMBEDDED SYSTEMS
The below Figure summarizes the major steps in the embedded system design process. In
this top–down view, we start with the system requirements
System Integration:
Embedded systems possess certain specific characteristics and these are unique to each
Embedded system.
4. Distributed
6. Power concerns
7. Single-functioned
8. Complex functionality
9. Tightly-constrained
10. Safety-critical
VINAY S REDDY,Asst Prof
28
QUALITY ATTRIBUTES OF EMBEDDED SYSTEMS
II. Non-Operational Quality Attributes: The quality attributes that needs to be addressed
for the product not on the basis of operational aspects are grouped under this category.
Visual language that can be used to capture all these design tasks:
Unified Modeling Language (UML). UML was designed to be useful at many levels
of abstraction in the design process. UML is useful because it encourages design by
successive refinement and progressively adding detail to the design, rather than
rethinking the design at each new level of abstraction.
• UML is an object-oriented modeling language. We will see precisely what we
mean by an object in just a moment, but object-oriented design emphasizes two
concepts of importance:
• It encourages the design to be described as a number of interacting objects,
rather than a few large monolithic blocks of code.
• At least some of those object will correspond to real pieces of software or
hardware in the system.
• We can also use UML to model the outside world that interacts with our system,
in which case the objects may correspond to people or other machines.
1.Structural Description:
• A class is a form of type definition—all objects derived from the same class have the
same characteristics, although their attributes may have different values. A class
defines the attributes that an object may have.
• It also defines the operations that determine how the object interacts with the rest
of the world. In a programming language, the operations would become pieces of
code used to manipulate the object.
There are several types of relationships that can exist between objects and
classes:
■Association occurs between objects that communicate with each other but have
no ownership relationship between them.
■Composition is a type of aggregation in which the owner does not allow access
to the component objects.
2. Behavioral Description:
We have to specify the behavior of the system as well as its structure. One way to
specify the behavior of an operation is a state machine.
These state machines will not rely on the operation of a clock, as in hardware; rather,
changes from one state to another are triggered by the occurrence of events.
An event is some type of action. The event may originate outside the system,
such as a user pressing a button. It may also originate inside, such as when one
routine finishes its computation and passes the result on to another routine.
The user sends messages to the train with a control box attached to the tracks.
The control box may have familiar controls such as a throttle, emergency stop
button, and so on. Since the train receives its electrical power from the two
rails of the track, the control box can send signals to the train over the tracks by
modulating the power supply voltage.
As shown in the figure, the control panel sends packets over the tracks to the
receiver on the train.
The train includes analog electronics to sense the bits being transmitted and a
control system to set the train motor’s speed and direction based on those
commands.
Each packet includes an address so that the console can control several trains
on the same track; the packet also includes an error correction code (ECC) to
guard against transmission errors. This is a one-way communication system—
the model train cannot send commands back to the user.