JPH0573211A - Zero point detecting circuit - Google Patents

Zero point detecting circuit

Info

Publication number
JPH0573211A
JPH0573211A JP26051191A JP26051191A JPH0573211A JP H0573211 A JPH0573211 A JP H0573211A JP 26051191 A JP26051191 A JP 26051191A JP 26051191 A JP26051191 A JP 26051191A JP H0573211 A JPH0573211 A JP H0573211A
Authority
JP
Japan
Prior art keywords
data
zero point
converter
counter
read
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
Application number
JP26051191A
Other languages
Japanese (ja)
Inventor
Tatsuya Ito
達哉 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP26051191A priority Critical patent/JPH0573211A/en
Publication of JPH0573211A publication Critical patent/JPH0573211A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically detect an accurate ground potential (zero point) that is needed as the reference voltage of a comparator, a multibit A/D converter, etc., and to generate the compensating voltage approximate to the reference voltage. CONSTITUTION:This circuit is constituted of a comparator 2 to compare the output data on a device with the data set previously, a counter 4 which counts the frequency where the device output data is larger than the set data, a latch 6 which stores the data on the counter 4, a data converter ROM 10 which converts the stored data into the data corresponding to the difference of potential compared with a zero point, a current output D/A converter 12 which applies the D/A conversion to the read data and adds it to the ground of the device, and a current/voltage scaling converter 14.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ゼロ点(真の接地電
位)を検出して近づけていく方式に関し、特に高精度の
コンパレータや多ビット出力のA/D変換器等の装置の
基準電圧として必要なゼロ点位置を装置の出力データか
ら検出し、基準電圧との差を補償していく方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting and approaching a zero point (true ground potential), and particularly to a reference voltage of a device such as a highly accurate comparator or an A / D converter with multi-bit output. Is detected from the output data of the device to compensate the difference with the reference voltage.

【0002】[0002]

【従来の技術】従来、ゼロ点の検出及び補償方法として
装置への入力信号が持つDCオフセット成分を積分し、
装置の参照電圧に帰還する方式があった。図3に一例と
してこの方式を用いた積分器を示す。時定数抵抗101
とコンデンサ102及び高速演算増幅器103からなる
広帯域用積分器の精度を良くするためには、高速演算増
幅器が持つ入力オフセット電圧分をキャンセルする必要
がある。低雑音、超低オフセット演算増幅器108と入
力オフセット電圧を積分する時定数抵抗106とコンデ
ンサ107とオフセット電圧に対する補償値を決める抵
抗109,110は、ゼロ点検出、補償機能を持ってい
る。以下にその動作を説明する。i)オフセット電圧が
ゼロ点から見て正の値の場合は、抵抗106を通してオ
フセット量に比例した電流がコンデンサ107に流れ込
み、抵抗109側に負の電圧を発生させる。発生電圧は
抵抗109,110によって減衰された後、高速演算増
幅器103の非反転入力に加えられ、これにより抵抗1
11にオフセット補償電流が反転入力へ流れ込んでオフ
セット電圧をゼロ点へ近づける。ii)オフセット電圧が
ゼロ点から見て負の値の場合は、コンデンサ107から
オフセット量に比例した電流が流れ出し、抵抗109側
に正の電圧を発生させる。発生電圧は減衰された後、高
速演算増幅器103の非反転入力に加えられ、これによ
りオフセット補償電流が反転入力から流れ出し、オフセ
ット電圧をゼロ点へ近づける。
2. Description of the Related Art Conventionally, as a method of detecting and compensating for a zero point, a DC offset component of an input signal to a device is integrated,
There was a method of returning to the reference voltage of the device. FIG. 3 shows an integrator using this method as an example. Time constant resistance 101
In order to improve the accuracy of the wideband integrator composed of the capacitor 102 and the high speed operational amplifier 103, it is necessary to cancel the input offset voltage of the high speed operational amplifier. The low noise and ultra low offset operational amplifier 108, the time constant resistor 106 that integrates the input offset voltage, the capacitor 107, and the resistors 109 and 110 that determine the compensation value for the offset voltage have zero point detection and compensation functions. The operation will be described below. i) When the offset voltage has a positive value when viewed from the zero point, a current proportional to the offset amount flows into the capacitor 107 through the resistor 106 and a negative voltage is generated on the resistor 109 side. The generated voltage is attenuated by the resistors 109 and 110 and then applied to the non-inverting input of the high speed operational amplifier 103.
At 11, an offset compensation current flows into the inverting input to bring the offset voltage close to the zero point. ii) When the offset voltage has a negative value when viewed from the zero point, a current proportional to the offset amount flows out from the capacitor 107, and a positive voltage is generated on the resistor 109 side. The generated voltage is attenuated and then applied to the non-inverting input of the high speed operational amplifier 103, which causes the offset compensation current to flow out of the inverting input, causing the offset voltage to approach the zero point.

【0003】[0003]

【発明が解決しようとする課題】この従来のゼロ点検出
及び補償方法は、時間的に連続なフィードバック制御系
を構成しているため過大な外乱入力があると系が不安定
な状態に陥りやすい。また、ゼロ点位置が低雑音、超低
オフセット演算増幅器の非反転入力点と仮定される為、
この点が例えば基板上で直接接地されるとすると取り扱
う信号によっては真のゼロ点からかなり変動することに
なるという問題点があった。従って、入力信号が広帯域
で且つダイナミックレンジが大きい場合には適していな
い。
Since this conventional zero point detection and compensation method constitutes a feedback control system which is continuous in time, the system is prone to become unstable when an excessive disturbance input is present. .. Also, the zero point position is assumed to be the low noise, non-inverting input point of the ultra low offset operational amplifier,
If this point is directly grounded on the substrate, for example, there is a problem that it may vary considerably from the true zero point depending on the signal to be handled. Therefore, it is not suitable when the input signal has a wide band and a large dynamic range.

【0004】[0004]

【課題を解決するための手段】本発明のゼロ点検出回路
は、装置の出力データを設定データと比較する比較回路
と、出力データが設定データより大きい場合に発生する
パルス信号をカウントするカウンタと、カウンタのデー
タを一定周期毎に記憶するラッチ部と、一定周期を作り
出すためのクロック発生器及びカウンタと、記憶された
データをゼロ点補償データに交換する読出し専用メモリ
と、読出されたデータをD/A変換する変換器とを備え
ている。
A zero point detection circuit of the present invention comprises a comparison circuit for comparing output data of a device with setting data, and a counter for counting pulse signals generated when the output data is larger than the setting data. , A latch unit that stores counter data at regular intervals, a clock generator and a counter for generating a constant period, a read-only memory that exchanges stored data with zero-point compensation data, and read data. And a converter for D / A conversion.

【0005】又、本発明のゼロ点検出回路は装置の出力
データの平均値を求める演算回路と一定周期を作り出す
クロック発生器とを有し前記演算回路出力を一定周期毎
に記憶するラッチ部と、記憶されたデータをゼロ点補償
データに交換する読出し専用メモリと、読出されたデー
タをD/A変換する変換器とを備えている。
Further, the zero-point detection circuit of the present invention comprises an arithmetic circuit for obtaining an average value of the output data of the device and a clock generator for producing a constant period, and a latch section for storing the arithmetic circuit output at every constant period. , A read-only memory for exchanging the stored data with zero-point compensation data, and a converter for D / A converting the read data.

【0006】[0006]

