JP2954085B2 - Sensor output adjustment method and mark detection device using the same - Google Patents

Sensor output adjustment method and mark detection device using the same

Info

Publication number
JP2954085B2
JP2954085B2 JP12558297A JP12558297A JP2954085B2 JP 2954085 B2 JP2954085 B2 JP 2954085B2 JP 12558297 A JP12558297 A JP 12558297A JP 12558297 A JP12558297 A JP 12558297A JP 2954085 B2 JP2954085 B2 JP 2954085B2
Authority
JP
Japan
Prior art keywords
mark
light source
supply voltage
source supply
steps
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
JP12558297A
Other languages
Japanese (ja)
Other versions
JPH10310287A (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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP12558297A priority Critical patent/JP2954085B2/en
Publication of JPH10310287A publication Critical patent/JPH10310287A/en
Application granted granted Critical
Publication of JP2954085B2 publication Critical patent/JP2954085B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Controlling Sheets Or Webs (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタ装置等に
用いられる記録用紙に付されたマークを検出するマーク
検出装置に関し、特にマークセンサの出力調整方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a mark detection device for detecting a mark on a recording sheet used in a printer or the like, and more particularly to a method for adjusting the output of a mark sensor.

【0002】[0002]

【従来の技術】従来、この種のマーク検出装置は、プリ
ンタ装置等において記録用紙の位置決めを目的として用
いられている。
2. Description of the Related Art Heretofore, this type of mark detection device has been used for the purpose of positioning a recording sheet in a printer device or the like.

【0003】図8は、従来のマーク検出装置の一例を示
す回路図である(以下、第1の従来の技術と記す)。
FIG. 8 is a circuit diagram showing an example of a conventional mark detection device (hereinafter, referred to as a first conventional technology).

【0004】光源21bには発光ダイオード等が用いら
れ、記録用紙5へ発光照射する。記録用紙5には、マー
クが付けられている。フォトセンサ21aは、記録用紙
5から反射された光を受けて電流値が変化し、これによ
り変化した電圧がコンパレータ22aに入力される。コ
ンパレータ22aは、フォトセンサ21aからの電圧と
固定の基準電圧Vrとを比較し、フォトセンサ21aか
らの電圧が基準電圧Vrより大きいときはLowレベル
(L)を、小さいときはHighレベル(H)を出力す
る。抵抗ボリュームRVは、光源21bへの供給電圧を
変化させて光源21bの発光量を変化させる。
A light emitting diode or the like is used as the light source 21b, and emits light to the recording paper 5. The recording paper 5 is marked. The photosensor 21a receives light reflected from the recording paper 5 and changes the current value, and the changed voltage is input to the comparator 22a. The comparator 22a compares the voltage from the photosensor 21a with a fixed reference voltage Vr, and when the voltage from the photosensor 21a is higher than the reference voltage Vr, the level is low (L), and when the voltage is lower, the level is high (H). Is output. The resistance volume RV changes the supply voltage to the light source 21b to change the light emission amount of the light source 21b.

【0005】次に、以上のような構成における動作につ
いて説明する。
Next, the operation of the above configuration will be described.

【0006】光源21bから発光照射された光があたる
ところに搬送された記録用紙5のマーク部分がくると、
マーク部分の反射率は低いため、フォトセンサ21aの
受光電圧が低くなり、コンパレータ22aの出力はHに
なりマークありと判断する。そして、さらに搬送して、
光源21bから発光照射された光があたるところに記録
用紙5のマークが無い部分がくると、マークが無い部分
の反射率は高いため、フォトセンサ21aの受光電圧が
高くなり、コンパレータ22aの出力はLになりマーク
なしと判断する。
When the mark portion of the conveyed recording paper 5 comes to a place where the light emitted and emitted from the light source 21b hits,
Since the reflectance of the mark portion is low, the light receiving voltage of the photo sensor 21a is low, the output of the comparator 22a becomes H, and it is determined that there is a mark. And transport it further,
When a portion without a mark on the recording paper 5 comes to a place where the light emitted and emitted from the light source 21b hits, the reflectance of the portion without the mark is high, so that the light receiving voltage of the photo sensor 21a increases, and the output of the comparator 22a becomes It becomes L and it is determined that there is no mark.

【0007】なお、生産,調整時や、その後の記録用紙
の種類変更等によりフォトセンサ21aの受光電圧への
影響が考えられる場合には、光源21bへの供給電圧を
抵抗ボリュームRVの調整により変化させ、光源21b
の発光量を変化させて対応している。
When the influence on the light receiving voltage of the photosensor 21a is considered at the time of production and adjustment, or after the type of recording paper is changed, the supply voltage to the light source 21b is changed by adjusting the resistance volume RV. And the light source 21b
Are changed by changing the light emission amount.

【0008】以上説明した第1の従来の技術において
は、コンパレータ22aの一方の入力端に入力されてフ
ォトセンサ21aの受光電圧と比較される基準電圧Vr
は固定値となっている。
In the first prior art described above, the reference voltage Vr inputted to one input terminal of the comparator 22a and compared with the light receiving voltage of the photo sensor 21a.
Is a fixed value.

【0009】一方、この基準電圧Vrを調整可能にした
例として、特開昭61−283806号公報で開示され
ているマーク検出装置(以下、第2の従来の技術と記
す)がある。
On the other hand, as an example in which the reference voltage Vr can be adjusted, there is a mark detecting device disclosed in Japanese Patent Application Laid-Open No. 61-283806 (hereinafter referred to as a second conventional technology).

【0010】この第2の従来の技術においては、生産時
に、マーク有りとマーク無しのそれぞれの状態に対応す
るセンサの出力信号を求めて両出力信号から設定電圧を
演算し、得られた設定電圧を図8の基準電圧Vrの代わ
りにコンパレータの一方の入力端に入力している。
In the second prior art, at the time of production, output signals of sensors corresponding to states with and without marks are obtained, a set voltage is calculated from both output signals, and the obtained set voltage is obtained. Is input to one input terminal of the comparator instead of the reference voltage Vr in FIG.

【0011】[0011]

【発明が解決しようとする課題】上述した従来の技術に
おける第1の問題点は、第1の従来の技術において、生
産時や、その後の記録用紙の種類変更等によりフォトセ
ンサの受光電圧への影響が考えられる場合に、光源への
供給電圧を抵抗ボリュームの調整により変えるため、専
任者による調整工数がかかることである。
The first problem in the above-mentioned prior art is that the light receiving voltage of the photosensor is reduced by the change in the type of recording paper during production or after that in the first prior art. When the influence is considered, since the supply voltage to the light source is changed by adjusting the resistance volume, a man-hour for adjustment by a dedicated person is required.

【0012】第2の問題点は、運用中の環境変化、例え
ば、センサに埃が溜まったり、光源の発光効率やフォト
センサの効率の変化があった場合に、第1の従来の技術
においては、運用中の環境変化に対応していないためマ
ークの正確な検出ができなくなることが考えられ、これ
に気づいて光源供給電圧設定用の抵抗ボリュームを調整
するにしても、専任者による調整工数がかかることであ
る。また、第2の従来の技術においては、生産時にコン
パレータの基準電圧を決定するだけで運用中の環境変化
に対応していないため、マークの正確な検出ができなく
なるという問題がある。
The second problem is that the first conventional technique cannot be used when the environment changes during operation, for example, when dust accumulates in the sensor, or the light emission efficiency of the light source or the efficiency of the photosensor changes. However, it may not be possible to accurately detect the mark because it does not respond to changes in the environment during operation. This is the case. Further, in the second conventional technique, there is a problem that it is not possible to accurately detect a mark because the reference voltage of the comparator is determined only at the time of production and does not correspond to an environmental change during operation.

【0013】本発明は、生産時や記録用紙の種類変更時
等における光源出力調整を自動的に行うとともに、運用
中の環境変化に対応して最適な光源出力に自動調整する
センサ出力調整方法及びそれを用いたマーク検出装置を
提供することを目的とする。
According to the present invention, there is provided a sensor output adjusting method for automatically adjusting the light source output at the time of production or changing the type of recording paper, and automatically adjusting the light source output to an optimum light source output in response to a change in the environment during operation. An object of the present invention is to provide a mark detection device using the same.

【0014】[0014]

【0015】[0015]

【課題を解決するための手段】 本発明の第のセンサ出
力調整方法は、マーク検出実行時にマークの幅に対応す
るステップ数とマーク有りと検出するステップ数とを比
較し、前記マーク有りと検出するステップ数の方が大き
い場合は光源供給電圧を1段階アップし、前記マーク有
りと検出するステップ数の方が小さい場合は前記光源供
給電圧を1段階ダウンし、同じ場合は前記光源供給電圧
を変更しないことを特徴とする。
According to a first aspect of the sensor output adjusting method of the present invention compares the number of steps of detecting that there is the number of steps and the mark corresponding to the width of a mark when the mark detection performed, O and there the mark If the number of steps to be detected is larger, the light source supply voltage is increased by one step. If the number of steps to detect the presence of the mark is smaller, the light source supply voltage is decreased by one step. Is not changed.

【0016】本発明の第のセンサ出力調整方法は、初
期設定時に、マークセンサの光源供給電圧を変化させて
マーク検出動作を繰返し行い、採取した検出データから
マーク検出に最適な前記光源供給電圧を求めて記憶し、
マーク検出実行時に、初期設定時に記憶された前記光源
供給電圧または前回のマーク検出実行時に更新された前
記光源供給電圧に基づいてマークの幅に対応するステッ
プ数とマーク有りと検出するステップ数とを比較し、前
記マーク有りと検出するステップ数の方が大きい場合は
前記光源供給電圧を1段階アップして記憶し、前記マー
ク有りと検出するステップ数の方が小さい場合は前記光
源供給電圧を1段階ダウンして記憶し、同じ場合は前記
光源供給電圧を変更しないことを特徴とする。
According to a second sensor output adjustment method of the present invention, at the time of initial setting, the mark detection operation is repeated by changing the light source supply voltage of the mark sensor, and the light source supply voltage optimal for mark detection is obtained from the collected detection data. And memorize,
At the time of performing mark detection, the number of steps corresponding to the width of a mark and the number of steps for detecting presence of a mark are determined based on the light source supply voltage stored at the time of initial setting or the light source supply voltage updated at the time of previous mark detection execution. In comparison, when the number of steps for detecting the presence of the mark is larger, the light source supply voltage is increased by one step and stored, and when the number of steps for detecting the presence of the mark is smaller, the light source supply voltage is set to 1 It is characterized in that it is stored stepwise, and in the case of the same, the light source supply voltage is not changed.

【0017】[0017]

【0018】[0018]

【0019】[0019]

【0020】本発明のマーク検出装置は、光源から記録
用紙に照射し、その反射量または透過量をマークセンサ
で検出して前記反射量または透過量に応じた電圧をコン
パレータの一方の入力端に入力し、前記電圧と前記コン
パレータの他方の入力端に入力された基準電圧とを比較
することによりマークの有無を検出するマーク検出装置
であって、初期設定時に、マークセンサの光源供給電圧
を変化させてマーク検出動作を繰返し行い、採取した検
出データからマーク検出に最適な前記光源供給電圧を求
め、マーク検出実行時に、初期設定時に記憶された前記
光源供給電圧または前回のマーク検出実行時に更新され
た前記光源供給電圧に基づいてマークの幅に対応するス
テップ数とマーク有りと検出するステップ数とを比較
し、前記マーク有りと検出するステップ数の方が大きい
場合は前記光源供給電圧を1段階アップして更新し、前
記マーク有りと検出するステップ数の方が小さい場合は
前記光源供給電圧を1段階ダウンして更新し、同じ場合
は前記光源供給電圧を変更しないよう制御する主制御部
と、前記主制御部で初期設定時に求められた前記光源供
給電圧またはマーク検出実行時に更新された前記光源供
給電圧を記憶する記憶部と、前記主制御部からの指示に
より前記光源供給電圧を制御する電圧制御回路と、を有
することを特徴とする。
The mark detecting apparatus of the present invention, by irradiating the recording sheet from the light source, the reflected amount or one input of the transmission amount is detected by the mark sensor voltage corresponding to the reflection amount or permeation amount comparator A mark detection device that detects the presence or absence of a mark by comparing the voltage with a reference voltage input to the other input terminal of the comparator. The mark detection operation is repeated by changing the above, the optimal light source supply voltage for mark detection is obtained from the collected detection data, and at the time of mark detection execution, the light source supply voltage stored at the time of initial setting or at the time of previous mark detection execution The number of steps corresponding to the width of the mark is compared with the number of steps for detecting the presence of the mark based on the updated light source supply voltage, and the presence of the mark is determined. If the number of steps to be detected is larger, the light source supply voltage is increased by one step and updated.If the number of steps to detect the presence of the mark is smaller, the light source supply voltage is decreased by one step and updated. In the same case, a main control unit that controls not to change the light source supply voltage, and a storage unit that stores the light source supply voltage obtained at the time of initial setting by the main control unit or the light source supply voltage updated at the time of performing mark detection. And a voltage control circuit that controls the light source supply voltage in accordance with an instruction from the main control unit.

【0021】[0021]

【発明の実施の形態】本発明の実施の形態について図面
を参照して説明する。
Embodiments of the present invention will be described with reference to the drawings.

【0022】図1は、本発明の一実施の形態の構成を示
すブロック図であり、本発明のマーク検出装置は、信号
の入出力と判断を行う主制御部1と、記録用紙5上のマ
ーク51を検出するマーク検出部2と、記録用紙5を搬
送させる用紙搬送部3と、主制御部1により設定される
光源供給電圧を記憶する記憶部4とから構成される。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. A mark detecting device according to the present invention comprises a main control unit 1 for judging input / output of a signal, It comprises a mark detection unit 2 for detecting a mark 51, a sheet conveyance unit 3 for conveying a recording sheet 5, and a storage unit 4 for storing a light source supply voltage set by the main control unit 1.

【0023】主制御部1は、用紙搬送部3にモータ駆動
信号Moを出して記録用紙5を1ステップ搬送させなが
ら、マーク検出部2からのマークセンス出力信号Maに
よりマーク有り/マーク無しを判断する。
The main control section 1 outputs a motor drive signal Mo to the sheet conveying section 3 to convey the recording sheet 5 by one step, and determines whether or not there is a mark based on the mark sense output signal Ma from the mark detecting section 2. I do.

【0024】マーク検出部2は、マークセンサ21と、
電圧比較回路22と、電圧制御回路23とを備えてい
る。マークセンサ21は、反射型センサ,透過型センサ
のいずれでもよいが、本実施の形態では、光を記録用紙
5に当てて反射量を測定する反射型センサとして説明す
る。
The mark detecting section 2 includes a mark sensor 21,
A voltage comparison circuit 22 and a voltage control circuit 23 are provided. The mark sensor 21 may be either a reflection sensor or a transmission sensor. In the present embodiment, the mark sensor 21 will be described as a reflection sensor that measures light by irradiating the recording paper 5 with light.

【0025】用紙搬送部3は、モータ制御回路31と、
モータ32と、動力を伝えるプラテン33とを備えてい
る。モータ制御回路31は、主制御部1からのモータ駆
動信号Moによりモータ32を回し、動力をプラテン3
3に伝えて回転させて記録用紙5を搬送させる。
The paper transport unit 3 includes a motor control circuit 31
The motor includes a motor 32 and a platen 33 for transmitting power. The motor control circuit 31 rotates the motor 32 according to the motor drive signal Mo from the main control unit 1 and
The recording paper 5 is conveyed by rotating the recording paper 5.

【0026】マーク51は、他の部分より光の反射率が
低くなるように、決められた大きさで記録用紙5に表示
されている。
The mark 51 is displayed on the recording paper 5 in a predetermined size so that the light reflectance is lower than that of the other portions.

【0027】図2は、図1のマーク検出部を詳細に示し
た回路図である。図2において、光源21bには発光ダ
イオード等が用いられ、記録用紙5へ発光照射する。フ
ォトセンサ21aには、フォト・トランジスタ等が用い
られ、記録用紙5から反射された光を受けて電流値が変
化し、これにより変化した電圧がコンパレータ22aに
入力される。
FIG. 2 is a circuit diagram showing the mark detecting section of FIG. 1 in detail. In FIG. 2, a light emitting diode or the like is used as the light source 21b, and irradiates the recording paper 5 with light. A phototransistor or the like is used for the photosensor 21a. The current value changes in response to the light reflected from the recording sheet 5, and the changed voltage is input to the comparator 22a.

【0028】コンパレータ22aは、フォトセンサ21
aからの電圧と基準電圧Vrとを比較している。光源2
1bの光が当たるところに搬送された記録用紙5のマー
クが来ると、マークの反射率が低いため、フォトセンサ
21aの受光電圧が基準電圧Vrより小さくなり、コン
パレータ22aの出力がHighレベル(H)になるこ
とにより、マーク有りと判断する。そして、光源21b
の光が当たるところに記録用紙5のマークが無い部分が
来ると、マークが無い部分の反射率は高いため、フォト
センサ21aの受光電圧が基準電圧Vrより大きくな
り、コンパレータ22aの出力がLowレベル(L)に
なることにより、マーク無しと判断する。
The comparator 22a is connected to the photo sensor 21
The voltage from a is compared with the reference voltage Vr. Light source 2
When the mark of the conveyed recording paper 5 comes to a place where the light of 1b is applied, the light receiving voltage of the photosensor 21a becomes lower than the reference voltage Vr because the reflectivity of the mark is low, and the output of the comparator 22a becomes High level (H ), It is determined that there is a mark. And the light source 21b
When a portion of the recording paper 5 where there is no mark comes where light is applied, the light receiving voltage of the photo sensor 21a becomes higher than the reference voltage Vr because the reflectance of the portion without the mark is high, and the output of the comparator 22a becomes low level. When the state becomes (L), it is determined that there is no mark.

【0029】電圧制御回路23は、主制御部1からの電
圧変更信号Psにより光源21bへの供給電圧を変化さ
せる。電圧制御回路23により光源21bの供給電圧を
上げると、光源21bの発光量が増える結果フォトセン
サ21aの受光量も増え、コンパレータ22aに入力さ
れる受光電圧が増えることになる。
The voltage control circuit 23 changes the supply voltage to the light source 21b according to the voltage change signal Ps from the main control unit 1. When the supply voltage of the light source 21b is increased by the voltage control circuit 23, the amount of light emitted from the light source 21b increases, so that the amount of light received by the photo sensor 21a also increases, and the amount of light received by the comparator 22a increases.

【0030】次に、本発明の一実施の形態の動作につい
て図3〜図7を用いて詳細に説明する。
Next, the operation of the embodiment of the present invention will be described in detail with reference to FIGS.

【0031】図3は、マークセンサとマークの位置関係
を示す模式図である。記録用紙が搬送され、マークセン
サ21の前をマーク51が通過する。このとき、マーク
51がマークセンサ21に重なり始めたときの位置をS
s,マークセンサ21の中心とマーク51の中心が一致
したときの位置をSc,マーク51がマークセンサ21
と重なりが無くなったときの位置をSeとする。
FIG. 3 is a schematic diagram showing the positional relationship between the mark sensor and the mark. The recording paper is conveyed, and the mark 51 passes in front of the mark sensor 21. At this time, the position when the mark 51 starts to overlap the mark sensor 21 is represented by S
s, the position when the center of the mark sensor 21 and the center of the mark 51 coincide, Sc, and the mark 51 is the mark sensor 21
And the position at which the overlap has disappeared is Se.

【0032】図4は、光源供給電圧を変えたときの記録
用紙移動位置とフォトセンサ受光電圧の関係を示すグラ
フである。グラフは、マーク51検出動作時にフォトセ
ンサ21aからコンパレータ22aに入る受光電圧の変
化を表し、横軸を記録用紙移動位置、縦軸をフォトセン
サ受光電圧で表している。
FIG. 4 is a graph showing the relationship between the recording sheet moving position and the photosensor light receiving voltage when the light source supply voltage is changed. The graph shows the change in the received light voltage that enters the comparator 22a from the photo sensor 21a at the time of the mark 51 detection operation. The horizontal axis represents the recording paper moving position, and the vertical axis represents the photo sensor received voltage.

【0033】図4を参照すると、S1〜S2の間は、マー
クセンサ21にマーク51が全部重なっていて、フォト
センサ21aの受光電圧が最低となる。Ss〜S1の間
は、Ssの位置からマークセンサ21にマーク51が重
なり始め、反射率の低いマーク51の占める面積が増加
するため、フォトセンサ21aの受光電圧が低下する。
S2〜Seの間は、S2の位置からマークセンサ21とマ
ーク51とがズレ始め、反射率の高いマーク無し部分の
占める面積が増加するので、フォトセンサ21aの受光
電圧が上昇する。S1〜S2の間隔は、マーク51の幅と
マークセンサ21の幅との差になり、Ss〜S1の間隔と
およびS2〜Seの間隔はマーク51の幅となる。
Referring to FIG. 4, during the period from S1 to S2, the mark 51 entirely overlaps the mark sensor 21, and the light receiving voltage of the photo sensor 21a becomes the lowest. During the period from Ss to S1, the mark 51 starts to overlap the mark sensor 21 from the position of Ss, and the area occupied by the mark 51 having a low reflectance increases, so that the light receiving voltage of the photo sensor 21a decreases.
During the period from S2 to Se, the mark sensor 21 and the mark 51 start to shift from the position of S2, and the area occupied by the markless portion having high reflectance increases, so that the light receiving voltage of the photosensor 21a increases. The interval between S1 and S2 is the difference between the width of the mark 51 and the width of the mark sensor 21, and the interval between Ss and S1 and the interval between S2 and Se are the width of the mark 51.

【0034】フォトセンサ21aの受光電圧は、コンパ
レータ22aの基準電圧Vrと比較され、図4に示すよ
うに、基準電圧Vrより上に出ているところでは、コン
パレータ22aの出力はLowレベル(L)のマーク無
しを表し、基準電圧Vrより下のところでは、コンパレ
ータ22aの出力はHighレベル(H)のマーク有り
を表す。
The light receiving voltage of the photo sensor 21a is compared with the reference voltage Vr of the comparator 22a. As shown in FIG. 4, when the voltage is higher than the reference voltage Vr, the output of the comparator 22a is Low level (L). And below the reference voltage Vr, the output of the comparator 22a indicates the presence of a High level (H) mark.

【0035】基準電圧VrとグラフV1との交点の記録用
紙5の移動位置をS3,S4とすると、S3〜S4のステッ
プ数の間をマーク有りと判断する。そして、光源供給電
圧を増加させると光源21bの出力が増加し、フォトセ
ンサ21aの受光電圧は増加するため、光源供給電圧を
V1<V2<V3とすると、グラフはV1→V2→V3と上方
に移動し、マーク有りと判断する記録用紙5の移動ステ
ップ数が減少していく。
Assuming that the moving position of the recording paper 5 at the intersection of the reference voltage Vr and the graph V1 is S3, S4, it is determined that there is a mark between the steps S3 and S4. When the light source supply voltage is increased, the output of the light source 21b is increased, and the light reception voltage of the photosensor 21a is increased. Therefore, if the light source supply voltage is set to V1 <V2 <V3, the graph becomes V1 → V2 → V3. The number of moving steps of the recording paper 5 which moves and determines that there is a mark decreases.

【0036】図5は、初期設定時の光源供給電圧調整方
法の手順を示すフローチャートであり、以下にステップ
毎に説明する。
FIG. 5 is a flowchart showing a procedure of a light source supply voltage adjusting method at the time of initial setting, and will be described below step by step.

【0037】まず、マーク付き記録用紙5をマーク51
がマークセンサ21の手前にくるようにセットして、主
制御部1は、光源供給電圧を最大にセットする(ステッ
プA1)。
First, the recording paper 5 with the mark is placed on the mark 51.
Is set in front of the mark sensor 21, and the main controller 1 sets the light source supply voltage to the maximum (step A1).

【0038】そして、内部変数のマーク有りステップ数
をクリアしておく(ステップA2)。
Then, the number of marked steps of the internal variable is cleared (step A2).

【0039】主制御部1は、モータ駆動信号Moを用紙
搬送部3に送出し、記録用紙5を1ステップ搬送する
(ステップA3)。
The main controller 1 sends a motor drive signal Mo to the paper transport unit 3 to transport the recording paper 5 by one step (step A3).

【0040】コンパレータ22aから送られるマークセ
ンス出力信号Maにより、主制御部1はマーク有り/マ
ーク無しを判断する(ステップA4)。
Based on the mark sense output signal Ma sent from the comparator 22a, the main controller 1 determines whether or not there is a mark (step A4).

【0041】マーク有りのときは、マーク有りステップ
数を1インクリメントする(ステップA5)。
When there is a mark, the number of steps with a mark is incremented by 1 (step A5).

【0042】マーク51がマークセンサ21を十分通り
すぎるステップ数をSmaxとし、ステップA3〜A5を
Smax回繰り返す(ステップA6)。
The number of steps by which the mark 51 passes the mark sensor 21 sufficiently is defined as Smax, and steps A3 to A5 are repeated Smax times (step A6).

【0043】Smax回繰り返した後、主制御部1はマー
ク有りステップ数とマーク51の幅とを比較する(ステ
ップA7)。
After repeating Smax times, the main controller 1 compares the number of marked steps with the width of the mark 51 (step A7).

【0044】マーク有りステップ数がマーク51の幅よ
り小さいときは、光源供給電圧が最小かチェックする
(ステップA8)。
If the number of marked steps is smaller than the width of the mark 51, it is checked whether the light source supply voltage is minimum (step A8).

【0045】光源供給電圧が最小でなかった場合は、S
maxステップ逆方向に搬送する(ステップA9)。
If the light source supply voltage is not minimum, S
The sheet is conveyed in the reverse direction by max steps (step A9).

【0046】そして、光源供給電圧を1段階ダウンし、
ステップA2から繰り返す(ステップA10)。
Then, the light source supply voltage is reduced by one step,
It repeats from step A2 (step A10).

【0047】ステップA7において、マーク有りステッ
プ数がマーク51の幅以上のときは、主制御部1は設定
した光源供給電圧を記憶部4に記憶しておき(ステップ
A11)、調整を終了する(ステップA12)。
In step A7, when the number of marked steps is equal to or larger than the width of the mark 51, the main control unit 1 stores the set light source supply voltage in the storage unit 4 (step A11) and ends the adjustment (step A11). Step A12).

【0048】なお、ステップA8において、光源供給電
圧が最小であった場合には異常を通知して終了する(ス
テップA13)。
In step A8, if the light source supply voltage is at the minimum, an abnormality is notified and the process ends (step A13).

【0049】以上、初期設定時の光源供給電圧調整方法
の手順について図5を用いて説明した。以上の説明にお
いては、光源供給電圧を最初に最大電圧にセットして1
段階ずつダウンしていく方法を採っているが、他の実施
の形態として、光源供給電圧を最初に最小電圧にセット
して1段階ずつアップしていく方法を採ることも可能で
ある。
The procedure of the method for adjusting the light source supply voltage at the time of initial setting has been described above with reference to FIG. In the above description, the light source supply voltage is first set to the maximum voltage, and
Although the method of stepping down by steps is adopted, as another embodiment, it is also possible to adopt a method of setting the light source supply voltage to the minimum voltage first and increasing step by step.

【0050】図6は、光源供給電圧とマーク有りステッ
プ数との関係を示すグラフである。
FIG. 6 is a graph showing the relationship between the light source supply voltage and the number of marked steps.

【0051】グラフは、光源供給電圧を変化しながら、
マーク検出動作をしたときにマーク有りと判断したステ
ップ数の変化を表し、横軸が光源供給電源電圧(右方向
が小さい),縦軸がマーク有りステップ数を表してい
る。
The graph shows that while changing the light source supply voltage,
The change in the number of steps determined to have a mark when the mark detection operation is performed is shown. The horizontal axis indicates the light source supply voltage (the right direction is small), and the vertical axis indicates the number of steps with the mark.

【0052】図6を参照すると、光源供給電圧が最大V
maxより最小Vminまで右方向へ減少していくとき、マー
ク有りステップ数は0から増加し、マークの幅Smを越
えて用紙移動量と同じSmaxになる。グラフの中で、マ
ーク有りステップ数がマークの幅と同じステップ数Sm
になるときの光源供給電圧をVbとする。
Referring to FIG. 6, when the light source supply voltage is the maximum V
When decreasing from the max to the minimum Vmin in the right direction, the number of steps with a mark increases from 0 and exceeds the mark width Sm and becomes the same as the sheet movement amount Smax. In the graph, the number of steps with a mark is the same as the width of the mark, the number of steps Sm
Is Vb.

【0053】図5で説明した調整方法は、この光源供給
電圧Vbを満足する直近の最適値を求めるための方法で
ある。
The adjustment method described with reference to FIG. 5 is a method for obtaining the latest optimum value that satisfies the light source supply voltage Vb.

【0054】図7は、装置運用中における光源供給電圧
の調整方法を示すフローチャートであり、マーク検出動
作時に自動的に実行される。
FIG. 7 is a flowchart showing a method of adjusting the light source supply voltage during operation of the apparatus, which is automatically executed at the time of the mark detection operation.

【0055】以下、マーク検出装置が運用中の状態変
化、例えば、マークセンサの埃による汚れ,光源出力効
率のダウン等があった場合の光源出力の再調整方法の動
作について、図7を用いてステップ毎に説明する。
The operation of the method for readjusting the light source output in the event of a change in the state of operation of the mark detection device, for example, contamination of the mark sensor by dust, a decrease in light source output efficiency, etc., will be described with reference to FIG. A description will be given for each step.

【0056】主制御部1は、マーク検出を開始すると
き、初期設定時に図5のステップA11で記憶部4に記
憶しておいた光源供給電圧をセットする(ステップB
1)。
When starting the mark detection, the main control unit 1 sets the light source supply voltage stored in the storage unit 4 in step A11 of FIG. 5 at the time of initialization (step B).
1).

【0057】主制御部1は、モータ32を1ステップづ
つ動かしてマーク有りステップ数をカウントしながらマ
ーク検出を実行する(ステップB2)。
The main controller 1 executes the mark detection while moving the motor 32 one step at a time and counting the number of steps with a mark (step B2).

【0058】主制御部1は、ステップB2でカウントし
たマーク有りステップ数と記憶部4に予め記憶している
マーク51の幅を比較する(ステップB3)。
The main controller 1 compares the number of marked steps counted in step B2 with the width of the mark 51 previously stored in the storage 4 (step B3).

【0059】マーク有りステップ変数がマーク51の幅
より小さいときは、光源供給電圧を1段階ダウンし(ス
テップB4)、設定した光源供給電圧を記憶部4に更
新,記憶しておく(ステップB6)。
If the marked step variable is smaller than the width of the mark 51, the light source supply voltage is reduced by one step (step B4), and the set light source supply voltage is updated and stored in the storage unit 4 (step B6). .

【0060】マーク有りステップ数がマーク51の幅よ
り大きいときは、光源供給電圧を1段階アップし(ステ
ップB5)、設定した光源供給電圧を記憶部4に更新,
記憶しておく(ステップB6)。
When the number of marked steps is larger than the width of the mark 51, the light source supply voltage is increased by one step (step B5), and the set light source supply voltage is updated in the storage unit 4.
It is stored (step B6).

【0061】マーク有りステップ数がマーク51の幅と
同じときは、光源供給電圧を変化させず、そのまま終了
する。
When the number of marked steps is equal to the width of the mark 51, the process is terminated without changing the light source supply voltage.

【0062】[0062]

【発明の効果】上述したように、本発明の第1の効果
は、光源供給電圧を最適値に自動調整するため、生産時
や用紙種類変更時に専任者が測定器を使って可変抵抗等
を変化させながら光源供給電圧の調整をする必要がなく
なることである。
As described above, the first effect of the present invention is that, in order to automatically adjust the light source supply voltage to an optimum value, a specialist can use a measuring device to adjust a variable resistance or the like at the time of production or change of paper type. This eliminates the need to adjust the light source supply voltage while changing it.

【0063】第2の効果は、マーク検出時に光源供給電
圧を自動再調整させているため、マーク検出装置が運用
中の状態変化、例えば、マークセンサの埃による汚れ,
光源出力効率のダウン等があっても光源出力の再調整が
不要となり、確実にマーク検出ができるようになること
である。
The second effect is that, since the light source supply voltage is automatically readjusted at the time of detecting a mark, a change in the state of the mark detecting device during operation, for example, contamination of the mark sensor due to dust,
Even if the light source output efficiency is lowered, readjustment of the light source output is not required, and mark detection can be performed reliably.

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

【図1】本発明の一実施の形態の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】図1のマーク検出部を詳細に示した回路図であ
る。
FIG. 2 is a circuit diagram showing a mark detection unit of FIG. 1 in detail.

【図3】マークセンサとマークの位置関係を示す模式図
である。
FIG. 3 is a schematic diagram showing a positional relationship between a mark sensor and a mark.

【図4】光源供給電圧を変えたときの記録用紙移動位置
とフォトセンサ受光電圧の関係を示すグラフである。
FIG. 4 is a graph showing a relationship between a recording sheet moving position and a photosensor light receiving voltage when a light source supply voltage is changed.

【図5】初期設定時の光源供給電圧調整方法の手順を示
すフローチャートである。
FIG. 5 is a flowchart illustrating a procedure of a light source supply voltage adjustment method at the time of initial setting.

【図6】光源供給電圧とマーク有りステップ数との関係
を示すグラフである。
FIG. 6 is a graph showing a relationship between a light source supply voltage and the number of marked steps.

【図7】装置運用中における光源供給電圧の調整方法を
示すフローチャートである。
FIG. 7 is a flowchart illustrating a method of adjusting a light source supply voltage during operation of the apparatus.

【図8】従来のマーク検出装置の一例を示す回路図であ
る。
FIG. 8 is a circuit diagram showing an example of a conventional mark detection device.

【符号の説明】[Explanation of symbols]

1 主制御部 2 マーク検出部 21 マークセンサ 21a フォトセンサ 21b 光源 22 電圧比較回路 22a コンパレータ 23 電圧制御回路 3 用紙搬送部 31 モータ制御回路 32 モータ 33 プラテン 4 記憶部 5 記録用紙 51 マーク DESCRIPTION OF SYMBOLS 1 Main control part 2 Mark detection part 21 Mark sensor 21a Photo sensor 21b Light source 22 Voltage comparison circuit 22a Comparator 23 Voltage control circuit 3 Paper conveyance part 31 Motor control circuit 32 Motor 33 Platen 4 Storage part 5 Recording paper 51 Mark

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 マーク検出実行時にマークの幅に対応す
るステップ数とマーク有りと検出するステップ数とを比
較し、前記マーク有りと検出するステップ数の方が大き
い場合は光源供給電圧を1段階アップし、前記マーク有
りと検出するステップ数の方が小さい場合は前記光源供
給電圧を1段階ダウンし、同じ場合は前記光源供給電圧
を変更しないことを特徴とするセンサ出力調整方法。
When the number of steps for detecting the presence of a mark is larger than the number of steps for detecting the presence of a mark, the number of steps for detecting the presence of the mark is larger. A sensor output adjusting method, wherein when the number of steps for detecting the presence of a mark is smaller, the light source supply voltage is decreased by one step, and when the number is the same, the light source supply voltage is not changed.
【請求項2】 初期設定時に、マークセンサの光源供給
電圧を変化させてマーク検出動作を繰返し行い、採取し
た検出データからマーク検出に最適な前記光源供給電圧
を求めて記憶し、マーク検出実行時に、初期設定時に記
憶された前記光源供給電圧または前回のマーク検出実行
時に更新された前記光源供給電圧に基づいてマークの幅
に対応するステップ数とマーク有りと検出するステップ
数とを比較し、前記マーク有りと検出するステップ数の
方が大きい場合は前記光源供給電圧を1段階アップして
記憶し、前記マーク有りと検出するステップ数の方が小
さい場合は前記光源供給電圧を1段階ダウンして記憶
し、同じ場合は前記光源供給電圧を変更しないことを特
徴とするセンサ出力調整方法。
2. Initial setting, the mark detection operation is repeated by changing the light source supply voltage of the mark sensor, the optimum light source supply voltage for mark detection is obtained from the collected detection data, and stored. Comparing the number of steps corresponding to the width of a mark with the number of steps for detecting the presence of a mark based on the light source supply voltage stored at the time of initial setting or the light source supply voltage updated at the time of previous mark detection execution, When the number of steps for detecting the presence of the mark is larger, the light source supply voltage is increased by one step and stored. When the number of steps for detecting the presence of the mark is smaller, the light source supply voltage is decreased by one step. A sensor output adjusting method, wherein the values are stored and, if they are the same, the light source supply voltage is not changed.
【請求項3】 光源から記録用紙に照射し、その反射量
または透過量をマークセンサで検出して前記反射量また
は透過量に応じた電圧をコンパレータの一方の入力端に
入力し、前記電圧と前記コンパレータの他方の入力端に
入力された基準電圧とを比較することによりマークの有
無を検出するマーク検出装置であって、 初期設定時に、マークセンサの光源供給電圧を変化させ
てマーク検出動作を繰返し行い、採取した検出データか
らマーク検出に最適な前記光源供給電圧を求め、マーク
検出実行時に、初期設定時に記憶された前記光源供給電
圧または前回のマーク検出実行時に更新された前記光源
供給電圧に基づいてマークの幅に対応するステップ数と
マーク有りと検出するステップ数とを比較し、前記マー
ク有りと検出するステップ数の方が大きい場合は前記光
源供給電圧を1段階アップして更新し、前記マーク有り
と検出するステップ数の方が小さい場合は前記光源供給
電圧を1段階ダウンして更新し、同じ場合は前記光源供
給電圧を変更しないよう制御する主制御部と、前記主制
御部で初期設定時に求められた前記光源供給電圧または
マーク検出実行時に更新された前記光源供給電圧を記憶
する記憶部と、前記主制御部からの指示により前記光源
供給電圧を制御する電圧制御回路と、 を有することを特徴とするマーク検出装置。
3. A recording paper is irradiated from a light source, the amount of reflection or transmission is detected by a mark sensor, and a voltage corresponding to the amount of reflection or transmission is input to one input terminal of a comparator. A mark detection device for detecting the presence or absence of a mark by comparing with a reference voltage input to the other input terminal of the comparator, and performs a mark detection operation by changing a light source supply voltage of a mark sensor at an initial setting. Repeatedly, determine the light source supply voltage optimal for mark detection from the collected detection data, at the time of mark detection, the light source supply voltage stored at the time of initialization or the light source supply voltage updated at the time of the previous mark detection execution Compare the number of steps corresponding to the width of the mark with the number of steps for detecting the presence of the mark based on the number of steps for detecting the presence of the mark. If it is larger, the light source supply voltage is increased by one step and updated. If the number of steps for detecting the presence of the mark is smaller, the light source supply voltage is decreased by one step and updated. A main control unit that controls not to change, a storage unit that stores the light source supply voltage obtained at the time of initial setting in the main control unit or the light source supply voltage that is updated at the time of performing mark detection, and And a voltage control circuit for controlling the light source supply voltage according to the instruction.
JP12558297A 1997-05-15 1997-05-15 Sensor output adjustment method and mark detection device using the same Expired - Lifetime JP2954085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12558297A JP2954085B2 (en) 1997-05-15 1997-05-15 Sensor output adjustment method and mark detection device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12558297A JP2954085B2 (en) 1997-05-15 1997-05-15 Sensor output adjustment method and mark detection device using the same

Publications (2)

Publication Number Publication Date
JPH10310287A JPH10310287A (en) 1998-11-24
JP2954085B2 true JP2954085B2 (en) 1999-09-27

Family

ID=14913757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12558297A Expired - Lifetime JP2954085B2 (en) 1997-05-15 1997-05-15 Sensor output adjustment method and mark detection device using the same

Country Status (1)

Country Link
JP (1) JP2954085B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5290221B2 (en) * 2010-03-02 2013-09-18 東芝テック株式会社 Position detection apparatus and program

Also Published As

Publication number Publication date
JPH10310287A (en) 1998-11-24

Similar Documents

Publication Publication Date Title
US4769532A (en) Apparatus for adjusting optical sensors with threshold memory
JP2954085B2 (en) Sensor output adjustment method and mark detection device using the same
US6937263B2 (en) Image forming apparatus and light amount correction method
US6728008B1 (en) Method for diagnosing optical devices installed in image reading apparatus and image forming apparatus
EP0581259A2 (en) Image forming apparatus and light quantity control device for use in the image forming apparatus
JP2582411B2 (en) Lens control method in image forming apparatus
US4958069A (en) Apparatus for detecting presence or absence of recording medium in printer
JP2000034032A (en) Belt driving gear and image forming device with same
EP0844543A2 (en) Position control device for use in library device and method thereof
JP2004067259A (en) Elevator door controlling device
US5521666A (en) Perforation detector of a camera
US20020080429A1 (en) Image reading apparatus and method of setting reading position
JPH08301484A (en) Printer device
JP2001088352A (en) Optical scanning system for printer and driving method thereof
JP2000250375A (en) Image forming device
JPH1135196A (en) Automatic sensor adjusting device
JP3333709B2 (en) Image reading device
JP2944341B2 (en) Document detection device and image reading device
JP4717394B2 (en) Method for automatically adjusting photodetection device and photodetection device
JP3740442B2 (en) Image forming apparatus
JPH08231083A (en) Correcting device for side slip of paper sheet
JP2002265144A (en) Paper sheet carrying device
JP2004043158A (en) Paper sheet carrying device and image forming device
JPH0730398A (en) Photosensor circuit for medium detection
JP3392223B2 (en) Film feed control device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990615

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070716

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 11