An Introduction to Real time Systems by Dr. Amin Danial Asham.

Slides:



Advertisements
Similar presentations
Analog-to-Digital Converter (ADC) And
Advertisements

By: Engr. Irfan Ahmed Halepoto Assistant Professor, Deptt: Electronics Engg. LECTURE#02 Basics of instrumentation & Measurement systems AUTOMATION & ROBOTICS.
In this presentation you will:
Industrial Automation and Control
Digital to Analog and Analog to Digital Conversion
Data Acquisition Risanuri Hidayat.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Lecture 9: D/A and A/D Converters
Unit 4 Sensors and Actuators
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Lecture 31 Electrical Instrumentation. Lecture 32 Electrical Instrumentation Electrical instrumentation is the process of acquiring data about one or.
Lecture161 Instrumentation Prof. Phillips March 14, 2003.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Chapter 8 Output Modules.
EMBEDDED SOFTWARE Team victorious Team Victorious.
Distributed Control Systems Emad Ali Chemical Engineering Department King SAUD University.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Unit 3a Industrial Control Systems
SCADA and Telemetry Presented By:.
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
Programmable Logic Controller (PLC) - Introduction
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Sensors are mostly electronic devices used to monitor or capture something.
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
LSU 06/04/2007Electronics 61 Data Acquisition Electronics Unit – Lecture 6 Sensors and Transducers Signal conditioning Data sampling and recording.
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
Basics of data acquisition systems
Data Acquisition Systems
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Seminar ON SMART SENSOR Submitted by : SUBIR KUMAR GHOSH Roll No. IN-14/04 Electrical & Instrumentation Deptt. B.E 7th Semester JORHAT ENGINEERING COLLEGE,
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Reference: Ian Sommerville, Chap 15  Systems which monitor and control their environment.  Sometimes associated with hardware devices ◦ Sensors: Collect.
Measurement and Control. Control Systems A control system usually consists of a processor, a control program, interfaces and a device under the processor's.
Automation & Control Any process consist of :- (1) Application (2) Control System The Process Application (Operative Part) Control System (Action Coordinator)
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
V. Rouillard  Introduction to measurement and statistical analysis DIGITAL SAMPLING - DIGITISATION Digital sampling is mainly used in data acquisition.
Representing Numerical Data Analog Any signal that varies continuously over time Mechanical Pneumatic Hydraulic Electrical Digital Quantities are represented.
Introduction to PLC by Dr. Amin Danial Asham.
CS4730 Real-Time Systems and Modeling Fall 2010 José M. Garrido Department of Computer Science & Information Systems Kennesaw State University.
Lecture 9: Modeling Electromechanical Systems 1.Finish purely electrical systems Modeling in the Laplace domain Loading of cascaded elements 2.Modeling.
DATA HANDLING Some situations arise where a group of bits have to be handled. (ex) a sensor supplies an analogue signal which is converted to, say, an.
DPCL Solid State Device Discrete Control Lecture.
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric.
Comparators, DAC, and ADC
CISSP Common Body of Knowledge Review by Alfred Ouyang is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
PROGRAMMABLE LOGIC CONTROLLER
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
Programmable Logic Controller & Distributed Control System Yoon-Je Choi 17 th June 2006.
Proportional and Servo Valves
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
Lecture Notes / PPT UNIT III
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
An Introduction to Real time Systems by Dr. Amin Danial Asham.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
INTRODUCTION TO ELECTRONIC INSTRUMENTATION
Introduction to Discrete-Time Control Systems fall
EMBEDDED SYSTEMS.
Data Acquisition Systems
Introducing Embedded Systems and the Microcontrollers
E3165 DIGITAL ELECTRONIC SYSTEM
Instrumentation and Control Systems
Introduction to Realtime Systems (& Embedded Systems)
MicroLogix Packaged Controllers
Data Acquisition (DAQ)
Data Acquisition Electronics Unit – Lecture 6
Presentation transcript:

An Introduction to Real time Systems by Dr. Amin Danial Asham

References  Real-time Systems Theory and Practice. By Rajib mall

Simplified Hardware Architecture

System Buses There are Three Buses: 1.Power Bus: This bus feeds the power to the different hardware components in the system 2.Address Bus: Is the media used to exchange the addresses of the memory. To read or write from or to a certain memory location, an address is used to refer to that location. This address is carried by the address bus. 3.Data Bus: The data is exchanged between the memory and CPU via the address bus. Note: When referring to the system bus, the address and data buses collectively are generally what are meant.

A Functional Model of A Real Time System

System Components A. Sensor: A sensor converts the physical characteristics of an influencer in its environment in to electrical signal. Examples: 1.Temperature sensors: such as Thermocouples (produces mV related the measured temperature), PT100 (the electrical resistance changes with the measured temperature) 2.Pressure Sensor 3.Magnetic Sensor: Used in Electronic Compass in many devices such as smart phones. 4.Accelerometer Sensor: Measures the acceleration, which used in many commercial systems as game console joysticks and smart phones. 5.Gyro sensors: Measures the angular velocity. Used in robotics, game console joysticks, smartphones……etc.

System Components (cont.) B. Actuator : Any device that tacks an electrical signal and converts it to a physical action. This physical action may be in the form of motion, thermal, or even the physical characteristics of an object. Examples: 1.Motor 2.Motorized Valve. 3.Electrical Solenoid 4.Heater 5.Hydraulic and Pneumatic actuators

System Components (cont.) C. Signal Conditioner Units:  The electrical signals produced by computers are usually not suitable to directly drive actuators. Hence, output conditioning is needed to generate the proper signals to drive the actuators.  Similarly, the level and type of electrical signal generated by sensors are usually different from the signals to the interface unit, especially for industrial applications where there may be a big distance between the sensor (on site) and the interface unit (in electrical stations). Hence input conditioning is needed.  Example: the voltage generated by photo voltaic cell is in millivolts and hence need to be conditioned before it can be processed by a computer.

System Components (cont.) Some types of conditioning: 1.Voltage Amplifications: signals generated by the sensors may be in order of mV whereas the signals received by the interface units of order of volts. In this case amplification is needed. 2.Voltage Level Shifting: Shifting is needed to match the signal generated by a sensor with the range received by an interface unit. Ex. If the sensor generates signal in the range from -0.5Vdc to 0.5Vdc while the interface unit receives signal from 0Vdc to 1Vdc. 3.Frequency Range Shifting and Filtering: Frequency range shifting is used to reduce the noise. Many types of noise occur in narrow and the signal must be shifted from the noise bands, so that noise can be filtered out. 4.Signal mode conversion: the signal may be converted from direct current to alternating current and vise versa. Sometimes the analog signal is converted to a train of pulses with a rate or pulse width proportional to the signal value. Pulse train is usually used with transformer coupled circuits where direct current can not be used. Ex. In industrial fields signals are sent to the interface units (I/O modules) which are located far from the sensors as mA signals to avoid voltage drop in case of voltage signals

System Components (cont.) D. Interface unit: 1. Input Interface unit (Analog to Digital Converter) Analog- to-digital (A/D or ADC) conversion converts continuous (analog) signals from various transducers and devices into discrete (digital) ones. Conversion from analogue to digital binary value is carried out through sampling and quantization. Sampling Quantization Data Register n binary digits (bits) n-1

System Components (cont.) D. Interface unit (cont.): 2. Output Interface unit (Digital to Analogue Converter) Digital-to-analog (D/A or DAC) conversion performs the inverse function of A/D circuitry; that is, it converts a discrete quantity to a continuous one D/A devices are used to allow the computer to output analog voltages based on the digital version stored internally

System Components (cont.) E. Real-Time Computer: This is the processing unit which collects the data from the input interface units (input Modules digital or analog) and runs the control program to produce the outputs and send them to the output interface units (digital or analog). Ex. PLC CPU.

System Components (cont.) F. Human Computer Interface: It is called in the industrial field “Human Machine Interface” (HMI). HMI is the apparatus which presents process data to a human operator, and through which the human operator controls the process.

Characteristics of Real-Time Systems The following characteristics may not be applicable to every real time system 1.Time Constraint: the response of the system must meet the determined deadlines. That is the a certain task must be completed and produce the result before the deadline. Real Time Operating System (RTOS) is responsible of ensuring that all tasks meet the deadlines. 2.Correctness Criteria: A real-time system is one whose logical correctness is based on both the correctness of the outputs and their timeliness. 3.Embedded: An embedded computer system is physically embedded in its environment and often controls it. A vast Majority of real time systems are embedded systems, which are designed for specific control functions within a larger system often with real-time computing constraints. Ex. ABS, MPFI, Printers…….etc.

4.Safety-Criticality: Š  A Safe system is the one that does not cause damage in case of failure.  A reliable system is the one that can operate for long duration of time without any failures.  For non-real time systems safety and reliability are independent issues. o A hand gun is an example of a reliable system but unsafe since in case of failure it can cause a severe injury. o On the other hand, Word processing program is not a reliable system but safe since in case of failure it does not usually cause any significant damage or financial loss..  A safety critical system is one whose failure can cause a severe damage.  Therefore, a safety critical system requires to be reliable since any failure may cause severe damages. o An example of a safety-critical system is a the computer on-board of an aircraft. In case of the computer fails the aircraft fails.  In Real time systems safety and reliability are strongly related. Characteristics of Real-Time Systems (cont.)

5.Concurrency: Real time systems usually respond to several events in a short time intervals according to time constraints. Ex. in industrial control, sensors generate data asynchronously at different rates. The real time system collects data from the different types of sensors concurrently since in case of data loss the system may malfunction. 6.Distributes and Feedback Structure: In many real time systems the different components are distributed over a large geographical area. Typical case is the DCS in Industrial plants

Characteristics of Real-Time Systems (cont.) 7. Task Criticality: is a measure of the cost of the failure of a task. Different tasks have different criticality based on the application and damage in a task failure. Task criticality is a different concept from task priority. Task priority is more related to its timing. 8.Custom Hardware: In real time systems usually depend on a customized hard ware specially design for a specific application. Ex. ABS, MPFI, Mobile phones….etc. 9. Reactive: Real time systems react continually according to time constraints imposed by the environment. 10. Stability: real time system need to meet the deadlines of the most critical tasks even under overload conditions. On the other hand the deadlines of non critical tasks may not be met. 11. Exception Handling: Many Real Time systems work round-the-clock without human operators. Any failure must be automatically detected and continue to operate in a gracefully degraded operated mode rather than shut off abruptly. Ex. Embedded automotive real time systems.

Thanks