Geodynamics/Vibration Monitoring System
Author(s):
Jerry R. Hall - Quantum Controls, Inc.
Industry:
Research
Products:
LabVIEW
The Challenge:
Acquiring, analyzing, and displaying in-field multi-channel geophysical vibration data. Data to be acquired in both software triggered and free-streaming modes with possible concurrent analysis during the latter.
The Solution:
Creating a portable PC based system with National Instruments DAQ and SCXI modules using LabVIEW for data acquisition and analysis.
"A major Civil Engineering firm needed an upgrade to their geodynamics/vibration monitoring system. The new system allows the simultaneous acquisition of up to 16 channels of conditioned data from field accelerometers."
Abstract
A major Civil Engineering firm needed an upgrade to their geodynamics/vibration monitoring system. The new system allows the simultaneous acquisition of up to 16 channels of conditioned data from field accelerometers. Data may be acquired in any of three modes: software triggered, continuous display, or continuous streaming to disc. During the latter, the operator may either view the incoming data or concurrently analyze previous data.
The user interface has the look and feel of a digital oscilloscope. It gives the operator intuitive control over hardware setup (selected channels, channel gains, and filter cutoffs), acquisition parameters (DAQ rate, scan length, etc.), display settings (channels displayed, display colors, vertical offset, skew, gains, etc), data storage/recall, and data analysis (FT, integration, transfer function, etc.); all from a single panel.
Background
In-field geophysical vibration data is used to characterize soil conditions for construction and other purposes. The data is acquired from accelerometers placed on the ground surface. The acquired data consists of the measured time response of the variously placed accelerometers as the vibrations from an applied shock radiate from the point of application. Data acquisition is generally triggered by a signal from an accelerometer placed close to the point where the shock is applied, however, the operator may need to acquire and record ambient vibrations (nearby traffic, etc.), or to continuously only view the signals for purposes of setup and the like.
The new equipment consists of a National Instruments (NI) SCXI 1000 rack with two paired NI 1140 (simultaneous sample and hold) and 1141 (signal amplifier with low pass filter) modules connected to a portable PC via an NI AI-16E-4 DAQCard. This system allows the simultaneous reading of up to 16 channels of data. The cutoff frequency and gain of the 1141 modules are software configurable allowing the operator flexibility in conditioning the incoming signals (the signals of interest are generally of low frequency and appropriately setting the cutoff frequency eliminates aliasing). A portable power source completes the system.
Software
The challenge of this system was to integrate the various display, analysis, and acquisition (DAQ) modes into one application. Fortunately the ease with which multiple threads can be programmed in LabVIEW made the task much simpler. The program is written around three (3) primary concurrent while loops and an intermittent fourth.
The first loop is concerned only with monitoring and setting the data display parameters (color, skew, offset, gain, selected channels, etc.). These parameters are monitored for change and displayed for any of the various channels independent of whatever other tasks the program is performing. The second loop is for data display and analysis. New data for display is retrieved from a storage-VI and plotted according to the display parameters acquired by the first loop discussed above. When these parameters change, the change is noted and a new display performed. The data is re-plotted only when necessary (parameter change, new data, etc) in order to burden the CPU as little as possible. Cursor information is displayed from this loop adjusted for the display parameters chosen. Changing the display gain, offset, or skew does not affect the channel information returned to the operator. Finally, data from the storage-VI can be analyzed by Fourier transform, integration, differentiation, cross correlation, etc with the result being displayed in an additional data channel. In total, sixteen data channels and one analysis channel can be displayed a once.
The third loop processes tasks that, with one exception (see DAQ modes discussed below), are not meant to happen concurrently. These include, among others, data storage and recall; setting, checking, and display of DAQ parameters (live channels, channel gains, low-pass filter settings, scan rate, trigger value, etc); and data acquisition (three different modes). File recall and data acquisition both write their new data to a storage-VI where it is retrieved for display and analysis in the second loop as discussed above. Note: data acquisition and display operate as independently as possible of each other. All of the parameters, controls, and displays discussed above are accessed from a single screen. Appropriate use of control elements’ visibility helps reduce screen clutter. An example of the screen can be seen in figure 1 below.
Triggered DAQ
The first mode of data acquisition is the triggered mode using LabVIEW’s analog trigger. On receiving a signal that crosses the trigger threshold in the designated channel, a prescribed number of pre-trigger and post-trigger data are acquired and displayed. The operator can choose to average a number of triggered events.
Continuous DAQ
The second mode of DAQ acquires data continuously until stopped by the operator. A pseudo chart display is achieved by effectively appending the new data to a fixed length array while rotating and removing the oldest data off of the front. The updated array is then written to the storage-VI. This DAQ mode uses LabVIEW’s DAQ occurrence method (asynchronous acquisition where the software doesn’t sit idle while the DAQ device collects the data), freeing time for the CPU to plot the incoming data.
DAQ with Streaming to File plus Concurrent Analysis
The third mode of DAQ is similar to the method discussed above plus it also streams the acquired data to a file at the same time. In addition it gives the operator the option of simultaneously viewing or analyzing older data by putting the data acquisition in the background to run unattended. In this mode the operator specifies the size and number of data files he wishes to acquire. The system then saves the data to a series of files until either the specified number of files are saved or the acquisition is stopped by the operator. This DAQ mode is intended for long, perhaps unattended data runs.
To save memory storage space, binary data is streamed to file for storage. To save CPU time, when the DAQ is being done in the background and the acquired data is not being plotted, the analog output of the data-acquisition-VI is disabled. When this DAQ mode is being run, the operator can switch the DAQ to and from background without losing the older data that is being analyzed.
Conclusion
The customer is using the system in the field and is very pleased with the increased functionality. He especially appreciates not having to page through a number of screens to view or set a parameter. The use of DAQ occurrences frees up more time for the CPU intensive data plotting, resulting in smoother display updates. The use of concurrent while loops prevents the display from interfering with the DAQ system and eases the programming.
Related Case Studies
Distributed Event Monitoring SystemDeveloping a Multipurpose Laser-Based Monitoring System Using NI LabVIEW and DAQ
Portable Real-Time Vibration Monitoring System
Developing Stimulating and Monitoring System Responses using LabVIEW
Monitoring Electromechanical Shovels for Open-Pit Mining
|
|
