8 - Embedded Systems
8 - Embedded Systems
Definitions:
• An embedded system is a microprocessor-based system that is built to control
a function or range of functions and is not designed to be programmed by the
end user.
• An embedded system is an applied computer system
• Embedded systems are more limited in hardware and/or software
functionality than a personal computer (PC).
• An embedded system is designed to perform a dedicated function.
• An embedded system is a computer system with higher quality and reliability
requirements than other types of computer systems
• Examples include the automotive ignition system and antilock brake system;
the consumer electronic systems such as toys, games, GPS; robotics and
control systems…
Embedded system design process
• Creating the architecture
• Implementing the architecture
• Testing the System
• Maintaining the System
Embedded system architecture
• The architecture of an embedded system is an abstraction of the embedded
device. At the architectural level, the hardware and software components in
an embedded system are represented as some composition of interacting
elements. Elements are representations of hardware and/or software whose
implementation details have been abstracted out, leaving only behavioral and
inter-relationship information.
• Architectural elements can be internally integrated within the embedded
device, or exist externally to the embedded system and interact with internal
elements.
• An embedded architecture includes elements of the embedded system,
elements interacting with an embedded system, the properties of each of the
individual elements, and the interactive relationships between the elements.
• Architecture-level information is physically represented in the form of structures. A
structure is one possible representation of the architecture, containing its own set of
represented elements, properties, and inter-relationship information. A structure is a
snapshot of the system’s hardware and software at design time and/or at run-time,
given a particular environment and a given set of elements. Since it is very difficult
for one snapshot to capture all the complexities of a system therefore, an
architecture is typically made up of more than one structure.
• All structures within an architecture are inherently related to each other, and it is the
sum of all these structures that is the embedded architecture of a device.
• Common structures types include modules - different functional components, the
essential hardware and/or software that the system needs to function correctly
within an embedded device; component and connector - These structures are
composed of elements that are either components (main hw/sw processing units,
such as processors, a Java Virtual Machine, etc.) or connectors (communication
mechanism that inter-connects components, such as a hw bus, or sw OS messages,
etc.).; allocation - A structure representing relationships between sw and/or hw
elements, and external elements in various environments.
Embedded hardware: understanding design diagrams
• Engineering hardware drawings:
• Block diagrams- a block diagram is a basic overview of the hardware, with
implementation details abstracted out. It depicts the major components of a
board (processors, buses, I/O, memory) or a single component (a processor,
for example) at a systems architecture or higher level. A block diagram can
reflect the actual physical layout of a board containing the major components,
it mainly depicts how different components or units within a component
function together at a systems architecture level. Block diagrams are the
simplest method in which to depict and describe the components within a
system. The symbols used within a block diagram are simple, such as squares
or rectangles for chips, and straight lines for buses.
• Schematics. Schematics are electronic circuit diagrams that provide a more
detailed view of all of the devices within a circuit or within a single component
—everything from processors down to resistors. A schematic diagram is not
meant to depict the physical layout of the board or component, but provides
information on the flow of data in the system, defining what signals are
assigned where—which signals travel on the various lines of a bus, appear on
the pins of a processor, and so on. In schematic diagrams, schematic symbols
are used to depict all of the components within the system, they are shorthand
representation based on some type of schematic symbol standard. A schematic
diagram is the most useful diagram to both hardware and software designers
when trying to determine how a system actually operates, to debug hardware,
or to write and debug the software managing the hardware.
• Timing diagrams. Timing diagrams display timing graphs of various input and
output signals of a circuit, as well as the relationships between the various
signals. They are the most common diagrams (after block diagrams) in
hardware user manuals and data sheets.
• Wiring diagrams. These diagrams represent the bus connections between
the major and minor components on a board or within a chip. In wiring
diagrams, vertical and horizontal lines are used to represent the lines of a
bus, and either schematic symbols or more simplified symbols (that
physically resemble the other components on the board or elements within
a component) are used. These diagrams may represent an approximate
depiction of the physical layout of a component or board.