Carton packaging, printing and conveying device

By using the motion direction acquisition module and the direction correction module in the carton packaging printing and conveying device, the movable limiting tab and electric push rod are used to adjust the carton direction, the problem of angle change during carton conveying is solved, and the precise control of the carton direction is achieved and the smooth progress of subsequent processes.

CN119240381APending Publication Date: 2025-01-03XIAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411410696.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The carton is prone to change angle during the conveying process, which affects the processing effect of subsequent processes.

Method used

A carton packaging printing and conveying device is designed, including a motion direction acquisition module and a direction correction module. The movement direction of the carton is adjusted by using a movable limiting tab and an electric push rod. By analyzing the initial and corrected motion direction values, the The length adjustment coefficient of the movable limit plate can realize the direction correction of the carton.

Benefits of technology

Effectively prevent the direction of the carton from shifting during the conveying process, ensure that the carton is conveyed in the preset direction, and ensure the smooth progress of subsequent processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119240381A_ABST
    Figure CN119240381A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of carton processing, in particular to a carton packaging, printing and conveying device. The device comprises a transmission rod, a motion direction acquisition module and a direction correction module, the movement direction acquisition module is used for acquiring initial movement direction values and corrected movement direction values of different cartons on the conveying rod; the direction correction module is used for obtaining a direction change index of each carton according to the initial movement direction value of each carton and the corrected movement direction value; and according to the overall distribution of the direction change indexes of all the cartons, the length adjustment coefficient of the movable limiting piece is determined, and then the length of the movable limiting piece is adjusted. According to the carton packaging, printing and conveying device, the movement direction of cartons can be adjusted, it is guaranteed that the cartons can be conveyed in the preset direction in the subsequent carton conveying process, and the movement direction of the cartons on the carton packaging, printing and conveying device is prevented from deviating.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of carton processing, and in particular to a carton packaging printing and conveying device. Background Art

[0002] During the carton production process, a printing process needs to be completed; in order to realize automated production, cartons are moved between processing equipment by conveyor transportation; in order to facilitate the direct transportation of cartons to the specific processing position of the processing equipment, the cartons are transported along a preset direction on the conveyor; therefore, the conveyor is required to adjust the movement direction of the cartons when transporting the cartons; the conventional adjustment method is: push rollers and sensors are set on both sides of the conveyor, when the carton moves to the adjustment position, the sensor generates a sensing signal, and the push roller pushes the side wall of the carton laterally, so that the carton moves laterally on the conveyor and moves to the middle position; however, there is a change in the angle of the carton during the transportation process, which will affect the processing effect of the subsequent process. Summary of the invention

[0003] In order to solve the problem that the angle of the carton will change when the existing carton conveying device conveys the carton, the purpose of the present invention is to provide a carton packaging printing conveying device, and the technical solution adopted is as follows:

[0004] The present invention provides a carton packaging printing and conveying device, which comprises a motion direction acquisition module and a direction correction module; the direction correction module comprises a movable limit plate and an electric push rod;

[0005] The motion direction acquisition module is used to collect the initial motion direction values ​​and corrected motion direction values ​​of different cartons on the conveyor rod, wherein the initial motion direction value is obtained after the carton is placed on the conveyor after printing, and the corrected motion direction value is obtained after adjusting the direction of the carton using the movable limiter and the electric push rod;

[0006] The direction correction module is used to obtain the direction change index of each carton based on the difference between the initial movement direction value of each carton and the initial movement direction values ​​of other cartons, and the difference between the initial movement direction value of each carton and the corrected movement direction value; determine the length adjustment coefficient of the movable limit plate based on the overall distribution of the direction change indicators of all cartons; and adjust the length of the movable limit plate based on the length adjustment coefficient.

[0007] Preferably, the step of obtaining the direction change index of each carton according to the difference between the initial movement direction value of each carton and the initial movement direction values ​​of other carton and the difference between the initial movement direction value of each carton and the corrected movement direction value comprises:

[0008] Obtaining a direction accumulation coefficient of the candidate carton according to the overall difference between the initial movement direction value of the candidate carton and the initial movement direction values ​​of all other carton boxes, wherein the overall difference is negatively correlated with the direction accumulation coefficient;

[0009] Obtaining a direction change index of the candidate carton according to a difference between an initial motion direction value of the candidate carton and a corrected motion direction value of the candidate carton and the direction accumulation coefficient;

[0010] The candidate carton is any carton on the conveying rod.

[0011] Preferably, the step of obtaining the direction change index of the candidate carton according to the difference between the initial movement direction value of the candidate carton and the corrected movement direction value of the candidate carton and the direction accumulation coefficient includes:

[0012] The difference between the initial motion direction value of the candidate carton and the corrected motion direction value of the candidate carton is recorded as the direction value difference;

[0013] The normalized result of the ratio of the direction value difference to the direction cumulative coefficient is used as the direction change index of the candidate carton.

[0014] Preferably, determining the length adjustment coefficient of the movable limit piece according to the overall distribution of the direction change indicators of all cartons includes:

[0015] Calculate the average value of the direction change index of all cartons on the conveyor bar;

[0016] The normalized result of the average value is determined as the length adjustment coefficient of the movable limiting piece.

[0017] Preferably, the adjusting the length of the movable limiting piece based on the length adjustment coefficient includes:

[0018] Calculate the sum of the constant 1 and the length adjustment coefficient;

[0019] The product of the sum and the initial length of the movable limiting piece is taken as the adjusted length of the movable limiting piece.

[0020] Preferably, the step of obtaining the direction accumulation coefficient of the candidate carton according to the overall difference between the initial movement direction value of the candidate carton and the initial movement direction values ​​of all other carton boxes comprises:

[0021] The average of the differences between the initial motion direction value of the candidate carton and the initial motion direction values ​​of all other carton is recorded as the first mean;

[0022] The negative correlation normalized result of the first mean is used as the directional cumulative coefficient of the candidate carton.

[0023] Preferably, the acquisition of the initial motion direction value includes:

[0024] Obtaining the central axis along the length direction of the candidate carton before the direction of the candidate carton is corrected;

[0025] The non-obtuse angle value between the central axis along the length direction of the candidate carton and the preset direction before the direction of the candidate carton is corrected is used as the initial movement direction value of the candidate carton.

[0026] Preferably, the corrected motion direction value includes:

[0027] Obtaining the central axis along the length direction of the candidate carton after the candidate carton direction is corrected;

[0028] The non-obtuse angle value between the central axis along the length direction of the candidate carton after the direction of the candidate carton is corrected and the preset direction is used as the movement direction value of the candidate carton after correction.

[0029] Preferably, the carton packaging printing and conveying device also includes a roller.

[0030] Preferably, the movement direction acquisition module includes a laser sensor.

[0031] The present invention has at least the following beneficial effects:

[0032] 1. The present invention improves the existing carton packaging printing and conveying device. The improved carton packaging printing and conveying device includes a movement direction acquisition module and a direction correction module. The direction correction module includes a movable limit plate and an electric push rod. Under the coordinated action of the movable limit plate and the electric push rod, the device can adjust the movement direction of the carton on the transmission rod. First, the printed carton is placed on the transmission rod. The movement direction acquisition module collects the initial movement direction value of each carton, and then the movable limit plate and the electric push rod are used to adjust the movement direction of the carton, and the corrected movement direction value is collected. The direction correction module analyzes and processes the collected initial movement direction value and the corrected movement direction value, determines the length of the movable limit plate based on the analysis and processing results, and adjusts it to ensure that the direction of the subsequent carton conveying process can be conveyed in the preset direction to prevent it from being offset, so as to prepare for the carton to smoothly enter the next process.

[0033] 2. When the direction correction module analyzes and processes the collected initial motion direction values ​​and the corrected motion direction values, it is considered that the distance between adjacent cartons on the conveying device is often close. A change in the motion direction of a carton will often affect the motion direction of the surrounding cartons, that is, the displacement of the motion direction will accumulate. Therefore, firstly, according to the difference between the initial motion direction value of each carton and the initial motion direction values ​​of other cartons, as well as the difference between the initial motion direction value of each carton and the corrected motion direction value, the cumulative displacement of the carton motion direction is evaluated, and the direction change index of each carton is obtained. Then, combined with the overall distribution of the direction change indicators of all cartons, the length adjustment coefficient of the movable limit plate is determined, and the length of the movable limit plate is adjusted using the length adjustment coefficient, thereby realizing the control of the motion direction of the cartons on the conveying device to prevent a large displacement of the motion direction and affect the subsequent process flow. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0035] Figure 1 A mechanical structure diagram of a carton packaging printing and conveying device provided by an embodiment of the present invention;

[0036] Figure 2 A schematic diagram of a motion direction value provided by an embodiment of the present invention;

[0037] Figure 3 A schematic diagram of a data processing flow corresponding to a carton packaging printing and conveying device provided in an embodiment of the present invention;

[0038] In the figure: a is a carton packaging printing and conveying device; b is a carton; c is the central axis of the carton along the length direction of the candidate carton; d is the conveying direction; f is the movement direction value; 1 is a movable limit plate; 2 is an electric push rod; 3 is a transmission frame; 4 is a roller; 5 is a transmission rod; 6 is a laser sensor; 7 is a mounting plate. DETAILED DESCRIPTION

[0039] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, a carton packaging printing and conveying device proposed in accordance with the present invention is described in detail below in conjunction with the accompanying drawings and preferred embodiments.

[0040] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0041] The specific scheme of a carton packaging printing and conveying device provided by the present invention is described in detail below with reference to the accompanying drawings.

[0042] An embodiment of a carton packaging printing and conveying device:

[0043] See also Figure 1 , which shows a carton packaging printing and conveying device provided by an embodiment of the present invention. The carton packaging printing and conveying device is an improvement made on the basis of the existing carton packaging printing and conveying device (publication number CN116620822A). A carton packaging printing and conveying device in this embodiment is as follows Figure 1 As shown in the figure, 1 is a movable limit plate; 2 is an electric push rod; 3 is a transmission frame; 4 is a roller; 5 is a transmission rod; 6 is a laser sensor; 7 is a mounting plate. The device includes a direction acquisition module and a direction correction module. The direction acquisition module includes a laser sensor 6, and the laser sensor 6 is installed on the mounting plate 7; the direction correction module includes a movable limit plate 1 and an electric push rod 2; in addition, the device also includes a carton transmission module, and the carton transmission module includes a transmission frame 3, a roller 4 and a transmission rod 5.

[0044] The movement direction acquisition module of the device is used to collect the initial movement direction values ​​and corrected movement direction values ​​of different cartons on the conveying rod 5, wherein the initial movement direction value is obtained after the carton is placed on the conveying device after printing, and the corrected movement direction value is obtained after adjusting the direction of the carton using the movable limit plate 1 and the electric push rod 2.

[0045] The direction correction module of the device is used to obtain the direction change index of each carton according to the difference between the initial movement direction value of each carton and the initial movement direction values ​​of other cartons, and the difference between the initial movement direction value of each carton and the corrected movement direction value; determine the length adjustment coefficient of the movable limit plate 1 according to the overall distribution of the direction change indicators of all cartons; and adjust the length of the movable limit plate 1 based on the length adjustment coefficient.

[0046] The overall operation process of the carton packaging printing and conveying device is:

[0047] [1] Initialization: After the carton packaging printing and conveying device is started, the movement direction acquisition module first obtains the initial movement direction value of each carton on the conveying rod 5 collected by the laser sensor; it should be noted that the initial movement direction value is the direction of the carton just placed on the device before its movement direction is corrected.

[0048] [2] Correction of movement direction: Set the initial length of the movable limit plate; in specific applications, the specific value of the initial length of the movable limit plate is set according to the size of the carton and the length of the conveyor rod 5; the movable limit plate 1 and the conveyor frame 3 work together to adjust the movement direction of the carton according to the set initial length of the movable limit plate 1 to ensure that the carton moves along the preset path, and the laser sensor collects the corrected movement direction value of each carton; for the movable limit plate 1, its extended length is affected by the electric push rod 2. When the carton moves to the position of the movable limit plate 1 with the roller, the position of both sides of the carton is restricted by the movable limit plate 1, and a sliding friction force is generated with the movable limit plate 1. The carton slides relatively along the surface of the movable limit plate 1, and the deviated carton will be corrected to the center line position of the conveyor belt. It should be noted that the specific method for obtaining the initial motion direction value is: obtaining the central axis of the candidate carton along the length direction of the candidate carton before the direction of the candidate carton is corrected; using the non-obtuse angle (i.e., an angle less than or equal to 90 degrees) between the central axis of the candidate carton along the length direction of the candidate carton before the direction of the candidate carton is corrected and the preset direction as the initial motion direction value of the candidate carton. In this embodiment, the preset direction is the conveying direction. As other implementations, the preset direction can be set by yourself. The method for obtaining the corrected motion direction value is: obtaining the central axis of the candidate carton along the length direction of the candidate carton after the direction of the candidate carton is corrected; using the non-obtuse angle (i.e., an angle less than or equal to 90 degrees) between the central axis of the candidate carton along the length direction of the candidate carton after the direction of the candidate carton is corrected and the preset direction as the corrected motion direction value of the candidate carton; for example: if the non-obtuse angle is 30 degrees, then the motion direction value is 30. Figure 2 As shown in FIG. 1 , the figure is a schematic diagram of the motion direction value, in which a is a carton packaging printing conveyor device; b is a carton; c is the central axis of the carton along the length direction of the candidate carton; d is the conveying direction; and f is the motion direction value. It should be noted that the motion direction value in the figure can be an initial motion direction value or a corrected motion direction value.

[0049] [3] Data analysis and adjustment: The collected initial movement direction values ​​and the corrected movement direction values ​​of each carton are transmitted to the direction correction module; the collected initial movement direction values ​​and the corrected movement direction values ​​are analyzed, the length adjustment coefficient of the movable limit plate 1 is calculated, and the adjusted length of the movable limit plate 1 is determined, and then the movement of the movable limit plate 1 and the electric push rod 2 is adjusted to adjust the movement direction of the carton; under the coordinated work of all modules of the carton packaging printing and conveying device, the conveying direction of the carton is corrected.

[0050] Since the carton printing process is carried out individually, it needs to be cut and creased after printing. Therefore, the printed cartons are placed on the carton packaging printing conveying device for conveying. During the conveying process, the initial movement direction value and the corrected movement direction value of each carton are collected, and then the collected initial movement direction value and the corrected movement direction value are analyzed and processed, and the length of the movable limit plate 1 is adjusted to ensure that the subsequent cartons can be conveyed in the preset conveying direction during the conveying process to prevent the movement direction of the carton from a large deviation.

[0051] After collecting the initial movement direction value and the corrected movement direction value of each carton, one carton is taken as an example for analysis, and the method provided in this embodiment can be used to process other cartons.

[0052] Specifically, any carton on the conveying rod 5 is recorded as a candidate carton, and the direction cumulative coefficient of the candidate carton is obtained according to the overall difference between the initial movement direction value of the candidate carton and the initial movement direction values ​​of all other cartons, and the overall difference is negatively correlated with the direction cumulative coefficient.

[0053] Among them, the negative correlation relationship means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtraction relationship, a division relationship, etc.

[0054] In this embodiment, the average value of the difference between the initial movement direction value of the candidate carton and the initial movement direction values ​​of all other cartons is recorded as the first mean; the negative correlation normalization result of the first mean is used as the direction accumulation coefficient of the candidate carton.

[0055] In this embodiment, a specific calculation formula for the direction change index is given, and the direction accumulation coefficient of the i-th carton on the conveying rod 5 can be expressed as:

[0056]

[0057] Among them, W i represents the directional cumulative coefficient of the i-th carton on the conveyor rod 5, J represents the number of cartons on the conveyor rod 5, P i1 represents the initial movement direction value of the i-th carton on the conveyor rod 5, P j1 represents the initial movement direction value of the j-th carton on the conveying rod 5 except the i-th carton, exp() represents an exponential function with a natural constant as the base, and || represents the absolute value sign.

[0058] |P i1 -P j1| is used to characterize the difference between the initial movement direction values ​​of the ith carton and the jth carton except the ith carton. The larger the difference, the greater the difference between the two. It represents the average value of the difference between the initial movement direction value of the ith carton and the initial movement direction values ​​of all other cartons, that is, the first mean, which is used to reflect the overall difference between the initial movement direction values ​​of the ith carton and all cartons except the ith carton. The larger the value is, the greater the difference in initial movement direction between the ith carton and other cartons is, and the smaller the direction accumulation coefficient of the ith carton is.

[0059] Since the corrected movement direction value is the movement direction data of the carton after correction by the movable limit plate 1, new cartons will continuously appear on the conveying rod 5 during the operation of the carton packaging printing and conveying device, and the distance between different cartons is often close, the movement direction of the carton will often be affected by the movement directions of other cartons. The movement direction of a carton may originally have a small deviation, but due to the influence of the movement directions of other cartons, the movement direction of the carton will show a cumulative deviation. The smaller the reduction amount under the cumulative degree of direction, the better the limiting effect of the movable limit plate 1.

[0060] Therefore, according to the difference between the initial motion direction value of the candidate carton and the corrected motion direction value of the candidate carton and the direction accumulation coefficient, the direction change index of the candidate carton is obtained. The difference between the initial motion direction value of the candidate carton and the corrected motion direction value of the candidate carton is recorded as the direction value difference; the normalized result of the ratio of the direction value difference to the direction accumulation coefficient is used as the direction change index of the candidate carton.

[0061] In this embodiment, a specific calculation formula for the direction change index is given, and the direction change index of the i-th carton on the conveying rod 5 can be expressed as:

[0062]

[0063] Among them, Y i represents the direction change index of the i-th carton on the conveyor rod 5, W i represents the directional cumulative coefficient of the i-th carton on the conveyor rod 5, P i1 represents the initial movement direction value of the i-th carton on the conveyor rod 5, P i2 It represents the corrected moving direction value of the i-th carton on the conveying rod 5, and || represents the absolute value sign.

[0064] |P i1 -P i2| represents the direction value difference, which is used to characterize the difference between the initial movement direction value of the i-th carton and the corrected movement direction value of the i-th carton. The larger the value, the greater the difference between the two. When the direction value difference is larger and the direction accumulation coefficient is smaller, the direction change index is larger.

[0065] By adopting the above method, the direction change index of each carton can be obtained.

[0066] The correction of the movement direction of the carton has corresponding standards for the directional change of the carton surface, which is specifically manifested as the adjustment of the length of the movable limit plate 1 of the direction correction module. Since the degree of cumulative influence of the direction actually reflects the confidence level of the carton direction data, it is to ensure the reliability of the data analyzed in the direction data obtained under the current multiple conveying correction environment.

[0067] In this embodiment, the length adjustment coefficient of the movable stopper 1 is determined based on the overall distribution of the direction change indexes of all cartons. Specifically, the average value of the direction change indexes of all cartons on the conveying rod 5 is calculated, and the normalized result of the average value is determined as the length adjustment coefficient of the movable stopper 1. The normalization here uses the maximum and minimum value normalization method for processing. In other embodiments, the implementer can select it according to the specific situation. The maximum and minimum value normalization method is an existing method and will not be described in detail here.

[0068] In this embodiment, the length adjustment coefficient of the movable limit plate 1 has been obtained. Next, the length of the movable limit plate 1 is adjusted using the length adjustment coefficient, thereby adjusting the direction of the carton on the conveying rod 5 .

[0069] Specifically, the sum of the constant 1 and the length adjustment coefficient is calculated; the product of the sum and the initial length of the movable stopper 1 is used as the adjusted length of the movable stopper 1. In this embodiment, the adjusted length of the movable stopper 1 can be expressed as:

[0070]

[0071] in, represents the adjusted length of the movable limit plate 1, t represents the initial length of the movable limit plate 1, and μ represents the length adjustment coefficient.

[0072] After determining the adjusted length of the movable stopper 1, the length of the movable stopper 1 is adjusted to the adjusted length, and then the carton is transported, thereby adjusting the direction of the carton during the transport process, and effectively ensuring the smooth completion of subsequent processes. Figure 3 As shown, this figure is a schematic diagram of the data processing flow corresponding to the carton packaging printing and conveying device.

[0073] The present embodiment improves the existing carton packaging printing and conveying device. The improved carton packaging printing and conveying device includes a movement direction acquisition module and a direction correction module. The direction correction module includes a movable limit plate 1 and an electric push rod 2. Under the coordinated action of the movable limit plate 1 and the electric push rod 2, the device can adjust the movement direction of the carton on the transmission rod 5. First, the printed carton is placed on the transmission rod 5. The movement direction acquisition module collects the initial movement direction value of each carton, and then uses the movable limit plate 1 and the electric push rod 2 to adjust the movement direction of the carton, and collects the corrected movement direction value. The direction correction module analyzes and processes the collected initial movement direction value and the corrected movement direction value, determines the length of the movable limit plate 1 based on the analysis and processing results, and adjusts it to ensure that the direction of the subsequent carton conveying process can be conveyed in the preset direction to prevent it from being offset, so as to prepare for the carton to smoothly enter the next process.

[0074] When the direction correction module analyzes and processes the collected initial motion direction values ​​and the corrected motion direction values, it takes into account that the distance between adjacent cartons on the conveying device is often close. A change in the motion direction of a carton will often affect the motion direction of the surrounding cartons, that is, the offset of the motion direction will accumulate. Therefore, firstly, according to the difference between the initial motion direction value of each carton and the initial motion direction values ​​of other cartons, and the difference between the initial motion direction value of each carton and the corrected motion direction value, the cumulative offset of the motion direction of the cartons is evaluated, and the direction change index of each carton is obtained. Then, combined with the overall distribution of the direction change indicators of all cartons, the length adjustment coefficient of the movable limit plate 1 is determined, and the length of the movable limit plate 1 is adjusted using the length adjustment coefficient, thereby realizing the control of the motion direction of the cartons on the conveying device to prevent a large offset in its motion direction and affect the subsequent process flow.

[0075] It should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A carton packaging printing and conveying device, the device comprising a transmission rod (5), characterized in that: The device also includes a motion direction acquisition module and a direction correction module; the direction correction module includes a movable limit plate (1) and an electric push rod (2); A movement direction acquisition module is used to acquire initial movement direction values ​​and corrected movement direction values ​​of different cartons on a conveying rod (5), wherein the initial movement direction value is obtained after the cartons are placed on a conveying device after printing, and the corrected movement direction value is obtained after the direction of the cartons is adjusted using a movable limit plate (1) and an electric push rod (2); The direction correction module is used to obtain a direction change index for each carton based on the difference between the initial movement direction value of each carton and the initial movement direction values ​​of other carton, and the difference between the initial movement direction value of each carton and the corrected movement direction value; determine the length adjustment coefficient of the movable limit piece (1) based on the overall distribution of the direction change indicators of all cartons; and adjust the length of the movable limit piece (1) based on the length adjustment coefficient.

2. A carton packaging printing and conveying device according to claim 1, characterized in that: The method of obtaining a direction change index of each carton according to the difference between the initial movement direction value of each carton and the initial movement direction values ​​of other carton and the difference between the initial movement direction value of each carton and the corrected movement direction value comprises: Obtaining a direction accumulation coefficient of the candidate carton according to the overall difference between the initial movement direction value of the candidate carton and the initial movement direction values ​​of all other carton boxes, wherein the overall difference is negatively correlated with the direction accumulation coefficient; Obtaining a direction change index of the candidate carton according to a difference between an initial motion direction value of the candidate carton and a corrected motion direction value of the candidate carton and the direction accumulation coefficient; The candidate carton is any carton on the conveying rod (5).

3. A carton packaging printing and conveying device according to claim 2, characterized in that: The step of obtaining the direction change index of the candidate carton according to the difference between the initial movement direction value of the candidate carton and the corrected movement direction value of the candidate carton and the direction accumulation coefficient includes: The difference between the initial motion direction value of the candidate carton and the corrected motion direction value of the candidate carton is recorded as the direction value difference; The normalized result of the ratio of the direction value difference to the direction cumulative coefficient is used as the direction change index of the candidate carton.

4. A carton packaging printing and conveying device according to claim 1, characterized in that: The method of determining the length adjustment coefficient of the movable limit piece (1) according to the overall distribution of the direction change indicators of all cartons includes: Calculating the average value of the direction change index of all cartons on the conveyor rod (5); The normalized result of the average value is determined as the length adjustment coefficient of the movable limiting piece (1).

5. A carton packaging printing and conveying device according to claim 1, characterized in that: The adjusting the length of the movable limiting piece (1) based on the length adjustment coefficient comprises: Calculate the sum of the constant 1 and the length adjustment coefficient; The product of the sum and the initial length of the movable limiting piece (1) is used as the adjusted length of the movable limiting piece (1).

6. A carton packaging printing and conveying device according to claim 2, characterized in that: The step of obtaining the direction accumulation coefficient of the candidate carton according to the overall difference between the initial movement direction value of the candidate carton and the initial movement direction values ​​of all other carton, comprises: The average of the differences between the initial motion direction value of the candidate carton and the initial motion direction values ​​of all other carton is recorded as the first mean; The negative correlation normalized result of the first mean is used as the directional cumulative coefficient of the candidate carton.

7. A carton packaging printing and conveying device according to claim 2, characterized in that: The acquisition of the initial motion direction value includes: Obtaining the central axis along the length direction of the candidate carton before the direction of the candidate carton is corrected; The non-obtuse angle value between the central axis along the length direction of the candidate carton and the preset direction before the direction of the candidate carton is corrected is used as the initial movement direction value of the candidate carton.

8. A carton packaging printing and conveying device according to claim 7, characterized in that: The corrected motion direction value includes: Obtaining the central axis along the length direction of the candidate carton after the candidate carton direction is corrected; The non-obtuse angle value between the central axis along the length direction of the candidate carton after the direction of the candidate carton is corrected and the preset direction is used as the movement direction value of the candidate carton after correction.

9. A carton packaging printing and conveying device according to claim 1, characterized in that: The carton packaging printing and conveying device also includes a roller (4).

10. A carton packaging printing and conveying device according to claim 1, characterized in that: The movement direction acquisition module comprises a laser sensor (6).