FIV photo

Fastbus Interface to VME (FIV) board

for the OD DAQ Version 2

Since the OD DAQ hardware upgrade to version 2 (Aug. 01, 1996) each of the Fastbus crates in the outer electronics huts is now equipped with this special purpose board. It fully replaces the functions of the former BIP card (Fastbus) and Event Number Splitter card (VME). This board is of "9U" size (14.4" * 15.6") and requires at least 2 slots of free space in the Fastbus crate. It has no requirements for a specific slot number, but to keep all cable connections handy and accessible it is best placed at the outer right handside of the crate, e.g. slot 0 or slot 1.


Overview of this document


Note: This site is best viewed with Netscape Ver.2 or compatible !

Functions

Block Diagram (also available as postscript file):

FIV block diagram

Inputs and Outputs

NameI/Olevelwherefunction
Event Numberinputs17*dECL 40-pin headerReceives the 16-bit event number and optional trigger (if selected) from the EVENT COUNT DRIVER box. Pin assignments:
1/2 = (not used)
3/4 = +/- event number bit 0
5/6 = +/- event number bit 1
-:- = +/- event number bit :
33/34 = +/- event number bit 15
35/36 = +/- optional trigger signal
37...40 = (not used)
Event Numberoutputs16*dECL 34-pin header16-bit driver output for the Struck latch data input. Pin assignments:
1/2 = +/- event number bit 0
3/4 = +/- event number bit 1
-:- = +/- event number bit :
31/32 = +/- event number bit 15
33/34 = (not used)
Chopped Event Numberoutputs 17*dECL34-pin header17-bit "chopped" event number and reference global trigger (T0) driver output for the free channels of TDC data inputs. Pin assignments:
1/2 = +/- output bit 0
3/4 = +/- output bit 1
-:- = +/- output bit :
31/32 = +/- output bit 15
33/34 = +/- output bit 16 (optional)
Struck Stop (STRG)output dECL10-pin headerDriver output for the Struck latch Control Input Port 1. Pin assignments:
1/2 = +/- STRG signal
other = (not used)
BIP cableI/O's3*RS485
+ 1*dECL
8-pin ModularControl signals from and to the VFI module in the center hut VME crate. Pin assignments:
1/2 = dECL input = +/- Struck Stop Trigger (STRG)
3/6 = RS485 input = +/- TDC Common Stop Trigger (FTRG)
4/5 = RS485 input = +/- FSCC Reset pulse
7/8 = RS485 output = +/- TDC BIP signal
CAL cableI/O's4*RS485 8-pin ModularCalibration and Test signals from and to the FCM module in the center hut VME crate. Pin assignments:
1/2 = RS485 input = +/- FSCC Fast Reset pulse (or TDC Clear)
3/6 = RS485 output = +/- Manual Test Trigger
4/5 = RS485 input = +/- Global Trigger (T0 Reference for TDCs)
7/8 = RS485 input = +/- TDC Common Start
FSCC ResetoutputTTL LemoVME-programmable FSCC (full, "slow") Reset signal. Connects to the Reset input near the Reset pushbutton on the FSCC front panel with a short Lemo coax cable.
FSCC TSTRBoutputNIM Lemo200 nsec pulse at the trailing edge of each TDC BIP pulse tells the FSCC that data is ready to read. Connects to the TSTRB input on the FSCC front panel with a short Lemo coax cable.
Trigger (optional)inputNIM LemoOptional (test) trigger input for the event number chopper. [Default = disabled]
FSCC Fast ResetoutputRs485 Dual LemoFast, on-the-fly, reset trigger for the FSCC. Connects to the Input Port of the FSCC module via short twisted-pair cable.
TR0outputECLFastbus backplaneTDC Fast Clear signal, optional control from the VME in the center hut via the "CAL" cable. [Default = disabled, jumper JP9 open]
TR3outputECLFastbus backplaneTDC Common Start signal, optional control or calibration from the VME in the center hut via the "CAL" cable. [Default = disabled, jumper JP10 open]
TR6outputECLFastbus backplaneTDC Common Stop (FTRG) signal, transceived from the VME in the center hut via the "BIP" cable. [Default = enabled, jumper JP11 closed]
TR7inputECLFastbus backplaneTDC BIP signal.


Jumpers, Switches and Trimpots

Check the board layout sketch ( postscript ) for the positions of these items:
JP1:
(labeled "INV") choice of inverting or keeping the event number bits as is before going thru the "chopper" section:

JP2:
(labeled "EDGE") choice of using both edges (leading and trailing) or just the leading edge of the trigger signal for the event number "chopping" method:

JP6:
Select Trigger Source for the "event number chopper" section, by placing a jumper at one of the following pin position choices:

JP9:
Enable TR0 = TDC Clear.

JP10:
Enable TR3 = TDC Common Start.

JP11:
Enable TR6 = TDC Common Stop.

