Method and device for calculating primary frequency regulation capacity of electric vehicles
By setting constraints on the performance status and historical operating information of the electric vehicle's on-board battery, as well as the power constraints of the charging pile, the frequency modulation capacity of the electric vehicle is calculated. This solves the problem of existing technologies that do not consider battery safety, user travel needs and charging pile limitations, and achieves more accurate frequency modulation capacity calculation and more efficient frequency modulation effects.
Patent Information
- Application Number
- CN202410812327.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2044-06-21
AI Technical Summary
The primary frequency modulation method in the existing technology does not take into account the battery safety of electric vehicles, user travel needs and charging pile limitations, resulting in errors in the estimation of frequency modulation potential and affecting the frequency modulation effect.
The first and second constraints are set by determining the performance status and historical operation information of the on-board battery. The third constraint is constructed by combining the input power and output power of the charging pile to calculate the frequency regulation capacity of the electric vehicle under different constraint conditions.
Taking into account battery safety, user travel needs and the operating status of charging piles, the adjustable capacity of electric vehicles is accurately calculated to improve the efficiency and effectiveness of primary frequency regulation.
Smart Images

Figure CN118636729B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of frequency modulation control technology, and in particular to a method for calculating the primary frequency modulation capacity of an electric vehicle, a calculation device, a computer-readable storage medium, and a charging pile control system. Background Art
[0002] Electric vehicle batteries, with their rapid charge and discharge capabilities, can directly participate in the grid's primary frequency regulation with high responsiveness, thereby reducing significant frequency fluctuations across the grid. With the rapid development of my country's electric vehicle industry and the increasing number of electric vehicles, their potential as a controllable mobile load participating in the grid's primary frequency regulation is becoming increasingly apparent.
[0003] In existing technologies, solutions for electric vehicles participating in primary frequency regulation primarily focus on frequency regulation control strategies, while research on frequency regulation potential assessment is relatively limited. The closest approach is a method for assessing the frequency regulation capability of electric vehicle charging stations. This method categorizes electric vehicles based on their initial state of charge, expected state of charge, expected end time, and rated charging power. This classifies the charging categories of the electric vehicles, and then determines the charging process from the start to the expected end time based on the charging categories. Finally, based on the charging process of each electric vehicle, the frequency regulation power of the charging station is determined.
[0004] The aforementioned technical solution involves a large amount of data and numerous evaluation steps during the regulation process, resulting in a slow response. Furthermore, the solution fails to consider the impact of electric vehicle battery safety, user travel needs, and charging station performance on regulation during the implementation of regulation. Furthermore, the solution tends to focus on the overall contribution of charging stations to primary frequency regulation, rather than evaluating the regulation potential of individual electric vehicles.
[0005] In summary, the primary frequency modulation method in the existing technology lacks consideration of the impact of electric vehicle battery safety, user travel needs, and charging pile performance on regulation, which easily leads to errors in the estimation of frequency modulation potential, thereby affecting the frequency modulation effect. Summary of the Invention
[0006] The main purpose of this application is to provide a method for calculating the primary frequency modulation capacity of an electric vehicle, a calculation device, a computer-readable storage medium, and a charging pile control system, so as to at least solve the problem that the primary frequency modulation method in the prior art does not take into account battery safety, user travel needs, and charging pile limitations.
[0007] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for calculating the primary frequency regulation capacity of an electric vehicle is provided, comprising: determining a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, and constructing a third constraint based on the input power and output power of the target charging pile, the first constraint being used to limit the upper and lower limits of the power of the on-board battery, the second constraint being used to limit the lower limit of the power of the on-board battery while meeting the travel needs of the user, and the third constraint being used to limit the upper and lower limits of the power of the target charging pile; when the power of the on-board battery meets the first constraint, the maximum value of the discharged power of the on-board battery within the first target period is calculated based on the initial power of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period is calculated based on the initial power of the on-board battery to obtain a first target upper bound. The starting time of the first target period is the current time, and the duration of the first target period is the first preset duration; when the power of the on-board battery meets the second constraint condition, the maximum value of the discharged power of the on-board battery in the first target period is calculated according to the initial power of the on-board battery to obtain the second target lower bound; when the power of the target charging pile meets the third constraint condition, the maximum value of the power output from the target charging pile to the on-board battery in the first target period is calculated to obtain the second target upper bound, and the maximum value of the power output from the on-board battery to the target charging pile in the first target period is calculated to obtain the third target lower bound; the minimum value between the first target upper bound and the second target upper bound is determined as the interval upper bound of the frequency modulation capacity and the maximum value between the first target lower bound, the second target lower bound and the third target lower bound is determined as the interval lower bound of the frequency modulation capacity to obtain the frequency modulation capacity of the on-board battery of the electric vehicle.
[0008] Optionally, the first constraint condition is determined according to the performance status of the on-board battery of the target vehicle, including: determining the upper limit of the battery power of the on-board battery when no overcharging occurs according to the performance status of the on-board battery, to obtain a first threshold; determining the lower limit of the battery power of the on-board battery when no over-discharge occurs according to the performance status of the on-board battery, to obtain a second threshold; and determining the battery power of the on-board battery to be greater than the second threshold and less than the first threshold as the first constraint condition.
[0009] Optionally, a second constraint condition is determined based on historical operating information of the target vehicle, including: determining the average daily mileage of the target vehicle within a second target period based on the historical operating information, the end time of the second target period being the current time, and the duration of the second target period being a second preset duration; obtaining the cruising range of the target vehicle, and calculating the ratio of the average daily mileage to the cruising range to obtain a first target power; determining the remaining power of the on-board battery of the target vehicle when exiting a frequency modulation as the second target power, and determining the second target power being greater than or equal to the sum of the second threshold and the first target power as the second constraint condition.
[0010] Optionally, a third constraint condition is constructed based on the input power and output power of the target charging pile, including: obtaining the charging rated power of the target charging pile to obtain a third threshold, obtaining the discharge rated power of the target charging pile to obtain a fourth threshold; and determining the real-time charging and discharging power of the target charging pile to be less than or equal to the third threshold and greater than or equal to the fourth threshold as the third constraint condition.
[0011] Optionally, when the power of the on-board battery satisfies the first constraint condition, the maximum value of the on-board battery discharge power within the first target period is calculated according to the initial power of the on-board battery to obtain the first target lower bound, and the maximum value of the on-board battery charge power within the first target period is calculated according to the initial power of the on-board battery to obtain the first target upper bound, including: determining the moment when the electric vehicle starts charging as the first moment, calculating the charging power of the on-board battery at the maximum charging power between the first moment and the current moment, and obtaining the third target power, the maximum charging power of the on-board battery is such that the remaining power of the on-board battery at each moment between the first moment and the current moment satisfies The maximum power of the first constraint condition; calculate the discharged power of the on-board battery at the maximum discharge power between the first moment and the current moment to obtain the fourth target power, the maximum discharge power of the on-board battery being the maximum power that makes the remaining power of the on-board battery at each moment between the first moment and the current moment satisfy the first constraint condition; solve the maximum value of the discharged power of the on-board battery in the first target period according to the initial power, the third target power and the first constraint condition to obtain the first target lower bound; solve the maximum value of the charged power of the on-board battery in the first target period according to the initial power, the fourth target power and the first constraint condition to obtain the first target upper bound.
[0012] Optionally, when the power of the on-board battery satisfies the second constraint condition, the maximum value of the discharged power of the on-board battery within the first target time period is calculated according to the initial power of the on-board battery to obtain the second target lower bound, including: determining the moment when the electric vehicle exits the frequency modulation as the second moment, calculating the charging power of the on-board battery at the maximum charging power between the first moment and the second moment to obtain the fifth target power; calculating the charging power of the on-board battery at the maximum charging power between the current moment and the second moment to obtain the sixth target power; when the sixth target power is greater than or equal to the first target power, solving the maximum value of the discharged power of the on-board battery within the first target time period according to the initial power, the second constraint condition and the third target power to obtain the second target lower bound; when the sixth target power is less than the first target power, solving the maximum value of the discharged power of the on-board battery within the first target time period according to the fifth target power, the initial power and the second constraint condition to obtain the second target lower bound.
[0013] Optionally, when the power of the target charging pile satisfies the third constraint condition, the maximum amount of electricity output by the target charging pile to the vehicle battery during the first target period is calculated to obtain the second target upper bound, and the maximum amount of electricity output by the vehicle battery to the target charging pile during the first target period is calculated to obtain the third target lower bound, including: when the real-time discharge power of the target charging pile is the fourth threshold, calculating the charging amount of the vehicle battery during the first target period to obtain the second target upper bound; when the real-time charging power of the target charging pile is the third threshold, calculating the discharge amount of the vehicle battery during the first target period to obtain the third target lower bound.
[0014] According to another aspect of the present application, a primary frequency regulation capacity calculation device for an electric vehicle is provided, the device comprising: a first determination unit for determining a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, respectively, and constructing a third constraint based on the input power and output power of the target charging pile, the first constraint being used to define the upper and lower limits of the power level of the on-board battery, the second constraint being used to define the lower limit of the power level of the on-board battery while satisfying the user's travel needs, and the third constraint being used to define the upper and lower limits of the power of the target charging pile; a first calculation unit for calculating, when the power level of the on-board battery satisfies the first constraint, the maximum value of the discharged power of the on-board battery within a first target period based on the initial power level of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period to obtain a first target upper bound, and the first target time being The starting moment of the segment is the current moment, and the duration of the first target period is a first preset duration; the second calculation unit is used to calculate the maximum value of the discharged power of the on-board battery in the first target period according to the initial power of the on-board battery when the power of the on-board battery meets the second constraint condition, and obtain the second target lower bound; the third calculation unit is used to calculate the maximum value of the power output from the target charging pile to the on-board battery in the first target period to obtain the second target upper bound, and calculate the maximum value of the power output from the on-board battery to the target charging pile in the first target period to obtain the third target lower bound when the power of the target charging pile meets the third constraint condition; the second determination unit is used to determine the minimum value of the first target upper bound and the second target upper bound as the interval upper bound of the frequency modulation capacity and determine the maximum value of the first target lower bound, the second target lower bound and the third target lower bound as the interval lower bound of the frequency modulation capacity, to obtain the frequency modulation capacity of the on-board battery of the electric vehicle.
[0015] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described.
[0016] According to another aspect of the present application, a charging pile control system is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods described.
[0017] Applying the technical solution of the present application, in the above-mentioned method for calculating the primary frequency regulation capacity of an electric vehicle, first, the first constraint and the second constraint are determined respectively according to the performance status and historical operation information of the on-board battery of the target vehicle, and the third constraint is constructed according to the input power and output power of the target charging pile. The above-mentioned first constraint is used to limit the upper and lower limits of the power of the above-mentioned on-board battery, the above-mentioned second constraint is used to limit the lower limit of the power of the above-mentioned on-board battery while meeting the travel needs of the user, and the above-mentioned third constraint is used to limit the upper and lower limits of the power of the above-mentioned target charging pile; then, when the power of the on-board battery meets the above-mentioned first constraint, the maximum value of the discharge power of the above-mentioned on-board battery in the first target time period is calculated according to the initial power of the above-mentioned on-board battery to obtain the first target lower bound, and the maximum value of the charging power of the above-mentioned on-board battery in the above-mentioned first target time period is calculated according to the above-mentioned initial power of the above-mentioned on-board battery to obtain the first target upper bound, and the above-mentioned first target time period The starting moment is the current moment, and the duration of the above-mentioned first target time period is the first preset duration; thereafter, when the power of the on-board battery meets the above-mentioned second constraint condition, the maximum value of the discharged power of the on-board battery in the above-mentioned first target time period is calculated according to the above-mentioned initial power of the above-mentioned on-board battery, and the second target lower bound is obtained; thereafter, when the power of the target charging pile meets the above-mentioned third constraint condition, the maximum value of the power output from the above-mentioned target charging pile to the above-mentioned on-board battery in the above-mentioned first target time period is calculated to obtain the second target upper bound, and the maximum value of the power output from the above-mentioned on-board battery to the above-mentioned target charging pile in the above-mentioned first target time period is calculated to obtain the third target lower bound; finally, the minimum value between the above-mentioned first target upper bound and the above-mentioned second target upper bound is determined as the interval upper bound of the frequency modulation capacity, and the maximum value between the above-mentioned first target lower bound, the above-mentioned second target lower bound and the above-mentioned third target lower bound is determined as the interval lower bound of the above-mentioned frequency modulation capacity, so as to obtain the frequency modulation capacity of the above-mentioned on-board battery of the above-mentioned electric vehicle. This application comprehensively considers the impact of electric vehicle battery safety, user travel needs, and the operating status of charging piles on the adjustable capacity of electric vehicles participating in primary frequency modulation. The real-time adjustable capacity of electric vehicles is solved under the constraints of battery safety, travel demand, and charging pile power, and then the final adjustable capacity is determined. This application solves the problem that the primary frequency modulation method in the prior art does not take battery safety, user travel needs, and charging pile limitations into consideration. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A hardware structure block diagram of a mobile terminal according to a method for calculating the primary frequency modulation capacity of an electric vehicle provided in an embodiment of the present application is shown;
[0019] Figure 2 A flow chart of a method for calculating the primary frequency regulation capacity of an electric vehicle provided in accordance with an embodiment of the present application is shown;
[0020] Figure 3 The figure shows a structural block diagram of a primary frequency regulation capacity calculation device for an electric vehicle provided according to an embodiment of the present application.
[0021] The above drawings include the following reference numerals:
[0022] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in this application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention 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 in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations 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 clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] As introduced in the background technology, the primary frequency modulation method in the prior art tends to consider the charging station as a whole, and lacks the impact of battery safety of electric vehicle cells, user travel needs and charging pile restrictions. In order to solve the problem that the primary frequency modulation method in the prior art does not take battery safety, user travel needs and charging pile restrictions into consideration, the embodiments of the present application provide a method for calculating the primary frequency modulation capacity of an electric vehicle, a computing device, a computer-readable storage medium and a charging pile control system.
[0027] The technical solutions in the embodiments of the present invention will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present invention.
[0028] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a method for determining the frequency modulation capacity of an electric vehicle according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown) a processor 102 (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA and other processing devices) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It will be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components than shown, or with Figure 1 Different configurations shown.
[0029] The memory 104 can be used to store computer programs, such as software programs and modules of application software, such as the computer program corresponding to the device information display method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above-mentioned method. The memory 104 may include a high-speed random access memory and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned networks include but are not limited to the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wireless network provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, abbreviated as NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0030] In this embodiment, a method for calculating the primary frequency regulation capacity of an electric vehicle running on a mobile terminal, a computer terminal, or a similar computing device 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.
[0031] Figure 2 This is a flow chart of a method for calculating the primary frequency modulation capacity of an electric vehicle according to an embodiment of the present application. Figure 2 As shown, the method includes the following steps:
[0032] Step S201: Determine a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, and construct a third constraint based on the input power and output power of the target charging pile. The first constraint is used to define the upper and lower limits of the power of the on-board battery, the second constraint is used to define the lower limit of the power of the on-board battery while meeting the user's travel needs, and the third constraint is used to define the upper and lower limits of the power of the target charging pile.
[0033] In a frequency regulation process, the three main parties involved are electric vehicles, charging stations and power grids. During the regulation process, the frequency regulation potential is mainly affected by the performance of electric vehicles and the performance of charging piles at charging stations.
[0034] On this basis, in the embodiments of the present application, firstly, based on the fact that no damage should be caused to the user's electric vehicle during a single frequency modulation process, the above-mentioned first constraint condition is proposed, that is, the upper and lower limits of the SOC (State of Charge) of the vehicle battery during a single frequency modulation process are limited to prevent overcharging and over-discharging of the vehicle battery; secondly, based on the fact that no impact should be placed on the user's use of the electric vehicle during a single frequency modulation process, the above-mentioned second constraint condition is proposed, that is, the lower limit of the amount of power of the vehicle battery during a single frequency modulation process is limited to prevent the vehicle battery from discharging a large amount of power during a single frequency modulation process, thereby affecting the user's travel; finally, based on the input and output power of the charging pile, the above-mentioned third constraint condition is proposed, that is, by constraining the upper and lower power limits corresponding to the input and output of the charging pile during a single frequency modulation process, it is avoided that the actual control result does not achieve the expected effect due to the power limit of the charging pile.
[0035] Furthermore, a constraint model is constructed based on the first constraint condition, the second constraint condition and the third constraint condition.
[0036] Step S202, when the power level of the on-board battery satisfies the first constraint condition, the maximum value of the discharged power of the on-board battery within a first target period is calculated based on the initial power level of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target upper bound, the starting time of the first target period is the current time, and the duration of the first target period is a first preset duration;
[0037] In an embodiment of the present application, the control capacity is characterized by the upper and lower limits of the electric vehicle's battery charge change. The SOC of the electric vehicle when it is connected to the target charging station is obtained to obtain the initial charge. The start time of the first target period is set to T, i.e., the current time, and the end time is set to T+1. The first target period is further set to t. The solution of the present application is to predict the frequency regulation capacity within the next control cycle at the current time.
[0038] In this application, the charging capacity is represented by a positive value and the discharging capacity is represented by a negative value. Based on the first constraint condition, it can be inferred that if the electric vehicle is connected to the target charging pile, it will continue to discharge at the maximum discharge power until the battery SOC lower limit is reached at time T+1, that is, SOC T =SOC l , then the control capacity that can be charged in time period t is the largest, that is, the first target upper bound is obtained. Similarly, if the electric vehicle is connected to the target charging pile, it will continue to charge at the maximum discharge power until the battery SOC upper limit SOC is reached at time T+1. T =SOC h , then the control capacity that can be discharged during period t is the largest, that is, the lower bound of the first target mentioned above is obtained.
[0039] Step S203, when the power level of the on-board battery satisfies the second constraint, calculating the maximum value of the discharged power of the on-board battery within the first target period according to the initial power level of the on-board battery, to obtain a second target lower bound;
[0040] It is understandable that if the electric vehicle is in a charging state before time T+1, it will not affect the user's travel needs.
[0041] Therefore, if the electric vehicle is in a discharging state before time T+1, and the remaining power at time T+1 is greater than the sum of the above-mentioned battery SOC lower limit and the battery SOC required for the user to travel, then the power that can be discharged in time period t reaches the maximum, that is, the above-mentioned second target lower bound is obtained.
[0042] Step S204: When the power of the target charging pile satisfies the third constraint, the maximum amount of electricity output from the target charging pile to the vehicle battery during the first target period is calculated to obtain a second target upper bound, and the maximum amount of electricity output from the vehicle battery to the target charging pile during the first target period is calculated to obtain a third target lower bound.
[0043] Specifically, the primary frequency modulation process is subject to the input and output power limits of the charging pile. That is, when the input and output power of the electric vehicle is greater than that of the charging pile, the actual capacity that can be regulated is determined by the performance of the charging pile.
[0044] Therefore, within the time period t, the target charging pile is charged at the maximum power, and the corresponding battery SOC change is determined, that is, the second target upper limit is obtained. Similarly, within the time period t, the target charging pile is discharged at the maximum power, and the corresponding battery SOC change is determined, that is, the third target lower limit is obtained.
[0045] Step S205, determining the minimum value between the first target upper bound and the second target upper bound as the upper bound of the interval of the frequency modulation capacity and determining the maximum value between the first target lower bound, the second target lower bound and the third target lower bound as the lower bound of the interval of the frequency modulation capacity, and obtaining the frequency modulation capacity of the above-mentioned on-board battery of the above-mentioned electric vehicle.
[0046] It can be understood that based on the above constraint model, it is easy to determine the calculation formula for the upper limit of the frequency regulation capacity interval of the adjustable power of the electric vehicle and the lower limit of the frequency regulation capacity interval as follows:
[0047]
[0048]
[0049] in, is the lower bound of the first objective mentioned above, is the lower bound of the second objective mentioned above, is the lower bound of the third objective mentioned above, is the upper bound of the first objective mentioned above, is the upper bound of the second target, ΔSOC max,t is the upper limit of the frequency modulation capacity, ΔSOC min,t It is the lower bound of the above frequency modulation capacity.
[0050] Finally, it is determined that the frequency modulation capacity of the electric vehicle at the current time T is [ΔSOC min,t C b ,ΔSOC max,t C b ], where C b is the capacity of the vehicle battery.
[0051] After obtaining the frequency modulation capacity, in an optional implementation manner, the method further includes:
[0052] During the first target time period, the remaining power of each of the corresponding target vehicles is adjusted according to the frequency modulation capacity to complete the frequency modulation.
[0053] Specifically, when the target vehicle participates in a frequency modulation, the target vehicle is charged or discharged according to the operating status of the power grid, and during the frequency modulation process, the change in the remaining power of the target vehicle in the first target time period is within the frequency modulation capacity.
[0054] Through this embodiment, first, the first constraint and the second constraint are determined according to the performance status and historical operation information of the on-board battery of the target vehicle, and the third constraint is constructed according to the input power and output power of the target charging pile. The above-mentioned first constraint is used to limit the upper and lower limits of the power of the above-mentioned on-board battery, the above-mentioned second constraint is used to limit the lower limit of the power of the above-mentioned on-board battery when the user's travel needs are met, and the above-mentioned third constraint is used to limit the upper and lower limits of the power of the above-mentioned target charging pile; then, when the power of the on-board battery meets the above-mentioned first constraint, the maximum value of the discharged power of the above-mentioned on-board battery in the first target time period is calculated according to the initial power of the above-mentioned on-board battery to obtain the first target lower bound, and the maximum value of the charged power of the above-mentioned on-board battery in the above-mentioned first target time period is calculated according to the above-mentioned initial power of the above-mentioned on-board battery to obtain the first target upper bound. The starting time of the above-mentioned first target time period is the current time, and the upper bound is obtained. The duration of the first target time period is a first preset time period; thereafter, when the power of the on-board battery meets the above-mentioned second constraint condition, the maximum value of the discharged power of the on-board battery in the above-mentioned first target time period is calculated according to the above-mentioned initial power of the above-mentioned on-board battery to obtain the second target lower bound; thereafter, when the power of the target charging pile meets the above-mentioned third constraint condition, the maximum value of the power output from the above-mentioned target charging pile to the on-board battery in the above-mentioned first target time period is calculated to obtain the second target upper bound, and the maximum value of the power output from the above-mentioned on-board battery to the above-mentioned target charging pile in the above-mentioned first target time period is calculated to obtain the third target lower bound; finally, the minimum value between the above-mentioned first target upper bound and the above-mentioned second target upper bound is determined as the interval upper bound of the frequency modulation capacity and the maximum value between the above-mentioned first target lower bound, the above-mentioned second target lower bound and the above-mentioned third target lower bound is determined as the interval lower bound of the above-mentioned frequency modulation capacity to obtain the frequency modulation capacity of the on-board battery of the above-mentioned electric vehicle. This application comprehensively considers the impact of electric vehicle battery safety, user travel needs, and the operating status of charging piles on the adjustable capacity of electric vehicles participating in primary frequency modulation. The real-time adjustable capacity of electric vehicles is solved under the constraints of battery safety, travel demand, and charging pile power, and then the final adjustable capacity is determined. This application solves the problem that the primary frequency modulation method in the prior art does not take battery safety, user travel needs, and charging pile limitations into consideration.
[0055] In order to determine the first constraint condition, in an optional implementation, step S201 includes:
[0056] Step S2011, determining the upper limit of the battery capacity of the vehicle battery without overcharging the vehicle battery according to the performance status of the vehicle battery, and obtaining a first threshold value;
[0057] Specifically, according to the performance state of the vehicle battery, the power value of the vehicle battery at the time of overcharging is determined, that is, the first threshold SOC is obtained.h .
[0058] Step S2012, determining a lower limit of the battery capacity of the vehicle battery without over-discharge according to the performance status of the vehicle battery, to obtain a second threshold value;
[0059] Specifically, according to the performance status of the vehicle battery, the power value of the vehicle battery at the time of over-discharge is determined, that is, the above SOC l .
[0060] Step S2013 : determining that the power level of the vehicle-mounted battery is greater than the second threshold and less than the first threshold as the first constraint condition.
[0061] Specifically, let the real-time power of the above-mentioned vehicle battery be SOC T , then the formula of the first constraint condition is determined as: SOC l <SOC T <SOC h .
[0062] In order to determine the second constraint condition, in an optional implementation, step S201 further includes:
[0063] Step S2014: determining the average daily mileage of the target vehicle within a second target period based on the historical operating information, where the end time of the second target period is the current time, and the duration of the second target period is a second preset duration;
[0064] In one embodiment of the present application, in order to determine the user's travel needs, the historical operation information of the vehicle battery is obtained to determine the user's average daily mileage L in the past period of time. d , and use it as the user's mileage for the next day.
[0065] In a specific implementation, the second target period may be the previous week, month, etc.
[0066] Step S2015, obtaining the cruising range of the target vehicle, and calculating the ratio of the average daily mileage to the cruising range to obtain a first target power level;
[0067] Specifically, obtain the cruising range L of the target vehicle r , that is, the mileage of the target vehicle in the fully charged state is obtained, and then the ratio of the above average daily mileage to the above cruising range is calculated. The change value of the user's normal daily driving SOC can be determined to obtain the above-mentioned first target power.
[0068] Step S2016, determining the remaining power of the on-board battery of the target vehicle when exiting a frequency modulation as the second target power, and determining that the second target power is greater than or equal to the sum of the second threshold and the first target power as the second constraint condition.
[0069] Specifically, let the second target power be SOC f , then the formula of the second constraint condition is expressed as:
[0070]
[0071] In order to determine the third constraint condition, in an optional implementation, step S201 further includes:
[0072] Step S2017: Obtain the charging rated power of the target charging pile to obtain a third threshold value, and obtain the discharge rated power of the target charging pile to obtain a fourth threshold value;
[0073] Specifically, the charging rated power P of the target charging pile is obtained. N , obtain the third threshold, and obtain the discharge rated power of the target charging pile - P N , and obtain the fourth threshold mentioned above.
[0074] Step S2018: determining that the real-time charging and discharging power of the target charging pile is less than or equal to the third threshold and greater than or equal to the fourth threshold as the third constraint condition.
[0075] Specifically, let the real-time charging and discharging power P of the target charging pile be T , then the formula of the third constraint condition is expressed as:
[0076] -P N ≤P T ≤P N .
[0077] In order to calculate the first target lower bound and the second target upper bound according to the first constraint, in an optional implementation, step S202 includes:
[0078] Step S2021, determining the time when the electric vehicle starts charging as the first time, calculating the charging capacity of the on-board battery when charging at the maximum charging power between the first time and the current time, to obtain a third target capacity, the maximum charging power of the on-board battery being the maximum power such that the remaining capacity of the on-board battery at each time between the first time and the current time satisfies the first constraint condition;
[0079] Specifically, the moment when the electric vehicle is connected to the charging pile is the first moment T0, and the corresponding time period is t0. Then the calculation formula for the charge and discharge power between the first moment T0 and the current moment T1 is:
[0080] Furthermore, if charging is performed at the maximum charging power between the first moment and the current moment, the charging power reaches a maximum value, that is, the third target power is obtained.
[0081] Step S2022: Calculate the discharge capacity of the on-board battery at the maximum discharge power between the first moment and the current moment to obtain a fourth target capacity, wherein the maximum discharge power of the on-board battery is the maximum power such that the remaining capacity of the on-board battery at each moment between the first moment and the current moment satisfies the first constraint condition;
[0082] Specifically, similarly, if discharging is performed at the maximum discharge power between the first moment and the current moment, the discharged power reaches a maximum value, that is, the fourth target power is obtained.
[0083] Step S2023, solving the maximum value of the on-board battery discharge power within the first target period according to the initial power, the third target power, and the first constraint condition to obtain the first target lower bound;
[0084] Specifically, to solve the adjustable power range, first satisfy the first preset condition mentioned above, the formula is expressed as: Where SOC0 represents the SOC of the electric vehicle at the first moment T0. Based on this, the first target lower bound is deduced, that is, the maximum discharge capacity of the vehicle battery during the first target period, so that ΔSOC t Take the minimum value to make ΔSOC t Take the minimum value, then set each control cycle before time T to charge at the maximum power of the vehicle battery, then calculate ΔSOC t The minimum value can be obtained, that is Among them, ΔSOC max,i The SOC change when charging at maximum power in each period.
[0085] Step S2024 , solving the maximum value of the on-board battery charging power within the first target period according to the initial power, the fourth target power and the first constraint condition, to obtain the first target upper bound.
[0086] Specifically, to solve the adjustable power range, first satisfy the first preset condition mentioned above, and then deduce that the first target upper bound is ΔSOC t Take the maximum value to make ΔSOCt Take the maximum value, then set each control cycle before time T to discharge at the maximum power of the vehicle battery, then calculate ΔSOC t The maximum value can be obtained, that is Among them, ΔSOC min,i It is the SOC change when discharging at maximum power in each period.
[0087] In order to calculate the second target lower bound according to the second constraint, in an optional implementation, step S203 includes:
[0088] Step S2031, determining the time when the electric vehicle exits the frequency modulation as the second time, calculating the charging capacity of the on-board battery at the maximum charging power between the first time and the second time, to obtain a fifth target capacity;
[0089] Specifically, the moment when the electric vehicle exits the primary frequency modulation is determined as the second moment Tr, and the time period corresponding to Tr is tr. The calculation formula for calculating the charging amount of the vehicle battery between the first moment T0 and the second moment Tr is:
[0090] Furthermore, if charging is performed at the maximum charging power between the first moment and the second moment, the charging power reaches a maximum value, that is, the fifth target power is obtained.
[0091] Step S2032, calculating the charging capacity of the vehicle battery when charged at the maximum charging power between the current moment and the second moment to obtain a sixth target capacity;
[0092] Specifically, the charging capacity of the vehicle battery between the current time T and the second time Tr is calculated, and the calculation formula of the sixth target capacity is: (Tr-T)P N / C b .
[0093] Step S2033, when the above-mentioned sixth target power is greater than or equal to the above-mentioned first target power, the maximum value of the discharge power of the above-mentioned vehicle battery in the above-mentioned first target period is solved according to the above-mentioned initial power, the above-mentioned second constraint condition and the above-mentioned third target power, and the above-mentioned second target lower bound is obtained. When the above-mentioned sixth target power is less than the above-mentioned first target power, the maximum value of the discharge power of the above-mentioned vehicle battery in the above-mentioned first target period is solved according to the above-mentioned fifth target power, the above-mentioned initial power and the above-mentioned second constraint condition, and the above-mentioned second target lower bound is obtained.
[0094] Specifically, obtain the first target power The third target power and ΔSOC t, to solve the adjustable power range, first satisfy the second preset condition mentioned above, and its formula is expressed as: On this basis, we can deduce the lower bound of the second target mentioned above, and its calculation formula is:
[0095]
[0096] It can be understood that in the above formula, the travel requirements of users are discussed in two cases. One is the case where the sixth target power meets the travel needs of users. In this case, since the continuous charging after the t period meets the travel needs of users, it is only necessary to consider that the frequency modulation during the t period cannot cause over-discharge. The other case is the case where the sixth target power does not meet the travel needs of users. At this time, the frequency modulation during the t period needs to consider that the power after the frequency modulation cannot be less than Therefore, the derivation formula can be constructed as:
[0097] Furthermore, the fifth target power is the sum of the third target power and the sixth target power, so the formula can be derived:
[0098]
[0099] In order to calculate the third target lower bound and the second target upper bound according to the second constraint, in an optional implementation, step S204 includes:
[0100] Step S2041, when the real-time discharge power of the target charging pile is the fourth threshold, calculating the charging capacity of the vehicle battery during the first target period to obtain the second target upper bound;
[0101] Specifically, let the real-time discharge power of the target charging pile be determined as P T , further determine P T =P N , then the calculation formula for the charging capacity of the above-mentioned vehicle battery during the above-mentioned first target period is:
[0102] Step S2042: When the real-time charging power of the target charging pile is the third threshold, the discharge power of the vehicle battery in the first target time period is calculated to obtain the third target lower bound.
[0103] Specifically, determine P T =-P N , then the calculation formula for the charging capacity of the above-mentioned vehicle battery during the above-mentioned first target period is:
[0104] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0105] The embodiment of the present application also provides a device for calculating the primary frequency regulation capacity of an electric vehicle. It should be noted that the device for calculating the primary frequency regulation capacity of an electric vehicle in the embodiment of the present application can be used to execute the method for calculating the primary frequency regulation capacity of an electric vehicle provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementations, and those that have been explained will not be repeated here. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and conceivable.
[0106] The following introduces the primary frequency modulation capacity calculation device of an electric vehicle provided in an embodiment of the present application.
[0107] Figure 3 : is a structural block diagram of a device for calculating the primary frequency modulation capacity of an electric vehicle according to an embodiment of the present application. Figure 3 As shown, the device includes:
[0108] A first determining unit 10 is configured to determine a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, and to construct a third constraint based on the input power and output power of the target charging pile, wherein the first constraint is used to define the upper and lower limits of the power of the on-board battery, the second constraint is used to define the lower limit of the power of the on-board battery while meeting the user's travel needs, and the third constraint is used to define the upper and lower limits of the power of the target charging pile;
[0109] In a frequency regulation process, the three main parties involved are electric vehicles, charging stations and power grids. During the regulation process, the frequency regulation potential is mainly affected by the performance of electric vehicles and the performance of charging piles at charging stations.
[0110] On this basis, in the embodiments of the present application, firstly, based on the fact that no damage should be caused to the user's electric vehicle during a single frequency modulation process, the above-mentioned first constraint condition is proposed, that is, the upper and lower limits of the SOC (remaining power) of the vehicle battery during a single frequency modulation process are limited to prevent overcharging and over-discharging of the vehicle battery; secondly, based on the fact that no impact should be placed on the user's use of the electric vehicle during a single frequency modulation process, the above-mentioned second constraint condition is proposed, that is, the lower limit of the power of the vehicle battery during a single frequency modulation process is limited to prevent the vehicle battery from discharging a large amount of power during a single frequency modulation process, thereby affecting the user's travel; finally, based on the input and output power of the charging pile, the above-mentioned third constraint condition is proposed, that is, by constraining the upper and lower power limits corresponding to the input and output of the charging pile during a single frequency modulation process, it is avoided that the actual control result does not achieve the expected effect due to the power limit of the charging pile.
[0111] Furthermore, a constraint model is constructed based on the first constraint condition, the second constraint condition and the third constraint condition.
[0112] The first calculation unit 20 is configured to calculate, when the power level of the on-board battery satisfies the first constraint condition, the maximum value of the discharged power of the on-board battery within a first target period based on the initial power level of the on-board battery to obtain a first target lower bound, and calculate the maximum value of the charged power of the on-board battery within the first target period based on the initial power level of the on-board battery to obtain a first target upper bound, wherein the starting time of the first target period is the current time, and the duration of the first target period is a first preset duration;
[0113] In an embodiment of the present application, the control capacity is characterized by the upper and lower limits of the electric vehicle's battery charge change. The SOC of the electric vehicle when it is connected to the target charging station is obtained to obtain the initial charge. The start time of the first target period is set to T, i.e., the current time, and the end time is set to T+1. The first target period is further set to t. The solution of the present application is to predict the frequency regulation capacity within the next control cycle at the current time.
[0114] In this application, the charging capacity is represented by a positive value and the discharging capacity is represented by a negative value. Based on the first constraint condition, it can be inferred that if the electric vehicle is connected to the target charging pile, it will continue to discharge at the maximum discharge power until the battery SOC lower limit is reached at time T+1, that is, SOC T =SOC l , then the control capacity that can be charged in time period t is the largest, that is, the first target upper bound is obtained. Similarly, if the electric vehicle is connected to the target charging pile, it will continue to charge at the maximum discharge power until the battery SOC upper limit SOC is reached at time T+1. T =SOC h, then the control capacity that can be discharged during period t is the largest, that is, the lower bound of the first target mentioned above is obtained.
[0115] A second calculation unit 30 is configured to calculate the maximum amount of discharged power of the on-board battery within the first target period based on the initial power of the on-board battery, to obtain a second target lower bound, when the power of the on-board battery satisfies the second constraint condition;
[0116] It is understandable that if the electric vehicle is in a charging state before time T+1, it will not affect the user's travel needs.
[0117] Therefore, if the electric vehicle is in a discharging state before time T+1, and the remaining power at time T+1 is greater than the sum of the above-mentioned battery SOC lower limit and the battery SOC required for the user to travel, then the power that can be discharged in time period t reaches the maximum, that is, the above-mentioned second target lower bound is obtained.
[0118] A third calculation unit 40 is configured to calculate, when the power of the target charging pile satisfies the third constraint, a maximum value of the amount of electricity output from the target charging pile to the onboard battery during the first target period to obtain a second target upper bound, and to calculate a maximum value of the amount of electricity output from the onboard battery to the target charging pile during the first target period to obtain a third target lower bound;
[0119] Specifically, the primary frequency modulation process is subject to the input and output power limits of the charging pile. That is, when the input and output power of the electric vehicle is greater than that of the charging pile, the actual capacity that can be regulated is determined by the performance of the charging pile.
[0120] Therefore, within the time period t, the target charging pile is charged at the maximum power, and the corresponding battery SOC change is determined, that is, the second target upper limit is obtained. Similarly, within the time period t, the target charging pile is discharged at the maximum power, and the corresponding battery SOC change is determined, that is, the third target lower limit is obtained.
[0121] The second determination unit 50 is used to determine the minimum value among the above-mentioned first target upper limit and the above-mentioned second target upper limit as the upper limit of the interval of the frequency modulation capacity and to determine the maximum value among the above-mentioned first target lower limit, the above-mentioned second target lower limit and the above-mentioned third target lower limit as the lower limit of the interval of the above-mentioned frequency modulation capacity, so as to obtain the frequency modulation capacity of the above-mentioned on-board battery of the above-mentioned electric vehicle.
[0122] It can be understood that based on the above constraint model, it is easy to determine the calculation formula for the upper limit of the frequency regulation capacity interval of the adjustable power of the electric vehicle and the lower limit of the frequency regulation capacity interval as follows:
[0123]
[0124] in, is the lower bound of the first objective mentioned above, is the lower bound of the second objective mentioned above, is the lower bound of the third objective mentioned above, is the upper bound of the first objective mentioned above, is the upper bound of the second target, ΔSOC max,t is the upper limit of the frequency modulation capacity, ΔSOC min,t It is the lower bound of the above frequency modulation capacity.
[0125] Finally, it is determined that the frequency modulation capacity of the electric vehicle at the current time T is [ΔSOC min,t C b ,ΔSOC max,t C b ], where C b is the capacity of the vehicle battery.
[0126] After obtaining the frequency modulation capacity, in an optional embodiment, the apparatus further includes:
[0127] The control unit is used to adjust the remaining power of each of the corresponding target vehicles according to the above-mentioned frequency modulation capacity within the above-mentioned first target time period to complete the above-mentioned frequency modulation.
[0128] Specifically, when the target vehicle participates in a frequency modulation, the target vehicle is charged or discharged according to the operating status of the power grid, and during the frequency modulation process, the change in the remaining power of the target vehicle in the first target time period is within the frequency modulation capacity.
[0129] Through this embodiment, the first determination unit determines the first constraint and the second constraint according to the performance status and historical operation information of the on-board battery of the target vehicle, and constructs the third constraint according to the input power and output power of the target charging pile. The above-mentioned first constraint is used to limit the upper and lower limits of the power of the above-mentioned on-board battery, the above-mentioned second constraint is used to limit the lower limit of the power of the above-mentioned on-board battery while meeting the travel needs of the user, and the above-mentioned third constraint is used to limit the upper and lower limits of the power of the above-mentioned target charging pile; the first calculation unit calculates the maximum value of the discharged power of the above-mentioned on-board battery in the first target time period according to the initial power of the above-mentioned on-board battery when the power of the on-board battery meets the above-mentioned first constraint, and obtains the first target lower bound; calculates the maximum value of the charged power of the above-mentioned on-board battery in the above-mentioned first target time period according to the above-mentioned initial power of the above-mentioned on-board battery, and obtains the first target upper bound; the starting time of the above-mentioned first target time period is the current time, and the above-mentioned first target time period is the starting time. The duration of a target time period is a first preset duration; the second calculation unit calculates the maximum amount of discharged electricity of the on-board battery during the first target time period based on the initial amount of electricity of the on-board battery when the amount of electricity of the on-board battery meets the second constraint condition, and obtains the second target lower bound; the third calculation unit calculates the maximum amount of electricity output from the target charging pile to the on-board battery during the first target time period when the power of the target charging pile meets the third constraint condition, and obtains the second target upper bound, and calculates the maximum amount of electricity output from the on-board battery to the target charging pile during the first target time period to obtain the third target lower bound; the second determination unit determines the minimum value between the first target upper bound and the second target upper bound as the interval upper bound of the frequency modulation capacity and determines the maximum value between the first target lower bound, the second target lower bound and the third target lower bound as the interval lower bound of the frequency modulation capacity, and obtains the frequency modulation capacity of the on-board battery of the electric vehicle. This application comprehensively considers the impact of electric vehicle battery safety, user travel needs, and the operating status of charging piles on the adjustable capacity of electric vehicles participating in primary frequency modulation. The real-time adjustable capacity of electric vehicles is solved under the constraints of battery safety, travel demand, and charging pile power, and then the final adjustable capacity is determined. This application solves the problem that the primary frequency modulation method in the prior art does not take battery safety, user travel needs, and charging pile limitations into consideration.
[0130] In order to determine the first constraint condition, in an optional implementation manner, the first determining unit includes:
[0131] A first determining module is configured to determine, based on the performance status of the on-board battery, an upper limit of the power of the on-board battery without overcharging the on-board battery, to obtain a first threshold value;
[0132] Specifically, according to the performance state of the vehicle battery, the power value of the vehicle battery at the time of overcharging is determined, that is, the first threshold SOC is obtained. h .
[0133] A second determining module is configured to determine, based on the performance status of the on-board battery, a lower limit of the power of the on-board battery when no over-discharge occurs, to obtain a second threshold value;
[0134] Specifically, according to the performance status of the vehicle battery, the power value of the vehicle battery at the time of over-discharge is determined, that is, the above SOC l .
[0135] The third determining module is configured to determine that the power level of the vehicle-mounted battery is greater than the second threshold and less than the first threshold as the first constraint condition.
[0136] Specifically, let the real-time power of the above-mentioned vehicle battery be SOC T , then the formula of the first constraint condition is determined as: SOC l <SOC T <SOC h .
[0137] In order to determine the second constraint condition, in an optional implementation manner, the first determining unit further includes:
[0138] a fourth determining module, configured to determine, based on the historical operating information, the average daily mileage of the target vehicle within a second target period, where the end time of the second target period is the current time, and the duration of the second target period is a second preset duration;
[0139] In one embodiment of the present application, in order to determine the user's travel needs, the historical operation information of the vehicle battery is obtained to determine the user's average daily mileage L in the past period of time. d , and use it as the user's mileage for the next day.
[0140] In a specific implementation, the second target period may be the previous week, month, etc.
[0141] a fifth determination module, configured to obtain the cruising range of the target vehicle and calculate a ratio of the daily average mileage to the cruising range to obtain a first target power level;
[0142] Specifically, obtain the cruising range L of the target vehicle r , that is, the mileage of the target vehicle in the fully charged state is obtained, and then the ratio of the above average daily mileage to the above cruising range is calculated. The change value of the user's normal daily driving SOC can be determined to obtain the above-mentioned first target power.
[0143] The sixth determination module is used to determine the remaining power of the above-mentioned on-board battery of the above-mentioned target vehicle when the above-mentioned target vehicle exits a frequency modulation as the second target power, and determine the above-mentioned second target power to be greater than or equal to the sum of the above-mentioned second threshold and the above-mentioned first target power as the above-mentioned second constraint condition.
[0144] Specifically, let the second target power be SOC f , then the formula of the second constraint condition is expressed as:
[0145]
[0146] In order to determine the third constraint condition, in an optional implementation manner, the first determining unit further includes:
[0147] a seventh determination module, configured to obtain the charging rated power of the target charging pile to obtain a third threshold, obtain the discharge rated power of the target charging pile to obtain a fourth threshold;
[0148] Specifically, the charging rated power P of the target charging pile is obtained. N , obtain the third threshold, and obtain the discharge rated power of the target charging pile - P N , and obtain the fourth threshold mentioned above.
[0149] An eighth determination module is configured to determine that the real-time charging and discharging power of the target charging pile is less than or equal to the third threshold and greater than or equal to the fourth threshold as the third constraint condition.
[0150] Specifically, let the real-time charging and discharging power P of the target charging pile be T , then the formula of the third constraint condition is expressed as:
[0151] -P N ≤P T ≤P N .
[0152] In order to calculate the first target lower bound and the second target upper bound according to the first constraint, in an optional embodiment, the first calculation unit includes:
[0153] a first calculation module, configured to determine the time when the electric vehicle starts charging as a first time, calculate the charging capacity of the on-board battery when charging at the maximum charging power between the first time and the current time, and obtain a third target capacity, wherein the maximum charging power of the on-board battery is the maximum power such that the remaining capacity of the on-board battery at each time between the first time and the current time satisfies the first constraint condition;
[0154] Specifically, the moment when the electric vehicle is connected to the charging pile is the first moment T0, and the corresponding time period is t0. Then the calculation formula for the charge and discharge power between the first moment T0 and the current moment T1 is:
[0155] Furthermore, if charging is performed at the maximum charging power between the first moment and the current moment, the charging power reaches a maximum value, that is, the third target power is obtained.
[0156] a ninth determining module, configured to calculate a discharge capacity of the on-board battery at a maximum discharge power between the first moment and the current moment, to obtain a fourth target capacity, wherein the maximum discharge power of the on-board battery is a maximum power such that the remaining capacity of the on-board battery at each moment between the first moment and the current moment satisfies the first constraint condition;
[0157] Specifically, similarly, if discharging is performed at the maximum discharge power between the first moment and the current moment, the discharged power reaches a maximum value, that is, the fourth target power is obtained.
[0158] a second calculation module, configured to solve the maximum value of the on-board battery discharge power within the first target period according to the initial power, the third target power, and the first constraint condition, to obtain the first target lower bound;
[0159] Specifically, to solve the adjustable power range, first satisfy the first preset condition mentioned above, the formula is expressed as: Where SOC0 represents the SOC of the electric vehicle at the first moment T0. Based on this, the first target lower bound is deduced, that is, the maximum discharge capacity of the vehicle battery during the first target period, so that ΔSOC t Take the minimum value to make ΔSOC t Take the minimum value, then set each control cycle before time T to charge at the maximum power of the vehicle battery, then calculate ΔSOC t The minimum value can be obtained, that is Among them, ΔSOC max,i The SOC change when charging at maximum power in each period.
[0160] The third calculation module is used to solve the maximum value of the charging power of the above-mentioned vehicle battery within the above-mentioned first target time period according to the above-mentioned initial power, the above-mentioned fourth target power and the first constraint condition, and obtain the above-mentioned first target upper bound.
[0161] Specifically, to solve the adjustable power range, first satisfy the first preset condition mentioned above, and then deduce that the first target upper bound is ΔSOC tTake the maximum value to make ΔSOC t Take the maximum value, then set each control cycle before time T to discharge at the maximum power of the vehicle battery, then calculate ΔSOC t The maximum value can be obtained, that is Among them, ΔSOC min,i It is the SOC change when discharging at maximum power in each period.
[0162] In order to calculate the second target lower bound according to the second constraint, in an optional embodiment, the second calculation unit includes:
[0163] a fourth calculation module, configured to determine the moment when the electric vehicle exits the primary frequency modulation as a second moment, calculate the charging capacity of the on-board battery at the maximum charging power between the first moment and the second moment, and obtain a fifth target capacity;
[0164] Specifically, the moment when the electric vehicle exits the primary frequency modulation is determined as the second moment Tr, and the time period corresponding to Tr is tr. The calculation formula for calculating the charging amount of the vehicle battery between the first moment T0 and the second moment Tr is:
[0165] Furthermore, if charging is performed at the maximum charging power between the first moment and the second moment, the charging power reaches a maximum value, that is, the fifth target power is obtained.
[0166] a fifth calculation module, configured to calculate the charging capacity of the vehicle-mounted battery when charged at the maximum charging power between the current moment and the second moment, to obtain a sixth target capacity;
[0167] Specifically, the charging capacity of the vehicle battery between the current time T and the second time Tr is calculated, and the calculation formula of the sixth target capacity is: (Tr-T)P N / C b .
[0168] The sixth calculation module is used to solve the maximum value of the vehicle battery discharge power during the first target period according to the initial power, the second constraint and the third target power when the sixth target power is greater than or equal to the first target power, and obtain the second target lower bound; when the sixth target power is less than the first target power, solve the maximum value of the vehicle battery discharge power during the first target period according to the fifth target power, the initial power and the second constraint to obtain the second target lower bound.
[0169] Specifically, obtain the first target power The third target power and ΔSOC t , to solve the adjustable power range, first satisfy the second preset condition mentioned above, and its formula is expressed as: On this basis, we can deduce the lower bound of the second target mentioned above, and its calculation formula is:
[0170]
[0171] It can be understood that in the above formula, the travel requirements of users are discussed in two cases. One is the case where the sixth target power meets the travel needs of users. In this case, since the continuous charging after the t period meets the travel needs of users, it is only necessary to consider that the frequency modulation during the t period cannot cause over-discharge. The other case is the case where the sixth target power does not meet the travel needs of users. At this time, the frequency modulation during the t period needs to consider that the power after the frequency modulation cannot be less than Therefore, the derivation formula can be constructed as:
[0172] Furthermore, the fifth target power is the sum of the third target power and the sixth target power, so the formula can be derived:
[0173]
[0174] In order to calculate the third target lower bound and the second target upper bound according to the second constraint, in an optional embodiment, the third calculation unit includes:
[0175] a seventh calculation module, configured to calculate the charging capacity of the on-board battery within the first target time period when the real-time discharge power of the target charging pile is the fourth threshold, to obtain the second target upper bound;
[0176] Specifically, let the real-time discharge power of the target charging pile be determined as P T , further determine P T =P N , then the calculation formula for the charging capacity of the above-mentioned vehicle battery during the above-mentioned first target period is:
[0177] An eighth calculation module is used to calculate the discharge power of the above-mentioned vehicle battery during the above-mentioned first target time period when the real-time charging power of the above-mentioned target charging pile is the above-mentioned third threshold value, so as to obtain the above-mentioned third target lower bound.
[0178] Specifically, determine P T =-P N , then the calculation formula for the charging capacity of the above-mentioned vehicle battery during the above-mentioned first target period is:
[0179] The electric vehicle primary frequency modulation capacity calculation device includes a processor and a memory. The first determination unit, the first calculation unit, the second calculation unit, the third calculation unit, and the second determination unit are all stored as program units in the memory. The processor executes the program units stored in the memory to implement the corresponding functions. The modules are all located in the same processor; alternatively, the modules can be located in different processors in any combination.
[0180] The processor contains a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the accuracy of the frequency modulation can be improved by adjusting the kernel parameters.
[0181] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0182] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program. When the program is run, the device where the computer-readable storage medium is located is controlled to execute the method for calculating the primary frequency regulation capacity of the electric vehicle.
[0183] Specifically, the calculation method of the primary frequency regulation capacity of electric vehicles includes:
[0184] Step S201: Determine a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, and construct a third constraint based on the input power and output power of the target charging pile. The first constraint is used to define the upper and lower limits of the power of the on-board battery, the second constraint is used to define the lower limit of the power of the on-board battery while meeting the user's travel needs, and the third constraint is used to define the upper and lower limits of the power of the target charging pile.
[0185] Step S202, when the power level of the on-board battery satisfies the first constraint condition, the maximum value of the discharged power of the on-board battery within a first target period is calculated based on the initial power level of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target upper bound, the starting time of the first target period is the current time, and the duration of the first target period is a first preset duration;
[0186] Step S203, when the power level of the on-board battery satisfies the second constraint, calculating the maximum value of the discharged power of the on-board battery within the first target period according to the initial power level of the on-board battery, to obtain a second target lower bound;
[0187] Step S204: When the power of the target charging pile satisfies the third constraint, the maximum amount of electricity output from the target charging pile to the vehicle battery during the first target period is calculated to obtain a second target upper bound, and the maximum amount of electricity output from the vehicle battery to the target charging pile during the first target period is calculated to obtain a third target lower bound.
[0188] Step S205, determining the minimum value between the first target upper bound and the second target upper bound as the upper bound of the interval of the frequency modulation capacity and determining the maximum value between the first target lower bound, the second target lower bound and the third target lower bound as the lower bound of the interval of the frequency modulation capacity, and obtaining the frequency modulation capacity of the above-mentioned on-board battery of the above-mentioned electric vehicle.
[0189] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes the method for calculating the primary frequency regulation capacity of the electric vehicle when running.
[0190] Specifically, the calculation method of the primary frequency regulation capacity of electric vehicles includes:
[0191] Step S201: Determine a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, and construct a third constraint based on the input power and output power of the target charging pile. The first constraint is used to define the upper and lower limits of the power of the on-board battery, the second constraint is used to define the lower limit of the power of the on-board battery while meeting the user's travel needs, and the third constraint is used to define the upper and lower limits of the power of the target charging pile.
[0192] Step S202, when the power level of the on-board battery satisfies the first constraint condition, the maximum value of the discharged power of the on-board battery within a first target period is calculated based on the initial power level of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target upper bound, the starting time of the first target period is the current time, and the duration of the first target period is a first preset duration;
[0193] Step S203, when the power level of the on-board battery satisfies the second constraint, calculating the maximum value of the discharged power of the on-board battery within the first target period according to the initial power level of the on-board battery, to obtain a second target lower bound;
[0194] Step S204: When the power of the target charging pile satisfies the third constraint, the maximum amount of electricity output from the target charging pile to the vehicle battery during the first target period is calculated to obtain a second target upper bound, and the maximum amount of electricity output from the vehicle battery to the target charging pile during the first target period is calculated to obtain a third target lower bound.
[0195] Step S205, determining the minimum value between the first target upper bound and the second target upper bound as the upper bound of the interval of the frequency modulation capacity and determining the maximum value between the first target lower bound, the second target lower bound and the third target lower bound as the lower bound of the interval of the frequency modulation capacity, and obtaining the frequency modulation capacity of the above-mentioned on-board battery of the above-mentioned electric vehicle.
[0196] An embodiment of the present invention provides a charging pile control system, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least the following steps are performed:
[0197] Step S201: Determine a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, and construct a third constraint based on the input power and output power of the target charging pile. The first constraint is used to define the upper and lower limits of the power of the on-board battery, the second constraint is used to define the lower limit of the power of the on-board battery while meeting the user's travel needs, and the third constraint is used to define the upper and lower limits of the power of the target charging pile.
[0198] Step S202, when the power level of the on-board battery satisfies the first constraint condition, the maximum value of the discharged power of the on-board battery within a first target period is calculated based on the initial power level of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target upper bound, the starting time of the first target period is the current time, and the duration of the first target period is a first preset duration;
[0199] Step S203, when the power level of the on-board battery satisfies the second constraint, calculating the maximum value of the discharged power of the on-board battery within the first target period according to the initial power level of the on-board battery, to obtain a second target lower bound;
[0200] Step S204: When the power of the target charging pile satisfies the third constraint, the maximum amount of electricity output from the target charging pile to the vehicle battery during the first target period is calculated to obtain a second target upper bound, and the maximum amount of electricity output from the vehicle battery to the target charging pile during the first target period is calculated to obtain a third target lower bound.
[0201] Step S205, determining the minimum value between the first target upper bound and the second target upper bound as the upper bound of the interval of the frequency modulation capacity and determining the maximum value between the first target lower bound, the second target lower bound and the third target lower bound as the lower bound of the interval of the frequency modulation capacity, and obtaining the frequency modulation capacity of the above-mentioned on-board battery of the above-mentioned electric vehicle.
[0202] The present application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program for initializing at least the following method steps:
[0203] Step S201: Determine a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, and construct a third constraint based on the input power and output power of the target charging pile. The first constraint is used to define the upper and lower limits of the power of the on-board battery, the second constraint is used to define the lower limit of the power of the on-board battery while meeting the user's travel needs, and the third constraint is used to define the upper and lower limits of the power of the target charging pile.
[0204] Step S202, when the power level of the on-board battery satisfies the first constraint condition, the maximum value of the discharged power of the on-board battery within a first target period is calculated based on the initial power level of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target upper bound, the starting time of the first target period is the current time, and the duration of the first target period is a first preset duration;
[0205] Step S203, when the power level of the on-board battery satisfies the second constraint, calculating the maximum value of the discharged power of the on-board battery within the first target period according to the initial power level of the on-board battery, to obtain a second target lower bound;
[0206] Step S204: When the power of the target charging pile satisfies the third constraint, the maximum amount of electricity output from the target charging pile to the vehicle battery during the first target period is calculated to obtain a second target upper bound, and the maximum amount of electricity output from the vehicle battery to the target charging pile during the first target period is calculated to obtain a third target lower bound.
[0207] Step S205, determining the minimum value between the first target upper bound and the second target upper bound as the upper bound of the interval of the frequency modulation capacity and determining the maximum value between the first target lower bound, the second target lower bound and the third target lower bound as the lower bound of the interval of the frequency modulation capacity, and obtaining the frequency modulation capacity of the above-mentioned on-board battery of the above-mentioned electric vehicle.
[0208] Obviously, those skilled in the art will appreciate that the various modules or steps of the present invention described above can be implemented using a general-purpose computing device, can be centralized on a single computing device, or can be distributed across a network of multiple computing devices. They can be implemented using program code executable by the computing device, and thus, can be stored in a storage device and executed by the computing device. In some cases, the steps shown or described herein can be performed in a different order than that shown, or can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0209] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0210] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0211] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1The function specified in one or more boxes.
[0212] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0213] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0214] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0215] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0216] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0217] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0218] The method for calculating the primary frequency regulation capacity of an electric vehicle of the present application first determines the first constraint and the second constraint according to the performance status and historical operation information of the on-board battery of the target vehicle, and constructs the third constraint according to the input power and output power of the target charging pile. The first constraint is used to limit the upper and lower limits of the power of the on-board battery, the second constraint is used to limit the lower limit of the power of the on-board battery when the user's travel needs are met, and the third constraint is used to limit the upper and lower limits of the power of the target charging pile; then, when the power of the on-board battery meets the first constraint, the maximum value of the discharged power of the on-board battery in the first target time period is calculated according to the initial power of the on-board battery to obtain the first target lower bound, and the maximum value of the charged power of the on-board battery in the first target time period is calculated according to the initial power of the on-board battery to obtain the first target upper bound. The starting time of the first target time period is At the current moment, the duration of the above-mentioned first target time period is the first preset duration; thereafter, when the power of the on-board battery meets the above-mentioned second constraint condition, the maximum value of the discharged power of the on-board battery in the above-mentioned first target time period is calculated according to the above-mentioned initial power of the above-mentioned on-board battery to obtain the second target lower bound; thereafter, when the power of the target charging pile meets the above-mentioned third constraint condition, the maximum value of the power output from the above-mentioned target charging pile to the above-mentioned on-board battery in the above-mentioned first target time period is calculated to obtain the second target upper bound, and the maximum value of the power output from the above-mentioned on-board battery to the above-mentioned target charging pile in the above-mentioned first target time period is calculated to obtain the third target lower bound; finally, the minimum value between the above-mentioned first target upper bound and the above-mentioned second target upper bound is determined as the interval upper bound of the frequency modulation capacity and the maximum value between the above-mentioned first target lower bound, the above-mentioned second target lower bound and the above-mentioned third target lower bound is determined as the interval lower bound of the above-mentioned frequency modulation capacity to obtain the frequency modulation capacity of the above-mentioned on-board battery of the above-mentioned electric vehicle. This application comprehensively considers the impact of electric vehicle battery safety, user travel needs, and the operating status of charging piles on the adjustable capacity of electric vehicles participating in primary frequency modulation. The real-time adjustable capacity of electric vehicles is solved under the constraints of battery safety, travel demand, and charging pile power, and then the final adjustable capacity is determined. This application solves the problem that the primary frequency modulation method in the prior art does not take battery safety, user travel needs, and charging pile limitations into consideration.
[0219] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
Claims
1. A method for calculating the primary frequency modulation capacity of an electric vehicle, characterized in that: include: Determine a first constraint and a second constraint based on the performance status and historical operating information of the target vehicle's onboard battery, and determine a third constraint based on the input power and output power of the target charging pile. The first constraint is used to define the upper and lower limits of the onboard battery's power level. The second constraint is used to define the lower limit of the onboard battery's power level while meeting the user's travel needs. The third constraint is used to define the upper and lower limits of the power level of the target charging pile. When the power level of the on-board battery satisfies the first constraint condition, the maximum value of the discharged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target upper bound, the starting time of the first target period is the current time, and the duration of the first target period is a first preset duration; When the power level of the vehicle battery satisfies the second constraint, calculating the maximum value of the discharged power of the vehicle battery within the first target period according to the initial power level of the vehicle battery to obtain a second target lower bound; If the power of the target charging pile satisfies the third constraint, the maximum amount of electricity output from the target charging pile to the onboard battery during the first target period is calculated to obtain a second target upper bound, and the maximum amount of electricity output from the onboard battery to the target charging pile during the first target period is calculated to obtain a third target lower bound; The minimum value between the first target upper bound and the second target upper bound is determined as the upper bound of the interval of the frequency modulation capacity, and the maximum value between the first target lower bound, the second target lower bound and the third target lower bound is determined as the lower bound of the interval of the frequency modulation capacity, so as to obtain the frequency modulation capacity of the on-board battery of the electric vehicle.
2. The method according to claim 1, characterized in that The first constraint condition is determined according to the performance state of the onboard battery of the target vehicle, including: Determine, according to the performance status of the on-board battery, the upper limit of the power of the on-board battery when the on-board battery is not overcharged, to obtain a first threshold; Determine, based on the performance status of the vehicle battery, a lower limit of the power of the vehicle battery when no over-discharge occurs, to obtain a second threshold value; The first constraint condition is determined to be that the power level of the vehicle battery is greater than the second threshold and less than the first threshold.
3. The method according to claim 2, characterized in that The second constraint condition is determined based on the historical operating information of the target vehicle, including: Determining the average daily mileage of the target vehicle within a second target period based on the historical operating information, where the end time of the second target period is the current time, and the duration of the second target period is a second preset duration; Obtaining the cruising range of the target vehicle and calculating the ratio of the daily average mileage to the cruising range to obtain a first target power level; The remaining power of the on-board battery of the target vehicle when exiting a frequency modulation is determined as the second target power, and the second target power being greater than or equal to the sum of the second threshold and the first target power is determined as the second constraint condition.
4. The method according to claim 1, wherein The third constraint condition is constructed based on the input power and output power of the target charging pile, including: Obtaining the charging rated power of the target charging pile to obtain a third threshold, and obtaining the discharge rated power of the target charging pile to obtain a fourth threshold; The real-time charging and discharging power of the target charging pile is determined to be less than or equal to the third threshold and greater than or equal to the fourth threshold as the third constraint condition.
5. The method according to claim 3, characterized in that When the power level of the on-board battery satisfies the first constraint condition, the maximum value of the discharged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target lower bound, and the maximum value of the charged power of the on-board battery within the first target period is calculated based on the initial power level of the on-board battery to obtain a first target upper bound, including: Determine the time when the electric vehicle starts charging as a first time, calculate the charging power of the on-board battery when charging at the maximum charging power between the first time and the current time, and obtain a third target power, wherein the maximum charging power of the on-board battery is the maximum power such that the remaining power of the on-board battery at each time between the first time and the current time satisfies the first constraint condition; calculating a discharge capacity of the on-board battery at a maximum discharge power between the first moment and the current moment to obtain a fourth target capacity, wherein the maximum discharge power of the on-board battery is a maximum power such that the remaining capacity of the on-board battery at each moment between the first moment and the current moment satisfies the first constraint condition; Solve the maximum value of the discharged power of the on-board battery within the first target period according to the initial power, the third target power, and the first constraint condition to obtain the first target lower bound; The maximum value of the on-board battery charging power within the first target time period is solved according to the initial power, the fourth target power and the first constraint condition to obtain the first target upper bound.
6. The method according to claim 5, characterized in that When the power level of the vehicle battery satisfies the second constraint, calculating the maximum value of the discharged power of the vehicle battery within the first target period according to the initial power level of the vehicle battery to obtain a second target lower bound includes: Determine the moment when the electric vehicle exits the frequency modulation as the second moment, calculate the charging power of the on-board battery when charging at the maximum charging power between the first moment and the second moment, and obtain a fifth target power; calculating the charging capacity of the vehicle battery when charged at the maximum charging power between the current moment and the second moment to obtain a sixth target capacity; When the sixth target power is greater than or equal to the first target power, the maximum value of the vehicle battery discharge power within the first target period is solved according to the initial power, the second constraint condition and the third target power to obtain the second target lower bound. When the sixth target power is less than the first target power, the maximum value of the vehicle battery discharge power within the first target period is solved according to the fifth target power, the initial power and the second constraint condition to obtain the second target lower bound.
7. The method according to claim 4, characterized in that When the power of the target charging pile satisfies the third constraint condition, calculating the maximum amount of electricity output from the target charging pile to the on-board battery during the first target period to obtain a second target upper bound, and calculating the maximum amount of electricity output from the on-board battery to the target charging pile during the first target period to obtain a third target lower bound, including: When the real-time discharge power of the target charging pile is the fourth threshold, calculating the charging power of the on-board battery within the first target time period to obtain the second target upper bound; When the real-time charging power of the target charging pile is the third threshold, the discharge power of the on-board battery in the first target time period is calculated to obtain the third target lower bound.
8. A device for calculating the primary frequency modulation capacity of an electric vehicle, characterized in that: The device comprises: a first determining unit, configured to determine a first constraint and a second constraint based on the performance status and historical operation information of the on-board battery of the target vehicle, respectively, and to determine a third constraint based on the input power and output power of the target charging pile, wherein the first constraint is used to define an upper limit and a lower limit of the power of the on-board battery, the second constraint is used to define a lower limit of the power of the on-board battery while meeting the travel needs of the user, and the third constraint is used to define an upper limit and a lower limit of the power of the target charging pile; a first calculation unit, configured to calculate, when the power level of the on-board battery satisfies the first constraint condition, a maximum value of the discharged power of the on-board battery within a first target period based on the initial power level of the on-board battery to obtain a first target lower bound, and calculate, based on the initial power level of the on-board battery, a maximum value of the charged power of the on-board battery within the first target period to obtain a first target upper bound, wherein the start time of the first target period is the current time, and the duration of the first target period is a first preset duration; a second calculation unit, configured to calculate, when the power level of the on-board battery satisfies the second constraint condition, a maximum value of the discharged power of the on-board battery within the first target period according to the initial power level of the on-board battery, to obtain a second target lower bound; a third calculation unit, configured to calculate, when the power of the target charging pile satisfies the third constraint condition, a maximum value of the amount of electricity output from the target charging pile to the on-board battery during the first target period to obtain a second target upper bound, and to calculate a maximum value of the amount of electricity output from the on-board battery to the target charging pile during the first target period to obtain a third target lower bound; The second determination unit is used to determine the minimum value of the first target upper bound and the second target upper bound as the upper bound of the interval of the frequency modulation capacity and to determine the maximum value of the first target lower bound, the second target lower bound and the third target lower bound as the lower bound of the interval of the frequency modulation capacity, so as to obtain the frequency modulation capacity of the on-board battery of the electric vehicle.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
10. A charging pile control system, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Electric vehicle primary frequency modulation control method considering controllable domain constraint
CN115360738A
Electric vehicle frequency modulation method considering traffic behavior characteristics and related device
CN117458565A