Battery sorting method and device, electronic equipment and storage medium
By determining the battery quantity information and target allocation strategy of the battery level, dynamically allocating the battery to the station, solving the problem of inefficient battery sorting in the prior art, and achieving more reasonable and efficient battery sorting.
Patent Information
- Application Number
- CN202311635582.6
- 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
The existing automatic battery sorting technology has the problem of inefficiency, especially when the number of battery grades is uneven, which leads to uneven working saturation of the station and affects the sorting efficiency.
By determining the battery quantity information of each battery level in the set of batteries to be allocated, and determining the target battery distribution strategy based on the battery quantity information of the first battery level and the backup station information, dynamically allocating the battery to the main station and the backup station.
Improve battery sorting efficiency, ensure the rationality of battery grade distribution, and reduce manual intervention and error.
Smart Images

Figure CN120054891A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of batteries, and particularly to a battery sorting method, device, electronic device, and storage medium. Background Art
[0002] Generally, 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, achieve battery matching, and use the batteries more reasonably.
[0003] In the related art, after determining the test data of the battery, automatic sorting is generally achieved through sorting equipment. Automatic sorting by machines can reduce the labor intensity of workers and eliminate human errors. However, there is still room for further optimization in the current automatic sorting by machines. Summary of the Invention
[0004] Embodiments of the present application disclose a battery sorting method, device, electronic device, and storage medium, which can determine a target battery allocation strategy for a reasonable first battery grade, guide the allocation of batteries belonging to the first battery grade, and improve the battery sorting efficiency.
[0005] Embodiments of the present application disclose a battery sorting method, which is applied to a control device of a battery sorting system. The battery sorting system further includes at least one spare station and at least one main station;
[0006] The method includes:
[0007] 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;
[0008] Determine the spare station information corresponding to the first battery grade; the first battery grade is any one of the battery grades;
[0009] According to the first battery quantity information corresponding to the first battery grade and the spare station information corresponding to the first battery grade, determine a target battery allocation strategy corresponding to the first battery grade; the target battery allocation strategy is used to indicate allocating the batteries belonging to the first battery grade to the main station and / or spare station corresponding to the first battery grade.
[0010] As an optional implementation manner, the spare station information includes the number of first spare stations that have been opened corresponding to the first battery grade; the first battery quantity information includes a first battery ratio, and the first battery ratio is the ratio of the first battery quantity corresponding to the batteries belonging to the first battery grade in the set of batteries to be allocated to the total battery quantity corresponding to the set of batteries to be allocated;
[0011] Determining a target battery allocation strategy corresponding to the first battery level according to the first battery quantity information corresponding to the first battery level and the spare station information corresponding to the first battery level, includes:
[0012] Determining the target battery allocation strategy according to the first battery ratio and the first spare station quantity.
[0013] As an optional implementation manner, the first battery quantity information further includes the first battery quantity;
[0014] Before determining the target battery allocation strategy according to the first battery ratio and the first spare station quantity, the method further includes:
[0015] Determining whether the first battery quantity is greater than a preset quantity threshold, where the preset quantity threshold is used to indicate the maximum group disk battery quantity corresponding to the maximum number of spare stations that can be opened corresponding to the first battery level;
[0016] In the case where the first battery quantity is greater than the preset quantity threshold, performing the step of determining the target battery allocation strategy according to the first battery ratio and the first spare station quantity.
[0017] As an optional implementation manner, determining the target battery allocation strategy according to the first battery ratio and the first spare station quantity, includes:
[0018] Determining whether the first battery ratio is greater than a target ratio threshold;
[0019] In the case where it is determined that the first battery ratio is greater than the target ratio threshold, determining the target battery allocation strategy as a first battery allocation strategy, where the first battery allocation strategy is used to indicate that the batteries belonging to the first battery level are evenly allocated to the main station and the spare stations corresponding to the first battery level;
[0020] In the case where it is determined that the first battery ratio is less than or equal to the target ratio threshold, determining the target battery allocation strategy according to the first target ratio interval to which the first battery ratio belongs and the first spare station quantity.
[0021] As an optional implementation manner, determining the target battery allocation strategy according to the first target ratio interval to which the first battery ratio belongs and the first spare station quantity, includes:
[0022] Determining whether the first spare station quantity is greater than the required spare station quantity threshold corresponding to the first target ratio interval;
[0023] If the number of the first spare workstations is greater than the spare workstation quantity threshold, determine that the target battery allocation strategy is the second battery allocation strategy, where the second battery allocation strategy is used to indicate that batteries belonging to the first battery grade are preferentially allocated to at least one target spare workstation, and then the remaining batteries belonging to the first battery grade are evenly allocated to other spare workstations and the main workstation corresponding to the first battery grade; the target spare workstation belongs to the spare workstations corresponding to the first battery grade, and the other spare workstations are the spare workstations corresponding to the first battery grade except the target spare workstation.
[0024] If the number of the first spare workstations is less than or equal to the spare workstation quantity threshold, determine that the target battery allocation strategy is the first battery allocation strategy.
[0025] As an alternative implementation, the method further includes:
[0026] In the case where the number of the first batteries is less than or equal to the preset quantity threshold, determine that the target battery allocation strategy is the second battery allocation strategy, where the second battery allocation strategy is used to indicate that batteries belonging to the first battery grade are preferentially allocated to at least one target spare workstation, and then the remaining batteries belonging to the first battery grade are evenly allocated to other spare workstations and the main workstation corresponding to the first battery grade; the target spare workstation belongs to the spare workstations corresponding to the first battery grade, and the other spare workstations are the spare workstations corresponding to the first battery grade except the target spare workstation.
[0027] As an alternative implementation, the at least one target spare workstation is the first M spare workstations arranged in ascending order of workstation priority among the spare workstations corresponding to the first battery grade; where M is a positive integer and less than or equal to the number of the first spare workstations, and the workstation priority is determined according to the distance of the common path between the spare workstation and the main workstation corresponding to the first battery grade, and the lower the workstation priority, the longer the distance of the common path.
[0028] As an alternative implementation, the method further includes:
[0029] Determine the number of second spare workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade, where the second battery grade is any one of the battery grades;
[0030] Adjust the spare workstations corresponding to the second battery grade according to the number of the second spare workstations.
[0031] As an alternative implementation, before adjusting the standby workstations corresponding to the second battery grade according to the number of the second standby workstations, the method further includes:
[0032] Determine whether there are any idle standby workstations in the battery sorting system that are in an idle state;
[0033] The adjustment of the standby workstations corresponding to the second battery grade according to the number of the second standby workstations includes:
[0034] If there are idle standby workstations in the battery sorting system that are in an idle state, compare the number of the third standby workstations that have been activated corresponding to the second battery grade with the number of the second standby workstations;
[0035] If the number of the third standby workstations is less than the number of the second standby workstations, control to activate at least one of the idle standby workstations as the standby workstations corresponding to the second battery grade.
[0036] 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:
[0037] In the order of the number of batteries corresponding to each battery grade from more to less, sequentially use each battery grade as the second battery grade, and execute the steps of determining whether there are any idle standby workstations in the battery sorting system that are in an idle state, and if there are idle standby workstations in the battery sorting system that are in an idle state, comparing the number of the third standby workstations that have been activated corresponding to the second battery grade with the number of the second standby workstations.
[0038] As an alternative implementation, the adjustment of the standby workstations corresponding to the second battery grade according to the number of the second standby workstations includes:
[0039] When a preset shutdown condition is met, compare the number of the third standby workstations that have been activated corresponding to the second battery grade with the number of the second standby workstations;
[0040] If the number of the third standby workstations is greater than the number of the second standby workstations, control to shut down at least one of the standby workstations corresponding to the second battery grade.
[0041] As an alternative implementation, the second battery quantity information includes the second battery quantity and / or the second battery ratio. The second battery quantity is the quantity of batteries belonging to the second battery grade in the set of batteries to be allocated, and the second battery ratio is the ratio of the second battery quantity to the total battery quantity corresponding to the set of batteries to be allocated.
[0042] Determining the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade includes:
[0043] Determining the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity and / or the second battery ratio.
[0044] As an alternative implementation, the second battery quantity information includes the second battery quantity;
[0045] Determining the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade includes:
[0046] Determining the target quantity range to which the second battery quantity belongs;
[0047] Determining the number of standby workstations corresponding to the target quantity range as the number of second standby workstations;
[0048] Or,
[0049] The second battery quantity information includes the second battery ratio;
[0050] Determining the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade includes:
[0051] Determining the second target ratio range to which the second battery ratio belongs;
[0052] Determining the number of standby workstations corresponding to the second target ratio range as the number of second standby workstations.
[0053] As an alternative implementation, the second battery quantity information includes the second battery quantity and the second battery ratio;
[0054] Determining the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade includes:
[0055] Determine the target quantity range to which the quantity of the second battery belongs and the second target proportion range to which the proportion of the second battery belongs; the target quantity range corresponds to the quantity of the fourth spare workstations, and the second target proportion range corresponds to the quantity of the fifth spare workstations;
[0056] Determine the smaller value between the quantity of the fourth spare workstations and the quantity of the fifth spare workstations as the quantity of the second spare workstations.
[0057] As an alternative implementation, the battery sorting system further includes a plurality of carriers corresponding one-to-one to a plurality of batteries in the battery set to be allocated, and the carriers are used to carry the batteries; the method further includes:
[0058] Obtain the carrier identification information corresponding to each of the plurality of carriers;
[0059] According to the plurality of carrier identification information, obtain from the database a plurality of battery binding information corresponding one-to-one to the plurality of carrier identification information, and the battery binding information is used to indicate the battery grade of the battery carried by the corresponding carrier;
[0060] The determination of the quantity information of the batteries corresponding to each battery grade in the battery set to be allocated includes:
[0061] According to the plurality of battery binding information, determine the quantity information of the batteries corresponding to each battery grade.
[0062] As an alternative implementation, before determining the quantity information of the batteries corresponding to each battery grade according to the plurality of battery binding information, the method further includes:
[0063] Determine whether each of the carrier identification information meets a preset qualified condition;
[0064] When all of the plurality of carrier identification information meets the preset qualified condition, execute the step of determining the quantity information of the batteries corresponding to each battery grade according to the plurality of battery binding information.
[0065] An embodiment of the present application discloses a battery sorting device, which is applied to a control device of a battery sorting system, and the battery sorting system further includes at least one spare workstation and at least one main workstation;
[0066] The device includes:
[0067] A first determination module, configured to determine, in the battery set to be allocated, the quantity information of the first batteries corresponding to the first battery grade; the battery set to be allocated includes a plurality of batteries belonging to at least one battery grade; the first battery grade is any one of the battery grades;
[0068] A second determination module, configured to determine spare station information corresponding to the first battery grade;
[0069] A third determination module, configured to determine a target battery allocation strategy corresponding to the first battery grade according to the first battery quantity information corresponding to the first battery grade and the spare station information corresponding to the first battery grade; the target battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are allocated to the main station and / or the spare station corresponding to the first battery grade.
[0070] 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 battery sorting method disclosed in the embodiments of the present application.
[0071] An embodiment of the present application discloses a computer-readable storage medium, on which a computer program is stored. The computer program is used to execute any battery sorting method disclosed in the embodiments of the present application by a processor.
[0072] Compared with the related art, the embodiments of the present application have the following beneficial effects:
[0073] The embodiments of the present application provide a battery sorting method, device, electronic device and storage medium. The battery sorting method determines the battery quantity information corresponding to each battery grade in the set of batteries to be allocated, and determines the spare station information corresponding to the first battery grade. According to the first battery quantity information corresponding to the first battery grade and the spare station information corresponding to the first battery grade, a target battery allocation strategy corresponding to the first battery grade is determined. The target battery allocation strategy is used to indicate that the batteries of the first battery grade are allocated to the main station and / or the spare station corresponding to the first battery grade. In the embodiments of the present application, considering the battery quantity information corresponding to each battery grade and the corresponding spare station information, a target battery allocation strategy corresponding to each battery grade is determined, so that the dynamic allocation of the stations of each battery can be realized. The target battery allocation strategy determined by this method is highly reasonable, provides effective guidance for the allocation of batteries, and improves the battery sorting efficiency. Description of the Drawings
[0074] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained according to these drawings.
[0075] Figure 1 It is a structural schematic diagram of a sorting component and a conveying component disclosed in an embodiment of the present application;
[0076] Figure 2 It is a schematic structural diagram of a battery sorting system disclosed in an embodiment of the present application;
[0077] Figure 3 It is a schematic flowchart of a battery sorting method disclosed in an embodiment of the present application;
[0078] Figure 4 It is a schematic flowchart of another battery sorting method disclosed in an embodiment of the present application;
[0079] Figure 5 It is a schematic flowchart of a strategy determination method disclosed in an embodiment of the present application;
[0080] Figure 6 It is a schematic flowchart of another strategy determination method disclosed in an embodiment of the present application;
[0081] Figure 7 It is a schematic flowchart of yet another battery sorting method disclosed in an embodiment of the present application;
[0082] Figure 8 It is a schematic flowchart of a station allocation method disclosed in an embodiment of the present application;
[0083] Figure 9 It is a schematic flowchart of another station allocation method disclosed in an embodiment of the present application;
[0084] Figure 10 It is a schematic flowchart of a station opening method disclosed in an embodiment of the present application;
[0085] Figure 11 It is one of the schematic flowcharts of a method for determining the number of second standby stations disclosed in an embodiment of the present application;
[0086] Figure 12 It is two of the schematic flowcharts of a method for determining the number of second standby stations disclosed in an embodiment of the present application;
[0087] Figure 13 It is three of the schematic flowcharts of a method for determining the number of second standby stations disclosed in an embodiment of the present application;
[0088] Figure 14 It is four of the schematic flowcharts of a method for determining the number of second standby stations disclosed in an embodiment of the present application;
[0089] Figure 15 It is five of the schematic flowcharts of a method for determining the number of second standby stations disclosed in an embodiment of the present application;
[0090] Figure 16It is a schematic flowchart of another station allocation method disclosed in the embodiments of the present application;
[0091] Figure 17 It is a schematic flowchart of yet another battery method disclosed in the embodiments of the present application;
[0092] Figure 18 It is a schematic flowchart of a battery allocation verification method disclosed in the embodiments of the present application;
[0093] Figure 19 It is a schematic structural diagram of a battery sorting device disclosed in the embodiments of the present application;
[0094] Figure 20 It is a schematic structural diagram of an electronic device disclosed in the embodiments of the present application. Detailed implementation manners
[0095] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with 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. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0096] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof 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 may optionally further include steps or units not listed, or may optionally further include other steps or units inherent to these processes, methods, products, or devices.
[0097] Please refer to Figure 1 , which shows a schematic structural diagram of a sorting component and a conveying component provided by the embodiments of the present application. As shown in Figure 1 , 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 manipulator 122. The manipulator 122 may be fixed on the turntable 121. The turntable 121 can rotate around its rotation axis. The manipulator 122 moves 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.
[0098] Exemplarily, please refer to Figure 2 , which shows a battery sorting system provided by the embodiments of the present application. As shown in Figure 2 , the battery sorting system may include a sorting control device ( Figure 2(not shown in the figure), a first conveying assembly 210, a first sorting assembly 220, a plurality of second conveying assemblies 230, a plurality of second sorting assemblies 240 corresponding to the plurality of second conveying assemblies 230 one by one, a plurality of third conveying assemblies 250 corresponding to the plurality of second sorting assemblies 240 one by one, a third sorting assembly 260 corresponding to the plurality of third conveying assemblies 250 one by one, a plurality of fourth conveying assemblies 270 corresponding to the plurality of third sorting assemblies 260 respectively, and a plurality of workstations 280 corresponding to the plurality of fourth conveying assemblies 270 one by one.
[0099] 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 trays. 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 into trays, that is, to place the batteries 130 of the same battery grade on the same tray to achieve grouping of the batteries 130 of the same 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 may include the first sorting component 220, the second sorting component 240, and the third sorting component 260. Optionally, the sorting control device may include a PLC (Programmable Logic Controller). Optionally, each conveying component may include a flexible pulling belt. 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 may 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.
[0100] In the related art, the sorting process of the battery automated production line has evolved from manual sorting to automatic sorting by industrial robots. Currently, the existing automatic sorter can only issue sorting instructions one by one according to battery grade 1. The manipulator places the batteries on the conveying components or turntables corresponding to the battery grades, and then performs the operation of assembling the trays. This can reduce human intervention and the probability of errors. Among them, the batteries belonging to different battery grades have different masses. However, since the number of batteries of each battery grade in the battery pack is not equal, directly issuing sorting instructions one by one according to battery grade 1 will result in an overly saturated workload at some workstations, while some workstations will be in an unsaturated state for a long time, and the efficiency of automatic sorting by machines is still very low.
[0101] The embodiments of the present application disclose a battery sorting method, device, electronic device, and storage medium, which can determine a reasonable target battery allocation strategy for the first battery grade to guide the allocation of batteries belonging to the first battery grade, so as to improve the battery sorting efficiency.
[0102] Please refer to Figure 3 , which shows a schematic flowchart of a battery sorting method provided by an embodiment of the present application. In this embodiment, it is mainly exemplified that the method is applied to the control device of the battery sorting system. The control device can be a sorting control device or a host computer of the battery sorting system. This embodiment does not make specific limitations in this regard. As Figure 3 shown, the battery sorting method may include steps 301 to 303.
[0103] Step 301, determine the battery quantity information corresponding to each battery grade in the set of batteries to be allocated.
[0104] Among them, the set of batteries to be allocated includes multiple batteries belonging to at least one battery grade. 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 assemble the trays for the batteries. The battery grade corresponding to the main workstation is generally fixed, that is, the main workstation is only used to assemble the trays for 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.
[0105] It should be noted that the set of batteries to be allocated is a set formed by multiple batteries that need to be grouped. These multiple batteries have not been allocated corresponding workstations, and 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 to 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, and the battery characteristics can include voltage, internal resistance, etc. Therefore, after determining the battery grade of each battery, the control device can determine the battery quantity information corresponding to each battery grade in the set of batteries to be allocated. Exemplarily, the database stores battery grades corresponding one by one to the batteries in the set of batteries to be allocated. The control device can determine the battery quantity information corresponding to each battery grade based on these multiple battery grades.
[0106] Optionally, the database can store the battery grades of multiple batteries in the set of batteries to be allocated. 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 first conveying component 210 as shown in Figure 2 shown.
[0107] Optionally, the battery quantity information includes the first battery quantity information corresponding to the first battery grade. The control device can determine the first battery quantity information corresponding to the first battery grade in the set of batteries to be allocated. The first battery quantity information can include the first battery ratio and the first battery quantity. Among them, the first battery quantity is the quantity corresponding to the batteries belonging to the first battery grade in the set of batteries to be allocated. The first battery ratio is the ratio of the first battery quantity to the total battery quantity corresponding to the set of batteries to be allocated.
[0108] Step 302, determine the spare workstation information corresponding to the first battery grade.
[0109] It should be noted that the spare station information corresponding to the first battery grade is the information of the spare stations corresponding to the first battery grade. The control device can determine the battery grades corresponding to the respective spare stations in the battery sorting system, and determine the spare station information corresponding to the first battery grade according to the battery grades corresponding to the respective spare stations. The spare station information corresponding to the first battery grade may include the number of first spare stations, and the number of first spare stations is the number of opened spare stations corresponding to the first battery grade. The opened spare stations corresponding to the first battery grade can be understood as the spare stations in the battery sorting system for grouping the batteries belonging to the first battery grade. That is, under the control of the sorting control device, the sorting component will only allocate the batteries belonging to the first battery grade to the fourth conveying component corresponding to this spare station. The number of first spare stations can then be understood as the total number of spare stations in the battery sorting system for grouping the batteries belonging to the first battery grade.
[0110] Optionally, the control device may store the station grade information corresponding one-to-one with multiple stations. The station grade information corresponding to a station may include the station status and gear information of this station. Among them, the station status may include a fault status, an open status, and an idle status. The fault status is used to indicate that the corresponding station has a fault. The open status is used to indicate that the corresponding station is used to group the 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 the 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 open status. The control device can count the spare station information corresponding to the first battery grade according to the station grade information of each station.
[0111] Step 303: Determine the target battery allocation strategy corresponding to the first battery grade according to the first battery quantity information corresponding to the first battery grade and the spare station information corresponding to the first battery grade.
[0112] Among them, the target battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are allocated to the main station and / or spare stations corresponding to the first battery grade. It should be noted that in a batch of battery packs, the number of batteries corresponding to a battery grade generally follows a normal distribution, that is, most batteries belong to the same battery grade. In this embodiment, the control device determines the first battery quantity information and the spare station information corresponding to the first battery grade to determine the saturation degree of the main station and spare stations corresponding to the first battery grade relative to the number of batteries belonging to the first battery grade, so as to determine the target battery allocation strategy corresponding to the first battery grade, making the determined target battery allocation strategy corresponding to the first battery grade more reasonable. Based on this target battery allocation strategy, the allocation of the batteries belonging to the first battery grade can improve the sorting efficiency of the battery sorting system.
[0113] In one embodiment, the battery sorting method may further include: the control device allocates the batteries belonging to the first battery grade to the main working station and / or the standby working station corresponding to the first battery grade based on the target battery allocation strategy. Optionally, the control device allocating the batteries belonging to the first battery grade to the main working station and / or the standby working station corresponding to the first battery grade based on the target battery allocation strategy may include: the control device allocates the batteries belonging to the first battery grade to the main working station and / or the standby working station corresponding to the first battery grade based on the target battery allocation strategy, the remainder of the main working station corresponding to the first battery grade, and the remainder of the standby working station corresponding to the first battery grade. It should be noted that the remainder of the working station refers to the number of batteries short of filling the current tray of the working station. Each working station can place a tray for carrying multiple batteries, and when the tray is full, the tray can be sent out. In this embodiment, the control device allocates the batteries belonging to the first battery grade between the main working station and / or the standby working station corresponding to the first battery grade according to the target battery allocation strategy, the remainder of the main working station corresponding to the first battery grade, and the corresponding remainder of the standby working station, which can avoid the number of batteries allocated to the main working station and / or the standby working station corresponding to the first battery grade being greater than the number that the current tray of the main working station and / or the standby working station can carry, that is, avoid the phenomenon that the batteries allocated to the working station cannot be placed in the current tray of the working station, and improve the reliability of battery sorting.
[0114] Optionally, after the control device allocates the batteries belonging to the first battery grade to the main working station and / or the standby working station corresponding to the first battery grade based on the target battery allocation strategy, the remainder of the main working station corresponding to the first working station, and the remainder of the standby working station, the battery sorting method further includes: the control device updates the working station binding information stored in the database. It should be noted that the working station binding information is used to indicate the corresponding relationship between the battery and the working station, and the control device can determine the remainder of each working station according to multiple pieces of working station binding information. Exemplarily, the control device can determine the number of batteries bound to the working station through the working station binding information, that is, how many batteries are currently grouped in the working station, and the remainder of the working station can be determined according to the number of batteries that the working station can carry and the number of batteries bound. Exemplarily, the remainder of the working station is the difference between the number of batteries that the working station can carry corresponding to the working station and the number of batteries bound corresponding to the working station.
[0115] In one embodiment, the standby working station information may include the number of first standby working stations, and the battery quantity information may include the first battery ratio. Determining the target battery allocation strategy corresponding to the first battery grade according to the first battery quantity information corresponding to the first battery grade and the standby working station information corresponding to the first battery grade may include: the control device determines the target battery allocation strategy according to the first battery ratio and the number of first standby working stations.
[0116] It should be noted that the description of the first battery ratio and the number of first standby workstations can be referred to the above embodiments and will not be elaborated here. Since the first battery ratio and the number of first standby workstations may change at different times, the control device adjusts the target battery allocation strategy corresponding to the first battery level in real time according to the first battery ratio and the number of first standby workstations, improving the accuracy of the determined target battery allocation strategy. In the embodiments of the present application, the control device can determine the target battery allocation strategy corresponding to each battery level according to the battery quantity information and the corresponding standby workstation information corresponding to each battery level, so as to dynamically allocate the workstations of each battery. The target battery allocation strategy determined by this method is highly reasonable, provides effective guidance for the allocation of batteries, and improves the battery sorting efficiency.
[0117] Please refer to Figure 4 , which shows a schematic flowchart of another battery sorting method provided by the embodiments of the present application. As Figure 4 shown, this battery sorting method may include steps 401 to 406.
[0118] Step 401, determine the battery quantity information corresponding to each battery level in the set of batteries to be allocated.
[0119] Among them, the set of batteries to be allocated includes multiple batteries belonging to at least one battery level, and the battery quantity information includes the first battery quantity information, and the first battery quantity information includes the first battery quantity and the first battery ratio.
[0120] Step 402, determine the standby workstation information corresponding to the first battery level.
[0121] Among them, the first battery level is any battery level, and the standby workstation information corresponding to the first battery level may include the number of first standby workstations.
[0122] Step 403, determine whether the first battery quantity is greater than a preset quantity threshold. If so, execute step 404. If not, execute step 405.
[0123] 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 first battery grade. 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 presetly sets the maximum number of standby workstations that can be opened for each battery grade to be 3, that is, the maximum number of standby workstations that can be opened for the first battery grade is 3, then the preset quantity threshold can be set to be greater than 390, that is, 3*130. Optionally, the number of main workstations is 1, and the range of the preset quantity threshold can be greater than or equal to 520, that is, 1*130 + 3*130. Optionally, the preset quantity threshold can be 510, 520 or 530.
[0124] In one embodiment, before determining whether the first battery quantity is greater than the preset quantity threshold, the battery sorting method may further include: the control device determines whether the number of first standby workstations is greater than 0. If so, step 403 is executed. If not, the target battery allocation strategy is determined to be the third battery allocation strategy, and the third battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are allocated to the main workstation corresponding to the first battery grade. In this embodiment, the control device first determines whether there is a standby workstation corresponding to the first battery grade. In the case where there is no standby workstation corresponding to the first battery grade, it is directly determined that the batteries belonging to the first battery grade should be allocated to the main workstation of the first battery grade, which can reduce the calculation amount of the control device.
[0125] Step 404, determine the target battery allocation strategy according to the first battery ratio and the number of first standby workstations.
[0126] Step 405, determine that the target battery allocation strategy is the second battery allocation strategy.
[0127] Among them, the second battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are preferentially allocated to at least one target standby workstation, and then the remaining batteries belonging to the first battery grade are evenly distributed to other standby workstations and the main workstation corresponding to the first battery grade. It can be understood that in the case where the first battery quantity is less than or equal to the preset quantity threshold, it can be considered that the batteries belonging to the first battery grade in the battery set to be allocated cannot simultaneously fill the trays of three standby workstations and one main workstation. Therefore, in this case, it is indicated that the batteries belonging to the first battery grade are preferentially allocated to at least one target standby workstation to fill the target standby workstation first, so as to quickly fill the trays of the target standby workstation, complete the tray grouping task, and enable the target standby workstation to be quickly used to group the batteries of other battery grades, improving the battery sorting efficiency.
[0128] In one embodiment, at least one target spare station is among the spare stations corresponding to the first battery grade, and is the first M spare stations arranged in ascending order of station priority. Here, M is a positive integer and less than or equal to the number of first 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 first 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, it can be switched to assembling batteries of other battery grades. In this embodiment, by determining the spare stations with low station priority among the spare stations corresponding to the first battery grade as the target spare stations, the spare stations with a longer common path with the first battery grade can be closed first, reducing the working frequency of the same sorting component. Optionally, M is equal to the number of first spare stations.
[0129] The above embodiment describes that the target battery allocation strategy can be determined according to the first battery ratio and the number of first spare stations. The following embodiment will elaborate on how to determine the target battery allocation strategy according to the first battery ratio and the number of first spare stations.
[0130] Please refer to Figure 5 , which shows a schematic flowchart of a strategy determination method provided by an embodiment of the present application. As Figure 5 shown, to determine the target battery allocation strategy according to the first battery ratio and the number of first spare stations, it may include steps 501 to 503.
[0131] Step 501: Determine whether the first battery ratio is greater than the target ratio threshold. If so, execute step 502; if not, execute step 503.
[0132] Step 502: Determine that the target battery allocation strategy is the first battery allocation strategy.
[0133] Step 503: Determine the target battery allocation strategy according to the first target ratio interval to which the first battery ratio belongs and the number of first spare stations.
[0134] Among them, the first battery allocation strategy is used to indicate that the batteries belonging to the first battery level are evenly allocated to the main work station and the standby work station corresponding to the first battery level. It should be noted that the target ratio threshold is used to measure whether the number of batteries belonging to the first battery level in the battery set to be allocated is sufficient. When the first battery ratio is greater than the target ratio threshold, it can be considered that the number of batteries belonging to the first battery level is sufficient, that is, the batteries belonging to the first battery level can be used to simultaneously fill the trays of the standby work stations corresponding to the maximum number of standby work stations that can be opened corresponding to the first battery level and the main work station corresponding to the first battery level. When the first battery ratio is less than or equal to the target ratio threshold, it can be considered that the number of batteries of the first battery level is insufficient. When it is determined that the first battery ratio is greater than the target ratio threshold, the control device determines the first battery allocation strategy as the target battery allocation strategy for the target battery level, which can balance the work saturation of each work station corresponding to the first battery level and improve the battery sorting efficiency. Optionally, the target ratio threshold can be 80%.
[0135] When the first 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 first target ratio interval to which the first battery ratio belongs and the number of first standby work stations. It should be noted that the ratios included in the preset ratio interval are all less than the target ratio threshold. The control device can pre-store multiple preset ratio intervals, and each preset ratio interval corresponds to a different standby work station quantity threshold. The standby work station quantity threshold corresponding to the preset ratio interval can be used to measure whether the number of opened standby work stations corresponding to the battery level whose battery ratio belongs to this preset ratio interval is excessive. The control device can determine the first target ratio interval to which the first battery ratio belongs. Optionally, the preset interval can be determined according to the production capacity of each work station. The preset ratio interval can include (50%, 80%], (20%, 50%] and [0, 20%]. The standby work station quantity threshold corresponding to (50%, 80%] is 2, the standby work station quantity threshold corresponding to (20%, 50%] is 1, and the standby work station quantity threshold corresponding to [0, 20%] is 0.
[0136] Please refer to Figure 6 , which shows a schematic flowchart of another strategy allocation method provided by an embodiment of the present application. As Figure 6 shown, determining the target battery allocation strategy according to the first target ratio interval to which the first battery ratio belongs and the number of first standby work stations may include steps 601 to 603.
[0137] Step 601, determine whether the number of first standby work stations is greater than the required standby work station quantity threshold corresponding to the first target ratio interval. If so, execute step 602. If not, execute step 603.
[0138] Step 602, determine that the target battery allocation strategy is the second battery allocation strategy.
[0139] Step 603, determine that the target battery allocation strategy is the first battery allocation strategy.
[0140] It should be noted that for the descriptions of the first 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 first standby workstations is greater than the standby workstation quantity threshold corresponding to the first target ratio range, it can be considered that the number of activated standby workstations corresponding to the first battery grade is excessive. At this time, determine that the target battery allocation strategy is the second battery allocation strategy to preferentially fill the target standby workstations so that the target standby workstations can be used for assembling batteries of other battery grades as soon as possible. If the number of first standby workstations is less than or equal to the standby workstation quantity threshold corresponding to the first target ratio range, it can be considered that the batteries of the first battery grade can fill the activated standby workstations and the main workstations. At this time, the batteries belonging to the first battery grade can be evenly distributed to the main workstations and standby workstations corresponding to the first battery grade to reduce the work saturation of the workstations, or to avoid exceeding the production capacity of the workstations, thereby improving the battery sorting efficiency.
[0141] In the following embodiments, taking the battery sorting system including 4 standby workstations and main workstations corresponding to each battery grade as an example, the battery sorting method will be described.
[0142] Please refer to Figure 7 , which shows a schematic flowchart of another battery sorting method provided by the embodiments of the present application. As Figure 7 shown, the method may include Step 701 to Step 718.
[0143] Step 701, determine the workstation grade information of multiple standby workstations.
[0144] Optionally, the sorting control device stores the workstation grade information corresponding to multiple workstations. The control device can determine whether there are activated standby workstations in the sorting system according to the workstation status in the workstation grade information, and determine the standby workstation information corresponding to the first battery grade according to the gear information in the workstation grade information.
[0145] Step 702, determine whether there are activated standby workstations in the battery sorting system. If so, execute Step 703 and Step 704. If not, execute Step 704.
[0146] 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 grade can only be allocated to the main workstations corresponding to the corresponding battery grades. Therefore, it is not necessary to determine the battery quantity information corresponding to each battery grade, that is, Step 703 can be skipped.
[0147] Step 703: Determine the quantity information of batteries corresponding to each battery grade in the battery set to be allocated.
[0148] Step 704: Determine whether the number of first spare workstations is greater than 0. If not, execute Step 705; if so, execute Step 706.
[0149] Step 705: Determine that the target battery allocation strategy is the third battery allocation strategy.
[0150] Step 706: Determine whether the quantity of the first type of batteries is greater than the preset quantity threshold. If not, execute Step 707; if so, execute Step 708.
[0151] Step 707: Determine that the target battery allocation strategy is the second battery allocation strategy.
[0152] Step 708: Determine whether the proportion of the first type of batteries is greater than 80%. If so, execute Step 709; if not, execute Step 710.
[0153] Step 709: Determine that the target battery allocation strategy is the first battery allocation strategy.
[0154] Step 710: Determine whether the proportion of the first type of batteries is greater than 50%. If so, execute Step 711; if not, execute Step 714.
[0155] Step 711: Determine whether the number of first spare workstations is greater than 2. If so, execute Step 712; if not, execute Step 713.
[0156] Step 712: Determine that the target battery allocation strategy is the second battery allocation strategy.
[0157] Step 713: Determine that the target battery allocation strategy is the first battery allocation strategy.
[0158] Step 714: Determine whether the proportion of the first type of batteries is greater than 20%. If not, execute Step 715; if so, execute Step 716.
[0159] Step 715: Determine that the target battery allocation strategy is the second battery allocation strategy.
[0160] Step 716: Determine whether the number of first spare workstations is greater than 1. If not, execute Step 717; if so, execute Step 718.
[0161] Step 717: Determine that the target battery allocation strategy is the first battery allocation strategy.
[0162] Step 718: Determine that the target battery allocation strategy is the second battery allocation strategy.
[0163] It can be understood that for any battery grade, the corresponding target battery allocation strategy can be determined according to the above method. Based on the determined target allocation strategies corresponding to each battery grade, the batteries belonging to each battery grade are allocated, which greatly improves the battery sorting efficiency.
[0164] It should be noted that the above embodiments illustrate how the control device determines the target battery allocation strategies corresponding to each battery grade to improve the battery sorting efficiency. The following embodiments will introduce how the control device adjusts the standby workstations corresponding to each battery grade to further improve the battery sorting efficiency.
[0165] Please refer to Figure 8 , which shows a schematic flowchart of a workstation allocation method provided by an embodiment of the present application. As Figure 8 shown, the battery sorting method may further include steps 801 to 802.
[0166] Step 801: Determine the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade.
[0167] Wherein, the second battery grade is any battery grade, the second battery quantity information is the battery quantity information corresponding to the second battery grade, and the number of second standby workstations is the number of standby workstations to be activated corresponding to the second battery grade. Optionally, the second battery quantity information may include at least one of the second battery quantity and the second battery ratio. Wherein, the second battery quantity is the battery quantity corresponding to the batteries belonging to the second battery grade in the battery set to be allocated, and the second battery ratio is the ratio of the second battery quantity to the total battery quantity corresponding to the battery set to be allocated.
[0168] It should be noted that each workstation has a maximum production capacity. Wherein, the maximum production capacity of a workstation refers to the maximum number of batteries that can be grouped on the tray by the workstation per unit time. Exemplarily, each workstation has a manipulator and a tray. The tray can be used to carry a batteries, and the manipulator is used to pick up the batteries and place them on the tray until the tray carries a batteries, completing the grouping task. If the workstation is allocated more batteries than the maximum battery quantity per unit time, the workstation, such as the manipulator of the workstation, cannot place all the batteries on the tray within the unit time, resulting in the batteries piling up in front of the workstation and the battery sorting efficiency being low; if the number of batteries allocated to the workstation per unit time is too small, the workstation cannot complete the grouping task, that is, cannot fill a tray, reducing the battery sorting efficiency. The control device determines the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information, that is, the number of second standby workstations. That is, when the number of standby workstations for the second battery grade is the number of second standby workstations, the production capacity requirements of the main workstation and the standby workstations for the second battery grade can be met.
[0169] In one embodiment, the second battery quantity information may include the second battery quantity and / or the second battery ratio. According to the second battery quantity information corresponding to the second battery grade, determining the second standby station quantity of the standby stations that need to be activated corresponding to the second battery grade may include: the control device determines the second standby station quantity of the standby stations that need to be activated corresponding to the second battery grade according to the second battery quantity and / or the second battery ratio.
[0170] It should be noted that the second battery quantity and the second battery ratio can be used to characterize the quantity of batteries belonging to the second battery grade in the battery set to be allocated. The control device determines the second standby station quantity of the standby stations that need to be activated corresponding to the second battery grade according to the second battery quantity and / or the second battery ratio, which can effectively determine the second standby station quantity and lay a foundation for adjusting the standby stations corresponding to the second battery grade.
[0171] Step 802, adjust the standby stations corresponding to the second battery grade according to the second standby station quantity.
[0172] It should be noted that the standby stations corresponding to the second battery grade can be understood as the standby stations for grouping batteries belonging to the second battery grade. Since the quantity of batteries corresponding to each battery grade in the battery pack input to the battery sorting system may change, the control device adjusts the standby stations corresponding to the second battery grade according to the second standby station quantity, such as determining whether to allocate standby stations for the second battery grade or determining whether to close the standby stations corresponding to the second battery grade, so as to avoid the working frequency of the stations corresponding to the second battery grade being too high or too low, that is, to avoid the phenomenon that most batteries accumulate in front of the stations or the grouping is not full, thereby improving the battery sorting efficiency.
[0173] In this embodiment, the control device takes into account the battery quantity information corresponding to each battery grade, determines the quantity of standby stations that need to be activated corresponding to each battery grade, and adjusts the standby stations corresponding to each battery grade according to this quantity, so as to dynamically adjust the standby stations corresponding to each battery grade, balance the working saturation of each station, including the main station and the standby stations, meet the production capacity requirements of each station, and improve the battery sorting efficiency.
[0174] Please refer to Figure 9 , which shows a schematic flowchart of another station allocation method provided by an embodiment of the present application. As Figure 9 shown, this station allocation method may further include steps 901 to 904.
[0175] Step 901, determine the second standby station quantity of the standby stations that need to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade.
[0176] Step 902: Determine whether there is still an idle spare station in the battery sorting system. If so, execute Steps 903 to 904; if not, execute Steps 905 to 906.
[0177] It should be noted that the idle spare station refers to a spare station in an idle state, and this spare station is not currently used for grouping batteries corresponding to any battery grade. If there is no idle spare station in the battery sorting system in an idle state, it indicates that the battery sorting system has no spare station that can be opened for the second battery grade. At this time, it can be determined that Steps 903 to 904 corresponding to opening the spare station are not executed.
[0178] In one embodiment, determining whether there is still an idle spare station in the battery sorting system may include: determining whether there is still an idle spare station in the battery sorting system and whether the total number of corresponding batteries in the battery allocation set is greater than or equal to the preset set quantity threshold. If so, execute Steps 903 to 904; if not, execute Steps 905 to 906.
[0179] 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 in 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 corresponding batteries in the battery allocation set is less than the preset set quantity threshold, it can be considered that the number of batteries that need to be grouped, or the unallocated stations, is small, and the currently opened spare stations are greater than or equal to the required spare stations. Therefore, Steps 903 to 904 corresponding to opening the spare station do not need to be executed.
[0180] In this embodiment, it is possible to determine whether to execute Steps 903 to 904 by determining whether there is an idle spare station in the battery sorting system and whether the total number of corresponding batteries in the battery allocation set is greater than or equal to the preset set quantity threshold, so as to reduce the computational load of the control device and ensure that the opening and closing of the spare stations meet the actual requirements.
[0181] Step 903: Compare the number of activated third standby workstations corresponding to the second battery grade with the number of second standby workstations. If the number of third standby workstations is less than the number of second standby workstations, then execute Step 904. If the number of third standby workstations is greater than or equal to the number of second standby workstations, then execute Steps 905 to 906.
[0182] It should be noted that the number of third standby workstations is the number of activated standby workstations corresponding to the second battery grade, that is, the number of standby workstations currently used for assembling batteries belonging to the second battery grade. When the control device determines the number of third standby workstations, it can determine the magnitude relationship between the number of third standby workstations and the number of second standby workstations. For the method of determining the number of activated standby workstations corresponding to the battery grade, reference can be made to the above embodiments and will not be elaborated here.
[0183] Step 904: Control to activate at least one idle standby workstation as a standby workstation corresponding to the second battery grade.
[0184] It should be noted that if the number of third standby workstations is less than the number of second standby workstations, the activated standby workstations corresponding to the second battery grade are insufficient to process the batteries belonging to the second battery grade in the battery set to be allocated. When the number of third standby workstations is less than the number of second standby workstations, the control device controls to activate at least one idle standby workstation as a standby workstation corresponding to the second battery grade, so as to increase the number of activated standby workstations corresponding to the second battery grade, alleviate the phenomenon of excessive saturation of the activated workstations corresponding to the second battery grade, thereby reducing the accumulation phenomenon of the batteries belonging to the second battery grade and improving the battery sorting efficiency. Optionally, controlling to activate at least one idle standby workstation as a standby workstation corresponding to the second battery grade may include: the control device modifies the workstation status corresponding to the activated idle standby workstation stored in the sorting control device to the activated state, and modifies the corresponding gear information to be consistent with the second battery grade.
[0185] In one embodiment, there are N idle standby workstations. Controlling to activate at least one idle standby workstation as a standby workstation corresponding to the second battery grade may include: the control device controls the first X idle standby workstations among the N idle standby workstations to be activated in the order of decreasing workstation priority corresponding to the N idle standby workstations. Wherein, both N and X are positive integers, and N≥X≥1. The workstation priority of the idle standby workstation is determined according to the distance of the common path between the idle standby workstation and the main workstation corresponding to the second battery grade. The higher the workstation priority of the idle standby workstation, the shorter the distance of the common path.
[0186] It should be noted that in this embodiment, there is at least one main workstation corresponding to the second battery grade, such as Figure 2As shown, a certain section of the path may be shared between two workstations 280. If a certain section of the path is shared between two workstations 280, it may occur 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 cause the batteries to accumulate on the conveying component and the battery sorting efficiency is relatively low. 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, it will cause the second battery to wait at the input position of the third sorting component for a period of time, resulting in relatively low sorting efficiency. In view of this, when there are N idle standby workstations, select the idle standby workstation with the highest priority, that is, the idle standby workstation with the shortest shared path, to group the batteries of the second battery grade, which can avoid excessive shared paths between the main workstation and the standby workstation and ensure the battery sorting efficiency.
[0187] Optionally, when N is greater than the difference between the number of second standby workstations and the number of third standby workstations, X is the same as the difference between the number of second standby workstations and the number of third standby workstations. When N is less than or equal to the difference between the number of second standby workstations and the number of third standby workstations, X is the same as N. It should be noted that the difference between the number of second standby workstations and the number of third standby workstations represents the number of standby workstations still lacking for the target battery grade. When N is greater than the number of standby workstations still lacking for the target battery grade, the control device allocates idle standby workstations for the target battery grade so that the number of activated standby workstations corresponding to the target battery grade is the number of second standby workstations, avoiding a relatively large number of activated standby workstations corresponding to the target battery grade and being unable to complete the grouping task. When N is less than or equal to the number of standby workstations still lacking for the target battery grade, the control device allocates all N idle standby 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.
[0188] 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 battery sorting method may further include: sequentially taking each battery grade as the second battery grade in the order of the number of batteries corresponding to each battery grade from more to less, and performing the steps of determining whether there are still idle standby workstations in the idle state in the battery sorting system, and if there are idle standby workstations in the idle state in the battery sorting system, comparing the number of third standby workstations and the number of second standby workstations of the activated standby workstations corresponding to the second battery grade.
[0189] In this embodiment, in the order from the largest to the smallest number of batteries corresponding to each battery grade, it is determined whether it is necessary to use the idle spare stations for assembling the batteries belonging to the second battery grade, so that the spare stations corresponding to the battery grade with a larger number of batteries are preferentially allocated, improving the reliability of spare station allocation.
[0190] Step 905: Compare the third spare station quantity of the enabled spare stations corresponding to the second battery grade with the second spare station quantity.
[0191] It should be noted that for the description of the third spare station quantity and the second spare station quantity, please refer to the above embodiment and will not be elaborated here.
[0192] Step 906: If the third spare station quantity is greater than the second spare station quantity, control to close at least one spare station corresponding to the second battery grade.
[0193] It should be noted that under the condition of meeting the preset closing condition, the control device executes Step 905 to Step 906. Among them, the preset closing condition may include that there is no idle spare station in the battery sorting system in an idle state, the number of enabled third spare stations corresponding to the second battery grade is greater than or equal to the second spare station quantity, and the total number of corresponding batteries in the battery set 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 idle spare stations for the second battery grade, the control device determines whether the third spare station quantity is greater than the second spare station quantity, and when the third spare station quantity is greater than the second spare station quantity, controls to close at least one spare station corresponding to the second battery grade, so that when the number of enabled spare stations corresponding to the second battery grade is too large, the spare stations corresponding to the second battery grade are closed, so that the closed spare stations are not used for assembling the batteries corresponding to the second battery grade, ensuring that the remaining batteries of the second battery grade in the battery set to be allocated can fill the enabled spare stations, and the closed spare stations can be used for assembling the batteries of other battery grades, improving the battery sorting efficiency. It can be understood that if the third spare station quantity is equal to the second spare station quantity, it can be considered that the number of enabled spare stations corresponding to the second 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 second battery grade.
[0194] In one embodiment, there are Y activated spare stations corresponding to the second battery grade. Controlling to close at least one spare station corresponding to the second battery grade includes: controlling the first Z of the Y activated spare stations corresponding to the second battery grade to be closed in ascending order of the station priority levels corresponding to the Y activated spare stations corresponding to the second battery grade. Wherein, both Y and Z are positive integers, and Y≥Z≥1. The station priority level 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 second battery grade. The shorter the distance of the common path, the higher the station priority level of the idle spare station.
[0195] It should be noted that the control device reversely orders according to the priority levels of the spare stations corresponding to the second battery grade, and preferentially closes the spare stations corresponding to the second battery grade with a longer distance of the common path, so as to reduce the phenomenon that the second battery grade accumulates on the conveying component, and can meet the requirement of filling the trays on the spare stations and the main stations, improving the battery sorting efficiency. Optionally, the station priority levels of the spare stations can be pre-stored in the control device.
[0196] In this embodiment, when it is determined that the number of the third spare stations is less than the number of the second spare stations, that is, the number of the activated spare stations corresponding to the second battery grade is too small, the control device allocates at least one idle spare station to the second battery grade to reduce the working saturation degree of the stations corresponding to the second battery grade and improve the battery sorting efficiency. At the same time, when it is determined that the number of the third spare stations is greater than the number of the second spare stations, that is, the number of the activated spare stations corresponding to the second battery grade is too large, the control device controls to close at least one spare station corresponding to the second battery grade, reducing the number of the spare stations corresponding to the second battery grade to meet the requirement of filling the trays of the stations corresponding to the second battery grade, and enabling the closed spare station to be used for grouping the batteries corresponding to the battery grades with a larger number of other batteries, improving the battery sorting efficiency.
[0197] In one embodiment, controlling the first Z of the Y activated spare stations corresponding to the second battery grade to be closed in ascending order of the station priority levels corresponding to the Y activated spare stations corresponding to the second battery grade includes steps 1001 to 1003.
[0198] Step 1001: Determine in ascending order of the station priority level corresponding to each spare station whether the current spare station corresponds to the second battery grade.
[0199] Step 1002: If the current spare station corresponds to the second battery grade, determine whether the number of grouped batteries of the current spare station is equal to zero or equal to the preset full-tray quantity.
[0200] Step 1003, 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 third spare station until it is determined that the quantity of the third spare station is equal to the quantity of the second spare station.
[0201] 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, the control device closes 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 second battery grade to this spare station.
[0202] In this embodiment, the control device sequentially determines whether each spare station corresponds to the second battery grade in ascending order of the station priority of the spare stations, finds the spare station corresponding to the second battery grade with a lower station priority. Only when it is determined that the current spare station has no grouped batteries or is full of grouped batteries, the control device closes the current spare station, which can avoid the situation where only some batteries are placed in the tray and improve the reliability of the battery sorting system. When the control device controls the current spare station to close, it updates the quantity of the third spare station until it is determined that the quantity of the third spare station is equal to the quantity of the second spare station, that is, the number of spare stations with the second battery grade enabled is consistent with the required number of spare stations, so as to avoid the occurrence of the situation where the spare station is not full of trays and balance the work saturation of each station, thereby improving the battery sorting efficiency.
[0203] The above - mentioned embodiment describes that according to the second battery quantity and / or the second battery ratio, the quantity of the second spare stations required to be enabled corresponding to the second battery grade is determined. The following embodiments will provide a method for determining the quantity of the second spare stations to illustrate how to determine the quantity of the second spare stations required to be enabled corresponding to the second battery grade according to the second battery quantity and / or the second battery ratio.
[0204] In one embodiment, the second battery quantity information may include the second battery quantity. According to the second battery quantity information corresponding to the second battery grade, determining the quantity of the second spare stations required to be enabled corresponding to the second battery grade may include Step 1101 to Step 1102.
[0205] Step 1101, determine the target quantity range to which the second battery quantity belongs.
[0206] Step 1102: Determine the number of spare workstations corresponding to the target quantity range as the second number of spare workstations.
[0207] It should be noted that the description of the second battery quantity is detailed 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 this 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 preset quantity range 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 range includes (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. The target quantity range is the preset quantity range to which the second battery quantity belongs.
[0208] In this embodiment, the control device pre-sets multiple preset quantity ranges. When determining the second battery quantity, the preset quantity range to which the target quantity range belongs can be determined, and the number of spare workstations corresponding to the target quantity range is determined as the second number of spare workstations.
[0209] In one embodiment, the second battery quantity information includes the second battery ratio. Determining the number of second spare workstations to be activated corresponding to the second battery level according to the second battery quantity information corresponding to the second battery level may include Step 1201 to Step 1202.
[0210] Step 1201: Determine the second target ratio range to which the second battery ratio belongs.
[0211] Step 1202: Determine the number of second spare workstations corresponding to the second target ratio range as the second number of spare workstations.
[0212] It should be noted that the control device may 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 may 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.
[0213] Exemplarily, if the battery sorting system includes 4 spare workstations, each battery level corresponds to a main workstation, the maximum number of spare workstations that can be opened corresponding to the second 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 second 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 second 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 second battery level is 3*120 / [(3 + 1)*120] = 75%. To avoid frequently opening or closing the spare workstations, 75% is increased to 90%, 50% is increased to 60%, and 25% is increased to 30%. Therefore, 30%, 60%, and 90% can be obtained. 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 may further 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 second battery ratio belongs.
[0214] In this embodiment, the control device pre-stores multiple preset ratio intervals. When the second battery ratio is determined, 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 second number of spare workstations.
[0215] In one embodiment, for step 903, according to the second battery quantity information corresponding to the second battery level, determining the second standby work station quantity of the standby work stations to be turned on corresponding to the second battery level may include steps 1301 to 1305.
[0216] Step 1301, determining whether the second battery ratio is greater than or equal to c%, if so, then executing step 1302, if not, then executing step 1303.
[0217] Step 1302, determining the second standby work station quantity as d.
[0218] Step 1303, determining whether the second battery ratio is greater than or equal to e%, if so, then executing step 1304, if not, then executing step 1305.
[0219] Step 1304, determining the second standby work station quantity as f.
[0220] Step 1305, determining whether the second battery ratio is greater than or equal to g%, if so, then executing step 1306, if not, then executing step 1307.
[0221] Step 1306, determining the second standby work station quantity as h.
[0222] Step 1307, determining the second standby work station quantity as i.
[0223] It should be noted that the 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 standby work station quantity corresponding to the first preset ratio interval is d, the standby work station quantity corresponding to the second preset ratio interval is f, the standby work station quantity corresponding to the third preset ratio interval is h, and the standby work station quantity 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 the battery ratios included in the fourth preset ratio interval. All the battery ratios included in the first preset ratio interval are greater than all the battery ratios included in the second preset ratio interval, and all the battery ratios included in the second preset ratio interval are greater than all the battery ratios included in the third preset ratio interval. Optionally, c% = 90%, d = 3, e% = 60%, f = 2, g% = 30%, h = 1, i = 0.
[0224] In this embodiment, when the control device determines that it is necessary to execute the step of determining whether it is necessary to turn on the idle standby workstations for the second battery level, that is, step 903, the second battery ratio is sequentially compared with whether it is greater than or equal to the minimum value in the current preset ratio interval in the order from largest to smallest in the preset ratio interval. If so, it can be determined that the second battery ratio belongs to the current preset ratio interval. The interval judgment method provided in this embodiment is relatively simple and can reduce the computing amount of the control device.
[0225] Please refer to Figure 14 , which shows the fourth flowchart of a method for determining the number of second standby workstations provided by an embodiment of the present application. In this embodiment, the second battery quantity information may include the second battery quantity and the second battery ratio. As Figure 14 shown, according to the second battery quantity information corresponding to the second battery level, determining the number of second standby workstations that need to be turned on corresponding to the second battery level may include steps 1401 to 1402.
[0226] Step 1401, determine the target quantity interval to which the second battery quantity belongs and the second target ratio interval to which the second battery ratio belongs.
[0227] Step 1402, determine the smaller of the fourth standby workstation quantity and the fifth standby workstation quantity as the second standby workstation quantity.
[0228] Among them, the target quantity interval corresponds to the fourth standby workstation quantity, and the second target ratio interval corresponds to the fifth standby workstation quantity. It should be noted that the quantities corresponding to the target quantity interval and the second target ratio interval may be the same, that is, the fourth standby workstation quantity may be the same as the fifth standby workstation quantity, or may not be the same. In one embodiment, according to the second battery quantity information corresponding to the second battery level, determining the second standby workstation quantity of the standby workstations that need to be turned on corresponding to the second battery level may include: the control device may determine whether the second battery quantity belongs to the preset quantity interval corresponding to the current standby workstation quantity and whether the second battery ratio belongs to the preset ratio interval corresponding to the current standby workstation quantity in the order from smallest to largest of the standby workstation quantities corresponding to multiple preset quantity intervals and multiple preset ratio intervals, until it is determined that the second battery quantity belongs to the preset quantity interval corresponding to the current standby workstation quantity, and / or it is determined that the second battery ratio belongs to the preset ratio interval corresponding to the current standby workstation quantity, and determine the current standby workstation quantity as the second standby workstation quantity.
[0229] Optionally, the preset quantity range corresponding to the number of standby workstations being 0 is [0, 130], the corresponding preset ratio range is (0, 20%], the preset quantity range corresponding to the number of standby workstations being 1 is (130, 260], the corresponding preset ratio range is (20%, 50%], the preset quantity range corresponding to the number of standby workstations being 2 is (260, 390], the corresponding preset ratio range is [50%, 80%], and the preset quantity range corresponding to the number of standby workstations being 3 is (390, +∞), the corresponding preset ratio range is [80%, 100%]. In one embodiment, for step 905, according to the second battery quantity information corresponding to the second battery grade, determining the second number of standby workstations of the standby workstations that need to be turned on corresponding to the second battery grade may include steps 1501 to 1505.
[0230] Step 1501, determine whether the second battery ratio is less than or equal to j%, or whether the second battery quantity is less than or equal to k. If so, execute step 1502; if not, execute step 1503.
[0231] Step 1502, determine the second number of standby workstations as l.
[0232] Step 1503, determine whether the second battery ratio is less than or equal to m%, or whether the second battery quantity is less than or equal to n. If so, execute step 1504; if not, execute step 1505.
[0233] Step 1504, determine the second number of standby workstations as o.
[0234] Step 1505, determine whether the second battery ratio is less than or equal to p%, or whether the second battery quantity is less than or equal to q. If so, execute step 1506; if not, execute step 1507.
[0235] Step 1506, determine the second number of standby workstations as r.
[0236] Step 1507, determine the second number of standby workstations as s.
[0237] 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. Moreover, the number of standby workstations corresponding to the first preset quantity interval and the fifth preset ratio interval is l, the number of standby workstations corresponding to the second preset quantity interval and the sixth preset ratio interval is o, the number of standby workstations corresponding to the third preset quantity interval and the seventh preset ratio interval is r, and the number of standby workstations corresponding to the fourth preset quantity interval and the eighth preset ratio interval is s, where 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%, where 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, where 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 903, 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 shutdown of standby workstations can be avoided, and the lifespan of the battery sorting system can be extended.
[0238] In this embodiment, when the control device determines that it is necessary to execute the step of determining whether it is necessary to close the standby workstations corresponding to the second battery level, that is, step 905, the second battery ratio is sequentially compared with whether it is less than or equal to the maximum value in the preset ratio interval corresponding to the current number of standby workstations, and the second battery quantity is compared with whether it is less than or equal to the maximum value in the preset quantity interval corresponding to the current number of standby workstations in ascending order of the corresponding number of standby workstations. If the second 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 second 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 second number of standby workstations. The interval judgment method provided in this embodiment is relatively simple and can reduce the computing amount of the control device.
[0239] It can be understood that determining the second number of standby workstations of the standby workstations that need to be turned on corresponding to the second battery level according to the second battery quantity and / or the second battery ratio can also be implemented in other ways, rather than being limited to the ways already mentioned in the above embodiments.
[0240] Please refer to Figure 16 , which shows a schematic flowchart of another workstation allocation method provided by an embodiment of the present application. As Figure 16 shown, this method may include steps 1601 to step 1615.
[0241] Step 1601, determine the battery quantity information corresponding to each battery level in the battery set to be allocated.
[0242] Step 1602, sequentially take each battery level as the second battery level in descending order of the battery quantity corresponding to the batteries belonging to each battery level.
[0243] Step 1603, 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 1604 to 1609. If not, execute steps 1610 to 1612.
[0244] Step 1604, determine the second target ratio interval to which the second battery ratio belongs.
[0245] Step 1605, determine the number of standby workstations corresponding to the second target ratio interval as the second number of standby workstations.
[0246] Step 1606, determine whether the third number of standby workstations is greater than or equal to the second number of standby workstations. If not, execute step 1607. If so, execute steps 1610 to 1612.
[0247] Step 1607: Determine in sequence whether the current standby station is in an idle state in the order of the station priorities corresponding to each standby station from high to low. If so, execute Step 1608; if not, determine whether the next standby station is in an idle state.
[0248] Step 1608: Control the current standby station to be turned on so that the turned-on current standby station is used to group batteries corresponding to the second battery grade.
[0249] Step 1609: Determine whether the number of the third standby stations that have been turned on corresponding to the second battery grade is equal to the number of the second standby stations. If not, execute Step 1607 until the number of the third standby stations is equal to the number of the second standby stations, or there is no idle standby station in the battery sorting system in an idle state.
[0250] Step 1610: Determine the target quantity range to which the second battery quantity belongs and the second target ratio range to which the second battery ratio belongs.
[0251] Step 1611: Determine the smaller value between the number of the fourth standby stations and the number of the fifth standby stations as the number of the second standby stations.
[0252] Step 1612: Judge whether the number of the third standby stations is greater than the number of the second standby stations. If so, execute Steps 1613 to 1615.
[0253] It can be understood that if the number of the third standby stations is not greater than the number of the second standby stations, that is, it can be determined that the number of the third standby stations is equal to the number of the second standby stations. At this time, return to execute Step 1602.
[0254] Step 1613: Determine in sequence whether the current standby station corresponds to the second battery grade in the order of the station priorities corresponding to each standby station from low to high. If so, execute Step 1614; if not, determine whether the next standby station corresponds to the second battery grade.
[0255] Step 1614: Determine whether the number of the grouped batteries of the current standby station is equal to zero or equal to the preset full-disk quantity. If so, execute Step 1615.
[0256] It should be noted that if the number of the grouped batteries of the current standby station is not equal to zero and not equal to the preset full-disk quantity, wait until the number of the grouped batteries of the current standby station is equal to zero or equal to the preset full-disk quantity, and then execute Step 1615.
[0257] Step 1615: Control the current standby station to be turned off and update the number of the third standby stations until it is determined that the number of the third standby stations is equal to the number of the second standby stations.
[0258] It should be noted that, in this embodiment, Figure 7 the method shown in Figure 16 and the method shown in can be executed asynchronously, and a synchronization lock is added at the same time to ensure data consistency. By asynchronously executing the two method steps, the purpose of dynamic allocation can be achieved collaboratively.
[0259] Please refer to Figure 17 , which shows a schematic flowchart of another battery sorting method provided by an embodiment of the present application. As shown in Figure 17 , the battery sorting method may include steps 1701 to 1705.
[0260] Step 1701, obtain vehicle identification information corresponding to multiple vehicles respectively.
[0261] Step 1702, according to the multiple vehicle identification information, obtain multiple battery binding information corresponding one-to-one to the multiple vehicle identification information from the database.
[0262] It should be noted that the battery sorting system may further include multiple vehicles corresponding one-to-one to multiple batteries in the battery set to be allocated. The vehicle is used to carry the battery, and the battery binding information is used to indicate the battery level of the battery carried by the corresponding vehicle. The vehicle is transported on the conveying component and can be used to carry the batteries in the battery set to be allocated. The vehicle identification information is used to identify the vehicle. A vehicle identification can be pasted on the vehicle. The vehicle identification can be one of a barcode, a two-dimensional code, etc. The vehicle identification carries the vehicle identification information. Optionally, the vehicle may include a cup, and the cup is in the shape of a cup.
[0263] Optionally, taking the control device as the host computer of the battery sorting system as an example, the sorting control device is communicatively connected to the barcode scanning module. The barcode scanning module can be set at the starting position of the first conveying component and can be used to obtain the vehicle identification of multiple vehicles input to the first conveying component. The sorting control device can be used to obtain and store the multiple vehicle identifications obtained by the barcode scanning module, and send a verification signal and the multiple vehicle identifications to the sorting control device. The verification signal is used to instruct the control device to execute step 1702. Obtaining the vehicle identification information corresponding to multiple vehicles respectively may include: the control device obtains multiple vehicle identification information according to the multiple vehicle identifications sent by the sorting control device.
[0264] Step 1703, according to the multiple battery binding information, determine the battery quantity information corresponding to each battery level.
[0265] It should be noted that since the battery binding information is used to indicate the battery level of the battery carried by the corresponding vehicle, the control device can count the battery quantity information corresponding to each battery level in the battery set to be allocated according to the multiple battery binding information, such as the battery quantity and the battery ratio.
[0266] In one embodiment, before determining the battery quantity information corresponding to each battery grade according to multiple battery binding information, the battery sorting method may further include: determining whether each vehicle identification information meets a preset qualification condition; in the case where multiple vehicle identification information all meet the preset qualification condition, step 1703 is executed. It should be noted that the preset qualification condition may include that there is only one battery binding information corresponding to the vehicle identification information in the database, that is, there are no multiple battery binding information corresponding to the same vehicle identification information and no battery binding information without corresponding vehicle identification information. In the case where each vehicle identification information meets the preset qualification condition, it can be considered that the multiple battery binding information stored in the database is correct. In this case, the battery quantity information corresponding to each battery grade is determined based on the multiple battery binding information, which can improve the accuracy of the battery quantity information.
[0267] In one embodiment, the battery sorting method further includes: when the control device determines that at least one vehicle identification information does not meet the preset qualification condition, outputting a binding error message to instruct the sorting personnel to make adjustments. In this embodiment, when the control device determines that there is vehicle identification information that does not meet the preset qualification condition, by outputting a binding error message, it reminds the sorting personnel to perform a check in time to avoid sorting errors and improve the accuracy of battery sorting.
[0268] Step 1704, determining the spare work station information corresponding to the first battery grade.
[0269] Wherein, the first battery grade is any battery grade.
[0270] Step 1705, determining the target battery allocation strategy corresponding to the first battery grade according to the first battery quantity information corresponding to the first battery grade and the spare work station information corresponding to the first battery grade.
[0271] Wherein, the target battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are allocated to the main work station and / or the spare work station corresponding to the first battery grade. It should be noted that the descriptions of steps 1704 to 1705 are detailed in the above embodiments and will not be repeated here.
[0272] In one embodiment, please refer to Figure 18 , the battery sorting method may further include steps 1801 to 1804.
[0273] Step 1801, based on the target battery allocation strategy, the remainder of the main work station corresponding to the first battery grade, and the remainder of the spare work station corresponding to the first battery grade, allocating the batteries belonging to the first battery grade to the main work station and / or the spare work station corresponding to the first battery grade.
[0274] Exemplarily, the number of the first batteries is 20. The standby workstations corresponding to the first battery grade include a first standby workstation, a second standby workstation, and a third standby workstation. The target battery allocation strategy is the second battery allocation strategy, and the number of target standby workstations is 3. Sorted in ascending order of the workstation priority of the standby workstations, they are: the first standby workstation, the second standby workstation, and the third standby workstation. The remainder of the first standby workstation is 0, the remainder of the second standby workstation is 10, and the remainder of the third standby workstation is 3. At this time, the number of batteries to be allocated to the first standby workstation, the second standby workstation, the third standby workstation, and the main workstation is 0, 10, 3, and 7 respectively.
[0275] In one embodiment, the battery sorting method may further include: The control device determines the remainder of the main workstation corresponding to the first battery grade and the remainder of the standby workstations corresponding to the first battery grade according to the workstation binding information stored in the database. It should be noted that for the description of the workstation binding information and the remainder, please refer to the above embodiments and will not be elaborated here.
[0276] As described in the above embodiments, the batteries are carried on carriers. Therefore, the carrier identification information of the carriers carrying the batteries can be bound to the workstations to form workstation binding information.
[0277] Step 1802, determine whether the currently allocated battery meets the preset allocation condition. If not, execute step 1803. If so, execute step 1804.
[0278] Optionally, the preset allocation condition includes that there is no workstation binding information corresponding to the currently allocated battery in the database. Optionally, when the workstation binding information is the binding information of the carrier identification information and the workstation, the preset allocation condition includes that there is no workstation binding information corresponding to the target carrier identification information in the database, and the target carrier identification information is the carrier identification information corresponding to the carrier carrying the currently to-be-allocated battery.
[0279] Step 1803, output an exception prompt message.
[0280] Step 1804, update the workstation binding information stored in the database.
[0281] It should be noted that when the currently allocated battery does not meet the preset allocation condition, the control device outputs an exception prompt message to timely remind the sorting personnel that there is an error in battery sorting, so that the sorting personnel can make adjustments. When it is determined that the currently allocated battery meets the preset allocation condition, the workstation binding information stored in the database is updated, so that the control device can accurately determine the remainder of each workstation and ensure the accuracy rate of battery sorting.
[0282] In this embodiment, after battery allocation, the control device can determine whether the currently allocated batteries meet the preset allocation conditions, so as to timely verify whether the sorting is correct and improve the accuracy of battery sorting.
[0283] Please refer to Figure 19 , which shows a schematic structural diagram of a battery sorting device provided by an embodiment of the present application. This device can be applied to the control device of a battery sorting system, and is not specifically limited. The battery sorting system further includes at least one spare station and at least one main station. As Figure 19 shown, the battery sorting device 1900 may include: a first determination module 1910, a second determination module 1920, and a third determination module 1930. Among them, the first determination module 1910 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 1920 is used to determine the spare station information corresponding to the first battery grade. The first battery grade is any battery grade. The third determination module 1930 is used to determine the target battery allocation strategy corresponding to the first battery grade according to the first battery quantity information corresponding to the first battery grade and the spare station information corresponding to the first battery grade. The target battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are allocated to the main station and / or spare station corresponding to the first battery grade.
[0284] In one embodiment, the spare station information includes the number of opened first spare stations corresponding to the first battery grade; the first battery quantity information includes a first battery ratio, and the first battery ratio is the ratio of the first battery quantity corresponding to the batteries belonging to the first battery grade in the set of batteries to be allocated to the total battery quantity corresponding to the set of batteries to be allocated. The third determination module 1930 is further used to determine the target battery allocation strategy according to the first battery ratio and the number of first spare stations.
[0285] In one embodiment, the first battery quantity information further includes a first battery quantity. The battery sorting device 1900 further includes a fourth determination module. Among them, the fourth determination module is used to determine whether the first battery quantity is greater than a preset quantity threshold before determining the target battery allocation strategy according to the first battery ratio and the number of first spare stations. The preset quantity threshold is used to indicate the maximum number of battery trays corresponding to the maximum number of spare stations that can be opened for the first battery grade. The third determination module 1930 is further used to determine the target battery allocation strategy according to the first battery ratio and the number of first spare stations when the first battery quantity is greater than the preset quantity threshold.
[0286] In one embodiment, the third determination module 1930 includes a first determination unit, a second determination unit, and a third determination unit. Among them, the first determination unit is used to determine whether the first battery ratio is greater than the target ratio threshold. The second determination unit is used to determine that the target battery allocation strategy is the first battery allocation strategy when it is determined that the first battery ratio is greater than the target ratio threshold. The first battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are evenly allocated to the main work station and the standby work station corresponding to the first battery grade. The third determination unit is used to determine the target battery allocation strategy according to the first target ratio interval to which the first battery ratio belongs and the number of first standby work stations when it is determined that the first battery ratio is less than or equal to the target ratio threshold.
[0287] In one embodiment, the third determination unit further includes a first determination subunit, a second determination subunit, and a third determination subunit. The first determination subunit is used to determine whether the number of first standby work stations is greater than the threshold of the number of standby work stations required for the first target ratio interval. The second determination subunit is used to determine that the target battery allocation strategy is the second battery allocation strategy if the number of first standby work stations is greater than the threshold of the number of standby work stations. The second battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are preferentially allocated to at least one target standby work station, and then the remaining batteries belonging to the first battery grade are evenly allocated to other standby work stations and the main work station corresponding to the first battery grade; the target standby work station belongs to the standby work stations corresponding to the first battery grade, and the other standby work stations are the standby work stations corresponding to the first battery grade except the target standby work station. The third determination subunit is used to determine that the target battery allocation strategy is the first battery allocation strategy if the number of first standby work stations is less than or equal to the threshold of the number of standby work stations.
[0288] In one embodiment, the battery sorting device 1900 further includes a fifth determination module. The fifth determination module is used to determine that the target battery allocation strategy is the second battery allocation strategy when the number of first batteries is less than or equal to the preset number threshold. The second battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are preferentially allocated to at least one target standby work station, and then the remaining batteries belonging to the first battery grade are evenly allocated to other standby work stations and the main work station corresponding to the first battery grade; the target standby work station belongs to the standby work stations corresponding to the first battery grade, and the other standby work stations are the standby work stations corresponding to the first battery grade except the target standby work station.
[0289] In one embodiment, the target standby work stations are the first M standby work stations arranged in ascending order of work station priority among the standby work stations corresponding to the first battery grade; where M is a positive integer and less than or equal to the number of first standby work stations, and the work station priority is determined according to the distance of the common path between the standby work station and the main work station of the first battery grade. The lower the work station priority, the longer the distance of the common path.
[0290] In one embodiment, the battery sorting device 1900 further includes a sixth determination module and an adjustment module. The sixth determination module is configured to determine the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade, where the second battery grade is any battery grade. The adjustment module is configured to adjust the standby workstations corresponding to the second battery grade according to the number of second standby workstations.
[0291] In one embodiment, the battery sorting device 1900 further includes a judgment module, and the adjustment module includes a first comparison unit and a first control unit. The judgment module is configured to judge whether there are any idle standby workstations in the battery sorting system before adjusting the standby workstations corresponding to the second battery grade according to the number of second standby workstations. The first comparison unit is configured to compare the number of third standby workstations that have been activated corresponding to the second battery grade with the number of second standby workstations if there are any idle standby workstations in the battery sorting system. The first control unit is configured to control the activation of at least one idle standby workstation as a standby workstation corresponding to the second battery grade if the number of third standby workstations is less than the number of second standby workstations.
[0292] In one embodiment, 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 battery sorting device 1900 further includes a sorting module. The sorting module is configured to sequentially take each battery grade as the second battery grade in the order of the number of batteries corresponding to each battery grade from more to less, and execute the steps of judging whether there are any idle standby workstations in the battery sorting system, and if there are any idle standby workstations in the battery sorting system, comparing the number of third standby workstations that have been activated corresponding to the second battery grade with the number of second standby workstations.
[0293] In one embodiment, the adjustment module includes a second comparison unit and a second control unit. The second comparison unit is configured to compare the number of third standby workstations that have been activated corresponding to the second battery grade with the number of second standby workstations when a preset shutdown condition is met. The second control unit is configured to control the shutdown of at least one standby workstation corresponding to the second battery grade if the number of third standby workstations is greater than the number of second standby workstations.
[0294] In one embodiment, the second battery quantity information includes the second battery quantity and / or the second battery ratio. The second battery quantity is the quantity of batteries corresponding to the second battery grade in the set of batteries to be allocated. The second battery ratio is the ratio of the second battery quantity to the total battery quantity corresponding to the set of batteries to be allocated. The sixth determination module is further configured to determine the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity and / or the second battery ratio.
[0295] In one embodiment, the second battery quantity information includes the second battery quantity. The sixth determination module includes a fourth determination subunit and a fifth determination subunit. Alternatively, the second battery quantity information includes the second battery ratio. The sixth determination module includes a sixth determination subunit and a seventh determination subunit. The fourth determination subunit is configured to determine the target quantity range to which the second battery quantity belongs. The fifth determination subunit is configured to determine the number of standby workstations corresponding to the target quantity range as the second standby workstation quantity. The sixth determination subunit is configured to determine the second target ratio range to which the second battery ratio belongs. The seventh determination subunit is configured to determine the number of standby workstations corresponding to the second target ratio range as the second standby workstation quantity.
[0296] In one embodiment, the second battery quantity information includes the second battery quantity and the second battery ratio. The sixth determination module includes an eighth determination subunit and a ninth determination subunit. The eighth determination subunit is configured to determine the target quantity range to which the second battery quantity belongs and the second target ratio range to which the second battery ratio belongs. Among them, the target quantity range corresponds to the fourth standby workstation quantity, and the second target ratio range corresponds to the fifth standby workstation quantity. The ninth determination subunit is configured to determine the smaller value between the fourth standby workstation quantity and the fifth standby workstation quantity as the second standby workstation quantity.
[0297] In one embodiment, the battery sorting system further includes a plurality of carriers corresponding one-to-one to a plurality of batteries in the set of batteries to be allocated, and the carriers are used to carry the batteries. The battery sorting device 1900 further includes a first acquisition module and a second acquisition module. The first determination module includes a fourth determination unit. Among them, the first acquisition module is configured to acquire the carrier identification information corresponding to the plurality of carriers respectively. The second acquisition module is configured to acquire, from the database, a plurality of battery binding information corresponding one-to-one to the plurality of carrier identification information according to the plurality of carrier identification information. The battery binding information is used to indicate the battery grade of the battery carried by the corresponding carrier. The fourth determination unit is configured to determine the battery quantity information corresponding to each battery grade according to the plurality of battery binding information.
[0298] In one embodiment, the battery sorting device 1900 further includes a seventh determination module. The seventh determination module is configured to determine whether each vehicle identification information meets a preset qualification condition, and when multiple vehicle identification information all meet the preset qualification condition, perform the step of determining the battery quantity information corresponding to each battery grade according to multiple battery binding information.
[0299] Please refer to Figure 20 , Figure 20 which is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application. As Figure 20 shown, the electronic device 2000 may include:
[0300] a memory 2010 storing executable program code;
[0301] a processor 2020 coupled to the memory 2010;
[0302] wherein, the processor 2020 calls the executable program code stored in the memory 2010 to execute any one of the battery sorting methods disclosed in the embodiments of the present application.
[0303] The embodiments of the present application disclose a computer-readable storage medium storing a computer program, wherein when the computer program is executed by the processor, the processor is enabled to implement any one of the battery sorting methods disclosed in the embodiments of the present application.
[0304] It should be understood that the "one embodiment" or "an embodiment" mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is 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 may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also know 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.
[0305] In various embodiments of the present application, it should be understood that the magnitudes of the sequence numbers of the above processes do not necessarily mean the inevitable sequence of execution. The execution sequence of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0306] The units described as separate components above 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0307] In addition, in each embodiment of the present application, each functional unit can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
[0308] When the above-mentioned 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 such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. 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-mentioned methods in each embodiment of the present application.
[0309] 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. This program can be stored in a computer-readable storage medium. The storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electrically-erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc memories, magnetic disk memories, tape memories, or any other computer-readable medium that can be used to carry or store data.
[0310] The above has introduced in detail a battery sorting method, device, electronic device and storage medium disclosed in the embodiments of the present application. Specific examples are used in this article 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 of the present application and its core idea. 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 battery sorting 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 battery set to be allocated; the battery set to be allocated includes a plurality of batteries belonging to at least one battery grade; determining the spare station information corresponding to the first battery grade; the first battery grade is any one of the battery grades; determining a target battery allocation strategy corresponding to the first battery grade according to the first battery quantity information corresponding to the first battery grade and the spare station information corresponding to the first battery grade; the target battery allocation strategy is used to indicate allocating the batteries belonging to the first battery grade to the main station and / or spare station corresponding to the first battery grade.
2. The battery sorting method according to claim 1, characterized in that, the spare station information includes the number of opened first spare stations corresponding to the first battery grade; the first battery quantity information includes a first battery ratio, and the first battery ratio is the ratio of the first battery quantity corresponding to the batteries belonging to the first battery grade in the battery set to be allocated to the total battery quantity corresponding to the battery set to be allocated; the determining a target battery allocation strategy corresponding to the first battery grade according to the first battery quantity information corresponding to the first battery grade and the spare station information corresponding to the first battery grade includes: determining the target battery allocation strategy according to the first battery ratio and the number of first spare stations.
3. The battery sorting method according to claim 2, characterized in that, the first battery quantity information further includes the first battery quantity; before the determining the target battery allocation strategy according to the first battery ratio and the number of first spare stations, the method further includes: determining whether the first battery quantity is greater than a preset quantity threshold, and the preset quantity threshold is used to indicate the maximum number of battery groups corresponding to the maximum number of spare stations that can be opened corresponding to the first battery grade; in the case where the first battery quantity is greater than the preset quantity threshold, performing the step of determining the target battery allocation strategy according to the first battery ratio and the number of first spare stations.
4. The battery sorting method according to claim 2 or 3, characterized in that, the determining a target battery allocation strategy according to the first battery ratio and the number of first spare stations includes: determining whether the first battery ratio is greater than a target ratio threshold; in the case where it is determined that the first battery ratio is greater than the target ratio threshold, determining the target battery allocation strategy as a first battery allocation strategy, and the first battery allocation strategy is used to indicate evenly allocating the batteries belonging to the first battery grade to the main station and the spare station corresponding to the first battery grade; When it is determined that the first battery ratio is less than or equal to the target ratio threshold, determine the target battery allocation strategy according to the first target ratio interval to which the first battery ratio belongs and the number of first spare workstations.
5. The battery sorting method according to claim 4, wherein, the determining the target battery allocation strategy according to the first target ratio interval to which the first battery ratio belongs and the number of first spare workstations includes: determine whether the number of first spare workstations is greater than the threshold of the required number of spare workstations corresponding to the first target ratio interval; if the number of first spare workstations is greater than the threshold of the number of spare workstations, determine that the target battery allocation strategy is the second battery allocation strategy, and the second battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are preferentially allocated to at least one target spare workstation, and then the remaining batteries belonging to the first battery grade are evenly allocated to other spare workstations and the main workstation corresponding to the first battery grade; the target spare workstation belongs to the spare workstations corresponding to the first battery grade, and the other spare workstations are the spare workstations corresponding to the first battery grade except the target spare workstation; if the number of first spare workstations is less than or equal to the threshold of the number of spare workstations, determine that the target battery allocation strategy is the first battery allocation strategy.
6. The battery sorting method according to claim 3, wherein, the method further includes: when the number of first batteries is less than or equal to the preset number threshold, determine that the target battery allocation strategy is the second battery allocation strategy, and the second battery allocation strategy is used to indicate that the batteries belonging to the first battery grade are preferentially allocated to at least one target spare workstation, and then the remaining batteries belonging to the first battery grade are evenly allocated to other spare workstations and the main workstation corresponding to the first battery grade; the target spare workstation belongs to the spare workstations corresponding to the first battery grade, and the other spare workstations are the spare workstations corresponding to the first battery grade except the target spare workstation.
7. The battery sorting method according to claim 5 or 6, wherein, the at least one target spare workstation is the first M spare workstations arranged in ascending order of workstation priority among the spare workstations corresponding to the first battery grade; where M is a positive integer and less than or equal to the number of first spare workstations, and the workstation priority is determined according to the distance of the common path between the spare workstation and the main workstation of the first battery grade, and the lower the workstation priority, the longer the distance of the common path.
8. The battery sorting method according to claim 1, wherein, the method further includes: determine the number of second spare workstations to be turned on corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade, and the second battery grade is any one of the battery grades; adjust the spare workstations corresponding to the second battery grade according to the number of second spare workstations.
9. The battery sorting method according to claim 8, wherein, before adjusting the spare workstations corresponding to the second battery grade according to the number of the second spare workstations, the method further includes: judging whether there are still idle spare workstations in the battery sorting system; The adjustment of the spare workstations corresponding to the second battery grade according to the number of the second spare workstations includes: if there are idle spare workstations in the battery sorting system, comparing the number of the third spare workstations that have been turned on corresponding to the second battery grade with the number of the second spare workstations; if the number of the third spare workstations is less than the number of the second spare workstations, controlling to turn on at least one of the idle spare workstations as the spare workstation corresponding to the second battery grade.
10. The battery sorting method according to claim 9, wherein, the battery quantity information corresponding to each battery grade includes the quantity of batteries belonging to each battery grade in the battery set to be allocated; the method further includes: sequentially taking each battery grade as the second battery grade according to the number of batteries corresponding to each battery grade from more to less, and performing the steps of judging whether there are still idle spare workstations in the battery sorting system, and if there are idle spare workstations in the battery sorting system, comparing the number of the third spare workstations that have been turned on corresponding to the second battery grade with the number of the second spare workstations.
11. The battery sorting method according to any one of claims 8 to 10, wherein, the adjustment of the spare workstations corresponding to the second battery grade according to the number of the second spare workstations includes: comparing the number of the third spare workstations that have been turned on corresponding to the second battery grade with the number of the second spare workstations when a preset shutdown condition is satisfied; if the number of the third spare workstations is greater than the number of the second spare workstations, controlling to turn off at least one of the spare workstations corresponding to the second battery grade.
12. The battery sorting method according to claim 8, wherein, the second battery quantity information includes the second battery quantity and / or the second battery ratio, the second battery quantity is the quantity of batteries corresponding to the second battery grade in the battery set to be allocated, and the second battery ratio is the ratio of the second battery quantity to the total battery quantity corresponding to the battery set to be allocated; determining the number of the second spare workstations to be turned on corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade includes: determining the number of the second spare workstations to be turned on corresponding to the second battery grade according to the second battery quantity and / or the second battery ratio.
13. The battery sorting method according to claim 12, wherein, the second battery quantity information includes the second battery quantity; Determining the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade includes: Determining the target quantity range to which the second battery quantity belongs; Determining the number of standby workstations corresponding to the target quantity range as the second number of standby workstations; Or, The second battery quantity information includes the second battery ratio; Determining the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade includes: Determining the second target ratio range to which the second battery ratio belongs; Determining the number of standby workstations corresponding to the second target ratio range as the second number of standby workstations.
14. The battery sorting method according to claim 12, wherein, The second battery quantity information includes the second battery quantity and the second battery ratio; Determining the number of second standby workstations to be activated corresponding to the second battery grade according to the second battery quantity information corresponding to the second battery grade includes: Determining the target quantity range to which the second battery quantity belongs and the second target ratio range to which the second battery ratio belongs; the target quantity range corresponds to the number of fourth standby workstations, and the second target ratio range corresponds to the number of fifth standby workstations; Determining the smaller of the number of fourth standby workstations and the number of fifth standby workstations as the second number of standby workstations.
15. The battery sorting method according to claim 1, wherein, The battery sorting system further includes a plurality of carriers corresponding one-to-one to a plurality of batteries in the battery set to be allocated, and the carriers are used to carry the batteries; the method further includes: Obtaining the carrier identification information corresponding to each of the plurality of carriers; According to the plurality of carrier identification information, obtaining a plurality of battery binding information corresponding one-to-one to the plurality of carrier identification information from a database, where the battery binding information is used to indicate the battery grade of the battery carried by the corresponding carrier; The determining the battery quantity information corresponding to each battery grade in the battery set to be allocated includes: Determining the battery quantity information corresponding to each battery grade according to the plurality of battery binding information.
16. The battery sorting method according to claim 15, wherein, Before determining the battery quantity information corresponding to each battery grade according to the plurality of battery binding information, the method further includes: Determining whether each of the carrier identification information meets a preset qualification condition; When the plurality of carrier identification information all meet the preset qualification condition, performing the step of determining the battery quantity information corresponding to each battery grade according to the plurality of battery binding information.
17. A battery sorting device, wherein, 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: A first determination module, configured to determine first battery quantity information corresponding to a first 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; the first battery grade is any one of the battery grades; A second determination module, configured to determine spare station information corresponding to the first battery grade; A third determination module, configured to determine a target battery allocation policy corresponding to the first battery grade according to the first battery quantity information corresponding to the first battery grade and the spare station information corresponding to the first battery grade; the target battery allocation policy is used to indicate allocating the batteries belonging to the first battery grade to the main station and / or the spare station corresponding to the first battery grade.
18. An electronic device, characterized in that, it includes a memory and a processor, and a computer program is stored in the memory. When the computer program is executed by the processor, the processor is caused to implement the method according to any one of claims 1 to 16.
19. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the method according to any one of claims 1 to 16 is implemented.