Station allocation method and device, electronic equipment and storage medium

By dynamically adjusting the number of spare stations corresponding to the battery level, balancing the working saturation of each station, the problem of low sorting efficiency of existing battery sorting equipment is solved and the battery sorting efficiency is improved.

CN120069351APending Publication Date: 2025-05-30ZHUHAI TITANS NEW POWER ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311635592.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

There is still room for improvement in the sorting efficiency of existing battery sorting equipment, resulting in low battery pack efficiency.

Method used

By dynamically adjusting the number of spare stations corresponding to the battery level, balancing the working saturation of each station, a station allocation method is adopted to determine the battery quantity information of each battery level in the set of batteries to be allocated, and the number of first spare stations is determined based on the target battery level target battery level information, and the backup station corresponding to the target battery level is adjusted.

Benefits of technology

The battery sorting efficiency is improved, the working saturation of each station is balanced, and the production capacity requirements of each station are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120069351A_ABST
    Figure CN120069351A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a station allocation method and device, electronic equipment and a storage medium, and the method comprises the steps: determining the battery number information corresponding to each battery grade in a to-be-allocated battery set, and determining a first standby station number according to the target battery number information corresponding to the target battery grade, and adjusting the standby stations corresponding to the target battery grade according to the number of the first standby stations. In the embodiment of the invention, in consideration of the battery number information corresponding to each battery grade, the number of the standby stations needing to be started by each battery grade is determined, and the standby stations corresponding to each battery grade are adjusted according to the number corresponding to each battery grade. Therefore, the standby station corresponding to each battery grade can be dynamically adjusted to balance the working saturation of the main station and the standby station corresponding to each battery grade, the capacity requirement of each station is met, and the battery sorting efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of batteries, and specifically relates to a method and device for station allocation, an electronic device, and a storage medium. Background Art

[0002] Generally speaking, after determining various characteristics of multiple batteries, it is necessary to sort the multiple batteries according to their various characteristics to ensure the consistency of relevant parameters of the multiple batteries allocated to a group, so as to achieve battery matching and use the batteries more reasonably.

[0003] In the related art, after determining the test data of the batteries, automatic sorting is generally achieved through sorting equipment, which can reduce the labor intensity of workers and eliminate human errors. However, there is still room for improvement in the sorting efficiency of the current sorting equipment. Summary of the Invention

[0004] Embodiments of the present application disclose a method and device for station allocation, an electronic device, and a storage medium, enabling a control device to dynamically adjust the number of enabled standby stations corresponding to battery grades, balancing the work saturation of each station, and thus improving the battery sorting efficiency.

[0005] Embodiments of the present application disclose a method for station allocation, which is applied to a control device of a battery sorting system. The battery sorting system further includes at least one standby station and at least one main station. The method includes:

[0006] Determine the battery quantity information corresponding to each battery grade in the set of batteries to be allocated; the set of batteries to be allocated includes multiple batteries belonging to at least one battery grade;

[0007] Determine a first standby station quantity according to the target battery quantity information corresponding to a target battery grade, where the first standby station quantity is the number of standby stations to be enabled corresponding to the target battery grade, and the target battery grade is any one of the battery grades;

[0008] Adjust the standby stations corresponding to the target battery grade according to the first standby station quantity.

[0009] As an optional implementation manner, before adjusting the standby stations corresponding to the target battery grade according to the first standby station quantity, the method further includes:

[0010] Determine whether there are still idle standby stations in the battery sorting system;

[0011] The adjusting the standby stations corresponding to the target battery grade according to the first standby station quantity includes:

[0012] If there is an idle spare station in the battery sorting system, compare the number of second spare stations with the number of first spare stations, where the number of second spare stations is the number of activated spare stations corresponding to the target battery grade;

[0013] If the number of second spare stations is less than the number of first spare stations, control to activate at least one of the idle spare stations as a spare station corresponding to the target battery grade.

[0014] As an alternative implementation, there are N idle spare stations, and the control to activate at least one of the idle spare stations as a spare station corresponding to the target battery grade includes:

[0015] According to the order of the station priorities of the N idle spare stations from high to low, control the activation of the first X idle spare stations among the N idle spare stations; where N and X are both positive integers, and N≥X≥1, and the station priority of the idle spare station is determined according to the distance of the common path between the idle spare station and the main station corresponding to the target battery grade, and the shorter the distance of the common path, the higher the station priority of the idle spare station.

[0016] As an alternative implementation, the battery quantity information corresponding to each battery grade includes the number of batteries belonging to each battery grade in the battery set to be allocated; the method further includes:

[0017] According to the order of the number of batteries corresponding to each battery grade from more to less, sequentially take each battery grade as the target battery grade, and execute the steps of judging whether there is still an idle spare station in the battery sorting system in an idle state, and if there is an idle spare station in the battery sorting system in an idle state, compare the number of second spare stations with the number of first spare stations.

[0018] As an alternative implementation, the adjustment of the spare stations corresponding to the target battery grade according to the number of first spare stations includes:

[0019] When a preset shutdown condition is met, compare the number of second spare stations with the number of first spare stations;

[0020] If the number of second spare stations is greater than the number of first spare stations, control to shut down at least one spare station corresponding to the target battery grade.

[0021] As an alternative implementation, there are Y enabled standby workstations corresponding to the target battery level. Controlling the closing of at least one standby workstation corresponding to the target battery level includes:

[0022] Controlling the closing of the first Z standby workstations among the Y enabled standby workstations corresponding to the target battery level in ascending order of the workstation priorities corresponding to the Y enabled standby workstations corresponding to the target battery level; where Y and Z are both positive integers, and Y≥Z≥1, and the workstation priority of the standby workstation is determined according to the distance of the common path between the standby workstation and the main workstation corresponding to the target battery level. The shorter the distance of the common path, the higher the workstation priority of the standby workstation.

[0023] As an alternative implementation, controlling the closing of the first Z standby workstations among the Y enabled standby workstations corresponding to the target battery level in ascending order of the workstation priorities corresponding to the Y enabled standby workstations corresponding to the target battery level includes:

[0024] Sequentially determining whether the current standby workstation corresponds to the target battery level in ascending order of the workstation priority corresponding to each standby workstation;

[0025] If the current standby workstation corresponds to the target battery level, determining whether the number of grouped batteries of the current standby workstation is equal to zero or equal to a preset full-disk quantity;

[0026] If the number of grouped batteries of the current standby workstation is equal to zero or equal to a preset full-disk quantity, controlling the current standby workstation to close and updating the number of the second standby workstations until it is determined that the updated number of the second standby workstations is equal to the number of the first standby workstations.

[0027] As an alternative implementation, the target battery quantity information includes the target battery quantity and / or the target battery ratio. The target battery quantity is the battery quantity corresponding to the batteries belonging to the target battery level in the battery set to be allocated, and the target battery ratio is the ratio of the target battery quantity to the total battery quantity corresponding to the battery set to be allocated;

[0028] Determining the number of the first standby workstations according to the target battery quantity information corresponding to the target battery level includes:

[0029] Determining the number of the first standby workstations according to the target battery quantity and / or the target battery ratio.

[0030] As an alternative implementation, the target battery quantity information includes the target battery quantity;

[0031] Determining the number of first standby workstations according to the target battery quantity information corresponding to the target battery grade includes:

[0032] Determining the target quantity range to which the target battery quantity belongs;

[0033] Determining the number of standby workstations corresponding to the target quantity range as the number of first standby workstations;

[0034] Or,

[0035] The target battery quantity information includes the target battery ratio;

[0036] Determining the number of first standby workstations according to the target battery quantity information corresponding to the target battery grade includes:

[0037] Determining the target ratio range to which the target battery ratio belongs;

[0038] Determining the number of standby workstations corresponding to the target ratio range as the number of first standby workstations.

[0039] As an alternative implementation, the target battery quantity information includes the target battery quantity and the target battery ratio;

[0040] Determining the number of first standby workstations according to the target battery quantity information corresponding to the target battery grade includes:

[0041] Determining the target quantity range to which the target battery quantity belongs and the target ratio range to which the target battery ratio belongs; the target quantity range corresponds to the number of third standby workstations, and the target ratio range corresponds to the number of fourth standby workstations;

[0042] Determining the smaller of the number of third standby workstations and the number of fourth standby workstations as the number of first standby workstations.

[0043] An embodiment of the present application discloses a workstation allocation device, which is applied to a control device of a battery sorting system. The battery sorting system further includes at least one standby workstation and at least one main workstation. The device includes:

[0044] A first determination module, configured to determine the battery quantity information corresponding to each battery grade in a set of batteries to be allocated; the set of batteries to be allocated includes a plurality of batteries belonging to at least one battery grade;

[0045] A second determination module, configured to determine the number of first standby workstations according to the target battery quantity information corresponding to the target battery grade. The number of first standby workstations is the number of standby workstations that need to be activated corresponding to the target battery grade, and the target battery grade is any one of the battery grades;

[0046] An adjustment module, configured to adjust the standby workstations corresponding to the target battery grade according to the number of the first standby workstations.

[0047] An embodiment of the present application discloses an electronic device, including a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor implements any one of the workstation allocation methods disclosed in the embodiments of the present application.

[0048] An embodiment of the present application discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, any one of the workstation allocation methods disclosed in the embodiments of the present application is implemented.

[0049] Compared with the related art, the embodiments of the present application have the following beneficial effects:

[0050] In the embodiment of the present application, the control device determines the battery quantity information corresponding to each battery grade in the battery set to be allocated, determines the number of the first standby workstations according to the target battery quantity information corresponding to the target battery grade, and adjusts the standby workstations corresponding to the target battery grade according to the number of the first standby workstations. In the embodiment of the present application, considering the battery quantity information corresponding to each battery grade, the number of standby workstations to be turned on for each battery grade is determined, and the standby workstations corresponding to each battery grade are adjusted according to the quantity corresponding to each battery grade, so that the standby workstations corresponding to each battery grade can be dynamically adjusted to balance the work saturation degrees of the main workstations and the standby workstations corresponding to each battery grade, meet the production capacity requirements of each workstation, and improve the efficiency of battery sorting. Description of the Drawings

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0052] Figure 1 It is a schematic structural diagram of a sorting component and a conveying component disclosed in an embodiment of the present application;

[0053] Figure 2 It is a schematic structural diagram of a battery sorting system disclosed in an embodiment of the present application;

[0054] Figure 3 It is a schematic flowchart of a workstation allocation method disclosed in an embodiment of the present application;

[0055] Figure 4It is a schematic flowchart of another workstation allocation method disclosed in an embodiment of the present application;

[0056] Figure 5 It is a schematic flowchart of a workstation closing method disclosed in an embodiment of the present application;

[0057] Figure 6 It is one of the schematic flowcharts of a method for determining the number of first standby workstations disclosed in an embodiment of the present application;

[0058] Figure 7 It is another schematic flowchart of a method for determining the number of first standby workstations disclosed in an embodiment of the present application;

[0059] Figure 8 It is yet another schematic flowchart of a method for determining the number of first standby workstations disclosed in an embodiment of the present application;

[0060] Figure 9 It is still another schematic flowchart of a method for determining the number of first standby workstations disclosed in an embodiment of the present application;

[0061] Figure 10 It is another schematic flowchart of a method for determining the number of first standby workstations disclosed in an embodiment of the present application;

[0062] Figure 11 It is a schematic flowchart of yet another workstation allocation method disclosed in an embodiment of the present application;

[0063] Figure 12 It is a schematic flowchart of a battery sorting method disclosed in an embodiment of the present application;

[0064] Figure 13 It is a schematic flowchart of another battery sorting method disclosed in an embodiment of the present application;

[0065] Figure 14 It is a schematic flowchart of a strategy determination method disclosed in an embodiment of the present application;

[0066] Figure 15 It is a schematic flowchart of another strategy determination method disclosed in an embodiment of the present application;

[0067] Figure 16 It is a schematic flowchart of yet another battery sorting method disclosed in an embodiment of the present application;

[0068] Figure 17 It is a schematic structural diagram of a workstation allocation device disclosed in an embodiment of the present application;

[0069] Figure 18 It is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application. Detailed implementation manners

[0070] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.

[0071] It should be noted that the terms "include" and "have" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes unlisted steps or units, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.

[0072] Please refer to Figure 1 , which shows a schematic structural diagram of a sorting component and a conveying component provided in an embodiment of the present application. As Figure 1 shown, the conveying component 110 includes a main conveying component 111 and a plurality of sub-conveying components 112. The sorting component 120 may include a turntable 121 and a sorting manipulator 122. The sorting manipulator 122 may be fixed on the turntable 121. The turntable 121 can rotate around its rotation axis. The sorting manipulator 122 conveys the battery 130 on the main conveying component 111 to one of the plurality of sub-conveying components 112 under the drive of the turntable.

[0073] Exemplarily, please refer to Figure 2 , which shows a schematic structural diagram of a battery sorting system provided in an embodiment of the present application. As Figure 2 shown, the battery sorting system may include a sorting control device (not shown in Figure 2 ), a first conveying component 210, a first sorting component 220, a plurality of second conveying components 230, a plurality of second sorting components 240 corresponding to the plurality of second conveying components 230 one by one, a plurality of third conveying components 250 corresponding to the plurality of second sorting components 240 one by one, a third sorting component 260 corresponding to the plurality of third conveying components 250 one by one, a plurality of fourth conveying components 270 corresponding to the plurality of third sorting components 260 respectively, and a plurality of workstations 280 corresponding to the plurality of fourth conveying components 270 one by one.

[0074] Among them, the first conveying component 210 is used to convey the battery 130 to the first sorting component 220. The first sorting component 220 is used to sort the battery 130 into one of a plurality of second conveying components 230. The second conveying component 230 is used to convey the battery 130 to the second sorting component 240. The second sorting component 240 is used to sort the battery 130 into one of a plurality of third conveying components 250. The third conveying component 250 is used to convey the battery 130 to the third sorting component 260. The third sorting component 260 is used to sort the battery 130 into one of a plurality of fourth conveying components 270. The fourth conveying component 270 is used to convey the battery 130 to the corresponding station 280. Each station 280 may be provided with a tray to group a plurality of batteries 130 into a tray. Exemplarily, each station 280 may include a station robot and a tray. The tray can be used to carry a batteries, and the robot is used to pick up the batteries and place them in the tray until the tray carries a batteries, completing the tray grouping task.

[0075] It can be understood that for the first sorting component 220, the first conveying component 210 is the main conveying component, and the second conveying component 230 is the sub-conveying component. For the second sorting component 240, the second conveying component 230 corresponding to the second sorting component 240 is the main conveying component, and the third conveying component 250 corresponding to the second sorting component 240 is the sub-conveying component. For the third conveying component 250, the third conveying component 250 corresponding to the third sorting component 260 is the main conveying component, and the fourth conveying component 270 corresponding to the third sorting component 260 is the sub-conveying component. The station 280 can be used to group the batteries 130, that is, to place the batteries 130 of the same battery grade on the same tray, so as to group the batteries 130 of the same battery grade. The sorting control device can be communicatively connected to a plurality of sorting components for controlling the sorting of each sorting component. Among them, the plurality of sorting components can include the first sorting component 220, the second sorting component 240, and the third sorting component 260. Optionally, the sorting control device can include a PLC (Programmable Logic Controller). Optionally, each conveying component can include a flexible belt.

[0076] It should be noted that the embodiments of the present application do not limit the number of sorting components included in the battery sorting system and the number of sub-conveying components included under each sorting component. For example, the battery sorting system can be composed of the first conveying component 210, the first sorting component 220, the second conveying component 230, the second sorting component 240, and the station 280. The second sorting component 240 can directly place the battery 130 on the corresponding station 280.

[0077] In the related art, the sorting process of the battery automated production line has evolved from manual sorting to automatic sorting by industrial robots. The current automatic sorter can only issue sorting instructions one by one according to battery grade 1. The sorting manipulator places the batteries on the conveying component or turntable corresponding to the battery grade, and then performs the operation of grouping trays. This can reduce human intervention and the probability of errors. Among them, the quality of batteries belonging to different battery grades is different. However, since the number of batteries in each battery grade in the battery pack is not equal, and each battery grade has only one fixed station for realizing sorting and grouping trays, it will result in an overly saturated working state of the stations corresponding to some battery grades, while the stations corresponding to some battery grades are in an unsaturated working state for a long time, and the efficiency of this automatic sorting is very low.

[0078] In view of this, the embodiments of the present application disclose a station allocation method, device, electronic device, and storage medium, enabling the control device to dynamically adjust the number of enabled standby stations corresponding to the battery grades, balancing the working saturation of each station, thereby improving the battery sorting efficiency.

[0079] Please refer to Figure 3 , which shows a schematic flowchart of a station allocation method provided by an embodiment of the present application. Among them, this embodiment mainly takes the application of this method to the control device of the battery sorting system as an example for illustration. The control device can be a sorting control device or the upper computer of the battery sorting system. This embodiment does not make specific limitations on this. As Figure 3 shown, the battery sorting method may include steps 301 to 303.

[0080] Step 301, determine the battery quantity information corresponding to each battery grade in the set of batteries to be allocated.

[0081] Among them, the set of batteries to be allocated includes multiple batteries belonging to at least one battery grade. It should be noted that the set of batteries to be allocated is a set formed by multiple batteries that need to be grouped into trays. These multiple batteries have not been allocated corresponding workstations. The set of batteries to be allocated can be a set formed by all the batteries located on the first conveying component. Each set of batteries to be allocated can include multiple batteries, and each battery corresponds to a battery grade. In the process before sorting, that is, in the process before the batteries are conveyed onto the first conveying component, the battery grade of each battery has been determined. At least one battery characteristic corresponding to different battery grades is different. The battery characteristics can include voltage and internal resistance, etc. Therefore, the control device can determine the quantity information of the batteries corresponding to each battery grade in the set of batteries to be allocated. The workstations of the battery sorting system can be divided into at least one standby workstation and at least one main workstation, and the standby workstation and the main workstation can be used to group the batteries into trays. The battery grade corresponding to the main workstation is generally fixed, that is, the main workstation is only used to group the batteries corresponding to one battery grade within the first time period. The battery grade corresponding to the standby workstation is not fixed. Exemplarily, the first time period can be divided into a first sub-time period and a second sub-time period. The standby workstation can be used to receive the batteries corresponding to the first battery grade within the first time period and can be used to receive the batteries corresponding to the second battery grade within the second time period. The first battery grade and the second battery grade are any battery grades, and the first battery grade and the second battery grade are different battery grades.

[0082] Optionally, the battery quantity information can include the battery quantity and the battery ratio. Among them, the battery quantity is the quantity of the batteries belonging to the corresponding battery grade in the set of batteries to be allocated, and the battery ratio is the ratio of the battery quantity of the batteries belonging to the corresponding battery grade to the total battery quantity corresponding to the set of batteries to be allocated. Among them, the total battery quantity refers to the total number of batteries included in the set of batteries to be allocated.

[0083] Optionally, the battery grades of the multiple batteries in the set of batteries to be allocated can be stored in the database. The control device can obtain the multiple battery grades stored in the database and statistically obtain the battery quantity information corresponding to each battery grade. Among them, the battery grades stored in the database can be written into the database before the sorting process, that is, before being input into the Figure 2 first conveying component 210 as shown.

[0084] Step 302, determine the number of the first standby workstations according to the target battery quantity information corresponding to the target battery grade.

[0085] Among them, the target battery grade is any battery grade, the target battery quantity information is the battery quantity information corresponding to the target battery grade, and the number of the first spare workstations is the number of the opened spare workstations corresponding to the target battery grade. It should be noted that each workstation has a maximum production capacity. Among them, the maximum production capacity of each workstation refers to the maximum number of batteries that can be grouped into trays by the workstation per unit time. If the workstation is assigned more batteries than the maximum number of batteries per unit time, the workstation cannot place all the batteries into the trays within the unit time, resulting in the accumulation of batteries in front of the workstation and a low sorting efficiency of the batteries; if the number of batteries assigned to the workstation per unit time is too small, the workstation cannot complete the task of grouping trays (cannot fill a tray), reducing the sorting efficiency of the batteries. The control device determines the number of the first spare workstations that need to be opened corresponding to the target battery grade according to the target battery quantity information, that is, when the number of the spare workstations of the target battery grade is the number of the first spare workstations, the production capacity requirements of the main workstation and the spare workstations of the target battery grade can be met.

[0086] In one embodiment, the target battery quantity information may include the target battery quantity and / or the target battery ratio. Among them, the target battery quantity is the battery quantity corresponding to the batteries belonging to the target battery grade in the battery set to be allocated, and the target battery ratio is the ratio of the target battery quantity to the total quantity corresponding to the battery set to be allocated. Determining the number of the first spare workstations that need to be opened corresponding to the target battery grade according to the target battery quantity information corresponding to the target battery grade may include: the control device determines the number of the first spare workstations according to the target battery quantity and / or the target battery ratio.

[0087] It should be noted that the target battery quantity and the target battery ratio can be used to characterize the number of batteries belonging to the target battery grade in the battery set to be allocated. The control device determines the number of the first spare workstations that need to be opened corresponding to the target battery grade according to the target battery quantity and / or the target battery ratio, which can effectively determine the number of the first spare workstations and lay a foundation for adjusting the spare workstations corresponding to the target battery grade.

[0088] Step 303, adjust the spare workstations corresponding to the target battery grade according to the number of the first spare workstations.

[0089] It should be noted that the spare workstations corresponding to the target battery grade can be understood as the spare workstations used for assembling batteries belonging to the target battery grade. Since the number of batteries corresponding to each battery grade in the set of batteries to be allocated input to the battery sorting system may change, the control device adjusts the spare workstations corresponding to the target battery grade according to the number of the first spare workstations, such as determining whether at least one spare workstation needs to be reallocated for the target battery grade, or determining whether the spare workstations corresponding to the target battery grade need to be closed, so as to avoid the working frequency of the workstations corresponding to the second battery grade being too large or too small, that is, to avoid the phenomenon that most batteries accumulate in front of the workstations or the assembling is not full, thereby improving the battery sorting efficiency.

[0090] In the embodiment of the present application, the control device considers the battery quantity information corresponding to each battery grade, determines the number of spare workstations to be opened corresponding to each battery grade, and adjusts the spare workstations corresponding to each battery grade according to the quantity corresponding to each battery grade, so as to dynamically adjust the number of spare workstations corresponding to each battery grade, balance the working saturation of the main workstations and spare workstations corresponding to each battery grade, meet the production capacity requirements of the workstations corresponding to each battery grade, and improve the battery sorting efficiency.

[0091] Please refer to Figure 4 , which shows a schematic flowchart of another workstation allocation method provided by the embodiment of the present application. As Figure 4 shown, this workstation allocation method may further include steps 401 to 407.

[0092] Step 401, determine the battery quantity information corresponding to each battery grade in the set of batteries to be allocated.

[0093] Step 402, determine the number of the first spare workstations according to the target battery quantity information corresponding to the target battery grade.

[0094] It should be noted that for the descriptions of steps 401 to 402, please refer to the above embodiments and will not be elaborated here.

[0095] Step 403, determine whether there are still idle spare workstations in the battery sorting system in an idle state. If so, execute steps 404 to 405. If not, execute steps 406 to 407.

[0096] It should be noted that the idle spare workstations refer to the spare workstations in an idle state, and these idle spare workstations are not currently used for assembling batteries corresponding to any battery grade. If there are no idle spare workstations in the battery sorting system in an idle state, it means that the battery sorting system has no spare workstations that can be opened for the target battery grade. At this time, it can be determined that steps 404 to 405 corresponding to opening the spare workstations are not executed.

[0097] In one embodiment, determining whether there is an idle spare station in the battery sorting system may include: determining whether there is an idle spare station in the battery sorting system and whether the total number of batteries corresponding to the battery allocation set is greater than or equal to a preset set quantity threshold. If so, steps 404 to 405 are executed; if not, steps 406 to 407 are executed.

[0098] It should be noted that the preset set quantity threshold can be pre-stored in the control device. The preset set quantity threshold can be used to measure whether the total number of batteries corresponding to the battery set to be allocated is excessive, and the preset set quantity threshold can be set according to the quantity that the battery sorting system can carry. Exemplarily, the range of the preset set quantity threshold may include 0.65*b to 0.75*b, where b is the maximum quantity that the battery sorting system can carry, that is, the maximum quantity that multiple conveying components can carry. Optionally, the preset set quantity threshold is 0.65*b, 0.7*b or 0.75*b. When the total number of batteries corresponding to the battery allocation set is less than the preset set quantity threshold, it can be considered that the number of batteries to be grouped is small, or the number of batteries in the unallocated stations is small, and the currently opened spare stations are greater than or equal to the required spare stations. Therefore, steps 404 to 405 corresponding to opening the spare stations do not need to be executed.

[0099] In this embodiment, it can be determined whether to execute steps 404 to 405 by determining whether there is an idle spare station in the battery sorting system and whether the total number of batteries corresponding to the battery allocation set is greater than or equal to the preset set quantity threshold, so as to reduce the computing amount of the control device and ensure that the opening and closing of the spare stations meet the actual requirements.

[0100] Step 404: Compare the number of opened second spare stations corresponding to the target battery grade with the number of first spare stations. If the number of second spare stations is less than the number of first spare stations, step 405 is executed; if the number of second spare stations is greater than or equal to the number of first spare stations, steps 406 to 407 are executed.

[0101] It should be noted that the number of second spare stations is the number of opened spare stations corresponding to the target battery grade, that is, the number of spare stations used to group the batteries belonging to the target battery grade at the current moment. When the control device determines the number of second spare stations, it can determine the magnitude relationship between the number of second spare stations and the number of first spare stations. For the process of determining the number of opened spare stations corresponding to the battery grade, reference can be made to the above embodiment and will not be elaborated here.

[0102] In one embodiment, the control device is communicatively connected to the sorting control device, and the sorting control device may store the station level information corresponding to multiple stations one by one. The station level information may include the station status and gear information. Among them, the station status includes a fault status, an on status, and an idle status. The fault status is used to indicate that the corresponding station has a fault. The on status is used to indicate that the corresponding station is used to group batteries corresponding to a certain battery grade at the current moment. The idle status is used to indicate that the corresponding station is not used to group batteries corresponding to any battery grade at the current moment. The gear information is used to indicate the battery grade corresponding to the station in the on status. The station allocation method further includes: the control device obtains and determines the number of second standby stations according to the station level information of multiple stations.

[0103] Step 405, control to turn on at least one idle standby station as the standby station corresponding to the target battery grade.

[0104] It should be noted that in the case where the number of second standby stations is less than the number of first standby stations, that is, the opened standby stations corresponding to the target battery grade are not sufficient to process the batteries belonging to the target battery grade in the battery set to be allocated. In the case where the number of second standby stations is less than the number of first standby stations, the control device controls to turn on at least one idle standby station as the standby station corresponding to the target battery grade, so as to increase the number of opened standby stations corresponding to the target battery grade, relieve the phenomenon of excessive saturation of the opened stations corresponding to the target battery grade, thereby reducing the accumulation phenomenon of the batteries belonging to the target battery grade and improving the battery sorting efficiency. Optionally, controlling to turn on at least one idle standby station as the standby station corresponding to the target battery grade may include: the control device modifies the station status corresponding to the opened idle standby station stored in the sorting control device to the on status, and modifies the corresponding gear information to be consistent with the target battery grade.

[0105] In one embodiment, there are N idle standby stations. Controlling to turn on at least one idle standby station as the standby station corresponding to the target battery grade may include: the control device controls the first X idle standby stations among the N idle standby stations to turn on in the order from high to low according to the station priorities corresponding to the N idle standby stations. Among them, both N and X are positive integers, and N≥X≥1. The station priority of the idle standby station is determined according to the distance of the common path between the idle standby station and the main station corresponding to the target battery grade. The higher the station priority of the idle standby station, the shorter the distance of the common path.

[0106] It should be noted that in this embodiment, there is at least one main station corresponding to the target battery grade, such as Figure 2As shown, a certain section of the path may be shared between two workstations 280. If two workstations 280 share a certain section of the path, it is possible that the incoming material speed of the batteries corresponding to these two workstations 280 is too fast, greater than the production capacity of the sorting component, which will result in the accumulation of batteries on the conveying component and a low battery sorting efficiency. Exemplarily, in the case where the workstation to which the first battery needs to be allocated and the workstation to which the second battery needs to be allocated share a third sorting component, the third sorting component needs to first allocate the first battery to the corresponding fourth conveying component, and then convey the second battery to the corresponding fourth conveying component. At this time, the second battery will need to wait at the input position of the third sorting component for a period of time, resulting in a low sorting efficiency. In view of this, when there are N idle spare workstations, the idle spare workstation with the highest priority (i.e., the idle spare workstation with the shortest shared path) is selected to group the batteries of the target battery grade, which can avoid excessive sharing of the path between the main workstation and the spare workstation and ensure the battery sorting efficiency.

[0107] Optionally, when N is greater than the difference between the number of first spare workstations and the number of second spare workstations, X is the same as the difference between the number of first spare workstations and the number of second spare workstations. When N is less than or equal to the difference between the number of first spare workstations and the number of second spare workstations, X is the same as N. It should be noted that the difference between the number of first spare workstations and the number of second spare workstations represents the number of spare workstations that the target battery grade still lacks. When N is greater than the number of spare workstations that the target battery grade still lacks, the control device allocates idle spare workstations to the target battery grade so that the number of opened spare workstations corresponding to the target battery grade is the number of first spare workstations, avoiding a large number of opened spare workstations corresponding to the target battery grade, which may lead to the existence of many trays with only partial batteries placed. When N is less than or equal to the number of spare workstations that the target battery grade still lacks, the control device allocates all N idle spare workstations to the target battery grade to minimize the saturation of the workstations corresponding to the target battery grade and improve the battery sorting efficiency.

[0108] In one embodiment, the battery quantity information corresponding to each battery grade may include the quantity of batteries belonging to each battery grade in the set of batteries to be allocated. The battery sorting method may further include: sequentially taking each battery grade as the target battery grade in the order from the largest to the smallest of the quantities of batteries corresponding to each battery grade, and performing steps of determining whether there is still an idle spare station in the battery sorting system, and if there is an idle spare station in the battery sorting system, comparing the second spare station quantity of the opened spare stations corresponding to the target battery grade with the first spare station quantity. In this embodiment, by determining whether to use the idle spare stations for palletizing the batteries belonging to the target battery grade in the order from the largest to the smallest of the quantities of batteries corresponding to each battery grade, the control device preferentially allocates the idle spare stations to the battery grades with more batteries, improving the reliability of spare station allocation.

[0109] Step 406: Compare the second spare station quantity of the opened spare stations corresponding to the target battery grade with the first spare station quantity.

[0110] It should be noted that for the description of the second spare station quantity and the first spare station quantity, please refer to the above embodiments and will not be elaborated here.

[0111] Step 407: If the second spare station quantity is greater than the first spare station quantity, control to close at least one spare station corresponding to the target battery grade.

[0112] It should be noted that under the condition of meeting the preset closing condition, the control device executes steps 406 to 407. The preset closing condition may include that there is no idle spare station in the battery sorting system, the second spare station quantity is greater than or equal to the first spare station quantity, and the total battery quantity corresponding in the set of batteries to be allocated is less than the preset set quantity threshold, etc. In this embodiment, when it is determined that there is no need to allocate an idle spare station to the target battery grade, the control device determines whether the second spare station quantity is greater than the first spare station quantity, and when the second spare station quantity is greater than the first spare station quantity, controls to close at least one spare station corresponding to the target battery grade, so as to close the spare stations corresponding to the target battery grade when the quantity of the opened spare stations corresponding to the target battery grade is excessive, ensuring that the remaining batteries of the target battery grade in the set of batteries to be allocated can fill the pallets of the opened spare stations corresponding to the target battery grade, and the closed spare stations can be used for palletizing the batteries of other battery grades, improving the battery sorting efficiency. It can be understood that if the second spare station quantity is equal to the first spare station quantity, it can be considered that the quantity of the opened spare stations corresponding to the target battery grade is appropriate, and the control device does not execute the step of controlling to close at least one spare station corresponding to the target battery grade.

[0113] In one embodiment, there are Y opened standby workstations corresponding to the target battery grade. Controlling to close at least one standby workstation corresponding to the target battery grade may include: controlling the first Z standby workstations among the Y opened standby workstations corresponding to the target battery grade to be closed in ascending order of the workstation priorities corresponding to the Y opened standby workstations corresponding to the target battery grade.

[0114] Wherein, both Y and Z are positive integers, and Y≥Z≥1. The workstation priority of the standby workstation is determined according to the distance of the common path between the standby workstation and the main workstation corresponding to the target battery grade. The shorter the distance of the common path, the higher the workstation priority of the idle standby workstation. It should be noted that the control device reversely orders the priorities of the standby workstations corresponding to the target battery grade, and preferentially closes the standby workstations corresponding to the target battery grade with a longer common path distance, so as to reduce the phenomenon that the target battery grade accumulates on the conveying component, meet the requirements of the tray with a full set of standby workstations, and improve the battery sorting efficiency. Optionally, the workstation priorities of the standby workstations may be pre-stored in the control device.

[0115] In this embodiment, when it is determined that the number of the second standby workstations is less than the number of the first standby workstations, that is, the number of the opened standby workstations corresponding to the target battery grade is too small, the control device allocates at least one idle standby workstation to the target battery grade to reduce the work saturation of the workstations corresponding to the target battery grade and improve the battery sorting efficiency. At the same time, when it is determined that the number of the second standby workstations is greater than the number of the first standby workstations, that is, the number of the opened standby workstations corresponding to the target battery grade is too large, the control device controls to close at least one standby workstation corresponding to the target battery grade, reduces the number of the standby workstations corresponding to the target battery grade, meets the requirements of the tray for the workstations corresponding to the target battery grade, and enables the closed standby workstation to be used for grouping the batteries corresponding to the battery grades with a larger number of other batteries, thereby improving the battery sorting efficiency.

[0116] In one embodiment, controlling the first Z standby workstations among the Y opened standby workstations corresponding to the target battery grade to be closed in ascending order of the workstation priorities corresponding to the Y opened standby workstations corresponding to the target battery grade includes steps 501 to 503.

[0117] Step 501, sequentially determine whether the current standby workstation corresponds to the target battery grade in ascending order of the workstation priority corresponding to each standby workstation.

[0118] Step 502, if the current standby workstation corresponds to the target battery grade, determine whether the number of grouped batteries of the current standby workstation is equal to zero or equal to the preset full tray quantity.

[0119] Step 503, if the number of grouped batteries in the current spare station is equal to zero or equal to the preset full - tray quantity, control the current spare station to close, and update the quantity of the second spare station until it is determined that the quantity of the second spare station is equal to the quantity of the first spare station.

[0120] It should be noted that when the number of grouped batteries in the current spare station is zero, it can be considered that the tray of the current spare station does not carry any battery. When the number of grouped batteries in the current spare station is equal to the preset full - tray quantity, it can be considered that the tray of the current spare station is full. Only when the number of grouped batteries in the current spare station is equal to zero or equal to the preset full - tray quantity, does the control device close the spare station, which can avoid the phenomenon that the tray of the spare station is not full. Optionally, controlling the current spare station to close may include: the control device modifying the station status corresponding to the current spare station stored in the sorting control device to the idle state, so as to avoid allocating batteries belonging to the target battery grade to the current spare station.

[0121] In this embodiment, the control device sequentially determines whether each spare station corresponds to the target battery grade in ascending order of the station priority of the spare stations, finds the spare station that corresponds to the target battery grade and has a lower station priority. Only when it is determined that the current spare station has no grouped batteries or is full of grouped batteries, does the control device control to close the current spare station, avoiding the phenomenon that only part of the batteries are placed in the tray and improving the reliability of the battery sorting system. When the control device controls the current spare station to close, it updates the quantity of the second spare station until it is determined that the quantity of the second spare station is equal to the quantity of the first spare station, that is, making the number of spare stations with the target battery grade opened consistent with the required number of spare stations, so as to avoid the situation that the spare station is not full and balance the work saturation of each station, thereby improving the battery sorting efficiency.

[0122] The above - mentioned embodiment describes that according to the target battery quantity and / or target battery ratio, the quantity of the first spare station of the spare stations to be opened corresponding to the target battery grade is determined. The following embodiment will provide a method for determining the quantity of the first spare station to illustrate how to determine the quantity of the first spare station of the spare stations to be opened corresponding to the target battery grade according to the target battery quantity and / or target battery ratio.

[0123] In one embodiment, the target battery quantity information may include the target battery quantity. Determining the quantity of the first spare station according to the target battery quantity information corresponding to the target battery grade may include Step 601 to Step 602.

[0124] Step 601, determine the target quantity interval to which the target battery quantity belongs.

[0125] Step 602: Determine the number of spare workstations corresponding to the target quantity range as the first number of spare workstations.

[0126] It should be noted that the description of the target battery quantity can be found in the above embodiments and will not be elaborated here. The control device can preset multiple preset quantity ranges, and each preset quantity range corresponds to a number of spare workstations. The number of spare workstations corresponding to the preset quantity range is used to measure whether the number of workstations corresponding to the battery level with the battery quantity in the preset quantity range is appropriate, that is, whether the number of workstations is neither excessive nor insufficient. The preset quantity range can be determined according to the maximum number of batteries that the tray corresponding to the workstation can carry. The multiple preset quantity ranges can include (0, a], (a, 2a], (2a, 3a], where a is the maximum number of batteries that the tray can carry. Exemplarily, if the number of trays that the battery can carry is 130, then a is 130, that is, the preset quantity ranges include (0, 130], (130, 260], (260, 390]. The number of spare workstations corresponding to (0, a] is 0, the number of spare workstations corresponding to (a, 2a] is 1, and the number of spare workstations corresponding to (2a, 3a] is 2. Optionally, the multiple preset quantity ranges can also include (3a, +∞), and the corresponding number of spare workstations is greater than or equal to 3. The target quantity range is the preset quantity range to which the target battery quantity belongs.

[0127] In this embodiment, the control device can pre-store multiple preset quantity ranges. When determining the target battery quantity, it can determine the preset quantity range to which the target quantity range belongs, and determine the number of spare workstations corresponding to the target quantity range as the first number of spare workstations, so as to determine the first number of spare workstations. The first number of spare workstations determined according to this method can avoid the phenomenon of the spare workstation not being full of trays.

[0128] In one embodiment, the target battery quantity information includes the target battery ratio. Determining the first number of spare workstations according to the target battery quantity information corresponding to the target battery level may include steps 701 to 702.

[0129] Step 701: Determine the target ratio range to which the target battery ratio belongs.

[0130] Step 702: Determine the number of spare workstations corresponding to the target ratio range as the first number of spare workstations.

[0131] It should be noted that the control device can be preset with multiple preset ratio intervals, and each preset ratio interval corresponds to a number of spare workstations. The number of spare workstations corresponding to the preset ratio interval is used to measure whether the number of workstations corresponding to the battery level with the battery ratio in the preset quantity interval is appropriate, that is, whether the number of workstations is neither excessive nor insufficient. The preset ratio interval can be determined according to the production capacity corresponding to the workstation. The preset ratio interval can include [90%, 100%], [60%, 90%), and [30%, 60%). The number of spare workstations corresponding to [90%, 100%] is 3, the number of spare workstations corresponding to [60%, 90%) is 2, and the number of spare workstations corresponding to [30%, 60%) is 1.

[0132] The determination method of multiple preset ratio intervals will be illustrated by way of example below. If the battery sorting system includes 4 spare workstations, each battery level corresponds to a main workstation, and the maximum number of spare workstations that can be opened corresponding to the target battery level is set to 3, and the production capacity of each workstation is 120 ppm. When the number of opened spare workstations is 1, the ratio of the production capacity of the current spare workstation to the maximum production capacity of the target battery level is 1*120 / [(3 + 1)*120] = 25%. When the number of opened spare workstations is 2, the ratio of the production capacity of the current spare workstation to the maximum production capacity of the target battery level is 2*120 / [(3 + 1)*120] = 50%. When the number of opened spare workstations is 3, the ratio of the production capacity of the current spare workstation to the maximum production capacity of the target battery level is 3*120 / [(3 + 1)*120] = 75%. To avoid frequently opening or closing the spare workstations, 75% is increased to 90%, and 25% is increased to 30%. We can obtain 30%, 60%, and 90%. Multiple preset ratio intervals can be divided according to 30%, 60%, and 90%. The multiple preset ratio intervals include [90%, 100%], [60%, 90%), and [30%, 60%). And the number of spare workstations corresponding to [90%, 100%] is 3, the number of spare workstations corresponding to [60%, 90%) is 2, and the number of spare workstations corresponding to [30%, 60%) is 1. Optionally, the preset ratio interval can also include [0, 30%), and the number of spare workstations corresponding to [0, 30%) is 0. The target ratio interval is the preset ratio interval to which the target battery ratio belongs.

[0133] In this embodiment, the control device prestores multiple preset ratio intervals. When determining the target battery ratio, the preset ratio interval to which the target ratio interval belongs can be determined, and the number of spare workstations corresponding to the target ratio interval is determined as the first number of spare workstations. The number of workstations determined according to this method can avoid the working saturation of the spare workstations being too high or too low.

[0134] In one embodiment, for step 404, determining the number of first standby workstations according to the target battery quantity information corresponding to the target battery level may include steps 801 to 805.

[0135] Step 801, determine whether the target battery ratio is greater than or equal to c%, if so, execute step 802, if not, execute step 803.

[0136] Step 802, determine the number of first standby workstations as d.

[0137] Step 803, determine whether the target battery ratio is greater than or equal to e%, if so, execute step 804, if not, execute step 805.

[0138] Step 804, determine the number of first standby workstations as f.

[0139] Step 805, determine whether the target battery ratio is greater than or equal to g%, if so, execute step 806, if not, execute step 807.

[0140] Step 806, determine the number of first standby workstations as h.

[0141] Step 807, determine the number of first standby workstations as i.

[0142] It should be noted that multiple preset ratio intervals may include a first preset ratio interval, a second preset ratio interval, a third preset ratio interval, and a fourth preset ratio interval, and the number of standby workstations corresponding to the first preset ratio interval is d, the number of standby workstations corresponding to the second preset ratio interval is f, the number of standby workstations corresponding to the third preset ratio interval is h, and the number of standby workstations corresponding to the fourth preset ratio interval is i, where d > f > h > i, the minimum battery ratio in the first preset ratio interval is c%, the minimum battery ratio in the second preset ratio interval is e%, the minimum battery ratio in the third preset ratio interval is g%, where c% > e% > g%, and e% is greater than all battery ratios included in the fourth preset ratio interval. All battery ratios included in the first preset ratio interval are greater than all battery ratios included in the second preset ratio interval, and all battery ratios included in the second preset ratio interval are greater than all battery ratios included in the third preset ratio interval. Optionally, c% = 90%, d = 3, e% = 60%, f = 2, g% = 30%, h = 1, i = 0.

[0143] In this embodiment, when it is determined that the step of determining whether to activate an idle standby station for the target battery level (i.e., step 404) needs to be executed, the control device sequentially compares whether the target battery ratio is greater than or equal to the minimum value in the current preset ratio interval in descending order according to the preset ratio interval. If so, it can be determined that the target battery ratio belongs to the current preset ratio interval. The interval determination method provided in this embodiment is relatively simple, reducing the computational complexity of the control device for determining the number of the first standby stations.

[0144] Please refer to Figure 9 , which shows the fourth flowchart of a method for determining the number of the first standby stations provided in an embodiment of the present application. In this embodiment, the target battery quantity information may include the target battery quantity and the target battery ratio. As Figure 9 shown, determining the number of the first standby stations according to the target battery quantity information corresponding to the target battery level may include steps 901 to 902.

[0145] Step 901, determine the target quantity interval to which the target battery quantity belongs and the target ratio interval to which the target battery ratio belongs.

[0146] Step 902, determine the smaller of the number of the third standby stations and the number of the fourth standby stations as the number of the first standby stations.

[0147] Among them, the target quantity interval corresponds to the number of the third standby stations, and the target ratio interval corresponds to the number of the fourth standby stations. It should be noted that the number of standby stations corresponding to the target quantity interval and the target ratio interval may be the same, that is, the number of the third standby stations may be the same as the number of the fourth standby stations, or may not be the same.

[0148] In one embodiment, determining the number of the first standby stations according to the target battery quantity information corresponding to the target battery level may include: the control device may determine whether the target battery quantity belongs to the preset quantity interval corresponding to the current number of standby stations and whether the target battery ratio belongs to the preset ratio interval corresponding to the current number of standby stations in ascending order according to the number of standby stations corresponding to multiple preset quantity intervals and multiple preset ratio intervals, until it is determined that the target battery quantity belongs to the preset quantity interval corresponding to the current number of standby stations, and / or it is determined that the target battery ratio belongs to the preset ratio interval corresponding to the current number of standby stations, and determine the current number of standby stations as the number of the first standby stations.

[0149] Optionally, the preset quantity range corresponding to the spare station quantity of 0 is [0, 130], the corresponding preset ratio range is (0, 20%], the preset quantity range corresponding to the spare station quantity of 1 is (130, 260], the corresponding preset ratio range is (20%, 50%], the preset quantity range corresponding to the spare station quantity of 2 is (260, 390], the corresponding preset ratio range is [50%, 80%], and the preset quantity range corresponding to the spare station quantity of 3 is (390, +∞), and the corresponding preset ratio range is [80%, 100%].

[0150] In one embodiment, for step 406, determining the first spare station quantity according to the target battery quantity information corresponding to the target battery level may include steps 1001 to 1007.

[0151] Step 1001: Determine whether the target battery ratio is less than or equal to j%, or whether the target battery quantity is less than or equal to k. If so, execute step 1002; if not, execute step 1003.

[0152] Step 1002: Determine the first spare station quantity as l.

[0153] Step 1003: Determine whether the target battery ratio is less than or equal to m%, or whether the target battery quantity is less than or equal to n. If so, execute step 1004; if not, execute step 1005.

[0154] Step 1004: Determine the first spare station quantity as o.

[0155] Step 1005: Determine whether the target battery ratio is less than or equal to p%, or whether the target battery quantity is less than or equal to q. If so, execute step 1006; if not, execute step 1007.

[0156] Step 1006: Determine the first spare station quantity as r.

[0157] Step 1007: Determine the first spare station quantity as s.

[0158] It should be noted that the multiple preset ratio intervals may include a fifth preset ratio interval, a sixth preset ratio interval, a seventh preset ratio interval, and an eighth preset ratio interval, and the multiple preset quantity intervals include a first preset quantity interval, a second preset quantity interval, a third preset quantity interval, and a fourth preset quantity interval. The number of spare workstations corresponding to the first preset quantity interval and the fifth preset ratio interval is l, the number of spare workstations corresponding to the second preset quantity interval and the sixth preset ratio interval is o, the number of spare workstations corresponding to the third preset quantity interval and the seventh preset ratio interval is r, and the number of spare workstations corresponding to the fourth preset quantity interval and the eighth preset ratio interval is s. Among them, s > r > o > l. The largest battery ratio in the fifth preset ratio interval is j%, the largest battery ratio in the sixth preset ratio interval is m%, and the largest battery ratio in the seventh preset ratio interval is p%. Among them, p% > m% > j%. All the battery ratios included in the fifth preset ratio interval are less than all the battery ratios included in the sixth preset ratio interval, all the battery ratios included in the sixth preset ratio interval are less than all the battery ratios included in the seventh preset ratio interval, and all the battery ratios included in the seventh preset ratio interval are less than all the battery ratios included in the eighth preset ratio interval. The largest value in the first preset quantity interval is k, the largest value in the second preset quantity interval is n, and the largest value in the third preset quantity interval is q. Among them, q > n > k. All the values included in the first preset quantity interval are less than all the values included in the second preset quantity interval, all the values included in the second preset quantity interval are less than all the values included in the third preset quantity interval, and all the values included in the third preset quantity interval are less than all the values included in the fourth preset quantity interval. Optionally, j% = 20%, k = 130, l = 0, m% = 50%, n = 260, o = 1, p% = 80%, q = 390, r = 2, s = 3. It should be noted that, referring to the above embodiments, when targeting step 404, the ratios used are 30%, 60%, and 90%. By reducing based on 30%, 20% is obtained; by reducing based on 60%, 50% is obtained; and by reducing based on 90%, 80% is obtained. Thus, frequent closing of spare workstations can be avoided, and the lifespan of the battery sorting system can be extended.

[0159] In this embodiment, when it is determined that the step of determining whether to close the standby workstations corresponding to the target battery level (i.e., step 406) needs to be executed, the control device sequentially compares, in ascending order of the corresponding number of standby workstations, whether the target battery ratio is less than or equal to the maximum value in the preset ratio interval corresponding to the current number of standby workstations, and whether the target battery quantity is less than or equal to the maximum value in the preset quantity interval corresponding to the current number of standby workstations. If the target battery ratio is less than or equal to the maximum value in the preset ratio interval corresponding to the current number of standby workstations, or the target battery quantity is less than or equal to the maximum value in the preset quantity interval corresponding to the current number of standby workstations, the current number of standby workstations is determined as the first number of standby workstations. The interval determination method provided in this embodiment is relatively simple, which can reduce the computing amount of the control device for determining the first number of standby workstations.

[0160] It can be understood that determining the first number of standby workstations according to the target battery quantity and / or the target battery ratio can also be implemented in other ways, rather than being limited to the ways mentioned in the above embodiments.

[0161] In the following embodiments, taking the battery sorting system including 4 standby workstations and main workstations corresponding to each battery level one by one as an example, the workstation allocation method will be described.

[0162] Please refer to Figure 11 , which shows a schematic flowchart of another workstation allocation method provided by the embodiment of the present application. As Figure 11 shown, this method may include steps 1101 to 1115.

[0163] Step 1101, determine the battery quantity information corresponding to each battery level in the battery set to be allocated.

[0164] Step 1102, sequentially take each battery level as the target battery level in descending order of the battery quantity corresponding to the batteries belonging to each battery level.

[0165] Step 1103, determine whether there are still idle standby workstations in the battery sorting system and whether the total battery quantity in the battery allocation set is greater than or equal to the preset set quantity threshold. If so, execute steps 1104 to 1109. If not, execute steps 1110 to 1112.

[0166] Step 1104, determine the target ratio interval to which the target battery ratio belongs.

[0167] Step 1105, determine the number of standby workstations corresponding to the target battery ratio as the first number of standby workstations.

[0168] Step 1106: Determine whether the number of second standby workstations is greater than or equal to the number of first standby workstations. If not, execute Step 1107; if so, execute Steps 1110 to 1112.

[0169] Step 1107: Sequentially determine whether the current standby workstation is idle in the order of decreasing workstation priority corresponding to each standby workstation. If so, execute Step 1108; if not, determine whether the next standby workstation is idle.

[0170] Step 1108: Control the current standby workstation to be turned on so that the turned-on current standby workstation is used to group batteries corresponding to the target battery grade.

[0171] Step 1109: Determine whether the number of second standby workstations is equal to the number of first standby workstations. If not, execute Step 1107 until the number of second standby workstations is equal to the number of first standby workstations, or there is no idle standby workstation in the battery sorting system.

[0172] Step 1110: Determine the target quantity range to which the target battery quantity belongs and the target ratio range to which the target battery ratio belongs.

[0173] Step 1111: Determine the smaller value between the number of third standby workstations and the number of fourth standby workstations as the number of first standby workstations.

[0174] Step 1112: Determine whether the number of second standby workstations is greater than the number of first standby workstations. If so, execute Steps 1113 to 1115.

[0175] It can be understood that if the number of second standby workstations is not greater than the number of first standby workstations, that is, it can be determined that the number of second standby workstations is equal to the number of first standby workstations. At this time, return to execute Step 1102 to determine whether another battery grade needs to turn on or off the corresponding standby space.

[0176] Step 1113: Sequentially determine whether the current standby workstation corresponds to the target battery grade in the order of increasing workstation priority corresponding to each standby workstation. If so, execute Step 1114; if not, determine whether the next standby workstation corresponds to the target battery grade.

[0177] Step 1114: Determine whether the number of grouped batteries of the current standby workstation is equal to zero or equal to the preset full-disk quantity. If so, execute Step 1115; if not, wait until the number of grouped batteries is equal to the preset full-disk quantity.

[0178] Step 1115: Control the current standby workstation to be turned off and update the number of second standby workstations until it is determined that the number of second standby workstations is equal to the number of first standby workstations.

[0179] It should be noted that the above embodiments illustrate how the control device adjusts the spare workstations corresponding to the target battery level. To further improve the battery sorting efficiency, the embodiments of the present application also provide a battery sorting method. The control device can also be used for the battery quantity information corresponding to the target battery level and the corresponding spare workstation information to determine the target battery allocation strategy corresponding to the target battery level, providing effective guidance for the allocation of batteries, thereby improving the battery sorting efficiency.

[0180] Please refer to Figure 12 , which shows a schematic flowchart of a battery sorting method provided by the embodiments of the present application. As Figure 12 shown, the workstation allocation method may further include step 1201 to step 1202.

[0181] Step 1201, determine the number of second spare workstations.

[0182] It should be noted that the number of second spare workstations refers to the number of activated spare workstations corresponding to the target battery level. The activated spare workstations corresponding to the target battery level can be understood as the spare workstations in the battery sorting system for grouping the batteries belonging to the target battery level. That is, under the control of the sorting control device, the sorting component will only allocate the batteries belonging to the target battery level to the fourth conveying component corresponding to this spare workstation. The determination of the number of second spare workstations can refer to the above embodiments and will not be elaborated here.

[0183] Step 1202, determine the target battery allocation strategy corresponding to the target battery level according to the target battery quantity information corresponding to the target battery level and the number of second spare workstations.

[0184] Among them, the target battery allocation strategy is used to indicate the allocation of the batteries belonging to the target battery level to the main workstation and / or spare workstations corresponding to the target battery level. It should be noted that in a batch of batteries, the number of batteries corresponding to the battery level generally follows a normal distribution, that is, most of the batteries belong to the same battery level. In this embodiment, the control device determines the target battery quantity information and the number of second spare workstations to determine the working saturation of the main workstation and the spare workstations corresponding to the target battery level, thereby determining the target battery allocation strategy corresponding to the target battery level, making the determined target battery allocation strategy corresponding to the target battery level more reasonable. Based on this target battery allocation strategy, the allocation of the batteries belonging to the target battery level can improve the battery sorting efficiency.

[0185] In one embodiment, the station allocation method may further include: the control device allocates the batteries belonging to the target battery grade to the main station and / or the standby station corresponding to the target battery grade based on the target battery allocation strategy. Optionally, the control device allocating the batteries belonging to the target battery grade to the main station and / or the standby station corresponding to the target battery grade based on the target battery allocation strategy may include: the control device allocates the batteries belonging to the target battery grade to the main station and / or the standby station corresponding to the target battery grade based on the target battery allocation strategy, the remainder of the main station corresponding to the target battery grade, and the remainder of the standby station corresponding to the target battery grade. It should be noted that the remainder of the station refers to the number of batteries lacking to fill the current tray of the station. In this embodiment, the control device allocates the batteries belonging to the target battery grade between the main station and / or the standby station corresponding to the target battery grade according to the target battery allocation strategy, the remainder of the main station corresponding to the target battery grade, and the corresponding remainder of the standby station, which can avoid the situation that the number of batteries allocated to the main station and / or the standby station corresponding to the target battery grade is greater than the number that the current tray of the main station and / or the standby station can carry, that is, avoid the phenomenon that the batteries allocated to the station cannot be placed in the current tray of the station, and improve the reliability of battery sorting.

[0186] Optionally, after the control device allocates the batteries belonging to the target battery grade to the main station and / or the standby station corresponding to the target battery grade based on the target battery allocation strategy, the remainder of the main station corresponding to the first station, and the remainder of the standby station, the station allocation method further includes: updating the station binding information stored in the database. It should be noted that the station binding information is used to indicate the corresponding relationship between the battery and the station, and the control device can determine the remainder of each station according to multiple pieces of station binding information. Exemplarily, the control device can determine the number of batteries bound to the station corresponding to the station (that is, how many batteries are currently grouped on the tray of the station) through the station binding information, and the remainder of the station can be determined according to the number of batteries that the station can carry and the number of batteries bound. Exemplarily, the remainder of the station is the difference between the number of batteries that the station can carry and the number of batteries bound.

[0187] In one embodiment, the battery quantity information may include the target battery ratio. Determining the target battery allocation strategy corresponding to the target battery grade according to the target battery quantity information corresponding to the target battery grade and the number of second standby stations may include: the control device determines the target battery allocation strategy according to the target battery ratio and the number of second standby stations.

[0188] It should be noted that the description of the target battery ratio and the number of second standby stations can be referred to the above embodiments and will not be elaborated here. Since the target battery ratio and the number of second standby stations may change at different times, the control device adjusts the target battery allocation strategy corresponding to the target battery level in real time according to the target battery ratio and the number of second standby stations, improving the accuracy of the determined target battery allocation strategy.

[0189] In this embodiment, considering the battery quantity information corresponding to each battery level and the corresponding number of second standby stations, the target battery allocation strategy corresponding to each battery level is determined, so that the workstations of each battery can be dynamically allocated. The rationality of the target battery allocation strategy determined by this method is relatively high, providing effective guidance for the allocation of batteries and improving the battery sorting efficiency.

[0190] Please refer to Figure 13 , which shows a schematic flow chart of another battery sorting method provided by the embodiment of the present application. As Figure 13 shown, the workstation allocation method may further include steps 1301 to 1304.

[0191] Step 1301, determine the number of second standby stations.

[0192] Step 1302, determine whether the target battery quantity corresponding to the target battery level is greater than a preset quantity threshold. If so, execute step 1303; if not, execute step 1304.

[0193] Among them, the preset quantity threshold can be pre-stored in the control device. The preset quantity threshold is used to indicate the maximum number of grouped tray batteries corresponding to the maximum number of standby workstations that can be opened for the target battery level. The preset quantity threshold can be set to be greater than the maximum number of grouped tray batteries. Optionally, the preset quantity threshold can be set to be greater than or equal to the sum of the maximum number of grouped tray batteries and the number of grouped trays corresponding to the main workstation. Exemplarily, if the battery sorting system includes 4 standby workstations, the number of trays that can be grouped at each workstation is 130, and the battery sorting system presets that the maximum number of standby workstations that can be opened for each battery level is 3, that is, the maximum number of standby workstations that can be opened for the target battery level is 3, then the preset quantity threshold can be set to be greater than 390, that is, 3*130. Optionally, the range of the preset quantity threshold can be greater than or equal to 520, that is, 4*130. Optionally, the preset quantity threshold can be 510, 520 or 530.

[0194] In one embodiment, before determining whether the number of target batteries corresponding to the target battery grade is greater than a preset quantity threshold, the station allocation method may further include: controlling the device to determine whether the number of second standby stations is greater than 0. If so, step 1302 is executed; if not, it is determined that the target battery allocation strategy is the first battery allocation strategy, and the first battery allocation strategy is used to indicate that the batteries belonging to the target battery grade are allocated to the main station corresponding to the target battery grade. In this embodiment, the control device first determines whether there is a standby station corresponding to the target battery grade. In the case where there is no standby station corresponding to the target battery grade, it is directly determined that the batteries belonging to the target battery grade should be allocated to the main station of the target battery grade, which can reduce the computational load of the control device.

[0195] Step 1303, determine the target battery allocation strategy according to the target battery ratio and the number of second standby stations.

[0196] Step 1304, determine that the target battery allocation strategy is the second battery allocation strategy.

[0197] Among them, the second battery allocation strategy is used to indicate that the batteries belonging to the target battery grade are preferentially allocated to at least one target standby station, and then the remaining batteries belonging to the target battery grade are evenly allocated to other standby stations and the main station corresponding to the target battery grade. It can be understood that when the number of target batteries is less than or equal to the preset quantity threshold, it can be considered that the batteries belonging to the target battery grade in the battery set to be allocated cannot fill the trays of three standby stations and one main station at the same time. Therefore, in this case, it is indicated that the batteries belonging to the target battery grade are preferentially allocated to at least one target standby station to fill the target standby station first, so as to quickly fill the tray of the target standby station, so that the number of batteries in the assembled tray is the preset full-tray quantity. The control device can quickly close the target standby station so that the target standby station can be used to assemble batteries of other battery grades, improving the battery sorting efficiency.

[0198] In one embodiment, at least one target spare station is the first M spare stations arranged in ascending order of station priority among the spare stations corresponding to the target battery grade. Here, M is a positive integer and less than or equal to the number of second spare stations. The station priority is determined according to the distance of the common path between the spare station and the main station of the target battery grade. The lower the station priority, the longer the distance of the common path. It should be noted that, as described in the above embodiment, under the guidance of the target battery allocation strategy, the trays of the target spare stations will be filled first, and at this time, the battery for assembling trays of other battery grades can be switched. In this embodiment, by determining the spare stations with low station priority among the spare stations corresponding to the target battery grade as the target spare stations, the spare stations with a longer common path with the target battery grade can be closed first, reducing the working frequency of the same sorting component. Optionally, M is equal to the number of second spare stations.

[0199] As described in the above embodiment, the target battery allocation strategy can be determined according to the target battery ratio and the number of second spare stations. The following embodiment will elaborate on how to determine the target battery allocation strategy according to the target battery ratio and the number of second spare stations.

[0200] Please refer to Figure 14 , which shows a schematic flowchart of a strategy determination method provided by an embodiment of the present application. As Figure 14 shown, to determine the target battery allocation strategy according to the target battery ratio and the number of second spare stations, steps 1401 to 1403 may be included.

[0201] Step 1401: Determine whether the target battery ratio is greater than the target ratio threshold. If so, execute step 1402; if not, execute step 1403.

[0202] Step 1402: Determine that the target battery allocation strategy is the third battery allocation strategy.

[0203] Step 1403: Determine the target battery allocation strategy according to the target ratio interval to which the target battery ratio belongs and the number of second spare stations.

[0204] Among them, the third battery allocation strategy is used to indicate that the batteries belonging to the target battery level are evenly allocated to the main workstations and standby workstations corresponding to the target battery level. It should be noted that the target ratio threshold is used to measure whether the number of batteries belonging to the target battery level in the battery set to be allocated is sufficient. When the target battery ratio is greater than the target ratio threshold, it can be considered that the number of batteries belonging to the target battery level is sufficient and can be used to simultaneously fill the trays of the three standby workstations. When the target battery ratio is less than or equal to the target ratio threshold, it can be considered that the number of batteries of the target battery level is insufficient. When it is determined that the target battery ratio is greater than the target ratio threshold, the control device determines the third battery allocation strategy as the target battery allocation strategy for the target battery level, which can balance the work saturation of each workstation corresponding to the target battery level and improve the battery sorting efficiency. Optionally, the target ratio threshold can be 80%.

[0205] When the target battery ratio is less than or equal to the target ratio threshold, at this time, it is necessary to further determine a reasonable target battery allocation strategy according to the target ratio interval to which the target battery ratio belongs and the number of second standby workstations. It should be noted that the control device can pre-store multiple preset ratio intervals, and each preset ratio interval corresponds to a different number of standby workstations. The number of standby workstations in the preset ratio interval can be used to measure whether the number of opened standby workstations corresponding to the battery level whose battery ratio belongs to this preset ratio interval is appropriate. The control device can determine the target ratio interval to which the target battery ratio belongs. Optionally, the preset interval can be determined according to the production capacity of each workstation. The preset ratio intervals can include (50%, 80%], (20%, 50%], and [0, 20%]. The number of standby workstations corresponding to (50%, 80%] is 2, the number of standby workstations corresponding to (20%, 50%] is 1, and the number of standby workstations corresponding to [0, 20%] is 0.

[0206] Please refer to Figure 15 , which shows a schematic flowchart of another strategy allocation method provided by an embodiment of the present application. As Figure 15 shown, to determine the target battery allocation strategy according to the target ratio interval to which the target battery ratio belongs and the number of second standby workstations, it may include steps 1501 to 1503.

[0207] Step 1501, determine whether the number of second standby workstations is greater than the number of standby workstations corresponding to the target ratio interval. If so, execute step 1502. If not, execute step 1503.

[0208] Step 1502, determine that the target battery allocation strategy is the second battery allocation strategy.

[0209] Step 1503, determine that the target battery allocation strategy is the third battery allocation strategy.

[0210] It should be noted that for the description of the third battery allocation strategy and the second battery allocation strategy, please refer to the above embodiments and will not be elaborated here. If the number of second standby workstations is greater than the number of standby workstations corresponding to the target ratio range, it can be considered that the number of activated standby workstations corresponding to the target battery level is excessive. At this time, the target battery allocation strategy is determined to be the second battery allocation strategy to preferentially fill the target standby workstations, so that the target standby workstations can be closed as soon as possible for grouping batteries of other battery levels. If the number of second standby workstations is less than or equal to the number of standby workstations corresponding to the target ratio range, it can be considered that the batteries of the target battery level can fill the activated standby workstations and the main workstations, that is, there is no need to perform the operation of closing the standby workstations corresponding to the target battery level. At this time, the batteries belonging to the target battery level can be evenly distributed to the main workstations and standby workstations corresponding to the target battery level to reduce the work saturation of the workstations, avoid exceeding the production capacity of the workstations, and thus improve the battery sorting efficiency.

[0211] In the following embodiments, taking the battery sorting system including 4 standby workstations and main workstations corresponding to each battery level as an example, the battery sorting method will be described.

[0212] Please refer to Figure 16 , which shows a schematic flowchart of another battery sorting method provided by an embodiment of the present application. As Figure 16 shown, the method may include steps 1601 to step 1618.

[0213] Step 1601, determine the workstation level information of multiple standby workstations.

[0214] Optionally, the sorting control device stores the workstation level information corresponding to multiple workstations. The control device can determine whether there are activated standby workstations in the battery sorting system according to the workstation status in the workstation level information, and determine the number of second standby workstations corresponding to the target battery level according to the gear information in the workstation level information.

[0215] Step 1602, determine whether there are activated standby workstations in the battery sorting system. If so, execute steps 1603 and 1604. If not, execute step 1604.

[0216] It should be noted that in the battery sorting system, when there are no activated standby workstations, it can be considered that the batteries belonging to each battery level can only be allocated to the main workstations corresponding to the corresponding battery levels. Therefore, there is no need to determine the battery quantity information corresponding to each battery level, that is, step 1603 can be skipped.

[0217] Step 1603, determine the battery quantity information corresponding to each battery level in the set of batteries to be allocated.

[0218] Step 1604, determine whether the number of second standby workstations is greater than 0. If not, execute Step 1605; if so, execute Step 1606.

[0219] Step 1605, determine that the target battery allocation strategy is the first battery allocation strategy.

[0220] Step 1606, determine whether the number of first batteries is greater than the preset quantity threshold. If not, execute Step 1607; if so, execute Step 1608.

[0221] Step 1607, determine that the target battery allocation strategy is the second battery allocation strategy.

[0222] Step 1608, determine whether the target battery ratio is greater than 80%. If so, execute Step 1609; if not, execute Step 1610.

[0223] Step 1609, determine that the target battery allocation strategy is the third battery allocation strategy.

[0224] Step 1610, determine whether the target battery ratio is greater than 50%. If so, execute Step 1611; if not, execute Step 1614.

[0225] Step 1611, determine whether the number of second standby workstations is greater than 2. If so, execute Step 1612; if not, execute Step 1613.

[0226] Step 1612, determine that the target battery allocation strategy is the second battery allocation strategy.

[0227] Step 1613, determine that the target battery allocation strategy is the third battery allocation strategy.

[0228] Step 1614, determine whether the target battery ratio is greater than 20%. If not, execute Step 1615; if so, execute Step 1616.

[0229] Step 1615, determine that the target battery allocation strategy is the second battery allocation strategy.

[0230] Step 1616, determine whether the number of second standby workstations is greater than 1. If not, execute Step 1617; if so, execute Step 1618.

[0231] Step 1617, determine that the target battery allocation strategy is the third battery allocation strategy.

[0232] Step 1618, determine that the target battery allocation strategy is the second battery allocation strategy.

[0233] It should be noted that in this embodiment, Figure 11 the shown workstation allocation method and Figure 16The battery sorting method shown can be executed asynchronously while adding a synchronization lock to ensure data consistency. By asynchronously executing two method steps, the purpose of dynamic allocation can be achieved collaboratively.

[0234] Please refer to Figure 17 , which shows a schematic structural diagram of a station allocation device disclosed in an embodiment of the present application. This device can be applied to the control device of a battery sorting system. The battery sorting system further includes at least one spare station and at least one main station, and the spare station and the main station are used to group the batteries into trays. As Figure 17 shown, the station allocation device 1700 may include a first determination module 1710, a second determination module 1720, and an adjustment module 1730. The first determination module 1710 is used to determine the battery quantity information corresponding to each battery grade in the set of batteries to be allocated; the set of batteries to be allocated includes multiple batteries belonging to at least one battery grade. The second determination module 1720 is used to determine the number of first spare stations according to the target battery quantity information corresponding to the target battery grade. The number of first spare stations is the number of spare stations that need to be opened corresponding to the target battery grade, and the target battery grade is any battery grade. The adjustment module 1730 is used to adjust the spare stations corresponding to the target battery grade according to the number of first spare stations.

[0235] In one embodiment, the station allocation device 1700 further includes a judgment module, and the adjustment module 1730 further includes a first comparison unit and an activation unit. The judgment module is used to judge whether there are still idle spare stations in the battery sorting system before adjusting the spare stations corresponding to the target battery grade according to the number of first spare stations. The first comparison unit is used to compare the number of second spare stations with the number of first spare stations if there are idle spare stations in the battery sorting system. The number of second spare stations is the number of opened spare stations corresponding to the target battery grade. The activation unit is used to control at least one idle spare station to be activated as the spare station corresponding to the target battery grade if the number of second spare stations is less than the number of first spare stations.

[0236] In one embodiment, there are N idle spare stations, and the activation unit is further used to control the first X idle spare stations among the N idle spare stations to be activated in the order from high to low of the station priorities of the N idle spare stations; where N and X are both positive integers, and N≥X≥1. The station priority of the idle spare station is determined according to the distance of the common path between the idle spare station and the main station corresponding to the target battery grade. The higher the station priority of the idle spare station, the shorter the distance of the common path.

[0237] In one embodiment, the battery quantity information corresponding to each battery grade includes the number of batteries belonging to each battery grade in the set of batteries to be allocated. The station allocation device 1700 further includes a sorting module. Among them, the sorting module is used to sequentially take each battery grade as the target battery grade in the order of the number of batteries corresponding to each battery grade from more to less, and execute the steps of determining whether there is still an idle spare station in the battery sorting system, and if there is an idle spare station in the battery sorting system, comparing the number of second spare stations with the number of first spare stations.

[0238] In one embodiment, the adjustment module further includes a second comparison unit and a shutdown unit. Among them, the second comparison unit is used to compare the number of second spare stations with the number of first spare stations when a preset shutdown condition is met. The shutdown unit is used to control the shutdown of at least one spare station corresponding to the target battery grade if the number of second spare stations is greater than the number of first spare stations.

[0239] In one embodiment, there are Y opened spare stations corresponding to the target battery grade, and the shutdown unit is further used to control the shutdown of the first Z spare stations among the Y opened spare stations corresponding to the target battery grade in the order of the station priorities of the Y opened spare stations corresponding to the target battery grade from low to high; where Y and Z are both positive integers, and Y≥Z≥1, and the station priority of the spare station is determined according to the distance of the common path between the spare station and the main station corresponding to the target battery grade. The higher the station priority of the spare station, the shorter the distance of the common path.

[0240] In one embodiment, the shutdown unit includes a first determination subunit, a second determination subunit, and a shutdown subunit. Among them, the first determination subunit is used to sequentially determine whether the current spare station corresponds to the target battery grade in the order of the station priorities of each spare station from low to high. The second determination subunit is used to determine whether the number of grouped batteries of the current spare station is equal to zero or equal to a preset full-disk quantity if the current spare station corresponds to the target battery grade. The shutdown subunit is used to control the shutdown of the current spare station if the number of grouped batteries of the current spare station is equal to zero or equal to a preset full-disk quantity, and update the number of second spare stations until it is determined that the updated number of second spare stations is equal to the number of first spare stations.

[0241] In one embodiment, the target battery quantity information includes the target battery quantity and / or the target battery ratio. The target battery quantity is the quantity of batteries belonging to the target battery grade in the set of batteries to be allocated, and the target battery ratio is the ratio of the target battery quantity to the total battery quantity corresponding to the set of batteries to be allocated. The second determination module 1720 is further configured to determine the number of first standby workstations according to the target battery quantity and / or the target battery ratio.

[0242] In one embodiment, the target battery quantity information includes the target battery quantity. The second determination module 1720 includes a third determination unit and a fourth determination unit. Alternatively, the target battery quantity information includes the target battery ratio, and the second determination module 1720 includes a fifth determination unit and a sixth determination unit. Among them, the third determination unit is configured to determine the target quantity range to which the target battery quantity belongs. The fourth determination unit is configured to determine the number of standby workstations corresponding to the target quantity range as the number of first standby workstations. The fifth determination unit is configured to determine the target ratio range to which the target battery ratio belongs. The sixth determination unit is configured to determine the number of standby workstations corresponding to the target ratio range as the number of first standby workstations.

[0243] In one embodiment, the target battery quantity information includes the target battery quantity and the target battery ratio. The second determination module 1720 includes a seventh determination unit and an eighth determination unit. The seventh determination unit is configured to determine the target quantity range to which the target battery quantity belongs and the target ratio range to which the target battery ratio belongs. The target quantity range to which the target battery quantity belongs corresponds to the number of third standby workstations, and the target ratio range to which the target battery ratio belongs corresponds to the number of fourth standby workstations. The eighth determination unit is configured to determine the smaller of the number of third standby workstations and the number of fourth standby workstations as the number of first standby workstations.

[0244] Please refer to Figure 18 which shows a schematic structural diagram of an electronic device disclosed in an embodiment of the present application. As Figure 18 shown, the electronic device 1800 may include:

[0245] A memory 1810 storing executable program code;

[0246] A processor 1820 coupled to the memory 1810;

[0247] Among them, the processor 1820 calls the executable program code stored in the memory 1810 and executes any one of the workstation allocation methods disclosed in the embodiments of the present application.

[0248] An embodiment of the present application discloses a computer-readable storage medium storing a computer program. When the computer program is executed by the processor, the processor implements any one of the workstation allocation methods disclosed in the embodiments of the present application.

[0249] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the appearances of "in one embodiment" or "in an embodiment" throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. Those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to the present application.

[0250] In various embodiments of the present application, it should be understood that the magnitudes of the serial numbers of the above processes do not necessarily mean the inevitable sequence of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

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

[0252] In addition, in each embodiment of the present application, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0253] If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions for causing a computer device (which can be a personal computer, a server or a network device, etc., specifically, the processor in the computer device) to execute some or all of the steps of the above methods in each embodiment of the present application.

[0254] Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and this program can be stored in a computer-readable storage medium. The storage medium includes read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc memories, magnetic disc memories, tape memories, or any other computer-readable medium that can be used to carry or store data.

[0255] The above has introduced in detail a station allocation method, device, electronic device, and storage medium disclosed in the embodiments of the present application. Specific examples are used herein to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. At the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A station allocation method, characterized in that, it is applied to a control device of a battery sorting system, and the battery sorting system further includes at least one spare station and at least one main station. The method includes: Determining the battery quantity information corresponding to each battery grade in the set of batteries to be allocated; the set of batteries to be allocated includes multiple batteries belonging to at least one battery grade; Determining the number of first spare stations according to the target battery quantity information corresponding to the target battery grade, where the number of first spare stations is the number of spare stations to be activated corresponding to the target battery grade, and the target battery grade is any one of the battery grades; Adjusting the spare stations corresponding to the target battery grade according to the number of first spare stations.

2. The station allocation method according to claim 1, characterized in that, Before adjusting the spare stations corresponding to the target battery grade according to the number of first spare stations, the method further includes: Judging whether there are any idle spare stations in the battery sorting system that are in an idle state; The adjusting the spare stations corresponding to the target battery grade according to the number of first spare stations includes: If there are idle spare stations in the battery sorting system that are in an idle state, comparing the number of second spare stations with the number of first spare stations, where the number of second spare stations is the number of activated spare stations corresponding to the target battery grade; If the number of second spare stations is less than the number of first spare stations, controlling at least one of the idle spare stations to be activated as the spare station corresponding to the target battery grade.

3. The station allocation method according to claim 2, characterized in that, There are N idle spare stations, and the controlling at least one of the idle spare stations to be activated as the spare station corresponding to the target battery grade includes: Controlling the first X idle spare stations among the N idle spare stations to be activated in descending order of the station priority of the N idle spare stations; where N and X are both positive integers, and N≥X≥1, and the station priority of the idle spare station is determined according to the distance of the common path between the idle spare station and the main station corresponding to the target battery grade, and the higher the station priority of the idle spare station, the shorter the distance of the common path.

4. The station allocation method according to claim 2, characterized in that, The battery quantity information corresponding to each battery grade includes the number of batteries belonging to each battery grade in the set of batteries to be allocated; the method further includes: Sequentially taking each battery grade as the target battery grade in descending order of the number of batteries corresponding to each battery grade, and performing the steps of judging whether there are any idle spare stations in the battery sorting system that are in an idle state, and if there are idle spare stations in the battery sorting system that are in an idle state, comparing the number of second spare stations with the number of first spare stations.

5. The station allocation method according to any one of claims 1 to 4, characterized in that, Adjusting the spare workstations corresponding to the target battery grade according to the number of the first spare workstations includes: Comparing the number of the second spare workstations with the number of the first spare workstations when a preset shutdown condition is satisfied; If the number of the second spare workstations is greater than the number of the first spare workstations, controlling to shut down at least one spare workstation corresponding to the target battery grade.

6. The workstation allocation method according to claim 5, wherein, There are Y opened spare workstations corresponding to the target battery grade, and the controlling to shut down at least one spare workstation corresponding to the target battery grade includes: Controlling the first Z spare workstations among the Y opened spare workstations corresponding to the target battery grade to be shut down in ascending order of the workstation priorities corresponding to the Y opened spare workstations corresponding to the target battery grade; wherein, both Y and Z are positive integers, and Y≥Z≥1, and the workstation priority of the spare workstation is determined according to the distance of the common path between the spare workstation and the main workstation corresponding to the target battery grade. The shorter the distance of the common path, the higher the workstation priority of the spare workstation.

7. The workstation allocation method according to claim 6, wherein, The controlling the first Z spare workstations among the Y opened spare workstations corresponding to the target battery grade to be shut down in ascending order of the workstation priorities corresponding to the Y opened spare workstations corresponding to the target battery grade includes: Sequentially determining whether the current spare workstation corresponds to the target battery grade in ascending order of the workstation priority corresponding to each spare workstation; If the current spare workstation corresponds to the target battery grade, determining whether the number of grouped batteries of the current spare workstation is equal to zero or equal to a preset full-disk quantity; If the number of grouped batteries of the current spare workstation is equal to zero or equal to a preset full-disk quantity, controlling the current spare workstation to be shut down and updating the number of the second spare workstations until it is determined that the updated number of the second spare workstations is equal to the number of the first spare workstations.

8. The workstation allocation method according to claim 1, wherein, The target battery quantity information includes the target battery quantity and / or the target battery ratio. The target battery quantity is the battery quantity corresponding to the batteries belonging to the target battery grade in the battery set to be allocated, and the target battery ratio is the ratio of the target battery quantity to the total battery quantity corresponding to the battery set to be allocated; The determining the number of the first spare workstations according to the target battery quantity information corresponding to the target battery grade includes: Determining the number of the first spare workstations according to the target battery quantity and / or the target battery ratio.

9. The workstation allocation method according to claim 8, wherein, The target battery quantity information includes the target battery quantity; The determining the number of the first spare workstations according to the target battery quantity information corresponding to the target battery grade includes: Determining the target quantity interval to which the target battery quantity belongs; Determine the number of spare workstations corresponding to the target quantity range as the first number of spare workstations; Or, The target battery quantity information includes the target battery ratio; The determining the first number of spare workstations according to the target battery quantity information corresponding to the target battery grade includes: Determine the target ratio range to which the target battery ratio belongs; Determine the number of spare workstations corresponding to the target ratio range as the first number of spare workstations.

10. The workstation allocation method according to claim 8, characterized in that The target battery quantity information includes the target battery quantity and the target battery ratio; The determining the first number of spare workstations according to the target battery quantity information corresponding to the target battery grade includes: Determine the target quantity range to which the target battery quantity belongs and the target ratio range to which the target battery ratio belongs; the target quantity range corresponds to the third number of spare workstations, and the target ratio range corresponds to the fourth number of spare workstations; Determine the smaller of the third number of spare workstations and the fourth number of spare workstations as the first number of spare workstations.

11. A workstation allocation device, characterized in that It is applied to the control device of the battery sorting system, and the battery sorting system further includes at least one spare workstation and at least one main workstation. The device includes: A first determination module, configured to determine the battery quantity information corresponding to each battery grade in the battery set to be allocated; the battery set to be allocated includes multiple batteries belonging to at least one battery grade; A second determination module, configured to determine the first number of spare workstations according to the target battery quantity information corresponding to the target battery grade, where the first number of spare workstations is the number of spare workstations that need to be turned on corresponding to the target battery grade, and the target battery grade is any one of the battery grades; An adjustment module, configured to adjust the spare workstations corresponding to the target battery grade according to the first number of spare workstations.

12. An electronic device, characterized in that It includes a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the processor implements the method according to any one of claims 1 to 10.

13. A computer-readable storage medium, on which a computer program is stored, characterized in that When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 10.