Module 1
Module 1
Module -1
Introduction to Real Time Systems
Historical Background
Brown and Campbell – 1950 – Earliest proposal - Computer operating in real time.
First digital computer – developed for real time control – for airborne operation
In 1954, a Digitrac digital computer was successfully used to provide an automatic
Luling,Louisiana.
In 1960,Jan 20th –Commisioning of computer control for ammonia plant at
Luling,Louisiana-began
In 1960,April 4th -Closed loop control was achieved-after rewriting-the control
plant in Texas City and a hierarchial control scheme for the petrochemical
complex at Chocolate Bayou.
Historical Background
In 1962,November,The first direct digital control(DDC) computer system was the
Ferranti Argus 200 system installed at the ammonia-soda plant at Fleetwood, UK.
The computers used in the early 1960s,with combined Magnetic core memories
and drum stores , the drums eventually giving way to hard disk drives.
In late 1960s,real-time opearting systems were developed and various PROCESS
control system.
Elements of a Computer Control
System:
Computer control of an Hot Air Blower:
Generalised Computer System:
Generalised Computer Control System:
Computer Control Showing Communication
Tasks:
Real Time System:Definition
Real time: It is the time span taken by the system to complete all its tasks
and provides an output for an input. This time span should be the same for
computation of all its tasks.
Real time system: Real time systems are those which must produce the
depends upon the logical output of the computation and the time at which
the results are produced.
A typical real-time system:
Example – Car driver:
Mission: Reaching the destination safely.
Controlling System
results, but also on the time in which the results are produced.
3) Interactive systems:
The combination of Clock based system and Event based
system which gives the importance of average execution
time of the task is called interactive systems.
This covers the systems like Automatic teller machine,
reservation system for hotels, Airlines booking etc.
This systems receive the input from the plant or operator
and initiate the task and executes within the average
response time.
Time Constraints
• Hard real-time — systems where it is absolutely
imperative that responses occur within the required
deadline. E.g. Flight control systems.
0
deadline time
An example for an Hard Real-Time Control
System: Hot air blower system
An example for an Soft Real-Time System: An
Automatic Teller Machine(ATM)
The Automatic Teller Machine is event initiated in that
it is started by the customer placing their card in the
machine.
The time constraint on the machine responding can
say,10 seconds, with the average being measured over
a 24 hour period.
Formal definitions of the Real Time Systems:
Classification Of Programs:
There are three types of Programming:
1) Sequential
2) Multi-Tasking
3) Real-Time
Classification Of Programs:
1) Sequential : In Sequential programming, actions are strictly
ordered as a Time Sequence. The behaviour of the program
depends only on the effects of the individual actions and
their order.
2) Multi-Tasking: Actions are not necessarily disjoint in time ,
it may be necessary for several actions to be performed in
parallel .
3) Real-Time: Actions are not necessarily disjoint in time , and
the sequence of some of program actions is not determined
by the designer but the environment (by events occurring in
the outside world which occur in real-time and without
reference to the internal operations of the computer).
Sequential Programming:
Multi-tasking:
Module -1(Unit-2)
Concepts Of Computer Control
Introduction:
In the industrial process control field, applications are
typically classified as follows:
1) Batch
2) Continuous
3) Laboratory(or test)
Batch:
The term batch is used to describe processes in which a
sequence of operations are carried out to produce a quantity
of a product-the batch-and in which the sequence is then
repeated to produce further batches.
An important measure in batch production is set-up time,
i,e, the time taken to prepare the equipment for the next
production batch.
This is wasted time in that no output is being produced.
The ratio b/w Operation Time(the time during which the
product is being produced) and set-up time is important in
determining a suitable batch size.
Examples of Batch Production:
Baked goods.
Clothing.
Computer chips.
Computer software.
Die- or mold-making.
Electrical goods.
Flat-pack furniture.
Jet engine production.
Disadvantages of Batch production:
1) Cost
2) Performance
3) Safety
PID Control:
DDC Application:
DDC Techniques:
1) Inferential
2) Feed forward