C.A.E.N. Technical Information Manual

MOD. C193

32 CHANNEL PROGRAMMABLE DISCRIMINATOR


Table of contents

1. DESCRIPTION
1.1 FUNCTIONAL DESCRIPTION
2. SPECIFICATIONS
2.1 PACKAGING
2.2 EXTERNAL COMPONENTS
2.3 CHARACTERISTICS OF THE SIGNAL
2.4 POWER REQUIREMENTS
3. CAMAC FUNCTIONS
4. OPERATING MODES
4.1 LOCAL MODE
4.2 REMOTE MODE
4.3 OUTPUT PULSES WIDTH ADJUSTMENT
5. CALIBRATION PROCEDURE
5.1 NECESSARY INSTRUMENTS
5.2 PRELIMINARY OPERATIONS
6. TEST PROCEDURE
FUNCTIONAL BLOCK DIAGRAM OF THE MODULE

1. DESCRIPTION

1.1 FUNCTIONAL DESCRIPTION

The model C193 is a 32 channel PROGRAMMABLE DISCRIMINATOR housed in a 2-unit wide CAMAC unit.

Each channel is NON UPDATING type, and consists of a DAC connected with a hybrid discriminator.

The module can be programmed either in local mode (via front panel controls) or in remote mode (via CAMAC). An internal 80C32 microprocessor controls both operating modes.

The module accepts 32 negative differential inputs via the front panel flat cable connector "IN". The corresponding outputs are differential ECL and they are presented at the front panel flat cable connector "OUT". The output pulses width is adjustable via the front panel trimmer "WDT" and it does not depend on the over threshold time. A front panel connector (AN-OUT) allows the output pulses width to be monitored.

For each channel, numbered from 0 to 31, the threshold value can be set in a range from 10 mV to 400 mV (guaranteed) and over (up to 510 mV), in 2 mV steps. The selected threshold values are stored into an internal EEPROM. It is also possible to set the same threshold value for all channels and to increase/decrease it. For this purpose, the module is provided with three dummy channels numbered 92, 93, 94.

The calibration operations are accomplished via CAMAC by using the CAMAC functions in non-standard mode (see par. 5).

The functional block diagram of the module is shown in Figure 1.1.


Figure 1.1 Functional Block Diagram of the Module.


2. SPECIFICATIONS

2.1 PACKAGING

2-unit wide CAMAC module.

2.2 EXTERNAL COMPONENTS

2.3 CHARACTERISTICS OF THE SIGNALS

INPUTS:
OUTPUTS:
INPUT/OUTPUT DELAY:

2.4 POWER REQUIREMENTS

-6 V at 4.8 A (*)

+6 V at 1.3 A (*)

(*) Values referred to the total of analog and digital boards, without output termination.

3. CAMAC FUNCTIONS

F(0) N A(0-15) Reads a channel threshold value, channel 0 to channel 15 (R1+R8).
F(0) N+1 A(0-15) Reads a channel threshold value, channel 16 to channel 31 (R1+R8).
F(16) N A(0-15) Writes a channel threshold value, channel 0 to channel 15 (W1+W8).
F(16) N+1 A(0-15) Writes a channel threshold value, channel 16 to channel 31 (W1+W8).
F(17) N A(1)
or
F(17) N+1 A(1)
Writes the common threshold value (for all channels) (W1 +W8).
F(17) N A(2)
or
F(17) N+1 A(2)
Increases the common threshold value (for all channels) (W1+W8).
F(17) N A(3)
or
F(17) N+1 A(3)
Decreases the common threshold value (for all channels) (W1+W8).
F(24) N
or
F(24) N+1
Disables local mode. After this function has been performed, the module does not operate in local mode.
F(26) N
or
F(26) N+1
Enables local mode.
X response for each valid function.
Q response for each valid function, unless otherwise specified.

4. OPERATING MODES

The model C193 can be programmed either in local (via front panel controls) or in REMOTE mode (via CAMAC).

For both modes, the following paragraphs describe the operations listed below:

If it is necessary, perform the CALIBRATION PROCEDURE (see par. 5.) and adjust the output pulse width as required (see par. 4.3).

4.1 LOCAL MODE

CAUTION: turn OFF the CAMAC crate before inserting or removing the module.

