Charging control method, apparatus, and related devices

The smart inverter-based charging control method and device in home energy management systems address the challenge of insufficient power supply for new energy vehicles by dynamically adjusting charging strategies based on frequency thresholds and user preferences, improving charging efficiency and flexibility.

JP7862088B2Active Publication Date: 2026-05-19SHENZHEN AMPERE TIME DIGITAL ENERGY TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
SHENZHEN AMPERE TIME DIGITAL ENERGY TECH CO LTD
Filing Date
2024-07-04
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Household energy storage systems often cannot meet the power demands for rapid charging of new energy vehicles, leading to mismatches in demand and supply, which can result in charging failures and decreased efficiency.

Method used

A charging control method and device that utilizes a smart inverter in a home energy management system to determine the reference charging frequency of a vehicle and adjust charging strategies based on preset frequency thresholds and user preferences, enabling flexible charging modes using a battery pack, streetcar control system, or both.

Benefits of technology

Enhances the intelligence and comprehensiveness of charging control for new energy vehicles, allowing for flexible and efficient charging by expanding the energy management functions of home energy systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007862088000001
    Figure 0007862088000001
  • Figure 0007862088000002
    Figure 0007862088000002
  • Figure 0007862088000003
    Figure 0007862088000003
Patent Text Reader

Abstract

This application provides a charging control method, apparatus, and related devices. The method includes the following: When a charging event corresponding to a target vehicle is detected, a reference charging frequency is obtained for charging the target vehicle using a battery pack. When it is determined that the reference charging frequency is equal to or less than a first preset frequency, if it is detected that the charging port connected to the target vehicle is a fast charging port, the target vehicle is charged in fast charging mode using a tram control system. When it is determined that the reference charging frequency is greater than the first preset frequency and equal to or less than a second preset frequency, a target charging mode is obtained, and the target vehicle is charged in the target charging mode. When it is determined that the reference charging frequency is greater than the second preset frequency, the target vehicle is charged using the battery pack. The above method improves the intelligence and comprehensiveness of charging control for new energy vehicles by a home energy management system, expands the boundaries of energy management functions, and enables flexible charging of new energy vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Reference to Related Applications This application claims priority to Chinese Patent Application No. 202310828761.5, filed on July 7, 2023, with the invention title of "Charging Control Method, Device and Related Devices", and all its contents are incorporated herein by reference.

[0002] This application relates to the technical field of new energy industries, and particularly to charging control methods, devices and related devices.

Background Art

[0003] With the advent of the era of intelligentization and informatization, the power demand has increased significantly. To reduce pressures such as environmental pollution and energy consumption, household energy storage systems are gradually being introduced into many households.

[0004] In the existing technology, at home, solar power generation panels can be used to supply power to various household appliances, and energy storage technology can be used to store the power generated by photovoltaics in a battery pack, so that the battery pack can supply power when needed. In actual applications, new energy vehicles can also be connected to a household energy storage system for charging. However, due to the limited output power of the household energy storage system, usually, it cannot meet the needs of rapid charging of new energy vehicles. Therefore, when a new energy vehicle is connected to a household energy storage system for charging, a mismatch between demand and supply may occur, making it easy for charging failures or a decrease in charging efficiency of new energy vehicles to occur, which may affect the normal use of new energy vehicles. Therefore, how to flexibly utilize a household energy storage system for charging new energy vehicles has become one of the technical problems that need to be solved urgently.

Summary of the Invention

[0005] Embodiments of this application provide a charging control method, apparatus, and related devices. These enable improved intelligence and comprehensiveness of charging control for new energy vehicles by home energy management systems, expand the boundaries of energy management functions, and allow for flexible charging of new energy vehicles.

[0006] In a first aspect, the present application provides a charging control method. This method is applied to a smart inverter in a home energy management system. The home energy management system is a streetcar control system, a home energy storage system. and terminal devices The home energy storage system includes a photovoltaic panel group, a smart inverter, and a battery pack, and the smart inverter is part of the photovoltaic panel group, battery pack, and street control system. and terminal devices They are connected to each other. The method includes the following: When a charging event corresponding to the target vehicle is detected, the reference charging frequency, which is the frequency at which the target vehicle was charged using the battery pack, is obtained. The reference charging frequency is used to indicate how often the target vehicle was charged using the battery pack before the charging event. If the reference charging frequency is determined to be below the first preset frequency, and the charging port connected to the target vehicle is detected to be a fast-charging port, the tram control system will be used to charge the target vehicle in fast-charging mode. The first preset frequency is a frequency threshold, determined through big data analysis, that represents a low level of user sensitivity to charging costs. If it is detected that the charging port connected to the target vehicle is a non-fast charging port, a fast charging prompt message is output via the terminal device to inform the user to use a fast charging port for charging. When it is detected that the charging port connected to the target vehicle has been upgraded from a non-fast charging port to a fast charging port, the tram control system is used to charge the target vehicle in fast charging mode. If it is detected that the charging port connected to the target vehicle is still a non-fast charging port, the tram control system will be used to charge the target vehicle in non-fast charging mode. If it is determined that the target vehicle's reference charging frequency is greater than the first preset frequency and less than or equal to the second preset frequency, the target charging mode intended by the user is obtained via the terminal device. The second preset frequency is a frequency threshold determined through big data analysis, representing a frequency at which the user's sensitivity to charging costs is high. Charge the target vehicle using the target charging mode. If it is determined that the target vehicle's reference charging frequency is greater than the second preset frequency, the battery pack is used to charge the target vehicle.

[0007] In the embodiments of this application, the smart inverter in the home energy management system can determine the relationship between a reference charging frequency and a first preset frequency, and the relationship between the reference charging frequency and a second preset frequency, when charging a target vehicle using a battery pack. This allows for the determination of a charging control strategy for charging the target vehicle, and further, by charging the target vehicle using a battery pack and / or a streetcar control system, the intelligence and comprehensiveness of charging control for new energy vehicles by the home energy management system can be improved, the boundaries of energy management functions can be expanded, and new energy vehicles can be charged flexibly.

[0008] In a second aspect, the present application provides a charging control device. The charging control device comprises a processing unit and a charging control unit. The processing unit is configured to obtain a reference charging frequency when a charging event corresponding to the target vehicle is detected, and this reference charging frequency is used to indicate how often the target vehicle was charged using the battery pack before the charging event. The charging control unit is configured to charge the target vehicle in fast-charging mode using the streetcar control system when the processing unit determines that the reference charging frequency is less than or equal to a first preset frequency, and when it detects that the charging port connected to the target vehicle is a fast-charging port. The first preset frequency is a frequency threshold, preset through big data analysis, that indicates low user sensitivity to charging costs. The processing unit is further configured to output a fast-charging prompt message via a terminal device if it detects that the charging port connected to the target vehicle is a non-fast-charging port, informing the user to use a fast-charging port for charging. The charging control unit is further configured to use the streetcar control system to charge the target vehicle in fast-charging mode when the processing unit detects that the charging port connected to the target vehicle has been updated from a non-fast-charging port to a fast-charging port. The charging control unit is further configured to use the streetcar control system to charge the target vehicle in non-fast charging mode if the processing unit detects that the charging port connected to the target vehicle is still a non-fast charging port. The processing unit is further configured to obtain the target charging mode intended by the user via a terminal device if it is determined that the target vehicle's reference charging frequency is greater than a first preset frequency and less than or equal to a second preset frequency, where the second preset frequency is a frequency threshold that has been preset through big data analysis, indicating a high level of user sensitivity to charging costs. The charging control unit is further configured to charge the target vehicle in target charging mode. The charging control unit is further configured to use the battery pack to charge the target vehicle if the processing unit determines that the target vehicle's reference charging frequency is greater than a second preset frequency.

[0009] In a third aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium is configured to store a computer program, and when the computer program is executed on a computer, the computer is made to execute a charge control method according to any one possible embodiment of the first aspect, thereby realizing the beneficial effects of the charge control method according to the first aspect.

[0010] In a fourth aspect, the present application provides an electronic device. The electronic device may include a memory and a processor. The processor and the memory are connected to each other. The memory is configured to store a computer program. The processor is configured to execute the computer program to implement the charging control method according to the first aspect, and the beneficial effects of the charging control method according to the first aspect can also be realized.

[0011] By implementing embodiments of this application, a smart inverter in a home energy management system can determine the relationship between a reference charging frequency and a first preset frequency, and the relationship between the reference charging frequency and a second preset frequency, when charging a target vehicle using a battery pack. This allows for the determination of a charging control strategy for charging the target vehicle, and further, by charging the target vehicle using a battery pack and / or a streetcar control system, the intelligence and comprehensiveness of charging control for new energy vehicles by the home energy management system can be improved, the boundaries of energy management functions can be expanded, and new energy vehicles can be charged flexibly. [Brief explanation of the drawing]

[0012] To more clearly describe embodiments of the present invention or technical concepts in the existing art, the following is a brief introduction of the drawings necessary for describing the embodiments or existing art. Clearly, the drawings described below represent only a few embodiments of this application, and those skilled in the art can obtain other drawings from these without any creative effort. [Figure 1]Figure 1 is a schematic diagram showing the structure of a household energy management system according to an embodiment of this application. [Figure 2] Figure 2 is a schematic diagram showing the structure of another household energy management system according to an embodiment of this application. [Figure 3] Figure 3 is a flowchart showing a charging control method according to an embodiment of this application. [Figure 4] Figure 4 is a schematic diagram showing the interface display of a rapid charging prompt message according to the embodiment of this application. [Figure 5] Figure 5 is a schematic diagram showing the interface display of the charging mode according to the embodiment of this application. [Figure 6] Figure 6 is a schematic diagram showing an interface display of another charging mode according to an embodiment of this application. [Figure 7] Figure 7 is a schematic diagram showing the structure of a charging control device according to an embodiment of this application. [Figure 8] Figure 8 is a schematic diagram showing the structure of an electronic device according to an embodiment of this application. [Modes for carrying out the invention]

[0013] To enable those skilled in the art to better understand the technical concept of this application, the technical concept of the embodiments of this application will be described clearly and comprehensively below with reference to the drawings of the embodiments of this application.

[0014] In the existing technology, at home, solar power generation panels may be used to supply power to various household appliances, and energy storage technology may be used to store the power generated by photovoltaics in a battery pack, so that the battery pack can supply power when needed. In an existing household energy storage system, a new energy vehicle can be connected to the household energy storage system for charging. However, the output power of a household energy storage system usually cannot meet the needs of rapid charging of new energy vehicles, there may be a mismatch between demand and supply, and it is difficult to effectively complete the charging task. Therefore, the technical problem to be solved by this application is how to flexibly utilize a household energy storage system for charging new energy vehicles.

[0015] Referring to FIG. 1, FIG. 1 is a schematic diagram showing the structure of a household energy management system according to an embodiment of the present application. As shown in FIG. 1, the household energy management system 10 may include a utility control system 11, a household energy storage system 12, and a terminal device 13. The household energy storage system 12 may include a photovoltaic panel group 121, a smart inverter 122, and a battery pack 123. The smart inverter 122 can be respectively connected to the photovoltaic panel group 121, the battery pack 123, the utility control system 11, and the terminal device 13. The battery pack 123 may include a plurality of single cells connected in parallel. The terminal device 13 can be connected to the smart inverter 122.

[0016] The smart inverter 122 can be connected to the battery pack 123 in the household energy storage system 12, and the battery pack 123 is used to charge a new energy vehicle. The smart inverter 122 can also be connected to the utility control system 11, and the utility control system 11 is used to charge a target vehicle.

[0017] Optionally, the smart inverter 122 can obtain the charging data for each charge when completing the charging of the new energy vehicle using the utility power control system 11.

[0018] Optionally, the smart inverter 122 can establish a communication connection with the household energy storage system 12, and obtain the remaining power of the battery pack 123 in the household energy storage system 12, the historical power supply amount within each period of the battery pack 123, and the charging data for each charge when completing the charging of the new energy vehicle using the battery pack 123 in the household energy storage system 12.

[0019] Optionally, the user can establish a communication connection with the new energy vehicle using the terminal device 13. The terminal device 13 can obtain and store vehicle-related information such as the remaining power, power consumption, and charging data of the new energy vehicle. The smart inverter 122 can obtain the vehicle-related information stored in the terminal device 13 through the terminal device 13, and can also display the charging mode to the user and send a prompt message to the user through the terminal device 13.

[0020] In the embodiments of the present application, the terminal device 13 can be any form of electronic device that can establish a communication connection with the new energy vehicle. Examples include smart phones, portable notebook computers, desktop computers, self-service terminals, in-vehicle terminals, etc. In the present application, there is no particular limitation on the implementation form of the terminal device.

[0021] Referring to FIG. 2, FIG. 2 is a schematic diagram showing the structure of another household energy management system according to the embodiments of the present application. As shown in FIG. 2, the smart inverter 122 can include a controller 124 and an inverter 125.

[0022] Selectively, the controller 124 can control the inverter 125 to charge the new energy vehicle using the battery pack 123 and / or the streetcar control system 11.

[0023] Here, inverter 125 is a converter that can convert DC power (from a battery or storage battery) into AC power (generally a sine wave of 220V, 50Hz) having a fixed frequency and fixed voltage, or a variable frequency and variable voltage.

[0024] In embodiments of this application, the controller 124 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The embodiments of this application do not particularly limit the product form of the controller 124.

[0025] Referring to Figure 3, Figure 3 is a flowchart of a charging control method according to an embodiment of the present application. This charging control method can be applied to the smart inverter 122 of the home energy management system 10 shown in Figure 1. As shown in Figure 3, this method may include the following steps.

[0026] S301: If a charging event corresponding to the target vehicle is detected, obtain the reference charging frequency at which the target vehicle was charged using the battery pack.

[0027] In some executable embodiments, when the smart inverter 122 detects a charging event corresponding to the target vehicle, it can obtain a reference charging frequency in which the target vehicle was charged using the battery pack. This reference charging frequency may be used to indicate how often an event occurs in which the smart inverter 122 charges the target vehicle using only the battery pack 123 before a charging event corresponding to the target vehicle occurs.

[0028] In an optional embodiment, the smart inverter 122 can obtain a first historical number of times the target vehicle completed charging within a preset period prior to a target charging time in which a charging event occurred, and a second historical number of times the target vehicle completed charging with the battery pack 123 within a preset period prior to the target charging time. The smart inverter 122 can then determine a reference charging frequency for charging the target vehicle using the battery pack 123, based on the first historical number of times the target vehicle completed charging within a preset period prior to the target charging time and the second historical number of times the target vehicle completed charging with the battery pack 123 within a preset period. The preset period may be predefined, preconfigured, or entered by an administrator. For example, the preset period may be 10 days or 30 days.

[0029] The target vehicle is set to charge earlier than the target charging time. period The first historical number of completed charging cycles may include the number of times the target vehicle is fully charged using the battery pack 123, the number of times the target vehicle is fully charged using the streetcar control system 11, and the number of times the target vehicle is fully charged using both the battery pack 123 and the streetcar control system 11. The process of fully charging the target vehicle includes, but is not limited to, the target vehicle being fully charged.

[0030] Selectively, the reference charging frequency for charging the target vehicle using the battery pack 123 is the ratio of the second historical charging count in which the target vehicle completed charging with the battery pack 123 within a preset period to the first historical charging count in which the target vehicle completed charging within a preset period prior to the target charging time. For example, suppose the second historical charging count in which the target vehicle completed charging with the battery pack 123 within a preset period prior to the target charging time in which a charging event occurs is 5, and the first historical charging count in which the target vehicle completed charging within a preset period prior to the target charging time is 10. Based on the first historical charging count of 10 and the second historical charging count of 5, the smart inverter 122 determines the reference charging frequency for charging the target vehicle using the battery pack 123 to be 0.5.

[0031] Selectively, the smart inverter 122 can obtain a first historical number of charging cycles in which the target vehicle completed charging within a set of preset periods prior to the target charging time, and a second historical number of charging cycles in which the target vehicle completed charging using the battery pack 123 within a set of preset periods prior to the target charging time. Next, the smart inverter 122 can determine the intermediate reference charging frequency in which the target vehicle was charged using the battery pack 123 based on the first and second historical charging cycles corresponding to each of the set of preset periods, and further calculate the average of the intermediate reference charging frequencies corresponding to each of the set of preset periods to determine the reference charging frequency in which the target vehicle was charged using the battery pack 123.

[0032] S302: If it is determined that the reference charging frequency is less than or equal to the first preset frequency, and if it is detected that the charging port connected to the target vehicle is a fast charging port, the streetcar control system is used to charge the target vehicle in fast charging mode.

[0033] In some viable embodiments, the smart inverter 122, upon determining that the reference charging frequency is less than or equal to a first preset frequency, can utilize the streetcar control system to charge the target vehicle in fast-charging mode if it detects that the charging port connected to the target vehicle is a fast-charging port. The first preset frequency is a frequency threshold, preset through big data analysis, where the user's sensitivity to charging costs is low.

[0034] The first preset frequency value is relatively small. If the smart inverter 122 determines that the reference charging frequency is less than or equal to the first preset frequency, it may mean that the user rarely uses the battery pack 123 in the home energy storage system 12 to charge the target vehicle. In this case, the smart inverter 122 can directly charge the target vehicle using the tram control system 11. When charging the target vehicle using the tram control system 11, if the charging port connected to the target vehicle is a fast-charging port, the fast-charging port can meet the target vehicle's fast-charging needs, and the target vehicle will be charged in fast-charging mode. If the charging port connected to the target vehicle is a non-fast-charging port, the target vehicle will be charged in non-fast-charging mode. Also, when charging the target vehicle using the tram control system 11, the user needs to make the corresponding payment according to the tram charge standards in order to complete the charging.

[0035] Selectively, if the smart inverter 122 determines that the reference charging frequency is less than or equal to a first preset frequency, it can send an identity identification message to the target vehicle's charging cable to identify the cable information of the target vehicle's charging cable. If the target vehicle's charging cable is a fast charging cable, upon receiving the identity identification message, the target vehicle's charging cable can generate a response message and send it to the smart inverter 122. Furthermore, if the smart inverter 122 determines that it has received the response message sent by the target vehicle's charging cable, it can determine that the charging cable is a fast charging cable, that is, it can determine that the charging port connected to the target vehicle is a fast charging port.

[0036] Furthermore, if the smart inverter 122 determines that the charging port connected to the target vehicle is a fast charging port, it can use the streetcar control system 11 to charge the target vehicle in fast charging mode.

[0037] S303: If it is detected that the charging port connected to the target vehicle is a non-fast charging port, a fast charging prompt message is output via the terminal device to inform the user to use a fast charging port for charging.

[0038] In some executable embodiments, when the smart inverter 122 detects that the charging port connected to the target vehicle is a non-fast charging port, it outputs a fast charging prompt message via the terminal device 13 to alert the user to use a fast charging port for charging.

[0039] Selectively referring to Figure 4, Figure 4 is a schematic diagram showing the interface display of a fast-charging prompt message according to an embodiment of the present application. As shown in Figure 4, when the smart inverter 122 detects that the charging port connected to the target vehicle is a non-fast-charging port, it can output a fast-charging prompt message via the terminal device 13. The fast-charging prompt message may be "Please change the charging port to a fast-charging port" to alert the user to use a fast-charging port for charging.

[0040] S304: When it is detected that the charging port connected to the target vehicle has been upgraded from a non-fast charging port to a fast charging port, the streetcar control system is used to charge the target vehicle in fast charging mode.

[0041] In some viable embodiments, the smart inverter 122 can output a fast-charging prompt message via the terminal device 13 and then detect again whether the charging port connected to the target vehicle is a fast-charging port. When the smart inverter 122 detects that the charging port connected to the target vehicle has been updated from a non-fast-charging port to a fast-charging port, it can use the streetcar control system 11 to charge the target vehicle in fast-charging mode.

[0042] S305: If it is detected that the charging port connected to the target vehicle is still a non-fast charging port, the streetcar control system is used to charge the target vehicle in non-fast charging mode.

[0043] In some viable embodiments, the smart inverter 122 can, after outputting a fast-charging prompt message via the terminal device 13, again detect whether the charging port connected to the target vehicle is a fast-charging port. If the smart inverter 122 detects that the charging port connected to the target vehicle is still a non-fast-charging port, it can use the streetcar control system 11 to charge the target vehicle in non-fast-charging mode.

[0044] S306: If it is determined that the target vehicle's reference charging frequency is greater than the first preset frequency and less than or equal to the second preset frequency, the target charging mode intended by the user is obtained via the terminal device.

[0045] In some viable embodiments, the smart inverter 122 can obtain the user's intended target charging mode via the terminal device 13 if it determines that the target vehicle's reference charging frequency is greater than a first preset frequency and less than or equal to a second preset frequency. The second preset frequency is a frequency threshold, preset through big data analysis, that reflects the user's high sensitivity to charging costs. The target charging mode is used to indicate the charging control mode in which the smart inverter 122 charges the target vehicle.

[0046] Furthermore, if the target vehicle's reference charging frequency is greater than the first preset frequency and less than or equal to the second preset frequency, it may mean that the user charges the target vehicle relatively frequently using the battery pack 123 in the home energy storage system 12, and also relatively frequently using the streetcar control system 11. Therefore, after it is determined that the target vehicle's reference charging frequency is greater than the first preset frequency and less than or equal to the second preset frequency, the charging cost and charging duration of the charging mode are displayed to the user, allowing the user to determine their intended target charging mode.

[0047] Selectively, the target charging mode may be any of the following: a first charging mode that charges the target vehicle using the battery pack 123; a second charging mode that charges the target vehicle using the streetcar control system 11; and a third charging mode that charges the target vehicle using both the battery pack 123 and the streetcar control system 11.

[0048] In selectable embodiments, the smart inverter 122 can display a plurality of selectable charging modes to the user via the terminal device 13 if it determines that the target vehicle's reference charging frequency is greater than a first preset frequency and less than or equal to a second preset frequency. The plurality of selectable charging modes may include at least a first charging mode that charges the target vehicle using the battery pack 123, a second charging mode that charges the target vehicle using the streetcar control system 11, and a third charging mode that charges the target vehicle using both the battery pack 123 and the streetcar control system 11.

[0049] Specifically, referring to Figure 5, Figure 5 is a schematic diagram showing the interface display of the charging modes according to the embodiment of this application. As shown in Figure 5, the terminal device 13 can display the three selectable charging modes to the user, allowing the user to select the target charging mode they intend.

[0050] Selectively referring to Figure 6, which is a schematic diagram showing an interface display for another charging mode according to an embodiment of the present application. The smart inverter 122 can obtain a first current remaining energy of the target vehicle and a second current remaining energy of the battery pack 123, and can determine the reference charging period and reference charging cost corresponding to the first charging mode, the second charging mode, and the third charging mode, respectively, based on the first current remaining energy of the target vehicle, the second current remaining energy of the battery pack 123, and the streetcar fare criteria. As shown in Figure 6, the terminal device 13 can display to the user three selectable charging modes and the reference charging period and reference charging cost corresponding to each of the three selectable charging modes, allowing the user to select the target charging mode they intend.

[0051] Furthermore, when the smart inverter 122 detects a charging mode selection instruction input by the user for one of several selectable charging modes, it can determine the target charging mode intended by the user from among the multiple selectable charging modes according to the charging mode selection instruction.

[0052] S307: Charge the target vehicle in target charging mode.

[0053] In some viable embodiments, the smart inverter 122 can, after obtaining the user's intended target charging mode via the terminal device 13, charge the target vehicle in the target charging mode.

[0054] In an optional embodiment, if the target charging mode is the third charging mode, the smart inverter 122 can obtain a first current remaining energy of the target vehicle at the target charging time when the charging event occurs, a second current remaining energy of the battery pack 123 at the target charging time, and multiple historical power supply amounts of the battery pack 123 generated within multiple historical periods corresponding to the target charging time. By performing statistical analysis on the multiple historical power supply amounts, the smart inverter 122 can predict and obtain a reference power supply amount of the battery pack 123 within the current period in which the target charging time is located. Next, the smart inverter 122 can determine the target energy amount of the target vehicle based on a first preset machine learning model, the first current remaining energy amount, the second current remaining energy amount, and the reference power supply amount. Furthermore, the smart inverter 122 charges the target vehicle using the battery pack 123 and simultaneously detects whether the remaining energy amount of the target vehicle is equal to the target energy amount. When the smart inverter 122 determines that the remaining power of the target vehicle reaches the target power level, it stops charging the target vehicle using the battery pack 123 and starts charging the target vehicle using the streetcar control system 11.

[0055] The first preset machine learning model may be a converged machine learning model obtained by training the model using a large amount of sample data. Each of these multiple sample data may include the remaining power of the target vehicle corresponding to each charging event of the target vehicle, the remaining power of the battery pack 123 at the target charging time in which each charging event occurs, and the historical power supply amount of the battery pack 123 within the first period in which the target charging time in which each charging event occurs is located. Each of the above multiple sample data may correspond to the target power of one target vehicle.

[0056] The period may be a predefined and pre-configured set of time zones, or it may be a set of time zones obtained by the administrator by dividing the 24 hours of a day according to the actual situation. The multiple historical periods corresponding to the target charging time here may be one of the above multiple time zones corresponding to each day prior to the target charging time. The target charging time is located 1 The period can be the current period among multiple time zones in which the target charging time at which the charging event occurs is located. For example, a 24-hour day can be divided into 24 time zones such as 7:00-8:00, 8:00-9:00, 9:00-10:00, etc. Alternatively, a 24-hour day can be divided into 12 time zones such as 7:30-9:30, 9:30-11:30, 11:30-13:30, etc. After determining the target charging time at which the charging event occurs, multiple historical periods corresponding to the target charging time can be determined from the above multiple periods based on the target charging time. For example, if we assume that the target charging time at which the charging event occurs is 8:30, then the historical period corresponding to the target charging time of 8:30 can be determined to be 8:00-9:00.

[0057] Specifically, when the smart inverter 122 detects a charging event corresponding to a target vehicle, it can determine multiple historical periods corresponding to the target charging time at which the charging event occurs. Next, the smart inverter 122 obtains multiple historical power supply amounts of the battery pack 123 generated within multiple historical periods within a preset number of days prior to the target charging time. Furthermore, it performs statistical analysis on the multiple historical power supply amounts generated within multiple historical periods within a preset number of days prior to the target charging time, and calculates an average for one or more historical power supply amounts that are greater than a preset threshold to obtain a reference power supply amount of the battery pack 123 in the current period at which the target charging time is located. By determining one or more historical power supply amounts that are greater than a preset threshold, the smart inverter 122 can exclude low historical power supply amounts due to special circumstances such as going out, and avoid using them as a basis for calculating the reference power supply amount, thereby preventing them from affecting the calculation of the reference power supply amount.

[0058] For example, before the target charging time 1 Within 0 days history Assume that the historical power supply amounts of battery pack 123 corresponding to each period are 2kWh, 1kWh, 2kWh, 0.5kWh, 1kWh, 1kWh, 2kWh, 0.3kWh, 1kWh, and 2kWh, respectively. Assume that the preset threshold is 0.8kWh. The smart inverter 122 can obtain 10 historical power supply amounts for 10 historical periods corresponding to the target charging time within a preset number of days prior to the target charging time, and perform statistical analysis on these 10 historical power supply amounts. Next, the smart inverter 122 can compare these 10 historical power supply amounts with the preset threshold and average the historical power supply amounts greater than the preset threshold. Specifically, the smart inverter 122 can calculate the historical power supply amounts of 8 By averaging the values ​​of 2kWh, 1kWh, 2kWh, 1kWh, 1kWh, 1kWh, 2kWh, 1kWh, and 2kWh, the reference power supply of battery pack 123 during the current period in which the target charging time is located can be determined to be 1.5kWh.

[0059] S308: If it is determined that the target vehicle's reference charging frequency is greater than the second preset frequency, the battery pack is used to charge the target vehicle.

[0060] In some viable embodiments, the smart inverter 122 can use the battery pack 123 to charge the target vehicle if it is determined that the target vehicle's reference charging frequency is greater than a second preset frequency.

[0061] Furthermore, if the target vehicle's reference charging frequency is greater than the second preset frequency, it may mean that the user frequently uses the battery pack 123 of the home energy storage system 12 to charge the target vehicle. Therefore, after it is determined that the target vehicle's reference charging frequency is greater than the second preset frequency, the battery pack 123 can be preferentially used to charge the target vehicle.

[0062] In an optional embodiment, the smart inverter 122 can acquire multiple historical power supply amounts of the battery pack 123 generated within multiple historical periods corresponding to the target charging time in which a charging event occurs, perform statistical analysis on the multiple historical power supply amounts to determine the reference power supply amount of the battery pack in the current period in which the target charging time is located. Furthermore, if the smart inverter 122 determines that the reference power supply amount in the current period is less than or equal to a preset power supply amount, it can use the battery pack 123 to charge the target vehicle.

[0063] The preset power supply amount may be an empirical value, pre-configured, or entered by an administrator. The preset power supply amount is compared with the reference power supply amount for the current period to determine whether the battery pack 123 is at its peak power supply during the current period, and further, whether the battery pack 123 is used to charge the target vehicle during the current period. For example, if the reference power supply amount for the current period is less than or equal to the preset power supply amount, it can be determined that the battery pack 123 is not at its peak power supply during the current period, and the battery pack 123 can be used to charge the target vehicle during the current period. If the reference power supply amount for the current period is greater than the preset power supply amount, it can be determined that the battery pack 123 is at its peak power supply during the current period, and after the current period has elapsed, the battery pack 123 can be used to charge the target vehicle, or the battery pack 123 can be used to charge the target vehicle with limited power during the current period.

[0064] In an optional embodiment, if the smart inverter 122 determines that the reference power supply during the current period is greater than the preset power supply, it can obtain multiple historical power consumptions of the battery pack 123 corresponding to multiple charging processes of the target vehicle completed by the battery pack 123 before the target charging time, and further determine the reference power consumption for each time the target vehicle is charged using the battery pack 123 based on the multiple historical power consumptions. The smart inverter 122 can obtain a second current remaining power of the battery pack 123 at the target charging time. Next, the smart inverter 122 can determine the maximum power supply that the battery pack 123 can provide to the target vehicle during the current period, based on the second preset machine learning model, the reference power consumption, the reference power supply, and the second current remaining power. The maximum power supply may be the maximum amount of power that the battery pack 123 can provide to the target vehicle during the current period. Furthermore, the smart inverter 122 determines the target power supply to charge the target vehicle using the battery pack within the current period, based on the reference power supply amount and the maximum charging period, and can charge the target vehicle with the target power supply using the battery pack 123.

[0065] The second preset machine learning model may be a convergent machine learning model obtained by training the model using a large amount of sample data. Each of these multiple sample data sets represents the power consumption for each instance in which the target vehicle is charged using the battery pack 123 during multiple power supply processes for the target vehicle, and the usage of the battery pack 123 within a first period in which the target charging time at which each charging event occurs is located. Rekiden This may include the power supply amount and the remaining power of the battery pack 123 at the target charging time when each charging event occurs. Each of the above sample data may correspond to the maximum amount of power that the battery pack 123 can supply to the target vehicle.

[0066] For example, let's consider a target vehicle with a battery capacity of 30 kWh, before the target charging time... 1 Assume that the historical power consumption of battery packs 123 charging the target vehicle in 0 charge cycles is 25kWh, 20kWh, 24kWh, 22kWh, 18kWh, 20kWh, 24kWh, 16kWh, 20kWh, and 22kWh, respectively. Assume that the reference power supply in the current period is 2kWh. Assume that the second current remaining power of battery pack 123 is 20kWh. Assume that the target charging time is 5:30, and the current period in which the target charging time is located is 5:00-6:00. The smart inverter 122 is before the above target charging time. 1 An average calculation can be performed on the historical power consumption of the battery pack 123 when charging the target vehicle over 0 charging cycles, and the reference power consumption for each charging cycle using the battery pack 123 can be determined to be 21.1 kWh. Next, the smart inverter 122 uses a second preset machine learning model, Lighting Based on a power consumption of 21.1 kW·h, a reference power supply of 2 kW·h, and a second current remaining power of 20 kW, the smart inverter 122 can determine the maximum power supply to charge the target vehicle using the battery pack 123 to be 10 kW·h. Furthermore, based on a target charging time of 5:30 and the current period of 5:00-6:00, the smart inverter 122 can determine the maximum charging time for the target vehicle within the target period to be 0.5 hours. Based on the maximum power supply of 10 kW·h and the maximum charging time of 0.5 hours, the smart inverter 122 can determine the reference power supply that the battery pack 123 can supply to the target vehicle within the maximum charging time to be 5 kW·h. Furthermore, based on the reference power supply of 5 kW·h and the maximum charging time of 0.5 hours, the smart inverter 122 determines the target power supply for charging the target vehicle using the battery pack 123 to be 10 kW, and charges the target vehicle with a target power supply of 10 kW using the battery pack 123.

[0067] In another optional embodiment, the smart inverter 122 can determine the end time of the current period based on the current period if it determines that the reference power supply amount for the current period is greater than the preset power supply amount. Furthermore, if the smart inverter 122 determines that the end time of the current period has arrived, it can use the battery pack 123 to charge the target vehicle.

[0068] For example, let's assume the current period is from 5:30 to 6:30. If the smart inverter 122 determines that the reference power supply amount during the current period is greater than the preset power supply amount, it can determine the end time of the current period to be 6:30 based on the current period of 5:30 to 6:30. Furthermore, if the smart inverter 122 determines that the end time of the current period, 6:30, has arrived, it can use the battery pack 123 to charge the target vehicle.

[0069] Selectively, if the smart inverter 122 determines that the reference power supply amount for the current period is greater than the preset power supply amount, it can determine the end time of the current period based on the current period and send a first prompt message to the user via the terminal device 13 to remind the user not to charge the target vehicle within the current period where the target charging time is located. If the smart inverter 122 determines that the end time of the current period has arrived, it can send a second prompt message to the user via the terminal device 13 to remind the user to start charging the target vehicle using the battery pack 123 and then start charging the target vehicle using the battery pack 123.

[0070] In the embodiments of this application, the smart inverter 122 in the home energy management system 10 can determine the relationship between a reference charging frequency and a first preset frequency, and the relationship between the reference charging frequency and a second preset frequency, when charging a target vehicle using the battery pack 123. This allows for the determination of a charging control strategy for charging the target vehicle, and further, by charging the target vehicle using the battery pack and / or the streetcar control system, the intelligence and comprehensiveness of charging control for new energy vehicles by the home energy management system can be improved, the boundaries of energy management functions can be expanded, and new energy vehicles can be charged flexibly.

[0071] Referring to Figure 7, Figure 7 is a schematic diagram showing the structure of a charging control device according to an embodiment of this application. As shown in Figure 7, the device may include a processing unit 71 and a charging control unit 72.

[0072] In a specific embodiment, the processing unit 71 is configured to obtain a reference charging frequency when a charging event corresponding to the target vehicle is detected, and the reference charging frequency is used to indicate how often the target vehicle was charged using the battery pack before the charging event. The charging control unit 72 is configured to charge the target vehicle in fast charging mode using the tram control system when the processing unit 71 determines that the reference charging frequency is less than or equal to a first preset frequency, and when it is detected that the charging port connected to the target vehicle is a fast charging port, the first preset frequency is a frequency threshold where the user's sensitivity to charging costs is low, which is preset through big data analysis. The processing unit 71 is further configured to output a fast charging prompt message via a terminal device to alert the user to charge using a fast charging port when it is detected that the charging port connected to the target vehicle is a non-fast charging port. The charging control unit 72 is further configured to charge the target vehicle in fast charging mode using the tram control system when the processing unit 71 detects that the charging port connected to the target vehicle has been updated from a non-fast charging port to a fast charging port. The charging control unit 72 is further configured to charge the target vehicle in a non-fast charging mode using the streetcar control system if the processing unit 71 detects that the charging port connected to the target vehicle is still a non-fast charging port. The processing unit 71 is further configured to obtain the target charging mode intended by the user via a terminal device if it is determined that the reference charging frequency of the target vehicle is greater than a first preset frequency and less than or equal to a second preset frequency, the second preset frequency being a frequency threshold preset through big data analysis where the user's sensitivity to charging costs is high. The charging control unit 72 is further configured to charge the target vehicle in the target charging mode. The charging control unit 72 is further configured to charge the target vehicle using the battery pack if it is determined by the processing unit 71 that the reference charging frequency of the target vehicle is greater than a second preset frequency.

[0073] In selectable embodiments, the processing unit 71 is further configured to display a plurality of selectable charging modes to the user via a terminal device, the plurality of selectable charging modes including at least a first charging mode that charges the target vehicle using a battery pack, a second charging mode that charges the target vehicle using a streetcar control system, and a third charging mode that charges the target vehicle using both a battery pack and a streetcar control system. When the processing unit 71 detects a charging mode selection instruction input by the user for the plurality of selectable charging modes, it is configured to determine the target charging mode intended by the user from the plurality of selectable charging modes according to the charging mode selection instruction.

[0074] In selectable embodiments, the processing unit 71 is further configured to obtain a first current remaining energy of the target vehicle at a target charging time when a charging event occurs, a second current remaining energy of the battery pack at the target charging time, and a plurality of historical power supplies of the battery pack generated within a plurality of historical periods corresponding to the target charging time. The processing unit 71 is further configured to perform statistical analysis on the plurality of historical power supplies to predict and obtain a reference power supply of the battery pack within the current period in which the target charging time is located. The processing unit 71 is further configured to determine the target energy of the target vehicle based on a first preset machine learning model, the first current remaining energy, the second current remaining energy, and the reference power supplies. The charging control unit 72 is further configured to charge the target vehicle using the battery pack. The charging control unit 72 is further configured to charge the target vehicle using the streetcar control system when the processing unit 71 determines that the target energy of the target vehicle has reached the target energy.

[0075] In selectable embodiments, the processing unit 71 is further configured to acquire multiple historical power supply amounts of the battery pack generated within multiple historical periods corresponding to a target charging time in which a charging event occurs. The processing unit 71 is further configured to perform statistical analysis on the multiple historical power supply amounts to determine the reference power supply amount of the battery pack in the current period in which the target charging time is located. The charging control unit 72 is further configured to use the battery pack to charge the target vehicle if the processing unit 71 determines that the reference power supply amount in the current period is less than or equal to a preset power supply amount.

[0076] In an optional embodiment, the processing unit 71 is further configured to obtain multiple historical power consumptions of the battery pack corresponding to multiple charging processes of the target vehicle completed by the battery pack before the target charging time, if it is determined that the reference power supply amount for the current period is greater than the preset power supply amount. The processing unit 71 is further configured to determine the reference power consumption for each time the target vehicle is charged using the battery pack, based on the multiple historical power consumptions. The processing unit 71 is further configured to obtain a second current remaining power amount of the battery pack at the target charging time. The processing unit 71 is further configured to determine the maximum power supply amount that the battery pack can provide to the target vehicle within the current period, based on a second preset machine learning model, the reference power consumption, the reference power supply amount, and the second current remaining power amount. The processing unit 71 is further configured to determine the target power supply amount for charging the target vehicle using the battery pack, based on the maximum power supply amount, the target charging time, and the current period. The charging control unit 72 is further configured to charge the target vehicle with the target power supply amount using the battery pack.

[0077] In an optional embodiment, the processing unit 71 is further configured to determine the end time of the current period based on the current period if it is determined that the reference power supply amount for the current period is greater than the preset power supply amount. The charging control unit 72 is further configured to charge the target vehicle using the battery pack if the processing unit 71 determines that the end time of the current period has arrived.

[0078] In selectable embodiments, the processing unit 71 is further configured to obtain a first historical charge count in which the target vehicle completed charging within a preset period prior to the target charging time, and a second historical charge count in which the target vehicle completed charging with the battery pack within the preset period. The processing unit 71 is further configured to determine a reference charge frequency in which the target vehicle was charged using the battery pack, based on the first and second historical charge counts.

[0079] Referring to Figure 8, Figure 8 is a schematic diagram showing the structure of an electronic device according to an embodiment of this application. The electronic device may be a terminal device in the above embodiment and may be used to implement steps of a charging control method performed by the terminal device described in the above embodiment. The electronic device may include a processor 81, a memory 82, and a bus system 83.

[0080] Memory 82 includes, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable compact disk ROM (CD-ROM). Memory 82 is configured to store associated instructions and data. Memory 82 stores operational instructions, operating systems, executable modules or data structures, or subsets thereof, or extensions thereof.

[0081] Operation commands include a variety of commands and are used to perform various operations.

[0082] An operating system includes various system programs and is used to provide various basic services and handle hardware-based tasks.

[0083] Figure 8 shows only one memory location, but of course, multiple memory locations can be provided as needed.

[0084] As shown in Figure 8, the electronic device may also include an input / output device 84. The input / output device 84 may be a communication module or a transceiver circuit. In the embodiments of this application, the input / output device 84 is configured to perform the process of sending and receiving data or signaling during interaction between the smart inverter 122 and the terminal device 13 according to the embodiment.

[0085] The processor 81 may be a controller, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processor 81 can implement or run each exemplary logic block, module and circuit described in the disclosure of embodiments of this application. The processor 81 may also be a combination that implements computing functions, including, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.

[0086] In specific applications, each component in an electronic device is connected via the bus system 83. The bus system 83 includes not only a data bus, but also a power bus, a control bus, and a status signal bus, among others. However, for clarity, in Figure 8, the various buses are marked as part of the bus system 83. For convenience of representation, Figure 8 is illustrated only illustratively.

[0087] Continuing to refer to Figure 8, the electronic device may be the smart inverter 122 in the above embodiment, and can be used to implement the steps of the charging control method performed by the smart inverter 122 described in the above embodiment.

[0088] In actual applications, the processor in the embodiments of this application may be an integrated circuit chip having signal processing capabilities. In the implementation process, each step of the above method embodiment may be completed by an integrated logic circuit in hardware form or instructions in software form of the processor. The processor may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The processor may implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of this application.

[0089] To ensure understanding, the memory of the embodiments of this application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Non-volatile memory may be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM), or flash memory. Volatile memory may be random-access memory (RAM) that functions as an external high-speed cache. Examples of various RAMs available include, but are not limited to, static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synch-link dynamic random access memory (synch-link DRAM, SLDRAM), and direct rambus random access memory (direct rambus RAM, DRRAM). The memories described in embodiments of this application may include, but are not limited to, these and any other suitable types of memory.

[0090] Embodiments of this application further provide a computer-readable storage medium that stores a computer program. When the computer program is executed by a processor, the methods or steps executed by the smart inverter in the above embodiments are realized.

[0091] Embodiments of this application further provide a computer program product. When the computer program product is executed by a computer, the methods or steps performed by the smart inverter in the above embodiments are realized.

[0092] For the sake of simplification, it should be noted that any one of the above embodiments of the charging control method is expressed as a combination of a series of operations. However, it should be understood by those skilled in the art that this application is not limited to the order of operations described, and that several operations may be performed in other orders or simultaneously based on this application. Furthermore, it should be understood by those skilled in the art that all embodiments described in the specification are preferred embodiments, and such operations are not necessarily required for this application.

[0093] In the specification, claims, and drawings of this application, terms such as “first,” “second,” etc., are used not to describe a specific sequence, but to distinguish different subjects. Furthermore, terms such as “include,” “compose,” or any other variants are intended to cover, without excluding, other components. For example, a process, method, system, product, or device comprising a series of steps is not limited to the listed steps and may optionally include other steps not listed, or may optionally include other steps specific to those processes, methods, systems, products, or devices.

[0094] As used herein, “Embodiments” means that certain features, structures, or characteristics described in conjunction with an embodiment may be included in at least one embodiment of this application. The term “Embodiments” as it appears elsewhere in the specification does not necessarily refer to the same embodiment, nor are they mutually exclusive, independent, or optional embodiments. Those skilled in the art will understand, either expressly or implicitly, that the embodiments described herein can be combined with other embodiments.

[0095] While this application is described herein in relation to various embodiments, other variations of the disclosed embodiments can be understood and implemented by those skilled in the art by examining the accompanying drawings, disclosures, and claims in the course of implementing this application for which protection is claimed. In the claims, the word “including” does not mean to exclude other components or steps, and the word “one” or “one” does not mean to exclude multiple cases. The fact that certain means are described in different dependent claims does not mean that they cannot be combined to obtain good results.

[0096] Those skilled in the art will understand that some or all of the operations in each of the method embodiments of any one of the above-described charge control methods can be completed by a program instructing the relevant hardware. Such program can be stored in a computer-readable storage medium. The storage medium may include flash memory, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0097] The above is a detailed description of the embodiments of the present application. This specification describes the principles and embodiments of the charge control method, apparatus and related devices of the present application using specific examples. The above description of embodiments is used solely to aid in understanding the method and core concept of the present application. At the same time, for those skilled in the art, the specific embodiments and scope of application will vary based on the concept of the charge control method, apparatus and related devices of the present application. As stated above, this specification should not be understood as limiting the present application.

[0098] In one or more of the above examples, it will be apparent to those skilled in the art that the functions described in this application can be implemented by hardware, software, firmware, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. The computer-readable medium may include computer storage media and communication media. The communication medium includes any medium that facilitates the transmission of computer programs from one place to another. The storage medium may be any medium accessible by a general-purpose or dedicated computer.

[0099] The objectives, technical proposals, and beneficial effects of this application have been described in detail in the above-described specific embodiments. These are merely specific embodiments of this application and are not intended to limit the scope of protection. Any modifications, equivalent substitutions, or improvements based on the technical proposals of this application should all be included within the scope of protection.

Claims

1. A charging control method, Applicable to a smart inverter in a home energy management system, the home energy management system includes a streetcar control system, a home energy storage system and terminal devices, the home energy storage system includes a photovoltaic panel group, the smart inverter and a battery pack, the smart inverter is connected to the photovoltaic panel group, the battery pack, the streetcar control system and the terminal devices, respectively, the smart inverter is used to connect to a target vehicle, and the charging control method is, When a charging event corresponding to the target vehicle is detected, a reference charging frequency is obtained in which the target vehicle was charged using the battery pack, and this reference charging frequency is used to indicate the frequency in which the target vehicle was charged using the battery pack prior to the charging event. If the reference charging frequency is determined to be less than or equal to the first preset frequency, and if it is detected that the charging port connected to the target vehicle is a fast charging port, the streetcar control system is used to charge the target vehicle in fast charging mode, wherein the first preset frequency is a frequency threshold preset through big data analysis where user sensitivity to charging costs is low, and the vehicle is charged accordingly. When it is detected that the charging port connected to the target vehicle is a non-fast charging port, a fast charging prompt message is output via the terminal device to alert the user to use a fast charging port for charging. When it is detected that the charging port connected to the target vehicle has been upgraded from a non-fast charging port to a fast charging port, the streetcar control system is used to charge the target vehicle in fast charging mode. If it is detected that the charging port connected to the target vehicle is still a non-fast charging port, the streetcar control system will be used to charge the target vehicle in non-fast charging mode. If it is determined that the reference charging frequency of the target vehicle is greater than the first preset frequency and less than or equal to the second preset frequency, the terminal device shall obtain the target charging mode intended by the user, wherein the second preset frequency is a frequency threshold preset through big data analysis that reflects the user's high sensitivity to charging costs. Charging the target vehicle in the target charging mode, If it is determined that the reference charging frequency of the target vehicle is greater than the second preset frequency, the target vehicle is charged using the battery pack. including, A charging control method characterized by the following:

2. Obtaining the target charging mode intended by the user via the aforementioned terminal device is: Displaying a plurality of selectable charging modes to the user via the terminal device, wherein the plurality of selectable charging modes include at least a first charging mode for charging the target vehicle using the battery pack, a second charging mode for charging the target vehicle using the streetcar control system, and a third charging mode for charging the target vehicle using both the battery pack and the streetcar control system. When a charging mode selection instruction is detected by the user for one of the multiple selectable charging modes, the system determines the target charging mode intended by the user from the multiple selectable charging modes according to the charging mode selection instruction. including, The charging control method according to feature 1.

3. The aforementioned target charging mode is the third charging mode, and charging the target vehicle in the aforementioned target charging mode is The acquisition of a first current remaining power amount of the target vehicle at the target charging time in which the charging event occurs, a second current remaining power amount of the battery pack at the target charging time, and a plurality of historical power supply amounts of the battery pack generated within a plurality of historical periods corresponding to the target charging time. The process involves performing a statistical analysis on the aforementioned multiple historical power supply amounts to predict and obtain the reference power supply amount of the battery pack within the current period in which the target charging time is located, Based on a first preset machine learning model, the first current remaining power amount, the second current remaining power amount, and the reference power supply amount, the target power amount of the target vehicle is determined. The battery pack is used to charge the target vehicle, When it is determined that the remaining power of the target vehicle reaches the target power amount, the streetcar control system is used to charge the target vehicle. including, The charging control method according to feature 2.

4. Charging the target vehicle using the aforementioned battery pack is To obtain multiple historical power supply amounts of the battery pack generated within multiple historical periods corresponding to the target charging time when the charging event occurs, To perform a statistical analysis on the aforementioned multiple historical power supply amounts to determine the reference power supply amount of the battery pack within the current period in which the target charging time is located, If it is determined that the reference power supply amount during the current period is less than or equal to the preset power supply amount, the target vehicle will be charged using the battery pack. including, The charging control method according to feature 1.

5. The aforementioned charging control method is If it is determined that the reference power supply amount during the current period is greater than the preset power supply amount, then obtain multiple historical power consumption amounts of the battery pack corresponding to multiple charging processes of the target vehicle completed by the battery pack before the target charging time, Based on the aforementioned multiple historical power consumption amounts, the reference power consumption amount for each charge of the target vehicle using the battery pack is determined, To obtain the second current remaining power amount of the battery pack at the aforementioned target charging time, Based on a second preset machine learning model, the reference power consumption, the reference power supply, and the second current remaining power, the maximum power supply that the battery pack can provide to the target vehicle within the current period is determined. Based on the aforementioned maximum power supply, the aforementioned target charging time, and the aforementioned current period, the target power supply for charging the target vehicle using the battery pack is determined, The battery pack is used to charge the target vehicle with the target power supply, Further including, The charging control method according to feature 4.

6. The aforementioned charging control method is If it is determined that the reference power supply amount during the current period is greater than the preset power supply amount, the end time of the current period is determined based on the current period, When it is determined that the end time of the current period has arrived, the target vehicle will be charged using the battery pack, Further including, The charging control method according to feature 4.

7. Obtaining a reference charging frequency for charging the target vehicle using the aforementioned battery pack is: The process involves obtaining a first historical number of charging cycles in which the target vehicle completed charging within a preset period prior to the target charging time, and a second historical number of charging cycles in which the target vehicle completed charging using the battery pack within the preset period. Based on the first and second historical charging cycles, the reference charging frequency for charging the target vehicle using the battery pack is determined, including, The charging control method according to feature 3.

8. A charging control device, The charging control device is provided in a smart inverter in a home energy management system, the home energy management system includes a streetcar control system, a home energy storage system and terminal devices, the home energy storage system includes a photovoltaic panel group, the smart inverter and a battery pack, the smart inverter is connected to the photovoltaic panel group, the battery pack, the streetcar control system and the terminal devices, respectively, the smart inverter is used to connect to a target vehicle, and the charging control device comprises a processing unit and a charging control unit. The processing unit is configured to obtain a reference charging frequency for charging the target vehicle using the battery pack when a charging event corresponding to the target vehicle is detected, and the reference charging frequency is used to indicate the frequency with which the target vehicle was charged using the battery pack prior to the charging event. The charging control unit is configured to charge the target vehicle in fast-charging mode using the streetcar control system when the processing unit determines that the reference charging frequency is less than or equal to a first preset frequency, and when it is detected that the charging port connected to the target vehicle is a fast-charging port, the first preset frequency is a frequency threshold that has been preset through big data analysis, where user sensitivity to charging costs is low. The processing unit is further configured to, when it detects that the charging port connected to the target vehicle is a non-fast charging port, output a fast charging prompt message via a terminal device to alert the user to use a fast charging port for charging. The charging control unit is further configured to charge the target vehicle in the fast charging mode using the streetcar control system when the processing unit detects that the charging port connected to the target vehicle has been updated from a non-fast charging port to a fast charging port. The charging control unit is further configured to charge the target vehicle in non-fast charging mode using the streetcar control system when the processing unit detects that the charging port connected to the target vehicle is still a non-fast charging port. The processing unit is further configured to obtain the target charging mode intended by the user via the terminal device when it is determined that the reference charging frequency of the target vehicle is greater than the first preset frequency and less than or equal to the second preset frequency, wherein the second preset frequency is a frequency threshold that has been preset through big data analysis and represents a frequency in which the user's sensitivity to charging costs is high. The charging control unit is further configured to charge the target vehicle in the target charging mode, The charging control unit is further configured to charge the target vehicle using the battery pack if the processing unit determines that the reference charging frequency of the target vehicle is greater than the second preset frequency. A charging control device characterized by the following:

9. A computer-readable storage medium, The computer-readable storage medium is configured to store a computer program, and when the computer program is executed by a processor, the charging control method described in any one of claims 1 to 7 is realized. A computer-readable storage medium characterized by the following features.

10. It is an electronic device, Including memory and processor, The memory stores a computer program, and when the processor executes the computer program, it realizes the charging control method described in any one of claims 1 to 7. An electronic device characterized by the following features.