Instruction/ maintenance manual of the product VM4016 VXI
Go to page of 93
bu s VM4016 A NALOG C OMPARATOR U SER ’ S M ANUAL 82-0022-000 Rev. December 1, 2003 VXI Technology, Inc. 2031 Main Street Irvine, CA 92614-6509 (949) 955-1894.
2.
www.vxitech.com VM4016 Preface 3 T ABLE OF CONTENTS I NTRODUCTION Certifi cation .................................................................................................................. ........................................5 Warranty ....
VXI Technology, Inc. 4 VM4016 Preface Comm on SCPI Comm ands .................................................................................................................................... 52 *CLS .................................................
www.vxitech.com VM4016 Preface 5 C ERTIFICATION VXI Technology, Inc. (VTI) certifies t hat this product m et its publis hed specifications at the t ime of shipm ent from the factory.
VXI Technology, Inc. 6 VM4016 Preface D ECLARATION OF C ONFORMITY Declaration of Conformity According to ISO/IEC Guide 22 and EN 45014 M ANUFACTURER ’ S N AME VXI Technology, Inc.
www.vxitech.com VM4016 Preface 7 G ENERAL S AFETY I NSTRUCTIONS Review the following safety precau tions to avoid bodily injury a nd/or damage to the product. These precautions must be observed during all phase s of operation or service of this product.
VXI Technology, Inc. 8 VM4016 Preface W ARNINGS (C ONT .) Avoid Electric Shock To avoid electric shoc k or fire hazard, do not operate this product with the covers rem oved. Do not connect or disconnect any cable, probes, test leads, etc. while they are connected to a voltage source.
www.vxitech.com VM4016 Preface 9 S UPPORT R ESOURCES Support resources for this product are availa ble on the Internet and at VXI Technology customer support centers.
VXI Technology, Inc. 10 VM4016 Preface.
www.vxitech.com VM4016 Preparation for Use 11 S ECTION 1 I NTRODUCTION I NTRODUCTION The VM4016 is a high-performance Anal og Comparator m odule which has been designed to monitor analog si gnals and cause VXIbus interrupts t o occur when programm ed input lim its have been exceeded.
VXI Technology, Inc. 12 VM4016 Preparation for Use Regardless of whether the VM 4016 is configured with other VM 4016 modules or with other VMIPmodules, each group of 16 channels is treated as an independent instrum ent in the VXIbus chassis and, as such, each group has its own FAIL and ACCESS light.
www.vxitech.com VM4016 Preparation for Use 13 DEBOUNCE 10 uS TO 0.5 S DIFFERENT IAL AMPLIFIER X1 OR X0 .1 COMPAR AT OR 8 BIT DAC CH1+ CH1- INV E RT REGIST ER MASK REGIST ER INT ERRUPT AND F IRS T LIMI.
VXI Technology, Inc. 14 VM4016 Preparation for Use VM4016 G ENERAL S PECIFICATIONS G ENERAL S PECIFICATIONS C HANNELS VM4016-1 VM4016-2 VM4016-3 16 32 48 I NPUT R ANGE ±10.
www.vxitech.com VM4016 Preparation for Use 15 Section 2 S ECTION 2 P REPARATION FOR U SE I NSTALLATION When the VM4016 is unpacked from it s shipping carton, the content s should include the following.
VXI Technology, Inc. 16 VM4016 Preparation for Use S ETTING THE C HASSIS B ACKPLANE J UMPERS Please refer to the chassis User’s Manual for fu rther details on set ting the backplane jum pers.
www.vxitech.com VM4016 Preparation for Use 17 The connector used in the VM4016 is a commonly available 44-pin high de nsity DSUB receptacle connector. A mati ng solder cup pin connector from AM P is included, crim p type connectors are available from a variety of sources.
VXI Technology, Inc. 18 VM4016 Preparation for Use The mating connect or to J200, J201 or J202 is availabl e from the followi ng company: Assmann Electronic, Inc. P/N AHDS44LL-T Mating Connector The pin locations for J200, J201 and J202 are shown in Figure 2-2.
www.vxitech.com VM4016 Programm ing 19 S ECTION 3 P ROGRAMMING E XAMPLES OF SCPI C OMMANDS FETCH:CONDITIONED? The FETCh:CONDition query returns the 16-bit value that represent s the current conditioned (masked and inverted) stat e of the inputs.
VXI Technology, Inc. 20 VM4016 Programmi ng FETCH:LATCHED? The FETCh:LATChed query retu rns a 16-bit valu e that reports the active sig nals in the First Latched register. The First Latched regi ster records the active signals when the first new input channel crossed its threshold.
www.vxitech.com VM4016 Programm ing 21 FETCH:RAW? The FETCh:RAW query returns the 16-bit value that represents the current unconditioned (unmasked and non-inverted) st ate of the i nputs. It is important to not e that the above information is also available at t he register level at offset 0x20.
VXI Technology, Inc. 22 VM4016 Programmi ng INHOUSE:PSEUDO The INHOUSE:PSEUDO command controls the use of the register interface. Pseudo set true specifies that pseudo register interface should be used. Pseudo set false specifies that the hardware register interface should be used.
www.vxitech.com VM4016 Programm ing 23 INHOUSE:REGINT The INHOUSE:REGINT command controls the ty pe of module’s response to an i nterrupt acknowledge cycle [ack cycle]. When regint i s set to false, the m odule uses reqt | reqf (request true | request false), prov ided the latched interrup t bit is set in the SRE.
VXI Technology, Inc. 24 VM4016 Programmi ng INHOUSE:REG_ENABLE The INHOUSE:REG_ENABLE comma nd controls th e masking for REGINT. REG_ENABLE 0 means that backplane i nterrupts cannot be generated. If the REG_ENAB LE is 1, then backplane interrupts can be generated.
www.vxitech.com VM4016 Programm ing 25 INHOUSE:CLEAR_LATCH The INHOUSE:CLEAR_LATCH comma nd determines wh ether the first latched information will be cleared when the informat ion is read by word serial FETch:LATChed? Comm and or if pseudo is set and a register read o f the first latched information occurs.
VXI Technology, Inc. 26 VM4016 Programmi ng INPUT:DEBOUNCE The INPut:DEBounce comm and sets the time period for the digital debounce circuitry. This comm and affects all the 16 channels of the instrum ent. It is important to not e that the debounce resolution is 9.
www.vxitech.com VM4016 Programm ing 27 INPUT:MASK The INPut:MASK com mand enables or di sables input channels from generating interrupts or recording data in the conditi onal register. If a channel is program med to be ON or 1, then it is enabled to generate inte rrupts.
VXI Technology, Inc. 28 VM4016 Programmi ng INPUT:MASK:INTERRUPT The INPut:MASK:INTerrupt com mand enables or disables interrupt generation when changing MASK values. When set to 0 (the *RST state) , interrupts are temporar ily disabled whenever MASK values are changed.
www.vxitech.com VM4016 Programm ing 29 INPUT:OFFSET The INPut:OFFSet comm and sets the input threshold for a channel or group of channel s, over which the input signal m ust cross to cause an interrupt event. This com mand sets the value i n the 8-bit DAC to which the input signal is compared.
VXI Technology, Inc. 30 VM4016 Programmi ng INPUT:POLARITY The input polarity com mand selects the input polarit y for one or more channels. When a channel is programmed for norm al polarity, an interrupt will be generated when the input voltage is greater than the programme d input offset for th e channel.
www.vxitech.com VM4016 Programm ing 31 INPUT:RANGE The input range command sel ects the input range of one or m o re channels. The input range m ay be either set for ±10 volts or ± 100 volts. It i s import ant to note that t he input offset is norm alized to ± 10 volt range.
VXI Technology, Inc. 32 VM4016 Programmi ng OUTPUT:POLARITY:EXTERNAL:INTERRUPT The output polarity external i n terrupt comm and sets the polarity of the front panel i nterrupt output. When the poarity is set to no rmal, the output will be low when there is an interrupt event.
www.vxitech.com VM4016 Programm ing 33 OUTPUT:POLARITY:EXTERNAL:LATCHED The output polarity external latched com mand sets the polarity of the front panel latched interrupt output. W hen the p olarity is set to normal, the outpu t will be low when there is an in terrupt event.
VXI Technology, Inc. 34 VM4016 Programmi ng A PPLICATION E XAMPLES This section contains examples of using SCPI com mand strings for programm ing the VM4016 module.
www.vxitech.com VM4016 Programm ing 35 S INGLE C HANNEL O PERATION This example i s for controlling a device that can t olerate a m aximum input voltage level at +35 VDC for a maxim um tim e of 250 ms before da m age will occur. The input power to this device is provided from a remote source that can be disabl ed.
VXI Technology, Inc. 36 VM4016 Programmi ng DACDATA DACL OAD# DA CCLK TRIGLEV1 U8 DAC C ON T ROL + - 4. 7K 47 0K 1K COMPCH1 4. 7K VCC BUF CH1 (FRONT PANEL CONNECTOR) U1 3A U3 + - 10pf 2K 6K 10 0K 10 K 10 0K 10 0K +CH1 -CH 1 U1 7A K9 10 0K 10 K K9 DATA 0-15 ADDR ESS 0-5, 29 4.
www.vxitech.com VM4016 Programm ing 37 The comm and and data for the SCPI comm and INP:DEB is received by the control (U1) and data (U4) buffers and routed to the control FPGA (U3). The register for the debounce circuit ry is contained internally in the control FPGA.
VXI Technology, Inc. 38 VM4016 Programmi ng B RACKETING A V OLTAGE In this example, an input voltage level will be bracketed for an over or under-voltage error condition. The input voltage of 5.0 V will be monitored for an over-voltage of 5.25 V and an under-voltage of 4.
www.vxitech.com VM4016 Programm ing 39 DACD ATA DACL OAD# DA CCLK TRIGLEV1 U8 DAC C ON T RO L + - 4. 7K 47 0K 1K COMPCH1 VCC + - 10pf 2K 6K 10 0K 10 K 10 0K 10 0K +CH1 -CH 1 U1 7A K9 10 0K 10 K K9 4.
VXI Technology, Inc. 40 VM4016 Programmi ng The comm ands for the SCPI comm ands INP:MASK are received by the control (U1) and data (U4) buffers and routed to the control FPGA (U3). The m ask register circuitry is contained internally in the control FPGA.
www.vxitech.com VM4016 Programm ing 41 R EGISTER A CCESS E XAMPLES T ABLE 3-1: R EGISTER M AP 3E 3C 3A 38 Interrupt enable (writ e only, pseudo only) 36 34 32 30 First latched (read onl y) 2E 2C 2A 28.
VXI Technology, Inc. 42 VM4016 Programmi ng The VM4016 module supports direct register access for very high-sp eed data retrieval. The register map is as specified in Table 3-1. In order to access the raw data using register access, the register at offset 0x20 m ust be read.
www.vxitech.com VM4016 Programm ing 43 P SEUDO R EGISTER A CCESS The VM4016 can be operated upon us ing (a) Word Serial Commands or (b) Register Access. The VM4016 allows two types of register accesses (a) Direct Register Access using Hardware registers (b) Pseudo Register Access.
VXI Technology, Inc. 44 VM4016 Programmi ng VXI PLUG & PLAY D RIVER E XAMPLES /************************************************************************** Function: vtvm4016_setup_and_read_data Formal Parameters ViSession instr_hndl - A valid sessionandle to the instrument.
www.vxitech.com VM4016 Programm ing 45 ViPInt16 first_latched_reg - This parameter returns the first input channel which crosses the programmed threshold voltage. ViPInt16 raw_data - This returns the 16 bit value that represents the current unconditioned [raw] state of the inputs.
VXI Technology, Inc. 46 VM4016 Programmi ng /* Function to set the offset, polarity and voltage range to the channels */ status = vtvm4016_config_channels ( instr_hndl, channel_list, num_of_channels, .
www.vxitech.com VM4016 Comm and Dictionary 47 S ECTION 4 C OMMAND D ICTIONARY I NTRODUCTION This section presents th e instrument command set. It begins with an alphabetical list of all th e comm ands supported by the VM 4016 divided into three sections: IEEE 488.
VXI Technology, Inc. 48 VM4016 Comm and Dictionary T ABLE 4-1: IEEE 488.2 C OMMON C OMMANDS Command Description *RST RST Value *CLS Clears the Status Register X *ESE Sets the Event Status Enable Regis.
www.vxitech.com VM4016 Comm and Dictionary 49 T ABLE 4-2: I NSTRUMENT S PECIFIC SCPI C OMMANDS Command Description RST RST Value FETCh:CONDitioned? Reads back the 16-bit value t hat represents the current conditioned (masked and inverted) out put state of the comparators in the group.
VXI Technology, Inc. 50 VM4016 Comm and Dictionary T ABLE 4-3: SCPI R EQUIRED C OMMANDS Command Description *RST *RST Value STATus:OPERation:CONDition? Queries the Operation Status Condition Re gister. X STATus:OPERation:ENABle Sets the Operation Statu s Enable Register.
www.vxitech.com VM4016 Comm and Dictionary 51 C OMMAND D ICTIONARY The remainder of this section is devoted to the act ual comm and dictionary. Each command is fully described on its own page. In defining how each comm and is used, the following items are described: Purpose Describes the purpose of the comm and.
VXI Technology, Inc. 52 VM4016 Comm and Dictionary C OMMON SCPI C OMMANDS *CLS Purpose Clears all status and event registers Type IEEE 488.2 Comm on Comm and Command Syntax *CLS Command Parameters N/A.
www.vxitech.com VM4016 Comm and Dictionary 53 *ESE Purpose Sets the bits of the Even t Status Enable Register Type IEEE 488.2 Comm on Comm and Command Syntax *ESE <mask> Command Parameters <m.
VXI Technology, Inc. 54 VM4016 Comm and Dictionary *ESR? Purpose Queries and clears the Standa rd Event Status Register Type IEEE 488.2 Comm on Comm and Command Syntax N/A Command Parameters N/A *RST .
www.vxitech.com VM4016 Comm and Dictionary 55 *IDN? Purpose Queries the modul e for its identificat ion string Type IEEE 488.2 Comm on Comm and Command Syntax N/A Command Parameters N/A *RST Value N/A.
VXI Technology, Inc. 56 VM4016 Comm and Dictionary *OPC Purpose Sets the OPC bit in the Event Statu s Register Type IEEE 488.2 Comm on Comm and Command Syntax *OPC Command Parameters N/A *RST Value N/.
www.vxitech.com VM4016 Comm and Dictionary 57 *RST Purpose Resets the modul e’s hardware and software to a known state Type IEEE 488.2 Comm on Comm and Command Syntax *RST Command Parameters N/A *RS.
VXI Technology, Inc. 58 VM4016 Comm and Dictionary *SRE Purpose Sets the service request enable register Type IEEE 488.2 Comm on Comm and Command Syntax *SRE <mask> Command Parameters <mask&g.
www.vxitech.com VM4016 Comm and Dictionary 59 *STB? Purpose Queries the Status Byte Register Type IEEE 488.2 Comm on Comm and Command Syntax N/A Command Parameters N/A *RST Value N/A Query Syntax *STB.
VXI Technology, Inc. 60 VM4016 Comm and Dictionary *TRG Purpose Causes a trigger event to occur Type IEEE 488.2 Comm on Comm and Command Syntax *TRG Command Parameters N/A *RST Value N/A Query Syntax N/A Query Parameters N/A Query Response N/A Description The Trigger comm and causes a trigger even t to occur.
www.vxitech.com VM4016 Comm and Dictionary 61 *TST? Purpose Causes a self-test procedure to occur and queries the results Type IEEE 488.2 Comm on Comm and Command Syntax N/A Command Parameters N/A *RS.
VXI Technology, Inc. 62 VM4016 Comm and Dictionary *WAI Purpose Halts execution of add itional commands and queries until the No Operation Pending message is true Type IEEE 488.
www.vxitech.com VM4016 Comm and Dictionary 63 I NSTRUMENT S PECIFIC SCPI C OMMANDS FETCh:CONDitioned? Purpose Returns the state of the condit ioned (masked and invert ed) inputs Type Query Command Syn.
VXI Technology, Inc. 64 VM4016 Comm and Dictionary FETCh:LATChed? Purpose Reports the active sign als in the First Latched register Type Query Command Syntax N/A Command Parameters N/A *RST Value N/A .
www.vxitech.com VM4016 Comm and Dictionary 65 FETCh:RAW? Purpose Returns the state of the uncondi tioned (unmasked and non-i nverted) inputs Type Query Command Syntax N/A Command Parameters N/A *RST V.
VXI Technology, Inc. 66 VM4016 Comm and Dictionary INHOUSE:CLEAR_LATCH Purpose Controls whether the first latched info rmation will be cleared when read by word serial or pseudo register access of the.
www.vxitech.com VM4016 Comm and Dictionary 67 INHOUSE:PSEUDO Purpose Controls the use of the register interface Type Setting Command Syntax INHOUSE:PSEUDO <boolean> Command Parameters <boolea.
VXI Technology, Inc. 68 VM4016 Comm and Dictionary INHOUSE:REGINT Purpose Controls the m odule’s response type to an interrupt acknowledge cycle Type Setting Command Syntax INHOUSE:REGINT <boolea.
www.vxitech.com VM4016 Comm and Dictionary 69 INHOUSE:REG_ENABLE Purpose Controls the m asking of REGINT Type Setting Command Syntax INHOUSE:REG_ENABLE <boolean> Command Parameters <boolean&g.
VXI Technology, Inc. 70 VM4016 Comm and Dictionary INPut:DEBounce Purpose Sets the debounce time Type Setting Command Syntax INPut:DEBounce <value> Command Parameters <value> = 9.6 µ s to 0.6291456 s *RST Value 19.2 µ s Query Syntax INPut:DEBounce? Query Parameters N/A Query Response Numeric ASC II value from 0.
www.vxitech.com VM4016 Comm and Dictionary 71 INPut:MASK Purpose Masks unused input channels Type Setting Command Syntax INPut:MASK <state>,<channel_list> Command Parameters <channel_li.
VXI Technology, Inc. 72 VM4016 Comm and Dictionary INPut:MASK:INTerrupt Purpose Enable or disable interrupt generation when changing MASKs Type Setting Command Syntax INPut:MASK:INTerrupt <boolean&.
www.vxitech.com VM4016 Comm and Dictionary 73 INPut:OFFSet Purpose Sets the input threshol d for a group of channels Type Setting Command Syntax INPut:OFFSet <voltage_level>,<channel_list> Command Parameters <voltage_level> = +9.96 volt s to -10.
VXI Technology, Inc. 74 VM4016 Comm and Dictionary INPut:POLarity Purpose Sets the input polarit y for one or more channels Type Setting Command Syntax INPut:POLarity <polarity>,<channel_list.
www.vxitech.com VM4016 Comm and Dictionary 75 INPut:RANGe Purpose Sets the input range for one or more channels Type Settin g Command Syntax INPut:RANGe <range>,<channel_list> Command Para.
VXI Technology, Inc. 76 VM4016 Comm and Dictionary OUTPut:POLarity:EXTernal:INTerrupt Purpose Sets the interrupt out put polarity on t h e front panel Type Setting Command Syntax OUTPut:POLarity:EXTer.
www.vxitech.com VM4016 Comm and Dictionary 77 OUTPut:POLarity:EXTernal:LATChed Purpose Sets the latched interrupt output pol arity on the front panel Type Setting Command Syntax OUTPut:POLarity:EXTern.
VXI Technology, Inc. 78 VM4016 Comm and Dictionary R EQUIRED SCPI C OMMANDS STATus:OPERation:CONDition? Purpose Queries the Operation Status Condition Regi ster Type Required SCPI command Command Synt.
www.vxitech.com VM4016 Comm and Dictionary 79 STATus:OPERation:ENABle Purpose Sets the Operation Status Enable Register Type Required SCPI command Command Syntax STATus:OPERation:ENABle <NRf> Co.
VXI Technology, Inc. 80 VM4016 Comm and Dictionary STATus:OPERation[:EVENt]? Purpose Queries the Operation Status Event Register Type Required SCPI command Command Syntax None – query only Command P.
www.vxitech.com VM4016 Comm and Dictionary 81 STATus:PRESet Purpose Presets the Status Registers Type Required SCPI command Command Syntax STATus:PRESet Command Parameters None *RST Value N/A Query Syntax None – comm and only Query Parameters N/A Query Response N/A Description The Status Preset command presets the Stat us Registers.
VXI Technology, Inc. 82 VM4016 Comm and Dictionary STATus:QUEStionable:CONDition? Purpose Queries the Questionable Status Condition Regi ster Type Required SCPI command Command Syntax None – query o.
www.vxitech.com VM4016 Comm and Dictionary 83 STATus:QUEStionable:ENABle Purpose Sets the Questionable Status Enable Register Type Required SCPI command Command Syntax STATus:QUEStionable:ENABle <N.
VXI Technology, Inc. 84 VM4016 Comm and Dictionary STATus:QUEStionable[:EVENt] Purpose Queries the Questionable Status Event Register Type Required SCPI command Command Syntax None – Query Only Comm.
www.vxitech.com VM4016 Comm and Dictionary 85 SYSTem:ERRor? Purpose Queries the Error Queue Type Required SCPI command Command Syntax None – query only Command Parameters N/A *RST Value N/A Query Sy.
VXI Technology, Inc. 86 VM4016 Comm and Dictionary SYSTem:VERSion? Purpose Queries the SCPI version number to which the VM4016 com plies Type Required SCPI command Command Syntax None – query only C.
www.vxitech.com VM4016 Theory of Operation 87 S ECTION 5 T HEORY OF O PERATION I NTRODUCTION The VM4016 is a high-perform ance Analog Comparator module with 16 input channels per VMIP daughter modul e. Each input channel consists of a different ial am plifier with a gain of 1 or 0.
VXI Technology, Inc. 88 VM4016 Theory of Operation I NPUT R ANGE C ONTROL The Input Range or gain control for each of th e sixteen channels is accomplished by U3, the control FPGA, the data and com mand buffers U4 and U1, the relay drivers, U15 and U16 and relays K1 through K16 (see Figure 5-1).
www.vxitech.com VM4016 Theory of Operation 89 RELAYDATA RELAYUPDATE REL AYCLK RELAY ENA* C ON T RO L U3 BA 0-5, 29 U1 5 U1 6 + - 10pf 2K 6K 10 0K 10 K 10 0K 10 0K +CH1 -C H1 U1 7A SEROUT SERIN VCC K9:.
VXI Technology, Inc. 90 VM4016 Theory of Operation S IGNAL C OMPARISON Signal comparison between the input signal and a user-defined reference voltage is accom plished by a differential am plifier, an 8-bit Digital t o Analog Converter or DAC and a volt age comparator (see Figure 5-2).
www.vxitech.com VM4016 Theory of Operation 91 The input voltage or signal is applied to t he non-inverting input of the differential amplifi er, U17A. The output voltage of U17A is divided by four (4) for com pensation of the DAC’s full range output of ±3 V.
VXI Technology, Inc. 92 VM4016 Theory of Operation F IGURE 5-3: I NTERRUPT G ENERATION.
www.vxitech.com VM4016 Index 93 I NDEX * *CLS ................................................................................. 52 *ESE .................................................................................53 *ESR? .........................
An important point after buying a device VXI VM4016 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought VXI VM4016 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data VXI VM4016 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, VXI VM4016 you will learn all the available features of the product, as well as information on its operation. The information that you get VXI VM4016 will certainly help you make a decision on the purchase.
If you already are a holder of VXI VM4016, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime VXI VM4016.
However, one of the most important roles played by the user manual is to help in solving problems with VXI VM4016. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device VXI VM4016 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center