Nozzle status detection method, device, equipment, storage medium and product
By obtaining static and dynamic inkjet images, combined with the ink drop identification, quickly detect the spraying of the inkjet printer to solve the problem of low existing detection efficiency, and achieve efficient spraying status detection.
Patent Information
- Application Number
- CN202411480667.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2044-10-23
AI Technical Summary
The existing nozzle state detection methods have low detection efficiency and high time cost, and cannot effectively improve the printing quality and efficiency of inkjet printers.
By obtaining the static inkjet images of each row of sprayed holes and multiple dynamic inkjet images, combined with the first ink drop logo in the static inkjet image, the state of each spray hole is determined based on multiple dynamic inkjet images to achieve fast quickly Test.
Significantly shortened the overall shooting cycle, improved the efficiency of spraying hole detection, reduced time costs, and ensured the improvement of printing quality and efficiency.
Smart Images

Figure CN118991246B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of inkjet printing technology, and in particular to a nozzle state detection method, device, equipment, storage medium and product. Background Art
[0002] Inkjet printing technology is a non-impact printing output method that combines electronic technology and precision mechanical technology. It accurately sprays ink onto the printing medium through the nozzle to form images or text. As the core component of the inkjet printer, the performance of the nozzle directly determines the quality and efficiency of printing.
[0003] The printhead is composed of hundreds to thousands of nozzles, each of which is responsible for ejecting a certain amount of ink. During the printing process, any blockage of the nozzle (whether complete or semi-blocked) may cause problems such as ink failure or ink droplet landing point deviation, which will in turn affect the final quality and effect of printing.
[0004] In order to ensure that the nozzle can work normally, it is necessary to regularly check the status of the nozzle. Currently, nozzle detection mainly relies on two methods:
[0005] One is the basic test method, which evaluates the nozzle status by spraying ink droplets onto the test substrate and performing substrate inspection. However, this method wastes time every time the equipment and substrate are prepared. The other is the aerial static shooting method, which controls the array nozzle to move to a specific position and then stop, and takes a picture of the ink droplets sprayed at that position to detect the nozzle status. The above process is repeated until the inspection is completed. Assume that it takes 1 second to move to each position, pause for 0.2 seconds, and shoot for 0.3 seconds. For an array nozzle with 4 rows and a total of 1024 nozzles, each shot can detect 4 nozzles, and it takes 1024 / 4*1.5=384 seconds to complete the inspection. The inspection efficiency of this method is still not high. Therefore, it is urgent to develop a method that can improve the inspection efficiency to reduce the time cost. Summary of the invention
[0006] The embodiments of the present disclosure provide a nozzle state detection method, device, equipment, storage medium and product to solve the problems of low detection efficiency and high time cost in the existing nozzle state detection method.
[0007] In a first aspect, a method for detecting a nozzle state is provided, comprising:
[0008] Obtaining a static inkjet image and a plurality of dynamic inkjet images of each row of nozzles of the array nozzle, wherein the static inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move to a preset static shooting position corresponding to each row of nozzles and to spray ink, and the dynamic inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move at a uniform speed and to spray ink;
[0009] For each row of nozzles, an identifier of a first ink droplet in a static inkjet image of the current row of nozzles is determined, and based on a plurality of dynamic inkjet images and the identifier of the first ink droplet in the static inkjet image, a state of each nozzle in the current row of nozzles is determined, wherein the identifier of the first ink droplet in the static inkjet image is a nozzle identifier of the corresponding nozzle.
[0010] In a second aspect, a nozzle state detection device is provided, comprising:
[0011] An image acquisition module, used to acquire a static inkjet image and multiple dynamic inkjet images of each row of nozzles of the array nozzle, wherein the static inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move to a preset static shooting position corresponding to each row of nozzles and perform inkjet, and the dynamic inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move at a uniform speed and perform inkjet;
[0012] A state determination module is used to determine, for each row of nozzles, an identifier of a first ink droplet in a static inkjet image of the current row of nozzles, and determine the state of each nozzle in the current row of nozzles based on a plurality of dynamic inkjet images and the identifier of the first ink droplet in the static inkjet image, wherein the identifier of the first ink droplet in the static inkjet image is a nozzle identifier of the corresponding nozzle.
[0013] In a third aspect, an electronic device is provided, including:
[0014] one or more processors;
[0015] a storage device for storing one or more programs,
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the nozzle state detection method as described in the first aspect above.
[0017] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method for detecting the state of the nozzle hole as described in the first aspect is implemented.
[0018] In a fifth aspect, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the method for detecting the state of the nozzle as described in the first aspect is implemented.
[0019] The embodiments of the present disclosure disclose a method, device, equipment, storage medium and product for detecting the state of nozzle holes, including: obtaining a static inkjet image and multiple dynamic inkjet images of each row of nozzle holes of an array nozzle, wherein the static inkjet image of each row of nozzle holes is an image of ink droplets in the air taken when each row of nozzle holes of the array nozzle head is controlled to move to a preset static shooting position corresponding to each row of nozzle holes and to spray ink, and the dynamic inkjet image of each row of nozzle holes is an image of ink droplets in the air taken when each row of nozzle holes of the array nozzle head is controlled to move at a uniform speed and to spray ink; for each row of nozzle holes, determining the identifier of the first ink droplet in the static inkjet image of the current row of nozzle holes, and determining the state of each nozzle hole in the current row of nozzle holes based on multiple dynamic inkjet images and the identifier of the first ink droplet in the static inkjet image, wherein the identifier of the first ink droplet in the static inkjet image is the nozzle identifier of the corresponding nozzle hole. Through the above technical solution, a static inkjet image taken when each row of nozzles in the array nozzle moves to a preset static shooting position is obtained, and multiple dynamic inkjet images of each row of nozzles in the array nozzle are obtained during the movement. Then, the mark of the first ink drop in the static inkjet image is used as a reference, and the state of each nozzle is determined using multiple dynamic inkjet images, which effectively avoids frequent equipment pauses and restarts, thereby significantly shortening the overall shooting cycle, effectively improving the detection efficiency of the nozzles, and greatly reducing the time cost.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the embodiments of the present disclosure. Other features of the embodiments of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0022] Figure 1 is a flow chart of a nozzle state detection method provided in the first embodiment of the present disclosure;
[0023] Figure 2 is a schematic diagram of a single-row nozzle hole arrangement provided in Embodiment 1 of the present disclosure;
[0024] Figure 3It is a structural schematic diagram of a nozzle state detection device provided in the second embodiment of the present disclosure;
[0025] Figure 4 It is a structural diagram of an electronic device provided in Embodiment 3 of the present disclosure. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the solutions of the embodiments of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only embodiments of a part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the embodiments of the present disclosure.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0028] Embodiment 1
[0029] Figure 1 This is a flow chart of a nozzle state detection method provided in the first embodiment of the present disclosure. This embodiment is applicable to the case of detecting each nozzle of an array nozzle. The method can be executed by a nozzle state detection device. The nozzle state detection device can be implemented in the form of hardware and / or software. The nozzle state detection device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0030] S110. Obtain a static inkjet image and multiple dynamic inkjet images of each row of nozzles of the array nozzle, wherein the static inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move to a preset static shooting position corresponding to each row of nozzles and spray ink, and the dynamic inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move at a uniform speed and spray ink.
[0031] In this embodiment, the preset static shooting position can be understood as a fixed position point pre-set on each row of nozzles of the array nozzle. The preset static shooting position corresponds to a preset number of nozzles, so that the image acquisition device can capture the ink droplets ejected by the preset number of nozzles when the nozzles in each row are at the corresponding preset static shooting position. For example, the preset static shooting position of each row can correspond to the first 4 nozzles in each row. The ink droplets in the air can be understood as the ink droplets that remain in the flying state in the air after being ejected from the nozzle and have not yet touched the printing medium. The image acquisition device can be a camera with a 1um exposure time and an optical coupling input function, which can accurately capture images in high-speed dynamic scenes, such as a charge-coupled device camera CCD. The static inkjet image can be used to determine the first nozzle in the current row of nozzles that is in a normal state.
[0032] This solution uses a precisely integrated co-frequency control mechanism to coordinate the working nozzle, point light source and high-performance CCD camera to achieve high-speed co-frequency shooting of the inkjet process. The selected CCD camera has an extremely short exposure time capability (as short as 1 microsecond) and is equipped with an optical coupling input interface to ensure that it can receive trigger signals in real time according to the precise inkjet frequency of the nozzle, and achieve instant synchronization between camera photography and inkjet and point light source lighting. This solution ensures sufficient and stable lighting at the critical moment of ink jetting by precisely controlling the lighting time of the point light source, and then the CCD camera captures and records clear images of ink jetting, providing high-quality original data for subsequent data processing and analysis.
[0033] Specifically, for each row of nozzles of the array nozzle, a motion control device is used to control the current row of nozzles of the array nozzle to move to a preset static shooting position. After pausing, the array nozzle is controlled to spray ink. At the same time, according to the inkjet frequency of the array nozzle, a trigger point light source is fixed, and the image acquisition device is triggered synchronously to capture the image of the ink droplets in the air at this time, so as to obtain a static inkjet image of the current row of nozzles; then, the motion control device is used to control the current row of nozzles to move at a uniform speed and spray ink, and the image acquisition device is used to capture the image of the ink droplets in the air during the process, so as to obtain a dynamic inkjet image of the current row of nozzles.
[0034] Optionally, in order to avoid missing ink droplets from nozzles in a dynamic inkjet image, the starting position of the uniform movement can be set before the first nozzle and at a preset distance from the first nozzle, and the ending position can be set after the last nozzle and at a preset distance from the last nozzle.
[0035] S120. Determine, for each row of nozzles, an identifier of a first ink droplet in a static inkjet image of the current row of nozzles, and determine a state of each nozzle in the current row of nozzles based on a plurality of dynamic inkjet images and the identifier of the first ink droplet in the static inkjet image, wherein the identifier of the first ink droplet in the static inkjet image is a nozzle identifier of the corresponding nozzle.
[0036] In this embodiment, the nozzle identification can be understood as the number of the nozzle, for example, the number of the fourth nozzle is 4. The identification of the first ink droplet can be understood as the number of the first ink droplet. In this embodiment, the nozzle identification can be used as the identification of the ink droplet in the static inkjet image.
[0037] Specifically, for each row of nozzles, a preset ink droplet detection algorithm can be used to identify the static inkjet image of the current row of nozzles. If ink droplets are identified, the identification of the first ink droplet can be determined based on the identification of the nozzle corresponding to the first ink droplet. For example, if the nozzle corresponding to the first ink droplet is the third nozzle in the current row of nozzles, and the identification of the nozzle is 3, the identification of the first ink droplet can be determined as 3. The first ink droplet represents the first ink droplet on the static inkjet image. For example, if there are 3 ink droplets on the static inkjet image, the first ink droplet is the first ink droplet. Furthermore, the state of each nozzle in the current row of nozzles is determined based on multiple dynamic inkjet images and the identification of the first ink droplet in the static inkjet image. For example, the initial state of the nozzle corresponding to each dynamic inkjet image can be determined based on each dynamic inkjet image, and then the final state of each nozzle in the current row of nozzles can be determined based on the initial state of the nozzle corresponding to each dynamic inkjet image. Alternatively, each dynamic inkjet image can be spliced first, and then the state of each nozzle can be determined. This implementation does not limit the preset ink drop detection algorithm, for example, it can be an algorithm based on deep learning.
[0038] It is worth noting that a static inkjet image is an image of ink droplets ejected from multiple nozzles taken at the same time point. If there are no ink droplets ejected from nozzles before the nozzle corresponding to the first ink drop in the static inkjet image, it indicates that the status of these nozzles is abnormal.
[0039] Optionally, if no ink droplets are detected in the static inkjet image of the current row of nozzles, it indicates that the current row of nozzles of the array nozzle is severely blocked, and at this time, there is no need to determine the status of other nozzles.
[0040] Optionally, in order to further improve the detection efficiency, for each row of nozzles in the array nozzle, a static inkjet image of the nozzles in the current row can be obtained first, and after determining the identity of the first ink droplet in the static inkjet image, multiple dynamic inkjet images of the current row can be obtained, and then the state of each nozzle in the current row can be determined based on the identity of the first ink droplet in the static inkjet image and the multiple dynamic inkjet images of the current row.
[0041] For example, a commonly used array nozzle having 4 rows (lines) and a total of 1024 nozzles is used as an example for description. Figure 2 Schematic diagram of a single-row nozzle arrangement provided in the first embodiment of the present disclosure. Figure 2As shown, there are 256 nozzles in a single row (not shown in the figure), the length of a single row of nozzles is 80 mm, the uniform motion time of the device is 50 mm / s, a preset static shooting position P is set, and the preset static shooting position P corresponds to 4 nozzles. The starting position s1 of the uniform movement is set before the first nozzle and 10 mm away from the first nozzle, and the ending position s2 is after the last nozzle and 10 mm away from the last nozzle.
[0042] Time for testing each row: first move the array nozzle to P for testing: it takes 1s to move to position P, pause for 0.2s, and shoot for 0.3s. The required testing time is: (1s + 0.2s + 0.3s) * 1 = 1.5s; then test each row of nozzles in uniform motion, which takes (80mm + 2 * 10mm) / 50 (mm / s) = 2s.
[0043] A total of 4 rows are tested, which requires (1.5s+2s)*4=14s. It can be seen that the testing time is greatly shortened, which effectively improves the efficiency of nozzle testing.
[0044] The present embodiment discloses a method for detecting the state of a nozzle, comprising: obtaining a static inkjet image and multiple dynamic inkjet images of each row of nozzles of an array nozzle, wherein the static inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move to a preset static shooting position corresponding to each row of nozzles and to spray ink, and the dynamic inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move at a uniform speed and to spray ink; for each row of nozzles, determining the identifier of the first ink droplet in the static inkjet image of the current row of nozzles, and determining the state of each nozzle in the current row of nozzles based on multiple dynamic inkjet images and the identifier of the first ink droplet in the static inkjet image, wherein the identifier of the first ink droplet in the static inkjet image is the nozzle identifier of the corresponding nozzle. Through the above technical solution, a static inkjet image taken when each row of nozzles in the array nozzle moves to a preset static shooting position is obtained, and multiple dynamic inkjet images of each row of nozzles in the array nozzle are obtained during the movement. Then, the mark of the first ink drop in the static inkjet image is used as a reference, and the state of each nozzle is determined using multiple dynamic inkjet images, which effectively avoids frequent equipment pauses and restarts, thereby significantly shortening the overall shooting cycle, effectively improving the detection efficiency of the nozzles, and greatly reducing the time cost.
[0045] In some embodiments, the preset static shooting position includes a first static shooting position and a second static shooting position; the step of determining the identification of the first ink droplet in the static inkjet image of the current row of nozzles includes: obtaining a first static inkjet image shot based on the first static shooting position; if there are ink drops in the first static inkjet image, determining the identification of the first ink droplet in the static inkjet image of the current row of nozzles based on the nozzle identification of the nozzle corresponding to the first ink drop in the first static inkjet image; if there are no ink drops in the first static inkjet image, obtaining a second static inkjet image shot based on the second static shooting position; if there are ink drops in the second static inkjet image, determining the identification of the first ink droplet in the static inkjet image of the current row of nozzles based on the nozzle identification of the nozzle corresponding to the first ink drop in the second static inkjet image. Through the above technical solution, the identification of the first ink droplet in the static inkjet image is effectively determined, laying a foundation for improving the detection efficiency of nozzles.
[0046] In this embodiment, the preset static shooting position includes a first static shooting position and a second static shooting position, wherein the first static shooting position is different from the second static shooting position.
[0047] Specifically, two static shooting positions, namely, a first static shooting position and a second static shooting position, are set in the current row of nozzles of the array nozzle; first, the current row of nozzles is moved to the first static shooting position so that the image acquisition device shoots a first static inkjet image, and then the first static inkjet image is detected using a preset ink drop detection algorithm, and when ink droplets are detected in the first static inkjet image, the nozzle identifier of the first ink drop in the first static inkjet image and the nozzle identifier of the nozzle corresponding to the first ink drop are determined, and the nozzle identifier is determined as the identifier of the first ink drop in the static inkjet image of the current row of nozzles;
[0048] If there are no ink droplets in the first static inkjet image, the current row of nozzles is moved to the second static shooting position so that the image acquisition device shoots the second static inkjet image, and then the second static inkjet image is detected using a preset ink droplet detection algorithm. When it is detected that there are ink droplets in the second static inkjet image, the first ink droplet in the second static inkjet image and the nozzle identifier of the nozzle corresponding to the first ink droplet are determined, and the nozzle identifier is determined as the identifier of the first ink droplet in the static inkjet image of the current row of nozzles.
[0049] Exemplarily, taking the first row of nozzles in the array nozzle as an example, first set two static shooting positions in the first row of nozzles, the first static shooting position is SP1, corresponding to the nozzles labeled 1 to 4, and the second static shooting position SP2, corresponding to the nozzles labeled 5 to 8; the first row of nozzles is moved to SP1 for shooting detection. If an ink droplet is detected, the identification of the first detected ink droplet is recorded, and the detection ends; if no ink droplet is detected, move to SP2 for shooting detection. If an ink droplet is detected, the identification of the first detected ink droplet is recorded, and the detection ends.
[0050] Optionally, if no ink droplets are detected in the second static inkjet image, it indicates that a preset number of nozzles in the current row of nozzles have problems, and it is determined that the array nozzle has a major abnormality and no further detection is performed.
[0051] In some embodiments, the state of each nozzle in the current row of nozzles is determined based on multiple dynamic inkjet images and the identification of the first ink drop in the static inkjet image, including: determining image theoretical data corresponding to each dynamic inkjet image based on multiple dynamic inkjet images and the identification of the first ink drop in the static inkjet image, wherein the image theoretical data includes the identification of theoretical ink droplets, the theoretical ink droplets are ink droplets contained in the dynamic inkjet image when the nozzles in the current row are in a normal state, and the identification of the theoretical ink droplets corresponds one-to-one with the nozzle identification; determining the image real data in each dynamic inkjet image by using a preset visual detection algorithm; for each dynamic inkjet image, determining the initial state of the nozzles corresponding to each theoretical ink droplet corresponding to the current dynamic inkjet image based on the image theoretical data and the image real data of the current dynamic inkjet image; determining the state of each nozzle in the current row of nozzles according to the initial state of the nozzles corresponding to each theoretical ink droplet corresponding to each dynamic inkjet image.
[0052] In this embodiment, the image theoretical data can be understood as the data of the corresponding dynamic inkjet image when the current row of nozzles are in a normal state. The image theoretical data includes the identification of theoretical ink droplets. Among them, the theoretical ink droplets are the ink droplets contained in the dynamic inkjet image when the current row of nozzles are in a normal state. It can be seen that the theoretical ink droplets and the nozzles are in a one-to-one correspondence, and the identification of the theoretical ink droplets and the nozzle identification are also one-to-one. The image real data can be understood as the relevant data of the dynamic inkjet image under actual circumstances. The image real data may include the shooting time of the dynamic inkjet image, the number of real ink droplets in the dynamic inkjet image, and the position of each real ink droplet. The preset visual detection algorithm can be understood as a pre-set algorithm for determining the image real data in the inkjet image. Among them, the preset visual detection algorithm can be a pre-set visual detection algorithm, such as edge detection, template matching or machine learning algorithm. The state of the nozzle includes the normal state and abnormal state of the nozzle, wherein the abnormal state can be understood as the state when the nozzle fails.
[0053] Specifically, based on the identification of the first ink droplet in multiple dynamic inkjet images and static inkjet images, it can be determined that the current row of nozzles are all in a normal state, and the image theoretical data corresponding to each dynamic inkjet image can be provided to provide an expected result under an ideal state; at the same time, the number of real ink drops and the position of each real ink droplet in each dynamic inkjet image can be identified by using a preset visual detection algorithm, and then the image real data can be determined based on the shooting time of each dynamic inkjet image, the number of corresponding real ink drops and the position of each real ink droplet; then, for each dynamic inkjet image, the image theoretical data of the current dynamic inkjet image is compared with the image real data to find the difference between the two, and the initial state of the nozzle corresponding to each theoretical ink droplet is analyzed based on the difference. Furthermore, considering that the dynamic inkjet images may overlap during the shooting process of the image acquisition device, for example, due to the high-speed movement of the nozzle or the high shooting frequency, overlapping areas appear between adjacent image frames. In this case, a single image may not accurately reflect the real state of the nozzle, so it is necessary to comprehensively analyze the initial state of the nozzle corresponding to each theoretical ink droplet corresponding to each dynamic inkjet image to determine the final state of each nozzle. Through the above technical solution, the accuracy and efficiency of nozzle detection are effectively improved.
[0054] In some embodiments, the multiple dynamic inkjet images include a first dynamic inkjet image and a second dynamic inkjet image, wherein the first dynamic inkjet image is the first image with ink droplets, and the second dynamic inkjet image is an image taken after the first dynamic inkjet image is taken; the method of determining the image theoretical data corresponding to each dynamic inkjet image based on the identification of the first ink droplet in the multiple dynamic inkjet images and the static inkjet image includes: determining the first image theoretical data of the first dynamic inkjet image based on the identification of the first ink droplet in the first dynamic inkjet image and the static inkjet image; and determining the second image theoretical data of the second dynamic inkjet image based on the first image theoretical data. The above technical solution can provide a reference benchmark of continuity and consistency for the detection of the nozzle state, thereby improving the accuracy and reliability of the detection.
[0055] Specifically, a preset visual detection algorithm is used to detect the dynamic inkjet image according to the shooting time of the dynamic inkjet image. When the first dynamic inkjet image with ink droplets is detected, the dynamic inkjet image is used as the first dynamic inkjet image. Then, based on the identification of the first ink droplet in the static inkjet image and the first dynamic inkjet image, the first image theoretical data of the first dynamic inkjet image is determined; then, based on the first image theoretical data, the second image theoretical data of the second dynamic inkjet image is determined.
[0056] In some embodiments, based on the identification of the first ink drop in the first dynamic inkjet image and the static inkjet image, the first image theoretical data of the first dynamic inkjet image is determined, including: based on the position of the first ink drop in the first dynamic inkjet image, the image width of the first dynamic inkjet image and the horizontal spacing between the nozzles, the theoretical number of ink drops corresponding to the first dynamic inkjet image is determined; based on the identification of the first ink drop in the static inkjet image and the theoretical number of ink drops, the identification of each theoretical ink drop is determined; based on the position of the first ink drop in the first dynamic inkjet image and the horizontal spacing between the nozzles, the position of each theoretical ink drop is determined; based on the theoretical number of ink drops, the identification of each theoretical ink drop, the position of each theoretical ink drop and the shooting time of the first dynamic inkjet image, the first image theoretical data of the first dynamic inkjet image is determined. Through the above technical solution, the accurate calculation of the first theoretical data of the first dynamic inkjet image is realized, which lays a solid foundation for further improving the efficiency and accuracy of nozzle inspection.
[0057] It should be noted that the image widths of the static inkjet image and the dynamic inkjet image in this embodiment are the same.
[0058] Specifically, the position of the first ink drop in the first dynamic inkjet image is determined using a preset visual detection algorithm. It can be understood that the position of the first ink drop in the first dynamic inkjet image is the position of the real ink drop, and is also the position of the first theoretical ink drop. Then, the theoretical number of ink drops corresponding to the first dynamic inkjet image can be obtained by the following algorithm: :
[0059]
[0060] in, represents the image width of the first dynamic inkjet image, represents the position of the first ink drop in the first dynamic inkjet image, Indicates the horizontal spacing between nozzles. Indicates the shooting time of the first dynamic inkjet image.
[0061] Considering that the nozzle corresponding to the first ink drop in the static inkjet image and the first ink drop in the first dynamic inkjet image correspond to the same nozzle, the identifier of the first ink drop in the static inkjet image can be determined as the identifier of the first ink drop in the first dynamic inkjet image, that is, the identifier of the first theoretical ink drop corresponding to the first dynamic inkjet image. Furthermore, according to the identifier of the first ink drop in the first dynamic inkjet image and the theoretical number of ink drops, the identifiers of other theoretical ink drops corresponding to the first dynamic inkjet image can be determined.
[0062] Based on the position of the first ink drop in the first dynamic inkjet image and the horizontal spacing between the nozzles, the positions of other theoretical ink drops can be calculated using the following formula: :
[0063]
[0064] in, Indicates the first dynamic inkjet image An ink drop.
[0065] Furthermore, the theoretical number of ink droplets, the identifier of each theoretical ink droplet, the position of each theoretical ink droplet and the shooting time of the first dynamic inkjet image are determined as the first image theoretical data of the first dynamic inkjet image.
[0066] In some embodiments, based on the first image theoretical data, the second image theoretical data of the second dynamic inkjet image is determined, including: based on the shooting time of the first dynamic inkjet image, the shooting time of the second dynamic inkjet image and the moving speed of the array nozzle, the moving distance of the first theoretical ink droplet in the first dynamic inkjet image is determined; based on the position of the first ink droplet in the second dynamic inkjet image, the image width of the second dynamic inkjet image and the horizontal spacing between the nozzles, the theoretical number of ink droplets corresponding to the second dynamic inkjet image is determined, wherein the position of the first ink droplet in the second dynamic inkjet image is determined based on the moving distance, the position of the first ink droplet in the first dynamic inkjet image, the image width of the second dynamic inkjet image and the horizontal spacing between the nozzles. Determine; based on the identification of the first ink droplet in the second dynamic inkjet image and the theoretical number of ink droplets corresponding to the second dynamic inkjet image, determine the identification of each theoretical ink droplet corresponding to the second dynamic inkjet image, wherein the identification of the first theoretical ink droplet in the second dynamic inkjet image is determined according to the moving distance and the horizontal spacing between the nozzles; based on the position of the first ink droplet in the second dynamic inkjet image and the horizontal spacing between the nozzles, determine the position of each theoretical ink droplet corresponding to the second dynamic inkjet image; determine the second image theoretical data of the second dynamic inkjet image according to the shooting time of the second dynamic inkjet image, the theoretical number of ink droplets corresponding to the second dynamic inkjet image, the identification of each theoretical ink droplet and the position of each theoretical ink droplet. Through the above technical solution, the accurate calculation of the second theoretical data of the second dynamic inkjet image is realized, which lays a solid foundation for further improving the efficiency and accuracy of nozzle inspection.
[0067] Specifically, the first theoretical ink droplet of each dynamic inkjet image often corresponds to a different nozzle. However, in an ideal state, since the horizontal spacing between nozzles, the moving speed and the moving direction of the current row of nozzles are all known, the first theoretical ink droplet in the second dynamic inkjet image can be regarded as the first theoretical ink droplet in the first dynamic inkjet image formed by uniform movement. Therefore, the second image theoretical data of the second dynamic inkjet image can be determined according to the first image theoretical data of the first dynamic inkjet image, and the calculation is as follows:
[0068] First, according to the shooting time of the first dynamic inkjet image , the shooting time of the second dynamic inkjet image and the movement speed of the array nozzle , calculate the moving distance of the first theoretical ink drop in the first dynamic inkjet image :
[0069]
[0070] Then, the position of the first theoretical ink drop in the second dynamic inkjet image is calculated. :
[0071]
[0072] in, It represents the image width of the second dynamic inkjet image. In the embodiment of the present application, the image width of the second dynamic inkjet image is the same as the image width of the first dynamic inkjet image.
[0073] Then, based on the following algorithm, the theoretical number of ink droplets corresponding to the second dynamic inkjet image can be calculated: :
[0074]
[0075] The identifier of the first theoretical ink drop in the first dynamic inkjet image in the second dynamic inkjet image can be calculated by the following algorithm: :
[0076]
[0077] Furthermore, according to the identifier of the first ink drop in the second dynamic inkjet image and the theoretical number of ink droplets corresponding to the second dynamic inkjet image, the identifiers of other theoretical ink droplets corresponding to the second dynamic inkjet image can be calculated.
[0078] Based on the position of the first ink drop in the second dynamic inkjet image and the horizontal spacing between the nozzles, the positions of other theoretical ink droplets can be calculated using the following formula: :
[0079]
[0080] in, Indicates the first An ink drop.
[0081] Furthermore, the second image theoretical data of the second dynamic inkjet image is determined according to the shooting time of the second dynamic inkjet image, the theoretical number of ink droplets corresponding to the second dynamic inkjet image, the identification of each theoretical ink droplet and the position of each theoretical ink droplet.
[0082] In some embodiments, the determination of the initial state of the nozzle corresponding to each theoretical ink droplet corresponding to the current dynamic inkjet image based on the image theoretical data and the image real data of the current dynamic inkjet image includes: determining the position interval corresponding to each theoretical ink droplet according to the position of each theoretical ink droplet and the first preset threshold; determining the initial state of the nozzle corresponding to each theoretical ink droplet corresponding to the current dynamic inkjet image according to the position of the real ink droplet in the current dynamic inkjet image and the position interval corresponding to each theoretical ink droplet. Through the above technical solution, the determination of the initial state of the nozzle corresponding to each theoretical ink droplet is realized, which lays a solid foundation for further improving the efficiency and accuracy of nozzle inspection.
[0083] In this embodiment, the first preset threshold value can be understood as a preset threshold value. The first preset threshold value can be d / 2.
[0084] Specifically, for each theoretical ink droplet, the first preset threshold is subtracted from the position of the current theoretical ink droplet to obtain the difference between the two, and the first preset threshold is added to the position of the current theoretical ink droplet to obtain the sum of the two. Then, according to the difference between the two and the sum of the two, the position interval corresponding to the current theoretical ink droplet can be determined. The position interval can be an open interval, a left-open and right-closed interval, or a left-closed and right-open interval, which is not limited in this embodiment. For example, the interval can be: Furthermore, according to the positions of the real ink drops in the current dynamic inkjet image and the position intervals corresponding to the theoretical ink drops, it is determined whether there are real ink drops in the position intervals corresponding to the theoretical ink drops in the current dynamic inkjet image. If so, it indicates that the initial states of the nozzles corresponding to the theoretical ink drops are all normal. If there are no real ink drops in the position intervals corresponding to the theoretical ink drops, it indicates that the initial states of the nozzles corresponding to the theoretical ink drops are abnormal.
[0085] In some embodiments, determining the state of each nozzle in the current row of nozzles according to the initial state of the nozzle corresponding to each theoretical ink droplet corresponding to each dynamic inkjet image includes: calculating the probability that the initial state of the nozzle corresponding to the theoretical ink droplet with the same identification is a normal state according to the identification of each theoretical ink droplet corresponding to each dynamic inkjet image; determining that the state of the nozzle corresponding to the theoretical ink droplet with the same identification is a normal state when the probability is greater than or equal to a second preset threshold value; and determining that the state of the nozzle corresponding to the theoretical ink droplet with the same identification is an abnormal state when the number of times is less than the second preset threshold value.
[0086] In this embodiment, the first preset threshold is a preset percentage value, for example, the second preset threshold may be 70%.
[0087] Specifically, according to the identification of each theoretical ink droplet corresponding to each dynamic inkjet image, the theoretical ink droplet with the same identification is determined, and then the probability that the initial state of the nozzle corresponding to the theoretical ink droplet is a normal state is calculated, and when the probability is greater than or equal to the second preset threshold, the state of the nozzle is determined to be a normal state, and when the probability is less than the second preset threshold, the state of the nozzle is determined to be an abnormal state. Through the above technical solution, the probability of misdetection of the nozzle is avoided, and the accuracy of nozzle detection is effectively improved.
[0088] Exemplarily, the second preset threshold is 70%, and there are four dynamic inkjet images all corresponding to the theoretical ink droplet marked as 4, wherein the initial states of the nozzle corresponding to the theoretical ink droplet marked as 4 are normal state, normal state, abnormal state and normal state, respectively. It can be calculated that the probability that the initial state of the nozzle is the normal state is 75%, and if it is greater than 70%, it can be determined that the final state of the nozzle is the normal state.
[0089] Embodiment 2
[0090] Figure 3 Schematic diagram of the structure of a nozzle state detection device provided in the second embodiment of the present disclosure. Figure 3 As shown, the device comprises:
[0091] The image acquisition module 21 is used to acquire a static inkjet image and multiple dynamic inkjet images of each row of nozzles of the array nozzle, wherein the static inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move to a preset static shooting position corresponding to each row of nozzles and perform inkjet, and the dynamic inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move at a uniform speed and perform inkjet;
[0092] The state determination module 22 is used to determine, for each row of nozzles, an identifier of a first ink droplet in a static inkjet image of the current row of nozzles, and determine the state of each nozzle in the current row of nozzles based on a plurality of dynamic inkjet images and the identifier of the first ink droplet in the static inkjet image, wherein the identifier of the first ink droplet in the static inkjet image is a nozzle identifier of the corresponding nozzle.
[0093] The disclosed embodiment of the present invention discloses a nozzle state detection device, which effectively improves the detection efficiency of the nozzle and greatly reduces the time cost.
[0094] Optionally, the state determination module 22 includes:
[0095] a theoretical data determination submodule, for determining image theoretical data corresponding to each dynamic inkjet image based on a plurality of dynamic inkjet images and the identifier of the first ink drop in the static inkjet image, wherein the image theoretical data includes the identifier of a theoretical ink drop, the theoretical ink drop is the ink drop included in the dynamic inkjet image when the current row of nozzles is in a normal state, and the identifier of the theoretical ink drop corresponds one-to-one to the nozzle identifier;
[0096] A real data determination submodule, for determining the real image data in each dynamic inkjet image using a preset visual detection algorithm;
[0097] An initial state determination submodule, for determining, for each of the dynamic inkjet images, the initial state of the nozzle corresponding to each theoretical ink droplet corresponding to the current dynamic inkjet image based on the image theoretical data and image real data of the current dynamic inkjet image;
[0098] The nozzle state determination submodule is used to determine the state of each nozzle in the current row of nozzles according to the initial state of the nozzles corresponding to each theoretical ink droplet corresponding to each dynamic inkjet image.
[0099] Optionally, the plurality of dynamic inkjet images include a first dynamic inkjet image and a second dynamic inkjet image, wherein the first dynamic inkjet image is the first image with ink droplets, and the second dynamic inkjet image is an image captured after the first dynamic inkjet image is captured;
[0100] Optionally, a theoretical data determination submodule includes:
[0101] A first data determination unit, configured to determine first image theoretical data of the first dynamic inkjet image based on the identification of the first ink drop in the first dynamic inkjet image and the static inkjet image;
[0102] The second data determination unit is used to determine the second image theoretical data of the second dynamic inkjet image based on the first image theoretical data.
[0103] Optionally, the first data determination unit includes:
[0104] A first quantity determination subunit, configured to determine a theoretical number of ink drops corresponding to the first dynamic inkjet image based on a position of a first ink drop in the first dynamic inkjet image, an image width of the first dynamic inkjet image, and a horizontal spacing between nozzles;
[0105] A first identification determination subunit, configured to determine an identification of each theoretical ink droplet based on an identification of a first ink droplet in the static inkjet image and the theoretical number of ink droplets;
[0106] A first position determination subunit, used for determining the position of each theoretical ink droplet based on the position of the first ink droplet in the first dynamic inkjet image and the horizontal spacing between the nozzles;
[0107] The first data determination subunit is used to determine the first image theoretical data of the first dynamic inkjet image based on the theoretical number of ink drops, the identification of each theoretical ink drop, the position of each theoretical ink drop and the shooting time of the first dynamic inkjet image.
[0108] Optionally, the second data determination unit includes:
[0109] a distance determination subunit, configured to determine a moving distance of a first theoretical ink droplet in the first dynamic inkjet image based on a shooting time of the first dynamic inkjet image, a shooting time of the second dynamic inkjet image, and a moving speed of the array nozzle;
[0110] A second quantity determination subunit is used to determine the theoretical number of ink drops corresponding to the second dynamic inkjet image based on the position of the first ink drop in the second dynamic inkjet image, the image width of the second dynamic inkjet image, and the horizontal spacing between the nozzles, wherein the position of the first ink drop in the second dynamic inkjet image is determined based on the moving distance, the position of the first ink drop in the first dynamic inkjet image, and the image width of the second dynamic inkjet image;
[0111] a second identification determination subunit, configured to determine identifications of theoretical ink droplets corresponding to the second dynamic inkjet image based on the identification of the first ink droplet in the second dynamic inkjet image and the number of theoretical ink droplets corresponding to the second dynamic inkjet image, wherein the identification of the first theoretical ink droplet in the second dynamic inkjet image is determined according to the moving distance and the horizontal spacing between the nozzles;
[0112] A second position determination subunit, configured to determine the positions of each theoretical ink droplet corresponding to the second dynamic inkjet image based on the position of the first ink droplet in the second dynamic inkjet image and the horizontal spacing between the nozzles;
[0113] The second data determination subunit is used to determine the second image theoretical data of the second dynamic inkjet image based on the shooting time of the second dynamic inkjet image, the theoretical number of ink droplets corresponding to the second dynamic inkjet image, the identification of each theoretical ink droplet and the position of each theoretical ink droplet.
[0114] Optionally, the initial state determination submodule includes:
[0115] A position interval determining unit, used to determine the position interval corresponding to each theoretical ink droplet according to the position of each theoretical ink droplet and a first preset threshold;
[0116] The initial state determination unit is used to determine the initial state of the nozzle corresponding to each theoretical ink drop corresponding to the current dynamic inkjet image according to the position of the real ink drop in the current dynamic inkjet image and the position interval corresponding to each theoretical ink drop.
[0117] Optionally, the nozzle state determination submodule includes:
[0118] A probability determination unit, for calculating the probability that the initial state of the nozzle hole corresponding to the theoretical ink droplet with the same identification is a normal state according to the identification of each theoretical ink droplet corresponding to each dynamic inkjet image;
[0119] a normal state determination unit, configured to determine that the state of the nozzle hole corresponding to the theoretical ink droplet with the same identifier is a normal state when the probability is greater than or equal to a second preset threshold;
[0120] The abnormal state determination unit is used to determine that the state of the nozzle corresponding to the theoretical ink droplet with the same identification is an abnormal state when the probability is less than the second preset threshold.
[0121] Optionally, the preset static shooting position includes a first static shooting position and a second static shooting position;
[0122] Optionally, the state determination module 22 includes:
[0123] A first image acquisition submodule, used for acquiring a first static inkjet image captured based on the first static shooting position;
[0124] A first identification determination submodule is used to determine the identification of the first ink droplet in the static inkjet image of the current row of nozzles based on the nozzle identification of the nozzle corresponding to the first ink droplet in the first static inkjet image when there is an ink droplet in the first static inkjet image;
[0125] A second image acquisition submodule, configured to acquire a second static inkjet image captured based on the second static shooting position when no ink droplets exist in the first static inkjet image;
[0126] The second identification determination submodule is used to determine the identification of the first ink droplet in the static inkjet image of the current row of nozzles based on the nozzle identification of the nozzle corresponding to the first ink droplet in the second static inkjet image when there are ink drops in the second static inkjet image.
[0127] The nozzle state detection device provided in the embodiment of the present disclosure can execute the nozzle state detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0128] Embodiment 3
[0129] Figure 4 1 is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the embodiments of the present disclosure described and / or claimed herein.
[0130] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0131] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0132] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microprocessor, etc. The processor 11 executes the various methods and processes described above, such as the nozzle state detection method.
[0133] In some embodiments, the nozzle state detection method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the nozzle state detection method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the nozzle state detection method in any other appropriate manner (e.g., by means of firmware).
[0134] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0135] The computer programs for implementing the methods of the embodiments of the present disclosure may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0136] In the context of the embodiments of the present disclosure, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0137] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0138] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0139] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0140] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in the embodiments of the present disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions of the embodiments of the present disclosure can be achieved, and this document does not limit this.
[0141] The above specific implementations do not constitute a limitation on the protection scope of the embodiments of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the embodiments of the present disclosure shall be included in the protection scope of the embodiments of the present disclosure.
[0142] The embodiments of the present disclosure further provide a computer program product, including a computer program and / or instructions, which, when executed by a processor, implements the nozzle state detection method provided in any embodiment of the present application.
[0143] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to write computer program codes for performing the operations of the embodiments of the present disclosure, and the programming languages include object-oriented programming languages, such as Java, Smalltalk, C++, and also include conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0144] Note that the above are only preferred embodiments of the embodiments of the present disclosure and the technical principles used. Those skilled in the art will understand that the embodiments of the present disclosure are not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present disclosure. Therefore, although the embodiments of the present disclosure are described in more detail through the above embodiments, the embodiments of the present disclosure are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the embodiments of the present disclosure, and the scope of the embodiments of the present disclosure is determined by the scope of the attached claims.
Claims
1. A method for detecting a nozzle state, characterized in that: include: Obtaining a static inkjet image and a plurality of dynamic inkjet images of each row of nozzles of the array nozzle, wherein the static inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move to a preset static shooting position corresponding to each row of nozzles and to spray ink, and the dynamic inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move at a uniform speed and to spray ink; For each row of nozzles, determine the identifier of the first ink drop in the static inkjet image of the current row of nozzles, and determine the state of each nozzle in the current row of nozzles based on a plurality of dynamic inkjet images and the identifier of the first ink drop in the static inkjet image, wherein the identifier of the first ink drop in the static inkjet image is the nozzle identifier of the corresponding nozzle; Wherein, determining the state of each nozzle in the current row of nozzles based on the identification of the first ink drop in the plurality of dynamic inkjet images and the static inkjet image includes: Based on the identification of the first ink drop in the plurality of dynamic inkjet images and the static inkjet image, determining the image theoretical data corresponding to each dynamic inkjet image, wherein the image theoretical data includes the identification of a theoretical ink drop, the theoretical ink drop is the ink drop included in the dynamic inkjet image when the current row of nozzles is in a normal state, and the identification of the theoretical ink drop corresponds one-to-one to the nozzle identification; Determine the real image data in each dynamic inkjet image by using a preset visual detection algorithm; For each of the dynamic inkjet images, based on the image theoretical data and the image real data of the current dynamic inkjet image, determining the initial state of the nozzle corresponding to each theoretical ink droplet corresponding to the current dynamic inkjet image; The state of each nozzle hole in the current row of nozzle holes is determined according to the initial state of the nozzle holes corresponding to each theoretical ink droplet corresponding to each dynamic inkjet image.
2. The nozzle state detection method according to claim 1, characterized in that: The plurality of dynamic inkjet images include a first dynamic inkjet image and a second dynamic inkjet image, wherein the first dynamic inkjet image is the first image with ink droplets, and the second dynamic inkjet image is an image captured after the first dynamic inkjet image is captured; The step of determining the image theoretical data corresponding to each dynamic inkjet image based on the identification of the first ink drop in the static inkjet image and the plurality of dynamic inkjet images comprises: Determining first image theoretical data of the first dynamic inkjet image based on the identification of the first ink drop in the first dynamic inkjet image and the static inkjet image; Based on the first image theoretical data, second image theoretical data of the second dynamic inkjet image is determined.
3. The nozzle state detection method according to claim 2, characterized in that: Determining first image theoretical data of the first dynamic inkjet image based on the identification of the first ink drop in the first dynamic inkjet image and the static inkjet image includes: Determine a theoretical number of ink drops corresponding to the first dynamic inkjet image based on the position of the first ink drop in the first dynamic inkjet image, the image width of the first dynamic inkjet image, and the horizontal spacing between the nozzles; Determining the identification of each theoretical ink droplet based on the identification of the first ink droplet in the static inkjet image and the theoretical number of ink droplets; Determine the position of each theoretical ink droplet based on the position of the first ink droplet in the first dynamic inkjet image and the horizontal spacing between the nozzles; Based on the theoretical number of ink drops, the identifier of each theoretical ink drop, the position of each theoretical ink drop and the shooting time of the first dynamic inkjet image, the first image theoretical data of the first dynamic inkjet image is determined.
4. The nozzle state detection method according to claim 3, characterized in that: Determining second image theoretical data of the second dynamic inkjet image based on the first image theoretical data includes: Determine the moving distance of the first theoretical ink drop in the first dynamic inkjet image based on the shooting time of the first dynamic inkjet image, the shooting time of the second dynamic inkjet image and the moving speed of the array nozzle; Determine the theoretical number of ink drops corresponding to the second dynamic inkjet image based on the position of the first ink drop in the second dynamic inkjet image, the image width of the second dynamic inkjet image, and the horizontal spacing between the nozzles, wherein the position of the first ink drop in the second dynamic inkjet image is determined based on the moving distance, the position of the first ink drop in the first dynamic inkjet image, and the image width of the second dynamic inkjet image; Determining the identifiers of the theoretical ink drops corresponding to the second dynamic inkjet image based on the identifier of the first ink drop in the second dynamic inkjet image and the number of theoretical ink drops corresponding to the second dynamic inkjet image, wherein the identifier of the first theoretical ink drop in the second dynamic inkjet image is determined according to the moving distance and the horizontal spacing between the nozzles; Determining the positions of each theoretical ink droplet corresponding to the second dynamic inkjet image based on the position of the first ink droplet in the second dynamic inkjet image and the horizontal spacing between the nozzles; The second image theoretical data of the second dynamic inkjet image is determined according to the shooting time of the second dynamic inkjet image, the theoretical number of ink droplets corresponding to the second dynamic inkjet image, the identification of each theoretical ink droplet and the position of each theoretical ink droplet.
5. The nozzle state detection method according to claim 4, characterized in that: The determining of the initial state of the nozzle corresponding to each theoretical ink droplet corresponding to the current dynamic inkjet image based on the image theoretical data and the image real data of the current dynamic inkjet image includes: Determining a position interval corresponding to each theoretical ink droplet according to the position of each theoretical ink droplet and a first preset threshold; According to the position of the real ink drop in the current dynamic inkjet image and the position interval corresponding to each theoretical ink drop, the initial state of the nozzle corresponding to each theoretical ink drop corresponding to the current dynamic inkjet image is determined.
6. The nozzle state detection method according to claim 5, characterized in that: The step of determining the state of each nozzle hole in the current row of nozzle holes according to the initial state of the nozzle holes corresponding to each theoretical ink droplet corresponding to each dynamic inkjet image comprises: According to the identification of each theoretical ink droplet corresponding to each dynamic inkjet image, the probability that the initial state of the nozzle corresponding to the theoretical ink droplet with the same identification is a normal state is calculated; When the probability is greater than or equal to a second preset threshold, determining that the state of the nozzle hole corresponding to the theoretical ink droplet with the same identifier is a normal state; When the probability is less than the second preset threshold, it is determined that the state of the nozzle hole corresponding to the theoretical ink droplet with the same identifier is an abnormal state.
7. The nozzle state detection method according to claim 1, characterized in that: The preset static shooting positions include a first static shooting position and a second static shooting position; The step of determining the identifier of the first ink droplet in the static inkjet image of the current row of nozzles includes: Acquire a first static inkjet image captured based on the first static shooting position; In the case where there are ink drops in the first static inkjet image, determining the identifier of the first ink drop in the static inkjet image of the current row of nozzles based on the nozzle orifice identifier of the nozzle orifice corresponding to the first ink drop in the first static inkjet image; When there are no ink drops in the first static inkjet image, acquiring a second static inkjet image photographed based on the second static photographing position; When there are ink drops in the second static inkjet image, the identifier of the first ink drop in the static inkjet image of the current row of nozzles is determined based on the nozzle identifier of the nozzle corresponding to the first ink drop in the second static inkjet image.
8. A nozzle state detection device, characterized in that: include: An image acquisition module, used to acquire a static inkjet image and multiple dynamic inkjet images of each row of nozzles of the array nozzle, wherein the static inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move to a preset static shooting position corresponding to each row of nozzles and perform inkjet, and the dynamic inkjet image of each row of nozzles is an image of ink droplets in the air taken when each row of nozzles of the array nozzle is controlled to move at a uniform speed and perform inkjet; a state determination module, for determining, for each row of nozzles, an identifier of a first ink droplet in a static inkjet image of the current row of nozzles, and determining a state of each nozzle in the current row of nozzles based on a plurality of dynamic inkjet images and the identifier of the first ink droplet in the static inkjet image, wherein the identifier of the first ink droplet in the static inkjet image is a nozzle identifier of a corresponding nozzle; Wherein, the state determination module includes: a theoretical data determination submodule, for determining image theoretical data corresponding to each dynamic inkjet image based on a plurality of dynamic inkjet images and the identifier of the first ink drop in the static inkjet image, wherein the image theoretical data includes the identifier of a theoretical ink drop, the theoretical ink drop is the ink drop included in the dynamic inkjet image when the current row of nozzles is in a normal state, and the identifier of the theoretical ink drop corresponds one-to-one to the nozzle identifier; A real data determination submodule, for determining the real image data in each dynamic inkjet image using a preset visual detection algorithm; An initial state determination submodule, for determining, for each of the dynamic inkjet images, the initial state of the nozzle corresponding to each theoretical ink droplet corresponding to the current dynamic inkjet image based on the image theoretical data and image real data of the current dynamic inkjet image; The nozzle state determination submodule is used to determine the state of each nozzle in the current row of nozzles according to the initial state of the nozzles corresponding to each theoretical ink droplet corresponding to each dynamic inkjet image.
9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the nozzle state detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the nozzle state detection method as described in any one of claims 1 to 7 is implemented.
11. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method for detecting the state of the nozzle hole according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Printing head ink droplet state analysis method and device, and detection device
CN108944046A
Method, device and equipment for detecting whether spray nozzles are abnormal or not and storage medium
CN110202934A