A printing roller automatic control method and system based on a roll wrapping machine

By introducing an automatic control system into the ink printing unit of the roll splicer, the problem of maintenance difficulties caused by the narrow gap between the printing rollers was solved, and efficient automatic adjustment of the printing rollers and glue detection were achieved, thus improving maintenance efficiency and printing quality.

CN118415384BActive Publication Date: 2026-05-15HUBEI CHINA TOBACCO INDUSTRY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUBEI CHINA TOBACCO INDUSTRY CO LTD
Filing Date
2024-06-24
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

When conventional printing ink equipment malfunctions, the fixed and narrow gap between the printing rollers increases the time required for manual repairs, reduces repair efficiency, and easily leads to high waste smoke consumption.

Method used

By introducing an automatic control system into the ink printing unit of the roll-to-roll machine, and utilizing components such as cylinders, solenoid valves, relays, and control switches, the automatic adjustment and maintenance of the printing rollers can be achieved. This includes automatically adjusting the printing roller gap and adhesive application in the shutdown state, and timely detecting the uniformity of adhesive application.

Benefits of technology

It improved maintenance efficiency, reduced waste smoke consumption, ensured printing quality, and enhanced overall maintenance efficiency and the automation level of the printing equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118415384B_ABST
    Figure CN118415384B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of cigarette making machine, and discloses a printing roller automatic control method and system based on a cigarette making machine. After receiving a user's maintenance request instruction, the gear of the adjustment control knob can quickly turn on the electromagnetic valve and the circuit where the power supply is located, effectively improving the efficiency while making the electromagnetic valve in the on state and controlling the cylinder in the running state, so that the cylinder pushes the first printing roller to move towards the second printing roller under the on state of the electromagnetic valve until the first printing roller moves to a position convenient for manual maintenance observation, thereby ensuring the overall maintenance efficiency, and the method of controlling the movement of the printing roller can also effectively adjust the gap between the printing rollers, avoiding the defect of high waste smoke consumption caused by fixed and narrow gaps.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of roll splicing machine application technology, and specifically relates to an automatic control method and system for printing rollers based on roll splicing machines. Background Technology

[0002] A cigarette rolling machine, also known as a cigarette making machine or cigarette packing machine, is mainly used in the cigarette production process in the tobacco industry. It is responsible for rolling tobacco into cigarettes using cigarette paper and adding filters. During this process, the rolling machine can also use ink printing or tipping paper printing processes to print patterns, brand logos, or warnings on the cigarette paper to increase the diversity of cigarette markings.

[0003] Ink printing processes can generally be completed by ink printing equipment. When conventional ink printing equipment malfunctions and needs maintenance, the fixed and narrow gap between the printing rollers greatly increases the manual maintenance time, which not only reduces the overall maintenance efficiency but also easily leads to high waste smoke consumption. Summary of the Invention

[0004] This application addresses the technical problems mentioned above, such as the fixed and narrow gap between printing rollers in conventional printing ink equipment, which greatly increases manual maintenance time, reduces overall maintenance efficiency, and easily leads to high waste smoke consumption. It proposes an automatic control method and system for printing rollers based on a roll-to-roll machine, the technical solution of which is as follows:

[0005] In a first aspect, embodiments of this application provide an automatic control method for a printing roller based on a roll-to-roll machine. The method is applied to the ink printing apparatus of the roll-to-roll machine. The ink printing apparatus includes a first printing roller, a second printing roller disposed above the first printing roller, a cylinder for controlling the up-and-down movement of the first printing roller, a solenoid valve disposed on the cylinder, a drive circuit connected to the roll-to-roll machine, a relay, a glue applicator, a control knob, a first control switch corresponding to the control knob, and a second control switch. The solenoid valve is connected to the normally open contact of the relay in the power supply circuit. The relay is connected to the first control switch in the power supply circuit and is also connected to the drive circuit. The glue applicator is connected to the second control switch in the power supply circuit. The method includes:

[0006] After the winding and splicing machine is in a stopped state, when a user's maintenance request command is received, the control knob is rotated to the first position to change the first control switch from the off state to the on state, and to keep the second control switch in the off state.

[0007] When the relay is connected to the power supply circuit, the normally open contact of the relay connects the solenoid valve to the power supply circuit, so that the solenoid valve is in the conducting state and controls the cylinder to be in the running state, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the conducting state.

[0008] The first distance between the first printing roller and the second printing roller is obtained, and when the first distance is detected to be within a preset distance range, the control cylinder is put into standby mode.

[0009] In one alternative to the first aspect, after the winding machine is in a stopped state, the method further includes:

[0010] When no user maintenance request command is received, the control knob is rotated to the second position to keep the first control switch off and to switch the second control switch from off to on.

[0011] When the coating device is connected to the power supply circuit, the coating device is controlled to coat the cigarette paper with glue and to obtain the surface image of the processed cigarette paper.

[0012] The surface image is converted to grayscale, and the adhesive application area is determined in the processed surface image.

[0013] The system calculates the average value of all gray values ​​in the glued area, and issues a glue application warning to the user when the difference between at least one gray value and the average value exceeds a preset difference threshold.

[0014] In another alternative to the first aspect, the method further includes:

[0015] After the cigarette rolling machine is in operation, a second distance is determined based on the thickness of the cigarette paper; wherein the second distance is smaller than the first distance.

[0016] Rotate the control knob to the third position to keep the first control switch off and the second control switch off, and the drive circuit outputs the electrical signal of the winding machine to the relay and power supply circuit to make the relay and power supply circuit conduct.

[0017] When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the control cylinder is in operation, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the open state.

[0018] The third distance between the first printing roller and the second printing roller is obtained, and when the third distance is detected to be consistent with the second distance, the control cylinder is put into standby mode.

[0019] In another alternative to the first aspect, after the control cylinder is put into a standby state when the third distance is detected to be consistent with the second distance, the following further includes:

[0020] When cigarette paper is detected between the first printing roller and the second printing roller, the first detection data of the cigarette paper is acquired at a preset time interval.

[0021] When the first detection data at any given moment is inconsistent with the previous detection data at the previous moment, the control winding machine stops outputting electrical signals to the drive circuit, thereby disconnecting the relay from the power supply circuit.

[0022] When the normally open contact of the relay does not connect the solenoid valve to the power supply circuit, the control cylinder is in a stopped state, so that the first printing roller descends to the initial height; wherein, the distance between the initial height and the second printing roller is greater than the first distance.

[0023] In another alternative embodiment of the first aspect, when the normally open contact of the relay does not connect the solenoid valve to the power supply circuit, the control cylinder is in a stopped state, so that after the first printing roller descends to the initial height, the system further includes:

[0024] The second detection data of cigarette paper is acquired according to a preset time interval. When the second detection data corresponding to any moment is detected to be within the preset data range, the cigarette making machine is controlled to output an electrical signal to the drive circuit so that the relay and the power supply circuit are connected.

[0025] When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the control cylinder is in operation, so that the cylinder pushes the first printing roller toward the second printing roller while the solenoid valve is in the open state.

[0026] In another alternative to the first aspect, after the control cylinder is in standby mode when the first distance is detected to be within a preset distance range, the method further includes:

[0027] When a user's reset request command is received, the control knob is rotated to the third position to keep the first control switch off and the second control switch off.

[0028] When the normally open contact of the relay is not connected to the circuit where the solenoid valve and the power supply are located, the control cylinder is in a stopped state, so that the first printing roller descends to the initial height.

[0029] In another alternative embodiment of the first aspect, the ink printing apparatus further includes a diode disposed between the relay and the drive circuit, with the positive terminal of the diode connected to the drive circuit and the negative terminal of the diode connected to the relay.

[0030] Secondly, embodiments of this application provide an automatic control system for printing rollers based on a roll-to-roll machine. The system is applied to the ink printing device of the roll-to-roll machine. The ink printing device includes a first printing roller, a second printing roller disposed above the first printing roller, a cylinder for controlling the up-and-down movement of the first printing roller, a solenoid valve disposed on the cylinder, a drive circuit connected to the roll-to-roll machine, a relay, a glue applicator, a control knob, a first control switch corresponding to the control knob, and a second control switch. The solenoid valve is connected to the normally open contact of the relay in the power supply circuit. The relay is connected to the first control switch in the power supply circuit and is also connected to the drive circuit. The glue applicator is connected to the second control switch in the power supply circuit. The system includes:

[0031] The first processing module is used to rotate the control knob to the first position when a user's maintenance request command is received after the winding and splicing machine is in a stopped state, so as to change the first control switch from the off state to the on state, and keep the second control switch in the off state.

[0032] The second processing module is used to connect the solenoid valve to the power supply circuit through the normally open contact of the relay when the relay is connected to the power supply circuit, so that the solenoid valve is in the conducting state and the cylinder is in the running state, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the conducting state.

[0033] The third processing module is used to obtain the first distance between the first printing roller and the second printing roller, and when the first distance is detected to be within a preset distance range, the control cylinder is put into standby mode.

[0034] Thirdly, embodiments of this application also provide an automatic control system for printing rollers based on a roll-to-roll machine, including a processor and a memory;

[0035] The processor is connected to the memory;

[0036] Memory, used to store executable program code;

[0037] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the automatic control method of printing roller based on the roll splicer provided in the first aspect or any implementation of the first aspect of the embodiments of this application.

[0038] Fourthly, embodiments of this application provide a computer storage medium storing a computer program, which includes program instructions. When executed by a processor, the program instructions can implement the automatic control method for printing rollers based on a roll-to-roll machine provided by the first aspect or any implementation of the first aspect of this application.

[0039] In this embodiment, when automatically controlling the ink printing device of the roll-to-roll machine, after the roll-to-roll machine is in a stopped state, upon receiving a user's maintenance request command, the control knob is rotated to the first position to change the first control switch from an open state to a closed state, and the second control switch remains open. When the relay is connected to the power supply circuit, the normally open contact of the relay connects the solenoid valve to the power supply circuit, so that the solenoid valve is in a closed state, and the cylinder is controlled to be in a running state, so that the cylinder pushes the first printing roller toward the second printing roller while the solenoid valve is in a closed state. The first distance between the first printing roller and the second printing roller is obtained, and when the first distance is detected to be within a preset distance range, the cylinder is controlled to be in a standby state. After receiving a user's repair request, adjusting the control knob can quickly connect the solenoid valve to the power supply circuit, effectively improving efficiency while keeping the solenoid valve in the conducting state and controlling the cylinder to operate. This allows the cylinder to push the first printing roller towards the second printing roller while the solenoid valve is in the conducting state, until the first printing roller moves to a position that is easy for manual maintenance and observation. This ensures overall repair efficiency, and the method of controlling the movement of the printing rollers can also effectively adjust the gap between the printing rollers, avoiding the defects of high waste smoke consumption caused by fixed or narrow gaps. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 A flowchart illustrating an automatic control method for printing rollers based on a roll splicer, provided in an embodiment of this application;

[0042] Figure 2 This is a schematic diagram of the structure of an ink printing apparatus provided in an embodiment of this application;

[0043] Figure 3 This application provides a circuit connection diagram of an ink printing apparatus according to an embodiment of the present application.

[0044] Figure 4 A schematic diagram of an automatic control system for printing rollers based on a roll splicer provided in this application embodiment;

[0045] Figure 5 This is a schematic diagram of another automatic control system for printing rollers based on a roll splicer provided in an embodiment of this application. Detailed Implementation

[0046] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0047] In the following description, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The following description provides multiple embodiments of this application, which can be substituted or combined with each other. Therefore, this application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then this application should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.

[0048] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.

[0049] Please see Figure 1 , Figure 1 The diagram shows an overall flowchart of an automatic control method for printing rollers based on a roll splicer provided in an embodiment of this application.

[0050] like Figure 1 As shown, the automatic control method for printing rollers based on a roll splicer may include at least the following steps:

[0051] Step 102: After the winding machine is in a stopped state, when a user's maintenance request command is received, rotate the control knob to the first position to change the first control switch from the off state to the on state, and keep the second control switch in the off state.

[0052] In this embodiment, the automatic control method for the printing roller of a roll-to-roll machine can be applied to, but is not limited to, a control terminal. This control terminal can be connected to both the roll-to-roll machine and the ink printing device to control the ink printing device for maintenance and repair based on the current state of the roll-to-roll machine. The ink printing device can include at least a first printing roller, a second printing roller positioned above the first printing roller, a cylinder for controlling the up-and-down movement of the first printing roller, and a solenoid valve mounted on the cylinder. When the roll-to-roll machine is in normal operation, the control terminal can control the solenoid valve to connect to the power supply circuit via an electrical signal output from the roll-to-roll machine, thus enabling the cylinder to operate normally. The cylinder then raises the first printing roller from its initial height to the printing height, allowing the first and second printing rollers to perform ink printing on the cigarette paper. It is understood that when printing ink on cigarette paper, the control terminal can also, but is not limited to, controlling the ink transfer mechanism of the ink printing device to transfer ink to the second printing roller (or the first printing roller) according to a preset ink control program, and controlling the cigarette paper transfer mechanism of the ink printing device to transfer cigarette paper between the first and second printing rollers according to a preset cigarette paper control program, and can also control the first and second printing rollers to perform ink printing on the cigarette paper according to a preset printing control program. Moreover, the ink transfer mechanism, the cigarette paper transfer mechanism, and the multiple preset control programs are all well-known equipment structures and processing methods in the art, and will not be described in detail here.

[0053] When the roll splicer is stopped, the control terminal can automatically disconnect the solenoid valve from the power supply circuit, rendering the cylinder unable to operate normally. This cylinder then lowers the first printing roller to its initial height, increasing the gap between the first and second printing rollers, making it easier for manual maintenance of both rollers. Conversely, upon receiving a user's maintenance request, the control terminal can also automatically reconnect the solenoid valve to the power supply circuit, enabling the cylinder to operate normally and raising the first printing roller to a height easily accessible for manual inspection. This allows for quick monitoring of the maintenance results, effectively improving maintenance efficiency.

[0054] See also: Figure 2 The schematic diagram shown is of the structure of an ink printing apparatus provided in an embodiment of this application, as follows: Figure 2As shown, the ink printing device may include at least a first printing roller, a cylinder connected to the first printing roller via a transmission mechanism, a solenoid valve disposed on the cylinder, and a second printing roller disposed directly above the first printing roller. The cylinder can use the transmission mechanism to realize the vertical movement of the first printing roller, so as to quickly and effectively adjust the distance between the first printing roller and the second printing roller, thereby improving the overall maintenance efficiency.

[0055] It should be noted that the ink printing apparatus may further include a drive circuit connected to the winding and splicing machine, a relay, a gluing device, a control knob, a first control switch corresponding to the control knob, and a second control switch. The solenoid valve is connected to the normally open contact of the relay in the power supply circuit. The relay is connected to the first control switch in the power supply circuit. The relay is also connected to the drive circuit. The gluing device is connected to the second control switch in the power supply circuit. This allows for the control of the on / off state of the solenoid valve and the power supply circuit through the drive circuit, relay, control knob, first control switch, and second control switch. Furthermore, the gluing device can be used to apply gluing to the cigarette paper even after the winding and splicing machine is stopped. The drive circuit can be understood as a circuit that regulates the voltage of the electrical signal output from the winding and splicing machine (e.g., step-down or step-up). When the winding and splicing machine outputs an electrical signal, the processed electrical signal is output to the relay to enable conduction between the relay and the power supply circuit. The specific structure of the drive circuit can be a step-down circuit or a step-up circuit well-known in the art, which will not be elaborated further in this embodiment.

[0056] The rotary knob can be understood as an automatic control button with multiple settings. Each setting can specify the on / off state of a first control switch and a second control switch. For example, but not limited to, when the rotary knob is switched to the first setting, it can automatically control the first control switch to the on state and the second control switch to the off state; when the rotary knob is switched to the second setting, it can automatically control the first control switch to the off state and the second control switch to the on state; when the rotary knob is switched to the third setting, it can automatically control the first control switch to the off state and the second control switch to the off state. When the rotary knob is not in any setting, the first control switch is off by default, and the second control switch is also off by default.

[0057] The coating device can be understood as a device for coating cigarette paper with adhesive. It may include, but is not limited to, components such as coating rollers, metering pumps, and drying mechanisms. The coating rollers, metering pumps, and drying mechanisms are controlled according to a preset coating control program to achieve the coating of cigarette paper with adhesive. The coating device can also be understood as a technical means well known in the art. The embodiments of this application will not be described in detail.

[0058] Specifically, when automatically controlling the ink printing device of the roll splicer, the control terminal can, but is not limited to, determine whether the roll splicer is in operation based on the electrical signal output by the roll splicer. For example, when the electrical signal output by the roll splicer is detected to be low, it can be determined that the roll splicer is currently in a stopped state, and when the electrical signal output by the roll splicer is detected to be high, it can be determined that the roll splicer is currently in a normal operating state. The control terminal can receive the electrical signal output by the roll splicer through the connection terminal with the roll splicer, or it can also receive the electrical signal output by the roll splicer through the drive circuit, and is not limited to this.

[0059] Understandably, after determining that the roll splicer is currently in a stopped state, the control terminal can, but is not limited to, use the touchscreen controls or physical buttons to determine whether the user has entered a maintenance request command. This maintenance request command can be understood as a request command selected by the user when they need to further check the maintenance effect of the first and second printing rollers after performing maintenance on them. Upon receiving the user's maintenance request command, the control terminal automatically switches the rotary knob to the first position, changing the first control switch from its default off state to its on state, while simultaneously keeping the second control switch in its default off state. Here, when the second control switch remains off, the adhesive applicator and the power supply circuit are disconnected, meaning the adhesive applicator cannot function properly.

[0060] Step 104: When the relay is connected to the power supply circuit, the normally open contact of the relay connects the solenoid valve to the power supply circuit, so that the solenoid valve is in the conducting state and controls the cylinder to be in the running state, so that the cylinder pushes the first printing roller to move towards the second printing roller when the solenoid valve is in the conducting state.

[0061] Specifically, after the first control switch changes from the default off state to the on state, the relay can be connected to the power supply circuit, that is, the relay is in the energized state. Since the contact corresponding to the relay is a normally open contact, when the relay is in the energized state, the corresponding normally open contact changes from the default off state to the on state, thereby realizing the connection between the solenoid valve and the power supply circuit.

[0062] Furthermore, when the solenoid valve is connected to the power supply circuit, the control terminal can, but is not limited to, output a preset control signal to the cylinder to put the cylinder into normal operation and push the first printing roller from the initial height toward the second printing roller, thereby reducing the gap between the first and second printing rollers. Here, the initial height can be understood as the height at which the first printing roller stops moving downwards after the ink printing device has performed ink printing on the cigarette paper, that is, the height of the first printing roller relative to the horizontal plane when the cylinder is stopped. Moreover, the cylinder can control the first printing roller to move upwards to the printing height before the ink printing device performs ink printing on the cigarette paper, so that the first and second printing rollers can quickly perform ink printing on the cigarette paper.

[0063] Step 106: Obtain the first distance between the first printing roller and the second printing roller, and when the first distance is detected to be within a preset distance range, control the cylinder to be in standby mode.

[0064] Specifically, during the continuous upward movement of the first printing roller, the control terminal can, but is not limited to, use a distance sensor installed on the second printing roller to obtain the first distance between the first and second printing rollers in real time. When the first distance is detected to be within a preset distance range, it indicates that the maintenance effect of the first and second printing rollers can be quickly checked. Then, the cylinder can be controlled to be in standby mode, that is, the first printing roller can be controlled to maintain its current height until the user judges that the maintenance effect is normal. Then, the control terminal can control the cylinder to be in stop mode so that the first printing roller moves downward to the initial height.

[0065] As an optional embodiment of this application, after the winding machine is in a stopped state, the method further includes:

[0066] When no user maintenance request command is received, the control knob is rotated to the second position to keep the first control switch off and to switch the second control switch from off to on.

[0067] When the coating device is connected to the power supply circuit, the coating device is controlled to coat the cigarette paper with glue and to obtain the surface image of the processed cigarette paper.

[0068] The surface image is converted to grayscale, and the adhesive application area is determined in the processed surface image.

[0069] The system calculates the average value of all gray values ​​in the glued area, and issues a glue application warning to the user when the difference between at least one gray value and the average value exceeds a preset difference threshold.

[0070] Specifically, after the winding machine is stopped, if the control terminal does not receive a maintenance request command from the user, it indicates that glue application may be required. The rotary knob will then automatically switch to the second position, keeping the first control switch in its default off state. Simultaneously, the second control switch will be switched from its default off state to its on state. Here, when the first control switch is off, since the winding machine is also stopped, the relay and power supply circuit are disconnected, meaning the solenoid valve cannot be energized, consequently causing the cylinder to malfunction.

[0071] Next, after the second control switch changes from the default off state to the on state, the coating device can be connected to the power supply circuit. Then, the control terminal can output the preset coating control signal to the coating device so that the coating device can coat the cigarette paper with glue. After the coating device coats the cigarette paper with glue, the top industrial camera can acquire the surface image of the coated cigarette paper from a top-down angle.

[0072] Next, after receiving the surface image transmitted from the top industrial camera, the control terminal can perform grayscale conversion on the surface image and determine the adhesive application area based on the boundary line identified in the processed surface image. It is understood that there will be a certain color difference between the adhesive-coated area and the uncoated area after grayscale conversion. After identifying the boundary line between the color differences, the darker color area can be taken as the adhesive-coated area, but this is not a limitation.

[0073] Next, after identifying the coating area, the control terminal can calculate the average of all gray values ​​within that area to determine whether the coating is uniform. Understandably, if the difference between at least one gray value and the calculated average exceeds a preset threshold, it indicates uneven coating. To ensure the quality of the finished cigarette, a warning message can be sent to the user, reminding them to remove any cigarette paper with uneven coating and to promptly inspect the coating device.

[0074] As another optional embodiment of this application, the method further includes:

[0075] After the cigarette rolling machine is in operation, a second distance is determined based on the thickness of the cigarette paper; wherein the second distance is smaller than the first distance.

[0076] Rotate the control knob to the third position to keep the first control switch off and the second control switch off, and the drive circuit outputs the electrical signal of the winding machine to the relay and power supply circuit to make the relay and power supply circuit conduct.

[0077] When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the control cylinder is in operation, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the open state.

[0078] The third distance between the first printing roller and the second printing roller is obtained, and when the third distance is detected to be consistent with the second distance, the control cylinder is put into standby mode.

[0079] Specifically, after confirming that the cigarette paper printing machine is currently in normal operation, it indicates that the cigarette paper needs to be printed with ink by the ink printing device. At this time, the control terminal can first determine a second distance based on the thickness of the cigarette paper to be printed. For example, but not limited to, multiplying the thickness of the cigarette paper to be printed with a preset constant to obtain the second distance, so as to control the first printing roller at a height corresponding to the second distance, thereby ensuring the ink printing effect of the cigarette paper to be printed. At the same time, it can also automatically switch the rotary button to the third position, so that the first control switch remains in the default off state, and the second control switch also remains in the default off state. Here, when the second control switch remains in the off state, the glue applicator and the power supply circuit are disconnected, that is, the glue applicator cannot work normally; when the first control switch remains in the off state, since the cigarette paper printing machine is in normal operation, the printing machine can output an electrical signal to the relay through the drive circuit, so that the relay and the power supply circuit are in the conducting state.

[0080] Next, when the relay is energized, the corresponding normally open contact can connect the solenoid valve and the power supply circuit, which can make the cylinder work normally. Then, the control terminal can output a preset printing signal to the cylinder so that the cylinder is in normal operation and pushes the first printing roller from the initial height toward the second printing roller to reduce the gap between the first printing roller and the second printing roller.

[0081] Next, as the first printing roller continues to move upward, the control terminal can, but is not limited to, use a distance sensor installed on the second printing roller to obtain the third distance between the first and second printing rollers in real time. When the third distance is detected to be consistent with the second distance, it indicates that the first printing roller is at the standard printing height corresponding to the current cigarette paper. In this way, the cylinder can be controlled to be in standby mode, that is, the first printing roller is controlled to maintain its current height until the ink printing process is completed.

[0082] As another optional embodiment of this application, after the control cylinder is put into a standby state when the third distance is detected to be consistent with the second distance, the method further includes:

[0083] When cigarette paper is detected between the first printing roller and the second printing roller, the first detection data of the cigarette paper is acquired at a preset time interval.

[0084] When the first detection data at any given moment is inconsistent with the previous detection data at the previous moment, the control winding machine stops outputting electrical signals to the drive circuit, thereby disconnecting the relay from the power supply circuit.

[0085] When the normally open contact of the relay does not connect the solenoid valve to the power supply circuit, the control cylinder is in a stopped state, so that the first printing roller descends to the initial height; wherein, the distance between the initial height and the second printing roller is greater than the first distance.

[0086] Specifically, during the ink printing process on cigarette paper, to avoid affecting the overall printing effect due to paper breakage, the control terminal, upon identifying the cigarette paper between the first and second printing rollers, can, but is not limited to, control a photoelectric sensor to acquire first detection data of the cigarette paper at preset time intervals. The light emitted by this photoelectric sensor can be directed to the midpoint of the line connecting the first and second printing rollers. When the first detection data at any given moment is inconsistent with the previous detection data, it indicates that the cigarette paper has broken. This allows the cigarette paper rewinding machine to stop outputting electrical signals to the drive circuit, promptly reminding the user to replace the broken cigarette paper. At this time, the relay and power supply circuit are disconnected, meaning the cylinder is stopped, and the first printing roller descends to its initial height. It is understood that when the first printing roller is at its initial height, it facilitates more efficient replacement of the broken cigarette paper by the user and also allows for easier control of the cylinder to raise the first printing roller from its initial height back to a height corresponding to the second distance.

[0087] As another optional embodiment of this application, when the normally open contact of the relay is not connected to the circuit where the solenoid valve and the power supply are located, the control cylinder is in a stopped state, so that after the first printing roller descends to the initial height, the following is also included:

[0088] The second detection data of cigarette paper is acquired according to a preset time interval. When the second detection data corresponding to any moment is detected to be within the preset data range, the cigarette making machine is controlled to output an electrical signal to the drive circuit so that the relay and the power supply circuit are connected.

[0089] When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the control cylinder is in operation, so that the cylinder pushes the first printing roller toward the second printing roller while the solenoid valve is in the open state.

[0090] Specifically, after the first printing roller descends to its initial height, the control terminal can, but is not limited to, control the photoelectric sensor to acquire second detection data of the cigarette paper at preset time intervals to determine in real time whether the torn cigarette paper has been replaced. It can be understood that when the second detection data at any given moment falls within a preset data range, it indicates that the torn cigarette paper has been replaced, and the cigarette rolling machine can then output an electrical signal to the drive circuit, i.e., to activate the relay and power supply circuit.

[0091] As another optional embodiment of this application, after controlling the cylinder to enter a standby state when the first distance is detected to be within a preset distance range, the method further includes:

[0092] When a user's reset request command is received, the control knob is rotated to the third position to keep the first control switch off and the second control switch off.

[0093] When the normally open contact of the relay is not connected to the circuit where the solenoid valve and the power supply are located, the cylinder is controlled to be in a stopped state so that the first printing roller descends to the initial height.

[0094] Specifically, when the user checks the maintenance effect of the first and second printing rollers, when the control terminal receives the reset request command input by the user, it indicates that the user judges the maintenance effect to be normal. Then, the control knob can be automatically rotated to the third position so that the first printing roller is lowered to the initial height. This allows the first printing roller to be controlled to rise from the initial height to the required printing height when the roll-to-roll machine is in normal operation again.

[0095] As another optional embodiment of this application, in order to ensure the normal operation of the driving circuit, the ink printing apparatus further includes a diode disposed between the relay and the driving circuit, wherein the positive terminal of the diode is connected to the driving circuit and the negative terminal of the diode is connected to the relay.

[0096] Please see Figure 3 , Figure 3 A circuit connection diagram of an ink printing apparatus provided in an embodiment of this application is shown. Figure 3As shown, the ink printing device may include a drive circuit connected to a roll-to-roll machine, a relay (K7), a glue applicator, a control knob, a diode (V20), a first control switch corresponding to the control knob, and a second control switch. The solenoid valve is connected to the normally open contact of the relay in the power supply circuit. The relay is connected to the first control switch in the power supply circuit. The relay is also connected to the drive circuit. The glue applicator is connected to the second control switch in the power supply circuit. The positive terminal of the diode is connected to the drive circuit, and the negative terminal of the diode is connected to the relay.

[0097] Please see Figure 4 , Figure 4 A schematic diagram of the structure of an automatic control system for printing rollers based on a roll splicer provided in an embodiment of this application is shown.

[0098] This automatic control system for the printing rollers based on a roll-to-roll machine can be applied to the ink printing device of a roll-to-roll machine. The ink printing device includes a first printing roller, a second printing roller positioned above the first printing roller, a cylinder for controlling the up-and-down movement of the first printing roller, a solenoid valve mounted on the cylinder, a drive circuit connected to the roll-to-roll machine, a relay, a glue applicator, a control knob, a first control switch corresponding to the control knob, and a second control switch. The solenoid valve is connected to the normally open contact of the relay in the power supply circuit. The relay is also connected to the first control switch in the power supply circuit and to the drive circuit. The glue applicator is connected to the second control switch in the power supply circuit. Figure 4 As shown, the automatic control system for the printing rollers based on the roll-to-roll machine may specifically include a first processing module 401, a second processing module 402, and a third processing module 403, wherein:

[0099] The first processing module 401 is used to rotate the control knob to the first position when a user's maintenance request command is received after the winding and splicing machine is in a stopped state, so as to change the first control switch from the off state to the on state, and to keep the second control switch in the off state.

[0100] The second processing module 402 is used to connect the solenoid valve to the power supply circuit through the normally open contact of the relay when the relay is connected to the power supply circuit, so that the solenoid valve is in the conducting state and the cylinder is in the running state, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the conducting state.

[0101] The third processing module 403 is used to obtain the first distance between the first printing roller and the second printing roller, and when the first distance is detected to be within a preset distance range, the control cylinder is put into standby mode.

[0102] In some possible embodiments, after the winding machine is in a stopped state, the method further includes:

[0103] When no user maintenance request command is received, the control knob is rotated to the second position to keep the first control switch off and to switch the second control switch from off to on.

[0104] When the coating device is connected to the power supply circuit, the coating device is controlled to coat the cigarette paper with glue and to obtain the surface image of the processed cigarette paper.

[0105] The surface image is converted to grayscale, and the adhesive application area is determined in the processed surface image.

[0106] The system calculates the average value of all gray values ​​in the glued area, and issues a glue application warning to the user when the difference between at least one gray value and the average value exceeds a preset difference threshold.

[0107] In some possible embodiments, it also includes:

[0108] After the cigarette rolling machine is in operation, a second distance is determined based on the thickness of the cigarette paper; wherein the second distance is smaller than the first distance.

[0109] Rotate the control knob to the third position to keep the first control switch off and the second control switch off, and the drive circuit outputs the electrical signal of the winding machine to the relay and power supply circuit to make the relay and power supply circuit conduct.

[0110] When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the control cylinder is in operation, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the open state.

[0111] The third distance between the first printing roller and the second printing roller is obtained, and when the third distance is detected to be consistent with the second distance, the control cylinder is put into standby mode.

[0112] In some possible embodiments, after the control cylinder is put into a standby state when the third distance is detected to be consistent with the second distance, the following steps are also included:

[0113] When cigarette paper is detected between the first printing roller and the second printing roller, the first detection data of the cigarette paper is acquired at a preset time interval.

[0114] When the first detection data at any given moment is inconsistent with the previous detection data at the previous moment, the control winding machine stops outputting electrical signals to the drive circuit, thereby disconnecting the relay from the power supply circuit.

[0115] When the normally open contact of the relay does not connect the solenoid valve to the power supply circuit, the control cylinder is in a stopped state, so that the first printing roller descends to the initial height; wherein, the distance between the initial height and the second printing roller is greater than the first distance.

[0116] In some possible embodiments, when the normally open contact of the relay is not connected between the solenoid valve and the power supply circuit, the control cylinder is in a stopped state, so that after the first printing roller descends to the initial height, the following steps are also included:

[0117] The second detection data of cigarette paper is acquired according to a preset time interval. When the second detection data corresponding to any moment is detected to be within the preset data range, the cigarette making machine is controlled to output an electrical signal to the drive circuit so that the relay and the power supply circuit are connected.

[0118] When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the control cylinder is in operation, so that the cylinder pushes the first printing roller toward the second printing roller while the solenoid valve is in the open state.

[0119] In some possible embodiments, after the control cylinder is put into a standby state when the first distance is detected to be within a preset distance range, the method further includes:

[0120] When a user's reset request command is received, the control knob is rotated to the third position to keep the first control switch off and the second control switch off.

[0121] When the normally open contact of the relay does not connect the solenoid valve to the power supply circuit, the control cylinder is in a stopped state, so that the first printing roller descends to the initial height.

[0122] In some possible embodiments, the ink printing apparatus further includes a diode disposed between the relay and the drive circuit, with the positive terminal of the diode connected to the drive circuit and the negative terminal of the diode connected to the relay.

[0123] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.

[0124] Please see Figure 5 , Figure 5 This illustration shows a schematic diagram of another automatic control system for printing rollers based on a roll splicer provided in an embodiment of this application.

[0125] This automatic control system for the printing rollers based on a roll-to-roll machine can be applied to the ink printing device of a roll-to-roll machine. The ink printing device includes a first printing roller, a second printing roller positioned above the first printing roller, a cylinder for controlling the up-and-down movement of the first printing roller, a solenoid valve mounted on the cylinder, a drive circuit connected to the roll-to-roll machine, a relay, a glue applicator, a control knob, a first control switch corresponding to the control knob, and a second control switch. The solenoid valve is connected to the normally open contact of the relay in the power supply circuit. The relay is also connected to the first control switch in the power supply circuit and to the drive circuit. The glue applicator is connected to the second control switch in the power supply circuit. Figure 5 As shown, the automatic control system 500 for printing rollers based on the roll splicer may include at least one processor 501, at least one network interface 504, a user interface 503, a memory 505, and at least one communication bus 502.

[0126] The communication bus 502 can be used to realize the connection and communication of the above components.

[0127] The user interface 503 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0128] The network interface 504 may include, but is not limited to, Bluetooth modules, NFC modules, Wi-Fi modules, etc.

[0129] The processor 501 may include one or more processing cores. The processor 501 connects to various parts within the automatic printing roller control system 500 based on the roll-to-roll machine using various interfaces and lines. It executes various functions and processes data of the automatic printing roller control system 500 by running or executing instructions, programs, code sets, or instruction sets stored in memory 505, and by calling data stored in memory 505. Optionally, the processor 501 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The processor 501 may integrate one or more of the following: CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 501 and may be implemented as a separate chip.

[0130] The memory 505 may include RAM or ROM. Optionally, the memory 505 may include a non-transitory computer-readable medium. The memory 505 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 505 may also be at least one storage device located remotely from the aforementioned processor 501. Figure 5 As shown, the memory 505, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an automatic control application for the printing rollers based on the roll splicer.

[0131] Specifically, the processor 501 can be used to call the automatic control application for the printing rollers based on the roll splicer stored in the memory 505, and specifically perform the following operations:

[0132] After the winding and splicing machine is in a stopped state, when a user's maintenance request command is received, the control knob is rotated to the first position to change the first control switch from the off state to the on state, and to keep the second control switch in the off state.

[0133] When the relay is connected to the power supply circuit, the normally open contact of the relay connects the solenoid valve to the power supply circuit, so that the solenoid valve is in the conducting state and controls the cylinder to be in the running state, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the conducting state.

[0134] The first distance between the first printing roller and the second printing roller is obtained, and when the first distance is detected to be within a preset distance range, the control cylinder is put into standby mode.

[0135] In some possible embodiments, after the winding machine is in a stopped state, the method further includes:

[0136] When no user maintenance request command is received, the control knob is rotated to the second position to keep the first control switch off and to switch the second control switch from off to on.

[0137] When the coating device is connected to the power supply circuit, the coating device is controlled to coat the cigarette paper with glue and to obtain the surface image of the processed cigarette paper.

[0138] The surface image is converted to grayscale, and the adhesive application area is determined in the processed surface image.

[0139] The system calculates the average value of all gray values ​​in the glued area, and issues a glue application warning to the user when the difference between at least one gray value and the average value exceeds a preset difference threshold.

[0140] In some possible embodiments, it also includes:

[0141] After the cigarette rolling machine is in operation, a second distance is determined based on the thickness of the cigarette paper; wherein the second distance is smaller than the first distance.

[0142] Rotate the control knob to the third position to keep the first control switch off and the second control switch off, and the drive circuit outputs the electrical signal of the winding machine to the relay and power supply circuit to make the relay and power supply circuit conduct.

[0143] When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the control cylinder is in operation, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the open state.

[0144] The third distance between the first printing roller and the second printing roller is obtained, and when the third distance is detected to be consistent with the second distance, the control cylinder is put into standby mode.

[0145] In some possible embodiments, after the control cylinder is put into a standby state when the third distance is detected to be consistent with the second distance, the following steps are also included:

[0146] When cigarette paper is detected between the first printing roller and the second printing roller, the first detection data of the cigarette paper is acquired at a preset time interval.

[0147] When the first detection data at any given moment is inconsistent with the previous detection data at the previous moment, the control winding machine stops outputting electrical signals to the drive circuit, thereby disconnecting the relay from the power supply circuit.

[0148] When the normally open contact of the relay does not connect the solenoid valve to the power supply circuit, the control cylinder is in a stopped state, so that the first printing roller descends to the initial height; wherein, the distance between the initial height and the second printing roller is greater than the first distance.

[0149] In some possible embodiments, when the normally open contact of the relay is not connected between the solenoid valve and the power supply circuit, the control cylinder is in a stopped state, so that after the first printing roller descends to the initial height, the following steps are also included:

[0150] The second detection data of cigarette paper is acquired according to a preset time interval. When the second detection data corresponding to any moment is detected to be within the preset data range, the cigarette making machine is controlled to output an electrical signal to the drive circuit so that the relay and the power supply circuit are connected.

[0151] When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the control cylinder is in operation, so that the cylinder pushes the first printing roller toward the second printing roller while the solenoid valve is in the open state.

[0152] In some possible embodiments, after the control cylinder is put into a standby state when the first distance is detected to be within a preset distance range, the method further includes:

[0153] When a user's reset request command is received, the control knob is rotated to the third position to keep the first control switch off and the second control switch off.

[0154] When the normally open contact of the relay does not connect the solenoid valve to the power supply circuit, the control cylinder is in a stopped state, so that the first printing roller descends to the initial height.

[0155] In some possible embodiments, the ink printing apparatus further includes a diode disposed between the relay and the drive circuit, with the positive terminal of the diode connected to the drive circuit and the negative terminal of the diode connected to the relay.

[0156] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0157] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0158] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0159] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.

[0160] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0161] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

Claims

1. An automatic control method for printing rollers based on a roll-to-roll machine, characterized in that, The method is applied to the ink printing device of a roll-to-roll machine. The ink printing device includes a first printing roller, a second printing roller disposed above the first printing roller, a cylinder for controlling the up-and-down movement of the first printing roller, a solenoid valve disposed on the cylinder, a drive circuit connected to the roll-to-roll machine, a relay, a glue application device, a control knob, a first control switch corresponding to the control knob, and a second control switch. The solenoid valve is connected to the normally open contact of the relay in the power supply circuit. The relay is connected to the first control switch in the power supply circuit. The relay is also connected to the drive circuit. The glue application device is connected to the second control switch in the power supply circuit. The method includes: After the winding machine is in a stopped state, when a user's maintenance request command is received, the control knob is rotated to the first position to change the first control switch from the off state to the on state, and to keep the second control switch in the off state. When the relay is connected to the circuit where the power supply is located, the normally open contact of the relay connects the solenoid valve to the circuit where the power supply is located, so that the solenoid valve is in the conducting state and controls the cylinder to be in the running state, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the conducting state. The first distance between the first printing roller and the second printing roller is obtained, and when the first distance is detected to be within a preset distance range, the cylinder is controlled to be in standby mode. The method further includes, after the winding machine is in a stopped state: When no maintenance request instruction is received from the user, the control knob is rotated to the second position to keep the first control switch in the off state and to change the second control switch from the off state to the on state. When the coating device is connected to the circuit where the power supply is located, the coating device is controlled to coat the cigarette paper with glue and to obtain the surface image of the processed cigarette paper. The surface image is converted to grayscale, and the adhesive application area is determined in the processed surface image; The average value of all gray values ​​contained in the glued area is calculated, and when the difference between at least one gray value and the average value exceeds a preset difference threshold, a glue application warning message is issued to the user.

2. The method according to claim 1, characterized in that, The method further includes: After the cigarette rolling machine is in operation, a second distance is determined based on the thickness of the cigarette paper; wherein the second distance is less than the first distance. Rotate the control knob to the third position to keep the first control switch off and the second control switch off, and the drive circuit outputs the electrical signal of the winding machine to the relay and the power supply circuit to make the relay and the power supply circuit conduct. When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the cylinder is controlled to be in operation, so that the cylinder pushes the first printing roller toward the second printing roller when the solenoid valve is in the open state. The third distance between the first printing roller and the second printing roller is obtained, and when the third distance is detected to be consistent with the second distance, the cylinder is controlled to be in standby state.

3. The method according to claim 2, characterized in that, After controlling the cylinder to enter standby mode when the third distance is detected to be consistent with the second distance, the method further includes: When cigarette paper is detected between the first printing roller and the second printing roller, the first detection data of the cigarette paper is acquired at a preset time interval; When the first detection data at any given moment is inconsistent with the previous detection data at the previous moment, the winding machine is controlled to stop outputting the electrical signal to the drive circuit, thereby disconnecting the relay from the power supply circuit. When the normally open contact of the relay is not connected to the circuit where the solenoid valve and the power supply are located, the cylinder is controlled to be in a stopped state so that the first printing roller descends to the initial height; wherein, the distance between the initial height and the second printing roller is greater than the first distance.

4. The method according to claim 3, characterized in that, When the normally open contact of the relay is not connected to the circuit where the solenoid valve and the power supply are located, the cylinder is controlled to be in a stopped state so that the first printing roller descends to the initial height, and then the following is also included: The second detection data of the cigarette paper is acquired according to the preset time interval, and when the second detection data corresponding to any moment is detected to be in the preset data range, the cigarette making machine is controlled to output the electrical signal to the drive circuit so that the relay and the power supply circuit are connected. When the normally open contact of the relay connects the solenoid valve to the power supply circuit, the cylinder is controlled to be in operation, so that the cylinder pushes the first printing roller toward the second printing roller when the solenoid valve is in the open state.

5. The method according to claim 3, characterized in that, After controlling the cylinder to enter standby mode when the first distance is detected to be within a preset distance range, the method further includes: When a user's reset request command is received, the control knob is rotated to the third position to keep the first control switch off and the second control switch off. When the normally open contact of the relay is not connected to the circuit where the solenoid valve and the power supply are located, the cylinder is controlled to be in a stopped state so that the first printing roller descends to the initial height.

6. The method according to claim 1, characterized in that, The ink printing device further includes a diode disposed between the relay and the driving circuit, wherein the positive terminal of the diode is connected to the driving circuit and the negative terminal of the diode is connected to the relay.

7. An automatic control system for printing rollers based on a roll-to-roll machine, characterized in that, The system is used to perform the steps of the method as described in any one of claims 1-6. The system is applied to the ink printing device of a roll-to-roll machine. The ink printing device includes a first printing roller, a second printing roller disposed above the first printing roller, a cylinder for controlling the up-and-down movement of the first printing roller, a solenoid valve disposed on the cylinder, a drive circuit connected to the roll-to-roll machine, a relay, a glue applicator, a control knob, a first control switch corresponding to the control knob, and a second control switch. The solenoid valve is connected to the normally open contact of the relay in the power supply circuit. The relay is connected to the first control switch in the power supply circuit. The relay is also connected to the drive circuit. The glue applicator is connected to the second control switch in the power supply circuit. The system includes: The first processing module is used to rotate the control knob to the first position after receiving a user's maintenance request command when the winding machine is in a stopped state, so as to change the first control switch from the off state to the on state, and keep the second control switch in the off state. The second processing module is used to connect the solenoid valve to the power supply circuit via the normally open contact of the relay when the relay is connected to the power supply circuit, so that the solenoid valve is in the conducting state, and to control the cylinder to be in the running state, so that the cylinder pushes the first printing roller to the second printing roller when the solenoid valve is in the conducting state. The third processing module is used to obtain a first distance between the first printing roller and the second printing roller, and when the first distance is detected to be within a preset distance range, control the cylinder to be in standby mode.

8. An automatic control system for printing rollers based on a roll-to-roll machine, characterized in that, Including the processor and memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code stored in the memory to perform the steps of the method as described in any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as described in any one of claims 1-6.