Instructions for replacing a CTFE card in the Level 1 Calorimeter Trigger 1. Determine that the CTFE card is actually in need of replacement. This is to be done in conjunction with the DAQ expert and a Calorimeter Trigger expert at MSU (e.g. Dan Edmunds, Philippe Laurens, Steve Gross). A good tool to use is TRGMON (ADC Counts, Global Calorimeter Trigger). Remember that a way to handle CTFE problems is to EXCLUDE the tower. Once the tower is EXCLUDED it is possible to wait until there is no beam to perform the replacement. If the card is replaced while triggers are defined, the subsequent INITIALIZE can be time-consuming. The resident expert on the details of Calorimeter Trigger card swapping is Sandor Lokos. 2. Verify that a suitable spare CTFE card is available in the Level 1 card storage area in the fixed counting house (on the first floor near the kitchen). 3. Arrange the necessary downtime with the D0 Control Room. It is not necessary to end the run--pausing the run will suffice. (IS THIS TRUE?????) 4. Collect the tools you will need from the Level 1 cabinet in the fixed counting house. This cabinet is locked. The Calorimeter Trigger expert at MSU will tell you where the key is. The tools you will need are: - Anti-static wristband - Anti-static mat - Flashlight - Two (2) card extractor tools - Card supporter ("pizza turner") - Ohmmeter 5. Place the anti-static mat on a suitable flat surface. The table behind the Level 1 desk is typically chosen if it is unoccupied. 6. Place the new spare CTFE card on the anti-static mat. Please observe anti-static precautions when working with these cards. 7. Check for power plane shorts on the new spare CTFE. Check all supply voltages against each other (in pairs) and against ground. Expected values should be (typical): GND to Vcc about 500 ohms (Vcc top of the left big vertical choke) GND to Vee > 100k ohms (Vee top of the right big vertical choke) GND to Vtt > 100k ohms (Vtt rear of the most rear tantalum cap) (GND front support bar screws) Vcc to Vee, Vcc to Vtt, Vee to Vtt all > 100k ohms 8. Set the card address and timing delay on the new CTFE card. The card address DIP switch is near the rear of the card, and the timing delay is near the front. The master list of card addresses and timing switch settings is found inside the Level 1 cabinet. Another copy of each list is found in the notebook labelled "L1 Calorimeter Trigger" at the Level 1 desk. 9. Extract the CTFE card to be replaced. At a minimum, the power for the cell containing the card will need to be turned off. The power pan is immediately below the cell. Before opening the door, verify the location of the card to be replaced and try to determine how you will need to move the BLS cables to allow the extraction of the card. The extraction steps are: - Open the door - Clip your anti-static wrist band to a suitable ground (e.g. the C-channel) - Turn the power to the cell off - Unplug the 4 BLS cables for the CTFE to be replaced - Use the card extractor tools to unseat the card - Move the BLS cables to allow clearance for the CTFE - Slide the CTFE out of the rack. Note that the terminator/ attenuator packs near the front of the CTFE may interfere with the card in the slot above. Pay careful attention to the terminator/attenuator packs. Above all do not rush. - Close the door This should take less than a minute. Try not to leave the doors open for longer than about a minute at a stretch. If you run into difficulties, arrange to turn off the power to the entire Level 1 Calorimeter Trigger. When the power for the whole Cal Trig is off, there is no limitation on the duration of open-door working. 10. Take the old CTFE card back to the anti-static mat. Verify that the switch settings for the new CTFE card are appropriate. Note that it is common to bump the switches during extraction, so if the switches do not agree check the master list. Again observe anti-static precautions. 11. Move the terminator/attenuator packs from the old CTFE to the new CTFE. Note that the packs are labelled. Keep the packs in the same order and orientation on the new CTFE. 12. Write down the ETA/PHI index of the bad tower, and the serial numbers of the old and new card. Save this information for the Level 1 people. 13. Take the new CTFE card back to the moving counting house and install it in the proper location. A good method is: - Open the door - Clip your anti-static wrist band to a suitable ground (e.g. the C-channel) - Slide the CTFE about 3/4 of the way into the slot. Lining the CTFE card up is tricky and typically requires the use of the flashlight to verify that the CTFE is actually in the slot. Again do not rush, and do not fully seat the card - Close the door and wait a minute. Use the time to examine the CTFE and the slot with the flashlight, looking for problems. - Open the door and clip to ground - Carefully slide the CTFE card in until the rear connectors start to seat. Be careful of the terminator/attenuator packs. - Carefully slide the card supporter between the CTFE and the card below. Be careful not to interfere with switches, etc. on the lower card, and keep the card extractor near the middle of the card. Also be certain that the card supporter is clean - Rotate the card supporter until the rear of the CTFE card is being supported. Be certain that the rear connectors line up with the backplane and then seat the CTFE card with firm pressure at both edges of the front support bar - Close the door and wait again. Again examine the CTFE and the slot with the flashlight - Open the door and verify that the CTFE is seated. This time apply a good firm push to the CTFE card. - Install the 4 BLS cables ????? - Check for power supply shorts. Check all voltages against all other voltages (in pairs) and also against ground. - Turn on the power to the cell - Verify that all 4 LEDs and the orange incandescent bulb are lit - Close the door Again, try not to have the door open for longer than about a minute at a stretch. If you have difficulties, arrange to turn the power off to the entire Calorimeter Trigger. 14. The pedestals for the new CTFE card must be determined. Call the Level 1 expert at MSU when you reach this stage. The pedestals will be determined and updated by the Level 1 expert. 15. The Level 1 Calorimeter Trigger must be initialized (which initialize??????) 16. The run may be resumed. 17. Put the old CTFE card in the card storage rack, with a tag indicating that it has been removed and is defective. 18. Put all of the tools away, lock the cabinet, and put the key back where it was.