R2E Workshop, June 2-3 2009
SEU Tolerance in the ELMB
Henk Boterenbrood
software engineer
SEU Tolerance in the ELMB Henk Boterenbrood software engineer R2E - - PDF document
SEU Tolerance in the ELMB Henk Boterenbrood software engineer R2E Workshop, June 2-3 2009 Outline What is the ELMB ? (plus brief history) Some applications using the ELMB Radiation tests on the ELMB SEUs in the ELMB SEUs and
R2E Workshop, June 2-3 2009
software engineer
R2E Workshop, June 2-3 2009
2
H.Boterenbrood
R2E Workshop, June 2-3 2009
3
H.Boterenbrood
(optional), max ca. 30 samples/s, calibrated in 6 voltage ranges
digital-in/out and analog-in via CAN bus and CANopen protocol
and existing source code
Designed and produced by ATLAS Detector Control System group (H. Burckhart)
R2E Workshop, June 2-3 2009
4
H.Boterenbrood
(rad-hard components out of the question because of cost)
R2E Workshop, June 2-3 2009
5
H.Boterenbrood
(with 2 micros with small memory)
CERN CERN + NIKHEF
R2E Workshop, June 2-3 2009
6
H.Boterenbrood
Version without ADC: bottom side empty and on frontside 2 instead
CAN-transceiver CAN-controller
analog multiplexors high-density connectors (100-pins) 4-chan ADC ATmega128 micro controller TOP side BOTTOM side
Size: 50x67 mm2
ISP/USART connector DIP-switches
(location for now obsolete 2nd micro for in-system-programming via CAN on older ELMB with ATmega103 micro)
R2E Workshop, June 2-3 2009
7
H.Boterenbrood
82C250 CAN Trans- ceiver
OPTO OPTO
Voltage Regulator *
OPTO OPTO
Voltage Regulator * Voltage Regulators *
CAN GND CAN GND DIGITAL GND DIGITAL GND ANALOG GND ANALOG GND
VAP, VAG 5.5 to 12V, 10 mA VDP, VDG 3.5 V - 12V, 15 mA CAN bus cable
4
±5V +3.3V +5V
32
SAE81C91 CAN controller
DIP switches
ATmega128L
microcontroller
section
VCP, VCG 6 to 12V, 20 mA
ISP, USART Dig I/O (SPI)
3 4
R2E Workshop, June 2-3 2009
8
H.Boterenbrood
(and possibly signal-conditioning and/or additional circuitry)
(analog in)
Temperature Magnetic Field Voltages, Currents Thresholds (analog out) ON/OFF monitor (digital in) ON/OFF (digital out) I2C JTAG ………
e.g. for (Frontend) Electronics Configuration
Connection to Controller
Detector Control System
R2E Workshop, June 2-3 2009
9
H.Boterenbrood
ELMB with ‘standard’ CANopen application firmware and Bootloader (off production) analog input signal adapters
(available for PT100, NTC and voltage measurements)
CAN (+power in) Digital I/O analog inputs (2x16 ch) analog inputs (2x16 ch)
power in
R2E Workshop, June 2-3 2009
10
H.Boterenbrood
ADC
24-bit I D
B-sensor 3 ADC
24-bit I D
Muon Chamber Magnetic Field Sensors
(Bx , By , Bz and T )
CAN-bus
ELMB
micro CAN B-sensor 0
MDT-DCS module
24-bit
ADC ADC
24-bit 16-bit
ADC SPI 7
4
B-sensor 1
I D I D
MDT Front-end Electronics (CSM)
JTAG: electronics configuration DI G-I / O 3 Voltages, Temperatures (64 channels)
16-bit
ADC DI G-I / O 4 4 status & control (e.g reset) JTAG CSM-ADC 5
(ca. 600 chambers with one to four B-sensor modules each)
NTC NTC
Temperature Sensors
(10 to 20 per chamber, 30 max) (1150 chambers in total)
MDT/ ATLAS DCS (CANopen)
(to next node)
B-sensor 2
R2E Workshop, June 2-3 2009
11
H.Boterenbrood
ADC
24-bit I D
B-sensor 3 ADC
24-bit I D
Muon Chamber Magnetic Field Sensors
(Bx , By , Bz and T )
CAN-bus
ELMB
micro CAN B-sensor 0
MDT-DCS module
24-bit
ADC ADC
24-bit 16-bit
ADC SPI 7
4
B-sensor 1
I D I D
MDT Front-end Electronics (CSM)
JTAG: electronics configuration DI G-I / O 3 Voltages, Temperatures (64 channels)
16-bit
ADC DI G-I / O 4 4 status & control (e.g reset) JTAG CSM-ADC 5
(ca. 600 chambers with one to four B-sensor modules each)
NTC NTC
Temperature Sensors
(10 to 20 per chamber, 30 max) (1150 chambers in total)
MDT/ ATLAS DCS (CANopen)
(to next node)
B-sensor 2
R2E Workshop, June 2-3 2009
12
H.Boterenbrood
Temperature sensors TTC Delay chips FPGA Flash prom FPGA Flash prom SPI I2C I/O registers Coincidence matrix ASIC (about 200 I2C
registers)
Optical link controls using JTAG and I2C protocols and Dig I/O
(courtesy of S.Veneziano)
PAD board with TTCrx, ELMB, XCV200 and Optical Link
R2E Workshop, June 2-3 2009
13
H.Boterenbrood
R2E Workshop, June 2-3 2009
14
H.Boterenbrood
http://atlas.web.cern.ch/Atlas/GROUPS/DAQTRIG/DCS/iwn.html “Irradiation Measurements of the ELMB”, 9 Mar 2001, IWN9 “Radiation test at GIF and accelerated aging of the ELMB”, 2 May 2001, IWN10 “Radiation test of the 3.3V version ELMB at GIF”, 31 Aug 2001, IWN11 “Single Event Effect Test of the ELMB”, 20 Sep 2001, IWN12 “Non Ionising Energy Loss Test of the ELMB”, 22 Jan 2002, IWN14
“NIEL Qualification of the ELMB128 Series Production”, 18 Feb 2004, IWN21 “SEE and TID Qualification of the ELMB128 Series Production”, 15 Nov 2004, IWN23
R2E Workshop, June 2-3 2009
15
H.Boterenbrood
(calculated for ATLAS Muon Barrel)
simulated radiation levels Low Dose Rate Effect COTS components mixed: factor 4, COTS components homogeneous preselected: factor 2 COTS components homogeneous qualified: factor 1
Safety factors:
R2E Workshop, June 2-3 2009
16
H.Boterenbrood
combined test of ELMB and B-field sensor
R2E Workshop, June 2-3 2009
17
H.Boterenbrood
R2E Workshop, June 2-3 2009
18
H.Boterenbrood
ELMB prototype (Jun 2001) ELMB (Apr 2003)
(Atmel ATmega103) (Atmel ATmega128)
R2E Workshop, June 2-3 2009
19
H.Boterenbrood
R2E Workshop, June 2-3 2009
20
H.Boterenbrood
R2E Workshop, June 2-3 2009
21
H.Boterenbrood
microcontroller in 0.35 μm technology change of technology(?) 0.50 μm technology
SRAM EEPROM FLASH CAN ADC μC regs ELMB proto 7733 61 73
1233 27 2 ELMB (prod) 1122 54 5 1
R2E Workshop, June 2-3 2009
22
H.Boterenbrood
(scaled to a total fluence of 1.1*1012 p/cm2, between brackets number of bytes in test) :
SRAM (2048) EEPROM (2048) FLASH (57344) CAN (40) ADC (33) μC regs (10) ELMB proto 3.78 1.53 2.21
0.60 0.68 0.06 ELMB (prod) 0.55 1.35 0.15 0.10
R2E Workshop, June 2-3 2009
23
H.Boterenbrood
R2E Workshop, June 2-3 2009
24
H.Boterenbrood
ELMB proto test (6/2001) ELMB test (4/2003) ELMB (prod) test (11/2003) Power cycling
Software reset
‘Automatic’ recovery
R2E Workshop, June 2-3 2009
25
H.Boterenbrood
R2E Workshop, June 2-3 2009
26
H.Boterenbrood
if( LifeTimeFactor > 0 && LifeGuardCntr >= LifeTimeFactor ) { ……
R2E Workshop, June 2-3 2009
27
H.Boterenbrood
unsigned char boolean; /* In C no type ‘bool’ */ if( (boolean & 1) == 1 ) /* 7 bits don’t care */ { /* true… */ }
R2E Workshop, June 2-3 2009
28
H.Boterenbrood
R2E Workshop, June 2-3 2009
29
H.Boterenbrood
R2E Workshop, June 2-3 2009
30
H.Boterenbrood
The ELMB is composed of standard COTS components, no special rad-tolerant or rad- hard components were used. A lot of effort and preparation goes into radiation tests on a hardware module plus its software, such as the ELMB, which -in fact- is actually a fairly simple module, and still
Changing a component in the design or a change of technology by the component manufacturer may have a large impact on the SEU sensitivity of a module design, so radiation tests should be repeated (example: change of processor type on the ELMB). In the SEU tests of the ELMB we found that SEUs occur in SRAM and device registers. The software has been written with a number of adaptations to take this into account, such as a majority voting scheme, register refresh, and others. In the SEU tests of the ELMB we did not find any SEUs in EEPROM or FLASH
EEPROM as a kind of rad-tolerant extension to the SRAM for storing long-lived variables. The extra precautions taken in writing the ELMB software have contributed to mitigate the effects of SEUs in the module and increase the overall tolerance of the ELMB to SEUs.