US5293047A - Method and an apparatus for detecting indices of paper based on a replaceable intermediate or average threshold value - Google Patents

Method and an apparatus for detecting indices of paper based on a replaceable intermediate or average threshold value Download PDF

Info

Publication number
US5293047A
US5293047A US07/926,419 US92641992A US5293047A US 5293047 A US5293047 A US 5293047A US 92641992 A US92641992 A US 92641992A US 5293047 A US5293047 A US 5293047A
Authority
US
United States
Prior art keywords
indices
value
maximum
threshold value
values
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.)
Expired - Lifetime
Application number
US07/926,419
Inventor
Hideaki Matsuda
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.)
Tohoku Ricoh Co Ltd
Original Assignee
Tohoku Ricoh 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 Tohoku Ricoh Co Ltd filed Critical Tohoku Ricoh Co Ltd
Assigned to TOHOKU RICOH CO., LTD. reassignment TOHOKU RICOH CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST. Assignors: MATSUDA, HIDEAKI
Application granted granted Critical
Publication of US5293047A publication Critical patent/US5293047A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

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/36Blanking or long feeds; Feeding to a particular line, e.g. by rotation of platen or feed roller
    • B41J11/42Controlling printing material conveyance for accurate alignment of the printing material with the printhead; Print registering
    • B41J11/46Controlling printing material conveyance for accurate alignment of the printing material with the printhead; Print registering by marks or formations on the paper being fed
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V8/00Prospecting or detecting by optical means
    • G01V8/10Detecting, e.g. by using light barriers
    • G01V8/12Detecting, e.g. by using light barriers using one transmitter and one receiver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light

Definitions

  • This invention generally relates to a method and an apparatus for detecting the positions of indices which differentiates an amount of transmission light or reflection light and are provided on an elongated base paper along its longitudinal direction with a predetermined distance therebetween (such as, labels or between labels) adhered to an elongated paper or eye marks printed on an elongated paper or notches formed on a tag paper.
  • an apparatus of this kind there is, for example, a label detection apparatus for a label printer as described in Japanese Patent Publication No. 1-44573.
  • This label detection apparatus detects the positions of the labels by comparing an output from a light detector with a predetermined standard value (a threshold value), wherein the light detector is installed on a feed path or an elongated base paper to which the labels are adhered so as to detect an amount of transmission light through both the portion of the base paper alone and the portion where the labels are adhered.
  • a predetermined standard value a threshold value
  • the apparatus detects and memorizes a peak value of an output from the light detector, and, based upon the memorized value, reestablishes a new standard value for a new label (every time the base paper is moved up for a distance of a pitch of the adhered labels).
  • the apparatus ensures the detection of label positions without fail by alternating the level of the standard value in response to those changes.
  • a new standard value (a threshold value) is set, if an extraordinary detected value is put out in a range of a single-label detection (for example, in a case where the light detector passes over a hole or a perforation between labels), the extraordinary value is memorized as the peak value, and a new standard value is calculated and determined for the next label detection based upon the extraordinary value. Then, it becomes impossible to perform the subsequent label detection and the printer will cease to operate.
  • the object of this invention is to solve the problems described above, and enables, even if there is a minor problem on the elongated paper such that it does not cause any problem for the subsequent process, to continue accurate detection of the positions of the indices on the elongated paper which indices differentiate an amount of transmission light or reflection light on or through the labels or therebetween.
  • the above-mentioned threshold value is redetermined based upon the peak value among the outputs by the light detector during a period in which the indices of at least three or more are detected during feeding of the paper.
  • the indices detection apparatus has the light detector provided in the feed path of the above-mentioned elongated paper for detecting the indices provided on the elongated paper with a distance while differentiating an amount of transmission or reflection light and further has a comparative detection means for detecting the positions of the above-described indices by comparing the outputs from the light detector with the threshold value, wherein the indices detecting apparatus is further provided with the following means, labelled (a) through (e):
  • a proper-peak-value determination means for determining proper maximum and minimum values based upon the maximum and the minimum values stored in the maximum and minimum value memorization means after detecting at least three indices;
  • a threshold-value operation means for operating a new threshold value based upon the maximum and the minimum values determined by the proper-peak-value determination means
  • a threshold-value re-determination means for determining the new threshold value operated by the threshold value operation means as a new threshold value.
  • the method of detecting the indices on the elongated paper of this invention every time at least three indices are detected, it is possible to re-determine the threshold value based upon, for example, an intermediate value or an averaged value out of those detected indices.
  • the threshold value based upon, for example, an intermediate value or an averaged value out of those detected indices.
  • the threshold value is further determined based upon the maximum and the minimum values of the detected signals by the light detector.
  • FIG. 1 illustrates a block circuit of an indices detection apparatus of an embodiment of the invention
  • FIG. 2 illustrates a diagonal view to show a base paper adhered with labels to be detected according to this embodiment, and a sensor path for a light detector;
  • FIG. 3 illustrates a block diagram to show a functional structure of an indices detection unit shown in FIG. 1;
  • FIGS. 4A-4D illustrate an explanatory drawing to show relationship between the label-adhered base paper and each signal to explain the function of an index position detection and threshold value renewal according to the embodiment
  • FIG. 5 illustrates an explanatory drawing to show an example of the detected signals by the light detector and the threshold value renewal by a conventional label detection apparatus
  • FIG. 6 illustrates an explanatory drawing to show an example of the detected signals by the light detector and the threshold value renewal according to the embodiment of this invention
  • FIG. 7 illustrates a diagonal view of the base paper to show a second example of the indices to be detected by this invention
  • FIG. 8 illustrates a diagonal view of a heat sensitive paper to show a third example of the indices to be detected by this invention.
  • FIG. 9 illustrates a diagonal view of the base paper to show a fourth example of the indices to be detected by this invention.
  • FIG. 1 is a block circuit of the indices detection apparatus for performing the method for detecting the indices on the base paper according to this invention.
  • the apparatus has light detector 1, a power source circuit, indices detection unit 2, and a main control unit 3.
  • the drawings of a mechanical unit are not shown since they are the same as the conventional apparatuses.
  • Light detector 1 uses, in this embodiment, a transmittal-type photo sensor in which light emitting diode (LED) 1a and photo transistor 1b of a light receiving member are installed facing each other with a slit in between.
  • LED light emitting diode
  • Light detector 1 is set in a feed path of an elongated paper 4 on which labels 5 are adhered with a distance therebetween along its longitudinal direction, as shown in FIG. 2. It is arranged such that the sensing path, shown by a dotted line in FIG. 2, runs between LED 1a and photo transistor 1b of the light detector 1.
  • Light detector 1 respectively converts an amount of transmission light which passes through a portion A of the base paper 4 alone between adjacent labels 5, 5 (in this embodiment, this portion is called an index or a reference), and a portion B where a label 5 is adhered to, into an electric signal respectively as an output.
  • LED 1a of light detector 1 radiates upon receipt of an input of +5 V from a power source, and protective resistance R1 is interposed in a path to the ground.
  • photo transistor 1b an electric current runs corresponding to the received light amount, and is converted into voltage signal Vs by resistance R2 and inputted to indices detection unit 2.
  • Indices detection unit 2 constantly receives voltage signal Vs (hereinafter referred to as "detected signal”) of an analog output signal from the light detector 1, and from main control unit 3, signal S1 is transmitted and inputted to indices detection unit 2 each time that the base paper 4 is fed for a predetermined distance (this is equivalent to the distance of a pitch of adhered labels 5 and is hereinafter referred to as "one page length") necessary to detect one index of base paper 4 (between labels 5 and 5).
  • Vs voltage signal
  • main control unit 3 signal S1 is transmitted and inputted to indices detection unit 2 each time that the base paper 4 is fed for a predetermined distance (this is equivalent to the distance of a pitch of adhered labels 5 and is hereinafter referred to as "one page length") necessary to detect one index of base paper 4 (between labels 5 and 5).
  • indices detection unit 2 is provided with comparative detection means 21, peak detection means 22, maximum-and-minimum value memorization means 23, proper-peak-value determination means 24, threshold value operation means 25, and threshold value redetermination means 26.
  • detected signal Vs is compared with a predetermined threshold value by comparative detection means 21, and binary indices detection signal S2 is outputted and transmitted to main control unit 3 when detected signal Vs exceeds the threshold value.
  • the maximum and minimum values Vs(max) and Vs(min) are detected by peak-value detection means 22 and memorized by maximum-and-minimum-value memorization means 23.
  • Proper-peak-value determination means 24 determines the proper maximum and minimum values based upon the respective maximum and minimum values of the detected signal Vs memorized in maximum-and-minimum-value memorization means 23 each time that at least three indices are detected while base paper 4 is fed as shown in FIG. 2. That is, when base paper 4 is fed for a distance of at least a three-page length (for each time, at least three signals S1 are inputted).
  • threshold value operation means 25 operates a new threshold value
  • threshold value redetermination means 26 redetermines the operated threshold value as a new threshold value for comparative detection means 21.
  • These functional means 21-26 can be made by a wired logic circuit. However, it is also easily accomplished by using a microcomputer comprised of CPU, RAM or ROM, and others. In this case, detected signals Vs must be converted through A/D conversion and digitalized.
  • Vs(max) and minimum (Vs(min) values are the intermediate values among the maximum values, Vs1(max), Vs2(max) and Vs3(max); and the minimum values, Vs1(min), Vs2(min), and Vs3(min), respectively, of detected signal Vs memorized in maximum-and-minimum-value memorization means 23.
  • Vs1(min), Vs2(min), and Vs3(min) are the intermediate values among the maximum values, Vs1(max), Vs2(max) and Vs3(max); and the minimum values, Vs1(min), Vs2(min), and Vs3(min), respectively, of detected signal Vs memorized in maximum-and-minimum-value memorization means 23.
  • Vs3(max) and Vs1(min) are determined as the maximum and minimum values, respectively.
  • threshold value operation means 25 operates a new threshold value, for example, by the following formulas:
  • VH is a threshold value for a period of rising in detected signal Vs
  • VL is a threshold value for a period of falling thereof.
  • the numbers are not limited to "5/8" and "3/8". It is aimed to provide a superior performance against noises by setting a hysteresis for threshold value VH used when detected signal Vs is rising and a threshold value VL used when the signal is falling. If stable detected signal Vs can be obtained, the new threshold value for both the periods of rising and falling in detected signal Vs can be the intermediate value among the maximum and minimum values calculated by the following formula:
  • threshold-value redetermination means 26 redetermines and renews a threshold value for comparative detection means 21.
  • detected signal Vs of light detector 1 is digitalized (into binary code) in a next multiple page feeding of at least three pages, and based upon the new threshold value operated in the next multiple page feeding of at least three pages, detected signal Vs is digitalized further in a subsequent multiple page feeding of at least three pages. This process is repeated further.
  • the renewal of the threshold value is easily done in indices detection unit 2 by supervising signals S1 for predetermined pages (multiple pages of at least three), shown by (c) in FIG. 4, sent from main control unit 3, in every page feeding of base paper 4, shown by (a) in FIG. 4, along the direction of an arrow A.
  • detected signal Vs shown by (b)in FIG. 4, from light detector 1 is digitalized into a binary code by each threshold value VH and VL, and indices detection signal S2, shown by (d) in FIG. 4, is sent from indices detection unit 2 to main control unit 3.
  • main control unit 3 can detect the front end position of a label 5 along the feed direction at every page by the falling in signal S2.
  • threshold values of rising and falling periods are VHO and VLO, as shown in the left end of FIG. 4(b), then as to pages 1, 2 and 3, detected signals Vs are digitalized based upon threshold values VHO and VLO and indices detection signal S2 is generated, as shown in (d) of the figure.
  • the threshold values are renewed to those values, and as to pages 4, 5 and 6, detected signal Vs is digitalized by these new threshold values, and indices detection signal S2 is generated.
  • Vs3(min)' ⁇ Vs2(min)' ⁇ Vs1(min)'.
  • Vs3(max)' and Vs2(min)' are employed.
  • the threshold values VH and VL are renewed in every three-page feeding in the same manner.
  • FIG. 5 shows the relationship between detected signal Vs and the threshold values in every one page feeding as required in the conventional method, with the minimum values are identical for every page for the sake of convenience.
  • threshold values are VHa' and VLa', detected signals Vs described with respect to pages 1-3 are digitalized by those threshold values and, in pages 4-6, the threshold values are renewed based upon the maximum and minimum values of detected signals Vs in pages 1-3.
  • the threshold value is determined based upon the intermediate maximum value of page 1, and will not be renewed based upon the abnormal value of page 2.
  • detected signals Vs detected in subsequent pages 4-6 are digitalized by new threshold values VHb' and VLb' determined by the maximum and minimum values of page 1, and there is then no case where the detection becomes impossible as shown in FIG. 5.
  • the problem is prevented wherein due to a slight abnormality in the base paper or in the label itself so minor that it should not cause any problem for the subsequent label processing, the subsequent label detection nevertheless becomes impossible so as to stop a printing apparatus like a printer and others, and to cause the operator's involvement, and attains an advantage such that the positions of the indices (reference) is detected in a stable fashion.
  • This is due to the fact that the abnormal or extraordinary value as described above, is excluded since the threshold value is renewed based upon the intermediate or averaged value among the peak values of the detected signals in each of the three pages.
  • a photo sensor of a reflecting type is used as the light detector by setting, for example, a base paper 4 to a dark color and a label 5 to a light color. This means that an amount of either the passed light through or reflected light from either base paper 4 or label 5 differ in an infinite variety and so is an amount of either the passed light through or reflected light from the combination of base paper 4 and label 5 adhered thereto.
  • the threshold (standard) value is determined based upon the maximum and minimum values of detected signal Vs.
  • the apparatus can work well regardless of the change in the level of the detected signals caused by the floating of the base paper or the like, or of the foreign noise caused to the detected signals.
  • elongated base paper 4 is provided with labels 5 adhered thereto with a distance therebetween along its longitudinal direction; and intermediate portions alone between adjacent labels 5 of base paper 4 are used as the indices (references), the indices can be the labels themselves.
  • the photo sensor of reflected-type by printing eye marks 6 for showing the adhering positions of labels 5 at the underside of base paper 4, as shown in FIG. 7, or by printing eye marks 8 with a distance therebetween on heat sensitive paper 7 along its longitudinal direction, as shown in FIG. 8, these eye marks 6 or 8 can be used as the indices.
  • the present invention is also effective where a number of different indices are used.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Geophysics (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Labeling Devices (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

In detecting indices (references) provided on a base paper with a distance therebetween along the longitudinal direction of the base paper, wherein either passed or reflected light amount through or from the indices differs, by a light detector positioned on a feed path while the indices are fed along the longitudinal direction, a threshold value is renewed each time when at least three indices are detected based upon peak values (maximum and minimum values) of output signals from the light detector. This is accomplished by renewing the threshold value by calculating the new threshold value based upon an intermediate or average value among the peak values between, for example, the indices in order to continue the indices position detecting process in an accurate fashion even if there is an abnormality in the base paper or others when the abnormality is minor such that it does not interfere with the subsequent process.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention generally relates to a method and an apparatus for detecting the positions of indices which differentiates an amount of transmission light or reflection light and are provided on an elongated base paper along its longitudinal direction with a predetermined distance therebetween (such as, labels or between labels) adhered to an elongated paper or eye marks printed on an elongated paper or notches formed on a tag paper.
2. Description of Prior Art
As to an apparatus of this kind, there is, for example, a label detection apparatus for a label printer as described in Japanese Patent Publication No. 1-44573.
This label detection apparatus detects the positions of the labels by comparing an output from a light detector with a predetermined standard value (a threshold value), wherein the light detector is installed on a feed path or an elongated base paper to which the labels are adhered so as to detect an amount of transmission light through both the portion of the base paper alone and the portion where the labels are adhered.
The apparatus detects and memorizes a peak value of an output from the light detector, and, based upon the memorized value, reestablishes a new standard value for a new label (every time the base paper is moved up for a distance of a pitch of the adhered labels).
Therefore, even if a detection level has changed due to changes of external lights or label paper quality, or by contamination on the light detector, the apparatus ensures the detection of label positions without fail by alternating the level of the standard value in response to those changes.
With the conventional apparatus, however, for each new upcoming label, a new standard value (a threshold value) is set, if an extraordinary detected value is put out in a range of a single-label detection (for example, in a case where the light detector passes over a hole or a perforation between labels), the extraordinary value is memorized as the peak value, and a new standard value is calculated and determined for the next label detection based upon the extraordinary value. Then, it becomes impossible to perform the subsequent label detection and the printer will cease to operate.
However, the above teachings of the conventional apparatus requires an operator even if there is nothing wrong in the printing of the labels.
SUMMARY OF THE INVENTION
The object of this invention is to solve the problems described above, and enables, even if there is a minor problem on the elongated paper such that it does not cause any problem for the subsequent process, to continue accurate detection of the positions of the indices on the elongated paper which indices differentiate an amount of transmission light or reflection light on or through the labels or therebetween.
According to the method of detecting the indices on the elongated paper of this invention, in detecting the positions of the indices which differentiates an amount of transmission light or reflection light and are provided on the elongated paper with a distance therebetween, the above-mentioned threshold value is redetermined based upon the peak value among the outputs by the light detector during a period in which the indices of at least three or more are detected during feeding of the paper.
Also, in order to perform this method more favorably, the indices detection apparatus has the light detector provided in the feed path of the above-mentioned elongated paper for detecting the indices provided on the elongated paper with a distance while differentiating an amount of transmission or reflection light and further has a comparative detection means for detecting the positions of the above-described indices by comparing the outputs from the light detector with the threshold value, wherein the indices detecting apparatus is further provided with the following means, labelled (a) through (e):
(a) a peak value detection means for detecting the maximum and minimum values among the outputs from the light detector in a predetermined feed distance of the paper necessary for detecting one index described above;
(b) a maximum-and-minimum value memorization means for memorizing the maximum and minimum values detected by the peak value detection means;
(c) a proper-peak-value determination means for determining proper maximum and minimum values based upon the maximum and the minimum values stored in the maximum and minimum value memorization means after detecting at least three indices;
(d) a threshold-value operation means for operating a new threshold value based upon the maximum and the minimum values determined by the proper-peak-value determination means; and
(e) a threshold-value re-determination means for determining the new threshold value operated by the threshold value operation means as a new threshold value.
Therefore, according to the method of detecting the indices on the elongated paper of this invention, every time at least three indices are detected, it is possible to re-determine the threshold value based upon, for example, an intermediate value or an averaged value out of those detected indices. Thus, there will be no occurrence of a case whereby the later index detection becomes impossible when the threshold value has been dramatically changed because of a single detection of the peak value due to an abnormality of the elongated paper or of the indices, and it is possible to detect the positions of the indices in a stable fashion.
According to the indices detection apparatus of this invention, the threshold value is further determined based upon the maximum and the minimum values of the detected signals by the light detector.
Accordingly, it is always possible to accurately detect the positions of the indices regardless of the kinds of papers or indices in use since the determination of the proper threshold value is always performed no matter how large or small the difference of the level is among the detected signals between the portion of paper where an index exists and the other position where no index exists.
The above and other objects, features and advantages of the invention will be apparent from the following detailed description which is to be read in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates a block circuit of an indices detection apparatus of an embodiment of the invention;
FIG. 2 illustrates a diagonal view to show a base paper adhered with labels to be detected according to this embodiment, and a sensor path for a light detector;
FIG. 3 illustrates a block diagram to show a functional structure of an indices detection unit shown in FIG. 1;
FIGS. 4A-4D illustrate an explanatory drawing to show relationship between the label-adhered base paper and each signal to explain the function of an index position detection and threshold value renewal according to the embodiment;
FIG. 5 illustrates an explanatory drawing to show an example of the detected signals by the light detector and the threshold value renewal by a conventional label detection apparatus;
FIG. 6 illustrates an explanatory drawing to show an example of the detected signals by the light detector and the threshold value renewal according to the embodiment of this invention;
FIG. 7 illustrates a diagonal view of the base paper to show a second example of the indices to be detected by this invention;
FIG. 8 illustrates a diagonal view of a heat sensitive paper to show a third example of the indices to be detected by this invention; and
FIG. 9 illustrates a diagonal view of the base paper to show a fourth example of the indices to be detected by this invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The embodiment of this invention is hereinafter explained with reference to the drawings.
FIG. 1 is a block circuit of the indices detection apparatus for performing the method for detecting the indices on the base paper according to this invention. The apparatus has light detector 1, a power source circuit, indices detection unit 2, and a main control unit 3. The drawings of a mechanical unit (such as, a base paper feed unit and others) are not shown since they are the same as the conventional apparatuses.
Light detector 1 uses, in this embodiment, a transmittal-type photo sensor in which light emitting diode (LED) 1a and photo transistor 1b of a light receiving member are installed facing each other with a slit in between.
Light detector 1 is set in a feed path of an elongated paper 4 on which labels 5 are adhered with a distance therebetween along its longitudinal direction, as shown in FIG. 2. It is arranged such that the sensing path, shown by a dotted line in FIG. 2, runs between LED 1a and photo transistor 1b of the light detector 1.
Light detector 1 respectively converts an amount of transmission light which passes through a portion A of the base paper 4 alone between adjacent labels 5, 5 (in this embodiment, this portion is called an index or a reference), and a portion B where a label 5 is adhered to, into an electric signal respectively as an output.
LED 1a of light detector 1 radiates upon receipt of an input of +5 V from a power source, and protective resistance R1 is interposed in a path to the ground. In photo transistor 1b, an electric current runs corresponding to the received light amount, and is converted into voltage signal Vs by resistance R2 and inputted to indices detection unit 2.
Indices detection unit 2 constantly receives voltage signal Vs (hereinafter referred to as "detected signal") of an analog output signal from the light detector 1, and from main control unit 3, signal S1 is transmitted and inputted to indices detection unit 2 each time that the base paper 4 is fed for a predetermined distance (this is equivalent to the distance of a pitch of adhered labels 5 and is hereinafter referred to as "one page length") necessary to detect one index of base paper 4 (between labels 5 and 5).
As shown in FIG. 3, indices detection unit 2 is provided with comparative detection means 21, peak detection means 22, maximum-and-minimum value memorization means 23, proper-peak-value determination means 24, threshold value operation means 25, and threshold value redetermination means 26.
Then, detected signal Vs is compared with a predetermined threshold value by comparative detection means 21, and binary indices detection signal S2 is outputted and transmitted to main control unit 3 when detected signal Vs exceeds the threshold value.
In addition, among detected signals Vs input, during a period from an input of signal S1 out of main control unit 3 to that of subsequent signal S1, the maximum and minimum values Vs(max) and Vs(min) are detected by peak-value detection means 22 and memorized by maximum-and-minimum-value memorization means 23.
Proper-peak-value determination means 24 determines the proper maximum and minimum values based upon the respective maximum and minimum values of the detected signal Vs memorized in maximum-and-minimum-value memorization means 23 each time that at least three indices are detected while base paper 4 is fed as shown in FIG. 2. That is, when base paper 4 is fed for a distance of at least a three-page length (for each time, at least three signals S1 are inputted).
Based upon the determined proper maximum and minimum values, threshold value operation means 25 operates a new threshold value, and threshold value redetermination means 26 redetermines the operated threshold value as a new threshold value for comparative detection means 21.
These functional means 21-26 can be made by a wired logic circuit. However, it is also easily accomplished by using a microcomputer comprised of CPU, RAM or ROM, and others. In this case, detected signals Vs must be converted through A/D conversion and digitalized.
Several examples of the method for determining the proper maximum and minimum values by proper-peak-value means 24 are described hereinafter.
(A) In every three page feeding, the proper maximum Vs(max) and minimum (Vs(min) values are the intermediate values among the maximum values, Vs1(max), Vs2(max) and Vs3(max); and the minimum values, Vs1(min), Vs2(min), and Vs3(min), respectively, of detected signal Vs memorized in maximum-and-minimum-value memorization means 23. For example, if relationships of these values are as follows:
Vs1(max)>Vs3(max)>Vs2(max)
Vs3(min)>Vs1(min)>Vs2(min),
Vs3(max) and Vs1(min) are determined as the maximum and minimum values, respectively.
(B) In a similar manner as described above, in feeding odd number of pages, at least three pages, for example, in a case of feeding five pages, the proper maximum value Vs(max) is the third largest one among the maximum values and the proper minimum value Vs(min) is the third smallest one among the minimum values, and in a case of feeding seven pages, the former is the fourth largest and the latter is the fourth smallest values, respectively.
(C) In a multiple page feeding of at least three pages, and from the maximum values, Vs1(max),... ..., Vsn(max), and the minimum values, Vs1(min),... ..., Vsn(min) of the memorized detected signal Vs, the averaged maximum value is: {Vs1(max)+... ... +Vsn(max)}/n; and the averaged minimum value is: {Vs1(min)+... ...+Vsn(min)}/n. These are determined as the proper maximum and minimum values.
(D) In a multiple page feeding of at least three pages, from the maximum values, Vs1(max),... ..., Vsn(max), and the minimum values, Vs1(min),... ...,Vsn(min) among detected signals Vs memorized during each page feeding, the proper maximum Vs(max) and minimum Vs(min) values are determined by averaging the respective values while excluding those exceeding a predetermined level respectively.
Based upon the determined maximum and minimum values by one of the above described methods, threshold value operation means 25 operates a new threshold value, for example, by the following formulas:
VH=5/8{vs(max)-Vs(min)}+Vs(min); and
VL=3/8{Vs(max)-Vs(min)}+Vs(min),
wherein VH is a threshold value for a period of rising in detected signal Vs, and VL is a threshold value for a period of falling thereof.
In these formulas, the numbers are not limited to "5/8" and "3/8". It is aimed to provide a superior performance against noises by setting a hysteresis for threshold value VH used when detected signal Vs is rising and a threshold value VL used when the signal is falling. If stable detected signal Vs can be obtained, the new threshold value for both the periods of rising and falling in detected signal Vs can be the intermediate value among the maximum and minimum values calculated by the following formula:
VH=VL={Vs(max)+Vs(min)}/2.
Thus, using the new threshold value operated in a multiple page feeding of at least three pages, threshold-value redetermination means 26 redetermines and renews a threshold value for comparative detection means 21.
That is, based upon the new threshold value operated in a multiple page feeding of at least three pages, detected signal Vs of light detector 1 is digitalized (into binary code) in a next multiple page feeding of at least three pages, and based upon the new threshold value operated in the next multiple page feeding of at least three pages, detected signal Vs is digitalized further in a subsequent multiple page feeding of at least three pages. This process is repeated further.
The renewal of the threshold value is easily done in indices detection unit 2 by supervising signals S1 for predetermined pages (multiple pages of at least three), shown by (c) in FIG. 4, sent from main control unit 3, in every page feeding of base paper 4, shown by (a) in FIG. 4, along the direction of an arrow A.
In this manner, detected signal Vs, shown by (b)in FIG. 4, from light detector 1 is digitalized into a binary code by each threshold value VH and VL, and indices detection signal S2, shown by (d) in FIG. 4, is sent from indices detection unit 2 to main control unit 3.
Accordingly, main control unit 3 can detect the front end position of a label 5 along the feed direction at every page by the falling in signal S2.
The renewal of the threshold value in every three-page feeding as discussed in the previous example (A) is now explained in more detail with reference to FIG. 4.
Suppose that the threshold values of rising and falling periods are VHO and VLO, as shown in the left end of FIG. 4(b), then as to pages 1, 2 and 3, detected signals Vs are digitalized based upon threshold values VHO and VLO and indices detection signal S2 is generated, as shown in (d) of the figure.
Among detected signals Vs memorized in each page feeding of page 1, 2 and 3, and where the maximum values are Vs1(max), Vs2(max) and Vs3(max), and the minimum values are Vs1(min), Vs2(min) and Vs3(min), the relationship of the maximum values is:
Vs1(max)>Vs3(max)>Vs2(max),
and the relationship of the minimum values is:
Vs3(min)<Vs1(min)<Vs2(min).
Therefore, if the intermediate values of the maximum and minimum values are employed as the proper maximum and minimum values, they are Vs3(max) and Vs1(min), respectively.
So, new threshold values VH1 and VL1 for the next feeding of page 4, 5 and 6 are obtained by the following formulas:
VH1=5/8{Vs3(max)-Vs1(min)}+Vs1(min); and
VL1=3/8{Vs3(max)-Vs1(min)}+Vs1(min).
After the previous renewal of the threshold values, when the signals S1 are counted three times, the threshold values are renewed to those values, and as to pages 4, 5 and 6, detected signal Vs is digitalized by these new threshold values, and indices detection signal S2 is generated.
In a similar manner, during the feeding of pages 4, 5 and 6, the maximum values Vs1(max)', Vs2(max)' and Vs3(max)', and minimum values Vs1(min)', Vs2(min)' and Vs3(min)' among memorized detected signal Vs, the relationship of the maximum values is:
Vs1(max)'>Vs3(max)'>Vs2(max)';
and the relationship of the minimum values is:
Vs3(min)'<Vs2(min)'<Vs1(min)'.
Thus, the proper maximum and minimum values are Vs3(max)' and Vs2(min)', respectively, if the intermediate values of the maximum and minimum values are employed.
Therefore, new threshold values VH2 and VL2 for the next page feeding of pages 7, 8 and 9 are obtained by the following formulas:
VH2=5/8{Vs3(max)'-Vs2(min)'+Vs2(min)'; and
VL2=3/8{Vs3(max)'-Vs2(min)'+Vs2(min)'.
After the previous renewal of the threshold values, when signals S1 are again counted three times, the threshold values are renewed by the new values, and in the page feeding of pages 7, 8, and 9, detected signal Vs is digitalized based upon the threshold values VH2 and VL2, and indices detection signal S2 is generated.
Afterward, the threshold values VH and VL are renewed in every three-page feeding in the same manner.
FIG. 5 shows the relationship between detected signal Vs and the threshold values in every one page feeding as required in the conventional method, with the minimum values are identical for every page for the sake of convenience.
In the page whereon an extraordinary value (for example, in a case that there happens to be a hole in base paper 4 on the sensor path) is detected (shown in page 2 in this example), since the next threshold values are determined based upon the extraordinary value, the threshold values are renewed like VHa→VHb and VLa→VLb.
Due to this, there is a problem in that the normal detected signal Vs for the next page cannot be detected based upon the new threshold values VHb and VLb. Therefore, in a case of a printing apparatus or other which prints on the labels by detecting the label position on the base paper based upon the indices detection signals, the printing apparatus recognizes it as a label jam error and ceases to print.
On the contrary, in the above described embodiment of this invention, since the threshold values are renewed in every three-page feeding, it is accomplished as shown in FIG. 6.
If the threshold values are VHa' and VLa', detected signals Vs described with respect to pages 1-3 are digitalized by those threshold values and, in pages 4-6, the threshold values are renewed based upon the maximum and minimum values of detected signals Vs in pages 1-3.
Accordingly if, for the sake of convenience, the minimum values are all identical in all of the pages, the magnitude of the maximum values of detected signals Vs in each of pages 1-3 is as follows:
page 2>page 1>page 3.
Therefore, the threshold value is determined based upon the intermediate maximum value of page 1, and will not be renewed based upon the abnormal value of page 2. Thus, detected signals Vs detected in subsequent pages 4-6 are digitalized by new threshold values VHb' and VLb' determined by the maximum and minimum values of page 1, and there is then no case where the detection becomes impossible as shown in FIG. 5.
Thus, according to the present invention, the problem is prevented wherein due to a slight abnormality in the base paper or in the label itself so minor that it should not cause any problem for the subsequent label processing, the subsequent label detection nevertheless becomes impossible so as to stop a printing apparatus like a printer and others, and to cause the operator's involvement, and attains an advantage such that the positions of the indices (reference) is detected in a stable fashion. This is due to the fact that the abnormal or extraordinary value as described above, is excluded since the threshold value is renewed based upon the intermediate or averaged value among the peak values of the detected signals in each of the three pages.
Further, in detecting the label positions in the label printer by an amount of light passed through or reflected from the elongated base paper where labels 5 are adhered to, as shown in FIGS. 2 and 4, the number of differences in the amount of light passed through or reflected from the portions of "base paper 4 alone" or those of "base paper 4 plus label 5" exists as many as the kinds of base paper 4 and label 5.
In detecting an amount of reflected light, a photo sensor of a reflecting type is used as the light detector by setting, for example, a base paper 4 to a dark color and a label 5 to a light color. This means that an amount of either the passed light through or reflected light from either base paper 4 or label 5 differ in an infinite variety and so is an amount of either the passed light through or reflected light from the combination of base paper 4 and label 5 adhered thereto.
In order to detect, without fail, the level difference of infinite variety according to the above-described embodiment, the threshold (standard) value is determined based upon the maximum and minimum values of detected signal Vs. By this method, it becomes possible to set an optimum threshold value for any kind of label paper; such as, either the one with a small level difference or the other with a large level difference. That is, an optimum threshold value is relatively determined with respect to the respective change of the maximum and minimum values of the detected signals.
Further, by setting the threshold values with respect to rising and falling in the detected signals at the levels of 5/8 of the maximum value and 3/8 of the minimum values, respectively, there is an advantage in that the apparatus can work well regardless of the change in the level of the detected signals caused by the floating of the base paper or the like, or of the foreign noise caused to the detected signals.
Although the above embodiment is explained where elongated base paper 4 is provided with labels 5 adhered thereto with a distance therebetween along its longitudinal direction; and intermediate portions alone between adjacent labels 5 of base paper 4 are used as the indices (references), the indices can be the labels themselves. In a case where the photo sensor of reflected-type is used, by printing eye marks 6 for showing the adhering positions of labels 5 at the underside of base paper 4, as shown in FIG. 7, or by printing eye marks 8 with a distance therebetween on heat sensitive paper 7 along its longitudinal direction, as shown in FIG. 8, these eye marks 6 or 8 can be used as the indices.
Further, in detecting elongated paper (tagged paper) 9 where notches 10 are provided at its longitudinal side, these notches 10 are used as the indices.
The present invention is also effective where a number of different indices are used.
Having described the illustrative embodiment of the invention with reference to the accompanying drawings, it is to be understood that the invention is not limited to such a precise embodiment, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope and spirit of the invention as defined in the appended claims.

Claims (12)

What is claimed is:
1. A method for detecting indices provided on an elongated paper with a distance therebetween along the longitudinal direction thereof, wherein a light is applied to produce a resulting light for sequential detection of the positions of said indices, the method comprising the steps of:
detecting said resulting light by a light detector positioned along a feed path of said paper along the longitudinal direction thereof;
sequentially detecting the positions of said indices by comparing outputs from said light detector with a threshold value; and
replacing said threshold value with a new threshold value after every at least three indices are detected, each new threshold value based upon a peak memorized value of the outputs from said light detector during the period that each said at least three preceding indices are detected.
2. A method according to claim 1, wherein said resulting light is a light passed through said indices.
3. A method according to claim 1, wherein said resulting light is a light reflected from said indices.
4. A method according to claim 1, wherein said threshold value is replaced each time when an odd number of at least three pieces of said indices are detected by calculating a new threshold value based upon an intermediate value among the peak values of outputs from said light detector, each detected between said indices.
5. A method according to claim 1, wherein said threshold value is replaced each time when at least three pieces of said indices are detected by calculating a new threshold value based upon an averaged value of peak values of outputs from said light detector, each detected between said indices.
6. A method according to claim 1, wherein said threshold value is replaced each time when at least three pieces of said indices are detected by calculating a new threshold value based upon an averaged value among peak values of outputs from said light detector, each detected between said indices while excluding a peak value exceeding a predetermined level value.
7. A method according to claim 1, wherein a hysteresis is set having a first threshold value to be used in a rising in the output of said light detector, and a second threshold value to be used in a falling in the output thereof.
8. An indices detecting apparatus for a paper having a light detector for detecting the indices provided at the feed path of the elongated paper with a distance therebetween along the longitudinal direction thereof, wherein a resulting light from the indices differs, and an indices detecting means for detecting the positions of the indices by comparing outputs from the light detector with a threshold value, said indices detecting device comprising:
a peak-value detecting means for detecting maximum and minimum values of the outputs from said light detector within a predetermined feed distance along the longitudinal direction of said paper necessary for detecting a piece of said indices;
a maximum-and-minimum values memorizing means for memorizing the maximum and minimum values detected by said peak-value detecting means;
a proper-peak-value determining means for determining proper maximum and minimum values based upon each of maximum and minimum values memorized by said maximum-and-minimum-values memorizing means when said indices of at least three are detected;
a threshold-value operation means for operating a new threshold value based upon said maximum-and-minimum values determined by said proper-peak-value determination means; and
a threshold-value re-determination means for re-determining said new threshold value operated by said threshold-value operation means.
9. An indices detecting apparatus for a paper according to claim 8, wherein said proper-peak-value determination means is a means for determining a first intermediate value among said maximum values and a second intermediate value among said minimum values each memorized in said maximum and minimum value memorizing means as proper maximum and minimum values, respectively.
10. An indices detecting apparatus for a paper according to claim 8, wherein said proper-peak-value determination means is a means for determining a first average value among maximum values and a second average value among minimum values memorized in said maximum-and-minimum-value memorizing means as proper maximum and minimum values, respectively.
11. An indices detecting apparatus for a paper according to claim 8, wherein said proper-peak-value determination means is a means for determining a first average value among said maximum values and a second average value among said minimum values memorized in said maximum-and-minimum-value memorizing means, each excluding a value exceeding a predetermined value as proper maximum and minimum values, respectively.
12. An indices detecting apparatus for a paper according to claim 8, wherein said threshold-value operation means is a means for operating a new threshold value by setting a hysteresis having a first threshold value to be used for the rising in the output of said light detector and a second threshold value for the falling in the output thereof based upon the maximum-and-minimum-values determined by said proper-peak-value determination means.
US07/926,419 1991-08-13 1992-08-10 Method and an apparatus for detecting indices of paper based on a replaceable intermediate or average threshold value Expired - Lifetime US5293047A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP3202831A JP2530949B2 (en) 1991-08-13 1991-08-13 Paper index detection method and apparatus
JP3-202831 1991-08-13

Publications (1)

Publication Number Publication Date
US5293047A true US5293047A (en) 1994-03-08

Family

ID=16463916

Family Applications (1)

Application Number Title Priority Date Filing Date
US07/926,419 Expired - Lifetime US5293047A (en) 1991-08-13 1992-08-10 Method and an apparatus for detecting indices of paper based on a replaceable intermediate or average threshold value

Country Status (2)

Country Link
US (1) US5293047A (en)
JP (1) JP2530949B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0718108A1 (en) * 1994-12-22 1996-06-26 Premark Feg Corporation A label printer having a position sensor
EP0875775A2 (en) * 1997-04-30 1998-11-04 Sick AG Method of operating an opto-electronic sensor
US6400912B1 (en) * 2000-09-21 2002-06-04 Toshiba Tec Kabushiki Kaisha Image forming apparatus with detection of media and setting a threshold for the detector
EP1502753A1 (en) * 2003-07-28 2005-02-02 Canon Finetech Inc. Printer and control method thereof
ITSA20130008A1 (en) * 2013-07-10 2015-01-11 Gaetano Giordano "LIGHT LEVEL SENSOR, WITH NO MODULATED LIGHT, WITH REFERENCE THRESHOLDS WITH DYNAMIC SELF-CALIBRATION AND PROGRAMMABLE HYSTERESIS VALUES"
JP2015013424A (en) * 2013-07-05 2015-01-22 サトーホールディングス株式会社 Printer device and offset amount automatic setting method
US20150189663A1 (en) * 2013-12-31 2015-07-02 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Electronic device and method for removing interferential signals of mobile device
US10651099B2 (en) 2017-07-10 2020-05-12 International Business Machines Corporation Non-destructive testing of integrated circuit chips

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4862188B2 (en) * 2001-04-06 2012-01-25 東芝テック株式会社 Label detection method and label detection apparatus
SE532202C2 (en) * 2008-02-20 2009-11-10 Autolabel Ab Sensor unit for labeling machine
JP4990989B2 (en) * 2010-02-24 2012-08-01 東芝テック株式会社 Label output device and label output method
JP5506977B2 (en) * 2013-04-12 2014-05-28 キヤノン株式会社 Conveying apparatus, image forming apparatus, and control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6444573A (en) * 1987-08-12 1989-02-16 Toshiba Corp Document forming device
US5073700A (en) * 1990-01-10 1991-12-17 Gtech Corporation Mark sense detector with variable threshold

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63272648A (en) * 1987-04-28 1988-11-10 Tokyo Electric Co Ltd Label printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6444573A (en) * 1987-08-12 1989-02-16 Toshiba Corp Document forming device
US5073700A (en) * 1990-01-10 1991-12-17 Gtech Corporation Mark sense detector with variable threshold

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0718108A1 (en) * 1994-12-22 1996-06-26 Premark Feg Corporation A label printer having a position sensor
EP0875775A2 (en) * 1997-04-30 1998-11-04 Sick AG Method of operating an opto-electronic sensor
EP0875775A3 (en) * 1997-04-30 2001-01-10 Sick AG Method of operating an opto-electronic sensor
US6400912B1 (en) * 2000-09-21 2002-06-04 Toshiba Tec Kabushiki Kaisha Image forming apparatus with detection of media and setting a threshold for the detector
US7025517B2 (en) 2003-07-28 2006-04-11 Canon Finetech Inc. Detecting the print positions of a printing medium and keeping constant positions
US20050025554A1 (en) * 2003-07-28 2005-02-03 Canon Finetech Inc. Printer and control method thereof
EP1502753A1 (en) * 2003-07-28 2005-02-02 Canon Finetech Inc. Printer and control method thereof
JP2015013424A (en) * 2013-07-05 2015-01-22 サトーホールディングス株式会社 Printer device and offset amount automatic setting method
ITSA20130008A1 (en) * 2013-07-10 2015-01-11 Gaetano Giordano "LIGHT LEVEL SENSOR, WITH NO MODULATED LIGHT, WITH REFERENCE THRESHOLDS WITH DYNAMIC SELF-CALIBRATION AND PROGRAMMABLE HYSTERESIS VALUES"
US20150189663A1 (en) * 2013-12-31 2015-07-02 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd Electronic device and method for removing interferential signals of mobile device
US9490933B2 (en) * 2013-12-31 2016-11-08 Shenzhen Treasure City Technology Co., Ltd. Electronic device and method for removing interferential signals of mobile device
TWI581584B (en) * 2013-12-31 2017-05-01 鴻海精密工業股份有限公司 Method for removing interferential signals of a mobile device and electric apparatus using the same
US10651099B2 (en) 2017-07-10 2020-05-12 International Business Machines Corporation Non-destructive testing of integrated circuit chips

Also Published As

Publication number Publication date
JPH0551022A (en) 1993-03-02
JP2530949B2 (en) 1996-09-04

Similar Documents

Publication Publication Date Title
US5293047A (en) Method and an apparatus for detecting indices of paper based on a replaceable intermediate or average threshold value
US4734868A (en) Precision paper transport system
US5397192A (en) Shuttle-type printers and methods for operating same
WO2005075330A2 (en) Self calibrating media edge sensor
US4265556A (en) Apparatus for setting proportional margins based upon the width of a scanned sheet of paper
EP0386937B1 (en) Color discrimination apparatus for color ink ribbon
US6704523B2 (en) Sheet detecting apparatus and image forming apparatus equipped with sheet detecting apparatus
EP0445999A1 (en) Apparatus and method for detecting the feed of overlapped paper sheets
US6394676B1 (en) Media sensor system for printer mechanism
JP3113660B2 (en) Positioning mark detection method and device
JP2001139189A (en) Paper thickness detecting device and printing device
US6686944B1 (en) Method for recognizing a color of a printing ribbon and ribbon format thereof
JPH0940227A (en) Device for identifying medium for printing, and printing device
JP3400602B2 (en) Printer device
JPH0699638A (en) Register mark detection method
JP3479544B2 (en) Printing device
JP2659571B2 (en) Paper feeder
JP2820196B2 (en) Form position detection device
JP2736815B2 (en) Label detection device for label printer
JP3720995B2 (en) Medium number detection method and apparatus
EP1870363A1 (en) Self calibrating media edge sensor
JP2735031B2 (en) Printer device
JP2023031977A (en) printer
JPS6294064A (en) I/o device
JP2019150979A (en) Printer

Legal Events

Date Code Title Description
AS Assignment

Owner name: TOHOKU RICOH CO., LTD., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST.;ASSIGNOR:MATSUDA, HIDEAKI;REEL/FRAME:006239/0927

Effective date: 19920803

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 12