JPH03113611A - Reference voltage generation circuit - Google Patents

Reference voltage generation circuit

Info

Publication number
JPH03113611A
JPH03113611A JP25425189A JP25425189A JPH03113611A JP H03113611 A JPH03113611 A JP H03113611A JP 25425189 A JP25425189 A JP 25425189A JP 25425189 A JP25425189 A JP 25425189A JP H03113611 A JPH03113611 A JP H03113611A
Authority
JP
Japan
Prior art keywords
reference voltage
circuit
trimming
output
input
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
JP25425189A
Other languages
Japanese (ja)
Inventor
Koichi Hara
浩一 原
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP25425189A priority Critical patent/JPH03113611A/en
Publication of JPH03113611A publication Critical patent/JPH03113611A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Voltage And Current In General (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To reduce the number of terminals by using a binary counter for a trimming circuit connected to a decoder circuit and sharing the clock input terminal of the binary counter and the power terminal of PROM. CONSTITUTION:A DELTAVT-type reference voltage source 1, the decoder circuit 2 making a reference voltage VOUT to be optimum, a serial resistance network consisting of resistors R1 and R2 and a resistor (r) and the trimming circuit 3 which trims the input of the decoder circuit 2 are provided. The trimming circuit 3 is provided with the n-bit binary counter which is connected in serial by n-bits and programmable ROM which sets the output to be an input, and the clock input of an initial stage is shared with the power source of programmable ROM. Thus, the number of the terminals is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は基準電圧発生回路に関し、特に抵抗網とデコー
ダ回路およびトリミング回路を用いた基準電圧発生回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a reference voltage generation circuit, and more particularly to a reference voltage generation circuit using a resistor network, a decoder circuit, and a trimming circuit.

〔従来の技術〕[Conventional technology]

従来、この種の基準電圧発生回路はトリミング回路のプ
ログラマブルROM(以下、FROMと称す)を利用し
基準電圧を所望の値に設定している。この場合、FRO
Mに書き込むためのトリミング・コードは数多くの端子
を用いて転送している。また、基準電圧源出力電圧の初
期値の測定は1回だけ行なっている。
Conventionally, this type of reference voltage generation circuit uses a programmable ROM (hereinafter referred to as FROM) of a trimming circuit to set the reference voltage to a desired value. In this case, FRO
The trimming code to be written to M is transferred using a number of terminals. Furthermore, the initial value of the reference voltage source output voltage is measured only once.

第5図は従来の一例を示す基準電圧発生回路のブロック
図である。
FIG. 5 is a block diagram of a conventional reference voltage generation circuit.

第5図に示すように、従来の基準電圧発生回路は、ΔV
t型基準電圧源l (他の電圧源でも良い)と、デコー
ダ回路2と、トリミング回路3と、抵抗R1,R2およ
びrからなる直列抵抗網とで構成される。この抵抗網の
うち抵抗rは単位抵抗セルとして繰り返し用いられ、抵
抗R1とrの結合点をjl、抵抗rとその次のrの結合
点をj2、それ以降の結合点はj6.まである。デコー
ダ回路2はトリミング回路3からのnビット(以下、こ
こでは6ビツトを例にとる)データD0〜D、の値によ
り、結合点j1〜j 64のうちのどれかを選択し、そ
の出力がΔVT型基準基準電圧源1転入力端子に入力さ
れる。
As shown in FIG. 5, the conventional reference voltage generation circuit has ΔV
It is composed of a T-type reference voltage source l (another voltage source may be used), a decoder circuit 2, a trimming circuit 3, and a series resistance network consisting of resistors R1, R2, and r. In this resistor network, the resistor r is repeatedly used as a unit resistance cell, the connecting point between the resistors R1 and r is jl, the connecting point between the resistor r and the next r is j2, the subsequent connecting points are j6, and so on. There is even. The decoder circuit 2 selects one of the connection points j1 to j64 according to the values of n-bit (hereinafter, 6 bits are taken as an example) data D0 to D from the trimming circuit 3, and selects the output from the n-bit data D0 to D. It is input to the ΔVT type standard reference voltage source single-inverting input terminal.

第6図は第5図に示すトリミング回路の描成図である。FIG. 6 is a diagram of the trimming circuit shown in FIG.

第6図に示すように、従来のトリミング回路3Aはテス
ト機能付PROMセル10〜15と、リセット入力付シ
フト・レジスタ26〜31とで構成される。このリセッ
ト入力付シフト・レジスタ26〜31はテスト機能付P
ROMセルlO〜15の各FROMセル16への書き込
みデータを供給することを目的としている。一方、テス
ト機能付PROMセル10〜15の端子り。〜D、はデ
コーダ回路2への出力端子、TESTは入力端子でPR
OMセル16のデータを出力するか、あるいはシフト・
レジスタ26〜31のデータを出力するかを選択するた
めの端子である。また、■、。
As shown in FIG. 6, the conventional trimming circuit 3A is composed of PROM cells 10-15 with test functions and shift registers 26-31 with reset input. These shift registers 26 to 31 with reset input have a test function.
Its purpose is to supply write data to each FROM cell 16 of ROM cells IO to 15. On the other hand, the terminals of PROM cells 10 to 15 with test function. ~D is the output terminal to the decoder circuit 2, TEST is the input terminal and PR
Output the data of OM cell 16 or shift/
This is a terminal for selecting whether to output the data of registers 26 to 31. Also, ■.

は、PROMセル16への書き込みのための電源端子で
あり、高電圧を印加して書き込む。更に、RESETは
、シフト・レジスタ26〜31を初期化するためのリセ
ット入力端子、SDはシフト・レジスタ26〜31の直
列データ入力端子であり、CLKは直列データを転送す
るための転送りロック端子である。尚、VOUTは基準
電圧源1の出力端子で、VOUTの端子電圧をΔV、と
する。
is a power supply terminal for writing into the PROM cell 16, and writes by applying a high voltage. Furthermore, RESET is a reset input terminal for initializing the shift registers 26 to 31, SD is a serial data input terminal for the shift registers 26 to 31, and CLK is a transfer lock terminal for transferring serial data. It is. Note that VOUT is the output terminal of the reference voltage source 1, and the terminal voltage of VOUT is assumed to be ΔV.

次に、かかる従来の基準電圧発生回路の動作を説明する
Next, the operation of such a conventional reference voltage generation circuit will be explained.

第7図は第5図および第6図におけるトリミング回路を
中心とする回路動作を説明するためのタイミング図であ
る。
FIG. 7 is a timing diagram for explaining the circuit operation centered on the trimming circuit in FIGS. 5 and 6. FIG.

第7図に示すように、Vppハ0 、 1 、 Vpp
ノ3値になっているが、それぞれOはOv21はV D
 DvPPは1のレベルを超える高電圧である。尚、タ
イミングと記したのは、各時間での動作状態を意味して
いる。
As shown in FIG. 7, Vpp is 0, 1, Vpp
The three values are O, Ov21 and VD.
DvPP is a high voltage exceeding the level of 1. Note that the term "timing" refers to the operating state at each time.

まず、タイミング■は不定の状態であり、シフト・レジ
スタ26〜31はどのような値になるかは不明である。
First, timing (2) is in an undefined state, and it is unknown what values the shift registers 26 to 31 will have.

次に、タイミング■はリセット端子RESETをOとし
てシフト・レジスタ26〜31のデータを初期化する。
Next, at timing (2), the reset terminal RESET is set to O to initialize the data in the shift registers 26-31.

すなわち、シフト・レジスタ26〜31の出力Q。−Q
5を0とする。
That is, the output Q of shift registers 26-31. -Q
Let 5 be 0.

次に、タイミング■では基準電圧源出力電圧Vを測定す
る。この時の条件としては、TEST信号が0であるこ
とを必要とする。この場合、D。
Next, at timing (2), the reference voltage source output voltage V is measured. The condition at this time is that the TEST signal is 0. In this case, D.

=Q、=O,D、=Q、=O,・・・、 D s = 
Q s = Oとなり、基準電圧源出力電圧V、の値は
、デコーダ回路2が結合点j1を選んだ状態の値である
=Q, =O,D, =Q, =O,..., D s =
Q s = O, and the value of the reference voltage source output voltage V is the value when the decoder circuit 2 selects the connection point j1.

よって、基準電圧源出力電圧V、の初期値を元に所望の
基準電圧源出力電圧V、を求めるために、トリミング・
フードを算出する。この第7図では、D、〜D0= 1
00101のトリミング・コードを算出したものとして
いる。
Therefore, in order to obtain the desired reference voltage source output voltage V, based on the initial value of the reference voltage source output voltage V, trimming and
Calculate food. In this Figure 7, D, ~D0 = 1
It is assumed that a trimming code of 00101 is calculated.

次に、タイミング■は直列データ入力端子SDに上記デ
ータを送出し、転送りロック端子CLKに転送りロック
を供給するとともに、トリミング・コードをセットして
いる。次に、タイミング■では、TEST信号な0とし
、デコーダ回路2にセットしたトリミング・コードを与
え、そのトリミング・コードによる基準電圧源出力電圧
V、を測定する。所望の基準電圧源出力電圧v1が得ら
れたならば、タイミング■のFROM書き込みに進み、
そうでないならば所望の基準電圧源出力電圧V、との差
分を埋める補正トリミング・コードを加えあるいは差引
いて再びタイミング■を繰り返す。上述したタイミング
■ではセットしたトリミング・コードをPROMセル1
6へ入力した状態にしておき、電源端子Vppはトリミ
ング・コードをFROMに書き込むために必要な時間だ
け高電圧を保持する。次に、タイミング■はトリミング
・コード書き込みを完了した状態である。
Next, at timing (2), the above data is sent to the serial data input terminal SD, a transfer lock is supplied to the transfer lock terminal CLK, and a trimming code is set. Next, at timing (2), the TEST signal is set to 0, the trimming code set to the decoder circuit 2 is applied, and the reference voltage source output voltage V according to the trimming code is measured. Once the desired reference voltage source output voltage v1 is obtained, proceed to FROM writing at timing ①.
If not, a correction trimming code that fills the difference with the desired reference voltage source output voltage V is added or subtracted, and the timing (2) is repeated again. At the above timing ■, the set trimming code is transferred to PROM cell 1.
6, and the power supply terminal Vpp maintains a high voltage only for the time required to write the trimming code to FROM. Next, at timing 2, writing of the trimming code is completed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の基準電圧発生回路は、FROMに書き込
むためのトリミング・コードを転送するために数多くの
端子を必要とし、パッケージのビン端子数が多くなると
いう欠点がある。また、上述した従来の基準電圧発生回
路では、トリミング・コードを算出するために、基準電
圧源出力電圧の初期値の測定を1点しか行えないため、
精度に欠けるという欠点がある。
The conventional reference voltage generation circuit described above requires a large number of terminals to transfer the trimming code to be written to the FROM, and has the disadvantage that the number of pin terminals in the package increases. Furthermore, in the conventional reference voltage generation circuit described above, the initial value of the reference voltage source output voltage can only be measured at one point in order to calculate the trimming code.
The drawback is that it lacks precision.

本発明の目的は、かかる端子数を削減し且つ精度を向上
させる基準電圧発生回路を提供することにある。
An object of the present invention is to provide a reference voltage generation circuit that reduces the number of terminals and improves accuracy.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の基準電圧発生回路は、抵抗網と、基準電圧を最
適値にするために前記抵抗網の各点に接続されたn (
nは自然数)入力のデコーダ回路と、前記デコーダ回・
路および前記抵抗網の一端に接続された基準電圧源と、
nビット直列に接続したいnビット・バイナリー・カウ
ンタおよび前記nビット・バイナリー・カウンタ出力を
入力にしたプログラマブルROMを有するトリミング回
路と、前記nビット・バイナリー・カウンタの最終段の
出力を1にし且つ1段目から最終段手前迄のQ出力を0
にする手段とを有し、前記トリミング回路のnビット・
バイナリー・カウンタの初段クロック入力を前記プログ
ラマブルROMの電源と共有するように構成される。
The reference voltage generating circuit of the present invention includes a resistor network and n (
n is a natural number) the input decoder circuit and the decoder circuit
a reference voltage source connected to the resistor network and one end of the resistor network;
A trimming circuit having an n-bit binary counter to be connected in series with n-bits and a programmable ROM that inputs the output of the n-bit binary counter, and a trimming circuit that sets the output of the final stage of the n-bit binary counter to 1 and 1. Q output from the first stage to before the final stage is 0.
n bits of the trimming circuit;
The first stage clock input of the binary counter is configured to be shared with the power supply of the programmable ROM.

〔実施例〕〔Example〕

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

第1図は本発明の第一の実施例を示す基準電圧発生回路
のブロック図である。
FIG. 1 is a block diagram of a reference voltage generation circuit showing a first embodiment of the present invention.

第1図に示すように、本実施例はΔvT型基準基準電圧
源1基準電圧V。1Tを最適にするためのデコーダ回路
2と、抵抗R+ 、 R2および63個の抵抗rからな
る直列抵抗網と、デコーダ回路2の入力をトリミングす
るトリミング回路3とを有している。抵抗のうちrは単
位抵抗セルとして繰り返し用いられ、抵抗R1とrの結
合点をJl、rとその次のrの結合点をj2、それ以降
の結合点はj64まで形成される。デコーダ回路2はト
リミング回路3からのnビット(以下、6ビツトを例に
とる)のデータD0〜D、の値により、結合点j1〜j
 $4のどれかを選択し、その点の電位がΔvT型基準
基準電圧源の電圧源でもよい)1の反転入力端子に入力
される。
As shown in FIG. 1, in this embodiment, a ΔvT type reference reference voltage source 1 has a reference voltage V. It has a decoder circuit 2 for optimizing 1T, a series resistance network consisting of resistors R+, R2 and 63 resistors r, and a trimming circuit 3 for trimming the input of the decoder circuit 2. Among the resistors, r is repeatedly used as a unit resistance cell, and the connecting point between resistors R1 and r is J1, the connecting point between r and the next r is J2, and the subsequent connecting points are formed up to J64. The decoder circuit 2 determines the connection points j1 to j based on the values of n-bit (hereinafter, 6 bits will be taken as an example) data D0 to D from the trimming circuit 3.
$4 is selected, and the potential at that point is input to the inverting input terminal of 1 (which may be a ΔvT type reference reference voltage source).

