Control method of printing system, electronic device, storage medium, and printing system
The main control module controls the printing module to print patterns on the consumables, the sensor module identifies the cutting position, and the blade cutting module cuts the consumables. This solves the problem of low automation caused by the independent operation of DTF printer modules, and achieves efficient printing and high-quality printing.
Patent Information
- Application Number
- CN202411531180.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2044-10-30
AI Technical Summary
Existing DTF printer modules operate independently and lack integration and collaborative working mechanisms, resulting in a low degree of automation and excessive manual intervention, which affects printing quality and production efficiency.
The main control module controls the printing module to print patterns on the consumables, the sensor module obtains the cutting position, and the cutting module cuts the consumables according to the cutting position, realizing the collaborative work between the modules.
It improves printing efficiency, reduces manual intervention, and improves printing quality and production efficiency.
Smart Images

Figure CN119636269B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of printing system control, and in particular to a printing system control method, electronic equipment, storage medium, and printing system. Background Art
[0002] With the growing demand for personalized customization and small-batch production, the printing industry is increasingly eager for efficient, flexible, and high-quality printing solutions. While conventional DTF (Direct to Film) printers have emerged during the period when traditional printing technologies dominated, they have significant shortcomings.
[0003] Conventional DTF printers have relatively simple modules that operate independently, lacking effective integration and collaborative mechanisms. This results in a low level of automation throughout the printing process. In practice, frequent manual intervention and adjustments to the working status of each module are required, increasing the operator's workload and making it prone to human error, which in turn affects print quality and production efficiency. Summary of the Invention
[0004] The main purpose of this application is to provide a control method, electronic device, storage medium and printing system for a printing system, aiming to solve the technical problem of low printing efficiency caused by excessive manual intervention in the prior art.
[0005] To achieve the above-mentioned purpose, the present application provides a control method for a printing system, wherein the printing system includes a main control module, a cutting module, a sensor module, and a printing module. The control method for the printing system includes:
[0006] The main control module controls the printing module to print a pattern on the consumable material according to the printing file;
[0007] Controlling the sensor module to acquire data of the consumable material after the pattern is printed, so as to identify the cutting position of the consumable material;
[0008] The knife cutting module is controlled to cut the consumable material according to the cutting position.
[0009] In one embodiment, before the step of controlling the printing module to print a pattern on the consumable material according to the print file, the control method further includes:
[0010] An image corresponding to the pattern is received, and the print file is generated according to the image.
[0011] In one embodiment, the step of generating the print file according to the image includes:
[0012] performing amplification, color separation processing, and halftoning processing on the image to generate print data;
[0013] Obtaining printing parameters and knife cutting mode corresponding to the image;
[0014] The printing file is generated according to the printing data, the printing parameters and the knife-cutting mode.
[0015] In one embodiment, the printing module includes a print head, an ink module, an inkjet control module, and a motion control module. The step of controlling the printing module to print a pattern on a consumable material according to the print file includes:
[0016] Controlling the ink stack of the ink module to open;
[0017] Controlling inkjet from the print head via the inkjet control module;
[0018] The motion control module controls the print head to reciprocate along a first axial direction, and the motion control module controls the consumable material to move along a second axial direction, so as to print the pattern on the consumable material.
[0019] In one embodiment, the sensor module includes a camera module, and the step of controlling the sensor module to obtain the consumable material data to identify the cutting position of the consumable material includes:
[0020] The camera module is controlled to capture an image of the consumable material to identify a film hole position of the consumable material according to the image of the consumable material; and the cutting position is determined based on the film hole position and position information of the pattern on the consumable material.
[0021] In one embodiment, the sensor module includes a photoelectric sensor, and the step of controlling the sensor module to obtain data of the consumable material after the pattern is printed to identify the cutting position of the consumable material includes:
[0022] Controlling the consumable to move according to a set mode, and controlling the photoelectric sensor to collect reflected light data of the consumable;
[0023] If the film hole change is determined according to the reflected light data, the consumable is controlled to stop displacement and the film hole position is determined;
[0024] The cutting position is determined based on the film hole position and the position information of the pattern on the consumable material.
[0025] In one embodiment, the step of determining the cutting position based on the film hole position and the position information of the pattern on the consumable material includes:
[0026] determining a cutting compensation value according to the film hole position and the position information of the pattern on the consumable material;
[0027] The cutting position is determined based on the cutting compensation value.
[0028] In one embodiment, the step of determining the cutting compensation value based on the film hole position and the position information of the pattern on the consumable material includes:
[0029] determining a first cutting position of the consumable material according to position information of the pattern on the consumable material;
[0030] Determining a first coordinate corresponding to the film hole position and a second coordinate corresponding to the first cutting position;
[0031] If the first coordinate coincides with the second coordinate, the cutting compensation value is determined based on a preset distance between adjacent film holes.
[0032] In one embodiment, controlling the cutting module to cut the consumable material according to the cutting position includes:
[0033] Controlling the consumable material or the cutting module to move along the second axial direction so that the cutting module corresponds to the cutting position;
[0034] The consumable material is cut twice by the knife cutting module.
[0035] In one embodiment, the step of cutting the consumable material twice by the knife cutting module includes:
[0036] Controlling the knife cutting module to move to the initial cutting position and controlling the knife to fall;
[0037] Moving the cutting module at a first speed to perform a first cutting process;
[0038] If the first cutting process is completed, the knife cutting module is moved at a second speed to perform a second cutting process, and the first speed is lower than the second speed.
[0039] In one embodiment, the step of moving the knife cutting module at a second speed to perform a second cutting process includes:
[0040] Reset the cutting module to the initial cutting position and move the cutting module at the second speed; or
[0041] The knife cutting module is moved along a reverse path of the first cutting process at a second speed to perform the second cutting process.
[0042] In one embodiment, after the step of controlling the knife cutting module to cut the consumable material according to the cutting position, the method further includes:
[0043] controlling the sensor module to identify whether the consumable material is cut off;
[0044] If the consumable material is not cut, an abnormal state is entered, or the cutting module is controlled to cut the consumable material again.
[0045] In one embodiment, the printing system further includes a material rack module and an ink stack. Before the step of controlling the printing module to print a pattern on the consumable material according to the print file by the main control module, the following steps are included:
[0046] If the material rack module is installed with consumables, the ink stack is filled with ink, and the print head is filled with ink, cleaning the print head through the ink stack;
[0047] Controlling the printing module to print a test pattern on the consumable material;
[0048] The consumable material is cut by the knife cutting module.
[0049] In one embodiment, the control method of the printing system further includes a calibration step, and the calibration step includes:
[0050] Controlling the printing module to print a test pattern;
[0051] controlling the sensor module to acquire at least one first calibration image of the test chart;
[0052] generating calibration data based on the first calibration image;
[0053] A calibration file is generated according to the calibration data, so as to calibrate the control parameters of the printing module according to the calibration file.
[0054] In one embodiment, before the step of generating a calibration file according to the calibration data and calibrating the control parameters of the printing module according to the calibration file, the following steps are included:
[0055] Based on the calibration data, controlling the printing module to print a calibration test pattern on the consumable material;
[0056] controlling the sensor module to acquire at least one second calibration image of the calibration test chart;
[0057] determining whether the calibration is successful based on the second calibration image;
[0058] If the calibration is successful, a calibration file is generated based on the calibration data.
[0059] In addition, to achieve the above-mentioned purpose, the present application further provides a printing system, characterized in that the printing system includes:
[0060] Knife cutting module, used for cutting consumables;
[0061] Printing module, used for printing pictures on consumables;
[0062] A sensor module, configured to obtain consumable data of the consumable to obtain a cutting position of the consumable;
[0063] The main control module is used to: control the printing module to print the printing pattern on the consumable material according to the printing file; control the sensor module to obtain the consumable material data; and control the knife cutting module to cut the consumable material according to the cutting position.
[0064] In one embodiment, the printing system also includes a host computer, which is communicatively connected to the printing device via at least one of a network port, a USB interface, and WiFi. The host computer is used to: edit the printing pattern; enlarge, color-separate, and halftone the edited printing pattern to generate printing data; obtain the printing parameters and knife-cutting mode corresponding to the printing pattern; generate the printing file based on the printing data, the printing parameters, and the knife-cutting mode, and send it to the printing device.
[0065] In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, which includes: a memory, a processor, and a computer program stored on the memory and runnable on the processor, wherein the computer program is configured to implement the steps of the control method of the printing system as described above.
[0066] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer-readable storage medium, and the computer-readable storage medium stores a program for implementing the control method of the printing system. The program for implementing the control method of the printing system is executed by the processor to implement the steps of the control method of the printing system as described above.
[0067] The present application provides a control method for a printing system, which includes a main control module, a knife cutting module, a sensor module and a printing module. The control method of the printing system includes: controlling the printing module to print a pattern on a consumable material according to a printing file through the main control module; controlling the sensor module to obtain data of the consumable material to identify the cutting position of the consumable material; and controlling the knife cutting module to cut the consumable material according to the cutting position, thereby solving the technical problem of low printing efficiency caused by excessive manual intervention in the prior art, and thereby achieving the technical effect of improving printing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0069] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0070] Figure 1 This is a system schematic diagram of a printing system according to an embodiment of the present application;
[0071] Figure 2 A flowchart illustrating steps S10-S30 in a possible embodiment of the control method of the printing system of the present application;
[0072] Figure 3 A structural diagram of a printing device in a possible embodiment of the control method of the printing system of the present application;
[0073] Figure 4 A flowchart illustrating steps A10-A30 in a possible embodiment of the control method of the printing system of the present application;
[0074] Figure 5 A flowchart illustrating steps A40-A70 in a possible embodiment of the control method of the printing system of the present application;
[0075] Figure 6 A schematic diagram of signaling interaction between modules of a printing system in a control method of the printing system;
[0076] Figure 7 Another schematic diagram of signaling interaction among various modules of a printing system in a control method of the printing system;
[0077] Figure 8 Schematic diagram of another signaling interaction between modules of a printing system in a control method of the printing system;
[0078] Figure 9 Schematic diagram of another signaling interaction between modules of a printing system in a control method of the printing system;
[0079] Figure 10 This is a schematic diagram of the hardware structure of the printing device involved in this application.
[0080] Description of Figure Numbers:
[0081] 2000, printing system; 1000, printing device; 1100, host computer;
[0082] 100. Print head; 200. Print table; 700. Casing; 71a. First opening; 71b. First cover plate; 75. Material outlet; 900. Discharge bracket; 91. Bracket; 11. Main control module; 12. First algorithm module; 13. Second algorithm module; 14. Print module; 141. Print head; 142. Motion control module; 143. Inkjet control module; 144. Ink stack; 145. Ink circulation module; 15. Material rack module; 16. Cutting module; 17. Display module; 18. Sensor module.
[0083] The purpose, features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0084] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.
[0085] In order to better understand the technical solution of this application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0086] Currently, conventional DTF printers feature relatively simple modules that operate independently, lacking effective integration and collaborative mechanisms. This results in a low level of automation throughout the printing process. In practice, frequent manual intervention and adjustments to the working status of each module are required, increasing the operator's workload and making it prone to human error, which in turn impacts print quality and production efficiency.
[0087] The main solution of this application is: the printing system includes a main control module, a knife cutting module, a sensor module and a printing module. The control method of the printing system includes: controlling the printing module to print patterns on the consumable material according to the printing file through the main control module; controlling the sensor module to obtain consumable material data to determine the cutting position of the consumable material; controlling the knife cutting module to cut the consumable material according to the cutting position, thereby achieving the technical effect of improving printing efficiency.
[0088] This application embodiment provides a printing system, please refer to Figure 1 The printing system includes a host computer 1100 and a printing device 1000, which are communicatively connected to the host computer 1100. The host computer 1100 may be installed with printing software, which has an interactive interface. Users can use this interface to create print jobs, invoke calibration functions, set printing parameters, and so on. The host computer 1100 can issue print jobs to the printing device 1000, which can then begin printing after receiving the print jobs. The host computer 1100 can be a computer, a mobile phone, a tablet, or other devices, not listed here.
[0089] Optionally, the host computer 1100 and the printing device 1000 are communicatively connected via at least one of an Ethernet port, a USB interface, and WiFi.
[0090] For example, both the host computer 1100 and the printing device 1000 are equipped with at least one of a corresponding network port module, a USB interface, and a WiFi module. Users can choose the connection method between the host computer 1100 and the printing device 1000 based on their actual needs and usage scenarios. For example, in an office environment, WiFi connection can be used to facilitate mobile work and multi-device sharing; in situations requiring high-speed and stable transmission, USB connection can be selected; and for remote control and cross-network printing, Ethernet connection can be used. The connection process is simple and convenient; users only need to make the corresponding settings on the host computer 1100 and the printing device 1000 to achieve a quick connection. For example, for a WiFi connection, the user searches for available wireless networks on the host computer 1100, selects the network corresponding to the printing device 1000, and enters the password. For a USB connection, simply plugging the USB cable into the USB port on the host computer 1100 and the printing device 1000 will automatically identify them. For an Ethernet connection, the user needs to connect the host computer 1100 and the printing device 1000 to the same network and set the corresponding IP address and port number.
[0091] The driver and control software for the printing device 1000 are installed on the host computer 1100. The driver is responsible for communicating with the printing device 1000 and converting print instructions from the host computer 1100 into a format that the printing device 1000 can understand. The control software provides a user interface to facilitate operations such as print settings, file management, and device monitoring. During the installation process, the user can follow the prompts to make settings, such as selecting a connection method, setting printer parameters, and installing a font library. After installation is complete, the user can use the control software to further configure the printing device 1000, such as adjusting print quality, setting paper size, and selecting a print mode.
[0092] Based on this, in a possible embodiment of the present application, a printing device 1000 is proposed, referring to Figure 3 It should be noted that the printing device 1000 proposed in this application can be a thermal inkjet printer, a piezoelectric inkjet printer, or a white ink heat transfer printer ("Direct to Film DTF" printer), a white ink direct injection printer ("Direct to Garment" DTG printer), etc., as long as it is a device used for jetting ink for printing operations.
[0093] In this embodiment, the printing device 1000 further includes a housing 700, wherein a processing space is formed within the housing 700, and the print head 100 and the printing table 200 are disposed within the processing space. In some embodiments of the present application, the housing 700 is provided with an opening 71a communicating with the processing space and a cover 71b, wherein the cover 71b can open or close the opening 71a. The printing device 1000 further includes a discharge bracket 900, which is disposed on the discharge side of the printing table 200. For example, the discharge bracket 900 can be disposed at the material outlet 75b of the housing 700. The discharge bracket 900 can include at least two support plates 91, which can be extended or stacked. The print head 100 further includes a sensor module 18. By providing the sensor module 18 on the print head 100, the print path of the print head 100 can be captured, thereby capturing the calibration pattern printed by the print head 100 to obtain a calibration image. Simultaneously, the sensor module 18 can be used to determine the location of the film holes on the consumable material. The sensor module 18 may be a camera, a photoelectric sensor, or the like.
[0094] In one possible embodiment, the print head 100 is provided with an adapter plate. The side of the adapter plate connected to the print head 100 is provided with four cable sockets for connecting the print head 100 via four cables. The side of the adapter plate connected to the printing device 1000 is provided with a cable socket for connecting the printing device 1000 via a single data cable. This adapter plate is mounted on the housing of the print head 100. When installing the print head 100, the print head 100 can be attached to the printing device 1000 by simply installing a single cable, improving installation efficiency.
[0095] Optionally, the printing device 1000 is further provided with a display module 17 to enable interaction with the user, including but not limited to providing data during the printing process, providing printing options, displaying printing effects, and previewing printing effects.
[0096] Optionally, the printing device 1000 includes a main control module 11, a cutting module 16, a material rack module 15, a calibration module, a sensor module 18 and a printing module 14, the printing module includes a print head 141, an ink module, an inkjet control module 143 and a motion control module 142, and the ink module includes an ink stack 144 and an ink circulation module 145.
[0097] A calibration module, used for calibrating the printing system;
[0098] A knife cutting module 16, for cutting consumables;
[0099] A printing module 14, used for printing patterns on consumables;
[0100] The sensor module 18 is used to obtain the consumable material data of the consumable material to obtain the cutting position of the consumable material;
[0101] The main control module 11 is used to: control the printing module 14 to print a pattern on the consumable material according to the printing file; control the sensor module 18 to obtain the consumable material data; and control the cutting module 16 to cut the consumable material according to the cutting position.
[0102] Optionally, the host computer 1100 is configured to: receive an image to be printed, edit the image based on an editing instruction; amplify, perform color separation, and halftone processing on the edited print pattern to generate print data; obtain printing parameters and a knife-cutting mode corresponding to the print pattern; generate a print file based on the print data, print parameters, and knife-cutting mode, and send the file to the printing device 1000. Specifically, the host computer 1100 may include a second algorithm module 13, which is configured to: amplify, perform color separation, and halftone processing on the edited print pattern to generate print data; obtain printing parameters and a knife-cutting mode corresponding to the print pattern; generate a print file based on the print data, print parameters, and knife-cutting mode, and send the file to the printing device 1000.
[0103] Optionally, the main control module 11 is further configured to receive an image corresponding to a pattern to be printed, and generate a print file according to the image.
[0104] Optionally, the main control module 11 is further configured to: amplify, color-separate, and halftone the image to generate print data; obtain printing parameters and a knife-cutting mode corresponding to the image; and generate a print file based on the print data, print parameters, and knife-cutting mode. Optionally, the printing device 1000 further includes a first algorithm module 12. The first algorithm module 12 is configured to: amplify, color-separate, and halftone the image to generate print data; obtain printing parameters and a knife-cutting mode corresponding to the image; and generate a print file based on the print data, print parameters, and knife-cutting mode. The main control module 11 can implement instructions for processing the image and generating a print file by calling the first algorithm module 12.
[0105] Optionally, the printing module 14 includes a print head 141, an ink module, an inkjet control module 143 and a motion control module 142. The main control module 11 is also used to control the opening of the ink stack 144 of the ink module; control the inkjet control module 143 to control the print head 141 to spray ink; control the print head 141 to reciprocate along the first axis through the motion control module 142, and control the consumables to move along the second axis through the motion control module 142 to print patterns on the consumables.
[0106] Optionally, the sensor module 18 includes a camera module, and the main control module 11 can control the camera module to capture the image of the consumable to identify the film hole position of the consumable according to the image of the consumable, and determine the cutting position based on the film hole position and the position information of the printed pattern on the consumable.
[0107] Optionally, the main control module 11 is further configured to: determine a cutting compensation value based on the film hole position and the position information of the printed pattern on the consumable material; and determine the cutting position based on the cutting compensation value. Optionally, the second algorithm module 13 of the host computer 1100 is further configured to: determine a cutting compensation value based on the film hole position and the position information of the printed pattern on the consumable material; and determine the cutting position based on the cutting compensation value.
[0108] Optionally, the main control module 11 is further configured to: determine a first cutting position of the consumable material based on the position information of the printed pattern on the consumable material; determine a first coordinate corresponding to the film hole position and a second coordinate corresponding to the first cutting position; and if the first coordinate and the second coordinate coincide, determine a cutting compensation value based on a preset adjacent film hole spacing. Optionally, the second algorithm module 13 of the host computer 1100 is further configured to: determine a first cutting position of the consumable material based on the position information of the printed pattern on the consumable material; determine a first coordinate corresponding to the film hole position and a second coordinate corresponding to the first cutting position; and if the first coordinate and the second coordinate coincide, determine a cutting compensation value based on a preset adjacent film hole spacing.
[0109] Optionally, the sensor module 18 is a photoelectric sensor, and the main control module 11 is also used to: control the consumable to move according to the set mode, and control the photoelectric sensor to collect the reflected light data of the consumable; if the film hole change is determined based on the reflected light data, control the consumable to stop moving and determine the film hole position; determine the cutting position based on the film hole position and the position information of the pattern on the consumable.
[0110] Optionally, the main control module 11 is further configured to control the movement of the consumables through the motion control module 142 so that the knife cutting module 16 corresponds to the cutting position; and the consumables are cut twice by the knife cutting module 16 .
[0111] Optionally, the main control module 11 is also used to control the knife cutting module 16 to move to the initial cutting position and control the knife falling; move the knife cutting module 16 at a first speed to perform the first cutting process; if the first cutting process is completed, move the knife cutting module 16 at a second speed to perform the second cutting process, and the first speed is less than the second speed.
[0112] Optionally, the main control module 11 is further configured to reset the cutting module 16 to the initial cutting position and move the cutting module 16 at a second speed; or, move the cutting module 16 along the opposite path of the first cutting process at the second speed to perform a second cutting process.
[0113] Optionally, the main control module 11 is further configured to: control the sensor module 18 to identify whether the consumables are cut; if the consumables are not cut, enter an abnormal state, or control the cutting module 16 to cut the consumables again.
[0114] Optionally, the printing system also includes a rack module 15 and an ink stack 144. The rack module 15 holds consumables, and the ink stack 144 is used to maintain the print head 141. Optionally, if consumables are installed in the rack module 15, ink is in the ink stack 144, and the print head 141 is inked, the main control module 11 performs a print head 141 cleaning process using the ink stack 144. The main control module 11 controls the printing module 14 to print a test pattern on the consumables and cuts the consumables using the cutter module 16.
[0115] Optionally, the main control module 11 is configured to control the printing module 14 to print a test chart; control the sensor module 18 to capture at least one first calibration image of the test chart; generate calibration data based on the first calibration image; and generate a calibration file based on the calibration data, thereby calibrating the control parameters of the printing module 14 according to the calibration file. Optionally, the second algorithm module 13 of the host computer 1100 is further configured to generate calibration data based on the first calibration image; generate a calibration file based on the calibration data, thereby calibrating the control parameters of the printing module 14 according to the calibration file.
[0116] Optionally, the main control module 11 is configured to control the printing module 14 to print a calibration test pattern on the consumable material based on the calibration data; control the sensor module 18 to capture at least one second calibration image of the calibration test pattern; determine whether the calibration is successful based on the second calibration image; and if the calibration is successful, generate a calibration file based on the calibration data. Optionally, the second algorithm module 13 of the host computer 1100 is further configured to determine whether the calibration is successful based on the second calibration image; and if the calibration is successful, generate a calibration file based on the calibration data.
[0117] The printing system provided in the embodiments of this application utilizes the control method for the printing system described in the following embodiments, which can resolve the technical problem of low printing efficiency caused by excessive manual intervention in the prior art. Compared with the prior art, the beneficial effects of the printing system provided in the embodiments of this application are the same as those of the control method for the printing system provided in the following embodiments. Other technical features of the printing system are the same as those disclosed in the following embodiments and are not further described here.
[0118] The specific implementation of each of the above modules is the same as the corresponding implementation of the control method described in the embodiments below, and will not be repeated here.
[0119] It should be noted that the execution entity of this embodiment may be a printing system, a computing service device with data processing, network communication, and program execution capabilities, such as a tablet computer, personal computer, or mobile phone, or a printing device capable of performing the aforementioned functions, and this embodiment does not specifically limit this. The following describes this embodiment and the following embodiments using a printing system as the execution entity.
[0120] Based on this, in one possible embodiment of the present application, a control method for a printing system is proposed, please refer to Figure 2 The control method of the printing system includes steps S10 to S30:
[0121] Step S10: The main control module controls the printing module to print a pattern on a consumable material according to the printing file.
[0122] In this embodiment, the printing system includes a main control module, a cutting module, a sensor module and a printing module, and the printing module includes a print head. The relevant contents of each module can refer to the embodiment of the aforementioned printing system. The main control module serves as the control core of the entire printing system, and is responsible for receiving and processing various instructions and data, and coordinating the work of each module. The pattern is the image that the user wants to print, corresponding to the presentation form on the consumables. The print file can be generated by the host computer or the main control module according to the pattern in a file format that can be recognized and the printing operation can be performed by the printing module. The printing module is used for printing, and it includes a print head and related drive mechanisms, etc. Consumables refer to materials used for printing, such as specific paper, PET film, etc. The print head forms a pattern on the consumable by discharging ink. The membrane hole position refers to the specific position of the membrane hole on the consumable.
[0123] As an optional implementation, the main control module sends the received or generated print file to the printing module. The drive mechanism in the printing module controls the movement of the print head over the consumable material and ejects ink at the appropriate time according to the instructions in the print file, gradually forming the final pattern on the consumable material. For example, if printing on PET film, the print head precisely controls the size and placement of ink droplets to ensure pattern clarity and color accuracy.
[0124] Step S20 , controlling the sensor module to obtain data of the consumable material after the pattern is printed, so as to identify the cutting position of the consumable material.
[0125] In this embodiment, the consumable material data may include the size and position of the consumable material, the area and position of the pattern on the consumable material, etc. The consumable material data can be used to further determine the position of the film hole on the consumable material, and then determine the cutting position based on the film hole position.
[0126] As an optional embodiment, the sensor module is a camera module. After printing is completed, the main control module issues a command to the sensor module to photograph the consumable material. The sensor module can capture and obtain an image of the consumable material. For example, a high-resolution camera can be used, and appropriate shooting angles and lighting conditions can be adjusted to ensure that the captured image of the consumable material is clear and recognizable. The main control module can be configured to invoke the first algorithm module to process and analyze the consumable material image captured by the sensor module, thereby identifying the location of the membrane holes.
[0127] For example, the membrane hole can be identified based on the consumables image, and then the image recognition algorithm can be used to accurately determine the center position of the membrane hole, and the midpoint between the two membrane holes can be calculated to obtain the position between the two membrane holes, that is, the cutting position.
[0128] As another optional implementation, the sensor module may also be a module such as a photoelectric sensor, which can directly detect the position of the film hole and then determine the cutting position based on the detected film hole position.
[0129] Step S30: Controlling the cutting module to cut the consumable material according to the cutting position.
[0130] In this embodiment, the cutting module can be provided on the print head or separately from the print head.
[0131] As an optional embodiment, after the cutting position is determined, the knife cutting module is controlled to cut between two film holes according to a preset cutting rule. The knife cutting module's tool is controlled to move to this position for cutting, ensuring the accuracy and precision of the cutting. For another example, based on the identified film holes, the area between adjacent film holes can be determined, and these areas can be used as cutting locations.
[0132] For example, a user uses this printing system to print a batch of product labels on PET film. First, the user edits an image containing information such as the product name and barcode on the host computer and sets printing parameters such as print resolution and color mode. The user also sets a knife-cutting mode, such as full-cut or half-cut. Based on this information, the host computer performs image processing and format conversion to generate a print file. For example, the image's colors are adjusted to a color mode suitable for printing on PET film, and the resolution is adjusted to the optimal resolution supported by the print head. The print file is then sent to the main control module. The main control module then controls the printing module to print on the PET film. Following the instructions in the print file, the print head precisely sprays ink onto the PET film, gradually forming a clear product label pattern. After printing is complete, the main control module controls the sensor module to capture an image of the PET film. Under appropriate angles and lighting conditions, the sensor module captures a clear image of the film holes and transmits it back to the main control module. The main control module analyzes the image and identifies the location of the film holes. Then, according to pre-set cutting rules, the knife-cutting module cuts the film between the two holes. For example, if the distance between the film holes is 10 cm, the main control module will calculate that the position between the two film holes is 5 cm away from one of the film holes, and control the knife cutting module to move to this position for cutting, ensuring that each product label can be accurately cut from the PET film.
[0133] Through the above implementation methods and examples, the printing system can efficiently and accurately print images on consumables and perform precise cutting according to the film hole positions to meet various printing and cutting needs.
[0134] By adopting the method of controlling the printing module to print patterns on the consumable material according to the printing file through the main control module; controlling the sensor module to obtain the consumable material data to determine the cutting position of the consumable material; and controlling the knife cutting module to cut the consumable material according to the cutting position, the technical problem of low printing efficiency caused by excessive manual intervention in the existing technology is solved, thereby achieving the technical effect of improving printing efficiency.
[0135] Based on any embodiment, in a possible embodiment of the present application, before step S10, the following steps are included:
[0136] Step A1: receiving an image corresponding to a pattern and generating a print file according to the image.
[0137] As an optional implementation, after receiving an image from the host computer, the main control module uses its internal image processing algorithms and format conversion program to convert the image into a print file suitable for use by the printing module. For example, the image's color mode may be adjusted or its resolution may be optimized to ensure the quality and accuracy of the print result.
[0138] As another optional embodiment, the printing system also includes a host computer. Specifically, the main control module, the cutting module, the sensor module, and the printing module constitute a printer. The printing system comprises the host computer and the printer. The host computer has an interactive interface, where a user inputs and edits an image to be printed. Based on trigger information from the interactive interface, the host computer determines the user's selected printing parameters and cutting mode, generates a print file based on the image, printing parameters, and cutting mode, and sends the print file to the main control module.
[0139] Generate print files based on images. The printing device or host computer can flexibly process the images required by the user and generate print files that meet the requirements, thereby improving the flexibility of the system.
[0140] Based on any embodiment, in a possible embodiment of the present application, step A1 includes:
[0141] In step A11, the image is enlarged, color-separated, and halftoned to generate print data.
[0142] In this embodiment, the main control module can call the first algorithm module to process the image. The first algorithm module can include two modules: a RIP algorithm submodule and a print control algorithm submodule, which are used to process the image and generate a print file. The size of the pattern is enlarged to obtain clearer details and better printing effects in subsequent processing. Color separation processing includes the process of decomposing a color image into different color channels, such as cyan, magenta, yellow, black, etc., so that the print head can eject different colors of ink to synthesize the final color image. Halftoning processing includes converting a continuous tone image into an image composed of dots by simulating different grayscale or color levels to adapt to the resolution and ink characteristics of the printing device. The print data includes the data obtained after color separation and halftoning processing and can be used by the printing module, including the color information and position information of each pixel.
[0143] As an optional implementation, upon receiving an image, the main control module immediately invokes the first algorithm module. The algorithm module first enlarges the image, perhaps using interpolation algorithms or other methods to increase its size without sacrificing quality. For example, if the original image size is 1000 × 800 pixels, it can be enlarged to 2000 × 1600 pixels. This allows for better visualization of image details during subsequent color separation and halftoning. The enlarged image is then color-separated, breaking it down into different color channels. For example, a color image can be decomposed into four color channels: Cyan, Magenta, Yellow, and Black. Each color channel is then halftoned, converting the continuous-tone image into a dot-based image based on the resolution of the printing device and the ink characteristics. Halftoning simulates different grayscale or color gradations, making the printed image more realistic. The resulting print data contains the color and position information of each pixel, which is used to control the printing module.
[0144] Optionally, the first algorithm module further includes a multi-pass printing algorithm submodule and a feathering algorithm submodule, so that the multi-pass printing algorithm submodule, the feathering algorithm submodule and the RIP algorithm submodule jointly process the image input by the user or acquired by the printing device to generate print data.
[0145] The printing device retrieves images via a connection to a host computer or from internal storage. It ensures that the image format and resolution are within the processing range of the printing device. It converts the input image's color space to the color space used by the printing device. This step ensures accurate reproduction of the image's colors on the print media. The image resolution is adjusted based on the printing device's capabilities and user settings. A high image resolution may result in extended processing time and excessively large print files; a low resolution may compromise print quality. The image is segmented into smaller blocks suitable for the printing device's processing, facilitating subsequent multi-pass printing and feathering. The number of multi-pass printing passes is then determined based on the image's complexity and print quality requirements. Generally speaking, a higher number of passes results in higher image quality, but also increases printing time. The printing path is planned for each print pass, ensuring even overlap between passes to enhance image smoothness and color saturation. The ink output is adjusted based on the printing position and image color information for each pass to avoid ink accumulation or ink shortage. Furthermore, the image's edges are detected to determine areas requiring feathering. The feathering intensity is calculated based on edge characteristics and user settings. Higher feathering strengths produce smoother edge transitions, but may result in loss of image detail. Feathering is applied to edge areas, gradually reducing the amount of ink or adjusting the color to achieve a smoother edge transition. Image data processed by the RIP algorithm, multi-pass printing algorithm, and feathering algorithm are combined to generate the final print data.
[0146] Step A12: Obtain printing parameters and knife-cutting mode corresponding to the image.
[0147] In this embodiment, the printing parameters may include parameters input by the user through the host computer for controlling the printing process, such as print resolution, color mode, print speed, etc. The knife cutting mode may include a mode selected by the user through the host computer for controlling the knife cutting module to cut the consumable material, such as full cut, half cut, dotted line cut, etc.
[0148] As an optional implementation, the main control module receives the image from the host computer and also obtains the user-entered print parameters and cutter mode. For example, these parameters may include a print resolution of 300 dpi, a color mode of color, and a medium print speed. The cutter mode can be set to full cut, completely severing the consumables. These parameters and modes are used to generate the print file and control the operation of the cutter module.
[0149] Step A13: Generate a print file according to the print data, print parameters and knife-cutting mode.
[0150] In this embodiment, the main control module or the host computer generates a file format that can be recognized by the printing module and execute the printing operation based on the printing data, printing parameters and knife cutting mode.
[0151] As an optional implementation, the main control module integrates print data, print parameters, and the cutting mode to generate a print file. This print file contains information such as the print head's movement path on the consumable material, the timing and intensity of ink jetting, color information, and the cutting position and method of the cutting module. For example, the print file can be a specific image format or a set of instruction sequences. Based on this information, the print module can accurately print the pattern on the consumable material and control the cutting module to cut when necessary.
[0152] For example, a user needs to print a batch of promotional posters. Using the host computer, the user edits a high-resolution color image and sets the printing parameters to 300 dpi, color mode, medium speed, and full cut for the knife-cut mode. After receiving the image, the main control module invokes the first algorithm module to enlarge the image. The first algorithm module can use an algorithm such as bilinear interpolation to double the image size, enhancing detail. Next, the first algorithm module performs color separation on the enlarged image, decomposing it into four color channels: C, M, Y, and K. Each color channel is then halftoned, converting the continuous-tone image into a dot-based image based on the resolution of the printing device and the ink characteristics. After color separation and halftoning, print data is generated, including the color and position information of each pixel. The main control module receives the user-entered printing parameters and knife-cut mode and integrates this information with the print data. Based on the print data, printing parameters, and knife-cut mode, a print file is generated. The print file contains information such as the print head's movement path across the consumables, the timing and intensity of ink jetting, color information, and the cutting position and method for the knife cutter module. Finally, the main control module sends the print file to the printing and knife cutter modules. Based on the information in the print file, the print module controls the print head to precisely spray ink onto the consumables, gradually forming a clear poster pattern. After printing is complete, the knife cutter module performs a full cut between the two film holes according to the cutting information in the print file, accurately separating the poster from the consumables.
[0153] Through the above implementation methods and examples, this printing system can efficiently and accurately process patterns and generate print files based on the printing parameters and knife cutting mode input by the user, achieving high-quality printing and cutting effects. At the same time, due to the use of a completely self-developed first algorithm module, only one software is needed to complete the functions of the RIP algorithm and the print control algorithm, which is more convenient and efficient than existing technologies. Moreover, the algorithm supports running on the device side, and users can directly upload pictures to the device side for printing, and transmission can be achieved using a low-speed interface, reducing cost and complexity.
[0154] In some implementations, the above step A1 and each sub-step of step A1 (such as A11, A12 and A13, etc.) can be implemented by a host computer, for example, by a second algorithm module in the host computer, and the specific implementation method is basically the same as the above embodiment.
[0155] Based on any embodiment, in a possible embodiment of the present application, step S10 includes:
[0156] Step S11, controlling the ink stack of the ink module to open.
[0157] In this embodiment, the printing module includes a printhead, an ink module, an inkjet control module, and a motion control module. The ink module provides ink to the printhead and includes an ink stack and an ink circulation module. The ink stack is used to maintain the printhead, for example, sealing the printhead when not in use to prevent ink from drying out and clogging the nozzles, and cleaning the printhead. When opened, the ink stack provides a channel for ink supply to the printhead. The ink circulation module is responsible for ink extraction, automatic ink filling of the ink sac, and circulation and stirring of white ink, ensuring a stable ink supply and uniform quality.
[0158] Upon receiving a print command, the main control module first controls the ink stack in the ink module to open. This is achieved by sending a specific electrical signal to the control mechanism of the ink stack. Once the ink stack is open, ink can flow smoothly from the ink circulation module to the print head, preparing for printing. For example, a solenoid valve can be used to control the opening and closing of the ink stack. When printing is required, the main control module controls the solenoid valve to open, connecting the ink stack to the ink circulation module.
[0159] Step S12: controlling the print head to eject ink via the inkjet control module.
[0160] In step S13 , the motion control module controls the print head to reciprocate along the first axis, and the motion control module controls the consumable to move along the second axis, so as to print a pattern on the consumable.
[0161] In this embodiment, the print head is a component that forms a pattern on the consumable material by discharging ink. Inkjet control module: responsible for controlling the inkjet operation of the print head, controlling the timing and amount of ink ejection. The motion control module is used to drive the print head and consumable material to move in a specific direction to ensure that the print head can eject ink in the correct position to form a complete pattern. First axial direction: usually a direction parallel to the movement direction of the print head, which can be horizontal or vertical, depending on the design of the printing system. Second axial direction: a direction perpendicular to the first axial direction, usually the conveying direction of the consumable material.
[0162] The motion control module receives instructions from the main control module and drives the print head to reciprocate along the first axis. During this motion, the inkjet control module controls the print head to eject ink at the appropriate time based on the data in the print file. Simultaneously, under the control of the main control module, the motion control module controls the movement of the consumable material along the second axis at a specific speed and direction. In this way, the coordinated movement of the print head and consumable material enables the ink to be accurately sprayed at the corresponding position on the consumable material, gradually forming a pattern. For example, the print head can reciprocate horizontally while the consumable material moves slowly vertically. Based on the pixel information in the print file, the inkjet control module controls the print head to eject ink of different colors and intensities at the position corresponding to each pixel. The motion control module uses motors and transmission mechanisms to control the movement speed and positional accuracy of the consumable material and print head, ensuring accurate and clear printing. The printing process continues until the entire pattern is printed on the consumable material.
[0163] For example, a user uses this printing system to print a landscape photo on paper. First, after receiving a print command, the main control module controls the ink module to open the ink stack. The solenoid valve in the ink stack opens, connecting the ink circulation module to the print head, ensuring a smooth supply of ink to the print head. Next, the motion control module begins operation, driving the print head in horizontal reciprocating motion. Simultaneously, based on the data in the print file, the inkjet control module controls the print head to eject ink at appropriate times. For example, when the print head passes over the blue sky in the landscape photo, the inkjet control module controls the print head to eject blue ink; when it passes over the green grass, it ejects green ink, and so on. Simultaneously, under the control of the main control module, the motion control module slowly moves the paper vertically. The motor in the motion control module drives the film material at a steady speed through a mechanism such as a belt or gears. This coordinated movement of the print head and film material ensures that the ink is accurately ejected at the corresponding location on the paper, gradually forming the pattern of the landscape photo. The printing process continues, with the print head continuously reciprocating horizontally while the motion control module continuously advances the film material. The printing process ends when the entire landscape photo is printed on the film.
[0164] Through the above implementations and examples, the printing system effectively controls the various components of the ink module and print module, achieving high-quality printing results. The opening of the ink stack ensures a stable ink supply, and the coordinated operation of the inkjet control module and motion control module enables the printhead to accurately spray ink onto the consumable material, forming clear, realistic images.
[0165] Based on any embodiment, in a possible embodiment of the present application, step S20 includes:
[0166] Step S21 , controlling the camera module to capture an image of the consumable, identifying the film hole position of the consumable according to the image of the consumable, and determining the cutting position based on the film hole position and the position information of the pattern on the consumable.
[0167] In this embodiment, the first algorithm module is a software module containing a specific image recognition algorithm that can be used to process image data to determine information such as the location of the film holes. The position information of the pattern is the coordinate position of the pattern on the consumable material, including but not limited to the set of coordinate points of the pattern boundary.
[0168] First, when consumables need to be cut, the first algorithm module can be called to process the consumables image captured by the sensor module. The first algorithm module can use image recognition technology, such as edge detection algorithm and pattern matching algorithm, to accurately identify the location of the film hole in the image.
[0169] For edge detection algorithms, you can first grayscale the consumables image to reduce computational complexity. Then, use edge detection operators such as the Sobel operator and the Canny operator to detect edges in the image. Since membrane holes typically have distinct edge features, edge detection can provide a preliminary estimate of their approximate location.
[0170] Next, a pattern matching algorithm is used to further accurately determine the position of the membrane hole. A standard template for the membrane hole can be established in advance, and then template matching can be performed in the consumables image. By calculating the similarity between the template and different areas in the image, the area that best matches the template is found, that is, the exact position of the membrane hole. Among them, the edge detection algorithm can determine the edge of the object by detecting changes in pixel values in the image. In this scenario, it is used to preliminarily determine the approximate outline of the membrane hole. Pattern matching algorithm: By comparing a pre-established standard template with different areas in the image, the most similar area is found to determine the position of a specific object. Here, it is used to accurately determine the position of the membrane hole. After determining the position of the membrane hole, the cutting position is determined based on the position information corresponding to the membrane hole position and the pattern, so that the cutting position does not fall at the membrane hole position.
[0171] Alternatively, in other embodiments, the cutting position may be a film hole position, so as to cut the film hole. Therefore, after determining the film hole position, the cutting position is determined based on the position information corresponding to the film hole position and the pattern, so that the cutting position falls at the film hole position.
[0172] Optionally, step S20 also includes: controlling the consumable to move according to a set mode, and controlling the photoelectric sensor to collect the reflected light data of the consumable; if the film hole change is determined based on the reflected light data, controlling the consumable to stop moving and determining the film hole position; and determining the cutting position based on the film hole position and the position information of the pattern on the consumable.
[0173] In this embodiment, the set mode includes a preset displacement direction and displacement speed. Reflected light data is the data generated by the photoelectric sensor sending a light signal to the consumable and then receiving the data reflected from the consumable. Membrane hole variation refers to the fact that the reflected light data varies depending on the location of the light signal. The presence of a membrane hole at the current location is determined based on the reflected light data.
[0174] As an optional embodiment, the filament's displacement is controlled by activating the filament conveyor system in a preset direction and speed, causing the PET film to begin moving. A motor or other drive device controls the filament's displacement, ensuring smooth and uniform movement. During filament movement, a photoelectric sensor continuously transmits light signals to the filament and receives reflected light data. The sensor collects data at a constant frequency to ensure timely detection of changes in film pores. The collected reflected light data is processed and analyzed in real time. Digital signal processing techniques, such as filtering, amplification, and comparison, are used to extract useful information. For example, characteristics such as the intensity and wavelength of the reflected light are calculated to determine whether a film pore exists at the current location. Based on changes in the reflected light data, a determination is made as to whether a film pore has been detected. Significant changes in the reflected light data indicate that the light signal has struck a different location, possibly encountering a film pore. A threshold is set; when the change in the reflected light data exceeds this threshold, a film pore change is detected. Once a pore change is detected, the filament conveyor system is immediately stopped to ensure accurate determination of the pore location. The filament's movement is stopped using a trigger signal from the sensor or a command from the control system. The specific position of the membrane hole can be determined by further analyzing the reflected light data; or the position of the membrane hole can be determined based on the displacement distance of the consumables, that is, the coordinates of the membrane hole can be calculated by combining the position information of the sensor and the movement distance of the consumables.
[0175] Optionally, the step of determining the cutting position based on the film hole position and the position information of the pattern on the consumable material includes: step S211, determining a cutting compensation value based on the film hole position and the position information of the pattern on the consumable material; step S212, determining the cutting position based on the cutting compensation value.
[0176] In this embodiment, the cutting compensation value can be a value calculated based on factors such as the tool size of the cutting module, the cutting accuracy requirements, and the material and thickness of the consumables, and is used to adjust the position of the consumables to ensure that the cutting is in the middle of the two film holes. The cutting compensation value can also be a compensation value determined based on the position information of the pattern on the consumables. For example, the print head prints from left to right on the consumables, but the blank spacing on the left is too large, so the consumables need to be moved to the left to reduce the movement distance of the print head during cutting. The cutting compensation value can also be a predetermined compensation distance. For example, according to the set spacing of the host computer, or the default spacing, the determined cutting position is the edge of the pattern plus the spacing. If the cutting position happens to cut the film hole, a cutting compensation value needs to be determined so that the knife edge does not pass through the film hole.
[0177] As an optional implementation, after determining the film hole position, the system needs to determine a cutting compensation value based on the film hole position. The calculation of this compensation value can take into account various factors, such as the tool size of the cutting module, the cutting accuracy requirements, and the material and thickness of the consumables. For example, the compensation value can be calculated based on the width of the tool and the ideal cutting position between the film holes. If the tool is wide, it may be necessary to offset the film hole position by a certain distance to ensure that the cut is between the two film holes or at the film hole.
[0178] As another optional embodiment, after determining the position of the film hole, the position information of the pattern on the consumable is determined, and a judgment is made based on the position information of the pattern to determine whether the current first cutting position will cut the film hole. If so, the cutting compensation value is determined, and then the first cutting position is compensated according to the cutting compensation value to determine the cutting position.
[0179] For example, it is determined that the first cutting position is a straight line with a coordinate x=30 mm, and the cutting compensation value is determined to be 2 mm, so the cutting position is a straight line with a coordinate x=32 mm.
[0180] Optionally, the step of determining the cutting compensation value according to the position information of the film hole and the pattern on the consumable material includes:
[0181] Step S2111: determining a first cutting position of the consumable material according to the position information of the pattern on the consumable material.
[0182] In this embodiment, the first cutting position is an uncompensated cutting position, that is, a cutting position determined according to the knife cutting mode sent by the host computer.
[0183] As an optional implementation, the knife cutting mode is cutting along the edge of the pattern. In this case, the first cutting position is determined by the position information of the pattern, that is, the coordinates of the edge point of the pattern.
[0184] As another optional implementation, the knife cutting mode is to cut five centimeters along the edge of the pattern. At this time, according to the coordinates of the edge point of the pattern, the coordinate offset five centimeters to the outside is the first cutting position.
[0185] Step S2112, determining the first coordinate corresponding to the film hole position and the second coordinate corresponding to the cutting position in the print file.
[0186] Step S2113: If the first coordinate coincides with the second coordinate, a cutting compensation value is determined based on a preset distance between adjacent film holes.
[0187] In this embodiment, the first coordinate is the coordinate representation of the membrane hole position determined by identifying the consumable image in the system, which is used to accurately describe the position of the membrane hole in space. The second coordinate: the coordinate corresponding to the cutting position obtained from the print file, which is the representation of the cutting position preset by the system in space. Cutting compensation value: when the knife edge coincides with the membrane hole, the value determined to adjust the cutting position. This value can be used to control the motion control module to move the consumable so that the knife cutting module cuts at the correct position. Spacing between adjacent membrane holes: the distance between two adjacent membrane holes on the consumable is one of the important bases for determining the cutting compensation value. This spacing value can be determined by actual measurement or based on the specification parameters of the consumable.
[0188] As an optional implementation, the first algorithm module is invoked to identify and process the consumables image to accurately determine the location of the membrane holes in the system. The location of each membrane hole is represented by coordinates, obtaining the first coordinate. For example, in a two-dimensional coordinate system, the location of the membrane hole can be represented by (x1, y1). Simultaneously, the coordinates corresponding to the pre-set cutting position are obtained from the print file, i.e., the second coordinate. For example, the cutting position coordinates specified in the print file are (x2, y2). The first coordinate is compared with the second coordinate to determine whether they coincide. If the values of the two coordinates are exactly the same, the first and second coordinates are considered to coincide. For example, when x1 = x2 and y1 = y2, the coordinates are considered to coincide. If the first and second coordinates coincide, it indicates that the cutting edge and the membrane hole overlap, requiring adjustment. The cutting compensation value is determined based on the preset spacing between adjacent membrane holes. First, the distance between adjacent membrane holes is determined. This spacing value can be obtained through measurement or based on the consumables' specifications. For example, assume that the spacing between adjacent membrane holes is d. Then, the cutting compensation value is calculated based on the actual situation. The size and direction of the compensation value can be determined based on the cutting direction and the arrangement of the membrane holes. For example, if the cutting direction is horizontal and the membrane holes are arranged in a horizontal direction, when the knife edge and the membrane hole coincide, the cutting compensation value can be set to shift half the distance between adjacent membrane holes to the side, that is, the compensation value is d / 2. The direction of movement can be left or right, depending on the system's preset rules.
[0189] If the first coordinate and the second coordinate do not coincide, that is, the first cutting position will not pass through the film hole, the cutting compensation value is determined to be the product of the distance between adjacent film holes and a preset multiple, where the preset multiple is an integer, such as 0, 1, 2, 3, etc. This prevents the knife cutting module from cutting into the film hole when cutting the consumable material, thereby affecting the cutting effect.
[0190] In other embodiments, if the cutting position is required to be at the film hole, if the first coordinate coincides with the second coordinate, the cutting compensation value is 0; if the first coordinate does not coincide with the second coordinate, the cutting compensation value is the spacing value of adjacent holes.
[0191] In some embodiments, the aforementioned step S20 and its corresponding sub-steps can be implemented by the second algorithm module in the host computer, and the specific implementation scheme is consistent with the aforementioned embodiment. In this way, the image processing and other algorithms are all implemented in the host computer, and the requirements for the printing device processor are relatively low.
[0192] Optionally, step S30 includes:
[0193] Step S31 , controlling the consumables or the cutting module to move along the second axial direction so that the cutting module corresponds to the cutting position.
[0194] After determining the cutting compensation value, the system controls the motion control module to move the consumables. The motion control module uses a motor drive and transmission mechanism to achieve precise movement control. Based on the magnitude and direction of the compensation value, the motion control module moves the consumables to the appropriate position, allowing the knife cutting module to cut in the correct position.
[0195] Step S32: cutting the consumable material twice by the knife cutting module.
[0196] In this embodiment, in order to ensure the quality and accuracy of cutting, the system performs two cutting processes through the knife cutting module. The first cut can use lighter pressure and speed, the main purpose of which is to make a shallow cutting mark on the consumable material to provide guidance for the second cut. During the first cutting process, the system can monitor the depth and position of the cutting in real time to ensure that the cutting is on the correct trajectory. The second cut uses greater pressure and speed to completely cut the consumable material. Before the second cut, the system can call the sensor module again to capture the position of the consumable material to confirm whether the consumable material has moved to the correct cutting position. If necessary, fine-tuning can be performed before the second cut. That is, the first cut: using lighter pressure and speed to make shallow cutting marks on the consumable material to provide guidance for the second cut. The second cut: using greater pressure and speed to completely cut the consumable material to ensure the quality and accuracy of the cut.
[0197] By performing the cutting process twice, the cutting accuracy and reliability can be improved, and the scrap rate caused by incomplete cutting or inaccurate positioning can be reduced. At the same time, the system can continuously monitor and adjust parameters during the cutting process to adapt to different consumables and cutting requirements.
[0198] Based on any embodiment, in a possible embodiment of the present application, step S32 includes:
[0199] Step S321, controlling the knife cutting module to move to the initial cutting position and controlling the knife to fall.
[0200] In this embodiment, the initial cutting position refers to the position of the print head at the start of the cutting process, typically determined based on the cutting position information in the print file and the system's preset cutting path. Dropping the knife refers to the process of lowering the cutting tool in the cutting module into contact with the consumable material in preparation for cutting. The cutting module can be mounted on the print head and move synchronously with it, or it can be mounted separately from the print head and moved independently.
[0201] After receiving the instruction to execute the cutting process, the main control module first determines the initial cutting position of the print head in the cutting module. This position is typically determined based on the cutting position information in the print file and the system's preset cutting path. A control signal then drives the print head to the initial cutting position. This movement is achieved through a motor-driven transmission mechanism, ensuring that the print head accurately reaches the designated position. Once the print head reaches the initial cutting position, the main control module controls the knife drop operation. This operation lowers the cutting tool in the cutting module, preparing to begin cutting the consumable material. This can be achieved by controlling a solenoid valve or other mechanical device to bring the cutting tool into contact with the consumable material.
[0202] Step S322: moving the cutting module at a first speed to perform a first cutting process.
[0203] In this embodiment, the first speed is the speed at which the print head moves during the first cutting process. This is relatively slow and is used to create shallow cut marks on the consumable material. The first cutting process is the first step in the cutting process, performing a preliminary cut on the consumable material at a relatively slow speed to provide guidance for the second cutting process.
[0204] After the knife falls, the main control module starts to execute the first cutting process. At this time, the main control module controls the knife cutting module to move at the first speed. The first speed is usually a relatively slow speed, the purpose of which is to make a shallow cutting mark on the consumables to provide guidance for the subsequent second cutting process. During the movement of the knife cutting module, the tool contacts the consumables and gradually cuts into the consumables. The main control module can ensure that the knife cutting module moves at a stable first speed by monitoring the speed of the motor or feedback information from other sensors. At the same time, according to the progress of the cutting and the characteristics of the consumables, the cutting pressure and the angle of the tool can be adjusted in time to ensure the quality and effect of the cutting.
[0205] In step S323 , if the first cutting process is completed, the cutting module is moved at a second speed to perform a second cutting process, where the first speed is lower than the second speed.
[0206] In this embodiment, the second speed is the speed at which the print head moves in the second cutting process, which is faster than the first speed, so as to quickly and completely cut off the consumables. The second cutting process is the second step of the cutting process, which is performed at a faster speed to ensure that the consumables are completely cut off.
[0207] When the first cutting process is completed, the main control module determines whether the first cutting process has achieved the expected effect through sensors or other detection means. If the first cutting process is successfully completed, the main control module starts to execute the second cutting process. In the second cutting process, the main control module controls the knife cutting module to move at a second speed. The second speed is usually faster than the first speed, and the purpose is to cut the consumables quickly and thoroughly. When the knife cutting module moves at the second speed, the tool continues to cut into the consumables until the consumables are completely cut off. The main control module can ensure the smooth progress of the second cutting process by monitoring information such as the position of the tool, the cutting depth, and the load of the motor. Once the consumables are completely cut off, the main control module can control the print head to stop moving and raise the tool to complete the entire cutting process.
[0208] Optionally, step S323 includes:
[0209] Step S3231: reset the knife cutting module to the initial cutting position and move the knife cutting module at a second speed.
[0210] In this embodiment, after the first cutting process is completed, the main control module first determines whether to reset the cutting module to the initial cutting position for the second cutting process. If this is the case, the main control module issues a command to the cutting module to initiate the reset operation. The main control module drives the motor in reverse or other appropriate means to cause the cutting module to move in the opposite direction along its movement path, returning to the initial cutting position. During this movement, the main control module continuously monitors the position of the print head to ensure that it has accurately returned to its initial position. Once the cutting module reaches the initial cutting position, the main control module reconfirms its position and status to ensure it is in the correct position for the second cutting process. The main control module then controls the cutting module to begin moving at a second speed to perform the second cutting process. At this point, the cutting module moves at a faster speed along the pre-set cutting path, with the cutting tool penetrating deeply into the consumable material to quickly and thoroughly sever the consumable material. During this process, the main control module can adjust the cutting module's movement speed and cutting pressure in real time based on sensor feedback, such as the position of the cutting tool, cutting depth, and motor load, to ensure cutting quality and effectiveness.
[0211] Step S3232, alternatively, the knife cutting module is moved along the opposite path of the first cutting process at a second speed to perform a second cutting process.
[0212] When the first cutting process is completed, if the second cutting process is chosen to be carried out along the opposite path of the first cutting process, the main control module immediately issues a command to control the knife cutting module to start moving in the opposite direction. The main control module determines the direction and parameters of the opposite path based on the path information of the first cutting process. Then, by controlling the direction and speed of the drive motor, the knife cutting module moves along the opposite path at the second speed. During the movement process, the main control module also continuously monitors the position and status of the knife cutting module to ensure that it accurately cuts along the opposite path. During the reverse movement process, the tool gradually deepens the cut on the consumable material until the consumable material is completely cut. The main control module can adjust the movement speed and cutting pressure of the print head at any time based on the information fed back by the sensor to adapt to different consumable material characteristics and cutting requirements. Once the consumable material is completely cut, the main control module controls the knife cutting module to stop moving and raises the tool to complete the entire cutting process.
[0213] For example, a user uses a printing system to produce a large number of product labels. These labels will be affixed to various product packaging and require clear printing and accurate cutting. After printing is complete, the sensor module is controlled to capture an image of the consumable material. The first algorithm module is called upon to recognize the consumable material image and determine the film hole location. Specifically, the first algorithm module uses image recognition technology to accurately determine the location of each film hole in the image and converts it into a first coordinate. Simultaneously, the second coordinate corresponding to the cutting position is obtained from the print file. If the first and second coordinates coincide, it indicates that the blade edge and the film hole overlap and requires adjustment. At this point, a cutting compensation value is determined based on the preset spacing between adjacent film holes. For example, if the spacing between adjacent film holes is 1 cm and the blade edge overlaps the film hole, the consumable material may need to be moved to one side by 0.5 cm as a cutting compensation value. The main control module controls the motion control module to move the consumable material by the distance corresponding to the cutting compensation value, ensuring that the knife cutting module can cut at the correct position. First, the knife cutting module controls the movement of the knife cutting module to the initial cutting position and controls the knife lowering. The knife cutting module accurately moves to the preset cutting starting position, and the knife lowers to prepare for cutting. The knife-cutting module is controlled to move at a first speed to perform the first cutting process. The first speed is slow, leaving a shallow cut mark on the consumable material to guide the second cutting process. For example, the first speed can be set to a movement speed of 10 cm per minute. After the first cutting process is completed, the second cutting process is performed according to different options. One method is to control the knife-cutting module to reset to the initial cutting position and then move at a second speed to perform the second cutting process. For example, the knife-cutting module quickly returns to the starting position and then performs a rapid cut at a speed of 30 cm per minute to ensure that the consumable material is completely cut. Another method is to control the knife-cutting module to move at a second speed along the opposite path of the first cutting process to perform the second cutting process. That is, the knife-cutting module moves at a faster speed in the opposite direction of the previous cutting path, also achieving a fast and thorough cut.
[0214] Optionally, after the step of controlling the knife cutting module to cut the consumable material according to the cutting position, it also includes: controlling the sensor module to identify whether the consumable material is cut; if the consumable material is not cut, entering an abnormal state, or controlling the knife cutting module to cut the consumable material again.
[0215] In an optional embodiment, the sensor module is a camera module. Based on images captured by the camera module at the cutting location and an image recognition algorithm, the system detects whether the consumable material has been cut. Machine learning or deep learning algorithms are trained on a large number of images of cut consumable materials to improve detection accuracy. The algorithm determines whether the consumable material has been completely cut by detecting characteristics of the cut edge, such as color change, texture change, and edge clarity. For example, a neat, straight, and consistent cut edge generally indicates that the consumable material has been cut; an irregular edge or uncut portions indicate that the consumable material has not been cut. After the knife cutting module completes the cut, the camera is controlled to capture the cut area. The captured image is transmitted to the main control module, where the image recognition algorithm is run for analysis. If the algorithm determines that the consumable material has been cut, the subsequent operation process continues. If it determines that the consumable material has not been cut, an abnormal state is entered or the knife cutting module is controlled to cut again. If an abnormal state is entered, an alarm device notifies the operator so that the problem can be addressed promptly. The operator can check the knife cutting module for damage, the sharpness of the blade, and the correct cutting parameters, and make appropriate adjustments and repairs. After the problem is solved, the cutting process can be restarted, or the camera can be manually controlled to perform another inspection to ensure that the filament is completely cut off.
[0216] As another optional embodiment, the sensor module is a photoelectric sensor. Install the photoelectric sensor near the cutting area to detect the presence and cutting status of the consumable material. Select a photoelectric sensor that is sensitive to light reflection, such as an infrared sensor. Adjust the sensor's position and angle to ensure it accurately detects the cut edge of the consumable material. A bracket or clamp can be used to secure the sensor for stability. The photoelectric sensor determines the consumable material's condition by emitting light and detecting the intensity of the reflected light. When the consumable material is completely severed, the light emitted by the sensor can pass through the cut gap, significantly reducing the intensity of the reflected light. When the consumable material is not severed, the intensity of the reflected light is higher. Based on the change in reflected light intensity, a threshold is set to determine whether the consumable material has been severed. When the reflected light intensity falls below the threshold, the consumable material is considered severed; when the reflected light intensity exceeds the threshold, it is considered not severed. After the knife cutting module completes cutting, the photoelectric sensor is controlled to begin detection. The sensor continuously emits light and receives reflected light, transmitting the reflected light intensity data to the control system. The control system determines whether the consumable material has been severed based on the comparison of the reflected light intensity with the threshold. If it is determined that it has been cut, the subsequent operation process will continue; if it is determined that it has not been cut, it will enter an abnormal state or control the knife cutting module to cut again. The abnormal state processing flow is not repeated.
[0217] By invoking the first algorithm module to identify the filament image and determine the film hole location; determining the cutting compensation value based on the film hole location, and controlling the motion control module to move the filament a distance corresponding to the cutting compensation value; and using the knife cutting module to perform two cutting steps to cut the filament, the filament is automatically cut without regard to the film hole location, thus avoiding filament waste and reducing printing time and material costs.
[0218] Based on any embodiment, in one possible embodiment of the present application, referring to Figure 4 , before step S10, including:
[0219] Step A10: If the rack module is installed with consumables, the ink stack is filled with ink, and the print head is filled with ink, the print head is cleaned through the ink stack.
[0220] In this embodiment, the printing system also includes a rack module and an ink stack. Rack module: a device for placing and fixing consumables, capable of detecting whether the consumables are in place. Consumables: materials used for printing in the printing system, such as paper, PET film, etc. Ink stack: a component used to store and supply ink, and can also perform maintenance operations on the print head, such as cleaning. Ink loading: refers to the detection of the status of successful ink loading in the ink stack. Print head cleaning process: through specific operations, blockages, dried ink, etc. in the print head are cleared to ensure the normal operation of the print head.
[0221] When the printing system is first installed, the magazine module continuously checks to see if consumables are loaded. If the magazine module detects that consumables are loaded and the ink stack detects that ink is loaded, the system initiates the print head cleaning process. The ink stack cleans the print head by supplying cleaning fluid or performing specific mechanical actions such as suction or wiping. This process can be repeated multiple times until the print head is clean.
[0222] Step A20: Control the printing module to print a test pattern on the consumable material.
[0223] In this embodiment, the printing module is responsible for executing the printing operation, including the print head and related drive mechanisms, etc. The test pattern is a specific pattern used to test the performance and quality of the printing system, usually containing different colors, lines, text and other elements.
[0224] After the print head is cleaned, the print module is activated. It controls the print head to print a test pattern on the consumables. This test pattern can be a preset standard pattern containing various colors, line combinations, and text of varying sizes. The print module precisely controls the movement of the print head and the inkjet operation to accurately print the test pattern on the consumables. This process tests the print head's inkjet performance, color accuracy, resolution, and other aspects.
[0225] Step A30: Cut the consumables by the knife cutting module.
[0226] After the test pattern is printed, the cutting module begins operation. According to a pre-set program, the cutting module controls the movement of the cutting tool and cuts the filament. This step verifies the cutting accuracy and reliability of the cutting module. The cut filament can also be inspected as a sample to assess the overall printing and cutting quality.
[0227] For example, a user has just completed installing the printing system and places a new roll of consumables on the material rack module. The sensor in the material rack module detects the presence of the consumables and sends a signal to the main control module. At the same time, the staff member loads ink into the ink stack. After the sensor in the ink stack detects the ink loading, it also sends a signal to the main control module. After receiving these two signals, the main control module initiates the print head cleaning process. The ink stack provides cleaning fluid to the print head and performs suction and wiping operations to thoroughly clean the print head. After cleaning is complete, the printing module begins operation. The print head prints a preset test pattern on the consumables. The test pattern contains squares, lines, and some text of different colors. During the printing process, the user can observe the inkjet status of the print head to check for accurate colors, clear lines, etc. After the test pattern is printed, the knife cutting module is activated. The knife moves along the preset trajectory to accurately cut the consumables. The staff member can check whether the cut edges are neat to evaluate the performance of the knife cutting module.
[0228] Through this self-test program, users can ensure that the printing system can work normally after the initial installation and is ready for subsequent printing tasks.
[0229] Because the material rack module detects the placement of consumables and the ink stack detects the presence of ink, the ink stack performs a print head cleaning process; the print module controls the print head to print a test pattern on the consumables; and the cutter module cuts the consumables. During the initial installation of the printing system and when self-tests are required, no manual intervention is required. The printing system automatically performs the self-test process when sufficient consumables are available, avoiding errors caused by manual operation.
[0230] Based on any embodiment, in one possible embodiment of the present application, referring to Figure 5 The control method of the printing system further includes a calibration step, the calibration step including:
[0231] Step A40: Control the printing module to print a test pattern.
[0232] Step A50: Control the sensor module to capture at least one first calibration image of the test chart.
[0233] In this embodiment, the test pattern is a specific pattern printed during the initial installation self-test or calibration, used to evaluate the performance of the printing system and perform calibration. The first calibration image is an image captured by the sensor module with respect to the test pattern for calibration.
[0234] When the host computer receives the calibration mode control trigger, it sends a calibration signal to the printer. Based on the received calibration signal, the printer controls the printing module to print the corresponding test pattern. After the knife cutter module cuts the filament, the main control module controls the sensor module to capture images of the test pattern printed on the filament. The sensor module can capture multiple images from different angles and distances to ensure comprehensive calibration information. For example, images can be captured from different angles, such as the front and side, and at different magnifications.
[0235] Step A60: Generate calibration data based on the first calibration image.
[0236] In this embodiment, the first algorithm module includes a software module for a specific image recognition and processing algorithm, which is used to analyze the calibration image and generate calibration data. Calibration data: data derived from the analysis of the first calibration image and used to adjust printing system parameters, such as color deviation and position offset.
[0237] The main control module calls the first algorithm module to process the captured first calibration image. The first algorithm module uses image recognition technology to identify specific elements in the test image, such as color blocks, lines, and text, and compares them with pre-set standards. By analyzing the image's color, shape, position, and other information, the first algorithm module determines deviations in the printing system's color accuracy, resolution, and positional accuracy, and generates corresponding calibration data. For example, if the colors in the image deviate from the standard color, the first algorithm module calculates color adjustment parameters; if lines or text in the image are misaligned, the first algorithm module determines position adjustment parameters.
[0238] Step A70: Generate a calibration file according to the calibration data, so as to calibrate the control parameters of the printing module according to the calibration file.
[0239] In this embodiment, the calibration file is a file containing calibration data, used to update the parameters of the printing system to achieve calibration. Updating the printing system is to adjust the control parameters of the printing system according to the data in the calibration file to make the printing system work more accurately.
[0240] Based on the calibration data generated by the first algorithm module, the main control module generates a calibration file. The calibration file can be a text file in a specific format or a database record that contains various calibration parameters. The main control module then updates the printing system based on the data in the calibration file. This can include adjusting the inkjet parameters of the print head, such as color intensity and droplet size, adjusting the position accuracy of the motion control module, and updating the cutting parameters of the knife cutting module. For example, if the calibration data shows that the color is too light, the main control module can increase the inkjet intensity of the print head; if the position offset is large, the main control module can adjust the motor control parameters of the motion control module to improve position accuracy.
[0241] For example, a user uses a printing system to print high-quality graphics. After the printing system is initially installed, it performs a self-test and calibration. First, the printing system completes a self-test, including printing a test pattern and cutting consumables. Then, the main control module controls the sensor module to capture images of the test pattern. The sensor module captures three images from the front and side, totaling six first calibration images. The main control module then invokes the first algorithm module to process these images. The first algorithm module identifies color blocks, lines, and text in the images and compares them to preset standards. Analysis reveals that the blue color in the image is too light, the red color is too dark, and the text position is slightly offset. The first algorithm module calculates color adjustment parameters and position adjustment parameters to generate calibration data. Based on the calibration data, the main control module generates a calibration file. The calibration file includes color adjustment parameters, such as increasing the blue inkjet intensity and decreasing the red inkjet intensity, and position adjustment parameters, such as adjusting the motor control parameters of the motion control module to correct for text position offset. Finally, the main control module updates the printing system based on the calibration file. After the update, the printing system performs another test print, revealing significant improvements in both color accuracy and position accuracy.
[0242] Through this automatic calibration process, the printing system can quickly and accurately adjust parameters when it is first installed or when the user needs calibration, ensuring the stability and accuracy of printing quality.
[0243] Optionally, before step A70, the method further includes:
[0244] Step A61: Based on the calibration data, control the printing module to print a calibration test pattern on the consumable material.
[0245] In this embodiment, the calibration test chart is a test chart that is reprinted based on the calibration data for further calibration evaluation.
[0246] After receiving the calibration data, the print module adjusts the printing parameters accordingly. It then controls the print head to print a calibration test pattern on the consumables. During this process, the print module may adjust parameters such as ink jet volume, color mixing ratio, and print resolution to produce a more accurate print.
[0247] Step A62: Control the sensor module to capture at least one second calibration image of the calibration test chart.
[0248] In this embodiment, the second calibration image is an image captured with respect to a calibration test chart and used for recalibration determination.
[0249] After printing the calibration test chart, the main control module controls the sensor module to capture images of the calibration test chart. The sensor module can capture multiple images from different angles and positions to obtain more comprehensive information. These images will be used for subsequent calibration judgments.
[0250] In step A63 , it is determined whether the calibration is successful based on the second calibration image.
[0251] In this embodiment, the first algorithm module includes a software module that implements a specific image recognition and processing algorithm for analyzing the calibration image and performing a calibration determination. The recognition result is the result of the first algorithm module analyzing the second calibration image, including an assessment of color accuracy, positional precision, and other aspects.
[0252] The main control module invokes the first algorithm module to process the captured second calibration image. Using image recognition technology, the first algorithm module compares the second calibration image with a preset standard image, evaluating color accuracy, line clarity, and positional accuracy. Based on these evaluation results, the algorithm module determines whether the calibration is successful. For example, if color deviation is within an acceptable range, lines are clear, and positional accuracy meets requirements, the calibration is considered successful; otherwise, it is considered unsuccessful.
[0253] Step A64: If the calibration is successful, a calibration file is generated according to the calibration data.
[0254] As an optional implementation, if calibration is determined to be successful, the calibration data is further optimized and adjusted based on the recognition results. If the first algorithm module determines that calibration is successful, it indicates that the current printing system parameters are relatively accurate. At this point, the calibration data can be fine-tuned based on the recognition results to further improve print quality. For example, if the recognition results show that there is still slight color deviation, the color adjustment parameters can be fine-tuned; if there is room for improvement in positioning accuracy, the positioning adjustment parameters can be optimized. The updated calibration data will be used to ultimately generate the calibration file and update the printing system.
[0255] As another optional implementation, if the calibration is determined to be successful, a calibration file is generated using the calibration data corresponding to the first calibration image.
[0256] For example, a user's printing system is undergoing a calibration process. First, based on the calibration data initially determined, the printing module controls the printhead to print a calibration test pattern on the consumables. During printing, the printing module adjusts the ink jet volume and color mixing ratio based on the calibration data. After printing is complete, the sensor module captures images of the calibration test pattern, taking five second calibration images from different angles. The main control module invokes the first algorithm module to process these images. The first algorithm module compares the second calibration images with the standard image and finds that color accuracy has significantly improved, but there is still some deviation in positional accuracy. Based on the recognition results, the first algorithm module calculates the position adjustment parameters and determines that the calibration is currently unsuccessful. The printing module prints the calibration test pattern again based on the new calibration data, including the adjusted position parameters. The sensor module captures images again, and the first algorithm module processes them. This time, the first algorithm module determines that both color accuracy and positional accuracy meet the requirements, indicating a successful calibration. Based on the recognition results, the first algorithm module fine-tunes the calibration data to achieve even higher color accuracy and positional accuracy. Then, a calibration file is generated based on the updated calibration data and the printing system is updated.
[0257] Through this process, the printing system is calibrated more accurately, ensuring high-quality print output.
[0258] In some embodiments, the aforementioned steps A40 to A70, and steps A61 to A64 can be implemented by a second algorithm module in the host computer. The specific implementation scheme is the same as that of the first algorithm module and is not repeated here.
[0259] For example, in order to help understand the technical concept or technical principle of the control method of the printing system after the above embodiments are combined, please refer to Figures 6 to 9 , provides a brief flow chart of the control method of three printing systems, as follows:
[0260] See also Figure 6In some embodiments, when used for the first time, various modules of the printing system are installed, including the main control module, the knife cutting module, the sensor module, the printing module, the material rack module and the ink stack. Check whether the connection of each module is normal to ensure that the physical installation of the equipment is complete. Place the consumables on the material rack module and ensure that the material rack module detects the placement of the consumables. Load ink into the ink stack, and the ink stack detects the loading of ink. Since it is the first time to use, after the consumables and ink are prepared, the print head cleaning process is performed through the ink stack to remove impurities and dried ink in the print head to ensure that the print head works normally. The print head is controlled by the printing module to print a test pattern on the consumables. The test pattern contains elements such as multiple colors, lines and texts, which are used to detect the basic performance of the printing system, such as inkjet performance, color accuracy and resolution. The consumables are cut by the knife cutting module, that is, the PET film is cut.
[0261] See also Figure 7 In some embodiments, during the device calibration process, when the user needs to calibrate the printing system, the calibration program is started on the host computer, and the host computer initiates calibration to the printer and prepares to print data. The sensor module is controlled to capture at least one first calibration image for the test chart. At this time, if a previously printed test chart is available; if not, a new test chart may need to be printed. After the printing module prints the test chart, the first algorithm module is called to identify the first calibration image and generate calibration data. The printing module controls the print head to print the calibration test chart on the consumable material based on the calibration data. The sensor module is controlled to capture at least one second calibration image for the calibration test chart. The first algorithm module is called to identify the second calibration image, and whether the calibration is successful is determined based on the recognition result. If the calibration is determined to be successful, a calibration file is generated based on the calibration data, and the printing system is updated based on the calibration file to complete the calibration process. If the calibration is unsuccessful, the calibration program is closed and the device calibration is executed again.
[0262] See also Figure 8-Figure 9In some embodiments, during daily use, the host computer receives the user-edited image and generates a print file based on the image. This may include calling the first algorithm module to enlarge the image, performing color separation and halftone processing on the enlarged image, determining the print data, and simultaneously obtaining the printing parameters and knife cutting mode corresponding to the image, and finally generating the print file based on the print data, print parameters, and knife cutting mode. The generation of the print file based on the print data, print parameters, and knife cutting mode can also be completed by the host computer, and then the host computer directly sends the print file to the main control module of the printer. The ink stack of the ink module is controlled to start and flash. The inkjet control module drives the print head to reciprocate along the first axis and drive the ink to be discharged, and at the same time, the motion control module controls the consumable to move along the second axis until the pattern is printed. The first axis is the x-axis and the second axis is the y-axis. After determining that the printing is completed, the sensor module is controlled to capture the consumable image of the consumable. The consumable image is then sent to the host computer, and the host computer controls the knife cutting module to cut the consumable based on the film hole position identified by the consumable image. This includes calling the second algorithm module to identify the consumables image and determine the film hole position; determining the cutting compensation value according to the film hole position, and controlling the motion control module to control the consumables to move the distance corresponding to the cutting compensation value; executing two cutting processes through the knife cutting module to cut the consumables. Specifically, according to the knife cutting module, the print head is controlled to move to the initial cutting position and the knife is controlled to fall; the print head is controlled to move at a first speed to perform the first cutting process; if the first cutting process is completed, the print head is controlled to move at a second speed to perform the second cutting process; and when the print head is controlled to move at the second speed to perform the second cutting process, it is possible to choose to control the print head to reset to the initial cutting position, control the print head to move at the second speed to perform the second cutting process, or control the print head to move at the second speed along the opposite path of the first cutting process to perform the second cutting process. After the cutting is completed, the ink stack returns to the origin.
[0263] In some embodiments, the image processing related contents in the aforementioned control method (such as cutting position recognition, film hole recognition, calibration image recognition, etc.) can be implemented by the host computer and the results can be output to the printing device, which will not be elaborated here.
[0264] The present application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the printing system in the above-mentioned embodiment one.
[0265] Reference below Figure 10, which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic devices in the embodiments of the present application may include, but are not limited to, mobile phones, laptops, PADs (Portable Application Description: tablet computers), desktop computers, printing devices, etc. Figure 10 The electronic device shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0266] like Figure 10 As shown, the electronic device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. RAM 1004 also stores various programs and data required for the operation of the electronic device. Processing device 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems may be connected to I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage device 1003 including, for example, a magnetic tape or hard disk; and communication devices 1009. The communication device 1009 can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have instead.
[0267] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0268] The electronic device provided in this application utilizes the control method for the printing system in the above-described embodiment, thereby resolving the technical problem of low printing efficiency caused by excessive manual intervention in the prior art. Compared to the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the electronic device provided in the above-described embodiment, and the other technical features of the electronic device are the same as those disclosed in the method in the above-described embodiment, and are not further described here.
[0269] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0270] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0271] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, wherein the computer-readable program instructions are used to execute the control method of the printing system in the above-mentioned embodiment.
[0272] The computer-readable storage medium provided herein may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including, but not limited to, wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0273] The computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0274] The computer-readable storage medium carries one or more programs. When executed by an electronic device, the electronic device can: control, via a main control module, a printing module to print a pattern on a consumable material according to a print file; control a sensor module to acquire consumable material data to determine a cutting position for the consumable material; and control a cutting module to cut the consumable material according to the cutting position. The computer program code for performing the operations of the present application can be written in one or more programming languages, or a combination thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user computer, partially on the user computer, as a standalone software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0275] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0276] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0277] The computer-readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned printing system control method. This computer-readable storage medium can address the prior art technical issue of low printing efficiency caused by excessive manual intervention. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are similar to those of the printing system control method provided in the aforementioned embodiments, and are not further elaborated here.
[0278] An embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the above-mentioned printing system control method when executed by a processor.
[0279] The computer program product provided in this application can solve the technical problem of low printing efficiency caused by excessive manual intervention in the prior art. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as the beneficial effects of the control method of the printing system provided in the above embodiments, and will not be repeated here.
[0280] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A control method for a printing system, characterized in that: The printing system includes a main control module, a cutting module, a sensor module and a printing module. The control method of the printing system includes: The main control module controls the printing module to print a pattern on the consumable material according to the printing file; Controlling the sensor module to acquire data of the consumable material after the pattern is printed, so as to identify a cutting position of the consumable material; Controlling the knife cutting module to cut the consumable material according to the cutting position; The sensor module includes a camera module, and the step of controlling the sensor module to obtain data of the consumable material after the pattern is printed to identify the cutting position of the consumable material includes: Controlling the camera module to capture an image of the consumable material, so as to identify the film hole position of the consumable material according to the image of the consumable material; Based on the film hole position and the position information of the pattern on the consumable material, the cutting position is determined so that the cutting position does not fall at the film hole position; or, The sensor module includes a photoelectric sensor, and the step of controlling the sensor module to obtain data of the consumable material after the pattern is printed to identify the cutting position of the consumable material includes: Controlling the consumable to move according to a set mode, and controlling the photoelectric sensor to collect reflected light data of the consumable; If the film hole change is determined according to the reflected light data, the consumable is controlled to stop displacement and the film hole position is determined; Determining the cutting position based on the film hole position and the position information of the pattern on the consumable material so that the cutting position does not fall at the film hole position; The step of determining the cutting position based on the film hole position and the position information of the pattern on the consumable material so that the cutting position does not fall at the film hole position includes: determining a cutting compensation value according to the film hole position and the position information of the pattern on the consumable material; determining the cutting position based on the cutting compensation value so that the cutting position does not fall at the film hole position; The step of controlling the knife cutting module to cut the consumable material according to the cutting position includes: Controlling the consumable material or the cutting module to move along a second axial direction so that the cutting module corresponds to the cutting position, wherein the second axial direction is a conveying direction of the consumable material; Cutting the consumable material twice by the knife cutting module; The step of cutting the consumable material twice by the knife cutting module includes: Controlling the knife cutting module to move to the initial cutting position and controlling the knife to fall; Moving the cutting module at a first speed to perform a first cutting process; If the first cutting process is completed, the knife cutting module is moved at a second speed to perform a second cutting process, and the first speed is lower than the second speed.
2. The control method of the printing system according to claim 1, wherein: Before the step of controlling the printing module to print a pattern on the consumable material according to the printing file, the control method further includes: An image corresponding to the pattern is received, and the print file is generated according to the image.
3. The control method of the printing system according to claim 2, wherein: The step of generating the print file according to the image comprises: performing amplification, color separation processing, and halftoning processing on the image to generate print data; Obtaining printing parameters and knife cutting mode corresponding to the image; The printing file is generated according to the printing data, the printing parameters and the knife-cutting mode.
4. The control method of the printing system according to claim 1, wherein: The printing module includes a print head, an ink module, an inkjet control module, and a motion control module. The step of controlling the printing module to print a pattern on a consumable material according to a print file includes: Controlling the ink stack of the ink module to open; Controlling inkjet from the print head via the inkjet control module; The motion control module controls the print head to reciprocate along a first axial direction, and the motion control module controls the consumable material to move along a second axial direction, so as to print the pattern on the consumable material.
5. The control method of the printing system according to claim 1, wherein: The step of determining the cutting compensation value according to the film hole position and the position information of the pattern on the consumable material includes: determining a first cutting position of the consumable material according to position information of a printed pattern on the consumable material; Determining a first coordinate corresponding to the film hole position and a second coordinate corresponding to the first cutting position; If the first coordinate coincides with the second coordinate, the cutting compensation value is determined based on a preset distance between adjacent film holes.
6. The control method of the printing system according to claim 1, wherein: The step of moving the knife cutting module at a second speed to perform a second cutting process includes: Reset the cutting module to the initial cutting position and move the cutting module at the second speed; or The knife cutting module is moved along a reverse path of the first cutting process at the second speed to perform the second cutting process.
7. The control method of the printing system according to claim 1, wherein: After the step of controlling the knife cutting module to cut the consumable material according to the cutting position, the method further includes: controlling the sensor module to identify whether the consumable material is cut off; If the consumable material is not cut, an abnormal state is entered, or the cutting module is controlled to cut the consumable material again.
8. The control method of the printing system according to claim 1, wherein: The printing system further includes a material rack module, the printing module includes an ink module and a print head, the ink module includes an ink stack, and before the step of controlling the printing module to print a pattern on the consumable material according to the print file by the main control module, the method includes: If the material rack module is installed with consumables, the ink stack is filled with ink, and the print head is filled with ink, cleaning the print head through the ink stack; Controlling the printing module to print a test pattern on the consumable material; The consumable material is cut by the knife cutting module.
9. The control method of the printing system according to claim 1, wherein: The control method of the printing system further includes a calibration step, wherein the calibration step includes: Controlling the printing module to print a test pattern; controlling the sensor module to acquire at least one first calibration image of the test chart; generating calibration data based on the first calibration image; A calibration file is generated according to the calibration data, so as to calibrate the control parameters of the printing module according to the calibration file.
10. The control method of the printing system according to claim 9, wherein: Before the step of generating a calibration file according to the calibration data to calibrate the control parameters of the printing module according to the calibration file, the method includes: Based on the calibration data, controlling the printing module to print a calibration test pattern on the consumable material; controlling the sensor module to acquire at least one second calibration image of the calibration test chart; determining whether the calibration is successful based on the second calibration image; If the calibration is successful, a calibration file is generated based on the calibration data.
11. A printing system, characterized in that: The printing system includes a printing device, and the printing device includes: Knife cutting module, used for cutting consumables; A printing module, used for printing patterns on consumables; A sensor module, configured to obtain consumable data of the consumable to obtain a cutting position of the consumable; The main control module is used to: control the printing module to print a pattern on the consumable material according to the printing file; control the sensor module to obtain the consumable material data to determine the cutting position of the consumable material; and control the cutting module to cut the consumable material according to the cutting position; The sensor module includes a camera module, and the main control module can control the camera module to collect images of the consumables, so as to identify the film hole position of the consumables according to the image of the consumables, and determine the cutting position based on the film hole position and the position information of the pattern on the consumables, so that the cutting position does not fall at the film hole position; alternatively, the sensor module is a photoelectric sensor, and the main control module is further used to control the consumables to move according to a set mode, and control the photoelectric sensor to collect reflected light data of the consumables; if the film hole change is determined according to the reflected light data, the consumables are controlled to stop moving and the film hole position is determined; based on the film hole position and the position information of the pattern on the consumables, the cutting position is determined so that the cutting position does not fall at the film hole position; The main control module is further used to determine a cutting compensation value according to the film hole position and the position information of the pattern on the consumable material; and determine a cutting position based on the cutting compensation value so that the cutting position does not fall at the film hole position; The main control module is also used to control the movement of the consumables through the motion control module so that the knife cutting module corresponds to the cutting position; the consumables are cut twice by the knife cutting module; The main control module is also used to control the knife cutting module to move to the initial cutting position and control the knife to fall; move the knife cutting module at a first speed to perform the first cutting process; if the first cutting process is completed, move the knife cutting module at a second speed to perform the second cutting process, and the first speed is less than the second speed.
12. The printing system according to claim 11, wherein: The printing system further includes a host computer, the host computer being communicatively connected to the printing device via at least one of an Ethernet port, a USB interface, and WiFi, and the host computer being configured to: edit an image based on an editing instruction; and amplify, perform color separation processing, and halftone processing on the edited image to generate print data; Obtaining printing parameters and knife cutting mode corresponding to the image; The print file is generated according to the print data, the print parameters and the knife-cutting mode and sent to the printing device.
13. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for controlling the printing system according to any one of claims 1 to 10.
14. A storage medium, characterized in that The storage medium is a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the control method of the printing system according to any one of claims 1 to 10 are implemented.
Citation Information
Patent Citations
Print medium cutting method, ink-jet printing apparatus, printing system and storage medium
CN119898119A