Method, device and equipment for waveform optimization of ink-jet printer and medium

Through the machine vision system, the target pattern is collected and calibrated, the target ink dots are identified and the driving waveform is adjusted, which solves the problems of deviations in the driving waveform adjustment and low manual operation efficiency in the prior art, and achieves efficient and accurate inkjet printing effect.

CN119399109AActive Publication Date: 2025-02-07BEIJING BOYUAN HENGXIN TECH CO LTD

Patent Information

Application Number
CN202411352767.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2025-02-07
Estimated Expiration
2044-09-26

AI Technical Summary

Technical Problem

The existing inkjet printer driver waveform adjustment methods have deviations and the manual adjustment work intensity is high and the efficiency is low, which is heavily dependent on the experience of the operator.

Method used

The machine vision system is used to collect and calibrate the target pattern, and the target ink dots are identified through the edge contour extraction algorithm, and the target ejection ink dots and satellite dots are determined. Based on these points, the initial driving waveform is adjusted to obtain the target driving waveform.

Benefits of technology

The drive waveform of inkjet printers is achieved online optimization, which improves efficiency, reduces labor intensity, improves print quality, and reduces dependence on operator experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119399109A_ABST
    Figure CN119399109A_ABST
Patent Text Reader

Abstract

The invention discloses a waveform optimization method, device and equipment for an ink-jet printer and a medium, relates to the technical field of industrial ink-jet printing control software, and aims to solve the problems that an existing driving waveform adjustment method has deviation, and manual adjustment is high in working intensity and low in efficiency. The method comprises the steps of obtaining a target pattern; calibrating the machine vision system to obtain coordinate conversion parameters; extracting a target ink dot by adopting an edge contour extraction algorithm to obtain a centroid coordinate and a contour area of the target ink dot; on the basis of the coordinate conversion parameters and the center-of-mass coordinates, target ink dots which are closest to the ink dots to be observed and have contour areas meeting preset conditions are determined as target jet ink dots, and other target ink dots are satellite dots; and adjusting the initial driving waveform based on the target jet ink dot and the satellite point to obtain a target driving waveform. The method, the device and the equipment for waveform optimization of the ink-jet printer and the medium are used for improving the driving waveform optimization efficiency, reducing the labor intensity and improving the printing quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial inkjet printing control software, and in particular to a method, device, equipment and medium for optimizing the waveform of an inkjet printer. Background Art

[0002] The driving waveform of an inkjet printer is a key element in inkjet printing technology, which directly affects the ink droplet ejection effect, print quality and print speed. The existing optimization of the driving waveform usually uses an ink droplet observer to take pictures of the ink droplet ejection process, and analyzes and adjusts the waveform offline. Since the observation is performed on an ink droplet observer instead of an actual industrial inkjet printer, different nozzles and negative pressure ink paths will affect the sampling and cause certain deviations. Another method is usually for the waveform debugger to manually adjust the waveform according to the actual printing effect. Since it is a manual operation, the work intensity is high, the efficiency is low, and it is heavily dependent on the operator's experience. Summary of the invention

[0003] The purpose of the present invention is to provide a method, device, equipment and medium for optimizing the waveform of an inkjet printer, so as to solve the problems that the existing drive waveform adjustment method has deviations and the manual adjustment work is labor-intensive and inefficient.

[0004] In order to achieve the above object, the present invention provides the following technical solutions:

[0005] In a first aspect, the present application provides a method for optimizing an inkjet printer waveform, comprising:

[0006] Control the machine vision system to collect the target pattern;

[0007] Calibrate the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain coordinate conversion parameters;

[0008] Using an edge contour extraction algorithm to extract a target ink dot in the target pattern to obtain the centroid coordinates and contour area of ​​the target ink dot;

[0009] Based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area meets a preset condition is determined as a target ink dot to be ejected, and target ink dots other than the target ink dot to be ejected are determined as satellite dots;

[0010] The initial driving waveform is adjusted based on the target ejection ink dot and the satellite dot to obtain a target driving waveform.

