Power conversion cabinet power supply method, power conversion cabinet, electronic equipment and computer readable storage medium
By optimizing the division of batteries and charging power packs in battery swap cabinets, the problem of low energy utilization efficiency in the prior art is solved, more efficient energy utilization is achieved and manufacturing costs and maintenance difficulties are reduced.
Patent Information
- Application Number
- CN202411207776.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-26
AI Technical Summary
The existing battery swap cabinet adopts a one-to-one power supply method, resulting in low energy utilization efficiency, high manufacturing cost, high maintenance difficulty, and energy waste during off-peak hours.
By obtaining the charging status of the charging chamber, dividing the battery pack and the charging power pack, and optimizing the allocation of the charging power supply based on the charging speed of the battery and the historical battery swap data prediction stage, in order to reduce the number of charging power supplies and improve energy utilization efficiency.
It reduces the number of charging power supplies, reduces energy waste, reduces manufacturing costs and maintenance difficulties, improves energy utilization efficiency, and is suitable for large-scale laying.
Smart Images

Figure CN119030094A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of battery charging methods for electric vehicles, and in particular to a power supply method for a battery swap cabinet, a battery swap cabinet, an electronic device and a computer-readable storage medium. Background Art
[0002] In recent years, with the enhancement of environmental awareness and the acceleration of urbanization, electric bicycles have been widely popularized in China as a green and convenient means of transportation. According to statistics, the number of electric bicycles in China has reached 350 million. With the rapid development of the food delivery and express delivery industries, among the huge user groups of electric bicycles, there are nearly 20 million food delivery and express delivery practitioners. These users have an urgent need for fast charging, especially in the case of limited living conditions, insufficient charging facilities and safety considerations. Battery swap cabinets have become an ideal solution.
[0003] The working principle of the battery swap cabinet is to quickly replace the battery on the electric bicycle to achieve rapid energy replenishment of the vehicle without waiting for a long time to complete charging. Existing battery swap cabinets usually adopt a one-to-one approach, that is, each battery swap compartment of the battery swap cabinet is equipped with an independent charging power supply. Although this one-to-one power supply method can meet the charging needs of multiple batteries at the same time, it also has some obvious disadvantages: 1. Each battery swap compartment is equipped with a separate charging power supply, resulting in high manufacturing costs for the entire battery swap cabinet, which leads to high initial investment costs and affects large-scale deployment; 2. When a fault occurs, each charging power supply needs to be checked one by one, which increases the difficulty of maintenance and management; 3. During non-peak charging periods, many charging power supplies are in a low-load state, resulting in energy waste and low energy utilization efficiency.
[0004] Therefore, how to improve the energy utilization efficiency of the battery swap cabinet is a technical problem that technicians currently need to solve. Summary of the invention
[0005] The present invention provides a power supply method for a power exchange cabinet, a power exchange cabinet, an electronic device and a computer-readable storage medium, which are used to solve the technical problem in the prior art that the power exchange cabinet adopts a one-to-one power supply method, resulting in low energy utilization efficiency of the power exchange cabinet.
[0006] A first aspect of the present invention provides a power supply method for a power exchange cabinet, comprising:
[0007] S1: Obtain the charging status of M charging bins, where M is an integer greater than or equal to 2;
[0008] S2: Determine the remaining power of m batteries according to the charging state, M ≥ m;
[0009] S3: Determine the charging speed of the m batteries according to the remaining power;
[0010] S4: dividing the m batteries into Z battery groups according to the charging speed, where Z is an integer greater than or equal to 2;
[0011] S5: Obtain the current moment and determine the prediction stage to which the current moment belongs. The prediction stage is determined based on the number of historical battery replacements;
[0012] S6: dividing the N charging power sources into Z power source groups according to the prediction stage, where N is an integer and M>N;
[0013] S7: charging Z groups of battery packs respectively through Z groups of power packs, wherein the number of batteries in the corresponding power packs and battery packs is greater than or equal to the number of power supplies.
[0014] In a first possible method for powering a power swap cabinet according to the first aspect, S4 includes:
[0015] S41: Sort the m batteries from fast to slow according to the charging speed to obtain a battery sequence;
[0016] S42: Calculate the charging speed difference between two adjacent batteries in the battery sequence to obtain an adjacent speed difference;
[0017] S43: Divide the m batteries into Z battery groups according to the adjacent speed differences, and the maximum charging speed difference in each battery group is less than a set threshold.
[0018] In combination with the first possible method for powering the power swap cabinet of the first aspect, in a second possible method for powering the power swap cabinet of the first aspect, S5 includes:
[0019] S51: Obtain battery replacement data for the previous R days;
[0020] S52: Determine the number of battery swaps H per hour per day based on the battery swap data;
[0021] S53: Compare the battery replacement number H with the preset number range [A, B], and calibrate the corresponding time period into stages according to the comparison result. The stages include the first stage, the second stage and the third stage. The first stage represents H∈[A, B], the second stage represents H<A, and the third stage represents H>B;
[0022] S54: Calibrate the prediction stage for the corresponding time period of the current day according to the calibration situation of the same time period of the previous R days, and the prediction stage includes the first stage, the second stage and the third stage;
[0023] S55: Obtain the current time, and determine the prediction stage according to the time period of the current time.
[0024] In combination with the second possible method for powering the power swap cabinet of the first aspect, in a third possible method for powering the power swap cabinet of the first aspect, S54 includes:
[0025] S541: Count the number of occurrences of each stage in the same period of the previous R days;
[0026] S542: Select the stage with the largest number of occurrences as the prediction stage to calibrate the corresponding time period of the day.
[0027] In combination with the second possible power supply method for the power swap cabinet of the first aspect or the third possible power supply method for the power swap cabinet of the first aspect, in a fourth possible power supply method for the power swap cabinet of the first aspect, S6 includes:
[0028] N charging power sources are divided into Z power groups, the Z power groups include a first power group and a second power group, the first power group is used to charge the front battery group of the battery sequence, and the second power group is used to charge the back battery group of the battery sequence, when the prediction stage is the first stage or the second stage, the number of power sources in the first power group is equal to the number of batteries in the front battery group of the battery sequence, when the prediction stage is the third stage, the number of power sources in the second power group is equal to the number of batteries in the back battery group of the battery sequence.
[0029] In combination with the second possible power supply method for the power swap cabinet of the first aspect or the third possible power supply method for the power swap cabinet of the first aspect, in a fifth possible power supply method for the power swap cabinet of the first aspect, S55 includes:
[0030] S551: Obtain the current time, and determine the prediction stage according to the time period of the current time;
[0031] S552: Determine a power supply stage according to the time period at the current moment, where the power supply stage includes a peak period and a valley period;
[0032] S6 includes: dividing N charging power sources into Z power source groups according to the prediction stage and the power supply stage, where N is an integer and M>N.
[0033] In combination with the fifth possible power supply method for the power swap cabinet of the first aspect, in a sixth possible power supply method for the power swap cabinet of the first aspect, S6 includes:
[0034] S61: Determine whether the prediction stage and the power supply stage constitute a combination of the second stage and the valley period;
[0035] S62: If yes, the N charging power sources are divided into Z power source groups, the Z power source groups include a third power source group and a fourth power source group, the third power source group includes a charging power source and is used to charge the first battery in the battery sequence, the fourth battery group includes N-1 charging power sources and is used to charge the last N-1 batteries in the battery sequence.
[0036] A second aspect of the present invention provides a power exchange cabinet, which adopts any possible power supply method for the power exchange cabinet provided by the first aspect.
[0037] A third aspect of the present invention provides an electronic device, comprising a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of any possible method for powering a power exchange cabinet provided in the first aspect.
[0038] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any possible method for powering a battery swap cabinet provided in the first aspect.
[0039] It can be seen from the above technical solutions that the present invention has the following advantages:
[0040] The power supply method for the power exchange cabinet provided by the present invention obtains the charging status of M charging compartments, where M is an integer greater than or equal to 2; then determines the remaining power of the m batteries according to the charging status, where M≥m; and determines the charging speed of the m batteries according to the remaining power; then divides the m batteries into Z battery groups according to the charging speed, where Z is an integer greater than or equal to 2; then obtains the current moment, and determines the prediction stage to which the current moment belongs, and the prediction stage is determined according to the number of historical power exchanges; and divides the N charging power sources into Z power groups according to the prediction stage, where N is an integer and M>N; finally, the Z battery groups are charged respectively by the Z power groups, and the number of batteries in the corresponding power groups and battery groups is greater than or equal to the number of power sources. By setting the number of charging power sources to be less than the number of charging compartments, and then grouping the batteries to be charged in the charging compartments according to the charging speed, a plurality of battery groups are obtained, and the charging power sources are grouped according to the power exchange requirements at different times to obtain a plurality of power groups, and then the plurality of battery groups are charged respectively by the plurality of power groups to ensure that the power exchange requirements are met. In this way, the battery replacement needs of the battery swap cabinet are met with fewer charging power sources, the number of charging power sources is reduced, thereby reducing the loss of charging power sources during non-peak hours, reducing energy waste, and improving energy utilization efficiency.
[0041] At the same time, the reduction in the number of charging power sources reduces the manufacturing cost of battery swap cabinets and the initial investment cost, which is conducive to large-scale deployment and popularization.
[0042] In addition, the reduction in the number of charging power sources reduces the difficulty of maintenance and management. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0044] Figure 1 A schematic flow chart of a power supply method for a power exchange cabinet provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The embodiments of the present invention provide a power supply method for a power swap cabinet, a power swap cabinet, an electronic device and a computer-readable storage medium, which are used to solve the technical problem that the power swap cabinet in the prior art adopts a one-to-one power supply method, resulting in low energy utilization efficiency of the power swap cabinet.
[0046] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] In the description of the embodiments of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the embodiments of the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance.
[0048] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a replaceable connection, or an integral connection, it can be a mechanical connection, it can be an electrical connection, it can be a direct connection, it can be indirectly connected through an intermediate medium, and it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present application can be understood according to specific circumstances.
[0049] Existing battery swap cabinets usually adopt a one-to-one approach, that is, each battery swap compartment of the battery swap cabinet is equipped with an independent charging power supply. Although this one-to-one power supply method can meet the charging needs of multiple batteries at the same time, it also has some obvious disadvantages: 1. Each battery swap compartment is equipped with a separate charging power supply, which leads to high manufacturing costs of the entire battery swap cabinet, and thus high initial investment costs, affecting large-scale deployment; 2. When a fault occurs, each charging power supply needs to be checked one by one, which increases the difficulty of maintenance and management; 3. During non-peak charging periods, many charging power supplies are in a low load state, resulting in energy waste and low energy utilization efficiency.
[0050] Embodiment 1
[0051] See also Figure 1 , a power supply method for a power exchange cabinet provided by an embodiment of the present invention includes:
[0052] S1: Obtain the charging status of M charging bins, where M is an integer greater than or equal to 2;
[0053] Specifically, the battery swap cabinet contains multiple charging compartments, each of which can hold a battery. The battery management system (BMS) is used to detect the charging status of all charging compartments, including the battery's open circuit voltage (OVC), load voltage (VCC), voltage drop, current, temperature and other information. It should be noted that a BMS can be set for each charging compartment, or a BMS can be integrated on each charging power source. When the integrated design is used, a charging power source is set as the detection charging power source, and each battery newly entering the battery swap cabinet can be detected by the BMS in the detection charging power source to obtain the charging status of the corresponding charging compartment.
[0054] S2: Determine the remaining power of m batteries according to the charging status, M ≥ m;
[0055] Specifically, step S1 has obtained the open circuit voltage (OVC) of the battery, and directly estimated the remaining capacity (SOC) of the battery using the SOC-OCV curve provided by the battery manufacturer.
[0056] S3: Determine the charging speed of the m batteries according to the remaining power;
[0057] Specifically, a preset formula is used to determine the optimal charging speed of each battery according to the remaining power of the battery and the characteristic parameters of the battery.
[0058] Icharge=Crate×Cbattery×f(SOC)
[0059] Where Icharge is the charging current (A), Crate is the charging rate (C), Cbattery is the battery capacity (Ah), and f(SOC) is a function that adjusts the charging rate based on the SOC.
[0060] The remaining battery power has a great influence on the charging speed. When the battery is nearly full, the charging speed needs to be slowed down to avoid overcharging and battery damage.
[0061] For example, when the SOC is below 20%, a higher charging rate (such as 0.5C) can be used, and when the SOC exceeds 80%, the charging rate should be slowed down to 0.1C or lower.
[0062] A function f(SOC) can be defined based on the characteristics of the battery to reflect this relationship, for example:
[0063]
[0064] S4: Divide the m batteries into Z battery groups according to the charging speed, where Z is an integer greater than or equal to 2;
[0065] Specifically, m batteries are divided into Z battery groups according to the charging speed of the batteries. This process is intended to ensure that batteries with the same or similar charging speeds are grouped in the same group, so that charging resources can be allocated more efficiently.
[0066] Optimization of step S4:
[0067] S41: Sort the m batteries from fast to slow according to the charging speed to obtain a battery sequence;
[0068] Specifically, the charging speeds of m batteries are obtained, and a sorting algorithm (such as quick sort, merge sort, etc.) is used to sort the m batteries from fast to slow according to the charging speed, so as to generate a battery sequence sorted by charging speed.
[0069] S42: Calculate the charging speed difference between two adjacent batteries in the battery sequence to obtain an adjacent speed difference;
[0070] Specifically, the sorted battery sequence is traversed, the charging speed difference between the sorted adjacent batteries is calculated, and the charging speed difference of each adjacent battery pair is recorded.
[0071] S43: Divide the m batteries into Z battery groups according to adjacent speed differences, and the maximum charging speed difference in each battery group is less than a set threshold.
[0072] Specifically, set a speed difference threshold, traverse the adjacent speed difference list, group the batteries according to the speed difference threshold, and if the charging speed difference of adjacent batteries is less than or equal to the set speed difference threshold, they are grouped into the same group. If the charging speed difference of adjacent batteries is greater than the set speed difference threshold, they are grouped into different groups. Repeat the above process until all batteries are grouped. Ensure that the maximum charging speed difference in each group is less than the set threshold, so that batteries with similar charging speeds are divided into the same group. Exemplary: Assume that there are m=16 batteries, and the charging speeds are 10A, 11A, 12A, 13A, 15A, 16A, 17A, 18A, 20A, 21A, 22A, 23A, 25A, 26A, 27A, and 28A respectively. The speed difference threshold is set to 1A, the threshold is set to 3.1A, and the batteries are grouped according to the speed difference threshold. Finally, m=16 batteries are divided into Z=4 battery groups: the first group: {10A, 11A, 12A, 13A}, the second group: {15A, 16A, 17A, 18A}, the third group: {20A, 21A, 22A, 23A}, and the fourth group: {25A, 26A, 27A, 28A}.
[0073] S5: Obtain the current time and determine the prediction stage to which the current time belongs. The prediction stage is determined based on the number of historical battery replacements.
[0074] Specifically, it is necessary to determine the prediction stage to which the current moment belongs. The division of prediction stages is crucial for predicting battery swapping demand, because it helps us better understand the regularity of battery swapping behavior and define the division criteria of prediction stages. The prediction stages are divided according to the number of battery swaps. For example, every several battery swaps can be set as a stage. Get the current time information. This can usually be obtained through the system clock or other time synchronization mechanisms.
[0075] Optimization of step S5:
[0076] S51: Obtain battery replacement data for the previous R days;
[0077] Specifically, the historical battery replacement data of the previous R days is extracted from the database. Here, R days can be any selected number of days, and a sufficiently long period is usually selected to ensure the representativeness of the data. For example, we choose R = 7 days.
[0078] S52: Determine the number of battery swaps H per hour per day according to the battery swap data;
[0079] Specifically, based on the historical battery swap data obtained, the number of battery swaps H per hour of each day is counted. This means that a time series needs to be created to record how many battery swaps occurred per hour of each day. For example, 30 battery swaps occurred during the 14:00-15:00 time period on a certain day.
[0080] S53: Compare the number of battery swaps H with the preset number range [A, B], and calibrate the corresponding time period into stages according to the comparison result. The stages include the first stage, the second stage and the third stage. The first stage represents H∈[A, B], the second stage represents H<A, and the third stage represents H>B;
[0081] Specifically, the number of battery swaps H per hour is compared with the preset number range [A, B], and the corresponding time period is divided into one of three stages according to the comparison result: when the number of battery swaps H is within the preset number range [A, B], it is marked as the first stage; when the number of battery swaps H is less than the lower limit A of the preset number range, it is marked as the second stage; when the number of battery swaps H is greater than the upper limit B of the preset number range, it is marked as the third stage. The preset number range [A, B] represents a reasonable range of battery swaps within an hour, that is, the demand for battery swaps is normal. The upper and lower limits of the range can be set according to actual conditions. Below the range represents a low demand for battery swaps, and above the range represents a high demand for battery swaps. For example, we set A = 20, B = 40. According to historical data, if the number of battery swaps H = 30 times in the time period from 14:00 to 15:00, then the time period is marked as the first stage.
[0082] S54: Calibrate the prediction stage for the corresponding time period of the current day according to the calibration situation of the same time period of the previous R days, and the prediction stage includes the first stage, the second stage and the third stage;
[0083] Specifically, the prediction stage of the corresponding time period of the current day is predicted based on the calibration of the same time period of the previous R days. This means analyzing the distribution of the number of battery swaps in the same time period of the previous R days, and using this as a basis to predict the prediction stage of the corresponding time period of the current day. For example, the prediction stage of the corresponding time period of the current day is predicted based on the calibration of the same time period of the previous 7 days - the 14:00-15:00 time period of the previous 7 days is mostly calibrated as the first stage, so it is predicted that the 14:00-15:00 time period of the current day also belongs to the first stage.
[0084] Optimization of step S54:
[0085] S541: Count the number of occurrences of each stage in the same period of the previous R days;
[0086] Specifically, count the number of occurrences of each stage (stage 1, stage 2, stage 3) in the same period of the previous R days. This means that you need to check how many times the same time period in the previous R days was marked as stage 1, stage 2, and stage 3. For example: count the number of occurrences of each stage in the 14:00-15:00 period of the previous 7 days. Among them, the first stage appeared 5 times, the second stage appeared 1 time, and the third stage appeared 1 time in the previous 7 days.
[0087] S542: Select the stage with the most occurrences as the prediction stage to calibrate the corresponding time period of the day.
[0088] Specifically, the stage with the most occurrences is selected from the statistical results as the prediction stage, and the corresponding time period of the day is calibrated. If multiple stages have the same number of occurrences, one of them can be selected as the prediction stage. For example, the first stage appears 5 times, which is the stage with the most occurrences, so it is predicted that the current day 14:00-15:00 period belongs to the first stage.
[0089] S55: Obtain the current time, and determine the prediction stage according to the time period of the current time.
[0090] Specifically, the prediction stage to which the current moment belongs is determined according to which time period the current moment falls in and the prediction stage of the time period. For example, the current moment is 14:30 on Tuesday, July 30, 2024. The prediction stage to which the current moment belongs is determined according to the time period in which the current moment falls. If the current moment falls in the 14:00-15:00 time period, then according to the result of step S54, it is determined that the current moment belongs to the first stage.
[0091] S6: Divide the N charging power sources into Z power source groups according to the prediction stage, where N is an integer and M>N;
[0092] Specifically, the charging power source is allocated reasonably according to the different forecast stages. For example, during the period of low battery replacement demand, less charging power source can be allocated to the battery pack with faster charging speed.
[0093] S6 is optimized as follows: N charging power sources are divided into Z power source groups, and the Z power source groups include a first power source group and a second power source group. The first power source group is used to charge the battery group at the front of the battery sequence, and the second power source group is used to charge the battery group at the back of the battery sequence. When the prediction stage is the first stage or the second stage, the number of power sources in the first power source group is equal to the number of batteries in the battery group at the front of the battery sequence. When the prediction stage is the third stage, the number of power sources in the second power source group is equal to the number of batteries in the battery group at the back of the battery sequence. The charging strategy for allocating charging power sources in this way is that when the demand for battery replacement is low, the battery with more remaining power is charged first to ensure that there are fully charged or high-power batteries available for users to replace. When the demand for battery replacement is high, the battery with less remaining power is charged first to ensure that there are available batteries for users to replace. Specifically, the charging power source is allocated according to the prediction stage: the number of charging power sources is allocated according to different prediction stages - when the prediction stage is the first stage or the second stage: the number of power sources in the first power source group is equal to the number of batteries in the battery group at the front of the battery sequence, that is, the number of power sources in the first power source group just meets the demand of the front battery group. When the prediction stage is the third stage: the number of power supplies in the second power group is equal to the number of batteries in the battery group at the end of the battery sequence, that is, the number of power supplies in the second power group just meets the needs of the battery group at the end. That is, the division of the first power group and the second power group is dynamic, that is, it changes with the division of the battery group. Exemplary: 16 batteries are divided into 4 groups, and 12 charging power supplies are divided into 4 groups. When the prediction stage is the first stage or the second stage: Assume that the battery group at the front of the battery sequence contains 4 batteries. The first power group contains 4 charging power supplies, which just meets the needs of the front battery group. The second power group can contain 2 charging power supplies for charging the battery group at the end of the battery sequence. The remaining 6 charging power supplies can be divided into the third power group and the fourth power group for charging the middle battery group; when the prediction stage is the third stage: Assume that the battery group at the end of the battery sequence contains 4 batteries. The second power group contains 4 charging power supplies, which just meets the needs of the battery group at the end. The first power group can contain 2 charging power supplies for charging the battery group at the front of the battery sequence. The remaining six charging power sources can be divided into a third power group and a fourth power group for charging the middle battery pack.
[0094] S7: charging Z groups of battery packs respectively through Z groups of power packs, wherein the number of batteries in the corresponding power packs and battery packs is greater than or equal to the number of power supplies.
[0095] The beneficial effects of this embodiment include:
[0096] ① By setting the number of charging power sources to be less than the number of charging compartments, and then grouping the batteries to be charged in the charging compartments according to the charging speed, multiple battery groups are obtained, and the charging power sources are grouped according to the power replacement needs at different times to obtain multiple power groups, and then multiple battery groups are charged separately by multiple power groups to ensure that the power replacement needs are met. In this way, the power replacement needs of the power exchange cabinet are met with fewer charging power sources, the number of charging power sources is reduced, thereby reducing the loss of charging power sources during non-peak hours, reducing energy waste, and improving energy utilization efficiency.
[0097] ② By optimizing the utilization of charging power, unnecessary charging power configuration is reduced, and equipment investment and operation and maintenance costs are reduced.
[0098] ③ Grouping batteries according to their charging speed can ensure that battery groups with the same or similar charging speeds are assigned to the same power group, and classify and manage the batteries, thereby improving the overall charging efficiency.
[0099] ④ By dividing the prediction stages, the system can prepare and adjust the allocation of charging resources in advance to cope with the battery replacement needs in different time periods, especially during peak periods, and can respond quickly to meet more battery replacement requests.
[0100] Embodiment 2
[0101] In this embodiment, only step S55 and step S6 in the first embodiment are optimized and adjusted, and the other parts are the same, so they are not described again.
[0102] Optimization of step S55:
[0103] S551: Obtain the current time, and determine the prediction stage according to the time period of the current time;
[0104] Specifically, this step classifies the current moment into the first, second, or third stage of the forecast based on the battery swap data and statistical analysis of the previous R days. Exemplary: Get the current moment, assuming that the current moment is 10 p.m. on Wednesday, July 31, 2024, and determine that the current moment belongs to the third stage (high demand period) based on the battery swap data analysis of the previous R days.
[0105] S552: Determine a power supply stage according to the time period at the current moment, where the power supply stage includes a peak period and a valley period;
[0106] Specifically, the peak period refers to the period when the power demand is high and the power price is high, and the valley period refers to the period when the power demand is low and the power price is low. For example: the power supply stage is determined according to the time period at the current moment. Assume that 10 pm belongs to the valley period (low power price period).
[0107] Accordingly, S6 is optimized as follows: N charging power sources are divided into Z power source groups according to the prediction stage and the power supply stage, where N is an integer and M>N.
[0108] Specifically, M represents the total number of batteries, N represents the number of charging power sources, and N < M means that the number of charging power sources is less than the number of batteries, which means that it is impossible to charge all batteries at the same time. Therefore, it is necessary to determine the allocation of charging power sources based on the combination of the prediction stage and the power supply stage to ensure that the charging cost is reduced while meeting the battery replacement needs. For example, during peak periods, if the prediction stage is stage 3 (high demand), the battery packs at the rear may be charged first because these battery packs may be replaced soon. During valley periods, if the prediction stage is stage 1 or stage 2 (low to medium demand), the front battery packs may be charged first to take advantage of lower electricity prices. Exemplary:
[0109] Further optimization for S6:
[0110] S61: Determine whether the prediction stage and the power supply stage constitute a combination of the second stage and the valley period;
[0111] Specifically, the second stage refers to the period when the number of battery swaps is lower than the lower limit A of the preset number range, indicating that the demand for battery swaps is relatively low. The valley period refers to the period when electricity demand is low and electricity prices are low. Exemplary: The current time is 2 a.m. on Wednesday, July 31, 2024. Based on the analysis of the battery swap data of the previous R days, it is determined that the current time belongs to the second stage (low demand period) and 2 a.m. belongs to the valley period (low electricity price period). In this case, it does constitute a combination of the second stage and the valley period.
[0112] S62: If yes, then divide the N charging power supplies into Z power supply groups, the Z power supply groups include the third power supply group and the fourth power supply group, the third power supply group includes a charging power supply and is used to charge the first battery in the battery sequence, and the fourth battery group includes N-1 charging power supplies and is used to charge the N-1 batteries after the battery sequence. According to the second stage and the valley period combination composed of the prediction stage and the power supply stage, the charging power supply is reasonably allocated to ensure that the battery with a faster charging speed is charged first during the period of low electricity prices, so as to make full use of resources. At the same time, considering the low demand for battery replacement, the charging of the first battery in the battery sequence is prioritized to ensure that there are batteries with sufficient power available for battery replacement. Exemplarily, the N charging power supplies are divided into Z power supply groups, assuming that N = 8 charging power supplies, the third power supply group: includes a charging power supply for charging the first battery in the battery sequence. The fourth power supply group: includes N-1 = 7 charging power supplies, which are used to charge the N-1 = 7 batteries after the battery sequence.
[0113] The beneficial effects of this embodiment include:
[0114] Allocate charging power according to the forecast phase and power supply phase, ensuring that resources are fully utilized during periods of low electricity prices while meeting the predicted battery swap demand. This helps battery swap stations better plan resources, manage inventory, and ensure that batteries can be charged at the right time to meet user needs.
[0115] Embodiment 3
[0116] An embodiment of the present invention provides a power exchange cabinet that adopts any one of the power exchange cabinet power supply methods provided in embodiment one or embodiment two.
[0117] Specifically, the battery swap cabinet is equipped with a battery management system (BMS), a charging power supply, a grid interface, and a central processing unit (CPU). The battery swap cabinet contains multiple charging compartments, each of which can hold a battery. The BMS is used to monitor the status of the battery, and the charging power supply is responsible for managing the charging process, including determining the charging mode (such as constant current, constant voltage, etc.), controlling the charging current and voltage, and providing overcurrent, short circuit and other protection measures during the charging process, while the CPU executes the core algorithm of the power supply method of the battery swap cabinet.
[0118] This embodiment adopts the technical solutions of Embodiment 1 and Embodiment 2, so it has the same beneficial effects, which will not be described in detail here.
[0119] Embodiment 4
[0120] An embodiment of the present invention also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the power supply method for the power exchange cabinet of embodiment one or embodiment two is implemented. The computer-readable storage medium can be any available medium that can be stored by a computing device, or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a high-density digital video disc (DVD)), or a semiconductor medium (for example, a solid-state hard disk), etc. The computer-readable storage medium includes instructions that instruct the computing device to execute any of the power supply methods for the power exchange cabinet provided in embodiment one or embodiment two.
[0121] Embodiment 5
[0122] An embodiment of the present invention further provides an electronic device, comprising a memory, a processor, that is, a computer program stored in the memory;
[0123] The processor executes the computer program to implement the power supply method for the power exchange cabinet in Example 1 or Example 2.
[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, other working processes of the method described above can refer to the corresponding processes in the aforementioned embodiments and will not be described in detail here.
[0125] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the method of each embodiment of the present application.
[0126] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product.
[0127] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device or data center. The computer-readable storage medium can be any available medium that a computer can store or a data storage device such as a training device, a data center, etc. that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, hard disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state hard disk (SSD)), etc.
[0128] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A power supply method for a power exchange cabinet, characterized in that: include: S1: Obtain the charging status of M charging bins, where M is an integer greater than or equal to 2; S2: Determine the remaining power of m batteries according to the charging state, M≥m; S3: Determine the charging speed of the m batteries according to the remaining power; S4: dividing the m batteries into Z battery groups according to the charging speed, where Z is an integer greater than or equal to 2; S5: obtaining the current moment, and determining the prediction stage to which the current moment belongs, wherein the prediction stage is determined according to the number of historical battery replacements; S6: Divide the N charging power sources into Z power source groups according to the prediction stage, where N is an integer and M>N; S7: charging Z groups of battery packs respectively through Z groups of power packs, wherein the number of batteries in the corresponding power packs and battery packs is greater than or equal to the number of power supplies.
2. A power supply method for a power exchange cabinet according to claim 1, characterized in that S4 include: S41: Sort the m batteries from fast to slow according to the charging speed to obtain a battery sequence; S42: Calculating a charging speed difference between two adjacent batteries in the battery sequence to obtain an adjacent speed difference; S43: Divide the m batteries into Z battery groups according to the adjacent speed differences, and the maximum charging speed difference in each battery group is less than a set threshold.
3. A power supply method for a power exchange cabinet according to claim 2, characterized in that S5 include: S51: Obtain battery replacement data for the previous R days; S52: Determine the number of battery swaps H per hour per day according to the battery swap data; S53: Compare the battery replacement times H with the preset times range [A, B], and calibrate the corresponding time period into stages according to the comparison result, wherein the stages include the first stage, the second stage and the third stage, wherein the first stage represents H∈[A, B], the second stage represents H<A, and the third stage represents H>B; S54: Calibrate the prediction stage for the corresponding time period of the current day according to the calibration results of the same time period of the previous R days, wherein the prediction stage includes the first stage, the second stage and the third stage; S55: Obtain the current time, and determine the prediction stage according to the time period of the current time.
4. A power supply method for a power exchange cabinet according to claim 3, characterized in that: S54 includes: S541: Count the number of occurrences of each of the stages in the same period of the previous R days; S542: Select the stage with the largest number of occurrences as the prediction stage to calibrate the corresponding time period of the day.
5. A power supply method for a power exchange cabinet according to claim 3 or 4, characterized in that S6 include: N charging power sources are divided into Z power groups, the Z power groups include a first power group and a second power group, the first power group is used to charge the front battery group of the battery sequence, and the second power group is used to charge the back battery group of the battery sequence, when the prediction stage is the first stage or the second stage, the number of power sources in the first power group is equal to the number of batteries in the front battery group of the battery sequence, and when the prediction stage is the third stage, the number of power sources in the second power group is equal to the number of batteries in the back battery group of the battery sequence.
6. A power supply method for a power exchange cabinet according to claim 3 or 4, characterized in that: S55 includes: S551: Acquire the current moment, and determine the prediction stage according to the time period of the current moment; S552: Determine a power supply stage according to the time period at the current moment, wherein the power supply stage includes a peak period and a valley period; S6 includes: dividing N charging power sources into Z power source groups according to the prediction stage and the power supply stage, where N is an integer and M>N.
7. A power supply method for a power exchange cabinet according to claim 6, characterized in that S6 include: S61: Determine whether the prediction stage and the power supply stage constitute a combination of the second stage and the valley period; S62: If yes, the N charging power sources are divided into Z power groups, the Z power groups include a third power group and a fourth power group, the third power group includes a charging power source and is used to charge the first battery in the battery sequence, the fourth battery group includes N-1 charging power sources and is used to charge the last N-1 batteries in the battery sequence.
8. A power exchange cabinet, characterized in that: A power supply method for a power exchange cabinet as described in any one of claims 1 to 7 is adopted.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the power supply method for the power exchange cabinet as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the power supply method for a battery swap cabinet as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Dynamic distribution method for charging power of centralized power exchange cabinet
CN110190645A
Charging and battery replacing cabinet control system with charger scheduling function
CN112104048A
Charging control method and system of battery replacement cabinet, equipment and storage medium
CN113452056A
