VXI SVM2608 User Manual

4-channel, 100 ksamples/s analog-to-digital converter
Table of Contents

Advertisement

Quick Links

SVM2608
4-Channel, 100 kSamples/s
Analog-to-Digital Converter
U
'
M
SER
S
ANUAL
P/N: 82-0066-000
Released February 23, 2007
VXI Technology, Inc.
2031 Main Street
Irvine, CA 92614-6509
(949) 955-1894

Advertisement

Table of Contents
loading

Summary of Contents for VXI SVM2608

  • Page 1 SVM2608 4-Channel, 100 kSamples/s Analog-to-Digital Converter ’ ANUAL P/N: 82-0066-000 Released February 23, 2007 VXI Technology, Inc. 2031 Main Street Irvine, CA 92614-6509 (949) 955-1894...
  • Page 2 VXI Technology, Inc.
  • Page 3: Table Of Contents

    www.vxitech.com ABLE OF ONTENTS NTRODUCTION ..............................3 ABLE OF ONTENTS Certification ................................5 Warranty ................................5 Limitation of Warranty ............................5 Restricted Rights Legend............................5 ..........................6 ECLARATION OF ONFORMITY ..........................7 ENERAL AFETY NSTRUCTIONS Terms and Symbols ..............................7 Warnings................................7 ...............................9 UPPORT ESOURCES 1..................................11 ECTION ...............................11 NTRODUCTION Introduction ................................11 Overview ................................11 Acquiring Data ..............................13...
  • Page 4 VXI Technology, Inc. Measurement Commands ..........................41 Captured Data Calculations...........................42 Resistance Measurement – Offset Method....................43 Resistance Measurement – Dynamic Method ....................43 Self Test Command............................43 Preset Setting Measurement Commands .......................44 Calibration Commands..........................45 Error Processing ............................47 Diagnostic Commands ..........................49 Examples ................................51 Example 1: Setting the Channel 2 and 4 Sample Rate to 123 ms (8.13 kHz)..........51 Example 2: Setting Channel 2 to Acquire 200,000 Samples.................51...
  • Page 5: Certification

    VXI Technology, Inc. shall not be liable for injury to property other than the goods themselves. Other than the limited warranty stated above, VXI Technology, Inc. makes no other warranties, express or implied, with respect to the quality of product beyond the description of the goods on the face of the contract.
  • Page 6: Declaration Of Conformity

    FCC Part 15 Subpart B Class A EN 61010-1:2001 The product was installed into a C-size VXI mainframe chassis and tested in a typical configuration. I hereby declare that the aforementioned product has been designed to be in compliance with the relevant sections of the specifications listed above as well as complying with all essential requirements of the Low Voltage Directive.
  • Page 7: General Safety Instructions

    www.vxitech.com ENERAL AFETY NSTRUCTIONS Review the following safety precautions to avoid bodily injury and/or damage to the product. These precautions must be observed during all phases of operation or service of this product. Failure to comply with these precautions or with specific warnings elsewhere in this manual, violates safety standards of design, manufacture and intended use of the product.
  • Page 8: Table Of Content

    VXI Technology, Inc. ARNINGS Avoid Electric Shock To avoid electric shock or fire hazard, do not operate this product with the covers removed. Do not connect or disconnect any cable, probes, test leads, etc. while they are connected to a voltage source.
  • Page 9: Support Resources

    UPPORT ESOURCES Support resources for this product are available on the Internet and at VXI Technology customer support centers. VXI Technology World Headquarters VXI Technology, Inc. 2031 Main Street Irvine, CA 92614-6509 Phone: (949) 955-1894 Fax: (949) 955-3041 VXI Technology...
  • Page 10 VXI Technology, Inc. SVM2608 Preface...
  • Page 11: Section 1

    VMEbus. All SVM instruments are designed to provide all the features of test instrumentation in other platforms such as GPIB or VXI. These features are achieved in hardware rather than in a driver. This approach to the interface design guarantees the user that all communications to the module occur in microseconds, as opposed to several milliseconds, considerably improving system throughput.
  • Page 12 VXI Technology, Inc. CHn + 1x, 2x, 5x, 10x DATA CHn+ ÷ 1 μP ADDRESS ÷ 10 CHn– – gain1 DATA & gain0 CONTROLS CHnI– FILTER CONTROLS CHANNEL 0 attn TRIG – FORCE CHANNEL 1 TRIG TRIG CHANNEL 2 TRIG...
  • Page 13: Acquiring Data

    www.vxitech.com The counts stored in memory are 16 bits SIGNED integers. The most significant bit represents the SIGN. Thus, the hex number 0x4000 and the hex number of 0xC000 represent the same signal amplitude but in opposite directions, where 0x4000 represents a positive signal while 0xC000 is a negative signal with the same amplitude.
  • Page 14: Linear Mode

    VXI Technology, Inc. In absence of a Trigger signal, the acquisition can be forced by setting a control bit, the FORCE bit. Forcing an acquisition on a channel only starts acquisition on that channel. Each channel has its own corresponding FORCE bit.
  • Page 15: Fifo Mode

    www.vxitech.com FIFO Mode In FIFO mode, the user can retrieve data from the board as acquisition progresses. The memory behaves as a FIFO: data is written into a circular buffer with new data overwriting older data when the buffer is full. A Threshold Flag is available to monitor the status of the buffer and prevent overwriting the data or under-reading it.
  • Page 16: Option -01

    VXI Technology, Inc. sets. (See M icroprocessor Commands for more details on available commands.) The command is sent to the microprocessor via the Command register. Since there are four independent channels on the board, each of them can take a different command and each of them has its own command register.
  • Page 17 www.vxitech.com GLUE LOGIC SINGLE ÷ 1 HIGH SPEED 1x, 2x, 4x ÷ 10 CHANNEL HS_CHnI+ DIFF TO 50 Ohm 12 BITS SINGLE – – SINGLE DIFF – ÷ 1 OFFSET_LVL OFFSET ÷ 10 HS_CHn– REF_LVL REFERENCE TRIG_LVL 50 Ohm – CHNL TRIG HS_EXT_TRIG CHANNEL_1 TRIG...
  • Page 18: Physical Description

    VXI Technology, Inc. HYSICAL ESCRIPTION The SVM2608 has a protective coating applied to it to ensure that the effects of environmental hazards are minimized. This coating endows the modules with resistance to salt sprays, moisture, dust, sand, and explosive environments, as the polymer coating provides a hermetic seal. The...
  • Page 19: Front Panel Interface Wiring

    www.vxitech.com RONT ANEL NTERFACE IRING Front-panel connector, J101, contains all the instrument signals for the Channels 0 through 3. PIN NUMBER SIGNAL PIN NUMBER SIGNAL PIN NUMBER SIGNAL CH1I- CH3I- CH1- CH3- CH1+ CH3+ CH1I+ CH3I+ EXTTRIGIN CH0I- CH2I- CH0- CH2- CH0+ CH2+...
  • Page 20: Svm2608 Specifications

    VXI Technology, Inc. SVM2608 S PECIFICATIONS ENERAL PECIFICATIONS UMBER OF HANNELS AMPLING Range 0.59 Samples/s to 100.0 kSamples/s 100 ns Resolution Accuracy NPUT OWER 500 mA +5 V dc +12 V dc 300 mA 300 mA -12 V dc NTERFACE...
  • Page 21 www.vxitech.com 1 - SVM2608-01 PTION UMBER OF HANNELS NTERFACE Address Mode Data Transfer Mode D16 or D32 AMPLING 7.15 Samples/s to 20.0 MSamples/s Range Resolution 8.333 ns Accuracy EMORY 1 MSamples per channel OLTAGE EASUREMENTS ±0.5 V, ±1.0 V, ±2.0 V, ±5.0 V, ±10.0 V, ±20.0 V Range Resolution Range/2...
  • Page 22 VXI Technology, Inc. SVM2608 Introduction...
  • Page 23: Section 2

    www.vxitech.com ECTION REPARATION FOR NTRODUCTION When the SVM2608 is unpacked from its shipping carton, the contents should include the following items: (1) SVM2608 4 Channel 100 kSamples/s Analog-to-Digital Converter Module (1) SVM2608 User’s Manual (this manual) All components should be immediately inspected for damage upon receipt of the unit. Installation instructions for the module are discussed in the following pages of this section.
  • Page 24: Setting The Base Address

    VXI Technology, Inc. ETTING THE DDRESS The base address of the SVM2608 is determined by using the offset value (OV), set by two rotary switches located on the top edge of the interface card (Figure 2-1), and multiplying it by 2 16,777,216) to get the base address in A32 address space.
  • Page 25: Example 1

    www.vxitech.com Example 1 Divide (decimal) by 16 25 / 16 w/ 9 remaining Divide the decimal value by 16 to get the MSB and the LSB. 0001 1001 The 1 is the MSB, and the remainder of 9 is the LSB. Convert to hexadecimal.
  • Page 26: Example 2

    VXI Technology, Inc. Example 2 Divide (decimal) by 16 200 / 16 w/ 8 remaining Divide by 16. 1100 1000 Convert to MSB and LSB. Convert to hexadecimal. Set the back switch to C and the front switch to 8.
  • Page 27: Section 3

    www.vxitech.com ECTION ROGRAMMING NTRODUCTION The SVM2608 modules are VMEbus register-based devices for high-speed D16 or D32 data retrieval. Register-based programming is a series of reads and writes directly to the module registers. This eliminates the time for command parsing thus increasing speed. EVICE EMORY Function Offset...
  • Page 28 VXI Technology, Inc. 3-1: SVM2608 A32 R ABLE EGISTER Note MS = Most Significant LS = Least Significant OFFSET WRITE FUNCTION READ FUNCTION 0x00 Sysfail Control, Interrupt Levels Sysfail Control, Interrupt Levels 0x02 Force Trigger/Start Force Trigger/Start 0x04 Reserved Reserved...
  • Page 29 www.vxitech.com OFFSET WRITE FUNCTION READ FUNCTION 0x56 Reserved Result Register (Channel 1) – (LS) 0x58 Control (Channel 2) Control (Channel 2) 0x5A Trigger Level (Channel 2) Trigger Level (Channel 2) 0x5C Sample Rate (Channel 2) – (MS) Sample Rate (Channel 2) – (MS) 0x5E Sample Rate (Channel 2) –...
  • Page 30: Data(Byte) Ordering

    VXI Technology, Inc. OFFSET WRITE FUNCTION READ FUNCTION 0xB6 Pre-Trigger Points (Channel 4) – (LS) Pre-Trigger Points (Channel 4) – (LS) 0xB8 Trigger Delay (Channel 4) – (MS) Trigger Delay (Channel 4) – (MS) 0xBA Trigger Delay (Channel 4) – (LS) Trigger Delay (Channel 4) –...
  • Page 31: Determining The Register Address

    With a variety of systems and bridges that move the data between different bus types (i.e. VME to PCI, VXI to PCI, etc.), in order to assist the user in determining how data is ordered, a known floating point value of 0.12345678901234 is loaded at Power-Up in the Result Register for all channels.
  • Page 32: Accessing The Registers

    VXI Technology, Inc. The binary values are then converted into a hexadecimal format: Binary Hexadecimal 0000 0000 0110 0010 0x0062 This determines the data value required for the aforementioned settings. CCESSING THE EGISTERS With both D16 and D32 data transfer available, the user can write either 16 or 32 bits of data to the registers.
  • Page 33 www.vxitech.com Reset, Sys Fail Control, Interrupt Levels Register (0x00) — Read & Write Interrupt Level - These bits determine the interrupt service level. 111 = Interrupt level 7 110 = Interrupt level 6 101 = Interrupt level 5 D2 – D0 INTLVL2 - 0 100 = Interrupt level 4 011 = Interrupt level 3...
  • Page 34 VXI Technology, Inc. Force Trigger, Start Register (0x02) — Read & Write Acquisition Armed - These bits control whether or not the specified channel is to be armed for an acquisition. A channel must remain ARMED for the entire duration of the acquisition process. Clearing an ARM bit will reset the internal state-machines and stop the acquisition.
  • Page 35 www.vxitech.com Control Register (0x08, 0x30, 0x58, 0x80, 0xA8, 0xD0) — Read & Write Linear or FIFO Memory Mode - Determines whether the data is captured in Linear (burst) or FIFO (real time) acquisition mode. LINEAR/FIFO 0 = Linear mode 1 = FIFO mode state = 0 Function Setting - The digitizer is capable of measuring voltages, resistances in 2-wire mode or resistances in 4-wire mode.
  • Page 36 VXI Technology, Inc. Control Register (0x08, 0x30, 0x58, 0x80, 0xA8, 0xD0) — Read & Write 20 kHz (Channels 0-3)/5 MHz (Channels 4-5) LPF Control – This bit enables/disables the low pass frequency filter for the low-speed channels and high-speed channels, respectively. . Before taking a measurement, allow for at least 5 ms for internal circuits to settle after making changes.
  • Page 37 www.vxitech.com Sample Rate, High-Speed (0xAC, 0xD4) — Read & Write D15 – D9 Unused These bits are reserved for future use. Sample Interval – These bits set the high speed sample rate. D8 – D0 SAMPRAT24 – 16 Bit Weight = 8.333 ns/bit Minimum Value = 6 Maximum Value = 2 –...
  • Page 38 VXI Technology, Inc. Trigger Delay (0x1A, 0x42, 0x6A, 0x92, 0xBA, 0xE2) — Read & Write Trigger Delay - The trigger delay value is used to set the time between trigger occurrence and storing of data. D15 – D0 DELAY15 – 0...
  • Page 39 www.vxitech.com Command Register (0x22, 0x4A, 0x72, 0x9A, 0xC2, 0xEA) — Read and Write Command Register - Writing to this register instructs the microprocessor to perform the specified function. If this command performs a calculation, the data is returned into the corresponding result D15 –...
  • Page 40 VXI Technology, Inc. Trigger Delay = 0 Trigger Sample - 1 0xFFFFE Trigger Sample - 2 0xFFFFC PRE-TRIGGER DATA n = # of Pre-Trigger Points Trigger Sample - n Trigger Sample + m POST-TRIGGER DATA m = Sample Size - (n - 1)
  • Page 41: Microprocessor Commands

    www.vxitech.com ICROPROCESSOR OMMANDS Unless otherwise specified, commands are issued to each channel’s command register. After issuing a command, the user must wait until the command is executed before issuing a new command to the same channel. The module sets the Command Register to all zeros when a command is finished executing.
  • Page 42: Captured Data Calculations

    VXI Technology, Inc. 0x0022 = 100 Ω Range Resistance Measurement - Offset Method (2-wire) 0x0023 = 1 kΩ Range Resistance Measurement - Offset Method (2-wire) 0x0024 = 10 kΩ Range Resistance Measurement - Offset Method (2-wire) 0x0025 = 100 kΩ Range Resistance Measurement - Offset Method (2-wire) 0x0026 = 1 MΩ...
  • Page 43: Resistance Measurement - Offset Method

    www.vxitech.com Resistance Measurement – Offset Method The value returned by the resistance measurement offset commands (0x0022 through 0x002D) is calculated using two current values. A voltage is measured when a current (I) is applied to the circuit (V ) as well as when the current is not applied (V ).
  • Page 44: Preset Setting Measurement Commands

    VXI Technology, Inc. Bit 14 - Measures 128 Ω on the 10 kΩ scale Bit 15 - Measures 81.92 kΩ on the 100 kΩ scale Bit 16 - Measures 81.92 kΩ on the 1 MΩ scale Bits 17 – 31 are not used and read as “0”.
  • Page 45: Calibration Commands

    www.vxitech.com 0x0016 = 20 V Measurement 0x0017 = 50 V Measurement 0x0018 = 100 V Measurement 0x0019 = Auto Voltage Measurement 0x0021 = 0.5 V Range Voltage Measurement (for Channels 4-5 Only) 0x0022 = 100 Ω Range Resistance Measurement - Offset Method (2-wire) 0x0023 = 1 kΩ...
  • Page 46 VXI Technology, Inc. WARNING: Calibration commands should only be executed by qualified personnel. If you want to perform your own calibrations please contact factory for more information. 0x0020 Correct setup with calibrations 0x1001 Store Calibration data in non-volatile memory. 0x1002 Read a Cal Gain DAC (lower 12 bits of 16-bit value).
  • Page 47: Error Processing

    www.vxitech.com 0x1028 Set the V Negative 0.1177 calibration gain value, calibration value. All the calibration commands use the channel’s base address at offset zero (0x000000 for Channel 0, 0x200000 for Channel 1, 0x400000 for Channel 2 and 0x600000 for Channel 3) for communication with the processor.
  • Page 48 VXI Technology, Inc. The aforementioned errors are reported for the following reasons: There are no errors in the queue. NO_ERROR An unknown command was sent to the ERROR_UNKNOWN_COMMAND microprocessor. The value programmed in the Pre-Trigger ERROR_PRE_GT_SIZE Points register is greater than the value programmed in the Sample Points register.
  • Page 49: Diagnostic Commands

    www.vxitech.com Diagnostic Commands The following commands in combination with the Self-Test command (see measurement commands section above) help diagnose problems with the board. 0x3000 Read the self-test register. 0x3001 Read the self-test relay register. 0x3002 Read the switch register. 0x3003 Read the trigger inputs.
  • Page 50 VXI Technology, Inc. FLASH Memory Programming Commands The following commands can be used to change the content of the FLASH memory. The FLASH memory stores the board’s software (executed by the microprocessor) and firmware (what programs the two FPGAs on the board). To prevent accidental writings of the FLASH, a sequence of three commands is necessary to perform a write to it.
  • Page 51: Examples

    www.vxitech.com XAMPLES Example 1: Setting the Channel 2 and 4 Sample Rate to 123 ms (8.13 kHz) The sample rate clock for an individual low-speed channel (Channels 0 – 3) is generated by dividing a 0.1 µs (10 MHz) reference clock, generated by an on-board oscillator, by the value present in the Sample Rate register of the respective channel.
  • Page 52: Example 3: Setting Channel 2 To Pre-Acquire 100,000 Samples

    VXI Technology, Inc. Write 0x0D40 @ Base address + 0xC00062 Method 2: Make one 32 bits write. Write 0x00030D40 @ Base address + 0xC00060 Example 3: Setting Channel 2 to Pre-acquire 100,000 Samples The acquisition of samples starts when a trigger point is met or when a trigger is forced by setting the corresponding Force bit.
  • Page 53: Example 5: Setting Channel 2 And 4 Timeout Register To Timeout After 2.5 S

    www.vxitech.com Write 0x0016E360 @ Base address + 0xC00068 If the Sample Rate register from Example 1 (0x0012C4B0 corresponding to a sample rate of 123 ms) and the Trigger Delay in Example 4 above are set on the SVM2608, the first sample is taken 1,500,000 x 123 ms = 184,500 seconds (51.25 hours!!!) after the trigger event.
  • Page 54 VXI Technology, Inc. SVM2608 Programming...
  • Page 55: Ppendix A

    www.vxitech.com PPENDIX PPENDIX WAPPING XAMPLE An example is provided below detailing how data might be swapped in to get a REAL number when the data is read “swapped”. In order to make the code easier to understand, only the portion that shuffles the data is presented here.
  • Page 56 VXI Technology, Inc. SVM2608 Appendix A...
  • Page 57: Index

    www.vxitech.com NDEX A/E LED................19 MSB (most significant bit) ......... 25, 26 A32 address space.............37 A32 base address ............25, 26 A32 register map...............29 offset resistance measurements ........48 acquisition armed bit............38 offset value............... 24 attenuation and gain setting bit .........41 P/F LED ................19 backplane jumpers ............23 Parylene................

Table of Contents