[0011] Compared with the prior art, the present application provides a method for optimizing the waveform of an inkjet printer. By using a machine vision system to collect a target pattern, the drive waveform of the inkjet printer can be optimized online. The machine vision system is calibrated according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain coordinate conversion parameters. The setting of the preset grid lines can achieve accurate positioning of the ink dots to be observed, so that the determined target ink dots are more accurate, and thus the drive waveform adjusted based on the target ink dots is more accurate. Then, the edge contour extraction algorithm is used to extract the target ink dots in the target pattern to obtain the centroid coordinates and contour area of ​​the target ink dots. Based on the coordinate conversion parameters and the centroid coordinates, the target ink dots that are closest to the ink dots to be observed and whose contour area meets the preset conditions are determined as target ink dots, and the target ink dots other than the target ink dots are determined as satellite points. Rapid identification of target ink dots and satellite points can be achieved, and the determination of the target ink dots needs to meet two restrictions, namely, the closest distance and the contour area meeting the preset conditions, thereby improving the accuracy of the determined target ink dots, and thus the target drive waveform can be quickly obtained, which is efficient, reduces labor intensity, and improves printing quality.

[0012] Optionally, before calibrating the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain the coordinate conversion parameters, the method further includes:

[0013] Using the Canny edge detection algorithm to determine the edges of the grid lines in the target pattern;

[0014] Performing Hough transform on the edges of the grid lines in the target pattern to obtain point set coordinates of the grid lines in the target pattern;

[0015] The intersection coordinates of the grid lines of the target pattern are determined according to the point set coordinates.

[0016] Optionally, based on the coordinate conversion parameters and the centroid coordinates, determining a target ink dot that is closest to the ink dot to be observed and whose contour area satisfies a preset condition as a target ink dot to be ejected, and determining target ink dots other than the target ink dot to be ejected as satellite dots comprises:

[0017] According to the coordinate conversion parameters, the centroid coordinates of the target ink dot whose contour area meets the preset conditions are converted into coordinates in a preset pattern coordinate system to obtain the target centroid coordinates;

[0018] The target ink point corresponding to the target centroid coordinates closest to the ink point to be observed is determined as the target ejection ink point, and the target ink points other than the target ejection ink point are determined as satellite points.

[0019] Optionally, the adjusting the initial driving waveform based on the target ejection ink dot and the satellite point to obtain the target driving waveform includes:

[0020] Calculating the roundness, ink volume and landing error of the target ink jetting point;

[0021] The least square method is used to fit multiple target inkjet dots into straight lines;

[0022] Determine straightness based on the fitted straight line;

[0023] The initial driving waveform is adjusted according to the number of satellite dots, the area of ​​satellite dots, the roundness, ink volume, landing error and straightness of target ink jet dots to obtain a target driving waveform.

[0024] Optionally, the calculating of the roundness, ink volume and drop point error of the target ink jetting ink dot includes:

[0025] Using an edge detection algorithm to extract the contour of the target ink jetting point and fitting the contour of the target ink jetting point into a circle;

[0026] Determine the roundness and ink volume of the target ink jetting dots according to the fitted circle;

[0027] The distance difference between the target centroid coordinates of the target ejected ink dot and the ink dot to be observed is determined as the landing error.

[0028] Optionally, after adjusting the initial driving waveform based on the target ejection ink dot and the satellite dot, the method further includes:

[0029] Using the adjusted driving waveform to inkjet print the preset pattern to obtain a new target pattern;

[0030] The driving waveform is adjusted based on the new target pattern until the adjusted driving waveform meets the target condition, thereby obtaining a target driving waveform.

[0031] Optionally, the machine vision system is calibrated according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain the coordinate conversion parameters, which includes:

[0032] The coordinates of the nine intersection points in the grid lines of the target pattern and the coordinates of the corresponding nine intersection points in the preset grid lines are affine transformed to obtain coordinate transformation parameters.

[0033] In a second aspect, the present application provides a device for optimizing an inkjet printer waveform, comprising:

[0034] A target pattern acquisition module, used to control the machine vision system to acquire the target pattern;

[0035] A calibration module, used to calibrate the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain coordinate conversion parameters;

[0036] An extraction module, used to extract the target ink dots in the target pattern by using an edge contour extraction algorithm to obtain the centroid coordinates and contour area of ​​the target ink dots;

[0037] a target ink dot and satellite point determination module, for determining, based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area satisfies a preset condition as a target ink dot, and determining target ink dots other than the target ink dot as satellite points;

[0038] The driving waveform adjustment module is used to adjust the initial driving waveform based on the target ink jetting point and the satellite point to obtain a target driving waveform.

[0039] In a third aspect, the present application provides a device for optimizing an inkjet printer waveform, comprising: a communication unit / communication interface for controlling a machine vision system to acquire a target pattern;

[0040] A processing unit / processor, configured to calibrate the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the intersection coordinates of the corresponding preset grid lines to obtain coordinate conversion parameters;

[0041] Using an edge contour extraction algorithm to extract a target ink dot in the target pattern to obtain the centroid coordinates and contour area of ​​the target ink dot;

[0042] Based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area meets a preset condition is determined as a target ink dot to be ejected, and target ink dots other than the target ink dot to be ejected are determined as satellite dots;

[0043] The initial driving waveform is adjusted based on the target ejection ink dot and the satellite dot to obtain a target driving waveform.

[0044] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, the above-mentioned method for optimizing the inkjet printer waveform is implemented.

[0045] The technical effects achieved by the device type solution provided in the second aspect, the equipment type solution provided in the third aspect, and the computer-readable storage medium solution provided in the fourth aspect are the same as those of the method type solution provided in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0047] Figure 1 A flow chart of the method for optimizing the inkjet printer waveform provided by the present invention;

[0048] Figure 2 A schematic diagram of a preset pattern provided by the present invention;

[0049] Figure 3 A schematic diagram of the driving waveform optimization provided by the present invention;

[0050] Figure 4 A schematic diagram of the structure of a device for optimizing the inkjet printer waveform provided by the present invention;

[0051] Figure 5 A schematic diagram of the device structure for optimizing the inkjet printer waveform provided by the present invention.

[0052] Reference numerals:

[0053] 1- ink point to be observed, 2- intersection of preset grid lines, 3- calibration point. DETAILED DESCRIPTION

[0054] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first threshold and the second threshold are only used to distinguish different thresholds, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0055] It should be noted that, in the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0056] In the present invention, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, the combination of a and b, the combination of a and c, the combination of b and c, or the combination of a, b and c, where a, b, c can be single or multiple.

[0057] The existing inkjet printer waveform adjustment mainly consists of two steps. First, use an ink droplet observer to shoot the ink droplet ejection process, analyze and adjust the waveform offline. Since it is not actual printing, there is a certain deviation. It is mainly used for the initial involvement of the waveform. Second, during actual printing, the waveform debugger manually adjusts the waveform according to the actual printing effect. Since it is a manual operation, the work intensity is high, the efficiency is low, and it is heavily dependent on the operator's experience.

[0058] To solve the above problems, the present application provides a method, device, equipment and medium for optimizing the waveform of an inkjet printer, and uses a machine vision system to collect a pre-designed pattern. A machine vision algorithm is used to identify the actual injection point and satellite point. A statistical analysis is performed on the actual injection point and satellite point to obtain a method for improving the waveform and adjust the current waveform. The present application can realize online waveform adjustment, improve efficiency and reduce labor intensity. The following is an explanation with reference to the accompanying drawings.

[0059] Figure 1 A flowchart of a method for optimizing an inkjet printer waveform is provided in this application, such as Figure 1 As shown, the method comprises the following steps:

[0060] Step 101: Control the machine vision system to collect the target pattern;

[0061] The target pattern is obtained by printing a preset pattern with an industrial inkjet printer, for example, Figure 2 The preset pattern shown includes 6×6 preset grid lines and ink dots 1 to be observed located at the center point of each grid line of the preset grid lines, wherein the intersection 2 of the preset grid lines is used to locate the ink dots to be observed. When designing the preset pattern, the number of rows, columns and spacing of the preset grid lines need to be designed. After designing the preset pattern, the coordinates of the intersections of the preset grid lines need to be calculated and recorded and saved.

[0062] Before step 102, a straight line detection algorithm needs to be used to identify the grid lines of the printed target pattern to obtain the intersection coordinates of the grid lines of the target pattern;

[0063] As an optional method, the Canny edge detection algorithm is used to determine the edges of the grid lines in the target pattern;

[0064] Performing Hough transform on the edges of the grid lines in the target pattern to obtain the coordinates of the point set on the straight line of the grid lines in the target pattern;

[0065] The intersection coordinates of the grid lines of the target pattern are determined according to the point set coordinates.

[0066] Specifically, the coordinates of the points in the point set coordinates are substituted into the straight line equation formula (1), and the two straight line equations are combined to obtain the intersection point of the two straight lines.

[0067] y=kx+b (1)

[0068] Among them, y is the vertical coordinate of the point, x is the horizontal coordinate of the point, k is the slope of the line, and b is the intercept on the vertical coordinate.

[0069] Step 102: calibrating the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the intersection coordinates of the corresponding preset grid lines to obtain coordinate conversion parameters;

[0070] As an optional method, the nine-point calibration method can be used to perform affine transformation on the coordinates of the nine intersection points in the target pattern grid lines and the coordinates of the corresponding nine intersection points in the preset grid lines to obtain coordinate transformation parameters. Figure 2 , the nine calibration points 3 are the nine intersection points used in the nine-point calibration, and the nine calibration points 3 are Figure 2 It should be noted that the number of calibration points 3 can be more than nine, and several points can be added on this basis. The nine-point calibration method is a method for determining the conversion relationship between the camera pixel coordinate system and the actual space coordinate system. Through calibration, the pixel coordinates of the camera can be converted into space coordinates. The nine-point calibration method is widely used in the field of industrial automation, especially in machine vision systems.

[0071] Step 103: extracting the target ink dots in the target pattern using an edge contour extraction algorithm to obtain the centroid coordinates and contour area of ​​the target ink dots;

[0072] Specifically, an edge contour extraction algorithm is used to extract the edge contour of the target ink dot in the target pattern, and the contour is fitted into a circle, the center of the circle is the centroid coordinate of the target ink dot, and the contour area is calculated based on the fitted circle.

[0073] The target ink dot is obtained by printing the ink dot to be observed by an inkjet printer. Ideally, each ink dot to be observed corresponds to one target ink dot. However, due to the ejection of ink droplets, each ink dot to be observed will have multiple corresponding target ink dots. The purpose of this application is to adjust the driving waveform to make the printed target ink dot as small as possible.

[0074] Step 104: Based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area meets a preset condition is determined as a target ink dot to be ejected, and target ink dots other than the target ink dot to be ejected are determined as satellite dots;

[0075] Specifically, according to the coordinate conversion parameters, the centroid coordinates of the target ink dot whose contour area meets the preset conditions are converted into coordinates in a preset pattern coordinate system to obtain the target centroid coordinates;

[0076] The target ink point corresponding to the target centroid coordinates closest to the ink point to be observed is determined as the target ejection ink point, and the target ink points other than the target ejection ink point are determined as satellite points.

[0077] It can be understood that the target ink dot is the actual ink drop point; the contour area that meets the preset conditions is the point with a relatively large contour area among the target ink dots. The preset conditions can be set according to actual conditions to a contour area greater than a preset area threshold or a contour area that is the contour area of ​​the top N after all target ink dots are sorted from large to small, where N is a positive integer.

[0078] Step 105: adjusting the initial driving waveform based on the target ink ejection point and the satellite point to obtain a target driving waveform.

[0079] Specifically, step 105 includes step S1: calculating the roundness, ink volume and landing error of the target ink jetting point;

[0080] Step S2: fitting multiple target ink jetting dots into straight lines using the least squares method;

[0081] Step S3: determining the straightness according to the fitted straight line;

[0082] Step S4: adjusting the initial driving waveform according to the number of satellite dots, the area of ​​satellite dots, the roundness, ink volume, landing error and straightness of the target ink jetting dots to obtain the target driving waveform.

[0083] In the above step S1, the ink volume can be directly replaced by the area of ​​the contour, the point error is the coordinate difference of the center point of the circle, and the errors of multiple points are fitted by the least square method to obtain the best approximation of the straight line. The straightness is evaluated according to the mean square error of the fitting. Step S1 is specifically: using an edge detection algorithm to extract the contour of the target ink jet point and fitting the contour of the target ink jet point into a circle;

[0084] Determine the roundness and ink volume of the target ink jetting dots according to the fitted circle;

[0085] The distance difference between the target centroid coordinates of the target ejected ink dot and the ink dot to be observed is determined as the landing error.

[0086] The roundness calculation formula is shown in formula (1):

[0087] Roundness=4πArea / (L*L) (1)

[0088] Among them, Roundness is the roundness, Area is the area of ​​the fitted circle, π is the pi, and L is the circumference of the fitted circle.

[0089] In the above step S4, when adjusting the driving waveform, the machine vision system comprehensively analyzes the obtained parameters such as the number of satellite points, the area of ​​satellite points, the roundness of the target ink dots, the ink volume, the drop point error and the straightness, and combines the influence relationship between these parameters and the driving waveform parameters, and refers to the existing waveform to adjust the driving waveform parameters to form a new waveform. The influence relationship between the driving waveform parameters and the number of satellite points, the area of ​​satellite points, the roundness of the target ink dots, the ink volume, the drop point error and the straightness, etc., is exemplified as follows: Figure 3 The driving waveform of the nozzle shown, the slope of band L1 is the rising edge slope of the driving waveform, the voltage of band L2 is the maximum voltage of the driving waveform, the width of band L3 is the peak spacing of the driving waveform, the maximum voltage of the driving waveform is related to the number of satellite points, the higher the maximum voltage, the easier it is to generate satellite points, the peak spacing is related to the amount of ink, the larger the peak spacing, the larger the amount of ink may become, the rising edge slope of the driving waveform is related to roundness and straightness, the larger the rising edge slope, the poor roundness but good straightness. The initial driving waveform is the driving waveform used by the inkjet printer in the target pattern obtained by printing the preset pattern. In actual application, when the number of satellite points, the area of ​​satellite points, the roundness of the target jetting ink point, the ink amount, the point error and the straightness are obtained, the actual jetting ink point quality evaluation will be performed based on these parameters. For example, the straightness is the least squares method of the collected ink points to get the best straight line, and then the mean square error is calculated. The smaller the mean square error, the better; the fewer the number of satellite points, the smaller the area, the better the quality. The closer the size of the actual ink dot to the actual ink dot size required to be ejected, the better; the rounder the roundness of the actual ink dot, the better; and the smaller the landing error, the better.

[0090] In actual application, adjusting the driving waveform once may not result in the optimal driving waveform, so it is necessary to adjust the driving waveform multiple times until the optimal driving waveform is obtained. Specifically, after adjusting the initial driving waveform based on the target ejection ink dot and the satellite point, the following steps are further included:

[0091] updating the driving waveform of the inkjet printer to the adjusted driving waveform;

[0092] Using the adjusted driving waveform to inkjet print the preset pattern to obtain a new target pattern;

[0093] The driving waveform is adjusted based on the new target pattern until the adjusted driving waveform meets the target condition, thereby obtaining the target driving waveform. It can be understood that adjusting the driving waveform based on the new target pattern is a process of repeating steps 102 to 105. The target driving waveform finally obtained is the optimal driving waveform, and the target conditions that the optimal driving waveform needs to meet are: the number of satellite points, the area of ​​satellite points, the roundness of the target ejected ink point, the ink volume, the landing point error and the straightness are all within the corresponding preset thresholds.

[0094] The present application can collect the pattern printed by the inkjet printer online through the machine vision system, and identify the collected pattern based on the machine vision algorithm to obtain the actual injection landing point and satellite point, optimize the driving waveform based on this, and then update the waveform to continue to repeat the collection and analysis process until the optimal waveform is obtained. The entire process is completely completed by the machine vision system, avoiding the problems of high labor intensity and low efficiency of manual operation and heavy reliance on the operator's experience. Among them, by using a machine vision system to collect the target pattern, the online optimization of the driving waveform of the inkjet printer can be realized; the machine vision system is calibrated according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain the coordinate conversion parameters, and the setting of the preset grid lines can realize the accurate positioning of the ink dots to be observed, so that the determined target ink dots are more accurate, and then the driving waveform adjusted based on the target ink dots is more accurate; then the target ink dots in the target pattern are extracted by an edge contour extraction algorithm to obtain the centroid coordinates and contour area of ​​the target ink dots; based on the coordinate conversion parameters and centroid coordinates, the target ink dots closest to the ink dots to be observed and whose contour area meets the preset conditions are determined as target ink dots, and the target ink dots other than the target ink dots are determined as satellite points; the rapid identification of target ink dots and satellite points can be realized, and the determination of the target ink dots needs to meet two restrictions, such as the closest distance and the contour area meeting the preset conditions, which improves the accuracy of the determined target ink dots, and then the target driving waveform can be quickly obtained, which is efficient and improves the printing quality. In addition, due to the modification of the waveform, inconsistent effects on the target will be produced. Our goal is to pursue the overall best, and this problem can be classified as a multi-objective planning optimization problem. This application uses the above method to calculate the number of satellite points, the area of ​​satellite points, the roundness, ink volume, landing error and straightness of the target ink jet point, and then comprehensively considers these parameters to adjust the waveform parameters, thereby obtaining the optimal driving waveform solution after comprehensive balance of multiple parameters such as the number of satellites, the roundness, straightness, and landing error of the target ink jet point.

[0095] The embodiment of the present invention can divide the functional modules according to the above method. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0096] In the case of dividing each functional module into corresponding functional modules, Figure 4 The schematic diagram of the device structure for optimizing the inkjet printer waveform provided by the present invention is shown. Figure 4 As shown, the device comprises:

[0097] The target pattern acquisition module 401 is used to control the machine vision system to acquire the target pattern;

[0098] A calibration module 402 is used to calibrate the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the intersection coordinates of the corresponding preset grid lines to obtain coordinate conversion parameters;

[0099] An extraction module 403 is used to extract the target ink dots in the target pattern using an edge contour extraction algorithm to obtain the centroid coordinates and contour area of ​​the target ink dots;

[0100] A target ink dot and satellite point determination module 404 is used to determine, based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area meets a preset condition as a target ink dot, and to determine target ink dots other than the target ink dot as satellite points;

[0101] The driving waveform adjustment module 405 is used to adjust the initial driving waveform based on the target ink ejection point and the satellite point to obtain a target driving waveform.

[0102] Optionally, the device further comprises a module for calculating the intersection coordinates of the grid lines of the target pattern, for determining the edges of the grid lines in the target pattern using a Canny edge detection algorithm;

[0103] Performing Hough transform on the edges of the grid lines in the target pattern to obtain point set coordinates of the grid lines in the target pattern;

[0104] The intersection coordinates of the grid lines of the target pattern are determined according to the point set coordinates.

[0105] Optionally, the target ink jetting point and satellite point determination module 404 may include:

[0106] A target centroid coordinate determination unit, configured to convert the centroid coordinates of a target ink dot whose contour area meets a preset condition into coordinates in a preset pattern coordinate system according to the coordinate conversion parameters, to obtain the target centroid coordinates;

[0107] The target ink dot determination unit determines the target ink dot corresponding to the target centroid coordinates closest to the ink dot to be observed as the target ink dot, and determines the target ink dots other than the target ink dot as satellite dots.

[0108] Optionally, the driving waveform adjustment module 405 may include:

[0109] A roundness, ink volume and drop point error calculation unit, used to calculate the roundness, ink volume and drop point error of the target ink jetting point;

[0110] A fitting unit, used for fitting a plurality of target ink jetting dots into a straight line by using a least square method;

[0111] A straightness determination unit, used for determining the straightness according to the fitted straight line;

[0112] The waveform adjustment unit is used to adjust the initial driving waveform according to the number of satellite points, the area of ​​satellite points, the roundness, ink volume, landing error and straightness of the target ink jetting point to obtain the target driving waveform.

[0113] Optionally, the roundness, ink volume and landing point error calculation unit may be specifically used for:

[0114] Using an edge detection algorithm to extract the contour of the target ink jetting point and fitting the contour of the target ink jetting point into a circle;

[0115] Determine the roundness and ink volume of the target ink jetting dots according to the fitted circle;

[0116] The distance difference between the target centroid coordinates of the target ejected ink dot and the ink dot to be observed is determined as the landing error.

[0117] Optionally, the device can also be used for:

[0118] Using the adjusted driving waveform to inkjet print the preset pattern to obtain a new target pattern;

[0119] The driving waveform is adjusted based on the new target pattern until the adjusted driving waveform meets the target condition, thereby obtaining a target driving waveform.

[0120] Optionally, the calibration module 402 may be specifically used for:

[0121] The coordinates of the nine intersection points in the grid lines of the target pattern and the coordinates of the corresponding nine intersection points in the preset grid lines are affine transformed to obtain coordinate transformation parameters.

[0122] The above mainly introduces the solution provided by the embodiment of the present invention from the perspective of the interaction between various network elements. It can be understood that in order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this document, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0123] In the case of using the corresponding integrated unit, Figure 5 The schematic diagram of the device structure of the inkjet printer waveform optimization provided by the present invention is shown. Figure 5 As shown, the device includes: a communication unit / communication interface, used to control the machine vision system to collect the target pattern;

[0124] A processing unit / processor, configured to calibrate the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the intersection coordinates of the corresponding preset grid lines to obtain coordinate conversion parameters;

[0125] Using an edge contour extraction algorithm to extract a target ink dot in the target pattern to obtain the centroid coordinates and contour area of ​​the target ink dot;

[0126] Based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area meets a preset condition is determined as a target ink dot to be ejected, and target ink dots other than the target ink dot to be ejected are determined as satellite dots;

[0127] The initial driving waveform is adjusted based on the target ejection ink dot and the satellite dot to obtain a target driving waveform.

[0128] Wherein, the processing unit may be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor may also be a combination that implements a computing function, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module may be a transceiver, a transceiver circuit or a communication interface, and the like. The storage module may be a memory.

[0129] The processor may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present invention. The communication interface may be one or more. The communication interface may use any transceiver or other device for communicating with other devices or communication networks.

[0130] like Figure 5 As shown, the terminal device may further include a communication line. The communication line may include a path to transmit information between the components.

[0131] Optional, such as Figure 5 As shown, the terminal device may further include a memory. The memory is used to store computer-executable instructions for executing the solution of the present invention, and the execution is controlled by the processor. The processor is used to execute the computer-executable instructions stored in the memory, thereby implementing the method provided by the embodiment of the present invention.

[0132] like Figure 5 As shown, the memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor through a communication line. The memory may also be integrated with the processor.

[0133] Optionally, the computer-executable instructions in the embodiment of the present invention may also be referred to as application program codes, which is not specifically limited in the embodiment of the present invention.

[0134] In a specific implementation, as an example, Figure 5 As shown, the processor may include one or more CPUs, such as Figure 5 CPU0 and CPU1 in.

[0135] In a specific implementation, as an example, Figure 5 As shown, the terminal device may include multiple processors, such as Figure 5 Each of these processors can be a single-core processor or a multi-core processor.

[0136] On the one hand, a computer-readable storage medium is provided, in which instructions are stored. When the instructions are executed, the above-mentioned method for performing an inkjet printer waveform optimization is implemented.

[0137] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present invention is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user device or other programmable device. The computer program or instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instruction can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, or a tape; it can also be an optical medium, such as a digital video disc (DVD); it can also be a semiconductor medium, such as a solid state drive (SSD).

[0138] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0139] Although the present invention has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present invention. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art may make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, the present invention is intended to include such modifications and variations if they fall within the scope of the claims of the present invention and their equivalents.

Claims

1. A method for optimizing an inkjet printer waveform, characterized in that: include: Control the machine vision system to collect the target pattern; Calibrate the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain coordinate conversion parameters; Using an edge contour extraction algorithm to extract a target ink dot in the target pattern to obtain the centroid coordinates and contour area of ​​the target ink dot; Based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area meets a preset condition is determined as a target ink dot to be ejected, and target ink dots other than the target ink dot to be ejected are determined as satellite dots; The initial driving waveform is adjusted based on the target ejection ink dot and the satellite dot to obtain a target driving waveform.

2. The method for optimizing inkjet printer waveform according to claim 1, characterized in that: The calibrating the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain the coordinate conversion parameters also includes: Using the Canny edge detection algorithm to determine the edges of the grid lines in the target pattern; Performing Hough transform on the edges of the grid lines in the target pattern to obtain point set coordinates of the grid lines in the target pattern; The intersection coordinates of the grid lines of the target pattern are determined according to the point set coordinates.

3. The method for optimizing inkjet printer waveform according to claim 1, characterized in that: The step of determining, based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area satisfies a preset condition as a target ink dot to be ejected, and determining target ink dots other than the target ink dot to be ejected as satellite dots comprises: According to the coordinate conversion parameters, the centroid coordinates of the target ink dot whose contour area meets the preset conditions are converted into coordinates in a preset pattern coordinate system to obtain the target centroid coordinates; The target ink point corresponding to the target centroid coordinates closest to the ink point to be observed is determined as the target ejection ink point, and the target ink points other than the target ejection ink point are determined as satellite points.

4. The method for optimizing inkjet printer waveform according to claim 1, characterized in that: The adjusting the initial driving waveform based on the target ejection ink dot and the satellite point to obtain the target driving waveform comprises: Calculating the roundness, ink volume and landing error of the target ink jetting point; The least square method is used to fit multiple target inkjet dots into straight lines; Determine straightness based on the fitted straight line; The initial driving waveform is adjusted according to the number of satellite dots, the area of ​​satellite dots, the roundness, ink volume, landing error and straightness of target ink jet dots to obtain a target driving waveform.

5. The method for optimizing inkjet printer waveform according to claim 4, characterized in that: The calculating of the roundness, ink volume and drop point error of the target ink jetting dots comprises: Using an edge detection algorithm to extract the contour of the target ink jetting point and fitting the contour of the target ink jetting point into a circle; Determine the roundness and ink volume of the target ink jetting dots according to the fitted circle; The distance difference between the target centroid coordinates of the target ejected ink dot and the ink dot to be observed is determined as the landing error.

6. The method for optimizing inkjet printer waveform according to claim 1, characterized in that: After the initial driving waveform is adjusted based on the target ejection ink dot and the satellite dot, the following further comprises: Using the adjusted driving waveform to inkjet print the preset pattern to obtain a new target pattern; The driving waveform is adjusted based on the new target pattern until the adjusted driving waveform meets the target condition, thereby obtaining a target driving waveform.

7. The method for optimizing inkjet printer waveform according to claim 1, characterized in that: The machine vision system is calibrated according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain the coordinate conversion parameters, including: The coordinates of the nine intersection points in the grid lines of the target pattern and the coordinates of the corresponding nine intersection points in the preset grid lines are affine transformed to obtain coordinate transformation parameters.

8. A device for optimizing inkjet printer waveform, characterized in that: include: A target pattern acquisition module, used to control the machine vision system to acquire the target pattern; A calibration module, used to calibrate the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the corresponding intersection coordinates of the preset grid lines to obtain coordinate conversion parameters; Using an edge contour extraction algorithm to extract a target ink dot in the target pattern to obtain the centroid coordinates and contour area of ​​the target ink dot; Based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area meets a preset condition is determined as a target ink dot to be ejected, and target ink dots other than the target ink dot to be ejected are determined as satellite dots; The initial driving waveform is adjusted based on the target ejection ink dot and the satellite dot to obtain a target driving waveform.

9. A device for optimizing inkjet printer waveform, characterized in that: include: A communication unit / communication interface, used to control the machine vision system to collect the target pattern; A processing unit / processor, configured to calibrate the machine vision system according to the intersection coordinates of the grid lines of the target pattern and the intersection coordinates of the corresponding preset grid lines to obtain coordinate conversion parameters; Using an edge contour extraction algorithm to extract a target ink dot in the target pattern to obtain the centroid coordinates and contour area of ​​the target ink dot; Based on the coordinate conversion parameters and the centroid coordinates, a target ink dot that is closest to the ink dot to be observed and whose contour area meets a preset condition is determined as a target ink dot to be ejected, and target ink dots other than the target ink dot to be ejected are determined as satellite dots; The initial driving waveform is adjusted based on the target ejection ink dot and the satellite dot to obtain a target driving waveform.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method for optimizing the inkjet printer waveform according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method for detecting ink-jet printing ink dot positioning accuracy

    CN104597056A

  • Method for adjusting driving waveforms at different temperatures based on printing image and printing equipment

    CN113407132A

  • Optimization method and device of nozzle driving waveform, equipment and storage medium

    CN115476588A

  • Jet printing control method, jet printing control device, storage medium and printing nozzle

    CN117227325A

  • Nozzle detection method, device and equipment and storage medium

    CN117268738A

Cited By

  • Printer waveform automatic screening method, device and equipment and medium

    CN121455430A