Electric vehicle flexible charging method, device and electronic equipment

By obtaining and analyzing the parameters of the target electric vehicle and flexible charging pile, and combining the constraints of the energy storage system and distributed photovoltaics, the charging strategy of the flexible charging pile is optimized, which solves the problem that the charging strategy in the existing technology is difficult to match user needs, and achieves More efficient electric vehicle charging.

CN114851867BActive Publication Date: 2024-10-15STATE GRID BEIJING ELECTRIC POWER CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210582272.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-10-15
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

In the existing technology, the charging strategy for generating flexible charging stacks is difficult to meet user expectations. Especially in scenarios with multiple flexible charging stacks, energy storage systems and distributed photovoltaic systems, there is a lack of comprehensive research on charging regulation strategies, resulting in grid impact and user problems. Requirements do not match.

Method used

By obtaining the parameters of the target electric vehicle and the initial charging strategies of multiple flexible charging stacks, the target flexible charging stack is determined according to predetermined rules, and the charging strategy parameters are constructed, including the arrival time, location and environmental parameters of the target electric vehicle, and the charging strategy function is constructed. Taking into account the constraints of energy storage systems, distributed photovoltaics and flexible charging piles, the charging strategy is optimized to minimize electricity costs and load peaks and valleys.

Benefits of technology

It achieves a more accurate charging strategy that meets user expectations, reduces the impact on the power grid, and improves charging efficiency and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114851867B_ABST
    Figure CN114851867B_ABST
Patent Text Reader

Abstract

The present invention discloses a flexible charging method, device and electronic device for electric vehicles. The method includes: obtaining a first electric vehicle parameter of a target electric vehicle that enters a predetermined place, and an initial charging strategy in which multiple flexible charging piles have been connected to the electric vehicle; according to the initial charging strategy, determining a target flexible charging pile among multiple flexible charging piles according to a first predetermined rule; determining charging strategy parameters, wherein the charging strategy parameters include the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, the environmental parameters of the target flexible charging pile, and the second electric vehicle parameter of the electric vehicle in which the target flexible charging pile has been connected; determining the target charging strategy of the target electric vehicle based on the first electric vehicle parameter and the charging strategy parameter. The present invention solves the technical problem that when generating a charging strategy for a flexible charging pile in the related art, the generated charging strategy is difficult to meet the user's expectations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric vehicles, and in particular to a flexible charging method, device and electronic equipment for electric vehicles. Background Art

[0002] As electric vehicle sales increase and the penetration rate of electric vehicles increases, the "peak-on-peak" nature of electric vehicle charging and the large charging power will have a certain impact on the power grid, including insufficient distribution transformer capacity, increased network losses, and reduced node voltage. Therefore, when generating charging strategies for flexible charging piles, the generated charging strategies are difficult to meet user expectations. In addition, large-scale charging stations such as destination parking stations are often equipped with multiple flexible charging piles, distributed photovoltaic systems, and energy storage systems.

[0003] There is no research in the related art on charging control strategies that integrate multiple flexible charging piles, energy storage systems, and distributed photovoltaics. In this scenario, the generated charging strategy is even more difficult to meet user expectations.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a flexible charging method, device and electronic device for an electric vehicle, so as to at least solve the technical problem that when generating a charging strategy for a flexible charging stack in the related art, the generated charging strategy is difficult to meet the user's expectations.

[0006] According to one aspect of an embodiment of the present invention, a flexible charging method for an electric vehicle is provided, comprising: obtaining first electric vehicle parameters of a target electric vehicle that enters a predetermined location, and an initial charging strategy in which multiple flexible charging stacks have been connected to the electric vehicle; determining a target flexible charging stack from among the multiple flexible charging stacks according to a first predetermined rule based on the initial charging strategy, wherein the target flexible charging stack is used to charge the target electric vehicle; determining charging strategy parameters, wherein the charging strategy parameters include the time when the target electric vehicle arrives at the target flexible charging stack, the location of the target flexible charging stack, the environmental parameters of the target flexible charging stack, and second electric vehicle parameters of the electric vehicle in which the target flexible charging stack has been connected; determining a target charging strategy for the target electric vehicle based on the first electric vehicle parameters and the charging strategy parameters.

