SPRAD98A May   2023  – November 2026 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Understanding CAT2, PLd Safety Requirements
    1. 2.1 Safety Requirements per the ISO 3691-4 Standard
    2. 2.2 System Architecture Selection
    3. 2.3 Device Selection Based on Process Safety Time
  6. 3Implementing Mobile Robot Motor Drive Safety Requirements
  7. 4Conclusion

Implementing Mobile Robot Motor Drive Safety Requirements

Once the designer understands the safety requirements and architecture category of the system, the designer must select the remaining devices and implement the complete motor drive to meet the safety requirements.

TMS320F280039C Motor Drive System Block
          Diagram Figure 3-1 Motor Drive System Block Diagram

Figure 3-1 shows that a motor drive system is typically formed by an MCU, a power stage (which can integrate the analog front end), the encoder, and the power supply. In the IEC 61508 standard, the required safe failure fraction (SFF) depends on the type of integrated circuit (IC). The subsystem can be Type A or Type B. According to the IEC 61508 standard, Type A subsystems have well-defined failure modes, where the behavior under fault conditions is determined and there is enough failure data to claim that the failure rates are met.

Conversely, Type B subsystems are more complex subsystems, where the failure modes are not fully defined. The fault conditions cannot be completely determined, and there is not enough data to support the claim that the failure rates are met.

The complete definition of both types of subsystems is found in section 7.4.4 of the IEC61508 standard. Moreover, the CNB-M-11.059 amendment of the IEC61508 standard states that diagnostic subsystems must only achieve a safety level below the required system SIL level to achieve the minimum safety level. Although this amendment is specified as part of the IEC61508 standard, using the IEC61508 standard in combination with the ISO 13849-2 machinery standard when analyzing diagnostic subsystems is considered a state-of-art practice when analyzing diagnostic subsystem for safety circuits.

Therefore, for this specific use-case, since a SIL 2 system is required, modules related to diagnostics must fulfill at least SIL 1 and a minimum SFF = 0% (Type A) to meet the SIL 2 system requirements. However, safety functions not related to diagnostics must still fulfill SIL 2 requirements and have a minimum SFF of 60%. By understanding which subsystems are Type A and Type B, the designer can easily select the individual device based on the features of the device, for example, the availability of safety documentation or diagnostic features.

Since MCUs and PMICs are complex devices, these devices are considered Type B devices. As MCUs and PMICs are part of the implemented safety function, MCUs and PMICs require a diagnostic coverage of 90%, see Table 3-1 for details. Meaning, each one of the subsystems used by the device for a safety function must be monitored with diagnostic functions to achieve the required coverage of 60%.

The first step in this process is to select the device functions that must be used to implement the safety function and define the diagnostic coverage that is required for each function.

The second step, once the diagnostic coverage is defined, is to create the safety documentation. The safety documentation demonstrates that the correct diagnostic coverage is available for each of the intended safety functions and safety diagnostic functions. The safety documentation also details if external diagnostic devices are required.

TI's latest C2000™ real-time microcontrollers are designed considering functional safety. Designers can simplify and accelerate the safety assessment process by taking advantage of the safety features and safety documents provided by TI. Many of the key safety features of the C2000™ real-time microcontrollers and devices are documented in the Industrial Functional Safety for C2000™ Real-Time Microcontrollers product overview.

As previously mentioned, the device functions and failure modes must also be well defined for Type A devices. Therefore, having safety documentation available for less complex devices is also important. For these type of devices, the results of the safety documentation from TI are beneficial for justifying the type of device and the minimum SFF that is required.

TI's multichannel IC (PMIC) devices help greatly reduce the overall BOM and the size of the motor control module while meeting the safety requirements. These ICs help simplify the design with integrated functions such as built-in low dropout regulators (LDOs), supervisors, built-in self-tests (BISTs), watchdog timers, and DC/DC regulators, while providing the diagnostic functions necessary to supervise both the MCU and the required power rails.

According to the ISO 13849 standard (section 6.1), the diagnostic function and safety function cannot be within the same IC to achieve diagnostic coverage of 60% since the safety functions cannot be periodically performed. The ISO 13849 standard considers that a single fault in the IC results in the complete loss of the functions of this IC. For a CAT2 device, that function loss must be detected by the diagnostic features. Therefore, to prevent a loss of function from resulting in a loss of diagnostic function, using a voltage supervision and watchdog Q&A function within the same IC is not permissible. This example uses external voltage supervisors and the internal question and answer (Q&A) watchdog of the PMIC device. The power management folder of Supervisor and Reset ICs details TI's extensive portfolio of voltage supervisors that support functional safety.

Figure 3-2 shows a highly simplified example of some of the diagnostic features that can be used to achieve SIL 2.

TMS320F280039C Simplified Motor Drive System
          Including Safety Features Figure 3-2 Simplified Motor Drive System Including Safety Features

Once the safety functions are defined at a system level, an analysis at a block level is necessary to demonstrate that each one of the subsystems meets the safety requirements. In this use-case, the safety subsystems are split between the safety and diagnostic functions. The diagnostic functions are used to make sure that the safety functions meet the minimum SFF/DVavg defined per subsystem type.

Table 3-1 summarizes the details.

Table 3-1 Example of Diagnostic Coverage Required per Device Type
Parameter Type A Type A Type B Type B N/A N/A
Safety function (S), Diagnostic function (D) S D S D S D
SIL 2 1 2 1 PLd PLc
HFT 0 0 0 0 CAT2 CAT2
Minimum required SFF | DC 60% 0% 90% 60% 90% 60%

By properly defining and demonstrating that each of the intended functions achieves the required minimum diagnostic coverage, this action demonstrates that the system is able to achieve the required PL and SIL and can be safety certified.