JPS62104221A - Drift compensation circuit for a/d converter - Google Patents

Drift compensation circuit for a/d converter

Info

Publication number
JPS62104221A
JPS62104221A JP24452085A JP24452085A JPS62104221A JP S62104221 A JPS62104221 A JP S62104221A JP 24452085 A JP24452085 A JP 24452085A JP 24452085 A JP24452085 A JP 24452085A JP S62104221 A JPS62104221 A JP S62104221A
Authority
JP
Japan
Prior art keywords
circuit
output
converter
drift compensation
sign bit
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
JP24452085A
Other languages
Japanese (ja)
Inventor
Hitoshi Fuda
布田 仁
Katsunori Usu
薄 克典
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 Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
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 Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP24452085A priority Critical patent/JPS62104221A/en
Publication of JPS62104221A publication Critical patent/JPS62104221A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To eliminate the need for a detection circuit of a digital value '0' and a latch circuit and to simplify the circuit constitution by applying drift compensation as the result of AND between the state of a sign bit of an A/D converter and an output of a drift compensation control circuit so as to easily change the compensation quantity. CONSTITUTION:An output sign bit (e) of an A/D converter 1 and an output (j) of a drift compensation control circuit 3 are ANDed by a sign bit discrimination circuit 2 and the output of the sign bit discrimination circuit 2 is sign but discrimination signal k='1' and l='0'. A switch circuit 4 is turned on by the output and an output voltage i is a negative voltage -V. The output Vi is inputted to an integration circuit 5, where it is integrated and its output is Vo. A comparator (built-in) input of the A/D converter 1 receives the negative voltage Vo outputted from the integration circuit 5 and becomes a negative voltage and the output of the A/D converter 1 approaches a digital value '0' at the next A/D conversion. This is similar when the drift is negative.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はアナログ/ディジタル(A/D)変換器のドリ
フト補償回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a drift compensation circuit for an analog/digital (A/D) converter.

〔従来の技術〕[Conventional technology]

従来、A/D変換器のドリフト補償は、A/D変換器の
コンパレータ入力を直流的に固定させるか、第5図に示
すような、ラッチ回路7と、ディジタルOを検出する論
理和回路8と、ディジタル値の極性を判定するディジタ
ル値極性判定用論理積回路9と、ドリフト補償のための
電圧を切換えるスイッチ回路10と、スイッチ回路10
の出力を積分する積分回路11で構成され、積分回路1
1の出力をA/D変換器6のコンパレータ入力に接続し
たドリフト補償回路により行なわれていた。
Conventionally, drift compensation of an A/D converter has been achieved either by fixing the comparator input of the A/D converter in a direct current manner, or by using a latch circuit 7 and an OR circuit 8 that detects digital O as shown in FIG. , a digital value polarity determination AND circuit 9 that determines the polarity of a digital value, a switch circuit 10 that switches a voltage for drift compensation, and a switch circuit 10
The integration circuit 1 is composed of an integration circuit 11 that integrates the output of the integration circuit 1.
This is done by a drift compensation circuit in which the output of 1 is connected to the comparator input of the A/D converter 6.

アナログ入力信号aはコンバートコマンドbによりA/
D変換器6でA/D変換され、ラッチ信号Cにより、変
換されたディジタル値dがラッチ回路7にラッチされる
。ラッチ回路7にラッチされたディジタル値dが正、す
なわちディジタル値dのサインビットが゛0パ、論理和
回路8の出力であるディジタルO検出信号fが“l”で
あれば、論理積回路9の出力信号gが“1゛、出力信号
りが“0°°となり、スイッチ回路10から負の電圧−
■が積分回路11に出力される。ディジタル値dが負の
場合にはスイッチ回路10から正の電圧+Vが積分回路
11に出力される。また、ディジタル値dが“O°゛、
すなわちディジタル0検出信号fが°゛OOパれば、ス
イッチ回路lOは開回路となる。積分回路11はスイッ
チ回路10の出力電圧+Vまたは−Vを積分して、その
出力は、ディジタル値の正、負の割合の平均値となり、
アナログ入力信号aのOvをディジタル値dの“0”に
落着かせるようにA/D変換器6のコンパレータ入力信
号iを制御する。
Analog input signal a is converted to A/ by convert command b.
A/D conversion is performed by the D converter 6, and the converted digital value d is latched in the latch circuit 7 by the latch signal C. If the digital value d latched by the latch circuit 7 is positive, that is, the sign bit of the digital value d is 0, and the digital O detection signal f which is the output of the OR circuit 8 is "1", the AND circuit 8 The output signal g becomes "1", the output signal ri becomes "0°", and a negative voltage -
(2) is output to the integrating circuit 11. When the digital value d is negative, a positive voltage +V is output from the switch circuit 10 to the integrating circuit 11. Also, the digital value d is “O°゛,
That is, if the digital 0 detection signal f becomes 000, the switch circuit 10 becomes an open circuit. The integrating circuit 11 integrates the output voltage +V or -V of the switch circuit 10, and its output is the average value of the positive and negative ratios of the digital values,
The comparator input signal i of the A/D converter 6 is controlled so that Ov of the analog input signal a settles to "0" of the digital value d.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のA/D変換器のドリフト補償回路は、A
/D変換されたディジタル値をラッチ回路でラッチ後ド
リフト補償を行なうために、lサンプル分の遅れが生じ
るという欠点があり、また、ディジタル値がO以外では
常に補償が行なわれるので、過剰補償となりドリフト補
償が安定しにくいという欠点がある。
The conventional A/D converter drift compensation circuit described above has A
Since drift compensation is performed after latching the /D-converted digital value in the latch circuit, there is a drawback that a delay of l samples occurs.Also, since compensation is always performed when the digital value is other than O, overcompensation may occur. The drawback is that drift compensation is difficult to stabilize.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のA/D変換器のドリフト補償回路は、あらかじ
め設定した期間だけドリフト補償量制御信号を出力する
ドリフト補償量制御回路と、前記ドリフト補償量制御信
号が入力されている期間に、A/D変換器から入力され
るサインビットの極性を判定してサインビット判定信号
を出力するサインビット判定回路と、前記サインビット
判定信号を入力して、このサインビット判定信号が正の
サインビットを示すならば負の電圧を、負のサインビッ
トを示すならば正の電圧を出力するスイッチ回路と、前
記スイッチ回路の出力電圧を積分して、積分された電圧
を前記A/D変換器のコンパレータ入力へ出力する積分
回路を有する。
A drift compensation circuit for an A/D converter according to the present invention includes a drift compensation amount control circuit that outputs a drift compensation amount control signal only for a preset period, and an A/D converter that outputs a drift compensation amount control signal during a period when the drift compensation amount control signal is input. a sign bit determination circuit that determines the polarity of a sign bit input from a D converter and outputs a sign bit determination signal; and a sign bit determination circuit that inputs the sign bit determination signal, and the sign bit determination signal indicates a positive sign bit. Then, a switch circuit outputs a negative voltage, and a switch circuit outputs a positive voltage if a negative sign bit is indicated, and the output voltage of the switch circuit is integrated, and the integrated voltage is input to the comparator of the A/D converter. It has an integrating circuit that outputs to.

このように、A/D変換器のサインビットの状態とドリ
フト補償量制御回路の出力との論理積の結果でドリフト
補償を行なうことにより、ドリフト補償量制御回路によ
り容易に補償量を変えることができ、従来のようなラッ
チ回路やディジタル値Oを検出する回路が不要となり、
回路構成が簡単になる。
In this way, by performing drift compensation using the result of ANDing the state of the sign bit of the A/D converter and the output of the drift compensation amount control circuit, the amount of compensation can be easily changed by the drift compensation amount control circuit. This eliminates the need for conventional latch circuits and circuits for detecting the digital value O.
The circuit configuration becomes simpler.

〔実施例〕〔Example〕

本発明の実施例について図面を参照して説明する。 Embodiments of the present invention will be described with reference to the drawings.

第1図は、本発明のA/D変換器のドリフト補償回路の
一実施例を示すブロック図、第2図〜第4図は、第1図
の動作を説明するタイムチャートである。
FIG. 1 is a block diagram showing an embodiment of a drift compensation circuit for an A/D converter according to the present invention, and FIGS. 2 to 4 are time charts explaining the operation of FIG. 1.

ドリフト補償量制御回路3は、あらかじめ設定された期
間だけドリフト補償量制御信号jを出力する。サインビ
ット判定回路2は、ドリフト補償量制御信号jが入力さ
れている期間に、A/D変換器1から入力されたサイン
ビットeの極性を判定して、サインビットeが“θ″の
ときサインビット判定信号に=”“1”、fL=“o 
”を出力し、サインビットeが°°l”のときサインビ
ット判定信号に=“0°゛、2=“l”を出力する。ス
イッチ回路4は、サインビット判定信号に、4Q、を入
力して、サインビット判定信号に、iが正のサインビッ
トを示すならば負の電圧−■を、負のサインビットを示
すならば正の電圧+Vを出力する。積分回路5は、この
出力電圧Vi を積分して、積分された電圧voをA/
D変換器1のコンパレータ入力の入力電圧として出力す
る。
The drift compensation amount control circuit 3 outputs the drift compensation amount control signal j only for a preset period. The sign bit determination circuit 2 determines the polarity of the sign bit e input from the A/D converter 1 during the period when the drift compensation amount control signal j is input, and determines when the sign bit e is "θ". Sign bit determination signal = “1”, fL = “o
”, and when the sign bit e is °°l, it outputs = “0°゛, 2 = “l” as the sign bit judgment signal. The switch circuit 4 inputs 4Q as the sign bit judgment signal. Then, if i indicates a positive sign bit, a negative voltage -■ is output as the sign bit determination signal, and if i indicates a negative sign bit, a positive voltage +V is output.The integrating circuit 5 outputs this output voltage. Integrate Vi and convert the integrated voltage vo to A/
It is output as the input voltage of the comparator input of the D converter 1.

“ 次に、本実施例の動作をアナログ入力信号aがOV
でA/D変換変換器圧側にドリフトした場合について第
1図〜第2図により説明する。
“Next, the operation of this embodiment is as follows:
The case where the voltage drifts toward the A/D converter pressure side will be explained with reference to FIGS. 1 and 2.

A/D変換変換器圧リフトが正側であるために、アナロ
グ入力信号aがOVであるにもかかわらず、A/D変換
器1の出力ディジタル値dは正の値となる。すなわち、
A/D変換変換器圧力サインビットeが°°0゛′であ
る。A/D変換変換器圧リフトdがそれぞれ2151.
2+4 1.・・・  21−1の場合、2の補数で示
したドリフトの波形は第2図のとおりである。しかし、
本実施例のドリフト補償は、このドリフト値を示す信号
を使用しないで、ドリフトの極性が正、負のいずれであ
るかを示すサインピッ)eとドリフト補償量制御信号j
とにより行なわれる。A/D変換変換器圧力サインビア
)eとドリフト補償量制御回路3の出力jがサインビッ
ト判定回路2で論理積をとられ、サインビット判定回路
2の出力は第2図に示すようにサインビット判定信号に
:“1” 、fL=“0°”となる、このサインビット
判定回路2の出力に=’“loo、交=“°O″でスイ
ッチ回路4はオンして、スイッチ回路4の出力電圧Vi
 は第2図に示すように負の電圧−■となる。このスイ
ッチ回路4の出力Vi は積分回路5に入力して積分さ
れ、その出力v0は第2図に示すようになる。
Since the A/D converter pressure lift is on the positive side, the output digital value d of the A/D converter 1 becomes a positive value even though the analog input signal a is OV. That is,
The A/D converter pressure sign bit e is °°0''. A/D conversion transducer pressure lift d is 2151.
2+4 1. ... In the case of 21-1, the waveform of the drift shown in two's complement is as shown in FIG. but,
The drift compensation of this embodiment does not use the signal indicating this drift value, but instead uses the sign pitch (e) indicating whether the polarity of the drift is positive or negative and the drift compensation amount control signal j.
This is done by The A/D converter pressure sign via) e and the output j of the drift compensation amount control circuit 3 are ANDed by the sign bit determination circuit 2, and the output of the sign bit determination circuit 2 is determined as the sign bit as shown in FIG. The judgment signal is “1”, fL is “0°”, the output of the sign bit judgment circuit 2 is “loo”, and the switch circuit 4 is turned on when the cross is “°O”. Output voltage Vi
becomes a negative voltage -■ as shown in FIG. The output Vi of this switch circuit 4 is input to an integrating circuit 5 and integrated, and its output v0 becomes as shown in FIG.

