Printing device, discharge failure detection method, and discharge failure detection program

The method employs machine learning to detect nozzle ejection failures in inkjet printing devices, specifically addressing the challenge of sideways skipping by analyzing images from multiple nozzles and adjusting print data, resulting in efficient and sustainable printing operations.

WO2024202460A1PCT designated stage expired Publication Date: 2024-10-03SCREEN HOLDINGS CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/002074
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-25
Filing Date
2024-01-24
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Conventional inkjet printing devices face challenges in detecting nozzle ejection failures, particularly sideways skipping, due to the need for setting various parameters and the inability to consider the relationship between nozzle position and ink ejection, leading to inefficiencies and wastage in printing.

Method used

A method using machine learning to detect nozzle ejection failures by generating a trained model with learning images from multiple nozzles, allowing for the identification of defective nozzles through image analysis without requiring extensive parameter setting, and compensating for ejection failures in print data.

Benefits of technology

This approach effectively detects sideways skipping and other ejection failures with high accuracy, reducing wasteful consumption of printing paper and ink, and contributing to sustainable development goals by minimizing reprinting needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024002074_03102024_PF_FP_ABST
    Figure JP2024002074_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to an inkjet printing device, and makes it possible to detect lateral ejection, which is a type of nozzle discharge failure, without requiring much labor for setting parameters. A trained model is generated by performing machine learning using a plurality of training images each formed by discharging ink from N nozzles, N being an integer of 2 or greater (S20). A plurality of partial images respectively corresponding to the N nozzles are cut out from a captured image of a printed image of a test pattern (S50). The partial images are given as input data to the trained model (S60), and a mean square error between the input data and output data is calculated (S70). On the basis of a comparison result between the mean square error and a threshold, it is determined whether or not a nozzle with discharge failure is included in the N nozzles corresponding to the input data (S80).
Need to check novelty before this filing date? Find Prior Art

Description

Printing device, ejection defect detection method, and ejection defect detection program

[0001] The present invention relates to a printing device having an ink ejection head (print head) equipped with a large number of nozzles that eject ink, and more particularly to a technique for detecting nozzles in such a printing device that are in a defective ejection state (hereinafter referred to as "defective ejection nozzles").

[0002] Inkjet printing devices are widely known, performing printing by ejecting ink onto a printing medium such as printing paper. In inkjet printing devices, when the ejection interval becomes long, problems such as drying of the ink due to evaporation of solvent near the nozzles, the infiltration of air bubbles into the nozzles, and the adhesion of dust to the nozzles can occur during printing. This can lead to nozzle ejection failures. When ejection failures occur, dots corresponding to the defective nozzles are missing from the printed image, i.e., missing dots occur. In such cases, operations are performed to restore the functionality of the defective nozzles (cleaning or flushing), or alternatively, ink droplets that should have been ejected by the defective nozzles are ejected by other nozzles.

[0003] Nozzle ejection defects can be roughly classified into three types, which will be explained with reference to FIGS. 50 to 52. Note that FIGS. 50 to 52 show portions of a printed image obtained by printing a regular, stepped pattern (test pattern), with the black shaded areas indicating ink coverage. In the dotted line area labeled 91 in FIG. 50, no ink is applied to the area where ink should be applied. Hereinafter, this type of ejection defect will be referred to as "non-ejection." In the dotted line area labeled 92 in FIG. 51, the shape of the ink-applied area differs from the intended shape. Hereinafter, this type of ejection defect will be referred to as "shape defect." Shape defects also include ejection defects that result in faint ink due to insufficient density and ejection defects in which the ink-applied area spreads in the main scanning direction (the direction perpendicular to the transport direction of the print paper). In the dotted line area labeled 93 in FIG. 52, ink is applied to an area that is shifted in the main scanning direction from the area where ink should be applied. Hereinafter, this type of ejection defect will be referred to as "horizontal skip."

[0004] The horizontal skip will be further explained. If we focus on the dotted line portion marked with reference numeral 94 in FIG. 53, we can see that the length W2 is longer than the length W1. In other words, the intervals between the ink-discharged portions are not constant in the main scanning direction. This type of horizontal skip is called a "dimensional horizontal skip." Furthermore, if we focus on the portion marked with reference numeral 95 in FIG. 54, the position of the ink-discharged portion 952 is clearly abnormal in relation to the positions of the ink-discharged portion 951 and the ink-discharged portion 953. This type of horizontal skip is called a "horizontal skip that affects quality."

[0005] In conventional inkjet printing devices, ejection defects such as those described above are detected by performing a numerical analysis based on image data obtained by capturing an image of a predetermined test pattern printed thereon with an imaging device. In this regard, for example, Japanese Patent Application Laid-Open No. 2011-194734 describes a method of determining the actual landing position of ink based on the image data, and determining whether or not a nozzle being evaluated is an ejection-defective nozzle based on the distance from the landing position to a reference position.

[0006] In recent years, technologies using machine learning have also been proposed for detecting nozzle discharge defects. For example, Japanese Patent Application Laid-Open Publication No. 2019-137048 discloses a technology for classifying nozzles into good and defective nozzles using a support vector machine that has undergone supervised learning based on phase (deviation from the target position) and amplitude (printing consistency) information obtained by evaluating image data of an image in which a test pattern has been printed, and labels indicating good or bad nozzles. Furthermore, Japanese Patent Application Laid-Open Publication No. 2021-094853 discloses a technology for classifying nozzles by type of discharge defect by inputting image data of an image in which a test chart has been printed into a deep neural network (DNN), such as a convolutional neural network, that has undergone supervised learning based on defect information.

[0007] Japanese Patent Publication No. 2011-194734 Japanese Patent Publication No. 2019-137048 Japanese Patent Publication No. 2021-094853

[0008] However, conventional methods using numerical analysis require the setting of various parameters. For example, it is necessary to set the density threshold used to detect non-ejection and shape defects, and the distance threshold used to detect lateral skipping, taking into account the printing conditions. Because the state of ink landing and penetration into the printing medium changes depending on the printing conditions, it is difficult and requires a great deal of effort to appropriately set various parameters taking into account the printing conditions. Furthermore, conventional methods using supervised learning detect ejection defects based on an image covering the area of ​​one nozzle. However, this method does not take into account the relationship between the ink ejection position from the nozzle being evaluated and the ink ejection positions from other nozzles, making it impossible to detect lateral skipping, which is one type of ejection defect.

[0009] SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide an inkjet printing device that can detect lateral skipping, which is one type of nozzle ejection defect, without requiring a great deal of effort for parameter setting.

[0010] A first aspect of the present invention is a defective discharge detection method for detecting defective nozzle discharge in a printing device equipped with a head unit including a plurality of nozzles that discharge ink onto a printing medium transported in a predetermined transport direction, the method comprising: a training image preparation step of preparing a plurality of training images, each formed by ink being discharged from N nozzles, where N is an integer greater than or equal to 2; a model generation step of generating a trained model by performing machine learning using the plurality of training images; a test pattern printing step of causing the printing device to print a test pattern to be formed by ink being discharged from the plurality of nozzles; an imaging step of capturing a printed image obtained in the test pattern printing step; an image cropping step of cropping a plurality of partial images, each corresponding to N nozzles, from the captured image obtained in the imaging step; and a defective discharge determination step of providing each of the plurality of partial images as input data to the trained model and determining, based on output data output from the trained model, whether or not a nozzle with a defective discharge is included among the N nozzles corresponding to the input data.

[0011] In a second aspect of the present invention, based on the first aspect of the present invention, the ejection defect detection method further includes an ejection defect nozzle identifying step of identifying a nozzle in an ejection defect state by taking into consideration a result obtained in the ejection defect determination step.

[0012] A third aspect of the present invention is related to the second aspect of the present invention, wherein the ejection failure detection method further includes a print data correction step of correcting print data for controlling the ejection of ink from the plurality of nozzles so as to compensate for the ejection failure of the nozzles identified as being in an ejection failure state in the ejection failure nozzle identification step.

[0013] A fourth aspect of the present invention is directed to the first aspect of the present invention, wherein the test pattern is composed of a plurality of rows, each row consisting of a plurality of unit patterns lined up in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and each of the plurality of partial images is an image of a range including P unit patterns in a direction perpendicular to the transport direction, where P is an integer greater than or equal to 3.

[0014] A fifth aspect of the present invention is related to the first aspect of the present invention, wherein the test pattern is composed of a plurality of rows, each row consisting of a plurality of unit patterns lined up in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and each of the plurality of partial images is an image of a range including Q unit patterns in the transport direction, where Q is an integer greater than or equal to 3.

[0015] A sixth aspect of the present invention is directed to the first aspect of the present invention, wherein the test pattern is composed of a plurality of rows, each row consisting of a plurality of unit patterns lined up in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and each of the plurality of partial images is an image of a rectangular area including P unit patterns in a direction perpendicular to the transport direction and Q unit patterns in the transport direction, where P and Q are integers greater than or equal to 3.

[0016] A seventh aspect of the present invention is related to the first aspect of the present invention, wherein the test pattern is composed of a plurality of rows, each row consisting of a plurality of unit patterns lined up in a direction perpendicular to the transport direction, and each unit pattern is formed by ejecting ink from a corresponding nozzle, and in the image cutting out step, before the plurality of partial images are cut out from the captured image, the captured image is divided into a plurality of split images corresponding to the plurality of rows, upstream and downstream ends in the transport direction are deleted for each of the plurality of split images, and the plurality of split images after the upstream and downstream ends in the transport direction have been deleted are combined.

[0017] An eighth aspect of the present invention is related to the first aspect of the present invention, wherein the test pattern is composed of a plurality of rows, each row consisting of a plurality of unit patterns lined up in a row in a direction perpendicular to the transport direction, and each unit pattern is formed by ejecting ink from a corresponding nozzle, and in the image cutting out step, before the plurality of partial images are cut out from the captured image, an image of the row located most upstream in the transport direction in the captured image is copied further downstream of the row located most downstream in the transport direction, and an image of the row located most downstream in the captured image is copied further upstream of the row located most upstream in the transport direction.

[0018] A ninth aspect of the present invention is based on the first aspect of the present invention, wherein in the image cutting-out step, a position where ink is expected to be ejected from each nozzle based on design information of the test pattern is set as a provisional ejection position, and each of the plurality of partial images is cut out from the captured image based on the provisional ejection position for a predetermined one of the corresponding N nozzles.

[0019] In a tenth aspect of the present invention, based on the first aspect of the present invention, in the image cutting-out step, an actual ejection position where ink is actually ejected from each nozzle is determined based on the captured image, and each of the plurality of partial images is cut out from the captured image based on the actual ejection position for a predetermined one of the corresponding N nozzles.

[0020] In an eleventh aspect of the present invention, based on the first aspect of the present invention, in the image cutting-out step, an ideal position at which ink is ejected from each nozzle is defined as an ideal ejection position, and each of the plurality of partial images is cut out from the captured image based on the ideal ejection position for a predetermined one of the corresponding N nozzles.

[0021] A twelfth aspect of the present invention is related to the first aspect of the present invention, wherein the test pattern is composed of a plurality of rows, each row consisting of a plurality of unit patterns lined up in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and in the image cutting-out step, the plurality of partial images are cut out from the captured image such that a unit pattern corresponding to each nozzle is included in only one of the partial images.

[0022] A thirteenth aspect of the present invention is related to the first aspect of the present invention, wherein the test pattern is composed of a plurality of stages, each stage being a plurality of unit patterns lined up in a row in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and the nozzle corresponding to the unit pattern included in the stage located most upstream in the transport direction, the nozzle corresponding to the unit pattern included in the stage located most downstream in the transport direction, and the nozzle corresponding to the unit pattern located at both ends of each stage are defined as end nozzles, and when the plurality of partial images are cut out from the captured image in the image cutout step, positions corresponding to all of the plurality of nozzles except the end nozzles are used as references once each.

[0023] A fourteenth aspect of the present invention is the thirteenth aspect of the present invention, further comprising a defective-discharge nozzle identification step of identifying a defective-discharge nozzle based on a mutual overlap state of two or more partial images determined in the defective-discharge determination step to include a defective-discharge nozzle among the N corresponding nozzles.

[0024] A fifteenth aspect of the present invention is related to any one of the first to fourteenth aspects of the present invention, wherein in the model generation step, supervised learning as machine learning is performed using a neural network, thereby generating the trained model configured by the neural network.

[0025] In a sixteenth aspect of the present invention, in the fifteenth aspect of the present invention, nozzle discharge defects are classified into J types, where J is an integer equal to or greater than 2, and the output data includes the probability that no nozzle in a discharge defect state is included among the N nozzles corresponding to the input data, and J probabilities that at least one of the N nozzles corresponding to the input data is in a discharge defect state of each of the J types.

[0026] A seventeenth aspect of the present invention is, in any of the first to fourteenth aspects of the present invention, wherein in the model generation step, unsupervised learning as machine learning is performed using an autoencoder to generate the trained model constructed by the autoencoder; and in the discharge defect determination step, based on a result of comparing a value obtained based on the output data and the input data with a threshold value set as a parameter, it is determined whether or not a nozzle in a discharge defect state is included among the N nozzles corresponding to the input data; and the plurality of learning images does not include an image representing a nozzle discharge defect.

[0027] An 18th aspect of the present invention is, in the first aspect of the present invention, the discharge defect detection method further includes a discharge defect nozzle identification step of identifying a nozzle in a discharge defect state by taking into consideration the result obtained in the discharge defect judgment step, and in the model generation step, unsupervised learning as machine learning is performed using an autoencoder to generate the trained model constructed by the autoencoder, and the plurality of learning images do not include images representing discharge defects of nozzles, and in the discharge defect nozzle identification step, a partial image determined in the discharge defect judgment step to include a nozzle in a discharge defect state among the N corresponding nozzles is divided into N nozzle unit images, and a nozzle in a discharge defect state is identified based on a result obtained by comparing, for each of the N nozzle unit images, a value calculated based on the output data and the input data with a threshold value set as a parameter.

[0028] A nineteenth aspect of the present invention is a printing device comprising: a head unit including a plurality of nozzles that eject ink onto a printing medium transported in a predetermined transport direction; an imaging device that captures a print image; and a control unit that controls the ejection of ink from the plurality of nozzles and the capturing of the print image by the imaging device, wherein the control unit comprises: a model generation unit that generates a trained model by performing machine learning using a plurality of training images each formed by ejecting ink from N nozzles, where N is an integer equal to or greater than 2; an image cutout unit that cuts out a plurality of partial images each corresponding to N nozzles from a captured image obtained by the imaging device capturing a print image of a test pattern to be formed by ejecting ink from the plurality of nozzles; and a discharge defect determination unit that provides each of the plurality of partial images as input data to the trained model and determines whether or not a nozzle in a discharge defect state is included among the N nozzles corresponding to the input data, based on output data output from the trained model.

[0029] A twentieth aspect of the present invention is a defective ejection detection program for detecting defective nozzle ejection in a printing device equipped with a head unit including a plurality of nozzles that eject ink onto a printing medium transported in a predetermined transport direction and an imaging device that captures printed images, the program causing a computer included in the printing device to execute: a model generation step of generating a trained model by performing machine learning using a plurality of training images, each formed by ink being ejected from N nozzles, where N is an integer greater than or equal to 2; a test pattern printing step of causing the printing device to print a test pattern to be formed by ink being ejected from the plurality of nozzles; an imaging step of causing the imaging device to capture the printed image obtained in the test pattern printing step; an image clipping step of clipping a plurality of partial images, each corresponding to N nozzles, from the captured image obtained in the imaging step; and a defective ejection determination step of providing each of the plurality of partial images as input data to the trained model and determining, based on output data output from the trained model, whether or not a nozzle in a defective ejection state is included among the N nozzles corresponding to the input data.

[0030] According to a first aspect of the present invention, a trained model for detecting nozzle ejection defects is generated by machine learning using images formed by ejecting ink from multiple nozzles as training data. Therefore, the relative positional relationship between multiple nozzles with respect to the ink ejection position is learned. Therefore, by providing the trained model with an image (partial image) of the object to be inspected as input data, it is possible to detect nozzle ejection defects, such as lateral skipping, based on output data output from the trained model. Furthermore, since no numerical analysis is performed, it is not necessary to set various parameters. As a result, a printing device equipped with a head unit including multiple ink-ejecting nozzles can detect lateral skipping, one type of nozzle ejection defect, without requiring significant effort for parameter setting. Furthermore, since lateral skipping, which has previously been difficult to detect, can be detected, oversight of nozzle ejection defects is reduced. As a result, unnecessary consumption of printing paper and ink due to reprinting is reduced. In this way, it is possible to contribute to the achievement of the SDGs (Sustainable Development Goals).

[0031] According to the second aspect of the present invention, even if the input data to the trained model is an image (partial image) corresponding to N nozzles, the nozzles in a discharge failure state can be identified, making it possible to effectively deal with the discharge failure of the nozzles.

[0032] According to the third aspect of the present invention, even if there are nozzles in a state of ejection failure, the print data is corrected so as to compensate for the ejection failure, thereby obtaining a high-quality print.

[0033] According to the fourth aspect of the present invention, it is possible to detect dimensional jumps with high accuracy.

[0034] According to the fifth aspect of the present invention, it is possible to accurately detect lateral jumps that affect quality.

[0035] According to the sixth aspect of the present invention, it is possible to detect a sideways jump from multiple perspectives.

[0036] According to the seventh aspect of the present invention, when determining whether or not there is a nozzle in a discharge failure state, the influence of noise such as the influence of head unit adjustment is suppressed, thereby enabling nozzle discharge failure to be detected with high accuracy.

[0037] According to the eighth aspect of the present invention, it is possible to accurately detect ejection defects of nozzles corresponding to the image of the stage located at the most upstream side in the transport direction in the captured image, and ejection defects of nozzles corresponding to the image of the stage located at the most downstream side in the transport direction in the captured image.

[0038] According to the ninth aspect of the present invention, it is possible to set a reference position relatively easily when cutting out a partial image from a captured image.

[0039] According to the tenth aspect of the present invention, it is possible to accurately detect shape defects among ejection defects.

[0040] According to the eleventh aspect of the present invention, it is possible to detect non-ejection, shape defects, and lateral skipping as ejection defects.

[0041] According to the twelfth aspect of the present invention, the processing time required to cut out a plurality of partial images from the captured image in the image cutting step is shortened.

[0042] According to the thirteenth aspect of the present invention, a plurality of determination results are taken into consideration when determining whether each nozzle is in a discharge failure state, making it possible to accurately identify nozzles in a discharge failure state.

[0043] According to the fourteenth aspect of the present invention, the same effects as those of the thirteenth aspect of the present invention can be obtained.

[0044] According to the fifteenth aspect of the present invention, by performing machine learning using a large amount of learning data (learning images), it becomes possible to detect nozzle ejection defects with higher accuracy.

[0045] According to the sixteenth aspect of the present invention, it is possible not only to detect nozzle ejection defects but also to identify the type of ejection defect.

[0046] According to the seventeenth aspect of the present invention, only images that represent good ejection conditions are required as learning data (learning images). In other words, there is no need to collect defective data. Therefore, a sufficient amount of learning data can be easily collected.

[0047] According to the eighteenth aspect of the present invention, only images that represent good ejection conditions are required as learning data (learning images). In other words, there is no need to collect defective data. Therefore, a sufficient amount of learning data can be easily collected. Furthermore, even if the input data to the trained model are images (partial images) corresponding to N nozzles, nozzles in an ejection failure state can be identified, making it possible to effectively address the nozzle ejection failure.

[0048] According to the nineteenth aspect of the present invention, the same effects as those of the first aspect of the present invention can be obtained.

[0049] According to the twentieth aspect of the present invention, the same effects as those of the first aspect of the present invention can be obtained.

[0050] 1 is an overall configuration diagram of a printing system according to a first embodiment of the present invention. FIG. 1 is a schematic diagram showing an example of the configuration of an inkjet printing device according to the first embodiment. FIG. 2 is a plan view showing an example of the configuration of a recording unit according to the first embodiment. FIG. 3 is a diagram for explaining the arrangement of nozzles in an ink ejection head according to the first embodiment. FIG. 4 is a block diagram showing the hardware configuration of a print control device according to the first embodiment. FIG. 5 is a diagram for explaining machine learning using an autoencoder according to the first embodiment. FIG. 6 is a diagram for explaining machine learning using an autoencoder according to the first embodiment. FIG. 7 is a diagram for explaining machine learning using an autoencoder according to the first embodiment. FIG. 8 is a diagram for explaining machine learning using an autoencoder according to the first embodiment. FIG. 9 is a block diagram showing the functional configuration of a control unit implemented by a print control program being executed by a print control device according to the first embodiment. FIG. 10 is a diagram showing an example of an inspection chart printed during learning processing according to the first embodiment. FIG. 11 is a diagram showing an example of an inspection chart printed during inference processing according to the first embodiment. FIG. 12 is a block diagram showing the detailed configuration of a discharge defect detection unit according to the first embodiment. FIG. 13 is a diagram showing an example of a printed image of an inspection chart when a discharge-defective nozzle is present according to the first embodiment. FIG. 1 is a diagram illustrating an example of the structure of an autoencoder in the first embodiment. FIG. 2 is a flowchart illustrating a series of processing steps for detecting a discharge-failed nozzle in the first embodiment. FIG. 3 is a flowchart illustrating a detailed procedure for preparing learning data (learning images) in the first embodiment. FIG. 4 is a diagram illustrating setting a threshold value as a parameter in the first embodiment. FIG. 5 is a diagram illustrating setting a threshold value as a parameter in the first embodiment. FIG. 6 is a diagram illustrating an example of cutting out an image in a range corresponding to a plurality of nozzles consecutive in the main scanning direction in the first embodiment.1A and 1B are diagrams for explaining an example of cutting out an image in a range corresponding to a plurality of nozzles that are continuous in the sub-scanning direction in the first embodiment. FIG. 1A is a diagram for explaining an example of cutting out an image in a range corresponding to a plurality of nozzles that are continuous in both the main scanning direction and the sub-scanning direction in the first embodiment. FIG. 1B is a diagram for explaining a method of determining a provisional ejection position in the first embodiment. FIG. 1C is a flowchart showing a procedure for determining an actual ejection position in the first embodiment. FIG. 1C is a diagram for explaining division of a captured image in the first embodiment. FIG. 1D is a diagram for explaining trimming when dividing a captured image in the first embodiment. FIG. 1E is a diagram for explaining calculation of an average value of data of a plurality of pixels for each of the divided images in the first embodiment. FIG. 1F is a diagram for explaining a method of determining an actual ejection position when a non-ejecting nozzle is present in the first embodiment. FIG. 1F is a flowchart showing a procedure for determining an ideal ejection position in the first embodiment. FIG. 1D is a diagram for explaining copying of the top and bottom images of a captured image of a test chart in the first embodiment. FIG. 1E is a diagram for explaining a processing time priority extraction technique in the first embodiment. FIG. 10 is a diagram for explaining division of a partial image into a plurality of nozzle unit images in the first embodiment. FIG. 11 is a diagram for explaining a precision-priority cut-out method in the first embodiment. FIG. 12 is a diagram for explaining identification of a discharge-failed nozzle when a precision-priority cut-out method is adopted in the first embodiment. FIG. 13 is a diagram for explaining identification of a discharge-failed nozzle when a precision-priority cut-out method is adopted in the first embodiment. FIG. 14 is a diagram for explaining types of discharge defects that can be detected for each cut-out reference position in the first embodiment. FIG. 15 is a plan view showing an example configuration of a printing unit in a third modified example of the first embodiment. FIG. 16 is a diagram showing a detailed configuration of a head unit in the third modified example. FIG. 17 is a diagram for explaining execution of unsupervised learning in the third modified example.FIG. 1 is a diagram showing an example of the structure of a neural network in a second embodiment of the present invention. FIG. 2 is a diagram for explaining learning using a neural network in the second embodiment. FIG. 3 is a diagram for explaining learning using a neural network in the second embodiment. FIG. 4 is a block diagram showing a detailed configuration of a discharge defect detection unit in the second embodiment. FIG. 5 is a flowchart showing a series of processing steps for detecting discharge-defective nozzles in the second embodiment. FIG. 6 is a diagram for explaining types of discharge defects that can be detected for each extraction reference position in the second embodiment. FIG. 7 is a diagram showing an example of the structure of a neural network in a modified example of the second embodiment. FIG. 8 is a diagram for explaining non-discharge. FIG. 9 is a diagram for explaining shape defects. FIG. 10 is a diagram for explaining lateral jumps. FIG. 11 is a diagram for explaining dimensional lateral jumps. FIG. 12 is a diagram for explaining lateral jumps that affect quality.

[0051] Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.

[0052] 1. First embodiment

