Method, device and medium for controlling a printing device
By generating a target trigger signal for each needle in the control device, the problem that multiple needle printing devices are difficult to achieve accurate grayscale printing is solved, and the uniformity and accuracy of the printing pattern are achieved, thereby avoiding excessive or insufficient spraying liquid and resonance problems.
Patent Information
- Application Number
- CN202211603723.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-28
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2042-07-28
AI Technical Summary
The existing multi-injection printing device is difficult to achieve accurate grayscale printing because the multiple needles are usually configured to be driven integrally by a vibrating device, difficult to drive separately, and the printing liquid of each needle is difficult to independently and accurately control.
By determining at the control device that the current printing task is grayscale printing based on the printing instructions, based on the target grayscale value of each injection for the corresponding vibration device of each injection needle, a target trigger signal of the corresponding vibration device of each injection needle is generated, including the number of strokes, stroke frequency and voltage, to independently control the printing of each injection needle.
Accurate gray-scale printing of multi-injection printing device is realized, which improves the uniformity of the printing pattern, avoids the problem of excessive or insufficient spray liquid during spraying and recovery, and reduces the uniform printing phenomenon caused by needle resonance.
Smart Images

Figure CN117465134B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates generally to digital printing control, and in particular, to methods, apparatus, and media for controlling a printing device. Background Art
[0002] Existing multi-needle printing devices usually include components such as a multi-needle nozzle, an ink cartridge, a control device, and a vibration device. Traditional methods for controlling printing devices include, for example: the control device generates a trigger signal based on a print instruction to trigger the vibration device to vibrate, and multiple nozzles spray printing liquid under the vibration drive of the vibration device, thereby realizing the printing of the object to be printed. Since the multiple nozzles in the existing printing device are usually configured to be driven by the vibration device as a whole, it is difficult to drive them separately, and the printing liquid of each nozzle is difficult to control independently and accurately. For some printing scenarios, such as grayscale printing, multiple nozzles are required to output different shades of gray to represent color content. Therefore, the existing method for controlling the printing device makes it difficult for the multi-needle printing device to achieve accurate grayscale printing.
[0003] In summary, the conventional method for controlling a printing device has the disadvantage that it is difficult to enable a multi-needle printing device to achieve accurate grayscale printing. Summary of the Invention
[0004] The present disclosure provides a method, device and computer storage medium for controlling a printing device, which can enable a multi-needle printing device to achieve precise grayscale printing.
[0005] According to a first aspect of the present disclosure, a method for controlling a printing device is provided. The printing device includes: a plurality of nozzles and a plurality of vibration devices corresponding to the plurality of nozzles, each nozzle configured to output a printing liquid under the drive of a corresponding vibration device, and the vibration device configured to vibrate in response to a trigger signal from a control device to drive the nozzle. The method includes: determining, at the control device, whether a current printing task is grayscale printing based on a received printing instruction; if the current printing task is determined to be grayscale printing, determining at least one of a target number of dots, a target dotting frequency, and a trigger signal voltage generated by a trigger signal of a single trigger cycle of the vibration device corresponding to each nozzle based on a target grayscale value associated with a trigger cycle at a printing position corresponding to each nozzle; generating a target trigger signal for triggering the vibration device corresponding to each nozzle based on at least one of the determined number of dots, the target dotting frequency, and the trigger signal voltage generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each nozzle; and outputting the generated target trigger signal to the corresponding vibration device to control the plurality of nozzles to achieve grayscale printing.
[0006] In some embodiments, controlling multiple nozzles to achieve grayscale printing includes: generating a target trigger signal for triggering the corresponding vibration device of each nozzle, so as to control at least some of the multiple nozzles to achieve at least one of the following: the target grayscale value of the printing position corresponding to at least some of the multiple nozzles changes with the trigger cycle; and the target grayscale value of the printing position corresponding to at least some of the multiple nozzles changes with the printing position.
[0007] In some embodiments, generating a target trigger signal for triggering the corresponding vibration device of each nozzle includes: determining whether the time interval between the current time and the start or resume time of printing is less than or equal to a first predetermined time interval; in response to determining that the time interval between the current time and the start or resume time of printing is less than or equal to the first predetermined time interval, performing a first adjustment on at least one of the number of dots, the dotting frequency, and the voltage of the trigger signal generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each nozzle to generate a target trigger signal for triggering the corresponding vibration device of each nozzle to vibrate with a first vibration attribute; in response to determining that the time interval between the current time and the start or resume time of printing is greater than the first predetermined time interval, generating a target trigger signal for driving the corresponding vibration device of each nozzle to vibrate with a target vibration attribute based on at least one of the number of dots, the dotting frequency, and the voltage of the trigger signal generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each nozzle, wherein the amplitude of the vibration with the first vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle are less than the amplitude of the vibration with the target vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle.
[0008] In some embodiments, generating a target trigger signal based on at least one of the number of dots, the dotting frequency, and the voltage of the trigger signal generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each nozzle includes: in response to determining that the time interval between the current time and the start or resumption moment of printing is greater than the first predetermined time interval, determining whether the time interval between the current time and the start or resumption moment of printing is less than or equal to the second predetermined time interval; in response to determining that the time interval between the current time and the start or resumption moment of printing is less than or equal to the second predetermined time interval, determining the number of dots, the dotting frequency, and the voltage of the trigger signal generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each nozzle. at least one of which performs a second adjustment to generate a target trigger signal for triggering the corresponding vibration device of each nozzle to vibrate with a second vibration attribute, the amplitude of the vibration with the second vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle being greater than the amplitude of the vibration with the target vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle; and in response to determining that the time interval between the current time and the start or resumption moment of printing is greater than a second predetermined time interval, based on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each nozzle, the dotting frequency and the voltage of the trigger signal, a target trigger signal is generated to drive the corresponding vibration device of each nozzle to vibrate with the target vibration attribute.
[0009] In some embodiments, each vibration device includes a piezoelectric ceramic unit, and the method further includes: adjusting the phase of the target trigger signal of the piezoelectric ceramic unit of the first serial number set among the multiple piezoelectric ceramic units so that it is different from the phase of the target trigger signal of the piezoelectric ceramic unit of the second serial number set among the multiple piezoelectric ceramic units, so as to avoid resonance between the nozzles corresponding to the piezoelectric ceramic units of the first serial number set and the nozzles corresponding to the piezoelectric ceramic units of the second serial number set.
[0010] In some embodiments, the piezoelectric ceramic units of the first serial number set and the piezoelectric ceramic units of the second serial number set are spaced apart.
[0011] In some embodiments, the method for controlling a printing device further includes: determining whether a time interval between a current time and a printing start or resume time is less than or equal to a first predetermined time interval; in response to determining that the time interval between the current time and the printing start or resume time is less than or equal to the first predetermined time interval, adjusting a liquid level of a printing liquid in an ink cartridge included in the printing device to a first height, the first height being less than a target set height; and in response to determining that the time interval between the current time and the printing start or resume time is greater than the first predetermined time interval, determining whether the time interval between the current time and the printing start or resume time is less than or equal to a second predetermined time interval; in response to determining that the time interval between the current time and the printing start or resume time is less than or equal to the second predetermined time interval, adjusting the liquid level of the printing liquid in the ink cartridge included in the printing device to a second height, the second height being greater than the target set height; and in response to determining that the time interval between the current time and the printing start or resume time is greater than the second predetermined time interval, adjusting the liquid level of the printing liquid in the ink cartridge included in the printing device to the target set height.
[0012] In some embodiments, the method for controlling the printing device also includes: triggering multiple vibration devices with the same trigger signal to obtain a scanned image of the printing pattern of multiple nozzles; determining the coordinate information of the starting position of each nozzle based on the grayscale value of the printing position of the nozzle in the scanned image; determining one or more nozzles whose starting positions meet the predetermined deviation condition based on the coordinate information of the starting positions; and adjusting the phase of the trigger signal of the vibration device corresponding to the one or more nozzles whose starting positions meet the predetermined deviation condition, so as to reduce the deviation of the starting positions of the one or more nozzles.
[0013] In some embodiments, the method for controlling the printing device also includes: determining the spacing between the starting positions of adjacent nozzles based on the coordinate information of the starting position of each nozzle; calculating the average spacing based on the determined spacing; and generating warning information for the nozzle indicating that there is a problem with the installation position or angle based on the determined spacing and the average spacing.
[0014] According to a second aspect of the present disclosure, a control device is provided. The control device includes: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, wherein the instructions, when executed by the at least one processing unit, cause the control device to perform the steps of the method according to the first aspect of the present disclosure.
[0015] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a machine, the steps of the method according to the first aspect of the present disclosure are implemented.
[0016] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the disclosure, nor is it intended to limit the scope of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of a system for implementing a method for controlling a printing device according to an embodiment of the present disclosure is shown.
[0018] Figure 2 A flow chart of a method for controlling a printing device according to an embodiment of the present invention is shown.
[0019] Figure 3 A schematic diagram showing a printing image of multiple nozzles driven by the same trigger signal.
[0020] Figure 4 A flow chart of a method for generating a target trigger signal according to an embodiment of the present invention is shown.
[0021] Figure 5 A flow chart of a method for generating a target trigger signal according to an embodiment of the present invention is shown.
[0022] Figure 6 A flow chart of a method for improving the uniformity of a printed pattern according to some other embodiments of the present invention is shown.
[0023] Figure 7 A flow chart of a method for adjusting a spray needle according to an embodiment of the present invention is shown.
[0024] Figure 8 A schematic diagram showing a trigger signal and a dot signal according to an embodiment of the present disclosure is shown.
[0025] Figure 9 A schematic structural diagram of a printing device according to an embodiment of the present invention is shown.
[0026] Figure 10 The block diagram schematically shows an electronic device suitable for implementing the embodiments of the present invention.
[0027] In the various drawings, the same or corresponding reference numerals denote the same or corresponding parts. DETAILED DESCRIPTION
[0028] The preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0029] As used herein, the term "including" and its variations represent open inclusion, i.e., "including but not limited to." Unless otherwise stated, the term "or" means "and / or." The term "based on" means "based at least in part on." The terms "one example embodiment" and "an embodiment" mean "at least one example embodiment." The term "another embodiment" means "at least one additional embodiment." The terms "first," "second," etc. may refer to different or identical objects.
[0030] As mentioned above, in the traditional method for controlling the printing device, since the multiple nozzles in the existing printing device are usually configured to be driven by a vibration device as a whole, it is difficult to drive them separately, and the printing liquid of each nozzle is difficult to control independently and accurately. Therefore, it is difficult for the multi-nozzle printing device to achieve accurate grayscale printing.
[0031] In order to at least partially solve one or more of the above-mentioned problems and other potential problems, an exemplary embodiment of the present disclosure proposes a method for controlling a printing device. In this method, when the current printing task is determined to be grayscale printing based on the printing instruction, the target number of dots, target dotting frequency and / or trigger signal voltage generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each nozzle are determined based on the target grayscale value associated with the trigger cycle at the corresponding printing position of each nozzle. Then, based on the determined number of dots, dotting frequency and / or trigger signal, a target trigger signal for triggering the corresponding vibration device of each nozzle is generated and output to the corresponding vibration device. The present disclosure can control the total number of dots of each nozzle in each trigger cycle separately, and correspond to the target grayscale value at the corresponding printing position of the nozzle, thereby controlling multiple nozzles of the printing device to achieve grayscale printing. Therefore, the present disclosure can enable a multi-needle printing device to achieve precise grayscale printing.
[0032] Figure 1 FIG. 1 is a schematic diagram of a system 100 for implementing a method for controlling a printing device according to an embodiment of the present disclosure. Figure 1As shown, the system 100 includes, for example, a printing device 130, an object to be printed 160, an image acquisition device 170, a management device 150, and a network 140. The management device 150 can exchange data with the control device 110 in the printing device 130 via the network 140 in a wired or wireless manner.
[0033] The management device 150 is used, for example, to generate and print instructions and send them to the control device 110 of the printing device 130. In some embodiments, the management device 150 is also used to receive scanned images of the printing patterns of the multiple needles captured by the image capture device 170.
[0034] The image acquisition device 170 , for example, acquires scanned images of the printing patterns of the multiple inkjet needles and sends the scanned images to the control device 110 or the management device 150 in the printing device 130 .
[0035] Regarding the printing device 130, it prints on the object to be printed 160 according to the printing instruction. The object to be printed 160 is, for example, but not limited to paper or fabric. The printing instruction is, for example, a local user input from the printing device 130 or a remote management device 150. The printing device 130 includes, for example, a multi-needle nozzle 120, an ink cartridge (not shown) and a control device 110. The multi-needle nozzle 120 further includes, for example: a plurality of nozzles (a first nozzle 122-1, a second nozzle 122-2 to an Nth nozzle 122-N), a plurality of vibration devices (for example, a first vibration device 124-1, a second vibration device 124-2 to an Nth vibration device 124-N). Each nozzle is used to output the printing liquid under the drive of the corresponding vibration device. Each vibration device is used to vibrate according to the corresponding trigger signal from the control device 110 to drive the corresponding nozzle. It should be understood that the printing device 130 is, for example, but not limited to Figure 9 The printing device 900 is shown.
[0036] The control device 110 is configured to control the multi-needle printhead 120 to print on the object 160 to be printed based on a printing instruction. Specifically, the control device 120 is configured to, for example, determine whether the current printing task is grayscale printing based on the received printing instruction. If the current printing task is determined to be grayscale printing, the control device 120 determines at least one of a target number of dots, a target dotting frequency, and a trigger signal voltage generated by a trigger signal of a vibration device corresponding to each needle in a single trigger cycle based on a target grayscale value associated with a trigger cycle at the corresponding printing position of each needle. The control device 120 generates a target trigger signal for triggering the vibration device corresponding to each needle based on at least one of the determined number of dots, a target dotting frequency, and a trigger signal voltage generated by the trigger signal of the vibration device corresponding to each needle in a single trigger cycle. The control device 110 then outputs the generated target trigger signal to the vibration device to control the multiple needles to achieve grayscale printing. In some embodiments, the control device 110 may include one or more processing units, including specialized processing units such as GPUs, FPGAs, and ASICs, as well as general-purpose processing units such as CPUs. Furthermore, the control device 110 may also run one or more virtual machines. In some embodiments, the control device 110 includes, for example: a grayscale printing confirmation unit 112 , a target dotting parameter determination unit 114 , a target trigger signal determination unit 116 , and a target trigger signal output unit 118 .
[0037] The grayscale printing confirmation unit 112 is used to determine whether the current printing task is grayscale printing based on the received printing instruction at the control device.
[0038] Regarding the target dot parameter determination unit 114, if it is determined that the current printing task is grayscale printing, it is used to determine at least one of the target dot number, target dot frequency and trigger signal voltage generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each nozzle based on the target grayscale value associated with the trigger cycle at the corresponding printing position of each nozzle.
[0039] Regarding the target trigger signal determination unit 116, it is used to generate a target trigger signal for triggering the corresponding vibration device of each spray needle based on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each spray needle, the dotting frequency and the voltage of the trigger signal.
[0040] Regarding the target trigger signal output unit 118 , it is used to output a target trigger signal to a plurality of vibration devices so as to control a plurality of needles to achieve grayscale printing.
[0041] The following combination Figure 2 、 Figure 3 and Figure 8 A method 200 for controlling a printing device is described. Figure 2 A flow chart of a method 200 for controlling a printing device according to an embodiment of the present invention is shown. Figure 8 Schematic diagram showing the trigger signal and the dotting signal of the embodiment of the present disclosure. It should be understood that the method 200 can be used, for example, in Figure 10 The method 200 is executed at the described electronic device 1000. It should be understood that the method 200 may further include additional actions not shown and / or may omit actions shown, and the scope of the present invention is not limited in this respect.
[0042] At step 202 , the control device 110 determines whether the current printing task is grayscale printing based on the received printing instruction.
[0043] Regarding the printing device, it includes multiple nozzles and multiple vibration devices corresponding to the multiple nozzles. Each nozzle is used to output printing liquid under the drive of the corresponding vibration device, and the vibration device is used to vibrate according to the trigger signal from the control device to drive the nozzle.
[0044] The received printing instruction may come from a printing device or the management apparatus 150 , for example.
[0045] At step 204, if the control device 110 determines that the current printing task is grayscale printing, based on the target grayscale value associated with the trigger cycle at the printing position corresponding to each needle, determine at least one of the target number of dots, target dotting frequency and voltage of the trigger signal generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each needle.
[0046] It should be understood that when printing, the control device 110 causes the object to be printed 160 (the object to be printed is, for example, but not limited to, fabric or paper) and the nozzle to move relative to each other, for example, the object to be printed is stationary, while the multi-needle nozzle of the printing device scans (for example, moves horizontally from right to left). At the same time, the control device 110 outputs a trigger signal with a certain trigger frequency (such as Figure 8 The vibration device is triggered to vibrate (indicated by the mark 802), and the vibration device drives the needle to vibrate at a dot frequency to form each printing point in the printing pattern. Figure 8 The trigger frequency of the trigger signal indicated by the mark 802 is 1000HZ. The trigger period of the trigger signal is, for example, 1ms, which indicates the time interval between the printing points. Each trigger signal drives the needle to form a printing point (such as Figure 3 Each printing dot is formed by the spraying liquid ejected by the vibrating device driving the spray needle to perform a set of vibrations (i.e., dotting). Mark 804 indicates the dotting signal by which the vibrating device drives the spray needle to perform dotting. For example, Figure 8The dotting frequency of the dotting signal is, for example, 200KHZ, and the number of dots generated by the trigger signal of a single trigger cycle (i.e., the number of needle vibrations) is, for example, 100, and the dotting cycle is, for example, 0.5ms (corresponding to a duty cycle of 50%). It should be understood that the above-mentioned dotting frequency, the number of dots generated by the trigger signal of a single trigger cycle, and the setting parameters such as the dotting cycle and the duty cycle are only exemplary, and the above-mentioned setting parameters can be adjusted as needed. Accordingly, the amount of ink output by the needle and the power consumption of the printing device will also change accordingly. In addition, Figure 8 The trigger signal example shown is a square wave. It should be understood that other periodic signals, such as but not limited to sine waves, triangle waves, etc., can also be used as trigger signals.
[0047] It should be understood that the interval between printed dots can be adjusted by adjusting the trigger frequency; the amount of ink per printed dot can also be adjusted by adjusting the number of dots and / or the dot frequency generated by the trigger signal in a single trigger cycle. Furthermore, the voltage amplitude of the trigger signal is also related to the vibration amplitude of the vibrating device. Increasing the vibration amplitude of the vibrating device will result in an increase in the amount of ink per printed dot by the inkjet needle. Decreasing the vibration amplitude of the vibrating device will result in a decrease in the amount of ink per printed dot by the inkjet needle.
[0048] Therefore, based on the target grayscale value associated with the trigger cycle at the printing position corresponding to each inkjet needle, the printing point interval between the printing position corresponding to each inkjet needle and the adjacent printing position, and the amount of ink of the printing point of the printing position corresponding to each inkjet needle can be determined; and based on the determined printing point interval and the amount of ink of the printing point, at least one of the target number of dots, target dotting frequency and voltage of the trigger signal generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each inkjet needle can be determined.
[0049] At step 206 , the control device 110 generates a target trigger signal for triggering the vibration device corresponding to each nozzle needle based on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each nozzle needle, the dotting frequency, and the voltage of the trigger signal.
[0050] At step 206 , the control device 110 outputs the generated target trigger signal to the corresponding vibration device to control the multiple needles to achieve grayscale printing.
[0051] Regarding the method of controlling multiple nozzles to achieve grayscale printing, it includes, for example: outputting the generated target trigger signal to the corresponding vibration device, so as to control at least part of the multiple nozzles to achieve at least one of the following: the target grayscale value of the printing position corresponding to at least part of the multiple nozzles changes with the trigger cycle; and the target grayscale value of the printing position corresponding to at least part of the multiple nozzles changes with the printing position.
[0052] In the above scheme, when the current printing task is determined to be grayscale printing based on the printing instruction, at the control device, the target number of dots, target dot frequency and / or trigger signal voltage generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each needle are determined based on the target grayscale value associated with the trigger cycle at the corresponding printing position of each needle, and then based on the determined number of dots, dot frequency and / or trigger signal, a target trigger signal for triggering the corresponding vibration device of each needle is generated to be output to the corresponding vibration device. The present disclosure can control the total number of dots of each needle in each trigger cycle separately, and correspond to the target grayscale value at the corresponding printing position of the needle, thereby controlling multiple needles of the printing device to achieve grayscale printing. Therefore, the present disclosure can enable a multi-needle printing device to achieve precise grayscale printing.
[0053] In some embodiments, the method 200 further includes a method 400 for generating a target trigger signal. Figure 3 and Figure 4 Describes the method for generating a target trigger signal. Figure 3 A schematic diagram showing a printing image of multiple nozzles driven by the same trigger signal. Figure 4 FIG. 4 is a flow chart of a method 400 for generating a target trigger signal according to an embodiment of the present invention. It should be understood that the method 400 may be implemented in Figure 10 The method 400 is executed at the described electronic device 1000. It should be understood that the method 400 may further include additional actions not shown and / or may omit actions shown, and the scope of the present invention is not limited in this respect.
[0054] At step 402 , the control device 110 determines whether the time interval between the current time and the printing start or resume time is less than or equal to a first predetermined time interval.
[0055] Regarding the first predetermined time interval, it is related to Figure 3 The time associated with the spraying area indicated by the mark 310 in the figure corresponds to the time associated with the spraying area. Figure 3 As shown, the first predetermined time interval corresponds to the number of trigger cycles of the trigger signal before the end moment of the spraying area. In some embodiments, the first predetermined time interval corresponds to the time of 3 or 4 trigger cycles of the trigger signal.
[0056] Research has found that at the beginning of printing or in the early stage of printing recovery, there is a problem of excessive spraying of liquid in the printed image at the beginning of printing or in the early stage of printing recovery due to the remaining printing liquid in the needle tip and the higher flow resistance of the liquid in the needle.
[0057] It should be understood that, when executing a grayscale printing task, the target grayscale values of the printing positions corresponding to at least some of the multiple needles vary with the trigger cycle; and the target grayscale values of the printing positions corresponding to at least some of the multiple needles vary with the printing position. To more clearly illustrate the uneven printing problem of a printed image, such as excessive liquid spraying, a trigger signal for a vibration device of a printing device is configured such that the number of dots generated by the trigger signal in a single trigger cycle is 100, the dotting frequency is 183 kHz, and the trigger signal frequency is 1000 Hz. For example, the multi-needle nozzle is moved laterally at a speed of 1.9 m / s. The resolution in the lateral direction is, for example, approximately 13.4 dpi. Simultaneously, the object to be sprayed (such as, but not limited to, fabric or paper) is held stationary, and the multi-needle nozzle of the printing device (e.g., a multi-needle nozzle configured with 45 needles) is scanned from right to left (e.g., moved laterally at a speed of 1.9 m / s) to cause the nozzles to print on the object. It should be understood that the above parameters for setting the number of dots, dotting frequency and trigger signal frequency are exemplary and can also be adjusted to other parameters. Figure 3 As shown, the printing color of the spraying area indicated by mark 302 (for example, the area corresponding to the first three points of each spray needle) is darker, and there is a problem of excessive spraying.
[0058] At step 404, if the control device 110 determines that the time interval between the current time and the start or resumption time of printing is less than or equal to the first predetermined time interval, a first adjustment is made to at least one of the number of dots, the dot frequency and the voltage of the trigger signal generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each determined nozzle to generate a target trigger signal for triggering the corresponding vibration device of each nozzle to vibrate with the first vibration attribute.
[0059] Regarding the first regulation, it is used, for example, to reduce the total number of taps per trigger cycle.
[0060] For example, if the control device 110 determines that the time interval between the current time and the printing start or resume time is less than or equal to three or four trigger cycles, the number of dots generated by the trigger signal in a single trigger cycle determined based on the target grayscale value is reduced, or the dotting frequency is reduced, or the voltage of the trigger signal is reduced. Alternatively, adjustments may be made to any of the number of dots, the dotting frequency, and the voltage of the trigger signal to reduce the total number of dots in a single trigger cycle in the starting area.
[0061] At step 406, if the control device 110 determines that the time interval between the current time and the start or resumption moment of printing is greater than the first predetermined time interval, based on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each nozzle, the dotting frequency and the voltage of the trigger signal, a target trigger signal is generated to drive the corresponding vibration device of each nozzle to vibrate with the target vibration attribute, and the amplitude of the vibration with the first vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle is less than the amplitude of the vibration with the target vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle.
[0062] For example, if the control device 110 determines that the time interval between the current time and the start or resumption time of printing is greater than 3 or 4 trigger cycles, the number of dots generated by the trigger signal of a single trigger cycle determined based on the target grayscale value, or the dotting frequency is reduced, or the voltage of the trigger signal is reduced.
[0063] Regarding the method for generating a target trigger signal, in some embodiments, it includes, for example: if the control device 110 determines that the time interval between the current time and the start or resumption moment of printing is greater than the first predetermined time interval, determining whether the time interval between the current time and the start or resumption moment of printing is less than or equal to the second predetermined time interval; if the control device 110 determines that the time interval between the current time and the start or resumption moment of printing is less than or equal to the second predetermined time interval, performing a second adjustment on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each needle, the dotting frequency and the voltage of the trigger signal, so as to generate a trigger signal for each needle. The target trigger signal for the vibration device corresponding to each nozzle to vibrate with the second vibration attribute is generated, and the amplitude of the vibration of the second vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle is greater than the amplitude of the vibration of the target vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle; and if the control device 110 determines that the time interval between the current time and the start or resumption moment of printing is greater than the second predetermined time interval, based on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each nozzle, the dotting frequency and the voltage of the trigger signal, a target trigger signal is generated to drive the corresponding vibration device of each nozzle to vibrate with the target vibration attribute. The following will be combined with Figure 3 and Figure 5 The above method for generating the target trigger signal is described in detail and will not be repeated here.
[0064] In the above scheme, the present disclosure can not only avoid the problem of excessive ink output at the start and recovery moments of printing by reducing the vibration amplitude of the nozzle in the starting area and / or the number of vibrations under a single trigger signal, but also avoid the problem of too little ink in the transition area by increasing the vibration amplitude of the nozzle in the transition area and / or the number of vibrations under a single trigger signal, thereby effectively improving the uniformity of the printed pattern.
[0065] In some embodiments, the method 200 further includes a method for avoiding multi-needle resonance. Figure 3 and Figure 8 Describe the method used to avoid multi-needle resonance. Figure 3 As shown, the print dot pattern in the tail area of the needle group indicated by mark 308 becomes hollow. Research has found that the resonance of multiple needles causes the amplitude to increase, which in turn causes the print dot pattern to become hollow.
[0066] In order to avoid the problem of virtual printing dot type caused by resonance of multiple nozzles: the control device 110 adjusts the phase of the target trigger signal of the piezoelectric ceramic unit of the first serial number set among the multiple piezoelectric ceramic units determined so that it is different from the phase of the target trigger signal of the piezoelectric ceramic unit of the second serial number set among the multiple piezoelectric ceramic units, so as to avoid resonance between the nozzles corresponding to the piezoelectric ceramic units of the first serial number set and the nozzles corresponding to the piezoelectric ceramic units of the second serial number set. The piezoelectric ceramic units of the first serial number set and the piezoelectric ceramic units of the second serial number set are arranged at intervals. In some embodiments, the piezoelectric ceramic units of the first serial number set are, for example, piezoelectric ceramic units corresponding to odd-numbered nozzles. The piezoelectric ceramic units of the second serial number set are, for example, piezoelectric ceramic units corresponding to even-numbered nozzles.
[0067] like Figure 8 As shown, mark 806 indicates the target trigger signal of the vibration device (e.g., electroceramic unit) of the first sequence number set. Mark 808 indicates the target trigger signal of the pressure vibration device (e.g., electroceramic unit) of the second sequence number set. The phase of the target trigger signal indicated by mark 808 lags half a cycle relative to the phase of the target trigger signal indicated by mark 806. The following formula (1) schematically shows an algorithm for calculating the phase lag of the target trigger signal of the piezoelectric ceramic unit:
[0068] Delay n =K*P*n (1)
[0069] In the above formula (1), Delay nRepresents the delayed phase of the target trigger signal with serial number n. K is the delay coefficient. P represents the phase corresponding to the full cycle. n represents the serial number of the vibration device (e.g., piezoelectric ceramic unit) of the first serial number set. In some embodiments, the delay coefficient is 1 / 2. In other embodiments, the delay coefficient is 1 / 3. In some embodiments, n is, for example, 1, 3, 5, 7, 9...2K+1 (K is an integer). It should be understood that n can also be a serial number set with intervals of 2 or more.
[0070] By making the phases of the trigger signals corresponding to different sets of nozzles (for example, nozzles set apart) different, resonance of multiple nozzles can be avoided, which causes the amplitude to increase, and thus avoids the phenomenon of virtualization of the printed dot pattern caused by nozzle resonance.
[0071] Figure 5 FIG. 5 is a flow chart showing a method 500 for generating a target trigger signal according to an embodiment of the present invention. It should be understood that the method 500 may be implemented in, for example, Figure 10 The method 500 is executed at the described electronic device 1000. It should be understood that the method 500 may further include additional actions not shown and / or may omit actions shown, and the scope of the present invention is not limited in this respect.
[0072] After research, it was found that after the spraying area, the steady-state printing area (the steady-state printing area is for example Figure 3 Before the area indicated by the mark 306 in FIG, there is also a transition area with insufficient inkjet, such as Figure 3 The area indicated by the mark 304 in FIG. 1 (eg, the area corresponding to points 4 to 9). The print image in the steady-state print area indicated by the mark 306 has good uniformity.
[0073] The present disclosure further avoids the problem of uneven printing caused by insufficient inkjet in the transition area through steps 502 to 506 .
[0074] At step 502 , the control device 110 determines whether the time interval between the current time and the printing start or resume time is greater than a first predetermined time interval.
[0075] At step 504 , if the control device 110 determines whether the time interval between the current time and the printing start or resume moment is greater than the first predetermined time interval, it determines whether the time interval between the current time and the printing start or resume moment is less than or equal to the second predetermined time interval.
[0076] Regarding the second predetermined time interval, it is, for example, the time interval between the end moment of the transition zone and the start moment of spraying. Figure 3As shown, the second predetermined time interval corresponds to, for example, the number of trigger cycles of the trigger signal before the end moment of the transition region. In some embodiments, the second predetermined time interval corresponds to the time of 9 trigger cycles of the trigger signal.
[0077] At step 506, if the control device 110 determines that the time interval between the current time and the start or resumption time of printing is less than or equal to the second predetermined time interval, a second adjustment is performed on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each nozzle, the dotting frequency and the voltage of the trigger signal to generate a target trigger signal for triggering the corresponding vibration device of each nozzle to vibrate with a second vibration attribute, and the amplitude of the vibration with the second vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle is greater than the amplitude of the vibration with the target vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle.
[0078] As for the second adjustment, it is used, for example, to increase the total number of taps per trigger cycle.
[0079] For example, if the control device 110 determines that the time interval between the current time and the printing start or resume time is greater than a first predetermined time interval and less than or equal to a second predetermined time interval, i.e., the printing is in the transition region, the control device 110 increases the number of dots generated by the trigger signal in a single trigger cycle determined based on the target grayscale value, increases the dotting frequency, or increases the voltage of the trigger signal. Alternatively, adjustments may be made to multiple of the number of dots, the dotting frequency, and the voltage of the trigger signal to increase the total number of dots generated in a single trigger cycle in the transition region.
[0080] At step 508, if the control device 110 determines that the time interval between the current time and the printing start or resume time is greater than the second predetermined time interval, a target trigger signal is generated to drive the corresponding vibration device of each inkjet needle to vibrate with the target vibration properties based on at least one of the number of dots, the dotting frequency, and the voltage of the trigger signal generated by the trigger signal of the corresponding vibration device of each inkjet needle in a single trigger cycle. For example, if the control device 110 determines that the time interval between the current time and the printing start or resume time is greater than the second predetermined time interval, i.e., in the steady-state printing region, such as indicated by mark 306, a target trigger signal is generated for each vibration device based on at least one of the number of dots, the dotting frequency, and the voltage of the trigger signal determined by the target grayscale value.
[0081] By adopting the above-mentioned means, the present disclosure can further avoid the problem of too little ink in the transition area, thereby further improving the uniformity of the printed pattern.
[0082] It should be understood that in order to improve the uniformity of the printing pattern, it can also be achieved by adjusting the liquid level of the printing liquid in the ink cartridge included in the printing device. Figure 6 FIG. 6 is a flow chart showing a method 600 for improving the uniformity of a printed pattern according to some other embodiments of the present invention. It should be understood that the method 600 can be used, for example, in Figure 10 The method 600 is executed at the described electronic device 1000. It should be understood that the method 600 may further include additional actions not shown and / or may omit actions shown, and the scope of the present invention is not limited in this respect.
[0083] At step 602 , the control device 110 determines whether the time interval between the current time and the printing start or resume time is less than or equal to a first predetermined time interval.
[0084] At step 604, if the control device 110 determines that the time interval between the current time and the start or resumption time of printing is less than or equal to the first predetermined time interval, the liquid level of the printing liquid in the ink cartridge included in the printing device is adjusted to a first height, which is less than the target set height.
[0085] At step 606 , if the control device 110 determines that the time interval between the current time and the printing start or resume time is greater than the first predetermined time interval, it determines whether the time interval between the current time and the printing start or resume time is less than or equal to the second predetermined time interval.
[0086] At step 608, if the control device 110 determines that the time interval between the current time and the start or resumption time of printing is less than or equal to the second predetermined time interval, the liquid level of the printing liquid in the ink cartridge included in the printing device is adjusted to a second height, and the second height is greater than the target set height.
[0087] At step 610 , if the control device 11 determines that the time interval between the current time and the printing start or resume time is greater than the second predetermined time interval, the liquid level of the printing liquid in the ink cartridge included in the printing device is adjusted to the target set height.
[0088] By adopting the above means, the present disclosure can not only avoid the problem of excessive ink output at the start and recovery of printing, but also avoid the problem of insufficient ink in the transition area, thereby significantly improving the uniformity of the printed pattern.
[0089] Figure 7 FIG. 7 is a flow chart of a method 700 for adjusting a needle according to an embodiment of the present invention. It should be understood that the method 700 may be implemented in, for example, Figure 10The method 700 is executed at the described electronic device 1000. It should be understood that the method 700 may further include additional actions not shown and / or may omit actions shown, and the scope of the present invention is not limited in this respect.
[0090] At step 702 , the control device 110 triggers multiple vibration devices with the same trigger signal to obtain scan images of the printing patterns of multiple needles.
[0091] At step 704 , the control device 110 determines the coordinate information of the starting position of each inkjet needle based on the grayscale value of the printing position of the inkjet needle in the scanned image.
[0092] At step 706 , the control device 110 determines one or more spray needles whose spray start positions meet a predetermined deviation condition based on the coordinate information of the spray start position.
[0093] Regarding the method for determining one or more spray needles whose spray start position meets the predetermined deviation condition, it includes, for example: the control device 110 calculates the horizontal coordinate mean of the spray start position based on the coordinate information of the spray start position; calculates the difference between the horizontal coordinate information of the current spray needle's spray start position and the horizontal coordinate mean, so as to confirm whether the difference is greater than or equal to the predetermined difference threshold; if the control device 110 determines that the difference is greater than or equal to the predetermined difference threshold, determines that the current spray needle is the spray needle whose spray start position meets the predetermined deviation condition, and so on, until all the spray needles whose spray start positions meet the predetermined deviation condition are determined among the multiple configured spray needles.
[0094] At step 708 , the control device 110 adjusts the phase of the trigger signal of the vibration device corresponding to one or more spray needles whose spray start positions meet the predetermined deviation condition, so as to reduce the deviation of the spray start positions of the one or more spray needles.
[0095] Regarding the method for adjusting the phase of the trigger signal of the piezoelectric ceramic unit corresponding to the nozzle needle whose starting position meets the predetermined deviation condition, the method includes, for example: if the control device 110 determines that the horizontal coordinate information of the current nozzle needle's starting position is ahead of the horizontal coordinate mean value, then the phase of the trigger signal of the piezoelectric ceramic unit corresponding to the current nozzle needle is delayed; if the control device 110 determines that the horizontal coordinate information of the current nozzle needle's starting position lags behind the horizontal coordinate mean value, then the phase of the trigger signal of the piezoelectric ceramic unit corresponding to the current nozzle needle is advanced. By adopting the above-mentioned means, the present disclosure can avoid uneven starting positions of various nozzle needles.
[0096] At step 710 , the control device 110 determines the distance between the spray start positions of adjacent spray needles based on the coordinate information of the spray start position of each spray needle.
[0097] At step 712 , the control device 110 calculates a distance mean based on the determined distances.
[0098] At step 714 , the control device 110 generates warning information indicating a problem with the installation position or angle of the nozzle needle based on the determined spacing and spacing mean.
[0099] Regarding the method for generating warning information, it includes, for example: the control device 110 confirms whether the determined spacing is greater than or equal to a predetermined spacing threshold; if the control device 110 determines that the determined spacing is greater than or equal to the predetermined spacing threshold, determines that there is a deviation in the spacing between the starting positions of the current adjacent spray needles; determines whether there is a deviation in the spacing between the first spray needle in the current adjacent spray needles and the spray needle before it, and whether there is a deviation in the spacing between the second spray needle in the current adjacent spray needles and the spray needle after it, so as to generate a warning message indicating that there is a problem with the installation position or angle of at least one of the current adjacent spray needles.
[0100] By adopting the above means, the present disclosure can solve the problems of misaligned starting positions and uneven spacing of the printed pattern caused by problems with the installation of the spray needle in a convenient manner, thereby further improving the uniformity of the printed pattern.
[0101] Figure 9A schematic diagram of a printing device 900 according to an embodiment of the present invention is shown. The printing device 900 includes: a multi-needle nozzle 902 composed of a single-needle nozzle array, a fixing assembly for fixing the single-needle nozzle array, a board 906, a board fixing plate 908, an ink cartridge 904, a nozzle fixing block 910, and a control device (not shown). The fixing assembly further includes a fixing rod 912 and a plurality of locking devices 914. The multi-needle nozzle includes one or more groups of single-needle nozzle arrays. Each single-needle nozzle includes: a metal plate 916, a nozzle 918, and a vibration device corresponding to the nozzle (such as a piezoelectric ceramic unit). The vibration device is arranged on the first side of the metal plate, and is used to drive the metal plate to vibrate under the control of a trigger signal with a trigger frequency, so that the liquid to be printed is sprayed out from the nozzle. The piezoelectric ceramic unit includes: a second through hole for mounting the piezoelectric ceramic unit and a surface coating material arranged on the piezoelectric ceramic unit. One of the positive and negative poles of the trigger signal output by the control device (for example, the negative pole) is applied to the second side of the metal plate, and the other of the positive and negative poles of the trigger signal (for example, the positive pole) is applied to the coating material of the vibration device (for example, the piezoelectric ceramic unit) via the flexible electrode. Since the diameters of the second through hole and the through hole of the flexible electrode are both larger than the diameter of the first through hole, the piezoelectric ceramic unit and the flexible electrode are radially spaced from the locking device (and the side of the flexible electrode in contact with the locking device is set to be non-conductive), so the locking device and the piezoelectric ceramic unit and the flexible electrode are insulated from each other. Thus, each trigger signal can be independently applied to the piezoelectric ceramic unit corresponding to each nozzle, so as to independently control the vibration of the piezoelectric ceramic unit, and then independently drive each nozzle, so that the total number of dots of each nozzle in each trigger cycle is controlled by the corresponding trigger signal. It should be understood that the structure of the above-mentioned printing device 900 is only exemplary. Each trigger signal is independently applied to the piezoelectric ceramic unit corresponding to each nozzle, so as to independently control the vibration of the piezoelectric ceramic unit. An alternative method can be used, and is not limited to Figure 9 The method shown.
[0102] Figure 10 The block diagram of the electronic device 1000 suitable for implementing the embodiment of the present invention is schematically shown. The electronic device 1000 may be a device for implementing Figure 2 、 Figures 4 to 71003. As shown in the figure, electronic device 1000 includes a central processing unit (i.e., CPU 1001), which can perform various appropriate actions and processes according to the computer program instructions stored in a read-only memory (i.e., ROM 1002) or loaded from a storage unit 1008 into a random access memory (i.e., RAM 1003). In RAM 1003, various programs and data required for the operation of electronic device 1000 can also be stored. CPU 1001, ROM 1002, and RAM 1003 are connected to each other via bus 1004. Input / output interface (i.e., I / O interface 1005) is also connected to bus 1004.
[0103] Multiple components in electronic device 1000 are connected to I / O interface 1005, including an input unit 1006, an output unit 1007, and a storage unit 1008. CPU 1001 executes the various methods and processes described above, such as methods 200, 400, through 700. For example, in some embodiments, methods 200, 400, through 700 may be implemented as a computer software program stored on a machine-readable medium, such as storage unit 1008. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 1000 via ROM 1002 and / or communication unit 1009. When the computer program is loaded into RAM 1003 and executed by CPU 1001, one or more operations of methods 400, 500 described above may be performed. Alternatively, in other embodiments, CPU 1001 may be configured to perform one or more actions of methods 200, 400, through 700 in any other appropriate manner (e.g., via firmware).
[0104] It should be further noted that the present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.
[0105] Computer-readable storage medium can be a tangible device that can keep and store the instructions used by the instruction execution device.Computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device or any suitable combination thereof.More specific examples (non-exhaustive list) of computer-readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove having instructions stored thereon, and any suitable combination thereof.Computer-readable storage medium used herein is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagated by waveguides or other transmission media (for example, light pulses by fiber optic cables), or electrical signals transmitted by wires.
[0106] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.
[0107] The computer program instructions for performing the operation of the present invention can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, and conventional procedural programming languages such as "C" language or similar programming languages. The computer readable program instructions can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be personalized by utilizing the state information of the computer readable program instructions, and the electronic circuit can execute the computer readable program instructions, thereby realizing various aspects of the present invention.
[0108] Various aspects of the present invention are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, and the combination of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.
[0109] These computer-readable program instructions can be provided to a processor in a voice interaction device, a general-purpose computer, a special-purpose computer, or a processing unit of another programmable data processing device, thereby producing a machine such that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0110] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.
[0111] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of this module, program segment or instruction contains one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a special hardware-based system that performs the function or action of the specification, or can be implemented with a combination of special hardware and computer instructions.
[0112] While various embodiments of the present invention have been described above, the above descriptions are intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand the embodiments disclosed herein.
[0113] The above are merely optional embodiments of the present invention and are not intended to limit the present invention. Those skilled in the art will readily appreciate that the present invention is susceptible to various modifications and variations. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.
Claims
1. A method for controlling a printing device, characterized in that: The printing device includes: a plurality of nozzles and a plurality of vibration devices corresponding to the plurality of nozzles, each nozzle is used to output printing liquid under the drive of the corresponding vibration device, and the vibration device is used to vibrate according to a trigger signal from a control device to drive the nozzle; the method includes: At the control device, based on the received printing instruction, determining whether the current printing task is grayscale printing; If it is determined that the current printing task is grayscale printing, determining at least one of a target number of dots, a target dotting frequency, and a voltage of a trigger signal generated by a trigger signal of a single trigger cycle of a vibration device corresponding to each inkjet needle based on a target grayscale value associated with the trigger cycle at a printing position corresponding to each inkjet needle; generating a target trigger signal for triggering the vibration device corresponding to each nozzle needle based on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each nozzle needle, the dotting frequency, and the voltage of the trigger signal; and Outputting the generated target trigger signal to the corresponding vibration device to control multiple inkjet needles to achieve grayscale printing; The method further comprises: Determine whether the time interval between the current time and the moment when printing starts or resumes is less than or equal to a first predetermined time interval; in response to determining that the time interval between the current time and the moment when printing starts or resumes is less than or equal to the first predetermined time interval, adjust the liquid level of the printing liquid in the ink cartridge included in the printing device to a first height, wherein the first height is less than a target set height.
2. The method according to claim 1, characterized in that Controlling multiple nozzles to achieve grayscale printing includes: Outputting the generated target trigger signal to a corresponding vibration device to control at least some of the plurality of needles to achieve at least one of the following: The target grayscale values of the printing positions corresponding to at least some of the plurality of nozzles vary with the triggering period; and The target grayscale values of the printing positions corresponding to at least some of the multiple nozzles vary with the printing positions.
3. The method according to claim 1, characterized in that Generating a target trigger signal for triggering the corresponding vibration device of each needle includes: Determining whether a time interval between a current time and a printing start or resume time is less than or equal to a first predetermined time interval; in response to determining that the time interval between the current time and the printing start or resume time is less than or equal to the first predetermined time interval, performing a first adjustment on at least one of a number of dots generated by a trigger signal of a single trigger cycle of a vibration device corresponding to each inkjet needle, a dotting frequency, and a voltage of the trigger signal to generate a target trigger signal for triggering the vibration device corresponding to each inkjet needle to vibrate with a first vibration attribute; In response to determining that the time interval between the current time and the start or resumption moment of printing is greater than the first predetermined time interval, based on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the corresponding vibration device of each nozzle, a target trigger signal is generated to drive the corresponding vibration device of each nozzle to vibrate with a target vibration attribute, and the amplitude of the vibration with the first vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle is less than the amplitude of the vibration with the target vibration attribute and / or the number of vibrations under the trigger signal of a single trigger cycle.
4. The method according to claim 3, characterized in that Generating a target trigger signal based on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each nozzle needle, the dotting frequency, and the voltage of the trigger signal comprises: In response to determining that the time interval between the current time and the printing start or resume time is greater than the first predetermined time interval, determining whether the time interval between the current time and the printing start or resume time is less than or equal to a second predetermined time interval; In response to determining that the time interval between the current time and the printing start or resume time is less than or equal to the second predetermined time interval, performing a second adjustment on at least one of the number of dots generated by the trigger signal of a single trigger cycle of the vibration device corresponding to each inkjet needle, the dotting frequency, and the voltage of the trigger signal, so as to generate a target trigger signal for triggering the vibration device corresponding to each inkjet needle to vibrate with a second vibration attribute, wherein the amplitude of the vibration with the second vibration attribute and / or the number of vibrations under the trigger signal in a single trigger cycle are greater than the amplitude of the vibration with the target vibration attribute and / or the number of vibrations under the trigger signal in a single trigger cycle; and In response to determining that the time interval between the current time and the start or resumption moment of printing is greater than a second predetermined time interval, a target trigger signal is generated to drive the corresponding vibration device of each nozzle to vibrate with a target vibration attribute based on at least one of the number of dots, the dotting frequency and the voltage of the trigger signal of a single trigger cycle of the determined corresponding vibration device of each nozzle.
5. The method according to claim 1, wherein Each vibration device includes a piezoelectric ceramic unit, and the method further includes: Adjust the phase of the target trigger signal of the piezoelectric ceramic unit of the first serial number set among the multiple piezoelectric ceramic units so that it is different from the phase of the target trigger signal of the piezoelectric ceramic unit of the second serial number set among the multiple piezoelectric ceramic units, so as to avoid resonance between the nozzles corresponding to the piezoelectric ceramic units of the first serial number set and the nozzles corresponding to the piezoelectric ceramic units of the second serial number set.
6. The method according to claim 5, characterized in that The piezoelectric ceramic units of the first serial number set and the piezoelectric ceramic units of the second serial number set are spaced apart.
7. The method according to claim 1, further comprising: In response to determining that the time interval between the current time and the printing start or resume time is greater than the first predetermined time interval, determining whether the time interval between the current time and the printing start or resume time is less than or equal to a second predetermined time interval; In response to determining that the time interval between the current time and the printing start or resume time is less than or equal to a second predetermined time interval, adjusting the level of the printing liquid in the ink cartridge included in the printing device to a second height, the second height being greater than the target set height; and In response to determining that the time interval between the current time and the printing start or resume time is greater than the second predetermined time interval, the liquid level of the printing liquid in the ink cartridge included in the printing device is adjusted to a target set height.
8. The method according to claim 1, characterized in that Also includes: triggering the plurality of vibration devices with the same trigger signal to obtain scanned images of the printing patterns of the plurality of needles; Determining the coordinate information of the starting position of each nozzle based on the grayscale value of the nozzle printing position in the scanned image; Determining one or more spray needles whose spray start positions meet a predetermined deviation condition based on the coordinate information of the spray start position; as well as The phase of the trigger signal of the vibration device corresponding to one or more spray needles whose spray start positions meet the predetermined deviation condition is adjusted to reduce the deviation of the spray start position of the one or more spray needles.
9. The method according to claim 8, characterized in that Also includes: Determine the spacing between the spray start positions of adjacent spray needles based on the coordinate information of the spray start position of each spray needle; Based on the determined intervals, a mean interval value is calculated; as well as Based on the determined spacing and spacing mean, warning information is generated to indicate that there is a problem with the installation position or angle of the injection needle.
10. An electronic device comprising: at least one processing unit; At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform the steps of the method according to any one of claims 1 to 9.
11. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 9 when executed by a machine.
Citation Information
Patent Citations
Methods, apparatus and media for controlling printing devices
CN114953745B