Vehicle external power supply function control method, device and equipment and storage medium
By controlling the V2L function based on vehicle operating status information, the safety and accuracy issues of enabling and disabling the V2L function of electric vehicles in different states are solved, intelligent power supply control of electric vehicles is realized, and the safety and stability of power supply are ensured.
Patent Information
- Application Number
- CN202410827363.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-08-27
AI Technical Summary
When existing electric vehicles implement V2L functions, it is difficult to safely and accurately judge and control the activation and shutdown of the electric vehicle's operating status, resulting in possible safety hazards and unstable power supply.
By determining the V2L function control precondition information based on vehicle operating status information, activating or deactivating the V2L function, and controlling the pull-in state of the BMS high-voltage relay based on the high-voltage discharge system when the function is activated, ensuring the correct supply of high-voltage power.
It achieves safe and accurate control of V2L functions under different vehicle operating conditions, ensures the safety and stability of power supply, meets dynamic response requirements, and improves the intelligence level and user experience of electric vehicles.
Smart Images

Figure CN118544812A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a method, device, equipment and storage medium for controlling a vehicle's external power supply function. Background Art
[0002] Electric vehicles have the advantages of energy saving, high efficiency, low or zero emission, low noise, fast acceleration, and low cost of use. The electric vehicle market is getting bigger and bigger, and various OEMs have begun to develop electric vehicles. Currently, most electric vehicles are equipped with two-way OBC, which is a key device that can realize fast charging and discharging of electric vehicles.
[0003] Through the two-way OBC, electric vehicles can discharge externally. The V2L function is to convert the built-in DC battery power of the electric vehicle into household 220V AC power through OBC to power external devices. This function enables electric vehicles to power external devices when not charging, such as electric kettles, electric cookers, induction cookers and other high-power appliances. The V2L external discharge function usually supports appliances within a certain power range, and some high-end models even provide higher power output, which can meet the needs of users in various scenarios such as camping and picnics.
[0004] Existing electric vehicles face a variety of technical difficulties when implementing the V2L function. How to safely and accurately judge and control the activation and deactivation of the electric vehicle V2L function under different vehicle operating conditions is a technical problem to be solved. Summary of the invention
[0005] The main purpose of this application is to provide a method, device, equipment and storage medium for controlling the external power supply function of a vehicle, aiming to solve the technical problem of how to safely and accurately judge and control the activation and deactivation of the V2L function of an electric vehicle under different vehicle operating conditions.
[0006] To achieve the above object, the present application provides a method for controlling a vehicle external power supply function, the method comprising the following steps: Determine V2L function control precondition information based on vehicle operation status information; Determining a V2L function activation state according to the V2L function control precondition information; When the V2L function is activated, the external power supply system of the vehicle is controlled based on the V2L function control strategy to complete the power supply task.
[0007] Optionally, determining V2L function control precondition information according to vehicle operation status information includes: Determining V2L function activation flag information according to the vehicle operation status information; According to the vehicle operation status information and the V2L function activation flag information, V2L discharge shutdown flag information is obtained; The V2L function activation flag information and the V2L discharge shutdown flag information are used as V2L function control precondition information.
[0008] Optionally, determining V2L function activation flag information according to the vehicle running state information includes: According to the vehicle running status information, the charging gun status information, vehicle power-on information, charging interface information and gear information are obtained; Determine first basic flag information according to the charging gun status information; Determining second basic flag information according to the vehicle power-on information, charging interface information, and gear information; The V2L function activation flag information is determined according to the first basic flag information and the second basic flag information.
[0009] Optionally, obtaining V2L discharge shutdown flag information according to the vehicle running state information and V2L function activation flag information includes: When the V2L function activation flag is in position, obtaining the V2L function discharge state; Determine V2L discharge shutdown first basic flag information according to the V2L function discharge state; According to the vehicle running state information, an external discharge SOC limit value and an external discharge SOC floating value are obtained; According to the external discharge SOC limit value, the external discharge SOC floating value and the real-time SOC value, obtain V2L discharge closing second basic flag information; The V2L discharge closing flag information is obtained according to the V2L discharge closing first basic flag and the V2L discharge closing second basic flag.
[0010] Optionally, obtaining V2L discharge shutdown second basic flag information according to the external discharge SOC limit value, the external discharge SOC floating value and the real-time SOC value includes: When the real-time SOC value is less than the external discharge SOC limit value, the V2L discharge closing second basic flag is set; When the real-time SOC value is greater than the sum of the external discharge SOC limit value and the external discharge SOC floating value, the V2L discharge shutdown second basic flag is reset; When the real-time SOC value is less than the sum of the external discharge SOC limit value and the external discharge SOC floating value, and the real-time SOC value is greater than the external discharge SOC limit value, the V2L discharge shutdown second basic flag bit maintains the flag bit state at the previous moment.
[0011] Optionally, determining the V2L function activation state according to the V2L function control precondition information includes: When the V2L function activation flag is set and the V2L discharge shutdown flag is reset, the V2L function of the vehicle is activated.
[0012] Optionally, when the V2L function is activated, the external power supply system of the vehicle is controlled based on the V2L function control strategy to complete the power supply task, including: Obtain high-voltage discharge system flag status information and real-time battery voltage; When the high-voltage discharge system flag status information is all set and the real-time battery voltage is greater than a preset voltage threshold, the BMS high-voltage relay is controlled to remain in a closed state; When the V2L function is activated and the BMS high-voltage relay is energized, the vehicle is controlled to supply power to the outside to complete the power supply task.
[0013] In addition, to achieve the above-mentioned purpose, the present application also provides a vehicle external power supply function control device, the vehicle external power supply function control device comprising: A data processing module, used to determine V2L function control precondition information according to vehicle operation status information; A control module, configured to determine a V2L function activation state according to the V2L function control precondition information; The control module is also used to control the external power supply system of the vehicle based on the V2L function control strategy when the V2L function is activated to complete the power supply task.
[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a vehicle external power supply function control device, which includes: a memory, a processor, and a vehicle external power supply function control program stored in the memory and executable on the processor, and the vehicle external power supply function control program is configured to implement the steps of the vehicle external power supply function control method as described above.
[0015] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, on which a vehicle external power supply function control program is stored. When the vehicle external power supply function control program is executed by a processor, the steps of the vehicle external power supply function control method as described above are implemented.
[0016] The present application determines V2L function control precondition information according to vehicle operation status information; determines V2L function activation status according to V2L function control precondition information; when the V2L function is activated, controls the vehicle's external power supply system based on the V2L function control strategy to complete the power supply task.
[0017] In summary, this application determines the basic flag required for activating the V2L function through the real-time operating status of the vehicle, and then calculates the V2L discharge shutdown flag information in combination with parameters such as the V2L discharge status and battery SOC, ensuring that the V2L function can be turned off in time when the discharge conditions are not met, and controls the BMS high-voltage relay to be closed when the V2L function is activated to ensure the correct supply of high-voltage power. Through these comprehensive control strategies, a dynamic response to the V2L function requirements under different operating conditions is achieved while ensuring safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0020] Figure 1 This is a flow chart of the first embodiment of the vehicle external power supply function control method of the present application; Figure 2 This is a flow chart of a second embodiment of a method for controlling a vehicle's external power supply function according to the present application; Figure 3 This is a flow chart of a third embodiment of a method for controlling a vehicle's external power supply function of the present application; Figure 4 This is a functional module diagram of the vehicle external power supply function control device of this application; Figure 5 It is a structural diagram of a terminal device in the hardware operating environment involved in the embodiment of the present application.
[0021] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0022] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0023] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0024] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle external power supply function control device, etc. The following takes the vehicle external power supply function control device as an example to illustrate this embodiment and the following embodiments.
[0025] The present application provides a method for controlling the external power supply function of a vehicle, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the present application.
[0026] In this embodiment, the vehicle external power supply function control method includes: Step S10: Determine V2L function control precondition information according to the vehicle operation status information.
[0027] It should be noted that the V2L function refers to the abbreviation of "Vehicle-to-Load", which means the power supply function of the vehicle to the load. This function allows electric vehicles (EVs) to provide power to external devices or loads through their on-board battery systems. Specifically, electric vehicles are equipped with a bidirectional OBC (On-Board Charger), which can convert the built-in direct current (DC) battery power into alternating current (AC) power to power household, commercial electrical equipment or other vehicles. The main application scenarios of V2L technology include but are not limited to: use as a temporary power source in emergency situations such as power outages or natural disasters; provide power for electrical equipment in outdoor activities such as camping and picnics; provide charging services for other electric vehicles or hybrid vehicles. The V2L function not only improves the practicality of electric vehicles, but also expands its potential applications in smart grids and energy management, making electric vehicles a flexible energy storage and distribution node.
[0028] It is understandable that before the V2L (Vehicle-to-Load) function of an electric vehicle is activated or executed, it is necessary to first determine whether a series of prerequisites are met based on the current operating status of the vehicle. These prerequisites constitute the precondition information for V2L function control, which are a series of states or parameters that must be checked and confirmed to ensure that the V2L function can work safely and effectively.
[0029] It should be understood that the vehicle operating status information here includes but is not limited to the flag information of different functions of multiple different components, such as V2L discharge gun insertion flag, OBC external discharge permission flag, vehicle status, TCU gear position, fast charging gun insertion flag, OBC and discharge gun activation basic flag, discharge status, V2L discharge shutdown SOC flag, IVI stop external discharge button, OBC communication loss flag, BMS communication loss flag, fault diagnosis external discharge shutdown flag, BMS high voltage permission flag, MCU high voltage permission flag, DCDC high voltage permission flag, OBC high voltage permission flag, battery voltage signal, fault diagnosis forced high voltage relay disconnect flag and BMS high voltage relay pull-in basic flag.
[0030] It can be understood that the vehicle operation status information is a comprehensive concept, which covers the real-time status and parameters of each key system and component of the vehicle. This information is collected by various sensors and control units and converted into a series of flag information for the decision-making process of the vehicle control system. Specifically, these flag information may include but are not limited to the following aspects: discharge gun and OBC status: including V2L discharge gun insertion flag, indicating whether the discharge gun is inserted; OBC external discharge allowed flag, indicating whether OBC allows discharge. Basic vehicle status: vehicle status and TCU gear position, reflecting the overall operating status and gear position of the vehicle. Charging status: fast charging gun insertion flag, indicating whether the fast charging gun has been inserted into the vehicle. Activation and discharge status: OBC and discharge gun activation basic flag, discharge status, reflecting whether the discharge function is activated and the specific status of discharge. Safety and stop conditions: including V2L discharge shutdown SOC flag, IVI stop external discharge button, OBC communication loss flag, BMS communication loss flag, fault diagnosis external discharge shutdown flag, these flags involve safety monitoring and user operation.
[0031] It is understandable that these flag information together constitute the basis of the vehicle's operating status information, providing the necessary data support for the control strategy of the V2L function, and ensuring the safety and functionality of the vehicle under different operating conditions. Through real-time monitoring and logical judgment of these flags, the control system can make accurate decisions, such as activating or deactivating the V2L function, in response to different usage scenarios and needs.
[0032] Step S20: Determine the V2L function activation state according to the V2L function control precondition information.
[0033] It should be noted that the determination of the activation status of the V2L function is based on a series of logical judgments. In the above steps, it can be obtained whether the V2L discharge gun has been inserted and the OBC allows external discharge, whether the vehicle is in a safe operating state, such as whether it has been powered on and is in P gear, whether the fast charging gun is inserted, whether the discharge state is normal, no fault has occurred or the discharge has been completed, whether the user has clearly expressed the intention to stop external discharge through the IVI system, whether the vehicle's communication system is stable, including the communication status of OBC and BMS, whether the high-voltage system allows the V2L function, including the high-voltage allowable state of BMS, MCU, DCDC and OBC, whether the battery voltage meets the requirements of V2L discharge, and other specific answers.
[0034] It can be understood that activating the V2L function requires the following prerequisites: the basic flags of OBC and discharge gun activation are in place, and the two basic flags of pre-judgment for activation of the V2L function are in place, that is, the two basic flags of pre-judgment are set at the same time, and the fast charging gun insertion flag is in a reset state, which means that the V2L function can be activated. If any of the above conditions is not met, it means that the conditions for activating the V2L function are not met.
[0035] It should be understood that based on a comprehensive safety and functional assessment, it is ensured that when the V2L function is activated, the vehicle is in a state that is both safe and suitable for power supply. The setting of the basic flags for OBC and discharge gun activation indicates that the discharge gun has been correctly inserted and the OBC is ready for discharge operation. This is the basic physical connection and functional preparation condition. The two basic flags for pre-judgment are set according to functional classification, one of which is used to indicate that a series of internal conditions based on vehicle status and user input have been met, such as the vehicle is powered on, in P gear, etc., and the other is used to indicate other safety checks and status confirmations of the vehicle, such as sufficient battery power, no ongoing fault diagnosis, etc. Through such settings, the safety and rationality of the activation process of the V2L function are ensured.
[0036] Step S30: When the V2L function is activated, the external power supply system of the vehicle is controlled based on the V2L function control strategy to complete the power supply task.
[0037] It should be noted that the control strategy of the V2L function is an intelligent management system that comprehensively considers safety, efficiency and user needs. It not only involves the evaluation of the current state, but also includes the prediction and response to possible changes in the future. For example, the control system may predict the power supply capacity based on the downward trend of the battery power and take measures when necessary, such as reducing the power supply or notifying the user in advance.
[0038] In one embodiment, when the V2L function is activated, the external power supply system of the vehicle is controlled based on the V2L function control strategy to complete the power supply task, including: obtaining high-voltage discharge system flag status information and real-time battery voltage; when the high-voltage discharge system flag status information is set and the real-time battery voltage is greater than a preset voltage threshold, controlling the BMS high-voltage relay to remain in the energized state; when the V2L function is activated and the BMS high-voltage relay is energized, controlling the vehicle to supply power to the outside to complete the power supply task.
[0039] It is understandable that the control strategy of the V2L function allows independent optimization and adjustment of different control links, so that the system can adapt to different vehicle configurations and usage environments and meet the specific needs of different users. The control strategy of the V2L function also includes a mechanism for handling abnormal situations. If the control system detects any abnormality, such as a sudden drop in battery voltage or an abnormal high-voltage system status flag, it will automatically take corresponding safety measures, such as disconnecting the high-voltage relay, to protect the safety of the vehicle and the user.
[0040] It should be understood that although the control strategy of the V2L function is automatically executed by the vehicle's intelligent system, the user can still monitor and intervene in the power supply task through the vehicle's infotainment system or other interfaces. This design not only reflects the vehicle's intelligence level, but also ensures the user's full control and transparency over the vehicle's functions.
[0041] The present embodiment provides a method for controlling an external power supply function of a vehicle. The present embodiment first determines V2L function control precondition information according to vehicle operation status information; determines the V2L function activation state according to the V2L function control precondition information; and when the V2L function is activated, controls the external power supply system of the vehicle based on the V2L function control strategy to complete the power supply task.
[0042] In summary, this application determines the basic flag required for activating the V2L function through the real-time operating status of the vehicle, and then calculates the V2L discharge shutdown flag information in combination with parameters such as the V2L discharge status and battery SOC, ensuring that the V2L function can be turned off in time when the discharge conditions are not met, and controls the BMS high-voltage relay to be closed when the V2L function is activated to ensure the correct supply of high-voltage power. Through these comprehensive control strategies, a dynamic response to the V2L function requirements under different operating conditions is achieved while ensuring safety.
[0043] Reference Figure 2 , Figure 2 This is a flow chart of a second embodiment of a method for controlling a vehicle's external power supply function according to the present application. Based on the above-mentioned first embodiment, a second embodiment of a method for controlling a vehicle's external power supply function according to the present application is proposed.
[0044] In this embodiment, the step S10 includes: Step S101: Determine V2L function activation flag information according to the vehicle operation status information.
[0045] It should be noted that this step requires real-time monitoring of multiple key parameters of the vehicle, including but not limited to battery power, whether the vehicle is stationary, whether the charging gun is connected, and whether the user's discharge command is received. These parameters together determine whether the V2L function is ready to start.
[0046] It is understood that the process of determining the V2L function activation flag information is highly automated and based on preset logic and rules. This means that once the vehicle status information indicates that all conditions have been met, the system will automatically set the V2L activation flag without human intervention. At the same time, this process is also dynamic, and the activation flag may be re-evaluated and adjusted with any changes in the vehicle status.
[0047] It should be understood that the determination of the V2L function activation flag information is an important part of the entire V2L function control process, which provides a basis for subsequent control decisions. Only after this step is successfully completed can the V2L function be further activated and then provide power to the outside. This design ensures that the activation of the V2L function is made after fully considering all relevant factors, thereby improving the safety and reliability of the entire system.
[0048] Step S102: obtaining V2L discharge shutdown flag information according to the vehicle running state information and the V2L function activation flag information.
[0049] It should be noted that by real-time analysis of vehicle status information and combining the V2L function activation flag, the system can accurately determine when the discharge state should be maintained and when the discharge function should be turned off.
[0050] It is understandable that the acquisition of V2L discharge shutdown flag information is a decision-making process that integrates vehicle technical parameters, user behavior and safety strategies. It involves not only the evaluation of the current state, but also the prediction and response to possible future changes. For example, the system may predict the power supply capacity based on the downward trend of the battery power and take measures when necessary, such as reducing the power supply or notifying the user in advance.
[0051] Step S103: using the V2L function activation flag information and the V2L discharge shutdown flag information as V2L function control precondition information.
[0052] It should be noted that in this embodiment, the start and stop conditions of the V2L function are divided into an activation part and a discharge shutdown part to achieve a more sophisticated and flexible control logic. The activation part focuses on ensuring that all necessary conditions are met to safely start the V2L function; while the discharge shutdown part focuses on monitoring any factors that may indicate the need to stop discharging, ensuring that the power supply can be interrupted in time when potential risks occur or user demand changes.
[0053] It is understandable that this dual confirmation mechanism allows the system to respond more reasonably in different situations. For example, when the vehicle is ready to supply power to the outside, the activation flag will verify key conditions such as vehicle status, battery power, user instructions, etc. Only when all conditions are confirmed to be correct will the V2L function be authorized to start. In contrast, the discharge shutdown flag provides a safety mechanism that can respond to signals such as low battery SOC value, system failure, user manual operation, etc. to ensure the safety of the vehicle and battery and prevent over-discharge or other undesirable discharge situations.
[0054] It should be understood that splitting the start-stop conditions into activation and discharge shutdown also helps improve the maintainability and scalability of the system. In the future, as vehicle technology develops and user needs change, it may be necessary to add more control conditions or adjust existing logic. At this time, this modular design makes it easier to update and optimize the system without making large-scale changes to the entire control process.
[0055] The present embodiment provides a method for controlling a vehicle's external power supply function. The present embodiment first determines V2L function activation flag information according to the vehicle operation status information; obtains V2L discharge shutdown flag information according to the vehicle operation status information and the V2L function activation flag information; and uses the V2L function activation flag information and the V2L discharge shutdown flag information as V2L function control precondition information.
[0056] In summary, by clearly distinguishing the start and stop conditions of the V2L function into activation and discharge shutdown, not only does it make the control logic clearer, but it also facilitates system maintenance and upgrades. This modular design concept allows for more flexible adjustments and optimizations to the control strategy in the future, without the need for large-scale changes to the entire system. By monitoring the key parameters of the vehicle in real time, the system can automatically determine and set the V2L activation flag to ensure that the V2L function is safely activated only after all startup conditions are met, improving the intelligence level of the electric vehicle's external power supply function.
[0057] Reference Figure 3 , Figure 3This is a flow chart of the third embodiment of the method for controlling the external power supply function of a vehicle of the present application. Based on the above-mentioned second embodiment, the third embodiment of the method for controlling the external power supply function of a vehicle of the present application is proposed.
[0058] In this embodiment, step S101 includes: Step S10101: According to the vehicle operation status information, the charging gun status information, the vehicle power-on information, the charging interface information and the gear information are obtained.
[0059] It should be noted that the vehicle operation status information includes but is not limited to charging gun status information, vehicle power-on information, charging port information and gear information.
[0060] Step S10102: Determine first basic flag information according to the charging gun status information.
[0061] In some embodiments, the basic flags of OBC and discharge gun activation are calculated first: when the OBC external discharge permission flag is in position and the V2L discharge gun insertion flag is in position, the basic flags of OBC and discharge gun activation are in position, otherwise they are reset; then the first basic flag information is calculated: if the basic flags of OBC and discharge gun activation jump from reset to set, the first basic flag is in position, otherwise the next step of judgment is performed; the next step of judgment is that if the basic flags of OBC and discharge gun activation are reset, the first basic flag information is reset, otherwise, the first basic flag information keeps the original state value unchanged.
[0062] It is understandable that the above content specifically points out that when the OBC and discharge gun activation basic flag bits change from reset to set, the first basic flag bit information will be set, which means that the system can recognize the change of state and update its control logic accordingly. In addition, the insertion or removal of the charging gun is a dynamic event that needs to be immediately recognized and responded to by the system. If the OBC and discharge gun activation basic flag bits are already set and the above-mentioned jump or reset does not occur, the first basic flag bit information will maintain its original state value unchanged. This ensures the continuity and stability of the control logic.
[0063] It should be understood that if the OBC and discharge gun activation basic flags are reset, the first basic flag information is also reset, which reflects that the technical solution of the present application needs to follow the fail-safe design principle, that is, the system takes conservative measures under any potential problems or improper configurations.
[0064] Step S10103: Determine the second basic flag information according to the vehicle power-on information, charging interface information and gear information.
[0065] In some embodiments, if the vehicle is powered off or powered on, but not high voltage or ready, the second basic flag is set, otherwise the next step is performed; in the next step, if the TCU gear is in P gear, the second basic flag is set, otherwise it is reset. If the first basic flag and the second basic flag are set at the same time, and the fast charging gun insertion flag is reset, the V2L function activation basic flag is set, otherwise it is reset.
[0066] It should be noted that the purpose of this step is to ensure that the V2L function is activated in a safe and appropriate vehicle state, while avoiding enabling V2L under conditions that may affect vehicle safety or normal operation of the function.
[0067] It is understandable that such control logic ensures that the vehicle is in a stable and safe state, which is a basic requirement before starting the V2L function. For example, if the vehicle is not fully powered on or is not in a high-voltage ready state, the stability and safety of external power supply may not be guaranteed. When the vehicle is not in P gear (parking gear), if the vehicle moves, starting the V2L function may pose safety risks, such as power outages caused by accidental towing or vehicle movement. By ensuring that the fast charging gun is not plugged in, confirm that the user's current intention is to use the V2L function rather than fast charging to avoid functional conflicts. If the vehicle is not in an appropriate state, such as not being on high voltage or not in a ready state, activating the V2L function may cause system failure or unstable power supply.
[0068] Step S10104: Determine V2L function activation flag information according to the first basic flag information and the second basic flag information.
[0069] It should be noted that, under the premise that the first basic flag bit and the second basic flag bit are set at the same time, if the fast charging gun is not inserted at this time, it can be regarded that all conditions for not allowing the activation of the V2L function have been lifted.
[0070] In this embodiment, the step S1012 includes: Step S10201: when the V2L function activation flag is set, the V2L function discharge state is obtained.
[0071] It should be noted that the V2L function discharge status here refers to whether the current V2L function is in a non-discharge state for a period of time exceeding a preset time threshold. Since the V2L discharge function is turned on but no electricity is used, this situation objectively exists. When the discharge function is left idle for a period of time, the discharge function should be turned off in time.
[0072] Step S10202: Determine V2L discharge shutdown first basic flag information according to the V2L function discharge state.
[0073] In one embodiment, when (the V2L function activation basic flag is set, and the V2L discharge status is not "V2L is discharging") is satisfied at the same time, and the duration exceeds the adjustable calibration value, the V2L discharge shutdown 1 flag is set, otherwise it is reset. When the V2L discharge status is "V2L discharge fault" or "V2L discharge completed", the V2L discharge shutdown 2 flag is set, otherwise it is reset. When (OBC discharge power + vehicle accessory power) is greater than the maximum discharge power allowed by the battery, the V2L discharge shutdown 3 flag is set, otherwise it is reset.
[0074] It can be understood that the V2L discharge closing 1, 2, and 3 flags all belong to the V2L discharge closing first basic flag.
[0075] Step S10203: Obtaining an external discharge SOC limit value and an external discharge SOC floating value according to the vehicle operating state information.
[0076] It should be noted that the external discharge SOC limit is a threshold set by the battery management system (BMS) to indicate the minimum safety limit of the battery SOC to prevent excessive discharge of the battery. When the battery SOC drops to this limit, the V2L function may be automatically shut down to protect the battery from damage and retain the necessary power for normal operation of the vehicle. The external discharge SOC floating value is an additional buffer zone, set above the SOC limit, to provide a certain degree of flexibility, allowing the battery to discharge between the SOC limit and the SOC limit plus the floating value. This floating value can be regarded as a safety buffer to cope with fluctuations or errors in SOC readings, ensuring that the battery does not suddenly stop discharging due to a short-term SOC drop.
[0077] Step S10204: obtaining V2L discharge shut-off second basic flag information according to the external discharge SOC limit value, the external discharge SOC floating value and the real-time SOC value.
[0078] In one embodiment, when the real-time SOC value is less than the external discharge SOC limit value, the V2L discharge shutdown second basic flag is set; when the real-time SOC value is greater than the sum of the external discharge SOC limit value and the external discharge SOC floating value, the V2L discharge shutdown second basic flag is reset; when the real-time SOC value is less than the sum of the external discharge SOC limit value and the external discharge SOC floating value, and the real-time SOC value is greater than the external discharge SOC limit value, the V2L discharge shutdown second basic flag maintains the flag state at the previous moment.
[0079] It can be understood that this mechanism allows the system to dynamically adjust the state of V2L discharge according to the real-time SOC value of the battery, ensuring that the battery will not be damaged due to excessive discharge, while also allowing external power supply when the battery is fully charged.
[0080] Step S10205: obtaining the V2L discharge closing flag information according to the V2L discharge closing first basic flag and the V2L discharge closing second basic flag.
[0081] It should be noted that if the V2L discharge closure 1 flag is set, or the V2L discharge closure 2 flag is set, or the V2L discharge closure 3 flag is set, or the V2L discharge closure 4 flag is set, or the OBC communication loss flag is set, or the BMS communication loss flag is set, or the fault diagnosis external discharge closure flag is set, then the V2L discharge closure flag is set, otherwise it is reset.
[0082] It can be understood that the V2L discharge shutdown flag information is obtained by integrating the states of multiple basic flags, which ensures the comprehensiveness and meticulousness of the decision. If any safety-related basic flag is set, such as the V2L discharge shutdown 1 to 4 flags, or the communication loss flag, or the fault diagnosis flag, the result will point to the V2L discharge shutdown flag being set.
[0083] It should be understood that the V2L discharge activation flag can be set when and only when the V2L function activates the basic flag and the V2L discharge shutdown flag is reset, otherwise it is reset. This means that the V2L function will be activated only when the activation condition and the discharge shutdown condition are met at the same time. This logic ensures that the activation of the V2L function is a decision made after a comprehensive evaluation of the system.
[0084] This embodiment provides a method for controlling the external power supply function of a vehicle. This embodiment first obtains the charging gun status information, the vehicle power-on information, the charging interface information and the gear information according to the vehicle operation status information; determines the first basic flag information according to the charging gun status information; determines the second basic flag information according to the vehicle power-on information, the charging interface information and the gear information; determines the V2L function activation flag information according to the first basic flag information and the second basic flag information. When the V2L function activation flag is in position, the V2L function discharge state is obtained; according to the V2L function discharge state, the V2L discharge shutdown first basic flag information is determined; according to the vehicle operation status information, the external discharge SOC limit value and the external discharge SOC floating value are obtained; according to the external discharge SOC limit value, the external discharge SOC floating value and the real-time SOC value, the V2L discharge shutdown second basic flag information is obtained; according to the V2L discharge shutdown first basic flag and the V2L discharge shutdown second basic flag, the V2L discharge shutdown flag information is obtained.
[0085] In summary, by comprehensively analyzing the real-time operating status information of the vehicle, including the charging gun status, vehicle power-on information, charging interface status and gear information, the activation conditions of the V2L function are intelligently determined. This method cleverly integrates multi-dimensional monitoring data to ensure that the V2L function can be accurately activated under the premise of meeting a series of safety and operating standards. At the same time, by real-time monitoring of the discharge status and battery SOC value, combined with the preset SOC limit and floating value, it dynamically evaluates and determines whether the V2L function needs to be turned off, thereby optimizing the energy efficiency and power supply reliability while ensuring the safety of the vehicle and users. In addition, the implementation of this method enhances the responsiveness of the system, ensures that the V2L function can be turned off in a timely and safe manner under any adverse conditions, and improves the intelligence level of the entire vehicle's external power supply system and the user's operating experience.
[0086] Reference Figure 4 The present application also provides a vehicle external power supply function control device, the vehicle external power supply function control device comprising: The data processing module 10 is used to determine V2L function control precondition information according to the vehicle operation status information; A control module 20, configured to determine a V2L function activation state according to the V2L function control precondition information; The control module 20 is further configured to control the external power supply system of the vehicle based on the V2L function control strategy when the V2L function is activated, so as to complete the power supply task.
[0087] In one embodiment, the data processing module 10 is further used to determine V2L function activation flag information according to the vehicle operation status information; obtain V2L discharge shutdown flag information according to the vehicle operation status information and the V2L function activation flag information; and use the V2L function activation flag information and the V2L discharge shutdown flag information as V2L function control precondition information.
[0088] In one embodiment, the data processing module 10 is also used to obtain charging gun status information, vehicle power-on information, charging interface information and gear information based on the vehicle operation status information; determine the first basic flag information based on the charging gun status information; determine the second basic flag information based on the vehicle power-on information, charging interface information and gear information; determine the V2L function activation flag information based on the first basic flag information and the second basic flag information.
[0089] In one embodiment, the data processing module 10 is further used to obtain the V2L function discharge state when the V2L function activation flag is in position; determine the V2L discharge shutdown first basic flag information according to the V2L function discharge state; obtain the external discharge SOC limit value and the external discharge SOC floating value according to the vehicle operation state information; obtain the V2L discharge shutdown second basic flag information according to the external discharge SOC limit value, the external discharge SOC floating value and the real-time SOC value; obtain the V2L discharge shutdown flag information according to the V2L discharge shutdown first basic flag and the V2L discharge shutdown second basic flag.
[0090] In one embodiment, the data processing module 10 is further used to, when the real-time SOC value is less than the external discharge SOC limit value, set the V2L discharge shutdown second basic flag position; when the real-time SOC value is greater than the sum of the external discharge SOC limit value and the external discharge SOC floating value, reset the V2L discharge shutdown second basic flag position; when the real-time SOC value is less than the sum of the external discharge SOC limit value and the external discharge SOC floating value, and the real-time SOC value is greater than the external discharge SOC limit value, the V2L discharge shutdown second basic flag position maintains the flag position state at the previous moment.
[0091] In one embodiment, the control module 20 is further configured to activate the V2L function of the vehicle when the V2L function activation flag is set and the V2L discharge shutdown flag is reset.
[0092] In one embodiment, the control module 20 is also used to obtain the high-voltage discharge system flag status information and the real-time battery voltage; when the high-voltage discharge system flag status information is set and the real-time battery voltage is greater than a preset voltage threshold, the BMS high-voltage relay is controlled to remain in the energized state; when the V2L function is activated and the BMS high-voltage relay is energized, the vehicle is controlled to supply power to the outside to complete the power supply task.
[0093] An embodiment of the present application also provides a vehicle external power supply function control device, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle external power supply function control method in the above-mentioned embodiment one.
[0094] Reference below Figure 5, which shows a schematic diagram of the structure of a vehicle external power supply function control device suitable for implementing the embodiment of the present application. The vehicle external power supply function control device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The vehicle external power supply function control device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0095] like Figure 5 As shown, the vehicle external power supply function control device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM: Read Only Memory) 1002 or the program loaded from the storage device 1003 to the random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the vehicle external power supply function control device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the vehicle external power supply function control device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a vehicle external power supply function control device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0096] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0097] The vehicle external power supply function control device provided by the present application adopts the vehicle external power supply function control method in the above embodiment, which can solve the technical problem of how to safely and accurately judge and control the activation and deactivation of the electric vehicle V2L function under different vehicle operating conditions in the field. Compared with the prior art, the beneficial effects of the vehicle external power supply function control device provided by the present application are the same as the beneficial effects of the vehicle external power supply function control method provided by the above embodiment, and the other technical features of the vehicle external power supply function control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0098] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0099] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0100] The present application also provides a storage medium, on which a vehicle external power supply function control program is stored. When the vehicle external power supply function control program is executed by a processor, the steps of the vehicle external power supply function control method described in any one of the above are implemented.
[0101] The storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: RandomAccess Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0102] The above-mentioned storage medium may be included in the vehicle external power supply function control device; or may exist independently without being assembled into the vehicle external power supply function control device.
[0103] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the vehicle external power supply function control device, the vehicle external power supply function control device: determines the target operating condition power parameter according to the operating condition switching information; obtains the basic torque adjustment value according to the current operating condition power parameter and the target operating condition power parameter; obtains the additional torque adjustment value according to the hybrid assembly rotational inertia and the target operating condition power parameter; and controls the output torque of the generator according to the basic torque adjustment value and the additional torque adjustment value.
[0104] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0105] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0106] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0107] The storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle external power supply function control method, and can solve the technical problem of how to safely and accurately judge and control the activation and deactivation of the electric vehicle V2L function under different vehicle operating conditions. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the vehicle external power supply function control method provided in the above-mentioned embodiment, and will not be repeated here.
[0108] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for controlling a vehicle's external power supply function, characterized in that: The vehicle external power supply function control method includes: Determine V2L function control precondition information based on vehicle operation status information; Determining a V2L function activation state according to the V2L function control precondition information; When the V2L function is activated, the external power supply system of the vehicle is controlled based on the V2L function control strategy to complete the power supply task.
2. The vehicle external power supply function control method according to claim 1, characterized in that: Determining V2L function control precondition information according to the vehicle operation status information includes: Determining V2L function activation flag information according to the vehicle operation status information; According to the vehicle operation status information and the V2L function activation flag information, V2L discharge shutdown flag information is obtained; The V2L function activation flag information and the V2L discharge shutdown flag information are used as V2L function control precondition information.
3. The vehicle external power supply function control method according to claim 2, characterized in that: The determining, according to the vehicle running state information, V2L function activation flag information includes: According to the vehicle running status information, the charging gun status information, vehicle power-on information, charging interface information and gear information are obtained; Determine first basic flag information according to the charging gun status information; Determining second basic flag information according to the vehicle power-on information, charging interface information, and gear information; The V2L function activation flag information is determined according to the first basic flag information and the second basic flag information.
4. The vehicle external power supply function control method according to claim 2, characterized in that: The obtaining of V2L discharge shutdown flag information according to the vehicle running state information and the V2L function activation flag information includes: When the V2L function activation flag is in position, obtaining the V2L function discharge state; Determine V2L discharge shutdown first basic flag information according to the V2L function discharge state; According to the vehicle running state information, an external discharge SOC limit value and an external discharge SOC floating value are obtained; According to the external discharge SOC limit value, the external discharge SOC floating value and the real-time SOC value, obtain V2L discharge closing second basic flag information; The V2L discharge closing flag information is obtained according to the V2L discharge closing first basic flag and the V2L discharge closing second basic flag.
5. The vehicle external power supply function control method according to claim 3, characterized in that: The obtaining of the V2L discharge closing second basic flag information according to the external discharge SOC limit value, the external discharge SOC floating value and the real-time SOC value includes: When the real-time SOC value is less than the external discharge SOC limit value, the V2L discharge closing second basic flag is set; When the real-time SOC value is greater than the sum of the external discharge SOC limit value and the external discharge SOC floating value, the V2L discharge shutdown second basic flag is reset; When the real-time SOC value is less than the sum of the external discharge SOC limit value and the external discharge SOC floating value, and the real-time SOC value is greater than the external discharge SOC limit value, the V2L discharge shutdown second basic flag bit maintains the flag bit state at the previous moment.
6. The vehicle external power supply function control method according to claim 1, characterized in that: The determining the V2L function activation state according to the V2L function control precondition information includes: When the V2L function activation flag is set and the V2L discharge shutdown flag is reset, the V2L function of the vehicle is activated.
7. The vehicle external power supply function control method according to claim 1, characterized in that: When the V2L function is activated, the external power supply system of the vehicle is controlled based on the V2L function control strategy to complete the power supply task, including: Obtain high-voltage discharge system flag status information and real-time battery voltage; When the high-voltage discharge system flag status information is all set and the real-time battery voltage is greater than a preset voltage threshold, the BMS high-voltage relay is controlled to remain in a closed state; When the V2L function is activated and the BMS high-voltage relay is energized, the vehicle is controlled to supply power to the outside to complete the power supply task.
8. A vehicle external power supply function control device, characterized in that: The vehicle external power supply function control device comprises: A data processing module, used to determine V2L function control precondition information according to vehicle operation status information; A control module, configured to determine a V2L function activation state according to the V2L function control precondition information; The control module is also used to control the external power supply system of the vehicle based on the V2L function control strategy when the V2L function is activated to complete the power supply task.
9. A vehicle external power supply function control device, characterized in that: The vehicle external power supply function control device includes: a memory, a processor, and a vehicle external power supply function control program stored in the memory and executable on the processor, wherein the vehicle external power supply function control program is configured to implement the steps of the vehicle external power supply function control method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a vehicle external power supply function control program, and when the vehicle external power supply function control program is executed by the processor, the steps of the vehicle external power supply function control method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Complete vehicle ready calculation method, device and equipment, storage medium and product
CN119189681A
