JP3109774B2 - Heavy paper running detector - Google Patents

Heavy paper running detector

Info

Publication number
JP3109774B2
JP3109774B2 JP04345625A JP34562592A JP3109774B2 JP 3109774 B2 JP3109774 B2 JP 3109774B2 JP 04345625 A JP04345625 A JP 04345625A JP 34562592 A JP34562592 A JP 34562592A JP 3109774 B2 JP3109774 B2 JP 3109774B2
Authority
JP
Japan
Prior art keywords
light
value
medium
emitting element
receiving element
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 - Fee Related
Application number
JP04345625A
Other languages
Japanese (ja)
Other versions
JPH06166450A (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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP04345625A priority Critical patent/JP3109774B2/en
Publication of JPH06166450A publication Critical patent/JPH06166450A/en
Application granted granted Critical
Publication of JP3109774B2 publication Critical patent/JP3109774B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • 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 an apparatus for detecting heavy running of a sheet for detecting a heavy running of a transport medium, and more particularly to an improvement in detection accuracy thereof.

【0002】[0002]

【従来の技術】金融機関における現金取扱装置や、旅客
交通業での発券システム等では紙幣や搭乗券等を装置内
で搬送するため、紙葉類搬送装置が用いられている。そ
して、このような紙葉類搬送装置では、紙葉類の重走を
検知するための重走検知装置を備えている。ここで重走
とは、紙葉類が複数枚重なって搬送されてしまう状態で
あり、このような重走が生じた場合は搬送ミスとして、
その紙葉類をリジェクトする等の動作を行っている。
2. Description of the Related Art In a cash handling apparatus in a financial institution or a ticket issuing system in a passenger transportation business, a paper sheet transport apparatus is used to transport bills, boarding passes, and the like in the apparatus. Such a paper sheet transport device includes a heavy running detection device for detecting heavy running of paper sheets. Here, the double running is a state in which a plurality of sheets are conveyed while being overlapped with each other.
An operation such as rejecting the paper sheet is performed.

【0003】図13に従来の紙葉類重走検知装置の構成
を示す。図において、1は紙葉類重走検知装置本体を示
し、この紙葉類重走検知装置本体1は、制御部2、RO
M(リード・オンリ・メモリ)3、BBM(バッテリバ
ックアップメモリ)4、発光素子5、発光電流制御部
6、受光素子7、電流・電圧変換部8、電圧増幅部9、
A/Dコンバータ10から構成されている。また、11
は、紙葉類搬送装置を示している。
FIG. 13 shows a configuration of a conventional heavy paper running detector. In the figure, reference numeral 1 denotes a main body of the heavy running detection device for a paper sheet.
M (read only memory) 3, BBM (battery backup memory) 4, light emitting element 5, light emitting current controller 6, light receiving element 7, current / voltage converter 8, voltage amplifier 9,
It comprises an A / D converter 10. Also, 11
Indicates a paper sheet transport device.

【0004】紙葉類重走検知装置本体1における制御部
2は、紙葉類重走検知装置本体1としての各部の制御を
統轄する機能を有している。即ち、ROM3からプログ
ラムを読取り、実行する機能と、BBM4へのデータの
書き込みおよび読取りを行う機能と、発光電流制御部6
に対して、発光電流制御信号を送信する機能と、A/D
コンバータ10から受光素子出力電圧Voutを読取る
機能と、紙葉類搬送装置11からのコマンドを受信し
て、実行する機能と、紙葉類搬送装置11に対してコマ
ンド実行結果のレスポンスを送信する機能とを有してい
る。また、、ROM3は、紙葉類重走検知装置を制御す
るためのプログラムを格納するためのメモリであり、B
BM4は、データを格納するためのバッテリバックアッ
プ付きのRAMである。
The control unit 2 of the main body 1 of the heavy paper running detection device has a function of controlling the control of each unit as the main body 1 of the heavy paper running detection device. That is, a function of reading and executing a program from the ROM 3, a function of writing and reading data to and from the BBM 4,
A function of transmitting a light emission current control signal to the A / D
A function of reading the light receiving element output voltage Vout from the converter 10, a function of receiving and executing a command from the sheet transport device 11, and a function of transmitting a command execution result response to the sheet transport device 11. And The ROM 3 is a memory for storing a program for controlling the heavy paper running detection device.
The BM 4 is a RAM with a battery backup for storing data.

【0005】発光素子5は、発光ダイオード等からな
り、電流を流すことによって光を放射する素子である。
また、受光素子7は、フォトトランジスタ等からなり、
照射された光の強さに応じて電流を流す素子であり、媒
体の搬送路をはさんで発光素子5と対向配置され、これ
ら発光素子5と受光素子7とにより媒体検知用のセンサ
を構成している。発光電流制御部6は、発光素子5と接
続され、制御部2から受信した発光電流制御信号に基づ
いて、発光素子5への電流供給の有無を切り換える電流
制御部である。また、電流・電圧変換部8は、受光素子
7と接続され、受光素子7から供給される電流を電圧に
変換するための電流・電圧変換部である。
[0005] The light emitting element 5 is composed of a light emitting diode or the like, and emits light by passing an electric current.
Further, the light receiving element 7 includes a phototransistor or the like,
An element for passing an electric current in accordance with the intensity of the irradiated light. The element is arranged to face the light emitting element 5 across the medium transport path. The light emitting element 5 and the light receiving element 7 constitute a sensor for detecting the medium. doing. The light emitting current control unit 6 is a current control unit that is connected to the light emitting element 5 and switches whether to supply current to the light emitting element 5 based on the light emitting current control signal received from the control unit 2. The current / voltage converter 8 is a current / voltage converter that is connected to the light receiving element 7 and converts a current supplied from the light receiving element 7 into a voltage.

【0006】電圧増幅部9は、電流・電圧変換部8と接
続され、電流・電圧変換部8から供給される電圧を増幅
するための増幅部である。A/Dコンバータ10は、電
圧増幅部9と接続され、電圧増幅部9から供給される電
圧をデジタル値に変換し、受光素子出力電圧Voutと
して制御部2に送信するため機能を有している。また、
紙葉類搬送装置11は、リファレンスデータ生成コマン
ドや重走検知コマンド等を紙葉類重走検知装置本体1に
送信し、かつ、生成したリファレンスデータや重走検知
結果を受信する等の機能を有している。
The voltage amplifier 9 is connected to the current / voltage converter 8 and amplifies the voltage supplied from the current / voltage converter 8. The A / D converter 10 is connected to the voltage amplifying unit 9 and has a function of converting a voltage supplied from the voltage amplifying unit 9 into a digital value and transmitting the digital value to the control unit 2 as a light receiving element output voltage Vout. . Also,
The paper sheet transport device 11 has a function of transmitting a reference data generation command, a heavy running detection command, and the like to the paper heavy weight running detection device main body 1 and receiving the generated reference data and the heavy running detection result. Have.

【0007】次に、紙葉類重走検知装置の動作について
説明する。紙葉類重走検知装置の動作モードは、リファ
レンスデータ生成モードと、重走検知モードの2モード
がある。リファレンスデータ生成モードとは、重走検知
の基準となる1枚の搬送媒体が対向配置された発光素子
5と受光素子7との間隙を通過したときの受光素子出力
電圧VoutをリファレンスデータとしてBBM4に格
納する処理を行うモードである。
Next, the operation of the heavy paper running detection device will be described. There are two operation modes of the paper sheets heavy running detection device, a reference data generation mode and a heavy running detection mode. In the reference data generation mode, the light-receiving element output voltage Vout when a single transport medium serving as a reference for heavy running detection passes through the gap between the light-emitting element 5 and the light-receiving element 7 arranged opposite to each other is output to the BBM 4 as reference data. This is the mode for performing the storing process.

【0008】また、重走検知モードとは、重走検知の対
象となる搬送媒体が、発光素子5と受光素子7との間隙
を通過したときの受光素子出力電圧Voutとリファレ
ンスデータとを比較して搬送媒体の重走を検知するモー
ドである。即ち、リファレンスデータ生成モードとは、
重走検知のための基準値を生成するためのモードであ
り、重走検知モードとは、リファレンスデータ生成モー
ドで生成されたリファレンスデータに基づき媒体が重走
しているか否かを判定するためのモードである。
In the heavy running detection mode, the light receiving element output voltage Vout when the transport medium to be subjected to the heavy running detection passes through the gap between the light emitting element 5 and the light receiving element 7 is compared with the reference data. This is a mode for detecting the heavy running of the transport medium. That is, the reference data generation mode is
This is a mode for generating a reference value for heavy running detection, and the heavy running detection mode is for determining whether or not the medium is running multiple times based on the reference data generated in the reference data generation mode. Mode.

【0009】図14に、従来のリファレンスデータ生成
処理のフローチャートを示す。紙葉類重走検知装置本体
1が、紙葉類搬送装置11からリファレンスデータ生成
コマンドを受信したとすると、以下のように動作を行
う。 [ステップS1] 紙葉類搬送装置11からの媒体あり信号を受信している
か判定する。媒体あり信号を受信していなければそのま
ま待つ。媒体あり信号を受信したら次の処理に移る。な
お、媒体あり信号とは、搬送媒体が発光素子5と受光素
子7との間隙を通過している時に紙葉類搬送装置11か
ら制御部2に送信される信号である。
FIG. 14 shows a flowchart of a conventional reference data generation process. Assuming that the sheet heavy running detection device main body 1 receives the reference data generation command from the sheet transporting device 11, the following operation is performed. [Step S1] It is determined whether a medium presence signal from the paper sheet transport device 11 has been received. If the medium presence signal has not been received, the process waits. When the medium presence signal is received, the process proceeds to the next processing. The medium presence signal is a signal transmitted from the paper sheet transport device 11 to the control unit 2 when the transport medium passes through the gap between the light emitting element 5 and the light receiving element 7.

【0010】[ステップS2] 受光素子出力電圧Voutをn回読取る。尚、このn回
の読取りとは、1枚の媒体に対して、その媒体の複数箇
所における受光素子出力電圧Voutの読取りを意味し
ている。 [ステップS3] n回読取ったVoutの合計値をVon0としてBBM
4に格納する。 [ステップS4] リファレンスデータ生成完了のレスポンスを紙葉類搬送
装置11に送信する。以上で、リファレンスデータ生成
処理が終了する。
[Step S2] The output voltage Vout of the light receiving element is read n times. Note that the reading n times means reading of the light receiving element output voltage Vout at a plurality of locations on one medium. [Step S3] BBM is set as the total value of Vout read n times as Von0
4 is stored. [Step S4] The reference data generation completion response is transmitted to the paper sheet transport device 11. Thus, the reference data generation process ends.

【0011】次に、重走検知モードを説明する。図15
に、従来の重走検知処理のフローチャートを示す。紙葉
類重走検知装置本体1が、紙葉類搬送装置11から重走
検知コマンドを受信したとすると、以下のように動作を
行う。 [ステップS1] 紙葉類搬送装置11からの媒体あり信号を受信している
か判定する。媒体あり信号を受信していなければそのま
ま待つ。媒体あり信号を受信したら次の処理に移る。 [ステップS2] 受光素子出力電圧Voutをn回読取る。この場合も上
記リファレンスデータ生成モードと同様に、1枚の媒体
に対して、その媒体の複数箇所における受光素子出力電
圧Voutの読取りを意味している。 [ステップS3] n回読取ったVoutの合計値をVonとしてBBM4
に格納する。
Next, the heavy running detection mode will be described. FIG.
2 shows a flowchart of a conventional heavy running detection process. Assuming that the heavy paper running detection device main body 1 receives a heavy running detection command from the paper sheet transport device 11, the following operation is performed. [Step S1] It is determined whether a medium presence signal from the paper sheet transport device 11 has been received. If the medium presence signal has not been received, the process waits. When the medium presence signal is received, the process proceeds to the next processing. [Step S2] The light receiving element output voltage Vout is read n times. In this case as well, as in the reference data generation mode, this means reading of the light-receiving element output voltage Vout at a plurality of points on one medium. [Step S3] The BBM4 sets the total value of Vout read n times as Von.
To be stored.

【0012】[ステップS4] Von/Von0の値と規定値との大小判定を行う。V
on/Von0の値が規定値より大きい場合は、搬送媒
体は重走していないと判定し、次のステップS5の処理
に移る。一方、Von/Von0の値が規定値と同一も
しくは小さい場合は、搬送媒体は重走していると判定し
ステップS6の処理に移る。即ち、重走状態ではなく、
かつ理論上の理想状態では、Von0=Vonである
が、重走状態では、媒体の透過率が低くなるため、受光
素子出力電圧は低くなる。その結果、出力電圧合計値V
onの値も低くなり、Von<Von0となる。従っ
て、Von/Von0の値を、予め実験的に求めた重走
判定のための規定値と比較することにより、このような
判定が行えるわけである。 [ステップS5] 紙葉類搬送装置11に対して、重走なしのレスポンス送
信を行う。 [ステップS6] 紙葉類搬送装置11に対して、重走ありのレスポンス送
信を行う。以上で、重走検知処理が終了する。
[Step S4] A magnitude judgment is made between the value of Von / Von0 and the specified value. V
If the value of on / Von0 is larger than the specified value, it is determined that the transport medium is not running in a multiple manner, and the process proceeds to the next step S5. On the other hand, if the value of Von / Von0 is equal to or smaller than the specified value, it is determined that the transport medium is running multiple times, and the process proceeds to step S6. That is, not in a heavy running state,
In a theoretical ideal state, Von0 = Von, but in the heavy running state, the transmittance of the medium is low, so that the output voltage of the light receiving element is low. As a result, the total output voltage V
The value of on also decreases, and Von <Von0. Therefore, such a determination can be made by comparing the value of Von / Von0 with a prescribed value for determination of heavy running which is experimentally obtained in advance. [Step S <b> 5] A response is transmitted to the paper sheet transporting device 11 without any double running. [Step S <b> 6] A response is sent to the sheet transport device 11 indicating that there is a heavy running. Thus, the heavy running detection process ends.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、上記従
来の紙葉類重走検知装置では、以下のような問題点があ
った。 (1)誤って重走検知対象外の媒体が搬送された場合、
または装置が故障していた場合に、重走を誤検知する恐
れがある。 (2)媒体上の小さな汚れおよび異物等によって、重走
検知の精度が低下する恐れがある。 (3)媒体の光に対する透過率および反射率のばらつき
によって、重走検知の精度が低下する恐れがある。 (4)回路ばらつきによって、重走検知の精度が低下す
る恐れがある。 (5)発光素子5および受光素子7の経時変化(汚損・
劣化等)によって、重走検知の精度が低下する恐れがす
る。
However, the above-mentioned conventional heavy paper running detection apparatus has the following problems. (1) If a medium not targeted for heavy running detection is transported by mistake,
Or, when the device is out of order, there is a possibility that a heavy running is erroneously detected. (2) The accuracy of heavy running detection may be reduced due to small dirt and foreign matter on the medium. (3) Due to variations in the transmittance and the reflectance of the medium with respect to light, the accuracy of the heavy running detection may be reduced. (4) The accuracy of the heavy running detection may be reduced due to circuit variations. (5) Temporal change of the light emitting element 5 and the light receiving element 7 (contamination
Deterioration etc.) may reduce the accuracy of heavy running detection.

【0014】本発明は、上記従来の問題点を解決するた
めになされたもので、重走検知精度の優れた装置を提供
することを目的とする。
The present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to provide an apparatus which is excellent in the accuracy of detecting heavy running.

【0015】[0015]

【課題を解決するための手段】本発明は以上の点を解決
するために次の構成を採用する。 〈構成1〉 媒体の搬送路上に設けたセンサの一方を構成する発光素
子と、前記センサの他方を構成し、前記発光素子から媒
体を介して光を受光し、その受光した光の強さに対応す
る値を出力する受光素子と、前記受光素子からの出力値
に基づき、媒体が複数枚重なって搬送されているか否か
の重走状態を判定する重走判定手段と、前記発光素子と
前記受光素子間に媒体がない状態で、前記発光素子の点
灯時および消灯時における前記受光素子からの出力値
と、装置異常判定用の所定基準範囲とを比較し、当該範
囲外であった場合は装置自体の異常と判定し、この判定
結果を前記重走判定手段に対して出力するとともに、前
記発光素子と受光素子間に媒体があり、かつ、前記発光
素子の点灯時の前記受光素子からの出力値を媒体異常判
定用の所定基準範囲と比較し、当該範囲外であった場合
は被検知媒体自体の異常と判定し、この判定結果を前記
重走判定手段に対して出力する装置・媒体異常検出部を
備えたことを特徴とする紙葉類重走検知装置。
The present invention adopts the following constitution in order to solve the above points. <Structure 1> A light emitting element forming one of the sensors provided on the medium transport path and a light emitting element forming the other of the sensors, receiving light from the light emitting element via a medium, and adjusting the intensity of the received light to A light-receiving element that outputs a corresponding value; and, based on an output value from the light-receiving element, a heavy running determination unit that determines a heavy running state as to whether or not a plurality of media are being conveyed, and the light emitting element and In the state where there is no medium between the light receiving elements, the output value from the light receiving element when the light emitting element is turned on and when the light emitting element is turned off is compared with a predetermined reference range for determining a device abnormality. It is determined that the apparatus itself is abnormal, and this determination result is output to the heavy running determination means, and there is a medium between the light emitting element and the light receiving element, and the light receiving element emits light when the light emitting element is turned on. The output value is used as a medium Compared with the constant reference range, when the value is out of the range, it is determined that the detected medium itself is abnormal, and a device / medium abnormality detecting unit that outputs the determination result to the heavy running determination unit is provided. Characteristic heavy running detection device for paper sheets.

【0016】〈構成2〉 媒体の搬送路上に設けたセンサの一方を構成する発光素
子と、前記センサの他方を構成し、前記発光素子から媒
体を介して光を受光し、その受光した光の強さに対応す
る値を出力する受光素子と、前記発光素子と前記受光素
子間に媒体がある状態でかつ当該発光素子が点灯時に、
前記媒体上の複数箇所で読み取った受光素子の出力値を
規定外値判定用の所定基準範囲と比較し、この範囲外の
出力値を削除する規定外値検出部と、前記受光素子から
の前記媒体上の複数箇所での出力値から、当該複数の出
力値における最大値と最小値とを削除する最大値・最小
値検出部と、前記発光素子と前記受光素子間に媒体があ
る状態でかつ当該発光素子が点灯時に読み取った前記受
光素子の出力値から、前記発光素子と前記受光素子間に
媒体がない状態でかつ当該発光素子が消灯時に読み取っ
た前記受光素子の出力値をオフセット分として減算する
回路ばらつき補正部と、前記媒体の重走検知のためのリ
ファレンスデータを生成するリファレンスデータ生成モ
ードで、前記発光素子と前記受光素子との間隙に前記媒
体がない状態でかつ当該発光素子が点灯時の前記受光素
子の出力値をリファレンスデータとし、前記媒体の重走
を検知する重走検知モードで、前記発光素子と前記受光
素子との間隙に前記媒体がない状態でかつ当該発光素子
が点灯時の前記受光素子の出力値を重走検知データと
し、これらリファレンスデータと重走検知データとの比
率に基づき重走判定値を算出するセンサ汚損・劣化補正
部と、前記受光素子からの出力値と、前記規定外値検出
部で削除された値以外の出力値と、前記最大値・最小値
検出部で削除された値以外の出力値と、前記回路ばらつ
き補正部での減算結果と、前記センサ汚損・劣化補正部
で算出された重走判定値とに基づき、媒体が複数枚重な
って搬送されているか否かの重走状態を判定する重走判
定手段と、前記発光素子と前記受光素子間に媒体がない
状態で、前記発光素子の点灯時および消灯時における前
記受光素子からの出力値を整数回読み取った合計値と、
装置異常判定用の所定基準範囲とを比較し、当該範囲外
であった場合は装置自体の異常と判定し、この判定結果
を前記重走判定手段に対して出力するとともに、前記発
光素子と前記受光素子間に媒体があり、かつ、前記発光
素子の点灯時の前記受光素子からの出力値を整数回読み
取った合計値と、媒体異常判定用の所定基準範囲とを比
較し、たいがい範囲外であった場合は被検知媒体自体の
異常と判定し、この判定結果を前記重走判定手段に対し
て出力する装置・媒体異常検出部を備えたことを特徴と
する紙葉類重走検知装置。
<Structure 2> A light emitting element constituting one of the sensors provided on the medium conveyance path and the other of the sensors, light is received from the light emitting element via the medium, and the received light is A light receiving element that outputs a value corresponding to the intensity, and in a state where there is a medium between the light emitting element and the light receiving element and the light emitting element is turned on,
The output values of the light-receiving elements read at a plurality of locations on the medium are compared with a predetermined reference range for out-of-specification value determination, an out-of-specification value detection unit that deletes output values outside this range, and From the output values at a plurality of locations on the medium, a maximum value / minimum value detection unit that deletes the maximum value and the minimum value of the plurality of output values, and in a state where the medium exists between the light emitting element and the light receiving element, and From the output value of the light receiving element read when the light emitting element is turned on, the output value of the light receiving element read when the light emitting element is turned off when there is no medium between the light emitting element and the light receiving element is subtracted as an offset. And a reference data generation mode for generating reference data for detecting running of the medium in a state where the medium is not present in a gap between the light emitting element and the light receiving element. The output value of the light-receiving element when the light-emitting element is turned on as reference data, in a heavy running detection mode for detecting heavy running of the medium, in a state where the medium is not present in a gap between the light-emitting element and the light-receiving element, and An output value of the light receiving element when the light emitting element is turned on is used as heavy running detection data, and a sensor stain / deterioration correction unit that calculates a heavy running determination value based on a ratio between the reference data and the heavy running detection data; An output value from the element, an output value other than a value deleted by the out-of-specification value detection unit, an output value other than a value deleted by the maximum value / minimum value detection unit, Heavy running determination means for determining a heavy running state as to whether or not a plurality of media are conveyed based on the subtraction result and the heavy running determination value calculated by the sensor fouling / deterioration correction unit; and Element and the light receiving element The total value in the absence medium, read integer times the output value from the photodiode in the lit and unlit of the light emitting element between,
Compare with a predetermined reference range for device abnormality determination, if it is out of the range, determine that the device itself is abnormal, output this determination result to the heavy running determination means, and the light emitting element and the There is a medium between the light-receiving elements, and the total value obtained by reading the output value from the light-receiving element when the light-emitting element is turned on an integer number of times is compared with a predetermined reference range for medium abnormality determination. A paper sheets heavy running detection device, comprising: a device that determines that the detected medium itself is abnormal when detected, and outputs a result of the determination to the heavy running determining means / medium abnormality detecting unit.

【0017】〈構成3〉 媒体の搬送路上に設けたセンサの一方を構成する発光素
子と、前記センサの他方を構成し、前記発光素子から媒
体を介して光を受光し、その受光した光の強さに対応す
る値を出力する受光素子と、a6を、媒体なしまたはあ
りの場合の前記受光素子の出力電圧合計値、a4を、媒
体なしでかつ発光素子消灯時の前記受光素子の出力電圧
合計値、a5を、前記受光素子の出力出力電圧の合計検
出回数、a7を、前記受光素子の出力電圧合計検出回数
a5から、規定外値と最大値と最小値の検出回数を削除
した後の、合計検出回数としたとき、式(a6−a4×
a7/a5)により、前記受光素子の出力電圧合計値を
求める回路ばらつき補正部と、前記回路ばらつき補正部
での演算結果に基づき、媒体が複数枚重なって搬送され
ているか否かの重走状態を判定する重走判定手段とを備
えたことを特徴とする紙葉類重走検知装置。
<Structure 3> A light emitting element constituting one of the sensors provided on the medium conveyance path and the other of the sensors, light is received from the light emitting element via the medium, and the received light is A light receiving element for outputting a value corresponding to the intensity, a6 is a total output voltage value of the light receiving element in the absence or presence of a medium, a4 is an output voltage of the light receiving element in the absence of a medium and when the light emitting element is turned off. The total value, a5, is the total number of detections of the output output voltage of the light receiving element. , And the total number of detections, the equation (a6-a4 ×
a7 / a5), a circuit variation correction unit for calculating the total output voltage of the light receiving element, and a multi-running state of whether or not a plurality of media are conveyed based on the calculation result of the circuit variation correction unit A heavy running detection device, comprising:

【0018】[0018]

【作用】第1発明の紙葉類重走検知装置においては、装
置・媒体異常検出部により、装置や媒体の異常を検出
し、重走判定手段は、装置や媒体が正常な状態でのみ重
走判定を行う。
In the sheet heavy running detection device according to the first aspect of the invention, the device / medium abnormality detecting section detects an abnormality in the device or medium, and the heavy running determination means performs the heavy running only when the device or medium is in a normal state. Make a run decision.

【0019】第2発明の紙葉類重走検知装置において
は、媒体上の複数箇所で読取った受光素子の出力値のう
ち、規定外値検出部は、予め決定した規定値の範囲以外
の規定外値を削除する。最大値・最小値検出部は、受光
素子の出力値からそれらの最大値と最小値を削除する。
回路ばらつき補正部が、回路のオフセット補正を行う。
センサ汚損・劣化補正部が、発光素子や受光素子の汚損
・劣化といった経時変化を補正する。 そして、重走判定
手段は、こうして処理された受光素子の出力値に基づき
重走判定を行う。
In the heavy running detection device for paper sheets according to the second invention,
Is the output value of the light-receiving element read at a plurality of locations on the medium.
In other words, the out-of-spec value detection unit detects a value outside the predetermined value range.
Delete out-of-spec value of. The maximum / minimum value detector
Remove their maximum and minimum values from the output values of the elements.
The circuit variation correction unit performs circuit offset correction.
The sensor contamination / deterioration correction unit is used to clean the light emitting element and light receiving element
-Compensate for temporal changes such as deterioration. And heavy running judgment
The means is based on the output value of the light receiving element thus processed.
Perform heavy running judgment.

【0020】第発明の紙葉類重走検知装置において
は、回路ばらつき補正部が、回路のオフセット補正を行
う。そして、重走判定手段は、このようなオフセット補
正された状態で受光素子の出力値から重走判定を行う。
In the heavy running detection apparatus for paper sheets according to the third invention, the circuit variation correction section performs circuit offset correction. Then, the heavy running determination means makes the heavy running determination from the output value of the light receiving element in such an offset-corrected state.

【0021】[0021]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。図1は本発明の紙葉類重走検知装置の実施例
を示すブロック図である。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the heavy paper running detection device of the present invention.

【0022】図において、100は紙葉類重走検知装置
本体を示し、この装置100は、制御部20、ROM
(リード・オンリ・メモリ)3、BBM(バッテリバッ
クアップメモリ)4、発光素子5、発光電流制御部6、
受光素子7、電流・電圧変換部8、電圧増幅部9、A/
Dコンバータ10、装置・媒体異常検出部12、規定外
値検出部13、最大値・最小値検出部14、回路ばらつ
き補正部15、センサ汚損・劣化補正部16から構成さ
れている。また、11は、紙葉類搬送装置を示してい
る。ここで、ROM3〜A/Dコンバータ10は、従来
の紙葉類重走検知装置における構成と同様であるため、
ここでの説明を省略する。
In the figure, reference numeral 100 denotes a main body of a heavy paper running detection device.
(Read only memory) 3, BBM (battery backup memory) 4, light emitting element 5, light emitting current control unit 6,
Light receiving element 7, current / voltage converter 8, voltage amplifier 9, A /
It comprises a D converter 10, a device / medium abnormality detector 12, an out-of-spec value detector 13, a maximum / minimum value detector 14, a circuit variation corrector 15, and a sensor contamination / deterioration corrector 16. Reference numeral 11 denotes a paper sheet transport device. Here, since the configuration of the ROM 3 to the A / D converter 10 is the same as that of the conventional sheet heavy running detection device,
The description here is omitted.

【0023】制御部20は、従来と同様に、紙葉類重走
検知装置本体100としての各部の制御を統轄する機能
を有しており、重走判定手段21を備えている。この重
走判定手段21は、後述するように、リファレンスデー
タ生成処理と重走検知処理における受光素子7からの出
力電圧の合計値の比率と、予め定めた重走判定のための
規定値とを比較し、媒体の重走状態の判定を行う機能を
有している。
The control unit 20 has a function of supervising the control of each unit as the paper sheet heavy running detection device main body 100 as in the conventional case, and includes a heavy running determining unit 21. As described later, the heavy running determination means 21 compares the ratio of the total value of the output voltages from the light receiving elements 7 in the reference data generation processing and the heavy running detection processing to a predetermined value for the heavy running determination. It has a function of comparing and judging the heavy running state of the medium.

【0024】また、装置・媒体異常検出部12は、発光
素子5と受光素子7間の媒体がない状態で、発光素子5
の点灯時および消灯時における受光素子7からの出力値
と、所定範囲の基準値と比較し、当該範囲外であった場
合は、装置側の異常と判定し、発光素子5と受光素子7
間の媒体があり、かつ、発光素子5の点灯時の受光素子
7からの出力値を所定範囲の基準値と比較し、当該範囲
外であった場合は、被検知媒体の異常と判定する機能を
有している。
Further, the device / medium abnormality detecting section 12 detects the light emitting element 5 when there is no medium between the light emitting element 5 and the light receiving element 7.
The output value from the light receiving element 7 at the time of turning on and off the light is compared with a reference value in a predetermined range. If the value is out of the range, it is determined that the apparatus is abnormal, and the light emitting element 5 and the light receiving element 7
A function of comparing the output value from the light receiving element 7 when the light emitting element 5 is turned on with the reference value in a predetermined range, and determining that the detected medium is abnormal when the medium is out of the predetermined range. have.

【0025】即ち、これを具体的に説明すると、先ず、
リファレンスデータ生成モードにおいて、“媒体な
し”かつ発光素子5が消灯時の受光素子出力電圧Vou
tをn1(n1は正の整数)回読取った値の合計値(以
下、Vos0と呼ぶ。)と、このVos0の予め決定さ
れた規定値(最大値)Vos0maxおよびVos0の
規定値(最小値)Vos0minとを大小比較して装置
異常を検出する機能、“媒体なし”かつ発光素子5が
点灯時の受光素子出力電圧Voutをn2(n2は正の
整数)回読取った値の合計値(以下、Vof0と呼
ぶ。)と、このVof0の予め決定された規定値(最大
値)Vof0maxおよびVof0の規定値(最小値)
Vof0minとを大小比較して装置異常を検出する機
能、“媒体あり”かつ発光素子5が点灯時の受光素子
出力電圧Voutをn3(n3は正の整数)回読取った
値の合計値(以下、Von0と呼ぶ。)と、このVon
0の予め決定された規定値(最大値)Von0maxお
よびVon0の規定値(最小値)Von0minとを大
小比較して媒体異常を検出する機能とを有し、
That is, this will be described in detail.
In the reference data generation mode, the light-receiving element output voltage Vou when “there is no medium” and the light-emitting element 5 is turned off.
The total value (hereinafter, referred to as Vos0) of the values obtained by reading t n1 times (n1 is a positive integer), and a predetermined specified value (maximum value) Vos0max of Vos0 and a specified value (minimum value) of Vos0 A function of detecting a device abnormality by comparing the magnitude with Vos0min, and a total value (hereinafter, referred to as “there is no medium”) of a value obtained by reading the light-receiving element output voltage Vout n2 times (n2 is a positive integer) when the light-emitting element 5 is turned on. Vof0) and a predetermined value (maximum value) Vof0max of Vof0 and a specified value (minimum value) of Vof0.
Vof0min a function of detecting a magnitude compared to apparatus abnormalities, total "media presence" and the value-emitting element 5 is a (are n3 a positive integer) n3 receiving element <br/> output voltage Vout at the time of lighting were read times Value (hereinafter referred to as Von0) and this Von
A predetermined value (maximum value) Von0max and a predetermined value (minimum value) Von0min of Von0, and a function of detecting a medium abnormality by comparing the magnitude with a predetermined value;

