Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3081387B2 - Successive approximation type AD converter - Google Patents
[go: Go Back, main page]

JP3081387B2 - Successive approximation type AD converter - Google Patents

Successive approximation type AD converter

Info

Publication number
JP3081387B2
JP3081387B2 JP04270258A JP27025892A JP3081387B2 JP 3081387 B2 JP3081387 B2 JP 3081387B2 JP 04270258 A JP04270258 A JP 04270258A JP 27025892 A JP27025892 A JP 27025892A JP 3081387 B2 JP3081387 B2 JP 3081387B2
Authority
JP
Japan
Prior art keywords
charging
circuit
signal
duty
analog signal
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 - Fee Related
Application number
JP04270258A
Other languages
Japanese (ja)
Other versions
JPH06120828A (en
Inventor
正明 佐藤
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP04270258A priority Critical patent/JP3081387B2/en
Publication of JPH06120828A publication Critical patent/JPH06120828A/en
Application granted granted Critical
Publication of JP3081387B2 publication Critical patent/JP3081387B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、逐次比較型ADコンバ
ータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a successive approximation type AD converter.

【0002】[0002]

【従来の技術】電子機器、産業機器等に内蔵されるマイ
クロコンピュータは機器動作を制御する為に、機器が或
る状態にある時のデータを取り込んで所定の演算処理を
施し、この時の演算データを用いて機器をシーケンシャ
ルに動作させる様な制御を繰り返し行っている。ここ
で、マイクロコンピュータでの演算処理は2進数の状態
で行うのが常識であり、この為、デジタル信号を取り込
んで演算処理を行う場合は何ら問題ないが、アナログ信
号を取り込んで演算処理を行う場合は、入力ポートとC
PU(演算処理部)との間にアナログ信号をデジタル信
号に変換する所謂ADコンバータを内蔵することが必要
となる。
2. Description of the Related Art In order to control the operation of a device, a microcomputer incorporated in an electronic device, an industrial device, or the like fetches data when the device is in a certain state and performs predetermined arithmetic processing. The control to operate the equipment sequentially using the data is repeatedly performed. Here, it is common sense that the arithmetic processing by the microcomputer is performed in a binary number state. Therefore, there is no problem in performing the arithmetic processing by capturing a digital signal. However, the arithmetic processing is performed by capturing an analog signal. If input port and C
It is necessary to incorporate a so-called AD converter that converts an analog signal into a digital signal between the PU and a processing unit (PU).

【0003】ところで、ADコンバータには逐次比較
型、一括比較型等の種類があり、更に逐次比較型の中に
はラダー抵抗を用いるタイプ、積分器を用いるタイプ等
がある。以下、後者の積分器を用いた逐次比較型ADコ
ンバータについて簡単に説明する。例えば、アナログ信
号をnビットのデジタル信号に変換する場合、2n種類
のデューティ波形を発生できるPWM信号発生器、電圧
Vddをデューティに応じて積分する積分器、アナログ信
号及び積分電圧を比較する比較器、を備えて成る。初め
にデューティ50%(ハイレベル50%)のPWM信号
を積分し、アナログ信号及び積分電圧Vdd/2の比較を
行う。例えばアナログ信号が積分電圧Vdd/2より大き
い場合、「1」の比較結果をnビットレジスタの最上位
ビットに保持させる。次に、アナログ信号が(Vdd/2
〜Vdd)の間にあることが判明した為、デューティ75
%(ハイレベル75%)のPWM信号を積分し、アナロ
グ信号及び積分電圧3Vdd/4の比較を行う。例えばア
ナログ信号が積分電圧3Vdd/4より小さい場合、
「0」の比較結果をnビットレジスタの上位2ビット目
に保持させる。次に、アナログ信号が(Vdd/2〜3V
dd/4)の間にあることが判明した為、デューティ6
2.5%のPWM信号を積分し、アナログ信号及び積分
電圧5Vdd/8の比較を行う。例えばアナログ信号が積
分電圧5Vdd/8より大きい場合、「1」の比較結果を
nビットレジスタの上位3ビット目に保持させる。以
下、同様の動作をnビットレジスタの最下位ビットまで
繰り返し、nビットのデジタル信号を作成している。そ
して、デジタル信号をCPUに取り込んで所定の演算処
理を行っている。
There are types of AD converters, such as a successive approximation type and a batch comparison type, and among the successive approximation types, there are a type using a ladder resistor, a type using an integrator, and the like. Hereinafter, the successive approximation type AD converter using the latter integrator will be briefly described. For example, when converting an analog signal to an n-bit digital signal, a PWM signal generator capable of generating 2 n types of duty waveforms, an integrator for integrating the voltage Vdd according to the duty, and a comparison for comparing the analog signal and the integrated voltage Vessel. First, the PWM signal having a duty of 50% (high level 50%) is integrated, and the analog signal and the integrated voltage Vdd / 2 are compared. For example, when the analog signal is higher than the integration voltage Vdd / 2, the comparison result of "1" is held in the most significant bit of the n-bit register. Next, the analog signal is (Vdd / 2)
To Vdd), the duty is 75
% (High level 75%) of the PWM signal is integrated, and the analog signal and the integrated voltage 3Vdd / 4 are compared. For example, if the analog signal is smaller than 3Vdd / 4,
The comparison result of “0” is held in the upper 2 bits of the n-bit register. Next, the analog signal is (Vdd / 2-3V).
dd / 4), the duty 6
The 2.5% PWM signal is integrated, and the analog signal and the integrated voltage 5 Vdd / 8 are compared. For example, when the analog signal is larger than the integrated voltage 5Vdd / 8, the comparison result of "1" is held in the upper 3 bits of the n-bit register. Hereinafter, the same operation is repeated up to the least significant bit of the n-bit register to generate an n-bit digital signal. Then, the digital signal is taken into the CPU and predetermined arithmetic processing is performed.

【0004】ところで、電圧Vddを積分する場合、アナ
ログ信号と比較する積分電圧を短時間で生成することが
望ましい。その為には積分時定数を小さくすればよい
が、この場合、積分の過程で大きいリップルが積分電圧
に重畳し、積分が終了しても前記リップルが積分電圧か
ら消える迄にかなりの時間がかかる問題がある。即ち、
積分電圧が不安定であるが故に正確なAD変換を実行で
きない問題がある。そこで、従来は積分器の時定数を大
きくし、安定した積分電圧を供給できる様にしていた。
When the voltage Vdd is integrated, it is desirable to generate an integrated voltage to be compared with an analog signal in a short time. For this purpose, the integration time constant may be reduced, but in this case, a large ripple is superimposed on the integration voltage during the integration process, and it takes a considerable time for the ripple to disappear from the integration voltage even after the integration is completed. There's a problem. That is,
There is a problem that accurate AD conversion cannot be performed because the integrated voltage is unstable. Therefore, conventionally, the time constant of the integrator is increased so that a stable integrated voltage can be supplied.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、積分器
の時定数を大きくすると、アナログ信号及び積分電圧の
比較時間が長引き、AD変換時間に遅れを来す問題があ
った。そこで、本発明は、AD変換を短時間で確実に行
うことのできる逐次比較型ADコンバータを提供するこ
とを目的とする。
However, when the time constant of the integrator is increased, there is a problem that the comparison time between the analog signal and the integrated voltage is prolonged and the AD conversion time is delayed. Therefore, an object of the present invention is to provide a successive approximation type AD converter that can surely perform AD conversion in a short time.

【0006】[0006]

