Automatic instruction calculation method and system for train loading warehouse area materials
Using graph neural network technology to build a graph structure of train carriages and warehouse locations solves the problems of low efficiency and safety hazards during train loading, enables efficient and accurate loading operations, and reduces the use and risks of labor resources.
Patent Information
- Application Number
- CN202410108796.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2024-10-29
AI Technical Summary
The existing technology is inefficient and has safety risks during the train loading process. Especially when loading bagged and bulk mixed goods, it relies on manual operations and mechanized loading still requires manual verification of plans, resulting in a time-consuming and labor-intensive loading process and safety risks.
Graph neural network technology is used to construct the graph structure of train carriages and storage locations. The adjacent node information is extracted layer by layer through the graph neural network to generate complete loading instructions, solve the problem of selecting the matching relationship between carriages and storage locations, and match suction cup edges. Suction characteristics to reduce the rotation angle of the spreader.
It improves the efficiency and accuracy of train loading, saves labor resources, and reduces the risks of high-intensity labor and harsh environments, and has broad development and application prospects.
Smart Images

Figure CN118863733A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of loading technology, and in particular to an automatic instruction calculation method and system for loading materials in a train storage area. Background Art
[0002] At present, when train carriages need to be loaded with mixed bagged and bulk goods, the usual practice is to build warehouses on both sides of the railway. After the train carriage enters the warehouse, workers control the parking position, and then workers load the goods into the train carriage and manually lay the inner net. This manual loading method is not only inefficient, but also has safety hazards. In the existing technical solutions, although some links adopt mechanized loading, they still rely on manual verification of plans and distribution of instructions. The entire loading process is time-consuming and labor-intensive, the efficiency is not satisfactory, and there are also certain safety hazards.
[0003] In a Chinese patent document with publication number CN115947235A, a train loading anti-eccentric loading device, control method and carriage are disclosed. The device includes: an image acquisition and analysis system, a transmission control system, and an anti-sway device; the image acquisition and analysis system is used to capture the position images of the hanging objects and the train carriage, and obtain the position information of the hanging objects through image analysis; the transmission control system is used to issue instructions to control the carriage to move according to the position information of the hanging objects fed back by the image acquisition and analysis system, so that the position of the hanging objects reaches the required landing point position requirement; the anti-sway device is arranged on the carriage to stabilize the hanging objects. However, this patent document is mainly for preventing the occurrence of eccentric loading during the loading process, and still cannot solve the above-mentioned problems. Summary of the invention
[0004] In view of the defects in the prior art, the object of the present invention is to provide a method and system for automatically calculating instructions for materials in a train loading area.
[0005] According to the present invention, a method for calculating automatic instructions for loading materials in a train storage area includes:
[0006] Step S1: Collect and process relevant data;
[0007] The data includes loading plans and constraints for rail cars;
[0008] Step S2: Obtain evaluation results based on graph neural network;
[0009] Step S3: Calculate the parameters of the storage location unit in the preset storage location and generate a complete loading instruction.
[0010] Preferably, step S1 includes the following sub-steps:
[0011] Step S1.1: Collect the loading plans of all train carriages, and split the loading plans into specific loading requirements in the carriages according to the constraints; the loading plans include different material specifications and different material quantities; the constraints include load balance requirements; the specific loading requirements include specified material specifications, material quantities, material layer numbers, positions within material layers, and order within material layers;
[0012] Step S1.2: According to the material specifications and material quantities required for specific loading in the carriage, the material specifications and material quantities stored in the storage locations in the storage area are searched to obtain a many-to-many matching relationship between carriages and storage locations.
[0013] Preferably, step S2 includes the following sub-steps:
[0014] Step S2.1: construct a bipartite graph of the carriage node set and the storage location node set;
[0015] Among them, the carriage node set Location node collection The set of connected edges with matching relationship E={(c i ,s j ),...};
[0016] When c i and j The edge exists when there are matching material specifications and quantities;
[0017] Among them, c i is the information vector of the ith carriage, which includes the three-dimensional coordinates and the number of installed floors; s j is the information vector of the jth storage location, which includes the three-dimensional coordinates, the number of remaining layers and the material storage time; 1≤i≤N C , 1≤j≤N S , N C is the number of all carriages, N S is the quantity of all storage locations;
[0018] Step S2.2: Based on the graph structure, calculate the adjacent node aggregation information of the car node;
[0019] Starting from a car node, find the storage location node with a connecting edge, calculate the information returned from the storage location node to the car node and use it as the first information, and:
[0020] m c←s =W1h s +W2f(h c ,h s );
[0021] Starting from a certain carriage node, find all the storage location nodes with connecting edges, calculate several first information, add the results of the first information as the second information, and:
[0022]
[0023] Calculate the information returned from the car node to the car itself as the third information, and:
[0024] m c←c =W3h c ;
[0025] Based on the second and third information, convolution calculations are performed on car nodes that are close to each other in physical space, and the obtained results are used as the adjacent node aggregation information of the car nodes:
[0026]
[0027] Among them, m c←s is the first information, indicating the characteristics from the storage location node s to the carriage node c; m c←c is the third information, indicating the characteristics of the connection reserved by the car node c itself; c is the node representation of the carriage node; h s It is the node representation of the storage location node; n c Aggregate information of the neighboring nodes of the car node; function f(·) calculates h c and h s The function g(·) is a convolution calculation, which introduces the local features in the car point set; W1, W2, W3 are trainable weight matrices;
[0028] Step S2.3: In the graph neural network, based on the aggregation information of the adjacent nodes of the car node, the node representation of the car node is updated and propagated to the next layer of the network:
[0029]
[0030] in, is the node representation of the l+1th layer car node, Aggregate information of neighboring nodes of the car node at the lth layer, W (l) is the trainable weight matrix of layer l, b (l) is the bias parameter of the lth layer, and the function σ(·) is the activation function;
[0031] Step S2.4: Balance the characteristics of the propagation network, integrate the node representations of the car nodes at each layer, and obtain the final node representation of the car nodes:
[0032]
[0033] in, is the final node representation of the car node, α (l) is the trainable parameter of the lth layer, L is the total number of layers of the propagation network, is the node representation of the car node at the lth layer;
[0034] Step S2.5: Calculate the final node representation of the storage location node
[0035] Step S2.6: Calculate the similarity between the final node representation of the carriage node and the final node representation of the storage location node, and use the obtained evaluation result as the selected storage location.
[0036] Preferably, step S3 includes the following sub-steps:
[0037] Step S3.1: In the selected storage location, calculate the storage location unit whose suction cup side suction characteristics meet the carriage loading conditions;
[0038] Step S3.2: Use the storage unit as the instruction lifting position and the specific position in the carriage as the instruction unloading position to generate a complete loading instruction.
[0039] Preferably, the step S3.1 includes the following sub-steps:
[0040] Step S3.1.1: Obtain the specification attributes of the topmost storage unit of the selected storage area stack, and calculate the side suction range of the storage unit according to the side suction characteristics of the suction cup; the side suction characteristics of the suction cup include the suction mode of the suction cup when unloading the bar; the suction mode includes left alignment or right alignment; the side suction range includes the side suction characteristic set;
[0041] Step S3.1.2: Obtain the specific loading requirements in the carriage, and calculate the side suction range on the premise of not touching the carriage;
[0042] Step S3.1.3: Match the side suction range of the storage unit with the side suction range in the carriage and adjust the side suction direction.
[0043] According to the present invention, an automatic instruction calculation system for loading materials in a train storage area includes:
[0044] Module M1: Collect and process relevant data;
[0045] The data includes loading plans and constraints for rail cars;
[0046] Module M2: Obtain evaluation results based on graph neural network;
[0047] Module M3: Calculate the parameters of the storage unit in the preset storage location and generate complete loading instructions.
[0048] Preferably, the module M1 includes the following submodules:
[0049] Module M1.1: Collect the loading plans of all train carriages, and split the loading plans into specific loading requirements in the carriages according to the constraints; the loading plans include different material specifications and different material quantities; the constraints include load balance requirements; the specific loading requirements include specified material specifications, material quantities, material layer numbers, positions within material layers, and order within material layers;
[0050] Module M1.2: According to the material specifications and material quantities required for specific loading in the carriage, find the material specifications and material quantities stacked in the storage locations in the warehouse area, and obtain a many-to-many matching relationship between carriages and storage locations.
[0051] Preferably, the module M2 includes the following submodules:
[0052] Module M2.1: Construct a bipartite graph of the carriage node set and the storage location node set;
[0053] Among them, the carriage node set Location node collection The set of connected edges with matching relationship E={(c i ,s j ),...};
[0054] When c i and j The edge exists when there are matching material specifications and quantities;
[0055] Among them, c i is the information vector of the ith carriage, which includes the three-dimensional coordinates and the number of installed floors; s j is the information vector of the jth storage location, which includes the three-dimensional coordinates, the number of remaining layers and the material storage time; 1≤i≤N C , 1≤j≤N S , N C is the number of all carriages, N S is the quantity of all storage locations;
[0056] Module M2.2: Based on the graph structure, calculate the adjacent node aggregation information of the car node;
[0057] Starting from a car node, find the storage location node with a connecting edge, calculate the information returned from the storage location node to the car node and use it as the first information, and:
[0058] m c←s =W1h s +W2f(h c ,h s );
[0059] Starting from a certain carriage node, find all the storage location nodes with connecting edges, calculate several first information, add the results of the first information as the second information, and:
[0060]
[0061] Calculate the information returned from the car node to the car itself as the third information, and:
[0062] m c←c =W3h c ;
[0063] Based on the second and third information, convolution calculations are performed on car nodes that are close to each other in physical space, and the obtained results are used as the adjacent node aggregation information of the car nodes:
[0064]
[0065] Among them, m c←s is the first information, indicating the characteristics from the storage location node s to the carriage node c; m c←c is the third information, indicating the characteristics of the connection reserved by the car node c itself; c is the node representation of the carriage node; h s It is the node representation of the storage location node; n c Aggregate information of the neighboring nodes of the car node; function f(·) calculates h c and h s The function g(·) is a convolution calculation, which introduces the local features in the car point set; W1, W2, W3 are trainable weight matrices;
[0066] Module M2.3: In the graph neural network, the node representation of the car node is updated based on the aggregation information of the adjacent nodes of the car node, and propagated to the next layer of the network:
[0067]
[0068] in, is the node representation of the l+1th layer car node, Aggregate information of neighboring nodes of the car node at the lth layer, W (l) is the trainable weight matrix of layer l, b (l) is the bias parameter of the lth layer, and the function σ(·) is the activation function;
[0069] Module M2.4: Balance the characteristics of the propagation network, integrate the node representations of the car nodes at each layer, and obtain the final node representation of the car nodes:
[0070]
[0071] in, is the final node representation of the car node, α (l) is the trainable parameter of the lth layer, L is the total number of layers of the propagation network, is the node representation of the car node at the lth layer;
[0072] Module M2.5: Calculate the final node representation of the storage location node
[0073] Module M2.6: Calculate the similarity between the final node representation of the carriage node and the final node representation of the storage location node, and use the obtained evaluation result as the selected storage location.
[0074] Preferably, the module M3 includes the following submodules:
[0075] Module M3.1: In the selected storage location, calculate the storage unit whose suction cup side suction characteristics meet the loading conditions of the carriage;
[0076] Module M3.2: Use the storage unit as the instruction lifting position and the specific position in the carriage as the instruction unloading position to generate a complete loading instruction.
[0077] Preferably, the module M3.1 includes the following submodules:
[0078] Module M3.1.1: Obtain the specification attributes of the topmost storage unit of the selected storage area stack, and calculate the side suction range of the storage unit according to the side suction characteristics of the suction cup; the side suction characteristics of the suction cup include the suction method of the suction cup when unloading the bar; the suction method includes left alignment or right alignment; the side suction range includes the side suction characteristic set;
[0079] Module M3.1.2: Obtain the specific loading requirements in the carriage and calculate the side suction range without touching the carriage;
[0080] Module M3.1.3: Match the side suction range of the storage unit with the side suction range in the carriage and adjust the side suction direction.
[0081] Compared with the prior art, the present invention has the following beneficial effects:
[0082] 1. The present invention solves the problem of selecting the matching relationship between carriages and storage locations by constructing a graph structure of carriages and storage locations and extracting information of adjacent nodes layer by layer through a graph neural network; by matching the edge suction characteristics of the suction cup, the interference problem around the suction position is solved, and the rotation angle of the sling is also reduced.
[0083] 2. The present invention improves the efficiency and accuracy of train loading, saves labor resources, and liberates workers from high-intensity labor and harsh working environments. It has a relatively broad development and application prospect.
[0084] Other beneficial effects of the present invention will be explained in the specific implementation manner through the introduction of specific technical features and technical solutions. Through the introduction of these technical features and technical solutions, those skilled in the art should be able to understand the beneficial technical effects brought about by the technical features and technical solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0086] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION
[0087] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0088] Reference Figure 1 As shown, a method for calculating automatic instructions for loading materials in a train storage area includes:
[0089] First, receive the loading plans of all train carriages, and split the loading plans into specific loading requirements in the carriages according to the constraints. The loading plans include different material specifications and quantities; the constraints include requirements such as load balance; and the specific loading requirements include specified material specifications, quantities, layer numbers, positions within layers, and order within layers.
[0090] According to the material specifications and quantities required for specific loading in the carriage, the material specifications and quantities stacked in the storage locations in the storage area are searched to obtain a many-to-many matching relationship between carriages and storage locations.
[0091] According to the matching relationship between carriages and storage locations, the evaluation results are generated through graph neural network calculations.
[0092] The specific operations are as follows:
[0093] 1. Construct a bipartite graph of the carriage node set and the storage location node set.
[0094] Carriage Node Collection Location node combination The set of connected edges with matching relationship E={(c i,s j ),...}, when c i and j The edge exists when there are matching material specifications and quantities.
[0095] Among them, c i is the information vector of the i-th carriage, including but not limited to the X-axis coordinate, Y-axis coordinate, and Z-axis coordinate,
[0096] Number of installed layers, etc. j It is the information vector of the j-th storage location, including but not limited to the X-axis coordinate, Y-axis coordinate, Z-axis coordinate, number of remaining layers, material storage time, etc. 1≤i≤N C , 1≤j≤N S , N C is the number of all carriages, N S is the quantity of all locations.
[0097] 2. Based on the graph structure, calculate the adjacent node aggregation information of the car node.
[0098] Starting from the carriage node, find the storage location node with a connecting edge, and then calculate the information returned from the storage location node to the carriage node as the first information. The formula is as follows:
[0099] m c←s =W1h s +W2f(h c ,h s );
[0100] Starting from the carriage node, find all the storage location nodes with connecting edges, calculate several first information, and add the results as the second information. The formula is as follows:
[0101]
[0102] Calculate the information returned from the car node to itself as the third information. The formula is as follows:
[0103] m c←c =W3h c ;
[0104] Combining the second information and the third information, and performing convolution calculation on the car nodes that are close to each other in physical space, the result is used as the adjacent node aggregation information of the car node. The formula is as follows:
[0105]
[0106] Among them, m c←s is the first information, indicating the characteristics between the storage location node s and the carriage node c. c←cis the third information, indicating the characteristics that the car node c itself can retain. c is the node representation of the car node. s It is the node representation of the storage location node. c is the aggregated information of the adjacent nodes of the car node. Function f(·) is used to calculate h c and h s The correlation between them can be calculated using the Euclidean distance. The function g(·) is a convolution operation that introduces local features within the car point set. W1, W2, and W3 are trainable weight matrices.
[0107] 3. Update the node information of the car node in the graph neural network and propagate it.
[0108] According to the aggregation information of the adjacent nodes of the car node, the node representation of the car node is updated and propagated to the next layer of the network. The formula is as follows:
[0109]
[0110] in, It is the node representation of the car node on the l+1th layer. is the aggregated information of the adjacent nodes of the car node at the lth layer. (l) is the trainable weight matrix of layer l. (l) is the bias parameter of the lth layer. Function σ(·) is the activation function, including but not limited to ReLU, LeakyReLU, etc.
[0111] 4. Final node representation of the carriage node.
[0112] The individual characteristics of the lower-level networks and the neighbor characteristics of the higher-level networks in the propagation network are balanced, and the node representations of the car nodes at each layer are integrated to obtain the final node representation of the car nodes. The formula is as follows:
[0113]
[0114] in, is the final node representation of the car node. (l) is the trainable parameter of the lth layer. L is the total number of layers in the propagation network.
[0115] 5. Use the same method to get the final node representation of the storage location node
[0116] 6. Calculate the similarity between the final node representation of the carriage node and the final node representation of the storage location node, and then compare it with the set threshold to obtain the evaluation result as the selected storage location. The formula is as follows:
[0117]
[0118] Among them, r c,s is the evaluation result of carriage node c and storage location node s, and θ is the set threshold.
[0119] In the selected storage location, calculate the storage unit whose suction cup edge suction characteristics meet the car loading conditions.
[0120] The specific steps are:
[0121] First, obtain the specification attributes of the topmost storage unit of the selected storage area stack; calculate the side suction range of the storage unit according to the side suction characteristics of the suction cup. The side suction characteristics of the suction cup refer to the suction method of the suction cup to be left-aligned or right-aligned when unloading the bar to ensure that it does not interfere with the surrounding area or guardrails of the suction position. The side suction range refers to the set of acceptable side suction characteristics.
[0122] Then, the specific loading requirements in the carriage are obtained, and the feasible side suction range is calculated under the premise of not touching the carriage. For example, the left position corresponds to the left suction, and the right position corresponds to the right suction, etc.
[0123] Finally, the side suction range P of the storage unit is matched with the side suction range Q in the carriage, and the rotation angle of the spreader is reduced by adjusting the side suction direction. The formula is as follows:
[0124] min(|k(p i )-k(q j )|);
[0125] Among them, p i is the i-th element of the side suction range P of the storage unit, q j It is the jth element of the side suction range Q in the carriage, and the function k(·) can obtain the corresponding angle of the spreader.
[0126] In combination with the above steps, the storage unit of the selected stack is used as the instruction lifting position, and the specific position in the selected carriage is used as the instruction unloading position to generate a complete loading instruction.
[0127] The present invention solves the problem of selecting the matching relationship between carriages and storage locations by constructing a graph structure of carriages and storage locations and extracting information of adjacent nodes layer by layer through a graph neural network; solves the interference problem around the suction position by matching the edge suction characteristics of the suction cup, and also reduces the rotation angle of the sling; improves the efficiency and accuracy of train loading, while saving labor resources and liberating workers from high-intensity labor and harsh working environments, and has a relatively broad development and application prospect.
[0128] The present invention also provides an automatic instruction calculation system for materials in a train loading area. The automatic instruction calculation system for materials in a train loading area can be implemented by executing the process steps of the automatic instruction calculation method for materials in a train loading area, that is, technical personnel in this field can understand the automatic instruction calculation method for materials in a train loading area as a preferred implementation of the automatic instruction calculation system for materials in a train loading area.
[0129] Specifically, an automatic instruction calculation system for loading materials in a train storage area includes:
[0130] Module M1: Collect and process relevant data;
[0131] The data includes loading plans and constraints for rail cars;
[0132] Module M2: Obtain evaluation results based on graph neural network;
[0133] Module M3: Calculate the parameters of the storage unit in the preset storage location and generate complete loading instructions.
[0134] The module M1 includes the following submodules:
[0135] Module M1.1: Collect the loading plans of all train carriages, and split the loading plans into specific loading requirements in the carriages according to the constraints; the loading plans include different material specifications and different material quantities; the constraints include load balance requirements; the specific loading requirements include specified material specifications, material quantities, material layer numbers, positions within material layers, and order within material layers;
[0136] Module M1.2: According to the material specifications and material quantities required for specific loading in the carriage, find the material specifications and material quantities stacked in the storage locations in the warehouse area, and obtain a many-to-many matching relationship between carriages and storage locations.
[0137] The module M2 includes the following submodules:
[0138] Module M2.1: Construct a bipartite graph of the carriage node set and the storage location node set;
[0139] Among them, the carriage node set Location node collection The set of connected edges with matching relationship E={(c i ,s j ),...};
[0140] When c i and j The edge exists when there are matching material specifications and quantities;
[0141] Among them, c iis the information vector of the ith carriage, which includes the three-dimensional coordinates and the number of installed floors; s j is the information vector of the jth storage location, which includes the three-dimensional coordinates, the number of remaining layers and the material storage time; 1≤i≤N C , 1≤j≤N S , N C is the number of all carriages, N S is the quantity of all storage locations;
[0142] Module M2.2: Based on the graph structure, calculate the adjacent node aggregation information of the car node;
[0143] Starting from a car node, find the storage location node with a connecting edge, calculate the information returned from the storage location node to the car node and use it as the first information, and:
[0144] m c←s =W1h s +W2f(h c ,h s );
[0145] Starting from a certain carriage node, find all the storage location nodes with connecting edges, calculate several first information, add the results of the first information as the second information, and:
[0146]
[0147] Calculate the information returned from the car node to the car itself as the third information, and:
[0148] m c←c =W3h c ;
[0149] Based on the second and third information, convolution calculations are performed on car nodes that are close to each other in physical space, and the obtained results are used as the adjacent node aggregation information of the car nodes:
[0150]
[0151] Among them, m c←s is the first information, indicating the characteristics from the storage location node s to the carriage node c; m c←c is the third information, indicating the characteristics of the connection reserved by the car node c itself; c is the node representation of the carriage node; h s It is the node representation of the storage location node; n c Aggregate information of the neighboring nodes of the car node; function f(·) calculates h c and h sThe function g(·) is a convolution calculation, which introduces the local features in the car point set; W1, W2, W3 are trainable weight matrices;
[0152] Module M2.3: In the graph neural network, the node representation of the car node is updated based on the aggregation information of the adjacent nodes of the car node, and propagated to the next layer of the network:
[0153]
[0154] in, is the node representation of the l+1th layer car node, Aggregate information of neighboring nodes of the car node at the lth layer, W (l) is the trainable weight matrix of layer l, b (l) is the bias parameter of the lth layer, and the function σ(·) is the activation function;
[0155] Module M2.4: Balance the characteristics of the propagation network, integrate the node representations of the car nodes at each layer, and obtain the final node representation of the car nodes:
[0156]
[0157] in, is the final node representation of the car node, α (l) is the trainable parameter of the lth layer, L is the total number of layers of the propagation network, is the node representation of the car node at the lth layer;
[0158] Module M2.5: Calculate the final node representation of the storage location node
[0159] Module M2.6: Calculate the similarity between the final node representation of the carriage node and the final node representation of the storage location node, and use the obtained evaluation result as the selected storage location.
[0160] The module M3 includes the following submodules:
[0161] Module M3.1: In the selected storage location, calculate the storage unit whose suction cup side suction characteristics meet the loading conditions of the carriage;
[0162] Module M3.2: Use the storage unit as the instruction lifting position and the specific position in the carriage as the instruction unloading position to generate a complete loading instruction.
[0163] The module M3.1 includes the following submodules:
[0164] Module M3.1.1: Obtain the specification attributes of the topmost storage unit of the selected storage area stack, and calculate the side suction range of the storage unit according to the side suction characteristics of the suction cup; the side suction characteristics of the suction cup include the suction method of the suction cup when unloading the bar; the suction method includes left alignment or right alignment; the side suction range includes the side suction characteristic set;
[0165] Module M3.1.2: Obtain the specific loading requirements in the carriage and calculate the side suction range without touching the carriage;
[0166] Module M3.1.3: Match the side suction range of the storage unit with the side suction range in the carriage and adjust the side suction direction.
[0167] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.
[0168] In the description of the present application, it should be understood that the terms "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0169] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A method for calculating automatic instructions for loading materials in a train storage area, It is characterized in that include: Step S1: Collect and process relevant data; The data includes loading plans and constraints for rail cars; Step S2: Obtain evaluation results based on graph neural network; Step S3: Calculate the parameters of the storage location unit in the preset storage location and generate a complete loading instruction.
2. According to claim 1, a method for calculating automatic instructions for loading materials in a train storage area, It is characterized in that The step S1 comprises the following sub-steps: Step S1.1: Collect the loading plans of all train carriages, and split the loading plans into specific loading requirements in the carriages according to the constraints; the loading plans include different material specifications and different material quantities; the constraints include load balance requirements; the specific loading requirements include specified material specifications, material quantities, material layer numbers, positions within material layers, and order within material layers; Step S1.2: According to the material specifications and material quantities required for specific loading in the carriage, the material specifications and material quantities stored in the storage locations in the storage area are searched to obtain a many-to-many matching relationship between carriages and storage locations.
3. The automatic instruction calculation method for loading materials in a train storage area according to claim 1, It is characterized in that The step S2 comprises the following sub-steps: Step S2.1: construct a bipartite graph of the carriage node set and the storage location node set; Among them, the carriage node set Location node collection The set of connected edges with matching relationship E={(c i ,s j ),...}; When c i and j The edge exists when there are matching material specifications and quantities; Among them, c i is the information vector of the ith carriage, which includes the three-dimensional coordinates and the number of installed floors; s j is the information vector of the jth storage location, which includes the three-dimensional coordinates, the number of remaining layers and the material storage time; 1≤i≤N C , 1≤j≤N S , N C is the number of all carriages, N S is the quantity of all storage locations; Step S2.2: Based on the graph structure, calculate the adjacent node aggregation information of the car node; Starting from a car node, find the storage location node with a connecting edge, calculate the information returned from the storage location node to the car node and use it as the first information, and: m c←s =W 1 h s +W 2 f(h c ,h s ); Starting from a certain carriage node, find all the storage location nodes with connecting edges, calculate several first information, add the results of the first information as the second information, and: Calculate the information returned from the car node to the car itself as the third information, and: m c←c =W 3 h c ; Based on the second and third information, convolution calculations are performed on car nodes that are close to each other in physical space, and the obtained results are used as the adjacent node aggregation information of the car nodes: Among them, m c←s is the first information, indicating the characteristics from the storage location node s to the carriage node c; m c←c is the third information, indicating the characteristics of the connection reserved by the car node c itself; c is the node representation of the carriage node; h s It is the node representation of the storage location node; n c Aggregate information of the neighboring nodes of the car node; function f(·) calculates h c and h s The function g(·) is a convolution calculation, which introduces the local features in the car point set; W 1 , W 2 , W 3 is the trainable weight matrix; Step S2.3: In the graph neural network, based on the aggregation information of the adjacent nodes of the car node, the node representation of the car node is updated and propagated to the next layer of the network: in, is the node representation of the l+1th layer car node, Aggregate information of neighboring nodes of the car node at the lth layer, W (l) is the trainable weight matrix of layer l, b (l) is the bias parameter of the lth layer, and the function σ(·) is the activation function; Step S2.4: Balance the characteristics of the propagation network, integrate the node representations of the car nodes at each layer, and obtain the final node representation of the car nodes: in, is the final node representation of the car node, α (l) is the trainable parameter of the lth layer, L is the total number of layers of the propagation network, is the node representation of the car node at the lth layer; Step S2.5: Calculate the final node representation of the storage location node Step S2.6: Calculate the similarity between the final node representation of the carriage node and the final node representation of the storage location node, and use the obtained evaluation result as the selected storage location.
4. The method for calculating automatic instructions for loading materials in a train storage area according to claim 3, It is characterized in that The step S3 comprises the following sub-steps: Step S3.1: in the selected storage location, calculate the storage location unit whose suction cup side suction characteristics meet the carriage loading conditions; Step S3.2: Use the storage unit as the instruction lifting position and the specific position in the carriage as the instruction unloading position to generate a complete loading instruction.
5. The method for calculating automatic instructions for loading materials in a train storage area according to claim 4, It is characterized in that The step S3.1 includes the following sub-steps: Step S3.1.1: Obtain the specification attributes of the topmost storage unit of the selected storage area stack, and calculate the side suction range of the storage unit according to the side suction characteristics of the suction cup; the side suction characteristics of the suction cup include the suction mode of the suction cup when unloading the bar; the suction mode includes left alignment or right alignment; the side suction range includes the side suction characteristic set; Step S3.1.2: Obtain the specific loading requirements in the carriage, and calculate the side suction range on the premise of not touching the carriage; Step S3.1.3: Match the side suction range of the storage unit with the side suction range in the carriage and adjust the side suction direction.
6. An automatic instruction calculation system for loading materials from a train storage area, It is characterized in that include: Module M1: Collect and process relevant data; The data includes loading plans and constraints for rail cars; Module M2: Obtain evaluation results based on graph neural network; Module M3: Calculate the parameters of the storage unit in the preset storage location and generate complete loading instructions.
7. The automatic instruction calculation system for loading materials in a train storage area according to claim 6, It is characterized in that The module M1 includes the following submodules: Module M1.1: Collect the loading plans of all train carriages, and split the loading plans into specific loading requirements in the carriages according to the constraints; the loading plans include different material specifications and different material quantities; the constraints include load balance requirements; the specific loading requirements include specified material specifications, material quantities, material layer numbers, positions within material layers, and order within material layers; Module M1.2: According to the material specifications and material quantities required for specific loading in the carriage, find the material specifications and material quantities stacked in the storage locations in the warehouse area, and obtain a many-to-many matching relationship between carriages and storage locations.
8. The automatic instruction calculation system for loading materials in a train storage area according to claim 6, It is characterized in that The module M2 includes the following submodules: Module M2.1: Construct a bipartite graph of the carriage node set and the storage location node set; Among them, the carriage node set Location node collection The set of connected edges with matching relationship E={(c i ,s j ),...}; When c i and j The edge exists when there are matching material specifications and quantities; Among them, c i is the information vector of the ith carriage, which includes the three-dimensional coordinates and the number of installed floors; s j is the information vector of the jth storage location, which includes the three-dimensional coordinates, the number of remaining layers and the material storage time; 1≤i≤N C , 1≤j≤N S , N C is the number of all carriages, N S is the quantity of all storage locations; Module M2.2: Based on the graph structure, calculate the adjacent node aggregation information of the car node; Starting from a car node, find the storage location node with a connecting edge, calculate the information returned from the storage location node to the car node and use it as the first information, and: m c←s =W 1 h s +W 2 f(h c ,h s ); Starting from a certain carriage node, find all the storage location nodes with connecting edges, calculate several first information, add the results of the first information as the second information, and: Calculate the information returned from the car node to the car itself as the third information, and: m c←c =W 3 h c ; Based on the second and third information, convolution calculations are performed on car nodes that are close to each other in physical space, and the obtained results are used as the adjacent node aggregation information of the car nodes: Among them, m c←s is the first information, indicating the characteristics from the storage location node s to the carriage node c; m c←c is the third information, indicating the characteristics of the connection reserved by the car node c itself; c is the node representation of the carriage node; h s It is the node representation of the storage location node; n c Aggregate information of the neighboring nodes of the car node; function f(·) calculates h c and h s The function g(·) is a convolution calculation, which introduces the local features in the car point set; W 1 , W 2 , W 3 is the trainable weight matrix; Module M2.3: In the graph neural network, the node representation of the car node is updated based on the aggregation information of the adjacent nodes of the car node, and propagated to the next layer of the network: in, is the node representation of the l+1th layer car node, Aggregate information of neighboring nodes of the car node at the lth layer, W (l) is the trainable weight matrix of layer l, b (l) is the bias parameter of the lth layer, and the function σ(·) is the activation function; Module M2.4: Balance the characteristics of the propagation network, integrate the node representations of the car nodes at each layer, and obtain the final node representation of the car nodes: in, is the final node representation of the car node, α (l) is the trainable parameter of the lth layer, L is the total number of layers of the propagation network, is the node representation of the car node at the lth layer; Module M2.5: Calculate the final node representation of the storage location node Module M2.6: Calculate the similarity between the final node representation of the carriage node and the final node representation of the storage location node, and use the obtained evaluation result as the selected storage location.
9. The automatic instruction calculation system for loading materials in a train storage area according to claim 8, It is characterized in that The module M3 includes the following submodules: Module M3.1: In the selected storage location, calculate the storage unit whose suction cup side suction characteristics meet the loading conditions of the carriage; Module M3.2: Use the storage unit as the instruction lifting position and the specific position in the carriage as the instruction unloading position to generate a complete loading instruction.
10. The automatic instruction calculation system for loading materials in a train storage area according to claim 9, It is characterized in that The module M3.1 includes the following submodules: Module M3.1.1: Obtain the specification attributes of the topmost storage unit of the selected storage area stack, and calculate the side suction range of the storage unit according to the side suction characteristics of the suction cup; the side suction characteristics of the suction cup include the suction method of the suction cup when unloading the bar; the suction method includes left alignment or right alignment; the side suction range includes the side suction characteristic set; Module M3.1.2: Obtain the specific loading requirements in the carriage and calculate the side suction range without touching the carriage; Module M3.1.3: Match the side suction range of the storage unit with the side suction range in the carriage and adjust the side suction direction.
