JPS62200824A - Analog-digital conversion circuit - Google Patents

Analog-digital conversion circuit

Info

Publication number
JPS62200824A
JPS62200824A JP4154886A JP4154886A JPS62200824A JP S62200824 A JPS62200824 A JP S62200824A JP 4154886 A JP4154886 A JP 4154886A JP 4154886 A JP4154886 A JP 4154886A JP S62200824 A JPS62200824 A JP S62200824A
Authority
JP
Japan
Prior art keywords
voltage
differential amplifier
conversion
converter
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4154886A
Other languages
Japanese (ja)
Inventor
Shunji Ichida
市田 俊司
Homare Masuda
誉 増田
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.)
Azbil Corp
Original Assignee
Azbil Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Azbil Corp filed Critical Azbil Corp
Priority to JP4154886A priority Critical patent/JPS62200824A/en
Publication of JPS62200824A publication Critical patent/JPS62200824A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To improve the resolution of the titled circuit by connecting a differential amplifier circuit to an A/D input port of one chip microcomputer with a converter so as to change a threshold voltage of the said differential amplifier circuit. CONSTITUTION:The relation among a voltage Vout being an output voltage of a differential amplifier 13 to an A/D input port 10, an analog input Vin being an input signal to the differential amplifier 13 and a comparison voltage VA is expressed in equation; Vout=R2(Vin-VA)/R1, and the level of the comparison voltage VA (threshold value) is varied in 4 ways by turning on/off 3 transistors (TRs) Q1-Q3 depending on H or L level of the output signal level at output terminals 01-03 of an output port 11 of a microcomputer 9. In the 1st stage, the comparison voltage VA1 depends on the voltage division ratio of resistors R5, R6 when the TRs Q1, Q2 and Q3 are all turned off.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、低分解能のA/D変換器を高精度化したA
/D変換器に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides an A/D converter with high precision, which is a low-resolution A/D converter.
/D converter.

〔従来の技術〕[Conventional technology]

従来、一般に市販されているlチップ・マイコンでA/
D変換器内蔵のマイクロコンピュータはビット構成が例
えば8ビツトであるために、28=256の分解能とな
シ、最高でも分解能としての精度は’/256、すなわ
ち0.4〜0.5チとなってしまう。しかし、最近罠な
ってディジタル表示が普及し少数点以下(o、i %程
度)の表示をする用途が多くなってくると充分な分解能
が得られないことが問題となる。そこで、上記に対処す
るためマイコン内蔵のA/D変換器を使用する代シに、
例えばlOビットのA/1)変換器を取付けて、2”=
1024の分解能を実現するような手段をとっている。
Conventionally, commercially available l-chip microcontrollers have been used to
Since the bit configuration of a microcomputer with a built-in D converter is, for example, 8 bits, it has a resolution of 28=256, and the maximum resolution accuracy is '/256, that is, 0.4 to 0.5 inch. I end up. However, recently, digital displays have become widespread and applications for displaying less than a decimal point (on the order of o, i%) have become common, and the problem arises that sufficient resolution cannot be obtained. Therefore, in order to deal with the above problem, we decided to use an A/D converter with a built-in microcontroller.
For example, by installing a lO bit A/1) converter, 2”=
Measures are taken to achieve a resolution of 1024.

〔発明が解決するための問題点〕[Problems to be solved by the invention]

従来のA/D変換回路は以上のように構成されているの
で、例えば、10ビツトの外付けA/D変換器を採用す
ると高価となり実用性に乏しい等の問題点があった。
Since the conventional A/D conversion circuit is constructed as described above, there were problems such as, for example, if a 10-bit external A/D converter was used, it would be expensive and impractical.

この発明は上記のような問題点を解消するためになされ
たもので、アナログ増幅回路と分解能のわるいA/D変
換器を内蔵するマイコンとを組合せることによシ高精度
のA/D変換回路を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and achieves high-precision A/D conversion by combining an analog amplifier circuit and a microcontroller with a built-in A/D converter with low resolution. The purpose is to obtain a circuit.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るA/D変換回路は、例えば従来の8ピツ
)A/D変換回路付lチップマイコンを採用し、簡単な
アナログ増幅回路を付加することKよってA/D変換器
の分解能を10ビツト、すなわち0.1−の精度まで出
せるようにしたものである。
The A/D conversion circuit according to the present invention employs, for example, a conventional 8-chip microcomputer with an A/D conversion circuit, and by adding a simple analog amplifier circuit, the resolution of the A/D converter can be increased to 10. It is designed to be able to output accuracy up to a bit, that is, 0.1-.

〔作 用〕[For production]

この発明におけるA/D変換回路はA/D入力ボート付
8ビットマイコンと差動増幅器を含む外付回路とにより
、該差動増幅器の比較電圧(しきい値)を任意に変え分
解能を向上させる。
The A/D conversion circuit in this invention uses an 8-bit microcomputer with an A/D input port and an external circuit including a differential amplifier to arbitrarily change the comparison voltage (threshold value) of the differential amplifier to improve resolution. .

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例を図について説明する。第1
図はこの発明の原理を示すもので、図において、1はA
/D変換器内蔵のマイコンで以下の諸機能を備えている
。すなわち、2は前記内蔵されたA/D変換部、3は零
値判定手段、4は比較電圧手段、5は比較電圧加算手段
、6はスケーリング手段である。また、Tは比較電圧供
給手段で複数のスイッチング回路、例えばトランジスタ
から構成され、前記差動増幅手段の入力しきい値を変え
る。9は差動増幅手段である。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure shows the principle of this invention. In the figure, 1 is A
It is a microcontroller with a built-in /D converter and has the following functions. That is, 2 is the built-in A/D conversion section, 3 is a zero value determination means, 4 is a comparison voltage means, 5 is a comparison voltage addition means, and 6 is a scaling means. Further, T is a comparison voltage supply means, which is composed of a plurality of switching circuits, for example transistors, and changes the input threshold value of the differential amplification means. 9 is a differential amplification means.

次に第1図の動作について説明する。第3図は第1図の
回路を具体的に示したものである。すなわち、第3図に
おいて、A/D人カデカボート10差動増幅器13の出
力電圧であるVoutと、差動増幅器13の入力(A号
であるアナログ人力V i n及び比較電圧vAoH係
は(1)式で示される。
Next, the operation shown in FIG. 1 will be explained. FIG. 3 specifically shows the circuit of FIG. 1. That is, in FIG. 3, the relationship between Vout, which is the output voltage of the A/D driver boat 10 and the differential amplifier 13, the input of the differential amplifier 13 (the analog human power V in, which is No. A), and the comparison voltage vAoH is (1) It is shown by the formula.

ここで、比較電圧vAはマイコン9の出力ボート11の
出力端子01〜o3の出力イε号レベル1H”または“
L”によって3個のトランジスタQl−Q3が夫々ON
、OFFすることによシ4段階に比較電圧VAのレベル
(しきい値)が変化する。すなわち、第2図に示す如く
、 第1は、トランジスタQl 、Q2 、Q3が全てOF
FのときKは抵抗R5と几6との分圧比によって比較電
圧V^1は決まる。
Here, the comparison voltage vA is the output terminal ε of the output terminals 01 to o3 of the output port 11 of the microcomputer 9.
Three transistors Ql-Q3 are turned on by “L”.
, the level (threshold value) of comparison voltage VA changes in four steps by turning OFF. That is, as shown in FIG. 2, first, transistors Ql, Q2, and Q3 are all OFF.
When K is F, the comparison voltage V^1 is determined by the voltage division ratio between the resistors R5 and 6.

第2は、トランジスタQlのみがONのときKは抵抗R
5と抵抗R6、R7の並列接続との直列接続で比較電圧
Vム(2)は決まる。
Second, when only the transistor Ql is ON, K is the resistance R
The comparison voltage Vm(2) is determined by the series connection of 5 and the parallel connection of resistors R6 and R7.

第3は、トランジスタQ2のみがONのときには抵抗R
5と抵抗R6,几8の並列接続との直列接続で比較電圧
V A (8)は決まる。
Third, when only transistor Q2 is ON, resistor R
The comparison voltage V A (8) is determined by the series connection of the resistor R6 and the parallel connection of the resistor R6 and the resistor R8.

第4は、トランジスタQ3のみがONの場合で、このと
きKは抵抗R6をバイパスしてコそン電位となるため比
較電圧VA(4)はOvとなる。
The fourth case is when only the transistor Q3 is ON, and in this case, K bypasses the resistor R6 and becomes a constant potential, so the comparison voltage VA(4) becomes Ov.

ここで差動増幅器13の比較電圧VAの変化は好ましく
はアナログ入力Winの入力電圧範囲がQV≦Win≦
Vin(maX)であるときにWin(max)x±に
なるように夫々の抵抗の値が予め設定されていると、例
えばアナログ入力Viaの入力範1i[11カO〜4v
テa出力ホ−) 01 、02 、03>1全て@Lm
レベルの時にはトランジスタQl、Q2゜Q3が全てO
FFとなって比較電圧V^(1) ” 3 Vとなる。
Here, the change in the comparison voltage VA of the differential amplifier 13 is preferably such that the input voltage range of the analog input Win is QV≦Win≦
If the value of each resistor is set in advance so that when Vin (max) is Win (max)
Te a output ho) 01, 02, 03>1 all @Lm
When at level, transistors Ql, Q2゜Q3 are all O
It becomes an FF and the comparison voltage becomes V^(1)'' 3V.

また、出カポ−)01のみが“Hルベルで他の出カポ−
)02.03が°L#レベルのときKはトランジスタQ
1のみがONとなって比較電圧vA(g)は2vとなる
In addition, only the outgoing couple) 01 is “H Rubel” and the other outgoing couple
)02.03 is °L# level, K is transistor Q
Only 1 is turned on, and the comparison voltage vA(g) becomes 2v.

また、出カポ−)Q2のみがH”レベルで他の出カポ−
)01.03が1L“レベルのときにはトランジスタQ
2のみがONとなって比較電圧MA(8)はIVとなる
。更に出カポ−)03のみが@H″レベルで他の出カポ
−)01.02が1L#レベルのときには比較電圧Vム
(4)はOVになる様に夫々の抵抗値孔5〜几8を設定
している。
In addition, only the output port (Q2) is at H" level and the other output ports are
)01.03 is at 1L" level, transistor Q
2 is turned on, and the comparison voltage MA(8) becomes IV. Furthermore, when only the output capacitor) 03 is at @H'' level and the other output capacitors) 01.02 are at the 1L# level, the respective resistance values of holes 5 to 8 are adjusted so that the comparison voltage Vmu (4) becomes OV. is set.

従って、このアナログ人力Winよシ低く、かつ最もア
ナログ入力電圧に近い比較電圧との差は(2)式となる
Therefore, the difference between this analog human power Win and the comparison voltage that is lower and closest to the analog input voltage is expressed by equation (2).

O≦vin  Va≦lv   ・・・・・・・・・・
・・(2)よって、1vを越えることはない。
O≦vin Va≦lv ・・・・・・・・・・・・
...(2) Therefore, it never exceeds 1v.

ここで、第3図の差動増幅器13の増幅率は抵抗比l=
几3.几2=R4であるとすると抵抗R2と几lの比R
2/R1によって決定される。
Here, the amplification factor of the differential amplifier 13 in FIG. 3 is the resistance ratio l=
3. If 几2=R4, then the ratio R of resistance R2 and 几l
Determined by 2/R1.

この増幅重比2/几lはv 1n−vA = I Vの
ときマイコンのA/D人カデカボートルスパンになる様
に拡大(スケーリング)して設定している。すなわち、
A/D入カデカポート10囲をO〜4vとするとR2/
几l=4、アナログ人力Vin  がVA(i)よシ小
さいとき差動増幅器13の出力vOutは負(Vout
<0)となるためこれをA/D変換するとマイコン9の
A/D変換部はoVよシ小さなレンジ外の入力であるた
めA/D変換値はxH=Oとなる。
This amplification weight ratio 2/l is expanded (scaled) and set so that when v 1n-vA = IV, it becomes the A/D voltage span of the microcomputer. That is,
If the A/D input Kadeka port 10 is O~4v, R2/
几l=4, when the analog human power Vin is smaller than VA(i), the output vOut of the differential amplifier 13 is negative (Vout
<0), so when this is A/D converted, the A/D converter of the microcomputer 9 receives an input outside the range smaller than oV, so the A/D converted value becomes xH=O.

