Intelligent control method for online printing and labeling all-in-one machine

By using the intelligent control method of the online printing and labeling machine, the machine identifies rhythm changes and adjusts the order of labeling actions, matches the graphic content, and calculates the pressure of the labeling direction. This solves the problems of misaligned and detached labels in traditional methods, and achieves a more stable and reliable labeling process.

CN120964183APending Publication Date: 2025-11-18GUANGDONG WEIKE INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511406103.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-29
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Traditional online printing and labeling machines lack the ability to actively recognize changes in the rhythm of continuous target movements during the labeling process, resulting in misaligned, empty, or detached labels. Furthermore, they fail to dynamically match the direction of the area boundary with the application path, leading to synchronization issues within the label release cycle.

Method used

By identifying and isolating the rhythm changes of the labeling action, adjusting the trigger sequence of the labeling action, matching the graphic content and calculating the labeling direction and pressure output, dynamically adjusting the rotation angle and thrust of the labeling head, and detecting abnormal states during the sticker release process, intelligent control of the labeling process is achieved.

Benefits of technology

It effectively avoids the problem of asynchronous labeling caused by rhythm fluctuations, ensures the integrity of printed content, reduces misalignment and detachment of labels, and improves the stability and reliability of labeling operations under complex conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120964183A_ABST
    Figure CN120964183A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of digital program control, in particular to an intelligent control method for an online printing and labeling all-in-one machine, which comprises the following steps: calling a labeling channel to record and judge rhythm synchronism to generate an isolation result, matching layers to classify and reject anomalies to generate an output structure, calculating an area included angle, adjusting an attachment direction and generating an adjustment parameter. And the thrust combination is screened to execute buffer adjustment to generate pressure configuration, and the angle and rotation synchronism are compared to detect an abnormal state to generate an abnormal record. According to the method, continuous labeling action interval recognition and rhythm coherence adjustment are achieved through a rhythm jump isolation mechanism, image-text structures are repaired in combination with image layer field defect detection, a stable assembly path is constructed, and the included angle between the region boundary and the conveying direction is synchronously calculated to adjust the attachment angle; and the action area and the thrust angle are matched to construct a thrust switching interval, the synchronization trend of the guide angle and the rotation direction is detected to realize anomaly recognition, and the path adaptation and fitting stability in the labeling process are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital program control technology, and in particular to an intelligent control method for an online printing and labeling machine. Background Technology

[0002] The field of digital programmable control technology encompasses control systems for the orderly and programmable operation of various automated equipment. It focuses on the precise scheduling and process control of mechanical actions through digital logic, including the structural composition of CNC devices, program execution logic, motion path generation, and state feedback mechanisms. Applications include industrial automated production lines, intelligent manufacturing units, packaging and labeling systems, and robot operating platforms. The control system receives preset program instructions through a processor, combines these with the output of action instructions from the drive device to servo motors, stepper motors, or other actuators, and achieves closed-loop control using encoders and sensors. This enables complex multi-axis linkage, dynamic response, and real-time scheduling. One such system is an online... The intelligent control method for integrated printing and labeling machines refers to the use of numerical control logic programs in composite equipment with labeling devices and printing units to achieve synchronous control of label content printing and positional application operations. This encompasses specific aspects such as dynamic content generation and transmission of the printing unit, displacement control of the labeling path, product positioning detection, and coordinated scheduling of actuators. It includes obtaining real-time displacement data of the conveyor belt by setting encoders, detecting the position of the target product by photoelectric sensors, controlling the printing unit to generate label content as needed and synchronously transmitting it to the printing device, and using servo motors to control the labeling head to complete the labeling action based on the displacement data. Multi-task scheduling and logical judgment are realized by PLC or embedded controller.

[0003] Traditional online printing and labeling machines rely on preset program execution and basic sensor triggering to achieve control processes. During labeling, they lack the ability to actively recognize changes in the rhythm of continuous target movements. They also struggle to classify and handle assembly anomalies when generating text and image content and processing layer structures. Furthermore, they do not consider the dynamic matching of the angle between the area boundary direction and the labeling surface in the application path. The thrust output is based on a uniform control quantity, which cannot adapt to the pressure differences of different structural paths. During the label release cycle, they do not detect the continuous trend and angular offset synchronization characteristics of the peeling point rotation state. In scenarios with rhythm fluctuations, application angle offsets, or abnormal rotation, this can lead to label misalignment, empty application, or detachment. Summary of the Invention

[0004] The purpose of this invention is to overcome the shortcomings of existing technologies and propose an intelligent control method for an online printing and labeling integrated machine.

[0005] To achieve the above objectives, the present invention adopts the following technical solution: an intelligent control method for an online printing and labeling integrated machine, comprising the following steps: S1: Call the labeling channel trigger record, analyze the trigger time and conveying displacement changes of continuous labeling targets, identify the rhythm fluctuation trend between adjacent targets, judge the rhythm synchronization by comparing the change amplitude of the action interval structure, adjust the trigger sequence of the labeling action, and generate the rhythm jump isolation result; S2: Using the beat jump isolation result, call the classification results of the graphic field, text field, and encoding field, match them to the layer block, determine the field missing and content missing, remove abnormal layer paragraphs and retain the normal layer order, and generate the graphic and text assembly output structure. S3: Obtain the graphic assembly output structure, calculate the boundary direction of the attachment area, determine the offset amplitude based on the angle between the area extension direction and the conveying direction, adjust the rotation angle of the labeling head and match the forward path, and generate the attachment direction adjustment parameters. S4: Extract the attachment direction adjustment parameters, calculate the effective area and contact angle of each region according to the degree of bending and turning range of each structural segment in the attachment path, filter the thrust response combination within the effective area range, construct multiple thrust switching intervals and perform buffer adjustment, and generate the bonding pressure output configuration.

[0006] As a further embodiment of the present invention, the beat jump isolation result includes beat interval jump point number, rhythm change amplitude group, and trigger structure adjustment sequence; the graphic and text assembly output structure includes layer field number, assembly order index, and graphic and text structure paragraph identifier; the attachment direction adjustment parameters include attachment path offset angle, rotation angle adjustment amount, and label direction matching value; and the bonding pressure output configuration includes thrust segment sequence number, contact area area number, and pressure change buffer group.

[0007] As a further aspect of the present invention, the step of obtaining the beat transition isolation result specifically includes: S111: Call the labeling channel trigger record, analyze the changes in triggering time points and corresponding conveying displacement segment lengths of continuous labeling targets in the conveying path, filter the triggering interval of each pair of adjacent labeling targets, and calculate the length difference between each interval and the previous interval to generate the labeling triggering interval difference. S112: Based on the difference in the labeling trigger interval, the displacement difference and rhythm change trend of adjacent beat segments are combined and analyzed, the amplitude of rhythm change in the beat segment and the balance comparison index between adjacent segments are extracted, the relative position offset intensity of the labeling target action interval in the overall structure is calculated, and the labeling rhythm offset gradient is calculated. S113: Based on the attached rhythm offset gradient, determine the synchronization degree between the time interval corresponding to the current attached target and the adjacent beat structure, adjust the attached action trigger structure sequence and establish the labeling rhythm start benchmark, and generate beat jump isolation results.

[0008] As a further aspect of the present invention, the step of obtaining the graphic assembly output structure specifically includes: S211: Based on the beat transition isolation result, call the graphic field, text field, and encoding field in the labeling task, classify and group the data type of each field, and generate the field grouping recognition result; S212: Based on the field grouping and identification results, match the content of each type of field to a preset layer block, analyze the data structure and content status of each field during the assembly process, determine the structural defects and content gaps in the fields, and generate field structure status judgment results. S213: Based on the field structure status judgment result, filter and remove abnormal layer paragraphs, retain the normal layer order for continuous assembly, output the graphic and text printing configuration, and generate the graphic and text assembly output structure.

[0009] As a further aspect of the present invention, the step of obtaining the attachment direction adjustment parameter specifically includes: S311: Obtain the graphic assembly output structure, extract the corresponding attachment target boundary data, analyze the front and rear transverse coordinates of the attachment target, determine the spatial extension trend in the direction of the conveying equipment, combine the length direction of the attachment target with the main conveying motion direction, compare the angle relationship, and generate the spatial extension angle value. S312: Based on the spatial extension angle value, collect the angle difference between the propulsion vector of the main motion direction of the conveying and the main axis direction of the attachment target, determine the degree of displacement of the attachment surface relative to the conveying direction, and calculate the attachment path offset matching amount. S313: Based on the offset matching amount of the attachment path, analyze the coupling state between the current angle offset direction of the labeling head and the spatial extension angle direction, establish the response mapping interval between the rotation angle change range and the offset matching amount, calculate the change trend in the continuous attachment path, establish the labeling head angle control variable, and obtain the attachment direction adjustment parameter.

[0010] As a further aspect of the present invention, the step of obtaining the fitting pressure output configuration specifically includes: S411: Based on the attachment direction adjustment parameters, analyze the degree of curvature and turning range of each structural segment in the attachment path, calculate the effective area and contact angle of each partition, and generate a partition structural area parameter set; S412: Based on the partition structure area parameter group, filter the thrust response combination within the effective area of ​​each partition, establish a multi-segment thrust switching interval sequence, and generate a thrust switching interval parameter sequence. S413: Based on the thrust switching interval parameter sequence and considering the consistency of the bonding force partition, the thrust changes of adjacent intervals are buffered and adjusted according to the segment boundaries to generate the bonding pressure output configuration.

[0011] As a further aspect of the present invention, the method further includes: S5: Based on the bonding pressure output configuration, analyze the direction of the guide structure angle offset and the guide angle position, compare the synchronization relationship with the rotation direction of the release wheel, identify the rotation fluctuation trend, judge and detect the abnormal state in the sticker release process, and generate a labeling abnormality detection record. The labeling anomaly detection record includes the release structure offset status, guide angle dynamic direction, and rotation fluctuation indicator.

[0012] As a further aspect of the present invention, the step of obtaining the labeling anomaly detection record specifically includes: S511: Based on the bonding pressure output configuration, analyze the current angular offset direction of the guide structure and the position of the guide angle structure of the stretching angle structure, call the sticker release wheel rotation status information of the previous action cycle, calculate the changing trend of the sticker release rate based on the change of the rotation direction of the release wheel and the sticker movement state, and obtain the label release rotation fluctuation amount. S512: Based on the amount of rotational fluctuation during tag release, compare the synchronization relationship between the direction of angle change and the direction of rotational state change, determine the rotational fluctuation characteristics of the peeling point within the tag release cycle, and calculate the synchronization offset of the peeling process. S513: Based on the synchronous offset of the peeling process, identify the synchronous offset trend under continuous operation, judge and detect the abnormal state during the sticker release process, and generate a labeling abnormality detection record by integrating the angle offset, rotation fluctuation and abnormal state within the action cycle.

[0013] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In this invention, a rhythm-jump isolation mechanism is used to identify and adjust the intervals of continuous labeling actions, avoiding asynchronous labeling triggering caused by rhythm fluctuations. Layer field defect detection and repair ensure the integrity and correctness of printed content during assembly. During the labeling process, the labeling angle is dynamically adjusted based on the angle between the area boundary and the conveying direction to reduce misalignment caused by labeling direction deviation. The bonding pressure output configuration is constructed by matching the effective area and the thrust angle, and the effective area and contact angle of different structural segments are zoned for thrust adjustment and buffer transition, effectively overcoming label lifting or detachment caused by uneven pressure. Furthermore, by detecting the synchronization trend of the guide angle and the rotation direction, abnormalities in the sticker release process are identified, improving the stability and reliability of the labeling action under complex operating conditions. Attached Figure Description

