JPH02224526A - A/d converter - Google Patents
A/d converterInfo
- Publication number
- JPH02224526A JPH02224526A JP4624389A JP4624389A JPH02224526A JP H02224526 A JPH02224526 A JP H02224526A JP 4624389 A JP4624389 A JP 4624389A JP 4624389 A JP4624389 A JP 4624389A JP H02224526 A JPH02224526 A JP H02224526A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- data
- pulse width
- conversion
- converted
- 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
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 54
- 230000010354 integration Effects 0.000 claims abstract description 20
- 238000010586 diagram Methods 0.000 description 11
- 239000003990 capacitor Substances 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Analogue/Digital Conversion (AREA)
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
本発明は、マイクロプロセッサを利用したA/D変換器
に関し、さらに詳しくは、マイクロプロセッサの中に設
けられたA/D変換手段の変換精度を向上できるA/D
変換器に関する。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an A/D converter using a microprocessor, and more specifically, to the conversion accuracy of an A/D conversion means provided in the microprocessor. A/D that can improve
Regarding converters.
〈従来の技術〉
最近、内部にA/D変換機能を有し、アナログ信号を直
接入力することの可能なマイクロプロセッサが使用され
るようになってきている。<Prior Art> Recently, microprocessors that have an internal A/D conversion function and can directly input analog signals have come into use.
このようなマイクロプロセッサにおいて、内部のA/D
変換機能による変換精度は、8ビット程度のものが標準
であり、それ以上、例えば12ビット程度の変換精度を
得るためには高価になる。In such a microprocessor, the internal A/D
The standard conversion accuracy of the conversion function is about 8 bits, and it becomes expensive to obtain conversion accuracy of more than 8 bits, for example, about 12 bits.
〈発明が解決しようとする課題〉
本発明は、この様な事情に鑑みてなされたものであって
、その目的は、マイクロプロセッサの外部に簡単な回路
を付加することによって、A/D変換精度を向上できる
A/D変換器を実現することにある。<Problems to be Solved by the Invention> The present invention has been made in view of the above circumstances, and its purpose is to improve A/D conversion accuracy by adding a simple circuit outside the microprocessor. The object of the present invention is to realize an A/D converter that can improve the performance.
く課題を解決するための手段〉
第1図は、本発明の基本的な構成を示すブロック図であ
る6図において、1は入力するアナログ信号をディジタ
ル信号に変換するA/D変換手段、2はA/D変換手段
1で変換されたデータに応じてパルスfkjA信号のパ
ルス幅が設定されるパルス幅信号出力手段、3はパルス
幅信号出力手段2から出力されるパルス幅に対応した時
間だけ基準信号を積分する積分手段、4は変換すべきア
ナログ信号E1と積分手段3による積分結果を示す出力
信号efとの差を演算し、増幅するゲインアンプ、5は
変換すべきアナログ信号Eiと、ゲインアンプ4からの
差信号を増幅した信号E’fとを切り替えて、A/D変
換手段1に与えるスイッチ手段である。Means for Solving the Problems> FIG. 1 is a block diagram showing the basic configuration of the present invention. In FIG. 6, 1 is an A/D conversion means for converting input analog signals into digital signals; 3 is a pulse width signal output means in which the pulse width of the pulse fkjA signal is set according to the data converted by the A/D conversion means 1, and 3 is a time corresponding to the pulse width output from the pulse width signal output means 2. Integrating means for integrating the reference signal; 4, a gain amplifier that calculates and amplifies the difference between the analog signal E1 to be converted and the output signal ef indicating the integration result by the integrating means 3; 5, the analog signal Ei to be converted; This is a switch means for switching between the difference signal from the gain amplifier 4 and the amplified signal E'f to provide it to the A/D conversion means 1.
く作用〉
スイッチ手段は、はじめに変換すべきアナログ信号を選
択してA/D変換手段に印加し、パルス幅信号出力手段
は、A/D変換されたデータに応じてそれより僅かに小
さいデータ(D1)に該当するパルス幅信号を積分手段
に出力し、次にスイッチ手段はゲインアンプからの差信
号を増幅した信号を選択してA/D変換手段に印加し、
パルス幅信号出力手段に設定したデータ(D1)と差信
号を増幅した信号をA/D変換したデータとから変換す
べきアナログ信号に対応するディジタルデータを得る。Function> The switch means first selects the analog signal to be converted and applies it to the A/D conversion means, and the pulse width signal output means selects slightly smaller data ( The pulse width signal corresponding to D1) is output to the integrating means, and then the switch means selects a signal obtained by amplifying the difference signal from the gain amplifier, applies it to the A/D conversion means, and sets it to the pulse width signal output means. Digital data corresponding to the analog signal to be converted is obtained from the obtained data (D1) and the data obtained by A/D converting the signal obtained by amplifying the difference signal.
これによって、A/D変換の精度を向上させることが可
能となる。This makes it possible to improve the accuracy of A/D conversion.
〈実施例〉 以下図面を用いて、本発明の実施例を詳細に説明する。<Example> Embodiments of the present invention will be described in detail below with reference to the drawings.
第2図は、本発明の一実施例を示す構成ブロック図であ
る6図において、第1図と同じ部分には同一符号を付し
て示しである。FIG. 2 is a block diagram showing an embodiment of the present invention. In FIG. 6, the same parts as in FIG. 1 are designated by the same reference numerals.
MPXはマルチプレクサで、変換すべきアナログ信号E
1.スパンに相当するスパン電圧信号ES、ゼロ点に相
当するゼロ電圧信号Eoを切り替えて、初段アンプA1
に印加する。MPX is a multiplexer that converts the analog signal E
1. By switching the span voltage signal ES corresponding to the span and the zero voltage signal Eo corresponding to the zero point, the first stage amplifier A1
to be applied.
スイッチ手段5、A/D変換手段1及びパルス幅信号出
力手段2は、いずれもマイクロプロセッサMPのファム
ウェアによって実現するように構成されている。このよ
うに構成されるマイクロプロセッサとしては、例えばN
EC製の78312などが使用可能である。The switch means 5, the A/D conversion means 1, and the pulse width signal output means 2 are all configured to be realized by firmware of the microprocessor MP. As a microprocessor configured in this way, for example, N
78312 made by EC can be used.
積分手段3は、基準電圧Vre fと、パルス幅信号出
力手段2からの信号のパルス幅に対応した時間だけオン
に駆動されるスイッチ320と、基準電圧Vrefをス
イッチS20を介して積分する積分器INT(アンプA
2.抵抗R,コンデンサCからなる)を含んで構成され
ている。なお、スイッチSIOは積分器INTを初期化
するスイッツチである。The integrating means 3 includes a reference voltage Vref, a switch 320 that is turned on for a time corresponding to the pulse width of the signal from the pulse width signal outputting means 2, and an integrator that integrates the reference voltage Vref via a switch S20. INT (Amplifier A
2. (consisting of a resistor R and a capacitor C). Note that the switch SIO is a switch that initializes the integrator INT.
ゲインアンプ4は、積分器IN’I’からの出力信号e
fと、初段アンプA1からの信号との差信号を増幅する
ゲイ21倍のアンプが用いである。The gain amplifier 4 receives the output signal e from the integrator IN'I'.
An amplifier with a gain of 21 times is used to amplify the difference signal between f and the signal from the first stage amplifier A1.
このように構成した装置の動作を次に説明する。The operation of the device configured in this way will be described next.
第3図は、A/D変換手段1によって変換された結果と
、印加されるアナログ信号Elとの関係を示す線図であ
り、第4図は、このA/D変換結果に基づいて、パルス
幅信号出力手段2に設定されるデータD1とA/D変換
データとの関係を示す線図である。FIG. 3 is a diagram showing the relationship between the result converted by the A/D conversion means 1 and the applied analog signal El, and FIG. 3 is a diagram showing the relationship between data D1 set in width signal output means 2 and A/D conversion data. FIG.
これらの図を用いて、動作の概略をはじめに説明する。The outline of the operation will first be explained using these figures.
マイクロプロセッサMPは、はじめに入力アナログ信号
ElのA/D変換を行って、第3図において、入力アナ
ログ信号E1がどの程度の大きさかを認識する。The microprocessor MP first performs A/D conversion of the input analog signal El, and recognizes the magnitude of the input analog signal E1 in FIG. 3.
次にこのA/D変換した大きさに基づいて、パルス幅信
号出力手段2に、この大きさより僅かに小さいデータD
1を設定し、パルス幅信号出力手段2は、設定されたデ
ータD1に対応するパルス幅信号を積分手段3に出力す
る。積分手段3は基準電圧Vrefをパルス幅に対応す
る時間だけ積分し、この積分結果efをゲインアンプ4
に出力する。すなわち、マイクロプロセッサMPは、設
定するデータD1により第4図において、■、■。Next, based on this A/D converted size, data D slightly smaller than this size is sent to the pulse width signal output means 2.
1, and the pulse width signal output means 2 outputs a pulse width signal corresponding to the set data D1 to the integration means 3. The integrating means 3 integrates the reference voltage Vref for a time corresponding to the pulse width, and transmits this integration result ef to the gain amplifier 4.
Output to. That is, the microprocessor MP uses the data D1 to set the data D1 as shown in FIG.
■・・・のどの直線を使うかを決定する。■... Decide which straight line to use.
ゲインアンプ4は、入力アナログ信号E1と設定データ
D1に対応するアナログ信号efとの引き算を行い、そ
の差信号を増幅し、この増幅信号EfをA/D変換手段
1でA/D変換することで、差信号に対応するデータd
Oを得る。そして、設定データD1に差信号に対応する
データdOを加えることにより、精度の高いディジタル
データを得るものである。The gain amplifier 4 subtracts the input analog signal E1 and the analog signal ef corresponding to the setting data D1, amplifies the difference signal, and A/D converts this amplified signal Ef by the A/D conversion means 1. and the data d corresponding to the difference signal
Get O. By adding data dO corresponding to the difference signal to the setting data D1, highly accurate digital data is obtained.
次に、具体的な動作例について説明する。ここでは、変
換すべきアナログ信号E1が3■、入力のレンジは、1
〜5V、A/D変換手段1の分解能が8ビツト、パルス
幅信号出力手段2から設定されたデータに基づいて発生
するパルス幅の精度は16ビツトとA/D変換手段1の
精度より高いものとする。また、各アンプの誤差は考慮
しないものとする。Next, a specific example of operation will be explained. Here, the analog signal E1 to be converted is 3■, and the input range is 1
~5V, the resolution of the A/D conversion means 1 is 8 bits, and the accuracy of the pulse width generated based on the data set from the pulse width signal output means 2 is 16 bits, which is higher than the accuracy of the A/D conversion means 1. shall be. Furthermore, errors of each amplifier are not considered.
はじめに、マイクロプロセッサMPは、マルチプレクサ
MPXを制御して変換すべきアナログ信号Eiを選択す
ると共に、スイッチS1をオンとして、初段アンプA1
を介して印加される変換すべきアナログ信号E1をA/
D変換手段1に印加する。A/D変換手段1は、このア
ナログ信号Eiをディジタル信号に変換する。First, the microprocessor MP controls the multiplexer MPX to select the analog signal Ei to be converted, turns on the switch S1, and turns on the first stage amplifier A1.
The analog signal E1 to be converted applied via A/
is applied to the D conversion means 1. The A/D conversion means 1 converts this analog signal Ei into a digital signal.
これによって、マイクロプロセッサMPは、入力アナロ
グ信号E1がどの程度の大きさか(例えば3■程度の大
きさか)を知る。As a result, the microprocessor MP knows how large the input analog signal E1 is (for example, about 3 cm).
次に、マイクロプロセッサMPは、変換された入力アナ
ログ信号の大きさに応じて、それより僅かに小さめなデ
ータD1をパルス幅信号出力手段2に設定し、設定され
たデータに基づくパルス幅信号を出力する。積分手段3
は出力されたパルス幅信号のパルス幅に対応する時間だ
け基準電圧■refを積分して、その出力端に入力アナ
ログ信号の大きさである3■より、僅かに小さい、例え
ば2.98■(この出力電圧の大きさは設定データD1
に対応している)のアナログ信号efを出力する。Next, the microprocessor MP sets slightly smaller data D1 to the pulse width signal output means 2 according to the magnitude of the converted input analog signal, and outputs a pulse width signal based on the set data. Output. Integration means 3
integrates the reference voltage ref for a time corresponding to the pulse width of the output pulse width signal, and outputs a signal at its output terminal that is slightly smaller than 3, which is the magnitude of the input analog signal, for example, 2.98 The magnitude of this output voltage is the setting data D1
outputs an analog signal ef corresponding to
積分手段(積分器INT)3から出力されるアナログ信
号efは、ゲインアンプ4の(−)端子に印加され、こ
こで初段アンプA1からのアナログ信号E1との差が演
算され、差信号がn倍に増幅される。The analog signal ef output from the integrating means (integrator INT) 3 is applied to the (-) terminal of the gain amplifier 4, where the difference between it and the analog signal E1 from the first stage amplifier A1 is calculated, and the difference signal is n. amplified twice.
いま、ゲインアンプ4のゲインnを50倍とすると、ゲ
インアンプ4の出力電圧Efは、Ef=(3,oo−2
,98)x50
=IV
となる。Now, if the gain n of the gain amplifier 4 is set to 50 times, the output voltage Ef of the gain amplifier 4 is Ef=(3,oo-2
,98)x50 =IV.
続いて、マイクロプロセッサMPはスイッチS2をオン
として、ゲインアンプ4からの増幅信号EfをA/D変
換手段1に加え、ここで増幅信号EfについてA/D変
換を行う。Subsequently, the microprocessor MP turns on the switch S2, applies the amplified signal Ef from the gain amplifier 4 to the A/D conversion means 1, and performs A/D conversion on the amplified signal Ef.
すなわち、1■を8ビツトのA/D変換手段でA/D変
換する。いま、8ビツトのA/D変換器の確度を±IL
SBとすれば、分解能は、5V/256=20mVであ
る。That is, 12 is A/D converted by an 8-bit A/D conversion means. Now, the accuracy of the 8-bit A/D converter is ±IL.
Assuming SB, the resolution is 5V/256=20mV.
ここでは、ゲインアンプ4において、差信号を50倍し
ているので、これを入力アナログ信号に換算すると、
20mV150=0.4mV
となる、このことは、8ビットA/D変換手段を用いな
がらも14ビツトの分解能を得られることに相当する。Here, in the gain amplifier 4, the difference signal is multiplied by 50, so converting this into an input analog signal becomes 20mV150=0.4mV.This means that even though 8-bit A/D conversion means is used, This corresponds to obtaining a resolution of 14 bits.
このA/D変換の精度は、ゲインアンプのゲインを変え
ることにより、さらに高くすることが可能となる。なお
、ゲインアンプのゲインを大きくすることは、第4図に
おいて、各直線の傾斜を破線に示すように大きくするこ
とに相当している。The accuracy of this A/D conversion can be further increased by changing the gain of the gain amplifier. Note that increasing the gain of the gain amplifier corresponds to increasing the slope of each straight line as shown by the broken line in FIG. 4.
マイクロプロセッサMPは、パルス幅信号出力手段2に
設定したデータD1のLSB側に、差信号の増幅信号E
fをA/D変換したデータdoを加えることにより、最
終的に入力アナログ信号Elのディジタルデータを得る
。The microprocessor MP outputs the amplified difference signal E to the LSB side of the data D1 set in the pulse width signal output means 2.
By adding data do obtained by A/D converting f, digital data of the input analog signal El is finally obtained.
以上の説明は、ゲインアンプ4や積分器INTにゼロ、
スパンエラーが無いものとしたが、これらの補正は以下
のようにして行われる。In the above explanation, the gain amplifier 4 and integrator INT have zero,
Although it is assumed that there is no span error, these corrections are performed as follows.
■ はじめに、マルチプレクサMPXにおいて、ゼロ電
圧信号EOを選択する。その時のパルス幅信号出力手段
2に設定されたデータをPWM(0)、A/D変換して
得られたデータをAD(0)とする。■ First, select zero voltage signal EO in multiplexer MPX. The data set in the pulse width signal output means 2 at that time is assumed to be PWM (0), and the data obtained by A/D conversion is assumed to be AD (0).
■ 次にマルチプレクサMPXにおいて、フルスパンに
相当する5■電圧信号Esを選択する。(2) Next, the multiplexer MPX selects the 5 (2) voltage signal Es corresponding to the full span.
その時のパルス幅信号出力手段2に設定されたデータを
PWM (5)、A/D変換して得られたデータをAD
(5)とする。The data set in the pulse width signal output means 2 at that time is PWM (5), and the data obtained by A/D conversion is AD.
(5).
■ 次に■の状態で、パルス幅信号出力手段2に設定す
るデータを「1」だけ変化させ、この時のA/D変換手
段1の値が、AD(5)より、いくら変化するかを求め
る。これをAD(1)とする。■Next, in the state of ■, change the data set in the pulse width signal output means 2 by "1", and check how much the value of the A/D conversion means 1 at this time changes from AD(5). demand. Let this be AD(1).
ここで、
PWM (0)XAD (1)+AD (0)PWM
(5)XAD (5)+AD (5)を行うと、OV、
5Vの正しいA/D変換値が求まる。Here, PWM (0)XAD (1)+AD (0)PWM
(5) XAD (5) + AD When (5) is performed, OV,
The correct A/D conversion value of 5V is found.
■ 次に変換すべき入力アナログ信号をマルチプレクサ
MPXにおいて選択し、その時のパルス幅信号出力手段
2に設定されたデータをPWM(Y) 、A/D変換し
て得られたデータをAD(Y)とすると、■で求めたO
V、5Vで補正すれば、次式に従った補正演算を行うこ
とにより、正しいA/D変換データDoを得ることがで
きる。■ Next, the input analog signal to be converted is selected in the multiplexer MPX, the data set in the pulse width signal output means 2 at that time is PWM (Y), and the data obtained by A/D conversion is AD (Y). Then, O obtained by ■
By correcting with V, 5V, correct A/D conversion data Do can be obtained by performing a correction calculation according to the following equation.
第5図は、本発明の他の実施例を示す構成ブロック図で
ある。FIG. 5 is a block diagram showing another embodiment of the present invention.
第2図の実施例においては、変換すべき入力アナログ信
号の数が1つであることを想定したものであるが、入力
アナログ信号の数が複数個存在する場合は、精度を多少
犠牲にしても変換スピードを上げたい場合がある。第5
図の実施例はこの様な要求に鑑みてなされたものであっ
て、積分手段3を構成する積分器INTの積分時間をマ
イクロプロセッサMPによってプログラマブルに変化で
きるように構成したものである。In the embodiment shown in Fig. 2, it is assumed that the number of input analog signals to be converted is one, but if there are multiple input analog signals, the accuracy may be sacrificed to some extent. You may also want to increase the conversion speed. Fifth
The embodiment shown in the figure has been developed in view of these requirements, and is configured so that the integration time of the integrator INT constituting the integration means 3 can be changed programmably by the microprocessor MP.
すなわち、積分手段3において、321〜S20は、一
端が基準電圧源に接続された複数のスイッチ、R1−R
nはこれらのスイッチに一端が接続され他端がアンプA
2の入力端に共通に接続された複数の抵抗で、それぞれ
の抵抗値は異なっている。That is, in the integrating means 3, 321 to S20 are a plurality of switches R1-R connected at one end to the reference voltage source.
One end of n is connected to these switches and the other end is connected to amplifier A.
A plurality of resistors are commonly connected to the two input terminals, and each resistance value is different.
複数のスイッチ821〜S2nは、これらのうちの一つ
のスイッチがマイクロプロセッサMPからの信号によっ
て選択され、その選択されたスイッチが、パルス幅信号
出力手段2からのパルス信号によって駆動されるように
なっている。One of the plurality of switches 821 to S2n is selected by a signal from the microprocessor MP, and the selected switch is driven by a pulse signal from the pulse width signal output means 2. ing.
このように構成した回路において、積分器INTの出力
電圧efが、設定データD1に対応する所定の値に至ま
での積分時間は、積分抵抗Rの値(この値により積分時
定数が変わる)によって変えられるから、マイクロプロ
セッサMPの指示により、複数のスイッチの中から特定
のスイッチを選択することで、積分時間、すなわちA/
D変換時間を変えることができる。In the circuit configured in this way, the integration time for the output voltage ef of the integrator INT to reach a predetermined value corresponding to the setting data D1 is determined by the value of the integration resistor R (the integration time constant changes depending on this value). Therefore, by selecting a specific switch from a plurality of switches according to instructions from the microprocessor MP, the integration time, that is, A/
D conversion time can be changed.
したがって、積分時間を短くすればA/D変換精度が多
少落ちるが、変換スピードを上げることが可能となる。Therefore, if the integration time is shortened, the A/D conversion accuracy will drop somewhat, but the conversion speed can be increased.
ここで積分時間を短くすることは、第4図において、各
直線■、■、■・・・相互間の幅が広くなることに相当
している。Here, shortening the integration time corresponds to widening the widths between the lines (2), (2), (2), etc. in FIG. 4.
なお、積分時間は、抵抗Rに代えてコンデンサCの値を
変えるようにしてもよいし、基準電圧Vrefの値を変
えるようにしてもよい。Note that the integration time may be determined by changing the value of the capacitor C instead of the resistor R, or by changing the value of the reference voltage Vref.
本発明の装置において、積分手段の積分時間を長くする
と共に、ゲインアンプのゲインを大きく選定することに
よって、格段に精度の高いA/D変換を行うことが可能
となる。In the apparatus of the present invention, by increasing the integration time of the integrating means and selecting a large gain of the gain amplifier, it is possible to perform A/D conversion with significantly higher accuracy.
〈発明の効果〉
以上詳細に説明したように、本発明によればマイクロプ
ロセッサの外部に積分手段と、ゲインアンプからなる簡
単な回路を付加することによって、A/D変換精度を向
上できるA/D変換器が実現できる。また、必要に応じ
て、A/D変換のスピードを変えることもできる。<Effects of the Invention> As explained in detail above, according to the present invention, by adding a simple circuit consisting of an integrating means and a gain amplifier outside the microprocessor, the A/D conversion accuracy can be improved. A D converter can be realized. Furthermore, the speed of A/D conversion can be changed as necessary.
第1図は本発明の基本的な構成を示すブロック図、第2
図は本発明の一実施例を示す構成ブロック図、第3図は
A/D変換手段によって変換された結果と印加されるア
ナログ信号E1との関係を示す線図、第4図はA/D変
換結果に基づいてパルス幅信号出力手段に設定されるデ
ータD1とA/D変換データとの関係を示す線図、第5
図は本発明の他の実施例を示す構成ブロック図である。
2・・・パルス幅信号出力手段、3・・・積分手段、4
・・・ゲインアンプ、5・・・スイッチ手段INT・・
・積分器、MP・・・マイクロプロセッサ、MPX・・
・マルチプレクサ、A1・・・初段アンブト・・A/D
変換手段、Figure 1 is a block diagram showing the basic configuration of the present invention, Figure 2 is a block diagram showing the basic configuration of the present invention.
The figure is a block diagram showing one embodiment of the present invention, FIG. 3 is a diagram showing the relationship between the result of conversion by the A/D conversion means and the applied analog signal E1, and FIG. Diagram 5 showing the relationship between data D1 set in the pulse width signal output means based on the conversion result and A/D conversion data.
The figure is a configuration block diagram showing another embodiment of the present invention. 2... Pulse width signal output means, 3... Integrating means, 4
...gain amplifier, 5...switch means INT...
・Integrator, MP...Microprocessor, MPX...
・Multiplexer, A1...First stage ambut...A/D
conversion means,
Claims (3)
るA/D変換手段、 このA/D変換手段で変換されたデータに応じて出力す
るパルス幅信号のパルス幅が設定されるパルス幅信号出
力手段、 このパルス幅信号出力手段から出力されるパルス幅に対
応する時間だけ基準信号を積分する積分手段、 変換すべきアナログ信号と積分手段による積分結果との
差を演算し、この差信号を増幅するゲインアンプ、 変換すべきアナログ信号と、ゲインアンプからの増幅信
号とを切り替えてA/D変換手段に与えるスイッチ手段 を備え、 はじめに前記スイッチ手段は変換すべきアナログ信号を
選択してA/D変換手段に印加し、パルス幅信号出力手
段は、A/D変換されたデータに応じてそれより僅かに
小さいデータ(D1)に該当するパルス幅信号を積分手
段に出力し、 次にスイッチ手段はゲインアンプからの差信号を増幅し
た信号を選択してA/D変換手段に印加し、 パルス幅信号出力手段に設定したデータ(D1)と差信
号を増幅した信号をA/D変換したデータとから変換す
べきアナログ信号に対応するディジタルデータを得るこ
とを特徴とするA/D変換器。(1) A/D conversion means for converting an input analog signal into a digital signal, and a pulse width signal output means for setting the pulse width of a pulse width signal to be output according to the data converted by this A/D conversion means. , an integrating means for integrating the reference signal for a time corresponding to the pulse width output from the pulse width signal output means, calculating the difference between the analog signal to be converted and the integration result by the integrating means, and amplifying this difference signal. a gain amplifier; a switch means for switching between an analog signal to be converted and an amplified signal from the gain amplifier and supplying the same to the A/D conversion means; first, the switch means selects the analog signal to be converted and performs A/D conversion; The pulse width signal output means outputs a pulse width signal corresponding to data (D1) slightly smaller than the A/D converted data to the integration means, and then the switch means outputs a pulse width signal corresponding to data (D1) slightly smaller than the A/D converted data. A signal obtained by amplifying the difference signal from the amplifier is selected and applied to the A/D conversion means, and from the data (D1) set in the pulse width signal output means and the data obtained by A/D converting the signal obtained by amplifying the difference signal. An A/D converter characterized in that it obtains digital data corresponding to an analog signal to be converted.
た請求項1記載のA/D変換器。(2) The A/D converter according to claim 1, wherein the A/D converter is configured so that the gain of the gain amplifier can be varied.
請求項1記載のA/D変換器。(3) The A/D converter according to claim 1, wherein the integration time of the integrating means is configured to be variable.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4624389A JPH02224526A (en) | 1989-02-27 | 1989-02-27 | A/d converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4624389A JPH02224526A (en) | 1989-02-27 | 1989-02-27 | A/d converter |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02224526A true JPH02224526A (en) | 1990-09-06 |
Family
ID=12741705
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4624389A Pending JPH02224526A (en) | 1989-02-27 | 1989-02-27 | A/d converter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02224526A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707128A (en) * | 2012-01-10 | 2012-10-03 | 河南科技大学 | Circuit and method for acquiring alternating signal based on microcontroller |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5864824A (en) * | 1981-10-15 | 1983-04-18 | Chino Works Ltd | Input switching circuit |
JPS60148228A (en) * | 1984-01-12 | 1985-08-05 | Mitsubishi Electric Corp | Analog-digital converter |
JPS62172821A (en) * | 1986-01-27 | 1987-07-29 | Fujitsu Ltd | A/d converter input level control circuit |
JPS63224522A (en) * | 1987-03-13 | 1988-09-19 | Yokogawa Electric Corp | Amplifier |
-
1989
- 1989-02-27 JP JP4624389A patent/JPH02224526A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5864824A (en) * | 1981-10-15 | 1983-04-18 | Chino Works Ltd | Input switching circuit |
JPS60148228A (en) * | 1984-01-12 | 1985-08-05 | Mitsubishi Electric Corp | Analog-digital converter |
JPS62172821A (en) * | 1986-01-27 | 1987-07-29 | Fujitsu Ltd | A/d converter input level control circuit |
JPS63224522A (en) * | 1987-03-13 | 1988-09-19 | Yokogawa Electric Corp | Amplifier |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102707128A (en) * | 2012-01-10 | 2012-10-03 | 河南科技大学 | Circuit and method for acquiring alternating signal based on microcontroller |
CN102707128B (en) * | 2012-01-10 | 2016-04-13 | 河南科技大学 | A kind of ac signal acquisition circuit based on microcontroller and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9407839B2 (en) | Solid-state imaging device | |
JP2008104142A (en) | Analog-to-digital converter | |
JPS59114930A (en) | Sensor communication equipment | |
JP3309380B2 (en) | Digital measuring instrument | |
JPS6081685A (en) | Auto zero integrator | |
JPH0755588A (en) | Temperature detector | |
JPH02224526A (en) | A/d converter | |
EP1480343A1 (en) | Level shift circuit | |
JPS61110002A (en) | Automatic range controlling method for optical density/ dot pattern area rate measuring apparatus | |
JP2001141753A (en) | Current and electric quantity measuring circuit | |
JP2008294751A (en) | A / D conversion circuit | |
KR100511706B1 (en) | Analog input module of programmable logic controller | |
JP4746792B2 (en) | A / D converter | |
JPS61295722A (en) | Gain control system of d/a converter | |
JPS6161577B2 (en) | ||
JPH09148930A (en) | Offset voltage correction circuit for operational amplifier | |
JP3154311B2 (en) | Input conversion display device | |
KR20000017475U (en) | Apparatus for offset compensation of analog input converting circuit | |
JPH0526813Y2 (en) | ||
JPH08125538A (en) | Digital/analog converter | |
JPS6477321A (en) | Optional calibration type analog/digital conversion system | |
JPH08292215A (en) | Battery voltage measuring device | |
JPH0514201A (en) | A/d converter | |
JPS63132510A (en) | Programmable gain-controlled amplifier | |
JPH09205367A (en) | Integration a/d conversion method |