A method for assembly line variant path planning based on hybrid data and knowledge drive

Through multi-dimensional modeling and hybrid-driven assembly line variant path planning methods, using graph neural networks and deep reinforcement learning, combined with expert knowledge and physical mechanisms, the multi-dimensional relationship capture and model cold start problems in assembly line change management are solved, and the accuracy of path planning and production efficiency are improved.

CN119148615BActive Publication Date: 2025-09-09GUANGDONG UNIV OF TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411272362.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2025-09-09
Estimated Expiration
2044-09-11

AI Technical Summary

Technical Problem

Existing metaheuristic algorithms have difficulty capturing multi-dimensional change relationships when dealing with assembly line change management, have difficulty in cold-starting the model, and have static resource allocation and lack of dynamic adjustment, resulting in poor optimization results and limited efficiency.

Method used

A data- and knowledge-based hybrid-driven approach is adopted to build a variant path planning model through multi-dimensional change modeling, graph neural networks, and deep reinforcement learning. Combined with expert knowledge and physical mechanism models, reward function optimization and Q-value update are performed to achieve optimal path search.

Benefits of technology

It improves the accuracy and flexibility of assembly line variant path planning, reduces dependence on large amounts of training data, enhances the adaptability and robustness of the model, and improves production efficiency and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119148615B_ABST
    Figure CN119148615B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for assembly line variant path planning based on a hybrid drive of data and knowledge. Through multi-dimensional change modeling, it can handle more complex assembly line change transmission problems, capture complex relationships within the system, and improve the accuracy and effectiveness of variant path planning. By utilizing a multi-agent deep reinforcement learning method of a graph neural network and designing a customized reward function, it can avoid the problem of traditional methods easily falling into local optimality and find the global optimal solution. By combining expert knowledge and physical mechanism models with data-driven methods, the dependence on large amounts of training data can be reduced, the performance of the model in small data conditions can be improved, and the cold start problem can be solved. By hybrid driving of simulation data and empirical knowledge, rapid modeling of virtual-to-real mapping of the assembly process can be achieved, the modeling time can be shortened, the real-time performance and flexibility of the model can be improved, and it can adapt to the rapidly changing production environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of assembly line modification, and in particular to a method for planning assembly line modification paths based on a hybrid drive of data and knowledge. Background Art

[0002] As an advanced optimization method, metaheuristic algorithms are widely used in various complex problem-solving scenarios, including engineering design, production scheduling, network optimization, machine learning, and finance. By simulating biological behavior or physical phenomena in nature, they provide global search strategies to find approximate optimal solutions in space. However, despite their versatility and flexibility, this approach still has limitations when dealing with high-dimensional and complex environments, especially in assembly line change management. It is limited to processing Euclidean spatial data, making it difficult to fully capture multi-dimensional change relationships, resulting in poor optimization results. Furthermore, with limited data, the model is difficult to cold-start, affecting initial performance. Resource allocation is static and lacks dynamic adjustment, limiting efficiency. Summary of the Invention

[0003] The purpose of the present invention is to overcome the deficiencies of the prior art and provide an assembly line variant path planning method based on a hybrid drive of data and knowledge.

[0004] To achieve the above objectives, the technical solutions provided by the present invention are:

[0005] A data- and knowledge-driven assembly line variant path planning method includes:

[0006] S1. Perform multi-dimensional change modeling and establish a directed graph G of the assembly line;

[0007] S2. Based on the directed graph G, a variant path planning model is constructed using graph neural networks and deep reinforcement learning;

[0008] S3, optimizing the assembly line change path in the variant path planning model through the reward function;

[0009] S4. Use the deep Q network to train the variant path planning model after the reward function is optimized, and search for the optimal variant path by continuously iteratively updating the Q value;

[0010] S5. Integrate expert knowledge and physical mechanism models into the variant path planning model that has been trained by the deep Q network;

[0011] S6. Perform forward and reverse optimization on the variant path planning model obtained in step S5 according to different optimization objectives. If forward optimization is performed, the final variant path planning model is obtained after forward optimization, and the process proceeds to step S7. If reverse optimization is performed, the process returns to step S1 after reverse optimization.

[0012] S7. Use the final variant path planning model to perform assembly line variant path planning.

[0013] Furthermore, multi-dimensional change modeling is performed, including:

[0014] Data collection and preprocessing:

[0015] Collect relevant data in the assembly line, including equipment information, work-in-progress information, connection relationships between equipment, and production task and process data;

[0016] Preprocess the collected data, including data cleaning, standardization and normalization, and store them in a unified format;

[0017] Node feature construction:

[0018] Model each piece of equipment and work-in-progress in the assembly line as a node of a directed graph G;

[0019] Assign characteristics to each node, including the type, status, processing capacity, location, energy consumption of the equipment, and the type, processing stage, size, and weight of the work-in-progress;

[0020] Organize the node feature matrix X so that it reflects the characteristics of each node in the assembly line;

[0021] Edge feature construction:

[0022] The relationships between equipment in the assembly line and the work-in-process logistics are modeled as edges of a directed graph G.

[0023] Assign characteristics to each edge, including logistics frequency, logistics time, logistics cost, connection strength between devices, accessibility, and transmission delay;

[0024] Organize the edge feature matrix A to reflect the characteristics of each edge in the assembly line;

[0025] Establishing the graph structure:

[0026] Combine the node feature matrix X and the edge feature matrix A to build a directed graph G of the assembly line.

[0027] Furthermore, a variant path planning model is constructed, including:

[0028] Through graph neural networks, the change transfer relationship is encoded and the features of nodes and edges in the directed graph G are extracted;

[0029] Use deep reinforcement learning algorithm for optimization, select the optimal path for change, and obtain a variant path planning model.

[0030] Furthermore, the formula for extracting node features is:

[0031]

[0032] in, is the feature representation of node v at layer t; N(v) is the set of neighbor nodes of node v; W (t) and are the weight matrices of nodes and edges respectively; Ω is the nonlinear activation function.

[0033] Furthermore, the reward function is a reward function based on time minimization, and the shorter the change propagation time, the higher the reward value;

[0034] The function formula is as follows:

[0035]

[0036] Among them, R(s t ,a t ) is in state s t Next select action a t The reward value of P(a t ) is the selection action a t The path obtained after T (u,v) is the change propagation time from node u to node v.

[0037] Furthermore, the Q value update formula is as follows:

[0038] Q(s t ,a t )←Q(s t ,a t )+α[R(s t ,a t )+γ·max α′ Q(s t+1 ,α')-Q(s t ,a t )]

[0039] Among them, Q(s t ,a t ) is in state s t Next select action a t Q value; α is the learning rate; γ is the discount factor s t+1 To perform action a t The next state after max α' Q(s t+1 ,α') is the maximum Q value of the next state.

[0040] Furthermore, the expert knowledge and physical mechanism model are integrated into the variant path planning model that has been trained by the deep Q network. The loss function of the fused variant path planning model is as follows:

[0041]

[0042] in, is the loss function of the fusion model; is the loss function for reinforcement learning; is the loss function of expert knowledge and physical mechanism model; λ is the weight coefficient.

[0043] Furthermore, forward optimization is an indicator prediction optimization, including:

[0044] Use equipment as graph nodes and work-in-process logistics as edges to perform graph regression or node regression;

[0045] Predict node influence and logistics intensity indicators, and evaluate the impact of node and edge characteristics on the overall performance of the assembly line;

[0046] The formula of the regression loss function is as follows:

[0047]

[0048] in, is the regression loss function; y v is the true value; is the predicted value.

[0049] Furthermore, reverse optimization is self-organizing pattern improvement optimization, including:

[0050] The equipment and product manufacturing features are used as graph nodes, and the number of matching processes between the equipment and manufacturing features is used as the edge weight;

[0051] Perform matrix completion and connection prediction to achieve proactive “node-task” matching solution recommendation and supplement;

[0052] The formula for the connection prediction loss function is as follows:

[0053]

[0054] in, is the connection prediction loss function; A uv is the actual edge; is the predicted edge probability.

[0055] Compared with the existing technology, the principles and advantages of this technical solution are as follows:

[0056] 1. Through multi-dimensional change modeling, it can handle more complex assembly line change delivery problems, capture complex relationships within the system, and improve the accuracy and effectiveness of variant path planning.

[0057] 2. By using the multi-agent deep reinforcement learning method of graph neural networks and designing customized reward functions, we can avoid the problem of traditional methods easily falling into local optimality and find the global optimal solution.

[0058] 3. By combining expert knowledge and physical mechanism models with data-driven methods, we can reduce the dependence on large amounts of training data, improve the performance of the model in small data situations, and solve the cold start problem.

[0059] 4. Through the hybrid drive of simulation data and empirical knowledge, rapid modeling of virtual-reality mapping of the assembly process can be achieved, shortening the modeling time, improving the real-time performance and flexibility of the model, and adapting to the rapidly changing production environment.

[0060] 5. Based on the differences between forward and reverse optimization goals, modeling of indicator prediction and self-organizing pattern improvement is performed respectively to improve the accuracy of optimization and meet different optimization needs.

[0061] 6. Integrating expert knowledge and physical mechanisms into a variant path planning model that has been trained with a deep Q-network can enhance the model's adaptability and robustness, improving its performance in different environments and working conditions.

[0062] 7. Through matrix completion and connection prediction, it is possible to recommend solutions for active “node-task” matching, improve resource utilization and production efficiency, and make up for the shortcomings of traditional methods in task allocation. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the services required for use in the embodiments or the prior art descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0064] Figure 1 This is a principle flow chart of an assembly line variant path planning method based on a hybrid drive of data and knowledge according to the present invention;

[0065] Figure 2 It is a schematic diagram of the assembly line graph structure and its optimization target;

[0066] Figure 3 Schematic diagram of graph neural network perception. DETAILED DESCRIPTION

[0067] The present invention will be further described below in conjunction with specific embodiments:

[0068] like Figures 1 to 3As shown, the method for planning assembly line variant paths based on a hybrid drive of data and knowledge described in this embodiment includes the following steps:

[0069] S1. Perform multi-dimensional change modeling and establish a directed graph G of the assembly line;

[0070] In this step, multi-dimensional change modeling is performed, including:

[0071] Data collection and preprocessing:

[0072] Collect relevant data on the assembly line, including equipment information (equipment type, status, processing capacity, location, energy consumption, etc.), work-in-progress information (type, processing stage, size, weight, etc.), connections between equipment (logistics frequency, logistics time, logistics cost, etc.), and production task and process data;

[0073] Preprocess the collected data, including data cleaning (removing outliers and missing values), standardization and normalization, and store them in a unified format;

[0074] On the assembly line, each device and work-in-progress is modeled as a node set V in the graph G(V,E), while the transfer relationship between devices and the work-in-progress logistics is modeled as an edge set E. The mathematical expression of the model is:

[0075] G(V,E)

[0076] V={v1,v2……,v n}

[0077] E={(v i ,v j )|v i ,v j eV}

[0078] Among them, G is the directed graph of the assembly line, V is the node set of equipment and work-in-progress, and E is the directed edge set of change transfer relations.

[0079] In the multi-dimensional change modeling step, each piece of equipment and work-in-progress on the assembly line is modeled as a graph G(V,E). By capturing the characteristics of nodes and edges, the complex change transmission relationships in the assembly line are reflected. The detailed process is as follows:

[0080] Node feature construction:

[0081] In an assembly line, each device and work-in-progress (item being processed) can be considered a node. Some features need to be set for each node to describe its properties.

[0082] Node Feature Example

[0083] Equipment characteristics: type (e.g., robot, conveyor belt), status (normal or faulty), capacity (how much work it can handle), location (where in the assembly line it is located), energy consumption (how much electricity it uses).

[0084] Work-in-progress characteristics: type (e.g., Part A, Part B), stage of processing (just beginning, in the middle, almost finished), size, weight.

[0085] Node feature matrix

[0086] Assume there are 4 nodes (devices or work-in-progress), each with 3 features. Here is an example feature matrix:

[0087]

[0088] In this matrix:

[0089] The Type column indicates the type of node (1 for equipment, 0 for work in progress).

[0090] The Status column indicates the status of the node (1 for normal, 0 for fault).

[0091] The work capacity column indicates the work capacity.

[0092] Edge feature construction:

[0093] On an assembly line, the logistic relationships between equipment and work-in-progress can be considered edges. It is necessary to set some features for each edge to describe its properties.

[0094] Edge feature example

[0095] Logistics characteristics: logistics frequency, logistics time, logistics cost, etc.

[0096] Connection characteristics: connection strength, reachability, transmission delay, etc. between devices.

[0097] Edge feature matrix

[0098] Assume there are 3 edges and each edge has 3 features. Here is an example feature matrix:

[0099] Edge Set Information interaction frequency Change delivery efficiency Resource coordination costs Line-1 0.9 5 100 Line-2 0.7 3 80 Line-3 0.8 4 90

[0100] In this matrix:

[0101] The information interaction frequency column indicates the frequency of information exchange between adjacent nodes (devices and devices, devices and work-in-progress). This is particularly important in automated and intelligent assembly lines and may affect the real-time and flexibility of production scheduling.

[0102] The Change Transmission Efficiency column describes the speed at which information or instructions are transmitted on the path when production requirements or product design changes, which directly affects the response time of production line adjustments.

[0103] The resource coordination cost column represents the economic cost of reconfiguring and coordinating resources (such as human resources, materials, and equipment resources) between adjacent nodes during the change process, which includes but is not limited to additional adjustment preparation time, temporary downtime losses, etc.

[0104] Establishing the graph structure:

[0105] Combine the node feature matrix X and the edge feature matrix A to build a directed graph G of the assembly line.

[0106] S2. Based on the directed graph G, a variant path planning model is constructed using graph neural networks and deep reinforcement learning;

[0107] This step specifically includes:

[0108] Through graph neural networks, the change transfer relationship is encoded and the features of nodes and edges in the directed graph G are extracted;

[0109] Use deep reinforcement learning algorithm for optimization, select the optimal path for change, and obtain a variant path planning model.

[0110] The formula for extracting node features is:

[0111]

[0112] in, is the feature representation of node v at layer t; N(v) is the set of neighbor nodes of node v; W (t) and are the weight matrices of nodes and edges respectively; Ω is the nonlinear activation function.

[0113] S3, optimizing the assembly line change path in the variant path planning model through the reward function;

[0114] In this step, the reward function is based on time minimization. The shorter the change propagation time, the higher the reward value.

[0115] The function formula is as follows:

[0116]

[0117] Among them, R(s t ,a t ) is in state s t Next select action a t The reward value of P(a t ) is the selection action a tThe path obtained after T (u,v) is the change propagation time from node u to node v.

[0118] S4. Use the deep Q network to train the variant path planning model after the reward function is optimized, and search for the optimal variant path by continuously iteratively updating the Q value;

[0119] In this step, the deep Q network (DQN) is used for training, and the Q value is updated iteratively to search for the optimal deformation path.

[0120] During the training process, the model continuously tries different change paths, and adjusts its strategy based on the feedback of the reward function, gradually finding the optimal path.

[0121] In DQN, the Q value (Quality Value) represents the total cumulative reward that can be expected after taking action a in a given state s. The larger the value, the more reward can be obtained by taking the action.

[0122] State-action pair: The combination of state s and action a is called a state-action pair.

[0123] The update formula of Q value is as follows:

[0124] Q(s t , a t )←Q(s t , a t )+α[R(s t , a t )+γ·max α′ Q(s t+1 ,α′)-Q(s t , a t )]

[0125] Among them, Q(s t ,a t ) is in state s t Next select action a t Q value; α is the learning rate; γ is the discount factor s t+1 To perform action a t The next state after max α' Q(s t+1 ,α') is the maximum Q value of the next state.

[0126] S5. Integrate expert knowledge and physical mechanism models into the variant path planning model that has been trained by the deep Q network. The loss function of the fused variant path planning model is as follows:

[0127]

[0128] in, is the loss function of the fusion model; is the loss function for reinforcement learning; is the loss function of expert knowledge and physical mechanism model; λ is the weight coefficient.

[0129] S6. Perform forward and reverse optimization on the variant path planning model obtained in step S5 according to different optimization objectives. If forward optimization is performed, the final variant path planning model is obtained after forward optimization, and the process proceeds to step S7. If reverse optimization is performed, the process returns to step S1 after reverse optimization.

[0130] In the above, forward optimization refers to indicator prediction optimization, including:

[0131] Use equipment as graph nodes and work-in-process logistics as edges to perform graph regression or node regression;

[0132] Predict node influence and logistics intensity indicators, and evaluate the impact of node and edge characteristics on the overall performance of the assembly line;

[0133] The formula of the regression loss function is as follows:

[0134]

[0135] in, is the regression loss function; y v is the true value; is the predicted value.

[0136] Reverse optimization is a self-organizing pattern improvement optimization, including:

[0137] The equipment and product manufacturing features are used as graph nodes, and the number of matching processes between the equipment and manufacturing features is used as the edge weight;

[0138] Perform matrix completion and connection prediction to achieve proactive “node-task” matching solution recommendation and supplement;

[0139] The formula for the connection prediction loss function is as follows:

[0140]

[0141] in, is the connection prediction loss function; A uv is the actual edge; is the predicted edge probability.

[0142] S7. Use the final variant path planning model to perform assembly line variant path planning.

[0143] The embodiments described above are only preferred embodiments of the present invention and are not intended to limit the scope of implementation of the present invention. Therefore, any changes made based on the shape and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for assembly line variant path planning based on hybrid data and knowledge drive, characterized in that: include: S1. Perform multi-dimensional change modeling and establish a directed graph G of the assembly line; S2. Based on the directed graph G, a variant path planning model is constructed using graph neural networks and deep reinforcement learning; S3, optimizing the assembly line change path in the variant path planning model through the reward function; S4. Use the deep Q network to train the variant path planning model after the reward function is optimized, and search for the optimal variant path by continuously iteratively updating the Q value; S5. Integrate expert knowledge and physical mechanism models into the variant path planning model that has been trained by the deep Q network; S6. Perform forward and reverse optimization on the variant path planning model obtained in step S5 according to different optimization objectives. If forward optimization is performed, the final variant path planning model is obtained after the forward optimization, and the process proceeds to step S7. If reverse optimization is performed, return to step S1 after reverse optimization; S7. Use the final variant path planning model to perform assembly line variant path planning.

2. The assembly line variant path planning method based on data and knowledge hybrid drive according to claim 1 is characterized in that: Conduct multi-dimensional change modeling, including: Data collection and preprocessing: Collect relevant data in the assembly line, including equipment information, work-in-progress information, connection relationships between equipment, and production task and process data; Preprocess the collected data, including data cleaning, standardization and normalization, and store them in a unified format; Node feature construction: Model each piece of equipment and work-in-progress in the assembly line as a node of a directed graph G; Assign characteristics to each node, including the type, status, processing capacity, location, energy consumption of the equipment, and the type, processing stage, size, and weight of the work-in-progress; Organize the node feature matrix X so that it reflects the characteristics of each node in the assembly line; Edge feature construction: Model the relationships between equipment in the assembly line and the work-in-process logistics as edges of a directed graph G; Assign characteristics to each edge, including logistics frequency, logistics time, logistics cost, connection strength between devices, accessibility, and transmission delay; Organize the edge feature matrix A to reflect the characteristics of each edge in the assembly line; Establishing the graph structure: Combine the node feature matrix X and the edge feature matrix A to build a directed graph G of the assembly line.

3. The assembly line variant path planning method based on data and knowledge hybrid drive according to claim 2 is characterized in that: Construct a variant path planning model, including: Through graph neural networks, the change transfer relationship is encoded and the features of nodes and edges in the directed graph G are extracted; Use deep reinforcement learning algorithm for optimization, select the optimal path for change, and obtain a variant path planning model.

4. The method for assembly line variant path planning based on hybrid data and knowledge drive according to claim 3, characterized in that: The formula for extracting node features is: in, is the feature representation of node v at layer t; N(v) is the set of neighbor nodes of node v; W (t) and are the weight matrices of nodes and edges respectively; Ω is the nonlinear activation function.

5. The assembly line variant path planning method based on data and knowledge hybrid drive according to claim 3 or 4, characterized in that: The reward function is a reward function based on time minimization. The shorter the change propagation time, the higher the reward value. The function formula is as follows: Among them, R(s t ,a t ) is in state s t Next select action a t The reward value of P(a t ) is the selection action a t The path obtained after T (u,v) is the change propagation time from node u to node v.

6. The method for assembly line variant path planning based on hybrid data and knowledge drive according to claim 5, characterized in that: The update formula of Q value is as follows: Q(s t ,a t )←Q(s t ,a t )+α[R(s t ,a t )+γ·max α' Q(s t+1 ,α')-Q(s t ,a t )] Among them, Q(s t ,a t ) is in state s t Next select action a t Q value; α is the learning rate; γ is the discount factor s t+1 To perform action a t The next state after max α' Q(s t+1 ,α') is the maximum Q value of the next state.

7. The method for assembly line variant path planning based on hybrid data and knowledge drive according to claim 6, characterized in that: The expert knowledge and physical mechanism model are integrated into the variant path planning model that has been trained by the deep Q network. The loss function of the fused variant path planning model is as follows: in, is the loss function of the fusion model; is the loss function for reinforcement learning; is the loss function of expert knowledge and physical mechanism model; λ is the weight coefficient.

8. The method for assembly line variant path planning based on hybrid data and knowledge drive according to claim 7, characterized in that: Forward optimization is indicator prediction optimization, including: Use equipment as graph nodes and work-in-process logistics as edges to perform graph regression or node regression; Predict node influence and logistics intensity indicators, and evaluate the impact of node and edge characteristics on the overall performance of the assembly line; The formula of the regression loss function is as follows: in, is the regression loss function; y v is the true value; is the predicted value.

9. The method for assembly line variant path planning based on hybrid data and knowledge drive according to claim 7, characterized in that: Reverse optimization is self-organizing pattern improvement optimization, including: The equipment and product manufacturing features are used as graph nodes, and the number of matching processes between the equipment and manufacturing features is used as the edge weight; Perform matrix completion and connection prediction to achieve proactive "node-task" matching solution recommendation and supplement; The formula for the connection prediction loss function is as follows: in, is the connection prediction loss function; A uv is the actual edge; is the predicted edge probability.

Citation Information

Patent Citations

  • Complex cable assembly assembling method and system

    CN110866332A

  • Unmanned aerial vehicle path planning method based on reverse reinforcement learning

    CN115826601A