Visible to Intel only — GUID: mje1726247102315
Ixiasoft
Visible to Intel only — GUID: mje1726247102315
Ixiasoft
6.7.2. UC_02: False Positive Avoidance
Self-diagnostic is specialized logic that detects faults from the fRSmartComp comparator. It is provided inside the fRSmartComp itself, with the aim of discriminating comparator true errors from the CPUs or the comparator itself.
You can detect “false positive” signaling flagged by fRSmartComp and decide, according to the specific applications, whether to continue running the application software for a certain time, using the primary CPU, or guarantee some basic functionality to the system.
The discrimination of a false error from a true error is achieved by means of ALARM3 and ALARM4 provided by the fRSmartComp:
- ALARM3 – Categorized as a WARNING due to the faults being determined as a false positive (false error). It originated from fRSmartComp.
- ALARM4 – Categorized as ERROR due to the faults is determined as true positive (true error). It originated from either fRSmartComp or CPUs.
As described in the topic Functionality of Self-Checking Comparator, the fRSmartComp generates both ALARM1 and ALARM2 before the self-diagnostic begins. The System Supervisor manages these alarms to decide which level of failure control to apply with respect to the specific application safety requirements.
Altera recommends to introduce an INTREQ-driven routine for the System Supervisor alarm management. Example of the INTREQ-driven routine:
- Upon INTREQ, the System Supervisor polls for the fRSmartComp self-diagnostic results (ALARM3 and ALARM4).
- If ALARM3 is activated:
- The fault is in fRSmartComp.
- The System Supervisor restarts the fRSmartComp.
- The Host CPU can proceed with its application.
- If ALARM4 is activated:
- The fault is in both CPUs and fRSmartComp.
- The fault is categorized as ERROR by fRSmartComp.
- fRSmartComp sets the primary OKNOK output to NOT_OK.
- System Supervisor uses the NOT_OK status to put the system in safe state.
- The system is permanently kept in safe state mode.
To simplify the flow diagram, the following fRSmartComp configurations are grouped and labeled as CONF_2:
- To configure ALARM severity:
- Set ALARM1 to WARNING
- Set ALARM2 to WARNING
- Set ALARM3 to WARNING
- Set ALARM4 to ERROR
- Set ALARM16 to ERROR
- Set ALARM18 to ERROR
- If INTREQ signal is used, set INTREQ configuration as 6’b011001 to generate interrupt upon WARNING.