【0026】また、重走検知モードにおいて、“媒体
なし”かつ発光素子5が消灯時の受光素子出力電圧Vo
utをm1(m1は正の整数)回読取った値の合計値
(以下、Vosと呼ぶ。)と、このVosの予め決定さ
れた規定値(最大値)VosmaxおよびVosの規定
値(最小値)Vosminとを大小比較して装置異常を
検出する機能、“媒体なし”かつ発光素子5が点灯時
の受光素子出力電圧Voutをm2(m2は正の整数)
回読取った値の合計値(以下、Vofと呼ぶ。)と、こ
のVofの予め決定された規定値(最大値)Vofma
xおよび該Vofの規定値(最小値)Vofminとを
大小比較して装置異常を検出する機能、“媒体あり”
かつ発光素子5が点灯時の受光素子出力電圧Voutを
m3(m3は正の整数)回読取った値の合計値(以下、
Vonと呼ぶ。)と、そのVonの予め決定された規定
値(最大値)VonmaxおよびVonの規定値(最小
値)Vonminとを大小比較して媒体異常を検出する
機能とを有している。
In the heavy running detection mode, the light-receiving element output voltage Vo when "there is no medium" and the light-emitting element 5 is turned off.
ut (m1 is a positive integer) times (to be referred to as Vos hereinafter), and a predetermined specified value (maximum value) Vosmax and a specified value (minimum value) of Vos A function of detecting a device abnormality by comparing the magnitude with Vosmin, and setting the output voltage Vout of the light receiving element when the light emitting element 5 is turned on to “no medium” and m2 (m2 is a positive integer)
The total value of the read values (hereinafter referred to as Vof) and a predetermined specified value (maximum value) Vofma of this Vof
a function of comparing the value of x with a specified value (minimum value) Vofmin of the Vof to detect a device abnormality;
In addition, a total value (hereinafter, referred to as a value obtained by reading m3 (m3 is a positive integer) times the light-receiving element output voltage Vout when the light-emitting element 5 is turned on.
Call it Von. ) Is compared with a predetermined value (maximum value) Vonmax of Von and a predetermined value (minimum value) Vonmin of Von to detect a medium abnormality.

【0027】規定外値検出部13は、発光素子5と受光
素子7間に媒体がある状態でかつ発光素子5が点灯時
に、媒体上の複数箇所で受光素子5の出力値(Von)
を読取り、これら出力値と所定の範囲の基準値(Von
lmt1〜Vonlmt2)とを比較し、この範囲外で
ある出力値を削除して、出力値の合計値Vonとする機
能を有している。
The out-of-spec value detection unit 13 outputs the output value (Von) of the light receiving element 5 at a plurality of locations on the medium when the medium is present between the light emitting element 5 and the light receiving element 7 and the light emitting element 5 is turned on.
Are read, and these output values and a reference value (Von
lmt1 to Vonlmt2), and deletes the output value outside this range to obtain a total output value Von.

【0028】具体的には、先ず、リファレンスデータ生
成モードにおいて、“媒体あり”かつ発光素子5が点灯
時の受光素子出力電圧Voutをn3回読取った値(以
下、Von0(1),Von0(2),・・・,Von
0(n3)と呼ぶ)をそれぞれ予め決定された規定値
(最大値)Vonlmt1および規定値(最小値)Vo
nlmt2と大小比較し、Vonlmt1より大きかっ
た場合またはVonlmt2より小さかった場合は該デ
ータを規定外値としてリファレンスデータから削除する
機能と、
Specifically, first, in the reference data generation mode, values obtained by reading the light-receiving element output voltage Vout when the medium is present and the light-emitting element 5 is turned on n3 times (hereinafter referred to as Von0 (1), Von0 (2)). ), ..., Von
0 (n3)) is a predetermined value (maximum value) Vonlm1 and a predetermined value (minimum value) Vo respectively determined in advance.
nlmt2, a function of deleting the data from the reference data as an out-of-spec value when the data is larger than Vonlmt1 or smaller than Vonlmt2,

【0029】重走検知モードにおいて、“媒体あり”か
つ発光素子5が点灯時の受光素子出力電圧Voutを
(m3)回読取った値(以下、Von(1),Von
(2),・・・,Von(n3)と呼ぶ。)をそれぞれ
予め決定された規定値(最大値)Vonlmt1および
規定値(最小値)Vonlmt2と大小比較し、Von
lmt1より大きかった場合またはVonlmt2より
小さかった場合は該データを規定外値として重走検知デ
ータから削除する機能とを有するものである。
In the heavy running detection mode, the output voltage Vout of the light receiving element when the medium is present and the light emitting element 5 is turned on is read (m3) times (hereinafter, Von (1), Von
(2),..., Von (n3). ) Is compared with a predetermined value (maximum value) Vonlmt1 and a predetermined value (minimum value) Vonlmt2 which are determined in advance.
When it is larger than lmt1 or smaller than Volmt2, the data is deleted from the heavy running detection data as an out-of-spec value.

【0030】重走検知モードにおいて、“媒体あり”か
つ発光素子5が点灯時の受光素子出力電圧Voutを
3(m3は正の整数)回読取った値(以下、Von
(1),Von(2),・・・,Von(3)と呼
ぶ。)をそれぞれ予め決定された規定値(最大値)Vo
nlmt1および規定値(最小値)Vonlmt2と大
小比較し、Vonlmt1より大きかった場合またはV
onlmt2より小さかった場合は該データを規定外値
として重走検知データから削除する機能とを有するもの
である。
In the heavy running detection mode, the output voltage Vout of the light receiving element when the medium is present and the light emitting element 5 is turned on is m.
3 (m3 is a positive integer) times (hereinafter Von
(1), Von (2),..., Von ( m3 ). ) Is a predetermined value (maximum value) Vo determined in advance.
nlmt1 and a specified value (minimum value) Vonlmt2, and compare with Vllmt2.
When it is smaller than onlmt2, the data is deleted from the heavy running detection data as an out-of-spec value.

【0031】最大値・最小値検出部14は、読取った
光素子出力電圧VoutをV(1),V(2),V
(3),・・・とし、読取った受光素子出力電圧Vou
tのデータ数をa2(a2は3以上の正の整数)とする
と、V(1),V(2),V(3),・・・の総和、最
大値および最小値を算出し、該総和から該最大値および
該最小値を減算した値をVとしてBBM4に格納し、か
つa2−2をa3としてBBM4に格納する機能を有す
るものである。
[0031] The maximum and minimum values detecting section 14, read received
When the optical element output voltage Vout is V (1), V (2), V
(3),..., And the read light-receiving element output voltage Vou
Assuming that the number of data of t is a2 (a2 is a positive integer of 3 or more ), the sum, maximum value and minimum value of V (1), V (2), V (3),. It has a function of storing a value obtained by subtracting the maximum value and the minimum value from the sum as V in the BBM 4 and storing a2-2 in the BBM 4 as a3.

【0032】回路ばらつき補正部15は、代数a4,a
5,a6およびa7に値をセットすると、下記の式
(1)によって計算された結果をa6に格納する機能を
有する回路ばらつき補正部であり、制御部2と接続され
ている。尚、a6は、媒体なし(またはあり)かつ発光
素子5点灯時の出力電圧合計値、a4は媒体なしかつ発
光素子5消灯時の出力電圧合計値、a5は出力電圧の合
計検出回数、a7は合計検出回数a5から規定外値、最
大値、最小値の検出回数を削除した後の合計検出回数で
ある。 a6a6−a4×a7/a5 …(1)
The circuit variation correction unit 15 calculates the algebra a4, a
When a value is set in 5, a6, and a7, the circuit variation correction unit has a function of storing the result calculated by the following equation (1) in a6, and is connected to the control unit 2. In addition, a6 indicates that there is no medium ( or that there is) and that light is emitted.
The total output voltage value when the element 5 is turned on , a4 is the total output voltage value when there is no medium and the light emitting element 5 is turned off, a5 is the total number of detections of the output voltage, and a7 is a value outside the specified range, maximum value, and minimum value from the total detection number a5. This is the total number of detections after deleting the number of value detections . a6 a6-a4 × a7 / a5 (1)

【0033】センサ汚損・劣化補正部16は、下記の式
(2)によって計算された結果を定数kとしてBBM4
に格納する機能を有する機能を有している。尚、kは、
リファレンスデータ生成時と重走検知時とのセンサの汚
損および劣化の比率を表している。 k=Vof0/Vof …(2)
The sensor contamination / deterioration correction unit 16 sets the result calculated by the following equation (2) as a constant k as BBM4
Has the function of storing the information in the. Note that k is
It shows the ratio of sensor contamination and deterioration between when reference data is generated and when heavy running is detected. k = Vof0 / Vof (2)

【0034】次に、上記構成の紙葉類重走検知装置の動
作について説明する。 《リファレンスデータ生成処理の動作》 図2〜図4は、リファレンスデータ生成処理のフローチ
ャートである。紙葉類重走検知装置本体100が、紙葉
類搬送装置11からリファレンスデータ生成コマンドを
受信したとすると、以下のように動作を行う。 [ステップS1] 制御部20は、発光電流制御部6に対して、発光素子5
を消灯させるための発光電流制御信号を送信し、発光素
子5を消灯させる。 [ステップS2] 受光素子出力電圧Voutをn1(n1は正の整数)回
読取る。
Next, the operation of the above-configured sheet heavy running detection device will be described. << Operation of Reference Data Generation Processing >> FIGS. 2 to 4 are flowcharts of the reference data generation processing. Assuming that the sheet heavy running detection device main body 100 receives the reference data generation command from the sheet transport device 11, the following operation is performed. [Step S1] The control unit 20 sends the light emitting element 5
A light emission current control signal for turning off the light is transmitted, and the light emitting element 5 is turned off. [Step S2] The light receiving element output voltage Vout is read n1 times (n1 is a positive integer) times.

【0035】[ステップS3] 上記ステップS2で読取った各受光素子出力電圧Vou
tを、それぞれVos0(1),Vos0(2),・・
・,Vos0(n1)としてBBM4に格納する。 [ステップS4] Vos0(1),Vos0(2),・・・,Vos0
(n1)の総和(Vos0)を算出する。 [ステップS5] Vos0およびn1をBBM4に格納する。
[Step S3] Each light-receiving element output voltage Vou read in the above step S2.
t is Vos0 (1), Vos0 (2),.
, Stored in BBM4 as Vos0 (n1). [Step S4] Vos0 (1), Vos0 (2),..., Vos0
The sum (Vos0) of (n1) is calculated. [Step S5] Vos0 and n1 are stored in the BBM4.

【0036】[ステップS6] 制御部20は、発光電流制御部6に対して、発光素子5
を点灯させるための発光電流制御信号を送信し、発光素
子5を点灯させる。 [ステップS7] 受光素子出力電圧Voutをn2(n2は正の整数)回
読取る。 [ステップS8] 上記ステップS7で読取った各受光素子出力電圧Vou
tを、それぞれVof0(1),Vof0(2),・・
・,Vof0(n2)としてBBM4に格納する。 [ステップS9] Vof0(1),Vof0(2),・・・,Vof0
(n2)の総和(Vof0)を算出する。 [ステップS10] Vof0およびn2をBBM4に格納する。
[Step S6] The control unit 20 sends the light emitting element 5 to the light emitting current control unit 6.
A light emitting current control signal for turning on the light emitting element is transmitted, and the light emitting element 5 is turned on. [Step S7] The light-receiving element output voltage Vout is read n2 times (n2 is a positive integer). [Step S8] Each light receiving element output voltage Vou read in step S7.
t is Vof0 (1), Vof0 (2),.
, Stored in the BBM 4 as Vof0 (n2). [Step S9] Vof0 (1), Vof0 (2),..., Vof0
The sum (Vof0) of (n2) is calculated. [Step S10] Vof0 and n2 are stored in BBM4.

【0037】[ステップS11] 紙葉類搬送装置11からの媒体あり信号を受信している
か判定する。媒体あり信号を受信していなければそのま
ま待つ。媒体あり信号を受信したら次の処理に移る。 [ステップS12] 受光素子出力電圧Voutをn3(n3は正の整数)回
読取る。 [ステップS13] 上記ステップS12で読取った各受光素子出力電圧Vo
utを、それぞれVon0(1),Von0(2),・
・・,Von0(n3)としてBBM4に格納する。 [ステップS14] Von0(1),Von0(2),・・・,Von0
(n3)の総和(Von0)を算出する。 [ステップS15] Von0およびn3をBBM4に格納する。
[Step S11] It is determined whether or not a medium presence signal from the paper sheet transport device 11 has been received. If the medium presence signal has not been received, the process waits. When the medium presence signal is received, the process proceeds to the next processing. [Step S12] The light receiving element output voltage Vout is read n3 times (n3 is a positive integer). [Step S13] Each light receiving element output voltage Vo read in step S12.
ut are Von0 (1), Von0 (2),.
.., Stored in BBM4 as Von0 (n3). [Step S14] Von0 (1), Von0 (2),..., Von0
The sum (Von0) of (n3) is calculated. [Step S15] Von0 and n3 are stored in the BBM4.

【0038】[ステップS16] 装置・媒体異常検出処理を行う。本処理では、装置に異
常があると判定したら装置異常ビットを“1”とし、装
置が正常であると判定したら装置異常ビットを“0”と
してBBM4に格納する。また、媒体に異常があると判
定したら媒体異常ビットを“1”とし、媒体が正常であ
ると判定したら媒体異常ビットを“0”としてBBM4
に格納する。尚、この装置・媒体異常検出処理について
は、後述する。 [ステップS17] 装置異常ビットの判定を行い、装置異常ビットが“1”
であったらステップS18の処理に移り、装置異常ビッ
トが“0”であったらステップS19の処理に移る。 [ステップS18] 装置異常を示すレスポンスを紙葉類搬送装置11に対し
て送信し、リファレンスデータ生成処理を終了する。
[Step S16] Device / medium abnormality detection processing is performed. In this process, if it is determined that the device is abnormal, the device abnormality bit is set to "1", and if it is determined that the device is normal, the device abnormality bit is set to "0" and stored in the BBM 4. If it is determined that the medium is abnormal, the medium abnormality bit is set to “1”. If the medium is determined to be normal, the medium abnormality bit is set to “0”.
To be stored. The device / medium abnormality detection processing will be described later. [Step S17] The device abnormality bit is determined, and the device abnormality bit is set to “1”.
If so, the process proceeds to step S18, and if the device abnormality bit is “0”, the process proceeds to step S19. [Step S18] A response indicating a device abnormality is transmitted to the sheet transport device 11, and the reference data generation process ends.

【0039】[ステップS19] 媒体異常ビットの判定を行い、媒体異常ビットが“1”
であったらステップS20の処理に移り、媒体異常ビッ
トが“0”であったらステップS21の処理に移る。 [ステップS20] 媒体異常を示すレスポンスを紙葉類搬送装置11に対し
て送信し、リファレンスデータ生成処理を終了する。
[Step S19] The medium abnormal bit is determined, and the medium abnormal bit is set to "1".
If so, the process proceeds to step S20, and if the medium abnormality bit is “0”, the process proceeds to step S21. [Step S20] A response indicating a medium error is transmitted to the sheet transport apparatus 11, and the reference data generation process ends.

【0040】[ステップS21] 規定外値検出処理を行う。尚、この規定外値検出処理に
ついては、後述する。 [ステップS22] Vos0(1),Vos0(2),・・・,Vos0
(n1)を対象として最大値・最小値検出を行うため、
最大値・最小値検出処理の前処理として、図3に示す代
入を行う。即ち、Vos0(1),・・・,Vos0
(n1)をそれぞれ代数V(1),・・・,V(n1)
に、また、データ数n1を代数a2に代入する。
[Step S21] An out-of-spec value detection process is performed. The out-of-spec value detection process will be described later. [Step S22] Vos0 (1), Vos0 (2),..., Vos0
In order to detect the maximum and minimum values for (n1),
As a pre-process of the maximum / minimum value detection process, the substitution shown in FIG. 3 is performed. That is, Vos0 (1),..., Vos0
(N1) is algebra V (1),..., V (n1)
And the data number n1 is substituted for the algebra a2.

【0041】[ステップS23] 最大値・最小値検出処理を行う。この最大値・最小値検
出処理についても、詳細は後述する。 [ステップS24] 最大値・最小値検出処理の後処理として、図3に示す代
入(Vos←V、n1←a3)を行う。即ち、上記ス
テップS22の前処理の状態に戻す。本処理によって、
合計値Vos0は、Vos0(1),Vos0(2),
・・・,Vos0(n1)の総和から最大値および最小
値を除いた値Vos0となり、n1は、ステップS23
の処理前より−2された値となる。
[Step S23] Maximum / minimum value detection processing is performed. The details of the maximum value / minimum value detection process will be described later. [Step S24] As a post-process of the maximum value / minimum value detection process, substitution (Vos 0 ← V, n1 ← a3) shown in FIG. 3 is performed. That is, the state returns to the state of the pre-processing of step S22. By this processing,
The total value Vos0 is Vos0 (1), Vos0 (2),
.., The value Vos0 obtained by removing the maximum value and the minimum value from the sum of Vos0 (n1), and n1 is the value of Step S23.
Becomes -2 before the processing of.

【0042】[ステップS25] Vof0(1),Vof0(2),・・・,Vof0
(n2)を対象として最大値・最小値検出を行うため、
最大値・最小値検出処理の前処理として、図3に示す代
入を行う。即ち、Vof0(1),・・・,Vof0
(n2)をそれぞれ代数V(1),・・・,V(n2)
に、また、データ数n2を代数a2に代入する。
[Step S25] Vof0 (1), Vof0 (2),..., Vof0
Since the maximum value and the minimum value are detected for (n2),
As a pre-process of the maximum / minimum value detection process, the substitution shown in FIG. 3 is performed. That is, Vof0 (1),..., Vof0
(N2) is algebra V (1),..., V (n2)
And the data number n2 is substituted for the algebra a2.

【0043】[ステップS26] 最大値・最小値検出処理を行う(詳細は、後述する)。 [ステップS27] 最大値・最小値検出処理の後処理として、図3に示す代
入を行う。本処理によって、合計値Vof0は、Vof
0(1),Vof0(2),・・・,Vof0(n2)
の総和から最大値および最小値を除いた値となり、n2
は、ステップS26の処理前より−2された値となる。 [ステップS28] Von0(1),Von0(2),・・・,Von0
(n3)を対象として最大値・最小値検出を行うため、
最大値・最小値検出処理の前処理として、図4に示す代
入を行う。即ち、Von0(1),・・・,Von0
(n2)をそれぞれ代数V(1),・・・,V(n2)
に、また、データ数n3を代数a2に代入する。
[Step S26] Maximum / minimum value detection processing is performed (details will be described later). [Step S27] As a post-process of the maximum value / minimum value detection process, the substitution shown in FIG. 3 is performed. By this processing, the total value Vof0 becomes Vof
0 (1), Vof0 (2),..., Vof0 (n2)
Is the value obtained by subtracting the maximum value and the minimum value from the sum of
Is a value obtained by subtracting -2 from the value before the processing in step S26. [Step S28] Von0 (1), Von0 (2),..., Von0
Since the maximum value and the minimum value are detected for (n3),
As a pre-process of the maximum / minimum value detection process, the substitution shown in FIG. 4 is performed. That is, Von0 (1),..., Von0
(N2) is algebra V (1),..., V (n2)
And the data number n3 is substituted for the algebra a2.

【0044】[ステップS29] 最大値・最小値検出処理を行う。 [ステップS30] 最大値・最小値検出処理の後処理として、図4に示す代
入{Von←V}を行う。本処理によって、合計値V
on0は、Von0(1),Von0(2),・・・,
Von0(n3)の総和から最大値および最小値を除い
た値となり、n3は、ステップS29の処理前より−2
された値となる。 [ステップS31]
[Step S29] Maximum / minimum value detection processing is performed. [Step S30] As a post-process of the maximum value / minimum value detection process, the substitution {Von 0 ← V} shown in FIG. 4 is performed. By this processing, the total value V
on0 is Von0 (1), Von0 (2),.
Von0 (n3) is a value obtained by removing the maximum value and the minimum value from the sum total of n, and n3 is -2 from the value before the processing in step S29.
It becomes the value which was done. [Step S31]

【0045】Vof0に対して回路ばらつき補正処理を
行うため、その前処理として、図4に示す代入を行う。
即ち、代数a4にVo0、代数a5にn1、代数a6
にVof0、代数a7にn2をそれぞれ代入する。 [ステップS32] 回路ばらつき補正処理を行う(詳細は、後述する)。 [ステップS33] 回路ばらつき補正の後処理として、図4に示す代入(V
of←a6)を行う。本処理によって、Vof0は、
回路ばらつき補正された値となっている。
In order to perform the circuit variation correction processing on Vof0, the substitution shown in FIG. 4 is performed as preprocessing.
That is, Vo s 0 in algebra a4, n1 in algebra a5, and algebra a6
Is assigned to Vof0, and n2 is assigned to algebra a7. [Step S32] Circuit variation correction processing is performed (details will be described later). [Step S33] As the post-processing of the circuit variation correction, the substitution (V
of 0 ← a6). By this processing, Vof0 becomes
It is a value corrected for circuit variation.

【0046】[ステップS34] Von0に対して回路ばらつき補正処理を行うため、そ
の前処理として、図4に示す代入を行う。 [ステップS35] 回路ばらつき補正処理を行う。 [ステップS36] 回路ばらつき補正の後処理として、図4に示す代入(V
on0←a6)を行う。本処理によって、Von0は、
回路ばらつき補正された値となっている。
[Step S34] In order to perform the circuit variation correction process on Von0, the substitution shown in FIG. 4 is performed as a pre-process. [Step S35] A circuit variation correction process is performed. [Step S36] As a post-process of circuit variation correction, the substitution (V
on0 ← a6) is performed. By this processing, Von0 becomes
It is a value corrected for circuit variation.

【0047】[ステップS37] 紙葉類搬送装置11に対して、リファレンスデータ生成
処理終了を示すレスポンスを送信する。以上で、リファ
レンスデータ生成処理が終了する。
[Step S37] A response indicating the end of the reference data generation processing is transmitted to the paper sheet transport apparatus 11. Thus, the reference data generation process ends.

【0048】《重走検知処理の動作》 図5〜図7は、重走検知処理のフローチャートである。
紙葉類重走検知装置本体100が、紙葉類搬送装置11
から重走検知コマンドを受信したとすると、以下のよう
に動作を行う。 [ステップS1] 制御部20は、発光電流制御部6に対して、発光素子5
を消灯させるための発光電流制御信号を送信し、発光素
子5を消灯させる。
<< Operation of Heavy Running Detection Processing >> FIGS. 5 to 7 are flowcharts of the heavy running detection processing.
The sheet heavy running detection device main body 100 is
Assuming that a heavy running detection command has been received from, the operation is performed as follows. [Step S1] The control unit 20 sends the light emitting element 5
A light emission current control signal for turning off the light is transmitted, and the light emitting element 5 is turned off.

【0049】[ステップS2] 受光素子出力電圧Voutをm1(m1は正の整数)回
読取る。 [ステップS3] 上記ステップS2で読取った各受光素子出力電圧Vou
tを、それぞれVos(1),Vos(2),・・・,
Vos(m1)としてBBM4に格納する。 [ステップS4] Vos(1),Vos(2),・・・,Vos(m1)
の総和Vosを算出する。 [ステップS5] Vosおよびm1をBBM4に格納する。
[Step S2] The light-receiving element output voltage Vout is read m1 times (m1 is a positive integer). [Step S3] Each light receiving element output voltage Vou read in the above step S2.
t is Vos (1), Vos (2),.
It is stored in BBM4 as Vos (m1). [Step S4] Vos (1), Vos (2),..., Vos (m1)
Is calculated. [Step S5] Vos and m1 are stored in the BBM4.

【0050】[ステップS6] 制御部20は、発光電流制御部6に対して、発光素子5
を点灯させるための発光電流制御信号を送信し、発光素
子5を点灯させる。 [ステップS7] 受光素子出力電圧Voutをm2(m2は正の整数)回
読取る。 [ステップS8] 上記ステップS7で読取った各受光素子出力電圧Vou
tを、それぞれVof(1),Vof(2),・・・,
Vof(m2)としてBBM4に格納する。 [ステップS9] Vof(1),Vof(2),・・・,Vof(m2)
の総和Vofを算出する。 [ステップS10] Vofおよびm2をBBM4に格納する。
[Step S6] The control unit 20 sends the light emitting element 5 to the light emitting current control unit 6.
A light emitting current control signal for turning on the light emitting element is transmitted, and the light emitting element 5 is turned on. [Step S7] The light receiving element output voltage Vout is read m2 times (m2 is a positive integer). [Step S8] Each light receiving element output voltage Vou read in step S7.
t is Vof (1), Vof (2),.
It is stored in the BBM 4 as Vof (m2). [Step S9] Vof (1), Vof (2),..., Vof (m2)
Is calculated. [Step S10] Vof and m2 are stored in the BBM4.

【0051】[ステップS11] 紙葉類搬送装置11からの媒体あり信号を受信している
か判定する。媒体あり信号を受信していなければそのま
ま待つ。媒体あり信号を受信したら次の処理に移る。 [ステップS12] 受光素子出力電圧Voutをm3(m3は正の整数)回
読取る。 [ステップS13] 上記ステップS12で読取った各受光素子出力電圧Vo
utを、それぞれVon(1),Von(2),・・
・,Von(m3)としてBBM4に格納する。 [ステップS14] Von(1),Von(2),・・・,Von(m3)
の総和Vonを算出する。 [ステップS15] Vonおよびm3をBBM4に格納する。
[Step S11] It is determined whether a medium presence signal from the paper sheet transport device 11 has been received. If the medium presence signal has not been received, the process waits. When the medium presence signal is received, the process proceeds to the next processing. [Step S12] The light receiving element output voltage Vout is read m3 times (m3 is a positive integer). [Step S13] Each light receiving element output voltage Vo read in step S12.
ut is Von (1), Von (2),.
, Stored in BBM4 as Von (m3). [Step S14] Von (1), Von (2),..., Von (m3)
Is calculated. [Step S15] Von and m3 are stored in the BBM4.

【0052】[ステップS16] 装置・媒体異常検出処理を行う。本処理では、装置に異
常があると判定したら装置異常ビットを“1”とし、装
置が正常であると判定したら装置異常ビットを“0”と
してBBM4に格納する。また、媒体に異常があると判
定したら媒体異常ビットを“1”とし、媒体が正常であ
ると判定したら媒体異常ビットを“0”としてBBM4
に格納する。尚、この装置・媒体異常検出処理について
は、後述する。 [ステップS17] 装置異常ビットの判定を行い、装置異常ビットが“1”
であったらステップS18の処理に移り、装置異常ビッ
トが“0”であったらステップS19の処理に移る。 [ステップS18] 装置異常を示すレスポンスを紙葉類搬送装置11に対し
て送信し、重走検知処理を終了する。
[Step S16] Device / medium abnormality detection processing is performed. In this process, if it is determined that the device is abnormal, the device abnormality bit is set to "1", and if it is determined that the device is normal, the device abnormality bit is set to "0" and stored in the BBM 4. If it is determined that the medium is abnormal, the medium abnormality bit is set to “1”. If the medium is determined to be normal, the medium abnormality bit is set to “0”.
To be stored. The device / medium abnormality detection processing will be described later. [Step S17] The device abnormality bit is determined, and the device abnormality bit is set to “1”.
If so, the process proceeds to step S18, and if the device abnormality bit is “0”, the process proceeds to step S19. [Step S18] A response indicating a device abnormality is transmitted to the sheet transport device 11, and the heavy running detection process ends.

【0053】[ステップS19] 媒体異常ビットの判定を行い、媒体異常ビットが“1”
であったらステップS20の処理に移り、媒体異常ビッ
トが“0”であったらステップS21の処理に移る。 [ステップS20] 媒体異常を示すレスポンスを紙葉類搬送装置11に対し
て送信し、重走検知処理を終了する。 [ステップS21] 規定外値検出処理を行う。
[Step S19] The medium abnormal bit is determined, and the medium abnormal bit is set to "1".
If so, the process proceeds to step S20, and if the medium abnormality bit is “0”, the process proceeds to step S21. [Step S20] A response indicating a medium abnormality is transmitted to the paper sheet transport device 11, and the heavy running detection process ends. [Step S21] An out-of-spec value detection process is performed.

【0054】[ステップS22] Vos(1),Vos(2),・・・,Vos(m1)
を対象として最大値・最小値検出を行うため、最大値・
最小値検出処理の前処理として、図6に示す代入を行
う。即ち、Vos(1),・・・,Vos(m1)をそ
れぞれ代数V(1),・・・,V(m1)に、また、デ
ータ数m1を代数a2に代入する。 [ステップS23] 最大値・最小値検出処理を行う。 [ステップS24] 最大値・最小値検出処理の後処理として、図6に示す代
入(Vos←V、m1←a3)を行う。即ち、上記ステ
ップS22の前処理の状態に戻す。本処理によって、合
計値Vosは、Vos(1),Vos(2),・・・,
Vos(m1)の総和から最大値および最小値を除いた
値となり、m1は、ステップS23の処理前より−2さ
れた値となる。
[Step S22] Vos (1), Vos (2),..., Vos (m1)
To detect the maximum and minimum values for
As a pre-process of the minimum value detection process, the substitution shown in FIG. 6 is performed. That is, Vos (1),..., Vos (m1) are substituted for algebras V (1),..., V (m1), and the number m1 of data is substituted for algebra a2. [Step S23] Maximum / minimum value detection processing is performed. [Step S24] As a post-process of the maximum value / minimum value detection process, substitution (Vos ← V, m1 ← a3) shown in FIG. 6 is performed. That is, the state returns to the state of the pre-processing of step S22. By this processing, the total value Vos becomes Vos (1), Vos (2),.
The value obtained by removing the maximum value and the minimum value from the sum of Vos (m1) is obtained, and m1 is a value obtained by subtracting -2 from the value before the processing in step S23.

【0055】[ステップS25] Vof(1),Vof(2),・・・,Vof(m2)
を対象として最大値・最小値検出を行うため、最大値・
最小値検出処理の前処理として、図6に示す代入を行
う。即ち、Vof(1),・・・,Vof(m2)をそ
れぞれ代数V(1),・・・,V(m2)に、また、デ
ータ数m2を代数a2に代入する。 [ステップS26] 最大値・最小値検出処理を行う。 [ステップS27] 最大値・最小値検出処理の後処理として、図6に示す代
入を行う。本処理によって、合計値Vofは、Vof
(1),Vof(2),・・・,Vof(m2)の総和
から最大値および最小値を除いた値となり、m2は、ス
テップS26の処理前より−2された値となる。
[Step S25] Vof (1), Vof (2),..., Vof (m2)
To detect the maximum and minimum values for
As a pre-process of the minimum value detection process, the substitution shown in FIG. 6 is performed. That is, Vof (1),..., Vof (m2) are substituted for algebras V (1),..., V (m2), and the number of data m2 is substituted for algebra a2. [Step S26] Maximum / minimum value detection processing is performed. [Step S27] As a post-process of the maximum value / minimum value detection process, the substitution shown in FIG. 6 is performed. By this processing, the total value Vof becomes Vof
(1), Vof (2),..., Vof (m2) are the values obtained by removing the maximum value and the minimum value from the sum total, and m2 is a value obtained by subtracting -2 from before the processing in step S26.

【0056】[ステップS28] Von(1),Von(2),・・・,Von(m3)
を対象として最大値・最小値検出を行うため、最大値・
最小値検出処理の前処理として、図7に示す代入を行
う。即ち、Von(1),・・・,Von(m2)をそ
れぞれ代数V(1),・・・,V(m2)に、また、デ
ータ数m3を代数a2に代入する。 [ステップS29] 最大値・最小値検出処理を行う。 [ステップS30] 最大値・最小値検出処理の後処理として、図7に示す代
入(Von←V)を行う。本処理によって、合計値Vo
nは、Von(1),Von(2),・・・,Von
(m3)の総和から最大値および最小値を除いた値とな
り、m3は、ステップS29の処理前より−2された値
となる。
[Step S28] Von (1), Von (2),..., Von (m3)
To detect the maximum and minimum values for
As a pre-process of the minimum value detection process, the substitution shown in FIG. 7 is performed. That is, Von (1),..., Von (m2) are substituted for algebras V (1),..., V (m2), and the number m3 of data is substituted for algebra a2. [Step S29] Maximum / minimum value detection processing is performed. [Step S30] As a post-process of the maximum value / minimum value detection process, substitution (Von ← V) shown in FIG. 7 is performed. By this processing, the total value Vo
n is Von (1), Von (2),..., Von
The value obtained by removing the maximum value and the minimum value from the sum total of (m3) is obtained, and m3 is a value obtained by subtracting -2 from the value before the processing in step S29.

【0057】[ステップS31] Vofに対して回路ばらつき補正処理を行うため、その
前処理として、図7に示す代入を行う。即ち、代数a4
にVo、代数a5にm1、代数a6にVof、代数a
7にm2をそれぞれ代入する。 [ステップS32] 回路ばらつき補正処理を行う。 [ステップS33] 回路ばらつき補正の後処理として、図7に示す代入(V
of←a6)を行う。本処理によって、Vofは、回路
ばらつき補正された値となっている。
[Step S31] In order to perform the circuit variation correction processing on Vof, the substitution shown in FIG. 7 is performed as preprocessing. That is, the algebra a4
V s , m1 for algebra a5, Vof for algebra a6, algebra a
7 is substituted for m2. [Step S32] Circuit variation correction processing is performed. [Step S33] As a post-processing of the circuit variation correction, the substitution (V
of ← a6). By this processing, Vof is a value corrected for circuit variation.

【0058】[ステップS34] Vonに対して回路ばらつき補正処理を行うため、その
前処理として、図7に示す代入を行う。 [ステップS35] 回路ばらつき補正処理を行う。 [ステップS36] 回路ばらつき補正の後処理として、図7に示す代入(V
on←a6)を行う。本処理によって、Vonは、回路
ばらつき補正された値となっている。
[Step S34] In order to perform the circuit variation correction processing on Von, the substitution shown in FIG. 7 is performed as preprocessing. [Step S35] A circuit variation correction process is performed. [Step S36] As a post-processing of the circuit variation correction, the substitution (V
on ← a6) is performed. By this processing, Von is a value corrected for the circuit variation.

【0059】[ステップS37] センサ汚損・劣化補正を行う。これについてもその詳細
は、後述する。 [ステップS38] k×Von/Von0と重走判定のための規定値とを比
較する。尚、この定数kとは、上記ステップS37のセ
ンサ汚損劣化補正処理にて算出された値である。 [ステップS39] 上記ステップS38の比較において、k×Von/Vo
n0が規定値と同値または小さい場合は、重走している
と判断し、紙葉類搬送装置11に対して、重走検知を示
すレスポンスを送信する。
[Step S37] Sensor contamination / deterioration correction is performed. Details of this will be described later. [Step S38] k × Von / Von0 is compared with a specified value for judging heavy running. Note that the constant k is a value calculated in the sensor contamination deterioration correction processing in step S37. [Step S39] In the comparison in step S38, k × Von / Vo
If n0 is equal to or smaller than the specified value, it is determined that a heavy running is occurring, and a response indicating heavy running detection is transmitted to the paper sheet transport device 11.

【0060】[ステップS40] 上記ステップS38の比較において、k×Von/Vo
n0が規定値より大きい場合は、重走していないと判断
し、紙葉類搬送装置11に対して、正常終了を示すレス
ポンスを送信する。以上で、重走検知処理の説明を終了
する。
[Step S40] In the comparison in step S38, k × Von / Vo
If n0 is larger than the specified value, it is determined that the vehicle is not running over the road, and a response indicating normal termination is transmitted to the paper sheet transport device 11. This is the end of the description of the heavy running detection process.

【0061】《装置・媒体異常検出動作》 図8に装置・媒体異常検出処理のフローチャートを示
す。 [ステップS1] リファレンスデータ生成処理の中で本動作を行う場合
は、Vos0とVos0maxおよびVos0とVos
0min(重走検知処理の中で本動作を行う場合は、V
osとVosmaxおよびVosとVosmin)をそ
れぞれ比較判定し、Vos0がVos0maxより大き
い場合(または、VosがVosmaxより大きい場
合)はステップS2aに、また、Vos0がVos0m
inより小さい場合(または、VosがVosminよ
り小さい場合)はステップS2bの処理に移行する。
<< Device / Medium Abnormality Detection Operation >> FIG. 8 shows a flowchart of the device / medium abnormality detection processing. [Step S1] When this operation is performed in the reference data generation processing, Vos0 and Vos0max and Vos0 and Vos
0 min (when performing this operation in the heavy running detection process, V
os and Vosmax and Vos and Vosmin), respectively, and when Vos0 is larger than Vosmax (or when Vos is larger than Vosmax), the process proceeds to step S2a, and when Vos0 is Vos0m.
If it is smaller than in (or if Vos is smaller than Vosmin), the process moves to step S2b.

【0062】一方、上記のVos0がVos0maxよ
り大きい場合(または、VosがVosmaxより大き
い場合)およびVos0がVos0minより小さい場
合(または、VosがVosminより小さい場合)以
外は、ステップS3の処理に移る。尚、上記Vos0m
ax、Vos0min(Vosmax、Vosmin)
の値は、装置異常判定用の所定基準範囲として予め実験
的に求められた値である。 [ステップS2a、S2b] 装置異常ビットを“1”とし、本動作を終了する。
On the other hand, unless Vos0 is larger than Vosmax (or Vos is larger than Vosmax) and Vos0 is smaller than Vosmin (or Vos is smaller than Vosmin), the process proceeds to step S3. In addition, the above Vos0m
ax, Vos0min (Vosmax, Vosmin)
Is a value experimentally obtained in advance as a predetermined reference range for determining a device abnormality. [Steps S2a and S2b] The device abnormality bit is set to “1”, and the operation ends.

【0063】[ステップS3] リファレンスデータ生成処理の中で本動作を行う場合
は、Vof0とVof0maxおよびVof0とVof
0min(重走検知処理の中で本動作を行う場合は、V
ofとVofmaxおよびVofとVofmin)をそ
れぞれ比較判定し、Vof0がVof0maxより大き
い場合(または、VofがVofmaxより大きい場
合)は、ステップS4aに、また、Vof0がVof0
minより小さい場合(または、VofがVofmin
より小さい場合)は、ステップS4bの処理に移る。
[Step S3] When this operation is performed in the reference data generation processing, Vof0 and Vof0max and Vof0 and Vof
0 min (when performing this operation in the heavy running detection process, V
of and Vofmax and Vof and Vofmin), and when Vof0 is larger than Vof0max (or when Vof is larger than Vofmax), the process goes to step S4a, and when Vof0 is Vof0.
min (or Vof is equal to Vofmin
If smaller, the process proceeds to step S4b.

【0064】一方、上記のVof0がVof0maxよ
り大きい場合(または、VofがVofmaxより大き
い場合)およびVof0がVof0minより小さい場
合(または、VofがVofminより小さい場合)以
外は、ステップS5の処理に移る。尚、上記Vof0m
ax、Vof0min(Vofmax、Vofmin)
の値は、装置異常判定用の所定基準範囲として、予め実
験的に求められた値である。 [ステップS4a、S4b」 装置異常ビットを“1”とし、本動作を終了する。
On the other hand, unless Vof0 is larger than Vof0max (or Vof is larger than Vofmax) and Vof0 is smaller than Vof0min (or Vof is smaller than Vofmin), the process proceeds to step S5. In addition, the above-mentioned Vof0m
ax, Vof0min (Vofmax, Vofmin)
Is a value experimentally obtained in advance as a predetermined reference range for determining a device abnormality. [Steps S4a and S4b] The device abnormality bit is set to “1”, and this operation ends.

【0065】[ステップS5] リファレンスデータ生成処理の中で本動作を行う場合
は、Von0とVon0maxおよびVon0とVon
0min(重走検知処理の中で本動作を行う場合は、V
onとVonmaxおよびVonとVonmin)をそ
れぞれ比較判定し、Von0がVon0maxより大き
い場合(または、VonがVonmaxより大きい場
合)は、ステップS6aに、また、Von0がVon0
minより小さい場合(または、VonがVonmin
より小さい場合)は、ステップS6bの処理に移る。
[Step S5] When this operation is performed in the reference data generation process, Von0 and Von0max and Von0 and Von
0 min (when performing this operation in the heavy running detection process, V
on and Vonmax, and Von and Vonmin), and if Von0 is greater than Von0max (or if Von is greater than Vonmax), step S6a is performed, and Von0 is Von0.
min (or Von is Vonmin
If smaller, the process proceeds to step S6b.

【0066】一方、上記のようにVon0がVon0m
axより大きい場合(または、VonがVonmaxよ
り大きい場合)およびVon0がVon0minより小
さい場合(または、VonがVonminより小さい場
合)以外は、次の処理に進む。尚、上記Von0ma
x、Von0min(Vonmax、Vonmin)の
値は、媒体異常判定用の所定基準範囲として、予め実験
的に求められた値である。 [ステップS6a、S6b] 媒体異常ビットを“1”とし、本動作を終了する。
On the other hand, as described above, Von0 is Von0m
Unless it is larger than ax (or Von is larger than Vonmax) and Von0 is smaller than Von0min (or Von is smaller than Vonmin), the process proceeds to the next process. In addition, the above Von0ma
The values of x and Von0min (Vonmax, Vonmin) are values experimentally obtained in advance as a predetermined reference range for determining a medium abnormality. [Steps S6a and S6b] The medium abnormality bit is set to “1”, and this operation ends.

【0067】《規定外値検出処理》 図9に、規定外値検出処理のフローチャートを示す。 [ステップS1] リファレンスデータ生成処理の中で本動作を行う場合
は、a1=n3(重走検知処理の中で本動作を行う場合
は、a1=m3)の代入を行う。 [ステップS2] リファレンスデータ生成処理の中で本動作を行う場合
は、規定外値の判定を以下の式(3)により行い、Vo
n0(n3)がVonlmt1より大きい、かつ、Vo
nlmt2より小さい場合はステップS5の処理に移
る。また、Von0(n3)がVonlmt1より小さ
い、あるいは、Vonlmt2より大きい場合はステッ
プS3の処理に移る。また、上記Vonlmt1および
Vonlmt2の値は、規定外値判定用の所定基準範囲
として、予め実験的に求められた規定値の最小値と最大
値である。 Vonlmt1<Von0(n3)<Vonlmt2…(3)
<< Outlier Specified Value Detection Processing >> FIG. 9 shows a flowchart of out-of-specified value detection processing. [Step S1] When the main operation is performed in the reference data generation process, a1 = n3 (when the main operation is performed in the multiple running detection process, a1 = m3) is substituted. [Step S2] When this operation is performed in the reference data generation processing, the determination of an out-of-spec value is performed by the following equation (3), and Vo is determined.
n0 (n3) is larger than Volmt1 and Vo
If it is smaller than nlmt2, the process proceeds to step S5. If Von0 (n3) is smaller than Vonlmt1 or larger than Vonlmt2, the process proceeds to step S3. The values of Vonlmt1 and Vonlmt2 are the minimum value and the maximum value of the specified value experimentally obtained in advance as a predetermined reference range for determining an out-of-spec value. Vonlmt1 <Von0 (n3) <Vonlmt2 (3)

【0068】一方、重走検知処理の中で本動作を行う場
合は、規定外値の判定を以下の式(4)により行い、V
on(m3)がVonlmt1より大きい、かつ、Vo
nlmt2より小さい場合はステップS5の処理に移
る。Von(m3)がVonlmt1より小さい、ある
いは、Vonlmt2より大きい場合はステップS3の
処理に移る。 Vonlmt1<Von(m3)<Vonlmt2…(4) [ステップS3] リファレンスデータ生成処理の中で本動作を行う場合
は、Von0(n3){重走検知処理の中で本動作を行
う場合は、Von(m3)}をBBM4から削除する。
尚、ここで、Von0(n3)やVon(m3)とは、
ステップS2において規定外値と判定されたデータを指
している。 [ステップS4] リファレンスデータ生成処理の中で本動作を行う場合
は、n3←n3−1(重走検知処理の中で本動作を行う
場合は、m3←m3−1)の代入を行う。
On the other hand, when this operation is performed in the heavy running detection processing, an out-of-spec value is determined by the following equation (4).
on (m3) is greater than Volmt1 and Vo
If it is smaller than nlmt2, the process proceeds to step S5. If Von (m3) is smaller than Vonlmt1 or larger than Vonlmt2, the process proceeds to step S3. Vonlmt1 <Von (m3) <Vonlmt2 (4) [Step S3] If this operation is performed in the reference data generation processing, Von0 (n3) {Vont if this operation is performed in the multiple running detection processing (M3)} is deleted from BBM4.
Here, Von0 (n3) and Von (m3) are
It indicates the data determined to be an out-of-spec value in step S2. [Step S4] If this operation is performed in the reference data generation process, n3 ← n3-1 (if this operation is performed in the multiple running detection process, m3 ← m3-1) is substituted.

【0069】[ステップS5] a1←a1−1の代入を行う。 [ステップS6] a1=0の判定を行い、a1=0でなかったらステップ
S2の処理に戻る。一方、a1=0であったらステップ
S7の処理に移行する。即ち、データ数n3(m3)だ
け、ステップS2〜ステップS6の処理を繰り返す。 [ステップS7] リファレンスデータ生成処理の中で本動作を行う場合
は、Von0←Von0(1)+Von0(2)+・・
・+Von0(n3){重走検知処理の中で本動作を行
う場合は、Von←Von(1)+Von(2)+・・
・+Von(m3)}の代入を行う。
[Step S5] Substitution of a1 ← a1-1 is performed. [Step S6] It is determined that a1 = 0, and if a1 = 0 is not satisfied, the process returns to step S2. On the other hand, if a1 = 0, the process proceeds to step S7. That is, the processes of steps S2 to S6 are repeated for the number of data n3 (m3). [Step S7] When this operation is performed in the reference data generation processing, Von0 ← Von0 (1) + Von0 (2) +.
・ + Von0 (n3) {When performing this operation in the heavy running detection processing, Von ← Von (1) + Von (2) +.
・ Substitution of + Von (m3)} is performed.

【0070】《最大値・最小値検出処理》 図10に最大値・最小値の検出処理フローチャートを示
す。 [ステップS1] Vmax←0,Vmin←FF(h),V←0,a3←
a2の代入を行う。即ち、Vmaxの初期値を“0”、
Vminの初期値を“FF”、Vの初期値を“0”、a
3の値をa2とする。 [ステップS2] V(a2)とVminとの比較判定を行い、V(a2)
とVminが同値またはV(a2)がVminより小さ
い場合は、ステップS3の処理に移る。一方、V(a
2)がVminより大きい場合は、ステップS4の処理
に移る。
<< Maximum / Minimum Value Detection Processing >> FIG. 10 shows a flowchart of maximum / minimum value detection processing. [Step S1] Vmax ← 0, Vmin ← FF (h), V ← 0, a3 ←
a2 is substituted. That is, the initial value of Vmax is “0”,
The initial value of Vmin is “FF”, the initial value of V is “0”, a
Let the value of 3 be a2. [Step S2] V (a2) is compared with Vmin, and V (a2) is determined.
If Vmin and Vmin are equal or V (a2) is smaller than Vmin, the process proceeds to step S3. On the other hand, V (a
If 2) is larger than Vmin, the process moves to step S4.

【0071】[ステップS3] Vmin←V(a2),amin←a2の代入を行う。
例えば、上記ステップS2において、V(a2)が最初
の比較判定の値であった場合、その比較対象であるVm
inの値は初期値“FF”であるため、当然、V(a
2)≦Vminとなり、従って、その値V(a2)はV
minとなる。一方、2回目以降の比較判定では、Vm
inが初期値以外のある値に設定されているため、この
値との比較となり、これより小さかった場合にVmin
が更新される。このようにして、全てのV(a2)の比
較を行うことによって、全てのV(a2)における最小
値を求めることができる。尚、aminとは、最小値が
どのV(a2)であるかを示す代数である。 [ステップS4] V(a2)とVmaxとの比較判定を行い、V(a2)
とVmaxが同値またはV(a2)がVmaxより大き
い場合は、ステップS5の処理に移る。一方、V(a
2)がVmaxより小さい場合は、ステップS6の処理
に移る。
[Step S3] Vmin ← V (a2) and amin ← a2 are substituted.
For example, in step S2, if V (a2) is the value of the first comparison determination, the comparison target Vm
Since the value of in is the initial value “FF”, naturally, V (a
2) ≦ Vmin, so that the value V (a2) is V
min. On the other hand, in the second and subsequent comparison determinations, Vm
Since in is set to a certain value other than the initial value, it is compared with this value.
Is updated. In this way, the minimum value of all V (a2) can be obtained by comparing all V (a2). Note that amin is an algebra indicating which V (a2) is the minimum value. [Step S4] V (a2) is compared with Vmax, and V (a2) is determined.
If Vmax and Vmax are equal or V (a2) is greater than Vmax, the process proceeds to step S5. On the other hand, V (a
If 2) is smaller than Vmax, the process moves to step S6.

【0072】[ステップS5] Vmax←V(a2),amax←a2の代入を行う。
このように、最大値Vmaxを求める場合も、上記最小
値Vminの場合と同様に行う。また、amaxは、最
大値がどのV(a2)であるかを示す代数である。 [ステップS6] V←V+V(a2)の代入を行う。 [ステップS7] a2←a2−1の代入を行う。
[Step S5] Substitution of Vmax ← V (a2) and amax ← a2 is performed.
As described above, the calculation of the maximum value Vmax is performed similarly to the case of the minimum value Vmin. Amax is an algebra indicating which V (a2) is the maximum value. [Step S6] V ← V + V (a2) is substituted. [Step S7] a2 ← a2-1 is substituted.

【0073】[ステップS8] a2と0とを比較判定し、a2=0でなかったらステッ
プS2の処理に戻り、a2=0であったらステップS9
の処理に移る。 [ステップS9] V←V−V(amin)−V(amax)の代入を行
う。 [ステップS10] a3←a3−2の代入を行う。即ち、このような最大値
・最小値検出処理とは、受光素子出力電圧の合計値か
ら、その中の最大値と最小値とを削除する処理である。
[Step S8] A comparison between a2 and 0 is made. If a2 = 0 is not satisfied, the process returns to step S2. If a2 = 0, step S9 is performed.
Move on to processing. [Step S9] Substitution of V ← V−V (amin) −V (amax) is performed. [Step S10] Substitute a3 ← a3-2. That is, such a maximum / minimum value detection process is a process of deleting the maximum value and the minimum value from the total value of the light receiving element output voltages .

【0074】《回路ばらつき補正の動作》 図11に、回路ばらつき補正処理のフローチャートを示
す。 [ステップS1] a6←a6−a4×a7/a5の代入を行う。ここで、
各代数は、上述したリファレンスデータ生成処理や重走
検知処理のステップS31、S34で説明したように、
a6は、媒体なし(あり)の出力電圧合計値、a4は媒
体なしかつ発光素子5消灯時の出力電圧合計値、a5は
出力電圧の合計検出回数、a7は合計検出回数a5から
規定外値、最大値、最小値を削除した後の合計検出回数
である。即ち、このような回路ばらつき補正処理とは、
発光素子5点灯時の受光素子7出力電圧合計値Vof
0、Von0、Vof、Vonから、発光素子5消灯時
の受光素子7出力電圧合計値Vos0、Vosを出力電
圧のオフセット分として削除する処理である。
<< Operation of Circuit Variation Correction >> FIG. 11 shows a flowchart of the circuit variation correction processing. [Step S1] Substitute a6 ← a6-a4 × a7 / a5. here,
Each algebra is, as described in steps S31 and S34 of the reference data generation processing and the heavy running detection processing described above,
a6 is the total output voltage value without the medium (with), a4 is the total output voltage value when the light-emitting element 5 is off with no medium, a5 is the total number of detections of the output voltage, a7 is a value out of the specified number of times a5 from the total number of detections, This is the total number of detections after deleting the maximum and minimum values. That is, such circuit variation correction processing is as follows.
Total output voltage value Vof of light receiving element 7 when light emitting element 5 is turned on
In this process, the total output voltages Vos0 and Vos of the light-receiving element 7 when the light-emitting element 5 is turned off are deleted from 0, Von0, Vof, and Von as offsets of the output voltage.

【0075】《センサ汚損・劣化補正の動作》 図12に、センサ汚損・劣化補正処理のフローチャート
を示す。 [ステップS1] k=Vof0/Vofの代入を行う。即ち、このセンサ
汚損・劣化補正処理の定数kとは、リファレンスデータ
生成処理における発光素子5点灯時の受光素子7の出力
電圧Vof0と、重走検知処理における発光素子5点灯
時の受光素子7の出力電圧Vofとの比率である。例え
ば、重走検知処理時に発光素子5や受光素子7が汚損ま
たは劣化していた場合、その出力電圧Vofは低くな
り、リファレンスデータ生成処理時の出力電圧Vof0
とは大きく異なってしまい、誤検知の恐れがある。従っ
て、重走検知処理時にこのようなセンサ汚損・劣化補正
処理を行うことにより、誤検知を防止するものである。
<< Operation of Sensor Contamination / Deterioration Correction >> FIG. 12 shows a flowchart of sensor contamination / deterioration correction processing. [Step S1] k = Vof0 / Vof is substituted. That is, the constant k of the sensor contamination / deterioration correction process is the output voltage Vof0 of the light receiving element 7 when the light emitting element 5 is turned on in the reference data generation processing, and the output voltage Vof0 of the light receiving element 7 when the light emitting element 5 is turned on in the heavy running detection processing. This is a ratio with the output voltage Vof. For example, if the light emitting element 5 or the light receiving element 7 is contaminated or deteriorated during the heavy running detection processing, the output voltage Vof becomes low, and the output voltage Vof0 during the reference data generation processing is reduced.
And there is a risk of erroneous detection. Therefore, erroneous detection is prevented by performing such sensor contamination / deterioration correction processing during heavy running detection processing.

【0076】尚、上記実施例では、重走判定(図7にお
けるステップS38)において、k×Von/Von0
の値を規定値と比較することによって、その判定を行っ
たが、これ以外にも次のような構成であってもよく、こ
れを重走判定の第2〜第4の実施例として次に説明す
る。
In the above-described embodiment, k × Von / Von0 is determined in the heavy running determination (step S38 in FIG. 7).
Was compared with the prescribed value, the determination was made. However, the following configuration may be used in addition to the above, and this is used as the second to fourth embodiments of the heavy running determination. explain.

【0077】《重走判定の第2の実施例》 先ず、ある基準値として、発光素子5と受光素子7との
間隙に正常な媒体が1枚ある状態で、かつ発光素子5が
点灯時における受光素子7の出力電圧の最小値Von1
minを実験的に求め、これをBBM4に記憶してお
く。そして、この基準値Von1minを、次式(5)
に示すように、読取り回数Nより規定外値検出処理を行
ったものでは、(N−規定外値数)分合計した値とす
る。 Von1min←Von1min×(N−規定外値数)…(5) そして、このようなVon1minと重走検知処理にお
ける受光素子7の出力電圧合計値Von(但し、規定外
値検出処理を実施した値)とを比較し、VonがVon
1minより小さかった場合に、被検知媒体が重走して
いると判定する。
<< Second Embodiment of Judgment of Heavy Running >> First, as a certain reference value, a case where there is one normal medium in the gap between the light emitting element 5 and the light receiving element 7 and the light emitting element 5 is turned on. Minimum value Von1 of output voltage of light receiving element 7
The min is determined experimentally and stored in the BBM 4. Then, this reference value Von1min is calculated by the following equation (5).
As shown in (1), in the case where the out-of-spec value detection process is performed based on the number of readings N, the value is obtained by summing up by (N-the number of out-of-spec value). Von1min ← Von1min × (N−the number of out-of-spec values) (5) Then, the total output voltage Von of the light receiving element 7 in such Von1min and the heavy running detection process (however, a value obtained by performing the out-of-spec value detection process) And Von is Von
When it is smaller than 1 min, it is determined that the medium to be detected is running in heavy.

【0078】《重走判定の第3の実施例》 先ず、ある基準値として、上記例と同様に、発光素子5
と受光素子7との間隙に正常な媒体が1枚ある状態で、
かつ発光素子5が点灯時における受光素子7の出力電圧
の最小値Von1minを実験的に求め、これをBBM
4に記憶しておく。そして、この基準値Von1min
を、最大値・最小値検出処理を行ったものでは、Von
1minを次式(6)の値とする。 Von1min←Von1min×(N−2)…(6) そして、このようなVon1minと重走検知処理にお
ける受光素子7の出力電圧合計値Von(但し、最大値
・最小値検出処理を行った値)とを比較し、VonがV
on1minより小さかった場合に、被検知媒体が重走
していると判定する。
<< Third Example of Judgment of Heavy Running >> First, as a certain reference value, the light emitting element 5
In the state where there is one normal medium in the gap between
In addition, the minimum value Von1min of the output voltage of the light receiving element 7 when the light emitting element 5 is turned on is experimentally obtained, and this is calculated as BBM.
4 is stored. And this reference value Von1min
Is the maximum value / minimum value detection process.
One minute is defined as the value of the following equation (6). Von1min ← Von1min × (N−2) (6) Then, such Von1min and the total output voltage Von of the light receiving element 7 in the heavy running detection processing (however, the value obtained by performing the maximum value / minimum value detection processing) and And Von is V
When it is smaller than on1min, it is determined that the medium to be detected is running in a heavy manner.

【0079】《重走判定の第4の実施例》 また、受光素子7の出力電圧合計値Von(規定外値検
出処理、最大値・最小値検出処理、回路ばらつき処理を
行った値の場合も含む)の平均値Von(avg)を求
め、このVon(avg)と、上記の基準値Von1m
inとを比較し、Von(avg)がVon1minよ
り小さかった場合に、被検知媒体が重走していると判定
する。
<< Fourth Embodiment of Judgment of Heavy Running >> Also, the total output voltage Von of the light receiving element 7 (the value obtained by performing the out-of-spec value detection processing, the maximum / minimum value detection processing, and the circuit variation processing) Average) Von (avg), and this Von (avg) and the above-mentioned reference value Von1m
and Von (avg) is smaller than Von1min, it is determined that the medium to be detected is running heavily.

【0080】また、上記実施例では、回路ばらつき補正
処理を、発光素子5と受光素子7との間隙に媒体がない
状態かつ発光素子5が消灯時の受光素子7の出力電圧を
N回読取った値の合計値Vosを算出し、また、発光素
子5と受光素子7との間隙に被検知媒体がある状態かつ
発光素子5が点灯時の受光素子7の出力電圧をN回読取
った値の中から、最大値、最小値および規定外値等のデ
ータを削除した後の合計値Vonを算出し、削除したデ
ータ数をNから減算した値をnとしたとき Von←Von−Vos×n/N の演算をすることで実施したが、次のような構成であっ
てもよい。即ち、上記Vosの平均値Vos(avg)
と、上記Vonの平均値Von(avg)とから、 Von(avg)←Von(avg)−Vos(avg) の演算を行い、Vonに回路ばらつきの補正を実施する
ようにしてもよい。
In the above embodiment, the output voltage of the light receiving element 7 was read N times when the light emitting element 5 was turned off when there was no medium in the gap between the light emitting element 5 and the light receiving element 7 in the circuit variation correction processing. The total value Vos of the values is calculated, and the output voltage of the light receiving element 7 when the light emitting element 5 is turned on when the medium to be detected is in the gap between the light emitting element 5 and the light receiving element 7 is read out N times. , A total value Von after deleting data such as a maximum value, a minimum value, and an out-of-spec value is calculated, and a value obtained by subtracting the number of deleted data from N is defined as n. Von ← Von−Vos × n / N Was carried out by calculating the following, but the following configuration may be adopted. That is, the average Vos (avg) of the above Vos
And Von (avg) ← Von (avg) −Vos (avg) from the Von and the average value Von (avg) of the above, and the circuit variation may be corrected for Von.

【0081】また、上述した基準値Von1minの合
計値Von1minを、 Von1min←Von1min×(N−n) として、VonとVon1minとを比較し、Vonが
Von1minより小さかった場合に被検知媒体が重走
していると判定するよう構成してもよい。
Further, the total value Von1min of the above-mentioned reference value Von1min is set as Von1min ← Von1min × (N−n), and Von and Von1min are compared. May be determined.

【0082】尚、上記各実施例では、出力電圧値でリフ
ァレンスデータ生成処理や重走検知処理を行うようにし
たが、出力電流値に基づいて各処理を行うように構成し
ても同様の効果を奏することができる。
In each of the above embodiments, the reference data generation processing and the overrun detection processing are performed based on the output voltage value. However, the same effects can be obtained by configuring each processing based on the output current value. Can be played.

【0083】[0083]

【発明の効果】以上説明したように、第1発明の紙葉類
重走検知装置によれば、装置・媒体異常検出部により、
装置や媒体の異常を検出して重走判定を行うようにした
ので、誤って重走検知対象外の媒体が搬送された場合
や、装置が故障していた場合であっても、重走の誤検知
を防止することができる。
As described above, according to the sheet heavy running detection device of the first invention, the device / medium abnormality detection unit
Since heavy running judgment is performed by detecting abnormalities in the equipment and medium, even if a medium that is not a target for heavy running detection is conveyed by mistake or the equipment is broken, heavy running False detection can be prevented.

【0084】第2発明の紙葉類重走検知装置によれば、
規定外値検出部を備え、媒体上の複数箇所で読取った受
光素子の出力値のうち、規定外値を削除して重走判定を
行うようにしたので、媒体上の小さな汚れや異物等によ
って重走検知の精度が低下するのを防止することができ
る。
According to the heavy running detection device for paper sheets of the second invention,
It is equipped with an out-of-spec value detection unit, and among the output values of the light-receiving elements read at a plurality of locations on the medium, the out-of-spec value is deleted and the overrunning judgment is performed. It is possible to prevent the accuracy of the heavy running detection from lowering.

【0085】第3発明の紙葉類重走検知装置によれば、
最大値・最小値検出部を備え、媒体上の複数箇所で読取
った受光素子の出力値から、それらの最大値と最小値を
削除して重走判定を行うようにしたので、媒体の光に対
する透過率や反射率のばらつきを吸収することができ、
重走検知の精度を向上させることができる。
According to the heavy running detection device for paper sheets of the third invention,
A maximum / minimum value detector is provided, and from the output values of the light-receiving elements read at a plurality of locations on the medium, the maximum value and the minimum value are deleted to perform the overrunning determination. Can absorb variations in transmittance and reflectance,
The accuracy of heavy running detection can be improved.

【0086】第4発明の紙葉類重走検知装置によれば、
回路ばらつき補正部を備え、回路のオフセット補正を行
うようにしたので、回路のばらつきが補正され、重走検
知の精度を向上させることができる。
According to the heavy running detection device for paper sheets of the fourth invention,
Since the circuit variation correction unit is provided to perform the offset correction of the circuit, the variation of the circuit is corrected, and the accuracy of the heavy running detection can be improved.

【0087】第5発明の紙葉類重走検知装置によれば、
センサ汚損・劣化補正部を備え、発光素子や受光素子の
汚損・劣化といった経時変化を補正するようにしたの
で、重走検知の精度を向上させることができる。
According to the heavy running detection device for paper sheets of the fifth invention,
Since the sensor is provided with a soiling / deterioration correction unit to correct a change over time such as soiling / deterioration of the light emitting element and the light receiving element, it is possible to improve the accuracy of heavy running detection.

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

【図1】本発明の紙葉類重走検知装置のブロック図であ
る。
FIG. 1 is a block diagram of a paper sheets heavy running detection device of the present invention.

【図2】本発明の紙葉類重走検知装置におけるリファレ
ンスデータ生成処理のフローチャート(その1)であ
る。
FIG. 2 is a flowchart (part 1) of a reference data generation process in the heavy paper running detection device of the present invention.

【図3】本発明の紙葉類重走検知装置におけるリファレ
ンスデータ生成処理のフローチャート(その2)であ
る。
FIG. 3 is a flowchart (No. 2) of a reference data generation process in the paper sheets heavy running detection device of the present invention.

【図4】本発明の紙葉類重走検知装置におけるリファレ
ンスデータ生成処理のフローチャート(その3)であ
る。
FIG. 4 is a flowchart (No. 3) of a reference data generation process in the paper sheets heavy running detection device of the present invention.

【図5】本発明の紙葉類重走検知装置における重走検知
処理のフローチャート(その1)である。
FIG. 5 is a flowchart (part 1) of a heavy running detection process in the paper sheets heavy running detection device of the present invention.

【図6】本発明の紙葉類重走検知装置における重走検知
処理のフローチャート(その2)である。
FIG. 6 is a flowchart (part 2) of a heavy running detection process in the paper heavy running detection device of the present invention.

【図7】本発明の紙葉類重走検知装置における重走検知
処理のフローチャート(その3)である。
FIG. 7 is a flowchart (part 3) of a heavy running detection process in the paper heavy running detection device of the present invention.

【図8】本発明の紙葉類重走検知装置における装置・媒
体異常検出処理のフローチャートである。
FIG. 8 is a flowchart of a device / medium abnormality detection process in the paper sheets heavy running detection device of the present invention.

【図9】本発明の紙葉類重走検知装置における規定外値
検出処理のフローチャートである。
FIG. 9 is a flowchart of an out-of-spec value detection process in the heavy paper running detection device of the present invention.

【図10】本発明の紙葉類重走検知装置における最大値
・最小値検出処理のフローチャートである。
FIG. 10 is a flowchart of a maximum value / minimum value detection process in the paper sheets heavy running detection device of the present invention.

【図11】本発明の紙葉類重走検知装置における回路ば
らつき補正処理のフローチャートである。
FIG. 11 is a flowchart of a circuit variation correction process in the paper sheets heavy running detection device of the present invention.

【図12】本発明の紙葉類重走検知装置におけるセンサ
汚損・劣化補正処理のフローチャートである。
FIG. 12 is a flowchart of a sensor contamination / deterioration correction process in the heavy paper running detection device of the present invention.

【図13】従来の紙葉類重走検知装置のブロック図であ
る。
FIG. 13 is a block diagram of a conventional sheet heavy running detection device.

【図14】従来の紙葉類重走検知装置におけるリファレ
ンスデータ生成処理のフローチャートである。
FIG. 14 is a flowchart of a reference data generation process in the conventional paper sheets heavy running detection device.

【図15】従来の紙葉類重走検知装置における重走検知
処理のフローチャートである。
FIG. 15 is a flowchart of a heavy running detection process in a conventional paper sheets heavy running detection device.

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

5 発光素子 7 受光素子 12 装置・媒体異常検出部 13 規定外値検出部 14 最大値・最小値検出部 15 回路ばらつき補正部 16 センサ汚損・劣化補正部 21 重走判定手段 100 紙葉類重走検知装置本体 Reference Signs List 5 light emitting element 7 light receiving element 12 device / medium abnormality detecting unit 13 out-of-spec value detecting unit 14 maximum / minimum value detecting unit 15 circuit variation correction unit 16 sensor contamination / deterioration correction unit 21 heavy running determination means 100 heavy running of paper sheets Detection device body

フロントページの続き (56)参考文献 特開 昭62−4483(JP,A) 特開 昭62−249852(JP,A) 特開 昭58−152741(JP,A) 特開 平3−23139(JP,A) 特開 平3−158343(JP,A) 特開 平4−105089(JP,A) (58)調査した分野(Int.Cl.7,DB名) B65H 7/12 Continuation of the front page (56) References JP-A-62-4483 (JP, A) JP-A-62-249852 (JP, A) JP-A-58-1527141 (JP, A) JP-A-3-23139 (JP) JP-A-3-158343 (JP, A) JP-A-4-105089 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) B65H 7/12

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 媒体の搬送路上に設けたセンサの一方を
構成する発光素子と、 前記センサの他方を構成し、前記発光素子から媒体を介
して光を受光し、その受光した光の強さに対応する値を
出力する受光素子と、 前記受光素子からの出力値に基づき、媒体が複数枚重な
って搬送されているか否かの重走状態を判定する重走判
定手段と、 前記発光素子と前記受光素子間に媒体がない状態で、前
記発光素子の点灯時および消灯時における前記受光素子
からの出力値と、 装置異常判定用の所定基準範囲とを比較し、当該範囲外
であった場合は装置自体の異常と判定し、この判定結果
を前記重走判定手段に対して出力するとともに、前記発
光素子と受光素子間に媒体があり、かつ、前記発光素子
の点灯時の前記受光素子からの出力値を媒体異常判定用
の所定基準範囲と比較し、当該範囲外であった場合は被
検知媒体自体の異常と判定し、この判定結果を前記重走
判定手段に対して出力する装置・媒体異常検出部を備え
たことを特徴とする紙葉類重走検知装置。
1. A light-emitting element constituting one of sensors provided on a medium transport path, and light receiving from the light-emitting element via a medium, forming the other of the sensors, and the intensity of the received light. A light-receiving element that outputs a value corresponding to the light-emitting element; and, based on an output value from the light-receiving element, a heavy running determination unit that determines a heavy running state as to whether or not a plurality of media are conveyed in an overlapping manner. When there is no medium between the light receiving elements, the output value from the light receiving element when the light emitting element is turned on and when the light emitting element is turned off is compared with a predetermined reference range for determining a device abnormality, and the value is out of the range. Determines that the apparatus itself is abnormal, outputs the determination result to the heavy running determination means, and there is a medium between the light emitting element and the light receiving element, and the light receiving element is turned on when the light emitting element is turned on. Output value is determined as medium error And a device / medium abnormality detecting unit for judging that the detected medium itself is abnormal when it is out of the range, and outputting the judgment result to the heavy running judging means. A sheet heavy running detection device characterized by the following.
【請求項2】 媒体の搬送路上に設けたセンサの一方を
構成する発光素子と、 前記センサの他方を構成し、前記発光素子から媒体を介
して光を受光し、その受光した光の強さに対応する値を
出力する受光素子と、 前記発光素子と前記受光素子間に媒体がある状態でかつ
当該発光素子が点灯時に、前記媒体上の複数箇所で読み
取った受光素子の出力値を規定外値判定用の所定基準範
囲と比較し、この範囲外の出力値を削除する規定外値検
出部と、 前記受光素子からの前記媒体上の複数箇所での出力値か
ら、当該複数の出力値における最大値と最小値とを削除
する最大値・最小値検出部と、 前記発光素子と前記受光素子間に媒体がある状態でかつ
当該発光素子が点灯時に読み取った前記受光素子の出力
値から、前記発光素子と前記受光素子間に媒体がない状
態でかつ当該発光素子が消灯時に読み取った前記受光素
子の出力値をオフセット分として減算する回路ばらつき
補正部と、 前記媒体の重走検知のためのリファレンスデータを生成
するリファレンスデータ生成モードで、前記発光素子と
前記受光素子との間隙に前記媒体がない状態でかつ当該
発光素子が点灯時の前記受光素子の出力値をリファレン
スデータとし、前記媒体の重走を検知する重走検知モー
ドで、前記発光素子と前記受光素子との間隙に前記媒体
がない状態でかつ当該発光素子が点灯時の前記受光素子
の出力値を重走検知データとし、これらリファレンスデ
ータと重走検知データとの比率に基づき重走判定値を算
出するセンサ汚損・劣化補正部と、 前記受光素子からの出力値と、前記規定外値検出部で削
除された値以外の出力値と、前記最大値・最小値検出部
で削除された値以外の出力値と、前記回路ばらつき補正
部での減算結果と、前記センサ汚損・劣化補正部で算出
された重走判定値とに基づき、媒体が複数枚重なって搬
送されているか否かの重走状態を判定する重走判定手段
と、 前記発光素子と前記受光素子間に媒体がない状態で、前
記発光素子の点灯時および消灯時における前記受光素子
からの出力値を整数回読み取った合計値と、装置異常判
定用の所定基準範囲とを比較し、当該範囲外であった場
合は装置自体の異常と判定し、この判定結果を前記重走
判定手段に対して出力するとともに、前記発光素子と前
記受光素子間に媒体があり、かつ、前記発光素子の点灯
時の前記受光素子からの出力値を整数回読み取った合計
値と、媒体異常判定用の所定基準範囲とを比較し、当該
範囲外であった場合は被検知媒体自体の異常と判定し、
この判定結果を前記重走判定手段に対して出力する装置
・媒体異常検出部を備えたことを特徴とする紙葉類重走
検知装置。
2. A light-emitting element constituting one of sensors provided on a medium conveyance path; and a light-receiving element constituting the other of the sensors, receiving light from the light-emitting element via a medium, and the intensity of the received light. A light-receiving element that outputs a value corresponding to the light-emitting element, and when there is a medium between the light-emitting element and the light-receiving element, and when the light-emitting element is turned on, the output value of the light-receiving element read at a plurality of locations on the medium is out of specification. Compared with a predetermined reference range for value determination, an out-of-spec value detection unit that deletes an output value outside this range, from output values at a plurality of locations on the medium from the light receiving element, A maximum value / minimum value detecting unit for deleting a maximum value and a minimum value, and in a state where there is a medium between the light emitting element and the light receiving element, and from the output value of the light receiving element read when the light emitting element is turned on, Between the light emitting element and the light receiving element A circuit variation correction unit that subtracts, as an offset, an output value of the light-receiving element read when the light-emitting element is off when the light-emitting element is off, and a reference data generation mode that generates reference data for detecting a double running of the medium. In a heavy running detection mode in which the medium is not present in the gap between the light emitting element and the light receiving element and the output value of the light receiving element when the light emitting element is turned on is used as reference data to detect the medium running. In the state where there is no medium in the gap between the light emitting element and the light receiving element, and when the light emitting element is turned on, the output value of the light receiving element is used as the overrun detection data, and the reference data and the overrun detection data are used. A sensor contamination / deterioration correction unit that calculates a heavy running determination value based on the ratio, an output value from the light receiving element, and a value deleted by the out-of-spec value detection unit. , The output value other than the value deleted by the maximum / minimum value detection unit, the subtraction result by the circuit variation correction unit, and the heavy running determination value calculated by the sensor contamination / deterioration correction unit. A multi-running determining means for determining a multi-running state as to whether or not a plurality of media are conveyed based on the light-emitting element, and when the light-emitting element is turned on with no medium between the light-emitting element and the light-receiving element. A total value obtained by reading the output value from the light receiving element at the time of turning off the light an integer number of times is compared with a predetermined reference range for device abnormality determination. The determination result is output to the heavy running determination means, and there is a medium between the light emitting element and the light receiving element, and an output value from the light receiving element when the light emitting element is turned on is read an integer number of times. Value and the location for media abnormality determination Compared with the reference range, when was out the range is determined to be abnormal in the detection medium itself,
An apparatus for detecting heavy running of a paper sheet, comprising: a device for outputting the determination result to the heavy running determining means;
【請求項3】 媒体の搬送路上に設けたセンサの一方を
構成する発光素子と、 前記センサの他方を構成し、前記発光素子から媒体を介
して光を受光し、その受光した光の強さに対応する値を
出力する受光素子と、 a6を、媒体なしまたはありの場合の前記受光素子の出
力電圧合計値、a4を、媒体なしでかつ発光素子消灯時
の前記受光素子の出力電圧合計値、a5を、前記受光素
子の出力出力電圧の合計検出回数、a7を、前記受光素
子の出力電圧合計検出回数a5から、規定外値と最大値
と最小値の検出回数を削除した後の、合計検出回数とし
たとき、式(a6−a4×a7/a5)により、前記受
光素子の出力電圧合計値を求める回路ばらつき補正部
と、 前記回路ばらつき補正部での演算結果に基づき、媒体が
複数枚重なって搬送されているか否かの重走状態を判定
する重走判定手段とを備えたことを特徴とする紙葉類重
走検知装置。
3. A light-emitting element constituting one of the sensors provided on a medium transport path, and light receiving from the light-emitting element via the medium, constituting the other of the sensors, and the intensity of the received light. A6 is the total output voltage of the light-receiving element in the absence or presence of a medium, and a4 is the total output voltage of the light-receiving element in the absence of the medium and when the light-emitting element is turned off. , A5 is the total number of times of detection of the output output voltage of the light receiving element, and a7 is the total number of times of detection of the out-of-specification value, the maximum value, and the minimum value from the total number of detections of the output voltage of the light receiving element a5. Assuming that the number of times of detection is the number of detections, a circuit variation correction unit that calculates the total output voltage of the light receiving element by the equation (a6−a4 × a7 / a5); Being transported overlapping For determining whether the paper sheet, characterized in that a heavy run determining means for determining a heavy run state heavy run detection device.
JP04345625A 1992-12-01 1992-12-01 Heavy paper running detector Expired - Fee Related JP3109774B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04345625A JP3109774B2 (en) 1992-12-01 1992-12-01 Heavy paper running detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04345625A JP3109774B2 (en) 1992-12-01 1992-12-01 Heavy paper running detector

Publications (2)

Publication Number Publication Date
JPH06166450A JPH06166450A (en) 1994-06-14
JP3109774B2 true JP3109774B2 (en) 2000-11-20

Family

ID=18377874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04345625A Expired - Fee Related JP3109774B2 (en) 1992-12-01 1992-12-01 Heavy paper running detector

Country Status (1)

Country Link
JP (1) JP3109774B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010120708A (en) * 2008-11-17 2010-06-03 Nec Computertechno Ltd Device for detecting double feed, method for detecting double feed, and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58152741A (en) * 1982-03-05 1983-09-10 Hitachi Ltd Device for detecting conveyance of overlapped sheets
JPS624483A (en) * 1985-06-28 1987-01-10 株式会社東芝 Abnormality detector
JPS62249852A (en) * 1986-04-23 1987-10-30 Toyo Commun Equip Co Ltd Detecting method for duplicate feed of cut sheet and mixing of different-type sheet
JP2651938B2 (en) * 1989-06-19 1997-09-10 株式会社小森コーポレーション Method and apparatus for detecting duplicated paper feed
JPH03158343A (en) * 1989-11-14 1991-07-08 Nec Corp Conveyance detecting circuit of paper
JPH04105089A (en) * 1990-08-24 1992-04-07 Nec Corp Circuit for detecting carried document

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010120708A (en) * 2008-11-17 2010-06-03 Nec Computertechno Ltd Device for detecting double feed, method for detecting double feed, and program

Also Published As

Publication number Publication date
JPH06166450A (en) 1994-06-14

Similar Documents

Publication Publication Date Title
US4769532A (en) Apparatus for adjusting optical sensors with threshold memory
JP3109774B2 (en) Heavy paper running detector
KR20090067753A (en) Method for automated compensation
CN105741413A (en) Depositing and withdrawing device, dynamic correction sensor thereof, correction method and device
JPH0333679A (en) Optical detector
WO2024104191A1 (en) Adaptive alignment calibration method, system and device for transportation device, and storage medium
CN112461346A (en) Robot load detection method and device, robot and readable storage medium
JPH0378608A (en) Processing device of signal of optical road-surface state sensor
KR101191235B1 (en) Apparatus for automated compensation and method for operating the same
JPH0869550A (en) Automatic correcting device for optical sensor output
JP2915158B2 (en) Failure detection device for detection device
JP2003306255A (en) Medium detecting device and controlling method thereof, and image forming device
JPH03179211A (en) Reflection-type photoelectric switch
JP2790696B2 (en) Transmitter protection circuit
KR20170047424A (en) Optical proximity sensor reducing the effect of ambient light
JPS61277534A (en) Label end detecting system
US20040057051A1 (en) Surface reflectivity discriminating device
JPH01170214A (en) Identification circuit
JPS5811802Y2 (en) Two sheet difference detection device
JP2003316216A (en) Image forming device
JPH03266002A (en) Unmanned carrying truck
JP3330147B2 (en) Electric razor
JP3266962B2 (en) Excitation inrush current detection circuit
JP2568078B2 (en) Radiant fire detector
JPH0232408A (en) Numerical controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070914

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees