Circuit Board Processing Control Method and System Applied to Industrial Internet of Things

By collecting and optimizing real-time status data of circuit board processing equipment, combining historical path data and sensing data, dynamically adjusting the processing path, the problems of information fusion difficulties and error accumulation in circuit board processing are solved, and processing accuracy and efficiency are improved.

CN120178768BActive Publication Date: 2025-07-29GUIZHOU ANRONG TECH DEV CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510658063.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-21
Publication Date
2025-07-29
Estimated Expiration
2045-05-21

AI Technical Summary

Technical Problem

In the existing circuit board processing control methods, the heterogeneity of historical path data and real-time physical sensing data leads to difficulty in fusion of multi-source information, and it is impossible to dynamically identify path offsets caused by equipment abnormalities or environmental interference. The path generation and parameter adjustment links are separated in the independent operation mode of the traditional model, and the lack of a collaborative optimization mechanism, resulting in the accumulation of processing errors and delayed equipment response, which seriously affects the processing efficiency and yield rate.

Method used

By collecting real-time equipment status data of multiple processing equipment, combining historical processing path data to call the path generation model to generate the initial processing path, and using parameter adjustment models to optimize, extract process constraints, monitor the equipment feedback signal in real time, and conducting joint iterative updates on the model based on the feedback signal until the processing error rate is lower than the preset threshold.

Benefits of technology

It realizes dynamic adaptability to complex working conditions during circuit board processing, improves processing accuracy and production efficiency, ensures the stability and flexibility of processing paths, and reduces equipment energy consumption and transmission conflicts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120178768B_ABST
    Figure CN120178768B_ABST
Patent Text Reader

Abstract

The present invention provides a circuit board processing control method and system for industrial Internet of Things. By collecting real-time device status data of multiple processing devices during the processing of a target circuit board, based on historical processing path data in a processing parameter set, a path generation model is called to generate an initial processing path, and the initial processing path and a physical sensing data set are input into a parameter adjustment model for matching to generate a path node adjustment instruction. The parameter adjustment model optimizes the parameters of the processing nodes in the initial processing path based on the path node adjustment instruction to generate a target processing path, extracts the process constraint conditions of each processing node in the target processing path, distributes real-time control instructions to multiple processing devices, and jointly iteratively updates the path generation model and the parameter adjustment model based on feedback signals until the processing error rate of the target processing path is lower than a preset threshold. The present invention can improve the processing accuracy and overall production efficiency of circuit boards.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and more particularly, to a circuit board processing control method and system applied to the industrial Internet of Things. Background Art

[0002] The circuit board processing control in the industrial Internet of Things aims to achieve high-precision production through real-time monitoring and path planning. In the existing processing control methods, a fixed processing path is usually generated based on preset historical path data, or local parameters are statically adjusted depending on sensor feedback to adapt to the device state. However, in the existing methods, the heterogeneity of historical path data and real-time physical sensing data makes it difficult to fuse multi-source information, and it is impossible to dynamically identify path offsets caused by device anomalies or environmental interferences. Moreover, in the traditional model independent operation mode, the path generation and parameter adjustment links are separated, lacking a collaborative optimization mechanism, resulting in the accumulation of processing errors that are difficult to eliminate. At the same time, the parameter correction strategy driven by fixed rules is difficult to adapt to the dynamic process constraints under complex working conditions, and frequent device response delays and path conflicts seriously restrict the improvement of processing efficiency and product qualification rate. Summary of the Invention

[0003] The present invention provides a circuit board processing control method and system applied to the industrial Internet of Things.

[0004] In a first aspect, an embodiment of the present invention provides a circuit board processing control method applied to the industrial Internet of Things. The method includes: collecting real-time device state data of multiple processing devices during the processing of a target circuit board, where the device state data includes a set of processing parameters and a set of physical sensing data; based on the historical processing path data in the set of processing parameters, calling a path generation model to generate an initial processing path, and inputting the initial processing path and the set of physical sensing data into a parameter adjustment model for matching to generate a path node adjustment instruction; based on the path node adjustment instruction, the parameter adjustment model optimizes the parameters of the processing nodes in the initial processing path to generate a target processing path, and extracts the process constraint conditions of each processing node in the target processing path; allocating real-time control instructions to the multiple processing devices according to the process constraint conditions, and monitoring the feedback signals of the processing devices after executing the control instructions; and jointly iteratively updating the path generation model and the parameter adjustment model based on the feedback signals until the processing error rate of the target processing path is lower than a preset threshold.

[0005] In a second aspect, an embodiment of the present invention provides a circuit board processing control system, including: a memory in which a computer program is stored; a processor for loading the computer program to implement the circuit board processing control method applied to the industrial Internet of Things as described above.

[0006] The industrial Internet of Things circuit board processing control method provided by the present invention collects the device status data of processing equipment in real time and extracts the processing parameter set and physical sensing data set. Based on the historical processing path data, it calls the path generation model to generate an initial processing path. Combining the physical sensing data set, it matches and optimizes the processing nodes in the initial processing path through the parameter adjustment model, generates a target processing path that conforms to the real-time working conditions and extracts the process constraint conditions. According to the process constraint conditions, it allocates real-time control instructions and monitors the device feedback signal, and jointly iteratively updates the path generation model and the parameter adjustment model until the processing error rate is lower than the preset threshold. In this way, the device status data can comprehensively reflect the dynamic changes in the processing environment. The path generation model constructs the initial path based on historical data to ensure the coherence of the processing logic. The parameter adjustment model realizes the matching by fusing real-time sensing data and path node information, effectively identifies and corrects the path deviation caused by device anomalies or environmental interference, and improves the adaptability of the path to complex working conditions. At the same time, the dynamic extraction of process constraint conditions and instruction allocation convert the optimized path parameters into executable device control strategies, ensuring the precise synchronization of processing actions and path planning. Through the model joint iteration mechanism driven by the feedback signal, the path generation model and the parameter adjustment model continuously optimize the parameters and path structure under the constraint of the error rate, which not only ensures the stability of the global processing path but also enhances the flexibility of local node adjustment, thereby significantly improving the circuit board processing accuracy and overall production efficiency while reducing device energy consumption and transmission conflicts. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0008] Figure 1 is a flowchart of a circuit board processing control method applied to the industrial Internet of Things provided by an embodiment of the present invention.

[0009] Figure 2 is a schematic diagram of the composition of a circuit board processing control system provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0010] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0011] Please refer to Figure 1 , Figure 1 , which is a flowchart of a circuit board processing control method applied to the industrial Internet of Things provided by an embodiment of the present invention. The circuit board processing control method applied to the industrial Internet of Things can be executed by a circuit board processing control system, and the circuit board processing control method applied to the industrial Internet of Things may include the following steps:

[0012] A circuit board processing control method applied to the industrial Internet of Things provided by the present invention specifically includes the following steps:

[0013] Step S100: Collect real-time device status data of multiple processing devices during the processing of the target circuit board. The device status data includes a set of processing parameters and a set of physical sensing data.

[0014] In this step, the target circuit board refers to the circuit board that is being processed, which is the specific object of processing control. The processing device is a machine used to perform various processing operations on the circuit board, such as a drilling machine, a chip mounter, a welding device, etc. The real-time device status data is information reflecting the operating condition of the processing device at the current moment, and it consists of two parts: a set of processing parameters and a set of physical sensing data. The set of processing parameters covers various parameters directly related to the processing process, including but not limited to text-based processing parameters, such as process descriptions, process steps, etc.; image-based processing parameters, such as image information of the processing area, etc. The set of physical sensing data is the data reflecting the physical state of the device collected by sensors, such as temperature, pressure, vibration frequency, etc. In order to collect these data, various sensors can be reasonably arranged on the processing device to ensure that the status information of the device can be accurately obtained. For example, a temperature sensor is installed on the drilling machine to monitor the temperature change of the drill bit during operation in real time; a pressure sensor is installed to obtain the pressure value during drilling. The analog signals collected by these sensors are converted into digital signals and transmitted to the data acquisition system. The data acquisition system performs preliminary processing and storage on these data for subsequent analysis and use. This way of collecting real-time device status data can timely grasp the operating status of the processing device and provide accurate data support for subsequent path planning and parameter adjustment.

[0015] As an implementation manner, before step S100 of collecting real-time device status data of multiple processing devices during the processing of the target circuit board, the method provided by the embodiment of the present invention further includes the following series of steps:

[0016] Step S101: Based on the process type and historical failure records of each processing device, configure the dynamic parameter adjustment rules of the data acquisition unit for the processing device, and generate a signal acquisition channel list matching the device model.

[0017] In the embodiments of the present application, the process type refers to the specific processing process executed by the processing equipment, and different process types have different requirements for data collection. For example, for the welding process, it may be necessary to focus on collecting data such as temperature and current; while for the chip mounter process, more attention is paid to parameters such as position accuracy and chip placement speed. The historical fault record is the relevant information about the faults that occurred in the processing equipment in the past. By analyzing these records, the links and parameters where the equipment is prone to problems can be understood, so as to provide targeted guidance for data collection.

[0018] The data collection unit is a hardware device used to collect equipment status data, and it can process and transmit the data collected by the sensors. The dynamic parameter adjustment rule is formulated according to the process type and historical fault records, and is used to adjust the collection parameters of the data collection unit to ensure that the collected data is more accurate and effective. For example, if a certain processing equipment often has the fault of overheating temperature in history, then the data collection unit can be set to collect temperature data more frequently and expand the temperature collection range.

[0019] The signal collection channel list is generated according to the equipment model. Each equipment model has its signal collection requirements, and the list contains information about each signal collection channel that matches the equipment, such as channel number, collected data type, etc. By configuring the dynamic parameter adjustment rule and generating the signal collection channel list for the processing equipment, the data collection can be made more accurate and efficient, laying a good foundation for subsequent data processing and analysis.

[0020] Step S102: Activate the data stream capture function of the corresponding sensor according to the signal collection channel list, and perform multi-level validity verification on the initially collected physical sensing data to identify data segments with signal jump anomalies or continuous zero values.

[0021] The data stream capture function refers to the ability of the sensor to collect and transmit data in real time. According to the signal collection channel list generated in step S101, activate the data stream capture function of the corresponding sensor to ensure that the required physical sensing data can be accurately obtained.

[0022] The multi-level validity verification is a process of verifying the initially collected physical sensing data multiple times to ensure the accuracy and reliability of the data. The verification methods can include data range check, data change rate check, etc. For example, for the data collected by the temperature sensor, check whether it is within a reasonable temperature range; for the data collected by the pressure sensor, check whether its change rate conforms to the normal physical law.

