Lecture 1sjn
Lecture 1sjn
Contents
1. Definition, Characteristics and Example of RTES
2. Model of RTES
3. Types of RTES tasks
4. Modelling Time Constraints
5. Computer Organization Concepts and Memory
6. Design Process
1. Definition, Characteristics and Example of RTES
Definition
Embedded system
• An embedded system is a combination of computer hardware and software designed for a
specific function.
• The systems can be programmable or have a fixed functionality.
• Industrial machines, consumer electronics, agricultural and processing industry devices,
automobiles, medical equipment, cameras, digital watches, household appliances, airplanes,
vending machines and toys, as well as mobile devices, are possible locations for an
embedded system.
1. Definition, Characteristics and Example of RTES
Different types of Embedded Systems
Standalone Embedded Systems
• This type of embedded software, as the name suggests, can work by itself, without requiring a host like a computer or
processor. It simply takes input data in its digital or analog form and delivers an output that might be displayed through a
connected device. Examples- cameras, digital watches, and MP3 players.
➢ Hard Real-time Embedded Systems: Aircraft control platforms. In this case, even a small delay in data
acquisition can lead to disastrous consequences as the pilot might make a decision based on outdated
information.
1. Definition, Characteristics and Example of RT and ES
Characteristics of RTES
Sensor:
• Sensor is used for the conversion of some physical events or characteristics into the electrical signals.
• These are hardware devices that takes the input from environment and gives to the system by converting it.
• For example, a thermometer takes the temperature as physical characteristic and then converts it into electrical
signals for the system.
Actuator:
• Actuator is the reverse device of sensor.
• It converts the electrical signals into the physical events or characteristics.
• It takes the input from the output interface of the system.
• The output from the actuator may be in any form of physical action. Some of the commonly used actuator are
motors and heaters.
2. Model of Real Time Embedded System Cont..
Signal Conditioning Unit:
• When the sensor converts the physical actions into electrical signals, then computer can’t used them
directly.
• Hence, after the conversion of physical actions into electrical signals, there is need of conditioning.
• Similarly while giving the output when electrical signals are sent to the actuator, then also conditioning
is required.
• Input Conditioning Unit: It is used for conditioning the electrical signals coming from sensor.
• Output Conditioning Unit: It is used for conditioning the electrical signals coming from the system.
Interface Unit:
• Interface units are basically used for the conversion of digital to analog and vice-versa.
• Signals coming from the input conditioning unit are analog and the system does the operations on
digital signals only, then the interface unit is used to change the analog signals to digital signals.
• Similarly, while transmitting the signals to output conditioning unit the interface of signals are changed
i.e. from digital to analog. On this basis, Interface unit is also of two types:
• Input Interface: It is used for conversion of analog signals to digital.
• Output Interface: It is used for conversion of digital signals to analog.
3. Types of Real Time Embedded System tasks
Real-time tasks
• The tasks associated with the quantitative expression of time. This quantitative expression of time describes the behavior of the
real-time tasks.
• All the real-time tasks need to be completed before the deadline. For example, Input-output interaction with devices, web
browsing, etc.
Functional Unit
• A computer consists of five functionally independent main parts:- Input, Memory,
Arithmetic Logic Unit (ALU), Output And Control Unit.
• Input device accepts the coded information as source program i.e. high level
language.
• This is either stored in the memory or immediately used by the processor to
perform the desired operations.
• The program stored in the memory determines the processing steps.
• Basically the computer converts one source program to an object program. i.e. into
machine language.
• Finally the results are sent to the outside world through output device. All of these
actions are coordinated by the control unit.
5. Computer Organization Concepts and Memory Cont.…
Input unit
• The source program/high level language program/coded information/simply data is fed to a computer through input devices
keyboard is a most common type.
• Whenever a key is pressed, one corresponding word or number is translated into its equivalent binary code over a cable & fed
either to memory or processor.
• Joysticks, trackballs, mouse, scanners etc. are other input devices.
Memory unit
• Its function into store programs and data. It is basically to two types-
1. Primary memory
2. Secondary memory
6. Embedded System Design Process
Design Methodologies
• It is a procedure for designing a system.
• It allows us to keep a scorecard on a design to ensure that we have
done everything we need to do,
• It allows us to develop computer-aided design tools.
• A design methodology makes it much easier for members of a
design team to communicate.
Major Goals of the Design
• Manufacturing Cost.
• Performance Speed.
• Power Consumption
• At each step in the design process
➢ We must Analyze, Refine and Verify
6. Embedded System Design Process Cont…
Requirements Requirements Form
• Before we design a system, we must know what we are designing. • Name:
• Plain language description of what the user wants and expects to get. • Purpose:
• May be developed in several way:
• Inputs:
➢ Talking directly to customers.
➢ Talking to marketing representatives.
• Outputs:
➢ Providing prototypes to users for comment. • Functions:
• Functional Requirements: • Performance:
➢ Output as a function of input. • Manufacturing cost:
• Non-functional requirement: • Power:
➢ Performance- time required to compute output.
• Physical size/weight:
➢ Cost
➢ Size, weight, etc.
➢ Power consumption.
➢ Reliability etc.
6. Embedded System Design Process Cont…
Specification
• It serves as the contract between the customer and the architects. As such, the specification must be carefully
written so that it accurately reflects the customer’s requirements and does so in a way that can be clearly followed
during design.
• The specification should be understandable enough so that someone can verify that it meets system requirements
and overall expectations of the customer.
Architecture Design
• Architecture is the plan for the overall structure of the system that will be used later to design the components that
make up the architecture.
• Architecture design must give an idea about-
➢ What major components need for satisfying the specification?
➢ What hardware components need? Like CPUs, peripherals, etc.
➢ What Software components need?
➢ Must take into account functional and non-functional specifications.
6. Embedded System Design Process Cont…
Components Design
• The component design effort builds those components to satisfy architecture and specification.
• The components will in general include both hardware- FPGAs, boards and software module.
• Some components are ready-made, some can be modified from existing designs, others must be designed from
scratch (that is new design).
System Integration
• System integration is putting together the components.
➢ Many bugs appear only at this stage.
• Bugs are typically found during system integration, and good planning can help us find the bugs quickly.
• System integration is difficult because it usually uncovers problems. It is often hard to observe in the system, to
determine exactly what is wrong- the debugging facilities for embedded systems are usually much more limited.
• Inserting appropriate debugging facilities during design can help ease system integration problems would find on
desktop system.
6. Embedded System Design Process Cont…
6. Embedded System Design Process Cont…
6. Embedded System Design Process Cont…
Software's used for LAB
• Proteus Professional 8
• Arduino IDE