従って、マイコンはトランジスタQl、Q2゜Q3を逐
次ONさせて行き、そのとき求まるA/D変換値x1が
初めて零でない値となるvA(i)とxlを求める。例
えば、Xinが2.7vならばxlはo、7voデイジ
タル変換値テ、vA(i)−=2Vテある。0−1vの
レンジにある0、7vを差動増幅器13で4倍にして、
例えば8ピツ)(256の分解能)のA/D変換器2で
A/D変換して、この後でスケーリングのために4で除
すとx H=0.7VのA/D変換の分解能は、 となる。これに2■のA/D変換値を加算すれば高分解
能の2.7■のA/D変換が実行できる。
Therefore, the microcomputer sequentially turns on the transistors Ql, Q2 and Q3, and finds vA(i) and xl at which the A/D conversion value x1 obtained at that time becomes a non-zero value for the first time. For example, if Xin is 2.7V, xl is o, 7vo digital conversion value, vA(i)-=2V. 0.7v in the 0-1v range is quadrupled by the differential amplifier 13,
For example, if A/D conversion is performed by A/D converter 2 with a resolution of 8 pixels) (resolution of 256), and then divided by 4 for scaling, the resolution of A/D conversion with x H = 0.7V is , becomes. By adding the A/D conversion value of 2.7 cm to this, high-resolution A/D conversion of 2.7 cm can be executed.

従来のA/D変換器において、これと同様のA/D変換
を行うとすると、O〜4vを8ビツトでA/D変換した
分解能け一’−(V)  となる。
If a conventional A/D converter were to perform A/D conversion similar to this, the resolution would be 1'-(V), which is A/D conversion of 0 to 4V with 8 bits.

従って、 4=2  、すなわち2ビツト分の分解能が
向上したことくなる。第4図は動作例の70−チャート
である。
Therefore, 4=2, that is, the resolution is improved by 2 bits. FIG. 4 is a 70-chart of an example of operation.

なお、第2図におけるΔ””/A(I  VA(i+1
)は等間隔が好ましい。このように構成するととKよプ
自動的Kv人(i)がA/Dのゼロ・スパンのスパン電
圧に、vA(i+1)がA/I)のゼロ電圧に対応する
ことになる。しかし、必ずしも等間隔でVA(i)を分
割させなくてもよく、マイコンでスケーリングの際、補
正させてしまうようにしてもよい。
In addition, Δ””/A(I VA(i+1
) are preferably equally spaced. With this configuration, K + Kv (i) automatically corresponds to the span voltage of the zero span of the A/D, and vA (i+1) corresponds to the zero voltage of the A/I). However, VA(i) does not necessarily need to be divided at equal intervals, and may be corrected during scaling by a microcomputer.

〔発明の効果〕〔Effect of the invention〕

以上のようKこの発明によれば、A/D変換器付lチッ
プマイコンのA/D入カデカボート動増幅回路を接続し
、該差動増幅回路のしきい値電圧を変化させることKよ
fi A/D入カデカボート力電圧範囲を変えるように
したので、A/D変換器の分解能が大INK向上し、高
精度のA/D変換器が構成できる効果がある。
As described above, according to the present invention, an A/D input dynamic amplifier circuit of a l-chip microcomputer with an A/D converter is connected to change the threshold voltage of the differential amplifier circuit. Since the /D input voltage voltage range is changed, the resolution of the A/D converter is greatly improved by INK, and a highly accurate A/D converter can be constructed.

【図面の簡単な説明】 第1図はこの発明の一実施例を示すA/D変換器の原理
図、第2図は第1図の具体的動作を示す説明図、第3図
は第1図の具体的回路図、第4図は第3図の動作の一例
を示すフローチャートである。 図において、1,9はマイコン、8.13は差動増幅器
、10はA/D人カデカボート1は出力ボート、12は
A/D出力ボートである。 特許出願人   山武ハネウェル株式会社(外2名)
[Brief Description of the Drawings] Fig. 1 is a principle diagram of an A/D converter showing an embodiment of the present invention, Fig. 2 is an explanatory drawing showing the specific operation of Fig. 1, and Fig. 3 is an illustration of the The specific circuit diagram shown in the figure and FIG. 4 are flowcharts showing an example of the operation of FIG. 3. In the figure, 1 and 9 are microcomputers, 8 and 13 are differential amplifiers, 10 is an A/D driver board 1 is an output port, and 12 is an A/D output port. Patent applicant Yamatake Honeywell Co., Ltd. (2 others)

Claims (2)

