Customer SolutionsDown to Earth Data Collection Using a NB-MI-16X and NI-DAQ Software
Author(s):Paul Rydelek, Center for Earthquake Research and Information at The University of Memphis
Industry:University/Education
Product:Data Acquisition
The Challenge:Developing a low-cost, computer-based system for monitoring a gravimeter.
The Solution:Using a Macintosh with a DAQ board controlled by NI-DAQ.At the Center for Earthquake Research and Information (CERI) we developed a data acquisition (DAQ) system to continuously record the output of a very sensitive gravimeter. This instrument can measure minute changes in the gravity field of the earth from the tidal effects of the sun and moon. To monitor the tidal response of the earth for purposes of earthquake prediction research, a long continuous record (~year) with high resolution is required. The ultra low-frequency response of this gravimeter (DC to 0.05 Hz) also makes it an excellent long-period seismometer that can detect seismic waves far outside the frequency band of conventional seismometers. For example, we record the output of a microbarograph, because changes in atmospheric pressure affect gravity from the Newtonian attraction of the changing air mass. Low-level signals are amplified by the programmable gain of the NB-MIO-16X before recording, and several spare channels are available for future research projects. Because of the distance between the gravimeter and recording site (~300 m), the single-ended outputs of the sensors are converted to differential mode. By doing this, we can use existing twisted-pair phone lines instead of installing a low-noise shielded cable, giving us an inexpensive solution. We added two-stage lightning protection at both ends of the phone lines in order to prevent damage to system components from the many thunderstorms that plague this area. Accurate time information is essential in gravimetric and seismic studies, so a GOES satellite synchronized clock provides the time of day in both a RS-232 serial format and IRIG-H (1 pps) coded time pulses. We use a simple circuit to invert the IRIG-H code so it provides an external trigger signal (STARTTRIG*) to the NB-MIO-16X. Upon triggering, the NB-MIO-16X is programmed to sample its eight differential input channels at a relatively high sampling rate (1 kHz internal clock) for a total of 20 samples per channel; we then obtain mean values by numerically averaging the 20 samples. Because IRIG-H pulses are 1 second apart, we can increase signal-to-noise ratio by performing over-sampling, followed by real-time averaging of the data in the idle time between trigger pulses. After sampling and averaging, the time is read to the nearest second from the serial port, which is the exact time of the IRIG-H trigger pulse. We then discard empty channels and store all the data in a buffer. The program then waits until the NB-MIO-16X receives the next trigger pulse and repeats the above sequence. When the buffer is full, the data is written as binary floating-point numbers onto an 88 MB removable cartridge disk. One line of a digital output port on the NB-MIO-16X is used to drive a LED. This line is toggled before and after data sampling, thus providing a monitor that blinks reassuringly each second as data is acquired. Our DAQ system has run continuously for well over a year at the time of this writing without significant errors. View the entire user solution in Adobe Acrobat PDF format. |
