CN116985543A - Light curtain triggering speed-reducing printing method, device and equipment - Google Patents

Light curtain triggering speed-reducing printing method, device and equipment Download PDF

Info

Publication number
CN116985543A
CN116985543A CN202310223324.0A CN202310223324A CN116985543A CN 116985543 A CN116985543 A CN 116985543A CN 202310223324 A CN202310223324 A CN 202310223324A CN 116985543 A CN116985543 A CN 116985543A
Authority
CN
China
Prior art keywords
printing
image data
speed
light curtain
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310223324.0A
Other languages
Chinese (zh)
Inventor
江泽民
邢锡江
詹彤宇
孙志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Byhy Technology Co ltd
Original Assignee
Beijing Byhy Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Byhy Technology Co ltd filed Critical Beijing Byhy Technology Co ltd
Priority to CN202310223324.0A priority Critical patent/CN116985543A/en
Publication of CN116985543A publication Critical patent/CN116985543A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns

Abstract

The invention discloses a light curtain triggering speed-reducing printing method, device and equipment, relates to the field of printing, and aims to solve the problem that printing safety, printing quality and printing efficiency cannot be simultaneously considered in the printing process in the prior art. Comprising the following steps: acquiring light curtain sensor trigger signals arranged around a printer in the printing process, and calculating first image data obtained by a printing trolley based on a first printing speed and second image data obtained based on a second printing speed before acquiring the light curtain sensor trigger signals; 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; and 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 finish the printing job. On the premise of ensuring the printing safety, the printing efficiency and the printing quality are considered.

Description

