System, work machine and device for can communication

By setting resistors with different resistance values ​​at the CAN wire harness connectors and dynamically assigning CAN IDs, the problem of high management and maintenance costs for CAN devices with the same appearance and function is solved, and the effect of reducing error probability and electromagnetic interference is achieved.

CN118810641APending Publication Date: 2024-10-22CATERPILLAR INC
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310432086.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In the existing technology, CAN devices with the same appearance and function in construction machinery need to be assigned unique CAN IDs, which leads to increased management and maintenance costs and is prone to errors.

Method used

By setting resistors with different resistance values ​​at the connectors of the CAN harness, the device can detect the resistance value and set the corresponding CAN ID. The vehicle controller communicates based on the resistance value of the connector to achieve dynamic allocation of CAN IDs.

Benefits of technology

It reduces management and maintenance costs, reduces the probability of errors, avoids the need to enhance the computing and data processing capabilities of the vehicle controller, and reduces electromagnetic interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118810641A_ABST
    Figure CN118810641A_ABST
Patent Text Reader

Abstract

The invention relates to a system for CAN communication. The system comprises a vehicle control unit, a CAN wire harness and a device capable of utilizing CAN communication. A plurality of joints of the CAN wire harness are provided with resistors with different resistance values, and a device capable of utilizing CAN communication can set CAN communication addresses corresponding to the resistance values of the resistors at the joints connected with the device as the CAN communication addresses of the device. And the vehicle control unit can communicate with devices connected to different joints according to the CAN communication addresses corresponding to the joints. Therefore, the technical effect of allocating the CAN communication address to the device connected with each joint of the CAN wire harness so as to perform CAN communication is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the fields of vehicles, engineering machinery and electronic technology, and in particular to a system, working machinery and device for CAN communication. Background Art

[0002] With the electrification process of construction machinery, more and more devices that can communicate using CAN (Controller Area Network) are used in construction machinery. Sometimes, it is necessary to set two or more CAN devices with the same appearance and function on the construction machinery, and each CAN device is connected to the vehicle controller through a CAN harness. The CAN harness includes multiple connectors for connecting to multiple CAN devices, and each connector can be inserted into the interface of the CAN device to connect the CAN device to the CAN network. For example, in general, multiple battery heating devices with the same appearance and function can be set according to actual needs to heat the battery of the vehicle. The vehicle controller sends a control signal to each battery heating device through the CAN network to control the operation of each battery heating device.

[0003] In order to enable data exchange between the vehicle controller and each CAN device, it is necessary to assign a CAN communication address (i.e., CAN ID) to each CAN device so that the vehicle controller can identify and control each CAN device. Currently, there are the following ways to assign CAN IDs:

[0004] Each CAN device is pre-assigned a unique CAN ID. For example, when supplying battery heating device parts to vehicle manufacturers, the supplier will adjust the software program of the battery heating device controller and assign a unique CAN ID to each battery heating device. However, since each battery heating device is assigned a unique CAN ID, these battery heating devices with the same appearance and function can only be managed and maintained as different parts. Therefore, it is necessary to assign a different part number to each battery heating device (the part number is generally placed on the outer shell by labeling or printing), resulting in increased management costs. In addition, since the appearance of these battery heating devices is the same, only the part number is different, it is easy to make mistakes. Summary of the invention

[0005] The starting point of the present disclosure is to provide a system, a working machine and a device for CAN communication to solve the above-mentioned problems existing in the prior art.

[0006] An embodiment of the present disclosure provides a system for CAN communication, the system comprising a vehicle controller, a CAN harness and a device capable of utilizing CAN communication, the vehicle controller being communicatively connected to the device via the CAN harness, the CAN harness comprising a plurality of connectors for connecting to the device,

[0007] Resistors with different resistance values ​​are arranged at each of the joints.

[0008] The device stores a correspondence between different resistance values ​​and different CAN communication addresses. When the device is connected to the CAN harness, the device can detect the resistance value of the resistor at the joint of the CAN harness connected thereto, and set the CAN communication address corresponding to the detected resistance value as the CAN communication address of the device according to the correspondence.

[0009] The vehicle controller can communicate with the devices connected to different connectors according to the CAN communication addresses corresponding to each connector.

[0010] Optionally, the system includes a plurality of the devices connected to different connectors of the CAN harness, and the corresponding relationships stored in the plurality of the devices are the same.

[0011] Optionally, a plurality of the devices have the same appearance, function and part number.

[0012] Optionally, the resistor is connected to the connector by means of wires leading from two free pins of the connector.

[0013] Optionally, the resistor is positioned so as to minimize the total length of the wires extending from the two free pins of the connector.

[0014] Optionally, a detection circuit is provided in the device, and the detection circuit is used to detect the resistance value of the resistor at the connector of the CAN harness connected to the device.

[0015] Optionally, the plurality of connectors are located at different positions of the CAN harness.

[0016] An embodiment of the present disclosure further provides a working machine, wherein the working machine includes the system for CAN communication provided by the present disclosure.

[0017] An embodiment of the present disclosure also provides a device capable of utilizing CAN communication, wherein the device stores a correspondence between different resistance values ​​and different CAN communication addresses. When the device is connected to a CAN harness, the device can detect the resistance value of the resistor at the connector of the CAN harness connected thereto, and set the CAN communication address corresponding to the detected resistance value as the CAN communication address of the device according to the correspondence.

[0018] Optionally, the corresponding relationships stored in the multiple devices are the same.

[0019] Optionally, a detection circuit is provided in the device, and the detection circuit is used to detect the resistance value of the resistor at the connector of the CAN harness connected to the device.

[0020] The system, working machine and device for CAN communication disclosed in the present invention have at least the following advantages:

[0021] In the present disclosure, resistors with different resistance values ​​are arranged at multiple joints of the CAN harness, and a device capable of CAN communication can set the CAN communication address corresponding to the resistance value of the resistor at the joint connected to it as the CAN communication address of the device, and the vehicle controller can communicate with the devices connected to different joints according to the CAN communication addresses corresponding to each joint. Thus, the technical effect of allocating CAN communication addresses to the devices connected to each joint of the CAN harness for CAN communication is achieved.

[0022] In the present disclosure, it is not necessary to pre-assign a unique and unchanging CAN communication address to each device capable of utilizing CAN communication, and devices having the same appearance and function can be connected to different connectors of the CAN harness according to actual needs. Thus, the same part number can be assigned to devices having the same appearance and function, thereby reducing management and maintenance costs and the probability of error.

[0023] In the present disclosure, there is no need to dynamically allocate CAN communication addresses for devices that can utilize CAN communication, and the vehicle controller only needs to communicate with devices connected to different connectors according to the CAN communication addresses corresponding to each connector. Therefore, there is no need to enhance the computing and data processing capabilities of the vehicle controller, and the cost of the vehicle controller will not increase.

[0024] In the present disclosure, the position of the resistor at the connector of the CAN harness can be set to minimize the total length of the wires led out from the two idle pins of the connector, thereby reducing problems such as electromagnetic interference caused by longer wires. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Other details and advantages of the present disclosure will become apparent from the detailed description provided below. It should be understood that the following drawings are merely schematic and not drawn to scale, and thus cannot be considered as limiting the present disclosure. The following will be described in detail with reference to the drawings, wherein:

[0026] Figure 1 A schematic diagram of a CAN communication system according to a specific embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0027] Embodiments of the present disclosure are described below with reference to the accompanying drawings. In the following description, many specific details are set forth so that those skilled in the art can more fully understand and implement the present disclosure. However, it is obvious to those skilled in the art that the implementation of the present disclosure may not have some of these specific details. In addition, it should be understood that the present disclosure is not limited to the specific embodiments described. On the contrary, any combination of the features and elements described below may be considered to implement the present disclosure, regardless of whether they relate to different embodiments. Therefore, the following aspects, features, embodiments and advantages are for illustrative purposes only and should not be regarded as elements or limitations of the claims unless explicitly stated in the claims.

[0028] Now refer to Figure 1 , showing a schematic diagram of a system for CAN communication according to a specific embodiment of the present disclosure.

[0029] like Figure 1 As shown, the system for CAN communication includes a vehicle controller 1, a CAN harness 2, and a device 3 capable of utilizing CAN communication. The vehicle controller 1 is communicatively connected with each device 3 via the CAN harness 2. The CAN harness 2 includes a plurality of connectors 21, each connector 21 being capable of being connected to one device 3.

[0030] A resistor 22 with a different resistance value is provided at each connector 21. The resistor 22 can be connected to the connector 21 by means of a wire led out from two idle pins of the connector 21. In order to reduce the interference of the introduced resistor 22 to the communication process, the position of the resistor 22 is preferably set so that the total length of the wire led out from the two idle pins of the connector 21 is the shortest.

[0031] The device 3 capable of utilizing CAN communication stores the correspondence between different resistance values ​​and different CAN IDs. When the device 3 is connected to the CAN harness 2, the device 3 can detect the resistance value of the resistor 22 at the connector 21 of the CAN harness 2 connected thereto, and set the CAN ID corresponding to the detected resistance value as the CAN ID of the device 3 according to the correspondence.

[0032] Specifically, the device 3 capable of utilizing CAN communication may be provided with a detection circuit for detecting the resistance value of the resistor 22 at the connector 21 of the CAN harness connected to the device 3 .

[0033] The corresponding relationships stored in the multiple devices 3 are the same and may have the same appearance, function and part number.

[0034] Accordingly, the vehicle controller 1 can communicate with the devices 3 connected to different connectors 21 according to the CAN IDs corresponding to the different connectors 21 .

[0035] For example, two battery heating devices are required on the vehicle, one of which is set at the front end of the battery and the other is set at the rear end of the battery. When making the CAN harness, a 120-ohm resistor can be set at the joint for connecting the battery heating device at the front end of the battery, and a 60-ohm resistor can be set at the joint for connecting the battery heating device at the rear end of the battery. After connecting to the CAN harness, the battery heating device can set the corresponding CAN ID according to the different resistance values ​​detected. For example, if a resistance value of 120 ohms is detected, the CAN ID is set to 001; if a resistance value of 60 ohms is detected, the CAN ID is set to 002. When the battery heating device at the front end of the battery needs to be heated, the vehicle controller sends a start command to 001, and 002 will not be started. When the battery heating device at the rear end of the battery needs to be heated, the vehicle controller sends a start command to 002, and 001 will not be started. In addition, if the battery heating device at the rear end of the battery fails, the battery heating device at the front end of the battery can be removed and connected to the rear end of the battery. The battery heating device connected to the rear end of the battery will change its CAN ID from 001 to 002 according to the re-detected resistance value of 60 ohms.

[0036] Industrial Applicability

[0037] The system for CAN communication disclosed in the present invention may be applicable to any type of vehicle or construction machinery, such as an excavator, a bulldozer, a crane, a road roller, etc.

[0038] The device capable of utilizing CAN communication disclosed in the present invention can be produced by a parts manufacturer and provided to a vehicle manufacturer. The parts manufacturer can write the correspondence between the resistance value provided by the vehicle manufacturer and the CAN ID into the control software of the device. When designing the CAN harness, the vehicle manufacturer sets a resistor with a corresponding resistance value at each joint of the CAN harness according to the correspondence. When the vehicle manufacturer connects the device provided by the parts manufacturer to the CAN harness, the device can automatically set the CAN communication address corresponding to the resistance value of the resistor at the joint of the CAN harness connected thereto to the CAN communication address of the device. The vehicle controller can communicate with devices connected to different joints according to the CAN communication addresses corresponding to each joint. Thus, the technical effect of allocating CAN communication addresses to devices connected to each joint of the CAN harness for CAN communication is achieved.

[0039] In the present disclosure, it is not necessary to pre-assign a unique and unchanging CAN communication address to each device capable of utilizing CAN communication, and devices having the same appearance and function can be connected to different connectors of the CAN harness according to actual needs. Thus, the same part number can be assigned to devices having the same appearance and function, thereby reducing management and maintenance costs and the probability of error.

[0040] In the present disclosure, there is no need to dynamically allocate CAN communication addresses for devices that can utilize CAN communication, and the vehicle controller only needs to communicate with devices connected to different connectors according to the CAN communication addresses corresponding to each connector. Therefore, there is no need to enhance the computing and data processing capabilities of the vehicle controller, and the cost of the vehicle controller will not increase.

[0041] In the present disclosure, the position of the resistor at the connector of the CAN harness can be set to minimize the total length of the wires led out from the two idle pins of the connector, thereby reducing problems such as electromagnetic interference caused by longer wires.

[0042] Although the present invention has been disclosed as above with preferred embodiments, the present invention is not limited thereto. Any changes and modifications made by any person skilled in the art without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention, and therefore the protection scope of the present invention should be subject to the scope defined by the claims.

Claims

1. A system for CAN communication, the system comprising a vehicle controller, a CAN harness and a device capable of utilizing CAN communication, the vehicle controller being communicatively connected to the device via the CAN harness, the CAN harness comprising a plurality of connectors for connecting to the device, characterized in that: Resistors with different resistance values ​​are arranged at each of the joints. The device stores a correspondence between different resistance values ​​and different CAN communication addresses. When the device is connected to the CAN harness, the device can detect the resistance value of the resistor at the joint of the CAN harness connected thereto, and set the CAN communication address corresponding to the detected resistance value as the CAN communication address of the device according to the correspondence. The vehicle controller can communicate with the devices connected to different connectors according to the CAN communication addresses corresponding to each connector.

2. The system according to claim 1, wherein: The system includes a plurality of the devices connected to different connectors of the CAN harness, and the corresponding relationships stored in the plurality of the devices are the same.

3. The system according to claim 2, wherein: A plurality of said devices have the same appearance, function and part number.

4. The system according to claim 1, wherein: The resistor is connected to the connector by means of wires leading from two free pins of the connector.

5. The system according to claim 4, wherein: The resistor is positioned so that the total length of the wires leading out of the two free pins of the connector is minimized.

6. The system according to claim 1, wherein: The device is provided with a detection circuit, and the detection circuit is used to detect the resistance value of the resistor at the joint of the CAN wiring harness connected to the device.

7. The system according to claim 1, wherein: The plurality of connectors are located at different positions of the CAN harness.

8. A working machine comprising the system according to any one of claims 1 to 7.

9. A device capable of utilizing CAN communication, characterized in that: The device stores the correspondence between different resistance values ​​and different CAN communication addresses. When the device is connected to a CAN harness, the device can detect the resistance value of the resistor at the connector of the CAN harness connected to it, and set the CAN communication address corresponding to the detected resistance value as the CAN communication address of the device according to the correspondence.

10. The device according to claim 9, wherein: The corresponding relationships stored in the plurality of devices are the same.

11. The device according to claim 10, wherein: The device is provided with a detection circuit, and the detection circuit is used to detect the resistance value of the resistor at the joint of the CAN wiring harness connected to the device.

Citation Information

Cited By

  • Diagnosis address determination method and device, storage medium, management system and vehicle

    CN119459442A