CAN Bus Protocol Detection via Bit Timing Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for detecting vehicle bus protocols, such as the trial and error technique described in SAE J1978, are inefficient and time-consuming, as they require sending working and non-working command signals to identify the protocol used by a vehicle, which can be cumbersome in modern vehicles with multiple modules and varying protocols.
Innovation Solution
A telematics device with a processor that performs bit timing analysis, calculates the BAUD rate, and determines the data packet format of the CAN bus signals to identify the vehicle bus protocol, reducing the time needed to ascertain the protocol by using definitive signal-based analysis.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If trial and error technique is used to detect vehicle bus protocol, then protocol identification can be achieved, but detection time is excessive and efficiency is low
Solution Approach 1:
The patent replaces the mechanical trial-and-error approach with signal analysis methodology. By analyzing the electrical characteristics of CAN bus signals (bit timing, BAUD rate, data packet format), the system directly identifies the protocol without needing to send test commands repeatedly. This substitution of analysis-based detection for trial-based detection resolves the contradiction between identification accuracy and detection time.
2Productivity
If signal analysis method is used to detect vehicle bus protocol, then detection speed is improved, but device complexity increases
Solution Approach 1:
The patent segments the protocol detection process into distinct analytical components: bit timing analysis, BAUD rate calculation, and data packet format determination. Each component processes a specific aspect of the CAN bus signal independently, then combines results to identify the protocol. This segmentation reduces the overall complexity by breaking down the complex signal analysis into manageable, modular steps that can be executed systematically.
3Adaptability or versatility
If multiple vehicle modules with varying protocols are present, then system functionality is enhanced, but protocol detection difficulty increases
Solution Approach 1:
The patent implements a self-service detection mechanism where the system automatically analyzes incoming CAN bus signals to identify the protocol being used. The telematics device monitors the bus traffic, extracts timing and format characteristics, and autonomously determines the protocol without requiring manual configuration or intervention. This self-service approach handles multi-protocol environments by adapting to whatever protocol is currently active on the bus, resolving the difficulty of detecting and measuring protocols in versatile multi-module systems.
Data Source
AI summary
Embodiments of the invention include a vehicle telematics device that performs vehicle CAN bus discovery using bit timing analysis. In an embodiment, the vehicle telematics device enters a vehicle CAN bus protocol discovery mode, samples a vehicle CAN bus signal, performs bit timing analysis of the CAN bus signal, calculates a BAUD rate of the vehicle CAN bus based on the bit timing analysis, determines a data packet format of data packets on the vehicle CAN bus, and identifies a vehicle CAN bus protocol from a plurality of vehicle CAN bus protocols based on the calculated BAUD rate and data packet format.


