Energy management method and device of vehicle, electronic equipment, storage medium and vehicle

By acquiring and allocating the available power of the air conditioner through the vehicle controller, the problem of external loads not being able to function properly when the user turns on the air conditioner while the vehicle is in an external discharge condition is solved, and the power balance distribution among various electrical devices is achieved.

CN116442724BActive Publication Date: 2026-06-05GREAT WALL MOTOR CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2023-05-12
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

When the vehicle is in the external discharge mode, the external load cannot be used normally after the user turns on the air conditioner.

Method used

The vehicle controller acquires the engine operating status, the current state of charge of the power battery, the first operating data of the vehicle's high-voltage load, and the second operating data of the external discharge gun. Based on this data, it rationally allocates the available power of the air conditioner to ensure that the power of the air conditioner during operation does not exceed the allocated power.

Benefits of technology

While ensuring the normal use of external loads, the power distribution among various electrical devices is balanced, solving the problem that external loads cannot be used normally when the user turns on the air conditioner while the vehicle is in the external discharge mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116442724B_ABST
    Figure CN116442724B_ABST
Patent Text Reader

Abstract

The application provides an energy management method and device of a vehicle, an electronic device, a storage medium and the vehicle, which are applied to a vehicle controller. The method comprises the following steps: when the vehicle is in an external discharging working condition, in response to determining that an air conditioner starting instruction is received, an engine running state, a current state of charge of a power battery, first running data of a high-voltage load of the vehicle and second running data of an external discharging gun are acquired; an air conditioner distribution power is determined according to the engine running state, the current state of charge of the power battery, the first running data and the second running data; and the air conditioner distribution power is sent to an air conditioner controller, so that the power of the air conditioner controlled by the air conditioner controller when the air conditioner is running does not exceed the air conditioner distribution power. The method guarantees the balance of power distribution among various electrical equipment; and solves the problem that when the vehicle is in the external discharging working condition, the external load cannot be normally used after the air conditioner is started by a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and more particularly to a vehicle energy management method, device, electronic device, storage medium, and vehicle. Background Technology

[0002] In addition to providing electrical power to vehicles, the power batteries in existing vehicles also offer convenience for daily life. For example, in situations such as road accidents, camping in the wild, and emergency situations, they provide power for rescue operations, outdoor cooking, and lighting through vehicle-to-load (V2L) discharge. When the vehicle is in V2L mode, users may need to turn on the air conditioning due to weather temperature. If the air conditioning is turned on, the high power consumption of the air conditioner may cause external loads to malfunction. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a vehicle energy management method, device, electronic device, storage medium and vehicle to solve the problem that when the vehicle is in external discharge mode, the external load cannot be used normally after the user turns on the air conditioner.

[0004] To achieve the above objectives, this application provides a vehicle energy management method applied to a vehicle controller, the method comprising:

[0005] When the vehicle is in the external discharge mode, in response to the determination that the air conditioning is turned on, the engine operating status, the current state of charge of the power battery, the first operating data of the high voltage load of the vehicle, and the second operating data of the external discharge gun are obtained.

[0006] The air conditioning power allocation is determined based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data.

[0007] The allocated power of the air conditioner is sent to the air conditioner controller so that the air conditioner controller controls the power of the air conditioner during operation to not exceed the allocated power.

[0008] Furthermore, the engine operating state includes engine started and engine not started; the air conditioning power distribution includes a first power distribution and a second power distribution.

[0009] The step of determining the air conditioning power allocation based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data includes:

[0010] In response to the engine operating state being "engine start", the first allocated power is determined based on a preset target state of charge, the current state of charge, the first operating data, and the second operating data; or

[0011] In response to the engine operating state being that the engine is not started, the first preset power is used as the second allocated power.

[0012] Further, determining the first allocated power based on the preset target state of charge, the current state of charge, the first operating data, and the second operating data includes:

[0013] In response to the current state of charge being greater than or equal to the target state of charge, the first allocated power is determined based on the first operating data and the second operating data.

[0014] Furthermore, the method also includes:

[0015] In response to the current state of charge being less than the target state of charge, the first allocated power is determined based on the first operating data, the second operating data, and the second preset power.

[0016] Furthermore, the high-voltage load includes a motor and a DC-DC converter; the first operating data includes: the current output torque of the motor, the current speed of the motor, the current output voltage of the DC-DC converter, and the current output current of the DC-DC converter; the second operating data includes the current current of the discharge gun and the current voltage of the discharge gun.

[0017] Determining the first allocated power based on the first operating data and the second operating data includes:

[0018] The current output power of the motor is calculated based on the current output torque and the current speed of the motor.

[0019] The current output power of the DC-DC converter is calculated based on the current output voltage and the current output current of the DC-DC converter.

[0020] The current output power of the discharge gun is calculated based on the current current and current voltage of the discharge gun.

[0021] The first allocated power is calculated based on the current output power of the motor, the current output power of the DC converter, the current output power of the discharge gun, and the reserved power.

[0022] Furthermore, the high-voltage load includes a motor and a converter; the first operating data includes: the current output torque of the motor, the current speed of the motor, the current output voltage of the DC converter, and the current output current of the DC converter; the second operating data includes the current current of the discharge gun and the current voltage of the discharge gun.

[0023] The step of determining the first allocated power based on the first operating data, the second operating data, and the second preset power includes:

[0024] The current output power of the motor is calculated based on the current output torque and the current speed of the motor.

[0025] The current output power of the DC-DC converter is calculated based on the current output voltage and current output current of the DC-DC converter.

[0026] The current output power of the discharge gun is calculated based on the current current and current voltage of the discharge gun.

[0027] The actual available power is calculated based on the current output power of the motor, the current output power of the DC converter, the current output power of the discharge gun, and the reserved power.

[0028] The smaller of the actual available power and the second preset power is used as the first allocated power.

[0029] For the purposes described above, a second aspect of this application provides a vehicle energy management device, comprising:

[0030] The acquisition module is used to acquire the engine operating status, the current state of charge of the power battery, the first operating data of the high voltage load of the vehicle, and the second operating data of the external discharge gun when the vehicle is in the external discharge condition, in response to determining that an air conditioning start command has been received.

[0031] The determining module is used to determine the air conditioning power allocation based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data;

[0032] The transmitting module is used to transmit the allocated power of the air conditioner so that the power of the air conditioner during operation does not exceed the allocated power of the air conditioner.

[0033] In view of the above objectives, a third aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method as described in any of the above.

[0034] In view of the above objectives, a fourth aspect of this application provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method described in any of the preceding claims.

[0035] For the purposes described above, the fifth aspect of this application provides a vehicle that includes an electronic device as described in the third aspect.

[0036] As can be seen from the above, the energy management method for vehicles provided in this application is applied to the vehicle controller. When the vehicle is in an external discharge mode, after receiving an air conditioning start command, the method acquires the engine operating status, the current state of charge of the power battery, first operating data of the vehicle's high-voltage load, and second operating data of the external discharge gun. Based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data, the method rationally allocates the available power of the air conditioning and determines the allocated power of the air conditioning. The vehicle controller sends the allocated power of the air conditioning to the air conditioning controller so that the power of the air conditioning during operation does not exceed the allocated power. This ensures a balanced power distribution among various electrical devices and solves the problem that external loads cannot be used normally after the user turns on the air conditioning when the vehicle is in an external discharge mode. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 This is a schematic flowchart of a vehicle energy management method according to an embodiment of this application;

[0039] Figure 2 This is a schematic diagram illustrating the process of determining the air conditioner power allocation according to an embodiment of this application;

[0040] Figure 3 This is a schematic diagram of the structure of a vehicle energy management device according to an embodiment of this application;

[0041] Figure 4 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0043] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0044] In related technologies, the high-voltage loads in hybrid vehicles include the motor, a DC-DC converter (DC-to-DC converter) that converts high-voltage DC to low-voltage DC to power in-vehicle electrical equipment, and the air conditioning management system. Currently, hybrid vehicles are equipped with bidirectional chargers. These chargers can charge the battery when the charging gun is plugged in and discharge externally when the discharging gun is plugged in, converting the high-voltage DC power from the battery into approximately 220V AC power for use by external devices (i.e., the vehicle is in external discharge mode, V2L function is activated, and the battery charges other loads; this process is called third-party discharge). Currently, the management of external discharge in hybrid vehicles, when V2L function is activated, only ensures the hybrid vehicle continuously supplies power to external devices; there is no solution for when the power required by external devices is insufficient. Furthermore, it does not consider how to rationally allocate power to various electrical devices when the vehicle's high-voltage load, air conditioning system, and external devices are all using power simultaneously, to ensure that users can use various electrical devices at the same time.

[0045] To address the aforementioned problems, this application proposes a vehicle energy management method. In an embodiment of this application, the vehicle controller acquires the engine operating status, the current state of charge of the power battery, first operating data of the vehicle's high-voltage load, and second operating data of the external discharge gun. Based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data, the available power of the air conditioner is rationally allocated. While ensuring the normal use of the external load, the available power of the air conditioner is allocated to determine the allocated power. The vehicle controller sends the allocated power to the air conditioner controller, so that the air conditioner controller controls the power of the air conditioner during operation to not exceed the allocated power, thus balancing the power distribution among various electrical devices.

[0046] The embodiments of this application are described in detail below with reference to the accompanying drawings.

[0047] Reference Figure 1 A vehicle energy management method, applied to a vehicle controller, the method comprising:

[0048] Step S100: When the vehicle is in the external discharge condition, in response to the determination that the air conditioning is turned on, the engine operating status, the current state of charge of the power battery, the first operating data of the high voltage load of the vehicle, and the second operating data of the external discharge gun are obtained.

[0049] In this step, when the vehicle is in external discharge mode, it is parked and the discharge gun is plugged in to supply power to external loads (e.g., rice cookers, lights, etc.). After receiving the air conditioning start command, the vehicle controller acquires the engine operating status, the current state of charge (SOC) of the power battery, the first operating data of the vehicle's high-voltage loads (motors, DC-DC converters, etc.), and the second operating data of the external discharge gun. The external discharge gun can be connected to external loads, such as rice cookers, electric grills, etc. Since the air conditioning, high-voltage loads, and external discharge gun all require power from the vehicle, the above data is needed to determine the power allocation for the air conditioning to ensure a balanced power distribution among the various electrical devices.

[0050] Step S200: Determine the air conditioning power allocation based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data.

[0051] In this step, the vehicle controller allocates the available power of the air conditioner based on the generator operating status (e.g., engine started, engine not started), the current state of charge of the power battery, first operating data (e.g., the current output torque of the motor, the current speed of the motor, the output voltage of the DC-DC converter, the output current of the DC-DC converter, etc.) and second operating data (e.g., the current current of the discharge gun, the current voltage of the discharge gun, etc.), while ensuring the normal use of the external load, and determines the air conditioner power allocation.

[0052] Step S300: Send the allocated power of the air conditioner to the air conditioner controller so that the air conditioner controller controls the power of the air conditioner during operation to not exceed the allocated power of the air conditioner.

[0053] In this step, the vehicle controller sends the air conditioning power allocation to the air conditioning controller, which then controls the air conditioning operation based on the allocated power to ensure that the power consumption of the air conditioning during operation does not exceed the allocated power; thus balancing the power distribution among various electrical devices.

[0054] Specifically, through steps S100-S300, the vehicle controller allocates the available power of the air conditioner based on the engine operating status, the current state of charge of the power battery, the first operating data of the vehicle's high-voltage load, and the second operating data of the discharge gun. Under the condition of ensuring the normal use of the external load, the available power of the air conditioner is allocated and the allocated power of the air conditioner is determined. This solves the problem that when the vehicle is in the external discharge condition, the external load cannot be used normally after the user turns on the air conditioner.

[0055] In some embodiments, refer to Figure 2 In step S200, the engine operating state includes engine started and engine not started; the air conditioning power distribution includes a first power distribution and a second power distribution.

[0056] The step of determining the air conditioning power allocation based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data includes:

[0057] Step S210: In response to the engine operating state, start the engine and determine the first allocated power based on the preset target state of charge, the current state of charge, the first operating data, and the second operating data; or

[0058] Step S220: In response to the engine operating state being that the engine is not started, the first preset power is used as the second allocated power.

[0059] Specifically, when the engine is running (engine start), it indicates that the battery charge is low and the battery's discharge capacity is limited. Only after meeting the vehicle's high-voltage load and external load requirements is available power allocated to the air conditioner. The first allocated power for the air conditioner is determined based on the preset target state of charge, the current state of charge, the first operating data, and the second operating data.

[0060] When the engine is not running, it indicates that the power battery has a high charge and strong discharge capacity, which can meet the high voltage load of the vehicle and the use of external loads. Therefore, a higher power can be allocated to the air conditioner, and the first preset power can be used as the second power allocation for the air conditioner. The first preset power can be 5 kW for example.

[0061] In some embodiments, in step S210, determining the first allocated power based on a preset target state of charge, the current state of charge, the first operating data, and the second operating data includes:

[0062] In response to the current state of charge being higher than the target state of charge, the first allocated power is determined based on the first operating data and the second operating data.

[0063] Specifically, when the vehicle is in an external discharge condition, it is in a parked state. Compared to the vehicle in a normal driving condition, there is no need to rely on the power battery to ensure the vehicle's power performance. Therefore, when setting the target state of charge (SOC), the SOC value of the power battery can be appropriately reduced. For example, the target SOC under normal driving conditions is 50%, while the target SOC under external discharge conditions can be reduced to 30%. For example, if the current SOC is 50% and the target SOC is 45%, the current SOC is higher than the target SOC, indicating that the power battery has a good discharge capacity. In this case, the available power of the air conditioner is allocated based on the vehicle's high-voltage load and the actual output power of the discharge gun. The first allocated power of the air conditioner only needs to be determined based on the first operating data and the second operating data.

[0064] In some embodiments, in step S210, the method further includes:

[0065] In response to the current state of charge being lower than the target state of charge, the first allocated power is determined based on the first operating data, the second operating data, and the second preset power.

[0066] Specifically, for example, if the current state of charge (SOC) is 40% and the target SOC is 45%, the current SOC is lower than the target SOC, indicating that the power battery's discharge capacity is weak. Therefore, a lower power allocation needs to be made to the air conditioner to ensure the normal operation of other electrical equipment. Based on the vehicle's high-voltage load and the actual output power of the discharge gun, the available power for the air conditioner is allocated. The first allocated power for the available air conditioner power is determined based on the first operating data, the second operating data, and the second preset power.

[0067] When the engine is running and the current state of charge is lower than the target state of charge, it indicates that the power battery is discharging at a low level. Since the engine is running and charging the power battery at the same time, it is necessary to ensure that the power battery does not continue to lose power and to maintain the target state of charge as much as possible. At the same time, it is also necessary to supply power to the external load. In order to ensure the normal operation of the external load, it is necessary to further limit the upper limit of the available power of the air conditioner, that is, to set the maximum available power of the air conditioner to the second preset power.

[0068] In some embodiments, the high-voltage load includes a motor and a DC-DC converter; the first operating data includes: the current output torque of the motor, the current speed of the motor, the output voltage of the DC-DC converter, and the output current of the DC-DC converter; the second operating data includes the current current of the discharge gun and the current voltage of the discharge gun.

[0069] Determining the first allocated power based on the first operating data and the second operating data includes:

[0070] The current output power of the motor is calculated based on the current output torque and the current speed of the motor.

[0071] The current output power of the DC-DC converter is calculated based on its output voltage and output current.

[0072] The current output power of the discharge gun is calculated based on the current current and current voltage of the discharge gun.

[0073] The first allocated power is calculated based on the current output power of the motor, the current output power of the DC converter, the current output power of the discharge gun, and the reserved power.

[0074] Specifically, the vehicle controller acquires the current output torque of the motor, the current speed of the motor, the output voltage and current of the DC-DC converter, the current current of the discharge gun, and the current voltage of the discharge gun. Then, using the formula relating torque, speed, and power: Output power (P) = 2π × Speed ​​(n) × Torque (T), the current output power of the motor is calculated based on its current output torque and current speed.

[0075] Using the power calculation formula: Power (P) = Voltage (U) × Current (I), the current output power of the DC-DC converter can be calculated based on its output voltage and output current.

[0076] Using the power calculation formula: Power (P) = Voltage (U) × Current (I), the output power of the discharge gun is calculated based on the current current and voltage of the discharge gun.

[0077] The first allocated power is obtained by inputting the current output power of the motor, the current output power of the DC converter, the current output power of the discharge gun, and the reserved power into the air conditioner allocation power calculation formula (1).

[0078] Equation (1) is: Air conditioner power allocation = current output power of motor - current output power of DC converter - output power of discharge gun - reserved power.

[0079] The reserved power is to prevent the power battery from discharging beyond the specified discharge amount, which could damage the power battery. Therefore, the reserved power is set to ensure that the discharge amount of the power battery is within the specified range.

[0080] In some embodiments, the high-voltage load includes a motor and a converter; the first operating data includes: the current output torque of the motor, the current speed of the motor, the output voltage of the DC-DC converter, and the output current of the DC-DC converter; the second operating data includes the current current of the discharge gun and the current voltage of the discharge gun.

[0081] The step of determining the first allocated power based on the first operating data, the second operating data, and the second preset power includes:

[0082] The current output power of the motor is calculated based on the current output torque and the current speed of the motor.

[0083] The current output power of the DC-DC converter is calculated based on its output voltage and output current.

[0084] The current output power of the discharge gun is calculated based on the current current and current voltage of the discharge gun.

[0085] The actual available power is calculated based on the current output power of the motor, the current output power of the DC converter, the current output power of the discharge gun, and the reserved power.

[0086] The smaller of the actual available power and the second preset power is used as the first allocated power.

[0087] Specifically, the vehicle controller acquires the current output torque of the motor, the current speed of the motor, the output voltage and current of the DC-DC converter, the current current of the discharge gun, and the current voltage of the discharge gun. Then, using the formula relating torque, speed, and power: Output power (P) = 2π × Speed ​​(n) × Torque (T), the current output power of the motor is calculated based on its current output torque and current speed.

[0088] Using the power calculation formula: Power (P) = Voltage (U) × Current (I), the current output power of the DC-DC converter can be calculated based on its output voltage and output current.

[0089] Using the power calculation formula: Power (P) = Voltage (U) × Current (I), the output power of the discharge gun is calculated based on the current current and voltage of the discharge gun.

[0090] The first power allocation is obtained by inputting the current output power of the motor, the current output power of the DC converter, the current output power of the discharge gun, and the reserved power into the air conditioner power allocation calculation formula (2).

[0091] Equation (2) is: Air conditioner power allocation = min (current output power of motor - current output power of DC converter - output power of discharge gun - reserved power, second preset power).

[0092] The reserved power is to prevent the power battery from discharging beyond the specified discharge amount, which could damage the power battery. Therefore, the reserved power is set to ensure that the discharge amount of the power battery is within the specified range.

[0093] The second preset power is the highest power available for the air conditioner when the engine is running and the current state of charge is lower than the target state of charge. For example, the second preset power can be 2kW.

[0094] It should be noted that the embodiments of this application can also be further described in the following ways:

[0095] When the vehicle is in external discharge mode, the vehicle is stationary, and the discharge gun is inserted into the discharge port. The other end of the discharge gun is equipped with a socket, on which an electric barbecue grill (500W) and a light (160W) are plugged. The vehicle controller receives the air conditioning start command and acquires the engine operating status, the current state of charge of the power battery, the first operating data of the vehicle's high-voltage load, and the second operating data of the external discharge gun.

[0096] The current engine operating status is engine started. It is then determined whether the current state of charge (SOC) is lower than the target SOC. If the current SOC (for example, 50%) is higher than the target SOC (for example, 45%), the current output power of the motor is calculated based on its current output torque and current speed (for example, 7kW). The current output power of the DC-DC converter is calculated based on its output voltage and current (for example, 2kW). The output power of the discharge gun is calculated based on its current current and current voltage (for example, 660W). The air conditioning power allocation is calculated as follows: Current output power of the motor (7kW) - Current output power of the DC-DC converter (2kW) - Output power of the discharge gun (660W) - Reserved power (1kW); therefore, the available power of the air conditioner is 3.44kW.

[0097] If the current state of charge (SOC) (for example, 40%) is lower than the target SOC (for example, 45%), the current output power of the motor is calculated based on its current output torque and current speed (for example, 5kW). The current output power of the DC-DC converter is calculated based on its output voltage and current (for example, 2kW). The output power of the discharge gun is calculated based on its current current and current voltage (for example, 660W). The air conditioner's allocated power is calculated as: min(current output power of the motor (7kW) - current output power of the DC-DC converter (2kW) - output power of the discharge gun (660W) - reserved power (1kW), 2kW); therefore, the available power of the air conditioner is 2kW.

[0098] When the engine is not running, it means that the power battery has a high charge and strong discharge capacity, which can meet the high voltage load of the vehicle and the use of external loads. Therefore, the available power of the air conditioner is allocated to 5kw.

[0099] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.

[0100] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0101] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a vehicle energy management device.

[0102] refer to Figure 3 The energy management device for a vehicle includes:

[0103] The acquisition module is used to acquire the engine operating status, the current state of charge of the power battery, the first operating data of the high voltage load of the vehicle, and the second operating data of the external discharge gun in response to the determination that an air conditioning start command has been received;

[0104] The determining module is used to determine the air conditioning power allocation based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data;

[0105] The transmitting module is used to transmit the allocated power of the air conditioner so that the power of the air conditioner during operation does not exceed the allocated power of the air conditioner.

[0106] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.

[0107] The apparatus of the above embodiments is used to implement the energy method of a vehicle in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0108] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a vehicle energy method as described in any of the above embodiments.

[0109] Figure 4 This embodiment illustrates a more specific hardware structure of an electronic device. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0110] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0111] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0112] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0113] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0114] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0115] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0116] The electronic devices described above are used to implement a corresponding vehicle energy method in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0117] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute a vehicle energy method as described in any of the above embodiments.

[0118] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0119] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute a vehicle energy method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0120] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.

[0121] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0122] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0123] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.

Claims

1. A method for energy management of a vehicle, characterized in that, Applied to a vehicle controller, the method includes: When the vehicle is in the external discharge mode, in response to the determination that an air conditioning start command has been received, the engine operating status, the current state of charge of the power battery, the first operating data of the high voltage load of the vehicle, and the second operating data of the external discharge gun are obtained, and the external discharge gun is connected to the external load. Determining the air conditioning power allocation based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data includes: The engine operating status includes engine started and engine not started, and the air conditioning power distribution includes a first power distribution and a second power distribution. In response to the engine starting state, and provided that the vehicle's high-voltage load and external load requirements are met, the first allocated power is determined based on a preset target state of charge, the current state of charge, the first operating data, and the second operating data; or In response to the engine operating state being that the engine is not started, the first preset power is used as the second allocated power; The allocated power of the air conditioner is sent to the air conditioner controller so that the air conditioner controller controls the power of the air conditioner during operation to not exceed the allocated power of the air conditioner; The step of determining the first allocated power based on the preset target state of charge, the current state of charge, the first operating data, and the second operating data includes: In response to the current state of charge being greater than or equal to the target state of charge, the first allocated power is determined based on the first operating data and the second operating data; In response to the current state of charge being less than the target state of charge, the first allocated power is determined based on the first operating data, the second operating data, and the second preset power; wherein the second preset power is the upper limit of the available power of the air conditioner.

2. The method according to claim 1, characterized in that, The high-voltage load includes a motor and a DC-DC converter; the first operating data includes: the current output torque of the motor, the current speed of the motor, the current output voltage of the DC-DC converter, and the current output current of the DC-DC converter; the second operating data includes the current current of the discharge gun and the current voltage of the discharge gun. Determining the first allocated power based on the first operating data and the second operating data includes: The current output power of the motor is calculated based on the current output torque and the current speed of the motor. The current output power of the DC-DC converter is calculated based on the current output voltage and the current output current of the DC-DC converter. The current output power of the discharge gun is calculated based on the current current and current voltage of the discharge gun. The first allocated power is calculated based on the current output power of the motor, the current output power of the DC converter, the current output power of the discharge gun, and the reserved power.

3. The method according to claim 1, characterized in that, The high-voltage load includes a motor and a converter; the first operating data includes: the current output torque of the motor, the current speed of the motor, the current output voltage of the DC converter, and the current output current of the DC converter; the second operating data includes the current current of the discharge gun and the current voltage of the discharge gun. The step of determining the first allocated power based on the first operating data, the second operating data, and the second preset power includes: The current output power of the motor is calculated based on the current output torque and the current speed of the motor. The current output power of the DC-DC converter is calculated based on the current output voltage and current output current of the DC-DC converter. The current output power of the discharge gun is calculated based on the current current and current voltage of the discharge gun. The actual available power is calculated based on the current output power of the motor, the current output power of the DC converter, the current output power of the discharge gun, and the reserved power. The smaller of the actual available power and the second preset power is used as the first allocated power.

4. An energy management device for a vehicle, characterized in that, include: The acquisition module is used to acquire the engine operating status, the current state of charge of the power battery, the first operating data of the high voltage load of the vehicle, and the second operating data of the external discharge gun when the vehicle is in the external discharge condition, in response to determining that an air conditioning start command has been received. The external discharge gun is connected to an external load. The determining module is used to determine the air conditioning power allocation based on the engine operating status, the current state of charge of the power battery, the first operating data, and the second operating data, including: The engine operating status includes engine started and engine not started, and the air conditioning power distribution includes a first power distribution and a second power distribution. In response to the engine starting state, and provided that the vehicle's high-voltage load and external load requirements are met, the first allocated power is determined based on a preset target state of charge, the current state of charge, the first operating data, and the second operating data; or In response to the engine operating state being that the engine is not started, the first preset power is used as the second allocated power; A sending module is used to send the allocated power of the air conditioner so that the power of the air conditioner during operation does not exceed the allocated power of the air conditioner; The step of determining the first allocated power based on the preset target state of charge, the current state of charge, the first operating data, and the second operating data includes: In response to the current state of charge being greater than or equal to the target state of charge, the first allocated power is determined based on the first operating data and the second operating data; In response to the current state of charge being less than the target state of charge, the first allocated power is determined based on the first operating data, the second operating data, and the second preset power; wherein the second preset power is the upper limit of the available power of the air conditioner.

5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 3.

6. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method described in any one of claims 1 to 3.

7. A vehicle, characterized in that, Includes the electronic device described in claim 5.