Page 2
Support: Telephone: (508) 921-4600 Fax: (508) 668-2350 Also see the FAQs and online “Live Help” feature on our web site. Internet Support: uei.support@ametek.com Support: www.ueidaq.com Website: FTP Site: ftp://ftp.ueidaq.com Product Disclaimer: WARNING! DO NOT USE PRODUCTS SOLD BY UNITED ELECTRONIC INDUSTRIES, INC. AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS.
DNx-VR-608 Variable Reluctance Interface Chapter 1 Introduction Chapter 1 Introduction This document outlines the feature-set of the DNx-VR-608 Variable Reluctance Interface boards and their use in a wide variety of motion and rotation monitoring applications. The following sections are provided in this chapter: •...
DNx-VR-608 Variable Reluctance Interface Chapter 1 Introduction Before You Begin No Hot Swapping! Before plugging any I/O connector into the Cube or RACKtangle, be sure to remove power from all field wiring. Failure to do so may cause severe damage to the equipment.
DNx-VR-608 Variable Reluctance Interface Chapter 1 Introduction DNx-VR-608 DNx-VR-608 boards are 8-channel, variable reluctance (VR) sensor interface Features boards. The DNA/DNR/DNF-VR-608 boards are electronically identical and differ only in the hardware needed to mount the board in the selected chassis. The board is designed for use in a wide variety of motion and rotation monitoring applications.
DNx-VR-608 Variable Reluctance Interface Chapter 1 Introduction 1.6.2 Operating The DNx-VR-608 supports the following per-channel modes: Modes • Timed Count/Frequency: counts the number of teeth detected during a specified time interval and returns velocity in teeth/sec or RPM. • N-Pulse: measures the time taken to detect N teeth and returns velocity in RPM.
DNx-VR-608 Variable Reluctance Interface Chapter 1 Introduction 1.6.6 Accessories All field-wiring connections to the DNx-VR-608 are made through a standard 37-pin D connector, allowing OEM users to build custom cabling systems through off-the-shelf components. Users may also connect the DNx-VR-608 board to UEI’s DNA-STP-37 screw terminal panel via the DNA-CBL-37 cables.
DNx-VR-608 Variable Reluctance Interface Chapter 1 Introduction Technical Table 1-1 summarizes the technical specifications for the DNx-VR-608 board. Specification All specifications are at 23 °C ±5 °C and apply to both Rev. 1 and Rev. 2 boards unless otherwise noted. Table 1-1 Specifications Number of VR channels Channel configuration...
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description Chapter 2 Functional Description This chapter describes the device architecture, hardware, and functionality of the DNx-VR-608 Variable Reluctance Interface. The following sections are provided in this chapter: • VR Sensor Overview (Section 2.1) •...
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description Toothed Wheel VR Analog Signal VR Digital Signal tooth detected reset ZC comparator Figure 2-2 Example VR Sensor Signals A VR interface board reads in the analog waveform and conditions it into a digital signal (Figure 2-2).
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description 2.1.1 Index Tooth On some toothed wheels, one tooth is a different height or width than the others. This tooth is called the “index tooth” or “Z-tooth.” The Z-tooth changes the frequency and amplitude of the AC waveform as shown in Figure 2-3. For each Z-tooth type, the top row shows the physical teeth, the middle row shows the simplified AC waveform, and the bottom row shows the digital output signal.
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description 2.1.2 Torque Torque measurements require two toothed wheels on the same shaft: one toothed wheel is under torque and the other wheel is under zero torque. As the Measurement shaft twists under torque, the two wheels become slightly misaligned. The VR interface indirectly measures the degree offset by counting the time between when a tooth on the leading wheel passes the sensor and when a tooth on the lagging wheel passes the sensor.
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description • TTL-level digital pulse train - Some sensors, such as Hall Effect sensors, already output a conditioned 0-5 V square wave. • Revision 1: The digital sensor’s signal and return wires connect to a single VR-608 channel (e.g., In +/- of Channel 0);...
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description threshold to determine when cout should be dropped. The peak threshold allows the comparator to ignore zero crossings due to noise. The resulting digital output signal is illustrated in Figure 2-2. 2RX/1TX ARINC-429 transceiver protocol controllers (FPGA/DSP control/access Block 1) 2RX/1TX ARINC-429 transceiver protocol controllers (FPGA/DSP control/access Block 1) MAX 9926 Channel 0 Limiter...
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description Since the amplitude of the VR sensor signal varies with RPM, an adaptive peak threshold (APT_ONCHIP or APT_LOGIC) ensures the best performance over a wide range of speeds. The Dual VR IC can either use an internal adaptive algorithm (APT_ONCHIP) or accept an external peak threshold from the DAC (APT_LOGIC).
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description The internal structure of a Counter/Timer module is shown in Figure 2-8. from Dual VR IC, ADC Module, DIn <rev. 2>, or Torque Module <rev. 2> Z-pulse detector to DOut CRR count (resettable) register Output control logic, creates output CR count register signal based on the current mode...
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description The following Counter/Timer modes are designed for dual VR sensors and must therefore be configured as a pair: • Torque: measures the time delay between pulses on the even and odd channels (Revision 2 only). •...
Page 24
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description Timed and Z-Pulse Modes: position tooth count # of teeth CRL n – -1 velocity --------------------- - --------------------------------------------- - second CRH 66,000,000 where “n” is the total number of teeth on the wheel (including the Z-tooth) and “z” is the width of the Z-tooth in units of teeth.
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description 360 ------------------------------- ---------- - torque where “k” is a shaft constant with units of Newton-meters/degree (or pound-feet/ degree) and “n” is the total number of teeth on the wheel (including the Z-tooth). 2.2.5 Digital The VR-608 Logic chip controls four digital output lines which can be routed in...
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description • Dividers for Digital Outputs: Dividers can be applied to signals that are routed to the digital outputs. Each digital output can separately be configured with its own divider value. Available divisors are 2, 4, 8, and 16.
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description Note that if you experiment with these numbers, you will see that this measurement mode is well suited for applications with high input frequencies, that do not have to be updated quickly. For lower frequency inputs and/or for systems requiring quicker data updates, consider using N-pulse Mode.
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description Indicators Figure 2-9 shows the locations of the LEDs and connectors on the DNx-VR-608. The LED indicators are described in Table 2-3. Connectors DNR bus connector RDY LED STS LED DB-37 (female) 37-pin I/O connector Figure 2-9 Photo of DNR-VR-608 Board Table 2-3 DNx-VR-608 LED Indicators...
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description Pinout Figure 2-11 illustrates the pinout of the DNx-VR-608 for Rev. 1 and Rev. 2 boards. Connections are made through a B-size 37-pin D-sub connector. The only functional difference between Rev. 1 and Rev. 2 pinouts is the new D/TTL In lines on Rev.
DNx-VR-608 Variable Reluctance Interface Chapter 2 Functional Description VR Sensor Polarity On the DNx-VR-608, tooth detections correspond to negative slope zero crossings. If your VR sensor is wired for positive slope zero crossings (or if the wheel has holes instead of teeth), simply switch the In+ and In- wires. You can monitor both types of zero crossings by reading the ADC status.
DNx-VR-608 Variable Reluctance Interface Chapter 3 PowerDNA Explorer Chapter 3 PowerDNA Explorer This chapter provides the following information about exploring the DNx-VR-608 with the PowerDNA Explorer application. • Introduction (Section 3.1) • VR-608 Configuration (Section 3.2) Introduction PowerDNA Explorer is a GUI-based application for communicating with your RACK or Cube system.
DNx-VR-608 Variable Reluctance Interface Chapter 3 PowerDNA Explorer VR-608 As shown in Figure 3-1, the Configuration tab in PowerDNA Explorer allows Configuration entry of configuration parameters for all DNx-VR-608 channels. The Initialization tab is used for configuration of the state of the board at power-up. Figure 3-1 PowerDNA Explorer for DNx-VR-608 February 2024 www.ueidaq.com...
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API Chapter 4 Programming with the High-level API This chapter provides the following information about programming the DNx-VR-608 using the UeiDaq Framework API: • About the High-level API (Section 4.1) •...
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API Each high-level example follows the same basic structure: 1. Create a session. 2. Configure the session for a particular device and subsystem. 3. Configure the timing. 4. Start the session. 5.
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API Configure VR The CreateVRChannel() method adds a VR channel to the session, sets the Channels channel mode, and returns a pointer to the channel. //Configure session to access VR channel 0. //Configure channel 0 for a Timed measurement.
Page 36
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API Table 4-1 High-level API for VR Channel Configuration (Cont.) Method C/P/L Rev.1 Rev.2 Description Number of teeth on the wheel for RPM calculation SetNumberOfTeeth (1...3599). Also used as N in N-pulse mode. SetZToothSize Number of missing or fused teeth (0...3).
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API 4.5.1 Configure The following example shows a typical configuration for a VR sensor connected Analog VR to Channel 0. Sensor //Configure channel 0 to measure velocity every N teeth. CUeiVRChannel* vr0 = vrSession.CreateVRChannel( “pdna://192.168.100.2/Dev2/vr0”, UeiVRModeCounterNPulses);...
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API 4.5.3 Configure You can read TTL-level digital pulses through the VR front-end by configuring the board for ADC-based zero crossing detection (i.e., either UeiZCModeFixed Digital Input or UeiZCModeLogic mode). The following example uses the Fixed zero (Rev.
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API 4.6.1 Generate You can configure a digital output channel for VR simulation on Revision 2 boards. The simulated signal is a square wave with a 50% duty cycle and Simulated VR frequency equal to rpm*ppr/60.
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API 4.6.2 Route Source You can connect internal digital signal sources to digital outputs by setting the channel mode to Static. Supported sources are listed in Table 4-2. to Digital Output //Output alarm for CUeiVRChannel 4 and 5 on DOut2.
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API NOTE: An alarm can only be assigned to DOut on the same channel block, e.g., Alarm0_1 only works on DOut0. The other sources (TorqueX, DirectionX, ZToothX, ToothX) can connect to your choice of one or more DOuts.
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API Table 4-4 Sync Out Sources Supported by the CUeiVRSyncOutLine Class (Cont.) Sync Out Source Description UeiVRSyncOutLineTooth0 Set sync out line to high when any tooth is detected on channel n UeiVRSyncOutLineTooth7 UeiVRSyncOutLineZTooth0 Set sync out line to high when Z tooth is detected on...
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API The CUeiVRReader object can read the following types of data: • Read()– converted VR sensor data, raw data, FIFO data, or ADC voltage data • ReadTorque()– torque sensor data •...
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API 4.10.2 Read Torque The ReadTorque() method returns the torque ratio from a channel configured for Torque Mode. See Section 4.5.2 for information on torque sensor (Rev. 2) configuration. The other channel in the pair, which is configured for N-Pulse Mode, is read using the Read() method described in Section 4.10.1.
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API 4.10.4 Read ADC You can read ADC voltage data for a channel pair. Data is returned for the even and odd channels simultaneously. For example, a channel 0 reader will return Diagnostics interleaved channel 0 and channel 1 data.
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API Table 4-8 CUeiVRReader Status Methods Method Description Returns 32-bit status word showing alarm status on VR input lines for open circuit, stalled rotation, and overspeed alarms. See Table 4-9. ReadAlarmStatus() Note that status will be returned for all alarms regardless if the alarm has been configured.
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API The bit assignments for the 32-bit status word returned by ReadAlarmStatus() are listed in Table 4-9. Table 4-9 Bit Assignments for ReadAlarmStatus() Description 31-30 RSV - Reserved OSPD7 - overspeed detected on sensor 7 OSPD6 - overspeed detected on sensor 6 OPEN7 - Sensor 7 detected as open OPEN6 - Sensor 6 detected as open...
DNx-VR-608 Variable Reluctance Interface Chapter 4 Programming with the High-level API 4.11 Stop the The session will automatically stop and clean itself up when the session object Session goes out of scope or when it is destroyed. To manually stop the session: //Stop the session.
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API Chapter 5 Programming with the Low-level API This chapter provides the following information about programming the DNx-VR-608 using low-level API: • About the Low-level API (Section 5.1) • Example Code (Section 5.2) •...
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API Data The following data acquisition (DAQ) mode is available for transferring data Acquisition between the DNx-VR-608 and the low-level user application: Modes • Point-by-Point: Transfers one data point at a time to/from each configured channel of a single I/O board.
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API The tutorial in this section is intended as a supplement to the example code and the API reference manual. 5.4.1 Configuration To configure a Revision 1 board, populate DQ_VR608_CFG structure using the DqAdv608SetCfg() function.
Page 52
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API Table 5-2 Low-level API Configuration Parameters (Cont.) Parameter C/P/L Rev.1 Rev.2 Description ov_speed Set limit for overspeed alarm in RPM Note that cfg_flags defines what other parts of the configuration structure are valid.
Page 53
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API 5.4.1.2 Torque Sensor The following example configures a dual VR torque sensor wired to Channels 2 Configuration and 3. For torque sensor configuration, always set the odd channel in a channel (Rev.
Page 54
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API This functionality is supported on both Rev. 1 and Rev. 2 boards, though we recommend Rev. 2 users route digital signals directly to the counter-timer modules as described in Section 5.4.1.4. 5.4.1.4 Digital Input On Revision 2 boards, TTL-level digital pulses on DIn can connect directly to the...
Page 55
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API 5.4.1.5 Alarm On Revision 2 boards, you can configure digital outputs as any combination of Configuration open circuit, stalled rotation, or overspeed alarms. An alarm can only be (Rev. 2) assigned to DOut on the same channel block, e.g., Alarm0 to DOut0.
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API 5.4.1.7 Sync Out On Revision 2 boards, use the sync_out member of the DQ_VR608_CFG_R2 (Rev. 2) structure to configure the output signals on the SYNC bus. The DQ_VR608_SYNC macro takes arguments for each of the sync out lines (D3...D0).
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API There is no benefit to enabling or disabling specific channels, so we recommend enabling all eight channels with 0xFF. 5.4.3 Read Inputs To read the latest input data, call: // Read input data from the channel list.
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API 5.4.3.2 Read For debugging purposes, it is possible to directly read ADC voltage and status Diagnostic information. ADC data is always returned for both channels in a pair. Actual data Data size returned is limited to network packet size, so multiple calls must be made from the host application to retrieve the entire FIFO buffer.
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API Refer to SampleRTDMap608 for an example of how to set up a Data Map and read data from DNx-VR-608 input channels. The available DNx-VR-608 data channels are shown in Table 5-3. Table 5-3 DMap Channels Channel Description...
Page 60
DNx-VR-608 Variable Reluctance Interface Chapter 5 Programming with the Low-level API A DMap holds one data point per configured channel. One copy of the map is stored on the IOM and another is stored on the host. The IOM updates its version of the map at the DMAP_RATE specified during initialization, and the ADCs are clocked at this rate.
DNx-VR-608 Variable Reluctance Interface Appendix A Accessories Appendix A Accessories A.1 Cables DNA-CBL-37 This is a 37-conductor flat ribbon cable with 37-pin male D-sub connectors on both ends. The length is 3ft and the weight is 3.4 ounces or 98 grams. DNA-CBL-37S This is a 37-conductor round shielded cable with 37-pin male D-sub connectors on both ends.