Manuel d'utilisation / d'entretien du produit SVM2608 du fabricant VXI
Aller à la page of 57
SVM2608 4-Channel, 100 kSamples/s Analog-to-Digital Converter U SER ’ S M ANUAL P/N: 82-0066-000 Released February 23, 2007 VXI Technology, Inc. 2031 Main Street Irvine, CA 92614-6509 (949) 955-1894.
VXI Technology, Inc. 2.
www.vxitech.com SVM2608 Preface 3 T ABLE OF C ONTENTS I NTRODUCTION T ABLE OF C ONTENTS ................................................................................................................................................ 3 Certifi cation .
VXI Technology, Inc. 4 SVM2608 Preface Measurement Comm ands ........................................................................................................... ................... 41 Captured Data Calcula tions ...............................
www.vxitech.com SVM2608 Preface 5 C ERTIFICAT ION VXI Technology, Inc. (VTI) certifies that this product met its published specifications at the time of shipment from the factory.
VXI Technology, Inc. 6 SVM2608 Preface D ECLARATION OF C ONFORMITY Declaration of Conformity According to ISO/IEC Guide 22 and EN 45014 M ANUFACTURER ’ S N AME VXI Techn ology, Inc.
www.vxitech.com SVM2608 Preface 7 G ENERAL S AFETY I NSTRUCTIONS Review the f ollowing safety precautions t o avoid bodil y injury and/ or damage to the pr oduct. These precautions m ust be observed duri ng all phases of operatio n or service of thi s product.
VXI Technology, Inc. 8 SVM2608 Table of Contents W ARNINGS (C ONT .) Avoid Electric Shock To avoid electric shock or fire hazard, do not operate this product with the covers removed. Do no t connect or disconnect an y cable, probes, test lead s, etc. while the y are connected to a voltage source.
www.vxitech.com SVM2608 Preface 9 S UPPORT R ESOURCES Support res ources for this pr oduct are availabl e on the Internet and at VXI Technology c ustomer support centers.
VXI Technology, Inc. 10 SVM2608 Preface.
www.vxitech.com SVM2608 Introdu ction 11 S ECTION 1 I NTRODUCTION I NTRODUCTION The SVM Series l everages off VXI Te chnology’s lin e of high-densi ty modular VXIb us instruments, but are optimized for the VMEbus. All SVM instruments are designed to provide all the features of test instrument ation in other plat forms such as GPIB or VXI.
VXI Technology, Inc. 12 SVM26 08 Introducti on 1 x, 2x , 5x , 10 x LP F FI LT ER at tn ga in1 ga in0 CHn + I CHn + CHn– CHn I – ADC 16 DAC TRIG FO RCE PO L DAC EX T T RI G EX T T RI G GL UE LO GIC.
www.vxitech.com SVM2608 Introdu ction 13 The counts stored in m emory are 16 bits SIGNED integers. Th e most significant bit represents the SIGN. Thus, the hex nu mber 0x4000 and the hex n umber of 0x.
VXI Technology, Inc. 14 SVM26 08 Introducti on In absence of a Trigger signal, the acquisition can be forced by setting a contro l bit, the FORCE bit. Forcing an acquisition on a chan nel only starts acq uisition on that channe l. Each channel has its own corresponding FORCE bit.
www.vxitech.com SVM2608 Introdu ction 15 FIFO Mode In FIFO mode, the user can ret rieve data from the board as acquisi tion progresses. T he memory behaves as a FIFO: data is written into a circul ar buffer with new data overwriting older data when the buffer is full.
VXI Technology, Inc. 16 SVM26 08 Introducti on sets. (See 3 Microprocessor Commands for more details on av aila ble commands.) The command is sent to the microprocessor via the Command register. Since there are four independent channels on the boa rd, each of them can take a di fferent com mand and each of them has its own comm and register.
www.vxitech.com SVM2608 Introdu ction 17 HS_CHnI+ 50 Oh m ÷ 1 ÷ 10 + – HS_CHn– 50 Oh m ÷ 1 ÷ 10 DIFF TO SINGLE LPF + – 1x, 2x, 4x OFF SET AD J 12 BI TS TRIG_L V L DAC DA C OFF SET _L VL SIN .
VXI Technology, Inc. 18 SVM26 08 Introducti on P HYSICAL D ESCRIP TION The SVM2608 has a protective coatin g applied to it to en sure that the effects of environ mental hazards are minimized.
www.vxitech.com SVM2608 Introdu ction 19 F RONT P ANEL I NTERFACE W IRING Front-panel co nnector, J101, contains all the i nstrument signal s for the Channels 0 through 3.
VXI Technology, Inc. 20 SVM26 08 Introducti on SVM2608 S PECIFICATIONS G ENERAL S PECIFICATIONS N UMBER OF C HANNELS 4 S AMPLING R ATE Range Resolution Accuracy 0.
www.vxitech.com SVM2608 Introdu ction 21 O PTION 1 - SVM2608-01 N UMBER OF C HANNELS 2 VME BUS I NTERFACE Address Mode Data Transfer Mode A32 D16 or D32 S AMPLING R ATE Range Resolution Accuracy 7.15 Samples/s to 20.0 MSamples/s 8.333 ns 1% M EMORY 1 MSamples per channel V OLTAGE M EASUREMENTS Range Resolution Accuracy ±0.
VXI Technology, Inc. 22 SVM26 08 Introducti on.
www.vxitech.com SVM2608 Prep aration for U se 23 S ECTION 2 P REPARATION FOR U SE I NTRODUCTION When the SV M2608 is unp acked from its ship ping carton, t he contents sho uld include the following it.
VXI Technology, Inc. 24 SVM2608 Prepar ation for Use S ETTING THE B ASE A DDRESS The base address of t he SVM2608 is dete rmined by usi ng the offset value (O V), set by two rot ary switches located on the top edge of the i nterface card ( Figure 2-1), and multiplying it by 2 24 (or 16,777,216) to get th e base address in A32 addr ess space.
www.vxitech.com SVM2608 Prep aration for U se 25 Example 1 OV (decimal) Divide by 16 MSB LSB 25 25 / 16 = 1 w/ 9 rema ining Divide the decimal valu e by 16 to get the MSB and t he LSB. = 0001 1001 The 1 is the M SB, and the remai nder of 9 is the LSB.
VXI Technology, Inc. 26 SVM2608 Prepar ation for Use Example 2 OV (decimal) Divide by 16 MSB LSB 200 200 / 16 = 12 w/ 8 rema ining Divide by 16. = 1100 1000 Convert to MSB and LSB. = C 8 Convert to hexadeci mal. Set the back switch to C and the front switch to 8.
www.vxitech.com SVM2608 Prep aration for U se 27 S ECTION 3 P ROGRAMMING I NTRODUCTION The SVM2608 modules are VMEbus re gister-bas ed devices for high-sp eed D16 or D32 data retrieval. Regi ster-based pro gramming is a series of reads and writes directly to the m odule registers.
VXI Technology, Inc. 28 SVM2608 Progr amming T ABLE 3-1: SVM2608 A32 R EGISTER M AP Note MS = Most Significant LS = Least Significant OFFSET WRITE FUNCTION READ FUNCTION 0x00 Sysfail Control, Interrup.
www.vxitech.com SVM2608 Progr amming 29 OFFSET WRITE FUNCTION READ FUNCTION 0x56 Reserved Result Regist er (Channel 1) – (LS) 0x58 Control (Channel 2) Contr ol (Channel 2) 0x5A Trigger Level (Channe.
VXI Technology, Inc. 30 SVM2608 Progr amming OFFSET WRITE FUNCTION READ FUNCTION 0xB6 Pre-Trigg er Points (Channel 4) – (LS) Pre-Trigger Points (Channel 4) – (LS) 0xB8 Trigger Delay (C hannel 4) .
www.vxitech.com SVM2608 Progr amming 31 With a variet y of systems and b ridges that move the data bet ween different bus t ypes (i.e. VM E to PCI, VXI to P CI, etc.), in order t o assist the user in determining ho w data is ordere d, a known floating point valu e of 0.
VXI Technology, Inc. 32 SVM2608 Progr amming The binary val ues are then co nve rted into a hexadecim al format: Binary Hexadecim al 0000 0000 0 110 0010 0x0062 This determines the data value required for the aforementioned settings.
www.vxitech.com SVM2608 Progr amming 33 Reset, Sys Fail Control, Interrupt Le vels Register (0x00) — Read & Write D2 – D0 INTLVL2 - 0 Interrupt Level - These bits determine the interrupt service level.
VXI Technology, Inc. 34 SVM2608 Progr amming Force Trigger, Start Register (0x02) — Read & Write D5 – D0 START5 – 0 Acquisition Armed - These bits cont rol whether or not the specified channel is to be armed for an acquisition. A channel must remain ARMED for the entire durat ion of the acquisition proces s.
www.vxitech.com SVM2608 Progr amming 35 Control Register (0x08, 0x30, 0x58, 0x80, 0 xA8, 0xD0) — Read & Write D10 LINEAR/FIFO Linear or FIFO Me mory Mode - Determines whether the data is captured in Linear (burst) or FI FO (real time) acquisition mode.
VXI Technology, Inc. 36 SVM2608 Progr amming Control Register (0x08, 0x30, 0x58, 0x80, 0 xA8, 0xD0) — Read & Write D4 FILTER 20 kHz (Cha nnels 0-3)/5 MH z (Chan nels 4-5) LPF Cont rol – This bit enables/disables the low pass frequenc y filter for the low-speed channels and high-speed channels , respectively.
www.vxitech.com SVM2608 Progr amming 37 Sample Rate, High-Speed (0xAC, 0xD4) — Read & Write D15 – D9 Unuse d These bits are reserved for future use. D8 – D0 SAMPRAT24 – 16 Sample Interval – These bits set the high speed sample rate. Bit Weight = 8.
VXI Technology, Inc. 38 SVM2608 Progr amming Trigger Delay (0x1A, 0x42, 0x6A, 0x92, 0xBA, 0xE2) — Read & Write D15 – D0 DELAY15 – 0 Trigger Delay - The trigger delay value is used to set the time between trigger occurren ce and storing of data.
www.vxitech.com SVM2608 Progr amming 39 Command Register (0x22, 0x4A, 0x72, 0x9A, 0 xC2, 0xEA) — Read and Write D15 – D0 CMD15 – 0 Command Register - Writing to this register instructs the microprocesso r to perform the specified fu nction. If this command performs a calculation, the data is returned into the corresponding result register.
VXI Technology, Inc. 40 SVM2608 Progr amming 0x 0 000 0 0x 0 000 2 0 xFFFFC 0 xFFFFE Trig g e r De la y = 0 Trig g e r De la y 0 … 0x 0 000 4 Tri gger S am p l e P o st De l a y Da t a Tri gger Samp.
www.vxitech.com SVM2608 Progr amming 41 M ICROPROCESSOR C OMMA NDS Unless otherwise specified, commands a re issued to each channel’s command register . After issuing a command, th e user must wait until the command is execu ted before issuing a new command to t he same channel.
VXI Technology, Inc. 42 SVM2608 Progr amming 0x0022 = 100 Ω Range Resistance Measurement - Offset Method (2-wire) 0x0023 = 1 k Ω Range Resistance Measurement - Offset Me thod (2-wire) 0x0024 = 10 .
www.vxitech.com SVM2608 Progr amming 43 Resistance Measurement – Offset Method The value returned by the resistance measurem ent offset commands (0x00 22 through 0x002D) is calculated using two cu rrent values. A voltage is measured when a current ( I ) is applied to the circuit ( V ON ) as well as when the current is not applied ( V OFF ).
VXI Technology, Inc. 44 SVM2608 Progr amming Bit 14 - Measures 128 Ω on t he 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”. For Channel s 4-5: Bit 0 - Measures +0.
www.vxitech.com SVM2608 Progr amming 45 0x0016 = 20 V Measurement 0x0017 = 50 V Measurement 0x0018 = 100 V Measu rement 0x0019 = Auto Vo ltage Measurement 0x0021 = 0.
VXI Technology, Inc. 46 SVM2608 Progr amming WARNING : Calibration comman ds should only be exe cuted by qualified person nel. If you want to perform your own calibrations pl ease contact factory for more information. 0x0020 Correct setup with calibrations 0x1001 Sto re Calibration data in non-vo latile memory.
www.vxitech.com SVM2608 Progr amming 47 0x1028 Set the V Negative 0 .1177 calibration gain value, calibration value. All the calibration commands u se the channel’s base address at offs et zero (0x000000 for Channel 0, 0x200000 for Chann el 1, 0x400000 for Channel 2 and 0x600000 for Chann el 3) for communication with the processor.
VXI Technology, Inc. 48 SVM2608 Progr amming The aforement ioned errors a re reported f or the followi ng reasons: NO_ERROR There are no errors in the queue.
www.vxitech.com SVM2608 Progr amming 49 Diagnostic Commands The following comman ds in combinatio n w ith the Self-Test command (see measurement commands sect ion above) hel p diagnose pr oblems wit h the board. 0x3000 Read the self-test register. 0x3001 Read the self-test relay register.
VXI Technology, Inc. 50 SVM2608 Progr amming FLASH Memory Progr amming Commands The followi ng commands can be used to change the content of the FLASH m emory. Th e FLASH memory stores the board’s software (execute d by the micropr ocessor) and firm ware (what programs the two FPGAs on the board).
www.vxitech.com SVM2608 Progr amming 51 E XAMPLES Example 1: Setting the Channel 2 and 4 Sample Rate to 123 ms (8.1 3 kHz) The sample ra te clock for an in dividual low -speed channel (C hannels 0 – 3) i s generated by dividing a 0.
VXI Technology, Inc. 52 SVM2608 Progr amming Write 0x0D40 @ Base address + 0xC0006 2 Method 2 : Make on e 32 bits write. Write 0x00030D40 @ Base address + 0xC00060 Example 3: Setting Channel 2 to Pre-.
www.vxitech.com SVM2608 Progr amming 53 Write 0x0016E3 60 @ Base address + 0xC00068 If the Sample Rate register from Example 1 (0x0012C4B0 correspo nding to a sample rate of 123 ms) and the Trigger Delay in Example 4 above a re set on the SVM2608, the fi rst sample is taken 1,500,000 x 123 ms = 184,500 secon ds (51.
VXI Technology, Inc. 54 SVM2608 Progr amming.
www.vxitech.com SVM2608 Appendix A 55 A PPENDIX A A PPENDIX A D ATA S WAPPING E XAMPL E An example i s provided below detailing how data m ight be swapped in to get a RE AL number when the dat a is read “swa pped”. In order to make the co de easier to unde rstand, only the portio n that shuffles the data is presented here.
VXI Technology, Inc. 56 SVM260 8 Appendix A.
www.vxitech.com SVM2608 Index 57 I NDEX A A/E LED ........................................................................... 19 A32 address space.............................................................37 A32 base addr ess .......................
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté VXI SVM2608 c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du VXI SVM2608 - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation VXI SVM2608, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le VXI SVM2608 va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le VXI SVM2608, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du VXI SVM2608.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le VXI SVM2608. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei VXI SVM2608 ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.