Ink jet control method and device for eliminating mechanical accumulative error, equipment and medium
By monitoring and resetting the encoder count in real time, the accumulated error on the conveyor belt is eliminated, ensuring accurate positioning of the printhead on the substrate. This solves the problem of inaccurate inkjet printing and improves print quality and equipment efficiency.
Patent Information
- Application Number
- CN202410859344.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2025-12-30
AI Technical Summary
In high-precision inkjet printing, the cumulative mechanical errors of the conveyor belt can lead to inaccurate inkjet printing from the printhead onto the substrate, affecting print quality.
By monitoring the encoder count in real time, it is determined whether the accumulated error affects the inkjet accuracy of the printhead. The encoder count is then reset to zero and the counting restarts to eliminate the accumulated error and ensure the printhead is accurately positioned on the substrate.
It improves the accuracy and stability of inkjet printing, reduces the scrap rate, extends the service life of equipment, and enhances the level of automation and product quality.
Smart Images

Figure CN121224293A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of inkjet printing technology, and in particular to an inkjet control method, apparatus, equipment and medium for eliminating accumulated mechanical errors. Background Technology
[0002] In modern inkjet printing technology, especially in high-precision industrial inkjet printers and office automation equipment, accurate substrate positioning is crucial. However, in existing technologies using conveyor belts as the basic component for substrate movement, during long-term continuous operation, factors such as sudden rotation and stopping of the conveyor belt, as well as manufacturing tolerances, wear, and aging of mechanical parts, can cause errors in the conveyor belt's rotation. When an encoder tracks and reports the conveyor belt's movement distance, this error is recorded by the encoder. Furthermore, due to the different rotations of the conveyor belt, this error is also recorded and accumulated, leading to a continuous increase in the encoder's cumulative error. This cumulative error is directly reflected in the movement distance data recorded by the encoder connected to the conveyor belt.
[0003] If this accumulated error is not effectively corrected, it will directly affect the accuracy of the inkjet printhead in judging the position of the substrate, which will cause the ink droplets to fall accurately at the designated position on the substrate during the inkjet printing process, ultimately leading to a decline in print quality and problems such as pattern offset and blurring. Summary of the Invention
[0004] In view of this, embodiments of the present invention provide an inkjet control method, apparatus, device and medium for eliminating accumulated mechanical errors, in order to solve the problem of inaccurate inkjet printing of the printhead onto the substrate caused by the accumulation of mechanical errors of the conveyor belt in the prior art.
[0005] In a first aspect, embodiments of the present invention provide an inkjet control method for eliminating accumulated mechanical errors, the method comprising:
[0006] Obtain the count value of the encoder installed on the conveyor belt, and record the count value of the encoder as the first count value;
[0007] Determine whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate;
[0008] If so, clear the first count value to zero, and start counting again according to the encoder to obtain the first count value;
[0009] The printhead is controlled to perform inkjet printing on the substrate on the conveyor belt based on the first count value.
[0010] Preferably, determining whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate includes:
[0011] Obtain the actual distance traveled by the conveyor belt;
[0012] Obtain the theoretical travel distance of the conveyor belt corresponding to the first count value;
[0013] By comparing the actual distance and the moving distance, the cumulative error is obtained, and it is determined whether the cumulative error affects the inkjet accuracy of the printhead in ejecting ink dots onto the substrate.
[0014] Preferably, obtaining the actual travel distance of the conveyor belt includes:
[0015] Color marks are set on the conveyor belt, and during the conveyor belt transmission process, the corresponding first position information is obtained based on the detection of the first mark.
[0016] The actual travel distance of the conveyor belt is obtained based on the first location information.
[0017] Preferably, the step of comparing the actual distance and the moving distance to obtain the cumulative error, and determining whether the cumulative error affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate, includes:
[0018] Obtain the preset threshold corresponding to the cumulative error that meets the inkjet accuracy requirements;
[0019] Determine whether the cumulative error corresponding to the first count value is within the preset threshold. If not, determine that the cumulative error can affect the inkjet accuracy of the printhead ejecting ink dots onto the substrate.
[0020] Preferably, determining whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate includes:
[0021] Obtain the second count value of the encoder that affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate;
[0022] Determine whether the first count value is greater than or equal to the second count value. If so, determine that the cumulative error contained in the first count value can affect the inkjet accuracy of the printhead ejecting ink dots onto the substrate.
[0023] Preferably, controlling the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value includes:
[0024] Obtain the second position information of the printed object on the conveyor belt;
[0025] The printhead is controlled to perform inkjet printing on the substrate corresponding to the second position information based on the second position information and the first count value.
[0026] Preferably, when the first count value represents the first distance, then:
[0027] The step of obtaining the count value of the encoder installed on the conveyor belt, and the count value of the encoder is recorded as the first count value, includes: setting a number of markers spaced apart by the first distance, and obtaining the first count value representing the first distance of the conveyor belt rotation based on the encoder installed on the conveyor belt;
[0028] The step of determining whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead spraying ink dots onto the substrate includes: obtaining the pixel density corresponding to the image based on the marking image captured by the camera device, obtaining the gear ratio parameter corresponding to the encoder, and obtaining the first number of pixels corresponding to the first count value based on the pixel density and the gear ratio parameter.
[0029] The step of clearing the first count value to zero and restarting the counting according to the encoder to obtain the first count value includes: obtaining the number of pulses of the encoder, restarting the counting, and obtaining the first count value corresponding to the next first distance;
[0030] The step of controlling the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value includes: obtaining the second pixel number between two adjacent marks according to the mark image, calculating the difference between the first pixel number and the second pixel number, adjusting the pixels of the image to be printed according to the difference, and controlling the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value.
[0031] In a second aspect, embodiments of the present invention provide an inkjet control device for eliminating accumulated mechanical errors, the device comprising:
[0032] A counting module is used to acquire the counting value of an encoder installed on the conveyor belt, and the counting value of the encoder is recorded as the first counting value;
[0033] The judgment module is used to determine whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate.
[0034] The control module is configured to, if so, clear the first count value to zero and start counting again according to the encoder to obtain the first count value;
[0035] The inkjet control module is used to control the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value.
[0036] Thirdly, embodiments of the present invention provide an inkjet control device, including: at least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method of the first aspect described above.
[0037] Fourthly, embodiments of the present invention provide a storage medium storing computer program instructions, which, when executed by a processor, implement the method of the first aspect described above.
[0038] In summary, the beneficial effects of the present invention are as follows:
[0039] The inkjet control method, apparatus, equipment, and medium for eliminating accumulated mechanical errors provided in this invention monitors and analyzes the encoder's first count value in real time. By determining whether the accumulated error generated by the printing equipment affects the inkjet accuracy of the printhead on the substrate on the conveyor belt, the invention proactively and promptly eliminates the accumulated error and corrects the acquired first count value in a timely manner. This ensures that the printhead's inkjet positioning on the substrate is always accurate based on the first count value, thereby improving inkjet printing quality. The technical solution provided in this embodiment effectively prevents printing quality problems caused by accumulated errors. Through dynamic adjustment and recounting, it improves the overall accuracy and stability of inkjet printing, reduces the scrap rate, and optimizes equipment efficiency. Furthermore, the method provided in this embodiment is highly practical, not only extending the equipment's service life but also improving the automation level and product quality of the entire inkjet printing system. Attached Figure Description
[0040] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.
[0041] Figure 1 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0042] Figure 2 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0043] Figure 3 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0044] Figure 4 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0045] Figure 5 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0046] Figure 6This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0047] Figure 7 This is a schematic diagram of the installation structure of the nozzle and detection device in Embodiment 1 of the present invention.
[0048] Figure 8 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0049] Figure 9 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0050] Figure 10 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0051] Figure 11 This is a schematic flowchart of the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0052] Figure 12 This is a schematic diagram of the nozzle distribution in the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0053] Figure 13 This is a schematic diagram of the nozzle distribution in the inkjet control method for eliminating mechanical cumulative errors according to Embodiment 1 of the present invention.
[0054] Figure 14 This is a flowchart illustrating the inkjet control method for eliminating accumulated mechanical errors according to Embodiment 2 of the present invention.
[0055] Figure 15 This is a schematic diagram of the structure of the inkjet control device for eliminating mechanical cumulative errors according to Embodiment 3 of the present invention.
[0056] Figure 16 This is a schematic diagram of the inkjet control device according to Embodiment 4 of the present invention. Detailed Implementation
[0057] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.
[0058] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0059] In inkjet printing, a conveyor belt transports the substrate to the designated position below the printhead for ink jetting, and then the printhead is controlled to perform inkjet printing. Typically, the conveyor belt's rotation speed and travel distance are acquired and recorded by an encoder. However, errors caused by inherent mechanical problems in the equipment are recorded by the encoder, leading to inaccuracies in the encoder's count. This inaccuracy affects the printhead's positioning and printing accuracy of the ink jetting area on the substrate.
[0060] Example 1
[0061] Please see Figure 1 This invention provides an inkjet control method for eliminating accumulated mechanical errors, the method comprising:
[0062] S1: Obtain the count value of the encoder installed on the conveyor belt, and record the count value of the encoder as the first count value;
[0063] Specifically, an encoder is installed on the conveyor of the inkjet printing system to monitor and record the travel distance and speed of the conveyor belt in real time. Each time the conveyor belt rotates or moves, the encoder generates a corresponding pulse signal. The pulse signal is recorded to generate a corresponding count value, which is recorded as the first count value.
[0064] In inkjet printing, the first count value is used to accurately locate the specific position of the substrate on the conveyor belt below the printhead, thereby ensuring the accuracy and consistency of inkjet printing of the substrate printing area by the printhead.
[0065] S2: Determine whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead spraying ink dots onto the substrate;
[0066] Specifically, the accuracy of ink jetting from the printhead onto the printing area of the substrate transported on the conveyor belt is affected by the printhead drive control, the precision of the conveyor belt movement, and the accuracy of the encoder recording position information. The inkjet accuracy refers to the degree of overlap between the actual area of ink jetting from the printhead onto the substrate and the preset printing area, as well as the degree of match between the actual landing point of the ink droplets and the preset landing point.
[0067] When the encoder counts the moving distance and speed of the conveyor belt, due to manufacturing tolerances, wear, loosening, aging, improper installation, or other non-ideal factors of mechanical parts, there is an error between the theoretical value (theoretical moving distance, theoretical moving speed) corresponding to the first count value of the encoder and the actual value (actual moving distance, actual moving speed) of the conveyor belt. This error accumulates as the conveyor belt continues to rotate, causing the cumulative error between the theoretical value and the actual value of the conveyor belt to increase as the first count value increases.
[0068] When the encoder rotation angle is too large or the sensing cycle is faster than the actual mechanical movement (gear ratio error or slippage), the theoretical value of the conveyor belt corresponding to the encoder's first count value is larger than the actual value of the conveyor belt.
[0069] When the encoder rotation angle is too small or the sensing speed is slower than the actual mechanical movement (there is slippage or obstruction between the encoder shaft and the conveyor belt shaft), the encoder's first count value corresponds to the theoretical value of the conveyor belt, which is smaller than the actual value of the conveyor belt.
[0070] The first count value is monitored and recorded, and the first count value is analyzed and processed to determine the inkjet accuracy of the ink jetting on the printing area of the substrate on the conveyor belt when the printhead is controlled to perform inkjet printing based on the first count value. That is, whether the cumulative error between the first count value and the actual value of the conveyor belt movement will affect the inkjet accuracy of the printhead spraying ink dots on the substrate, and affect the printing quality and printing effect of the substrate.
[0071] S3: If so, clear the first count value to zero, and start counting again according to the encoder to obtain the first count value;
[0072] Specifically, when the printhead is controlled to perform inkjet printing according to the first count value, the cumulative error corresponding to the first count value will affect the inkjet printing accuracy of the printhead on the substrate. The first count value is cleared, that is, the first count value is returned to zero, and the first count value is obtained again by counting according to the pulse signal corresponding to the encoder installed on the conveyor belt.
[0073] S4: Control the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value.
[0074] Specifically, the printhead is controlled to perform inkjet printing on the substrate by the first count value of the new count. At the same time, the first count value is counted and monitored in real time, and it is determined whether the inkjet accuracy meets the printing requirements when the printhead is controlled to spray ink on the substrate on the conveyor belt according to the first count value. The printhead is then controlled to continue inkjet printing, that is, the above steps S1-S4 are repeated to continuously control the printhead to perform inkjet printing.
[0075] The inkjet control method for eliminating accumulated mechanical errors provided in this embodiment monitors and analyzes the encoder's first count value in real time. By determining whether the accumulated error generated by the printing equipment affects the inkjet accuracy of the printhead on the substrate on the conveyor belt, the method actively and promptly eliminates the accumulated error and corrects the acquired first count value in a timely manner. This ensures that the printhead's inkjet positioning on the substrate is always accurate based on the first count value, thereby improving inkjet printing quality. The technical solution provided in this embodiment effectively prevents printing quality problems caused by accumulated errors. Through dynamic adjustment and recounting, it improves the overall accuracy and stability of inkjet printing, reduces the scrap rate, and optimizes equipment efficiency. Furthermore, the method provided in this embodiment is highly practical, not only extending the equipment's lifespan but also improving the automation level and product quality of the entire inkjet printing system.
[0076] In one embodiment, such as Figure 2 As shown, S2: Determining whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate, including:
[0077] S201: Obtain the actual distance traveled by the conveyor belt;
[0078] S202: Obtain the theoretical travel distance of the conveyor belt corresponding to the first count value;
[0079] S203: Compare the actual distance and the moving distance to obtain the cumulative error, and determine whether the cumulative error affects the inkjet accuracy of the printhead spraying ink dots onto the substrate.
[0080] Specifically, the actual moving distance of the conveyor belt is obtained, and the first count value recorded by the encoder is obtained. The corresponding theoretical moving distance is obtained based on the first count value. The actual moving distance of the conveyor belt is compared and analyzed with the theoretical moving distance converted from the first count value to calculate the cumulative error. Based on the magnitude of the cumulative error, it is determined whether the cumulative error is sufficient to affect the inkjet accuracy of the printhead on the substrate.
[0081] Specifically, the actual travel distance of the conveyor belt can be obtained by setting color marks on the conveyor belt and detecting the position of the color marks.
[0082] By acquiring and comparing the actual movement distance of the conveyor belt with the theoretical movement distance recorded by the encoder in real time, the existence of cumulative error and its impact on inkjet accuracy are effectively calculated. By determining whether the cumulative error affects the inkjet accuracy of the printing equipment, the printhead is controlled to continuously eject ink and actively eliminate the cumulative error generated by the printing equipment. This ensures that the printhead can accurately obtain the conveyor belt position and perform inkjet printing on the substrate, thereby greatly improving the accuracy and stability of inkjet printing, reducing the scrap rate, optimizing print quality, and enhancing the reliability and durability of the entire inkjet printing system.
[0083] In one embodiment, such as Figure 3 As shown, step S201: obtaining the actual moving distance of the conveyor belt includes:
[0084] S2011: A first mark is set on the conveyor belt, and during the conveyor belt transmission process, the corresponding first position information is obtained based on the detection of the first mark;
[0085] Specifically, the first mark is set on the conveyor belt, and the first mark is used as a reference point to detect the actual travel distance of the conveyor belt. When the first mark passes a specific detection device, the device can accurately identify the color mark and obtain the corresponding first position information.
[0086] S2012: Obtain the actual moving distance of the conveyor belt based on the first position information.
[0087] Specifically, after receiving the first position information, the actual distance the conveyor belt has traveled from the last detection of the first mark to the current detection of the corresponding color mark is calculated based on the pre-set first mark position.
[0088] The setting of the color mark includes setting a first mark. During detection, the actual moving distance of the conveyor belt can be obtained by acquiring the pre-set position of the first mark and the detected first position.
[0089] The setting of the first marker also includes setting two or more first markers. By continuously detecting and calculating the first position information when the first marker passes by at different times according to the preset spacing between each first marker and the corresponding position relationship, the actual moving distance of the conveyor belt can be obtained and updated in real time.
[0090] By setting color marks on the conveyor belt and acquiring the corresponding first position information when the first mark is detected, the actual travel distance of the conveyor belt can be accurately measured. This compensates for the cumulative errors that may exist in the encoder, significantly improves the accuracy and quality of inkjet printing, reduces the defect rate caused by positioning errors on the substrate, and improves the overall performance and reliability of the equipment.
[0091] The first mark includes one or more of the following: a corresponding scale value, a fixed-interval mark point, a fixed-interval optical sensor, or a color mark.
[0092] In one embodiment, such as Figure 4 As shown, in step S203: compare the actual distance and the moving distance to obtain the cumulative error, and determine whether the cumulative error affects the inkjet accuracy of the printhead spraying ink dots onto the substrate.
[0093] S2031: Obtain the preset threshold corresponding to the cumulative error that satisfies the inkjet accuracy requirement;
[0094] Specifically, based on the accuracy requirements of inkjet printing tasks to meet printing quality standards, a preset threshold for cumulative error is obtained, whereby the preset threshold is the maximum permissible cumulative error to meet inkjet accuracy requirements.
[0095] S2032: Determine whether the cumulative error corresponding to the first count value is within the preset threshold. If not, determine that the cumulative error can affect the inkjet accuracy of the printhead spraying ink dots onto the substrate.
[0096] Specifically, because the theoretical value of the conveyor belt corresponding to the first count value may be larger, smaller, or equal to the actual value of the conveyor belt, the preset threshold is a numerical range.
[0097] The cumulative error corresponding to the first count value is compared with a preset threshold. If the calculated cumulative error exceeds the preset threshold range, it means that the cumulative error has reached a level that may affect the accuracy of inkjet printing from the printhead to the substrate.
[0098] By quantitatively analyzing the accumulated error and setting a reasonable preset threshold, it is possible to accurately determine whether the accumulated error has a negative impact on the inkjet accuracy of the printhead. When the accumulated error exceeds the preset threshold, the main control unit can respond quickly and clear the accumulated error by resetting the count, thereby improving the accuracy and overall quality of inkjet printing, reducing production costs, and increasing the product qualification rate.
[0099] In one embodiment, such as Figure 5 As shown, S2: determining whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate includes:
[0100] S211: Obtain the second count value of the encoder that affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate;
[0101] The printing device is set with a critical value for encoder counting: a second count value. When the corresponding count value of the encoder reaches the second count value, it means that the cumulative error of the encoder will affect the inkjet accuracy of the printhead to eject ink dots onto the substrate. In other words, the second count value represents the maximum or minimum count value that the encoder should theoretically have when the cumulative error is sufficient to affect the inkjet accuracy.
[0102] S212: Determine whether the first count value is greater than or equal to the second count value. If so, determine whether the cumulative error contained in the first count value can affect the inkjet accuracy of the printhead spraying ink dots onto the substrate.
[0103] The encoder's first count value is acquired in real time. When the result is that the first count value is equal to or greater than the second count value, it indicates that the accumulated error has reached a level that affects the inkjet accuracy of the printhead.
[0104] The printing device includes a main control unit (MCU) for receiving and processing various instructions to control the normal operation of the printing device. The MCU can promptly determine whether the accumulated error of the printing device is affecting the inkjet accuracy of the printhead by acquiring a first count value and storing a second count value within the MCU, and then promptly eliminate and correct it. In practical applications, this method can promptly identify and process accumulated errors, ensuring accurate inkjet positioning of the printhead on the substrate, thereby significantly improving print quality, reducing scrap rates, and enhancing the stability and efficiency of the inkjet printing system.
[0105] In one embodiment, such as Figure 6 As shown, S2: controlling the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value includes:
[0106] S214: Obtain the second position information of the printed object on the conveyor belt;
[0107] Specifically, the second position information of the substrate on the conveyor belt is obtained. This second position information can be obtained in real time by a detection device installed on the conveyor belt to ensure accurate acquisition of the real-time position of the substrate on the conveyor belt.
[0108] like Figure 7 As shown, the printhead is positioned directly above the conveyor belt, which drives the substrate to move directly below the printhead. The detection device is positioned in front of the printhead in the direction of the conveyor belt's movement. The substrate is first detected by the detection device, which then sends the substrate's second position information to the main control unit.
[0109] S215: Control the printhead to perform inkjet printing on the substrate corresponding to the second position information according to the second position information and the first count value.
[0110] Specifically, the distance between the printhead and the detection device is obtained, the position information of the substrate is obtained based on the second position information, and the distance is correlated with the first count value to control the operation of the equipment. The main control unit accurately controls the printhead to perform precise inkjet printing on the substrate based on the first count value and the actual position information of the substrate.
[0111] In one embodiment, S214: obtaining the second position information of the substrate on the conveyor belt includes: obtaining the second position information of the substrate through a camera device or a sensor.
[0112] Specifically, when the second position information is obtained through the camera device, the camera device is installed directly above the conveyor belt, and obtains the second position information corresponding to the printing substrate by photographing the printing substrate on the conveyor belt, and sends it to the main control unit for processing.
[0113] When the second position information is acquired by the sensor, the sensor is installed on both sides of the conveyor belt. When the sensor detects the substrate, it acquires the second position information of the substrate and sends it to the main control unit for processing.
[0114] Preferably, the first position information corresponding to the color mark can be obtained by the camera device or sensor, that is, the first position information of the color mark is obtained by the set camera device or sensor, thereby obtaining the actual moving distance of the conveyor belt, and at the same time, the camera device or sensor also obtains the second position information of the substrate.
[0115] By directly detecting the positions of the color mark and the substrate using a camera or sensor, the actual movement distance of the conveyor belt and the position of the substrate can be obtained in real time and with high accuracy. This improves positioning accuracy and effectively reduces the impact of accumulated errors on inkjet printing precision. Simultaneously, it can make timely adjustments in real time when accumulated errors occur or the substrate position changes, ensuring that the printhead accurately aligns with the substrate for inkjet printing, thereby significantly improving the quality and consistency of the printed product. The introduction of a camera or sensor gives the entire inkjet printing system stronger sensing capabilities and adaptability, facilitating more complex printing modes and more challenging printing tasks, thus expanding the application range of the equipment. This embodiment, by acquiring the position information of the color mark and the substrate using a camera or sensor, significantly improves the positioning accuracy, stability, and intelligence of the inkjet printing system, contributing to improved overall print quality and equipment efficiency.
[0116] In one embodiment, such as Figure 8 As shown, step S4: controlling the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value includes:
[0117] S401: Obtain the cumulative error and perform compensation processing on the image data corresponding to the substrate to be printed based on the cumulative error;
[0118] S402: Obtain print data by performing RIP processing on the compensated image data; control the printhead to perform inkjet printing based on the first count value and the print data.
[0119] When the compensation process involves adjusting the image position, such as Figure 9 As shown, step S401: acquiring the accumulated error and performing compensation processing on the image data corresponding to the substrate to be printed based on the accumulated error, including:
[0120] S4011: Obtain the position offset corresponding to the accumulated error;
[0121] S4012: Adjust the image position corresponding to the substrate according to the position offset.
[0122] Specifically, the image position of the corresponding image during pasting is adjusted according to the position offset. For example, the theoretical image position after splicing, recognition or alignment should be 100, but there is an accumulated error. In reality, the conveyor belt travels 10 less (i.e. -10), so the image position is adjusted to -10, that is, pasted at position 90.
[0123] RIP processing is performed on the compensated image data to generate print data. The printhead is controlled to perform inkjet printing based on the first count value obtained by recounting and the print data. The first count value is used to determine whether the substrate corresponding to the image has moved to the printhead printing area. When it moves to the printing area, the printhead is controlled to perform inkjet printing based on the print data.
[0124] When the compensation process involves adjusting the step distance, such as Figure 10 As shown, step S401: acquiring the accumulated error and performing compensation processing on the image data corresponding to the substrate to be printed based on the accumulated error, including:
[0125] S4011: Obtain the position deviation corresponding to the accumulated error;
[0126] S4012: Adjust the step distance of the next substrate to be printed according to the position deviation.
[0127] Specifically, the stepping distance of the substrate is adjusted according to the position deviation, and the movement of the conveyor belt is controlled according to the adjusted stepping distance. After the position deviation is compensated, the inkjet printer is controlled to perform inkjet printing on the substrate according to the printing data.
[0128] In one embodiment, such as Figure 11 As shown, step S4: controlling the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value includes:
[0129] S401: Determine the offset of the ink outlet nozzle of the printhead based on the accumulated error;
[0130] S402: Adjust the ink nozzles of the printhead according to the offset, and control the adjusted ink nozzles to perform inkjet printing according to the printing data.
[0131] Specifically, the distribution of each column of nozzles on the printhead is obtained, including nozzle columns, nozzle column spacing or nozzle rows and nozzle row spacing. Based on the distribution, the offset of the ink-emitting nozzle is determined based on the cumulative error. A new ink-emitting nozzle is determined based on the offset and the distribution. The new ink-emitting nozzle is controlled to perform inkjet printing on the substrate based on the new printing data.
[0132] For example, the arrangement of nozzles in the direction of conveyor belt movement is as follows: Figure 12 As shown, the nozzle array is set with 0-10 rows of nozzles, and theoretically there are 2-7 rows of ink-emitting nozzles. The offset of the ink-emitting nozzles is obtained based on the cumulative error. The ink-emitting nozzles are adjusted forward / backward according to the offset and the distribution of the nozzles. For example, the ink-emitting nozzles can be adjusted to 1-6 rows, 3-8 rows, or other values based on the offset. The specific forward / backward movement is determined based on the offset and the distribution of the nozzles.
[0133] For example, the arrangement of nozzles in the direction of conveyor belt movement is as follows: Figure 13 As shown, the nozzle row is set to 0-150 rows. Theoretically, it should be printed on the 100th row. However, because a 15-row offset error was detected earlier, the new position of the nozzle is set to the 85th row (i.e., 100 rows minus 15 rows) or the 115th row (i.e., 100 rows plus 15 rows). The specific forward / backward movement is determined according to the offset amount.
[0134] The inkjet control method for eliminating accumulated mechanical errors provided in this embodiment monitors and analyzes the encoder's first count value in real time. By determining whether the accumulated error generated by the printing equipment affects the inkjet accuracy of the printhead on the substrate on the conveyor belt, the method actively and promptly eliminates the accumulated error and corrects the acquired first count value in a timely manner. This ensures that the printhead's inkjet positioning on the substrate is always accurate based on the first count value, thereby improving inkjet printing quality. The technical solution provided in this embodiment effectively prevents printing quality problems caused by accumulated errors. Through dynamic adjustment and recounting, it improves the overall accuracy and stability of inkjet printing, reduces the scrap rate, and optimizes equipment efficiency. Furthermore, the method provided in this embodiment is highly practical, not only extending the equipment's lifespan but also improving the automation level and product quality of the entire inkjet printing system.
[0135] Example 2
[0136] Based on Embodiment 1, this invention provides an inkjet control method for eliminating accumulated mechanical errors, such as... Figure 14 As shown, the method includes: when the first count value represents a first distance, then:
[0137] S10: The step of obtaining the count value of the encoder installed on the conveyor belt, wherein the count value of the encoder is recorded as the first count value, includes: setting a number of markers spaced apart by the first distance, and obtaining the first count value representing the first distance of the conveyor belt rotation based on the encoder installed on the conveyor belt.
[0138] Specifically, multiple markers are set within a first distance interval, and the first count value obtained by the encoder represents the first distance the conveyor belt rotates.
[0139] Set markers: Set multiple markers at intervals of a first distance on the conveyor belt to serve as reference points to help measure the distance the conveyor belt travels.
[0140] The pulse values generated as the conveyor belt moves are acquired in real time and converted into count values. When the count value reaches the first count value, it means that the conveyor belt has theoretically traveled the first distance.
[0141] S20: Determining whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead spraying ink dots onto the substrate includes: obtaining the pixel density corresponding to the image based on the marking image captured by the camera device, obtaining the gear ratio parameter corresponding to the encoder, and obtaining the first number of pixels corresponding to the first count value based on the pixel density and the gear ratio parameter.
[0142] Specifically, when the first marker is detected, the pulse value is recorded and converted into a count value. When the count value reaches the first count value, the marker image on the conveyor belt is captured by taking a picture. The captured marker image is processed to obtain the pixel density corresponding to the image. The pixel density is the number of pixels per unit distance on the image, which can also be expressed as "dots per inch", "pixels per inch", or "pixel density per inch".
[0143] The gear ratio parameter between the encoder and the transmission device is obtained. This gear ratio parameter represents the relationship between the rotation distance or angle of the transmission device and the number of pulses generated. Based on the gear ratio parameter, the actual movement distance corresponding to each motor pulse can be determined, i.e., the actual rotation distance corresponding to the first count value is obtained.
[0144] Based on the actual rotation distance and the pixel surface density, the number of first pixels corresponding to the actual rotation distance in the image is calculated.
[0145] By combining the pixel density in the marked image with the gear ratio parameter, the number of pixels corresponding to the first count value is calculated.
[0146] Preferably, before counting, the theoretical number of pixels corresponding to the first distance is obtained according to the gear ratio parameter and pixel density, and the cumulative error contained in the first count value is determined according to the theoretical number of pixels and the first number of pixels to determine whether it affects the inkjet accuracy of the printhead ejecting ink dots to the substrate.
[0147] S30: The step of clearing the first count value to zero and restarting counting according to the encoder to obtain the first count value includes: obtaining the number of pulses of the encoder, restarting counting, and obtaining the first count value corresponding to the next first distance;
[0148] Specifically, when it is determined that the printhead is controlled to perform inkjet printing based on the first count value, the cumulative error corresponding to the first count value will affect the inkjet printing accuracy of the printhead on the substrate. The first count value is cleared, that is, the first count value is returned to zero, and the first count value is obtained again by counting based on the pulse signal corresponding to the encoder installed on the conveyor belt.
[0149] S40: The step of controlling the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value includes: obtaining the second pixel number between two adjacent marks according to the mark image, calculating the difference between the first pixel number and the second pixel number, adjusting the pixels of the image to be printed according to the difference, and controlling the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value.
[0150] Generally, the number of second pixels between two adjacent markers obtained from the marked image is equal to the theoretical number of pixels corresponding to the first distance obtained from the gear ratio parameter and pixel density.
[0151] The pixel values of the image to be printed are adjusted based on the difference between the first number of pixels and the second number of pixels, thereby eliminating the inaccuracies caused by the actual transmission device in the data of the image to be printed.
[0152] The technical solution provided in this embodiment effectively prevents print quality problems caused by cumulative errors. By dynamically compensating and adjusting the image to be printed and recounting, it improves the overall accuracy and stability of inkjet printing, reduces the scrap rate, and optimizes the working efficiency of the equipment. Furthermore, the method provided in this embodiment is highly practical, not only extending the service life of the equipment but also improving the automation level and product quality of the entire inkjet printing system.
[0153] Example 3
[0154] Please see Figure 15This invention provides an inkjet control device for eliminating accumulated mechanical errors, the device comprising:
[0155] Counting module 1 is used to acquire the count value of the encoder installed on the conveyor belt, and the count value of the encoder is recorded as the first count value;
[0156] Judgment module 2 is used to determine whether the cumulative error contained in the first count value affects the inkjet accuracy of the printhead ejecting ink dots onto the substrate;
[0157] Control module 3 is used to, if so, clear the first count value to zero, and start counting again according to the encoder to obtain the first count value;
[0158] The inkjet control module 4 is used to control the printhead to perform inkjet printing on the substrate on the conveyor belt according to the first count value.
[0159] The inkjet control device for eliminating accumulated mechanical errors provided in this embodiment monitors and analyzes the encoder's first count value in real time. It determines whether the accumulated error generated by the printing equipment affects the inkjet accuracy of the printhead on the substrate on the conveyor belt, and proactively and promptly eliminates the accumulated error. The acquired first count value is corrected in a timely manner to ensure that the printhead's inkjet positioning on the substrate is always accurate based on the first count value, thereby improving inkjet printing quality. The technical solution provided in this embodiment effectively prevents printing quality problems caused by accumulated errors. Through dynamic adjustment and recounting, it improves the overall accuracy and stability of inkjet printing, reduces the scrap rate, and optimizes equipment efficiency. Furthermore, the method provided in this embodiment is highly practical, not only extending the equipment's lifespan but also improving the automation level and product quality of the entire inkjet printing system.
[0160] Example 4
[0161] In addition, combined Figure 1 The inkjet control method for eliminating accumulated mechanical errors described in the embodiments of the present invention can be implemented by an inkjet control device. Figure 16 A schematic diagram of the hardware structure of the inkjet control device provided in an embodiment of the present invention is shown.
[0162] Inkjet control devices may include a processor and a memory storing computer program instructions.
[0163] Specifically, the processor may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement embodiments of the present invention.
[0164] The memory may include a large-capacity storage device for data or instructions. For example, and not limitingly, the memory may include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disk drive, a magneto-optical disk drive, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory may include removable or non-removable (or fixed) media. Where appropriate, the memory may be internal or external to a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0165] The processor reads and executes computer program instructions stored in the memory to implement any of the inkjet control methods for eliminating accumulated mechanical errors in the above embodiments.
[0166] In one example, the inkjet control device may also include a communication interface and a bus. For example, Figure 16 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.
[0167] The communication interface is mainly used to enable communication between various modules, devices, units and / or equipment in the embodiments of the present invention.
[0168] A bus, including hardware, software, or both, couples components of an inkjet control device together. For example, and not limitingly, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, a bus may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.
[0169] Furthermore, in conjunction with the inkjet control method for eliminating accumulated mechanical errors in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the inkjet control methods for eliminating accumulated mechanical errors in the above embodiments.
[0170] In summary, the inkjet control method, apparatus, equipment, and medium for eliminating accumulated mechanical errors provided in this embodiment of the invention, by real-time monitoring and analysis of the encoder's first count value, determines whether the accumulated error generated by the printing equipment can affect the inkjet accuracy of the printhead on the substrate on the conveyor belt, and actively and promptly eliminates the accumulated error. It also corrects the acquired first count value in a timely manner, ensuring that the printhead's inkjet positioning on the substrate is always accurate based on the first count value, thereby improving inkjet printing quality. The technical solution provided in this embodiment effectively prevents printing quality problems caused by accumulated errors. Through dynamic adjustment and recounting, it improves the overall accuracy and stability of inkjet printing, reduces the scrap rate, and optimizes equipment efficiency. Furthermore, the method provided in this embodiment is highly practical, not only extending the equipment's service life but also improving the automation level and product quality of the entire inkjet printing system.
[0171] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.
[0172] The functional blocks shown in the above-described structural diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this invention are programs or code segments used to perform the required tasks. The programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0173] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0174] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.
Claims
1. A method of inkjet control to eliminate mechanical cumulative errors, characterized by, The method comprises: acquiring a count value of an encoder installed on a conveying belt, the count value of the encoder being recorded as a first count value; judging whether a cumulative error contained in the first count value affects the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate; if so, clearing the first count value and starting to count again according to the encoder to acquire the first count value; controlling the inkjet head to perform inkjet printing on the printing substrate on the conveying belt according to the first count value.
2. The inkjet control method for eliminating mechanical cumulative errors according to claim 1, characterized by, The judgment of whether the cumulative error contained in the first count value affects the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate comprises: acquiring an actual moving distance of the conveying belt; acquiring a theoretical moving distance of the conveying belt corresponding to the first count value; comparing the actual distance and the moving distance to acquire the cumulative error, and judging whether the cumulative error affects the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate.
3. The inkjet control method for eliminating mechanical cumulative errors according to claim 2, characterized by, The acquisition of the actual moving distance of the conveying belt comprises: setting a first mark on the conveying belt, and acquiring corresponding first position information according to the detection of the first mark during the conveying process of the conveying belt; acquiring the actual moving distance of the conveying belt according to the first position information.
4. The mechanical cumulative error eliminating inkjet control method according to claim 3, characterized by, The comparison of the actual distance and the moving distance to acquire the cumulative error, and the judgment of whether the cumulative error affects the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate comprise: acquiring a preset threshold corresponding to the cumulative error meeting the inkjet precision requirement; judging whether the cumulative error corresponding to the first count value is within the preset threshold, and if not, determining that the cumulative error can affect the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate.
5. The inkjet control method for eliminating mechanical cumulative errors according to claim 1, characterized by, The judgment of whether the cumulative error contained in the first count value affects the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate comprises: acquiring a second count value of the encoder corresponding to the situation that the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate can be affected; judging whether the first count value is greater than or equal to the second count value, and if so, determining that the cumulative error contained in the first count value can affect the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate.
6. The method of claim 1-5, wherein The control of the inkjet head to perform inkjet printing on the printing substrate on the conveying belt according to the first count value comprises: acquiring second position information of the printing substrate on the conveying belt; controlling the inkjet head to perform inkjet printing on the printing substrate corresponding to the second position information according to the second position information and the first count value.
7. The mechanical cumulative error canceling inkjet control method according to claim 6, characterized by, When the first count value represents a first distance, the acquisition of the count value of the encoder installed on the conveying belt, the count value of the encoder being recorded as a first count value, comprises: setting a plurality of marks with an interval of the first distance, and acquiring the first count value representing the rotation of the conveying belt by the first distance according to the encoder installed on the conveying belt; The judgment of whether the cumulative error contained in the first count value affects the inkjet precision of ink dots sprayed by the inkjet head on the printing substrate comprises: acquiring a pixel density corresponding to an image according to the shooting of the mark image by the camera, acquiring a gear ratio parameter corresponding to the encoder, and acquiring a first pixel number corresponding to the first count value according to the pixel density and the gear ratio parameter. The first count value is cleared, and the first count value is obtained by restarting counting according to the encoder, which comprises obtaining the number of pulses of the encoder, restarting counting, and obtaining the first count value corresponding to the next first distance; The first count value is used to control the inkjet printer to print on the print substrate on the conveying belt, which comprises obtaining the second pixel number corresponding to the adjacent two marks according to the mark image, calculating the difference between the first pixel number and the second pixel number, adjusting the pixel of the image to be printed according to the difference, and controlling the inkjet printer to print on the print substrate on the conveying belt according to the first count value.
8. An inkjet control device for eliminating mechanical cumulative errors, characterized by, The device comprises: A counting module is configured to obtain the count value of the encoder installed on the conveying belt, and the count value of the encoder is denoted as the first count value; A judging module is configured to judge whether the accumulated error contained in the first count value affects the inkjet precision of the inkjet printer to jet ink dots on the print substrate; A control module is configured to clear the first count value by the main control unit, and obtain the first count value by restarting counting according to the encoder; An inkjet control module is configured to control the inkjet printer to print on the print substrate on the conveying belt according to the first count value.
9. An apparatus, comprising: The device comprises: At least one processor, at least one memory, and computer program instructions stored in the memory, which, when executed by the processor, implement the method of any one of claims 1-7.
10. A medium having stored thereon computer program instructions, characterized in that, The computer program instructions, when executed by the processor, implement the method of any one of claims 1-7.