【課題を解決するための手段】本発明は、前記問題点を
解決する為に成されたものであり、その特徴とするとこ
ろは、アナログ信号をnビットのデジタル信号に変換す
る逐次比較型ADコンバータにおいて、2n種類のデュ
ーティ波形を発生できるPWM信号発生器と、第1時定
数を有し、前記PWM信号のデューティに応じて充電を
行う第1充電回路と、前記第1充電回路の充電素子を共
有して第2時定数(>第1時定数)を有し、前記PWM
信号のデューティに応じて充電を行う第2充電回路と、
前記充電素子の充電過程で、前記第1充電回路から前記
第2充電回路に充電動作を切り換える充電切換回路と、
前記充電素子の充電電圧を放電する放電回路と、前記ア
ナログ信号及び前記充電素子の充電電圧を比較する比較
器と、前記比較器の比較出力に応じてn種類の制御信号
を順次発生し、前記PWM信号のデューテイ、前記充電
素子の充電時定数の切り換え、及び前記充電素子の放電
を制御する為に、前記制御信号を前記PWM信号発生
器、前記充電切換回路、及び前記放電回路に帰還する制
御信号発生器と、前記比較器の比較出力を前記n種類の
制御信号に同期して上位ビットから順次保持するnビッ
トレジスタと、を備えた点である。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and is characterized by a successive approximation type AD converting an analog signal into an n-bit digital signal. In the converter, a PWM signal generator capable of generating 2 n types of duty waveforms, a first charging circuit having a first time constant and performing charging in accordance with the duty of the PWM signal, and charging the first charging circuit The second element has a second time constant (> first time constant), and the PWM
A second charging circuit that performs charging according to the duty of the signal;
A charging switching circuit that switches a charging operation from the first charging circuit to the second charging circuit in a charging process of the charging element;
A discharging circuit that discharges a charging voltage of the charging element, a comparator that compares the analog signal and a charging voltage of the charging element, and sequentially generates n types of control signals according to a comparison output of the comparator, Control for feeding back the control signal to the PWM signal generator, the charge switching circuit, and the discharge circuit in order to control the duty of the PWM signal, the switching of the charging time constant of the charging element, and the discharging of the charging element. A signal generator; and an n-bit register that sequentially holds the comparison output of the comparator from the upper bits in synchronization with the n types of control signals.

【0007】[0007]

【作用】本発明によれば、充電素子の充電過程で、時定
数の大きい第1充電回路から時定数の小さい第2充電回
路に充電動作を切り換える為、安定した充電電圧を短時
間で供給でき、この結果、確実なAD変換を短時間で行
うことができる。
According to the present invention, the charging operation is switched from the first charging circuit having a large time constant to the second charging circuit having a small time constant during the charging process of the charging element, so that a stable charging voltage can be supplied in a short time. As a result, reliable AD conversion can be performed in a short time.

【0008】[0008]

