JP3642931B2 - Paper sheet thickness detection apparatus and correction method thereof - Google Patents

Paper sheet thickness detection apparatus and correction method thereof Download PDF

Info

Publication number
JP3642931B2
JP3642931B2 JP26060797A JP26060797A JP3642931B2 JP 3642931 B2 JP3642931 B2 JP 3642931B2 JP 26060797 A JP26060797 A JP 26060797A JP 26060797 A JP26060797 A JP 26060797A JP 3642931 B2 JP3642931 B2 JP 3642931B2
Authority
JP
Japan
Prior art keywords
correction value
value
roller
output
thickness detection
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
JP26060797A
Other languages
Japanese (ja)
Other versions
JPH1191991A (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 JP26060797A priority Critical patent/JP3642931B2/en
Publication of JPH1191991A publication Critical patent/JPH1191991A/en
Application granted granted Critical
Publication of JP3642931B2 publication Critical patent/JP3642931B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、紙葉類厚さ検出装置及びその補正方法に関するものである。
【0002】
【従来の技術】
従来、自動取引装置、印刷装置、OCR等においては、カード、紙幣等の紙葉類の厚さを検出し、検出結果に基づいて、紙葉類に貼(は)られたテープの有無、紙葉類の真偽等を判定するようにしている。そのために、紙葉類厚さ検出装置が提供され、該紙葉類厚さ検出装置は、互いに対向させて配設された基準ローラ及び厚さ検出ローラを備え、両者間に紙葉類を挿入したときの厚さ検出ローラの変位に基づいて紙葉類の厚さを検出するようになっている。
【0003】
そして、紙葉類の厚さの微少な変動をセンサによって捉えることができるように、紙葉類厚さ検出装置のゲイン補正値、オフセット補正値及び偏心補正値を算出し、算出結果に基づいてゲイン補正、オフセット補正及び偏心補正をそれぞれ行うようにしている。
図2は従来の紙葉類厚さ検出装置の概略図である。
【0004】
図において、11は基準ローラ、12は該基準ローラ11と対向させて配設された厚さ検出ローラ、31、32は前記基準ローラ11の両端に配設されたベアリング、33、34は前記厚さ検出ローラ12の両端に配設されたベアリング、35、36は前記ベアリング33、34を回転自在に支持する支点ブラケットである。前記ベアリング31、32は図示しないフレームに対して位置を変えることなく回転自在に支持されるのに対して、前記ベアリング33、34は前記フレームに対して位置を変えることができるように回転自在に支持される。
【0005】
そして、前記支点ブラケット35、36は、それぞれスプリング37、38によって付勢され、前記ベアリング33、34をベアリング31、32に押し付ける。このとき、前記基準ローラ11と厚さ検出ローラ12との間にギャップtG が設定されるようになっている。
該ギャップtG は、紙葉類厚さ検出装置において取り扱われる紙葉類の厚さの最小値をtS としたとき、該最小値tS のばらつき及び紙葉類厚さ検出装置の製造誤差(±tE )を考慮し、
G =tS −a×tE
a:安全係数
で与えられる。したがって、基準ローラ11と厚さ検出ローラ12との間に挿入された紙葉類の厚さを必ず検出することができる。
【0006】
そして、前記支点ブラケット36にポテンショメータ14が接続され、該ポテンショメータ14は、前記基準ローラ11と厚さ検出ローラ12との間に紙葉類を挿入したときの厚さ検出ローラ12の変位を検出し、該変位を電気信号に変換する。また、前記ポテンショメータ14にアンプ15が接続され、該アンプ15によって前記電気信号が増幅される。
【0007】
そして、前記アンプ15の出力とDAコンバータ16の出力とがアンプ17に入力され、該アンプ17の出力がDAコンバータ18に入力される。また、該DAコンバータ18の出力は更にADコンバータ19に入力され、該ADコンバータ19の出力QはCPU20によって取り込まれ、処理される。該CPU20は、DAコンバータ16、DAコンバータ18及びEEPROM21とそれぞれ接続される。なお、前記DAコンバータ16、18及びADコンバータ19によって出力発生手段が構成される。
【0008】
また、前記厚さ検出ローラ12の回転を検出するためにフォトインタラプタ22が配設され、該フォトインタラプタ22の出力信号がCPU20に入力される。なお、前記フォトインタラプタ22によって基準ローラ11の回転を検出することもできる。
次に、前記構成の紙葉類厚さ検出装置によってゲイン補正値、オフセット補正値及び偏心補正値を算出する方法について説明する。
【0009】
図3は従来のゲイン補正値及びオフセット補正値を算出するための説明図、図4は従来の偏心補正値を算出するための説明図である。なお、図3において、横軸に基準媒体の状態を、縦軸にADコンバータ19(図2)の出力Qを、図4において、横軸に厚さ検出ローラ12の回転位置を、縦軸に前記出力Qを採ってある。
【0010】
この場合、ゲイン補正値、オフセット補正値及び偏心補正値を算出するために、厚さが異なる2枚の基準媒体A、B、及び異物のない正常な紙葉類と同じ厚さを有する基準媒体Dが使用される。そして、基準媒体Aは基準媒体Bより薄くされる。
まず、基準媒体Aを基準ローラ11と厚さ検出ローラ12との間に挿入し、ADコンバータ19の出力Qが規定範囲内の所定値q1になるように、DAコンバータ16によってオフセット補正値を変更し、そのときのオフセット補正値をオフセット補正初期値としてセットする。このとき、DAコンバータ18によって、ゲイン補正値に任意のゲイン補正初期値g1をセットしておく。そして、CPU20は、このときのADコンバータ19の出力Qの値q1を読み込み、EEPROM21に格納する。
【0011】
なお、ゲイン補正値とは、図3のグラフにおける出力Qの傾きを調整するための補正値であり、前記DAコンバータ18を調整することによってゲイン補正値を変更し、出力Qの傾きを変更することができる。また、オフセット補正値とは、図3のグラフの切片を調整するための補正値であり、DAコンバータ16を調整することによってオフセット補正値を変更し、切片を変更することができる。
【0012】
次に、同様にして、基準媒体Bを基準ローラ11と厚さ検出ローラ12との間に挿入し、ADコンバータ19の出力Qが所定の値q2になるように前記ゲイン補正値を変更し、ゲイン補正値g2を求める。また、前記CPU20はこのときのゲイン補正値g2をEEPROM21に格納する。
そして、ゲイン補正値g2を維持したまま、再び基準媒体Aを基準ローラ11と厚さ検出ローラ12との間に挿入する。このとき、前記CPU20は、ADコンバータ19の出力Qの値q3を読み込み、EEPROM21に格納する。
【0013】
続いて、前記CPU20は、値q1、q3、ゲイン補正初期値g1及びゲイン補正値g2に基づいて、所定の式に従って当該紙葉類厚さ検出装置の所期のゲイン補正値gxを算出する。
前記CPU20は、算出された所期のゲイン補正値gxをDAコンバータ18にセットする。
【0014】
次に、オフセット補正値を算出するために、CPU20は、前記基準媒体Aを基準ローラ11と厚さ検出ローラ12との間に挿入したままの状態で、ADコンバータ19の出力Qの値qxを読み込み、該値qxが前記値q1になるようにオフセット補正値を変更する。そして、CPU20は、前記値qxが前記値q1になったときのオフセット補正値f2を算出し、該オフセット補正値f2をDAコンバータ16にセットする。このとき、CPU20は、前記オフセット補正値f2をADコンバータ19の出力Qの値qxと共にEEPROM21に格納する。
【0015】
続いて、再び、基準媒体Bを基準ローラ11と厚さ検出ローラ12との間に挿入する。そして、CPU20は、ADコンバータ19の出力Qの値q4を読み込み、EEPROM21に格納する。
次に、CPU20は、次の式に示すように、値q0、q1、q4に基づいて、基準ローラ11と厚さ検出ローラ12との間に紙葉類が挿入されないとき、すなわち、媒体無しのときの間隙(げき)tGOを算出する。なお、図3に示すように、値q0は、媒体が無いときのADコンバータ19の出力Qの値である。
【0016】
GO=(q0−α)/β
β=(q4−q0)/(dB −dA
α=q4−β×dB
又は、
α=q0−β×dA
ただし、
A =基準媒体Aの厚さ
B =基準媒体Bの厚さ
とする。
【0017】
次に、偏心補正を行うために、基準媒体A、Bを基準ローラ11と厚さ検出ローラ12との間から取り除き、図示しないモータ等の搬送系を駆動して基準ローラ11及び厚さ検出ローラ12を回転させる。この間、前記CPU20はフォトインタラプタ22の出力信号を読み込む。
そして、前記CPU20は、フォトインタラプタ22の出力信号にパルスが発生させられたときの厚さ検出ローラ12の回転位置を、厚さ検出ローラ12が1回転を開始するタイミングH0 とし、該タイミングH0 におけるADコンバータ19の出力Qの値q00 を読み込み、EEPROM21に格納する。
【0018】
次に、異物のない正常な紙葉類と同じ厚さを有する基準媒体Dを基準ローラ11と厚さ検出ローラ12との間に挿入し、前記搬送系を駆動して基準媒体Dを定速で搬送する。このとき、CPU20は、前記出力信号にパルスを検出してから、1回転をn(nは正の整数)個に等分割した各タイミングH0 〜Hn でADコンバータ19の出力Qの値qdi (i=0、1、…、n)を読み込み、EEPROM21に格納する。そして、前記各値qdi をタイミングH0 における初期値qd0 と比較して出力差(qdi −qd0 )を算出し、該出力差(qdi −qd0 )を、基準媒体Dを搬送したときの基準媒体偏心補正値HDiとしてEEPROM21に格納する。
【0019】
さらに、基準媒体Dを基準ローラ11と厚さ検出ローラ12との間から取り除き、前記搬送系を駆動して基準ローラ11及び厚さ検出ローラ12を回転させる。このとき、CPU20は、前記出力信号にパルスを検出してから、前記各タイミングH0 〜Hn でADコンバータ19の出力Qの値q0i (i=0、1、…、n)を読み込み、EEPROM21に格納する。そして、前記値q0i をタイミングH0 における初期値q00 と比較して出力差(q0i −q00 )を算出し、該出力差(q0i −q00 )を、空回し偏心補正値KDiとしてEEPROM21に格納する。
【0020】
【発明が解決しようとする課題】
しかしながら、前記従来の紙葉類厚さ検出装置の補正方法においては、オフセット補正値f2を算出する場合、基準ローラ11及び厚さ検出ローラ12が回転させられないので、基準ローラ11及び厚さ検出ローラ12に存在する偏心の分だけADコンバータ19の出力Qの値にばらつきが生じ、オフセット補正値f2を正確に算出することができない。
【0021】
したがって、オフセット補正が適正に行われないので、紙葉類の厚さを検出する場合、基準ローラ11及び厚さ検出ローラ12に存在する偏心量の分だけ、検出される厚さにばらつきが生じてしまう。
また、基準媒体偏心補正値HDi及び空回し偏心補正値KDiを算出する場合、厚さを検出しようとする紙葉類と同じ厚さの基準媒体Dを搬送するようにしているので、基準ローラ11及び厚さ検出ローラ12に存在する偏心量に基準媒体Dの厚さのばらつきが加算され、基準媒体偏心補正値HDi及び空回し偏心補正値KDiを正確に算出することができない。
【0022】
したがって、偏心補正が適正に行われないので、紙葉類の厚さを検出する場合、基準媒体Dの厚さのばらつきの分だけ、検出される厚さにばらつきが生じてしまう。
本発明は、前記従来の紙葉類厚さ検出装置の補正方法の問題点を解決して、オフセット補正及び偏心補正を適正に行うことができ、紙葉類の厚さを検出する場合、検出される厚さにばらつきが生じることがない紙葉類厚さ検出装置及びその補正方法を提供することを目的とする。
【0023】
【課題を解決するための手段】
そのために、本発明の紙葉類厚さ検出装置の補正方法においては、基準ローラと厚さ検出ローラとの間に厚さの異なる複数の基準媒体を挿入して、前記厚さ検出ローラの変位を検出し、出力発生手段によって前記変位に対応する出力を発生させ、前記基準媒体の厚さの差、及び該差に基づいて生じる前記出力の変化量に基づいてゲイン補正値を算出し、該ゲイン補正値に従って前記出力を調整する。
【0027】
【発明の実施の形態】
以下、本発明の説明の前提となる技術の形態、及び本発明の実施の形態について図面を参照しながら詳細に説明する。なお、紙葉類厚さ検出装置については、従来のものと同じ構造を有するので、図2を援用する。
図1は本発明の説明の前提となる技術の第1の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図、図5は本発明の説明の前提となる技術の第1の形態における偏心補正値を算出するための説明図である。なお、図1において、横軸に基準媒体の状態を、縦軸にADコンバータ19(図2)の出力Qを、図5において、横軸に厚さ検出ローラ12の回転位置を、縦軸に前記ADコンバータ19の出力Qを採ってある。
【0028】
この場合、ゲイン補正値及びオフセット補正値を算出するために、厚さが異なる2枚の基準媒体A、B、及び前記基準媒体Aと同じ厚さを有する基準媒体Eが使用される。そして、基準媒体Aは基準媒体Bより薄くされる。
まず、基準媒体Aを基準ローラ11と厚さ検出ローラ12との間に挿入し、DAコンバータ16によってオフセット補正値を変更し、ADコンバータ19の出力Qが規定範囲内の所定の値q1になるようにし、そのときのオフセット補正値をオフセット補正初期値としてセットする。このとき、DAコンバータ18によって、ゲイン補正値に任意のゲイン補正初期値g1をセットしておく。そして、CPU20は、このときのADコンバータ19の出力Qの値q1を読み込み、EEPROM21に格納する。
【0029】
次に、同様にして、基準媒体Bを基準ローラ11と厚さ検出ローラ12との間に挿入し、前記ゲイン補正値を変更し、ADコンバータ19の出力Qが所定の値q2になるゲイン補正値g2を求める。また、前記CPU20はこのときのゲイン補正値g2をEEPROM21に格納する。
そして、ゲイン補正値g2を維持したまま、再び基準媒体Aを基準ローラ11と厚さ検出ローラ12との間に挿入する。このとき、前記CPU20は、ADコンバータ19の出力Qの値q3を読み込み、EEPROM21に格納する。
【0030】
続いて、前記CPU20は、値q1、q3、ゲイン補正初期値g1及びゲイン補正値g2に基づいて、所定の式に従って当該紙葉類厚さ検出装置の所期のゲイン補正値gxを算出する。
前記CPU20は、算出された所期のゲイン補正値gxをDAコンバータ18にセットする。
【0031】
次に、オフセット補正値を算出するために、前記基準媒体Eを基準ローラ11と厚さ検出ローラ12との間に挿入し、図示しないモータ等の搬送系を駆動して基準媒体Eを定速で搬送する。そして、CPU20は、前記基準ローラ11及び厚さ検出ローラ12を1回転させたときの、ADコンバータ19の出力Qの値qxを読み込み、該値qxの平均値qxA を算出し、該平均値qxA が前記値q1になるようにオフセット補正値を変更する。また、CPU20は、前記平均値qxA が前記値q1になったときのオフセット補正値f3を算出し、該オフセット補正値f3をDAコンバータ16にセットする。そして、CPU20は、前記オフセット補正値f3及び前記平均値qxA をEEPROM21に格納する。
【0032】
このように、基準ローラ11及び厚さ検出ローラ12を1回転させ、ADコンバータ19の出力Qの値qxの平均値qxA を算出し、該平均値qxA が前記値q1になるようにオフセット補正値f3を算出しているので、基準ローラ11又は厚さ検出ローラ12が偏心していてもその影響を受けることはなく、オフセット補正値f3を正確に算出することができる。
【0033】
したがって、オフセット補正が適正に行われるので、紙葉類の厚さを検出する場合、基準ローラ11及び厚さ検出ローラ12に存在する偏心量によって、検出される厚さにばらつきが生じることがなくなる。その結果、紙葉類の厚さを正確に検出することができる。
次に、偏心補正値を算出するために、前記基準媒体Eを基準ローラ11と厚さ検出ローラ12との間に挿入し、前記搬送系を駆動して基準媒体Eを定速で搬送する。そして、CPU20は、厚さ検出ローラ12の第1の変位を検出するために、フォトインタラプタ22の出力信号にパルスを検出してから、1回転をn個に等分割した各タイミングH0 〜Hn で、第1の出力としてのADコンバータ19の出力Qの値qei (i=0、1、…、n)を読み込み、EEPROM21に格納する。また、前記各値qei をタイミングH0 における初期値qe0 と比較して出力差(qei −qe0 )を算出し、該出力差(qei −qe0 )を、基準媒体Eを搬送したときの基準媒体偏心補正値HEiとしてEEPROM21に格納する。
【0034】
次に、基準媒体Eを基準ローラ11と厚さ検出ローラ12との間から取り除き、基準ローラ11及び厚さ検出ローラ12を回転させる。そして、CPU20は、厚さ検出ローラ12の第2の変位を検出するために、基準媒体Eを搬送したときと同様に前記出力信号にパルスを検出してから、各タイミングH0 〜Hn で、第2の出力としてのADコンバータ19の出力Qの値q0i (i=0、1、…、n)を読み込み、EEPROM21に格納する。また、前記値q0i をタイミングH0 における初期値q00 と比較して出力差(q0i −q00 )を算出し、該出力差(q0i −q00 )を空回し偏心補正値KEiとしてEEPROM21に格納する。
【0035】
次に、前記構成の紙葉類厚さ検出装置によって紙葉類の厚さを検出する方法について説明する。
前記搬送系が駆動され、基準ローラ11と厚さ検出ローラ12との間を紙葉類が搬送されると、前記厚さ検出ローラ12が変位し、該変位が、機構的にポテンショメータ14に伝達され、該ポテンショメータ14によって電気信号に変換される。そして、該電気信号は、アンプ15によって増幅されてアンプ17に一方の端子を介して入力される。
【0036】
このとき、前記CPU20は、前記オフセット補正値f3をEEPROM21から読み出し、該アンプ17に他方の端子を介して入力し、オフセット補正を行う。そして、オフセット補正が行われた状態でアンプ17の出力がDAコンバータ18に入力される。また、前記CPU20は、EEPROM21から所期のゲイン補正値gxを読み出してDAコンバータ18にセットし、ゲイン補正を行う。
【0037】
そして、CPU20は、基準ローラ11及び厚さ検出ローラ12を回転させながら、各タイミングH0 〜Hn ごとに各前記ADコンバータ19の出力Qの値qi を読み込むとともに、前記EEPROM21に格納された基準媒体偏心補正値HEi及び空回し偏心補正値KEiを読み出し、前記値qi と空回し偏心補正値KEiとの差Δqi を算出し、各差Δqi に前記基準媒体偏心補正値HEiを加えることによって偏心補正を行う。
【0038】
次に、本発明の説明の前提となる技術の第2の形態について説明する。なお、第1の形態と同じ構造を有するものについては、同じ符号を付与することによってその説明を省略する。
この場合、オフセット補正値を算出するために、厚さを検出する紙葉類と同じ厚さの基準媒体Dを基準ローラ11と厚さ検出ローラ12との間に挿入し、モータ等の搬送系を駆動して基準媒体Dを定速で搬送する。
【0039】
そして、CPU20は、前記基準ローラ11及び厚さ検出ローラ12を1回転させたときの、ADコンバータ19の出力Qの値qxD を読み込み、該値qxD の平均値qxMDを算出し、該平均値qxMDが前記値q1になるようにオフセット補正値を変更する。また、CPU20は、前記平均値qxMDが前記値q1になったときのオフセット補正値f4を算出し、該オフセット補正値f4をDAコンバータ16にセットする。
【0040】
このように、オフセット補正値f4を算出するための基準媒体Dの厚さが、厚さを検出しようとする紙葉類と等しくされるので、基準ローラ11又は厚さ検出ローラ12の偏心以外の影響を受けることはなく、オフセット補正値f4を正確に算出することができる。
したがって、オフセット補正が適正に行われるので、紙葉類の厚さを検出する場合、検出される厚さにばらつきが生じることがなくなる。その結果、紙葉類の厚さを正確に検出することができる。
【0041】
次に、本発明の説明の前提となる技術の第3の形態について説明する。なお、第1の形態と同じ構造を有するものについては、同じ符号を付与することによってその説明を省略する。
この場合、モータ等の搬送系を駆動して基準ローラ11及び厚さ検出ローラ12を回転させ、基準媒体Aを定速で搬送する。そして、CPU20は、前記基準ローラ11及び厚さ検出ローラ12においてあらかじめ所定の位置に設定されたホームポジションが、基準媒体Aに対してどの位置になっているかを、フォトインタラプタ22からの出力信号の波形に基づいて検出し、前記ホームポジションにおける前記ADコンバータ19の出力Qの値qHPを読み込み、該値qHPが規定範囲内の所定の値q1になるようにオフセット補正値を変更する。また、CPU20は、前記値qHPが前記値q1になったときのオフセット補正値fHPをEEPROM21に格納する。
【0042】
そして、紙葉類の厚さを検出する場合、搬送系を駆動して基準ローラ11及び厚さ検出ローラ12を回転させ、紙葉類を定速で搬送する。このとき、前記CPU20は、前記基準ローラ11及び厚さ検出ローラ12の前記ホームポジションに対する各回転位置における偏心量を算出し、該各偏心量をADコンバータ19の出力Qの値qi に加える。
【0043】
したがって、基準ローラ11及び厚さ検出ローラ12が偏心していてもその影響を受けることはなく、紙葉類の厚さを正確に検出することができる。
ところで、前記第1〜第3の形態においては、値q1、q3、ゲイン補正初期値g1及びゲイン補正値g2に基づいてゲイン補正値gxを算出するようになっているので、紙葉類の厚さを検出するに当たり、ミクロンオーダーの検出精度を得ることができない。
【0044】
また、ゲイン補正値gx及びオフセット補正値f3、f4を算出するために、基準ローラ11と厚さ検出ローラ12との間に2種類の基準媒体A、Bを繰り返し挿入する必要があり、作業が煩わしいだけでなく、算出するために時間がかかってしまう。そして、基準媒体A、Bを挿入する順序を誤ると、ゲイン補正値gx及びオフセット補正f3、f4を正確に算出することができなくなってしまう。
【0045】
また、前記ゲイン補正値gxを算出する場合、基準ローラ11と厚さ検出ローラ12との間に2種類の基準媒体A、Bを挿入したときの二つの出力Qの値を利用しているので、一方の出力Qの値に大きいずれが生じることがあり、その場合、ゲイン補正値gxを正確に算出することができない。
さらに、前記基準媒体偏心補正値HEi及び空回し偏心補正値KEiを算出する場合、基準ローラ11及び厚さ検出ローラ12を1方向にだけ回転させるようにしているので、紙葉類を両方向に搬送しながら紙葉類の厚さを検出しようとすると、回転方向によっては、基準媒体偏心補正値HEi及び空回し偏心補正値KEiを正確に検出することができない。
【0046】
次に、本発明の第1の実施の形態について説明する。
図6は本発明の第1の実施の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図である。なお、図において、横軸に基準媒体の状態を、縦軸にADコンバータ19(図2)の出力Qを採ってある。また、第1の形態と同じ構造を有するものについては、同じ符号を付与することによってその説明を省略する。
【0047】
この場合、ゲイン補正値及びオフセット補正値を算出するために、厚さが異なる2枚の基準媒体A、B、及び前記基準媒体Aと同じ厚さを有する基準媒体Eが使用される。そして、基準媒体Aは基準媒体Bより薄くされる。
まず、基準媒体A、Bを基準ローラ11と厚さ検出ローラ12との間に挿入しない状態において、DAコンバータ16によってオフセット補正値を変更して、ADコンバータ19の出力Qが規定範囲内の所定の値q10になるようにし、そのときのオフセット補正値をオフセット補正初期値としてセットする。このとき、DAコンバータ18によってゲイン補正値に任意のゲイン補正初期値g11をセットしておく。そして、CPU20は、このときのADコンバータ19の出力Qの値q10を読み込み、EEPROM21に格納する。
【0048】
次に、オフセット補正値をオフセット補正初期値にしたまま、基準ローラ11と厚さ検出ローラ12との間に基準媒体Aを挿入し、DAコンバータ18にセットするゲイン補正値を変更して、ADコンバータ19の出力Qが所定の値q12になるゲイン補正値g12を求め、値q12及び前記ゲイン補正値g12をEEPROM21に格納する。
【0049】
そして、オフセット補正初期値及び前記ゲイン補正値g12を維持したまま、同様にして基準ローラ11と厚さ検出ローラ12との間に基準媒体Bを挿入し、ADコンバータ19の出力Qの値q13を読み込み、該値q13をEEPROM21に格納する。
ここで、基準媒体Aの厚さdA と基準媒体Bの厚さdB との差Δd
Δd=dA −dB
に対応させて決められたADコンバータ19の出力Qの変化量をΔqとして、値q12、q13及びゲイン補正値g12により、次の式により所期のゲイン補正値gyを算出する。
【0050】
gy=g12×Δq/(q13−q12)
すなわち、DAコンバータ18にセットされるゲイン補正値がgyである場合、基準媒体Aの厚さdA と基準媒体Bの厚さdB との差がΔdであると、ADコンバータ19の出力Qの変化量がΔqになることを示す。
次に、基準ローラ11と厚さ検出ローラ12との間に基準媒体Aを挿入し、DAコンバータ18に所期のゲイン補正値gyをセットし、オフセット補正値を変更して、ADコンバータ19の出力Qが規定範囲内の所定の値qpとなるようにする。そして、CPU20は、前記ADコンバータ19の出力Qが前記値qpになったときのオフセット補正値f5を算出し、該オフセット補正値f5をDAコンバータ16にセットする。このとき、CPU20は、前記オフセット補正値f5をADコンバータ19の出力Qの値qpと共にEEPROM21に格納する。
【0051】
続いて、オフセット補正値f5及びゲイン補正値gyを維持したまま、基準ローラ11と厚さ検出ローラ12との間から基準媒体Aを取り除く。CPU20は、このときのADコンバータ19の出力Qの値Mを出力目標値としてEEPROM21に格納する。
次に、偏心補正値を算出する場合、前記基準媒体Eを基準ローラ11と厚さ検出ローラ12との間に挿入し、図示しないモータ等の搬送系を駆動して基準媒体Eを定速で搬送する。そして、CPU20は、フォトインタラプタ22の出力信号にパルスを検出してから、1回転をn個に等分割した各タイミングt1〜tnをT回転分(Tは正の整数)採り、各n×T個のタイミングでADコンバータ19の出力Qの値q(1)、…、q(n)、q(n+1)、…、q(n×T)を読み込む。
【0052】
図7は本発明の第1の実施の形態におけるタイミングを示す図である。
図において、SG1はフォトインタラプタ22(図2)の出力信号、PLは該出力信号SG1に発生するパルス、t1、t2、…、2n+1はタイミングである。
ここで、基準ローラ11及び厚さ検出ローラ12を1回転させたときに、n個のタイミングについてADコンバータ19の出力Qの値q(1)、…、q(n)を得ることができるので、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときに、値q(k)(k=1、2、…、n)と値q(k+n×(U−1))(U=1、2、…、)とは等しくなる。
【0053】
したがって、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときの、前記出力Qの各値q(k)、q(k+n)、…、q(k+n×(U−1))の平均値qPA(k)は、

Figure 0003642931
になる。
【0054】
このことから、基準ローラ11及び厚さ検出ローラ12が各回転位置にあるときの偏心補正値H(k)(k=1、2、…、n)は次の式を用いて算出される。
H(k)=qPA−qPA(k)
次に、前記構成の紙葉類厚さ検出装置によって紙葉類の厚さを検出する方法について説明する。
【0055】
前記搬送系を駆動し、基準ローラ11と厚さ検出ローラ12との間に紙葉類を挿入する前に、CPU20は、DAコンバータ18に前記ゲイン補正値gyをセットし、DAコンバータ16にセットするオフセット補正値を変更して、ADコンバータ19の出力Qを出力目標値Mにする。次に、CPU20は、基準ローラ11及び厚さ検出ローラ12が1回転するごとに前記出力信号SG1にパルスPLを検出し、各タイミングで偏心補正を行うことができるように準備する。
【0056】
続いて、紙葉類が基準ローラ11と厚さ検出ローラ12との間に到達すると、タイミングtにおけるADコンバータ18の出力Qの値q(t)(t=1、2、…、n)に対する偏心補正を開始する。この場合、偏心補正が行われた後の値をq* (t)とすると、値q* (t)(t=1、2、…、n)を次の式を用いて算出することができる。
【0057】
* (t)=q(t)+H(t)
したがって、該値q* (t)に基づいて、紙葉類の搬送枚数、重走及び紙葉類に貼(ちょう)付されたテープ等を検出することができる。
このように、基準媒体Aの厚さdA と基準媒体Bの厚さdB との差Δdによって生じる出力Qの変化量Δqと、所定の値qpとの比に基づいてゲイン補正値gyを算出するようにしているので、ゲイン補正値gyを正確に検出することができる。したがって、紙葉類の厚さを検出するに当たり、ミクロンオーダーの検出精度を得ることができる。
【0058】
次に、本発明の第2の実施の形態について説明する。
図8は本発明の第2の実施の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図である。なお、図において、横軸に基準媒体の状態を、縦軸にADコンバータ19(図2)の出力Qを採ってある。
この場合、ゲイン補正値及びオフセット補正値を算出するために、厚さが異なる2枚の基準媒体A、B、及び前記基準媒体Aと同じ厚さを有する基準媒体Eが使用される。そして、基準媒体Aは基準媒体Bより薄くされる。
【0059】
まず、基準媒体A、Bを基準ローラ11と厚さ検出ローラ12との間に挿入しない状態において、DAコンバータ16によってオフセット補正値を変更して、ADコンバータ19の出力Qが規定範囲内の所定の値q10になるようにし、そのときのオフセット補正値をオフセット補正初期値としてセットする。このとき、DAコンバータ18によってゲイン補正値に任意のゲイン補正初期値g11をセットしておく。そして、CPU20は、このときのADコンバータ19の出力Qの値q10を読み込み、EEPROM21に格納する。
【0060】
次に、オフセット補正値をオフセット補正初期値にしたまま、基準ローラ11と厚さ検出ローラ12との間に基準媒体Bを挿入し、DAコンバータ18にセットするゲイン補正値を変更して、ADコンバータ19の出力Qが所定の値q22になるゲイン補正値g12を求め、値q22及び前記ゲイン補正値g12をEEPROM21に格納する。
【0061】
そして、オフセット補正初期値及び前記ゲイン補正値g12を維持したまま、同様にして基準ローラ11と厚さ検出ローラ12との間に基準媒体Aを挿入し、ADコンバータ19の出力Qの値q23を読み込み、該値q23をEEPROM21に格納する。
ここで、基準媒体Aの厚さdA と基準媒体Bの厚さdB との差Δd
Δd=dA −dB
に対応させて決められたADコンバータ19の出力Qの変化量をΔqとして、値q22、q23及びゲイン補正値g12により、次の式により所期のゲイン補正値gyを算出する。
【0062】
gy=g12×Δq/(q22−q23)
すなわち、DAコンバータ18にセットされるゲイン補正値がgyである場合、基準媒体Aの厚さdA と基準媒体Bの厚さdB との差がΔdであると、ADコンバータ19の出力Qの変化量がΔqになることを示す。
次に、基準ローラ11と厚さ検出ローラ12との間に基準媒体Aを挿入したまま、DAコンバータ18に所期のゲイン補正値gyをセットし、オフセット補正値を変化させて、ADコンバータ19の出力Qが規定範囲内の所定の値qpとなるようにする。そして、CPU20は、前記出力Qが前記値qpになったときのオフセット補正値f5を算出し、該オフセット補正値f5をDAコンバータ16にセットする。このとき、CPU20は、前記オフセット補正値f5をADコンバータ19の出力Qの値qpと共にEEPROM21に格納する。
【0063】
続いて、オフセット補正値f5及びゲイン補正値gyを維持したまま、基準ローラ11と厚さ検出ローラ12との間から基準媒体Aを取り除く。CPU20は、このときのADコンバータ19の出力Qの値Mを出力目標値としてEEPROM21に格納する。
次に、偏心補正値を算出する場合、基準媒体Aと同じ厚さの基準媒体Eを基準ローラ11と厚さ検出ローラ12との間に挿入し、図示しないモータ等の搬送系を駆動して基準媒体Eを定速で搬送する。そして、CPU20は、前記フォトインタラプタ22の出力信号SG1(図7)にパルスPLを検出してから、1回転をn個に等分割した各タイミングt1〜tnをT回転分(Tは正の整数)採り、各n×T個のタイミングでADコンバータ19の出力Qの値q(1)、…、q(n)、q(n+1)、…、q(n×T)を読み込む。
【0064】
ここで、基準ローラ11及び厚さ検出ローラ12を1回転させたときに、n個のタイミングについて前記出力Qの値q(1)、…、q(n)を得ることができるので、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときに、値q(k)(k=1、2、…、n)と値q(k+n×(U−1))(U=1、2、…、)とは等しくなる。
【0065】
したがって、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときの、前記出力Qの各値q(k)、q(k+n)、…、q(k+n×(U−1))の平均値qPA(k)は、
Figure 0003642931
になる。
【0066】
このことから、基準ローラ11及び厚さ検出ローラ12が各回転位置にあるときの偏心補正値H(k)(k=1、2、…、n)は次の式を用いて算出される。
H(k)=qPA−qPA(k)
次に、前記構成の紙葉類厚さ検出装置によって紙葉類の厚さを検出する方法について説明する。
【0067】
前記搬送系を駆動し、基準ローラ11と厚さ検出ローラ12との間に紙葉類を挿入する前に、CPU20は、DAコンバータ18に前記ゲイン補正値gyをセットし、DAコンバータ16にセットするオフセット補正値を変更して、ADコンバータ19の出力Qを出力目標値Mにする。次に、CPU20は、基準ローラ11及び厚さ検出ローラ12が1回転するごとに前記出力信号SG1にパルスPLを検出し、各タイミングで偏心補正を行うことができるように準備する。
【0068】
続いて、紙葉類が基準ローラ11と厚さ検出ローラ12との間に到達すると、タイミングtにおけるADコンバータ18の出力Qの値q(t)(t=1、2、…、n)に対する偏心補正を開始する。この場合、偏心補正が行われた後の値をq* (t)とすると、値q* (t)(t=1、2、…、n)を次の式を用いて算出することができる。
【0069】
* (t)=q(t)+H(t)
したがって、該値q* (t)に基づいて、紙葉類の搬送枚数、重走及び紙葉類に貼付されたテープ等を検出することができる。
このように、基準ローラ11と厚さ検出ローラ12との間に厚い順に基準媒体B及び基準媒体Aを挿入するようにしているので、基準媒体A、Bを挿入する回数を少なくすることができる。
【0070】
したがって、ゲイン補正値gy及びオフセット補正値f5を算出するための作業を簡素化することができるだけでなく、算出するための時間を短くすることができる。また、基準媒体A、Bを挿入する順序を誤ることがなくなるので、ゲイン補正値gy及びオフセット補正値f5を正確に算出することができる。
次に、本発明の第3の実施の形態について説明する。
【0071】
図9は本発明の第3の実施の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図、図10は本発明の第3の実施の形態における正規方程式の各項を説明するためのマトリクスである。なお、図9において、横軸に基準媒体の状態を、縦軸にADコンバータ19(図2)の出力Qを採ってある。
この場合、ゲイン補正値及びオフセット補正値を算出するために、厚さが異なるJ枚の基準媒体Fr (r=1、2、…、J)を使用し、厚さの薄い順に基準媒体F1 、F2 、…、FJ とする。また、基準媒体Fr の厚さを薄い順にd1 、d2 、…、dJ とする。
【0072】
まず、基準媒体Fr を基準ローラ11と厚さ検出ローラ12との間に挿入しない状態において、DAコンバータ16によってオフセット補正値を変更して、ADコンバータ19の出力Qが規定範囲内の所定の値qF0とし、そのときのオフセット補正値をオフセット補正初期値としてセットする。このとき、DAコンバータ18によってゲイン補正値に任意のゲイン補正初期値g11をセットしておく。そして、CPU20は、このときのADコンバータ19の出力Qの値qF0を読み込み、EEPROM21に格納する。
【0073】
次に、オフセット補正値をオフセット補正初期値にしたまま、基準ローラ11と厚さ検出ローラ12との間に基準媒体F1 を挿入し、DAコンバータ18にセットするゲイン補正値を変更し、ADコンバータ19の出力Qが所定の値qF1になるゲイン補正値g12を求め、値qF1及び前記ゲイン補正値g12をEEPROM21に格納する。
【0074】
そして、オフセット補正初期値及び前記ゲイン補正値g12を維持したまま、同様にして基準ローラ11と厚さ検出ローラ12との間に基準媒体F2 を挿入し、ADコンバータ19の出力Qの値qF2を読み込み、該値qF2をEEPROM21に格納する。以降、オフセット補正初期値及び前記ゲイン補正値g12を維持したまま、基準ローラ11と厚さ検出ローラ12との間に基準媒体F3 、F4 、…、FJ を挿入し、ADコンバータ19の出力Qの値qF3、qF4、…、qFJをEEPROM21に格納する。
【0075】
次に、最小2乗法により厚さXと出力Yとの関係を表す近似式を求める。
ここで、厚さXと出力Yとの関係が
Y=a+bX
であるとすると、定数a、bを求めるためのJ個の条件方程式
i =a+bXi (i=1、2、…、J)
が得られ、正規方程式は、図10のマトリクスに従って、
a×J+b×Σdr =ΣqFr ……(1)
a×Σdr +b×Σ(dr ×dr )=Σ(dr ×qFr) ……(2)
で表すことができる。したがって、前記式(1)、(2)の連立方程式を解いて定数a、bを求めることができる。
【0076】
このようにして、最小2乗法による厚さXと出力値Yとの関係を表す近似式を求めることができる。該近似式による基準媒体F1 及び基準媒体FJ の出力値qF1 * 、qFJ * は、
F1 * =a+b×d1
FJ * =a+b×dJ
になる。そして、基準媒体F1 、FJ のそれぞれ厚さd1 、dJ の差ΔdF に対応させて決められたADコンバータ19の出力Qの値の変化量をΔqF とすると、ゲイン補正値g11に基づいて、次の式を用いて所期のゲイン補正値gzを算出することができる。
【0077】
gz=g11×ΔqF /(qFJ * −qF1 *
すなわち、DAコンバータ18にセットされるゲイン補正値がgzである場合、基準媒体Aの厚さdA と基準媒体Bの厚さdB との差がΔdF であると、ADコンバータ19の出力Qの変化量がΔqF になることを示す。
次に、基準媒体F1 を挿入したまま、DAコンバータ18に所期のゲイン補正値gzをセットし、オフセット補正値を変更して、ADコンバータ19の出力Qが規定範囲内の所定の値qpとなるようにする。そして、CPU20は、前記出力Qが前記値qpになったときのオフセット補正値f6を算出し、該オフセット補正値f6をDAコンバータ16にセットする。このとき、CPU20は、前記オフセット補正値f6をADコンバータ19の出力Qの値qpと共にEEPROM21に格納する。
【0078】
続いて、オフセット補正値f6及びゲイン補正値gzを維持したまま、基準ローラ11と厚さ検出ローラ12との間から基準媒体F1 を取り除く。CPU20は、このときのADコンバータ19の出力Qの値Mを出力目標値としてEEPROM21に格納する。
次に、偏心補正値を算出する場合、基準媒体Aと同じ厚さの基準媒体Eを基準ローラ11と厚さ検出ローラ12との間に挿入し、図示しないモータ等の搬送系を駆動して基準媒体Eを定速で搬送する。そして、CPU20は、フォトインタラプタ22の出力信号SG1(図7)にパルスPLを検出してから、1回転をn個に等分割した各タイミングt1〜tnをT回転分(Tは正の整数)採り、各n×T個のタイミングでADコンバータ19の出力Qの値q(1)、…、q(n)、q(n+1)、…、q(n×T)を読み込む。
【0079】
ここで、基準ローラ11及び厚さ検出ローラ12を1回転させたときに、n個のタイミングについて前記出力Qの値q(1)、…、q(n)を得ることができるので、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときに、値q(k)(k=1、2、…、n)と値q(k+n×(U−1))(U=1、2、…、)とは等しくなる。
【0080】
したがって、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときの、前記出力Qの各値q(k)、q(k+n)、…、q(k+n×(U−1))の平均値qPA(k)は、
Figure 0003642931
になる。
【0081】
このことから、基準ローラ11及び厚さ検出ローラ12が各回転位置にあるときの偏心補正値H(k)(k=1、2、…、n)は次の式を用いて算出される。
H(k)=qPA−qPA(k)
次に、前記構成の紙葉類厚さ検出装置によって紙葉類の厚さを検出する方法について説明する。
【0082】
前記搬送系を駆動し、基準ローラ11と厚さ検出ローラ12との間に紙葉類を挿入する前に、CPU20は、DAコンバータ18に前記ゲイン補正値gzをセットし、DAコンバータ16にセットするオフセット補正値を変化させて、ADコンバータ19の出力Qを出力目標値Mにする。次に、CPU20は、基準ローラ11及び厚さ検出ローラ12が1回転するごとに前記出力信号SG1にパルスPLを検出し、各タイミングで偏心補正を行うことができるように準備する。
【0083】
続いて、紙葉類が基準ローラ11と厚さ検出ローラ12との間に到達すると、タイミングtにおけるADコンバータ19の出力Qの値q(t)(t=1、2、…、n)に対する偏心補正を開始する。この場合、偏心補正が行われた後の値をq* (t)とすると、値q* (t)(t=1、2、…、n)を次の式を用いて算出することができる。
【0084】
* (t)=q(t)+H(t)
したがって、該値q* (t)に基づいて、紙葉類の搬送枚数、重走及び紙葉類に貼付されたテープ等を検出することができる。
このように、基準ローラ11と厚さ検出ローラ12との間に厚さが異なるJ枚の基準媒体Fr (r=1、2、…、J)を薄い順に挿入し、各ADコンバータ19の出力Qの値qFr(r=1、2、…、J)を読み取り、値qFrに基づいて最小2乗法により厚さXと出力Yとの関係を表す近似式を求め、該近似式に基づいてゲイン補正値gzを算出するようになっているので、基準媒体Fr の数が多い分だけゲイン補正値gzを正確に算出することができる。
【0085】
次に、本発明の第4の実施の形態について説明する。
図11は本発明の第4の実施の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図である。なお、図において、横軸に基準媒体の状態を、縦軸にADコンバータ19(図2)の出力Qを採ってある。
この場合、ゲイン補正値及びオフセット補正値を算出するために、厚さが異なる2枚の基準媒体A、B、及び前記基準媒体Aと同じ厚さを有する基準媒体Eが使用される。そして、基準媒体Aは基準媒体Bより薄くされる。
【0086】
まず、基準媒体A、Bを基準ローラ11と厚さ検出ローラ12との間に挿入しない状態において、DAコンバータ16によってオフセット補正値を変更して、ADコンバータ19の出力Qが規定範囲内の所定の値q10になるようにし、そのときのオフセット補正値をオフセット補正初期値としてセットする。このとき、DAコンバータ18によってゲイン補正値に任意のゲイン補正初期値g11をセットしておく。そして、CPU20は、このときのADコンバータ19の出力Qの値q10及び基準ローラ11を読み込み、EEPROM21に格納する。
【0087】
次に、オフセット補正値をオフセット補正初期値にしたまま、基準ローラ11と厚さ検出ローラ12との間に基準媒体Bを挿入し、図示しないモータ等の搬送系を駆動することによって前記基準媒体Bを搬送する。そして、基準ローラ11と厚さ検出ローラ12との間に基準媒体Bがあるときに、CPU20は、所定間隔を置いたタイミングでADコンバータ19の出力Qを複数個読み込み、該出力Qの平均値qA1を算出する。そして、この作業を複数回繰り返し、同時にDAコンバータ18にセットするゲイン補正値を変更し、前記平均値qA1が所定の値q22になるゲイン補正値g12を求め、前記値q22及び前記ゲイン補正値g12をEEPROM21に格納する。
【0088】
次に、オフセット補正初期値及び前記ゲイン補正値g12を維持したまま、基準ローラ11と厚さ検出ローラ12との間に基準媒体Aを挿入し、前記搬送系を駆動することによって前記基準媒体Aを搬送する。そして、基準ローラ11と厚さ検出ローラ12との間に基準媒体Aがあるときに、CPU20は、所定間隔を置いたタイミングでADコンバータ19の出力Qを複数個読み込み、該出力Qの平均値qA2を算出する。このとき、該平均値qA2をEEPROM21に格納する。
【0089】
ここで、基準媒体Aの厚さdA と基準媒体Bの厚さdB との差Δd
Δd=dA −dB
に対応させて決められたADコンバータ19の出力Qの変化量をΔqとして、値q22、平均値qA2及びゲイン補正値g12により、次の式を用いて所期のゲイン補正値gaを算出する。
【0090】
ga=g12×Δq/(q22−qA2
すなわち、DAコンバータ18にセットされるゲイン補正値がgyA である場合、基準媒体Aの厚さdA と基準媒体Bの厚さdB との差がΔdであると、ADコンバータ19の出力Qの変化量がΔqになることを示す。
次に、基準ローラ11と厚さ検出ローラ12との間に基準媒体Aを挿入し、かつ、オフセット補正値を維持したまま、DAコンバータ18に所期のゲイン補正値gyA をセットし、所定間隔を置いたタイミングでADコンバータ19の出力Qを複数個読み込み、該出力Qの平均値qA3を算出する。そして、この作業を複数回繰り返し、同時にDAコンバータ16にセットするオフセット補正値を変更し、前記平均値qA3が所定の値qpA になるオフセット補正値fA を求め、平均値qA3及びオフセット補正値fA をEEPROM21に格納する。なお、以上の処理は、基準ローラ11と厚さ検出ローラ12との間に基準媒体Aがあるうちに終了させる。
【0091】
続いて、オフセット補正値fA 及びゲイン補正値gyA を維持したまま、所定間隔を置いたタイミングでADコンバータ19の出力Qを複数個読み込み、該出力Qの平均値qA4を算出する。CPU20は、平均値qA4を出力目標値としてEEPROM21に格納する。
以下、第1の実施の形態と同様に、基準媒体Aと同じ厚さの基準媒体Eを基準ローラ11と厚さ検出ローラ12との間に挿入し、搬送系を駆動して基準媒体Eを定速で搬送してADコンバータ19の出力Qの値q(1)、…、q(n)、q(n+1)、…、q(n×T)を読み込む。
【0092】
そして、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときの、前記出力Qの各値q(k)、q(k+n)、…、q(k+n×(U−1))の平均値qPA(k)を算出することができ、基準ローラ11及び厚さ検出ローラ12が各回転位置にあるときの偏心補正値H(k)(k=1、2、…、n)は次の式を用いて算出することができる。
【0093】
H(k)=qPA−qPA(k)
したがって、前記構成の紙葉類厚さ検出装置によって紙葉類の厚さを検出する場合は、偏心補正が行われた後の出力Qの値q* (t)を次の式を用いて算出することができる。
* (t)=q(t)+H(t)
このように、2枚の厚さが異なる基準媒体A、Bを、1枚ずつ基準ローラ11と厚さ検出ローラ12との間を搬送するだけでゲイン補正値gyA 及びオフセット補正値fA を算出することができるので、作業を簡素化することができる。
【0094】
次に、本発明の第5の実施の形態について説明する。
図12は本発明の第5の実施の形態における基準媒体を示す図である。
図において、Kは基準媒体であり、厚さが異なる2枚の基準媒体K1 、K2 を端部において貼付することによって形成される。この場合、基準媒体K2 は基準媒体K1 より薄くされる。
【0095】
そして、前記基準媒体Kを、基準媒体K1 側を前方にして搬送することによって、第7の実施の形態と同じ方法でゲイン補正値gyA (図11)、オフセット補正値fA 及び偏心補正値H(k)を算出することができる。
この場合、1枚の基準媒体Kを挿入して搬送するだけでよいので、作業を一層簡素化することができる。
【0096】
次に、本発明の第6の実施の形態について説明する。
この場合、第1の実施の形態と同じ方法でオフセット補正値f5及びゲイン補正値gy(図6)を算出した後、偏心補正値を算出するに当たり、基準媒体Aと同じ厚さの基準媒体Eを基準ローラ11と厚さ検出ローラ12との間に挿入し、図示しないモータ等の搬送系を駆動して基準媒体Eを定速で第1、第2の方向に搬送する。そのために、前記搬送系は正方向及び逆方向に駆動することができるようになっている。
【0097】
そして、基準媒体Eを第1の方向に搬送したときの、ADコンバータ19の出力Qの値q(1)、…、q(n)、q(n+1)、…、q(n×T)を読み込み、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときの、前記出力Qの各値q(k)、q(k+n)、…、q(k+n×(U−1))の平均値qPA(k)を算出する。また、基準ローラ11及び厚さ検出ローラ12が各回転位置にあるときの偏心補正値H(k)
H(k)=qPA−qPA(k)
を算出し、偏心補正が行われた後の出力Qの値q* (t)
* (t)=q(t)+H(t)
を算出する。
【0098】
次に、基準媒体Eを第2の方向に搬送したときの、ADコンバータ19の出力Qの値ρ(1)、…、ρ(n)、ρ(n+1)、…、ρ(n×T)を読み込み、基準ローラ11及び厚さ検出ローラ12が同じ回転位置にあるときの、前記出力Qの各値ρ(k)、ρ(k+n)、…、ρ(k+n×(U−1))の平均値ρPA(k)を算出する。また、基準ローラ11及び厚さ検出ローラ12が各回転位置にあるときの偏心補正値H(k)
H(k)=ρPA−ρPA(k)
を算出し、偏心補正が行われた後の出力Qの値ρ* (t)
ρ* (t)=ρ(t)+H(t)
を算出する。
【0099】
したがって、紙葉類の厚さを検出する場合、紙葉類を第1の方向に搬送したときには、
* (t)=q(t)+H(t)
の式を用いて、紙葉類を第2の方向に搬送したときには、
ρ* (t)=ρ(t)+H(t)
の式を用いて、偏心補正を行うことができる。
【0100】
このように、紙葉類を搬送する方法に対応させて偏心補正値H(k)を異ならせることができるので、紙葉類の厚さを正確に検出することができる。
なお、本発明は前記実施の形態に限定されるものではなく、本発明の趣旨に基づいて種々変形させることが可能であり、それらを本発明の範囲から排除するものではない。
【0101】
【発明の効果】
以上詳細に説明したように、本発明によれば、紙葉類厚さ検出装置の補正方法においては、基準ローラと厚さ検出ローラとの間に厚さの異なる複数の基準媒体を挿入して、前記厚さ検出ローラの変位を検出し、出力発生手段によって前記変位に対応する出力を発生させ、前記基準媒体の厚さの差、及び該差に基づいて生じる前記出力の変化量に基づいてゲイン補正値を算出し、該ゲイン補正値に従って前記出力を調整する。
【0107】
この場合、2種類の基準媒体の厚さの差、及び該厚さの差によって生じる出力の変化量に基づいてゲイン補正値を算出するようにしているので、ゲイン補正値を正確に検出することができる。したがって、紙葉類の厚さを検出するに当たり、ミクロンオーダーの検出精度を得ることができる。
【図面の簡単な説明】
【図1】本発明の説明の前提となる技術の第1の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図である。
【図2】従来の紙葉類厚さ検出装置の概略図である。
【図3】従来のゲイン補正値及びオフセット補正値を算出するための説明図である。
【図4】従来の偏心補正値を算出するための説明図である。
【図5】本発明の説明の前提となる技術の第1の形態における偏心補正値を算出するための説明図である。
【図6】本発明の第1の実施の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図である。
【図7】本発明の第1の実施の形態におけるタイミングを示す図である。
【図8】本発明の第2の実施の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図である。
【図9】本発明の第3の実施の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図である。
【図10】本発明の第3の実施の形態における正規方程式の各項を説明するためのマトリクスである。
【図11】本発明の第4の実施の形態におけるゲイン補正値及びオフセット補正値を算出するための説明図である。
【図12】本発明の第5の実施の形態における基準媒体を示す図である。
【符号の説明】
11 基準ローラ
12 厚さ検出ローラ
16、18 DAコンバータ
19 ADコンバータ[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a paper sheet thickness detection apparatus and a correction method thereof.
[0002]
[Prior art]
Conventionally, in automatic transaction devices, printing devices, OCR, etc., the thickness of paper sheets such as cards and banknotes is detected, and based on the detection results, the presence or absence of tape affixed to the paper sheets, paper The authenticity of the leaves is determined. For this purpose, a paper sheet thickness detection device is provided, the paper sheet thickness detection device includes a reference roller and a thickness detection roller arranged to face each other, and a paper sheet is inserted between the two. The thickness of the paper sheet is detected based on the displacement of the thickness detection roller.
[0003]
Then, the gain correction value, the offset correction value, and the eccentricity correction value of the paper sheet thickness detection device are calculated so that a minute variation in the thickness of the paper sheet can be captured by the sensor, and based on the calculation result Gain correction, offset correction, and eccentricity correction are performed.
FIG. 2 is a schematic view of a conventional paper sheet thickness detection apparatus.
[0004]
In the figure, 11 is a reference roller, 12 is a thickness detection roller disposed opposite to the reference roller 11, 31 and 32 are bearings disposed at both ends of the reference roller 11, and 33 and 34 are the thickness. Bearings 35 and 36 disposed at both ends of the detection roller 12 are fulcrum brackets that rotatably support the bearings 33 and 34. The bearings 31 and 32 are rotatably supported with respect to a frame (not shown) without changing the position, whereas the bearings 33 and 34 are rotatable so that the position can be changed with respect to the frame. Supported.
[0005]
The fulcrum brackets 35 and 36 are biased by springs 37 and 38, respectively, and press the bearings 33 and 34 against the bearings 31 and 32. At this time, there is a gap t between the reference roller 11 and the thickness detection roller 12.GIs set.
The gap tGT is the minimum value of the thickness of the paper sheet handled in the paper thickness detecting device.SThe minimum value tSVariation and sheet thickness detection device manufacturing error (± tE)
tG= TS-A × tE
a: Safety factor
Given in. Therefore, the thickness of the paper sheet inserted between the reference roller 11 and the thickness detection roller 12 can be detected without fail.
[0006]
The potentiometer 14 is connected to the fulcrum bracket 36, and the potentiometer 14 detects the displacement of the thickness detection roller 12 when a sheet is inserted between the reference roller 11 and the thickness detection roller 12. The displacement is converted into an electric signal. An amplifier 15 is connected to the potentiometer 14 and the electric signal is amplified by the amplifier 15.
[0007]
The output of the amplifier 15 and the output of the DA converter 16 are input to the amplifier 17, and the output of the amplifier 17 is input to the DA converter 18. Further, the output of the DA converter 18 is further input to an AD converter 19, and the output Q of the AD converter 19 is captured and processed by the CPU 20. The CPU 20 is connected to the DA converter 16, the DA converter 18, and the EEPROM 21, respectively. The DA converters 16 and 18 and the AD converter 19 constitute output generating means.
[0008]
A photo interrupter 22 is provided to detect the rotation of the thickness detection roller 12, and an output signal of the photo interrupter 22 is input to the CPU 20. The rotation of the reference roller 11 can also be detected by the photo interrupter 22.
Next, a method for calculating the gain correction value, the offset correction value, and the eccentricity correction value by the paper sheet thickness detection device having the above-described configuration will be described.
[0009]
FIG. 3 is an explanatory diagram for calculating a conventional gain correction value and offset correction value, and FIG. 4 is an explanatory diagram for calculating a conventional eccentricity correction value. In FIG. 3, the horizontal axis indicates the state of the reference medium, the vertical axis indicates the output Q of the AD converter 19 (FIG. 2), the horizontal axis indicates the rotational position of the thickness detection roller 12 in FIG. The output Q is taken.
[0010]
  In this case, in order to calculate the gain correction value, the offset correction value, and the eccentricity correction value, the two reference media A and B having different thicknesses, and the reference media having the same thickness as normal paper sheets without foreign matter D is used. The reference medium A is made thinner than the reference medium B.
  First, the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12, and the offset correction value is changed by the DA converter 16 so that the output Q of the AD converter 19 becomes a predetermined value q1 within a specified range. Then, the offset correction value at that time is set as the offset correction initial value. At this time, the DA converter 18 sets an arbitrary gain correction initial value g1 as the gain correction value. Then, the CPU 20 reads the value q1 of the output Q of the AD converter 19 at this time and stores it in the EEPROM 21.
[0011]
  The gain correction value is a correction value for adjusting the slope of the output Q in the graph of FIG. 3, and the gain correction value is changed by adjusting the DA converter 18 to change the slope of the output Q. be able to. The offset correction value is a correction value for adjusting the intercept of the graph of FIG. 3, and the offset correction value can be changed by adjusting the DA converter 16 to change the intercept.
[0012]
  Next, similarly, the reference medium B is inserted between the reference roller 11 and the thickness detection roller 12, and the gain correction value is changed so that the output Q of the AD converter 19 becomes a predetermined value q2. A gain correction value g2 is obtained. Further, the CPU 20 stores the gain correction value g2 at this time in the EEPROM 21.
  Then, the reference medium A is inserted again between the reference roller 11 and the thickness detection roller 12 while maintaining the gain correction value g2. At this time, the CPU 20 reads the value q 3 of the output Q of the AD converter 19 and stores it in the EEPROM 21.
[0013]
  Subsequently, the CPU 20 calculates an intended gain correction value gx of the paper sheet thickness detection device according to a predetermined formula based on the values q1 and q3, the gain correction initial value g1 and the gain correction value g2.
  The CPU 20 sets the calculated desired gain correction value gx in the DA converter 18.
[0014]
Next, in order to calculate the offset correction value, the CPU 20 sets the value qx of the output Q of the AD converter 19 with the reference medium A being inserted between the reference roller 11 and the thickness detection roller 12. The offset correction value is changed so that the value qx becomes the value q1. Then, the CPU 20 calculates an offset correction value f2 when the value qx becomes the value q1, and sets the offset correction value f2 in the DA converter 16. At this time, the CPU 20 stores the offset correction value f2 in the EEPROM 21 together with the value qx of the output Q of the AD converter 19.
[0015]
Subsequently, the reference medium B is again inserted between the reference roller 11 and the thickness detection roller 12. Then, the CPU 20 reads the value q 4 of the output Q of the AD converter 19 and stores it in the EEPROM 21.
Next, as shown in the following equation, the CPU 20 determines that no sheet is inserted between the reference roller 11 and the thickness detection roller 12 based on the values q0, q1, and q4, that is, no medium is present. Time gap tGOIs calculated. As shown in FIG. 3, the value q0 is the value of the output Q of the AD converter 19 when there is no medium.
[0016]
tGO= (Q0-α) / β
β = (q4-q0) / (dB-DA)
α = q4−β × dB
Or
α = q0−β × dA
However,
dA= Thickness of reference medium A
dB= Thickness of reference medium B
And
[0017]
Next, in order to perform eccentricity correction, the reference media A and B are removed from between the reference roller 11 and the thickness detection roller 12, and a conveyance system such as a motor (not shown) is driven to drive the reference roller 11 and the thickness detection roller. 12 is rotated. During this time, the CPU 20 reads the output signal of the photo interrupter 22.
The CPU 20 determines the rotation position of the thickness detection roller 12 when a pulse is generated in the output signal of the photo interrupter 22, and the timing H at which the thickness detection roller 12 starts one rotation.0And the timing H0The value q0 of the output Q of the AD converter 19 at0Is stored in the EEPROM 21.
[0018]
Next, a reference medium D having the same thickness as a normal paper sheet without foreign matter is inserted between the reference roller 11 and the thickness detection roller 12, and the reference system D is driven at a constant speed by driving the transport system. Transport by. At this time, after detecting a pulse in the output signal, the CPU 20 divides each rotation equally into n (n is a positive integer) each timing H0~ HnThe value qd of the output Q of the AD converter 19i(I = 0, 1,..., N) is read and stored in the EEPROM 21. And each said value qdiThe timing H0Initial value qd at0Output difference (qdi-Qd0) And the output difference (qdi-Qd0) Is stored in the EEPROM 21 as the reference medium eccentricity correction value HDi when the reference medium D is conveyed.
[0019]
Further, the reference medium D is removed from between the reference roller 11 and the thickness detection roller 12, and the conveyance system is driven to rotate the reference roller 11 and the thickness detection roller 12. At this time, after detecting a pulse in the output signal, the CPU 20 detects each timing H0~ HnThe value q0 of the output Q of the AD converter 19i(I = 0, 1,..., N) is read and stored in the EEPROM 21. And the value q0iThe timing H0Initial value q0 at0Output difference (q0i-Q00) And the output difference (q0i-Q00) Is stored in the EEPROM 21 as the idling correction value KDi.
[0020]
[Problems to be solved by the invention]
However, in the correction method of the conventional paper sheet thickness detection device, when the offset correction value f2 is calculated, the reference roller 11 and the thickness detection roller 12 and the thickness detection roller 12 cannot be rotated. The value of the output Q of the AD converter 19 varies depending on the eccentricity existing in the roller 12, and the offset correction value f2 cannot be calculated accurately.
[0021]
Therefore, since offset correction is not properly performed, when the thickness of the paper sheet is detected, the detected thickness varies depending on the amount of eccentricity existing in the reference roller 11 and the thickness detection roller 12. End up.
Further, when the reference medium eccentricity correction value HDi and the idling rotation eccentricity correction value KDi are calculated, the reference medium D having the same thickness as the paper sheet whose thickness is to be detected is conveyed. In addition, the thickness variation of the reference medium D is added to the amount of eccentricity existing in the thickness detection roller 12, and the reference medium eccentricity correction value HDi and the idling eccentricity correction value KDi cannot be accurately calculated.
[0022]
  Accordingly, since the eccentricity correction is not properly performed, when the thickness of the paper sheet is detected, the detected thickness varies depending on the thickness variation of the reference medium D.
  The present invention solves the problems of the correction method of the conventional paper sheet thickness detection device, can appropriately perform offset correction and eccentricity correction, and detects when detecting the thickness of paper sheets. It is an object of the present invention to provide a paper sheet thickness detection device and a correction method thereof that do not cause variations in the thickness to be generated.
[0023]
[Means for Solving the Problems]
  Therefore, in the correction method of the paper sheet thickness detection device of the present invention, a plurality of reference media having different thicknesses are inserted between the reference roller and the thickness detection roller, and the displacement of the thickness detection roller is And generating an output corresponding to the displacement by the output generation means, calculating a gain correction value based on the difference in thickness of the reference medium and the amount of change in the output generated based on the difference, The output is adjusted according to the gain correction value.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
  DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the technology as a premise of the description of the present invention and embodiments of the present invention will be described in detail with reference to the drawings. Since the paper sheet thickness detection device has the same structure as the conventional one, FIG. 2 is used.
  FIG. 1 is an explanatory diagram for calculating a gain correction value and an offset correction value in the first embodiment of the technology that is the premise of the description of the present invention, and FIG. 5 is a first embodiment of the technology that is the premise of the description of the present invention. It is explanatory drawing for calculating the eccentricity correction value in. In FIG. 1, the horizontal axis indicates the state of the reference medium, the vertical axis indicates the output Q of the AD converter 19 (FIG. 2), the horizontal axis indicates the rotational position of the thickness detection roller 12 in FIG. The output Q of the AD converter 19 is taken.
[0028]
In this case, in order to calculate the gain correction value and the offset correction value, two reference media A and B having different thicknesses and a reference medium E having the same thickness as the reference medium A are used. The reference medium A is made thinner than the reference medium B.
First, the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12, the offset correction value is changed by the DA converter 16, and the output Q of the AD converter 19 becomes a predetermined value q1 within a specified range. Thus, the offset correction value at that time is set as the offset correction initial value. At this time, the DA converter 18 sets an arbitrary gain correction initial value g1 as the gain correction value. Then, the CPU 20 reads the value q1 of the output Q of the AD converter 19 at this time and stores it in the EEPROM 21.
[0029]
Next, similarly, the reference medium B is inserted between the reference roller 11 and the thickness detection roller 12, the gain correction value is changed, and the gain correction in which the output Q of the AD converter 19 becomes a predetermined value q2. The value g2 is obtained. Further, the CPU 20 stores the gain correction value g2 at this time in the EEPROM 21.
Then, the reference medium A is inserted again between the reference roller 11 and the thickness detection roller 12 while maintaining the gain correction value g2. At this time, the CPU 20 reads the value q 3 of the output Q of the AD converter 19 and stores it in the EEPROM 21.
[0030]
  Subsequently, the CPU 20 calculates an intended gain correction value gx of the paper sheet thickness detection device according to a predetermined formula based on the values q1 and q3, the gain correction initial value g1 and the gain correction value g2.
  The CPU 20 sets the calculated desired gain correction value gx in the DA converter 18.
[0031]
Next, in order to calculate an offset correction value, the reference medium E is inserted between the reference roller 11 and the thickness detection roller 12, and a transport system such as a motor (not shown) is driven to move the reference medium E at a constant speed. Transport by. The CPU 20 reads the value qx of the output Q of the AD converter 19 when the reference roller 11 and the thickness detection roller 12 are rotated once, and the average value qx of the values qx.AAnd the average value qxAThe offset correction value is changed so that becomes the value q1. Further, the CPU 20 determines that the average value qxAThe offset correction value f3 is calculated when the value becomes the value q1, and the offset correction value f3 is set in the DA converter 16. Then, the CPU 20 determines that the offset correction value f3 and the average value qxAIs stored in the EEPROM 21.
[0032]
In this way, the reference roller 11 and the thickness detection roller 12 are rotated once, and the average value qx of the value qx of the output Q of the AD converter 19 is determined.AAnd the average value qxASince the offset correction value f3 is calculated so that becomes the value q1, even if the reference roller 11 or the thickness detection roller 12 is decentered, it is not affected, and the offset correction value f3 is accurately calculated. be able to.
[0033]
Therefore, since offset correction is performed appropriately, when detecting the thickness of the paper sheet, the detected thickness does not vary depending on the amount of eccentricity existing in the reference roller 11 and the thickness detection roller 12. . As a result, the thickness of the paper sheet can be accurately detected.
Next, in order to calculate an eccentricity correction value, the reference medium E is inserted between the reference roller 11 and the thickness detection roller 12, and the transport system is driven to transport the reference medium E at a constant speed. Then, in order to detect the first displacement of the thickness detection roller 12, the CPU 20 detects a pulse in the output signal of the photo interrupter 22, and then each timing H in which one rotation is equally divided into n.0~ HnThe value qe of the output Q of the AD converter 19 as the first outputi(I = 0, 1,..., N) is read and stored in the EEPROM 21. Further, each value qeiThe timing H0Initial value qe at0Output difference (qei-Qe0) And the output difference (qe)i-Qe0) Is stored in the EEPROM 21 as the reference medium eccentricity correction value HEi when the reference medium E is conveyed.
[0034]
Next, the reference medium E is removed from between the reference roller 11 and the thickness detection roller 12, and the reference roller 11 and the thickness detection roller 12 are rotated. Then, in order to detect the second displacement of the thickness detection roller 12, the CPU 20 detects a pulse in the output signal in the same manner as when the reference medium E is conveyed, and then detects each timing H0~ HnThe value q0 of the output Q of the AD converter 19 as the second outputi(I = 0, 1,..., N) is read and stored in the EEPROM 21. The value q0iThe timing H0Initial value q0 at0Output difference (q0i-Q00) And the output difference (q0i-Q00) And is stored in the EEPROM 21 as the eccentricity correction value KEi.
[0035]
Next, a method for detecting the thickness of a paper sheet by the paper thickness detecting device having the above-described configuration will be described.
When the transport system is driven and a paper sheet is transported between the reference roller 11 and the thickness detection roller 12, the thickness detection roller 12 is displaced, and the displacement is mechanically transmitted to the potentiometer 14. And converted into an electrical signal by the potentiometer 14. The electric signal is amplified by the amplifier 15 and input to the amplifier 17 via one terminal.
[0036]
At this time, the CPU 20 reads the offset correction value f3 from the EEPROM 21 and inputs the offset correction value f3 to the amplifier 17 via the other terminal to perform offset correction. Then, the output of the amplifier 17 is input to the DA converter 18 with the offset correction being performed. Further, the CPU 20 reads the desired gain correction value gx from the EEPROM 21, sets it in the DA converter 18, and performs gain correction.
[0037]
Then, the CPU 20 rotates each of the timings H while rotating the reference roller 11 and the thickness detection roller 12.0~ HnThe value q of the output Q of each AD converter 19 for eachiAnd the reference medium eccentricity correction value HEi and the idle rotation eccentricity correction value KEi stored in the EEPROM 21 are read, and the value qiΔq between the value and the idle rotation eccentricity correction value KEiiAnd calculate each difference ΔqiThe eccentricity correction is performed by adding the reference medium eccentricity correction value HEi.
[0038]
  Next, a second embodiment of the technology that is the premise for describing the present invention will be described. In addition, about the thing which has the same structure as a 1st form, the description is abbreviate | omitted by providing the same code | symbol.
  In this case, in order to calculate the offset correction value, a reference medium D having the same thickness as the paper sheet for detecting the thickness is inserted between the reference roller 11 and the thickness detection roller 12, and a transport system such as a motor is used. To convey the reference medium D at a constant speed.
[0039]
Then, the CPU 20 outputs the value Qx of the output Q of the AD converter 19 when the reference roller 11 and the thickness detection roller 12 are rotated once.DAnd the value qxDMean value qxMDAnd the average value qxMDThe offset correction value is changed so that becomes the value q1. Further, the CPU 20 determines that the average value qxMDThe offset correction value f4 when the value becomes the value q1 is calculated, and the offset correction value f4 is set in the DA converter 16.
[0040]
Thus, since the thickness of the reference medium D for calculating the offset correction value f4 is made equal to the paper sheet whose thickness is to be detected, other than the eccentricity of the reference roller 11 or the thickness detection roller 12 The offset correction value f4 can be accurately calculated without being affected.
Therefore, since the offset correction is performed appropriately, when the thickness of the paper sheet is detected, the detected thickness does not vary. As a result, the thickness of the paper sheet can be accurately detected.
[0041]
  Next, a third embodiment of the technology that is the premise for describing the present invention will be described. In addition, about the thing which has the same structure as a 1st form, the description is abbreviate | omitted by providing the same code | symbol.
  In this case, a transport system such as a motor is driven to rotate the reference roller 11 and the thickness detection roller 12 to transport the reference medium A at a constant speed. Then, the CPU 20 determines the position of the home position set in advance in the reference roller 11 and the thickness detection roller 12 with respect to the reference medium A based on the output signal from the photo interrupter 22. A value q of the output Q of the AD converter 19 detected based on the waveform and at the home positionHPAnd the value qHPIs changed to a predetermined value q1 within the specified range. Further, the CPU 20 determines that the value qHPOffset correction value f when becomes the value q1HPIs stored in the EEPROM 21.
[0042]
Then, when detecting the thickness of the paper sheet, the transport system is driven to rotate the reference roller 11 and the thickness detection roller 12, thereby transporting the paper sheet at a constant speed. At this time, the CPU 20 calculates the amount of eccentricity at each rotational position of the reference roller 11 and the thickness detection roller 12 with respect to the home position, and uses the amount of eccentricity as the value q of the output Q of the AD converter 19.iAdd to.
[0043]
  Therefore, even if the reference roller 11 and the thickness detection roller 12 are decentered, they are not affected, and the thickness of the paper sheet can be accurately detected.
  In the first to third embodiments, since the gain correction value gx is calculated based on the values q1, q3, the gain correction initial value g1, and the gain correction value g2, the thickness of the paper sheet In detecting the thickness, it is not possible to obtain detection accuracy on the order of microns.
[0044]
In addition, in order to calculate the gain correction value gx and the offset correction values f3 and f4, it is necessary to repeatedly insert the two types of reference media A and B between the reference roller 11 and the thickness detection roller 12, which makes the operation Not only is it bothersome, but it takes time to calculate. If the order of inserting the reference media A and B is incorrect, the gain correction value gx and the offset corrections f3 and f4 cannot be accurately calculated.
[0045]
Further, when calculating the gain correction value gx, two output Q values when two types of reference media A and B are inserted between the reference roller 11 and the thickness detection roller 12 are used. In some cases, the value of one output Q may be large. In this case, the gain correction value gx cannot be accurately calculated.
Further, when calculating the reference medium eccentricity correction value HEi and the idle rotation eccentricity correction value KEi, the reference roller 11 and the thickness detection roller 12 are rotated only in one direction, so that the paper sheet is conveyed in both directions. However, if it is attempted to detect the thickness of the paper sheet, the reference medium eccentricity correction value HEi and the idling eccentricity correction value KEi cannot be accurately detected depending on the rotation direction.
[0046]
  Next, a first embodiment of the present invention will be described.
  FIG. 6 is an explanatory diagram for calculating the gain correction value and the offset correction value in the first embodiment of the present invention. In the figure, the horizontal axis represents the state of the reference medium, and the vertical axis represents the output Q of the AD converter 19 (FIG. 2). Moreover, about the thing which has the same structure as a 1st form, the description is abbreviate | omitted by providing the same code | symbol.
[0047]
In this case, in order to calculate the gain correction value and the offset correction value, two reference media A and B having different thicknesses and a reference medium E having the same thickness as the reference medium A are used. The reference medium A is made thinner than the reference medium B.
First, in a state in which the reference media A and B are not inserted between the reference roller 11 and the thickness detection roller 12, the offset correction value is changed by the DA converter 16, and the output Q of the AD converter 19 is within a predetermined range. The offset correction value at that time is set as an offset correction initial value. At this time, the DA converter 18 sets an arbitrary gain correction initial value g11 as the gain correction value. The CPU 20 reads the value q10 of the output Q of the AD converter 19 at this time and stores it in the EEPROM 21.
[0048]
Next, with the offset correction value set to the offset correction initial value, the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12, and the gain correction value set in the DA converter 18 is changed to change the AD correction value. A gain correction value g12 at which the output Q of the converter 19 becomes a predetermined value q12 is obtained, and the value q12 and the gain correction value g12 are stored in the EEPROM 21.
[0049]
Then, while maintaining the offset correction initial value and the gain correction value g12, the reference medium B is similarly inserted between the reference roller 11 and the thickness detection roller 12, and the value q13 of the output Q of the AD converter 19 is set. The value q13 is read and stored in the EEPROM 21.
Here, the thickness d of the reference medium AAAnd the thickness d of the reference medium BBDifference Δd from
Δd = dA-DB
Assuming that the change amount of the output Q of the AD converter 19 determined in accordance with is Δq, the desired gain correction value gy is calculated from the values q12, q13 and the gain correction value g12 by the following equation.
[0050]
gy = g12 × Δq / (q13−q12)
That is, when the gain correction value set in the DA converter 18 is gy, the thickness d of the reference medium AAAnd the thickness d of the reference medium BBIf the difference between the two is Δd, the change amount of the output Q of the AD converter 19 is Δq.
Next, the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12, the desired gain correction value gy is set in the DA converter 18, the offset correction value is changed, and the AD converter 19 The output Q is set to a predetermined value qp within a specified range. Then, the CPU 20 calculates an offset correction value f5 when the output Q of the AD converter 19 becomes the value qp, and sets the offset correction value f5 in the DA converter 16. At this time, the CPU 20 stores the offset correction value f5 in the EEPROM 21 together with the value qp of the output Q of the AD converter 19.
[0051]
Subsequently, the reference medium A is removed from between the reference roller 11 and the thickness detection roller 12 while maintaining the offset correction value f5 and the gain correction value gy. The CPU 20 stores the value M of the output Q of the AD converter 19 at this time in the EEPROM 21 as an output target value.
Next, when calculating an eccentricity correction value, the reference medium E is inserted between the reference roller 11 and the thickness detection roller 12, and a transport system such as a motor (not shown) is driven to move the reference medium E at a constant speed. Transport. Then, after detecting a pulse in the output signal of the photo interrupter 22, the CPU 20 takes T rotations (T is a positive integer) for each timing t1 to tn obtained by equally dividing one rotation into n, and each n × T The values q (1),..., Q (n), q (n + 1),..., Q (n × T) of the output Q of the AD converter 19 are read at each timing.
[0052]
  FIG. 7 is a diagram showing the timing in the first embodiment of the present invention.
  In the figure, SG1 is an output signal of the photo interrupter 22 (FIG. 2), PL is a pulse generated in the output signal SG1, t1, t2,..., 2n + 1 are timings.
  Here, when the reference roller 11 and the thickness detection roller 12 are rotated once, values q (1),..., Q (n) of the output Q of the AD converter 19 can be obtained for n timings. When the reference roller 11 and the thickness detection roller 12 are at the same rotational position, the value q (k) (k = 1, 2,..., N) and the value q (k + n × (U−1)) (U = 1, 2, ...)).
[0053]
Therefore, when the reference roller 11 and the thickness detection roller 12 are at the same rotational position, the average of the values q (k), q (k + n),..., Q (k + n × (U−1)) of the output Q. Value qPA(K)
Figure 0003642931
become.
[0054]
From this, the eccentricity correction value H (k) (k = 1, 2,..., N) when the reference roller 11 and the thickness detection roller 12 are at the respective rotational positions is calculated using the following equation.
H (k) = qPA-QPA(K)
Next, a method for detecting the thickness of a paper sheet by the paper thickness detecting device having the above-described configuration will be described.
[0055]
The CPU 20 sets the gain correction value gy in the DA converter 18 and sets it in the DA converter 16 before driving the transport system and inserting paper sheets between the reference roller 11 and the thickness detection roller 12. The offset correction value to be changed is changed so that the output Q of the AD converter 19 becomes the output target value M. Next, the CPU 20 detects the pulse PL in the output signal SG1 every time the reference roller 11 and the thickness detection roller 12 make one rotation, and prepares to perform eccentricity correction at each timing.
[0056]
Subsequently, when the sheet reaches between the reference roller 11 and the thickness detection roller 12, the value Q (t) (t = 1, 2,..., N) of the output Q of the AD converter 18 at the timing t. Start eccentricity correction. In this case, the value after the eccentricity correction is q*If (t), the value q*(T) (t = 1, 2,..., N) can be calculated using the following equation.
[0057]
q*(T) = q (t) + H (t)
Therefore, the value q*Based on (t), it is possible to detect the number of transported paper sheets, heavy running, tapes attached to the paper sheets, and the like.
Thus, the thickness d of the reference medium AAAnd the thickness d of the reference medium BBSince the gain correction value gy is calculated based on the ratio of the change amount Δq of the output Q caused by the difference Δd to the predetermined value qp, the gain correction value gy can be accurately detected. Therefore, in detecting the thickness of the paper sheet, detection accuracy on the order of microns can be obtained.
[0058]
  Next, a second embodiment of the present invention will be described.
  FIG. 8 is an explanatory diagram for calculating the gain correction value and the offset correction value in the second embodiment of the present invention. In the figure, the horizontal axis represents the state of the reference medium, and the vertical axis represents the output Q of the AD converter 19 (FIG. 2).
  In this case, in order to calculate the gain correction value and the offset correction value, two reference media A and B having different thicknesses and a reference medium E having the same thickness as the reference medium A are used. The reference medium A is made thinner than the reference medium B.
[0059]
First, in a state in which the reference media A and B are not inserted between the reference roller 11 and the thickness detection roller 12, the offset correction value is changed by the DA converter 16, and the output Q of the AD converter 19 is within a predetermined range. The offset correction value at that time is set as an offset correction initial value. At this time, the DA converter 18 sets an arbitrary gain correction initial value g11 as the gain correction value. The CPU 20 reads the value q10 of the output Q of the AD converter 19 at this time and stores it in the EEPROM 21.
[0060]
Next, with the offset correction value set to the offset correction initial value, the reference medium B is inserted between the reference roller 11 and the thickness detection roller 12, and the gain correction value set in the DA converter 18 is changed, and AD A gain correction value g12 at which the output Q of the converter 19 becomes a predetermined value q22 is obtained, and the value q22 and the gain correction value g12 are stored in the EEPROM 21.
[0061]
Then, while maintaining the offset correction initial value and the gain correction value g12, the reference medium A is similarly inserted between the reference roller 11 and the thickness detection roller 12, and the value q23 of the output Q of the AD converter 19 is set. The value q23 is read and stored in the EEPROM 21.
Here, the thickness d of the reference medium AAAnd the thickness d of the reference medium BBDifference Δd from
Δd = dA-DB
Assuming that the amount of change in the output Q of the AD converter 19 determined in accordance with is Δq, the desired gain correction value gy is calculated by the following equation using the values q22 and q23 and the gain correction value g12.
[0062]
gy = g12 × Δq / (q22−q23)
That is, when the gain correction value set in the DA converter 18 is gy, the thickness d of the reference medium AAAnd the thickness d of the reference medium BBIf the difference between the two is Δd, the change amount of the output Q of the AD converter 19 is Δq.
Next, with the reference medium A being inserted between the reference roller 11 and the thickness detection roller 12, the intended gain correction value gy is set in the DA converter 18 and the offset correction value is changed to change the AD converter 19 Is set to a predetermined value qp within a specified range. Then, the CPU 20 calculates an offset correction value f5 when the output Q becomes the value qp, and sets the offset correction value f5 in the DA converter 16. At this time, the CPU 20 stores the offset correction value f5 in the EEPROM 21 together with the value qp of the output Q of the AD converter 19.
[0063]
Subsequently, the reference medium A is removed from between the reference roller 11 and the thickness detection roller 12 while maintaining the offset correction value f5 and the gain correction value gy. The CPU 20 stores the value M of the output Q of the AD converter 19 at this time in the EEPROM 21 as an output target value.
Next, when calculating the eccentricity correction value, a reference medium E having the same thickness as the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12, and a conveyance system such as a motor (not shown) is driven. The reference medium E is conveyed at a constant speed. Then, the CPU 20 detects the pulse PL in the output signal SG1 (FIG. 7) of the photo interrupter 22, and then converts the timings t1 to tn obtained by equally dividing one rotation into n parts by T rotations (T is a positive integer). ), And the values q (1),..., Q (n), q (n + 1),..., Q (n × T) of the output Q of the AD converter 19 are read at n × T timings.
[0064]
Here, when the reference roller 11 and the thickness detection roller 12 are rotated once, the values q (1),..., Q (n) of the output Q can be obtained for n timings. 11 and the thickness detection roller 12 are at the same rotational position, the value q (k) (k = 1, 2,..., N) and the value q (k + n × (U−1)) (U = 1, 2) , ...,) is the same.
[0065]
Therefore, when the reference roller 11 and the thickness detection roller 12 are at the same rotational position, the average of the values q (k), q (k + n),..., Q (k + n × (U−1)) of the output Q. Value qPA(K)
Figure 0003642931
become.
[0066]
From this, the eccentricity correction value H (k) (k = 1, 2,..., N) when the reference roller 11 and the thickness detection roller 12 are at the respective rotational positions is calculated using the following equation.
H (k) = qPA-QPA(K)
Next, a method for detecting the thickness of a paper sheet by the paper thickness detecting device having the above-described configuration will be described.
[0067]
The CPU 20 sets the gain correction value gy in the DA converter 18 and sets it in the DA converter 16 before driving the transport system and inserting paper sheets between the reference roller 11 and the thickness detection roller 12. The offset correction value to be changed is changed so that the output Q of the AD converter 19 becomes the output target value M. Next, the CPU 20 detects the pulse PL in the output signal SG1 every time the reference roller 11 and the thickness detection roller 12 make one rotation, and prepares to perform eccentricity correction at each timing.
[0068]
Subsequently, when the sheet reaches between the reference roller 11 and the thickness detection roller 12, the value Q (t) (t = 1, 2,..., N) of the output Q of the AD converter 18 at the timing t. Start eccentricity correction. In this case, the value after the eccentricity correction is q*If (t), the value q*(T) (t = 1, 2,..., N) can be calculated using the following equation.
[0069]
q*(T) = q (t) + H (t)
Therefore, the value q*Based on (t), it is possible to detect the number of transported paper sheets, heavy running, tapes attached to the paper sheets, and the like.
Thus, since the reference medium B and the reference medium A are inserted in the order of thickness between the reference roller 11 and the thickness detection roller 12, the number of insertions of the reference media A and B can be reduced. .
[0070]
  Therefore, not only can the work for calculating the gain correction value gy and the offset correction value f5 be simplified, but also the time for calculation can be shortened. In addition, since the order of inserting the reference media A and B is not mistaken, the gain correction value gy and the offset correction value f5 can be accurately calculated.
  Next, a third embodiment of the present invention will be described.
[0071]
  FIG. 9 is an explanatory diagram for calculating the gain correction value and the offset correction value in the third embodiment of the present invention, and FIG. 10 is for describing each term of the normal equation in the third embodiment of the present invention. It is a matrix. In FIG. 9, the horizontal axis represents the state of the reference medium, and the vertical axis represents the output Q of the AD converter 19 (FIG. 2).
  In this case, in order to calculate the gain correction value and the offset correction value, J reference media F having different thicknesses are used.r(R = 1, 2,..., J) and the reference medium F in ascending order of thickness.1, F2... FJAnd Reference medium FrD in ascending order of thickness1, D2, ..., dJAnd
[0072]
First, the reference medium FrIs not inserted between the reference roller 11 and the thickness detection roller 12, the offset correction value is changed by the DA converter 16, and the output Q of the AD converter 19 is a predetermined value q within a specified range.F0And the offset correction value at that time is set as an offset correction initial value. At this time, the DA converter 18 sets an arbitrary gain correction initial value g11 as the gain correction value. Then, the CPU 20 determines the value q of the output Q of the AD converter 19 at this time.F0Is stored in the EEPROM 21.
[0073]
Next, the reference medium F is interposed between the reference roller 11 and the thickness detection roller 12 while keeping the offset correction value at the offset correction initial value.1Is inserted, the gain correction value set in the DA converter 18 is changed, and the output Q of the AD converter 19 is set to a predetermined value q.F1A gain correction value g12 to beF1The gain correction value g12 is stored in the EEPROM 21.
[0074]
Then, while maintaining the offset correction initial value and the gain correction value g12, the reference medium F is placed between the reference roller 11 and the thickness detection roller 12 in the same manner.2And the value q of the output Q of the AD converter 19F2And the value qF2Is stored in the EEPROM 21. Thereafter, the reference medium F is placed between the reference roller 11 and the thickness detection roller 12 while maintaining the offset correction initial value and the gain correction value g12.Three, FFour... FJ, And the value q of the output Q of the AD converter 19F3, QF4, ..., qFJIs stored in the EEPROM 21.
[0075]
Next, an approximate expression representing the relationship between the thickness X and the output Y is obtained by the method of least squares.
Here, the relationship between the thickness X and the output Y is
Y = a + bX
, J conditional equations for obtaining constants a and b
Yi= A + bXi  (I = 1, 2,..., J)
The normal equation is obtained according to the matrix of FIG.
a × J + b × Σdr= ΣqFr                            ...... (1)
a × Σdr+ B × Σ (drXdr) = Σ (dr× qFr) (2)
Can be expressed as Therefore, the constants a and b can be obtained by solving the simultaneous equations of the expressions (1) and (2).
[0076]
In this way, an approximate expression representing the relationship between the thickness X and the output value Y by the least square method can be obtained. Reference medium F by the approximate expression1And reference medium FJOutput value qF1 *, QFJ *Is
qF1 *= A + b × d1
qFJ *= A + b × dJ
become. And the reference medium F1, FJEach thickness d1, DJDifference ΔdFThe amount of change in the value of the output Q of the AD converter 19 determined corresponding toFThen, based on the gain correction value g11, the intended gain correction value gz can be calculated using the following equation.
[0077]
gz = g11 × ΔqF/ (QFJ *-QF1 *)
That is, when the gain correction value set in the DA converter 18 is gz, the thickness d of the reference medium AAAnd the thickness d of the reference medium BBΔd isFThe change amount of the output Q of the AD converter 19 is ΔqFShow that.
Next, the reference medium F1The desired gain correction value gz is set in the DA converter 18 while the signal is inserted, and the offset correction value is changed so that the output Q of the AD converter 19 becomes a predetermined value qp within a specified range. Then, the CPU 20 calculates an offset correction value f6 when the output Q becomes the value qp, and sets the offset correction value f6 in the DA converter 16. At this time, the CPU 20 stores the offset correction value f6 in the EEPROM 21 together with the value qp of the output Q of the AD converter 19.
[0078]
Subsequently, while maintaining the offset correction value f6 and the gain correction value gz, the reference medium F is interposed between the reference roller 11 and the thickness detection roller 12.1Remove. The CPU 20 stores the value M of the output Q of the AD converter 19 at this time in the EEPROM 21 as an output target value.
Next, when calculating the eccentricity correction value, a reference medium E having the same thickness as the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12, and a conveyance system such as a motor (not shown) is driven. The reference medium E is conveyed at a constant speed. Then, the CPU 20 detects the pulse PL in the output signal SG1 (FIG. 7) of the photo interrupter 22, and then converts each timing t1 to tn obtained by equally dividing one rotation into n parts by T rotation (T is a positive integer). The values q (1),..., Q (n), q (n + 1),..., Q (n × T) of the AD converter 19 are read at n × T timings.
[0079]
Here, when the reference roller 11 and the thickness detection roller 12 are rotated once, the values q (1),..., Q (n) of the output Q can be obtained for n timings. 11 and the thickness detection roller 12 are at the same rotational position, the value q (k) (k = 1, 2,..., N) and the value q (k + n × (U−1)) (U = 1, 2) , ...,) is the same.
[0080]
Therefore, when the reference roller 11 and the thickness detection roller 12 are at the same rotational position, the average of the values q (k), q (k + n),..., Q (k + n × (U−1)) of the output Q. Value qPA(K)
Figure 0003642931
become.
[0081]
From this, the eccentricity correction value H (k) (k = 1, 2,..., N) when the reference roller 11 and the thickness detection roller 12 are at the respective rotational positions is calculated using the following equation.
H (k) = qPA-QPA(K)
Next, a method for detecting the thickness of a paper sheet by the paper thickness detecting device having the above-described configuration will be described.
[0082]
Prior to driving the transport system and inserting paper sheets between the reference roller 11 and the thickness detection roller 12, the CPU 20 sets the gain correction value gz in the DA converter 18 and sets it in the DA converter 16. The offset correction value to be changed is changed to set the output Q of the AD converter 19 to the output target value M. Next, the CPU 20 detects the pulse PL in the output signal SG1 every time the reference roller 11 and the thickness detection roller 12 make one rotation, and prepares to perform eccentricity correction at each timing.
[0083]
Subsequently, when the sheet reaches between the reference roller 11 and the thickness detection roller 12, the value Q (t) (t = 1, 2,..., N) of the output Q of the AD converter 19 at the timing t. Start eccentricity correction. In this case, the value after the eccentricity correction is q*If (t), the value q*(T) (t = 1, 2,..., N) can be calculated using the following equation.
[0084]
q*(T) = q (t) + H (t)
Therefore, the value q*Based on (t), it is possible to detect the number of transported paper sheets, heavy running, tapes attached to the paper sheets, and the like.
Thus, J reference media F having different thicknesses between the reference roller 11 and the thickness detection roller 12 are used.r(R = 1, 2,..., J) are inserted in ascending order, and the value q of the output Q of each AD converter 19Fr(R = 1, 2,..., J) is read and the value qFr, An approximate expression representing the relationship between the thickness X and the output Y is obtained by the least square method, and the gain correction value gz is calculated based on the approximate expression.rThe gain correction value gz can be calculated accurately as much as the number of.
[0085]
  Next, a fourth embodiment of the present invention will be described.
  FIG. 11 is an explanatory diagram for calculating a gain correction value and an offset correction value in the fourth embodiment of the present invention. In the figure, the horizontal axis represents the state of the reference medium, and the vertical axis represents the output Q of the AD converter 19 (FIG. 2).
  In this case, in order to calculate the gain correction value and the offset correction value, two reference media A and B having different thicknesses and a reference medium E having the same thickness as the reference medium A are used. The reference medium A is made thinner than the reference medium B.
[0086]
First, in a state in which the reference media A and B are not inserted between the reference roller 11 and the thickness detection roller 12, the offset correction value is changed by the DA converter 16, and the output Q of the AD converter 19 is within a predetermined range. The offset correction value at that time is set as an offset correction initial value. At this time, the DA converter 18 sets an arbitrary gain correction initial value g11 as the gain correction value. Then, the CPU 20 reads the value Q10 of the output Q of the AD converter 19 and the reference roller 11 at this time, and stores them in the EEPROM 21.
[0087]
Next, the reference medium B is inserted between the reference roller 11 and the thickness detection roller 12 while the offset correction value is kept at the offset correction initial value, and the reference medium is driven by driving a transport system such as a motor (not shown). Transport B. When there is the reference medium B between the reference roller 11 and the thickness detection roller 12, the CPU 20 reads a plurality of outputs Q of the AD converter 19 at a predetermined interval, and averages the outputs Q. qA1Is calculated. Then, this operation is repeated a plurality of times, and the gain correction value set in the DA converter 18 is changed at the same time, and the average value qA1The gain correction value g12 that becomes a predetermined value q22 is obtained, and the value q22 and the gain correction value g12 are stored in the EEPROM 21.
[0088]
Next, while maintaining the offset correction initial value and the gain correction value g12, the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12 and the transport system is driven to thereby drive the reference medium A. Transport. When there is the reference medium A between the reference roller 11 and the thickness detection roller 12, the CPU 20 reads a plurality of outputs Q of the AD converter 19 at a predetermined interval, and the average value of the outputs Q qA2Is calculated. At this time, the average value qA2Is stored in the EEPROM 21.
[0089]
Here, the thickness d of the reference medium AAAnd the thickness d of the reference medium BBDifference Δd from
Δd = dA-DB
Assuming that the change amount of the output Q of the AD converter 19 determined in accordance with is Δq, the value q22, the average value qA2Then, the desired gain correction value ga is calculated from the gain correction value g12 using the following equation.
[0090]
ga = g12 × Δq / (q22−qA2)
That is, the gain correction value set in the DA converter 18 is gy.AThe thickness d of the reference medium AAAnd the thickness d of the reference medium BBIf the difference between the two is Δd, the change amount of the output Q of the AD converter 19 is Δq.
Next, the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12, and the desired gain correction value gy is supplied to the DA converter 18 while maintaining the offset correction value.AAre read, and a plurality of outputs Q of the AD converter 19 are read at a predetermined interval, and an average value q of the outputs Q is read.A3Is calculated. Then, this operation is repeated a plurality of times, and the offset correction value set in the DA converter 16 is changed at the same time, and the average value qA3Is the predetermined value qpAOffset correction value fAFor the average value qA3And offset correction value fAIs stored in the EEPROM 21. The above processing is completed while the reference medium A is between the reference roller 11 and the thickness detection roller 12.
[0091]
  Subsequently, the offset correction value fAAnd gain correction value gyAIn this manner, a plurality of outputs Q of the AD converter 19 are read at a predetermined interval and the average value q of the outputs Q is maintained.A4Is calculated. The CPU 20 calculates the average value qA4Are stored in the EEPROM 21 as output target values.
  Hereinafter, as in the first embodiment, a reference medium E having the same thickness as that of the reference medium A is inserted between the reference roller 11 and the thickness detection roller 12, and the conveyance system is driven so that the reference medium E is inserted. The values Q (1),..., Q (n), q (n + 1),..., Q (n × T) of the output Q of the AD converter 19 are read at a constant speed.
