Open main menu
SUPPORT DOCUMENTATION

Trouble-shooting GNSS/GPS problems

Overview

Güralp digitisers use Global Navigation Satellite Systems (GNSS) to synchronise their sample clocks. This is the most accurate time-source available other than atomic clocks which are expensive and impractical in most circumstances. Güralp GNSS receivers are available for use with the US GPS (formerly Navstar) constellation, the Russian GLONASS constellation, the Chinese BeiDou constellation and, when it becomes available in 2020, the European Galileo constellation.

For best results, Güralp GNSS receivers need to have a clear view of the sky, unobstructed by buildings and foliage. Because they are fully exposed to the elements, the receiver and associated cable are, potentially, the most vulnerable part of an installation. Damage due to animals, vandalism and electric storms have all been reported. If you have problems with GNSS synchronisation, this guide is intended to help you trouble-shoot.

The guide has been split into several pages to cover different combinations of equipment. This page covers white receivers with 6-pin connectors used with CD24 digitisers, 6TD instruments and 3ESPCD instruments with 6-pin GPS connectors. Other pages are available for other combinations of equipment, as detailed in the following list:

Terminology

The following terms are used throughout this document:

Contents

Return to
Table
of
Contents

Accessing the status stream

The status stream from a CD24 digitiser can be inspected using Scream. If it is connected via an EAM, you can also access the status stream using the EAM's web interface or command-line.

Using Scream

Scream displays all streams in the right-hand pane of its main window. If you select a digitiser from the list in the left hand pane - the source tree - the right-hand side of the display will show only streams from the selected digitiser. Once you have selected the digitiser of interest, the status stream can be identified by its name, which will end with two zeros: 00. Note also that the sample rate will be shown as zero (because this is a textual stream) and the RIC will be shown as N/A for the same reason.

If there is a yes in the column headed Rec., the status stream is being recorded by Scream (typically to the local PC, although this is configurable) and you can view previous entries from the configured recording destination: please see the Scream manual for more information. To enable recording, right-click on the stream name and select Start Recording from the context menu.

Data recording in Scream is independent from any recording being performed by the digitiser itself. The recording indication in Scream's main window only applies to Scream's own, local recording functionality.

To view live status stream entries, double-click on the stream name in Scream's main window or select View from the context menu. A new window will open showing the most recent entries:

The screen will be updated in real time: as packets arrive via the status stream, they will be displayed in this window. Note that, although some significant events will trigger the immediate output of a status packet, individual messages in the status stream are normally collected in the digitiser until 1 kB are available before they are packed and transmitted so, depending on how busy or otherwise the traffic on the stream is, it may take several minutes to receive an update.

To avoid this delay when diagnosing problems, open a terminal window by right-clicking on the digitiser's icon () in the source tree and selecting Terminal... from the context menu:

When the terminal window opens, enter the commands OK-1 and flush-status:

Then enter the command go to close the terminal window. Any outstanding status messages will be sent within a second or two and they will appear in the status stream window, if it is still open.

Using an EAM's web interface

If the output of your digitiser is routed through an EAM or if you are using a digitiser or instrument with an integrated EAM, the status stream from the digitiser is recorded by the EAM and included in its own status-recording mechanisms.

You can view the status stream from a connected digitiser using the "System status" screen of the web interface. Start by ticking the "Show hidden values" check-box at the bottom of the screen. Once the display has refreshed, click the tab for the digitiser in question: this will be labelled with the System ID and Serial number of the digitiser.

The status stream is recorded in the "Log entry" sections labelled SOH log where "SOH" stands for "State Of Health", the traditional name for status information.

Using an EAM's command line

If the output of your digitiser is routed through an EAM or if you are using a digitiser or instrument with an integrated EAM, the status stream from the digitiser is recorded by the EAM and included in its own status-recording mechanisms.

The most recent status information from both EAM and digitiser is stored in the file /var/log/messages. When this file is full, it is renamed /var/log/messages.0 and a new /var/log/messages is started. In a similar fashion, any existing /var/log/messages.0 is renamed /var/log/messages.1 and so on until there are twenty files, numbered zero to nineteen, in addition to the current, live messages file.

Regardless of the actual type of digitiser used, the digitiser status stream entries in the messages file are prefixed with the EAM's time and date and the word DM24 followed by a colon (':). This allows the use of the grep command to extract just the digitiser status from the messages files. For example, the command

grep DM24: /var/log/messages

will extract the digitiser status entries from the latest messages file.

you should type DM24 in this command even if your digitiser is a CD24 or embedded in a 6TD instrument.

If you want the status entries from all messages files, the following command ensures that they appear in the correct order (oldest first):

grep DM24: `ls -rv /var/log/messages*`

Because this produces a lot of output, it is wise to pipe the output through a pagination program such as less. For example:

grep DM24: `ls -rv /var/log/messages*` | less

You can now view the output a page at a time by keying the spacebar. It is also possible to move backwards through the entries or to search for specific text: see the less manual page for more information.

Interpreting the status stream

The GNSS-related messages from these systems include:

Monitoring NMEA contents

If there is doubt about the actual contents of the NMEA data stream, it is possible to inject the raw NMEA into the status stream so that it can be inspected. This feature is normally enabled for a few tens of seconds at most: the injection is then disabled and the status stream retrieved and inspected as outlined previously.

When connected directly (not via an EAM)

To enable injection of the raw NMEA into the status stream of a CD24 digitiser, issue the following commands:

OK-1
2 MON !
GO

To disable injection, issue the commands:

OK-1
1 MON !
GO

(Issuing

OK-1
0 MON !
GO

will disable all NMEA reporting. The setting of 1 enables error notifications only.)

When connected via an EAM

In these systems, the NMEA signal from the GNSS receiver is routed through the EAM's Port C before processing by the digitiser. The stream can be viewed as a real-time data-stream from the command-line of the EAM. To do this, issue the command:

minicom PortC

An emulator window will open showing the live NMEA sentences scrolling in real-time. To exit the display, key Ctrl + A then Q.

For more information, please see the minicom manual page.

Configuration problems

It is possible to disable synchronisation by changing configuration settings. If you suspect that this might have happened, please check the following. There are three configuration options which affect the timing subsystem:

The command .FIX is a quick and convenient way to check whether any changes made to the GNSS subsystem have made a difference. It reports the current date and time, the status of the GNSS receiver's fix and the number of satellites currently in view. For successful operation, the fix status must be 3D.

Diagnosis by replacement

This technique is suitable if you have no test equipment but you do have either (a) another installation nearby which is working correctly or (b) equivalent equipment which you know works correctly. In the discussion below, we shall call the installation under test A and the working system B.

Note that, because the problem could be in either the receiver, the receiver cable, the break-out box or the instrument itself, we have to consider the status of all four of these components to be unknown, as indicated by the amber question-marks (?) in the diagrams below. The components of the working system, however, are all known to be good, as indicated by the green ticks () in the diagrams.

The status of the complete system are, in each case, indicated by the Scream digitiser icons, where the colour of the top half of the icon indicates the synchronisation status: green () for synchronised and red () for unsynchronised. These icons are used to indicate test results in the diagrams below.

Checking the receiver

The first step is to interchange the GNSS receivers:

There are two possible outcomes: system A will start working and system B will stop working or there will be no change in symptoms.

If system A starts working

Because the only change we have made to system A is to add the known-good receiver from system B, it is clear that the receiver originally attached to system A must be faulty. We have also verified that system A's cable, break-out box and instrument work correctly, so the status of all components is now known:

The faulty GNSS receiver (now attached to system B) should be replaced.

If there is no change

Because system B is still working, we now know that the receiver originally attached to A was not the cause of the problem. We can mark both receivers as good and restrict our investigation to system A's cable, break-out box and instrument, the statii of which are still unknown:

Continue by checking the cables, as described in the next section.

Checking the cable

The next step is to interchange the cables:

Again, there are two possible outcomes: system A will start working and system B will stop working or there will be no change in symptoms.

If system A starts working

Because the only change we have made to system A is to add the known-good cable from system B, we can see that the cable originally attached to system A must be faulty. We have also verified that system A's break-out box and instrument work correctly, so the status of all components is now known:

The faulty cable (now attached to system B) should be replaced.

If there is no change

Because system B is still working, we now know that the cable originally attached to A was not the cause of the problem. We can mark both cables as good and restrict our investigation to system A's break-out box and the instrument itself, the statii of which are still unknown:

Continue by checking the break-out box, as described in the next section.

Checking the break-out box

The next step is to interchange the break-out boxes:

Again, there are two possible outcomes: system A will start working and system B will stop working or there will be no change in symptoms.

If system A starts working

Because the only change we have made to system A is to add the known-good break-out box from system B, we can see that the break-out box originally attached to system A must be faulty. We have also verified that system A's digitiser and break-out box work correctly, so the status of all components is now known:

The faulty break-out box (now attached to system B) should be replaced.

If there is no change

Because B is still working, we know that the break-out box originally attached to A was not the cause of the problem. We can mark both break-out boxes as good so the only remaining possibility is that the instrument in system A is the cause of the problem:

The configuration of the instrument's digitiser should be checked but, if no misconfigurations are found, the digitiser will probably need returning for repair. Please contact for advice.

Diagnosis by test

If you have a large fleet of installations, it may be worth a small investment in test equipment. An adaptor cable can provide power to the GNSS receiver while routing the NMEA to a PC for display and simultaneously indicating the PPS using an LED. This allows a receiver to be tested without the use of a digitiser.

The cables shown below use socket(s) to connect to the receiver(s) via the existing receiver cables. It is just as easy to use plugs, so that they can be connected directly to the receiver or, if you wish, both plugs and sockets wired in parallel so that receivers can be tested either with or without their associated cables.

All bayonet connectors are compatible with MIL-DTL-26482. Suitable connectors include the ITT/Cannon KPT series, the Amphenol PT series and the Souriau UTS series.

All of the cables use FTDI serial⬄RS232 conversion cables in order to allow direct connection to the USB port of a PC or laptop. Both of the types mentioned below are described in the FTDI USB to RS232 Serial Converter Range data-sheet.

Test cables

Special test cable for six-pin receivers

The cable illustrated below can be used with white, six-pin receivers. Because these receivers require a 5 volt DC power-supply, USB power can be used directly and there is no need for an independent power supply. The FTDI cable shown exposes a 5 volt output on the red wire.

Universal test cable

If you have a mixture of six-pin and ten-pin receiver types, the following cable can be used to test them all. It incorporates the same FTDI cable as used in the 6-pin version to provide the required 5 volt DC supply.

Using a test cable

Connect the GPS receiver to the test cable and plug the USB connector into your PC or laptop.

On the PC or laptop, open a terminal emulator. Minicom is recommended for Linux PCs and PuTTY is recommended for Windows PCs but most emulators will work satisfactorily.

Configure the emulator for:

Some GLONASS-capable GNSS receivers require a 38,400 Baud connection in order to transmit all of the necessary NMEA sentences before the next PPS pulse arrives.

The test configuration should look like this:

You should see NMEA data on screen. NMEA is an ASCII format so all characters should be legible and form one-line "sentences", each beginning with a dollar sign ($) followed by two further characters and ending with an asterisk (*) followed by two further characters.

The two characters following the initial $ are the "talker ID". This will be GP for GPS/NAVSTAR messages, BD for BeiDou messages, GP for GLONASS messages, GN for mixed GPS/NAVSTAR and GLONASS messages and, once it becomes available, GA for Galileo messages.

The final two characters, following the asterisk, are the check-sum for the sentence. Sentences should arrive in groups of around five or six and one group should appear regularly, once per second. If you do not see this and you are happy that the Baud rate is correct, the receiver is not producing NMEA and should be reprogrammed or replaced. Please consult for advice.

You should also see the indicator LED flashing once every second. This shows the incoming PPS pulse, which is used for the fine-grained synchronisation. If you do not see this, the receiver is not producing PPS and should be replaced.

Testing the Break-out Box

Systems with CD24 digitisers without an EAM use a break-out box to separate the data, GPS and power lines from the 19-way connector on the instrument or digitiser. The break-out box is, potentially, an additional point of failure.

The break-out box can be tested with a continuity meter. One with an audible indication is recommended. This makes it easy to check for short-circuits between pins: the probe can be moved around between all pins while you listen for any beeps. If the probes of your meter are too fat to make good contact with the sockets, a bent paper-clip can be inserted into the socket and used as a contact for the probe.

The pin-outs are given below: it is important to check for continuity on each of the relevant connections and also to ensure that there are no short-circuits from any pin to any other. (The complete pin-outs for every connector on the break-out box are given in the 6TD manual.)

Function Pin on 19-way
connector
Pin on 6-way
GPS connector
Isolated ground M A
Power supply to receiver (+5 V DC) G F
NMEA data-stream from receiver J B
RS232 to receiver H C
One pulse per second (PPS) from receiver K D

Further reading