Other Parts Discussed in Thread: DRA829
Tool/software:
Hi DRA829V Champ !
My customer wants to use a part that supports R5F lockstep core to use DRA829V and is considering a separate power design between MCU domain and Main domain to implement Functional Safety system.
In terms of power design including GND, I think that special circuit design is needed to isolate the MCU and MAIN domain and protect the MCU domain safely even in the event of a large electrical shock, and I am looking for a part where protection is important in PCB design.
I would like to know if there are any design standards or guides that are independent of MCU and MAIN domains from a functional safety perspective.
Customer would like to check the following topics especially for DRA829V,
---------------------------------------------------------------------------------------------------------
When using an SoC like the TI DRA829, which integrates the Main Domain and MCU Domain, implementing functional safety requires careful PCB hardware design. Below are key guidelines for ensuring the safety and reliability of your system.
1. Power Supply and Ground Design
- Separate Power Rails: Main Domain and MCU Domain should operate independently with separate power rails. Critical safety functions should maintain power even in fault conditions, and the power supply should be designed to avoid interference between domains.
- Power Filtering and Protection: Add filtering and protection circuits to the power supply to prevent noise and abnormal conditions that could affect system operation.
- Ground Separation: Physically separate the ground planes for Main Domain and MCU Domain, or use isolation techniques to reduce electrical interference. Grounding strategies must ensure the safety of both domains during fault conditions.
2. Reliable Data Transmission
- Isolated Data Paths: Ensure that data paths between the Main Domain and MCU Domain are isolated to allow independent operation. Error detection mechanisms, such as CRC (Cyclic Redundancy Check), can be used to ensure reliable data transmission.
- Redundant Signal Paths: For critical data, use redundant signal paths. In case of failure in one path, data can be transmitted through the other, increasing the system's fault tolerance.
3. Safe Reset and Fault Handling
- Hardware Reset Circuit: Design hardware reset circuits to safely recover from abnormal conditions. This includes separate reset circuits for the MCU Domain to ensure safe recovery in the event of an error in the Main Domain.
- Fail-Safe Circuit Design: The system should return to a safe state in case of a fault. Redundant designs can be used so that if one function fails, another can take over to maintain safety.
4. Fault Detection and Monitoring
- WATCHDOG Timer: Use WATCHDOG timers for both the Main and MCU Domains to monitor if the software is running correctly. If a fault occurs, the watchdog timer will trigger a reset to recover the system safely.
- Fault Injection Testing: Perform fault injection testing to simulate faults and ensure that the system responds correctly to them. This helps validate the functional safety design.
5. Safety in Inter-Domain Communication
- ISOLATORS: Use isolators (e.g., optical or digital isolators) for communication between the Main and MCU Domains to prevent electrical interference. This isolation helps maintain functional safety during faults.
- Multi-Channel Communication Systems: For higher reliability, use multiple communication channels to transmit critical data. If one channel fails, another can take over, preventing data loss or corruption.
6. Integration of Safety in Hardware and Software
- Compliance with Functional Safety Standards: Ensure compliance with functional safety standards such as ISO 26262. This standard provides a framework for the safe design and operation of systems, and both hardware and software must meet its requirements.
- Synchronization between Hardware and Software: Ensure the hardware and software work together to maintain functional safety. Software errors should not affect hardware operations, and safety functions should be integrated at both levels.
7. Diagnostic and Logging Capabilities
- Diagnostic Circuits: Design diagnostic circuits that can monitor the health of the system in real time. This helps in detecting faults early and understanding the root cause.
- Logging and Alerts: Implement logging mechanisms to record critical errors and provide alerts when faults occur. These logs help to troubleshoot issues and improve system reliability.
8. EMI/EMC Protection
- Signal Integrity: Carefully design the PCB layout to ensure signal integrity, especially for high-speed signals. Use proper isolation, shielding, and routing techniques to reduce electromagnetic interference (EMI).
- Circuit Protection: Design protection circuits to safeguard against high-voltage or high-frequency interference that could affect the system's performance. Filters and snubber circuits can help protect sensitive components.
Conclusion
To implement functional safety with the TI DRA829 SoC, you need to focus on ensuring power and signal integrity, isolating critical systems, and designing fault detection and recovery mechanisms. Each domain (Main Domain and MCU Domain) should be independently designed to ensure that any fault in one domain does not affect the other, and that the system as a whole remains safe even during failures. By following these guidelines, you can build a system that meets functional safety requirements and operates reliably in critical applications.
---------------------------------------------------------------------------------------------------------
Thanks.
Best Regards, Jack