Complete vehicle CAN / CANFD signal tampering device and system and vehicle

By optimizing data transmission using filters and buffers on the CAN/CANFD bus, the problem of high workload for the host computer was solved, and stability and cost-effectiveness were improved.

CN224021740UActive Publication Date: 2026-03-20CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422453866.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2026-03-20
Estimated Expiration
2034-10-11

AI Technical Summary

Technical Problem

In existing technologies, when injecting fault signals by tampering with CAN/CANFD messages, the workload of the host computer is large, and there is too much invalid work, resulting in wasted performance and increased costs.

Method used

The first and second filters are used to filter the message data on the CAN/CANFD bus, respectively, to isolate the target signal that needs to be tampered with from the non-target signal that does not need to be tampered with, reduce the processing load of the host computer, and optimize data transmission through a buffer and a combiner.

Benefits of technology

This reduces the data processing load on the host computer, improves the stability of the tampering device, lowers the performance requirements of the host computer, and saves costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224021740U_ABST
    Figure CN224021740U_ABST
Patent Text Reader

Abstract

The utility model discloses a whole vehicle CAN / CANFD signal tampering device and system and a vehicle. The whole vehicle CAN / CANFD signal tampering device comprises a first filter, a second filter and an upper computer. The input end of the first filter is connected with the CAN / CANFD bus, and the upper computer is in signal connection with the output end of the first filter; the first filter is used for receiving message signals on the CAN / CANFD bus, filtering non-target signals which do not need to be tampered in the message signals and outputting target signals which need to be tampered; the upper computer is used for reading and tampering a target signal needing to be tampered and outputting the tampered target signal; the input end of the second filter is connected with the CAN / CANFD bus; and the second filter is used for filtering a target signal which needs to be tampered in the message signal and outputting a non-target signal which does not need to be tampered. According to the utility model, the handling capacity of the upper computer is greatly reduced, and the stability of the tampering device is improved; and meanwhile, the requirement on the performance of the upper computer can be reduced, and the cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of vehicle fault testing, specifically to a vehicle CAN / CANFD signal tampering device, system, and vehicle. Background Technology

[0002] Currently, injecting fault signals into the vehicle by tampering with CAN / CANFD messages is an effective method for fault strategy testing of the entire vehicle. The principle of existing message tampering is as follows: Figure 1 As shown, the tampering device controlled by the host computer is placed between the vehicle controller and the CAN / CANFD bus to transmit and receive signals, acting as a router; the specific message tampering processing flow includes:

[0003] S1: The host computer receives the tampering task command and reads CAN / CANFD message data from the data buffer of the tampering device;

[0004] S2: Parse the received message data to determine whether it contains a tampered target signal: if it contains a target signal, the value of the target signal needs to be modified before packaging; if the received message data does not contain a target signal, the received data is packaged unchanged.

[0005] S3: After packaging, send the data to the controller;

[0006] By following the steps above, signal routing and signal tampering can be achieved.

[0007] However, as can be seen from the above processing flow, using the current method to tamper with messages results in a huge workload for the host computer, and the problems to be addressed include:

[0008] 1. Massive data load: All data on the CAN / CANFD bus needs to be processed;

[0009] 2. Complex data processing: The processing involves a series of complex operations such as "receiving - parsing signals - determining whether the target signal is contained - tampering - packaging - sending".

[0010] Meanwhile, considering the increasing intelligence of new energy vehicles, the number of controllers will inevitably increase, the amount of bus data will grow larger, and the requirements for real-time and rapid processing by the host computer will also increase. Once information blockage occurs at the tampering device, the vehicle controller will report a communication loss error, the vehicle will not function properly, and effective testing will be impossible. Although improving the hardware performance of the tampering device is one way to improve this problem, the increased hardware performance requirements will inevitably lead to increased costs, which is not conducive to cost control.

[0011] On the other hand, in actual functional testing, the number of signals that need to be tampered with is usually in the single digits (typically only 1 to 3), which is a drop in the ocean compared to the total number of CAN signals on the bus. Without prior screening, the host computer can only capture all the data and then judge and identify it one by one, resulting in too much invalid work and wasted performance.

