Wiki source code of ANU Seismic Data Loggers

Last modified by robert on 2026/02/19 15:45

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
robert 71.2 19 For very sunny environments (latitudes < 30) a 20 Volt, 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** when possible a 20 Watt pane works best, especially as they usually cost only $10-20 more these days.
robert 47.1 20
robert 71.2 21 40 Watt panels can also be used, and may be needed for extreme climates, or areas without a full sky view. 60 Watt panels have also been known to work, but this is now reaching the the limit of what the loggers can reasonably handle for extended periods and are not recommended for long term deploys.
22
robert 47.1 23 (% class="box infomessage" %)
24 (((
25 Power issues are easy and cheap to solve relative to the cost of your experiment, don't skimp!
26 )))
27
Jack Dent 52.1 28 (% class="wikigeneratedid" %)
santi 54.1 29 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 30
robert 65.1 31 = GPS Considerations =
32
robert 67.1 33 GPS is required for the data to have accurate timestamps. A standard 3-5V 1575.42 Mhz coaxial "dongle" antenna 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]]. Anything that locates satellites and gives you a GPS-synced time works!
robert 65.1 34
35 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.**
36
37 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!
38
robert 15.1 39 = Data Card Formatting and Information =
40
robert 42.1 41 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 42
robert 42.1 43 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 44
robert 66.1 45 (% class="wikigeneratedid" id="HTheformatforANUSRSetup.txt2FLPR200swillbeasinglelineoftextthatlookslikethis:" %)
46 The format for ANUSRSetup.txt / LPR200s will be a single line of text that looks like this:
robert 24.1 47
robert 25.1 48 {{{XXX195G0100010034864 2 }}}
robert 24.1 49
robert 46.2 50 //corresponding to//
robert 24.1 51
robert 46.2 52 site **XXX19**,
53 network **5G**,
54 sample rate **0100**, (i.e. 100 Hz)
55 "gps interval" **01** (once per hour~-~- don't change),
56 start mode (always **0**),
57 stop mode (always **0**),
58 seismometer type (**3** = broadband (+/- 20V), 2 = Guralp (+/- 10V), 1 = shortperiod (+/- 5V),
59 and seismometer serial number (**4864**).
60
Jack Dent 29.1 61 (% class="box warningmessage" %)
62 (((
robert 72.1 63 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 64 )))
robert 24.1 65
robert 66.1 66 (% class="wikigeneratedid" id="HTheformatforTSAWRloggersisshorter:" %)
67 The format for TSAWR loggers is shorter:
robert 24.1 68
Jack Dent 31.2 69 (% class="box errormessage" %)
70 (((
71 **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!**
72 )))
robert 24.1 73
Jack Dent 31.2 74 SITE15G02500039999 2
75
Jack Dent 33.1 76 corresponding to site SITE1, 
Jack Dent 31.2 77
78 network 5G
Jack Dent 29.1 79 sample rate 0250, (i.e. 250 Hz)
80 start mode (always 0),
81 stop mode (always 0),
Jack Dent 31.2 82 seismometer type (3 = broadband (+/- 20V), 2 = Guralp (+/- 10V), 1 = shortperiod (+/- 5V),
Jack Dent 29.1 83 and seismometer serial number (9999).
robert 24.1 84
Jack Dent 29.1 85
robert 66.1 86 (% class="wikigeneratedid" id="HTheformattingprocessusingthelogger:" %)
87 The formatting process using the logger:
Jack Dent 29.1 88
Jack Dent 30.1 89 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 90
robert 42.1 91 [[image:original_0747763c-e3dd-4667-b897-833f12c8e0b8_20241219_130604.jpg||height="240" width="298"]]
Jack Dent 29.1 92
robert 24.1 93 Here is a general guideline for how much data you can expect to fit on a card:
94
95 {{{ 64Gb card: 245 days @ 250hz or 610 days @ 100hz
Jack Dent 31.1 96 32Gb card: 122 days @ 250hz or 305 days @ 100hz
97 }}}
robert 24.1 98
robert 46.2 99 == Default Settings ==
robert 24.1 100
robert 46.2 101 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.
102
103 * XX.ANUSR network and station name
104 * 100 Hz Sample Rate
santi 54.1 105 * 40 Vpp (or +/- 20 V) gain / Trillium Compact seismometer version
robert 46.2 106 * Record on Restart enabled
107
108 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.
109
Jack Dent 31.1 110 = Logger Menus Overview (and setup) =
robert 24.1 111
Jack Dent 36.1 112 The same menus are used in both the TSAWR and LPR-200 loggers.
Jack Dent 31.4 113
Jack Dent 31.1 114 == System Information ==
115
116 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.
117
118 This menu also displays the firmware version, battery, external, and solar voltages, and the temperature of the system.
119
robert 59.2 120 * Check that all //Initialisation Parameters// are marked as successful.
121 * 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 122
123 == Live Seismometer Data ==
124
125 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.
126
robert 44.1 127 * Check that all 3 channels are present and are producing a signal.
128 * Stomp on the ground near where the sensor is installed to check that a signal is being picked up by all 3 channels.
129 * Common representations of poor signals include channels sloping smoothly from high values to zero, or sharp corners in the plots.
Jack Dent 31.1 130
Jack Dent 33.1 131 == GPS Data ==
Jack Dent 31.3 132
133 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.
134
robert 59.2 135 * Check that the station is connected to satellites. 3 or more should be perfectly adequate to keep time.
Jack Dent 31.3 136
137 == SD Information ==
138
139 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.
140
Jack Dent 31.2 141 == System Configuration ==
142
143 This menu is used to set the stations identifiers and parameters.
144
145 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).
146
147 Next, the station identifier (up to 5 characters) and the network code (2 characters) can be set.
148
149 Record start and stop mode should be left to 'On Request' mode.
150
151 The seismometer model and serial number (up to 10 characters) can be set. Seismometer model options include:
152
santi 54.1 153 * Trillium Compact (same for 20s and 120s models)
robert 43.1 154 * CMG - 3ESP
155 * Guralp 40T
156 * LE-3D Lite
157 * Mark L4C
158 * Mark L4
Jack Dent 31.2 159
160 Additionally, the following settings can be used in place of the seismometer model types: +/- 20V, +/- 10V, +/- 5V
161
Jack Dent 31.3 162 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 163
robert 43.1 164 * 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 165
Jack Dent 31.3 166 (% class="box errormessage" %)
Jack Dent 31.2 167 (((
robert 60.1 168 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 169 )))
170
Jack Dent 34.1 171 (% class="wikigeneratedid" %)
robert 42.1 172 [[image:original_2b83fcf5-ee5a-4375-bab1-2d738e4ffe8c_20241219_130646.jpg||height="234" width="289"]]
Jack Dent 34.1 173
Jack Dent 31.3 174 == STA/LTA Configuration ==
175
robert 43.1 176 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 177
robert 27.2 178 = LogFile Conversion Script =
179
robert 72.1 180 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]] (current version: 1.42, 02/2026).
robert 27.2 181
robert 28.1 182 = Instrument Response =
robert 27.2 183
robert 60.2 184 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 185
robert 62.1 186 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.
187
robert 60.2 188 //(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 189
robert 62.1 190 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
191
192 ##Channel Response
193 From M/S (Velocity) to COUNTS ()
194 Overall Sensitivity: 3.95452e+08 defined at 1.000 Hz
195 8 stages:
196 Stage 1: PolesZerosResponseStage from M/S to V, gain: 754.3
197 Stage 2: ResponseStage from V to V, gain: 0.25
198 Stage 3: CoefficientsTypeResponseStage from V to COUNTS, gain: 2.09715e+06
199 Stage 4: FIRResponseStage from COUNTS to COUNTS, gain: 1
200 Stage 5: FIRResponseStage from COUNTS to COUNTS, gain: 1
201 Stage 6: FIRResponseStage from COUNTS to COUNTS, gain: 0.99998
robert 63.1 202 Stage 7: FIRResponseStage from COUNTS to COUNTS, gain: 1##
robert 62.1 203
204
robert 64.1 205 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 206
207 ##Channel Response
208 From M/S (Velocity) to COUNTS ()
209 Overall Sensitivity: 3.9546e+08 defined at 1.000 Hz
210 6 stages:
211 Stage 1: PolesZerosResponseStage from M/S to V, gain: 754.3
212 Stage 2: CoefficientsTypeResponseStage from V to COUNTS, gain: 524288
213 Stage 3: FIRResponseStage from COUNTS to COUNTS, gain: 1
214 Stage 4: FIRResponseStage from COUNTS to COUNTS, gain: 1
215 Stage 5: FIRResponseStage from COUNTS to COUNTS, gain: 0.99998
216 Stage 6: FIRResponseStage from COUNTS to COUNTS, gain: 1##
217
218
robert 60.2 219 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 220
robert 71.1 221 Instrument response can be downloaded from IRIS [[Nominal Response Library>>https://ds.iris.edu/ds/nrl/datalogger/anurses]] 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 222
robert 56.1 223
robert 59.1 224 [[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 225
robert 59.1 226 [[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 227
robert 59.1 228 [[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 229
robert 59.1 230 [[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 231
232
robert 60.2 233 [[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 234
robert 55.1 235 = ANU TerraSAWR (Gen 3, FW 3.5a, 2014- current) =
robert 28.1 236
robert 55.1 237 Earliest known model is dated July 2014 (though first deployed in 2019) and our current flagship model. Lightweight and small.
robert 1.1 238
robert 55.1 239 = ANU LPR-200 (Gen 2, FW 2.6a/2.7a, 2011 - current) =
robert 1.1 240
robert 55.1 241 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 242
robert 69.1 243 We have found that the older LPR SD card slots can sometimes fail such that the data cards prematurely "pop out" during recording, which can be catastrophic. This seems to mostly occur in periods of hot weather, but not always. We have developed a small add-on that screws into the nearby serial port that effectively holds the cards in place and will ship included with these loggers. Screw the device in firmly, then **gently** slide over a pre-inserted card until it is flush with the top of the card. It probably won't slide over all the way and that's by design. Take care not to force the depress the card inadvertently (although testing has shown it will still record).
robert 68.1 244
245 [[image:LPR_card_adaptors.jpg||alt="image of the LPR SD-card adapter"]]
246
robert 46.2 247 = ANU "ANUSR" (Gen 1, 2003? - 2012) =
robert 1.1 248
robert 46.2 249 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 250
251
252 = References =
253
robert 42.1 254 * [[PDF Manual>>http://auspass.edu.au/field/LPR-200_Instruction_Manual.pdf]]
robert 73.1 255
256 [[TSAWR & LPR-200 sensor pinout>>image:ANU_seismometer_connection.png]]
257
258
robert 42.1 259 )))
robert 1.1 260
261 (% class="col-xs-12 col-sm-4" %)
262 (((
263 (% class="box" %)
264 (((
robert 6.1 265 **Contents**
robert 1.1 266
robert 42.1 267 {{toc/}}
robert 6.1 268 )))
269
Jack Dent 17.1 270
robert 45.1 271
robert 46.1 272
robert 46.2 273
robert 48.1 274
robert 49.1 275
robert 50.1 276
robert 50.2 277
Jack Dent 52.1 278
Jack Dent 53.1 279
santi 54.1 280
robert 55.1 281
robert 56.1 282
robert 57.1 283
robert 58.1 284
robert 58.2 285
robert 59.2 286
robert 60.2 287
robert 62.1 288
robert 63.1 289
robert 64.1 290
robert 65.1 291
robert 66.1 292
robert 67.1 293
robert 68.1 294
robert 69.1 295
robert 70.1 296
robert 71.1 297
robert 71.2 298
robert 73.1 299
Jack Dent 17.1 300 (% class="box" %)
301 (((
robert 7.1 302 = TerraSAWR Specs =
robert 6.1 303
robert 1.1 304
robert 42.1 305 [[image:Terrasawr 1.jpg]]
Jack Dent 9.1 306
robert 42.1 307 [[image:1704865206800-824.jpg]]
Jack Dent 9.1 308
robert 42.1 309 [[image:1704864886951-793.jpg]]
Jack Dent 9.1 310
robert 11.1 311 |=Size (L x W x H)|30 x 25 x12cm
robert 45.1 312 |=Weight (with battery)| 1.9kg (2.5kg)
robert 14.1 313 |=Battery|(((
robert 46.2 314 Lead-acid 12v, ~~7-9Ah
robert 2.2 315
316 Rechargeable
robert 1.1 317 )))
robert 46.2 318 |=Current Firmware|3.5a (Jan 2025)
Jack Dent 16.1 319
robert 42.1 320 [[image:terrasawr battery.jpg]]
robert 2.2 321 )))
robert 1.1 322
Jack Dent 17.1 323
robert 1.1 324 (% class="box" %)
325 (((
robert 7.1 326 = LPR-200 Specs =
robert 3.1 327
robert 42.1 328 [[image:LPR 1.jpg]]
robert 3.1 329
robert 42.1 330 [[image:LPR 2.jpg]]
Jack Dent 9.1 331
robert 42.1 332 [[image:LPR 3.jpg]]
Jack Dent 9.1 333
robert 11.1 334 |=Size (L x W x H)|42 x 34 x17 cm
robert 45.1 335 |=Weight (no battery)|5.5 kg
robert 14.1 336 |=Battery|(((
robert 46.1 337 NOW: Any 12v battery with tab connections that will fit (ex. the same TSAWR battery)
robert 3.1 338
robert 46.2 339 DISCONTINUED: LiFePo4 140Ah Rechargeable (shown below).
robert 3.1 340 )))
robert 46.2 341 |=Current Firmware|(((
342 2.6a (old GPS modules) / 2.7a
Jack Dent 16.1 343
robert 46.2 344 Jan 2025
345 )))
346
robert 42.1 347 [[image:LPR battery.jpg]]
robert 3.1 348 )))
robert 1.1 349 )))
robert 61.1 350
351
352
robert 62.1 353
robert 63.1 354
robert 64.1 355
robert 65.1 356
robert 66.1 357
robert 67.1 358
robert 68.1 359
robert 69.1 360
robert 70.1 361
robert 71.1 362
robert 71.2 363
robert 73.1 364
robert 61.1 365
robert 42.1 366 )))