29.01.2015 Views

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

Embedded Software for SoC - Grupo de Mecatrônica EESC/USP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

50 Chapter 4<br />

Where:<br />

Flux represents the number of particles reaching the processor per square<br />

unit and time unit;<br />

Time exposure is the duration of the experiment (sec.)<br />

Estimated Upsets represents the number of upsets expected during the entire<br />

radiation experiment.<br />

The obtained results are illustrated in Table 4-8. As expected the number<br />

of observed upsets is double <strong>for</strong> the har<strong>de</strong>ned CMA program. This is due to<br />

the longer execution un<strong>de</strong>r radiation. Even if the number of particles hitting<br />

the processor is higher <strong>for</strong> the har<strong>de</strong>ned CMA application‚ the number of<br />

un<strong>de</strong>tected upsets is reduced about 3.2 times.<br />

In accordance with the number of estimated upsets occurring in the storage<br />

elements (internal memory and registers) of the DSP processor‚ we calculated<br />

the <strong>de</strong>tection efficiency and error rate <strong>for</strong> both versions of the CMA<br />

program. Table 4-9 shows that the error rate was reduced about 4 times <strong>for</strong><br />

the har<strong>de</strong>ned application while the <strong>de</strong>tection efficiency is higher than 84%‚<br />

thus proving that the error <strong>de</strong>tection technique is efficient in real harsh environments.<br />

Table 4-8.<br />

Experimental results – faults injected in the data area.<br />

Program<br />

Version<br />

#Observed<br />

upsets<br />

Detected-Faults<br />

#<strong>Software</strong><br />

<strong>de</strong>tection<br />

#Hardware<br />

<strong>de</strong>tection<br />

Un<strong>de</strong>tected-Faults<br />

#Incorrect<br />

answer<br />

#Loss<br />

sequence<br />

Original CMA<br />

Har<strong>de</strong>ned CMA<br />

48<br />

99<br />

_<br />

84<br />

_<br />

-<br />

47<br />

15<br />

1<br />

-<br />

Table 4-9.<br />

Detection efficiency and error rate <strong>for</strong> both program versions.<br />

Detection efficiency<br />

Error rate<br />

CMA Original<br />

none<br />

12.40%<br />

CMA Har<strong>de</strong>ned<br />

84.85%<br />

2.96%<br />

4. CONCLUSIONS<br />

In this paper we presented a software error <strong>de</strong>tection method and a tool <strong>for</strong><br />

automatic generation of har<strong>de</strong>ned applications. The technique is exclusively<br />

based on the modification of the application co<strong>de</strong> and does not require any<br />

special hardware. Consequently‚ we can conclu<strong>de</strong> that the method is suitable<br />

<strong>for</strong> usage in low-cost safety-critical applications‚ where the high constraints<br />

involved in terms of memory overhead (about 4 times) and speed <strong>de</strong>crease

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!