Method for controlling discharge of vehicle and vehicle

By acquiring the operating status of the high-voltage system and the vehicle status before vehicle discharge, and ensuring that the preset conditions are met before discharge, the problem of insufficient vehicle discharge safety in the prior art is solved, and the safety and reliability of the vehicle discharge process are achieved.

CN121552994APending Publication Date: 2026-02-24GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511875495.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-02-24

AI Technical Summary

Technical Problem

The existing vehicle discharge process lacks comprehensive safety verification, which may lead to abnormal vehicle discharge and pose a safety risk.

Method used

By receiving vehicle discharge requests, the system obtains the operating status of the high-voltage system and controls the discharge when preset conditions are met, including the interface connection status of the charging and discharging connection device, the vehicle driving status, the vehicle fault status, and the component operating status, to ensure that the vehicle discharges under safe conditions.

Benefits of technology

This improves the safety and reliability of the vehicle discharge process, avoids safety risks caused by the vehicle not meeting the required conditions, and ensures the stability and safety of the discharge process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121552994A_ABST
    Figure CN121552994A_ABST
Patent Text Reader

Abstract

The invention provides a method for controlling discharging of a vehicle and the vehicle, and relates to the technical field of vehicle control. The method is applied to a vehicle control unit of a discharging vehicle and comprises the steps that a vehicle discharging request is received; in response to the vehicle discharge request, obtaining a working state of a high-voltage system in the discharge vehicle; when the working state of the high-voltage system is the power-on state, whether the first vehicle state of the discharging vehicle meets the first preset condition or not is determined, and the first vehicle state comprises the interface connection state of the charging and discharging connection device, the vehicle running state, the vehicle fault state and the component running state; and when the first vehicle state of the discharging vehicle meets the first preset condition, the discharging vehicle is controlled to discharge, so that the discharging vehicle charges the charging vehicle. The method can control the vehicle to discharge, and ensures the safety of the vehicle discharge process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle control technology, and more specifically, to a method for controlling vehicle discharge and a vehicle within the field of vehicle control technology. Background Technology

[0002] To meet the charging and discharging needs of electric vehicles (EVs), current EVs feature AC vehicle-to-vehicle (V2V) charging and discharging capabilities, but DC V2V applications are relatively rare. V2V charging and discharging solutions are widely used in the EV field. Currently, DC V2V devices on the market use a cable with a charging nozzle connected to each end. One end of the nozzle is connected to the vehicle being charged, and the other end to the vehicle being discharged, directly achieving vehicle-to-vehicle charging and discharging. However, existing vehicle discharge processes only assess the vehicle's state of charge, lacking comprehensive safety verification, which may lead to abnormal discharge and pose safety risks.

[0003] Therefore, how to control vehicle discharge and ensure the safety of the vehicle discharge process is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a method and a vehicle for controlling vehicle discharge. The method can control the vehicle to discharge and ensure the safety of the vehicle discharge process.

[0005] Firstly, a method for controlling vehicle discharge is provided, the method being applied to the vehicle controller of the discharging vehicle, the method comprising: Receive vehicle discharge request; In response to a vehicle's discharge request, obtain the operating status of the high-voltage system in the vehicle being discharged; When the high-voltage system is in the power-on state, determine whether the first vehicle state of the discharge vehicle meets the first preset condition. The first vehicle state includes: the interface connection state of the charging and discharging connection device, the vehicle driving state, the vehicle fault state, and the component operating state. When the first vehicle state of the discharging vehicle meets the first preset condition, the discharging vehicle is controlled to discharge, so that the discharging vehicle charges the charging vehicle.

[0006] In the above technical solution, upon receiving a vehicle discharge request, the operating status of the high-voltage system in the discharging vehicle is detected in response to the request. If the high-voltage system is determined to be powered on, the interface connection status of the charging / discharging connection device, the vehicle's driving status, the vehicle's fault status, and the component operating status are further confirmed to meet first preset conditions. If all of the above first vehicle statuses meet the first preset conditions, the discharging vehicle is controlled to discharge, thereby charging the charging vehicle. Compared to the prior art where the discharging vehicle is directly controlled to discharge after the high-voltage system is powered on, this application, by detecting the first vehicle status and controlling the vehicle to discharge only when conditions are met, avoids the safety risks associated with the discharging process when the high-voltage system is powered on but the vehicle status does not meet the discharge conditions, thus improving the safety of the discharging vehicle charging the charging vehicle.

[0007] In conjunction with the first aspect, in some possible implementations, when the high-voltage system is in a powered-off state, the method further includes: Determine whether the first vehicle state of the discharge vehicle meets the first preset condition; When the first vehicle state of the discharge vehicle meets the first preset condition, the operating state of the high-voltage system controlling the discharge vehicle is switched from the power-off state to the power-on state.

[0008] In the above technical solution, when the high-voltage system is detected to be in a powered-off state, it is first determined whether the first vehicle state of the discharge vehicle meets the first preset condition. If the first preset condition is met, the high-voltage system of the discharge vehicle is controlled to be powered on, that is, the working state of the high-voltage system of the discharge vehicle is controlled to switch from the powered-off state to the powered-on state. By determining whether the discharge vehicle meets the requirements for high-voltage power-on through preset conditions, and performing high-voltage power-on when the conditions are met, the safety of the vehicle during the high-voltage power-on process can be ensured, thereby ensuring the safety of the discharge vehicle when discharging externally.

[0009] In combination with the first aspect and the above implementation methods, in some possible implementation methods, receiving a vehicle discharge request includes: In response to the user's operation of turning on the discharge switch, when the battery management system of the discharge vehicle detects that the second vehicle status of the discharge vehicle meets the second preset conditions, the system receives the vehicle discharge request sent by the battery management system. The second vehicle status includes: the interface connection status of the charging and discharging connection device, the state of charge of the power battery, the peak discharge power of the power battery, and the vehicle fault status.

[0010] In the above technical solution, the discharging vehicle is equipped with a discharge switch. In response to the user's operation of opening the discharge switch, when the battery management system of the discharging vehicle detects that the interface connection status of the charging / discharging connection device, the state of charge of the power battery, the peak discharge power of the power battery, and the vehicle fault status all meet the second preset conditions, it receives a vehicle discharge request sent by the battery management system. The battery management system determines the second vehicle status of the discharging vehicle to ascertain whether the vehicle controller can receive the vehicle discharge request sent by the battery management system, ensuring that the sending and receiving of the vehicle discharge request are carried out under the premise that the preset conditions are met, thus improving the accuracy of receiving the vehicle discharge request. After receiving an accurate vehicle discharge request, subsequent judgment and discharge control of the discharging vehicle can ensure the safety of the discharging process.

[0011] In combination with the first aspect and the above implementation methods, in some possible implementation methods, the battery management system of the discharging vehicle detects that the second vehicle state of the discharging vehicle meets the second preset condition, including: When the battery management system detects that the interface connection status of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the state of charge is greater than the preset power threshold, the peak discharge power is greater than the preset power threshold, and the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharge, it is determined that the second vehicle status of the discharging vehicle meets the second preset condition.

[0012] In the above technical solution, the second vehicle state of the discharging vehicle is determined; determining the interface connection status of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, which can eliminate the risk of electrical contact and ensure the physical safety of the discharge process and the stability of power transmission; determining that the state of charge is greater than a preset power threshold can ensure the energy safety of the discharging vehicle itself, avoid the performance degradation and lifespan damage caused by excessive battery discharge, and ensure that the vehicle still retains sufficient power to meet its own driving needs after discharge; determining that the peak discharge power is greater than a preset power threshold can ensure the effectiveness of the discharging vehicle's discharge function, avoid the inability to meet the power requirements of the charging vehicle due to sufficient power but insufficient discharge power, and at the same time avoid the discharging vehicle from overloading, ensuring the continuity and efficiency of the discharge process; determining the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharge, ensuring that the high-voltage system of the discharging vehicle is in a healthy operating state, which can avoid the risk of fault amplification and ensure the dual safety of the discharging vehicle and the charging vehicle. Combining the above process of determining that the second vehicle state meets the second preset conditions, the safety of the discharge process of the discharging vehicle can be ensured from multiple aspects.

[0013] Combining the first aspect and the above-mentioned implementation methods, in some possible implementation methods, controlling the discharge of the discharge vehicle includes: When the interface connection status indicator of the charging and discharging connection device shows that both the discharging end interface and the charging end interface are fully connected, the locking mechanism of the discharging end interface and the charging end interface is controlled by the battery management system of the discharging vehicle to lock. After the locking mechanism is engaged, the discharge vehicle is controlled to discharge.

[0014] In the above technical solution, ensuring that both the discharge and charging interfaces are fully connected, the locking mechanism on the interface is first locked, and then the discharge vehicle is controlled to discharge. This further ensures the physical connection reliability and electrical contact stability of the charging and discharging interfaces, preventing safety accidents caused by loosening or detachment of the interface during discharge, while also ensuring stable output of discharge power and improving the safety and reliability of the discharge process.

[0015] In combination with the first aspect and the above implementation methods, in some possible implementation methods, after the locking mechanism is locked, controlling the discharge vehicle to discharge includes: After the locking mechanism is locked, a communication connection is established between the battery management system of the discharging vehicle and the battery management system of the charging vehicle, and the first voltage sent by the charging vehicle is obtained. The first voltage refers to the maximum voltage for charging the charging vehicle. Based on the first voltage and the second voltage of the discharge vehicle, the target detection voltage is determined, where the second voltage refers to the maximum output voltage of the discharge vehicle. Based on the target detection voltage, determine the insulation test results of the discharge vehicle and the charging / discharging connection device; After the insulation test result indicates that the insulation has passed, control the discharge vehicle to discharge.

[0016] In the above technical solution, after the locking mechanism of the charging / discharging interface is locked, a communication connection is established between the battery management system of the discharging vehicle and the battery management system of the charging vehicle. Then, the target detection voltage is determined to perform insulation testing on the discharging vehicle and the charging / discharging connection device. If the test passes, the discharging vehicle is controlled to discharge. This solution ensures precise matching between insulation testing parameters and actual discharge conditions, improving the accuracy of insulation testing results. Simultaneously, it can proactively mitigate safety risks such as high-voltage leakage and equipment short circuits caused by substandard insulation performance, further ensuring the safety and reliability of the discharge process.

[0017] In combination with the first aspect and the above implementation methods, in some possible implementation methods, after the insulation test result indicates that the discharge vehicle has passed, controlling the discharge vehicle to discharge includes: After the insulation test result indicates that it has passed, the battery management system of the discharge vehicle controls the multi-in-one bridge to precharge the DC bus capacitor of the high-voltage system. When the difference between the third voltage and the fourth voltage is less than or equal to a preset voltage threshold, the battery management system of the discharging vehicle controls the relay of the high voltage system to close, so that the discharging vehicle can discharge. The third voltage refers to the voltage on the side of the DC fast charging negative relay in the high-voltage system closest to the charging vehicle, and the fourth voltage refers to the high-voltage input voltage of the charging vehicle.

[0018] In the above technical solution, after the insulation test result indicates that the test has passed, the battery management system of the discharging vehicle controls the multi-in-one bridge to pre-charge the DC bus capacitor of the high-voltage system. This ensures that the voltage difference between the side of the DC fast-charging negative relay closest to the charging vehicle and the high-voltage input voltage of the charging vehicle is less than or equal to a preset voltage threshold, thereby controlling the relay to close and allowing the discharging vehicle to discharge. This capacitor pre-charging operation suppresses the high-voltage inrush current at the moment the relay closes, preventing contact erosion, component damage, and other malfunctions caused by excessive voltage differences. It also ensures a smooth voltage transition in the discharge circuit, further improving the safety of the discharge process and extending the equipment's lifespan.

[0019] In combination with the first aspect and the above implementation methods, in some possible implementations, the method further includes: When the interface connection status of the charging and discharging connection device indicates that the discharge end interface or the charging end interface is not fully connected, the state of the discharge switch is determined to be the first state. The first state is used to indicate that the operation of the discharge switch is not responded to. When the interface connection status indicator of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the state of the discharge switch is determined to be the second state. The second state is used to indicate the response to the operation of the discharge switch.

[0020] In the above technical solution, the discharge switch is locked and prevented from responding to the opening operation when the interface is not fully connected by the linkage control of the charging and discharging interface connection status and the discharge switch response status. The switch is only allowed to respond after the interface is fully connected, which avoids the safety hazards caused by the accidental triggering of the discharge switch when the charging and discharging interface is not fully connected. This improves the safety and reliability of the discharge operation from the triggering method level.

[0021] In combination with the first aspect and the above implementation methods, in some possible implementations, the method further includes: When the interface connection status of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the vehicle driving status indicates that the discharging vehicle is in a state that allows discharging, the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharging, and the component operation status indicates that the target component required for discharging is in a standby state, it is determined that the first vehicle status of the discharging vehicle meets the first preset condition.

[0022] In the above technical solution, the first vehicle state of the discharging vehicle is determined; the interface connection status of the charging and discharging connection device is determined to indicate that both the discharging end interface and the charging end interface are fully connected, which can eliminate the risk of electrical contact and ensure the physical safety of the discharging process and the stability of power transmission; the vehicle driving status is determined to indicate that the discharging vehicle is in a state that allows discharging (e.g., parked state), which can avoid accidental triggering of the discharging function during driving and ensure that the discharging function operates in a safe scenario; the vehicle fault status is determined to indicate that the discharging vehicle does not have a fault that prohibits discharging, ensuring that the high-voltage system of the discharging vehicle is in a healthy operating state, which can avoid the risk of fault amplification and ensure the dual safety of the discharging vehicle and the charging vehicle; the component operating status is determined to indicate that the target component required for discharging is in a standby state, ensuring that the relevant components can respond quickly and work together, avoiding discharge start-up delays and power output fluctuations caused by components not being ready. Combining the above process of determining that the first vehicle state meets the first preset conditions, the safety of the discharging process of the discharging vehicle can be ensured from multiple aspects.

[0023] Secondly, a device for controlling vehicle discharge is provided, the device being applied to the vehicle controller of the discharging vehicle, the device comprising: The acquisition module is used to receive vehicle discharge requests and, in response to vehicle discharge requests, acquire the operating status of the high-voltage system in the vehicle being discharged. The processing module is used to determine whether the first vehicle state of the discharge vehicle meets the first preset condition when the high voltage system is in the power-on state. The first vehicle state includes: the interface connection state of the charging and discharging connection device, the vehicle driving state, the vehicle fault state, and the component operating state. When the first vehicle state of the discharge vehicle meets the first preset condition, the module controls the discharge vehicle to discharge so that the discharge vehicle charges the charging vehicle.

[0024] Thirdly, a vehicle is provided, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, causing the vehicle to perform the methods described in the first aspect or any possible implementation thereof.

[0025] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.

[0026] Fifthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof. Attached Figure Description

[0027] Figure 1 This is a schematic diagram of a vehicle mutual charging scenario provided in an embodiment of this application; Figure 2 This is a schematic flowchart illustrating a method for controlling vehicle discharge provided in an embodiment of this application; Figure 3 This is a schematic diagram of the interactive flow of a method for controlling vehicle discharge provided in an embodiment of this application; Figure 4 This is a schematic diagram of a device for controlling vehicle discharge provided in an embodiment of this application; Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation

[0028] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0029] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0030] For vehicles with charging needs, such as pure electric vehicles or hybrid vehicles, the uneven distribution of existing charging facilities, low coverage on highways and in remote areas, and long queues during peak hours result in low charging efficiency. To address this pain point, vehicle-to-vehicle (V2V) charging technology, also known as vehicle-to-vehicle mutual charging technology, has been proposed. Based on V2V charging technology, a flexible charging method can be achieved by having a discharging vehicle charge a charging vehicle, eliminating the need for fixed charging stations and meeting the charging needs of users in most usage scenarios such as long-distance travel and outdoor activities.

[0031] Figure 1 This is a schematic diagram of a vehicle cross-charging scenario provided in an embodiment of this application. For example... Figure 1As shown, the first vehicle 101 and the second vehicle 102 can establish a mutual charging connection through the charging and discharging connection device 100. When the first vehicle 101 has a low battery level and needs charging, the second vehicle 102 can charge the first vehicle 101 through the charging and discharging connection device 100. When the second vehicle 102 has a low battery level and needs charging, the first vehicle 101 can also charge the second vehicle 102 through the charging and discharging connection device 100.

[0032] In existing V2V charging and discharging processes, the battery parameters of the discharging vehicle are assessed. If the state of charge (SOC) of the discharging vehicle's battery exceeds a preset threshold, or if the remaining battery capacity is sufficient to meet the discharging vehicle's travel needs, then the discharging vehicle can directly charge the charging vehicle to meet its charging requirements. However, this process relies solely on assessing battery parameters to determine if charging is feasible. This approach may fail because the discharging vehicle's driving or component conditions do not meet discharge requirements, potentially preventing normal charging and even posing safety risks during the discharge process.

[0033] In view of the problems existing in the prior art, this application provides a method and a vehicle for controlling vehicle discharge. The method is applied to the vehicle controller of the discharging vehicle. Upon receiving a vehicle discharge request, the method, in response to the request, acquires the operating status of the vehicle's high-voltage system. If the high-voltage system is detected to be powered on, the method further acquires a first vehicle status, including the interface connection status of the charging / discharging connection device, the vehicle's driving status, the vehicle's fault status, and the component operating status. Then, if the first vehicle status meets a first preset condition, the method controls the discharging vehicle to discharge, so that the discharging vehicle charges the charging vehicle. This method can only control vehicle discharge when the first vehicle status meets the condition, ensuring safety during the vehicle discharge process.

[0034] The following is combined with Figures 2 to 3 The method for controlling vehicle discharge provided in the embodiments of this application will be described in detail.

[0035] Figure 2 This is a schematic flowchart illustrating a method for controlling vehicle discharge according to an embodiment of this application. It should be understood that this method can be applied to vehicles that discharge, including a vehicle controller and a battery management system.

[0036] For example, such as Figure 2 As shown, the method 200 includes: S201, Receive vehicle discharge request.

[0037] For example, when a user needs to charge a charging vehicle using a discharging vehicle, they can generate a vehicle discharge request by turning on the discharge switch in the discharging vehicle. The vehicle control unit (VCU) of the discharging vehicle can then receive the vehicle discharge request.

[0038] In one implementation, the vehicle discharge request can be directly triggered by the user's operation of turning on the discharge switch. That is, when the user's operation of turning on the discharge switch is detected, it is determined that the vehicle discharge request has been received.

[0039] When a user's operation of opening the discharge switch directly triggers a vehicle discharge request, there is a possibility of erroneous responses due to accidental triggering of the discharge switch. To avoid safety risks caused by accidental triggering, in another implementation, the process of receiving the vehicle discharge request may also include: In response to the user's operation of turning on the discharge switch, when the battery management system of the discharge vehicle detects that the second vehicle status of the discharge vehicle meets the second preset conditions, the system receives the vehicle discharge request sent by the battery management system. The second vehicle status includes: the interface connection status of the charging and discharging connection device, the state of charge of the power battery, the peak discharge power of the power battery, and the vehicle fault status.

[0040] The second preset condition is used to indicate that the discharge vehicle meets the access conditions for safely performing the discharge operation.

[0041] For example, after detecting the vehicle's operation to open the discharge switch, in response to this operation, the vehicle's second vehicle status is detected by the vehicle's Battery Management System (BMS), and it is determined whether the second vehicle status meets a pre-set second preset condition. When the BMS detects that the second vehicle status meets the second preset condition, the vehicle controller can receive a vehicle discharge request sent by the BMS.

[0042] For example, the interface connection status of the charging / discharging connection device indicates whether the charging end interface of the charging / discharging connection device connected between the discharging vehicle and the charging vehicle is fully connected to the charging vehicle, and whether the discharging end interface is fully connected to the discharging vehicle. The State of Charge (SOC) of the power battery is a core indicator for measuring the remaining capacity of the power battery, usually expressed as a percentage (%), with a value range of 0~100%. The peak discharge power of the power battery indicates the maximum discharge power that the power battery can stably output for a short period of time, and is a core indicator for measuring the battery's instantaneous high-power output capability. The vehicle fault status indicates fault information existing in the discharging vehicle itself.

[0043] For example, if no user operation to open the discharge switch is received, or if a user operation to close the discharge switch is received, the status signal of the discharge switch can be determined to be closed (e.g., signal value 0). After receiving a user operation to open the discharge switch, the status signal of the discharge switch can be determined to be open (e.g., signal value 1).

[0044] In this embodiment, the discharge vehicle is equipped with a discharge switch. In response to the user's activation of the discharge switch, when the battery management system of the discharge vehicle detects that the interface connection status of the charging / discharging connection device, the state of charge of the power battery, the peak discharge power of the power battery, and the vehicle fault status all meet the second preset conditions, a vehicle discharge request sent by the battery management system is received. The battery management system determines the second vehicle status to ascertain whether the vehicle controller can receive the vehicle discharge request sent by the battery management system, ensuring that the sending and receiving of the vehicle discharge request are performed under the preset conditions, thus improving the accuracy of receiving the vehicle discharge request. After receiving an accurate vehicle discharge request, subsequent judgment and discharge control of the discharge vehicle can ensure the safety of the discharge process.

[0045] In one implementation, the process of detecting that the second vehicle state of the discharging vehicle meets the second preset condition through the battery management system of the discharging vehicle may specifically include: When the battery management system detects that the interface connection status of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the state of charge is greater than the preset power threshold, the peak discharge power is greater than the preset power threshold, and the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharge, it is determined that the second vehicle status of the discharging vehicle meets the second preset condition.

[0046] For example, in response to the user's operation of opening the discharge switch, during the process of judging the status of the second vehicle through the BMS of the discharge vehicle, the BMS needs to determine whether the interface connection status of the charging and discharging connection device indicates that both the discharge end interface and the charging end interface are fully connected, whether the state of charge of the power battery is greater than a preset power threshold (e.g., 50%), whether the peak discharge power of the power battery is greater than a preset power threshold, and whether the vehicle fault status indicates that the discharge vehicle has a fault that prohibits discharge (e.g., battery over-temperature / under-temperature fault, single cell over-voltage / under-voltage fault, etc.).

[0047] For example, when the interface connection status of the charging / discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the state of charge is greater than a preset power threshold, the peak discharge power is greater than a preset power threshold, and the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharge, it can be determined that the second vehicle status of the discharging vehicle meets the second preset conditions. At this time, the BMS can send a vehicle discharge request to the VCU, and then the VCU can receive the vehicle discharge request sent by the BMS.

[0048] In this embodiment, the second vehicle state of the discharging vehicle is determined. Determining the interface connection status of the charging / discharging connection device indicates that both the discharging and charging interfaces are fully connected, eliminating the risk of electrical contact and ensuring the physical safety of the discharge process and the stability of power transmission. Determining that the state of charge is greater than a preset power threshold ensures the energy safety of the discharging vehicle itself, preventing performance degradation and lifespan damage due to excessive battery discharge, and ensuring that the vehicle retains sufficient charge to meet its driving needs after discharge. Determining that the peak discharge power is greater than a preset power threshold ensures the effectiveness of the discharging vehicle's discharge function, preventing insufficient discharge power due to sufficient charge, thus avoiding overload operation of the discharging vehicle and ensuring the continuity and efficiency of the discharge process. Determining the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharge, ensuring that the high-voltage system of the discharging vehicle is in a healthy operating state, avoiding the risk of fault amplification, and ensuring the dual safety of both the discharging and charging vehicles. Combining the above process of determining that the second vehicle state meets the second preset conditions, the safety of the discharging process of the discharging vehicle can be ensured from multiple aspects.

[0049] In one implementation, when the interface connection status of the charging / discharging connection device indicates that the discharge end interface or the charging end interface is not fully connected, the state of the discharge switch is determined to be a first state, which is used to indicate that no operation on the discharge switch is responded to. When the interface connection status indicator of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the state of the discharge switch is determined to be the second state. The second state is used to indicate the response to the operation of the discharge switch.

[0050] For example, to avoid safety hazards caused by accidental activation of the discharge switch by a user, the state of the discharge switch can be adjusted based on the interface connection status of the charging / discharging connection device. The interface connection status of the charging / discharging connection device is obtained. When the interface connection status indicates that either the discharge end interface or the charging end interface is not fully connected, responding to the user's activation operation may lead to an erroneous response from the discharging vehicle, posing a safety hazard. Therefore, the state of the discharge switch can be determined as the first state, indicating that it should not respond to the user's activation operation. When the interface connection status indicates that both the discharge end interface and the charging end interface are fully connected, the state of the discharge switch can be determined as the second state, indicating that it should respond to the user's activation operation.

[0051] Optionally, when the state of the discharge switch is determined to be the first state, the virtual display discharge switch can be controlled to be in a hidden state, that is, the discharge switch is not displayed on the vehicle's display screen; or, the virtual display discharge switch or the physically set discharge switch can be controlled to be in a grayed-out state to indicate that the discharge switch is currently inoperable.

[0052] In this embodiment, by linking the connection status of the charging / discharging interface with the response status of the discharge switch, the discharge switch is locked and prevented from responding to the opening operation when the interface is not fully connected. The switch is only allowed to respond after the interface is fully connected, thus avoiding the safety hazards caused by the accidental triggering of the discharge switch when the charging / discharging interface is not fully connected. This improves the safety and reliability of the discharge operation from the triggering method level.

[0053] S202, in response to a vehicle discharge request, obtains the operating status of the high-voltage system in the vehicle being discharged.

[0054] For example, after receiving a vehicle discharge request, the vehicle controller (VCU) responds to the vehicle discharge request by obtaining the operating status of the high-voltage system in the vehicle being discharged, in order to determine whether the high-voltage system is currently in a powered-on or powered-off state.

[0055] In one implementation, the VCU can determine the operating status of the high-voltage system by acquiring parameters such as the status of the high-voltage main relay and the DC bus voltage.

[0056] For example, if the high-voltage main relay is in the closed state and the DC bus voltage is stable within the normal output voltage range of the power battery (e.g., 280V~400V), the high-voltage system can be determined to be in the powered-on state; if the main relay is open and the bus voltage is 0 or much lower than the rated value, the high-voltage system can be determined to be in the powered-off state.

[0057] S203, when the high-voltage system is in the power-on state, determine whether the first vehicle state of the discharge vehicle meets the first preset condition. The first vehicle state includes: the interface connection state of the charging and discharging connection device, the vehicle driving state, the vehicle fault state, and the component operating state.

[0058] The first preset condition is used to indicate the conditions under which the discharge vehicle can safely perform the discharge operation when the high-voltage system is energized.

[0059] For example, in scenarios such as vehicle driving, high-voltage accessory operation, and high-voltage system self-check and fault detection, the vehicle's high-voltage system needs to be powered on. However, in these scenarios, it cannot be guaranteed that the current state of the discharging vehicle can safely and stably charge the charging vehicle. Therefore, assuming the high-voltage system is determined to be powered on, to ensure that the current state of the discharging vehicle allows for external discharge, the first vehicle state of the discharging vehicle is further obtained, including the interface connection status of the charging / discharging connection device, the vehicle driving status, the vehicle fault status, and the component operating status. Then, it is determined whether the first vehicle state of the discharging vehicle meets the first preset condition.

[0060] In one implementation, when the interface connection status of the charging / discharging connection device indicates that both the discharge end interface and the charging end interface are fully connected, the vehicle driving status indicates that the discharging vehicle is in a state where discharging is permitted, the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharging, and the component operation status indicates that the target component required for discharging is in a preset state, it is determined that the first vehicle state of the discharging vehicle meets the first preset condition. If any one of the interface connection status of the charging / discharging connection device, the vehicle driving status, the vehicle fault status, or the component operation status fails to meet the above conditions, it is determined that the first vehicle state of the discharging vehicle does not meet the first preset condition.

[0061] For example, the interface connection status of the charging / discharging connection device is used to indicate whether the charging end interface of the charging / discharging connection device connected between the discharging vehicle and the charging vehicle is fully connected to the charging vehicle, and whether the discharging end interface is fully connected to the discharging vehicle. Vehicle driving status may include the vehicle's speed, gear, and vehicle mode. Vehicle fault status is used to indicate fault information existing in the discharging vehicle itself. Component operating status is used to indicate the status of the target component to be operated during vehicle discharging; the target component may include a DC / DC converter (DCDC), a motor control unit (MCU), and a battery management system (BMS), etc.

[0062] For example, the first preset condition may specifically include: the interface connection status of the charging and discharging connection device indicates that both the charging end interface and the discharging end interface are fully connected; the vehicle's driving speed is less than or equal to a preset speed threshold (e.g., 2 kilometers per hour); the gear of a pure electric vehicle is in park (P) or neutral (N), and the gear of a hybrid vehicle is in park (P) or the electronic parking brake (EPB) system is engaged to indicate that the discharging vehicle is in a parked state, allowing the discharging vehicle to discharge externally; the vehicle is not in over-the-air technology (OTA) mode or maintenance mode; the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits the discharging vehicle from discharging (e.g., high-voltage power distribution and control component faults, power battery faults, and communication faults); the target component being in a preset state may include the DCDC being in standby state, the MCU being in precharge state, and the BMS being in standby state.

[0063] In this embodiment, the first vehicle state of the discharging vehicle is determined; determining the interface connection status of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, which can eliminate the risk of electrical contact and ensure the physical safety of the discharging process and the stability of power transmission; determining the vehicle driving status indicates that the discharging vehicle is in a state that allows discharging (e.g., parked state), which can avoid accidental triggering of the discharging function during driving and ensure that the discharging function operates in a safe scenario; determining the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharging, ensuring that the high-voltage system of the discharging vehicle is in a healthy operating state, which can avoid the risk of fault amplification and ensure the dual safety of the discharging vehicle and the charging vehicle; determining the component operating status indicates that the target component required for discharging is in a standby state, ensuring that the relevant components can respond quickly and work together, avoiding discharge start-up delays and power output fluctuations caused by components not being ready. Combining the above process of determining that the first vehicle state meets the first preset conditions, the safety of the discharging process of the discharging vehicle can be ensured from multiple aspects.

[0064] In one implementation, when the high-voltage system is in a powered-off state, the method further includes: Determine whether the first vehicle state of the discharge vehicle meets the first preset condition; When the first vehicle state of the discharge vehicle meets the first preset condition, the operating state of the high-voltage system controlling the discharge vehicle is switched from the power-off state to the power-on state.

[0065] For example, when the high-voltage system of the discharge vehicle is detected to be in a powered-off state, it is first determined whether the first vehicle state of the discharge vehicle meets the first preset condition; if it meets the first preset condition, the high-voltage system of the discharge vehicle is powered on, and at this time, the high-voltage system of the discharge vehicle is switched from the powered-off state to the powered-on state.

[0066] For example, after the discharge vehicle is powered on, the high-voltage system is in the powered-on state. At this time, step S203 needs to be executed to determine again whether the vehicle's first state meets the first preset condition. According to this scheme, the safety of the discharge vehicle during high-voltage power-on and external discharge can be ensured through two verifications. This avoids situations where the vehicle's state changes during control, leading to a failure to respond to faults in a timely manner and resulting in safety risks during the discharge process.

[0067] It should be noted that, in the embodiments of this application, controlling the high voltage of the discharge vehicle to be powered on means that the high voltage system of the discharge vehicle is in a powered-on state, and the two descriptions above have the same meaning.

[0068] In this embodiment, when the high-voltage system is detected to be in a powered-off state, it is first determined whether the first vehicle state of the discharge vehicle meets a first preset condition. If the first preset condition is met, the high-voltage system of the discharge vehicle is controlled to be powered on, that is, the working state of the high-voltage system of the discharge vehicle is controlled to switch from a powered-off state to a powered-on state. By determining whether the discharge vehicle meets the requirements for high-voltage power-on through preset conditions, and performing high-voltage power-on when the conditions are met, the safety of the vehicle during the high-voltage power-on process can be ensured, thereby ensuring the safety of the discharge vehicle when discharging externally.

[0069] S204, when the first vehicle state of the discharging vehicle meets the first preset condition, the discharging vehicle is controlled to discharge so that the discharging vehicle charges the charging vehicle.

[0070] For example, when it is determined that the first vehicle state of the discharging vehicle meets the first preset condition, it indicates that the current state of the vehicle is in a state that allows the vehicle to discharge. Then, the discharging vehicle can be controlled to discharge, so as to realize V2V charging between the discharging vehicle and the charging vehicle.

[0071] For example, after determining that the first vehicle state of the discharging vehicle meets the first preset conditions, the VCU can send a signal to the BMS to allow external discharge, instructing the BMS to control the battery to discharge externally.

[0072] In one implementation, the process of controlling the discharge of the discharge vehicle may specifically include: When the interface connection status indicator of the charging and discharging connection device shows that both the discharging end interface and the charging end interface are fully connected, the locking mechanism of the discharging end interface and the charging end interface is controlled by the battery management system of the discharging vehicle to lock. After the locking mechanism is engaged, the discharge vehicle is controlled to discharge.

[0073] For example, before controlling the discharge vehicle to discharge, and ensuring that both the discharge end interface and the charging end interface are fully connected, the BMS of the discharge vehicle controls the locking mechanism of the discharge end interface in the charging-discharging connection device to lock, and simultaneously controls the locking mechanism of the charging end interface in the charging-discharging connection device to lock. After the locking mechanisms are locked, the discharge vehicle is controlled to charge the charging vehicle through the charging-discharging connection device.

[0074] In this embodiment, assuming both the discharge and charging interfaces are fully connected, the locking mechanism on the interface is first locked, and then the discharge vehicle is controlled to discharge. This further ensures the physical connection reliability and electrical contact stability of the charging and discharging interfaces, preventing safety accidents caused by loosening or detachment of the interface during discharge, while also ensuring stable output of discharge power and improving the safety and reliability of the discharge process.

[0075] In one implementation, after the locking mechanism is engaged, the process of controlling the discharge vehicle to discharge further includes: After the locking mechanism is locked, a communication connection is established between the battery management system of the discharging vehicle and the battery management system of the charging vehicle, and the first voltage sent by the charging vehicle is obtained. The first voltage refers to the maximum voltage for charging the charging vehicle. Based on the first voltage and the second voltage of the discharge vehicle, the target detection voltage is determined, where the second voltage refers to the maximum output voltage of the discharge vehicle. Based on the target detection voltage, determine the insulation test results of the discharge vehicle and the charging / discharging connection device; After the insulation test result indicates that the insulation has passed, control the discharge vehicle to discharge.

[0076] For example, after the locking mechanism of the control charging / discharging connection device is locked, a communication connection can be established between the BMS of the discharging vehicle and the BMS of the charging vehicle. Then, the maximum voltage (i.e., the first voltage) allowed to charge the charging vehicle can be obtained from the vehicle communication message sent by the charging vehicle; subsequently, based on the first voltage and the maximum output voltage of the discharging vehicle (i.e., the second voltage), a target detection voltage for insulation testing is determined; and based on the target detection voltage, insulation testing is performed on the discharging vehicle and the charging / discharging connection device to obtain the insulation testing result; after the insulation testing result indicates that the test has passed, the discharging vehicle is controlled to discharge.

[0077] For example, insulation testing of the charging / discharging connection device based on the target detection voltage involves controlling the multi-function bridge of the discharging vehicle to output the target detection voltage and monitoring the insulation resistance of the high-voltage system and the charging / discharging connection device to determine whether the insulation resistance meets preset conditions (e.g., insulation resistance greater than 40kΩ). If the insulation resistance meets the preset conditions, the insulation test result indicates that the test has passed.

[0078] For example, the process of determining the target detection voltage based on the first voltage and the second voltage of the discharge vehicle specifically includes determining the minimum value between the first voltage and the second voltage as the target detection voltage.

[0079] For example, before performing insulation testing, the high-voltage negative main relay (e.g., K2 relay), boost isolation relay, and DC fast charging negative relay in the high-voltage system are first closed by controlling the BMS to make the high-voltage circuit conduct, so that the insulation testing of the charging and discharging connection device can be performed.

[0080] In this embodiment, after the locking mechanism of the charging / discharging interface is locked, a communication connection is established between the battery management system of the discharging vehicle and the battery management system of the charging vehicle. Then, the target detection voltage is determined to perform insulation testing on the charging / discharging connection device, and if the test passes, the discharging vehicle is controlled to discharge. This solution ensures precise matching between insulation testing parameters and actual discharge conditions, improving the accuracy of insulation testing results. Simultaneously, it can proactively mitigate safety risks such as high-voltage leakage and equipment short circuits caused by substandard insulation performance, further ensuring the safety and reliability of the discharge process.

[0081] In one implementation, after the insulation test result indicates that the insulation test has passed, controlling the discharge vehicle to discharge includes: After the insulation test result indicates that it has passed, the battery management system of the discharge vehicle controls the multi-in-one bridge to precharge the DC bus capacitor of the high-voltage system. When the difference between the third voltage and the fourth voltage is less than or equal to a preset voltage threshold, the battery management system of the discharging vehicle controls the relay of the high voltage system to close, so that the discharging vehicle can discharge. The third voltage refers to the voltage on the side of the DC fast charging negative relay in the high-voltage system closest to the charging vehicle, and the fourth voltage refers to the high-voltage input voltage of the charging vehicle. The relays in the high-voltage system can include a high-voltage negative main relay (e.g., a K2 relay), a boost isolation relay, and a DC fast charging negative relay.

[0082] For example, after the insulation test result indicates that there are no issues such as high-voltage leakage or component damage between the discharging vehicle and the charging vehicle, the BMS controls the multi-in-one bridge of the high-voltage system to pre-charge the DC bus capacitor of the high-voltage system. When the difference between the third voltage on the side of the DC fast charging negative relay near the charging vehicle and the fourth voltage on the high-voltage input side of the charging vehicle is less than or equal to a preset voltage threshold (e.g., 10V), the voltage pre-charging can be stopped, and the relay of the high-voltage system can be closed to allow the discharging vehicle to discharge.

[0083] For example, after the insulation test passes, the BMS controls the multi-function bridge to stop outputting the target detection voltage and shuts down the insulation detection circuit of the discharging vehicle. Then, the BMS controls the multi-function bridge to start discharging, and after the residual voltage is completely discharged, the multi-function bridge stops discharging. Then, the high-voltage system relay is controlled to open. After this, the high-voltage system relay can be controlled to close, thereby performing voltage pre-charging on the DC bus capacitor.

[0084] For example, after the discharging vehicle has completed its preparatory work before discharging, a ready signal can be sent to the charging vehicle to instruct the discharging vehicle to charge the charging vehicle.

[0085] In this embodiment, after the insulation test result indicates that the test has passed, the battery management system of the discharging vehicle controls the multi-in-one bridge to pre-charge the DC bus capacitor of the high-voltage system. This ensures that the voltage difference between the side of the DC fast-charging negative relay closest to the charging vehicle and the high-voltage input voltage of the charging vehicle is less than or equal to a preset voltage threshold, thereby controlling the relay to close and allowing the discharging vehicle to discharge. This capacitor pre-charging operation suppresses the high-voltage inrush current at the moment the relay closes, preventing contact erosion, component damage, and other malfunctions caused by excessive voltage differences. It also ensures a smooth voltage transition in the discharge circuit, further improving the safety of the discharge process and extending the equipment's lifespan.

[0086] In one implementation, the discharge operation can be manually terminated during the discharge process of the discharge vehicle; if the vehicle's condition does not meet the requirements, it is also necessary to control the discharge vehicle to terminate the discharge process in order to ensure discharge safety.

[0087] For example, if a user's closing operation on the discharge switch is detected during the discharge process of the vehicle, the discharge process can be terminated.

[0088] For example, if the BMS detects that the second vehicle state of the vehicle does not meet the second preset condition, indicating that the vehicle is not allowed to discharge at present, then the discharge process of the vehicle needs to be terminated.

[0089] For example, if the VCU receives a vehicle discharge request sent by the BMS, but detects that the vehicle's first vehicle state does not meet the first preset condition, then the discharge process of the vehicle needs to be terminated.

[0090] In one implementation, the discharge status of the vehicle is displayed in real time during the discharge process.

[0091] For example, while external discharge is in progress, "V2V discharge in progress" can be displayed; after external discharge is completed, "V2V discharge complete" can be displayed. During the discharge process, if a vehicle status that does not meet preset conditions is detected, the existing abnormal information can be displayed simultaneously to facilitate timely handling of the abnormal information by the user.

[0092] Optionally, the display location for the discharge status may include an in-vehicle display screen such as the instrument panel or the central control screen.

[0093] In summary, in this embodiment, upon receiving a vehicle discharge request, the operating status of the high-voltage system in the discharging vehicle is detected in response to the request. If the high-voltage system is determined to be powered on, the interface connection status of the charging / discharging connection device, the vehicle's driving status, the vehicle's fault status, and the component operating status of the discharging vehicle are further confirmed to meet first preset conditions. If all of the above first vehicle states meet the first preset conditions, the discharging vehicle is controlled to discharge, thereby charging the charging vehicle. Compared to the prior art where the discharging vehicle is directly controlled to discharge after the high-voltage system is powered on, this application, by detecting the first vehicle state and controlling the vehicle to discharge only when the conditions are met, avoids the safety risks associated with the discharging process when the high-voltage system is powered on but the vehicle state does not meet the discharge conditions, thus improving the safety of the discharging vehicle charging the charging vehicle.

[0094] Figure 3 This is a schematic diagram of the interactive flow of a method for controlling vehicle discharge provided in an embodiment of this application. It should be understood that this method can be applied to vehicles that are discharging.

[0095] For example, such as Figure 3 As shown, the discharge vehicle includes an on-board host 103, a battery management system 104, and a vehicle controller 105. The method 300 includes: S301. Receive user's operation to open the discharge switch.

[0096] For example, the vehicle is equipped with a discharge switch, which can be a physical switch or a virtual switch set on the vehicle's display screen. When a user needs to discharge the vehicle to the outside, they can touch the discharge switch. At this time, the vehicle's head unit terminal (HUT) can receive the user's operation to turn on the discharge switch.

[0097] In one implementation, the state of the discharge switch can be determined based on the interface connection state of the charging / discharging connection device.

[0098] For example, when the interface connection status indicates that the charging end interface or the discharging end interface is not fully connected, the state of the discharge switch can be determined to be the first state, indicating that no operation on the discharge switch is currently being responded to; when the interface connection status indicates that both the charging end interface and the discharging end interface are fully connected, the state of the discharge switch can be determined to be the second state, indicating that an operation on the discharge switch is currently being responded to.

[0099] Alternatively, the implementation of S301 can be found in [reference needed]. Figure 2 The relevant description of S201 is not repeated here in the embodiments of this application.

[0100] S302. Send the discharge switch open signal.

[0101] For example, after receiving the operation to turn on the discharge switch, the vehicle host 103 sends a discharge switch turn-on signal to the battery management system 104 to indicate that there is a current vehicle discharge demand.

[0102] S303. In response to the start signal, determine whether the second vehicle state of the discharge vehicle meets the second preset condition.

[0103] For example, after receiving the opening signal of the discharge switch, the battery management system 104 determines whether the second vehicle state of the discharge vehicle meets the second preset condition in response to the opening signal.

[0104] The second vehicle status includes: the interface connection status of the charging and discharging connection device, the state of charge of the power battery, the peak discharge power of the power battery, and the vehicle fault status; the second preset conditions include: the interface connection status of the charging and discharging connection device indicates that the discharge end interface and the charging end interface are fully connected, the state of charge is greater than the preset power threshold, the peak discharge power is greater than the preset power threshold, and the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharge.

[0105] S304. If the second preset condition is met, send a vehicle discharge request.

[0106] For example, when the battery management system 104 detects that the second vehicle state of the discharging vehicle meets the second preset condition, it sends a vehicle discharge request to the vehicle controller 105.

[0107] S305. In response to a vehicle discharge request, obtain the operating status of the high-voltage system of the vehicle being discharged.

[0108] For example, after receiving a vehicle discharge request, the vehicle controller 105 responds to the vehicle discharge request by obtaining the operating status of the high-voltage system of the vehicle being discharged, wherein the operating status of the high-voltage system includes a power-on state and a power-off state.

[0109] Alternatively, the implementation methods of S302 to S305 can be found in [reference needed]. Figure 2 The relevant description of S202 is not repeated here in the embodiments of this application.

[0110] In one implementation, if the high-voltage system of the discharge vehicle is in a powered-off state, it is first determined whether the first vehicle state of the discharge vehicle meets a first preset condition. If the first vehicle state of the discharge vehicle meets the first preset condition, the high-voltage system of the discharge vehicle is powered on. At this time, the operating state of the high-voltage system of the discharge vehicle is switched from powered-off state to powered-on state. Then, step S306 can be executed to complete the subsequent judgment.

[0111] S306. If the high-voltage system is in the energized state, determine whether the first vehicle state of the discharge vehicle meets the first preset condition.

[0112] For example, when the high-voltage system is detected to be in an energized state, it is determined whether the first vehicle state of the discharge vehicle meets the first preset condition.

[0113] The first vehicle status includes: the interface connection status of the charging / discharging connection device, the vehicle driving status, the vehicle fault status, and the component operating status. The interface connection status of the charging / discharging connection device indicates whether the charging end interface of the charging / discharging connection device connecting the discharging vehicle and the charging vehicle is fully connected to the charging vehicle, and whether the discharging end interface is fully connected to the discharging vehicle. The vehicle driving status may include the vehicle's speed, gear, and vehicle mode. The vehicle fault status indicates fault information existing in the discharging vehicle itself. The component operating status indicates the status of the target component to be operated during the vehicle's discharge process. Target components may include a DC / DC converter (DCDC), a motor control unit (MCU), and a battery management system (BMS), etc.

[0114] For example, the first preset conditions include: the interface connection status of the charging and discharging connection device indicates that both the charging end interface and the discharging end interface are fully connected; the vehicle's driving speed is less than or equal to a preset speed threshold (e.g., 2 kilometers per hour); the gear of a pure electric vehicle is in park (P) or neutral (N), and the gear of a hybrid vehicle is in park (P) or the electronic parking brake (EPB) system is engaged; the vehicle is not in over-the-air technology (OTA) mode or maintenance mode; the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits high-voltage power supply (e.g., high-voltage power distribution and control component faults, power battery faults, and communication faults); the DC-DC converter is in standby mode, the MCU is in precharge mode, and the BMS is in standby mode.

[0115] Alternatively, the implementation of S306 can be found in [reference needed]. Figure 2 The relevant description of S203 is not repeated here in the embodiments of this application.

[0116] S307. If the first preset condition is met, send a discharge permission signal.

[0117] For example, after the vehicle controller 105 determines that the first vehicle state of the discharged vehicle meets the first preset condition, it sends a discharge permission signal to the battery management system 104 to instruct the battery management system 104 to perform a discharge operation.

