Methods, devices, vehicles, and storage media for handling relay adhesion.

By acquiring multiple voltage values ​​in the high-voltage topology and calculating the voltage difference, the connection status of the relay is determined, solving the problem of insufficient accuracy in relay status detection in high-voltage systems, realizing accurate handling of relay adhesion, and improving the safety and reliability of the system.

CN121483928BActive Publication Date: 2026-07-17CHINA FAW CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA FAW CO LTD
Filing Date
2025-10-28
Publication Date
2026-07-17

Smart Images

  • Figure CN121483928B_ABST
    Figure CN121483928B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, vehicle, and storage medium for handling relay adhesion. The method includes: acquiring multiple voltage values ​​in a high-voltage topology, including motor voltage, battery module voltage, high-voltage DC charging interface voltage, and DC charging interface voltage; determining the connection status of multiple relays in the high-voltage topology, including the main positive and main negative relays of the battery module, and the charging positive and charging negative relays of the DC charging interface, with connection statuses including adhered and disconnected states; and processing the relay adhesion based on the multiple voltage values ​​and the connection status of the multiple relays. This invention solves the technical problem in the prior art where the accuracy of judging relay fault conditions is low, leading to inaccurate fault handling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automation control technology, and more specifically, to a method, apparatus, vehicle, and storage medium for dealing with relay adhesion. Background Technology

[0002] In the field of new energy vehicle technology, especially in the context of high-voltage system management and relay fault detection, the increasing electrification of vehicles has led to a significant increase in the number of high-voltage electrical devices, resulting in greater complexity of the vehicle's high-voltage system. In high-voltage systems, relays, as critical electronic switches, require accurate status detection to ensure safe system operation. However, current technologies often rely on a single detection method, such as misalignment detection, which faces challenges in accuracy and reliability when dealing with complex high-voltage systems.

[0003] Existing detection methods, particularly for detecting relay sticking faults, have certain limitations. When a piece of electrical equipment in a high-voltage system malfunctions or experiences hardware failure, the high-voltage relay may stick. However, relying solely on misalignment detection methods to determine the relay status cannot accurately distinguish the relay's true condition when the detection circuit is abnormal, potentially leading to misjudgments. Such misjudgments not only affect the normal operation of the vehicle but also pose a potential safety risk to maintenance personnel during after-sales service and repairs. Incorrect relay status information may lead maintenance personnel to operate the equipment without disconnecting the high-voltage power supply, increasing operational risks and potential personal injury.

[0004] Therefore, there is an urgent need to develop a technical solution that can improve the accuracy of relay fault detection in order to make up for the shortcomings of existing technologies. Summary of the Invention

[0005] This invention provides a method, apparatus, vehicle, and storage medium for handling relay adhesion, in order to at least solve the technical problem in the prior art where the accuracy of judging relay fault conditions is low, resulting in inaccurate fault handling.

[0006] According to one embodiment of the present invention, a method for processing relay adhesion is provided, comprising: acquiring multiple voltage values ​​in a high-voltage topology, wherein the multiple voltage values ​​include a motor voltage value, a battery module voltage value, an upper high-voltage DC charging interface voltage value, and a DC charging interface voltage value; determining the connection state of multiple relays in the high-voltage topology, wherein the multiple relays include a main positive relay and a main negative relay of the battery module, and a charging positive relay and a charging negative relay of the DC charging interface, and the connection state includes an adhesion state and a disconnection state; and processing the relay adhesion according to the multiple voltage values ​​and the connection state of the multiple relays.

[0007] Optionally, the method for handling relay sticking further includes: calculating a first difference between the motor voltage value and the battery module voltage value, a second difference between the DC charging interface voltage value and the battery module voltage value, and a third difference between the high-voltage DC charging interface voltage value and the battery module voltage value; comparing the first difference with a preset threshold to obtain a first comparison result; comparing the second difference with a preset threshold to obtain a second comparison result; comparing the third difference with a preset threshold to obtain a third comparison result; determining a relay sticking handling strategy based on the first comparison result, the second comparison result, the third comparison result, and the connection status of multiple relays; and handling the relay sticking according to the handling strategy.

[0008] Optionally, the method for handling relay sticking further includes: in response to the processing strategy satisfying a first condition, recording the fault code and freeze frame of the main positive relay, wherein the first condition is that the main positive relay is in a stuck state and the main negative relay is in an open state, and a first comparison result indicates that a first difference is greater than or equal to a preset threshold; in response to the processing strategy satisfying a second condition, recording the fault code and freeze frame of the charging negative relay, wherein the second condition is that the main positive relay is in an open state, the charging positive relay is in an open state, and the charging negative relay is in a stuck state, and a second comparison result indicates that a second difference is greater than or equal to a preset threshold; in response to If the processing strategy meets the third condition, the fault code and freeze frame of the charging positive relay are recorded. The third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, the charging negative relay is in the open state, the second comparison result shows that the second difference is greater than or equal to the preset threshold, and the third comparison result shows that the third difference is greater than or equal to the preset threshold. If the processing strategy meets the fourth condition, the fault code and freeze frame of the main negative relay are recorded. The fourth condition is that the main positive relay is in the open state, the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to the preset threshold.

[0009] Optionally, the method for handling relay sticking further includes: in response to the processing strategy satisfying any of the following conditions, sending a prompt message to the vehicle display screen, wherein the prompt message is used to prompt the user inside the vehicle to disconnect the fuse: the main positive relay is in a stuck state and the main negative relay is in an open state, and a first comparison result shows that a first difference is less than a preset threshold; the main positive relay is in a stuck state and the main negative relay is in a stuck state, and a first comparison result shows that a first difference is greater than or equal to a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state and the charging negative relay is in an open state, and a second comparison result shows that a second difference is less than a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state and the charging negative relay is in an open state, and a second comparison result shows that a second difference is greater than or equal to a preset threshold, and a third comparison result shows that a third difference is less than a preset threshold; the main positive relay is in an open state. Furthermore, the charging positive relay is in a stuck state, and the charging negative relay is in a stuck state, and the second comparison result shows that the second difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, and the charging positive relay is in a disconnected state, and the charging negative relay is in a stuck state, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay is in a disconnected state, and the main negative relay is in a stuck state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in a disconnected state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in a disconnected state, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in a disconnected state, and the third comparison result shows that the third difference is less than a preset threshold.

[0010] Optionally, the method for handling relay sticking further includes: controlling the fuse to disconnect in response to the processing strategy satisfying any of the following conditions: the main positive relay is in a stuck state, and the main negative relay is in a stuck state, and a first comparison result shows that the first difference is less than a preset threshold; the main positive relay is in a disconnected state, and the charging positive relay is in a stuck state, and the charging negative relay is in a stuck state, and a second comparison result shows that the second difference is less than a preset threshold.

[0011] Optionally, the method for handling relay adhesion further includes: obtaining the positive and negative voltage values ​​of the battery module and the right-side voltage value of the fuse; calculating a fourth difference between the positive and negative voltage values; calculating a fifth difference between the right-side voltage value and the negative voltage value; calculating a sixth difference between the fourth and fifth differences; and, in response to the sixth difference being a preset value, processing the relay adhesion based on multiple voltage values ​​and the connection status of multiple relays.

[0012] According to one embodiment of the present invention, a relay adhesion processing device is also provided, comprising: an acquisition module for acquiring multiple voltage values ​​in a high-voltage topology, wherein the multiple voltage values ​​include a motor voltage value, a battery module voltage value, an upper high-voltage DC charging interface voltage value, and a DC charging interface voltage value; a determination module for determining the connection state of multiple relays in the high-voltage topology, wherein the multiple relays include a main positive relay and a main negative relay of the battery module, and a charging positive relay and a charging negative relay of the DC charging interface, and the connection state includes an adhesion state and a disconnection state; and a processing module for processing the relay adhesion according to the multiple voltage values ​​and the connection state of the multiple relays.

[0013] Optionally, the processing module includes: a first calculation unit, used to calculate a first difference between the motor voltage value and the battery module voltage value, a second difference between the DC charging interface voltage value and the battery module voltage value, and a third difference between the high-voltage DC charging interface voltage value and the battery module voltage value; a first comparison unit, used to compare the first difference with a preset threshold to obtain a first comparison result; a second comparison unit, used to compare the second difference with a preset threshold to obtain a second comparison result; a third comparison unit, used to compare the third difference with a preset threshold to obtain a third comparison result; a determination unit, used to determine a relay adhesion processing strategy based on the first comparison result, the second comparison result, the third comparison result, and the connection status of multiple relays; and a first processing unit, used to process the relay adhesion according to the processing strategy.

[0014] Optionally, the first processing unit includes: a first recording subunit, configured to record the fault code and freeze frame of the main positive relay in response to the processing strategy meeting a first condition, wherein the first condition is that the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result indicates that a first difference is greater than or equal to a preset threshold; a second recording subunit, configured to record the fault code and freeze frame of the charging negative relay in response to the processing strategy meeting a second condition, wherein the second condition is that the main positive relay is in a disconnected state, the charging positive relay is in a disconnected state, and the charging negative relay is in a stuck state, and a second comparison result indicates that a second difference is greater than or equal to a preset threshold; and a third recording subunit. The first unit is used to record the fault code and freeze frame of the charging positive relay in response to the processing strategy meeting the third condition. The third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, and the charging negative relay is in the open state. The second comparison result shows that the second difference is greater than or equal to a preset threshold, and the third comparison result shows that the third difference is greater than or equal to a preset threshold. The second recording subunit is used to record the fault code and freeze frame of the main negative relay in response to the processing strategy meeting the fourth condition. The fourth condition is that the main positive relay is in the open state, the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to a preset threshold.

[0015] Optionally, the first processing unit further includes: a sending subunit, configured to send a prompt message to the vehicle display screen in response to the processing strategy satisfying any of the following conditions, wherein the prompt message is used to prompt the user inside the vehicle to disconnect the fuse: the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result shows that a first difference is less than a preset threshold; the main positive relay is in a stuck state and the main negative relay is in a stuck state, and a first comparison result shows that a first difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is less than a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is greater than or equal to a preset threshold, and a third comparison result shows that a third difference is less than a preset threshold; the main positive relay is in a disconnected state. The following conditions are met: The main positive relay is in an open state, the charging positive relay is in an stuck state, and the charging negative relay is in an stuck state; the second comparison result shows that the second difference is greater than or equal to a preset threshold. The main positive relay is in an open state, the charging positive relay is in an open state, and the charging negative relay is in an stuck state; the second comparison result shows that the second difference is less than a preset threshold. The main positive relay is in an open state, and the main negative relay is in an stuck state; the first comparison result shows that the first difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the first comparison result shows that the first difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the second comparison result shows that the second difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the third comparison result shows that the third difference is less than a preset threshold.

[0016] Optionally, the first processing unit further includes a control subunit, configured to control the fuse to open in response to the processing strategy satisfying any of the following conditions: the main positive relay is in a stuck state, the main negative relay is in a stuck state, and a first comparison result indicates that the first difference is less than a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state, the charging negative relay is in a stuck state, and a second comparison result indicates that the second difference is less than a preset threshold.

[0017] Optionally, the processing module further includes: an acquisition unit for acquiring the positive and negative voltage values ​​of the battery module, and the right-side voltage value of the fuse; a second calculation unit for calculating a fourth difference between the positive and negative voltage values; a third calculation unit for calculating a fifth difference between the right-side voltage value and the negative voltage value; a fourth calculation unit for calculating a sixth difference between the fourth and fifth differences; and a second processing unit for processing relay adhesion based on multiple voltage values ​​and the connection status of multiple relays in response to the sixth difference being a preset value.

[0018] According to one embodiment of the present invention, a vehicle is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the relay adhesion processing method described in any of the preceding claims.

[0019] According to one embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the relay adhesion processing method described in any of the preceding claims.

[0020] According to one embodiment of the present invention, a non-volatile storage medium is also provided, wherein a computer program is stored in the non-volatile storage medium, and the computer program is configured to execute the relay adhesion processing method described in any of the above-mentioned embodiments when running.

[0021] According to one embodiment of the present invention, a computer program product is also provided, which stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the relay adhesion processing method described above.

[0022] In this embodiment of the invention, multiple voltage values ​​in the high-voltage topology are acquired, including motor voltage, battery module voltage, high-voltage DC charging interface voltage, and DC charging interface voltage. This achieves the purpose of determining the connection status of multiple relays in the high-voltage topology. The multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface. The connection status includes an adhered state and a disconnected state. This achieves the technical effect of processing relay adhesion based on multiple voltage values ​​and the connection status of multiple relays. In turn, it can solve the technical problem in the prior art where the accuracy of judging the fault status of relays is low, resulting in inaccurate fault handling. Attached Figure Description

[0023] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0024] Figure 1 This is a flowchart of a method for handling relay adhesion according to one embodiment of the present invention;

[0025] Figure 2 This is a high-voltage topology diagram of relay adhesion according to one embodiment of the present invention;

[0026] Figure 3 This is a structural block diagram of a relay adhesion processing device according to one embodiment of the present invention. Detailed Implementation

[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0029] According to an embodiment of the present invention, an embodiment of a method for processing relay adhesion is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system containing at least one set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0030] This method embodiment can also be executed in an electronic device, similar control device, or vehicle-mounted terminal that includes a memory and a processor. Taking a vehicle-mounted terminal as an example, the vehicle-mounted terminal may include one or more processors and a memory for storing data. Optionally, the vehicle-mounted terminal may also include a communication device for communication functions and a display device. Those skilled in the art will understand that the above structural description is merely illustrative and does not limit the structure of the vehicle-mounted terminal. For example, the vehicle-mounted terminal may include more or fewer components than those described above, or have a different configuration than those described above.

[0031] A processor may include one or more processing units. For example, a processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor, a field-programmable gate array (FPGA), a neural network processing unit (NPU), a tensor processing unit (TPU), or an artificial intelligence (AI) type processor. Different processing units may be independent components or integrated into one or more processors. In some instances, electronic devices may also include one or more processors.

[0032] The memory can be used to store computer programs, such as the computer program corresponding to the relay adhesion processing method in this embodiment of the invention. The processor implements the aforementioned relay adhesion processing method by running the computer program stored in the memory. The memory may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to electronic devices via a grid. Examples of such grids include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0033] The communication device is used to receive or transmit data via a grid. Specific examples of the aforementioned grid may include a wireless grid provided by the mobile terminal's communication provider. In one example, the communication device includes a network interface controller (NIC), which can connect to other grid devices via a base station to communicate with the Internet. In another example, the communication device may be a radio frequency (RF) module used for wireless communication with the Internet. In some embodiments of this solution, the communication device is used to connect to mobile devices such as mobile phones and tablets, enabling the mobile device to send commands to the vehicle-mounted terminal.

[0034] The display device can be a touchscreen liquid crystal display (LCD) or a touch display (also referred to as a "touchscreen" or "touch display screen"). This LCD allows the user to interact with the user interface of the in-vehicle terminal. In some embodiments, the in-vehicle terminal has a graphical user interface (GUI), allowing the user to interact with the GUI through finger contact and / or gestures on a touch-sensitive surface. The human-machine interaction function may include a vehicle gear shifting function, and executable instructions for performing these functions are configured / stored in one or more processor-executable computer program products or readable storage media.

[0035] Figure 1 This is a flowchart of a method for handling relay adhesion according to one embodiment of the present invention, as shown below. Figure 1 As shown, the method includes the following steps:

[0036] Step S102: Obtain multiple voltage values ​​in the high-voltage topology, including motor voltage value, battery module voltage value, high-voltage DC charging interface voltage value, and DC charging interface voltage value.

[0037] Optionally, the execution subject in this embodiment is a fault handling system. It should be noted that other electronic devices and processors can also be used as the execution subject, and no further limitations are made here.

[0038] In the technical solution provided in step S102 of the present invention, the motor voltage value refers to the voltage across the terminals of the high-voltage motor when it acts as a load. In high-voltage systems, a voltage sensor is typically placed on the high-voltage line between the motor controller and the motor to monitor the motor's operating voltage in real time.

[0039] Specifically, the battery module voltage value refers to the output voltage of the power battery. In a high-voltage system, the battery management system (BMS) is responsible for monitoring parameters such as voltage, current, and temperature of all battery cells to ensure normal operation and lifespan of the battery. The voltage value of the battery module can be obtained through voltage sensors within the battery pack. These sensors can periodically or continuously read the voltage of the battery cells and summarize the total voltage of the entire battery module.

[0040] Specifically, the high voltage DC charging interface voltage value is the voltage across the charging interface when the vehicle is undergoing DC fast charging. A voltage sensor installed in the charging line can measure the charging interface voltage to monitor the voltage level during the charging process, ensure charging safety, and avoid overvoltage damage to the battery.

[0041] Specifically, the DC charging interface voltage value refers to the voltage at the charging interface when not charging. Although it is necessary to monitor the charging voltage during charging, it is also important to monitor the charging interface voltage when not charging, because monitoring the charging interface voltage when not charging can help determine whether there is leakage or a short circuit inside the charging interface.

[0042] Specifically, the battery management system (BMS) is responsible for monitoring and controlling the charging and discharging process of the battery pack to optimize battery performance, extend battery life, and ensure safety.

[0043] As an alternative implementation, voltage sensors are deployed at key nodes of the high-voltage system to directly measure the four voltage values ​​mentioned above. The voltage sensors transmit the collected data to the battery management system (BMS), which then performs real-time analysis and storage. In particular, this approach requires sensors with high accuracy and stability, capable of withstanding electrical interference under high-voltage conditions.

[0044] As an alternative implementation, the system can also utilize in-vehicle network communication technology to remotely acquire voltage values. For example, the motor controller, charging controller, and BMS exchange data via a CAN communication bus. The BMS can obtain the motor voltage and the high-voltage DC charging interface voltage from the motor controller and charging controller, while the battery module voltage is obtained by the BMS's own monitoring system. This approach can reduce the number of physical sensors deployed in the vehicle, but it requires high network communication quality and data processing capabilities.

[0045] It is worth noting that by acquiring multiple voltage values ​​within the high-voltage topology, precise monitoring of the status of various components of the high-voltage system can be achieved. This technical step enhances the system's sensitivity to voltage imbalances, short circuits, or other anomalies, improving the speed and accuracy of fault detection. In particular, real-time monitoring of the voltage of motors, batteries, and charging interfaces helps prevent overvoltage and undervoltage events, reduces electrical risks, and provides data support for the safe operation of high-voltage systems.

[0046] Step S104: Determine the connection status of multiple relays in the high-voltage topology. The multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface. The connection status includes the sticking state and the disconnected state.

[0047] In the technical solution provided by step S104 of the present invention, during high-voltage power-on or charging, the system determines the connection status of the relay by detecting the voltage difference or current state across the relay. Furthermore, if the relay disconnects normally, the voltage difference across its terminals should meet the expected value; if it is stuck, the voltage difference will abnormally decrease or approach zero, indicating that the relay failed to properly disconnect the circuit.

[0048] Specifically, by comparing the voltage values ​​at various detection points in the high-voltage system (such as the motor, battery, and charging interface), the connection status of the relay can be indirectly determined. If the voltage difference is within a reasonable range, it indicates that the relay may be in an open state; if the voltage difference is constantly decreasing, it may be due to the relay sticking together, causing the high-voltage current path to not be effectively broken.

[0049] Specifically, relay sticking refers to a situation where the contacts of a relay cannot effectively separate when the circuit should be disconnected, resulting in the circuit remaining open.

[0050] As an alternative implementation, voltage sensors are installed at both ends of the relay, and the relay's state is determined by real-time acquisition and comparison of the voltage difference between the two ends. This method allows for direct detection via hardware and is suitable for scenarios requiring high precision and real-time judgment.

[0051] As an alternative implementation, the system can also indirectly determine the relay's connection status by not directly measuring the voltage across the relay, but by observing the implementation of specific functions in the high-voltage system, such as motor starting and charging. If the power supply status of the corresponding equipment (such as the motor or charging interface) remains abnormal after the high voltage is turned off or charging is disconnected, it may indicate that the relay has failed to disconnect correctly. This method reduces the use of sensors, relies more on system performance, and is suitable for applications with high requirements for cost control and system integration.

[0052] It is worth noting that by determining the relay connection status, potential relay sticking problems in high-voltage systems can be detected and addressed in a timely manner, reducing system misoperation or downtime caused by relay failure. This not only improves the safety and reliability of high-voltage systems but also reduces the operational risks to personnel caused by relay sticking during after-sales service.

[0053] Step S106: Process the relay adhesion based on multiple voltage values ​​and the connection status of multiple relays.

[0054] In the technical solution provided by step S106 of the present invention, the multiple voltage values ​​(including motor voltage, battery module voltage, high voltage DC charging interface voltage and DC charging interface voltage) are comprehensively analyzed with the connection status (adhesion or disconnection) of the relay to determine whether there is a problem of relay adhesion in the high voltage system. That is, by comparing the voltage value with the expected value under normal conditions, and combining the time point when the relay should be open or closed, it is determined whether the actual operation of the relay meets the expectations.

[0055] Furthermore, based on the data analysis results, the diagnostic system can determine which relays may be stuck. For example, if the battery module voltage is close to or equal to the motor voltage or charging interface voltage when the system should be powered down and the relays should be disconnected, this may indicate that the relevant relays have failed to disconnect correctly. For relays determined to be stuck, appropriate action is taken, such as controlling the tripping of the excitation fuse to cut off the high-voltage circuit, or displaying a warning message on the instrument panel to prompt maintenance personnel to manually disconnect the circuit for necessary inspection and repair.

[0056] Specifically, the activated fuse can actively disconnect the circuit when it receives a control signal, providing more flexible control capabilities compared to traditional fuses, and is used for the safe disconnection of high-voltage circuits.

[0057] As an optional implementation, upon detecting relay sticking, the system automatically initiates a fault handling procedure, such as controlling the battery management system to disconnect the high-voltage circuit by disconnecting the excitation fuse, ensuring that the high-voltage system can achieve high-voltage power disconnection under relay sticking conditions, thereby improving safety and reducing maintenance risks.

[0058] As an alternative implementation, upon detecting adhesion, the system displays a warning message on the dashboard or a smart device used by maintenance personnel, indicating a potential problem with the relay. Based on the displayed information, maintenance personnel can manually disconnect the excitation fuse or take other appropriate maintenance measures. This implementation is suitable for situations where the system cannot automatically handle or confirm the issue, adding a human judgment and operational step.

[0059] It is worth noting that by addressing relay sticking based on multiple voltage values ​​and relay connection status, the response speed and processing efficiency of high-voltage systems to relay sticking faults can be significantly improved, reducing system malfunctions and safety risks caused by relay sticking. The above technical steps can provide data support and operational guidance for fault diagnosis and safety control of high-voltage systems, enhancing system safety and reliability, and reducing maintenance costs and operational risks.

[0060] Steps S102 to S106 above show that, in this invention, multiple voltage values ​​in the high-voltage topology are obtained, including motor voltage, battery module voltage, high-voltage DC charging interface voltage, and DC charging interface voltage. This achieves the purpose of determining the connection status of multiple relays in the high-voltage topology. The multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface. The connection status includes an adhered state and a disconnected state. This achieves the technical effect of processing relay adhesion based on multiple voltage values ​​and the connection status of multiple relays. In turn, it can solve the technical problem in the prior art where the accuracy of judging relay fault conditions is low, resulting in inaccurate fault handling.

[0061] The method described in this embodiment will now be described in further detail.

[0062] Step S1061: Calculate the first difference between the motor voltage value and the battery module voltage value, the second difference between the DC charging interface voltage value and the battery module voltage value, and the third difference between the high-voltage DC charging interface voltage value and the battery module voltage value.

[0063] Step S1062: Compare the first difference with a preset threshold to obtain a first comparison result;

[0064] Step S1063: Compare the second difference with a preset threshold to obtain a second comparison result;

[0065] Step S1064: Compare the third difference with a preset threshold to obtain the third comparison result;

[0066] Step S1065: Determine the handling strategy for relay sticking based on the first comparison result, the second comparison result, the third comparison result and the connection status of multiple relays;

[0067] Step S1066: Process the relay adhesion according to the processing strategy.

[0068] In this embodiment, the system first needs to calculate the difference between the motor voltage and the battery module voltage (first difference), the difference between the DC charging interface voltage and the battery module voltage (second difference), and the difference between the high-voltage DC charging interface voltage and the battery module voltage (third difference). Then, the three calculated differences are compared with preset thresholds to determine whether they are within the normal range.

[0069] Furthermore, after comparing each value with a preset threshold, first, second, and third comparison results can be obtained. These results indicate whether each difference exceeds the preset threshold, thus providing a preliminary assessment of whether the relevant relays are stuck together. Based on the comparison results and the current connection status of the relays in the system, the system will formulate a processing strategy. For example, if multiple differences exceed the preset threshold and the relay should be in the open state, it can be determined that the relay is open; conversely, if the relay is known to be in the closed state and the differences are normal, it indicates that the relay may be stuck together. Finally, according to the determined processing strategy, the system will take corresponding actions, such as controlling the excitation fuse to open, displaying warning messages on the instrument panel, or recording fault codes, to address the relay sticking situation and ensure the safe operation of the high-voltage system.

[0070] Optionally, the aforementioned preset threshold is a parameter used to determine whether the relay may stick together. It is usually set at a voltage difference level that is sufficient to distinguish between normal disconnection and sticking. Specifically, in this application, it can be set to 20V.

[0071] As an optional implementation, the BMS can automatically monitor and compare voltage differences. Once an abnormal result is detected, it immediately triggers the corresponding processing strategy, such as controlling the excitation fuse to open, without manual intervention, ensuring that the system responds quickly to protect the high-voltage circuit from the effects of stuck relays.

[0072] As an alternative implementation, when the system detects a possible relay sticking but cannot fully confirm it, it notifies maintenance personnel via the dashboard, requesting them to further determine whether to manually disconnect the excitation fuse. This approach introduces human judgment when the system's assessment is uncertain, thereby enhancing safety.

[0073] It is worth noting that the aforementioned technical actions enable real-time monitoring and accurate assessment of the relay sticking status in high-voltage systems, allowing for rapid response measures to be taken based on specific circumstances. This method enhances the self-protection capability of high-voltage systems in the event of relay failure, reduces the risk of misoperation, and improves system safety and maintenance efficiency.

[0074] Step S10661: In response to the processing strategy satisfying the first condition, record the fault code and freeze frame of the main positive relay, wherein the first condition is that the main positive relay is in a stuck state and the main negative relay is in a disconnected state and the first comparison result shows that the first difference is greater than or equal to a preset threshold.

[0075] Step S10662: In response to the processing strategy meeting the second condition, record the fault code and freeze frame of the charging negative relay. The second condition is that the main positive relay is in the off state, the charging positive relay is in the off state, the charging negative relay is in the stuck state, and the second comparison result shows that the second difference is greater than or equal to the preset threshold.

[0076] Step S10663: In response to the processing strategy satisfying the third condition, record the fault code and freeze frame of the charging positive relay. The third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, the charging negative relay is in the open state, the second comparison result shows that the second difference is greater than or equal to the preset threshold, and the third comparison result shows that the third difference is greater than or equal to the preset threshold.

[0077] Step S10664: In response to the processing strategy satisfying the fourth condition, record the fault code and freeze frame of the main negative relay. The fourth condition is that the main positive relay is in the open state and the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to the preset threshold.

[0078] In this embodiment, if the system determines that the main positive relay ( Figure 2 Q1) is in an adhesive state, main negative relay ( Figure 2 If Q2 is in the disconnected state, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the first difference between the motor voltage and the battery module voltage in the secondary judgment is greater than or equal to a preset threshold, it indicates that the main positive relay may not have a sticking problem, but the system has not yet fully determined this. At this time, the processing strategy will instruct the system to record the fault code and freeze frame of the main positive relay to retain the system status information at the time of the fault for subsequent analysis.

[0079] Specifically, if the system determines the main positive relay and the charging positive relay ( Figure 2 Both Q3 and Q4 are in the off state, while the charging negative relay (Q3) is in the off state. Figure 2 However, if Q4 is detected as stuck, the system needs to perform a second judgment based on the comparison results. Furthermore, if the second difference between the DC charging interface voltage and the battery module voltage in the second judgment is greater than or equal to a preset threshold, it indicates that the charging negative relay may not have a sticking problem, but the system is not yet fully certain. At this time, the system will record the fault code and freeze frame of the charging negative relay, indicating that there may be a relay sticking problem in the charging circuit, requiring further inspection.

[0080] Specifically, if both the main positive relay and the charging negative relay are in the open state, but the charging positive relay is detected as stuck, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the second and third differences in the secondary judgment (the differences between the DC charging interface voltage and the battery module voltage, and the difference between the high-voltage DC charging interface voltage and the battery module voltage, respectively) are both greater than or equal to preset thresholds, this indicates that the charging positive relay may not have a sticking problem, but the system has not yet fully determined this. At this time, the system will record the charging positive relay's fault code and freeze frame to identify the potential fault in the charging positive relay.

[0081] Specifically, if the main positive relay is detected as disconnected, but the main negative relay is in a stuck state, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the first difference between the motor voltage and the battery module voltage in the secondary judgment is not less than a preset threshold, this indicates that the main negative relay may not have a stuck problem, but the system is not yet fully certain. In this case, the processing strategy will record the fault code and freeze frame of the main negative relay to ensure that even when the main positive relay is normally disconnected, the stuck state of the main negative relay can still be identified and recorded.

[0082] Specifically, the above fault codes are used to represent the specific type of fault detected by the system. They are usually used to quickly identify and classify faults, which facilitates subsequent troubleshooting and repair.

[0083] Specifically, a freeze frame is a snapshot of the system state at the moment of a fault or before or after the fault occurs. It contains the values ​​of key variables in the system at that time, such as voltage, current, and temperature, and is important data for analyzing the cause of the fault.

[0084] As an optional implementation, when the battery management system detects that one of the above four conditions is met, it will immediately record the fault code and freeze frame in the system log. At the same time, it will transmit this information to the dashboard or service center through the vehicle network to facilitate real-time monitoring and quick fault location.

[0085] It is worth noting that through the above technical steps, the system can automatically identify and record relay sticking problems in high-voltage topologies, providing detailed data for subsequent fault diagnosis and maintenance. This method improves the automation level of fault detection, reduces the time required for troubleshooting, and also reduces the risk of maintenance personnel directly contacting the high-voltage system, thereby improving the safety and efficiency of high-voltage system maintenance.

[0086] Step S10665: In response to the processing strategy satisfying any of the following conditions, a prompt message is sent to the vehicle display screen, wherein the prompt message is used to prompt the user in the vehicle to disconnect the fuse: the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay is in a stuck state and the main negative relay is in a stuck state, and the first comparison result shows that the first difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and the second comparison result shows that the second difference is greater than or equal to a preset threshold, and the third comparison result shows that the third difference is less than a preset threshold; the main positive relay is in a disconnected state and ... The relays are in a stuck state, and the charging negative relay is also stuck, and the second comparison result shows that the second difference is greater than or equal to a preset threshold; the main positive relay is in an open state, and the charging positive relay is also open, and the charging negative relay is stuck, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay is in an open state, and the main negative relay is stuck, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state, and the third comparison result shows that the third difference is less than a preset threshold.

[0087] In this embodiment, if the main positive relay is stuck and the main negative relay is open, the system needs to perform a secondary judgment based on the comparison result. Furthermore, if the first difference in the secondary judgment is less than a preset threshold, this indicates that the relays may be stuck. At this time, the system will immediately issue a warning to the user through the vehicle's dashboard or display screen, instructing the user to disconnect the fuse to ensure that the high-voltage system is in a safe state.

[0088] Specifically, if both the main positive and negative relays are stuck together, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the first difference in the secondary judgment is greater than or equal to a preset threshold, this indicates that relay sticking may have occurred. In this case, the system will immediately issue a warning to the user through the vehicle's dashboard or display screen, instructing the user to disconnect the fuse to ensure the high-voltage system is in a safe state.

[0089] Specifically, if both the main positive relay and the charging negative relay are in the open state, but the charging positive relay is stuck, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the second difference in the secondary judgment is less than a preset threshold, this indicates that the relay may be stuck. In this case, the system will immediately issue a warning to the user through the vehicle's instrument panel or display screen, instructing the user to disconnect the fuse to ensure that the high-voltage system is in a safe state.

[0090] Specifically, if both the main positive relay and the charging negative relay are in the open state, but the charging positive relay is stuck, the system needs to perform a second judgment based on the comparison results. Furthermore, if the second difference in the second judgment is greater than or equal to a preset threshold, the system needs to perform a third judgment. Further, if the third difference in the third judgment is less than the preset threshold, this indicates that the relay may be stuck. At this point, the system will immediately issue a warning to the user through the vehicle's dashboard or display screen, instructing the user to disconnect the fuse to ensure the high-voltage system is in a safe state.

[0091] Specifically, if the main positive relay is open, but both the charging positive and charging negative relays are stuck together, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the second difference in the secondary judgment is greater than or equal to a preset threshold, this indicates that relay sticking may have occurred. In this case, the system will immediately issue a warning to the user through the vehicle's dashboard or display screen, instructing the user to disconnect the fuse to ensure the high-voltage system is in a safe state.

[0092] Specifically, if both the main positive relay and the charging positive relay are in the open state, but the charging negative relay is stuck, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the second difference in the secondary judgment is less than a preset threshold, this indicates that the relay may be stuck. At this time, the system will immediately issue a warning to the user through the vehicle's instrument panel or display screen, instructing the user to disconnect the fuse to ensure that the high-voltage system is in a safe state.

[0093] Specifically, if the main positive relay is open but the main negative relay is stuck, the system needs to perform a secondary judgment based on the comparison result. Furthermore, if the first difference in the secondary judgment is less than a preset threshold, this indicates that the relay may be stuck. In this case, the system will immediately issue a warning to the user through the vehicle's dashboard or display screen, instructing the user to disconnect the fuse to ensure the high-voltage system is in a safe state.

[0094] Specifically, if the main positive relay, main negative relay, charging positive relay, and charging negative relay are all in the open state, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if any of the following conditions are met in the secondary judgment, it indicates that the relays may be stuck together. At this time, the system will immediately issue a warning to the user through the vehicle's instrument panel or display screen, instructing the user to disconnect the fuse to ensure that the high-voltage system is in a safe state.

[0095] Optionally, any of the above conditions may be: the first difference is less than a preset threshold; the second difference is less than a preset threshold; or the third comparison result indicates that the third difference is less than a preset threshold.

[0096] As an alternative implementation, the battery management system automatically triggers a warning on the display screen when it detects that any of the above conditions are met, without the need for additional hardware intervention, thus achieving a rapid response.

[0097] As another alternative implementation, the battery management system sends the judgment result to the vehicle's central control module via the vehicle's internal network (such as the CAN bus), and the central control module then manages and decides whether to display a warning message on the display screen.

[0098] It is worth noting that, through the aforementioned technical actions, the system can promptly send warning messages to the user via the vehicle's display screen in various combinations of relay sticking and disconnection, indicating the necessity of disconnecting the fuse. This method improves the safety of the vehicle's high-voltage system, ensuring that the user can be quickly notified and take action in the event of relay sticking or high-voltage circuit abnormalities, avoiding potential electric shock or fire risks.

[0099] Step S10666: In response to the processing strategy satisfying any of the following conditions, control the fuse to open: the main positive relay is in a stuck state, the main negative relay is in a stuck state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state, the charging negative relay is in a stuck state, and the second comparison result shows that the second difference is less than a preset threshold.

[0100] In this embodiment, if both the main positive relay and the main negative relay are stuck together, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the result of the secondary judgment shows that the first difference is less than a preset threshold, this indicates that the relays have definitely stuck together. At this time, the system will respond with a processing strategy, controlling the fuse to immediately disconnect to cut off the high-voltage circuit and protect the safety of the vehicle and maintenance personnel.

[0101] Specifically, if the main positive relay is in the open state, but both the charging positive relay and the charging negative relay are stuck together, the system needs to perform a secondary judgment based on the comparison results. Furthermore, if the result of the secondary judgment shows that the second difference is less than a preset threshold, this indicates that the aforementioned relays must be stuck together. At this time, the system will respond with a handling strategy, controlling the fuse to immediately disconnect to cut off the high-voltage circuit and protect the safety of the vehicle and maintenance personnel.

[0102] As an optional implementation, if any of the above conditions are met, the battery management system can directly control the excitation fuse to open without manual intervention, thereby achieving rapid response and safe power disconnection of the high-voltage system.

[0103] It is worth noting that the above technical steps enable timely response to abnormal situations such as relay sticking in the high-voltage system. By disconnecting the fuse, the continuous conduction of the high-voltage circuit is effectively prevented, thereby avoiding potential safety hazards such as electric shock and fire risks. This ensures the safety of personnel during vehicle maintenance or abnormal situations, thereby improving the proactive protection capability of the high-voltage system in the face of relay failures, reducing the delay of passive waiting or manual intervention, and enhancing the overall safety and stability of the system.

[0104] Step S1067: Obtain the positive and negative voltage values ​​of the battery module, and the voltage value on the right side of the fuse;

[0105] Step S1068: Calculate the fourth difference between the positive and negative voltage values;

[0106] Step S1069: Calculate the fifth difference between the voltage value on the right side and the voltage value on the negative terminal;

[0107] Step S10610: Calculate the sixth difference between the fourth and fifth differences;

[0108] Step S10611: In response to the sixth difference being a preset value, the relay sticking is processed according to multiple voltage values ​​and the connection status of multiple relays.

[0109] In this embodiment, the system first acquires the positive and negative voltage values ​​of the battery module, as well as the voltage value on the right side of the fuse (the side away from the battery module). These voltage values ​​can reflect the real-time potential status of key points in the high-voltage system.

[0110] Furthermore, the system calculates the voltage difference between the positive and negative terminals of the battery module (fourth difference), and the voltage difference between the voltage on the right side of the fuse and the voltage at the negative terminal of the battery module (fifth difference). The system then compares these two differences and calculates their relative difference (sixth difference). If the calculated sixth difference equals a preset value (i.e., 0), it indicates that the voltage on the battery module output side is the same as the voltage on the back side of the fuse, suggesting a relay sticking problem. At this point, the system will activate the relay sticking handling strategy based on the connection status of all relays and the aforementioned voltage values, taking corresponding safety measures.

[0111] As an optional implementation, the battery management system acquires and analyzes the voltage value and relay status in the high-voltage system in real time through an integrated voltage sensor and relay status detection module. Once the sixth difference is detected to be equal to a preset value, indicating an abnormal relay connection status, the battery management system will activate the relay adhesion handling strategy and take corresponding safety measures.

[0112] It is worth noting that through this technical step, the high-voltage system can promptly identify and respond to relay sticking problems based on the analysis of voltage values ​​and relay status. By disconnecting the fuse, the high-voltage circuit can be cut off, effectively reducing the high-voltage safety risks during maintenance or fault conditions and ensuring personnel safety.

[0113] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or grid device, etc.) to execute the methods of the various embodiments of the present invention.

[0114] This embodiment also provides a relay adhesion processing device, which is used to implement the above embodiments and preferred embodiments, and will not be repeated as already described. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0115] Figure 3 This is a structural block diagram of a relay adhesion treatment device 300 according to one embodiment of the present invention, as shown below. Figure 3 As shown, the device includes: an acquisition module 301, a determination module 302, and a processing module 303.

