Es Unit 1q&a
Es Unit 1q&a
III B.Tech II Sem Subject & Code : Embedded systems &P21ECE14 R21-Reg
UNIT-1
Local Interconnect Network (LIN) LIN bus is a single master multiple slave (up to 16
independent slave nodes) communication interface. LIN is a low speed. single Wire
communication interface with support for data rates up to 20Kbps and is used for sensor/actuator
interfacing. LIN bus follows the master communication triggering technique to eliminate the
possible bus arbitration problem that can occur by the simultaneous talking of different slave
nodes connected to a single interface bus. LIN bus is employed in applications like mirror
controls, fan controls, seat positioning controls, window controls, and position controls where
response time is not a critical issue.
Media-Oriented System Transport (MOST) Bus the Media-oriented system transport
(MOST) is targeted for automotive audio/video equipment interfacing, used primarily in
European cars. A MOST bus is a multimedia fibre-optic point-to-point network implemented in
a star, ring or daisy- chained
topology over optical fibre cables. The MOST bus specifications define the physical (electrical
and optical parameters) layer as well as the application layer, network layer, and media access
control. MOST bus is an optical fibre cable connected between the Electrical Optical Converter
(EOC) and Optical Electrical Converter (OEC), which would translate into the optical cable
MOST bus.
Answer
The RS-232(X) is a serial communication protocol, commonly used for transferring and
receiving the serial data between two devices. It supports both synchronous and asynchronous
data transmissions. Many devices in the industrial environment are still using RS-232
communication cable.
Rs-232 cable is used to identify the difference between two signal levels between logic 1 and
logic 0. The logic 1 is represented by the -12V and logic 0 is represented the +12V. The RS-232
cable works at different baud rates like 9600 bits/s, 2400bits/s, 4800bits/s etc.
The RS-232 cable has two-terminal devices namely Data Terminal Equipment and Data
communication Equipment. Both devices will send and receives signals. The data terminal
equipment is a computer terminal and data communication Equipment is modems, or controllers,
etc
Now a day’s most of the personal computers have two serial ports and one parallel port (RS232).
These two types of ports are used for communicating with external devices and they work in
different ways. The parallel port sends and receives the 8-bit data at a time over eight separate
wires and this transfers the data very quickly, the parallel ports are typically used to connect a
printer to a PC. A serial port sends and receives one-bit data at a time over one wire and it
transfers data very slowly.
The RS-232 stands for recommended slandered and 232 is a number X indicates the latest
version like RS-232c, RS232s. The most commonly used type of serial cable connectors is 9-pin
connectors DB9 and 25-pin connector DB-25. Each of them may be a male or female type.
Nowadays most of the computers use the DB9 connector for asynchronous data exchange. The
maximum length of the RS-232 cable is 50ft.
RS232 Pin Description It is a 25-pin connector, each pin has its function is as follows.
Distributed
The term distributed means that embedded system may be a part of larger system. Many
numbers of such distributed embedded systems form a single large embedded control
unit.
An automatic vending machine is a typical example for this. The vending machine
contains a card reader, a vending unit, etc. Each of them are independent embedded
units but they work together to perform the overall Vending function.
Small size and weight Product aesthetic is another important factor in choosing a product.
Power concerns
Power management is another important factor that needs to consider in designing
embedded system.
Embedded systems should be designed in such a way as to minimize the heat
dissipation by the system.
The product of high amount of heat demands cooling requirements like cooling fans
which in turn occupies additional space and make the system bulky.
In 1960, embedded system was first used for developing Apollo Guidance System by Charles
Stark Draper at MIT.
In 1965, Autonetics, developed the D-17B, the computer used in the Minuteman missile
guidance system.
In 1968, the first embedded system for a vehicle was released.
Texas Instruments developed the first microcontroller in 1971.
In 1987, the first embedded OS, VxWorks, was released by Wind River.
Microsoft’s Windows embedded CE in 1996.
By the late 1990s, the first embedded Linux system appeared.
The embedded market reach $140 billion in 2013.
Analysts are projecting an Embedded market larger than $40 billion by 2030.
Key Characteristics:
Limited processing power
Hardwired instructions(ROM)
Real-time capabilities
Future Trends (Beyond2020)
Artificial Intelligence (AI) and Machine Learning (ML): Embedded systems are
evolving with AI and ML capabilities integrated at the edge, enabling devices to
process data locally and make decisions autonomously. This is becoming critical in
areas like autonomous vehicles, robotics, and smart health devices.
5G and Embedded Systems: The roll-out of 5G networks is enabling faster data
transmission for embedded systems in IOT, allowing for higher bandwidth and real-
time control in applications like smart cities, connected cars, and telemedicine.
5. a) Describe the role and importance of sensors in Embedded applications.
Answer
Data Collection:
Sensors gather real-world data such as temperature, light ,pressure, motion, or sound,
and convert it into a form (typically electrical signals) that can be processed by the embedded
system.
Sensors play a crucial role in embedded applications by acting as the interface between the physical world
and the embedded system. They gather data about environmental conditions, objects, or user actions, and
convert this information into electrical signals that the embedded system can process.
This allows the system to monitor, control, or react to its surroundings intelligently and in real-
time.
Real-Time Processing and Control
Precision and Accuracy
Energy Efficiency
Adaptability and Flexibility
Enhanced User Experience
Safety and Compliance
Cost-Effectiveness
The application areas and the products in the embedded domain are countless
Household appliances: Television, DVD players, washing machine, fridge, microwave oven, etc.
Home automation and security systems: Air conditioners, sprinklers, intruder detection alarms, closed
circuit television cameras, fire alarms, etc.
Automotive industry: Anti-lock breaking systems (ABS), engine control, ignition systems, automatic
navigation systems, etc. Telecom: Cellular telephones, telephone switches, handset multimedia
applications, etc.
Card Readers: Barcode, smart card readers, hand held devices, etc
Embedded systems are specialized computing systems that perform dedicated tasks within larger
devices or systems.
Automotive Systems
Explanation: Embedded systems are extensively used in modern automobiles to enhance safety,
efficiency, and user experience.
Applications:
Airbag Control: Embedded systems trigger the deployment of air bags in the event of a collision,
based on input from sensors that detect impact forces.
Healthcare Devices
Explanation: In the health care industry, embedded systems are used to monitor, diagnose, and
provide therapeutic treatment for patients.
Applications:
Wearable Health Monitors: Devices like fitness trackers and heart rate monitors use embedded
systems to track vital signs such as pulse rate, blood oxygen levels, and physical activity.
Consumer Electronics
Explanation: Embedded systems are at the heart of most modern consumer electronics, providing
intelligent features and automation in everyday devices.
Applications:
Smart phones: Embedded systems manage functions like touch interface, cameras, wireless
communication (Wi-Fi , Bluetooth),and battery management.
Industrial Automation
Explanation: In the industrial sector, embedded systems are used to automate processes, improve
safety, and optimize operational efficiency.
Applications:
Robotics: Embedded systems control robotic arms and machines in factories to perform tasks such as
assembly, welding, and packaging.
Telecommunications
Applications:
Satellite Communication Systems: Embedded systems control satellite functions such as data
transmission , signal processing, and orbital positioning
.
6.What is meant by operational quality attributes? Discuss their importance in embedded system
design.
Answer: The operational quality attributes represent the relevant quality attributes related to the
embedded systems when it is in the operational mode or ‘online’ mode.
1. Response
2. Throughput
3. Reliability
4. Maintainability
5. Security
6. Safety
Response
Response is a measure of quickness of the system. It gives an idea about how fast your system
is tracking the changes in input variables.
Most of the embedded system demand fast response which should be almost real time.
Throughput
Throughput deals with the efficiency of a system.
It can be defined as the rate of production or operation of a defined process over a started
period of time.
The rates can be expressed in terms of units of products, batches produced, or any other
meaningful measurements.
Throughput is generally measured in terms of ‘BENHMARK’.
Reliability
Reliability is a measure of how much % you can rely upon the proper functioning of the system
or what is the % susceptibility of the system to failures.
Mean time between failures (MTBF) and mean time to repair (MTTR) are the terms used in
defining system reliability.
MTBF gives the frequency of failures in hours/weeks/months.
MTTR specifies how long the system is allowed to be out of order following a failure.
Maintainability
Maintainability deals with support and maintenance to the end user or client in case of
technical issues and product failure or on the basis of a routine system check-up.
Reliability and maintainability are considered as two complementary disciplines.
A more reliable system means a system with less corrective maintainability requirements and
vice versa.
As the reliability of the system increases the chances of failure and non-functioning also
reduces, there by the need for
Security
‘Confidentiality’, ‘integrity’ and ‘availability’ are the three major measures of information
security.
Confidentiality deals with the protection of data and application from unauthorised disclosure.
Integrity deals with the protection of data and application from unauthorized modification
Availability deals with protection data and application from authorized users a very good
example of the security aspect in a embedded product is a Personal Digital assistant (PDA).
Safety
Safety deals with the possible damage that can happen to the operators, public and the
environment due to the breakdown of an embedded system or due to the emission of
radioactive or hazardous material from the embedded products.
Safety analysis is must in product engineering to evaluate the anticipated damages and
determine the best course of action to bring down the consequences of the damages to an
acceptable level.
Operationalqualityattributesareessentialinembeddedsystemdesignbecause they:
Enhance System Robustness: Attributes like reliability, safety, and security ensure the system
performs well in real-world scenarios, even under stress or threat.
Ensure User Satisfaction: Usability and maintainability contribute to the user experience,
ensuring that the system is easy to use and maintain over its lifetime.
Optimize Resources: Attributes like performance and power efficiency ensure that the system
uses resources (e.g., processing power, memory, and energy) effectively, leading to optimized
designs for low-power devices.
Meet Regulatory Standards: Many embedded systems must adhere to industry-specific
standards (e.g., safety in automotive, security in healthcare),and these operational attributes help
ensure compliance with such regulations
Answer:
An actuator in embedded systems is a device that converts an electrical signal into physical action,
enabling the system to interact with its environment. It acts as the output mechanism, translating control
signals from the embedded system into real-world physical responses, such as movement, force, or a
change in a physical state.
Here’ show an actuator functions in an embedded system:
Signal Reception: The embedded system, typically through a microcontroller or
microprocessor, processes input data (from sensors or user commands) and sends an electrical
control signal to the actuator.
Signal Conversion: The actuator receives this electrical signal and converts it into a physical
action. The nature of the conversion depends on the type of actuator:
Linear actuators convert electrical signals into linear motion(e.g., pushing or
pulling).
Rotary actuators convert them into rotational motion(e.g., turning a wheel or
motor).
Hydraulic or pneumatic actuators use the signal to control fluid pressure or air to
generate movement.
Feedback Mechanism: Some actuators include feedback systems (like encoders or
potentiometers) to monitor the output motion and send data back to the embedded system. This
allows for precise control and adjustments in real-time.
Applications: Actuators are used in various embedded applications, such as controlling motors
in robotics, opening valves in industrial automation, adjusting mirrors in automotive systems,
and even vibrating components in smart phones.
7.b)Explain about communication interfaces..
Answer
3. I2C(Inter-Integrated Circuit)
Description: I2C is a synchronous, multi-master, multi-slave, serial communication protocol.
It is popular in embedded systems for short- distance, low-speed communication between
integrated circuits.
Working: I2C uses two lines: SDA (Serial Data Line) and SCL (Serial Clock Line) for data
transmission. The master device initiate communication, and multiple slave devices can be
connected to the same bus.
4. CAN (Controller Area Network)
Description: CAN is a robust vehicle bus standard designed for communication between
microcontrollers, sensors, and actuators in automotive and industrial applications. It is highly
reliable and resistant to electrical noise.
6. Ethernet
Description: Ethernet is a wired communication protocol used for local area networks
(LAN). It enables fast, reliable data exchange between devices over long distances.
Working: Ethernet operates using packet-based communication, where data is transmitted as
frames. It uses MAC (Media Access Control) addresses to identify devices on the network.
7.Bluetooth
Description: Bluetooth is a wireless communication protocol used for short- range data
exchange between devices. It is widely used in personal devices for audio streaming, file
transfer, and device control.
Working: Bluetooth uses low-power radio waves to establish a connection between devices.
It supports various profiles, including audio streaming (A2DP), file transfer, and peripheral
control.
1. Data Collection/Storage/Representation
1. Data communication
3. Monitoring
4. Control
Data Collection/Storage/Representation
Embedded system designed for the purpose of data collection performs acquisition of data from the
external world. Data collection is usually done for storage, analysis, manipulation and transmission.
Data can be analog or digital
Embedded systems with analog data capturing techniques collect data directly in the form of analog
signal whereas embedded systems with digital data collection mechanism converts the analog signal to
the digital signal using analog to digital converters.If the data is digital it can be directly captured by
digital embedded system
Data communication
Embedded data communication systems are deployed in applications from complex satellite
communication to simple home networking systems.The transmission of data is achieved either by a
wire-line medium or by a wire-less medium.Data can either be transmitted by analog means or by
digital means. Wireless modules-Bluetooth, Wi-Fi. Wire-line modules-USB, TCP/IP.Network hubs,
routers, switches are examples of dedicated data transmission embedded systems
Embedded systems with signal processing functionalities are employed in applications demanding
signal processing like speech coding, audio vidéo 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 person
Monitoring
All embedded products coming under the medical domain are with monitoring functions. Electro
cardiogram machine is intended to do the monitoring of the heartbeat of a patient but it cannot impose
control over the heartbeat. Other examples with monitoring function are digital CRO, digital multi
meters, and logic analyzers
Control
A system with control functionality contains both sensors and actuators. Sensors are connected to the
input port for capturing the changes in environmental variable and the actuators connected to the
output port are controlled according to the changes in the input variable. Air conditioner system used
to control the room temperature to a specified limit is a typical example for CONTROL purpose.
An application-specific user interface (ASUI) is a user interface that is designed for a specific
application and target group of users in an embedded system. Embedded systems are designed for a
specific purpose, and their ASUI allows users to control and configure the product