JPH0227401A - Offsetting control circuit - Google Patents

Offsetting control circuit

Info

Publication number
JPH0227401A
JPH0227401A JP63176814A JP17681488A JPH0227401A JP H0227401 A JPH0227401 A JP H0227401A JP 63176814 A JP63176814 A JP 63176814A JP 17681488 A JP17681488 A JP 17681488A JP H0227401 A JPH0227401 A JP H0227401A
Authority
JP
Japan
Prior art keywords
output
level
circuit
input
comparator
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
JP63176814A
Other languages
Japanese (ja)
Inventor
Hiroyuki Yonetani
浩幸 米谷
Kazuo Watanabe
一雄 渡辺
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.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer 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 Hitachi Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP63176814A priority Critical patent/JPH0227401A/en
Publication of JPH0227401A publication Critical patent/JPH0227401A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automatically correct the offsetting of a comparator, a differential amplifier circuit and the like without using an external terminal in an LSI internal part by correcting the input level of a controlled circuit by the correcting level set automatically so as to make the offsetting of the controlled circuit into zero. CONSTITUTION:When an initializing signal Is is set to H level, the comparing input of a comparator 1 which is a controlled circuit and the reference input are mutually shorted to the same potential and a comparing output Co is switched to the detecting input side of an output change detecting circuit 3. When a resetting signal Rs is given, an output level I of a variable level generating circuit 4 is continuously changed and added to the reference input level of a comparator 1 by a level control circuit 5. When the input level passes through a point which becomes an offsetting zero, the output change detecting circuit 3 switches a detecting output Do from H level to L level simultaneously when the comparing output Co is changed and stops the stepping action of a counter 41. Thus, the input offset of the comparator 1 is automatically corrected.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、オフセット制御回路、さらには比較器や差動
増幅回路などにおいて生じるオフセットの補正に適用し
て有効な技術に関するもので、例えばLSI(大規模半
導体集積回路装置)内にて比較器や差動増幅回路などの
入力オフセットを自動的に補正させる技術に利用して有
効な技術に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a technique that is effective when applied to offset control circuits, as well as correction of offsets occurring in comparators, differential amplifier circuits, etc. The present invention relates to a technology that can be effectively used to automatically correct input offsets of comparators, differential amplifier circuits, etc. in large-scale semiconductor integrated circuit devices (large-scale semiconductor integrated circuit devices).

[従来の技術] 例えば、高精度を要求されるところに使用される比較器
や差動増幅回路では、その入力オフセットを精密に補正
する必要がある。
[Prior Art] For example, in comparators and differential amplifier circuits used where high precision is required, it is necessary to precisely correct input offsets.

このため、従来では、高精度を要する比較器や差動増幅
回路をLSIに組み込んだ場合に、オフセット補正用の
外部端子を設け、この外部端子にポテンショメータを外
付けして入力オフセットをゼロにするような調整操作を
個別に行なっていた(例えばNEC発行「産業用リニア
ICデータブック1987年版」273頁参照)。
For this reason, conventionally, when a comparator or differential amplifier circuit that requires high precision is incorporated into an LSI, an external terminal for offset correction is provided, and a potentiometer is externally attached to this external terminal to reduce the input offset to zero. Such adjustment operations were performed individually (for example, see page 273 of "Industrial Linear IC Data Book 1987 Edition" published by NEC).

[発明が解決しようとする課題] しかしながら、上述した技術には、次のような問題のあ
ることが本発明者らによって明らかとされた。
[Problems to be Solved by the Invention] However, the inventors have found that the above-mentioned technique has the following problems.

すなわち、一般に、LSIなどの半導体集積回路装置で
は、Il造および実装のコストを低減させるなどの理由
により、外部端子の数いわゆるピン数をできるだけ少な
くすることが望まれている。
That is, in general, in semiconductor integrated circuit devices such as LSIs, it is desired to reduce the number of external terminals, ie, the number of pins, as much as possible for reasons such as reducing manufacturing and mounting costs.

このような状況の下で、通常は使用されることが少ない
オフセット補正用の外部端子を設けることは好ましくな
い、また、外付ポテンショメータを用いる従来の方法で
は、オフセットを精密に補正するためのトリミング工程
が別に必要となる。
Under these circumstances, it is undesirable to provide an external terminal for offset correction, which is rarely used, and the conventional method of using an external potentiometer requires trimming to precisely correct the offset. A separate process is required.

本発明の目的は、比較器や差動増幅回路などのオフセッ
トを、外部端子を使わずに、LSI内部にて自動的に補
正できるようにする、という技術を提供することにある
An object of the present invention is to provide a technology that allows offsets of comparators, differential amplifier circuits, etc. to be automatically corrected within an LSI without using external terminals.

この発明の前記ならびにそのほかの目的と新規な特徴に
ついては、本明細書の記述および添附図面から明らかに
なるであろう。
The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

[課題を解決するための手段] 本願において開示される発明のうち代表的なものの概要
を説明すれば、下記のとおりである。
[Means for Solving the Problems] Representative inventions disclosed in this application will be summarized as follows.

すなわち、比較動作または差動動作を行なう被制御回路
の出力変化点を検出する出力変化検出手段と、この出力
変化検出手段が上記出力変化点を検出するまで出力レベ
ルを連続的に変化させる可変レベル発生手段と、上記被
制御回路に伝達される入力レベルに上記可変レベル発生
手段の出力レベルを加えるレベル制御回路とを有するも
のである。
That is, an output change detection means for detecting the output change point of a controlled circuit that performs a comparison operation or a differential operation, and a variable level that continuously changes the output level until the output change detection means detects the output change point. The variable level generating means has a generating means, and a level control circuit that adds the output level of the variable level generating means to the input level transmitted to the controlled circuit.

[作用] 上記した手段によれば、被制御回路のオフセットをゼロ
にするような補正レベルが自動的に設定され、この設定
された補正レベルによって上記被制御回路の入力レベル
が加算または減算修正されるようになる。
[Operation] According to the above-described means, a correction level that makes the offset of the controlled circuit zero is automatically set, and the input level of the controlled circuit is corrected by addition or subtraction according to the set correction level. Become so.

これにより、比較器や差動増幅回路などのオフセットを
、外部端子を使わずに、LSI内部にて自動的に補正で
きるようにする。という目的が達成される。
This allows offsets of comparators, differential amplifier circuits, etc. to be automatically corrected within the LSI without using external terminals. That purpose is achieved.

[実施例] 以下、本発明の好敵な実施例を図面を参照しながら説明
する。
[Embodiments] Preferred embodiments of the present invention will be described below with reference to the drawings.

なお、図において、同一符号は同一あるいは相当部分を
示すものとする。
In addition, in the figures, the same reference numerals indicate the same or corresponding parts.

第1図は本発明の技術が適用されたオフセット制御回路
の一実施例を示したものであって、1は被制御回路であ
る比較器、2は比較器1の入出力を切り換える切換回路
、3は比較動作または差動動作を行なう被制御回路の出
力変化点を検出する出力変化検出回路、4は出力変化検
出回路3が上記出力変化点を検出するまで出力レベルI
を連続的に変化させる可変レベル発生回路、5は被制御
回路である比較器1のリファレンス人力(−)に伝達さ
れる入力レベルRiに上記可変レベル発生回路4の出力
レベルエを加えるレベル制御回路である。
FIG. 1 shows an embodiment of an offset control circuit to which the technology of the present invention is applied, in which 1 is a comparator which is a controlled circuit, 2 is a switching circuit for switching input and output of the comparator 1, 3 is an output change detection circuit that detects an output change point of a controlled circuit that performs a comparison operation or a differential operation; 4 is an output change detection circuit that maintains the output level I until the output change detection circuit 3 detects the output change point.
5 is a level control circuit which adds the output level E of the variable level generating circuit 4 to the input level Ri transmitted to the reference power (-) of the comparator 1, which is a controlled circuit. be.

ここで、切換回路2は、アナログスイッチ21およびマ
ルチプレクサ22などによって構成される。アナログス
イッチ21は、オフセット補正を行なう初期化(イニシ
ャライズ)時に、比較器1のアナログ比較入力(+)と
リファレンス入力(−)とを互いに同電位に短絡する。
Here, the switching circuit 2 includes an analog switch 21, a multiplexer 22, and the like. The analog switch 21 short-circuits the analog comparison input (+) and reference input (-) of the comparator 1 to the same potential at the time of initialization to perform offset correction.

マルチプレクサ22は、初期化時に比較器1の2値論理
レベルによる比較出力Coを出力変化検出回路3の入力
側に切り換える。Isは初期化設定信号であって、アナ
ログスイッチ21とマルチプレクサ22の各制御端子に
入力される。
The multiplexer 22 switches the comparison output Co based on the binary logic level of the comparator 1 to the input side of the output change detection circuit 3 at the time of initialization. Is is an initialization setting signal, which is input to each control terminal of the analog switch 21 and multiplexer 22.

出力変化検出回路3は、第1.第2の保持回路(D−F
/F)31,32、インバータ33、NORゲート34
などによって構成される。第1の保持回路31は、比較
器1の出力Goの立ち下がりでセットされる。第2の保
持回路32は、上記出力Coの立ち上がりでセットされ
る。インバータ33は、比較器1の出力coを反転して
第2の保持回路32に入力させる。NORゲート34は
The output change detection circuit 3 includes the first. Second holding circuit (D-F
/F) 31, 32, inverter 33, NOR gate 34
It is composed of etc. The first holding circuit 31 is set at the falling edge of the output Go of the comparator 1. The second holding circuit 32 is set at the rising edge of the output Co. The inverter 33 inverts the output co of the comparator 1 and inputs it to the second holding circuit 32 . The NOR gate 34 is.

第1.第2の保持回路31.32の各セット出力QA、
QBの論理和(QA+QB)をとり、この論理和出力を
変化点検出出力Doとして出力する。
1st. Each set output QA of the second holding circuit 31, 32,
The logical sum (QA+QB) of QB is taken, and the logical sum output is output as the change point detection output Do.

可変レベル発生回路4は、2 if!!n桁カウンタ4
1、電流加算型のDA変換回路42、NANDゲート4
3などによって構成される。カウンタ41は、出力変化
検出回路3が比較器1の出力変化点を検出するまでクロ
ックCKによって歩進駆動される。DA変換回路42は
電流加算型の並列入力型DA変換器であって、カウンタ
41のカント値を電流値に変換する。NANDゲート4
3は、リセット信号Rが入力されてから上記変化点検出
出力Doが発せられるまでの間、クロックCKをカウン
タ41に入力させる。この場合、カウンタ41のカウン
ト値Q1〜Qnのうち、DA変換回路42に入力されて
電流値に変換されるのはQ1〜Qn−1までであって、
最上位の1ビツトQnは正負の符号を示す符号ビットC
として使われるようになっている。
The variable level generating circuit 4 has a 2 if! ! n digit counter 4
1. Current addition type DA conversion circuit 42, NAND gate 4
3 etc. The counter 41 is driven in steps by the clock CK until the output change detection circuit 3 detects the output change point of the comparator 1. The DA conversion circuit 42 is a current addition type parallel input type DA converter, and converts the cant value of the counter 41 into a current value. NAND gate 4
3 inputs the clock CK to the counter 41 from when the reset signal R is input until when the change point detection output Do is issued. In this case, among the count values Q1 to Qn of the counter 41, only Q1 to Qn-1 are input to the DA conversion circuit 42 and converted into current values, and
The most significant bit Qn is a sign bit C indicating the positive or negative sign.
It is now used as a.

レベル制御回路5は利得が1になるように負帰還をかけ
られた演算増幅器51.アナログ切換スイッチ52.イ
ンバータ53などによって構成される。演算増幅l!5
1は、上記可変レベル発生回路4の出力レベルエを上記
比較器1のリファレンス入力レベルRiに加える。アナ
ログ切換スイッチ52は、上記出力レベルIの正負極性
を上記符号ビットCの論理レベルに従って切り換える。
The level control circuit 5 is an operational amplifier 51. which is subjected to negative feedback so that the gain is 1. Analog changeover switch 52. It is composed of an inverter 53 and the like. Operational amplification! 5
1 adds the output level E of the variable level generating circuit 4 to the reference input level Ri of the comparator 1. The analog changeover switch 52 switches the positive or negative polarity of the output level I according to the logic level of the sign bit C.

以上のように構成されたオフセット制御回路について、
以下その動作を説明する。
Regarding the offset control circuit configured as above,
The operation will be explained below.

第2図は、第1図に示したオフセット制御回路の動作例
を示す。
FIG. 2 shows an example of the operation of the offset control circuit shown in FIG.

第1図および第2図において、まず、初期化信号Isが
Hにセットされると、切換回@2によって、被制御回路
である比較器工の比較入力(+)とリファレンス入力(
−)とが互いに同電位に短絡されるとともに、その比較
出力Coが出力変化検出回路3の検出入力側に切り換え
られる。
In FIGS. 1 and 2, first, when the initialization signal Is is set to H, the switching circuit @2 causes the comparison input (+) and reference input (
-) are short-circuited to the same potential, and the comparison output Co is switched to the detection input side of the output change detection circuit 3.

この初期化状態にてリセット信号、Rsを与えると、可
変レベル発生回路5の出力レベルエが最低レベルから最
高レベルまで連続的に変化する。この連続的に変化する
レベルIは、レベル制御回路5によって上記比較器lの
リファレンス入力レベルに加えられる。
When the reset signal Rs is applied in this initialized state, the output level of the variable level generating circuit 5 changes continuously from the lowest level to the highest level. This continuously changing level I is added by the level control circuit 5 to the reference input level of the comparator I.

ここで、比較器1のリファレンス入力レベルがオフセッ
トゼロとなる点を通過すると、つまり可変レベル発生回
路4の出力レベルIが比較器1の入力オフセットVof
に相当するレベルを通過すると、この通過の前後で比較
器1の比較出力C。
Here, when the reference input level of the comparator 1 passes the point where the offset becomes zero, that is, the output level I of the variable level generation circuit 4 becomes the input offset Vof of the comparator 1.
When passing a level corresponding to , the comparison output C of comparator 1 before and after this passage.

の論理がHからLまたはLからHに反転する。このとき
の比較器1の出力変化は、出力変化検出回路4によって
検出される。
The logic of is inverted from H to L or from L to H. The output change of the comparator 1 at this time is detected by the output change detection circuit 4.

出力変化検出回路4は、比較器lの比較出力COが変化
すると同時に検出出力DoをHがらしに切り換えて、可
変レベル発生回路4内のカウンタ41の歩進動作を停止
させる。これにより、可変レベル発生回路4の出力レベ
ルエは、上記比較器1の比較出力Coが反転した直後の
レベル、すなわち比較器1の入力オフセットがゼロに補
正された直後のレベルに固定される。このようにして固
定されたレベルは、次にリセット信号Rが与えられるま
で保持される。
The output change detection circuit 4 switches the detection output Do to a high level at the same time as the comparison output CO of the comparator 1 changes, and stops the step-by-step operation of the counter 41 in the variable level generation circuit 4. Thereby, the output level E of the variable level generation circuit 4 is fixed at the level immediately after the comparison output Co of the comparator 1 is inverted, that is, the level immediately after the input offset of the comparator 1 is corrected to zero. The level fixed in this manner is maintained until the next reset signal R is applied.

以上のようにして、比較illの入力オフセットが自動
的に補正されるとともに、この補正された状態が保持さ
れる。この後、初期化信号l5ttLにリセットすれば
、入力オフセットがゼロに補正された状態の比較器1は
、オフセット制御回路側から開放されて、通常の使用状
態に復帰する。
As described above, the input offset of the comparison ill is automatically corrected, and this corrected state is maintained. Thereafter, by resetting to the initialization signal l5ttL, the comparator 1 whose input offset has been corrected to zero is released from the offset control circuit side and returns to its normal operating state.

以上本発明者によってなされた発明を実施例に基づき具
体的に説明したが、本発明は上記実施例に限定されるも
のではなく、その要旨を逸脱しない範囲で種々変更可能
であることはいうまでもない。
Although the invention made by the present inventor has been specifically explained above based on Examples, it goes without saying that the present invention is not limited to the above Examples and can be modified in various ways without departing from the gist thereof. Nor.

以上の説明では主として本発明者によってなされた発明
をその背景となった利用分野である比較器のオフセット
補正に適用した場合について説明したが、それに限定さ
れるものではなく1例えば第3図に示すように、多段接
続された差動増幅回路1−1〜1−mのオフセット補正
にも適用できる。
In the above explanation, the invention made by the present inventor is mainly applied to the offset correction of a comparator, which is the background field of application, but the invention is not limited to this. Thus, the present invention can also be applied to offset correction of differential amplifier circuits 1-1 to 1-m connected in multiple stages.

[発明の効果] 本願において開示される発明のうち代表的なものによっ
て得られる効果を簡単に説明すれば下記のとおりである
[Effects of the Invention] The effects obtained by typical inventions disclosed in this application are briefly explained below.

すなわち、比較器や差動増幅回路などのオフセットを、
外部端子を使わずに、LSI内部にて自動的に補正でき
るようになる、という効果が得られる。
In other words, the offset of comparators and differential amplifier circuits, etc.
The effect is that correction can be automatically performed inside the LSI without using external terminals.

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

第1図は本発明の一実施例によるオフセット制御回路を
示す図、 第2図は第1図に示した回路の動作例を示す図。 第3図は本発明の別の実施例を示す図である。
FIG. 1 is a diagram showing an offset control circuit according to an embodiment of the present invention, and FIG. 2 is a diagram showing an example of the operation of the circuit shown in FIG. 1. FIG. 3 is a diagram showing another embodiment of the present invention.

Claims (1)

【特許請求の範囲】 1、比較動作または差動動作を行なう被制御回路の出力
変化点を検出する出力変化検出手段と、この出力変化検
出手段が上記出力変化点を検出するまで出力レベルを連
続的に変化させる可変レベル発生手段と、上記被制御回
路に伝達される入力レベルに上記可変レベル発生手段の
出力レベルを加えるレベル制御回路とを備えたことを特
徴とするオフセット制御回路。 2、比較動作または差動動作を行なう被制御回路の出力
の立ち下がりでセットされる第1の保持回路と、上記出
力の立ち上がりでセットされる第2の保持回路とを有し
、上記第1、第2の保持回路の各セット出力の論理和を
上記出力の変化点検出出力として出力する出力変化検出
手段を備えた特許請求の範囲第1項記載のオフセット制
御回路。 3、出力変化検出手段が被制御回路の出力の変化点を検
出するまで歩進駆動されるカウンタと、このカウンタの
カウント値をDA変換して出力するDA変換回路とを有
する可変レベル発生手段を備えた特許請求の範囲第1項
または第2項記載のオフセット制御回路。
[Claims] 1. Output change detection means for detecting an output change point of a controlled circuit that performs a comparison operation or a differential operation, and an output change detection means that continuously maintains the output level until the output change detection means detects the output change point. 1. An offset control circuit comprising: variable level generating means for changing the output level; and a level control circuit for adding an output level of the variable level generating means to an input level transmitted to the controlled circuit. 2. A first holding circuit that is set at the falling edge of the output of the controlled circuit that performs a comparison operation or a differential operation, and a second holding circuit that is set at the rising edge of the output; 2. The offset control circuit according to claim 1, further comprising output change detection means for outputting the logical sum of each set output of the second holding circuit as a change point detection output of the output. 3. Variable level generating means having a counter that is driven step by step until the output change detection means detects a change point in the output of the controlled circuit, and a DA conversion circuit that converts the count value of this counter into DA and outputs it. An offset control circuit according to claim 1 or 2, comprising:
JP63176814A 1988-07-15 1988-07-15 Offsetting control circuit Pending JPH0227401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63176814A JPH0227401A (en) 1988-07-15 1988-07-15 Offsetting control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63176814A JPH0227401A (en) 1988-07-15 1988-07-15 Offsetting control circuit

Publications (1)

Publication Number Publication Date
JPH0227401A true JPH0227401A (en) 1990-01-30

Family

ID=16020311

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63176814A Pending JPH0227401A (en) 1988-07-15 1988-07-15 Offsetting control circuit

Country Status (1)

Country Link
JP (1) JPH0227401A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03141716A (en) * 1989-09-30 1991-06-17 Mitsutoyo Corp Circuit for counter, counter and scanning type optical dimension measuring device
US5658999A (en) * 1992-04-01 1997-08-19 Mitsui Toatsu Chemicals, Inc. Syndiotactic polypropylene wax, production process thereof, and heating roll fixing-type toner composition making use of the wax
WO2002063617A1 (en) * 2001-02-02 2002-08-15 Fujitsu Limited Correction method, correction circuit and optical data recorder
JP2011223553A (en) * 2010-03-26 2011-11-04 Fujitsu Ltd Amplifier circuit and analog-digital conversion circuit including amplifier circuit

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03141716A (en) * 1989-09-30 1991-06-17 Mitsutoyo Corp Circuit for counter, counter and scanning type optical dimension measuring device
US5658999A (en) * 1992-04-01 1997-08-19 Mitsui Toatsu Chemicals, Inc. Syndiotactic polypropylene wax, production process thereof, and heating roll fixing-type toner composition making use of the wax
US5677409A (en) * 1992-04-01 1997-10-14 Mitsui Toatsu Chemicals, Inc. Syndiotactic polypropylene wax, production process thereof, and heating roll fixing-type toner composition making use of the wax
WO2002063617A1 (en) * 2001-02-02 2002-08-15 Fujitsu Limited Correction method, correction circuit and optical data recorder
US6862260B2 (en) 2001-02-02 2005-03-01 Fujitsu Limited Correction method, correction circuit, and light information storage apparatus
JP4777603B2 (en) * 2001-02-02 2011-09-21 富士通株式会社 Correction method, correction circuit, and optical information storage device
JP2011223553A (en) * 2010-03-26 2011-11-04 Fujitsu Ltd Amplifier circuit and analog-digital conversion circuit including amplifier circuit

Similar Documents

Publication Publication Date Title
US5321368A (en) Synchronized, digital sequential circuit
US5072221A (en) Error limiting analog to digital converter
US4533903A (en) Analog-to-digital converter
US9258009B2 (en) AD converter
JPH0319732B2 (en)
JPS5871726A (en) Analog-digital converter
US7456774B2 (en) Encoder circuit and A/D conversion circuit
JPH10276070A (en) Schmitt trigger circuit capable of adjusting trigger voltage
JPH0227401A (en) Offsetting control circuit
JPH1065542A (en) A/d converter circuit
JPH07106967A (en) A/d converter
US8054101B2 (en) Current source applicable to a controllable delay line and design method thereof
US10833689B2 (en) Method and circuit for compensating for the offset voltage of electronic circuits
JPS5919490B2 (en) Analog-to-digital converter
JPH0481896B2 (en)
JPH09148930A (en) Offset voltage correction circuit for operational amplifier
JP3360298B2 (en) D / A converter
JPH06120829A (en) Sequential comparison type a/d converter
SU570198A1 (en) Decoder with error correction
JPH11261419A (en) Cascade a/d converter
JPH0779227B2 (en) comparator
JPS6235709A (en) Digital circuit
JPH1038548A (en) Displacement measuring instrument
JPH0637737A (en) Crc arithmetic circuit
KR950003441Y1 (en) Analog/digital converter