Method for detecting state of a nozzle and inkjet printer
Patent Information
- Application Number
- CN202611164625.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-09-29
AI Technical Summary
[0003]现有喷墨打印技术中,喷墨打印机的喷嘴堵塞是导致输出质量下降和生产中断的主要因素
[0019]本申请提供的方案,通过控制多排喷头打印第一检测图像,第一检测图像为色块图像、点阵图像或者线段图像中的任一种,并根据第一检测图像对多排喷头进行状态检测,得到喷头状态,并在喷头状态为异常状态的情况下,控制多排喷头打印第二检测图像,第二检测图像包括多组线段组,每组线段组与一排喷头对应,每组线段组包括多条线段,每组线段组中的一条线段与对应的一排喷头的一个喷嘴编号关联,每组线段组中间隔第一预设数量的线段设置有第一线段标识,每组线段组中间隔第二预设数量的线段设置有第二线段标识,第一预设数量小于第二预设数量,相邻两组线段组中的首个第一线段标识对应的喷嘴编号成等差数列,相邻两组线段组中的首个第二线段标识对应的喷嘴编号成等差数列,以及根据第一线段标识或第二线段标识确定多排喷头中异常喷嘴的目标喷嘴编号,实现了基于多排喷头打印的第一检测图像对喷墨打印机进行喷头状态检测,无需工作人员通过显微镜对喷嘴进行逐孔观察,提高了对喷墨打印机的喷头状态进行检测的准确性和效率。且在喷墨打印机的喷头状态为异常状态的情况下,基于多排喷头打印的第二检测图像对喷墨打印机的异常喷嘴进行定位检测,提升了对喷墨打印机的喷头状态进行检测的过程中的用户体验。
Smart Images

Figure CN122830265A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of inkjet printing production technology, and in particular relates to a printhead status detection method and an inkjet printer. Background Technology
[0002] Inkjet printing is a printing technology that forms images by spraying ink droplets onto the surface of paper or a substrate through nozzles. This technology adopts a non-contact working mode, can achieve high-resolution output, and is compatible with a variety of ink types. Its application fields cover industries such as advertising, textiles, packaging, and electronic device manufacturing. It has environmental protection characteristics such as no dust pollution and low energy consumption.
[0003] In existing inkjet printing technology, nozzle clogging in inkjet printers is a major factor leading to decreased output quality and production interruptions.
[0004] However, current methods for detecting printhead condition mainly rely on staff regularly observing each nozzle through a microscope. The results are easily influenced by the staff's subjective experience, resulting in low accuracy and efficiency in detecting the printhead condition of inkjet printers. Summary of the Invention
[0005] In view of the above, this application provides a printhead status detection method and an inkjet printer to overcome the problems of the prior art.
[0006] In a first aspect, embodiments of this application provide a printhead state detection method applied to an inkjet printer. The inkjet printer includes multiple rows of printheads arranged side-by-side along a first direction, with nozzles of adjacent rows of printheads aligned side-by-side in the first direction. The printhead state detection method includes: The multi-row printhead is controlled to print a first detection image, which is any one of a color block image, a dot matrix image, or a line segment image. The state of the multi-row nozzles is obtained by performing state detection on the first detection image; When the printhead is in an abnormal state, the multi-row printhead is controlled to print a second detection image. The second detection image includes multiple sets of line segments, each set of line segments corresponds to a row of printheads, and each set of line segments includes multiple line segments. One line segment in each set of line segments is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set on each set of line segments spaced apart by a first preset number, and a second line segment identifier is set on each set of line segments spaced apart by a second preset number. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent sets of line segments form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent sets of line segments form an arithmetic sequence. The target nozzle number of the abnormal nozzle in the multi-row nozzle is determined based on the first line segment identifier or the second line segment identifier.
[0007] In some optional embodiments, the number of multi-row printheads is even, the first detection image is the color block image, and controlling the multi-row printheads to print the first detection image includes: The multiple rows of nozzles are sorted; During the inkjet printing process of the multi-row printheads, the printing positions of the even-numbered printheads are compensated for a first distance in the second direction and a second distance in the first direction to obtain the color block image. The second direction is the nozzle arrangement direction of each row of printheads, the first distance is the nozzle spacing in the second direction, and the second distance is the nozzle spacing in the first direction.
[0008] In some optional embodiments, the step of performing state detection on the multi-row nozzles based on the first detection image to obtain the nozzle state includes: The abnormal state is output when the color block image contains at least one of the following: a missing image, a striped image, or a color-distorted image.
[0009] In some optional embodiments, the first detection image is the dot matrix image, and controlling the multi-row printhead to print the first detection image includes: The multi-row printhead is controlled to perform a single inkjet print to obtain the dot matrix image.
[0010] In some optional embodiments, the step of performing state detection on the multi-row nozzles based on the first detection image to obtain the nozzle state includes: Obtain the spacing between all adjacent ink blots in the dot matrix image to obtain multiple ink blot spacings; When there is an ink gap greater than a preset gap among the multiple ink gaps, the abnormal state is output.
[0011] In some optional embodiments, the first detection image is the line segment image, and controlling the multi-row printhead to print the first detection image includes: The multiple rows of nozzles are grouped into a first nozzle group and a second nozzle group, wherein the first nozzle group includes at least one row of first nozzles and the second nozzle group includes multiple rows of second nozzles; Obtain the nozzle spacing between the second nozzle in each row and the adjacent first nozzle to get the third distance; During the inkjet printing process of the multi-row printheads, the printing position of the second printhead in each row is compensated for a first distance in a second direction and a third distance in the first direction to obtain the line segment image. The second direction is the nozzle arrangement direction of each row of printheads, and the first distance is the nozzle spacing in the second direction.
[0012] In some optional embodiments, the step of performing state detection on the multi-row nozzles based on the first detection image to obtain the nozzle state includes: When there is a broken line or a line segment that is not parallel to the second direction in the line segment image, the abnormal state is output.
[0013] In some optional embodiments, controlling the multi-row printheads to print a second detection image when the printhead is in an abnormal state includes: When the nozzle status is in the abnormal state, a first target nozzle group and a second target nozzle group are selected from the multiple rows of nozzles. The nozzles in the first target nozzle group satisfy the condition that the nozzles are spaced apart by a first preset number of nozzles in the same row of nozzles, and the smallest nozzles in two adjacent rows of nozzles are numbered in an arithmetic sequence. The nozzles in the second target nozzle group satisfy the condition that the nozzles are spaced apart by a second preset number of nozzles in the same row of nozzles, and the smallest nozzles in two adjacent rows of nozzles are numbered in an arithmetic sequence. During the process of printing line segments using inkjet from multiple rows of printheads, the first target printhead group is controlled to print the first line segment identifier, and the second target printhead group is controlled to print the second line segment identifier, thereby obtaining the second detection image.
[0014] In some optional embodiments, determining the target nozzle number of the abnormal nozzle in the multi-row nozzle based on the first line segment identifier or the second line segment identifier includes: Obtain the abnormal line segments in the second detected image; Obtain the number of segments between the abnormal line segment and the nearest target first line segment identifier, or the number of segments between the abnormal line segment and the nearest target second line segment identifier; The target nozzle number is calculated based on the first nozzle number corresponding to the first line segment identifier and the number of the first interval line segments; or... The target nozzle number is calculated based on the second nozzle number corresponding to the second line segment identifier of the target and the number of the second interval line segments.
[0015] Secondly, embodiments of this application provide a printhead status detection device applied to an inkjet printer. The inkjet printer includes multiple rows of printheads arranged side-by-side along a first direction, with nozzles of adjacent rows of printheads aligned side-by-side in the first direction. The printhead status detection device includes: The first control module is used to control the multi-row printhead to print a first detection image, wherein the first detection image is any one of a color block image, a dot matrix image, or a line segment image. The detection module is used to perform state detection on the multi-row nozzles based on the first detection image to obtain the nozzle state; The second control module is used to control the multi-row printheads to print a second detection image when the printhead status is abnormal. The second detection image includes multiple sets of line segments, each set of line segments corresponds to a row of printheads, and each set of line segments includes multiple line segments. One line segment in each set of line segments is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set on each set of line segments spaced apart by a first preset number, and a second line segment identifier is set on each set of line segments spaced apart by a second preset number. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent sets of line segments form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent sets of line segments form an arithmetic sequence. The determination module is used to determine the target nozzle number of the abnormal nozzle in the multi-row nozzle based on the first line segment identifier or the second line segment identifier.
[0016] Thirdly, embodiments of this application provide an inkjet printer, including multiple rows of printheads and a controller. The multiple rows of printheads are arranged side-by-side along a first direction, and the nozzles of adjacent rows of printheads are aligned side-by-side along the first direction. The controller is configured to: The multi-row printhead is controlled to print a first detection image, which is any one of a color block image, a dot matrix image, or a line segment image. The state of the multi-row nozzles is obtained by performing state detection on the first detection image; When the printhead is in an abnormal state, the multi-row printhead is controlled to print a second detection image. The second detection image includes multiple sets of line segments, each set of line segments corresponds to a row of printheads, and each set of line segments includes multiple line segments. One line segment in each set of line segments is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set on each set of line segments spaced apart by a first preset number, and a second line segment identifier is set on each set of line segments spaced apart by a second preset number. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent sets of line segments form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent sets of line segments form an arithmetic sequence. The target nozzle number of the abnormal nozzle in the multi-row nozzle is determined based on the first line segment identifier or the second line segment identifier.
[0017] Fourthly, embodiments of this application provide a computer-readable storage medium storing program code, which can be called by a processor to execute the nozzle status detection method provided in the first aspect above.
[0018] Fifthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to execute the nozzle status detection method provided in the first aspect above.
[0019] The solution provided in this application controls multiple rows of printheads to print a first detection image, which can be any one of a color block image, a dot matrix image, or a line segment image. Based on the first detection image, the status of the multiple rows of printheads is detected to obtain the printhead status. If the printhead status is abnormal, the multiple rows of printheads are controlled to print a second detection image. The second detection image includes multiple sets of line segment groups, each set corresponding to one row of printheads. Each set of line segment groups includes multiple line segments, and one line segment in each set is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set on each line segment group at a first preset interval. A second segment identifier is set on each line segment at a second preset interval. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first segment identifier in two adjacent line segment groups form an arithmetic sequence, and the nozzle numbers corresponding to the first second segment identifier in two adjacent line segment groups form an arithmetic sequence. The target nozzle number of the abnormal nozzle in the multi-row printhead is determined based on the first or second segment identifier. This enables printhead status detection of the inkjet printer based on the first detection image printed by the multi-row printhead, eliminating the need for operators to observe each nozzle through a microscope, thus improving the accuracy and efficiency of printhead status detection. Furthermore, when the printhead status of the inkjet printer is abnormal, the abnormal nozzle is located and detected based on the second detection image printed by the multi-row printhead, improving the user experience during the printhead status detection process. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 A schematic flowchart of a nozzle status detection method provided in an embodiment of this application is shown.
[0022] Figure 2This illustration shows a scene diagram of a color block image in the nozzle status detection method provided in an embodiment of this application.
[0023] Figure 3 This illustration shows a scene diagram of a dot matrix image in the nozzle state detection method provided in an embodiment of this application.
[0024] Figure 4 This illustration shows a scene diagram of a line segment image in the nozzle state detection method provided in an embodiment of this application.
[0025] Figure 5 This illustration shows another scenario diagram of the color block image in the nozzle state detection method provided in the embodiments of this application.
[0026] Figure 6 This illustration shows a scenario diagram of the second detection image in the nozzle state detection method provided in the embodiments of this application.
[0027] Figure 7 This paper illustrates another flowchart of the nozzle status detection method provided in an embodiment of this application.
[0028] Figure 8 A structural block diagram of a nozzle status detection device provided in an embodiment of this application is shown.
[0029] Figure 9 A functional block diagram of an inkjet printer provided in an embodiment of this application is shown.
[0030] Figure 10 This application illustrates a computer-readable storage medium for storing or carrying program code that implements the nozzle state detection method provided in the embodiments of this application.
[0031] Figure 11 This application illustrates a computer program product for storing or carrying program code that implements the nozzle state detection method provided in the embodiments of this application. Detailed Implementation
[0032] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0033] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0034] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0035] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0036] Furthermore, in the description of this application, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0037] Inkjet printing is a printing technology that forms images by spraying ink droplets onto the surface of paper or a substrate through nozzles. This technology adopts a non-contact working mode, can achieve high-resolution output, and is compatible with a variety of ink types. Its application fields cover industries such as advertising, textiles, packaging, and electronic device manufacturing. It has environmental protection characteristics such as no dust pollution and low energy consumption.
[0038] In existing inkjet printing technology, nozzle clogging in inkjet printers is a major factor leading to decreased output quality and production interruptions.
[0039] However, current methods for detecting printhead condition mainly rely on staff regularly observing each nozzle through a microscope. The results are easily influenced by the staff's subjective experience, resulting in low accuracy and efficiency in detecting the printhead condition of inkjet printers.
[0040] To address the aforementioned problems, the printhead status detection method and inkjet printer provided in this application control multiple rows of printheads to print a first detection image. The first detection image is any one of a color block image, a dot matrix image, or a line segment image. Based on the first detection image, the status of the multiple rows of printheads is detected to obtain the printhead status. If the printhead status is abnormal, the multiple rows of printheads are controlled to print a second detection image. The second detection image includes multiple sets of line segment groups, each set corresponding to a row of printheads. Each set of line segment groups includes multiple line segments, and one line segment in each set is associated with a nozzle number of the corresponding row of printheads. A first preset number of line segments are spaced apart in each set of line segment groups. The system employs a single-segment identifier. Within each segment group, a second segment identifier is placed at a second preset interval. The first preset interval is less than the second preset interval. The nozzle numbers corresponding to the first first segment identifier in two adjacent segments form an arithmetic sequence, and the nozzle numbers corresponding to the first second segment identifier in two adjacent segments also form an arithmetic sequence. Furthermore, the system determines the target nozzle number of any abnormal nozzle in a multi-row printhead based on either the first or second segment identifier. This allows for printhead status detection of the inkjet printer based on a first detection image printed from multiple rows of printheads, eliminating the need for manual microscopic observation of each nozzle and improving the accuracy and efficiency of printhead status detection. Additionally, when the printhead status is abnormal, the system locates and detects the abnormal nozzle based on a second detection image printed from multiple rows of printheads, enhancing the user experience during printhead status detection.
[0041] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0042] The printhead status detection method provided in this application embodiment can be applied to the controller in an inkjet printer. The inkjet printer may also include multiple rows of printheads. The controller can control the multiple rows of printheads to perform inkjet printing, and perform printhead status detection on the inkjet printer based on the images printed by the multiple rows of printheads, as well as locate and detect abnormal nozzles of the inkjet printer.
[0043] In this design, multiple rows of printheads can be arranged side-by-side along a first direction of the inkjet printer, and the nozzles of adjacent rows of printheads can be aligned side-by-side along this first direction. The first direction can be the moving direction of the inkjet printer, and the moving direction can be set at any angle to the nozzle arrangement direction of each row of printheads. For example, the moving direction can be set at a right angle to the nozzle arrangement direction of each row of printheads; there is no limitation here.
[0044] The controller can be any of the following: Micro Controller Unit (MCU), Central Processing Unit (CPU), Combinatorial Logic Controller (CLC), Complex Programmable Logic Device (CPLD), or Field Programmable Gate Array (FPGA), without any limitation here.
[0045] Please see Figure 1 The diagram illustrates a flowchart of a printhead state detection method according to an embodiment of this application. In a specific embodiment, the printhead state detection method can be applied to a controller in an inkjet printer. The following will use a controller as an example to illustrate this method. Figure 1 The process shown is described in detail. The nozzle status detection method may include the following steps 101 to 104.
[0046] Step 101: Control the multi-row printhead to print the first detection image.
[0047] In this embodiment of the application, when a user needs to detect the printhead status of an inkjet printer, he / she can send a detection command to the controller. After receiving the detection command, the controller controls multiple printheads to print the first detection image.
[0048] The nozzle status can be either normal or abnormal. Abnormal status can include at least one of the following: nozzle blockage, nozzle misalignment, and nozzle vibration. No limitation is made here.
[0049] The first detection image can be any of the following: a color block image, a raster image, or a line segment image; no limitation is made here.
[0050] In some implementations, the number of printheads in multiple rows can be even, and the first detection image can be a color block image. When a user needs to detect the printhead status of an inkjet printer, they can send a detection command to the controller. After receiving the detection command, the controller sorts the multiple rows of printheads and, during the inkjet printing process of the multiple rows of printheads, compensates for a first distance in the second direction and a second distance in the first direction for the printing positions of the even-numbered sequence printheads, respectively, to obtain a color block image, such as... Figure 2As shown, in the inkjet printing process of multi-row printheads, compensating for the printing position of even-numbered printheads in the multi-row printheads can avoid the problem of stripes appearing in the printed color block image due to the nozzle spacing in multi-row printheads with nozzles aligned side by side. This would prevent the inability to distinguish whether the stripes in the color block image are caused by nozzle blockage, and would help improve the accuracy of detecting the printhead status of the inkjet printer based on the color block image.
[0051] The first distance can be the nozzle spacing in the second direction of the inkjet printer, and the second distance can be the nozzle spacing in the first direction of the inkjet printer. The second direction can be the nozzle arrangement direction of each row of printheads.
[0052] In some implementations, the first detection image can be a dot matrix image. When a user needs to detect the printhead status of an inkjet printer, they can send a detection command to the controller. After receiving the detection command, the controller controls multiple rows of printheads to perform a single inkjet print to obtain a dot matrix image, such as... Figure 3 As shown, since the single inkjet printing process is relatively simple, there is no need to compensate for the position of multiple printheads, the system does not need to perform complex calculations, the system operates with high efficiency, which is conducive to improving the efficiency of detecting the printhead status of the inkjet printer based on the dot matrix image.
[0053] In this context, a single inkjet print is a single inkjet printing process, where each nozzle prints a corresponding ink dot.
[0054] In some implementations, the first detection image can be a line segment image. When a user needs to detect the printhead status of an inkjet printer, they can send a detection command to the controller. After receiving the detection command, the controller groups the multiple rows of printheads into a first printhead group and a second printhead group, and obtains the nozzle distance between each row of second printheads and the adjacent first printhead to obtain a third distance. During the inkjet printing process of the multiple rows of printheads, the printing position of each row of second printheads is compensated for the first distance in the second direction and the third distance in the first direction, respectively, to obtain a line segment image, such as... Figure 4 As shown, in the inkjet printing process of multi-row printheads, compensating for the printing position of the second printhead in the second printhead group can reduce the number of line segments in the line segment image, which is beneficial to improving the accuracy of detecting the printhead status of the inkjet printer based on the line segment image.
[0055] The first nozzle group may include at least one row of first nozzles, and the second nozzle group may include multiple rows of second nozzles.
[0056] The line segments in the line segment image can be dashed or solid, etc., and there is no limitation here.
[0057] The controller can read the pre-stored nozzle spacing between the second nozzle in each row and the adjacent first nozzle, or receive the nozzle spacing between the second nozzle in each row and the adjacent first nozzle input by the user, etc., which is not limited here.
[0058] In some implementations, the controller can detect user actions and receive a detection command when it is determined from the detected user actions that the user has input an instruction to detect the printhead status of the inkjet printer.
[0059] For example, when a user needs to check the printhead status of an inkjet printer, they can perform a touch operation on the controller's operation panel. The controller responds to the user's touch operation, generates a corresponding touch signal, and analyzes the touch signal. When it is determined that the touch signal is a preset signal used to characterize the detection of the printhead status of the inkjet printer, it is determined that a detection command has been received.
[0060] In some implementations, the controller may be equipped with a voice recognition module. When a user needs to check the printhead status of an inkjet printer, the user can send voice information within the voice acquisition range of the voice recognition module. The voice recognition module collects the voice information sent by the user, performs voice recognition on the collected voice information, obtains the recognition result, and determines that the detection instruction has been received when the recognition result contains keywords used to indicate the printhead status of the inkjet printer, such as "printhead status detection".
[0061] As an example, if the user's voice message is: "Check the printhead status of the inkjet printer", and the voice recognition result contains the keyword "check printhead status", then it is confirmed that the detection instruction has been received.
[0062] In some implementations, when a user needs to check the printhead status of an inkjet printer, they can send a check command to the client. After receiving the check command, the client can forward the check command to the controller, and the controller receives the check command forwarded by the client.
[0063] The client can communicate with the controller and interact with it for data. The client can be a mobile client (e.g., a mobile phone client, a PDA client, a Tablet PC client, a laptop client, a smartwatch client, a smart bracelet client, or a wearable client) or a fixed client (e.g., a desktop computer client, a smart panel client). The type of client is not limited here; it can be configured according to actual needs.
[0064] Step 102: Perform status detection on the multi-row nozzles based on the first detection image to obtain the nozzle status.
[0065] In this embodiment of the application, after the controller controls the multi-row printheads to print the first detection image, the controller can perform status detection on the multi-row printheads based on the first detection image to obtain the printhead status.
[0066] In some implementations, the first detection image can be a color block image. After the controller controls multiple rows of printheads to print the color block image, the status of the multiple rows of printheads can be detected based on the color block image to obtain the printhead status. Since anomalies in the color block image are easy to detect and are closely related to printhead anomalies in the inkjet printer, detecting the printhead status of the inkjet printer based on the color block image is beneficial to improving the accuracy and efficiency of detecting the printhead status of the inkjet printer.
[0067] When a color patch image contains at least one of the following: missing image, striped image, or color cast image, such as Figure 5 As shown, the output indicates an abnormal state; when there are no missing images, striped images, or color-distorted images in the color block image, the output indicates a normal state.
[0068] Among them, the color-shifted image can be an image with a shift in the spectral color direction, and the abnormal state can be a nozzle blockage state.
[0069] In some implementations, the first detection image can be a dot matrix image. After the controller controls multiple rows of printheads to print the dot matrix image, the spacing between all adjacent ink marks in the dot matrix image can be obtained to obtain multiple ink mark spacings. The status of the multiple rows of printheads is then detected based on the multiple ink mark spacings to obtain the printhead status. Each point in the dot matrix image corresponds to a nozzle. The dot matrix image is a regular image, and abnormal points in the dot matrix image can indicate that the nozzle is abnormal. Monitoring the printhead status of the inkjet printer based on the dot matrix image is beneficial to improving the accuracy of detecting the printhead status of the inkjet printer.
[0070] Among them, the ink spacing can be used to characterize the center distance between adjacent ink marks. The controller can analyze the dot matrix image to obtain multiple ink spacings.
[0071] An abnormal state is output when there is an ink gap greater than the preset gap among multiple ink gaps; a normal state is output when there is no ink gap greater than the preset gap among multiple ink gaps.
[0072] The abnormal state can be the nozzle blockage state, and the preset spacing can be used to characterize the minimum ink spacing corresponding to the nozzle blockage.
[0073] In some implementations, the first detection image can be a line segment image. After the controller controls multiple rows of printheads to print line segment images, the status of the multiple rows of printheads can be detected based on the line segment images to obtain the printhead status. This realizes printhead status detection of inkjet printers based on line segment images printed by multiple rows of printheads. Furthermore, abnormal line segments in the line segment images are easily detected, and abnormal line segments can indicate that the corresponding nozzles are abnormal. Monitoring the printhead status of inkjet printers based on line segment images helps to improve the accuracy of printhead status detection of inkjet printers.
[0074] An abnormal state is output when there are broken lines or line segments that are not parallel to the second direction in the line segment image; a normal state is output when there are no broken lines or line segments that are not parallel to the second direction in the line segment image.
[0075] The abnormal state can be a nozzle blockage, a nozzle offset, or a nozzle vibration. When the line segment is not parallel to the second direction, the line segment can be a straight line segment intersecting the second direction, or it can be a zigzag line segment.
[0076] When the line segment is broken, the abnormal state can be a nozzle blockage state; when the line segment is a straight line segment intersecting the second direction, the abnormal state can be a nozzle offset state; when the line segment is a sawtooth line segment, the abnormal state can be a nozzle vibration state.
[0077] Step 103: If the printhead is in an abnormal state, control the multi-row printhead to print the second detection image.
[0078] In this embodiment of the application, the controller performs status detection on the multi-row printheads based on the first detection image. After obtaining the printhead status, if the printhead status is abnormal, the controller can control the multi-row printheads to print the second detection image.
[0079] The second detection image may include multiple sets of line segments, each set corresponding to a row of nozzles. Each set may include multiple line segments, and one line segment in each set may be associated with a nozzle number of the corresponding nozzle in the row. Line segments spaced a first preset number apart in each set may be marked with a first line segment identifier, and line segments spaced a second preset number apart in each set may be marked with a second line segment identifier. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent sets may form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent sets may also form an arithmetic sequence. Figure 6 As shown.
[0080] When the printhead is in an abnormal state, the controller can select a first target printhead group and a second target printhead group from multiple rows of printheads. During the inkjet printing of line segments by the multiple rows of printheads, the controller controls the first target printhead group to print a first line segment identifier and the controller controls the second target printhead group to print a second line segment identifier, thereby obtaining a second detection image. Based on the printing of the first and second target printheads, the controller can locate and detect abnormal nozzles according to the first and second line segment identifiers, which helps to improve the user experience during the printhead status detection process of inkjet printers.
[0081] The nozzles in the first target nozzle group can satisfy the condition that the nozzles in the same row of nozzles are spaced apart by a first preset number of nozzles, and the smallest nozzles in two adjacent rows of nozzles are numbered in an arithmetic sequence. The nozzles in the second target nozzle group can satisfy the condition that the nozzles in the same row of nozzles are spaced apart by a second preset number of nozzles, and the smallest nozzles in two adjacent rows of nozzles are numbered in an arithmetic sequence.
[0082] Step 104: Determine the target nozzle number of the abnormal nozzle in the multi-row nozzle based on the first line segment identifier or the second line segment identifier.
[0083] In this embodiment, when the printhead is in an abnormal state, after the controller controls the multi-row printhead to print a second detection image, it can determine the target nozzle number of the abnormal nozzle in the multi-row printhead based on the first line segment identifier or the second line segment identifier. This enables printhead status detection of the inkjet printer based on the first detection image printed by the multi-row printhead, and when the printhead is in an abnormal state, it locates and detects the abnormal nozzle of the inkjet printer based on the second detection image printed by the multi-row printhead, thus improving the user experience during the printhead status detection process of the inkjet printer.
[0084] The controller can acquire abnormal line segments in the second detection image and obtain the number of first interval line segments between the abnormal line segment and the nearest target first line segment identifier or the number of second interval line segments between the abnormal line segment and the nearest target second line segment identifier. It can also calculate the target nozzle number based on the first nozzle number corresponding to the target first line segment identifier and the number of first interval line segments, or calculate the target nozzle number based on the second nozzle number corresponding to the target second line segment identifier and the number of second interval line segments. This improves the accuracy of the target nozzle number calculation by using the nozzle number and the number of interval line segments of the nearest line segment identifier to the abnormal line segment.
[0085] Abnormal line segments can be any of the following: broken line segments, straight line segments intersecting the printing direction, or jagged line segments. The controller can perform image analysis on the second detection image to obtain the number of abnormal line segments, the number of first interval line segments, the number of second interval line segments, the first nozzle number, and the second nozzle number.
[0086] The controller can calculate the sum of the number of the first interval line segments and the number of the first nozzle to obtain the target nozzle number, or calculate the sum of the number of the second interval line segments and the number of the second nozzle to obtain the target nozzle number.
[0087] The solution provided in this application controls multiple rows of printheads to print a first detection image, which can be any one of a color block image, a dot matrix image, or a line segment image. Based on the first detection image, the status of the multiple rows of printheads is detected to obtain the printhead status. If the printhead status is abnormal, the multiple rows of printheads are controlled to print a second detection image. The second detection image includes multiple sets of line segment groups, each set corresponding to one row of printheads. Each set of line segment groups includes multiple line segments, and one line segment in each set is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set at a first preset number of intervals between line segments. A second line segment identifier is set at a second preset number of intervals between line segments in each group of line segments. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent groups of line segments form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent groups of line segments form an arithmetic sequence. The target nozzle number of the abnormal nozzle in the multi-row printhead is determined based on the first or second line segment identifier, improving the accuracy and efficiency of printhead status detection for inkjet printers. Furthermore, when the printhead status of the inkjet printer is abnormal, the abnormal nozzle is located and detected based on the second detection image printed by the multi-row printhead, improving the user experience during the printhead status detection process.
[0088] Please see Figure 7 This document illustrates a flowchart of a printhead state detection method according to another embodiment of this application. In a specific embodiment, the printhead state detection method can be applied to a controller in an inkjet printer. The following will use a controller as an example to illustrate this method. Figure 7 The process shown is described in detail. The nozzle status detection method may include the following steps 201 to 205.
[0089] Step 201: Control the multi-row printhead to print the first detection image.
[0090] Step 202: Perform status detection on the multi-row nozzles based on the first detection image to obtain the nozzle status.
[0091] Step 203: If the printhead is in an abnormal state, control the multi-row printhead to print the second detection image.
[0092] Step 204: Determine the target nozzle number of the abnormal nozzle in the multi-row nozzle based on the first line segment identifier or the second line segment identifier.
[0093] In this embodiment, steps 201, 202, 203 and 204 can be referred to the corresponding steps in the previous embodiments, and will not be repeated here.
[0094] Step 205: Generate a warning message carrying the target nozzle number.
[0095] In this embodiment, after the controller determines the target nozzle number of the abnormal nozzle in the multi-row printhead according to the first line segment identifier or the second line segment identifier, it can generate a warning message carrying the target nozzle number so that the user can process the abnormal nozzle corresponding to the target nozzle number according to the warning message, which can reduce the number of defective products printed by abnormal nozzles and help improve the yield rate in the inkjet printing production process.
[0096] The warning information can be used to alert users to handle abnormal nozzles corresponding to the target nozzle number. The warning information can be at least one of the following: text information, sound information, or light information, without any limitation.
[0097] The solution provided in this embodiment controls multiple printheads to print a first detection image, performs status detection on the multiple printheads based on the first detection image to obtain the printhead status, and controls the multiple printheads to print a second detection image when the printhead status is abnormal. It also determines the target nozzle number of the abnormal nozzle in the multiple printheads based on a first or second line segment identifier and generates a warning message carrying the target nozzle number. This achieves printhead status detection of the inkjet printer based on the first detection image printed by multiple printheads, and, when the printhead status of the inkjet printer is abnormal, locates and detects the abnormal nozzle based on the second detection image printed by multiple printheads, thus improving the user experience during the printhead status detection process of the inkjet printer.
[0098] Simultaneously, after determining the target nozzle number of the abnormal nozzle in the multi-row printhead according to the first line segment identifier or the second line segment identifier, a warning message carrying the target nozzle number is generated so that the user can handle the abnormal nozzle corresponding to the target nozzle number according to the warning message, which can reduce the number of defective products printed by abnormal nozzles and help improve the yield rate in the inkjet printing production process.
[0099] Please see Figure 8 This illustration shows a printhead status detection device 300 provided in one embodiment of this application. The printhead status detection device 300 can be applied to the controller in an inkjet printer. The following will use the controller as an example to illustrate... Figure 8 The nozzle status detection device 300 shown will be described in detail. The nozzle status detection device 300 may include a first control module 301, a detection module 302, a second control module 303, and a determination module 304.
[0100] The first control module 301 can be used to control multiple rows of printheads to print a first detection image, which can be any one of a color block image, a dot matrix image, or a line segment image. The detection module 302 can be used to perform state detection on the multiple rows of printheads based on the first detection image to obtain the printhead state. The second control module 303 can be used to control the multiple rows of printheads to print a second detection image when the printhead state is abnormal. The second detection image can include multiple sets of line segment groups, each set of line segment groups can correspond to one row of printheads, each set of line segment groups can include multiple line segments, and one line segment in each set of line segment groups can correspond to the corresponding printhead. A nozzle number is associated with a row of nozzles. Each group of line segments can be marked with a first line segment identifier at a first preset interval, and each group of line segments can be marked with a second line segment identifier at a second preset interval. The first preset interval can be less than the second preset interval. The nozzle numbers corresponding to the first first line segment identifier in two adjacent groups of line segments can form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent groups of line segments can form an arithmetic sequence. The determining module 304 can be used to determine the target nozzle number of the abnormal nozzle in the multi-row nozzle based on the first line segment identifier or the second line segment identifier.
[0101] In some implementations, the number of multi-row nozzles can be even, the first detection image can be a color block image, and the first control module 301 can include a sorting unit and a first printing unit.
[0102] The sorting unit can be used to sort multiple rows of printheads; the first printing unit can be used to compensate for the printing position of even-numbered printheads in the second direction and compensate for the second distance in the first direction respectively during the inkjet printing process of multiple rows of printheads to obtain a color block image. The second direction can be the nozzle arrangement direction of each row of printheads, the first distance can be the nozzle spacing in the second direction, and the second distance can be the nozzle spacing in the first direction.
[0103] In some implementations, the detection module 302 may include a first output unit.
[0104] The first output unit can be used to output an abnormal status when there is at least one of missing images, striped images, or color cast images in the color block image.
[0105] In some implementations, the first control module 301 may also include a second printing unit.
[0106] The second printing unit can be used to control multiple rows of printheads to perform a single inkjet print to obtain a dot matrix image.
[0107] In some implementations, the detection module 302 may further include a first acquisition unit and a second output unit.
[0108] The first acquisition unit can be used to acquire the spacing between all adjacent ink marks in the dot matrix image to obtain multiple ink mark spacings; the second output unit can be used to output an abnormal status when there is an ink mark spacing greater than a preset spacing among the multiple ink mark spacings.
[0109] In some implementations, the first detection image may be a line segment image, and the first control module 301 may also include a grouping unit, a second acquisition unit, and a third printing unit.
[0110] The grouping unit can be used to group multiple rows of printheads into a first printhead group and a second printhead group. The first printhead group can include at least one row of first printheads, and the second printhead group can include multiple rows of second printheads. The second acquisition unit can be used to acquire the nozzle spacing between each row of second printheads and the adjacent first printheads to obtain a third distance. The third printing unit can be used to compensate for the first distance in a second direction and compensate for the third distance in a first direction during the inkjet printing process of multiple rows of printheads to obtain a line segment image. The second direction can be the nozzle arrangement direction of each row of printheads, and the first distance can be the nozzle spacing in the second direction.
[0111] In some implementations, the detection module 302 may also include a third output unit.
[0112] The third output unit can be used to output an abnormal status when there are broken lines or line segments that are not parallel to the second direction in the line segment image.
[0113] In some implementations, the second control module 303 may include a selection unit and a fourth printing unit.
[0114] The selection unit can be used to select a first target printhead group and a second target printhead group from multiple rows of printheads when the printhead is in an abnormal state. The nozzles in the first target printhead group can satisfy the condition that the nozzles are spaced apart by a first preset number in the same row of printheads, and the smallest nozzles in two adjacent rows of printheads are numbered in an arithmetic sequence. The nozzles in the second target printhead group can satisfy the condition that the nozzles are spaced apart by a second preset number in the same row of printheads, and the smallest nozzles in two adjacent rows of printheads are numbered in an arithmetic sequence. The fourth printing unit can be used to control the first target printhead group to print a first line segment mark and control the second target printhead group to print a second line segment mark during the inkjet printing of line segments in multiple rows of printheads, respectively, to obtain a second detection image.
[0115] In some implementations, the determining module 304 may include a third acquisition unit, a fourth acquisition unit, a first calculation unit, and a second calculation unit.
[0116] The third acquisition unit can be used to acquire abnormal line segments in the second detection image; the fourth acquisition unit can be used to acquire the number of the first interval line segments between the abnormal line segments and the nearest target first line segment identifier or the number of the second interval line segments between the abnormal line segments and the nearest target second line segment identifier; the first calculation unit can be used to calculate the target nozzle number based on the first nozzle number corresponding to the target first line segment identifier and the number of the first interval line segments; the second calculation unit can be used to calculate the target nozzle number based on the second nozzle number corresponding to the target second line segment identifier and the number of the second interval line segments.
[0117] The solution provided in this embodiment controls multiple rows of printheads to print a first detection image, which can be any one of a color block image, a dot matrix image, or a line segment image. Based on the first detection image, the status of the multiple rows of printheads is detected to obtain the printhead status. If the printhead status is abnormal, the multiple rows of printheads are controlled to print a second detection image. The second detection image includes multiple sets of line segment groups, each set corresponding to one row of printheads. Each set of line segment groups includes multiple line segments, and one line segment in each set is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set on each set of line segments spaced a first preset number apart. The line segments in each group are marked with a second line segment identifier at a second preset interval. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent line segment groups form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent line segment groups form an arithmetic sequence. The system also determines the target nozzle number of the abnormal nozzle in the multi-row printhead based on the first detection image printed by the multi-row printheads. This enables printhead status detection of the inkjet printer based on the first detection image printed by the multi-row printheads, eliminating the need for operators to observe each nozzle through a microscope, thus improving the accuracy and efficiency of printhead status detection. Furthermore, when the printhead status of the inkjet printer is abnormal, the abnormal nozzle is located and detected based on the second detection image printed by the multi-row printheads, improving the user experience during the printhead status detection process.
[0118] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to in the descriptions of the method embodiments. Any processing method described in the method embodiments can be implemented in the device embodiments through corresponding processing modules, and will not be elaborated upon further in the device embodiments.
[0119] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0120] Please see Figure 9 This diagram illustrates a functional block diagram of an inkjet printer 400 according to an embodiment of this application. The inkjet printer 400 may include the following components: a memory 401, one or more controllers 402, and one or more application programs. One or more controllers 402 may be coupled to the memory 401. One or more application programs may be stored in the memory 401 and configured to be executed by one or more controllers 402. The one or more application programs are configured to perform the methods described in the foregoing method embodiments.
[0121] The memory 401 may include random access memory (RAM) or read-only memory. The memory 401 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 401 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., printing a first detection image, status detection, obtaining printhead status, printing a second detection image, determining the target nozzle number, sorting multiple rows of printheads, compensating for a first distance, compensating for a second distance, obtaining a color block image, outputting an abnormal status, single inkjet printing, obtaining a dot matrix image, obtaining multiple ink spacing, grouping multiple rows of printheads, obtaining a third distance, compensating for a third distance, obtaining a line segment image, selecting a first target printhead group and a second target printhead group, printing a first line segment identifier, printing a second line segment identifier, obtaining a second detection image, obtaining abnormal line segments, obtaining the number of first interval line segments, obtaining the number of second interval line segments, and calculating the target nozzle number, etc.), and instructions for implementing the various method embodiments described below. The storage data area can also store data created by the inkjet printer 400 during use (such as inkjet printer, first direction, multiple printheads, nozzles, first detection image, color block image, dot matrix image, line segment image, printhead status, abnormal status, second detection image, multiple line segment groups, multiple line segments, nozzle number, first preset quantity, first line segment identifier, second preset quantity, second line segment identifier, target nozzle number, even-numbered printhead sequence, printing position, second direction, first distance, second distance, nozzle spacing, missing image, stripe image, color cast image, multiple ink gaps, preset spacing, first printhead group, second printhead group, first printhead, second printhead, third distance, first target printhead group, second target printhead group, abnormal line segment, target first line segment identifier, first interval line segment quantity, target second line segment identifier, and second interval line segment quantity), etc.
[0122] The controller 402 may include one or more processing cores. The controller 402 connects to various parts within the inkjet printer 400 using various interfaces and lines, and executes various functions and processes data of the inkjet printer 400 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 401, and by calling data stored in the memory 401. Optionally, the controller 402 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The controller 402 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the controller 402 and may be implemented separately using a communication chip.
[0123] Please refer to Figure 10 This diagram illustrates a structural block diagram of a computer-readable storage medium 500 provided in an embodiment of this application. The computer-readable storage medium 500 stores program code 501, which can be called by a processor to execute the methods described in the above method embodiments.
[0124] The computer-readable storage medium 500 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 500 has storage space for program code 501 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 501 may be compressed, for example, in a suitable form.
[0125] Please refer to Figure 11This diagram illustrates a structural block diagram of a computer program product 600 provided in an embodiment of this application. The computer program product 600 includes a computer program / instructions 601, which is stored in a computer-readable storage medium of a computer device. When the computer program product 600 runs on the computer device, the processor of the computer device reads the computer program / instructions 601 from the computer-readable storage medium, and executes the computer program / instructions 601, causing the computer device to perform the methods described in the above-described method embodiments.
[0126] The solution provided in this embodiment controls multiple rows of printheads to print a first detection image, which can be any one of a color block image, a dot matrix image, or a line segment image. Based on the first detection image, the status of the multiple rows of printheads is detected to obtain the printhead status. If the printhead status is abnormal, the multiple rows of printheads are controlled to print a second detection image. The second detection image includes multiple sets of line segment groups, each set corresponding to one row of printheads. Each set of line segment groups includes multiple line segments, and one line segment in each set is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set on each set of line segments spaced a first preset number apart. The line segments in each group are marked with a second line segment identifier at a second preset interval. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent line segment groups form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent line segment groups form an arithmetic sequence. The system also determines the target nozzle number of the abnormal nozzle in the multi-row printhead based on the first detection image printed by the multi-row printheads. This enables printhead status detection of the inkjet printer based on the first detection image printed by the multi-row printheads, eliminating the need for operators to observe each nozzle through a microscope, thus improving the accuracy and efficiency of printhead status detection. Furthermore, when the printhead status of the inkjet printer is abnormal, the abnormal nozzle is located and detected based on the second detection image printed by the multi-row printheads, improving the user experience during the printhead status detection process.
[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for detecting the status of a nozzle, characterized in that, An inkjet printer, comprising multiple rows of printheads arranged side-by-side along a first direction, wherein the nozzles of adjacent rows of printheads are aligned side-by-side along the first direction, and the printhead state detection method includes: The multi-row printhead is controlled to print a first detection image, which is any one of a color block image, a dot matrix image, or a line segment image. The state of the multi-row nozzles is obtained by performing state detection on the first detection image; When the printhead is in an abnormal state, the multi-row printhead is controlled to print a second detection image. The second detection image includes multiple sets of line segments, each set of line segments corresponds to a row of printheads, and each set of line segments includes multiple line segments. One line segment in each set of line segments is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set on each set of line segments spaced apart by a first preset number, and a second line segment identifier is set on each set of line segments spaced apart by a second preset number. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent sets of line segments form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent sets of line segments form an arithmetic sequence. The target nozzle number of the abnormal nozzle in the multi-row nozzle is determined based on the first line segment identifier or the second line segment identifier.
2. The nozzle status detection method according to claim 1, characterized in that, The number of multi-row printheads is even, the first detection image is the color block image, and controlling the multi-row printheads to print the first detection image includes: The multiple rows of nozzles are sorted; During the inkjet printing process of the multi-row printheads, the printing positions of the even-numbered printheads are compensated for a first distance in the second direction and a second distance in the first direction to obtain the color block image. The second direction is the nozzle arrangement direction of each row of printheads, the first distance is the nozzle spacing in the second direction, and the second distance is the nozzle spacing in the first direction.
3. The nozzle status detection method according to claim 2, characterized in that, The step of performing state detection on the multi-row nozzles based on the first detection image to obtain the nozzle state includes: The abnormal state is output when the color block image contains at least one of the following: a missing image, a striped image, or a color-distorted image.
4. The nozzle status detection method according to claim 1, characterized in that, The first detection image is the dot matrix image, and controlling the multi-row printhead to print the first detection image includes: The multi-row printhead is controlled to perform a single inkjet print to obtain the dot matrix image.
5. The nozzle status detection method according to claim 4, characterized in that, The step of performing state detection on the multi-row nozzles based on the first detection image to obtain the nozzle state includes: Obtain the spacing between all adjacent ink blots in the dot matrix image to obtain multiple ink blot spacings; When there is an ink gap greater than a preset gap among the multiple ink gaps, the abnormal state is output.
6. The nozzle status detection method according to claim 1, characterized in that, The first detection image is the line segment image, and controlling the multi-row printhead to print the first detection image includes: The multiple rows of nozzles are grouped into a first nozzle group and a second nozzle group, wherein the first nozzle group includes at least one row of first nozzles and the second nozzle group includes multiple rows of second nozzles; Obtain the nozzle spacing between the second nozzle in each row and the adjacent first nozzle to get the third distance; During the inkjet printing process of the multi-row printheads, the printing position of the second printhead in each row is compensated for a first distance in a second direction and a third distance in the first direction to obtain the line segment image. The second direction is the nozzle arrangement direction of each row of printheads, and the first distance is the nozzle spacing in the second direction.
7. The nozzle status detection method according to claim 6, characterized in that, The step of performing state detection on the multi-row nozzles based on the first detection image to obtain the nozzle state includes: When there is a broken line or a line segment that is not parallel to the second direction in the line segment image, the abnormal state is output.
8. The nozzle status detection method according to any one of claims 1 to 7, characterized in that, When the printhead is in an abnormal state, controlling the multi-row printheads to print a second detection image includes: When the nozzle status is in the abnormal state, a first target nozzle group and a second target nozzle group are selected from the multiple rows of nozzles. The nozzles in the first target nozzle group satisfy the condition that the nozzles are spaced apart by a first preset number of nozzles in the same row of nozzles, and the smallest nozzles in two adjacent rows of nozzles are numbered in an arithmetic sequence. The nozzles in the second target nozzle group satisfy the condition that the nozzles are spaced apart by a second preset number of nozzles in the same row of nozzles, and the smallest nozzles in two adjacent rows of nozzles are numbered in an arithmetic sequence. During the process of printing line segments using inkjet from multiple rows of printheads, the first target printhead group is controlled to print the first line segment identifier, and the second target printhead group is controlled to print the second line segment identifier, thereby obtaining the second detection image.
9. The nozzle status detection method according to any one of claims 1 to 7, characterized in that, Determining the target nozzle number of the abnormal nozzle in the multi-row nozzle based on the first line segment identifier or the second line segment identifier includes: Obtain the abnormal line segments in the second detected image; Obtain the number of segments between the abnormal line segment and the nearest target first line segment identifier, or the number of segments between the abnormal line segment and the nearest target second line segment identifier; The target nozzle number is calculated based on the first nozzle number corresponding to the first line segment identifier and the number of the first interval line segments; or... The target nozzle number is calculated based on the second nozzle number corresponding to the second line segment identifier of the target and the number of the second interval line segments.
10. An inkjet printer, characterized in that, The system includes multiple rows of nozzles and a controller. The multiple rows of nozzles are arranged side-by-side along a first direction, with the nozzles of adjacent rows aligned side-by-side along the first direction. The controller is configured to: The multi-row printhead is controlled to print a first detection image, which is any one of a color block image, a dot matrix image, or a line segment image. The state of the multi-row nozzles is obtained by performing state detection on the first detection image; When the printhead is in an abnormal state, the multi-row printhead is controlled to print a second detection image. The second detection image includes multiple sets of line segments, each set of line segments corresponds to a row of printheads, and each set of line segments includes multiple line segments. One line segment in each set of line segments is associated with a nozzle number of the corresponding row of printheads. A first line segment identifier is set on each set of line segments spaced apart by a first preset number, and a second line segment identifier is set on each set of line segments spaced apart by a second preset number. The first preset number is less than the second preset number. The nozzle numbers corresponding to the first first line segment identifier in two adjacent sets of line segments form an arithmetic sequence, and the nozzle numbers corresponding to the first second line segment identifier in two adjacent sets of line segments form an arithmetic sequence. The target nozzle number of the abnormal nozzle in the multi-row nozzle is determined based on the first line segment identifier or the second line segment identifier.