JPS6080814A - Automatic offset correcting circuit for camera - Google Patents
Automatic offset correcting circuit for cameraInfo
- Publication number
- JPS6080814A JPS6080814A JP58188763A JP18876383A JPS6080814A JP S6080814 A JPS6080814 A JP S6080814A JP 58188763 A JP58188763 A JP 58188763A JP 18876383 A JP18876383 A JP 18876383A JP S6080814 A JPS6080814 A JP S6080814A
- Authority
- JP
- Japan
- Prior art keywords
- offset
- circuit
- output
- value
- sample
- 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.)
- Granted
Links
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は、−眼レフカメラの自動合焦装置において、そ
の自動合焦センサの出力をA/D変換したデジタル信号
を処理する場合に生じるオフセット電圧を自動的に補正
する回路に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention provides: - an automatic focusing device for an eye reflex camera that automatically corrects offset voltage that occurs when processing a digital signal obtained by A/D converting the output of the automatic focusing sensor; related to circuits.
従来の一眼レフカメラとしては、次のものが知られてい
る。すなわち、レンズを通過した光の一部をミラーボッ
クス下部に導き、その下部に自動合焦センサを設け、そ
の自動合焦センサによって冑られた光電出力を電子回路
によって演算し、コントラストまたは位相差を検出する
ことによって、呪在のピント位置をファインダ内に表示
させまたは自動合焦レンズを動作させるものである。The following types of conventional single-lens reflex cameras are known. In other words, part of the light that has passed through the lens is guided to the bottom of the mirror box, an autofocus sensor is installed at the bottom of the mirror box, and the photoelectric output from the autofocus sensor is calculated by an electronic circuit to calculate the contrast or phase difference. By detecting this, the current focus position is displayed in the finder or an automatic focusing lens is operated.
一方、最近の電子回路は、ノイズに強い点、精度が高い
点、扱い易い点等から、デジタル信号を処理するデジタ
ルICが増加している。現に、マイクロコンピュータを
内蔵した一眼レフカメラも製品化されている。そして、
そのデジタル回路は、露出演算等の他の処理をも行なう
ために、次第に複雑化している。On the other hand, in recent electronic circuits, the number of digital ICs that process digital signals is increasing because of their resistance to noise, high precision, and ease of handling. In fact, single-lens reflex cameras with built-in microcomputers have also been commercialized. and,
The digital circuits are becoming increasingly complex because they also perform other processing such as exposure calculations.
また、前記自動合焦センサは、光電素子数が多いために
、各センサからの出力時間が短く、またA/D変換に比
較的時間がかかるので、電子回路では、一旦サンプルホ
ールドしてからA/D変換し、デジタル信号に変換して
いる。Furthermore, since the autofocus sensor has a large number of photoelectric elements, the output time from each sensor is short, and A/D conversion takes a relatively long time. /D conversion and converts it into a digital signal.
ところで、上記自動合焦センサの出力をサンプルホール
ドする場合にオペアンプおよび他の回路を使用するが、
このオペアンプおよび回路構成によって、オフセット誤
差が大きく変化する。そして、そのオフセット調整を行
なわずに、ビデオ信号をA/D変換したとすると、オフ
セット電圧が重畳されたビデオ信号値がA/D変換され
ることになり、好ましくない。By the way, an operational amplifier and other circuits are used to sample and hold the output of the autofocus sensor mentioned above.
The offset error varies greatly depending on the operational amplifier and circuit configuration. If the video signal is A/D converted without performing the offset adjustment, the video signal value on which the offset voltage is superimposed will be A/D converted, which is not preferable.
このために、従来は、オペアンプのオフセットによって
、その都度、抵抗値を調整するいわゆるトリミング抵抗
を使用した装置が採用されている。To this end, conventionally, a device using a so-called trimming resistor has been adopted in which the resistance value is adjusted each time by offset of an operational amplifier.
しかし、この装置は、オフセット電圧が互いに異なるオ
ペアンプについて補正できるものの、その調整が必要で
あるという問題があり、また温度ドリフトを補正できな
いという問題がある。However, although this device can correct operational amplifiers with different offset voltages, there is a problem in that adjustment is required, and there is also a problem in that temperature drift cannot be corrected.
本発明は、上記従来の問題点に着目してなされたもので
、オフセット電圧を自動的に補正することができ、また
温度ドリフトを補償することができるカメラのオフセッ
ト自動補正回路を提供するものである。The present invention has been made in view of the above conventional problems, and provides an automatic camera offset correction circuit that can automatically correct offset voltage and compensate for temperature drift. be.
この目的を達成するために、本発明は、サンプルホール
ド回路の出力端子にオフセットレジスタを接続し、サン
プルホールド回路が出力するオフセット電圧をA/D変
換し、この出力値を用いて前記オフセットレジスタの値
を、中央処理装置によって変化させてオフセット電圧を
補正し、オフセット電圧を所定の値に制御するものであ
る。In order to achieve this object, the present invention connects an offset register to the output terminal of a sample-and-hold circuit, A/D converts the offset voltage outputted by the sample-and-hold circuit, and uses this output value to control the offset register. The value is changed by the central processing unit to correct the offset voltage, and the offset voltage is controlled to a predetermined value.
以下、添附図面に示す実施例に基づいて本発明を詳述す
る。第1図は、本発明の一実施例を示すブロック図であ
る。この図は、自動合焦回路を含めた一眼レフカメラの
電子回路の一部を示すブロック図である。CCDセンサ
1は、ミラーボックスの下部に設けられ、被写体からの
光を受けるものである。このCCDセンサ1の出力は、
サンプルホールド回路2に送られ、このサンプルホール
ド回路2において、ビデオ成分、ダーク成分ごとにサン
プルホールドされ、その両者の差が演算される。すなわ
ち、その差がビデオ信号として出力される。Hereinafter, the present invention will be described in detail based on embodiments shown in the accompanying drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. This figure is a block diagram showing part of the electronic circuit of a single-lens reflex camera including an automatic focusing circuit. The CCD sensor 1 is provided at the bottom of the mirror box and receives light from a subject. The output of this CCD sensor 1 is
The signal is sent to the sample and hold circuit 2, where the video component and dark component are sampled and held separately, and the difference between the two is calculated. That is, the difference is output as a video signal.
オフセット補正回路3は、サンプルホールド回路2が出
力するオフセット誤差を補正するものである。マルチプ
レクサ7は、8■回路4% AVOO路5、Sv回路6
、オフセット補正回路3の各出力信号を受け、そのうち
の1つを選択し、出力するものである。A/D変挽変格
回路8マルチプレクサ7の出力をデジタル信号に変換す
るものであり、この変換された信号は、中央処理装!!
9に入力され、所定の演算が行なわれる。なお、この中
央処理装置9は、CCDセンサ1、サンプルホールド回
路2、オフセット補正回路3、マルチプレクサ7、A/
D変挽変格回路8制御している。The offset correction circuit 3 corrects the offset error output from the sample hold circuit 2. Multiplexer 7 has 8■circuit 4%, AVOO path 5, Sv circuit 6
, the offset correction circuit 3, and selects and outputs one of them. It converts the output of the A/D conversion circuit 8 multiplexer 7 into a digital signal, and this converted signal is sent to the central processing unit! !
9, and predetermined calculations are performed. Note that this central processing unit 9 includes a CCD sensor 1, a sample hold circuit 2, an offset correction circuit 3, a multiplexer 7, an A/
D-transformation circuit 8 is controlled.
第2図は、第1図において、マルチプレクサ7を省略す
るとともに、CCDセンサの流れを中心にして具体的に
示した回路図である。CCDセンサ1の出力端子には定
電流源13が接続されている。アナログスイッチ11は
、CCDセンサ1とオペアンプ16の非反転入力端子と
の間に設けられ、その制御端子は中央処理装@9に接続
されている。また、アナログスイッチ12は、CCDセ
ンサ1とオペアンプ17の非反転入力端子との間に設け
られ、その制御端子は中央処理装置9に接続されている
。オペアンプ16.17の非反転入力端子には、それぞ
れコンデンサCI、C2が接続されている。FIG. 2 is a circuit diagram in which the multiplexer 7 in FIG. 1 is omitted and specifically shows the flow of the CCD sensor. A constant current source 13 is connected to the output terminal of the CCD sensor 1. The analog switch 11 is provided between the CCD sensor 1 and the non-inverting input terminal of the operational amplifier 16, and its control terminal is connected to the central processing unit @9. Further, the analog switch 12 is provided between the CCD sensor 1 and the non-inverting input terminal of the operational amplifier 17, and its control terminal is connected to the central processing unit 9. Capacitors CI and C2 are connected to non-inverting input terminals of the operational amplifiers 16 and 17, respectively.
さらに、アナログスイッチ14は、基準電圧源40とオ
ペアンプ16の非反転入力端子との間に設けられ、その
制御端子は中央処理装置9に接続されている。また、ア
ナログスイッチ15は、基準電圧源40とオペアンプ1
7の非反転入力端子との間に設けられ、その制御端子は
アナログスイッチ14の制御端子に接続されている。Further, the analog switch 14 is provided between the reference voltage source 40 and the non-inverting input terminal of the operational amplifier 16, and its control terminal is connected to the central processing unit 9. Further, the analog switch 15 connects the reference voltage source 40 and the operational amplifier 1.
7, and its control terminal is connected to the control terminal of the analog switch 14.
サンプルホールド回路18は、アナログスイッチ11.
14とコンデンサC1とオペアンプ16とによって構成
されている。また、サンプルホールド回路19は、アナ
ログスイッチ12.15とコンデンサC2とオペアンプ
17とによって構成されている。これらサンプルホール
ド回路18と19とが、第1図のサンプルホールド回路
2に対応するものである。オペアンプ16.17の出力
端子の間には、抵抗R1,R3,R2の直列抵抗が接続
され、抵抗R1とR3との接続点と、オペアンプ16の
反転端子とが接続され、抵抗R2とR3との接続点と、
オペアンプ17の反転端子とが接続されている。The sample and hold circuit 18 includes the analog switch 11.
14, a capacitor C1, and an operational amplifier 16. Further, the sample hold circuit 19 includes an analog switch 12.15, a capacitor C2, and an operational amplifier 17. These sample and hold circuits 18 and 19 correspond to the sample and hold circuit 2 in FIG. A series resistor of resistors R1, R3, and R2 is connected between the output terminals of the operational amplifiers 16 and 17, a connection point between the resistors R1 and R3 and an inverting terminal of the operational amplifier 16 is connected, and a connection point between the resistors R2 and R3 is connected. and the connection point of
It is connected to the inverting terminal of the operational amplifier 17.
また、オペアンプ16の出力端子とオペアンプ20の非
反転入力端子との間に抵抗R4が接続され、オペアンプ
17の出力端子とオペアンプ20の反転入力端子との間
に抵抗R5が接続されている。オペアンプ20の反転入
力端子と出力端子との間に抵抗R6が接続され、その非
反転入力端子と基準電圧源40との間に抵抗R7が接続
されている。オペアンプ20の出力端子とコンパレータ
26の反転入力端子Pとの間に抵抗R8が接続され、電
源端子Vccとコンパレータ26の反転入力端子との間
に定電流源21が設けられている。そして、定電流源2
2とアナログスイッチ27との直列回路、定電流源23
とアナログスイッチ28との直列回路、定電流源24と
アナログスイッチ29との直列回路、定電流源25とア
ナログスイッチ30との直列回路が、コンパレータ26
の反転入力端子とグランドとの間に接続される。Further, a resistor R4 is connected between the output terminal of the operational amplifier 16 and the non-inverting input terminal of the operational amplifier 20, and a resistor R5 is connected between the output terminal of the operational amplifier 17 and the inverting input terminal of the operational amplifier 20. A resistor R6 is connected between the inverting input terminal and the output terminal of the operational amplifier 20, and a resistor R7 is connected between the non-inverting input terminal and the reference voltage source 40. A resistor R8 is connected between the output terminal of the operational amplifier 20 and the inverting input terminal P of the comparator 26, and a constant current source 21 is provided between the power supply terminal Vcc and the inverting input terminal of the comparator 26. And constant current source 2
2 and analog switch 27, constant current source 23
A series circuit of the constant current source 24 and the analog switch 29 , a series circuit of the constant current source 25 and the analog switch 30 , a series circuit of the constant current source 24 and the analog switch 30 ,
connected between the inverting input terminal and ground.
また、たとえば定電流′1fA25の電流値をI/8と
すれば、定電流源24.23.22の電流値をそれぞれ
I/4.1/2.1というように、複数個の定電流源2
5.24.23.22は、その電流値が整数倍の関係に
ある。For example, if the current value of the constant current '1fA25 is I/8, then the current values of the constant current sources 24, 23, and 22 are respectively I/4.1/2.1, and so on. 2
5.24.23.22 have a relationship in which the current values are integral multiples.
オフセットレジスタ31は、4ビツトのバスを介して中
央処理装置9から制御され、各制御端子を介してアナロ
グスイッチ27.28,29.30を1IIIIIシて
いる。これら定電11f121,22゜23.24.2
5と、アナログスイッチ27,28.29.30と、抵
抗R8と、オフセットレジスタ31とによって、第1図
に示したオフセット補正回路3を構成している。The offset register 31 is controlled by the central processing unit 9 via a 4-bit bus, and controls analog switches 27, 28, 29, and 30 via each control terminal. These constant voltages 11f121, 22°23.24.2
5, the analog switches 27, 28, 29, and 30, the resistor R8, and the offset register 31 constitute the offset correction circuit 3 shown in FIG.
コンパレータ26の出力端子は逐次比較レジスタ32に
接続され、この逐次比較レジスタ32の出力信号は、D
/A変換器34を介してコンパレータ26の非反転入力
端子に送られるとともに、中央処理装@9に送られる。The output terminal of the comparator 26 is connected to a successive approximation register 32, and the output signal of this successive approximation register 32 is D
The signal is sent to the non-inverting input terminal of the comparator 26 via the /A converter 34, and is also sent to the central processing unit @9.
D/A変換器34は基準電圧源40から基準電圧V r
efが供給されている。逐次比較レジスタ32はクロッ
ク発生器33からのクロック信号によって駆動される。The D/A converter 34 receives a reference voltage Vr from a reference voltage source 40.
ef is supplied. Successive approximation register 32 is driven by a clock signal from clock generator 33.
コンパレータ26と、逐次比較レジスタ32と、D/A
変換器34と、クロック発生器33と、基準電圧源40
とによって、第1図に示すA/D変換回路8が構成され
ている。このA/D変換回路8は逐次比較形である。Comparator 26, successive approximation register 32, and D/A
converter 34, clock generator 33, and reference voltage source 40
The A/D conversion circuit 8 shown in FIG. 1 is configured by these. This A/D conversion circuit 8 is of a successive approximation type.
まず、CCDセンサ1の出力形式がオープンドレイン形
式になっているので、定電流源13をそのトレインに接
続することによって、CCDセンサ1の出力電圧が取り
出される。CCDセンサ1の出力信号は、ダーク信号と
、このダーク信号に重畳されたビデオ信号成分とから成
っている。このため、一旦、ダーク信号とビデオ信号と
に分けて取出し、その後に、その差をめてビデオ信号と
する。CCDセンサ1の出力信号は、アナログスイッチ
11.12において、中央処理装@9からのサンプル信
号φds、φVSによって、ダーク信号およびビデオ(
it号に分割され、各々サンプルされる。そして、コン
デンサC1,C2に、それぞれダーク信号Vd、ビデオ
信号VVがホールドされる。First, since the output format of the CCD sensor 1 is an open drain format, the output voltage of the CCD sensor 1 is extracted by connecting the constant current source 13 to the train. The output signal of the CCD sensor 1 consists of a dark signal and a video signal component superimposed on this dark signal. For this reason, the dark signal and the video signal are once separated and extracted, and then the difference between them is calculated and used as the video signal. The output signal of the CCD sensor 1 is converted into a dark signal and a video (
It is divided into it numbers and each is sampled. Then, the dark signal Vd and the video signal VV are held in the capacitors C1 and C2, respectively.
次に、抵抗R4,R5,R6,R7およびオペアンプ2
0に♂って構成される差動増幅回路によって、前記ダー
ク信号Vdとビデオ信号Vvとの差が出力される。ここ
で、抵抗R7の一端を基準出力の基準は基準電圧V r
efとなる。Next, resistors R4, R5, R6, R7 and operational amplifier 2
The difference between the dark signal Vd and the video signal Vv is outputted by the differential amplifier circuit configured as 0. Here, one end of the resistor R7 is connected to the reference voltage V r
It becomes ef.
ここで、抵抗R4の値とR5の値とを同じにし、抵抗R
6の値とR7の値とを同じにし、オペアンプ16,17
.20の入力オフセット電圧を、それぞれVO31、V
O32、VQS3とすると、最終的なオペアンプ20の
出力電圧Voutは、Vout = (R6/R4)(
1+(R1+R2)/R3) (Vv−Vd+Vos2
−Vosl )+ (1+ (R6/R4) ) ・V
os3 +Vref −−−−−−−−−■となる。Here, the value of the resistor R4 and the value of the resistor R5 are set to be the same, and the resistor R
6 and R7 are the same, and the operational amplifiers 16 and 17
.. 20 input offset voltages, VO31 and V
O32 and VQS3, the final output voltage Vout of the operational amplifier 20 is Vout = (R6/R4) (
1+(R1+R2)/R3) (Vv-Vd+Vos2
-Vosl )+ (1+ (R6/R4) ) ・V
os3 +Vref −−−−−−−−■.
次に、抵抗R1の値とR2の値とを同じにし、抵抗R4
の値とR6の値とを同じにし、制御信号φO8をHlに
し、サンプルホールド回路18.19の入力電圧をそれ
ぞれ基準電圧源40の電圧を基準電圧■refニした場
合、V V = V d = V refであるから、
その出力電圧voutは、Vout = (1+2・R
1/R3) ・(Vos2−VO8+)+2・V 03
3 + V ref・・・・・・・・・・・・・・・・
・・■となる。したがって、オフセット電圧V off
setは、Vorfset −(1+2 ・R1/R3
) ・(Vos2−VO81)+2 ・Vos3 ・・
・・・・・・・・・・・・・・・・・・・・・・・・・
■となる。Next, make the value of resistor R1 and R2 the same, and resistor R4
When the value of and the value of R6 are made the same, the control signal φO8 is set to Hl, and the input voltage of the sample and hold circuits 18 and 19 is set to the reference voltage source 40 and the reference voltage ref, V V = V d = Since V ref,
Its output voltage vout is Vout = (1+2・R
1/R3) ・(Vos2−VO8+)+2・V 03
3 + V ref・・・・・・・・・・・・・・・・
... becomes ■. Therefore, the offset voltage V off
set is Vorfset −(1+2 ・R1/R3
) ・(Vos2-VO81)+2 ・Vos3 ・・
・・・・・・・・・・・・・・・・・・・・・・・・
■It becomes.
ここで、オペアンプ16.17の入力構成をFET入力
にすると、オペアンプ16.17単体でのオフセット電
圧は、約±30mVになる。また、オペアンプ20のオ
フセット電圧を無視し、上記0式中の(1+2・R1/
R3)を1にすると、オフセット補正回路3全体のオフ
セット電圧は、最大で±60111vとなる。Here, if the input configuration of the operational amplifier 16.17 is FET input, the offset voltage of the operational amplifier 16.17 alone will be approximately ±30 mV. Also, ignoring the offset voltage of the operational amplifier 20, (1+2・R1/
When R3) is set to 1, the offset voltage of the entire offset correction circuit 3 becomes ±60111v at maximum.
次に、定電流+1!21.22の電流値を1とし、定電
流源23.24.25の電流値を、それぞれ1/2.[
/4.I/8とする。また、定電流源22.23.24
.25が全てオフ状態であるとすると、定電流源21の
電流■は、抵抗R8を介してオペアンプ20へ全て流れ
、P点電位は、Vout + l−R8になり、l−R
8分の電位が上昇する。また、たとえば定電流源22お
よび23がオーンのときには、定電流源21を流れる電
流■との差である1/2の電流がオペアンプ20から抵
抗R8を介して定電流源方向へ流れ、P点電位は、Vo
ut −1・(、R,8) / 2になる。したがって
、サンプルホールド回路18.19の入力を同一電位に
した場合におけるP点の電位vPは、VP=(1+2・
R1/R3)(Vos2−Vosl ) +2−Vos
3 +Vref + (1−al−1−R2−1/2−
R3−I/4−R4−1/8) R−■で表される。但
し、al、R2,R3,R4は、状態によって、0また
は1の値をとる。Next, the current value of the constant current +1!21.22 is set to 1, and the current value of the constant current sources 23, 24, and 25 is set to 1/2. [
/4. Let it be I/8. Also, constant current source 22.23.24
.. 25 are all off, the current ■ of the constant current source 21 flows through the resistor R8 to the operational amplifier 20, and the potential at point P becomes Vout + l-R8, l-R
The potential at 8 minutes increases. Further, for example, when the constant current sources 22 and 23 are on, a current of 1/2, which is the difference from the current flowing through the constant current source 21, flows from the operational amplifier 20 to the constant current source via the resistor R8, and the current flows from the operational amplifier 20 to the constant current source through the resistor R8. The potential is Vo
It becomes ut -1・(,R,8)/2. Therefore, when the inputs of the sample and hold circuits 18 and 19 are set to the same potential, the potential vP at point P is VP=(1+2・
R1/R3) (Vos2-Vosl) +2-Vos
3 +Vref + (1-al-1-R2-1/2-
R3-I/4-R4-1/8) R-■. However, al, R2, R3, and R4 take a value of 0 or 1 depending on the state.
したがって、al、R2,R3,R4を適当に決めるこ
とによって、+I−Rから−(7/8)I−Rまで電圧
を変化させることができ、■式第1項および第2項のオ
フセット値を補正づることが可能である。Therefore, by appropriately determining al, R2, R3, and R4, the voltage can be changed from +IR to -(7/8)IR, and the offset value of the first and second terms of the equation It is possible to correct the
なお、このD/A変換部分の分解能は(1/8)・Rで
あり、オフセット補正回路3中のレジスター、スイッチ
、定電流源の数を増加することによって、分解能を増加
し、またオフセット調整範囲を拡大することができる。Note that the resolution of this D/A conversion part is (1/8)·R, and by increasing the number of registers, switches, and constant current sources in the offset correction circuit 3, the resolution can be increased and the offset adjustment The range can be expanded.
このようにして、サンプルホールドしたビデオ信@値に
、D/A変換した所定の電圧を重畳することによって、
そのオフセット電圧を補正できる。In this way, by superimposing a predetermined D/A converted voltage on the sampled and held video signal@value,
The offset voltage can be corrected.
そして、オフセットを除去した出力をA/D変挽回路8
に送る。なお、中央処理装置9は、CCDセンサ1、ア
ナログスイッチ11,12.13゜14、オフレット補
正回路3中のオフセットレジスタ31を制御し、A/D
変換回路8からの信号を受けて演篩処理する。Then, the output from which the offset has been removed is sent to the A/D conversion circuit 8.
send to The central processing unit 9 controls the CCD sensor 1, the analog switches 11, 12.13° 14, and the offset register 31 in the offlet correction circuit 3, and controls the A/D
A signal from the conversion circuit 8 is received and subjected to screening processing.
第3図は上記実施例のタイムチャートであり、第4図は
上記実施例のフローチャートである。FIG. 3 is a time chart of the above embodiment, and FIG. 4 is a flow chart of the above embodiment.
これら第3.4図を参照しながら、中央処理装置9から
の命令に応じてオフセット補正が実行される様子を説明
する。The manner in which offset correction is executed in response to a command from the central processing unit 9 will be described with reference to FIG. 3.4.
なお、A/D変挽回路8および中央処理装置9の分解能
は、一般的な8ビツト構成とづる。まず、CCDセンサ
1の値をサンプルホールドする前に、オフセット補正を
終了させるために、積分開始直前にオフセット補正を行
なう。ずなわら、中央処理装置9からアナログスイッチ
11.12にそれぞれ送られる信号φdsおよび信号φ
VSをLOにすることによって、CCDセンサ1側から
サンプルホールド回路18.19に向う信号を遮断する
。Note that the resolution of the A/D conversion circuit 8 and the central processing unit 9 is a general 8-bit configuration. First, before sampling and holding the value of the CCD sensor 1, offset correction is performed immediately before the start of integration in order to complete the offset correction. Of course, the signal φds and the signal φ sent from the central processing unit 9 to the analog switches 11 and 12, respectively.
By setting VS to LO, signals from the CCD sensor 1 side to the sample and hold circuits 18 and 19 are cut off.
次いで、アナログスイッチ14.15に送られる信号φ
O8をHlにすることによって、サンプルホールド回路
18.19の入力を基準電圧V refに設定する。こ
の場合、オペアンプ20の出力は、式■に示したyou
tになる。The signal φ is then sent to the analog switch 14.15.
By setting O8 to Hl, the input of the sample and hold circuit 18.19 is set to the reference voltage V ref. In this case, the output of the operational amplifier 20 is you shown in equation (■).
It becomes t.
ここで、中央処理装置9からの命令によって、オフセッ
トレジスタ31の内容なooooに初期設定する。この
場合、定電流源22.23.24゜25は全てオフとな
り、定電流#+21の電流Iは、抵抗R8を介してオペ
アンプ20に流れる。つまり0式において、ai=82
=83=84=oの状態であり、P点の電位はVP=V
out + I −R8となる。この値がA/D変挽回
路8によってデジタル伍に変換され、中央処理装置9に
入力される。一方、基準電圧V refがA/D変換さ
れた値に対応する。oooooooが予め中央処理装置
に記憶されていて、これら2値を比較する。Here, the contents of the offset register 31 are initialized to oooo by a command from the central processing unit 9. In this case, the constant current sources 22, 23, 24, 25 are all turned off, and the current I of constant current #+21 flows to the operational amplifier 20 via the resistor R8. In other words, in formula 0, ai=82
=83=84=o, and the potential at point P is VP=V
It becomes out + I - R8. This value is converted into a digital value by the A/D conversion circuit 8 and input to the central processing unit 9. On the other hand, the reference voltage V ref corresponds to an A/D converted value. oooooooo is stored in advance in the central processing unit, and these two values are compared.
ここで、A/D変換された出力値がv ratよりも高
ければ、オーバーフローとなり、その出力は00 とな
るために、レジスタの内容を1増加して同じ操作を繰り
返す。もし、A/D変換値が、00H以外の値ならば、
そのときにはyrerに達していないのであるから、オ
フセットレジスタの値はooooの状態であり、オフレ
ット補正は終了したことになる。Here, if the A/D converted output value is higher than v rat, an overflow occurs and the output becomes 00, so the contents of the register are incremented by 1 and the same operation is repeated. If the A/D conversion value is a value other than 00H,
At that time, since yrer has not been reached, the value of the offset register is in the state of oooo, and the offlet correction has been completed.
次に、何回かレジスタの内容を1づつ増加してA/D変
換を繰り返し、00Hからそれ以外の値になったならば
、そのときに、出力値がvrerよりも大きな値からそ
のVrefよりも小さな値になったのであり、そのとき
のオフセットレジスタ31の値を中央処理装置9が記憶
し、これによってオフセット補正が完了する。もし、レ
ジスタの内容が1111まで達してもA/D変換値が0
0Hから変化しない場合には、オフセットレジスター1
11の内容を最良値と考えて補正動作を終了する。Next, the contents of the register are increased by 1 several times and A/D conversion is repeated, and if the value changes from 00H to any other value, then the output value changes from a value greater than vrer to a value greater than that Vref. has also become a small value, and the central processing unit 9 stores the value of the offset register 31 at that time, thereby completing the offset correction. Even if the contents of the register reach 1111, the A/D conversion value will be 0.
If it does not change from 0H, offset register 1
The correction operation is completed by considering the contents of No. 11 as the best value.
上記説明は、サンプルホールド回路18.19のオフセ
ット誤差を補正する場合にA/D変挽回路8を使用した
ものであるが、A/D変換回路8全体を使用しなくても
、A/D変挽回路8中に設けられているコンパレータ2
6と基準電圧源40とだけを使用するようにしてもよい
。すなわち、サンプルホールド回路18.19のオフセ
ットを補正する場合、コンパレータ26を逐次比較レジ
スタ32と切り離し、そのコンパレータ26の出力信号
を中央処理装置9に直接印加する。そして、コンパレー
タ26の非反転入力端子もD/A変換器34から切り離
し、その非反転入力端子を基準電圧源40の出力に接続
する。In the above explanation, the A/D conversion circuit 8 is used to correct the offset error of the sample and hold circuits 18 and 19. Comparator 2 provided in the converting circuit 8
6 and the reference voltage source 40 may be used. That is, when correcting the offset of the sample and hold circuits 18 and 19, the comparator 26 is separated from the successive approximation register 32, and the output signal of the comparator 26 is applied directly to the central processing unit 9. The non-inverting input terminal of the comparator 26 is also disconnected from the D/A converter 34, and the non-inverting input terminal is connected to the output of the reference voltage source 40.
この場合の動作も、第4図に示したフローチャートと同
様である。また、コンパレータ26によって基準電圧V
refとP点の電圧とを比較することになる。オフセ
ットレジスタ31の内容をo。The operation in this case is also similar to the flowchart shown in FIG. Further, the reference voltage V
ref and the voltage at point P will be compared. The contents of the offset register 31 are o.
00から次第に変化し、コンパレータ26の出力がLO
からHlに変化したときにおけるオフセットレジスタ3
1の値を記憶することによって、オフセット補正動作が
終了する。この実施例は、第2図に示した実施例よりも
応答時間が速くなるので、中央処理装置9が他の演算を
実行する場合にその負担が軽減するという利点がある。The output of the comparator 26 gradually changes from 00 to LO.
Offset register 3 when changing from to Hl
By storing a value of 1, the offset correction operation ends. Since this embodiment has a faster response time than the embodiment shown in FIG. 2, it has the advantage that the burden on the central processing unit 9 when performing other calculations is reduced.
また、上記オフセット補正を行なうタイミングとしては
、電源投入時に設定するかまたは、CCDセンサ1の出
力タイミングに合せて一定時間ごとに設定するようにし
てもよい。さらに、温度が変化した場合でも、温度ドリ
フトによる影響を受けない。またA/D変挽回路による
A/D変換は、オフセット補正の場合またはc CD
センサ1のみならず、3v回路4、Sv回路5、AV回
路6に対しても行なうので、非常に効率的である。Further, the timing for performing the offset correction may be set when the power is turned on, or may be set at regular intervals in accordance with the output timing of the CCD sensor 1. Furthermore, it is not affected by temperature drift even when the temperature changes. In addition, A/D conversion by the A/D conversion circuit is performed in the case of offset correction or c CD
The process is performed not only for the sensor 1 but also for the 3v circuit 4, Sv circuit 5, and AV circuit 6, so it is very efficient.
オフセット補正を行なうのは、センサ1からの出力がな
い場合である。そのときに、制御信号φO8をl(iに
して、オペアンプ16.17の入力をV refにし、
出力値に含まれるオフセット値を■ミ■式に従って補正
する。したがって、オフセットが無ければ、v out
−v rerになる。Offset correction is performed when there is no output from sensor 1. At that time, the control signal φO8 is set to l(i, the input of the operational amplifier 16.17 is set to V ref,
Correct the offset value included in the output value according to the formula. Therefore, if there is no offset, v out
- Become a rer.
なお、サンプルホールド回路18,19、差動増幅回路
のオフセット電圧はA/D変挽回路8においてA/D変
換され、この変換値と基準電圧VrefのA/D変換値
00Hとが中央処理装置9で比較される。そして、中央
処理装置9からオフセットレジスタに命令を送ってレジ
スタの値を変える。このときのVpの値を再びA/D変
換して比較する。これらの操作を繰り返す。また、場合
によっては、オフセットレジスタの値を1111から始
め、Vpを基準電圧V refよりも下げて低い値から
基準電圧V refにすることも可能である。Note that the offset voltages of the sample and hold circuits 18 and 19 and the differential amplifier circuit are A/D converted in the A/D conversion circuit 8, and this converted value and the A/D converted value 00H of the reference voltage Vref are sent to the central processing unit. 9 to be compared. Then, a command is sent from the central processing unit 9 to the offset register to change the value of the register. The value of Vp at this time is A/D converted again and compared. Repeat these operations. Further, depending on the case, it is also possible to start the value of the offset register from 1111 and lower Vp below the reference voltage V ref to set the reference voltage V ref from a low value.
このときには、1回のA/D変換のみで、基準電圧V
refとどの程度前れているかがわかり、中央処理装置
9の処理によって、−気にオフセットレジスタの値を変
えて補正を完了することも可能である。At this time, with only one A/D conversion, the reference voltage V
It is also possible to know how far in advance of ref it is, and through the processing of the central processing unit 9, change the value of the offset register to complete the correction.
上記のように、本発明は、サンプルホールド回路におけ
るオフセット誤差を自動的に補正することができ、その
分解能が不足する場合には、D/A変換手段におけるビ
ット数を増加することによってその分解能を容易に向上
することができるという効果を有する。As described above, the present invention can automatically correct offset errors in the sample and hold circuit, and when the resolution is insufficient, the resolution can be improved by increasing the number of bits in the D/A conversion means. It has the effect of being easily improved.
第1図は本発明の一実施例を示すブロック図であり一眼
レフカメラの電子回路を示す図、第2図は第1図のオフ
セット補正を行なうCODラインセンサの流れを中心に
具体的な例を示す回路図、第3図は上記実施例のタイム
チャート、第4図は同実施例のフローチャートである。
1・・・CCDセンサ、2・・・サンプルホールド回路
、 、3・・・オフセット補正回路、7・・・マルチプ
レクサ、8・・・A/D変換回路、9・・・中央処理装
置、11゜12.14.15・・・アナログスイッチ、
16,17.20・・・オペアンプ、18.19・・・
サンプルホールド回路、21,22,23,24.25
・・・定電流回路、26・・・コンパレータ、31・・
・オフセットレジスタ。
特許出願人 旭光学工業株式会社
代理人弁理士 三 浦 邦 夫
手続補正書(自動
1.事件の表示
昭和58年特許願第188763号
2、発明の名称
カメラのオフセット自動補正回路
図面
以上
第4図Fig. 1 is a block diagram showing an embodiment of the present invention, and is a diagram showing the electronic circuit of a single-lens reflex camera, and Fig. 2 is a concrete example focusing on the flow of the COD line sensor that performs offset correction in Fig. 1. FIG. 3 is a time chart of the above embodiment, and FIG. 4 is a flow chart of the same embodiment. DESCRIPTION OF SYMBOLS 1... CCD sensor, 2... Sample hold circuit, 3... Offset correction circuit, 7... Multiplexer, 8... A/D conversion circuit, 9... Central processing unit, 11° 12.14.15...Analog switch,
16, 17.20... operational amplifier, 18.19...
Sample and hold circuit, 21, 22, 23, 24.25
... constant current circuit, 26 ... comparator, 31 ...
・Offset register. Patent Applicant Asahi Kogaku Kogyo Co., Ltd. Representative Patent Attorney Kunio Miura Procedural Amendment (Automatic 1. Display of Case 1988 Patent Application No. 188763 2 Name of Invention Camera Offset Automatic Correction Circuit Drawing Above and Above Figure 4
Claims (1)
のCCDセンサの出力をサンプルホールドするサンプル
ホールド回路と、サンプルホールド出力、[3v情報、
AV情報、3v情報から1つを選択するマルチプレクサ
と、このマルチプレクサの出力をΔ/D変換するA/D
変換器と、このA/D変換器の出力信号を処理する中央
処I!I!装置とを備え、前記CCDセンサの出力をA
/D変換した後に演算処理することによって自動焦点調
定可能なカメラにおいて、前記サンプルホールド回路の
出力端子にオフセットレジスタを接続し、前記サンプル
ホールド回路が出力するオフセット電圧をA/D変換し
、この出力値を用いて前記オフセットレジスタの値を、
前記中央処理装置によって変化させてオフセット電圧を
補正し、前記オフセット電圧を所定の値に制御すること
を特徴とするカメラのオフセット自動補正回路。 (2、特許請求の範囲第1項において、前記オフセット
補正回路は、電流値が整数倍の関係にある複数個の定電
流源と、この定電流源と同数のアナログスイッチと、こ
のアナログスイッチを制御するオフセットレジスタとを
有するものであることを特徴とするカメラのオフセット
自動補正回路。(1) A CCD sensor that detects the brightness distribution of the subject, a sample hold circuit that samples and holds the output of this CCD sensor, and a sample hold output, [3v information,
A multiplexer that selects one from AV information and 3V information, and an A/D that converts the output of this multiplexer into Δ/D
converter and a central processor I! that processes the output signal of this A/D converter. I! and a device to output the output of the CCD sensor to A.
In a camera capable of automatic focus adjustment by performing arithmetic processing after /D conversion, an offset register is connected to the output terminal of the sample and hold circuit, and the offset voltage output from the sample and hold circuit is A/D converted. Use the output value to set the value of the offset register,
An automatic offset correction circuit for a camera, characterized in that the offset voltage is corrected by being changed by the central processing unit, and the offset voltage is controlled to a predetermined value. (2. In claim 1, the offset correction circuit includes a plurality of constant current sources whose current values are integer multiples, the same number of analog switches as the constant current sources, and the analog switches. 1. An automatic offset correction circuit for a camera, comprising: an offset register for controlling the offset register.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58188763A JPS6080814A (en) | 1983-10-08 | 1983-10-08 | Automatic offset correcting circuit for camera |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58188763A JPS6080814A (en) | 1983-10-08 | 1983-10-08 | Automatic offset correcting circuit for camera |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6080814A true JPS6080814A (en) | 1985-05-08 |
| JPH0349082B2 JPH0349082B2 (en) | 1991-07-26 |
Family
ID=16229343
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58188763A Granted JPS6080814A (en) | 1983-10-08 | 1983-10-08 | Automatic offset correcting circuit for camera |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6080814A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63152370U (en) * | 1987-03-26 | 1988-10-06 | ||
| JP2000106651A (en) * | 1999-10-01 | 2000-04-11 | Nec Corp | Epn correction data generating method and image pickup device using the method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS508828U (en) * | 1973-05-22 | 1975-01-29 | ||
| JPS5697307A (en) * | 1979-12-29 | 1981-08-06 | Olympus Optical Co Ltd | Detection of focusing and photometry |
-
1983
- 1983-10-08 JP JP58188763A patent/JPS6080814A/en active Granted
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS508828U (en) * | 1973-05-22 | 1975-01-29 | ||
| JPS5697307A (en) * | 1979-12-29 | 1981-08-06 | Olympus Optical Co Ltd | Detection of focusing and photometry |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63152370U (en) * | 1987-03-26 | 1988-10-06 | ||
| JP2000106651A (en) * | 1999-10-01 | 2000-04-11 | Nec Corp | Epn correction data generating method and image pickup device using the method |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0349082B2 (en) | 1991-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI528821B (en) | Bandgap reference circuit with offset voltage removal | |
| US10587794B2 (en) | Methods and apparatus for actuator control | |
| JPH0587812B2 (en) | ||
| JPS6080814A (en) | Automatic offset correcting circuit for camera | |
| JPS6081685A (en) | Auto zero integrator | |
| US5359383A (en) | Automatic focusing system with phase difference detecting unit employing correlation operating circuit | |
| JPH0132967B2 (en) | ||
| JPH11266156A (en) | Analog-to-digital converter | |
| EP1280339B1 (en) | Median-based dark level acquisition circuit for a frame rate clamp | |
| JP3808912B2 (en) | Focus detection sensor device | |
| JPH07105663B2 (en) | Amplifier | |
| JP2519770B2 (en) | Camera photometer | |
| JP3175377B2 (en) | Image processing device | |
| JP2627502B2 (en) | Signal processing device for AF video signal of electronically controlled camera | |
| JP2882205B2 (en) | Analog-to-digital converter | |
| JPH0722355B2 (en) | Exposure control device | |
| JP2538005B2 (en) | Aperture shutter control device | |
| JPH0563070B2 (en) | ||
| JPH07333059A (en) | Photometric device | |
| JPH04251811A (en) | Image output device | |
| JPH04320206A (en) | Temperature compensating device for plastic lens | |
| CN119696552A (en) | Ramp generators, analog-to-digital converters, image sensors, electronic devices and vehicles | |
| JPH088658B2 (en) | Image signal amplification circuit of focus detection device | |
| JPH05252449A (en) | Solid-state image sensor | |
| JP2000214372A (en) | Lens drive device and lens position or speed detecting device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |