<!-- Title: 09:07:16  Tue Sep 12 2000 -->
<!-- Crewchief: R.J. Tesarek -->
<!-- Op1: &nbsp; -->
<!-- Op2: &nbsp; -->
<!-- Op3: &nbsp; -->
<!-- Op4: &nbsp; -->
<!-- Op5: &nbsp; -->
<!-- Op6: &nbsp; -->
<!-- Notes: -->
<pre>Begin New week.</pre>


<!-- Date: Wed Sep 13 09:07:42 2000 -->
<br><center><h1>Recover from Detector Move & Power Up</h1></center> 
<br>Initial check out of electronics after detector moves into collision hall. 
<pre> 
tmp/b0pcal00.tmp: ### Crate: b0pcal00 -- Pedestal problem(s)  
tmp/b0pcal01.tmp: ### Crate: b0pcal01 -- All ok! 
tmp/b0pcal02.tmp: ### Crate: b0pcal02 -- Pedestal problem(s)  
tmp/b0pcal03.tmp: ### Crate: b0pcal03 -- All ok! 
tmp/b0pcal04.tmp: ### Crate: b0pcal04 -- All ok! 
tmp/b0pcal05.tmp: ### Crate: b0pcal05 -- All ok! 
tmp/b0pcal06.tmp: ### Crate: b0pcal06 -- All ok! 
tmp/b0pcal07.tmp: ### Crate: b0pcal07 -- All ok! 
tmp/b0pcal08.tmp: ### Crate: b0pcal08 -- All ok! 
tmp/b0pcal09.tmp: ### Crate: b0pcal09 -- All ok! 
tmp/b0pcal10.tmp: ### Crate: b0pcal10 -- All ok! 
tmp/b0pcal11.tmp: ### Crate: b0pcal11 -- All ok! 
</pre> 
The above problems have the following symptoms: 
<br><b>b0pcal00:</b> 
<pre> 
 ADMEM  QIE  CAP #EVENTS AVE_RANGE  MEAN   RMS  
   14    7    0    1000   0.0        0.0   0.0 
   14    7    1    1000   0.0        0.0   0.0 
   14    7    2    1000   0.0        0.0   0.0 
   14    7    3    1000   0.0        0.0   0.0 
 
   16   18    0    1000   0.0      146.8  14.4 
   16   18    1    1000   0.0      167.5  14.8 
   16   18    2    1000   0.0      182.8  13.6 
   16   18    3    1000   0.0      208.7  13.5 
</pre> 
<br><b>b0pcal02:</b> 
<pre> 
 ADMEM  QIE  CAP #EVENTS AVE_RANGE  MEAN   RMS  
   19    6    0    1000   0.0        0.0   0.0 
   19    6    1    1000   0.0        0.0   0.0 
   19    6    2    1000   0.0        0.0   0.0 
   19    6    3    1000   0.0        0.0   0.0 
</pre>
<!-- Author: R.J. Tesarek -->


<!-- Date: Wed Sep 13 10:31:39 2000 -->
<br><b>QIE calibration problems:</b> 
<br>On checking the East plug after power up, I discovered the 
following problems. 
<pre> 
b0pcal06.tmp: ### Crate: b0pcal06 -- Pedestal problem(s)  
b0pcal07.tmp: ### Crate: b0pcal07 -- Calibration problem(s)  
b0pcal08.tmp: ### Crate: b0pcal08 -- All ok! 
b0pcal09.tmp: ### Crate: b0pcal09 -- All ok! 
b0pcal10.tmp: ### Crate: b0pcal10 -- All ok! 
b0pcal11.tmp: ### Crate: b0pcal11 -- Pedestal problem(s)  
</pre> 
Now look in detail at the problems... 
<br><b>b0pcal06:</b>   
<br>Very noisy channel, ADMEM slot=21,chan=19 (last channel),  
PEDRMS=20 cnts. 
<br> 
<br><b>b0pcal07:</b> 
<br>This is a "sigma(offset) problem" for ADMEM slot=19,chan=1. 
<pre> 
*******************   Start of FAILURE messages   ************** VALUE    CAP RANGE** 
* ADMEM=19 QIE= 1 Failure 14: Sigma(offset) too big          (    6.2521) ( 0) ( 5) * 
*******************   End of FAILURE messages   ************************************* 
</pre> 
<i>This problem will be investigated further later...</i> 
<br> 
<br><b>b0pcal11:</b> 
<br>Very noisy channel, ADMEM slot=20,chan=11, PEDRMS=24 cnts. 
<br> 
<br>
<!-- Author: R.J. Tesarek -->


