Ifte Ii
Ifte Ii
PROCESSING
SYSTEM
(DAS)
M.GANESH KARTHIKEYAN
FACULTY OF MECHANICAL ENGG.
TRP
1
Gathering
Processing
Storing
Displaying
Signal conditioning
Signal transmission
3
4
Collect the data.
Process them in desired fashion.
Record the results in the form suitable for storage,
presentation or subsequent processing.
5
III.OUTPUT STAGE
Ex:
Data display and storage in printed form on a
sheet of paper or in graphical form on suitable
paper, storage on magnetic tapes or disks or in
internal memory of computer.
6
MULTI CHANNEL DAS:
Multi channels should be provided to
collect multiple data inputs.
Must have an individual channel for
each variable to be studied.
Due to equipment duplication, cost will
be high.
Scanner/ programmer is normally
employed for multiple - channel work.
7
8
SCANNER
Devices that samples the data channels in rapid sequence so that
only one conversion and output stage is necessary.
Programmed to collect any desired range of variables in any
order.
DIGITAL CLOCK
Used to collect the data at regular time intervals or in some
particular time sequence.
Perform the timing function automatically.
SIGNAL CONDITIONING
Output of the scanner should be signal conditioned.
It may be amplification, A\D conversion, filtering, distortion or
harmonic analysis of wave form.
9
FLEXIBLE SYSTEM
Use of such system depends on its cost.
11
Menu driven software is included used to set up scale,
range, units, digital input and output, data logging and
process control for any of the channels.
Hundreds or thousands of analog inputs can be
allowed for a single PC.
Stand alone interface does not depend on the type of
computer.
Can incorporate single or multiple variables channels.
May or may not be supplied with software capability.
User can use his own software using BASIC,
FORTRAN, C and other languages.
12
ONBOARD MICROPROCESSORS
Some DAS uses on-board
microprocessors for data analysis and
storage.
Possible to analyze some data
channels while storing the output for
later manipulation.
Digital oscilloscope may be provided in
CPU.
13
SIGNAL CONDITIONING
Filters are used to prevent noise transmission.
PASSIVE FILTERS
Consists of passive elements like resistors, capacitors and
inductors.
Inductors increase the size of filters, hence no compactness.
ACTIVE FILTERS
More amplifiers can be added.
Based on using integrated circuits.
No need for inductors.
Combination of R,C and operational amplifiers will replace and
19
USING CODES
Ex: Transmission of temperature in the
form of a four-bit word.
If voltage produced by the transducer
20
21
Used to provide limited degree of
protection against noise.
Receiver can determine any one of
the bit in 4-bit word is incorrect.
In such case, receiver can ask a
second transmission. This is called
parity checking.
Signal-conditioning circuits add a
fifth binary bit such that total
number of 1s in the 5-bit word is
even.
Ex: Temperature values are 57,52 &
48o C corresponding 4-bit words are:
1011,1010,1001
22
Parity checking bit would be added
such that three 5-bit words would be
10111,10100,10010.
If the words arrived at receiving
stage are 10111,10110,10010;
Then presence of an odd number of
1’s in second word would initiate a
request for retransmission.
But here even number of errors (Ex :
10111 sent & 10001 received),
multiple errors can’t be detected.
23
Analog representation – physical variable
treated as continuous quantity
Digital representation – quantity restricted
to discrete, non continuous
2n different ranges can be designated by an
24
Why A/D conversion ?
• Noise immunity
• Codes can be used
• Error detection and error correction is possible
• Data processing capability of digital computers
can
be used
• Digital signals can be transmitted for long
distances
25
SUCCESIVE – APPROXIMATION A/D CONVERTER
Stable reference voltage Eref is fed to the
resistance and switch network.
Output of the network is fed to an operational
amplifier.
Output of an OP-AMP is fed to voltage comparator
which compares the signal with a given analog input.
If it is too large, zero is recorded; If it is too small, a
unity bit is recorded.
This process is continued to the least significant bit.
Sequence of 0’s & 1’s represent value of analog
signal. 26
27
28
ADVANTAGES
• Rapid conversion time (2µs for an 8-bit device).
DISADVANTAGES
• Input signal changes during the bit- by- bit process ,
error will results in final representation.
29
Incoming analog signal is digitized in time steps which
increase by factors of 2 up to 2M, where M is the No. of bits.
Signals are fed to an integrator and operated for time
interval T.
Reference voltage of opposite polarity is then impressed and
∆T measured for the output of integrator to return to zero.
Input voltage Ei = Eref (∆T/T)
Advantage – High accuracy.
Disadvantage – Slow conversion rate.
30
31
32
RESOLUTION
Fraction of the least significant bit (LSB) to the largest number represented
in terms of the full-scale voltage of the device.( minimum signal that could be
detected )
33
QUANTIZATION
Quantization of a device =± ½ LSB
Ex : for an 8 – bit A/D converter with an EFS of 10 V
Resolution = (EFS / 2M)=(10 / 28) = (10 / 256) = 0.0391 V
= 39.1mV
34
STRAIGHT BINARY CODE GRID BINARY CODED DECIMAL (BCD)
35
36
BIPOLAR OR COMPLEMENTARY CODE
To represent positive and negative number in binary
form a convention is used.
Zero designates positive numbers.
One designates negative numbers.
This conversion is called bipolar or complementary code.
-9 is indicated by 11001
+9 is indicated by 01001
specification of A/D converter:
Ex : 16-bit, bipolar, 15-bit resolution indicates one bit
used for sign designation.
37
DATA STORAGE AND DISPLAY
Display and storage :
Storage of data & display of data do not always
require different apparatus.
Relatively simple methods of data display
system provide simultaneous storage.
Ex : xy plotter, strip-chart recorder,
paper tape output from calculator or computer
recording of data by pen in note book.
storage oscilloscope memories (limited memory as
long as it is left on).
38
ONLY STORAGE
Some devices are intended to provide only storage
functions.
Ex : magnetic tape, CD’s, magnetic disks,
semiconductor materials.
39
DISPLAY DEVICES :
Some devices are intended to provide only
display.
Ex : 1. Light-emitting-diode (LED)
Semiconductor diodes which emit light under
positive voltages are used as light sources.
No filaments or other parts that can burn out.
Have very impressive operating lives.
Requires significant amount of power.
Tend to ‘wash out’ in bright ambient lighting
Digital watch – when time is required, button
may be pressed and after noting the time, it
may be switched off to save the battery life.
40
EX: 2 LIQUID CRYSTAL
light-reflecting properties.
41
HARD WIRED LOGIC ARRAYS :
In addition to gathering, storing,
decision.
42
In addition to conventional elements of
DAS, a new element may be provided to
take decision electronically.
In this example, “ is the temperature T is
greater than the safe operating Tmax ? “
is electronically answered.
If the answers is “ yes” , the system
generates an electronic signal which
begins an automatic emergency shutdown
of the nuclear reaction.
If the answers is “no”, the system allows
the core to continue to operate.
43
44
SCHMITT TRIGGER :
• To take logical decision, a single integrated circuit called
Schmitt trigger can be used.
• Threshold voltage VT can be electronically controlled.
• This voltage is equal to the output of transducer when
nuclear core T = Tmax
• When operating T < Tmax, the output voltage of Schmitt
trigger is positive, & it is fed through appropriate interface
circuits to the emergency shutdown equipments. This is
called logic design.
45
46
EXAMPLE FOR LOGIC DESIGN :
Circuit to monitor traffic control signal
It generates errors message when
47
48
49
Error messages occur whenever three or no lamps are lit, &
any two lamps other than red-yellow are lit.
Logical processing can be carried out by means of digital
logic circuits.
Logical AND gate – used to decide if all three lamps are ON.
It will produce a positive output voltage only if each of the input is
positive.
In this case an output will occur only if all three of the lamps are
simultaneously lit.
Since this is an error condition, this output signal could be used to
generate the necessary error message.
50
The logical decisions can be made by wiring together various
gates & connecting them in the appropriate way to the input & output
circuits.
Such systems are called hard-wired logic arrays.
Microprocessors now provide logic circuits that may be
programmed to perform needed logic function for a particular
application.
Within limits set by the available instructions, the size of the
memory, the interface circuits & cleverness of designer, the
microprocessor is a universal logic circuit.
Rather than having to manufacture a wide array of custom-
designed circuits, only one microprocessor can be designed.
51
2.1. A 12-bit A/D converter is to be employed with a chromel-
alumel thermocouple such that the resolutions of 10F is
obtained at 1000F. What is the maximum full-scale voltage
that may be accommodated for this application ?
solution : from table, for chromel- alumel thermocouple
T(0F) E(mV)
50 0.412
150 2.667
Sensitivity at 1000F
∆ output ∆E
S= =
∆ input ∆T
52
2.667 – 0.412
= = 0.02254 mV / 0F
150 – 50
For 10F resolution the ADC must have a resolution of
0.02254 mV.
Hence resolution
EFS
Q= = 0.02254 mV
2M
EFS= 0.02254 * 212 = 92.324 mV
54
2.3 An ADC is to operate with a full-scale voltage of 10V. How
many bits should be employed to obtain a resolution of
0.01 percent ?
Resolution EFS
Q=
2M
Resolution is equal to 0.01% of full-scale voltage
Q
= 0.01% = 0.001
EFS
Q 1
= = 0.0001
EFS 2M
Ln(1/0.0001)
M = = 13.29
Ln2 55
It is rounded up to 14 bits
56
MICROPROCESSOR
It is an large scale integration chip that is capable of performing
arithmetic and logic functions as defined by a given program.
Microprocessor forms only a part of microcomputer.
57
BLOCK DIAGRAM OF MICROCOMPUTER
INPUT/OUTPUT ARITHMETIC/
MEMORY
DEVICES LOGIC CIRCUITS
CONTROL
58
Microcomputer comprises an ALU (arithmetic
logic unit), memories of temporary and semi-
permanent storage, input/output devices, and a
control unit.
The arithmetic and logic operation to be
performed by ALU.
Information is transferred from outside the
computer into it and vise versa by the i/o
devices.
The control units co-ordinate the activities of
the various elements.
The micro processor used in micro computer
consist of the control unit and ALU which is in
combination forms the CPU.
It has the ability to control the I/O devices and
to transfer information to and from the memory.
59
The basic functional building blocks of a
microprocessor are:
60
MICROPROCESSOR ARCHITECTURE
DATA
BUS
INSTRUCTION
ALU
INTERNAL DECODER
ADDRESS REGISTER
BUS
Ø1
CLOCK
Ø2 TIMING
&
SYNCHRO
CONTROL
NIZATION
EXTERNAL
CONTROL
61
With reference to these basic building
blocks shown, the microprocessor may
be considered to be an IC component
that is capable of performing arithmetic
and logic operations under program
control, in a bit parallel fashion.
The ALU performs basic arithmetic and
logical operations on binary data stored
in two registers of the microprocessor.
Such operations are performed by an
‘adder’ as well as by “logic gates”.
The instruction decoder is typically an
internal read only memory which
translates the machine instruction code
into micro-instructions which are
executed by the processor.
62
Thecontrol and synchronization block
interprets the micro-instructions, to put
out appropriate control and
synchronization pulses to other parts of
the system.
63
Microprocessor is used in data logging.
A typical data- logging system (DLS)
can use varied types of signal
conditioners, amplifiers and output
devices.
A printer is most commonly employed
in the data logging of slowly varying
data.
A certain amount of processing of data
may be involved in certain cases, such
as linearization of thermocouple
output, computation of the average
value of a certain set of data inputs or
conversion to engineering units.
64
In addition the comparison of the
measured data with preset maximum
and minimum limits and actuation of
out-of-limit indicators or initiation of
alarms can also be carried out.
Eventually, the system can also be
65
The requirements of data-logging
system which is to collect data
periodically from 100 locations are:
66
2. The provision to monitor
temperature at 20 points.
Temperature range 0-1000oC.
Transducer used – k type
thermocouple.
Output data are to be linearized to
provide direct display of
temperature to within ±0.1%
±0.1oC.
Visual indicators are to be actuated
when the set temperature limits
are exceeded.
Reading rate : once in every 5
minutes.
67
3. The provision to monitor 20 control point
voltages. Alarms are to be set when any of
them falls out of the range of ± 5V.
Simultaneous visual indication of the
particular station where the voltage is out of
range is to be displayed.
68
CHANNEL SELECT
GAIN SELECT
DISPLAYS
CONVERT COMMAND
REAL TIME
LOAD CELL-1
CH
LOAD
CH
LOAD CELL-60 TEMP
INPUT OUTPUT No
MULTIPLEXER
AMPLIFIER
CONTROL POINT
THERMOCOUPLE-1 No VOLTAGE
MICRO
COMPUTER
OVER VOLTAGE &
THERMOCOUPLE-2 OVER LIMIT INDICATORS
CONTROL POINT
VOLTAGE-1 CASSETTE RECORDER
CONTROL POINT
VOLTAGE-20
69
The processor can command low-level or
high-level multiplexers at appropriate
time to access the data from a desired
channel, convert the data into digital
values, store this in RAMS within the
system and proceed to log data from
other locations.
For monitoring and display of
temperature, thermocouple output will
be amplified and linearized by look-up
tables stored in the system in read only
memories.
The linearized output can be
transferred to be output ports that
controlled the displayed comparison can
be made of the temperature with the
limit values alarm can be activated based
on this comparison when the limits are
exceeded. 70
The monitoring of other 20V levels
corresponding to the control functions can
also be carried out in much the same way.
71
It can also have a cassette interface
for recording the “load cell” data from
the 60 stations.
When the microprocessor has to be
necessarily operate on instruction
sequentially, the fast speed at which it
operate enables it to access, convert,
compute, display & record information
from various stations.
It is thus ideally suited for logging of
many parameters and to take
intelligent decisions based on
computations carried out on these
measured data.
72