CAN Transceiver Bus Idle Diagnostics via TXDC Lines
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current CAN transceivers primarily function as data passthrough devices, lacking the capability to perform bus diagnostics and internal diagnostics without additional pins or data lines, which limits their functionality in detecting errors and reporting health conditions to microcontrollers.
Innovation Solution
The proposed transceiver includes a bus idle detector, diagnostics modules, and a reporting module that utilize existing TXDC and RXDC lines to send diagnostic codes when the bus is idle, enabling bus and internal component diagnostics without additional pins, and using predefined codes for error and healthy conditions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the transceiver functions only as a data passthrough device, then the device complexity is reduced, but the diagnostic capability is insufficient
Solution Approach 1:
The transceiver is designed to perform multiple functions: data passthrough and diagnostic operations. The same TXDC and RXDC data lines are used both for normal CAN data communication and for transmitting diagnostic codes, eliminating the need for separate diagnostic pins and reducing device complexity while maintaining enhanced diagnostic capability
Solution Approach 2:
The transceiver performs self-diagnosis by monitoring its own internal components through the transceiver diagnostics module and self-service by diagnosing the bus through the bus diagnostics module. Diagnostic codes are generated and transmitted automatically without requiring external diagnostic equipment or additional hardware
2Reliability
If additional pins or data lines are added for diagnostics, then the diagnostic capability is improved, but the PCB layout complexity increases
Solution Approach 1:
The TXDC and RXDC data lines are designed to serve dual purposes: normal CAN data transmission and diagnostic code transmission. This multi-functionality allows the transceiver to provide comprehensive diagnostic capabilities without requiring any additional pins or data lines, thereby maintaining ease of manufacture and simplifying PCB layout
3Ease of manufacture
If the transceiver uses existing data lines for diagnostics, then the ease of manufacture is maintained, but the communication efficiency may be reduced
Solution Approach 1:
The transceiver employs periodic action by transmitting diagnostic codes only during bus idle periods. The bus idle detector monitors the bus state and enables diagnostic code transmission through the switch when the bus is idle, ensuring that normal data communication is not interrupted while maintaining communication efficiency
Solution Approach 2:
The switch acts as an intermediary that selectively connects the TXDC interface to the data bus based on bus idle status. When the bus is idle, the switch enables diagnostic code transmission; when the bus is active, normal data communication proceeds uninterrupted, thus maintaining communication efficiency while enabling diagnostics
Data Source
AI summary
A transceiver configured to send and receive data over a data bus is disclosed. The transceiver includes a communication port to connect to the data bus, a bus idle detector configured to detect when the data bus is idle, a TXDC interface configured to selectively receive and send data and an RXDC interface configured to send data. The transceiver also includes a switch controlled by an output of the bus idle detector. The switch is configured to cause the TXDC interface to be used for sending data out when the bus idle detector detects that the data bus is idle.


