ADPManual v710
ADPManual v710
ADPManual v710
SonTek/YSI ADP
Acoustic Doppler Profiler
Technical Documentation
SonTek/YSI
SonTek/YSI
6837 Nancy Ridge Drive, Suite A, San Diego, CA 92121 USA
Telephone (858) 546-8327 Fax (858) 546-8150
E-mail: [email protected] Internet: http://www.sontek.com
Thank you for purchasing an ADP from SonTek/YSI. We are confident you will find it
powerful, accurate, reliable and easy to use.
This document provides a Quick Start introduction to using the ADP and should contain
enough information to get started and to collect some data.
To learn more about the ADP, we encourage you to read the ADP Principles of Operation. It
covers the physical principles of ADP operation and provides some background for analyzing
ADP data. We also suggest reading the ADP Operation and Software Manuals. These manuals
cover a wide range of ADP applications, so not all of the information will pertain to your system.
At the end of this document are lists of the important sections in the Operation and Software
Manuals for some of the most common ADP applications and functions.
The following series of instructions should be enough to get started with the ADP and collect
some sample data.
1)
Software Installation
Create a directory on your PC for the ADP software, and copy all files and directories from
the enclosed disk to that directory. All software is written for DOS on PC-compatible
computers. Several of the ADP software programs will not operate reliably from the DOS
Prompt within Windows/Windows95; memory resident programs in Windows can
interfere with serial port operation. Exit Windows and operate the computer in a dedicated
DOS mode.
2)
SonTek/YSI
3)
Data Conversion
Use the GADP___ programs to convert the binary data file created above to ASCII
format. For information on using any of these programs, type the program name at the
DOS prompt. Look at the ASCII output files using a text editor or data processing software
of your preference. See the ADP Software Manual for details.
4)
5)
6)
Compass Calibration
From the DOS prompt type COMPCAL 1. Move the ADP to see the response of
heading, pitch and roll. If performing a calibration, be sure to complete the entire
procedure; partial calibration can have adverse effects on heading data.
The ADP has been designed to be reasonably robust, so dont be afraid to try different things. If
you have any questions, comments or suggestions, please give us a call, send a fax, or write an
email.
Important Manual Sections for Common ADP Applications
Basic Operation
ADP Operation Manual
Section 1.1 ADP Components
Section 1.2 Definitions and Terminology
Section 2.1 Real Time Data Collection with SonTek Software
Section 5.2 ADP Internal Electronics and Wiring Overview
Section 5.4 Cables and Connectors
Section 6.3 ADP Coordinate System
ADP Software Manual
Section 1 Software Summary
Section 2 Real Time Data Collection (ADPSA)
Section 3 Data Conversion (GADP___)
SonTek/YSI
SonTek/YSI
SonTek/YSI
SonTek/YSI
6837 Nancy Ridge Drive, Suite A, San Diego, CA 92121 USA
Telephone (858) 546-8327 Fax (858) 546-8150
E-mail: [email protected] Internet: http://www.sontek.com
ii
SonTek/YSI
iii
INTRODUCTION
This manual is organized into the following sections:
Section 2. Getting Started general instructions for collecting data with the ADP in the
most common configurations.
Section 3. Direct Command Interface for the ADP - direct communication with the ADP,
including command format, options and output data format.
Section 8. ADP Optional Features describes ADP optional wave package SONWAVE,
bottom track and external sensors.
Appendix A ADP Binary Data File Format a detailed description of the ADP binary data
file format.
iv
SonTek/YSI
TABLE OF CONTENTS
SECTION 1.
SonTek/YSI
5.4.2.
Splash-Proof Processor (Low Profile ADP).......................................................... 44
5.5. Hardware Configuration Switches (Analog Board) .......................................................... 44
5.6. Baud Rate and Address Hex Rotary Switches (CPU Board) ............................................ 45
5.7. Communication Protocol Jumpers (CPU board)............................................................... 45
5.8. Accessing ADP Electronics............................................................................................... 46
5.8.1.
Stand-Alone ADP.................................................................................................. 46
5.8.2.
Low Profile ADP with Splash-Proof Processor .................................................... 48
5.8.3.
Replacing ADP Processor EPROMs..................................................................... 51
5.9. Battery Pack Access and Installation................................................................................. 51
SECTION 6.
6.1.
6.2.
6.3.
6.4.
6.5.
6.6.
6.7.
6.8.
SECTION 7.
vi
Additional Support.......................................................................................... 81
SonTek/YSI
Overview ........................................................................................................................... 82
File Header Structures ....................................................................................................... 82
Profile Header/CTD/GPS/Bottom Track,/SonWave/Profile Data Structures ................... 84
CheckSum Calculation ...................................................................................................... 86
L-ADP History................................................................................................................... 97
L-ADP Package Configuration.......................................................................................... 97
L-ADP Operation............................................................................................................... 98
Dual L-ADP Synchronization............................................................................................ 99
Bottom-Tracking and L-ADPs .......................................................................................... 99
Additional Information about L-ADP Applications and Operation .................................. 99
Rechargeable L-ADP Battery ............................................................................................ 99
vii
SonTek/YSI
viii
SonTek/YSI
ADP Components
The ADP includes a number of different components, the exact nature of which vary with
instrument configuration. The list below gives a brief description of all major system
components and their function.
ADP sensor - The sensor consists of two or three acoustic transducers (for 2D or 3D
profiling) and receiver electronics. The transducers are mounted in an aluminum head that is
anodized and polyester powder coated. The head is mounted to the ADP housing the size of
which varies with system configuration; the housing is anodized, polyester power coated, and
includes zinc anodes for corrosion protection. The compass/tilt sensor is mounted inside the
sensor housing.
ADP processor - The ADP processor can be packaged two ways: in a splash-proof (nonsubmersible) housing (Low Profile ADP) or in the same underwater housing as the ADP
sensor (Stand-alone ADP). The electronics consist of three printed circuit (PC) boards
with an optional fourth board for internal recording. The processor sends and receives
signals from the ADP sensor, performs Doppler calculations to compute the velocity profile,
controls the operation of all other sensors, and outputs the data over the serial port and to the
internal recorder.
High-frequency cable - This cable, used with the Low Profile ADP only, carries analog
signals between the ADP sensor and processor. Because of the nature of the analog signals,
the cable has a maximum length of 60 m. This is a custom shielded cable designed
specifically for this application and should not be modified by the user.
Power and communication cable - This cable carries DC input power (12-24 V) and 2-way
serial communication between the ADP processor and the controlling computer. The ADP
supports RS232 serial communication for cable lengths to 100 m (300 ft) and RS422 for
cable lengths 1500 m (4500 ft).
Splitter cable - This cable connects the Stand-alone ADP to an external battery back for
autonomous operation. The cable has one connector to the ADP, one to the battery pack, and
a third to the power and communication cable (sealed with a dummy plug during
deployment).
Temperature sensor - The temperature sensor, standard on all ADPs, is mounted internally in
the ADP sensor housing. Temperature data automatically compensate for changes in sound
speed; sound speed converts Doppler shift to water velocity. See section 6.5 for more details
on the temperature sensor.
Compass/tilt sensor - This optional sensor measures magnetic heading and 2-axis tilt
(maximum tilt 50); it is mounted in the same underwater housing as the ADP sensor. This
allows the ADP to report velocity measurements in Earth (East - North - Up) coordinates.
The compass includes a built-in calibration feature to compensate for ambient magnetic fields
(see section 4.4). See SECTION 4 for more details on the compass/tilt sensor.
Pressure sensor - The optional pressure sensor is mounted in the ADP sensor head between
the acoustic transducers. A small signal processing board for the pressure sensor is installed
near the receiver board. See section 6.5 for more details on the pressure sensor.
SonTek/YSI
Battery power - The ADP can include battery power for autonomous deployment or to act as
a backup in the event of shore power failure. The batteries can be housed in an external
canister connected by a splitter cable, or in the same extended underwater housing as the
ADP processor. See section 7.2 for details on autonomous operation from battery power.
See Appendix 2 for details on battery pack construction. See section 5.9 for details on
accessing the batteries.
1.2.
This section defines terms commonly used when working with the ADP.
Direct command interface - direct serial communication with the ADP processor.
BREAK - a serial communication signal that causes a hardware reset in the ADP electronics
and returns the system to command mode. A BREAK consists of holding the ADP input
serial communication line high for a period of at least 300 milliseconds.
Ping - a single estimate of the water velocity profile. A ping consists of each transducer
sending a short acoustic pulse, calculating the along-beam velocity profiles, and combining
data from all beams (and the internal compass/tilt sensor if enabled) to compute the velocity
profile.
Profile - in addition to its more general use, profile refers to the collection of a number of
pings to produce a mean estimate of the water velocity at each depth cell. A profile includes
velocity, standard deviation, and signal strength data.
Temperature - water temperature, in C. Either default temperature inputted by the user, or
measured using an internal sensor. Mean and standard deviation of measured temperature are
recorded with each profile. Temperature is used for sound speed calculations.
Salinity - water salinity, in ppt. The value input by the user is for sound speed calculations.
Sound speed - speed of sound, at the transducer face, in m/s. This converts Doppler shift to
water velocity. Sound speed is either calculated from user-specified temperature and salinity,
or from measured temperature and user-input salinity (see the command TempMode in
section 3.7). See the ADP Principles of Operation for details on the effects of sound speed.
Blanking distance - the region in front of the transducers where no measurements can be
made, in meters (m). This is measured as the vertical distance from the ADP transducers to
the start of the first depth cell. The blanking region is required for the transducers and
electronics to recover from the transmit pulse.
Depth cell size - this defines the resolution of the velocity profile, in m. This is specified as
the vertical distance from the ADP, and not the range along the path of the acoustic beams.
See ADP Principles of Operation for details on the exact definition of ADP depth cells.
Number of cells - the number of cells collected in each profile.
Depth cell location - to calculate the location of the center of each depth cell, multiply the
depth cell number (starting with 1 closest to the ADP) by the depth cell size and add the
blanking distance. See ADP Principles of Operation for details regarding depth cell size
and location.
Pinging rate - the number of pings per second, in Hz. This is normally determined by the
propagation speed of sound, although the variable Ping Interval can be selected to achieve a
slower pinging rate for certain applications (see sections 3.7, 7.1 and 7.2).
SonTek/YSI
Profile time - the ADP records date and time from its internal clock with each profile. The
recorded time represents the start of the averaging interval.
Averaging interval - the period of time, in seconds, over which the ADP averages data to
compute a mean velocity profile.
Profile interval - the time between sequential profiles, in seconds. This is given as the time
from the start of one profile to the start of the next profile, and must be greater than or equal
to the averaging interval (or averaging interval will take precedence).
Ping interval - the minimum time between sequential pings, in seconds. The default setting
of 0.0 seconds causes the ADP to ping as rapidly as possible. Although not common, this can
save power in applications where long averaging intervals are required to remove real
variations in water velocity (see sections 3.7, 7.1, and 7.2).
Burst sampling - this sampling method allows the user to record a number of profiles in rapid
succession, and then put the ADP in sleep mode for an extended period of time. This is to
record data on the short-term and long-term variation of water velocity, while maintaining a
reduced duty cycle to conserve battery power and limit data storage requirements.
Burst interval - the period of time, in seconds, between each sampling burst (when burst
sampling is enabled). This is measured from the start of one burst to the start of the next
burst, and must be greater than the time required for each burst.
Profiles per burst - the number of profiles recorded during each burst, used only when burst
sampling is enabled.
1.3.
A number of the terms defined in section 1.2 determine the exact sampling strategy used by the
ADP. These include ping, ping interval, averaging interval, profile interval, burst interval, and
profiles per burst. These terms, and the different sampling strategies used by the ADP, are
illustrated in Figure 1.
The ADP supports three basic sampling strategies. Continuous sampling is used for real-time
data collection when connected to shore power or for autonomous deployments without power or
data limitations. For continuous operation, the ADP profile interval is set to the same value as
the averaging interval, and the ADP is actively collecting data at all times (except for the ~1 sec
overhead time required for each profile).
For typical autonomous deployments, the ADP operates using a reduced duty cycle where the
profile interval is greater than the averaging interval. When the ADP is not collecting data, it
enters a sleep mode where power consumption is less than 1 mW. Duty cycle is calculated as the
ratio of the averaging interval to the profile interval. Battery life is extended by the inverse of the
duty cycle. For example, an averaging interval of 5 minutes with a profile interval of 15 minutes
gives a 33% duty cycle and extends battery life by a factor of 3.
The final sampling strategy, burst sampling, enables the user to obtain information about shortterm flow variation without requiring continuous operation. In this mode, the ADP collects a
number of profiles in rapid succession and then enters a sleep mode to conserve power. Duty
cycle is calculated by the following formula.
Duty cycle = (Profiles_per_burst * Averaging_interval) / Burst_interval
SonTek/YSI
ADP Profile
Ping
Averaging
Ping
Time
Continuous
Time
Averaging
Profile
Time
Burst
Averaging
Burst
Profiles per
Profile
Time
SonTek/YSI
The easiest way to collect ADP data is with the real-time data collection software, ADPSA.EXE.
This software is described in detail in the ADP Software Manual. Basic instructions for
collecting data using ADPSA are given below.
1. Copy all files from the ADP software diskette to a directory on the controlling computer.
Place the computer in a dedicated DOS mode (not a DOS prompt within Windows).
2. Connect the ADP power and communication cable from the instrument to COM1 of the
controlling computer and to the external power supply included with the system.
3. Type ADPSA at the DOS prompt. The software will establish communication with the
ADP and download the current system configuration.
4. Select the desired operating parameters from the setup menu. For initial testing, we
recommend using a relatively short averaging interval (perhaps 10-15 seconds) to speed up
the data collection process. Specify a recording file to capture data to the computer hard disk.
5. Select Start Data Acquisition from the setup menu. The software will configure the ADP
and begin data collection. Allow the ADP to collect several minutes of data.
6. Stop data collection by pressing Alt+F10. After confirmation, the program will return to the
setup menu. Select Exit Data Acquisition to return to the DOS prompt.
7. Use the GADP___.EXE programs to extract different portions of the binary data file to
ASCII format. See the ADP Software Manual for details on program operation, and the ADP
Principles of Operation for details on interpreting the different types of ADP data.
2.2.
For real-time data collection, the ADP is often integrated with a variety of data collection
systems using the direct command interface and serial output data. For this type of integration, it
may be helpful to gain experience with the system using the terminal emulator SONTERM
included with the ADP software. Basic instructions for getting started are given below. For
more information on the direct command interface and output data format, see SECTION 3.
1. Copy all files from the ADP software diskette to a directory on the controlling computer.
Place the computer in a dedicated DOS mode (not a DOS prompt within Windows).
2. Connect the ADP power and communication cable from the instrument to COM1 of the
controlling computer and to the external power supply included with the system.
3. Type SONTERM at the DOS prompt.
SonTek/YSI
4. Capture all communication with the ADP to a file for future reference using the Alt+F option
in SONTERM.
5. Press Alt+B to send a BREAK to the ADP and bring the system into command mode (the
ADP command prompt is >).
6. Begin using the direct command interface by typing Help at the command prompt. This
will lead you into a number of menus displaying available commands.
7. Use the four Show commands (Show Conf, Show System, Show Setup, and
Show Deploy) to display all ADP hardware and operating parameter settings.
8. Type Compass CONT to display data from the internal compass/tilt sensor. Rotate and tilt
the ADP to verify compass operation (see section 4.1). Press any key to stop data output.
9. Type Sensor CONT to display data from the temperature, pressure, and battery voltage
sensors (see sections 3.10 and 6.5). Press any key to stop data output.
10. Type Dir to view the contents of the internal recorder, if installed.
11. Select reasonable operating parameters for trial data collection. Use relatively small values
for averaging interval and profile interval (10-15 seconds), and collect a relatively small
number of cells (~10). Select the output format as ASCII.
12. Begin data collection immediately with the Start command.
13. Allow the ADP to output a number of profiles, then exit SONTERM (Alt+X) and take a
closer look at the output data in the file specified earlier.
2.3.
Autonomous Deployment
Autonomous deployments use the optional ADP internal recorder and battery power. SECTION
7 contains detailed instructions for initiating autonomous deployments. This section provides a
brief overview of the steps used to collect a sample deployment from external power. It assumes
the user has already followed the steps in Section 2.2 and has a basic familiarity with the direct
command interface.
1. Copy all files from the ADP software diskette to a directory on the controlling computer.
Place the computer in a dedicated DOS mode (not a DOS prompt within Windows or
Windows95).
2. Connect the ADP power and communication cable from the instrument to COM1 of the
controlling computer and to the external power supply included with the system.
3. Type SONTERM at the DOS prompt.
4. Capture all communication with the ADP to a file for future reference using the Alt+F option
in SONTERM.
5. Press Alt+B to send a BREAK to the ADP and bring the system into command mode (the
ADP command prompt is >).
6. Use the four Show commands (Show Conf, Show System, Show Setup, and Show
Deploy) to display all ADP hardware and operating parameter settings.
7. Set reasonable values for cell size and the number of cells. Select relatively short values for
averaging interval and profile interval (10-15 seconds) and disable burst sampling. Make
sure the deployment start-date and time are before the current date and time shown on the
ADP internal clock. Specify a deployment name for the recorded data.
8. Begin autonomous data collection with the Deploy command.
9. Allow the ADP to output a number of profiles, then exit SONTERM (Alt+X).
SonTek/YSI
10. Type SONREC 1 at the DOS prompt to start the recorder data retrieval software. When the
directory is displayed, mark the file you have just generated using the SPACE key and
download by pressing the F3 key. See the ADP Software Manual for more details. When the
data file has been downloaded, exit SONREC by pressing the ESC key.
11. Use the GADP___.EXE programs to extract different portions of the binary data file to
ASCII format. See the ADP Software Manual for details on program operation, and the ADP
Principles of Operation for details on interpreting the different types of ADP data.
SonTek/YSI
Modes of Operation
Command Mode
Data Acquisition Mode
Deployment Mode
Sleep Mode
Each is described below. See section 3.3 for details regarding command syntax and the
definition of a BREAK.
Command mode
In command mode the ADP can send and receive commands related to all aspects of instrument
operation. The user can enter the command mode from any other mode by sending a BREAK.
The user can put the ADP into any of the other modes only from the command mode. The user
can enter the command mode from the data acquisition mode or the deployment mode by sending
a BREAK or the run time command +++.
To enter the data acquisition mode from the command mode, use the command Start. To enter
the deployment mode from the command mode, use the command Deploy. To enter the sleep
mode from the command mode, use the command PowerOff. If the ADP is left idle in the
command mode for more than 5 minutes, it will automatically enter the sleep mode to conserve
power.
Data acquisition mode
Data acquisition mode is for real-time data collection. Data acquisition mode is entered from
command mode with the command Start. After receiving the Start command, the ADP takes
a few seconds to initialize and then begins data collection. In data acquisition mode, the ADP
ignores the deployment parameters StartDate and StartTime. If the internal recorder is
installed and has been enabled (Recorder ON), profile data are output both over the serial port
and to the internal recorder. If the recorder is not installed or has been disabled (Recorder
8
SonTek/YSI
OFF), data are sent only to the serial port. The user can exit the data acquisition mode and
return to the command mode by sending a BREAK or by using the run time command +++.
While in data acquisition mode, the ADP can enter a power saving state if there is sufficient time
between profiles. This power saving state is similar to, although not the same as, the sleep mode.
The ADP will enter the power saving state if there is more than 10 seconds between profiles and
the system command AutoSleep is set to ON (the default setting).
While collecting data, several run-time commands are available to simplify ADP integration with
external data acquisition systems. These commands are accessed by sending one or more
characters to the ADP over the serial communication line; see section 3.13 for details. Run-time
commands cannot be accessed if the ADP is in the power saving state.
Deployment mode
Deployment mode is for autonomous data collection. Deployment mode is entered from
command mode using the command Deploy. In deployment mode, the instrument will begin
collection with the most recently entered setup parameters at the date and time specified by
StartDate and StartTime. If the current date and time are after the specified start date and
time, the system will begin data collection immediately. Deployment mode can only be used
when the ADP includes the internal recorder. In deployment mode, data are always stored to the
internal recorder regardless of the setting of the Recorder ON/OFF parameter.
In deployment mode, the ADP will enter a power saving state whenever there is more than 10
seconds between profiles (regardless of the setting of the AutoSleep parameter). The same run
time commands are available in deployment mode as in data acquisition mode. The user can exit
the deployment mode and enter command mode by sending a BREAK or by using the run time
command +++. Run-time commands cannot be accessed if the ADP is in the power saving
state between profiles.
Sleep mode
Sleep mode is to conserve power when the ADP is not in use. The sleep mode is entered from
the command mode using the command PowerOff. In the sleep mode, the ADP consumes less
than 1 mW of power. The user can exit the sleep mode and enter command mode by sending a
BREAK. When in sleep mode, the ADP will not respond to any external commands except a
BREAK. The only exception to this is if the primary system power is switched off and on (see
Section 3.2). If the ADP is left idle in command mode for more than 5 minutes, it will
automatically enter the sleep mode to conserve power.
3.2.
When the main power to the ADP is turned off and on (i.e. when changing batteries or switching
power supplies), the ADP will enter the mode it was in before power was lost. If previously in
command mode or sleep mode, it will re-enter command mode. If previously in data acquisition
mode, it will enter data acquisition mode and immediately start real-time data collection. If
previously in deployment mode, it will start a new deployment using the stored operating
parameters with the exception of StartDate and StartTime. These parameters are ignored and
the new deployment will begin immediately. This is a safety feature to avoid data loss in the
event of clock reset caused by a problem with the real-time clock backup battery.
SonTek/YSI
The ADP real-time data collection software leaves the instrument in data acquisition mode upon
exiting. Thus, if power is cycled after running the data acquisition software, the ADP will
immediately start real-time data collection. In some applications, particularly when interfacing
the ADP with a data logger, the start and stop of data collection may be controlled by cycling the
system power. For these applications, be sure that the ADP is in data acquisition mode prior to
turning power off to ensure that data collection will begin immediately when power is applied.
When changing batteries, always establish communication and place the ADP in sleep mode after
the change to prevent draining the batteries.
IMPORTANT: When many computers and data loggers are turned on or off, they send a signal
out the serial port that can interpreted as a BREAK. If the ADP is connected to the serial port,
this can interrupt data collection or bring the ADP out of sleep mode. This may cause the loss of
data or the draining of batteries. Always disconnect the ADP from the computer or data logger
prior to turning it on or off.
3.3.
Command Syntax
These are the basic rules for communication between the ADP an external terminal, terminal
emulator, or interface program.
Throughout this manual, we refer to a BREAK when discussing direct communications with the
ADP. The BREAK is a serial communication signal that causes a reset in the ADP processor and
places the instrument in command mode. A BREAK consists of holding the data input line high
for a period of at least 300 milliseconds. Most terminal emulator programs have a key combination that sends a BREAK; the program SONTERM (supplied with the ADP software) uses Alt+B.
1. The ADP can be brought into the command mode from any other mode by sending a
BREAK.
2. All commands consist of a single keyword that may be followed by one or more ASCII
parameters. The commands and parameters are not case sensitive.
3. When the ADP has completed a command and is ready to accept another command, it will
send the prompt character >.
4. Parameters may be numeric (either integer or floating point), alphanumeric, or a combination
(for example, a date or time string).
5. Commands must be terminated by a <CR>.
6. The ADP echoes every character as it is received (except for run-time commands received
during data collection see section 3.13).
7. After receiving the <CR> that signals the end of the command string, the ADP echoes an
additional <LF>.
8. If the ADP recognizes a command as valid it will transmit: <LF>OK<CR><LF>.
9. If a command is not recognized, the parameters are out of range, or if the command cannot be
executed in the present state, the ADP returns an error-message followed by <CR><LF>.
IMPORTANT: When many computers and data loggers are turned on or off, they send a signal
out the serial port that can interpreted as a BREAK. If the ADP is connected to the serial port,
this can interrupt data collection or bring the ADP out of sleep mode. This may cause the loss of
data or the draining of batteries. Always disconnect the ADP from the computer or data logger
prior to turning it on or off.
10
SonTek/YSI
3.4.
The tables below summarize all direct commands that can be used with the ADP, including any
abbreviations (shorter versions of the same command). These commands are split into different
sections, and different tables, based upon their function. Further details on individual commands
are provided in the sections that follow.
The following abbreviations are input parameters to the ADP.
d
d.d
yy/mm/dd
hh:mm:ss
Command
Help
Help System
Help Setup
Help Deploy
Help Recorder
Help Sensor
Help Compass
Help Show
OutFormat <format>
OutMode <mode>
OM
Command
Start
Deploy
Test
SaveSetup
Defaults
Ver
DSPVer
BoardRev
SerNum
Date <date>
Time <time>
PowerOff
AutoSleep <mode>
Parameters
yy/mm/dd
hh:mm:ss
ON or
OFF
ASCII or
BINARY
AUTO or
11
SonTek/YSI
Command
Recorder <status>
(none)
RecMode <mode>
(none)
Command
Temp <temperature>
Sal <salinity>
Ncells <number>
CellSize <size>
BlankDistance
<distance>
AvgInterval
<seconds>
ProfileInterval
<seconds>
PingInterval
<seconds>
CoordSystem
<system>
TempMode <mode>
Command
Deployment <name>
Comments
StartDate <date>
StartTime <time>
AvgInterval
<seconds>
ProfileInterval
<seconds>
PingInterval
<seconds>
BurstMode <mode>
BurstInterval
<seconds>
ProfilesPerBurst
<number>
12
Parameters
POLLED
ON or
OFF
NORMAL or
BUFFER
Parameters
d.d
d.d
d
d.d
d.d
AI
PRI
PGI
d.d
CY
TM
BEAM, XYZ
or ENU
USER or
MEASURED
Parameters
ASCII text
ASCII text
yy/mm/dd
hh:mm:ss
d
PRI
PGI
d.d
BM
BI
YES or NO
d
PPB
SonTek/YSI
Short
(none)
(none)
(none)
RecStatus
Recorder <status>
(none)
(none)
Function
List deployments currently on recorder
List deployments currently on recorder
Erase all data from recorder, re-format
PCMCIA card for new data
Show recorder size and free space left
Turns internal recording on or off
RecMode <mode>
(none)
OD <name>
(none)
CD
RC
(none)
(none)
RPA [N]
(none)
RPB [N]
(none)
FP
LP
GP <profile number>
CP
NP
(none)
(none)
(none)
(none)
(none)
Parameters
ON or
OFF
NORMAL or
BUFFER
< deployment
name>
<number of
profiles>
<number of
profiles>
Short
(none)
Sensor CONT
(none)
PressOffset
PressScale
(none)
(none)
PressScale_2
(none)
Function
Parameters
Display most recent temperature, pressure.
and battery voltage data
Display continuous temperature, pressure.
and battery voltage data
Display pressure sensor calibration offset
Display pressure sensor calibration 1st
order coefficient
Display pressure sensor calibration 2nd
order coefficient
13
SonTek/YSI
Short
(none)
(none)
(none)
Function
Display most recent heading, pitch, and roll data
Display continuous heading, pitch, and roll data
Perform a compass calibration
Short
S Conf
S System
S Setup
S Deploy
Function
Display hardware configuration parameters
Display general system parameters
Display real-time data collection parameters
Display autonomous deployment parameters
Short
(none)
(none)
(none)
(none)
(none)
(none)
(none)
Function
Return the ADP to command mode (stop data collection)
Transmit last profile
Transmit ADP date and time
Adjust real-time clock +1 second
Adjust real-time clock -1 second
Transmit profile number of last averaged profile
Transmit time left in current averaging interval (seconds)
Help Commands
The ADP direct command interface contains a number of on-line help commands. These are
designed such that, by starting with Help at the direct command interface, the user will be led
through a series of menus that show all ADP commands. There are a total of 9 help commands
that display all commands the user would normally use for any aspect of ADP operation.
Help
Listing of help menus available
Help System
General system commands
Help Setup
Real-time data collection commands
Help DeployAutonomous deployment commands
Help Recorder Data recorder commands
Help Sensor
Peripheral sensor commands
Help Compass Compass/tilt sensor commands
Help CTD
External CTD sensor commands
Help Wave
SonWave commands
Help Show
Commands to display system configuration
The output of these commands is self-explanatory. For more details on individual commands,
see the remaining portions of SECTION 3.
14
SonTek/YSI
3.6.
System Commands
System commands relate to general operational concerns of the ADP. These functions include
setting the clock, displaying the serial number, data output, recorder settings, and starting data
collection. In this section, each command is shown (with any command line options) in Italics.
Short versions of these commands, if they exist, are shown in parenthesis on the same line.
Start
This command starts real-time data collection, putting the ADP into data acquisition mode (see
section 3.1). The ADP first saves all recently entered commands (commands will not be lost if a
SaveSetup is not done prior to starting data collection). When using the start command, data
collection begins immediately (Start Date and Time are ignored), and burst sampling cannot be
used. Data will be stored to the recorder if it has been enabled (Recorder ON).
Deploy
This command starts autonomous data collection, putting the ADP into deployment mode (see
section 3.1). The ADP first saves all recently entered commands (commands will not be lost if a
SaveSetup is not done prior to starting data collection). When using the deploy command, data
collection will begin when the ADP clock reaches the specified Start Date and Time. If the
current date and time is after the specified start date and time, data collection will begin
immediately. When in deployment mode, ADP data are always stored to the recorder regardless
of the recorder setting and the system will always enter a reduced power state if there is sufficient
time between profiles (AutoSleep is forced ON).
Test
This performs a built-in test of all major ADP functions. These include CPU and DSP operation,
as well as compass and recorder operation (if installed). It displays individual results from each
test. We suggest using this command when preparing for any autonomous deployment (see
section 7.3).
SaveSetup
This command saves all current parameter settings to EEPROM. This must be done before the
system is shut down (or before a BREAK is sent) or any recently entered commands will be lost.
This is performed automatically as part of the Start and Deploy commands.
Defaults
(short command DEF)
This sets all ADP parameters to their default values. See the individual command descriptions
for default values.
Ver
This outputs the version number of the CPU firmware.
DSPVer
This outputs the version number of the DSP firmware.
BoardRev
This outputs the revision number of the ADP electronics boards.
SerNum
This command returns the instrument serial number from memory (should match the serial
number stamped on the transducer head).
15
SonTek/YSI
Date <yy/mm/dd>
When this command is given without argument, it returns the date from the ADP clock. When
given a date in the form yy/mm/dd (where yy = year (2 or 4 digits), mm = month (2 digits), and
dd = day (2 digits)), it resets the date in the computer clock. Example: date 1995/09/08 or
date 95/09/08 are equivalent commands setting the date to September 8, 1995.
Time <hh:mm:ss>
When this command is given without argument, it returns the time from the ADP clock. When
given a time in the form of hh:mm:ss (24-hour clock where hh = hour (2 digits), mm = minute
(2 digits), and ss = seconds (2 digits)), it resets the time in the computer clock. Example: time
16:24:08 sets the ADP time to 16:24:08 (4:24:08 p.m.).
PowerOff
This command puts the ADP into sleep mode, where power consumption is less than 1 mW. See
section 3.1 for a description of sleep mode. We recommend placing the ADP in sleep mode
whenever not in use (it will automatically enter sleep mode if left idle in command mode for
more than 5 minutes).
AutoSleep ON | OFF
(short command AS)
When this command is given without argument, it returns the current AutoSleep setting. This
setting determines whether the ADP enters a reduced power state during data collection. If
AutoSleep is ON, the ADP will enter this state when there is a period of at least 10 seconds when
the ADP is not actively sampling (i.e. profile interval is 10 seconds greater than averaging
interval). Power consumption is less than 1 mW in the reduced power state. If AutoSleep is
OFF, the ADP electronics remain active even when not collecting data. The default setting is
ON. In deployment mode, AutoSleep is forced ON.
OutFormat BINARY | ASCII
(short command OF)
When this command is given without argument, it returns the current output format setting. This
setting determines the format of data output over the serial port; either BINARY or ASCII. Data
stored on the internal recorder are always stored in binary format. See section 3.14 for a
description of output data formats. The default setting is ASCII.
OutMode AUTO | POLLED
(short command OM)
When this command is given without argument, it returns the current output mode setting. This
setting determines whether data are sent over the serial port immediately after the completion of
a profile (AUTO), or only sent when a specific run time command is received (POLLED). The
run time command O causes the output of the last mean profile from the buffer; see
section 3.13 for a detailed description of run time commands. The default setting is AUTO.
Recorder ON | OFF
When given without an argument, this command returns the current recorder setting. When the
recorder is ON, all data collected by the ADP will be stored on the internal recorder. When OFF,
any data collected in data acquisition mode (i.e. using the Start command) will not be stored to
the recorder (but will be output to the serial port). When in deployment mode (i.e. using the
Deploy command), data are always stored on the internal recorder. The default setting is ON if
a recorder is installed, or OFF if a recorder is not installed.
16
SonTek/YSI
Setup Commands
Setup commands affect the real-time data collection parameters of the ADP. These include
temperature, salinity, number of depth cells, depth cell size, averaging interval, profile interval,
and ping interval. The timing commands (averaging interval, profile interval, and ping interval)
are also listed under deployment commands. In this section, each command is shown (with any
command line options) in Italics. Short versions of these commands, if they exist, are shown in
parenthesis on the same line.
Temp <d.d>
When this command is given without argument, it returns the current user-specified temperature.
When given with an input argument in the appropriate range (-5.0C < temperature < 50.0C) it
sets the user-specified temperature to this value. This temperature is for calculating sound speed
if the temperature mode (TempMode) is set to USER. Default setting is 20.0C. See the ADP
Principles of Operation for details on the effects of sound speed on ADP operation.
Sal <d.d>
When this command is given without argument, it returns the current user-specified salinity
setting. When given with an input argument in the appropriate range (0 ppt <= salinity <=
60 ppt) it sets the salinity to this value. This salinity is for calculating sound speed. Default
setting is 34.5 ppt. See the ADP Principles of Operation for details on the effects of sound speed
on ADP operation.
Ncells <d>
(short command NC)
When this command is given without argument, it returns the current number of depth cells
recorded with each profile. When given with an appropriate input argument (integer 1-100) it
sets the number of cells in each profile. Default setting depends upon acoustic frequency (see
table below).
CellSize <d.d>
(short command CS)
When this command is given without argument, it returns the current depth cell size (in meters).
When given with a numerical argument in the appropriate range, it sets the depth cell size to this
value. Depth cell size is specified in vertical distance from the ADP. The range and default
values for cell size depend upon acoustic frequency (see table below).
BlankDistance <d.d>
(short command BD)
When this command is given without argument, it returns the current blanking distance (in
meters). When given with a numerical argument in the appropriate range, it sets the current
blanking distance. The minimum blanking distance and default settings depend upon acoustic
frequency (see table below).
17
SonTek/YSI
The table below summarizes the default values for blanking distance, cell size, and number of
cells for each ADP acoustic frequency.
ADP Profile Definition Variable Input Range and Default Values
Acoustic Frequency
3.0 MHz
1.5 MHz
1.0 MHz
500 kHz
250 kHz
Blanking Distance
Range 0.2 - 2.0 m
Default 0.2 m
Range 0.4 - 4.0 m
Default 0.4 m
Range 0.5 - 6.0 m
Default 0.5 m
Range 1.0 - 12.0 m
Default 1.0 m
Range 1.5 - 20.0 m
Default 1.5 m
Cells Size
Range 0.15 - 2.0 m
Default 0.5 m
Range 0.25 - 4.0 m
Default 1.0 m
Range 0.4 - 5.0 m
Default 1.0 m
Range 1.0 - 12.0 m
Default 4.0 m
Range 1.0 - 20.0 m
Default 4.0 m
Number of Cells
Range 1 100
Default 12
Range 1 100
Default 20
Range 1 100
Default 25
Range 1 100
Default 30
Range 1 100
Default 30
AvgInterval <d>
(short command AI)
When this command is given without argument, it returns the current averaging interval (in
seconds). When given with an integer argument, it sets the averaging interval to this value (in
seconds). See the ADP Principles of Operation for the averaging interval required for a desired
accuracy. The acceptable range of values is 1 to 43200; the default value is 120 seconds.
ProfileInterval <d>
(short command PRI)
When this command is given without argument, it returns the current profile interval (in
seconds). When given with an integer argument, it sets the profile interval to this value (in
seconds). Profile interval is defined as the time between the start of successive profiles (see
sections 1.2 and 1.3). The acceptable range is 1 to 43200 s; the default is 1200 s. Note that if
averaging interval is greater than profile interval, averaging interval will take precedence.
PingInterval <d.d>
(short command PGI)
When this command is given without argument, it returns the current ping interval setting (in
seconds). See section 1.2 and 1.3 for a description of ping interval. When given with a
numerical argument, it sets the minimum time between pings in a profile (in seconds). The
acceptable range is 0.0 to 10.0 s; the default is 0.0 s. Settings of less than 0.5 s will cause the
ADP to sample (ping) as rapidly as possible. Settings from 0.5 s to 10.0 s will set the minimum
time between pings; within this range, ping rate is the inverse of ping interval. See the ADP
Principles of Operation for details on the effect of ping rate on uncertainty in velocity data.
Ping interval is to reduce power consumption in environments where real variations in water
velocity require long averaging intervals. Settings other than 0.0 seconds are uncommon and
should only be selected by experienced users. See sections 7.1 and 7.2 for details about the
power savings achieved using reduced pinging rates.
CoordSystem BEAM | XYZ | ENU
(short command CY)
When this command is given without argument, it returns the current coordinate system setting.
When given with an appropriate argument, it sets the coordinate system to this value. This
affects the velocity data output to the serial port and stored to the internal recorder (if enabled).
BEAM causes velocity data to be stored as along beam velocities. XYZ causes velocity data to
18
SonTek/YSI
be recorded in the Cartesian coordinate system relative to the ADP. ENU causes the system to
use the compass data to transfer velocity data to earth (east-north-up) coordinates. See
section 4.3 and 6.3 for details on the different coordinate systems. The default setting is ENU.
Settings other than ENU are selected only for specialized applications.
TempMode USER | MEASURED
(short command TM)
When this command is given without argument, it returns the current temperature mode setting.
When given with an appropriate argument, it sets the temperature mode to this value. USER
specifies that sound speed should be calculated from the user-input temperature. MEASURED
specifies that sound speed should be calculated using data from the ADP temperature sensor.
The default setting is MEASURED.
The standard ADP temperature sensor is sufficiently accurate and reliable (0.2C) for sound
speed calculations. The most common reason for selecting a temperature mode of USER is to
simplify post-processing corrections using data collected by other sensors. Note that sound speed
is recorded with each profile, so post processing corrections are possible with either setting.
3.8.
Deployment Commands
Deployment commands affect data collection parameters used for autonomous deployment.
These include deployment name, averaging interval, profile interval, ping interval, start date and
time, and burst sampling parameters. Note that several of the timing commands (averaging
interval, profile interval, and ping interval) are also listed under setup commands. In this section,
each command is shown (with any command line options) in Italics. Short versions of these
commands, if they exist, are shown in parenthesis on the same line.
Deployment <name>
When this command is given without argument, it returns the current deployment name. When
entered with an ASCII text input (no more than 5 letters or numbers) it sets the deployment
name. This determines the file name under which data are stored to the internal recorder. All
data from a single Deploy or Start command are stored in one data file. The file name on the
recorder is the deployment name combined with a 3-digit number indicating the sequence of files
under this deployment name. For example, if the deployment name is LAKE the data from the
first Deploy or Start command will be stored in a file named LAKE001. If data collection
is stopped and re-started without changing deployment name, the file name will increment; i.e.
LAKE002 and LAKE003. Default name is DEF.
Comments
This command allows the user to input comments that will be stored in the data file. There are
three comment lines, each with a maximum of 60 characters.
StartDate <yy/mm/dd>
(short command SD)
When entered without an argument, this command returns the current deployment start date.
When given with a date in the correct format (see date command), it sets the date on which
data collection will begin. This date is used only in deployment mode (data collection started
with the Deploy command). If the start date and time are before the current date and time, data
collection will begin immediately. Default value is January 1, 1995.
19
SonTek/YSI
StartTime <hh:mm:ss>
(short command ST)
When given without an argument, this command returns the current deployment start time.
When given with a time in the correct format (see time command), it sets the time at which
data collection is to begin. This time is used only in the deployment mode (i.e. data collection
started with the Deploy command). If the start date and time are before the current date and
time, data collection will begin immediately. Default value is 00:00:00.
AvgInterval <d>
(short command AI)
See description under setup commands (section 3.7).
ProfileInterval <d>
(short command PRI)
See description under setup commands (section 3.7).
PingInterval <d.d>
(short command PGI)
See description under setup commands (section 3.7).
BurstMode NO | YES
(short command BM)
When given without an input argument, this command returns the current burst mode setting. An
input argument of NO disables the burst sampling mode. An input argument of YES enables the
burst sampling mode. See sections 1.2 and 1.3 for a description of burst sampling. Note that
burst sampling can only be used in deployment mode (data collection started with the Deploy
command). In data acquisition mode, this parameter is ignored. The default setting is NO.
BurstInterval <d>
(short command BI)
When given without an input argument, this command returns the current burst interval (in
seconds). When entered with an integer argument, this sets the burst interval to this value (in
seconds). See sections 1.2 and 1.3 for a description of burst sampling. The acceptable range of
values is 1 to 43200 seconds. The default setting is 1200.
ProfilesPerBurst <d>
(short command PPB)
When given without an input argument, this command returns the current number of profiles per
burst. When given with an integer argument, this sets the number of profiles per burst. See
sections 1.2 and 1.3 for a description of burst sampling. The acceptable range of values is 1 to
1000. The default setting is 1.
3.9.
Recorder Commands
Recorder commands allow direct access to data stored in the ADP internal recorder. This
includes accessing files, checking recorder capacity, and extracting data. In this section, each
command is shown (with any command line options) in Italics. The motivation for the
abbreviated names is shown in parenthesis on the same line. The end of this section gives
examples of how recorder commands can be operated to access data.
Dir
(for directory)
List deployments currently stored on the recorder. Note that this command will take a few
seconds to scan the entire recorder.
LD
(for list deployments)
List deployments currently stored on the recorder. Note that this command will take a few
seconds to scan the entire recorder. Exactly the same as Dir.
20
SonTek/YSI
Format
Erase all data from the recorder card. Naturally, you should take some care before executing this
command. Upon execution it will prompt for confirmation of erasing all data. The ADP will
give an updated display showing progress in re-formatting the memory card (the process will take
a few seconds).
RecStatus
Show the installed recorder size and the amount of free space remaining.
Recorder ON | OFF
See description under system commands (section 3.6).
RecMode NORMAL | BUFFER
See description under system commands (section 3.6).
OD <name>
(for open deployment)
When given an existing deployment name on the ADP recorder, this command allows access to
data files within that deployment. A deployment must first be opened before any of the
following recorder commands can be used. When first opened, the file marker is placed on the
first profile in the specified data file (for retrieval using the RPA or RPB commands).
CD
(for current deployment)
Show what deployment is currently open.
RC
(for retrieve configuration)
Retrieve configuration and setup information from the currently open file. This includes all
information in the file header that is stored only once per data file (same as retrieved by the
software program GADPCTL see the ADP Software Manual). The information is retrieved in
a self-explanatory ASCII format.
RPA [N]
(for retrieve profile ASCII)
Retrieve N profiles from the current file in ASCII format. If N is not specified, one profile is
retrieved. The first profile retrieved will be the one given by the file marker; after executing this
command, this file marker will be moved to the profile immediately following the profiles just
retrieved. The ADP will first send the profile header and then the profile data; see section 3.14
for a description of the output data format.
RPB [N]
(for retrieve profile binary)
Retrieve N profiles from the current file in BINARY format. If N is not specified, one profile is
retrieved. The first profile retrieved will be the one given by the file marker; after executing this
command, this file marker will be moved to the profile immediately following the profiles just
retrieved. The ADP will first send the profile header and then the profile data; see section 3.14
for a description of the output data format.
FP
(for first profile)
Moves the file marker to the first profile in the file.
LP
(for last profile)
Moves the file marker to the last profile in the file.
GP <profile number>
(for go to profile)
Moves the file marker to the profile number given on the command line; this profile will be the
next profile retrieved with the RPA or RPB commands.
ADP Operation Manual (March, 2001)
21
SonTek/YSI
CP
(for current profile)
Returns the number of the current profile shown by the file marker.
NP
(for number of profiles)
Returns the number of profiles in the currently open file (takes a few seconds to scan the file).
The following are examples of how to access recorder data from the direct command interface.
The ADP software includes a program to download data files (SONREC see the ADP Software
Manual) and the direct access commands shown here are not needed for most applications.
Example 1: Retrieve configuration data from deployment LAKE001.ADP
LD
OD LAKE001
RC
to list deployments;
to open the deployment;
to retrieve configuration
Example 2: Retrieve the last 5 profiles in ASCII format from deployment LAKE001.ADP
LD
OD LAKE001
NP
GP 1351
RPA 5
to list deployments;
to open deployment LAKE001.ADP;
to retrieve the number of profiles (NP) recorder in the file (assume the
ADP returns 1355 for this example);
to go to profile number 1351 in this file (fifth from the last profile);
to retrieve the last 5 profiles in ASCII format.
SonTek/YSI
23
SonTek/YSI
24
SonTek/YSI
<CR> <LF>
25
SonTek/YSI
Offset
0
2
3
4
5
6
7
8
Length
2
1
1
1
1
1
1
2
Description
Four digit calendar year (i.e. 1995)
Hundredths of a second
2-byte CheckSum of preceding 8 bytes (see appendix
1 regarding Checksum calculation)
C+ and C
The C command is to steer the ADP clock. C+ advances the clock 1 second, C- sets the clock
back 1 second. After a successful completion of this command the ADP will output the
acknowledgment "OK <CR> <LF>".
N
Sending the character N during data collection causes the ADP to output the profile number of
the last mean profile, the one currently in the output buffer. The number is output in either
BINARY or ASCII format depending upon the setting of OutFormat. In BINARY format, the
following 6 bytes will be sent:
Run Time Command N Binary Output Record
Field
Profile number
CheckSum
Offset
0
4
Length
4
2
Description
Profile number as a 4 byte integer
2-byte CheckSum of preceding 4 bytes (see
appendix 1 regarding Checksum calculation)
26
Offset
0
4
Length
4
2
Description
Time left in seconds as a 4 byte integer
2-byte CheckSum of preceding 4 bytes (see
appendix 1 regarding Checksum calculation)
SonTek/YSI
Binary Data
Binary data files generated by the ADP, using either the real-time data collection software or the
internal recorder, use the same format. See Appendix 1 for a detailed description of the ADP
binary file format. Most of the binary structures output by the ADP over the serial port follow a
format defined for the binary data file, and will refer to this appendix for a precise definition.
This section describes only the binary profile data output over the ADP serial port during data
collection, using the run-time commands (see section 3.13), and using the recorder commands
(see section 3.9). Each ADP profile is sent from the serial port as a single binary record as
described below.
The exact size of each ADP profile record depends upon the hardware configuration (the number
of acoustic beams - NB), the user configuration (the number of cells collected - NC), and whether
the optional CTD/Bottom Track/SonWave options are installed. The basic layout of each profile
record is shown in the table below. The following abbreviations are listed in this table.
ADP Profile Binary Data Structure
Field
Profile header
CTD data
Bottom Track
Velocity
Standard
deviation
Signal amplitude
Pressure series
CheckSum
Offset
0
80
Length
80
16
80 + (16*)
80 +(16*) + 2*NB*NC
2*NB*NC
NB*NC
80 + (16*) + 3*NB*NC
NB*NC
80 + (16*) + 4*NB*NC
Description
Profile header data
CTD data (*if installed)
Bottom Track data (*if installed)
Velocity data
Standard deviation data
Signal amplitude data
Pressure series (*if installed)
2-byte CheckSum of preceding
(80 + (16*) + 4*NB*NC) bytes
27
SonTek/YSI
Each data type is defined in detail (using the C language structure definition) in Appendix 1. The
list below shows the structures indicated for each data type.
Profile header
CTD
BottomTrack
Velocity
Standard deviation
Signal amplitude
Wave Header
Pressure time series
[ProfileHdrType]
[CtdType] (if present)
[BTrackType] (if enabled)
[ProfileData.Vel]
[ProfileData.VelStd]
[ProfileData.Amp]
[WaveHeaderType] (if enabled)
[WseriesType] (if enabled)
Appendix 1 also includes details on the calculation of the CheckSum sent with each binary
profile record to ensure accurate data transmission.
3.14.2.
ASCII Data
When outputting ADP data over the serial port in ASCII format, there are two data output types.
First is the hardware configuration and user setup parameters. This is output using the recorder
command RC and contains all ADP hardware configuration settings (serial number, frequency,
number of beams, etc.) and user setup parameters (cell size, number of cells, default temperature
and salinity, etc.). The output is presented in a self-explanatory text format.
The second output type contains data from one ADP profile including the profile header,
averaged velocity and standard deviation, signal amplitude data, CTD, Bottom Track and
Pressure series data (if available). This is output over the serial port when each profile is
collected and is also output using the recorder command RPA (see section 3.9). A sample of
this output is shown below.
Regular Profile
Header1
Header1
Header1
Header1
16
C23
1 1997 10 15 10 49 53 3 1 1 2
30
100
40
60
400
1751
-10
-30 1879 2799
13
5
6
2
9 14931
0 0 0 0 67 200 66 200 24 21 24
0 161 231
0 117
468151
351354
100
221
220
220
1
2
3
2
24
12
-22
-13
9
-11
-8
-4
15
14
13
14
14
14
-4
13
12
115
116
65
140 0
71
61
28
32 DEFAULT C23
2000
2000
2000
1 1997 10 15 10 49 0 1 6 1 1 150
2000
2000
2000
SonTek/YSI
The information contained in the profile header (first four lines) is described below.
Header Line 1:
data type (internal use),
system serial number (c23),
profile number,
6 values for profile time (year, month, day, hour, minute, second),
number of beams (2, 3 or 4),
orientation (0=down, 1=up, 2=side),
temperature mode (0=user, 1=measured),
coordinate system (0=beam, 1=xyz, 2=enu)
Header Line 2:
number of cells,
cell size (in cm),
blanking distance (in cm),
averaging interval (in seconds),
number of pings in this profile.
Header Line 3:
3 values for mean heading, pitch, and roll (in 0.1)
mean temperature (in 0.01C)
mean pressure (counts)
3 values for standard deviation of heading, pitch and roll (in 0.1)
std temperature (in 0.01)
std pressure (counts),
sound speed (in 0.1 m/s).
Header Line 4: this line contains system variables relating to internal system operation;
the last value on the line is measured battery voltage in units of 0.2 V (i.e. 117 = 23.4 V)
The format of the CTD, Bottom Track and Pressure series is documented in SECTION 8.
ADP ASCII Output Profile Data
Column #
1
2
3
4
5
6
7
8
9
10
Contents
Depth cell number
Velocity data (V1 or Vx or Veast) in mm/s
Velocity data (V2 or Vy or Vnorth) in mm/s
Velocity data (V3 or Vz or Vup) in mm/s
Standard deviation data (SD1 or SDx or SDeast) in mm/s
Standard deviation data (SD2 or SDy or SDnorth) in mm/s
Standard deviation data (SD3 or SDz or SDup) in mm/s
Amplitude (signal strength) data (beam 1) in counts (1 count = 0.43 dB)
Amplitude (signal strength) data (beam 2) in counts (1 count = 0.43 dB)
Amplitude (signal strength) data (beam 3) in counts (1 count = 0.43 dB)
29
SonTek/YSI
This section describes a simple procedure to verify compass operation using a continuous display
of heading, pitch, and roll. The display can be obtained using the direct command interface or
the compass calibration software. If using the direct command interface, the command
Compass CONT gives a continuous output of heading, pitch, and roll (see section 3.11). The
compass calibration software (COMPCAL, see the ADP Software Manual) provides a graphical
display of compass data.
For this test, first start the display of compass data. Point the ADP X-axis (marked on the
transducer head) towards each compass direction (North, South, East, and West) and compare the
compass output with the expected reading. Test the pitch and roll sensors by tilting the ADP
about the X-axis (roll) and Y-axis (pitch) respectively, and compare the output measurements
with the estimated tilt angles.
For this test be sure that the compass is physically oriented up (which means the ADP will be
oriented down if the compass is installed for down-looking operation) and the hardware
orientation switches match the compass installation. Refer to section 4.2 for details about
compass mounting and the definition of the compass coordinate system.
This test should be conducted in an area predominantly free of magnetic material. The data
should appear reasonable within the accuracy of this type of experiment (10 heading, 5 tilt).
Large errors or a lack of response indicate a problem with the compass. This is not intended as a
precise test of compass accuracy, but a means to evaluate basic performance. For best results, we
recommend performing a compass calibration prior to any deployment (see section 4.4).
30
SonTek/YSI
4.2.
IMPORTANT: Whenever opening and closing the ADP, it is essential that the transducer head
be correctly aligned. When correctly aligned, the ADP X-axis (as stamped on the transducer
head) will point away from the underwater connector into the ADP housing. If the head is
incorrectly aligned, compass data will be incorrectly interpreted and this will contaminate
velocity data.
The ADP is configured at the factory for up or down-looking operation following user
instructions. The user can determine the current configuration by using the Show Conf
command from the direct command interface (see section 3.12). Both the installation of the
compass and the setting of the hardware switches must be modified if the ADP is switched
between up and down-looking operation. This section describes the compass installation; refer to
section 5.5 regarding the hardware switch settings.
Magnetic
Coils
Y
X
Top View
10 pin
Connector
Tilt
Sensor
X
Side View
31
SonTek/YSI
Y
X
Compass
Coordinates
ADP
X-Axis
Correct Alignment of
ADP Transducer Head
ADP
Housing
Underwater
Cable
32
SonTek/YSI
compass components that are below the board (and hence are not directly visible when the
compass is installed) are drawn with dashed lines in Figure 4.
For down-looking operation, a set of 1 hex standoffs (included in the ADP tool kit) must be
installed onto the threaded inserts on the bottom of the ADP housing. This provides the
necessary clearance to install the compass with the components facing down. These standoffs
should be snugly screwed into the threaded inserts, but take care not to over-torque as this may
strip the standoff threads.
For down-looking operation, the positive Y-axis of the compass should match the positive X-axis
of the ADP. The positive X-axis of the compass is aligned 90 counter-clockwise of the ADP
X-axis.
When installing the compass, the board is secured using short #4-40 screws (spares are included
in the ADP tool kit). Install fiber washers on both sides of the compass board for protection. It
may be helpful to stick the washers to the compass board with a small amount of silicon grease
before putting the compass into the housing (the o-ring grease in the ADP tool kit works well).
The same grease can stick the #4-40 screws to the wrench when reaching into the canister. The
compass mounting screws should be tightened securely but not over-tightened.
When closing the ADP, be certain that the positive X-axis as marked on the transducer head is
aligned as shown in Figure 4, and that the compass installation matches the desired deployment
orientation and the sensor orientation as set in the ADP hardware switches (see section 5.5).
4.3.
The translation of velocity data from XYZ to Earth (ENU) coordinates is enabled or disabled
through commands to the ADP and is transparent to the user. Selection of the coordinate system
is done using the CoordSystem command (see section 3.7) or by a menu item in the data
Compass 10 pin connector
Y
X
Compass
Coordinates
ADP
X-Axis
Correct Alignment of
ADP Transducer Head
ADP
Housing
Underwater
Cable
33
SonTek/YSI
acquisition software (see the ADP Software Manual). When the compass is installed, data are
stored with each profile regardless of the coordinate system setting.
When using the ENU coordinate system, velocity is reported in Earth coordinates regardless of
the physical orientation of the ADP (within the operational limits of the compass).
Consequently, an ADP that is mounted with variable orientation will provide velocity data
consistent with the direction and speed of the water current itself, regardless of the orientation
when measuring the current.
Additionally, velocity data in each profile are averaged using continually updated compass data.
If the ADP changes orientation during a profile, velocity data will be averaged in Earth
coordinates and will not be contaminated by instrument motion. Using any other coordinate
system (BEAM or XYZ) eliminates this vector averaging and can contaminate data if the ADP
moves during the course of an averaging interval. We recommend using the ENU coordinate
system except for specialized applications.
4.4.
Compass Calibration
The compass can be calibrated to compensate for ambient magnetic fields, which may cause
errors in heading measurements. Magnetic distortion is most commonly caused by ferrous metal
near the ADP. If the ADP is mounted on or near anything that contains magnetic material or
generates a magnetic field, the compass should be calibrated prior to starting data collection.
Additionally, the compass should be calibrated when moved to a different environment or
mounting apparatus.
There are two methods for compass calibration. The first is to use the compass calibration
software, described in the ADP Software Manual. Alternatively, the operator can use the
compass commands from the direct command interface.
To begin a compass calibration using the compass commands, establish communication with the
ADP. Type the command compass cal and press ENTER. The program will display
necessary instructions for the calibration, and give a continually updated output of heading, pitch,
and roll. The compass is now in multiple-point calibration mode and is collecting sample points.
Rotate the compass slowly through 360 degrees at least twice, varying the pitch and roll as much
as possible, so that a complete rotation takes at least one minute to complete. When this has
been completed, press any key to terminate the calibration. The ADP will respond with a
calibration score, which will look like the following.
H9V9M5.3:
The number following the H and V should be high (scale of 0 following the M should be
low (on a scale of 0 to 100). The number following the H reflects the quality of the horizontal
calibration, the number following the V reflects the quality of the vertical calibration, and the
number following the M reflect the amount of magnetic distortion present. While scores will
vary, if either H or V is below 6, or if M is greater than 30.0, you should repeat the calibration. If
the results do not improve, consider changing the location or modifying the mounting structure.
The compass calibration software follows an essentially identical procedure, and reports the same
calibration score. (See the ADP Software Manual for details.)
34
SonTek/YSI
4.5.
All communication for compass operation is done automatically by the ADP; under normal
circumstances, the user should not need to communicate directly with the compass. Should the
need arise, the user can communicate with the compass through the ADP by establishing
communication and bypassing the ADP processor for a direct link to the compass.
To communicate with the TCM2, place the ADP in command mode. Send the following
command to establish a direct link with the compass.
> echo compass
If the compass is operating properly, it should be continuously sending data to the ADP, which
will be redirected to the user. The data will look something like:
$C143.2P3.4R5.5T24.5*3f
$C142.2P3.4R5.5T24.5*3e
The compass will now accept direct commands. For details on communicating with the
compass, or for a copy of the compass manual, contact SonTek. When communication with the
compass is no longer desired, typing three plus signs in succession (+++) or sending a BREAK
will return the ADP to command mode.
35
SonTek/YSI
The exact hardware configuration of the ADP depends upon the requirements of the application.
ADP hardware configuration settings can be displayed using the Show Conf command from
the direct command interface (see section 3.12). A sample output of this command is given
below.
>show conf
HARDWARE CONFIGURATION PARAMETERS
--------------------------------Sensor serial # -------------- C18
Sensor type -- (kHz) --------- 1500
Number of beams -------------- 3
Beam Geometry ---------------- 3_BEAMS
Slant angle -- (deg) --------- 25.0
Orientation ------------------ DOWN
Compass/Tilt sensor ---------- YES
Recorder
sensor ---------- YES
Temperature sensor ---------- YES
Pressure
sensor ---------- YES
PressOffset - (dbar) --------- -1.050000
PressScale -- (dbar/count) --- 0.000744
PressScale_2 (pdbar/count^2) 153
External sensors ------------- NO
Paros pressure sensor -------- NO
Microcat CTD ----------------- NO
A brief description of each of these parameters and possible settings is given below.
36
Sensor serial number: The ADP serial number is stamped on the transducer head.
Sensor type: This specifies the acoustic frequency of the ADP in kHz (3000, 1500, 1000,
750, 500, or 250).
Number of beams / Beam geometry: Most ADPs use 3 beams for vertical profiling.
Horizontal current profiling can be done using 2 beam systems. Specialized applications will
use 4 beam systems in several different configurations (3+1 vertical, 4 Janus).
Slant angle: The mounting angle (off vertical) of the ADP transducers (25 is standard).
Orientation: Profiling orientation of the system for up-looking, down-looking, or sidelooking operation. Note that this setting must match the compass installation for correct
operation (see section 4.2). Also note that the orientation will affect the definition of the
XYZ coordinate system (see section 6.3).
Compass/tilt / Recorder / Temperature / Pressure sensor: These settings specify which
optional sensors have been installed (see section 5.5).
PressOffset / PressScale / PressScale_2: Factory calibration parameters for the optional
pressure sensor (see section 6.5 for details).
External / Paros pressure / Microcat CTD sensors: These settings specify the status of a
number of optional external sensors that can be integrated with the ADP (see section 8.2 for
details).
SonTek/YSI
5.2.
Stand-Alone ADP
The Stand-Alone ADP is our most popular configuration where the processor, recorder
(optional), compass/tilt sensor, and pressure sensor
Processor
(optional) are all housed in a single underwater canister.
Recorder
Figure 5 illustrates the internal mounting of the StandSecuring
Bracket
Alone ADP. All electronics except the compass/tilt sensor
are mounted to the transducer head; the compass/tilt sensor
Presssure
is mounted to the bottom of the ADP housing as described
Sensor Board
in section 4.2.
The (circular) receiver board is mounted on three standoffs
directly to the transducer head. Above the receiver board is
the internal mounting hardware (all made of anodized
aluminum), which consists of a circular plate above the
receiver board with a rectangular plate attached at a right
Transducer
angle. The ADP processor is mounted on standoffs from
Head
the rectangular plate. If the ADP includes an internal
recorder, a small right angle bracket is to keep the
Figure 5
PCMCIA recorder card from being accidentally shaken
loose. If the ADP includes a pressure sensor, a small
electronics board for this sensor is mounted opposite the ADP processor.
Mounting
Hardware
Receiver
Board
The ADP transducers are wired directly to the receiver board. The temperature sensor is
connected to the receiver board using a red 2-pin connector. Two connectors on the receiver
board (a 3-pin red and a 10-pin black) connect through a wiring harness to the ADP processor.
The pressure sensor board connects at one side to the pressure sensor (mounted in the transducer
head) and at the other side to a connector on the ADP processor. The ADP processor also has
connectors to the compass/tilt sensor, and for external power and serial communication.
The Stand-Alone ADP also includes a grounding wire connected from one standoff on the
receiver board to the housing. This establishes electrical conductivity between the two housings,
and thus ensures that both the transducer head and housing are corrosion protected by the same
zinc anodes.
For more details on the wiring of the ADP processor, see the complete processor description in
section 5.3.
Low Profile ADP
In the low profile ADP, the transducer head housing includes only the receiver board,
compass/tilt, and pressure sensor board (optional). The processing electronics are installed in a
separate splash-proof housing (non-submersible). The transducer head and processor are
connected using a custom-shielded cable up to 60 m long.
The receiver board is mounted as shown in Figure 5; the compass/tilt sensor is mounted directly
to the housing as described in section 4.2. The pressure sensor board, if included, is mounted on
a circular plate above the receiver board. As with the Stand-Alone ADP, the transducers are
wired directly to the receiver board and the temperature sensor is connected to the receiver board
37
SonTek/YSI
using a red 2-pin connector. All wiring from the receiver board and the compass/tilt sensor
connect directly to the underwater connector on the housing. The pressure sensor board connects
on one side to the pressure sensor (in the transducer head) and on the other side to the underwater
connector.
The low profile ADP also includes a grounding wire connected from one standoff on the receiver
board to the housing. This establishes electrical conductivity between the two housings, and thus
ensures that both the transducer head and housing are corrosion protected by the same zinc
anodes.
5.3.
ADP Processor
The ADP processor consists of three printed circuit (PC) boards with an optional fourth board for
the internal recorder. The internal recorder is available only with the Stand-Alone ADP, and not
with the low profile ADP.
38
SonTek/YSI
Analog board
Figure 7 shows the layout of the ADP
analog board with a number of
important features labeled. The
analog board generates the acoustic
transmit signals, receives the high
frequency return signals, and performs
the preliminary signal conditioning
before the return signal is sent to the
DSP board. The important features of
the analog board are discussed below.
Hardware
Switches
Backup Battery
Connector
Temp / Pressure
Connector
Power
LED
Input Power
Connector
Input
Power Fuse
Receiver
Connector
39
SonTek/YSI
Full Card
Connector
DSP
DSP
EPROM
Half Length
Card Connector
DSP board
Figure 8 shows the layout of the
ADP DSP board with a number
of important features labeled.
The DSP board digitizes the
return signal and performs
Doppler calculations to determine
velocity. The important features
of the DSP board are discussed
below.
CPU board
Figure 9 shows the layout of the ADP CPU board with a number of important features labeled.
The CPU provides the overall control of ADP operation including data collection, user interface,
compass, and recorder control. The important features of the CPU board are discussed below.
40
CPU - The central processing unit (CPU) chip controls all major ADP functions including
data collection, user interface, compass, and recorder.
CPU EPROM - The CPU EPROM stores the algorithms to control ADP operation. Upgrades
for this EPROM may be available periodically. To change the EPROM, use a small flat
blade screwdriver to carefully remove the old EPROM. Be certain to align the half circle on
the new chip with the identical mark on the DSP board. Take care when installing the chip
that all pins are intact, not bent and securely connected.
Compass connector - The 10-pin red connector in the upper right portion of the board carries
power and serial communication to and from the compass/tilt sensor. The connector is keyed
and can only be installed in one direction. For the Stand-Alone ADP, the cable from this
connector should lead directly to the compass. For the ADP processor in the splash-proof
housing, the cable from the connector should lead to the DB25 connector on the front end
plate.
SonTek/YSI
Jumper J2
Jumper J1
Compass
Connector
Full Length
Card Connector
CPU
EPROM
Spare
Connector
CPU
Serial Communication
Connector
4 2 2 / 42 83 52
BAUD
Baud Rate
Hex Switch
Address
Hex Switch
Serial Communication
Jumpers
Spare connector - The 10-pin, black rectangular connector in the right center portion of the
board is not used.
Serial communication connector - The 10-pin, black rectangular connector in the lower right
corner of the board carries the serial communication signals for the external user interface.
This is the same connector type as the spare connector listed above. The connector is keyed
and can only be installed in one direction. For the Stand-Alone ADP, the cable from this
connector should lead to the underwater connector on the housing. For the ADP processor in
the splash-proof housing, the cable from this connector should lead to the DB9 serial
communication connector on the front end plate.
Full length card connector - The full length card connector (64 pins) on the left side of the
board mates above to a connector on the bottom of the DSP board, and below to a connector
on the recorder board.
Baud rate hex switch - This hex rotary switch is to set the serial communication baud rate.
The default setting is 9600 baud (setting 3). The switch is positioned so that it can be
accessed while the processing module is assembled (see section 5.6).
Address hex switch - This hex rotary switch is to set the system address for RS485
communication. The default setting is 0 (when using for RS232 or RS422 communication).
Refer to section 5.6 for details on switch settings.
Serial communication jumpers - The jumpers located in the bottom right corner of the board
select the serial communication protocol; the defaults setting is for RS232. The jumpers
cannot be accessed while the processing module is assembled. Refer to section 5.7 for details
on jumper settings.
Jumpers J1 and J2 Jumper J1 should be left open (no pins connected). Jumper J2 should
have the left two pins connected (closest to the full length card connector).
41
SonTek/YSI
Recorder board
Full Length
Card Connector
PCMCIA
Flash Card
5.4.
The information in this section is intended to allow customers to construct their own cables for
interfacing to the ADP. The ADP is supplied with all cables required for normal operations, but
some applications (particularly with long cables) will require the user to build or purchase
additional cables.
5.4.1. Stand-Alone ADP
The Stand-Alone ADP uses one external connector to supply DC power and serial
communications. This is either an 8-pin or a 16- pin underwater mateable connector
manufactured by Impulse Enterprises. Details on the connectors are given below.
Stand-Alone ADP Connector Type
Connector Type
8 pin underwater mateable
16 pin underwater mateable
Impulse Enterprises manufactures all connectors and assembles all cables used by SonTek. Their
address is given below.
42
SonTek/YSI
Impulse Enterprises
8254 Ronson Road, San Diego, CA 92111, USA
Phone (619) 565-7050, Fax (619) 565-1649
The table below shows the pin out used for each connector type for RS232 and RS422
communication protocols. The wire colors shown are for the standard SonTek power and
communication cable. Data transfer is listed relative to the ADP (Tx/Data Out refer to data being
sent by the ADP, Rx/Data In refer to commands being received by the ADP).
Stand-Alone ADP Connector Wiring
IL-8-MP
Pin number
1
2
3
4
5
6
7
8
MIL-16-MP
Pin number
1
10
11
4&9
5
6
14
16
Wire color
RS232 function
RS422 function
Red
White
Violet
Drain
Yellow
Green
Blue
Black
Vpower
Data out
Data in
Drain
Not used
Not used
Not used
Ground
Vpower
Tx+
TxDrain
Not used
Rx+
RxGround
When the ADP uses RS232 serial communication, the computer end of the power and
communication cable is terminated with a DB9 connector for communication and a coaxial
power plug for DC input power. The coaxial power connector accepts 12-24 V DC power input.
The connector has the positive terminal on the inside and the negative terminal on the outside; it
matches the output of the supply included with the ADP.
The DB9 connector follows the standard RS232 wiring protocol, as shown in the table below.
ADP Power and Communication Cable DB9 Wiring
Pin #
1
2
3
Signal
Not used
Data Out
Data In
Pin #
4
5
6
Signal
Not used
Ground
Not used
Pin #
7
8
9
Signal
Not used
Not used
Not used
If the user has requested the system be setup for RS422 serial communication, the power and
communication cable will replace the DB9 with a DB25 connector wired for RS422. Any ADP
ordered with RS422 will also include a RS232/RS422 converter (which has DB25 connectors on
each end) and a DB25 to DB9 converted cable; this allows the power and communication cable
to be plugged directly into the serial communication port of any PC. Note that the RS232/RS422
converter includes a separate 12 V power supply that must be connected for the converter to
work.
43
SonTek/YSI
Signal
RxData Out / Tx+
Data In / Tx-
Pin #
4
5
6
Signal
Not used
Ground
Not used
Pin #
7
8
9
Signal
Not used
Not used
Rx+
The last connector on the splash-proof housing (a DB15) is not used by the ADP.
5.5.
Figure 11 shows a diagram of the hardware configuration switches on the ADP analog board (see
section 5.3 for a description of the ADP processing electronics; see
section 5.8 for details on accessing the ADP electronics). The
switches are divided into three sets of three. Placing any switch to
the right is ON (logical 1), and to the left is OFF (logical 0).
The switch settings shown in Figure 11 are for an upward looking
ADP, with compass, temperature, and recorder installed; no
pressure sensor is installed.
The first set of three switches defines ADP orientation. Only one of
these switches should be ON at any given time. Switch #1 indicates
that the system is deployed looking up (i.e. mounted on the bottom
profiling up towards the surface). Switch #2 indicates that the
system is looking down (i.e. mounted on the surface profiling down
towards the bottom). Switch #3 indicates that the system has been
deployed looking to the side (for 2 beam, 2D ADPs only).
Figure 11
IMPORTANT: When switching between up and down-looking,
the user must set the correct switch and change the physical
mounting of the compass (see section 4.2 for details on changing compass orientation).
44
SonTek/YSI
The second set of switches specifies which optional sensors have been installed. If switch #1 is
ON, the system will look for the internal compass and tilt sensor. If the ADP cannot detect this
sensor, it will return an error message when entering the command mode. Switch #2 is not
currently used. Switch #3 indicates whether the internal recorder is installed.
The last set of switches specifies which of the analog sensors are installed. Switch #1 should be
ON if the temperature sensor has been installed; all ADPs include temperature sensors. Switch
#2 is not currently used. Switch #3 should be ON if the optional pressure sensor has been
installed.
All switches are set to the appropriate value at the factory. The only settings that should be
changed by the user are the orientation switches; these are changed whenever the user changes
the ADP profiling orientation (up versus down-looking).
5.6.
Two hex rotary switches are mounted on the side of the CPU board; these switches can be
accessed without disassembling the processor electronics. One switch is labeled BAUD and
the other ADDRESS. The switch labeled BAUD is to change the communication baud rate;
settings are shown in the table below. The default setting is 9600 bps (setting 3). Use a small
flat blade screwdriver to rotate the switch to the desired setting.
Baud Rate Hex Switch Settings (CPU Board)
Hex setting
0
1
2
Baud rate
1200
2400
4800
Hex setting
3
4
5
Baud rate
9600
19200
39400
Hex setting
6
7
Baud rate
57600
115200
The second hex rotary switch, ADDRESS, is intended for multiple system operation using
RS485 protocol. RS485 operation is not covered in this manual. The ADDRESS switch should
always be set to 0 for standard RS232 or RS422 operation.
5.7.
The ADP can use one of two serial communication protocols: RS232 (default) and RS422.
RS232 is the standard protocol used by most computers; it is reliable over cable lengths to about
100 m. RS422 uses differential voltage levels to allow communications over longer cables (up to
1500 m). RS232/RS422 converters are available that let you run a RS422 system from the standard (RS232) serial port of a computer. Information
for purchasing these converters is shown below.
B&B Electronics
707 Payton Rd.
Ottawa, IL 61350 USA
Phone (815) 434-0846
Fax (815) 434-7094
Converted Part # 422COR,
Power Supply Part # 422PS2
ADP Operation Manual (March, 2001)
422/485
232
RS232
Jumper Settings
422/485
232
RS422
Jumper Settings
SonTek/YSI
The communication protocol jumpers consist of eight 2-pin pairs. Figure 12 illustrates the
jumper configuration for each communication protocol. To access the jumpers, the user must
disassemble the processor (see section 5.8 for details). The ADP tool kit contains everything
required for this task.
5.8.
46
SonTek/YSI
5. Re-connect the serial communication connector (black 10-pin) to the outside connector of the
CPU board (see section 5.3 for the exact connector location).
6. Re-connect the power connector (red 2-pin) to the analog board. Secure with a small, plastic
wire tie.
7. Connect the ground wire from the sensor housing to the tab on the transducer head.
8. Set the transducer head onto the housing, taking care that no wires are caught between the
two surfaces.
9. IMPORTANT: Correctly align the ADP X-axis with respect to the canister. The X-axis as
stamped on the transducer head should point away from the underwater connector on the
sensor housing. For an illustration of this alignment, see sections 4.2.2 and 4.2.3.
10. Install the securing hardware. There should be plastic isolating sleeves on both the head and
housing sides. Tighten the bolts to be snug, but do not over torque (tighten sufficiently to
compress the lock washers).
Disassembling the processor
Following are instructions for disassembling the ADP processor. Note that the ADP internal
mounting does not need to be removed from the transducer head to perform the following steps.
When accessing the electronics, disassemble the system only as far as is necessary for the
required maintenance.
1. Refer to section 5.3 for a detailed description of the ADP processor.
2. Whenever accessing the electronics, be sure to work in a clean, static safe environment to
avoid damage to the system.
3. Disconnect the receiver board wiring harness from the black, 16-pin connector on the analog
board. This connector is keyed and can only be installed in one direction.
4. Disconnect the temperature/pressure connector from the top of the analog board. This
connector is not keyed, so be sure to note its alignment prior to removal. The tab on the
connector should be placed towards the inside of the analog board.
5. Using the hex wrench from the ADP tool kit, remove the four screws (with flat and lock
washers) from the corners of the analog board.
6. Carefully lift the analog board straight up from the DSP board. Note that it is connected to
the DSP using edge connectors at each end. Take care not to bend the pins on these
connectors during removal.
7. Use a -inch wrench to remove the four standoffs securing the corners of the DSP board.
8. Carefully lift the DSP board straight up from the CPU board. Note that it is connected to the
CPU using an edge connector at the end nearest the transducer head. Take care not to bend
the pins on these connectors during removal.
9. Use a -inch wrench to remove the four standoffs securing the corners of the CPU board.
10. Carefully lift the CPU board straight up from the recorder board. Note that it is connected to
the recorder using an edge connector at the end nearest the transducer head. Take care not to
bend the pins on these connectors during removal.
11. Use a -inch wrench to remove the four standoffs securing the corners of the recorder board.
12. Lift the recorder board off the mounting hardware.
47
SonTek/YSI
48
SonTek/YSI
4. Disconnect the ground wire from the receiver board if necessary (the wire may be sufficiently
long to allow access without removing this wire).
5. There are two connectors to the receiver board: a black 10-pin and a red 3 pin connector.
Remove both of these connectors. Remove the transducer head (with attached electronics)
and set on a static free surface.
6. While open, take care to protect all o-rings and o-ring surfaces from damage.
Closing the sensor housing
1. Before closing, check that all internal hardware is in place and secure. Verify that all
connectors are correctly and securely installed.
2. A desiccant bag is mounted inside the housing. Replace the desiccant if you suspect that it
may be saturated. If practical, purge the ADP housing with a dry, inert gas (Nitrogen, Argon,
etc.) prior to re-assembly.
3. Clean all se and o-ring surfaces, and inspect for damage. Replace the o-rings if necessary
(spare o-rings are included in the tool kit). Apply a thin layer of grease to the o-rings to hold
them in place during assembly (a small amount of Dow Corning #111 Valve Lubricant and
Sealant is included with the tool kit).
4. Re-connect the black 10-pin connector to the receiver board.
5. Re-connect the red 3-pin connector to the receiver board.
6. Connect the ground wire from the sensor housing to the receiver board, if it has been
removed.
7. Set the transducer head onto the housing, taking care that no wires are caught between the
two surfaces.
8. IMPORTANT: Correctly align the ADP X-axis with respect to the canister. The X-axis as
stamped on the transducer head should point away from the underwater connector on the
sensor housing. For an illustration of this alignment, see sections 4.2.2 and 4.2.3.
9. Install the securing hardware. There should be plastic isolating sleeves on both the head and
housing sides. Tighten the bolts to be snug but do not over torque (tighten sufficiently to
compress the lock washers).
Opening the splash-proof processor housing
1. Remove the four screws at each corner of the front end plate.
2. Lift the front end plate from the housing. The junction between the end plate and housing is
sealed with a gasket (waterproof but not intended for submersion), so it may take some effort
remove the plate; prying one edge up is a good way to start.
3. Pull the end plate straight out from the housing. A number of cables join the end plate to the
electronics, and the electronics should slide smoothly out of the housing. Remove the
electronics completely from the housing and place the end plate / electronics assembly in a
static safe area.
49
SonTek/YSI
50
SonTek/YSI
This section discusses accessing and replacing battery packs in the external battery housing.
ADP battery packs, either alkaline or lithium, consist of 36 D-cell batteries welded together.
Alkaline battery packs are wired to provide a nominal 18 V output, while lithium packs provide
21.6 V. Refer to Appendix 2 for details about battery pack construction.
The external ADP battery housing is constructed from PVC and is designed to hold three battery
packs. The bottom end cap is permanently attached. The top end cap, with the 2-pin underwater
mateable connector, screws into the housing and is sealed with a face seal o-ring. The battery
housing is rated for deployment depths to 200 m. Internally, the battery packs are held in place
using compressive foam pads and a retaining ring.
Opening the battery housing.
1. Vent off any differential pressure within the housing by loosening (or removing) the vent
screw on the top end cap.
2. To remove the cap, turn the cap counterclockwise while holding the housing still.
3. If more leverage is needed, insert steel dowel pins (included with the ADP tool kit) into the
holes on the end cap. Use a bar wedged between the pins as a lever arm to loosen the cap.
Tapping lightly with a hammer on this bar while holding the cylinder will loosen the cap.
4. Once started, the cap should turn easily.
5. Upon removal of the cap, disconnect the wires to the battery packs and place the cap in a
suitable location, which will protect the o-ring groove and threads from damage.
6. Ensure the o-ring seating surface on the housing is protected from mechanical damage while
the cap is removed.
51
SonTek/YSI
52
SonTek/YSI
For information only: The retaining ring is a Spirolox UR-575 Retaining Ring, and the vent plug
is a Parker 4 HP50N 316 Stainless Steel Plug.
53
SonTek/YSI
The ADP operates on 12-24 V DC input power. The exact power consumption varies with
system frequency and user operating parameters, but is typically in the range from 1.5-3 W (see
section 7.2). In sleep mode it consumes less than 1 mW. If the input voltage is less than 12 V,
the ADP will not operate reliably. A supply voltage greater than 24 V can damage the ADP
electronics. The ADP measures and stores the input voltage; this can be accessed from the direct
command interface (see section 3.10) and the binary data files (see the ADP Software Manual).
When running the ADP from batteries, keep track of battery capacity to prevent the loss of data
because of insufficient power. Note that the ADP internal recorder uses a solid state PCMCIA
card for data storage and will not be affected if the batteries are drained. See section 7.2 for
details about estimating power consumption and battery life.
The ADP also includes a backup battery (one lithium AA cell) to power the system clock when
main power is unavailable. Under normal operating conditions, this battery can be expected to
last for many years; however, we recommend replacing it every 2-3 years for safety. If the
backup battery dies, the system clock will reset when main power is disconnected. The
replacement battery should provide a minimum output voltage of 3.5 V.
Note that when the ADP power supply is cycled (turned off and on), it will enter whatever mode
it was in previously (command mode, data acquisition mode, deployment mode). If the ADP was
in sleep mode before cycling the input power, it will enter command mode. If the ADP was in
deployment mode, on power up the ADP will enter deployment mode and begin data collection
immediately (ignoring the start date and time settings). This is to avoid data loss in the event that
the ADP clock is reset (see section 3.2).
6.2.
The ADP has been designed for easy mounting and deployment. The following is general advice
to simplify deployment procedures and avoid instrument damage.
54
All acoustic transducers must be completely submerged during data collection. Operating
with the transducers out of water will not cause damage, but will result in meaningless data.
When mounting the ADP near underwater obstructions (bridges, piers, lines, cables, etc.) take
care that the acoustic beams will not see the obstructions. The ADP transducers generate
acoustic beams where the majority of the energy is concentrated in a cone only a few degrees
wide. The center axis of each beam is perpendicular to the face of the transducer; transducers
are slanted 25 from the vertical. Although these beams are very narrow, obstructions near
the beams may interfere with velocity measurements. Additionally, large obstructions will
cause significant flow interference, which can have a major impact on velocity data. In
general, we suggest that the ADP is deployed a distance of at least 2-3 times the water depth
from any major underwater obstructions.
With the exception of 2 beam systems (for horizontal profiling), the ADP is designed for
vertical profiling either looking up or down. Deployments resulting in non-vertical profiling
must be carefully considered, and are not encouraged.
SonTek/YSI
For most vertical profiling applications, the instrument should be as close to as level as
possible (ideally within 10). Although the tilt sensor can measure tilt angles to 50,
installation tilts of more than 15-20 may have a significant impact on velocity data.
The ADP supports three coordinate systems for velocity data: ENU (East-North-Up), XYZ, and
BEAM. The coordinate system setting is determined in the setup menu of the real-time software
(see the ADP Software Manual) or using the CoordSystem command from the direct command
interface (see section 3.7).
ENU (East-North-Up) coordinate system
For systems with the optional compass/tilt sensor, velocity can be recorded in ENU (East-NorthUp) coordinates. Using the ENU coordinate system allows the ADP to report velocity data
independent of instrument orientation (within limitations see SECTION 4).
Using the ENU coordinate system also allows the ADP to vector average samples within each
profile (using updated compass/tilt information); if ADP orientation changes during the
averaging interval, velocity data will still reflect the true water velocity. When using the XYZ or
BEAM coordinate system, velocity data can be corrupted if the ADP orientation changes during
the averaging interval. SonTek recommends using the ENU coordinate system except for
specialized applications by experienced users.
Whenever using the ENU coordinate system, or whenever recording data from the internal
compass/tilt sensor, be sure that the compass installation matches the hardware orientation
settings. See sections 4.2 and 5.5 for details.
ADP Operation Manual (March, 2001)
55
SonTek/YSI
The ADP supports RS232 and RS422 serial communication protocols. Switching between
RS232 and RS422 changes the electrical interface and has no effect on the command interface of
the ADV. The default setting is for RS232; this is the same protocol used by the standard serial
ports on PC-compatible computers and is considered reliable for cable lengths to about 100 m.
RS422 communication uses differential voltage signals to increase immunity to external noise.
This allows operation over longer cables; RS422 is considered reliable for cable lengths to
1500 m. RS232 to RS422 converters are available commercially and allow an ADP using RS422
communication to be connected to the RS232 serial port of a PC-compatible computer. One
supplier for this type of converter is shown below.
B&B Electronics
Phone (815) 434-0846
707 Payton Rd.
Fax (815) 434-7094
Ottawa, IL 61350 USA
Converted Part # 422COR, Power Supply Part # 422PS2
56
SonTek/YSI
Refer to section 5.7 for information on jumpers used to change the ADP serial communication
protocol.
6.5.
Temperature sensor
To measure temperature, the ADP uses a thermistor mounted on the inside of the transducer
head. For systems constructed from plastic, the thermistor is mounted in a counter-bore hole on
the inside of the transducer head very close to the exposed surface (to minimize the insulating
effects of the plastic). The temperature sensor has a specified accuracy of 0.1C, which is more
than sufficient for sound speed measurements (for details on the effects of sound speed, see the
ADP Principles of Operation). Temperature data are sampled once per second during the
averaging interval; mean and standard deviation of these samples are recorded with each profile.
Pressure sensor
If the optional strain gage pressure sensor is installed, it is mounted in a recessed hole on the top
transducer head. The pressure sensor is connected to a small printed circuit board mounted on
the back of the ADP processor (Stand-Alone ADP) or above the receiver board (Low Profile
ADP). Outputs from the pressure sensor board are connected to the temperature/pressure
connector on the ADP analog board (see sections 5.1 and 5.3 for details).
The pressure sensor is mounted in
Cross Section of ADP Transducer Head
the ADP transducer head as
Threaded
pictured in Figure 14. The sensor
Retaining Plug
is recessed and isolated from the
Diaphragm for
water (for corrosion protection)
Silicon Oil Reservoir
by a diaphragm and silicon oil
reservoir. The diaphragm is held
Pressure Sensor
with
Bore Seal O-Ring
in place by a plastic retaining
plug that screws into the end cap.
Sensor Wires
The pressure sensor forms a water
tight seal using a bore seal o-ring.
For added leak protection, the
Figure 14
path into the ADP housing is
filled with epoxy. Under normal
conditions, the user should not need to access the sensor directly. If you suspect problems, please
contact SonTek before trying to access the sensor.
Data from the pressure sensor is sampled by the ADP electronics using a 12-bit A/D converter.
Data is converted to a 2-byte integer scaling the A/D counts by 16 (giving a total count range of
0-65520, with a step size of 16 counts). Pressure data are stored in counts that must be converted
to physical units (decibar) using three calibration constants. Pressure in counts is converted to
decibar using the following formula.
dbar = PressOffset + (PressScale Counts) + (PressScale_2 (Counts2))
where
57
SonTek/YSI
Routine Maintenance
Under normal conditions, the ADP requires little maintenance for years of reliable performance.
Normal wear does not change performance and the instrument never requires re-calibration for
velocity data. This section discusses a number of routine maintenance procedures we suggest
following.
Zinc anodes
The ADP housing includes sacrificial zinc anodes for corrosion protection. Under normal
operating conditions, these anodes will last for several years. However, the lifetime of zinc
anodes is highly variable depending upon the deployment environment. Anodes should be
checked regularly - to check anode condition, scratch the anode with a screwdriver. If large
pieces of the anode can be removed, the anode should be replaced. The anodes are a standard
size that can be purchased through most marine supply stores. Please contact SonTek if you have
trouble locating replacement anodes.
Cleaning the transducers
Biological growth on the transducers does not affect velocity measurements, but can decrease
acoustic signal strength and reduce the effective profiling range of the ADP. Periodic cleaning of
the ADP transducers may be needed to maintain optimal performance in areas of high biological
activity.
High frequency ADP transducers (1.5 and 3.0 MHz) and encapsulated in an epoxy that is
impervious to damage from barnacles or other types of growth. To remove growth, simply clean
with a stiff (non-metallic) brush. The transducer epoxy is very durable and cannot be easily
damage except by direct impact.
58
SonTek/YSI
The 250 and 500-kHz ADP transducers are encapsulated in polyurethane (to increase efficiency
at the lower acoustic frequency). The polyurethane is softer than the epoxy used with higher
frequency transducers, and more susceptible to damage. Extended barnacle growth on the 250
and 500-kHz transducers can potentially cause serious transducer damage. Take care when
removing growth to avoid damage to the transducer. Carefully clean 250 and 500-kHz
transducers with a stiff (non-metallic) brush.
We recommend coating the transducers with anti-fouling paint for deployments in regions of
high biological activity (see section 6.8).
Cables
The underwater cables used with the ADP are often the most vulnerable portion of the system.
All standard SonTek cables use a durable polyurethane jacket that provides excellent long-term
wear and abrasion resistance. However, any underwater cable is susceptible to damage and
reasonable precautions should be taken. Inspect all ADP cables and connectors for damage on a
regular basis, and replace if necessary.
O-rings
All ADP housings use a dual (redundant) o-ring seal wherever possible. All SonTek o-ring seals
are designed for full ocean depth pressures, even if the housings and transducers have much
lower pressure ratings. The o-rings will provide faultless performance as long as care is taken
whenever the system is opened. Whenever the housing is opened, clean and inspect all o-rings
and o-ring surfaces; replace o-rings when necessary. While the system is open, protect o-ring
surfaces from scratches or other damage. Spare o-rings are included in the ADP tool kit.
Condensation in ADP Housings
Moisture in the air can potentially damage ADP electronics if it is allowed to condense inside the
ADP housing. To prevent this, all underwater housing include an internal desiccant pack to
absorb moisture. Whenever opening the ADP housing, take care to minimize the exposure of the
desiccant to humid air. If you suspect the desiccant has been exposed sufficiently to saturate,
replace the packet before closing the housing (spare desiccant is included in the ADP tool kit).
When possible, purge the housing with a dry, inert gas (Nitrogen, Argon) before closing.
6.7.
Trouble Shooting
This section provides some basic pointers for trouble shooting problems with the ADP, and
should be useful in establishing the exact cause of most typical problems. If you have trouble
finding the source of a problem with the ADP, please contact SonTek directly.
Cannot communicate with the ADP
If you are unable to establish communications with the ADP, the following list may help in
identifying the problem.
Power source - be sure that the power supply is providing between 12-24 V DC. When
power is first connected to the ADP, it should automatically wake up and enter the last mode
it was in (command mode, data acquisition mode, or deployment mode see sections 3.1
and 3.2). Measure the input current when power is applied it should typically be
50-200 mA. Try using an alternative power source if possible.
59
SonTek/YSI
Computer be certain that the computer serial port is functioning correctly; ports on some
laptop computers have been known to have problems. Try using another computer if
possible.
Communication parameters - be certain that the baud rate, communication serial port, and
other operating parameters match ADP settings (see SECTION 3).
Cable connections - be sure that all wiring to the ADP is securely connected and that each
connector is properly wired.
If the ADP software programs are unable to establish communications (ADPSA, COMPCAL,
SONREC), try direct communications using a terminal emulator (SONTERM). When power
is applied, see if the ADP will respond to a BREAK.
Fuse - there is an input power fuse on the top corner of the analog board (see section 5.3).
The fuse can be pulled directly from the socket on the board and tested for conductivity.
Spare fuses are included with the ADP tool kit.
Compass/tilt sensor
If you suspect a problem with the ADP compass/tilt sensor, follow the procedure outlined in
section 4.1 for a basic function test. Performing the test using both the output from the terminal
emulator and the compass calibration software. If problems with heading data are apparent,
perform a compass calibration and re-test compass function. A bad compass calibration can
cause a major distortion to the heading data. Whenever testing compass operation, be sure the
ADP is oriented properly based upon compass installation (up or down looking see
section 4.2).
Unreasonable velocity data
If the velocity data from the ADP does not appear reasonable, the following list may be helpful in
establishing the source of the problem.
60
Check the signal amplitude and signal to noise ratio (SNR) data. See the ADP Principles of
Operation for a description of the expected behavior of these data. Be sure that the data have
a sufficient SNR for reliable operation. Check that no large objects (structures, lines, fish,
etc.) are interfering with the ADP acoustic beams.
Check the standard deviation data. See the ADP Principles of Operation for a description of
the expected behavior of these data. Check that the standard deviation values are reasonable
based upon the values of averaging interval and cell size (see the ADP Principles of
Operation to calculate the expected standard deviation). Large standard deviation values
(with sufficient SNR levels) may be caused by motion of the deployment package. Look at
the compass/tilt sensor data to see if the system orientation shows large changes.
Look at the compass/tilt sensor data. In particular, look for large tilt values that may indicate
that the deployment package is not laying flat (or is even upside down). Also observe how
these values change with time to see if the deployment package is moving.
Consider any possible influences of the deployment environment. Common problems
include underwater structures, deployment lines and cables, and schools of fish attracted by
underwater moorings. Also consider possible nearby sources of flow interference (bridges,
piers, etc.) that might change the expected velocity signal. Areas of highly turbulent flow and
large amounts of submerged bubbles can also affect velocity data.
Look at the data from the temperature and pressure (if installed) sensors to see if the sensors
are reporting reasonable values.
ADP Operation Manual (March, 2001)
SonTek/YSI
Re-evaluate the deployment parameters (particularly cell size, number of cells, and all timing
parameters) to see if these might have had some unforeseen effect on ADP performance.
The software is being run from a DOS prompt within Windows rather that a dedicated DOS
environment. Memory resident features of Windows interfere with serial port operation. All
ADP software should be run from a dedicated DOS environment.
The data extraction baud rate is too high for reliable operation. This can be a function of the
length and quality of cables, the computer, and the operating environment (for external
sources of noise). Run SONREC using a lower extraction rate (see the ADP Software
Manual).
Some computers have poor quality serial ports and are unable to retrieve large amounts of
data at high baud rates. Run the data retrieval software using a lower extraction rate (see the
ADP Software Manual). If problem persists, use another computer if possible.
If you are still unable to retrieve data from the internal recorder using SONREC, establish direct
communications with the ADP and use the recorder commands to access data files directly (see
section 3.9). Check that the file size and number of profiles recorded is reasonable based upon
the deployment length and user setup parameters. Download the configuration and some portion
of the data manually to verify that all data are present.
Missing data from autonomous deployment
The ADP internal recorder was designed for extremely high reliability, and we have not had a
single recorder failure to date. The only data losses have occurred because of problems with the
ADP power supply. If you have a deployment that appears to be missing some data, look at the
date/time and battery voltage recorded with each profile. Check that these values are reasonable
based upon the type of power supply used and the length of the deployment. If you cannot
determine exactly what has occurred, place the data file (or a portion of it) on our FTP site and
contact SonTek directly (see SECTION 89). We will look at the data as soon as possible.
6.8.
The ADP has excellent resistance to biological fouling and can operate reliably even with
biological growth on the transducers. Biological growth causes a loss in signal strength
(reducing the signal to noise ratio (SNR)), but does not affect velocity measurements. The loss
of signal strength will act to reduce the maximum profiling range of the ADP.
Both the ADP transducers and the underwater housings can be coated with commercial antifouling paints to prevent biological growth. If applied properly, the paint will have no effect on
the instrument housing, although it can potentially decrease the lifetime of the sacrificial zinc
anodes. Thick layers of anti-fouling paint on the transducers will cause a decrease is acoustic
signal strength and will reduce the effective profiling range of the ADP. However, for most
applications the loss of signal strength caused by anti-fouling paint does not have a significant
effect on instrument performance (typical loss is 5-10% of maximum profiling range).
61
SonTek/YSI
Within the United States, we recommend using an anti-fouling paint called Interlux Tri-Lux II on
all areas except 250 and 500-kHz transducer (see below). This contains a biocide, a copper
derivative, which allows its use on all metals, including aluminum. For information on Interlux
paints, contact:
Courtaulds Coatings
2270 Morris Avenue
Union, NJ 07083 USA
Phone (908) 686-1300
Fax (908) 686-8545
Normal anti-fouling paints, which use cuprous oxide based biocides, cannot be applied on
aluminum as they cause galvanic corrosion. Outside the United States, anti-fouling paints
containing TBT can be applied on aluminum systems with a suitable primer. On plastic systems,
any type of anti-fouling paint can be used.
IMPORTANT: For 250 and 500-kHz transducers, use only an anti-fouling paint approved for
urethane transducers. These special types of paints are available from most marine supply stores.
One suitable paint is MDR Transducer Anti-Fouling Paint available from West Marine (contact
information is below).
West Marine
P.O. Box 50050
Watsonville, CA 95077-5050 USA
Phone (800) 538-0775 / (408) 728-4430
Fax (408) 728-4360
When painting metal housings, a suitable conversion layer must be applied to the metal for
adhesion and to isolate the metal from the anti-fouling paint. If the metal has been powder
coated (as the ADP transducers, head, and housing are), this acts as an excellent conversion
layer. If no powder coat is present, or if the powder coat has been damaged, we suggest
Interlux 360 Underwater Metal Primer. The primer should be applied to all exposed metal
surfaces except sacrificial zinc anodes. The primer should not be applied to the transducers, the
cable, or to areas where the powder coat is intact. Apply the anti-fouling paint to all surfaces of
the instrument that require protection. Follow the instructions on the paint container with the
following exceptions.
Apply only one coat of anti-fouling paint to the transducers. Each layer of paint will cause
some loss in signal strength and multiple layers can potentially affect system performance.
Ensure that the paint has a smooth, even surface with no air bubbles.
IMPORTANT: Do not paint the sacrificial zinc anode. Doing so will remove all corrosion
protection.
If anti-fouling protection is desired for some portion of the cable, the paint can be applied
directly to the polyurethane jacket without primer.
62
SonTek/YSI
The choice of ADP operating parameters depends upon the nature of the deployment and the goal
of the study. While many applications would prefer the finest possible spatial and temporal
resolution, this must be balanced with instrument performance, battery power limitations, and
data storage requirements. Some guidelines for selecting the most important ADP operating
parameters are given below. For more information about each parameter, see SECTION 3.
System parameters: output mode, output format, recorder, recorder mode
The settings of output mode (Auto/Polled) and output format (ASCII/Binary) are not important
for autonomous deployment, as they affect only the data output over the serial port and not data
stored to the internal recorder. The recorder setting (On/Off) only affects data collection initiated
with the Start command; all autonomous deployments should be initiated with the Deploy
command which will force the recorder On. The recorder mode setting (Normal/Buffer) is
typically Normal for autonomous deployments; the system stops recording data when the
recorder is full. Buffer mode, where the oldest data are overwritten when the recorder is full, is
typically selected when the recorder is acting as a data backup for real-time data installations.
Sound speed: temperature, salinity, and temperature mode
For most ADP deployments, temperature mode is set to Measured and the user-specified
temperature has no effect on instrument operation. User input salinity should be as accurate as is
practical; in regions with large variations, a mean value should be entered. A salinity error of
12 ppt results in a velocity error of 1%, so salinity variations typically have a minimal effect. If
precise temperature and salinity records are available, ADP velocity data can be easily corrected
for sound speed errors in post-processing (see ADP Principles of Operation).
Coordinate system
For most ADP deployments, the ENU (East-North-Up) coordinate system should be selected.
This allows the instrument to perform a vector average of velocity data during each averaging
interval. If ADP orientation changes, the mean profile reflects the true velocity and is not
contaminated by instrument motion. Other coordinate system settings (BEAM or XYZ) are
intended for experienced users in specialized applications.
Profile definition: blanking distance, cell size, and number of cells
For most ADP deployments, the blanking distance is left at the minimum (default) setting. Cell
size is chosen based upon the desired resolution, profiling range, averaging interval, and
accuracy. If the total water depth is near the maximum profiling range of the ADP, a larger cell
size uses a longer pulse and will give a longer effective profiling range. See the ADP Principles
of Operation for details on calculating the expected accuracy based upon the cell size and
averaging interval.
The number of cells selected is based upon the cell size and the expected profiling range.
SonTek recommends recording several cells beyond the expected end of the profile. This
ensures that all meaningful velocity data are recorded and provides useful diagnostic data for
post-processing. However, the number of cells should not be extended considerably beyond the
expected profiling range, as this will increase data storage requirements and can potentially
reduce the system pinging rate and increase the uncertainty in velocity data.
ADP Operation Manual (March, 2001)
63
SonTek/YSI
Power consumption
ADP power consumption varies primarily with acoustic frequency, cell size, and pinging rate. It
also varies slightly among systems of the same frequency using the same operating parameters.
Other factors that influence power consumption are mode of operation (e.g.; bottom-track on or
off), internal and external sensor use, and battery temperature.
The ADP ping rate can be adjusted using the ping interval parameter (see section 3.7). The
default setting of 0.0 seconds causes the ADP to ping as rapidly as possible (20, 9, 14, 6, and
2.5 Hz for the 3000, 1500, 1000, 500, and 250-kHz systems, respectively). Other settings set the
minimum time between pings; a setting of 0.5 seconds gives a ping rate of 2 Hz, while a setting
of 1.0 second gives a ping rate of 1 Hz. Settings less than 0.5 seconds are not used by the ADP
and will result in the maximum ping rate. Settings as high as 10.0 seconds are allowed (ping rate
0.1 Hz). However, we do not normally recommend settings higher than 1.0 second, as this can
cause aliasing if the ADP is deployed in a wave environment.
For most applications, we recommend using the maximum ping rate (ping interval 0.0 seconds).
The power savings achieved with a lower ping rate are offset by the loss of precision in velocity
data caused by the reduced number of samples. Other ping interval settings are for special
applications by experienced users. If you have any questions, please contact SonTek.
Typical power consumption values for all ADP frequencies (at two cell size settings and a
number of ping rates) are shown in the following table. When using ping interval to control
pinging rate, power consumption scales linearly with the ping rate.
64
SonTek/YSI
Frequency
(kHz)
3000
3000
1500
1500
1000
1000
500
500
250
250
Battery life
SonTek alkaline battery packs are wired for 18 V with a nominal capacity of 42 Ah; lithium
packs output 21.6 V with a nominal capacity of 84 Ah (see Appendix 2 for battery back
construction). When calculating battery life, we recommend using 80% of the nominal capacity
to allow for temperature variations (nominal capacities are at 20C) and a reasonable safety
margin. Thus alkaline and lithium packs have working capacities of (0.8 * 18 * 42 = 600 Wh)
and (0.8 * 21.6 V * 84 Ah = 1450 Wh), respectively.
Autonomous ADP systems hold three battery packs with a total capacity of 1800 and 4350 Wh
for alkaline and lithium batteries, respectively. Battery life for continuous operation is simply the
total capacity divided by the system power consumption. Thus a 1.5 MHz ADP with a 1.0 m
cell, using the maximum ping rate for a power consumption of 2.5 W, can operate continuously
for about 30 days on three alkaline battery packs.
For most applications, the ADP can use a reduced duty cycle to conserve battery power and
extend deployment length (refer to section 1.3 to calculate the duty cycle.) When not actively
collecting data, the ADP consumes less than 1 mW of power; battery life increases proportionally
with the duty cycle. A 50% duty cycle will double the battery life; a 10% duty cycle increases
battery life by a factor of 10.
With alkaline batteries, output voltage decays with use and can be an indicator of remaining
battery life. Battery voltage as measured by the ADP (see section 3.10) will typically start at a
level of about 17.4 V for new alkaline batteries. Alkaline battery packs typically stop working at
a measured voltage of about 14 V; capacity is roughly linear within this range. Thus alkaline
battery packs with a measured output voltage of 16 V can be estimated to have slightly more that
50% of the original capacity remaining. Note that these numbers are approximate only and will
vary considerably, particularly with the temperature of the deployment.
When using lithium batteries, the voltage remains relatively constant throughout battery life and
does not provide an indicator of remaining battery life.
65
SonTek/YSI
Data storage
The amount of data per profile is a function of the number of acoustic beam (2, 3, or 4) and the
number of depth cells recorded (1 to 100). The ADP profile header size is 82 bytes and the
profile size is:
PROFILE_SIZE = 82 + (N_BEAMS * N_CELLS * 4) (basic configuration)
FILE_SIZE = (N_PROFILES * PROFILE SIZE) + 416
The profile size will also vary if the ADP includes CTD/Bottom Track/SONWAVE options. For
more detail on data storage with optional features please refer to section 8.4.
The total file size is then the profile size multiplied by the number of profiles plus the file header
(416 bytes). The ADP recorder is available in sizes ranging from 10 to 80 Mbytes and can
accommodate a wide range of sampling strategies and deployment lengths.
The ADP recorder is divided into blocks of 64 Kbytes; only one data file can be written in each
block, although one data file may occupy multiple blocks. Thus the recorder has a maximum
number of files that can be stored based upon the recorder size (160 files for a recorder with
10 Mbytes capacity). If you record a large number of small data files (less than 64 Kbytes per
file), the recorder will fill before reaching the rated maximum capacity.
7.3.
Autonomous deployments are started from the ADP direct command interface using a terminal or
terminal emulator. The ADP software includes a DOS based terminal emulator called
SONTERM (see the ADP Software Manual). See SECTION 3 regarding the direct command
interface.
To start an autonomous deployment, establish direct communication with the ADP. There are
four Show commands that display all operating parameters.
Show Conf
Show System
Show Setup
Show Deploy
If you verify the settings of the parameters shown by the four commands above, you can be
confident of a successful deployment. Refer to section 3.12 for sample outputs of the Show
commands. Below is a list of recommended steps when starting an autonomous deployment.
These include redundant checks to verify all aspects of ADP operation.
1. IMPORTANT: Always perform the deployment procedure with the ADP connected to and
operating from the battery pack that will be used for deployment. Do not disconnect the
battery pack after initiating the deployment (see section 3.2 for details).
2. Prior to deployment, perform a compass calibration (see section 4.4). If practical, this should
be done with the system mounted in the deployment frame with batteries and other
instrumentation installed.
3. Record all communication with the ADP for future reference. This can be done using the
Alt+F option in SONTERM (see the ADP Software Manual).
66
SonTek/YSI
67
SonTek/YSI
The SONWAVE/SONWAVEPRO wave data collection packages allow the ADP to collect wave
height data, including the wave-frequency spectra. To facilitate wave measurements and reduce
demands on power and storage capacity of the ADP, SonTek implemented the following scheme
for pressure data collection. Beginning with firmware version 7.1 (February, 2001), commands
were added to process wave times-series data for pressure (P) and horizontal (UV) velocities.
When wave data collection is enabled, the ADP samples the pressure sensor at a specified rate
for a specified duration and stores raw pressure data in the recorder. You can choose how often
the pressure series needs to be collected: one pressure record every nth profiles (Figure 15).
When recording of pressure time series is enabled, the ADP records the mean and the standard
deviation of pressure over the averaging interval and stores them with the header information.
SonTek/YSI
Shortcut
H wave
S wave
RWS
WseriesRate
WseriesLength
WSR
WSL
WseriesType
OutPseriesMode
WST
OPM
Function
Help on wave data collection commands
Displays current setting of wave data collection
Enables wave data collection and specifies how often pressure
time series data is collected
Sampling rate for wave (P or PUVW) time series collection; Hz
Number of samples (128-4096) in wave series (P or PUVW).
Note: Wave series length in seconds equals WSL/WSR.
Selects the wave series type: P_SERIES or PUV_SERIES
Pseries acquisition mode; AUTO or POLL
S wave
This command displays the currently active wave parameter settings.
RWS <d >
This command controls collection/recording of the pressure series data. Given without argument,
RWS returns the current setting. When entered with a valid argument (d>0), the pressure data
will be collected every d profiles (note that the time between successive pressure records will be
dPRI, where PRI is profiling interval in s). If d=0 is specified, no pressure data is collected.
WSR <d>
This command specifies the sampling rate for the wave (P or PUVW) time series collection.
When given without argument, WSR returns the current sampling rate [Hz] for collecting wave
time series. When entered with a valid argument (1, 2, or 4 Hz), WSR sets the sampling rate.
WSL <d>
This command sets the length of the wave time series (in samples). When given without
argument, WSL returns the current length of the wave time series. The length of the wave series
in seconds equals WSL/WSR. When entered with a valid argument (128-4096 samples), WSL
sets the time series length. Because the SONWAVE wave extraction software uses 128-second
data segments, we recommend that WSL be a multiple of that number. For more accurate wave
parameter estimation, we also recommend a minimum wave series length of 1024 seconds.
However, you may choose smaller values if desired.
WST <P_SERIES / PUV_SERIES>
This command sets the wave series type. P_SERIES tells the system to collect pressure series
data only. PUV_SERIES tells the system to collect pressure, U, V, and W data.
OPM <AUTO/POLL>
Pressure series acquisition mode: AUTO or POLL. A POLL mode enables a user to request
wave data exactly when required.
ADP Operation Manual (March, 2001)
69
SonTek/YSI
32
DEFAULT
2000
2000
C23
2000
2000
1 1997 10 15 10 49 0 1 6 1 1 150
2000
2000
A wave Header is followed by a pressure time series (P_SERIES) consisting of WseriesLength 3byte unsigned integers. Each integer will contain:
For Strain-gauge, raw A/D converter counts
For Serial Paros, pressure in 0.001 dbars
For Druck, frequency in 0.001 Hz
If WseriesType (WST) is set to PUV_SERIES, the above-mentioned P_SERIES data is followed
by U, V, and W data consisting of WseriesLength 2-byte unsigned integers that contain:
U data in mm/s
V data in mm/s
W data in mm/s
8.1.3. Wave Data Conversion: GADPPRES, GADPPUV, and GADPWAVE
In order to extract wave information the following programs are provided:
If the name of any of these programs is entered by itself, the program will display information on
its usage and a description of the parameters that can be specified on the command line.
70
SonTek/YSI
Where
<ADP file > specifies name of the ADP raw data file without an extension (.adp is assumed).
This argument is mandatory.
<-Ooutput file> specifies name of the output data file without an extension (.pts is appended
for GADPPRES; .puv is appended for GADPPUV). This argument is optional, when omitted
the name of the input file is used.
<-Nfirst_series:last_series> allows to extract a portion of the data: first series and last series
specify the first and the last series to extract. If no series number is specified the program
extracts all profiles in the file.
The following example extracts pressure records from 21 to 100 from the file test001.adp, and
outputs data to file test001.pts (or test001.puv if GADPPUV is used).
GADPPRES test001 N21:100
<ADP file > specifies name of the ADP raw data file without an extension (.ADP is
assumed). This argument is mandatory.
<-Ooutput file> specifies name of the output data file without an extension (.WAV is
appended). This argument is optional, when omitted the name of the input file is used.
<-Nfirst_series:last_series> allows to extract a portion of the data: first series and last series
specify the first and the last series to extract. If no series number is specified the program
extracts all profiles in the file.
<-Dwaterdepth> Specifies the water depth at the deployment site. This parameter is necessary
for choosing the appropriate dispersion relation in wave spectra computations. If not given,
ADP depth (from mean pressure) is used. Water depth < 0 is interpreted as the height of the
71
SonTek/YSI
ADP above the bottom (height of the ADP within the mooring structure), and it is used
together with the mean pressure to determine the true water depth. Last option is most
commonly used when the exact depth of the site is unknown.
<-Pfilename> Druck or Frequency Paros calibration file. This is needed to convert the raw
frequency data to actual pressure. The program assumes the filename extension is .DRK
The following example extracts pressure records from 21 to 100 from the file test001.adp, and
outputs data to file test001.wav using a wave dispersion corresponding to water depth of 20 m;
uses calibration file 11845261 to convert raw frequency data to actual pressure from a
Druck/Paros pressure sensor.
GADPWAVE test001 D20 N21-100 P11845261
For each band the software computes the mean wave amplitude A, which is an integral of wave
contributions within the period range in the band. If Ai is the amplitude for band i, the total wave
energy is simply given by:
10
i =1
SONWAVE/SONWAVEPRO outputs the band amplitudes in cm for consistency with velocity data,
which are reported in cm/s. A generally accepted estimate of the significant wave height can be
easily obtained from the amplitudes using:
H mo = 4 Total energy
For a complete description of directional wave computations, refer to the SonWavePro
Application Note (SonWavePro.pdf) included in the ViewADPPro software directory.
72
SonTek/YSI
8.2.
In order to perform current surveys covering large areas vessel-mounted ADPs are often
employed. However an ADP profiling from the moving vessel or platform measures relative
current velocities that are comprised of the water velocity plus the motion of the vessel or
platform. Thus, it is important to independently measure the platform velocity so that it can be
subtracted from the raw velocity measurements to yield the residual absolute currents relative to
the fixed Earth. Understandably, it is desirable to perform these calculations in real-time.
SonTek now offers a Bottom Track option for ADPs that allows a user to get real-time vesselspeed over ground simultaneously with the current measurements without any external additional
hardware. While bottom tracking, the ADP measures the Doppler shift of reflected acoustic
energy (from the bottom of a river, harbor, etc.) to infer the vessel speed. In contrast, when an
ADP is current profiling, it is measuring acoustic reflections from suspended material in the
water column to determine the velocity of the water with respect to the ADP.
In bottom tracking mode the ADP determines bottom velocity once every second. At the end of
the averaging interval all these estimates are averaged for each beam stored together with the rest
of the profile data.
73
SonTek/YSI
Shortcut
BT
Function
Enables & disables Bottom Tracking mode, with or
without shallow water ping data.
BT <YES/NO/SW_PING>
This command enables & disables the Bottom Tracking mode. When this command is given
without argument, it returns the current setting. When entered with an input argument YES or
NO the Bottom Tracking will be enabled or disabled. Setting the argument to SW_PING tells the
system to enable Bottom Tracking and to also collect Shallow Water ping data.
221
771
0
220
350
0
220
100
0
0
115
1650 234
53
14
116
150
29
140 0
500
0
0
74
Line 1 (when BT=YES or SW_PING) Bottom track status (% good pings, indicating
quality of bottom tracking); vertical range to the bottom (in mm) for each beam, bottom
velocity (mm/s) for each beam.
Line 2 (only when BT=SW_PING) Shallow-Water (SW) ping pulse lag (mm); ambiguity
velocity corresponding to the pulse lag (velocity range) in mm/s; beginning position and
length (two values) of the SW cell (mm); remaining fields are spare diagnostic fields for
SonTeks in-house use.
Line 3 (only when BT=SW_PING) Range to the bottom for each beam (four values in
mm); velocity from the SW pulse for each beam (four values in mm/s); correlation from the
SW pulse for each beam (four values in %).
SonTek/YSI
GADPBT
GADPBT extracts the bottom track data recorded in the ADP file and outputs the data into an
ASCII file in a tabular form. Each record contains bottom track information corresponding to a
consecutive current profile. If the name of the program is entered by itself, the program will
display information on its usage and a description of the parameters that can be specified on the
command line. The command syntax is as follows.
GADPBT
GADPBT
GADPBT
GADPBT
<ADP
<ADP
<ADP
<ADP
file>
file> <output file>
file> <output file> <-Nfirst profile:last profile> <-Mmagdecl>
file> <output file> <-Mmagdecl> <-Ccoord system>
Where
<ADP file > specifies name of the ADP raw data file without an extension (.ADP is
assumed). This argument is mandatory.
<-Ooutput file> specifies name of the output data file without an extension (.BT is
appended). This argument is optional, when omitted the name of the input file is used.
<-Nfirst_series:last_series> allows to extract a portion of the data: first series and last series
specify the first and the last series to extract. If no series number is specified the program
extracts all profiles in the file.
<-Mddd.d> Magnetic declination in degrees. Default is MagDecl stored within the ADP data
file. (Note: only the real-time program allows the inclusion of magnetic declination).
<-Ccoord system> Change out put coordinates to XYZ or ENU. Default is to output data in
the coordinates they were collected.
Example:
GADPBT test1 -O\data\test1 M11.3 N21:100 -CENU
extracts bottom track data for profiles 21 to 100 from the file test1.adp, and outputs data to file
\data\test1.bt in ENU coordinates and uses 11.3 magnetic declination.
The extracted bottom track data are stored in a tabular format. The output file has a total of 9
columns, and 1 row for each profile is recorded. The table below describes the data.
Contents
Profile number
Bottom track status (percentage of good bottom track pings during profile average)
Vertical range to the bottom (depth) [in meters] as detected by each of the 3 beams
Velocity of the bottom with respect to the ADP (in either Beam, XYZ or ENU
coordinates) in cm/s
Notes:
Depth: Differences in range indicate either a non-flat bottom or that the ADP is tilted.
Velocity: Note: this is velocity of the bottom relative to ADP therefore it will normally be in
the opposite direction from the actual velocity of the boat.
ADP Operation Manual (March, 2001)
75
SonTek/YSI
8.3.
When using the ADP to collect wave data or shallow-water ping data, additional commands are
available that relate to the coherent pulse parameters. These commands are described in this
section and shown in the following table.
Special Parmeters for Collecting Wave Data and Shallow-Water Ping Data
CBD value
CCS value
CPG value
CPL value
MCL value
SCP
Because of the higher spatial resolution required for wave data and shallow-water ping data, the
ADP allows the use of smaller cell sizes and blanking distances.
CohPulseLag <d.dd> (short command CPG)
CPG sets the lag between the ambiguity resolution pulses (coarse velocity measurements). This
parameter will ultimately determine the maximum velocity range of the measurements. The ADP
transmits an ambiguity resolution pulse before each profile and collects one velocity
measurement in a single cell.
76
SonTek/YSI
This command displays the values of the parameters CPG, CPL, CCS, CBD, and MCL in
addition to the regular ADP setup (see Section 3.7). It will also display the maximum vertical and
horizontal velocities corresponding to the specified pulse lag.
77
SonTek/YSI
8.4.
The ADP can include a number of externally mounted, integrated sensors (the sensors connected
to the ADP using special interface cables). Two common sensors (the SeaBird MicroCat CTD
and the Paroscientific pressure sensor) are integrated using an RS232 serial interface. The Druck
resonance pressure sensor is integrated using a separate board. Other sensors (OBS, transmissometer, conductivity, etc.) are integrated using analog output voltages. Depending on the type of
sensor, it may receive input power from the ADP or it may use a separate power supply. For
details on available sensors and configurations, contact SonTek directly.
CTD Commands
Command
Help CTD
CTD
CTD CONT
CTD Talk
Shortcut
H/? CTD
(none)
(none)
(none)
Function
External CTD sensor commands
Display most recent CTD reading
Display continuous CTD readings
Direct serial communication with CTD
H CTD
Displays help on external CTD sensor commands.
CTD
Display most recent temperature (C), conductivity (Siemens per meter), pressure (decibar), and
salinity (ppt) data from the external CTD sensor. Data are output in a self-explanatory, ASCII
text format.
CTD CONT
Display most recent temperature (C), conductivity (Siemens per meter), pressure (decibar), and
salinity (ppt) data from the external CTD sensor. Data are output in a self-explanatory, ASCII
text format. Press any key to stop data output and return to command mode.
CTD Talk
Establish direct serial communication with the external CTD. A manual for the CTD sensor is
included; refer to this manual for more details on direct commands to the CTD. See section 8.2
for more details about the external CTD sensor. To return to command mode, type +++ or send
a BREAK to the ADP.
78
SonTek/YSI
468151
351354
8.5.
This section describes how to calculate the ADP recorder capacity taking into account the data
from the ADP optional features.
When SonWave is enabled,
the P_SERIES wave type of it extra PressureHeaderSize+WSL*3 bytes to each Nth profile;
and
the PUV_SERIES wave type adds PressureHeaderSize+WSL*9 bytes to each Nth profile.
Therefore, the profile size needs to be adjusted accordingly.
ADP Operation Manual (March, 2001)
79
SonTek/YSI
When the Bottom Track is enabled, 18 extra bytes are added to each profile. When a CTD is
installed, 16 extra bytes are added to each profile.
The equation for computing the data storage requirements needs to be modified as follows:
PROFILE_SIZE
= 82 + (N_BEAMS * N_CELLS * 4) +
16 (if CTD data is present) +
18 (if Bottom Track is enabled)
WAVESERIES_SIZE
WAVESERIES_SIZE
Where RWS is Record Wave Series parameter, determining how often the wave time series are
recorded.
80
SonTek/YSI
(858) 546-8327
(858) 546-8150
[email protected]
http://www.sontek.com
ftp://ftp.sontek.com/pub
See our web page for information concerning new products and software / firmware upgrades.
SonTek also maintains an FTP site for software upgrades and data exchanges. You can either
access the FTP site through our Web page or by an anonymous login to our FTP site at
ftp.sontek.com, use your email address as a password, and use the path /pub.
The FTP site includes a directory called incoming with external write privileges to accept
incoming files. Note there are no external read privileges for this directory, so you will not be
able to see the file after sending it to this directory. After sending the file, notify us by phone,
fax, or e-mail and we will look at the data file as soon as possible.
There are a number of other directories on the FTP site providing software upgrades,
demonstration software, and a variety of other information. In each directory is a file called
README that provides information on what information is available and where to find it.
81
SonTek/YSI
A1. Overview
The basic structure of an ADP binary file with N profiles is shown below. The size of each
profile is a function of the number of acoustic beams (NB can be 2, 3, or 4), the number of cells
recorded (NC can be 1 to 100), and whether the file includes CTD and/or GPS data.
File Header 416 bytes
Profile 1 (NB*NC*4 + 82 + 16
Btrack is enabled) +
Profile 2 (NB*NC*4 + 82 + 16
Btrack is enabled) +
...
Profile N (NB*NC*4 + 82 + 16
Btrack is enabled) +
The ADP file header consists of three binary structures in the following order.
ADP Sensor Configuration 96 bytes
ADP Operation Configuration 64 bytes
ADP User Setup Parameters 256 bytes
An ADP profile consists of three to five binary structures, depending upon whether CTD and/or
GPS data are present.
Profile Header
CTD Data
GPS Data
Bottom Track Data
Profile Data
SonWave Data
Profile CheckSum
80 bytes
16 bytes (if present)
40 bytes (if present)
18 bytes (if enabled)
(NB*NC*4) bytes
PSL*3+80 bytes (if enabled)
2 bytes
Each of the structures mentioned above are described in detail (using their C language
definitions) in the remainder of this appendix.
82
SonTek/YSI
Type
0x10
*/
Version
0x02
*/
Bytes in configuration
*/
Date created or modified */
Ver number of CPU firmware*/
Ver number of DSP firmware*/
Electronics board revision*/
0-3; 1-1.5; 2-750; 3-500; */
4-250;
*/
2 or 3 or 4
*/
0- 2 Beams; 1- 3 Beams
*/
2- 4 Beams, 1 Vertical
*/
3- 4 Beams, Janus
*/
in 0.1 deg
*/
0-down; 1-up; 2-side
*/
0-No;
1-Yes
*/
0-No;
1-Yes
*/
0-No;
1-Yes
*/
0-No;
1-Yes
*/
set to all 0s
*/
From Beam to XYZ veloc.
*/
Degress to East of North */
Nanobar per count
*/
Microbar
*/
if 1 ADP turns off after */
5 min idle in command mode*/
0-No;
1-Yes
*/
0-No;
1-Yes
*/
0-No;
1-Yes
*/
pico dbar per count^2
*/
set to all 0s
*/
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
Type
0x12
Version
0x01
Bytes in configuration
Date created or modified
0.1 deg C
0.1 ppt
0.1 m/s
# of depth cells in profile
in cm
in cm
in cm
(PC ver only)
0- User value 1- Measured
AvgInterval;
/* in s
ProfileInterval; /* in s
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
83
SonTek/YSI
unsigned
unsigned
unsigned
unsigned
int
int
int
int
PingInterval;
/* in 0.1 s
BurstMode;
/* 0-Disabled; 1-enabled
BurstInterval;
/* in s
ProfilesPerBurst;
char
char
char
char
char
CoordSystem;
OutMode;
OutFormat;
RecorderEnabled;
RecorderMode;
char
char
DateTimeType
char
char
char
DeploymentMode;
/* 0-Disabled; 1-enabled
DeploymentName[9]; /* Dir name in recorder
BeginDeploymentDateTime;
CommentLine1[60];
CommentLine2[60];
CommentLine3[60];
char
AutoSleep;
char
Spare[11];
} AdpUserSetupType;
/*
/*
/*
/*
/*
*/
*/
*/
0-Beam;
1-XYZ; 2-ENU
*/
0-Auto;
1-Polled
*/
0-Binary;
1-Ascii
*/
0-DISABLED; 1-ENABLED
*/
0-NORMAL MODE;1-BUFFER MODE*/
/* set to all 0s
*/
*/
*/
int
int
int
int
int
int
char
char
char
char
int
int
char
char
SyncChar;
/* 0xA5
*/
DataType;
/* 0x10
*/
Nbytes;
/* In profile header
*/
SerialNumber[10];
ProfileNumber; /* From start of data collection*/
ProfileTime;
/* At start of avg interval
*/
Nbeams;
/*
SensorOrientation;/*
TempMode;
/*
CoordSystem;
/*
Ncells;
/* #
CellSize;
/*
BlankDistance;
/*
AvgInterval;
/*
2/3/4
*/
0-down; 1-up; 2-side
*/
0-User value 1- Measured*/
0-Beam; 1-XYZ; 2-ENU
*/
of depth cells in profile*/
in cm
*/
in cm
*/
in s
*/
Npings;
MeanHeading;
MeanPitch;
MeanRoll;
MeanTemp;
MeanPress;
StdHeading;
StdPitch;
StdRoll;
StdTemp;
StdPress;
SoundSpeed;
Spare[2];
Status[20];
Averaged in profile
in 0.1 deg
in 0.1 deg
in 0.1 deg
in 0.01 deg
in counts (0-65535)
in 0.1 deg
in 0.1 deg
in 0.1 deg
in 0.1 deg
in counts
in 0.1 m/s
Reserved, set to 0
TroubleShooting data
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
SonTek/YSI
/* The 16th element in this array, Status[15],*/
/* is battery voltage in units of 0.2 V
*/
/* Thus a value of 98 gives 19.6 V
*/
} ProfileHdrType;
{
Temperature;
Conductivity;
Pressure;
Salinity;
/*
/*
/*
/*
0.0001
0.00001
0.001
0.0001
degrees C
*/
Siemens per m */
decibar
*/
ppt
*/
/*
/*
/*
/*
/*
/*
*/
*/
*/
*/
*/
*/
/* in 1 mm/s */
/* in 1 mm/s */
/* in counts */
SyncChar;
DataType;
Nbytes;
SerialNumber[10];
ProfileNumber;
ProfileTime;
/* 0xA5
/* 0x20
/* In profile header
int
SensorType;
int
PseriesRate;
/*
/*
/*
/*
*/
*/
*/
*/
*/
*/
*/
*/
*/
85
SonTek/YSI
int
PseriesLength;
char
PseriesRecorded;
char
unsigned int
unsigned int
/* 1024/2048/4096/9192 points
/* 0- No
/* 1- Pressure series follows this
/*
header. 3 bytes per point
WaveSpectraRecorded; /* 0- No
/* 1- Period bands computed
WaterDepth;
Aband[12];
char
Spare[20];
WaveHeaderType;
*/
*/
*/
*/
*/
*/
/* in cm
*/
/* 10 period-band amplitudes in
*/
/*
cm, followed by significant /
/*
wave height and mean period /
/* set to all 0s
*/
In this statement, "buffer" is a pointer to the memory location where the profile begins (i.e. the
name of the character array where the profile was placed). "ComputeCheckSum" adds the first
"Profile_Length-2" bytes starting at location buffer, then adds the value 0xA596. The result of
this summation is truncated to an unsigned two-byte integer and returned. The addition of the
value 0xA596 is done so that an all-zeros profile does not produce a valid CheckSum.
#define CHECK_SUM_OFFSET
0xA596
unsigned int ComputeCheckSum( unsigned char *buf, int n )
{
int i;
unsigned int ChkSum = CHECK_SUM_OFFSET;
for(i=0;i<n;i++) ChkSum += buf[i];
return(ChkSum);
}
86
SonTek/YSI
AvgInterval <d>
(short command AI)
In PC-ADP mode, AI can be set between 0.5 s (2-Hz sampling) and 3600 s.
CellSize and Blanking Distance <d.dd>
Because of higher spatial resolution, the PC-ADP allows the use of smaller cell sizes and
blanking distances when compared to a conventional ADP. Table B-1 summarizes the default
values for blanking distance, cell size, and number of cells for each PC-ADP acoustic frequency.
Blanking Distance
Range 0.02 - 5.0 m
Default 0.02 m
Range 0.05 - 10.0 m
Default 0.05 m
Range 0.20 30.0 m
Default 0.20 m
Cells Size
Range 0.01 2.0 m
Default 0.05 m
Range 0.02 - 4.0 m
Default 0.10 m
Range 0.20 - 12.0 m
Default 0.30 m
Number of Cells
Range 1 100
Default 12
Range 1 100
Default 20
Range 1 100
Default 25
(1)
where C is the speed of sound, f is the system frequency and is the time between the
consecutive pulses (pulse lag).
87
SonTek/YSI
Longer lags result in smaller velocity ranges but better accuracy according to Eq (1). As such, we
implement a dual-lag scheme where two pairs of pulses are transmitted, each at a different lag
(Figure B-1b). The first pair has a shorter lag and is used to determine an approximate magnitude
of the flow. The second pair, which has a longer lag, gives a more accurate velocity, which can
be subjected to velocity ambiguity. The velocity values obtained from the first lag are then used
to correct for the ambiguities that might arise. This technique results in more accuracy and is less
affected by ambiguity velocity data when compared with only one lag.
When the sampling parameters are entered, the system computes the sampling range SR which is
SR= BD+CS*NC (2)
If the specified pulse lag is smaller than the sampling range (PG<SR), the system issues a
warning message and sets SR=PG. Figure B-1 describes blanking, sampling, and profiling range.
ResPulseLag <d.dd> (short command RPG)
RPG sets the lag between the ambiguity resolution pulses (coarse velocity measurements). This
parameter will ultimately determine the maximum velocity range of the measurements. The PCADP transmits an ambiguity resolution pulse before each profile and collects one velocity
measurement in a single cell.
PulseLag <d.dd> (short command PG)
Sets lag between the pulses for the profiling. This parameter affects velocity accuracy of the
profile velocity measurements.
SonTek/YSI
Temp ----------- (deg C) Sal ------------ (ppt) --TempMode ----------------Sound Speed ---- (m/s) --CellSize ------- (m) ----BlankDistance -- (m) ----Ncells ------------------AvgInterval ---- (s) ----ProfileInterval- (s) ----CoordSystem --------------
20.00
34.50
USER
1520.90
0.05
0.15
30
1.0
1.0
BEAM
The following commands shows how to set up a PC-ADP in the pulse-coherent mode.
>PCMODE YES
This command tells the system to operate in PC mode and to initialize the default profiling
parameters with the values shown in Table B-1. After switching to PCMODE, set the desired
sampling parameters shown in Table B-2.
Other deployment parameters are set in the same way as for the regular ADP mode (see Section
3.8 for details).
To switch back to the standard ADP mode of operation use the command:
>PCMODE NO
The system will initialize the default profiling parameters with the values shown in Section 3.7.
ADP Operation Manual (March, 2001)
89
SonTek/YSI
CS value
NC value
PG value
AI value
PRI value
CY beam
Sets velocity coordinate system to beam; required for fast sampling with AI<10 s
savesetup
90
SonTek/YSI
After DEPLOY o, is executed the system goes to sleep until the start time.
At the beginning of each burst, the system transmits a boundary detection pulse (bottom
track) and determines the distance to the boundary for each beam.
The PC-ADP starts the profile data collection loop, which gathers data until the end of the
averaging interval is reached.
Profiles are collected until the Profiles Per Burst number of profiles are collected.
91
SonTek/YSI
Header The information contained in the profile header (first four lines) is described below.
Header 1 16
DEFAULT
Header 2 10
Header 3 0
Header 4 0
1 1995
15
10
0
3 29 31
86 3 0 0 0
22
0
0
7
0
7
0 152 245
15209
0
52
Header Line 1:
data type (internal use)
system serial number (c23)
profile number
6 values for profile time (year, month, day, hour, minute, second, 100th of a second)
number of beams (2, 3 or 4)
orientation (0=down, 1=up, 2=side)
temperature mode (0=user, 1=measured)
coordinate system (0=beam, 1=xyz, 2=enu)
Header Line 2:
number of cells
cell size (in cm)
blanking distance (in cm)
averaging interval (in 0.1 of a second)
number of pings in this profile
Header Line 3:
mean heading, pitch, and roll (in 0.1)
mean temperature (in 0.01C)
mean pressure (counts)
standard deviation of heading, pitch and roll (in 0.1)
std temperature (in 0.01)
std pressure (counts)
sound speed (in 0.1 m/s)
Header Line 4: This line contains system variables relating to internal system operation;
the last value on the line is measured battery voltage in units of 0.2 V (i.e.; 117 = 23.4 V).
PC-Record The information contained in the PC-Record (lines 5 and 6) is described below.
92
PC Rec 1 500
771
350
100
PC Rec 2 0
1650
53
234
14
150
29
500
0
SonTek/YSI
PC record Line 1:
Ambiguity resolution pulse lag in mm
Ambiguity velocity corresponding to the resolution lag (velocity range) in mm/s
Beginning position and length (2 values) of the resolution cell in mm
Profile pulse lag in mm
Ambiguity velocity in mm/s corresponding and to the profile lag
Beginning and length (2 values) of the profiling range in mm
PC record Line 2:
Range to the bottom for each beam (4 values) in mm
Velocity from the resolution pulse for each beam (4 values) in mm/s
Correlation from the resolution pulse for each beam (4 values) in %
20
17
19
Cell 2
-87
-45
-76
..
Cell 10 10
Column #
1
2
3
4
5
6
7
8
9
10
-5
After the profile is enabled, the following data may be output as well.
OPTIONAL CTD data (if present)
87514
468151
351354
1 1997 10 15 10 49 0 1 6 1 1 150
2000
2000
2000
The format of the CTD, Bottom Track and Pressure series is documented in the ADP Operations
Manual, Section 8.
ADP Operation Manual (March, 2001)
93
SonTek/YSI
File names must be given without extension. GADPPC generates an ASCII output file with the
extension .PC. The program assumes that the ADP file has extension .ADP. If no output file
name is specified, the program uses the same name as the binary data file. First profile and last
profile let you extract a subset of the data. If the profile range is not specified, the program
extracts all profiles in the file.
The ASCII tabular output file has one line per profile. There are no headers so that commercial
processing programs (Lotus, Matlab, etc.) can easily access the data. There are 20 columns of
data output in the header file. Table B-4 shows the contents and units of each column.
Profile Number
8-9
10-13
14-17
18-21
94
SonTek/YSI
The following sections describe the setup and operation sequence when the PC-ADP is used with
a LISST sensor.
B7.2.1. Download LISST Control Program
The HYDRA.TTB program will need to be loaded into the LISST-100. This needs be done
before connecting to the HYDRA/PCADP system. The loading is simply a transmission of the
ASCII characters to the LISST-100 with occasional pauses to allow the LISST-100 to process the
lines. The NEW command, (NEW <CR>), clears the current program from memory before the
new program is loaded. The LIST command can be used to print the currently loaded program to
the screen. TTOOLS program provided by Sequoia Scientific is best suited for this download.
Choose Load Program (Alt-L) option under Tattletale menu and choose HYDRA.TTB
file.
Attach the external sensor harness to the ADP electronics housing (8-pin male UW connector).
Connect the LISST-100 sensor to the serial cable on the harness using LISST-CTD adaptor cable.
The external cable harness is manufactured to accommodate the CTD sensor. Because the CTD
and the LISST are sharing the same serial port on the ADP and have a different pin out, an
adaptor cable is required to connect the LISST to the harness. Connect the external power source
to the LISST (if applicable).
Connect the ADP electronics to your computer and a power source using the ADP power and
communications cable. On your computer, establish communications with the ADP using
SONTERM. In SONTERM, enable the LISST sensor using the LISSTSENSORINSTALLED
ADP Operation Manual (March, 2001)
95
SonTek/YSI
command. Verify that both the PAROS and Microcat CTD serial sensors are disabled.
(PAROSFREQ is a frequency sensor and it can be operated simultaneously with the LISST).
Verify that you can communicate with the LISST via ADP COM port 1. To do this, issue the
ECHO 1 command at the ADP command prompt. In echo mode, you can send commands and
receive responses from the LISST sensor. To exit the echo mode send a break.
B7.2.3. Set Up PC-ADP for use with LISST
LISST data collection is only supported when the PC-ADP operates in burst mode. If burst mode
is not enabled, and the LISST sensor option is enabled, the data collection loop will not start. The
data collection sequence is as follows.
When the ADP detects the beginning of the burst interval, it tries to communicate with the LISST
sensor. If communication was successful, the ADP sends the number of samples (Profiles Per
Burst, PPB) and sampling rate (averaging interval) to the LISST along with a start data collection
request. The ADP then proceeds with its own burst data collection loop. At the end of the burst,
the ADP communicates with LISST and uploads the PPB samples. If the ADP was not able to
establish communication with the LISST at the beginning or at the end of the burst, PPB blank
samples are stored in the recorder to preserve the integrity of the ADP file. Note that the data
upload from the LISST needs to be completed before the next burst can be initiated; this
effectively increases the length of the burst. Make sure you allow for this extra time
(approximately 120 s for 1,200 LISST samples) when setting the burst interval.
To set the PC-DP for data collection with the LISST:
Set AI = PRI.
Initiate deployment by issuing a START or DEPLOY command. Note that if the ADP cannot
establish communication with the LISST after a START or DEPLOY command is issued, the
ADP will abort the data acquisition loop with an error message.
96
SonTek/YSI
97
SonTek/YSI
Notes:
1. Pulse Length This command is normally not set in a standard ADP. In a standard ADP,
CS=PL. However, in an L-ADP, this parameter can be manually set by the user for this
specialized application.
2. Number of Pings Per Beam This command sets the number of raw pings averaged
internally in the DSP (digital signal processor). This parameter is normally set by the
system automatically (if NPPB=0, system will calculate optimum). However, with an
L-ADP, the user can manually set this parameter.
3. With an L-ADP, both the PL and NPPB commands require the user to have extensive
knowledge of acoustic systems and the processing of the resulting data.
4. The standard mode of operation in an L-ADP is to acquire data as quickly as possible. As
such, the Averaging Interval (AI) and Profiling Interval (PRI) commands are disabled. Although you are able to change AI and PRI in the setup, the values are ignored by the
L-ADP during data collection. The rate at which the L-ADP outputs data can be controlled by the NPPB command. Although the rate at which the instrument profiles is
dependent on the number of cells (NC) and the cell size (CS), a 250-kHz L-ADP with a
standard setup will output approximately one profile per second when NPPB is set to 4
(averages 4 pings together in the DSP before storing the data).
In L-ADPs, CPU usage and data handling tasks are processor-intensive. As such, we recommend
that you turn off data output to the serial port. Turning off the serial port output lets the system
collect data faster. The command to turn off the port is: OM POLLED.
98
SonTek/YSI
Argument definitions:
DISABLE The ADP will operate independently and ping as quickly as possible.
MASTER The ADP will send a sync signal to any slaves just prior to starting a ping.
SLAVE The ADP will wait for a sync signal to arrive before starting a new ping.
The duration of a ping in the SLAVE must not be longer than the duration of a ping in the
MASTER. Therefore, in the case of a multi-frequency arrangement, we recommend that
the 250-kHz system be set as the master, and the 500-kHz system be set as the slave (i.e.;
the lower frequency system is the master and the higher frequency is the slave).
The sync protocol requires adding some delays in both the MASTER and the SLAVE so
that the pinging rate will be slower in this configuration (about 30% slower). If the
systems are working independently, they should be set to DISABLE so that they can
achieve maximum pinging rate.
NPPB should be set to 1 when using MASTER/SLAVE. The reason for this is that
synchronization occurs only at the first ping in a NPPB sequence.
When using synchronization, you should START the slave first, and then the master.
This will assure a one-to-one corresondence from ping number 1.
99
SonTek/YSI
below must be followed to ensure that the system continues to work properly. The following
procedures are for a typical charging scheme. It is important that the batteries are kept as close to
full-charged as much as possible to ensure good battery performance for many casts.
1. When disconnecting and re-connecting the L-ADP to the battery pack, be sure to perform the
connections in the following order:
Connecting: Connect the cable to the L-ADP before connecting it to the battery housing.
Disconnecting: Disconnect the cable from the battery housing before you disconnect it
from the L-ADP.
100
SonTek/YSI
6837 Nancy Ridge Drive, Suite A, San Diego, CA 92121 USA
Telephone (858) 546-8327 Fax (858) 546-8150
E-mail: [email protected] Internet: http://www.sontek.com
SonTek/YSI
ii
SonTek/YSI
INTRODUCTION
Thank you for buying an ADP from SonTek. Included with your ADP is Software Version 6.42
or later, which is designed to provide a powerful and flexible means to control instrument
operation and access data. All software is written for DOS on PC-compatible computers. The
software is intended to be easy to use, and it is our hope that the manual should be needed only as
a reference.
This manual is divided into the following sections.
Section 1 Software Summary
A listing of all programs supplied with Software Version 6.42 and their function.
Section 2 Real-Time Data Collection (ADPSA)
This program collects ADP data when connected directly to a PC-compatible computer. It
provides a menu driven format for selecting ADP operating parameters and a graphical display of
ADP data.
Section 3 Binary Data Conversion (GADP___)
These programs extract data from ADP binary data files into easily accessible ASCII files.
Section 4 Compass Calibration (COMPCAL)
This program calibrates the internal compass/tilt sensor to eliminate contamination from ambient
magnetic fields.
Section 5 Terminal Emulator (SONTERM)
This program is for direct communication with the ADP.
Section 6 Recorded Data Extraction (SONREC)
This program downloads ADP data files from the internal recorder.
Section 7 Additional Support
This section provides contact information for additional customer support.
Appendix A Automatic File Naming Convention
This appendix describes the file naming convention (based upon date and time) used when
automatic file recording is specified in the real-time data collection software.
Appendix B Correcting for Vessel Motion Using GPS Position Data
This appendix provides the algorithms to compensate ADP velocity data collected from a moving
vessel by calculating vessel speed from GPS position data.
iii
SonTek/YSI
TABLE OF CONTENTS
INTRODUCTION...................................................................................................................... iii
SECTION 1.
Software Summary.......................................................................................... 1
SECTION 2.
2.1.
Program Overview ........................................................................................................ 2
2.2.
Command Line Options ................................................................................................ 3
2.3.
Setting up Data Acquisition Parameters........................................................................ 5
2.3.2. User setup parameters ............................................................................................... 6
2.4.
Data Acquisition Display .............................................................................................. 9
2.4.1. Status Information ..................................................................................................... 9
2.4.2. Velocity Profile Data............................................................................................... 11
2.4.3. Control Keys............................................................................................................ 11
2.4.4. Integrated GPS Data................................................................................................ 12
2.5.
Considerations When Collecting GPS Data................................................................ 12
2.6.
Data Recording............................................................................................................ 14
2.7.
Associated Configuration and Log Files ..................................................................... 14
SECTION 3.
3.1.
3.2.
3.3.
3.4.
3.5.
SECTION 4.
SECTION 5.
SECTION 6.
SECTION 7.
SECTION 8.
Additional Support........................................................................................ 26
SonTek/YSI
README
ADPSA.EXE
COMPCAL.EXE
GADPAMP.EXE
GADPCTL.EXE
GADPGPS.EXE
GADPHDR.EXE
GADPSNR.EXE
GADPSTD.EXE
GADPVEL.EXE
MAGDEC
SONREC.EXE
SONTERM.EXE
Additionally, the diskette includes a directory called SOURCE. This directory contains source
code, written in C, for all ADP data conversion routines (the GADP___.EXE files). This code
allows the user to easily write their own software to access the ADP binary data files. The code
should be easily understandable to anyone with basic experience programming in C.
SonTek/YSI
2.1.
Program Overview
When run with no command line options, ADPSA will first try to communicate with the ADP on
COM1 at 9600 baud (different communication parameters can be specified using command line
options; see section 2.2). If communication is established, it downloads the current hardware and
user parameters and enters the setup screen.
If communication cannot be established, ADPSA loads the hardware configuration file specified
in the ASCII text file ADPSENS.DEF. ADPSENS.DEF is a text file with one line naming the
hardware configuration file to be used. For example, if ADPSENS.DEF contains the following
line:
ADP4050.SEN
this specifies the configuration file ADP4050.SEN for serial number 4050. The hardware
configuration file allows the user to enter the setup screen without being connected to the ADP.
When using these files, the program outputs a message that communications were not established
and then enters the setup screen. The hardware configuration file and ADPSENS.DEF are
included on the software diskette.
In the setup screen, the user can modify operating parameters, view hardware configuration and
performance estimates, specify a recording file name, and start data collection. When data
collection is started, the program sends all user settings to the ADP, enters the data acquisition
screen, and begins collecting data. Within the data acquisition screen, the user can modify the
graphical display without affecting data collection or recording.
IMPORTANT: At the start of data collection, the ADP internal clock is set to match the
computer clock. This time standard is applied on all recorded data.
2
SonTek/YSI
2.2.
Several command line options can alter the operation of ADPSA and change communication
settings. Options designated by a single letter (c, f, g, p, w) change the operation of the data
acquisition program; multiple-character options change how the program communicates with the
ADP.
The table below gives the command line options that can modify the operation of ADPSA.
Multiple command line options can be given in any combination. When more then one option is
selected, all options should be given together (i.e. ADPSA cg or ADPSA gp).
Command
ADPSA c
ADPSA f
ADPSA g
ADPSA p
ADPSA w
HOURLY
The first word specifies the path (C:\ADP\) for the data file and the first two characters (AA)
in the file name. The remainder of the file name is generated using the date and time (see
Appendix A). The second word on this line specifies the interval at which new data files are
created. This is either done at the start of each hour (HOURLY) or when the file reaches a
ADP Software Manual Version 6.42 (November 1, 2000)
SonTek/YSI
particular size (SIZE <kBytes>). For example, C:\ADP\AA SIZE 1400 will create a new file
each time the data file reaches 1400 kBytes.
Integrated GPS position data
Using the p command line option allows ADPSA to integrate GPS position data into the file.
See sections 2.5 and 3.5 for more information about using GPS position data to correct ADP
velocity data from a moving vessel. When using integrated GPS data, the user must create a oneline ASCII text file named GPSPORT.DEF to specify the format of the GPS data and the serial
communication parameters used. The basic format of this file is shown below.
<Message Format> <com port> <baud rate> <parity> <data bits> <stop bits>
Where
<Message Format> is the GPS message format being used. The ADP software will interpret
three different types of GPS data formats: $GPGXP and $GPGGA $GPGGK.
<com port> is the serial port number to which the GPS receiver is connected (1 for COM1 or
2 for COM2). This must be different than the port to which the ADP is connected.
NOTE: Default DOS/WINDOWS serial port COM1 and COM2 configuration be used:
COM1 Interrupt request (IRQ)- 04, Input/output range 03F8-03FF
COM2 Interrupt request (IRQ)- 03, Input/output range 02F8-02FF
Communication ports configured using different settings (even though designated as COM1
or COM2) will not operate.
<baud rate> is the baud rate setting of the GPS data. Acceptable baud rate settings are 4800,
9600 and 19200.
<parity> is the parity setting: N for no parity, O for odd, and E for even.
<data bits> is the number of data bits: 7 or 8.
<stop bits> is the number of stop bits: 1 or 2.
The following line is an example of the GPSPORT.DEF file when inputting GPS data in the
$GPGXP format on COM 2 at 4800 baud, no parity, 8 data bits, and 1 stop bit.
$GPGXP 2 4800 N 8 1
Integrating GPS data with the ADP data file provides an additional option in the data acquisition
screen of ADPSA. Velocity data can either be displayed relative to the ADP (without using the
GPS data) or absolute currents subtracting the vessel speed based upon GPS position data. See
Section 2.4 for more details.
Combinations of command line options
Many of the command line options shown above can be given in combination to increase the
flexibility of the data collection software. For example, the command ADPSA cg combines
the command file and auto start options. When this command is selected, the program will send
the commands specified in the ASCII file USERCONF.CMD to the ADP. It will then
immediately begin data collection with a recording file named based upon date and time. The
command ADPSA cgp adds integrated GPS position data to the above operation. Placing one
of these commands at the end of the AUTOEXEC.BAT file will automatically re-start data
collection in the event of a power failure.
4
SonTek/YSI
Communication settings
Using the default settings, ADPSA will communicate with the ADP on COM1 at 9600 baud. The
following options can modify the communication port settings.
COM1, COM2
BR1200, BR2400, BR4800, BR9600, BR19200, BR38400, BR57600, BR115200
For example, the following command will run ADPSA with automatic file recording using serial
port COM2 at 4800 baud.
ADPSA -f -COM2 -BR4800
The communication settings can be used individually or in combination with any of the other
command line options. Each communication option should be listed separately on the command
line as shown above; the order in which command line options appear is not important.
2.3.
Unless run with the -g command line option (automatic start), ADPSA enters the setup screen
after loading hardware and user configuration parameters. An example of this screen is shown in
Figure 1. The screen is divided into three areas. The top right corner shows the computer date
and time. The center right portion of the screen presents ADP hardware configuration
information and performance estimates based upon the current operating parameters. The left
side of the screen has a number of active windows to select operating parameters for the ADP.
Computer date/time
The computer date and time are shown in the upper right hand corner of the screen. It is
important to note that this is the date and time used for data collection by ADPSA. The ADP
internal clock is set to match the computer clock, and all data has a time stamp that matches the
computer clock.
Hardware configuration and performance estimate
Hardware configuration parameters are normally downloaded from the ADP. If the program is
unable to establish communication with the ADP, it will load the hardware configuration from
the file specified in the text file ADPSENS.DEF (see section 2.1). The first item under
hardware configuration (ADP Status) reflects whether the program was able to establish
communication with the ADP. Sensor serial number and system frequency are values that are
factory set for each ADP. Sensor orientation (for UP / DOWN / SIDE profiling) is set by a
hardware switch on the ADP electronics. Changing sensor orientation also requires the user to
modify the installation of the compass/tilt sensor; see the ADP Operation Manual for details.
Three parameters relating to ADP performance are calculated based upon the current hardware
and operating parameters. Upper and lower profile depths are calculated based upon cell size,
blanking distance, number of cells, sensor orientation, and sensor mounting depth. They
represent the lower edge of the lower cell and the upper edge of the upper cell, respectively. In
the data acquisition screen, velocity data are plotted based upon the location of the center of each
cell. Velocity precision is an estimate of the accuracy of the velocity measurements based upon
ADP Software Manual Version 6.42 (November 1, 2000)
SonTek/YSI
the cell size and averaging interval (the number of cells can also affect this value if it affects
pinging rate).
2.3.2. User setup parameters
The left portion of the setup screen displays a number of parameters that can be set by the user
for each deployment. To change these parameters, move through the items using the up/down
arrow keys (or page up/page down). Information about the highlighted parameter is displayed at
the bottom of the screen. The current item (highlighted) is changed or executed by pressing the
ENTER key. After pressing the ENTER key on a highlighted item, the user is prompted to enter a
new value for the parameter, or to choose from a set of acceptable values. If a parameter is
accidentally selected the user may recover by pressing the ESC key, leaving the parameter
unchanged.
A description of each item in the user setup menu is given below.
Water Temperature (C): (Enter value)
Temperature is required for calculating the speed of sound, which converts Doppler shift to water
velocity. The entered temperature may or may not be applied for sound speed calculations
depending upon the temperature mode setting (see below).
SonTek/YSI
SonTek/YSI
SonTek/YSI
After selecting "Start Data Acquisition" in the setup screen, the program displays the command
sequence for initializing the ADP, and then switches to the real-time display and the ADP begins
collecting data. Figure 2 shows an example of the data acquisition screen. The top of the screen
displays information on the status of data acquisition. The main portion of the screen provides a
graphical data display of ADP data. The bottom of the screen shows which keys are active during
data acquisition and the function of each.
2.4.1. Status Information
The status portion of the screen is updated with each profile; each block is described below.
Recording To File
This displays the path and name of the ADP data file. If recording is disabled, the words NOT
RECORDING are displayed.
File Size (kb) / Disk Space (kb) / Recording Time Left (h)
These fields will display information only if recording is enabled. File Size gives the current
size of the data file in kilobytes. Disk Space gives the amount of space left on the disk on
which the data file resides (also in kilobytes). Recording Time Left tells the user how many
hours of data can be collected at the present rate before the disk becomes full.
Start Time
This time is obtained from the computer clock (note that the ADP clock is set to match the PC
clock at the start of data collection) and represents the start of the first averaging interval.
Profile Time
This represents the time of the profile currently displayed on the screen (start of the averaging
interval).
Secs to Average
Indicates the time remaining (in seconds) in the current averaging interval.
Profile Number
This is the number of the last velocity profile collected and currently displayed.
Heading / Pitch / Roll
These fields present data from the optional compass/tilt sensor.
ADP Software Manual Version 6.42 (November 1, 2000)
SonTek/YSI
Temp (C)
Displays the most-recent data from the ADP temperature sensor.
Pressure (dB)
Displays the most-recent data from the optional ADP pressure sensor, in dBar. This field will
show 0 if the pressure sensor is not installed.
Bottom Track Display (if enabled)
Displays the most-recent bottom-track data: averaged depth (m), Veast and Vnorth (cm/s).
GPS Navigation Display (if present)
Displays the most-recent position (Lat & Long) and vessel spees (Veast and Vnorth (cm/s)).
Waves Display (if enabled)
Displays the most-recent wave data: Significant wave height (Hmo, cm) and wave peak period
(Tp, s).
External CTD Display (if present)
Displays the most-recent data acquired from an external CTD: temperature (C), conductivity
{Siemens), pressure {dbar) and salinity, (ppt).).
SonTek/YSI
(Yes/No)
11
SonTek/YSI
To stop data acquisition, the user must press the ALT and F10 keys simultaneously. After this is
done, the user is presented with a prompt (a Yes/No multiple-choice window) to confirm the
intention to stop the program. Data collection/recording proceeds normally until the confirmation
is given. Upon selecting Yes, the program returns to the setup screen. If the program was run
with the automatic start option (ADPSA -g), confirmation after ALT-F10 returns to the DOS
prompt.
F1 Change Vel Reference:
(Multiple-choice)
This allows the user to select how ADP velocity data are displayed. Relative to ADP gives the
raw velocity relative to the instrument. Relative to GPS uses the GPS calculated vessel speed
and the magnetic variation (from the setup menu) to determine the absolute water velocity,
independent of vessel motion.
If ADPSA has been run with the p option for integrated GPS data, there will be several minor
changes in the data acquisition screen. Several additional fields will be present in the status
portion of the screen, and one additional active key is enabled. Each of these is described below.
2.4.4. Integrated GPS Data
If ADPSA has been run with the p option for integrated GPS data, there will be several minor
changes in the data acquisition screen. Several additional fields will be present in the status
portion of the screen, and one additional active key is enabled. Each of these is described below.
Latitude / Longitude
These fields display the most-recent position information from the incoming GPS data.
Vessel Speed (knots)
These fields give the north-south and east-west vessel speed from the last profile, calculated
based upon GPS position data.
F1 Change Vel Reference:
(Multiple-choice)
This allows the user to select how ADP velocity data are displayed.
Relative to ADP gives the raw velocity relative to the instrument.
Relative to GPS (if present) uses the GPS calculated vessel speed and the magnetic variation
(from the setup menu) to determine the absolute water velocity, independent of vessel motion.
Relative to Bottom (if enabled) uses the Bottom Track speed and the magnetic variation (from
the setup menu) to determine the absolute water velocity, independent of vessel motion.
2.5.
Integration of GPS position with ADP velocity data allows the instrument to measure absolute
current profiles from a moving vessel. This is a very powerful capability, particularly for
performing rapid current surveys over a wide area. However, the user must be aware that
collecting data from a moving vessel is inherently more complex than from a stationary system.
Extra precautions are required to ensure good quality data. Several areas of concern are described
below.
12
SonTek/YSI
Positioning Data
The accuracy of the positioning data is an essential key to the success of moving boat data
collection. A good quality GPS receiver with accurate differential corrections should be used.
The accuracy of the positioning data directly determines the accuracy of the absolute velocity
profiles. For example, if the positioning data has an uncertainty of 2 m and an averaging
interval of 60 seconds is entered, the uncertainty of the vessel speed for each profile is about
6 cm/s. This uncertainty is reflected directly in the absolute current speed.
Compass Data
The quality of heading, pitch, and roll data is equally critical. The importance of accurate heading
is magnified because of the vessel motion. For example, if data are being collected from a boat
moving at 5 knots, a heading error of 2 translates into a cross-track velocity error of (5 knots *
sin(2) = 8 cm/s). Before starting data collection, perform a compass calibration with the ADP
mounted in the exact location and orientation that it will be in during data collection.
Additionally, limit vessel speed to reduce the effect of any heading errors.
Magnetic Variation
The value for magnetic variation entered in the setup menu rotates ADP velocity data from
magnetic East-North-Up coordinates to geographic East-North-Up. This is required since GPS
data yield vessel speed in geographic coordinates. The accuracy of magnetic variation therefore
affects the accuracy of absolute velocity data, with the same sensitivity as heading data discussed
above. In order to obtain up to date magnetic variation (declination) for your specific location use
utility MAGDECL provided with the ADP software package.
Operating Parameters: Cell Size and Averaging Interval
In moving boat applications, you will typically use a larger cell size than stationary applications.
There are several reasons for this: higher vertical resolution is not meaningful because of motion
of the vessel (heave, pitch, roll, and translation), larger cell sizes achieve lower instrument noise
in a short period of time, and the maximum profiling range of the system is typically important.
Recommended cell sizes for the different ADP frequencies are 0.5 m, 1.0 m, 1.0 m, 2.0 m, 4.0 m,
and 4.0 m for the 3000 kHz, 1500 kHz, 1000 kHz, 750 kHz, 500 kHz, and 250 kHz, respectively.
Moving boat velocity data typically require relatively large averaging times (5-10 minutes) to
reduce the effects of boat motion. However, for flexible post processing we recommend
recording data with a shorter averaging interval (1 minute) and performing the additional
averaging in post processing. This allows you to precisely define different segments of the data
(i.e. on station versus in motion) and gives the greatest flexibility in data analysis.
General Data Processing Concerns
As mentioned before, the user should be aware of the increased complexity of moving boat data
collection. SonTek is willing to provide support, guidance, and software to assist in collecting
and analyzing moving vessel ADP data. However, the user will also need to invest time in
understanding the different aspects of moving boat data collection and in developing the tools
needed for effective data analysis.
ADP Software Manual Version 6.42 (November 1, 2000)
13
SonTek/YSI
2.6.
Data Recording
ADP data are recorded in a standard binary file format; the same format is used whether data are
recorded using ADPSA or on the internal recorder. When data collection is started, the hardware
configuration and user operating parameters are stored in a file header structure. With each
profile, the system stores a binary record containing velocity, signal strength, standard deviation,
heading, pitch, roll, profile time, and a number of other parameters. All of the data contained in
these files can be accessed by the data conversion programs discussed in SECTION 3. The binary
file format is described in detail in the ADP Operation Manual.
When using ADPSA to collect data, the user has the option to also store data internally on the
ADP recorder. ADPSA does not affect any ADP settings that relate to the internal recorder; these
are left in the same state during data collection, as they were when ADPSA was started. The most
common reason to use the internal recorder while collecting data with ADPSA is for a backup in
case of computer malfunction or power loss. To do this, the user should use a terminal emulator
(i.e. SONTERM.EXE) to set the ADP recorder to ON and the recorder mode to BUFFER. In
BUFFER mode, the internal recorder will overwrite the oldest data currently on the recorder once
all available space has been filled.
2.7.
There are several configuration and log files associated with the operation of ADPSA.
ADPSA Associated Configuration and Log Files
File Name
ADPSA.LOG
ADPUSER.SET
DISPLAY.SET
ADPSENS.DEF
*.SEN
USERCONF.CMD
ADPFILE.DEF
GPSPORT.DEF
14
Function
Records all communication between computer and ADP in an
ASCII text file; this file is overwritten each time ADPSA is run.
Information recorded here can be useful when looking for errors in
data collection.
Records settings for all user parameters; overwritten each time
ADPSA is exited. This binary file is only used if the computer is
unable to communicate with the ADP upon start up.
This binary file records the most-recent graphics settings from data
acquisition mode.
This text file specifies which hardware configuration file is used if
needed (see section 2.1).
Hardware configuration file (see section 2.1).
This ASCII text file is used with the -c command line option (see
section 2.2).
This ASCII text file is for automatic file recording with the -f or -g
command line options (see section 2.2).
This ASCII text file is used with the p command line option (see
sections 2.2 and 2.5)
SonTek/YSI
GADPAMP
GADPCTL
GADPHDR
GADPSNR
GADPSTD
GADPVEL
The following program is used only if the ADP data files contain GPS position data collected
using the real-time data acquisition software (see section 2.5).
GADPGPS
The following programs are used only if the ADP data files contain corresponding optional data
collected using the real-time data acquisition software (see corresponding sections of Section 8 in
Operations Manual).
GADPCTD
Extracts CTD data.
GADPBT
Extracts Bottom Track data.
GADPPRESS Extracts Pressure Time Series.
GADPWAVE Extracts wave spectra.
If the name of any of these programs is entered by itself, the program will display information on
its usage and a description of the parameters that can be specified on the command line.
3.1.
GADPCTL extracts configuration and setup information from the binary data files. This includes
all header data recorded only once with each file. It is selected by entering either of the
commands below.
GADPCTL <ADP data file>
GADPCTL <ADP data file> <output file>
File names must be given without extension. The program assumes that the ADP data file has
extension .ADP and assigns the output data file the extension .CTL. For example,
GADPCTL TEST HEADER
will extract the configuration information from ADP binary data file TEST.ADP and place it into
an ASCII file named HEADER.CTL. If <output file> is not specified, the program will create an
15
SonTek/YSI
output file with the same name as the ADP data file (i.e. TEST.CTL). The information in the
.CTL file is in a self-explanatory ASCII text format.
3.2.
This program extracts the header information that is recorded with each velocity profile. This
information includes time, heading, pitch, roll, temperature, pressure, and sound speed. The file
will show 0 for any data where the optional sensor is not installed (i.e. compass or pressure
sensor). The command format is as follows.
GADPHDR <ADP file>
GADPHDR <ADP file> <output file>
GADPHDR <ADP file> <output file> <first profile> <last profile>
File names must be given without extension. GADPHDR generates an ASCII output file with the
extension .HDR. The program assumes that the ADP data file has extension .ADP. If no output
file name is specified, the program uses the same name as the binary data file. First profile and
last profile permit the user to extract a subset of the data. If they are not specified the program
extracts all profiles in the file.
The ASCII tabular output file has one line per profile. There are no headers so that commercial
processing programs (Lotus, Quattro Pro, Matlab, etc.) can easily access the data. There are 20
columns of data output in the header file; the table below shows the contents and units of each
column.
GADPHDR Tabular Data Output Format
Column
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
16
Contents
Profile number in file
Profile time (start of averaging interval ) - Year
Profile time (start of averaging interval ) - Month
Profile time (start of averaging interval ) - Day
Profile time (start of averaging interval ) - Hour
Profile time (start of averaging interval ) - Minute
Profile time (start of averaging interval ) - Second
Number of samples averaged for this profile
Sound speed to calculate velocity
Mean heading
Mean pitch (rotation about the Y axis)
Mean roll (rotation about the X axis)
Mean temperature
Mean pressure
Standard deviation of heading
Standard deviation of pitch
Standard deviation of roll
Standard deviation of temperature
Standard deviation of pressure
Instrument power supply voltage level
Units
m/s
degrees
degrees
degrees
C
dBar
degrees
degrees
degrees
C
dBar
V
SonTek/YSI
3.3.
These five programs extract different portions of the ADP profile data from the binary files:
signal strength (as the log of the return signal amplitude), signal to noise ratio (SNR), current
speed and direction, standard deviation, and velocity. Each program operates using under the
same command protocol.
GADP___ <ADP file>
GADP___ <ADP file> <output file>
GADP___ <ADP file> <output file> <first profile> <last profile>
File names must be given without extension. The programs assume that the ADP data file has
extension .ADP. If no output file name is specified, the programs use the same name as the
binary data file. Specifying the first and last profile permits the user to extract a subset of the
data. If they are not specified, the programs extract all profiles in the file.
Each program generates several multiple ASCII tabular data files. The output files generated by
each program are listed below.
GADPAMP creates files with extension ".A1", ".A2", and ".A3" corresponding to signal
strength for beams 1, 2, and 3, respectively.
GADPSNR creates files with extension ".SN1", ".SN2", and ".SN3" corresponding to SNR
for beams 1, 2, and 3, respectively.
GADPSTD creates files with extensions ".SD1", ".SD2", and ".SD3" corresponding to the
standard deviation of velocity components based upon the coordinate system selected
(Beams 1, 2, and 3 / Vx, Vy, and Vz / VEast, VNorth, and VUp).
These programs generate tabular data files with one line per profile. The first value in each line is
the profile number within the data file. This is followed by the measurement at each depth cell in
the profile, starting with cell 1 (closest to the transducer). The range from the instrument to the
center of each cell is given in the ASCII file generated by GADPCTL. This range can also be
calculated by the following formula.
Range = Blanking_Distance + (Cell_Number*Cell_Size)
The units for each of these programs are shown in the table below.
Profile Data Units
Program
GADPAMP
GADPSNR
GADPSTD
GADPVEL
Units
counts (see explanation below)
decibels (dB) (see explanation below)
cm/s
cm/s (degrees clockwise from Y-axis (XYZ coordinates)) or
(degrees from magnetic north (ENU coordinates)) for direction
For signal strength data, GADPAMP uses internal ADP units called counts; one count equals
0.43 dB. GADPSNR extracts the signal to noise ratio of the ADP. This is the signal strength
minus the system noise level, converted to dB. SNR (Signal-to-noise ratio) data determines
maximum profiling range (see ADP Principles of Operation).
ADP Software Manual Version 6.42 (November 1, 2000)
17
SonTek/YSI
If ADP signal strength is being used to estimate sediment concentration, raw signal strength data
from GADPAMP should be used rather than SNR, since the latter includes information about the
instrument noise level, which may change with time. Further references on the use of ADP data
for monitoring sediment concentration are available upon request.
For more information about how to use each type of ADP data, see the ADP Principles of
Operation.
3.4.
This program extracts velocity data from an ADP data file and writes them to an ASCII file in
tabular format. GADPVEL creates files with extensions ".V1", ".V2", and ".V3" corresponding
to velocity components based upon the coordinate system selected (Beams 1, 2, and 3 / Vx, Vy,
and Vz / VEast, VNorth, and VUp). The command syntax is as follows.
GADPGPS <ADP file> [options]
where:
<ADP data file> is the name of an ADP binary data file (no extension).
[options]
<-Oname>
<-Nj:k>
<-Mddd.d>
Magnetic declination. Default is MagDecl stored with data. (Note: only the
real-time program allows the inclusion of magnetic declination).
<-Ccoordsys>
<-AAbsVel>
Convert to absolute velocities relative to GPS (-AGPS) or to bottom (ABOT). Default is to output velocities relative to ADP. Note: Absolute
velocities relative to GPS can only be used in the ENU system.
<-SPDR>
File names must be given without extension. The program assumes that the ADP data file has
extension .ADP. If no output file name is specified, the program uses the same name as the ADP
data file. Specifying the first and last profile permits the user to extract a subset of the data. If
they are not specified, the program extracts all profiles in the file.
Example:
GADPVEL
test1
will extract velocity profiles 1 to 200, from file test1 and output velocity relative to GPS into a
file \data\test1 using magnetic variation of 11.3, in ENU coordinates.
18
SonTek/YSI
3.5.
The program provide access to the GPS position data recorded when the real-time data collection
software is run with the ADPSA p option (see sections 2.2 and 2.5 for details). Each record
extracted contains the profile number, and the universal time, latitude and longitude for the first
and last GPS message during an averaging interval. This program can only be used if GPS
position data are included in the file. The command format is as follows.
GADPGPS <ADP file> [options]
where:
<ADP File> is the name of an ADP binary data file (no extension).
<-Oname> Name of output file (no extension). Defaults to input file name.
File names must be given without extension. The program assumes that the ADP data file has
extension .ADP. If no output file name is specified, the program uses the same name as the ADP
data file. Specifying the first and last profile permits the user to extract a subset of the data. If
they are not specified, the program extracts all profiles in the file.
Example:
GADPGPS
test1
-O\data\test1 -N1:200
Will extract GPS data for the profiles 1 to 200, from file test1 and output data into a file
\data\test1.
GADPGPS generates one ASCII output file with the extension .GPS. The ASCII tabular output
file has one line per profile with 7 columns of data as described in the table below.
GADPGPS Tabular Data Output Format
Column
1
2
3
4
5
6
7
8
9
10
11
Contents
Profile number in file
UTC time from start of profile (seconds from January 1, 1980, 00:00:00)
GPS Latitude from start of profile (positive for degrees North)
GPS Longitude from start of profile (positive for degrees East)
UTC time from end of profile (seconds from January 1, 1980, 00:00:00)
GPS Latitude from end of profile (positive for degrees North)
GPS Longitude from end of profile (positive for degrees East)
GPS East Velocity
GPS West Velocity
GPS Velocity Magnitude
GPS Velocity Direction
19
SonTek/YSI
where
<com port> is the serial port number to which the ADP is connected (1 for COM1 or 2 for
COM2).
<baud rate> is the communication baud rate setting of the ADP; if no value is given, the
program assumes the default setting of 9600 baud. Acceptable baud rate settings are 1200,
2400, 4800, 9600, 19200, 38400, 57600, and 115200.
Once started, the program shows a graphical display of compass orientation. At this point, the
compass is not in calibration mode; it is in a monitoring mode where orientation data is output in
real time. The graphical display provides three perspectives. To the right is a compass that
indicates the direction the X-axis is pointing. To the left are tabular and graphical displays of
pitch and roll. In the center is a 3D box with an X on the side corresponding to north. When this
side is facing into the screen, the instrument X-axis is facing north.
To begin the calibration, press the F1 key. The program will pause to put the compass in
calibration mode; following this, the display will resume and the program provides instructions
for instrument rotation at the bottom of the screen. Rotate the instrument slowly through two
complete circles, while varying the pitch and roll as much as possible. Each turn should take
about one minute; the exact starting and ending orientations are not important.
To end the calibration, either press the F1 key again (to remain in the graphical display) or press
the ESC key to exit with the calibration results. Pressing ESC at any time during this program
will exit the program and display the results of the most-recent calibration. Refer to the ADP
Operation Manual for more information about compass calibration and for information on how to
interpret the calibration score.
20
SonTek/YSI
where:
Example:
MAGDECL
Since magnetic variation is not only a function of the exact position but also the time it is advised
that the user obtains an up to date magnetic variation before setting up a deployment. Although
the Earth magnetic field slowly changes, for most latitudes (away from poles) the rate of change
is very small so a few days, or even months, only cause a fraction of a degree change.
21
SonTek/YSI
ALT+F
ALT+C
ALT+S
ALT+X
Function
Sends a BREAK over the serial port. This involves holding the computer
transmit data line high for a period of 500 milliseconds. The BREAK causes the
ADP to terminate any operations (or exit the sleep mode) and enter the
command mode.
Open or close a log file. If no log file is currently open, the program prompts the
user to enter a file name; everything that appears on the screen will be written to
this file. If a log file is currently open, this function closes the file. When
SONTERM is first started, no log file is used. Confirmation is required before
the program will overwrite an existing log file.
Loads commands from an ASCII file. The user is prompted to enter the file
name. The file specified should be an ASCII text file with each line containing
one command for the ADP. The program reads the commands from the
specified file and sends them in order to the ADP. This is useful to ensure that a
precise series of commands are sent to the ADP.
Set communication parameters, such as serial port number and baud rate. Refer
to the table below for details.
Exit the program.
To change communication parameters within SONTERM, press ALT+S. This gives a menu
with a number of active keys to set the communication port, baud rate, parity, number of data
bits, and number of stop bits. The default baud rate is 9600 baud; this can be changed using
hardware switches in the ADP processor (refer to the ADP Operation Manual). The fixed
communication parameters are no parity, 8 data bits, and 2 stop bits; these are the default settings
in SONTERM. The table below shows the active keys to set all available values for these
22
SonTek/YSI
parameters. When the desired parameters have been set, press ESC to return to normal
SONTERM operation. The most-recent parameter settings are saved to the computer hard disk
and used when running SONTERM.
Changing Communication Parameters (ALT+S)
Parameter
Communication port
Baud rate
Parity
Data bits
Stop bits
Defaults
23
SonTek/YSI
where
<com port> is the serial port number to which the ADP is connected (1 for COM1 or 2 for
COM2).
<baud rate> is the communication baud rate setting of the ADP; if no value is given, the
program assumes the default setting of 9600 baud. Acceptable baud rate settings are 1200,
2400, 4800, 9600, 19200, 38400, 57600, and 115200.
<extraction rate> is the baud rate at which data files will be retrieved from the recorder; if no
value is given, it uses the default setting of 115200 baud. Acceptable extraction rate values
are 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200.
For example, the command SONREC 1 9600 38400 will establish communication with the
ADP on COM1 at 9600 baud and download data files using 38400 baud.
For short cables (less than 30 m), the default extraction rate of 115200 baud provides the fastest
downloading time. For longer cables, a slower baud rate may be needed to ensure reliable
communication (if you are regularly downloading large files on a long cable, it may be
worthwhile to switch the ADP to RS422 serial communication). If SONREC encounters a large
number of communication errors while retrieving data, it will terminate the retrieval. Note that
some computers (particularly older laptop computers) do not operate reliably at high baud rates
and may not be able to work using the default setting of 115200. If you encounter problems with
SONREC, run the program using a lower extraction rate.
The table below shows the typical download rates achieved with different baud rate settings.
Extraction rates slower than 9600 baud are rarely needed and are not shown here.
Extraction rate
115200
57600
38400
19200
9600
24
SonTek/YSI
Upon execution, SONREC wakes the ADP and establishes a direct link to the recorder at the
specified extraction rate. The program then downloads the directory of files stored on the
recorder and displays this information on the screen. The directory screen shows the following
information.
Within SONREC, move between files in the directory using the up/down arrow and page
up/down keys. The SPACE BAR will mark and unmark one or more files for retrieval. Pressing
F3 retrieves all currently marked files. The program prompts you to enter a destination path for
the files; if no path is given, the current directory is selected. While retrieving data files, the
program provides ongoing information about progress with each file.
SONREC transmits data from the recorder in blocks, each of which includes a checksum for
reliable data transmission. If the checksum fails, the program will attempt to transmit the same
block again. If the program encounters a large number of errors during retrieval, it will abort the
process. Try running the program again at a lower data extraction rate.
Pressing the DEL key will format the recorder and delete all data files. Before the files are
deleted, the user is prompted to enter the complete word Yes for confirmation. Be certain that
all data are backed up before erasing the recorder. Data cannot be recovered after formatting the
recorder. Pressing ESC will exit the program.
Data files extracted from the ADP recorder are assigned the extension .ADP.
25
SonTek/YSI
(858) 546-8327
(858) 546-8150
[email protected]
http://www.sontek.com
See our web page for information concerning new products and software / firmware upgrades.
SonTek also maintains an FTP site for software upgrades and data exchanges. To access the FTP
site, login anonymously to ftp.sontek.com, use your e-mail address as a password, and use the
path /pub.
The FTP site includes a directory called incoming, which has external write privileges and will
accept incoming files. Note that there are no external read privileges for this directory, so you
will not be able to view this file after sending it to this directory. After sending the file, notify us
by phone, fax, or e-mail and we will look at the data as soon as possible.
There are a number of other directories on the FTP site providing upgrades, demonstration
software, and a variety of other information. In each directory there is a file called 0README
that provides information on what information is available and where to find it.
26
SonTek/YSI
4 = April
5 = May
6 = June
7 = July
8 = August
9 = September
A = October
B = November
C = December
Day
1=1
2=2
3=3
4=4
5=5
6=6
7=7
8=8
9=9
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15
G = 16
H = 17
I = 18
J = 19
K = 20
L = 21
M = 22
N = 23
O = 24
P = 25
Q = 26
R = 27
S = 28
T = 29
U = 30
V = 31
3=3
4=4
5=5
6=6
7=7
8=8
9=9
A = 10
B = 11
C = 12
D = 13
E = 14
F = 15
G = 16
H = 17
I = 18
J = 19
K = 20
L = 21
M = 22
N = 23
Hour
0=0
1=1
2=2
27
SonTek/YSI
ADP velocity data (relative to the instrument) is compensated for vessel speed using the
following steps.
Rotate ADP velocity data from magnetic East-North to geographic East-North using the
magnetic variation.
Subtract vessel speed from ADP velocity.
The following C language code performs these steps. This is included (in a slightly different
format) with the ADP software as part of the data conversion software source code.
typedef struct
{
long
Utc;
double Lat;
double Lon;
} GpsPosType;
GpsPosType
GpsPosType
float
float
StartGpsPos;
EndGpsPos;
GpsVnorth;
GpsVeast;
/*===========================================================*/
/* LlhXyz
*/
/* Given the lat, lon and height of point on earth this
*/
/* function computes the earth centered coordinates for
*/
/* that point.
*/
/* Notes: Heights must be in m. x,y,z are returned in m
*/
/*
*/
#define dtr
0.1745329251994330E-1 /* Degrees to radians
*/
28
SonTek/YSI
#define Ae
#define Flat
6378137.0
0.0033528107
= dtr*Lat;
= dtr*Lon;
= cos(rlat);
= sin(rlat);
= cos(rlon);
= sin(rlon);
Ae/sqrt(1 - (2 - Flat)*Flat*slat*slat);
g1*(1 - Flat)*(1 - Flat) + Height;
(g1 + Height)*clat;
xyz[0] = g3*clon;
xyz[1] = g3*slon;
xyz[2] = g2*slat;
}
/*===========================================================*/
/*
XyzToEnu
*/
/* Given a vector in the earth centered, earth fixed
*/
/* coordinate system, and a position lat/lon on the surface */
/* of the Earth, this funtion will compute the components
*/
/* of that vector in the local East/North/Up system.
*/
/*
*/
void XyzToEnu(double Lat, double Lon, double xyz[], double Enu[])
{
double rlat, rlon, clat, slat, clon, slon;
rlat =
rlon =
clat =
slat =
clon =
slon =
Enu[0]
Enu[1]
Enu[2]
DegToRad(Lat);
DegToRad(Lon);
cos(rlat);
sin(rlat);
cos(rlon);
sin(rlon);
= -xyz[0]*slon +
xyz[1]*clon;
= -xyz[0]*slat*clon - xyz[1]*slat*slon + xyz[2]*clat;
= xyz[0]*clat*clon + xyz[1]*clat*slon + xyz[2]*slat;
}
/*===========================================================*/
void ComputeGpsVel( void )
{
int i,j,k,l,m,n;
double dxyz[3], denu[3], dt;
double xyz0[3], xyz1[3];
LlhXyz(StartGpsPos.Lat, StartGpsPos.Lon, 0.0, xyz0 );
LlhXyz(EndGpsPos.Lat,
EndGpsPos.Lon,
0.0, xyz1 );
for(i=0;i<3;i++) dxyz[i] = xyz1[i] - xyz0[i];
XyzToEnu(StartGpsPos.Lat, StartGpsPos.Lon, dxyz, denu);
dt = EndGpsPos.Utc - StartGpsPos.Utc;
if(dt < 0) dt += 604800.0;
/* correct for week crossover */
if(dt >= 1)
{
GpsVeast = denu[0] / dt;
ADP Software Manual Version 6.42 (November 1, 2000)
29
SonTek/YSI
GpsVnorth = denu[1] / dt;
}
}
/*===========================================================*/
void ComputeAbsVelocities(void)
{
int i,j,k,l,m;
float ar, ca, sa;
int nbins = AdpUser.Ncells;
/* convert magnetic variation (east of north) to radians */
ar = DegToRad(DisplaySetup.MagneticVariation);
ca = cos(ar);
sa = sin(ar);
/* correct velocity in all bins
*/
for(i=0; i < nbins; i++)
{
/* ADP velocity is rotated for magnetic variation
*/
/* Prf.Vel[0][i] is magnetic east, Prf.Vel[1][i] is north*/
/* vertical velocity (Prf.Vel[2][i]) is not affected
*/
/* recall that velocity is stored as mm/s
*/
AbsVel[i][0] = ca*Prf.Vel[0][i] + sa*Prf.Vel[1][i] + 1000*GpsVeast;
AbsVel[i][1] =-sa*Prf.Vel[0][i] + ca*Prf.Vel[1][i] + 1000*GpsVnorth;
AbsVel[i][2] = Prf.Vel[2][i];
}
}
30
Introduction.......................................................................................................................... 3
2.
3.
4.
5.
6.
7.
Special Considerations....................................................................................................... 18
7.1. Moving-Boat Operation .................................................................................................. 18
7.2. River Discharge Measurements....................................................................................... 18
7.3. Near-Boundary Data Collection ...................................................................................... 19
7.4. Sound Speed.................................................................................................................... 21
7.4.1. Stratified Flow......................................................................................................... 22
7.5. Horizontal Current Profiling ........................................................................................... 23
7.6. External Sensor Integration ............................................................................................. 24
7.6.1. Pressure Sensor Surface Level and Wave Spectra ............................................... 24
7.6.2. SeaBird MicroCat CTD........................................................................................... 25
7.6.3. Analog Sensors........................................................................................................ 25
Index ........................................................................................................................................... 27
ADP (Acoustic Doppler Profiler) is a registered trademark of SonTek/YSI, Inc.
SonTek
SonTek
1. Introduction
The SonTek Acoustic Doppler Profiler (ADP) belongs to a group of instruments known as
acoustic Doppler current profilers (ADCPs).
Since the 1980s, ADCPs have become established as the preferred method for measuring
currents in the open ocean.
Since its introduction in 1994, the ADP has expanded the use of ADCPs into shallow
water applications.
The ADP is the first ADCP designed specifically for shallow-water applications, reducing
cost and improving performance for coastal areas, estuaries, lakes, and rivers.
This document presents the operating principles of the ADP. It does not attempt to provide a
detailed discussion of all technical issues, nor a detailed description of ADP operation. To learn
more about specific applications, please contact SonTek.
SonTek
If a source of sound is moving relative to the receiver, the frequency of the sound at the
receiver is shifted from the transmit frequency.
For Doppler current meters, we look at the reflection of sound from particles in the water.
The change in frequency is proportional to the velocity of the water.
V
C
where
Fdoppler
Fsource
V
C
The velocity (V) represents the relative speed between the source and scatterers.
SonTek
2.1.
Time = 0
Transmit Pulse
Time = Ts / 2
Pulse in Measurement
Volume
Time = Ts
Return Sampled
by Transducer
Range = Ts / (2C)
Figure 2 Monostatic Current Meter
Figure 2 shows the basic operation of a monostatic Doppler current meter such as the ADP.
The measurement location is a function of the time at which the return signal is sampled.
The time since the pulse was transmitted determines how far the pulse has traveled, and
specifies the location of the particles that are the source of the reflected signal.
By measuring the return signal at different times, the ADP measures the water velocity at
different distances from the transducer.
The profile of water velocity is divided into range cells, where each cell represents the
average of the return signal for a given period. For example, a 1-m range cell corresponds
to an averaging time during which the range to the measurement volume moves one
meter.
SonTek
Cell N
Cell 3
Cell 2
Cell 1
Blanking Region
SonTek
Figure 3 shows the operation of the ADP for 3D (i.e., 3-axis) current profiling.
While shown looking up, the ADP can be used for up, down, or side-looking operation.
The velocity measured by one ADP transducer is the projection of the 3D velocity onto
the axis of the acoustic beam.
The standard ADP uses three beams oriented 25 off the vertical axis, equally spaced at
120 relative azimuth angles.
The ADP combines the three along-beam velocities and uses the relative orientation of
the transducers to calculate the 3D water velocity.
Modified beam configurations (e.g., 2-beam, 4-beam) are available for special
applications.
Each transducer generates a short pulse of sound and measures the Doppler shift
(velocity) versus time.
Velocities measured by each beam are called beam velocity data, and are the projection of
the 3D velocity onto the axis of the acoustic beam.
The three beam velocities are combined at each range cell to calculate the 3D velocity in
that depth layer. Velocity data is in a Cartesian (XYZ) coordinate system relative to the
ADP.
For many applications, the ADP includes an internal compass/tilt sensor to measures the
orientation of the ADP. This allows the ADP to rotate velocity data from the XYZ
coordinate system to an Earth (East-North-Up or ENU) coordinate system independent of
ADP orientation.
The ADP samples (or pings) as rapidly as possible over a user-specified averaging time
and reports the mean 3D current profile. The mean profile includes velocity and a variety
of associated data, as described in Section 6.
When analyzing ADP data, it is important to understand the inherent spatial averaging.
To calculate the 3D velocity for a given layer, the ADP uses data from each of the three
acoustic beams at the same range.
The ADP assumes the flow field is uniform across the area covered by the three beams.
That is, the water current across each beam is moving at the same speed in the same
direction.
For the standard configuration, the diameter of the area covered by these beams is 0.93
times the distance from the ADP. For example, if deployed on the bottom in 10 m of
water, the velocity measurements near the surface are averaged over an area with a
diameter of about 9 m.
Because of the spatial averaging, current profilers are designed to make velocity
measurements in environments where there are no strong horizontal flow gradients, and
vertical variations are of primary interest.
SonTek
In front of the transducers is a small region where measurements cannot be made, called
the blanking region. This allows the transducers to recover electronically from the
transmit pulse and prepare to receive the return signal.
The remainder of the profile is divided into range cells. Velocity data is averaged
according to the user-specified range cell size.
The profiling range and spatial resolution (range cell size) of an ADP is primarily a function of
the acoustic frequency.
The table below shows the profiling range, resolution, and blanking for various ADP frequencies.
Maximum profiling range is a range of values to account for variations in the operating
environment (different amounts of scattering material in the water).
Typical resolution shows a range of cell sizes commonly used.
The blanking distance is the region immediately in front of the transducer where no
measurements can be made while the transducers recover from the transmit pulse.
Minimum depth indicates the shortest profiling range for operation.
ADP Frequency
3000 kHz
1500 kHz
1000 kHz
500 kHz
250 kHz
Maximum
Profiling Range
3-6 m
15-25 m
25-40 m
70-120 m
120-180 m
Typical
Resolution
0.15 - 0.5 m
0.25 - 1.0 m
0.4 - 2.0 m
1.0 - 5.0 m
1.0 - 10 m
Blanking
0.2 m
0.4 m
0.5 m
1.0 m
1.5 m
Minimum
Depth
0.5 m
0.9 m
1.3 m
3.0 m
3.5 m
SonTek
Range Cell 3
Range Cell 2
Range Cell 1
Range = Blanking
Blanking Region
SonTek
Figure 4 shows the location of range cells within an ADP profile. The location is different than
might be expected because of the true spatial definition of an ADP range cell.
For most applications, range cells can be considered distinct measurements with the
dimension set by the user-specified cell size.
Only specialized applications need to account for the true range cell definition.
The true spatial definition of a range cell is determined by the convolution of the acoustic
pulse length and the receive window over which the return signal is averaged. The ADP
uses the same value for pulse length and receive window. This results in a triangular
weighting function where the width of the triangle (the true spatial extent of the range
cell) is twice the user-specified range cell size.
We are not including a detailed explanation of the range cell definition in this document;
additional information is available on request. The most important conclusions are below.
10
SonTek
6. ADP Data
The ADP records the following data with each profile.
6.1.
Sampling
6.2.
Velocity
11
SonTek
6.2.1. Accuracy
ADP accuracy is specified as follows.
Accuracy refers to bias in velocity measurements after removing noise (see Section 6.4).
Two factors influence the accuracy of the ADP: sound speed and beam geometry.
The effect of sound speed on velocity measurements is discussed in Section 7.4. Sound
speed errors are typically negligible (less than 0.1%); larger errors (which are uncommon)
can be corrected in postprocessing.
Beam geometry is fixed during manufacturing; no re-calibration is required.
Velocity accuracy is specified to 1.0% of the measured velocity.
There is no potential for zero offset in velocity measurements, giving excellent low-flow
performance.
The noise is a result of the physical process by which the sound waves are scattered from
particles in the water, and is referred to as Doppler noise.
Doppler noise is random and can be assumed to follow a Gaussian distribution.
Averaging multiple data points converges to the true value without introducing bias.
Noise decreases with the square root of the averaging interval. (i.e., data using a 4-minute
averaging interval has half the noise of a 1-minute averaging interval [0.5 = (1/4)]).
Section 6.4 describes how to predict Doppler noise in ADP velocity measurements.
12
SonTek
6.3.
Signal Strength
Signal strength is a measure of the magnitude of the acoustic reflection from the water.
Signal strength decreases with range due to geometric spreading and absorption.
Signal strength is accessed as raw signal amplitude (using internal units called counts,
where one count equals 0.43 dB) or as a signal-to-noise ratio (SNR in dB).
The maximum profiling range is determined by the range where signal strength
approaches the noise level (see Section 6.2.2), or by the range at which the pulse hits a
boundary (surface or bottom).
The maximum profiling range of the ADP (without a boundary present) is a function of
the acoustic frequency and the strength of the scattering return from the water.
Signal strength is a function of the amount and type of particulate matter in the water.
The primary use for signal strength data is to determine the range over which the instrument can
accurately measure velocity. There are several distinctive features in a profile of signal strength.
At the transducer, signal strength typically starts at 120-180 counts (SNR 40-60 dB).
Signal strength follows a logarithmic decay as distance from the transducer increases.
If a boundary (surface or bottom) is within range, a spike will be seen corresponding to
the reflection of the acoustic pulse. The shape and height of the spike varies with distance
from the transducer and the nature of the boundary.
Factors limiting the profiling range of the ADP include return signal decay and boundary
interference.
At some range, signal strength reaches the noise level and the ADP cannot measure
velocity. This range is a function of acoustic frequency and the conditions in the water.
Generally, the end of the profile is the point where the SNR drops below 3 dB.
If a boundary (surface or bottom) is within range, the end of the profile is determined by
where the ADP sees the reflection from the boundary.
13
SonTek
0
-0.5
-20
-1
-1.5
-40
Depth (m)
Depth (m)
-2
-60
-80
-2.5
-3
-3.5
-4
-100
-4.5
-120
10
20
30
SNR (dB)
40
50
-5
10
20
30
SNR (dB)
40
50
60
The plot on the left shows the SNR (for one beam) from a 500-kHz ADP looking up from
a depth of 120 m. The maximum profiling range is the point where SNR drops below
3 dB (at a depth of about 20 m). Data beyond this point cannot be used.
The plot on the right shows the SNR from a 3000-kHz ADP looking down in about 4 m
of water. The effective profiling range is determined where the ADP sees the reflection
from the bottom. For this example, the peak bottom reflection occurs at a depth of about
4.1 m; the last good measurement is the cell located at about 3.6 m.
Signal strength varies considerably with the operating conditions of the ADP.
14
The features shown here should be distinguishable, but some variation should be
expected.
The signals measured by the ADP are very small ambient electronic noise and
obstructions in the water can have a significant affect. Deployments in areas with large
structures (piers, docks, etc.) should be carefully planned to avoid interference.
The typical maximum profiling range for various ADP frequencies was shown in
Section 4.
SonTek
6.4.
Standard Error
The ADP provides a standard error of velocity value that is a direct measure of the quality of
velocity data.
The ADP reports one standard error value for each velocity component for each range cell
(in the user-specified coordinate system, XYZ or ENU).
Standard error can be directly interpreted as an estimate of the accuracy of velocity data.
Standard error includes instrument-generated uncertainty (Doppler noise), real variations
in water velocity, and motion of the ADP installation (e.g., if mounted on a buoy or
mooring line, or if used from a moving boat).
The profile of standard error should be essentially constant where SNR is greater than 3 dB and
no boundary is present.
As SNR decreases below 3 dB, standard error increases rapidly; this increase can be used
to determine the end of the effective profiling range in situations without a boundary.
It is difficult to predict the standard error at the boundary, as these values will vary
depending upon the nature of the reflected signal.
Doppler noise is a function of the ADP system configuration, acoustic frequency, range cell size,
and the number of samples (pings) used to calculate the mean velocity profile.
For the standard 3D ADP, Doppler noise is estimated as
235
Fz N
For a 2D side-looking ADP (see Section 7.5), Doppler noise is estimated as:
=
where
F
z
N
205
Fz N
15
SonTek
The number of samples is simply the averaging interval (in seconds) multiplied by the
ping rate (in samples per second).
Frequency
3000 kHz
1500 kHz
1000 kHz
500 kHz
250 kHz
Profiling
Range (m)
3-6
15-25
25-40
70-120
120-180
3D ADP
Ping Rate
20
9
6 / 12 (see below)
2.0 / 4.5 (see below)
1.2-2.0 / 2.9-4.0 (see below)
2D Side-Looking ADP
Ping Rate
30
13
8
3.0
1.7-2.7 (see below)
Two different ping rates are shown for the 1000, 500, and 250-kHz 3D ADP.
The lower ping rate is for standard systems intended for stationary deployment (i.e.,
bottom-mounted).
The higher ping rate is for systems used from a moving boat. These systems are modified
to increase the ping rate to allow higher resolution.
The ping rate of the 250-kHz ADP varies with the user-specified measurement range (based on
range cell size and the number of cells). Ping rate for the 250-kHz ADP can be calculated for a
particular measurement range (in meters) using the formulas below.
The following tables show predicted Doppler noise for various ADP frequencies at two range
cell sizes. Tables are provided for both the standard 3D ADP and for the 2D side-looking ADP
(see Section 7.5). The tables list Doppler noise for a single ping, and the time required to reach a
noise level of 1 cm/s.
16
SonTek
Real variations in water velocity will increase the measured standard error values.
Any motion of the ADP (e.g., when installed on a buoy or mooring line, or when used
from a moving vessel) will increase the standard error of velocity measured by the ADP.
In some applications, uncertainty due to motion of the ADP can dominate the standard
error of velocity measurements.
Frequency
Single Ping
Averaging Time for
Doppler Noise
<= 1 cm/s
3000 kHz
0.25
31 cm/s
50 s
0.50
16 cm/s
15 s
1500 kHz
0.50
31 cm/s
110 s
1.0
16 cm/s
30 s
1000 kHz
1.0
24 cm/s
100 / 50 s *
2.0
12 cm/s
25 / 15 s *
500 kHz
2.0
24 cm/s
280 / 130 s *
4.0
12 cm/s
80 / 35 s *
250 kHz
4.0
24 cm/s
280-460 / 140-190 s *
8.0
12 cm/s
70-120 / 35-50 s *
* See discussion about 1000, 500, and 250-kHz ping rates above.
Frequency
Single Ping
Doppler Noise
3000 kHz
0.25
27 cm/s
0.50
14 cm/s
1500 kHz
0.50
27 cm/s
1.0
14 cm/s
1000 kHz
1.0
21 cm/s
2.0
10 cm/s
500 kHz
2.0
21 cm/s
4.0
10 cm/s
250 kHz
4.0
21 cm/s
8.0
10 cm/s
* See discussion about 250-kHz ping rates above.
17
SonTek
7. Special Considerations
7.1.
Moving-Boat Operation
ADP moving-boat applications offer the ability to make measurements that cannot be made with
any other type of current meter.
Measuring the absolute current profile from a moving boat allows the ADP to perform
current surveys over large areas in a short amount of time.
Integrated GPS position gives a map of the water currents over the area of interest.
The ADP simultaneously measures bottom depth, adding bathymetry to the data set and
providing a built-in means to determine the end of the ADP velocity profile.
The robustness and ease of use of the ADP lets you collect data with a minimum of
preparation, reducing costs and ensuring the best quality data possible.
ADP moving-boat applications are described in detail in a separate technical note; please contact
SonTek for details.
7.2.
ADP river discharge measurements are discussed in detail in a separate technical note; please
contact SonTek for details.
18
SonTek
7.3.
Direct Reflection
Sidelobe
Energy
25
Measurement area
Blanking distance
Following the blanking region, the ADP makes velocity measurements in range cell sizes
selected by the user.
As the profile approaches the boundary, there are two potential sources of interference:
direct reflection of the pulse from the boundary, and the reflection of side-lobe energy
taking a direct (shorter) path to the boundary.
The same considerations apply to a down-looking system near the bottom.
19
SonTek
ADP transducers are designed to concentrate most of the acoustic energy in a narrow beam;
however, some energy is transmitted in all directions.
As shown in Figure 6, some energy takes a direct (shorter) path to the boundary and
reflects off the boundary while the main portion of the beam is still in clear water.
This is called side-lobe energy and the reflections from a boundary are called side-lobe
interference.
Although side-lobe energy levels are much lower than the main beam, the reflection from
the boundary is much stronger than the reflection from particles in the water. Thus, sidelobe reflections can potentially bias velocity measurements.
Side-lobe interference may affect the last 10% of the velocity profile (for the standard
ADP with a 25 beam-mounting angle).
The extent to which the side-lobe reflections affect the velocity measurements is a
function of the boundary conditions, the scattering return strength from the water, and the
acoustic properties of the transducers.
SonTek has made considerable advances in designing transducers with reduced side-lobe levels.
20
The peak reflection occurs in the cell whose center is closest to the bottom.
The cell immediately before the peak usually sees some portion of this reflection. Cells
before this should be looked at carefully for signs of interference.
In areas with significant wave action, the lowest surface height can potentially extend
several cells below the peak.
The peak cell, and the cell immediately before the peak, should always be discarded. The
next few cells should be examined closely for signs of increased signal strength (caused
by reflections from the boundary) or for unusual features in the velocity and standard
error data.
SonTek
7.4.
Sound Speed
The ADP uses sound speed to compute velocity from the measured Doppler shift. This section
discusses how to correct ADP velocity data for errors in the sound speed value used during data
collection. Sound speed errors are typically small; postprocessing corrections are rarely required.
The speed of sound in water is primarily a function of temperature and salinity.
The ADP includes a temperature sensor (0.1 C) for automatic sound speed corrections.
A user-input value of salinity is used in the sound speed calculations.
1560
1560
1540
1540
Sal. 35 ppt
1520
1520
1500
Temp. 15 C
1500
1480
Sal. 0 ppt
1480
1460
1460
1440
1440
1420
1420
1400
Temp. 30 C
10
15
20
25
30
Temperature (degrees C)
35
40
1400
Temp. 0 C
10
15
20
25
Salinity (ppt)
30
35
40
For the ADP, output velocities (in any coordinate system - Beam, XYZ, or ENU) scale directly
with sound speed; a 1% error in the sound speed results in a 1% error in velocity measurements.
The following formula is used for postprocessing corrections, and can be directly applied to the
output velocities of the ADP:
Vtrue = Vorig (Ctrue / Corig)
where
Vtrue = Corrected velocity measurements (in any coordinate system)
Vorig = Uncorrected velocity measurements (in any coordinate system)
Ctrue = True speed of sound
Corig = Speed of sound used in original calculations
21
SonTek
Changes in sound speed also affect the physical location of ADP range cells, although these
errors are generally small. To correct the position of ADP range cells, use the following:
Ztrue = Zorig (Ctrue / Corig)
where
Ztrue = Corrected range cell location (range from transducer)
Zorig = Uncorrected range cell location (range from transducer)
Upper Layer
Layer 2
Sound speed C2
Vh
Beam velocity
Vb2 = Vh sin(2)
Doppler Shift
Fd2 = - 2 Vb2 F / c2
= - 2 Vh sin(2) / c2
Lower Layer
Layer 1
Sound speed C1
Vh
Beam velocity
Vb1 = Vh sin(1)
Doppler Shift
Fd1 = - 2 Vb1 F / c1
= - 2 Vh sin(1) / c1
Snells Law
sin(1) / c1 = sin(2) / c2
So Fd1 = Fd2
Figure 8 ADP Operation in Stratified Flow
The answer is that variations in sound speed through the water column have no effect on ADP
horizontal velocity measurements.
22
The ADP only needs to know the sound speed at the transducers.
The refraction of the acoustic beam at the interface of two layers has a geometric effect
equal and opposite to the effect of changes in sound speed.
Figure 8 shows the measured Doppler shift for an identical horizontal velocity in two
layers.
SonTek
7.5.
The standard ADP uses three beams for vertical current profiling, looking up or down. There are
several applications where a current profiler can be used looking horizontally. These applications
require a two-beam ADP that measures the 2D velocity profile in a horizontal layer.
H
2D Velocity Profile In Horizontal Layer
User Programmable Cell Size
R
H
The two beams are mounted in a plane parallel to the surface and bottom.
This instrument operates exactly like a standard ADP except that the two beams measure
the profile of water velocity with horizontal range, and return the two horizontal velocity
components.
The primary limitation of horizontal profilers is the maximum range relative to depth.
This is expressed as the aspect ratio between profiling range and the distance to the
nearest boundary (R / H as pictured in Figure 9).
While ADP transducers generate very narrow beams, these beams will spread, and after
some distance, will begin to see interference from the boundaries (surface, bottom).
Experience has shown that the ADP can operate without interference to an aspect ratio of
about 10 in almost all conditions, and in some situations to aspect ratios of 20 or higher.
For example, a 500-kHz 2D ADP installed at mid-water depth in 5 m of water has
reliably worked to ranges over 60 meters (an aspect ratio of about 24).
23
SonTek
7.6.
The ADP has been designed to allow integration of other sensors with all data stored in a single
file. Three primary sensor types are available (in addition to the temperature sensor included
standard with all systems).
Strain gage pressure sensor: 0.1% of full scale, 10 to 600-m depth ranges.
Resonant pressure transducer (RPT) sensor: 0.01% of full scale, 20-m depth range.
The ADP pressure sensor can also include special software to collect and record estimates of
wave frequency spectra.
Spectra are estimated from the 1-Hz pressure time-series over the averaging interval.
The estimation uses standard methods appropriate to simple linear theory segmentation
of the data in 256-point segments with at least 128-point overlap between consecutive
segments; application of Hanning window to each segment with constant energy
correction; and correction for sensor/water depth using general first order dispersion
relationship for surface waves.
Wave spectral estimates are presented as an array of coefficients, each giving the mean
wave amplitude (square root of the energy) within a period band. Ten bands are used,
which correspond to two-second periods ranging over 2 to 20+ seconds.
Significant wave height and peak wave period are also reported.
Wave spectral estimates and raw 1-Hz pressure data are recorded with each profile.
For each band, the ADP computes and reports the mean wave amplitude (A) for waves within the
period range in the band. If Ai is the amplitude for band i, the total wave energy is given by:
Hmo = 4
24
(Total Energy)
SonTek
SonTek has integrated the MicroCat with the ADP to provide the most accurate velocity,
temperature, and conductivity measurements in a single integrated package.
The SeaBird MicroCat offers temperature accuracy of 0.002C and conductivity accuracy
of 0.0003 S/m.
The ADP controls MicroCat operation (using a built-in RS232 serial interface) and
collects one synchronized CT sample with each velocity sample.
The data is stored in the same file as the ADP velocity data for easy analysis.
Turbidity (OBS)
Transmissometer
Fluourometer
Dissolved oxygen
25
SonTek
26
SonTek
Index
2
2D current profiling, 23
3
3D velocity measurements, 6
A
absorption, 13
accuracy, 12, 15
Acoustic Doppler Profiler, 3
acoustic frequency, 8, 13, 15
ADCP (defined), 3
ADP (defined), 3
along-beam velocities, 7
amplitude, signal, 13
averaging interval, 11, 15, 16, 24
averaging, spatial, 7
B
beam geometry, 6, 7, 12
beam velocity data, 7
blanking, 8
boat operation, moving, 18
bubbles, 5
C
calibration, 11
Cartesian coordinates (XYZ), 7, 11
catamaran, 18
conductivity, 25
coordinate systems, 7
CTD, 25
current meter, 5
current profiling, 6
D
data, ADP, 11
discharge measurements, river, 18
Doppler shift, 4, 5, 7, 21, 22
E
Earth coordinates (ENU), 7, 11
ENU. See Earth coordinates
external sensor integration, 24
F
flow, stratified, 22
G
Gaussian distribution, 12
H
horizontal current profiling, 23
I
interference, 14
M
MicroCat, SeaBird, 25
monostatic current meters, 5
moving-boat operation, 18
N
near-boundary data collection, 19
noise, 12, 14, 15, 16
O
orientation, 7
P
ping, 7, 11, 15
ping rate, 16
pressure sensor, 24
profiling range, 8, 13, 14, 15, 23
profiling, current, 6
pulse length, 10
R
range cell, 5, 7, 8, 9, 10, 11, 15, 16
27
SonTek
S
salinity, 21
samples, 7, 15, 16, 25
sampling strategy, 11
scattering material, 8
SeaBird MicroCat CTD, 25
sediment, 5, 13
sensor integration, external, 24
signal strength, 13, 14
signal-to-noise ratio, 13
sound speed, 11, 12, 21
spatial averaging, 7
spatial resolution, 8
speed of sound (in water), 21
standard error (of velocity), 15
stratified flow, 22
28
T
temperature, 21
transducer, 20, 23
transmit pulse, 5, 7, 8, 13
triangular weighting function, 10
U
uncertainty, 12, 15, 17
V
velocity data, 7, 11, 15, 21, 25
W
water velocity, 5, 7, 15, 17, 23
wave spectra, 24
X
XYZ. See Cartesian coordinates
1. Overview
Typically, SonTek instruments include analog pressure sensors (e.g., strain gage) that provide
sufficient accuracy and stability (0.1 to 0.25 %) at a moderate cost. These sensors are usually installed within the system head (Figure 1). They are internal to the system and are usually referred
to as PRESSURE or PRESSURE SENSOR within our documents and system command interface.
Some applications, however, require better long-term stability (e.g., tide studies, wave interaction
with topography, long-term water-level monitoring, etc.). To accommodate these needs, SonTek
has integrated frequency pressure sensors, which offer an order of magnitude better accuracy and
stability (0.01%). The first supported sensor was the Paroscientific digiquartz with a serial interface (PAROS). These sensors, because of their size did not fit inside our systems and were
mounted externally (Figure 1). The next supported sensor, the Druck RPT, did fit inside an ADP
or ADVOcean head. However, for historical purposes, all non-strain gage sensors are usually referred to as EXTERNAL PRESSURE SENSOR within our documents and system command interface.
External Paroscientific
Pressure Sensor
External Paroscientific
Pressure Sensor
Power and
communication cable
SonTek ADP
Power and
communication cable
SonTek ADVO
SonTek/YSI
Although the PAROS provides the required accuracy, its size and external location cause additional complications when mounting and deploying a system. SonTek, in collaboration with
Druck, Inc., now offers the Druck RPT (resonant pressure transducer) sensor. This sensor is very
compact and fits inside the same mounting socket as the regular strain gage (Figure 1). The
DRUCK sensors are available for ADP, PC-ADP, Argonaut SL/XR, and Hydra systems. The differences, when compared with a strain-gage sensor, are as follows:
The DRUCK is an absolute sensor. It reads 1 dbar in air; a strain gage reports 0 dbars in air.
Requires a special interface to sample the frequency signal.
Sampling rate is limited to 10 Hz (ADVs and Hydras) because of the time required to sample the frequency signal with sufficient precision.
Requires calibration matrix (specific to each sensor) to be loaded into the processor (system
CPU or a user PC) to obtain valid pressure readings.
Available in 50-psia pressure rating only (equivalent to 22 dbar strain gage).
3.1.1. Sensor Calibration Template
Each current meter purchased from SonTek that has the DRUCK sensor installed already has the
appropriate calibration coefficients loaded into the processor. If this information is lost, you can
use the calibration sheet provided by the pressure sensor vendor to construct your own calibration
file. The structure of the DRUCK calibration file, required by SonTek systems, is as follows.
-2.0699499E-02
-5.8612000E-06
-1.5274000E-09
-1.9064000E-12
-1.3525000E-15
+1.9573000E-19
+5.5220000E-05
+3.6197001E-08
-4.7059999E-12
-4.0058001E-14
+1.7647000E-17
+3.6951001E-20
-5.6160001E-08
-3.8715001E-10
-1.3233001E-13
+9.0119996E-16
+3.8552999E-19
-3.3300999E-22
SonTek/YSI
3.2.
User requirements for deeper ratings (compared to DRUCK) and faster response (compared to
PAROS) convinced SonTek to offer the Paroscientific digiquartz sensor with frequency output
(PAROSFREQ). Functionally, the interface for the PAROSFREQ is identical to the interface for the
DRUCK, as both are frequency-based sensors. The PAROSFREQ sensors are available for ADP,
PC-ADP, and Hydra systems. The differences, when compared with a strain-gage sensor, are as
follows:
The PAROSFREQ is an absolute sensor. It reads 1 dbar in air; a strain gage reports 0 dbars.
Requires a special interface to sample the frequency signal.
Requires a special frequency splitter cable.
Sampling rate is limited to 10 Hz (ADVs and Hydras) because of the time required to sample the frequency signal with sufficient precision.
Requires a calibration (specific to each sensor) to be loaded into the processor (system CPU
or a user PC) to obtain valid pressure readings.
Available in 50-psia (22 dbar strain gage) and 100-psia (60-m strain gage) pressure ratings.
The structure of the calibration file corresponding to the PAROSFREQ sensor is similar to the
DRUCK. For historic reasons, PAROSFREQ calibration file uses the .drk extension.
0.0
-245.2861
0.0
20.65914
0.0
0.0
0.0
0.0
0.0
26.99304
0.0
0.0
SonTek/YSI
The following commands apply to ADP and Hydra (ADVOcean) systems that have an external
pressure sensor installed.
ExtPressureSensorInstalled Set [NONE|PAROS|DRUCK|PAROSFREQ]
This command provides a useful tool to verify and troubleshoot the frequency sensor.
For PAROS sensors:
o This command continually outputs pressure reading in dbar.
o If the pressure reading is zero, the connection between the sensor and the processing
electronics may be damaged (or open).
For DRUCK and PAROSFREQ sensors:
o This command outputs a sample consisting of converted pressure (dbar), temperature
(C), and raw frequency counts (Hz) in the following format:
Druck Press =
10.03192
Temp = 22.11
Freq =
8055.674
o The DRUCK frequency range (in air) is 7 to 10 kHz; the PAROSFREQ is 35 to 38 kHz.
o If the frequency reading is zero, or is outside the range, the connection between the sensor and processing electronics may be damaged (or open).
o If the frequency reading is reasonable, but the corresponding pressure is not, this indicates that the appropriate calibration is not loaded into the processor. Section 5 describes
how to load the DRUCK calibration.
SonTek/YSI
Show DRUCK or Show PAROSFREQ
4.2.
1.5962190e+03
1.6820332e+00
3.9933779e-04
8.0327140e-08
1.7388157e-11
2.5953699e-15
K01:
K11:
K21:
K31:
K41:
K51:
-2.6693000e-02
-1.0395800e-05
-4.9470601e-09
-1.4093000e-12
2.2691999e-16
1.3877999e-19
K02: 3.1005999e-05
K12: 1.8332999e-08
K22: 1.6572001e-11
K32: -7.7020003e-15
K42: -4.0642002e-18
K52: 5.3660002e-21
K03:
K13:
K23:
K33:
K43:
K53:
2.6474001e-07
8.2459997e-11
-1.7079999e-14
-9.9870002e-17
-1.0678000e-19
-2.8249999e-23
Argonaut SL/XR
The following command applies to Argonaut SL and XR systems that have an external pressure
sensor installed.
ExtPressInstalled [NONE|PAROS|DRUCK]
SonTek/YSI
5. Additional Software
This section describes additional software required to use external frequency pressure sensors
(DRUCK/PAROSFREQ) with SonTek instruments.
5.1.
The LDDRUCK.EXE program loads the DRUCK/PAROSFREQ calibration file into the instruments
processor. The command syntax is:
LDDRUCK [DruckCalFile] [-COM port] [-Baud Rate] [-Address]
where
DruckCalFile is the name of the calibration file (no extension).
-COM port is the serial port to which the system is connected (1=COM1; 2= COM2).
-Baud Rate is the communication baud rate setting of the system. If no value is given, the
program assumes the default setting of 9600 baud. Acceptable baud rate settings are 1200,
2400, 4800, 9600, 19200, 38400, 57600, and 115200.
-Address is the address for a RS-485 system.
Example: LDDRUCK P84567 p1 b19200 a2 will download the file P84567.DRK onto the
system at address 2 connected to COM port 1 at 19200 baud.
The GTDRUCK.EXE program gets (downloads) the DRUCK/PAROSFREQ calibration file from the instruments processor to the users PC. The command syntax is:
GTDRUCK [MyCalFile] [-COM port] [-Baud Rate] [-Address]
where
MyCalFile is the name of the calibration file (no extension).
-COM port is the serial port to which the system is connected (1=COM1; 2= COM2).
-Baud Rate is the communication baud rate setting of the system. If no value is given, the
program assumes the default setting of 9600 baud. Acceptable baud rate settings are 1200,
2400, 4800, 9600, 19200, 38400, 57600, and 115200.
-Address is the address for a RS-485 system.
Example: GTDRUCK B199 p2 b19200 will retrieve the calibration data from the system
connected to COM port 2 at 19200 baud and store the data into file B199.DRK.
SonTek/YSI
5.2.
During data collection, standard ADPs store mean pressure data (converted into dbars) in the
header. PC-ADPs, however, usually profile at much faster rates. As such, the pressure data from
the DRUCK or PAROSFREQ sensor is stored in raw frequency counts as a way to increase system
performance. The extraction program GADPHDR.EXE lets you specify the DRUCK/PAROSFREQ
calibration file so the pressure data can be converted into dbars during the data extraction process. The command syntax is:
GADPHDR [DataFile] [-P]
where
DataFile is the name of the PC-ADP data file being extracted (.adp extension implied).
-P is the name of the pressure sensor calibration file (.drk extension implied).
Example: GADPHDR MYDATA Pp87654 will extract header data from the MYDATA.ADP data file
using DRUCK/PAROSFREQ calibration data from the p87654.DRK file. Note: If incorrect calibration data is used, the pressure data will not be correct.
5.3.
To increase system performance when collecting wave or pressure series data, the ADP stores
wave and pressure series data in raw frequency counts (DRUCK/PAROSFREQ sensors only). To extract the data, use the P command line option to specify the DRUCK/PAROSFREQ calibration file
so the data can be converted to dbars during the data extraction process. Examples:
GADPWAVE ADPWAVE Pp87654
will extract wave data from the ADPWAVE.ADP using DRUCK/PAROSFREQ calibration from the
p87654.DRK file.
GADPPRES ADPWAVE Pp87654
will extract pressure series data from the ADPWAVE.ADP using DRUCK/PAROSFREQ calibration
from the p87654.DRK file.
Note that in both cases that if incorrect calibration data is used, the output data will be invalid.
5.4.
To increase system performance, the Hydra stores pressure series data in raw frequency counts
(DRUCK/PAROSFREQ sensors only). To extract pressure series data, use the D command line option to specify the DRUCK/PAROSFREQ calibration file so the data can be converted to dbars during the data extraction process. Examples:
GADVTS HYDRAFILE Dp87654
will extract time-series data from the HYDRAFILE.ADR using DRUCK/PAROSFREQ calibration from
the p87654.DRK file.
GADVHDR HYDRAFILE Dp87654
will extract header data from the HYDRAFILE.ADR using DRUCK/PAROSFREQ calibration from the
p87654.DRK file.
Note that in both cases that if incorrect calibration data is used, the output data will be invalid.
SonTek/YSI
5.5.
SonTek Windows-based software offers an alternative to the DOS extraction programs for handling the external pressure sensor calibration data.
5.5.1. Downloading Calibration File Using SonTermW
Starting with v2.0, SonTerm for Windows (SonTermW) provides an easy way to load the frequency pressure sensor calibration file into the system processor. Simply establish communication with the system in SonTermW, click the Load Druck Calibration icon, choose the appropriate
file, and the load process will be performed.
5.5.2. Specifying Calibration File When Using ViewHydra
When opening a data file (.adr) with ViewHydra, you must supply a sensor calibration file (.drk)
to convert pressure data to dbars. If no pressure calibration is provided, all pressure data will be
displayed in raw frequency counts. ViewHydra lets you save the calibration data in an associated
data file workspace, so the calibration data is loaded automatically the next time the data file is
opened.
After the data file is loaded, you can select the sensor offset from the processing menu to convert
the absolute pressure reading.
1. Run DRUCK/PAROSFREQ in SonTermW and make note of the pressure reading with the system in the air (say 10.025 dbar for this example).
2. In the Processing|Sensor Calibration Settings menu, set Sensor Type to Ext Pressure, and
then enter a value of 10.025 (for this example) in the Offset field to convert pressure data
into strain gage data (relative to the atmosphere).
3. Now use the Processing|Recompute Burst Statistics File option to propagate the changes
into the burst-averaged data.
4. When exiting the program, use the Save (Overwrite) Workspace option to store the calibration and offset data. The program will now remember this information for this data set.
5.5.3. Using ViewADP with PCADP Data and Waves
Data collected by a standard ADP stores mean pressure data in dbars; no additional conversion is
needed. However, PC-ADP data and ADP wave series data (P-SERIES & PUV-Series) require
pressure calibration.
When opening a data file with ViewADP, click the Load ExtPres CalFile button to specify the
calibration file.
Notes:
1. If pressure calibration is not loaded, all pressure data will be displayed as raw frequencies.
2. If pressure calibration data is not loaded, wave data processing is disabled.
3. ViewADP will save the calibration data in the associated data files workspace. This allows
the calibration data to load automatically the next time the data file is opened.