【実施例】本発明の詳細を図面に従って具体的に説明す
る。図1は本発明の逐次比較型ADコンバータを示す図
であり、アナログ信号を8ビットのデジタル信号に変換
する場合の一実施例である。図1において、コンデンサ
(1)及び抵抗(2)は第1時定数を持つ第1充電回路
であり、時刻t0〜t1まで電源Vddの充電を行う。ま
た前記コンデンサ(1)及び抵抗(3)は第2時定数を
持つ第2充電回路であり、時刻t1〜t2まで電源Vdd
の充電を行う。ここで、抵抗(2)の値は抵抗(3)の
値より小さく設定してあり、即ち、第1時定数は第2時
定数より小さくなっている。(4)はPWM信号発生器
であり、256(=28)種類のデューティ波形を発生
可能なものである。即ち、PWM信号発生器(4)は、
1周期を256分割した整数倍のハイ期間を持つPWM
信号を、複数周期に渡って発生する。(5)は時刻t1
で第1充電回路から第2充電回路に充電動作を切り換え
る充電切換回路であり、時刻t0〜t1で「1」の充電
切換信号aを発生し、時刻t1〜t2で「1」の充電切
換信号bを発生する。NANDゲート(6)は「1」の
充電切換信号aが発生している時に開状態となり、PW
M信号を通過させる。同様にNANDゲート(7)は
「1」の充電切換信号bが発生している時に開状態とな
り、PWM信号を通過させる。PMOSトランジスタ
(8)はNANDゲート(6)の出力に応じて電源Vdd
及び第1充電回路を接続又は遮断するものである。即
ち、時刻t0〜t1の間でPWM信号がハイとなってい
る時、PMOSトランジスタ(8)がオンして第1充電
回路は充電を行う。同様にPMOSトランジスタ(9)
はNANDゲート(7)の出力に応じて電源Vdd及び第
2充電回路を接続又は遮断するものである。即ち、時刻
t1〜t2の間でPWM信号がハイとなっている時、P
MOSトランジスタ(9)がオンして第2充電回路は充
電を行う。(10)はコンデンサ(1)の蓄積電荷の放
電を指示する放電回路であり、「1」の放電指示信号c
を発生する。NMOSトランジスタ(11)は放電指示
信号cに応じて第1充電回路及びアースを接続又は遮断
するものである。即ち、放電回路(10)が放電を指示
した時、コンデンサ(1)の蓄積電荷は抵抗(2)及び
NMOSトランジスタ(11)の経路を介して放電す
る。同様にNMOSトランジスタ(12)は放電指示信
号cに応じて第2充電回路及びアースを接続又は遮断す
るものである。即ち、放電回路(10)が放電を指示し
た時、コンデンサ(1)の蓄積電荷は抵抗(2)及びN
MOSトランジスタ(11)の経路の他に抵抗(3)及
びNMOSトランジスタ(12)の経路を介しても放電
する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. FIG. 1 is a diagram showing a successive approximation type AD converter according to the present invention, which is an embodiment in which an analog signal is converted into an 8-bit digital signal. In FIG. 1, a capacitor (1) and a resistor (2) are a first charging circuit having a first time constant, and charge the power supply Vdd from time t0 to t1. The capacitor (1) and the resistor (3) are a second charging circuit having a second time constant.
Charge. Here, the value of the resistor (2) is set smaller than the value of the resistor (3), that is, the first time constant is smaller than the second time constant. (4) is a PWM signal generator capable of generating 256 (= 2 8 ) kinds of duty waveforms. That is, the PWM signal generator (4)
PWM having a high period of an integral multiple of one cycle divided into 256
The signal is generated over a plurality of cycles. (5) is time t1
Is a charge switching circuit that switches the charging operation from the first charging circuit to the second charging circuit, generates a charge switching signal a of “1” at times t0 to t1, and a charge switching signal of “1” at times t1 to t2. b. The NAND gate (6) is opened when the charge switching signal a of “1” is generated, and the PW
Pass the M signal. Similarly, the NAND gate (7) is opened when the charge switching signal "b" of "1" is generated, and passes the PWM signal. The PMOS transistor (8) is connected to a power supply Vdd according to the output of the NAND gate (6).
And the first charging circuit is connected or disconnected. That is, when the PWM signal is high between times t0 and t1, the PMOS transistor (8) is turned on and the first charging circuit performs charging. Similarly, a PMOS transistor (9)
Is for connecting or disconnecting the power supply Vdd and the second charging circuit according to the output of the NAND gate (7). That is, when the PWM signal is high between times t1 and t2, P
When the MOS transistor (9) is turned on, the second charging circuit performs charging. Reference numeral (10) denotes a discharge circuit for instructing discharge of the charge stored in the capacitor (1), and a discharge instruction signal c of "1".
Occurs. The NMOS transistor (11) connects or disconnects the first charging circuit and the ground according to the discharge instruction signal c. That is, when the discharge circuit (10) instructs discharge, the electric charge stored in the capacitor (1) is discharged via the path of the resistor (2) and the NMOS transistor (11). Similarly, the NMOS transistor (12) connects or disconnects the second charging circuit and the ground according to the discharge instruction signal c. That is, when the discharge circuit (10) instructs discharge, the charge stored in the capacitor (1) is changed to the resistance (2) and N
Discharge occurs not only through the path of the MOS transistor (11) but also through the path of the resistor (3) and the NMOS transistor (12).

【0009】(13)はアナログ信号及びコンデンサ
(1)の充電電圧を比較する比較器であり、非反転入力
(+)端子にアナログ信号が印加され、反転入力(−)
端子にコンデンサ(1)の充電電圧が印加される。即
ち、比較器(13)は、アナログ信号が充電電圧より大
きい時に「1」の比較出力を発生し、反対にアナログ信
号が充電電圧より小さい時に「0」の比較出力を発生す
る。(14)は比較器(13)の比較出力に応じて8種
類の制御信号T1〜T8を順次発生する制御信号発生器
であり、制御信号T1〜T8をPWM信号発生器
(4)、充電切換回路(5)、及び放電回路(10)に
帰還するものである。これによって、比較器(13)の
比較出力が発生する度に、PWM信号発生器(4)は次
に発生すべきPWM信号のデューティを決定し、充電切
換回路(5)は第2充電回路から第1充電回路に充電動
作を切り換え、放電回路(10)はコンデンサ(1)の
充電電圧を放電させる。また、ANDゲート(15)〜
(22)は各々、制御信号T1〜T8に同期してタイミ
ング信号T1’〜T8’がハイとなった時に開状態とな
り、比較器(13)の比較出力を通過させるものであ
る。(23)は8ビットレジスタであり、ANDゲート
(15)〜(22)の出力を上位ビットから順次保持す
るものである。
A comparator (13) compares the analog signal with the charging voltage of the capacitor (1). The analog signal is applied to the non-inverting input (+) terminal, and the inverting input (-).
The charging voltage of the capacitor (1) is applied to the terminal. That is, the comparator (13) generates a comparison output of "1" when the analog signal is higher than the charging voltage, and generates a comparison output of "0" when the analog signal is lower than the charging voltage. (14) is a control signal generator for sequentially generating eight types of control signals T1 to T8 in accordance with the comparison output of the comparator (13). The control signal generator converts the control signals T1 to T8 into a PWM signal generator (4) and a charge switch. It returns to the circuit (5) and the discharge circuit (10). Thus, every time the comparison output of the comparator (13) is generated, the PWM signal generator (4) determines the duty of the next PWM signal to be generated, and the charge switching circuit (5) switches the duty of the PWM signal from the second charge circuit. The charging operation is switched to the first charging circuit, and the discharging circuit (10) discharges the charging voltage of the capacitor (1). Also, AND gate (15)-
(22) opens when the timing signals T1 'to T8' go high in synchronization with the control signals T1 to T8, and passes the comparison output of the comparator (13). (23) is an 8-bit register which holds the outputs of the AND gates (15) to (22) sequentially from the upper bits.

【0010】以下、図1の動作を図2の特性図を用いて
説明する。尚、図2の中で、実線は本実施例の充電電圧
特性、一点鎖線は従来の時定数の大きい充電電圧特性を
示している。初めに時刻t0でデューティ50%のPW
M信号を発生させると、時刻t0〜t1の間でPWM信
号のハイ期間だけPMOSトランジスタ(8)がオンす
る為、第1充電回路が図2の急峻な実線カーブを描いて
充電を行い、引き続き、時刻t1〜t2の間でPWM信
号のハイ期間だけPMOSトランジスタ(9)がオンす
る為、第1充電回路に代わり第2充電回路が図2の緩や
かな実線カーブを描いて充電を行う。これによって、コ
ンデンサ(1)の両端にVdd/2の充電電圧が現れる。
ここで、コンデンサ(1)の充電過程で、時刻t1を堺
に時定数を小から大へ切り換える為、従来に比べてリッ
プルの小さい安定した充電電圧を短時間で生成できるこ
とになる。その後、アナログ信号及び充電電圧Vdd/2
は比較器(13)で比較される。例えばアナログ信号が
充電電圧Vdd/2より大きい場合、比較器(13)から
「1」の比較結果が出力され、制御信号発生器(14)
から比較結果に応じた制御信号T1が発生する。する
と、放電回路(10)から「1」の放電指示信号cが発
生し、コンデンサ(1)の蓄積電荷は抵抗(2)及びN
MOSトランジスタ(11)の経路及び抵抗(3)及び
NMOSトランジスタ(12)の経路を介して放電され
る。また、PWM信号発生器(4)からデューティ75
%のPWM信号が発生する。また、コンデンサ(1)の
放電が終了した後、充電切換回路(5)から再び「1」
の充電切換信号aが発生する。一方、「1」の比較結果
はANDゲート(15)を介して8ビットレジスタ(2
3)の最上位ビットMSBに保持される。
The operation of FIG. 1 will be described below with reference to the characteristic diagram of FIG. In FIG. 2, the solid line indicates the charging voltage characteristic of the present embodiment, and the dashed line indicates the conventional charging voltage characteristic having a large time constant. First, at time t0, a PW with a duty of 50%
When the M signal is generated, the PMOS transistor (8) is turned on only during the high period of the PWM signal between times t0 and t1, so that the first charging circuit draws the steep solid line curve of FIG. Since the PMOS transistor (9) is turned on only during the high period of the PWM signal between times t1 and t2, the second charging circuit draws a gentle solid line curve in FIG. 2 instead of the first charging circuit to perform charging. As a result, a charging voltage of Vdd / 2 appears at both ends of the capacitor (1).
Here, in the charging process of the capacitor (1), the time constant is switched from small to large at the time t1 so that a stable charging voltage with a small ripple compared to the related art can be generated in a short time. After that, the analog signal and the charging voltage Vdd / 2
Are compared by a comparator (13). For example, when the analog signal is higher than the charging voltage Vdd / 2, the comparison result of "1" is output from the comparator (13), and the control signal generator (14)
Generates a control signal T1 corresponding to the comparison result. Then, a discharge instruction signal c of “1” is generated from the discharge circuit (10), and the electric charge stored in the capacitor (1) is changed to the resistance (2) and N
It is discharged through the path of the MOS transistor (11) and the path of the resistor (3) and the NMOS transistor (12). In addition, the PWM signal generator (4) outputs a duty of 75
% PWM signal is generated. After the discharge of the capacitor (1) is completed, the charge switching circuit (5) returns "1" again.
Is generated. On the other hand, the comparison result of "1" is output to the 8-bit register (2) through the AND gate (15).
3) is held in the most significant bit MSB.

【0011】次にデューティ75%のPWM信号に基づ
き、第1及び第2充電回路が図2と同様の実線カーブを
描いて充電を行い、コンデンサ(1)の両端に3Vdd/
4の充電電圧が現れる。そして、アナログ信号及び充電
電圧3Vdd/4は比較器(13)で比較される。例えば
アナログ信号が充電電圧3Vdd/4より小さい場合、比
較器(13)から「0」の比較結果が出力され、制御信
号発生器(14)から比較結果に応じた制御信号T2が
発生する。すると、放電回路(10)から「1」の放電
指示信号cが発生し、コンデンサ(1)の蓄積電荷は抵
抗(2)及びNMOSトランジスタ(11)の経路及び
抵抗(3)及びNMOSトランジスタ(12)の経路を
介して放電される。また、PWM信号発生器(4)から
デューティ62.5%のPWM信号が発生する。また、
コンデンサ(1)の放電が終了した後、充電切換回路
(5)から再び「1」の充電切換信号aが発生する。一
方、「0」の比較結果はANDゲート(16)を介して
8ビットレジスタ(23)の上位2ビット目に保持され
る。以上の動作を8ビットレジスタ(23)の最下位ビ
ットLSBまで繰り返すことによって8ビットのデジタ
ル信号を形成することができる。
Next, based on the PWM signal having a duty of 75%, the first and second charging circuits perform charging by drawing a solid line curve similar to that of FIG.
A charging voltage of 4 appears. Then, the analog signal and the charging voltage 3Vdd / 4 are compared by the comparator (13). For example, when the analog signal is smaller than the charging voltage 3Vdd / 4, the comparator (13) outputs a comparison result of "0", and the control signal generator (14) generates a control signal T2 corresponding to the comparison result. Then, the discharge instruction signal c of “1” is generated from the discharge circuit (10), and the accumulated charge of the capacitor (1) is transferred to the path of the resistance (2) and the NMOS transistor (11) and the resistance (3) and the NMOS transistor (12). ) Is discharged through the path. Further, a PWM signal having a duty of 62.5% is generated from the PWM signal generator (4). Also,
After the discharge of the capacitor (1) is completed, the charge switching circuit (5) generates a charge switching signal a of "1" again. On the other hand, the comparison result of "0" is held in the upper 2 bits of the 8-bit register (23) via the AND gate (16). By repeating the above operation up to the least significant bit LSB of the 8-bit register (23), an 8-bit digital signal can be formed.

【0012】以上より、コンデンサ(1)の充電過程
で、時定数の大きい第1充電回路(1)(2)から時定
数の小さい第2充電回路(1)(3)に充電動作を切り
換える為、安定した充電電圧を短時間で供給でき、この
結果、確実なAD変換を短時間で行うことができる。
As described above, in the charging process of the capacitor (1), the charging operation is switched from the first charging circuit (1) (2) having a large time constant to the second charging circuit (1) (3) having a small time constant. Thus, a stable charging voltage can be supplied in a short time, and as a result, reliable AD conversion can be performed in a short time.

【0013】[0013]

【発明の効果】本発明によれば、充電素子の充電過程
で、時定数の大きい第1充電回路から時定数の小さい第
2充電回路に充電動作を切り換える為、安定した充電電
圧を短時間で供給でき、この結果、確実なAD変換を短
時間で行うことを可能とできる利点が得られる。
According to the present invention, the charging operation is switched from the first charging circuit having a large time constant to the second charging circuit having a small time constant during the charging process of the charging element. As a result, there is obtained an advantage that reliable AD conversion can be performed in a short time.

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

【図1】本発明の逐次比較型ADコンバータを示す図で
ある。
FIG. 1 is a diagram showing a successive approximation type AD converter of the present invention.

【図2】図1の充電特性を示す特性図である。FIG. 2 is a characteristic diagram showing charging characteristics of FIG.

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

(1) コンデンサ (2)(3) 抵抗 (4) PWM信号発生器 (5) 充電切換回路 (10) 放電回路 (13) 比較器 (23) 8ビットレジスタ (1) Capacitor (2) (3) Resistance (4) PWM signal generator (5) Charge switching circuit (10) Discharge circuit (13) Comparator (23) 8-bit register

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アナログ信号をnビットのデジタル信号
に変換する逐次比較型ADコンバータにおいて、 2n種類のデューティ波形を発生できるPWM信号発生
器と、 第1時定数を有し、前記PWM信号のデューティに応じ
て充電を行う第1充電回路と、 前記第1充電回路の充電素子を共有して第2時定数(>
第1時定数)を有し、前記PWM信号のデューティに応
じて充電を行う第2充電回路と、 前記充電素子の充電過程で、前記第1充電回路から前記
第2充電回路に充電動作を切り換える充電切換回路と、 前記充電素子の充電電圧を放電する放電回路と、 前記アナログ信号及び前記充電素子の充電電圧を比較す
る比較器と、 前記比較器の比較出力に応じてn種類の制御信号を順次
発生し、前記PWM信号のデューテイ、前記充電素子の
充電時定数の切り換え、及び前記充電素子の放電を制御
する為に、前記制御信号を前記PWM信号発生器、前記
充電切換回路、及び前記放電回路に帰還する制御信号発
生器と、 前記比較器の比較出力を前記n種類の制御信号に同期し
て上位ビットから順次保持するnビットレジスタと、 を、備えたことを特徴とする逐次比較型ADコンバー
タ。
1. A successive approximation type A / D converter for converting an analog signal into an n-bit digital signal, comprising: a PWM signal generator capable of generating 2 n types of duty waveforms; A first charging circuit that performs charging in accordance with a duty; and a second time constant (>) sharing a charging element of the first charging circuit.
A second charging circuit having a first time constant) and performing charging in accordance with the duty of the PWM signal; and switching the charging operation from the first charging circuit to the second charging circuit during the charging of the charging element. A charge switching circuit; a discharge circuit that discharges a charge voltage of the charge element; a comparator that compares the analog signal and a charge voltage of the charge element; and n kinds of control signals according to a comparison output of the comparator. The control signal is generated in order to control the duty of the PWM signal, switching of the charging time constant of the charging element, and discharging of the charging element, and the control signal to the PWM signal generator, the charging switching circuit, and the discharging. A control signal generator that feeds back to a circuit; and an n-bit register that sequentially holds the comparison output of the comparator from the upper bits in synchronization with the n types of control signals. Successive approximation type AD converter.
【請求項2】 アナログ信号に所定の演算処理を施す為
に、マイクロコンピュータに内蔵されたことを特徴とす
る請求項1記載の逐次比較型ADコンバータ。
2. The successive approximation type A / D converter according to claim 1, wherein the analog signal is built in a microcomputer for performing predetermined arithmetic processing on the analog signal.
JP04270258A 1992-10-08 1992-10-08 Successive approximation type AD converter Expired - Fee Related JP3081387B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04270258A JP3081387B2 (en) 1992-10-08 1992-10-08 Successive approximation type AD converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04270258A JP3081387B2 (en) 1992-10-08 1992-10-08 Successive approximation type AD converter

Publications (2)

Publication Number Publication Date
JPH06120828A JPH06120828A (en) 1994-04-28
JP3081387B2 true JP3081387B2 (en) 2000-08-28

Family

ID=17483747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04270258A Expired - Fee Related JP3081387B2 (en) 1992-10-08 1992-10-08 Successive approximation type AD converter

Country Status (1)

Country Link
JP (1) JP3081387B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005142932A (en) 2003-11-07 2005-06-02 Sanyo Electric Co Ltd Ad converter
WO2019116444A1 (en) 2017-12-12 2019-06-20 オリンパス株式会社 Ad conversion circuit, imaging device, and endoscope system

Also Published As

Publication number Publication date
JPH06120828A (en) 1994-04-28

Similar Documents

Publication Publication Date Title
EP0039737A4 (en) Analog to digital converter and method of calibrating same.
JP4026422B2 (en) Power supply control circuit, multi-channel power supply circuit device, and soft start circuit
JP2768715B2 (en) Analog-to-digital converter with integrated linearity error compensation and method of operation
JP2751186B2 (en) Digital-to-analog conversion circuit
EP0289081A1 (en) Digital-to-analog converter
EP1962428A1 (en) Method and apparatus for analog-to-digital conversion using switched capacitors
US5455583A (en) Combined conventional/neural network analog to digital converter
JP3081387B2 (en) Successive approximation type AD converter
US20040160349A1 (en) Ramp generator
JP3162571B2 (en) D / A conversion circuit and A / D conversion circuit using the same
JP2001251188A (en) A / D converter and chopper type comparator
US6847322B2 (en) Sequential comparison type AD converter and microcomputer
US7573415B1 (en) Area and power efficient analog to digital converter and methods for using such
US20060244647A1 (en) Digital-to-analog converter and successive approximation type analog-to-digital converter utilizing the same
JP2005142932A (en) Ad converter
US6542107B1 (en) Flash analog-to-digital converter using folded differential logic encoder having capacitors which distribute charge
JPH1131968A (en) Analog-to-digital converter
JP3382818B2 (en) Test circuit for D / A converter
US12273119B2 (en) Analog-to-digital converter circuit and semiconductor integrated circuit
JPH0685672A (en) AD converter and mixed analog / digital system
JP3461672B2 (en) Successive approximation A / D converter
JPH06120829A (en) Sequential comparison type a/d converter
JP2893733B2 (en) A / D converter
JPH09135170A (en) A / D conversion circuit
KR20010055300A (en) High speed analog digital converter using counter

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees