Difference between revisions of "Happex DAQ for g2p"
From Hall A Wiki
(→Flexible I/O Setting) |
(→18-bit ADC) |
||
Line 54: | Line 54: | ||
==18-bit ADC== | ==18-bit ADC== | ||
+ | 18-bit ADC has two mode: I mode and V mode. One can change three resistors:R18,R14,R159 and a switch to change the mode. | ||
+ | |||
+ | For I mode, R14 and R18 remain in KOhms, and R159 in 5~100 KOhms | ||
+ | |||
+ | For V mode, R14~200 Ohm, R18~300 Ohm, do not need to care about R159 | ||
+ | |||
+ | Here is the [http://hallaweb.jlab.org/experiment/g2p/collaborators/pzhu/wiki/ADC_resistor.jpg position of the resistor] | ||
+ | |||
+ | Here is the [http://hallaweb.jlab.org/parity/prex/adc18/adcx_inv.html mode of each 18-bit ADC in Prex Experiment] | ||
+ | |||
+ | For g2p experiment, Here is the ADC slot distribution: | ||
+ | |||
+ | Left Arm | ||
+ | ADCx 4 15 13 21 7 | ||
+ | address 0x22C000 0xCD0000 0xED0000 0x320000 0xB24000 | ||
+ | mode V V V V V | ||
+ | |||
+ | Right Arm | ||
+ | ADCx 11 20 2 3 5 | ||
+ | address 0xb14000 0xb34000 0x218000 0x318000 0x15C000 | ||
+ | mode V V V V V |
Revision as of 13:13, 4 February 2012
Contents
Happex DAC Value(Right Arm)
DAC Value 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 11000 12000 13000 Output(V) -4.99 -4.84 -4.69 -4.53 -4.38 -4.23 -4.079 -3.927 -3.774 -3.662 -3.47 -3.318 -3.165 -3.013
DAC Value 14000 15000 16000 17000 18000 19000 20000 21000 22000 23000 24000 25000 26000 27000 Output(V) -2.861 -2.709 -2.556 -2.404 -2.252 -2.099 -1.947 -1.795 -1.642 -1.49 -1.338 -1.185 -1.033 -0.88
DAC Value 28000 29000 30000 31000 32000 32767 33000 34000 35000 36000 37000 38000 39000 40000 Output(V) -0.728 -0.576 -0.423 -0.271 -0.119 0 0.0337 0.1862 0.3386 0.491 0.643 0.796 0.948 1.101
DAC Value 41000 42000 43000 44000 45000 46000 47000 48000 49000 50000 51000 52000 53000 54000 Output(V) 1.253 1.405 1.558 1.71 1.863 2.015 2.167 2.32 2.472 2.625 2.777 2.929 3.082 3.234
DAC Value 55000 56000 57000 58000 59000 60000 61000 62000 63000 64000 65000 65535 Output(V) 3.387 3.539 3.691 3.844 3.996 4.15 4.3 4.46 4.61 4.76 4.92 4.99
relationship: Output(v)=0.0001524*DACvalue-4.99558
Happex DAC Value(Counting house)
DAC Value 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 11000 12000 13000 Output(V) -4.99 -4.84 -4.69 -4.53 -4.38 -4.23 -4.08 -3.92 -3.77 -3.62 -3.47 -3.32 -3.16 -3.01
DAC Value 14000 15000 16000 17000 18000 19000 20000 21000 22000 23000 24000 25000 26000 27000 Output(V) -2.86 -2.70 -2.55 -2.40 -2.25 -2.09 -1.949 -1.797 -1.645 -1.492 -1.340 -1.187 -1.034 -0.882
DAC Value 28000 29000 30000 31000 32000 32767 33000 34000 35000 36000 37000 38000 39000 40000 Output(V) -0.729 -0.576 -0.423 -0.270 -0.118 -0.0007 0.034 0.187 0.339 0.492 0.645 0.798 0.951 1.103
DAC Value 41000 42000 43000 44000 45000 46000 47000 48000 49000 50000 51000 52000 53000 54000 Output(V) 1.256 1.409 1.562 1.714 1.867 2.01 2.16 2.31 2.47 2.62 2.77 2.92 3.08 3.23
DAC Value 55000 56000 57000 58000 59000 60000 61000 62000 63000 64000 65000 65535 Output(V) 3.38 3.53 3.69 3.84 3.99 4.15 4.30 4.45 4.60 4.76 4.91 4.99
relationship: Output(v)=0.00015225*DACvalue-4.9901 fitting uncertainty: 0.00000003 for slope, 0.0009 for intercept
Flexible I/O Setting
To use the trigger interrupt from flexible I/O, the switches must be in the positions:
(D2,D1,D0) Latching Signal 0 Input 0 1 Input 1 2 Input 2 3 Input 3 4 External Strobe 5 OR(Input 0,Input 1,Input 2,Input 3) 6 OR(Input 0,Input 1,Input 2,Input 3,External Strobe) 7 No latching Signal
Note: open swtich(OFF) is a "1", closed switch(ON) is a "0"
In main board of FlexIO, there is a switch to choose the priority of interrupt.
18-bit ADC
18-bit ADC has two mode: I mode and V mode. One can change three resistors:R18,R14,R159 and a switch to change the mode.
For I mode, R14 and R18 remain in KOhms, and R159 in 5~100 KOhms
For V mode, R14~200 Ohm, R18~300 Ohm, do not need to care about R159
Here is the position of the resistor
Here is the mode of each 18-bit ADC in Prex Experiment
For g2p experiment, Here is the ADC slot distribution:
Left Arm ADCx 4 15 13 21 7 address 0x22C000 0xCD0000 0xED0000 0x320000 0xB24000 mode V V V V V
Right Arm ADCx 11 20 2 3 5 address 0xb14000 0xb34000 0x218000 0x318000 0x15C000 mode V V V V V