Automatic container terminal AGV charging scheduling optimization method

By using an adaptive genetic algorithm based on conservative and progressive charging thresholds to optimize AGV charging scheduling in automated container terminals, the complexity of AGV charging management is solved, more efficient charging and transportation are achieved, battery life is extended, and production costs are reduced. .

CN118551883APending Publication Date: 2024-08-27SHAANXI UNIV OF SCI & TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410601513.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-15
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In automated container terminals, AGV charging management is complex, causing the battery to be in a deep state of charge and discharge for a long time, shortening battery life, and may lead to task delays and resource conflicts, increasing production costs.

Method used

A power management method based on conservative charging thresholds and progressive charging thresholds is adopted, and the AGV charging schedule is optimized through an adaptive genetic algorithm that dynamically adjusts parameters. The charging strategy is designed to minimize the AGV completion time and charging time and improve charging efficiency.

Benefits of technology

It effectively shortens the charging time of AGVs, improves transportation efficiency, reduces idle time and operation conflicts between AGVs, extends battery life, and improves the overall service level of the terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551883A
    Figure CN118551883A
Patent Text Reader

Abstract

The invention discloses an optimization method for AGV charging scheduling of an automatic container terminal. The method comprises the following steps: 1) taking minimization of AGV completion time as a target, establishing a wharf AGV charging scheduling mathematical model, based on AGV electric quantity management of a conservative charging threshold value and a progressive charging threshold value, making a decision on the charging opportunity, the charging position and the charging amount of the AGV in the wharf AGV charging scheduling mathematical model, and constructing a charging strategy; 2) designing an adaptive genetic algorithm for dynamically adjusting parameters to solve the model, and obtaining an AGV charging scheduling scheme; and 3) selecting experiment parameters, designing three groups of experiments, and verifying the model and the charging strategy. The invention has the characteristics of short charging time, high transportation efficiency and large adaptation range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of automated container terminals, and in particular relates to an optimization method for AGV charging scheduling at an automated container terminal. Background Art

[0002] With the growth of global trade and the development of the logistics industry, automated container terminals have become one of the important means to improve operational efficiency, reduce costs and reduce human errors. Automated container terminals have achieved automation and intelligence in container loading and unloading, stacking, transportation and other operations by introducing various intelligent equipment and advanced technologies, improving the operational efficiency and safety of the terminal.

[0003] In automated container terminals, AGVs are responsible for the handling, transportation, loading and unloading of containers, which can effectively improve the efficiency and accuracy of logistics operations. In automated container terminals, AGV charging management is an important and complex issue. The charging requirements of AGVs are closely related to the operating tasks and operating routes. Reasonable arrangement of charging tasks is crucial to ensure the continuous operation of AGVs. In the actual operation of automated container terminal systems, electric AGVs are usually used to complete container transportation operations. However, due to the limitation of battery power, AGVs must go to charging stations for charging after working for a period of time to ensure that the assigned container tasks are completed. Therefore, the power of AGVs usually has a greater impact on the terminal's operating efficiency, and the available transportation time of AGVs has also become one of the bottleneck problems for terminals to increase production capacity. Simply increasing the number of AGVs cannot fundamentally solve the negative impact of AGV charging problems, and may cause more resource conflicts and higher production costs in the system.

[0004] In addition, the current automated container terminal production application generally uses the industrial threshold method to implement the AGV charging process, that is, only when the AGV's power is lower than a preset threshold, it is arranged to charge to full battery power. The disadvantage of this charging method is that the AGV's battery is in a state of deep charge and discharge for a long time, and the battery life is shortened. When there are many tasks in the system and the real-time requirements of the tasks are high, there is a risk of task delays. Summary of the invention

[0005] In order to overcome the above problems in the prior art, the object of the present invention is to provide an optimization method for AGV charging scheduling in an automated container terminal, which has the characteristics of short charging time, high transportation efficiency and large adaptation range.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is:

[0007] An optimization method for AGV charging scheduling in an automated container terminal comprises the following steps;

[0008] 1) With the goal of minimizing the completion time of AGV, a mathematical model for charging scheduling of terminal AGVs was established, and an AGV power management method based on conservative charging threshold and progressive charging threshold was proposed. The charging timing, charging location and charging amount of AGVs in the mathematical model of terminal AGV charging scheduling were decided, and a charging strategy was constructed;

[0009] 2) Design an adaptive genetic algorithm with dynamic parameter adjustment to solve the model and obtain the AGV charging scheduling plan;

[0010] 3) Select experimental parameters and design three groups of experiments to verify the effectiveness and universality of the model and charging strategy.

[0011] In step 1), the charging strategy is:

[0012] First, the minimum safe power of the AGV battery is used as the conservative charging interval threshold, and this interval is set as the conservative charging interval. The AGV with the remaining power in the conservative charging interval cannot perform any tasks except the charging task, and must be immediately charged to the progressive charging interval to continue to complete the task;

[0013] Secondly, a two-layer progressive charging interval is set up. The AGVs with remaining power in the first layer of progressive charging interval can make full use of the waiting time to charge according to their power needs during the continuous transportation stage; the AGVs with remaining power in the second layer of progressive charging interval do not need to be charged during the continuous transportation stage, thereby ensuring the utilization rate of the AGVs to the greatest extent.

[0014] In step 1), minimizing the AGV completion time is used as the objective function, and the mathematical model is established as follows:

[0015] minf=maxT total (1)

[0016]

[0017]

[0018]

[0019]

[0020]

[0021] Formula (1) represents the objective function, where T totalrepresents the time to complete all tasks. Equations (2) and (3) represent the power consumption of the AGV in the empty or loaded state. Equations (4) to (6) represent that the AGVv accepts and executes the task n assigned to it by the system. Its current power is sufficient for the AGV to reach any charging station in the system after completing task n. Each loading and unloading task must and can only be executed once. If the value of Anv(t) is equal to 1, it means that the AGV accepts and executes task n, otherwise the value of Anv(t) is 0.

[0022] Furthermore, after the AGV accepts the task, it needs to calculate its remaining power C in different cycle modes. v (t), and then the required charging amount under different power states is known. The process of AGV driving empty from the end point of the previous task to the starting point of the current task and the process of driving loaded from the starting point of the current task to the end point are regarded as one calculation cycle, which is divided into four cycle modes: unloading first and then loading, unloading first and then unloading, loading first and then unloading, and loading first and then loading;

