Real-Time Geophysics Using Linux
Simplicity and reliability are significant elements of the R-T-V base station. Physically, the base station consists of a 9600 baud, 2 watt radio modem, interfaced via a serial port connection to a 166MHz laptop computer with 24MB of RAM running Linux. The computer and radio are both powered by a 12-volt battery. The radio requires an antenna to provide line-of-site communication, sometimes augmented by a repeater, with the mobile survey team's radio. The R-T-V base station program waits for data at the serial port and selects, for visualization and processing, only those data strings tagged appropriately by the magnetometer and transmitter radio. Non-tagged or unrecognizable transmissions are discarded.
A number of events are programmed to occur as data arrive at the R-T-V base station:
The GPS RF data transmission is associated with the corresponding magnetometer RF data transmission. This step involves interpolation of the GPS data to calculate the exact position of the magnetometer sensor.
The actual field transmissions are logged to a file and can be viewed via a “chat” (text) window on the laptop's display.
Regional effects on the magnetic readings are removed using the International Geomagnetic Reference Field correction, and the values are displayed on a scalable strip-chart showing the change in magnetic values over time.
The positions of the survey team are transformed from latitude and longitude and plotted as x-y coordinates on a scalable, two-dimensional map using a Universal Transverse Mercator (UTM) map projection. These applied data corrections simplify the task of data interpretation and map generation for the survey team.
Finally, the converted data are saved to disk.
XForms, a graphical user interface (GUI) toolkit based on Xlib for the X Window System, was chosen as the GUI builder for the visualization. The use of XForms' strip-chart object and two-dimensional plot object facilitated rapid program development. The WYSIWYG (what you see is what you get) interactive form designer made it possible to visually construct each layout for the displays (Figures 8 and 9). A timed call-back routine specifies when to check the serial port for data. Mouse events are handled between serial port reads. This allows for simultaneous screen updates and GUI control, with no noticeable delay to the user. During a survey, magnetic reading failure at the magnetometer is indicated by the stopping of updates to the strip-chart display, and an invalid GPS position is indicated by a color change on the two-dimensional location map.
Use of the R-T-V base station has mitigated many of the difficulties that frequently accompany geophysical surveys. Prior to using the R-T-V base station, our surveys relied on downloading saved magnetic-GPS data from the magnetometer for later post-processing and map generation. Post-processing took up to an additional month after returning home from the field before a magnetic map could be realized and the quality of the collected data evaluated. Sometimes the most interesting magnetic anomaly was just meters away from the survey area, but there was no way of knowing this until weeks later after post-processing. Equipment and power failure remain an ongoing frustration when using batteries and multiple cable connections in the desert and other desolate environments. Real-time monitoring allows for quick problem diagnosis by the whole team, not just the one or two team members struggling to complete the survey. This is especially important if the surveyor has little experience with the equipment, the survey conditions are rugged, or the equipment happens to be mounted on a UAV or a bicycle. For example, one common problem is the loss of differential correction transmissions from a GPS base station. When this happens, the mobile GPS receiver cannot calculate accurate positions, and magnetic readings not precisely located are useless. This situation is often not apparent to the mobile part of the survey team. At the R-T-V base station, we specifically monitor differential GPS quality and can alert the mobile team immediately when a problem occurs.
In practice, our Linux system is able to read RF transmissions smoothly, process and feed data to the displays, and write to the data files in a seamless flow. It is even possible to switch to another virtual desktop and perform various editing or file management tasks while the real-time processing is taking place. Switching back to the real-time display is equally smooth. We were quite satisfied with the performance of our R-T-V system. Much of its success can be attributed to the stability of the Linux operating system. Future enhancements include visualizing multiple surveys concurrently, adding color-coded symbols to the location map to indicate magnetic values, loading previous survey information, performing a real-time magnetic drift correction on the data, and processing transmissions from other geophysical instruments.
Laura Connor is currently working on her M.S. in Computer Science at the University of Texas at San Antonio. Laura's desire to collaborate and Chuck's interest in innovation inspired the development of the R-T-V base station. The collaboration is successful because of their desire to be way out there as well as an eagerness to make things work.
Chuck Connor, a senior research scientist at Southwest Research Institute, received his B.S. in geology from the University of Illinois in Urbana and his M.S. and Ph.D. from Dartmouth College in New Hampshire. He can be reached via e-mail at firstname.lastname@example.org.
- Bruce Nikkel's Practical Forensic Imaging (No Starch Press)
- Transitioning to Python 3
- Progress on Privacy
- Stepping into Science
- Linux Journal December 2016
- Radio Free Linux
- CORSAIR's Carbide Air 740
- The Tiny Internet Project, Part II
- FutureVault Inc.'s FutureVault
- A Better Raspberry Pi Streaming Solution