Battery swapping method of battery swapping station, battery swapping device of battery swapping station, and battery swapping station
Patent Information
- Application Number
- CN202611268292.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-09-25
AI Technical Summary
在实际运行中,当换电需求集中或仓位资源动态变化时,上述仓位选择策略易导致选仓逻辑冲突、箱体负载失衡,进而引发取放电动作失败或换出电池性能不达标等情况,导致无法成功换电池
[0017]本申请提供的换电站的换电方法、换电站的换电装置和换电站,响应于换电需求,确定可提供待换上电池的第一类仓位、以及可存放待换下电池的第二类仓位,确保后续选取仓位建立在符合换电需求的基础之上。随后,以可取电池仓位的第一分布信息和可放电池仓位的第一分布信息作为箱体选择依据,从双箱体中选择取电池箱体和放电池箱体,使得取电池箱体和放电池箱体的选取能够随取放仓位的实际分布自适应切换,降低因各箱体内仓位资源分布不均、箱体负载失衡导致的选仓失败的可能,并将车辆上的待换下电池放入放电池箱体中的第二类仓位、从取电池箱体的第一类仓位中取出待换上电池,解决了车辆在换电站的换电成功率低的问题。
Smart Images

Figure CN122808537A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging and swapping, and in particular to swapping methods, swapping devices, and swapping stations. Background Technology
[0002] A battery swapping station is a facility that provides rapid battery replacement services for new energy vehicles. Its core function is to remove the low-charge power battery from the vehicle and replace it with a fully charged battery. The battery swapping station has multiple battery compartments (hereinafter referred to as "compartments"), each containing one power battery and equipped with a charging device. The battery is continuously charged in the compartment until it reaches full charge, ready for battery swapping.
[0003] In related technologies, battery swapping stations typically employ either a fixed bay location strategy or a sequential polling strategy to determine the battery pickup and discharge bays during battery swapping operations. The fixed bay location strategy pre-sets fixed pickup and discharge bays, using the same bays for each swap. The sequential polling strategy selects the next bay sequentially according to its bay number. In actual operation, when battery swapping demand is concentrated or bay resources change dynamically, these bay selection strategies can easily lead to bay selection logic conflicts and unbalanced loads on the swapping bays, resulting in failed pickup / discharge operations or substandard battery performance, ultimately preventing successful battery swapping.
[0004] There is currently no effective solution to the problem of low battery swapping success rate of vehicles at battery swapping stations in related technologies. Summary of the Invention
[0005] In view of this, this application provides a battery swapping method, a battery swapping device, and a battery swapping station to improve the low battery swapping success rate of the battery swapping station.
[0006] Firstly, this embodiment provides a battery swapping method for a battery swapping station, the battery swapping station having a dual-enclosure structure; the method includes:
[0007] In response to the demand for battery swapping, a first type of compartment is identified that can provide batteries to be swapped in, and a second type of compartment can store batteries to be swapped out.
[0008] Obtain first distribution information of the first type of compartments in the dual-box body and second distribution information of the second type of compartments in the dual-box body, and determine the battery receiving compartment in the dual-box body for providing batteries to be replaced and the battery receiving compartment in the dual-box body for receiving batteries to be replaced based on the first distribution information and the second distribution information.
[0009] The battery to be replaced from the vehicle is placed into the second type of compartment in the battery discharge box, and the battery to be replaced is taken out from the first type of compartment in the battery retrieval box.
[0010] Secondly, this embodiment provides a battery swapping device for a battery swapping station, the battery swapping station having a double-enclosure structure; the device includes:
[0011] The acquisition module is used to determine, in response to battery swapping needs, a first type of compartment that can provide a battery to be swapped in and a second type of compartment that can store a battery to be swapped out.
[0012] The selection module is used to obtain the first distribution information of the first type of compartments in the double box and the second distribution information of the second type of compartments in the double box, and to determine the battery receiving compartment in the double box for providing batteries to be replaced and the battery discharging compartment in the double box for receiving batteries to be replaced based on the first distribution information and the second distribution information.
[0013] The processing module places the battery to be replaced from the vehicle into the second type of compartment in the battery discharge box, and retrieves the battery to be replaced from the first type of compartment in the battery retrieval box.
[0014] Thirdly, this embodiment provides a battery swapping station, including:
[0015] A battery swapping device, the battery swapping device including a memory, a processor and a computer program;
[0016] The computer program is stored in the memory and configured to be executed by the processor to implement the battery swapping method of the battery swapping station described in the first aspect above.
[0017] The battery swapping method, battery swapping device, and battery swapping station provided in this application, in response to battery swapping demand, determine a first type of compartment that can provide batteries to be swapped and a second type of compartment that can store batteries to be swapped out, ensuring that subsequent compartment selection is based on meeting battery swapping requirements. Subsequently, using the first distribution information of battery retrieval compartments and the first distribution information of battery placement compartments as the basis for compartment selection, a battery retrieval compartment and a battery placement compartment are selected from the dual compartments. This allows the selection of the battery retrieval compartment and the battery placement compartment to adaptively switch according to the actual distribution of retrieval and placement compartments, reducing the possibility of compartment selection failure due to uneven distribution of compartment resources or unbalanced compartment load. The battery to be swapped out from the vehicle is placed in the second type of compartment in the battery placement compartment, and the battery to be swapped out is retrieved from the first type of compartment in the battery retrieval compartment, solving the problem of low battery swapping success rate at battery swapping stations. Attached Figure Description
[0018] Figure 1 A schematic diagram of an embodiment of the battery swapping method for the battery swapping station provided in this application;
[0019] Figure 2 This is an application scenario diagram illustrating a battery swapping method at a battery swapping station, as shown in an exemplary embodiment of this application.
[0020] Figure 3 A schematic diagram of Embodiment 2 of the battery swapping method for the battery swapping station provided in this application;
[0021] Figure 4 A schematic diagram of Embodiment 3 of the battery swapping method for the battery swapping station provided in this application;
[0022] Figure 5 This application illustrates a hardware structure diagram of a battery swapping device in an exemplary embodiment of the present application.
[0023] Figure 6 This is a schematic diagram of an embodiment of the battery swapping device for the battery swapping station provided in this application. Detailed Implementation
[0024] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application.
[0025] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used herein are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0026] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0027] The following specific embodiments are given to illustrate the technical solution of this application in detail.
[0028] Figure 1 This is a schematic diagram of an embodiment of the battery swapping method for the battery swapping station provided in this application. Please refer to... Figure 1 The method provided in this embodiment may include:
[0029] S101. In response to battery swapping demand, determine the battery swapping demand for a first type of compartment that can provide batteries to be swapped in and a second type of compartment that can store batteries to be swapped out.
[0030] A battery swapping request refers to a vehicle's request to a battery swapping station to replace its battery. This request can specify one or more batteries to be retrieved from the station, and one or more batteries to be placed inside the station. When a battery swapping request involves the retrieval and placement of multiple batteries, these operations can be performed sequentially in several consecutive swapping cycles. Each swapping cycle corresponds to the retrieval and placement of one or more batteries.
[0031] The first type of compartment can provide a usable battery in the compartment to be replaced and can successfully perform the battery retrieval operation through the battery swapping mechanism; the second type of compartment can store the battery to be replaced and is currently idle, and the battery swapping mechanism can reach the compartment without obstacles and successfully perform the battery placement operation.
[0032] S102. Obtain the first distribution information of the first type of compartment in the dual-box body and the second distribution information of the second type of compartment in the dual-box body, and determine the battery receiving box in the dual-box body for providing batteries to be replaced and the battery receiving box in the dual-box body for receiving batteries to be replaced based on the first distribution information and the second distribution information.
[0033] The first distribution information is used to indicate at least the containers where the first type of storage space is located; the second distribution information is used to indicate at least the containers where the second type of storage space is located. Further, the first distribution information may also include the number of first-type storage spaces in each container, the specific location of the first-type storage spaces on the rack, and the historical usage frequency of the first-type storage spaces; the second distribution information may also include the number of second-type storage spaces in each container, the specific location of the second-type storage spaces on the rack, and the historical usage frequency of the second-type storage spaces.
[0034] In one possible implementation, when determining the battery pickup box based on the first distribution information, at least one of the following power pickup strategies can be adopted: selecting the box with the largest number of first-type compartments to ensure the continuity of multiple battery swapping cycles; or selecting the box with a more concentrated spatial distribution of first-type compartments to reduce the travel distance of the battery swapping mechanical device. Correspondingly, when determining the battery discharge box based on the second distribution information, at least one of the following discharge strategies can be adopted: selecting the box with the largest number of second-type compartments; selecting the box with a historically low usage frequency; or selecting the box with a more concentrated spatial distribution of second-type compartments. Alternatively, after preferentially determining the battery pickup box based on the above power pickup strategies, the other box located on the opposite side can be automatically designated as the battery discharge box; or, after preferentially determining the battery discharge box based on the above discharge strategies, the other box on the opposite side can be automatically designated as the battery pickup box. The above strategies can be implemented using a decision tree model or a rule expression engine. Specific construction methods for decision tree models and rule expression engines can be found in related technical documents and will not be elaborated upon here.
[0035] In one possible implementation, parameters such as the number of first-type compartments within the box, the maximum remaining battery capacity of the corresponding batteries in the first-type compartments, and the historical usage frequency of each compartment within the first box are obtained based on first distribution information. These parameters are then normalized according to preset weights to obtain a comprehensive scheduling score for each box, and the box with the highest score is selected as the battery dispensing box. Similarly, parameters such as the number of first-type compartments within the box and the historical usage frequency of each compartment within the first box are obtained based on second distribution information. Corresponding weights are pre-assigned to each type of parameter, and these parameters are then normalized according to preset weights to obtain a comprehensive scheduling score for each box. The box with the highest score is selected as the battery dispensing box.
[0036] S103. Place the battery to be replaced from the vehicle into the second compartment of the battery dispensing box, and remove the battery to be replaced from the first compartment of the battery retrieval box.
[0037] Optionally, a second-type compartment can be randomly selected in the battery storage box and the corresponding battery to be replaced can be placed in it; a first-type compartment can be randomly selected in the battery retrieval box and the corresponding battery to be replaced can be retrieved, so as to achieve equalization of the probability of use of the compartments.
[0038] Optionally, when selecting the first type of compartment, the first type of compartments are sorted in descending order according to the SOC (State of Charge, the current remaining battery power) of the first type of compartment in the battery box, and the compartment with the highest SOC is selected; if multiple compartments have the same and highest SOC, a first type of compartment is randomly selected to avoid using the same battery in the same location for a long time.
[0039] After acquiring the first and / or second type of battery bays, the bay data can be encapsulated into a SelectCabinet. The bay data includes: bay number, SOC value, rack identifier, container identifier, identifier indicating whether to perform battery removal or placement operations on that bay, and battery information. Optionally, the bay selection records can be persisted in a MySQL database for post-event analysis and status tracking during multiple battery swaps.
[0040] In this embodiment, by acquiring the first type of compartment that can provide batteries to be replaced and the second type of compartment that can store batteries to be replaced, it is ensured that the selected compartments meet the battery swapping requirements. Based on this, the first distribution information of battery retrieval compartments and the first distribution information of battery placement compartments are used as the basis for selecting the battery retrieval compartment and the battery placement compartment from the dual compartments. The battery to be replaced on the vehicle is placed into the second type of compartment in the battery placement compartment, and the battery to be replaced is retrieved from the first type of compartment in the battery retrieval compartment. This allows the selection of the battery retrieval compartment and the battery placement compartment to adaptively switch according to the actual distribution of the first and second type of compartments, reducing the possibility of compartment selection failure due to uneven distribution of compartment resources in each compartment, unbalanced compartment load, or unreasonable compartment selection path, thus solving the problem of low battery swapping success rate at battery swapping stations.
[0041] Furthermore, let me first briefly introduce the application scenarios of this application. Specifically, Figure 2 This diagram illustrates an application scenario of a battery swapping method at a battery swapping station, as shown in an exemplary embodiment of this application. Please refer to... Figure 2 The battery swapping method for the battery swapping station provided in this application is applied to dual-compartment battery swapping stations.
[0042] The physical architecture of a battery swapping station mainly includes battery racks, enclosures, mechanical passages, and battery swapping machinery. Specifically, a battery swapping station is equipped with multiple battery racks, such as four racks (A, B, C, and D) in a dual-rack configuration, or two racks (A and B) in a single-rack configuration. Each rack has several compartments for accommodating power batteries, such as rack A containing eight compartments (A1 to A8).
[0043] In a dual-compartment station, two adjacent battery racks share a mechanical channel to form an independent chamber. For example, rack A and rack B share a mechanical channel to form "chamber A", and rack C and rack D share another mechanical channel to form "chamber E". In a single-compartment station, there is only one chamber.
[0044] Based on the layout of the enclosure, the mechanical channel can be divided into three types: left channel, right channel, or dual channel (left and right). The left channel corresponds to "E enclosure", the right channel corresponds to "A enclosure", and the dual channel mode means that both enclosure units are in a usable state.
[0045] The battery swapping mechanism, controlled by a programmable logic controller (PLC), is used to move batteries between the battery compartment and the vehicle's battery swapping station. This mechanism is configured to move along mechanical channels within its designated compartment to reach the appropriate compartment and perform battery removal or insertion. It should be noted that within the same battery swapping cycle, the mechanism is limited to continuously performing power extraction and discharging operations within the same compartment unit.
[0046] Understandable Figure 2 The physical structure of the battery swapping station shown is only an exemplary implementation for the purpose of understanding the technical solution of this application. The number of bays in each rack, the number of each box and rack, and the mapping relationship between the rack and the box can all be configured and adjusted according to actual needs.
[0047] The battery swapping method of the battery swapping station provided in this application will be further described below. Specifically, in some embodiments, determining a first type of compartment that can provide batteries to be swapped and a second type of compartment that can store batteries to be swapped out includes: in the compartments of the dual-box structure, the compartment that meets the preset retrieval conditions is designated as the first type of compartment, and the compartment that meets the preset storage conditions is designated as the second type of compartment.
[0048] The preset retrieval conditions include at least one of the following: the battery placement time in the compartment is longer than the preset time; the retrieval channel of the box used to store the compartment is in normal working condition; the compartment is in the retrieval ready state; the compartment does not belong to the assigned compartment for battery retrieval; and the battery type stored in the compartment matches the battery type indicated by the battery swapping demand.
[0049] The preset storage conditions include at least one of the following: the storage space is in the storage ready state, the access channel of the box used to store the storage space is in normal working condition, and the storage space does not belong to the storage space already issued for storing batteries.
[0050] The preset duration is a pre-defined time threshold, the specific value of which can be determined comprehensively based on factors such as battery charging characteristics and management strategies; for example, it can be set to 100 seconds. Optionally, the battery entry time in each compartment is obtained, and the time difference between the current time and the entry time is calculated as the battery placement duration. If the placement duration of a compartment is less than or equal to the preset duration, it is determined that the battery in that compartment is still in the initial charging stage or the electrical connection is not completely stable, and it is considered an unstable compartment that does not meet the preset retrieval conditions and is removed from the dual-compartment compartment candidate set.
[0051] The availability of access channels for storage compartments is considered to be in normal working condition, meaning that the mechanical channel corresponding to the compartment containing the compartment is in an usable working state. For example, if the battery swapping station is currently only using one side of the mechanical channel for battery swapping operations, then all compartments contained in the unused side of the compartment are determined not to meet the preset access conditions and are removed from the compartment candidate set of the two compartments. For example, when only the right channel is used, all compartments in compartment E are filtered out.
[0052] The battery type stored in the battery swapping bay matches the battery type indicated by the swapping request, meaning that all of the following matching conditions are met simultaneously: battery type, supplier code, rated energy, rated capacity, and rated voltage are all consistent with the corresponding parameters in the swapping request. Specifically, the battery type can be extracted from a pre-defined character field in the battery number; for example, extracting the 5th character of the battery number yields the battery type. Rated energy is calculated by multiplying the rated capacity and rated voltage by 1000, in kilowatt-hours. When a parameter value for a matching condition in the swapping request is empty, it indicates that there are no restrictions on that dimension. This matching condition can be obtained from the cloud connected to the swapping station or generated by the vehicle initiating the swapping request.
[0053] The "ready to retrieve" status means that a valid battery can be retrieved from the designated bay. A ready-to-retrieve status includes at least one of the following: the bay is not a faulty bay; specifically, if the battery rack to which the bay belongs is not listed as a faulty rack in the historical PLC request record, the bay is considered not a faulty bay. For example, if rack A is marked as faulty, then bays A1 to A8 are all considered faulty bays; the bay contains a battery with a valid battery number; the battery's SOC meets the minimum retrieval condition; for example, the minimum retrieval condition is met only if the battery's SOC is greater than or equal to the minimum retrieval SOC threshold; and the bay and battery are not disabled by the software. Optionally, the enable status flags of each bay and battery are read from the PLC cache to determine whether they are disabled by the software.
[0054] The "ready to store batteries" status means that the storage compartment can store batteries. A ready to store batteries status includes at least one of the following: the compartment is empty; the compartment is not in a limp mode (a hardware malfunction prevents battery storage); the water / electricity connectors are retracted (if the connectors are not retracted, it indicates an abnormal physical condition and batteries cannot be placed in the compartment; the water / electricity connector status for each compartment can be read from the PLC cache, retaining only the status flags corresponding to "retracted" compartments); the compartment is not disabled by the software (the enable status flags for each compartment can be read from the PLC cache to determine if it is disabled by the software, retaining only the status flags corresponding to "available" compartments).
[0055] When performing a battery swapping operation in response to demand, multiple bay instructions may be issued for storing batteries to be swapped and retrieving batteries to be installed. Matching the battery type stored in a bay with the battery type indicated in the battery swapping demand means that the currently acquired first-type bay is configured differently from other bays previously assigned in this round of battery swapping that have not yet completed battery retrieval. A bay not belonging to the previously assigned battery storage bays means that the currently acquired second-type bay is configured differently from other bays previously assigned in this round of battery swapping that have not yet completed battery storage. This ensures the orderly execution of battery swapping operations and avoids bay allocation conflicts.
[0056] This can be achieved by constructing TakeCabinetFilter and PutCabinetFilter, progressively filtering out positions that do not meet the conditions according to a predefined filter chain. The filter chain is configured based on at least one of the aforementioned preset takecabinet and putcabinet conditions. Alternatively, a Chain of Responsibility pattern can be adopted, treating each filter as an independent processing node, dynamically adjusting the filtering order and activation status through user configuration, thereby improving the scalability of obtaining the first and second types of positions. Another option is to compile the aforementioned preset takecabinet and putcabinet conditions into rule expressions, and perform matching through a lightweight rule engine to determine the first and second types of positions.
[0057] For example, the retrieval filter sequentially determines whether the retrieval compartments of the dual-box unit meet the following preset retrieval conditions: the battery placement time in the compartment is greater than the preset time, the retrieval channel of the box used to store the compartment is in normal working condition, the compartment is not a faulty compartment, the compartment is not a compartment that has been issued for battery retrieval, and the battery type stored in the compartment matches the battery type indicated by the battery swapping requirement.
[0058] The battery compartment filter sequentially determines whether the compartments of the dual-box housing meet the following preset compartment conditions: the compartment is not a limp compartment, the water and electricity connection of the compartment is retracted, the compartment is not disabled, the accessible channel of the box used to store the compartment is in normal working condition, the compartment is not a faulty compartment, and the compartment is not a compartment that has been issued for storing batteries.
[0059] This involves constructing a selection factor and using it to obtain the necessary information for the retrieval and release filters, as well as determining whether each location meets the preset retrieval and release conditions. The selection factor serves as the context data carrier for the entire battery swapping method implemented at the battery swapping station. Optionally, the selection factor can be obtained from Redis cache, historical PLC application records, battery swapping station configuration, and the cloud connected to the battery swapping station. Furthermore, the selection factor is stored in the Redis cache and the required information is retrieved when executing the battery swapping method at the battery swapping station.
[0060] Optionally, the selection factor includes the following information: station type (stationType), where station type 1 indicates a single-cell station, and station type 2 indicates a dual-cell station; channel type (channelType), where mechanical channel type 0 represents a left channel, 1 represents a right channel, and 2 represents both left and right channels; chamber rules (chamberEnum), which are determined based on the channel type, with left channel corresponding to E-chamber, right channel corresponding to A-chamber, and dual channels corresponding to dual-chamber; the order number (swapOrderNo) and the number of swapping wheels (swapRound) corresponding to the current swapping demand; the record of assigned slots in each swapping wheel, and the PLC application... Battery rack records, for example, the first round of power intake rack is identified as r1_take_no, the first round of discharge rack is identified as r1_put_no, the second round of power intake rack is identified as r2_take_no, the second round of discharge rack is identified as r2_put_no, and so on; abnormal rack set (abnormalRacks), which is collected from historical PLC request records and represents battery racks with faults; list of unstable racks (removeUnstableList) where the battery placement time is less than or equal to the preset time; battery matching strategy (cmdNotifyVinVo) corresponding to the current battery swapping demand, including matching conditions such as battery type, supplier code, rated capacity, and rated voltage.
[0061] Furthermore, the selection of the first type of compartment and the second type of compartment can be applied to dual-compartment stations, and correspondingly, it can also be applied to single-compartment stations. That is, when the battery swapping station has a single compartment, or when only one compartment is available in the dual-compartment station, the first type of compartment that can provide batteries to be swapped and the second type of compartment that can store batteries to be swapped are determined according to the above-mentioned preset retrieval conditions and preset placement conditions.
[0062] In some of these embodiments, Figure 3 A schematic diagram of Embodiment 2 of the battery swapping method for the battery swapping station provided in this application. Figure 3To determine the selection method for battery pickup and battery drop-off boxes when at least one type of compartment is distributed only in a single box, different colored lines correspond to combinations of different compartment distribution scenarios. In one possible implementation, determining the battery pickup box for providing batteries to be replaced and the battery drop-off box for receiving batteries to be replaced in a dual-box configuration based on first and second distribution information includes: when the first distribution information indicates that the first type of compartment is distributed in a single box, designating the box with the first type of compartment as the battery pickup box; and determining the battery drop-off box based on the second distribution information.
[0063] In this way, since the first type of compartments are physically concentrated on one side of the box, the box can be directly identified as the battery extraction box, which can completely avoid the situation where the battery swapping mechanical device performs invalid search or idle travel within the box. This fundamentally eliminates the situation where energy consumption increases due to cross-box search and improves battery swapping efficiency.
[0064] In one possible implementation, the quantity of the second type of storage space in each of the two boxes is obtained based on the second distribution information, and the box with the larger quantity of second type storage space is selected as the battery storage box to balance the storage quantity of the two boxes.
[0065] In one possible implementation, determining the battery storage box based on the second distribution information includes: when the second distribution information indicates that the second type of storage compartments are distributed in a single box, using the box with the second type of storage compartments as the battery storage box; and when the second distribution information indicates that the second type of storage compartments are distributed in two boxes, using the box other than the battery retrieval box as the battery storage box.
[0066] When the second type of compartments is physically concentrated on one side of a cabinet, that cabinet is directly designated as the battery storage cabinet. This also improves the selection efficiency of the battery storage cabinet and effectively prevents battery swapping interruptions caused by decision-making timeouts or misjudgments. When the second type of compartments are physically distributed across two cabinets, the opposite cabinet is used as the battery storage cabinet, ensuring that the pick-up and drop-off compartments are distributed across different cabinets as much as possible, achieving load balancing between the two cabinets.
[0067] In one possible implementation, determining the battery dispensing box for providing batteries to be replaced and the battery receiving box for receiving batteries to be replaced in the dual-box system based on the first distribution information and the second distribution information further includes: when the first distribution information indicates that the first type of compartments are distributed in two boxes and the second distribution information indicates that the second type of compartments are distributed in a single box, the box with the second type of compartments is designated as the battery receiving box, and the boxes other than the battery receiving box are designated as battery dispensing boxes.
[0068] In particular, when the second type of compartments are physically concentrated in a single-sided enclosure, the power supply and discharge operations are separated and performed in different enclosures. This effectively avoids the situation where the power supply and discharge operations are concentrated in the same enclosure, resulting in the other enclosure being idle for a long time. It also reduces the risk of increased wear and tear and shortened service life of mechanical devices caused by high-frequency use of a single-sided enclosure, and improves the overall utilization rate and operational reliability of the battery swapping station.
[0069] In some embodiments, determining the battery removal box for providing the battery to be replaced and the battery placement box for receiving the battery to be replaced in the dual-box structure based on the first distribution information and the second distribution information includes: when the first distribution information indicates that the first type of compartment is distributed in the two boxes and the second distribution information indicates that the second type of compartment is distributed in the two boxes, obtaining the first maximum remaining power corresponding to the first type of compartment in the first box of the dual-box structure and the second maximum remaining power corresponding to the first type of compartment in the second box of the dual-box structure; and determining the battery removal box and the battery placement box based on the first distribution information, the second distribution information, the first maximum remaining power, and the second maximum remaining power.
[0070] The first maximum remaining battery capacity indicates the maximum remaining battery capacity in all first-type compartments within the first housing. The second maximum remaining battery capacity indicates the maximum remaining battery capacity in all first-type compartments within the second housing.
[0071] When determining the battery collection box, priority should be given to boxes with a large number of first-class compartments or boxes with a high maximum remaining battery capacity; when determining the battery placement box, priority should be given to boxes with a large number of second-class compartments.
[0072] Thus, by determining the battery pickup and drop-off boxes based on the first distribution information, the second distribution information, the first maximum remaining power, and the second maximum remaining power, the boxes can be evaluated and selected from multiple dimensions. Compared with selecting boxes based on only a single indicator, this can improve the reliability of box selection and thus increase the success rate of battery swapping at the vehicle swapping station.
[0073] Furthermore, in one embodiment, for the first enclosure, a first quantity of first-type compartments in the first enclosure is obtained based on first distribution information, and a third quantity of second-type compartments in the first enclosure is obtained based on second distribution information. The first quantity and the first highest remaining battery capacity are weighted and summed according to preset weighting coefficients to obtain a score characterizing the first enclosure's priority as a battery extraction enclosure; and the third quantity is used to obtain a score characterizing the first enclosure's priority as a battery storage enclosure.
[0074] Similarly, for the second container, the second quantity of the first type of compartments in the second container is obtained based on the first distribution information; the fourth quantity of the second type of compartments in the second container is obtained based on the second distribution information. The second quantity and the second highest remaining power are weighted and summed according to a preset weighting coefficient to obtain a score characterizing the priority of the second container as a battery extraction container; and the score of the second container as a priority of the second container as a battery storage container is obtained based on the fourth quantity.
[0075] By comparing the scores of the first and second boxes as battery extraction boxes, the box with the higher score is selected as the battery extraction box. By comparing the scores of the first and second boxes as battery placement boxes, the box with the higher score is selected as the battery placement box; or, any box other than the battery extraction box can be selected as the battery placement box.
[0076] In one embodiment, Figure 4 A schematic diagram of Embodiment 3 of the battery swapping method for the battery swapping station provided in this application. Figure 4 When both types of compartments are distributed across two enclosures, the selection method for the battery retrieving and placing compartments is described, where different colored lines correspond to combinations of different compartment quantity configurations. The first distribution information includes the first quantity of the first type of compartments in the first enclosure and the second quantity of the first type of compartments in the second enclosure. Based on the first distribution information, the second distribution information, the first maximum remaining battery capacity, and the second maximum remaining battery capacity, the battery retrieving and placing compartments are determined, including:
[0077] (1) When both the first quantity and the second quantity are 1, the battery box and the battery box are determined based on the first maximum remaining power, the second maximum remaining power, and the second distribution information.
[0078] (2) When the first quantity is 1 and the second quantity is greater than 1, or when the first quantity is greater than 1 and the second quantity is 1, the first target box is determined as the battery retrieval box, and the boxes other than the battery retrieval box are determined as battery placement boxes; wherein, the first target box is the box with a smaller number of first-type compartments in the double box. In this way, the number of first-type compartments in the double box can be balanced, so that the load of the first-type compartments in the double box is balanced, and the unilateral concentrated wear of each equipment in the battery swapping station is reduced.
[0079] (3) When neither the first quantity nor the second quantity is 1, the second target box is used as the battery taking box, and the boxes other than the battery taking box are used as battery placing boxes; wherein, the second target box is the box with a smaller number of first-type compartments in the double box; or, the second target box is the box with a higher maximum remaining power corresponding to the first-type compartments in the double box.
[0080] Optionally, the second target compartment can be selected first based on the highest remaining battery power: the compartment with the higher highest remaining battery power among the first-type compartments in the dual-compartment system can be selected as the second target compartment; this can improve the range of the battery swapped into the vehicle. If the first and second highest remaining battery powers are the same, the second target compartment can then be selected based on the number of first-type compartments: the compartment with fewer first-type compartments can be selected as the second target compartment; this can balance the number of first-type compartments in the dual-compartment system.
[0081] Alternatively, other decision-making sequences can be adopted, such as first selecting based on the number of positions in the first category, and then selecting based on the number of positions in the first category.
[0082] Alternatively, the selection of the second target container can be achieved by combining the highest remaining power and the number of first-class compartments. For example, the number of first-class compartments and the highest remaining power can be used as joint evaluation indicators. The two indicators can be comprehensively evaluated through preset weighting coefficients or priority ranking rules to select the container that balances the compartments and battery performance as the second target container.
[0083] It is understandable that when the first distribution information and the second distribution information indicate that both the first type of position and the second type of position are distributed in the two boxes, the first quantity and the second quantity are natural numbers greater than 1, provided that neither the first quantity nor the second quantity is 1.
[0084] When both the first quantity and the second quantity are detected to be 1, it indicates that each of the two boxes has only one first-type compartment that can provide batteries to be replaced. Further, the remaining power of the battery in the first-type compartment is obtained to obtain the first maximum remaining power and the second maximum remaining power. Combined with the second distribution information that characterizes the spatial distribution characteristics of the second-type compartment, a comprehensive decision is made to determine the battery pick-up box and the battery drop-off box in the current battery swapping cycle.
[0085] In the case where both the first and second quantities are 1, in one possible implementation, the highest remaining battery power is used as the priority criterion, and the box with the higher highest remaining battery power is selected as the battery extraction box to ensure that the vehicle obtains the optimal range. At the same time, combined with the distribution of the second type of compartments in the second distribution information, the box with more second type compartments is selected as the battery placement box to balance the number of second type compartments in the two boxes.
[0086] In one possible implementation, the second distribution information includes a third number of second-type compartments in the first box and a fourth number of second-type compartments in the second box; based on the first maximum remaining power, the second maximum remaining power, and the second distribution information, determining the battery removal box and the battery placement box includes:
[0087] (1) When the third and fourth quantities are different, the third target box is used as the battery storage box, and the boxes other than the battery storage box are designated as battery retrieval boxes; wherein, the third target box is the box with a larger number of second-type compartments in the double box. In this way, the number of second-type compartments in the double box can be balanced, so that the load of the second-type compartments in the double box is balanced, and the unilateral concentrated wear of each piece of equipment in the battery swapping station is reduced.
[0088] (2) When the third quantity and the fourth quantity are the same, the battery box to be taken out and the battery box to be placed are determined according to the first maximum remaining power and the second maximum remaining power.
[0089] One approach is to prioritize selecting the first-class compartment containing a higher remaining battery capacity as the battery extraction compartment to ensure the vehicle achieves optimal range.
[0090] Optionally, determining the battery extraction box and the battery placement box based on a first maximum remaining power and a second maximum remaining power includes: when the first maximum remaining power and the second maximum remaining power are the same, designating either of the two boxes as the battery extraction box, and designating the box other than the battery extraction box as the battery placement box. The battery extraction box can be a box pre-configured by the user or a randomly selected box.
[0091] When the first and second highest remaining battery levels differ, the fourth target compartment is designated as the battery extraction compartment, and all other compartments are designated as battery placement compartments. The fourth target compartment is the one with the higher highest remaining battery level among the first-type compartments in the dual-compartment system. Using the compartment with the higher highest remaining battery level as the battery extraction compartment improves the vehicle's range after battery swapping, thereby enhancing the user experience.
[0092] In some embodiments, in response to battery swapping needs, during the sequential execution of battery retrieval and placement operations through several consecutive battery swapping cycles, it is determined whether one or more of the following situations exist: In this battery swapping cycle, the battery swapping demand indicates that at least two batteries be retrieved from the battery swapping station; in this battery swapping cycle, the battery swapping demand indicates that at least two batteries be placed into the battery swapping station; in this battery swapping cycle, a controller other than the vehicle, such as a PLC, independently sends a retrieval request and / or placement request to the battery swapping station. If one or more of the above situations exist, a housing consistency constraint needs to be added, ensuring that in the same battery swapping cycle, at least two batteries to be swapped are retrieved from the same housing, and at least two batteries to be swapped are placed into the same housing.
[0093] Specifically, the battery swapping method at the battery swapping station includes: in response to battery swapping demand, determining a first type of compartment that can provide batteries to be swapped in and a second type of compartment that can store batteries to be swapped out; and obtaining first distribution information of the first type of compartment in the dual-box structure and second distribution information of the second type of compartment in the dual-box structure.
[0094] Subsequently, for the first battery to be replaced and the first battery to be replaced in this battery swapping cycle, the steps of determining the battery receiving box for providing the battery to be replaced and the battery receiving box for receiving the battery to be replaced in the dual-box structure are performed according to the first distribution information and the second distribution information.
[0095] For batteries that are not the first to be replaced in this battery swapping cycle, if the battery pickup box for the first battery to be replaced still contains a type 1 compartment, then the battery pickup box for the first battery to be replaced is considered a non-first battery pickup box. It can be understood that if the battery pickup box for the first battery to be replaced does not contain a type 1 compartment, it can be determined whether a type 1 compartment exists in another box: if it exists, the battery is retrieved from that box; if it does not exist, a preset instruction for battery retrieval failure is generated.
[0096] For batteries that are not the first to be replaced in this battery swapping cycle, if the battery disposal box for the first battery to be replaced also contains a second-type compartment, then the battery disposal box for the first battery to be replaced is considered as the disposal box for the non-first battery to be replaced. It can be understood that if the battery disposal box for the first battery to be replaced does not contain a second-type compartment, it can be determined whether a second-type compartment exists in another box: if it exists, the battery is placed into the compartment in that box; if it does not exist, a preset instruction for battery placement failure is generated.
[0097] In this embodiment, ensuring that the newly selected first-type compartment is in the same enclosure as the first-type compartment already assigned in the current battery swapping cycle, and ensuring that the newly selected second-type compartment is in the same enclosure as the second-type compartment already assigned in the current battery swapping cycle, can prevent mechanical devices from operating across channels.
[0098] In some embodiments, the battery swapping method at the battery swapping station further includes: generating a preset failure instruction when there is no first type of battery compartment in the battery swapping station; and / or, using the battery take-up box as the battery put-out box when there is a first type of battery compartment in the battery swapping station and there is no second type of battery compartment.
[0099] The preset failure instruction is used to indicate that the current battery swapping station cannot provide the battery to be replaced. This instruction can be generated and output to the user side through voice, text, or other means.
[0100] Optionally, if a battery swapping station has a first-type compartment but no second-type compartment, it is determined whether the current station type meets the preset same-compartment reuse condition. The same-compartment reuse condition characterizes the ability of the enclosure storing the first-type compartment to sequentially perform battery retrieval and placement operations through the same mechanical channel. For example, when the station type is a single-compartment right-channel station, it is determined that the preset same-compartment reuse condition is met. In practical applications, the determination of the same-compartment reuse condition can also be adaptively set according to the specific station type, enclosure configuration, and other information of the battery swapping station.
[0101] If the preset conditions for reuse within the same compartment are met, the battery to be replaced is retrieved through the mechanical channel of the box containing the first type of compartment, and the battery to be removed is placed into the compartment where the battery has been removed through the same mechanical channel to execute the same compartment retrieval and placement strategy; if the preset conditions for reuse within the same compartment are not met, a failure instruction is generated to indicate that the current battery swapping station cannot provide a compartment to store the battery to be removed.
[0102] Understandably, when there are neither type I nor type II bays in the battery swapping station, it can be determined that battery swapping cannot be performed, and instructions can be output to indicate that the current battery swapping station cannot provide a bay to store the battery to be swapped out, and to indicate that the current battery swapping station cannot provide a bay to be swapped in.
[0103] In one embodiment, if a first-type charging bay is available, a command to disconnect the 12V charging circuit can be sent to the PLC for a first-type charging bay that is currently charging; the bay number can be written to a Redis cache for subsequent upgrades and location by the BMS (Battery Management System); the selection record of this bay can be written to a database, and the management backend of the battery swapping station can be asynchronously notified of the bay change. Similarly, if a second-type charging bay is available, the selection record of this bay can also be written to a database, and the management backend of the battery swapping station can be asynchronously notified of the bay change.
[0104] In one embodiment, if the battery to be replaced fails to be installed in the vehicle during the battery swapping process, a second battery swap can be triggered. That is, the battery swapping mechanical device will put the battery that has been removed but not successfully installed into the vehicle back into its original compartment.
[0105] Corresponding to the aforementioned embodiment of the battery swapping method for a battery swapping station, this application also provides an embodiment of the battery swapping device for a battery swapping station.
[0106] This application discloses an embodiment of a battery swapping device for a battery swapping station, which can be applied to battery swapping equipment. The device embodiment can be implemented through software, hardware, or a combination of both. Taking software implementation as an example, as a logical device, it is formed by the processor of the battery swapping equipment reading the corresponding computer program instructions from non-volatile memory into memory and executing them. From a hardware perspective, such as... Figure 5 The diagram shown is a hardware structure diagram of the battery swapping equipment in the battery swapping station of this application. This equipment includes a processor, memory, input / output interfaces (I / O), and a communication interface. Besides... Figure 5 In addition to the components shown, the battery swapping equipment in the embodiment may also include other hardware depending on the actual function of the battery swapping equipment in the battery swapping station, which will not be described in detail here.
[0107] Figure 6 This is a schematic diagram of an embodiment of the battery swapping device for the battery swapping station provided in this application. Please refer to... Figure 6 The battery swapping station has a dual-enclosure design. The device provided in this embodiment includes:
[0108] The acquisition module 61 is used to determine, in response to battery swapping demand, a first type of compartment that can provide a battery to be swapped in and a second type of compartment that can store a battery to be swapped out.
[0109] The selection module 62 is used to obtain the first distribution information of the first type of compartment in the double box and the second distribution information of the second type of compartment in the double box, and to determine the battery receiving box in the double box for providing the battery to be replaced and the battery receiving box in the double box for receiving the battery to be replaced based on the first distribution information and the second distribution information.
[0110] Processing module 63 places the battery to be replaced from the vehicle into the second type of compartment in the battery dispensing box, and retrieves the battery to be replaced from the first type of compartment in the battery retrieval box.
[0111] The apparatus of this embodiment can be used to perform... Figure 1 The steps of the method embodiment shown are similar in principle and process, and will not be repeated here.
[0112] In some embodiments, the selection module 62 determines, based on the first distribution information and the second distribution information, a battery pickup box for providing batteries to be replaced and a battery discharge box for receiving batteries to be replaced in the dual-box configuration, including: when the first distribution information indicates that the first type of compartments are distributed in a single box, selecting the box with the first type of compartments as the battery pickup box; and determining the battery discharge box based on the second distribution information.
[0113] Optionally, determining the battery storage box based on the second distribution information includes: when the second distribution information indicates that the second type of storage space is distributed in a single box, using the box with the second type of storage space as the battery storage box; when the second distribution information indicates that the second type of storage space is distributed in two boxes, using the box other than the battery retrieval box as the battery storage box.
[0114] In some embodiments, the selection module 62 determines, based on the first distribution information and the second distribution information, a battery receiving box for providing batteries to be replaced and a battery receiving box for receiving batteries to be replaced in the dual-box configuration. The selection module 62 further includes: when the first distribution information indicates that the first type of compartments are distributed in two boxes and the second distribution information indicates that the second type of compartments are distributed in a single box, the box with the second type of compartments is designated as the battery receiving box, and the boxes other than the battery receiving box are designated as battery receiving boxes.
[0115] Further, in one embodiment, determining the battery removal box for providing the battery to be replaced and the battery placement box for receiving the battery to be replaced in the dual-box structure based on the first distribution information and the second distribution information includes: when the first distribution information indicates that the first type of compartment is distributed in the two boxes and the second distribution information indicates that the second type of compartment is distributed in the two boxes, obtaining the first maximum remaining power corresponding to the first type of compartment in the first box of the dual-box structure and the second maximum remaining power corresponding to the first type of compartment in the second box of the dual-box structure; and determining the battery removal box and the battery placement box based on the first distribution information, the second distribution information, the first maximum remaining power, and the second maximum remaining power.
[0116] In one embodiment, the first distribution information includes a first quantity of a first type of compartment in a first box and a second quantity of a first type of compartment in a second box; determining the battery removal box and the battery placement box based on the first distribution information, the second distribution information, the first maximum remaining power, and the second maximum remaining power includes: when both the first quantity and the second quantity are 1, determining the battery removal box and the battery placement box based on the first maximum remaining power, the second maximum remaining power, and the second distribution information; when the first quantity is 1 and the second quantity is greater than 1, or when the first quantity is greater than 1 and the second quantity is greater than 1... When the number is 1, the first target box is designated as the battery extraction box, and all other boxes are designated as battery placement boxes; wherein, the first target box is the box with a smaller number of first-type compartments in the dual-box configuration; when neither the first nor the second number is 1, the second target box is designated as the battery extraction box, and all other boxes are designated as battery placement boxes; wherein, the second target box is the box with a smaller number of first-type compartments in the dual-box configuration; or, the second target box is the box with a higher maximum remaining power corresponding to the first-type compartments in the dual-box configuration.
[0117] In one embodiment, the second distribution information includes a third number of second-type compartments in the first box and a fourth number of second-type compartments in the second box; determining the battery extraction box and the battery placement box based on the first maximum remaining power, the second maximum remaining power, and the second distribution information includes: when the third number and the fourth number are the same, determining the battery extraction box and the battery placement box based on the first maximum remaining power and the second maximum remaining power; when the third number and the fourth number are different, designating the third target box as the battery placement box, and designating the boxes other than the battery placement box as battery extraction boxes; wherein, the third target box is the box in the dual-box system that contains a larger number of second-type compartments.
[0118] In one embodiment, determining the battery extraction box and the battery delivery box based on a first maximum remaining power and a second maximum remaining power includes: when the first maximum remaining power and the second maximum remaining power are the same, determining either box in the two boxes as the battery extraction box and the other box as the battery delivery box; when the first maximum remaining power and the second maximum remaining power are different, determining a fourth target box as the battery extraction box and the other box as the battery delivery box; wherein, the fourth target box is the box with the higher maximum remaining power corresponding to the first type of compartment included in the two boxes.
[0119] In some embodiments, the processing module 63 is further configured to generate a preset failure instruction if there is no first type of compartment in the battery swapping station; and / or, if there is a first type of compartment in the battery swapping station but no second type of compartment, use the battery take-up compartment as the battery put-down compartment.
[0120] In some embodiments, the acquisition module 61 determines a first type of compartment that can provide batteries to be replaced and a second type of compartment that can store batteries to be replaced, including: in the compartments of the dual-box system, the compartments that meet the preset retrieval conditions are designated as the first type of compartments, and the compartments that meet the preset placement conditions are designated as the second type of compartments; wherein, the preset retrieval conditions include at least one of the following: the battery placement time in the compartment is greater than a preset time, the retrieval channel of the box used to store the compartment is in normal working condition, the compartment is in a retrieval ready state, the compartment does not belong to the assigned compartments for retrieving batteries, and the battery type stored in the compartment matches the battery type indicated by the battery swapping demand; the preset placement conditions include at least one of the following: the compartment is in a placement ready state, the retrieval channel of the box used to store the compartment is in normal working condition, and the compartment does not belong to the assigned compartments for storing batteries.
[0121] This application also provides a battery swapping station, comprising: a battery swapping device, the battery swapping device including a memory, a processor, and a computer program; wherein the computer program is stored in the memory and configured to be executed by the processor to implement the steps of the battery swapping embodiment of the above-described battery swapping station.
[0122] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0123] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0124] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A battery swapping method for a battery swapping station, characterized in that, The battery swapping station has a dual-enclosure structure; the method includes: In response to the demand for battery swapping, a first type of compartment is identified that can provide batteries to be swapped in, and a second type of compartment can store batteries to be swapped out. Obtain first distribution information of the first type of compartments in the dual-box body and second distribution information of the second type of compartments in the dual-box body, and determine the battery receiving compartment in the dual-box body for providing batteries to be replaced and the battery receiving compartment in the dual-box body for receiving batteries to be replaced based on the first distribution information and the second distribution information. The battery to be replaced from the vehicle is placed into the second type of compartment in the battery discharge box, and the battery to be replaced is taken out from the first type of compartment in the battery retrieval box.
2. The method according to claim 1, characterized in that, Based on the first distribution information and the second distribution information, the dual-box structure is determined to include a battery receiving box for providing the battery to be replaced and a battery receiving box for receiving the battery to be replaced, comprising: When the first distribution information indicates that the first type of storage space is distributed in a single box, the box in which the first type of storage space is distributed is used as the battery collection box; The battery housing is determined based on the second distribution information.
3. The method according to claim 2, characterized in that, Determining the battery housing based on the second distribution information includes: When the second distribution information indicates that the second type of storage space is distributed in a single box, the box in which the second type of storage space is distributed is taken as the battery storage box; When the second distribution information indicates that the second type of storage space is distributed in two boxes, the box other than the battery retrieval box is used as the battery placement box.
4. The method according to claim 1, characterized in that, Based on the first distribution information and the second distribution information, the dual-box structure includes a battery receiving box for providing batteries to be replaced and a battery receiving box for receiving batteries to be replaced, further comprising: When the first distribution information indicates that the first type of storage space is distributed in two boxes and the second distribution information indicates that the second type of storage space is distributed in a single box, the box with the second type of storage space is designated as the battery storage box, and the box other than the battery storage box is designated as the battery retrieval box.
5. The method according to claim 1, characterized in that, The step of determining, based on the first distribution information and the second distribution information, the battery receiving compartment in the dual-compartment housing for providing the battery to be replaced, and the battery receiving compartment in the dual-compartment housing for receiving the battery to be replaced, includes: When the first distribution information indicates that the first type of storage space is distributed in two boxes and the second distribution information indicates that the second type of storage space is distributed in two boxes, the first maximum remaining power corresponding to the first type of storage space in the first box of the dual-box structure and the second maximum remaining power corresponding to the first type of storage space in the second box of the dual-box structure are obtained. Based on the first distribution information, the second distribution information, the first maximum remaining power, and the second maximum remaining power, the battery extraction box and the battery placement box are determined.
6. The method according to claim 5, characterized in that, The first distribution information includes a first quantity of the first type of compartment in the first box and a second quantity of the first type of compartment in the second box; determining the battery extraction box and the battery placement box based on the first distribution information, the second distribution information, the first maximum remaining power, and the second maximum remaining power includes: When both the first quantity and the second quantity are 1, the battery extraction box and the battery dispensing box are determined based on the first maximum remaining power, the second maximum remaining power, and the second distribution information. When the first quantity is 1 and the second quantity is greater than 1, or when the first quantity is greater than 1 and the second quantity is 1, the first target box is determined as the battery extraction box, and the boxes other than the battery extraction box are determined as the battery storage box; wherein, the first target box is the box in the dual-box system that contains a smaller number of the first type of compartments; When neither the first quantity nor the second quantity is 1, the second target box is designated as the battery extraction box, and the boxes other than the battery extraction box are designated as the battery storage boxes; wherein, the second target box is the box in the dual-box system that contains fewer of the first type of compartments; or, the second target box is the box in the dual-box system that contains the box with the highest remaining power corresponding to the first type of compartment.
7. The method according to claim 6, characterized in that, The second distribution information includes a third quantity of the second type of compartments in the first box and a fourth quantity of the second type of compartments in the second box; determining the battery extraction box and the battery placement box based on the first maximum remaining power, the second maximum remaining power, and the second distribution information includes: When the third quantity is the same as the fourth quantity, the battery extraction box and the battery dispensing box are determined based on the first maximum remaining power and the second maximum remaining power. When the third quantity is different from the fourth quantity, the third target box is designated as the battery storage box, and the boxes other than the battery storage box are designated as the battery retrieval boxes; wherein, the third target box is the box in the double box that contains a larger number of the second type of compartments.
8. The method according to claim 7, characterized in that, The step of determining the battery extraction box and the battery placement box based on the first maximum remaining power and the second maximum remaining power includes: When the first maximum remaining power and the second maximum remaining power are the same, either of the two boxes is designated as the battery extraction box, and the other box is designated as the battery discharge box. When the first maximum remaining power and the second maximum remaining power are different, the fourth target box is determined as the battery extraction box, and the boxes other than the battery extraction box are determined as the battery discharge box; wherein, the fourth target box is the box with the higher maximum remaining power corresponding to the first type of compartment included in the dual boxes.
9. The method according to claim 1, characterized in that, The method further includes: If the first type of bay is not present in the battery swapping station, a preset failure instruction is generated; And / or, If the first type of battery compartment exists in the battery swapping station but the second type of battery compartment does not exist, the battery take-up box will be used as the battery drop-off box.
10. The method according to claim 1, characterized in that, The determination of the first type of compartment that can provide batteries to be replaced and the second type of compartment that can store batteries to be replaced includes: In the dual-box storage compartments, the compartments that meet the preset retrieval conditions are designated as the first type of compartments, and the compartments that meet the preset release conditions are designated as the second type of compartments. The preset retrieval conditions include at least one of the following: the battery placement time in the compartment is longer than the preset time; the retrieval channel of the box used to store the compartment is in normal working condition; the compartment is in the retrieval ready state; the compartment does not belong to the assigned compartment for retrieving batteries; and the battery type stored in the compartment matches the battery type indicated by the battery swapping demand. The preset storage conditions include at least one of the following: the storage space is in a storage ready state, the accessible channel of the box used to store the storage space is in normal working condition, and the storage space does not belong to the already issued storage space for storing batteries.
11. A battery swapping device for a battery swapping station, characterized in that, The battery swapping station has a double-enclosure structure; the device includes: The acquisition module is used to determine, in response to battery swapping needs, a first type of compartment that can provide a battery to be swapped in and a second type of compartment that can store a battery to be swapped out. The selection module is used to obtain the first distribution information of the first type of compartments in the double box and the second distribution information of the second type of compartments in the double box, and to determine the battery receiving compartment in the double box for providing batteries to be replaced and the battery discharging compartment in the double box for receiving batteries to be replaced based on the first distribution information and the second distribution information. The processing module places the battery to be replaced from the vehicle into the second type of compartment in the battery discharge box, and retrieves the battery to be replaced from the first type of compartment in the battery retrieval box.
12. A battery swapping station, characterized in that, include: A battery swapping device, the battery swapping device including a memory, a processor and a computer program; The computer program is stored in the memory and configured to be executed by the processor to implement the method as described in any one of claims 1 to 10.