[0012] Therefore, given the current problem of excessive workload and wasted performance caused by the host computer's large amount of work in tampering with CAN / CANFD messages, developing a vehicle CAN / CANFD signal tampering device that can reduce the host computer's data processing load and performance requirements is an urgent technical problem to be solved. Utility Model Content

[0013] The purpose of this invention is to provide a vehicle CAN / CANFD signal tampering device, system, and vehicle to solve the problem of excessive workload, unnecessary work, and wasted performance caused by the existing host computer in the process of tampering CAN / CANFD messages.

[0014] To solve the above-mentioned technical problems, in a first aspect, the present invention provides a vehicle CAN / CANFD signal tampering device, comprising a first filter, a second filter, and a host computer;

[0015] The input of the first filter is connected to the CAN / CANFD bus, and the host computer is connected to the output of the first filter. The first filter is used to receive message signals on the CAN / CANFD bus, filter out non-target signals that do not need to be tampered with in the message signals, and output the target signal that needs to be tampered with. The host computer is used to read and tamper with the target signal that needs to be tampered with, and output the tampered target signal.

[0016] The input of the second filter is connected to the CAN / CANFD bus; the second filter is used to receive the message signal on the CAN / CANFD bus, filter the target signal that needs to be tampered with in the message signal, and output the non-target signal that does not need to be tampered with.

[0017] Furthermore, the device also includes a buffer connected to the output of the first filter; the host computer is signal-connected to the buffer.

[0018] Furthermore, the device also includes a combiner, which is connected to the output of the buffer and the output of the second filter respectively; the second filter outputs a non-target signal that does not need to be tampered with according to a preset period.

[0019] Furthermore, the input of the first filter is the first CAN interface CAN#1, which is connected to the CAN / CANFD bus; the input of the second filter is the second CAN interface CAN#2, which is connected to the CAN / CANFD bus; the buffer outputs the tampered target signal through the fourth CAN interface CAN#4; and the output of the second filter outputs the non-target signal that does not need to be tampered with through the third CAN interface CAN#3.

[0020] Furthermore, the first CAN interface CAN#1, the second CAN interface CAN#2, the third CAN interface CAN#3, and the fourth CAN interface CAN#4 all use four-channel CAN / CANFD signal transceivers.

[0021] Furthermore, both the first and second filters employ CAN / CANFD repeaters.

[0022] In a second aspect, the present invention provides a vehicle CAN / CANFD signal tampering system, including a controller and the vehicle CAN / CANFD signal tampering device provided in the first aspect; the input terminal of the controller is connected to the output terminal of the vehicle CAN / CANFD signal tampering device.

[0023] Furthermore, the controller includes one or more of the following: ECU, VCU, DCU, TCU, BCM, BMS, MCU, and GCU.

[0024] Thirdly, the present invention provides a vehicle including the vehicle CAN / CANFD signal tampering device provided in the first aspect above.

[0025] Fourthly, the present invention provides a vehicle including the vehicle CAN / CANFD signal tampering system provided in the second aspect above.

[0026] The beneficial effects of this utility model are as follows:

[0027] 1. By employing a first filter and a second filter to filter the message data acquired from the CAN / CANFD bus, the target signal to be tampered with is isolated from the non-target signal that does not need to be tampered with. This allows the host computer to only participate in tampering with the target signal, while the non-target signal that does not need to be tampered with is directly output without the host computer's involvement. Therefore, the processing load on the host computer is greatly reduced, and the stability of the tampering device is improved. At the same time, it can also reduce the performance requirements of the host computer and save costs.

[0028] 2. By setting up a buffer, the controller can avoid reading the tampering module data in real time, and instead participate in the tampering by reading the tampering module data periodically, which can reduce the number of times the host computer accesses the tampering module. Attached Figure Description

[0029] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, use the same reference numerals to denote the same or similar parts. The illustrative embodiments of this application and their descriptions are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0030] Figure 1 This is a schematic diagram illustrating the principle of tampering with existing messages.

[0031] Figure 2 This is a schematic diagram of one embodiment of the present invention. Detailed Implementation

[0032] Firstly, such as Figure 2 As shown, the present invention discloses a vehicle CAN / CANFD signal tampering device, including a first filter, a second filter and a host computer.