[0007] Optionally, determining a target flexible charging stack among the multiple flexible charging stacks according to a first predetermined rule based on the initial charging strategy includes: obtaining a power margin of the multiple flexible charging stacks according to the initial charging strategy; and determining a target flexible charging stack among the multiple flexible charging stacks according to a first predetermined rule based on the power margin of the multiple flexible charging stacks.

[0008] Optionally, determining the target charging strategy of the target electric vehicle based on the first electric vehicle parameters and the charging strategy parameters includes: constructing a charging strategy function under a second predetermined rule based on the first electric vehicle parameters and the charging strategy parameters; and solving the charging strategy function under the second predetermined rule to determine the target charging strategy of the target electric vehicle.

[0009] Optionally, constructing a charging strategy function under a second predetermined rule based on the first electric vehicle parameters and the charging strategy parameters includes: determining constraints of the charging strategy function constructed under the second predetermined rule in the predetermined place based on the first electric vehicle parameters and the charging strategy parameters, wherein the predetermined place is a microgrid place including an energy storage system, a distributed photovoltaic system, and the multiple flexible charging piles, and the constraints include: charging constraints of the target electric vehicle, charging power constraints of the target flexible charging pile, power constraints of the energy storage system, and scenario constraints of the distributed photovoltaics; under the constraints, constructing the charging strategy function under the second predetermined rule.

[0010] Optionally, solving the charging strategy function under the second predetermined rule to determine the target charging strategy of the target electric vehicle includes: determining a maximum time value in solving the charging strategy function under the second predetermined rule; within the maximum time value, solving the charging strategy function under the second predetermined rule to determine the target charging strategy.

[0011] Optionally, the second predetermined rule includes a rule of minimum electricity cost and a rule of peak load shifting.

[0012] According to one aspect of an embodiment of the present invention, a flexible charging device for an electric vehicle is provided, comprising: an acquisition module for acquiring a first electric vehicle parameter of a target electric vehicle that enters a predetermined place, and an initial charging strategy in which a plurality of flexible charging stacks have been connected to the electric vehicle; a first determination module for determining a target flexible charging stack from the plurality of flexible charging stacks according to a first predetermined rule based on the initial charging strategy, wherein the target flexible charging stack is used to charge the target electric vehicle; a second determination module for determining charging strategy parameters, wherein the charging strategy parameters include the time when the target electric vehicle arrives at the target flexible charging stack, the location of the target flexible charging stack, the environmental parameters of the target flexible charging stack, and a second electric vehicle parameter of the electric vehicle in which the target flexible charging stack has been connected; and a third determination module for determining a target charging strategy for the target electric vehicle based on the first electric vehicle parameter and the charging strategy parameter.

[0013] According to one aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any one of the above-mentioned flexible charging methods for electric vehicles.

[0014] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the above-described flexible charging methods for electric vehicles.

[0015] According to one aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the electric vehicle flexible charging method described in any one of the above is implemented.

[0016] In an embodiment of the present invention, the first electric vehicle parameter of the target electric vehicle that enters the predetermined place and the initial charging strategy of multiple flexible charging piles that have been connected to the electric vehicle are obtained, and according to the initial charging strategy, the target flexible charging pile is determined according to the first predetermined rule among the multiple flexible charging piles, so as to charge the target electric vehicle with the target flexible charging pile, and the charging strategy parameters including the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, the environmental parameters of the target flexible charging pile, and the second electric vehicle parameter of the target flexible charging pile that has been connected to the electric vehicle are determined. After obtaining the above data, the target charging strategy of the target electric vehicle can be determined according to the first electric vehicle parameter and the charging strategy parameter. Because the target charging strategy takes into account various data of the target flexible charging pile and various parameters of the target car, a more accurate target charging strategy that is more in line with user expectations can be obtained, thereby solving the technical problem that the generated charging strategy of the flexible charging pile is difficult to meet user expectations when generating the charging strategy of the related technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0018] Figure 1 is a flow chart of a flexible charging method for an electric vehicle according to an embodiment of the present invention;

[0019] Figure 2 is an overall flow chart of the flexible charging method for an electric vehicle according to an embodiment of the present invention;

[0020] Figure 3 It is a structural block diagram of a flexible charging device for an electric vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] Example 1

[0024] According to an embodiment of the present invention, an embodiment of a flexible charging method for an electric vehicle is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0025] Figure 1 is a flow chart of a flexible charging method for an electric vehicle according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0026] Step S102, obtaining a first electric vehicle parameter of a target electric vehicle that has entered a predetermined location, and an initial charging strategy of multiple flexible charging piles that have been connected to the electric vehicle;

[0027] Step S104, according to the initial charging strategy, determining a target flexible charging stack from a plurality of flexible charging stacks according to a first predetermined rule, wherein the target flexible charging stack is used to charge the target electric vehicle;

[0028] Step S106, determining charging strategy parameters, wherein the charging strategy parameters include the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, the environmental parameters of the target flexible charging pile, and the parameters of the second electric vehicle to which the target flexible charging pile has been connected;

[0029] Step S108, determining a target charging strategy for the target electric vehicle according to the first electric vehicle parameter and the charging strategy parameter.

[0030] Through the above steps, the first electric vehicle parameter of the target electric vehicle entering the predetermined place and the initial charging strategy of multiple flexible charging piles connected to the electric vehicle are obtained, and according to the initial charging strategy, the target flexible charging pile is determined according to the first predetermined rule among the multiple flexible charging piles, so as to charge the target electric vehicle with the target flexible charging pile, and the charging strategy parameters including the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, the environmental parameters of the target flexible charging pile, and the second electric vehicle parameter of the target flexible charging pile connected to the electric vehicle are determined. After obtaining the above data, the target charging strategy of the target electric vehicle can be determined according to the first electric vehicle parameter and the charging strategy parameter. Because the target charging strategy takes into account various data of the target flexible charging pile and various parameters of the target car, a more accurate target charging strategy that is more in line with user expectations can be obtained, thereby solving the technical problem that the generated charging strategy of the flexible charging pile is difficult to meet user expectations when the related technology generates the charging strategy of the flexible charging pile.

[0031] As an optional embodiment, the first electric vehicle parameters of the target electric vehicle entering the predetermined place are obtained. The first electric vehicle parameters include the SOC (State of charge) level SOC0, battery capacity E, DC / AC charging type, maximum charging power information P of the target electric vehicle. max The owner sets the expected SOC level when the vehicle leaves SOC e By acquiring the first electric vehicle parameter of the target electric vehicle driving into the predetermined place, a dedicated target charging strategy can be better formulated for the target electric vehicle. Figure 2 is an overall flow chart of the flexible charging method for an electric vehicle according to an embodiment of the present invention. Figure 2 The vehicle arrival trigger shown in the figure obtains the vehicle SOC, battery capacity, DC / AC charging type, maximum charging power information, and the steps of obtaining the SOC set by the owner when the vehicle leaves.

[0032] As an optional embodiment, the initial charging strategies of multiple flexible charging piles connected to the electric vehicle are obtained. Through the initial charging strategies of multiple flexible charging piles connected to the electric vehicle, the number of electric vehicles connected to the multiple flexible charging piles and the power values ​​included in the initial charging strategies corresponding to the connected electric vehicles can be understood. After the initial charging strategies of multiple flexible charging piles connected to the electric vehicle are obtained, a target flexible charging pile for charging the target electric vehicle is determined from the multiple flexible charging piles according to a first predetermined rule.

[0033] As an optional embodiment, when determining a target flexible charging stack according to a first predetermined rule among multiple flexible charging stacks based on an initial charging strategy, the power margins of multiple flexible charging stacks can be first obtained according to the initial charging strategy, and the target flexible charging stack can be determined according to the first predetermined rule among multiple flexible charging stacks based on the determined power margins of the multiple flexible charging stacks. In this way, the determined target flexible charging stack can be reasonable.

[0034] Optionally, in this process, the process can be considered in time periods, that is, the power margins of multiple flexible charging piles in each time period in their respective initial charging strategies are calculated. For example, in a parking lot with K flexible charging piles, the future T time periods are considered, and the time interval of each time period is Δt. First, the power margins of each charging pile in each time period under the current strategy are calculated: Among them, the kth flexible charging stack is currently connected electric cars, It represents the power value output by the connected electric vehicles in the flexible charging stack in the tth period in their respective initial charging strategies. The upper limit of the capacity of the kth flexible charging stack is Then the power margin ΔP of the kth flexible charging stack in each time period can be calculated k,t .

[0035] The first predetermined rule may be a minimum charging time rule, that is, the minimum charging time t under the kth flexible charging stack. k,min It can be obtained by solving the following minimization problem: k,min =min t; This problem can be solved by summing up the maximum amount of electricity that can be charged in each time period until the charging needs of the target charging vehicle are met, and the minimum time required for charging is obtained.

[0036] It should be noted that other settings can be made for the first predetermined rule. For example, based on the minimum charging time rule, if the calculation results show that the charging time is the same, the flexible charging stack with the largest power margin can be selected as the target flexible charging stack. That is, the charging stack with the smallest charging time is assigned to the vehicle. If the minimum charging time is equal among multiple flexible charging stacks, the flexible charging stack with the largest power margin is selected. The calculation method of the power margin of the flexible charging stack is as follows: like Figure 2 The steps shown in are to calculate the minimum charging time of each flexible charging stack, select the charging station with the shortest minimum charging time, and if the minimum charging times are equal, select the flexible charging stack with the largest power margin.

[0037] It should also be noted that after the target flexible charging stack is determined, the determined target flexible charging stack and the calculated minimum charging time can be sent to the owner of the target electric vehicle. If the owner accepts, the minimum charging time is changed to execute, or the owner can adjust the charging time by himself, and the adjusted charging time is greater than the minimum charging time. If the owner does not accept, reselect or adjust the expected SOC level to ensure that the time and the determined target flexible charging stack meet the owner's expectations. Figure 2 Whether the user accepts the minimum charging time shown in , if yes, the owner sets the expected vehicle departure time, otherwise the user is reminded to reset a lower expected SOC.

[0038] As an optional embodiment, after the target flexible charging pile is determined, the target charging strategy can be determined. It should be noted that the target charging strategy can be determined after the target flexible charging pile is determined, or it can be triggered after the owner modifies the vehicle departure time, expected SOC level and other conditions and then determines the target flexible charging pile again, that is, after the owner determines it. A timed task trigger can also be set, where the time interval of the timed trigger is usually a period, that is, Δt. The purpose of the timed trigger is to use the latest information to adjust the target charging strategy that can be executed by the target flexible charging pile to prevent prediction errors and cumulative errors during charging. Figure 2 The user shown modifies the vehicle's departure time and sets off, and the scheduled task starts. First, when determining the operation of the target charging strategy, it is necessary to determine the charging strategy parameters, where the charging strategy parameters include the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, the environmental parameters of the target flexible charging pile, and the parameters of the second electric vehicle where the target flexible charging pile has been connected to the electric vehicle. Among them, the environmental parameters of the target flexible charging pile include: light intensity, temperature, etc.; obtain the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, and the environmental parameters of the target flexible charging pile as follows Figure 2 The input of the photovoltaic output prediction model shown. The second electric vehicle parameter of the electric vehicle that has been connected to the target flexible charging stack includes: the current SOC level SOC of the electric vehicle that has been connected to the target flexible charging stack k,i,0 , expected departure time t k,i,e , battery capacity E k,i ,like Figure 2 The current SOC, departure time and battery capacity of all currently involved vehicles are obtained as shown. By determining the charging strategy parameters, based on the first electric vehicle parameters and the charging strategy parameters, considering the influence of various data and variables, the target charging strategy of the target electric vehicle can be determined in a targeted manner.

[0039] As an optional embodiment, when determining the target charging strategy of the target electric vehicle based on the first electric vehicle parameters and the charging strategy parameters, multiple methods can be used, for example, based on the first electric vehicle parameters and the charging strategy parameters, a charging strategy function under a second predetermined rule is constructed, and the charging strategy function under the second predetermined rule is solved to determine the target charging strategy of the target electric vehicle. By constructing and solving the charging strategy function under the second predetermined rule, the target charging strategy finally determined can be based on evidence and more in line with expectations.

