CN111993798A - Automatic correction method of page gap sensor - Google Patents

Automatic correction method of page gap sensor Download PDF

Info

Publication number
CN111993798A
CN111993798A CN202010806200.1A CN202010806200A CN111993798A CN 111993798 A CN111993798 A CN 111993798A CN 202010806200 A CN202010806200 A CN 202010806200A CN 111993798 A CN111993798 A CN 111993798A
Authority
CN
China
Prior art keywords
page
light
value
emitting
luminance
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.)
Granted
Application number
CN202010806200.1A
Other languages
Chinese (zh)
Other versions
CN111993798B (en
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.)
Fujian Start Computer Equipment Co ltd
Original Assignee
Fujian Start Computer Equipment 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 Fujian Start Computer Equipment Co ltd filed Critical Fujian Start Computer Equipment Co ltd
Priority to CN202010806200.1A priority Critical patent/CN111993798B/en
Publication of CN111993798A publication Critical patent/CN111993798A/en
Application granted granted Critical
Publication of CN111993798B publication Critical patent/CN111993798B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • B41J11/00Devices or arrangements  of selective printing mechanisms, e.g. ink-jet printers or thermal printers, for supporting or handling copy material in sheet or web form
    • B41J11/009Detecting type of paper, e.g. by automatic reading of a code that is printed on a paper package or on a paper roll or by sensing the grade of translucency of the paper

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

The invention relates to an automatic correction method of a page gap sensor. Traversing the light-emitting brightness setting values of the slit sensors, calculating the scores of the light-emitting brightness setting values, selecting the optimal light-emitting brightness, and taking the optimal light-emitting brightness as the light-emitting brightness of the slit sensors, thereby realizing the correction of the slit sensors. The method can be compatible with the difference between the machine types to the maximum extent, reduce the high-precision requirement required by the required page gap sensor, save the cost and can be matched with the offset of the page gap sensor caused by dust or aging after long-term use for adjustment.

Description

Automatic correction method of page gap sensor
Technical Field
The invention relates to the field of digital printing, in particular to an automatic correction method of a page gap sensor.
Background
The brightness of the page gap sensor of the existing printer is not adjustable, and the maximum brightness is generally used by default in order to adapt to different paper types. In this case, the aging of the seam sensor is accelerated, and the seam sensor becomes less able to recognize the seam. On the other hand, since the brightness of the light used is not necessarily the optimum brightness, there is a large difference in the recognition ability for different paper types, and the user experience is poor due to the need for recalibration when changing the paper.
Disclosure of Invention
The invention aims to provide an automatic correction method of a page gap sensor, which can be compatible with differences among machine types to the greatest extent, reduce the high-precision requirement required by the required page gap sensor, save the cost and can be adjusted by matching with the offset of the page gap sensor caused by dust or aging after long-term use.
In order to achieve the purpose, the technical scheme of the invention is as follows: an automatic correction method for a slit sensor is characterized in that the luminance setting values of all slit sensors are traversed, the scores of the luminance setting values are calculated, the optimal luminance is selected, and the optimal luminance is used as the luminance of the slit sensor, so that correction of the slit sensor is achieved.
In an embodiment of the present invention, before traversing the setting value of the light emitting brightness of the seam sensor, a process of measuring the length of the page by the seam sensor is further included.
In an embodiment of the present invention, the method is specifically implemented as follows:
step S1, setting the light-emitting brightness as default light-emitting brightness;
step S2, paper feeding;
step S3, if the accumulated paper feeding length is larger than or equal to the maximum page length, ending the correction process of the page gap sensor; if the accumulated paper feeding length is smaller than the maximum page length, printing points and reference lines corresponding to the current AD value;
step S4, judging whether two effective page gaps are found continuously, if so, calculating a page length value; otherwise, returning to execute the step S2;
step S5, setting initial light emitting brightness;
step S6: feeding the paper one page according to the page length value calculated in the step S4, printing points and reference lines corresponding to the real-time AD value of the page gap sensor in the page length while feeding the paper, and recording the AD value;
step S7, judging whether all the light-emitting brightness is traversed, if not, setting the light-emitting brightness as the next level light-emitting brightness, and returning to execute the step S6; if yes, go to step S8;
step S8, calculating the difference between the maximum AD value and the minimum AD value under all the light-emitting luminances, selecting the light-emitting luminance with the maximum AD value difference as the optimal light-emitting luminance, setting the optimal light-emitting luminance as the default light-emitting luminance of the slit sensor, and setting the minimum AD value collected under the light-emitting luminance as the paper-out reference value.
Compared with the prior art, the invention has the following beneficial effects: the method can be compatible with the difference between the machine types to the maximum extent, reduce the high-precision requirement required by the required page gap sensor, save the cost and can be matched with the offset of the page gap sensor caused by dust or aging after long-term use for adjustment; the method has the following specific advantages:
1. the difference of compatible different models and different page gap sensors reduces the precision requirement to the page gap sensor, practices thrift the cost.
2. The state of the current page seam sensor is judged by technicians in maintenance and production conveniently, and the working efficiency is improved.
3. The recognition capability of different paper types is improved, and the user experience is improved.
4. The service life of the page gap sensor is prolonged.
Drawings
FIG. 1 shows AD values of label paper with different light-emitting luminances.
FIG. 2 is a diagram illustrating a current label sheet length measured by using a default light emitting brightness.
FIG. 3 is a diagram of waveforms of AD values of the page gap sensor collected and printed by using the light emitting brightness of different gears.
FIG. 4 is a flowchart of the steps of measuring page length according to the present invention.
FIG. 5 is a flowchart illustrating steps of selecting an optimal luminance according to the present invention.
FIG. 6 is a flow chart of the present invention for identifying valid seams.
Detailed Description
The technical scheme of the invention is specifically explained below with reference to the accompanying drawings.
The invention provides an automatic correction method of a slit sensor, which traverses the setting value of the luminous brightness of each slit sensor, calculates the score of the setting value of each luminous brightness, selects the optimal luminous brightness, and takes the optimal luminous brightness as the luminous brightness of the slit sensor, thereby realizing the correction of the slit sensor. Before traversing the luminous brightness set value of the page gap sensor, the process of measuring the page length by the page gap sensor is also included. The method is concretely realized as follows:
step S1, setting the light-emitting brightness as default light-emitting brightness;
step S2, paper feeding;
step S3, if the accumulated paper feeding length is larger than or equal to the maximum page length, ending the correction process of the page gap sensor; if the accumulated paper feeding length is smaller than the maximum page length, printing points and reference lines corresponding to the current AD value;
step S4, judging whether two effective page gaps are found continuously, if so, calculating a page length value; otherwise, returning to execute the step S2;
step S5, setting initial light emitting brightness;
step S6: feeding the paper one page according to the page length value calculated in the step S4, printing points and reference lines corresponding to the real-time AD value of the page gap sensor in the page length while feeding the paper, and recording the AD value;
step S7, judging whether all the light-emitting brightness is traversed, if not, setting the light-emitting brightness as the next level light-emitting brightness, and returning to execute the step S6; if yes, go to step S8;
step S8, calculating the difference between the maximum AD value and the minimum AD value under all the light-emitting luminances, selecting the light-emitting luminance with the maximum AD value difference as the optimal light-emitting luminance, setting the optimal light-emitting luminance as the default light-emitting luminance of the slit sensor, and setting the minimum AD value collected under the light-emitting luminance as the paper-out reference value.
The following is a specific implementation of the present invention.
The page gap sensor uses different brightness for the same label paper, and the light transmission capacity of the label paper surface and the page gap is obviously different. As shown in fig. 1.
The identification of the label paper page gaps is realized by a method of judging the pressure difference between the paper surface AD value and the page gap AD value in real time. Therefore, the brightness with the maximum pressure difference between the paper surface AD value and the page gap AD value needs to be selected, so that various paper types can be identified correctly, frequent manual correction caused by paper type replacement is avoided, and user experience is improved. Meanwhile, as can be seen from fig. 1, the higher the brightness is, the better the pressure difference is, the maximum pressure difference is not necessarily, and the proper brightness is adopted, so that the aging of the seam sensor can be effectively delayed, and the service life of the seam sensor can be prolonged. Meanwhile, in order to facilitate technicians to judge the state of the page seam sensor better and faster in the production and maintenance processes, the visual automatic correction method is adopted for selecting the brightness of the page seam sensor.
The default light-emitting brightness is used to measure the current label paper length (as shown in fig. 2), and then the light-emitting brightness is adjusted by PWM, wherein the light-emitting brightness adjustable by the seam sensor is set to N steps. And acquiring the AD values of all the page gap sensors in one page length under each light-emitting brightness by traversing the N levels of light-emitting brightness, and selecting the light-emitting brightness with the maximum difference between the maximum AD value and the minimum AD value as default light brightness. For convenience of maintenance and judgment of the state of the sensor by production personnel, the acquired AD value and the reference line 1 are as follows: a scale of 1 is printed out (as shown in fig. 3).
The automatic correction method of the page gap sensor is divided into two steps of measuring the page length and selecting the optimal brightness, as shown in figures 4 and 5, and the specific process is as follows:
1. length of page
a) Setting the brightness as default brightness, and starting paper feeding;
b) if the accumulated paper feeding length is less than the maximum page length. Printing points and reference lines corresponding to the current AD value;
if two effective page gaps are found in the middle leaf, calculating a page length value and returning the page length value;
if the edge is in the middle, continuing searching for page gaps;
c) otherwise, if the accumulated paper feeding length is larger than or equal to the maximum page length, reporting that the page length is failed to be measured;
2. according to the measured page length value, traversing all available light-emitting brightness, and selecting an optimal value from the available light-emitting brightness, wherein the specific process is as follows:
a) setting the brightness as initial brightness;
b) printing points and reference lines corresponding to all real-time AD values in one page length, and recording the AD values;
c) if all the light-emitting brightness is traversed and finished;
calculating the difference value between the maximum AD value and the minimum AD value under all the light-emitting luminances, and selecting the light-emitting luminance with the maximum AD value difference value as the optimal light-emitting luminance;
setting the optimal brightness as the default brightness of the printer in the middle of the printing process, and setting the minimum AD value under the brightness as a paper shortage reference value;
d) otherwise, setting the light-emitting brightness as the next-level light-emitting brightness, and continuously printing and recording all real-time AD values in one page length.
As shown in fig. 6, the method for identifying a valid page seam includes the following two processes:
1. firstly, entering a searching process from paper surface to page gap:
a) and if the AD value of the current page gap sensor is larger than the AD value of the paper surface point A, updating the paper surface point A value into the AD value and the position of the current page gap sensor, and continuously sampling the next AD value.
b) Otherwise, if the difference value of the number of steps between the current position and the position of the paper surface point A is larger than N, the AD value and the position of the paper surface point A are updated to be the AD value and the position of the point with the maximum AD value between the current position and the paper surface point A.
c) Otherwise, if the difference value of the step numbers of the current position and the position of the paper surface A point is less than or equal to N and the difference value of the AD value of the paper surface A point and the current AD value is less than or equal to the set value of the page gap, the paper surface is still judged, and the next AD value is continuously sampled.
d) Otherwise, if the difference value of the step numbers of the current position and the position of the paper surface A point is smaller than or equal to N and the difference value of the AD value of the paper surface A point and the current AD value is larger than the page gap set value, the AD values and the positions of the page bottom B point and the page gap C point are updated to be the current page gap sensor AD value and position.
At this time, the process enters the searching process from the page seam to the paper surface.
2. Page seam to paper surface search process:
a) and if the AD value of the current page slot sensor is still smaller than the value of the page slot C point, continuously updating the AD value and the position of the page slot C point to be the AD value and the position of the current page slot sensor.
b) Otherwise, if the AD value of the current page gap sensor is larger than the sum of the AD values of 61.8% of the points A on the paper surface and 38.2% of the points C on the page gap, the page gap is judged to be found, and the AD value and the position of the point D on the paper surface are updated to be the AD value and the position of the current page gap sensor.
c) Otherwise, if the position of the current position, which is far away from the point B at the bottom of the page, exceeds the maximum page gap length, the paper shortage is judged.
After the seam is judged to be found in the seam identification process, the seam point information is recorded, including the positions of the paper edges at two sides of the label paper seam (namely the position of a bottom point B of the page and the position of a top point D of the next page).
The above are preferred embodiments of the present invention, and all changes made according to the technical scheme of the present invention that produce functional effects do not exceed the scope of the technical scheme of the present invention belong to the protection scope of the present invention.

Claims (3)

1. An automatic correction method for a slit sensor is characterized in that the luminance setting values of all slit sensors are traversed, scores of the luminance setting values are calculated, optimal luminance is selected, and the optimal luminance is used as the luminance of the slit sensor, so that correction of the slit sensor is achieved.
2. The method of claim 1, further comprising measuring page length by the page slot sensor before traversing the setting of the illumination brightness of the page slot sensor.
3. The method for automatically correcting a page gap sensor according to claim 2, wherein the method is implemented as follows:
step S1, setting the light-emitting brightness as default light-emitting brightness;
step S2, paper feeding;
step S3, if the accumulated paper feeding length is larger than or equal to the maximum page length, ending the correction process of the page gap sensor; if the accumulated paper feeding length is smaller than the maximum page length, printing points and reference lines corresponding to the current AD value;
step S4, judging whether two effective page gaps are found continuously, if so, calculating a page length value; otherwise, returning to execute the step S2;
step S5, setting initial light emitting brightness;
step S6: feeding the paper one page according to the page length value calculated in the step S4, printing points and reference lines corresponding to the real-time AD value of the page gap sensor in the page length while feeding the paper, and recording the AD value;
step S7, judging whether all the light-emitting brightness is traversed, if not, setting the light-emitting brightness as the next level light-emitting brightness, and returning to execute the step S6; if yes, go to step S8;
step S8, calculating the difference between the maximum AD value and the minimum AD value under all the light-emitting luminances, selecting the light-emitting luminance with the maximum AD value difference as the optimal light-emitting luminance, setting the optimal light-emitting luminance as the default light-emitting luminance of the slit sensor, and setting the minimum AD value collected under the light-emitting luminance as the paper-out reference value.
CN202010806200.1A 2020-08-12 2020-08-12 Automatic correction method of page gap sensor Active CN111993798B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010806200.1A CN111993798B (en) 2020-08-12 2020-08-12 Automatic correction method of page gap sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010806200.1A CN111993798B (en) 2020-08-12 2020-08-12 Automatic correction method of page gap sensor

Publications (2)

Publication Number Publication Date
CN111993798A true CN111993798A (en) 2020-11-27
CN111993798B CN111993798B (en) 2022-04-12

Family

ID=73463927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010806200.1A Active CN111993798B (en) 2020-08-12 2020-08-12 Automatic correction method of page gap sensor

Country Status (1)

Country Link
CN (1) CN111993798B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005314047A (en) * 2004-04-28 2005-11-10 Sato Corp Printing apparatus
CN101386235A (en) * 2007-09-12 2009-03-18 精工爱普生株式会社 Printing method, printing device, and method of producing printing material
CN102514387A (en) * 2008-07-30 2012-06-27 精工爱普生株式会社 Paper width detection method for a label printer
JP2012131165A (en) * 2010-12-22 2012-07-12 Sato Knowledge & Intellectual Property Institute Thermal printer, and method for detecting label sheet in thermal printer
CN103842800A (en) * 2011-09-30 2014-06-04 3M创新有限公司 Web inspection calibration system and related methods
CN106956519A (en) * 2017-04-24 2017-07-18 福建实达电脑设备有限公司 One kind printing paper mold recognition methods
CN206913944U (en) * 2017-04-24 2018-01-23 福建实达电脑设备有限公司 One kind printing paper mold identification device
CN109657606A (en) * 2018-12-17 2019-04-19 上海箩箕技术有限公司 The bearing calibration of optical fingerprint sensor mould group
CN110365405A (en) * 2019-06-24 2019-10-22 深圳怡化电脑股份有限公司 Photoelectric sensor detection method, device, readable storage medium storing program for executing and terminal device
CN110537874A (en) * 2018-11-02 2019-12-06 添可智能科技有限公司 Dust collector display device and dust collector
CN111134573A (en) * 2018-11-02 2020-05-12 添可智能科技有限公司 Method for improving precision of dust detection sensor

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005314047A (en) * 2004-04-28 2005-11-10 Sato Corp Printing apparatus
CN101386235A (en) * 2007-09-12 2009-03-18 精工爱普生株式会社 Printing method, printing device, and method of producing printing material
CN102514387A (en) * 2008-07-30 2012-06-27 精工爱普生株式会社 Paper width detection method for a label printer
JP2012131165A (en) * 2010-12-22 2012-07-12 Sato Knowledge & Intellectual Property Institute Thermal printer, and method for detecting label sheet in thermal printer
CN103842800A (en) * 2011-09-30 2014-06-04 3M创新有限公司 Web inspection calibration system and related methods
CN106956519A (en) * 2017-04-24 2017-07-18 福建实达电脑设备有限公司 One kind printing paper mold recognition methods
CN206913944U (en) * 2017-04-24 2018-01-23 福建实达电脑设备有限公司 One kind printing paper mold identification device
CN110537874A (en) * 2018-11-02 2019-12-06 添可智能科技有限公司 Dust collector display device and dust collector
CN111134573A (en) * 2018-11-02 2020-05-12 添可智能科技有限公司 Method for improving precision of dust detection sensor
CN109657606A (en) * 2018-12-17 2019-04-19 上海箩箕技术有限公司 The bearing calibration of optical fingerprint sensor mould group
CN110365405A (en) * 2019-06-24 2019-10-22 深圳怡化电脑股份有限公司 Photoelectric sensor detection method, device, readable storage medium storing program for executing and terminal device

Also Published As

Publication number Publication date
CN111993798B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN109712162B (en) Cable character defect detection method and device based on projection histogram difference
CN103198304B (en) A kind of palmmprint extracts recognition methods
CN102521560A (en) Instrument pointer image identification method of high-robustness rod
CN112785545B (en) Abnormal lamp bead positioning method and device and storage medium
CN111993798B (en) Automatic correction method of page gap sensor
CN107613229A (en) A kind of dead pixels of image sensor surveys means for correcting and method
CN112258460A (en) Printed product quality real-time monitoring and quality inspection system based on image recognition
CN110929720B (en) Component detection method based on LOGO matching and OCR
CN100562134C (en) A kind of test macro of digital display device and method of testing thereof
CN107527056A (en) A kind of character segmentation method based on coarse positioning car plate
CN114771107B (en) Ink jet numbering machine system capable of recognizing code spraying positions for intelligent manufacturing production line
CN111092832B (en) Method for making Morse code deep learning training data
CN115302959B (en) Black label printing method and printer based on multiple sensors
CN110516725A (en) The detection method of plank fringe spacing and color based on machine vision
CN112884821B (en) Method for making super-long train template image
CN102929447B (en) A kind of extracting method of perception image effective area of optical sensor
CN111982923A (en) Paper defect detection driving power supply optimization method based on stroboscopic imaging principle
CN100526865C (en) Method for framing images of detecting printing defect of winding drum package
CN112785963B (en) LED lamp bead positioning method and device and storage medium
CN111546793B (en) Processing method and system for paper detection threshold of printer
CN210775274U (en) System for automatically detecting and eliminating defects of pipe-making printing
CN111640122A (en) Light spot positioning and dividing method for LED (light emitting diode) special-shaped display screen based on connected domain
CN110864881B (en) Indicator lamp correctness detection method based on visual system
CN108454258B (en) Collating detection method
CN213813997U (en) Outdoor display screen and environment detection device

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
GR01 Patent grant
GR01 Patent grant