Abaco Systems VMIC VMIVME 3119 021 Manual 202013110510
Abaco Systems VMIC VMIVME 3119 021 Manual 202013110510
- ~ ARTISAN®
~I TECHNOLOGY GROUP
with experienced engineers and technicians on staff.
Find the Abaco Systems / VMIC VMIVME-3119-021 at our website: Click HERE
VMIVME-3119
16-Channel, 16-bit Scanning
Analog-to-Digital Board with
Programmable Gain and Filter
Product Manual
© Copyright 2003. The information in this document has been carefully checked and is believed to be entirely reliable.
While all reasonable efforts to ensure accuracy have been taken in the preparation of this manual, VMIC assumes no
responsibility resulting from omissions or errors in this manual, or from the use of information contained herein.
VMIC reserves the right to make any changes, without notice, to this or any of VMIC’s products to improve reliability,
performance, function, or design.
VMIC does not assume any liability arising out of the application or use of any product or circuit described herein; nor
does VMIC convey any license under its patent rights or the rights of others.
For warranty and repair policies, refer to VMIC’s Standard Conditions of Sale.
AMXbus, BITMODULE, COSMODULE, DMAbus, IOMax, IOWorks Foundation, IOWorks Manager, IOWorks Server,
MAGICWARE, MEGAMODULE, PLC ACCELERATOR (ACCELERATION), Quick Link, RTnet, Soft Logic Link, SRTbus,
TESTCAL, “The Next Generation PLC”, The PLC Connection, TURBOMODULE, UCLIO, UIOD, UPLC, Visual Soft Logic
Control(ler), VMEaccess, VMEbus Access, VMEmanager, VMEmonitor, VMEnet, VMEnet II, and VMEprobe are
trademarks and The I/O Experts, The I/O Systems Experts, The Soft Logic Experts, and The Total Solutions Provider are
service marks of VMIC.
The I/O man figure, IOWorks, IOWorks man figure, UIOC, Visual IOWorks and the VMIC logo are registered
trademarks of VMIC.
ActiveX, Microsoft, Microsoft Access, MS-DOS, Visual Basic, Visual C++, Win32, Windows, Windows NT, and XENIX
are registered trademarks of Microsoft Corporation.
Celeron and MMX are trademarked, Intel and Pentium are registered trademarks of Intel Corporation.
PICMG and CompactPCI are registered trademarks of PCI Industrial Computer Manufacturers’ Group.
Other registered trademarks are the property of their respective owners.
VMIC
All Rights Reserved
This document shall not be duplicated, nor its contents used for any
purpose, unless granted express written permission from VMIC.
12090 South Memorial Parkway
Huntsville, Alabama 35803-3308, USA
(256) 880-0444 w (800) 322-3616 w Fax: (256) 882-0859
FCC STATEMENT
This equipment has been tested and found to comply with the limits for a
Class A digital device, pursuant to part 15 of the FCC rules. These limits are designed to
provide reasonable protection against harmful interference when the equipment is
operated in a commercial environment. This equipment generates, uses, and can radiate
radio frequency energy. If the equipment is not installed and used in accordance with the
instruction manual, it may cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful interference
in which case the user will be required to correct the interference at his own expense.
Table of Contents
List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Overvoltage and Open Input Protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
48 kHz Passive Low Pass Filter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Input/BIT Switches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Programmable Gain Amplifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Active 4TH-Order Low Pass Filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Channel Multiplexer (MUX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
16-bit Analog-to-Digital Converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Digital Signal Processor (DSP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Data Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Control/Status Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Analog-to-Digital Converter (ADC) Timing and Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
VMEbus Foundation Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
VMEbus Interrupter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Reference Voltages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
DC-to-DC Converter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Front Panel LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Reference Material List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Safety Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Warnings, Cautions and Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
7
Table of Contents
External Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Calibration Coefficients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Front Panel LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Reference Output and Control Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Chapter 3 - Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
VMEbus Slave Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
VMIVME-3119 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Board ID Register (BID) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Firmware Revision Register (FRR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Global Control Register (GCR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Global Status Register (GSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Sample Clock Prescale Register (PSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Sample Clock Period Register (SPR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
IRQ Control Register (ICR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
IRQ Status Register (ISR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Low Channel Gain Register (LGR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
High Channel Gain Register (HGR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Low Channel Filter Register (LFR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
High Channel Filter Register (HFR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Buffer Size Register (BSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Clear Flag Command Register (CFR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Calibration Channel Select Register (CSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Calibration Configuration Select Register (CCR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Reset Command Register (RST) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Calibration Command Register (CAL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Self-Test Command Register (STC). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Self-Test Status Register (TSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Software Trigger Command Register (TRG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Abort/Restart Scan Command Register (ABT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
DSP Peek Address Register (PAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
DSP Peek Data Register (PDR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
8
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Maintenance Prints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
9
List of Figures
10
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
11
List of Tables
12
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
13
Overview
Introduction
The VMIVME-3119 Analog Input board provides 16 high accuracy differential analog
input channels with high throughput 16-bit Analog-to-Digital conversion. Each input
is equipped with a dedicated Programmable Gain Amplifier (PGA),
software-selectable fourth-order low pass filter, and autocalibration.
Features
The VMIVME-3119 has many unique features as listed below:
• Sixteen differential analog input channels
• Software programmable gain per channel (x1, x10, x100, and x1,000)
• Input signal range from ±10 mV to ±10 V
• Software programmable fourth-order low pass filter (1 Hz, 10 Hz, 100 Hz, 1
kHz) factory option of Bessel or Butterworth response
• Autocalibration per channel utilizing DSP technology
• 16-bit Analog-to-Digital conversion; high accuracy
• Software programmable sample rate from 305 Hz to 100 kHz aggregate, even
lower rates can be obtained using prescaler
• Software programmable scan table
• Large data buffer retains up to four million data samples
• Overvoltage input protection
• Flexible triggering: internal, external, or multiboard synchronous
• VMEbus interrupts at mid scan or end scan
• Two-slot VMEbus configuration
• UIOC® capability
• Self-test
— Extensive on-board diagnostic testing capability
— Implements precision internal reference voltages
— Independent of field connections
14
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Functional Description
The VMIVME-3119 has on-board autocalibration correction for offset and gain errors
in real-time. Calibration correction values are determined at user-controlled
calibration intervals without removing the board from the system. Individual channel
correction is accomplished by DSP technology in real-time for every A/D conversion.
Calibration can be verified at any time by implementing the self-test feature. Self-test
uses internal precision voltages, which are applied to all channels simultaneously to
verify signal path integrity.
The VMIVME-3119 can be jumper configured for either standard or extended address
space, and can be jumper configured to occupy 16, 8, 4, 2, and 1 Mbyte, also 512, 256,
or 128 Kbyte of address space.
The VMIVME-3119 has a software configurable sample buffer which begins at the
base address of the Data RAM (address P, as shown in Table 3-1 on page 62). The size
of the sample buffer determines the number of samples to be stored per scan. A
user-configurable scan table determines which channels are scanned and in what
order they are scanned. The sample buffer size can be configured in any power-of-2
from 1 sample to 4 Megasamples.
A functional block diagram is provided in Figure 1 on page 16.
Input/BIT Switches
The field inputs and the Built-in-Test (BIT) voltages go through an analog switch. A
control signal on the switch determines if the output of the switch will be the field
inputs or the BIT voltages. The switch makes it possible to do BIT and calibration
without having to remove the field connections. Also, the BIT voltages follow the
same path as the field inputs right at the front panel connector ensuring any
component error in the signal path will be corrected. The output of this switch drives
the Programmable Gain Amplifier.
15
Overview
16
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Data Buffer
The Data Buffer is an 8 Mbyte DRAM (or 4 Mbyte depending on ordering option)
which can hold up to 4 million corrected samples. VMEbus block transfers (BLTs) are
an efficient way of reading large numbers of samples from this buffer. This RAM can
be allocated by setting the buffer size parameter, as either Sample Buffer RAM or
user-defined RAM.
Control/Status Registers
The Control/Status Registers are implemented using a 32 Kbyte SRAM. This memory
contains all control and status registers, provides a 256-byte scan table, and allows
user access to calibration coefficients.
17
Overview
VMEbus Interrupter
An interrupt can be issued on any level (jumper selectable) and a single byte vector
will be placed on the VMEbus when acknowledged. There is one
Release-On-Acknowledge (ROAK) interrupt for the board and it can be generated
when the data buffer is 50 percent (Mid Scan) or 100 present (End Scan) filled.
Reference Voltages
All calibration and self-test functions of the VMIVME-3119 are based on several
precision reference voltages which can be user calibrated using the three front panel
push button switches or using the Control/Status Registers. These voltages are output
from a precision DAC under control of the DSP. When the Reference Voltages are
calibrated, the DSP calculates gain and offset coefficients for each of the voltage
ranges.
DC-to-DC Converter
There are three DC-to-DC converters on the VMIVME-3119 (two on the daughter
board and one on the motherboard). Each of these is powered from the VMEbus +5 V
supply. Each converter is fused to protect the circuitry it powers.
18
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
19
Overview
Safety Summary
The following general safety precautions must be observed during all phases of the
operation, service and repair 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 this product.
VMIC assumes no liability for the customer’s failure to comply with these
requirements.
WARNING: Dangerous voltages, capable of causing death, are present in this system.
Use extreme caution when handling, testing and adjusting.
20
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
21
CHAPTER
1
Theory of Operation
Contents
Configuration Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Analog Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Control Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Status Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Scan Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Sample Buffer RAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
User-Defined RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
External Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Calibration Coefficients. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Front Panel LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Reference Output and Control Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Introduction
This section describes the operational modes of the VMIVME-3119 board, and
describes in terms of the user interface how these operational modes are achieved.
The user interface to the VMIVME-3119 can be described by the following and are
addressed in this order:
1. Configuration Jumpers
2. Analog Inputs
3. Control Parameters
4. Status Parameters
5. Commands
6. Scan Table
7. Sample Buffer RAM
8. User-Defined RAM
9. External Triggers
10. Calibration Coefficients
11. Front Panel LED
12. Reference Voltage Output
22
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Configuration Jumpers
The configuration jumpers are one of the first things that must be considered when
installing a VMIVME-3119. The configuration jumpers are discussed in detail in
Chapter 2. However, since they are such an important part of the user interface, their
use is summarized here.
23
Configuration Jumpers 1
Self-Test Disable
Jumper field E6 contains a jumper that when installed causes the VMIVME-3119 to
not perform self-test on power up or VMEbus reset. When this jumper is installed the
front panel LED will remain on after power up or reset indicating to the user that
self-test has not been performed. In most systems this jumper will never be installed.
24
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Analog Inputs
The VMIVME-3119 accepts either 8 or 16 analog inputs through two front panel DB37
male connectors. These inputs can be either differential or single-ended. In addition,
each input has a guard pin tied to analog ground through a 470 Ω resistor.
Each input has a passive RC filter with a cut off frequency of, 34 kHz to limit the input
bandwidth and reduce input noise. The resistors for the filter also act as current
limiters to the input switch in ease of overvoltage. Each input Low side has a 22 MΩ
resistor to ground to stop the channel from saturating, if the Low side cabling gets
disconnected.
The input switch allows either the input signal or a Built-in-Test (BIT) signal to be
digitized by the ADC. The switch is automatically set into the BIT position for
calibration and self-test. In the BIT position, a precision reference section generates the
required voltages for calibration and self-test.
A software programmable gain amplifier (PGA) provides the required gain to fully
realize each range. The appropriate gain is applied by the board logic corresponding
to the range selected by the user in the Low and High Channel Gain registers. This
PGA also converts differential inputs to single-ended and provides common-mode
rejection.
The output of the PGA is routed to the input of the active filter. This filter is a
four-pole active low pass. The available filter responses are Butterworth and Bessel.
Each channel has its own components mentioned above. The range and filter
frequency are individually programmable. The output of each filter is routed to a
multiplexer, which allows one channel through at a time to be digitized by the ADC.
The timing for the multiplexer is handled by the board logic.
If the input range is exceeded, the output data will read either full-scale positive or
negative, depending on the polarity of the input signal.
Careful consideration should be placed on the cabling from the field to the inputs to
get optimum results. Ribbon cable is suitable for high-level signals, but will cause
signal degradation of low level signals. Twisted-shielded pair is recommended for the
ranges below ±10 volts.
25
Control Parameters 1
Control Parameters
The following control parameters, which are described further in Chapter 3, allow the
user to control the operational modes of the VMIVME-3119.
Data Ready
This parameter determines if the Data Ready Flag or VMEbus interrupt (if enabled),
is generated at the midpoint of an active scan or at the end of an active scan.
Data Format
This parameter determines the data format for the Sample Data RAM. Both two’s
complement and offset binary data formats are supported.
Scan Modes
There are four scan modes supported by the VMIVME-3119. The operation of the Data
Ready Flag and interrupt is the same in all scan modes and can be described by the
flowchart (Figure 1-1 on page 27).
26
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
YES DATA
MID YES
READY @
SCAN ?
MID ?
NO NO
YES DATA
END DATA
READY @
SCAN ? YES READY
END ?
NO NO
IRQ
NO
ENABLED ?
YES
INTERRUPT
VMEbus
In the Continuous Scan Mode, each selected channel is continuously sampled at the
effective sample rate. When the end of the Sample Data RAM is reached, the scan is
automatically retriggered. This operation is described by the following flowchart.
27
Control Parameters 1
SCAN TRIGGERED
SAMPLE CHANNEL
STORE DATA
ADVANCE SCAN
In the Single Scan Mode, a trigger event causes each selected channel to be sampled at
the effective sample rate. When the end of the Sample Data RAM is reached, the scan
is terminated. This mode, which cannot be retriggered, can be used to mask an
unwanted external trigger. This mode is rearmed by the Abort/Restart Scan
command. The Single Scan mode is described by the flowchart on page 3-6.
28
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
SCAN ARMED
NO TRIGGER
RECEIVED ?
YES
SCAN TRIGGERED
SAMPLE CHANNEL
STORE DATA
ADVANCE SCAN
NO END OF
SAMPLE DATA
RAM ?
YES
END
NOTE:
SINGLE SCAN MODE WILL NOT BE REARMED UNTIL AN ABORT/RESTART
SCAN COMMAND IS RECEIVED.
29
Control Parameters 1
The Single Scan and Rearm Mode is much like the Single Scan mode except that when
the end of the Sample Data RAM is reached, the scan is rearmed. This mode is
described by the following flowchart:
SCAN ARMED
NO TRIGGER
RECEIVED ?
YES
SCAN TRIGGERED
SAMPLE CHANNEL
STORE DATA
ADVANCE SCAN
NO
END OF
SAMPLE DATA
RAM ?
YES
30
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
In the Advance Scan on Trigger Mode, the scan is advanced to the next selected
channel each time a trigger occurs. This mode is described by the following flowchart:
SCAN ARMED
TRIGGER
RECEIVED ?
SCAN TRIGGERED
SAMPLE CHANNEL
STORE DATA
ADVANCE SCAN
31
Control Parameters 1
Trigger Mode
There are six supported trigger modes for the VMIVME-3119. The operation of the
Continuous Scan Mode is not affected by the Trigger Mode, however, all other scan
modes require one or more trigger events.
When the Trigger Mode is disabled, no trigger events can occur.
The Single-Board Software Trigger Mode allows the VMIVME-3119, when armed, to
be triggered by a Software Trigger Command.
The Single-Board Single-Ended External Trigger Mode allows the VMIVME-3119,
when armed, to be triggered by a TTL-level high-to-low transition on Pin 8
(EXT_TRIG_L) of P4.
In the Multiboard Master Software Trigger Mode, a Software Trigger Command
causes the configured scan mode, when armed, to be triggered and a differential
trigger is output on Pins 5 and 9 of P4.
In the Multiboard Master External Trigger Mode, a TTL-level high-to-low transition
on EXT_TRIG_L causes the configured scan mode, when armed, to be triggered and a
differential trigger is output on Pins 5 and 9 of P4.
In the Multiboard Slave Differential Trigger Mode, a differential trigger received from
the Master VMIVME-3119 on Pins 5 and 9 of P4 causes the configured scan mode,
when armed, to be triggered.
VMEbus Interrupt
Before a VMEbus Interrupt can be used to indicate Data Ready, the Desired IRQ
Vector must be programmed in the IRQ Vector Register. This register also contains an
enable which can be used to enable or disable the interrupt request on a Data Ready
condition.
Sample Period
The period of the sample clock is programmed through two registers, the Sample
Clock Prescale Register and the Sample Clock Period Register.
Sample Period = (Sample Clock Period + 1) x (Sample Clock Prescale + 1) x (50 nsec)
The VMIVME-3119 has one ADC which is shared among all active channels,
therefore, the sample period for an individual channel is not necessarily the
programmed Sample Period. The Effective Sample Period depends on the
programmed Sample Period and the number of channels being scanned.
Consider, as an example, that the following Scan Table is active {x00, x01, x00, x02,
x00, x03, x00, x84}.
Effective Sample Period (Channel 0 ) = Sample Period x ( 8 / 4 ) = Sample Period x 2
Effective Sample Period (Channels 1, 2, 3, 4) = Sample Period x ( 8 / 1 ) = Sample
Period x 8
32
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Channel Gain
The VMIVME-3119 supports input ranges of ±10 V, ±1 V, ±100 mV, and ±10 mV. The
Low Channel Gain Register and High Channel Gain Register are used to program
each channel of the VMIVME-3119 to the desired input range.
Buffer Size
The Buffer Size parameter determines the size of the Sample Buffer RAM. The Buffer
Size can be programmed, in powers of 2, from 1 sample (2 byte) to 4 Msamples
(4,194,304 samples or 8,388,608 bytes) but cannot be more than 1/2 the VMEbus
Memory Size set by Jumper Field E6.
33
Status Parameters 1
Status Parameters
The following status parameters, which are described further in Chapter 3, allow the
user to determine the current state of the VMIVME-3119.
34
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
35
Commands 1
Commands
Each of the commands is described in detail in Chapter 3. Each command is issued by
writing a logical 1 to bit 0 of the associated register. The DSP acknowledges the
command by returning this bit to a logical 0.
Self-Test Command
This command allows the user to initiate self-test of the VMIVME-3119. Pass/Fail of
user-initiated self-test is indicated in the Error Code Register and the Self-Test Status
Register.
Reset Command
This command allows the user, under software control, to return all VMIVME-3119
parameters to their default state. This command does not cause the reset of any
hardware circuits.
36
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Scan Table
The scan table is one of the most powerful features of the VMIVME-3119. The Scan
table is read by the DSP each time the Abort/Restart Scan Command is issued. The
following is a list of possible uses of the Scan Table:
• The effective sample rate of individual channels can be controlled. As an
example, assume only the first three channels are to be scanned. Assume also
the Scan Table is set as follows: { x00, x01, x00, x82 }. In this case, the effective
sample rate of channel 0 is twice that of channel 1 or channel 2. Note that the
HEX code x82 indicates channel 2 and the end of the scan table.
• Unused channels can be disabled.
• Channels can be scanned in any order.
37
Sample Buffer RAM 1
38
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
User-Defined RAM
All of the upper half of the VMEbus memory space of the VMIVME-3119 that has
been enabled by the Memory Size configuration jumpers and not dedicated to the
Sample Buffer RAM by the Buffer Size parameter is available as User-Defined RAM.
39
External Triggers 1
External Triggers
There are two external trigger sources for the VMIVME-3119. To trigger a scan with
either of these sources, the Enable Trigger bit of the Global Configuration Register
must be written to a logical 1. The VMIVME-3119 can be triggered by a single ended
TTL level high-to-low transition on Pin 8 of P4. If the VMIVME-3119 is configured as a
slave, it may be triggered from a master VMIVME-3119 by the differential trigger
signals on Pins 5 and 9 of P4.
40
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Calibration Coefficients
In most applications, the user will not need to directly modify the calibration
coefficients, however, it is possible for the user to modify the gain and offset applied
to an input signal. Whenever the VMIVME-3119 is calibrated, the calibration
coefficients are stored in EEPROM, which is not directly accessible by the user. On
power up or reset, these coefficients are written to a user-accessible area of memory.
Each time the Abort/Restart Scan Command is issued, these coefficients are moved
from user-accessible memory to DSP internal memory where they are retrieved each
time a data sample is corrected.
NOTE: Modifying these registers will alter the performance of the VMIVME-3119.
Care must be taken not to inadvertently overwrite these registers.
41
Front Panel LED 1
42
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
43
Reference Output and Control Switches 1
5. Use the REF+ or REF- to increase or decrease the voltage measured at REF OUT
until it is as close as possible to 0.3125000 V. Noise and quantization errors make
it impossible to get the reading exactly.
6. Push the switch labeled Mode and hold it until the front panel LED stops
blinking and remains on. Now release this switch. This should advance the
reference voltage and the meter should read a voltage near 5.0000000 V.
7. Continue in this method until all the reference voltages are calibrated. When the
last voltage has been calibrated, pushing the Mode switch will end reference
calibration. The front panel LED will blink 10 times indicating that reference
calibration is complete and all reference calibration values are stored in
EEPROM.
8. At this point the VMIVME-3119 is ready for normal operation.
The following procedure should be followed when calibrating the VMIVME-3119
reference voltages using the software interface:
1. Connect an eight-digit or better Precision Voltmeter to the front panel BNC
connector label REF OUT.
2. At this time, the VMIVME-3119 should be allowed to warm up for
approximately 15 minutes before reference calibration continues.
3. Write x50B6 to Reference Calibration Enable HW
4. Write x033F to Reference Calibration Enable LW
5. Issue the Abort/Restart Scan Command
6. The front panel LED will begin to blink in a continuing pattern of three blinks
and off. This indicates that reference calibration has begun. The meter connected
to REF OUT should read a voltage near 0.3125000 V.
7. Read the Reference Calibration Code Register. This is a 16-bit binary code
representing the voltage (0 to 10 V) at the REF OUT connector. Modify this code
to cause the meter to read a voltage as close as possible to 0.3125000 V.
8. Write a logical 1 to the Reference Calibration Mode Register. This will cause the
reference to advance to the next voltage. The Reference Calibration Status
Register may be read to determine the current reference voltage. This should
advance the reference voltage and the meter should read a voltage near
5.0000000 V.
9. Continue in this method until all the reference voltages are calibrated. When the
last voltage has been calibrated.
10. At this point, the VMIVME-3119 is ready for normal operation.
44
1 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
45
CHAPTER
1
Configuration and Installation
Introduction
This chapter describes the installation and configuration of the board. Cable
configuration, jumper/switch configuration and board layout are illustrated in this
chapter.
69
1 VMIVME 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Unpacking Procedures
Upon receipt, any precautions found in the shipping container should be observed.
All items should be carefully unpacked and thoroughly inspected for damage that
might have occurred during shipment. The board(s) should be checked for broken
components, damaged printed circuit board(s), heat damage, and other visible
contamination. All claims arising from shipping damage should be filed with the
carrier and a complete report sent to VMIC together with a request for advice
concerning the disposition of the damaged item(s).
70
Physical Installation 1
Physical Installation
De-energize the equipment and insert the board into an appropriate slot of the
chassis. While ensuring that the board is properly aligned and oriented in the
supporting card guides, slide the board smoothly forward against the mating
connector until firmly seated.
NOTE: The second slot occupied by the VMIVME-3119 has no VMEbus connectors
and therefore does not pass IACK* or BG* signals. For passive VMEbus backplanes
jumpers must be installed to complete the daisy chains.
71
1 VMIVME 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
72
Base Address and Board Configuration 1
E1 E2 E3
P5
C1
B1
A1
P4 P1
C32
B32
A32
E8
DENOTES E5
E7
PIN 1
*
D1
Fail LED E4
C1
B1
A1
E6
P2
SW3 (Mode)
SW2 (REF +)
SW1 (REF -)
C32
B32
A32
P3
73
1 VMIVME 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
ADDRESS JUMPERS
E5 E4
16 15 A16 16 15 A24
14 13 A17 14 13 A25
11 12 11 A26
12 A18
9 10 9 A27
10 A19
7 8 7 A28
8 A20
5 6 5 A29
6 A21
3 4 3 A30
4 A22
1 2 1 A31
2 A23
EITHER SUPERVISORY
SUPERVISORY
OR NONPRIVILEGED
ONLY
(Default)
74
Base Address and Board Configuration 1
MSIZE 2 11 12 11 12
1 13 14 16 Mbytes
13 14 1 Mbytes
(DEFAULT)
4 Msample
0 15 16 option 15 16
11 12 11 12
11 12 11 12
15 16 15 16
11 12 11 12
15 16 15 16
75
1 VMIVME 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
ILVL 2 1 2 1 2
1 3 4 LEVEL 7 LEVEL 3
3 4
0 5 6 5 6
1 2 1 2
3 4 LEVEL 6 3 4 LEVEL 2
5 6 5 6
1 2 1 2
3 4 LEVEL 5 3 4 LEVEL1
5 6 5 6
1 2 1 2
3 4 LEVEL 4 3 4 INTERRUPTS
DISABLED
5 6 5 6
(Default)
76
Base Address and Board Configuration 1
NOTE: In a multi-board system, E1 should be installed on the master and the last (end
of cable) slave board.
Jumper E3:This jumper is normally not installed by the user. The jumper causes a
reset to the VMIVME-3119. This is used for test purposes at the factory.
77
1 VMIVME 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
System Connections
The VMIVME-3119 has two DB-37 male connectors on the front panel. These
connectors are the inputs to the channels. The pinouts for each connector is shown in
Table 2-1 on page 80 and Table 2-2 on page 80. Figure 2-5 on page 79 is an illustration
of the front panel. Figure 2-6 on page 80 is an illustration of the P1 and P2 connectors.
Figure 2-7 on page 81 illustrates the P4 connector, Table 2-3 on page 81 is the
connector pinout.
78
System Connections 1
P2
P2 CONNECTOR
P1
P1 CONNECTOR
MODE
MODE
SWITCH
R+
E
F-
79
1 VMIVME 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
PC BOARD
22 Channel 14 HIGH 3 Channel 14 Guard
23 4 Channel 14 LO
24 Channel 13 HIGH 5 Channel 13 Guard
Figure 2-6 P1 and P2 Connector
25 6 Channel 13 LO
26 Channel 12 HIGH 7 Channel 12 Guard
27 8 Channel 12 LO
28 Analog GND 9 Analog GND
29 Analog GND 10 Analog GND
30 Analog GND 11 Analog GND
31 Channel 11 HIGH 12 Channel 11 Guard
32 13 Channel 11 LO
33 Channel 10 HIGH 14 Channel 10 Guard
34 15 Channel 10 LO
35 Channel 9 HIGH 16 Channel 9 Guard
36 17 Channel 9 LO
37 Channel 8 HIGH 18 Channel 8 Guard
19 Channel 8 LO
80
System Connections 1
Each guard is connected to the board’s analog ground through 470 Ω resistor.
External triggering is accomplished through the P4 connector on the front panel. The
pinout for the connector is shown in Figure 2-7 below. Table 2-3 shows the connector
pinout for the P4 connector.
1 Not Used
External Trigger LO is the input for an external trigger to be applied to the board. The
Differential Trigger HI and LO are used in a multiboard system. The master board will
receive the external trigger on the External Trigger LO pin. This will drive the
Differential Trigger HI and LO pins to the other boards (slaves).
Pin No. 9
Pin No. 5
Pin No. 1
Pin No. 6
81
1 VMIVME 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
82
CHAPTER
3
Programming
Introduction
This Chapter of the manual deals with the VMEbus software interface to the
VMIVME-3119 board. Programming the VMIVME-3119 assumes a properly installed
board accessed from an appropriate VMEbus system controller. Installation and
hardware jumper configuration requirements are described in Chapter 2.
60
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Since the user interface is designed around dual-ported RAM, the user must not
overwrite locations defined as “read-only” and must not access locations defined as
reserved.
61
VMIVME-3119 Memory Map 3
VMIVME-3119 Memory Map
Table 3-1 VMIVME-3119 Memory Map
62
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
P: The base address of the Sample Buffer which is set by configuration jumpers. P =
Base Address (refer to Figure 2-2 on page 51) + Sample Buffer Offset (SBO).
BS: The Buffer Size (bytes) which is set by the Buffer Size Register.
SBO: Sample Buffer Offset as referenced from the Board Base Address (physical
memory size/2).
NOTE: Do not use blt operations to access SRAM-based registers at offset address $00
0000 through $00 7FFE.
63
Board ID Register (BID) 3
Board ID Register (BID)
The board ID register is an read-only status register, the contents of which identifies
the VMIVME-3119 and its factory ordering options.
Bits 03 and 02: FL[1:0], Filter Option - This field indicates the factory installed filter option of
the VMIVME-3119 according to Table 3-3.
Bit 01: CH, Channel Option - A logical one indicates that the board is a 8-channel
VMIVME-3119. A logical zero indicates that the board is a 16-channel
VMIVME-3119.
Bit 00: MEM, Memory Option - A logical one indicates that the board has
2 Msamples (4 Mbyte) of DRAM. A logical zero indicates that the board has 4
Msamples (8Mbyte) of DRAM.
64
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 08: MAR[7:0]: Major Revision - Hexadecimal code indicating the “major”
revision level from 0 to 255.
Bits 07 through 00: MIR[7:0]: Minor Revision - Hexadecimal code indicating the “minor”
revision level from 0 to 255.
65
Global Control Register (GCR) 3
Global Control Register (GCR)
The GCR is a read/write register which controls global parameters of the
VMIVME-3119.
Bit 14: RDY HF - Ready on Buffer Half-Full - When this bit is set to a logical one,
the Data RDY status flag will become active when the Sample Buffer becomes
half-full. When this bit is set to a logical zero, the Data RDY status flag will
become active when the Sample Buffer is full. If the Buffer Size is set to one
sample, this bit does not affect the Data RDY status flag which will be set each
time the sample is stored in the Sample Buffer. (Default is logical zero.)
Bit 13: Enable Trigger - When this bit is set to a logical one, the VMIVME-3119 can be
triggered from an external source. (Default is logical zero.)
Bit 12: Data FMT - Data Format - When this bit is set to a logical one the data
samples will be stored in offset binary format. When this bit is a logical zero
the data samples will be stored in two’s complement format. (Default is
logical zero.)
Bits 11 through 08: Reserved - These bits are reserved and should be written as zero.
Bit 07: ST_EN, Scan Table Enable - When this bit is set to a logical zero all channels
will be stored in order (i.e. 0 through 15 for a 16-channel VMIVME-3119).
When this bit is set to a logical one the channels will be scanned in the order
defined in the Scan Table. (Default is logical zero.)
66
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 06 through 04: SM[2:0], Scan Mode - This field is used to select the scan mode of the
VMIVME-3119 as shown in Table 3-6. (Default is 000.)
Bits 03 through 00: TM[3:0], Trigger Mode - This field is used to select the trigger mode of the
VMIVME-3119 as shown in Table 3-7.
67
Global Status Register (GSR) 3
Global Status Register (GSR)
The GSR is a read-only status register which indicates global status of the
VMIVME-3119. Table 3-8 shows the bit map.
Bit 15: RSVD1 - This bit indicates the status of jumper E8. A logical zero indicates
that the jumper is installed. This jumper is not currently used.
Bits 14 through 12: MSIZE [2:0] - This field indicates the state of the VMEbus Memory size
jumpers. A logical zero indicates that the corresponding jumper is installed.
Bits 11 through 08: ERR[3:0], Error Code - This field indicates the VMIVME-3119 errors as
defined in Table 3-9.
68
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bit 07: DATA RDY: Data Ready - A logical one indicates that the Data Buffer is full
or half-full, depending on the state of Flag HF. This bit is set to a logical zero
by the Clear Flag Command.
Bit 06: Armed, Scan Armed - A logical one indicates that the scan is armed but not
yet triggered. This bit is returned to a logical zero by VMIVME-3119 firmware
when a change in configuration has been detected or when a scan is triggered.
Bit 05: TRIGD: Scan Triggered - A logical one indicates that a trigger has been
received and a scan is in progress. This bit is returned to a logical zero by
VMIVME-3119 firmware when a scan is completed or the Abort/Restart Scan
Command is received.
Bits 04 and 03: Reserved - These bits are reserved and should be written to zero.
Bit 2: TEST DIS, Test Disabled - This bit indicates the state of the self-test disable
jumper. A logical one indicates that self-test has been disabled.
Bit 1: RSVD0 - This bit indicates the state of the RSVD0 jumper in jumper field E6.
A logical zero indicates that the jumper is installed. This jumper is not
currently used.
Bit 00: CFG CMPLT, Configuration Complete - A logical one indicates that the
change in configuration programmed through any of the VMIVME-3119
registers has been detected and processed by the on-board DSP. This bit is
returned to a logical zero by the Clear Flag Command.
69
Sample Clock Prescale Register (PSR) 3
Sample Clock Prescale Register (PSR)
The PSR is a read/write data register which controls the (prescale) clock input of the
Sample Rate Counter.
Bits 15 through 08: Reserved - These bits are reserved and should be written to zero.
Bits 07 through 00: PS[7:0], Sample Clock Prescale - This field determines the period of the
(prescale) clock input of the Sample Rate Counter according to the equation:
Period of (prescale) clock input = (Sample clock prescale +1) x (50 nsec)
(Default is 0x00)
70
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 00: SP[15:0], Sample Clock Period - This field determines the period of the
sample clock of the VMIVME-3119 according to the equation: Sample Period
= (Sample clock period + 1) x (Sample clock prescale + 1) x (50 nsec) (Default
is 0x03E7 - providing a sample period of 50 µsec)
NOTE: The minimum sample period of the VMIVME-3119 is 10 µsec, therefore, the
following equation must hold for all values of sample clock prescale and sample clock
period:
71
IRQ Control Register (ICR) 3
IRQ Control Register (ICR)
The ICR is a read/write data register which enables the VMEbus interrupt and
contains the VMEbus interrupt Vector for the VMIVME-3119. Table 3-12 shows the bit
map for the IRQ Control Register. The bit definitions can be found on below.
Bits 15 through 09: Reserved - These bits are reserved and should be written to zero.
Bit 08: I EN, Interrupt Enable - A logical zero causes the VMEbus interrupt request
to be disabled, independent of the state of the interrupt level configuration
jumpers. This bit must be set to a logical one to enable the VMEbus interrupt
on a Data Ready condition. (Default is logical zero.)
Bits 07 through 00: I VEC[7:0], Interrupt Vector - This field contains the VMIVME-3119 VMEbus
Interrupt Vector which will be returned during a VMEbus interrupt
acknowledge cycle. (Default is 0x000.)
72
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 02 through 00: I LVL[2:0]: Interrupt Level - This field indicates the level of the VMIVME-3119
VMEbus IRQ according to Table 3-14. This field is status (read only); the IRQ
level is set by configuration jumper E7.
73
Low Channel Gain Register (LGR) 3
Low Channel Gain Register (LGR)
The LGR is a read/write data register which controls the gain of channels 0 through 7
of the VMIVME-3119.
Bits 15 through 00: CHx G[1:0] - This field controls the gain for channel x according to Table 3-16.
(Default is 00 - corresponding to a gain of 1.)
74
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 00: CHx G[1:0], Channel Gain - This field controls the gain for channel x
according to Table 3-18. (Default is 00 - corresponding to a gain of 1.)
75
Low Channel Filter Register (LFR) 3
Low Channel Filter Register (LFR)
The LFR is a read/write data register which controls the cutoff frequency of the Bessel
or Butterworth filter options for channels 0 through 7 of the VMIVME-3119. These bits
should always be written to zero for a no filter option board.
Bits 15 through 00: CHx F[1:0] - This field controls the cutoff frequency of the Bessel or
Butterworth filter options according to Table 3-20. (Default is 00 -
corresponding to a cutoff frequency of 1000 Hz.)
Table 3-20 Low Channel Filter Register Bit Definitions (CHx G[1:0])
76
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 00: CHx F[1:0] - This field controls the cutoff frequency of the Bessel or
Butterworth filter options according to Table 3-22. (Default is 00 -
corresponding to a cutoff frequency of 1,000 Hz.)
77
Buffer Size Register (BSR) 3
Buffer Size Register (BSR)
The BSR is a read/write data register which controls the size of the VMIVME-3119
Sample Buffer.
Bits 15 through 05: Reserved - These bits are reserved and should be written to zero.
Bits 04 through 00: BS[4:0]: Buffer Size - This field controls the size of the VMIVME-3119 Scan
Buffer according to Table 3-24.
78
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 01: Reserved - These bits are reserved and should be written to zero.
Bit 00: CLR FLG: Clear Flag Command - A logical one causes the VMIVME-3119 to
clear the Data Ready and the Configuration Complete status flags of the GCR.
This bit is returned to a logical zero by VMIVME-3119 firmware when the
Data Ready and Configuration Complete flags have been cleared.
79
Calibration Channel Select Register (CSR) 3
Calibration Channel Select Register (CSR)
The CSR is a read/write data register which selects channels to be calibrated when the
Calibration Command is issued. Table 3-26 is the bit map for Calibration Channel
Select Register.
Bits 15 through 00: CS[15:0]: Calibration Select - A logical one in bit location CSx selects channel
x to be calibrated when the Calibrate Command is issued. (Default is logical
zero for each channel.)
80
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 08: Reserved - These bits are reserved and should be written to zero.
Bits 07 through 04: CAL xHz: Calibrate with xHz Filter - A logical one in bit location CAL xHz
causes the calibration routine, when executed, to generate new gain and offset
coefficients for the xHz filter with all gains selected by bits CAL xV. (Default
for each is logical zero.) For a no filter option board, bits 5 through 7 should
always be written to zero, and bit 4 should be written to one.
Bits 03 through 00: CAL xV: Calibrate with ±x V Range - A logical one in bit location CAL xV
causes the calibration routine, when executed, to generate new gain and offset
coefficients for the xV range with all filter cutoffs selected by bits CAL xHz.
(Default for each is logical zero.)
81
Reset Command Register (RST) 3
Reset Command Register (RST)
The RST is a read/write register which is used to command the VMIVME-3119 to be
reset.
Bits 15 through 01: Reserved - These bits are reserved and should be written to zero.
Bit 00: Reset, Reset Command - A logical one causes the VMIVME-3119 to run self-
test and return all registers, tables, and buffer to their default conditions. This
bit is returned to a logical zero by VMIVME-3119 firmware when reset is
complete.
82
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 01: Reserved - These bits are reserved and should be written to zero.
Bit 00: CAL, Calibration Command - A logical one causes the VMIVME-3119 to
calibrate all channels selected in the CSR. This bit is returned to a logical zero
by VMIVME-3119 firmware when the calibration is complete.
83
Self-Test Command Register (STC) 3
Self-Test Command Register (STC)
The STC is a read/write register which is used to command the VMIVME-3119 to
execute its self-test routine. The results of the self-test are stored in the Self-Test Status
Register. See Table 3-30 for register bits. When a scan is active, this command will not
be processed until an Abort/Restart Scan Command is received.
Bits 15 through 01: Reserved - These bits are reserved and should be written to zero.
Bit 00: Test, Self-Test Command - A logical one causes the VMIVME-3119 to execute
self-test routine. This bit is returned to a logical zero by VMIVME-3119
firmware when the self-test is complete.
84
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 00: Fail CH[15:0] - A logical one indicates that the corresponding channel has
failed self-test. A logical zero indicates that the corresponding channel has not
failed self-test. For 8-channel option of the VMIVME-3119, Fail CH[15:8] will
always be logic zero.
85
Software Trigger Command Register (TRG) 3
Software Trigger Command Register (TRG)
The TRG is a read/write register which is used to trigger a VMIVME-3119 scan.
Bits 15 through 01: Reserved - These bits are reserved and should be written to zero.
Bit 00: TRIG, Trigger Command - A logical one causes the VMIVME-3119, if armed,
to be triggered. This bit is returned to a logical zero by VMIVME-3119
firmware when the trigger is detected.
86
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 01: Reserved - These bits are reserved and should be written to zero.
Bit 00: Abort, Abort/Restart Scan Command - A logical one causes the
VMIVME-3119 to abort an active scan. This bit is returned to a logical zero by
VMIVME-3119 firmware when the scan is aborted.
87
DSP Peek Address Register (PAR) 3
DSP Peek Address Register (PAR)
The PAR is a read/write data register which is used as a debug interface to the
VMIVME-3119 DSP. Writing the address of a word in the DSP internal data RAM will
cause that word to be returned to the DSP Peek Data Register. This is not a user
programmable register.
Bits 15 through 14: Reserved - These bits are reserved and should be written to zero.
Bits 13 through 00: PA[13:0], Peek Address - The address of the word in internal DSP data RAM
that is to be returned to the DSP Peek Data Register.
88
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 15 through 00: PD[15:0]: Peek Data - The word in DSP data RAM that is pointed to by the
DSP Peek Address Register.
89
LED Control Register (LCR) 3
LED Control Register (LCR)
The LCR is a read/write register which is used to control front panel LED of the
VMIVME-3119.
Bit 00: LED On - A logical one causes the VMIVME-3119 front panel LED to turn on.
A logical zero turns the LED off.
90
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bit 00: ADV, Advance - During reference calibration, a logical one causes the
VMIVME-3119 to advance the reference voltage (see Chapter 1 “Theory of
Operation”.) This bit is returned to a logical zero by the DSP.
91
Reference Calibration Code Register (RCC) 3
Reference Calibration Code Register (RCC)
The RCC is a read/write register which is used to calibrate the reference voltages
under software control.
Bits 15 through 00: RCC[15:0], Reference Calibration Code - This code controls the voltage
output by the VMIVME-3119 during reference voltage calibration. This is a
binary code representing a voltage between 0 V and 10 V.
92
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bits 03 through 00: RCS[3:0]: Reference Calibration Status - When performing reference
calibration under software control, this code indicates the current reference
voltage value being calibrated as described in Chapter 1 “Theory of
Operation”.
93
Reference Calibration Enable HW and LW Registers (REH and REL) 3
Reference Calibration Enable HW and LW Registers (REH and REL)
Bits 31 through 00: RCK[31:0] - This is a software key which allows reference calibration to be
performed under software control. The procedure for reference calibration is
described in Chapter 1 “Theory of Operation”.
94
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Bit 07: End ST, End of Scan Table - This bit, when set to a logical one indicates the
last entry of the scan table. The length of the Scan Table must be a power-of-
two and must be equal to or less than the Buffer Size.
Bits 06 through 04: Reserved - These bits are reserved and should be written to zero.
Bits 03 through 00: CH S[3:0]: Channel Select - The field selects the channel to be scanned.
Example: A Buffer Size of eight has been programmed in the Buffer Size
Register. The desired scan sequence is (0, 1, 0, 2, 0, 3, 0, 4.)
95
User Calibration Coefficients 3
User Calibration Coefficients
This area of SRAM contains the gain and offset coefficients for each channel in each of
the gain/filter settings. These coefficients may be user modified to compensate for
gain or offset errors in input signal sources such as sensors or amplifiers. In response
to a power up or VMEbus reset or in response to a Calibration Command, this area is
overwritten with the gain/offset coefficients stored in EEPROM. Updates to the User
Calibration Coefficients are retrieved by the DSP when a change in configuration is
detected or when the Abort/Restart Scan Command is issued. The organization of
these coefficients is as shown in Table 3-43.
96
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
97
User Calibration Coefficients 3
Bit 15: GNl13:0] - Code representing the residual (in excess of 1) gain applied to the
given channel.
Bits 15 through 00: Offsetl15:0] - Two’s Complement code representing the channel offset.
Example:
A VMIVME-3119 has channel 0 configured for the ±10 V range and 1 kHz Filter. A
User wishes to change the gain coefficient to provide a gain of 1.01 instead of the
default 1.00 and wishes also to offset the input signal by +1.0 mV. The user must first
read the gain and offset for channel 0. The gain is read from address offset $00 0800
and is denoted here by m. The offset is read from address offset $00 0820 and is
denoted here by b. Note that m and b as read from the VMIVME-3119 are HEX codes.
First, the user must determine the uncorrected channel gain denoted here by an a.
This is found by solving the equation:
a x (1 + m /215) =1.00
For this example, let m = 140h =320. Also let b = 4h = 4.
a = 1.00 / (1 + 320 /215) = 0.99032882
Next, solve for the new gain coefficient, denoted here by m',
a x (1 + m’/215 = 1.01 so m' = { (1.01 /0.99032882 ) -1 } x 215
98
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
= 650.879 ~ 28Bh
Therefore for a gain of 1.01, the code to be written back to address offset $00 0800 is
28Bh.
The desired offset is +1.0 mV. Determine the HEX code corresponding to this offset
and denote as c. Also denote the new offset as b’.
c = +0.001 V/(10 V/215) = 3.278 ~ 3h
and b’ = b + c = 4h +2h = 6h
Therefore, the new offset to be written to address offset $00 0820 is 6h.
99
Sample Buffer (SPL) 3
Sample Buffer (SPL)
The SPL is a up to 8 Mbyte (4 MSample) buffer for sample storage. The size of the
buffer is programmed in the Buffer Size Register. Table 3-46 shows the Sample Buffer,
Table 3-47 is the bit map for the Sample Buffer Register.
Bits 15 through 00: SMPL[15:0] - Data representing the sample voltage. Table 3-48 and Table 3-49
give examples for the three possible data formats.
Table 3-48 Example: Bipolar Input Voltages and Data Representation (Two’s Complement Data Format)
Table 3-49 Example: Bipolar Input Voltages and Data Representation (Offset Binary Data Format)
100
3 VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
101
Maintenance
Maintenance
This section provides information relative to the care and maintenance of VMIC’s
products. If the product malfunctions, verify the following:
• System power
• Software
• System configuration
• Electrical connections
• Jumper or configuration options
• Boards are fully inserted into their proper connector location
• Connector pins are clean and free from contamination
• No components of adjacent boards are disturbed when inserting or removing
the board from the chassis
• Quality of cables and I/O connections
If products must be returned, contact VMIC for a Return Material Authorization
(RMA) Number. This RMA Number must be obtained prior to any return.
102
VMIVME-3119 16-Channel, 16-bit Scanning Analog-to-Digital Board with Programmable Gain and Filter
Maintenance Prints
User level repairs are not recommended. The drawings and tables in this manual are
for reference purposes only.
103
Artisan Technology Group is an independent supplier of quality pre-owned equipment
Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate, representative, or authorized distributor for any manufacturer listed herein.
We're here to make your life easier. How can we help you today?
(217) 352-9330 I [email protected] I artisantg .com