[0014] Figure 1 This is a schematic diagram of the main steps of the present invention; Figure 2This is a flowchart of the process for obtaining the beat transition isolation result of the present invention; Figure 3 This is a flowchart illustrating the process of obtaining the graphic assembly output structure of the present invention. Figure 4 This is a flowchart of the process for obtaining the attachment direction adjustment parameters of the present invention; Figure 5 This is a flowchart illustrating the process of obtaining the fitting pressure output configuration of the present invention. Figure 6 This is a flowchart of the labeling anomaly detection record acquisition process of the present invention. Detailed Implementation

[0015] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0016] In the description of this invention, it should be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships, are based on the orientation or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, in the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0017] Please see Figure 1 This invention provides a technical solution: an intelligent control method for an online printing and labeling integrated machine, comprising the following steps: S1: Call the labeling channel trigger record, analyze the trigger time and conveying displacement changes of continuous labeling targets, identify the rhythm fluctuation trend between adjacent targets, judge the rhythm synchronization by comparing the change amplitude of the action interval structure, adjust the trigger sequence of the labeling action, and generate the rhythm jump isolation result; S2: Utilize the beat jump isolation results, call the classification results of graphic fields, text fields, and encoding fields, match them to layer blocks, determine field defects and content gaps, remove abnormal layer paragraphs and retain the normal layer order, and generate graphic and text assembly output structure; S3: Obtain the image and text assembly output structure, calculate the boundary direction of the bonding area, determine the offset magnitude based on the angle between the area extension direction and the conveying direction, adjust the rotation angle of the labeling head and match the forward path, and generate bonding direction adjustment parameters. S4: Extract the attachment direction adjustment parameters, calculate the effective area and contact angle of each region based on the degree of curvature and turning range of each structural segment in the attachment path, filter the thrust response combination within the effective area range, construct multiple thrust switching intervals and perform buffer adjustment, and generate the bonding pressure output configuration. S5: Based on the bonding pressure output configuration, analyze the direction of the guide structure angle offset and the guide angle position, compare the synchronization relationship with the rotation direction of the release wheel, identify the rotation fluctuation trend, judge and detect the abnormal state in the sticker release process, and generate a labeling abnormality detection record. The beat jump isolation results include beat interval jump point number, rhythm change amplitude group, and trigger structure adjustment sequence. The graphic and text assembly output structure includes layer field number, assembly order index, and graphic and text structure segment identifier. The attachment direction adjustment parameters include attachment path offset angle, rotation angle adjustment amount, and labeling direction matching value. The bonding pressure output configuration includes thrust section sequence number, contact area area number, and pressure change buffer group. The labeling anomaly detection record includes release structure offset status, guide angle dynamic direction, and rotation fluctuation identifier.

[0018] Please see Figure 2 The specific steps for obtaining the beat transition isolation results are as follows: S111: Call the labeling channel trigger record, analyze the changes in triggering time points and corresponding conveying displacement segment lengths of continuous labeling targets in the conveying path, filter the triggering interval of each pair of adjacent labeling targets, and calculate the length difference between each interval and the previous interval to generate the labeling triggering interval difference. By reading the trigger signals generated by the photoelectric sensors in the labeling channel within a set time period and establishing an index relationship between the corresponding timestamp information and the conveyor belt displacement data collected by the encoder, the original displacement data of the target objects on the conveyor path are extracted sequentially from the labeling target index numbers 1 to 4. The values ​​for labeling targets 1, 2, 3, and 4 are 1020mm, 2040mm, 3060mm, and 4100mm, respectively. Then, the maximum displacement value of 4100mm and the minimum displacement value of 1020mm within the current sample batch are used for normalization processing, employing a normalization formula. The normalized displacement sequences of the labeled targets were obtained as 0.00, 0.33, 0.66, and 1.00, respectively. Based on this, the original timestamps of the photoelectric trigger signal (500ms, 1000ms, 1450ms, and 2000ms) were recorded, and the normalization formula was also applied. After time normalization, the normalized trigger beat sequence is obtained as 0.00, 0.36, 0.64, 1.00. Then, by filtering the trigger intervals of any two adjacent labeled targets, the trigger interval between targets 1 and 2 is 1000-500=500ms, and the displacement interval is 2040-1020=1020mm; the interval between targets 2 and 3 is 1450-1000=450ms, and the displacement interval is 3060-2040=1020mm; the interval between targets 3 and 4 is 550ms, and the displacement interval is 1... 0.40mm, then perform length difference calculation, that is, compare the difference between each interval and the previous interval. For example, the time interval of 550ms between number 3 and 4 is subtracted from the time interval of 450ms between number 2 and 3, which is 100ms, which is a positive value, indicating that the time rhythm is lengthening. Similarly, the displacement difference is 1040-1020=20mm, which is also a positive value, indicating that the interval structure is lengthening. Finally, the above-mentioned trigger interval difference of each group of adjacent labeling targets is recorded and constituted as a labeling trigger interval difference sequence, forming the basis data for subsequent beat difference. As shown in Table 1, the normalized target delivery displacement and trigger time can be used for subsequent differential gradient calculations.

[0019] S112: Based on the difference in the labeling trigger interval, a combined analysis of the displacement difference and rhythm change trend of adjacent beat segments is performed. The amplitude of rhythm change in the beat segment and the balance comparison index between adjacent segments are extracted. The relative positional offset intensity of the labeling target action interval in the overall structure is calculated using the formula: ; Calculate the attachment rhythm offset gradient; in, The gradient of the attached rhythm offset is dimensionless and reflects the degree of abrupt change in the rhythm of adjacent movements in the tagging beat structure. For the first The normalized value of the conveying displacement of each labeling target is obtained by collecting the original displacement values ​​recorded by the encoder of the labeling channel and normalizing them according to the maximum and minimum intervals of the current cycle segment. For the first The normalized displacement value of each labeling target is obtained by normalizing the displacement data of the previous target in the labeling channel. For the first The normalized value of the transport displacement of each labeling target is obtained by normalizing the displacement data of the next target in the labeling channel. For the first The normalized trigger clock value for each labeling target is obtained by normalizing the time difference between consecutive clock cycles after collecting the original timestamps of the labeling photoelectric trigger signals. For the first The normalized trigger time value for each labeled target is obtained by normalizing the trigger time of the previous target. For the first The normalized trigger time value of each labeled target is obtained by normalizing the trigger time of the next target. This is the index number of the labeling target in the labeling sequence; After obtaining the difference in the labeling trigger interval, the normalized displacement sequence is then processed. , , , and normalized time series , , , Using targets i=2 and i=3 as the core labeling targets respectively, and substituting them into the formula for calculating the rhythm offset gradient: ; Among them, calculation hour: ; ; Molecules are ; ; ; The denominator is ; but: ; calculate hour: ; ; Molecules are ; ; ; The denominator is ; but: ; The rhythm offset gradient refers to the offset intensity index obtained by comparing the displacement sequence and beat sequence of continuous labeling actions in a second-order trend during the labeling process. This index expresses the positional characteristics of the labeling target relative to the rhythm trajectory, including breaks, discontinuities, or abrupt changes, in a normalized form. Its essential purpose is to assist in identifying target nodes in the labeling trajectory that may experience beat jumps, providing a decision-making basis for whether to execute subsequent labeling actions, skip steps, or reconstruct the rhythm. By calculating the rhythm offset gradient, the system can establish an exclusion and screening mechanism for abnormal rhythm targets, preventing problems such as misalignment and missed labeling caused by abnormal spacing disturbances in the labeling action. This is the key quantitative core of the rhythm intelligent control mechanism. The results show that at the third labeling target, the rhythm offset gradient is approximately 0.0219, while at the second labeling target it is 0. Combined with an empirical threshold set at 0.02 (based on 1.5 times the standard deviation of historical beat fluctuation data as a critical reference), it can be considered that the third target exhibits a slight abrupt change in rhythm.

[0020] S113: Based on the gradient of the attachment rhythm offset, determine the degree of synchronization between the time interval corresponding to the current attachment target and the adjacent beat structure, adjust the structure sequence of the attachment action triggering and establish the labeling rhythm start benchmark, and generate the beat jump isolation result. The synchronization degree between the current labeling target's position and the preceding and following segments within the entire beat sequence is evaluated using a threshold comparison method. If it is determined to be a steady beat segment, The interval is marked as a jump interval, such as the interval where the third labeling target is located. It is identified as a rhythm change segment. Then, according to the change mark, the trigger structure sequence corresponding to the labeling action is advanced by 50ms. The beat reference time interval is established as the average time difference of the previous beat cycle before the change point (i.e., the average value of the previous two cycles = (500ms + 450ms) / 2 = 475ms). This is used as the reference benchmark for starting the rhythm of the next stage of labeling action. At the same time, the control register is written in the labeling control system in combination with the adjustment time interval to update the labeling action scheduling list. Finally, the beat jump isolation result is generated, and the structural change segment number and trigger adjustment configuration are recorded.

[0021] Please see Figure 3 The specific steps for obtaining the image and text assembly output structure are as follows: S211: Based on the beat transition isolation results, call the graphic fields, text fields, and encoding fields in the labeling task, classify and group the data types of each field, and generate field grouping recognition results; Based on the labeling target index range marked as normal beat segments in the beat transition isolation results, the field information list recorded in the labeling task structure is called sequentially. The field data sources are identified by type as graphic fields, text fields, and coded fields, and the source path of the field content is traversed item by item to determine whether the field is an image file, a plain text record, or a field containing a regular alphanumeric combination. For example, in labeling target number 3, the fields include five items: "product graphic", "product model", "serial number", "QR code", and "production date". The attributes of each field are read, and "product graphic" and "QR code" are identified as graphic fields, "product model" and "production date" are as text fields, and "serial number" is as a coded field. Then, based on the field's class, the above fields are aggregated by field type to establish a field type correspondence table, forming a field type → field content index structure. At the same time, the unique identifier attribute of the field content is checked, and fields with duplicate numbers or identifier conflicts are marked and excluded. Finally, the remaining fields are arranged according to the priority order of graphic-text-coded and the structural order within the field group is recorded to form the field grouping identification result. As shown in Table 2, by using field type clustering and content path tracing operations, a unified field grouping mapping structure can be established to support subsequent assembly mapping operations.

[0022] S212: Based on the field grouping and recognition results, match the content of each type of field to the preset layer block, analyze the data structure and content status of each field during the assembly process, determine the structural defects and content gaps in the fields, and generate field structure status judgment results; Based on the index order of the graphic, text, and encoding fields recorded in the field grouping and recognition results, the field content is sequentially assembled and mapped. The graphic field "Product Graphic" is mapped to layer block number L01, the text field "Product Model" is mapped to layer block L02, the encoding field "Serial Number" is mapped to L03, the second graphic field "QR Code" is mapped to L04, and the second text field "Production Date" is mapped to L05. The data structure information of each field content is extracted. For graphic fields, the image size and transparency channel status are read. For example, the product graphic PNG file has a width of 320px, a height of 160px, and an transparency channel of 8 bits. The QR code image size is 200px × 200px. If the image size is smaller than the layer's preset value, it is determined that the image size is smaller than the layer's preset value. The dimensions are 300px × 300px. The status of the graphic field is set to "normal". The text field uses a character array method to check the character length and character set validity. If the product model field is "GTX-90", the length is 6 characters and the character set is ASCII, the status is judged as "normal". However, if the production date field reads an empty result and the character length is 0, the status is marked as "content missing". The encoding field is checked for conformity to the set format rules using regular expressions. For example, the serial number field "SN-45962-KT" matches the rule SN-[0-9]{5}-[AZ]{2}, which conforms to the set structure, and the status is judged as "normal". Finally, the structural integrity and content validity of each of the above fields are judged to form the field structure status judgment result.

[0023] S213: Based on the field structure status judgment result, filter and remove abnormal layer paragraphs, retain the normal layer order for continuous assembly, output the graphic and text printing configuration, and generate the graphic and text assembly output structure. In the field structure status judgment results, the status values ​​of each field layer are judged and processed in a hierarchical manner. For fields marked as "normal", the layer block configuration is retained. The corresponding layers L01 to L04 for field numbers 1, 2, 3, and 4 are retained. For field number 5 "production date" marked as "content missing", the assembly task record of layer L05 is removed. After adjusting the graphic and text assembly order, the layer structure is recombined. The layer order is retained as L01→L02→L03→L04. The field content is mapped to the corresponding layer in sequence. The product graphic image content is drawn on the first layer, the product model text content is mapped to the second layer text block, the serial number code is placed on the third layer and the font format parameters are loaded, and the QR code image is embedded in the fourth layer. After completing the graphic and text content mapping and assembly, the graphic and text printing configuration list is output, recording the layer number, field name, field content, assembly position and assembly order, generating the graphic and text assembly output structure, and finally writing it into the print queue in the print control module as the print task call structure.

[0024] Please see Figure 4The specific steps for obtaining the attachment direction adjustment parameters are as follows: S311: Obtain the graphic assembly output structure, extract the corresponding attachment target boundary data, analyze the front and rear transverse coordinates of the attachment target, determine the spatial extension trend in the direction of the conveying equipment, combine the length direction of the attachment target with the main conveying motion direction, compare the angle relationship, and generate the spatial extension angle value. After obtaining the image and text assembly output structure, the boundary coordinate information of the attaching target is read. From the labeling target number 3, the lateral coordinates of its front boundary are extracted as 35mm and its lateral coordinates of its tail boundary as 5mm. First, the difference between the two lateral coordinates is calculated to obtain a lateral displacement of 30mm. Then, combined with the extension length of the attached image and text structure being 120mm, the boundary coordinate difference is normalized to obtain the normalized length of the front section of the attaching area. The normalized width of the latter part is The main direction of motion of the data acquisition and conveying equipment is horizontal to the right, with an angle defined as 0°. The measured deviation angle between the extension direction of the attached target and the horizontal main direction is 10°, which is the angle between the conveying vector and the attachment axis. Furthermore, by extracting the angle between the trajectory direction of the tail end of the attachment area and the movement path of the equipment, the deviation angle of the attachment trajectory direction is obtained. The obtained angle and length data are combined to construct a spatial extension trend parameter set. Then, based on the extension trend of the front and rear ends in the lateral space, the angle difference direction is used to determine whether there is a skew or offset in the conveying direction of the attachment area. If the front end coordinate is greater than the rear end coordinate and the angle is positive, the spatial extension direction of the current attachment area is determined to be "rightward deviation", and the spatial extension angle of the attachment area is generated. The included angle value is converted into radians and used in subsequent path matching calculations; As shown in Table 3, the parameters of the attachment area are normalized and then used for subsequent calculation of path matching quantity.

[0025] S312: Based on the spatial extension angle value, the difference between the angle between the propulsion vector of the main conveying motion direction and the main axis direction of the attachment target is collected to determine the degree of displacement of the attachment surface relative to the conveying direction, using the formula: ; Calculate the attachment path offset matching amount; in, To match the path offset, The normalized length of the front segment of the attachment region is calculated by collecting the coordinates of the front boundary of the attached text and image structure and combining them with the total length of the attachment region. The angle between the transport vector and the attachment axis is obtained by extracting the angle data between the main transport direction and the extension direction of the graphic structure. The normalized width of the attachment region's tail is calculated by collecting the tail boundary coordinates and combining them with the total width of the attachment region. The rotation angle relative to the trajectory direction of the target is calculated by comparing the direction of the principal axis of the attachment surface with the direction of the conveying path. To determine the laterally normalized position of the attachment front boundary, the lateral coordinates of the leading edge points of the attachment area are obtained and standardized. The laterally normalized position of the attachment tail boundary is obtained by acquiring the lateral coordinates of the edge points at the end of the attachment area and then standardizing them. The normalized spacing of the labeling head rotating device within the labeling section is obtained by standardizing the installation spacing of the labeling heads along the labeling path. The normalized difference of the labeling head's lateral movement on the plane is obtained by normalizing the amplitude of the lateral coordinate change of the labeling head in a continuous time series. The normalized difference of the labeling head's longitudinal movement on the plane is obtained by normalizing the amplitude of the longitudinal coordinate change of the labeling head in a continuous time series. When calculating the attachment path offset matching amount, the angle unit is converted to radians. , Normalize the length of the front part of the attachment area. normalized width of the latter part Normalized horizontal position , Normalized label spacing Lateral displacement difference Longitudinal displacement difference Substitute into the formula to calculate: ; Calculate the numerator: ; ; ; Molecular results ; Calculate the denominator: ; The denominator result is ; Final calculation results: ; Among them, the attachment path offset matching amount is a key parameter that numerically characterizes the geometric matching degree of the attachment area relative to the main conveying direction. It reflects the degree of directional offset of the attachment path in the planar coordinate system caused by the extension of the target boundary, angular rotation, and differences in device response capabilities. The larger the calculated result, the more obvious the geometric structure difference between the attachment path and the default direction of the device; conversely, the smaller the result, the more coordinated the path structure. This parameter serves as a key driving force for adjusting the labeling head angle in the control logic, directly affecting the synchronous matching relationship between the attachment path and the rotation angle of the labeling head, and thus determining the continuity and accuracy of the attachment action in dynamic operation. The results show that the attachment path offset matching amount is 0.7171. The reasonable matching range is 0.2 to 0.6, referring to the threshold setting range. The current value exceeds the upper limit, indicating that the attachment path offset is large.

[0026] S313: Based on the offset matching amount of the labeling path, analyze the coupling state between the current angle offset direction of the labeling head and the spatial extension angle direction, establish the response mapping interval between the rotation angle change range and the offset matching amount, calculate the change trend in the continuous labeling path, establish the labeling head angle control variable, and obtain the labeling direction adjustment parameter. After obtaining the path offset matching value, this value is matched with the preset rotation angle response table, and the label head angle adjustment mapping range is set as follows: when Without adjusting the angle, The angle adjustment range is as follows , for ,when At that time, the angle adjustment range is expanded to The current value falls into the highest range, therefore the current angle offset direction of the label head needs to be coupled with the extension angle direction to be clockwise. The angle is then adjusted to... This leads to the construction of an angle control variable sequence within a continuous path segment. With the current point as the center, interpolation and gradual calculations are performed by extending two labeling cycles forward and backward. Finally, a labeling direction adjustment parameter structure is constructed, recording information such as the starting position of the angle change, the target rotation angle, the number of adjustment cycles, and the angle increment step size in each cycle, which serve as the labeling control command for the next stage.

[0027] Please see Figure 5 The specific steps for obtaining the fitting pressure output configuration are as follows: S411: Adjust parameters according to the attachment direction, analyze the degree of curvature and turning range of each structural segment in the attachment path, calculate the effective area and contact angle of each partition, and generate a partition structural area parameter set. Based on the rotation angle control variable and the attachment path coordinate sequence recorded in the attachment direction adjustment parameters, the graphic attachment structure is divided into multiple structural segments. Path feature analysis is performed on each segment to extract the start and end coordinates and calculate the corresponding attachment length and width. For example, structural segment SP1 is the initial straight segment with a length of 60mm, a width of 25mm, and a turning angle of 0°; structural segment SP2 is a small-angle bend segment with a length of 30mm, a width of 25mm, and an angle of 15°; structural segment SP3 is a large-angle turn segment with a length of 40mm, a width of 30mm, and a turning angle of 45°; and structural segment SP4 is the final straight segment with a length of... With a length of 70mm, a width of 25mm, and a turning angle of 0°, the length and width of each structural segment are used to calculate the area of ​​a rectangular region: SP1 = 1500mm², SP2 = 750mm², SP3 = 1200mm², and SP4 = 1750mm². Simultaneously, the contact angle of each segment is calculated, which is equal to the angle between the attachment direction and the main axis of the structural segment. For example, SP1 = 0°, SP2 = 15°, SP3 = 45°, and SP4 = 0°. Finally, the structural segment numbers, types, area values, and contact angles are combined to form a parameter table, generating a partitioned structural area parameter group for subsequent thrust mapping judgment. As shown in Table 4, the area data and angle characteristics after structural segmentation provide a spatial basis for path characteristics, which can be used for zonal thrust adjustment.

[0028] S412: Based on the partition structure area parameter group, filter the thrust response combination within the effective area of ​​each partition, establish the sequence of multiple thrust switching intervals, and generate the thrust switching interval parameter sequence; Based on the area parameter set and the structural bending angle, a thrust response combination is established for each structural segment. In setting the thrust level, the attachment area and angle are used as the dual-parameter adjustment benchmarks. The area is divided into three levels: 0–1000 mm², 1000–1500 mm², and above 1500 mm², corresponding to initial thrust values ​​of 6 N, 8 N, and 10 N, respectively. If the angle is 0–10°, the initial thrust value remains unchanged; if the angle is 10–30°, the thrust gain is increased by 1 N; if the angle exceeds 30°, the thrust is increased further. Substituting 2N into the calculation, we get: SP1 area 1500mm², angle 0°, thrust 8N; SP2 area 750mm², angle 15°, thrust 6N+1N=7N; SP3 area 1200mm², angle 45°, thrust 8N+2N=10N; SP4 area 1750mm², angle 0°, thrust 10N. Based on the above results, a thrust switching interval sequence is generated, recorded in the order of SP1→SP2→SP3→SP4. A thrust value array [8, 7, 10, 10] is established and combined into a switching parameter structure according to the structural segment number and thrust level for subsequent thrust adjustment configuration calls.

[0029] S413: Based on the thrust switching interval parameter sequence and considering the consistency of the bonding force partition, the thrust changes of adjacent intervals are buffered and adjusted according to the segment boundaries to generate the bonding pressure output configuration. Based on the thrust switching interval parameter sequence, when configuring the bonding force, the consistency of the partition is considered. The boundary of the structural segment with an adjacent thrust difference of more than 1N is subjected to transition buffering. For example, the thrust of SP2 to SP3 jumps from 7N to 10N, with a difference of 3N. The buffer step size is set to 1N, and two interpolation steps need to be introduced to adjust the thrust of the last segment of SP2 to a gradual thrust of 7N→8N→9N→10N. The length of each interpolation step is set to 5mm, and the total transition length is 15mm. This interval is embedded in the bonding path, and finally the bonding pressure output configuration sequence structure is generated. The thrust output is arranged according to the structural segment and the interpolation segment to form structural segments SP1 (8N), SP2 (7N), buffer (8N→9N→10N), SP3 (10N), SP4 (10N), which are written into the labeling control parameter register. The thrust configuration table is called in the subsequent loop of the printing instruction for real-time output.

[0030] Please see Figure 6 The specific steps for obtaining labeling anomaly detection records are as follows: S511: Based on the bonding pressure output configuration, analyze the current angular offset direction of the guide structure and the position of the guide angle structure of the stretching angle structure, call the sticker release wheel rotation status information of the previous action cycle, calculate the changing trend of the sticker release rate based on the change of the rotation direction of the release wheel and the sticker movement state, and obtain the label release rotation fluctuation amount. Based on the thrust parameters and angle buffer data corresponding to each structural segment in the bonding pressure output configuration table, the position of the sticker release device on the bonding path is extracted, and its corresponding guide structure is located. In the current action cycle, the current angle offset direction of the guide structure is read as clockwise, and the current offset angle is measured to be 6.8°. The axial angle of the standard bonding path is set to 0°, so the offset angle difference is 6.8°. After normalization, the angle offset of the guide structure is 0.15. The real-time angular velocity sequence of the sticker release wheel in the previous action cycle is read as [22° / s, 26° / s, 24° / s], and the maximum value is taken. The difference from the minimum value is 4° / s, the standard range is 10° / s, and the normalized rotational fluctuation is 0.4. Subsequently, the guide structure offset angle and the change in the rotation of the release wheel in the continuous action cycle are obtained in the same way, forming a set for comparing the direction of angle change and the direction of rotation. It is determined whether the two directions are consistent. In the current cycle, the rotation direction is clockwise and the angle offset is also clockwise, which is recorded as a synchronous positive relationship. Based on this, the trend of the label release rate is calculated to be positively increasing, that is, the amount of label release is increasing. The trend curve increases by 2.2% based on the previous cycle, confirming the normalized value of the sticker release rotational fluctuation. After integrating the records of each action cycle, the rotation fluctuation of all stickers released in the action sequence is obtained.

[0031] S512: Based on the amount of rotational fluctuation during tag release, compare the synchronization relationship between the direction of angle change and the direction of rotational state change to determine the rotational fluctuation characteristics of the peeling point within the tag release cycle, using the following formula: ; Calculate the synchronization offset during the stripping process; in, The offset during the peeling process represents the degree of inconsistency in coordination between the rotational fluctuations of the sticker release wheel and the offset direction of the guide structure within the action cycle. For the first The normalized value of the guide structure angular offset under each action cycle is obtained by calculating the difference between the current angular offset direction of the guide structure and the ideal axis of the attachment path, and then normalizing the result. For the first The normalized value of the label release rotation fluctuation in each action cycle is obtained by monitoring and normalizing the range of instantaneous angular velocity changes of the sticker release wheel in the current cycle. For the first The normalized value of the fluctuation of the principal axis angle of the attachment surface under each action cycle is obtained by calculating and normalizing the fluctuation range of the angle between the front and rear boundaries of the attachment surface within the cycle. For the first The normalized value of the rotation frequency of the guiding structure under each action cycle is obtained by statistically analyzing the number of angular displacements per unit time in multiple consecutive cycles of the guiding mechanism and then normalizing the result. This is the action cycle number, used to indicate which action it is in within the cycle sequence. The total number of action cycles represents the total number of action cycles counted during the current detection process; Based on the parameters recorded for the four action cycles, substitute them into the formula. ; in Substitute the data from the table into each item to calculate: Period 1: molecular: ; Denominator: ; result: ; Period 2: molecular: ; Denominator: ; result: ; Period 3: molecular: ; Denominator: ; result: ; Period 4: molecular: ; Denominator: ; result: ; Average all period results: ; The peeling process synchronization offset refers to the overall dynamic matching degree between the rotation state of the sticker release wheel and the angular offset change of the guide structure within the labeling system's operating cycle. It quantifies the degree of potential rhythm misalignment, asynchronous rotation, or abnormal release trajectory during multi-cycle operation. A larger value indicates significant non-cooperative behavior in the system, reflecting stronger tension fluctuations or path disturbances at the peeling point, suggesting a potential risk of error propagation during this stage of labeling equipment operation. This parameter serves as a fault identification indicator, used to capture abnormal nodes in the labeling process in real time, assisting in generating labeling anomaly detection records and supporting status monitoring and control response of the sticker release process. The results show that the peeling process synchronization offset is 0.3018, within the set offset threshold range of 0.2–0.4, indicating a slightly inconsistent range.

[0032] S513: Based on the synchronous offset of the peeling process, identify the synchronous offset trend under continuous operation, judge and detect abnormal states in the sticker release process, and generate a labeling anomaly detection record by integrating the angle offset, rotation fluctuation and abnormal states within the action cycle. After obtaining the synchronization offset, this value is linked with the current sticker release trend change to confirm that the angle offset direction is positive and the sticker rotation direction is also positive, and the directions are consistent. The peeling point shows "relative synchronization fluctuation", but the amplitude deviation is close to the upper limit. If it is maintained or increased in the next cycle, it is necessary to mark the potential synchronization disorder state. Further, the pressure output of the application segment and the sticker release rate change are compared. If the fluctuation rate of the sticker release wheel speed curve exceeds ±5%, the current cycle is marked as "abnormal fluctuation segment". The cycle index, offset, angle offset value, frequency normalization value and rotation fluctuation value are summarized into an abnormal detection record. The current record is: cycle number 3, offset 0.3276, guide offset angle 0.20, release fluctuation 0.16, frequency value 0.10. Finally, the labeling abnormal detection record structure is generated and written to the control system log for use as operation and maintenance parameters.

[0033] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments that can be applied to other fields. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.

Claims

1. An intelligent control method for an online printing and labeling integrated machine, characterized in that, Includes the following steps: S1: Call the labeling channel trigger record, analyze the trigger time and conveying displacement changes of continuous labeling targets, identify the rhythm fluctuation trend between adjacent targets, judge the rhythm synchronization by comparing the change amplitude of the action interval structure, adjust the trigger sequence of the labeling action, and generate the rhythm jump isolation result; S2: Using the beat jump isolation result, call the classification results of the graphic field, text field, and encoding field, match them to the layer block, determine the field missing and content missing, remove abnormal layer paragraphs and retain the normal layer order, and generate the graphic and text assembly output structure. S3: Obtain the graphic assembly output structure, calculate the boundary direction of the attachment area, determine the offset amplitude based on the angle between the area extension direction and the conveying direction, adjust the rotation angle of the labeling head and match the forward path, and generate the attachment direction adjustment parameters. S4: Extract the attachment direction adjustment parameters, calculate the effective area and contact angle of each region according to the degree of bending and turning range of each structural segment in the attachment path, filter the thrust response combination within the effective area range, construct multiple thrust switching intervals and perform buffer adjustment, and generate the bonding pressure output configuration.

2. The intelligent control method for the online printing and labeling integrated machine according to claim 1, characterized in that, The beat jump isolation result includes beat interval jump point number, rhythm change amplitude group, and trigger structure adjustment sequence. The graphic and text assembly output structure includes layer field number, assembly order index, and graphic and text structure paragraph identifier. The attachment direction adjustment parameters include attachment path offset angle, rotation angle adjustment amount, and label direction matching value. The bonding pressure output configuration includes thrust section sequence number, contact area area number, and pressure change buffer group.

3. The intelligent control method for the online printing and labeling integrated machine according to claim 1, characterized in that, The specific steps for obtaining the beat transition isolation result are as follows: S111: Call the labeling channel trigger record, analyze the changes in triggering time points and corresponding conveying displacement segment lengths of continuous labeling targets in the conveying path, filter the triggering interval of each pair of adjacent labeling targets, and calculate the length difference between each interval and the previous interval to generate the labeling triggering interval difference. S112: Based on the difference in the labeling trigger interval, the displacement difference and rhythm change trend of adjacent beat segments are combined and analyzed, the amplitude of rhythm change in the beat segment and the balance comparison index between adjacent segments are extracted, the relative position offset intensity of the labeling target action interval in the overall structure is calculated, and the labeling rhythm offset gradient is calculated. S113: Based on the attached rhythm offset gradient, determine the synchronization degree between the time interval corresponding to the current attached target and the adjacent beat structure, adjust the attached action trigger structure sequence and establish the labeling rhythm start benchmark, and generate beat jump isolation results.

4. The intelligent control method for the online printing and labeling integrated machine according to claim 3, characterized in that, The specific steps for obtaining the image and text assembly output structure are as follows: S211: Based on the beat transition isolation result, call the graphic field, text field, and encoding field in the labeling task, classify and group the data type of each field, and generate the field grouping recognition result; S212: Based on the field grouping and identification results, match the content of each type of field to a preset layer block, analyze the data structure and content status of each field during the assembly process, determine the structural defects and content gaps in the fields, and generate field structure status judgment results. S213: Based on the field structure status judgment result, filter and remove abnormal layer paragraphs, retain the normal layer order for continuous assembly, output the graphic and text printing configuration, and generate the graphic and text assembly output structure.

5. The intelligent control method for the online printing and labeling integrated machine according to claim 4, characterized in that, The specific steps for obtaining the attachment direction adjustment parameters are as follows: S311: Obtain the graphic assembly output structure, extract the corresponding attachment target boundary data, analyze the front and rear transverse coordinates of the attachment target, determine the spatial extension trend in the direction of the conveying equipment, combine the length direction of the attachment target with the main conveying motion direction, compare the angle relationship, and generate the spatial extension angle value. S312: Based on the spatial extension angle value, collect the angle difference between the propulsion vector of the main motion direction of the conveying and the main axis direction of the attachment target, determine the degree of displacement of the attachment surface relative to the conveying direction, and calculate the attachment path offset matching amount. S313: Based on the offset matching amount of the attachment path, analyze the coupling state between the current angle offset direction of the labeling head and the spatial extension angle direction, establish the response mapping interval between the rotation angle change range and the offset matching amount, calculate the change trend in the continuous attachment path, establish the labeling head angle control variable, and obtain the attachment direction adjustment parameter.

6. The intelligent control method for the online printing and labeling integrated machine according to claim 5, characterized in that, The specific steps for obtaining the fitting pressure output configuration are as follows: S411: Based on the attachment direction adjustment parameters, analyze the degree of curvature and turning range of each structural segment in the attachment path, calculate the effective area and contact angle of each partition, and generate a partition structural area parameter set; S412: Based on the partition structure area parameter group, filter the thrust response combination within the effective area of ​​each partition, establish a multi-segment thrust switching interval sequence, and generate a thrust switching interval parameter sequence. S413: Based on the thrust switching interval parameter sequence and considering the consistency of the bonding force partition, the thrust changes of adjacent intervals are buffered and adjusted according to the segment boundaries to generate the bonding pressure output configuration.

7. The intelligent control method for the online printing and labeling integrated machine according to claim 1, characterized in that, The method further includes: S5: Based on the bonding pressure output configuration, analyze the direction of the guide structure angle offset and the guide angle position, compare the synchronization relationship with the rotation direction of the release wheel, identify the rotation fluctuation trend, judge and detect the abnormal state in the sticker release process, and generate a labeling abnormality detection record. The labeling anomaly detection record includes the release structure offset status, guide angle dynamic direction, and rotation fluctuation indicator.

8. The intelligent control method for the online printing and labeling integrated machine according to claim 7, characterized in that, The specific steps for obtaining the labeling anomaly detection record are as follows: S511: Based on the bonding pressure output configuration, analyze the current angular offset direction of the guide structure and the position of the guide angle structure of the stretching angle structure, call the sticker release wheel rotation status information of the previous action cycle, calculate the changing trend of the sticker release rate based on the change of the rotation direction of the release wheel and the sticker movement state, and obtain the label release rotation fluctuation amount. S512: Based on the amount of rotational fluctuation during tag release, compare the synchronization relationship between the direction of angle change and the direction of rotational state change, determine the rotational fluctuation characteristics of the peeling point within the tag release cycle, and calculate the synchronization offset of the peeling process. S513: Based on the synchronous offset of the peeling process, identify the synchronous offset trend under continuous operation, judge and detect the abnormal state during the sticker release process, and generate a labeling abnormality detection record by integrating the angle offset, rotation fluctuation and abnormal state within the action cycle.