CAN Bus Protocol Detection via Bit Timing Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improveprotocol identification accuracyVSAvoiddetection time
Core Design Contradiction:
Measurement precisionVSLoss of time

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.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If signal analysis method is used to detect vehicle bus protocol, then detection speed is improved, but device complexity increases

Engineering Contradiction:
Improvedetection speedVSAvoidsignal analysis complexity
Core Design Contradiction:
ProductivityVSDevice complexity

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.

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If multiple vehicle modules with varying protocols are present, then system functionality is enhanced, but protocol detection difficulty increases

Engineering Contradiction:
Improvemulti-protocol supportVSAvoidprotocol detection difficulty
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

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.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11539550B2Systems and methods for detection of vehicle bus protocol using signal analysis
Publication Date: 2022.12.27 CALAMP CORP
  • US11539550B2 patent drawing
  • US11539550B2 patent drawing
  • US11539550B2 patent drawing

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.