Hierarchical Measurement Window Data Filtering for CAN Bus Load Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In conventional hardware-in-loop simulation scenarios, especially when testing Electronic Control Units (ECUs) like ABS algorithms, the high load rate of multiple CAN buses leads to high CPU loads in measurement windows, which requires repetitive and labor-intensive configuration of data filters across multiple windows.
Innovation Solution
A method and system for implementing a measurement data filter that sets upstream and downstream data flow ports and filtering functions for each measurement window, forming a hierarchical connection among them, allowing data to be filtered and transmitted from upper-layer to lower-layer windows without the need for repetitive filter configuration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If each measurement window processes all packets received by CAN buses independently, then complete data processing is achieved, but CPU load increases significantly
Solution Approach 1:
The patent divides the data processing task into multiple measurement windows, where each window processes only specific packets according to its filtering rules. This segmentation prevents any single window from processing all packets, thereby reducing CPU load while maintaining complete data processing across the system.
Solution Approach 2:
The patent implements preliminary filtering in upper-layer measurement windows before data reaches lower-layer windows. By pre-filtering packets based on CAN ID, source address, or other criteria, the system reduces the volume of data that subsequent windows must process, thereby reducing overall CPU load while ensuring no required data is lost.
2Adaptability or versatility
If data filters are configured in each measurement window independently, then each window can process data according to its needs, but configuration work becomes repetitive and labor-intensive
Solution Approach 1:
The patent merges the filtering functionality across multiple measurement windows by allowing lower-layer windows to inherit filtering rules from upper-layer windows. This combination eliminates the need to configure identical filters in each window independently, reducing configuration time and manual effort while preserving the ability to customize filtering where needed.
Solution Approach 2:
The patent creates a universal filtering mechanism where a single filter configuration in an upper-layer window can serve multiple lower-layer windows. This multi-functional approach allows the same filtering logic to be reused across different windows, reducing repetitive configuration work while maintaining adaptability for window-specific requirements.
3Reliability
If multiple CAN buses are activated simultaneously for ECU testing, then comprehensive test coverage is achieved, but the load rate of each bus increases
Solution Approach 1:
The patent applies local quality by allowing different measurement windows to have different filtering criteria tailored to their specific testing needs. Each window can be configured to process only the packet types relevant to its testing function, thereby reducing the overall load on CAN buses while maintaining comprehensive test coverage across all windows collectively.
Data Source
Figure 1~2
Figure 3~4
Figure 5~6
AI summary
Provided is a method of implementing a measurement data filter, including: setting an upstream data flow input port, a downstream data flow output port and a filtering function for each measurement window; connecting the upstream data flow input port of each measurement window to the downstream data flow output port of one measurement window other than the measurement window itself or a data source to form a hierarchical connection; receiving, by each layer of measurement window, data from an upper-layer measurement window via its upstream data flow input port and filtering the received data and then transporting the data to a lower-layer measurement window via its downstream data flow output port.