A product traceability method and system for an automatic taping machine
By automatically recording the trajectory change nodes and path segment connections during the bonding process, the problem of information input delays and errors caused by traditional manual operation is solved, realizing the real-time and complete traceability of bonding machine products, and improving data flow efficiency and the reliability of quality management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SICHUAN ZHANXIN ADHESIVE MATERIAL CO LTD
- Filing Date
- 2026-01-28
- Publication Date
- 2026-05-05
AI Technical Summary
Traditional automatic laminating machines rely on manual operation for product traceability, resulting in poor real-time information entry, which is prone to delays, omissions and errors, affecting the accuracy of data and the reliability of traceability. They cannot reflect real-time changes in the production process in a timely manner, limiting data flow efficiency and responsiveness.
By acquiring information on the direction of motion and status changes of the bonding head, extracting the direction vector and status code, locating trajectory change nodes, connecting path segments, analyzing execution intervals and workstation status, automatically recording the bonding process, and generating a bonding process traceability chain.
It enables full monitoring and automatic recording of the bonding process, improving the real-time nature and completeness of data, reducing human intervention and errors, and enhancing the transparency and controllability of product quality management.
Smart Images

Figure CN121599554B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of manufacturing traceability technology, and in particular to a product traceability method and system for automatic laminating machines. Background Technology
[0002] The field of manufacturing traceability technology involves recording the status of products during the manufacturing process, identifying information, and managing process data. Its core aspects include collecting process parameters, operation time, equipment status, personnel information, and material flow at each stage of product processing, and then structuring and binding the collected data to the process to establish a traceable product information chain. This technology mainly uses methods such as setting identification tags, collecting execution status, implementing data uploading, and binding execution processes to complete the data collection and trajectory establishment of products throughout the entire manufacturing process, so as to ensure that the source of product quality is traceable, the process is controllable, the nodes are traceable, and the responsibility is traceable. Traditional product traceability methods for automatic laminating machines refer to a type of approach that collects lamination status data and registers identification information for processed products during the automatic lamination process. The technical issue addressed is the inability to capture and automatically generate real-time records of the start and end times of the lamination action, the operating status of the lamination equipment, batch information of the laminating products, and the completion status during the lamination process. Traditional methods typically involve operators recording the operation time, equipment number, and product barcode after the lamination process is completed, and then inputting the recorded information into an information system or manually scanning external coded labels. This type of method usually relies on manual registration, form filling, offline label printing, and barcode scanning to establish the correlation between information and products.
[0003] In existing technologies, traditional product traceability methods rely on manual operation, resulting in poor real-time information entry. This often leads to delays or omissions in information entry during the production process, especially when multiple batches and tasks are carried out in parallel. Recording errors or data loss are prone to occur, affecting data accuracy and traceability reliability. Furthermore, the current methods of manual recording and barcode scanning for information binding are susceptible to operator negligence or system errors, leading to incomplete traceability chains or information gaps at various stages. Offline label printing and manual form filling also result in slow information updates, failing to reflect real-time changes in the production process and limiting data flow efficiency and responsiveness. Summary of the Invention
[0004] To address the technical problems existing in the prior art, embodiments of the present invention provide a product traceability method for an automatic laminating machine;
[0005] To achieve the above objectives, the present invention adopts the following technical solution: a product traceability method for an automatic laminating machine, comprising the following steps:
[0006] S1: Obtain the motion direction information and bonding state change information of the bonding head, extract the direction vector and state code of adjacent path segments, compare the angle and state changes, locate the trajectory change nodes, and obtain the trajectory change node identification results.
[0007] S2: Based on the trajectory change node identification results, extract the action description, sequence code and status information of the path segment, determine the connection relationship, connect continuous path segments, and obtain the trajectory path connection information;
[0008] S3: Based on the fitting trajectory path connection information, extract the task source, sequence code and behavior content, and obtain the path segment number corresponding to the path segment number according to the execution order of the fitting task;
[0009] S4: Based on the path segment number correspondence results, analyze the execution interval and workstation status changes between path segments, extract the time interval, equipment code and workstation status between paths, add logical numbers at the change positions, and obtain the workstation number addition results;
[0010] S5: Based on the workstation number addition result, extract the bonding path sequence, task identification code and bonding behavior field, associate the path number and task field and write them into the corresponding data position of the bonding task process to obtain the bonding process traceability chain content.
[0011] As a further embodiment of the present invention, the trajectory change node identification result includes direction vector, bonding state code, angle change, and node identifier; the bonding trajectory path connection information includes path segment, bonding action description, bonding sequence code, bonding behavior status, and path segment connection relationship; the path segment number corresponding result includes task source information, bonding sequence code, path behavior content, and path segment number; the workstation number addition result includes path execution order, execution interval, workstation switching status, equipment code, workstation status change, and logical number; and the bonding process traceability chain content includes path sequence, task identification code, bonding behavior field, path number, and task field association result.
[0012] As a further embodiment of the present invention, the trajectory change node refers to the position marker in the bonding path where the direction of movement and the bonding state change synchronously.
[0013] The term "connecting continuous path segments" refers to the process of logically linking adjacent path segments that have continuous alignment and consistent order.
[0014] As a further aspect of the present invention, adding a logical number at the changing position refers to inserting an identifier number to distinguish the execution stage between the workstation and the state switching node;
[0015] The data location corresponding to the fitting task flow refers to the task flow node where path data is associated with and written to the fitting task field.
[0016] As a further aspect of the present invention, the specific steps of S1 are as follows:
[0017] S101: Obtain the direction of movement of the bonding head and the change of bonding status of the bonding device during the task execution process, extract the direction vector and bonding status code of adjacent segments in the continuous bonding path segment, and synchronously compare the position of direction change and the position of status change to obtain the direction status comparison data group.
[0018] S102: Based on the changes in the direction change amplitude and the fit state code extracted from the direction state comparison data group, compare the path segment data, identify the location nodes where the two types of changes occur synchronously, and obtain the set of synchronous fit action locations.
[0019] S103: Based on the set of synchronous positions of the bonding action, extract the adjacent path sequence corresponding to each segment in the bonding path, determine the continuity relationship between the preceding and following paths segment by segment, and obtain the trajectory change node identification result.
[0020] As a further aspect of the present invention, the specific steps of S2 are as follows:
[0021] S201: Based on the position indicated by the trajectory change node identification result, extract the bonding action description information, bonding sequence code and bonding behavior status information in the adjacent bonding path segments, determine the continuous connection relationship between the bonding sequence and bonding status changes between path segments, and obtain the path status connection reference data group.
[0022] S202: Based on the path state connection reference data group, determine the continuity pattern of the bonding sequence encoding and bonding behavior state information between adjacent path segments, remove path positions with behavior jumps, and obtain a set of continuous path positions.
[0023] S203: Based on the set of continuous path locations, extract the sequential relationship of the corresponding path segments in the execution sequence of the fitting task, associate the order of the mutually connected path segments, and obtain the fitting trajectory path connection information.
[0024] As a further aspect of the present invention, the specific steps of S3 are as follows:
[0025] S301: Based on the path segment order in the fitting trajectory path connection information, extract the task source information, fitting order code and path behavior content corresponding to the path segment, and obtain the task issuance time and the actual execution time of the path segment corresponding to the task source information. Analyze the time relationship between the task source information and the fitting order code to obtain the path task order reference data group.
[0026] S302: Based on the path task sequence reference data group, determine whether there is a conflict between the execution order of the path segments in the matching task and the matching sequence encoding, extract the inconsistent positions, and obtain the path sequence correspondence set;
[0027] S303: Based on the path sequence correspondence set, the execution order information of the original path segment and the sequence relationship in the task process are used to replace the original path segment sequence identifier content to obtain the path segment number correspondence result.
[0028] As a further aspect of the present invention, the specific steps of S4 are as follows:
[0029] S401: Based on the path execution order in the path segment number corresponding result, extract the task end time and start time of adjacent path segments, and synchronously obtain the bonding device code and bonding slide rail number corresponding to the path segment, calculate the execution time interval between adjacent path segments, analyze the time interval of path segments with an interval time exceeding the set reference value, and obtain path interval distribution data.
[0030] S402: Based on the path spacing distribution data, extract the bonding equipment code, bonding slide rail number and workstation status change content, determine the continuity of the track number range before and after the status change, and obtain workstation status association data;
[0031] S403: Based on the workstation status association data, insert path number data representing workstation change information into the path segment where the status change occurs, and append it to the original path segment execution sequence to obtain the workstation number addition result.
[0032] As a further aspect of the present invention, the specific steps of S5 are as follows:
[0033] S501: Based on the logical path number added to the result by the workstation number, extract the matching path sequence and task identification code, associate the task time correspondence position, and obtain the path task corresponding data;
[0034] S502: Based on the path task corresponding data, extract the fitting behavior field, determine the bidirectional correspondence between the fitting behavior field and the logical path number in terms of time and behavior characteristics, exclude abnormal path segments where the behavior definition does not match the path characteristics or where the sensor data is missing, and obtain path behavior verification data.
[0035] S503: Based on the path behavior verification data, inject bidirectional fields between the path data and task data in the fitting task flow, and fill in the associated information in the order of path segments to obtain the fitting process traceability chain content.
[0036] A product traceability system for an automatic laminating machine includes:
[0037] The trajectory node recognition module acquires the motion direction information and bonding state change information of the bonding head, extracts the direction vector and bonding state code in adjacent bonding path segments, compares the changes in the direction vector angle with the changes in the bonding state code before and after, locates the trajectory change nodes, and obtains the trajectory change node identification results.
[0038] Based on the location indicated by the trajectory change node identification result, the path segment connection module extracts the action description, sequence code and status information of the path segment, determines the connection relationship, connects continuous path segments, and obtains the trajectory-fitting path connection information.
[0039] The path numbering processing module extracts the task source, sequence code and behavior content based on the path segment order in the fitting trajectory path connection information, and obtains the path segment number corresponding to the path segment number according to the execution order of the fitting task.
[0040] The workstation number analysis module analyzes the execution interval and workstation status changes between path segments based on the path segment number corresponding to the path execution order in the path segment number results, extracts the time interval between paths, equipment code and workstation status, adds logical numbers at the change positions, and obtains the workstation number addition results.
[0041] The task field association module extracts the fitting path sequence, task identification code and fitting behavior field from the logical path number added to the result based on the workstation number, associates the path number with the task field and writes it into the corresponding data position of the fitting task process to obtain the fitting process traceability chain content.
[0042] Compared with the prior art, the advantages and positive effects of the present invention are as follows:
[0043] In this invention, dynamic data acquisition and analysis enable full monitoring and automatic recording of the bonding process, improving the real-time nature and completeness of the data. The location of trajectory change nodes and the connection of path segments ensure that state changes at each stage are captured in a timely manner. Intelligent analysis of path segments and workstation status optimizes the connection between links, improves the continuity of execution, reduces human intervention and errors, strengthens the traceability from task source to execution process, and enhances the transparency and controllability of product quality management. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 This is a schematic diagram of the steps of the present invention;
[0046] Figure 2 This is a detailed schematic diagram of S1 of the present invention;
[0047] Figure 3 This is a detailed schematic diagram of S2 of the present invention;
[0048] Figure 4 This is a detailed schematic diagram of S3 of the present invention;
[0049] Figure 5 This is a detailed schematic diagram of S4 of the present invention;
[0050] Figure 6 This is a detailed schematic diagram of S5 of the present invention;
[0051] Figure 7 This is a system module diagram of the present invention. Detailed Implementation
[0052] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0053] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0054] Please see Figure 1 This invention provides a product traceability method for an automatic laminating machine, comprising the following steps:
[0055] S1: Acquire the motion direction information and bonding state change information of the bonding head of the continuous acquisition bonding device during the bonding task execution process, extract the direction vector and bonding state code in adjacent bonding path segments, compare the changes in the direction vector angle with the changes in the bonding state code before and after, locate the nodes where the bonding trajectory behavior changes, and obtain the trajectory change node identification results.
[0056] S2: Based on the position indicated by the trajectory change node identification result, extract the description information of the bonding action, the bonding sequence code and the bonding behavior status information in the bonding path segments before and after, determine the connection of the information in the path sequence, connect the path segments with continuous relationship, and obtain the bonding trajectory path connection information.
[0057] S3: Based on the path segment order in the path connection information of the fitting trajectory, extract the corresponding task source information, fitting order code and path behavior content, and re-match the path segment numbers according to the execution order of the fitting tasks to obtain the path segment number correspondence result.
[0058] S4: Based on the path execution order in the path segment number corresponding results, analyze the execution interval and workstation switching status between path segments, extract the bonding equipment code, bonding slide rail number and workstation status change information, add logical numbers at the positions where intervals and status changes occur, and obtain the workstation number addition result.
[0059] S5: Based on the workstation number added to the logical path number in the result, extract the bonding path sequence, task identification code and bonding behavior field, associate the path number with the task field, and add the association result between the corresponding path data and task data in the bonding task execution process to obtain the bonding process traceability chain content.
[0060] The trajectory change node identification results include direction vector, bonding status code, angle change, and node identifier. The bonding trajectory path connection information includes path segment, bonding action description, bonding sequence code, bonding behavior status, and path segment connection relationship. The path segment number corresponding results include task source information, bonding sequence code, path behavior content, and path segment number. The workstation number addition results include path execution order, execution interval, workstation switching status, equipment code, workstation status change, and logical number. The bonding process traceability chain content includes path sequence, task identification code, bonding behavior field, path number, and task field association results.
[0061] Please see Figure 2 The specific steps of S1 are as follows:
[0062] S101: Obtain the direction of movement of the bonding head and the change of bonding status of the bonding device during the task execution process, extract the direction vector and bonding status code of adjacent segments in the continuous bonding path segment, and synchronously compare the position of direction change and the position of status change to obtain the direction status comparison data group.
[0063] First, a high-frequency six-axis inertial measurement unit and a high-sensitivity flexible pressure sensor array deployed at the end of the bonding actuator are used to collect displacement data, acceleration data, and contact surface pressure distribution data of the bonding head in a spatial rectangular coordinate reference at a sampling frequency of 2000 Hz in real time. The collected raw analog signals are converted into digital signal sequences via an analog-to-digital converter. For the collected three-dimensional coordinate point sequence, a sliding window algorithm is used to select a time window containing five consecutive sampling points. The displacement differences of the first and last coordinate points within the window on the X, Y, and Z axes are calculated respectively. The displacement difference of each axis is divided by the corresponding time interval to obtain the component velocity value of each axis. Then, spatial vector operations are performed. The horizontal velocity component is calculated logically based on the Pythagorean theorem, and then the vertical velocity component is combined with the arctangent function to deduce the motion direction vector of the fitting head at the current moment. This direction vector is characterized by two parameters: the horizontal azimuth angle and the vertical pitch angle. Simultaneously, the synchronously collected pressure distribution data and acceleration data are input into a pre-constructed convolutional neural network model for fitting state recognition. This model first includes an input layer to receive normalized time-series segments containing pressure and acceleration values, with a data dimension set to 5 rows and 3 columns. This is followed by two one-dimensional convolutional layers. The first convolutional layer has 32 convolutions. The first convolutional layer has 64 kernels, each with a kernel size of 3, and uses ReLU activation to extract local features. The second convolutional layer has 64 kernels, also with a kernel size of 3, and also uses ReLU activation. After the convolutional layers, a max-pooling layer with a kernel size of 2 is connected to reduce data dimensionality. Finally, a fully connected layer containing 128 neurons outputs the current bonding state encoding via a softmax output layer. This encoding includes "01" for a fast approach state, "02" for a pressure bonding state, "03" for a pressure holding and solidifying state, and "04" for a return state. This encoding is used to obtain continuous time series data. After the direction vector is coupled with the state code, the angle change of the direction vector at adjacent sampling times is calculated one by one, and the change value is time-aligned with the time when the state code changes. For example, in a certain measurement, at timestamp 100 milliseconds, the horizontal azimuth angle changes from 45.0 degrees to 45.1 degrees, and the state code remains unchanged at "01". At timestamp 500 milliseconds, the horizontal azimuth angle changes abruptly from 45.5 degrees to 90.0 degrees, and the state code changes from "01" to "02". Through this time-alignment operation, all times when the direction changes significantly are associated with the times when the state code changes, and the direction state comparison data set is obtained.
[0064] S102: Based on the changes in the magnitude of directional changes and the changes in the bonding state code extracted from the directional state comparison data set, compare the path segment data, identify the location nodes where the two types of changes occur synchronously, and obtain the set of synchronous locations of bonding actions.
[0065] First, a baseline value of 5.0 degrees for the directional change amplitude is set. This baseline value is derived from the statistical analysis of 1000 historical standard fitting tasks, in which 95% of the non-motion jitter deviations were less than 4.8 degrees. Therefore, 5.0 degrees is taken as the dividing line for valid motion judgment. At the same time, a logic for judging the validity of status code changes is set. Only when the status code flows from a low sequence number to a high sequence number, such as 01 to 02 or a specific loop 04 to 01, is it considered a valid change. Data groups are scanned one by one, and the directional change amplitude in each record is calculated. If the amplitude is greater than 5.0 degrees, and the fitting status code at the same timestamp has been valid, then the change is considered valid. If a change occurs, the location is determined to be a "dual action feature point". For example, in a record of the data set, the timestamp is 1.5 seconds and the direction change range is 45.0 degrees. This value is greater than the 5.0-degree baseline value, and the status code changes from "01 approaching" to "02 increasing pressure". If the synchronization condition is met, the location is marked. Records with only a direction change greater than 5.0 degrees but no change in status, or only a change in status but no change in direction, are removed. Through this filtering logic, the time nodes when all the fitting actions and path turns occur simultaneously are identified. These nodes are arranged in chronological order to obtain the set of fitting action synchronization locations.
[0066] S103: Based on the synchronous position set of the bonding action, extract the adjacent path sequence corresponding to each segment in the bonding path, determine the continuity relationship between the preceding and following paths segment by segment, and obtain the trajectory change node identification result;
[0067] First, based on the time index of each node in the synchronization position set of the bonding action, the original continuous bonding trajectory data is divided into several independent path segments. For the nth node and the (n+1th)th node in the set, the trajectory sequence formed by all sampling points between them is extracted as the nth bonding path segment. Subsequently, the coordinates of the first and last points, the average velocity vector, and the duration of each path segment are extracted. The geometric continuity between adjacent path segments is analyzed segment by segment. After normalizing the tangent vector at the end of the previous segment and the tangent vector at the beginning of the next segment, the dot product is calculated. This dot product is the cosine value of the angle between the two vectors. If the calculated cosine value is greater than 0.8, it is determined that the two have a smooth continuity relationship and is marked as "smooth transition". If the cosine value is less than or equal to 0.8, it is judged as a "broken line transition" and marked as "action switch". For example, the normalized terminal tangent vector components of path segment A are 1, 0, 0, and the normalized initial tangent vector components of path segment B are 0.9, 0.1, 0. Directly performing a dot product operation on the above two sets of vectors yields a result of 0.9, which is greater than 0.8. Therefore, A and B are marked as a smooth transition. If the initial vector of path segment C is 0, 1, 0, the result is 0, which is marked as an action switch. Traverse all the segmented path segments and generate a result containing "path segment ID - preceding segment ID - following segment ID - connection type identifier" to obtain the trajectory change node identifier result.
[0068] Please see Figure 3 The specific steps of S2 are as follows:
[0069] S201: Based on the location indicated by the trajectory change node identification result, extract the description information of the bonding action, the bonding sequence code and the bonding behavior status information in the adjacent bonding path segments, determine the continuous connection relationship between the bonding sequence and bonding status changes between the path segments, and obtain the path status connection reference data group.
[0070] First, the bonding action description information, bonding sequence code, and bonding behavior status information of adjacent bonding path segments are extracted. For each path segment, the average pressure value, pressure variance, and total Z-axis displacement within the segment are calculated. If the average pressure value is greater than 100 Newtons and the variance is less than 5, a "stable pressurization" description is generated. If the total Z-axis displacement is negative and the pressure value is 0, a "descending approach" description is generated. At the same time, the original bonding sequence code and the real-time identified bonding behavior status information corresponding to the segment are read, and then a continuous connection relationship judgment is performed to check the logical rationality of the "final state of the previous segment" and the "initial state of the next segment". For example, if the previous segment is "descending approach", the next segment must be "stable pressurization" or "position calibration". If the next segment directly shows "return lift", it is judged as a logical break. Through the logical verification of the whole sequence, data content containing complete semantic description and logical connection verification flags is established to obtain the path status connection reference data group.
[0071] S202: Based on the path state connection reference data group, determine the continuity pattern of the bonding sequence encoding and bonding behavior state information between adjacent path segments, remove path positions with behavior jumps, and obtain a set of continuous path positions;
[0072] First, the continuity pattern of the bonding sequence encoding and bonding behavior state information between adjacent path segments is determined. Abnormal pattern cleaning and correction operations are performed, with a focus on identifying "behavior jump" patterns, i.e., those nodes deemed "invalid". Specifically, a time neighborhood threshold of 200 milliseconds is set. If an isolated path segment with a duration of less than 200 milliseconds and a state discontinuous with the preceding and following segments exists, it is determined to be a "false path" caused by sensor noise or transient interference. For example, if a path segment with a duration of only 50 milliseconds and a state of "standby" is sandwiched between the two long paths of "pressurization" and "pressure holding", it is removed. The two long paths are then logically stitched together on the time axis, i.e., the start time pointer of the latter segment is corrected to point to the end time of the former segment. For non-noise-related logical jumps, such as missing steps, the breakpoint position is marked. After removing and stitching all invalid jump nodes, a clean and logically rigorous set of paths is output, resulting in a set of continuous path positions.
[0073] S203: Based on the set of continuous path locations, extract the sequential relationship of the corresponding path segments in the execution sequence of the fitting task, associate the order of the mutually connected path segments, and obtain the fitting trajectory path connection information.
[0074] First, the sequential relationship of the corresponding path segments in the execution time of the fitting task is extracted. The topological relationship of each path segment is reorganized according to the chronological order of occurrence. The absolute start and end timestamps of each retained path segment are read, and a doubly linked list structure is constructed. Each path segment object is assigned a "predecessor pointer" pointing to the ID of the immediately preceding segment in time, and a "successor pointer" pointing to the ID of the immediately following segment. In this process, special attention is paid to the path transitions across different fitting surfaces. Physical adjacency is confirmed by calculating spatial distance. For example, if the end coordinates of path segment A are 100, 200, 50, and the start coordinates of path segment B are 100, 200, 50, and the time difference is less than the set mechanical response delay threshold, such as 10 milliseconds, then A and B are confirmed to be physically directly connected, and a strong connection relationship is established. Finally, connection information containing linear time series and three-dimensional connection verification data of spatial location is generated, and the fitting trajectory path connection information is obtained.
[0075] Please see Figure 4 The specific steps of S3 are as follows:
[0076] S301: Based on the path segment order in the path connection information of the fitting trajectory, extract the task source information, fitting order code and path behavior content corresponding to the path segment, and obtain the task issuance time and the actual execution time of the path segment corresponding to the task source information. Analyze the time relationship between the task source information and the fitting order code to obtain the path task order reference data group.
[0077] First, the task source information, fitting sequence code, and path behavior content corresponding to the path segments are extracted. The actual execution order of each path segment is parsed from the fitting trajectory path connection information. At the same time, the production management database is accessed to extract the original work order information of the batch of fitting tasks, including the task source such as order number, product batch, preset fitting sequence code, and theoretical path behavior content. Using the path segment ID as the key, the actual physical path is mapped to the theoretical task information. The "task-execution time deviation" of each path segment is calculated, that is, the actual start time minus the task issuance time. For example, if task instruction T1 requires execution at 10:00, and the actual path P1 is executed at 10:01, the deviation is recorded as 1 minute. Through this process, the motion data of the physical layer and the task instructions of the information layer are analyzed in a multi-dimensional correlation to obtain the path task sequence reference data group.
[0078] S302: Based on the path task sequence reference data set, determine whether there is a conflict between the execution order of the path segments in the matching task and the matching sequence encoding, extract the inconsistent positions, and obtain the path sequence correspondence set;
[0079] First, determine whether there is a conflict between the execution order of the path segments in the fitting task and the fitting order coding. Start the consistency check program between the execution order and the preset logic, traverse the data group, and compare the monotonicity of the "actual execution order" and the "fitting order coding". Under normal circumstances, the fitting order coding should show a monotonically increasing trend as the execution time progresses. If a reversal is found, such as executing coding 5 first and then coding 3, it is determined to be a "sequence conflict". Set the conflict judgment window to 3 path segments. If there is a disorder in the window, extract all path segment IDs and their corresponding time and coding information in the window. For example, if "step A coding 10 to step B coding 12 to step C coding 11" is detected in the sequence, then step B and step C are marked as inconsistent positions. Through full comparison, summarize all path nodes that do not conform to the preset process flow to obtain the path order correspondence set.
[0080] S303: Based on the path sequence correspondence set, the execution order information of the original path segment corresponds to the sequence relationship in the task process, and the original path segment sequence identifier content is replaced to obtain the path segment number correspondence result;
[0081] First, based on the execution order information of the original path segments and the sequential relationship in the task process, the sequence identifiers of the original path segments are replaced. For conflict nodes marked in the path sequence correspondence set, sequence correction and renumbering operations based on task process logic are performed. According to the standard process flow diagram in the task specification, with the "sequential relationship in the task process" as the truth value benchmark, the incorrect sequence identifiers in the actual path segments are forcibly replaced. For example, for the aforementioned error where "code 12" appears before "code 11", the logical number of the second path segment actually executed, i.e., the original error marked as 12, is corrected to 11 according to the standard process. Alternatively, if it is confirmed to be a physical execution order error, the numbering system is reconstructed by adding an "abnormal-reverse" label, such as marking it as "10-Err-12". After completing the correction of all conflict points, all path segments are globally unified and standardized, resulting in the path segment number correspondence.
[0082] Please see Figure 5 The specific steps of S4 are as follows:
[0083] S401: Based on the path execution order in the path segment number corresponding results, extract the task end time and start time of adjacent path segments, and synchronously obtain the bonding device code and bonding slide rail number corresponding to the path segment, calculate the execution time interval between adjacent path segments, analyze the time interval of path segments with an interval time exceeding the set reference value, and obtain path interval distribution data.
[0084] First, extract the task end time and start time of adjacent path segments. Analyze the time interval of path segments whose interval time exceeds the set reference value. Calculate the "silent time interval" between adjacent path segments. The calculation logic is the start time of the later segment minus the end time of the previous segment. The path interval reference value is set to 2.0 seconds. This value is based on the fact that the maximum mechanical time for the bonding equipment to complete the action switching within the same workstation is usually 1.5 seconds, with a 0.5-second redundancy. If the calculated time interval exceeds 2.0 seconds, the gap is determined to be a "non-action switching gap," which may involve workstation flow or long waiting time. For example, if the calculated time interval between P5 and P6 is 5.0 seconds, which is greater than the 2.0-second reference value, then record the gap value and the corresponding preceding and following path IDs. Traverse the entire process and statistically analyze the distribution of all exceeding gaps to obtain the path interval distribution data.
[0085] S402: Based on the path spacing distribution data, extract the bonding equipment code, bonding slide rail number and workstation status change content, determine the continuity of the track number range before and after the status change, and obtain workstation status association data.
[0086] Based on the path spacing distribution data, the system first reads the preceding segment number, following segment number, spacing value, and execution order mark of each adjacent path segment record. The spacing value is then compared with the reference value of 2.0 for each record. Records with a spacing value greater than 2.0 are marked as candidate switching points, and the preceding and following path segment indices are retained. For each candidate switching point, the corresponding equipment code, slide rail number, and workstation status fields for the preceding and following segments are retrieved. A consistency check is first performed on the equipment code. If the preceding and following equipment codes are completely identical, the process proceeds to the next step. If they are inconsistent, the system writes the code to the cross-equipment list and stops the continuity determination for that track. For the retained records, the slide rail number is converted to an integer, and the minimum and maximum values of the preceding slide rail number are calculated to form range A. The minimum and maximum values of the following slide rail number are calculated to form range B. The absolute value of the difference between the starting value of B and the ending value of A is then calculated and compared with a threshold of 1. A difference less than or equal to 1 is marked as a continuous track range, and a difference greater than 1 is marked as a discontinuous track range. The system performs change detection on the workstation status, mapping the workstation status to sequence numbers 0 to 4. If the sequence numbers are the same, it indicates no change; if the sequence numbers are different, it indicates a change, and the sequence number from the previous number to the next is recorded. The continuity markers for the track range and the change markers for the workstation status are jointly categorized and written into associated entries. These associated entries record the equipment code, the preceding and following path segment numbers, the preceding and following slide rail ranges, the preceding and following workstation status sequence numbers, the spacing value, the continuity marker, and the change marker. For example, one record has a spacing of 5.0 and greater than 2.0, the equipment code is DEV01 before and after, slide rail range A is 20 to 25, slide rail range B is 26 to 30, and the difference is 1, indicating continuity. The change in workstation status from 2 to 3 indicates a change, and the sequence number from 2 to 3 is recorded. Another record has a spacing of 6.5 and greater than 2.0, slide rail range A is 40 to 45, slide rail range B is 60 to 62, and the difference is 15, indicating discontinuity. The change in workstation status from 3 to 1 indicates a change, and the sequence number from 3 to 1 is recorded. This yields the associated workstation status data.
[0087] S403: Based on the workstation status association data, insert the path number data representing the workstation change information into the path segment where the status change is located, and append it to the original path segment execution sequence to obtain the workstation number addition result;
[0088] First, path number data representing workstation change information is inserted into the path segment where the status change occurs, and appended to the original path segment execution sequence. At the corresponding time interval of the original path execution sequence, virtual "workstation change path segments" are dynamically inserted. These virtual segments do not correspond to specific bonding actions, but represent the material transfer process. Specific path numbers, such as "T-Station-Change-01", are assigned to these newly inserted segments, and information fields containing workstation change details are written. These virtual segments are appended to the original path segment execution sequence according to timestamps, reconstructing the complete timeline of the entire workflow. For example, between the original paths P5 and P6, a segment "P5-Transfer" is inserted, making the data flow change from P5 to P5-Transfer and then to P6. Through this operation, the originally discrete bonding action sequence is linked into a closed and continuous work loop by the material transfer event, resulting in the workstation number addition.
[0089] Please see Figure 6 The specific steps of S5 are as follows:
[0090] S501: Based on the workstation number added to the logical path number in the result, extract the matching path sequence and task identification code, associate the task time correspondence position, and obtain the path task corresponding data;
[0091] First, the matching path sequence and task identification code are extracted, and the corresponding task time position is associated. Based on the workstation number containing workstation change information, the result is added, and the logical path number of the entire sequence is extracted. Through the database interface, these numbers are finally associated with the "task identification code" in the Enterprise Resource Planning (ERP) or Manufacturing Execution System (MES). Using time as the index, the corresponding position of each logical path segment, including virtual segments, in the task plan is matched. For example, the physical path "P005" is bound to the task code "TASK-2023-BOND-step5", and the virtual path "T-Station-Change-01" is bound to the task code "TASK-LOGISTICS-step1". Through this one-to-one mapping, the path task corresponding data is constructed, realizing a two-way index from the underlying physical action to the upper management task, and obtaining the path task corresponding data.
[0092] S502: Based on the path task corresponding data, extract the fitting behavior field, determine the bidirectional correspondence between the fitting behavior field and the logical path number in terms of time and behavior characteristics, exclude abnormal path segments where the behavior definition does not match the path characteristics or where the sensor data is missing, and obtain path behavior verification data.
[0093] First, the bonding behavior field is extracted. The bidirectional position of the bonding behavior field and the logical path number is determined, and path segments without cross-association are excluded. Deep logical verification is performed on the data corresponding to the path task. The action definition implied by the "bonding behavior field" such as "applying glue" and "pre-pressing" in each record is extracted and compared with the "logical path number". A bidirectional position judgment method is adopted: on the one hand, it is checked whether the "applying glue" behavior occurs within the defined glue application station path segment. On the other hand, it is checked whether the sensor characteristics of the path segment match the physical characteristics of glue application, such as the glue valve opening signal. If a path segment is marked as "bonding" but there is no corresponding pressure data, or the task requires "applying glue" but the path is displayed as "rapid movement", it is determined as "no cross-association" or "weak association" and is excluded or marked with a warning. Only those records that are highly consistent in terms of behavior definition, physical characteristics and task instructions are retained to obtain path behavior verification data.
[0094] S503: Based on path behavior verification data, inject bidirectional fields between path data and task data in the fitting task flow, and fill in the associated information according to the path segment order to obtain the fitting process traceability chain content.
[0095] First, bidirectional fields are injected between path data and task data in the fitting task process. Related information is added sequentially according to path segments. Verified path behavior is used to validate the data. Then, bidirectional field injection is performed in the final fitting task process database. The corresponding task ID is written to each path data packet, along with the corresponding path ID and execution metadata, establishing a "data handshake." Related information, including operator ID, equipment parameter snapshots, and auxiliary traceability information such as environmental temperature and humidity, is added sequentially according to the time sequence of the path segments. This ultimately constructs a complete fitting process traceability chain. This chain allows users to query the complete physical motion trajectory and sensor waveforms from any task number, and also to reverse-engineer the task batch and work order details from any abnormal trajectory. For example, when querying task T, the complete trajectory chain from P1 to Pn is immediately displayed, along with intermediate workstation switching records and quality verification results, thus obtaining the fitting process traceability chain content.
[0096] Please see Figure 7 A product traceability system for an automatic laminating machine, comprising:
[0097] The trajectory node recognition module acquires the motion direction information and bonding state change information of the bonding head, extracts the direction vector and bonding state code in adjacent bonding path segments, compares the changes in the direction vector angle with the changes in the bonding state code before and after, locates the trajectory change nodes, and obtains the trajectory change node identification results.
[0098] The path segment connection module extracts the action description, sequence code and status information of the path segment based on the position indicated by the trajectory change node identification result, determines the connection relationship, connects continuous path segments, and obtains the path connection information that fits the trajectory.
[0099] The path numbering processing module extracts the task source, sequence code, and behavior content based on the path segment order in the trajectory path connection information, and obtains the path segment number corresponding to the execution order of the fitting task.
[0100] The workstation number analysis module analyzes the execution interval between path segments and the changes in workstation status based on the path execution order in the path segment number corresponding results. It extracts the time interval between paths, equipment codes and workstation status, and adds logical numbers at the changed positions to obtain the workstation number addition results.
[0101] The task field association module adds the logical path number from the result based on the workstation number, extracts the bonding path sequence, task identification code and bonding behavior field, associates the path number with the task field and writes it into the corresponding data position of the bonding task process to obtain the bonding process traceability chain content.
[0102] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A product traceability method for an automatic laminating machine, characterized in that, Includes the following steps: S1: Obtain the motion direction information and bonding state change information of the bonding head, extract the direction vector and state code of adjacent path segments, compare the angle and state changes, locate the trajectory change nodes, and obtain the trajectory change node identification results. S2: Based on the trajectory change node identification results, extract the action description, sequence code and status information of the path segment, determine the connection relationship, connect continuous path segments, and obtain the trajectory path connection information; S3: Based on the fitting trajectory path connection information, extract the task source, sequence code and behavior content, and obtain the path segment number corresponding to the path segment number according to the execution order of the fitting task; S4: Based on the path segment number correspondence results, analyze the execution interval and workstation status changes between path segments, extract the time interval, equipment code and workstation status between paths, add logical numbers at the change positions, and obtain the workstation number addition results; S5: Based on the workstation number addition result, extract the bonding path sequence, task identification code and bonding behavior field, associate the path number and task field and write them into the data position corresponding to the bonding task process to obtain the bonding process traceability chain content. The specific steps of step S1 are as follows: S101: Obtain the direction of movement of the bonding head and the change of bonding status of the bonding device during the task execution process, extract the direction vector and bonding status code of adjacent segments in the continuous bonding path segment, and synchronously compare the position of direction change and the position of status change to obtain the direction status comparison data group. S102: Based on the changes in the direction change amplitude and the fit state code extracted from the direction state comparison data group, compare the path segment data, identify the location nodes where the two types of changes occur synchronously, and obtain the set of synchronous fit action locations. S103: Based on the set of synchronous positions of the bonding action, extract the adjacent path sequence corresponding to each segment in the bonding path, determine the continuity relationship between the preceding and following paths segment by segment, and obtain the trajectory change node identification result; The workstation status change in step S4 includes retrieving the equipment code, slide rail number, and workstation status field corresponding to the front and rear sections for each candidate switching point. First, a consistency check is performed on the equipment code. If the characters of the front and rear equipment codes are completely consistent, the next step is performed. If the front and rear equipment codes are inconsistent, they are written into the cross-equipment list and the continuity judgment of that track is stopped. At the same time, a change judgment is performed on the workstation status. The workstation status is mapped to the sequence number 0 to 4. If the front and rear sequence numbers are the same, it is marked as no change. If the front and rear sequence numbers are different, it is marked as a change and the front sequence number is recorded to the rear sequence number.
2. The product traceability method for an automatic laminating machine according to claim 1, characterized in that, The trajectory change node identification results include direction vector, bonding status code, angle change, and node identifier. The bonding trajectory path connection information includes path segment, bonding action description, bonding sequence code, bonding behavior status, and path segment connection relationship. The path segment number corresponding results include task source information, bonding sequence code, path behavior content, and path segment number. The workstation number addition results include path execution order, execution interval, workstation switching status, equipment code, workstation status change, and logical number. The bonding process traceability chain content includes path sequence, task identification code, bonding behavior field, path number, and task field association results.
3. The product traceability method for an automatic laminating machine according to claim 1, characterized in that, The trajectory change node refers to the location marker in the bonding path where the direction of movement and the bonding state change synchronously. The term "connecting continuous path segments" refers to the process of logically linking adjacent path segments that have continuous alignment and consistent order.
4. The product traceability method for an automatic laminating machine according to claim 1, characterized in that, The addition of logical numbers at changing locations refers to inserting identifier numbers into workstations and status switching nodes to distinguish execution stages. The data location corresponding to the fitting task flow refers to the task flow node where path data is associated with and written to the fitting task field.
5. The product traceability method for an automatic laminating machine according to claim 1, characterized in that, The specific steps of S2 are as follows: S201: Based on the position indicated by the trajectory change node identification result, extract the bonding action description information, bonding sequence code and bonding behavior status information in the adjacent bonding path segments, determine the continuous connection relationship between the bonding sequence and bonding status changes between path segments, and obtain the path status connection reference data group. S202: Based on the path state connection reference data group, determine the continuity pattern of the bonding sequence encoding and bonding behavior state information between adjacent path segments, remove path positions with behavior jumps, and obtain a set of continuous path positions. S203: Based on the set of continuous path locations, extract the sequential relationship of the corresponding path segments in the execution sequence of the fitting task, associate the order of the mutually connected path segments, and obtain the fitting trajectory path connection information.
6. The product traceability method for an automatic laminating machine according to claim 1, characterized in that, The specific steps for S3 are as follows: S301: Based on the path segment order in the fitting trajectory path connection information, extract the task source information, fitting order code and path behavior content corresponding to the path segment, and obtain the task issuance time and the actual execution time of the path segment corresponding to the task source information. Analyze the time relationship between the task source information and the fitting order code to obtain the path task order reference data group. S302: Based on the path task sequence reference data group, determine whether there is a conflict between the execution order of the path segments in the matching task and the matching sequence encoding, extract the inconsistent positions, and obtain the path sequence correspondence set; S303: Based on the path sequence correspondence set, the execution order information of the original path segment and the sequence relationship in the task process are used to replace the original path segment sequence identifier content to obtain the path segment number correspondence result.
7. The product traceability method for an automatic laminating machine according to claim 1, characterized in that, The specific steps of S4 are as follows: S401: Based on the path execution order in the path segment number corresponding result, extract the task end time and start time of adjacent path segments, and synchronously obtain the bonding device code and bonding slide rail number corresponding to the path segment, calculate the execution time interval between adjacent path segments, analyze the time interval of path segments with an interval time exceeding the set reference value, and obtain path interval distribution data. S402: Based on the path spacing distribution data, extract the bonding equipment code, bonding slide rail number and workstation status change content, determine the continuity of the track number range before and after the status change, and obtain workstation status association data; S403: Based on the workstation status association data, insert path number data representing workstation change information into the path segment where the status change occurs, and append it to the original path segment execution sequence to obtain the workstation number addition result.
8. The product traceability method for an automatic laminating machine according to claim 1, characterized in that, The specific steps of S5 are as follows: S501: Based on the logical path number added to the result by the workstation number, extract the matching path sequence and task identification code, associate the task time correspondence position, and obtain the path task corresponding data; S502: Based on the path task corresponding data, extract the fitting behavior field, determine the bidirectional correspondence between the fitting behavior field and the logical path number in terms of time and behavior characteristics, exclude abnormal path segments where the behavior definition does not match the path characteristics or where the sensor data is missing, and obtain path behavior verification data. S503: Based on the path behavior verification data, inject bidirectional fields between the path data and task data in the fitting task flow, and fill in the associated information in the order of path segments to obtain the fitting process traceability chain content.
9. A product traceability system for an automatic laminating machine, characterized in that, The system is used to implement the product traceability method for an automatic laminating machine according to any one of claims 1-8, the system comprising: The trajectory node recognition module acquires the motion direction information and bonding state change information of the bonding head, extracts the direction vector and bonding state code in adjacent bonding path segments, compares the changes in the direction vector angle with the changes in the bonding state code before and after, locates the trajectory change nodes, and obtains the trajectory change node identification results. Based on the location indicated by the trajectory change node identification result, the path segment connection module extracts the action description, sequence code and status information of the path segment, determines the connection relationship, connects continuous path segments, and obtains the trajectory-fitting path connection information. The path numbering processing module extracts the task source, sequence code and behavior content based on the path segment order in the fitting trajectory path connection information, and obtains the path segment number corresponding to the path segment number according to the execution order of the fitting task. The workstation number analysis module analyzes the execution interval and workstation status changes between path segments based on the path segment number corresponding to the path execution order in the path segment number results, extracts the time interval between paths, equipment code and workstation status, adds logical numbers at the change positions, and obtains the workstation number addition results. The task field association module extracts the fitting path sequence, task identification code and fitting behavior field from the logical path number added to the result based on the workstation number, associates the path number with the task field and writes it into the corresponding data position of the fitting task process to obtain the fitting process traceability chain content.
Citation Information
Patent Citations
Electronic tag production quality control method
CN120068902A
Multi-area mechanical arm collaborative operation method and electronic equipment
CN120588234A