Usb-5801 User Manual Ed.1 Final
Usb-5801 User Manual Ed.1 Final
USB-5801
Acknowledgments
Intel and Pentium are trademarks of Intel Corporation.
Microsoft Windows and MS-DOS are registered trademarks of Microsoft Corp.
All other product names or trademarks are properties of their respective owners.
Packing List
Before setting up the system, check that the items listed below are included and in
good condition. If any item is missing or damaged, contact your dealer immediately.
1 x USB-5801 module
4 x terminal blocks
1 x USB-5801 startup manual
1 x USB 3.0 lockable cable (1 m)
Chapter 2 Installation............................................7
2.1 Unpacking Instructions.............................................................................. 8
2.2 Driver Installation ...................................................................................... 9
Figure 2.1 Advantech DAQNavi Installation Wizard .................... 9
Figure 2.2 Driver Installation Setup Screen ............................... 10
Figure 2.3 Driver Installation Path and Space Requirements.... 10
Figure 2.4 Driver Installation Process........................................ 11
Figure 2.5 Exit the Driver Installation Wizard............................. 11
2.3 Hardware Installation ............................................................................. 12
2.4 Device Setup and Configuration ............................................................. 13
Figure 2.6 USB-5801 Device Settings ....................................... 13
Figure 2.7 Device Settings Page ............................................... 14
Figure 2.8 USB-5801 Device Testing ........................................ 14
Appendix A Specifications.................................... 39
A.1 Analog Input............................................................................................ 40
A.1.1 Functions .................................................................................... 40
A.1.2 ADC Modulator Oversample Rate .............................................. 40
A.1.3 Maximum Operating Voltage ...................................................... 40
A.1.4 Input Overvoltage Protection ...................................................... 41
A.1.5 AC Coupled Measurement Accuracy.......................................... 41
A.1.6 DC Coupled Measurement Accuracy ......................................... 41
A.1.7 Input Impedance ......................................................................... 41
A.1.8 Common-Mode Rejection Ratio (CMRR) ................................... 41
A.1.9 Frequency Response.................................................................. 42
A.1.10 AC Coupling................................................................................ 42
A.1.11 Idle Channel Noise ..................................................................... 42
A.1.12 Dynamic Range (DR).................................................................. 42
A.1.13 Spurious Free Dynamic Range (SFDR) ..................................... 42
A.1.14 Signal-to-Noise Ratio (SNR)....................................................... 43
A.1.15 Total Harmonic Distortion (THD) ................................................ 43
A.1.16 Total Harmonic Distortion Plus Noise (THD+N) ......................... 43
A.1.17 Crosstalk..................................................................................... 43
A.1.18 Integrated Electronic Piezoelectric Excitation (IEPE) ................. 44
Features
Applications
Installation Guide
Software Overview
Accessories
USB-5801 is a high accuracy dynamic signal acquisition USB 3.0 module specifically
designed for vibration and acoustic measurements. It provides four simultaneously
sampled, 24-bit, IEPE sensor inputs with up to 192 kS/s sample rate for high resolu-
tion measurements. It is also equipped with two 24-bit analog outputs with up to 192
kS/s update rate. In addition, it has two tachometer inputs whose data can be corre-
lated to the sensor data. The built-in USB hub makes this module daisy chainable
with other USB-5000 series products.
1.1 Features
USB 3.0 SuperSpeed and daisy chainable by built-in USB hub
4 simultaneously sampled analog inputs, up to 192 kS/s
24-bit resolution ADCs with -94 dB total harmonic distortion plus noise (THD+N)
Built-in anti-aliasing filter
2 mA integrated electronic piezoelectric (IEPE) excitation currents
2 analog outputs with update rate up to 192 kS/s
24-bit resolution DACs with -90 dB total harmonic distortion plus noise (THD+N)
2 tachometer inputs for period or frequency measurement
4-ch isolated digital input and 4-ch isolated digital output
Easy Maintenance
The LED indicators, rotary switch, and terminal blocks are all front-facing for easy
access and wiring. The European-type pluggable terminal blocks also simplify main-
tenance, reducing overall service time.
Compact Size
The compact design and high-density channel count improves space utilization, while
the DIN-rail mounting kit ensures easy installation in cabinets.
Note! Because USB 3.0 can only provide a maximum current of 900 mA, if
more than one module is connected via the hub, an external power sup-
ply unit (PSU) will be required.
Redundant Power
USB-5801 modules feature two power input terminals with an input power range of
10 ~ 30 VDC and power redundancy support. For modules connected to two power
Introduction
input sources, if one source is inactive or interrupted, the other power source can
immediately assume supply operations. Accordingly, USB-5801 modules can oper-
ate with a single power source. (The modules can also be powered via USB if there is
no device connected to the downstream port.)
Board ID Switch
USB-5801 modules have a built-in DIP switch that is used to define the board ID for
each module. When multiple modules are installed in the same system, the board ID
switch can be used to identify each module’s device number. Every module in the
system should be assigned different device numbers. The default board ID value is 0.
Once you have the necessary components and any additional accessories for
enhanced operation, you can begin installing the USB-5801 module. Figure 1.1 is a
flowchart that provides a broad overview of the software and hardware installation
procedures.
Chapter 1
Advantech offers a wide range of DLL drivers, third-party drivers, and application
software for fully exploiting the functions of your USB-5801 module.
Device Drivers
Advantech DAQNavi
DAQNavi Software
Advantech’s DAQNavi software includes device drivers and a software development
Introduction
kit (SDK), which features a comprehensive I/O function library to boost application
performance. This software can be downloaded from the Advantech website (at
www.advantech.com). The Advantech DAQNavi software for Windows XP/7/8/10
(desktop mode) works seamlessly with most major development tools, including
Visual Studio.NET, Visual C++, Visual Basic, and Borland Delphi.
Programming Tools
Programmers can develop application programs using their preferred development
tools.
Visual Studio.NET
Visual C++ and Visual Basic
Delphi
C++ Builder
The example source codes can be found under the corresponding installation folder/
default installation path.
\Advantech\DAQNavi\Examples
For information about using other function groups or development tools, refer to the
chapter titled “Using DAQNavi SDK” in the DAQNavi SDK manual, or watch the video
tutorials provided with the Advantech Navigator.
These APIs can be categorized into several groups according to their function or pur-
pose.
Analog Input Function Group
Analog Output Function Group
Digital Input/Output Function Group
Counter Function Group
Port Function Group (direct I/O)
Event Function Group
For the usage and parameters of each function, refer to the chapter titled “Using
DAQNavi SDK” in the DAQNavi SDK manual.
1.5 Accessories
Advantech offers the following accessories to support the USB-5801 module:
Unpacking Instructions
Driver Installation
Hardware Installation
Device Setup and Configuration
2.1 Unpacking Instructions
After receiving your USB-5801 module, inspect the package contents to ensure that
the following items are present:
1 x USB-5801 module
4 x terminal blocks
1 x USB-5801 startup manual
1 x USB 3.0 lockable cable (1 m)
The USB-5801 module contains electronic components that are vulnerable to elec-
trostatic discharge (ESD). ESD can easily damage the integrated circuits and compo-
nents if preventive measures are not carefully implemented. Before removing the
module from the antistatic plastic bag, take the following precautions to prevent pos-
sible ESD damage:
Touch the metal part of your computer chassis with your hand to discharge any
static electricity accumulated in your body. Alternatively, wear a grounding strap.
Make contact between the antistatic bag and ground before opening. After
removing the module from the packaging, first inspect the module for any signs
of external damage (loose or damaged components, etc.). If the module is visi-
bly damaged, notify our service department or your local sales representative
immediately. Do not install or use a damaged module.
Avoid contact with materials that may hold static electricity, such as plastic,
vinyl, and styrofoam.
Chapter 2
We recommend installing the drivers before installing the USB-5801 module to guar-
antee a problem-free installation process.
The Advantech DAQNavi Device Drivers setup program can be downloaded from the
Advantech website. Follow the steps outlined below to install the driver software.
Installation
interface.
3. Once the DAQNavi driver installation wizard is launched, follow the instructions
displayed in the interface to complete the driver installation.
4. After the driver is successfully installed, click the “Finish” button to exit the instal-
lation wizard.
After the device drivers are installed, the USB-5801 module can be installed in your
computer. We recommend referring to the computer user manual or related docu-
mentation if you have any concerns. Follow the steps outlined below to install the
module.
1. Touch any metal surface of your computer to discharge any static electricity that
may have accumulated in your body.
2. Plug the USB-5801 module into the selected USB port. To avoid damaging the
module, do not use excessive force when inserting the module into the USB
port.
After the module is installed, your device can be configured using the Advantech
Navigator program automatically installed during driver installation. The complete
device installation process should include device setup, configuration, and testing.
The following sections provide information for guiding users through the device
setup, configuration, and testing procedures.
Chapter 2
The Advantech Navigator program is a utility for setting up, configuring, and testing
devices. The program also stores the system configuration settings in the system
registry for subsequent reference. These settings are used when a device driver API
is called. Figure 2.6 shows an example of the USB-5801 device settings.
Setting Up a Device
1. To install an I/O device or module, first initialize the Advantech Navigator pro-
gram (Start/Programs/Advantech Automation/Navigator for DN4).
Installation
2. Users can view the device(s) already installed on the system (if any) by access-
ing the Installed Devices list. Once the software/hardware installation is com-
plete, the USB-5801 module should be included in the Installed Devices list.
4. After the module is installed and configured, access the Device Testing page to
test the hardware using the test utility provided.
For more detailed information, please refer to the DAQNavi SDK manual or the
Advantech Navigator user interface manual.
Overview
Board ID Settings
Signal Connections
Field Wiring Considerations
3.1 Overview
Maintaining signal connections is one of the most important factors in ensuring that
your application system is sending and receiving data correctly. A good signal con-
nection can prevent unnecessary and costly damage to your PC and other hardware
devices. This chapter provides information about connecting input and output signals
to the USB-5800 module via the I/O connector.
3.2 Dimensions
Chapter 3
Switch Description
Board ID switch. Refer to the following table for board ID configuration.
Board ID 3 2 1 0
0 ↑ ↑ ↑ ↑
1 ↑ ↑ ↑ ↓
Signal Connections
2 ↑ ↑ ↓ ↑
3 ↑ ↑ ↓ ↓
4 ↑ ↓ ↑ ↑
5 ↑ ↓ ↑ ↓
6 ↑ ↓ ↓ ↑
SW1
7 ↑ ↓ ↓ ↓
8 ↓ ↑ ↑ ↑
9 ↓ ↑ ↑ ↓
10 ↓ ↑ ↓ ↑
11 ↓ ↑ ↓ ↓
12 ↓ ↓ ↑ ↑
13 ↓ ↓ ↑ ↓
14 ↓ ↓ ↓ ↑
15 ↓ ↓ ↓ ↓
Connector Description
USB upstream port (USB 3.0 type-B connector with screw). Connect this
CN1
port to the host or to the downstream port of the previous USB module.
USB downstream port (USB 3.0 type-A connector with screw). Connect this
CN2
port to the upstream port of the next USB module if any.
Chassis ground
Note! CN12 and CN13 are used for power redundancy. External power can be
supplied from either of the connectors.
Signal Connections
sensor wire is broken
Sensor is connected to analog input channel 1 and
Near CN5 Green
works normally
Sensor connected to analog input channel 1 is short cir-
Red
cuited
No sensor is connected to analog input channel 2 or
Off
sensor wire is broken
Sensor is connected to analog input channel 2 and
Near CN6 Green
works normally
Sensor connected to analog input channel 2 is short cir-
Red
cuited
No sensor is connected to analog input channel 3 or
Off
sensor wire is broken
Sensor is connected to analog input channel 3 and
Near CN7 Green
works normally
Sensor connected to analog input channel 3 is short cir-
Red
cuited
Note! LEDs near CN4 ~ CN7 are functioning only when IEPE is enabled for
the corresponding analog input channel.
Chapter 3
The USB-5801 supports 4 different analog input ranges: ±10 V, ±5 V, ±2 V, and ±1 V.
Users should select the input range that is large enough for all possible voltage val-
ues of the input signal, and small enough to make full use of the input dynamic range.
For example, if the largest signal variation is ±3 V, input range of ±5 V is suggested. If
the largest signal variation is ±1.5 V, input range of ±2 V is suggested.
If the range of the input signal is unknown, always select the maximum input range of
±10 V to prevent over-voltage and damage to the hardware.
Signal Connections
3.4.6 Sample Rate and Anti-Aliasing Filters
In a sampling system, such as an ADC, the maximum bandwidth of the signal that
can be measured is limited. Specifically, a sampling system with sample rate of fS
can represent only signals with frequency lower than fS/2. This frequency is called
the Nyquist frequency and the bandwidth from 0 Hz to the Nyquist frequency is called
the Nyquist bandwidth.
However, frequency components above the Nyquist frequency, if any, will be modu-
lated back to the Nyquist bandwidth when ADC is sampling, which introduces distor-
tion to the measurement result. This undesirable effect is called aliasing.
Unfortunately, one cannot tell whether aliasing occurs by just looking at the mea-
sured result. The only method to prevent aliasing is by low-pass filtering to remove
frequency components above the Nyquist frequency. This low-pass filter is usually
called anti-aliasing filter.
The delta-sigma ADCs on the USB-5801 contain an oversampled architecture and
sharp roll-off digital filters with cut-off frequencies that track the sampling rate. The
cut-off frequencies of the digital filters will be automatically adjusted to a little lower
than the Nyquist frequency, which can be considered as excellent anti-aliasing filters.
Although the digital filter eliminates almost all out-of-band components, it is still sus-
ceptible to aliases from certain narrow frequency bands. These bands are located at
sample rate multiplied by oversample factor, and the bandwidth is always one fs
wide. To deal with these susceptible bands, the USB-5801 is also equipped with a
fixed cut-off frequency, multiple-pole analog low-pass filter. The analog filter removes
high-frequency components that are not covered by the digital filter in the ADCs in
the analog signal path before they reach the ADC. This is shown in Figure 3.5.
Chapter 3
Although the USB-5801 is specified to drive a minimal load of 600 Ω, the output sig-
nal distortion is minimized for high impedance load. Users can, for example, connect
the analog outputs to external devices with larger input impedance such as 10 kΩ or
100 kΩ for optimal performance.
In addition, the output waveform will be attenuated for lower load impedance due to
the small but non-zero output impedance of the analog output circuitry. The differen-
tial output impedance between the positive and negative terminals is approximately
20 Ω.
Signal Connections
3.5.4 Analog Output Generation Types
After offset and gain correction, the digital samples are converted to the analog out-
put signals by the DAC. There are two types of methods to generate the digital sam-
ples as shown in Figure 3.8.
For buffered AO generation, the pre-programmed samples are first written into a
FIFO buffer. The samples are converted to the analog output signals by the DAC one
by one at the specified update rate. Arbitrary waveform with specified frequency (or
period) can be generated using buffered AO.
For static AO generation, the analog output voltage stays constant until new output
value is written by the software. The samples are written to the DAC directly without
passing through a FIFO buffer, thus the time at which the samples are actually con-
verted to the analog output signals by the DAC is uncertain. This type of generation is
suitable for DC voltage output or very low frequency waveform output.
Chapter 3
The triggers can also be routed from the measured results of the analog input chan-
nels. This is called analog trigger. Users need to select one of the analog input chan-
nels as trigger signal source, set the trigger voltage threshold, and configure whether
trigger occurs at rising edge or falling edge of the signal.
After configuration, the internal analog trigger circuitry begins to monitor the acquired
samples (voltage) of the selected analog input channel. A trigger will occur when the
voltage crosses the trigger voltage threshold with the same edge as configured. This
is shown in Figure 3.13.
Signal Connections
Figure 3.11 Analog Triggers
To prevent false triggering due to noise or jitters in the signal, hysteresis can be
added to the analog trigger. The hysteresis range is specified by percentage of the
full-scale analog input range. For example, when selecting an analog input channel
with ±10 V input range as analog trigger source, a 0.1% hysteresis range equals to
20 mV. Figure 3.14 shows examples of both rising edge and falling edge analog trig-
ger with hysteresis.
Chapter 3
Voltage reference calibration steps:
1. Connect a digital multi-meter (DMM) with precision not less than 6.5 digits to
TP17 (positive terminal) and TP19 (negative terminal). Use DC voltage mea-
surement mode.
2. In the Navigator, choose one of the voltage references to calibrate. (+10 V, +5 V,
+2 V, +1 V, or ADC)
3. Observe the DMM reading and compare it to the "target voltage". Adjust the cor-
responding calibration parameter. If the reading is too small, increase the
Signal Connections
parameter; on the other hand, decrease the parameter. Repeat this step until
the DMM reading is within the voltage range specified by "target voltage".
4. Repeat steps 2 through 3 for all voltage references.
Chapter 3
After all calibration procedures are done, click "Save All" button to store calibration
parameters into EEPROM. The parameters in the previous calibration procedures
are temporarily stored in the on-board volatile memory. To prevent from losing those
parameters after powering off, it is required to store them in a non-volatile memory
such as an EEPROM.
Signal Connections
Figure 3.17 Store Calibration Parameters to EEPROM
Chapter 3
3.8.1 Digital Inputs
The USB-5801 provides 4 channels of digital input (DI) signal measurement with
2,500 VDC galvanic isolation. Figure 3.21 shows the functional block diagram of one
digital input channel.
Signal Connections
Figure 3.19 Digital Input Functional Block Diagram
When an external voltage (VEX in Figure 3.21) is applied to the digital input between
terminals I<0..3> and EC, the isolator output turns on. On the other hand, when the
external voltage is removed, the isolator output turns off. Users will read logic high
and logic low for these two circumstances in the software, respectively.
The value of the external voltage needs to be higher than the input high voltage (VIH)
specification to turn on the isolator, and be lower than the input low voltage (VIL)
specification to turn off the isolator. If the external voltage is between VIH and VIL,
the reading in the software is uncertain and may be high or low.
The digital inputs accept both polarity of the external voltage.
Chapter 3
The USB-5801 provides 4 channels of digital output (DO) signal generation with
2,500 VDC galvanic isolation. Figure 3.24 shows the functional block diagram of one
digital output channel.
Signal Connections
Figure 3.22 Digital Output Functional Block Diagram
The load should be connected between the O<0..3> terminal and the positive termi-
nal of the external source (VEX), and the ground of the external source should be
connected to the ground of the USB-5801.
When the digital output is on, the MOSFET on the USB-5801 closes and provides a
path for the load current flowing through to the ground. When the digital output is off,
on the other hand, the MOSFET opens and blocks the path.
A flyback diode on the PC terminal provides a path for dissipating energy for induc-
tive load when the digital output becomes off. This prevents the inductive load from
generating a large back EMF which may damage the module.
3.9 Counter/Timer
The USB-5801 provides 2 channels of 32-bit counter/timer measurement with 2,500
VDC galvanic isolation. Figure 3.25 shows the functional block diagram of one coun-
ter/timer channel.
Chapter 3
When measuring a rotating device, users can use one counter as a tachometer to
measure the speed of the rotation, and the other counter to measure the phase infor-
mation of the acquired analog input samples. This is shown in Figure 3.28.
Signal Connections
Figure 3.26 Phase Measurement for Analog Input Samples
Connect tachometer signal to the external sample clock pin of counter 0 (C0SCK).
Select internal 50 MHz clock as the counter clock for both counters, external sample
clock pin as the sample clock for counter 0 (tachometer counter), and analog input
sample clock as the sample clock for counter 1 (phase counter). Arm both counters
at the same time, begin analog input acquisition, and then start the rotating device.
All the information needed to calculate the rotating speed and phase of the AI sam-
ples will be collected automatically.
The rotating speed can be calculated as described in the previous section. To calcu-
late the phase of the acquired analog input samples, users should first find the phase
counter value related to the specified analog input sample (PC), and then find the
tachometer counter values just above (TCA) and just below (TCB) the phase counter
value. Finally, use the following equation to calculate the phase of the analog input
sample. Note the position where the tachometer pulse occurs is set as a reference
point (0 degree).
For example, to calculate the phase of the 1.5 V analog input sample (the second
sample) in Figure 3.28, first find the corresponding PC, which is 1005. Then find the
TCA and TCB, which are 1000 and 2000, respectively. Use the previous equation,
the phase of the 1.5 V analog input sample can be calculated as 1.8°.
IEPE Input Coupling Input Configuration Positive Terminal (+)* Negative Terminal (-)*
Disabled AC Differential ±22 V ±22 V
Disabled AC Pseudo-differential ±19 V ±9 V
Disabled DC Differential ±12 V ±12 V
Disabled DC Pseudo-differential ±12 V ±9 V
Enabled AC Pseudo-differential 0 ~ +24 V 0 ~ +1 V
* Voltages with respect to chassis ground.
Note: Input coupling must be AC and input configuration must be pseudo-differential
when IEPE is enabled.
Appendix A Specifications
Input Configuration Positive Terminal (+)* Negative Terminal (-)*
Differential ±24 V ±24 V
Pseudo-Differential ±24 V ±10 V
* Voltages with respect to chassis ground.
Gain Error
Operating temperature within 5 °C of last auto-calibration temperature: < ±0.02 %
Over full operating temperature range: < ±0.1 %
Offset Error
Operating temperature within 5 °C of last auto-calibration temperature: < ±0.2 mV
Over full operating temperature range: < ±0.5 mV
A.1.10AC Coupling
Appendix A Specifications
Signal-to-Noise Ratio (dB)*
Input Range
fs = 32 kS/s fs = 128 kS/s fs = 192 kS/s
±10.0 V 105 103 100
±5.0 V 103 101 98
±2.0 V 98 96 92
±1.0 V 93 91 87
* 1 kHz input tone, input amplitude is -1 dBFS.
A.1.17Crosstalk
Crosstalk (dBc)*
Input Range 32 kS/s 192 kS/s
fin = 1 kHz fin = 20 kHz
±10.0 V -104 -100
±5.0 V -104 -100
±2.0 V -104 -99
±1.0 V -103 -97
* Input amplitude is -1 dBFS.
Gain Error
Operating temperature within 5 °C of last auto-calibration temperature: < ±0.03 %
Over full operating temperature range: < ±0.15 %
Offset Error
Operating temperature within 5 °C of last auto-calibration temperature: < ±0.5 mV
Over full operating temperature range: < ±2.5 mV
Appendix A Specifications
Spurious Free Dynamic Range (dBc)*,**
Output Range
fs = 32 kS/s fs = 128 kS/s fs = 192 kS/s
±10.0 V 88 91 93
±1.0 V 87 89 92
* 1 kHz output tone, output amplitude is -1 dBFS.
** Measurement includes all harmonics.
Channels 1
Analog trigger input/digital trigger input/software trigger, software
Source
selectable
Output Voltage
Logic 0 < +0.5 V
Logic 1 > +4.5 V
Isolation Protection 2,500 VDC
A.4 Tachometer
Channels 2
Functions Frequency (period) measurement
Input Voltage (referenced to GND pin)
Logic 0 < +3 V (-30 V min.)
Logic 1 > +10 V (+30 V max.)
Input Frequency 5 kHz max.
Digital Filter 16 μs ~ 131 ms
Isolation Protection 2,500 VDC
Appendix A Specifications
A.5.1 Digital Input
Channels 4
Input Voltage (referenced to ECOM pin)
Logic 0 -3 V ~ +3 V
Logic 1 > +10 V (+30 V max.) or < -10 V (-30 V min.)
Opto-Isolator Response Time 100 μs
Digital Filter 16 μs ~ 131 ms
Isolation Protection 2,500 VDC
Channels 4
Load Voltage 5 ~ 40 VDC
(referenced to GND pin)
Load Current 350 mA/ch (sink)
Opto-Isolator Response Time 100 μs
Isolation Protection 2,500 VDC
A.6.3 Physical
A.6.4 Environmental