<!-- Date: Wed Sep 13 14:14:07 2000 -->
<table><tr><td><a href=/elog/notebooks/plug/Wed_Sep_13_2000_141355.ps align=top><img src=/elog/gifs/ghost64.gif  width='56' align='top'></td><td>Figure 1:  Pedestal distributions for the PEM channels. (ADMEMs in even numbered slots).  First page is a temperature plot for the entire PEM.  Pages 2-4 are the pedestal  distributions for those channels with a PEDRMS > 5.0.</a></td></tr></table>
<!-- Author: R.J. Tesarek -->


<!-- Date: Wed Sep 13 14:29:21 2000 -->
<table><tr><td><a href=/elog/notebooks/plug/Wed_Sep_13_2000_142917.ps align=top><img src=/elog/gifs/ghost64.gif  width='56' align='top'></td><td>Figure 2:  Summary of PHA pedestal information (ADMEMs in odd numbered slots).  The first page shows a temperature  plot for all channels.  The second page shows the pedestal distribution for one of the channels with a wide pedestal RMS.  The other channel with a wide pedestal RMS is a mystery for now.</a></td></tr></table>
<!-- Author: R.J. Tesarek -->


<!-- Date: Thu Sep 14 11:03:37 2000 -->
<h2>Trigger Sum Outputs:</h2> 
Using the data taken during the first round of trigger output checks, I was able to plot the response of the trigger sums weighted by the Et lookup table against the ADC output.  For each 
sum output within the EM plug cal, the slope of the response should be the same (ie- the Et weighting should be the same in the same eta tower sums).  Same is true for the HAD, although these two detectors have different overall weightings due to other factors.   
<p>When looking at the response, I found that admems in crate <b>b0pcal04</b> had incorrect weightings for both EM and HAD towers, and that admems in crates <b>b0pcal01</b> and <b>b0pcal03</b> had incorrect weighting for some of the HAD boards.  See figure below.   
<p>I reconfigured these admems and went through and connected each board to the TSCR and remeasured the outputs.  In b0pcal03 and in b0pcal01 I was able to do this without incident.  However, there were several problems in b0pcal04: 
 
<p><b>b0pcal04:</b><br> 
When checking the orginal boards after the reweighting was done, I found that the board in slot 14 had 1023's coming out of sum 3, which implies no connection.  I couldn't get this to disappear by changing test cables or TSCRs, so I replaced the admem and all was ok.<br> 
In slot 19, however, the first board seemed to have bits stuck on, and I couldn't make it disappear:<pre> 
QIEs 0 0 131  (DAC only into first QIE, so all but SUM0 should be zero!) 
 
    ADC OUTPUT       DAC    SUM0 SUM1 SUM2 SUM3  SUM4 SUM5 SUM6 open 
        0              0     267  297  241  184   35   27   33 1023  
      110             64     269  297  241  184   35   27   33 1023  
      333            128     274  297  241  184   35   27   33 1023  
      555            192     279  297  241  184   35   27   33 1023  
      780            256     284  297  241  184   35   27   33 1023  
     1002            320     288  297  241  184   35   27   33 1023  
     1223            384     293  297  241  184   35   27   33 1023  
     1450            448     298  297  241  184   35   27   33 1023  
     1675            512     303  297  241  184   35   27   33 1023  
     1898            576     308  297  241  184   35   27   33 1023  
     2125            640     313  297  241  184   35   27   33 1023  
</pre>I swapped the board, and then the next one had trouble (I don't have an example).  The symptoms were that erratic response came out when known DAC values were sent into the channels, almost as if bits were switching on and off periodically.  I swapped that board out (#117).  The next board (currently installed) had a different problem (ugh!) in which certain bits are stuck on in certain sum outputs as you see here:<pre> 
QIEs 0 0 131 (DAC only into QIE 0) SUM0 should be only output. 
 
     ADC OUTPUT       DAC    SUM0 SUM1 SUM2 SUM3  SUM4 SUM5 SUM6 open 
        0              0       0    0    0    1  512    0    0 1023  
      162             64       2    0    0    1  512    0    0 1023  
      386            128       7    0    0    1  512    0    0 1023  
      605            192      12    0    0    1  512    0    0 1023  
      830            256      17    0    0    1  512    0    0 1023  
     1047            320      22    0    0    1  512    0    0 1023  
     1273            384      27    0    0    1  512    0    0 1023  
     1496            448      32    0    0    1  512    0    0 1023  
     1720            512      37    0    0    1  512    0    0 1023  
     1947            576      42    0    0    1  512    0    0 1023  
</pre>  I will now swap this board out as well and really cross my fingers since I'm getting sick of this!  : \  More later.<br>
<!-- Author: R. Erbacher -->


<!-- Date: Thu Sep 14 11:17:22 2000 -->
<table><tr><td><a href=/elog/notebooks/plug/Thu_Sep_14_2000_111629.ps align=top><img src=/elog/gifs/ghost64.gif  width='56' align='top'></td><td>This figures shows the average slopes of the weighted response  of trigger sum outputs (Sums 0-3 only here) versus the raw ADC  output for the plug hadron calorimeter, all crates and admems. They should lie right on top of each other.  The boards with the  wrong weighting were all in b0pcal01, b0pcal03, b0pcal04.</a></td></tr></table>
<!-- Author: R. Erbacher -->


<!-- Date: Thu Sep 14 11:20:08 2000 -->
<table><tr><td><a href=/elog/notebooks/plug/Thu_Sep_14_2000_111944.ps align=top><img src=/elog/gifs/ghost64.gif  width='56' align='top'></td><td>This figure shows the response of the Et weighted sums versus ADC response for the plug EM calorimeter.  Again, all should be  the same here.  The outlying ones were all in b0pcal04.   Problem was fixed by reconfiguring and loading the Et lookup  table and then testing all the outputs, one-by-one, to verify that the proper weighting was loaded.</a></td></tr></table>
<!-- Author: R. Erbacher -->


<!-- Date: Thu Sep 14 15:02:07 2000 -->
<h2>Recovery from outage:</h2> 
<pre> 
tmp/b0pcal00.tmp: ### Crate: b0pcal00 -- Pedestal problem(s)  
tmp/b0pcal01.tmp: ### Crate: b0pcal01 -- All ok! 
tmp/b0pcal02.tmp: ### Crate: b0pcal02 -- Pedestal problem(s)  
tmp/b0pcal03.tmp: ### Crate: b0pcal03 -- All ok! 
tmp/b0pcal04.tmp: ### Crate: b0pcal04 -- All ok! 
tmp/b0pcal05.tmp: ### Crate: b0pcal05 -- All ok! 
tmp/b0pcal06.tmp: ### Crate: b0pcal06 -- All ok! 
tmp/b0pcal07.tmp: ### Crate: b0pcal07 -- Pedestal problem(s)  
tmp/b0pcal08.tmp: ### Crate: b0pcal08 -- All ok! 
tmp/b0pcal09.tmp: ### Crate: b0pcal09 -- All ok! 
tmp/b0pcal10.tmp: ### Crate: b0pcal10 -- All ok! 
tmp/b0pcal11.tmp: ### Crate: b0pcal11 -- All ok! 
</pre> 
The ones in pcal00 and pcal02 are known problems.  The one in pcal07 is new.  <b>b0pcal07:</b> 
<pre> 
*******************   Start of WARNING messages   ************** VALUE    CAP RANGE** 
* ADMEM=16 QIE= 2 Warning  3: Raw pedestal low               (  146.6090) ( 3) ( 0) * 
*******************   End of WARNING messages   ************************************* 
 
*******************   Start of FAILURE messages   ************** VALUE    CAP RANGE** 
* ADMEM=19 QIE= 1 Failure  1: Capacitor is not in sequence   (    0.0000) ( 0) ( 0) * 
*******************   End of FAILURE messages   ************************************* 
 
</pre> 
<pre> 
   19    1    0     998   0.0      160.2   1.8 
   19    1    1    1002   0.0      158.5   1.8 
   19    1    2    1000   0.0      161.5   1.7 
   19    1    3    1000   0.0      162.5   1.7 
</pre><br>Ran the check again and no problem-- hopefully this is  
a glitch! <br>
<!-- Author: R. Erbacher, RJT -->


<!-- Date: Thu Sep 14 15:11:34 2000 -->
<br><b>b0pcal00, blown fuse:</b> 
<br>On power up this morning, found a blown F6 fuse for the ADMEM in slot 21.  Replaced! No other problems. 
<br>
<!-- Author: R.J. Tesarek -->


<!-- Date: Thu Sep 14 17:23:28 2000 -->
<br><b>b0pcal04:</b> 
<p>Again in slot 19 we put in admem 333 and found trigger output  
trouble.  Unfortunately the sum outputs from which there were  
problems varied.  At one point, it looked like:<pre> 
QIEs 0 0 131  
    17476              0     309    0    0    0  512    0    0 1023  
    17476             64     309    0    0    0  512    0    0 1023  
    17476            128     309    0    0    0  512    0    0 1023  
    17476            192     309    0    0    0  512    0    0 1023  
    17476            256     309    0    0    0  512    0    0 1023  
    17476            320     309    0    0    0  512    0    0 1023  
    17476            384     309    0    0    0  512    0    0 1023  
    17476            448     309    0    0    0  512    0    0 1023  
</pre> which is a problem with outputs zero and 4.  Then I changed things and got outputs like the following:<pre> 
QIEs 0 0 131  
        0              0       0    0 1023 1023    0 1023    0 1023  
      164             64       3    0 1023 1023    0 1023    0 1023  
      387            128       7    0 1023 1023    0 1023    0 1023  
      611            192      12    0 1023 1023    0 1023    0 1023  
      827            256      17    0 1023 1023    0 1023    0 1023  
     1059            320      22    0 1023 1023    0 1023    0 1019  
     1285            384      27    0 1023 1023    0 1023    0 1019  
     1503            448      32    0 1023 1023    0 1023    0 1019  
     1729            512      37    0 1023 1023    0 1023    0 1019  
 </pre> Rick and I were able to systematically reproduce the 1023  
problem in output 3 (sum 8-11), so for certain this had a board problem, although it's puzzling that the problem channels seem to change.  In any case, we put in a new board from Fred and it finally works!!!  <br>Here is the new <b>Crate Map:</b> 
<pre> 
 In Slot2   IDPROM = 0129 001 TRACER__V2.1A           
FISION: S_errno_EIO (0x5): VME BERR received! 
 In Slot4   IDPROM = 0089 007SMXR_VD -D02-R02-S28-V01 
 In Slot5   IDPROM = 0024 007SMXR_VD -D02-R02-S28-V01 
FISION: S_errno_EIO (0x5): VME BERR received! 
 In Slot12   IDPROM = 0001 100 TSCR_V2................ 
FISION: S_errno_EIO (0x5): VME BERR received! 
 In Slot14   IDPROM = 0177 003 ADMEM_V4.0          470 
 In Slot15   IDPROM = 0275 003 ADMEM_V4.0          470 
 In Slot16   IDPROM = 0277 003 ADMEM_V4.0          470 
 In Slot17   IDPROM = 0266 003 ADMEM_V4.0          470 
 In Slot18   IDPROM = 0270 003 ADMEM_V4.0          470 
 In Slot19   IDPROM = 0200 003 ADMEM_V4.0          470 
 In Slot20   IDPROM = 0152 003 ADMEM_V4.0          470 
 In Slot21   IDPROM = 0299 003 ADMEM_V4.0          470 
 
QIE ID table: 
QIE    ADMEM: 14      15      16      17      18      19      20      21      
  0          3464    1173    5476    3640    2053    5544    1400    1738 
  1          3557    1955    3442    2803    4584    5570    4154    1199 
  2          3454    1486     888    5239    4548    6501    4863    1365 
  3          3162    4842     725    3010    5354    4127    5296    1081 
  4          3345    1335     801    2972    3404    6159    1349    1824 
  5          3195    1404     977    2905    5380    4176    1261    1240 
  6          3228    1022     408    3073    5217    1761    1259    1346 
  7          3189    1019     816    2907    5444    6528    4601    1187 
  8          3276    1010     637    3065    3482    1071    1372    1322 
  9          1936    1030     964    2887    5288    6594    5425    1716 
 10          1975    1913    1919    2964    4764    6141    1374    1399 
 11          3309    1410    1953    4337    5440    4435    1102    1735 
 12          3158    2973    1795    3047    5303    6415     608     418 
 13          1935    1254    1086    5083    3469    6593     523    3746 
 14          3119    1231    1704    3027    5054    6190     548    3711 
 15          5666     520     667    5283    5374    4204    2756     397 
 16          5131     441    1866    5424    3491    4509    2602     672 
 17          3445    3561    1766    2894    5338    1146    4030    4185 
 18          3180    3717    1125    2933    5151    6426    2668    4462 
 19          1994     244    6209    2769    4130     892     629    1675 
</pre>
<!-- Author: R. Erbacher -->


<!-- Date: Fri Sep 15 10:58:48 2000 -->
<br><b>b0pcal02, PED=0:</b> 
<br>Begin looking into the PED=0 problem for ADMEM slot=19,chan=6.  
<ul>  
  <li>Swap CAFE cards in chan 6 <--> 5.   
     <br><i> ==>The problem remains in slot=19,chan=6.  The  
         problem is either with the ADMEM channel or upstream  
         of the electronics. 
     </i> 
  </li> 
  <li>Swap CAFE cards back to their original position. 
     <br><i>==> Problem still persists in the same channel.</i> 
  </li> 
  <li>Remove the transition board.  Measure resistance for the 
      channel on the transition board (open). 
     <br><i>==> Problem gone, good pedestal.</i> 
</ul> 
On further inspection of the transition board I find that the zener diode was installed backward.  Clip one lead of the zener 
and this problem goes away. 
<br> 
<br><b>New problem: </b>  Discover that slot=19,chan=0 shows PED=0.  This turns out to be the same problem, zener installed backward.  I clip one lead.  All appears ok now. 
<br>
<!-- Author: R.J. Tesarek -->


<!-- Date: Fri Sep 15 11:24:10 2000 -->
<pre><br><b>b0pcal00, PED=0:</b> 
<br>Looked at the PED=0 problem for ADMEM slot=14,chan=7.  Measure 2.2 ohms at the transition board. This means a likely 
short in the connector at the other end. 
<br></pre>
<!-- Author: R.J. Tesarek -->


<!-- Date: Sat Sep 16 10:19:45 2000 -->
<br><b>HADASD installation:</b> 
<br> Instrumented wedges 15-17 with HADASD modules yesterday.  Details of which modules are where may be found in the Wedge e-log.   
<br> 
wysiwyg://99//cgi-bin/det-system-elog.pl?nb=wedge 
<br>
<!-- Author: P.J. Wilson, R.J. Tesarek -->


<!-- Date: Thu Sep 21 16:30:17 2000 -->
<pre><br><b>b0pcal02, PEI fault:</b> 
<br> +5V digital fault on PEI for this crate.  Reset by power cycling the entire west plug. 
<br> 
<br><b>b0pcal04, b0pcal06:</b> 
<br> The problem with the ADMEM in b0pcal04 (slot=15) appears to have vanished and an new problem appears in crate b0pcal02 (slot=19).  The ADMEM hangs the calibration 
<br></pre>
<!-- Author: R.J. Tesarek -->