4.1.1 THRESHOLD VALUE SETT1NG (FOR INDIVIDUAL CHANNELS)
  1. Insert the module into a CAMAC slot.
  2. Configure the system as required.
  3. On the module's front panel, set the two-position lever switch "REM" to the unlabelled position: the LOCAL operating mode is enabled.
  4. Turn ON the CAMAC crate. After a few seconds the "CH" display shows "0" (number of the current channel) and the "THR MON" display shows the corresponding threshold value (mV) previously stored into the internal EEPROM.
  5. Let the module warm-up tor at least half an hour.
  6. By the momentary lever switch "UP-DOWN" located on the left side of the module (vertical writing), select the number of the channel for which the new threshold value has to be defined (on the "CH" display the selected channel number is shown).
  7. By the momentary lever switch "UP-DOWN" located on the module's upper side (horizontal writing), select the required threshold value. The threshold value is shown on the "THR MON" display and the corresponding writing is blinking.
  8. Press the "WR" pushbutton: after a few seconds, the selected threshold value is stored into the module's internal EEPROM and the corresponding writing on the "THR MON" display comes steady.
  9. Repeat the procedural steps 6 to 8 for each of the remaining channels.
4.1.2 COMMON THRESHOLD VALUE SETTING
  1. If it is necessary, carry out the steps 1 to 5 listed in the preceding paragraph 4.1.1.
  2. By the momentary lever switch "UP-DOWN" located on the left side of the module (vertical writing), increase the number shown on the "CH" display until it is equal to "92" (*) ("92" is displayed after "31").
  3. By the momentary lever switch "THR" located on the module's upper side, select the required threshold value. This value (mV) is shown on the "THR MON" display and the corresponding writing is blinking.
  4. Press the "WR" pushbutton: after a few seconds, the selected threshold value is stored into the module's internal EEPROM and is assumed for all channels. The corresponding writing on the "THR MON" display becomes steady and the number "92" is shown on the "CH" display.