JP13:
Enable Local Test Trigger: With the default setup of the OD DAQ system, a global test trigger will be generated each time the test pusbutton of the FIV board in one of the 4 outer huts has been activated. Optionally, the global test triggering can be disabled within the center hut VME crate and localized for each outer hut by setting this jumper (JP13).

JP14:
[ Not used anymore, keep open !! ]

R98:
Adjust upper threshold ("+REF") of the Fastbus voltage supply monitor from 0V (=-100%) to 5V (=+150%). Use a voltmeter at testpoint TP1. [DEFAULT = +5% = 2.05V]

R99:
Adjust lower threshold ("-REF") of the Fastbus voltage supply monitor from 0V (=-100%) to 5V (=+150%). Use a voltmeter at testpoint TP3. [DEFAULT = -10% = 1.90V].

S1/2:
16 DIP switches (2*8) for "event number chopper" output select. Each of the switches has the following choices: [Default: positions 1...4 of S1 are open, all others closed; i.e. bits 0-3 are event number bits, the others triggers (for T0 reference at the TDC)]

S3:
Manual Test Trigger Pushbutton. Starts a test trigger either remotely through activating a global test trigger in the central hut's VME crate or locally for the single Fastbus crate (see jumper JP13 description).


FIV panel

LEDs and their functions

From top to bottom:
  1. Power good (blue): If this LED is on and the red LED below is completely off, then the Fastbus power supply is working perfectly within its margin. All five voltages are ok!
  2. Power bad (red): This LED will flash approx. twice per second when any of the Fastbus supply voltages isnot operating correctly. Along with the flashing LED you will hear a warning beeper as well.
  3. TR0 (Clear) (red): Status of the TR0 line (= TDC Fast Clear) on the Fastbus backplane. Currently, this function is not used with the OD DAQ setup.
  4. TR3 (Start) (yellow): Status of the TR3 line (= TDC Common Start) on the Fastbus backplane. The Common Start option will only be used during OD DAQ (calibration) tests, and not during regular runs.
  5. TR6 (Stop) (green): Status of the TR6 line (= TDC Common Stop) on the Fastbus backplane. Each time when a Common Stop Trigger is sent from within the VME elctronics of the center hut, you will see this LED briefly flashing.
  6. TR7 (BIP) (orange): Status of the TR7 line (= TDC Busy-In-Progress) on the Fastbus backplane. Indicates whenever the TDCs are busy and not ready (yet) for new data.
  7. Event Number bits (16x yellow): Display of the 16-bit event number status. The top LED inducates the MSB, and the bottom one the LSB.
  8. Struck Stop Trigger (yellow): Sits next to the 10-pin header for the Stop Trigger cable to the Struck Latch. It should flash briefly each time when new triggers are processed.
  9. Manual Test Trigger (green): Sits next to the Manual Test Trigger pushbutton. It'll flash each time the pushbutton is activated. The button itself can only be reached with a pointy object such as a small screw driver, etc. (when a front panel is mounted). This is for safety reasons, because:
    Note: NO test trigger should be generated during a normal run!!
  10. FSCC Full Reset (red): Indicates when a remote FSCC reset command has been sent from within the center hut. Along with the LED flashing you will hear a short high-pitched sound from the warning beeper.
  11. FSCC TSTRB (yellow): At the trailing edge of each TDC BIP signal, a 200 nsec Strobe signal is sent to the FSCC to inform of new data to be processed. Thus, this LED should flash each time when you see the TR7 (BIP) LED flashing.
  12. External Trigger (green): Sits next to the Ext. Trigger input connector, and is only used for test purposes.
  13. FSCC Fast Reset (orange): Indicates when a fast FSCC Reset command has been issued from within the center hut.
Note: During a normal run the following 4 LEDs should flash simultaneously (or nearly simulaneously) at each new global trigger pulse: TR6, TR7, Struck Stop, and FSCC TSTRB !! If they're not operating (nearly) simultaneosly then there is a good indication of a hardware fault, e.g. cable problem, FSCC/TDC setup problem (most likely software), or other.


Schematics and PCB Layout

The schematics were edited with ORCAD STD V4 on a 486 PC.

The layout of this 2-layer PCB design was edited with TANGO PCB V2 on a 486 PC. Here's the gif or postscript file of the top silk layer layout.


PLD Source Codes

The heart "event number chopper" section consists of four PLD chips (positions U18...U21), each of them handling 4 of the 16 event number bits. Their logic codes are identical and written for TANGO PLD, then compiled to standard JEDEC format for a PAL/EPROM programmer. The source code file is FIV.TDL.


Performance Test Results

The following pictures were taken during measurements with digital scopes at the inputs and outputs of the FIV board. Some of the measurements were performed during lab setup tests, and others during test runs at the real system in the SuperK tank. The oscilloscopes used here were either performed a 2-channel LeCroy scope with 2.5 GSamples/channel or a 4-channel Tektronix scope with 1 GSamples/channel.


Revision Notes

Last edited 01/27/96. Any comments to berns@phys.washington.edu are welcome!