Embedded System
Embedded System
1
other embedded systems -- using a communication protocol. The processor interprets this
data with the help of minimal software stored on the memory. The software is usually highly
specific to the function that the embedded system serves.
The processor may be a microprocessor or microcontroller. Microcontrollers are
simply microprocessors with peripheral interfaces and integrated memory included.
Microprocessors use separate integrated circuits for memory and peripherals instead of
including them on the chip. Both can be used, but microprocessors typically require more
support circuitry than microcontrollers because there is less integrated into the
microprocessor. The term system on a chip (SoC) is often used. SoCs include multiple
processors and interfaces on a single chip. They are often used for high-volume embedded
systems. Some example SoC types are the application-specific integrated circuit (ASIC) and
the field-programmable gate array (FPGA).
Often, embedded systems are used in real-time operating environments and use a real-
time operating system (RTOS) to communicate with the hardware. Near-real-time approaches
are suitable at higher levels of chip capability, defined by designers who have increasingly
decided the systems are generally fast enough and the tasks tolerant of slight variations in
reaction. In these instances, stripped-down versions of the Linux operating system are
commonly deployed, although other OSes have been pared down to run on embedded
systems, including Embedded Java and Windows IoT (formerly Windows Embedded).
Characteristics of embedded systems
The main characteristic of embedded systems is that they are task-specific.
Additionally, embedded systems can include the following characteristics:
typically, consist of hardware, software and firmware;
can be embedded in a larger system to perform a specific function, as they are built
for specialized tasks within the system, not various tasks;
can be either microprocessor-based or microcontroller-based -- both are integrated
circuits that give the system compute power;
are often used for sensing and real-time computing in internet of things (IoT) devices,
which are devices that are internet-connected and do not require a user to operate;
can vary in complexity and in function, which affects the type of software, firmware
and hardware they use; and
are often required to perform their function under a time constraint to keep the larger
system functioning properly.
Structure of embedded systems
Embedded systems vary in complexity but, generally, consist of three main elements:
Hardware. The hardware of embedded systems is based around microprocessors and
microcontrollers. Microprocessors are very similar to microcontrollers and, typically,
refer to a CPU (central processing unit) that is integrated with other basic computing
components such as memory chips and digital signal processors (DSPs).
Microcontrollers have those components built into one chip.
2
Software and firmware. Software for embedded systems can vary in complexity.
However, industrial-grade microcontrollers and embedded IoT systems usually run
very simple software that requires little memory.
Real-time operating system. These are not always included in embedded systems,
especially smaller-scale systems. RTOSes define how the system works by
supervising the software and setting rules during program execution.
In terms of hardware, a basic embedded system would consist of the following elements:
o Sensors convert physical sense data into an electrical signal.
o Analog-to-digital (A-D) converters change an analog electrical signal into a digital
one.
o Processors process digital signals and store them in memory.
o Digital-to-analog (D-A) converters change the digital data from the processor into
analog data.
o Actuators compare actual output to memory-stored output and choose the correct one.
The sensor reads external inputs, the converters make that input readable to the processor,
and the processor turns that information into useful output for the embedded system.