
APDCAM User’s Guide
Page 23/32
3.4. Control
unit
The Control unit fulfils the following tasks:
Detector bias voltage setting
Detector temperature control,
Shutter open/close,
Calibration light setting,
Temperature measurements,
Fan control for regulating the camera internal temperature.
The operating parameters of the Control unit can be found in its register table listed in
Table 8 and Table 9
. The unit stores its actual settings in an EEPROM non volatile mem-
ory. After power on the registers marked with EEPROM reload their data from this stor-
age. These way settings need not be always re-entered from scratch. There is one impor-
tant exception from this rule, the BIAS_ON and BIAS_ENABLE registers are set to 0 on
power on. This causes the detector voltage to be switched off but the set value preserved
in BIAS_SET.
The factory default values can be recovered by writing a code into the FAC-
TORY_RESET register.
The electronics version code and the microcontroller program version code can be
read from the BOARD_VERSION and MC_VERSION registers, respectively. The
unique serial number of the board is stored in BOARD_SERIAL.
After power-up the red-green bicolor Control LED is lit green on the camera back-
plate. If the Control unit encounters a fatal problem this LED is red.
3.4.1. Detector bias voltage setting
In order to prevent accidental setting by e.g. software error the detector bias voltage is
set in several steps. First the required value is entered in the BIAS_SET register. Please
note the conversion factor. The Control unit limits bias voltage to a maximum value
(BIAS_MAX) set during factory calibration. This aims at setting a detector-specific
maximum. If the user tries to set a bias voltage higher than this maximum only the
maximum will be set and an error code is written into ERROR_CODE.
After setting the voltage the output should be enabled by writing code hex $AB to
BIAS_ENABLE. As a final step the voltage can be switched on by setting bit 0 in
BIAS_ON. The actual bias voltage can be read in BIAS_MONITOR. After the switch-on
procedure the set value can be changed if a different voltage is intended to be set.
When the bias voltage is enabled and switched on the blue HV LED is lit on the cam-
era backplate.
3.4.2. Temperature control
The detector can be cooled/heated by a Peltier element. Depending on its current di-
rection this pumps heat in either directions between the detector and a heatsink. The de-
tector temperature is measured and available in TEMP_DETECTOR. This value is com-
pared by the control unit against a set value (DET_TEMP_SET) and the Peltier current is