![Teledyne SP Devices ADQ7DC Manual Download Page 10](http://html1.mh-extra.com/html/teledyne-sp-devices/adq7dc/adq7dc_manual_1081091010.webp)
19-2233 PC2
2019-02-01
10(50)
ADQ7DC Manual
16-1796 PC2 2019-02-01
10(50)
cal position for the A/D converter. In this way, the full 14 bits can be used for representing the unipolar
pulse. The DC-offset is set with the command
SetAdjustableBias
.
The DC-offset is set in digital codes
DC_OFFSET_CODE
in the range [-2^15: 2^15-1], which correspond
to an analog signal level in the range:
[ –ACTUAL_ANALOG_RANGE / 2: ACTUAL_ANALOG_RANGE / 2 ].
(3)
To determine the parameter of
SetAdjustableBias
to get a DC-offset at the voltage level
DC_OFF-
SET_ANALOG
, use:
DC_OFFSET_CODE = round ( DC_OFFSET_ANALOG / ( ACTUAL_ANALOG_RANGE / 2 ) * 2^15 )
(4)
Since the digitizer has higher resolution than the intrinsic accuracy of the DC-offset generator, the
actual digital codes read out from the ADQ may differ from the expected level. For accurate baseline
measurements, the Digital Baseline Stabilizer (DBS) offers a digital correction of the baseline to an
accuracy of 22 bits,
2.3 Adjusting the digital gain and offset
The digital gain and offset block is primarily intended for factory calibration but it may also be accessed
by the user, and offers an efficient way of scaling the signal to suit processing in the PC.
The default setting is the calibration parameters
CAL_GAIN
and
CAL_OFFSET
. The raw data from the A/
D converter,
ADC_RAW_CODE
, is corrected with the calibrated values according to:
DIGITAL_OUTPUT_CODE = ADC_RAW_CODE * CAL_GAIN – CAL_OFFSET
(5)
The user can override these settings by using the software command
SetGainAndOffset
. The parameter
USER_GAIN
and
USER_OFFSET
can be applied in two ways; relative to the calibrated value or relative
to the raw code.
The normal mode of operation is to apply the gain and offset settings relative to the calibrated data as
DIGITAL_OUTPUT_CODE =
ADC_RAW_CODE * CAL_GAIN * USER_GAIN – CAL_OFFSET – USER_OFFSET.
(6)
By setting bit 7 in the channels parameter, the calibration data is overridden as:
DIGITAL_OUTPUT_CODE = ADC_RAW_CODE * USER_GAIN – USER_OFFSET
(7)
To get the raw code,
ADC_RAW_CODE
, use
SetGainAndOffset(128+CHANNEL,1024,0)
.