[0023] Signal jump anomaly refers to a large change in data within a short period of time, which may be caused by sensor failures, interference, etc. A data segment with continuous zero values means that the data remains zero for a period of time, which may indicate sensor failure or connection problems. Through multi-level validity checks, these abnormal data segments can be detected in a timely manner, providing a basis for subsequent data repair and processing.

[0024] Step S103: Classify and store the data packets that pass the check into the temporary buffer according to the device identifier. At the same time, mark the data segments that fail the check as data to be repaired, and trigger a redundant data completion request for adjacent data acquisition units.

[0025] The device identifier is the unique identifier of each processing device, used to distinguish different devices. Classifying the data packets that pass the check according to the device identifier facilitates subsequent management and analysis of data for different devices. The temporary buffer is an area for temporarily storing data, which can play a buffering role during the data processing process to avoid data loss.

[0026] Data to be repaired refers to the data segments that fail the multi-level validity check. These data may be abnormal and need to be repaired. The redundant data completion request is a request sent to adjacent data acquisition units, requesting them to provide relevant redundant data to complete the data to be repaired. For example, when the data collected by a certain sensor is abnormal, it can request the relevant data collected by adjacent sensors, and try to repair the abnormal data by comparing and analyzing these redundant data. In this way, the integrity and accuracy of the data can be improved.

[0027] Step S104: Monitor the data accumulation rate in the temporary buffer. When the rate exceeds the device processing capacity threshold, start the data diversion and forwarding mechanism, and distribute the overflow data packets to idle storage nodes for temporary storage.

[0028] The data accumulation rate refers to the speed at which the data volume in the temporary buffer increases. By monitoring the data accumulation rate in real time, the usage of the temporary buffer can be understood. The device processing capacity threshold refers to the upper limit of the data volume that the processing device can handle. If the data accumulation rate exceeds this threshold, it may lead to insufficient device processing capacity and affect the data processing efficiency.

[0029] The data diversion and forwarding mechanism is a mechanism started when the data accumulation rate exceeds the threshold. It transfers the overflow data packets from the temporary buffer to idle storage nodes for temporary storage. An idle storage node refers to a storage device that is not fully utilized at present, such as a spare hard disk, cloud storage, etc. By starting the data diversion and forwarding mechanism, it is possible to avoid excessive data accumulation in the temporary buffer and ensure the smoothness and stability of data processing.

[0030] Step S105: Create a mirror queue in the idle storage node that is consistent with the temporary buffer structure, and configure the data life cycle policy and abnormal power-off recovery mechanism for the mirror queue.

[0031] The mirror queue is a queue created in the idle storage node with the same structure as the temporary buffer, and it is used to store the data packets diverted from the temporary buffer. By creating the mirror queue, data backup and redundant storage can be achieved, improving data security.

[0032] The data life cycle policy refers to the policy for managing the storage time, deletion rules, etc. of the data in the mirror queue. For example, it can be set to automatically delete the data after it has been stored in the mirror queue for a preset time to save storage space. The abnormal power-off recovery mechanism is a mechanism that can ensure that the data in the mirror queue is not lost in the event of abnormal power-off and can resume normal data processing after the power is restored. For example, technical means such as regular backup and data recovery algorithms can be used to achieve abnormal power-off recovery. By configuring the data life cycle policy and abnormal power-off recovery mechanism, the data in the mirror queue can be effectively managed and protected.

[0033] Step S106: When the processing device enters the standby state, perform format standardization and reorganization on the device status data in the mirror queue, and send the reorganized data packets back to the temporary buffer for subsequent processing.

[0034] When the processing device enters the standby state, it means that the device has temporarily stopped the processing operation. At this time, the device status data in the mirror queue can be processed. Format standardization and reorganization means organizing and converting the data in the mirror queue according to a unified format to facilitate subsequent analysis and use.

[0035] Specifically, Step S106 performs format standardization and reorganization on the device status data in the mirror queue, including the following steps:

[0036] Step S1061: Perform steady-state baseline fitting on the temperature sampling values in the physical sensing data, identify transient noise pulses deviating from the baseline amplitude, and use context-dependent interpolation to replace the transient noise pulses.

[0037] Steady-state baseline fitting is to analyze the temperature sampling values in the physical sensing data to find a stable baseline value. For example, methods such as the least squares method can be used to fit the temperature sampling values over a period of time to obtain an approximate steady-state baseline. Transient noise pulses refer to the pulse signals that suddenly appear in the temperature sampling values and deviate significantly from the baseline amplitude. These pulse signals may be caused by external interference, sensor errors, etc.

[0038] Context-dependent interpolation estimates and replaces transient noise pulses based on the data information before and after the transient noise pulses, using the correlation of adjacent data. For example, if an abnormal pulse appears in the temperature sampling value at a certain moment, and the temperature values before and after this moment change relatively smoothly, a reasonable temperature value can be obtained by performing linear interpolation on the temperature values before and after, and this value is used to replace the pulse. In this way, the noise interference in physical sensing data can be removed, and the data quality can be improved.

[0039] Step S1062: Perform keyword integrity verification on the text-type parameters in the processing parameter set, locate the text paragraphs missing process description fields, and retrieve similar contexts from the historical processing logs for semantic completion.

[0040] Keyword integrity verification checks the text-type parameters in the processing parameter set to ensure that the keywords are complete. For example, for a process description text, check whether it contains necessary keywords such as processing procedures, processing materials, etc. The text paragraphs missing process description fields refer to the parts of the text-type parameters that lack key process description information.

[0041] The historical processing log is a log file that records relevant information during past processing, which contains a large amount of process descriptions and context information. By retrieving similar contexts from the historical processing log, information related to the text paragraphs missing process description fields can be found and semantic completion can be performed. For example, if a specific operation step of a certain processing procedure is missing in a text paragraph, the operation steps of a similar procedure can be found from the historical processing log for supplementation and improvement. In this way, the integrity and accuracy of the text-type parameters in the processing parameter set can be improved.

[0042] Step S1063: Perform illumination intensity equalization analysis on the image-type parameters in the processing parameter set, segment the local image areas with excessive light and dark differences, and perform texture smoothing reconstruction based on the adjacent pixel gradients.

[0043] Illumination intensity equalization analysis processes the image-type parameters in the processing parameter set to make the illumination intensity of the image more uniform. Since the image may be affected by different illumination conditions during the acquisition process, resulting in areas with large light and dark differences in the image, which will affect the analysis and recognition of the image. Through illumination intensity equalization analysis, the brightness and contrast of the image can be adjusted to make the whole image clearer. The local image areas with excessive light and dark differences refer to the partial areas in the image where the light and dark differences exceed the preset threshold. For these areas, a segmentation algorithm can be used to separate them from the image for separate processing. The adjacent pixel gradient refers to the brightness change rate between adjacent pixels in the image. By analyzing the adjacent pixel gradients, the texture information of the image can be understood.

[0044] Texture smoothing reconstruction processes the segmented local image regions based on the gradients of adjacent pixels to make the texture of the image smoother. For example, methods such as Gaussian filtering can be used to smooth the local image regions, removing noise and jagged edges in the image. Through illumination intensity equalization analysis, local image region segmentation, and texture smoothing reconstruction, the quality of image-based parameters can be improved, facilitating subsequent image analysis and recognition.

[0045] Step S1064: Align the processed temperature sampling values, text-based parameters, and image-based parameters along the device time axis, and perform device state backtracking interpolation for the timestamp breakpoints found during the alignment process.

[0046] The device time axis is a time axis established according to the operating time sequence of the device. Aligning the processed temperature sampling values, text-based parameters, and image-based parameters along the device time axis can make different types of data consistent in time, facilitating subsequent comprehensive analysis. A timestamp breakpoint refers to the situation where, during the data alignment process, the timestamps of some data are found to be discontinuous and there are interruptions. Device state backtracking interpolation estimates the data values at the timestamp breakpoints through the analysis of the device's historical state data and inserts them into the corresponding positions. For example, if the temperature sampling value at a certain moment is missing, the temperature value at that moment can be estimated based on the temperature values at the previous and subsequent moments and the operating state of the device, and then inserted into the time axis. Through device state backtracking interpolation, the continuity and integrity of the data can be ensured.

[0047] Step S1065: Split the complete data stream after interpolation into independent data blocks according to the processing procedure stages, and add a processing procedure stage identifier and a data quality scoring label to each data block.

[0048] The complete data stream after interpolation is a time-continuous and complete data stream after processing the timestamp breakpoints. Splitting it according to the processing procedure stages is to facilitate the separate management and analysis of data in different processing procedure stages. The processing procedure stage identifier is a label used to identify the processing procedure stage to which each data block belongs, such as the drilling procedure, the chip mounting procedure, etc.

[0049] The data quality scoring label is a label added after scoring each data block according to indicators such as data accuracy, integrity, and consistency. For example, for data blocks with high data accuracy and good integrity, a higher score can be given; for data blocks with errors or missing data, a lower score can be given. By adding a processing procedure stage identifier and a data quality scoring label, data can be better classified and evaluated.

[0050] Step S1066: Classify and store the data blocks into the training dataset or the test dataset according to the data quality scoring labels, and configure a data augmentation strategy and a sample weight balancing coefficient for the training dataset.

[0051] The training dataset is a set of data used to train a machine learning model, and the test dataset is a set of data used to test the performance of the trained model. Classifying data blocks into the training dataset or the test dataset according to the data quality scoring labels can ensure the data quality of the training dataset and the test dataset.

[0052] The data augmentation strategy is a strategy for expanding and transforming the data in the training dataset to increase the diversity and richness of the data. For example, operations such as rotation, flipping, and scaling can be performed on image-type data, and operations such as synonym replacement and sentence restructuring can be performed on text-type data. The sample weight balancing coefficient is a coefficient set to balance the weights of different samples in the training dataset. In some cases, there may be a large difference in the number of samples of different classes in the training dataset. By setting the sample weight balancing coefficient, the model can pay more attention to the classes with fewer samples and improve the generalization ability of the model. By configuring the data augmentation strategy and the sample weight balancing coefficient, the training effect and performance of the machine learning model can be improved.

[0053] Step S200: Based on the historical processing path data in the set of processing parameters, call the path generation model to generate an initial processing path, and input the initial processing path and the set of physical sensing data into the parameter adjustment model for matching to generate a path node adjustment instruction.

[0054] The historical processing path data refers to the processing path information adopted in the past during the processing of printed circuit boards. This data includes the positions, sequences of each processing node, and the connection relationships between the nodes, etc. The path generation model is a machine learning model that can learn the generation rules of the processing path based on the input historical processing path data and generate an initial processing path. For example, the path generation model can adopt a neural network model, such as a recurrent neural network (RNN) or a long short-term memory network (LSTM), and master the path generation pattern through training on a large amount of historical processing path data.

[0055] The initial processing path is a preliminary processing path generated by the path generation model based on the historical processing path data, which provides a basic plan for subsequent processing operations. The parameter adjustment model is another machine learning model used to optimize and adjust the initial processing path. Inputting the initial processing path and the set of physical sensing data into the parameter adjustment model for matching is to correct the initial processing path according to the actual equipment status and environmental conditions. The path node adjustment instruction is an instruction generated by the parameter adjustment model based on the matching result, used to adjust the node parameters in the initial processing path to improve the rationality and effectiveness of the processing path.

[0056] Specifically, in step S200, based on the historical processing path data in the set of processing parameters, a path generation model is called to generate an initial processing path, which includes the following steps:

[0057] Step S210: Perform semantic segmentation on the text-based processing parameters, extract multiple process description segments, and perform edge contour detection on the image-based processing parameters to generate a corresponding processing area positioning map.

[0058] Semantic segmentation is to analyze the text-based processing parameters, segment them according to semantic information, and extract multiple process description segments with independent meanings. For example, for a text describing the circuit board processing technology, through semantic segmentation, it can be split into multiple segments such as drilling process description and chip placement process description.

[0059] Edge contour detection is to process the image-based processing parameters and detect the edge contours of objects in the image. For the image-based parameters of circuit board processing, through edge contour detection, the boundary of the processing area can be determined, and a corresponding processing area positioning map can be generated. The processing area positioning map can intuitively display the area that needs to be processed, providing important reference information for subsequent path planning.

[0060] Step S220: Align the spatial coordinates of the process description segments with the processing area positioning map to construct a process feature sequence, and input the process feature sequence into the time series encoding layer of the path generation model.

[0061] Spatial coordinate alignment is to match the position information in the process description segments with the coordinate information in the processing area positioning map, so that the two correspond in space. For example, for a certain processing position mentioned in the process description segment, through spatial coordinate alignment, the corresponding coordinate position can be found in the processing area positioning map.

[0062] The process feature sequence is to integrate the process description segments and the processing area positioning map information after spatial coordinate alignment to form a sequence containing process features. This sequence can reflect information such as the order and position of the processing processes, providing rich input features for the path generation model.

[0063] The time series encoding layer is an important part of the path generation model. It is used to encode the process feature sequence and convert it into a vector representation that the model can process. The time series encoding layer can use a recurrent neural network (RNN) or its variant, such as GRU (gated recurrent unit), to perform time series modeling on the process feature sequence and capture the dependencies between processes.

[0064] Specifically, in step S220, aligning the spatial coordinates of the process description segments with the processing area positioning map to construct a process feature sequence includes the following steps:

[0065] Step S221: Extract the text paragraphs containing location identifiers from the process description fragments to generate a set of location keywords, and identify the coordinate region boundaries corresponding to the location identifiers in the processing area positioning map.

[0066] The location identifier is a keyword in the process description fragment used to represent the processing location, such as the upper left corner, the lower right corner, etc. Extracting the text paragraphs containing location identifiers from the process description fragments to generate a set of location keywords can clarify the key information of the processing location.

[0067] In the processing area positioning map, through image processing algorithms such as template matching and feature extraction, identify the coordinate region boundaries corresponding to the location identifiers. For example, if the location identifier is the upper left corner, find the coordinate region of the upper left corner in the processing area positioning map and determine its boundary.

[0068] Step S222: According to the geometric center point coordinates of the coordinate region boundaries, assign region anchor coordinates to each location keyword to generate a keyword list with coordinate labels.

[0069] The geometric center point coordinates refer to the center point coordinates of the region enclosed by the coordinate region boundaries. According to the geometric center point coordinates of the coordinate region boundaries, assign a region anchor coordinate to each location keyword to associate the location keyword with specific coordinate information.

[0070] The keyword list with coordinate labels is a list formed by arranging the location keywords with coordinate labels in order, which provides accurate location information for subsequent path planning.

[0071] Step S223: Perform a topological traversal on the contour segmentation lines in the processing area positioning map to determine the processing order priority of each contour region, and sort the keyword list with coordinate labels based on the processing order priority.

[0072] The contour segmentation line is a line in the processing area positioning map used to divide different processing regions. Performing a topological traversal on the contour segmentation line is to traverse the contour segmentation line to determine the processing order priority of each contour region. For example, the priority can be determined according to factors such as the connection relationship of the contour regions and the sequence of processing processes.

[0073] Sorting the keyword list with coordinate labels based on the processing order priority arranges the location information in the keyword list according to the processing order, providing an ordered input for subsequent path generation.

[0074] Step S224: Perform a distance match between the region anchor coordinates in the sorted keyword list and the actual processing path start coordinates in the processing area positioning map, and filter out the candidate coordinate pairs with a distance deviation less than the tolerance threshold.

[0075] The starting coordinate of the actual machining path refers to the coordinate position where the machining operation begins. The distance between the regional anchor coordinates in the sorted keyword list and the starting coordinate of the actual machining path is matched, and the distance between the two is calculated.

[0076] The tolerance threshold is a pre-set distance threshold. If the distance deviation between the regional anchor coordinates and the starting coordinate of the actual machining path is less than the tolerance threshold, this coordinate pair is used as a candidate coordinate pair. Screening out candidate coordinate pairs can reduce unnecessary calculations and interference, and improve the efficiency and accuracy of path generation.

[0077] Step S225: According to the process description content of the keywords in the candidate coordinate pairs, semantic annotation is performed on the contour area of the machining area positioning map to generate an annotated process space distribution map.

[0078] The process description content is the description information about the machining process contained in the keywords in the candidate coordinate pairs, such as drilling, chip mounting, etc. According to the process description content, semantic annotation is performed on the contour area of the machining area positioning map, and different machining processes are associated with the corresponding contour areas.

[0079] The annotated process space distribution map is the machining area positioning map after semantic annotation. It intuitively shows the process types and positional relationships of each machining area, providing clear spatial information for path generation.

[0080] Step S226: According to the distribution density of the annotated areas in the process space distribution map, the text content in the process description segment is time-sequentially bound to the corresponding annotated areas to form a process feature sequence containing spatial coordinate dependency relationships.

[0081] The distribution density refers to the degree of spatial distribution density of the annotated areas in the process space distribution map. According to the distribution density, the text content in the process description segment is time-sequentially bound to the corresponding annotated areas, that is, the temporal sequence and association relationship between the text content and the annotated areas are determined.

[0082] The process feature sequence containing spatial coordinate dependency relationships is a sequence formed after time-sequential binding. It not only contains the text description and spatial coordinate information of the process, but also reflects the temporal and spatial dependency relationships between processes, providing more comprehensive input features for the path generation model.

[0083] Step S230: Through the temporal encoding layer, topological sorting is performed on the process dependency relationships in the process feature sequence to generate a process node connection graph.

[0084] Topological sorting is an algorithm for sorting a directed acyclic graph (DAG), which can determine the order of nodes in the graph such that for any directed edge (u, v) in the graph, node u appears before node v in the sorting result. In this step, topological sorting is performed on the process dependency relationships in the process feature sequence through the timing encoding layer to determine the execution order of each process node.

[0085] The process node connection graph is a directed graph, where the nodes represent process nodes and the edges represent the dependency relationships between processes. Generating the process node connection graph through topological sorting can clearly show the sequence and dependency relationships between processes, providing a basis for subsequent path generation.

[0086] Specifically, step S230 performs topological sorting on the process dependency relationships in the process feature sequence through the timing encoding layer to generate a process node connection graph, including the following steps:

[0087] Step S231: Extract the node identifier of each process node and the corresponding processing action description from the process feature sequence to generate a process node feature set containing the input-output relationships between nodes.

[0088] The node identifier is the unique identifier of each process node, used to distinguish different process nodes. The processing action description is a detailed description of the processing action performed by the process node, such as drilling, welding, etc. Extracting the node identifier of each process node and the corresponding processing action description from the process feature sequence can clarify the specific information of each process node.

[0089] The process node feature set is a set formed by integrating the node identifiers, processing action descriptions of each process node, and the input-output relationships between nodes. This set contains the important feature information of the process nodes, providing a data basis for subsequent topological sorting.

[0090] Step S232: Traverse the process node feature set, analyze the predecessor process nodes and successor process nodes of each process node, establish a process dependency relationship chain, and mark the process transmission direction between nodes in the process dependency relationship chain.

[0091] The predecessor process node refers to the process node that must be completed before a certain process node in the process execution order; the successor process node refers to the process node that needs to be executed after a certain process node in the process execution order. By traversing the process node feature set, analyzing the predecessor process nodes and successor process nodes of each process node, a process dependency relationship chain is established.

[0092] The process transfer direction refers to the transfer direction of materials, information, etc. between processes. Marking the process transfer direction between nodes in the process dependency chain can more accurately describe the relationship between processes and provide a basis for subsequent directed graph reconstruction.

[0093] Step S233: Perform directed graph reconstruction on the process dependency chain according to the process transfer direction, and determine the initial in-degree value and the triggerable execution status of each process node.

[0094] Directed graph reconstruction is the process of converting the process dependency chain into a directed graph, and adding directions to the edges of the directed graph according to the process transfer direction. The initial in-degree value refers to the number of incoming edges of each node in the directed graph, which represents the number of predecessor process nodes of the node.

[0095] The triggerable execution status refers to the status of whether a process node meets the execution conditions. According to the initial in-degree value and the dependency relationship between processes, the triggerable execution status of each process node can be determined. For example, if the initial in-degree value of a process node is 0, it means that the node has no predecessor process nodes and can be triggered for execution immediately.

[0096] Step S234: Based on the initial in-degree value, screen out candidate starting nodes with an in-degree of zero from the process node feature set, and add the candidate starting nodes to the queue of nodes to be processed.

[0097] Candidate starting nodes refer to process nodes with an initial in-degree value of zero, and these nodes are the starting points of process execution. Screen out candidate starting nodes from the process node feature set based on the initial in-degree value and add them to the queue of nodes to be processed to prepare for subsequent topological sorting operations.

[0098] Step S235: Sequentially take out the current processing node from the queue of nodes to be processed, traverse the successor process nodes of the current processing node, update the dynamic in-degree values of the successor process nodes, and add the successor process nodes with the dynamic in-degree value reduced to zero to the queue of nodes to be processed.

[0099] The current processing node refers to the current process node being processed taken out from the queue of nodes to be processed. Traversing the successor process nodes of the current processing node is to update the dynamic in-degree values of these successor process nodes. The dynamic in-degree value refers to the fact that during the topological sorting process, as the process nodes are executed, the in-degree values of the successor process nodes will change.

[0100] When the dynamic in-degree value of a certain successor process node is reduced to zero, it means that all the predecessor process nodes of the node have been executed, and the node can be triggered for execution. Add it to the queue of nodes to be processed and continue the topological sorting operation.

[0101] Step S236: Record the connection order and process transfer direction between the current processing node and the successor process node, and generate a set of directed edges with weight identifiers.

[0102] During the topological sorting process, record the connection order and process transfer direction between the current processing node and the successor process node, and add a weight identifier to each directed edge. The weight identifier can represent information such as the transfer time and resource consumption between processes, and it can more comprehensively describe the relationship between processes.

[0103] The set of directed edges with weight identifiers is a set formed by integrating all the recorded directed edges, which provides detailed edge information for generating the process node connection graph later.

[0104] Step S237: Generate a process node connection graph containing topological hierarchical relationships according to the order of nodes in the set of directed edges and the set of process node characteristics, where the topological hierarchical relationships are used to indicate the parallel execution intervals and serial dependency depths of the process nodes.

[0105] Generate a process node connection graph according to the order of nodes in the set of directed edges with weight identifiers and the set of process node characteristics. The topological hierarchical relationship refers to the hierarchical structure of process nodes in the graph, which can indicate the parallel execution intervals and serial dependency depths of process nodes.

[0106] The parallel execution interval refers to the time period during which multiple process nodes can be executed simultaneously, and the serial dependency depth refers to the depth of the serial dependency relationship between process nodes. Through the topological hierarchical relationship, the execution order of processes can be better planned to improve processing efficiency.

[0107] Step S240: Generate the node arrangement order and the transmission time between nodes of the initial processing path according to the process weights of each node in the process node connection graph.

[0108] The process weight is a weight value assigned to each node in the process node connection graph, which reflects factors such as the importance, complexity, and time consumption of the node in the processing process. For example, for some key processing process nodes, a higher process weight can be assigned.

[0109] Generate the node arrangement order and the transmission time between nodes of the initial processing path according to the process weights of each node in the process node connection graph. The node arrangement order determines the sequence of processing operations, and the transmission time between nodes represents the time required to go from one node to another.

[0110] Specifically, Step S240 generates the node arrangement order and the transmission time between nodes of the initial processing path according to the process weights of each node in the process node connection graph, including the following steps:

[0111] Step S241: Obtain the processing time weight, equipment switching weight, and path continuity weight included in the process weight, and generate a weight type association table based on the weight type.

[0112] The processing time weight refers to the weight value related to the time required for processing operations in the process weight, which reflects the processing time of each process node. The equipment switching weight is the weight value related to the equipment switching process. Equipment switching may cause time and resource consumption, so the equipment switching weight needs to be considered. The path continuity weight is the weight value used to measure path continuity. A continuous processing path can improve processing efficiency.

[0113] Generate a weight type association table based on the weight type. This table records the corresponding relationship between different weight types and process nodes, providing convenience for subsequent calculations.

[0114] Step S242: Traverse all nodes in the process node connection graph, and normalize the processing time weight of each node according to the weight type association table to generate a node comprehensive priority score.

[0115] Normalization is to convert the processing time weights in different ranges into values in a unified range for comparison and calculation. By traversing all nodes in the process node connection graph and normalizing the processing time weight of each node according to the weight type association table, the dimensional differences between the processing time weights of different nodes are eliminated.

[0116] The node comprehensive priority score is a comprehensive score generated for each node after comprehensively considering factors such as the processing time weight, equipment switching weight, and path continuity weight. This score is used to determine the priority of the node in the processing path.

[0117] Step S243: Extract the set of predecessor nodes of the current node from the process node connection graph, and determine the trigger execution condition of the current node according to the comprehensive priority score of the set of predecessor nodes.

[0118] The set of predecessor nodes refers to the set composed of all predecessor process nodes of the current node in the process node connection graph. According to the comprehensive priority score of the set of predecessor nodes, the trigger execution condition of the current node can be determined. For example, if the comprehensive priority score of a certain predecessor node is relatively high and the node has not been executed yet, the current node cannot be triggered to execute.

[0119] Step S244: Filter candidate nodes that meet the path continuity weight requirements based on the trigger execution condition, and sort the candidate nodes in descending order according to the node comprehensive priority score to generate a candidate node execution queue.

[0120] Based on the triggerable execution conditions, candidate nodes that meet the requirements of path continuity weight are screened out from the process node connection diagram. The requirements of path continuity weight can include factors such as the distance and connection relationship between nodes.

[0121] Arrange the candidate nodes in descending order according to the comprehensive priority score of the nodes, with the nodes having higher scores ranked in the front to generate a candidate node execution queue. This queue determines the execution order of the candidate nodes.

[0122] Step S245: Sequentially select the head node from the candidate node execution queue and add it to the initial processing path sequence, and calculate the equipment switching time consumption between the head node and the previous node based on the equipment switching weight.

[0123] The head node is the node ranked at the very front in the candidate node execution queue. Sequentially select the head node from the candidate node execution queue and add it to the initial processing path sequence to gradually construct the initial processing path.

[0124] Calculate the equipment switching time consumption between the head node and the previous node based on the equipment switching weight. The equipment switching time consumption includes the time required for processes such as equipment startup, adjustment, and calibration.

[0125] Step S246: According to the set of successor nodes of the head node in the process node connection diagram, update the node arrangement order in the candidate node execution queue, and record the transmission time consumption increment from the current node to the successor node.

[0126] The set of successor nodes refers to the set composed of all successor process nodes of the head node in the process node connection diagram. According to the set of successor nodes, update the node arrangement order in the candidate node execution queue to ensure that the nodes in the queue are arranged according to the latest priority.

[0127] Record the transmission time consumption increment from the current node to the successor node. The transmission time consumption increment represents the additional time required from the current node to the successor node.

[0128] Step S247: Repeat the steps of node selection, switching time consumption calculation, and queue update until the initial processing path sequence contains all the nodes in the process node connection diagram, and synchronously output the cumulative value of the transmission time consumption between nodes.

[0129] Repeat Step S245 and Step S246, continuously select nodes and add them to the initial processing path sequence, calculate the equipment switching time consumption, and update the candidate node execution queue until the initial processing path sequence contains all the nodes in the process node connection diagram.

[0130] Synchronously output the cumulative value of the transmission time consumption between nodes. This cumulative value represents the total transmission time consumption of the entire initial processing path.

[0131] In step S200, the initial machining path and the physical sensing data set are input into the parameter adjustment model for matching to generate a path node adjustment instruction, which specifically includes the following steps:

[0132] Step S250: Obtain the machining node coordinate sequence in the initial machining path and the preset process parameters of each node, and extract the device real-time position data and environmental monitoring data corresponding to the machining node coordinates in the physical sensing data set.

[0133] The machining node coordinate sequence is the coordinate information of each machining node in the initial machining path, which determines the position of the machining node. The preset process parameters are the process parameters preset for each machining node, such as machining speed, machining temperature, etc.

[0134] Extract the device real-time position data and environmental monitoring data corresponding to the machining node coordinates from the physical sensing data set. The device real-time position data represents the actual position of the machining device at the current moment, and the environmental monitoring data includes data on environmental factors such as temperature, pressure, and humidity. By extracting these data, the actual operating state and environmental conditions of the machining device can be understood.

[0135] Step S260: Align the machining node coordinate sequence with the device real-time position data according to the time stamp to generate a spatio-temporal alignment mapping table, which contains the actual temperature value, pressure value, and vibration frequency value of each machining node within the corresponding time window.

[0136] The time stamp is the time mark of data acquisition. Aligning the machining node coordinate sequence with the device real-time position data according to the time stamp is to make the two correspond in time. Through the alignment operation, a spatio-temporal alignment mapping table is generated.

[0137] The spatio-temporal alignment mapping table contains the actual temperature value, pressure value, and vibration frequency value of each machining node within the corresponding time window. These actual values reflect the actual operating state and environmental conditions of the device during the machining process, providing a basis for subsequent parameter adjustment.

[0138] Step S270: Compare the actual temperature value in the spatio-temporal alignment mapping table with the preset temperature safety threshold, mark the machining nodes exceeding the safety threshold as high-temperature risk nodes, and compare the actual pressure value with the preset pressure fluctuation range, mark the machining nodes exceeding the fluctuation range as pressure abnormal nodes.

[0139] The preset temperature safety threshold is the preset temperature safety range. If the actual temperature value exceeds this threshold, it indicates that there is a high-temperature risk at the machining node. Compare the actual temperature value in the spatio-temporal alignment mapping table with the preset temperature safety threshold, and mark the machining nodes exceeding the safety threshold as high-temperature risk nodes.

[0140] The preset pressure fluctuation range is a pre-set pressure fluctuation range. If the actual pressure value exceeds this range, it indicates that there is a pressure anomaly at the processing node. Compare the actual pressure value with the preset pressure fluctuation range, and mark the processing nodes that exceed the fluctuation range as pressure anomaly nodes. By marking high-temperature risk nodes and pressure anomaly nodes, potential problems in the processing process can be detected in a timely manner.

[0141] Step S280: According to the distribution density of high-temperature risk nodes and pressure anomaly nodes, identify the transmission conflict segments formed by continuous anomaly nodes, and extract the maximum offset distance between the real-time position data of the device and the coordinates of the processing nodes in the transmission conflict segments.

[0142] The distribution density refers to the degree of density of high-temperature risk nodes and pressure anomaly nodes in the processing path. According to the distribution density of high-temperature risk nodes and pressure anomaly nodes, identify the transmission conflict segments formed by continuous anomaly nodes. The transmission conflict segments represent areas where there may be conflicts or problems during the processing.

[0143] Extract the maximum offset distance between the real-time position data of the device and the coordinates of the processing nodes in the transmission conflict segments. The maximum offset distance reflects the deviation degree between the actual position of the device and the preset position of the processing node, providing important reference information for subsequent path adjustment.

[0144] Step S290: Based on the time-domain change trend of the maximum offset distance and the vibration frequency value, generate a speed reduction adjustment instruction for high-temperature risk nodes, a device switching instruction for pressure anomaly nodes, and a path re-planning instruction for transmission conflict segments, forming a path node adjustment instruction set that includes instruction types, target node identifiers, and parameter adjustment ranges.

[0145] The time-domain change trend refers to the change of the vibration frequency value over time. Based on the time-domain change trend of the maximum offset distance and the vibration frequency value, generate corresponding adjustment instructions.

[0146] The speed reduction adjustment instruction is an instruction generated for high-temperature risk nodes, which reduces the generation of heat by reducing the processing speed and reduces the high-temperature risk. The device switching instruction is an instruction generated for pressure anomaly nodes, which solves the pressure anomaly problem by switching devices. The path re-planning instruction is an instruction generated for transmission conflict segments, which avoids conflicts by re-planning the path.

[0147] The path node adjustment instruction set is a set formed by integrating the speed reduction adjustment instruction, the device switching instruction, and the path re-planning instruction. This set includes information such as instruction types, target node identifiers, and parameter adjustment ranges, providing clear guidance for subsequent parameter optimization.

[0148] In the embodiments of the present invention, the parameter adjustment model is obtained through multi-stage training. The process of multi-stage training includes the following steps:

[0149] Step S10: Obtain the first-stage training data set, which contains multiple sets of device status sample data and their corresponding standard processing path labels.

[0150] The first-stage training data set is a data set used for the first-stage training of the parameter adjustment model. The device status sample data is the device status data collected from the actual processing process, including the processing parameter set, the physical sensing data set, etc. The standard processing path label is the correct processing path information corresponding to the device status sample data, and it is used as the training target to guide the model learning.

[0151] Step S20: Input the device status sample data into the initial parameter adjustment model, generate a predicted processing path, and calculate the path coincidence loss value between the predicted processing path and the standard processing path label.

[0152] The initial parameter adjustment model is the initial state of the parameter adjustment model, and it has not been fully trained. Inputting the device status sample data into the initial parameter adjustment model, the model will generate a predicted processing path according to the input data.

[0153] The path coincidence loss value is an index used to measure the difference degree between the predicted processing path and the standard processing path label. By calculating the path coincidence loss value, the prediction performance of the model can be evaluated, providing a basis for subsequent model optimization.

[0154] Specifically, calculating the path coincidence loss value between the predicted processing path and the standard processing path label in step S20 includes the following steps:

[0155] Step S21: Extract the position coordinate sequence of each processing node in the predicted processing path, and perform point-by-point matching between the position coordinate sequence and the reference coordinate sequence in the standard processing path label.

[0156] The position coordinate sequence is the coordinate information of each processing node in the predicted processing path, and the reference coordinate sequence is the coordinate information in the standard processing path label. Performing point-by-point matching between the position coordinate sequence and the reference coordinate sequence is to compare the differences between the two.

[0157] Step S22: Calculate the Euclidean distance for the unmatched coordinate points to generate the first local loss component, and calculate the processing time difference for the matched coordinate points to generate the second local loss component.

[0158] The Euclidean distance is a commonly used method for calculating the distance between two points. The Euclidean distance is calculated for the unmatched coordinate points to obtain the first local loss component. The first local loss component reflects the difference in position between the predicted machining path and the standard machining path label.

[0159] The difference in machining time consumption is calculated for the matched coordinate points, that is, the difference in machining time consumption between the matched coordinate points in the predicted machining path and the corresponding coordinate points in the standard machining path label is calculated to generate the second local loss component. The second local loss component reflects the difference in machining time consumption between the predicted machining path and the standard machining path label.

[0160] Step S23: The first local loss component and the second local loss component are weighted and summed, and a dynamic adjustment coefficient is generated according to the weighted sum result.

[0161] Weighted summation is to add the first local loss component and the second local loss component according to the preset weights to obtain a comprehensive loss value. A dynamic adjustment coefficient is generated according to the weighted sum result, and the dynamic adjustment coefficient is used to adjust the loss weights of the unmatched coordinate points and the matched coordinate points.

[0162] Step S24: Based on the dynamic adjustment coefficient, the loss weights of the unmatched coordinate points and the matched coordinate points are redistributed to obtain the path coincidence degree loss value.

[0163] Based on the dynamic adjustment coefficient, the loss weights of the unmatched coordinate points and the matched coordinate points are redistributed to make the model pay more attention to the parts with larger differences. After redistributing the loss weights, the path coincidence degree loss value is obtained.

[0164] Specifically, step S24 redistributes the loss weights of the unmatched coordinate points and the matched coordinate points based on the dynamic adjustment coefficient to obtain the path coincidence degree loss value, including the following steps:

[0165] Step S2401: Extract the error amplification factor of the unmatched coordinate points and the error suppression factor of the matched coordinate points from the dynamic adjustment coefficient, and associate the first local loss component of the unmatched coordinate points and the second local loss component of the matched coordinate points.

[0166] The error amplification factor is a coefficient used to amplify the loss weight of the unmatched coordinate points, and the error suppression factor is a coefficient used to suppress the loss weight of the matched coordinate points. The error amplification factor of the unmatched coordinate points and the error suppression factor of the matched coordinate points are extracted from the dynamic adjustment coefficient, and they are respectively associated with the first local loss component of the unmatched coordinate points and the second local loss component of the matched coordinate points.

[0167] Step S2402: Weight-amplify the first local loss component according to the error amplification factor to generate an adjusted unmatched loss component, and at the same time weight-decay the second local loss component according to the error suppression factor to generate an adjusted matched loss component.

[0168] Weight-amplify the first local loss component according to the error amplification factor, so that the loss of unmatched coordinate points occupies a larger proportion in the path coincidence degree loss value. At the same time, weight-decay the second local loss component according to the error suppression factor to reduce the influence of the loss of matched coordinate points on the path coincidence degree loss value.

[0169] Step S2403: Traverse each coordinate point in the adjusted unmatched loss component, calculate the direction offset angle between it and the nearest neighbor coordinate point in the reference coordinate sequence, and perform direction consistency compensation on the adjusted unmatched loss component based on the direction offset angle.

[0170] The direction offset angle refers to the angular deviation between the coordinate point in the adjusted unmatched loss component and the nearest neighbor coordinate point in the reference coordinate sequence. Traverse each coordinate point in the adjusted unmatched loss component, calculate its direction offset angle, and perform direction consistency compensation on the adjusted unmatched loss component based on the direction offset angle. Direction consistency compensation can make the model pay more attention to the direction deviation of coordinate points and improve the evaluation accuracy of path coincidence degree.

[0171] Step S2404: Superimpose the unmatched loss component after direction consistency compensation and the adjusted matched loss component to generate a total path deviation loss value, and generate a normalized loss ratio according to the ratio of the total path deviation loss value to the preset path error upper limit.

[0172] Superimpose the unmatched loss component after direction consistency compensation and the adjusted matched loss component to obtain the total path deviation loss value. The total path deviation loss value reflects the comprehensive difference between the predicted processing path and the standard processing path label.

[0173] Generate a normalized loss ratio according to the ratio of the total path deviation loss value to the preset path error upper limit. The normalized loss ratio maps the total path deviation loss value to a unified range, which is convenient for subsequent processing and comparison.

[0174] Step S2405: Perform piecewise linear mapping on the total path deviation loss value based on the normalized loss ratio to generate a path coincidence degree loss value that satisfies the loss value range constraint, and use the path coincidence degree loss value as the input of the objective function for backpropagation optimization.

[0175] Piecewise linear mapping is a method of converting the normalized loss ratio into the path coincidence loss value that satisfies the range constraint of the loss value. Through piecewise linear mapping, the path coincidence loss value is ensured to be within a reasonable range.

[0176] Taking the path coincidence loss value as the input of the objective function for backpropagation optimization, the backpropagation algorithm will update the parameters of the initial parameter adjustment model according to the path coincidence loss value to improve the prediction performance of the model.

[0177] Step S30: Obtain the second-stage training dataset, which includes multiple groups of abnormal process sample data and their corresponding path correction labels.

[0178] The second-stage training dataset is a data set used for the second-stage training of the parameter adjustment model. The abnormal process sample data is the device status data containing abnormal process conditions, such as high-temperature risk, pressure anomaly, etc. The path correction label is the correct path correction information for the abnormal process sample data, which is used to guide the model to learn how to handle abnormal situations.

[0179] Step S40: Input the abnormal process sample data into the initial parameter adjustment model trained in the first stage, generate the corrected predicted processing path, and calculate the error compensation loss value between the corrected predicted processing path and the path correction label.

[0180] Inputting the abnormal process sample data into the initial parameter adjustment model trained in the first stage, the model will generate the corrected predicted processing path according to the input data. The error compensation loss value is an index used to measure the degree of difference between the corrected predicted processing path and the path correction label. By calculating the error compensation loss value, the performance of the model in handling abnormal situations can be evaluated.

[0181] Step S50: Fuse the path coincidence loss value and the error compensation loss value according to a preset ratio to obtain the comprehensive training loss value, and perform backpropagation optimization on the initial parameter adjustment model according to the comprehensive training loss value until the comprehensive training loss value converges.

[0182] The preset ratio is the fusion ratio of the path coincidence loss value and the error compensation loss value set in advance. Fusing the path coincidence loss value and the error compensation loss value according to the preset ratio to obtain the comprehensive training loss value. The comprehensive training loss value comprehensively considers the prediction performance of the model in normal and abnormal situations. Performing backpropagation optimization on the initial parameter adjustment model according to the comprehensive training loss value, the backpropagation algorithm will continuously adjust the parameters of the model to gradually reduce the comprehensive training loss value until it converges. When the comprehensive training loss value converges, it indicates that the model has achieved a good training effect.

[0183] Step S300: Optimize the parameters of the processing nodes in the initial processing path based on the path node adjustment instructions through the parameter adjustment model, generate the target processing path, and extract the process constraint conditions of each processing node in the target processing path.

[0184] Parameter optimization refers to adjusting and optimizing the parameters of the processing nodes in the initial processing path according to the path node adjustment instructions to improve the rationality and effectiveness of the processing path. The target processing path is the final processing path obtained after parameter optimization. It takes into account the actual equipment status and environmental conditions and can better meet the processing requirements.

[0185] The process constraint conditions are the conditions that each processing node needs to meet during the processing, such as temperature range, pressure range, processing accuracy, etc. Extracting the process constraint conditions of each processing node in the target processing path provides a basis for subsequent equipment control.

[0186] Specifically, step S300 optimizes the parameters of the processing nodes in the initial processing path based on the path node adjustment instructions through the parameter adjustment model to generate the target processing path, including the following steps:

[0187] Step S310: Parse the speed reduction adjustment instructions in the path node adjustment instruction set, obtain the target node identifier of the high-temperature risk node and the allowed maximum speed reduction ratio, and calculate the actual speed reduction coefficient according to the real-time temperature value in the physical sensing data set.

[0188] The speed reduction adjustment instruction is a type of instruction in the path node adjustment instruction set used to reduce the processing speed of the high-temperature risk node. Parse the speed reduction adjustment instruction to obtain the target node identifier of the high-temperature risk node and the allowed maximum speed reduction ratio. The actual speed reduction coefficient is a coefficient calculated according to the real-time temperature value in the physical sensing data set, which represents the proportion of the speed that actually needs to be reduced. By comparing the real-time temperature value with the preset temperature threshold, calculate the actual speed reduction coefficient to ensure that the speed reduction operation can effectively reduce the high-temperature risk.

[0189] Step S320: Linearly adjust the processing speed parameter of the high-temperature risk node based on the actual speed reduction coefficient to generate the node speed parameter after speed reduction, and synchronously update the transmission time compensation value of the adjacent nodes in the initial processing path.

[0190] Linear adjustment is to perform a linear transformation on the processing speed parameters of high-temperature risk nodes according to the actual speed reduction coefficient to obtain the speed parameters of the nodes after speed reduction. The speed parameters of the nodes after speed reduction can reduce the processing speed of high-temperature risk nodes and reduce heat generation. Synchronously update the transmission time compensation values of adjacent nodes in the initial processing path. Since the processing speed of high-temperature risk nodes decreases, it may affect the transmission time of adjacent nodes. Therefore, it is necessary to update the transmission time compensation values to ensure the overall rationality of the processing path.

[0191] Step S330: Analyze the equipment switching instructions in the path node adjustment instruction set, determine the standby equipment number and switching response delay of the pressure anomaly node, and calculate the coordinate calibration offset after equipment switching based on the real-time position data of the equipment.

[0192] The equipment switching instruction is another type of instruction in the path node adjustment instruction set, which is used to switch the processing equipment of the pressure anomaly node. Analyze the equipment switching instruction to determine the standby equipment number and switching response delay of the pressure anomaly node.

[0193] The coordinate calibration offset is the offset for coordinate calibration required after equipment switching calculated based on the real-time position data of the equipment. Since the position of the standby equipment may be different from that of the original equipment, it is necessary to calculate the coordinate calibration offset to ensure the accuracy of the processing operation.

[0194] Step S340: Perform position compensation on the processing coordinates of the pressure anomaly node based on the coordinate calibration offset to generate the calibrated node coordinate parameters, and accumulate the switching response delay to the transmission time compensation value.

[0195] Perform position compensation on the processing coordinates of the pressure anomaly node based on the coordinate calibration offset to obtain the calibrated node coordinate parameters. The calibrated node coordinate parameters can ensure that the standby equipment performs processing operations at the correct position.

[0196] Accumulate the switching response delay to the transmission time compensation value. Since equipment switching takes a certain amount of time, it is necessary to consider the switching response delay in the transmission time and update the transmission time compensation value.

[0197] Step S350: Analyze the path replanning instruction in the path node adjustment instruction set, identify the start node and end node of the transmission conflict segment, and insert the candidate coordinate set of the transfer node between the start node and the end node.

[0198] The path replanning instruction is a type of instruction in the set of path node adjustment instructions, which is used to replan the processing path of the transmission conflict segment. Parse the path replanning instruction to identify the start node and end node of the transmission conflict segment. The candidate coordinate set of the transfer node is the coordinate set of the transfer nodes that may be inserted between the start node and the end node. By inserting transfer nodes, transmission conflicts can be avoided and the processing path can be optimized.

[0199] Step S360: According to the equipment load rate and the idle state time series in the physical sensing data set, screen the transfer node coordinates that meet the load constraints from the candidate coordinate set to generate the replanned path topology structure.

[0200] The equipment load rate refers to the load condition of the processing equipment, and the idle state time series refers to the idle time series of the processing equipment. According to the equipment load rate and the idle state time series in the physical sensing data set, screen the transfer node coordinates that meet the load constraints from the candidate coordinate set. The replanned path topology structure is the new path topology structure formed by the determined transfer node coordinates after screening, which can avoid transmission conflicts and improve processing efficiency.

[0201] Step S370: Integrate the decelerated node speed parameters, the calibrated node coordinate parameters, and the replanned path topology structure to generate the complete node sequence of the target processing path and the transmission time between nodes, and verify whether the node parameters of the target processing path meet the dynamic process constraint conditions.

[0202] Integrate the decelerated node speed parameters, the calibrated node coordinate parameters, and the replanned path topology structure to obtain the complete node sequence of the target processing path and the transmission time between nodes. The complete node sequence determines the order of processing operations, and the transmission time between nodes represents the transmission time between nodes. Verify whether the node parameters of the target processing path meet the dynamic process constraint conditions. The dynamic process constraint conditions are conditions that change in real time according to the actual processing situation. If the node parameters do not meet the dynamic process constraint conditions, the target processing path needs to be further adjusted to ensure the smooth progress of processing operations.

[0203] Step S400: Allocate real-time control instructions to multiple processing devices according to the process constraint conditions, and monitor the feedback signals of the processing devices after executing the control instructions.

[0204] Real-time control instruction allocation is to allocate corresponding control instructions to multiple processing devices according to the process constraint conditions of each processing node in the target processing path. These control instructions include temperature control, pressure control, power control, etc., to ensure that the processing devices can perform processing operations as required.

[0205] The feedback signal is the signal returned after the processing equipment executes the control instruction, which reflects the actual operating state of the equipment. Monitoring the feedback signal can timely understand the execution situation of the processing equipment, discover potential problems, and take corresponding measures for adjustment.

[0206] Specifically, step S400 performs real-time control instruction allocation for multiple processing equipment according to process constraint conditions, including the following steps:

[0207] Step S410: Analyze the temperature threshold range, pressure threshold range, and machining accuracy level in the process constraint conditions, and generate a temperature control instruction set for the heating equipment based on the temperature threshold range.

[0208] The temperature threshold range is the allowable range of temperature during the processing specified in the process constraint conditions, the pressure threshold range is the allowable range of pressure, and the machining accuracy level is the requirement for machining accuracy. Analyzing these parameters in the process constraint conditions provides a basis for subsequent instruction generation.

[0209] Generate a temperature control instruction set for the heating equipment based on the temperature threshold range. The temperature control instruction set contains temperature control instructions that the heating equipment needs to execute, such as heating, heat preservation, cooling, etc. instructions. Through the temperature control instruction set, the temperature during the processing can be precisely controlled.

[0210] Step S420: Segmentally calibrate the pressure parameters of the stamping equipment according to the pressure threshold range, and generate a pressure gradient adjustment instruction.

[0211] Segmentally calibrate the pressure parameters of the stamping equipment according to the pressure threshold range, divide the pressure range into multiple intervals, and calibrate the pressure parameters of each interval. The pressure gradient adjustment instruction is an instruction generated according to the calibration result, which is used to adjust the pressure gradient of the stamping equipment to ensure that the pressure during the stamping process meets the process requirements.

[0212] Step S430: Modulate the output power of the laser engraving equipment based on the machining accuracy level, and generate a power adaptation instruction sequence.

[0213] The output power is an important parameter of the laser engraving equipment, which directly affects the engraving accuracy and effect. Modulate the output power of the laser engraving equipment based on the machining accuracy level, and adjust the output power according to different machining accuracy requirements.

[0214] The power adaptation instruction sequence is an instruction sequence generated according to the modulation result, which is used to control the output power of the laser engraving equipment to make it match the machining accuracy level.

[0215] Step S440: Verify the instruction synchronization of the temperature control instruction set, the pressure gradient adjustment instruction, and the power adaptation instruction sequence according to the processing time sequence, and delete the instruction segments with time conflicts.

[0216] The processing time sequence is the time sequence of processing operations. The temperature control instruction set, the pressure gradient adjustment instruction, and the power adaptation instruction sequence are verified for instruction synchronization according to the processing time sequence to check whether these instructions are coordinated with each other in time.

[0217] Delete the instruction segments with time conflicts. Time conflicts may cause the processing equipment to execute chaotically and affect the processing quality. By deleting the instruction segments with time conflicts, the synchronization and coordination of the instructions are ensured.

[0218] Step S450: Distribute the verified instruction set to the corresponding processing equipment, and record the instruction reception timestamp and execution status code of each processing equipment.

[0219] Distribute the verified instruction set to the corresponding processing equipment to ensure that each processing equipment can receive the correct control instructions. Record the instruction reception timestamp and execution status code of each processing equipment. The instruction reception timestamp is used to record the time when the instruction arrives at the equipment, and the execution status code is used to reflect the situation of the equipment executing the instruction, such as successful execution, failed execution, etc.

[0220] Step S460: Real-time collect the current fluctuation data and vibration frequency data of the processing equipment when executing the instruction set.

[0221] The current fluctuation data and vibration frequency data are important indicators reflecting the operating state of the processing equipment. Real-time collect the current fluctuation data and vibration frequency data of the processing equipment when executing the instruction set. By analyzing these data, the operating condition of the equipment can be understood, and potential faults and problems can be discovered.

[0222] Step S470: Perform a frequency-domain transformation on the current fluctuation data, extract the energy distribution characteristics within a preset frequency band, and judge whether the equipment is in an overloaded state according to the energy distribution characteristics.

[0223] Frequency-domain transformation is the process of converting the current fluctuation data from the time domain to the frequency domain. Common frequency-domain transformation methods include Fourier transform, etc. Through frequency-domain transformation, the current fluctuation data can be decomposed into components of different frequencies, and the energy distribution characteristics within a preset frequency band can be extracted. The energy distribution characteristics reflect the energy distribution of the current at different frequencies. According to the energy distribution characteristics, it can be judged whether the equipment is in an overloaded state. If the energy within the preset frequency band is too high, it may indicate that the equipment is in an overloaded state.

[0224] Step S480: Perform time-domain segmentation on the vibration frequency data, obtain the peak amplitudes within multiple time windows, and calculate the equipment stability index based on the peak amplitudes.

[0225] Time domain segmentation divides the vibration frequency data by time to obtain multiple time windows. The peak amplitude within each time window is obtained, and the peak amplitude reflects the vibration intensity of the device within that time window.

[0226] The device stability index is an indicator calculated based on the peak amplitude, and it is used to evaluate the stability of the device. The higher the device stability index, the more stable the operation of the device.

[0227] Step S490: When an overload state is detected or the device stability index is lower than the safety threshold, send a path interruption signal to the parameter adjustment model and trigger the path generation model to regenerate an alternative processing path.

[0228] The safety threshold is a preset lower limit value of the device stability index. When an overload state is detected or the device stability index is lower than the safety threshold, it indicates that there may be a fault or problem with the device, and timely measures need to be taken.

[0229] Send a path interruption signal to the parameter adjustment model to interrupt the current processing path. At the same time, trigger the path generation model to regenerate an alternative processing path to ensure that the processing operation can continue and avoid processing interruption caused by device problems.

[0230] Step S500: Based on the feedback signal, jointly iteratively update the path generation model and the parameter adjustment model until the processing error rate of the target processing path is lower than the preset threshold.

[0231] Jointly iteratively updating the path generation model and the parameter adjustment model based on the feedback signal is a key step in improving the processing control accuracy and stability of the circuit board. The feedback signal contains the actual situation of the processing process. By analyzing and utilizing it, the model can be continuously optimized to make the target processing path more in line with the actual processing requirements and reduce the processing error rate.

[0232] Specifically, step S500 jointly iteratively updates the path generation model and the parameter adjustment model based on the feedback signal, including the following steps:

[0233] Step S510: Extract the actual execution duration data and device energy consumption data of the processing path from the feedback signal, and calculate the deviation ratio between the actual execution duration and the predicted duration.

[0234] The feedback signal is a series of data returned by the processing equipment after executing the control instruction, which includes the actual execution duration data of the processing path and the equipment energy consumption data. The actual execution duration data refers to the time actually spent by the processing equipment to complete the entire processing process according to the target processing path, which reflects the time consumption of the actual processing process. The equipment energy consumption data reflects the energy consumption of the processing equipment during operation, which is closely related to the working efficiency of the equipment and the rationality of the processing technology.

[0235] Calculate the deviation ratio between the actual execution duration and the predicted duration. The predicted duration is the processing time estimated by the path generation model when generating the target processing path. The formula for calculating the deviation ratio is: Deviation ratio = (Actual execution duration - Predicted duration) / Predicted duration × 100%. This deviation ratio can intuitively reflect the difference between the actual processing time and the expected time, providing an important basis for subsequent adjustment of the path generation model. For example, if the deviation ratio is positive and large, it means that the actual execution time is longer than the predicted time, and there may be problems such as unreasonable processing path and low equipment operation efficiency; if the deviation ratio is negative and large, it may be that the predicted duration is set too long, and the accuracy of the model needs to be improved.

[0236] Step S520: Compensate and correct the node transmission time-consuming parameter in the path generation model according to the deviation ratio to generate the first model update gradient.

[0237] The node transmission time-consuming parameter is a parameter in the path generation model used to describe the time required from one processing node to another processing node, and it is an important basis for generating the processing path and predicting the processing duration. Compensate and correct the node transmission time-consuming parameter in the path generation model according to the deviation ratio calculated in step S510.

[0238] If the deviation ratio is positive, it means that the actual transmission time is longer than the model's estimate. At this time, the value of the node transmission time-consuming parameter needs to be appropriately increased; conversely, if the deviation ratio is negative, the value of the node transmission time-consuming parameter needs to be appropriately decreased. In this way, the model can estimate the processing time more accurately.

[0239] The first model update gradient is calculated based on the compensated and corrected node transmission time-consuming parameter, which represents the change amount of the path generation model in the parameter update direction. In machine learning, the gradient is a vector that points to the direction of the fastest growth of the function. By updating the model parameters along the opposite direction of the gradient, the loss function of the model can be gradually reduced, thereby improving the performance of the model. For example, when using the stochastic gradient descent algorithm for model update, the parameters of the path generation model will be adjusted according to the first model update gradient, so that the predicted duration of the processing path generated by the model is closer to the actual execution duration.

[0240] Step S530: Extract the actual machining accuracy data of the machining nodes from the feedback signal, compare it with the expected machining accuracy in the target machining path, and generate an accuracy error distribution map.

[0241] The actual machining accuracy data refers to the machining accuracy indicators actually achieved by the machining equipment at each machining node, such as dimensional accuracy, shape accuracy, etc. These data can be collected through high-precision measuring equipment, such as coordinate measuring machines, laser scanners, etc. The expected machining accuracy is the accuracy requirement set for each machining node in the target machining path, which is determined according to the design requirements and process standards of the circuit board.

[0242] Compare the actual machining accuracy data with the expected machining accuracy, and calculate the accuracy error of each machining node. The calculation method of the accuracy error can be determined according to the specific accuracy indicators. For example, for dimensional accuracy, the difference between the actual size and the expected size can be calculated. By statistically analyzing the accuracy errors of all machining nodes, an accuracy error distribution map is generated. The accuracy error distribution map visually shows the accuracy error conditions of each machining node in a graphical manner, which can help quickly locate the nodes with larger accuracy errors and provide a direction for the subsequent optimization of the parameter adjustment model.

[0243] Step S540: Iteratively optimize the rule for generating process constraint conditions in the parameter adjustment model according to the accuracy error distribution map, and generate the second model update gradient.

[0244] The rule for generating process constraint conditions is the rule used in the parameter adjustment model to generate the process constraint conditions for each machining node, which determines the operating parameters and operation requirements of the machining equipment at each machining node. According to the accuracy error distribution map generated in Step S530, the rule for generating process constraint conditions is iteratively optimized.

[0245] If the accuracy error of a certain machining node is large, it indicates that the process constraint conditions of this node may be unreasonable, and the rule for generating the process constraint conditions of this node needs to be adjusted. For example, if the actual aperture accuracy error at a certain drilling node is large, it may be necessary to adjust the generation rules of parameters such as drilling speed and drill bit rotation speed in the drilling process constraint conditions. By continuously optimizing the rule for generating process constraint conditions according to the accuracy error distribution map, the parameter adjustment model can generate more reasonable process constraint conditions and improve the machining accuracy.

[0246] The second model update gradient is calculated according to the iteratively optimized rule for generating process constraint conditions. It represents the change amount of the parameter adjustment model in the parameter update direction. Similar to the first model update gradient, the second model update gradient is used to guide the parameter update of the parameter adjustment model, so that the model can better adapt to the actual machining situation and reduce the machining accuracy error.

[0247] Step S550: The update gradients of the first model and the second model are fused using an alternating training strategy, and the network parameters of the path generation model and the parameter adjustment model are updated synchronously.

[0248] The alternating training strategy is a training method that alternates the update processes of the path generation model and the parameter adjustment model. In each iteration, first, the network parameters of the path generation model are updated according to the update gradient of the first model, enabling the path generation model to more accurately estimate the processing time; then, the network parameters of the parameter adjustment model are updated according to the update gradient of the second model, enabling the parameter adjustment model to generate more reasonable process constraints. Through this alternating training method, the two models cooperate with each other to jointly improve the accuracy and stability of printed circuit board processing control.

[0249] The network parameters are the learnable parameters in the path generation model and the parameter adjustment model, such as the weights and biases in a neural network. During the alternating training process, these network parameters are adjusted according to the update gradient of the first model and the update gradient of the second model. Specific update methods can use common optimization algorithms, such as Stochastic Gradient Descent (SGD), Adagrad, Adam, etc. Through continuous iterative updates, the performance of the path generation model and the parameter adjustment model is continuously improved, ultimately making the processing error rate of the target processing path lower than the preset threshold.

[0250] The preset threshold is a pre-set processing error rate standard, which is an important indicator for measuring the processing quality of printed circuit boards. When the processing error rate of the target processing path is lower than the preset threshold, it indicates that the processing quality of the printed circuit board meets the expected requirements. At this time, it can be considered that the joint iterative update process of the path generation model and the parameter adjustment model is completed, and the processing control method has achieved good results.

[0251] In practical applications, this joint iterative update process may need to be carried out multiple times, and each iteration will further optimize the model according to the feedback signal. At the same time, to ensure the generalization ability and stability of the model, technical means such as cross-validation and regularization can also be adopted. For example, when using cross-validation, the dataset can be divided into a training set, a validation set, and a test set. During the training process, the performance of the model is evaluated through the validation set to avoid overfitting of the model; when using the regularization technique, a regularization term can be added to the loss function to limit the value range of the model parameters and improve the generalization ability of the model.

[0252] In addition, with the use of processing equipment and the change of environmental conditions, the characteristics of the processing process may also change. Therefore, it is necessary to regularly collect and analyze the feedback signals, and continuously perform joint iterative updates on the path generation model and the parameter adjustment model to adapt to the changing processing requirements. For example, when the processing equipment shows wear, aging, etc., its operating performance may change. At this time, by timely updating the model, the processing accuracy and efficiency can be ensured not to be affected.

[0253] In summary, the circuit board processing control method provided by the present invention realizes the precise control and optimization of the circuit board processing process through a series of steps such as collecting real-time device status data, generating an initial processing path, performing parameter adjustment, allocating control instructions, and jointly iteratively updating the model based on feedback signals. This method makes full use of the advantages of the industrial Internet of Things and combines machine learning models to be able to adjust the processing path and process parameters in real time according to the actual processing situation, improving the processing quality and production efficiency of the circuit board, and having important practical application value.

[0254] Please refer to Figure 2 , Figure 2The structural schematic diagram of a circuit board processing control system provided by an embodiment of the present invention. The circuit board processing control system is, for example, a control device in a processing production line, such as a computer device, and at least includes a processor 101, a communication interface 102, and a memory 103. Among them, the processor 101, the communication interface 102, and the memory 103 can be connected through a bus or other means. Among them, the processor 101 (or Central Processing Unit, CPU) is the computing core and control core of the circuit board processing control system, and it can parse various instructions in the circuit board processing control system and process various data of the circuit board processing control system. The communication interface 102 may optionally include a standard wired interface, a wireless interface (such as WI-FI, a mobile communication interface, etc.), and under the control of the processor 101, it can be used for sending and receiving data; the communication interface 102 can also be used for the transmission and interaction of internal data in the circuit board processing control system. The memory 103 (Memory) is a memory device in the circuit board processing control system, used to store programs and data. It can be understood that the memory 103 here can include both the built-in memory of the circuit board processing control system and, of course, the extended memory supported by the circuit board processing control system. The memory 103 provides a storage space, and the operating system of the circuit board processing control system is stored in this storage space, which may include but is not limited to: Android system, iOS system, Windows Phone system, etc., and the present invention does not make any limitations in this regard. In one embodiment, the processor 101 executes the circuit board processing control method applied to the industrial Internet of Things provided above in the embodiments of the present invention by running the computer program in the memory 103.

Claims

1. A circuit board processing control method applied to the industrial Internet of Things, characterized in that, The method includes: Collecting real-time device status data of multiple processing devices during the processing of a target circuit board, where the device status data includes a set of processing parameters and a set of physical sensing data; Based on the historical processing path data in the set of processing parameters, calling a path generation model to generate an initial processing path, and inputting the initial processing path and the set of physical sensing data into a parameter adjustment model for matching to generate a path node adjustment instruction; Using the parameter adjustment model to optimize the parameters of the processing nodes in the initial processing path based on the path node adjustment instruction to generate a target processing path, and extracting the process constraint conditions of each processing node in the target processing path; Allocating real-time control instructions to the multiple processing devices according to the process constraint conditions, and monitoring the feedback signals of the processing devices after executing the control instructions; Jointly iteratively updating the path generation model and the parameter adjustment model based on the feedback signals until the processing error rate of the target processing path is lower than a preset threshold; The parameter adjustment model is obtained through multi-stage training, and the multi-stage training includes: Obtaining a first-stage training data set, where the first-stage training data set includes multiple sets of device status sample data and their corresponding standard processing path labels; Inputting the device status sample data into an initial parameter adjustment model to generate a predicted processing path, and calculating the path overlap loss value between the predicted processing path and the standard processing path label; Obtaining a second-stage training data set, where the second-stage training data set includes multiple sets of abnormal process sample data and their corresponding path correction labels; Inputting the abnormal process sample data into the initial parameter adjustment model trained in the first stage to generate a corrected predicted processing path, and calculating the error compensation loss value between the corrected predicted processing path and the path correction label; Fusing the path overlap loss value and the error compensation loss value according to a preset ratio to obtain a comprehensive training loss value, and performing backpropagation optimization on the initial parameter adjustment model according to the comprehensive training loss value until the comprehensive training loss value converges.

2. The method according to claim 1, wherein The set of processing parameters includes text-type processing parameters and image-type processing parameters. Based on the historical processing path data in the set of processing parameters, calling a path generation model to generate an initial processing path includes: Performing semantic segmentation on the text-type processing parameters to extract multiple process description segments, and performing edge contour detection on the image-type processing parameters to generate a corresponding processing area positioning map; Aligning the spatial coordinates of the process description segments and the processing area positioning map to construct a process feature sequence, and inputting the process feature sequence into the time series encoding layer of the path generation model; Performing topological sorting on the process dependency relationships in the process feature sequence through the time series encoding layer to generate a process node connection graph; Calling the path prediction layer in the path generation model to generate the node arrangement order and the transmission time between nodes of the initial processing path according to the process weights of each node in the process node connection graph.

3. The method according to claim 2, wherein Aligning the process description segment with the machining area location map in spatial coordinates to construct a process feature sequence includes: Extracting a text paragraph containing a location identifier from the process description segment to generate a set of location keywords, and identifying the coordinate region boundaries corresponding to the location identifier in the machining area location map; Assigning regional anchor coordinates to each location keyword according to the geometric center point coordinates of the coordinate region boundary to generate a keyword list with coordinate tags; Performing a topological traversal of the contour segmentation lines in the machining area location map to determine the processing order priority of each contour region, and sorting the keyword list with coordinate tags based on the processing order priority; Performing distance matching between the regional anchor coordinates in the sorted keyword list and the actual machining path start coordinates in the machining area location map, and screening out candidate coordinate pairs with a distance deviation less than the tolerance threshold; Semantically annotating the contour regions of the machining area location map according to the process description content of the keywords in the candidate coordinate pairs to generate an annotated process space distribution map; Binding the text content in the process description segment to the corresponding annotated regions in chronological order according to the distribution density of the annotated regions in the process space distribution map to form a process feature sequence including spatial coordinate dependency relationships.

4. The method according to claim 2, wherein Topologically sorting the process dependencies in the process feature sequence through the time series encoding layer to generate a process node connection diagram, including: Extracting the node identifier of each process node and the corresponding machining action description from the process feature sequence to generate a set of process node features including the input-output relationships between nodes; Traversing the set of process node features, analyzing the predecessor process nodes and successor process nodes of each process node, establishing a process dependency chain, and marking the process transmission direction between the nodes in the process dependency chain; Reconstructing the process dependency chain into a directed graph according to the process transmission direction to determine the initial in-degree value and the triggerable execution status of each process node; Screening candidate starting nodes with an in-degree of zero from the set of process node features based on the initial in-degree value and adding the candidate starting nodes to the queue of nodes to be processed; Successively taking out the current processing node from the queue of nodes to be processed, traversing the successor process nodes of the current processing node, updating the dynamic in-degree value of the successor process nodes, and adding the successor process nodes with a dynamic in-degree value reduced to zero to the queue of nodes to be processed; Recording the connection order and process transmission direction between the current processing node and the successor process nodes to generate a set of directed edges with weight identifiers; Generating a process node connection diagram including topological hierarchical relationships according to the set of directed edges and the arrangement order of the nodes in the set of process node features, where the topological hierarchical relationships are used to indicate the parallel execution intervals and serial dependency depths of the process nodes.

5. The method according to claim 2, wherein Generating the node arrangement order and the transmission time consumption between nodes of the initial machining path according to the process weights of the nodes in the process node connection diagram, including: Obtain the processing time-consuming weight, equipment switching weight, and path continuity weight included in the process weight, and generate a weight type association table based on the weight type; Traverse all nodes in the process node connection graph, and normalize the processing time-consuming weight of each node according to the weight type association table to generate a node comprehensive priority score; Extract the set of predecessor nodes of the current node from the process node connection graph, and determine the trigger execution condition of the current node according to the comprehensive priority score of the predecessor node set; Based on the trigger execution condition, filter candidate nodes that meet the path continuity weight requirement, and sort the candidate nodes in descending order according to the node comprehensive priority score to generate a candidate node execution queue; Select the head node from the candidate node execution queue in turn and add it to the initial processing path sequence, and calculate the equipment switching time-consuming between the head node and the previous node based on the equipment switching weight; According to the set of successor nodes of the head node in the process node connection graph, update the node arrangement order in the candidate node execution queue, and record the transmission time-consuming increment from the current node to the successor node; Repeat the steps of node selection, switching time-consuming calculation, and queue update until the initial processing path sequence contains all nodes in the process node connection graph, and synchronously output the cumulative value of the transmission time-consuming between nodes.

6. The method according to claim 1, characterized in that The calculation of the path coincidence degree loss value between the predicted processing path and the standard processing path label includes: Extract the position coordinate sequence of each processing node in the predicted processing path, and perform point-by-point matching of the position coordinate sequence with the reference coordinate sequence in the standard processing path label; Calculate the Euclidean distance of the unmatched coordinate points to generate a first local loss component, and calculate the processing time-consuming difference of the matched coordinate points to generate a second local loss component; Perform weighted summation of the first local loss component and the second local loss component, and generate a dynamic adjustment coefficient according to the weighted summation result; Based on the dynamic adjustment coefficient, redistribute the loss weights of the unmatched coordinate points and the matched coordinate points to obtain the path coincidence degree loss value.

7. The method according to claim 1, characterized in that The real-time control instruction allocation for the multiple processing devices according to the process constraint conditions includes: Analyze the temperature threshold range, pressure threshold range, and processing accuracy level in the process constraint conditions, and generate a temperature control instruction set for the heating device based on the temperature threshold range; Segmentally calibrate the pressure parameters of the stamping device according to the pressure threshold range to generate a pressure gradient adjustment instruction; Modulate the output power of the laser engraving device based on the processing accuracy level to generate a power adaptation instruction sequence; Verify the instruction synchronization of the temperature control instruction set, pressure gradient adjustment instruction, and power adaptation instruction sequence according to the processing time sequence, and delete the instruction segments with time conflicts; Distribute the verified instruction set to the corresponding processing devices, and record the instruction reception timestamp and execution status code of each processing device; Collect the current fluctuation data and vibration frequency data of the processing equipment in real time when executing the instruction set; Perform frequency domain transformation on the current fluctuation data, extract the energy distribution characteristics within a preset frequency band, and determine whether the equipment is in an overload state according to the energy distribution characteristics; Perform time domain segmentation on the vibration frequency data, obtain the peak amplitudes within multiple time windows, and calculate the equipment stability index based on the peak amplitudes; When detecting the overload state or the equipment stability index is lower than the safety threshold, send a path interruption signal to the parameter adjustment model and trigger the path generation model to regenerate an alternative processing path.

8. The method according to claim 1, wherein The joint iterative update of the path generation model and the parameter adjustment model based on the feedback signal includes: Extract the actual execution duration data and equipment energy consumption data of the processing path from the feedback signal, and calculate the deviation ratio between the actual execution duration and the predicted duration; Compensate and correct the node transmission time-consuming parameters in the path generation model according to the deviation ratio to generate the first model update gradient; Extract the actual processing accuracy data of the processing node from the feedback signal and compare it with the expected processing accuracy in the target processing path to generate an accuracy error distribution map; Iteratively optimize the process constraint condition generation rules in the parameter adjustment model according to the accuracy error distribution map to generate the second model update gradient; Adopt an alternating training strategy to fuse the first model update gradient and the second model update gradient, and synchronously update the network parameters of the path generation model and the parameter adjustment model.

9. A circuit board processing control system, characterized in that, Include: A memory in which a computer program is stored; A processor for loading the computer program to implement the circuit board processing control method applied to the industrial Internet of Things according to any one of claims 1-8.

Citation Information

Patent Citations

  • Numerical control machine tool machining path optimization method based on artificial intelligence

    CN119882593A

  • Electronic cigarette connecting column high-precision thread machining method and system

    CN120002099A