2.data Acquisition System and 3.virtual Instrumentation
2.data Acquisition System and 3.virtual Instrumentation
2.data Acquisition System and 3.virtual Instrumentation
• Data acquisition (DAQ) systems are the main instruments used in laboratory research
from scientists and engineers; in particular, for test and measurement, automation, and so
on.
• Typically, DAQ systems are general-purpose DAQ instruments that are well suited for
measuring voltage or current signals.
• However, many sensors and transducers output signals must be conditioned before that a
board can acquire and transform in digital the signal.
Elements of DAQ
DAQ Systems
The functional diagram of a typical DAQ system can be described of the following main
components:
• Input multiplexer
• Input signal amplifier
• Sample and hold circuit
• A/D converter
• Memory (DMA)
• Timing system and filtering
• Bus interface
• Digital signal processing
• Microprocessor and/or Field-Programmable Gate Array
Data Loggers
Data logging is the process whereby collected data is recorded. This data is collected over
a defined amount of time. Data loggers tend to be small and they are mostly used for the
measurement of relatively small signals. Many of these data acquisition systems are
intended for the collection of data over a long period of time.
Depending on the type of application, the data can be used to read voltages, temperature
measurements, humidity levels, currents, or other signals of interest. Data loggers are
self-contained data acquisition systems with built-in processors and predefined software
embedded in the unit.
A data logger is capable of running as a standalone device. Data loggers are popular due
to their portability as well as ease of use for specific tasks. Every data logger consists of
local storage capacity for saving data. Some data loggers include SD (secure digital) slots
as a means for providing additional memory through the utilization of memory cards
(featuring memory chips). The data may be collected and temporarily stored on an
individual data logger and then sent via a data link ( a removable memory card) at
regular, convenient intervals. Some web-enabled data loggers can even be configured to
directly share their data over a network.
Some data loggers are battery-powered for additional portability. By definition, a data
logger will consist of a more limited set of inputs and tend to have a more basic format
like the already mentioned signals including temperature, current, voltage, etc. Data
loggers can also be used for the collection of geological data for long-term monitoring of
many items.
A/D converters
Parameters of AD Converters
Some important factors can be described in the following points:
• Input voltage range: The input voltage range of an ADC is determined by the reference
voltage applied to the ADC.
• Resolution: The resolution, expressed in bits, of the converter indicates the number of
discrete values (binary) that can be produced over the range of analog values.
D/A converters
• A DAC is an electronic device that converts a digital (usually binary) signal to an analog
signal (current, voltage, or electric charge).
• A common use of DACs is the generation of audio signals from digital information in
music players.
Parameters of DA Converters
The most important characteristics of these devices are:
• Resolution: This is the number of possible output levels the DAC is designed to
reproduce.
• Monotonicity: Ability of a DAC’s analog output to move only in the direction that the
digital input moves.
• Full scale range (FSR): Maximum output signal for the DAC.
• SFDR, Spurious Free Dynamic Range: The difference between the RMS power of the
fundamental frequency and the largest spurious signal in the bandwidth.
Opto-isolation (Opto-coupler)
Working of Opto-isolation:
phototransistor) for signal reception. In this way, the input signal can either generate
electric energy or modulate an electrical current that's coming from an electronic device
or other power supply.
2. When the input current is applied to the LED photodiode (a common type
of photosensor), infrared light is produced and passes through the material inside the
optical isolator. The beam travels across a transparent gap and is picked up by the
receiver, which acts as a converter. Using signal isolation, the sensor is able to transform
the modulated light back into an output signal.
3. The input side of optoisolators could be a photoresistor, a photodiode, a phototransistor, a
silicon-controlled rectifier or a triac. An optocoupled solid-state relay contains a
photodiode optoisolator that drives a power switch on the output side, usually a
complementary pair of MOSFETs.
3 Virtual Instrumentation
Virtual Instrumentation
Sensor Module:
The sensor module performs signal conditioning and transforms it into a digital form for further
manipulation. Once the data are in a digital form on a computer, they can be displayed,
processed, mixed, compared, stored in a database, or converted back to analog form for further
process control. The database can also store configuration settings and signal records. The sensor
module interfaces a virtual instrument to the external, mostly analog world transforming
measured signals into computer readable form.
Sensor Interface:
There are many interfaces used for communication between sensors modules and the computer.
According to the type of connection, sensor interfaces can be classified as wired and wireless.
Processing Module:
Database Interface:
Virtual instruments are increasingly integrated with other medical information systems, such as
hospital information systems. They can be used to create executive dashboards, supporting
decision support, real time alerts, and predictive warnings.
Programming Techniques VI
Front Panel
The front panel can include knobs, push buttons, graphs and various other controls (which are
user inputs) and indicators (which are program outputs). Controls are inputs used to simulate
instrument input devices and supply data to the block diagram of the VI, and indicators are
outputs displays used to simulate instrument output devices and display data the block diagram
acquires or generates. The front panel is customized to emulate control panels of traditional
instruments, create custom test panels, or visually represent the control and operation of
processes.
Block Diagram
The block diagrams accompany the program for the front panel. Front panel objects appear as
terminals on the block diagram and the components wired together. After the front panel is built,
codes are added using graphical representations of functions in the block diagram to control the
front panel objects. The block diagram contains the graphical source code composed of nodes,
terminals, and wires. The components of a block diagram are lower-level VIs, built-in functions,
constants and program execution control structures.