JPH03235586A - Processing unit for image sensor - Google Patents
Processing unit for image sensorInfo
- Publication number
- JPH03235586A JPH03235586A JP2031723A JP3172390A JPH03235586A JP H03235586 A JPH03235586 A JP H03235586A JP 2031723 A JP2031723 A JP 2031723A JP 3172390 A JP3172390 A JP 3172390A JP H03235586 A JPH03235586 A JP H03235586A
- Authority
- JP
- Japan
- Prior art keywords
- sensor
- output
- temperature
- image
- accumulation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Automatic Focus Adjustment (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
- Focusing (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はイメージセンサ−に蓄積された像信号処理装置
に関するものある。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image signal processing device stored in an image sensor.
従来、CCD等入射光を蓄積して像信号を出力するイメ
ージセンサ−においては、センサー固体の製造誤差等が
存在、該センサーの各画素に同一光が入射しても、各画
素の出力が一致しないことが起きていた。Conventionally, in image sensors such as CCDs that accumulate incident light and output image signals, there are manufacturing errors in the sensor solid state, and even if the same light enters each pixel of the sensor, the output of each pixel will not match. Things were happening that shouldn't happen.
このため、センサーに対して光を照射しない状態での各
画素出力や一様の光を照射した状態での各画素出力を予
め求めておき、これらのデータをパラ−メーターとして
センサーの各画素出力を補正する方法がと取られている
。Therefore, the output of each pixel when the sensor is not irradiated with light or the output of each pixel when uniform light is irradiated is determined in advance, and these data are used as parameters to determine the output of each pixel of the sensor. A method is being taken to correct this.
しかしながら、イメージセンサ−では上記各画素出力誤
差の他に温度による誤差や、蓄積時間によって発生する
誤差が存在し、従来の方法ではイメージセンサ−を使用
する場所での温度が異なりたり、蓄積時間が異なったり
すると正確な出力を得ることが出来なかった。However, in addition to the above-mentioned pixel output errors, image sensors also have temperature-related errors and errors that occur due to accumulation time. If they were different, accurate output could not be obtained.
本発明は上記の事項に鑑みなされたもので、イメージセ
ンサ−での実際の蓄積時間を検知して、該蓄積時間をフ
ァクターとしてイメージセンサ−の出力を補正し、上述
の不都合を解消したイメージセンサ−処理装置を提供せ
んとするものである。The present invention has been made in view of the above-mentioned matters, and is an image sensor that detects the actual accumulation time in the image sensor and corrects the output of the image sensor using the accumulation time as a factor, thereby eliminating the above-mentioned disadvantages. -Provides processing equipment.
本発明は更にイメージセンサ−使用時における温度を検
知して温度をファクターとしてイメージセンサ−の出力
を補正し、上述の不都合を解消したイメージサンサ処理
装置を提供せんとするものである。A further object of the present invention is to provide an image sensor processing device that eliminates the above-mentioned disadvantages by detecting the temperature of the image sensor when it is in use and correcting the output of the image sensor using the temperature as a factor.
第3図は上記実施例を実現するための焦点検出装置の概
略構成を示す図である。FIG. 3 is a diagram showing a schematic configuration of a focus detection device for realizing the above embodiment.
図中、MSKは視野マスクであり、中央に十字形の開口
部MSK−1、両側の周辺部に縦長の開口部MSK−2
,MSK−3を有している。In the figure, MSK is a field mask, with a cross-shaped opening MSK-1 in the center and vertical openings MSK-2 at the periphery on both sides.
, MSK-3.
FLDLはフィールドレンズであり、視野マスクの3つ
の開口部MSK−1,MSK−2゜MSK−3に対応し
て、3つの部分FLDL−1、FLDL−2,FLDL
−3から成っている。DPは絞りであり、中心部には上
下左右に一対ずつ計4つの開口DP−1a、DP−1b
。FLDL is a field lens, which has three parts FLDL-1, FLDL-2, FLDL corresponding to the three openings MSK-1, MSK-2°MSK-3 of the field mask.
-3. DP is a diaphragm, and there are a total of four openings DP-1a and DP-1b in the center, one pair each on the top, bottom, left and right.
.
DP−4a、DP−4bを、また左右の周辺部分には一
対2つの開口DP−2a、DP−2b及びDP−3a、
DP−3bがそれぞれ設けられている。前記フィールド
レンズFLDLの各領域FLDL−1,FLDL−2、
FLDL−3はそれぞれこれらの開口対DP−1,DP
−2゜DP−3を不図示の対物レンズの射出瞳付近に結
像する作用を有している。AFLは4対計8つのレンズ
AFL−1a、AFL−1b、AFL−4a、AFL−
4b、AFL−2a、AFL2b、AFL−3a、AF
L−3bからなる2次結像レンズであり、絞りDPの各
開口に対応して、その後方に配置されている。SNSは
4対計8つのセンサー列5NS−1a、5NS−1b。DP-4a, DP-4b, and a pair of two openings DP-2a, DP-2b and DP-3a in the left and right peripheral parts,
DP-3b is provided respectively. Each area FLDL-1, FLDL-2 of the field lens FLDL,
FLDL-3 has these aperture pairs DP-1 and DP, respectively.
It has the function of forming an image of -2°DP-3 near the exit pupil of an objective lens (not shown). AFL has 4 pairs of lenses in total AFL-1a, AFL-1b, AFL-4a, AFL-
4b, AFL-2a, AFL2b, AFL-3a, AF
This is a secondary imaging lens consisting of L-3b, and is arranged behind each aperture of the aperture DP, corresponding to each aperture. SNS has 4 pairs of 8 sensor rows 5NS-1a and 5NS-1b.
5NS−4a、 5NS−4b、 5NS−2aS
NS−2b、5NS−3a、5NS−3bから成るセン
サーであり、各2次結像レンズAFLに対応してその像
を受光するように配置されている。多対のセンサーにて
それぞれ異なる領域の焦点状態を検出している。尚各領
域を測距点と称するものとする。5NS-4a, 5NS-4b, 5NS-2aS
The sensor is composed of NS-2b, 5NS-3a, and 5NS-3b, and is arranged so as to correspond to each secondary imaging lens AFL and receive its image. Multiple pairs of sensors detect the focus state of each different area. Note that each area is referred to as a distance measurement point.
この第3図に示す焦点検出系では、撮影レンズの焦点が
フィルム面より前方にある場合、各センサー列対上に形
成される被写体像は互いに近づいた状態になり、焦点が
後方にある場合には、被写体像は互いに離れた状態にな
る。この被写体像の相対位置変位量は撮影レンズの焦点
外れ量と特定の関数関係にあるため、各センサー列対で
そのセンサー出力に対してそれぞれ適当な演算を施せば
、撮影レンズの焦点外れ量、いわゆるデフォーカス量を
検出することが出来る。In the focus detection system shown in Fig. 3, when the focal point of the photographing lens is in front of the film plane, the subject images formed on each pair of sensor rows are close to each other, and when the focal point is behind the film plane, the subject images are close to each other. In this case, the subject images are separated from each other. This amount of relative positional displacement of the subject image has a specific functional relationship with the amount of defocus of the photographing lens, so if appropriate calculations are performed on the sensor outputs of each pair of sensor rows, the amount of defocus of the photographing lens, It is possible to detect the so-called defocus amount.
以上で説明したような構成をとることにより、不図示の
対物レンズにより撮影または観察される範囲の中心付近
では、光量分布が上下または左右の一方向にのみ変化す
るような物体に対しても測距することが可能となり、中
心以外の視野マスクの週辺の開口部MSK−2,MSK
−3に対応する位置にある物体に対しても測距すること
ができる。By adopting the configuration described above, it is possible to measure even objects whose light intensity distribution changes only in one direction, vertically or horizontally, near the center of the range photographed or observed by an objective lens (not shown). It becomes possible to distance the opening MSK-2, MSK on the week side of the field mask other than the center.
It is also possible to measure the distance to an object located at a position corresponding to -3.
第4図は第3図に焦点検出系を持つ焦点検出装置をカメ
ラ内に収納した場合の配置を示したものである。FIG. 4 shows the arrangement when the focus detection device having the focus detection system shown in FIG. 3 is housed in a camera.
図中、LMSはズーム撮影レンズ、QRMはクイックリ
ターンミラー、FSCRNは焦点板、PPはペンタリズ
ム、EPLは接眼レンズ、FPLNはフィルム面、SM
はサブミラーMSKは視野マスク、ICFは赤外カット
フィルタ、FEDLはフィールドレンズ、RMI、RM
2は第1.第2の反射ミラー、SHMSKは遮光マスク
、DPは絞り、AFLは2次結像レンズ、AFPは反射
面AFP−1と射出面AFP−2を有するプリズム部材
、SNSはカバーガラス5NSCG及び受光面5NSP
LNを有するセンサーである。プリズム部材A、 F
Pは、アルミ等の金属反射膜を蒸着した反斜面AFP−
1を有し、2次結像レンズAFLからの光束を反射して
、射出面AFP−2に偏向する作用を有している。In the figure, LMS is a zoom shooting lens, QRM is a quick return mirror, FSCRN is a focus plate, PP is a pentalism, EPL is an eyepiece, FPLN is a film surface, and SM
is the submirror MSK is the field mask, ICF is the infrared cut filter, FEDL is the field lens, RMI, RM
2 is the first. A second reflection mirror, SHMSK is a light-shielding mask, DP is an aperture, AFL is a secondary imaging lens, AFP is a prism member having a reflection surface AFP-1 and an exit surface AFP-2, and SNS is a cover glass 5NSCG and a light-receiving surface 5NSP.
This is a sensor with LN. Prism members A, F
P is a reverse slope AFP- which has a metal reflective film such as aluminum deposited on it.
1, and has the function of reflecting the light beam from the secondary imaging lens AFL and deflecting it to the exit surface AFP-2.
第2図は第3図及び第4図の如き焦点検出装置を備えた
カメラの具体的な構成の一例を示す回路図であり、先ず
各部の構成について説明する。FIG. 2 is a circuit diagram showing an example of a specific configuration of a camera equipped with a focus detection device as shown in FIGS. 3 and 4. First, the configuration of each part will be explained.
第2図において、PH3はカメラの制御装置で、例えば
、内部にCPU (中央処置装置)。In FIG. 2, PH3 is a camera control device, for example, a CPU (central processing unit) inside.
ROM RA、M、A/D変換機能を有する1チツプ
のマイクロコンピュータ(以下マイコンと記す)である
。マイコンPR8はROMに格納されたカメラのシーケ
ンスプログラムに従って、自動露出制御機能、自動焦点
調節機能、フィルムの巻上げ巻戻し等のカメラの一連の
動作を行っている。そのために、マイコンPRSは通信
用信号5o−3I、5CLK、通信選択信号CLCM。It is a one-chip microcomputer (hereinafter referred to as microcomputer) having ROM RA, M, and A/D conversion functions. The microcomputer PR8 performs a series of camera operations such as an automatic exposure control function, an automatic focus adjustment function, and film winding and rewinding according to a camera sequence program stored in the ROM. For this purpose, the microcomputer PRS uses communication signals 5o-3I, 5CLK, and communication selection signal CLCM.
C3DR,CDDRを用いて、カメラ本体内の周辺回路
及びレンズ内制御装置と通信を行って、各々の回路やレ
ンズの動作を制御する。The C3DR and CDDR are used to communicate with peripheral circuits within the camera body and a control device within the lens to control the operation of each circuit and lens.
SOはマイコンPR3から出力されるデータ信号、SI
はマイコンPR3に入力されるデータ信号、5CLKは
信号So、Slの同期クロックである。SO is the data signal output from microcomputer PR3, SI
is a data signal input to the microcomputer PR3, and 5CLK is a synchronization clock for the signals So and Sl.
LCMは1ノンズ通信バッファ回路であり、カメラが動
作中のときにはレンズ用電源端子VLに電力を供給する
とともに、マイコンPR8からの選択信号CLCMが高
電位レベル(以下、“H”と記し、低電位レベルは“L
”と記する)のときには、カメラとレンズ間の通信バッ
ファとなる。LCM is a 1nons communication buffer circuit, and when the camera is in operation, it supplies power to the lens power supply terminal VL, and the selection signal CLCM from the microcomputer PR8 is at a high potential level (hereinafter referred to as "H", low potential The level is “L”
”), it becomes a communication buffer between the camera and lens.
マイコンPR3が選択信号CLCMを“H”にして、5
CLKに同期して所定のデータを信号SOとして送出す
ると、バッファ回路LCMはカメラ・レンズ間通信接点
を介して、5CLKSOの各々のバッファ信号LCK、
DCLをレンズへ出力する。それと同時にレンズLNS
からの信号DLCのバッファ信号を信号Slとして出力
し、マイコンPR8は5CLKに同期して信号Slをレ
ンズのデータとして入力する。The microcomputer PR3 sets the selection signal CLCM to “H” and
When predetermined data is sent out as a signal SO in synchronization with CLK, the buffer circuit LCM transmits each buffer signal LCK, 5CLKSO via the camera-lens communication contact.
Output DCL to the lens. At the same time, the lens LNS
The buffer signal of the signal DLC from the microcomputer PR8 is outputted as the signal Sl, and the microcomputer PR8 inputs the signal Sl as lens data in synchronization with 5CLK.
DDRはスイッチ検知及び表示用回路であり、信号CD
DRがH″のとき選択されて、SO。DDR is a switch detection and display circuit, and the signal CD
Selected when DR is H″, SO.
SI 5CLKを用いてマイコンPR3から制御され
る。即ち、マイコンPR8から送られてくるデータに基
づいてカメラの表示部材DSPの表示を切り替えたり、
カメラの各種操作部材のオンオフ状態を通信によってマ
イコンPR3に報知する。Controlled by microcomputer PR3 using SI 5CLK. That is, the display on the camera's display member DSP is switched based on the data sent from the microcomputer PR8,
The on/off states of various operating members of the camera are notified to the microcomputer PR3 by communication.
SWI、SW2は不図示のレリーズボタンに連動したス
イッチで、レリーズボタンの第1段階の押下によりSW
Iがオンし、引続いて第2段階の押下でSW2がオンす
る。マイコンPR8はSW1オンで測光、自動焦点調節
を行い、SW2オンをトリガとして露出制御とその後の
フィルムの巻上げを行う。SWI and SW2 are switches that are linked to a release button (not shown), and when the release button is pressed in the first step, SW is activated.
I is turned on, and then SW2 is turned on at the second stage of depression. The microcomputer PR8 performs photometry and automatic focus adjustment when SW1 is turned on, and uses SW2 as a trigger to control exposure and subsequently advance the film.
なお、スイッチSW2はマイコンであるPH1の「割込
み入力端子」に接続され、SW1オン時のプログラム実
行中でもSW2オンによって割込みがかかり、直ちに所
定の割込みプログラムへ制御を移すことができる。Note that the switch SW2 is connected to the "interrupt input terminal" of the microcomputer PH1, and even if a program is being executed when SW1 is on, an interrupt is generated by turning on SW2, and control can be immediately transferred to a predetermined interrupt program.
MTRIはフィルム給送用、MTR2はミラーアップ・
ダウン及びシャッタはねチャージ用のモータであり、各
々の駆動回路MDRI、MDR2により正転、逆転の制
御が行われる。マイコンPR8からMDRI、MDR2
に入力されている信号MIF、MIR,M2F、M2R
はモータ制御用の信号である。MTRI is for film feeding, MTR2 is for mirror up/
This is a motor for down and shutter charging, and forward and reverse rotation is controlled by respective drive circuits MDRI and MDR2. Microcomputer PR8 to MDRI, MDR2
Signals input to MIF, MIR, M2F, M2R
is a signal for motor control.
MCI、MG2は各々シャッタ先幕・後幕走行開始用マ
グネットて、信号SMGI、5MG2゜増幅トランジス
タTRI、TR2で通電され、マイコンPR3によりシ
ャッタ制御が行われる。MCI and MG2 are magnets for starting the movement of the front and rear shutter curtains, respectively, and are energized by the signal SMGI and the 5MG2° amplification transistors TRI and TR2, and the shutter control is performed by the microcomputer PR3.
なお、スイッチ検知及び表示用回路DDR。In addition, switch detection and display circuit DDR.
モータ駆動回路MDRI、MDR2,シャッタ制御は、
本発明と直接間わりがないので、詳い)説明は省略する
。Motor drive circuit MDRI, MDR2, shutter control are as follows:
Since this is not directly related to the present invention, detailed explanation will be omitted.
LPR8はレンズ内制御回路で、該回路LPR81:
L CKに同期して入力される信号D CL +′!、
カメラから撮影レンズLNSに対する命令のデータであ
り、命令に対するレンズの動作は予め決められている。LPR8 is an in-lens control circuit, and the circuit LPR81:
Signal D CL +' input in synchronization with L CK! ,
This is data of a command from the camera to the photographic lens LNS, and the operation of the lens in response to the command is determined in advance.
制御回路LPR8は所定の手続きに従ってその命令を解
析し、焦点調節や絞り制御の動作や、出力DLCからレ
ンズの各部動作状況(焦点調節光学系の駆動状況や、絞
りの駆動状態等)や各種パラメータ(開放Fナンバ、焦
点距離、デフォーカス量対焦点調節光学系の移動量の係
数等)の出力を行う。The control circuit LPR8 analyzes the command according to a predetermined procedure, and determines the operation of focus adjustment and aperture control, and the operation status of each part of the lens (driving status of the focusing optical system, driving status of the diaphragm, etc.) and various parameters from the output DLC. (Open F number, focal length, coefficient of defocus amount vs. movement amount of the focusing optical system, etc.) are output.
該実施例では、ズームレンズの例を示しており、カメラ
から焦点調節の命令が送られた場合には、同時に送られ
てくる駆動量・方向に従って焦点調節用モータLTMR
を信号LMF LMRによって駆動して、惧点調節光
学系を光軸方向に移動させて焦点調節を行う。光学系の
移動量は光学系に連動して回動するパルス板のパターン
をフォトカプラーにて検出し、移動量に応じた数のパル
スを出力するエンコーダ回路ENCFのパルス信号5E
NCFでモニタし、回路LPR8内のカウンタで計数し
、該カウンタ値が回路LPRSに送られた移動量に一致
した時点でLPR3自身が信号LMF、LMRを“L”
にしてモータLMTRを制御する。This embodiment shows an example of a zoom lens, and when a focus adjustment command is sent from a camera, the focus adjustment motor LTMR is activated according to the driving amount and direction sent at the same time.
is driven by the signal LMF LMR to move the point adjustment optical system in the optical axis direction to perform focus adjustment. The amount of movement of the optical system is determined by a pulse signal 5E of an encoder circuit ENCF that detects the pattern of a pulse plate that rotates in conjunction with the optical system using a photocoupler and outputs a number of pulses according to the amount of movement.
It is monitored by the NCF and counted by the counter in the circuit LPR8, and when the counter value matches the movement amount sent to the circuit LPRS, the LPR3 itself sets the signals LMF and LMR to "L".
to control motor LMTR.
このため、−旦カメラから焦点調節の命令が送られた後
は、カメラの制御装置であるところのマイコンPR3は
レンズの駆動が終了するまで、レンズ駆動に関して全く
関与する必要がない。また、カメラから要求があった場
合には、上記カウンタの内容をカメラに送出することも
可能な構成になっている。Therefore, once the focus adjustment command is sent from the camera, the microcomputer PR3, which is the camera control device, does not need to be involved in lens driving at all until the lens driving is completed. Furthermore, the configuration is such that it is possible to send the contents of the counter to the camera if there is a request from the camera.
カメラから絞り制御の命令が送られた場合には、同時に
送られてくる絞り段数に従って、絞り駆動用としては公
知のステッピングモータDMTRを駆動する。なお、ス
テッピングモータはオープン制御が可能なため、動作を
モニタするためのエンコーダを必要としない。When an aperture control command is sent from the camera, a stepping motor DMTR, which is known for driving an aperture, is driven in accordance with the number of aperture stages sent at the same time. Note that since the stepping motor can be controlled in an open manner, it does not require an encoder to monitor its operation.
ENCZはズーム光学系に付随したエンコーダ回路であ
り、回路LPR8はエンコーダ回路ENCZからの信号
5ENCZを入力してズーム位置を検出する。制御回路
LPR3内には各ズーム位置におけるレンズ・パラメー
タが格納されており、カメラ側のマイコンPR3から要
求があった場合には、現在のズーム位置に対応したパラ
メータをカメラに送出する。ENCZ is an encoder circuit attached to the zoom optical system, and circuit LPR8 inputs signal 5ENCZ from encoder circuit ENCZ to detect the zoom position. Lens parameters at each zoom position are stored in the control circuit LPR3, and when a request is received from the camera-side microcomputer PR3, parameters corresponding to the current zoom position are sent to the camera.
TEMPはカメラの温度を検知する温度検知回路であり
、その出力STMPはマイコンPRSのアナログ入力端
子に入力され、A/D変換後、所定のプログラムに従っ
て温度補正の制御に用いられる。TEMP is a temperature detection circuit that detects the temperature of the camera, and its output STMP is input to the analog input terminal of the microcomputer PRS, and after A/D conversion, is used to control temperature correction according to a predetermined program.
SPCは撮影レンズを介した被写体からの光を受光する
。露出制御用の測光センサーであり、その出力5SPC
はマイコンPR8のアナログ入力端子に入力され、A/
D変換後、所定のプログラムに従って自動露出制御に用
いられる。The SPC receives light from a subject via a photographic lens. It is a photometric sensor for exposure control, and its output is 5SPC.
is input to the analog input terminal of microcomputer PR8, and A/
After D conversion, it is used for automatic exposure control according to a predetermined program.
SDRは焦点検出用ラインセンサー装置SNSの駆動回
路であり、信号C3DRが“H”のときに選択されて、
So、SI、5CLKを用いてマイコンPR3から制御
される。SDR is a drive circuit for the focus detection line sensor device SNS, and is selected when the signal C3DR is “H”.
It is controlled by microcomputer PR3 using So, SI, and 5CLK.
駆動回路SDRからセンサー装置SNSへ与える信号φ
5ELO,φ5ELIはマイコンPR3からの信号5E
LO,5ELLそのものでφ5ELO= ”L”、φ5
ELL−“L”のときセンサー列対5NS−1(SNS
−1a、5NS−1b)を、φ5ELO=″H“、φ5
EL1=“L”のときセンサー列対5M5−4 (SN
S4a、5NS−4b)を、φ5ELO−“L”φ5E
L1=“H”のときセンサー列対5NS2 (SNS−
2a、5NS−2b)を、φ5ELO=“H”、φ5E
L1=“H”のときセンサー列対S N S −3(S
N S −3a 、 S N S−31) )をそ
れぞれ選択する信号である。Signal φ given from drive circuit SDR to sensor device SNS
5ELO, φ5ELI are signals 5E from microcomputer PR3
LO, 5ELL itself is φ5ELO = “L”, φ5
When ELL-“L”, sensor row pair 5NS-1 (SNS
-1a, 5NS-1b), φ5ELO=“H”, φ5
When EL1="L", sensor row pair 5M5-4 (SN
S4a, 5NS-4b), φ5ELO-“L” φ5E
When L1="H", sensor row pair 5NS2 (SNS-
2a, 5NS-2b), φ5ELO="H", φ5E
When L1="H", sensor row pair S N S -3 (S
These are signals for selecting NS-3a and SNS-31), respectively.
蓄積終了後に、5ELO,5ELIを適当に設定して、
それからクロックφSH,φHR3を送ることにより、
5ELO,5ELL (φ5ELO9φSEL 1)で
選択されたセンサー列対の像信号が出力VOUTから順
次シリアルに出力される。After the accumulation is completed, set 5ELO and 5ELI appropriately,
Then, by sending clocks φSH and φHR3,
The image signals of the pair of sensor rows selected by 5ELO, 5ELL (φ5ELO9φSEL 1) are serially output from the output VOUT.
VPI、VF6.VF6.VP411れぞれ各センサー
列対5NS−1(SNS−1a、5NS−1b) 、
5NS−2(SNS−2a、 5NS2b) 、5
NS−3(SNS−3a、 SNS −3b) 、5
NS−4(SNS−4a、5NS4b)の近傍に配置さ
れた被写体輝度モニタ用センサーからのモニタ信号で、
蓄積開始とともにその電圧が上昇し、これにより各セン
サー列の蓄積制御が行われる。VPI, VF6. VF6. VP411 each sensor row pair 5NS-1 (SNS-1a, 5NS-1b),
5NS-2 (SNS-2a, 5NS2b), 5
NS-3 (SNS-3a, SNS-3b), 5
The monitor signal from the subject brightness monitor sensor placed near the NS-4 (SNS-4a, 5NS4b).
The voltage increases with the start of accumulation, thereby controlling the accumulation of each sensor array.
信号φRES、 φVR8はセンサーのリセット用ク
ロック、φHR8,φSHは像信号の読出し用クロック
、φTl、 φT2. φT3. φT4はそれぞれ
各センサー列対の蓄積を終了させるためのクロックであ
る。Signals φRES and φVR8 are sensor reset clocks, φHR8 and φSH are image signal readout clocks, φTl, φT2. φT3. φT4 is a clock for ending the accumulation of each pair of sensor columns.
センサー駆動回路SDRの出力VIDEOは、センサー
装置SNSからの像信号VOUTと暗電流出力の差をと
った後、被写体の輝度によって決定されるゲインで増幅
された像信号である。上記暗電流出力とは、センサー列
中の遮光された画素の出力値であり、SDRはマイコン
PRSからの信号D S Hによってコンデンサにその
出力を保持し、これと像信号との差動増幅を行う。出力
V I DEOはマイコンPR8のアナログ入力端子に
入力されており、該マイコンPR8は同信号をA、 /
D変換後、そのディジタル値をRAM上の所定のアド
レスへ順次格納してゆく。The output VIDEO of the sensor drive circuit SDR is an image signal obtained by taking the difference between the image signal VOUT from the sensor device SNS and the dark current output, and then amplifying the difference with a gain determined by the brightness of the subject. The above-mentioned dark current output is the output value of the light-shielded pixels in the sensor array, and the SDR holds the output in a capacitor using the signal DSH from the microcomputer PRS, and performs differential amplification between this and the image signal. conduct. The output V I DEO is input to the analog input terminal of the microcomputer PR8, and the microcomputer PR8 inputs the same signal to A, /
After D conversion, the digital values are sequentially stored in predetermined addresses on the RAM.
信号/TINTE1./TINTE2./TINTE3
./TINTE4はそれぞれセンサー列対5NS−1(
SNS−1a、5NS−1b)。Signal/TINTE1. /TINTE2. /TINTE3
.. /TINTE4 is the sensor row pair 5NS-1 (
SNS-1a, 5NS-1b).
5NS−2(SNS −2a、 5NS−2b)。5NS-2 (SNS-2a, 5NS-2b).
5NS−3(SNS−3a、 5NS−3b)。5NS-3 (SNS-3a, 5NS-3b).
5NS−4(SMS−4a、5NS−4b)に蓄積され
た電荷で適正となり、蓄積が終了したことを表す信号で
、マイコンPR5はこれを受けて像信号の読出しを実行
する。This is a signal indicating that the charge accumulated in the 5NS-4 (SMS-4a, 5NS-4b) is appropriate and the accumulation has been completed. Upon receiving this signal, the microcomputer PR5 executes reading of the image signal.
信号BTIMEはセンサー駆動回路SDR内の像信号増
幅アンプの読出しゲイン決定のタイミングを与える信号
で、通常上記回路SDRはこの信号が”H”となった時
点でのモニタ信号VPO〜VP3の電圧から対応するセ
ンサー列対の読出しゲインを決定する。The signal BTIME is a signal that gives the timing for determining the readout gain of the image signal amplification amplifier in the sensor drive circuit SDR, and the above circuit SDR normally responds from the voltage of the monitor signals VPO to VP3 at the time this signal becomes "H". Determine the readout gain of the pair of sensor columns.
CKI、CK2は上記クロックφRE S。CKI and CK2 are the above clock φRES.
φVR8,φHR3,φS Hを生成するために、マイ
コンPR3からセンサー駆動回路SDRへ与えられる基
準クロックである。This is a reference clock given from the microcomputer PR3 to the sensor drive circuit SDR in order to generate φVR8, φHR3, and φSH.
マイコンPR3が通信選択信号C3DRを“H”として
所定の「蓄積開始コマンド」をセンサー駆動回路SDR
に送出することによってセンサー装W S N Sの蓄
積動作が開始される。The microcomputer PR3 sets the communication selection signal C3DR to "H" and sends a predetermined "accumulation start command" to the sensor drive circuit SDR.
The storage operation of the sensor device W S N S is started by sending the signal to the sensor device W S N S .
これにより、4つのセンサー列対で各センサー上に形成
された被写体像の光電変換が行われ、センサーの光電変
換素子部には電荷が蓄積される。As a result, photoelectric conversion of the subject image formed on each sensor is performed by the four sensor row pairs, and charges are accumulated in the photoelectric conversion element portion of the sensor.
同時に各センサーの輝度モニタ用センサーの信号VPI
〜VP4が上昇してゆき、この電圧が所定レベルに達す
ると、センサー駆動回路SDRは前記信号/TINTE
I〜/TINTE4がそれぞれ独立に”L”となる。At the same time, sensor signal VPI for brightness monitoring of each sensor
~VP4 increases and when this voltage reaches a predetermined level, the sensor drive circuit SDR outputs the signal /TINTE.
I~/TINTE4 each becomes "L" independently.
マイコンPR3はこれを受けてクロックCK2に所定の
波形を出力する。センサー駆動回路SDRはCK2に基
づいてクロックφSH。In response to this, the microcomputer PR3 outputs a predetermined waveform to the clock CK2. The sensor drive circuit SDR uses a clock φSH based on CK2.
φHR8を生成してセンサー装置SNSに与え、該セン
サー装置SNSは前記クロックによって像1号を出力し
、マイコンPRSは自ら出力しているCK2に同期して
内部のA/D変換機能でアナログ入力端子に入力されて
いる出力V I DEOをA/D変換後、ディジタル信
号としてRAMの所定アドレスへ順次格納してゆ(。φHR8 is generated and given to the sensor device SNS, and the sensor device SNS outputs image No. 1 according to the clock, and the microcomputer PRS uses its internal A/D conversion function to convert the signal to the analog input terminal in synchronization with the CK2 that it outputs. After A/D converting the output V I DEO input to the , it is sequentially stored in a predetermined address of RAM as a digital signal.
なお、センサー駆動回路SDR,センサー装置SNSの
動作については、2対のセンサー列を有する焦点検出装
置として特開昭63−216905号等で開示されてい
るので、ここでの詳細な説明は省略する。Note that the operations of the sensor drive circuit SDR and the sensor device SNS are disclosed in Japanese Patent Application Laid-Open No. 63-216905 as a focus detection device having two pairs of sensor arrays, so a detailed explanation will be omitted here. .
以上のようにして、マイコンPR8は各センサー列対上
に形成された被写体像の像情報を受けとって、その後所
定の焦点検出装置を行い、撮影レンズのデフォーカス量
を知ることが出来る。As described above, the microcomputer PR8 receives the image information of the subject image formed on each pair of sensor rows, and then performs a predetermined focus detection device to determine the amount of defocus of the photographic lens.
次いで、上記構成によるカメラの自動焦点調節装置につ
いて、以下のフローチャートに従って説明を行う。Next, the automatic focus adjustment device for a camera having the above configuration will be explained according to the flowchart below.
第5図(a)はごく大まかなカメラ全体のシーケンスの
フローチャートである。FIG. 5(a) is a very rough flowchart of the entire sequence of the camera.
第2図に示した回路に給電が開始されると、マイコンP
RSは第5図(a)のステップ(000)から実行を開
始してゆく。ステップ(001)において、レリーズボ
タンの第1段階押下によりオンするスイッチSWIの状
態検知を行い、オフならばステップ(002)へ移行し
、全てのフラグと変数を初期化する。スイッチSWIが
オンであればステップ(OO3)へ移行し、カメラの動
作を開始する。When power supply starts to the circuit shown in Fig. 2, the microcomputer P
The RS starts execution from step (000) in FIG. 5(a). In step (001), the state of the switch SWI, which is turned on by pressing the release button in the first stage, is detected, and if it is off, the process moves to step (002), where all flags and variables are initialized. If the switch SWI is on, the process moves to step (OO3) and the camera starts operating.
ステップ(OO3)では測光や各種スイッチ類の状態検
知、表示等のrAE制御」サブルーチンを実行する。A
E制御は本発明と直接間りがないので詳しい説明は省略
する。サブルーチンrAE制御」が終了すると、次いで
ステップ(OO4)へ移行する。In step (OO3), a ``rAE control'' subroutine for photometry, state detection of various switches, display, etc. is executed. A
Since the E control is not directly related to the present invention, a detailed explanation will be omitted. When the "subroutine rAE control" is completed, the process then moves to step (OO4).
ステップ(004)でrAF制御ヨサブルーチンを実行
する。ここではセンサーの蓄積、焦点検出演算、レンズ
駆動の自動焦点調節動作を行う。In step (004), the rAF control subroutine is executed. Here, sensor storage, focus detection calculations, and lens drive automatic focus adjustment operations are performed.
サブルーチンrAF制御」が終了すると再びステラ7’
(001)へ戻り、電源がオフするまでステップ(00
3)、(004)を繰返し実行してゆく。When the "subroutine rAF control" is completed, Stella 7'
Return to (001) and step (00
3) and (004) are repeatedly executed.
なお、本実施例のフローチャートでは、レリーズ動作に
ついて記述していないが、レリーズ動作は本発明と直接
間つがないのであえて省略している。Although the flowchart of this embodiment does not describe the release operation, it is purposely omitted because the release operation is not directly related to the present invention.
第5図(b)は、前記ステップ(OO4)で実行される
サブルーチンrAF制御」のフローチャートである。FIG. 5(b) is a flowchart of the "subroutine rAF control" executed in step (OO4).
サブルーチンrAF制御Jがコールされると、ステップ
(010)を経て、ステップ(011)以降のAF副制
御実行してい(。When the subroutine rAF control J is called, the AF sub-control from step (011) is executed after step (010).
まず、ステップ(011)で、サブルーチン「蓄積」を
実行する。同サブルーチンでは、センサーの蓄積、像信
号の読み出し、演算等を行う。First, in step (011), a subroutine "accumulation" is executed. This subroutine performs sensor storage, image signal readout, calculations, etc.
詳しい説明は後に示す。A detailed explanation will be given later.
次いで、ステップ(012)において、サブルーチン「
焦点状態の検出」を実行する。同サブルーチンは、前記
ステップ(011)で演算された焦点状態から撮影レン
ズのデフォーカス量を計算する。Next, in step (012), the subroutine “
Detect focus state. This subroutine calculates the defocus amount of the photographing lens from the focus state calculated in step (011).
次にステップ(013)でサブルーチン「合焦判定」を
実行する。同サブルーチンはステップ(012)におい
て計算された撮影レンズのデフォーカス量から、合焦か
否かの判定を行うものである。Next, in step (013), a subroutine "focus determination" is executed. This subroutine determines whether or not the object is in focus based on the amount of defocus of the photographing lens calculated in step (012).
次のステップ(014)で、撮影1ノンズの焦点状態が
合焦であればステップ016へ移行し、レンズ駆動は行
わない。合焦でなければステップ(015)へ移行し、
サブルーチン「レンズ駆動」を実行する。同サブルーチ
ンは撮影レンズのデフォーカス量に基づいてレンズを合
焦位置まで駆動するものである。In the next step (014), if the focus state of the first lens is in focus, the process moves to step 016 and the lens is not driven. If it is not in focus, move to step (015),
Execute the subroutine "lens drive". This subroutine drives the lens to the in-focus position based on the amount of defocus of the photographic lens.
次いでステップ(016)へ移行し、サブルーチン「A
FIIJ御」の実行を終了する。Next, the process moves to step (016), and the subroutine “A
Execution of "FIIJ control" ends.
以上がAF副制御ついての大まかな動きである。これに
より本発明に関わりのあるステップ(011)で実行さ
れるサブルーチン「蓄積」について詳細に説明をする。The above is a rough outline of the AF sub-control. Hereinafter, the subroutine "accumulation" executed in step (011) related to the present invention will be explained in detail.
第5図(C)がサブルーチン「蓄積」のフローチャート
である。サブルーチン「蓄積」が実行されるとステップ
(020)を経て、ステップ(021)以降の蓄積制御
を実行してい(。FIG. 5(C) is a flowchart of the subroutine "accumulation". When the subroutine "accumulation" is executed, the process goes to step (020), and the accumulation control from step (021) onwards is executed (.
まず、ステップ(021)において、測距演算に必要な
フラグやメモリの初期設定が行われる。First, in step (021), flags and memory necessary for distance measurement calculation are initialized.
次いでステップ(022)で最大蓄積時間において、各
イメージセンサ−に光があっていない状態の画素出力の
データ(これ以降データ補正データと呼ぶことにする。Next, in step (022), pixel output data (hereinafter referred to as data correction data) in a state where each image sensor is not exposed to light during the maximum accumulation time is obtained.
)を各センサーの像信号が格納されるべきアドレスに格
納する。このデータ補正データはカメラが工程で組み立
てられた時の求められている調整データであり、このデ
ータは各イメージセンサ−ごとに各センサーの画素数分
用意されている。) is stored at the address where the image signal of each sensor is to be stored. This data correction data is adjustment data required when the camera is assembled in the process, and this data is prepared for each image sensor for the number of pixels of each sensor.
次いでステップ(023)において温度検出回路TEM
Pにて検知される現在のカメラの温度Tを入力する。Next, in step (023), the temperature detection circuit TEM
Input the current temperature T of the camera detected at P.
次にステップ(024)では、現在の温度から適正な係
数を検出する。具体的には温度が20℃以下、20℃か
ら30℃まで、30℃から40℃まで、40℃以上の4
つに分割されていて、これらの範囲毎にROM又はRA
M等のメモリ内に係数が予め用意されている。現在の温
度が上記の4分割されたうちのどのエリアに入るかに応
じて適正な係数を上記メモリから読み出すものである。Next, in step (024), an appropriate coefficient is detected from the current temperature. Specifically, the temperature is below 20℃, from 20℃ to 30℃, from 30℃ to 40℃, and above 40℃.
It is divided into ROM or RA for each range.
Coefficients are prepared in advance in a memory such as M. An appropriate coefficient is read from the memory depending on which of the four areas the current temperature falls into.
次のステップ(025)では、蓄積完了チエツク用の割
込みタイマーのスタート、蓄積時間計測用カウンタの初
期化等の作業を行う。In the next step (025), operations such as starting an interrupt timer for checking completion of accumulation and initializing a counter for measuring accumulation time are performed.
次のステップ(026)において、駆動回路SDRに対
して「蓄積開始コマンド」を送出する事によって蓄積動
作を開始させる。 次いでステップ(027)では選
択した測距点について、すべて演算が終了しているか否
かの判別を行い、選択した全測距点について、すべて演
算が終了している場合については、ステップ(032)
へ移行し、割込み禁止処理等の蓄積を終了させるための
処理を行った後、ステップ(033)へ移行し、サブル
ーチン「蓄積」の実行を終了する。尚測距点は任意に選
択されるものとする。In the next step (026), an accumulation operation is started by sending an "accumulation start command" to the drive circuit SDR. Next, in step (027), it is determined whether calculations have been completed for all of the selected distance measurement points, and if calculations have been completed for all of the selected distance measurement points, step (032) is performed.
After the process moves to step (033) and performs processing to end the accumulation, such as interrupt prohibition processing, the execution of the subroutine ``accumulation'' ends. It is assumed that the distance measurement point is selected arbitrarily.
ステップ(027)で選択した全測距点について演算が
終了していないと判別された場合には、ステップ(02
8)へ移行する。このステップでは蓄積が完了している
測距点について像信号の入力が終了しているか否かの判
別を行い、蓄積完了したもので像信号入力が済んでいな
いものがあればステップ(030)へ移行し、サブルー
チン「像信号の入力Jを実行し、ステップ(027)へ
戻る。サブルーチン「像信号の入力」の詳しい説明は後
に示す。If it is determined in step (027) that the calculation has not been completed for all the selected distance measuring points, step (027)
Move on to 8). In this step, it is determined whether image signal input has been completed for the distance measuring points for which accumulation has been completed, and if there are any points for which accumulation has been completed but image signal input has not been completed, the process proceeds to step (030). Then, the subroutine "Image signal input J" is executed, and the process returns to step (027). A detailed explanation of the subroutine "Image signal input" will be given later.
ステップ(028)で、蓄積完了したものについてすべ
て像信号の入力が済んでいる場合はステップ(029)
へ移行する。ステップ(029)では、像信号の入力が
済んでいる測距点についてすべて演算が終了しているか
否かの判別を行い、演算終了していないものがあれば、
ステップ(031)へ移行しサブルーチン「演算」を実
行する。ステップ(031)の実行後ステップ(027
)へ戻る。In step (028), if all image signals have been input for the ones that have been stored, step (029) is performed.
Move to. In step (029), it is determined whether or not calculations have been completed for all distance measuring points for which image signals have been input, and if there are any that have not yet been calculated,
The process moves to step (031) and the subroutine "calculation" is executed. After execution of step (031), step (027)
) Return to
ステップ(029)で、すべて演算終了している場合は
、そのままステップ(027)へ戻る。If all calculations have been completed in step (029), the process directly returns to step (027).
以上の動作が蓄積中に常にくり返され各測距点に対する
演算処理が実行される。尚、蓄積が完了してるか否かの
チエツクは、ステップ(027)から(031)のルー
プの中で、一定時間(500μs)に−回発生する割込
みによってチエツクされている。これより、この蓄積完
了をチエツクするための割込み処理「蓄積完了」チエツ
クについて説明する。The above operations are constantly repeated during accumulation, and arithmetic processing is executed for each distance measurement point. Note that whether or not the accumulation has been completed is checked by interrupts that occur once every certain period of time (500 .mu.s) in the loop from steps (027) to (031). The interrupt process ``accumulation completion'' check for checking the completion of accumulation will now be explained.
第5図(g)一定時間毎に発生する割込み処理「蓄積完
了チエツク」のフローチャートである。FIG. 5(g) is a flowchart of the interrupt process ``accumulation completion check'' that occurs at regular intervals.
割込みが発生すると、ステップ(040)を経て、ステ
ップ(041)以降の蓄積完了チエツク制御を実行して
いく。When an interrupt occurs, the process goes through step (040), and the accumulation completion check control from step (041) onward is executed.
まず、ステップ(041)において、次回の割込みを発
生するためのタイマーの更新の作業を行う。この時点よ
り500μs後に再度割込みが発生することになる。First, in step (041), the timer for generating the next interrupt is updated. An interrupt will occur again 500 μs after this point.
次のステップ(042)では、蓄積時間の計測を行う。In the next step (042), the accumulation time is measured.
蓄積時間の計測は、この割込みの回数(500μsの回
数)を数える事により行っている。The accumulation time is measured by counting the number of interruptions (the number of 500 μs).
次いて、ステップ(043)では、今の蓄積時間が最大
蓄積時間か否かを判別し、最大蓄積時間であれば、ステ
ップ048へ移行し、強制蓄積終了のための処理を行う
。実際にはT I NTE 1゜TINTE2.TIN
TE3.、TINTE4をすべて“L”にする。Next, in step (043), it is determined whether the current accumulation time is the maximum accumulation time or not. If it is the maximum accumulation time, the process moves to step 048, and processing for forced accumulation termination is performed. Actually T I NTE 1゜TINTE2. TIN
TE3. , TINTE4 are all set to "L".
その後、ステップ(049)で、強制蓄積終了した測距
点の蓄積時間を記憶する。Thereafter, in step (049), the accumulation time of the distance measurement point for which the forced accumulation has been completed is stored.
ステップ(050)では、割込みタイマーの禁止等の蓄
積終了処理を行う。その後、ステップ(051)へ移行
する。In step (050), storage termination processing such as disabling the interrupt timer is performed. Thereafter, the process moves to step (051).
ステップ(043)において、蓄積時間が最大蓄積時間
に達していない場合は、ステップ(044)へ移行し、
今蓄積が終了した測距点があるか否かを判別し、今蓄積
終了した測距点がない場合はステップ(051)へ移行
する。In step (043), if the accumulation time has not reached the maximum accumulation time, proceed to step (044),
It is determined whether or not there is a distance measurement point for which accumulation has just been completed, and if there is no distance measurement point for which accumulation has now been completed, the process moves to step (051).
今、蓄積終了した測拠点がある場合は、ステップ(04
5)でその測距点に対する蓄積時間の記憶をする。If there is a station that has been accumulated, step (04)
In step 5), the accumulation time for that distance measurement point is stored.
次のステップ(046)にて、選択した測距点はすべて
蓄積が終了したか否かの判別を行い、すべてが蓄積終了
しているのでない場合は、ステップ(051)へ移行す
る。すべてが蓄積終了している場合は、ステップ(04
7)へ移行し、割込みタイマーの禁止等の、蓄積終了処
理を行い、ステップ051へ移行し、割込み処理を終了
する。In the next step (046), it is determined whether or not accumulation has been completed for all of the selected ranging points, and if not, the process moves to step (051). If all have been accumulated, step (04)
The process moves to step 7), where storage termination processing such as disabling the interrupt timer is performed, and the process moves to step 051, where the interrupt processing ends.
以上の処理が500μSに1回の割合でくり返し行われ
、各測距点ごとの蓄積完了検知及びその時の蓄積時間の
記憶を行う。The above process is repeated once every 500 μS, and the completion of accumulation for each distance measurement point is detected and the accumulation time at that time is stored.
第5図(C)に戻って説明を続ける。Returning to FIG. 5(C), the explanation will be continued.
ステップ(030)で実行されるサブルーチン「像信号
の入力」についての説明をする。The subroutine "image signal input" executed in step (030) will be explained.
第5図(d)はサブルーチン「像信号の入力」のフロー
チャートである。サブルーチン「像信号の入力」がコー
ルされると、ステップ(060)を経て、ステップ(0
61)以降の像信号の入力を実行する。FIG. 5(d) is a flow chart of the subroutine "Image signal input". When the subroutine "input image signal" is called, the process goes through step (060) and then step (0
61) Execute the input of subsequent image signals.
まず、ステップ(061)において、後で示す像信号の
補正演真に必要なパラメータ例えば該像信号入力処理が
行われる測距点のセンサーに対する最短蓄積時間におけ
るセンサーに光があたっていない状態の画素出力(以降
ショートダーク補正値とする)のデータをメモリへ格納
する。このショートダーク補正値は、カメラが工程で組
み立てられた時の調整データであり、A像、B像、それ
ぞれの画素出力の最小値の値が採用されている。尚A像
は一対のセンサーの一方のセンサーに蓄積された像でB
像は他方のセンサーに蓄積された像である。First, in step (061), parameters necessary for the image signal correction calculation described later, such as pixels in a state where no light hits the sensor at the shortest accumulation time for the sensor at the distance measurement point where the image signal input processing is performed. Store the output data (hereinafter referred to as short dark correction value) in memory. This short dark correction value is adjustment data when the camera is assembled in the process, and the minimum value of the pixel output of each of the A image and B image is adopted. Image A is the image accumulated on one of the pair of sensors, and image B
The image is the image stored on the other sensor.
次のステップ(062)では、これより像信号を入力す
るために、駆動回路SDRに対して「読み出しコマンド
」を送出する。In the next step (062), a "read command" is sent to the drive circuit SDR in order to input an image signal.
次のステップ(063)では、像信号のデータを格納す
るメモリのアドレスの設定や、画素数の設定等の作業を
行う。In the next step (063), operations such as setting the memory address for storing image signal data and setting the number of pixels are performed.
次のステップ(064)において、A像の像信号の入力
を行う。In the next step (064), the image signal of the A image is input.
第5図(e“)(f)はステップ064において実行さ
れるサブルーチン「A像信号の入力」のフローチャート
である。FIGS. 5(e) and 5(f) are flowcharts of the subroutine "input of A image signal" executed in step 064.
サブルーチン「A像信号の大カゴがコールされると、ス
テップ(070)を経て、ステップ(071)以降のA
像信号の入力の制御を行う。Subroutine ``When the big basket of A image signals is called, it goes through step (070) and then the A image signal from step (071) onwards.
Controls image signal input.
まず、ステップ(071)では、クロックCK2に所定
のパルスを出力して、センサー駆動回路SDRからセン
サーの像出力を画素ごとにマイコンPR3に内蔵してい
るA/D変換器のアナログ入力端子へシリアルで入力さ
せる。First, in step (071), a predetermined pulse is output to the clock CK2, and the image output of the sensor is serially sent from the sensor drive circuit SDR to the analog input terminal of the A/D converter built in the microcomputer PR3 for each pixel. to input.
次のステップ(072)では該サブルーチン処理がなさ
れている測距点のセンサーにおける今、入力しようとし
ている画素のダーク補正データDK(i)をレジスタヘ
ロードする。In the next step (072), the dark correction data DK(i) of the pixel that is about to be input in the sensor of the distance measurement point where the subroutine processing is being performed is loaded into the register.
次のステップ(073)では、ダーク補正データDK(
i)に蓄積開始前に検出した温度で求められた温度係数
を掛ける。In the next step (073), dark correction data DK (
Multiply i) by the temperature coefficient determined from the temperature detected before the start of accumulation.
これより、実際の温度係数の決め方について説明する。Now, how to determine the actual temperature coefficient will be explained.
第1図は、本実施例をカメラに取り入れた場合、センサ
ーに光があたっていない状態の画素出力が、温度に対し
てどの様に変動するかを示した例である。この図を見て
わかる様に、温度が20℃以下では、特に大きな変化は
見られないが、20℃付近を越えると、温度の変化に伴
ない、画素出力も急激に大きくなっていく事がわかる。FIG. 1 is an example showing how the pixel output in a state where the sensor is not exposed to light changes with respect to temperature when this embodiment is incorporated into a camera. As you can see from this figure, when the temperature is below 20 degrees Celsius, no particularly large changes are observed, but when it exceeds around 20 degrees Celsius, the pixel output suddenly increases as the temperature changes. Recognize.
この様な温度特性を持つセンサーのダーク補正をステッ
プ(072)で設定しているダーク補正データ(このデ
ータは工程時に調整されるものであるので、常温すなわ
ち25°C付近の値である。)で補正をかけようとする
と、低温側では、低温時の画素出力が常温時の画素出力
より小さいので、補正がかかりすぎの傾向になり、高温
側では、高温時の画素出力が常温時の画素出力より大き
いので補正が足りない傾向になる。Dark correction data for setting the dark correction of a sensor with such temperature characteristics in step (072) (This data is adjusted during the process, so it is a value at room temperature, that is, around 25°C.) If you try to apply correction at low temperatures, the pixel output at low temperatures is smaller than the pixel output at room temperature, so there is a tendency for too much correction. Since it is larger than the output, the correction tends to be insufficient.
この様な問題を解決するために、まず、温度エリアを2
0℃以下、20°Cから30℃まで、30℃から40℃
まで、40℃以上の4つに分割し、それぞれ、A、B、
C,Dとする。常温の温度エリアはBとなる。In order to solve this kind of problem, we first set the temperature area to 2.
Below 0℃, from 20℃ to 30℃, from 30℃ to 40℃
Divide into 4 parts A, B, and 40°C or higher.
Let them be C and D. The temperature area at room temperature is B.
次に各エリア毎に係数を与える。その係数の求め方は、
まず、常温の温度エリアBの係数は1とする。Next, give a coefficient to each area. The way to find the coefficient is
First, the coefficient of temperature area B at room temperature is set to 1.
次にAの係数の求め方は、エリアAの中心温度0℃の画
素出力と、常温25℃の画素出力との比率を計算し、こ
の値をエリアAの係数とする。Next, to find the coefficient of A, calculate the ratio of the pixel output at the center temperature of area A of 0° C. to the pixel output at room temperature of 25° C., and use this value as the coefficient of area A.
エリアC,Dの係の求め方も同様で、各エリアの中心温
度の画素出力と常温25℃の画素出力との比率を計算し
、この値を各エリアの係数としている。これらの係数は
予め工場等で実測の上メモリに入力されており検出温度
に応じてメモリがら読み出される。この読み出された係
数をステップ(072)で設定されているダーク補正デ
ータに掛けることによって、それぞれの温度エリアに適
した画素出力を計算する。The coefficients for areas C and D are calculated in the same way; the ratio between the pixel output at the center temperature of each area and the pixel output at room temperature 25° C. is calculated, and this value is used as the coefficient for each area. These coefficients are actually measured and input into the memory in advance at a factory or the like, and are read out from the memory in accordance with the detected temperature. By multiplying this read coefficient by the dark correction data set in step (072), a pixel output suitable for each temperature area is calculated.
ここで計算した画素出力を、ダーク補正データとして使
用し、後に、像信号がらこの値を差し引く事により、セ
ンサーに光があたっていない状態の画素出力をキャンセ
ルすることができる。これによって、センサーに光があ
たっていない状態の画素出力が、温度によって変動した
場合にも対応できる様になった。By using the pixel output calculated here as dark correction data and later subtracting this value from the image signal, it is possible to cancel the pixel output when the sensor is not exposed to light. This makes it possible to handle changes in pixel output due to temperature when the sensor is not exposed to light.
次のステップ(074)では、蓄積時間に応じた補正量
を計算するために必要な、最短蓄積時間における画素出
力の補正データ(ショートダーク補正データ DK
5HORT)をレジスタヘロードする。DKSHORT
は上述の如(一つのセンサーに対して共通のある値でも
良いし各画素毎に求めた各画素ごとの値でも良い。In the next step (074), correction data of pixel output at the shortest accumulation time (short dark correction data DK) is required to calculate the correction amount according to the accumulation time.
5HORT) into the register. DKSHORT
may be a value common to one sensor, or may be a value for each pixel determined for each pixel, as described above.
次のステップ(075)では、最大蓄積時間におけるセ
ンサーに光があたっていない状態の画素出力と、最短蓄
積時間におけるセンサーに光があたっていない状態の画
素出力との差を求め、これをDARK(i)とする。In the next step (075), the difference between the pixel output when the sensor is not exposed to light during the maximum accumulation time and the pixel output when the sensor is not exposed to light during the shortest accumulation time is calculated, and this is calculated using DARK( i).
DARK (i)=DK (i)−DK 5HORT
次のステップ(076)では、最大蓄積時間におけるセ
ンサーに光があたっていない状態の画素出力から、任意
の蓄積時間における補正値を求めるにはどの位の値を加
減すれば良いかを計算する。DARK (i) = DK (i) - DK 5HORT
In the next step (076), it is calculated how much value should be added or subtracted from the pixel output when the sensor is not exposed to light at the maximum accumulation time in order to obtain a correction value at an arbitrary accumulation time.
加減する値をADJ (i)とすると、次の様な式によ
って計算する。Assuming that the value to be added or subtracted is ADJ (i), it is calculated using the following formula.
ADJ(i)=
最短蓄積時間とは、蓄積完了チエツクの割込みのタイマ
ーが500μSであるため、最短蓄積時間も500μs
を適用する。ADJ(i) = Shortest accumulation time means that the interrupt timer for accumulation completion check is 500μs, so the shortest accumulation time is also 500μs.
apply.
次のステップ(077)において、任意の蓄積時間にお
ける補正量DARK(i)を計算する。In the next step (077), the correction amount DARK(i) at an arbitrary accumulation time is calculated.
DARK (i)=DK (i)+ADJ (i)これ
らの補正をかけることによって、センサーに光があたっ
ていない状態の画素出力のレベルが、温度によって変動
したり、蓄積時間によって変動した場合にも対応できる
様になり、測距精度や、低輝度限界の低下等を防ぐこと
が出来る様になる。DARK (i) = DK (i) + ADJ (i) By applying these corrections, even if the pixel output level when the sensor is not exposed to light fluctuates due to temperature or accumulation time, This makes it possible to prevent a decrease in distance measurement accuracy and low brightness limit.
次のステップ(078)では、センサーの像出力をA/
D変換して取り込む。この値をImage (i)とす
る。In the next step (078), the image output of the sensor is
Convert and import. Let this value be Image (i).
次のステップ(079)では、センサーの像出力のA/
D変換した生の値から、先はど計算した補正値を差し引
き、センサーに光があたっていない状態の画素出力の成
分をキャンセルする。In the next step (079), the image output of the sensor is A/
The previously calculated correction value is subtracted from the D-converted raw value to cancel the component of the pixel output when the sensor is not exposed to light.
Image (i)=Image (i)−DARK
(i)
次のステップ(080)では、上記の計算結果が正であ
れば、ステップ082へ移行し、負の数であれば上記の
計算結果をOにする。Image (i) = Image (i) - DARK
(i) In the next step (080), if the above calculation result is positive, the process moves to step 082, and if it is a negative number, the above calculation result is set to O.
Image (i)=0
次のステップ(082)では、光学的な光量落ち等の補
正をするために、ある係数αをかける。Image (i)=0 In the next step (082), a certain coefficient α is applied in order to correct optical light falloff, etc.
このある係数αとは、カメラが工程で組み立てられた時
の調整データであり、撮影レンズより一様な明るさを入
射させた時にセンサーの像出力も−様な出力レベルにな
る様に、像出力の最大値に合わせ込む様に、各画素に対
しである係数を割り当てている。This certain coefficient α is adjustment data when the camera is assembled in the process, and is adjusted so that when uniform brightness is incident from the photographing lens, the image output of the sensor will also be at a - A certain coefficient is assigned to each pixel so as to match the maximum value of the output.
ステップ(083)では、上記(082)で求めたデー
タをメモリに入力し、ステップ(084)では設定され
た画素針の処理が行われたか否かを検知して、終了して
いればリターンし、終了していなければ、ステップ(0
71)に戻り、次の入力画素出力に対して上記の処理を
実行する。In step (083), the data obtained in the above (082) is input into the memory, and in step (084), it is detected whether or not the set pixel needle processing has been performed, and if it has been completed, the process returns. , if not completed, step (0
Returning to step 71), the above processing is executed for the next input pixel output.
以上の動作がA像のセンサーの各画素ごとに実行され、
温度補償されたA像信号が得られる。この様にしてA像
に対する処理終了後第5図(d)のステップ(065)
以後のステップが実行されるステップ(065)(06
6)の処理、ステップ(063) (064)で述べ
たA像に対する処理と同一の処理をB像に対して行うも
のであるので、その説明は省略する。The above operations are executed for each pixel of the A image sensor,
A temperature compensated A image signal is obtained. After completing the processing for image A in this way, step (065) in FIG. 5(d)
Steps (065) (06) where subsequent steps are executed
6) Processing, Step (063) The same processing as that for the A image described in (064) is performed on the B image, so the explanation thereof will be omitted.
以上の如く第5図(C)における像信号入力サブルーチ
ンにて各センサーの像信号に対して温度補償を行われる
ので、以後前述した各ステップ動作にて該像信号に基づ
くデフォーカス演算等の焦点調節動作が正確に実行され
常に適正な焦点調節動作がなされることとなる。As described above, temperature compensation is performed on the image signal of each sensor in the image signal input subroutine shown in FIG. The adjustment operation is performed accurately and a proper focus adjustment operation is always performed.
以上の如く本発明にあっては、周囲の温度や蓄積時間を
パラメータとして、イメージセンサ−出力に対する補正
を行ったので、温度や蓄積時間によってセンサー出力が
変換することを防止し常に正確な像信号を得ることが出
来るものである。As described above, in the present invention, since the image sensor output is corrected using the ambient temperature and accumulation time as parameters, it is possible to prevent the sensor output from changing depending on the temperature or accumulation time, and to always obtain an accurate image signal. This is something that can be obtained.
第1図はイメージセンサ−の温度特性を示す説明図、
第2図は本発明に係る処理装置を有するカメラの一実施
例を示す回路図、
第3図は第2図におけるカメラに用いる焦点検出光学系
を示す構成図、
第4図は第3図示の光学系のカメラへの配設状態を示す
構成図、
第5図は本発明に係る処理袋を有するカメラの動作を説
明するフローチャートを示した説明図である。
PRS・・・コンピューター
SNS・・・センサー装置
TEMP・・・温度検地回路
20
0
40 じC) □温准Fig. 1 is an explanatory diagram showing the temperature characteristics of an image sensor, Fig. 2 is a circuit diagram showing an embodiment of a camera having a processing device according to the present invention, and Fig. 3 is a focus detection diagram used in the camera in Fig. 2. FIG. 4 is a configuration diagram showing how the optical system shown in FIG. 3 is installed in the camera; FIG. FIG. PRS...Computer SNS...Sensor device TEMP...Temperature detection circuit 20 0 40 jiC) □Wenjun
Claims (2)
せた際の光蓄積型センサーにおける各画素出力を上記セ
ンサーを投光状態で蓄積動作した際の実際の蓄積時間に
て補正した補正値を形成する補正手段と、前記実際の蓄
積時間で得たセンサーの各画素出力を上記補正値にて調
定し、補正された各画素出力を得る調定手段を有するこ
とを特徴とするイメージセンサーの処理装置。(1) Correct the output of each pixel in the light accumulation type sensor when the accumulation operation is performed for a predetermined accumulation time in a non-light emitting state using the actual accumulation time when the above sensor is accumulated in a light emitting state. and adjusting means for adjusting each pixel output of the sensor obtained during the actual accumulation time using the correction value to obtain the corrected each pixel output. image sensor processing device.
する補正手段と、光蓄積型センサーにおける各画素出力
を上記補正手段からの補正値にて調定する調定手段を有
することを特徴とするイメージセンサーの処理装置。(2) It has a correction means that detects temperature and outputs a correction value according to the detected temperature, and an adjustment means that adjusts the output of each pixel in the photoaccumulation sensor using the correction value from the correction means. An image sensor processing device featuring:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2031723A JPH03235586A (en) | 1990-02-13 | 1990-02-13 | Processing unit for image sensor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2031723A JPH03235586A (en) | 1990-02-13 | 1990-02-13 | Processing unit for image sensor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03235586A true JPH03235586A (en) | 1991-10-21 |
Family
ID=12338966
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2031723A Pending JPH03235586A (en) | 1990-02-13 | 1990-02-13 | Processing unit for image sensor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03235586A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5604584A (en) * | 1994-06-23 | 1997-02-18 | Nikon Corporation | Photometry device with correction for temperature change |
| JP2007306508A (en) * | 2006-05-15 | 2007-11-22 | Fujifilm Corp | Solid-state imaging device |
| JP2010536215A (en) * | 2007-08-10 | 2010-11-25 | コミシリア ア レネルジ アトミック | Sensitivity correction method and matrix image sensor implementing the method |
| JP2023014570A (en) * | 2021-07-19 | 2023-01-31 | 株式会社ニューフレアテクノロジー | Pattern inspection device and pattern inspection method |
-
1990
- 1990-02-13 JP JP2031723A patent/JPH03235586A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5604584A (en) * | 1994-06-23 | 1997-02-18 | Nikon Corporation | Photometry device with correction for temperature change |
| JP2007306508A (en) * | 2006-05-15 | 2007-11-22 | Fujifilm Corp | Solid-state imaging device |
| JP2010536215A (en) * | 2007-08-10 | 2010-11-25 | コミシリア ア レネルジ アトミック | Sensitivity correction method and matrix image sensor implementing the method |
| JP2023014570A (en) * | 2021-07-19 | 2023-01-31 | 株式会社ニューフレアテクノロジー | Pattern inspection device and pattern inspection method |
| US12579635B2 (en) | 2021-07-19 | 2026-03-17 | Nuflare Technology, Inc. | Pattern inspection apparatus and pattern inspection method inspecting a pattern using an image corrected using offset amount based upon dark noise levels |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3301799B2 (en) | Camera system | |
| JP3259996B2 (en) | camera | |
| JPH03230130A (en) | Camera provided with blurring detection device | |
| JPH07222044A (en) | Image sensor system | |
| JPH03235586A (en) | Processing unit for image sensor | |
| JP2004012493A (en) | Focus detection device | |
| JPH03225332A (en) | Camera provided with autofocusing device | |
| US5585882A (en) | Focus detecting apparatus detecting focus to a plurality of areas | |
| JP3294636B2 (en) | Auto focus camera | |
| JP2663653B2 (en) | Focus detection device | |
| JPH06313842A (en) | Automatic focusing camera | |
| JPH06138378A (en) | Camera having focus detecting means and line-of-sight detecting means | |
| JPH03214130A (en) | camera | |
| JPH04323505A (en) | Length measurement device built-in camera | |
| JPH086184A (en) | Imaging device | |
| JP3544052B2 (en) | Optical device and camera | |
| JP4262034B2 (en) | Optical device and camera | |
| JPH03229209A (en) | Automatic focus adjusting device | |
| JPH085457A (en) | Information detection device | |
| JPH07199053A (en) | Camera with automatic focus adjustment function | |
| JPH03152504A (en) | Focus detecting device | |
| JPH02181126A (en) | Camera | |
| JPH03152505A (en) | Focus detecting device | |
| JPH06331885A (en) | Automatic focus detecting device | |
| JPH03153204A (en) | focus detection device |