Methods, apparatus, equipment and media for determining compensation schemes based on efficiency and quality
By calculating the printing efficiency and quality of inkjet printer printheads, the optimal compensation scheme was selected, which solved the problem of decreased print quality caused by nozzle abnormalities, thereby improving production efficiency and reducing costs.
Patent Information
- Application Number
- CN202310359084.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2043-03-29
AI Technical Summary
After prolonged use, inkjet printer printheads are prone to nozzle abnormalities, leading to a decline in print quality. Existing cleaning and compensation methods are inefficient and costly, and inappropriate compensation techniques may result in no improvement in quality or unsatisfactory improvement results.
By acquiring all available compensation schemes, calculating their printing efficiency and quality, and filtering out the final actual compensation scheme based on efficiency and quality thresholds, including adjustments to step distance and feathering amplitude, changes in ink droplet size, etc., the nozzle state is optimized.
It improved printing efficiency, reduced costs, ensured print quality, and avoided resource waste caused by blind processing.
Smart Images

Figure CN118769718B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of inkjet printing, and more particularly to a method, apparatus, equipment, and medium for determining a compensation scheme based on efficiency and quality. Background Technology
[0002] Inkjet printing refers to the process of spraying ink droplets onto a printing medium through nozzles on a printhead to obtain images or text. However, after a long period of operation, inkjet printer printheads are prone to abnormal nozzle conditions due to ink path contamination, ink sedimentation, dust, moisture, etc., such as clogging, oblique spraying, blurring, and insufficient ink volume. This can lead to problems such as streaks and blank areas in the printed image, seriously affecting product quality.
[0003] When printhead nozzles malfunction, existing technologies involve cleaning, ink pressing, and scraping to unclog the nozzles, or using compensation techniques to correct the malfunctioning nozzles. However, in practice, it has been found that even after cleaning or compensation, the print quality remains unimproved or only partially improved in some cases, ultimately requiring printhead replacement. Both printhead cleaning and compensation printing are time-consuming. Therefore, if cleaning and compensation fail to improve print quality when nozzles malfunction, it severely impacts printing efficiency and product delivery. Conversely, replacing the printhead directly while compensation significantly improves print quality increases printing costs considerably. Furthermore, analysis reveals that inappropriate compensation techniques can lead to no improvement or only a poorly improved print quality. Therefore, developing a solution that determines the handling strategy based on the condition of malfunctioning nozzles is urgently needed. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide a method, apparatus, equipment and medium for determining a compensation scheme based on efficiency and quality. It can select a suitable abnormality handling scheme according to abnormal nozzle information, avoid the time wasted by blind handling, improve the efficiency of product production and reduce production costs.
[0005] In a first aspect, embodiments of the present invention provide a method for determining a compensation scheme based on efficiency and quality, the method comprising:
[0006] Obtain all available compensation schemes for this abnormal nozzle;
[0007] The corresponding printing efficiency and printing quality are calculated based on each of the compensation schemes to be used.
[0008] The final actual compensation scheme to be used is determined based on each of the stated printing efficiencies and each of the stated printing qualities.
[0009] Preferably, determining the final actual compensation scheme based on each of the printing efficiencies and each of the printing qualities includes:
[0010] Obtain a first efficiency threshold, and compare each printing efficiency with a first magnitude relationship of the first efficiency threshold;
[0011] Based on the first size relationship, obtain all compensation schemes to be used whose printing efficiency is greater than the first efficiency threshold, and denot them as the first compensation scheme group;
[0012] Obtain a first quality threshold, and compare the second magnitude relationship between each of the printed qualities and the first quality threshold;
[0013] Based on the second size relationship, obtain all compensation schemes to be used whose print quality is greater than the first quality threshold, and denot them as the second compensation scheme group;
[0014] Based on the first compensation scheme group and the second compensation scheme group, obtain all the compensation schemes to be used that are simultaneously in the first compensation scheme group and the second compensation scheme group, and denot them as the third compensation scheme group;
[0015] The final actual compensation scheme to be used is determined based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group.
[0016] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group includes:
[0017] The compensation scheme to be used corresponding to the print quality with the largest value in the third compensation scheme group is the actual compensation scheme.
[0018] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group includes:
[0019] The compensation scheme to be used corresponding to the printing efficiency with the largest value in the third compensation scheme group is the actual compensation scheme.
[0020] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group includes:
[0021] Obtain a first sequential list of the printing efficiencies corresponding to the third compensation scheme group, arranged in ascending order;
[0022] Obtain a second sequence table of print quality numbers arranged in ascending order corresponding to the third compensation scheme group;
[0023] Based on the first sequence table and the second sequence table, the number values of the printing efficiency and the printing quality are obtained, and the minimum compensation scheme to be used is the actual compensation scheme.
[0024] Preferably, determining the final actual compensation scheme based on each of the printing efficiencies and each of the printing qualities includes:
[0025] Obtain a third sequential list of each of the aforementioned printing efficiencies, arranged in ascending order of their numbers;
[0026] Based on the third order list, obtain all the compensation schemes to be used corresponding to the top N printing efficiencies in descending order, and denot them as the fourth compensation scheme group.
[0027] Obtain a fourth sequence table of numbers for each print quality, arranged in ascending order.
[0028] Based on the fourth order list, obtain all the compensation schemes to be used corresponding to the top N print quality in descending order, and denot them as the fifth compensation scheme group.
[0029] Based on the fourth compensation scheme group and the fifth compensation scheme group, all compensation schemes to be used that are simultaneously in the fourth compensation scheme group and the fifth compensation scheme group are obtained and denoted as the sixth compensation scheme group;
[0030] The final actual compensation scheme to be used is determined based on the print quality and print efficiency corresponding to each of the compensation schemes in the sixth compensation scheme group.
[0031] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the sixth compensation scheme group includes:
[0032] The compensation scheme to be used corresponding to the printing efficiency with the largest value in the sixth compensation scheme group is the actual compensation scheme.
[0033] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the sixth compensation scheme group includes:
[0034] The compensation scheme to be used corresponding to the print quality with the largest value in the sixth compensation scheme group is the actual compensation scheme.
[0035] Preferably, the step of calculating the corresponding printing efficiency based on each of the compensation schemes to be used includes:
[0036] Obtain the step distance corresponding to each of the proposed compensation schemes;
[0037] The printing speed corresponding to each compensation scheme to be used is calculated based on each step distance and the printing parameters of the task to be printed;
[0038] The printing efficiency corresponding to each compensation scheme to be used is determined based on each of the printing speeds.
[0039] Preferably, the step of calculating the corresponding print quality based on each of the compensation schemes to be used includes:
[0040] Get the printing parameters for the task to be printed;
[0041] Based on the printing parameters and each of the compensation schemes to be used, control the inkjet equipment with abnormal nozzles to print test images;
[0042] The compensation quality of each compensation scheme to be used is obtained by scanning and analyzing the test images.
[0043] Secondly, embodiments of the present invention provide an apparatus for determining a compensation scheme based on efficiency and quality, the apparatus comprising:
[0044] The module for obtaining compensation schemes to be used is used to obtain all available compensation schemes for this abnormal nozzle.
[0045] The efficiency and quality acquisition module is used to calculate the corresponding printing efficiency and printing quality for each of the compensation schemes to be used.
[0046] The scheme determination module is used to determine the actual compensation scheme to be used in the end based on each of the printing efficiencies and each of the printing qualities.
[0047] Thirdly, embodiments of the present invention provide an apparatus for determining a compensation scheme based on efficiency and quality, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein when the computer program instructions are executed by the processor, the method of the first aspect described above is implemented.
[0048] Fourthly, embodiments of the present invention provide a storage medium storing computer program instructions, which, when executed by a processor, implement the method of the first aspect described above.
[0049] In summary, the method, apparatus, equipment, and medium for determining compensation schemes based on efficiency and quality provided by the embodiments of the present invention calculate the printing efficiency and printing quality of each compensation scheme to be used, and then determine the final compensation scheme to be actually used based on the final printing efficiency and printing quality. This avoids wasting time by blindly processing, improves the efficiency of product production, reduces production costs, and also meets printing needs. Attached Figure Description
[0050] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.
[0051] Figure 1 This is a flowchart of the method for determining a compensation scheme based on efficiency and quality according to the present invention.
[0052] Figure 2 This is a schematic diagram of interlaced printing in the printing mode of an embodiment of the present invention.
[0053] Figure 3 This is a schematic diagram of high-speed continuous printing in the printing mode of an embodiment of the present invention.
[0054] Figure 4 This is a schematic diagram of the first interlaced printing compensation scheme according to an embodiment of the present invention.
[0055] Figure 5 This is a schematic diagram of the second interlaced printing compensation scheme according to an embodiment of the present invention.
[0056] Figure 6 This is a schematic diagram of a compensation scheme for high-speed continuous printing according to an embodiment of the present invention.
[0057] Figure 7 This is a flowchart illustrating the determination of printing efficiency according to an embodiment of the present invention.
[0058] Figure 8 This is a flowchart illustrating the determination of print quality according to an embodiment of the present invention.
[0059] Figure 9 This is a flowchart of the first method for determining the actual compensation scheme according to an embodiment of the present invention.
[0060] Figure 10 This is a flowchart illustrating the second method for determining the actual compensation scheme according to an embodiment of the present invention.
[0061] Figure 11 This is a flowchart illustrating the third method for determining the actual compensation scheme according to an embodiment of the present invention.
[0062] Figure 12 This is a schematic diagram of the device for determining a compensation scheme based on efficiency and quality according to an embodiment of the present invention.
[0063] Figure 13 This is a schematic diagram of the device for determining a compensation scheme based on efficiency and quality according to an embodiment of the present invention. Detailed Implementation
[0064] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.
[0065] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0066] Please see Figure 1 This invention provides a method for determining a compensation scheme based on efficiency and quality, the method comprising:
[0067] S1. Obtain all available compensation schemes for this abnormal nozzle;
[0068] S2. Calculate the corresponding printing efficiency and printing quality for each of the compensation schemes to be used;
[0069] S3. Determine the final actual compensation scheme to be used based on each of the stated printing efficiencies and each of the stated printing qualities.
[0070] Specifically, for a malfunctioning nozzle in a printing task, there are multiple compensation schemes to be used depending on the printing mode and printing parameters. Each compensation scheme has its corresponding printing efficiency and printing quality. By combining the calculated printing efficiency and printing quality, the actual compensation scheme to be used for the malfunctioning nozzle is determined. This ensures that the final production solves the nozzle malfunction problem and meets the requirements of quality and efficiency, avoiding the waste of resources caused by blind compensation.
[0071] In some embodiments, the printing mode includes two printing modes: interlaced printing and high-speed continuous printing; for details, please refer to [link to relevant documentation]. Figure 2 The interlaced printing is achieved by alternating reciprocating motion of the printhead along the X-axis and forward motion along the Y-axis of the printer, or by alternating forward motion of the printing medium along the Y-axis. During the reciprocating motion of the printhead along the X-axis, ink is ejected to print the image, and the forward motion of the printhead or printing medium along the Y-axis moves the printing position. Please refer to [link to relevant documentation]. Figure 3 The high-speed continuous printing is achieved by keeping the printhead stationary while the printing medium moves continuously at a certain speed along the Y-axis of the printer. During the continuous movement of the printing medium along the Y-axis, the printhead sprays ink to print the image.
[0072] Furthermore, in the interlaced printing mode, the compensation scheme to be used includes: a first step compensation scheme, a first feathering compensation scheme, and an ink dot compensation scheme.
[0073] The first step of the compensation scheme involves adjusting the forward distance of the printhead relative to the printing medium in the Y-axis direction each time, so that the normal nozzle moves to the position of the abnormal nozzle, thereby compensating for the abnormal nozzle. Please refer to [link to relevant documentation]. Figure 4In one implementation of the first-step compensation scheme, the printing coverage per unit area is 4 times in this compensation printing. The step distance is 1 / 4 of the printhead height, meaning the printhead moves forward a distance of 1 / 4 of the printhead height relative to the printing medium in the Y-axis direction each time. The printhead is then divided into four equal parts, J1, J2, J3, and J4, based on the distance the printhead moves relative to the medium in the Y-axis direction each time. There is an abnormal nozzle in part J4. The printing medium is divided into several regions, B1, B2, B3, B4, B5…, based on the distance the printhead moves relative to the medium in the Y-axis direction each time. At the start of printing, part J4 first enters region B1 for printing. Due to the abnormal nozzle in part J4… The nozzles in the J4 section are normal, so the white gaps in the printout will be compensated by using normal nozzles that are in the same position as the malfunctioning nozzles. Then, the printhead moves 1 / 4 of its height relative to the nozzle in the Y-axis direction, so the J4 section enters the B2 region, the J3 section enters the B1 region, and the J2 section enters the B1 region. At this time, the nozzles in the J2 section are normal, so the J2 section can also be compensated by using normal nozzles that are in the same position as the malfunctioning nozzles. This process is repeated. The above embodiments are merely one implementation of the step compensation scheme. When determining the final compensation scheme, different step distances will be calculated. For example, compensation schemes with step distances of 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.5, 2, and 3 times the base distance will be automatically calculated according to the following rules, or compensation schemes with step distances of 0.25, 0.5, and 0.75 times the base distance will be calculated. The base distance is the distance obtained based on printing requirements and printing parameters to meet printing needs. Figure 4 If the print coverage of a unit area is 4 times, then the step distance of 1 / 4 of the printhead height is the base distance. Furthermore, the above embodiments are compensation schemes with uniform step distances. Simultaneously, a compensation scheme with non-uniform step distances can be calculated by customizing the forward distance of the printhead relative to the printing medium in the Y-axis direction each time. Different step distances affect the probability of abnormal nozzle compensation, thus affecting the printing efficiency and quality of the compensation scheme. Therefore, it is necessary to calculate the printing efficiency and quality under various step distances to find a compensation scheme with relatively good efficiency and quality. The values in the above embodiments are only for better explanation and illustration of the implementation of the scheme and are not the only limitation; specific values are not limited.
[0074] The first feathering compensation scheme adds feathering technology to the original printing scheme, that is, some data that would originally be printed in one go is printed in two parts, thereby increasing the number of times certain areas are covered, and compensation can be performed on each coverage, thus increasing the probability of compensation; please refer to Figure 5 In one implementation of the first feathering compensation scheme, 100% feathering is used in this compensation printing, meaning all data that would normally be printed in one go is split into two parts. Originally, the printhead was divided into two equal parts, A1 and A2, based on the relative distance it moves along the Y-axis each time. There was an abnormal nozzle × in part A1. With staggered printing, the abnormal nozzle × could only be compensated once. However, with the addition of 100% feathering, the printhead is divided into four equal parts, L1, L2, L3, and L4, based on the relative distance it moves along the Y-axis each time. The abnormal nozzle × is located in part L4. The printing medium is divided into several regions, D1, D2, D3, etc., based on the relative distance the printhead moves along the Y-axis each time. At the start of printing, part L4 first enters region D1 for printing. Because part L4 contains an abnormal nozzle ×... The normal nozzle × will cause gaps in the printout. Then, the printhead moves 1 / 4 of its height relative to the abnormal nozzle in the Y-axis direction. At this time, the L4 part enters the D2 area and the L3 part enters the D1 area. At this time, the nozzles in the L3 part are normal. Therefore, the normal nozzles in the L3 part can be used to compensate for the gaps in the L4 part. Then, the printhead moves 1 / 4 of its height relative to the abnormal nozzle in the Y-axis direction again. At this time, the L4 part enters the D3 area, the L3 part enters the D2 area, and the L2 part enters the D1 area. At this time, the nozzles in the L2 part are normal. Therefore, the normal nozzles in the L2 part can be used to compensate for the gaps in the L4 part. This process is repeated. It can be seen that the abnormal nozzle × can compensate three times. Therefore, feathering can increase the probability of compensation, but it will also reduce the distance the printhead moves relative to the abnormal nozzle in the Y-axis direction each time, resulting in a decrease in printing efficiency. The above embodiments are merely one implementation of the first feathering compensation scheme. When determining the final compensation scheme, compensation schemes under different feathering amplitudes will be calculated. For example, compensation schemes with feathering amplitudes of 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80%, and 90% will be automatically calculated according to the following rules, or compensation schemes with custom feathering amplitudes will be calculated. Different feathering amplitudes will affect the probability of abnormal nozzle compensation, thereby affecting the printing efficiency and printing quality of the compensation scheme. Therefore, it is necessary to calculate the printing efficiency and printing quality under multiple feathering amplitudes in order to find a compensation scheme with better efficiency and quality.
[0075] The ink droplet compensation scheme compensates for abnormal nozzle print data by changing the size of the ink droplets in the adjacent rows above and below the nozzle and in the current row, or adjacent columns above and below the nozzle and in the current column. In some embodiments, the ink droplet types include small, medium, and large droplets, where the volume of a small droplet is smaller than that of a medium droplet, and vice versa. During compensation, small droplets can be changed to medium or large droplets, and medium droplets can be changed to large droplets. This ink droplet compensation scheme does not affect the relative distance the printhead moves along the Y-axis each time; that is, it operates according to a base distance, and the printing efficiency remains constant. However, it can improve print quality within a certain range. Therefore, this compensation scheme can be chosen when the efficiency is fixed and the compensation quality is acceptable.
[0076] Furthermore, in the high-speed continuous printing mode, the compensation scheme to be used includes: a second step compensation scheme and an ink dot compensation scheme.
[0077] The second step compensation scheme compensates for abnormal nozzles by adjusting the step distance of the printing medium per unit time in the Y-axis direction of the printer; please refer to [link to relevant documentation]. Figure 6In one implementation of the second step compensation scheme, in this embodiment, without step compensation, the step distance of the printing medium in the Y-axis direction of the printer per unit time is V. The cyan ink nozzle C, magenta ink nozzle M, yellow ink nozzle Y, and black ink nozzle K print uniformly without overlap. At this time, there is an abnormal nozzle × in the cyan ink nozzle C. Because the non-overlapping printing of the ink nozzles causes white spots, to compensate for these white spots, the step distance of the printing medium in the Y-axis direction of the printer is adjusted to V / 2 per unit time. Because the step distance is halved, the yellow ink nozzle Y and the cyan ink nozzle C overlap printing, and the black ink nozzle K and the magenta ink nozzle M overlap printing. The nozzles in the yellow ink nozzle Y are all normal. Therefore, during overlapping printing, this can be used to compensate for the ink dots of the abnormal nozzle × in the cyan ink nozzle C. The above embodiment is only the second step. One approach to compensation schemes involves calculating compensation schemes at different step distances when determining the final compensation scheme. For example, compensation schemes can be automatically calculated using step distances of 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.5, 2, or 3 times the base distance, or using step distances of 0.25, 0.5, or 0.75 times the base distance, or using a custom step distance. The base distance is the step distance of the printing medium per unit time in the Y-axis direction of the printer when various ink color printheads are non-overlapping and printing uniformly. Different step distances affect the probability of abnormal nozzle compensation, thus affecting the printing efficiency and quality of the compensation scheme. Therefore, it is necessary to calculate the printing efficiency and quality under various step distances to find a compensation scheme with both good efficiency and quality.
[0078] The ink dot replenishment scheme in the high-speed continuous printing mode is the same as the ink dot replenishment scheme in the staggered printing mode, and will not be described again here.
[0079] Furthermore, please refer to Figure 7 The step of calculating the corresponding printing efficiency based on each of the compensation schemes to be used includes:
[0080] S211. Obtain the step distance corresponding to each of the compensation schemes to be used;
[0081] S212. Calculate the printing speed corresponding to each compensation scheme to be used based on each step distance and the printing parameters of the task to be printed;
[0082] S213. Determine the printing efficiency corresponding to each of the compensation schemes to be used based on each of the printing speeds.
[0083] Specifically, the printing parameters include: the size information of the image to be printed, the printing mode, the number of times the unit area is covered, and the operating speed of the inkjet device; the size information of the image to be printed includes the width in the X-axis direction and the length in the Y-axis direction, and the operating speed of the inkjet device includes the speed at which the printhead moves relative to the printing medium in the X-axis and Y-axis directions; in the staggered printing mode, the printing speed corresponding to the compensation scheme is calculated based on the step distance, the speed at which the printhead moves in the X-axis and Y-axis directions, and the width of the image to be printed in the X-axis direction, and then the printing speed is calculated based on the number of times the unit area is covered, the printing speed corresponding to the compensation scheme, and the length of the image to be printed in the Y-axis direction. The printing efficiency is calculated as follows: If a certain compensation scheme to be used adopts a uniform stepping method for printing, that is, the distance the printhead moves relative to the printing medium in the Y-axis direction is the same each time, the stepping distance is S1, the number of times the unit area is covered is N, the printing parameters of the printing task are the speed of the printhead relative to the printing medium in the X-axis direction is V1, the speed of the printhead relative to the printing medium in the Y-axis direction is V2, the width of the image to be printed in the X-axis direction is M1, and the length in the Y-axis direction is M2, then the printing speed corresponding to the compensation scheme to be used is: (S1V1+M1V2) / V2V1, and the printing efficiency is: (S1V1+M1V2)(M2+NS1-S1) / V2V1S1. In high-speed continuous printing mode, the speed of the printhead relative to the printing medium in the X-axis direction is 0. The printing speed is obtained based on the step distance and the speed of the printhead in the Y-axis direction. The printing efficiency is obtained based on the printing speed and the length of the image to be printed in the Y-axis direction. Generally, the step distance and the speed of the printhead in the Y-axis direction are equal and equal to the printing speed. For example, if the step distance of a certain compensation scheme to be used is S2 and the length of the image to be printed in the Y-axis direction is M3, then the printing efficiency is: M3 / S2.
[0084] Furthermore, please refer to Figure 8 The calculation of the corresponding print quality based on each of the compensation schemes to be used includes:
[0085] S221. Obtain the printing parameters for the task to be printed;
[0086] S222. Control the inkjet device with abnormal nozzles to print test images according to the printing parameters and each of the compensation schemes to be used;
[0087] S223. Scan and analyze the test image to obtain the compensation quality of each of the compensation schemes to be used.
[0088] Specifically, the printing parameters of the task to be printed are obtained. Based on the printing parameters, a portion of the image to be printed is extracted as a test image, or a new test image is designed. Then, according to the printing parameters, all compensation schemes to be used are applied to control the inkjet equipment with abnormal nozzles to print the test image once. After printing, an image acquisition device scans all the printed test images and analyzes them to obtain the compensation quality of each compensation scheme to be used. In some embodiments, the printing parameters include the number of print passes (the number of times a unit area of image is scanned back and forth by the printhead), the required printing accuracy of the image, the number of nozzles in the inkjet equipment, and the nozzle arrangement. Using a portion of the image corresponding to the task to be printed as the test image makes the evaluation of compensation quality more accurate and closer to reality, but it may be less efficient. Using a redesigned image as the test image is more targeted and can quickly test the compensation quality, which is more efficient, but the accuracy needs to be considered. In some cases, the compensation quality is obtained by binarizing the effect image obtained by scanning the test image, and calculating the number of blank points in the image corresponding to the abnormal hole based on the binarized image, thus obtaining the compensation quality.
[0089] Furthermore, please refer to Figure 9 Step S3: Determining the final actual compensation scheme based on each of the printing efficiencies and each of the printing qualities includes:
[0090] S311. Obtain a first efficiency threshold and compare the first magnitude relationship between each printing efficiency and the first efficiency threshold;
[0091] S312. Based on the first size relationship, obtain all compensation schemes to be used whose printing efficiency is greater than or equal to the first efficiency threshold, and denot them as the first compensation scheme group.
[0092] S313. Obtain a first quality threshold and compare the second magnitude relationship between each of the printed qualities and the first quality threshold;
[0093] S314. Based on the second size relationship, obtain all compensation schemes to be used whose print quality is greater than or equal to the first quality threshold, and denot them as the second compensation scheme group.
[0094] S315. Based on the first compensation scheme group and the second compensation scheme group, obtain all the compensation schemes to be used that are simultaneously in the first compensation scheme group and the second compensation scheme group, and denot them as the third compensation scheme group.
[0095] S316. Determine the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group.
[0096] Specifically, in some embodiments, printing efficiency and printing quality have minimum limits based on production requirements and printing quality requirements, namely a first efficiency threshold and a first quality threshold. At this point, a group of compensation schemes that simultaneously meet both requirements can be selected, referred to as a third compensation scheme group. Then, the final compensation scheme to be used is determined from the third compensation scheme group. This method is highly efficient and simple to calculate. Specifically, the printing efficiency corresponding to each compensation scheme is compared with the first efficiency threshold, and all compensation schemes with printing efficiencies greater than or equal to the first efficiency threshold are selected, referred to as the first compensation scheme group. The printing quality corresponding to each compensation scheme is compared with the first quality threshold, and all compensation schemes with printing qualities greater than or equal to the first quality threshold are selected, referred to as the second compensation scheme group. At this point, most compensation schemes that do not meet the requirements have been filtered out. Then, based on the first and second compensation scheme groups, all compensation schemes that are simultaneously in both compensation scheme groups are calculated and referred to as the third compensation scheme group. Finally, the actual compensation scheme to be used is selected from the third compensation scheme group.
[0097] Furthermore, in this embodiment, the compensation scheme to be used corresponding to the print quality with the largest value in the third compensation scheme group is the actual compensation scheme. This can maximize the print quality while also meeting the production requirements in terms of printing efficiency.
[0098] Furthermore, in this embodiment, the compensation scheme to be used corresponding to the printing efficiency with the largest value in the third compensation scheme group is the actual compensation scheme. This can maximize production efficiency while ensuring that the printing quality meets the printing requirements.
[0099] Furthermore, please refer to Figure 10 In this embodiment, step S316: determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group includes:
[0100] S3161. Obtain the first sequence table of the printing efficiencies corresponding to the third compensation scheme group, arranged in order of size.
[0101] S3162. Obtain the second sequence table of the print quality corresponding to the third compensation scheme group, which is numbered in order of size.
[0102] S3163. Based on the first sequence table and the second sequence table, obtain the number values of the printing efficiency and the printing quality, and the minimum compensation scheme to be used as the actual compensation scheme;
[0103] This method ensures that the final compensation plan can perfectly balance printing efficiency and printing quality, avoiding the problem of one of the indicators being relatively low due to using the maximum printing efficiency or the maximum printing quality.
[0104] Furthermore, please refer to Figure 11 Step S3: Determining the final actual compensation scheme based on each of the printing efficiencies and each of the printing qualities includes:
[0105] S321. Obtain a third sequence table of each printing efficiency numbered in ascending order;
[0106] S322. Based on the third order table, obtain all the compensation schemes to be used corresponding to the top N printing efficiencies in descending order, and denot them as the fourth compensation scheme group.
[0107] S323. Obtain a fourth sequence table of numbers for each of the print qualities arranged in ascending order;
[0108] S324. Based on the fourth order table, obtain all the compensation schemes to be used corresponding to the top N print quality in descending order, and denot them as the fifth compensation scheme group.
[0109] S325. Based on the fourth compensation scheme group and the fifth compensation scheme group, obtain all the compensation schemes to be used that are simultaneously in the fourth compensation scheme group and the fifth compensation scheme group, and denot them as the sixth compensation scheme group.
[0110] S326. Determine the final actual compensation scheme to be used based on the printing quality and printing efficiency corresponding to each of the compensation schemes in the sixth compensation scheme group.
[0111] Specifically, in some embodiments, there are no explicit production requirements and printing quality requirements. In this case, the printing quality and printing efficiency corresponding to all compensation schemes to be used can be sorted, and then the top N compensation schemes corresponding to the printing quality and the top N compensation schemes corresponding to the printing efficiency can be obtained. Then, all compensation schemes that are simultaneously in the top N of printing quality and printing efficiency can be obtained and recorded as the sixth compensation scheme group. Finally, the actual compensation scheme to be used is selected from the sixth compensation scheme group.
[0112] Furthermore, in this embodiment, the compensation scheme to be used corresponding to the printing efficiency with the largest value in the sixth compensation scheme group is the actual compensation scheme. This can maximize the printing efficiency while ensuring that the printing quality is not too low.
[0113] Furthermore, in this embodiment, the compensation scheme to be used corresponding to the print quality with the largest value in the sixth compensation scheme group is the actual compensation scheme. This can maximize the print quality while ensuring that the printing efficiency is not too low.
[0114] Example 2
[0115] Please see Figure 12 This invention provides an apparatus for determining a compensation scheme based on efficiency and quality, the apparatus comprising:
[0116] The module 10 for obtaining compensation schemes to be used is used to obtain all the compensation schemes to be used for this abnormal nozzle.
[0117] The efficiency and quality acquisition module 20 is used to calculate the corresponding printing efficiency and printing quality based on each of the compensation schemes to be used.
[0118] The scheme determination module 30 is used to determine the actual compensation scheme to be used in the end based on each of the printing efficiencies and each of the printing qualities.
[0119] Preferably, determining the final actual compensation scheme based on each of the printing efficiencies and each of the printing qualities includes:
[0120] Obtain a first efficiency threshold, and compare each printing efficiency with a first magnitude relationship of the first efficiency threshold;
[0121] Based on the first size relationship, obtain all compensation schemes to be used whose printing efficiency is greater than the first efficiency threshold, and denot them as the first compensation scheme group;
[0122] Obtain a first quality threshold, and compare the second magnitude relationship between each of the printed qualities and the first quality threshold;
[0123] Based on the second size relationship, obtain all compensation schemes to be used whose print quality is greater than the first quality threshold, and denot them as the second compensation scheme group;
[0124] Based on the first compensation scheme group and the second compensation scheme group, obtain all the compensation schemes to be used that are simultaneously in the first compensation scheme group and the second compensation scheme group, and denot them as the third compensation scheme group;
[0125] The final actual compensation scheme to be used is determined based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group.
[0126] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group includes:
[0127] The compensation scheme to be used corresponding to the print quality with the largest value in the third compensation scheme group is the actual compensation scheme.
[0128] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group includes:
[0129] The compensation scheme to be used corresponding to the printing efficiency with the largest value in the third compensation scheme group is the actual compensation scheme.
[0130] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the third compensation scheme group includes:
[0131] Obtain a first sequential list of the printing efficiencies corresponding to the third compensation scheme group, arranged in ascending order;
[0132] Obtain a second sequence table of print quality numbers arranged in ascending order corresponding to the third compensation scheme group;
[0133] Based on the first sequence table and the second sequence table, the number values of the printing efficiency and the printing quality are obtained, and the minimum compensation scheme to be used is the actual compensation scheme.
[0134] Preferably, determining the final actual compensation scheme based on each of the printing efficiencies and each of the printing qualities includes:
[0135] Obtain a third sequential list of each of the aforementioned printing efficiencies, arranged in ascending order of their numbers;
[0136] Based on the third order list, obtain all the compensation schemes to be used corresponding to the top N printing efficiencies in descending order, and denot them as the fourth compensation scheme group.
[0137] Obtain a fourth sequence table of numbers for each print quality, arranged in ascending order.
[0138] Based on the fourth order list, obtain all the compensation schemes to be used corresponding to the top N print quality in descending order, and denot them as the fifth compensation scheme group.
[0139] Based on the fourth compensation scheme group and the fifth compensation scheme group, all compensation schemes to be used that are simultaneously in the fourth compensation scheme group and the fifth compensation scheme group are obtained and denoted as the sixth compensation scheme group;
[0140] The final actual compensation scheme to be used is determined based on the print quality and print efficiency corresponding to each of the compensation schemes in the sixth compensation scheme group.
[0141] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the sixth compensation scheme group includes:
[0142] The compensation scheme to be used corresponding to the printing efficiency with the largest value in the sixth compensation scheme group is the actual compensation scheme.
[0143] Preferably, determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes in the sixth compensation scheme group includes:
[0144] The compensation scheme to be used corresponding to the print quality with the largest value in the sixth compensation scheme group is the actual compensation scheme.
[0145] Preferably, the step of calculating the corresponding printing efficiency based on each of the compensation schemes to be used includes:
[0146] Obtain the step distance corresponding to each of the proposed compensation schemes;
[0147] The printing speed corresponding to each compensation scheme to be used is calculated based on each step distance and the printing parameters of the task to be printed;
[0148] The printing efficiency corresponding to each compensation scheme to be used is determined based on each of the printing speeds.
[0149] Preferably, the step of calculating the corresponding print quality based on each of the compensation schemes to be used includes:
[0150] Get the printing parameters for the task to be printed;
[0151] Based on the printing parameters and each of the compensation schemes to be used, control the inkjet equipment with abnormal nozzles to print test images;
[0152] The compensation quality of each compensation scheme to be used is obtained by scanning and analyzing the test images.
[0153] Example 3
[0154] In addition, combined Figure 1 The method for determining a compensation scheme based on efficiency and quality, as described in the embodiments of the present invention, can be implemented by a device for determining a compensation scheme based on efficiency and quality. Figure 13 A schematic diagram of the hardware structure of a device for determining a compensation scheme based on efficiency and quality, as provided in an embodiment of the present invention, is shown.
[0155] The equipment that determines the compensation scheme based on efficiency and quality may include a processor and a memory storing computer program instructions.
[0156] Specifically, the processor may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement embodiments of the present invention.
[0157] The memory may include a large-capacity storage device for data or instructions. For example, and not limitingly, the memory may include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disk drive, a magneto-optical disk drive, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory may include removable or non-removable (or fixed) media. Where appropriate, the memory may be internal or external to a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0158] The processor reads and executes computer program instructions stored in memory to implement any of the methods described above for determining a compensation scheme based on efficiency and quality.
[0159] In one example, the device for determining the compensation scheme based on efficiency and quality may also include a communication interface and a bus. For example, Figure 13 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.
[0160] The communication interface is mainly used to enable communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0161] A bus, including hardware, software, or both, couples together components of a device for which a compensation scheme is determined based on efficiency and quality. For example, and not as a limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, a bus may include one or more buses. Although specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0162] Example 4
[0163] Furthermore, in conjunction with the method for determining a compensation scheme based on efficiency and quality in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when executed by a processor, these computer program instructions implement any of the methods for determining a compensation scheme based on efficiency and quality in the above embodiments.
[0164] In summary, the method, apparatus, equipment, and medium for determining compensation schemes based on efficiency and quality provided by the embodiments of the present invention, wherein the method determines an anomaly handling scheme based on the abnormal nozzle information and performs inkjet printing according to the anomaly handling scheme, avoids wasting time by blindly handling, improves product production efficiency, and reduces production costs.
[0165] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0166] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0167] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0168] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A method for determining a compensation scheme based on efficiency and quality, characterized in that, The method includes: Obtain all available compensation schemes for this abnormal nozzle; The corresponding printing efficiency and printing quality are calculated based on each of the compensation schemes to be used. Determine the final actual compensation scheme based on each of the printing efficiencies and each of the printing qualities, specifically including: obtaining a first efficiency threshold and comparing each of the printing efficiencies with a first magnitude relationship of the first efficiency threshold; Based on the first size relationship, obtain all compensation schemes to be used whose printing efficiency is greater than the first efficiency threshold, and denot them as the first compensation scheme group; Obtain a first quality threshold, and compare the second magnitude relationship between each of the printed qualities and the first quality threshold; Based on the second size relationship, obtain all compensation schemes to be used whose print quality is greater than the first quality threshold, and denot them as the second compensation scheme group; Based on the first compensation scheme group and the second compensation scheme group, obtain all the compensation schemes to be used that are simultaneously in the first compensation scheme group and the second compensation scheme group, and denot them as the third compensation scheme group; The final actual compensation scheme to be used is determined based on the print quality and print efficiency corresponding to each of the compensation schemes to be used in the third compensation scheme group.
2. The method for determining a compensation scheme based on efficiency and quality according to claim 1, characterized in that, The step of determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes to be used in the third compensation scheme group includes: The compensation scheme to be used corresponding to the print quality with the largest value in the third compensation scheme group is the actual compensation scheme.
3. The method for determining a compensation scheme based on efficiency and quality according to claim 1, characterized in that, The step of determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes to be used in the third compensation scheme group includes: The compensation scheme to be used corresponding to the printing efficiency with the largest value in the third compensation scheme group is the actual compensation scheme.
4. The method for determining a compensation scheme based on efficiency and quality according to claim 1, characterized in that, The step of determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes to be used in the third compensation scheme group includes: Obtain a first sequential list of the printing efficiencies corresponding to the third compensation scheme group, arranged in ascending order; Obtain a second sequence table of print quality numbers arranged in ascending order corresponding to the third compensation scheme group; Based on the first sequence table and the second sequence table, the number values of the printing efficiency and the printing quality are obtained, and the minimum compensation scheme to be used is the actual compensation scheme.
5. A method for determining a compensation scheme based on efficiency and quality, characterized in that, The method includes: Obtain all available compensation schemes for this abnormal nozzle; The corresponding printing efficiency and printing quality are calculated based on each of the compensation schemes to be used. The final actual compensation scheme to be used is determined based on each of the printing efficiencies and each of the printing qualities, specifically including: obtaining a third sequence table in which each of the printing efficiencies is numbered in ascending order; Based on the third order list, obtain all the compensation schemes to be used corresponding to the top N printing efficiencies in descending order, and denot them as the fourth compensation scheme group. Obtain a fourth sequence table of numbers for each print quality, arranged in ascending order. Based on the fourth order list, obtain all the compensation schemes to be used corresponding to the top N print quality in descending order, and denot them as the fifth compensation scheme group. Based on the fourth compensation scheme group and the fifth compensation scheme group, all compensation schemes to be used that are simultaneously in the fourth compensation scheme group and the fifth compensation scheme group are obtained and denoted as the sixth compensation scheme group; The final actual compensation scheme to be used is determined based on the print quality and print efficiency corresponding to each of the compensation schemes to be used in the sixth compensation scheme group.
6. The method for determining a compensation scheme based on efficiency and quality according to claim 5, characterized in that, The step of determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes to be used in the sixth compensation scheme group includes: The compensation scheme to be used corresponding to the printing efficiency with the largest value in the sixth compensation scheme group is the actual compensation scheme.
7. The method for determining a compensation scheme based on efficiency and quality according to claim 5, characterized in that, The step of determining the final actual compensation scheme to be used based on the print quality and print efficiency corresponding to each of the compensation schemes to be used in the sixth compensation scheme group includes: The compensation scheme to be used corresponding to the print quality with the largest value in the sixth compensation scheme group is the actual compensation scheme.
8. The method for determining a compensation scheme based on efficiency and quality according to any one of claims 1-7, characterized in that, The calculation of the corresponding printing efficiency based on each of the compensation schemes to be used includes: Obtain the step distance corresponding to each of the proposed compensation schemes; The printing speed corresponding to each compensation scheme to be used is calculated based on each step distance and the printing parameters of the task to be printed; The printing efficiency corresponding to each compensation scheme to be used is determined based on each of the printing speeds.
9. The method for determining a compensation scheme based on efficiency and quality according to any one of claims 1-7, characterized in that, The calculation of the corresponding print quality based on each of the compensation schemes to be used includes: Get the printing parameters for the task to be printed; Based on the printing parameters and each of the compensation schemes to be used, control the inkjet equipment with abnormal nozzles to print test images; The compensation quality of each compensation scheme to be used is obtained by scanning and analyzing the test images.
10. An apparatus for determining a compensation scheme based on efficiency and quality, characterized in that, For implementing the method of determining a compensation scheme based on efficiency and quality as described in any one of claims 1-9, the apparatus comprises: The module for obtaining compensation schemes to be used is used to obtain all available compensation schemes for this abnormal nozzle. The efficiency and quality acquisition module is used to calculate the corresponding printing efficiency and printing quality for each of the compensation schemes to be used. The scheme determination module is used to determine the final actual compensation scheme to be used based on each printing efficiency and each printing quality. Specifically, it is used to: obtain a first efficiency threshold; compare each printing efficiency with a first magnitude relationship of the first efficiency threshold; obtain all compensation schemes to be used whose printing efficiency is greater than the first efficiency threshold based on the first magnitude relationship, denoted as a first compensation scheme group; obtain a first quality threshold; compare each printing quality with a second magnitude relationship of the first quality threshold; obtain all compensation schemes to be used whose printing quality is greater than the first quality threshold based on the second magnitude relationship, denoted as a second compensation scheme group; obtain all compensation schemes to be used that are simultaneously in the first compensation scheme group and the second compensation scheme group based on the first compensation scheme group and the second compensation scheme group, denoted as a third compensation scheme group; and determine the compensation scheme to be used based on each compensation scheme to be used in the third compensation scheme group. The actual compensation scheme to be used is determined based on the print quality and print efficiency; or specifically: obtaining a third sequence table numbered in descending order for each print efficiency; obtaining all the top N print efficiencies in descending order from the third sequence table and their corresponding compensation schemes, denoted as the fourth compensation scheme group; obtaining a fourth sequence table numbered in descending order for each print quality; obtaining all the top N print quality values in descending order from the fourth sequence table and their corresponding compensation schemes, denoted as the fifth compensation scheme group; obtaining all the compensation schemes in both the fourth and fifth compensation scheme groups and their corresponding compensation scheme groups, denoted as the sixth compensation scheme group; and determining the actual compensation scheme to be used based on the print quality and print efficiency corresponding to each compensation scheme in the sixth compensation scheme group.
11. A device for determining a compensation scheme based on efficiency and quality, characterized in that, include: At least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method as described in any one of claims 1-9.
12. A storage medium storing computer program instructions thereon, characterized in that, When the computer program instructions are executed by a processor, the method as described in any one of claims 1-9 is implemented.
Citation Information
Patent Citations
Method and device for determining compensation scheme according to printing efficiency, equipment and medium
CN118769717A
Processing method and device for determining abnormal nozzle according to compensation rate, equipment and storage medium
CN118769719A
Method, device and equipment for determining abnormal nozzle compensation scheme according to compensation quality and medium
CN118769720A