In a conventional printer, a printhead is mounted on a carriage. In a printing pass, the carriage moves over print media in a width direction and the printhead makes marks on the print media. At the end of the pass, a media advance apparatus advances the print media. After multiple passes, an image can be formed on the print media.
There can be variation in the distance by which the media is advanced after each pass. This variation may arise due to manufacturing variability, wear in the media advance apparatus, or due to the use of media of different types or thicknesses. When printing detailed images, variation in print media advance may affect the print quality. When a QR code or barcode is printed, this may impact the reading of the QR code or barcode. Media advance can be calibrated to correct this variation.
A printer 10 comprises a print carriage 12 with a printhead 14, a line sensor 16, a processor 18 and a controller 20. The print carriage 12 is configured to print a calibration plot 22 onto print media P. The print carriage 12 may be configured to move across the width of the print media P, so that the printhead 14 can print marks on the print media. The controller 20 may be configured to control an advance apparatus 24 to advance the print media P after a pass of the print carriage 12 in an advance direction A.
The line sensor 16 may be provided on the print carriage 12 and may be configured to emit light onto the calibration plot 22 and measure the intensity of light reflected from the calibration plot 22 as the carriage 12 moves across the width of the print media. The line sensor 16 may thereby obtain an intensity signal across the width of the print media. The line sensor 16 being provided on the print carriage 12 may allow the intensity measurements to be obtained during printing.
The calibration plot 22 may be an interference plot, wherein a first pattern is printed and a second pattern is printed over the first pattern. The processor 18 is configured to determine a correction factor according to a position of a peak in the intensity measured by the line sensor 16, wherein the position of the peak corresponds to a position in the printed calibration plot 22 in which a portion of a first printed mark overlaps a portion of a second printed mark. The controller 20 is configured to adjust the distance by which print media is advanced according to the correction factor.
Conventional methods of manual calibration can be time-consuming. The line sensor 16 being configured to measure intensity of light of the calibration plot and the processor 18 being configured to determine the correction factor may provide an automatic method of calibration, which may reduce burden on the operator and may be time-saving. Furthermore, the automatic method may improve accuracy in determining the correction factor, and the apparatus may be configured to determine a correction factor to a greater resolution than when determining the determining the correction factor manually. The printing of a calibration pattern and the detection using a line sensor may allow the printer to be calibrated for a wide variety of types of media, for example generic vinyl, cast vinyl, PVC banner, coated paper, wall paper and canvas.
In an example, the interference pattern may be a Vernier pattern 26, as shown in
The Vernier pattern 26 may be printed by printing a regular line pattern 32 onto the print media, as shown in
The Vernier pattern 26 may comprise a plurality of columns, wherein the width of each column is defined by the width of the steps of the stepped line pattern 34. The processor 18 may be configured to determine a correction value based on the column of Vernier pattern in which the stepped line pattern 34 overlaps the regular line pattern 32.
The stepped pattern 34 may be printed so that in a predetermined column, preferably the central column, the stepped pattern would overlap the regular pattern if there was no error in the advance of the print media. If there is an error in the print advance, the column wherein the stepped line pattern 34 overlaps the regular line pattern 32 will indicate the correction value, because this column will indicate how much more or less the print media is advanced compared to the separation between the regular lines. The number of columns printed may depend on the resolution of the Vernier pattern 26, which determines the length of each step in the advance direction. Because the Vernier pattern 26 is read by a line sensor 16 rather than manually by eye, the resolution of the Vernier pattern 26 may be finer than that of a Vernier pattern printed for manual calibration.
A plurality of the calibration plots 22 may be printed. For example, a plurality of calibration plots 22 may be printed across the width of the print media, as shown in
The line sensor 16 is configured to reflect light from the calibration plot and measure the intensity of the reflected light. The line sensor 16 may be provided on the print carriage 12, after the printhead 14, as shown in
The processor 18 may be configured to determine that the first LED of the plurality of LEDs is functional if a predetermined proportion of the signal is between a lower level and a higher level. For example, if the LED sensor saturates at a value of 1023, if a test signal has more than 30% of measurement values greater than 1010 or more than 30% of measurement values below 50, then the processor may determine that the LED is not functional.
An example graphical representation of a sensor signal 50 is shown in
The processor 18 may be configured to determine the position of the peak based on the sensor signal.
The processor 18 may be configured to filter noise from the signal. The processor 18 may be configured to determine a black threshold value 62 in intensity and a white threshold value 64 of intensity, based on a minimum value 66 of intensity, which may correspond to the black region 28 or a region where no media is present, as shown in
The value of the black threshold 62 may be equal to the following relationship: (maximum value-minimumvalue)×α+minimum value. The value of the white threshold 64 may be equal to the following expression: (maximum value−minimum value×β+minimum value. The values of α and β may be determined experimentally. For example, α may be 0.23 and β may be 0.40.
The processor 18 may be configured to determine key points in the signal, as shown in
The processor 18 may be configured to detect the position of the portion of the signal corresponding to the Vernier pattern based on the up points 70 and down points 72. The processor 18 may be configured to determine vectors between neighbouring key points. The processor may be configured to detect the position of the Vernier pattern portion of the signal based on the determined vectors. For example, the processor 18 may be configured to determine the position of the black regions based on a value of a vector between a down point 72 and an up point 70 and the processor may be configured to determine the position of the Vernier pattern as being between two black regions 54. The processor may be configured to determine the position of the Vernier pattern based on a value of a vector of between an up point 70 and a down point 72 between the two black regions 54.
When the position of the Vernier pattern portion of the signal has been detected, the processor 18 may be configured to determine the position of the peak 60 in the Vernier pattern. The processor 18 may be configured to calculate a running average across the Vernier pattern with an interval corresponding to the width of a column. The processor 18 may be configured to discard from the running average calculation values greater than a predetermined value, for example greater than 90% of the maximum value. This may make the process more robust to isolated peaks.
The processor 18 may be configured to advance the running average ten points, to reduce CPU calculations. Experiments have indicated that this does not compromise the accuracy nor robustness of the determining the position of the peak. The processor 18 may be configured to find the maximum value inside the running average and convert it to the calibration value. For example, the processor may use the relationship:
calibration value=[−4+8×(position of Vernier point−left boundary position)/(right boundary position-left boundary position)]×δ
to determine the calibration value.
The processor 18 may be configured to discard signals corresponding to non-confident detected Vernier patterns. The processor 18 may be configured to determine a non-confident detected Vernier pattern according to the line sensor signal.
The processor 18 may be configured to determine a variance at an unprinted white region 52 adjacent the Vernier pattern portion 56. The processor 18 may be configured to determine whether the variance is greater than a predetermined value. The processor 18 may be configured to determine the detected Vernier pattern as a non-confident Vernier pattern if it is determined that the variance is greater than the predetermined value.
For example, as shown in
The processor 18 may be configured to determine a variance in the line sensor signal at the Vernier pattern 56. The processor 18 may be configured to determine whether the variance is greater than a second predetermined value. The processor 18 may be configured to determine the detected Vernier pattern as a non-confident Vernier pattern if it is determined that the variance is greater than the second predetermined value.
For example, as shown in
The processor 18 may be configured to determine a value of intensity of the peak in the Vernier pattern portion of the line sensor signal. The processor may be configured to determine whether the peak in intensity is less than a predetermined threshold, and may be configured to determine the detected Vernier pattern as a non-confident Vernier pattern if the peak in intensity is below the predetermined threshold.
For example, as shown in
The processor 18 may be configured to determine a detected Vernier pattern to be a non-confident pattern based on the presence of a second peak in the Vernier pattern portion 56 of the line sensor signal. For example, the processor 18 may be configured to determine whether the signal of the Vernier pattern comprises a maximum peak in intensity and a second peak with an intensity greater than a proportion of the intensity of the maximum peak and the separation of the maximum beak and second peak is greater than a predetermined distance.
For example, as shown in
After the non-confident Vernier patterns have been discarded, the processor 18 may be configured to determine the correction factor as an average of the plurality of the correction values from the accepted Vernier patterns. The processor 18 may be configured to determine whether the number of accepted Vernier patterns is greater than a minimum acceptance. For example, a minimum acceptance may be sixty Vernier patterns. This may reduce the error on the determined correction factor.
The processor 18 may be configured to determine the dispersion of each individual correction value against the average, the correction factor. The processor may be configured to determine a dispersion range which incorporates a majority of the individual correction values. In an example, it may be determined that an interval of ±0.75 incorporates the majority of the individual correction values. The processor 18 may analyse the non-confident Vernier patterns that were discarded due to there being a second peak in the Vernier pattern portion of the signal and may accept the discarded Vernier patterns in which the first peak or the second peak is within the dispersion range of the average and may determine the correction value of the peak that is within the dispersion range. This may increase the number of accepted Vernier patterns, without adding significant error to the determined correction factor.
The method comprises, in block 122, printing a calibration plot onto print media. Printing the calibration plot may comprise printing a Vernier pattern 26 by printing a regular line pattern onto the print media and printing a step line pattern on top of the regular line pattern, wherein the regular line pattern comprises a plurality of parallel lines separated by a constant distance and the step line pattern comprises a plurality of stepped lines wherein the length of each step is shorter than the separation distance between the parallel lines of the regular line pattern.
The method comprises, in block 124, scanning the printed media with a line sensor. Scanning the printed media with a line sensor may comprise reflecting light on the printed media and measuring the intensity of the reflected light. The method may comprise determining whether a first LED of a plurality of LEDs of the line sensor is functional, prior to the scanning the printed media.
The method comprises, in block 126, determining a correction factor based on a signal from the sensor indicating light intensity across a width of the printed calibration plot. Determining the correction factor may comprise determining a location along the width of the printed media in which a portion of the stepped lines overlap the regular lines. Determining the location may comprise determining a position of a peak in intensity in the line sensor signal.
The method may comprise filtering noise form the line sensor signal, by determining a black threshold value in intensity and a white threshold value in intensity.
Determining the position of the peak in intensity may comprise determining key points in the signal, wherein the key point comprise up points at which the signal comes from below the black threshold and crosses the white threshold and down points at which the signal comes from above the white threshold and crosses the black threshold. Determining the position of the peak in intensity may comprise determining vectors between neighbouring key points and detecting the position of the Vernier pattern based on the determined vectors.
The method may comprise determining a non-confident detected Vernier pattern according to the line sensor signal and discarding the non-confident detected Vernier pattern.
The method comprises, in block 128, adjusting the advance based on the correction factor.
The method may comprise printing a plurality of the calibration plots, and determining the correction factor may comprise determining an average of correction values based on signals from the line sensor for each of the calibration plots.
The method may comprise performing the printing the calibration plot, the scanning the printed media, the determining the correction factor and the automatically adjusting the advance each time a different media is used for printing.
Various elements and methods described herein may be implemented through the execution of machine-readable instructions by a processor.
The machine-readable storage medium comprises instructions to scan the printed media with a line sensor and instructions to determine a correction factor based on the signals from the sensor, wherein the signals from the sensor indicate light intensity across a width of the plurality of printed interference patterns. The machine-readable storage medium comprises instructions to control a printer to adjust the advance of print media based on the correction factor.
The machine-readable storage medium may comprise instructions to determine the correction factor determining a position of a peak in intensity in the line sensor signal. The machine-readable storage medium may comprise instructions to filter noise from the line sensor signal by determining a black threshold value in intensity and a white threshold value in intensity.
The machine-readable storage medium may comprise instructions to determine key points in the signal, wherein the key point comprise up points at which the signal comes from below the black threshold and crosses the white threshold and down points at which the signal comes from above the white threshold and crosses the black threshold. The machine-readable storage medium may comprise instructions to determine the position of the peak in intensity by determining vectors between neighbouring key points and detecting the position of the Vernier pattern based on the determined vectors.
The machine-readable storage medium may comprise instructions to discard a signal of a Vernier pattern if the Vernier pattern is determined to be a non-confident Vernier pattern.
According to examples described herein, advance calibration may be performed automatically, which may improve accuracy. Improved accuracy in advance calibration may improve print quality. Scanning the printed calibration plot using a line sensor provided on the print carriage may allow the intensity measurements to be obtained during printing. The printing of a Vernier pattern for determining the correction factor may improve accuracy of the advance calibration.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2020/040984 | 7/7/2020 | WO |