JP2000222614A - Image reading sensor adjustment method and device - Google Patents
Image reading sensor adjustment method and deviceInfo
- Publication number
- JP2000222614A JP2000222614A JP11006533A JP653399A JP2000222614A JP 2000222614 A JP2000222614 A JP 2000222614A JP 11006533 A JP11006533 A JP 11006533A JP 653399 A JP653399 A JP 653399A JP 2000222614 A JP2000222614 A JP 2000222614A
- Authority
- JP
- Japan
- Prior art keywords
- adjustment
- block
- light emission
- image output
- emission amount
- 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.)
- Withdrawn
Links
Landscapes
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
(57)【要約】
【課題】 経時変化に対して安定した画像を取得できる
画像読取センサを提供することを目的とする。
【解決手段】 複数のブロック別に点灯制御される発光
部1と受光部2との間に透過率が一様な基準媒体を置い
た状態で画像出力が一様になるよう調整したブロック別
の発光量設定値を発光量設定値記憶部7に、基準媒体の
ない状態で画像出力が飽和しない露光時間および点灯時
間を調整条件記憶部8に、調整条件下で全点灯したとき
の画像出力とブロックごとに点灯したときの画像出力の
ピーク位置およびピーク値とを初期値記憶部9に記憶し
ておく。調整時には、設定値調整処理部6が、ピーク位
置における出力値が初期のピーク値と一致するよう、ま
たはピーク位置近傍の出力差が最も少なくなるよう、ブ
ロック別に発光量設定値を調整して発光量設定値記憶部
7に記憶する。
(57) [Summary] [PROBLEMS] To provide an image reading sensor capable of acquiring an image that is stable against a change over time. SOLUTION: The light emission for each block adjusted so that the image output becomes uniform in a state where a reference medium having a uniform transmittance is placed between a light emitting unit 1 and a light receiving unit 2 whose lighting is controlled for each of a plurality of blocks. The amount setting value is stored in the light emission amount setting storage unit 7, the exposure time and the lighting time when the image output is not saturated in the absence of the reference medium are stored in the adjustment condition storage unit 8, and the image output and the block when all the lights are turned on under the adjustment condition. The peak position and the peak value of the image output at the time of lighting each time are stored in the initial value storage unit 9. At the time of adjustment, the set value adjustment processing unit 6 adjusts the light emission amount set value for each block so that the output value at the peak position matches the initial peak value or the output difference near the peak position is minimized. The amount is stored in the set value storage unit 7.
Description
【0001】[0001]
【発明の属する技術分野】本発明は画像読取センサの調
整方法およびその装置に関し、特に紙幣の真偽を判別す
るような紙幣鑑別装置において、紙幣の画像を読み取る
画像読取センサの特性が経時変化を受けたとしても、出
荷時の状態を保持することができるようにした画像読取
センサの調整方法およびその装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for adjusting an image reading sensor, and more particularly, to a bill discriminating apparatus for determining the authenticity of a bill. The present invention relates to a method and an apparatus for adjusting an image reading sensor capable of maintaining a state at the time of shipment even if received.
【0002】[0002]
【従来の技術】紙幣鑑別装置では、投入された紙幣の印
刷された画像を読み取り、その画像情報をもとに紙幣の
真偽および金種の判別を行っている。ここで、紙幣の画
像を読み取る部分が画像読み取りセンサであり、通常ラ
インセンサが用いられている。紙幣の全画像を撮る場合
には、紙幣の搬送方向に直角な方向にラインセンサを配
置し、このラインセンサが、照明された紙幣の反射光ま
たは透過光を受光することにより紙幣の一次元画像を読
み取り、この一次元画像の読み取りを紙幣の搬送方向に
繰り返し実行することで、紙幣の二次元画像を得ること
ができる。このような、画像読取センサの構成例を以下
に示す。2. Description of the Related Art A bill discriminating apparatus reads a printed image of an inserted bill and discriminates the authenticity and denomination of the bill based on the image information. Here, the part which reads the image of a bill is an image reading sensor, and usually a line sensor is used. When taking a full image of a banknote, a line sensor is arranged in a direction perpendicular to the direction in which the banknote is transported, and the line sensor receives reflected light or transmitted light of the illuminated banknote, thereby obtaining a one-dimensional image of the banknote. Is read, and the reading of the one-dimensional image is repeatedly performed in the transport direction of the bill, whereby a two-dimensional image of the bill can be obtained. An example of the configuration of such an image reading sensor is described below.
【0003】図11は紙幣鑑別装置の画像読取センサの
一構成例を示す図である。図示の画像読取センサは、レ
ンズ縮小透過型センサを示しており、その主要部とし
て、光源部21と、受光部22と、制御部とを有してい
る。光源部21は、複数のたとえば発光ダイオード(L
ED)をアレイ状に配置して構成されるLEDアレイで
構成され、受光部22は、紙幣23からの透過光を受け
て光信号を電気信号に変換するライン状の固体撮像素
子、たとえば電荷結合素子(CCD)24と紙幣画像を
CCD24上に結像させるためのレンズ25とにより構
成されている。制御部は、受光部22におけるCCD2
4の読み出しを制御するCCD駆動回路26と、CCD
24から読み出された信号を増幅する増幅回路27と、
増幅された信号をディジタル信号に変換するアナログ・
ディジタル変換器(A/D変換器)28と、読み取った
画像を補正処理して紙幣画像として出力するとともに光
源部21におけるLEDの発光量制御を行う制御回路2
9と、発光量の制御信号をアナログ信号に変換するディ
ジタル・アナログ変換器(D/A変換器)30と、LE
D駆動回路31とから構成される。また、紙幣23は、
光源部21とレンズ25との間の搬送路32を図面の面
に垂直な方向に通過するものとする。FIG. 11 is a diagram showing an example of the configuration of an image reading sensor of a bill validator. The illustrated image reading sensor is a lens reduction transmission type sensor, and has a light source unit 21, a light receiving unit 22, and a control unit as main components. The light source unit 21 includes a plurality of light emitting diodes (L
ED) are arranged in an array, and the light receiving unit 22 is a linear solid-state imaging device that receives a transmitted light from the bill 23 and converts an optical signal into an electric signal, for example, a charge-coupled device. It comprises an element (CCD) 24 and a lens 25 for forming a bill image on the CCD 24. The control unit controls the CCD 2 in the light receiving unit 22.
4, a CCD driving circuit 26 for controlling the reading of
An amplification circuit 27 for amplifying the signal read from
An analog converter that converts the amplified signal to a digital signal
A digital converter (A / D converter) 28 and a control circuit 2 for correcting the read image and outputting it as a banknote image and controlling the light emission amount of the LED in the light source unit 21
9, a digital / analog converter (D / A converter) 30 for converting a control signal of the light emission amount into an analog signal,
And a D drive circuit 31. The bill 23 is
It is assumed that the light passes through a transport path 32 between the light source unit 21 and the lens 25 in a direction perpendicular to the plane of the drawing.
【0004】光源部21のLEDアレイは、隣接する数
個ずつのLEDを一つのブロックとして分割されてお
り、各ブロックB1〜BnごとにLED駆動回路31に
よりD/A変換器30により設定されたLED駆動電流
でそれぞれ駆動されるようになっている。The LED array of the light source unit 21 is divided into a plurality of adjacent LEDs as one block, and is set by the D / A converter 30 by the LED drive circuit 31 for each of the blocks B1 to Bn. Each is driven by an LED drive current.
【0005】ここで、各LEDブロックB1〜Bnの電
流値は、CCD24の各画素の出力値が一様になるよう
に、出荷時に以下のように調整される。まず、紙幣23
が通過する画像読取センサの搬送路32に全面にわたっ
て透過率の一様な基準媒体を設置する。この基準媒体か
らのCCD出力があらかじめ設定してある基準値Rに最
も近づくように、すなわちシェーディング(一様な濃淡
を撮像したときのCCD24の各画素の出力レベルの不
均一性)が最も平坦になるように、D/A変換器30の
設定値を調整し、各LEDブロックB1〜Bnの駆動電
流を決定する。そして、このときの各LEDブロックB
1〜BnのD/A変換器30の設定値は、CCD24の
各画素ごとの補正に使われるシェーディング補正係数P
iとともに制御回路29内のメモリに格納される。この
シェーディング補正係数Piは次式で表される。Here, the current values of the LED blocks B1 to Bn are adjusted at the time of shipment so that the output values of the pixels of the CCD 24 become uniform, as follows. First, banknote 23
A reference medium having a uniform transmittance is placed over the entire surface of the transport path 32 of the image reading sensor through which the image reading sensor passes. The CCD output from the reference medium is closest to the preset reference value R, that is, the shading (non-uniformity of the output level of each pixel of the CCD 24 when uniform density is imaged) is the most flat. Thus, the set value of the D / A converter 30 is adjusted, and the drive current of each of the LED blocks B1 to Bn is determined. And each LED block B at this time
The set values of the D / A converter 30 of 1 to Bn are the shading correction coefficients P used for correction of each pixel of the CCD 24.
i is stored in the memory in the control circuit 29 together with i. This shading correction coefficient Pi is represented by the following equation.
【0006】[0006]
【数1】Pi=R/Sri ・・・(1) ここで、Rは基準値、Srは基準媒体挿入時のCCD出
力、iはCCDのi番目の画素を示す参照符号である。## EQU1 ## where Pi = R / Sri (1) where R is a reference value, Sr is a CCD output when a reference medium is inserted, and i is a reference code indicating the i-th pixel of the CCD.
【0007】以上のようにして出荷時に各LEDブロッ
クB1〜Bnの駆動電流が調整され、シェーディング補
正係数Piが求められて記憶された紙幣鑑別装置におい
て、紙幣鑑別のために紙幣の画像を読み取るときには、
各LEDブロックB1〜Bnは、出荷時の駆動電流値で
点灯され、CCD24により紙幣23の生画像が取得さ
れる。そして、取得されたこの生画像のデータは、制御
回路29において画素ごとにシェーディング補正係数P
iが乗算処理され、紙幣画像として、図示しない鑑別処
理部へ送られ、そこで鑑別される。[0007] In the bill validator in which the driving currents of the LED blocks B1 to Bn are adjusted at the time of shipment as described above, and the shading correction coefficient Pi is obtained and stored, when a bill image is read for bill validation. ,
Each of the LED blocks B1 to Bn is turned on with the drive current value at the time of shipment, and a raw image of the bill 23 is acquired by the CCD 24. Then, the obtained raw image data is subjected to a shading correction coefficient P
i is multiplied and sent to a discrimination processing unit (not shown) as a banknote image, where it is discriminated.
【0008】なお、この鑑別処理部では、画像読取セン
サの経時変化、すなわちLEDおよびCCDの温度特性
およびLEDの劣化によるCCD出力の変動に対処する
ために、紙幣画像のシェーディング補正処理されたCC
D出力の最大値もしくは平均値にてCCD出力を規格化
し、この規格化したCCD出力を用いて鑑別を行ってい
る。In this discrimination processing section, in order to cope with a temporal change of the image reading sensor, that is, a change in the temperature characteristics of the LED and the CCD and a change in the CCD output due to the deterioration of the LED, the CC which has been subjected to the shading correction processing of the bill image is processed.
The CCD output is standardized by the maximum value or the average value of the D output, and discrimination is performed using the standardized CCD output.
【0009】[0009]
【発明が解決しようとする課題】しかしながら、この従
来の画像読取センサでは、LEDの温度特性および劣化
の度合が各LEDとも同一であり、したがってCCD出
力が全体的に一様にレベル変動するために補正が可能で
あることを前提としているので、以下のような問題点が
あった。すなわち、画像読取センサのCCDについては
劣化の問題はほとんどないと考えていいが、LEDにつ
いては各LEDごとに温度特性および劣化度合いは異な
る場合が多く、そのため、各CCD画素ごとにCCD出
力の変動度合いが異なることになる。したがって、この
ようなCCD出力変動を鑑別処理部で補正しようとして
も、正しい補正を行うことは難しくなり、その結果、鑑
別処理部では正常な鑑別ができず、最悪の場合、誤鑑別
を起こすことになる。However, in this conventional image reading sensor, the temperature characteristics and the degree of deterioration of the LEDs are the same for each LED, and therefore, the level of the CCD output fluctuates uniformly as a whole. Since it is assumed that correction is possible, there are the following problems. That is, although it is considered that there is almost no problem of deterioration of the CCD of the image reading sensor, the temperature characteristic and the degree of deterioration of the LED are often different for each LED. The degree will be different. Therefore, even if the CCD output fluctuation is corrected by the discrimination processing unit, it is difficult to perform correct correction. As a result, the discrimination processing unit cannot perform normal discrimination, and in the worst case, erroneous discrimination may occur. become.
【0010】本発明はこのような点に鑑みてなされたも
のであり、画像読取センサの温度特性の違いおよび経時
的な変化があっても、そのような変化に影響されること
のない画像出力を得ることができる画像読取センサの調
整方法を提供することを目的とする。[0010] The present invention has been made in view of the above points, and even if there is a difference in temperature characteristics of an image reading sensor and a change with time, an image output that is not affected by such a change. It is an object of the present invention to provide a method for adjusting an image reading sensor capable of obtaining the following.
【0011】[0011]
【課題を解決するための手段】本発明では上記問題を解
決するために、ブロックごとに点灯制御される光源によ
って照明された媒体の透過光を検出して媒体の画像を読
み取る画像読取センサの調整方法において、ブロック別
に点灯された光を直接受光したときの画像出力が飽和し
ない露光時間および点灯時間と、前記露光時間および点
灯時間で得られた画像出力のピーク位置およびピーク値
とをあらかじめ初期値としてブロックごとに求め、経時
変化に対する調整時には、各ブロックを前記露光時間お
よび点灯時間で順次点灯させ、各ブロックごとに前記ピ
ーク位置における出力値を前記ピーク値と一致するよう
に当該ブロックの発光量を調整する、ことを特徴とする
画像読取センサの調整方法が提供される。According to the present invention, in order to solve the above-mentioned problem, an image reading sensor for reading an image on a medium by detecting transmitted light of the medium illuminated by a light source which is controlled to be turned on for each block is adjusted. In the method, an exposure time and a lighting time at which an image output when light emitted by each block is directly received are not saturated, and a peak position and a peak value of the image output obtained at the exposure time and the lighting time are set to initial values in advance. When adjusting for changes over time, each block is sequentially lit with the exposure time and the lighting time, and the light emission amount of the block is set so that the output value at the peak position matches the peak value for each block. The method for adjusting the image reading sensor is characterized in that the image reading sensor is adjusted.
【0012】このような画像読取センサの調整方法によ
れば、光源をブロック別に個別点灯したときのピーク位
置およびピーク値を覚えておいて、経時変化に対する調
整時には、ブロック別に個別点灯したときのピーク位置
における出力値がピーク値と一致するように各ブロック
の発光量の調整を行うようにした。これにより、経時変
化によりあるブロックのピーク値が変化したとしても、
そのピーク値が初期のピーク値になるように調整される
ので、常に初期状態と同様の画像出力を得ることができ
る。According to such an image reading sensor adjustment method, the peak position and the peak value when the light source is individually turned on for each block are remembered, and the peak when the individual light is turned on for each block is adjusted at the time of adjusting for the change over time. The light emission amount of each block is adjusted so that the output value at the position matches the peak value. With this, even if the peak value of a certain block changes due to aging,
Since the peak value is adjusted to be the initial peak value, the same image output as in the initial state can be always obtained.
【0013】また、本発明によれば、ブロックごとに点
灯制御される光源によって照明された媒体の透過光を検
出して媒体の画像を読み取る画像読取センサの調整方法
において、ブロック別に点灯された光を直接受光したと
きの画像出力が飽和しない露光時間および点灯時間と、
前記露光時間および点灯時間で得られた画像出力のピー
ク位置と、全ブロックを同時に点灯させたときに得られ
た初期画像出力とをあらかじめ初期値として求め、経時
変化に対する調整時には、各ブロックを前記露光時間お
よび点灯時間で全ブロック同時に点灯させることにより
画像出力を取得し、各ブロックの前記ピーク位置を含む
所定の画素範囲において前記初期画像出力の出力値と取
得した前記画像出力の出力値との出力差の総和および前
記出力差の二乗和を算出し、ブロックごとに前記出力差
の総和の正負により発光量の増減方向を決定して、前記
出力差の二乗和が最も小さくなるように各ブロックの発
光量を調整する、ことを特徴とする画像読取センサの調
整方法が提供される。According to the present invention, in an adjusting method of an image reading sensor for detecting a transmitted light of a medium illuminated by a light source controlled to be turned on for each block and reading an image on the medium, the light turned on for each block is provided. Exposure time and lighting time when the image output when light is directly received is not saturated,
The peak position of the image output obtained at the exposure time and the lighting time, and the initial image output obtained when all the blocks are turned on at the same time are obtained as initial values in advance, and each block is adjusted at the time of adjustment with time. An image output is obtained by simultaneously lighting all blocks at the exposure time and the lighting time, and the output value of the initial image output and the output value of the obtained image output in a predetermined pixel range including the peak position of each block. The sum of the output differences and the sum of the squares of the output differences are calculated, and the direction of increase or decrease in the amount of light emission is determined for each block according to the sign of the sum of the output differences, so that each block has the smallest sum of the squares of the output differences. And a method for adjusting the image reading sensor, wherein the amount of emitted light is adjusted.
【0014】この画像読取センサの調整方法によれば、
光源をブロック別に個別点灯したときのピーク位置およ
び全点灯したときの出力値を覚えておいて、経時変化に
対する調整時には、全点灯したときのピーク位置近傍に
おける出力差が最も小さくなるように各ブロックの発光
量の調整を行うようにした。これにより、経時変化によ
りあるブロックのピーク位置が変化したとしても、その
ピーク位置近傍の出力が初期のピーク位置近傍の出力値
になるように調整されるので、常に初期状態と同様の画
像出力を得ることができる。According to this method of adjusting the image reading sensor,
Remember the peak position when the light source is individually turned on for each block and the output value when the light source is fully lit, and adjust each block so that the output difference near the peak position when the light source is fully lit is minimized when adjusting for aging. The amount of light emission was adjusted. With this, even if the peak position of a certain block changes due to aging, the output near the peak position is adjusted to be the output value near the initial peak position, so that the same image output as the initial state is always obtained. Obtainable.
【0015】[0015]
【発明の実施の形態】以下、本発明の実施の形態を、紙
幣鑑別装置の紙幣画像読取部に適用した場合を例に図面
を参照して詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings, taking as an example a case where the present invention is applied to a bill image reading section of a bill discriminating apparatus.
【0016】図1は本発明を適用した紙幣画像読取部の
構成例を示す図である。この紙幣画像読取部は、LED
アレイからなる発光部1と、CCDからなる受光部2
と、LED駆動部3と、波形取得部4と、経時変化調整
部5とから構成される。この経時変化調整部5は、設定
値調整処理部6と、発光量設定値記憶部7と、調整条件
記憶部8と、初期値記憶部9と、点灯処理部10とを有
している。ここで、発光部1および受光部2の具体的な
構成は、図11に記載のものと同じであり、したがっ
て、図示はしないが、これら発光部1と受光部2との間
に紙幣を通過させる搬送部と紙幣画像をCCD上に結像
させるレンズとが配置されている。また、LED駆動部
3は、発光部1のLEDアレイをブロック点灯制御する
よう構成され、波形取得部4は、図11に示した増幅器
およびアナログ・ディジタル変換器を含んでおり、点灯
処理部10は、図11のディジタル・アナログ変換器を
含んでいる。FIG. 1 is a diagram showing a configuration example of a bill image reading section to which the present invention is applied. This bill image reading unit is an LED
Light emitting unit 1 composed of an array and light receiving unit 2 composed of a CCD
, An LED drive unit 3, a waveform acquisition unit 4, and a temporal change adjustment unit 5. The temporal change adjusting unit 5 includes a setting value adjusting processing unit 6, a light emission amount setting value storing unit 7, an adjustment condition storing unit 8, an initial value storing unit 9, and a lighting processing unit 10. Here, the specific configuration of the light emitting unit 1 and the light receiving unit 2 is the same as that shown in FIG. 11, and therefore, although not shown, a bill passes between the light emitting unit 1 and the light receiving unit 2. And a lens for forming a bill image on the CCD. The LED drive unit 3 is configured to control the lighting of the LED array of the light emitting unit 1 in a block manner. The waveform acquisition unit 4 includes the amplifier and the analog-digital converter shown in FIG. Includes the digital-to-analog converter of FIG.
【0017】この紙幣画像読取部は、紙幣鑑別装置の出
荷時に、透過率が一様な基準媒体を用いてCCD出力が
一様になるように調整された発光部1のLEDアレイの
ブロックごとのディジタル・アナログ変換器の設定値
(以下、D/A設定値という)が発光量設定値記憶部7
に記憶されており、また、基準媒体がないときの調整時
データが調整条件記憶部8および初期値記憶部9に記憶
されている。詳しくは、調整条件記憶部8には、CCD
出力が飽和しないよう発光部を制御駆動したときのCC
D露光時間およびLED点灯時間が記憶され、初期値記
憶部9には、そのときの各LEDブロックのピーク位置
(CCD画素番号)、ピーク値、および全LEDブロッ
クを同時に点灯制御したときの波形が記憶される。This bill image reading unit is provided for each block of the LED array of the light emitting unit 1 which is adjusted at the time of shipment of the bill discriminating device so as to make the CCD output uniform by using a reference medium having a uniform transmittance. The set value of the digital / analog converter (hereinafter, referred to as D / A set value) is stored in the light emission amount set value storage unit 7.
The data at the time of adjustment when there is no reference medium is stored in the adjustment condition storage unit 8 and the initial value storage unit 9. Specifically, the adjustment condition storage unit 8 includes a CCD
CC when the light emitting unit is controlled and driven so that the output does not saturate
The D exposure time and the LED lighting time are stored, and the initial value storage unit 9 stores the peak position (CCD pixel number) of each LED block at that time, the peak value, and the waveform when all the LED blocks are simultaneously turned on. It is memorized.
【0018】ここで、経時変化調整部5による経時変化
に対する第1の調整方法について説明する。紙幣鑑別装
置が紙幣の突入を検出すると、この紙幣画像読取部で
は、紙幣画像の読み取りに先立って、まず、経時変化調
整部5が発光部1のLEDの温度特性変化および経時変
化に対する調整を行う。すなわち、点灯処理部10が発
光量設定値記憶部に記憶されたLEDブロック別のD/
A設定値で、調整条件記憶部8に記憶されたCCD露光
時間およびLED点灯時間と同じ発光条件で発光部1を
LEDブロック別に順次点灯し、そのときの受光部2で
受光したCCD出力波形を波形取得部4を介して設定値
調整処理部6で受ける。設定値調整処理部6では、ブロ
ック別の個別波形のピーク値と初期値記憶部9に記憶さ
れたピーク値とを比較し、一致しなければD/A設定値
を増減して、点灯処理部10がその設定値で再度発光部
1を駆動するようにする。発光部1を駆動し、そのとき
の個別波形のピーク値と初期値記憶部9に記憶されたピ
ーク値とを比較するという操作をピーク値が一致するま
で繰り返し行い、一致すれば、そのときの設定値を、実
際に紙幣画像を読み取るときの発光部1のそのLEDブ
ロックのD/A設定値とする。この操作をすべてのLE
Dブロックについて行う。これにより、発光部1のLE
Dブロックごとに発光したときに得られた個別波形のピ
ーク値がそれぞれ調整され、発光部1における全体の発
光量の調整が行われる。そして、この経時変化調整が行
われた後に波形取得部4によって読み取られた紙幣の生
画像データは、図示しないシェーディング補正処理部に
送られ、そこで画素ごとのシェーディング補正係数によ
る乗算処理が施されることになる。Here, a first adjustment method for the change over time by the change over time adjusting section 5 will be described. When the bill discriminating device detects the entry of a bill, in the bill image reading unit, first, before reading the bill image, the aging change adjusting unit 5 first adjusts the temperature characteristic change of the LED of the light emitting unit 1 and the aging change. . That is, the lighting processing unit 10 controls the D / D for each LED block stored in the light emission amount setting value storage unit.
With the set value A, the light emitting unit 1 is sequentially turned on for each LED block under the same light emitting condition as the CCD exposure time and the LED lighting time stored in the adjustment condition storing unit 8, and the CCD output waveform received by the light receiving unit 2 at that time is obtained. It is received by the set value adjustment processing unit 6 via the waveform acquisition unit 4. The set value adjustment processing unit 6 compares the peak value of the individual waveform for each block with the peak value stored in the initial value storage unit 9. If they do not match, the D / A set value is increased or decreased. 10 drives the light-emitting unit 1 again with the set value. The operation of driving the light emitting unit 1 and comparing the peak value of the individual waveform at that time with the peak value stored in the initial value storage unit 9 is repeated until the peak values match. The set value is the D / A set value of the LED block of the light emitting unit 1 when the bill image is actually read. Perform this operation for all LE
This is performed for the D block. Thereby, the LE of the light emitting unit 1
The peak value of the individual waveform obtained when light is emitted for each D block is adjusted, and the overall light emission amount in the light emitting unit 1 is adjusted. Then, the raw image data of the banknote read by the waveform acquisition unit 4 after the temporal change adjustment is performed is sent to a shading correction processing unit (not shown), where a multiplication process is performed by a shading correction coefficient for each pixel. Will be.
【0019】次に、経時変化調整部5による経時変化に
対する第2の調整方法について説明する。紙幣鑑別装置
が紙幣の突入を検出すると、この紙幣画像読取部では、
紙幣画像の読み取りに先立って、まず、経時変化調整部
5が発光部1のLEDの温度特性変化および経時変化に
対する調整を行う。すなわち、点灯処理部10が発光量
設定値記憶部に記憶されたLEDブロック別のD/A設
定値で、調整条件記憶部8に記憶されたCCD露光時間
およびLED点灯時間と同じ発光条件で発光部1の全L
EDブロックを同時点灯する。そのときの受光部2で受
光したCCD出力波形を波形取得部4を介して設定値調
整処理部6で受け、設定値調整処理部6では、各LED
ブロック別の各ピーク位置近傍の波形と初期値記憶部9
に記憶された全点灯波形とを比較し、そのピーク位置近
傍の出力差の面積および二乗和を求め、面積がゼロなら
ばそのLEDブロックの調整は終了してD/A設定値を
記憶する。その面積がゼロでなければ、D/A設定値の
増減方向を決定し、D/A設定値の増減をし、全点灯波
形を再取得して未調整LEDブロックの出力差の二乗和
を算出する。ここで、出力差の二乗和を前回の二乗和と
比較し、前回よりも大きくなったブロックについてはD
/A設定値の増減が過剰であると判断して、前回のD/
A設定値を記録し、そのブロックの調整は終了する。も
し、前回の二乗和より大きいブロックがなければ、それ
ぞれD/A設定値をさらに増減して、全点灯波形の再取
得を行う。このD/A設定値を増減して、全点灯波形の
再取得を行う操作は、出力差の二乗和が前回よりも小さ
なブロックがなくなるまで繰り返し、全ブロックが調整
終了すると、この調整は終了する。そして、この経時変
化調整が行われた後に波形取得部4によって読み取られ
た紙幣の生画像データは、図示しないシェーディング補
正処理部に送られ、そこで画素ごとのシェーディング補
正係数による乗算処理が施されることになる。Next, a description will be given of a second adjustment method for a change over time by the change over time adjustment section 5. When the bill validator detects the entry of a bill, the bill image reading unit performs
Prior to reading the banknote image, first, the temporal change adjusting unit 5 adjusts the temperature characteristic change of the LED of the light emitting unit 1 and the temporal change. That is, the lighting processing unit 10 emits light under the same light emission condition as the CCD exposure time and the LED lighting time stored in the adjustment condition storage unit 8 with the D / A set value for each LED block stored in the light emission amount set value storage unit. All L of part 1
The ED block is turned on at the same time. The CCD output waveform received by the light receiving unit 2 at that time is received by the set value adjustment processing unit 6 via the waveform acquisition unit 4, and the set value adjustment processing unit 6
Waveform near each peak position for each block and initial value storage unit 9
And the sum of squares of the output difference near the peak position is calculated. If the area is zero, the adjustment of the LED block is completed and the D / A set value is stored. If the area is not zero, the direction of increase / decrease of the D / A set value is determined, the D / A set value is increased / decreased, all lighting waveforms are reacquired, and the sum of squares of the output difference of the unadjusted LED block is calculated. I do. Here, the sum of squares of the output difference is compared with the previous sum of squares.
It is determined that the increase / decrease of the / A set value is excessive, and the previous D /
The A set value is recorded, and the adjustment of the block is completed. If there is no block larger than the previous sum of squares, the D / A set value is further increased or decreased, and all lighting waveforms are obtained again. This operation of increasing / decreasing the D / A set value and reacquiring all the lighting waveforms is repeated until there is no block in which the sum of squares of the output difference is smaller than the last time. When all the blocks have been adjusted, the adjustment ends. . Then, the raw image data of the banknote read by the waveform acquisition unit 4 after the temporal change adjustment is performed is sent to a shading correction processing unit (not shown), where a multiplication process is performed by a shading correction coefficient for each pixel. Will be.
【0020】次に、これらの調整方法の詳細について説
明する。まず、第1の調整方法の概念について説明す
る。図2はCCD出力経時変化の第1の調整方法を示す
説明図である。この図において、縦軸はCCD出力、横
軸はCCDの画素位置を示し、LEDブロックが全部点
灯したときの出荷時(初期)の全点灯波形Siと、LE
Dブロックが個別に点灯したときの出荷時(初期)の初
期個別波形Kiおよび経時調整時の経時個別波形Kki
とを示している。個別波形については、ここでは、代表
的に、1番目のブロック、j番目のブロックおよびn番
目のブロックを示している。Next, the details of these adjustment methods will be described. First, the concept of the first adjustment method will be described. FIG. 2 is an explanatory diagram showing a first adjustment method of the change with time of the CCD output. In this figure, the vertical axis indicates the CCD output, and the horizontal axis indicates the pixel position of the CCD. The entire lighting waveform Si at the time of shipment (initial) when all the LED blocks are lit, and LE
Initial individual waveform Ki at the time of shipment (initial) when the D blocks are individually lit, and temporal individual waveform Kki at the time of temporal adjustment
Are shown. Regarding the individual waveforms, here, the first block, the j-th block, and the n-th block are typically shown.
【0021】個別点灯波形において、1番目のブロック
では、太い実線で出荷時の初期個別波形Ki1を示し、
位置X1にCCD出力のピークがあり、そのピーク値は
A1、また、破線で経時調整時の経時個別波形Kki1
を示し、そのピーク値はAk1である。同様に、j番目
のブロックでは、太い実線で出荷時の初期個別波形Ki
jを示し、位置XjにCCD出力のピークがあり、その
ピーク値はAj、また、破線で経時調整時の経時個別波
形Kkijを示し、そのピーク値はAkjであり、さら
にn番目のブロックでは、太い実線で出荷時の初期個別
波形Kinを示し、位置XnにCCD出力のピークがあ
り、そのピーク値はAn、また、破線で経時調整時の経
時個別波形Kkinを示し、そのピーク値はAknであ
る。In the individual lighting waveform, in the first block, a bold solid line shows an initial individual waveform Ki1 at the time of shipment,
At the position X1, there is a peak of the CCD output, the peak value of which is A1.
And the peak value is Ak1. Similarly, in the j-th block, the initial individual waveform Ki at the time of shipment is indicated by a thick solid line.
j, there is a peak of the CCD output at position Xj, the peak value of which is Aj, and the broken line shows the temporal individual waveform Kkij at the time of temporal adjustment, the peak value of which is Akj, and further, in the n-th block, The bold solid line indicates the initial individual waveform Kin at the time of shipment, and the peak of the CCD output is at the position Xn, the peak value is An, and the broken line indicates the temporal individual waveform Kkin at the time of temporal adjustment, and the peak value is Akn. is there.
【0022】このように、LEDブロックを個別点灯し
たときに、経時変化により、各ブロックのピーク値が初
期値よりも変化している場合には、そのピーク値Akが
初期のピーク値AとなるようにLEDブロックの駆動電
流、すなわちD/A変換器の設定値を調整すればよい。
その調整方法の詳細を、出荷時と、調整時とに分けて以
下に説明する。As described above, when the LED blocks are individually lit, if the peak value of each block has changed from the initial value due to aging, the peak value Ak becomes the initial peak value A. Thus, the drive current of the LED block, that is, the set value of the D / A converter may be adjusted.
Details of the adjustment method will be described below separately for the time of shipment and the time of adjustment.
【0023】図3は第1の調整方法に関わる出荷時調整
の処理の流れを示すフローチャートである。出荷調整時
においては、まず、搬送路上に紙幣を模擬する透過率が
一様な基準媒体を挿入し、各LEDブロックB1〜Bn
のD/A変換器の設定値を変更して、シェーディングが
最も平坦になるように各LEDブロックB1〜Bnの駆
動電流を調整し、そのときの各LEDブロックB1〜B
nのD/A変換器の設定値Ij(LEDブロック番号j
=1〜n)を記憶する(ステップS1)。次に、搬送路
から基準媒体を取り去り、ステップS1での設定値Ij
で全LEDブロックを同時に点灯させ、そのときの全点
灯波形Si(i:CCD画素番号)を取得する。この全
点灯波形の最大値SmaxがA/D変換器のダイナミッ
クレンジ(許容入力範囲)に収まるように、CCD露光
時間TcとLED点灯時間Tlとを短縮していき、この
ときの短縮したCCD露光時間TcsとLED点灯時間
Tlsとを記憶する(ステップS2)。そして、ステッ
プS1のD/A設定値IjおよびステップS2のCCD
露光時間Tcs、LED点灯時間Tlsで、各LEDブ
ロックの個別波形Kij(i=CCD画素番号、j=L
EDブロック番号)を取得し、各個別波形のピーク位置
(CCD画素番号)Xj(j=LEDブロック番号)と
そのピーク値Aj(j=LEDブロック番号)とを記憶
する(ステップS3)。FIG. 3 is a flowchart showing the flow of the factory adjustment process relating to the first adjustment method. At the time of shipment adjustment, first, a reference medium having a uniform transmittance that simulates a banknote is inserted into the transport path, and each of the LED blocks B1 to Bn is inserted.
, The drive current of each of the LED blocks B1 to Bn is adjusted so that the shading becomes the flattest, and the LED blocks B1 to Bn at that time are adjusted.
n D / A converter setting value Ij (LED block number j
= 1 to n) (step S1). Next, the reference medium is removed from the transport path, and the set value Ij in step S1 is set.
To turn on all the LED blocks at the same time, and obtain the entire lighting waveform Si (i: CCD pixel number) at that time. The CCD exposure time Tc and the LED lighting time Tl are reduced so that the maximum value Smax of all the lighting waveforms falls within the dynamic range (allowable input range) of the A / D converter. The time Tcs and the LED lighting time Tls are stored (step S2). Then, the D / A set value Ij in step S1 and the CCD in step S2
With the exposure time Tcs and the LED lighting time Tls, the individual waveform Kij (i = CCD pixel number, j = L) of each LED block
The ED block number) is acquired, and the peak position (CCD pixel number) Xj (j = LED block number) of each individual waveform and its peak value Aj (j = LED block number) are stored (step S3).
【0024】図4は第1の調整方法に関わる経時調整の
処理の流れを示すフローチャートである。出荷後に行わ
れる経時調整処理は、紙幣の突入検知もしくは鑑別開始
信号をもとに開始される。まず、LEDブロックごとに
個別点灯して、そのときの個別波形Kkijを取得する
(ステップS11)。ここで、出荷時もしくは既に経時
調整を実施している場合は前回の経時調整時と同じ条件
でLEDブロックを個別点灯するために、D/A設定値
は図3のステップS1で記憶された設定値Ijもしくは
既に経時調整を実施している場合は前回の経時調整値I
kjに設定し、CCD露光時間、LED点灯時間は図3
のステップS2で記憶されたCCD露光時間Tcsおよ
びLED点灯時間Tlsにして、点灯することで個別波
形Kkijを取得する。次に、図3のステップS3で記
憶したピーク位置Xjにおける経時調整時の出力値Ak
jと初期値Aj(図3のステップS3で記憶したピーク
値)とを比較し、一致しているかどうかが判断される
(ステップS12)。FIG. 4 is a flow chart showing the flow of the temporal adjustment process relating to the first adjustment method. The time adjustment process performed after shipment is started based on a bill entry detection or discrimination start signal. First, each LED block is individually lit, and an individual waveform Kkij at that time is obtained (step S11). Here, the D / A set value is stored in step S1 in FIG. 3 in order to individually light the LED blocks under the same conditions as those at the time of the previous aging adjustment at the time of shipment or when the aging adjustment has already been performed. Value Ij or the previous aging adjustment value I if aging adjustment has already been performed.
kj, CCD exposure time and LED lighting time are shown in FIG.
The individual waveform Kkij is obtained by turning on the CCD exposure time Tcs and LED lighting time Tls stored in step S2. Next, the output value Ak at the time of the temporal adjustment at the peak position Xj stored in step S3 of FIG.
j and an initial value Aj (the peak value stored in step S3 in FIG. 3), and it is determined whether or not they match (step S12).
【0025】ここで、一致していない場合、すなわち経
時変化があった場合には、D/A設定値を増減して、個
別波形Kkijを再取得し(ステップS13)、ステッ
プS12に戻り、再度出力値Akjと初期値Ajとの比
較が行われる。一致している場合は、該当ブロックの経
時変化の調整が終了したので、そのときのD/A設定値
を記憶する(ステップS14)。次に、以上の調整処理
が全ブロックについて行われたかどうかが判断され、全
ブロックの調整が終了した場合は、そこでこの処理は終
了し、未処理のブロックが残っている場合は、ステップ
S11に戻り、次のブロックの調整に移る。Here, if they do not match, that is, if there is a change with time, the D / A set value is increased or decreased, and the individual waveform Kkij is reacquired (step S13), and the process returns to step S12 and again. The output value Akj is compared with the initial value Aj. If they match, the adjustment of the temporal change of the block has been completed, and the D / A set value at that time is stored (step S14). Next, it is determined whether or not the above-described adjustment processing has been performed for all blocks. If the adjustment of all blocks has been completed, this processing ends there. If any unprocessed blocks remain, the process proceeds to step S11. Return and move on to the next block adjustment.
【0026】次に、第2の調整方法について説明する。
図5はCCD出力経時変化の第2の調整方法を示す説明
図である。この図において、図2に示したものと同様
に、LEDブロックが全部点灯したときの出荷時(初
期)の全点灯波形Siと、LEDブロックが個別に点灯
したときの出荷時(初期)の初期個別波形Ki1〜Ki
nとを示しており、さらに、LEDブロックを全部点灯
したときの経時調整時の全点灯波形Skiを示してい
る。Next, a second adjustment method will be described.
FIG. 5 is an explanatory diagram showing a second adjustment method of the change with time of the CCD output. In this figure, as in the case shown in FIG. 2, the entire lighting waveform Si at the time of shipment (initial) when all the LED blocks are lit, and the initial time of shipment (initial) when the LED blocks are individually lit. Individual waveform Ki1 to Ki
n, and further shows a full lighting waveform Ski at the time of temporal adjustment when all the LED blocks are lit.
【0027】この第2の調整方法では、全ブロック点灯
時の波形を比較して、個別波形のピーク位置近傍の数画
素の範囲(2M)の出力値が初期値に最も近づくように
調整するいわば面積合わせの調整方法である。その調整
方法の詳細を、出荷時と、調整時とに分けて以下に説明
する。In the second adjustment method, the waveforms when all the blocks are lit are compared, and adjustment is made so that the output value in the range (2M) of several pixels near the peak position of the individual waveform is closest to the initial value. This is an adjustment method for adjusting the area. Details of the adjustment method will be described below separately for the time of shipment and the time of adjustment.
【0028】図6は第2の調整方法に関わる出荷時調整
の処理の流れを示すフローチャートである。出荷調整時
においては、まず、搬送路上に紙幣を模擬する透過率が
一様な基準媒体を挿入し、各LEDブロックB1〜Bn
のD/A変換器の設定値を変更して、シェーディングが
最も平坦になるように各LEDブロックB1〜Bnの駆
動電流を調整し、そのときの各LEDブロックB1〜n
BのD/A変換器の設定値Ij(LEDブロック番号j
=1〜n)を記憶する(ステップS21)。次に、搬送
路から基準媒体を取り去り、ステップS21での設定値
Ijで全LEDブロックを同時に点灯させ、そのときの
全点灯波形Si(i:CCD画素番号)を取得する。こ
の全点灯波形の最大値SmaxがA/D変換器のダイナ
ミックレンジ(許容入力範囲)に収まるように、CCD
露光時間TcとLED点灯時間Tlとを短縮していき、
このときの短縮したCCD露光時間TcsとLED点灯
時間Tlsとを決定し、記憶する(ステップS22)。
次に、ステップS21のD/A設定値Ijおよびステッ
プS22のCCD露光時間Tcs、LED点灯時間Tl
sで、各LEDブロックの個別波形Kij(i=CCD
画素番号、j=LEDブロック番号)を取得し、各個別
波形のピーク位置(CCD画素番号)Xj(j=LED
ブロック番号)を記憶する(ステップS23)。そし
て、ステップS23と同じ条件で全LEDブロックを同
時に点灯させて全点灯波形Siを取得し、全点灯波形S
i(画素番号とその出力値)を記憶する(ステップS2
4)。FIG. 6 is a flow chart showing the flow of the factory adjustment process relating to the second adjustment method. At the time of shipment adjustment, first, a reference medium having a uniform transmittance that simulates a banknote is inserted into the transport path, and each of the LED blocks B1 to Bn is inserted.
Of the D / A converter, and the drive currents of the LED blocks B1 to Bn are adjusted so that the shading becomes the flattest.
B D / A converter setting value Ij (LED block number j
= 1 to n) (step S21). Next, the reference medium is removed from the transport path, all the LED blocks are simultaneously lit with the set value Ij in step S21, and all lit waveforms Si (i: CCD pixel numbers) at that time are obtained. The CCD is set so that the maximum value Smax of all the lighting waveforms falls within the dynamic range (allowable input range) of the A / D converter.
Exposure time Tc and LED lighting time Tl are shortened,
At this time, the shortened CCD exposure time Tcs and LED lighting time Tls are determined and stored (step S22).
Next, the D / A set value Ij in step S21, the CCD exposure time Tcs in step S22, and the LED lighting time Tl
s, the individual waveform Kij (i = CCD) of each LED block
The pixel number, j = LED block number) is obtained, and the peak position (CCD pixel number) Xj (j = LED) of each individual waveform is obtained.
(Step S23). Then, all the LED blocks are simultaneously turned on under the same conditions as in step S23 to obtain a full lighting waveform Si.
i (pixel number and its output value) is stored (step S2).
4).
【0029】図7は第2の調整方法に関わる経時調整の
処理の流れを示すフローチャートである。出荷後に行わ
れる経時調整処理は、紙幣の突入検知もしくは鑑別開始
信号をもとに開始される。まず、LEDブロックを全点
灯して、そのときの全点灯波形Skiを取得する(ステ
ップS31)。ここで、出荷時もしくは既に経時調整を
実施している場合は前回の経時調整時と同じ条件で各L
EDブロックを点灯するために、D/A設定値は図6の
ステップS21で記憶された設定値Ijもしくは既に経
時調整を実施している場合は前回の経時調整値Ikjに
設定し、CCD露光時間、LED点灯時間は図6のステ
ップS22で記憶されたCCD露光時間TcsおよびL
ED点灯時間Tlsにして、各ブロックをすべて点灯す
ることで全点灯波形Skiを取得する。次に、取得した
全点灯波形Skiと初期の全点灯波形Siとから図6の
ステップS23で記憶した各個別波形のピーク位置Xj
とその両端数画素(±M画素)の範囲で、経時調整時の
全点灯波形Skiと初期の全点灯波形Siとの出力差の
総和(出力差=経時出力一初期出力)および経時調整時
の全点灯波形Skiと初期の全点灯波形Siとの出力差
の二乗和を算出する(ステップS32)。FIG. 7 is a flowchart showing the flow of the temporal adjustment process relating to the second adjustment method. The time adjustment process performed after shipment is started based on a bill entry detection or discrimination start signal. First, the LED blocks are all turned on, and the entire lighting waveform Ski at that time is obtained (step S31). Here, at the time of shipment or when the aging adjustment has already been performed, each L is adjusted under the same conditions as the previous aging adjustment.
In order to light the ED block, the D / A set value is set to the set value Ij stored in step S21 of FIG. 6 or to the previous time-adjusted value Ikj when the time-adjustment has already been performed, and the CCD exposure time is set. , The LED lighting time is the CCD exposure time Tcs and Ls stored in step S22 of FIG.
The entire lighting waveform Ski is obtained by lighting all the blocks with the ED lighting time Tls. Next, the peak position Xj of each individual waveform stored in step S23 of FIG. 6 is obtained from the acquired full lighting waveform Ski and the initial full lighting waveform Si.
And the total number of output differences between the total lighting waveform Ski at the time of adjusting with time and the initial lighting waveform Si at the beginning (output difference = temporary output / initial output) and the range of the number of pixels at both ends (± M pixels). The sum of squares of the output difference between the full lighting waveform Ski and the initial full lighting waveform Si is calculated (step S32).
【0030】次に、ステップS32で算出した出力差の
総和をもとに、各LEDブロックB1〜BnのD/A設
定値の増減方向を決定する(ステップS33)。すなわ
ち、出力差の総和<0であれば、D/A設定値を1調整
単位だけインクリメントし、出力差の総和>0であれ
ば、D/A設定値を1調整単位だけデクリメントする。
ただし、出力差の総和=0となるブロックがある場合
は、そのブロックの調整は不要なので、D/A設定値の
増減は行わず、そこで調整終了となり、そのときのそれ
ぞれのブロックのD/A設定値を記憶する。次に、全点
灯波形Skiを再取得し、調整未終了ブロックの出力差
の二乗和を算出する(ステップS34)。Next, the direction of increase / decrease of the D / A set value of each of the LED blocks B1 to Bn is determined based on the sum of the output differences calculated in step S32 (step S33). That is, if the sum of the output differences <0, the D / A set value is incremented by one adjustment unit, and if the sum of the output differences> 0, the D / A set value is decremented by one adjustment unit.
However, if there is a block in which the sum of the output differences = 0, the adjustment of that block is not necessary, so that the D / A set value is not increased or decreased, and the adjustment ends there, and the D / A of each block at that time is ended. Store the set value. Next, the entire lighting waveform Ski is reacquired, and the sum of squares of the output differences of the unfinished blocks is calculated (step S34).
【0031】ここで、出力差の二乗和が前回値よりも大
きいブロックがあるか否かが判断される(ステップS3
5)。出力差の二乗和が前回値よりも大きいブロックが
あれば、そのブロックは設定すべき値を越えたD/A設
定値となってしまったので、該当ブロックの調整はここ
で終了し、該当ブロックの前回の調整値であるD/A設
定値を記憶する(ステップS36)。次に、全ブロック
の調整が終了したかどうかが判断され(ステップS3
7)、全ブロックが終了していれば、この経時変化調整
処理は終了する。Here, it is determined whether or not there is a block in which the sum of squares of the output difference is larger than the previous value (step S3).
5). If there is a block in which the sum of squares of the output difference is larger than the previous value, the block has a D / A setting value exceeding the value to be set, and the adjustment of the corresponding block ends here. The D / A set value, which is the previous adjustment value, is stored (step S36). Next, it is determined whether or not adjustment of all blocks has been completed (step S3).
7) If all the blocks have been completed, this time-dependent change adjustment process is completed.
【0032】ステップS35の判断にて、出力差の二乗
和が前回値よりも大きいブロックがまだない場合および
ステップS37の判断で全ブロックの調整が終了してい
ない場合には、引き続き調整処理を行わなければならな
い。このときは、調整未終了のブロックについては、D
/A設定値のさらなる増減設定を行い、調整終了のブロ
ックについては、記憶された調整値を設定する(ステッ
プS38)。その後、ステップS34に戻って、全点灯
波形Skiの再取得に進む。If it is determined in step S35 that there is no block in which the sum of squares of the output difference is larger than the previous value, and if it is determined in step S37 that the adjustment of all blocks has not been completed, the adjustment process is continuously performed. There must be. At this time, for blocks for which adjustment has not been completed, D
The / A setting value is further increased or decreased, and the stored adjustment value is set for the block for which adjustment has been completed (step S38). Thereafter, the process returns to step S34, and proceeds to re-acquisition of all lighting waveforms Ski.
【0033】以上説明した第1の調整方法および第2の
調整方法は、それぞれ単独で実行するものとして説明し
たが、好ましくは、第1の調整方法および第2の調整方
法を併用して実行するとよい。この場合、たとえば出荷
後に紙幣画像読取部ヘ衝撃あるいは振動が加わることに
より、発光部の取り付け姿勢が変化するなどして、個別
波形のピーク位置が出荷時の位置からずれてしまった場
合に調整誤差が発生するが、二つの調整方法を併用する
ことにより調整誤差の影響を緩和することができる。以
下その理由について説明する。Although the first adjustment method and the second adjustment method described above have been described as being executed independently, it is preferable that the first adjustment method and the second adjustment method are executed in combination. Good. In this case, for example, when an impact or vibration is applied to the banknote image reading unit after shipment, the mounting position of the light emitting unit changes, and the peak position of the individual waveform is shifted from the position at the time of shipment. However, the effect of the adjustment error can be reduced by using the two adjustment methods together. The reason will be described below.
【0034】図8は出荷調整後の不具合による調整誤差
を示す説明図である。出荷後に、何らかの原因で発光部
の取り付け姿勢が変化したりブロック内のLEDの劣化
度合が極端に変化した場合、そのブロックでのCCD出
力のピーク位置が変化することがある。たとえばブロッ
クB1での出荷調整時のピーク位置がXaであり、この
ときの初期個別波形はKi1であり、出荷時全点灯波形
がSiであったとする。その後、出荷後調整時のピーク
位置がXkaに移動してしまったとする。FIG. 8 is an explanatory diagram showing an adjustment error due to a defect after the shipment adjustment. If, for some reason, the mounting orientation of the light emitting unit changes or the degree of deterioration of the LEDs in the block changes extremely after shipment, the peak position of the CCD output in the block may change. For example, it is assumed that the peak position at the time of shipment adjustment in the block B1 is Xa, the initial individual waveform at this time is Ki1, and the entire lighting waveform at shipment is Si. Thereafter, it is assumed that the peak position at the time of post-shipment adjustment has moved to Xka.
【0035】この状態で、第1の調整方法による個別ブ
ロックごとの調整を行うときの調整時個別波形がKki
1であるとすると、その調整量Cは、出荷調整時のピー
ク位置Xaにおけるピーク値A1と調整時個別波形Kk
i1の値との差となる。このため、実際に調整を行う場
合は、調整時個別波形Kki1に対して調整量Cの調整
を行うことになり、図示の例では、過剰調整してしまう
ことになる。したがって、調整後の個別波形はKki1
aとなり、初期個別波形Ki1と一致しなくなり、全点
灯時の波形がこのブロックのところだけ突出した全点灯
波形Skiとなってしまう。In this state, the individual waveform at the time of adjustment for each individual block by the first adjustment method is Kki.
If the adjustment amount C is 1, the adjustment amount C is equal to the peak value A1 at the peak position Xa at the time of shipment adjustment and the adjustment individual waveform Kk.
This is the difference from the value of i1. Therefore, when the adjustment is actually performed, the adjustment amount C is adjusted for the individual waveform Kki1 at the time of the adjustment, and in the illustrated example, the adjustment is excessively performed. Therefore, the adjusted individual waveform is Kki1
a, the waveform does not match the initial individual waveform Ki1, and the waveform at the time of full lighting becomes the full lighting waveform Ski protruding only at this block.
【0036】そこで、この第1の調整方法による個別波
形のピーク位置での1点合わせの調整に、さらに、第2
の調整方法による面積合わせの調整を実施することによ
り、全点灯波形Skiの突出した部分の出力値は出荷時
全点灯波形Siの初期値に最も近づくように調整され
る。これにより、個別ブロックのピーク位置が出荷時に
記憶されたピーク位置と異なるようになったとしても、
それによる調整時の影響を最小限にすることができる。Therefore, in the first adjustment method, the adjustment of the single point at the peak position of the individual waveform is performed, and the second adjustment is performed.
Is performed, the output value of the protruding portion of the full lighting waveform Ski is adjusted to be closest to the initial value of the full lighting waveform Si at the time of shipment. With this, even if the peak position of the individual block is different from the peak position stored at the time of shipment,
This can minimize the effect of adjustment.
【0037】以上の調整方法は発光部側のLEDブロッ
クの電流値を調整することにより、受光部の出力レベル
と出荷時の出力レベルとの調整誤差がなくなるように処
理したが、次に、この出荷時の出力レベルとの調整誤差
をさらに小さくする処理について説明する。In the above adjustment method, the current value of the LED block on the light emitting section side is adjusted so that the adjustment error between the output level of the light receiving section and the output level at the time of shipment is eliminated. Processing for further reducing the adjustment error with the output level at the time of shipment will be described.
【0038】図9は本発明を適用した紙幣画像読取部の
別の構成例を示す図である。この図において、紙幣画像
読取部を構成する各要素に関し、図1に示した紙幣画像
読取部の構成要素と同じまたは同等の要素は、同じ符号
を付してその詳細な説明は省略する。この構成例によれ
ば、経時変化調整部5は、設定値調整処理部6、発光量
設定値記憶部7、調整条件記憶部8、初期値記憶部9、
および点灯処理部10に加えて、シェーディング補正係
数再補正処理部11を有している。ここで、発光量設定
値記憶部7は、紙幣鑑別装置の出荷時に、透過率が一様
な基準媒体を用いてCCD出力が一様になるように調整
された発光部1のLEDアレイのブロックごとのD/A
設定値を記憶し、調整条件記憶部8には、搬送路に基準
媒体がない状態でCCD出力が飽和しないよう発光部を
制御駆動したときのCCD露光時間およびLED点灯時
間が記憶され、初期値記憶部9には、その短縮点灯時の
各LEDブロックのピーク位置(CCD画素番号)およ
びピーク値と、全LEDブロックを同時に短縮点灯制御
したときの出荷時全点灯波形Siと、基準値Rおよび基
準媒体装入時のCCD出力Sriより求められたシェー
ディング補正係数Piとが記憶される。FIG. 9 is a diagram showing another configuration example of the bill image reading section to which the present invention is applied. In this figure, with respect to each element constituting the bill image reading unit, the same or equivalent element as the constituent element of the bill image reading unit shown in FIG. 1 is denoted by the same reference numeral, and the detailed description is omitted. According to this configuration example, the time-varying adjustment unit 5 includes the set value adjustment processing unit 6, the light emission amount set value storage unit 7, the adjustment condition storage unit 8, the initial value storage unit 9,
And a shading correction coefficient re-correction processing unit 11 in addition to the lighting processing unit 10. Here, the light emission amount setting value storage unit 7 is a block of the LED array of the light emitting unit 1 which is adjusted such that the CCD output is made uniform by using a reference medium having a uniform transmittance when the bill validator is shipped. D / A for each
The set value is stored, and the adjustment condition storage unit 8 stores the CCD exposure time and the LED lighting time when the light emitting unit is controlled and driven so that the CCD output does not saturate in a state where there is no reference medium in the transport path. The storage unit 9 stores a peak position (CCD pixel number) and a peak value of each LED block at the time of the reduced lighting, a factory-set full lighting waveform Si when all the LED blocks are simultaneously subjected to the reduced lighting control, a reference value R and The shading correction coefficient Pi obtained from the CCD output Sri when the reference medium is loaded is stored.
【0039】シェーディング補正係数再補正処理部11
は、初期値記憶部9に記憶された出荷時全点灯波形Si
およびシェーディング補正係数Piと、調整後に取得し
た調整後全点灯波形Seiとをもとにして、シェーディ
ング補正係数Piの再補正処理を行い、再補正されたシ
ェーディング補正係数Priを出力する。Shading correction coefficient re-correction processing section 11
Is the factory-set full lighting waveform Si stored in the initial value storage unit 9.
The shading correction coefficient Pi is re-corrected based on the shading correction coefficient Pi and the adjusted whole lighting waveform Sei obtained after the adjustment, and the re-corrected shading correction coefficient Pri is output.
【0040】以上の発光量設定値記憶部7、調整条件記
憶部8、および初期値記憶部9にそれぞれ記憶される値
は、上述の第1の調整方法および第2の調整方法に関る
出荷調整時の処理において与えられたものである。The values stored in the light emission amount setting value storage unit 7, the adjustment condition storage unit 8, and the initial value storage unit 9 are the same as those in the first adjustment method and the second adjustment method. This is given in the adjustment process.
【0041】この紙幣画像読取部の経時変化調整部5に
よる調整は、第1の調整方法による調整処理または第2
の調整方法による調整処理の後にシェーディング補正係
数再補正処理を行うが、ここでは、第1の調整方法によ
る調整処理および第2の調整方法による調整処理を行っ
た後にシェーディング補正係数再補正処理を行うことか
らなる。なお、第1の調整方法のみによる調整処理の後
にこのシェーディング補正係数再補正処理を行う場合に
は、出荷調整時の初期値として、全LEDブロックを同
時に短縮点灯制御したときの出荷時全点灯波形Siをあ
らかじめ初期値記憶部9に記憶しておく必要がある。第
1の調整方法による調整処理および第2の調整方法によ
る調整処理は、上述したものと同じであるので、ここで
は、シェーディング補正係数再補正処理について説明す
る。The adjustment by the change-over-time adjusting unit 5 of the bill image reading unit is performed by the adjusting process by the first adjusting method or by the second adjusting method.
The shading correction coefficient re-correction processing is performed after the adjustment processing by the adjustment method of the above. Here, the shading correction coefficient re-correction processing is performed after the adjustment processing by the first adjustment method and the adjustment processing by the second adjustment method. Consisting of When the shading correction coefficient re-correction process is performed after the adjustment process using only the first adjustment method, the initial lighting value at the time of shipment adjustment when all the LED blocks are simultaneously shortened and lightened is set as the initial value at the time of shipment adjustment. It is necessary to store Si in the initial value storage unit 9 in advance. Since the adjustment processing by the first adjustment method and the adjustment processing by the second adjustment method are the same as those described above, the shading correction coefficient re-correction processing will be described here.
【0042】図10はシェーディング補正係数の再補正
処理の流れを示すフローチャートである。まず、設定値
調整処理部6が第1の調整方法による調整処理および第
2の調整方法によりすべてのLEDブロックの経時調整
処理を行った後に、経時変化調整部5は改めて短縮点灯
時の調整後全点灯波形Seiを取得する(ステップS4
1)。次に、シェーディング補正係数再補正処理部11
は、今取得した調整後全点灯波形Seiと初期値記憶部
9に記憶されていた出荷時調整による短縮点灯時の出荷
時全点灯波形Siとの調整誤差比率をCCDの全画素に
ついて算出する(ステップS42)。そして、初期値記
憶部9に記憶されていたシェーディング補正係数Piを
調整誤差比率で再補正し、実際にシェーディング補正に
用いられるシェーディング補正係数Priを算出する
(ステップS43)。このシェーディング補正係数再補
正処理部11によって再補正されたシェーディング補正
係数Priは、次式によって表される。FIG. 10 is a flowchart showing the flow of the re-correction processing of the shading correction coefficient. First, after the set value adjustment processing section 6 performs the adjustment processing by the first adjustment method and the aging adjustment processing of all the LED blocks by the second adjustment method, the aging change adjustment section 5 re-adjusts after the adjustment at the time of the shortened lighting. Acquire all lighting waveforms Sei (step S4)
1). Next, the shading correction coefficient re-correction processing unit 11
Calculates the adjustment error ratio of the obtained adjusted whole lighting waveform Sei and the factory-set full lighting waveform Si at the time of shortened lighting by the factory adjustment stored in the initial value storage section 9 for all pixels of the CCD ( Step S42). Then, the shading correction coefficient Pi stored in the initial value storage unit 9 is re-corrected with the adjustment error ratio, and the shading correction coefficient Pri actually used for the shading correction is calculated (step S43). The shading correction coefficient Pri re-corrected by the shading correction coefficient re-correction processing unit 11 is represented by the following equation.
【0043】[0043]
【数2】Pri=Pi*Si/Sei ・・・(2) 以上のようにして経時変化調整が行われた後、波形取得
部4によって読み取られた紙幣の生画像データは、再補
正されたシェーディング補正係数Priとともに図示し
ないシェーディング補正処理部に送られ、そこで画素ご
とのシェーディング補正が施されることになる。## EQU2 ## Pri = Pi * Si / Sei (2) After the temporal change adjustment is performed as described above, the raw image data of the banknote read by the waveform acquisition unit 4 is re-corrected. The data is sent to a shading correction processing unit (not shown) together with the shading correction coefficient Pri, where shading correction is performed for each pixel.
【0044】[0044]
【発明の効果】以上説明したように、本発明では、CC
D出力の経時変化を各LEDブロックの個別波形のピー
ク値の差もしくは全点灯波形の初期と経時の面積差を用
いて調整する構成にした。これにより、常に初期状態と
同様の紙幣画像を取得でき、安定した紙幣鑑別を行うこ
とができる。As described above, according to the present invention, CC
A configuration is adopted in which the change with time of the D output is adjusted using the difference between the peak values of the individual waveforms of each LED block or the area difference between the initial and the elapsed time of all the lighting waveforms. Thereby, the same bill image as the initial state can be always obtained, and stable bill discrimination can be performed.
【0045】さらに、各LEDブロックの調整終了後
に、シェーディング補正係数を再補正するように構成し
た。これにより、出荷時のCCD出力との調整誤差をさ
らに小さくすることができる。Further, after the adjustment of each LED block is completed, the shading correction coefficient is corrected again. As a result, an adjustment error with the CCD output at the time of shipment can be further reduced.
【図1】本発明を適用した紙幣画像読取部の構成例を示
す図である。FIG. 1 is a diagram illustrating a configuration example of a bill image reading unit to which the present invention has been applied.
【図2】CCD出力経時変化の第1の調整方法を示す説
明図である。FIG. 2 is an explanatory diagram illustrating a first adjustment method of a change with time of a CCD output.
【図3】第1の調整方法に関わる出荷時調整の処理の流
れを示すフローチャートである。FIG. 3 is a flowchart showing a flow of a factory adjustment process relating to a first adjustment method.
【図4】第1の調整方法に関わる経時調整の処理の流れ
を示すフローチャートである。FIG. 4 is a flowchart illustrating a flow of a temporal adjustment process related to a first adjustment method.
【図5】CCD出力経時変化の第2の調整方法を示す説
明図である。FIG. 5 is an explanatory diagram showing a second adjustment method of the change with time of the CCD output.
【図6】第2の調整方法に関わる出荷時調整の処理の流
れを示すフローチャートである。FIG. 6 is a flowchart showing a flow of a factory adjustment process relating to a second adjustment method.
【図7】第2の調整方法に関わる経時調整の処理の流れ
を示すフローチャートである。FIG. 7 is a flowchart illustrating a flow of a temporal adjustment process related to a second adjustment method.
【図8】出荷調整後の不具合による調整誤差を示す説明
図である。FIG. 8 is an explanatory diagram showing an adjustment error due to a defect after shipping adjustment.
【図9】本発明を適用した紙幣画像読取部の別の構成例
を示す図である。FIG. 9 is a diagram showing another configuration example of the bill image reading unit to which the present invention is applied.
【図10】シェーディング補正係数の再補正処理の流れ
を示すフローチャートである。FIG. 10 is a flowchart illustrating a flow of a re-correction process of a shading correction coefficient.
【図11】紙幣鑑別装置の画像読取センサの一構成例を
示す図である。FIG. 11 is a diagram illustrating a configuration example of an image reading sensor of the bill validator.
1 発光部 2 受光部 3 LED駆動部 4 波形取得部 5 経時変化調整部 6 設定値調整処理部 7 発光量設定値記憶部 8 調整条件記憶部 9 初期値記憶部 10 点灯処理部 11 シェーディング補正係数再補正処理部 21 光源部 22 受光部 23 紙幣 24 CCD 25 レンズ 26 CCD駆動回路 27 増幅回路 28 アナログ・ディジタル変換器(A/D変換器) 29 制御回路 30 ディジタル・アナログ変換器(D/A変換器) 31 LED駆動回路 32 搬送路 DESCRIPTION OF SYMBOLS 1 Light-emitting part 2 Light-receiving part 3 LED drive part 4 Waveform acquisition part 5 Temporal change adjustment part 6 Set value adjustment processing part 7 Light emission amount set value storage part 8 Adjustment condition storage part 9 Initial value storage part 10 Lighting processing part 11 Shading correction coefficient Re-correction processing unit 21 Light source unit 22 Light receiving unit 23 Banknote 24 CCD 25 Lens 26 CCD drive circuit 27 Amplification circuit 28 Analog / digital converter (A / D converter) 29 Control circuit 30 Digital / analog converter (D / A conversion) 31) LED drive circuit 32 Transport path
───────────────────────────────────────────────────── フロントページの続き (72)発明者 山田 輝久 神奈川県川崎市川崎区田辺新田1番1号 富士電機株式会社内 (72)発明者 岩本 章良 神奈川県川崎市川崎区田辺新田1番1号 富士電機株式会社内 Fターム(参考) 2G065 AA04 AA11 AB23 AB28 BA04 BA33 BA34 BC02 BC03 BC19 BC21 BC28 BC33 CA25 DA01 DA15 3E041 AA02 BB02 BB03 CB03 CB07 EA03 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Teruhisa Yamada 1-1-1, Tanabe Nitta, Kawasaki-ku, Kawasaki, Kanagawa Prefecture Inside Fuji Electric Co., Ltd. (72) Inventor Akira Iwamoto 1st Tanabe Nitta, Kawasaki-ku, Kawasaki-shi, Kanagawa Prefecture No. 1 Fuji Electric Co., Ltd. F term (reference) 2G065 AA04 AA11 AB23 AB28 BA04 BA33 BA34 BC02 BC03 BC19 BC21 BC28 BC33 CA25 DA01 DA15 3E041 AA02 BB02 BB03 CB03 CB07 EA03
Claims (10)
って照明された媒体の透過光を検出して媒体の画像を読
み取る画像読取センサの調整方法において、 ブロック別に点灯された光を直接受光したときの画像出
力が飽和しない露光時間および点灯時間と、前記露光時
間および点灯時間で得られた画像出力のピーク位置およ
びピーク値とをあらかじめ初期値としてブロックごとに
求め、 経時変化に対する調整時には、各ブロックを前記露光時
間および点灯時間で順次点灯させ、各ブロックごとに前
記ピーク位置における出力値を前記ピーク値と一致する
ように当該ブロックの発光量を調整する、 ことを特徴とする画像読取センサの調整方法。1. A method for adjusting an image reading sensor for detecting a transmitted light of a medium illuminated by a light source controlled to be turned on for each block and reading an image of the medium, comprising the steps of: The exposure time and the lighting time at which the image output is not saturated, and the peak position and the peak value of the image output obtained at the exposure time and the lighting time are obtained in advance for each block as initial values. A method of adjusting an image reading sensor, comprising sequentially lighting the exposure time and the lighting time, and adjusting the light emission amount of the block so that an output value at the peak position matches the peak value for each block. .
って照明された媒体の透過光を検出して媒体の画像を読
み取る画像読取センサの調整方法において、 ブロック別に点灯された光を直接受光したときの画像出
力が飽和しない露光時間および点灯時間と、前記露光時
間および点灯時間で得られた画像出力のピーク位置と、
全ブロックを同時に点灯させたときに得られた初期画像
出力とをあらかじめ初期値として求め、 経時変化に対する調整時には、各ブロックを前記露光時
間および点灯時間で全ブロック同時に点灯させることに
より画像出力を取得し、各ブロックの前記ピーク位置を
含む所定の画素範囲において前記初期画像出力の出力値
と取得した前記画像出力の出力値との出力差の総和およ
び前記出力差の二乗和を算出し、ブロックごとに前記出
力差の総和の正負により発光量の増減方向を決定して、
前記出力差の二乗和が最も小さくなるように各ブロック
の発光量を調整する、 ことを特徴とする画像読取センサの調整方法。2. A method for adjusting an image reading sensor for detecting a transmitted light of a medium illuminated by a light source controlled to be turned on for each block and reading an image on the medium, the method comprising the steps of: Exposure time and lighting time when the image output is not saturated, and the peak position of the image output obtained at the exposure time and lighting time,
The initial image output obtained when all the blocks are turned on at the same time is obtained in advance as an initial value, and when adjusting for aging, an image output is obtained by turning on each block simultaneously with the exposure time and the lighting time for each block. Then, in a predetermined pixel range including the peak position of each block, a total sum of output differences between the output value of the initial image output and the obtained output value of the image output and a sum of squares of the output differences are calculated. The direction of increase or decrease of the light emission amount is determined by the sign of the sum of the output differences,
Adjusting the light emission amount of each block so that the sum of squares of the output difference is minimized.
に、前記露光時間および点灯時間で全ブロック同時に点
灯させることにより調整後画像出力を取得し、前記調整
後画像出力と前記初期画像出力との調整誤差比率を算出
し、初期値としてあらかじめ求められていたシェーディ
ング補正係数を前記調整誤差比率によって再補正するこ
とを特徴とする請求項2記載の画像読取センサの調整方
法。3. After the adjustment of the light emission amounts of all the blocks is completed, the adjusted image output is obtained by simultaneously lighting all the blocks with the exposure time and the lighting time, and obtaining the adjusted image output and the initial image output. 3. The image reading sensor adjustment method according to claim 2, wherein the adjustment error ratio is calculated, and the shading correction coefficient determined in advance as an initial value is re-corrected by the adjustment error ratio.
って照明された媒体の透過光を検出して媒体の画像を読
み取る画像読取センサの調整方法において、 ブロック別に点灯された光を直接受光したときの画像出
力が飽和しない露光時間および点灯時間と、前記露光時
間および点灯時間で得られた画像出力のピーク位置およ
びピーク値と、全ブロックを同時に点灯させたときに得
られた初期画像出力とをあらかじめ初期値として求め、 経時変化に対する調整時には、各ブロックを前記露光時
間および点灯時間で順次点灯させ、各ブロックごとに前
記ピーク位置における出力値を前記ピーク値と一致する
ように当該ブロックの発光量を調整し、 さらに、各ブロックを前記露光時間および点灯時間で全
ブロック同時に点灯させることにより画像出力を取得
し、各ブロックの前記ピーク位置を含む所定の画素範囲
において前記初期画像出力の出力値と取得した前記画像
出力の出力値との出力差の総和および前記出力差の二乗
和を算出し、ブロックごとに前記出力差の総和の正負に
より発光量の増減方向を決定して、前記出力差の二乗和
が最も小さくなるように各ブロックの発光量を調整す
る、 ことを特徴とする画像読取センサの調整方法。4. An adjusting method of an image reading sensor for detecting a transmitted light of a medium illuminated by a light source controlled to be turned on for each block and reading an image of the medium, the method comprising the steps of: The exposure time and the lighting time at which the image output is not saturated, the peak position and the peak value of the image output obtained at the exposure time and the lighting time, and the initial image output obtained when all the blocks are turned on at the same time are previously determined. Obtained as an initial value, when adjusting for a change over time, each block is sequentially lit with the exposure time and the lighting time, and the light emission amount of the block is adjusted so that the output value at the peak position matches the peak value for each block. Adjustment, and furthermore, all the blocks are turned on at the same exposure time and lighting time at the same time, and an image is output. Force, calculating the sum of output differences between the output value of the initial image output and the obtained output value of the image output in a predetermined pixel range including the peak position of each block and the sum of squares of the output difference. Determining the direction of increase or decrease in the amount of light emission for each block based on the sign of the sum of the output differences, and adjusting the amount of light emission of each block so that the sum of squares of the output differences is minimized. How to adjust the sensor.
に、前記露光時間および点灯時間で全ブロック同時に点
灯させることにより調整後画像出力を取得し、前記調整
後画像出力と前記初期画像出力との調整誤差比率を算出
し、初期値としてあらかじめ求められていたシェーディ
ング補正係数を前記調整誤差比率によって再補正するこ
とを特徴とする請求項4記載の画像読取センサの調整方
法。5. After the adjustment of the light emission amount of all blocks, the adjusted image output is obtained by simultaneously lighting all the blocks with the exposure time and the lighting time, and obtaining the adjusted image output and the initial image output. 5. The adjustment method for an image reading sensor according to claim 4, wherein the adjustment error ratio is calculated, and a shading correction coefficient previously obtained as an initial value is re-corrected by the adjustment error ratio.
に点灯制御される光源部と、媒体の透過光を受光して画
像出力を得る受光部とを有する画像読取センサの調整装
置において、 透過率が一様な基準媒体を用いて画像出力が一様になる
よう前記発光部を点灯制御したときのブロック別の発光
量設定値または経時調整後の発光量設定値をブロック別
に記憶する発光量設定値記憶手段と、 前記基準媒体のない状態で点灯された光を受光したとき
の画像出力が飽和しない露光時間および点灯時間を含む
調整条件をブロック別に記憶する調整条件記憶手段と、 前記調整条件下で得られた画像出力のピーク位置および
ピーク値をブロック別に記憶する初期値記憶手段と、 経時調整の際に前記調整条件記憶手段に記憶された前記
調整条件に基づいて前記発光量設定値記憶手段に記憶さ
れた発光量設定値で前記光源部をブロック別に点灯制御
する点灯処理手段と、 前記調整条件記憶手段に記憶された前記点灯時間および
露光時間の間だけ前記発光量設定値記憶部に記憶された
発光量設定値でブロックごとに点灯したときに得られた
ブロックごとの画像出力の前記ピーク位置における出力
値と前記ピーク値とが一致するまで前記発光量設定値記
憶部に記憶された発光量設定値を更新する設定値調整処
理手段と、 を備えていることを特徴とする画像読取センサの調整装
置。6. An adjusting device for an image reading sensor, comprising: a light source section which is divided into a plurality of blocks and is controlled to be turned on for each block; and a light receiving section which receives a transmitted light of a medium and obtains an image output. A light emission amount setting value for storing the light emission amount setting value for each block or the light emission amount setting value after aging adjustment for each block when the light emitting unit is controlled to light so that the image output becomes uniform using a uniform reference medium. Storage means, adjustment condition storage means for storing, for each block, adjustment conditions including an exposure time and a lighting time at which an image output when light lit without the reference medium is received is saturated, and under the adjustment conditions Initial value storage means for storing the peak position and peak value of the obtained image output for each block; and, based on the adjustment conditions stored in the adjustment condition storage means at the time of aging adjustment. Lighting processing means for controlling lighting of the light source unit for each block with the light emission amount set value stored in the light emission amount storage means; and the light emission amount only during the lighting time and the exposure time stored in the adjustment condition storage means The light emission amount setting value storage until the output value at the peak position of the image output for each block obtained when the light emission amount setting value stored in the setting value storage unit is turned on for each block coincides with the peak value. And a setting value adjustment processing unit for updating a light emission amount setting value stored in the unit.
に点灯制御される光源部と、媒体の透過光を受光して画
像出力を得る受光部とを有する画像読取センサの調整装
置において、 透過率が一様な基準媒体を用いて画像出力が一様になる
よう前記発光部を点灯制御したときのブロック別の発光
量設定値または経時調整後の発光量設定値をブロック別
に記憶する発光量設定値記憶手段と、 前記基準媒体のない状態で点灯された光を受光したとき
の画像出力が飽和しない露光時間および点灯時間を含む
調整条件をブロック別に記憶する調整条件記憶手段と、 前記調整条件下で前記光源部を全点灯したときの画像出
力とブロックごとに個別点灯したときの画像出力のピー
ク位置とを記憶する初期値記憶手段と、 経時調整の際に前記調整条件記憶手段に記憶された前記
調整条件に基づいて前記発光量設定値記憶手段に記憶さ
れた発光量設定値で前記光源部を全点灯制御する点灯処
理手段と、 前記調整条件記憶手段に記憶された前記点灯時間および
露光時間の間だけ前記発光量設定値記憶部に記憶された
発光量設定値で全点灯したときに得られたブロックごと
の画像出力の前記ピーク位置近傍の出力差が最も小さく
なるまで前記発光量設定値記憶部に記憶された発光量設
定値を更新する設定値調整処理手段と、 を備えていることを特徴とする画像読取センサの調整装
置。7. An adjusting device for an image reading sensor, comprising: a light source section which is divided into a plurality of blocks and is controlled to be turned on for each block; and a light receiving section which receives a transmitted light of a medium and obtains an image output. A light emission amount setting value for storing the light emission amount setting value for each block or the light emission amount setting value after aging adjustment for each block when the light emitting unit is controlled to light so that the image output becomes uniform using a uniform reference medium. Storage means, adjustment condition storage means for storing, for each block, adjustment conditions including an exposure time and a lighting time at which an image output when light lit without the reference medium is received is saturated, and under the adjustment conditions Initial value storage means for storing an image output when the light source unit is fully lit and a peak position of the image output when individually illuminated for each block; Lighting processing means for performing full lighting control of the light source unit based on the light emission amount set value stored in the light emission amount set value storage means based on the adjustment condition stored in the lighting condition stored in the adjustment condition storage means Time and the exposure time until the output difference in the vicinity of the peak position of the image output for each block obtained when all the lights are turned on with the light emission amount set value stored in the light emission amount set value storage unit is minimized. An adjustment device for an image reading sensor, comprising: setting value adjustment processing means for updating the light emission amount set value stored in the light emission amount set value storage unit.
の透過光を受光したときのシェーディングが均一になる
ように調整されたシェーディング補正係数を記憶するよ
うにしたこと、および、全ブロックの発光量を調整した
後に前記露光時間および点灯時間で全ブロック同時に点
灯させて取得した調整後画像出力と前記初期値記憶手段
に記憶された画像出力との調整誤差比率を算出し、前記
初期値記憶手段の前記シェーディング補正係数を前記調
整誤差比率によって再補正するシェーディング補正係数
再補正処理手段をさらに備えていることを特徴とする請
求項7記載の画像読取センサの調整装置。8. The initial value storage means stores a shading correction coefficient adjusted so that shading when receiving transmitted light from the reference medium is uniform, and light emission of all blocks. After adjusting the amount, calculate the adjustment error ratio between the adjusted image output obtained by lighting all the blocks simultaneously with the exposure time and the lighting time and the image output stored in the initial value storage means, and calculate the initial value storage means. 8. The image reading sensor adjustment apparatus according to claim 7, further comprising a shading correction coefficient re-correction processing unit for re-correcting the shading correction coefficient according to the adjustment error ratio.
に点灯制御される光源部と、媒体の透過光を受光して画
像出力を得る受光部とを有する画像読取センサの調整装
置において、 透過率が一様な基準媒体を用いて画像出力が一様になる
よう前記発光部を点灯制御したときのブロック別の発光
量設定値または経時調整後の発光量設定値をブロック別
に記憶する発光量設定値記憶手段と、 前記基準媒体のない状態で点灯された光を受光したとき
の画像出力が飽和しない露光時間および点灯時間を含む
調整条件をブロック別に記憶する調整条件記憶手段と、 前記調整条件下で前記光源部を全点灯したときの画像出
力とブロックごとに個別点灯したときの画像出力のピー
ク位置およびピーク値とを記憶する初期値記憶手段と、 経時調整の際に前記調整条件記憶手段に記憶された前記
調整条件に基づいて前記発光量設定値記憶手段に記憶さ
れた発光量設定値で前記光源部をブロック別または全点
灯制御する点灯処理手段と、 前記調整条件記憶手段に記憶された前記点灯時間および
露光時間の間だけ前記発光量設定値記憶部に記憶された
発光量設定値でブロックごとに点灯したときに得られた
ブロックごとの画像出力の前記ピーク位置における出力
値と前記ピーク値とが一致するまで前記発光量設定値記
憶部に記憶された発光量設定値を更新するとともに、前
記調整条件記憶手段に記憶された前記点灯時間および露
光時間の間だけ前記発光量設定値記憶部に記憶された発
光量設定値で全点灯したときに得られたブロックごとの
画像出力の前記ピーク位置近傍の出力差が最も小さくな
るまで前記発光量設定値記憶部に記憶された発光量設定
値を更新する設定値調整処理手段と、 を備えていることを特徴とする画像読取センサの調整装
置。9. An adjusting device for an image reading sensor, comprising: a light source unit which is divided into a plurality of blocks and is controlled to be turned on for each block; and a light receiving unit which receives a transmitted light of a medium and obtains an image output. A light emission amount setting value for storing the light emission amount setting value for each block or the light emission amount setting value after aging adjustment for each block when the light emitting unit is controlled to light so that the image output becomes uniform using a uniform reference medium. Storage means, adjustment condition storage means for storing, for each block, adjustment conditions including an exposure time and a lighting time at which an image output when light lit without the reference medium is received is saturated, and under the adjustment conditions Initial value storage means for storing an image output when the light source unit is fully lit and a peak position and a peak value of the image output when individually lit for each block; and Lighting processing means for performing block-by-block or full lighting control of the light source unit based on the light emission amount set value stored in the light emission amount set value storage means based on the adjustment condition stored in the adjustment condition storage means; and the adjustment condition storage. At the peak position of the image output for each block obtained when lighting is performed for each block with the light emission amount set value stored in the light emission amount set value storage unit only during the lighting time and the exposure time stored in the means. While updating the light emission amount set value stored in the light emission amount set value storage unit until the output value and the peak value match, the light emission amount set value stored in the adjustment condition storage means only during the lighting time and the exposure time. Until the output difference in the vicinity of the peak position of the image output for each block obtained when all the lights are turned on with the light emission amount set value stored in the light emission amount set value storage unit becomes the smallest. Emission amount set value and the set value adjustment processing means for updating the light emission amount setting value stored in the storage unit, the image reading adjustment device of the sensor, characterized in that it comprises.
らの透過光を受光したときのシェーディングが均一にな
るように調整されたシェーディング補正係数を記憶する
ようにしたこと、および、全ブロックの発光量を調整し
た後に前記露光時間および点灯時間で全ブロック同時に
点灯させて取得した調整後画像出力と前記初期値記憶手
段に記憶された画像出力との調整誤差比率を算出し、前
記初期値記憶手段の前記シェーディング補正係数を前記
調整誤差比率によって再補正するシェーディング補正係
数再補正処理手段をさらに備えていることを特徴とする
請求項9記載の画像読取センサの調整装置。10. The initial value storage means stores a shading correction coefficient adjusted so that shading when receiving transmitted light from the reference medium is uniform, and light emission of all blocks. After adjusting the amount, calculate the adjustment error ratio between the adjusted image output obtained by lighting all the blocks simultaneously with the exposure time and the lighting time and the image output stored in the initial value storage means, and calculate the initial value storage means. 10. The image reading sensor adjustment apparatus according to claim 9, further comprising a shading correction coefficient re-correction processing means for re-correcting the shading correction coefficient according to the adjustment error ratio.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11006533A JP2000222614A (en) | 1998-11-27 | 1999-01-13 | Image reading sensor adjustment method and device |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP33682798 | 1998-11-27 | ||
JP10-336827 | 1998-11-27 | ||
JP11006533A JP2000222614A (en) | 1998-11-27 | 1999-01-13 | Image reading sensor adjustment method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2000222614A true JP2000222614A (en) | 2000-08-11 |
Family
ID=26340710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP11006533A Withdrawn JP2000222614A (en) | 1998-11-27 | 1999-01-13 | Image reading sensor adjustment method and device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2000222614A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006260166A (en) * | 2005-03-17 | 2006-09-28 | Oki Electric Ind Co Ltd | Medium discrimination device |
JP2010272009A (en) * | 2009-05-22 | 2010-12-02 | Hitachi Omron Terminal Solutions Corp | Paper sheet optical property identification device, paper sheet optical property identification device design method, paper sheet optical property detection method |
US8305597B2 (en) | 2006-09-28 | 2012-11-06 | Brother Kogyo Kabushiki Kaisha | Image recognition device, copy apparatus and image recognition method |
US8358848B2 (en) | 2006-09-27 | 2013-01-22 | Brother Kogyo Kabushiki Kaisha | Image recognition device, copy apparatus and image recognition method |
-
1999
- 1999-01-13 JP JP11006533A patent/JP2000222614A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006260166A (en) * | 2005-03-17 | 2006-09-28 | Oki Electric Ind Co Ltd | Medium discrimination device |
US8358848B2 (en) | 2006-09-27 | 2013-01-22 | Brother Kogyo Kabushiki Kaisha | Image recognition device, copy apparatus and image recognition method |
US8305597B2 (en) | 2006-09-28 | 2012-11-06 | Brother Kogyo Kabushiki Kaisha | Image recognition device, copy apparatus and image recognition method |
JP2010272009A (en) * | 2009-05-22 | 2010-12-02 | Hitachi Omron Terminal Solutions Corp | Paper sheet optical property identification device, paper sheet optical property identification device design method, paper sheet optical property detection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0999697B1 (en) | An image scanner having image correcting function | |
EP1668918B1 (en) | Image pickup apparatus and white balance control method | |
US7450777B2 (en) | Method for adjusting image data | |
US5237401A (en) | Color image reading apparatus including color correction means | |
US20030044066A1 (en) | Device and method for image pickup | |
JP2000222614A (en) | Image reading sensor adjustment method and device | |
US7605951B2 (en) | Image reader, image forming and reproducing apparatus, and image reading method | |
JP4110715B2 (en) | Image processing device | |
JPH0799850B2 (en) | Image reading device for image recording device | |
US6525764B2 (en) | Image read method for performing image signal processes complying with the color of a reference portion of a recording medium, and image read apparatus adopting the method | |
JP3222805B2 (en) | Image reading device | |
US20100155474A1 (en) | System and method for calibrating an optical reader system | |
US7679660B2 (en) | Solid-state image pickup apparatus for compensating for deterioration in horizontal charge transfer efficiency | |
US7301678B2 (en) | Image reading device and gain setting method in image reading device | |
JP4173452B2 (en) | Image reading apparatus, image forming apparatus, and image reading method | |
EP1578109B1 (en) | Imaging apparatus, image processing apparatus, image processing system and image processing method | |
JP2002057899A (en) | Image reading device and image forming device | |
JP2001346012A (en) | Image reading apparatus and image signal adjustment method | |
JPH099142A (en) | Film image processing method | |
JP2001268322A (en) | Image reading device | |
JP3128836B2 (en) | Shading correction device in image reading device | |
JP3245213B2 (en) | Image reading device | |
JPH07298047A (en) | Image reader | |
JP2000207605A (en) | Bill discriminating method and apparatus | |
JP2007042680A (en) | Line light source pass / fail judgment method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050614 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20070709 |