Wiki source code of ANU Seismic Data Loggers

Version 65.1 by robert on 2025/09/16 13:18

Hide last authors
robert 42.1 1 (% class="row" %)
robert 40.1 2 (((
robert 42.1 3 (% class="col-xs-12 col-sm-8" %)
4 (((
5 (% class="jumbotron" %)
6 (((
7 (% class="container" %)
8 (((
robert 38.1 9 ANU has designed and built three generations of seismic data recorders, two of which (the small yellow TerraSAWR and the larger beige LPR-200) are still in use today. Despite their contrasting appearance, they both use the same software, data cards, and have the same instrument response.
robert 40.1 10 )))
robert 42.1 11 )))
robert 1.1 12
robert 46.2 13 = Power Considerations =
14
robert 47.1 15 Both the LPR-200 (or "Low Power Recorder" 200) and TerraSAWR are designed to use as little power as possible, and more or less use the same amount of power.
robert 46.2 16
santi 54.1 17 At 100 Hz and with a GPS cable connected these loggers draw about 220 mW of power once the screen is off (higher sample rates draw more power but only marginally, < 5 mW). Adding a sensor (e.g. a Trillium Compact 120) increases this to approximately 400 mW, or 0.4 volt-amps. So, in theory 7 Ah battery should last about 10 days without a solar panel, but in practice it seems to be a bit closer to 8 which may be due to variability in power drain while in getting GPS locks.
robert 46.2 18
santi 54.1 19 For very sunny environments (latitudes < 30) a 20 Volts 10 Watt solar panel should have no issue keeping these loggers alive over the summer months, and assuming unobstructed skies should also be fine over winter. However there is no harm in using 20 or even a 40 Watt panel, especially for high latitudes, coastal regions, or areas without a full sky view. In theory up to a 60 Watt solar panel is fine, but we don't recommend anything over 40 Watts and that amount of power is already overkill.
robert 47.1 20
21 (% class="box infomessage" %)
22 (((
23 Power issues are easy and cheap to solve relative to the cost of your experiment, don't skimp!
24 )))
25
Jack Dent 52.1 26 (% class="wikigeneratedid" %)
santi 54.1 27 In the case of an LPR, there is a large compartment for housing an internal battery, able to accommodate anything from a 10-30Ah battery. To use a standard lead acid battery with a positive and negative terminal, a 6 pin adaptor must be used. This ensures the voltage from the external power port (pins A and C) connect to the battery and ensure the system actually recharges. (See [[Peripheral Equipment>>doc:Instrumentation.Peripheral Equipment.WebHome]] for a more comprehensive overview of this kind of setup)
Jack Dent 52.1 28
robert 65.1 29 = GPS Considerations =
30
31 GPS is required for the data to have accurate timestamps. A standard 3-5V 1575.42 Mhz coaxial cable works fine and can be found for relatively cheap (e.g. [[https:~~/~~/www.elecbee.com/en-3555-gps-antenna-bnc-male-for-garmin-gps-120120xl125-sounder-with-cable-2m) >>https://www.elecbee.com/en-3555-gps-antenna-bnc-male-for-garmin-gps-120120xl125-sounder-with-cable-2m]]
32
33 The TerraSAWR has a built-in GPS but this doesn't work as well, especially if the logger is (wisely) buried. **The LPR does NOT have a built-in GPS antenna, so an external antenna is mandatory.**
34
35 In a pinch, a severed or broken antenna can be mended back together relatively easily by non-experts. Even stripping the wire and twisting it back together by hand on site is possible!
36
robert 15.1 37 = Data Card Formatting and Information =
38
robert 42.1 39 Both the TerraSAWR and LPR-200 require SD Cards to be formatted in FAT32 filesystem. For 64Gb cards it can be difficult to format in FAT32, but [[software >>http://auspass.edu.au/field/fat32cardformatter.exe]]is available. ANU recommend SanDisk Extreme 150 mb/s cards in either 32 or 64Gb size. We strongly discourage using cards larger than 64Gb, and in general smaller cards are less likely to fail. We have also found that "adapter" cards (e.g. SD to microSD) are prone to having write issues and **strongly** advise against them.
robert 15.1 40
robert 42.1 41 The loggers can be "pre-programmed" with information (e.g. site name, sampling rate, etc) or they can be programmed in the field using the buttons on the logger. To pre-program the cards you simply edit a text file (named "[[ANUSRSetup.txt>>http://auspass.edu.au/field/ANUSRSetup.txt]]" for the LPRs, or "[[tSAWRSetup.txt>>http://auspass.edu.au/field/tSAWRSetup.txt]]" for the TerraSAWRs) and place it in the root directory on the SDCard. When the logger boots up, it will parse and load this information.
robert 24.1 42
robert 65.1 43 === The format for ANUSRSetup.txt / LPR200s will be a single line of text that looks like this: ===
robert 24.1 44
robert 25.1 45 {{{XXX195G0100010034864 2 }}}
robert 24.1 46
robert 46.2 47 //corresponding to//
robert 24.1 48
robert 46.2 49 site **XXX19**,
50 network **5G**,
51 sample rate **0100**, (i.e. 100 Hz)
52 "gps interval" **01** (once per hour~-~- don't change),
53 start mode (always **0**),
54 stop mode (always **0**),
55 seismometer type (**3** = broadband (+/- 20V), 2 = Guralp (+/- 10V), 1 = shortperiod (+/- 5V),
56 and seismometer serial number (**4864**).
57
Jack Dent 29.1 58 (% class="box warningmessage" %)
59 (((
Jack Dent 31.3 60 NOTE: the 2 at the very end is for "RECORD ON RESTART". The record on restart option ensures that if the logger dies and is powered back up whilst in the field (due to battery charging cycles or other causes) that the recording will resume. (# of blank spaces before this doesn't matter)
Jack Dent 29.1 61 )))
robert 24.1 62
robert 65.1 63 === The format for TSAWR loggers is shorter: ===
robert 24.1 64
Jack Dent 31.2 65 (% class="box errormessage" %)
66 (((
67 **NOTE: The format is shorter as they don't have an option to set the "GPS sync". The GPS sync number should be omitted otherwise the formatting will not work!**
68 )))
robert 24.1 69
Jack Dent 31.2 70 SITE15G02500039999 2
71
Jack Dent 33.1 72 corresponding to site SITE1, 
Jack Dent 31.2 73
74 network 5G
Jack Dent 29.1 75 sample rate 0250, (i.e. 250 Hz)
76 start mode (always 0),
77 stop mode (always 0),
Jack Dent 31.2 78 seismometer type (3 = broadband (+/- 20V), 2 = Guralp (+/- 10V), 1 = shortperiod (+/- 5V),
Jack Dent 29.1 79 and seismometer serial number (9999).
robert 24.1 80
Jack Dent 29.1 81
robert 65.1 82 === The formatting process using the logger: ===
Jack Dent 29.1 83
Jack Dent 30.1 84 The process for formatting an SD card within the logger is straightforward. Navigate to the "SD INFORMATION" screen and press ERASE SD CARD. This process may take up to a minute. This will result in erasing all files from the card. Upon starting recording, a new 'seed' will be written containing all the information that the logger has been set with FINISH THIS SECTION
Jack Dent 29.1 85
robert 42.1 86 [[image:original_0747763c-e3dd-4667-b897-833f12c8e0b8_20241219_130604.jpg||height="240" width="298"]]
Jack Dent 29.1 87
robert 24.1 88 Here is a general guideline for how much data you can expect to fit on a card:
89
90 {{{ 64Gb card: 245 days @ 250hz or 610 days @ 100hz
Jack Dent 31.1 91 32Gb card: 122 days @ 250hz or 305 days @ 100hz
92 }}}
robert 24.1 93
robert 46.2 94 == Default Settings ==
robert 24.1 95
robert 46.2 96 As of 2025, the default settings for both LPR (v. 2.7) and TSWAR (v 3.6a) loggers are below. If you're using a broadband instrument, you are essentially good to go without having to program the cards.
97
98 * XX.ANUSR network and station name
99 * 100 Hz Sample Rate
santi 54.1 100 * 40 Vpp (or +/- 20 V) gain / Trillium Compact seismometer version
robert 46.2 101 * Record on Restart enabled
102
103 Note that if a user sets the gain incorrectly, this can be fixed later (assuming nothing clipped) by multiplying or dividing by factors of 2. The gain setting can be looked up from the logfile, else you may have to guess from a PSD or other method.
104
Jack Dent 31.1 105 = Logger Menus Overview (and setup) =
robert 24.1 106
Jack Dent 36.1 107 The same menus are used in both the TSAWR and LPR-200 loggers.
Jack Dent 31.4 108
Jack Dent 31.1 109 == System Information ==
110
111 This menu provides an overview of the status of the station. Under 'Initialisation Parameters', the status of systems that are initialised upon powering on the logger can be checked.
112
113 This menu also displays the firmware version, battery, external, and solar voltages, and the temperature of the system.
114
robert 59.2 115 * Check that all //Initialisation Parameters// are marked as successful.
116 * Check that solar voltage is above 10 V in the software, or preferrably physically check that the battery's voltage is increasing via a DMM.
Jack Dent 31.1 117
118 == Live Seismometer Data ==
119
120 This screen displays real time seismometer data for all 3 axes of the seismometer. Initially, a plot of raw data from all 3 channels is shown. By pressing enter, a high pass filter can be applied showing a more useful plot of all channels. The up and down arrows can be used to change between a view of all channels, individual channels, and all channels on different X axes.
121
robert 44.1 122 * Check that all 3 channels are present and are producing a signal.
123 * Stomp on the ground near where the sensor is installed to check that a signal is being picked up by all 3 channels.
124 * Common representations of poor signals include channels sloping smoothly from high values to zero, or sharp corners in the plots.
Jack Dent 31.1 125
Jack Dent 33.1 126 == GPS Data ==
Jack Dent 31.3 127
128 This menu displays the status of the stations' GPS connection. The screen lists; UTC time, UTC date, latitude, longitude, altitude, number of satellite connections, and SNR.
129
robert 59.2 130 * Check that the station is connected to satellites. 3 or more should be perfectly adequate to keep time.
Jack Dent 31.3 131
132 == SD Information ==
133
134 The menu lists if the SD card has been initialised, as well as the capacity and space free on the memory card. See "Data card formatting" (above) to see how to format and initialise the inserted SD card.
135
Jack Dent 31.2 136 == System Configuration ==
137
138 This menu is used to set the stations identifiers and parameters.
139
140 First, the sampling rate can be chosen from a set of options (1 Hz, 10 Hz, 25 Hz, 40 Hz, 50 Hz, 100 Hz, 250 Hz, 1000 Hz).
141
142 Next, the station identifier (up to 5 characters) and the network code (2 characters) can be set.
143
144 Record start and stop mode should be left to 'On Request' mode.
145
146 The seismometer model and serial number (up to 10 characters) can be set. Seismometer model options include:
147
santi 54.1 148 * Trillium Compact (same for 20s and 120s models)
robert 43.1 149 * CMG - 3ESP
150 * Guralp 40T
151 * LE-3D Lite
152 * Mark L4C
153 * Mark L4
Jack Dent 31.2 154
155 Additionally, the following settings can be used in place of the seismometer model types: +/- 20V, +/- 10V, +/- 5V
156
Jack Dent 31.3 157 The record on restart option ensures that if the logger dies and is powered back up whilst in the field (due to battery charging cycles or other causes) that the recording will resume.
Jack Dent 31.2 158
robert 43.1 159 * Set the sampling rate, station identifier, and network code. Set the appropriate seismometer type. Most importantly, ensure the record on restart setting is checked.
Jack Dent 31.2 160
Jack Dent 31.3 161 (% class="box errormessage" %)
Jack Dent 31.2 162 (((
robert 60.1 163 Again, ensure the 'RECORD ON RESTART' option is marked with a cross (the default setting). This ensures that the logger will record any time it receives enough power!
Jack Dent 31.2 164 )))
165
Jack Dent 34.1 166 (% class="wikigeneratedid" %)
robert 42.1 167 [[image:original_2b83fcf5-ee5a-4375-bab1-2d738e4ffe8c_20241219_130646.jpg||height="234" width="289"]]
Jack Dent 34.1 168
Jack Dent 31.3 169 == STA/LTA Configuration ==
170
robert 43.1 171 The Short Term Average and Long Term Average Configuration screen.. this is a relic for when people weren't recording continuously. Not advised!
Jack Dent 31.3 172
robert 27.2 173 = LogFile Conversion Script =
174
robert 42.1 175 Both the TSAWR and LPR-200 write logging information as a binary "dat" file which includes GPS time syncs, temperatures, battery power, and position. To convert them into ASCII you can read, use [[THIS PYTHON SCRIPT>>http://auspass.edu.au/field/anusr_log.py]].
robert 27.2 176
robert 28.1 177 = Instrument Response =
robert 27.2 178
robert 60.2 179 Both the TerraSAWR and LPR-200 use the same ADS1281 analog-to-digital converter chip and are designed to have identical instrument response. The ADC (analog to digital) chip in both loggers originally samples at 1024000 Hz and downsamples towards the output data rate via a 5th order SINC filter, then another four FIR filters. If the output is below 250 Hz, a final "pure" /5 decimation is done without any sort of FIR filter (for better or worse!).
robert 1.1 180
robert 62.1 181 In the logger's menu, the user can choose to apply a 2nd stage "sensor gain" by selecting an instrument type in the setup menu. This effectively selects a 10 Vpp (e.g. short period sensors), 20 Vpp, 40 Vpp (most broadband sensors) regime to match the sensor's sensitivity. This has the effect of doubling amplitude from 10v to 20v, or quadrupling from 10v to 40v. If you have set your sensor correctly (and the signal isn't clipped!) you can "correct" this by simply multiplying your data by 0.5 etc. This gain manifests itself in stage 2 in the response information.
182
robert 60.2 183 //(The 600+ Stage 3 SINC coefficients during the initial 1024k > 16k decimation were left off as they slowed down the process x10 and contribute at most 0.3 db amplitude and 0.31 ms phase delay discrepancies, and primarily only to frequencies near the nyquist. If for some reason you want to add this phase manually we can share the parameters with you.)//
robert 28.1 184
robert 62.1 185 You might notice that the response information may come in two versions. The response from our website (see link below) includes the 2nd "sensor gain" stage for clarity. e.g. here is a Trillium Compact 120 & ANU Logger response
186
187 ##Channel Response
188 From M/S (Velocity) to COUNTS ()
189 Overall Sensitivity: 3.95452e+08 defined at 1.000 Hz
190 8 stages:
191 Stage 1: PolesZerosResponseStage from M/S to V, gain: 754.3
192 Stage 2: ResponseStage from V to V, gain: 0.25
193 Stage 3: CoefficientsTypeResponseStage from V to COUNTS, gain: 2.09715e+06
194 Stage 4: FIRResponseStage from COUNTS to COUNTS, gain: 1
195 Stage 5: FIRResponseStage from COUNTS to COUNTS, gain: 1
196 Stage 6: FIRResponseStage from COUNTS to COUNTS, gain: 0.99998
robert 63.1 197 Stage 7: FIRResponseStage from COUNTS to COUNTS, gain: 1##
robert 62.1 198
199
robert 64.1 200 However, if retrieving from AusPass or IRIS, the 2nd "sensor gain" stage is combined with the logger gain. This has no affect, but you may detect that the former Stage 2 V->V ResponseStage has been merged into the Stage 3 gain.
robert 62.1 201
202 ##Channel Response
203 From M/S (Velocity) to COUNTS ()
204 Overall Sensitivity: 3.9546e+08 defined at 1.000 Hz
205 6 stages:
206 Stage 1: PolesZerosResponseStage from M/S to V, gain: 754.3
207 Stage 2: CoefficientsTypeResponseStage from V to COUNTS, gain: 524288
208 Stage 3: FIRResponseStage from COUNTS to COUNTS, gain: 1
209 Stage 4: FIRResponseStage from COUNTS to COUNTS, gain: 1
210 Stage 5: FIRResponseStage from COUNTS to COUNTS, gain: 0.99998
211 Stage 6: FIRResponseStage from COUNTS to COUNTS, gain: 1##
212
213
robert 60.2 214 For the most part, the data logger response essentially flat when the samplerate output is set to 100 Hz or less and for seismological purposes is likely to be impossible to detect below 20 Hz regardless.
robert 28.1 215
robert 48.1 216 Instrument response can be downloaded from IRIS [[Nominal Response Library>>https://ds.iris.edu/ds/nrl/]] if need be, or [[directly from us>>http://auspass.edu.au/data/logger_response]] , or by downloading the response of an equivalent sensor at AusPass (e.g. get_stations(level='response') ).
robert 28.1 217
robert 56.1 218
robert 59.1 219 [[Amplitude and phase response for ANU logger at 50 Hz>>image:ANU_50hz_response.png||data-xwiki-image-style-alignment="center" height="356" width="475"]]
robert 56.1 220
robert 59.1 221 [[Amplitude and phase response for ANU logger at 100 Hz>>image:ANU_100hz_response.png||data-xwiki-image-style-alignment="center" height="355" width="473"]]
robert 56.1 222
robert 59.1 223 [[Amplitude and phase response for ANU logger at 250 Hz>>image:ANU_250hz_response.png||data-xwiki-image-style-alignment="center" height="359" width="479"]]
robert 56.1 224
robert 59.1 225 [[Amplitude and phase response for ANU logger at 1000 Hz>>image:ANU_1000hz_response.png||data-xwiki-image-style-alignment="center" height="367" width="489"]]
robert 56.1 226
227
robert 60.2 228 [[Huddle test comparing a Trillium Compact 120 + TerraSAWR vs a Trillium Compact 120 + Nanometrics Centaur (M8.AUANU) at 100 Hz>>image:TC120_ANU_vs_CENTAUR.png||data-xwiki-image-style-alignment="center"]]
robert 28.1 229
robert 55.1 230 = ANU TerraSAWR (Gen 3, FW 3.5a, 2014- current) =
robert 28.1 231
robert 55.1 232 Earliest known model is dated July 2014 (though first deployed in 2019) and our current flagship model. Lightweight and small.
robert 1.1 233
robert 55.1 234 = ANU LPR-200 (Gen 2, FW 2.6a/2.7a, 2011 - current) =
robert 1.1 235
robert 55.1 236 Earliest known model is dated May 2011 (but first deployed November 2012) and still in use today. Potentially capable of housing much larger batteries than the TSAWR due to the larger cavity space.
robert 1.1 237
robert 46.2 238 = ANU "ANUSR" (Gen 1, 2003? - 2012) =
robert 1.1 239
robert 46.2 240 This logger has been retired for a long time and has a different instrument response. It used modular component boards and was powered via an acrylic case of 6 x 6V lantern batteries. There is a somewhat complete one above the CAT lab door if anyone is so inclined to have a look.
robert 1.1 241
242
243 = References =
244
robert 42.1 245 * [[PDF Manual>>http://auspass.edu.au/field/LPR-200_Instruction_Manual.pdf]]
246 )))
robert 1.1 247
248 (% class="col-xs-12 col-sm-4" %)
249 (((
250 (% class="box" %)
251 (((
robert 6.1 252 **Contents**
robert 1.1 253
robert 42.1 254 {{toc/}}
robert 6.1 255 )))
256
Jack Dent 17.1 257
robert 45.1 258
robert 46.1 259
robert 46.2 260
robert 48.1 261
robert 49.1 262
robert 50.1 263
robert 50.2 264
Jack Dent 52.1 265
Jack Dent 53.1 266
santi 54.1 267
robert 55.1 268
robert 56.1 269
robert 57.1 270
robert 58.1 271
robert 58.2 272
robert 59.2 273
robert 60.2 274
robert 62.1 275
robert 63.1 276
robert 64.1 277
robert 65.1 278
Jack Dent 17.1 279 (% class="box" %)
280 (((
robert 7.1 281 = TerraSAWR Specs =
robert 6.1 282
robert 1.1 283
robert 42.1 284 [[image:Terrasawr 1.jpg]]
Jack Dent 9.1 285
robert 42.1 286 [[image:1704865206800-824.jpg]]
Jack Dent 9.1 287
robert 42.1 288 [[image:1704864886951-793.jpg]]
Jack Dent 9.1 289
robert 11.1 290 |=Size (L x W x H)|30 x 25 x12cm
robert 45.1 291 |=Weight (with battery)| 1.9kg (2.5kg)
robert 14.1 292 |=Battery|(((
robert 46.2 293 Lead-acid 12v, ~~7-9Ah
robert 2.2 294
295 Rechargeable
robert 1.1 296 )))
robert 46.2 297 |=Current Firmware|3.5a (Jan 2025)
Jack Dent 16.1 298
robert 42.1 299 [[image:terrasawr battery.jpg]]
robert 2.2 300 )))
robert 1.1 301
Jack Dent 17.1 302
robert 1.1 303 (% class="box" %)
304 (((
robert 7.1 305 = LPR-200 Specs =
robert 3.1 306
robert 42.1 307 [[image:LPR 1.jpg]]
robert 3.1 308
robert 42.1 309 [[image:LPR 2.jpg]]
Jack Dent 9.1 310
robert 42.1 311 [[image:LPR 3.jpg]]
Jack Dent 9.1 312
robert 11.1 313 |=Size (L x W x H)|42 x 34 x17 cm
robert 45.1 314 |=Weight (no battery)|5.5 kg
robert 14.1 315 |=Battery|(((
robert 46.1 316 NOW: Any 12v battery with tab connections that will fit (ex. the same TSAWR battery)
robert 3.1 317
robert 46.2 318 DISCONTINUED: LiFePo4 140Ah Rechargeable (shown below).
robert 3.1 319 )))
robert 46.2 320 |=Current Firmware|(((
321 2.6a (old GPS modules) / 2.7a
Jack Dent 16.1 322
robert 46.2 323 Jan 2025
324 )))
325
robert 42.1 326 [[image:LPR battery.jpg]]
robert 3.1 327 )))
robert 1.1 328 )))
robert 61.1 329
330
331
robert 62.1 332
robert 63.1 333
robert 64.1 334
robert 65.1 335
robert 61.1 336
robert 42.1 337 )))