Guralp Systems Limited
MAN-C3E-0002 - Güralp 3ESPCD Digital Broadband Seismometer (DM24 Versions) - Users' Guide

Chapter 5. Using Scream!

Scream! is a versatile seismic data visualisation program for Güralp instruments, and is available for free download from Güralp Systems. See http://www.guralp.com/scream/ for details about how to obtain Scream!.

5.1 Configuring digitisers

Scream! distinguishes between configuration and control of digitisers. The most important difference is that a digitiser may be controlled through Scream! at any time whilst it is acquiring data, whereas configuration options only take effect after a reboot (with consequent loss of data). To change the configuration of any connected digitiser:

To control a digitiser whilst it is running, either right-click on the digitiser's entry in the list and click Control..., or double-click the entry. In either case Scream! will contact the digitiser to retrieve control information and display the Control window. The options you can control immediately are:

Some of these options can also be altered in the Configuration set-up window. For more information on the Control window, see section 5.2.

If you need a more powerful interface to the digitiser, you can also issue commands to it directly using Scream!'s terminal mode. A terminal window is opened by right-clicking on the digitiser's entry in the list and selecting Terminal.... The digitiser will stop collecting data while you have a terminal window open. The remaining sections of this chapter describe in detail the configuration options available for the digitiser. Many of these options will also be available for other Güralp digitisers

5.1.1 System ID

The System ID pane gives information about the digitiser and its internal software, and allows you to change GPS timing parameters.

5.1.2 Output control

The Output control tab allows you to configure which data streams are sent to Scream! from the digitiser.

Güralp digitisers initially sample incoming data at a high rate (e.g. 512,000 Hz for the DM24), which is then filtered and reduced to a lower rate (decimated) using an on-board digital signal processing unit, or DSP. The DSP has several filtering-decimation stages, which run one after the other. Stages which can produce output are called taps. The Güralp DM24 can output 4 taps simultaneously. The input to the tap chain is fixed at 2,000 samples per second.

Each configurable tap can be set to a different decimation factor by choosing values from the drop-down menus on the left. Decimation factors of 2, 4, 5, 8, and 10 are available. The numbers visible in the drop-down menu of each tap are the data rates that each of the possible decimation factors will provide, given the settings of the taps above it. Only integer (Hz) data rates are allowed: thus, for example, if one tap emits data at 25 Hz, the only possible further decimation factor is 5.

To the right of each decimation factor menu is a grid of check-boxes. These boxes mark which streams of data to generate at each sample rate. The screen-shot above shows a possible configuration for a triaxial instrument. Every channel of the digitiser may be output at any tap; currently, all three axes are being output at Tap 2 (20Hz).

Note: If you want to change the names used for the channels, click in the white box containing a Z in the above picture, and type a letter or number. It will name the channels with a sequence of letters or numbers beginning with the one you choose (e.g. A, B, C; 2, 3, 4; 9, A, B), unless you type Z in which case they will revert to Z, N, and E.

Each combination of channel and tap has two check-boxes. The upper check-box of each pair activates continuous output, whilst the lower activates triggered output. In the example above, the digitiser will output data continuously for all three channels at Tap 2, but never for any other taps. If you do not need all the streams to output at all rates, you should leave boxes clear to save communications capacity. You cannot tick both continuous and triggered output for the same channel and tap.

When you enable a triggered stream, the digitiser will output data in that stream only when a particular set of trigger criteria are met. This is shown diagrammatically as data passing through a switch. In the example above, we might want the high-rate data from Tap 0 to be generated only when an event registers at some other tap. To do this, the lower check-boxes of Tap 0 should be ticked.

With this configuration uploaded, Tap 2 will continue to produce output at all times, but Tap 0 will also emit data whenever the trigger criteria are met. The Triggering button is now shown in red to remind you that the trigger is active.

Every ticked box in this window will give rise to a data stream coming from the digitiser, which will be displayed in Scream!'s main window when Scream! first receives some data from it. Every stream is identified by a 6-character code, where the first four characters identify the digitiser, and the last two characters identify the individual stream. The first four characters are set by default to the serial number of the digitiser; you can change this on the System ID pane (see section 5.1.1) or from the digitiser's console.

Using the example above, there are three data streams, Z, N and E, which each output data at 20 samples/s (continuously) and 200 samples/s (occasionally).

In this example: •

Other streams you may see include •

5.1.3 Triggering

In its standard configuration, the digitiser outputs continuous data at a sample rate you specify. In addition to this, Güralp digitisers can run a triggering algorithm on the data they acquire. This allows you to record data continuously at a relatively low sample rate, but record at a much higher sample rate during short periods when the trigger is active. The parameters controlling the triggering algorithm, and controlling the data output once the system is triggered, are all selectable by the user, permitting maximum flexibility of operation and the most efficient use of available storage space.

The digitiser can be set up for triggered output, that is, to output certain data streams only when a particular trigger criterion is met. The trigger criterion can be tested with data from the same or some other stream. For example, you could use a later tap (with a lower sample rate) as a trigger for output from an earlier, more detailed tap. Scream! also allows you to configure each digitiser to receive triggers from other digitisers.

To create a new stream with a trigger, open Scream!'s digitiser configuration window for the relevant digitiser, and click on the Output control tab. In the Output control pane, a tap which gives rise to a triggered stream has a tick in the lower row of its grid of check-boxes. You cannot configure the trigger criteria until you have selected at least one stream to be affected by the trigger.

Once you have decided which streams should be output when the trigger is activated, you will be able to click on the Triggering button to describe the trigger condition. Alternatively, click on the Triggering tab at the top of the window. Either action will open the Triggering pane:

There are two triggering algorithms which Güralp digitisers can use: STA/LTA and level-triggering. In addition, software and external triggering options are available.

5.1.3.1 STA/LTA

The STA/LTA algorithm applies a simple ( short-term average ÷ long-term average ) calculation to the triggering stream. It works by identifying sections of an incoming data stream when the signal amplitude increases. The purpose of taking a short term average, rather than triggering on signal amplitude directly, is to make it less likely that spurious spikes will trigger the device. Averaging also introduces an element of frequency selectivity into the triggering process.

You can select which tap is tested for the trigger from the Data source drop-down menu. The tap does not have to output data to Scream! for you to be able to use it here.

Any or all of the channels available at that tap may be used to determine a trigger. You can select which channels are considered by ticking the boxes in the Channel column of the table. If any of the ticked channels passes the trigger condition, the trigger will activate, and will not de-trigger until all of the ticked channels have fallen below their respective ratio values.

The STA and LTA columns allow you to set the intervals over which the two averages are calculated, in seconds. Typically, the time interval for the short term average should be about as long as the signals you want to trigger on, while the long term average should be taken over a much longer interval. Both the STA and LTA values are recalculated continually, even during a trigger. The Ratio column determines by what factor the STA and LTA must differ for the trigger to be passed. Finding the ratio most suited to your needs is best done by experiment. Too high a value will result in events being missed, while too low a value will result in spurious non-seismic noise triggering the system. Like the averages, their ratio is continuously recalculated for all components. Note that none of the boxes are allowed to be empty, and so you will need to enter the new value before removing the old one. Alternatively, you can use the up and down cursor keys to change the values.

For example, setting the STA to 1 second, the LTA to 10 seconds and the Ratio to 4 would give rise to the following trigger behaviour:

Usually, the values of the STA and LTA periods, and of the Ratio, will be the same for all selected channels. For convenience, Scream! will automatically fill in other values to match ones you enter. If you want to use different values for some channels, you should clear the “Common values” check-box before altering them.

Once you have enabled the STA/LTA triggering method on a particular channel, you can use the Control window to change the values of the STA and LTA periods, together with the Ratio, without restarting the digitiser (see section 5.2).

Since it is not generally advisable to trigger from broadband data, the digitiser provides a set of standard bandpass filters to apply to the data streams before they are tested for the trigger condition. This filtering serves to maximise sensitivity within the frequency band of interest, and filter out noise outside this band. You can select which bandpass filter to use from the Bandpass filter drop-down menu. The corner frequencies of the pass band of the filter are determined by the Nyquist frequency, which is given by the sampling rate of the triggering data. The three filter options have pass bands between 10% and 90%, between 20% and 90% and between 50% and 90% of the data’s Nyquist frequency, respectively.

The possible filter configurations are shown in the following table:

Tap #

Rate (samples/s)

Bandwidth 1 (Hz)

Bandwidth 2 (Hz)

Bandwidth 5 (Hz)

0

200

10 – 90

20 – 90

50 – 90

1

100

5 – 45

10 – 45

25 – 45

50

2.5 – 22.5

5 – 22.5

12.5 – 22.5

40

2 – 18

4 – 18

10 – 18

25

1.25 – 11.25

2.5 – 11.25

6.25 – 11.25

20

1 – 9

2–9

5–9

2

50

2.5 – 22.5

5 – 22.5

12.5 – 22.5

25

1.25 – 11.25

2.5 – 11.25

6.25 – 11.25

20

1 – 9

2–9

5–9

10

0.5 – 4.5

1 – 4.5

2.5 – 4.5

8

0.4 – 3.6

0.8 – 3.6

2 – 3.6

5

0.25 – 2.25

0.5 – 2.25

1.25 – 2.25

4

0.2 – 1.8

0.4 – 1.8

1 – 1.8

2

0.1 – 0.9

0.2 – 0.9

0.5 – 0.9

3

25

1.25 – 11.25

12.5 – 11.25

6.25 – 11.25

10

0.5 – 4.5

1 – 4.5

2.5 – 4.5

5

0.25 – 2.25

0.5 – 2.25

1.25 – 2.25

4

0.2 – 1.8

0.4 – 1.8

1 – 1.8

2

0.1 – 0.9

0.2 – 0.9

0.5 – 0.9

1

0.05 – 0.45

0.1 – 0.45

0.25 – 0.45

As can be seen, the filter you choose defines the set of permissible sample rates. The spectral amplitudes for the various frequency responses available are shown in the figures below.

5.1.3.2 Level

Using the Level triggering method, a trigger is generated whenever one of the selected components reaches a certain level above the baseline. You can select which tap is monitored from the Data source drop-down menu, and the channel(s) to be considered from the Channel column of the table. The values in the Level column are the number of counts above the baseline that channel must reach before a trigger is generated.

As with the STA/LTA method, the values of the Level will often be the same for all selected channels. If you want to use different values for some channels, you should clear the Common values check-box before altering them.

Once you have enabled the Level triggering method on a particular channel, you can use the Control window to change the level at which the system triggers without restarting the digitiser (see section 5.2).

5.1.3.3 External triggering

When a digitiser or digital sensor triggers, it sends the trigger itself to connected devices, as well as any extra data that it has been configured to record. You can configure other digitisers to respond to this signal by triggering in turn. This is an option which you can specify at the time of manufacture. For further details, please contact support@guralp.com.

5.1.3.4 Pre-trigger and post-trigger recording

In order to capture all of a seismic event, it is often useful to be able to record data immediately preceding the trigger. Güralp digitisers have an internal buffer of some seconds which allows this data to be added to the triggered stream. Pre-trigger data are particularly useful for emergent-type signals, where the system does not trigger until one phase after the first arrival. In addition, to ensure that the coda of each event is included, some seconds of data are recorded after the system de-triggers.

The two boxes at bottom right of the Triggering pane allow the user to set the pre-trigger and post-trigger data intervals, in seconds. These values determine the minimum length of time during which data will be saved before the trigger condition occurs, and after it has lapsed. Regardless of the intervals chosen, the data in the triggered streams will begin on a whole second.

5.1.4 Mux Channels

The digitiser provides a range of slow-rate auxiliary channels for reporting the system's state of health and other diagnostic information, known as multiplexed (“Mux”) channels. In the 3ESPCD configuration, three of these are used to report the sensor mass position and another is used for measuring the internal temperature of the digitiser.

The collection and transmission of these environmental channels is controlled using the Mux Channels pane:

If a tick is placed in the box next to a channel, its data will be collected and transmitted as a data stream in GCF format, just as with the normal data channels. To indicate that the data comes from a Mux channel, the Stream ID will take the form ****Mx, where M stands for Mux and x is a hexadecimal integer (i.e. 0 – 9, and A – F for 10 through 15). Z, N/S and E/W Mass Position Mux channels appear as M8, M9 and MA respectively. The digitiser also monitors its internal temperature, which is reported on channel ME.

5.1.5 Ports

The Baud Rates pane of the Configuration set-up window allows you to program the baud rate and stop bits for the digitiser's output port.

The baud rate you choose must satisfy two conditions:

Usually, the transmit and receive rates of the data port will be the same. If not, you may select different data rates by removing the tick in the check-box marked Identical TX/RX rates.

The Stop Bits option allows you to choose whether the serial link uses 1 or 2 stop bits. In most cases this can be left at 1, although 2 may be required if you are sending data over ‘difficult’ transmission lines (for example, some types of radio link). Using 2 stop bits will add a 10% overhead to the data.

You will also need to set the data rate for Scream's local serial port, as well as for the EAM or other communications device (if you are using one). In Scream!, you can configure a serial port by right-clicking on its icon (not that of the digitiser) and selecting Configure... from the pop-up menu: for more details, consult the on-line help or user guide for Scream!. If you are using an additional communications device, you should consult its documentation to learn how to set its baud rate.

5.2 Controlling digitisers

To control a digitiser whilst it is running, either right-click on the digitiser's entry in the list to the left of Scream!'s main window (not the Local or Comxx icons) and click Control..., or simply double-click the entry. Scream! will then contact the digitiser and retrieve its current status, a process which will take a few seconds, after which the Control window will be displayed. Once you are happy with any changes you have made in the Control window, click to send them to the digitiser, where they will take effect immediately.

This chapter describes the control options available to you for the digitiser. Many of these options will also be available for other Güralp digitisers. For the most accurate information, you should consult the Operator's Guide for the digitiser or sensor you connect.

5.2.1 System

When the Control window is first opened, it will be showing the System pane.

Sensor Type: If the sensor attached to the digitiser is a Güralp velocity sensor, you can send control commands to it from the Mass Control tab (see below). Which functions are available on this tab depends on the Sensor Type you have set here. The correct value for your 3ESPCD is “CMG-3T / ESPC”

If you change the Sensor Type, you may have to Apply the change, close the Control window, and open a new one to access the Mass Control options.

Enable GPS power cycling: If you are using a GPS unit to receive time signals, but do not experience significant drift in the system's clock (for example, in a stable-temperature environment), you can save power by selecting Enable GPS power cycling. With this option in use, the GPS time is only checked at intervals of a specified number of hours.

5.2.2 Triggering

The Triggering pane is very similar to the corresponding pane of the Configuration set-up window although not all options are available, since some require rebooting the digitiser. See “Triggering” in section 5.2.2 for more details.

5.2.3 Calibration

You can check that your instrumentation is correctly calibrated by injecting known signals into the sensor's feedback loop. The Calibration pane allows you to do this once the sensors are installed. See section 4 for details.

5.2.4 Mass Control

The controls on this tab are used to centre, unlock, and lock the sensor masses.

Note: Whether or not this tab is visible depends on the “Sensor type” setting on the “System” tab. See section 5.2.1.

See section 7.1.2 for more information.

5.2.5 Data flow

The digitiser operates in one of several transmission modes. These modes relate to how the unit uses its Flash memory:

Separate from these modes are buffering modes, which tell the unit what to do when its Flash memory becomes full: either

You can switch between transmission modes in Scream! by right-clicking on the digitiser and clicking on Control..., then navigating to the Data Flow pane:

Clicking Apply in this window immediately activates the transmission mode you have selected—there is no need to reboot. If you prefer, you can use the digitiser terminal to switch between transmission modes. The commands to use, which take effect immediately, are given below.

5.2.5.1 DIRECT

Syntax: DIRECT

Instructs the digitiser not to use Flash memory for storage. Instead, all data are transmitted directly to clients. An instrument in DIRECT mode still honours the GCF Block Recovery Protocol: a temporary RAM buffer always holds the last 256 blocks generated and, if a client fails to receive a block, it can request its retransmission. If you expect breaks in communication between the instrument and its client to last more than 256 blocks, or if you want the instrument to handle breaks in transmission (rather than relying on the client to request missed blocks), you should use

5.2.5.2 FILING

Syntax: FILING

Instructs the digitiser not to transmit blocks to clients automatically, but to store all digitised data in the Flash memory. If you have chosen the RECYCLE buffering mode (see below), the memory is used in circular fashion, i.e. if it becomes full, incoming blocks begin overwriting the oldest in memory. If the WRITE-ONCE mode is active, the instrument will switch to DIRECT mode (see above) when the memory becomes full. You can retrieve blocks from an instrument in FILING mode by connecting to its terminal interface and issuing commands such as FLUSH, or through Scream! (see below).

5.2.5.3 Heartbeat messages

When in FILING mode, an instrument transmits “heartbeat” messages over its data port. These short messages take the place of data blocks, and ensure that programs such as Scream! know that an instrument is present. You can change the frequency of heartbeat messages from Scream!'s Control window, or with the command HEARTBEAT. You can tell Scream! to download new data automatically whenever it receives a heartbeat message from an instrument in FILING mode. This is useful, for example, in autonomous installations connected by intermittent modem links. To enable this feature:

5.2.5.4 FIFO (First In First Out)

Syntax: FIFO

Instructs the digitiser to begin writing blocks to Flash memory as for FILING mode, but also to transmit data to clients. Data are transmitted in strict order, oldest first; the digitiser will only transmit the next block when it receives an explicit acknowledgement of the previous block. If the communications link is only marginally faster than the data rate, it will take some time to catch up with the real-time data after an outage.

If you want data to be transmitted in real-time where possible, but are worried about possible breaks in communication, you should use ADAPTIVE mode instead. FIFO mode will consider a data block successfully transmitted once it has received an acknowledgement from the next device in the chain. If there are several devices between you and the instrument, you will need to set up the transmission mode for each device (if applicable) to ensure that data flow works the way you expect.

Like all the transmission modes, FIFO mode does not delete data once it has been transmitted. You can still request anything in the Flash memory using Scream! or over the command line. The only way data can be deleted is if they are overwritten (in the RECYCLE buffering mode, see below) or if you delete it manually.

5.2.5.5 ADAPTIVE

Syntax: ADAPTIVE

Instructs the digitiser to transmit current blocks to clients if possible, but to store all unacknowledged blocks in the Flash memory and resend them, oldest first, when time allows. ADAPTIVE mode is best suited for “real-time” installations where the link between digitiser and client is intermittent or difficult to access. If the communications link is only marginally faster than the data rate, it will usually be busy transmitting real-time data. Thus, it may take a while for the instrument to work through the missed blocks. In this case, and if your client supports it, you may prefer to use the Block Recovery Protocol to request missed blocks where possible.

Some software packages (most commonly Earthworm) cannot handle blocks being received out of time order. If you are using such a package, ADAPTIVE mode will not work, and may crash the software.

5.2.5.6 DUAL

Syntax: DUAL

Instructs the digitiser to transmit any continuous streams directly to clients as for DIRECT mode, but to store triggered data into Flash storage as for FILING mode. If you choose DUAL mode but do not select any continuous streams for output, the instrument will send heartbeat messages as for FILING mode. Scream! can pick these up and download new data as necessary.

5.2.5.7 RE-USE / RECYCLE

Syntax: RE-USE

Instructs the digitiser to carry on using the current filing technique when the Flash memory becomes full, overwriting the oldest data held. This buffering mode is called RECYCLE in Scream!. For example, in DUAL mode with RECYCLE buffering, the latest continuous data will be transmitted to you as normal, and the latest triggered data may be retrieved from the Flash memory using Scream! or the command line. However, if you do not download data regularly from the Flash memory, you may lose older blocks. This mode thus lets you define the end point of the data held by the instrument.

5.2.5.8 WRITE-ONCE

Syntax: WRITE-ONCE

Instructs the digitiser to stop writing data to the Flash memory when it is full, and to switch to DIRECT mode automatically. For example, in FIFO mode with WRITE-ONCE buffering, the station will transmit data to you continuously, but also save it in the Flash memory until it is full. Once full, the instrument will switch to DIRECT mode and continue transmitting, though no further data will be saved. This mode thus lets you define the start point of the data held by the instrument.