Wiki source code of ANU Seismic Data Loggers

Last modified by robert on 2025/06/20 12:31

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
robert 47.1 17 At 100 Hz and with a GPS cable connected these loggers draw about 220 mW of power once the screen is off. 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 47.1 19 For very sunny environments (latitudes < 30) a 20V 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.
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
robert 15.1 26 = Data Card Formatting and Information =
27
robert 42.1 28 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 29
robert 42.1 30 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 31
robert 48.1 32 == The format for ANUSRSetup.txt / LPR200s will be a single line of text that looks like this: ==
robert 24.1 33
robert 25.1 34 {{{XXX195G0100010034864 2 }}}
robert 24.1 35
robert 46.2 36 //corresponding to//
robert 24.1 37
robert 46.2 38 site **XXX19**,
39 network **5G**,
40 sample rate **0100**, (i.e. 100 Hz)
41 "gps interval" **01** (once per hour~-~- don't change),
42 start mode (always **0**),
43 stop mode (always **0**),
44 seismometer type (**3** = broadband (+/- 20V), 2 = Guralp (+/- 10V), 1 = shortperiod (+/- 5V),
45 and seismometer serial number (**4864**).
46
Jack Dent 29.1 47 (% class="box warningmessage" %)
48 (((
Jack Dent 31.3 49 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 50 )))
robert 24.1 51
robert 48.1 52 == The format for TSAWR loggers is shorter: ==
robert 24.1 53
Jack Dent 31.2 54 (% class="box errormessage" %)
55 (((
56 **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!**
57 )))
robert 24.1 58
Jack Dent 31.2 59 SITE15G02500039999 2
60
Jack Dent 33.1 61 corresponding to site SITE1, 
Jack Dent 31.2 62
63 network 5G
Jack Dent 29.1 64 sample rate 0250, (i.e. 250 Hz)
65 start mode (always 0),
66 stop mode (always 0),
Jack Dent 31.2 67 seismometer type (3 = broadband (+/- 20V), 2 = Guralp (+/- 10V), 1 = shortperiod (+/- 5V),
Jack Dent 29.1 68 and seismometer serial number (9999).
robert 24.1 69
Jack Dent 29.1 70
robert 48.1 71 == The formatting process using the logger: ==
Jack Dent 29.1 72
Jack Dent 30.1 73 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 74
robert 42.1 75 [[image:original_0747763c-e3dd-4667-b897-833f12c8e0b8_20241219_130604.jpg||height="240" width="298"]]
Jack Dent 29.1 76
robert 24.1 77 Here is a general guideline for how much data you can expect to fit on a card:
78
79 {{{ 64Gb card: 245 days @ 250hz or 610 days @ 100hz
Jack Dent 31.1 80 32Gb card: 122 days @ 250hz or 305 days @ 100hz
81 }}}
robert 24.1 82
robert 46.2 83 == Default Settings ==
robert 24.1 84
robert 46.2 85 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.
86
87 * XX.ANUSR network and station name
88 * 100 Hz Sample Rate
89 * 40V pp (or +/- 20 V) gain / Trillium Compact seismometer version
90 * Record on Restart enabled
91
92 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.
93
Jack Dent 31.1 94 = Logger Menus Overview (and setup) =
robert 24.1 95
Jack Dent 36.1 96 The same menus are used in both the TSAWR and LPR-200 loggers.
Jack Dent 31.4 97
Jack Dent 31.1 98 == System Information ==
99
100 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.
101
102 This menu also displays the firmware version, battery, external, and solar voltages, and the temperature of the system.
103
robert 44.1 104 * Check all Initialisation Parameters are marked as successful.
105 * Check that solar voltage is above 10 V, otherwise the station will not last long.
Jack Dent 31.1 106
107 == Live Seismometer Data ==
108
109 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.
110
robert 44.1 111 * Check that all 3 channels are present and are producing a signal.
112 * Stomp on the ground near where the sensor is installed to check that a signal is being picked up by all 3 channels.
113 * Common representations of poor signals include channels sloping smoothly from high values to zero, or sharp corners in the plots.
Jack Dent 31.1 114
Jack Dent 33.1 115 == GPS Data ==
Jack Dent 31.3 116
117 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.
118
robert 43.1 119 * Check that the station is connected to satellites
Jack Dent 31.3 120
121 == SD Information ==
122
123 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.
124
Jack Dent 31.2 125 == System Configuration ==
126
127 This menu is used to set the stations identifiers and parameters.
128
129 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).
130
131 Next, the station identifier (up to 5 characters) and the network code (2 characters) can be set.
132
133 Record start and stop mode should be left to 'On Request' mode.
134
135 The seismometer model and serial number (up to 10 characters) can be set. Seismometer model options include:
136
robert 43.1 137 * Trillium Compact (same for 20 and 120)
138 * CMG - 3ESP
139 * Guralp 40T
140 * LE-3D Lite
141 * Mark L4C
142 * Mark L4
Jack Dent 31.2 143
144 Additionally, the following settings can be used in place of the seismometer model types: +/- 20V, +/- 10V, +/- 5V
145
Jack Dent 31.3 146 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 147
robert 43.1 148 * 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 149
Jack Dent 31.3 150 (% class="box errormessage" %)
Jack Dent 31.2 151 (((
152 NOTE: Ensure the 'RECORD ON RESTART' option is marked with a cross.
153 )))
154
Jack Dent 34.1 155 (% class="wikigeneratedid" %)
robert 42.1 156 [[image:original_2b83fcf5-ee5a-4375-bab1-2d738e4ffe8c_20241219_130646.jpg||height="234" width="289"]]
Jack Dent 34.1 157
Jack Dent 31.3 158 == STA/LTA Configuration ==
159
robert 43.1 160 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 161
robert 27.2 162 = LogFile Conversion Script =
163
robert 42.1 164 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 165
robert 28.1 166 = Instrument Response =
robert 27.2 167
robert 46.2 168 Both the TerraSAWR and LPR-200 use the same ADS1281 analog-to-digital converter chip and are designed to have identical instrument response. Depending on the output sample rate (e.g. 100 Hz, 250 Hz, 1000 Hz) amplitude response is consistently flat up to ~~100 Hz but phase response can vary above 1 Hz at 100 Hz (or 10 Hz at 250 Hz).
robert 1.1 169
robert 28.1 170 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.
171
172 Another important thing to note is that the group delay associated with late stage FIR filters is **automatically applied in the logger**, hence there is no need to apply this in the response. These tend to max out at 0.124 seconds for most output sampling rates (0.062 s for 100 Hz).
173
robert 48.1 174 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 175
robert 48.1 176 The response info from IRIS-NRL is the "full" version which (in theory!) perfectly describes the data logger's bias on the data. However this is in many way overkill and at the cost of 1) increased metadata size and, more importantly, 2) increased CPU demand in the response removal process. Testing has shown that for signals below 100 Hz, the "full" response offers little to no benefit and can increase the time it takes to remove the response for a 1 hour window of 100Hz data by a factor of x20 or more. For earthquake arrival data this is often negligible, but for data intensive tasks like ambient noise cross-correlations this can be a severe hindrance. Thus we have created a parallel version of this response which removes the SINC and FIR filters completely. These are labelled "fast" in our [[local response archive>>http://auspass.edu.au/data/logger_response]] and essentially truncate response stages 3 onwards into a "fake" decimation step from 1024000 Hz to the desired output samplerate with no filtering whatsoever.
robert 28.1 177
robert 48.1 178 In the below we show both responses applied to a test signal with a frequency range of 1000 seconds to 100 Hz. The maximum discrepancy in signal is less than 0.01% (1.0001) which is far below what you should expect from the mechanical inconsistencies intrinsic to the sensor itself. Thus, we strongly advise users employ the "fast" version of this response information and it is what we use for our networks by default. If you are recording at 1000 Hz, or care deeply about signals above 100 Hz (so recorded at 250 or 1000 Hz), please use the full response. Any questions, please ask!
179
180 [[Testing the "full" and "fast" versions of the ANU data logger response on synthetic 250 Hz data from 1000 seconds to 100 hertz. For all intents and purposes, they are identical.>>image:full_vs_fast.png||data-xwiki-image-style-alignment="center"]]
181
182
robert 46.2 183 = ANU TerraSAWR (Gen 3, FW 3.5a, 2017- current) =
robert 28.1 184
robert 47.1 185 Not sure there's much left to say
robert 1.1 186
187
188
robert 28.1 189 = ANU LPR-200 (Gen 2, FW 2.6a/2.7a, 2013 - current) =
robert 1.1 190
robert 43.1 191 Ditto the mighty LPR!
robert 1.1 192
193
robert 46.2 194 = ANU "ANUSR" (Gen 1, 2003? - 2012) =
robert 1.1 195
robert 46.2 196 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 197
198
199 = References =
200
robert 42.1 201 * [[PDF Manual>>http://auspass.edu.au/field/LPR-200_Instruction_Manual.pdf]]
202 )))
robert 1.1 203
204 (% class="col-xs-12 col-sm-4" %)
205 (((
206 (% class="box" %)
207 (((
robert 6.1 208 **Contents**
robert 1.1 209
robert 42.1 210 {{toc/}}
robert 6.1 211 )))
212
Jack Dent 17.1 213
robert 45.1 214
robert 46.1 215
robert 46.2 216
robert 48.1 217
Jack Dent 17.1 218 (% class="box" %)
219 (((
robert 7.1 220 = TerraSAWR Specs =
robert 6.1 221
robert 1.1 222
robert 42.1 223 [[image:Terrasawr 1.jpg]]
Jack Dent 9.1 224
robert 42.1 225 [[image:1704865206800-824.jpg]]
Jack Dent 9.1 226
robert 42.1 227 [[image:1704864886951-793.jpg]]
Jack Dent 9.1 228
robert 11.1 229 |=Size (L x W x H)|30 x 25 x12cm
robert 45.1 230 |=Weight (with battery)| 1.9kg (2.5kg)
robert 14.1 231 |=Battery|(((
robert 46.2 232 Lead-acid 12v, ~~7-9Ah
robert 2.2 233
234 Rechargeable
robert 1.1 235 )))
robert 46.2 236 |=Current Firmware|3.5a (Jan 2025)
Jack Dent 16.1 237
robert 42.1 238 [[image:terrasawr battery.jpg]]
robert 2.2 239 )))
robert 1.1 240
Jack Dent 17.1 241
robert 1.1 242 (% class="box" %)
243 (((
robert 7.1 244 = LPR-200 Specs =
robert 3.1 245
robert 42.1 246 [[image:LPR 1.jpg]]
robert 3.1 247
robert 42.1 248 [[image:LPR 2.jpg]]
Jack Dent 9.1 249
robert 42.1 250 [[image:LPR 3.jpg]]
Jack Dent 9.1 251
robert 11.1 252 |=Size (L x W x H)|42 x 34 x17 cm
robert 45.1 253 |=Weight (no battery)|5.5 kg
robert 14.1 254 |=Battery|(((
robert 46.1 255 NOW: Any 12v battery with tab connections that will fit (ex. the same TSAWR battery)
robert 3.1 256
robert 46.2 257 DISCONTINUED: LiFePo4 140Ah Rechargeable (shown below).
robert 3.1 258 )))
robert 46.2 259 |=Current Firmware|(((
260 2.6a (old GPS modules) / 2.7a
Jack Dent 16.1 261
robert 46.2 262 Jan 2025
263 )))
264
robert 42.1 265 [[image:LPR battery.jpg]]
robert 3.1 266 )))
robert 1.1 267 )))
robert 42.1 268 )))