Ink droplet observation method, electronic equipment and computer readable storage medium

By calculating and removing dynamic blur distances, the problems of high light source requirements and large ink droplet observation errors under short exposure in inkjet printing technology are solved, and high-accurate ink droplet observation is achieved, reducing costs and extending the light source life.

CN119780085AActive Publication Date: 2025-04-08JIHUA LAB
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411926029.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-04-08
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

In inkjet printing technology, increasing the light inlet volume under short exposure requires high requirements on the light source, which leads to the ink droplet observation using conventional light sources, which increases the cost; at the same time, the initial velocity of the ink droplet and the distance between the observation point and the nozzle is too small, resulting in the observation error of the ink droplet approximately into a sphere, and there is a lack of effective technical solutions.

Method used

By obtaining the first and second ink drop images of the same fall ink drop, calculating the dynamic blur distance and removing the dynamic blur, the need to increase the ink droplet amount or approximate the ink droplet as a sphere under short exposure is avoided, thereby improving the accuracy of the ink droplet observation results.

Benefits of technology

It effectively solves the problems of increased ink droplet observation costs and large errors in observation results caused by high light source requirements under short exposure, improves the accuracy of ink droplet observation results, reduces the power requirements of the light source, and extends the service life of the light source.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119780085A_ABST
    Figure CN119780085A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of ink-jet printing, and particularly provides an ink droplet observation method, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining a first dynamic fuzzy distance according to a preset time interval, first ink droplet position information, second ink droplet position information and a pre-obtained invalid pulse width, removing dynamic blurring in the corresponding first ink droplet image and the second ink droplet image based on the first dynamic blurring distance; the pre-acquisition process of the invalid pulse width comprises the following steps: acquiring a calibration image of a calibration block moving at a constant speed, acquiring the invalid pulse width according to the difference between the actual size of the calibration block and the size of the calibration block in the calibration image, and acquiring the driving voltage of the calibration image as well as the driving voltage of the first ink droplet image and the second ink droplet image; the method can effectively reduce the cost of ink droplet observation and reduce the error of the observation result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of inkjet printing technology, and in particular to an ink droplet observation method, an electronic device, and a computer-readable storage medium. Background Art

[0002] In the field of inkjet printing technology, visual ink droplet observation technology is usually used to observe ink droplets. The duty cycle of the light source driving waveform will affect the image obtained by the visual ink droplet observation technology. Specifically, if the duty cycle of the light source driving waveform is too small, it will cause insufficient light input to the camera, resulting in insufficient contrast of the acquired image. If the duty cycle of the light source driving waveform is too large, the ink droplets will appear dynamically blurred due to the long exposure time, resulting in inaccurate boundaries of the ink droplets obtained based on the image.

[0003] In order to avoid the influence of the above two situations on the final observation results, the relevant technology needs to increase the amount of light input under short exposure or approximate the ink droplets into a sphere. The relevant technology has the problem that the conventional light source cannot be used for ink droplet observation due to the high requirements on the light source when increasing the amount of light input under short exposure, and the cost of ink droplet observation increases. Due to the effect of air resistance, the shape of the ink droplets is not spherical, that is, there is an error between the actual shape of the ink droplets and the sphere, and the initial velocity of the ink droplets is positively correlated with the error, and the spacing between the observation point nozzles is negatively correlated with the error. Therefore, the relevant technology also has the problem that the error of the observation result obtained by approximating the ink droplets into a sphere is too large due to the excessive initial velocity of the ink droplets and / or the small spacing between the observation point and the nozzle.

[0004] There is no effective technical solution to the above problems. It should be noted that the above information disclosed in this section is only used to understand the background of the present invention, and therefore may contain information that does not constitute prior art. Summary of the invention

[0005] The purpose of the present application is to provide an ink droplet observation method, an electronic device and a computer-readable storage medium, which can effectively solve the problems of being unable to use conventional light sources for ink droplet observation due to the high requirements on the light source for increasing the amount of light input under short exposure conditions, the increased cost of ink droplet observation, and the excessive error in the observation results obtained by approximating the ink droplets to a sphere due to the excessive initial velocity of the ink droplets and / or the small distance between the observation point and the nozzle.

[0006] In a first aspect, the present application provides an ink droplet observation method, which comprises the following steps: S1, acquiring a first ink drop image and a second ink drop image of the same falling ink drop based on a preset time interval; S2, acquiring first ink drop position information according to the first ink drop image, and acquiring second ink drop position information according to the second ink drop image; S3, acquiring a first dynamic blur distance according to a preset time interval, the first ink drop position information, the second ink drop position information and a pre-acquired invalid pulse width, and removing dynamic blur in the corresponding first ink drop image and second ink drop image based on the first dynamic blur distance; The pre-acquisition process of invalid pulse width is: A1. Obtain a calibration image of a calibration block moving at a uniform speed, and obtain an invalid pulse width according to the difference between the actual size of the calibration block and the size of the calibration block in the calibration image. The driving voltage when obtaining the calibration image is the same as the driving voltage when obtaining the first ink droplet image and the second ink droplet image.

[0007] The present application provides an ink droplet observation method, which can improve the accuracy of the ink droplet observation results by first acquiring a first dynamic blur distance and then removing the dynamic blur in the first ink droplet image and the second ink droplet image based on the first dynamic blur distance. That is, the present application does not need to increase the amount of light input or approximate the ink droplets to a sphere under short exposure. Therefore, the present application can effectively solve the problems of being unable to use conventional light sources for ink droplet observation due to high requirements on the light source for increasing the amount of light input under short exposure, increased cost of ink droplet observation, and excessive errors in observation results obtained by approximating the ink droplets to a sphere due to excessive initial velocity of the ink droplets and / or too small a distance between the observation point and the nozzle.

[0008] Optionally, the calibration block is a circular ink drop calibration block, and step A1 includes: A11, controlling the circular ink drop calibration block to fall at a uniform speed based on a preset falling speed, and acquiring a calibration image during the process of the circular ink drop calibration block falling at a uniform speed; A12. Obtain an invalid pulse width according to a preset falling speed, a difference between a diameter of the circular ink drop calibration block and a height of the circular ink drop calibration block along a falling direction in the calibration image, and a calibration pulse width, where the calibration pulse width is a pulse width of a light source when obtaining the calibration image.

[0009] Optionally, step A12 includes: A121, obtaining a second dynamic blur distance according to the diameter of the circular ink drop calibration block and the height of the circular ink drop calibration block along the falling direction in the calibration image; A122, obtaining a first effective pulse width according to a second dynamic fuzzy distance and a preset falling speed; A123. Obtain an invalid pulse width according to the calibrated pulse width and the first valid pulse width.

[0010] Optionally, the calculation formula of the second dynamic blur distance is as shown in formula (1): (1); Wherein, S1 represents the second dynamic blur distance, L1 represents the height of the circular ink drop calibration block in the calibration image along the falling direction, and D represents the diameter of the circular ink drop calibration block; The calculation formula of the first effective pulse width is shown in formula (2): (2); Among them, T k1 Indicates the first effective pulse width, v1 indicates the preset falling speed; The calculation formula of invalid pulse width is shown in formula (3): (3); Among them, T q Indicates invalid pulse width, T 标 Indicates the calibrated pulse width.

[0011] Optionally, step S3 includes: S31, obtaining the ink drop falling speed according to the preset time interval, the first ink drop position information and the second ink drop position information; S32, acquiring a second effective pulse width according to an actual pulse width and a pre-acquired invalid pulse width, wherein the actual pulse width is a pulse width of a light source when acquiring the first ink droplet image and the second ink droplet image; S33, acquiring a first dynamic blur distance according to the second effective pulse width and the ink drop falling speed, and converting the first dynamic blur distance into the number of blurred pixels; S34, acquiring a first ink drop region according to the first ink drop image and acquiring a second ink drop region according to the second ink drop image, wherein the first ink drop region is a region where ink drops are located in the first ink drop image, and the second ink drop region is a region where ink drops are located in the second ink drop image; S35. Remove the pixel points located at the top of the first ink drop area and the pixel points located at the top of the second ink drop area according to the number of blurred pixels to remove the dynamic blur in the first ink drop image and the second ink drop image. The spacing of the outer contour of the top of the first ink drop area before and after the pixel points are removed and the spacing of the outer contour of the top of the second ink drop area before and after the pixel points are removed are both equal to the first dynamic blur distance.

[0012] Optionally, the ink droplet observation method further includes the following steps performed after step S3: S4, acquiring a first ink drop volume according to the first ink drop image, and acquiring a second ink drop volume according to the second ink drop image; S5. Obtain the actual volume of the ink droplet according to the first ink droplet volume and the second ink droplet volume.

[0013] Since the ink droplets will decelerate under the action of air resistance during the falling process, and the ink droplet falling speed obtained by the technical solution based on the preset time interval, the first ink droplet position information and the second ink droplet position information is actually the average speed of the ink droplets falling. The average speed may have an error with the actual speed of the ink droplets falling. The speed error will cause the size of the ink droplets in the first ink droplet image and the second ink droplet image after removing the motion blur to still have an error with the actual size of the ink droplets. The size error will cause the calculation of the ink droplet volume to be inaccurate. Therefore, the technical solution needs to reduce the error between the actual volume of the ink droplets and the calculated volume of the ink droplets caused by the error between the average speed of the ink droplets falling and the actual speed of the ink droplets falling by first obtaining the first ink droplet volume and the second ink droplet volume, and then obtaining the actual volume of the ink droplets based on the first ink droplet volume and the second ink droplet volume, thereby effectively improving the calculation accuracy of the actual volume of the ink droplets.

[0014] Optionally, step S4 includes: S41, acquiring a third ink drop region according to the first ink drop image, and acquiring a fourth ink drop region according to the second ink drop image, wherein the third ink drop region is a region where ink drops are located in the first ink drop image after dynamic blur removal, and the fourth ink drop region is a region where ink drops are located in the second ink drop image after dynamic blur removal; S42, dividing the third ink drop region into a plurality of first rectangles whose width is a first preset number of pixels, and dividing the fourth ink drop region into a plurality of second rectangles whose width is a second preset number of pixels; S43, calculating the volume of the cylinders corresponding to the first rectangles according to the length and width corresponding to the first rectangles, and calculating the volume of the cylinders corresponding to the second rectangles according to the length and width corresponding to the second rectangles; S44. The sum of the volumes of the cylinders corresponding to all the first rectangles is taken as the first ink drop volume, and the sum of the volumes of the cylinders corresponding to all the second rectangles is taken as the second ink drop volume.

[0015] Optionally, step S5 includes: S51. Taking the average value of the first ink drop volume and the second ink drop volume as the actual ink drop volume.

[0016] In a second aspect, the present application provides an electronic device, including a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method provided in the first aspect are performed.

[0017] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the method provided in the first aspect are performed.

[0018] From the above, it can be seen that the ink droplet observation method, electronic device and computer-readable storage medium provided by the present application can improve the accuracy of the ink droplet observation results by first obtaining a first dynamic blur distance and then removing the dynamic blur in the first ink droplet image and the second ink droplet image based on the first dynamic blur distance. That is, the present application does not need to increase the amount of light input or approximate the ink droplets to a sphere under short exposure. Therefore, the present application can effectively solve the problems of being unable to use conventional light sources for ink droplet observation due to the high requirements on the light source for increasing the amount of light input under short exposure, the increased cost of ink droplet observation, and the excessive error of the observation results obtained by approximating the ink droplets to a sphere due to the excessive initial velocity of the ink droplets and / or the small distance between the observation point and the nozzle. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 A flow chart of an ink droplet observation method provided in an embodiment of the present application.

[0020] Figure 2 A schematic diagram of a driving waveform of a light source provided in an embodiment of the present application.

[0021] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0022] Reference numerals: 101, processor; 102, memory; 103, communication bus. DETAILED DESCRIPTION

[0023] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0024] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0025] First, as Figure 1 and Figure 2As shown, the present application provides an ink droplet observation method, which includes the following steps: S1, acquiring a first ink drop image and a second ink drop image of the same falling ink drop based on a preset time interval; S2, acquiring first ink drop position information according to the first ink drop image, and acquiring second ink drop position information according to the second ink drop image; S3, acquiring a first dynamic blur distance according to a preset time interval, the first ink drop position information, the second ink drop position information and a pre-acquired invalid pulse width, and removing dynamic blur in the corresponding first ink drop image and second ink drop image based on the first dynamic blur distance; The pre-acquisition process of invalid pulse width is: A1. Obtain a calibration image of a calibration block moving at a uniform speed, and obtain an invalid pulse width according to the difference between the actual size of the calibration block and the size of the calibration block in the calibration image. The driving voltage when obtaining the calibration image is the same as the driving voltage when obtaining the first ink droplet image and the second ink droplet image.

[0026] The present application preferably obtains the dynamic blur distance by multiplying the falling speed of the ink droplets by the time. Since the present application needs to intermittently illuminate the ink droplets with a light source when observing the ink droplets using an ink droplet observation instrument, and the pulse width of the driving waveform of the light source is very small, the rising edge and the falling edge of the driving waveform cannot be ignored, and only a part of the time in the rising edge and the falling edge can leave a dynamic blur with a grayscale exceeding the threshold in the image (refer to Figure 2 , Figure 2 a in the figure is the broken line corresponding to the driving waveform of the light source. Figure 2 The b in is the straight line corresponding to the threshold value, Figure 2 The tk in the equation represents the pulse width that can leave dynamic blur in the image with grayscale exceeding the threshold. Figure 2 The tq in the figure represents the pulse width of the rising edge or the falling edge that cannot leave the dynamic blur with the grayscale exceeding the threshold in the image. It should be understood that the invalid pulse width of this embodiment is composed of the pulse widths of the rising edge and the falling edge that cannot leave the dynamic blur with the grayscale exceeding the threshold in the image. Therefore, the invalid pulse width of this embodiment is the sum of the pulse width of the rising edge that cannot leave the dynamic blur with the grayscale exceeding the threshold in the image and the pulse width of the falling edge that cannot leave the dynamic blur with the grayscale exceeding the threshold in the image, that is, the invalid pulse width T mentioned below. q=2tq), that is, the pulse width of the driving waveform of the light source includes the pulse width that can leave dynamic blur with a grayscale exceeding the threshold in the image and the pulse width that cannot leave dynamic blur with a grayscale exceeding the threshold in the image (equivalent to the light emission time of the light source including the effective time that can leave dynamic blur and the invalid time that cannot leave dynamic blur). If the pulse width of the driving waveform of the light source is directly used to calculate the dynamic blur distance, it will cause an error between the calculated dynamic blur distance and the actual distance of the dynamic blur. Therefore, the present application needs to remove the invalid pulse width (equivalent to the invalid time) in the pulse width of the driving waveform of the light source. Since the invalid pulse width is only related to the driving voltage of the light source, and the driving voltage when acquiring the calibration image is the same as the driving voltage when acquiring the first ink droplet image and the second ink droplet image, the present application can use step A1 to pre-acquire the invalid pulse width. Since step A1 obtains a calibration image of the calibration block moving at a uniform speed, the actual size of the calibration block can be measured in advance, that is, the actual size of the calibration block is a known value, and therefore the difference between the actual size of the calibration block and the size of the calibration block in the calibration image is equivalent to the size of the motion blur, and since the calibration block moves at a uniform speed when acquiring the calibration image, that is, the movement speed of the calibration block is a known value, the size of the motion blur is positively correlated with the pulse width that can leave the motion blur in the image (the first effective pulse width mentioned below), and therefore this embodiment can obtain the first effective pulse width according to the difference between the actual size of the calibration block and the size of the calibration block in the calibration image, and since the pulse width of the driving waveform of the light source when acquiring the calibration image is a known value, this embodiment can obtain the invalid pulse width according to the pulse width of the driving waveform of the light source when acquiring the calibration image and the effective pulse width, thereby achieving the acquisition of the invalid pulse width according to the difference between the actual size of the calibration block and the size of the calibration block in the calibration image.

[0027] Step S1 preferably utilizes an existing ink droplet observation instrument to obtain a first ink droplet image and a second ink droplet image of the same falling ink droplet based on a preset time interval, wherein the first ink droplet image and the second ink droplet image are both images containing ink droplets ejected from a nozzle (equivalent to the falling ink droplets), and the difference between a time node for obtaining the first ink droplet image and a time node for obtaining the second ink droplet image is a preset time interval, that is, the first ink droplet image and the second ink droplet image are equivalent to images of the same falling ink droplet at different time nodes.

[0028] Step S2 can use the existing image processing algorithm or image processing model to obtain the first ink drop position information according to the first ink drop image and the second ink drop position information according to the second ink drop image. Since the position of the ink drop observer is pre-calibrated, the position of the ink drop observer will not change during the ink drop observation process. Therefore, the first ink drop position information and the second ink drop position information of this embodiment are equivalent to the position of the ink drop relative to the ink drop observer at different time nodes. It should be understood that since there is dynamic blur in both the first ink drop image and the second ink drop image, and the present application needs to obtain the falling speed of the ink drop based on the first ink drop position information and the second ink drop position information, in order to improve the accuracy of the falling speed, step S2 needs to obtain the first ink drop position information and the second ink drop position information based on the same reference, for example, the lowest point of the ink drop in the image is used as the position of the ink drop.

[0029] The specific process of obtaining the first dynamic blur distance in step S3 may be: obtaining the falling speed of the ink drop (the ink drop falling speed mentioned below) according to the preset time interval, the first ink drop position information and the second ink drop position information; obtaining the pulse width (the second effective pulse width mentioned below) that can leave a dynamic blur with a grayscale exceeding a threshold in the first ink drop image and the second ink drop image according to the pulse width of the driving waveform of the light source (the actual pulse width mentioned below) and the invalid pulse width; obtaining the first dynamic blur distance according to the falling speed of the ink drop and the pulse width that leaves a dynamic blur with a grayscale exceeding a threshold in the first ink drop image and the second ink drop image. The first dynamic blur distance obtained in step S3 can reflect the size of the dynamic blur of the ink drop in the first ink drop image and the second ink drop image, so step S3 can remove the dynamic blur in the first ink drop image and the second ink drop image based on the first dynamic blur distance, so that the first ink drop image and the second ink drop image can accurately reflect the actual size of the ink drop, thereby effectively improving the accuracy of the ink drop observation result. It should be understood that the pulse width of the driving waveform of the light source when acquiring the first ink drop image and the second ink drop image can be different from the pulse width of the driving waveform of the light source when acquiring the calibration image. Since the invalid pulse width is only related to the driving voltage of the light source, and the driving voltage when acquiring the calibration image is the same as the driving voltage when acquiring the first ink drop image and the second ink drop image, the effective pulse width in the pulse width of the driving waveform of the light source when acquiring the first ink drop image and the second ink drop image can be different from the effective pulse width in the pulse width of the driving waveform of the light source when acquiring the calibration image. It should also be understood that since the first dynamic blur distance of this embodiment is determined based on the invalid pulse width, this embodiment can effectively improve the accuracy of the first dynamic blur distance, so that the first dynamic blur distance can accurately reflect the actual size of the dynamic blur of the ink drop in the first ink drop image and the second ink drop image. It should also be understood that the ink droplet observation method is to first use an ink droplet observation instrument to obtain an image of the falling ink droplet, and then obtain parameters such as the volume of the ink droplet and the motion trajectory of the ink droplet based on the image. Since step S3 only obtains the first ink droplet image and the second ink droplet image after removing dynamic blur, this embodiment does not constitute a complete ink droplet observation method. The first ink droplet image and the second ink droplet image after removing dynamic blur can be used to calculate parameters such as the volume of the ink droplet and the motion trajectory of the ink droplet.

[0030] The present application provides a method for observing ink droplets, which can improve the accuracy of ink droplet observation results by first obtaining a first dynamic blur distance, and then removing the dynamic blur in the corresponding first ink droplet image and the second ink droplet image based on the first dynamic blur distance. That is, the present application does not need to increase the amount of light input or approximate the ink droplets to a sphere under short exposure. Therefore, the present application can effectively solve the problems that the conventional light source cannot be used for ink droplet observation due to the high requirements on the light source for increasing the amount of light input under short exposure, the increased cost of ink droplet observation, and the excessive error of the observation result obtained by approximating the ink droplets to a sphere due to the excessive initial velocity of the ink droplets and / or the small distance between the observation point and the nozzle. In addition, since the present application can remove dynamic blur by using invalid pulse width, the present application can use a traditional light source for ink droplet observation, and the present application has low power requirements for the driver board of the light source, and the low power requirement can effectively extend the service life of the light source, so the present application can also effectively reduce the number of replacements and maintenance of the light source.

[0031] In some preferred embodiments, the calibration block is a circular ink drop calibration block, and step A1 includes: A11, controlling the circular ink drop calibration block to fall at a uniform speed based on a preset falling speed, and acquiring a calibration image during the process of the circular ink drop calibration block falling at a uniform speed; A12. Obtain an invalid pulse width according to a preset falling speed, a difference between a diameter of the circular ink drop calibration block and a height of the circular ink drop calibration block along a falling direction in the calibration image, and a calibration pulse width, where the calibration pulse width is a pulse width of a light source when obtaining the calibration image.

[0032] The circular ink drop calibration block of this embodiment is preferably a circular black dot printed on a glass substrate using a photolithography machine. The process of controlling the circular ink drop calibration block to fall at a uniform speed based on a preset falling speed in step A11 can be: fixing the glass substrate printed with the circular black dot on a moving table; using a lifting mechanism to drive the moving table to descend at a preset falling speed, so that the circular ink drop calibration block falls at a uniform speed at a preset falling speed. Step A12 can use existing image processing technology to obtain the height of the circular ink drop calibration block along the falling direction in the calibration image according to the calibration image. Step A12 is equivalent to using the diameter of the circular ink drop calibration block as the actual size of the calibration block and using the height of the circular ink drop calibration block along the falling direction in the calibration image as the size of the calibration block in the calibration image.

[0033] In some preferred embodiments, step A12 includes: A121, obtaining a second dynamic blur distance according to the diameter of the circular ink drop calibration block and the height of the circular ink drop calibration block along the falling direction in the calibration image; A122, obtaining a first effective pulse width according to a second dynamic fuzzy distance and a preset falling speed; A123. Obtain an invalid pulse width according to the calibrated pulse width and the first valid pulse width.

[0034] The difference between the diameter of the circular ink drop calibration block of this embodiment and the height of the circular ink drop calibration block along the falling direction in the calibration image is caused by the dynamic blur of the ink drop in the calibration image, so the second dynamic blur distance obtained in step A121 can reflect the size of the dynamic blur of the ink drop in the calibration image. Since the size of the dynamic blur is only related to the effective pulse width in the pulse width of the driving waveform of the light source when the falling speed remains unchanged, step A122 can obtain the first effective pulse width according to the second dynamic blur distance and the preset falling speed. Since the calibration pulse width consists of the first effective pulse width and the invalid pulse width, step A123 can obtain the invalid pulse width by subtracting the first effective pulse width from the calibration pulse width.

[0035] In some preferred embodiments, the calculation formula of the second dynamic blur distance is as shown in formula (1): (1); Wherein, S1 represents the second dynamic blur distance, L1 represents the height of the circular ink drop calibration block in the calibration image along the falling direction, and D represents the diameter of the circular ink drop calibration block; The calculation formula of the first effective pulse width is shown in formula (2): (2); Among them, T k1 Indicates the first effective pulse width, v1 indicates the preset falling speed; The calculation formula of invalid pulse width is shown in formula (3): (3); Among them, T q Indicates invalid pulse width, T 标 Indicates the calibrated pulse width.

[0036] In some preferred embodiments, step S3 comprises: S31, obtaining the ink drop falling speed according to the preset time interval, the first ink drop position information and the second ink drop position information; S32, acquiring a second effective pulse width according to an actual pulse width and a pre-acquired invalid pulse width, wherein the actual pulse width is a pulse width of a light source when acquiring the first ink droplet image and the second ink droplet image; S33, acquiring a first dynamic blur distance according to the second effective pulse width and the ink drop falling speed, and converting the first dynamic blur distance into the number of blurred pixels; S34, acquiring a first ink drop region according to the first ink drop image and acquiring a second ink drop region according to the second ink drop image, wherein the first ink drop region is a region where ink drops are located in the first ink drop image, and the second ink drop region is a region where ink drops are located in the second ink drop image; S35. Remove the pixel points located at the top of the first ink drop area and the pixel points located at the top of the second ink drop area according to the number of blurred pixels to remove the dynamic blur in the first ink drop image and the second ink drop image. The spacing of the outer contour of the top of the first ink drop area before and after the pixel points are removed and the spacing of the outer contour of the top of the second ink drop area before and after the pixel points are removed are both equal to the first dynamic blur distance.

[0037] Since the present application will calibrate the ink droplet observation instrument when acquiring the first ink droplet image and the second ink droplet image, and after completing the calibration of the ink droplet observation instrument, the present application can obtain the single pixel size of the image acquired by the ink droplet observation instrument, so step S33 can convert the first dynamic blur distance into the number of blurred pixels, and the number of blurred pixels can reflect the number of pixels corresponding to the minimum spacing between the outer contour of the dynamic blur and the outer contour of the ink droplet. Step S34 can use the existing image processing technology to acquire the first ink droplet area according to the first ink droplet image and the second ink droplet area according to the second ink droplet image, and the first ink droplet area and the second ink droplet area are both composed of ink droplets and dynamic blur. Since the shape of the outer contour of the dynamic blur is the same as the shape of the outer contour of the top of the ink droplet, the outer contour of the dynamic blur is parallel to the outer contour of the top of the ink droplet, and the number of blurred pixels in this embodiment can reflect the number of pixels corresponding to the minimum spacing between the outer contour of the dynamic blur and the outer contour of the ink droplet, so this embodiment can remove the dynamic blur in the first ink droplet image and the second ink droplet image by removing the pixel points located at the top of the first ink droplet area and the pixel points located at the top of the second ink droplet area according to the number of blurred pixels.

[0038] In some preferred embodiments, the ink droplet observation method further includes the following steps performed after step S3: S4, acquiring a first ink drop volume according to the first ink drop image, and acquiring a second ink drop volume according to the second ink drop image; S5. Obtain the actual volume of the ink droplet according to the first ink droplet volume and the second ink droplet volume.

[0039] Since the ink droplets will decelerate under the action of air resistance during the falling process, and the ink droplet falling speed obtained by this embodiment according to the preset time interval, the first ink droplet position information and the second ink droplet position information is actually the average speed of the ink droplets falling, the average speed may have an error with the actual speed of the ink droplets falling, and the speed error will cause the size of the ink droplets in the first ink droplet image and the second ink droplet image after removing the dynamic blur to still have an error with the actual size of the ink droplets, and the size error will cause the calculation of the ink droplet volume to be inaccurate, so this embodiment needs to reduce the error between the actual ink droplet volume and the calculated ink droplet volume caused by the error between the average speed of the ink droplets falling and the actual speed of the ink droplets falling by first obtaining the first ink droplet volume and the second ink droplet volume, and then obtain the actual ink droplet volume according to the first ink droplet volume and the second ink droplet volume, thereby effectively improving the calculation accuracy of the actual ink droplet volume. Step S4 can use the existing ink droplet volume acquisition algorithm or ink droplet volume acquisition model to obtain the first ink droplet volume according to the first ink droplet image and the second ink droplet volume according to the second ink droplet image.

[0040] In some preferred embodiments, step S4 comprises: S41, acquiring a third ink drop region according to the first ink drop image, and acquiring a fourth ink drop region according to the second ink drop image, wherein the third ink drop region is a region where ink drops are located in the first ink drop image after dynamic blur removal, and the fourth ink drop region is a region where ink drops are located in the second ink drop image after dynamic blur removal; S42, dividing the third ink drop region into a plurality of first rectangles whose width is a first preset number of pixels, and dividing the fourth ink drop region into a plurality of second rectangles whose width is a second preset number of pixels; S43, calculating the volume of the cylinders corresponding to the first rectangles according to the length and width corresponding to the first rectangles, and calculating the volume of the cylinders corresponding to the second rectangles according to the length and width corresponding to the second rectangles; S44. The sum of the volumes of the cylinders corresponding to all the first rectangles is taken as the first ink drop volume, and the sum of the volumes of the cylinders corresponding to all the second rectangles is taken as the second ink drop volume.

[0041] The third ink drop area and the fourth ink drop area in step S41 are both two-dimensional data. Since the third ink drop area and the fourth ink drop area in this embodiment are equivalent to the cross-sectional shape of the ink drop, and the ink drop can be approximated as being composed of a plurality of cylinders, this embodiment can first divide the ink drop area horizontally into a plurality of rectangles with a preset width (step S42), each first rectangle and each second rectangle corresponds to a cylinder, all first rectangles constitute the third ink drop area, and all second rectangles constitute the fourth ink drop area, and then the width of the rectangle is used as the height of the corresponding cylinder and the length of the rectangle is used as the diameter of the corresponding cylinder, and the diameter of the cylinder is calculated according to the height and diameter of the cylinder (step S43), and finally the volume of the ink drop is obtained by adding the volumes of all cylinders (step S44). The widths of the first rectangle and the second rectangle in this embodiment are preferably both one pixel, that is, the first preset number of pixels and the second preset number of pixels are preferably both 1.

[0042] In some preferred embodiments, step S5 comprises: S51. Taking the average value of the first ink drop volume and the second ink drop volume as the actual ink drop volume.

[0043] From the above, it can be seen that the ink droplet observation method provided by the present application can improve the accuracy of the ink droplet observation results by first obtaining a first dynamic blur distance, and then removing the dynamic blur in the first ink droplet image and the second ink droplet image based on the first dynamic blur distance. That is, the present application does not need to increase the amount of light input or approximate the ink droplets to a sphere under short exposure. Therefore, the present application can effectively solve the problems of being unable to use conventional light sources for ink droplet observation due to the high requirements on the light source for increasing the amount of light input under short exposure, the increased cost of ink droplet observation, and the excessive error of the observation results obtained by approximating the ink droplets to a sphere due to the excessive initial velocity of the ink droplets and / or the small distance between the observation point and the nozzle.

[0044] Please refer to Figure 3 , Figure 3This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The present application provides an electronic device, including: a processor 101 and a memory 102. The processor 101 and the memory 102 are interconnected and communicate with each other through a communication bus 103 and / or other forms of connection mechanisms (not shown). The memory 102 stores computer-readable instructions executable by the processor 101. When the electronic device is running, the processor 101 executes the computer-readable instructions to execute the method in any optional implementation of the above embodiment to achieve the following functions: Step S1, obtaining a first ink droplet image and a second ink droplet image of the same falling ink droplet based on a preset time interval; Step S2, based on The first ink drop position information is obtained according to the first ink drop image, and the second ink drop position information is obtained according to the second ink drop image; step S3, obtaining the first dynamic blur distance according to the preset time interval, the first ink drop position information, the second ink drop position information and the pre-acquired invalid pulse width, and removing the dynamic blur in the corresponding first ink drop image and the second ink drop image based on the first dynamic blur distance; the pre-acquisition process of the invalid pulse width is: step A1, obtaining a calibration image of a calibration block in uniform motion, and obtaining the invalid pulse width based on the difference between the actual size of the calibration block and the size of the calibration block in the calibration image, and the driving voltage when obtaining the calibration image is the same as the driving voltage when obtaining the first ink drop image and the second ink drop image.

[0045] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method in any optional implementation method of the above embodiment is executed to achieve the following functions: step S1, based on a preset time interval, a first ink drop image and a second ink drop image of the same falling ink drop are obtained; step S2, based on the first ink drop image, the first ink drop position information is obtained, and based on the second ink drop image, the second ink drop position information is obtained; step S3, based on the preset time interval, the first ink drop position information, the second ink drop position information and the pre-acquired invalid pulse width, a first dynamic blur distance is obtained, and based on the first dynamic blur distance, the corresponding first ink drop image and the second ink drop image are removed. The pre-acquisition process of the invalid pulse width is: step A1, a calibration image of a calibration block in uniform motion is obtained, and the invalid pulse width is obtained based on the difference between the actual size of the calibration block and the size of the calibration block in the calibration image, and the driving voltage when the calibration image is obtained is the same as the driving voltage when the first ink drop image and the second ink drop image are obtained. Among them, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0046] From the above, it can be seen that the ink droplet observation method, electronic device and computer-readable storage medium provided by the present application can improve the accuracy of the ink droplet observation results by first obtaining a first dynamic blur distance and then removing the dynamic blur in the first ink droplet image and the second ink droplet image based on the first dynamic blur distance. That is, the present application does not need to increase the amount of light input or approximate the ink droplets to a sphere under short exposure. Therefore, the present application can effectively solve the problems of being unable to use conventional light sources for ink droplet observation due to the high requirements on the light source for increasing the amount of light input under short exposure, the increased cost of ink droplet observation, and the excessive error of the observation results obtained by approximating the ink droplets to a sphere due to the excessive initial velocity of the ink droplets and / or the small distance between the observation point and the nozzle.

[0047] In the embodiments provided in the present application, it should be understood that, herein, relational terms such as first and second, etc. are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0048] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A method for observing ink droplets, characterized in that: The ink droplet observation method comprises the following steps: S1, acquiring a first ink drop image and a second ink drop image of the same falling ink drop based on a preset time interval; S2. acquiring first ink drop position information according to the first ink drop image, and acquiring second ink drop position information according to the second ink drop image; S3, acquiring a first dynamic blur distance according to the preset time interval, the first ink drop position information, the second ink drop position information and the pre-acquired invalid pulse width, and removing dynamic blur in the corresponding first ink drop image and second ink drop image based on the first dynamic blur distance; The pre-acquisition process of the invalid pulse width is as follows: A1. Obtain a calibration image of a calibration block moving at a uniform speed, and obtain an invalid pulse width according to a difference between an actual size of the calibration block and a size of the calibration block in the calibration image. The driving voltage when obtaining the calibration image is the same as the driving voltage when obtaining the first ink droplet image and the second ink droplet image.

2. The ink droplet observation method according to claim 1, characterized in that: The calibration block is a circular ink drop calibration block, and step A1 comprises: A11, controlling the circular ink drop calibration block to fall at a uniform speed based on a preset falling speed, and acquiring a calibration image during the process of the circular ink drop calibration block falling at a uniform speed; A12. Obtain an invalid pulse width according to the preset falling speed, the difference between the diameter of the circular ink drop calibration block and the height of the circular ink drop calibration block along the falling direction in the calibration image, and the calibration pulse width, wherein the calibration pulse width is the pulse width of the light source when acquiring the calibration image.

3. The ink droplet observation method according to claim 2, characterized in that: Step A12 includes: A121, acquiring a second dynamic blur distance according to the diameter of the circular ink drop calibration block and the height of the circular ink drop calibration block along the falling direction in the calibration image; A122. Obtaining a first effective pulse width according to the second dynamic fuzzy distance and the preset falling speed; A123. Obtain an invalid pulse width according to the calibrated pulse width and the first valid pulse width.

4. The ink droplet observation method according to claim 3, characterized in that: The calculation formula of the second dynamic blur distance is as follows: ; Wherein, S1 represents the second dynamic blur distance, L1 represents the height of the circular ink drop calibration block in the calibration image along the falling direction, and D represents the diameter of the circular ink drop calibration block; The calculation formula of the first effective pulse width is as follows: ; Among them, T k1 Indicates the first effective pulse width, v1 indicates the preset falling speed; The calculation formula of the invalid pulse width is as follows: ; Among them, T q Indicates invalid pulse width, T 标 Indicates the calibrated pulse width.

5. The ink droplet observation method according to claim 1, characterized in that: Step S3 includes: S31, acquiring an ink drop falling speed according to the preset time interval, the first ink drop position information and the second ink drop position information; S32, acquiring a second effective pulse width according to an actual pulse width and a pre-acquired invalid pulse width, wherein the actual pulse width is a pulse width of a light source when acquiring the first ink droplet image and the second ink droplet image; S33, acquiring a first dynamic blur distance according to the second effective pulse width and the ink drop falling speed, and converting the first dynamic blur distance into the number of blurred pixels; S34, acquiring a first ink drop region according to the first ink drop image and acquiring a second ink drop region according to the second ink drop image, wherein the first ink drop region is a region where ink drops in the first ink drop image are located, and the second ink drop region is a region where ink drops in the second ink drop image are located; S35. Remove the pixel points located at the top of the first ink drop area and the pixel points located at the top of the second ink drop area according to the number of blurred pixels to remove the dynamic blur in the first ink drop image and the second ink drop image. The distance between the outer contour of the top of the first ink drop area before and after the pixel points are removed and the distance between the outer contour of the top of the second ink drop area before and after the pixel points are removed are both equal to the first dynamic blur distance.

6. The ink droplet observation method according to claim 1, characterized in that: The ink droplet observation method further includes the following steps performed after step S3: S4, acquiring a first ink drop volume according to the first ink drop image, and acquiring a second ink drop volume according to the second ink drop image; S5. Obtain an actual volume of the ink drop according to the first ink drop volume and the second ink drop volume.

7. The ink droplet observation method according to claim 6, characterized in that: Step S4 includes: S41, acquiring a third ink drop region according to the first ink drop image, and acquiring a fourth ink drop region according to the second ink drop image, wherein the third ink drop region is a region where ink drops are located in the first ink drop image after dynamic blur removal, and the fourth ink drop region is a region where ink drops are located in the second ink drop image after dynamic blur removal; S42, dividing the third ink drop region into a plurality of first rectangles whose width is a first preset number of pixels, and dividing the fourth ink drop region into a plurality of second rectangles whose width is a second preset number of pixels; S43, calculating the volume of each cylinder corresponding to the first rectangle according to the length and width corresponding to the first rectangle, and calculating the volume of each cylinder corresponding to the second rectangle according to the length and width corresponding to the second rectangle; S44. The sum of the volumes of the cylinders corresponding to all the first rectangles is taken as the first ink drop volume, and the sum of the volumes of the cylinders corresponding to all the second rectangles is taken as the second ink drop volume.

8. The ink droplet observation method according to claim 6, characterized in that: Step S5 includes: S51. Taking an average value of the first ink drop volume and the second ink drop volume as the actual ink drop volume.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 8 are executed.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are executed.

Citation Information

Patent Citations

  • Flight ink droplet inspection device and method suitable for inkjet printing

    CN109435473A

  • Micro-ink droplet deposition process observation method and device suitable for ink-jet printing

    CN113947660A

  • Video stream restoration method and system, electronic equipment and storage medium

    CN114494085A

  • Image deblurring method for flying ink droplets

    CN117437155A

  • Device and method for detecting ink droplet

    US20190001666A1