【実施例】(1)次に、本発明について図面を参照して
説明する。図1は本発明のゼロ点検出回路を、多ビット
出力のA/D変換器の基準電圧として必要なゼロ点の検
出に適用した実施例である。ゼロ点検出回路は1〜13
から構成される。入力信号(ビデオ信号)は、A/D変
換器22に入る。A/D変換器22は、クロック発生器
1から発生するサンプリングクロック信号に同期してA
/D変換を行い、その出力データは比較回路2に入力さ
れる。比較回路2は、A/D変換出力データとデータ設
定3により設定されるデータの中間値とを比較してA/
D変換出力データが大きければパルス信号をカウンタ4
に出力する。カウンタ4のデータは一定周期毎にラッチ
6で記憶されデータ交換ROM10のアドレスとして入
力される。カウンタ7は、サンプリングクロック信号を
カウントし、デコーダ8はカウンタ出力が一定値に達し
た時にデータラッチパルスをラッチ6に出力する。デー
タラッチパルスはまた、インバータ9により反転した後
カウンタ7のリセットパルス及びカウンタ4のクリアパ
ルスとして入力される。カウンタ4のデータがラッチさ
れる周期をT、サンプリングクロック周波数をfとすれ
ば、この周期内のA/D変換出力データ総数はfTであ
り、A/D変換器の基準電圧であるグランドがゼロ点で
あればラッチされるデータはfT/2となる。データ交
換ROM10は、ラッチされたデータとデータ“fT/
2”との差をゼロ点からの変位電圧値に変換する。つま
り、アドレスとしてfT/2が入力されれば読み出され
る値はゼロであり、アドレスがfT/2より大きくなれ
ばゼロ点より高いグランド電位をゼロ点にさせるための
負の値が読み出され、アドレスがfT/2より小さくな
ればゼロ点より低いグランド電位をゼロ点にさせるため
の正の値が読み出される。電流出力D/A変換器12
は、基準電流発生源13から入力される電流を基準とし
て、データ交換ROM10から読み出されたデータに比
例した電圧(又は電流)を出力し、補償電圧値(又は電
流値)としてA/D変換器22のグランドに加えられ
る。 (2)あらかじめ当該入力信号が一定周期内で正負均等
になる事が判明している場合は、図2に示すような回路
で本発明は構成可能で以下図2について説明する。ゼロ
点検出回路は1〜13から構成される。入力信号(ビデ
オ信号)は、1ビットサンプラ24に入る。1ビットサ
ンプラ24は、クロック発生器1から発生するサンプリ
ングクロック信号に同期して1ビットA/D変換を行
い、その出力データは演算回路14に入力される。演算
回路14は、入力されたデータの平均値を求め、その結
果はラッチ6で記憶されデータ交換ROM10のアドレ
スとなる。カウンタ7は、サンプリングクロック信号を
カウントし、デコーダ8はカウンタ出力が一定値に達し
た時にデータラッチパルスをラッチ6に出力する。デー
タラッチパルスはまた、インバータ9により反転した後
カウンタ7のリセットパルス及び演算回路14のクリア
パルスとして入力される。データ交換ROM10は、ラ
ッチされたデータをゼロ点からの変位電圧値に変換する
もので、電流出力D/A変換器12は、基準電流発生源
13から入力される電流を基準としてデータ交換ROM
10から読み出されたデータに比例した電圧(又は電
流)を出力し、補償電圧値(又は電流値)として1ビッ
トサンプラ24のグランドに加えられる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (1) Next, the present invention will be described with reference to the drawings. FIG. 1 shows an embodiment in which the zero point detection circuit of the present invention is applied to the detection of a zero point required as a reference voltage for an A / D converter with multi-bit output. Zero point detection circuit is 1 to 13
Composed of. The input signal (video signal) enters the A / D converter 22. The A / D converter 22 synchronizes with the sampling clock signal generated from the clock generator 1.
/ D conversion is performed, and the output data is input to the comparison circuit 2. The comparator circuit 2 compares the A / D converted output data with the intermediate value of the data set by the data setting 3 to obtain A / D.
If the D conversion output data is large, pulse signal counter 4
Output to. The data of the counter 4 is stored in the latch 6 at regular intervals and input as an address of the data exchange ROM 10. The counter 7 counts the sampling clock signal, and the decoder 8 outputs a data latch pulse to the latch 6 when the counter output reaches a constant value. The data latch pulse is also input as a reset pulse of the counter 7 and a clear pulse of the counter 4 after being inverted by the inverter 9. If the cycle in which the data of the counter 4 is latched is T and the sampling clock frequency is f, the total number of A / D converted output data in this cycle is fT, and the ground which is the reference voltage of the A / D converter is zero. If it is a point, the latched data will be fT / 2. The data exchange ROM 10 stores the latched data and the data “fT /
The difference from 2 "is converted into a displacement voltage value from the zero point. That is, if fT / 2 is input as an address, the value read is zero, and if the address is greater than fT / 2, it is higher than the zero point. A negative value is read to bring the ground potential to the zero point, and a positive value to read the ground potential lower than the zero point to the zero point is read when the address becomes smaller than fT / 2. A converter 12
Outputs a voltage (or current) proportional to the data read from the data exchange ROM 10 with the current input from the reference current generation source 13 as a reference, and performs A / D conversion as a compensation voltage value (or current value). It is added to the ground of the container 22. (2) If it is known in advance that the input signal becomes even in the positive and negative directions within a fixed period, the present invention can be configured with a circuit as shown in FIG. 2 and will be described below with reference to FIG. The zero point detection circuit is composed of 1 to 13. The input signal (video signal) enters the 1-bit sampler 24. The 1-bit sampler 24 performs 1-bit A / D conversion in synchronization with the sampling clock signal generated from the clock generator 1, and its output data is input to the arithmetic circuit 14. The arithmetic circuit 14 calculates the average value of the input data, and the result is stored in the latch 6 and becomes the address of the data exchange ROM 10. The counter 7 counts the sampling clock signal, and the decoder 8 outputs a data latch pulse to the latch 6 when the counter output reaches a constant value. The data latch pulse is also input as a reset pulse of the counter 7 and a clear pulse of the arithmetic circuit 14 after being inverted by the inverter 9. The data exchange ROM 10 converts the latched data into a displacement voltage value from the zero point, and the current output D / A converter 12 uses the current input from the reference current generation source 13 as a reference.
A voltage (or current) proportional to the data read from 10 is output and added to the ground of the 1-bit sampler 24 as a compensation voltage value (or current value).