[0118] S308. Locking mechanism for controlling the discharge end interface and charging end interface.

[0119] For example, after receiving a discharge permission signal sent by the vehicle controller 105, the battery management system 104 controls the locking mechanism of the discharge end interface and the charging end interface in the charging and discharging connection device to lock.

[0120] S309. Perform insulation testing and voltage pre-charging on the discharge vehicle.

[0121] For example, after the locking mechanism is engaged, a communication connection is established between the battery management system 104 of the discharging vehicle and the battery management system of the charging vehicle. This allows for insulation detection and voltage pre-charging operations on the discharging vehicle.

[0122] Optionally, the implementation methods of insulation detection and voltage pre-charging can be found in the relevant description in S204; the embodiments of this application will not be repeated here.

[0123] S310. Control the power battery to charge the charging vehicle.

[0124] For example, after the insulation test is passed and the voltage pre-charge is completed, the battery management system 104 can control the power battery and the high voltage system of the discharging vehicle to discharge, so that the discharging vehicle can charge the charging vehicle.

[0125] S311. Send discharge status information.

[0126] For example, during the charging process of a vehicle, the battery management system 104 sends discharge status information to the on-board host 103 to indicate whether the vehicle is currently in a discharging state, a discharging completed state, or a discharging fault state.

[0127] For example, the battery management system 104 may send the current discharge status information to the vehicle host 103 at a preset period (e.g., 100ms).

[0128] S312. Displays discharge status information.

[0129] For example, after receiving the discharge status information, the vehicle host 103 can display the discharge status information on the vehicle display screen for the user to view.

[0130] Alternatively, the implementation methods of S307 to S312 can be found in [reference needed]. Figure 2 The relevant description of S204 is not repeated here in the embodiments of this application.

[0131] In one implementation, during the external discharge process of the discharge vehicle, the following three methods can be used to terminate the discharge process: Method 1: During the discharge process of the vehicle, the user operates the discharge switch to normally end the V2V discharge.

[0132] For example, during V2V discharge, if the battery management system 104 receives a signal from the vehicle host 103 indicating that the state of the discharge switch has changed from the open state to the closed state, it sends a termination discharge request to the vehicle controller 105. After receiving the vehicle discharge request from the battery management system 104 and changing it to a termination discharge request, the vehicle controller 105 sends a prohibition discharge signal to the battery management system 104. After receiving the signal from the vehicle controller 105 indicating permission to discharge externally and changing it to a prohibition discharge signal, the battery management system 104 should end the V2V discharge according to standard requirements.

[0133] Method 2: During the discharge process of the vehicle, the battery management system 104 detects that the vehicle's discharge request conditions are not met. That is, the battery management system 104 detects that the second vehicle state of the discharge vehicle does not meet the second preset conditions.

[0134] For example, during V2V discharge, if the battery management system 104 detects that the second vehicle state of the discharged vehicle does not meet the second preset condition, the battery management system 104 sends a termination discharge request to the vehicle controller 105; after receiving the vehicle discharge request sent by the battery management system 104 and switching to a termination discharge request, the vehicle controller 105 sends a prohibition on external discharge signal to the battery management system 104; after receiving the signal that allows external discharge sent by the vehicle controller 105 and switching to a prohibition on external discharge signal, the battery management system 104 should end the V2V discharge according to the standard requirements.

[0135] Method 3: During the discharge process of the vehicle, the DC discharge enable condition of the VCU is not met. That is, the vehicle controller 105 detects that the first vehicle state of the discharge vehicle does not meet the first preset condition.

[0136] For example, during V2V discharge, if the vehicle controller 105 detects that the first vehicle state of the discharging vehicle does not meet the first preset condition, it sends a signal to the battery management system 104 to prohibit external discharge; after receiving the signal sent by the vehicle controller 105 to allow external discharge and then switching to a signal to prohibit external discharge, the battery management system 104 should end the V2V discharge in accordance with the standard requirements.

[0137] In summary, this embodiment of the application achieves full-process safety verification of V2V discharge through the coordinated and step-by-step control of the on-board host, battery management system, and vehicle controller. This process encompasses receiving user operations, vehicle status verification, high-voltage system detection, interface locking, insulation detection, and discharge execution. It mitigates risks such as vehicle anomalies and high-voltage failures, improving the safety and reliability of the vehicle's V2V discharge process and enhancing the user's interactive experience. Furthermore, it proposes multiple methods to terminate the discharge process, adaptable to different discharge conditions, ensuring the safety and stability of the discharge process.

[0138] The above text combined Figures 1 to 3 The method for controlling vehicle discharge provided in the embodiments of this application is described in detail below; the following will be combined with Figure 4 and Figure 5 The apparatus embodiments of this application are described in detail below. It should be understood that the apparatus in the embodiments of this application can perform the various methods described in the foregoing embodiments of this application, that is, the specific working processes of the various products described below can be referred to the corresponding processes in the foregoing method embodiments.

[0139] Figure 4 This is a schematic diagram of a device for controlling vehicle discharge provided in an embodiment of this application.

[0140] For example, such as Figure 4 As shown, the device 400 includes: The acquisition module 401 is used to receive vehicle discharge requests and, in response to vehicle discharge requests, acquire the operating status of the high-voltage system in the vehicle being discharged. Processing module 402 is used to determine whether the first vehicle state of the discharge vehicle meets the first preset condition when the high voltage system is in the power-on state. The first vehicle state includes: the interface connection state of the charging and discharging connection device, the vehicle driving state, the vehicle fault state, and the component operating state. When the first vehicle state of the discharge vehicle meets the first preset condition, the discharge vehicle is controlled to discharge so that the discharge vehicle charges the charging vehicle.

[0141] In one possible implementation, when the high-voltage system is in a powered-off state, the processing module 402 is further configured to determine whether the first vehicle state of the discharge vehicle meets the first preset condition; when the first vehicle state of the discharge vehicle meets the first preset condition, the processing module 402 controls the high-voltage system of the discharge vehicle to switch from a powered-off state to a powered-on state.

[0142] In one possible implementation, the acquisition module 401 is further configured to respond to the user's operation of turning on the discharge switch, and when the battery management system of the discharge vehicle detects that the second vehicle status of the discharge vehicle meets the second preset conditions, receive the vehicle discharge request sent by the battery management system. The second vehicle status includes: the interface connection status of the charging and discharging connection device, the state of charge of the power battery, the peak discharge power of the power battery, and the vehicle fault status.

[0143] In one possible implementation, the acquisition module 401 is further configured to determine that the second vehicle status of the discharge vehicle meets the second preset conditions when the battery management system detects that the interface connection status of the charging and discharging connection device indicates that both the discharge end interface and the charging end interface are fully connected, the state of charge is greater than a preset power threshold, the peak discharge power is greater than a preset power threshold, and the vehicle fault status indicates that the discharge vehicle does not have a fault that prohibits discharge.

[0144] In one possible implementation, the processing module 402 is further configured to control the locking mechanism of the discharge end interface and the charging end interface to lock when the interface connection status of the charging and discharging connection device indicates that both the discharge end interface and the charging end interface are fully connected, through the battery management system of the discharging vehicle; and control the discharging vehicle to discharge after the locking mechanism is locked.

[0145] In one possible implementation, the processing module 402 is further configured to, after the locking mechanism is locked, establish a communication connection between the battery management system of the discharging vehicle and the battery management system of the charging vehicle, and obtain a first voltage sent by the charging vehicle, wherein the first voltage refers to the maximum voltage for charging the charging vehicle; determine a target detection voltage based on the first voltage and the second voltage of the discharging vehicle, wherein the second voltage refers to the maximum output voltage of the discharging vehicle; determine the insulation detection result between the discharging vehicle and the charging / discharging connection device based on the target detection voltage; and control the discharging vehicle to discharge after the insulation detection result indicates that the insulation has passed.

[0146] In one possible implementation, the processing module 402 is further configured to, after the insulation test result indicates that the test has passed, control the multi-in-one bridge via the battery management system of the discharging vehicle to pre-charge the DC bus capacitor of the high-voltage system; when the difference between the third voltage and the fourth voltage is less than or equal to a preset voltage threshold, control the relay of the high-voltage system to close via the battery management system of the discharging vehicle to discharge the vehicle; wherein, the third voltage refers to the voltage of the DC fast charging negative relay in the high-voltage system on the side closer to the charging vehicle, and the fourth voltage refers to the high-voltage input side voltage of the charging vehicle.

[0147] In one possible implementation, the processing module 402 is further configured to determine the state of the discharge switch as a first state when the interface connection status of the charging and discharging connection device indicates that the discharge end interface or the charging end interface is not fully connected, the first state being used to indicate that no operation on the discharge switch is responded to; and to determine the state of the discharge switch as a second state when the interface connection status of the charging and discharging connection device indicates that both the discharge end interface and the charging end interface are fully connected, the second state being used to indicate that operation on the discharge switch is responded to.

[0148] In one possible implementation, the processing module 402 is further configured to determine that the first vehicle state of the discharge vehicle meets the first preset condition when the interface connection status of the charging and discharging connection device indicates that both the discharge end interface and the charging end interface are fully connected, the vehicle driving status indicates that the discharge vehicle is in a state that allows discharge, the vehicle fault status indicates that the discharge vehicle does not have a fault that prohibits discharge, and the component operation status indicates that the target component required for discharge is in a preset state.

[0149] It should be noted that the aforementioned device for controlling vehicle discharge is embodied in the form of a functional unit. The term "module" here can be implemented in software and / or hardware, without specific limitations.

[0150] For example, a "module" can be a software program, a hardware circuit, or a combination of both that implements the above functions. The hardware circuit may include an application-specific integrated circuit (ASIC), electronic circuits, a processor (e.g., a shared processor, a proprietary processor, or a group processor) and memory for executing one or more software or firmware programs, integrated logic circuits, and / or other suitable components that support the described functions.

[0151] Therefore, the units of the various examples described in the embodiments of this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0152] Figure 5 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.

[0153] For example, such as Figure 5 As shown, the vehicle 500 includes a memory 501 and a processor 502. The memory 501 stores executable program code 503, and the processor 502 is used to call and execute the executable program code 503 to perform a method for controlling the vehicle to discharge.

[0154] This embodiment can divide the vehicle into functional modules based on the above method example. For example, each module can correspond to a separate function module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0155] When each functional module is divided according to its corresponding function, the vehicle may also include a processing module, a control module, etc. It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0156] It should be understood that the device and vehicle provided in this embodiment are used to execute the above-described method for controlling vehicle discharge, and therefore can achieve the same effect as the above-described implementation method.

[0157] When using integrated units, the vehicle may include a processing module and a storage module. The processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing relevant program code.

[0158] The processing module may be a processor or a controller, which can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc., and the storage module may be a memory.

[0159] In addition, the vehicle provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute a method for controlling vehicle discharge provided in the above embodiments.

[0160] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement the method for controlling vehicle discharge provided in the above embodiment.

[0161] The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, Digital Video Discs (DVDs), Compact Disc Read-Only Memory (CD-ROMs), microdrives, and magneto-optical disks, read-only memory (ROMs), random access memory (RAMs), erasable programmable read-only memory (EPROMs), electrically erasable programmable read-only memory (EEPROMs), dynamic random access memory (DRAMs), video random access memory (VRAMs), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0162] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement a method for controlling vehicle discharge provided in the above embodiment.

[0163] In this embodiment, the device, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0164] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0165] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only 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 device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0166] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for controlling vehicle discharge, characterized in that, The method is applied to the vehicle controller of a discharge vehicle, and the method includes: Receive vehicle discharge request; In response to the vehicle discharge request, the operating status of the high-voltage system in the discharge vehicle is obtained; When the high-voltage system is in the power-on state, it is determined whether the first vehicle state of the discharge vehicle meets the first preset condition. The first vehicle state includes: the interface connection state of the charging and discharging connection device, the vehicle driving state, the vehicle fault state, and the component operating state. When the first vehicle state of the discharge vehicle meets the first preset condition, the discharge vehicle is controlled to discharge, so that the discharge vehicle charges the charging vehicle.

2. The method according to claim 1, characterized in that, When the high-voltage system is in a powered-off state, the method further includes: Determine whether the first vehicle state of the discharge vehicle meets the first preset condition; When the first vehicle state of the discharge vehicle meets the first preset condition, the operating state of the high-voltage system of the discharge vehicle is switched from the power-off state to the power-on state.

3. The method according to claim 1 or 2, characterized in that, The receiving of the vehicle discharge request includes: In response to the user's operation of turning on the discharge switch, when the battery management system of the discharge vehicle detects that the second vehicle status of the discharge vehicle meets the second preset conditions, the system receives the vehicle discharge request sent by the battery management system. The second vehicle status includes: the interface connection status of the charging and discharging connection device, the state of charge of the power battery, the peak discharge power of the power battery, and the vehicle fault status.

4. The method according to claim 3, characterized in that, The step of detecting that the second vehicle state of the discharging vehicle meets the second preset condition through the battery management system of the discharging vehicle includes: When the battery management system detects that the interface connection status of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, and the state of charge is greater than a preset power threshold, and the peak discharge power is greater than a preset power threshold, and the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharge, it is determined that the second vehicle status of the discharging vehicle meets the second preset condition.

5. The method according to claim 1 or 2, characterized in that, The control of the discharge vehicle to discharge includes: When the interface connection status indicator of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the locking mechanism of the discharging end interface and the charging end interface is controlled by the battery management system of the discharging vehicle to lock. After the locking mechanism is engaged, the discharge vehicle is controlled to discharge.

6. The method according to claim 5, characterized in that, After the locking mechanism is locked, controlling the discharge vehicle to discharge includes: After the locking mechanism is locked, a communication connection is established between the battery management system of the discharging vehicle and the battery management system of the charging vehicle, and the first voltage sent by the charging vehicle is obtained. The first voltage refers to the maximum voltage for charging the charging vehicle. Based on the first voltage and the second voltage of the discharge vehicle, a target detection voltage is determined, wherein the second voltage refers to the maximum output voltage of the discharge vehicle. Based on the target detection voltage, the insulation detection results of the discharge vehicle and the charging / discharging connection device are determined; After the insulation test result indicates that the insulation has passed, the discharge vehicle is controlled to discharge.

7. The method according to claim 6, characterized in that, The step of controlling the discharge vehicle to discharge after the insulation test result indicates that the test is passed includes: After the insulation test result indicates that the test is passed, the battery management system of the discharge vehicle controls the multi-in-one bridge to pre-charge the DC bus capacitor of the high-voltage system. When the difference between the third voltage and the fourth voltage is less than or equal to a preset voltage threshold, the battery management system of the discharging vehicle controls the relay of the high-voltage system to close, so that the discharging vehicle discharges. The third voltage refers to the voltage on the side of the DC fast charging negative relay in the high-voltage system closest to the charging vehicle, and the fourth voltage refers to the high-voltage input voltage of the charging vehicle.

8. The method according to claim 3, characterized in that, The method further includes: When the interface connection status of the charging and discharging connection device indicates that the discharging end interface or the charging end interface is not fully connected, the state of the discharge switch is determined to be the first state, which is used to indicate that the operation of the discharge switch is not responded to. When the interface connection status indicator of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the state of the discharging switch is determined to be the second state, which is used to indicate the response to the operation of the discharging switch.

9. The method according to claim 1 or 2, characterized in that, The method further includes: When the interface connection status of the charging and discharging connection device indicates that both the discharging end interface and the charging end interface are fully connected, the vehicle driving status indicates that the discharging vehicle is in a state that allows discharging, the vehicle fault status indicates that the discharging vehicle does not have a fault that prohibits discharging, and the component operation status indicates that the target component required for discharging is in a preset state, it is determined that the first vehicle status of the discharging vehicle meets the first preset condition.

10. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described in any one of claims 1 to 9.