[0092]
When the reference roller 11 and the thickness detection roller 12 are at the same rotational position, the average of the values q (k), q (k + n),..., Q (k + n × (U−1)) of the output Q. Value qPA(K) can be calculated, and the eccentricity correction value H (k) (k = 1, 2,..., N) when the reference roller 11 and the thickness detection roller 12 are at the respective rotational positions is expressed by the following equation. Can be used to calculate.
[0093]
H (k) = qPA-QPA(K)
Therefore, when the thickness of the paper sheet is detected by the paper thickness detecting device having the above-described configuration, the value q of the output Q after the eccentricity correction is performed.*(T) can be calculated using the following equation.
q*(T) = q (t) + H (t)
In this way, the gain correction value gy can be obtained simply by transporting two reference media A and B having different thicknesses between the reference roller 11 and the thickness detection roller 12 one by one.AAnd offset correction value fATherefore, the operation can be simplified.
[0094]
  Next, a fifth embodiment of the present invention will be described.
  FIG. 12 is a diagram showing a reference medium according to the fifth embodiment of the present invention.
  In the figure, K is a reference medium, and two reference media K having different thicknesses.1, K2Is formed by sticking at the end. In this case, the reference medium K2Is the reference medium K1Made thinner.
[0095]
Then, the reference medium K is changed to the reference medium K.1By carrying the front side forward, the gain correction value gy is obtained in the same manner as in the seventh embodiment.A(FIG. 11), offset correction value fAAnd the eccentricity correction value H (k) can be calculated.
In this case, since only one reference medium K needs to be inserted and conveyed, the operation can be further simplified.
[0096]
  Next, a sixth embodiment of the present invention will be described.
  In this case, after calculating the offset correction value f5 and the gain correction value gy (FIG. 6) by the same method as in the first embodiment, the reference medium E having the same thickness as the reference medium A is calculated in calculating the eccentricity correction value. Is inserted between the reference roller 11 and the thickness detection roller 12, and a transport system such as a motor (not shown) is driven to transport the reference medium E in the first and second directions at a constant speed. For this purpose, the transport system can be driven in the forward and reverse directions.
[0097]
Then, when the reference medium E is conveyed in the first direction, values Q (1), q (n), q (n + 1), q, (n × T) of the output Q of the AD converter 19 are obtained. Reading, the average of the values q (k), q (k + n),..., Q (k + n × (U−1)) of the output Q when the reference roller 11 and the thickness detection roller 12 are at the same rotational position. Value qPA(K) is calculated. Further, the eccentricity correction value H (k) when the reference roller 11 and the thickness detection roller 12 are at the respective rotational positions.
H (k) = qPA-QPA(K)
And the value q of the output Q after the eccentricity correction is performed*(T)
q*(T) = q (t) + H (t)
Is calculated.
[0098]
Next, values ρ (1),..., Ρ (n), ρ (n + 1),..., Ρ (n × T) of the output Q of the AD converter 19 when the reference medium E is conveyed in the second direction. , And when the reference roller 11 and the thickness detection roller 12 are at the same rotational position, the values ρ (k), ρ (k + n),..., Ρ (k + n × (U−1)) Average value ρPA(K) is calculated. Further, the eccentricity correction value H (k) when the reference roller 11 and the thickness detection roller 12 are at the respective rotational positions.
H (k) = ρPA−ρPA(K)
And the value Q of the output Q after the eccentricity correction is performed*(T)
ρ*(T) = ρ (t) + H (t)
Is calculated.
[0099]
Therefore, when detecting the thickness of the paper sheet, when the paper sheet is conveyed in the first direction,
q*(T) = q (t) + H (t)
When the paper sheet is conveyed in the second direction using
ρ*(T) = ρ (t) + H (t)
The eccentricity correction can be performed using the following equation.
[0100]
As described above, since the eccentricity correction value H (k) can be varied in accordance with the method of conveying the paper sheet, the thickness of the paper sheet can be accurately detected.
In addition, this invention is not limited to the said embodiment, It can change variously based on the meaning of this invention, and does not exclude them from the scope of the present invention.
[0101]
【The invention's effect】
  As described above in detail, according to the present invention, in the correction method of the paper sheet thickness detection device, a plurality of reference media having different thicknesses are inserted between the reference roller and the thickness detection roller. Detecting a displacement of the thickness detection roller, generating an output corresponding to the displacement by an output generating means, and based on a difference in thickness of the reference medium and a change amount of the output generated based on the difference. A gain correction value is calculated, and the output is adjusted according to the gain correction value.
[0107]
In this case, the gain correction value is calculated based on the difference between the thicknesses of the two types of reference media and the amount of change in output caused by the difference in thickness, so that the gain correction value can be accurately detected. Can do. Therefore, in detecting the thickness of the paper sheet, detection accuracy on the order of microns can be obtained.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram for calculating a gain correction value and an offset correction value according to a first embodiment of a technique that is a premise for explaining the present invention;
FIG. 2 is a schematic view of a conventional paper sheet thickness detection device.
FIG. 3 is an explanatory diagram for calculating a conventional gain correction value and offset correction value;
FIG. 4 is an explanatory diagram for calculating a conventional eccentricity correction value.
FIG. 5 is an explanatory diagram for calculating an eccentricity correction value in the first embodiment of the technology that is the premise for explaining the present invention;
FIG. 6 is an explanatory diagram for calculating a gain correction value and an offset correction value according to the first embodiment of the present invention.
FIG. 7 is a diagram showing timing in the first embodiment of the present invention.
FIG. 8 is an explanatory diagram for calculating a gain correction value and an offset correction value according to the second embodiment of the present invention.
FIG. 9 is an explanatory diagram for calculating a gain correction value and an offset correction value according to the third embodiment of the present invention.
FIG. 10 is a matrix for explaining each term of a normal equation in the third embodiment of the present invention.
FIG. 11 is an explanatory diagram for calculating a gain correction value and an offset correction value according to the fourth embodiment of the present invention.
FIG. 12 is a diagram illustrating a reference medium according to a fifth embodiment of the present invention.
[Explanation of symbols]
11 Standard roller
12 Thickness detection roller
16, 18 DA converter
19 AD converter

Claims (8)

(a)準ローラと厚さ検出ローラとの間に厚さの異なる複数の基準媒体を挿入して、前記厚さ検出ローラの変位を検出し、
(b)出力発生手段によって前記変位に対応する出力を発生させ、
(c)前記基準媒体の厚さの差、及び該差に基づいて生じる前記出力の変化量に基づいてゲイン補正値を算出し、該ゲイン補正値に従って前記出力を調整することを特徴とする紙葉類厚さ検出装置の補正方法。
(A) by inserting a plurality of reference media of different thicknesses between the criteria roller and thickness detection roller, detects the displacement of the thickness detection roller,
(B) generating an output corresponding to the displacement by the output generating means;
(C) the difference between the thickness of the reference medium, and calculates a gain correction value based on the change amount of the output produced based on the difference, paper and adjusts the output in accordance with the gain correction value Correction method of leaf thickness detection apparatus.
前記基準ローラと厚さ検出ローラとの間に厚さの異なる2種類の基準媒体が挿入される請求項に記載の紙葉類厚さ検出装置の補正方法。Correction method of the sheet thickness detecting device according to claim 1, 2 types of reference media of different thicknesses are inserted between the reference roller and the thickness detection roller. 前記基準媒体は、最初に厚い基準媒体が、次に薄い基準媒体が挿入される請求項に記載の紙葉類厚さ検出装置の補正方法。The correction method of the paper sheet thickness detection apparatus according to claim 2 , wherein the reference medium is inserted first with a thick reference medium and then with a thin reference medium. (a)前記基準ローラと厚さ検出ローラとの間に厚さの異なる3種類以上の基準媒体が挿入され、
(b)出力発生手段によって発生させられた出力に基づいて、最小二乗法によってゲイン補正値が算出される請求項に記載の紙葉類厚さ検出装置の補正方法。
(A) Three or more types of reference media having different thicknesses are inserted between the reference roller and the thickness detection roller,
(B) The correction method of the paper sheet thickness detection device according to claim 1 , wherein the gain correction value is calculated by a least square method based on the output generated by the output generation means.
前記複数の基準媒体は、前記基準ローラと厚さ検出ローラとの間を搬送される請求項に記載の紙葉類厚さ検出装置の補正方法。Wherein the plurality of reference media, the correction method of a sheet thickness detecting device according to claim 1 which is conveyed between the reference roller and the thickness detection roller. 前記複数の基準媒体は、互いに端部が貼付される請求項に記載の紙葉類厚さ検出装置の補正方法。The correction method of the paper sheet thickness detection device according to claim 5 , wherein ends of the plurality of reference media are attached to each other. 前記複数の基準媒体は、前記基準ローラと厚さ検出ローラとの間を第1、第2の方向に搬送される請求項に記載の紙葉類厚さ検出装置の補正方法。Wherein the plurality of reference media, first between the reference roller and the thickness detection roller, the correction method of a sheet thickness detecting device according to claim 5 which is conveyed in the second direction. (a)基準ローラと厚さ検出ローラとの間に厚さの異なる複数の基準媒体を挿入したときの、前記厚さ検出ローラの変位を検出する手段と、
(b)前記変位に対応する出力を発生させる出力発生手段と、
(c)前記基準媒体の厚さの差、及び該差に基づいて生じる前記出力の変化量に基づいてゲイン補正値を算出し、該ゲイン補正値に従って前記出力を調整する手段とを有することを特徴とする紙葉類厚さ検出装置。
(A) means for detecting displacement of the thickness detection roller when a plurality of reference media having different thicknesses are inserted between the reference roller and the thickness detection roller;
(B) output generating means for generating an output corresponding to the displacement;
(C) having a means for calculating a gain correction value based on a difference in thickness of the reference medium and a change amount of the output generated based on the difference, and adjusting the output in accordance with the gain correction value. Characteristic sheet thickness detection device.
JP26060797A 1997-09-25 1997-09-25 Paper sheet thickness detection apparatus and correction method thereof Expired - Fee Related JP3642931B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26060797A JP3642931B2 (en) 1997-09-25 1997-09-25 Paper sheet thickness detection apparatus and correction method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26060797A JP3642931B2 (en) 1997-09-25 1997-09-25 Paper sheet thickness detection apparatus and correction method thereof

