Presentation is loading. Please wait.

Presentation is loading. Please wait.

S IMULATION AND R EAL - TIME PROCESSING Chapter 3.7 VCN 9691 Computing Notes 1.

Similar presentations


Presentation on theme: "S IMULATION AND R EAL - TIME PROCESSING Chapter 3.7 VCN 9691 Computing Notes 1."— Presentation transcript:

1 S IMULATION AND R EAL - TIME PROCESSING Chapter 3.7 VCN 9691 Computing Notes 1

2 R EAL – TIME S YSTEMS A real-time system is one that can react quickly enough to data input to affect the real world. The system should process and output data without a significant delay. 2 VCN 9691 Computing Notes

3 A PPLICATION OF R EAL - TIME S YSTEMS The real-time systems are needed in situations where there is a need to make a decision quickly. For example A nuclear reactor may start to react too violently. The sensors will pick up the readings and send input to the controlling program. The control program takes the decision to insert graphite rods to slow the reaction down. The readings from the sensors (input) must be processed immediately. This is a real-time processing system. It is not important how quick the output (insertion of graphite rods) should be. The decision making time is important. 3 VCN 9691 Computing Notes

4 A PPLICATION OF REAL – TIME SYSTEMS 4 VCN 9691 Computing Notes

5 A PPLICATION OF R EAL - TIME S YSTEMS Real time systems can be used in: temperature control systems security alarm systems Biometric objects 5 VCN 9691 Computing Notes

6 A DVANTAGES OF R EAL - TIME S YSTEMS The system will make decision immediately which can be vital in making critical decisions. Real-time systems can eliminate the need of human supervision in certain situations. Real-time systems can help save human lives, equipment and environment catastrophes by providing timely feedback. 6 VCN 9691 Computing Notes

7 D ISADVANTAGES OF R EAL - TIME S YSTEMS Real-time systems are almost always dedicated systems and can not do anything else in order to keep the decision time short. Real-time systems need expensive hardware and software in order to provide the best response time. 7 VCN 9691 Computing Notes

8 T HE FEEDBACK LOOP ; INPUT & OUTPUT ; SENSORS & ACTUATORS A sensor is a device that measures physical quantities such as length, time, temperature, light, flow, pressure, etc Sensors can be analogue or digital. For analogue sensors the computer will require the signals to be passed through an analogue/digital converter (ADC) because the computers can only use digital signals as input. SENSORS ARE FOR INPUT 8 VCN 9691 Computing Notes

9 A CTUATORS An actuator is the device that can accept a signal from the computer and turn it into a physical movement. Actuators are commonly used in devices that are needed to be controlled by a computer system. Example: Turning a robot in a different direction. Opening and closing an automatic door. 9 VCN 9691 Computing Notes

10 ROBOTS 10 VCN 9691 Computing Notes

11 T HE USE OF ROBOTS A robot is a mechanical device which is under the control of a processor. Robots are used because:- (advantages) A single robot can do work that can equally be done by, say, 100 employees, thus helping cut costs on salary. A robot is consistent and does not get tired, as opposed to humans Robots can be used to do work in places that are hazardous to humans, e.g. inside of a nuclear reactor In places where the environment does not have essential components for humans like air, light etc, robots can be used. E.g. on mars exploration. 11 VCN 9691 Computing Notes

12 T HE USE OF ROBOTS Disadvantages Robots are expensive to buy. Robots may not be able to adapt to unexpected situations, because they are preprogrammed. The use of robots has created unemployment to a certain level There is a need, to employ expert technicians to service the machines, programmers to program every task that they need to undertake. Robots break down due to extensive use and require periodic maintenance. 12 VCN 9691 Computing Notes

13 T HE USE OF SIMULATIONS Simulation is the use of a computer program to predict the likely behavior of a real-life system. Simulations involve constructing mathematical models of a system and testing them, usually under controlled conditions. By changing different variables in the model, many different situations can be tested and experienced. Interactive simulations allow the user to ‘interact’ with the simulation by accepting live input and responding to it in real-time. 13 VCN 9691 Computing Notes

14 R EASONS FOR SIMULATION Simulation can be used to predict the results of actions, or model situations, that would be otherwise too dangerous. For example simulating a car’s reaction to imminent crash without necessarily crashing a car. Simulation can help to speed up a process in order to give results in a more reasonable time scale. For example, simulating the growth of a crop which could otherwise take months to grow They can be used to create virtual reality worlds where impossible things seem possible, e.g flying through the rings of planet saturn 14 VCN 9691 Computing Notes

15 R EASONS FOR SIMULATION Production of a test prototype would be very expensive -Time taken to produce and test a prototype may be too long/immediate need Need to test in circumstances unable to be reproduced May be too dangerous to test in reality Situations can be reproduced which may never arise in ordinary testing 15 VCN 9691 Computing Notes

16 E XAMPLE Q UESTIONS 1. Describe the real time application of a computer used to control a burglar alarm system. (4) 2. Explain why some applications require parallel architecture to carry out their processing and describe what is meant by parallel processing. 16 VCN 9691 Computing Notes


Download ppt "S IMULATION AND R EAL - TIME PROCESSING Chapter 3.7 VCN 9691 Computing Notes 1."

Similar presentations


Ads by Google