Light curtain triggering speed-reducing printing method, device and equipment
Technical Field
The present invention relates to the field of printing technologies, and in particular, to a method, an apparatus, and a device for light curtain triggering deceleration printing.
Background
Industrial printers, for example: "continuous inkjet" (CIJ) printers, such as "valve jet" drop on demand "(DOD) printers, thermal transfer printers, laser printers, hot melt inkjet printers, or" print and apply "printers (printing on a support and then applying the printed support to a product). These printers meet the "industry" standard compared to office-type printers that print on paper or cardboard. Industrial printers are used in particular for printing out of the type of marks or codes directly or indirectly on the products to be traced. The industrial printer is one kind of non-contact ink jet digital printer capable of printing color pattern on the surface of various planar materials. The printing machine is wide in applicability, and can be used for rapidly printing patterns on metals, ceramics, crystals, glass, acrylic, PVC, plastics, toys, leather, U disk, cloth, wood, silica gel, rice paper and the like.
In the printing process, the printing platform may have barriers or personnel, at this moment, the security of printing needs to be guaranteed, print quality and printing efficiency need also be guaranteed simultaneously, in the prior art, when detecting that there are barriers in the printing process, the print dolly can stop printing immediately, so that the printing security is guaranteed, but the printing progress is influenced, thereby influencing the whole printing efficiency and the printing quality.
Thus, a more reliable light curtain triggering deceleration printing method is provided.
Disclosure of Invention
The invention aims to provide a light curtain triggering deceleration printing method, device and equipment, which are used for solving the problem that printing safety, printing quality and printing efficiency cannot be simultaneously considered in the printing process in the prior art.
In order to achieve the above object, the present invention provides the following technical solutions:
in a first aspect, the present invention provides a light curtain triggering deceleration printing method, including:
acquiring a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer;
calculating first image data obtained by the print trolley based on the first printing speed before the light curtain sensor trigger signal is obtained;
calculating second image data obtained by the print trolley 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;
and 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 finish the printing job.
Compared with the prior art, the light curtain triggering deceleration printing method provided by the invention has the advantages that the light curtain sensor triggering signals arranged around the printer are acquired in the printing process, and the first image data obtained by the printing trolley based on the first printing speed before the light curtain sensor triggering signals are acquired is calculated; calculating second image data obtained by the print trolley 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; and 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 finish the printing job. According to the invention, the light curtain sensor is adopted to identify the obstacle in the printing process, and when the obstacle is identified, the printing trolley is controlled to perform deceleration printing, and in the deceleration printing process, the ink jet compensation is performed based on the visual error, so that the drop point precision of ink drops is not influenced in the deceleration printing process, and the deceleration printing quality is ensured. When an obstacle exists in the printing process, the printing efficiency and the printing quality are considered under the premise of ensuring the printing safety.
In a second aspect, the present invention provides a light curtain triggering deceleration printing apparatus, the apparatus comprising:
the light curtain sensor trigger signal acquisition module is used for acquiring a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer;
the first image data calculation module is used for calculating first image data obtained by the printing trolley based on the first printing speed before the light curtain sensor trigger signal is obtained;
a second image data calculation module for calculating second image data obtained by the print carriage based on a second printing speed;
a visual error calculation module for calculating a visual error between the first image data and the second image data;
the target image data determining module is used for carrying out compensation and enhancement processing on the second image data based on the visual error to obtain target image data;
and the speed-reducing printing module is used for 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 finish the printing job.
In a third aspect, the present invention provides a light curtain triggering deceleration printing apparatus, the apparatus comprising:
the communication unit/communication interface is used for acquiring a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer;
the processing unit/processor is used for calculating first image data obtained by the print trolley based on the first printing speed before the light curtain sensor trigger signal is acquired;
calculating second image data obtained by the print trolley 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;
and 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 finish the printing job.
In a fourth aspect, the present invention provides a computer storage medium having instructions stored therein, which when executed, implement the light curtain triggering deceleration printing method described above.
The technical effects achieved by the apparatus type solution provided in the second aspect, the device type solution provided in the third aspect, and the computer storage medium solution provided in the fourth aspect are the same as the technical effects achieved by the method type solution provided in the first aspect, and are not described herein.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic flow chart of a light curtain triggering deceleration printing method provided by the invention;
FIG. 2 is a schematic diagram of a light curtain sensor triggering process according to the present invention;
FIG. 3 is a schematic diagram of a light curtain sensor triggering process before printing in accordance with the present invention;
FIG. 4 is a schematic diagram of an image compensation process for ensuring print quality by light curtain triggering deceleration printing in accordance with the present invention
FIG. 5 is a schematic diagram of a light curtain triggering deceleration printing device according to the present invention;
fig. 6 is a schematic structural diagram of a light curtain triggering deceleration printing device provided by the invention.
Description of the embodiments
In order to clearly describe the technical solution of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first threshold and the second threshold are merely for distinguishing between different thresholds, and are not limited in order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In the present invention, the words "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present invention, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b, c can be single or multiple.
Next, the scheme provided by the embodiments of the present specification will be described with reference to the accompanying drawings:
fig. 1 is a schematic flow chart of a light curtain triggering deceleration printing method provided by the invention, and as shown in fig. 1, the flow chart may include the following steps:
step 110: acquiring a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer.
The light curtain sensor may be disposed around the printer to detect whether there is an obstacle around the printer, such as: personnel or other items. The photoelectric safety device generates a protective light curtain by emitting infrared rays, and when the light curtain is shielded, the device sends out a shading signal to control mechanical equipment with potential danger to stop working, so that safety accidents are avoided. In this scheme, the power supply of the light curtain sensor may be 24V, the output signal type may be NPN, and the wiring standard may be single-ended co-point connection.
In step 110, it is defined that the light curtain sensor trigger signal is acquired during printing, i.e. during execution of a print job, the presence of an obstacle in a hazardous area around the printer is detected.
Step 120: and calculating first image data obtained by the print trolley based on the first printing speed before the light curtain sensor trigger signal is acquired.
The first printing speed may be a normal printing speed of the print carriage before the obstacle appears. It should be noted that, in the present invention, the print carriage is controlled to perform printing, and in practice, the print head on the print carriage is controlled to perform printing, and for convenience of discussion, the print carriage is used to perform printing in the present invention, and those skilled in the art should reasonably understand that the print device on the print carriage performs printing.
The image data corresponding to the printing at the first printing speed is the first image data.
Step 130: and calculating second image data obtained by the print trolley based on the second printing speed.
The second printing speed may be a new printing speed obtained by reducing the speed according to a preset speed reduction curve after an obstacle appears in the printing process. The image data corresponding to the printing at the second printing speed is the second image data.
Step 140: a visual error between the first image data and the second image data is calculated.
The data error refers to a verse error corresponding to gray information of each pixel in the image data.
Step 150: and carrying out compensation and enhancement processing on the second image data based on the visual error to obtain target image data.
In the process of the deceleration printing, the flight track, the position of the landing point and the precision of the ink drop are changed due to the change of the speed of the printer, and the flight state of the ink drop is a key factor influencing the quality of the ink jet printing. Therefore, in order to realize that the influence on the quality of a printed image is small when the light curtain triggers the deceleration printing, an ink jet compensation control method based on vision and a printer model needs to be constructed, namely the drop point precision of ink drops is not influenced when the deceleration printing is performed.
Step 160: and 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 finish the printing job.
And in the printing process, when detecting that an obstacle exists, performing deceleration printing to finish the printing operation.
In the method in fig. 1, by acquiring a light curtain sensor trigger signal arranged around a printer in a printing process, first image data obtained by a print dolly based on a first printing speed before acquiring the light curtain sensor trigger signal is calculated; calculating second image data obtained by the print trolley 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; and 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 finish the printing job. According to the invention, the light curtain sensor is adopted to identify the obstacle in the printing process, and when the obstacle is identified, the printing trolley is controlled to perform deceleration printing, and in the deceleration printing process, the ink jet compensation is performed based on the visual error, so that the drop point precision of ink drops is not influenced in the deceleration printing process, and the deceleration printing quality is ensured. When an obstacle exists in the printing process, the printing efficiency and the printing quality are considered under the premise of ensuring the printing safety.
Based on the method of fig. 1, the examples of the present specification also provide some specific implementations of the method, as described below.
Optionally, 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 print job may specifically include:
acquiring a printing initial position and a printing final position of a printing trolley, a current triggering position of the printing trolley when receiving the light curtain sensor triggering signal and a first printing speed of the current printing trolley;
the main board is slowed down to a set second printing speed according to a set deceleration curve, and printing of the residual area is completed; the remaining area is an area between the trigger position and the printing end position.
Optionally, the main board is slowed down to a set second printing speed according to a set deceleration curve, and printing of the remaining area is completed, which specifically may include:
controlling the printing trolley to run from the trigger position to the printing end position at the second printing speed, wherein the printing trolley does not execute printing operation at the moment;
after the printing trolley moves to the printing end position, controlling the printing trolley to return to a printing start position, and moving to the triggering position of a printed area at the second printing speed, and performing 0 supplementing processing on data in the printed area, wherein the printing trolley does not execute printing operation in the printed area; the printed area is an area between the printing starting position and the triggering position;
and controlling the printing trolley to start printing from the triggering position at the second printing speed, and finishing printing of the residual area.
Optionally, 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, after completing the print job, may further include:
after the printing of the residual area is finished, detecting whether the light curtain sensor stops triggering or not to obtain a detection result;
if the detection result indicates that the light curtain sensor does not stop triggering, continuing to print according to the second printing speed;
and if the detection result shows that the light curtain sensor is stopped to trigger, printing according to the first printing speed.
If the information that the light curtain sensor stops triggering is received in the process that the printing trolley prints according to the second printing speed, acquiring a triggering cancellation position of the information that the light curtain sensor stops triggering is received;
controlling the print trolley to continue to finish the regional print job from the trigger cancel position to the print end position at the second printing speed;
and after the print trolley continuously finishes the regional print job from the trigger cancel position to the print end position at the second printing speed, controlling the print trolley to return to the print start position, and printing at the first printing speed.
In the process of controlling the deceleration printing, the participating main body can be provided with a main board, a light curtain sensor and a PM/PC, wherein the main board can be used for the parameter tool to configure the light curtain sensor to trigger the deceleration function to enable; the polarity of the light curtain sensor is configured, and the light curtain sensor is normally open/normally closed. The PM/PC can manually select a slow print VSD number (low-speed print waveform serial number) in the UI interface supporting the PM; support parameter upgrade package configuration slow printing VSD number (low speed printing waveform serial number); when leaving the factory, the machine and the spray head are calibrated by using a reduced speed printing (VSD); the calibration parameters are stored in the motherboard upgrade package. The PM UI configuration light curtain sensor is supported to trigger a speed reduction function to enable.
In practical application, when the light curtain sensor triggers the deceleration printing in the printing process and the quality of the front and back BAND joints has abrupt change, the specific deceleration printing flow can be described with reference to fig. 2:
as shown in fig. 2, in printing nBAND, the light curtain sensor triggers, the main board reports a "light curtain sensor triggers" command, and reports the current print interruption position (current ignition sequence number); the UI error information field of the PM prompts that a light curtain sensor triggers deceleration printing and yellow warning; the PM clears and sends the greater than nth BAND print data in the buffer; the main board starts to decelerate to the set VSD speed according to the set deceleration curve, the printing of the remaining segments is completed, and the data of the nBAND remaining segments is automatically complemented with 0 by the main board (i.e. the n BAND remaining positions are not printed); and clearing the memory of the main board, and returning all BAND printing data printing trolleys in FX3 to an nth BAND printing acceleration start bit; PM recalculates nBAND data and the remaining BAND data of the job according to the speed-down VSD mode, and issues data to restart nBAND printing. The mainboard re-executes nBAND printing according to the reduced speed printing VSD mode; the subsequent BAND of the job is printed according to a reduced speed printing VDS mode; after the printing of the job is finished, the main board checks whether the triggering of the light curtain sensor is triggered or not, if the triggering is carried out, the next job continues to be printed at a reduced speed, and after the printing of the job is finished, if the triggering of the light curtain sensor is canceled, the main board reports a printing command of 'normal speed', and the PM UI clears prompt warning information of 'the triggering of the light curtain sensor to print at a reduced speed', so that the job is printed according to the normal speed.
In practical application, if it is detected that an obstacle exists in a dangerous area around the printer, but printing is not started, a printing process does not exist at the moment, and processing is not needed. Therefore, when the light curtain sensor trigger signal is received, it may be determined whether printing has started, and specifically, the light curtain sensor trigger flow before printing may be described with reference to fig. 3:
the main board reports a 'light curtain sensor triggering' command; the UI error information field of the PM prompts that a light curtain sensor triggers deceleration printing and yellow warning; when clicking and printing on the PM, the PM prints the current job according to the reduced speed printing VSD; after the current job is completed, if the light curtain sensor is continuously triggered, continuing to print the subsequent jobs according to the reduced speed printing (VSD); after the current operation is finished, if the light curtain sensor cancels triggering, the main board reports a printing command of 'normal speed'; the PM UI clears the prompt warning message of 'light curtain sensor triggering deceleration printing', and prints the job according to the normal speed.
In the invention, the flying track, the position of the landing point and the precision of the ink drop are all changed due to the change of the speed of the printer in the process of the deceleration printing, and the flying state of the ink drop is a key factor influencing the quality of the inkjet printing.
Therefore, in order to realize that the influence on the quality of a printed image is small when the light curtain triggers the deceleration printing, the ink jet compensation needs to be performed based on vision and a printer model, namely the drop point precision of ink drops is not influenced when the deceleration printing is performed, specifically, the calculation of second image data obtained by the printing trolley based on the second printing speed can specifically include:
based on the second printing speed, the computer automatically switches the verified driving waveform and calculates the flight theoretical track of the ink drop;
determining a printing initial position error, a position error among spray heads and a spray hole row position error based on the flight theoretical track;
and calculating second image data based on the printing start position error, the position error between the spray heads and the position error of the spray hole row.
Optionally, performing compensation enhancement processing on the second image data based on the visual error to obtain target image data may specifically include:
scanning each first pixel gray information in the corresponding first image data when printing at the first printing speed by adopting a color sensor;
calculating the gray information of each second pixel in the corresponding second image data when the second printing speed is printed by adopting a printer model;
calculating a visual error between the first pixel gray information and the second pixel gray information;
calculating self-adaptive compensation gain according to the image gray scale characteristics of the current area;
compensating each pixel in the second image data for the visual error by a compensation gain;
and carrying out edge enhancement on the compensated second image data to obtain target image data.
In the method, one of the parameters affecting the flying characteristics of the ink drop is the driving waveform of the piezoelectric ceramic of the nozzle, namely the driving waveform shape, voltage, pulse width and driving frequency of the piezoelectric ceramic. As shown in fig. 4, during the deceleration printing, the PM automatically switches the validated driving waveform according to the velocity, and calculates the flight theoretical trajectory of the ink droplet, so as to obtain the printing start position error, the inter-nozzle position error, and the nozzle row position error, and recalculate the next Band theoretical output image data.
Because the ductility of the ink on the surface of the printing stock makes the printing point of the ink-jet printing more approximate to a circle, when the output image data of the next Band theory is recalculated, an actual point printer model is adopted to calculate the gray value of each pixel of the output image.
And scanning gray information of each pixel of the image output by the last Band during normal printing by adopting a color sensor, and calculating visual errors of the front Band and the rear Band at different speeds. According to the image gray scale characteristics of the current area, calculating a self-adaptive compensation gain K, compensating each pixel of the original image for the visual error through the compensation gain K, and then carrying out edge enhancement on the compensated image to obtain new deceleration printing Band image output data. And starting the speed-down printing and outputting the image information.
Also, during the up-speed printing process, the flight trajectory, the position of the drop and the accuracy of the ink drop are changed due to the change of the printer speed, and the flight state of the ink drop is a key factor affecting the quality of the inkjet printing. Therefore, in order to ensure that the impact on the quality of the printed image is small when the light curtain triggers the speed-up printing, and ensure that the drop point precision of the ink drops is not affected when the speed-down printing is performed, the same method as the original method in fig. 4 is also required to ensure the printing quality, specifically, when the printing speed is increased from a low speed to a high speed, the PM automatically switches the verified driving waveform according to the speed, calculates the flight theoretical track of the ink drops, obtains the printing initial position error, the position error between the spray heads and the position error of the spray holes, and recalculates the next Band theoretical output image data.
And scanning gray information of each pixel of the image output by the last Band during normal printing by adopting a color sensor, calculating gray information of each pixel in the corresponding second image data during low-speed printing by adopting a printer model, and calculating visual errors of the front Band and the rear Band at low speed and normal speed. According to the image gray scale characteristics of the current area, calculating a self-adaptive compensation gain K, compensating each pixel of the original image for the visual error through the compensation gain K, and then carrying out edge enhancement on the compensated image to obtain new speed-up printing Band image output data, starting speed-up printing, and outputting image information.
In the above two embodiments, the printing speed is reduced from high speed to low speed or increased from low speed to high speed during printing, and the change of the printer speed causes the change of the ink drop flight track, the drop position and the precision, so that the compensation and the enhancement of the image based on the visual error and the printer model are required, thereby ensuring that the printing quality can be ensured even if the printing speed is changed during printing.
According to the invention, the light curtain sensor is adopted to identify the obstacle in the printing process, and when the obstacle is identified, the printing trolley is controlled to perform deceleration printing, and in the deceleration printing process, the ink jet compensation is performed based on the visual error, so that the drop point precision of ink drops is not influenced in the deceleration printing process, and the deceleration printing quality is ensured. When an obstacle exists in the printing process, the printing efficiency and the printing quality are considered under the premise of ensuring the printing safety.
Based on the same thought, the invention also provides a light curtain triggering deceleration printing device, as shown in fig. 5, the device can comprise:
the light curtain sensor trigger signal acquisition module 510 is configured to acquire a light curtain sensor trigger signal during a printing process; the light curtain sensor is arranged around the printer;
the first image data calculation module 520 is configured to calculate first image data obtained by the print dolly based on the first printing speed before the light curtain sensor trigger signal is acquired;
a second image data calculation module 530 for calculating second image data obtained by the print carriage based on the second printing speed;
a visual error calculation module 540 for calculating a visual error between the first image data and the second image data;
a target image data determining module 550, configured to perform compensation enhancement processing on the second image data based on the visual error, so as to obtain target image data;
and the deceleration printing module 560 is used for 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 finish the printing job.
Based on the apparatus in fig. 5, some specific implementation units may also be included:
optionally, the speed-down printing module 560 may specifically include:
the information acquisition unit is used for acquiring a printing initial position and a printing final position of the printing trolley, a current trigger position of the printing trolley when receiving the light curtain sensor trigger signal and a first printing speed of the current printing trolley;
the deceleration printing unit is used for completing the printing of the residual area as the main board is decelerated to a set second printing speed according to a set deceleration curve; the remaining area is an area between the trigger position and the printing end position.
Optionally, the speed-down printing unit may be specifically configured to:
controlling the printing trolley to run from the trigger position to the printing end position at the second printing speed, wherein the printing trolley does not execute printing operation at the moment;
after the printing trolley moves to the printing end position, controlling the printing trolley to return to a printing start position, and moving to the triggering position of a printed area at the second printing speed, and performing 0 supplementing processing on data in the printed area, wherein the printing trolley does not execute printing operation in the printed area; the printed area is an area between the printing starting position and the triggering position;
and controlling the printing trolley to start printing from the triggering position at the second printing speed, and finishing printing of the residual area.
Optionally, the apparatus may further include:
the detection unit is used for detecting whether the light curtain sensor stops triggering after finishing printing the residual area to obtain a detection result;
the deceleration printing continuous unit is used for continuing to print according to the second printing speed if the detection result indicates that the light curtain sensor is not triggered;
and the normal-speed printing unit is used for printing according to the first printing speed if the detection result indicates that the light curtain sensor is stopped to trigger.
Alternatively, the normal speed printing unit may be specifically configured to:
if the information that the light curtain sensor stops triggering is received in the process that the printing trolley prints according to the second printing speed, acquiring a triggering cancellation position of the information that the light curtain sensor stops triggering is received;
controlling the print trolley to continue to finish the regional print job from the trigger cancel position to the print end position at the second printing speed;
and after the print trolley continuously finishes the regional print job from the trigger cancel position to the print end position at the second printing speed, controlling the print trolley to return to the print start position, and printing at the first printing speed.
Optionally, the second image data calculating module 530 may specifically be configured to:
based on the second printing speed, the computer automatically switches the verified driving waveform and calculates the flight theoretical track of the ink drop;
determining a printing initial position error, a position error among spray heads and a spray hole row position error based on the flight theoretical track;
and calculating second image data based on the printing start position error, the position error between the spray heads and the position error of the spray hole row.
Optionally, the target image data determining module 550 may specifically be configured to:
scanning each first pixel gray information in the corresponding first image data when printing at the first printing speed by adopting a color sensor;
calculating the gray information of each second pixel in the corresponding second image data when the second printing speed is printed by adopting a printer model;
calculating a visual error between the first pixel gray information and the second pixel gray information;
calculating self-adaptive compensation gain according to the image gray scale characteristics of the current area;
compensating each pixel in the second image data for the visual error by a compensation gain;
and carrying out edge enhancement on the compensated second image data to obtain target image data.
Based on the same thought, the embodiment of the specification also provides a light curtain triggering deceleration printing device. As shown in fig. 6, may include:
the communication unit/communication interface is used for acquiring a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer;
the processing unit/processor is used for calculating first image data obtained by the print trolley based on the first printing speed before the light curtain sensor trigger signal is acquired;
calculating second image data obtained by the print trolley 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;
and 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 finish the printing job.
As shown in fig. 6, the terminal device may further include a communication line. The communication line may include a pathway to communicate information between the aforementioned components.
Optionally, as shown in fig. 6, the terminal device may further include a memory. The memory is used for storing computer-executable instructions for executing the scheme of the invention, and the processor is used for controlling the execution. The processor is configured to execute computer-executable instructions stored in the memory, thereby implementing the method provided by the embodiment of the invention.
As shown in fig. 6, the memory may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, without limitation. The memory may be stand alone and be coupled to the processor via a communication line. The memory may also be integrated with the processor.
Alternatively, the computer-executable instructions in the embodiments of the present invention may be referred to as application program codes, which are not particularly limited in the embodiments of the present invention.
In a specific implementation, as one embodiment, as shown in FIG. 6, the processor may include one or more CPUs, such as CPU0 and CPU1 in FIG. 6.
In a specific implementation, as an embodiment, as shown in fig. 6, the terminal device may include a plurality of processors, such as the processor in fig. 6. Each of these processors may be a single-core processor or a multi-core processor.
Based on the same thought, the embodiments of the present disclosure further provide a computer storage medium corresponding to the above embodiments, where instructions are stored, and when the instructions are executed, the method in the above embodiments is implemented.
The above description has been presented mainly in terms of interaction between the modules, and the solution provided by the embodiment of the present invention is described. It is understood that each module, in order to implement the above-mentioned functions, includes a corresponding hardware structure and/or software unit for performing each function. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the invention can divide the functional modules according to the method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. It should be noted that, in the embodiment of the present invention, the division of the modules is schematic, which is merely a logic function division, and other division manners may be implemented in actual implementation.
Although the invention is described herein in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Although the invention has been described in connection with specific features and embodiments thereof, it will be apparent that various modifications and combinations can be made without departing from the spirit and scope of the invention. Accordingly, the specification and drawings are merely exemplary illustrations of the present invention as defined in the appended claims and are considered to cover any and all modifications, variations, combinations, or equivalents that fall within the scope of the invention. It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. A light curtain triggering deceleration printing method, comprising:
acquiring a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer;
calculating first image data obtained by the print trolley based on the first printing speed before the light curtain sensor trigger signal is obtained;
calculating second image data obtained by the print trolley 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;
and 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 finish the printing job.
2. A light curtain triggering deceleration printing method according to claim 1, wherein controlling the print carriage to decelerate the first print speed to a second print speed and print the target image data at the second print speed, and completing the print job, comprises:
acquiring a printing initial position and a printing final position of a printing trolley, a current triggering position of the printing trolley when receiving the light curtain sensor triggering signal and a first printing speed of the current printing trolley;
the main board is slowed down to a set second printing speed according to a set deceleration curve, and printing of the residual area is completed; the remaining area is an area between the trigger position and the printing end position.
3. The light curtain triggering deceleration printing method according to claim 2, wherein the main board is decelerated to a set second printing speed according to a set deceleration curve, and printing of the remaining area is completed, specifically comprising:
controlling the printing trolley to run from the trigger position to the printing end position at the second printing speed, wherein the printing trolley does not execute printing operation at the moment;
after the printing trolley moves to the printing end position, controlling the printing trolley to return to a printing start position, and moving to the triggering position of a printed area at the second printing speed, and performing 0 supplementing processing on data in the printed area, wherein the printing trolley does not execute printing operation in the printed area; the printed area is an area between the printing starting position and the triggering position;
and controlling the printing trolley to start printing from the triggering position at the second printing speed, and finishing printing of the residual area.
4. A light curtain triggering deceleration printing method according to claim 3, wherein controlling the print carriage to decelerate the first print speed to a second print speed and print the target image data at the second print speed, further comprising, after completing the print job:
after the printing of the residual area is finished, detecting whether the light curtain sensor stops triggering or not to obtain a detection result;
if the detection result indicates that the light curtain sensor does not stop triggering, continuing to print according to the second printing speed;
and if the detection result shows that the light curtain sensor is stopped to trigger, printing according to the first printing speed.
5. The light curtain triggering deceleration printing method according to claim 4, wherein if said detection result indicates that said light curtain sensor has stopped triggering, printing at said first printing speed comprises:
if the information that the light curtain sensor stops triggering is received in the process that the printing trolley prints according to the second printing speed, acquiring a triggering cancellation position of the information that the light curtain sensor stops triggering is received;
controlling the print trolley to continue to finish the regional print job from the trigger cancel position to the print end position at the second printing speed;
and after the print trolley continuously finishes the regional print job from the trigger cancel position to the print end position at the second printing speed, controlling the print trolley to return to the print start position, and printing at the first printing speed.
6. A light curtain triggering deceleration printing method according to claim 1, wherein calculating second image data obtained by the print carriage based on the second printing speed comprises:
based on the second printing speed, the computer automatically switches the verified driving waveform and calculates the flight theoretical track of the ink drop;
determining a printing initial position error, a position error among spray heads and a spray hole row position error based on the flight theoretical track;
and calculating second image data based on the printing start position error, the position error between the spray heads and the position error of the spray hole row.
7. The light curtain triggering deceleration printing method according to claim 1, wherein the compensating and enhancing process is performed on the second image data based on the visual error to obtain target image data, specifically comprising:
scanning each first pixel gray information in the corresponding first image data when printing at the first printing speed by adopting a color sensor;
calculating the gray information of each second pixel in the corresponding second image data when the second printing speed is printed by adopting a printer model;
calculating a visual error between the first pixel gray information and the second pixel gray information;
calculating self-adaptive compensation gain according to the image gray scale characteristics of the current area;
compensating each pixel in the second image data for the visual error by a compensation gain;
and carrying out edge enhancement on the compensated second image data to obtain target image data.
8. A light curtain triggered deceleration printing device, comprising:
the light curtain sensor trigger signal acquisition module is used for acquiring a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer;
the first image data calculation module is used for calculating first image data obtained by the printing trolley based on the first printing speed before the light curtain sensor trigger signal is obtained;
a second image data calculation module for calculating second image data obtained by the print carriage based on a second printing speed;
a visual error calculation module for calculating a visual error between the first image data and the second image data;
the target image data determining module is used for carrying out compensation and enhancement processing on the second image data based on the visual error to obtain target image data;
and the speed-reducing printing module is used for 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 finish the printing job.
9. A light curtain triggered deceleration printing apparatus, the apparatus comprising:
the communication unit/communication interface is used for acquiring a light curtain sensor trigger signal in the printing process; the light curtain sensor is arranged around the printer;
the processing unit/processor is used for calculating first image data obtained by the print trolley based on the first printing speed before the light curtain sensor trigger signal is acquired;
calculating second image data obtained by the print trolley 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;
and 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 finish the printing job.
10. A computer storage medium having instructions stored therein that, when executed, implement the light curtain triggering deceleration printing method of any one of claims 1-7.
CN202310223324.0A 2023-03-09 2023-03-09 Light curtain triggering speed-reducing printing method, device and equipment Pending CN116985543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310223324.0A CN116985543A (en) 2023-03-09 2023-03-09 Light curtain triggering speed-reducing printing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310223324.0A CN116985543A (en) 2023-03-09 2023-03-09 Light curtain triggering speed-reducing printing method, device and equipment

Publications (1)

Publication Number Publication Date
CN116985543A true CN116985543A (en) 2023-11-03

Family

ID=88523869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310223324.0A Pending CN116985543A (en) 2023-03-09 2023-03-09 Light curtain triggering speed-reducing printing method, device and equipment

Country Status (1)

Country Link
CN (1) CN116985543A (en)

Similar Documents

Publication Publication Date Title
US7980655B2 (en) Printing method, printing system and method for determining correction value
JP6439582B2 (en) Handy mobile printer and its program
US10076878B2 (en) System for detecting inoperative inkjets in three-dimensional object printing using an optical sensor and reversible thermal substrates
JP5649401B2 (en) Ink jet recording apparatus and carriage control method
JP2008036825A (en) Image recorder, ink pre-ejection method by the same, and program
JP2002192740A (en) Printer performing dot miss inspection
EP3248793B1 (en) Flat bed printer
US6609777B2 (en) Determination of recording position misalignment adjustment value in main scanning forward and reverse passes
CN103847260B (en) Printing equipment
CN116985543A (en) Light curtain triggering speed-reducing printing method, device and equipment
JP2956467B2 (en) Ink jet recording device
US6039433A (en) Ink jet recording apparatus and control method thereof
CN102233746B (en) Printing device and printing method
JPH10217444A (en) Ink jet recorder
JP4206610B2 (en) Nozzle inspection apparatus and nozzle inspection method
JP6880939B2 (en) Recording device
US20150273915A1 (en) System For Detecting Inoperative Inkjets In Three-Dimensional Object Printing Using A Profilometer And Predetermined Test Pattern Printing
JPS6339432B2 (en)
JP3203930B2 (en) Ink jet recording device
JP2012035602A (en) Recorder, recording system, and recording module
JP4250901B2 (en) Head drive correction method for ink jet recording apparatus
JP4857665B2 (en) Inspection method of conveyance error
JP2008143150A (en) Inkjet recording device and method for detecting ink delivery condition
KR20220022744A (en) Portable printer of estimating coordinate using coded pattern
JP2001191504A (en) Device for controlling printer

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination