JPH04340814A - A/d converter having variable characteristic - Google Patents

A/d converter having variable characteristic

Info

Publication number
JPH04340814A
JPH04340814A JP11169291A JP11169291A JPH04340814A JP H04340814 A JPH04340814 A JP H04340814A JP 11169291 A JP11169291 A JP 11169291A JP 11169291 A JP11169291 A JP 11169291A JP H04340814 A JPH04340814 A JP H04340814A
Authority
JP
Japan
Prior art keywords
reference point
conversion
control circuit
comparator
vda
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.)
Granted
Application number
JP11169291A
Other languages
Japanese (ja)
Other versions
JP2764476B2 (en
Inventor
Takayasu Ito
貴康 伊藤
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP3111692A priority Critical patent/JP2764476B2/en
Publication of JPH04340814A publication Critical patent/JPH04340814A/en
Application granted granted Critical
Publication of JP2764476B2 publication Critical patent/JP2764476B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To attain speed-up and simplification in the arbitrary change of an A/D conversion characteristic, and to attain cost reduction. CONSTITUTION:A comparator 24 compares an input analog voltage VO impressed on an analog input terminal 34, with a comparison reference analog value VDA outputted from a D/A conversion circuit 22, and outputs the compared result to a conversion control circuit 20. The conversion control circuit 20 successively updates the comparison reference analog value VDA to be transferred and set to the D/A conversion circuit 22, based on the input result from the comparator 24. Plural reference point registers 26 are provided so that a preset input can be operated as the original data of the successive update of the comparison reference analog value VDA. The conversion control circuit 20 selects the reference point register 26 to read, based on the compared result from the comparator 24, and the comparison reference analog value VDA obtained from the selected reference point register 26 is set to the D/A conversion circuit 22.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、アナログ信号をディジ
タルデータに変換する際に、その変換特性を可変するよ
うにした可変特性A/Dコンバータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a variable characteristic A/D converter which varies the conversion characteristic when converting an analog signal into digital data.

【0002】0002

【従来の技術】図3は、従来のこの種の可変特性A/D
コンバータを示すブロック回路図である。
[Prior Art] FIG. 3 shows a conventional variable characteristic A/D of this type.
FIG. 2 is a block circuit diagram showing a converter.

【0003】図において、2は変換制御回路(逐次比較
レジスタ)、4はD/A変換回路、6はコンパレータ、
8はA/Dコンバータ、10はアナログ入力端子、12
はディジタルデータ出力端子、14は特性可変用フィル
タである。
In the figure, 2 is a conversion control circuit (successive approximation register), 4 is a D/A conversion circuit, 6 is a comparator,
8 is an A/D converter, 10 is an analog input terminal, 12
1 is a digital data output terminal, and 14 is a characteristic variable filter.

【0004】いま、説明を簡単化するため、A/Dコン
バータ8のビット数を3ビットであるとする。また、特
性可変用フィルタ14が無いA/Dコンバータ8のみで
の動作を考える。
[0004] Now, to simplify the explanation, it is assumed that the number of bits of the A/D converter 8 is 3 bits. Also, consider the operation of only the A/D converter 8 without the characteristic variable filter 14.

【0005】A/Dコンバータ8に対するA/D変換ス
タートが指令されると、変換制御回路2は、D/A変換
回路4に対してまず、最上位桁のみを1とする3ビット
データ「100」を出力する。これがD/A変換回路4
でアナログ値「4」に変換されて、コンパレータ6に比
較基準として入力される。
When the A/D converter 8 is instructed to start A/D conversion, the conversion control circuit 2 first sends the D/A converter 4 3-bit data "100" with only the most significant digit being 1. " is output. This is D/A conversion circuit 4
It is converted into an analog value "4" and input to the comparator 6 as a comparison standard.

【0006】アナログ入力端子10に印加される入力ア
ナログ電圧V1 が比較基準アナログ値「4」と比較さ
れ、V1 ≧4であれば、コンパレータ6は“H”を変
換制御回路2に出力する。また、V1 <4であれば、
コンパレータ6は“L”を変換制御回路2に出力する。
The input analog voltage V1 applied to the analog input terminal 10 is compared with a comparison reference analog value "4", and if V1≧4, the comparator 6 outputs "H" to the conversion control circuit 2. Also, if V1 < 4,
Comparator 6 outputs "L" to conversion control circuit 2.

【0007】ここで、入力アナログ電圧V1 が5.3
〔V〕である場合と、2.7〔V〕である場合とについ
て並行的に説明していくこととする。
[0007] Here, the input analog voltage V1 is 5.3
The case where the voltage is [V] and the case where the voltage is 2.7 [V] will be explained in parallel.

【0008】V1 =5.3のときは、コンパレータ6
の出力は“H”となり、変換制御回路2における最上位
ビット(MSB)は「1」に確定する。V1 =2.7
のときは、コンパレータ6の出力は“L”となり、変換
制御回路2における最上位ビット(MSB)は「0」に
切り換えられて確定する。
[0008] When V1 = 5.3, comparator 6
The output becomes "H", and the most significant bit (MSB) in the conversion control circuit 2 is determined to be "1". V1=2.7
At this time, the output of the comparator 6 becomes "L", and the most significant bit (MSB) in the conversion control circuit 2 is switched to "0" and determined.

【0009】次いで、変換制御回路2は、上位2ビット
目(2thB)を「1」として3ビットデータを出力す
る。V1 ≧4に当てはまる5.3〔V〕のときは、変
換制御回路2から出力される3ビットデータは「110
」となり、これがD/A変換回路4でアナログ値「6」
に変換される。また、V1 <4に当てはまる2.7〔
V〕のときは、変換制御回路2から出力される3ビット
データは「010」となり、これがD/A変換回路4で
アナログ値「2」に変換される。
Next, the conversion control circuit 2 outputs 3-bit data with the second most significant bit (2thB) set to "1". When V1 is 5.3 [V] which applies to 4, the 3-bit data output from the conversion control circuit 2 is “110
”, and this is the analog value “6” in the D/A conversion circuit 4.
is converted to Also, 2.7 [applicable to V1 < 4]
V], the 3-bit data output from the conversion control circuit 2 becomes "010", which is converted by the D/A conversion circuit 4 into an analog value "2".

【0010】V1 =5.3のときは、比較基準アナロ
グ値が「6」であるので、コンパレータ6の出力は“L
”となり、変換制御回路2における上位2ビット目(2
thB)は「0」に切り換えられて確定する。V1 =
2.7のときは、比較基準アナログ値が「2」であるの
で、コンパレータ6の出力は“H”となり、変換制御回
路2における上位2ビット目(2thB)は「1」に確
定する。
When V1 = 5.3, the comparison reference analog value is "6", so the output of comparator 6 is "L".
”, and the second most significant bit (2
thB) is switched to "0" and confirmed. V1=
When the value is 2.7, the comparison reference analog value is "2", so the output of the comparator 6 becomes "H", and the second upper bit (2thB) in the conversion control circuit 2 is determined to be "1".

【0011】次いで、変換制御回路2は、上位3ビット
目(3thB)すなわち最下位ビット(LSB)を「1
」として3ビットデータを出力する。V1 ≧4に当て
はまる5.3〔V〕のときは、変換制御回路2から出力
される3ビットデータは「101」となり、これがD/
A変換回路4でアナログ値「5」に変換される。また、
V1 <4に当てはまる2.7〔V〕のときは、変換制
御回路2から出力される3ビットデータは「011」と
なり、これがD/A変換回路4でアナログ値「3」に変
換される。
Next, the conversion control circuit 2 sets the third upper bit (3thB), that is, the least significant bit (LSB) to "1".
” and outputs 3-bit data. When V1 is 5.3 [V] which applies to 4, the 3-bit data output from the conversion control circuit 2 is "101", which is the D/
It is converted into an analog value "5" by the A conversion circuit 4. Also,
When the voltage is 2.7 [V], which applies to V1 < 4, the 3-bit data output from the conversion control circuit 2 becomes "011", which is converted by the D/A conversion circuit 4 into an analog value "3".

【0012】V1 =5.3のときは、比較基準アナロ
グ値が「5」であるので、コンパレータ6の出力は“H
”となり、変換制御回路2における最下位ビット(LS
B)は「1」に確定する。V1 =2.7のときは、比
較基準アナログ値が「3」であるので、コンパレータ6
の出力は“L”となり、変換制御回路2における最下位
ビット(LSB)は「0」に切り換えられて確定する。
When V1 = 5.3, the comparison reference analog value is "5", so the output of the comparator 6 is "H".
”, and the least significant bit (LS
B) is determined to be "1". When V1 = 2.7, the comparison reference analog value is "3", so comparator 6
The output becomes "L", and the least significant bit (LSB) in the conversion control circuit 2 is switched to "0" and determined.

【0013】以上によって3ビットすべての逐次比較が
終了するので、A/D変換動作が終了したことになり、
変換制御回路2から出力される3ビットデータは、V1
 =5.3のときは、「101」(=5)に確定し、こ
れがディジタルデータ出力端子12から出力される。ま
た、V1 =2.7のときは、変換制御回路2から出力
される3ビットデータは「010」(=2)に確定し、
これがディジタルデータ出力端子12から出力される。
[0013] Since the successive approximation of all three bits is completed in the above manner, the A/D conversion operation is completed.
The 3-bit data output from the conversion control circuit 2 is V1
When =5.3, it is determined to be "101" (=5), and this is output from the digital data output terminal 12. Furthermore, when V1 = 2.7, the 3-bit data output from the conversion control circuit 2 is determined to be "010" (=2),
This is output from the digital data output terminal 12.

【0014】以上が特性可変用フィルタ14が無いとし
たときのA/D変換動作の一例の説明である。
The above is an explanation of an example of the A/D conversion operation when the characteristic variable filter 14 is not provided.

【0015】特性可変用フィルタ14は、A/D変換特
性を変える目的で使用されている。
The characteristic variable filter 14 is used for the purpose of changing A/D conversion characteristics.

【0016】すなわち、元の入力アナログ電圧V0 を
アナログ入力端子10に対する入力アナログ電圧V1 
にノンリニアに電圧−電圧変換している。その電圧−電
圧変換特性の一例が、特性可変用フィルタ14を示すブ
ロックの内部に図示されている。上記の例をひくと、例
えば、V0 =3のときにV1 =5.3に変換され、
V0 =1のときにV1 =2.7に変換されるといっ
た具合である。
That is, the original input analog voltage V0 is changed to the input analog voltage V1 to the analog input terminal 10.
The voltage is converted non-linearly. An example of the voltage-voltage conversion characteristic is illustrated inside the block showing the characteristic variable filter 14. Taking the above example, for example, when V0 = 3, it is converted to V1 = 5.3,
For example, when V0 = 1, it is converted to V1 = 2.7.

【0017】[0017]

【発明が解決しようとする課題】しかしながら、上記の
ようにA/Dコンバータ8に特性可変用フィルタ14を
付加した従来の可変特性A/Dコンバータにあっては、
そのA/D変換特性を変更するには、特性可変用フィル
タ14を電圧−電圧変換特性の異なる別のものと交換し
なければならないというわずらわしさがあった。
However, in the conventional variable characteristic A/D converter in which the characteristic variable filter 14 is added to the A/D converter 8 as described above,
In order to change the A/D conversion characteristics, the variable characteristic filter 14 must be replaced with another filter having different voltage-to-voltage conversion characteristics, which is a hassle.

【0018】また、多数のA/D変換特性を得るには、
多数の特性可変用フィルタ14を必要とし、コストアッ
プを招来していた。
[0018] Furthermore, in order to obtain a large number of A/D conversion characteristics,
A large number of characteristic variable filters 14 are required, leading to an increase in cost.

【0019】本発明は、このような事情に鑑みて創案さ
れたものであって、A/D変換特性の変更に際して部品
交換の必要性を無くし、特性変更を迅速,容易化できる
とともに、コストダウンを図ることができる可変特性A
/Dコンバータを提供することを目的とする。
The present invention was devised in view of the above circumstances, and eliminates the need for parts replacement when changing A/D conversion characteristics, making it possible to quickly and easily change characteristics, and reducing costs. Variable characteristic A that can achieve
/D converter.

【0020】[0020]

【課題を解決するための手段】本発明に係る可変特性A
/Dコンバータは、アナログ入力端子に印加された入力
アナログ電圧とD/A変換回路から出力された比較基準
アナログ値とを比較するコンパレータと、前記コンパレ
ータからの入力状態に基づいて前記D/A変換回路へ転
送設定する比較基準アナログ値を逐次的に更新する変換
制御回路とを備えた可変特性A/Dコンバータであって
、前記変換制御回路が読み出して前記D/A変換回路に
転送する比較基準アナログ値として任意の値を外部から
プリセット可能な複数の参照点レジスタと、前記の参照
点レジスタ間を補間する二つの副参照点レジスタを設け
たことを特徴とするものである。
[Means for solving the problem] Variable characteristic A according to the present invention
The /D converter includes a comparator that compares the input analog voltage applied to the analog input terminal with a comparison reference analog value output from the D/A conversion circuit, and a comparator that compares the input analog voltage applied to the analog input terminal with a comparison reference analog value output from the D/A conversion circuit, and the D/A conversion based on the input state from the comparator. A variable characteristic A/D converter comprising a conversion control circuit that sequentially updates a comparison reference analog value to be transferred and set to a circuit, the comparison reference being read by the conversion control circuit and transferred to the D/A conversion circuit. The present invention is characterized by providing a plurality of reference point registers that can be externally preset to arbitrary values as analog values, and two sub-reference point registers that interpolate between the reference point registers.

【0021】[0021]

【作用】参照点レジスタに対しては、任意の比較基準ア
ナログ値を自由にプリセットすることができるから、A
/D変換特性の変更に際して、従来例のように特性可変
用フィルタを交換するといったわずらわしさがなく、単
なる入力値の変更のみですむ。
[Operation] Since any comparison standard analog value can be freely preset for the reference point register, A
When changing the /D conversion characteristic, there is no need to change the characteristic variable filter as in the conventional example, and it is only necessary to change the input value.

【0022】[0022]

【実施例】以下、本発明に係る可変特性A/Dコンバー
タの一実施例を図面に基づいて詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the variable characteristic A/D converter according to the present invention will be described in detail below with reference to the drawings.

【0023】図1は、実施例に係る可変特性A/Dコン
バータを示すブロック回路図である。
FIG. 1 is a block circuit diagram showing a variable characteristic A/D converter according to an embodiment.

【0024】図において、20は変換制御回路、22は
D/A変換回路、24はコンパレータ、26は参照点レ
ジスタ、28はプリセット/変換端子、30はスタート
端子、32はステータス端子、34はアナログ入力端子
、36はディジタルデータ入・出力端子、38は可変特
性A/Dコンバータ、39は副参照点レジスタA、40
は副参照点レジスタBである。
In the figure, 20 is a conversion control circuit, 22 is a D/A conversion circuit, 24 is a comparator, 26 is a reference point register, 28 is a preset/conversion terminal, 30 is a start terminal, 32 is a status terminal, and 34 is an analog Input terminal, 36 is digital data input/output terminal, 38 is variable characteristic A/D converter, 39 is sub-reference point register A, 40
is the sub reference point register B.

【0025】コンパレータ24の2つの入力端子には、
アナログ入力端子34とD/A変換回路22の出力端子
とが接続されている。コンパレータ24の出力端子は変
換制御回路20に接続されている。変換制御回路20と
複数の参照点レジスタ26と、副参照点レジスタBおよ
びD/A変換回路22とは互いに複数ビットの信号ライ
ンで接続されている。また、プリセット/変換端子28
,スタート端子30,ステータス端子32およびディジ
タルデータ入・出力端子36も変換制御回路20に接続
されている。そして、以上のような接続構造をもって、
可変特性A/Dコンバータ38の全体が構成されている
のである。
The two input terminals of the comparator 24 are:
The analog input terminal 34 and the output terminal of the D/A conversion circuit 22 are connected. The output terminal of the comparator 24 is connected to the conversion control circuit 20. The conversion control circuit 20, the plurality of reference point registers 26, the sub-reference point register B and the D/A conversion circuit 22 are connected to each other by a plurality of bit signal lines. In addition, the preset/conversion terminal 28
, a start terminal 30, a status terminal 32, and a digital data input/output terminal 36 are also connected to the conversion control circuit 20. And, with the above connection structure,
This constitutes the entire variable characteristic A/D converter 38.

【0026】変換制御回路20は、プリセット/変換端
子28が“H”レベルとされ、かつ、スタート端子30
が“H”レベルとされたときに、ディジタルデータ入・
出力端子36を介して外部の参照点設定キーで設定され
た参照点設定値を読み込んで、それを参照点レジスタ2
6にプリセットするように構成されている。参照点レジ
スタ26は複数個あり、各々の参照点レジスタ26に対
して個別的に参照点設定値をプリセットすることができ
る。
In the conversion control circuit 20, the preset/conversion terminal 28 is set to "H" level, and the start terminal 30 is set to the "H" level.
is set to “H” level, digital data input/
The reference point setting value set by the external reference point setting key is read through the output terminal 36 and is stored in the reference point register 2.
It is configured to be preset to 6. There are a plurality of reference point registers 26, and reference point setting values can be individually preset for each reference point register 26.

【0027】変換制御回路20は、また、プリセット/
変換端子28が“L”レベルとされた状態で、スタート
端子30が“H”レベルとされステータス端子32が“
L”レベルになると、A/D変換動作を開始するように
構成されている。
The conversion control circuit 20 also controls preset/
While the conversion terminal 28 is at the "L" level, the start terminal 30 is at the "H" level and the status terminal 32 is at the "L" level.
It is configured to start an A/D conversion operation when the level becomes L''.

【0028】変換制御回路20の基本的なA/D変換の
機能は、参照点レジスタ26から参照点設定値を読み出
してD/A変換回路22に転送し、D/A変換回路22
で得られた比較基準アナログ値がコンパレータ24にお
いて入力アナログ電圧V0 と比較された結果に応じて
、参照点設定値を読み出すべき参照点レジスタ26を逐
次適宜に決定し、さらに、以上の動作を繰り返すことお
よび参照点レジスタ26から副参照点レジスタA39、
副参照点レジスタB40への値の複写と、二つの副参照
点レジスタの平均値をD/A変換回路22に転送し、D
/A変換回路22で得られた比較基準アナログ値がコン
パレータ24において入力アナログ電圧VO と比較さ
れた結果に応じて、副参照点レジスタA39と副参照点
レジスタB40のどちらかを上記平均値に更新し、さら
に以上の副参照レジスタに対する動作を目的とするデー
タが得られるまで繰り返すことである。
The basic A/D conversion function of the conversion control circuit 20 is to read the reference point setting value from the reference point register 26 and transfer it to the D/A conversion circuit 22.
The comparison reference analog value obtained in is compared with the input analog voltage V0 in the comparator 24. According to the result, the reference point register 26 from which the reference point setting value is to be read is determined as appropriate, and the above operation is repeated. and from the reference point register 26 to the sub reference point register A39,
Copying the value to the sub-reference point register B40 and transferring the average value of the two sub-reference point registers to the D/A conversion circuit 22,
The comparison reference analog value obtained by the /A conversion circuit 22 is compared with the input analog voltage VO in the comparator 24. Depending on the result, either the sub-reference point register A39 or the sub-reference point register B40 is updated to the above average value. Then, the above operations on the sub-reference registers are repeated until the desired data is obtained.

【0029】変換制御回路20は、A/D変換の最終結
果のディジタルデータをディジタルデータ入・出力端子
36から出力するが、そのディジタルデータのビット数
をLビットとし、参照点レジスタ26の個数をNを整数
として(2N +1)個とし、さらに、D/A変換回路
22の処理ビット数をMビットとすると、L,N,Mの
間には、M≧L≧Nの関係がある。参照点レジスタ26
一つ一つのビット数および副参照点レジスタA39、副
参照点レジスタB40のビット数もMビットである。
The conversion control circuit 20 outputs digital data as the final result of A/D conversion from the digital data input/output terminal 36. The number of bits of the digital data is L bits, and the number of reference point registers 26 is set as L bits. If N is an integer (2N +1) and the number of bits processed by the D/A conversion circuit 22 is M bits, there is a relationship between L, N, and M of M≧L≧N. Reference point register 26
The number of bits of each bit and the number of bits of the sub-reference point register A39 and sub-reference point register B40 are also M bits.

【0030】次に、上記構成の可変特性A/Dコンバー
タ38の動作を説明する。
Next, the operation of the variable characteristic A/D converter 38 having the above configuration will be explained.

【0031】〔1〕参照点設定値の登録プリセット/変
換端子28に接続されているプリセットキーを押すと、
プリセット/変換端子28が“H”レベルとなる。次い
で、ディジタルデータ入・出力端子36に接続されてい
る図外の参照点設定キーによって参照点設定値を設定す
る。そして、設定スタートキーを押すことにより、スタ
ート端子30が“H”レベルとなる。これによって変換
制御回路20は参照点設定キーで設定された複数の参照
点設定値を順次的に読み込んで、それらを対応する参照
点レジスタ26に登録する。
[1] Registration of reference point setting value When the preset key connected to the preset/conversion terminal 28 is pressed,
Preset/conversion terminal 28 becomes "H" level. Next, a reference point setting value is set using a reference point setting key (not shown) connected to the digital data input/output terminal 36. Then, by pressing the setting start key, the start terminal 30 becomes "H" level. As a result, the conversion control circuit 20 sequentially reads a plurality of reference point setting values set by the reference point setting keys and registers them in the corresponding reference point register 26.

【0032】ここで、説明を簡単化するために、例えば
、N=3として参照点レジスタ26の個数(2N +1
)を9個とする。また、変換制御回路20から出力され
るディジタルデータのビット数L=5であるとする。
Here, in order to simplify the explanation, for example, let us assume that N=3 and calculate the number of reference point registers 26 (2N +1
) are 9 pieces. It is also assumed that the number of bits of digital data output from the conversion control circuit 20 is L=5.

【0033】そして、9つの参照点レジスタ26に登録
された参照点設定値が例えば以下のようであったとする
(なお、これについては、図2の変換特性を参照するこ
とができる)。
Assume that the reference point setting values registered in the nine reference point registers 26 are, for example, as follows (in this regard, the conversion characteristics shown in FIG. 2 can be referred to).

【0034】 レジスタナンバー        No.1    N
o.2    No.3    No.4  参照点設
定値          0.25    0.30 
   0.35    0.45レジスタナンバー  
      No.5    No.6    No.
7    No.8  参照点設定値        
  0.65    1.05    1.85   
 3.0レジスタナンバー        No.9 
 参照点設定値          5.0〔2〕A/
D変換動作 参照点設定値のプリセットが終了しプリセット/変換端
子28が“L”レベルとなっている状態でA/D変換ス
タートキーを押すと、スタート端子30が“H”レベル
となり、ステータス端子32が“L”レベルとなる。こ
れによって、変換制御回路20はA/D変換動作を開始
する。
Register number No. 1 N
o. 2 No. 3 No. 4 Reference point setting value 0.25 0.30
0.35 0.45 register number
No. 5 No. 6 No.
7 No. 8 Reference point setting value
0.65 1.05 1.85
3.0 Register number No. 9
Reference point setting value 5.0 [2] A/
When the A/D conversion start key is pressed when the presetting of the D conversion operation reference point set value is completed and the preset/conversion terminal 28 is at the "L" level, the start terminal 30 becomes the "H" level and the status terminal 32 becomes "L" level. As a result, the conversion control circuit 20 starts an A/D conversion operation.

【0035】■  5ビットデータD5 の最上位ビッ
ト(MSB)の決定 変換制御回路20は、まず、(2N−1 +1)番目、
すなわち、N=3のときは5番目の参照点レジスタ26
に登録されている参照点設定値「0.65」を読み出し
て、D/A変換回路22に転送し設定する。このときの
参照点設定値は実際には0と1とで表される2進数のデ
ィジタルデータであるが、便宜上、「0.65」のよう
に表している。D/A変換回路22は、このディジタル
データを比較基準アナログ値VDA=「0.65」に変
換し、コンパレータ24に出力する。
■ Determination of the most significant bit (MSB) of the 5-bit data D5 The conversion control circuit 20 first determines the (2N-1 +1)th,
That is, when N=3, the fifth reference point register 26
The reference point setting value "0.65" registered in is read out, transferred to the D/A conversion circuit 22, and set. The reference point setting value at this time is actually binary digital data expressed as 0 and 1, but for convenience, it is expressed as "0.65". The D/A conversion circuit 22 converts this digital data into a comparison reference analog value VDA=“0.65” and outputs it to the comparator 24.

【0036】参照点レジスタ26のレジスタナンバーと
D/A変換回路22による比較基準アナログ値VDAと
の変換特性を図2に示してある。上記したように例えば
、レジスタナンバーがNo.1のときはVDAは0.2
5となっている。横並べにまとめて記載すると、  N
o.1=0.25、  No.2=0.30、  No
.3=0.35、  No.4=0.45、  No.
5=0.65、  No.6=1.05、  No.7
=1.85、  No.8=3.0、  No.9=5
.0となっている。
FIG. 2 shows the conversion characteristics between the register number of the reference point register 26 and the comparison reference analog value VDA by the D/A conversion circuit 22. As mentioned above, for example, if the register number is No. When it is 1, VDA is 0.2
It is 5. When written horizontally, N
o. 1=0.25, No. 2=0.30, No
.. 3=0.35, No. 4=0.45, No.
5=0.65, No. 6=1.05, No. 7
=1.85, No. 8=3.0, No. 9=5
.. It is 0.

【0037】コンパレータ24は、アナログ入力端子3
4から入力した入力アナログ電圧V0 と比較基準アナ
ログ値VDAとを比較し、V0 ≧VDAのときは、変
換制御回路20に対して“H”レベルを出力し、V0 
<VDAのときは、“L”レベルを出力する。
Comparator 24 connects analog input terminal 3
The input analog voltage V0 input from 4 is compared with the comparison reference analog value VDA, and when V0 ≧VDA, an “H” level is output to the conversion control circuit 20, and V0
<When it is VDA, it outputs “L” level.

【0038】以下、具体例として、入力アナログ電圧V
0 が4.5〔V〕の場合(A)と、1.0〔V〕の場
合(B)と、0.73〔V〕の場合(C)と、0.27
〔V〕の場合(D)とについて並行的に説明していく。
Below, as a specific example, input analog voltage V
0 is 4.5 [V] (A), 1.0 [V] (B), 0.73 [V] (C), and 0.27
[V] case (D) will be explained in parallel.

【0039】(A)入力アナログ電圧V0 =4.5〔
V〕の場合、初期設定されたNo.5の比較基準アナロ
グ値VDA=0.65〔V〕であるから、V0 ≧VD
Aとなって、コンパレータ24は“H”レベルを出力す
る。 変換制御回路20は、コンパレータ24から“H”レベ
ルを入力したときは、現在決定しようとしているビット
を“1”に確定する。現在は最上位ビット(MSB)を
決定しようとしているので、V0 =4.5の場合の(
MSB)=1と確定し、変換制御回路20が最終的に出
力しようとしている5ビットデータD5 の最上位ビッ
ト(MSB)を“1”に設定する。すなわち、D5 =
1xxxxとセットする。なお、ここで、xは“0”ま
たは“1”のいずれかを取り得るが現在は未定であるこ
とを示している。
(A) Input analog voltage V0 = 4.5 [
V], the initialized No. Since the comparison reference analog value VDA of No. 5 is 0.65 [V], V0 ≧VD
A, and the comparator 24 outputs the "H" level. When the conversion control circuit 20 receives the "H" level from the comparator 24, it fixes the bit that is currently being determined to "1". We are currently trying to determine the most significant bit (MSB), so (
MSB)=1, and the most significant bit (MSB) of the 5-bit data D5 that the conversion control circuit 20 is going to finally output is set to "1". That is, D5=
Set it to 1xxxxx. Note that x can take either "0" or "1" here, but it is currently undetermined.

【0040】(B)入力アナログ電圧V0 =1.0〔
V〕の場合、No.5のVDA=0.65〔V〕と比較
すると、V0 ≧VDAとなって、コンパレータ24は
“H”レベルを出力する。変換制御回路20は、上記と
同様に、最上位ビット(MSB)=1と確定し、5ビッ
トデータD5 =1xxxxとセットする。
(B) Input analog voltage V0 = 1.0 [
V], No. 5, VDA=0.65 [V], V0≧VDA, and the comparator 24 outputs the "H" level. Similarly to the above, the conversion control circuit 20 determines the most significant bit (MSB)=1 and sets the 5-bit data D5=1xxxx.

【0041】(C)入力アナログ電圧V0 =0.73
〔V〕の場合、No.5のVDA=0.65〔V〕と比
較すると、V0 ≧VDAとなって、コンパレータ24
は“H”レベルを出力する。変換制御回路20は、上記
と同様に、最上位ビット(MSB)=1と確定し、5ビ
ットデータD5 =1xxxxとセットする。
(C) Input analog voltage V0 = 0.73
In the case of [V], No. 5, VDA=0.65 [V], V0 ≧VDA, and the comparator 24
outputs “H” level. Similarly to the above, the conversion control circuit 20 determines the most significant bit (MSB)=1 and sets the 5-bit data D5=1xxxx.

【0042】(D)入力アナログ電圧V0 =0.27
〔V〕の場合、No.5のVDA=0.65〔V〕と比
較すると、V0 <VDAとなって、コンパレータ24
は“L”レベルを出力する。変換制御回路20は、上記
とは逆に、最上位ビット(MSB)=0と確定し、5ビ
ットデータD5 =0xxxxとセットする。
(D) Input analog voltage V0 = 0.27
In the case of [V], No. 5, VDA=0.65 [V], V0 < VDA, and the comparator 24
outputs “L” level. Contrary to the above, the conversion control circuit 20 determines the most significant bit (MSB)=0 and sets the 5-bit data D5=0xxxx.

【0043】■  5ビットデータD5 の上位2ビッ
ト目(2thB)の決定 変換制御回路20は、次いで、((2N−1 ×(MS
B)+2N−2 +1)番目、すなわち、N=3のとき
は(4×(MSB)+3)番目の参照点レジスタ26に
登録されている参照点設定値を読み出して、D/A変換
回路22に転送し設定する。ここで、(MSB)は“1
”または“0”のいずれかをとることはいうまでもない
■ Determination of the second most significant bit (2thB) of the 5-bit data D5 The conversion control circuit 20 then determines ((2N-1×(MS
B) Read the +2N-2 +1)-th reference point setting value registered in the reference point register 26, that is, the (4×(MSB)+3)-th when N=3, and send it to the D/A conversion circuit 22. Transfer and set. Here, (MSB) is “1”
” or “0”.

【0044】(A)入力アナログ電圧V0 =4.5〔
V〕の場合、上記■の(A)のように(MSB)=1で
あるから、読み出し対象の参照点レジスタ26はNo.
7となり、そのNo.7の参照点レジスタ26から読み
出されてD/A変換回路22に設定される比較基準アナ
ログ値VDAは、VDA=1.85〔V〕となる。この
場合、V0 =4.5〔V〕と比較すると、V0 ≧V
DAとなって、コンパレータ24は“H”レベルを出力
する。 変換制御回路20は、コンパレータ24から“H”レベ
ルを入力したときは、現在決定しようとしているビット
である上位2ビット目(2thB)を、(2thB)=
1と確定し、変換制御回路20が最終的に出力しようと
している5ビットデータD5 の上位2ビット目(2t
hB)を“1”に設定する。最上位ビット(MSB)は
すでに確定しており、“1”であるから、結局、5ビッ
トデータD5 を、D5 =11xxxとセットする。
(A) Input analog voltage V0 = 4.5 [
V], the reference point register 26 to be read is No. 1 because (MSB)=1 as in (A) of (2) above.
7, and its No. The comparison reference analog value VDA read from the reference point register 26 of No. 7 and set in the D/A conversion circuit 22 is VDA=1.85 [V]. In this case, compared to V0 = 4.5 [V], V0 ≧V
The comparator 24 outputs "H" level. When the conversion control circuit 20 receives the “H” level from the comparator 24, the conversion control circuit 20 sets the second upper bit (2thB), which is the bit that is currently being determined, to (2thB)=
1, and the second most significant bit (2t
hB) is set to “1”. Since the most significant bit (MSB) has already been determined and is "1", the 5-bit data D5 is eventually set as D5 = 11xxx.

【0045】(B)入力アナログ電圧V0 =1.0〔
V〕の場合も、(A)と同様に、(MSB)=1であっ
たので、読み出し対象の参照点レジスタ26はNo.7
となり、比較基準アナログ値VDA=1.85〔V〕と
なるので、今度は、V0 <VDAとなって、コンパレ
ータ24は“L”レベルを出力する。したがって、変換
制御回路20は、上位2ビット目(2thB)=0と確
定し、5ビットデータD5 =10xxxとセットする
(B) Input analog voltage V0 = 1.0 [
In the case of [V], as in (A), (MSB) = 1, so the reference point register 26 to be read is No. 7
Since the comparison reference analog value VDA=1.85 [V], this time, V0<VDA, and the comparator 24 outputs the "L" level. Therefore, the conversion control circuit 20 determines that the second upper bit (2thB)=0 and sets the 5-bit data D5=10xxx.

【0046】(C)入力アナログ電圧V0 =0.73
〔V〕の場合も、(A)と同様に、(MSB)=1であ
ったので、読み出し対象の参照点レジスタ26はNo.
7となり、比較基準アナログ値VDA=1.85〔V〕
となるので、V0 <VDAとなって、コンパレータ2
4は“L”レベルを出力する。したがって、変換制御回
路20は、上位2ビット目(2thB)=0と確定し、
5ビットデータD5 =10xxxとセットする。
(C) Input analog voltage V0 = 0.73
In the case of [V], as in (A), (MSB)=1, so the reference point register 26 to be read is No.
7, and the comparison reference analog value VDA = 1.85 [V]
Therefore, V0 < VDA and comparator 2
4 outputs "L" level. Therefore, the conversion control circuit 20 determines that the second most significant bit (2thB) = 0,
Set 5-bit data D5 = 10xxx.

【0047】(D)入力アナログ電圧V0 =0.27
〔V〕の場合、(MSB)=0であったので、(4×(
MSB)+3)番目の参照点レジスタ26というのはN
o.3のレジスタということになる。このときの比較基
準アナログ値VDA=0.35〔V〕であるので、V0
 <VDAとなって、コンパレータ24は“L”レベル
を出力する。したがって、変換制御回路20は、上位2
ビット目(2thB)=0と確定し、5ビットデータD
5 =00xxxとセットする。
(D) Input analog voltage V0 = 0.27
In the case of [V], (MSB) = 0, so (4 x (
MSB)+3)th reference point register 26 is N
o. This means that there are 3 registers. At this time, the comparison reference analog value VDA=0.35 [V], so V0
<VDA, and the comparator 24 outputs "L" level. Therefore, the conversion control circuit 20
The bit (2thB) is determined to be 0, and the 5-bit data D
5 Set =00xxx.

【0048】■  5ビットデータD5 の上位3ビッ
ト目(3thB)の決定 変換制御回路20は、次いで、((2N−1 ×(MS
B)+2N−2 ×(2thB)+2N−3 +1)番
目、すなわち、N=3のときは(4×(MSB)+2×
(2thB)+2)番目の参照点レジスタ26に登録さ
れている参照点設定値を読み出して、D/A変換回路2
2に転送し設定する。ここで、(MSB)および(2t
hB)の各々は、“1”または“0”のいずれかをとる
ことはいうまでもない。
■ Determination of the third upper bit (3thB) of the 5-bit data D5 The conversion control circuit 20 then determines ((2N-1×(MS
B) +2N-2 × (2thB) +2N-3 +1)th, that is, when N = 3, (4 × (MSB) + 2 ×
The reference point setting value registered in the (2thB)+2)th reference point register 26 is read out, and the D/A conversion circuit 2
Transfer to 2 and set. Here, (MSB) and (2t
Needless to say, each of hB) takes either "1" or "0".

【0049】(A)入力アナログ電圧V0 =4.5〔
V〕の場合、上記したように(MSB)=1、(2th
B)=1であるから、読み出し対象の参照点レジスタ2
6はNo.8となり、そのNo.8の参照点レジスタ2
6から読み出されてD/A変換回路22に設定される比
較基準アナログ値VDAは、VDA=3.0〔V〕とな
る。
(A) Input analog voltage V0 = 4.5 [
V], as mentioned above, (MSB) = 1, (2th
Since B)=1, the reference point register 2 to be read is
6 is no. 8, and its No. 8 reference point register 2
The comparison reference analog value VDA read from 6 and set in the D/A conversion circuit 22 is VDA=3.0 [V].

【0050】この場合、V0 =4.5〔V〕と比較す
ると、V0≧VDAとなって、コンパレータ24は“H
”レベルを出力する。変換制御回路20は、コンパレー
タ24から“H”レベルを入力したときは、現在決定し
ようとしているビットである上位3ビット目(3thB
)を、(3thB)=1と確定し、変換制御回路20が
最終的に出力しようとしている5ビットデータD5 を
、D5 =111xxとセットする。
In this case, when compared with V0 = 4.5 [V], V0≧VDA and the comparator 24 becomes “H”.
When the conversion control circuit 20 receives the “H” level from the comparator 24, the conversion control circuit 20 outputs the third upper bit (3thB), which is the bit that is currently being determined.
) is determined to be (3thB)=1, and the 5-bit data D5 that the conversion control circuit 20 is finally going to output is set to D5=111xx.

【0051】(B)入力アナログ電圧V0 =1.0〔
V〕の場合、(MSB)=1、(2thB)=0であっ
たので、読み出し対象の参照点レジスタ26はNo.6
となり、比較基準アナログ値VDA=1.05〔V〕と
なるので、V0 <VDAとなって、コンパレータ24
は“L”レベルを出力する。したがって、変換制御回路
20は、上位3ビット目(3thB)=0と確定し、5
ビットデータD5 =100xxとセットする。
(B) Input analog voltage V0 = 1.0 [
V], since (MSB)=1 and (2thB)=0, the reference point register 26 to be read is No. 6
Therefore, the comparison reference analog value VDA=1.05 [V], so V0 < VDA, and the comparator 24
outputs “L” level. Therefore, the conversion control circuit 20 determines that the third upper bit (3thB)=0, and
Set bit data D5 = 100xx.

【0052】(C)入力アナログ電圧V0 =0.73
〔V〕の場合、(MSB)=1、(2thB)=0であ
ったので、読み出し対象の参照点レジスタ26はNo.
6となり、比較基準アナログ値VDA=1.05〔V〕
となるので、V0 <VDAとなって、コンパレータ2
4は“L”レベルを出力する。したがって、変換制御回
路20は、上位3ビット目(3thB)=0と確定し、
5ビットデータD5 =100xxとセットする。
(C) Input analog voltage V0 = 0.73
In the case of [V], since (MSB)=1 and (2thB)=0, the reference point register 26 to be read is No.
6, comparison reference analog value VDA = 1.05 [V]
Therefore, V0 < VDA and comparator 2
4 outputs "L" level. Therefore, the conversion control circuit 20 determines that the third upper bit (3thB) = 0,
Set 5-bit data D5 = 100xx.

【0053】(D)入力アナログ電圧V0 =0.27
〔V〕の場合、(MSB)=0、(2thB)=0であ
ったので、読み出し対象の参照点レジスタ26はNo.
2となり、比較基準アナログ値VDA=0.30となる
ので、V0 <VDAとなって、コンパレータ24は“
L”レベルを出力する。したがって、変換制御回路20
は、上位3ビット目(3thB)=0と確定し、5ビッ
トデータD5 =000xxとセットする。
(D) Input analog voltage V0 = 0.27
In the case of [V], since (MSB)=0 and (2thB)=0, the reference point register 26 to be read is No.
2, and the comparison reference analog value VDA=0.30, so V0 < VDA, and the comparator 24 outputs “
outputs L” level. Therefore, the conversion control circuit 20
The third upper bit (3thB) is determined to be 0, and the 5-bit data D5 is set to 000xx.

【0054】以上のような動作をN回繰り返すことで、
5ビットデータD5の上位Nビットを確定する。本例の
場合のN=3であるので、■〜■で終了し、これで、上
位3ビットを確定したことになる。
[0054] By repeating the above operation N times,
The upper N bits of the 5-bit data D5 are determined. Since N=3 in this example, processing ends with steps 1 to 2, and the upper 3 bits are now determined.

【0055】残りの(L−N)ビット、すなわち、本例
の場合は、残り(5−3)=2ビットの確定に関しては
、以下のように行う。
The remaining (L-N) bits, that is, in this example, the remaining (5-3)=2 bits are determined as follows.

【0056】■  5ビットデータD5 の上位4ビッ
ト目(4thB)の決定 変換制御回路20は、次いで、((2N−1 ×(MS
B)+2N−2 ×(2thB)+2N−3 ×(3t
hB)+‥‥+20 ×(NthB)+1)番目(これ
を仮にZ番目とする)の参照点レジスタ26に登録され
ている参照点設定値と、((2N−1 ×(MSB)+
2N−2 ×(2thB)+2N−3 ×(3thB)
+‥‥+20 ×(NthB)+2)番目(すなわち、
これは(Z+1)番目である)の参照点レジスタ26に
登録されている参照点設定値とを読み出し、両参照点を
副参照点レジスタA39と副参照点レジスタB40に複
写し、両参照点設定値の平均値VAVE4  を算出し
、さらに、この平均値VAVE4をD/A変換回路22
に転送して設定する。
■ Determination of the fourth upper bit (4thB) of the 5-bit data D5 The conversion control circuit 20 then determines ((2N-1×(MS
B) +2N-2 × (2thB) +2N-3 × (3t
hB) + +20 × (NthB) + 1)th (temporarily assume this is the Z-th) reference point setting value registered in the reference point register 26, and ((2N-1 × (MSB) +
2N-2 × (2thB) + 2N-3 × (3thB)
+‥‥+20×(NthB)+2)th (i.e.,
This is the (Z+1)th) reference point setting value registered in the reference point register 26, and copy both reference points to the sub-reference point register A39 and sub-reference point register B40, and set both reference points. The average value VAVE4 of the values is calculated, and this average value VAVE4 is further applied to the D/A conversion circuit 22.
Transfer to and configure.

【0057】N=3の場合、上記のZ=((22 ×(
MSB)+21 ×(2thB)+20 ×(3thB
)+1)=(4×(MSB)+2×(2thB)+(3
thB)+1)となる。
When N=3, the above Z=((22×(
MSB) + 21 × (2thB) + 20 × (3thB
)+1)=(4×(MSB)+2×(2thB)+(3
thB)+1).

【0058】(A)入力アナログ電圧V0 =4.5〔
V〕の場合、上記したように(MSB)=1、(2th
B)=1、(3thB)=1であるから、読み出し対象
であるZ番目と(Z+1)番目の参照点レジスタ26は
No.8とNo.9となる。No.8、No.9の参照
点レジスタはそれぞれ副参照点レジスタA39、副参照
点レジスタB40に複写される。この結果副参照点レジ
スタA39の値は3.0〔V〕であり、副参照点レジス
タB40の値は5.0〔V〕であるから、平均値VAV
E4=(3.0+5.0)/2=4.0となる。この平
均値VAVE4が比較基準アナログ値VDAとしてD/
A変換回路22に転送されて設定される。すなわち、V
DA=VAVE4=4.0である。
(A) Input analog voltage V0 = 4.5 [
V], as mentioned above, (MSB) = 1, (2th
Since B)=1 and (3thB)=1, the Zth and (Z+1)th reference point registers 26 to be read are No. 8 and no. It becomes 9. No. 8, No. The nine reference point registers are copied to the sub-reference point register A39 and sub-reference point register B40, respectively. As a result, the value of the sub-reference point register A39 is 3.0 [V], and the value of the sub-reference point register B40 is 5.0 [V], so the average value VAV
E4=(3.0+5.0)/2=4.0. This average value VAVE4 is used as the comparison reference analog value VDA.
It is transferred to the A conversion circuit 22 and set. That is, V
DA=VAVE4=4.0.

【0059】入力アナログ電圧V0 =4.5〔V〕で
あるから、V0 ≧VDAとなって、コンパレータ24
は“H”レベルを出力するので、変換制御回路20は、
現在決定しようとしているビットである上位4ビット目
(4thB)を、(4thB)=1と確定し、変換制御
回路20が最終的に出力しようとしている5ビットデー
タD5 を、D5 =1111xとセットする。
Since the input analog voltage V0 = 4.5 [V], V0 ≧VDA, and the comparator 24
outputs “H” level, so the conversion control circuit 20
The upper 4th bit (4thB), which is the bit that is currently being determined, is determined as (4thB) = 1, and the 5-bit data D5 that the conversion control circuit 20 is going to finally output is set as D5 = 1111x. .

【0060】(B)入力アナログ電圧V0 =1.0〔
V〕の場合、(MSB)=1、(2thB)=0、(3
thB)=0であったので、読み出し対象であるZ番目
と(Z+1)番目の参照点レジスタ26はNo.5とN
o.6となる。No.5、No.6の参照点レジスタは
それぞれ副参照点レジスタA39、副参照点レジスタB
40に複写される。この結果副参照点レジスタA39の
値は0.65〔V〕であり、副参照点レジスタB40 
に値は1.05〔V〕であるから、平均値VAVE4=
(0.65+1.05)/2=0.85となる。この平
均値VAVE4が比較基準アナログ値VDAとしてD/
A変換回路22に転送されて設定される。すなわち、V
DA=VAVE4=0.85である。
(B) Input analog voltage V0 = 1.0 [
V], (MSB)=1, (2thB)=0, (3
thB)=0, the Z-th and (Z+1)-th reference point registers 26 to be read are No. 5 and N
o. It becomes 6. No. 5, No. The 6 reference point registers are sub-reference point register A39 and sub-reference point register B, respectively.
Copied to 40. As a result, the value of the sub-reference point register A39 is 0.65 [V], and the value of the sub-reference point register B40 is 0.65 [V].
Since the value is 1.05 [V], the average value VAVE4=
(0.65+1.05)/2=0.85. This average value VAVE4 is used as the comparison reference analog value VDA.
It is transferred to the A conversion circuit 22 and set. That is, V
DA=VAVE4=0.85.

【0061】入力アナログ電圧V0 =1.0〔V〕で
あるから、V0 ≧VDAとなって、コンパレータ24
は“H”レベルを出力する。したがって、変換制御回路
20は、上位4ビット目(4thB)=1と確定し、5
ビットデータD5 =1001xとセットする。
Since the input analog voltage V0 = 1.0 [V], V0 ≧VDA, and the comparator 24
outputs “H” level. Therefore, the conversion control circuit 20 determines that the upper 4th bit (4thB)=1, and
Set bit data D5 = 1001x.

【0062】(C)入力アナログ電圧V0 =0.73
〔V〕の場合、(MSB)=1、(2thB)=0、(
3thB)=0であったので、読み出し対象であるZ番
目と(Z+1)番目の参照点レジスタ26はNo.5と
No.6となる。No.5、No.6の参照点レジスタ
はそれぞれ副参照点レジスタA39、副参照点レジスタ
B40に複写される。この結果上記と同様に、平均値V
AVE4=0.85となる。この平均値VAVE4が比
較基準アナログ値VDAとしてD/A変換回路22に転
送されて設定される。すなわち、VDA=VAVE4=
0.85である。
(C) Input analog voltage V0 = 0.73
In the case of [V], (MSB) = 1, (2thB) = 0, (
3thB)=0, the Z-th and (Z+1)-th reference point registers 26 to be read are No. 5 and no. It becomes 6. No. 5, No. The six reference point registers are copied to the sub-reference point register A39 and sub-reference point register B40, respectively. As a result, the average value V
AVE4=0.85. This average value VAVE4 is transferred to the D/A conversion circuit 22 and set as the comparison reference analog value VDA. That is, VDA=VAVE4=
It is 0.85.

【0063】入力アナログ電圧V0 =0.73〔V〕
であるから、この場合は、V0 <VDAとなって、コ
ンパレータ24は“L”レベルを出力する。したがって
、変換制御回路20は、上位4ビット目(4thB)=
0と確定し、5ビットデータD5 =1000xとセッ
トする。
[0063] Input analog voltage V0 = 0.73 [V]
Therefore, in this case, V0<VDA, and the comparator 24 outputs the "L" level. Therefore, the conversion control circuit 20 calculates that the fourth upper bit (4thB)=
0 and set 5-bit data D5 = 1000x.

【0064】(D)入力アナログ電圧V0 =0.27
〔V〕の場合、(MSB)=0、(2thB)=0、(
3thB)=0であったので、読み出し対象であるZ番
目と(Z+1)番目の参照点レジスタ26はNo.1と
No.2となる。No.1、No.2の参照点レジスタ
はそれぞれ副参照点レジスタA39、副参照点レジスタ
B40に複写される。この結果副参照点レジスタA39
の値は0.25〔V〕であり、副参照点レジスタB40
の値は0.30〔V〕であるから、平均値VAVE4=
(0.25+0.30)/2=0.275となる。この
平均値VAVE4が比較基準アナログ値VDAとしてD
/A変換回路22に転送されて設定される。すなわち、
VDA=VAVE4=0.275である。
(D) Input analog voltage V0 = 0.27
In the case of [V], (MSB) = 0, (2thB) = 0, (
3thB)=0, the Z-th and (Z+1)-th reference point registers 26 to be read are No. 1 and no. It becomes 2. No. 1.No. The two reference point registers are copied to the sub-reference point register A39 and sub-reference point register B40, respectively. As a result, sub reference point register A39
The value of is 0.25 [V], and the sub reference point register B40
Since the value of is 0.30 [V], the average value VAVE4=
(0.25+0.30)/2=0.275. This average value VAVE4 is used as the comparison reference analog value VDA.
/A conversion circuit 22 and set. That is,
VDA=VAVE4=0.275.

【0065】入力アナログ電圧V0 =0.27〔V〕
であるから、V0 <VDAとなって、コンパレータ2
4は“L”レベルを出力する。したがって、変換制御回
路20は、上位4ビット目(4thB)=0と確定し、
5ビットデータD5 =0000xとセットする。
Input analog voltage V0 = 0.27 [V]
Therefore, V0 < VDA, and comparator 2
4 outputs "L" level. Therefore, the conversion control circuit 20 determines that the fourth upper bit (4thB) = 0,
Set 5-bit data D5 = 0000x.

【0066】■  5ビットデータD5 の上位5ビッ
ト目(5thB)、すなわち最下位ビット(LSB)の
決定変換制御回路20は、上記■の過程において、(4
thB)=1と確定したときには、この■の過程での基
準として、副参照点レジスタB40と上記の平均値VA
VE4とを新たな基準として、これらの平均値VAVE
5を算出し、VAVE4を副参照点レジスタA39に複
写し、さらに、この平均値VAVE5をD/A変換回路
22に転送して設定する。
■ Determination of the upper 5th bit (5thB) of the 5-bit data D5, that is, the least significant bit (LSB) The conversion control circuit 20 determines (4th
thB) = 1, the sub reference point register B40 and the above average value VA are used as a reference in the process of
Using VE4 as a new standard, these average values VAVE
5 is calculated, VAVE4 is copied to the sub-reference point register A39, and this average value VAVE5 is further transferred to and set in the D/A conversion circuit 22.

【0067】また、上記■の過程において、(4thB
)=0と確定したときには、この■の過程での基準とし
て、副参照点レジスタA39と上記の平均値VAVE4
とを新たな基準として、これらの平均値VAVE5を算
出し、VAVE4を副参照点レジスタA39に複写し、
さらに、この平均値VAVE5をD/A変換回路22に
転送して設定する。
[0067] Also, in the process of (2) above, (4thB
) = 0, the sub reference point register A39 and the above average value VAVE4 are used as a reference in the process of
Using this as a new standard, calculate these average values VAVE5, copy VAVE4 to the sub reference point register A39,
Furthermore, this average value VAVE5 is transferred to and set in the D/A conversion circuit 22.

【0068】すなわち、入力アナログ電圧V0 を平均
値VAVE5との間で挟み得るような副参照点レジスタ
A39または副参照点レジスタB40を選ぶようにして
いる。
That is, the sub-reference point register A39 or the sub-reference point register B40 is selected so that the input analog voltage V0 can be sandwiched between the input analog voltage V0 and the average value VAVE5.

【0069】(A)入力アナログ電圧V0 =4.5〔
V〕の場合、(4thB)=1であったので、副参照点
レジスタB40の参照点設定値5.0〔V〕と平均値V
AVE4=4.0〔V〕との平均値VAVE5=(5.
0+4.0)/2=4.5を算出し、VAVE4を副参
照点レジスタA39に複写する。このことは、換言すれ
ば、(4thB)=1であったので、平均値VAVE4
=4.0〔V〕よりも値の大きな参照点設定値をもつ副
参照点レジスタB40 を選択しているということであ
る。そして、その平均値VAVE5が比較基準アナログ
値VDAとしてD/A変換回路22に転送されて設定さ
れる。すなわち、VDA=VAVE5=4.5である。
(A) Input analog voltage V0 = 4.5 [
V], (4thB) = 1, so the reference point setting value 5.0 [V] of the sub reference point register B40 and the average value V
Average value of AVE4=4.0 [V] VAVE5=(5.
0+4.0)/2=4.5 is calculated and VAVE4 is copied to the sub reference point register A39. In other words, since (4thB)=1, the average value VAVE4
This means that the sub reference point register B40 having a reference point setting value greater than =4.0 [V] is selected. Then, the average value VAVE5 is transferred to the D/A conversion circuit 22 and set as the comparison reference analog value VDA. That is, VDA=VAVE5=4.5.

【0070】入力アナログ電圧V0 =4.5〔V〕で
あるから、V0 =VDAとなって、コンパレータ24
は“H”レベルを出力するので、変換制御回路20は、
現在決定しようとしているビットである上位5ビット目
(5thB)を、(5thB)=1と確定し、変換制御
回路20が最終的に出力しようとしている5ビットデー
タD5 を、D5 =11111とセットする。
Since the input analog voltage V0 = 4.5 [V], V0 = VDA, and the comparator 24
outputs “H” level, so the conversion control circuit 20
The upper 5th bit (5thB), which is the bit that is currently being determined, is determined as (5thB) = 1, and the 5-bit data D5 that the conversion control circuit 20 is going to finally output is set as D5 = 11111. .

【0071】もし、仮に、入力アナログ電圧V0 が4
.5〔V〕ではなく、4.49〔V〕であったなら、D
5 =11110となる。
If the input analog voltage V0 is 4
.. If it was 4.49 [V] instead of 5 [V], then D
5=11110.

【0072】(B)入力アナログ電圧V0 =1.0〔
V〕の場合、(4thB)=1であったので、副参照点
レジスタB40 の参照点設定値1.05〔V〕と平均
値VAVE4=0.85〔V〕との平均値VAVE5=
(1.05+0.85)/2=0.95を算出し、VA
VE4を副参照点レジスタA39に複写する。このこと
は、換言すれば、(4thB)=1であったので、平均
値VAVE4=0.85〔V〕よりも値の大きな参照点
設定値をもつNo.6の参照点レジスタ26を選択して
いるということである。そして、その平均値VAVE5
が比較基準アナログ値VDAとしてD/A変換回路22
に転送されて設定される。すなわち、VDA=VAVE
5=0.95である。
(B) Input analog voltage V0 = 1.0 [
In the case of (4thB)=1, the average value VAVE5= of the reference point setting value 1.05[V] of the sub-reference point register B40 and the average value VAVE4=0.85[V]
(1.05+0.85)/2=0.95 and VA
Copy VE4 to the sub reference point register A39. In other words, since (4thB)=1, No. 1 with a reference point setting value larger than the average value VAVE4=0.85 [V]. This means that reference point register 26 of No. 6 is selected. And the average value VAVE5
is the comparison reference analog value VDA in the D/A conversion circuit 22.
will be transferred to and set. That is, VDA=VAVE
5=0.95.

【0073】入力アナログ電圧V0 =1.0〔V〕で
あるから、V0 ≧VDAとなって、コンパレータ24
は“H”レベルを出力する。したがって、変換制御回路
20は、上位5ビット目(5thB)=1と確定し、5
ビットデータD5 =10011とセットする。
Since the input analog voltage V0 = 1.0 [V], V0 ≧VDA, and the comparator 24
outputs “H” level. Therefore, the conversion control circuit 20 determines that the fifth upper bit (5thB)=1, and
Set bit data D5 = 10011.

【0074】もし、仮に、入力アナログ電圧V0 が1
.0〔V〕ではなく、0.94〔V〕であったなら、D
5 =10010となる。
If the input analog voltage V0 is 1
.. If it was 0.94 [V] instead of 0 [V], then D
5=10010.

【0075】(C)入力アナログ電圧V0 =0.73
〔V〕の場合、(4thB)=0であったので、副参照
点レジスタA39の参照点設定値0.65〔V〕と平均
値VAVE4=0.85〔V〕との平均値VAVE5=
(0.65+0.85)/2=0.75を算出し、VA
VE4を副参照点レジスタB40 に複写する。このこ
とは、換言すれば、(4thB)=0であったので、平
均値VAVE4=0.85〔V〕よりも値の小さな参照
点設定値をもつ副参照点レジスタA39を選択している
ということである。そして、その平均値VAVE5が比
較基準アナログ値VDAとしてD/A変換回路22に転
送されて設定される。 すなわち、VDA=VAVE5=0.75である。
(C) Input analog voltage V0 = 0.73
In the case of [V], since (4thB)=0, the average value VAVE5= of the reference point setting value 0.65 [V] of the sub reference point register A39 and the average value VAVE4=0.85 [V]
(0.65+0.85)/2=0.75 and VA
Copy VE4 to sub reference point register B40. In other words, since (4thB) = 0, the sub reference point register A39 with a reference point setting value smaller than the average value VAVE4 = 0.85 [V] is selected. That's true. Then, the average value VAVE5 is transferred to the D/A conversion circuit 22 and set as the comparison reference analog value VDA. That is, VDA=VAVE5=0.75.

【0076】入力アナログ電圧V0 =0.73〔V〕
であるから、V0 <VDAとなって、コンパレータ2
4は“L”レベルを出力する。したがって、変換制御回
路20は、上位5ビット目(5thB)=0と確定し、
5ビットデータD5 =10000とセットする。
Input analog voltage V0 = 0.73 [V]
Therefore, V0 < VDA, and comparator 2
4 outputs "L" level. Therefore, the conversion control circuit 20 determines that the fifth upper bit (5thB) = 0,
Set 5-bit data D5 = 10000.

【0077】もし、仮に、入力アナログ電圧V0 が0
.73〔V〕ではなく、0.76〔V〕であったなら、
D5 =10001となる。
If the input analog voltage V0 is 0
.. If it were 0.76 [V] instead of 73 [V],
D5=10001.

【0078】(D)入力アナログ電圧V0 =0.27
〔V〕の場合、(4thB)=0であったので、副参照
点レジスタA39の参照点設定値0.25〔V〕と平均
値VAVE4=0.275〔V〕との平均値VAVE5
=(0.25+0.275)/2=0.2625を算出
し、VAVE4を副参照点レジスタB40 に複写する
。このことは、換言すれば、(4thB)=0であった
ので、平均値VAVE4=0.275〔V〕よりも値の
小さな参照点設定値をもつ副参照点レジスタA39を選
択しているということである。そして、その平均値VA
VE5が比較基準アナログ値VDAとしてD/A変換回
路22に転送されて設定される。すなわち、VDA=V
AVE5=0.2626である。
(D) Input analog voltage V0 = 0.27
In the case of [V], since (4thB) = 0, the average value VAVE5 of the reference point setting value 0.25 [V] of the sub reference point register A39 and the average value VAVE4 = 0.275 [V]
=(0.25+0.275)/2=0.2625 is calculated and VAVE4 is copied to the sub reference point register B40. In other words, since (4thB) = 0, the sub reference point register A39 with a reference point setting value smaller than the average value VAVE4 = 0.275 [V] is selected. That's true. And the average value VA
VE5 is transferred to the D/A conversion circuit 22 and set as the comparison reference analog value VDA. That is, VDA=V
AVE5=0.2626.

【0079】入力アナログ電圧V0 =0.27〔V〕
であるから、V0 ≧VDAとなって、コンパレータ2
4は“H”レベルを出力する。したがって、変換制御回
路20は、上位5ビット目(5thB)=1と確定し、
5ビットデータD5 =00001とセットする。
Input analog voltage V0 = 0.27 [V]
Therefore, V0 ≧VDA, and comparator 2
4 outputs "H" level. Therefore, the conversion control circuit 20 determines that the fifth upper bit (5thB) = 1,
Set 5-bit data D5 =00001.

【0080】もし、仮に、入力アナログ電圧V0 が0
.27〔V〕ではなく、0.26〔V〕であったなら、
D5 =00000となる。
If the input analog voltage V0 is 0
.. If it were 0.26 [V] instead of 27 [V],
D5=00000.

【0081】以上のようにして、5ビットデータD5 
の最下位ビット(LSB)までが確定したので、変換制
御回路20はA/D変換動作を終了する。そして、変換
制御回路20は、最終的に確定された5ビットデータD
5 を5本のラインからなるディジタルデータ入・出力
端子36へと出力し、ステータス端子32を“H”レベ
ルとする。
As described above, the 5-bit data D5
Since up to the least significant bit (LSB) has been determined, the conversion control circuit 20 ends the A/D conversion operation. Then, the conversion control circuit 20 finally determines the 5-bit data D.
5 is outputted to the digital data input/output terminal 36 consisting of five lines, and the status terminal 32 is set to the "H" level.

【0082】[0082]

【発明の効果】以上のように、本発明によれば、参照点
レジスタに対しては、任意の比較基準アナログ値を自由
にプリセットすることができるから、A/D変換特性の
変更に際して、従来例のように特性可変用フィルタを交
換するといったわずらわしさがなく、単なる入力値の変
更のみですむ。すなわち、特性変更を迅速かつ容易に行
うことができる。また、参照点設定値としては任意の値
を選択できるので、A/D変換特性についてきわめて広
範な多様性をもたせることができる。それでいて、コス
トアップを招来しないですみ、むしろ、コストダウンを
推進することができる。
As described above, according to the present invention, any comparison standard analog value can be freely preset in the reference point register, so that when changing A/D conversion characteristics, it is possible to preset the reference point register as desired. Unlike the example, there is no need to worry about replacing filters for variable characteristics, and all you have to do is change the input values. That is, characteristics can be changed quickly and easily. Further, since any value can be selected as the reference point setting value, it is possible to provide an extremely wide variety of A/D conversion characteristics. However, there is no need to increase costs, and in fact, it is possible to promote cost reductions.

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

【図1】本発明の一実施例に係る可変特性A/Dコンバ
ータを示すブロック回路図である。
FIG. 1 is a block circuit diagram showing a variable characteristic A/D converter according to an embodiment of the present invention.

【図2】実施例に係り、参照点レジスタのレジスタナン
バーとD/A変換回路による比較基準アナログ値との変
換特性図である。
FIG. 2 is a conversion characteristic diagram between a register number of a reference point register and a comparison reference analog value by a D/A conversion circuit according to the embodiment.

【図3】従来の特性可変用フィルタを用いた可変特性A
/Dコンバータを示すブロック回路図である。
[Figure 3] Variable characteristic A using a conventional characteristic variable filter
FIG. 2 is a block circuit diagram showing a /D converter.

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

20    変換制御回路            3
4    アナログ入力端子 22    D/A変換回路          36
    ディジタルデータ入・出力端子 24    コンパレータ            3
8    可変特性A/Dコンバータ 26    参照点レジスタ          39
    副参照レジスタA 28    プリセット/変換端子    40   
 副参照レジスタB 30    スタート端子            V
0     入力アナログ電圧 32    ステータス端子          VD
A    比較基準アナログ値
20 Conversion control circuit 3
4 Analog input terminal 22 D/A conversion circuit 36
Digital data input/output terminal 24 Comparator 3
8 Variable characteristic A/D converter 26 Reference point register 39
Sub-reference register A 28 Preset/conversion terminal 40
Sub-reference register B 30 Start terminal V
0 Input analog voltage 32 Status terminal VD
A Comparison reference analog value

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  アナログ入力端子に印加された入力ア
ナログ電圧とD/A変換回路から出力された比較基準ア
ナログ値とを比較するコンパレータと、前記コンパレー
タからの入力状態に基づいて前記D/A変換回路へ転送
設定する比較基準アナログ値を逐次的に更新する変換制
御回路とを備えた可変特性A/Dコンバータであって、
前記変換制御回路が読み出して前記D/A変換回路に転
送する比較基準アナログ値として任意の値を外部からプ
リセット可能な複数の参照点レジスタと、前記の参照点
レジスタ間を補間する二つの副参照点レジスタを設けた
ことを特徴とする可変特性A/Dコンバータ。
1. A comparator that compares an input analog voltage applied to an analog input terminal with a comparison reference analog value output from a D/A conversion circuit; A variable characteristic A/D converter comprising a conversion control circuit that sequentially updates a comparison reference analog value to be transferred and set to a circuit,
a plurality of reference point registers capable of externally presetting arbitrary values as comparison reference analog values read by the conversion control circuit and transferred to the D/A conversion circuit; and two sub-references for interpolating between the reference point registers. A variable characteristic A/D converter characterized by being provided with a point register.
JP3111692A 1991-05-16 1991-05-16 Variable characteristic A / D converter Expired - Fee Related JP2764476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3111692A JP2764476B2 (en) 1991-05-16 1991-05-16 Variable characteristic A / D converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3111692A JP2764476B2 (en) 1991-05-16 1991-05-16 Variable characteristic A / D converter

Publications (2)

Publication Number Publication Date
JPH04340814A true JPH04340814A (en) 1992-11-27
JP2764476B2 JP2764476B2 (en) 1998-06-11

Family

ID=14567752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3111692A Expired - Fee Related JP2764476B2 (en) 1991-05-16 1991-05-16 Variable characteristic A / D converter

Country Status (1)

Country Link
JP (1) JP2764476B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6181268B1 (en) * 1998-10-21 2001-01-30 Mitsubishi Electric Semiconductor System Corporation Successive approximation A/D converter improving tracking ability of digital signal to analog signal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54120555A (en) * 1978-03-10 1979-09-19 Icom Inc Converter
JPS5797222A (en) * 1980-12-09 1982-06-16 Canon Inc Nonlinear analog-to-digital converter
JPS61128630A (en) * 1984-11-28 1986-06-16 Hitachi Ltd Analog-digital converter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54120555A (en) * 1978-03-10 1979-09-19 Icom Inc Converter
JPS5797222A (en) * 1980-12-09 1982-06-16 Canon Inc Nonlinear analog-to-digital converter
JPS61128630A (en) * 1984-11-28 1986-06-16 Hitachi Ltd Analog-digital converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6181268B1 (en) * 1998-10-21 2001-01-30 Mitsubishi Electric Semiconductor System Corporation Successive approximation A/D converter improving tracking ability of digital signal to analog signal

Also Published As

Publication number Publication date
JP2764476B2 (en) 1998-06-11

Similar Documents

Publication Publication Date Title
US5283580A (en) Current/resistor digital-to-analog converter having enhanced integral linearity and method of operation
US4638303A (en) Digital-analog converter
US4338591A (en) High resolution digital-to-analog converter
JP2819006B2 (en) Thermometer binary encoding method
US5059978A (en) Resistor-string digital to analog converters with auxiliary coarse ladders
GB2118386A (en) High resolution digital-to-analog converter
GB2093297A (en) D/a converting circuit having two d/a converters
US4763108A (en) Digital-to-analog conversion system
JPH04340814A (en) A/d converter having variable characteristic
US4580131A (en) Binarily weighted D to a converter ladder with inherently reduced ladder switching noise
US5699064A (en) Oversampling D/A converter using a bidirectional shift register
JPH07200252A (en) Burrel shifter circuit
JPH01133424A (en) Da converting circuit
JP7396845B2 (en) Successive approximation AD converter
JPH01174014A (en) Analog digital converter
JPH01223825A (en) A/d converter
JPH07231256A (en) A/d converter
JP2530817B2 (en) Linear / non-linear code conversion method and conversion circuit
JP2000068834A (en) Signal conversion method and signal converter
JP3112349B2 (en) Analog-to-digital converter
JP2844971B2 (en) Digital code processing system
JPH02186710A (en) Band limiting system for base band
JPH0322710A (en) Parallel comparison type a/d converter
JPH01133425A (en) Da converting circuit
JPS6251826A (en) Adaptive delta modulator-demodulator

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080403

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090403

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090403

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100403

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees