Fault determination method, device and system for master-slave communication lines

Through dual communication line design and automatic switching mechanism, combined with DTU monitoring and BMS fault judgment logic, the problem of CAN communication line fault locating is solved, and rapid fault location and automatic switching of master-slave communication lines are achieved, thereby improving the stability and safety of the vehicle communication system.

CN119232564BActive Publication Date: 2025-09-26XIAOGAN CORNEX NEW ENERGY INNOVATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411289434.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-09-26
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

In the existing technology, CAN communication lines are prone to failure, resulting in communication abnormalities, and lack redundancy design and effective fault location methods, affecting vehicle performance and safety.

Method used

It adopts dual communication line design and automatic switching mechanism, controls the closing and opening of the line through MOS tube, combines the real-time monitoring of DTU and the fault judgment logic of BMS, and realizes rapid fault location and automatic switching of master-slave communication lines.

Benefits of technology

It improves the stability and security of communication, ensures the continuity of communication, shortens the maintenance cycle, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232564B_ABST
    Figure CN119232564B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, and system for determining a master-slave communication line fault, relating to the field of fault detection technology. The method comprises: upon detecting a master-slave communication loss fault in a vehicle computer, determining whether collected data sent from a monitoring device DTU has been received; upon determining that the collected data has been received, determining the current communication line that is currently in operation; upon determining that the current communication line is a first communication line, counting and accumulating the number of first faults; and upon determining that the number of first faults is greater than or equal to a preset number, controlling the closing and opening of the line through a MOS tube so that the first communication line is in an open state and the second communication line is in a closed state. The present invention significantly improves the stability and security of master-slave communication through the design of dual communication lines and an automatic switching mechanism, can quickly switch to a backup line, improves the customer's actual vehicle experience, and ensures the continuity of communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fault detection, and in particular to a method, device and system for determining faults of a master-slave communication line. Background Art

[0002] With the continuous development of in-vehicle technology and the improvement of its intelligence level, Controller Area Network (CAN) communication has been widely used in vehicle systems as an efficient and reliable data transmission method. The CAN bus realizes information exchange between different control units through standardized communication protocols, playing a key role in improving vehicle performance, optimizing energy management, and ensuring driving safety.

[0003] However, despite the many advantages of CAN communication, communication anomalies between the master and slave devices still occur frequently in actual applications. These communication failures not only affect the real-time collection and processing of vehicle data, but may also pose a potential threat to the overall performance and safety of the vehicle. Specifically, the main causes of communication anomalies include but are not limited to: unstable or interrupted signal transmission due to aging, looseness, corrosion or design defects of connectors; communication lines may fail due to mechanical wear, insulation damage, electromagnetic interference and other factors, affecting signal quality; circuit components inside the slave device may be damaged due to overload, short circuit, overheating and other problems, thereby affecting its data transmission function; devices from different manufacturers or different batches may have incompatible communication protocols, resulting in communication failures.

[0004] Furthermore, current designs often lack redundancy in communication lines. If a primary communication line fails, the system often fails to automatically switch to the backup line, resulting in communication interruption. Furthermore, when communication anomalies occur, the lack of effective monitoring and diagnostic methods often makes it difficult to quickly locate the cause of the failure, increasing repair complexity and costs. Currently, there is no technical solution that can address these issues, nor is there a method, device, or system for determining faults in primary and secondary communication lines. Summary of the Invention

[0005] The present invention provides a method, device, and system for determining faults in master-slave communication lines. These methods aim to improve communication stability by adding redundant master-slave communication lines and integrating a DTU to monitor slave data in real time. These methods also enable rapid locating of the root cause of faults using preset counting rules, thereby enhancing vehicle reliability and user experience.

[0006] In a first aspect, the present invention provides a method for determining a fault in a master-slave communication line, comprising:

[0007] When the battery management system (BMS) detects a master-slave communication loss fault in the vehicle computer, determining whether collected data sent from a monitoring device (Distribution Terminal Unit, DTU) within a preset period triggered by the communication loss fault is received, the collected data including temperature data or voltage data, and the monitoring device DTU is integrated in the slave computer (Battery Management Unit, BMU);

[0008] When it is determined that the collected data sent from the monitoring device DTU is received, the current communication line currently in the working state is determined, wherein the master (Battery Control Unit, BCU) is communicatively connected to the slave BMU via two communication lines; the two communication lines include a first communication line and a second communication line, and for each communication line, the closing and opening of the line are controlled by a MOS tube. In the initial state, the first communication line is in the closed state, and the second communication line is in the open state;

[0009] When it is determined that the current communication line is the first communication line, the first fault number is counted and accumulated. When the first fault number is greater than or equal to the preset number, the MOS tube is used to control the closing and opening of the line so that the first communication line is in an open state and the second communication line is in a closed state.

[0010] According to the method for determining a fault of a master-slave communication line provided by the present invention, after determining the current communication line that is currently in a working state, the method further includes:

[0011] When it is determined that the current communication line is the second communication line, counting and accumulating the second fault number;

[0012] When the second fault number is greater than or equal to the preset number, a first reminder instruction is generated, which is used to instruct the user to go to a preset vehicle maintenance point and instruct the user to check for wiring harness disconnection and connector PIN removal faults.

[0013] According to the master-slave communication line fault determination method provided by the present invention, after determining whether collected data sent from the monitoring device DTU is received within a preset period triggered by the communication loss fault, the method further includes:

[0014] When it is determined that the collected data sent from the monitoring device DTU cannot be received, the third fault number is counted and accumulated;

[0015] When the third fault number is greater than or equal to the preset number, a second reminder instruction is generated, and the second reminder instruction is used to instruct the user to go to a preset vehicle maintenance point and instruct to check the slave power supply circuit.

[0016] According to the method for determining a fault of a master-slave communication line provided by the present invention, after counting and accumulating the third fault number, the method further includes:

[0017] When the third fault number is less than the preset number, the master-slave communication loss fault is detected again.

[0018] According to the method for determining a fault of a master-slave communication line provided by the present invention, before counting and accumulating the third number of faults, the method further includes:

[0019] Within the preset time period, determining each communication loss fault triggering moment and the next acquisition time of acquiring the collected data corresponding to the communication loss fault triggering moment;

[0020] For each communication loss fault triggering moment, determining a target interval length according to the time difference between the communication loss fault triggering moment and the acquisition moment;

[0021] In the case where any of the target interval durations is greater than the preset duration, it is determined that the collected data sent from the monitoring device DTU cannot be received.

[0022] According to the method for determining a fault of a master-slave communication line provided by the present invention, the method further includes:

[0023] When it is detected that the vehicle computer does not have a master-slave communication loss fault, a first repetitive instruction is generated, where the first repetitive instruction is used to re-detect the master-slave communication loss fault until it is detected that the vehicle computer has a master-slave communication loss fault.

[0024] According to the master-slave communication line fault determination method provided by the present invention, after counting and accumulating the first fault number, if the first fault number is less than the preset number, or after counting and accumulating the second fault number, if the second fault number is less than the preset number, a second repeat instruction is generated;

[0025] The second repetition instruction is used to re-detect the master-slave communication loss fault.

[0026] According to the master-slave communication line fault determination method provided by the present invention, after counting and accumulating the first fault number, if the first fault number is less than the preset number, or after counting and accumulating the second fault number, if the second fault number is less than the preset number, a third repetition instruction is generated;

[0027] The third repetition instruction is used to determine again whether the collected data sent from the monitoring device DTU is received within the preset time period triggered by the communication loss fault.

[0028] In a second aspect, a device for determining a fault of a master-slave communication line is provided, comprising:

[0029] a first determining unit, configured to, upon detecting a master-slave communication loss fault in the vehicle computer, determine whether collected data sent from a monitoring device DTU is received within a preset period triggered by the communication loss fault, the collected data including temperature data or voltage data, the monitoring device DTU being integrated on the slave BMU;

[0030] A second determining unit, the second determining unit is configured to determine a current communication line that is currently in a working state when it is determined that the collected data sent from the monitoring device DTU is received, wherein the master BCU is communicatively connected to the slave BMU via two communication lines; the two communication lines include a first communication line and a second communication line, and for each communication line, the closing and opening of the line are controlled by a MOS tube. In an initial state, the first communication line is in a closed state, and the second communication line is in a disconnected state;

[0031] The third determination unit is used to count and accumulate the first fault number when it is determined that the current communication line is the first communication line, and when the first fault number is greater than or equal to the preset number, control the closing and opening of the circuit through the MOS tube so that the first communication line is in an open state and the second communication line is in a closed state.

[0032] In a third aspect, a master-slave communication line fault determination system is provided, comprising a master-slave communication line fault determination device, wherein the master-slave communication line fault determination device is a battery management system (BMS), further comprising a master BCU and a slave BMU, wherein the master BCU is communicatively connected to the slave BMU via two communication lines, and the slave BMU further comprises a built-in monitoring device (DTU) for transmitting collected temperature data or voltage data to the battery management system (BMS);

[0033] The two communication lines include a first communication line and a second communication line. For each communication line, the closing and opening of the line are controlled by a MOS transistor. In the initial state, the first communication line is in a closed state and the second communication line is in a disconnected state.

[0034] When the first communication line is in an abnormal state, the MOS tube is used to control the closing and opening of the line, so that the first communication line is in an open state and the second communication line is in a closed state.

[0035] The present invention significantly improves the stability and security of master-slave communication through the design of dual communication lines and the automatic switching mechanism. Even if one line fails, the system can quickly switch to the backup line, greatly improving the actual customer experience and ensuring the continuity of communication.

[0036] Existing technologies can only identify communication loss, but cannot accurately locate the actual cause of the fault. Fault location has great limitations. However, compared with traditional solutions, the present invention combines the real-time monitoring of DTU and the fault judgment logic of BMS to accurately locate and quickly respond to communication faults. It reduces the probability of misjudgment through intelligent fault counting, significantly improves the stability of the communication system based on line switching logic, and significantly improves the security of the communication system based on precise fault location technology, realizes targeted vehicle maintenance, further shortens the maintenance cycle, and improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 This is one of the flow charts of the method for determining a fault of a master-slave communication line provided by the present invention;

[0039] Figure 2 This is the second flow chart of the method for determining a fault of a master-slave communication line provided by the present invention;

[0040] Figure 3 It is a structural diagram of a fault determination device for a master-slave communication line provided by the present invention;

[0041] Figure 4 It is a structural diagram of a fault determination system for a master-slave communication line provided by the present invention. DETAILED DESCRIPTION

[0042] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0043] Figure 1 This is one of the flow charts of the method for determining a fault of a master-slave communication line provided by the present invention, the method for determining a fault of a master-slave communication line comprising:

[0044] Step 101: When the battery management system (BMS) detects a master-slave communication loss fault in the vehicle, it determines whether collected data sent from a monitoring device (DTU) is received within a preset period triggered by the communication loss fault. The collected data includes temperature data or voltage data. The monitoring device (DTU) is integrated on the slave BMU.

[0045] Step 102: When it is determined that the collected data sent from the monitoring device DTU has been received, the current communication line that is currently in working state is determined, wherein the master BCU is communicatively connected to the slave BMU via two communication lines; the two communication lines include a first communication line and a second communication line. For each communication line, the closing and opening of the line are controlled by a MOS transistor. In the initial state, the first communication line is in a closed state, and the second communication line is in a disconnected state.

[0046] Step 103: When it is determined that the current communication line is the first communication line, the first fault number is counted and accumulated. When the first fault number is greater than or equal to a preset number, the MOS tube is used to control the closing and opening of the line so that the first communication line is in an open state and the second communication line is in a closed state.

[0047] In step 101, the battery management system BMS continuously monitors the communication status between the vehicle computer and various components through the built-in communication detection module, especially monitors whether there is a master-slave communication loss failure in the vehicle computer. When a master-slave communication loss failure is detected, the BMS immediately triggers the fault response mechanism and records the time when the fault occurs. Within a preset period of time after the fault is triggered (such as 1 minute or according to the specific system design), the BMS checks whether the collected data from the monitoring device DTU is successfully received, including but not limited to temperature data and voltage data. In the present invention, the monitoring device DTU is integrated on the slave BMU.

[0048] Optionally, the method further includes:

[0049] When it is detected that the vehicle computer does not have a master-slave communication loss fault, a first repetitive instruction is generated, where the first repetitive instruction is used to re-detect the master-slave communication loss fault until it is detected that the vehicle computer has a master-slave communication loss fault.

[0050] Optionally, as an extended embodiment, the present invention adds a cyclic detection mechanism on the basis of the original scheme, which is used to continue fault detection when the initial detection does not find the master-slave communication loss fault of the vehicle computer, until it is confirmed that the vehicle computer does have a master-slave communication loss fault, so as to improve the reliability and accuracy of fault detection and ensure that the system can detect and respond to communication faults in a timely manner. Specifically, the present invention repeats the detection of the master-slave communication loss fault according to the first repetition instruction. This process will continue. The frequency of the cyclic detection can be adjusted according to system requirements to ensure that the fault can be discovered in a timely manner without causing excessive impact on system performance. Once the system detects that the vehicle computer has a master-slave communication loss fault, the present invention will respond quickly according to the subsequent fault handling strategy.

[0051] In step 102, after confirming receipt of the collected data from the DTU, the BMS further determines the communication line currently in use. Those skilled in the art will appreciate that, unlike the communication mode in the prior art in which the master BCU communicates with the slave BMU via one communication line, in order to improve the communication reliability of the system, once one line fails, it can quickly switch to the backup line. A dual communication line design is designed, and the master BCU communicates with the slave BMU via two communication lines; the two communication lines include a first communication line and a second communication line. For each communication line, the closing and opening of the line are controlled by a MOS tube. The rapid switching of the MOS tube control line reduces the time of communication interruption and improves the continuity and stability of the system. In the initial state, the first communication line is in a closed state and the second communication line is in a disconnected state. Clarifying the initial state and the current state of the communication line provides a clear basis for subsequent troubleshooting and system maintenance.

[0052] Optionally, in the BMS system, the host BCU serves as the main control module, responsible for overall management and control functions, such as intranet power supply control, communication functions (such as CAN communication), fault diagnosis, etc. The slave BMU is mainly responsible for tasks such as single cell voltage collection, battery temperature collection, and battery balancing management. The monitoring device DTU is usually used for multi-circuit data collection, communication and management of ring network cabinets and substations, and is used to transmit data from remote devices back to the background wirelessly.

[0053] Optionally, since the host BCU and the slave BMU are connected through two communication lines, the BMS can perform line switching operations by activating the MOS tube control circuit to change the closed and open states of the lines, confirming that in the initial state, the first communication line is closed and the second communication line is open, and after the line switching, the second communication line is closed and the first communication line is open.

[0054] In step 103, when the current communication line is confirmed to be the first communication line, the BMS starts to count the number of first faults. Each time a communication loss fault is detected on the first communication line, the number is accumulated. The preset number can be 3 or 5 times. When the number of first faults reaches or exceeds the preset number, the BMS believes that there is a more serious communication problem on the first communication line. Through MOS tube control, the first communication line is placed in an open state, and the second communication line is placed in a closed state to achieve switching of the communication line. By counting and judging the number of faults, the faulty communication line is effectively isolated and processed to prevent its continued impact on the overall performance of the system. By automatically switching to a more reliable communication line, the overall communication stability and reliability of the system are improved. The present invention increases the master-slave communication redundant line and integrates the DTU in the slave to monitor the slave data in real time. In combination with the master-slave communication fault and the slave data monitored by the DTU, the communication line is switched and the real cause of the problem is analyzed simultaneously.

[0055] The present invention significantly improves the stability and security of master-slave communication through the design of dual communication lines and the automatic switching mechanism. Even if one line fails, the system can quickly switch to the backup line, greatly improving the actual customer experience and ensuring the continuity of communication.

[0056] Existing technologies can only identify communication loss, but cannot accurately locate the actual cause of the fault. Fault location has great limitations. However, compared with traditional solutions, the present invention combines the real-time monitoring of DTU and the fault judgment logic of BMS to accurately locate and quickly respond to communication faults. It reduces the probability of misjudgment through intelligent fault counting, significantly improves the stability of the communication system based on line switching logic, and significantly improves the security of the communication system based on precise fault location technology, realizes targeted vehicle maintenance, further shortens the maintenance cycle, and improves user experience.

[0057] Optionally, after determining the current communication line that is currently in an operating state, the method further includes:

[0058] When it is determined that the current communication line is the second communication line, counting and accumulating the second fault number;

[0059] When the second fault number is greater than or equal to the preset number, a first reminder instruction is generated, which is used to instruct the user to go to a preset vehicle maintenance point and instruct the user to check for wiring harness disconnection and connector PIN removal faults.

[0060] Optionally, the present invention implements an intelligent monitoring and early warning mechanism for communication line failures in a communication system, especially in complex systems involving multiple communication lines. This mechanism monitors the communication line currently in operation in real time and triggers corresponding reminders or fault handling processes based on specific conditions, aiming to improve the stability and maintainability of the system. When it is determined that the current communication line is the second communication line, it is considered that the first communication line has failed for some reason and the system has automatically switched to the second communication line as a backup. The system will start or continue to count and accumulate the number of failures of the second communication line. The failure in the number of failures may refer to the situation where the battery management system BMS detects a master-slave communication loss failure in the vehicle computer after the second communication line is enabled, and when it is determined that the collected data sent by the monitoring device DTU is received, it is determined that a specific failure has occurred in the second communication line during operation, and the number of failures is accumulated.

[0061] Optionally, the present invention sets a preset number threshold, wherein the fault detection of the first communication line and the fault detection of the second communication line may share the preset number or may not share the preset number. The preset number is also used to evaluate the stability and reliability of the second communication line. When the number of faults of the second communication line reaches or exceeds the preset number, the system believes that there may be a more serious problem with the second communication line or that attention is needed, and thus generates a first reminder instruction. The specific content of the first reminder instruction is intended to guide the user to take corresponding actions, including going to a preset vehicle maintenance point for inspection. The preset vehicle maintenance point can be the 4S shop corresponding to the vehicle, and specifically instructs to check common faults such as wiring harness disconnection and connector PIN removal (poor pin contact or detachment). The first reminder instruction not only points to the possible fault point, but also provides a clear solution direction. Through real-time monitoring and fault warning, the present invention can switch to the backup line in time when a problem occurs in the communication line to ensure communication continuity. At the same time, the number of faults of the backup line is accumulated and judged again. The accurate fault reminder mechanism can guide the user to directly check and repair the possible problem points, avoiding the unnecessary costs caused by blind inspection and replacement of parts.

[0062] Optionally, after counting and accumulating the first fault number, if the first fault number is less than the preset number, or after counting and accumulating the second fault number, if the second fault number is less than the preset number, a second repeat instruction is generated;

[0063] The second repetition instruction is used to re-detect the master-slave communication loss fault.

[0064] Optionally, after counting and accumulating the first fault number, if the first fault number is less than the preset number, or after counting and accumulating the second fault number, if the second fault number is less than the preset number, a third repeat instruction is generated;

[0065] The third repetition instruction is used to determine again whether the collected data sent from the monitoring device DTU is received within the preset time period triggered by the communication loss fault.

[0066] If, after counting and accumulating the first fault number, the first fault number is less than the preset number, or if, after counting and accumulating the second fault number, the second fault number is less than the preset number, the present invention provides two implementation strategies, either of which can be implemented:

[0067] The first implementation strategy: after counting and accumulating the first fault number, if the first fault number is less than the preset number, a second repetition instruction is generated, and the second repetition instruction is used to detect the master-slave communication loss fault again; and after counting and accumulating the second fault number, if the second fault number is less than the preset number, a second repetition instruction is generated, and the second repetition instruction is used to detect the master-slave communication loss fault again.

[0068] Optionally, after each count accumulation, the system will check whether the first fault number or the second fault number has reached a preset fault number threshold. If either fault number is less than the preset number, it means that the current communication problem may be only sporadic or has not reached a serious level, and the system needs to continue monitoring and attempt detection. When the first fault number or the second fault number is less than the preset number, the system generates a second repetition instruction, and then executes the master-slave communication loss fault detection process again until it is detected that the fault number reaches the preset threshold, or the system confirms that communication has returned to normal.

[0069] The second implementation strategy: after counting and accumulating the first fault number, if the first fault number is less than the preset number, a third repetition instruction is generated, and the third repetition instruction is used to re-determine whether the collected data sent from the monitoring device DTU is received within the preset time period triggered by the communication loss fault, and after counting and accumulating the second fault number, if the second fault number is less than the preset number, a third repetition instruction is generated, and the third repetition instruction is used to re-determine whether the collected data sent from the monitoring device DTU is received within the preset time period triggered by the communication loss fault.

[0070] Compared with the first implementation strategy, the difference of the second implementation strategy lies in the different nodes of the return process. In the second implementation strategy, it is to determine again whether the collected data sent from the monitoring device DTU is received within the preset period of time triggered by the communication loss fault. The purpose is to check again whether the collected data from the monitoring device DTU is received within the preset period of time triggered by the communication loss fault. If the collected data is received within the preset period of time, it means that the communication may be temporarily interrupted or interfered. The system can record this situation and continue monitoring. If the collected data is not received within the preset period of time, the system may need to take further measures.

[0071] Optionally, after determining whether collected data sent from the monitoring device DTU is received within a preset period triggered by the communication loss fault, the method further includes:

[0072] When it is determined that the collected data sent from the monitoring device DTU cannot be received, the third fault number is counted and accumulated;

[0073] When the third fault number is greater than or equal to the preset number, a second reminder instruction is generated, and the second reminder instruction is used to instruct the user to go to a preset vehicle maintenance point and instruct to check the slave power supply circuit.

[0074] Optionally, after detecting a communication loss failure, it is determined whether the collected data sent from the monitoring device DTU is received. If it is determined that the collected data sent from the monitoring device DTU cannot be received, it is considered that the failure is not related to the first communication line and the second communication line. Once it is determined that the DTU data cannot be received, the third failure number will be counted and accumulated. Similarly, the present invention sets a corresponding preset number threshold for evaluating the frequency of failure to receive DTU data. The preset number can be 3 times, 5 times, 7 times or even more. When the third failure number reaches or exceeds the preset number, it is considered that there may be a more serious slave power supply problem or other failure that causes the DTU to fail to work normally. At this time, a second reminder instruction is generated, aiming to instruct the user to go to a preset vehicle maintenance point for inspection, and specifically instruct to check the problem of the slave power supply circuit. If there is no abnormality, replace the slave. This not only provides the user with a clear troubleshooting direction, but also emphasizes the importance of the power supply circuit as a potential failure point.

[0075] Optionally, after counting and accumulating the third number of faults, the method further includes:

[0076] When the third fault number is less than the preset number, the master-slave communication loss fault is detected again.

[0077] In an optional embodiment, if the preset number of times is 5 times, if after counting and accumulating the third fault number, the third fault number is 3 times, then the master-slave communication loss fault will be detected again to determine whether there is a master-slave communication loss fault. If there is no master-slave communication loss fault at this time, it may be caused by a system false alarm or a temporary communication failure. At this time, counting will not continue, but the master-slave communication loss fault will continue to be monitored. If it is determined again that there is a master-slave communication loss fault, and it is determined that the collected data sent from the monitoring device DTU cannot be received, the third fault number will be counted and accumulated, and the third fault number will be updated to 4 times. If it has not reached 5 times, the master-slave communication loss fault will continue to be detected.

[0078] Optionally, before counting and accumulating the third number of faults, the method further includes:

[0079] Within the preset time period, determining each communication loss fault triggering moment and the next acquisition time of acquiring the collected data corresponding to the communication loss fault triggering moment;

[0080] For each communication loss fault triggering moment, determining a target interval length according to the time difference between the communication loss fault triggering moment and the acquisition moment;

[0081] In the case where any of the target interval durations is greater than the preset duration, it is determined that the collected data sent from the monitoring device DTU cannot be received.

[0082] Optionally, this embodiment provides a specific implementation of how to "determine that the collected data sent from the monitoring device DTU cannot be received". When a communication loss fault is detected, the present invention will immediately record the triggering time of the fault to provide a reference point for determining the subsequent time interval. For each communication loss fault trigger, the system will determine the specific time of the next attempt to obtain the collected data from the monitoring device DTU, that is, the acquisition time of the next acquisition of the collected data corresponding to the communication loss fault triggering time. For example, within 1 minute, there are multiple communication loss fault triggers. For each communication loss fault trigger, the system will calculate the target interval duration based on the time difference between the fault triggering time and the next acquisition time of the collected data. The target interval duration is the waiting time between the communication loss and the next attempt to obtain data. Then, all target interval durations are judged. The present invention can pre-set a preset duration, such as 1 second. If any of the target interval durations is greater than 1 second, it is determined that the collected data sent from the monitoring device DTU cannot be received. Once it is determined that the DTU data cannot be received and the above conditions are met, the present invention will count and accumulate the third number of faults.

[0083] By considering the time interval between the moment a communication loss fault is triggered and the moment the next data acquisition is performed, the present invention enables the system to more accurately determine whether a situation in which DTU data cannot be received actually exists, thereby helping to reduce misjudgments caused by temporary communication interruptions or delays. By reducing misjudgments and improving the accuracy of fault detection, the system can operate more efficiently and reduce unnecessary resource consumption and redundant operations.

[0084] Figure 2 This is the second flow chart of the method for determining the fault of the master-slave communication line provided by the present invention. Based on the hardware and wiring harness structure provided by the present invention, the master-slave communication strategy is designed. The specific monitoring strategy is as follows:

[0085] In the initial state, the BMS host does not enable the closure of communication line 2 MOS, and only enables the closure of communication line 1 MOS (only using communication line 1). The initial values ​​of X, Y, and Z (see the notes for definitions) are all 0.

[0086] When the BMS is working normally, it will judge the master-slave communication loss fault. If there is no master-slave communication fault, the BMS will keep the current state and continue to judge the master-slave communication loss fault.

[0087] If the BMS detects a master-slave communication loss fault, it will determine whether the data collected by the slave's internal DTU and sent to the background is updated normally within 1 minute, including the communication loss fault. If the background data stops updating for more than 10 seconds during this period, Z will be counted, and the Z value will be increased by 1 each time. If Z is detected to be less than 5, the BMS will maintain the current Z value and re-check the master-slave communication fault. If Z is greater than or equal to 5, the customer will be contacted to the 4S shop for repair, and the 4S shop maintenance personnel will be informed to repair the slave power supply circuit. If there is no abnormality, the BMS slave will be replaced.

[0088] If the DTU data is updated normally, check whether the currently used communication line is line 1. If the line is line 1 at this time, add 1 to the X count. If the value detected after the accumulation is less than 5, the BMS maintains the current X value and re-checks the master-slave communication fault. If X ≥ 5, it is considered that there is an abnormality in the currently used line 1 and the master-slave connector connected to the line 1 harness. Deactivate line 1, turn off the line 1 MOS, enable the line 2 MOS, use the communication line 2 for master-slave communication, and re-check whether the master-slave communication fault is cleared;

[0089] If the master-slave communication loss fault is set and the DTU data is updated normally, if it is detected that the currently used communication line is 2, then Y will be counted and added by 1. If Y is less than 5, the BMS will re-detect the master-slave communication fault. If Y is greater than or equal to 5, it is considered that there are abnormalities in the rear connectors of the wiring harness on both No. 1 and No. 2 communication lines, and the customer is reminded to go to the 4S store for inspection and the 4S store maintenance personnel are informed to check whether the wiring harness is disconnected and whether the connector has a PIN return.

[0090] Among them, X is the number of faults counted for communication line 1 when the slave DTU feedback data is normal and communication line 1 is currently in use; Y is the number of faults counted for communication line 2 when the slave DTU feedback data is normal and communication line 2 is currently in use; Z is the number of faults counted for the slave when the slave's built-in DTU communication is abnormal and the master-slave communication is abnormal.

[0091] The present invention increases the stability of master-slave communication through the dual-chain design of the master and slave. In the event of a communication line failure, activating the backup line greatly improves the customer's actual vehicle experience. Compared with traditional designs, it is more stable and safer. Combining the real-time data monitored by the slave DTU and the fault judgment of the BMS host has certain advantages. The traditional solution can only identify communication loss, but the real cause cannot be located, and it has great limitations. Compared with the traditional solution, the master-slave communication strategy designed by this patent can locate the real cause of the problem more accurately and meticulously, improve the targeted maintenance, and shorten the maintenance cycle.

[0092] Figure 3 2 is a schematic structural diagram of a master-slave communication line fault determination device provided by the present invention. The master-slave communication line fault determination device includes a first determination unit 1. The first determination unit is used to determine whether collected data sent from a monitoring device DTU is received within a preset period triggered by the communication loss fault when a master-slave communication loss fault is detected in the vehicle computer. The collected data includes temperature data or voltage data. The monitoring device DTU is integrated on the slave BMU. The working principle of the first determination unit 1 can refer to the aforementioned step 101 and will not be repeated here.

[0093] The fault determination device of the master-slave communication line also includes a second determination unit 2, which is used to determine the current communication line that is currently in a working state when it is determined that the collected data sent from the monitoring equipment DTU is received, wherein the master BCU is communicated with the slave BMU through two communication lines; the two communication lines include a first communication line and a second communication line. For each communication line, the closing and opening of the line are controlled by a MOS tube. In the initial state, the first communication line is in a closed state and the second communication line is in a disconnected state. The working principle of the second determination unit 2 can refer to the aforementioned step 102 and will not be repeated here.

[0094] The fault determination device of the master-slave communication line also includes a third determination unit 3. The third determination unit is used to count and accumulate the number of first faults when it is determined that the current communication line is the first communication line. When the number of first faults is greater than or equal to the preset number, the MOS tube is used to control the closing and opening of the line so that the first communication line is in a disconnected state and the second communication line is in a closed state. The working principle of the third determination unit 3 can be referred to the aforementioned step 103 and will not be repeated here.

[0095] The present invention significantly improves the stability and security of master-slave communication through the design of dual communication lines and the automatic switching mechanism. Even if one line fails, the system can quickly switch to the backup line, greatly improving the actual customer experience and ensuring the continuity of communication.

[0096] Existing technologies can only identify communication loss, but cannot accurately locate the actual cause of the fault. Fault location has great limitations. However, compared with traditional solutions, the present invention combines the real-time monitoring of DTU and the fault judgment logic of BMS to accurately locate and quickly respond to communication faults. It reduces the probability of misjudgment through intelligent fault counting, significantly improves the stability of the communication system based on line switching logic, and significantly improves the security of the communication system based on precise fault location technology, realizes targeted vehicle maintenance, further shortens the maintenance cycle, and improves user experience.

[0097] Figure 4 : This is a structural diagram of the master-slave communication line fault determination system provided by the present invention. The master-slave communication line fault determination system includes the master-slave communication line fault determination device, which is a battery management system BMS, and also includes a master BCU and a slave BMU. The master BCU is communicatively connected to the slave BMU via two communication lines. The slave BMU also includes a built-in monitoring device DTU for transmitting collected temperature data or voltage data to the battery management system BMS.

[0098] The two communication lines include a first communication line and a second communication line. For each communication line, the closing and opening of the line are controlled by a MOS transistor. In the initial state, the first communication line is in a closed state and the second communication line is in a disconnected state.

[0099] When the first communication line is in an abnormal state, the MOS tube is used to control the closing and opening of the line, so that the first communication line is in an open state and the second communication line is in a closed state.

[0100] The present invention significantly improves the stability and security of master-slave communication through the design of dual communication lines and the automatic switching mechanism. Even if one line fails, the system can quickly switch to the backup line, greatly improving the actual customer experience and ensuring the continuity of communication.

[0101] Existing technologies can only identify communication loss, but cannot accurately locate the actual cause of the fault. Fault location has great limitations. However, compared with traditional solutions, the present invention combines the real-time monitoring of DTU and the fault judgment logic of BMS to accurately locate and quickly respond to communication faults. It reduces the probability of misjudgment through intelligent fault counting, significantly improves the stability of the communication system based on line switching logic, and significantly improves the security of the communication system based on precise fault location technology, realizes targeted vehicle maintenance, further shortens the maintenance cycle, and improves user experience.

[0102] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute a master-slave communication line fault determination method provided by the above methods, the method comprising: when the battery management system BMS detects that there is a master-slave communication loss fault in the vehicle computer, determining whether collected data sent from the monitoring device DTU is received within a preset period triggered by the communication loss fault, the collected data including temperature data or voltage data, and the monitoring device DTU is integrated on the slave BMU; when it is determined that the collected data sent from the monitoring device DTU is received In the present embodiment, the present invention relates to a method for determining a current communication line that is in a working state, wherein the master BCU is communicatively connected to the slave BMU via two communication lines; the two communication lines include a first communication line and a second communication line, and for each communication line, the closing and opening of the line are controlled by a MOS tube. In an initial state, the first communication line is in a closed state, and the second communication line is in a disconnected state; when it is determined that the current communication line is the first communication line, the first fault number is counted and accumulated, and when the first fault number is greater than or equal to a preset number, the closing and opening of the line are controlled by the MOS tube, so that the first communication line is in a disconnected state, and the second communication line is in a closed state.

[0103] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by the processor to execute the master-slave communication line fault determination method provided by the above methods, the method comprising: when the battery management system BMS detects that there is a master-slave communication loss fault in the vehicle computer, determining whether collected data sent from the monitoring device DTU is received within a preset period of time triggered by the communication loss fault, the collected data including temperature data or voltage data, the monitoring device DTU being integrated on the slave BMU; when it is determined that the collected data sent from the monitoring device DTU is received, determining whether the current working state is in operation. Front communication line, wherein the host BCU is communicatively connected to the slave BMU through two communication lines; the two communication lines include a first communication line and a second communication line, and for each communication line, the closing and opening of the line are controlled by a MOS tube. In the initial state, the first communication line is in a closed state and the second communication line is in an open state; when it is determined that the current communication line is the first communication line, the first fault number is counted and accumulated, and when the first fault number is greater than or equal to the preset number, the closing and opening of the line are controlled by the MOS tube, so that the first communication line is in an open state and the second communication line is in a closed state.

[0104] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0105] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0106] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for determining a fault in a master-slave communication line, characterized in that: include: When the battery management system (BMS) detects a master-slave communication loss fault between the vehicle and the vehicle, it determines whether collected data sent by the monitoring device (DTU) is received within a preset period triggered by the communication loss fault. The collected data includes temperature data or voltage data. The monitoring device (DTU) is integrated on the slave BMU. When it is determined that the collected data sent from the monitoring device DTU is received, the current communication line currently in the working state is determined, wherein the master BCU is communicatively connected to the slave BMU via two communication lines; the two communication lines include a first communication line and a second communication line, and for each communication line, the closing and opening of the line are controlled by a MOS tube. In the initial state, the first communication line is in the closed state, and the second communication line is in the open state; When it is determined that the current communication line is the first communication line, the first fault number is counted and accumulated. When the first fault number is greater than or equal to the preset number, the MOS tube is used to control the closing and opening of the line so that the first communication line is in an open state and the second communication line is in a closed state.

2. The method for determining a fault in a master-slave communication line according to claim 1, wherein: After determining the current communication line that is currently in an operating state, the method further includes: When it is determined that the current communication line is the second communication line, counting and accumulating the second fault number; When the second fault number is greater than or equal to the preset number, a first reminder instruction is generated, which is used to instruct the user to go to a preset vehicle maintenance point and instruct the user to check for wiring harness disconnection and connector PIN removal faults.

3. The method for determining a fault in a master-slave communication line according to claim 1, wherein: After determining whether collected data sent from the monitoring device DTU is received within a preset period triggered by the communication loss fault, the method further includes: When it is determined that the collected data sent from the monitoring device DTU cannot be received, the third fault number is counted and accumulated; When the third fault number is greater than or equal to the preset number, a second reminder instruction is generated, and the second reminder instruction is used to instruct the user to go to a preset vehicle maintenance point and instruct to check the slave power supply circuit.

4. The method for determining a fault in a master-slave communication line according to claim 3, wherein: After counting and accumulating the third number of faults, the method further includes: When the third fault number is less than the preset number, the master-slave communication loss fault is detected again.

5. The method for determining a fault in a master-slave communication line according to claim 3, wherein: Before counting and accumulating the third number of faults, the method further includes: Within the preset time period, determining each communication loss fault triggering moment and the next acquisition time of acquiring the collected data corresponding to the communication loss fault triggering moment; For each communication loss fault triggering moment, determining a target interval length according to the time difference between the communication loss fault triggering moment and the acquisition moment; In the case where any of the target interval durations is greater than the preset duration, it is determined that the collected data sent from the monitoring device DTU cannot be received.

6. The method for determining a fault in a master-slave communication line according to claim 1, wherein: The method further comprises: When it is detected that the vehicle computer does not have a master-slave communication loss fault, a first repetitive instruction is generated, where the first repetitive instruction is used to re-detect the master-slave communication loss fault until it is detected that the vehicle computer has a master-slave communication loss fault.

7. The method for determining a fault in a master-slave communication line according to claim 2, wherein: After counting and accumulating the first fault number, the first fault number is less than the preset number, or after counting and accumulating the second fault number, the second fault number is less than the preset number, generating a second repeat instruction; The second repetition instruction is used to re-detect the master-slave communication loss fault.

8. The method for determining a fault in a master-slave communication line according to claim 2, wherein: After counting and accumulating the first fault number, the first fault number is less than the preset number, or after counting and accumulating the second fault number, the second fault number is less than the preset number, generating a third repeat instruction; The third repetition instruction is used to determine again whether the collected data sent from the monitoring device DTU is received within the preset time period triggered by the communication loss fault.

9. A device for determining a fault in a master-slave communication line, characterized in that: include: a first determining unit, configured to, upon detecting a master-slave communication loss fault in the vehicle computer, determine whether collected data sent from a monitoring device DTU is received within a preset period triggered by the communication loss fault, the collected data including temperature data or voltage data, the monitoring device DTU being integrated on the slave BMU; A second determining unit, the second determining unit is configured to determine a current communication line that is currently in a working state when it is determined that the collected data sent from the monitoring device DTU is received, wherein the master BCU is communicatively connected to the slave BMU via two communication lines; the two communication lines include a first communication line and a second communication line, and for each communication line, the closing and opening of the line are controlled by a MOS tube. In an initial state, the first communication line is in a closed state, and the second communication line is in a disconnected state; The third determination unit is used to count and accumulate the first fault number when it is determined that the current communication line is the first communication line, and when the first fault number is greater than or equal to the preset number, control the closing and opening of the circuit through the MOS tube so that the first communication line is in an open state and the second communication line is in a closed state.

10. A master-slave communication line fault determination system, characterized in that: The device comprises the master-slave communication line fault determination device according to claim 9, wherein the master-slave communication line fault determination device is a battery management system BMS, further comprising a master BCU and a slave BMU, wherein the master BCU is communicatively connected to the slave BMU via two communication lines, and the slave BMU further comprises a built-in monitoring device DTU for transmitting collected temperature data or voltage data to the battery management system BMS; The two communication lines include a first communication line and a second communication line. For each communication line, the closing and opening of the line are controlled by a MOS transistor. In the initial state, the first communication line is in a closed state and the second communication line is in a disconnected state. When the first communication line is in an abnormal state, the MOS tube is used to control the closing and opening of the line, so that the first communication line is in an open state and the second communication line is in a closed state.

Citation Information

Patent Citations

  • One host and multiple slave type communication device and communication method

    CN106339345A

  • Power system switching scheme based on double CAN

    CN107364439A