(*) Three dummy channels are dedicated to the common setting operations:
"92" -> threshold value setting
"93" -> threshold value decrease
"94" -> threshold value increase.
The set threshold value can be increased or decreased by the value shown on the "THR MON" display (previously selected by the quot;THR" switch) by pressing the "WR" push button after having selected die relevant dummy channel.

4.2 REMOTE MODE

CAUTION: turn OFF the CAMAC crate before inserting or removing the module.

4.2.1 THRESHOLD VALUE SETTING (FOR INDIVIDUAL CHANNELS)
  1. Insert the module into a CAMAC slot.
  2. Configure the System as required.
  3. On the module's front panel, set the two position lever switch "REM" to the "REM" position: the REMOTE operating mode is enabled.
  4. Turn ON the CAMAC crate: after a few seconds, the "CH" display shows "0" (number of the current channel) and the "THR MON" display shows the corresponding threshold value (mV) previously stored into the internal EEPROM of the module.
  5. Let the module warm-up for at least half an hour.
  6. According to the selected channel number (0-15, 16-31) perform an F(16) N A(0-15) or an F(16) N+1 A(n) (where n=channel number - 16) CAMAC function with the WRITE Lines W1+W8 set to the required threshold value (resolution = 2 mV per bit): after a few seconds the new threshold value is stored into the internal EEPROM and the two displays "CH" and "THR MON" show the number of the selected channel and the new threshold value (mV) respectively.
Any attempt to perform another CAMAC operation before the new threshold value is shown, will generate X = TRUE and Q = FALSE
4.2.2 COMMON THRESHOLD VALUE SETTING
  1. If it is necessary, carry out the steps 1 to 5 listed in the preceding paragraph 4.2.1.
  2. Perform an F(17) N A(1) or an F(17) N+1 A(1) CAMAC function with the WRITE Lines W1+W8 set to the required threshold value (resolution = 2 mV per bit): after a few seconds, the new threshold value is stored into the module's internal EEPROM, and the two displays "CH" and "THR MON" show, respectively, "0" and the set threshold value (mV).
Any attempt to perform another CAMAC operation before the new threshold value is shown, will generate X = TRUE and Q = FALSE
4.2.2.1 COMMON THRESHOLD VALUE DECREASE
  1. If it is necessary, carry out the steps 1 to 5 listed in the preceding paragraph 4.2.1.
  2. Perform an F(17) N A(2) or an F(17) N+1 A(2) CAMAC function with the WRITE Lines W1+W8 set to the required decrease value (resolution =2 mV per bit): after a few seconds the updated threshold values are stored into the module's internal EEPROM and the two front panel displays show the "0" channel number and the corresponding threshold value.
If the set decrease value causes a threshold to be lower than the minimum allowed value, this threshold will be set to 10 mV (minimum allowed value).
Any attempt to perform another CAMAC operation before the new threshold value is shown, will generate X = TRUE and Q = FALSE
4.2.2.2 COMMON THRESHOLD VALUE INCREASE
  1. If it is necessary, carry out the steps 1 to 5 listed in the preceding paragraph 4.2.1.
  2. Perform an F(17) N A(3) or an F(17) N+1 A(3) CAMAC function with the WRITE Lines W1+W8 set to the required increase value (resolution =2 mV per bit): after a few seconds the updated threshold values are stored into the module's internal EEPROM and the two front panel displays show the "0" channel number and the corresponding threshold value.
If the set increase value causes a threshold to exceed the maximum allowed value, this threshold will be set to the maximum allowed value.
Any attempt to perform another CAMAC operation before the new threshold value is shown, will generate X = TRUE and Q = FALSE
4.2.3 THRESHOLD VALUE READING

To readout any channel threshold value, carry out the following operation:

According to the number of the selected channel perform an F(0) N A(n) or an F(0) N+1 A(n) where

(e.g.: an F(0) N A(15) reads the threshold value from CH 16; and F(0) N+1 A(15) reads the threshold value from CH 31).

The threshold value is shown on the R1+R8 READ Lines.

X = TRUE and Q = TRUE

4.2.4 LOCAL MODE ENABLING

To enable the LOCAL operating mode via CAMAC without switching off the CAMAC crate, carry out the following operations:

  1. On the module's front panel, set the "REM" lever switch to the unlabelled position.
  2. If the local operating mode had been disabled via CAMAC, perform an F(26) N or an F(26) N+1 CAMAC function several times until X and Q responses are TRUE.

4.2.5 LOCAL MODE DISABLING

To disable the LOCAL operating mode, carry out the following operations:

  1. On the module's front panel, set the "REM" lever switch to the "REM" position.
  2. Perform an F(24) N or an F(24) N+1 CAMAC function several times until X and Q responses are TRUE.

4.3 OUTPUT PULSES WIDTH ADJUSTMENT

To change the width of the output pulses, carry out the adjustment operations listed below.

4.3.1 NECESSARY INSTRUMENTS
4.3.2 ADJUSTMENT OPERATIONS
  1. Connect one of the C193 output channels with one of the eight ECL input channels of the N92 module.
  2. Connect the N92 output channel corresponding to the selected input, with the oscilloscope input (terminated in 50 Ohm impedance).
  3. Via Pulse Generator, send an overthreshold input signal to the C193 input channel corresponding to the selected output.
  4. By a screwdriver, turn the "WDT" trimmer (located on the C193 front panel) until the required output pulse width is reached (8 nsec to 35 nsec).

5. CALIBRATION PROCEDURE

Each of the Cl93 channels consists of an 8-bit DAC connected with a hybrid discriminator circuit.

Since the hybrid circuits differ from one another in the offset and amplification parameters, it is necessary to calibrate the module before using it for the first time. For this reason the module is carefully calibrated before delivering it to customers.

The calibration operations are enabled (through the module's internal microprocessor) by inserting the internal jumper "TEST": in this way, the CAMAC functions act as follows:

F(16) N A(0-15) Writes the W1+W8 value into the DACs corresponding to channels 0 to 15.
F(l6) N+1 A(0-15) Writes the W1+W8 value into the DACs corresponding to channels 16 to 31.
F(17) N A(1) Formats the EEPROM. By performing this function, the amplification parameters are set to 1 and the offset ones are set to 0.
F(24) N
followed by
F(16) N A(O-15)
Stores the amplification parameter corresponding to channels 0 to 15 (W1+W8).
F(24) N
followed by
F(16) N+1 A(O-15)
Stores the amplification parameter corresponding to channels 16 to 31 (W1+W8).
F(26) N
followed by
F(16) N A(O-15)
Stores the offset parameter corresponding to channels 0 to 15 (W1+W8).
F(26) N
followed by
F(16) N+1 A(O-15)
Stores the amplification parameter corresponding to channels 16 to 31 (W1+W8).

Whenever a threshold value setting operation is accomplished, the internal software program of the module writes the following value into the DAC corresponding to the selected channel:

NDAC = (NTHR - CO) / CA

where: NTHR = CAMAC THRESHOLD, CO = OFFSET PARAMETER, CA = AMPLIFICATION PARAMETER.

At the same time, on the "THR" front panel display the following value is shown:

NDISPLAY = NTHR *2 (-mV)

The calibration operations consist of setting the CO and CA values for each channel.

5.1 NECESSARY INSTRUMENTS

5.2 PRELIMINARY OPERATIONS

  1. Connect Pulse Generator, Attenuator and Oscilloscope as shown in the figure below:

  2. Generate a pulse having the following characteristics:
    1. width: ~ 10 nsec;
    2. amplitude: ~ -350 mV;
    3. rise time/fall time: 2 nsec;
    4. frequency: 1 MHz.
    Assume the pulse amplitude as VH.
  3. Generate a pulse having the following characteristics:
    1. width, rise time/fall time, frequency: same as at step 2;
    2. amplitude: -30 mV.
    Assume the pulse amplitude es VL.
  4. On the module's printed circuit board, insert the jumper labelled "TEST": the module is now enabled to operate in CALIBRATION MODE.
  5. Connect instruments and modules as shown in the figure below:

    The Attenuator's output has to be connected with the first C193 input channel to be calibrated.

  6. Turn ON instruments and CAMAC crate.
  7. Via Pulse Generator, generate the VH pulse.
  8. Via CAMAC Controller, perform several F(l6) N A(0-15) or F(16) N+l A(CHN°-16) (according to the selected C193 channel) with the W1+W8 WRITE Lines set to decreasing values beginning from 255. When the W1+W8 value is equal to the discrimination threshold corresponding to the VH input pulse (an output signal is shown on the oscilloscope), assume this value as NdacH.
  9. Via Pulse Generator, generate the VL pulse.
  10. Via CAMAC Controller, perform several F(16) N A(0-l5) or F(l6) N+l A(CHN°-16) (according to the selected C193 channel) with the W1+W8 WRITE Lines set to increasing values beginning from 0. When the W1+W8 value is equal to the discrimination threshold corresponding to the VL input pulse (an output signal is shown on the oscilloscope), assume this value as NdacL.
  11. Perform an F(24) N and, after a few seconds, an F(16) N A(0-l5) or F(16) N+1 A(CHN°-16) (according to the selected C193 channel) with the W1+W8 WRITE Lines set to round (50*CA) where:

    CA = (VHVL) / (NdacH-NdacL round=the nearest integer value of...

    After a few seconds, the channel number and the W1+W8 values are shown on the relevant front panel displays.

    THE AMPLIFICATION PARAMETER CORRELATED WITH THE SELECTED CHANNEL IS NOW STORED INTO THE INTERNAL EEPROM OF THE MODULE.

  12. Perform an F(26) N and, after a few seconds, an F(16) N A(0-15) or F(16) N+1 A(CHN°-16) (according to the selected C193 channel) with the W1+W8 WRITE Lines set to:

    round [(VH/2) - (NdacH * CA/100)].

    If the formula above gives a negative result, it is necessary to use the following one:
    (-1) * { round [(VH/2) - (NdacH * CA/100)]} + 128
  13. After a few seconds, the channel number and the W1+W8 value are shown on the relevant panel displays.
    THE OFFSET PARAMETER CORRELATED WITH THE SELECTED CHANNEL IS NOW STORED INTO THE INTERNAL EEPROM OF THE MODULE.

  14. Repeat the procedural steps 7 to 12 for each of the remaining channels.
  15. Turn 0FF instruments and crate.
  16. Remove the "TEST" jumper from the module's printed circuit board.

THE MODULE IS NOW READY TO OPERATE.

The CA und CO values must be such as to give

0 <= {NDAC=(NTHR-CO)/CA} <= 255

If it does not occur, a malfunctioning of the channel is probable.

6. TEST PROCEDURE

6.1 INTRODUCTION

The operations to be performed to test the module are listed in the procedure below and have to be carried out according to their numerical sequence.

None of the procedural steps can be omitted.

Each procedural step contains the operation to be performed and the corresponding effect of verification to be accomplished.

The module's station number N corresponds to the slot in which the edge connector of the module itself is inserted.

6.2 NECESSARY INSTRUMENTS