【特許請求の範囲】[Claims] (1)A/D変換機能付1チップマイコンと、前記マイ
コンのA/D変換部入力ポートに入力される差動増幅手
段とを備えたA/D変換回路において、前記マイコンの
出力ポートからの出力信号によつてスイッチング回路を
動作させ、前記差動増幅手段のしきい値電圧を変化させ
ることによつて前記A/D変換部の入力電圧範囲をA/
D変換した後、任意の電圧レベルでスケーリングを可能
にし分解能の向上を図るようにしたことを特徴とするA
/D変換回路。
(1) In an A/D conversion circuit comprising a one-chip microcomputer with an A/D conversion function and a differential amplification means inputted to an A/D conversion section input port of the microcomputer, a signal from an output port of the microcomputer is The input voltage range of the A/D converter is changed to A/D by operating a switching circuit according to the output signal and changing the threshold voltage of the differential amplifying means.
A characterized in that after D conversion, scaling is possible at any voltage level to improve resolution.
/D conversion circuit.
(2)前記スイッチング回路をトランジスタ等の半導体
素子で構成したことを特徴とする特許請求の範囲第1項
記載のA/D変換回路。
(2) The A/D conversion circuit according to claim 1, wherein the switching circuit is constructed of semiconductor elements such as transistors.
JP4154886A 1986-02-28 1986-02-28 Analog-digital conversion circuit Pending JPS62200824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4154886A JPS62200824A (en) 1986-02-28 1986-02-28 Analog-digital conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4154886A JPS62200824A (en) 1986-02-28 1986-02-28 Analog-digital conversion circuit

Publications (1)

Publication Number Publication Date
JPS62200824A true JPS62200824A (en) 1987-09-04

Family

ID=12611476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4154886A Pending JPS62200824A (en) 1986-02-28 1986-02-28 Analog-digital conversion circuit

Country Status (1)

Country Link
JP (1) JPS62200824A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6488601A (en) * 1987-09-29 1989-04-03 Toshiba Corp Device for controlling operation
JP2006121324A (en) * 2004-10-20 2006-05-11 Fujitsu Ltd A/d converter, battery pack, electronics device and method of voltage measurement

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59132230A (en) * 1983-01-19 1984-07-30 Hitachi Ltd Analog-digital converting circuit
JPS59141827A (en) * 1983-02-02 1984-08-14 Matsushita Electric Ind Co Ltd Analog/digital conversion controller
JPS6041327A (en) * 1983-08-16 1985-03-05 Kinmon Seisakusho:Kk Analog-digital converting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59132230A (en) * 1983-01-19 1984-07-30 Hitachi Ltd Analog-digital converting circuit
JPS59141827A (en) * 1983-02-02 1984-08-14 Matsushita Electric Ind Co Ltd Analog/digital conversion controller
JPS6041327A (en) * 1983-08-16 1985-03-05 Kinmon Seisakusho:Kk Analog-digital converting device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6488601A (en) * 1987-09-29 1989-04-03 Toshiba Corp Device for controlling operation
JP2006121324A (en) * 2004-10-20 2006-05-11 Fujitsu Ltd A/d converter, battery pack, electronics device and method of voltage measurement
JP4641173B2 (en) * 2004-10-20 2011-03-02 富士通セミコンダクター株式会社 A / D converter, battery pack, electronic device and voltage measuring method

Similar Documents

Publication Publication Date Title
CN101174837B (en) Digital analogue converter circuit, data dirver and display using the same
CN101692603B (en) Gain bootstrap type C class reverser and application circuit thereof
CN106130557A (en) A kind of comparator imbalance voltage self-correcting circuit
JPH11261764A (en) Variable gain amplifier
JPS6139726A (en) Digital-analog converting circuit
CN110471484B (en) Voltage reference source circuit and application thereof in shunt type I/F conversion circuit
JPH0566774B2 (en)
TW201621509A (en) Bandgap reference circuit
CN110113028A (en) Constant calibrates circuit when the partial pressure integral form of on-chip active RC filter
JPS62200824A (en) Analog-digital conversion circuit
CN116388763A (en) DAC compatible with voltage/current output
US6738001B2 (en) Semiconductor integrated circuit
US20210326113A1 (en) Power efficient sum-of-products calculation device
US6822599B2 (en) Integrated circuit and A/D conversion circuit
KR100358358B1 (en) Upconversion mixer for improving dc offset by high pass filtering characteristic
CN114518486A (en) Method and circuit for measuring input offset voltage
US6759975B1 (en) Digital-to-analog converter with a shifted output and an increased range
CN213934174U (en) Test power supply output circuit of charging pile calibrator
KR0148632B1 (en) Switch capacitor type sample hold amplifier
JP2576222B2 (en) Digital-to-analog converter
CN117134770A (en) Sectional type digital-to-analog conversion circuit, electronic circuit and electronic equipment
CN108446098B (en) Method for calculating proportional value between two input voltages
JPS6130342Y2 (en)
KR20010073292A (en) Voltage comparator circuit
JPH01120127A (en) Parallel type a/d converter