Chromatography calibration method, printing device, electronic equipment and storage medium
The visual recognition module automatically detects nozzle deviation and adjusts the nozzle position, solving the problem of nozzle position deviation in inkjet printing, improving color registration efficiency and reducing labor costs.
Patent Information
- Application Number
- CN202511057436.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2045-07-30
AI Technical Summary
In existing inkjet printing technology, the deviation of the inkjet position of the nozzle needs to be manually adjusted, resulting in low color registration efficiency and increased labor costs.
The visual recognition module automatically detects printhead deviation, calculates the offset based on the actual calibration mark and the preset calibration mark, and automatically adjusts the printhead position to calibrate the inkjet position.
It realizes the real-time color calibration of inkjet printing, improves the color registration efficiency and reduces the labor cost.
Smart Images

Figure CN120645571A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of inkjet printing technology, and in particular to a color calibration method, device, electronic device and storage medium. Background Art
[0002] In the prior art, when printing, the color registration device usually needs to use color registration to achieve a variety of colors with a small number of nozzles. During the color registration process, the position of the ink jet from the nozzle often deviates. Therefore, the operator often needs to check the sample. If the color registration position is inaccurate, the nozzle needs to be manually adjusted and calibrated repeatedly, which increases labor costs and greatly affects the efficiency of color registration. Summary of the Invention
[0003] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a color registration calibration method, a printing device, an electronic device, and a storage medium that can automatically detect color registration deviations and automatically adjust the printhead, thereby improving the efficiency of color registration.
[0004] The color calibration method of the first aspect of the embodiment of the present application includes: obtaining a print file of a preset target print image, the target print image including a target print image area and a calibration sample area, and the target print image area and the calibration sample area are partitioned in the first direction; in the process of controlling the nozzle module to print the image line by line on the printing paper in the second direction according to the print file, obtaining the actual calibration mark in the calibration sample area corresponding to the target line through the visual recognition module; determining the offset according to the actual calibration mark, the preset reference initial point and the preset calibration mark; adjusting the nozzle module according to the offset to calibrate the printing position of the nozzle module in the target print image area corresponding to the next line of printing the target line.
[0005] According to the color calibration method of the embodiment of the present application, there are at least the following beneficial effects: the target printing image is divided into a target printing image area and a calibration sample area along a first direction, so as to realize color calibration while printing the image, so as to ensure the real-time nature of the color calibration; the actual calibration mark in the calibration sample area corresponding to the target row is obtained through the visual recognition module, and then the offset of the ink jet mark sprayed by the nozzle module is calculated based on the actual calibration mark obtained, the preset reference initial point and the preset calibration mark, and then the nozzle module is adjusted according to the offset to calibrate the ink jet position of the nozzle module, so that the printing position in the target printing image area corresponding to the next row can be aligned, thereby realizing automatic recognition and correction of color deviation, and thus improving the efficiency of color registration.
[0006] According to some embodiments of the present application, the actual calibration mark includes a first actual calibration mark and a second actual calibration mark, the preset calibration mark includes a first preset calibration mark and a second preset calibration mark, and the nozzle module includes a first nozzle assembly and a second nozzle assembly. Before obtaining the actual calibration mark in the calibration sample area corresponding to the target row through the visual recognition module, the method further includes:
[0007] Based on a preset first theoretical distance, controlling the first nozzle assembly to eject ink onto the printing paper so that the first actual calibration mark is formed on the calibration sample area, wherein the first theoretical distance is the distance between the first preset calibration mark and the reference initial point;
[0008] Based on a preset second theoretical distance, the second nozzle assembly is controlled to perform inkjet operation on the printing paper, so that the second actual calibration mark is formed on the calibration sample area, wherein the second theoretical distance is the distance between the second preset calibration mark and the reference initial point.
[0009] According to some embodiments of the present application, the offset includes a first offset and a second offset, and determining the offset according to the actual calibration mark, the preset reference initial point, and the preset calibration mark includes:
[0010] Calculating the distance between the first actual calibration mark and the reference initial point to obtain a first actual spacing;
[0011] Subtracting the first actual distance from the first theoretical distance to obtain the first offset;
[0012] Calculating the distance between the second actual calibration mark and the reference initial point to obtain a second actual spacing;
[0013] The second offset is obtained by subtracting the second actual distance from the second theoretical distance.
[0014] According to some embodiments of the present application, adjusting the nozzle module according to the offset includes:
[0015] If the first offset is less than zero or greater than zero, the ink jetting time of the first nozzle assembly is adjusted accordingly;
[0016] If the second offset is less than zero or greater than zero, the ink jetting time of the second nozzle assembly is adjusted accordingly.
[0017] According to some embodiments of the present application, adjusting the nozzle module according to the offset further includes:
[0018] If the first offset is greater than zero, obtaining a first time advance of the inkjet timing of the first nozzle assembly based on the moving speed of the printing paper;
[0019] If the first offset is less than zero, obtaining a first time delay of the inkjet time of the first nozzle assembly based on the moving speed of the printing paper;
[0020] If the second offset is greater than zero, obtaining a second time advance of the inkjet timing of the second nozzle assembly based on the moving speed of the printing paper;
[0021] If the second offset is less than zero, a second time delay of the inkjet time of the second nozzle assembly is obtained based on the moving speed of the printing paper.
[0022] According to some embodiments of the present application, there are multiple first preset calibration marks and multiple second preset calibration marks, and the multiple first preset calibration marks and the multiple second preset calibration marks are evenly distributed in the calibration sample area along the second direction.
[0023] According to some embodiments of the present application, obtaining, by a visual recognition module, an actual calibration mark in the calibration sample area corresponding to the target row includes:
[0024] Performing image recognition on the calibration sample area corresponding to the target row by a visual recognition module to obtain a first image;
[0025] The ink mark on the first image is extracted to obtain the actual calibration mark.
[0026] The printing device according to the second embodiment of the present application is applied to a printer;
[0027] The device comprises:
[0028] An area division module is configured to obtain a print file of a preset target print image, wherein the target print image includes a target print image area and a calibration sample area, and the target print image area and the calibration sample area are divided into zones in a first direction;
[0029] An image recognition module is configured to obtain, through a visual recognition module, an actual calibration mark in the calibration sample area corresponding to a target line during a process of controlling the nozzle module to print an image line by line on the printing paper in the second direction according to the printing file;
[0030] Color correction module: configured to determine the offset based on the actual calibration mark, the preset reference initial point and the preset calibration mark; adjust the nozzle module according to the offset to calibrate the printing position of the nozzle module in the target printing image area corresponding to the next line of printing the target line.
[0031] According to the electronic device of the embodiment of the third aspect of the present application, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the color calibration method described in the embodiment of the first aspect of the present application when executing the computer program.
[0032] According to the computer-readable storage medium of the fourth aspect embodiment of the present application, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the color calibration method described in the first aspect embodiment of the present application is implemented.
[0033] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0035] Figure 1 This is a flowchart of the steps of the color calibration method according to an embodiment of the present application;
[0036] Figure 2 Schematic diagram of the specific process from step S201 to step S202;
[0037] Figure 3 This is a specific flowchart of step S102;
[0038] Figure 4 is a specific flow chart of step S103;
[0039] Figure 5 is a specific flow chart of step S104;
[0040] Figure 6 is another specific flow chart of step S104;
[0041] Figure 7 This is a schematic diagram of the printed paper when the color shift occurs in this application;
[0042] Figure 8 Schematic diagram of the printed paper after automatic deflection correction for this application
[0043] Figure 9This is a schematic structural diagram of a nozzle adjustment printing device according to an embodiment of the present application;
[0044] Figure 10 This is a schematic structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following describes in detail embodiments of the present application. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application and are not to be construed as limiting the present application.
[0046] In the description of this application, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limitations on this application.
[0047] In the description of this application, "several" means one or more, "many" means more than two, "greater than," "less than," and "exceed" are understood to exclude the number itself, while "above," "below," and "within" are understood to include the number itself. The terms "first" and "second" are used solely to distinguish technical features and are not to be construed as indicating or implying relative importance, or as implicitly specifying the number or order of the technical features indicated.
[0048] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.
[0049] At present, in the process of inkjet printing of products, due to cost issues, it is often necessary to use color registration to achieve a variety of colors with a small number of different color nozzles. In the process of color registration, the nozzle inkjet position is often inaccurate, and the nozzle needs to be adjusted accordingly. This process often requires manual identification and adjustment, which consumes a lot of manpower costs and takes a long time for manual identification, which affects the efficiency of color registration.
[0050] Based on this, the present application proposes a color calibration method, a printing device, an electronic device and a storage medium, which aim to automatically detect color deviations and then automatically adjust the corresponding nozzles to improve the efficiency of color registration and reduce labor costs.
[0051] The color registration calibration method of the present application is applied to a color registration device, which includes a nozzle module, a visual recognition module, a transmission module, and a terminal control module. The nozzle module includes at least two groups of nozzle assemblies, each group of nozzle assemblies corresponding to a different color. The transmission module is used to transmit printed paper along a second direction. The visual recognition module is located above the transmission module. The nozzle assemblies are also located above the transmission module and arranged in sequence. The terminal control module is located on one side of the transmission module and is used by an operator to upload a reference initial point, the inkjet sequence of the nozzle assemblies, etc. The visual recognition module performs image recognition on the printed paper on the transmission module at preset time intervals to achieve real-time detection.
[0052] The first embodiment of the present application proposes a color calibration method based on a printing device. Figure 1 , Figure 1 This is a flowchart of the color calibration method according to an embodiment of the present application. Figure 1 The illustrated process steps include but are not limited to steps S101 to S106.
[0053] Step S101 : obtaining a print file of a preset target print image, wherein the target print image includes a target print image area and a calibration sample area, and the target print image area and the calibration sample area are partitioned in a first direction.
[0054] Step S102 , in the process of controlling the nozzle module to print the image line by line on the printing paper in the second direction according to the printing file, the visual recognition module obtains the actual calibration mark in the calibration sample area corresponding to the target line.
[0055] Step S103 : determining an offset according to the actual calibration mark, the preset reference initial point and the preset calibration mark.
[0056] Step S104 , adjusting the nozzle module according to the offset to calibrate the printing position of the nozzle module in the target printing image area corresponding to the next line of the target printing line.
[0057] According to the color calibration method of the embodiment of the present application, there are at least the following beneficial effects: the target printing image is divided into a target printing image area and a calibration sample area along a first direction, so as to realize color calibration while printing the image, so as to ensure the real-time nature of the color calibration; the actual calibration mark in the calibration sample area corresponding to the target row is obtained through the visual recognition module, and then the offset of the ink jet mark sprayed by the nozzle module is calculated based on the actual calibration mark obtained, the preset reference initial point and the preset calibration mark, and then the nozzle module is adjusted according to the offset to calibrate the ink jet position of the nozzle module, so that the printing position in the target printing image area corresponding to the next row can be aligned, thereby realizing automatic recognition and correction of color deviation, and thus improving the efficiency of color registration.
[0058] In step S101 of some embodiments, while the printing paper is placed on the transmission module, the print file of the target printing image is uploaded to the terminal control module. The target printing image includes a target printing image area and a calibration sample area. The target printing image area is used for color registration operation, and the calibration sample area is used for calibrating the color registration position.
[0059] It should be noted that the first direction and the second direction are perpendicular to each other.
[0060] In some embodiments, reference Figure 2 Before step S102, the steps may also include but are not limited to steps S201 to S202.
[0061] Step S201, based on a preset first theoretical distance, controlling the first nozzle assembly to perform inkjet operation on the printing paper, so that a first actual calibration mark is formed on the calibration sample area, wherein the first theoretical distance is the distance between the first preset calibration mark and the reference initial point.
[0062] Step S202, based on a preset second theoretical distance, controlling the second nozzle assembly to perform inkjet operation on the printing paper, so that a second actual calibration mark is formed on the calibration sample area, wherein the second theoretical distance is the distance between the second preset calibration mark and the reference initial point.
[0063] In step S201 of some embodiments, a first theoretical spacing is preset, and the first theoretical spacing is the theoretical spacing between the first preset calibration mark of the first nozzle assembly and the reference initial point in the calibration sample area. According to the first theoretical spacing and the transmission rate of the transmission module, the time for the first nozzle assembly to reach the required inkjet position of the first nozzle assembly after passing the first theoretical spacing from the reference initial point is calculated, that is, the first theoretical time of the first preset calibration mark. Then, based on the first theoretical time, the inkjet time of the first nozzle assembly is controlled, that is, the time when the first nozzle assembly is turned on.
[0064] It should be noted that: the first nozzle assembly will spray ink in the target printing image area simultaneously with the calibration sample area, so as to detect whether the color registration position of the first nozzle assembly in the target printing image area is accurate; while the color registration operation is being performed in the target printing image area, the operator can also use the naked eye to judge whether the color registration in the calibration sample area is accurate at this time, and then the last correction operation of the target line can be checked to judge the accuracy of the correction, while the calibration sample area is equivalent to judging whether there is still a deviation this time. The combination of the target printing image area and the calibration sample area realizes the real-time correction of the color registration operation of the first nozzle assembly while also being able to judge the accuracy of the correction.
[0065] In step S202 of some embodiments, a second theoretical spacing is preset, and the second theoretical spacing is the theoretical spacing between the second preset calibration mark of the second nozzle assembly and the reference initial point in the calibration sample area. According to the second theoretical spacing and the transmission rate of the transmission module, the second theoretical time for the second nozzle assembly to reach the required inkjet position of the second nozzle assembly after passing the second theoretical spacing from the reference initial point is calculated, that is, the second theoretical time of the second preset calibration mark. Then, based on the second theoretical time, the inkjet time of the second nozzle assembly, that is, the time when the second nozzle assembly is turned on, is controlled.
[0066] It should be noted that: the second nozzle assembly will spray ink in the target printing image area simultaneously with the calibration sample area, so as to detect whether the color registration position of the second nozzle assembly in the target printing image area is accurate; while the color registration operation is being performed in the target printing image area, the operator can also use the naked eye to judge whether the color registration in the calibration sample area is accurate at this time, and then the second correction operation of the target line can be inspected to judge the accuracy of the correction, and the calibration sample area is equivalent to judging whether there is still a deviation this time. The combination of the target printing image area and the calibration sample area realizes the real-time correction of the color registration operation of the second nozzle assembly and can also judge the accuracy of the correction.
[0067] Steps S201 to S202 shown in the embodiment of the present application control the first nozzle assembly to spray ink according to a preset first theoretical spacing, and control the second nozzle assembly to spray ink according to a preset second theoretical spacing, thereby facilitating precise control of the inkjet operation of the nozzle module, and leaving actual calibration marks in the calibration sample area, which is also convenient for subsequent visual recognition module to identify and determine whether the color is offset.
[0068] It should be noted that the absolute value of the difference between the first theoretical spacing and the second theoretical spacing is greater than 1 mm. The nozzle module includes at least two groups of nozzle assemblies, that is, the nozzle module may also include a third nozzle assembly, a fourth nozzle assembly, and so on.
[0069] In some embodiments, reference Figure 3 , step S102 may include but is not limited to step S301 to step S302.
[0070] Step S301 : performing image recognition on the calibration sample area corresponding to the target row through a visual recognition module to obtain a first image.
[0071] Step S302: extract the ink on the first image to obtain an actual calibration mark.
[0072] In step S301 of some embodiments, a visual recognition module performs an image recognition operation on a preset recognition range of the calibration sample area to obtain a first image.
[0073] In step S302 of some embodiments, the first image is grayscaled, denoised, and other processing is performed, and then the ink on the first image is extracted. Along the second direction, the ink on the calibration sample area is set as the second actual calibration mark and the first actual calibration mark in sequence, and then the position of the actual calibration mark on the first image is obtained.
[0074] In steps S301 to S302 shown in the embodiment of the present application, by gray-scaling and denoising the first image, the first image is made clearer and the ink on the first image is easier to extract; and by determining the first actual calibration mark and the second actual calibration mark, it is convenient to subsequently judge whether the color matching operation is offset by the distance between the first actual calibration mark and the second actual calibration mark and the reference initial point.
[0075] It should be noted that the visual recognition module performs an image recognition operation on the calibration sample area on the printed paper at every preset time interval, thereby ensuring the real-time nature of the calibration operation.
[0076] In some embodiments, reference Figure 4 , step S103 may include but is not limited to steps S401 to S404.
[0077] Step S401 : Calculate the distance between the first actual calibration mark and the reference initial point to obtain a first actual distance.
[0078] Step S402: Subtract the first actual distance from the first theoretical distance to obtain a first offset.
[0079] Step S403: Calculate the distance between the second actual calibration mark and the reference initial point to obtain a second actual distance.
[0080] Step S404: Subtract the second actual distance from the second theoretical distance to obtain a second offset.
[0081] In step S401 of some embodiments, the direction of movement of the printing paper, that is, the opposite direction of the second direction, is used as the positive direction of the coordinate axis, and the first coordinate corresponding to the reference initial point on the coordinate axis is calculated, and then the second coordinate corresponding to the first actual calibration mark on the coordinate axis is calculated, and the second coordinate is subtracted from the first coordinate to calculate the first actual spacing.
[0082] In step S402 of some embodiments, the first actual spacing is subtracted from the first theoretical spacing to obtain a first offset. When the first offset is zero, it means that the color position of the first nozzle assembly is accurate at this time. When the first offset is less than zero or greater than zero, it means that the color position of the first nozzle assembly is inaccurate at this time.
[0083] Furthermore, in other embodiments, the distance between the first actual calibration mark and the first preset calibration mark can be directly identified by the visual recognition module as a first offset, wherein, when the first offset is not zero at this time, along the second direction, if the first actual calibration mark and the first preset calibration mark are sequentially, then the first offset is greater than zero at this time; if the first preset calibration mark and the first actual calibration mark are sequentially, then the first offset is less than zero at this time.
[0084] In step S403 of some embodiments, the direction of movement of the printing paper, that is, the second direction, is used as the direction of the coordinate axis, and the first coordinate corresponding to the reference initial point on the coordinate axis is calculated. Then, the third coordinate corresponding to the second actual calibration mark on the coordinate axis is calculated, and the third coordinate is subtracted from the first coordinate to calculate the second actual distance.
[0085] In step S404 of some embodiments, the second actual spacing is subtracted from the second theoretical spacing to obtain a second offset. When the second offset is zero, it means that the color position of the second nozzle assembly is accurate at this time. When the second offset is less than zero or greater than zero, it means that the color position of the second nozzle assembly is inaccurate at this time.
[0086] Furthermore, in other embodiments, the distance between the second actual calibration mark and the second preset calibration mark can be directly identified by the visual recognition module as a second offset, wherein, when the second offset is not zero at this time, along the second direction, if the second actual calibration mark and the second preset calibration mark are sequentially, then the second offset is greater than zero at this time; if the second preset calibration mark and the second actual calibration mark are sequentially, then the second offset is less than zero at this time.
[0087] In steps S401 to S404 shown in the embodiment of the present application, by calculating the first offset, it is convenient to determine whether the first nozzle assembly has a chromatic offset, and by calculating the second offset, it is convenient to determine whether the second nozzle assembly has a chromatic offset, thereby realizing automatic judgment of whether the first nozzle assembly and the second nozzle assembly have a chromatic offset, thereby eliminating the step of manually detecting the chromatic offset and saving labor costs.
[0088] It should be noted that there may be multiple reference initial points, and the distance between the multiple reference initial points may be a preset fixed interval, or the distance between two reference initial points may be dynamically adjusted after calibration.
[0089] In some embodiments, reference Figure 5 , step S104 may include but is not limited to steps S501 to S504.
[0090] Step S501: If the first offset is less than zero or greater than zero, the inkjet timing of the first nozzle assembly is adjusted accordingly.
[0091] Step S502: If the second offset is less than zero or greater than zero, the inkjet timing of the second nozzle assembly is adjusted accordingly.
[0092] In step S501 of some embodiments, the inkjet time of the first nozzle assembly is adjusted by the size of the first offset, and then the position of the first actual calibration mark is adjusted so that the position of the first actual calibration mark coincides with the position of the first preset calibration mark, thereby achieving color correction of the first nozzle assembly.
[0093] In step S502 of some embodiments, the inkjet time of the second nozzle assembly is adjusted by the size of the second offset, and then the position of the second actual calibration mark is adjusted so that the position of the second actual calibration mark coincides with the position of the second preset calibration mark, thereby achieving color correction of the second nozzle assembly.
[0094] In steps S501 to S502 shown in the embodiment of the present application, the size of the first offset is used to determine whether the inkjet time of the first nozzle assembly is advanced or delayed, and the inkjet time of the first nozzle assembly is adjusted accordingly, so that the first nozzle assembly can accurately spray ink at the position of the first preset calibration mark, so that the printing position of the first nozzle assembly corresponding to the target image printing area can also coincide with the preset one, thereby realizing automatic calibration of the color offset of the first nozzle assembly; and the size of the second offset is used to determine whether the inkjet time of the second nozzle assembly is advanced or delayed, and the inkjet time of the second nozzle assembly is adjusted accordingly, so that the second nozzle assembly can accurately spray ink at the position of the second preset calibration mark, so that the printing position of the second nozzle assembly corresponding to the target image printing area can also coincide with the preset one, thereby realizing automatic calibration of the color offset of the second nozzle assembly, thereby reducing the required labor cost and improving the efficiency of color registration.
[0095] In some embodiments, reference Figure 6 , step S104 may include but is not limited to steps S503 to S506.
[0096] Step S503: If the first offset is greater than zero, a first timing advance of the inkjet timing of the first nozzle assembly is obtained based on the moving speed of the printing paper.
[0097] Step S504: If the second offset is less than zero, a first time delay of the inkjet timing of the first nozzle assembly is obtained based on the moving speed of the printing paper.
[0098] Step S505: If the second offset is greater than zero, a second timing advance of the inkjet timing of the second nozzle assembly is obtained based on the moving speed of the printing paper.
[0099] Step S506: If the second offset is less than zero, a second time delay of the inkjet time of the second nozzle assembly is obtained based on the moving speed of the printing paper.
[0100] In step S503 of some embodiments, when the first offset is greater than zero, that is, the first actual spacing is greater than the first theoretical spacing, the inkjet time of the first nozzle assembly is delayed, so that the inkjet position of the first nozzle assembly is delayed compared to the first preset calibration mark in the opposite direction of the second direction. At this time, based on the moving speed of the printing paper, the inkjet time of the first nozzle assembly is advanced accordingly. For example: the first offset is 6mm, and the speed at which the transmission module drives the printing paper to move is 3mm / s. At this time, the time that the first nozzle assembly should advance to spray ink is the absolute value of the first offset divided by the moving speed of the printing paper, that is, 6mm divided by 3mm / s, and the first time advance of 2s is obtained. That is, the first nozzle assembly should be turned on 2s in advance to perform the inkjet printing operation.
[0101] In step S504 of some embodiments, when the first offset is less than zero, that is, the first actual spacing is less than the first theoretical spacing, the inkjet time of the first nozzle assembly is advanced, so that the inkjet position of the first nozzle assembly is advanced toward the second direction compared to the first preset calibration mark. At this time, based on the moving speed of the printing paper, the inkjet time of the first nozzle assembly is correspondingly delayed. For example: the first offset is -10mm, and the speed at which the transmission module drives the printing paper to move is 2.5mm / s. At this time, the time that the first nozzle assembly should advance to spray ink is the absolute value of the first offset divided by the moving speed of the printing paper, that is, 10mm divided by 2.5mm / s, and the first time delay of 4s is obtained. That is, the first nozzle assembly should be delayed for 4s to start, and then perform the inkjet printing operation.
[0102] It should be noted that the inkjet time of the first nozzle assembly refers to the opening time of the first nozzle assembly; the inkjet time of the first nozzle is pre-set, and the first time delay amount and the first time advance amount are adjusted based on the preset inkjet time of the first nozzle assembly to advance or delay.
[0103] In step S505 of some embodiments, when the first offset is greater than zero, that is, the first actual spacing is greater than the first theoretical spacing, the inkjet time of the second nozzle assembly is advanced, and the inkjet position of the second nozzle assembly is delayed compared to the second preset calibration mark in the opposite direction of the second direction. At this time, based on the moving speed of the printing paper, the inkjet time of the second nozzle assembly is advanced accordingly. For example: the first offset is 6mm, and the speed at which the transmission module drives the printing paper to move is 3mm / s. At this time, the time that the second nozzle assembly should advance to spray ink is the absolute value of the first offset divided by the moving speed of the printing paper, that is, 6mm divided by 3mm / s, and the second time advance of 2s is obtained. That is, the second nozzle assembly should be turned on 2s in advance to perform the inkjet printing operation.
[0104] In step S506 of some embodiments, when the first offset is less than zero, that is, the first actual spacing is less than the first theoretical spacing, that is, the position of the second nozzle assembly spraying ink is advanced in the second direction compared to the second preset calibration mark. At this time, based on the moving speed of the printing paper, the inkjet time of the second nozzle assembly is correspondingly delayed. For example: the first offset is -10mm, and the speed at which the transmission module drives the printing paper to move is 2.5mm / s. At this time, the time that the second nozzle assembly should advance to spray ink is the absolute value of the first offset divided by the moving speed of the printing paper, that is, 10mm divided by 2.5mm / s, and the second time delay of 4s is obtained. That is, the second nozzle assembly should be delayed for 4s to start, and then perform the inkjet printing operation.
[0105] It should be noted that the inkjet time of the second nozzle assembly refers to the opening time of the second nozzle assembly; the inkjet time of the second nozzle is pre-set, and the second time delay and the second time advance are adjusted based on the preset inkjet time of the second nozzle assembly to advance or delay.
[0106] In steps S503 to S506 of the embodiment of the present application, when the first offset is greater than or less than zero, the amount of time required to delay or advance the first nozzle assembly is calculated based on the moving speed of the test sample and the size of the offset, thereby realizing automatic calibration of the first nozzle assembly when the color shift occurs; when the second offset is greater than or less than zero, the amount of time required to delay or advance the second nozzle assembly is calculated based on the moving speed of the test sample and the size of the offset, thereby realizing automatic calibration of the second nozzle assembly when the color shift occurs.
[0107] Furthermore, in some embodiments, Figure 7 and Figure 8 ,in, Figure 7Schematic diagram of printing paper when color offset occurs. At this time, the distance between the first actual calibration mark and the reference initial point, that is, the first actual spacing, is smaller than the distance between the first preset calibration mark and the reference initial point, that is, the first theoretical spacing. At this time, the inkjet time of the first nozzle assembly should be delayed accordingly. At the same time, the distance between the second actual calibration mark and the reference initial point, that is, the second actual spacing, is smaller than the distance between the second preset calibration mark and the reference initial point, that is, the second theoretical spacing. At this time, the inkjet time of the second nozzle assembly should be advanced accordingly, thereby achieving the following. Figure 8 The effect of Figure 8 It can be seen that at this time, the first actual calibration mark coincides with the first preset calibration mark, and the second actual calibration mark coincides with the second preset calibration mark, indicating that the first nozzle assembly and the second nozzle assembly have restrained the deviation, that is, the printing positions of the first nozzle assembly and the second nozzle assembly corresponding to the target image printing area have been calibrated.
[0108] It can be understood that: there are multiple first preset calibration marks and multiple second preset calibration marks, and the multiple first preset calibration marks and the multiple second preset calibration marks are evenly distributed along the second direction in the calibration sample area.
[0109] For example, in some embodiments, in the calibration sample area, the first preset calibration mark and the second preset calibration mark are periodically distributed, that is, the position and number of the first preset calibration mark and the second preset calibration mark in each period are equal, and the intervals between adjacent preset calibration marks are consistent, so as to enable real-time detection and correction of the color registration operation. Accordingly, there are also multiple first actual calibration marks and second actual calibration marks printed by the first nozzle assembly and the second nozzle assembly, and the multiple first actual calibration marks correspond one-to-one to the multiple first preset effective marks, and the multiple second actual calibration marks correspond one-to-one to the multiple second preset calibration marks.
[0110] Furthermore, in other embodiments, the first preset calibration mark and the second preset calibration mark are distributed non-periodically, and the intervals between adjacent preset calibration marks are also different, thereby making the color calibration more flexible and the target printing images that can be applied more widely.
[0111] Furthermore, in some other embodiments, the distribution of the first preset calibration mark and the second preset calibration mark in the calibration sample area is set according to the accuracy of the correction. In this embodiment, when the nozzle module prints in the target image printing area, it does not necessarily print the actual calibration mark in the calibration sample area at the same time, but needs to print the actual calibration mark in the calibration sample area after a preset target row. For example: when the preset number of interval rows is three rows, the first nozzle assembly prints in both the target image area and the calibration sample area of the target row, then in the next three rows that the first nozzle assembly needs to print In the process, printing is only performed in the target image printing area, without printing in the calibration sample area. Printing is not performed in both the target image area and the calibration sample area until the fourth line. Correspondingly, the number of the first preset calibration mark distribution is also reduced. When two consecutive target lines are detected to have color deviation and correction is performed, the preset number of interval lines is adjusted to two lines, one line, or no interval line, until the color operation no longer deviates within a preset period of time, and then the preset interval is reset to three lines. During this process, the distribution of the first preset calibration mark is dynamically adjusted as the preset number of interval lines is adjusted. In this way, when the correction rate is low, the number of detections can be reduced, thereby reducing energy consumption. When the correction rate is high, the number of detections can be increased in a timely manner, and the color operation can be corrected in a timely manner. Dynamic adjustment settings are more flexible than static adjustment settings and are applicable to a wider range of scenarios.
[0112] In some specific embodiments, the nozzle module includes four nozzle assemblies, namely a first nozzle assembly, a second nozzle assembly, a third nozzle assembly and a fourth nozzle assembly, wherein the first nozzle assembly is loaded with cyan ink, the second nozzle assembly is loaded with magenta ink, the third nozzle assembly is loaded with yellow ink, and the fourth nozzle assembly is loaded with black ink. The printing paper is arranged on the transmission module, and the transmission module drives the printing paper to be transported along the first direction at a moving speed of 10 cm / s. The first nozzle assembly, the second nozzle assembly, the third nozzle assembly and the fourth nozzle assembly are sequentially arranged directly above the printing paper along the first direction. The printing paper includes a target printing image area, a calibration sample area and a third area. The target printing image area is used for the first nozzle assembly , the second nozzle assembly, the third nozzle assembly and the fourth nozzle assembly perform color registration operation, the calibration sample area is used to detect whether the color registration of the first nozzle assembly, the second nozzle assembly, the third nozzle assembly and the fourth nozzle assembly is positionally offset, and the third area is used to manually judge whether the color registration is offset, that is, when the color registration device is operating, the first nozzle assembly, the second nozzle assembly, the third nozzle assembly and the fourth nozzle perform inkjet operation on the third area in turn, and then manually observe the third area to judge whether the color registration operation is offset, so as to verify the accuracy of the automatic deviation correction of the color registration device; the visual recognition module is also arranged directly above the printing paper, and the visual recognition module will image a specific range of the target printed image area at a preset time interval. Identification operation; the reference initial point will be uploaded to the terminal control module before the color registration device is started. When the color registration device starts to operate, the first nozzle assembly, the second nozzle assembly, the third nozzle assembly and the fourth nozzle sequentially perform inkjet operations on the printing paper, and then form the first ink mark, the second ink mark, the third ink mark and the fourth ink mark in the target printing image area of the printing paper in sequence. The visual recognition module performs image recognition on the target printing image area, and obtains the first image through grayscale, denoising and other operations. Based on the first image, the first ink mark, the second ink mark, the third ink mark and the fourth ink mark are obtained, and then the actual distances between the first ink mark, the second ink mark, the third ink mark and the fourth ink mark and the reference initial point are calculated respectively. The first actual distance between the first ink mark and the reference initial point, the second actual distance between the first ink mark and the reference initial point, and the third actual distance between the second ink mark and the fourth ink mark are calculated respectively. The second actual distance between the ink mark and the reference initial point, the third actual distance between the third ink mark and the reference initial point, and the fourth actual distance between the fourth ink mark and the reference initial point are compared with the corresponding theoretical distances and then adjusted accordingly. For example, if the first theoretical distance between the first ink mark and the reference initial point is 0mm, if the measured first actual distance is also 0mm, then the difference between the first actual distance and the first theoretical distance, that is, the first offset, is 0mm, and it can be determined that the color registration position of the first nozzle assembly is accurate and no adjustment is required; if the measured first actual distance is 1mm, then the difference between the first actual distance and the first theoretical distance, that is, the first offset, is 1mm, and the inkjet time of the first nozzle assembly is delayed by 0.1s, where 0.1s is the absolute value of the first offset divided by the transport module's speed. If the measured first actual spacing is -1mm, the difference between the first actual spacing and the first theoretical spacing, i.e., the first offset, is -1mm. Therefore, the inkjet timing of the first nozzle assembly is advanced by 0.1s, thereby achieving deviation correction for the first nozzle assembly. The deviation correction for the second, third, and fourth nozzle assemblies is similar to that for the first nozzle assembly, thus achieving automatic deviation correction for color registration, reducing labor costs and improving color registration efficiency.
[0113] In other specific embodiments, there are multiple reference initial points. When the color does not shift, the interval between two adjacent reference initial points is fixed to the initial interval. When the color shifts, starting from the next reference initial point, the interval between adjacent reference initial points is shortened until the color shift is corrected and the interval between adjacent reference initial points is restored to the initial interval.
[0114] Reference Figure 9 , Figure 9 This is a schematic diagram of the structure of a printing device according to the second embodiment of the present application; the printing device according to the embodiment of the present application is applied to a color register device. The printing device includes:
[0115] Region division module 901: configured to obtain a print file of a preset target print image, where the target print image includes a target print image area and a calibration sample area, and the target print image area and the calibration sample area are partitioned in a first direction;
[0116] Image recognition module 902: configured to obtain an actual calibration mark in the calibration sample area corresponding to the target line through the visual recognition module during the process of controlling the print head module to print the image line by line on the printing paper in the second direction according to the print file;
[0117] Color correction module 903: configured to determine the offset based on the actual calibration mark, the preset reference initial point and the preset calibration mark; adjust the nozzle module according to the offset to calibrate the printing position of the nozzle module in the target printing image area corresponding to the next line of the printing target line.
[0118] In an embodiment of the present application, a print file of a preset target print image is obtained through an area division module, and the target print image includes a target print image area and a calibration sample area, and the target print image area and the calibration sample area are partitioned in the first direction; in the process of controlling the nozzle module to print the image line by line in the second direction on the printing paper according to the print file, the image recognition module obtains the actual calibration mark in the calibration sample area corresponding to the target line through the visual recognition module; the color correction module determines the offset according to the actual calibration mark, the preset reference initial point and the preset calibration mark; the nozzle module is adjusted according to the offset to calibrate the printing position of the nozzle module in the target print image area corresponding to the next line of the target line.
[0119] The third aspect of the present application further provides an electronic device, comprising a memory 1002 and a processor 1001. The memory 1002 stores a computer program, and the processor 1001 executes the computer program to implement the color calibration method of the first aspect. The electronic device can be any smart terminal, such as a tablet computer or an in-vehicle computer.
[0120] Reference Figure 9 , Figure 9 FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment. The electronic device includes:
[0121] The processor 1001 can be implemented as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0122] The memory 1002 can be implemented in the form of a read-only memory, a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1002 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1002 and is called by the processor 1001 to execute the television frame laser method of the embodiment of this application;
[0123] Input / output interface 1003, used to implement information input and output;
[0124] Communication interface 1004, used to implement communication interaction between this device and other devices, which can be achieved through wired communication or wireless communication;
[0125] Bus 1005, which transmits information between the various components of the device;
[0126] The processor 1001 , the memory 1002 , the input / output interface 1003 and the communication interface 1004 are connected to each other in communication within the device via the bus 1005 .
[0127] The fourth embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the color calibration method of the first embodiment.
[0128] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0129] The embodiments described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments of this application and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0130] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0131] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.
[0132] Those skilled in the art will appreciate that all or some of the steps in the methods, systems, and functional modules / units in the devices disclosed above may be implemented as software, firmware, hardware, or appropriate combinations thereof.
[0133] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0134] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0135] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0136] The units described above as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0137] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0138] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes multiple instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: various media that can store programs, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0139] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and essence of the present invention should be within the scope of the present invention.
Claims
1. A color calibration method, characterized in that: Applicable to a color register device, the color register device includes a nozzle module and a visual recognition module; The method comprises: Acquire a print file of a preset target print image, wherein the target print image includes a target print image area and a calibration sample area, and the target print image area and the calibration sample area are arranged in zones in a first direction; In the process of controlling the nozzle module to print the image line by line on the printing paper in the second direction according to the printing file, the visual recognition module obtains the actual calibration mark in the calibration sample area corresponding to the target line; Determining an offset based on the actual calibration mark, a preset reference initial point, and a preset calibration mark; The nozzle module is adjusted according to the offset to calibrate a printing position of the nozzle module in the target printing image area corresponding to a next line after printing the target line.
2. The color calibration method according to claim 1, wherein: The actual calibration mark includes a first actual calibration mark and a second actual calibration mark, the preset calibration mark includes a first preset calibration mark and a second preset calibration mark, the nozzle module includes a first nozzle assembly and a second nozzle assembly, and before obtaining the actual calibration mark in the calibration sample area corresponding to the target row through the visual recognition module, the method further includes: Based on a preset first theoretical distance, controlling the first nozzle assembly to eject ink onto the printing paper so that the first actual calibration mark is formed on the calibration sample area, wherein the first theoretical distance is the distance between the first preset calibration mark and the reference initial point; Based on a preset second theoretical distance, the second nozzle assembly is controlled to perform inkjet operation on the printing paper, so that the second actual calibration mark is formed on the calibration sample area, wherein the second theoretical distance is the distance between the second preset calibration mark and the reference initial point.
3. The color calibration method according to claim 2, wherein: The offset includes a first offset and a second offset, and determining the offset according to the actual calibration mark, the preset reference initial point, and the preset calibration mark includes: Calculating the distance between the first actual calibration mark and the reference initial point to obtain a first actual spacing; Subtracting the first actual distance from the first theoretical distance to obtain the first offset; Calculating the distance between the second actual calibration mark and the reference initial point to obtain a second actual spacing; The second offset is obtained by subtracting the second actual distance from the second theoretical distance.
4. The color calibration method according to claim 3, wherein: The adjusting the nozzle module according to the offset includes: If the first offset is less than zero or greater than zero, the ink jetting time of the first nozzle assembly is adjusted accordingly; If the second offset is less than zero or greater than zero, the ink jetting time of the second nozzle assembly is adjusted accordingly.
5. The color calibration method according to claim 4, characterized in that: The adjusting the nozzle module according to the offset further includes: If the first offset is greater than zero, obtaining a first time advance of the inkjet timing of the first nozzle assembly based on the moving speed of the printing paper; If the first offset is less than zero, obtaining a first time delay of the inkjet time of the first nozzle assembly based on the moving speed of the printing paper; If the second offset is greater than zero, obtaining a second time advance of the inkjet timing of the second nozzle assembly based on the moving speed of the printing paper; If the second offset is less than zero, a second time delay of the inkjet time of the second nozzle assembly is obtained based on the moving speed of the printing paper.
6. The color calibration method according to claim 2, wherein: There are multiple first preset calibration marks and multiple second preset calibration marks, and the multiple first preset calibration marks and the multiple second preset calibration marks are evenly distributed in the calibration sample area along the second direction.
7. The color calibration method according to claim 3, wherein: The step of obtaining the actual calibration mark in the calibration sample area corresponding to the target row by the visual recognition module includes: Performing image recognition on the calibration sample area corresponding to the target row by a visual recognition module to obtain a first image; The ink mark on the first image is extracted to obtain the actual calibration mark.
8. A printing device, characterized in that: Applied to color register device; The device comprises: An area division module is configured to obtain a print file of a preset target print image, wherein the target print image includes a target print image area and a calibration sample area, and the target print image area and the calibration sample area are divided into zones in a first direction; An image recognition module is configured to obtain, through a visual recognition module, an actual calibration mark in the calibration sample area corresponding to a target line during a process of controlling the nozzle module to print an image line by line on the printing paper in the second direction according to the printing file; Color correction module: configured to determine the offset based on the actual calibration mark, the preset reference initial point and the preset calibration mark; adjust the nozzle module according to the offset to calibrate the printing position of the nozzle module in the target printing image area corresponding to the next line of printing the target line.
9. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the color calibration method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the color calibration method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Splicing nozzle calibration method, device and equipment and storage medium
CN117656666A
Spray head chromatography detection image printing method, calibration value obtaining method, device and equipment
CN119348324A
Method and equipment for pre-printing calibration of different spray heads and storage medium
CN119459132A
Real-time calibration ink-jet printer and control system
CN119898122A
Ink-jet printing calibration method, ink-jet printing equipment, storage medium and program product
CN120080654A
Cited By
Multi-printing-nozzle automatic switching method, multi-color 3D printing system and computer storage medium
CN121224136A