JPS60243504A - Mark detecting device - Google Patents

Mark detecting device

Info

Publication number
JPS60243504A
JPS60243504A JP10002284A JP10002284A JPS60243504A JP S60243504 A JPS60243504 A JP S60243504A JP 10002284 A JP10002284 A JP 10002284A JP 10002284 A JP10002284 A JP 10002284A JP S60243504 A JPS60243504 A JP S60243504A
Authority
JP
Japan
Prior art keywords
paper
output signal
photosensor
sensor
comparing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10002284A
Other languages
Japanese (ja)
Inventor
Susumu Matsukura
松倉 晋
Hiroshi Odawa
小田和 浩
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric Corp
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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP10002284A priority Critical patent/JPS60243504A/en
Publication of JPS60243504A publication Critical patent/JPS60243504A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To omit adjustment for every product with effect of the dispersion of output signals, by comparing the output signal from a photosensor with the output signal at the previous time, and detecting the end part, marks and the like of paper based on the result of the comparison. CONSTITUTION:A photosensor 3 receives the reflected light or the transmitted light from paper 2. Memories 51 and 52 store the signals from the sensor 3 through an A/D converter 4. A comparing means 62 compares the signals, which are sequentially stored in the memory 51 and the memory 52. A juding means 63 judges the result of the comparison. In this constitution, the output signal is low before the paper 2 is put on a platen. When the tip part of the paper 2 is inserted in the light receiving region of the sensor 3, the reflected light is increased and remains constant. The output signals of the sensor 3 are sequentially stored and updated in the memories 51 and 52 after the A/D conversion. The means 62 compares the present data and the data at the previous time in the memories 51 and 52. The means 63 judges whether the result exceeds the specified value or not and also judges the polarity. Thus the tip part and the end part of the paper 2 are found. The output signals are sent to a paper feeding and driving device and a printing control circuit.

Description

【発明の詳細な説明】 (発明の技術分野) 本発明は、プリンタに用いられる用紙の先端部あるいは
終端部、印字の基準位置を設定するために用紙に付され
たマーク等(これらを総称してマークという)を検出す
るマーク検出装置に関するものである。
Detailed Description of the Invention (Technical Field of the Invention) The present invention relates to the leading edge or trailing edge of paper used in printers, marks placed on paper to set the reference position for printing, etc. (these are collectively referred to as This invention relates to a mark detection device for detecting marks (referred to as marks).

(従来技術) 第4図は、従来のマーク検出装置の一例を示す構成プロ
、り図である。この装置は、発光ダイオードのような光
源1からの光を、用紙2に照射し、用紙2の有無や、マ
ークの存在によって光量が変化する反射光をフォトセン
v3で受光し、このフォトセンサ3からの出力信号eO
を比較器4で所定の設定電圧Enと比較することによっ
て、用紙2の有無(終端)や、用紙に付された何んらか
のマークを検出するようにしている。
(Prior Art) FIG. 4 is a diagram showing the configuration of an example of a conventional mark detection device. This device irradiates light from a light source 1 such as a light emitting diode onto a sheet of paper 2, and receives reflected light whose intensity changes depending on the presence or absence of the sheet of paper 2 and the presence of marks using a photosensor v3. Output signal eO from
By comparing the voltage En with a predetermined set voltage En by a comparator 4, the presence or absence (end) of the paper 2 and any marks attached to the paper are detected.

このような構成の従来装置においては、フォトセンv5
から出力される出力信号eOの大きさが、用紙の種類や
、用紙とフォトセンサ間の距離、製品間等において大き
く変るために、比較器4に与える設定電圧ERの値を固
定とすることはできず、用紙の種類や各製品ごとに、最
適な値に調整する必要があシ、大量生産を行なう場合に
おいて、この調整工数が問題であった。
In the conventional device with such a configuration, the photo sensor v5
Since the magnitude of the output signal eO output from the comparator 4 varies greatly depending on the type of paper, the distance between the paper and the photo sensor, between products, etc., it is not possible to fix the value of the set voltage ER applied to the comparator 4. However, it is necessary to adjust the value to the optimum value for each paper type and each product, and this adjustment man-hour is a problem when mass production is performed.

(本発明の目的) 本発明は、従来装置におけるこの様な問題点に鑑みてな
されたもので、その目的は、フォトセンサ出力信号の大
きさのバラツキに影響されず、従って各製品ごとに調整
する必要のないマーク検出製雪を実現しようとするもの
である。
(Objective of the present invention) The present invention was made in view of the above-mentioned problems in conventional devices.The purpose of the present invention is to avoid being affected by variations in the magnitude of the photosensor output signal, and therefore to make adjustments for each product. The present invention aims to realize mark detection snow making that does not require the use of mark detection.

(本発明の構成) この様な目的を達成する本発明の構成は、用紙からの反
射光又は透過光を受光する7オトセンサ、この7オトセ
ンサからの信号を記憶する記憶手段、前記フォトセンサ
からの信号と前記記憶手段に記憶された所定時間だけ前
の7オトセンサ出力信号とを比較する比較手段、この比
較手段の比較結果を判断する判断手段とを備え、 前記判断手段は比較手段の比較結果が所定値以上になる
か否かを判断し前記用紙のマークを検出することを特徴
とする〇 (実施例) 紙の一部を示す要部斜視図である。
(Configuration of the present invention) The configuration of the present invention that achieves the above object includes seven photosensors that receive reflected light or transmitted light from paper, a storage unit that stores signals from these seven photosensors, and a storage unit that stores signals from the photosensors. Comparing means for comparing the signal with a predetermined period of time previous sensor output signal stored in the storage means, and determining means for determining the comparison result of the comparing means, wherein the determining means is configured to detect the comparison result of the comparing means. It is characterized in that marks on the paper are detected by determining whether or not the value exceeds a predetermined value.

これらの図において、1は発光ダイオードのような光源
、2はプラテン20によって送られる印字用紙、3はフ
ォトセンサで、ここで拡反射形のものを用いており、用
紙2又はプラテ゛ン20の表面からの反射光を受光する
。4はフォトセンサ3からの出力信号eOをディジタル
信号に変換するA/D変換器、51.52はメモリ、6
1は各メモリ51.52に結合するメモリ制御手段で、
A/D変換器4からのディジタル信号を入力し、とのデ
ィジタル信号を各メモリ51.52へ書込んだp1読出
した夛する。62は各メモリ51.52から読出された
データを比較したυ、所定の演算を行なったシする比較
演算手段、63は比較演算手段62の出力を判断する手
段である。
In these figures, 1 is a light source such as a light emitting diode, 2 is a printing paper sent by the platen 20, and 3 is a photosensor, which uses a diffuser reflection type, and detects light from the surface of the paper 2 or the platen 20. Receives reflected light. 4 is an A/D converter that converts the output signal eO from the photosensor 3 into a digital signal; 51.52 is a memory; 6
1 is a memory control means coupled to each memory 51, 52;
A digital signal from the A/D converter 4 is input, and the digital signal is written to each memory 51, 52, p1 is read out, and the data is stored. Reference numeral 62 denotes comparison calculation means for comparing υ and predetermined calculations between the data read from each memory 51 and 52, and reference numeral 63 means for determining the output of the comparison calculation means 62.

ここで、メモリ制御手段61.比較演算手段62及び判
断手段63は、機能ブロックであって、これらはマイク
ロプロセップによって実現される。
Here, the memory control means 61. The comparison calculation means 62 and the judgment means 63 are functional blocks, and these are realized by a microprocessor.

この様に構成された装置において、用紙の先端部検出の
場合を例にとってその動作を説明すれば、以下の通りで
おる。
The operation of the apparatus configured in this way will be described below, taking the case of detecting the leading edge of a sheet as an example.

第3図は、用紙2がプラテン2に装着される前後の時点
における7オトセンサ3の出力信号eOの変化を示した
もので、横軸(X軸)は、用紙2の送如ステップとなっ
ている。
FIG. 3 shows changes in the output signal eO of the 7-point sensor 3 before and after the paper 2 is mounted on the platen 2. The horizontal axis (X-axis) represents the feeding step of the paper 2. There is.

用紙2がプラテン20に装着状態にないステップSOか
ら810時点では、フォトセンサ3は、プラテン20の
表面からの反射光を受光しており、プラテン20の表面
が例えば黒色のゴム等で構成されている場合、反射光は
少なく、出力信号SOのレベルはeLと小さくなってい
る。
From step SO to 810, when the paper 2 is not attached to the platen 20, the photosensor 3 is receiving reflected light from the surface of the platen 20, and it is assumed that the surface of the platen 20 is made of, for example, black rubber. If there is, there is little reflected light and the level of the output signal SO is as low as eL.

用紙2がプラテン20に装着され、用紙2の先端部が、
フォトセンサ3の受光領域に入ってくると(送りステッ
プsi、Si+1 、Si+2 )、反射光が増大し、
出力信号eOのレベルは8Lから、eM、eHと高くな
9、送りステとプS1+3 ・・・Sn以後は、e□に
維持される。
The paper 2 is attached to the platen 20, and the leading edge of the paper 2 is
When the light enters the light receiving area of the photosensor 3 (feeding steps si, Si+1, Si+2), the reflected light increases,
The level of the output signal eO increases from 8L to eM and eH, and is maintained at e□ after the feed step S1+3...Sn.

第1図において、A/D変換器4は、所定のサンプリン
グ周期(例えば用紙送如の1ステツプに相当する周期)
で7オトセンサ3からの出力信号eOをA/D変換する
。A/D変換された出力信号。oK対応する現在のデー
タD1及び、Δを時間(例えば1ステツプに要する時間
)だけ前の出力信号eoに対応する前回のデーp Di
−1は、メモリ51と52とに順次記憶され、更新され
る。
In FIG. 1, the A/D converter 4 operates at a predetermined sampling period (for example, a period corresponding to one step of paper feeding).
7 A/D conversion is performed on the output signal eO from the auto sensor 3. A/D converted output signal. The current data D1 corresponding to OK, and the previous data pDi corresponding to the output signal eo before the time Δ (for example, the time required for one step)
-1 is sequentially stored and updated in memories 51 and 52.

比較手段62は、メモリ51.52に格納された現在の
データD1と前回のデータD1−1 とを比較する。
The comparison means 62 compares the current data D1 stored in the memory 51.52 with the previous data D1-1.

ここで、フォトセンサ3の出力信号eoの変化がない場
合、すなわち、用紙2の先端部が7オトセンt3の受光
領域に入ってきてない状態、または、用紙2が装着され
、用紙が送られている状態では、現在データD1と前回
データD1−1 とはほぼ等しい値となり、比較手段6
2での比較演算結果は、零に近い値となる。フォトセン
サ3の出力信号eOK変化が生じた場合、すなわち、用
紙2の先端部又は後端部がフォトセンサ3の受光領域に
入ってきた状態となると、現在データD1と前回データ
D1−1とは異なる値となり、比較手段62での比較演
算結果は、所定の値となる。
Here, if there is no change in the output signal eo of the photosensor 3, that is, if the leading edge of the paper 2 has not entered the light receiving area of the 7th center t3, or if the paper 2 is loaded and the paper is being fed. In this state, the current data D1 and the previous data D1-1 have approximately the same value, and the comparing means 6
The result of the comparison operation in step 2 is a value close to zero. When the output signal eOK of the photosensor 3 changes, that is, when the leading edge or trailing edge of the paper 2 enters the light receiving area of the photosensor 3, the current data D1 and the previous data D1-1 are The values are different, and the result of the comparison operation by the comparing means 62 is a predetermined value.

判断手段63は、比較手段62での比較演算結果を入力
し、この比較演算結果が所定の値以上となるのを判断す
るとともに、その極性(DI ) Di−1か。
The determining means 63 receives the comparison result from the comparing means 62, determines whether the comparison result is greater than a predetermined value, and determines whether the polarity (DI) is Di-1.

Di(Di−1かに相当)を判断し5Di)Di−:L
 であれは用紙2の先端部とし、Di(Di−1であれ
ば用紙2の後端部とする信号を出力する。この出力信号
は、例えば紙送り駆動回路に印加され、用紙の送りを制
御したわ、あるいは印字制御回路に印加され、印字を制
御するのに使用される。
Determine Di (equivalent to Di-1) and calculate 5Di) Di-:L
If Di (Di-1), it is the leading edge of the paper 2, and if it is Di-1, it outputs a signal that indicates the trailing edge of the paper 2. This output signal is applied to, for example, a paper feed drive circuit to control the paper feeding. It is applied to the print control circuit and is used to control printing.

ここで、フォトセン−+73の出力信号が変化する点S
1及びS1+2におけるeLleHに対応するデータD
L及びDHを得て、 なる演算を行ない、DOに相当する点SOをめるか、あ
るいは、変化時点S1と81千2 の中間点S1千1(
SO)を演算によってめ九に、用紙2の先端部又は後端
部を、用紙2上に照射する光スポットの大きさ等に影響
されないで、よ多正確に知ることができるC) なお、上記の説明では、用紙2の先端部又は後端部を検
出する場合を例にとって説明したが、用紙2上に付した
各種マークについても、同様に検出することができる。
Here, the point S where the output signal of the photo sensor +73 changes
Data D corresponding to eLleH in 1 and S1+2
Obtain L and DH, perform the following calculation, and find the point SO corresponding to DO, or alternatively, find the intermediate point S1,011 (
By calculating SO), the leading edge or trailing edge of the paper 2 can be determined more accurately without being affected by the size of the light spot irradiated onto the paper 2 C) Note that the above In the above description, the case where the leading edge or trailing edge of the paper 2 is detected is explained as an example, but various marks attached to the paper 2 can also be detected in the same way.

また、ここでは、フォトセンサは、反射光量を受光する
ようにしたものであるが、透過光量を受光するようKし
てもよい。
Further, although here, the photosensor is designed to receive the amount of reflected light, it may be configured to receive the amount of transmitted light.

(本発明の効果) 以上説明したように、本発明は、フォトセンサからの出
力信号を、その過去の出力信号と比較し、比較結果によ
って用紙の端部あるいはマーク等を検出するようにした
もので、本発明によれば、7オトセンサ出力信号の大き
さのバラツキ等に影響されることはなく、各製品ごとに
調整する必要のないマーク検出装置が実現できる。
(Effects of the Present Invention) As explained above, the present invention compares the output signal from the photosensor with the past output signal, and detects the edge of the paper or the mark based on the comparison result. According to the present invention, it is possible to realize a mark detection device that is not affected by variations in the magnitude of the sensor output signal and does not require adjustment for each product.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明に係る装置の一例を示す構成ブロック図
、第2図は用紙の一部を示す要部斜視図、第5図はフォ
トセンサの出力信号を示した波形図、第4図は従来装置
の一例を示す構成ブロック図である。 1・・・光源、2*+・用紙、3・・・フォトセンサ、
4・、・A/D変換器、51.52・・・メモリ、62
・・・比較手段、63・・・判断手段、6・・・マイク
ロプロセッサ。
FIG. 1 is a configuration block diagram showing an example of the apparatus according to the present invention, FIG. 2 is a perspective view of main parts showing a part of paper, FIG. 5 is a waveform diagram showing output signals of the photosensor, and FIG. 4 1 is a configuration block diagram showing an example of a conventional device. 1...Light source, 2*+-Paper, 3...Photo sensor,
4., A/D converter, 51.52... memory, 62
. . . comparison means, 63 . . . judgment means, 6 . . . microprocessor.

Claims (1)

【特許請求の範囲】[Claims] (1) 用紙からの反射光又は透過光を受光するフォト
センサ、このフォトセンサからの信号を記憶する記憶手
段、前記フォトセンサからの信号と前記記憶手段に記憶
された所定時間だけ前のフォトセンサ出力信号とを比較
する比較手段、この比較手段の比較結果を判断する判断
手段とを備え、 前記判断手段は比較手段の比較結果が所定値以上になる
か否かを判断し前記用紙のマークを検出すると七を特徴
とするマーク検出装置。
(1) A photosensor that receives reflected light or transmitted light from paper, a storage device that stores signals from the photosensor, and a photosensor that stores the signal from the photosensor and the storage device a predetermined time ago. Comparing means for comparing the output signal with an output signal, and determining means for determining the comparison result of the comparing means, and the determining means determines whether the comparison result of the comparing means is equal to or greater than a predetermined value and marks the paper. A mark detection device that features seven when detected.
JP10002284A 1984-05-18 1984-05-18 Mark detecting device Pending JPS60243504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10002284A JPS60243504A (en) 1984-05-18 1984-05-18 Mark detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10002284A JPS60243504A (en) 1984-05-18 1984-05-18 Mark detecting device

Publications (1)

Publication Number Publication Date
JPS60243504A true JPS60243504A (en) 1985-12-03

Family

ID=14262918

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10002284A Pending JPS60243504A (en) 1984-05-18 1984-05-18 Mark detecting device

Country Status (1)

Country Link
JP (1) JPS60243504A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55112585A (en) * 1979-02-22 1980-08-30 Konishiroku Photo Ind Co Ltd Photo detection unit of moving object

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55112585A (en) * 1979-02-22 1980-08-30 Konishiroku Photo Ind Co Ltd Photo detection unit of moving object

Similar Documents

Publication Publication Date Title
US4958069A (en) Apparatus for detecting presence or absence of recording medium in printer
JPS60243504A (en) Mark detecting device
JP4136124B2 (en) Method for detecting end position of recording paper using reflection type optical sensor and image forming apparatus
US6164639A (en) Apparatus and method for measuring a dimension of an object
JP2866400B2 (en) Automatic adjustment device for transmitted light detection circuit
US6061147A (en) Apparatus and method for detecting scanning boundary
JPH0699638A (en) Register mark detection method
JP2820196B2 (en) Form position detection device
JP2740609B2 (en) Label detection method
KR100390673B1 (en) Method for adjusting print density of laser beam printer
US11305530B2 (en) Printing apparatus and method of controlling printing apparatus
JP2745027B2 (en) Label detection device
KR940003119B1 (en) Circuit and method for adjusting automatic exposure
JP3129835B2 (en) Image reading device
JPH07102731B2 (en) Label position detection device for label printer
JPH07291523A (en) Device for detecting program searching mark of roll paper
JPS6179686A (en) Printing device
JPS59111588A (en) Maintenance of photosensor accuracy
JPS63139852A (en) Paper detecting system
JPH02162069A (en) Paper jam detector
JP2602704B2 (en) Projection illuminance adjustment device of projection magnification measurement device
JPH02141776A (en) Original detection device
JP2788905B2 (en) Paper detection device
JPH05193225A (en) Position detection device
JPH04204305A (en) Object position detecting device