[0033] The input of the first filter is connected to the CAN / CANFD bus, and the host computer is connected to the output of the first filter. The first filter is used to receive message signals on the CAN / CANFD bus, filter out non-target signals that do not need to be tampered with in the message signals, and output the target signal that needs to be tampered with. The host computer is used to read and tamper with the target signal that needs to be tampered with, and output the tampered target signal.

[0034] The input of the second filter is connected to the CAN / CANFD bus; the second filter is used to receive the message signal on the CAN / CANFD bus, filter the target signal that needs to be tampered with in the message signal, and output the non-target signal that does not need to be tampered with.

[0035] This invention employs a first filter and a second filter to filter the message data acquired from the CAN / CANFD bus in two separate paths. This isolates the target signal to be tampered with from the non-target signal, allowing the host computer to only tamper with the target signal, while the non-target signal is directly output without host computer intervention. Therefore, this significantly reduces the processing load on the host computer and improves the stability of the tampering device. It also reduces the performance requirements of the host computer, saving costs.

[0036] According to one embodiment of this application, the device further includes a buffer connected to the output of the first filter; the host computer is signal-connected to the buffer. This embodiment, by setting a buffer, can buffer the target signal at the output of the first filter, so that the controller does not need to read the target signal to be tampered with in real time, but instead participates in the tampering by reading the target signal to be tampered with periodically (e.g., every 10-20ms), which can reduce the number of times the host computer reads the signal.

[0037] According to one embodiment of this application, the device further includes a combiner, which is connected to the output of the buffer and the output of the second filter respectively; the second filter outputs a non-target signal that does not need to be tampered with according to a preset period. By setting the combiner, the non-target signal that does not need to be tampered with output from the second filter can be combined with the target signal that needs to be tampered with and then synchronously output to the controller.

[0038] According to one embodiment of this application, the input terminal of the first filter is the first CAN interface CAN#1, which is connected to the CAN / CANFD bus; the input terminal of the second filter is the second CAN interface CAN#2, which is connected to the CAN / CANFD bus; the buffer outputs the tampered target signal through the fourth CAN interface CAN#4; and the output terminal of the second filter outputs the non-target signal that does not need to be tampered with through the third CAN interface CAN#3. The message data on the CAN / CANFD bus is simultaneously connected to the first filter and the second filter through two CAN interfaces, so the message data connected to the first filter and the second filter is the same. In the first filtering circuit, the message data on the CAN / CANFD bus is connected to the first filter through the first CAN interface CAN#1. After being filtered by the first filter, only the target signal that needs to be tampered with remains. The host computer participates in tampering with the target signal, and the tampered target signal is output through the fourth CAN interface CAN#4. In the second filtering circuit, the message data on the CAN / CANFD bus is connected to the second filter through the second CAN interface CAN#2. After being filtered by the second filter, only the non-target signal that does not need to be tampered with remains. The non-target signal that does not need to be tampered with is directly output from the third CAN interface CAN#3.

[0039] According to one embodiment of this application, the first CAN interface CAN#1, the second CAN interface CAN#2, the third CAN interface CAN#3, and the fourth CAN interface CAN#4 all employ a four-channel CAN / CANFD signal transceiver. CAN / CANFD is used for communication between various components in a vehicle, replacing expensive and bulky wiring harnesses. Multiple nodes transmitting on the CAN bus can send messages simultaneously, connected to the CAN / CANFD bus via the CAN interface, offering strong real-time performance, low latency, and fast response time.

[0040] According to one embodiment of this application, both the first filter and the second filter employ CAN / CANFD repeaters. The CAN / CANFD repeater supports filtering functions. By configuring the CAN / CANFD channel and selecting the ID of the received message signal, message signal filtering is achieved.

[0041] Secondly, this invention discloses a vehicle CAN / CANFD signal tampering system, including a controller and the vehicle CAN / CANFD signal tampering device provided in the first aspect; the input terminal of the controller is connected to the output terminal of the vehicle CAN / CANFD signal tampering device. This system utilizes the vehicle CAN / CANFD signal tampering device to isolate irrelevant data information in the message data through filtering and diversion tampering, significantly reducing the real-time processing pressure on the host computer and ensuring system stability.

[0042] According to one embodiment of this application, the controller includes one or more of the following: ECU (engine controller), VCU (voltage control unit), DCU (drive controller), TCU (transmission controller), BCM (body control system), BMS (battery management system), MCU (motor control unit), and GCU (range extender generator controller). This system can connect the tampering device to commonly used automotive controllers, making it suitable for the vast majority of automotive needs currently on the market.

[0043] Thirdly, the present invention discloses a vehicle including the vehicle CAN / CANFD signal tampering device provided in the first aspect. This vehicle uses the vehicle CAN / CANFD signal tampering device to employ filtering and diversion tampering methods to isolate irrelevant data information in the message data, thereby reducing the real-time processing pressure on the host computer and ensuring the stability of the vehicle during fault strategy testing.

[0044] Fourthly, this invention discloses a vehicle including the vehicle CAN / CANFD signal tampering system provided in the second aspect above. This vehicle modifies the isolated target signal to be tampered with using the vehicle CAN / CANFD signal tampering device and then sends it to the controller, reducing the data processing load on the host computer, lowering the hardware performance requirements of the host computer, and ensuring the stability of the vehicle during fault strategy testing.

[0045] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model and are not intended to limit it. Although this utility model has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this utility model without departing from the spirit and scope of the technical solutions of this utility model, and all such modifications or substitutions should be covered within the scope of the claims of this utility model.

Claims

1. A device for tampering with CAN / CANFD signals of a vehicle, characterized in that, Includes a first filter, a second filter, and a host computer; The input terminal of the first filter is connected to the CAN / CANFD bus, and the host computer is signal-connected to the output terminal of the first filter. The first filter is used to receive message signals on the CAN / CANFD bus, filter out non-target signals that do not need to be tampered with in the message signals, and output the target signal that needs to be tampered with. The host computer is used to read and tamper with the target signal that needs to be tampered with, and output the tampered target signal. The input of the second filter is connected to the CAN / CANFD bus; the second filter is used to receive the message signal on the CAN / CANFD bus, filter the target signal that needs to be tampered with in the message signal, and output the non-target signal that does not need to be tampered with.

2. The vehicle CAN / CANFD signal tampering device according to claim 1, characterized in that, The device also includes a buffer connected to the output of the first filter; the host computer is signal-connected to the buffer.

3. The vehicle CAN / CANFD signal tampering device according to claim 2, characterized in that, The device also includes a combiner, which is connected to the output of the buffer and the output of the second filter respectively; the second filter outputs the non-target signal that does not need to be tampered with according to a preset period.

4. The vehicle CAN / CANFD signal tampering device according to claim 2 or 3, characterized in that, The input terminal of the first filter is the first CAN interface CAN#1, which is connected to the CAN / CANFD bus; the input terminal of the second filter is the second CAN interface CAN#2, which is connected to the CAN / CANFD bus; the buffer outputs the tampered target signal through the fourth CAN interface CAN#4; the output terminal of the second filter outputs the non-target signal that does not need to be tampered with through the third CAN interface CAN#3.

5. The vehicle CAN / CANFD signal tampering device according to claim 4, characterized in that, The first CAN interface CAN#1, the second CAN interface CAN#2, the third CAN interface CAN#3, and the fourth CAN interface CAN#4 all use a four-channel CAN / CANFD signal transceiver.

6. The vehicle CAN / CANFD signal tampering device according to any one of claims 1-3, characterized in that, Both the first filter and the second filter use CAN / CANFD repeaters.

7. A vehicle CAN / CANFD signal tampering system, characterized in that, It includes a controller and the vehicle CAN / CANFD signal tampering device as described in any one of claims 1-6; the input terminal of the controller is connected to the output terminal of the vehicle CAN / CANFD signal tampering device.

8. The vehicle CAN / CANFD signal tampering system according to claim 7, characterized in that, The controller includes one or more of the following: ECU, VCU, DCU, TCU, BCM, BMS, MCU, and GCU.

9. A vehicle, characterized in that, Includes the vehicle CAN / CANFD signal tampering device as described in any one of claims 1-6.

10. A vehicle, characterized in that, Includes the vehicle CAN / CANFD signal tampering system as described in claim 7 or 8.