[0053] 1.1 Overall Configuration of the Printing System FIG. 1 is a diagram illustrating the overall configuration of a printing system according to a first embodiment of the present invention. This printing system comprises an inkjet printing device 10 and a print data generating device 30. The inkjet printing device 10 and the print data generating device 30 are connected to each other via a LAN 4. The print data generating device 30 generates print data by performing RIP processing and the like on input data such as a PDF file. The print data generated by the print data generating device 30 is transmitted to the inkjet printing device 10 via the LAN 4. The inkjet printing device 10 comprises a printing machine main body 200 and a print control device 100 that controls the operation of the printing machine main body 200. The inkjet printing device 10 outputs a print image on printing paper as a print medium based on the print data transmitted from the print data generating device 30 without using printing plates. Note that the present invention can also be applied when a print medium other than printing paper (e.g., film) is used.

[0054] 2 is a schematic diagram showing an example of the configuration of the inkjet printing device 10. As described above, the inkjet printing device 10 is made up of the print control device 100 and the printing device main body 200.

[0055] The printing machine main body 200 includes a paper feed section 202 that supplies printing paper (in this example, rolled printing paper) 5 to the printing mechanism 201, the printing mechanism 201 that prints on the printing paper 5, and a paper winding section 208 that winds up the printing paper 5 into a roll after printing.

[0056] The printing mechanism 201 includes a first drive roller 203 for transporting the printing paper 5 inside, a plurality of support rollers 204 for transporting the printing paper 5 inside the printing mechanism 201, a recording unit 205 for recording a print image on the printing paper 5, a drying mechanism 206 for drying the printing paper 5 on which the print image has been recorded, and a second drive roller 207 for outputting the printing paper 5 from inside the printing mechanism 201. The recording unit 205 is composed of a K head unit 25K that ejects K (black) ink, a C head unit 25C that ejects C (cyan) ink, an M head unit 25M that ejects M (magenta) ink, and a Y head unit 25Y that ejects Y (yellow) ink. The printing mechanism 201 also includes an inline scanner 40 as an imaging device that captures the print image recorded on the printing paper 5 by the recording unit 205. The image data obtained by the inline scanner 40 is sent to the print control device 100. In the following description, when the color of ink ejected from the head unit is not to be distinguished, the head unit will be denoted by the reference numeral 25.

[0057] FIG. 3 is a plan view showing an example of the configuration of the recording unit 205. As shown in FIG. 3, the recording unit 205 is composed of a K-color head unit 25K, a C-color head unit 25C, an M-color head unit 25M, and a Y-color head unit 25Y, which are arranged in a row in the transport direction (sub-scanning direction) of the printing paper 5. Each head unit 25 is composed of a plurality of ink ejection heads (print heads) 251 arranged in a staggered pattern. Each ink ejection head 251 includes a number of nozzles (not shown in FIG. 3) that eject ink. Each nozzle of the ink ejection head 251 included in the K-color head unit 25K ejects K-color ink, each nozzle of the ink ejection head 251 included in the C-color head unit 25C ejects C-color ink, each nozzle of the ink ejection head 251 included in the M-color head unit 25M ejects M-color ink, and each nozzle of the ink ejection head 251 included in the Y-color head unit 25Y ejects Y-color ink.

[0058] FIG. 4 is a diagram illustrating the arrangement of nozzles in the ink ejection head 251. Typically, the ink ejection head 251 includes multiple rows of nozzle groups, each consisting of multiple nozzles arranged in the main scanning direction (a direction perpendicular to the transport direction of the printing paper 5). In the example shown in FIG. 4, the ink ejection head 251 includes four rows of nozzle groups. The area marked with reference numeral 41 in FIG. 4 schematically shows the landing positions on the printing paper 5 of ink ejected from each nozzle. The multiple nozzles in the ink ejection head 251 are arranged so that the landing positions of ink ejected from the nozzles in the first row of nozzle group, the landing positions of ink ejected from the nozzles in the second row of nozzle group, the landing positions of ink ejected from the nozzles in the third row of nozzle group, and the landing positions of ink ejected from the nozzles in the fourth row of nozzle group are all different from one another. For example, the landing position of ink ejected from each nozzle included in the first nozzle group is a position between the landing position of ink ejected from the nozzles included in the third nozzle group and the landing position of ink ejected from the nozzles included in the fourth nozzle group. In the example shown in Figure 4, the landing position 42 of ink ejected from the nozzles labeled 252(p) is a position between the landing position 43 of ink ejected from the nozzles labeled 252(q) and the landing position 44 of ink ejected from the nozzles labeled 252(r).

[0059] 1.3 Hardware Configuration of Print Control Device FIG. 5 is a block diagram showing the hardware configuration of the print control device 100. As shown in FIG. 5, the print control device 100 includes a main body 110, an auxiliary storage device 121, an optical disk drive 122, a display unit 123, a keyboard 124, and a mouse 125. The main body 110 includes a CPU 111, a memory 112, a first disk interface unit 113, a second disk interface unit 114, a display control unit 115, an input interface unit 116, and a communication interface unit 117. The CPU 111, the memory 112, the first disk interface unit 113, the second disk interface unit 114, the display control unit 115, the input interface unit 116, and the communication interface unit 117 are connected to one another via a system bus. The auxiliary storage device 121 is connected to the first disk interface unit 113. The optical disk drive 122 is connected to the second disk interface unit 114. The display unit (display device) 123 is connected to the display control unit 115. A keyboard 124 and a mouse 125 are connected to the input interface unit 116. The printing machine main body 200 is connected to the communication interface unit 117 via a communication cable. The communication interface unit 117 is also connected to the LAN 4. The auxiliary storage device 121 is a magnetic disk device or the like. An optical disk 19, which is a computer-readable recording medium such as a CD-ROM or DVD-ROM, is inserted into the optical disk drive 122. The display unit 123 is a liquid crystal display or the like. The display unit 123 is used to display information desired by the operator. The keyboard 124 and mouse 125 are used by the operator to input instructions to this printing control device 100.

[0060] The auxiliary storage device 121 stores a print control program 13 (a program for controlling the execution of printing processing by the printer main body 200). In this embodiment, the print control program 13 includes a subprogram, a defective ejection detection program for detecting defective nozzle ejection. The CPU 111 reads the print control program 13 stored in the auxiliary storage device 121 into the memory 112 and executes it to realize various functions of the print control device 100. The memory 112 includes RAM (random access memory) and ROM (read only memory). The memory 112 functions as a work area for the CPU 111 to execute the print control program 13 stored in the auxiliary storage device 121. The print control program 13 is provided by being stored on the computer-readable recording medium (non-transitory recording medium). That is, a user, for example, purchases an optical disk 19 as a recording medium for the print control program 13, inserts it into the optical disk drive 122, reads the print control program 13 from the optical disk 19, and installs it in the auxiliary storage device 121.

[0061] 1.4 Machine Learning Using Autoencoders Autoencoders are known as one type of neural network used in machine learning. Learning using an autoencoder is performed so that the output data is as close as possible to the input data. Here, when normal data and abnormal data exist and an autoencoder is trained using only a large amount of normal data, the trained autoencoder outputs output data as follows: When normal data is provided to the autoencoder as input data, the autoencoder outputs normal data as output data. At this time, the error between the input data and the output data is extremely small. On the other hand, when abnormal data is provided to the autoencoder as input data, the autoencoder outputs data that has been made to approximate the abnormal data to the normal data as output data. At this time, the error between the input data and the output data is large. Taking into account such differences in error, autoencoders can be used to detect abnormal data.

[0062] Here, for example, assume that a normal printed image of a test pattern for one nozzle is an image shown in the rectangular area labeled 170 in FIG. 6 . Note that the black shaded areas in FIG. 6 are areas painted with ink. When an image shown in the rectangular area labeled 181 in FIG. 7 (an image without a discharge defect) is provided as input data to a trained autoencoder, the trained autoencoder outputs output data corresponding to an image shown in the rectangular area labeled 182 in FIG. 7 . At this time, the error between the input data and the output data is extremely small. In contrast, when an image shown in the rectangular area labeled 191 in FIG. 8 (an image with a discharge defect) is provided as input data to a trained autoencoder, the trained autoencoder outputs output data corresponding to, for example, an image shown in the rectangular area labeled 192 in FIG. 8 . At this time, the error between the input data and the output data is large. Also, for example, assume that a normal printed image of a test pattern for two nozzles is an image shown in the rectangular area labeled 171 in FIG. 9 . When an image such as that shown in the rectangular portion labeled 183 in FIG. 10 (an image without discharge defects) is provided as input data to a trained autoencoder, the trained autoencoder outputs output data corresponding to an image such as that shown in the rectangular portion labeled 184 in FIG. 10. At this time, the error between the input data and the output data is extremely small. In contrast, when an image such as that shown in the rectangular portion labeled 193 in FIG. 11 (an image with discharge defects) is provided as input data to a trained autoencoder, the trained autoencoder outputs output data corresponding to an image such as that shown in the rectangular portion labeled 194 in FIG. 11. At this time, the error between the input data and the output data is large. As described above, when discharge defects occur, the error between the input data and the output data becomes large. This can be used to detect nozzles with discharge defects.

[0063] Therefore, in this embodiment, an autoencoder is trained using only normal images (images without ejection defects) from among the captured images obtained by using an imaging device to capture printed images of a test pattern for inspecting the ink ejection status from each nozzle, and then the image to be inspected (in this embodiment, an image covering a range of multiple nozzles) is provided as input data to the trained autoencoder. Then, based on the error between the input data to the trained autoencoder and the output data from the trained autoencoder, it is determined whether or not there is a nozzle with an ejection defect among the multiple nozzles corresponding to the image to be inspected.

[0064] 12 is a block diagram showing the functional configuration of the control unit 150 that is realized by executing the print control program 13 in the print control device 100. The control unit 150 includes a transport control unit 151, an ink ejection control unit 152, a drying control unit 153, an imaging control unit 154, a data storage unit 155, an ejection defect detection unit 156, and a print data correction unit 157.

[0065] The conveyance control unit 151 controls the speed (conveyance speed) at which the conveyance mechanism 29 conveys the printing paper 5. The conveyance mechanism 29 is realized by a paper delivery unit 202, a first drive roller 203, a plurality of support rollers 204, a second drive roller 207, and a paper winding unit 208 (see FIG. 2). The drying control unit 153 controls the temperature (drying temperature) at which the drying mechanism 206 dries the printing paper 5 after printing. The imaging control unit 154 controls the timing at which the inline scanner 40 captures the image of the printed image.

[0066] The data holding unit 155 temporarily holds post-RIP print data (print data based on a print job) 50 transmitted from the print data generating device 30. The print data 50 is data for controlling the ejection of ink from the multiple nozzles included in each head unit 25. The data holding unit 155 also holds inspection chart data representing an inspection chart for detecting defective ejection nozzles. In this embodiment, the data holding unit 155 holds, as the inspection chart data, test pattern data 51a representing a test pattern that is a stepped pattern to be formed by ejecting ink from all the nozzles in one head unit 25, and tint pattern data 51b representing a tint pattern of a constant overall density to be formed by ejecting ink from all the nozzles in one head unit 25.

[0067] The discharge failure detection unit 156 detects discharge-failure nozzles based on image data (captured image) obtained by capturing an image of the printed image of the inspection chart with the inline scanner 40. Discharge failure information 52 identifying the discharge-failure nozzles is then output from the discharge failure detection unit 156. An autoencoder is used to detect discharge-failure nozzles by the discharge failure detection unit 156. The processing of the discharge failure detection unit 156 can be broadly divided into a process of preparing learning data and learning the autoencoder using the learning data (hereinafter simply referred to as the "learning process"), and a process of inferring the presence or absence of discharge-failure nozzles and the positions of the discharge-failure nozzles using the learned autoencoder (hereinafter simply referred to as the "inference process"). The discharge failure detection unit 156 will be described in detail later.

[0068] Based on the defective discharge information 52, the print data correction unit 157 corrects the post-RIP print data 50 stored in the data storage unit 155 so as to compensate for the defective discharge of the nozzles. More specifically, based on the defective discharge information 52, the print data correction unit 157 corrects the print data 50 for controlling the discharge of ink from the multiple nozzles included in each head unit 25 so as to compensate for the defective discharge of the nozzles determined to be in a defective discharge state by the defective discharge detection unit 156. More specifically, for example, the print data 50 is corrected so as to increase the amount of ink discharged from nozzles surrounding the nozzles determined to be in a defective discharge state. The corrected print data 53 is then output from the print data correction unit 157.

[0069] The ink ejection control unit 152 controls the ejection of ink from each nozzle included in the four head units 25K, 25C, 25M, and 25Y that make up the recording unit 205, based on the inspection chart data (test pattern data 51a, tint pattern data 51b) stored in the data storage unit 155 or the print data 53 after correction by the print data correction unit 157. For example, the ink ejection control unit 152 controls the timing and amount of ink ejection. An inspection chart is printed on the printing paper 5 by controlling the ejection of ink from each nozzle based on the inspection chart data, and an image based on the print job is printed on the printing paper 5 by controlling the ejection of ink from each nozzle based on the print data 53.

[0070] In this embodiment, inspection charts are printed during the learning process and the inference process, but different inspection charts are printed during the learning process and the inference process. Specifically, during the learning process, an inspection chart 71, as shown in FIG. 13 , including a tint pattern 72 and a test pattern (step-like pattern) 73, is printed. During the inference process, an inspection chart 71, as shown in FIG. 14 , including only the test pattern (step-like pattern) 73, is printed. That is, during the learning process, the ink ejection control unit 152 controls the ink ejection from each nozzle based on the tint pattern data 51 b and the test pattern data 51 a. During the inference process, the ink ejection control unit 152 controls the ink ejection from each nozzle based on the test pattern data 51 a. Note that any pattern other than a step-like pattern can be used as the test pattern as long as it has a regular pattern.

[0071] With respect to the inspection chart 71, the tint pattern 72 is a pattern of constant density as a whole as described above, and the test pattern 73 is composed of a plurality of linear patterns 731. Each linear pattern 731 is a pattern formed by ink being ejected from a corresponding nozzle. Note that in reality, the test pattern 73 is composed of more linear patterns 731 than those shown in Figures 13 and 14. For example, if one head unit 25 includes 24,000 nozzles, the test pattern 73 for one color will be composed of 24,000 linear patterns 731.

[0072] In the following description of the test pattern 73, a group of linear patterns 731 aligned in the main scanning direction is referred to as a "row." In the example shown in Fig. 13, the test pattern 73 is composed of five rows. Each linear pattern 731 corresponds to a unit pattern.

[0073] 1.5.2 Configuration of the discharge defect detection unit Fig. 15 is a block diagram showing the detailed configuration of the discharge defect detection unit 156 in this embodiment. The discharge defect detection unit 156 includes a learning image generation unit 610, a model generation unit 620, an image clipping unit 630, a discharge defect determination unit 640, and a discharge defect information output unit 650. The discharge defect determination unit 640 includes a self-encoding unit 641, an error calculation unit 642, and a comparison determination unit 643. The discharge defect information output unit 650 includes a discharge defect nozzle identification unit 651.

[0074] The learning image generation unit 610 generates a plurality of learning images 54 as learning data used for learning the autoencoder. Incidentally, if there are no ejection-failure nozzles, the printed image of the inspection chart 71 will be as shown in FIG. 13 . In contrast, if there are ejection-failure nozzles, the printed image of the inspection chart 71 will be, for example, as shown in FIG. 16 . In the example shown in FIG. 16 , the linear patterns are not printed correctly in the portions marked with reference numerals 741 and 751. Furthermore, the tint pattern 72 is not printed correctly in the portion marked with reference numeral 742 corresponding to the ejection failure in the portion marked with reference numeral 741, and the tint pattern 72 is not printed correctly in the portion marked with reference numeral 752 corresponding to the ejection failure in the portion marked with reference numeral 751. Thus, if there are ejection-failure nozzles, the tint pattern 72 is not printed correctly in the portions corresponding to the ejection-failure nozzles. Therefore, the learning image generation unit 610 in this embodiment defines the portions of the captured image obtained by capturing the printed image of the tint pattern 72 with the inline scanner 40, excluding the abnormal portions (portions where ejection defects occur), as the normal tint portions, and cuts out and extracts multiple images to be used as learning images from the portions of the captured image obtained by capturing the printed image of the test pattern 73 with the inline scanner 40 that correspond to the normal tint portions. In this way, multiple learning images 54 are generated as learning data to be used for learning the autoencoder. Note that in this embodiment, each image used as a learning image is an image formed by ejecting ink from N nozzles, where N is an integer greater than or equal to 2.

[0075] The model generation unit 620 generates a trained model 55 configured by the autoencoder by providing the multiple training images 54 generated by the training image generation unit 610 as input data to the autoencoder and performing unsupervised learning as machine learning. This trained model 55 is used as a self-encoding unit 641 included in the discharge defect determination unit 640.

[0076] During the inference process, the image cutting unit 630 cuts out multiple partial images 57, each corresponding to N nozzles (two or more nozzles), from the captured image 56 obtained by the inline scanner 40 capturing the printed image of the test pattern 73.

[0077] The discharge defect determination unit 640 provides each of the multiple partial images 57 cut out by the image cutout unit 630 as input data to the autoencoder constituting the trained model 55 generated by the model generation unit 620, and determines whether or not a discharge-failed nozzle is included among the N nozzles corresponding to the input data (partial images 57) based on the output data 58 output from the autoencoder. More specifically, the discharge defect determination unit 640 determines whether or not a discharge-failed nozzle is included among the N nozzles corresponding to the input data (partial images 57) based on the result of comparing a value obtained based on the input data to the autoencoder constituting the trained model 55 and the output data 58 from the autoencoder with a threshold value set as a parameter. A determination result 60 is then output from the discharge defect determination unit 640.

[0078] The auto-encoding unit 641 is a trained model 55 generated by the model generation unit 620, and receives as input data each of the multiple partial images 57 cut out by the image cutout unit 630. The auto-encoder unit 641 outputs output data 58 obtained by forward propagation processing within the auto-encoder. The error calculation unit 642 calculates a mean square error 59 between the input data to the auto-encoding unit 641 (the partial images 57 cut out by the image cutout unit 630) and the output data 58 from the auto-encoding unit 641. The comparison / determination unit 643 determines whether or not a discharge-failed nozzle is included among the N nozzles corresponding to the input data to the auto-encoding unit 641, based on the result of comparing the mean square error 59 with the above-mentioned threshold. In this regard, if the mean square error 59 is greater than the threshold, the comparison / determination unit 643 determines that a discharge-failed nozzle is included among the N nozzles corresponding to the input data.

[0079] The discharge failure information output unit 650 outputs discharge failure information 52 that identifies the discharge-failure nozzle based on the judgment result 60 output from the discharge failure judgment unit 640. In this regard, the judgment result 60 corresponding to each partial image 57 simply indicates whether or not a discharge-failure nozzle is included among the corresponding N nozzles. Therefore, the discharge-failure nozzle identification unit 651 identifies the discharge-failure nozzle by taking into account the judgment result 60 for each of the multiple partial images 57. Note that how the discharge-failure nozzle identification unit 651 identifies the discharge-failure nozzle will be described later.

[0080] <1.5.3 Autoencoder> Figure 17 is a diagram showing an example of the structure of an autoencoder AE used in this embodiment. This autoencoder AE is composed of an input layer, a hidden layer (intermediate layer), and an output layer. The input layer is composed of units (neurons) equal in number to the number of pixels constituting the image to be inspected, which is used as input data. The hidden layer is composed of a number of units fewer than the number of units constituting the input layer. The output layer is composed of a number of units equal to the number of units constituting the input layer. The connections between the input layer and the hidden layer and between the hidden layer and the output layer are fully connected. For example, a sigmoid function is used as the activation function for the hidden layer and the output layer. With this structure, the part marked with reference numeral 7 in Figure 17 (the part consisting of the input layer and hidden layer) functions as an encoder, and the part marked with reference numeral 8 in Figure 17 (the part consisting of the hidden layer and the output layer) functions as a decoder. Furthermore, since the input layer and output layer are composed of units equal in number to the number of pixels that make up the image to be inspected, it can be understood that the input data to the autoencoder AE and the output data from the autoencoder AE are composed of data for multiple pixels.

[0081] Learning using this autoencoder AE is performed, for example, as follows: When input data is provided to the autoencoder AE, a forward propagation process is performed within the autoencoder AE. After that, the sum of the squared errors between the input data and the output data output from the autoencoder AE is calculated. Then, the parameters of the autoencoder AE (weight coefficients, bias) are updated using a gradient descent method based on the results obtained from the backpropagation process of the error. By repeating learning in this manner, the above parameters are optimized. As described above, learning using this autoencoder AE is performed so that the output data is as close to the input data as possible. In other words, learning is performed so that the error between the input data and the output data is minimized.

[0082] As described above, the data that is compared with the output data from the autoencoder AE during the learning process is the input data to the autoencoder AE. In other words, no teacher data is used. In this manner, in this embodiment, unsupervised learning as machine learning is performed using the autoencoder AE.

[0083] 1.6 Processing Procedure for Detecting Faulty Nozzles (Faulty Discharge Detection Method) A series of processing steps for detecting faulty discharge nozzles will be described with reference to the flowchart shown in Fig. 18. First, learning data to be used for learning using the autoencoder AE described above is prepared (step S10). In step S10, a plurality of learning images 54, each formed by ejecting ink from N nozzles, are prepared as learning data.

[0084] Here, the detailed procedure for preparing the learning data will be described with reference to the flowchart shown in FIG. 19 . First, an inspection chart 71 is printed (step S110). Specifically, the ink ejection control unit 152 controls the ejection of ink from each nozzle based on the inspection chart data (test pattern data 51a, tint pattern data 51b) stored in the data storage unit 155, thereby printing the inspection chart 71, which includes a tint pattern 72 and a test pattern (step-like pattern) 73, as shown in FIG. 13 . After the inspection chart 71 is printed, the inline scanner 40 captures the printed image of the inspection chart 71 (the printed image obtained in step S110) under the control of the imaging control unit 154 (step S120). Next, the captured image of the tint pattern 72 from the captured images obtained in step S120 is inspected (step S130). Then, based on the inspection results from step S130, a plurality of learning images 54 are extracted as learning data from the captured image of the test pattern 73 from the captured images obtained in step S120 (step S140). In step S140, a plurality of learning images 54 are extracted from the captured image of the test pattern 73, from the portion corresponding to the normal tint portion. Therefore, the plurality of learning images 54 extracted as learning data does not include any images that represent nozzle ejection defects. After step S140 is completed, the process proceeds to step S20 in FIG. 18.

[0085] After the training data is prepared, unsupervised learning is performed using the autoencoder AE (step S20). In step S20, the multiple training images 54 prepared as training data in step S10 are sequentially provided to the autoencoder AE, thereby performing unsupervised learning as machine learning. By performing unsupervised learning using the multiple training images 54, the parameters (weighting coefficients, bias) of the autoencoder AE are optimized. In this manner, a trained model 55 configured by the autoencoder AE is generated.

[0086] Incidentally, the shape of the image formed on the printing paper 5 by ejecting ink from the nozzles can vary depending on the printing conditions. Therefore, in this embodiment, unsupervised learning using the autoencoder AE is performed for each printing condition. In this regard, for example, one printing condition is defined by a combination of the type of printing medium, the printing speed, and the printing resolution. If a printing company uses 10 printing conditions in its printing system, unsupervised learning using the autoencoder AE is performed for each of the 10 printing conditions. In this case, in step S20, 10 trained models 55 corresponding to the 10 printing conditions are generated.

[0087] After the trained model 55 is generated, the ink ejection control unit 152 controls the ejection of ink from each nozzle based on the test pattern data 51a stored in the data storage unit 155, thereby printing an inspection chart 71 consisting only of a test pattern (step-like pattern) 73, as schematically shown in FIG. 14 (step S30). Then, under the control of the imaging control unit 154, the inline scanner 40 captures a printed image of the test pattern 73 (the printed image obtained in step S30) (step S40). Next, the image cropping unit 630 crops a plurality of partial images 57, each corresponding to N nozzles, from the captured image 56 obtained in step S40 (step S50).

[0088] After a plurality of partial images 57 are cut out from the captured image 56, each of the plurality of partial images 57 is provided as an image to be inspected as input data to the autoencoder AE constituting the trained model 55 (step S60). As a result, output data corresponding to each partial image 57 is output from the autoencoder AE. Note that in step S60, the trained model 55 corresponding to the printing conditions under which the test pattern 73 was printed in step S30 is used.

[0089] Thereafter, the error calculation unit 642 calculates the mean square error 59 between the input data to the autoencoder AE and the output data 58 from the autoencoder AE for each of the plurality of partial images 57 (step S70).

[0090] Next, the comparison / determination unit 643 compares the mean square error 59 calculated in step S70 with the above-mentioned threshold value that is set in advance as a parameter, and determines based on the comparison result whether or not a discharge-failed nozzle is included among the N nozzles corresponding to each partial image 57 (each input data) (step S80). In this step S80, if the mean square error 59 is greater than the threshold value, it is determined that a discharge-failed nozzle is included among the N nozzles corresponding to the partial image 57 (input data).

[0091] Finally, the ejection-failure nozzle identifying section 651 performs a process of identifying the ejection-failure nozzle in consideration of the results obtained in the process of step S80 (step S90).

[0092] After the process of detecting defective nozzles has been performed using the above procedure, the print data is corrected to compensate for the defective ejection of the nozzles identified as defective nozzles (print data correction step). This allows high-quality printouts to be obtained even if defective nozzles are present.

[0093] 18, steps S10 to S20 are learning processes, and steps S30 to S90 are inference processes. Once the learning process is completed and a trained model 55 is generated, it is possible to repeat only the inference process. Furthermore, even if a trained model 55 has been generated, the accuracy of detecting nozzle ejection defects can be improved by further repeating the learning process.

[0094] In this embodiment, step S10 realizes the learning image preparation step, step S20 realizes the model generation step, step S30 realizes the test pattern printing step, step S40 realizes the imaging step, step S50 realizes the image extraction step, steps S60 to S80 realize the ejection failure determination step, and step S90 realizes the ejection failure nozzle identification step.

[0095] Here, setting a threshold as a parameter will be described with reference to FIGS. 20 and 21 . The frequency (frequency) of mean squared errors for each numerical range is shown in FIG. 20 , and the details of the portion labeled 46 in FIG. 20 are shown in FIG. 21 . The data within the dotted line labeled 49 in FIG. 20 corresponds to nozzles with ejection failures. The dotted line labeled 47 in FIG. 20 represents the average value of mean squared errors (for normal data). In a normal distribution, the probability that each data point exceeds a range of 4σ (σ: standard deviation) from the mean value (one-sided) is 1 in 30,000. This corresponds to the level of one nozzle with ejection failures in a 20-inch head unit. Taking this into consideration, for example, the value obtained by adding 4σ to the average value of mean squared errors (the value represented by the solid line labeled 48 in FIG. 20 ) can be set as the threshold. Note that the value shown here is merely an example, and there are no particular restrictions on how the threshold value is set.

[0096] 1.7 Image Cutout In this embodiment, images (learning image 54, partial image 57) are cut out from the captured image during the learning process and the inference process. In this regard, in order to efficiently perform learning of the autoencoder AE and to accurately detect ejection-failed nozzles using the autoencoder AE, it is preferable to determine in advance the number of linear patterns to be included in the cut-out image and the reference position (e.g., center position) when cutting out the image from the captured image. Therefore, below, the range of one image cut out from the captured image (image cut-out range) and the reference position when cutting out the image (hereinafter referred to as the "cut-out reference position") will be described.

[0097] <1.7.1 Image Cutout Range> Roughly speaking, the image cutout range can be determined by cutting out an image in a range corresponding to one nozzle, as shown in Fig. 1, or by cutting out an image in a range corresponding to multiple nozzles. In other words, the image can be cut out so that only one linear pattern is included in the cutout image, or by cutting out an image so that multiple linear patterns are included in the cutout image. However, this embodiment and the second embodiment described below use the method of cutting out an image in a range corresponding to multiple nozzles.

[0098] According to the method of cutting out an image covering a range of multiple nozzles, multiple images (learning image 54, partial image 57), each corresponding to two or more nozzles, are cut out from the captured image of test pattern 73 during both the learning process and the inference process. This method learns the positional relationships between multiple linear patterns, making it possible to detect lateral skipping regardless of which of the three positions described below is used as the cutting reference position. Furthermore, since it is possible to detect non-ejection and shape defects, it is possible to detect nozzle ejection defects regardless of their type.

[0099] When cutting out an image covering a range of multiple nozzles, the image may be cut out in a range corresponding to multiple nozzles that are consecutive in the main scanning direction, or in a range corresponding to multiple nozzles that are consecutive in the sub-scanning direction, or in a range corresponding to multiple nozzles that are consecutive in both the main scanning direction and the sub-scanning direction. For example, an image may be cut out from the captured image so that the cut-out image includes three linear patterns that are consecutive in the main scanning direction (see the bold dotted line portion labeled 76 in FIG. 22 ). When the image is cut out in this manner, it is possible to detect dimensional jumps, as can be seen from FIG. 53 . Furthermore, the image may be cut out from the captured image so that the cut-out image includes three linear patterns that are consecutive in the sub-scanning direction (see the bold dotted line portion labeled 77 in FIG. 23 ). When the image is cut out in this manner, it is possible to detect jumps that affect quality, as can be seen from FIG. 54 . Furthermore, for example, an image may be cut out from the captured image so that the cut-out image contains nine linear patterns of three rows and three columns (see the thick dotted line portion labeled with reference numeral 78 in FIG. 24). When the image is cut out in this manner, it becomes possible to detect side jumps from multiple perspectives.

[0100] <1.7.2 Cutout Reference Position> Three positions are possible as the cutout reference position. Below, three cutout methods (first to third cutout methods) corresponding to the three positions are described. Note that in step S50 of FIG. 18 and step S140 of FIG. 19, an image of a predetermined range (learning image 54, partial image 57) is cut out from the captured image, centered on this cutout reference position for a predetermined one of the corresponding N nozzles (two or more nozzles).

[0101] The first extraction method is a method in which an image is extracted from a captured image based on positions where ink is expected to be ejected from each nozzle based on the design information of the test pattern 73 (hereinafter referred to as "provisional ejection positions"). In this regard, the provisional ejection positions are determined, for example, as follows. First, when printing the test pattern 73, position marks 791 and 792 for determining the provisional ejection positions are also printed, as shown in FIG. 25 . Then, based on the captured image of the printed image, the number of linear patterns present in the area corresponding to the gap between the two position marks 791 and 792 is counted. Based on the count value thus obtained (i.e., the number of nozzles that should eject ink into the area corresponding to the gap between the two position marks 791 and 792) and the positions (coordinates) of the two position marks 791 and 792, the nozzle pitch (the distance between two adjacent nozzles in the main scanning direction) is determined. Then, based on the position (coordinates) of one of the position marks 791 and the nozzle pitch, the provisional ejection positions of each nozzle that ejects ink into the area corresponding to the gap between the two position marks 791 and 792 are determined.

[0102] The second cut-out technique is a technique in which an image is cut out from a captured image based on the positions at which ink is actually ejected from each nozzle (hereinafter referred to as "actual ejection positions"), which are determined based on a captured image of the printed image of the test pattern 73. With regard to the second cut-out technique, the procedure for determining the actual ejection positions will be described below with reference to the flowchart shown in FIG.

[0103] First, the captured image is divided into K portions (split images) in the sub-scanning direction, where K is an integer greater than or equal to 2 (step S210). In step S210, the boundaries between columns are determined based on the design information of the test pattern 73 or the pixel values ​​of the captured image, and the captured image is divided so that each split image corresponds to one column (in other words, so that each split image corresponds to one nozzle in the sub-scanning direction). For example, if a captured image 80 such as that shown in part A of FIG. 27 is obtained, the captured image 80 is divided into four split images 801 to 804 as shown in part B of FIG. 27. Note that the boundaries between one column and the next contain a lot of noise. For example, as shown in the portion marked with the reference numeral 81 in FIG. 28, gaps may occur due to adjustment of the ink ejection head 251. Therefore, it is preferable to remove the upper and lower end portions of the split images (i.e., the boundaries between columns) by trimming.

[0104] Next, for each of the K divided images obtained in step S210, the average value of the data (pixel values) of the multiple pixels included in the sub-scanning direction is calculated (step S220). This corresponds to converting a captured image such as that shown in part A of Fig. 29 into one-dimensional data such as that shown in part B of Fig. 29. Note that it is preferable to normalize the average value data obtained in step S220, for example, by setting the paper-white portion to 0 and the maximum density portion to 255.

[0105] Finally, based on the average values ​​calculated in step S220 (preferably, average values ​​after normalization), the actual ejection position for each nozzle is determined (step S230). For this, the peak position is calculated as a real number using a method such as centroid calculation, equiangular linear fitting, spline interpolation, or Gaussian fitting based on the values ​​of the pixels where the peak of the average value is obtained (for example, the pixels marked with symbols PE1 to PE5 in part B of FIG. 29) and the values ​​of their neighboring pixels (for example, based on the values ​​of a total of three pixels), and the peak position is determined as the actual ejection position.

[0106] Here, a method for determining the actual ejection position when a non-ejecting nozzle (a nozzle that is not ejecting) is present will be described. When a non-ejecting nozzle is present, a "printed image of test pattern 73" such as that shown in FIG. 16 is obtained. A captured image obtained by capturing the printed image of test pattern 73 is subjected to the process of step S210 in FIG. 26 (captured image division process) to obtain a divided image. For the portion where a non-ejecting nozzle is present, a divided image 805 including an abnormal portion 741a where a linear pattern is printed with an extremely narrow width as shown in FIG. 30, or a divided image 806 including an abnormal portion 741b where no linear pattern is printed at all as shown in FIG. 31, is obtained.

[0107] When the process of step S220 in FIG. 26 (processing for calculating the average value in the sub-scanning direction) is performed on divided images 805 and 806, a peak in the average value is detected for normal portions excluding abnormal portions 741a and 741b. On the other hand, no peak in the average value is detected for abnormal portions 741a and 741b. In this way, portions where no peak in the average value is detected are determined to contain non-ejecting nozzles, and are excluded from the process of step S230 in FIG. 26 (processing for identifying actual ejection positions). As a result, it is not possible to perform extraction of partial images (step S50 in FIG. 18) using the positions of the nozzles corresponding to abnormal portions 741a and 741b as the extraction reference positions, and it is determined that a non-ejecting nozzle is present.

[0108] The third extraction method is a method of extracting an image from a captured image based on the ideal position where ink is ejected from each nozzle (hereinafter referred to as the "ideal ejection position"). With regard to the third extraction method, the procedure for determining the ideal ejection position of a certain nozzle (hereinafter referred to as the "nozzle of interest") will be described below with reference to the flowchart shown in FIG.

[0109] First, based on the design information of the test pattern 73, provisional ejection positions (positions where ink is expected to be ejected) for a target nozzle and a predetermined number of nozzles near the target nozzle are determined using the procedure described above (step S310). Hereinafter, the predetermined number of nozzles near the target nozzle are referred to as a "neighboring nozzle group." The main scanning direction is referred to as the "left-right direction." For example, the neighboring nozzle group includes the nozzles up to five nozzles to the left of the target nozzle and the nozzles up to five nozzles to the right of the target nozzle. However, if the target nozzle is located at the left end, the neighboring nozzle group includes the nozzles up to five nozzles to the right of the target nozzle. If the target nozzle is located at the right end, the neighboring nozzle group includes the nozzles up to five nozzles to the left of the target nozzle. After the provisional ejection positions are determined, the actual ejection positions (positions where ink is actually ejected) for each of the neighboring nozzle groups are determined using the captured image using the procedure described above (step S320). Next, the difference between the provisional ejection position and the actual ejection position is calculated for each of the neighboring nozzle groups (step S330). The average of the differences calculated in step S330 is then calculated (step S340). Finally, the ideal ejection position for the nozzle of interest is determined by adding the average calculated in step S340 to the provisional ejection position for the nozzle of interest (step S350).

[0110] Here, we will explain how to determine the ideal ejection position when a non-ejecting nozzle is present. The non-ejecting nozzle is detected in the process of step S320 in FIG. 32 (processing for calculating the actual ejection position). In this case, for example, one of the multiple nozzles included in the nearby nozzle group is detected as the non-ejecting nozzle. Then, the non-ejecting nozzle is excluded from the nearby nozzle group, and the process of step S330 in FIG. 32 (processing for calculating the difference) is executed. This calculates the difference between the provisional ejection position and the actual ejection position for each of the remaining, for example, nine nozzles from the nearby nozzle group excluding the non-ejecting nozzle. The subsequent processes of steps S340 and S350 are the same as when no non-ejecting nozzle is detected. In this way, the ideal ejection position for the nozzle of interest described above is determined.

[0111] <1.7.3 Cases where a range corresponding to multiple nozzles is cut out in the sub-scanning direction> For example, when the image cut-out range is a range corresponding to multiple nozzles that are consecutive in the sub-scanning direction as shown in Figures 23 and 24, the captured image may be reconstructed as follows prior to image cut-out.

[0112] First, a captured image containing multiple columns is divided into multiple divided images, one for each column. Next, as described above, since the boundary between one column and the next contains a lot of noise, the boundary is removed by trimming. More specifically, the upstream and downstream ends of each of the multiple divided images in the sub-scanning direction are trimmed away. Finally, the multiple divided images from which the boundary has been removed in this manner (i.e., the multiple divided images from which the upstream and downstream ends in the sub-scanning direction have been removed) are combined. In this manner, the captured image is reconstructed.

[0113] However, when the range corresponding to three consecutive nozzles in the sub-scanning direction is used as the image cutout range, it is not possible to perform the desired cutout centered on the nozzle corresponding to the top row or the nozzle corresponding to the bottom row. Therefore, the top row image (the image at the position indicated by reference numeral 82a in FIG. 33 ) can be copied to a position below the bottom row image (the position indicated by reference numeral 82b in FIG. 33 ), and the bottom row image (the image at the position indicated by reference numeral 83a in FIG. 33 ) can be copied to a position above the top row image (the position indicated by reference numeral 83b in FIG. 33 ). In other words, before cutting out the images (learning image 54, partial image 57) from the captured image, the image of the row located most upstream in the sub-scanning direction in the captured image can be copied further downstream from the row located most downstream in the sub-scanning direction, and the image of the row located most downstream in the sub-scanning direction in the captured image can be copied further upstream from the row located most upstream in the sub-scanning direction. In addition, in order to obtain a printed image equivalent to the image after such copying, ink may be ejected from the nozzles corresponding to the top row and the nozzles corresponding to the bottom row when printing the test pattern 73.

[0114] <1.7.4 Regarding Edge Portions of Captured Image> It is thought that the accuracy of detecting ejection defects will be lower for edge portions of a captured image than for other portions. Therefore, the following processing may be performed for edge portions. During the learning process, for example, a learning image 54 is cut out from the captured image using each of the four corners of the captured image as a reference position for cutting out, and unsupervised learning is performed by an autoencoder AE using the learning image 54 to generate a trained model 55 for the edge portion. During the inference process, a partial image 57 is cut out from the captured image in the same manner as during the learning process, and the partial image 57 is provided as input data to the autoencoder AE that configures the trained model 55 for the edge portion to detect ejection-failed nozzles.

[0115] <1.7.5 Method of cutting out images (partial images) during inference processing and identifying nozzles with poor ejection performance> With regard to the method of cutting out partial images 57 from captured image 56 during inference processing, a method (hereinafter, for convenience, referred to as the “processing time-priority cutting method”) may be used in which multiple partial images 57 are cut out from captured image 56 so that an image corresponding to each nozzle is cut out only once (in other words, multiple partial images 57 are cut out from captured image 56 so that the linear pattern corresponding to each nozzle is included in only one partial image 57), or a method (hereinafter, for convenience, referred to as the “accuracy-priority cutting method”) in which multiple partial images 57 are cut out from captured image 56 so that an image corresponding to each of all nozzles (excluding nozzles corresponding to linear patterns located at the edge of captured image 56) is positioned at the center (the center of the image after cutting out) once may be used. According to the precision-priority cutting method, the nozzles corresponding to the linear patterns included in the row located at the most upstream side in the sub-scanning direction in the captured image 56, the nozzles corresponding to the linear patterns included in the row located at the most downstream side in the sub-scanning direction in the captured image 56, and the nozzles corresponding to the linear patterns located at both ends of each row are defined as end nozzles, and when multiple partial images 57 are cut out from the captured image 56, the positions corresponding to all of the nozzles among the multiple nozzles included in the head unit 25 except for the end nozzles are used as the reference once each.

[0116] When the processing time priority cut-out method is adopted, for example, after the partial image of the dotted line portion labeled 851 in Fig. 34 is cut out, the partial image of the dotted line portion labeled 852 in Fig. 34 is cut out. This method shortens the processing time required to cut out multiple partial images 57 from the captured image 56. When partial images 57 are cut out using this method, the detection and identification of discharge-failed nozzles in the inference process is performed as follows. First, the discharge failure determination unit 640 determines whether or not there is a discharge-failed nozzle based on the mean square error between the input data to the autoencoder AE and the output data from the autoencoder AE for the entire partial image. If it is determined that a faulty nozzle exists (in other words, if the mean square error is greater than a predetermined threshold), the faulty nozzle identification unit 651 divides the entire relevant partial image for both the input data and the output data into N images (hereinafter referred to as "nozzle unit images"), one for each nozzle, calculates the mean square error between the input data and the output data for each nozzle unit image, and identifies the faulty nozzle based on the results of comparing the mean square error with a threshold (a threshold for comparison for each nozzle unit image) (this threshold is also set as a parameter). In this case, the nozzle corresponding to the nozzle unit image for which the mean square error is greater than the threshold is identified as the faulty nozzle. For example, if the image of the portion indicated by the thick solid line in FIG. 35 has been extracted as a partial image, first, the presence or absence of a faulty nozzle is determined based on the entire partial image. If it is determined that a faulty nozzle exists, the partial image 70 is divided into nine nozzle unit images 701 to 709 for both the input data and the output data. Then, the mean square error between the input data and output data is compared with a threshold value for each of the nine nozzle unit images 701 to 709. If the comparison of the mean square error with the threshold value shows that the mean square error for the nozzle unit image 706 is greater than the threshold value, then the nozzle corresponding to the nozzle unit image 706 is identified as a discharge-failure nozzle.Furthermore, if the result shows that the mean square error for nozzle unit image 701 and nozzle unit image 709 is greater than the threshold value, the nozzle corresponding to nozzle unit image 701 and the nozzle corresponding to nozzle unit image 709 are identified as defective ejection nozzles.

[0117] When the precision-priority extraction method is adopted, for example, even if a partial image of the thick solid line portion labeled 861 in FIG. 36 is extracted, a partial image of the dotted line portion labeled 862 in FIG. 36 is also extracted. Even if a partial image of the thick dotted line portion labeled 863 in FIG. 36 is extracted, a partial image of the solid line portion labeled 864 in FIG. 36 is also extracted. This method makes it possible to accurately identify the position of a nozzle with a discharge defect. For example, if partial images corresponding to five consecutive nozzles in the main scanning direction are extracted during the inference process, and a discharge defect occurs as shown in the dotted line portion labeled 87 in FIG. 37, the area where the discharge defect occurs will gradually move as shown in FIG. 37 in the five test results. In this case, the mean square error will be greater than the threshold value for five consecutive tests. Based on this, the nozzle with a discharge defect is identified by the discharge defect nozzle identification unit 651. Furthermore, assume that a partial image containing nine linear patterns arranged in three rows and three columns is extracted during the inference process, and the inspection results for each partial image containing the nine linear patterns are displayed in association with the linear pattern located at the center of each partial image, resulting in the results shown in FIG. 38 . Note that in FIG. 38 , "◯" indicates that no discharge defects were detected, and "×" indicates that a discharge defect was detected. In this case, the discharge-defective nozzle identification unit 651 can determine that the nozzle that recorded the linear pattern corresponding to the result indicated by reference numeral 88 in FIG. 38 is in a discharge-defective state. From the above, it can be seen that a discharge-defective nozzle is identified based on the mutual overlap state of two or more partial images determined in step S80 of FIG. 18 to include a discharge-defective nozzle among the corresponding N nozzles.

[0118] <1.7.6 Types of Discharge Defects Detectable for Each Extraction Reference Position> Figure 39 is a diagram for explaining the types of discharge defects detectable for each extraction reference position. Sideways skipping and shape defects are detectable when any of the three positions described above is used as the extraction reference position. Discharge defects are detectable, subject to certain conditions, when the actual discharge position is used as the extraction reference position. In more detail, if a peak in the average value is not obtained in step S230 of Figure 26, it is possible to detect discharge defects by determining that the corresponding nozzle is discharging without resorting to the processing of steps S60 to S90 of Figure 18.

[0119] 1.8 Effects According to this embodiment, the trained model 55 for detecting nozzle ejection defects is generated by machine learning using images formed by ejecting ink from multiple nozzles as training data. Therefore, the positional relationships between multiple linear patterns are learned. In other words, the relative positional relationships between multiple nozzles with respect to the ink ejection positions are learned. Therefore, by providing the image of the inspection target (partial image 57) to the trained model 55 as input data, it is possible to detect lateral skipping, a type of nozzle ejection defect, based on the output data 58 output from the trained model 55. Furthermore, since no numerical analysis is performed, there is no need to set various parameters. As described above, this embodiment enables the inkjet printing device 10 to detect lateral skipping, which is one type of nozzle ejection defect, without requiring significant effort for parameter setting. Furthermore, since lateral skipping, which has previously been difficult to detect, can be detected, oversight of ejection defects is reduced. As a result, unnecessary consumption of printing paper 5 and ink due to reprinting is reduced. In this way, it is possible to contribute to the achievement of the SDGs (Sustainable Development Goals).

[0120] Furthermore, although ejection defects rarely occur in the inkjet printing device 10, according to this embodiment, only images that represent good ejection conditions are required as learning data (learning images 54). In other words, since there is no need to collect defective data, a sufficient amount of learning data can be easily collected.

[0121] 1.9 Modifications In the first embodiment, unsupervised learning using the autoencoder AE is performed for each printing condition, but the present invention is not limited to this. Therefore, three modifications (Modifications 1 to 3) related to the execution of unsupervised learning are described below.

[0122] <1.9.1 First Modification> Performing unsupervised learning for each of the printing conditions, as in the first embodiment, may result in an excessive processing load. Therefore, it is possible to group multiple similar printing conditions together and perform unsupervised learning. That is, in this modification, one or more printing conditions are grouped together, and unsupervised learning using an autoencoder AE is performed for each printing condition group. As a result, in step S20 of FIG. 18, a trained model 55 is generated for each printing condition group. Then, in step S60 of FIG. 18, a trained model 55 corresponding to the printing condition group including the printing conditions when the test pattern 73 was printed in step S30 of FIG. 18 is used.

[0123] 1.9.2 Second Modification The shape of an image formed on printing paper 5 by ejecting ink from nozzles can vary depending on the type of ink. Therefore, in this modification, unsupervised learning using an autoencoder AE is performed for each type of ink. As a result, in step S20 of FIG. 18 , a trained model 55 is generated for each type of ink. Then, in step S60 of FIG. 18 , the trained model 55 corresponding to the type of ink used when the test pattern 73 was printed in step S30 of FIG. 18 is used.

[0124] 1.9.3 Third Modification FIG. 40 is a plan view showing an example of the configuration of the recording unit 205 in this modification. Unlike the first embodiment, the head units 25 for each color are configured with a first head group arranged upstream in the sub-scanning direction and a second head group arranged downstream in the sub-scanning direction. For example, the K head unit 25K is configured with a first K head group 25K(1) arranged upstream in the sub-scanning direction and a second K head group 25K(2) arranged downstream in the sub-scanning direction. In the example shown in FIG. 40 , both the first head group and the second head group are configured with five ink ejection heads 251 arranged in a staggered pattern. For example, both the ink ejection heads 251 included in the first head group and the ink ejection heads 251 included in the second head group are capable of printing at 600 dpi, and together they are capable of printing at 1200 dpi. The ink ejection heads 251 included in the first head group correspond to upstream ink ejection heads, and the ink ejection heads 251 included in the second head group correspond to downstream ink ejection heads.

[0125] FIG. 41 is a diagram showing the detailed configuration of the head unit 25 in this modified example. In the portion shown in FIG. 41 , ink ejection head 251(1) and ink ejection head 251(3) are included in the first head group, and ink ejection head 251(2) and ink ejection head 251(4) are included in the second head group. It can be seen from FIG. 41 that the landing positions of ink ejected from the nozzles included in the first head group and the landing positions of ink ejected from the nozzles included in the second head group are arranged alternately in the main scanning direction. When printing is performed, ink is first ejected from the nozzles included in the first head group onto each area on the printing paper 5, and then ink is ejected from the nozzles included in the second head group. Therefore, hereinafter, the nozzles included in the first head group will be referred to as "first-ejection nozzles," and the nozzles included in the second head group will be referred to as "second-ejection nozzles."

[0126] In this modified example, a head unit 25 configured as described above is used to print a test pattern 73 such as that shown in Fig. 42. In Fig. 42, the linear patterns indicated by the reference numerals 891, 893, 895, and 897 correspond to the first-injection nozzles, and the linear patterns indicated by the reference numerals 892, 894, 896, and 898 correspond to the second-injection nozzles. It is assumed that images (learning image 54, partial image 57) are cut out from the captured image so that the image obtained by cutting out (cut-out image) contains nine linear patterns arranged in three rows and three columns (see the thick dotted line indicated by the reference numeral 78 in Fig. 24).

[0127] Under the above assumptions, unsupervised learning using an autoencoder AE is performed separately on a cutout image (hereinafter referred to as a "first type cutout image") in which an image corresponding to the first-injection nozzle (the image included in the portion marked with reference numerals 891, 893, 895, and 897 in FIG. 42) is located at the center, and on a cutout image (hereinafter referred to as a "second type cutout image") in which an image corresponding to the second-injection nozzle (the image included in the portion marked with reference numerals 892, 894, 896, and 898 in FIG. 42) is located at the center. As a result, in step S20 of FIG. 18, a trained model 55 corresponding to the first type cutout image and a trained model 55 corresponding to the second type cutout image are generated. Then, in step S60 of FIG. 18, the trained model 55 to be used is selected depending on whether the partial image 57 serving as input data is a first type cutout image or a second type cutout image.

[0128] 2. Second Embodiment In the first embodiment described above, a configuration was adopted in which an image of the inspection target was provided to a trained model generated by unsupervised learning using an autoencoder as a configuration for detecting ejection-failure nozzles. In contrast, in the present embodiment, a configuration was adopted in which an image of the inspection target was provided to a trained model generated by supervised learning using a general forward propagation neural network as a configuration for detecting ejection-failure nozzles. Below, differences from the first embodiment described above will be mainly described.

[0129] 2.1 Overall Configuration, etc. The overall configuration of the printing system, the configuration of the printing machine main body of the inkjet printing device, and the hardware configuration of the print control device are the same as those in the first embodiment (see FIGS. 1 to 5).

[0130] 2.2 Configuration for Machine Learning FIG. 43 is a diagram showing an example of the structure of the neural network NL used in this embodiment. This neural network NL is a general forward propagation neural network and is composed of an input layer, a hidden layer (intermediate layer), and an output layer. The input layer and hidden layer are composed of units (neurons) equal in number to the number of pixels constituting the image of the inspection target, which is used as input data. However, the number of units in the hidden layer is not limited to this. Also, while the number of hidden layers in the example shown in FIG. 43 is one, the number of hidden layers may be two or more. The output layer is composed of four units that output four pieces of probability data 62(1) to 62(4), which will be described later. The connections between the input layer and the hidden layer and between the hidden layer and the output layer are fully connected. For example, a sigmoid function is used as the activation function of the hidden layer, and a softmax function is used as the activation function of the output layer. Note that in this embodiment, a general forward propagation neural network is used as the neural network NL, but a convolutional neural network, for example, may also be used.

[0131] Here, the probability data 62(1) to 62(4) will be explained. As described above, nozzle ejection defects can be roughly classified into three types (non-ejection, shape defects, and lateral skipping). In this embodiment, the neural network NL outputs probability data representing the probability that no ejection-failed nozzles are included among the N nozzles corresponding to the partial image 57 as the image to be inspected, and probability data representing the probability that each of the three types of ejection defects is occurring among the N nozzles corresponding to the partial image 57 as the image to be inspected. Specifically, in this embodiment, the probability data 62(1) to 62(4) are determined as follows: Probability data 62(1) represents the probability that no ejection-failed nozzles are included among the N nozzles corresponding to the partial image 57 as the image to be inspected. Probability data 62(2) represents the probability that at least one of the N nozzles corresponding to the partial image 57 as the image to be inspected is experiencing a non-ejection. Probability data 62(3) represents the probability that at least one of the N nozzles corresponding to the partial image 57 as the image to be inspected is experiencing a shape defect. Probability data 62(4) represents the probability that at least one of the N nozzles corresponding to partial image 57, which is the image to be inspected, is causing a skip. Note that, because a softmax function is used as the activation function for the output layer, the sum of probability data 62(1) to 62(4) output from neural network NL is 1.

[0132] In this embodiment, learning using the neural network NL is performed, for example, as follows. When input data (learning image 54) is provided to the neural network NL, a forward propagation process is performed within the neural network NL, and, for example, a cross-entropy error is calculated based on the probability data 62(1) to 62(4) output from the output layer and the correct answer data 64(1) to 64(4) (see FIG. 44). As an example, the cross-entropy error is calculated based on the probability data and correct answer data as shown in FIG. 45. As shown in FIG. 45, the probability data 62(1) to 62(4) output from the output layer are data between 0 and 1. Also, as shown in FIG. 45, the correct answer data 64(1) to 64(4) are data of 1 or 0. For example, when learning is performed using a learning image 54 without any ejection defects as input data, only the correct answer data 64(1) is 1, and the correct answer data 64(2) to 64(4) are 0. Furthermore, for example, when learning is performed using as input data a learning image 54 in which a shape defect, which is one type of discharge defect, occurs, only the correct answer data 64(3) is 1, and the correct answer data 64(1), 64(2), and 64(4) are 0. After the cross-entropy error is calculated as described above, the parameters (weighting coefficients, bias) of the neural network NL are updated so that the cross-entropy error is minimized. By repeating this learning process, the parameters are optimized.

[0133] During the inference process, partial image 57, which is the image to be inspected, is provided as input data to the input layer of neural network NL. Then, forward propagation processing is performed within neural network NL, and probability data 62(1) to 62(4) are output from the output layer. Based on this probability data 62(1) to 62(4), it is determined whether or not there are any ejection-faulty nozzles, and if there are any, the type of ejection fault.

[0134] Note that, although it is assumed here that nozzle discharge defects are classified into three types, the present invention is not limited to this. In the case where nozzle discharge defects are classified into J types, where J is an integer greater than or equal to 2, it is also possible to employ a configuration in which the output data from the neural network NL includes the probability that no nozzle in a discharge defect state is included among the N nozzles corresponding to the input data to the neural network NL (partial image 57), and J probabilities that at least one of the N nozzles corresponding to the input data to the neural network NL (partial image 57) is experiencing one of the J types of discharge defects.

[0135] 2.3 Functional Configuration of the Control Unit The functional configuration of the control unit 150, which is realized by the print control program 13 being executed by the print control device 100, is the same as that of the first embodiment ( FIG. 12 ). However, the detailed configuration of the discharge defect detection unit 156 differs from that of the first embodiment.

[0136] 46 is a block diagram showing the detailed configuration of the discharge defect detection unit 156 in this embodiment. The discharge defect detection unit 156 includes a learning image generation unit 610, a model generation unit 620, an image clipping unit 630, a discharge defect determination unit 640, and a discharge defect information output unit 650. The discharge defect determination unit 640 includes an inference unit 644 and a determination processing unit 645. The discharge defect information output unit 650 includes a discharge defect nozzle identification unit 651.

[0137] The training image generation unit 610 generates a plurality of training images 54 as training data used for training the neural network NL. Unlike the first embodiment, in this embodiment, training images 54 are extracted from portions of the captured image of the test pattern 73 that correspond to normal tint areas (i.e., portions where no ejection defects occur). Training images 54 are also extracted from portions of the captured image of the test pattern 73 where ejection defects occur. When providing each training image 54 to the model generation unit 620, it is necessary to also provide the model generation unit 620 with the correct answer data 64. The correct answer data is input by an operator for each training image 54, for example, based on the printed image of the tint pattern 72. In this regard, for example, for a training image 54 with a shape defect, only the correct answer data 64(3) is set to 1, and the correct answer data 64(1), 64(2), and 64(4) are set to 0 (see FIGS. 44 and 45 ).

[0138] The model generation unit 620 generates a trained model 55 configured by the neural network NL by performing supervised learning based on a plurality of training images 54 and a plurality of correct answer data 64 using the neural network NL. This trained model 55 is used as an inference unit 644 included in the discharge defect determination unit 640.

[0139] During the inference process, the image cutting unit 630 cuts out multiple partial images 57, each corresponding to N nozzles (two or more nozzles), from the captured image 56 obtained by the inline scanner 40 capturing the printed image of the test pattern 73.

[0140] The defective discharge determination unit 640 provides each of the multiple partial images 57 cut out by the image cutout unit 630 as input data to the neural network NL that constitutes the trained model 55 generated by the model generation unit 620, and determines whether or not a defective discharge nozzle is included among the N nozzles that correspond to the input data (partial images 57) based on the output data 62 (probability data 62(1) to 62(4)) output from the neural network NL.

[0141] The inference unit 644 is the trained model 55 generated by the model generation unit 620, and receives as input data each of the multiple partial images 57 extracted by the image extraction unit 630. The inference unit 644 outputs output data 62 (probability data 62(1) to 62(4)) obtained by forward propagation processing within the neural network NL. The determination processing unit 645 compares the values ​​of the probability data 62(1) to 62(4) as the output data 62 output from the inference unit 644 and determines the presence or absence of a faulty ejection nozzle based on the maximum value of these. More specifically, if the value of the probability data 62(1) is the maximum value of the values ​​of the probability data 62(1) to 62(4), the determination processing unit 645 determines that a faulty ejection nozzle is not included among the N nozzles corresponding to the input data (the relevant partial image 57); if the value of the probability data 62(1) is not the maximum value of the values ​​of the probability data 62(1) to 62(4), the determination processing unit 645 determines that a faulty ejection nozzle is included among the N nozzles corresponding to the input data (the relevant partial image 57).

[0142] The discharge failure information output unit 650 outputs discharge failure information 52 that identifies the discharge failure nozzle based on the judgment result 60 output from the discharge failure judgment unit 640. The discharge failure nozzle identification unit 651 identifies the discharge failure nozzle by taking into account the judgment result 60 for each of the multiple partial images 57. Note that in this embodiment, the discharge failure information 52 output from the discharge failure information output unit 650 also includes information that identifies the type of discharge failure, as necessary.

[0143] 2.4 Processing Procedure for Detecting Faulty Nozzles (Faulty Discharge Detection Method) A series of processing steps for detecting faulty discharge nozzles will be described with reference to the flowchart shown in Fig. 47. First, training data to be used for training using the neural network NL described above is prepared (step S100). In this step S100, a plurality of training images 54, each formed by ejecting ink from N nozzles, are prepared as training data.

[0144] After the training data is prepared, supervised learning is performed using the neural network NL (step S200). In step S200, supervised learning is performed as machine learning by sequentially providing the neural network NL with the multiple training images 54 prepared as training data in step S100. By performing supervised learning using the multiple training images 54, the parameters (weighting coefficients, bias) of the neural network NL are optimized. In this manner, a trained model 55 configured by the neural network NL is generated.

[0145] After the trained model 55 is generated, an inspection chart 71 consisting only of a test pattern (step-like pattern) 73 is printed (step S300). Then, the inline scanner 40 captures an image of the printed test pattern 73 (step S400). Next, the image cropping unit 630 crops a plurality of partial images 57 from the captured image obtained in step S400 (step S500).

[0146] After a plurality of partial images 57 are cut out from the captured image 56, each of the plurality of partial images 57 is provided as an image to be inspected as input data to the neural network NL constituting the trained model 55 (step S600). As a result, the neural network NL outputs the above-described probability data 62(1) to 62(4) as output data 62 corresponding to each partial image 57.

[0147] Next, the judgment processing unit 645 compares the values ​​of the probability data 62(1) to 62(4), and as described above, determines based on the comparison results whether or not there is a nozzle with ejection problems among the N nozzles corresponding to each input data (each partial image 57) (step S700).

[0148] Finally, the discharge-failure nozzle identifying unit 651 identifies the discharge-failure nozzle in consideration of the results obtained in the process of step S700 (step S800). How the discharge-failure nozzle identifying unit 651 identifies the discharge-failure nozzle is the same as in the first embodiment.

[0149] After the process of detecting defective nozzles has been performed using the above procedure, the print data is corrected (print data correction step) so as to compensate for the defective ejection of the nozzles identified as defective nozzles, as in the first embodiment. This allows high-quality printouts to be obtained even if defective nozzles are present.

[0150] In this embodiment, step S100 realizes the learning image preparation step, step S200 realizes the model generation step, step S300 realizes the test pattern printing step, step S400 realizes the imaging step, step S500 realizes the image extraction step, steps S600 and S700 realize the ejection failure determination step, and step S800 realizes the ejection failure nozzle identification step.

[0151] 2.5 Types of Ejection Defects Detectable for Each Extraction Reference Position Figure 48 is a diagram for explaining the types of ejection defects detectable for each extraction reference position. Shape defects are detectable when any of the three positions described above is used as the extraction reference position. Ejection failures and lateral jumps are detectable when the provisional ejection position or the ideal ejection position is used as the extraction reference position, but are undetectable when the actual ejection position is used as the extraction reference position.

[0152] 2.6 Effects In this embodiment, as in the first embodiment, the relative positional relationships between multiple nozzles are learned regarding the ink ejection positions. Therefore, it is possible to detect skipping as a type of nozzle ejection defect (however, it is necessary to use a provisional ejection position or an ideal ejection position as the extraction reference position). Also, as in the first embodiment, there is no need to set various parameters. As described above, it is possible to detect skipping, which is one type of ejection defect, in the inkjet printing device 10 without requiring a great deal of effort to set parameters.

[0153] 2.7 Modifications Fig. 49 is a diagram showing an example of the structure of a neural network NL in a modification of the second embodiment. As shown in Fig. 49, in this modification, the output layer of the neural network NL is made up of two units that output two pieces of probability data 62(1) and 62(2). Probability data 62(1) represents the probability that no ejection-failed nozzle is included among the N nozzles corresponding to partial image 57 as the image to be inspected. Probability data 62(2) represents the probability that a ejection-failed nozzle is included among the N nozzles corresponding to partial image 57 as the image to be inspected.

[0154] By using a neural network NL with the above structure, the presence or absence of a faulty nozzle is determined during inference processing, for example, as follows: Two pieces of probability data 62(1) and 62(2) are compared as output data 62 output from the neural network NL, and if the value of probability data 62(1) is greater than the value of probability data 62(2), it is determined that the N nozzles corresponding to the relevant input data (partial image 57) do not include a faulty nozzle, and if the value of probability data 62(2) is equal to or greater than the value of probability data 62(1), it is determined that the N nozzles corresponding to the relevant input data (partial image 57) include a faulty nozzle.

[0155] 3. Others In the above-described embodiments (including modified examples), the inkjet printing device 10 performs color printing. However, the present invention is not limited to this, and an inkjet printing device that performs monochrome printing may also be used.

[0156] Furthermore, in each of the above-described embodiments (including modified examples), an inkjet printing apparatus 10 using aqueous ink was employed. However, the present invention is not limited to this, and an inkjet printing apparatus using UV ink (ultraviolet-curable ink), such as an inkjet printing apparatus for label printing, may also be employed. In this case, an ultraviolet irradiation mechanism that cures the UV ink on the printing paper 5 by irradiating it with ultraviolet light, instead of the drying mechanism 206, is provided inside the printing mechanism 201 (see FIG. 2 ).

[0157] 10... Inkjet printing device 13... Printing control program 40... Inline scanner 55... Trained model 71... Inspection chart 72... Tint pattern 73... Test pattern 100... Printing control device 156... Discharge defect detection unit 157... Print data correction unit 200... Printing machine main body 201... Printing mechanism 205... Recording unit 251... Ink discharge head 610... Learning image generation unit 620... Model generation unit 630... Image extraction unit 640... Discharge defect judgment unit 641... Auto-encoding unit 642... Error calculation unit 643... Comparison judgment unit 644... Inference unit 645... Judgment processing unit 650... Discharge defect information output unit 651... Discharge defect nozzle identification unit AE... Auto-encoder NL... Neural network

Claims

1. A method for detecting nozzle discharge defects in a printing device equipped with a head unit including a plurality of nozzles that discharge ink onto a printing medium transported in a predetermined transport direction, the method comprising: a learning image preparation step of preparing a plurality of learning images, each formed by the discharge of ink from N nozzles, where N is an integer greater than or equal to 2; a model generation step of generating a trained model by performing machine learning using the plurality of learning images; a test pattern printing step of causing the printing device to print a test pattern to be formed by the discharge of ink from the plurality of nozzles; an imaging step of imaging a printed image obtained in the test pattern printing step; an image extraction step of extracting a plurality of partial images, each corresponding to N nozzles, from the captured image obtained in the imaging step; and a discharge defect determination step of providing each of the plurality of partial images as input data to the trained model, and determining whether or not a nozzle having a discharge defect is included among the N nozzles corresponding to the input data, based on output data output from the trained model.

2. The discharge defect detection method according to claim 1, further comprising a discharge defect nozzle identifying step of identifying a nozzle in a discharge defect state by taking into consideration the result obtained in said discharge defect determination step.

3. The ejection failure detection method described in claim 2, further comprising a print data correction step of correcting print data for controlling the ejection of ink from the multiple nozzles so as to compensate for the ejection failure of a nozzle identified as being in an ejection failure state in the ejection failure nozzle identification step.

4. The method for detecting ejection defects described in claim 1, wherein the test pattern is composed of multiple rows, with each row consisting of multiple unit patterns lined up in a row in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and each of the multiple partial images is an image of a range that includes P unit patterns in a direction perpendicular to the transport direction, where P is an integer of 3 or greater.

5. The method for detecting ejection defects described in claim 1, wherein the test pattern is composed of multiple stages, with each stage consisting of multiple unit patterns lined up in a row in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and each of the multiple partial images is an image of a range that includes Q unit patterns in the transport direction, where Q is an integer of 3 or greater.

6. The method for detecting ejection defects described in claim 1, wherein the test pattern is composed of multiple rows, with each row consisting of multiple unit patterns lined up in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and each of the multiple partial images is an image of a rectangular area including P unit patterns in a direction perpendicular to the transport direction and Q unit patterns in the transport direction, where P and Q are integers greater than or equal to 3.

7. The method for detecting defective ejection as described in claim 1, wherein the test pattern is composed of a plurality of stages, with each stage consisting of a plurality of unit patterns lined up in a row in a direction perpendicular to the transport direction, and each unit pattern is formed by ejecting ink from a corresponding nozzle, and in the image cutting out step, before the plurality of partial images are cut out from the captured image, the captured image is divided into a plurality of divided images corresponding to the plurality of stages, the upstream and downstream ends in the transport direction are removed for each of the plurality of divided images, and the plurality of divided images after the upstream and downstream ends in the transport direction have been removed are combined.

8. The method for detecting defective ejection as described in claim 1, wherein the test pattern is composed of a plurality of stages, with one stage being a plurality of unit patterns arranged in a row in a direction perpendicular to the transport direction, and each unit pattern is formed by ejecting ink from a corresponding nozzle, and in the image extraction step, before the plurality of partial images are extracted from the captured image, an image of the stage located on the most upstream side in the transport direction in the captured image is copied further downstream of the stage located on the most downstream side in the transport direction, and an image of the stage located on the most downstream side in the transport direction in the captured image is copied further upstream of the stage located on the most upstream side in the transport direction.

9. A method for detecting defective ejection as described in claim 1, wherein in the image extraction step, the position where ink is expected to be ejected from each nozzle based on design information of the test pattern is defined as a provisional ejection position, and each of the multiple partial images is extracted from the captured image based on the provisional ejection position for a predetermined one of the corresponding N nozzles.

10. The ejection defect detection method described in claim 1, wherein in the image cutting out step, an actual ejection position where ink is actually ejected from each nozzle is determined based on the captured image, and each of the multiple partial images is cut out from the captured image based on the actual ejection position for a predetermined one of the corresponding N nozzles.

11. A method for detecting defective ejection as described in claim 1, wherein in the image extraction step, the ideal position at which ink is ejected from each nozzle is defined as an ideal ejection position, and each of the multiple partial images is extracted from the captured image based on the ideal ejection position for a predetermined one of the corresponding N nozzles.

12. The method for detecting defective ejection as described in claim 1, wherein the test pattern is composed of multiple stages, with each stage consisting of multiple unit patterns lined up in a row in a direction perpendicular to the transport direction, each unit pattern being formed by ejecting ink from a corresponding nozzle, and wherein in the image extraction step, the multiple partial images are extracted from the captured image such that a unit pattern corresponding to each nozzle is included in only one of the partial images.

13. The method for detecting defective ejection as described in claim 1, wherein the test pattern is composed of a plurality of stages, with each stage consisting of a plurality of unit patterns lined up in a row in a direction perpendicular to the transport direction, and each unit pattern is formed by ejecting ink from a corresponding nozzle, and the nozzle corresponding to the unit pattern included in the stage located on the most upstream side of the transport direction, the nozzle corresponding to the unit pattern included in the stage located on the most downstream side of the transport direction, and the nozzles corresponding to the unit patterns located at both ends of each stage are defined as end nozzles, and when the plurality of partial images are extracted from the captured image in the image extraction step, positions corresponding to all of the plurality of nozzles except for the end nozzles are used as references once each.

14. A method for detecting discharge defects as described in claim 13, further comprising a step of identifying a nozzle having a discharge defect based on the mutual overlap state of two or more partial images determined in the discharge defect judgment step to include a nozzle having a discharge defect among the corresponding N nozzles.

15. A method for detecting ejection defects described in any one of claims 1 to 14, wherein in the model generation step, supervised learning as machine learning is performed using a neural network to generate the trained model constructed by the neural network.

16. A method for detecting ejection defects as described in claim 15, wherein nozzle ejection defects are classified into J types, where J is an integer greater than or equal to 2, and the output data includes the probability that no nozzle in an ejection defect state is included among the N nozzles corresponding to the input data, and J probabilities that at least one of the N nozzles corresponding to the input data is each of the J types of ejection defects.

17. A method for detecting defective discharge described in any one of claims 1 to 14, wherein in the model generation step, unsupervised learning as machine learning is performed using an autoencoder to generate the trained model constructed by the autoencoder, and in the defective discharge determination step, based on the result of comparing a value obtained based on the output data and the input data with a threshold value set as a parameter, it is determined whether or not a nozzle in a defective discharge state is included among the N nozzles corresponding to the input data, and the multiple learning images do not include an image representing a defective discharge of a nozzle.

18. A method for detecting defective discharge as described in claim 1, further comprising a defective nozzle identification step of identifying a nozzle having a defective discharge by taking into consideration the result obtained in the defective discharge judgment step, wherein in the model generation step, an autoencoder is used to perform unsupervised learning as machine learning to generate the trained model constructed by the autoencoder, wherein the plurality of learning images do not include images representing nozzle defective discharge, and wherein in the defective discharge nozzle identification step, a partial image determined in the defective discharge judgment step to include a nozzle having a defective discharge among the corresponding N nozzles is divided into N nozzle unit images, and a nozzle having a defective discharge is identified based on the result obtained by comparing, for each of the N nozzle unit images, a value obtained based on the output data and the input data with a threshold value set as a parameter.

19. A printing device equipped with a head unit including a plurality of nozzles that eject ink onto a printing medium transported in a predetermined transport direction, an imaging device that captures a print image, and a control unit that controls the ejection of ink from the plurality of nozzles and the capturing of the print image by the imaging device, wherein the control unit includes: a model generation unit that generates a trained model by performing machine learning using a plurality of training images, each of which is formed by ejecting ink from N nozzles, where N is an integer greater than or equal to 2; an image extraction unit that extracts a plurality of partial images, each of which corresponds to N nozzles, from an image obtained by the imaging device capturing a print image of a test pattern to be formed by ejecting ink from the plurality of nozzles; and a discharge defect determination unit that provides each of the plurality of partial images as input data to the trained model and determines whether or not a nozzle having a discharge defect is included among the N nozzles corresponding to the input data, based on output data output from the trained model.

20. A defective discharge detection program for detecting defective nozzle discharge in a printing device equipped with a head unit including a plurality of nozzles that discharge ink onto a printing medium transported in a predetermined transport direction, and an imaging device that captures a printed image, the program causing a computer included in the printing device to execute the following steps: a model generation step for generating a trained model by performing machine learning using a plurality of training images, each formed by ink being discharged from N nozzles, where N is an integer greater than or equal to 2; a test pattern printing step for causing the printing device to print a test pattern to be formed by ink being discharged from the plurality of nozzles; an imaging step for causing the imaging device to capture the printed image obtained in the test pattern printing step; an image extraction step for extracting a plurality of partial images, each corresponding to N nozzles, from the captured image obtained in the imaging step; and a defective discharge determination step for providing each of the plurality of partial images as input data to the trained model, and determining whether or not a nozzle in a defective discharge state is included among the N nozzles corresponding to the input data, based on output data output from the trained model.

Citation Information

Patent Citations

  • Method and apparatus for detecting fine pattern position, method and apparatus for detecting defective nozzle, method and apparatus for discharging liquid

    JP2011194734A

  • Method for detecting defective printing nozzles in inkjet printing machine

    JP2019137048A

  • Enhanced print defect detection

    JP2021094853A

  • Failure time estimation device, machine learning device, failure time estimation method

    JP2020142472A

  • Inspection method, inspection device, program, and printing device

    JP2020186938A