A light curtain triggered speed reduction printing method, device and equipment

By using a light curtain sensor to identify obstacles and compensate for visual errors, the safety, efficiency, and quality issues of printers when obstacles are present are solved, and the accuracy of ink droplet landing points is guaranteed during slow-down printing.

CN116985543BActive Publication Date: 2025-11-28BEIJING BOYUAN HENGXIN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310223324.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2025-11-28
Estimated Expiration
2043-03-09

AI Technical Summary

Technical Problem

Existing industrial printers cannot simultaneously ensure printing safety, print quality, and printing efficiency during the printing process. In particular, when an obstacle is detected, the printer will stop immediately, affecting the overall printing progress and quality.

Method used

A light curtain sensor is used to identify obstacles in the printing process. Inkjet compensation is performed by calculating visual errors, and the printing carriage is controlled to slow down the printing speed to ensure the accuracy of ink droplet landing, thus achieving a balance between safety, efficiency and quality.

Benefits of technology

When an obstacle is detected, the printing speed is reduced and visual error compensation is performed to ensure that the printing quality is not affected, thus achieving a balance between printing efficiency and quality while ensuring safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116985543B_ABST
    Figure CN116985543B_ABST
Patent Text Reader

Abstract

The application discloses a light curtain trigger speed reduction printing method, device and equipment, and relates to the printing field, and is used for solving the problem that the printing safety, the printing quality and the printing efficiency cannot be considered simultaneously in the prior art during the printing process. The method comprises the following steps: acquiring a light curtain sensor trigger signal arranged around a printer during the printing process, calculating first image data obtained by a printing trolley based on a first printing speed and second image data obtained by the printing trolley based on a second printing speed before the light curtain sensor trigger signal is acquired, calculating a visual error between the first image data and the second image data, compensating pixels in the second image data based on the visual error to obtain target image data, controlling the printing trolley to reduce the first printing speed to the second printing speed, and printing the target image data at the second printing speed to complete a printing task. The printing efficiency and the printing quality are considered simultaneously under the premise of ensuring the printing safety.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of printing technology, in particular to a light curtain triggered speed reduction printing method, device and equipment. BACKGROUND

[0002] The field of the application is that of industrial printers, for example "continuous inkjet" (CIJ) printers, for example "valve-jet" type "drop-on-demand" (DOD) printers, thermal transfer printers, laser printers, hot melt inkjet printers or "print and apply" type printers (printing on a support which is then applied to a product). These printers are in line with the "industrial" standard as compared with office type printers which print on paper or cardboard. Industrial printers are used in particular for marking or coding type printing output, directly or indirectly, on products which need to be tracked. Industrial printers are non-contact inkjet digital printing devices which make it possible to print colour patterns on various planar material surfaces. They are very versatile and can print patterns on metals, ceramics, crystal, glass, acrylic, PVC, plastics, toys, leather, U disks, cloth, wood, silicone, paper, etc.

[0003] During the printing process, there may be obstacles or personnel on the printing platform, at this time, it is necessary to ensure the safety of printing, and at the same time ensure the printing quality and printing efficiency, in the prior art, when it is detected that there are obstacles in the printing process, the printing trolley will stop printing immediately, which although ensures the printing safety, but will cause the printing progress to be affected, thereby affecting the overall printing efficiency and printing quality.

[0004] Therefore, a more reliable light curtain triggered speed reduction printing method is provided. SUMMARY

[0005] The present application aims to provide a light curtain triggered speed reduction printing method, device and equipment, which solves the problem that the printing safety, printing quality and printing efficiency cannot be considered simultaneously in the prior art.

[0006] In order to achieve the above-mentioned purpose, the present application provides the following technical scheme:

[0007] In a first aspect, the present application provides a light curtain triggered speed reduction printing method, comprising:

[0008] obtaining a light curtain sensor triggering signal during the printing process; the light curtain sensor is arranged around the printer;

[0009] calculating first image data obtained by the printing trolley based on a first printing speed before obtaining the light curtain sensor triggering signal;

[0010] calculating second image data obtained by the printing trolley based on a second printing speed;

[0011] calculating a visual error between the first image data and the second image data;

[0012] performing compensation enhancement processing on the second image data based on the visual error to obtain target image data;

[0013] controlling the print carriage to reduce the first printing speed to a second printing speed, and printing the target image data at the second printing speed to complete the printing task.

[0014] Compared with the prior art, the light curtain triggered speed reduction printing method provided by the present application obtains a light curtain sensor trigger signal during printing, calculates first image data obtained by the print carriage based on a first printing speed before the light curtain sensor trigger signal is obtained, calculates second image data obtained by the print carriage based on a second printing speed, calculates a visual error between the first image data and the second image data, performs compensation enhancement processing on the second image data based on the visual error to obtain target image data, and controls the print carriage to reduce the first printing speed to the second printing speed and prints the target image data at the second printing speed to complete the printing task. In the present application, the light curtain sensor is used to identify obstacles in the printing process, and when an obstacle is identified, the print carriage is controlled to print at a reduced speed. During the speed reduction printing process, inkjet compensation is performed based on the visual error to ensure that the drop landing accuracy is not affected during the speed reduction printing process, thereby ensuring the speed reduction printing quality. When there is an obstacle in the printing process, the printing efficiency and the printing quality are taken into account on the premise of ensuring the printing safety.

[0015] In a second aspect, the present application provides a light curtain triggered speed reduction printing device, which comprises:

[0016] a light curtain sensor trigger signal acquisition module, configured to obtain a light curtain sensor trigger signal during printing; the light curtain sensor is arranged around the printer;

[0017] a first image data calculation module, configured to calculate first image data obtained by the print carriage based on a first printing speed before the light curtain sensor trigger signal is obtained;

[0018] a second image data calculation module, configured to calculate second image data obtained by the print carriage based on a second printing speed;

[0019] a visual error calculation module, configured to calculate a visual error between the first image data and the second image data;

[0020] a target image data determination module, configured to perform compensation enhancement processing on the second image data based on the visual error to obtain target image data;

[0021] The speed reduction printing module is configured to control the printing carriage to reduce the first printing speed to the second printing speed, and print the target image data at the second printing speed to complete the printing task.

[0022] In a third aspect, the present application provides a light curtain triggered speed reduction printing device, which comprises:

[0023] A communication unit / communication interface is configured to acquire a light curtain sensor trigger signal during printing; the light curtain sensor is arranged around the printer;

[0024] A processing unit / processor is configured to calculate first image data obtained by the printing carriage based on the first printing speed before the light curtain sensor trigger signal is acquired;

[0025] Second image data obtained by the printing carriage based on the second printing speed is calculated;

[0026] Visual errors between the first image data and the second image data are calculated;

[0027] The second image data is compensated and enhanced based on the visual errors to obtain target image data;

[0028] The printing carriage is controlled to reduce the first printing speed to the second printing speed, and the target image data is printed at the second printing speed to complete the printing task.

[0029] In a fourth aspect, the present application provides a computer storage medium, wherein instructions are stored in the computer storage medium, and when the instructions are executed, the light curtain triggered speed reduction printing method is realized.

[0030] The technical effects realized by the device scheme provided in the second aspect, the equipment scheme provided in the third aspect and the computer storage medium scheme provided in the fourth aspect are the same as the technical effects realized by the method scheme provided in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0031] The accompanying drawings, which are included to provide a further understanding of the present application, form a part of the present application and illustrate embodiments of the present application and together with the description serve to explain the present application. In the drawings:

[0032] Figure 1 A light curtain triggered speed reduction printing method flowchart provided by the present application;

[0033] Figure 2 A light curtain sensor trigger flowchart provided by the present application;

[0034] Figure 3This is a schematic diagram of the triggering process of the pre-printing light curtain sensor in this invention;

[0035] Figure 4 This is a schematic diagram of the image compensation process for light curtain-triggered deceleration printing to ensure print quality in this invention.

[0036] Figure 5 A schematic diagram of a light curtain-triggered deceleration printing device provided by the present invention;

[0037] Figure 6 This is a schematic diagram of a light curtain-triggered deceleration printing device provided by the present invention. Implementation

[0038] To facilitate a clear description of the technical solutions in the embodiments of the present invention, the terms "first" and "second" are used to distinguish identical or similar items with essentially the same function and effect. For example, the first threshold and the second threshold are merely used to distinguish different thresholds and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that the terms "first" and "second" are not necessarily different.

[0039] It should be noted that in this invention, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this invention should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0040] In this invention, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a combination of a and b, a combination of a and c, a combination of b and c, or a, b, and c, where a, b, and c can be single or multiple.

[0041] Next, the solutions provided in the embodiments of this specification will be described in conjunction with the accompanying drawings:

[0042] Figure 1 This invention provides a schematic flowchart of a light curtain-triggered deceleration printing method, as shown below.Figure 1 As shown in the figure, the flow can include the following steps:

[0043] Step 110: Acquire a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer.

[0044] The light curtain sensor can be arranged around the printer to detect whether there is an obstacle, such as a person or other objects, around the printer. The photoelectric safety device generates a protective light curtain by emitting infrared rays. When the light curtain is blocked, the device sends a light blocking signal to control the potentially dangerous mechanical equipment to stop working, thereby avoiding safety accidents. In this scheme, the power supply of the light curtain sensor can be 24V, the output signal type can be NPN, and the wiring standard can be single-ended common-point connection.

[0045] In step 110, it is defined that the light curtain sensor trigger signal is acquired in the printing process, that is, during the execution of the printing task, it is detected that there is an obstacle in the dangerous area around the printer.

[0046] Step 120: Calculate the first image data obtained by the printing trolley based on the first printing speed before the light curtain sensor trigger signal is acquired.

[0047] The first printing speed can be the normal printing speed of the printing trolley before the obstacle appears. It should be noted that in this application, it is mentioned that the printing trolley is controlled to print, which actually means that the printing trolley is controlled to run, and the printing head on the printing trolley completes the printing. In order to facilitate discussion, this application discusses printing by the printing trolley, and those skilled in the art should reasonably understand that the printing device on the printing trolley completes the printing.

[0048] The image data corresponding to the printing at the first printing speed is the first image data.

[0049] Step 130: Calculate the second image data obtained by the printing trolley based on the second printing speed.

[0050] The second printing speed can be a new printing speed obtained by reducing the speed according to a preset speed reduction curve after the obstacle appears in the printing process. The image data corresponding to the printing at the second printing speed is the second image data.

[0051] Step 140: Calculate the visual error between the first image data and the second image data.

[0052] The data error refers to the pixel error corresponding to the gray information of each pixel in the image data.

[0053] Step 150: Perform compensation enhancement processing on the second image data based on the visual error to obtain target image data.

[0054] In the process of speed reduction printing, the flight trajectory, landing position and accuracy of ink droplets are changed due to the change of the printing speed, and the flight state of the ink droplets is a key factor affecting the quality of inkjet printing. Therefore, in order to realize the effect of the printing image quality is small when the light curtain triggers the speed reduction printing, a compensation control method of inkjet based on vision and printer model is needed, that is, the landing accuracy of the ink droplets is not affected when the speed reduction printing is performed.

[0055] Step 160: control the printing trolley to reduce the first printing speed to the second printing speed, and print the target image data at the second printing speed, complete the printing task.

[0056] In the printing process, when the obstacle is detected, the speed reduction printing is performed, and the printing task is completed.

[0057] Figure 1 The method in the method, the light curtain sensor trigger signal is acquired in the printing process, the first image data obtained by the printing trolley based on the first printing speed before the light curtain sensor trigger signal is acquired; the second image data obtained by the printing trolley based on the second printing speed is calculated; the visual error between the first image data and the second image data is calculated; the second image data is compensated and enhanced based on the visual error to obtain the target image data; the printing trolley is controlled to reduce the first printing speed to the second printing speed, and the target image data is printed at the second printing speed, and the printing task is completed. In the present application, the light curtain sensor is used to identify the obstacle in the printing process, and when the obstacle is identified, the printing trolley is controlled to perform the speed reduction printing. In the process of speed reduction printing, the inkjet compensation is performed based on the visual error, so as to ensure that the landing accuracy of the ink droplets is not affected in the process of speed reduction printing, thereby ensuring the quality of speed reduction printing. When there is an obstacle in the printing process, the printing efficiency and the printing quality are considered under the premise of ensuring the printing safety.

[0058] Based on the method of Figure 1 The method, some specific embodiments of the method are provided, which are described below.

[0059] Optionally, the printing trolley is controlled to reduce the first printing speed to the second printing speed, and the target image data is printed at the second printing speed, and the printing task is completed, which can specifically include:

[0060] The printing starting position, the printing end position, the current trigger position of the printing trolley when the light curtain sensor trigger signal is received, and the first printing speed of the current printing trolley are acquired.

[0061] The mainboard is reduced to the second printing speed according to the set speed reduction curve, and the printing of the remaining area is completed; the remaining area is the area between the trigger position and the printing end position.

[0062] Optionally, the mainboard reduces the printing speed to a second printing speed according to a set deceleration curve, and completes the printing of the remaining area, which can specifically include:

[0063] controlling the printing carriage to run from the triggering position to the printing end position at the second printing speed, wherein the printing carriage does not perform the printing operation at this time;

[0064] after the printing carriage runs to the printing end position, controlling the printing carriage to return to the printing starting position and run to the triggering position of the printed area at the second printing speed, and performing the 0 supplement processing on the data in the printed area, wherein the printing carriage does not perform the printing operation in the printed area; the printed area is the area between the printing starting position and the triggering position;

[0065] controlling the printing carriage to start printing from the triggering position at the second printing speed, and complete the printing of the remaining area.

[0066] Optionally, the printing carriage is controlled to reduce the first printing speed to the second printing speed, and print the target image data at the second printing speed, and after completing the printing task, the method can further include:

[0067] after completing the printing of the remaining area, detecting whether the light curtain sensor stops triggering to obtain a detection result;

[0068] if the detection result indicates that the light curtain sensor has not stopped triggering, the printing is continued at the second printing speed;

[0069] if the detection result indicates that the light curtain sensor has stopped triggering, the printing is performed at the first printing speed.

[0070] if the information that the light curtain sensor has stopped triggering is received during the printing of the printing carriage at the second printing speed, a triggering cancellation position at which the information that the light curtain sensor has stopped triggering is received is obtained;

[0071] controlling the printing carriage to continue to complete the printing task of the area between the triggering cancellation position and the printing end position at the second printing speed;

[0072] after the printing carriage continues to complete the printing task of the area between the triggering cancellation position and the printing end position at the second printing speed, controlling the printing carriage to return to the printing starting position and perform the printing at the first printing speed.

[0073] In the control of the deceleration printing process, the subjects involved can have a mainboard, a light curtain sensor, and a PM / PC, wherein the mainboard can be used for parameter tool configuration light curtain sensor trigger deceleration function enable; configuration light curtain sensor polarity, normally open / normally closed. The PM / PC can support the PM UI interface manual selection of the deceleration printing VSD number (low-speed printing waveform sequence number); support parameter upgrade package configuration deceleration printing VSD number (low-speed printing waveform sequence number); at the time of factory shipment, the deceleration printing VSD is used to calibrate the machine and the nozzle; the calibration parameters are saved in the mainboard upgrade package. The PM UI interface supports configuration of the light curtain sensor trigger deceleration function enable.

[0074] In actual application, when the light curtain sensor triggers deceleration printing in the printing process, there is a quality mutation at the junction of the front and rear BANDs. The specific deceleration printing process can be described in combination with Figure 2 .

[0075] As shown in Figure 2 , the light curtain sensor triggers in the printing of the nth BAND, the mainboard reports the "light curtain sensor trigger" command and reports the current printing interruption position (current ignition sequence number); the PM UI interface error information bar prompts "light curtain sensor trigger deceleration printing", with a yellow warning; the PM clears the printing data greater than the nth BAND in the sending buffer; the mainboard starts to decelerate to the set VSD speed according to the set deceleration curve, completes the printing of the remaining segment, the remaining segment data of the nth BAND is automatically handled by the mainboard (i.e. the nth BAND remaining position is not printed); and all BAND printing data in the mainboard memory and FX3 are cleared, the printing trolley returns to the nth BAND printing acceleration starting position; the PM recalculates the nth BAND data and the remaining BAND data of the current job according to the deceleration VSD mode, and sends the data to restart the nth BAND printing. The mainboard recalculates the nth BAND printing according to the deceleration printing VSD mode; the subsequent BANDs of the current job are printed according to the deceleration printing VSD mode; after the current job is completed, the mainboard checks whether the light curtain sensor trigger is triggered. If it is triggered, the next job continues to decelerate printing. If the light curtain sensor trigger is cancelled after the current job is completed, the mainboard reports the "normal speed" printing command, the PM UI clears the "light curtain sensor trigger deceleration printing" prompt warning information, and the job is printed at the normal speed.

[0076] In actual application, if it is detected that there is an obstacle in the dangerous area around the printer, but the printing has not started at this time, there is no printing process at this time, and no processing is required. Therefore, when the light curtain sensor trigger signal is received, it can be first judged whether the printing has started. Specifically, the light curtain sensor trigger process before printing can be described in combination with Figure 3 .

[0077] The mainboard reports a "light curtain sensor trigger" command; the UI interface of the PM prompts an error information bar "light curtain sensor trigger speed reduction printing", a yellow warning; when clicking printing on the PM, the PM prints the current job according to the speed reduction printing VSD; if the light curtain sensor continues to trigger after the current job is completed, the subsequent job is continued to be printed according to the speed reduction printing VSD; if the light curtain sensor is cancelled after the current job is completed, the mainboard reports a "normal speed" printing command; the PM UI clears the "light curtain sensor trigger speed reduction printing" prompt warning information, and prints the job at a normal speed.

[0078] It should be noted that in the present application, during the speed reduction printing process, the change of the printer speed causes the change of the ink droplet flight trajectory, landing position and precision, and the flight state of the ink droplet is a key factor affecting the quality of inkjet printing.

[0079] Therefore, in order to realize small influence on the printing image quality when the light curtain triggers the speed reduction printing, inkjet compensation based on vision and printer model is needed, that is, the landing precision of the ink droplet is not affected during the speed reduction printing, specifically, the second image data obtained by the printing carriage based on the second printing speed is calculated, which can specifically include:

[0080] Based on the second printing speed, the computer automatically switches the verified drive waveform and calculates the flight theoretical trajectory of the ink droplet;

[0081] Based on the flight theoretical trajectory, the printing start position error, the inter-nozzle position error and the nozzle row position error are determined;

[0082] The second image data is calculated based on the printing start position error, the inter-nozzle position error and the nozzle row position error.

[0083] Optionally, the second image data is compensated and enhanced based on the visual error to obtain target image data, which can specifically include:

[0084] A color sensor is used to scan the first pixel gray scale information in the first image data corresponding to the printing at the first printing speed;

[0085] The printer model is used to calculate the second pixel gray scale information in the second image data corresponding to the printing at the second printing speed;

[0086] The visual error between the first pixel gray scale information and the second pixel gray scale information is calculated;

[0087] According to the image gray scale characteristics of the current area, an adaptive compensation gain is calculated;

[0088] Each pixel in the second image data is compensated by the compensation gain;

[0089] Edge enhancement is performed on the compensated second image data to obtain the target image data.

[0090] In the above method, one of the parameters affecting the droplet flight characteristics is the driving waveform of the printhead piezoelectric ceramic, namely the shape, voltage, pulse width, and driving frequency of the piezoelectric ceramic's driving waveform. For example... Figure 4 As shown, during slow-down printing, the PM automatically switches to the verified drive waveform according to the speed and calculates the theoretical trajectory of the ink droplets to obtain the printing start position error, the nozzle position error, and the nozzle row position error, and then recalculates the theoretical output image data for the next band.

[0091] Because the ink's extensibility on the substrate makes the inkjet-printed dots closer to circles, the real origin printer model is used to calculate the grayscale value of each pixel in the output image when recalculating the theoretical output image data for the next band.

[0092] A color sensor is used to scan the grayscale information of each pixel in the image output by the last band during normal printing, calculating the visual error between the two bands at different speeds. Based on the grayscale characteristics of the current region, an adaptive compensation gain K is calculated. This compensation gain K is used to compensate for the visual error in each pixel of the original image. Then, edge enhancement is performed on the compensated image to obtain new image output data for the slowed-down printing band. Slowed-down printing is then initiated, and the image information is output.

[0093] Similarly, during accelerated printing, changes in printer speed alter the droplet trajectory, landing position, and accuracy. As discussed above, the droplet flight state is a key factor affecting inkjet print quality. Therefore, to minimize the impact on print image quality during light curtain-triggered accelerated printing and to ensure no impact on droplet landing accuracy during deceleration printing, it is also necessary to employ similar techniques. Figure 4 The same principle is used to ensure print quality. Specifically, when the printing speed increases from low to high, the PM automatically switches the verified drive waveform according to the speed and calculates the theoretical trajectory of the ink droplets to obtain the printing start position error, the print head position error, and the nozzle row position error, and then recalculates the theoretical output image data for the next band.

[0094] The color sensor is adopted to scan the gray information of each pixel of the image output by the last Band during normal printing, the printer model is adopted to calculate the gray information of each pixel in the corresponding second image data during low-speed printing, the visual error of the two Bands before and after the low-speed and normal speed is calculated, the adaptive compensation gain K is calculated according to the image gray feature of the current area, the visual error is compensated for each pixel of the original image through the compensation gain K, then the edge enhancement is carried out on the compensated image, the new high-speed printing Band image output data is obtained, and the high-speed printing is started to output the image information.

[0095] In the above two implementation manners, during the printing process, no matter the printing speed is reduced from high speed to low speed or increased from low speed to high speed, the change of the printer speed will cause the change of the flight trajectory, landing position and precision of the ink droplet, therefore, the image compensation and enhancement processing based on the visual error and the printer model are required, so as to ensure the printing quality during the printing process even if the printing speed is changed.

[0096] In the present application, the light curtain sensor is adopted to identify the obstacle in the printing process, when the obstacle is identified, the printing trolley is controlled to print at a low speed, during the low-speed printing process, the ink jet compensation is carried out based on the visual error, so as to ensure that the landing precision of the ink droplet is not affected during the low-speed printing process, thereby ensuring the low-speed printing quality. When there is an obstacle in the printing process, the printing efficiency and the printing quality are taken into account on the premise of ensuring the printing safety.

[0097] Based on the same idea, the present application also provides a light curtain triggered low-speed printing device, as shown in the accompanying drawings, the device can include: Figure 5

[0098] The light curtain sensor trigger signal acquisition module 510 is used to acquire the light curtain sensor trigger signal during the printing process, and the light curtain sensor is arranged around the printer;

[0099] The first image data calculation module 520 is used to calculate the first image data obtained by the printing trolley based on the first printing speed before the light curtain sensor trigger signal is acquired;

[0100] The second image data calculation module 530 is used to calculate the second image data obtained by the printing trolley based on the second printing speed;

[0101] The visual error calculation module 540 is used to calculate the visual error between the first image data and the second image data;

[0102] The target image data determination module 550 is used to carry out compensation and enhancement processing on the second image data based on the visual error, so as to obtain the target image data;

[0103] ​The speed reduction printing module 560 is configured to control the printing carriage to reduce the first printing speed to a second printing speed, and print the target image data at the second printing speed to complete the printing task.

[0104] Based on Figure 5 The device in the apparatus can further include some specific implementation units:

[0105] Optionally, the speed reduction printing module 560 can specifically include:

[0106] The information acquisition unit is configured to acquire the printing start position of the printing carriage, the printing end position, the current trigger position of the printing carriage when the light curtain sensor trigger signal is received, and the first printing speed of the current printing carriage.

[0107] The speed reduction printing unit is configured to control the mainboard to reduce the speed according to a set speed reduction curve to a set second printing speed, and complete the printing of the remaining area; the remaining area is an area between the trigger position and the printing end position.

[0108] Optionally, the speed reduction printing unit can be specifically configured to:

[0109] control the printing carriage to run from the trigger position to the printing end position at the second printing speed, and the printing carriage does not perform the printing operation at this time;

[0110] after the printing carriage runs to the printing end position, control the printing carriage to return to the printing start position, run to the trigger position of the printed area at the second printing speed, and perform the 0 supplement processing on the data in the printed area, and the printing carriage does not perform the printing operation in the printed area at this time; the printed area is an area between the printing start position and the trigger position;

[0111] control the printing carriage to start printing from the trigger position at the second printing speed, and complete the printing of the remaining area.

[0112] Optionally, the above apparatus can further include:

[0113] The detection unit is configured to detect whether the light curtain sensor stops triggering after the printing of the remaining area is completed, and obtain a detection result;

[0114] The speed reduction printing duration unit is configured to continue the printing at the second printing speed if the detection result indicates that the light curtain sensor does not stop triggering.

[0115] The normal speed printing unit is configured to perform the printing at the first printing speed if the detection result indicates that the light curtain sensor has stopped triggering.

[0116] Optionally, the normal-speed printing unit can be specifically used for:

[0117] If the information that the light curtain sensor has stopped triggering is received during printing of the printing carriage at the second printing speed, a triggering cancellation position at which the information that the light curtain sensor has stopped triggering is received is obtained;

[0118] The printing carriage is controlled to continue to complete a printing task in a region between the triggering cancellation position and a printing end position at the second printing speed;

[0119] After the printing carriage continues to complete the printing task in the region between the triggering cancellation position and the printing end position at the second printing speed, the printing carriage is controlled to return to the printing starting position and print at the first printing speed.

[0120] Optionally, the second image data calculation module 530 can be specifically used for:

[0121] Based on the second printing speed, the computer automatically switches the verified drive waveform and calculates a flight theoretical trajectory of ink droplets;

[0122] Based on the flight theoretical trajectory, a printing starting position error, a position error between inkjet heads, and a position error of a nozzle row are determined;

[0123] The second image data is calculated based on the printing starting position error, the position error between inkjet heads, and the position error of the nozzle row.

[0124] Optionally, the target image data determination module 550 can be specifically used for:

[0125] The color sensor is used to scan each first pixel gray scale information in the first image data corresponding to printing at the first printing speed;

[0126] The printer model is used to calculate each second pixel gray scale information in the second image data corresponding to printing at the second printing speed;

[0127] The visual error between the first pixel gray scale information and the second pixel gray scale information is calculated;

[0128] According to the image gray scale characteristics of the current region, an adaptive compensation gain is calculated;

[0129] The visual error is compensated for each pixel in the second image data through the compensation gain;

[0130] The second image data after compensation is subjected to edge enhancement to obtain target image data.

[0131] Based on the same idea, the present specification also provides a light curtain triggering speed reduction printing device. As shown inFigure 6 may include:

[0132] a communication unit / communication interface, configured to acquire a light curtain sensor trigger signal in a printing process; the light curtain sensor is arranged around the printer;

[0133] a processing unit / processor, configured to calculate first image data obtained by a printing trolley based on a first printing speed before the acquisition of the light curtain sensor trigger signal;

[0134] calculate second image data obtained by the printing trolley based on a second printing speed;

[0135] calculate a visual error between the first image data and the second image data;

[0136] perform compensation enhancement processing on the second image data based on the visual error to obtain target image data;

[0137] control the printing trolley to reduce the first printing speed to the second printing speed, and print the target image data at the second printing speed to complete the printing task.

[0138] As shown in Figure 6 the terminal device can further include a communication line. The communication line can include a channel for transmitting information between the components.

[0139] Optionally, as shown in Figure 6 the terminal device can further include a memory. The memory is used to store computer execution instructions for executing the scheme of the present application, and is controlled by the processor to execute. The processor is configured to execute the computer execution instructions stored in the memory, thereby realizing the method provided by the embodiments of the present application.

[0140] As shown in Figure 6As shown, the memory can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM), or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage devices or any other medium capable of storing desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to this. The memory can exist independently, and be connected to the processor through a communication line. The memory can also be integrated with the processor.

[0141] Optionally, the computer-executed instructions in the embodiments of the present application can also be referred to as application program codes, and the embodiments of the present application are not limited in this regard.

[0142] In a specific implementation, as an embodiment, as shown in Figure 6 The processor can include one or more CPUs, such as CPU0 and CPU1 in Figure 6 .

[0143] In a specific implementation, as an embodiment, as shown in Figure 6 The terminal device can include a plurality of processors, such as the processors in ​ . Each of the processors can be a single-core processor or a multi-core processor.

[0144] Based on the same idea, the embodiments of the present application also provide a computer storage medium corresponding to the above-mentioned embodiments, and the computer storage medium stores instructions. When the instructions are executed, the method in the above-mentioned embodiments is implemented.

[0145] It should be understood that, in order to achieve the above functions, each module comprises a hardware structure and / or a software unit corresponding to each function. Those skilled in the art should easily understand that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed in the present text, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is realized in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0146] The embodiments of the present application can divide the functional modules according to the above method examples, for example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing module. The integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical functional division. There can be another division method in actual implementation.

[0147] Although the present application is described herein in conjunction with various embodiments, other variations of the disclosed embodiments can be understood and implemented by those skilled in the art with reference to the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "one" does not exclude a plurality. A single processor or other unit can realize several functions listed in the claims. Some measures are described in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0148] Although the present application is described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the present specification and drawings are merely illustrative of the exemplary embodiments of the present application as defined in the appended claims, and are to be regarded as covering all modifications, variations, combinations or equivalents that fall within the scope of the present application. Obviously, those skilled in the art can make various modifications and changes to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and changes of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and changes.

Claims

1. A light curtain triggered slow down printing method, characterized by, The application relates to a method for printing an image on a printing carriage, comprising the following steps: acquiring a light curtain sensor trigger signal during printing; the light curtain sensor is arranged around a printer; calculating first image data obtained by the printing carriage based on a first printing speed before acquiring the light curtain sensor trigger signal; calculating second image data obtained by the printing carriage based on a second printing speed; calculating a visual error between the first image data and the second image data; performing compensation and enhancement processing on the second image data based on the visual error to obtain target image data; controlling the printing carriage to reduce the first printing speed to the second printing speed, and printing the target image data at the second printing speed to complete a printing task; the control of the printing carriage to reduce the first printing speed to the second printing speed and print the target image data at the second printing speed to complete the printing task specifically comprises the following steps: acquiring a printing starting position, a printing ending position, a current trigger position of the printing carriage when the light curtain sensor trigger signal is received, and a first printing speed of the current printing carriage; controlling the mainboard to reduce the speed to a second printing speed according to a set deceleration curve, and complete the printing of a remaining area; the remaining area is an area between the trigger position and the printing ending position; the mainboard reduces the speed to the second printing speed according to the set deceleration curve, and completes the printing of the remaining area, specifically comprising the following steps: controlling the printing carriage to run from the trigger position to the printing ending position at the second printing speed, and the printing carriage does not perform a printing operation at this time; after the printing carriage runs to the printing ending position, controlling the printing carriage to return to the printing starting position, run to the trigger position of the printed area at the second printing speed, and perform a 0 processing on the data in the printed area, and the printing carriage does not perform a printing operation in the printed area at this time; the printed area is an area between the printing starting position and the trigger position; controlling the printing carriage to start printing from the trigger position at the second printing speed, and complete the printing of the remaining area.

2. The light curtain triggered slowdown printing method of claim 1, wherein, after the control of the printing carriage to reduce the first printing speed to the second printing speed and print the target image data at the second printing speed to complete the printing task, the method further comprises the following steps: after completing the printing of the remaining area, detecting whether the light curtain sensor stops triggering to obtain a detection result; if the detection result indicates that the light curtain sensor does not stop triggering, the printing is continuously performed at the second printing speed; if the detection result indicates that the light curtain sensor has stopped triggering, the printing is performed at the first printing speed.

3. The light curtain triggered slowdown printing method of claim 2, wherein, if the detection result indicates that the light curtain sensor has stopped triggering, the printing is performed at the first printing speed, specifically comprising the following steps: if the information that the light curtain sensor has stopped triggering is received during the printing of the printing carriage at the second printing speed, a trigger cancellation position at which the information that the light curtain sensor has stopped triggering is received is acquired; controlling the printing carriage to continue to complete the printing of an area between the trigger cancellation position and the printing ending position at the second printing speed. After the print carriage continues to complete the area printing task between the trigger cancel position and the print end position at the second printing speed, the print carriage is controlled to return to the print start position to print at the first printing speed.

4. The light curtain triggered slowdown printing method of claim 1, wherein, The second image data obtained by the print carriage based on the second printing speed specifically includes: Based on the second printing speed, the computer automatically switches the verified drive waveform and calculates the flight theoretical trajectory of the ink droplet; Based on the flight theoretical trajectory, the print start position error, the inter-nozzle position error, and the nozzle row position error are determined; Based on the print start position error, the inter-nozzle position error, and the nozzle row position error, the second image data is calculated.

5. The light curtain triggered slowdown printing method of claim 1, wherein, Based on the visual error, the second image data is compensated and enhanced to obtain target image data, specifically including: A color sensor is used to scan the first pixel gray information in the first image data corresponding to the printing at the first printing speed; A printer model is used to calculate the second pixel gray information in the second image data corresponding to the printing at the second printing speed; The visual error between the first pixel gray information and the second pixel gray information is calculated; According to the image gray characteristics of the current area, an adaptive compensation gain is calculated; Each pixel in the second image data is compensated by the compensation gain; The second image data after compensation is edge enhanced to obtain target image data.

6. A light curtain triggered speed reduction printing device, characterized by, The device includes: A light curtain sensor trigger signal acquisition module for acquiring a light curtain sensor trigger signal during printing; The light curtain sensor is arranged around the printer; A first image data calculation module for calculating first image data obtained by the print carriage based on the first printing speed before the light curtain sensor trigger signal is acquired; A second image data calculation module for calculating second image data obtained by the print carriage based on the second printing speed; A visual error calculation module for calculating the visual error between the first image data and the second image data; A target image data determination module for compensating and enhancing the second image data based on the visual error to obtain target image data; A speed reduction printing module for controlling the print carriage to reduce the first printing speed to the second printing speed and printing the target image data at the second printing speed to complete the printing task; The speed reduction printing module is used to acquire the print start position, the print end position, the current trigger position of the print carriage when the light curtain sensor trigger signal is received, and the first printing speed of the current print carriage; The mainboard reduces speed to the set second printing speed according to the set speed reduction curve to complete the printing of the remaining area; The remaining area is the area between the trigger position and the print end position; The mainboard reduces speed to the set second printing speed according to the set speed reduction curve to complete the printing of the remaining area, specifically including: The print carriage is controlled to run from the trigger position to the print end position at the second printing speed, and the print carriage does not perform printing operation at this time; After the printing carriage runs to the printing end position, the printing carriage is controlled to return to the printing start position, run to the trigger position of the printed area at the second printing speed, and perform 0 supplement processing on the data in the printed area, at which time the printing carriage does not perform printing operation in the printed area; the printed area is the area between the printing start position and the trigger position; The printing carriage is controlled to start printing from the trigger position at the second printing speed, and complete printing of the remaining area.

7. A light curtain triggered speed reduction printing device, characterized in that the device Comprise: A communication interface configured to acquire a light curtain sensor trigger signal during printing; The light curtain sensor is arranged around the printer; A processor configured to calculate first image data obtained by the printing carriage based on a first printing speed before the light curtain sensor trigger signal is acquired; Calculate second image data obtained by the printing carriage based on a second printing speed; Calculate the visual error between the first image data and the second image data; Based on the visual error, the second image data is compensated and enhanced to obtain target image data; The printing carriage is controlled to reduce the first printing speed to the second printing speed, and the target image data is printed at the second printing speed to complete the printing job; The control of the printing carriage to reduce the first printing speed to the second printing speed and to print the target image data at the second printing speed to complete the printing job specifically comprises: Acquire the printing start position, the printing end position, the current trigger position of the printing carriage when the light curtain sensor trigger signal is received, and the first printing speed of the current printing carriage; The mainboard is reduced to the second printing speed according to the set deceleration curve, and the remaining area is printed; the remaining area is the area between the trigger position and the printing end position; The mainboard is reduced to the second printing speed according to the set deceleration curve, and the remaining area is printed, specifically comprising: The printing carriage is controlled to run to the printing end position from the trigger position at the second printing speed, at which time the printing carriage does not perform printing operation; After the printing carriage runs to the printing end position, the printing carriage is controlled to return to the printing start position, run to the trigger position of the printed area at the second printing speed, and perform 0 supplement processing on the data in the printed area, at which time the printing carriage does not perform printing operation in the printed area; the printed area is the area between the printing start position and the trigger position; The printing carriage is controlled to start printing from the trigger position at the second printing speed, and complete printing of the remaining area.

8. A computer storage medium, characterized in that The computer storage medium stores instructions, when the instructions are executed, the light curtain trigger deceleration printing method of any one of claims 1-5 is realized.

Citation Information

Patent Citations

  • Image forming apparatus, image forming method and image forming program

    JP2021066045A

  • Decel correction in a printer

    US20190240973A1