[0023] C pv (t) represents the power of the AGV after charging at the end point p of the unloading task, C qv (t) is the power of the AGV after charging at the starting point q of the loading task;

[0024]

[0025]

[0026]

[0027]

[0028]

[0029] C v (t) = C v1 (t)+C v2 (t)+C v3 (t)+C v4 (t) (12)

[0030] Formula (7) represents the decision variable, Formula (8) represents the remaining power of AGV under the first cycle type, Formula (9) represents the remaining power of AGV under the second cycle type, Formula (10) represents the remaining power of AGV under the third cycle type, Formula (11) represents the remaining power of AGV under the fourth cycle type, and Formula (12) represents the remaining power C of AGV under different cycle modes. v (t).

[0031] Get the remaining power C of AGV v(t), it is necessary to determine which charging range it is in and then arrange a suitable charging method for it;

[0032]

[0033]

[0034]

[0035]

[0036]

[0037] Formula (13) indicates that the maximum power consumption of all tasks in the system should not exceed the difference between the maximum battery capacity of the AGV and the conservative charging interval threshold. Formula (14) indicates the charging interval in which the remaining power of the AGV is located. Formula (15) indicates the charging amount in the conservative charging interval, formula (16) indicates the charging amount in the first-level progressive charging interval, and formula (17) indicates the charging amount in the second-level progressive charging interval.

[0038] C pv (t) = C v (t)+ΔB n (18)

[0039] C qv (t) = C v (t)+ΔB n (19)

[0040]

[0041]

[0042]

[0043]

[0044] Formula (18) and (19) represent the power state of AGV after charging. Formula (20) represents the charging time of AGV. Formula (21) represents the loaded driving time of AGVv from the starting point to the end point of task n. Formula (22) represents the unloaded driving time of AGVv between the end point of the previous task and the starting point of the next task. Formula (23) represents the completion time of AGV operation, which is composed of total loaded time, total unloaded time, charging time and waiting time.

[0045] The adaptive genetic algorithm designed to dynamically adjust the parameters in step 2) solves the model, and the specific steps are:

[0046] (1) Encoding and decoding:

[0047] The chromosome is encoded by real number matrix encoding, with a possible task scheduling scheme as an individual and the total scheduling scheme as a population. The total number of loading and unloading tasks N determines the length of the chromosome, and the length of all chromosomes in the initial population and the new population is N. The codes [1, K], [1, V] and [1, R] are randomly generated to represent the numbers of QC, AGV and YC on the gene, ensuring that there is at least one task on each device.

[0048] (2) Initialize the population:

[0049] The population is represented by NIND, and the task sequence of each individual is randomly generated. Tasks coded as 1 to N / 2 represent unloading tasks, and tasks coded as N / 2+1 to N represent loading tasks. The population is initialized for all the operating equipment at different stages of the task.

[0050] (3) Fitness function:

[0051] The fitness value is expressed by the inverse of the objective function Ttotal, which includes the total load time, the total no-load time, the charging time and the waiting time. The fitness value calculation formula is:

[0052]

[0053] (4) Select operation:

[0054] The Stochastic Universal Sampling (SUS) method is used to select individuals in the population, and then the elite retention strategy is used to retain the individual structure with higher fitness in the population to the next generation of the population. Individuals are selected by simultaneously generating multiple equally spaced random pointers.

[0055] (5) Adaptive crossover operation with dynamic adjustment of crossover probability:

[0056] Based on the Partially Mapped Crossover (PMX) method, a dynamically adjusted adaptive crossover probability is proposed. According to the calculated crossover probability Pc, it is decided whether to perform a crossover operation on the selected individuals. The calculation formula is expressed as follows:

[0057]

[0058] The PMX method randomly selects two crossover points to determine the crossover region, creates a mapping relationship by crossing the gene fragments between the two points, and further corrects the resulting offspring;

[0059] (6) Adaptive mutation operation that dynamically adjusts the mutation probability:

[0060] Based on the uniform mutation method, a dynamically adjusted adaptive mutation probability is proposed to adjust the mutation probability according to the changes in population diversity. The calculation formula is shown in formula (26).

[0061]

[0062] Reinsert

[0063] The elite reinsertion method is adopted to retain the parent individuals with the highest fitness and insert the new offspring population, thereby ensuring the excellent genes of the new population, making IAGA have better performance and convergence speed.

[0064] The three groups of experiments are specifically:

[0065] Experiment 1 determined the best parameter combination of IAGA through orthogonal experiments. When the maximum crossover probability is 0.8, the minimum crossover probability is 0.4, the maximum mutation probability is 0.08, the minimum mutation probability is 0.0003, and the population size is 140, the IAGA algorithm is more robust and can explore objective function values ​​with better quality.

[0066] Experiment 2 uses the IAGA solution model. It can be observed that when 10 AGVs complete 100 loading and unloading tasks together, if the industrial threshold method is used for charging, the average charging time of each AGV is 728.08 seconds, and the average charging capacity of each AGV is 50.97Kwh. All AGVs in the system are charged 8 times in total. The AGV charging frequency is not high, but it is often in a state of deep charging and discharging. The long charging time causes the charging task to occupy a large amount of AGV working time, which delays the overall operation time of the terminal equipment and reduces the operation efficiency.

[0067] The shallow charge and discharge method aims to complete the task quickly and shallowly charge and discharge. When the AGV is low on power, it can make full use of the waiting time to complete the charging. The shallow charge and discharge method is used for charging. The average charging time for each AGV is 421.56 seconds, and the average charging capacity of each AGV is 29.51Kwh. All AGVs in the system are charged 13 times in total. The time and location of AGV charging are more dispersed. The shallow charge and discharge method arranges the charging task without affecting the AGV to complete the transportation task on time. Compared with the industrial threshold method, it shortens the AGV charging time by 42.1%.

[0068] The proposed charging model and method are compared with the AGV completion time and total charging time of the industrial threshold method. The results show that under the example setting of 100 to 600 loading and unloading tasks, the charging strategy proposed in the present invention has obvious optimization effect, which can always enable the system to complete the task faster while paying less charging cost. The proposed charging strategy can effectively obtain the AGV charging scheduling plan for the automated container terminal, and the charging model is universal.

[0069] Experiment 3 set up 100 loading and unloading tasks, and used AGV completion time, total charging time and AGV charging times as evaluation indicators. Multiple groups of experiments were conducted with threshold intervals of 10, 20, and 30, respectively. It was determined that α1 and α2 for the optimal terminal operation efficiency were 30% and 50%, respectively, that is, the conservative charging threshold was 26.4 Kwh and the progressive charging threshold was 44 Kwh.

[0070] Beneficial effects of the present invention:

[0071] 1. The present invention adopts a new AGV charging strategy, which can reasonably allocate the operating tasks and resources of each AGV according to the actual situation and needs of the container terminal. Compared with the industrial threshold method, the shallow charging and shallow discharging method has a more dispersed time and location for AGV charging. The shallow charging and shallow discharging method arranges the charging task without affecting the AGV's completion of the transportation task on time. Compared with the industrial threshold method, it shortens the AGV charging time by 42.1%, minimizes the idle time and operating conflicts between AGVs, and thus effectively improves the operating efficiency of AGV.

[0072] 2. By optimizing the AGV charging scheduling scheme, when α1 is 30% and α2 is 50%, that is, the conservative charging threshold is 26.4Kwh and the progressive charging threshold is 44Kwh, each AGV with different initial power can complete the transportation task through shallow charging and discharging, and the AGV completion time is shorter. When the task scale increases, the optimization effect of the shallow charging and shallow discharging charging method proposed in the present invention is more obvious, and the impact of the initial power on the charging time and charging amount of the AGV is reduced. In actual terminal operations, the conservative charging threshold and the progressive charging threshold can be adjusted according to the actual workload of the terminal to enhance the charging scheduling effect. The present invention can reduce equipment energy consumption, save terminal resources, improve the overall service level and core competitiveness of automated container terminals, and provide a theoretical basis and reference for port enterprises. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 Schematic diagram of the vertical layout of an automated container terminal.

[0074] Figure 2 Schematic diagram of four circulation modes.

[0075] Figure 3 Schematic diagram of random uniform selection method.

[0076] Figure 4 Schematic diagram of the improved adaptive genetic algorithm crossover principle.

[0077] Figure 5 Schematic diagram of the improved adaptive genetic algorithm mutation principle.

[0078] Figure 6 Flowchart of adaptive genetic algorithm based on dynamic parameter adjustment.

[0079] Figure 7 Gantt chart for the industrial threshold method.

[0080] Figure 8 This is the Gantt chart of the shallow fill and shallow release method. DETAILED DESCRIPTION

[0081] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0082] The present invention provides an automated container terminal AGV charging scheduling optimization method (such as Figure 1 ), the specific steps are as follows:

[0083] Step 1: Establish a charging scheduling model

[0084] 1.1 Model Assumptions

[0085] In order to facilitate the establishment of the model, the following assumptions are made:

[0086] (1) Without considering other operating equipment besides QC, AGV, and YC, the three types of equipment can only process one container at a time.

[0087] (2) The task scheduling scheme is known, that is, the starting and ending points of all loading and unloading tasks are known.

[0088] (3) The AGV executes the waiting strategy at the residence point, and the initial power is known.

[0089] (4) When the AGV is unloaded or loaded, the power consumption is positively correlated with the driving distance.

[0090] (5) AGV path conflicts or congestion are not considered.

[0091] (6) The capacity of the charging station and the storage yard are large enough, and the charging stations are all distributed and set up at the storage yard support.

[0092] 1.2 The model parameters and basic symbols are defined as follows:

[0093] I: the set of container unloading tasks, there exists i∈I, i represents unloading container;

[0094] J: the set of container loading tasks, there exists j∈J, j represents the loading container;

[0095] N: the total set of all tasks, n∈N (n=1,2…n), the virtual start task is denoted as s, and the virtual end task is denoted as f;

[0096] K: the set of QCs, there exists kn∈K(K=k1...kn), which means the knth QC;

[0097] R: the set of YC, there exists rn∈R, representing YCr n ;

[0098] V: the set of AGVs, there exists v∈V, representing AGVv;

[0099] DP conservative : Conservative charging threshold, upper limit of conservative charging interval, lower limit of progressive charging interval;

[0100] DP progressive : Progressive charging threshold, the upper limit of the first-layer progressive charging interval and the lower limit of the second-layer progressive charging interval;

[0101] DP max : Maximum capacity (SOC) of AGV battery, upper limit of the second-level progressive charging range;

[0102] δ: Charging efficiency of AGVv when interacting with the yard support;

[0103] v f : Driving speed of AGVv under load, m / s;

[0104] v e : Driving speed of AGVv in empty state, m / s;

[0105] e empty : Unit power consumption of AGV in no-load state;

[0106] e load : Unit power consumption under AGV load state;

[0107] The path length of AGVv from the end position of the current task i to the starting position of the next task j;

[0108] d(n)v: the path length of AGVv from the starting point of loading and unloading task n to the end point of the task;

[0109] t rw : The time that AGVv waits to interact with YC in the yard interaction area;

[0110] t rex: The average time for a yard crane to perform a loading and unloading task is uniformly distributed;

[0111] C pv (t): the power of AGVv after charging at the end point p of the unloading task at time t;

[0112] C qv (t): the power of AGVv after charging at the starting point q of the loading task at time t;

[0113] C v (t): the remaining battery power of AGVv at time t;

[0114] α1: The ratio of the upper threshold of the conservative charging interval to the SOC;

[0115] α2: The ratio of the upper limit of the progressive charging interval to the SOC, α2>α1;

[0116] α3: The ratio of the current power Cv(t) to SOC;

[0117] BC (n)v : The power consumption from the starting point to the end point of the task when AGVv performs task n;

[0118] The power consumption of AGVv from the end position of the current task i to the starting position of the next task j;

[0119] ΔB n : Charging amount under different battery power states;

[0120] The total charging time of AGVv when performing task n;

[0121] F(x): judgment function, if x>0, it is 1, otherwise it is 0;

[0122] A nk (t): decision variable, which is 1 if the AGVv’s battery level satisfies and executes task n, otherwise it is 0;

[0123] Q n : If the executed task n is a loading task, it is 1, otherwise it is 0.

[0124] 1.3 Establish a mathematical model for charging scheduling, which specifically includes the following steps:

[0125] The charging strategy is designed by shallow charging and shallow discharging, with minimizing the AGV completion time as the objective function, and the mathematical model is established as follows:

[0126] min f=max T total (1)

[0127]

[0128]

[0129]

[0130]

[0131]

[0132] Formula (1) represents the objective function, where T total Indicates the time to complete all tasks. Equations (2) and (3) represent the power consumption of the AGV when it is unloaded or loaded. Since each charging of the AGV occurs when it interacts with the yard bracket, the consumption of the AGV going to the charging station is not considered. Equations (4) to (6) indicate that AGVv accepts and executes task n assigned to it by the system. Its current power is sufficient for the AGV to reach any charging station in the system after completing task n. Each loading and unloading task must and can only be executed once. If the value of Anv(t) is equal to 1, it means that the AGV accepts and executes task n, otherwise the value of Anv(t) is 0.

[0133] After the AGV accepts the task, it needs to calculate its remaining power C in different cycle modes v (t), and then the required charging amount under different power states can be obtained. The process of AGV driving from the end point of the previous task to the starting point of the current task without load and the process of driving from the starting point of the current task to the end point with load are regarded as one calculation cycle, which is divided into four cycle modes: unloading first and then loading, unloading first and then unloading, loading first and then unloading, loading first and then loading, such as Figure 2 As shown. pv (t) represents the power of the AGV after charging at the end point p of the unloading task, C qv (t) is the amount of electricity after the AGV finishes charging at the starting point q of the loading task.

[0134]

[0135]

[0136]

[0137]

[0138]

[0139] C v (t) = C v1 (t)+C v2 (t)+C v3 (t)+Cv4 (t) (12)

[0140] Formula (7) represents the decision variables. Formula (8) represents the remaining power of AGV under the first cycle type, the previous task accepted by AGVv is an unloading task, and the current task is a loading task. Formula (9) represents the remaining power of AGV under the second cycle type, the previous task accepted by AGVv is a loading task, and the current task is an unloading task. Formula (10) represents the remaining power of AGV under the third cycle type, the previous task accepted by AGVv is an unloading task, and the current task is an unloading task. Formula (11) represents the remaining power of AGV under the fourth cycle type, the previous task accepted by AGVv is a loading task, and the current task is a loading task. Formula (12) represents the remaining power C of AGV under different cycle modes v (t).

[0141] Get the remaining power C of AGV v (t), it is necessary to determine which charging interval it is in, and then arrange a suitable charging method for it. Three charging intervals and two groups of thresholds are set for AGV. The specific strategy is as follows: First, the minimum safe power of the AGV battery is used as the conservative charging interval threshold, and this interval is set as the conservative charging interval. The AGV with the remaining power in the conservative charging interval cannot perform any tasks except the charging task, and must be charged immediately to the progressive charging interval to continue to complete the task; a two-layer progressive charging interval is set. The AGV with the remaining power in the first layer of the progressive charging interval can make full use of the waiting time to charge according to its power demand during the continuous transportation stage; the AGV with the remaining power in the second layer of the progressive charging interval can not be charged during the continuous transportation stage, so as to maximize the utilization rate of the AGV.

[0142]

[0143]

[0144]

[0145]

[0146]

[0147] Formula (13) indicates that the maximum power consumption of all tasks in the system should not exceed the difference between the maximum battery capacity of the AGV and the conservative charging interval threshold, ensuring that the AGV can complete any task in the system when the power is sufficient. Formula (14) indicates the charging interval in which the remaining power of the AGV is located. Formula (15) indicates the charging amount of the conservative charging interval. The remaining power of the AGV in this interval is less than or equal to the conservative charging interval threshold, and it is in urgent need of charging. The charging goal of the AGV is to ensure that the power is safe enough and the transportation task is completed quickly. Formula (16) indicates the charging amount of the first-level progressive charging interval. The power of the AGV in this interval is relatively sufficient. The charging goal of the AGV is to leave the interactive area and enter the system earlier without affecting the work efficiency. The AGV can make full use of the waiting time to charge. Formula (17) indicates the charging amount of the second-level progressive charging interval. The power of the AGV in this interval is completely sufficient. When the AGV has continuous tasks, it can complete the task without charging. After the AGV completes the last task, it can use the entry rail to charge until the remaining power reaches the maximum capacity.

[0148] C pv (t) = C v (t)+ΔB n (18)

[0149] C qv (t) = C v (t)+ΔB n (19)

[0150]

[0151]

[0152]

[0153]

[0154] Formula (18) and (19) represent the power state of the AGV after charging. Formula (20) represents the AGV charging time; Formula (21) represents the loaded driving time of AGVv from the starting point to the end point of task n. Formula (22) represents the unloaded driving time of AGVv between the end point of the previous task and the starting point of the next task. Formula (23) represents the completion time of the AGV operation, which is composed of the total load time, the total unloaded time, the charging time and the waiting time.

[0155] Step 2: Improve the adaptive genetic algorithm to solve the charging scheduling model:

[0156] Metaheuristic algorithms are a type of optimization algorithm designed based on heuristic principles in nature. They seek the optimal solution to the problem by simulating phenomena such as evolution, heredity, and group behavior in nature. The charging problem of automated container terminals is an NP-hard problem. Metaheuristic algorithms can provide an approximate solution to NP-hard problems or find a better solution within an acceptable time. As a classic natural selection method based on metaheuristics, the genetic algorithm (GA) is an algorithm established by simulating Darwin's biological evolution theory. The algorithm abstracts the problem to chromosome encoding, evaluates each chromosome through certain evaluation criteria, and generates new groups through operations such as selection, crossover, and mutation. Individuals with high fitness function values ​​continue to evolve, individuals with low fitness function values ​​are eliminated, and individuals with high fitness function values ​​evolve after the nth generation. This cycle repeats, and the individuals finally obtained are the optimal solution to the problem. The adaptive genetic algorithm (AGA) is improved based on the genetic algorithm. It simulates the process of biological evolution and adaptively adjusts the crossover rate and mutation rate to find the optimal solution. It is a global search optimization method. Based on the above algorithm, the present invention dynamically adjusts the AGA parameters, designs an improved adaptive genetic algorithm (IAGA), and then solves the charging scheduling model and conducts experimental verification.

[0157] 1. Encoding and decoding

[0158] In order to well represent the process sequence and the various operating equipment corresponding to the task, the chromosome encoding method is adopted. A possible task scheduling scheme is regarded as an individual, and the total scheduling scheme is regarded as a population. The total number of loading and unloading tasks N determines the length of the chromosome. The length of all chromosomes in the initial population and the new population is N. The codes [1, K], [1, V] and [1, R] are randomly generated to represent the numbers of QC, AGV and YC on the gene, ensuring that there is at least one task on each device.

[0159] 2. Initialize the population

[0160] The population is represented by NIND, and the task sequence of each individual is randomly generated. Tasks coded 1 to N / 2 represent unloading tasks, and tasks coded N / 2+1 to N represent loading tasks. The population is initialized for all operating equipment at different stages of the operation tasks. Specifically, in the terminal operation stage, all loading and unloading tasks are randomly assigned to any QC coded between 1 and K; in the horizontal transportation stage, all loading and unloading tasks are completed by any idle AGV coded between 1 and V; in the yard operation stage, all unloading tasks are randomly assigned to any yard crane coded 1 to R / 2, and all loading tasks are randomly assigned to any yard crane coded R / 2+1 to R. The complete population consists of all individuals.

[0161] 3. Fitness function

[0162] The reciprocal of the objective function Ttotal is used to represent the fitness value. The higher the fitness value, the smaller the objective function value, and the better the quality of the solution. Ttotal includes the total load time, the total no-load time, the charging time, and the waiting time. The fitness value calculation formula is:

[0163]

[0164] In formula (24), Fitness represents the fitness value of a certain individual N, and f(N) represents the objective function value Ttotal of a certain individual N.

[0165] 4. Select an operation

[0166] The goal of the selection operation is to select excellent individuals through individual fitness, retain the selected individuals and use them to generate the next generation of populations. It is a key step to maintain population diversity during the algorithm evolution process. The algorithm proposed in the present invention adopts the Stochastic Universal Sampling (SUS) method to select individuals in the population, and then uses the elite retention strategy to retain the individual structure with higher population fitness to the next generation of populations, and selects individuals by simultaneously generating multiple equally spaced random pointers. n represents the number of individuals to be selected, and r represents a uniformly distributed random number. The Stochastic Universal Sampling method is as follows: Figure 3 shown.

[0167] 5. Adaptive crossover operation with dynamic adjustment of crossover probability

[0168] Traditional genetic algorithms (GAs) simulate the process of chromosome crossover and recombination in biological genetics, generate new offspring individuals in a certain crossover manner, and then complete evolution. The goal of the crossover operation is to increase the possibility of better solutions in the search space while ensuring biodiversity. When the solution space of the problem is very large or the problem structure is very complex, a simple crossover method may not be able to effectively search the solution space, resulting in the loss or destruction of a good gene combination of an excellent individual, and a crossover probability that is too large or too small will affect the solution quality and algorithm performance.

[0169] In order to optimize the crossover operation of GA and improve the global search performance of the algorithm, the present invention proposes a dynamically adjusted adaptive crossover probability based on the partially mapped crossover (PMX) method. The crossover probability Pc is calculated to determine whether to perform a crossover operation on the selected individuals. The calculation formula is shown in formula (25):

[0170]

[0171] In the formula, Pc1 and Pc2 represent the values ​​of two crossover probabilities, which are used to calculate the final crossover probability Pc; F1 and F2 represent the fitness values ​​of the two individuals undergoing the crossover operation; F max Indicates the maximum fitness value in the population; F avg represents the average fitness value of the population; S represents the number of individuals that have not changed the optimal solution; g represents the current evolutionary degree; G represents the maximum evolutionary generation. When Pc is greater than or equal to the generated random number, the PMX method is used to perform crossover operations on individuals.

[0172] The PMX method randomly selects two crossover points to determine the crossover region, creates a mapping relationship by crossing the gene fragments between the two points, and further modifies the generated offspring. The improved adaptive genetic algorithm (IAGA) crossover principle is as follows Figure 4 shown.

[0173] 6. Adaptive mutation operation to dynamically adjust the mutation probability

[0174] Mutation operation is another important evolutionary means after crossover operation in IAGA. It creates a new genetic structure by randomly selecting and changing one or more genes in the chromosomes of certain individuals, introduces new genetic information, increases the diversity of the genetic population, improves the local search ability of the algorithm, and avoids its premature convergence. In order to optimize the mutation operation of the genetic algorithm, better balance the process of the algorithm exploring feasible solutions and utilizing better solutions, and appropriately improve the local search ability of the algorithm. Based on the uniform mutation method, the present invention proposes a dynamically adjusted adaptive mutation probability, adjusts the mutation probability according to the change in population diversity, and the calculation formula is as shown in formula (26). Among them, Pm1 and Pm2 represent the values ​​of two mutation probabilities, which are used to calculate the final mutation probability Pm; when Pm is greater than or equal to the generated random number, the uniform mutation method is used to mutate the individual. The uniform mutation method mutates each gene on the entire chromosome with a certain probability. The value of each gene is independently random in the real number domain, and there is no influence between genes. The mutation principle of the improved adaptive genetic algorithm (IAGA) is as follows Figure 5 shown.

[0175]

[0176] 7. Reinsert

[0177] Reinsertion is an important operation to reinsert the offspring population into the parent population to form a new population. The present invention is based on a selective reinsertion strategy and adopts an elite reinsertion method to retain the parent individuals with the highest fitness and insert the new offspring population, thereby ensuring the excellent genes of the new population and enabling IAGA to have better performance and convergence speed.

[0178] In summary, the process of solving the charging scheduling problem of automated container terminals with the improved adaptive genetic algorithm is as follows: Figure 6 shown.

[0179] Experimental results and analysis of different scales of simulation examples:

[0180] This application designs examples and experiments to verify the effectiveness of the proposed automated container terminal charging scheduling model. All experiments are written and implemented in MATLAB 2022b, and the operating environment is Intel(R) Core(TM) i5-11300H@3.10GHz, 16GB RAM.

[0181] 1 Model parameter design

[0182] According to the algorithm improvement plan, the parameters that may have an impact on the improved adaptive genetic algorithm are determined to be the maximum crossover probability Pc1, the minimum crossover probability Pc2, the maximum mutation probability Pm1, the minimum mutation probability Pm2 and the population size NIND. The crossover probability value range is set to 0.3~0.99, the mutation probability value range is set to 0.0001~0.1, and the population size value range is set to 20~140. The Taguchi design experiment (DOE) method is used to determine the values ​​of several key parameters of IAGA. The purpose is to select a robust parameter combination for IAGA. The advantage of the Taguchi design experiment is that it can evaluate the impact of different factors on the experimental results through fewer experimental combinations. This application subdivides the several parameters that have an impact into 5 factors and 4 levels, and uses the orthogonal table L 16 (5 4 ), a total of 16 parameter combinations were tested, the experiment under each combination was repeated 20 times, and the number of iterations of each experiment was 500 times. The orthogonal experimental parameter table design is shown in Table 1:

[0183] Table 1 Orthogonal experiment parameter factor level table

[0184]

[0185] A large signal-to-noise ratio (SNR) and response variable (RV) were introduced for comprehensive evaluation to determine the optimal parameter combination for the IAGA algorithm under 16 orthogonal experimental factor combinations. The response variable and signal-to-noise ratio and calculation formula are as follows:

[0186]

[0187]

[0188] In formula (27), j represents the orthogonal experimental factor combination; n represents the number of repeated experiments; i represents the current number of experiments; It represents the experimental result of the i-th experiment under the j-th orthogonal experimental factor combination; Represents the set of all function values ​​when the experiment is repeated n times under the jth orthogonal experimental factor combination; It represents the normalized response variable value of the experiment i under the jth orthogonal experimental factor combination. In formula (28), S / N represents the signal-to-noise ratio value under the jth orthogonal experimental factor combination. The larger its value is, the better the solution performance under the corresponding parameter combination is, and vice versa.

[0189] Table 2 Different orthogonal test factor combinations and repeated test results

[0190]

[0191] The response variable values ​​and signal-to-noise ratio values ​​corresponding to 16 different orthogonal experimental factor combinations i are shown in Table 2.

[0192] The corresponding RV mean and RV range values ​​under each factor level are shown in Table 4-3. The larger the range value, the greater the influence of the factor on the quality of the optimal solution. The experimental results show that among the 16 groups of factor combinations, the solution effect of the third group of factor combinations is the best, and the solution effect of the seventh group of factor combinations is the worst. The influence of each factor on the quality of the optimal solution is ranked from large to small as Pm1>NIND>Pc2>Pm2>Pc1.

[0193] Table 3 Analysis of significant influence of factors

[0194]

[0195] The two groups of factor combinations and their values ​​selected according to the influence of each factor on the quality of the optimal solution and the performance of the algorithm are shown in Table 4. When other factors and experimental examples are the same, the population size is changed to 100 or 140 to conduct experiments and determine the factor combination with the best solution effect.

[0196] Table 4 Two groups of better factor combinations

[0197]

[0198] The experimental results of the IAGA algorithm for solving the shortest operation time to complete 80 tasks under two groups of factor combinations are shown in Figure 1. When NIND = 100, the algorithm obtains the optimal objective function value of 3595.21s when it iterates to the 43rd time under this setting. The red solid line represents the iterative process of NIND = 140. Under this setting, the algorithm obtains the optimal objective function value of 3571.38s when it iterates to the 33rd time. The experiment was repeated 50 times. The average value of NIND = 100 is 3669.28s, and the average value of NIND = 140 is 3548.8s. There is a significant difference between the two groups. The changes in the optimal values ​​of the two groups are statistically analyzed. The experimental results show that when the maximum crossover probability is 0.8, the minimum crossover probability is 0.4, the maximum mutation probability is 0.08, the minimum mutation probability is 0.0003, and the population size is 140, the IAGA algorithm is more robust and can explore objective function values ​​with better quality.

[0199] 2 Experimental results and analysis of charging strategy effectiveness

[0200] In order to verify the effectiveness of the shallow charging and shallow discharging charging strategy proposed in this invention, the optimal parameter combination of the IAGA algorithm determined in the previous section is adopted, and the example of the experiment in this section is designed with reference to the settings of common terminal equipment and AGV parameters. The time for QC to process import and export containers is similar, assuming that it obeys the uniform distribution U(30,180) seconds; the time for YC to process import and export containers is similar, assuming that it obeys the uniform distribution U(40,160) seconds. The parameters of AGV initial power, no-load and loaded driving speed, and charging and consumption rate are set as shown in Tables 5 to 7.

[0201] Table 5 AGV basic parameter design

[0202]

[0203] Table 6 Charging scheduling equipment parameters

[0204]

[0205] Table 7 Initial power of 10 AGVs (%)

[0206]

[0207] (1) Experiments on IAGA algorithm performance and charging strategy effects

[0208] For the convenience of research, the proposed charging strategy based on shallow charge and shallow discharge is referred to as shallow charge and shallow discharge method. The industrial threshold method and shallow charge and shallow discharge method widely used in industrial production are used for experiments. Each group of experiments is iterated 500 times. The charging time, charging amount and total time to complete the task are used as evaluation indicators for comparison to verify the effectiveness of the charging strategy proposed in this study.

[0209] The industrial threshold method refers to a method widely used in current industrial production. This method sets a minimum safety power threshold to protect the AGV battery. The charging task can only be triggered when the AGV power is lower than this threshold. The minimum safety power threshold and the upper limit of the conservative interval threshold are both set to 30% of the total power, and the upper limit of the progressive interval threshold is set to 60% of the total power. The experimental results under the two charging methods are shown in Table 8. In the table, GAPT represents the relative optimization rate of the AGV completion time. When the value is positive, it indicates that the shallow charge and shallow discharge method has a shorter AGV completion time than the industrial threshold method. Otherwise, the calculation formula is shown in formula (29). GAPC is the relative optimization rate of the charging time. When the value is positive, it indicates that the shallow charge and shallow discharge method has a shorter total charging time than the industrial threshold method. Otherwise, the calculation formula is shown in formula (30).

[0210] Table 8 Experimental results of two charging methods after 500 iterations

[0211]

[0212]

[0213]

[0214] Under the same algorithm termination criteria, the shallow charge and shallow discharge method can always obtain a smaller global optimal value earlier. Compared with the industrial threshold method, the shallow charge and shallow discharge method can save 6.55% of the working time.

[0215] The Gantt chart of the experiment using the industrial threshold method is as follows: Figure 7 As shown in the figure, the amount marked in yellow indicates the amount of charge of the corresponding AGV when performing a certain task. It can be observed that when 10 AGVs complete 100 loading and unloading tasks together, if the industrial threshold method is used for charging, the average charging time of each AGV is 728.08 seconds, and the average charging amount of each AGV is 50.97Kwh. All AGVs in the system are charged 8 times in total. The charging frequency of AGV is not high, but it is often in a state of deep charging and discharging. Excessive charging time causes the charging task to occupy a large amount of AGV working time, which delays the overall operation time of the terminal equipment and reduces the operation efficiency.

[0216] The Gantt chart of the experiment using the shallow charge and shallow discharge method is as follows: Figure 8 As shown in the figure, the amount marked in yellow indicates the amount of charge of the corresponding AGV when performing a certain task. The shallow charge and shallow discharge method aims to complete the task quickly and shallowly charge and discharge. When the AGV is low on power, it can make full use of the waiting time to complete the charging. It can be observed that when 10 AGVs complete 100 loading and unloading tasks together, the shallow charge and shallow discharge method is used for charging. The average charging time of each AGV is 421.56 seconds, and the average charging amount of each AGV is 29.51Kwh. All AGVs in the system are charged 13 times in total. The time and location of AGV charging are more dispersed. The shallow charge and shallow discharge method arranges charging tasks without affecting the AGV's completion of transportation tasks on time, making the terminal operation more efficient and shortening the AGV charging time by 42.1% compared to the industrial threshold method.

[0217] (2) Experiment on the effectiveness of charging strategies under different task scales

[0218] Under the same experimental settings, the industrial threshold method and the shallow charge and discharge method are used to solve the AGV charging problem of different task scales, further verifying the effectiveness of the proposed algorithm and charging strategy. Table 9 statistics the AGV completion time, total charging time, total charging amount, GAPT and GAPC corresponding to the two charging strategies when the number of tasks is 100, 200, 300, 400, 500, and 600 respectively.

[0219] Table 9 Sensitivity experiments at different task scales

[0220]

[0221]

[0222] As the task size grows, no matter what strategy is used, the AGV completion time to complete all tasks will increase linearly, and the AGV charging time will also increase accordingly. The experimental group that uses the shallow charge and shallow discharge method to complete AGV charging can complete all transportation tasks earlier and produce a shorter charging time than the experimental group that uses the industrial threshold method to complete AGV charging.

[0223] The results of 6 groups of experiments of different scales show that the shallow charging and shallow discharging method can always complete the task faster and produce shorter charging time and less charging amount. This charging method not only allows the AGV to obtain sufficient power, but also ensures battery safety.

[0224] 3 Experimental results and analysis of optimal charging threshold range

[0225] The experimental results show that the core of the shallow charge and discharge method is to set conservative charging thresholds and gradual charging thresholds to form a reasonable charging interval, thereby avoiding the risks brought by deep charging and discharging. In order to obtain the conservative charging threshold and gradual charging threshold for the optimal charging effect, the AGV battery safety threshold is used as the minimum threshold, which is 30% of the total power of the AGV, and the maximum threshold ratio is 90% of the total power of the AGV. The conservative charging threshold and gradual charging threshold are set at intervals of 10%, 20% and 30% respectively. The loading and unloading task volume is 100. The AGV completion time, total charging time and AGV charging times under different threshold intervals are analyzed. The experimental results are shown in Table 10, and the analysis process is as follows.

[0226] Table 10 Experimental settings and results

[0227]

[0228]

[0229] The AGV completion time is similar in several groups of experiments, but as the threshold value increases, the total charging time of the AGV becomes longer and the charging times become more frequent. This is because under the charging strategy of shallow charge and shallow discharge, when the two groups of thresholds are set larger and the interval is smaller, the remaining power of the AGV will reach the charging interval earlier, resulting in more frequent charging behavior.

[0230] Although frequent charging behavior does not have much impact on the AGV completion time of the overall task, frequent charging behavior may cause violent reactions inside the battery, which poses certain risks. Therefore, considering the battery life and safety, it is found that when α1 is 30% and α2 is 50%, a relatively short AGV completion time, shorter charging time and fewer charging times are obtained in several groups of experiments. This threshold interval and value can achieve better task completion results.

[0231] In summary, compared with the charging method of the industrial threshold method, the shallow charging and shallow discharging method is more effective for the charging scheduling problem of multiple AGVs in automated container terminals. When α1 is 30% and α2 is 50%, that is, the conservative charging threshold is 26.4Kwh and the progressive charging threshold is 44Kwh, each AGV with different initial power can complete the transportation task through shallow charging and discharging, and the AGV completion time is shorter. When the scale of the task increases, the optimization effect of the shallow charging and shallow discharging charging method proposed in the present invention is more obvious, and the impact of the initial power on the charging time and charging amount of the AGV is reduced. In actual terminal operations, the conservative charging threshold and the progressive charging threshold can be adjusted according to the actual workload of the terminal to enhance the charging scheduling effect.

Claims

1. An optimization method for AGV charging scheduling in an automated container terminal, characterized in that: The steps include: 1) With the goal of minimizing the AGV completion time, a mathematical model for charging scheduling of terminal AGVs is established. Based on the conservative charging threshold and the progressive charging threshold, the charging timing, charging location and charging amount of the AGV in the mathematical model of terminal AGV charging scheduling are decided to construct a charging strategy; 2) Design an adaptive genetic algorithm with dynamic parameter adjustment to solve the model and obtain the AGV charging scheduling plan; 3) Select experimental parameters and design experiments to verify the model and charging strategy.

2. The optimization method for AGV charging scheduling in an automated container terminal according to claim 1 is characterized in that: In step 1), the charging strategy is: First, the minimum safe power of the AGV battery is used as the conservative charging interval threshold, and this interval is set as the conservative charging interval. The AGV with the remaining power in the conservative charging interval cannot perform any tasks except the charging task, and must be immediately charged to the progressive charging interval to continue to complete the task; Secondly, a two-layer progressive charging interval is set up. The AGVs with remaining power in the first layer of progressive charging interval can make full use of the waiting time to charge according to their power needs during the continuous transportation stage; the AGVs with remaining power in the second layer of progressive charging interval do not need to be charged during the continuous transportation stage, thereby ensuring the utilization rate of the AGVs to the greatest extent.

3. The optimization method for AGV charging scheduling in an automated container terminal according to claim 2 is characterized in that: In step 1), minimizing the AGV completion time is used as the objective function, and the mathematical model is established as follows: minf=maxT total (1) Formula (1) represents the objective function, where T total represents the time to complete all tasks. Equations (2) and (3) represent the power consumption of the AGV in the empty or loaded state. Equations (4) to (6) represent that the AGVv accepts and executes the task n assigned to it by the system. Its current power is sufficient for the AGV to reach any charging station in the system after completing task n. Each loading and unloading task must and can only be executed once. If the value of Anv(t) is equal to 1, it means that the AGV accepts and executes task n, otherwise the value of Anv(t) is 0.

4. The optimization method for AGV charging scheduling in an automated container terminal according to claim 3 is characterized in that: After the AGV accepts the task, the remaining power C of the AGV in different cycle modes is calculated. v (t), and then the required charging amount under different power states is known. The process of AGV driving empty from the end point of the previous task to the starting point of the current task and the process of driving loaded from the starting point of the current task to the end point are regarded as one calculation cycle, which is divided into four cycle modes: unloading first and then loading, unloading first and then unloading, loading first and then unloading, and loading first and then loading; C pv (t) represents the power of the AGV after it finishes charging at the end point p of the unloading task, C qv (t) is the power of the AGV after charging at the starting point q of the loading task; C v (t)=C v1 (t)+C v2 (t)+C v3 (t)+C v4 (t) (12) Formula (7) represents the decision variable, Formula (8) represents the remaining power of AGV under the first cycle type, Formula (9) represents the remaining power of AGV under the second cycle type, Formula (10) represents the remaining power of AGV under the third cycle type, Formula (11) represents the remaining power of AGV under the fourth cycle type, and Formula (12) represents the remaining power C of AGV under different cycle modes. v (t); Get the remaining power C of AGV v (t), determine the charging range of the remaining power of the AGV and arrange a suitable charging method for it; Formula (13) indicates that the maximum power consumption of all tasks in the system should not exceed the difference between the maximum battery capacity of the AGV and the conservative charging interval threshold. Formula (14) indicates the charging interval in which the remaining power of the AGV is located. Formula (15) indicates the charging amount in the conservative charging interval. Formula (16) indicates the charging amount in the first-layer progressive charging interval. Formula (17) indicates the charging amount in the second-layer progressive charging interval. C pv (t)=C v (t)+ΔB n (18) C qv (t)=C v (t)+ΔB n (19) Formula (18) and (19) represent the power state of AGV after charging. Formula (20) represents the charging time of AGV. Formula (21) represents the loaded driving time of AGVv from the starting point to the end point of task n. Formula (22) represents the unloaded driving time of AGVv between the end point of the previous task and the starting point of the next task. Formula (23) represents the completion time of AGV operation, which is composed of total loaded time, total unloaded time, charging time and waiting time.

5. The optimization method for AGV charging scheduling in an automated container terminal according to claim 4 is characterized in that: The adaptive genetic algorithm designed to dynamically adjust parameters in step 2) solves the AGV charging scheduling mathematical model, and the specific steps are: (1) Encoding and decoding: The chromosome is encoded by real number matrix encoding, with a possible task scheduling scheme as an individual and the total scheduling scheme as a population. The total number of loading and unloading tasks N determines the length of the chromosome, and the length of all chromosomes in the initial population and the new population is N. The codes [1, K], [1, V] and [1, R] are randomly generated to represent the numbers of QC, AGV and YC on the gene, ensuring that there is at least one task on each device. (2) Initialize the population: The population is represented by NIND, and the task sequence of each individual is randomly generated. Tasks coded as 1 to N / 2 represent unloading tasks, and tasks coded as N / 2+1 to N represent loading tasks. The population is initialized for all the operating equipment at different stages of the task. (3) Fitness function: The fitness value is expressed by the inverse of the objective function Ttotal, which includes the total load time, the total no-load time, the charging time and the waiting time. The fitness value calculation formula is: (4) Select operation: The random uniform selection method is used to select individuals in the population, and then the elite retention strategy is used to retain the individual structure with higher fitness in the population to the next generation of the population. Individuals are selected by simultaneously generating multiple equally spaced random pointers; (5) Adaptive crossover operation with dynamic adjustment of crossover probability: Based on the partial mapping crossover method, a dynamically adjusted adaptive crossover probability is proposed. According to the calculated crossover probability Pc, it is decided whether to perform a crossover operation on the selected individuals. The calculation formula is expressed as follows: The PMX method randomly selects two crossover points to determine the crossover region, creates a mapping relationship by crossing the gene fragments between the two points, and further corrects the resulting offspring; (6) Adaptive mutation operation that dynamically adjusts the mutation probability: Based on the uniform mutation method, a dynamically adjusted adaptive mutation probability is proposed to adjust the mutation probability according to the change of population diversity. The calculation formula is as shown in formula (26); Reinsert The elite insertion method is adopted to retain the parent individuals with the highest fitness and insert the new offspring population.

6. The optimization method for AGV charging scheduling in an automated container terminal according to claim 5 is characterized in that: The step 3) experiment has 3 groups, specifically: Experiment 1 determined the optimal parameter combination of IAGA through orthogonal experiments; Experiment 2 uses the IAGA solution model and adopts the shallow charge and discharge method to quickly complete the task and shallow charge and discharge as the goal. When the AGV is low on power, it can make full use of the waiting time to complete charging. And compare the AGV completion time and total charging time of the proposed charging model and method with the industrial threshold method; Experiment 3 sets loading and unloading tasks, takes AGV completion time, total charging time and AGV charging times as evaluation indicators, and determines that α1 and α2 that optimize terminal operation efficiency are 30% and 50% respectively.

Citation Information

Cited By

  • Intelligent guided vehicle charging control method and system based on fuzzy algorithm and medium thereof

    CN119821228A