[0116] The acquisition module 301 is used to acquire multiple voltage values ​​in the high-voltage topology, including motor voltage value, battery module voltage value, high-voltage DC charging interface voltage value, and DC charging interface voltage value.

[0117] The determination module 302 is used to determine the connection status of multiple relays in the high-voltage topology. The multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface. The connection status includes the sticking state and the disconnected state.

[0118] The processing module 303 is used to process relay adhesion based on multiple voltage values ​​and the connection status of multiple relays.

[0119] Optionally, the processing module 303 includes: a first calculation unit, used to calculate a first difference between the motor voltage value and the battery module voltage value, a second difference between the DC charging interface voltage value and the battery module voltage value, and a third difference between the high-voltage DC charging interface voltage value and the battery module voltage value; a first comparison unit, used to compare the first difference with a preset threshold to obtain a first comparison result; a second comparison unit, used to compare the second difference with a preset threshold to obtain a second comparison result; a third comparison unit, used to compare the third difference with a preset threshold to obtain a third comparison result; a determination unit, used to determine a relay adhesion processing strategy based on the first comparison result, the second comparison result, the third comparison result, and the connection status of multiple relays; and a first processing unit, used to process the relay adhesion according to the processing strategy.

[0120] Optionally, the first processing unit includes: a first recording subunit, configured to record the fault code and freeze frame of the main positive relay in response to the processing strategy meeting a first condition, wherein the first condition is that the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result indicates that a first difference is greater than or equal to a preset threshold; a second recording subunit, configured to record the fault code and freeze frame of the charging negative relay in response to the processing strategy meeting a second condition, wherein the second condition is that the main positive relay is in a disconnected state, the charging positive relay is in a disconnected state, and the charging negative relay is in a stuck state, and a second comparison result indicates that a second difference is greater than or equal to a preset threshold; and a third recording subunit. The first unit is used to record the fault code and freeze frame of the charging positive relay in response to the processing strategy meeting the third condition. The third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, and the charging negative relay is in the open state. The second comparison result shows that the second difference is greater than or equal to a preset threshold, and the third comparison result shows that the third difference is greater than or equal to a preset threshold. The second recording subunit is used to record the fault code and freeze frame of the main negative relay in response to the processing strategy meeting the fourth condition. The fourth condition is that the main positive relay is in the open state, the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to a preset threshold.

[0121] Optionally, the first processing unit further includes: a sending subunit, configured to send a prompt message to the vehicle display screen in response to the processing strategy satisfying any of the following conditions, wherein the prompt message is used to prompt the user inside the vehicle to disconnect the fuse: the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result shows that a first difference is less than a preset threshold; the main positive relay is in a stuck state and the main negative relay is in a stuck state, and a first comparison result shows that a first difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is less than a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is greater than or equal to a preset threshold, and a third comparison result shows that a third difference is less than a preset threshold; the main positive relay is in a disconnected state. The following conditions are met: The main positive relay is in an open state, the charging positive relay is in an stuck state, and the charging negative relay is in an stuck state; the second comparison result shows that the second difference is greater than or equal to a preset threshold. The main positive relay is in an open state, the charging positive relay is in an open state, and the charging negative relay is in an stuck state; the second comparison result shows that the second difference is less than a preset threshold. The main positive relay is in an open state, and the main negative relay is in an stuck state; the first comparison result shows that the first difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the first comparison result shows that the first difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the second comparison result shows that the second difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the third comparison result shows that the third difference is less than a preset threshold.

[0122] Optionally, the first processing unit further includes a control subunit, configured to control the fuse to open in response to the processing strategy satisfying any of the following conditions: the main positive relay is in a stuck state, the main negative relay is in a stuck state, and a first comparison result indicates that the first difference is less than a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state, the charging negative relay is in a stuck state, and a second comparison result indicates that the second difference is less than a preset threshold.

[0123] Optionally, the processing module 303 further includes: an acquisition unit for acquiring the positive and negative voltage values ​​of the battery module and the right-side voltage value of the fuse; a second calculation unit for calculating a fourth difference between the positive and negative voltage values; a third calculation unit for calculating a fifth difference between the right-side voltage value and the negative voltage value; a fourth calculation unit for calculating a sixth difference between the fourth and fifth differences; and a second processing unit for processing relay adhesion based on multiple voltage values ​​and the connection status of multiple relays in response to the sixth difference being a preset value.

[0124] Embodiments of the present invention also provide a vehicle including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the above-described method for handling relay adhesion.

[0125] Optionally, in this embodiment, the vehicle may be configured to store a computer program for performing the following steps:

[0126] Step S102: Obtain multiple voltage values ​​in the high-voltage topology, including motor voltage value, battery module voltage value, high-voltage DC charging interface voltage value, and DC charging interface voltage value.

[0127] Step S104: Determine the connection status of multiple relays in the high-voltage topology. The multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface. The connection status includes the sticking state and the disconnected state.

[0128] Step S106: Process the relay adhesion based on multiple voltage values ​​and the connection status of multiple relays.

[0129] Optionally, the processor, when executing the program, further implements the following steps: calculating a first difference between the motor voltage value and the battery module voltage value, a second difference between the DC charging interface voltage value and the battery module voltage value, and a third difference between the high-voltage DC charging interface voltage value and the battery module voltage value; comparing the first difference with a preset threshold to obtain a first comparison result; comparing the second difference with a preset threshold to obtain a second comparison result; comparing the third difference with a preset threshold to obtain a third comparison result; determining a relay adhesion handling strategy based on the first comparison result, the second comparison result, the third comparison result, and the connection status of multiple relays; and handling the relay adhesion according to the handling strategy.

[0130] Optionally, the processor, when executing the program, further implements the following steps: In response to the processing strategy satisfying a first condition, records the fault code and freeze frame of the main positive relay, wherein the first condition is that the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result indicates that the first difference is greater than or equal to a preset threshold; In response to the processing strategy satisfying a second condition, records the fault code and freeze frame of the charging negative relay, wherein the second condition is that the main positive relay is in a disconnected state, the charging positive relay is in a disconnected state, and the charging negative relay is in a stuck state, and a second comparison result indicates that the second difference is greater than or equal to a preset threshold; In response to If the processing strategy meets the third condition, record the fault code and freeze frame of the charging positive relay. The third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, the charging negative relay is in the open state, the second comparison result shows that the second difference is greater than or equal to the preset threshold, and the third comparison result shows that the third difference is greater than or equal to the preset threshold. If the processing strategy meets the fourth condition, record the fault code and freeze frame of the main negative relay. The fourth condition is that the main positive relay is in the open state, the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to the preset threshold.

[0131] Optionally, the processor, when executing the program, further implements the following steps: in response to the processing strategy satisfying any of the following conditions, a prompt message is sent to the vehicle display screen, wherein the prompt message is used to prompt the user inside the vehicle to disconnect the fuse: the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result shows that a first difference is less than a preset threshold; the main positive relay is in a stuck state and the main negative relay is in a stuck state, and a first comparison result shows that a first difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is less than a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is greater than or equal to a preset threshold, and a third comparison result shows that a third difference is less than a preset threshold; the main positive relay is in a disconnected state. The following conditions are met: The positive charging relay is in a stuck state, the negative charging relay is in a stuck state, and the second comparison result shows that the second difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the positive charging relay is in a disconnected state, the negative charging relay is in a stuck state, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay is in a disconnected state, the main negative relay is in a stuck state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay, the main negative relay, the positive charging relay, and the negative charging relay are all in a disconnected state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay, the main negative relay, the positive charging relay, and the negative charging relay are all in a disconnected state, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay, the main negative relay, the positive charging relay, and the negative charging relay are all in a disconnected state, and the third comparison result shows that the third difference is less than a preset threshold.

[0132] Optionally, when the processor executes the program, it further implements the following steps: in response to the processing strategy satisfying any of the following conditions, the fuse is controlled to open: the main positive relay is in a stuck state, the main negative relay is in a stuck state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state, the charging negative relay is in a stuck state, and the second comparison result shows that the second difference is less than a preset threshold.

[0133] Optionally, when the processor executes the program, it also performs the following steps: obtaining the positive and negative voltage values ​​of the battery module and the right-side voltage value of the fuse; calculating the fourth difference between the positive and negative voltage values; calculating the fifth difference between the right-side voltage value and the negative voltage value; calculating the sixth difference between the fourth and fifth differences; and, in response to the sixth difference being a preset value, processing the relay sticking based on the multiple voltage values ​​and the connection status of the multiple relays.

[0134] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0135] Embodiments of the present invention also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the above-described method for handling relay adhesion.

[0136] Optionally, in this embodiment, the electronic device may be configured to store a computer program for performing the following steps:

[0137] Step S102: Obtain multiple voltage values ​​in the high-voltage topology, including motor voltage value, battery module voltage value, high-voltage DC charging interface voltage value, and DC charging interface voltage value.

[0138] Step S104: Determine the connection status of multiple relays in the high-voltage topology. The multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface. The connection status includes the sticking state and the disconnected state.

[0139] Step S106: Process the relay adhesion based on multiple voltage values ​​and the connection status of multiple relays.

[0140] Optionally, the processor, when executing the program, further implements the following steps: calculating a first difference between the motor voltage value and the battery module voltage value, a second difference between the DC charging interface voltage value and the battery module voltage value, and a third difference between the high-voltage DC charging interface voltage value and the battery module voltage value; comparing the first difference with a preset threshold to obtain a first comparison result; comparing the second difference with a preset threshold to obtain a second comparison result; comparing the third difference with a preset threshold to obtain a third comparison result; determining a relay adhesion handling strategy based on the first comparison result, the second comparison result, the third comparison result, and the connection status of multiple relays; and handling the relay adhesion according to the handling strategy.

[0141] Optionally, the processor, when executing the program, further implements the following steps: In response to the processing strategy satisfying a first condition, records the fault code and freeze frame of the main positive relay, wherein the first condition is that the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result indicates that the first difference is greater than or equal to a preset threshold; In response to the processing strategy satisfying a second condition, records the fault code and freeze frame of the charging negative relay, wherein the second condition is that the main positive relay is in a disconnected state, the charging positive relay is in a disconnected state, and the charging negative relay is in a stuck state, and a second comparison result indicates that the second difference is greater than or equal to a preset threshold; In response to If the processing strategy meets the third condition, record the fault code and freeze frame of the charging positive relay. The third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, the charging negative relay is in the open state, the second comparison result shows that the second difference is greater than or equal to the preset threshold, and the third comparison result shows that the third difference is greater than or equal to the preset threshold. If the processing strategy meets the fourth condition, record the fault code and freeze frame of the main negative relay. The fourth condition is that the main positive relay is in the open state, the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to the preset threshold.

[0142] Optionally, the processor, when executing the program, further implements the following steps: in response to the processing strategy satisfying any of the following conditions, a prompt message is sent to the vehicle display screen, wherein the prompt message is used to prompt the user inside the vehicle to disconnect the fuse: the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result shows that a first difference is less than a preset threshold; the main positive relay is in a stuck state and the main negative relay is in a stuck state, and a first comparison result shows that a first difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is less than a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is greater than or equal to a preset threshold, and a third comparison result shows that a third difference is less than a preset threshold; the main positive relay is in a disconnected state. The following conditions are met: The positive charging relay is in a stuck state, the negative charging relay is in a stuck state, and the second comparison result shows that the second difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the positive charging relay is in a disconnected state, the negative charging relay is in a stuck state, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay is in a disconnected state, the main negative relay is in a stuck state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay, the main negative relay, the positive charging relay, and the negative charging relay are all in a disconnected state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay, the main negative relay, the positive charging relay, and the negative charging relay are all in a disconnected state, and the second comparison result shows that the second difference is less than a preset threshold; the main positive relay, the main negative relay, the positive charging relay, and the negative charging relay are all in a disconnected state, and the third comparison result shows that the third difference is less than a preset threshold.

[0143] Optionally, when the processor executes the program, it further implements the following steps: in response to the processing strategy satisfying any of the following conditions, the fuse is controlled to open: the main positive relay is in a stuck state, the main negative relay is in a stuck state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state, the charging negative relay is in a stuck state, and the second comparison result shows that the second difference is less than a preset threshold.

[0144] Optionally, when the processor executes the program, it also performs the following steps: obtaining the positive and negative voltage values ​​of the battery module and the right-side voltage value of the fuse; calculating the fourth difference between the positive and negative voltage values; calculating the fifth difference between the right-side voltage value and the negative voltage value; calculating the sixth difference between the fourth and fifth differences; and, in response to the sixth difference being a preset value, processing the relay sticking based on the multiple voltage values ​​and the connection status of the multiple relays.

[0145] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0146] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program configured to perform the above-described relay adhesion processing method when run on a computer or processor.

[0147] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0148] Step S102: Obtain multiple voltage values ​​in the high-voltage topology, including motor voltage value, battery module voltage value, high-voltage DC charging interface voltage value, and DC charging interface voltage value.

[0149] Step S104: Determine the connection status of multiple relays in the high-voltage topology. The multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface. The connection status includes the sticking state and the disconnected state.

[0150] Step S106: Process the relay adhesion based on multiple voltage values ​​and the connection status of multiple relays.

[0151] Optionally, the storage medium is configured to store program code for performing the following steps: calculating a first difference between the motor voltage value and the battery module voltage value, a second difference between the DC charging interface voltage value and the battery module voltage value, and a third difference between the high-voltage DC charging interface voltage value and the battery module voltage value; comparing the first difference with a preset threshold to obtain a first comparison result; comparing the second difference with a preset threshold to obtain a second comparison result; comparing the third difference with a preset threshold to obtain a third comparison result; determining a relay adhesion handling strategy based on the first comparison result, the second comparison result, the third comparison result, and the connection status of multiple relays; and handling the relay adhesion according to the handling strategy.

[0152] Optionally, the storage medium is configured to store program code for performing the following steps: In response to a processing strategy satisfying a first condition, recording a fault code and a freeze frame for the main positive relay, wherein the first condition is that the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result indicates that a first difference is greater than or equal to a preset threshold; In response to a processing strategy satisfying a second condition, recording a fault code and a freeze frame for the charging negative relay, wherein the second condition is that the main positive relay is in a disconnected state, the charging positive relay is in a disconnected state, and the charging negative relay is in a stuck state, and a second comparison result indicates that a second difference is greater than or equal to a preset threshold. Value; In response to the processing strategy satisfying the third condition, record the fault code and freeze frame of the charging positive relay, wherein the third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, and the charging negative relay is in the open state, and the second comparison result shows that the second difference is greater than or equal to the preset threshold, and the third comparison result shows that the third difference is greater than or equal to the preset threshold; In response to the processing strategy satisfying the fourth condition, record the fault code and freeze frame of the main negative relay, wherein the fourth condition is that the main positive relay is in the open state, the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to the preset threshold.

[0153] Optionally, the storage medium is configured to store program code for performing the following steps: In response to a processing strategy satisfying any of the following conditions, a prompt message is sent to the vehicle display screen, wherein the prompt message is used to prompt the user inside the vehicle to disconnect the fuse: the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result indicates that a first difference is less than a preset threshold; the main positive relay is in a stuck state and the main negative relay is in a stuck state, and a first comparison result indicates that a first difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result indicates that a second difference is less than a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result indicates that a second difference is greater than or equal to a preset threshold, and a third comparison result indicates that a third difference is less than a preset threshold; the main positive relay is... The following conditions are met: The main positive relay is disconnected, the charging positive relay is stuck, and the charging negative relay is stuck; the second comparison result shows that the second difference is greater than or equal to a preset threshold. The main positive relay is disconnected, the charging positive relay is disconnected, and the charging negative relay is stuck; the second comparison result shows that the second difference is less than a preset threshold. The main positive relay is disconnected, the main negative relay is stuck, and the first comparison result shows that the first difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all disconnected; the first comparison result shows that the first difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all disconnected; the second comparison result shows that the second difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all disconnected; the third comparison result shows that the third difference is less than a preset threshold.

[0154] Optionally, the storage medium is configured to store program code for performing the following steps: in response to the processing strategy satisfying any of the following conditions, the fuse is controlled to open: the main positive relay is in a stuck state, the main negative relay is in a stuck state, and a first comparison result indicates that a first difference is less than a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state, the charging negative relay is in a stuck state, and a second comparison result indicates that a second difference is less than a preset threshold.

[0155] Optionally, the storage medium is configured to store program code for performing the following steps: obtaining the positive and negative voltage values ​​of the battery module and the right-side voltage value of the fuse; calculating a fourth difference between the positive and negative voltage values; calculating a fifth difference between the right-side voltage value and the negative voltage value; calculating a sixth difference between the fourth and fifth differences; and, in response to the sixth difference being a preset value, processing relay sticking based on multiple voltage values ​​and the connection status of multiple relays.

[0156] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0157] Embodiments of the present invention also provide a computer program product, including a computer program, wherein the computer program, when executed by a processor, implements the steps of the above-described relay adhesion processing method.

[0158] Optionally, in this embodiment, the computer program product described above may be configured to store a computer program for performing the following steps:

[0159] Step S102: Obtain multiple voltage values ​​in the high-voltage topology, including motor voltage value, battery module voltage value, high-voltage DC charging interface voltage value, and DC charging interface voltage value.

[0160] Step S104: Determine the connection status of multiple relays in the high-voltage topology. The multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface. The connection status includes the sticking state and the disconnected state.

[0161] Step S106: Process the relay adhesion based on multiple voltage values ​​and the connection status of multiple relays.

[0162] Optionally, the computer program, when executing the program, further implements the following steps: calculating a first difference between the motor voltage value and the battery module voltage value, a second difference between the DC charging interface voltage value and the battery module voltage value, and a third difference between the high-voltage DC charging interface voltage value and the battery module voltage value; comparing the first difference with a preset threshold to obtain a first comparison result; comparing the second difference with a preset threshold to obtain a second comparison result; comparing the third difference with a preset threshold to obtain a third comparison result; determining a relay adhesion handling strategy based on the first comparison result, the second comparison result, the third comparison result, and the connection status of multiple relays; and handling the relay adhesion according to the handling strategy.

[0163] Optionally, when the computer program executes the program, it further implements the following steps: In response to the processing strategy satisfying a first condition, it records the fault code and freeze frame of the main positive relay, wherein the first condition is that the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result indicates that the first difference is greater than or equal to a preset threshold; In response to the processing strategy satisfying a second condition, it records the fault code and freeze frame of the charging negative relay, wherein the second condition is that the main positive relay is in a disconnected state, the charging positive relay is in a disconnected state, the charging negative relay is in a stuck state, and a second comparison result indicates that the second difference is greater than or equal to a preset threshold; When the processing strategy meets the third condition, the fault code and freeze frame of the charging positive relay are recorded. The third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, the charging negative relay is in the open state, the second comparison result shows that the second difference is greater than or equal to the preset threshold, and the third comparison result shows that the third difference is greater than or equal to the preset threshold. When the processing strategy meets the fourth condition, the fault code and freeze frame of the main negative relay are recorded. The fourth condition is that the main positive relay is in the open state, the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to the preset threshold.

[0164] Optionally, when the computer program executes the program, it further implements the following steps: in response to the processing strategy satisfying any of the following conditions, a prompt message is sent to the vehicle display screen, wherein the prompt message is used to prompt the user in the vehicle to disconnect the fuse: the main positive relay is in a stuck state and the main negative relay is in a disconnected state, and a first comparison result shows that a first difference is less than a preset threshold; the main positive relay is in a stuck state and the main negative relay is in a stuck state, and a first comparison result shows that a first difference is greater than or equal to a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is less than a preset threshold; the main positive relay is in a disconnected state, the charging positive relay is in a stuck state and the charging negative relay is in a disconnected state, and a second comparison result shows that a second difference is greater than or equal to a preset threshold, and a third comparison result shows that a third difference is less than a preset threshold; the main positive relay is in a disconnected state. The following conditions are met: The main positive relay is in an open state, the charging positive relay is in an stuck state, and the charging negative relay is in an stuck state; the second comparison result shows that the second difference is greater than or equal to a preset threshold. The main positive relay is in an open state, the charging positive relay is in an open state, and the charging negative relay is in an stuck state; the second comparison result shows that the second difference is less than a preset threshold. The main positive relay is in an open state, and the main negative relay is in an stuck state; the first comparison result shows that the first difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the first comparison result shows that the first difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the second comparison result shows that the second difference is less than a preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in an open state; the third comparison result shows that the third difference is less than a preset threshold.

[0165] Optionally, when the computer program executes the program, it further implements the following steps: in response to the processing strategy satisfying any of the following conditions, the fuse is controlled to open: the main positive relay is in a stuck state, the main negative relay is in a stuck state, and the first comparison result shows that the first difference is less than a preset threshold; the main positive relay is in an open state, the charging positive relay is in a stuck state, the charging negative relay is in a stuck state, and the second comparison result shows that the second difference is less than a preset threshold.

[0166] Optionally, when the computer program executes the program, it also performs the following steps: obtaining the positive and negative voltage values ​​of the battery module, and the right-side voltage value of the fuse; calculating the fourth difference between the positive and negative voltage values; calculating the fifth difference between the right-side voltage value and the negative voltage value; calculating the sixth difference between the fourth and fifth differences; and, in response to the sixth difference being a preset value, processing the relay sticking according to the multiple voltage values ​​and the connection status of the multiple relays.

[0167] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.

[0168] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0169] In the embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.

[0170] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0171] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0172] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or grid device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0173] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method for treating relay adhesion, characterized in that, include: Multiple voltage values ​​in the high-voltage topology are obtained, including motor voltage value, battery module voltage value, upper high-voltage DC charging interface voltage value, and DC charging interface voltage value. The upper high-voltage DC charging interface voltage value is the voltage across the charging interface when the vehicle is performing DC fast charging, and the DC charging interface voltage value is the voltage at the charging interface when not charging. The connection status of multiple relays in the high-voltage topology is determined, wherein the multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface, and the connection status includes the sticking state and the disconnected state. The process of handling relay adhesion based on the multiple voltage values ​​and the connection status of the multiple relays includes: calculating a first difference between the motor voltage value and the battery module voltage value, a second difference between the DC charging interface voltage value and the battery module voltage value, and a third difference between the high-voltage DC charging interface voltage value and the battery module voltage value; comparing the first difference with a preset threshold to obtain a first comparison result; comparing the second difference with the preset threshold to obtain a second comparison result; comparing the third difference with the preset threshold to obtain a third comparison result; determining a relay adhesion handling strategy based on the first comparison result, the second comparison result, the third comparison result, and the connection status of the multiple relays; and handling the relay adhesion according to the handling strategy. Processing the relay adhesion according to the processing strategy includes: in response to the processing strategy satisfying a first condition, recording the fault code and freeze frame of the main positive relay, wherein the first condition is that the main positive relay is in the adhesion state and the main negative relay is in the open state, and the first comparison result indicates that the first difference is greater than or equal to the preset threshold; in response to the processing strategy satisfying a second condition, recording the fault code and freeze frame of the charging negative relay, wherein the second condition is that the main positive relay is in the open state, the charging positive relay is in the open state, and the charging negative relay is in the adhesion state, and the second comparison result indicates that the second difference is greater than or equal to the preset threshold; in response to the... If the processing strategy satisfies the third condition, the fault code and freeze frame of the charging positive relay are recorded, wherein the third condition is that the main positive relay is in the open state, the charging positive relay is in the stuck state, and the charging negative relay is in the open state, and the second comparison result shows that the second difference is greater than or equal to the preset threshold, and the third comparison result shows that the third difference is greater than or equal to the preset threshold; if the processing strategy satisfies the fourth condition, the fault code and freeze frame of the main negative relay are recorded, wherein the fourth condition is that the main positive relay is in the open state, the main negative relay is in the stuck state, and the first comparison result shows that the first difference is greater than or equal to the preset threshold; In response to the processing strategy satisfying any of the following conditions, the fuse is controlled to open: the main positive relay is in the stuck state, the main negative relay is in the stuck state, and the first comparison result indicates that the first difference is less than the preset threshold; the main positive relay is in the open state, the charging positive relay is in the stuck state, the charging negative relay is in the stuck state, and the second comparison result indicates that the second difference is less than the preset threshold.

2. The method for treating relay adhesion according to claim 1, characterized in that, The processing strategy for addressing relay adhesion includes: In response to the processing strategy meeting any of the following conditions, a prompt message is sent to the vehicle display screen, wherein the prompt message is used to prompt the user inside the vehicle to disconnect the fuse: The main positive relay is in the stuck state, and the main negative relay is in the disconnected state, and the first comparison result shows that the first difference is less than the preset threshold; The main positive relay is in the sticky state, and the main negative relay is in the sticky state, and the first comparison result shows that the first difference is greater than or equal to the preset threshold. The main positive relay is in the off state, the charging positive relay is in the stuck state, and the charging negative relay is in the off state, and the second comparison result shows that the second difference is less than the preset threshold; The main positive relay is in the off state, the charging positive relay is in the stuck state, and the charging negative relay is in the off state. The second comparison result shows that the second difference is greater than or equal to the preset threshold, and the third comparison result shows that the third difference is less than the preset threshold. The main positive relay is in the disconnected state, the charging positive relay is in the stuck state, and the charging negative relay is in the stuck state, and the second comparison result shows that the second difference is greater than or equal to the preset threshold; The main positive relay is in the off state, the charging positive relay is in the off state, the charging negative relay is in the stuck state, and the second comparison result shows that the second difference is less than the preset threshold. The main positive relay is in the disconnected state, and the main negative relay is in the stuck state, and the first comparison result shows that the first difference is less than the preset threshold; The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in the off state, and the first comparison result shows that the first difference is less than the preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in the off state, and the second comparison result shows that the second difference is less than the preset threshold. The main positive relay, the main negative relay, the charging positive relay, and the charging negative relay are all in the off state, and the third comparison result shows that the third difference is less than the preset threshold.

3. The method for treating relay adhesion according to claim 2, characterized in that, The process of addressing relay adhesion based on the plurality of voltage values ​​and the connection status of the plurality of relays includes: Obtain the positive and negative voltage values ​​of the battery module, and the voltage value on the right side of the fuse; Calculate the fourth difference between the positive electrode voltage value and the negative electrode voltage value; Calculate the fifth difference between the right-side voltage value and the negative-side voltage value; Calculate the sixth difference between the fourth difference and the fifth difference; In response to the sixth difference being a preset value, the relay adhesion is processed according to the plurality of voltage values ​​and the connection status of the plurality of relays.

4. A device for treating relay adhesion, characterized in that, The method for treating relay adhesion according to any one of claims 1 to 3, wherein the relay adhesion treatment apparatus comprises: The acquisition module is used to acquire multiple voltage values ​​in the high-voltage topology, wherein the multiple voltage values ​​include motor voltage value, battery module voltage value, high-voltage DC charging interface voltage value, and DC charging interface voltage value; The determination module is used to determine the connection status of multiple relays in the high-voltage topology, wherein the multiple relays include the main positive relay and the main negative relay of the battery module, and the charging positive relay and the charging negative relay of the DC charging interface, and the connection status includes the sticking state and the disconnected state. The processing module is used to process the relay adhesion based on the plurality of voltage values ​​and the connection status of the plurality of relays.

5. A vehicle comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the relay adhesion processing method as described in any one of claims 1 to 3.

6. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to run the computer program to perform the relay adhesion processing method as described in any one of claims 1 to 3.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the relay adhesion processing method as described in any one of claims 1 to 3 when run on a computer or processor.