Publications (2)

Publication Number Publication Date
JPH1191991A JPH1191991A (en) 1999-04-06
JP3642931B2 true JP3642931B2 (en) 2005-04-27

Family

ID=17350291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26060797A Expired - Fee Related JP3642931B2 (en) 1997-09-25 1997-09-25 Paper sheet thickness detection apparatus and correction method thereof

Country Status (1)

Country Link
JP (1) JP3642931B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004069342A (en) * 2002-08-02 2004-03-04 Shimadzu Corp Gas flow rate control device
KR20040048060A (en) * 2002-12-02 2004-06-07 엘지엔시스(주) Method for determining paper money in auto bank terminal device
JP4811029B2 (en) * 2006-01-27 2011-11-09 ブラザー工業株式会社 Printing method, image forming apparatus, and printing control program
JP2010085319A (en) * 2008-10-01 2010-04-15 Nec Electronics Corp Sensor signal detection circuit, ratiometric correction circuit, and sensor device
JP2010257292A (en) * 2009-04-27 2010-11-11 Hitachi Omron Terminal Solutions Corp Medium thickness detection device
CN106898079B (en) * 2017-03-17 2019-09-20 深圳怡化电脑股份有限公司 A kind of method, apparatus and system of banknote thickness detection
CN109559423B (en) * 2018-11-23 2020-11-06 威海华菱光电股份有限公司 Detection method, detection device, storage medium and processor
CN115104141B (en) * 2020-02-19 2023-12-26 富士通先端科技株式会社 Recording medium and paper sheet handling device
CN113256870B (en) * 2020-12-19 2024-02-02 深圳市怡化时代科技有限公司 Method and device for detecting thickness abnormality of sheet medium, storage medium and equipment

Also Published As

Publication number Publication date
JPH1191991A (en) 1999-04-06

Similar Documents

Publication Publication Date Title
JP3642931B2 (en) Paper sheet thickness detection apparatus and correction method thereof
JP3748178B2 (en) Magnetic media processing device
US7568695B2 (en) Sheet feeder and jam detecting method
US5732943A (en) Method of sheet registration and a sheet stacker with a sheet registration device
US6729613B2 (en) Method for operating sheet pick and feed systems for printing
JPH03267244A (en) Bill discriminating device
JPH0831158B2 (en) Thickness detection device for paper sheets
JPS61124459A (en) Inclination of paper correcting device
JPH06255840A (en) Skew correcting method
JPH10310286A (en) Thickness detecting device
JPS6151429A (en) Control method for friction separated paper feed
KR101354515B1 (en) An apparatus for skew correction of media and the correction method
KR20190121518A (en) Method and apparatus for skew correction of media
JPH0135745B2 (en)
JPS5897603A (en) Thickness detector for paper sheet or the like
JP3243042B2 (en) Transfer device
JP2575748B2 (en) Paper sheet abnormality detection device
US7578503B2 (en) Variable pressure belt driven sheet registration system
JP3847884B2 (en) Paper transport device and control method of paper transport device
JP2000115459A (en) Image reader and computer-readable storage medium
JPS631668A (en) Sheet accumulating device
JPS61197348A (en) Paper-sheet double-feed detector
JPH04125241A (en) Sheet delivery device
KR910008437B1 (en) Paper sheet drawing out device
JP2002230619A (en) Paper sheets thickness detector

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040311

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040406

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040603

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050125

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050126

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100204

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110204

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110204

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120204

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130204

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140204

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees