JPH02895B2 - - Google Patents

Info

Publication number
JPH02895B2
JPH02895B2 JP60244340A JP24434085A JPH02895B2 JP H02895 B2 JPH02895 B2 JP H02895B2 JP 60244340 A JP60244340 A JP 60244340A JP 24434085 A JP24434085 A JP 24434085A JP H02895 B2 JPH02895 B2 JP H02895B2
Authority
JP
Japan
Prior art keywords
transistor
emitter
current
collector
polarity
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.)
Expired - Lifetime
Application number
JP60244340A
Other languages
Japanese (ja)
Other versions
JPS62104321A (en
Inventor
Yasuo Taguchi
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP24434085A priority Critical patent/JPS62104321A/en
Publication of JPS62104321A publication Critical patent/JPS62104321A/en
Publication of JPH02895B2 publication Critical patent/JPH02895B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] この発明は、バイポーラ型のトランジスタによ
つて構成される積分型のA/Dコンバータに関す
る。 [発明の技術的背景] 従来、この種のA/Dコンバータは、例えば第
4図に示すように構成されている。すなわち、ア
ナログ入力電圧AVinが供給される入力端子11
には、ダイオード12のカソードが接続され、こ
のダイオード12のアノードにはダイオード13
のカソードが接続される。上記ダイオード13の
アノードには、スイツチ15の固定接点15aが
接続されるとともに、負荷抵抗14を介して電源
Vccが接続される。上記スイツチ15の可動接点
15bには、コンデンサ16の一方の電極が接続
され、このコンデンサ16の他方の電極には接地
点が接続される。また、上記スイツチ15の固定
接点15cと接地点間には、定電流源17が接続
される。上記スイツチ15の可動接点15bに
は、コンパレータ18の非反転入力端(+)が接
続され、このコンパレータ18の反転入力端
(−)には、基準電流Vref1を発生する電源19
の正極が接続される。この電源19の負極には接
地点が接続される。上記コンパレータ18の出力
端には、パルスカウンタ20の入力端が接続さ
れ、このパルスカウンタ20の出力端には演算回
路21の入力端が接続される。そして、制御回路
22の出力により、上記スイツチ15および上記
パルスカウンタ20、演算回路21が制御される
とともに、上記パルスカウンタ20にクロツク信
号φが供給され、上記演算回路21からデイジタ
ル出力Doutを得るようになつている。 なお、上記ダイオード12,13は、アナログ
入力電圧AVinが0Vの時、コンデンサ16をその
順方向降下電圧のレベルに充電することにより、
コンデンサ16の放電電圧の線形性の高い領域の
み利用して高精度化を図るものである。 次に、上記のような構成において動作を説明す
る。まず、制御回路22の出力によりスイツチ
5が制御され、可動接点15bが固定接点15a
に接続されると、コンデンサ16がアナログ入力
電圧AVinに対応した電圧に充電される。この
時、コンデンサ16には、ダイオード12,13
の順方向降下電圧分が重畳された電圧が印加され
る。上記コンデンサ16の充電電圧が電源19の
基準電圧Vref1より高くなると、コンパレータ
18の出力がハイ(“H”)レベルとなる。次に、
制御回路22の出力によりスイツチ15が制御さ
れ、可動接点15bが固定接点15cに接続され
る。これによつてコンデンサ16の充電電圧が定
電流源17により放電されるとともに、パルスカ
ウンタ20によるクロツク信号φの計数動作が開
始される。そして、上記コンデンサ16の充電電
圧が基準電圧Vref1より低くなると、コンパレ
ータ18の出力が“H”レベルからロー(“L”)
レベルに変化する。この変化を捕えてパルスカウ
ンタ20の計数動作が停止される。次に、上記パ
ルスカウンタ20の計数値を演算回路21に供給
し、この演算回路21により所定の演算を行なつ
てデイジタル出力Doutを得る。以下、上述した
動作を順次繰り返すことにより、アナログ入力電
圧AVinをA/D変換したデイジタル出力Doutを
得る。 [背景技術の問題点] しかし、上記のような構成では、アナログ入力
電圧AVinが負電圧の場合には、コンパレータ1
8の出力が“H”レベルとなることがなく、コン
パレータ18の出力が“H”レベルから“L”レ
ベルに変化する瞬間を捕えて計数動作を制御する
ようなカウンタ(例えば1チツプマイクロコンピ
ユータに内蔵されている簡素なカウンタ)では正
常な計数動作ができない欠点がある。 [発明の目的] この発明は、上記のような事情に鑑みてなされ
たもので、その目的とするところは、アナログ入
力電圧が所定値以下で計測できない領域において
もコンパレータの出力信号をカウンタの計数開始
より遅らせてハイレベルからローレベルに変化さ
せ、パルスカウンタの計数動作が異常とならない
ようにするとともに、正常なアナログ入力電圧の
場合に最少限の構成素子数で高精度なA/D変換
が行なえるA/Dコンバータを提供することであ
る。 [発明の概要] すなわち、この発明においては、上記の目的を
達成するために、アナログ入力電圧が所定の値よ
り低い際に、コンデンサを検出可能な最低レベル
よりも高い電位に充電するためのクランプ回路を
設けたものである。また、回路を構成する素子を
共用することにより素子数が削減でき、高集積化
に好適なA/Dコンバータを提供することであ
る。 [発明の実施例] 以下、この発明の一実施例について図面を参照
して説明する。第1図において、前記第4図と同
一構成部には同じ符号を付す。第1図に示すA/
Dコンバータは、3つの入力端子23,11およ
び24を有しており、入力端子23には例えば
0V、入力端子11にはアナログ入力電圧AVin、
入力端子24には例えば5Vがそれぞれ印加され
るようになつている。そして、0Vと5Vの各入力
電圧を基準としてアナログ入力電圧AVinのA/
D変換を行なうことにより、変換精度の高精度化
を図つている。上記各入力端子23,11,24
にはそれぞれ、コレクタが接地されたPNP型の
バイポーラトランジスタ25,26,27のベー
スが接続される。これらトランジスタ25,2
6,27のエミツタにはそれぞれ、定電流源2
8,29,30が接続されるとともに、コレクタ
が接地されたPNP型のバイポーラトランジスタ
31,32,33のベースが接続される。上記各
トランジスタ31,32,33のエミツタと接地
点間には、制御回路22からのスイツチ制御信号
S1,S2,S3でオン/オフ制御されるスイツ
チ34,35,36が接続される。また、上記ト
ランジスタ31,32,33のエミツタにはそれ
ぞれ、定電流源37,38,39が接続されると
ともに、NPN型のバイポーラトランジスタ40,
41,42のベースが接続される。上記各トラン
ジスタ40,41,42の各コレクタおよび各エ
ミツタはそれぞれ共通接続されており、これらコ
レクタ接続点およびエミツタ接続点には、NPN
型のバイポーラトランジスタ43のコレクタおよ
びエミツタが各々接続される。このトランジスタ
43のベースには、基準電圧Vref2を発生する
電源44の正極が接続される。上記トランジスタ
43と電源44は、クランプ回路を構成してお
り、基準電圧Vref2は、「Vref1<Vref2<
ΔVBE」なる電圧に設定されている。なお、ΔVBE
は測定すべき最小電圧で電されるコンデンサ16
の電圧である。上記トランジスタ43のエミツタ
には、コレクタ、ベース間が接続されたNPN型
のバイポーラトランジスタ45のエミツタが接続
される。上記トランジスタ43,45のエミツタ
共通接続点と接地点間には、定電流源46および
上記制御回路22からのスイツチ制御信号S4で
オン/オフ制御されるスイツチ47が接続され
る。また、上記トランジスタ43,45のコレク
タと電源Vcc間にはそれぞれ、カレントミラー回
路を構成するNPN型のバイポーラトランジスタ
48,49のコレクタ、エミツタがそれぞれ接続
される。上記トランジスタ48,49のベースは
共通接続され、このベース共通接続点には上記ト
ランジスタ43のコレクタが接続される。上記ト
ランジスタ45のベースには、コンパレータ18
の非反転入力端(+)が接続され、この非反転入
力端(+)と接地点間にはコンデンサ16が接続
されるとともに、定電流源17、上記制御回路2
2からのスイツチ制御信号S5でオン/オフ制御
されるスイツチ50が直列接続される。上記コン
パレータ18の反転入力端(−)には、基準電圧
Vref1を発生する電源19の正極が接続され、
この電源19の負極には接地点が接続される。上
記コンパレータ18の出力端には、パルスカウン
タ20の入力端が接続され、このパルスカウンタ
20の出力端には演算回路21の入力端が接続さ
れる。この演算回路21には、上記パルスカウン
タ20から出力される計数値を記憶するためのメ
モリが設けられている。そして、制御回路22の
出力により、上記スイツチ34,35,36,4
7,50および上記パルスカウンタ20、演算回
路21が制御されるとともに、上記パルスカウン
タ20にクロツク信号φが供給される。そして、
上記演算回路21からアナログ入力電圧AVinを
A/D変換したデイジタル出力Doutを得るよう
にして成る。なお、上記トランジスタ45,4
8,49、定電流源46、及びスイツチ47は、
トランジスタ40〜43で共用されている。 次に、上記のような構成において第2図のタイ
ミングチヤートを参照しつつ動作を説明する。時
刻t1にスイツチ制御信号S1,S5が“L”レベ
ル、スイツチ制御信号S4が“H”レベルとなる
(この時、スイツチ制御信号S2,S3は“H”
レベルが維持される)と、スイツチ34,50が
オフ状態、スイツチ35,36,47がオン状態
となり、コンデンサ16へ入力端子23に印加さ
れる0Vの電圧に対応した電圧での充電が開始さ
れる。この時、トランジスタ43はオフ状態が維
持される。そして、時刻t2にコンデンサ16の充
電電圧が基準電圧Vref1より高くなると、コン
パレータ18の出力が“H”レベルとなる。次の
時刻t4に、スイツチ制御信号S1,S5が“H”
レベル、S4が“L”レベルとなると、定電流源
17によるコンデンサ16の放電が開始される。
この放電によりコンデンサ16の充電電圧が低下
し、基準電圧Vref1より低くなる時刻t4に、コ
ンパレータ18の出力が“L”レベルとなる。上
記コンデンサ16の放電が開始される時刻t4か
ら、上記コンパレータ18の出力が“H”レベル
から“L”レベルに変化する時刻t5時点で計数値
が演算回路21に供給されて記憶される。 次の時刻t5に、スイツチ制御信号S3,S5が
“L”レベル、スイツチ制御信号S4が、“H”レ
ベルとなる(この時、スイツチ制御信号S1,S
2は“H”レベルが維持される)と、スイツチ3
6,50がオフ状態、スイツチ34,35,47
がオン状態となり、コンデンサ16へ入力端子2
4に印加される5Vの電圧に対応した電圧での充
電が開始される。この時、トランジスタ43はオ
フ状態が維持される。そして、時刻t6にコンデン
サ16の充電電圧が基準電圧Vref1より高くな
ると、コンパレータ18の出力が“H”レベルと
なる。次の時刻t7に、スイツチ制御信号S3,S
5が“H”レベル、S4が“L”レベルとなる
と、定電流源17によるコンデンサ16の放電が
開始される。この放電によりコンデンサ16の充
電電圧が低下し、基準電圧Vref1より低くなる
時刻t8に、コンパレータ18の出力が“L”レベ
ルとなる。上記コンデンサ16の放電が開始され
る時刻t7から、上記コンパレータ18の出力が
“H”レベルから“L”レベルに変化する時刻t8
の時点での計数値が演算回路21に供給されて記
憶される。 次の時刻t9に、スイツチ制御信号S2,S5が
“L”レベル、スイツチ制御信号S4が“H”レ
ベルとなる(この時、スイツチ制御信号S1,S
3は“H”レベルが維持される)と、スイツチ3
5,50がオフ状態、スイツチ34,36,47
がオン状態となり、コンデンサ16へ入力端子1
1に印加されるアナログ入力電圧AVinに対応し
た電圧での充電が開始される。この時、アナログ
入力電圧AVinが正の電圧であればトランジスタ
43のオフ状態が維持され、時刻t10〜t12に上述
した入力電圧が0Vおよび5Vの場合と同様にして
上記演算回路21にパルスカウンタ20の出力を
供給し、演算回路21により所定の演算を行なつ
てデイジタル出力Doutを得る。一方、アナログ
入力電圧AVinが負電圧の場合には、トランジス
タ41がオフ状態となり、基準電圧Vref2に対
応した電圧でコンデンサ16の充電が行われる。
上記基準電圧Vref2はVref1より高いので、コ
ンデンサ16の充電電圧がVref1を越える時刻
t10にコンパレータ18の出力が“H”レベルと
なる。そして、時刻t11に、スイツチ制御信号S
2,S5が“L”レベル、S4が“H”レベルと
なると、定電流源17によるコンデンサ16の放
電が開始される。この放電によりコンデンサ16
の充電電圧がVref1より低下した時刻t12′に、コ
ンパレータ18の出力が“L”レベルとなる。従
つて、アナログ入力電圧AVinが正電圧の時は、
コンパレータ18の出力は実線で示すように時刻
t10、t12間“H”レベルとなり、負電圧の時は破
線で示すように時刻t10、t12′間“H”レベルと
なる。そして、上記コンデンサ16の放電開始か
ら上記コンパレータ18の出力が“H”レベルか
ら“L”レベルに変化するまでの期間のクロツク
信号φの数を計数して演算回路21に記憶すると
ともに、この計数値と上記演算回路21に先に記
憶された入力電圧が0Vと5Vの場合の計数値とに
基づいて所定の演算を行ないデイジタル出力
Doutを得る。この際、前述した0Vおよび5Vの入
力電圧のA/D変換データを基準とすることによ
り、アナログ入力電圧AVinのデイジタル変換出
力Doutの高精度化を図る。すなわち、入力電圧
が0Vの時に得られた計数値をT0、5Vの時に得ら
れた計数値をT5、アナログ入力電圧AVinにより
得られた計数値をTin、入力電圧24の印加電圧
をV24とした時、 Dout=Tin−T0/T5−T0×V24 とすれば良い。 従つて、このような構成によれば、アナログ入
力電圧AVinが負電圧であつても、トランジスタ
43および電源44によつてコンデンサ16の充
電電圧がコンパレータ18の反転入力端子(−)
に印加される電圧Vref1より高くなるように設
定できるので、コンパレータ18の出力はコンデ
ンサ16の放電開始後確実に“H”レベルから
“L”レベルに反転するため、1チツプマイクロ
コンピユータ等に内蔵された簡素なカウンタを使
用してA/D変換を行なうことができる。 第3図は、この発明の他の実施例を示すもの
で、前記第1図の回路よりもさらにA/D変換の
高精度化を図つたものである。第3図において、
前記第1図と同一構成部分には同じ符号を付して
その詳細な説明は省略する。すなわち、トランジ
スタ48,49のベース共通接続点にはダイオー
ド51のアノードが接続され、このダイオード5
1のカソードにはPNP型のバイポーラトランジ
スタ52のコレクタが共通接続される。上記トラ
ンジスタ52は、PNP型のバイポーラトランジ
スタ53とともにカレントミラー回路を構成して
おり、トランジスタ52,53のベース共通接続
点にはトランジスタ53のコレクタが接続され
る。上記各トランジスタ52,53のコレクタに
は前記クランプ回路を構成するトランジスタ43
およびNPN型のバイポーラトランジスタ54の
コレクタがそれぞれ接続される。上記トランジス
タ43,54のエミツタは共通接続され、このエ
ミツタ共通接続点と接地点間には、定電流源55
および制御回路22から出力されるスイツチ制御
信号S4によつてオン/オフ制御されるスイツチ
56が直列接続される。そして、上記トランジス
タ54のベースには、コンパレータ18の非反転
入力端(+)が接続されて成る。 このような構成によれば、A/D変換の精度を
さらに向上できる。すなわち、前記第1図の回路
ではアナログ入力電圧AVinが基準電圧Vref2に
近い場合、トランジスタ41,43のオン/オフ
が完全に定まらず誤差が生ずるが、第3図に示す
如くトランジスタ52,53,43,54、電源
44、定電流源55およびスイツチ56から成る
コンパレータ57を設けることにより、このコン
パレータ57の増幅作用を利用してトランジスタ
41,43のオン/オフを完全にでき、高精度化
を図れる。 [発明の効果] 以上説明したようにこの発明によれば、アナロ
グ入力電圧が所定値以下で計測できない領域にお
いてもコンパレータの出力信号をカウンタの計数
開始より遅らせてハイレベルからローレベルに変
化させ、パルスカウンタの計数動作が異常となら
ないようにするとともに、正常なアナログ入力電
圧の場合に最少限の素子数で高精度なA/D変換
が行なえるA/Dコンバータが得られる。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an integral type A/D converter constituted by bipolar transistors. [Technical Background of the Invention] Conventionally, this type of A/D converter is configured as shown in FIG. 4, for example. That is, the input terminal 11 to which the analog input voltage AVin is supplied
The cathode of the diode 12 is connected to the anode of the diode 12, and the diode 13 is connected to the anode of the diode 12.
The cathode of is connected. A fixed contact 15a of a switch 15 is connected to the anode of the diode 13, and a power supply is connected via a load resistor 14.
Vcc is connected. One electrode of a capacitor 16 is connected to the movable contact 15b of the switch 15, and the other electrode of this capacitor 16 is connected to a ground point. Further, a constant current source 17 is connected between the fixed contact 15c of the switch 15 and the ground point. The movable contact 15b of the switch 15 is connected to the non-inverting input terminal (+) of a comparator 18, and the inverting input terminal (-) of the comparator 18 is connected to a power supply 19 that generates the reference current Vref1.
The positive terminal of is connected. A ground point is connected to the negative electrode of this power source 19. The output end of the comparator 18 is connected to the input end of a pulse counter 20, and the output end of the pulse counter 20 is connected to the input end of an arithmetic circuit 21. The output of the control circuit 22 controls the switch 15 , the pulse counter 20, and the arithmetic circuit 21, and also supplies the clock signal φ to the pulse counter 20 so that the digital output Dout is obtained from the arithmetic circuit 21. It's getting old. Note that the diodes 12 and 13 charge the capacitor 16 to the level of its forward drop voltage when the analog input voltage AVin is 0V.
High accuracy is achieved by utilizing only the region where the discharge voltage of the capacitor 16 has high linearity. Next, the operation in the above configuration will be explained. First, the output of the control circuit 22 causes the switch 1 to
5 is controlled, and the movable contact 15b is the fixed contact 15a.
When connected to the analog input voltage AVin, the capacitor 16 is charged to a voltage corresponding to the analog input voltage AVin. At this time, the capacitor 16 includes diodes 12 and 13.
A voltage in which the forward direction drop voltage is superimposed is applied. When the charging voltage of the capacitor 16 becomes higher than the reference voltage Vref1 of the power supply 19, the output of the comparator 18 becomes high (“H”) level. next,
The switch 15 is controlled by the output of the control circuit 22, and the movable contact 15b is connected to the fixed contact 15c. As a result, the voltage charged in the capacitor 16 is discharged by the constant current source 17, and the pulse counter 20 starts counting the clock signal φ. When the charging voltage of the capacitor 16 becomes lower than the reference voltage Vref1, the output of the comparator 18 changes from "H" level to low ("L").
Change in level. This change is captured and the counting operation of the pulse counter 20 is stopped. Next, the count value of the pulse counter 20 is supplied to an arithmetic circuit 21, which performs a predetermined arithmetic operation to obtain a digital output Dout. Thereafter, by sequentially repeating the above-described operations, a digital output Dout obtained by A/D converting the analog input voltage AVin is obtained. [Problems in the background art] However, in the above configuration, when the analog input voltage AVin is a negative voltage, the comparator 1
A counter (for example, a one-chip microcomputer) that controls the counting operation by capturing the moment when the output of the comparator 18 changes from the "H" level to the "L" level without the output of the comparator 18 going to the "H" level. The disadvantage is that the simple built-in counter cannot perform normal counting operations. [Object of the Invention] The present invention has been made in view of the above-mentioned circumstances, and its purpose is to enable the output signal of the comparator to be counted by the counter even in a region where the analog input voltage is below a predetermined value and cannot be measured. The change from high level to low level is delayed from the start, so that the counting operation of the pulse counter does not become abnormal, and when the analog input voltage is normal, high-precision A/D conversion is possible with the minimum number of components. The purpose of the present invention is to provide an A/D converter that can perform the following steps. [Summary of the Invention] That is, in order to achieve the above object, the present invention provides a clamp for charging a capacitor to a potential higher than the lowest detectable level when the analog input voltage is lower than a predetermined value. It is equipped with a circuit. Another object of the present invention is to provide an A/D converter that can reduce the number of elements by sharing the elements constituting the circuit and is suitable for high integration. [Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In FIG. 1, the same components as those in FIG. 4 are given the same reference numerals. A/ shown in Figure 1
The D converter has three input terminals 23, 11 and 24, and the input terminal 23 has, for example,
0V, input terminal 11 has analog input voltage AVin,
For example, 5V is applied to each input terminal 24. Then, the analog input voltage AVin is A/
By performing D conversion, the conversion accuracy is improved. Each of the above input terminals 23, 11, 24
The bases of PNP-type bipolar transistors 25, 26, and 27 whose collectors are grounded are respectively connected to. These transistors 25, 2
Constant current source 2 is connected to emitters 6 and 27, respectively.
8, 29, and 30 are connected, and the bases of PNP type bipolar transistors 31, 32, and 33 whose collectors are grounded are also connected. Switches 34, 35, and 36 are connected between the emitters of each of the transistors 31, 32, and 33 and the ground point, and are controlled on/off by switch control signals S1, S2, and S3 from the control circuit 22. Further, constant current sources 37, 38, 39 are connected to the emitters of the transistors 31, 32, 33, respectively, and NPN type bipolar transistors 40,
41 and 42 bases are connected. The collectors and emitters of each of the transistors 40, 41, and 42 are connected in common, and the collector connection point and emitter connection point have NPN
The collector and emitter of a type bipolar transistor 43 are connected to each other. The base of this transistor 43 is connected to the positive pole of a power supply 44 that generates a reference voltage Vref2. The transistor 43 and the power supply 44 constitute a clamp circuit, and the reference voltage Vref2 is expressed as "Vref1<Vref2<
The voltage is set to ΔVBE . In addition, ΔV BE
is the capacitor 16 powered by the minimum voltage to be measured.
voltage. The emitter of the transistor 43 is connected to the emitter of an NPN bipolar transistor 45 whose collector and base are connected. A switch 47 controlled on/off by a constant current source 46 and a switch control signal S4 from the control circuit 22 is connected between the common emitter connection point of the transistors 43 and 45 and the ground point. Further, the collectors and emitters of NPN type bipolar transistors 48 and 49 constituting a current mirror circuit are connected between the collectors of the transistors 43 and 45 and the power supply Vcc, respectively. The bases of the transistors 48 and 49 are commonly connected, and the collector of the transistor 43 is connected to this base common connection point. A comparator 18 is connected to the base of the transistor 45.
The non-inverting input terminal (+) of is connected, and a capacitor 16 is connected between this non-inverting input terminal (+) and the ground point, and a constant current source 17 and the control circuit 2
Switches 50, which are controlled on/off by a switch control signal S5 from the switch 2, are connected in series. The inverting input terminal (-) of the comparator 18 has a reference voltage
The positive terminal of the power supply 19 that generates Vref1 is connected,
A ground point is connected to the negative electrode of this power source 19. The output end of the comparator 18 is connected to the input end of a pulse counter 20, and the output end of the pulse counter 20 is connected to the input end of an arithmetic circuit 21. This arithmetic circuit 21 is provided with a memory for storing the count output from the pulse counter 20. Then, the output of the control circuit 22 causes the switches 34, 35, 36, 4 to
7, 50, the pulse counter 20, and the arithmetic circuit 21 are controlled, and the pulse counter 20 is supplied with a clock signal φ. and,
The arithmetic circuit 21 obtains a digital output Dout obtained by A/D converting the analog input voltage AVin. Note that the transistors 45, 4
8, 49, constant current source 46, and switch 47,
It is shared by transistors 40 to 43. Next, the operation of the above-described configuration will be explained with reference to the timing chart shown in FIG. At time t1, switch control signals S1 and S5 become "L" level, and switch control signal S4 becomes "H" level (at this time, switch control signals S2, S3 become "H" level).
level is maintained), switches 34 and 50 are turned off, switches 35, 36, and 47 are turned on, and charging of the capacitor 16 with a voltage corresponding to the 0V voltage applied to the input terminal 23 is started. Ru. At this time, the transistor 43 is maintained in an off state. Then, when the charging voltage of the capacitor 16 becomes higher than the reference voltage Vref1 at time t2, the output of the comparator 18 becomes "H" level. At the next time t4, switch control signals S1 and S5 go “H”
When the level S4 becomes "L" level, the constant current source 17 starts discharging the capacitor 16.
Due to this discharge, the charging voltage of the capacitor 16 decreases, and at time t4, when the voltage becomes lower than the reference voltage Vref1, the output of the comparator 18 becomes "L" level. From time t4 when the capacitor 16 starts discharging, to time t5 when the output of the comparator 18 changes from the "H" level to the "L" level, the count value is supplied to the arithmetic circuit 21 and stored. At the next time t5, the switch control signals S3 and S5 become "L" level, and the switch control signal S4 becomes "H" level (at this time, the switch control signals S1, S5 become "H" level).
2 is maintained at “H” level) and switch 3
6, 50 are off, switches 34, 35, 47
turns on, and the input terminal 2 to the capacitor 16
Charging is started at a voltage corresponding to the 5V voltage applied to 4. At this time, the transistor 43 is maintained in an off state. Then, at time t6, when the charging voltage of the capacitor 16 becomes higher than the reference voltage Vref1, the output of the comparator 18 becomes "H" level. At the next time t7, switch control signals S3, S
5 becomes the "H" level and S4 becomes the "L" level, the constant current source 17 starts discharging the capacitor 16. Due to this discharge, the charging voltage of the capacitor 16 decreases, and at time t8, when it becomes lower than the reference voltage Vref1, the output of the comparator 18 becomes "L" level. From time t7 when the capacitor 16 starts discharging, to time t8 when the output of the comparator 18 changes from "H" level to "L" level.
The count value at the time point is supplied to the arithmetic circuit 21 and stored. At the next time t9, the switch control signals S2 and S5 become "L" level and the switch control signal S4 becomes "H" level (at this time, the switch control signals S1, S
3 is maintained at “H” level) and switch 3
5, 50 are off, switches 34, 36, 47
turns on, and input terminal 1 to capacitor 16
Charging with a voltage corresponding to the analog input voltage AVin applied to 1 is started. At this time, if the analog input voltage AVin is a positive voltage, the off state of the transistor 43 is maintained, and from time t10 to t12, the pulse counter 20 The arithmetic circuit 21 performs a predetermined arithmetic operation to obtain a digital output Dout. On the other hand, when the analog input voltage AVin is a negative voltage, the transistor 41 is turned off, and the capacitor 16 is charged with a voltage corresponding to the reference voltage Vref2.
Since the above reference voltage Vref2 is higher than Vref1, the time when the charging voltage of the capacitor 16 exceeds Vref1
At t10, the output of the comparator 18 becomes "H" level. Then, at time t11, the switch control signal S
2. When S5 becomes "L" level and S4 becomes "H" level, the constant current source 17 starts discharging the capacitor 16. This discharge causes capacitor 16
At time t12' when the charging voltage of Vref1 becomes lower than Vref1, the output of the comparator 18 becomes "L" level. Therefore, when the analog input voltage AVin is a positive voltage,
The output of the comparator 18 is the time as shown by the solid line.
It is at "H" level between t10 and t12, and when the voltage is negative, it is at "H" level between times t10 and t12' as shown by the broken line. Then, the number of clock signals φ during the period from the start of discharging of the capacitor 16 until the output of the comparator 18 changes from the "H" level to the "L" level is counted and stored in the arithmetic circuit 21. A predetermined calculation is performed based on the numerical value and the count value previously stored in the calculation circuit 21 when the input voltage is 0V and 5V, and a digital output is generated.
Get Dout. At this time, by using the A/D conversion data of the input voltages of 0V and 5V as a reference, high precision of the digital conversion output Dout of the analog input voltage AVin is achieved. That is, the count value obtained when the input voltage is 0V is T0, the count value obtained when it is 5V is T5, the count value obtained with the analog input voltage AVin is Tin, and the applied voltage of input voltage 24 is V24 . Then, Dout=Tin−T0/T5−T0×V 24 . Therefore, according to such a configuration, even if the analog input voltage AVin is a negative voltage, the charging voltage of the capacitor 16 is changed to the inverting input terminal (-) of the comparator 18 by the transistor 43 and the power supply 44.
Since the voltage applied to the capacitor 18 can be set to be higher than the voltage Vref1, the output of the comparator 18 is reliably inverted from the "H" level to the "L" level after the capacitor 16 starts discharging. A/D conversion can be performed using a simple counter. FIG. 3 shows another embodiment of the present invention, in which the A/D conversion is made more precise than the circuit shown in FIG. 1. In Figure 3,
Components that are the same as those in FIG. 1 are designated by the same reference numerals, and detailed explanation thereof will be omitted. That is, the anode of a diode 51 is connected to the common connection point of the bases of the transistors 48 and 49.
The collectors of PNP type bipolar transistors 52 are commonly connected to the cathodes of the transistors 1 and 1. The transistor 52 constitutes a current mirror circuit together with a PNP type bipolar transistor 53, and the collector of the transistor 53 is connected to the base common connection point of the transistors 52 and 53. A transistor 43 constituting the clamp circuit is connected to the collector of each of the transistors 52 and 53.
and the collectors of an NPN type bipolar transistor 54 are connected to each other. The emitters of the transistors 43 and 54 are commonly connected, and a constant current source 55 is connected between the emitter common connection point and the ground point.
A switch 56, which is controlled on/off by a switch control signal S4 outputted from the control circuit 22, is connected in series. The base of the transistor 54 is connected to the non-inverting input terminal (+) of the comparator 18. According to such a configuration, the accuracy of A/D conversion can be further improved. That is, in the circuit shown in FIG. 1, when the analog input voltage AVin is close to the reference voltage Vref2, the on/off status of the transistors 41 and 43 is not completely determined and an error occurs, but as shown in FIG. 3, the transistors 52, 53, By providing a comparator 57 consisting of 43, 54, a power supply 44, a constant current source 55, and a switch 56, the transistors 41, 43 can be turned on/off completely by utilizing the amplification effect of the comparator 57 , resulting in high precision. I can figure it out. [Effects of the Invention] As explained above, according to the present invention, even in a region where the analog input voltage is below a predetermined value and cannot be measured, the output signal of the comparator is changed from high level to low level with a delay from the start of counting of the counter, It is possible to obtain an A/D converter that prevents the counting operation of a pulse counter from becoming abnormal and that can perform highly accurate A/D conversion with a minimum number of elements in the case of a normal analog input voltage.

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

第1図はこの発明の一実施例に係わるA/Dコ
ンバータを示す回路図、第2図は上記第1図の回
路の動作を説明するためのタイミングチヤート、
第3図はこの発明の他の実施例について説明する
ための回路図、第4図は従来のA/Dコンバータ
について説明するための回路図である。 16……コンデンサ、AVin……アナログ入力
電圧、Vref1……第1の基準電圧、18……コ
ンパレータ(比較手段)、20……パルスカウン
タ(計時手段)、21……演算回路(演算手段)、
Vref2……第2の基準電圧。
FIG. 1 is a circuit diagram showing an A/D converter according to an embodiment of the present invention, and FIG. 2 is a timing chart for explaining the operation of the circuit shown in FIG. 1.
FIG. 3 is a circuit diagram for explaining another embodiment of the present invention, and FIG. 4 is a circuit diagram for explaining a conventional A/D converter. 16... Capacitor, AVin... Analog input voltage, Vref1... First reference voltage, 18... Comparator (comparison means), 20... Pulse counter (timekeeping means), 21... Arithmetic circuit (arithmetic means),
Vref2...Second reference voltage.

Claims (1)

【特許請求の範囲】 1 ベースにアナログ入力電圧に対応した電流が
供給され、コレクタが第1の電位供給源に接続さ
れる第1極性の第1のトランジスタと、上記第1
のトランジスタのエミツタに電流を供給する第1
の電流供給手段と、上記第1のトランジスタのエ
ミツタと上記第1の電位供給源間に接続される第
1のスイツチ手段と、ベースが上記第1のトラン
ジスタのエミツタに接続される第2極性の第2の
トランジスタと、エミツタが上記第2のトランジ
スタのエミツタに、コレクタが上記第2のトラン
ジスタのコレクタにそれぞれ接続される第2極性
の第3のトランジスタと、上記第3のトランジス
タのベースに第1の基準電圧を与える基準電圧発
生手段と、ベースにA/D変換の際の基準となる
第1の入力電圧に対応した電流が供給され、コレ
クタが上記第1の電位供給源に接続される第1極
性の第4のトランジスタと、上記第4のトランジ
スタのエミツタに電流を供給する第2の電流供給
手段と、上記第4のトランジスタのエミツタと上
記第1の電位供給源間に接続される第2のスイツ
チ手段と、ベースが上記第4のトランジスタのエ
ミツタに接続され、コレクタが上記第3のトラン
ジスタのコレクタに、エミツタが上記第3のトラ
ンジスタのエミツタにそれぞれ接続される第2極
性の第5のトランジスタと、ベースにA/D変換
の際の基準となる第2の入力電圧に対応した電流
が供給され、コレクタが上記第1の電位供給源に
接続される第1極性の第6のトランジスタと、上
記第6のトランジスタのエミツタに電流を供給す
る第3の電流供給手段と、上記第6のトランジス
タのエミツタと上記第1の電位供給源間に接続さ
れる第3のスイツチ手段と、ベースが上記第6の
トランジスタのエミツタに接続され、コレクタが
上記第3のトランジスタのコレクタに、エミツタ
が上記第3のトランジスタのエミツタにそれぞれ
接続される第2極性の第7のトランジスタと、コ
レクタとベースが共通接続され、エミツタが上記
第3のトランジスタのエミツタに接続される第2
極性の第8のトランジスタと、上記第2、第3、
第5、第7及び第8のトランジスタのコレクタに
それぞれ第2の電位供給源から電流を供給するカ
レントミラー回路と、上記第3及び第8のトラン
ジスタのエミツタ共通接続点に一端が接続される
第1の電流源と、上記第1の電流源の他端と上記
第1の電位供給源間に設けられる第4のスイツチ
手段と、上記第8のトランジスタのベースと上記
第1の電位供給源との間に接続されるコンデンサ
と、上記第8のトランジスタのベースに一端が接
続される第2の電流源と、上記第2の電流源の他
端と上記第1の電位供給源との間に設けられる第
5のスイツチ手段と、上記コンデンサの充電電圧
と第2の基準電圧とを比較する比較手段と、上記
比較手段の出力に基づいて上記コンデンサの放電
開始から上記コンデンサの充電電圧が上記第2の
基準電圧に低下するまでの時間を計時する計時手
段と、この計時手段の出力に基づいてデイジタル
信号を得る演算手段と、上記第1乃至第5のスイ
ツチ手段、計時手段、及び演算手段を制御する制
御手段とを具備し、上記第1、第2の入力電圧の
A/D変換値に基づいてアナログ入力電圧のA/
D変換値を得、上記第1の基準電圧は上記第2の
基準電圧よりも高く、且つ上記第1、第2の入力
電圧のうち低い方の入力電圧で充電された上記コ
ンデンサの電圧よりも低いことを特徴とするA/
Dコンバータ。 2 ベースにアナログ入力電圧に対応した電流が
供給され、コレクタが第1の電位供給源に接続さ
れる第1極性の第1のトランジスタと、上記第1
のトランジスタのエミツタに電流を供給する第1
の電流供給手段と、上記第1のトランジスタのエ
ミツタと上記第1の電位供給源間に接続される第
1のスイツチ手段と、ベースが上記第1のトラン
ジスタのエミツタに接続される第2極性の第2の
トランジスタと、ベースにA/D変換の際の基準
となる第1の入力電圧に対応した電流が供給さ
れ、コレクタが上記第1の電位供給源に接続され
る第1極性の第3のトランジスタと、上記第3の
トランジスタのエミツタに電流を供給する第2の
電流供給手段と、上記第3のトランジスタのエミ
ツタと上記第1の電位供給源間に接続される第2
のスイツチ手段と、ベースが上記第3のトランジ
スタのエミツタに接続され、コレクタが上記第2
のトランジスタのコレクタに、エミツタが上記第
2のトランジスタのエミツタにそれぞれ接続され
る第2極性の第4のトランジスタと、ベースに
A/D変換の際の基準となる第2の入力電圧に対
応した電流が供給され、コレクタが上記第1の電
位供給源に接続される第1極性の第5のトランジ
スタと、上記第5のトランジスタのエミツタに電
流を供給する第3の電流供給手段と、上記第5の
トランジスタのエミツタと上記第1の電位供給源
間に接続される第3のスイツチ手段と、ベースが
上記第5のトランジスタのエミツタに接続され、
コレクタが上記第2のトランジスタのコレクタ
に、エミツタが上記第2のトランジスタのエミツ
タにそれぞれ接続される第2極性の第6のトラン
ジスタと、コレクタとベースが共通接続され、エ
ミツタが上記第2のトランジスタのエミツタに接
続される第2極性の第7のトランジスタと、上記
第2、第4、第6及び第7のトランジスタのコレ
クタにそれぞれ第2の電位供給源から電流を供給
する第1のカレントミラー回路と、上記第2、第
4、第6及び第7のトランジスタのエミツタ共通
接続点に一端が接続される第1の電流源と、上記
第1の電流源の他端と上記第1の電位供給源間に
設けられる第4のスイツチ手段と、第1の基準電
圧を出力する基準電圧発生手段と、上記基準電圧
発生手段の出力端がベースに接続される第2極性
の第8のトランジスタと、エミツタが上記第8の
トランジスタのエミツタと共通接続され、ベース
が上記第7のトランジスタのベース及びコレクタ
に接続される第2極性の第9のトランジスタと、
上記第8及び第9トランジスタのコレクタにそれ
ぞれ第2の電位供給源から電流を供給する第2の
カレントミラー回路と、アノードが上記第1のカ
レントミラー回路の一方の出力端に接続され、カ
ソードが上記第8のトランジスタのコレクタに接
続されるダイオードと、上記第8、第9トランジ
スタのエミツタ共通接続点に一端が接続される第
2の電流源と、上記第2の電流源の他端と上記第
1の電位供給源間に設けられる第5のスイツチ手
段と、上記第7のトランジスタのベースと上記第
1の電位供給源との間に接続されるコンデンサ
と、上記第7のトランジスタのベースに一端が接
続される第3の電流源と、上記第3の電流源の他
端と上記第1の電位供給源との間に設けられる第
6のスイツチ手段と、上記コンデンサの充電電圧
と第2の基準電圧とを比較する比較手段と、上記
比較手段の出力に基づいて上記コンデンサの放電
開始から上記コンデンサの充電電圧が上記第2の
基準電圧に低下するまでの時間を計時する計時手
段と、この計時手段の出力に基づいてデイジタル
信号を得る演算手段と、上記第1乃至第6のスイ
ツチ手段、計時手段及び演算手段を制御する制御
手段とを具備し、上記第1、第2の入力電圧の
A/D変換値に基づいてアナログ入力電圧のA/
D変換値を得、上記第1の基準電圧は上記第2の
基準電圧よりも高く、且つ上記第1、第2の入力
電圧のうち低い方の入力電圧で充電された上記コ
ンデンサの電圧よりも低いことを特徴とするA/
Dコンバータ。
[Claims] 1: a first transistor of a first polarity, whose base is supplied with a current corresponding to an analog input voltage and whose collector is connected to a first potential supply source;
The first transistor supplies current to the emitter of the transistor.
current supply means, a first switch means connected between the emitter of the first transistor and the first potential supply source, and a second polarity switch means, the base of which is connected to the emitter of the first transistor. a second transistor, a third transistor of a second polarity, the emitter of which is connected to the emitter of the second transistor, and the collector of which is connected to the collector of the second transistor; a reference voltage generating means for providing a reference voltage of 1; a base is supplied with a current corresponding to a first input voltage serving as a reference during A/D conversion; and a collector is connected to the first potential supply source. a fourth transistor of a first polarity; a second current supply means for supplying current to the emitter of the fourth transistor; and a fourth transistor connected between the emitter of the fourth transistor and the first potential supply source. a second switching means; a second polarity transistor having a base connected to the emitter of the fourth transistor, a collector connected to the collector of the third transistor, and an emitter connected to the emitter of the third transistor; a sixth transistor of first polarity, the base of which is supplied with a current corresponding to a second input voltage serving as a reference for A/D conversion, and the collector of which is connected to the first potential supply source; a transistor, a third current supply means for supplying current to the emitter of the sixth transistor, and a third switch means connected between the emitter of the sixth transistor and the first potential supply source; a seventh transistor of second polarity, the base of which is connected to the emitter of the sixth transistor, the collector of which is connected to the collector of the third transistor, and the emitter of which is connected to the emitter of the third transistor; a second transistor whose bases are commonly connected and whose emitters are connected to the emitters of the third transistor;
an eighth transistor of polarity, and the second, third,
a current mirror circuit that supplies current from a second potential supply source to the collectors of the fifth, seventh, and eighth transistors; and a current mirror circuit that has one end connected to the common emitter connection point of the third and eighth transistors. a fourth switch means provided between the other end of the first current source and the first potential supply source; a base of the eighth transistor and the first potential supply source; a second current source having one end connected to the base of the eighth transistor; and between the other end of the second current source and the first potential supply source. a fifth switch means provided; a comparison means for comparing the charging voltage of the capacitor with a second reference voltage; and a comparison means for comparing the charging voltage of the capacitor with a second reference voltage; a clock means for measuring the time until the voltage drops to the reference voltage No. 2; a calculation means for obtaining a digital signal based on the output of the clock means; and the first to fifth switch means, the clock means, and the calculation means. A/D control means for controlling the analog input voltage based on the A/D conversion values of the first and second input voltages.
A D conversion value is obtained, and the first reference voltage is higher than the second reference voltage, and is lower than the voltage of the capacitor charged with the lower input voltage of the first and second input voltages. A/ characterized by low
D converter. 2 a first transistor of a first polarity whose base is supplied with a current corresponding to an analog input voltage and whose collector is connected to a first potential supply source;
The first transistor supplies current to the emitter of the transistor.
current supply means, a first switch means connected between the emitter of the first transistor and the first potential supply source, and a second polarity switch means, the base of which is connected to the emitter of the first transistor. a third transistor of a first polarity, the base of which is supplied with a current corresponding to a first input voltage serving as a reference for A/D conversion, and the collector of which is connected to the first potential supply source; a second current supply means for supplying current to the emitter of the third transistor; and a second current supply means connected between the emitter of the third transistor and the first potential supply source.
switching means, the base of which is connected to the emitter of the third transistor, and the collector of which is connected to the emitter of the third transistor;
A fourth transistor of a second polarity whose emitter is connected to the emitter of the second transistor is connected to the collector of the transistor, and a fourth transistor of a second polarity whose emitter is connected to the emitter of the second transistor is connected to the collector of the transistor. a fifth transistor of a first polarity to which a current is supplied and whose collector is connected to the first potential supply source; a third current supply means for supplying current to the emitter of the fifth transistor; a third switch means connected between the emitter of the fifth transistor and the first potential supply source; a third switch means having a base connected to the emitter of the fifth transistor;
a sixth transistor of a second polarity, the collector of which is connected to the collector of the second transistor, and the emitter of which is connected to the emitter of the second transistor; a seventh transistor of a second polarity connected to the emitter of the transistor, and a first current mirror that supplies current from a second potential supply source to the collectors of the second, fourth, sixth, and seventh transistors, respectively. a circuit, a first current source having one end connected to a common emitter connection point of the second, fourth, sixth and seventh transistors, and the other end of the first current source and the first potential; a fourth switching means provided between the supply sources; a reference voltage generating means for outputting the first reference voltage; and an eighth transistor of a second polarity, the output terminal of the reference voltage generating means being connected to the base. , a ninth transistor of a second polarity whose emitter is commonly connected to the emitter of the eighth transistor and whose base is connected to the base and collector of the seventh transistor;
a second current mirror circuit that supplies current from a second potential supply source to the collectors of the eighth and ninth transistors; the anode is connected to one output end of the first current mirror circuit; the cathode is a diode connected to the collector of the eighth transistor; a second current source having one end connected to a common emitter connection point of the eighth and ninth transistors; a fifth switch means provided between the first potential supply source; a capacitor connected between the base of the seventh transistor and the first potential supply source; a third current source to which one end is connected; a sixth switch means provided between the other end of the third current source and the first potential supply source; a comparison means for comparing the voltage with a reference voltage of the second reference voltage, and a timer for measuring the time from the start of discharging of the capacitor until the charging voltage of the capacitor decreases to the second reference voltage based on the output of the comparison means; A calculation means for obtaining a digital signal based on the output of the time measurement means, and a control means for controlling the first to sixth switch means, the time measurement means, and the calculation means, the control means for controlling the first to second input voltages. The A/D conversion value of the analog input voltage is based on the A/D conversion value of
A D conversion value is obtained, and the first reference voltage is higher than the second reference voltage, and is lower than the voltage of the capacitor charged with the lower input voltage of the first and second input voltages. A/ characterized by low
D converter.
JP24434085A 1985-10-31 1985-10-31 A/d converter Granted JPS62104321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24434085A JPS62104321A (en) 1985-10-31 1985-10-31 A/d converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24434085A JPS62104321A (en) 1985-10-31 1985-10-31 A/d converter

Publications (2)

Publication Number Publication Date
JPS62104321A JPS62104321A (en) 1987-05-14
JPH02895B2 true JPH02895B2 (en) 1990-01-09

Family

ID=17117249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24434085A Granted JPS62104321A (en) 1985-10-31 1985-10-31 A/d converter

Country Status (1)

Country Link
JP (1) JPS62104321A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53116065A (en) * 1977-03-22 1978-10-11 Hitachi Ltd A/d converting circuit
JPS5448470A (en) * 1977-08-29 1979-04-17 Hitachi Ltd A/d conversion circuit
JPS6037829A (en) * 1983-08-10 1985-02-27 Fujitsu Ten Ltd Analog-digital converter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53116065A (en) * 1977-03-22 1978-10-11 Hitachi Ltd A/d converting circuit
JPS5448470A (en) * 1977-08-29 1979-04-17 Hitachi Ltd A/d conversion circuit
JPS6037829A (en) * 1983-08-10 1985-02-27 Fujitsu Ten Ltd Analog-digital converter

Also Published As

Publication number Publication date
JPS62104321A (en) 1987-05-14

Similar Documents

Publication Publication Date Title
JPH0420238B2 (en)
US4163193A (en) Battery voltage detecting apparatus for an electronic timepiece
JP2002107428A (en) Current/frequency converter and chargeable battery and chargeable battery pack having the same built-in
JPH02895B2 (en)
JP3019353B2 (en) Charging device
JPS5914739Y2 (en) Digital display circuit in light meter
US4939519A (en) Apparatus for method and a high precision analog-to-digital converter
JP3036756B2 (en) Oscillation circuit
JP2717829B2 (en) Timer device
JPH0427516B2 (en)
JP2009229165A (en) Coulomb counter, and its internal power supply control method
JPH11163725A (en) Sampling a/d converter
JPH0241954Y2 (en)
JPH0145250B2 (en)
JPS62614B2 (en)
JPH057778Y2 (en)
JPH08214467A (en) Secondary battery charging circuit
JPS6149856B2 (en)
JPH0526825Y2 (en)
JPS6218991Y2 (en)
JP3036280B2 (en) Timer circuit
JPH03220913A (en) Electronic comparator device
JPS6236408B2 (en)
JPH0648434Y2 (en) Voltage-pulse width converter
JPH044285Y2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term