University of Liverpool logo - link to  homepage
Nuclear Physics Group
Home
Physics Department
Conferences
Seminars
Useful Links
IT Resources
E-Mail

Feedback:
support@ns.ph.liv.ac.uk

Ultra Data Acquisition System


C1009 VME/FERA ADC Controller

Operation and use

Operation

The VME singles and coincidence data collection system has one ADC interface per VME card. Each card contains memory and control logic for singles and control logic for coincidence data collection. The singles data is collected locally by the on card memory, the coincidence data is accessed from front panel connections with a layout compatible with FERA readout. This allows FERA readout of data into an existing FERA control system, or the addition of existing FERA units into the VME readout. The VME coincidence readout takes place through the C1009 control unit. Several VME crates can be daisy-chained. The coincidence data from all crates are read out through a single control unit into HSM (High Speed Memory) whilst the singles data are read out through the VME bus and control micro in each individual crate.

Operation criteria

During data collection, for any ADC selected to run in singles and coincidence mode, singles data collection stops after a coincidence event has occurred and restarts only after a FERA generated CLEAR. Interface cards selected as singles only (no coincidence) will continue to run uninterrupted.

An additional signal which is not standard for FERA readout is incorporated into the FERA command bus. Running along the front of the VME system, this is a second gate signal, VME-GATE used for coincidence mode operation as a coincidence trigger for the VME modules. The CAMAC FERA modules require a gate at a different time to the VME system and VME-GATE, used only for VME, allows for this. The VME interface cards are able to select from either the standard FERA GATE, VME-GATE or a front panel -ve NIM GATE input. Singles operation for any coincidence units, will be inhibited whenever the REQ line on the command bus is active, i.e. when a coincidence event (or CAMAC FERA unit) has valid data. Overall control of the interface coincidence HALT/GO is done over VME which in turn controls the CLEAR line on the FERA control bus. All VME singles units within one crate are started and stopped simultaneously by the same common VME I/O main address (be they in singles only mode or both coincidence and singles, but only if at the same main address).

Validation operation

Figure 1 shows the timing for the two gate signals applied to the control unit. The FERA GATE triggers a timer which will on time out issue a FERA CLEAR unless a validation signal is detected which means that the event is good and data should be collected. This validation signal is the VME-GATE signal (coincidence trigger). If this function is not required the validation can be disabled by software, then no validation input would be necessary.


Fig 1. Timing diagram for mixed VME and CAMAC system showing use of GATE 1 (FERA) and GATE 2 (VME).

Additional information on use

The VME interface cards (C1008) may be operated in singles only mode in which case they will ignore the FERA readout chain.

The singles histogram is 32 bits wide. The number of channels required being determined by the ADC resolution. The singles update speed is less than 500ns, plus any delay due to VME interlaced (transparent) reads. (Singles rates in excess of 1 million events per second are feasible). The VME card is a double height unit (6U) of single width VME(4HP) allowing at least 16 such units to be incorporated into one VME crate. Additional units may be placed into a second, third, forth etc. crate(s) as required, each crate requires a A32/D32 processor for control and singles readout. For coincidence readout all crates are connected into the one FERA bus controller, which may be in VME or FERA. All power comes from the +5v rail in the VME crate and on board DC-DC converters generate the required -5v.

Address switch settings

I/O address

VME Range A16/D8 Range 0000 to FFFF Size 8 bytes on Odd addresses (4 locations per board) 01,03 and 05 or 09,0B and OD. e.g. of address 0810 to 0817 (uses addresses 0811,0813 and 0815) Address Bits 15 14 13 12 11 10 9 8 .... main address Address Bits 7 6 5 4 3 .... sub address Set by switches SW2 and SW1 respectively

Main address block

SW2 sw8 MSB A15 } Most significant nibble sw7 A14 } " sw6 A13 } " sw5 A12 } " sw4 A11 } Next most significant nibble sw3 A10 } " sw2 A09 } " sw1 LSB A08 } "

Sub address block

SW1 sw6 MSB A07 } Next most significant nibble sw5 A06 } " sw4 A05 } " sw3 A04 } " sw2 LSB A03 } Least significant nibble sw1 not used

Switches set in the ON position (to the right) are logical 0. Switches in the OFF setting are logical 1 (to the left).

The I/O address is broken up into a main address block formed by the 8 MSB switches (SW2) and all ADC cards should have the same setting for one system as their controller. The sub address for the controller works in a similar way as for the ADC Interface units. The first address (xxx1 or xxx9) is common to all cards within the main address block set. This allows for a common ADC start/stop address for all cards in the same main address block. The it is suggested that the controller card takes sub address block 0 (i.e. the first of the group). The data bits D0 and D1 control the singles and coincidence data collection respectively. By writing 03 to the offset address 01 both the singles and coincidence data collection will start at the same time. Similarly 00 will halt both simultaneously.

Address decoding

The address offsets of 03,05 (and 0B,0D) are specific to the controller card. All addresses decode as follows:-
	Address offset 1 (9)		Start/Stop coincidence register	data on bit D1
	Address offset 3 (B)		Write RESET DELAY register	data=8 bits
	Address offset 5 (D)		Write READOUT DELAY register	data=8 bits

Offset address 1 (or 9)

Common to all ADC interface cards and control card (C1009) within main address block.
	Data bit D1 (only on C1009 cards):- 	D1=1....Coincidence RUN (if selected)
						D1=0....Coincidence HALT (if selected)

Offset address 3 (or B)

Write RESET DELAY register. This is a value of 0 to 255 which determines the period of time after a FERA GATE for which validation by a VME GATE input will be allowed. If validation does not occur within this period the controller issues a clear pulse on the FERA control bus. If set to 0 this feature is disabled i.e. no validation required. The delay is set in multiples of 200ns where a value of 1=200ns, 2=400ns etc.

Offset address 5 (or D)

Write READ OUT DELAY register. This is a value of 0 to 255 which determines the period of time after a data valid REQ on the FERA control bus before the REN is issued from the controller. The delay should be set to be at least the gate width to ensure correct operation of the ADCs. The delay is set in multiples of 200ns where a value of 1=200ns, 2=400ns etc. (note..0 gives a delay of approximately 50ns).

Additional information

If a readout is not performed in 12ms after a REQ is received a FERA bus clear is issued to reset the ADCs. This normally will not occur and indicates a fault or hung situation.
Front panel connectors and indicators (Top down)

	Command bus		16 way IDC ribbon

	REQ 			Readout Enable Output (Diff ECL) [to REN]

	CLEAR IN		Clear input (Diff ECL) [from last module PASS] 

	WRITE STROBE OUT	Write strobe to memory unit (Diff ECL)

	WRITE ACK INPUT		Write acknowledge from memory unit (Diff ECL)

	INHIBIT INPUT		Inhibit data readout (Diff ECL)

	ROQ 			Readout Request Output to memory (Diff ECL)

	VME GATE in		Lemo for +/-ve NIM input for VME gate

	FERA GATE in		Lemo for +/-ve NIM input for FERA gate

	CLEAR in		Lemo for +/-ve NIM input for CLEAR

	WRITE ACK in		Lemo for -ve NIM input of WRITE ACK 

	REQUEST out		Lemo for -ve NIM output of READOUT REQUEST

	WRITE STROBE out	Lemo for -ve NIM output of WRITE STROBE

	Memory Data output	FERA standard 16 bit data out to memory 
						(Diff ECL)

	FERA DATA input		FERA standard 16 bit data input from bus 
						(single ended ECL)


	VME Singles - Coincidence FERA adc system

J Thornhill 18 August 1994.

Further information

Please contact jrc@ns.ph.liv.ac.uk



  • Back to Nuclear Physics Homepage
    Last modified: 8 January 1998
    Maintained by John Cresswell, jrc@ns.ph.liv.ac.uk