Академический Документы
Профессиональный Документы
Культура Документы
96494-00-TO
Rev U
1/31/2017
This REF TEK manual provides a technical overview of networking, disk operations, triggers, bit
weights and filters when used with the 130 DAS.
Trimble, Inc.
5217 Tennyson Pkwy
Suite 400
Plano, Texas 75024
Support: 1-888-879-2207
Email:
reftek_support@trimble.com
www.trimble.com/infrastructure
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Revision History:
All rights reserved. No parts of this manual may be reproduced, copied or transmitted
in any form outside the approved recipient’s organization without written permission
from Trimble, Inc.
Printed in USA.
iv Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Contents
1 Networking and Telemetry ................................................................................... 1
1.1 Overview ......................................................................................................................1
1.1.1 IP Addresses.......................................................................................................... 1
3.3.1 Sample Rate Effects Full-scale Range, Offset, System Noise ................................ 21
Trimble, Inc. v
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
vi Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
8 Offset ............................................................................................................... 57
8.1 Offset Option with a handheld ...................................................................................57
14 Index ................................................................................................................ 96
Trimble, Inc. ix
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
List of Figures:
Figure 1—1 FTP to 130 ............................................................................................................... 5
x Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trimble, Inc. xi
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
1.1 Overview
The REF TEK 130 DAS (Digital Acquisition System) includes support for IP
communications. It employs TCP and UDP over Ethernet and PPP Serial
connections. The applications supported by the 130 unit are an FTP server, a
Command server and an RTP (REF TEK Protocol) client.
1.1.1 IP Addresses
The REF TEK 130 DAS has two network interfaces: Ethernet and Serial. Each
interface has its own IP address, address mask, gateway, and target host for
RTP. Any IP address on one of the same subnets as the DAS unit may connect
using FTP and/or the command socket. However, the 130 unit restricts the
external IP addresses from which it will accept connections, to the equivalent of
a Class C subnet containing the RTP host. If no RTP host is set for either
interface, no connections can be established to the unit from outside its subnet.
1.1.2 Ports
The FTP server uses TCP/IP on port 21, along with a secondary port for data
transfers. The FTP server provides full access to the 130 disk drives to those
with the proper login information. Files copied onto the drive are not read and
cannot be executed by the 130, except for its firmware files. The firmware files
are specific to the microprocessor and real time OS (RTOS) contained in the
unit.
The Command server uses TCP/IP on port 5000. The payload of datagrams
issued over this port must adhere to the 130 Command specifications. These
commands only affect the operation of the 130. Datagrams issued by the 130
over this port are command responses that also adhere to the 130 Command
specifications and are only interpretable by software specifically written to do
so.
Trimble, Inc. 1
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The RTP client uses UDP/IP on port 2543, which is registered with the Internet
Assigned Number Authority (IANA). RTP is a proprietary protocol designed for
near-real-time transmission of data that only communicates with software
specifically written to do so. The payload of RTP datagrams are 130 commands,
responses and recording packets. The 130 cannot be externally instructed to
output other information using this client.
The 130 DAS also responds to echo requests (pings). These requests use port
7.
1.2 Options
2 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
When telemetry goes down and Keep is selected, the unit keeps all existing data
and continues collecting data until RAM fills. When the telemetry comes back
up, the oldest data is transmitted first. The unit re-enables acquisition
automatically when at least half of RAM is available.
When telemetry goes down and Toss is selected, the unit discards all data being
recorded to telemetry until the telemetry comes back up. Tossing of data
begins after the user specified Toss Delay time (2-99 minutes) has lapsed.
When the telemetry comes back up, transmission resumes with current data.
The Toss Delay parameter selection specifies how long the link must be down
before data is discarded. Consideration should be taken to adjust the toss time
according to the sample rate so that the toss delay expires before RAM fills.
Telemetry is considered down when RTP has not been able to communicate
with the RTP server (RTPD) for about 2 minutes at which time RTP reverts to the
‘server discovery’ state. This state is reached only after 10 unsuccessful
transmissions of any packet in the RTP transmit queue. The telemetry is
considered up when RTP successfully re-connects to RTPD.
Note: Disconnecting the Ethernet cable between the DAS and a hub will NOT cause the
DAS to detect a link down condition. However, disconnecting the Ethernet cable between
the hub and the computer running RTPD, DOES cause the DAS to detect a link down
condition. Disconnecting the Serial telemetry connection will always cause the DAS to
detect a link down condition.
When RAM reaches 95% full, the 130 will perform a RESET in an attempt to
correct a possible problem with the telemetry link. If the 130 is set to “Keep
Mode” and data continues to fill the RAM after the reset, when RAM reaches
100% full, acquisition will be stopped. If the 130 is set to “Toss Mode” and data
continues to fill the RAM after the reset, when RAM reaches 97% full, the 130
will switch to “Toss Mode” and all data destined for the telemetry port will be
tossed. The 130 will remain in the “Toss Mode” until connection to the RTPD
data server is re-established.
When the 130 has declared that the RTP connection is down it enters the ‘server
discovery’ state. Server Discoveries will be sent every 10 seconds for
Trimble, Inc. 3
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Note: Any IP addresses on one of the same subnets, as the 130 DAS unit, may connect
using FTP and/or the command socket. However, the 130 DAS unit restricts the external
IP addresses from which it will accept connections, to the equivalent of a Class C subnet
containing the RTP host. If no RTP host is set for an interface, no connections can be
established to the unit from outside its subnet.
The 130 FTP server has a two minute time-out period. If no activity occurs on
the FTP link for two minutes, the FTP server will close the connection. If a client
connection is not properly terminated the 130 will time-out after two minutes
and close the connection. This will allow another client to then connect to the
FTP server.
Note: At least one disk must be installed in the 130 system in order for the user to login
to the 130 FTP server. If no disk is installed the 130 will accept the FTP connection, but
will immediately close it without providing a user login prompt.
The display below shows an FTP connection to the 130. In all cases, use the
following to log into the 130:
4 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
User nam e Password
reftek reftek
Trimble, Inc. 5
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The display below shows an attempt to connect to a 130 that already has an
FTP client connected.
6 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
You can change to the second disk using either one of the following ftp
commands:
cd b: or cd dk2:
You can change to the first disk using either one of the following ftp
commands:
cd a: or cd dk1:
Note: When two disks are installed, FTP always logs the user into Disk 1 first. All disks
can be accessed using FTP. When a single disk is installed, FTP always logs into the
single disk. You can move between the two disks using the ‘change directory’
command.
Trimble, Inc. 7
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
2 Disk Operations
This section discusses the handling of disk drives in the REF TEK 130 DAS.
2.1 Overview
The standard REF TEK 130-01 DAS allows the use of up to two Compact Flash II
(CFII) devices for data recording. Supported CF devices include flash memory
ATA devices. Except where specifically noted all of these devices are referred to
as disks. On 130-01 units which support two disks, the slot closest to the
‘plunger’ (See Figure 2—1) inside the disk well is Disk 1 while the slot closest to
the battery is Disk 2.
Disk 1 slot
Note: A disk should never be removed from the well while its RED LED is on. It
can safely be removed when its LED is GREEN.
Note: Disk operations are suspended when the input voltage drops below 11.1V
and are re-enabled when the voltage goes above 11.5V (version 2.9.6 version of
firmware or later) (See the 130 3.0.0 CPU Release Notes for more information).
Attention: For optimal performance in a REF TEK 130 Compact Flash disks
should ALWAYS be formatted BY THE RECORDER.
Trimble, Inc. 9
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
<= 5 MB 1 KB
>5 MB to 128 MB 2 KB
>128 MB to 256 MB 4 KB
>256 MB to 1 GB 8 KB
>1 GB to 2 GB 1 KB
>2 GB 32 KB
To ensure proper operation the DAS will automatically format disks that are 4
GB or larger if the cluster size is not 32 KB when the disk is installed. In
addition, any disk that reports a cluster size of 0 KB will be formatted (32 MB
disks).
The default cluster size for disks formatted using PC vs. DAS will be as follows:
Disk Size File System Cluster Size File System Cluster Size Automatic
Format
Note: When 2 GB and larger disks are installed in the DAS after being formatted
on a PC it can take more than 2 minutes for the DAS to read the FAT table and
log onto the disk. It can take more than 2 additional minutes to format the disk
as well.
10 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Disk operations are suspended when the input voltage drops below 11.1V and
are re-enabled when the voltage goes above 11.5V (version 2.9.6 version of
firmware or later) (See the 130 3.0.0 CPU Release Notes for more information).
Note: As of firmware version 3.2.0 there is a forced dump to disk once a day even if the
amount of data collected has not reached the dump threshold.
Trimble, Inc. 11
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Note: As of firmware version 3.2.0 there is a forced dump to disk once a day
even if the amount of data collected has not reached the dump threshold.
2.4.2 Dump on ET
The Dump on ET option allows user control of when event data is written to
disk. In versions of the CPU firmware before 2.7.3 this option was hard coded
to be disabled. When enabled the DAS will write all remaining event data to the
disk when the end of the event is detected and the ET packet is created. When
disabled the data will be dumped to the disk based on the setting of the Dump
Threshold.
Note: The disk is considered full when the amount of available disk space falls below
four times the amount of (total) data RAM that is installed in the system. If a second disk
is installed, disk recording of new events continues on the second disk. The DAS
attempts to store all the data for an event in one file on one disk. However, in some
cases, an event may be split across the two disks.
When split across two disks the first side will end with eight 0’s and the file on the 2 nd
disk will have the same path and name until the ET packet is stored. The file on the 2 nd
disk will then be renamed to include the total event length.
12 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The 130 should be configured for TOSS mode in order to prevent RAM from
filling causing acquisition to stop.
Trimble, Inc. 13
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
yyyyddd Represents the 4-digit year and 3-digit day of year when a particular file
begins
iiii Represents the UnitID of the unit that recorded the data
s Represents the datastream number of the data. The SOH log is recorded as
stream 0
Data is written into files by event. The file name looks like this:
hhmmssttt_llllllll
where:
hhmmssttt Represents the hour, minute, second and millisecond of the first sample in
the file
11111111 Represents the hexadecimal length of the file in milliseconds
Note: State of health files are named in a similar manner but are based on the time of
the first entry into the file.
HH = hour
MM = minutes
SS = seconds
xxxxxxxx = length
022715000_00000000
14 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
3.1 Overview
The hardware and software of the DAS allow collection of data continuously, or
selectively, in accordance with the particular data recording parameters that
you select. Most of the DAS data recording operations are controlled by
datastream and trigger parameters.
Trigger Section
Trimble, Inc. 15
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
This section provides definitions for several important terms related to datastreams and
triggers.
Datastream/ Definition
Trigger Term
Datastream The combination of specified input channels, sample rate, data format,
trigger and recording destination.
Event The activation of any trigger (and the data associated with that specific
trigger activation)
Sample Rate The number of samples per second that the DAS records from the input
sensor(s). Possible sample rates are 1000, 500, 250, 200, 125, 100, 50, 40,
20, 10, 5 and 1 sps.
They always record data at the requested rate, but the A/D converter in such
units may sample the data at a rate higher than the actual recording rate.
See the appropriate Technical Overview Document for comprehensive
information on your DAS system’s particular capabilities.
Group One: The following rates are only available when recording a single
sample rate for all streams: 1000, 500, 250, and 125.
Group Two: The following rates may be recorded in any combination within
all streams: 200, 100, 50, 40, 20, 10, 5, and 1.
Data Format DAS units record data in 32-bit or compressed (differential) format.
Trigger Types Currently the available trigger types are:
- Continuous trigger
- Cross
- Event
- External
- Level
- Time Interval
- Time List
16 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
- Vote
Each trigger has an associated set of parameters which determine the exact
conditions for recording an event. Those triggers that require calculations on
the data decrease the maximum sustainable sample rate.
Record Length The amount of time a DAS will record data of a single event.
The maximum number of samples the DAS can record for each channel of a
given event is 4,294,967,295. The total number of samples a given record
will contain is the product of the record length (in seconds) x the sample rate
(per second).
Datastream/ Definition
Trigger Term
Therefore:
𝟑𝟑𝟔, 𝟔𝟎𝟎 − 𝟑𝟏, 𝟓𝟏𝟐 = 𝟑𝟎𝟓, 𝟎𝟖𝟖 𝒃𝒚𝒕𝒆𝒔 𝒓𝒆𝒎𝒂𝒊𝒏𝒊𝒏𝒈 𝒇𝒐𝒓 𝒐𝒕𝒉𝒆𝒓 𝒔𝒕𝒓𝒆𝒂𝒎𝒔
Trimble, Inc. 17
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Therefore:
𝟑𝟎𝟓, 𝟎𝟖𝟖 − 𝟏𝟕𝟖, 𝟒𝟖𝟖 = 𝟏𝟐𝟔, 𝟔𝟎𝟎 𝒃𝒚𝒕𝒆𝒔 𝒓𝒆𝒎𝒂𝒊𝒏𝒊𝒏𝒈 𝒇𝒐𝒓 𝒐𝒕𝒉𝒆𝒓 𝒔𝒕𝒓𝒆𝒂𝒎𝒔
Note: Adding a third continuous stream is possible or you could increase the pre-event
of the second stream by up to 26 seconds.
18 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The following chart lists and explains the available datastream parameters for
the 130 DAS. Note that the default values are explained as they are interpreted
by the DAS, not necessarily as they appear on the user interface.
Stream Name Any 24-character alphanumeric string The name you assign to all the data
associated with the given
datastream. This field defaults to a
null entry.
Channel(s) 1, 2, 3, 4, 5, 6 The channels included in the given
datastream. The default is null; if
you do not select a channel, the
datastream will not include data.
Sample Rate 1, 5, 10, 20, 40, 50, 100, 125, 200, The number of samples per second
250, 500, or 1000 sps that the DAS records from the
input sensor(s).
Data Format 32 or CO The format of data recorded for the
given datastream, either 32-bit, or
compressed (differential). By
default, the DAS records data in the
32-bit format.
Current DAS software forces those
units with 24-bit converters to use
the 32-bit format.
Trigger Type CON The particular trigger mechanism
CRS the DAS will use to determine when
EVT to record data for the particular
EXT datastream. Trigger types and
LEV available trigger parameters are
TIM explained later in this section.
Trimble, Inc. 19
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
TML
VOT
20 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
For more information on sample rate effects, refer to the specifications in the
PCB document for the analog-to-digital converter used in your DAS.
Group One: The following rates are only available when recording a single
sample rate for all streams: 1000, 500, 250, 125, and 50.
Group Two: The following rates may be recorded in any combination within all
streams: 200, 100, 40, 20, 10, 5 and 1.
Selection of a sample rate When the user activates any Selection of 125 SPS for Data
from Group One. of the other data streams, the Stream 1.
sample rate chosen must be
the SAME. This means that when Data
Stream 2 is activated the sample
rate is fixed at 125 SPS and
there are no other sample rate
choices available.
Selection of a sample rate When the user activates any Selection of 40 SPS for Data
from Group Two. of the other data streams, Stream 1.
ANY of the group two sample
rates can be chosen. This means that when Data
Stream 2 is activated the choice
is selection of any of Group two
sample rates (200, 100, 50, 40,
20, 10, 5, or 1).
All six channels run at the same base sample rate at this time.
Trimble, Inc. 21
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
o The exact number of samples for a given event may slightly exceed the number
you expect based on the parameters you requested.
o The first sample that the DAS records may not exactly reflect the time you
expect.
The DAS creates a different collection packet for each datastream. Each
collection packet contains a maximum of 1000 bytes of data, up to 250 32-bit
samples.
Because a collection packet contains the same number of samples for each
channel included in the datastream, some parameter combinations (with
different active channels and data size) can waste space at the end of collection
packets. The following chart shows the effects of the number of active channels
and different data sizes on the total number of samples per channel in a given
collection packet:
Number of Channels: 1 2 3 4 5 6
When the DAS activates a trigger for a given datastream, it separates the
samples and provides a data recording block (DT) for each channel included in
the datastream. Because the DAS processes every sample in a full collection
block, the DAS may record more samples for an event than the number you
requested. The following subsection provides examples for clarification.
Given a datastream with 3 active 32-bit channels at 125 samples per second
with a 60 second record length, the DAS calculates the sample count as follows:
7500 samples / 83 samples per channel per collection packet = 90.36 collection packets
22 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Given a datastream with 6 active 32-bit channels at 125 samples per second
with a 60 second record length, the DAS calculates the sample count as follows:
7500 samples / 41 samples per channel per collection packet = 182.93 collection packets
The first sample in a recording event (as determined by DAS parameters) is the
sample with a time tag that reflects the trigger time minus the pre-trigger
length (if included). The DAS usually does not record this sample as the first in
a recording packet. The DAS begins recording with the first sample in the
collection packet that contains the first sample in the recording event.
The last sample in a recording event for any trigger other than an event trigger
has a time tag that reflects the first recorded sample plus the record length.
The last sample in a recording event for an event trigger has a time tag that
reflects the de-trigger time plus the post-trigger length (but not earlier than
the first recorded sample plus the record length). The DAS usually does not
record this sample as the last sample in a recording packet. The DAS ends
recording with the last sample in the collection packet that contains the last
sample in the recording event.
Trimble, Inc. 23
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
3.4.1 Description
The Continuous Trigger Stream events will perform time alignment when the
record length specified divides into 24 hours (86400 seconds). Each time
acquisition is started, the 130 recorder adjusts the record length of the first
event so that it ends on the last sample before the alignment point that is
calculated. All subsequent events will start exactly at the alignment time and
record the amount of data specified by the record length. If the 130 recorder
has to adjust the internal clock due to a user time set or GPS time set, it will
terminate the current event after the adjustment is made and start a new event
with a record length that ends on the last sample before the alignment time. All
subsequent events will be properly time aligned. The abbreviation, CON,
denotes a continuous trigger.
Record lengths that do not divide into 24 hours will not be time aligned.
Therefore all events recorded will be equal to the record length specified.
3.4.2 Examples
The first event will be shortened so that all subsequent events will start at HH:00:00.000.
The first event will be shortened so that all subsequent events will start at HH:00:00.000,
HH:20:00.000 and HH:40:00.000.
Record Length: 3601 seconds – 864000 / 3601 = 23.9933 events per 24 hours.
The first event and all subsequent events will be 3601 seconds in length.
24 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Record Length 60 to 9999 seconds The amount of time that the DAS will record data to
an event. When the record length is reached a new
event will be started.
Trimble, Inc. 25
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
3.5.1 Description
With the cross trigger event, you can trigger one datastream in conjunction with
the triggering of another datastream. A cross trigger activates when the
specified datastream triggers. The DAS terminates the event when the record
length is reached. The abbreviation, CRS, denotes a cross trigger.
The cross trigger specifically allows the DAS to collect data at a different rate or
on different channels than those included in the datastream which activated the
trigger.
1 At 200 sps. Longer pre-event is possible at lower sample rates. Contact customer support for more information.
26 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The event trigger is complicated and can be difficult to use. This section
provides a general description, a detailed explanation of the event trigger
parameters plus an explanation of event trigger calculations and some basic
event trigger parameter sets to help guide you in using the event trigger.
3.6.1 Description
An event trigger requires the DAS to perform complex calculations on the data.
The DAS uses each sample from a trigger channel to calculate a short term
average (STA) and a long term average (LTA). The user has the option to apply a
high pass filter and/or a low pass filter to the sample before using it to
calculate the two averages. An event is detected (triggered) when the ratio
between the STA and the LTA exceeds the user-specified value. The DAS
terminates the event when the STA/LTA ratio returns to a level below the user-
specified de-trigger ratio. If you do not specify a de-trigger ratio, the DAS
terminates the event when the record length is reached. In either case, the
recorded data is always at least as long as the record length. The abbreviation
EVT, denotes an event trigger.
Trimble, Inc. 27
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trigger 1,2,3,4,5,6, The channels used for event calculation. Do not include in the
Channels or any event trigger any channels that are not already included in the
combination datastream.
Minimum 1 to 6 The number of trigger channels which must meet the trigger
Number of criteria before the DAS will activate an event trigger. This value
Channels must not exceed the number of trigger channels included in the
event calculations (as explained above).
Trigger 0.1 to 99.9 The time interval during which the minimum number of
Window seconds channels (above) must meet the trigger criteria for the DAS to
activate an event.
This parameter has no effect when you include only one channel
in the datastream or require only one channel to trigger.
Pre-Event 0 to 991 The amount of preceding data that the DAS will record with an
Length seconds event before recording the event itself.
The term “pre-trigger” is occasionally used synonymously.
Post- 0 to 999.9 The amount of time that the DAS extends the recording after the
trigger seconds de-trigger is declared. A value of zero indicates no post-trigger.
This field defaults to zero.
Record 0 to 9999 The minimum length of the recording for one event. Note that
Length seconds this differs from the record lengths used for other triggers.
If you do not set a de-trigger ratio, the DAS ensures all
recording events have lengths equal to the setting in this field.
If you enter a value of zero, the DAS will not record data, but will
record event header and event trailer blocks. This field defaults
to zero.
1 At 200 sps. Longer pre-event is possible at lower sample rates. Contact customer support for more information.
28 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
STA Length 0 to 999.9 The number of seconds in which the DAS averages data using a
seconds running (exponential) average for STA. The DAS uses mean-
removed data for this calculation. The maximum STA length, in
samples, is 65,536. This field defaults to zero.
LTA Length .1 to 999.9 The number of seconds in which the DAS averages data using a
seconds running (exponential) average for LTA, also using mean-
removed data (as above). You will usually select a value for the
LTA length greater than that for STA length. The maximum LTA
length, in samples, is 65,536; this field defaults to maximum
length.
Trigger 0.1 to 99.9 The value that the STA/LTA ratio must exceed for the DAS to
Ratio activate an event trigger.
De-trigger 0 to 99.9 The value that the STA/LTA must return to after the DAS
Ratio activates an event trigger before the DAS will terminate the
event. This parameter defaults to zero (0), which causes the DAS
to deactivate the trigger within the duration of the record length
parameter after the STA/LTA ratio falls below the trigger ratio.
LTA Hold On or Off A function that, when enabled, cause the DAS to maintain a
(toggle) constant LTA. The DAS holds the LTA from the time it activates
an event until either the de-trigger time (if the de-trigger ratio
is not zero) or the end of the record (based on record length). By
default, the LTA hold function is disabled.
Trimble, Inc. 29
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
3.7.1 Description
The DAS declares an external trigger when it detects a transition from low
(ground) to high (3.3 < volts <= 12) on the external trigger pin (T) of the
NETWORK connector. On schematics, this line is labeled as TRGIN. One way to
provide this transition is to briefly short the COM power pin (G) on the same
connector to the trigger pin using an external closure.
Record Length 0 to 9999 seconds The amount of time that the DAS will record data,
including the pre-trigger length, to an event.
1 At 200 sps. Longer pre-event is possible at lower sample rates. Contact customer support for more information.
30 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
3.8.1 Description
The DAS compares data from all channels included in the level trigger
datastream to determine when to activate a level trigger. When the amplitude of
the digital value of a single sample on a single channel exceeds the trigger level
value, the trigger activates.
Record Length 0 to 9999 seconds The amount of time that the DAS will record data,
including the pre-trigger length, to an event.
1 At 200 sps. Longer pre-event is possible at lower sample rates. Contact customer support for more information.
Trimble, Inc. 31
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
32 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
o If the first character of the field is ‘G’ then the field is interpreted as
containing a level in G’s with up to 4 places of precision behind the
decimal point.
o If the first character of the field is ‘%’ then the field is interpreted as
containing a level as an integer percent of full scale.
o Otherwise, the field is interpreted as containing a level in digital counts.
Trimble, Inc. 33
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
3.9.1 Description
A Time Interval trigger event activates when the unit's internal time matches a
specified time. The DAS terminates the event when the record length is
reached. The abbreviation, TIM, denotes a Time Interval trigger.
You can set the Time Interval trigger to repeatedly activate for a fixed or infinite
number of times, at a specified interval. The start time for the time trigger
should be later than, or within a few specified intervals before the current time.
The DAS uses the start time to calculate the next trigger time whenever
parameters are implemented (including during power-up). It uses the previous
trigger time to calculate subsequent triggers.
Start Time 1 second increments The start time includes the year, Julian day, hour,
minute, and second. The DAS begins recording
when its internal time matches the start time. This
field has no default; if you do not set a start time,
the DAS will never record an event for this
datastream.
Number of 0 to 9999 The number of times the DAS will record an event.
Triggers Zero indicates an infinite number of recordings.
This field defaults to 0.
Repeat Interval 1 second to 45 days The length of time between the start of one
recording event and the start of the next,
specified in days, hours, minutes, and seconds.
Record Length 0 to 9999 seconds The amount of time that the DAS will record data,
including the pre-trigger length, to an event.
34 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trimble, Inc. 35
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
3.10.1 Description
A Time List trigger event activates when the units internal time matches one of
up to eleven specified times. The DAS terminates the event when the record
length is reached. The abbreviation TML denotes a Time List trigger.
Record 0 to 9999 seconds The amount of time that the DAS will record data,
Length including the pre-trigger length, to an event.
If zero is entered, the DAS will not record data, but will
record the event header and event trailer blocks.
36 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
3.11Vote trigger
The Vote trigger specifies that data will be recorded when the votes for
triggered channels reach the Trigger Minimum Votes. The DAS terminates the
event when votes for de-triggered channels reach the De-trigger Minimum
Votes.
3.11.1 Description
A channel is triggered when it exceeds its individual Trigger Channel Level. If
its Trigger Channel Level is not specified, it is set to MAX and the channel will
never trigger. A channel is de-triggered when it drops below its individual De-
trigger Channel Level. If its De-trigger Channel Level is not specified, it is set
equal to its Trigger Channel Level. Different levels can be used for triggering
and de-triggering a particular channel.
Trigger votes are only calculated before a trigger is declared. A channel is used
to detect a trigger when its Trigger Channel Votes is non-zero. When a channel
exceeds its individual Trigger Channel Level, its votes are included in the
trigger vote count for the duration of the Trigger Window. If the trigger vote
count reaches or exceeds the Trigger Minimum Votes, the DAS declares a
trigger. If the Trigger Minimum Votes is not specified, it is set to MAX and a
trigger will never be declared. After a trigger is detected, the Trigger Window
for each trigger channel is cleared.
Trimble, Inc. 37
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
After De-trigger has been declared, the 130 recorder looks for the Re-trigger
condition. Re-trigger occurs if the de-trigger vote count drops below the De-
trigger Minimum Votes. The Trigger Window is used while checking for Re-
trigger. When Retrigger is satisfied during Post-trigger, the 130 recorder
cancels the de-trigger and extends the recording. If the De-trigger Minimum
Votes is not specified, it is set to zero.
When the De-trigger Minimum Votes is satisfied the 130 recorder will continue
to record for the additional Post-Trigger length or until the minimum Record
Length is met.
The length of the recording is always at least the length specified by the Record
Length, but may be longer. If the Record Length is zero, no data is collected.
Instead, an EH packet is recorded when a trigger is detected and an ET packet is
recorded when the de-trigger is detected. If the Record Length is non-zero, the
length of the recording is variable and will include any specified Post-trigger
Length. The recording will have a fixed length equal to the Record Length when
the Post-trigger Length is zero and the De-trigger Minimum Votes is zero.
38 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
1 At 200 sps. Longer pre-event is possible at lower sample rates. Contact customer support for more information.
Trimble, Inc. 39
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
G’s 0.01 –4
% Full Scale 0 - 99
De-trigger minimum 1 - 99 0 Total de-trigger votes needed to de-
votes trigger an event.
High Pass Corner Off, 0.1 or 2 Off Hi-Pass Filter corner frequency in Hz.
Freq. This is a 4-pole filter at 0.1Hz, 2 Hz or
Off (no filtering).
Low Pass Corner Off or 12 Off Lo-Pass Filter corner frequency in Hz.
Freq. This is a 4-pole filter at 12 Hz or Off (no
filtering).
40 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
When the LP (Load Parameter) command is issued the DAS searches its SPROM
for a parameter set to load. If a valid parameter set is found it will be loaded
and implemented.
When the WP (Write Parameter) command is issued, the DAS writes the current
parameters to SPROM. The parameter set is always saved with Acquisition ON.
Trimble, Inc. 41
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
42 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
This section explains the bit weight as reported by the 130 DAS family and how
those bit weights are calculated. The bit weight does not include sensor
response.
One or more REF TEK 24-bit A-D converter boards are used in the REF TEK 130
DAS. These boards use either a 24-bit ADC chip set (CS5372/CS5322) made by
Crystal Semiconductor Corp or a 24-bit ADC (ADS1281 or ADS1282) made by
Texas Instruments Incorporated™. These chips use D-S (delta-sigma)
modulation and digital filtering to produce a 24-bit output word for each data
sample. The 130 DAS sign-extends each 24-bit sample to 32 bits for storage.
Providing a 24-bit output word is not the same as providing 24 bits of range.
With traditional successive approximation ADCs, an n-bit converter provides
the full range of output values. The maximum full scale analog input voltage (V
fs) corresponds to the maximum full scale digital value. Thus the bit weight is
(V fs)/ (2𝑛−1).
This is not the case with some D-S (delta-sigma) ADCs. Due to inherent
limitations in the analog modulator, the output becomes non-linear close to
full-scale. Therefore, REF TEK has built these circuits so that the specified full
scale analog input voltage corresponds to the maximum guaranteed linear
range of the CS5372/CS5322 ADC. This means the bit weight is calculated as (V
fs)/(6,291,456). Enhancements were made for the 130-GSN ADCs that further
affect their bit weight.
Trimble, Inc. 43
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
For the REF TEK 130 DAS, the specified full-scale input range is the maximum
range over which the instrument is guaranteed to accurately convert under the
worst case conditions covered by the unit’s operational specification. It is
possible for the unit to convert signals larger than the specified full-scale
range. In this case, the bit weight cannot be guaranteed.
Two channel gains have been used in the REF TEK 130 DAS; x32 and x100. The
DAS uses either value in the channel parameters to apply gain to the data. The
correct bit-weight for each channel is internally calculated and stored in the
EH/ET recording packets with the data.
44 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The adjusted nominal bit weight is based on the upper 16 bits of the 32-bit
stored sample. The adjusted nominal bit weight is equal to the nominal bit
weight scaled by 16 bits (65536). The adjusted nominal bit weight provides
consistency with earlier REF TEK 16-bit systems.
The true bit weight is based on the full 32-bit stored sample. By default, it is
equal to the nominal bit weight. When precise measurement data is available, it
is a precise true bit weight. This means that every channel of every 130 unit
may report a different true bit weight.
GSN
Trimble, Inc. 45
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The SEGY header has two fields used to convert the digital data back to input
voltage. These fields are labeled Gain Constant and Scale Factor. To convert the
digital data to voltage using these two values you must multiply the data by the
Scale Factor and divide by the Gain Constant.
Confusion over these fields arises because the fields have not been used in a
consistent manner. For some data, REF2SEGY always sets the Gain Constant
field to 1 and the Scale Factor field to the appropriate bit weight. For other
data, 24 bit A/D data, REF2SEGY sets the Gain Constant to a selected gain value
and sets the Scale Factor to the bit weight for unity gain. Both ways of filling in
the fields produce the correct conversion.
46 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
6 Monitor Function
This Section explains the data monitor function and how it functions in the 130
DAS Recorder.
6.1 Overview
The data monitor function operates on an activated datastream. The user can
view any active channels in the selected datastream one at a time. This data is
intended for simple display purposes, not for precise data analysis. The sample
rate is not directly controllable by the user, but is based on the current rate of
the requested channel of the requested datastream. Also refer to the
description of the command in the 130 Command and Recording documents
for further explanation of this command structure and response.
When the 130 DAS receives the command it copies data for the specified
channel from the datastream and passes it through a 20 Hz low-pass filter. It
then decimates the signal to 20 sps. The first 20 samples out of the filter (one
second of data) are thrown away (this allows the filter to ring out). The next
160 samples (eight seconds of data) are returned to the user. If an inactive
channel or datastream is selected, the data returns a “zero” data value. The data
is broken up into a sequence of response packets rather than a single response
packet. The number of data points in a packet is variable.
-OR-
Refer to the iFSC Users Guide for an example implementation of this function
on the iPod device with a 130 DAS.
Note: A datastream must be configured before the Data Monitor will return data.
Trimble, Inc. 47
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
48 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
7 130 Time
This Section explains how time is handled in the REF TEK 130 DAS.
7.1 Overview
The REF TEK 130 contains a Real Time Clock (RTC) that provides initial time at
power up. Thereafter, time is maintained by a combination of a field
programmable gate array (FPGA), a voltage controlled crystal oscillator (VCXO)
and software. The time can be changed by the user or set using an external
time source. The RTC is updated whenever time is set.
Internal time is broken into seconds since January 1, 2000 and sub-seconds.
The sub-seconds are incremented by the FPGA, which also generates a 1Hz
interrupt. Software responds to the interrupt to update the seconds.
The FPGA on the CPU board also contains a 32-bit sub-second counter. The
counter ranges from 0 to 2047999. The count is left-shifted by 5 bits so that
Trimble, Inc. 49
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
the value in the upper 16 bits of the register indicates milliseconds from 0 to
999. When the rising edge of an external pulse (1Hz) is detected, the FPGA
latches the current value of the 32-bit counter into a read-only phase
measurement register in the FPGA.
50 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The 130 DAS goes through the following steps during each phase lock cycle:
4. If the internal clock has not previously been ‘jerked’ to match the external 1Hz,
perform a ‘jerk. This necessitates a re-sync of the A/D converter(s).
5. If time has not been set, use the next GPRMC sentence to set time.
6. Take initial phase reading, wait 30 seconds and take a second phase reading. Adjust
the D/A based on the difference between the two readings. This adjusts for drift.
7. Make a second adjustment to the D/A based on the second phase reading. This
adjusts for phase.
Trimble, Inc. 51
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The original 130 GPS contained a SiRF GPS module manufactured by uBlox™. Its
primary output is a proprietary binary protocol, but it can also output a limited
number of NMEA sentences, including the GPRMC and GPGGA sentences. The
130 DAS awakens the 130 GPS every 20 minutes to perform a phase lock cycle.
The newer 130 GPS contains a Garmin 15H/L GPS module. This GPS does not
have a low-power sleep state, but is powered down between phase lock cycles
to conserve power. It stores satellite information in battery-backed RAM
allowing it to quickly lock to GPS satellites when it is powered on by the 130
DAS. By default, the Garmin GPS operates at 4800 bps and outputs numerous
standard and Garmin-proprietary NMEA sentences. The receiver is pre-
configured at REF TEK to transmit at 19200 bps and to output only the GPRMC
and GPGGA sentences. This configuration is stored in its built-in non-volatile
RAM. The 130 DAS powers on the Garmin-based 130 GPS every 20 minutes to
perform a phase lock cycle.
The 130 Time Converter accepts input from a TrueTime-format clock at 9600
bps (odd, 8, 1) and produces the NMEA GPRMC sentence used by the 130 DAS
to manage time. It also outputs a REF TEK proprietary PRTKI sentence used by
the 130 DAS to identify the Time Converter. It does NOT generate the GPGGA
message. When the 130 DAS detects the presence of the 130 Time Converter, it
continuously cycles through the phase lock algorithm rather than waiting 20
minutes between cycles.
52 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Each time GPS power is turned on (start of a GPS power cycle), the DAS waits 15
seconds and outputs a reset pulse (start of a GPS wake cycle). It then issues the
SiRF-proprietary command to request the SiRF software version. (The Garmin
and the Time Converter ignore this SiRF-proprietary command.) If the DAS
receives the appropriate response, it notes the receiver type as a SiRF and
issues the necessary SiRF commands to place the SiRF receiver into the correct
operating state, including switching to NMEA output mode.
If the DAS did not receive the appropriate response to the SiRF software
request, it issues a REF TEK-proprietary NMEA command that only the Time
Converter recognizes. If it receives the appropriate response, it notes the time
source type as a REF TEK Time Converter.
If the firmware has still not determined the receiver type, it issues the Garmin-
proprietary command to enable a Garmin-proprietary NMEA sentence. If it
receives the appropriate NMEA sentence, it notes the time source as a Garmin.
If the firmware has determined the time source, it begins a phase lock cycle.
Otherwise, it turns off GPS power for 10 minutes and repeats the process.
Trimble, Inc. 53
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
If the time source is the Time Converter, the DAS immediately repeats the GPS
wake cycle without ever terminating the GPS power cycle. This means that GPS
power remains on indefinitely.
If the time source is a 130-GPS, the DAS turns of GPS power, ending a GPS
power cycle. The next GPS power cycle is scheduled for 20 minutes later.
Option Description
Continuous The GPS is never turned OFF and the 130 performs its GPS Phase Lock cycles
continuously.
Cycled During each GPS wake cycle, the GPS is powered ON for 20 minutes. The GPS is
then powered OFF until 40 minutes after the hour. If the end of the first GPS
wake cycle occurs between 40 minutes after the hour and the top of the hour,
the next GPS wake cycle starts at 40 minutes past the hour.
OFF The 130 will turn the GPS ON for the first GPS wake cycle. After the first GPS
wake cycle, the GPS is powered OFF and never powered ON again.
54 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trimble, Inc. 55
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
8 Offset
This Section explains the offset function and how it functions in the 130 DAS
Recorder.
Note: The offset is an average taken over the specified length of time. Precaution should
be taken so as to not disturb the sensor while the offset calculation is occurring.
1. Select the Offset option to choose an active stream and to set an offset length (time
in sec).
2. At the Offset settings screen select the Calculate button to calculate an offset.
4. To update the offset select the Update window to calculate and display the results.
The Measured offset is the average value for each channel over the specified
length of time. The Measured offset includes the subtraction of the currently
Stored offset value. This calculation is done within the DAS on every data
sample.
The stored value is the currently stored value in the DAS. The DAS is currently
subtracting this stored value from every data sample.
The New offset value is the negated difference value (Measured - Stored). The
new value replaces the Stored offset value in the DAS when the Store button is
selected.
Trimble, Inc. 57
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
58 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
9.1 Scope
This board is an optional board which contains circuitry to support the
reporting of auxiliary channel data, mass re-centering and calibration signal
output for two sensors.
The CalEn and Center pins are tri-state under normal operation conditions.
These pins are driven to their stated output level when in active use.
Trimble, Inc. 59
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
PINS P, R, S U M L K N
Default* Aux(3) Center + Center - CalEn+ CalEn- CalSig
Other Sensor:
Trillium Family
Sensor Type Character inserted into 12th position the Sensor FW Version
Model field based on the Sensor Type selected Implemented
60 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Mass position is sampled once per minute for each channel and a running
average of the last 16 samples is compared to the ‘PQ’ Level to determine when
the sensor needs to be re-centered. When a re-center is issued, mass position
sampling is suspended for ‘PQ’ Attempt Interval minutes. When sampling
resumes, 16 samples are collected before the running average calculation is
performed and compared to the ‘PQ’ Level. Each time the first 16 samples
produce an average greater than the ‘PQ’ Level, a re-center attempts counter is
Trimble, Inc. 61
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
62 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Two types of signals are available: user-defined and a pre-defined set. Not all
of the PK parameters are applicable to all signal types.
Note: Starting with firmware version 2.9.6 the “Sensor Model” field of the Channel
Parameters command is checked for the string “MS2007+”. If this string is found in any
channel of a sensor group then the calibration signal for that group is modified to be
positive ONLY (0-3.75 Volts). This ONLY applies to the Step, Sine and Noise signals.
Trimble, Inc. 63
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The Step signal is a bi-polar step function. The Width specifies the width of
each pulse. The Interval determines the time from the start of one pulse to the
start of the next pulse. Pulses alternate between positive and negative voltage
of the specified amplitude. The D/A is updated each millisecond.
The Sine signal is a sine wave centered at 0v with the specified peak amplitude
and the specified frequency. The frequency must be an integer divisor of 1000
up to 100; 1, 2, 4, 5, 8, 10, 20, 25, 40, 50, or 100. The D/A is updated each
millisecond.
64 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Random-SP 60 sec. 0.01 - 3.75V Random Noise D/A sample rate 1000
sps
Random-LP 300 sec. 0.01 - 3.75V Random Noise D/A sample rate 200 sps
Random-BB 3000 sec. 0.01 - 3.75V Random Noise D/A sample rate 20 sps
Swept-SP 60 sec. 0.01 - 3.75V Swept Sinewave D/A sample rate 1000
50 sec. – 100 Hz sps
Swept-LP 3000 sec. 0.01 3.75V Swept Sinewave D/A sample rate 20 sps
2500 sec. – 2 Hz
Swept-BB* 60 sec. 0.01 - 3.75V Swept Sinewave D/A sample rate 1000
50 sec. – 100 Hz sps
300 sec. No Output No Output Settling Time
3000 sec. Same as 60 Swept Sinewave D/A sample rate 20 sps
sec. 2500 sec. - 2 Hz
Total Time
3360 sec.
Note: If Swept-BB is used as the calibration signal the manual test button in the control
interface (PFC or iFSC) program will not activate the test. The Swept-BB waveform can
only be started as a scheduled calibration.
Note: In order for these Pre-defined waveforms to function, CPU Firmware version 2.8.4
and an RT527 board with FPGA Version C01 or later is required.
Trimble, Inc. 65
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
%------------------------------------------------
% logsweptsine.m
% modified 11/16/06 by jfr
% created by tld
% 10/04/2006
%
%
% This routine generates a logarithmic Swept Sinewave
% It was created to automate the generation of
% a ‘c’ header file to be compiled for a 130
% RT527 calibration board.
% The following variables are used to define
% the waveforms characteristics.
% The output is scaled to a 16 bit integer
% hexidecimal value with a ground reference
% at 0x8000.
% The scaled output is formatted and written
% to a ‘C’ .h file.
%------------------------------------------------
clear
final = 1;
66 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
for i=1:60000
% this calculation attenuates the signal
% w(i)=y(i)/(2^(i*15/60000));
% This replaces the attenuated signal witha fixed amplitute
w(i) = y(i);
%scale data to 16 bit integer values
d(i)=fix(w(i)* scale);
% convert 16 bit interger to signed hexidecimal
Trimble, Inc. 67
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
if(d(i) < 0)
h(i) = (65535 + (d(i) + 1));
else
h(i) = d(i);
end
end
%end of waveform generation routine
%------------------------------------------------
%------------------------------------------------
% write scaled decimal values to file
out = sprintf(‘%s.dec’, file_out);
fidd=fopen(out,’w’);
for i=1:60000
if mod(i,5)
fprintf(fidd, ‘%d, ‘,d(i));
else
fprintf(fidd, ‘%d,\r\n’,d(i));
end
end
fclose(fidd);
68 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
%------------------------------------------------
% write signed hexidecimal values to file
% this data is formatted to match ‘C’ .h header file syntax
out = sprintf(‘%s.h’, file_out);
fida=fopen(out,’w’);
fprintf(fida, ‘/************************************************\r\n’);
fprintf(fida, ‘ Parameters used to generate waveform in Matlab\r\n’);
fprintf(fida, ‘ range_start: %6.4f range_end:
%6.4f\r\n’,range_start,range_end);
fprintf(fida, ‘ start_freq: %6.4f stop_freq:
%6.4f\r\n’,start_freq,stop_freq);
fprintf(fida, ‘ step: %6.4f stop_time: %6.4f\r\n’,step,stop_time);
fprintf(fida, ‘ phase: %d\r\n’,phase);
fprintf(fida, ‘ max_amp: %5.3f peak_amp: %5.3f\r\n’,max_amp,peak_amp);
fprintf(fida, ‘ da_max: %d\r\n’,da_max);
fprintf(fida, ‘ file_out: %s\r\n’,file_out);
fprintf(fida, ‘*************************************************/\r\n’);
fprintf(fida, ‘const UINT16\t%s[] = {\r\n\t’, file_out);
for i=1:60000
if mod(i,10)
fprintf(fida, ‘0x%04x, ‘,h(i));
else
if(i < 60000)
fprintf(fida, ‘0x%04x,\r\n\t’,h(i));
else
fprintf(fida, ‘0x%04x\r\n};’,h(i));
end
end
end
fclose(fida);
% end of singed hexidecimal file out .h header file
%------------------------------------------------
end %file output
Trimble, Inc. 69
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
10.1Auxiliary Channels
Up to 16 channels of auxiliary data may be recorded as a continuous, 16-bit
data stream (stream 9). Time alignment is never performed on the auxiliary
stream. Three auxiliary channels are provided on each of the 2 sensor
connectors. A separate AUX connector provides inputs for 8 additional
auxiliary channels. The remaining channels are connected internally.
The auxiliary channels on the sensor connectors are sampled on the RT527
Sensor Control Board. These channels connect to 12-bit A/D converters with
an input range of +/- 10v. This equates to a bit-weight of 305.2 uV. These
channels can be used to record mass positions from a broadband sensor or
other auxiliary input data. These channels are recorded as auxiliary channels 1
– 6. If a second SCB is installed, its auxiliary channels are recorded as channels
7 – 12. For more information on these channels, refer to the information for
the Sensor Control Board.
The auxiliary channels on the AUX connector are sampled on the RT576
Auxiliary Channels Board. These channels connect to a 16-bit A/D converter
with an input range of +/- 10v. These channels are read and stored as left-
justified, 2’s-compliment, 16-bit values. This equates to a bit-weight of 305.2
uV. These channels are recorded as auxiliary channels 7 – 14. Therefore, the
RT576 cannot be installed along with a second RT527 board. These channels
can be configured for single-ended or differential input in pairs. When a pair of
channels is configured as a differential input, its upper channel is not available.
The channel pairs are 7/11, 8/12, 9/13, and 10/14.
70 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The remaining auxiliary channels are sampled on the RT506 CPU board. These
channels connect to a 10-bit A/D built into the microprocessor. These
channels are read and stored as left-justified, 2’s-compliment, 16-bit signed
values. Channel 13 is used to measure RAM backup battery voltage. It has an
input range of 0 – 3.34v, resulting in a bit-weight of 101.92 uV. Channels 14
and 15 are used to measure charger voltage and input voltage, respectively,
with an input range of 0 – 20.875v. This results in a bit-weight of 637 uV.
Channel 16 is used to measure temperature. It has an input range of 0 – 512
×K (Kelvin), resulting in a bit-weight of 15.626 ×mK. Channels 13 and 14 will
be overwritten by data from the RT576 AUX board, when installed.
The following tables show the arrangement of the auxiliary channels for
recording. T = Temperature, V = input Voltage, R = RAM battery voltage, C =
Charger voltage, S = Sensor connector, A = Auxiliary connector.
RT506 only
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0 0 0 0 0 0 0 0 0 0 0 0 R C V T
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
S1-1 S1-2 S1-3 S2-1 S2-2 S2-3 0 0 0 0 0 0 R C V T
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
S1-1 S1-2 S1-3 S2-1 S2-2 S2-3 S3-1 S3-2 S3-3 S4-1 S4-2 S4-3 R C V T
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
S1-1 S1-2 S1-3 S2-1 S2-2 S2-3 A-7 A-8 A-9 A-10 A-11 A-12 A-13 A-14 V T
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0 0 0 0 0 0 A-7 A-8 A-9 A-10 A-11 A-12 A-13 A-14 V T
Trimble, Inc. 71
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
72 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trimble, Inc. 73
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
11.1Scope
This document describes the IIR filter implementation in the REF TEK 130 DAS.
The IIR filters are used with the Vote trigger calculations, the Level trigger
calculations, the Event trigger calculations and the monitor function.
11.2IIR Algorithm
The IIR filter routine applies a one-pole or two-pole Butterworth IIR filter to the
input data twice in succession, producing the effect of a two-pole or four-pole
filter, respectively. No decimation is performed by the filter routine itself.
y(n) = {(B[0]*x[n])
+ (B[1]*x[n-1])
+ (B[2]*x[n-2])
...
- (A[1]*y[n-1])
- (A[2]*y[n-2])
... } / A[0]
The number of ‘A’ and ‘B’ coefficients is directly related to the number of poles
of the filter. A two-pole filter has three ‘A’ and three ‘B’ coefficients. A four-
pole filter has five of each.
The algorithm implemented in the REF TEK 130 has been modified from the
general algorithm in the following ways:
Trimble, Inc. 75
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
76 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
11.3Filter Characteristics
There are 4 IIR filters: 12 Hz (low pass), 6 Hz (low pass), 2 Hz (high pass) and
0.1 Hz (high pass). There is a different pair of A and B coefficients for each
input sample rate for each filter. The coefficients were generated using the
butter() function of the Matlab ® Signal Processing Toolkit. No filtering is
performed if the input sample rate is below 40 samples per second.
11.4Filter Use
The 6 Hz filter is only used with the monitor function. The monitor function
itself decimates the output data to 20 samples per second, depending on the
input rate.
The other filters are used by the Event trigger, Level trigger and Vote trigger
prior to trigger detection. Filtering can be turned OFF, in which case no
calculations are performed.
11.5Filter Buffers
Since the number of coefficients is small, this implementation employs double
buffering of the input values to reduce the processing overhead that would be
required if using a true circular buffer. A 'sliding window' is then used to
perform the MAC. The arrays are initialized to zero and the first input value is
Trimble, Inc. 77
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
78 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trimble, Inc. 79
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trimble, Inc. 80
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
12.1Scope
This document describes the FIR filter implementation in the REF TEK 130 DAS.
The FIR filters are used to produce additional sample rate data from the output
of the A/D converter.
Trimble, Inc. 81
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The RT505 board uses the Crystal Semiconductor CS5372 analog modulator
with the CS5322 or CS5378 digital filter to digitize the analog data. The
CS5322/78 filters and decimates the data using three digital FIR filters to
provide variable over-sampling with a minimum of x64 over-sampling. A
complete discussion of the CS5322/78 filters is contained in a separate
technical brief provided by Crystal Semiconductor. The coefficients for the
three filters used by the CS5322/78 are also available on request.
The A/D output sample rate is a combination of the frequency of the A/D input
clock (MCLK), the A/D power mode and the selection of an A/D decimation rate
(A/D entry). The CS5372 converts the samples at a rate (SCLK) of either 1/2 or
1/4 of MCLK, depending on the A/D power mode. It outputs the data to the
CS5322/78 digital filter chip, which filters and decimates the data to the
selected rate. In the REF TEK 130, the A/D power mode is always set to low
power, so SCLK is always 1/4 of MCLK.
The CS5372 will not reliably operate with an input clock slow enough to
generate the slower PASSCAL data rates. These rates can only be achieved
through additional filtering by the CPU firmware.
82 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
For this document, Z represents an SCLK of 256 KHz and Y represents an SCLK
of 102.4 KHz. Additionally, for the modified clocking, V represents an SCLK of
512 KHz and U represents an SCLK of 204.8 KHz. The three CS5322/78 filters
are referred to as filters A, B and C.
Trimble, Inc. 83
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The table below shows the values for attainable PASSCAL rates using the
original MCLK rate obtained with FPGA firmware version 1:
A/D MCLK SCLK (KHz) A/D Entry A/D Decimation A/D Filter
Rate (KHz) Sequence
The table below shows the values for attainable PASSCAL rates using the
doubled MCLK rate obtained with FPGA firmware version 2:
A/D MCLK SCLK (KHz) A/D Entry A/D Decimation A/D Filter
Rate (KHz) Sequence
12.2.2 TI ADS1281/1282
The RT608, RT649 and RT650 boards use the TI ADS1281 or TI ADS1282
analog modulator with an integrated digital filter to digitize the analog data.
The digital filter provides selectable data rates from 250 to 4000 samples per
second (SPS).
84 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The A/D output sample rate is a combination of the frequency of the A/D input
clock (MCLK), and the selection of an A/D decimation rate (A/D entry). The
sample clock (SCLK) is always 1/4 of the input clock.
Hn represents a variable decimation rate, fifth order, low-pass filter, where 2^n
indicates the decimation rate of the filter.
The table below shows the values for attainable PASSCAL rates using the
original MCLK rate obtained with RT649 A/D board:
Trimble, Inc. 85
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The table below shows the values for attainable PASSCAL rates using the MCLK
rate obtained with RT608 and RT650 A/D boards:
86 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
The sample rate for recorded data is a combination of the A/D output sample
rate and filter-decimation by the REF TEK 130 CPU firmware. Firmware filtering
only occurs when the A/D is set to output 200 samples per second. A fixed set
of additional sample rates are then generated using the firmware filters. Only
certain combinations of sample rates are allowed.
The following rates may be recorded in any combination: 200, 100, 50, 40, 20,
10, 5 and 1. These rates are derived by the firmware through a fixed sequence
of filter stages.
The following rates are only available when recording a single sample rate:
1000, 500, 250, 125 and 25. For these rates, the A/D is set to output the
desired rate and no additional filtering by the firmware is performed.
The firmware filters are the same ‘hard’, or ‘sharp’ filters that were used in the
REF TEK 72A-02/08. The coefficients for these filters are included below.
3 2:1 F2-95.DAT
4 4:1 F4-189.DAT
5 5:1 F5-235.DAT
200 - - - - - -
100 2:1 - - - - 3
50 2:1 2:1 3-3
40 5:1 - - - - 5
Trimble, Inc. 87
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
88 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
All channels of a given data stream use the same firmware filter sequence.
Beginning with REEF TEK 130 firmware v3.4.0, the combined filter sequence is
stored in the EH/ET packets for each event.
Firmware Filters
<SP> No Information
0 REF TEK soft 2:1
1 REF TEK soft 4:1
2 REF TEK soft 5:1
3 REF TEK hard 2:1
4 REF TEK hard 4:1
5 REF TEK hard 5:1
A/D Filters
A CS5322 input 8:1
B CS5322 filter 2:1
C CS5322 output 2:1
D ADS1282 Fir Stage 1 Decimate by 2
E ADS1282 Fir Stage 2 Decimate by 2
F ADS1282 Fir Stage 3 Decimate by 4
G ADS1282 Fir Stage 4 Decimate by 2
Hⁿ ADS1282 Sinc Filter Hⁿ H = 2 n = power
SCLK Frequency
M 163.84K
N 81.92K
O Undefined
P 409.6K
Q 819.2K
R 1024.0K
S 8.192K
T 40.96K
U 204.8K
V 512.0K
W 4.096K
X 20.48K
Y 102.4K
Z 256.0K
Trimble, Inc. 89
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Coef. Set Filter Passband Stopband Pass Band Stop Band Stop Bits Min.
Name Ripple Atten. (OMGP1) (OMGS1) Coefs
(DEL1) (DEL2)
90 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
F2-95:
F4-189:
Trimble, Inc. 91
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
F5-235:
92 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trimble, Inc. 93
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
13 Memory Test
This Section explains the how the Memory Test (MT) command is handled in the
REF TEK 130 DAS.
13.1Overview
The Memory Test Command causes the REF TEK 130 to perform a memory test
on data and buffer memory. Since the test overwrites any existing data, the
DAS performs several actions prior to starting the actual test. Acquisition is
stopped (if currently active), the DAS attempts to dump all recorded data and
processes not required to perform the memory test are stopped.
94 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
Trimble, Inc. 95
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
14 Index
A E
AD1281 ......................................................... 71 effects of gain ................................................ 37
auxiliary channels .................................... 52, 61 Ethernet
connector ................................................... 63 detect ........................................................... 2
recording ................................................... 63 network interface .......................................... 1
auxiliary data ................................................. 61 Event
defined ....................................................... 14
B trigger ........................................................ 23
external time sources ..................................... 45
bit weight External trigger .............................................. 26
calculations ................................................ 36
explained ................................................... 36
F
two reported by DAS ................................... 38
FIR filter
C characteristics ............................................. 75
scope .......................................................... 69
channel connector signals .............................. 51 FTP
connection options .......................................... 3 connection .................................................... 4
Cross trigger .................................................. 22 server commands .......................................... 6
CS5322 .......................................................... 70
CS5378 .......................................................... 70
G
D GPS Duty Cycle ............................................... 47
96 Trimble, Inc.
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
O S
offset sample rate
Measured ................................................... 49 defined ....................................................... 14
New............................................................ 49 groups ........................................................ 17
option with handheld .................................. 49 sensor calibration signal ................................. 54
Pre-defined................................................. 56
Trimble, Inc. 97
Rev U REF TEK 130 Theory of Operations 1/31/2017
96494-00-TO
98 Trimble, Inc.
Trimble, Inc.
5217 Tennyson Pkwy
Suite 400
Plano, Texas 75024
Support: 1-888-879-2207
Email:
reftek_support@trimble.com
www.trimble.com/infrastructure
Trimble, Inc. 99