A/D変換器1のコンパレータ(内蔵)入力は、積分回
路5から出力されたこの負の電圧VOを入力し7て負電
圧となり1次のA/D変換時にはA/D変換器1の出力
はディジタル値Oに近づく、同様に、ドリフトが負側に
なった場合にも、 A/D変換器1の出力はディジタル
値Oに近づく。
The comparator (built-in) input of the A/D converter 1 receives this negative voltage VO output from the integrating circuit 5 and becomes a negative voltage, which becomes the output of the A/D converter 1 during the primary A/D conversion. approaches the digital value O. Similarly, when the drift becomes negative, the output of the A/D converter 1 approaches the digital value O.

第3図、第4図はドリフト補償量制御回路3から出力さ
れるドリフト補償量制御信号jの時間と実際のドリフト
補償量の関係を示すタイムチャートである。
3 and 4 are time charts showing the relationship between the time of the drift compensation amount control signal j output from the drift compensation amount control circuit 3 and the actual drift compensation amount.

ドリフト補償量制御回路jの時間がT1の場合。When the time of the drift compensation amount control circuit j is T1.

ドリフト補償後のドリフトは−DI−〜D1+となり(
第3図)、ドリフト補償量制御信号jの時間がT2(<
TI)の場合(第4図)、ドリフト補償後のドリフトは
−D2−〜D2+となり(第4図)、この時間が短い程
補償後のドリフトが小さくなることがわかる。積分回路
5の積分動作は、第3図に示すように、所定のドリフト
補償1cに近い補償量(C+ D+−)  (= Vo
 )の補償が行なわれてドリフト補償後のドリフトが−
たび負側のドリフトD、−となって後、補償後のドリフ
トが正側のドリフト01.と負側のドリフトD1−の間
で変動して安定するまで繰返される。第4図についても
同様である。
The drift after drift compensation is -DI- ~ D1+ (
(Fig. 3), the time of the drift compensation amount control signal j is T2 (<
TI) (FIG. 4), the drift after drift compensation becomes -D2- to D2+ (FIG. 4), and it can be seen that the shorter this time, the smaller the drift after compensation. As shown in FIG. 3, the integrating operation of the integrating circuit 5 is performed using a compensation amount (C+D+-) (=Vo
) compensation is performed and the drift after drift compensation is −
After each negative drift D, -, the compensated drift becomes a positive drift 01. and the negative drift D1-, and this is repeated until it stabilizes. The same applies to FIG.

このようにして、A/D変換器1にドリフトが生じたと
き、不安定な過剰補償が発生することのない安定したド
リフト補償をすることができる。
In this way, when a drift occurs in the A/D converter 1, stable drift compensation can be performed without causing unstable overcompensation.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、A/D変換器のサインビ
ットの状態とドリフト補償量制御回路の出力との論理積
の結果でトリ2ト補償を行なうことにより、(1)ドリ
フト補償量制御回路により容易に補償量を変えることが
でき、(2)逐次比較形A/D変換器の場合、A/D変
換はサインビットから行なわれるために、ドリフト補償
に遅延がなくドリフト補償を安定かつ、適切に行なうこ
とができ、A/D変換器のダイナミックレンジが拡大さ
れ、直線性特性が改善され、(3)従来のようなランチ
回路やディジタル値0を検出する回路が不要となり回路
構成が簡単になる効果がある。
As explained above, the present invention achieves (1) drift compensation amount control by performing tri-two compensation using the AND result of the state of the sign bit of the A/D converter and the output of the drift compensation amount control circuit; (2) In the case of a successive approximation type A/D converter, A/D conversion is performed from the sine bit, so there is no delay in drift compensation, making drift compensation stable and stable. , the dynamic range of the A/D converter is expanded, the linearity characteristics are improved, and (3) the conventional launch circuit and circuit for detecting digital value 0 are no longer required, making the circuit configuration simpler. It has the effect of making it easier.

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

第1図は1本発明のA/D変換器のドリフト補償回路の
一実施例を示すブロック図、第2図〜第4図は、第1図
の動作を説明するタイムチャート、第5図は、徒来例の
A/D変換器のドリフト補償回路を示すブロック図であ
る。 1・・・A/D変換器。 2・・・サインピント判定回路、 3・・・ドリフト補g1fi1制御回路、4・・・スイ
ッチ回路、 5・・・積分回路、 e・・・A/D変換器1から入力されるサインビット、 j・・・ドリフト補償量制御信号、 k、9.・・・サインビー、ト判定信号、Vi ・・・
スイッチ回路4の出力電圧、Vo・・・積分回路5から
A/D変換変換器口ンパレータ入力へ出力される電圧。 特許出願人  日木電気株式会社7″−・1′ 代  理  人   弁理士 内  原   晋、′ 
、4.・パ\〜−−7
FIG. 1 is a block diagram showing an embodiment of the drift compensation circuit of an A/D converter according to the present invention, FIGS. 2 to 4 are time charts explaining the operation of FIG. 1, and FIG. , is a block diagram showing a drift compensation circuit of an conventional A/D converter. 1... A/D converter. 2... Sign focus determination circuit, 3... Drift compensation g1fi1 control circuit, 4... Switch circuit, 5... Integrating circuit, e... Sign bit input from A/D converter 1, j...Drift compensation amount control signal, k, 9. ...sign bee, g judgment signal, Vi...
Output voltage of the switch circuit 4, Vo: voltage outputted from the integrating circuit 5 to the input of the A/D converter and the comparator. Patent applicant: Niki Electric Co., Ltd. 7″-1′ Agent: Susumu Uchihara, patent attorney
,4.・Pa\〜−−7

Claims (1)

【特許請求の範囲】 あらかじめ設定した期間だけドリフト補償量制御信号を
出力するドリフト補償量制御回路と、前記ドリフト補償
量制御信号が入力されている期間に、A/D変換器から
入力されるサインビットの極性を判定してサインビット
判定信号を出力するサインビット判定回路と、 前記サインビット判定信号を入力して、該サインビット
判定信号が正のサインビットを示すならば負の電圧を、
負のサインビットを示すならば正の電圧を出力するスイ
ッチ回路と、 前記スイッチ回路の出力電圧を積分して、積分された電
圧を前記A/D変換器のコンパレータ入力へ出力する積
分回路を有するA/D変換器のドリフト補償回路。
[Claims] A drift compensation amount control circuit that outputs a drift compensation amount control signal only for a preset period, and a signal input from an A/D converter during the period when the drift compensation amount control signal is input. a sign bit determination circuit that determines the polarity of a bit and outputs a sign bit determination signal;
a switch circuit that outputs a positive voltage if a negative sign bit is indicated; and an integration circuit that integrates the output voltage of the switch circuit and outputs the integrated voltage to the comparator input of the A/D converter. A/D converter drift compensation circuit.
JP24452085A 1985-10-30 1985-10-30 Drift compensation circuit for a/d converter Pending JPS62104221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24452085A JPS62104221A (en) 1985-10-30 1985-10-30 Drift compensation circuit for a/d converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24452085A JPS62104221A (en) 1985-10-30 1985-10-30 Drift compensation circuit for a/d converter

Publications (1)

Publication Number Publication Date
JPS62104221A true JPS62104221A (en) 1987-05-14

Family

ID=17119903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24452085A Pending JPS62104221A (en) 1985-10-30 1985-10-30 Drift compensation circuit for a/d converter

Country Status (1)

Country Link
JP (1) JPS62104221A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6449324A (en) * 1987-08-20 1989-02-23 Pioneer Electronic Corp Off-set compensating circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6449324A (en) * 1987-08-20 1989-02-23 Pioneer Electronic Corp Off-set compensating circuit

Similar Documents

Publication Publication Date Title
JPS63215223A (en) Analog/digital converter
US4268820A (en) Integrating type analog-to-digital converter
JPS6159913A (en) Ad converting circuit
JPS62104221A (en) Drift compensation circuit for a/d converter
JPH0446418A (en) Digital/analog converter
JPS62122465A (en) Clamp circuit
JPH03119829A (en) D/a converter
JPH0319429A (en) A/d converter
JPS61242420A (en) A/d converting circuit
JPS63262921A (en) A/d conversion circuit
JPH0290727A (en) Drift compensation circuit for a/d converter
JP4669141B2 (en) A / D converter
JPS62199121A (en) Decoder
JP2615717B2 (en) Digital-to-analog converter
JPS6329203A (en) Distortion amplifier
SU1182544A1 (en) Non-linear converter
SU1598111A1 (en) Multichannel d.c. voltage amplifier
JPS59230324A (en) Control process for analog/digital conversion
JPS58121824A (en) Signal processor
JPS62292020A (en) Peak value follow up circuit
JPH0330198A (en) Sample and holding circuit
JPH01106621A (en) Chopper type comparator
JPS60165120A (en) Digital-analog converting method
JPH0983363A (en) A/d converting circuit
JPS649773B2 (en)