【0007】[0007]

【発明の効果】以上説明したように本発明は、装置の出
力データが設定データより大きくなる回数をカウントす
ることにより装置の基準電圧として使われるグランド電
位のゼロ点からの差を検出し、ゼロ点に戻す効果を有す
る。
As described above, the present invention detects the difference from the zero point of the ground potential used as the reference voltage of the device by counting the number of times the output data of the device becomes larger than the set data, and Has the effect of returning to a point.

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

【図1】本発明のゼロ点検出回路を多ビット出力のA/
D変換器の基準電圧として必要なゼロ点の検出に適用し
た実施例のブロック図である。
FIG. 1 is a block diagram showing a zero-point detection circuit according to the present invention,
It is a block diagram of an example applied to detection of a zero point required as a reference voltage of a D converter.

【図2】本発明のゼロ点検出回路を、一定周期内で正負
均等になる入力信号を1ビットA/D変換するサンプラ
の基準電圧として必要なゼロ点の検出に適用した実施例
のブロック図である。
FIG. 2 is a block diagram of an embodiment in which the zero-point detection circuit of the present invention is applied to detection of a zero-point required as a reference voltage of a sampler for 1-bit A / D converting an input signal that becomes positive and negative evenly within a fixed period. Is.

【図3】従来のゼロ点検出及び補償回路の一例である。FIG. 3 is an example of a conventional zero point detection and compensation circuit.

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

1 クロック発生器 2 比較回路 3 データ設定 4 カウンタ(CKはクロック、CLRはクリア) 6 ラッチ 7 カウンタ(RSTはリセット) 8 デコーダ 9 インバータ 10 データ交換ROM 12 電流出力D/A変換器 13 基準電流発生源 14 演算回路 22 A/D変換器(Gはグランド) 23 スイッチ 24 1ビットサンプラ 1 Clock Generator 2 Comparison Circuit 3 Data Setting 4 Counter (CK is Clock, CLR is Clear) 6 Latch 7 Counter (RST is Reset) 8 Decoder 9 Inverter 10 Data Exchange ROM 12 Current Output D / A Converter 13 Reference Current Generation Source 14 Arithmetic circuit 22 A / D converter (G is ground) 23 Switch 24 1-bit sampler

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ゼロ点検出が必要な装置の出力データを
設定データと比較する比較回路と、出力データが設定デ
ータより大きい場合に発生するパルス信号をカウントす
るカウンタと、カウンタのデータを一定周期毎に記憶す
るラッチ部と、一定周期を作り出すためのクロック発生
器及びカウンタと、記憶されたデータをゼロ点補償デー
タに交換する読出し専用メモリと、読出されたデータを
D/A変換する変換器からなるゼロ点検出回路。
1. A comparison circuit for comparing output data of a device requiring zero point detection with setting data, a counter for counting pulse signals generated when the output data is larger than the setting data, and a constant period of the counter data. A latch unit for storing each time, a clock generator and a counter for generating a constant cycle, a read-only memory for exchanging stored data with zero-point compensation data, and a converter for D / A converting the read data Zero point detection circuit consisting of.
【請求項2】 ゼロ点検出が必要な装置の出力データの
平均値を求める演算回路と一定周期を作り出すクロック
発生器とを有し前記演算回路出力を一定周期毎に記憶す
るラッチ部と、記憶されたデータをゼロ点補償データに
交換する読出し専用メモリと、読出されたデータをD/
A変換する変換器からなるゼロ点検出回路。
2. A latch unit having an arithmetic circuit for obtaining an average value of output data of a device requiring zero point detection and a clock generator for generating a constant period, and a latch unit for storing the arithmetic circuit output at every constant period. The read-only memory for exchanging the read data with the zero compensation data, and the read data
A zero point detection circuit composed of a converter for A conversion.
JP26051191A 1991-09-12 1991-09-12 Zero point detecting circuit Pending JPH0573211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26051191A JPH0573211A (en) 1991-09-12 1991-09-12 Zero point detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26051191A JPH0573211A (en) 1991-09-12 1991-09-12 Zero point detecting circuit

Publications (1)

Publication Number Publication Date
JPH0573211A true JPH0573211A (en) 1993-03-26

Family

ID=17348983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26051191A Pending JPH0573211A (en) 1991-09-12 1991-09-12 Zero point detecting circuit

Country Status (1)

Country Link
JP (1) JPH0573211A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116735948A (en) * 2023-08-14 2023-09-12 深圳市思远半导体有限公司 Zero-crossing detection circuit and switching power supply

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116735948A (en) * 2023-08-14 2023-09-12 深圳市思远半导体有限公司 Zero-crossing detection circuit and switching power supply
CN116735948B (en) * 2023-08-14 2023-12-15 深圳市思远半导体有限公司 Zero-crossing detection circuit and switching power supply

Similar Documents

Publication Publication Date Title
JPH01502933A (en) Frequency counting device and method
US4112381A (en) Peak detector
KR890007059A (en) Counting error detection device of digital measuring instrument
JPS6349317B2 (en)
JPH0573211A (en) Zero point detecting circuit
JPH04337565A (en) Peak detector
WO1987006348A1 (en) Velocity sensor with drift compensation
US5121061A (en) Phase correction for streaming current signal
US4751381A (en) Fast dither detector for fiber optic sensor
JPH0583135A (en) Double integral type a/d converter
JP3260533B2 (en) Current detector
JPH039267A (en) Measuring method for dc current
JP3328462B2 (en) Humidity detection circuit
JPS5815159A (en) Digital speed detecting system
JPS638430B2 (en)
JPH046477A (en) Ac voltage measuring apparatus
JP2932708B2 (en) Mass flow meter
JPH026329Y2 (en)
Kollar Measurement of capacitances based on a flip-flop sensor
JP2558532Y2 (en) Vehicle detection device
JP2848046B2 (en) Detector
GB2215474A (en) Measuring the peak level of oscillating signals
JPS6056221A (en) Electromagnetic flowmeter
JPH0334028B2 (en)
JPH08338750A (en) Converter of mass flowmeter