第2図は第1図に示すトリミング回路の構成図である。FIG. 2 is a configuration diagram of the trimming circuit shown in FIG. 1.

第2図に示すように、かかるトリミング回路3はリセッ
ト入力付バイナリ−・カウンタ4〜8およびリセット・
プリセット入力付バイナリ−・カウンタ9と、テスト機
能付FROMセル10〜15と、RESET信号および
PRESET信号の論理積をとり且つその出力をバイナ
リ−・カウンタ4〜9のリセット (π)入力とするA
NDゲート17とで構成される。端子り。〜D5はデコ
ーダ回路2への出力端子であり、前述したRESET信
号端子はリセット入力付バイナリ−・カウンタ4〜8お
よびリセット・プリセット入力付バイナリ−・カウンタ
9を初期化するためのリセット入力端子である。また、
PRESET信号端子はリセット・プリセット入力付バ
イナリ−・カウンタ9を1にするためのプリセット入力
端子である。
As shown in FIG. 2, the trimming circuit 3 includes binary counters 4 to 8 with reset inputs and reset inputs.
A that takes the AND of the binary counter 9 with preset input, the FROM cells 10 to 15 with test function, the RESET signal, and the PRESET signal, and uses the output as the reset (π) input of the binary counters 4 to 9.
It is composed of an ND gate 17. Terminal. ~D5 is an output terminal to the decoder circuit 2, and the above-mentioned RESET signal terminal is a reset input terminal for initializing the binary counters 4 to 8 with reset input and the binary counter 9 with reset/preset input. be. Also,
The PRESET signal terminal is a preset input terminal for setting the binary counter 9 with reset/preset input to 1.

更に、本実施例の中心となるCLK端子はバイナリ−・
カウンタ4〜9をカウント・アップするためのクロック
入力端子であるとともに、テスト機能付FROMセル1
0〜150FROMデータを出力端子D0〜D5に出力
するか、あるいはバイナリ−・カウンタ4〜9の値工を
出力するかを選択するテスト端子であり、しかもFRO
Mセル16への書き込みのための電源端子を兼用してい
る。
Furthermore, the CLK terminal, which is the center of this embodiment, is a binary terminal.
A clock input terminal for counting up counters 4 to 9, and a FROM cell 1 with test function.
This is a test terminal for selecting whether to output 0 to 150FROM data to output terminals D0 to D5 or output the values of binary counters 4 to 9.
It also serves as a power supply terminal for writing to the M cell 16.

次に、上述した基準電圧発生回路の動作を説明する。Next, the operation of the reference voltage generation circuit described above will be explained.

第3図は第1図および第2図におけるトリミング回路を
中心とする回路動作を説明するためのタイミング図であ
る。
FIG. 3 is a timing diagram for explaining the circuit operation centered on the trimming circuit in FIGS. 1 and 2. FIG.

第3図に示すように、CLKは0,1.V、Pと3値に
なッテおり、0 ハOV、  1 ハVH)、 Vpp
 ハ1のレベルを超える高電圧である。また、タイミン
グと記したのは各時間での動作状態を意味している。
As shown in FIG. 3, CLK is 0, 1 . There are three values: V, P, 0 OV, 1 VH), Vpp
This is a high voltage that exceeds the level of C1. Moreover, the term "timing" means the operating state at each time.

まず、タイミング■は不定の状態であり、バイナリ−・
カウンタ4へ9はどのようなデータにあるか不明である
First, the timing ■ is in an undefined state, and the binary
It is unknown what kind of data exists in counters 4 to 9.

タイミング■では、リセット端子RESETを0として
バイナリ−・カウンタ4〜9のデータを初期化する。す
なわち、バイナリ−・カウンタ出力Q。−Q5をOとす
る。
At timing (2), the reset terminal RESET is set to 0 to initialize the data in the binary counters 4-9. That is, the binary counter output Q. - Let Q5 be O.

タイミング■では、基準電圧源出力電圧v1を測定する
。この時の条件としては、CLK入力端子をリセット中
か又はリセットする前にCLKOとしておく必要がある
。この場合り。−Q、=0 、 D+=Q+=0 、・
・・、 D s = Q s = Oとなり、基準電圧
源1の出力電圧v1の値はデコーダ回路2が結合点j1
を選んだ状態の値である。
At timing (2), the reference voltage source output voltage v1 is measured. The conditions at this time are that the CLK input terminal must be set to CLKO during or before resetting. In this case. −Q,=0, D+=Q+=0,・
..., D s = Q s = O, and the value of the output voltage v1 of the reference voltage source 1 is the value of the output voltage v1 of the decoder circuit 2 at the connection point j1.
This is the value when .

タイミング■では、プリセット端子PRESETをOと
してn段目のバイナリ−・カウンタ9の出力を1にし、
1〜(n−1)段目のバイナリ−・カウンタ4〜8の出
力な0にする。
At timing ■, the preset terminal PRESET is set to O, and the output of the n-th stage binary counter 9 is set to 1.
The outputs of the first to (n-1)th stage binary counters 4 to 8 are set to 0.

タイミング■では、基準電圧源出力電圧V33を測定す
る。この場合、Do”Qo=O,I)+=Q+=0、・
・・、])4=Q4=Q、D5=Q、=0となり、基準
電圧源出力電圧V33の値はデコーダ回路2が結合点j
、xを選んだ状態の値である。ここで、基準電圧源出力
電圧V、、V3.の値を元に所望の基準電圧源出力電圧
■、を求めるためにトリミング・コードを算出する。尚
、第3図では、D5〜D o ”101011のトリミ
ング・コードを算出したものとし、バイナリ−・カウン
タの入力クロック数を43とし設定する。
At timing (2), the reference voltage source output voltage V33 is measured. In this case, Do”Qo=O,I)+=Q+=0,・
..., ])4=Q4=Q, D5=Q, =0, and the value of the reference voltage source output voltage V33 is determined by the decoder circuit 2 at the connection point j.
, x is the value of the selected state. Here, the reference voltage source output voltages V, , V3. A trimming code is calculated to obtain the desired reference voltage source output voltage , based on the value of . In FIG. 3, it is assumed that the trimming codes D5 to D o "101011 have been calculated, and the number of input clocks of the binary counter is set to 43.

タイミング■では、前述したタイミング■で設定した入
力クロック数43個をCLKに入力し、カウント・アッ
プさせる。このCLK43個をカウント・アップしたと
ころでストップする。
At timing (2), the number of input clocks (43) set at the above-mentioned timing (2) is input to CLK and counted up. The process stops after counting up 43 CLKs.

タイミング■では、CLKを0とし、デコーダ回路2に
トリミング・コードを与え、そのトリミング・コードに
よる基準電圧源出力電圧V、を測定する。所望の基準電
圧源出力電圧■、が得られたならば、前述したタイミン
グ■のFROM書き込みに進む。また、そうでないなら
ば、所望の基準電圧源出力電圧V、との差分を埋める補
正トリミング・コードを加えあるいは差引いて再びタイ
ミング■〜■の動作を繰り返す。
At timing (2), CLK is set to 0, a trimming code is given to the decoder circuit 2, and the reference voltage source output voltage V according to the trimming code is measured. Once the desired reference voltage source output voltage (2) is obtained, the process proceeds to the FROM writing at the timing (2) described above. If not, a correction trimming code to fill in the difference with the desired reference voltage source output voltage V is added or subtracted, and the operations at timings 1 to 2 are repeated again.

タイミング■では、セットしたトリミング・コードをF
ROMセル16に入力した状態にしておき、CLKをP
ROMにデータを書き込むのに必要な時間だけ高電圧を
保持する。
In Timing■, set the trimming code to F.
Leave the input in ROM cell 16, and set CLK to P.
The high voltage is held for only the time necessary to write data to the ROM.

タイミング■では、トリミング・コード書き込みを完了
した状態である。尚、CLKは書き込み完了後″1”レ
ベルにプル・アップしておく必要がある。
At timing ■, the writing of the trimming code is completed. Note that CLK must be pulled up to the "1" level after writing is completed.

次に、上述したトリミング・コードの算出方法について
述べる。
Next, a method for calculating the above-mentioned trimming code will be described.

まず、基準電圧源出力電圧■、と抵抗R1,R2゜およ
び結合点jの間には次の関係がある。
First, the following relationship exists between the reference voltage source output voltage {circle around (2)}, the resistors R1, R2°, and the connection point j.

・・・・・(1) ここで、■1゜はオフセット電圧である。・・・・・・(1) Here, ■1° is an offset voltage.

次に、j=1の時の基準電圧源出力電圧■1の値をvl
、j=33の時の基準電圧源出力電圧v1の値をVS2
とすると、■、およびVS2は上述した(1)式より、 となる。
Next, the value of the reference voltage source output voltage ■1 when j=1 is vl
, the value of the reference voltage source output voltage v1 when j=33 is VS2
Then, ■ and VS2 are as follows from equation (1) above.

ここで、 (3)式より(2)式を弓 くと、 ・・・・・・(4) となる。here, From equation (3), equation (2) can be expressed as Then, ・・・・・・(4) becomes.

上述した(3)式および(4)式より次式を得る。The following equation is obtained from equations (3) and (4) above.

次に、 (1)式に(4)式および(5)式を代入し整理すると
、 次式が得られる。
Next, by substituting and rearranging equations (4) and (5) into equation (1), the following equation is obtained.

2 j=−+65 ・・・・・・(6) 従って、 かかる(6)式から基準電圧源出力電圧v1およびV3
3を測定することにより、結合点jが求まる。すなわち
、トリミング・コードが算出されたことになる。
2 j=-+65 (6) Therefore, from this equation (6), the reference voltage source output voltages v1 and V3
By measuring 3, the connection point j can be found. In other words, the trimming code has been calculated.

第4図は本発明の第二の実施例を説明するためのトリミ
ング回路の構成図である。
FIG. 4 is a configuration diagram of a trimming circuit for explaining a second embodiment of the present invention.

第4図に示すように、本実施例は前述した第一の実施例
におけるトリミング回路と比較してリセット入力付バイ
ナリ−・カウンタ、リセット・プリセット入力付バイナ
リ−・カウンタを用いるか否かと、その出力Q。−Q、
が全で“0”であるかを検出するNORゲート24と、
出力Q、が“1゛′且つQ0〜Q4が“0”であるかを
検出するNORゲート25とを用いることにある。すな
わち、トリミング回路3はテスト機能付PROMセルl
O〜15と、バイナリ−・カウンタ18〜23と、バイ
ナリ−・カウンタ18〜23の出力Q0〜Q5が全て0
”であることを検出するN。
As shown in FIG. 4, this embodiment differs from the trimming circuit in the first embodiment described above in determining whether or not to use a binary counter with reset input, a binary counter with reset/preset input, and the like. Output Q. -Q,
a NOR gate 24 that detects whether all are "0";
The trimming circuit 3 uses a NOR gate 25 that detects whether the output Q is "1" and Q0 to Q4 are "0".
O~15, binary counters 18~23, and outputs Q0~Q5 of binary counters 18~23 are all 0.
” to detect that N.

Rゲート24と、バイナリ−・カウンタ18〜23の出
力Q、が“1°′で且つ出力Q。−Q4が0″であるこ
とを検出するNORゲート25とで構成される。
It consists of an R gate 24 and a NOR gate 25 which detects that the outputs Q of the binary counters 18 to 23 are "1°" and the output Q.-Q4 is 0".

ここで、前述した第一の実施例においては、リセット入
力RESETをOnとすることでバイナリ−・カウンタ
4〜9の出力Q0〜Q、を初期化したが、この第二の実
施例においては、NORゲート24の出力V、Qを監視
し、“0°“であるならばバイナリ−・カウンタ4〜9
の出力Q0〜Q、の少なくとも1つが′1″であるから
、CLKによりクロックを入力し、NORゲート24の
出力V + Qが1になるまでクロックを入力し続ける
。このNORゲート24の出力V+Qが1を検出したと
ころでクロック入力をストップし、基準電圧源出力電圧
v1を測定する。次に、NORゲート25の出力V33
Qを監視し、°“OI+であるならバイナリ−・カウン
タ23の出カイ了およびバイナリ−・カウンタ18〜2
2の出力Q。−Q4の出力の少なくとも1つが“1″で
あるから、CLKによりクロックを入力し、NORゲー
ト25の出力V33Qが1になるまでクロックを入力し
続ける。このNORゲート25の出力V 3s Qが1
を検出したところでクロック入力をストップし、基準電
圧源出力電圧V33の測定を行なう。これと同時に基準
電圧源出力電圧V1およびV33をもとにトリミング・
コードを算出し、バイナリ−・カウンタ18〜23の入
力クロック数を設定する。ここで、バイナリ−・カウン
タ18〜23にはリセット入力が無いため、バイナリ−
・カウンタ18〜23の値は最初“0”か”1”かわか
らないので、基準電圧源出力電圧v1の測定を先に行う
とは限らない。従って、カウント・アップ直前のバイナ
リ−・カウンタ18〜23のQ出力はQ、〜Q o ”
ooooooかあるいはQs 〜QO= 100000
のどちらかわからない。そこで、NORゲート24の出
力V、Q=1、NORゲート25の出力v33Q=1の
どちらを先に検出したかをトリミング回路3の外部で知
り、それにより入力クロック数を制御するようにする。
Here, in the first embodiment described above, the outputs Q0 to Q of the binary counters 4 to 9 were initialized by turning on the reset input RESET, but in this second embodiment, Monitor the outputs V and Q of the NOR gate 24, and if they are "0°", the binary counters 4 to 9
Since at least one of the outputs Q0 to Q of is '1'', a clock is inputted by CLK and continues to be inputted until the output V + Q of the NOR gate 24 becomes 1.The output V + Q of this NOR gate 24 When detects 1, the clock input is stopped and the reference voltage source output voltage v1 is measured.Next, the output V33 of the NOR gate 25 is
Monitor Q, and if it is OI+, output of binary counter 23 and binary counters 18 to 2 are output.
2 output Q. Since at least one of the outputs of -Q4 is "1", a clock is input using CLK, and the clock continues to be input until the output V33Q of the NOR gate 25 becomes 1. The output V 3s Q of this NOR gate 25 is 1
Upon detection of V33, the clock input is stopped and the reference voltage source output voltage V33 is measured. At the same time, trimming is performed based on the reference voltage source output voltages V1 and V33.
The code is calculated and the number of input clocks for the binary counters 18-23 is set. Here, since there is no reset input to binary counters 18 to 23, binary counters 18 to 23 have no reset input, so
- Since it is not known whether the values of the counters 18 to 23 are "0" or "1" at first, the reference voltage source output voltage v1 is not necessarily measured first. Therefore, the Q outputs of the binary counters 18 to 23 immediately before counting up are Q, ~Q o ”
ooooooo or Qs ~QO= 100000
I don't know which one. Therefore, which of the output V, Q=1 of the NOR gate 24 and the output v33Q=1 of the NOR gate 25 is detected first is known outside the trimming circuit 3, and the number of input clocks is controlled accordingly.

以下の動作は前述した第一の実施例の動作と同様に、第
3図のタイミング■のカウント・アップからタイミング
■の完了までを行う。
The following operation is similar to the operation of the first embodiment described above, from counting up at timing (2) to completion at timing (2) in FIG.

〔発明の効果〕 以上説明したように、本発明の基準電圧発生回路は、デ
コーダ回路に接続したトリミング回路にシフト・レジス
タに代えてバイナリ−・カウンタを使用し、且つこのバ
イナリ−・カウンタのクロック入力端子とFROMの電
源端子とを共有することにより、端子数を削減できると
いう効果がある。さらに、本発明は、トリミング・コー
ドを算出するために基準電圧源出力電圧の初期値を2回
測定することができるので、精度を向上させることがで
きるという効果がある。
[Effects of the Invention] As explained above, the reference voltage generation circuit of the present invention uses a binary counter instead of a shift register in the trimming circuit connected to the decoder circuit, and the clock of this binary counter By sharing the input terminal and the power supply terminal of the FROM, there is an effect that the number of terminals can be reduced. Furthermore, the present invention has the advantage that accuracy can be improved because the initial value of the reference voltage source output voltage can be measured twice in order to calculate the trimming code.

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

第1図は本発明の第一の実施例を示す基準電圧発生回路
のブロック図、第2図は第1図に示すトリミング回路の
構成図、第3図は第1図および第2図におけるトリミン
グ回路を中心とする回路動作を説明するためのタイミン
グ図、第4図は本発明の第二の実施例を説明するための
トリミング回路の構成図、第5図は従来の一例を示す基
準電圧発生回路のブロック図、第6図は第5図に示すト
リミング回路の構成図、第7図は第5図および第6図に
おけるトリミンク回路を中心とする回路動作を説明する
ためのタイミング図である。 1・・・・・・ΔvT型基準基準電圧源・・・・・・テ
コーダ回路、3・・・・・・トリミング回路、4〜8・
・・・・・リセット入力付バイナリ−・カウンタ、9・
・・・・・リセット・プリセット入力付バイナリ−・カ
ウンタ、lO〜15・・・・・・テスト機能付FROM
セル、16・・・・・・PROMセル、17・・・・・
・ANDゲート、18〜23・・・・・バイナリ−・カ
ウンタ、24.25・・・・・・NORゲート、R+ 
+ R,2r r・・・・・・抵抗、J1〜jet・・
・・・・抵抗間網結合点。
FIG. 1 is a block diagram of a reference voltage generation circuit showing a first embodiment of the present invention, FIG. 2 is a configuration diagram of a trimming circuit shown in FIG. 1, and FIG. 3 is a trimming diagram in FIGS. 1 and 2. A timing diagram for explaining the circuit operation centered on the circuit, FIG. 4 is a configuration diagram of a trimming circuit for explaining the second embodiment of the present invention, and FIG. 5 is a reference voltage generation diagram showing a conventional example. FIG. 6 is a block diagram of the circuit, FIG. 6 is a configuration diagram of the trimming circuit shown in FIG. 5, and FIG. 7 is a timing diagram for explaining the circuit operation centered on the trimming circuit in FIGS. 5 and 6. 1...ΔvT type reference reference voltage source...Tecoder circuit, 3...Trimming circuit, 4-8...
...Binary counter with reset input, 9.
...Binary counter with reset/preset input, lO~15...FROM with test function
Cell, 16...PROM cell, 17...
・AND gate, 18-23...Binary counter, 24.25...NOR gate, R+
+ R, 2r r...Resistance, J1~jet...
...Net connection point between resistors.

Claims (1)

【特許請求の範囲】[Claims] 抵抗網と、基準電圧を最適値にするために前記抵抗網の
各点に接続されたn(nは自然数)入力のデコーダ回路
と、前記デコーダ回路および前記抵抗網の一端に接続さ
れた基準電圧源と、nビット直列に接続したnビット・
バイナリー・カウンタおよび前記nビット・バイナリー
・カウンタ出力を入力にしたプログラマブルROMを有
するトリミング回路と、前記nビット・バイナリー・カ
ウンタの最終段の出力を1にし且つ1段目から最終段手
前迄のQ出力を0にする手段とを有し、前記トリミング
回路のnビット・バイナリー・カウンタの初段クロック
入力を前記プログラマブルROMの電源と共有すること
を特徴とする基準電圧発生回路。
a resistor network, a decoder circuit with n inputs (n is a natural number) connected to each point of the resistor network to optimize the reference voltage, and a reference voltage connected to one end of the decoder circuit and the resistor network. n bits connected in series with the source and n bits in series.
A trimming circuit having a binary counter and a programmable ROM which inputs the output of the n-bit binary counter, and a trimming circuit that sets the output of the final stage of the n-bit binary counter to 1 and sets the Q from the first stage to before the final stage. 1. A reference voltage generating circuit comprising means for setting an output to 0, and sharing a first stage clock input of an n-bit binary counter of the trimming circuit with a power source of the programmable ROM.
JP25425189A 1989-09-28 1989-09-28 Reference voltage generation circuit Pending JPH03113611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25425189A JPH03113611A (en) 1989-09-28 1989-09-28 Reference voltage generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25425189A JPH03113611A (en) 1989-09-28 1989-09-28 Reference voltage generation circuit

Publications (1)

Publication Number Publication Date
JPH03113611A true JPH03113611A (en) 1991-05-15

Family

ID=17262387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25425189A Pending JPH03113611A (en) 1989-09-28 1989-09-28 Reference voltage generation circuit

Country Status (1)

Country Link
JP (1) JPH03113611A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100569734B1 (en) * 1997-12-31 2006-08-18 삼성전자주식회사 Programmable gamma reference voltage generator and liquid crystal display using the same
KR100731024B1 (en) * 2000-07-04 2007-06-22 엘지.필립스 엘시디 주식회사 Programmable reference voltage generator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100569734B1 (en) * 1997-12-31 2006-08-18 삼성전자주식회사 Programmable gamma reference voltage generator and liquid crystal display using the same
KR100731024B1 (en) * 2000-07-04 2007-06-22 엘지.필립스 엘시디 주식회사 Programmable reference voltage generator

Similar Documents

Publication Publication Date Title
US6097674A (en) Method for measuring time and structure therefor
JP3054630B2 (en) Digital data generator
JP3123931B2 (en) Time measuring system and time measuring method
JPH03113611A (en) Reference voltage generation circuit
US6011500A (en) Integrated circuit with a built-in D/A converter
EP0373736A2 (en) Analog to digital converter
JPH04195899A (en) Semiconductor device
JP2925443B2 (en) Electronic measuring instrument
JPH02149129A (en) Reference voltage generating circuit
JPH02149130A (en) Reference voltage generation circuit
JPH0338706A (en) Reference voltage generating circuit
JPH03102266A (en) Pulse width measurer
SU1495772A1 (en) Device for piece-linear approximation
JPS61214820A (en) Timing signal generator
JPS61109325A (en) Analog-digital converter
JPH0517604Y2 (en)
JPH07120255B2 (en) Bit buffer circuit
SU1332530A1 (en) Device for measuring the setting time of output voltage of the digital-to-analog converter
JPS62291572A (en) Signal memory measuring apparatus
SU1233283A1 (en) Analog-to-digital converter of integral voltage characteristics
KR950010189B1 (en) Apparatus and method for generating a pulse and detecting a pulse width using counter
JPH10332785A (en) Calibration circuit
SU1328762A1 (en) Digital phase meter of instantaneous values
SU1287037A1 (en) Digital phasemeter
JPH02165727A (en) Successive comparison type a/d converter and microcomputer having the same