[0040] As an optional embodiment, when constructing a charging strategy function under a second predetermined rule based on the first electric vehicle parameters and the charging strategy parameters, in order to ensure that the obtained function is more accurate and the results are more rigorous, the constraints of the charging strategy function constructed under the second predetermined rule can be determined in a predetermined place based on the first electric vehicle parameters and the charging strategy parameters, wherein the predetermined place is a microgrid place including an energy storage system, a distributed photovoltaic system, and multiple flexible charging piles, and the constraints include: charging constraints of the target electric vehicle, charging power constraints of the target flexible charging pile, power constraints of the energy storage system, and scenario constraints of distributed photovoltaics. Under the constraints, a charging strategy function under the second predetermined rule is constructed. Figure 2 The setting optimization problem shown in the figure. Among them, the second predetermined rule is the rule of minimum electricity cost, peak shaving and valley filling rule, etc., which has high scalability.

[0041] The above constraints are introduced below:

[0042] 1) Charging constraints of the target EV: including the charging process constraint that the target EV should be charged to the expected SOC level before leaving, and the charging power constraint that the target EV should be charged within the expected departure time.

[0043] 1.1) Charging process constraints:

[0044] It should be noted that It represents the charging power of the i-th DC or AC vehicle connected to the k-th flexible charging pile in the t-th time period; K is the number of flexible charging piles, Δt is the time interval, and the time range is considered to be

[0045] 1.2) Charging power constraints:

[0046] It should be noted that It represents the charging power of the i-th DC or AC vehicle connected to the k-th flexible charging pile in the t-th period, is the upper limit of the charging power for DC charging vehicles, are the upper and lower limits of AC charging power, It is a 0-1 auxiliary variable indicating whether AC charging is started or not, expressing whether it is started or stopped. Indicates that there is currently charging power. Indicates that there is currently no charging power.

[0047] It should also be noted that due to current technical limitations, AC charging needs to start charging immediately after connection and meet the following charging continuity constraints: That is to say, the charging power must be continuous, and there will be no zero value in a string of charging power values.

[0048] 2) Charging power constraints of the target flexible charging stack:

[0049] For the target flexible charging stack, the flexible charging stack power constraint also needs to be met:

[0050] It should be noted that is the power upper limit of the kth flexible charging stack, where k can be substituted into the value represented by the target flexible charging stack.

[0051] 3) Power constraints of energy storage systems:

[0052] The energy storage system is placed outside the flexible charging stack, which includes two constraints: power operation constraints and power balance constraints.

[0053] 3.1) Power operation constraints:

[0054]

[0055] It should be noted that Indicates the current SOC level of the energy storage system, is the input and output power of the energy storage system, It is the maximum input and output power of the energy storage system. S OC B Indicates the SOC range that the energy storage system needs to maintain, E B is the capacity of the energy storage system. B It is a 0-1 auxiliary variable that indicates the charging of the energy storage system. When it is 1, it indicates charging, and when it is 0, it indicates discharging.

[0056] 3.2) Power balance constraints:

[0057]

[0058] It should be noted that is the power injected / received by the grid to / from the parking lot, λ g It is a 0-1 auxiliary variable. When it is 1, it means that the power grid injects energy into the parking lot. When it is 0, it means that the parking lot injects energy back into the power grid. is the photovoltaic power used. η I , η O is the input-output efficiency of the battery. b,t is the predicted base load. a,t , is the total power and average power on the transformer in this parking lot.

[0059] 4) Scenario constraints of distributed photovoltaics:

[0060] Before implementing scenario constraints for distributed photovoltaics, a photovoltaic output scenario set can be generated, which contains N ω Scenarios, each of which is a predicted photovoltaic output curve t∈[0,T], the scene probability is p k ,T is the total number of time periods studied.

[0061] It should be noted that the process of obtaining the scenario set can be determined by the photovoltaic output prediction model. The time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, and the environmental parameters of the target flexible charging pile are input into the model to obtain the scenario set. The scenario set can be understood as a data set, similar to a table. Photovoltaic power generation is proportional to light intensity, operating temperature, and power coefficient. The horizontal and vertical fields of the table are light intensity and temperature. When used specifically, the environmental parameters are obtained by looking up the table according to the current weather.

[0062] Considering the randomness of distributed photovoltaic scenarios, we can obtain the following constraints:

[0063] in, represents the probability under the photovoltaic scene set, is the PV power used and the PV output in the scenario; α is the confidence level, which is usually taken as 0.05.

[0064] It should be noted that this constraint can also be written as This constraint is usually relaxed to That is: Among them, ζ is an auxiliary variable.

[0065] It should also be noted that by putting ζ into the decision variable of the whole problem and expanding the expectation, the constraint can also be transformed into: This constraint can introduce an auxiliary variable η for each scenario. k , the above constraints can be transformed into the following linear constraints:

[0066]

[0067] This optional embodiment involves a microgrid site including an energy storage system, a distributed photovoltaic system, and multiple flexible charging piles. This optional embodiment takes into account the randomness of photovoltaic output and processes the randomness of photovoltaic processing with CVaR, which can take into account the fluctuations of new energy to a greater extent and promote the consumption of new energy.

[0068] As an optional embodiment, when solving the charging strategy function under the second predetermined rule and determining the target charging strategy of the target electric vehicle, the maximum time value in solving the charging strategy function under the second predetermined rule can be determined. Within the maximum time value, the charging strategy function under the second predetermined rule is solved to determine the target charging strategy. That is, in order to be used in actual applications, it is necessary to set the maximum solution time, otherwise the optimal solution will be sought all the time to avoid the phenomenon of too long solution time. Figure 2 Solution time threshold shown.

[0069] As an optional embodiment, the second predetermined rule of the above charging strategy function can be a rule of minimum electricity cost or a peak load shifting rule. For example, the objective function is a trade-off between the two objectives of electricity purchase cost and peak load shifting. Let ω∈[0,1] be the weight of the electricity purchase cost. The objective function of the optimization problem is: The second predetermined rule is reflected in the above formula as the sum of two terms. The first term refers to the power purchase cost, and the second term is the power variance, which reflects the peak load reduction and valley load filling target. It should be noted that ρ b,t , ρ s,t It is the unit price of electricity purchased and sold. The problem involved in the above objective function can be understood as a MIQP (mixed integer quadratic programming) problem, which can be solved by a commercial solver. The second predetermined rule is the rule of minimum electricity cost and the rule of peak shaving and valley filling, which can ensure the orderly use of electricity in the predetermined place. Figure 2 The structure and solution shown are the optimization problem of charging control of multiple flexible charging piles considering the randomness of photovoltaic output, as well as the strategy of outputting and executing the current period.

[0070] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

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

[0072] Example 2

[0073] According to an embodiment of the present invention, a device for implementing the above-mentioned electric vehicle flexible charging method is also provided. Figure 3 is a structural block diagram of a flexible charging device for an electric vehicle according to an embodiment of the present invention. Figure 3 As shown, the device includes: an acquisition module 302, a first determination module 304, a second determination module 306 and a third determination module 308. The device is described in detail below.

[0074] An acquisition module 302 is used to acquire a first electric vehicle parameter of a target electric vehicle that has entered a predetermined location, and an initial charging strategy in which multiple flexible charging piles have been connected to the electric vehicle; a first determination module 304 is connected to the acquisition module 302, and is used to determine a target flexible charging pile from multiple flexible charging piles according to a first predetermined rule based on the initial charging strategy, wherein the target flexible charging pile is used to charge the target electric vehicle; a second determination module 306 is connected to the first determination module 304, and is used to determine charging strategy parameters, wherein the charging strategy parameters include the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, the environmental parameters of the target flexible charging pile, and the second electric vehicle parameters of the electric vehicle in which the target flexible charging pile has been connected; a third determination module 308 is connected to the second determination module 306, and is used to determine a target charging strategy for the target electric vehicle based on the first electric vehicle parameter and the charging strategy parameter.

[0075] It should be noted here that the above-mentioned acquisition module 302, the first determination module 304, the second determination module 306 and the third determination module 308 correspond to steps S102 to S108 in implementing the flexible charging method for electric vehicles, and the examples and application scenarios implemented by the multiple modules are the same as those of the corresponding steps, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0076] Example 3

[0077] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute instructions to implement any of the above-mentioned flexible charging methods for electric vehicles.

[0078] Example 4

[0079] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned flexible charging methods for electric vehicles.

[0080] Example 5

[0081] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the electric vehicle flexible charging method described in any one of the above items is implemented.

[0082] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0083] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0084] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0086] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0088] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A flexible charging method for electric vehicles, characterized in that: include: Acquire a first electric vehicle parameter of a target electric vehicle that has entered a predetermined location, and an initial charging strategy of the electric vehicle to which multiple flexible charging piles have been connected; According to the initial charging strategy, a target flexible charging stack is determined from the multiple flexible charging stacks according to a first predetermined rule, wherein the target flexible charging stack is used to charge the target electric vehicle; Determine charging strategy parameters, wherein the charging strategy parameters include the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, the environmental parameters of the target flexible charging pile, and the parameters of a second electric vehicle to which the target flexible charging pile has been connected; A target charging strategy for the target electric vehicle is determined according to the first electric vehicle parameter and the charging strategy parameter.

2. The method according to claim 1, characterized in that: The step of determining a target flexible charging stack from among the plurality of flexible charging stacks according to a first predetermined rule based on the initial charging strategy includes: According to the initial charging strategy, obtaining power margins of the multiple flexible charging stacks; According to the power margins of the multiple flexible charging stacks, a target flexible charging stack is determined from the multiple flexible charging stacks according to a first predetermined rule.

3. The method according to claim 1, characterized in that The step of determining the target charging strategy of the target electric vehicle based on the first electric vehicle parameter and the charging strategy parameter includes: Constructing a charging strategy function under a second predetermined rule according to the first electric vehicle parameter and the charging strategy parameter; Solve the charging strategy function under the second predetermined rule to determine the target charging strategy of the target electric vehicle.

4. The method according to claim 3, characterized in that The charging strategy function constructed under the second predetermined rule according to the first electric vehicle parameter and the charging strategy parameter includes: According to the first electric vehicle parameter and the charging strategy parameter, the constraint conditions of the charging strategy function constructed under the second predetermined rule are determined in the predetermined place, wherein the predetermined place is a microgrid place including an energy storage system, a distributed photovoltaic system, and the plurality of flexible charging piles, and the constraint conditions include: the charging constraint of the target electric vehicle, the charging power constraint of the target flexible charging pile, the power constraint of the energy storage system, and the scenario constraint of the distributed photovoltaic; Under the constraint conditions, a charging strategy function under the second predetermined rule is constructed.

5. The method according to claim 3, characterized in that: The step of solving the charging strategy function under the second predetermined rule to determine the target charging strategy of the target electric vehicle includes: Determining a maximum time value in the charging strategy function solved under the second predetermined rule; Within the maximum time value, a charging strategy function under the second predetermined rule is solved to determine the target charging strategy.

6. The method according to claim 3, characterized in that The second predetermined rule includes a rule of minimum electricity cost and a rule of peak load shifting.

7. A flexible charging device for electric vehicles, characterized in that: include: An acquisition module, used to acquire a first electric vehicle parameter of a target electric vehicle driving into a predetermined location, and an initial charging strategy of multiple flexible charging piles connected to the electric vehicle; A first determination module, configured to determine a target flexible charging stack from among the plurality of flexible charging stacks according to the initial charging strategy and according to a first predetermined rule, wherein the target flexible charging stack is used to charge the target electric vehicle; A second determination module is used to determine charging strategy parameters, wherein the charging strategy parameters include the time when the target electric vehicle arrives at the target flexible charging pile, the location of the target flexible charging pile, the environmental parameters of the target flexible charging pile, and the second electric vehicle parameters of the electric vehicle to which the target flexible charging pile has been connected; The third determination module is used to determine the target charging strategy of the target electric vehicle according to the first electric vehicle parameter and the charging strategy parameter.

8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the flexible charging method for an electric vehicle as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the flexible charging method for an electric vehicle as described in any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the electric vehicle flexible charging method according to any one of claims 1 to 6 is implemented.