JPH0897721A - Ad/da converter - Google Patents

Ad/da converter

Info

Publication number
JPH0897721A
JPH0897721A JP23294894A JP23294894A JPH0897721A JP H0897721 A JPH0897721 A JP H0897721A JP 23294894 A JP23294894 A JP 23294894A JP 23294894 A JP23294894 A JP 23294894A JP H0897721 A JPH0897721 A JP H0897721A
Authority
JP
Japan
Prior art keywords
conversion
output
voltage
digital value
analog voltage
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
JP23294894A
Other languages
Japanese (ja)
Inventor
Masatoshi Ochi
正俊 越智
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP23294894A priority Critical patent/JPH0897721A/en
Publication of JPH0897721A publication Critical patent/JPH0897721A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE: To solve problems of increased chip area due to integration of AD/DA converters and of disable A/D conversion during D/A conversion. CONSTITUTION: The AD/DA converter is made up of an analog voltage generating section 1 generating an analog voltage corresponding to a digital value from a reference voltage, a selector 12 selecting an output of the analog voltage to a voltage hold section 13 or a comparator 7 based on a signal from the control section 1, the comparator 7 comparing an output voltage from the selector 12 with an analog input, a register 4 having a function of varying sequentially the digital value based on the comparison result, a decoder 3 decoding the digital value in the register 4, and a control section 11 controlling the selector 12 with a VDAC output destination selection signal and the register 4 with an AD/DA conversion selection signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、AD/DA(アナログ
−デジタル/デジタル−アナログ)変換器に関する。
BACKGROUND OF THE INVENTION The present invention relates to an AD / DA (analog-digital / digital-analog) converter.

【0002】[0002]

【従来の技術】近年、マイクロコンピュータ等の機器制
御用の集積回路において、機器との間で情報を授受する
ためにAD変換器及びDA変換器が内蔵されるようにな
った。すなわち、センサー等からのアナログ情報をデジ
タル処理するためにAD変換器を使用し、モーターなど
を制御するためのアナログ情報を出力するためにDA変
換器を使用する。マイクコンピュータでは一般的にAD
/DA変換器に使用するアナログ電圧発生用の抵抗は面
積が非常に大きく、AD変換器用とDA変換器用の抵抗
をそれぞれ内蔵することはチップ面積を小さくする上で
障害となっている。
2. Description of the Related Art In recent years, in an integrated circuit for controlling equipment such as a microcomputer, an AD converter and a DA converter have been built in for exchanging information with the equipment. That is, an AD converter is used to digitally process analog information from a sensor or the like, and a DA converter is used to output analog information for controlling a motor or the like. Microphones are generally AD
The resistance for analog voltage generation used in the / DA converter has a very large area, and incorporating resistors for the AD converter and the DA converter, respectively, is an obstacle to reducing the chip area.

【0003】かかる問題を解決する方法のひとつとし
て、従来、AD変換器とDA変換器のアナログ電圧発生
用の抵抗を共有する方法がある。
As a method for solving such a problem, there is a conventional method of sharing a resistor for generating an analog voltage between an AD converter and a DA converter.

【0004】[従来例1]図2は抵抗分圧を用いた代表
的な逐次型AD変換器のブロック図である。分圧抵抗と
分圧用スイッチからなり基準電圧2(以下VREFと呼
ぶ)を分圧しデコーダ3から入力されるデジタル値に対
応したアナログ電圧を生成するアナログ電圧発生部1
と、アナログ電圧発生部1から出力されたアナログ電圧
5(以下VDACと呼ぶ)とアナログ入力6(以下VI
Nと呼ぶ)を比較して、VDAC>VINの時ローレベ
ル(以下Lとする)を、VDAC<VINの時ハイレベ
ル(以下Hとする)を出力する比較器7と、比較器7か
らの比較結果出力8によって逐次デジタル値を変化し、
最下位ビットまで逐次変化するAD変換終了信号17を
出力するレジスタ41と、レジスタ41のデジタル値を
デコードしアナログ電圧発生部1の分圧用のスイッチ切
り替え信号を出力するデコーダ3より構成されている。
[Prior Art 1] FIG. 2 is a block diagram of a typical successive A / D converter using resistance voltage division. An analog voltage generating unit 1 including a voltage dividing resistor and a voltage dividing switch, which divides a reference voltage 2 (hereinafter referred to as VREF) to generate an analog voltage corresponding to a digital value input from the decoder 3.
, An analog voltage 5 (hereinafter referred to as VDAC) output from the analog voltage generator 1 and an analog input 6 (hereinafter referred to as VI).
(Hereinafter referred to as N) and outputs a low level (hereinafter, L) when VDAC> VIN and a high level (hereinafter, H) when VDAC <VIN. The digital value is sequentially changed by the comparison result output 8,
It is composed of a register 41 that outputs an AD conversion end signal 17 that sequentially changes to the least significant bit, and a decoder 3 that decodes a digital value of the register 41 and outputs a switch switching signal for voltage division of the analog voltage generator 1.

【0005】ここで、2ビットのAD変換器においてV
REFが5VでVINが2VのときのAD変換動作につ
いて説明する。まず前提条件を以下の通りとする。
Here, in the 2-bit AD converter, V
The AD conversion operation when REF is 5V and VIN is 2V will be described. First, the preconditions are as follows.

【0006】〈前提条件〉 ○デジタル値の初期値 10B ○デジタル値とVDACとの関係(2進数をBを付加し
て表現する) デジタル値 VDAC 00B 0V 01B 0.625V 10B 1.875V 11B 3.125V ○比較器7の出力結果とレジスタ41のデジタル値の変
化の関係 比較器7の出力 デジタル値の変化 L……比較中のビットを0とし1ビット下位を1にする H……比較中のビットはそのまま(1)で1ビット下位
を1にする ※比較中のビットが最下位ビットの場合比較中のビット
のみ比較器7の出力結果に基づいて変化する。
<Precondition> ○ Initial value of digital value 10B ○ Relationship between digital value and VDAC (binary number is expressed by adding B) Digital value VDAC 00B 0V 01B 0.625V 10B 1.875V 11B 3. 125V ○ Relationship between output result of comparator 7 and change in digital value of register 41 Change in output digital value of comparator 7 L ... Set bit being compared to 0 and lower 1 bit to 1 H ... The bit is left unchanged (1) and the lower bit of the bit is set to 1. * If the bit being compared is the least significant bit, only the bit being compared changes based on the output result of the comparator 7.

【0007】最初レジスタ41は10Bとなっている。
この値をデコータ3でデコードした結果から分圧用スイ
ッチが切り替えられアナログ電圧発生部1からは前提条
件よりVDAC=1.875Vが出力される。比較器7
でVIN=2VとVDAC=1.875Vを比較すると
上述したように比較器7からはHが出力される。比較器
7からHを受けたレジスタ41では比較中のビット(ビ
ット1)を1とし1ビット下位のビット(ビット0)を
1に設定する。つまり10Bから11Bに変化する。こ
の新しいレジスタ値を元に同様にしてアナログ電圧発生
部からVDAC=3.125Vが出力され比較器7でV
IN=2Vと比較しLが出力される。レジスタ41では
デジタル値が11Bから10Bに変化する。最下位ビッ
トまで逐次比較されたことになりAD変換を終了し、デ
ータバス16を介して変換結果を読み出すことができ
る。
Initially, the register 41 is 10B.
From the result of decoding this value by the decoder 3, the voltage dividing switch is switched, and VDAC = 1.875V is output from the analog voltage generator 1 according to the precondition. Comparator 7
Then, when VIN = 2V and VDAC = 1.875V are compared, H is output from the comparator 7 as described above. In the register 41 which has received H from the comparator 7, the bit being compared (bit 1) is set to 1 and the bit 1 bit lower (bit 0) is set to 1. That is, it changes from 10B to 11B. Similarly, based on this new register value, VDAC = 3.125V is output from the analog voltage generator and VDAC is output by the comparator 7.
L is output in comparison with IN = 2V. In the register 41, the digital value changes from 11B to 10B. Since the least significant bits have been successively compared, the AD conversion is completed and the conversion result can be read out via the data bus 16.

【0008】[従来例2]図3に抵抗分圧を用いたDA
変換器のブロック図を示す。デジタル値を設定するレジ
スタ42と、分圧抵抗と分圧用スイッチからなりVRE
Fからデジタル値に対応したVDACを生成するアナロ
グ電圧発生部1と、レジスタ42のデジタル値をデコー
ドしアナログ電圧発生部1の分圧用スイッチ切り替え信
号を出力するデコーダ3より構成されている。
[Conventional Example 2] FIG. 3 shows a DA using resistance voltage division.
3 shows a block diagram of a converter. A register 42 for setting a digital value, a voltage dividing resistor and a voltage dividing switch
It is composed of an analog voltage generator 1 that generates a VDAC corresponding to a digital value from F, and a decoder 3 that decodes the digital value of the register 42 and outputs a voltage division switch switching signal of the analog voltage generator 1.

【0009】ここで、2ビットのDA変換器の変換動作
について説明する。まず前提条件を以下の通りとする。
The conversion operation of the 2-bit DA converter will be described below. First, the preconditions are as follows.

【0010】〈前提条件〉 ○デジタル値とVDACとの関係 デジタル値 VDAC 00B 0V 01B 1.25V 10B 2.50V 11B 3.75V VREFは5Vとする。レジスタ42にデジタル値01
Bを設定したとすると、この値をデコーダ3でデコード
した結果から分圧用スイッチが切り替えられアナログ電
圧発生部1からは前提条件よりVDAC=1.25Vと
なりアナログ出力10から出力される。以後、レジスタ
42のデジタル値が変化する毎に前提条件に対応したV
DACがアナログ出力10から出力される。
<Prerequisite> ○ Relationship between digital value and VDAC Digital value VDAC 00B 0V 01B 1.25V 10B 2.50V 11B 3.75V VREF is 5V. Digital value 01 in register 42
If B is set, the voltage dividing switch is switched based on the result of decoding this value by the decoder 3, and VDAC = 1.25 V is output from the analog output 10 from the analog voltage generator 1 based on the precondition. After that, each time the digital value of the register 42 changes, V corresponding to the precondition
The DAC is output from the analog output 10.

【0011】[従来例3]図4に第3の従来例のブロッ
ク図を示す。従来例1、2と同様の機能に関しては同じ
番号を付し詳しい説明を省略する。AD変換器とDA変
換器のアナログ電圧発生器1とデコーダ3を共用し、A
D変換器用のデジタル値を逐次変化するレジスタ41と
DA変換器用のレジスタ42とから構成されている。本
従来例においてはAD変換中もDA変換中もアナログ電
圧発生回路1から出力されるアナログ電圧5はアナログ
出力10と比較器7と両方に出力されるためDA変換中
にAD変換を行うことができなくなる。逆にAD変換中
にDA変換をする事も不可能であるが、ADの変換時間
が(変換方式にもよるが逐次変換方式の場合)数μsか
ら数十μs程度なので、AD変換時間待てばDA変換が
可能になる。
[Conventional Example 3] FIG. 4 shows a block diagram of a third conventional example. The same functions as those in the conventional examples 1 and 2 are designated by the same reference numerals and detailed description thereof will be omitted. The analog voltage generator 1 and the decoder 3 of the AD converter and the DA converter are shared, and A
It is composed of a register 41 for sequentially changing a digital value for the D converter and a register 42 for the DA converter. In this conventional example, the analog voltage 5 output from the analog voltage generation circuit 1 is output to both the analog output 10 and the comparator 7 during both AD conversion and DA conversion, and therefore AD conversion can be performed during DA conversion. become unable. On the contrary, it is impossible to perform DA conversion during AD conversion, but since the AD conversion time is several μs to several tens μs (depending on the conversion system, in the case of the sequential conversion system), wait for the AD conversion time. DA conversion becomes possible.

【0012】[0012]

【発明が解決しようとする課題】以上に述べた通り、抵
抗分圧型のAD変換器とDA変換器を内蔵する場合、抵
抗の面積が大きいためにチップ面積を小さくする上で障
害となっている。また、上述した従来例のように単にA
D変換器とDA変換器のアナログ電圧発生用の抵抗を共
有すると、DA変換したアナログ電圧を出力している
間、AD変換動作を行うことができなくなるという問題
がある。
As described above, when the resistance voltage dividing type AD converter and the DA converter are built in, the resistance area is large, which is an obstacle to reducing the chip area. . In addition, as in the conventional example described above, A
If the resistors for generating the analog voltage of the D converter and the DA converter are shared, there is a problem that the AD conversion operation cannot be performed while the DA converted analog voltage is being output.

【0013】[0013]

【課題を解決するための手段】本発明によれば、AD/
DA変換器は、AD変換もしくはDA変換のいずれかを
選択するAD/DA変換選択信号と、DA変換されたア
ナログ電圧出力をAD変換用の比較器への出力もしくは
端子への出力のいずれかを選択するアナログ電圧出力先
選択信号を生成する制御部と、前記制御部に入力されA
D/DA変換選択信号とアナログ電圧出力先選択信号を
付勢しAD変換動作を活性化するAD変換活性化信号
と、アナログ入力電圧と基準電圧を比較する比較器と、
前記制御部から出力されるAD/DA変換選択信号に基
づきAD変換が選択されたときは、前記比較器からの出
力結果に応じてデジタル値が逐次変化し、且つAD変換
の終了を検出しAD変換終了信号を出力し、DA変換が
選択されたときは逐次変化が不可となりデジタル値をデ
ータバスより設定可能とレジスタと、前記レジスタのデ
ジタル値をデコードし所定のデコード信号群を生成する
デコーダと、前記デコーダからの出力に応じて基準電圧
を分圧しアナログ電圧を生成するアナログ電圧発生部
と、前記アナログ電圧発生部から出力されたアナログ電
圧を保持する電圧保持部に出力する基準電圧として比較
器に出力するかを切り替えるセレクタからなり、アナロ
グ入力電圧より所定のデジタル値を生成するAD変換機
能とデジタル値より所定のアナログ電圧を端子より出力
するDA変換機能を備えたAD/DA変換器が得られ
る。
According to the present invention, AD /
The DA converter outputs an AD / DA conversion selection signal for selecting either AD conversion or DA conversion and an output of the DA converted analog voltage output to a comparator for AD conversion or an output to a terminal. A control unit for generating an analog voltage output destination selection signal to be selected;
An AD conversion activation signal for energizing the D / DA conversion selection signal and the analog voltage output destination selection signal to activate the AD conversion operation, and a comparator for comparing the analog input voltage with the reference voltage,
When AD conversion is selected based on the AD / DA conversion selection signal output from the control unit, the digital value is sequentially changed according to the output result from the comparator, and the end of AD conversion is detected. A register that outputs a conversion end signal and cannot change sequentially when DA conversion is selected and a digital value can be set from the data bus, and a decoder that decodes the digital value of the register to generate a predetermined decode signal group An analog voltage generator that divides a reference voltage according to an output from the decoder to generate an analog voltage, and a comparator as a reference voltage that is output to a voltage holder that holds the analog voltage output from the analog voltage generator. It is composed of a selector that switches whether to output to, the AD conversion function that generates a predetermined digital value from the analog input voltage and the digital value AD / DA converter with a DA conversion function to output from the terminal a constant analog voltage.

【0014】また、本発明によれば、前記アナログ電圧
発生部は分圧抵抗と分圧用スイッチから成ることを特徴
とするAD/DA変換器が得られる。
Further, according to the present invention, there is provided an AD / DA converter characterized in that the analog voltage generating section comprises a voltage dividing resistor and a voltage dividing switch.

【0015】更に、本発明によれば、前記デコーダは、
前記レジスタのデジタル値をデコードし前記アナログ電
圧発生部の分圧用スイッチの切り替え信号を出力するこ
とを特徴とするAD/DA変換器が得られる。
Further in accordance with the invention, the decoder comprises:
An AD / DA converter characterized in that it decodes a digital value of the register and outputs a switching signal of a voltage dividing switch of the analog voltage generator is obtained.

【0016】[0016]

【実施例】以下、本発明の実施例に係るAD/DA変換
器について、図1を参照して説明する。CPUから出力
されるAD変換活性化信号18によりVDAC出力先選
択信号14とAD/DA変換選択信号15を出力する制
御部11と、AD変換が選択されたときはデジタル値が
逐次変化し且つ変換が終了するとAD変換終了信号17
を出力し、DA変換が選択されたときは逐次変化が不可
となりデジタル値をデータバス16より設定可能となる
レジスタ4と、レジスタ4のデジタル値をデコードしア
ナログ電圧発生部1の分圧用スイッチ切り替え信号を出
力するデコーダ3と、分圧抵抗と分圧用スイッチからな
りVREFを分圧しデコーダ3からの出力に対応したV
DACを生成するアナログ電圧発生部1と、アナログ電
圧発生部1から出力されたVDACを制御部11からの
VDAC出力先選択信号14によってアナログ電圧を保
持する電圧保持部13に出力するか比較器7に出力する
かを切り替えるセレクタ12と、セレクタ12からの出
力電圧とVINを比較する比較器7より構成されてい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An AD / DA converter according to an embodiment of the present invention will be described below with reference to FIG. The control unit 11 that outputs the VDAC output destination selection signal 14 and the AD / DA conversion selection signal 15 by the AD conversion activation signal 18 output from the CPU, and the digital value is sequentially changed and converted when the AD conversion is selected. Is completed, the AD conversion end signal 17
Is output, and when DA conversion is selected, it is impossible to change sequentially and the digital value can be set from the data bus 16, and the register 4 that switches the voltage dividing switch of the analog voltage generator 1 by decoding the digital value of the register 4 A V3 corresponding to the output from the decoder 3 which is composed of a decoder 3 for outputting a signal, a voltage dividing resistor and a voltage dividing switch to divide VREF.
Comparing the analog voltage generator 1 that generates the DAC and the VDAC output from the analog voltage generator 1 to the voltage holder 13 that holds the analog voltage according to the VDAC output destination selection signal 14 from the controller 11 or the comparator 7 It is composed of a selector 12 for switching whether to output to and a comparator 7 for comparing the output voltage from the selector 12 with VIN.

【0017】ここでレジスタ4は、AD/DA変換選択
信号15がAD変換を選択したとき、デジタル値の初期
値として最上位ビットが1で最上位ビット以外は0(例
えば10B)となる値が設定される。
Here, when the AD / DA conversion selection signal 15 selects AD conversion, the register 4 has a value in which the most significant bit is 1 and the value other than the most significant bit is 0 (for example, 10B) as an initial value of the digital value. Is set.

【0018】本実施例中、AD変換動作およびDA変換
動作の内容は従来例1、2、3と同様であるのでその詳
細な説明は省略し、従来例と異なる、DA変換動作から
AD変換動作への、またAD変換動作からDA変換動作
への切り替え動作に関して説明する。
In this embodiment, the contents of the AD conversion operation and the DA conversion operation are the same as those of the conventional examples 1, 2, and 3, so a detailed description thereof will be omitted, and different from the conventional example, the DA conversion operation to the AD conversion operation. A switching operation from the AD conversion operation to the DA conversion operation will be described.

【0019】まずDA変換動作からAD変換動作への切
り替え動作に関して説明する。DA変換中、レジスタ4
はデータバス16からデジタル値を設定可能なレジスタ
として、セレクタ12はVDACを電圧保持部13に出
力するように動作している。ここでAD変換活性化信号
18が制御部11に入力されると、VDAC出力先選択
信号14とAD/DA変換選択信号15が変化しAD変
換が選択され、レジスタ4には上述したようにデジタル
値の初期値が設定され逐次変化可能なレジスタとして動
作し、セレクタ12はVDACを比較器7に出力するよ
うに動作する。以降、従来例1と同様の動作でAD変換
が行われる。
First, the switching operation from the DA conversion operation to the AD conversion operation will be described. Register 4 during DA conversion
Is a register that can set a digital value from the data bus 16, and the selector 12 operates to output VDAC to the voltage holding unit 13. Here, when the AD conversion activation signal 18 is input to the control unit 11, the VDAC output destination selection signal 14 and the AD / DA conversion selection signal 15 change to select the AD conversion, and the register 4 receives the digital signal as described above. The initial value is set and operates as a register that can be changed sequentially, and the selector 12 operates to output VDAC to the comparator 7. After that, AD conversion is performed by the same operation as in the first conventional example.

【0020】次にAD変換動作からDA変換動作への切
り替え動作に関して説明する。AD変換が終了しレジス
タ4から制御部11にAD変換終了信号17が出力され
ると、制御部11によりVDAC出力先選択信号14と
AD/DA変換選択信号15がDA変換選択状態に切り
替えられ、レジスタ4はデータバス16からデジタル値
を設定可能となり、セレクタ12はVDACを電圧保持
部13に出力するように切り替えられ、DA変換が選択
された状態になり、従来例2に示したようにレジスタ4
の値に応じてDA変換を行う。
Next, the switching operation from the AD conversion operation to the DA conversion operation will be described. When the AD conversion is completed and the AD conversion end signal 17 is output from the register 4 to the control unit 11, the control unit 11 switches the VDAC output destination selection signal 14 and the AD / DA conversion selection signal 15 to the DA conversion selection state, The register 4 can set a digital value from the data bus 16, the selector 12 is switched to output VDAC to the voltage holding unit 13, and DA conversion is selected. As shown in Conventional Example 2, Four
DA conversion is performed according to the value of.

【0021】[0021]

【発明の効果】以上説明した通り、本発明によるAD/
DA変換器は、アナログ電圧発生部で生成したアナログ
電圧出力の出力先を選択しDA変換出力電圧を保持する
事により、AD/DA変換器内蔵によるチップ面積の増
大という問題と、DA変換中にAD変換を行えないとい
う問題を解決し得るAD/DA変換器を提供することが
できる。
As described above, the AD / AD according to the present invention is
The DA converter selects the output destination of the analog voltage output generated by the analog voltage generator and holds the DA conversion output voltage, thereby increasing the chip area due to the built-in AD / DA converter, and during the DA conversion. It is possible to provide an AD / DA converter that can solve the problem that AD conversion cannot be performed.

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

【図1】本発明の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】従来例1のAD変換器を示すブロック図であ
る。
FIG. 2 is a block diagram showing an AD converter of Conventional Example 1.

【図3】従来例2のDA変換器を示すブロック図であ
る。
FIG. 3 is a block diagram showing a DA converter of Conventional Example 2.

【図4】従来例3を示すブロック図である。FIG. 4 is a block diagram showing a third conventional example.

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

1 アナログ電圧発生部 2 基準電圧(VREF) 3 デコーダ 4,41,42 レジスタ 5 アナログ電圧(VDAC) 6 アナログ入力(VIN) 7 比較器 8 比較結果出力 10 アナログ出力 11 制御部 12 セレクタ 13 電圧保持部 14 VDAC出力先選択信号 15 AD/DA変換選択信号 16 データバス 17 AD変換終了信号 18 AD変換活性化信号 1 analog voltage generation part 2 reference voltage (VREF) 3 decoder 4, 41, 42 register 5 analog voltage (VDAC) 6 analog input (VIN) 7 comparator 8 comparison result output 10 analog output 11 control part 12 selector 13 voltage holding part 14 VDAC output destination selection signal 15 AD / DA conversion selection signal 16 data bus 17 AD conversion end signal 18 AD conversion activation signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 AD変換又はDA変換のいずれかを選択
するAD/DA変換選択信号と、DA変換されたアナロ
グ電圧出力をAD変換用の比較器への出力もしくは端子
への出力のいずれかに選択するアナログ電圧出力先選択
信号を生成する制御部と、前記制御部に入力され前記A
D/DA変換選択信号と前記アナログ電圧出力先選択信
号を付勢しAD変換動作を活性化するAD変換活性化信
号と、アナログ入力電圧と基準電圧を比較する比較器
と、前記制御部から出力されるAD/DA変換選択信号
に基づきAD変換が選択されたときは、前記比較器から
の出力結果に応じてデジタル値が逐次変化し、且つAD
変換の終了を検出しAD変換終了信号を出力し、DA変
換が選択されたときは逐次変化が不可となりデジタル値
をデータバスより設定可能となるレジスタと、前記レジ
スタのデジタル値をデコードし所定のデコード信号群を
生成するデコーダと、前記デコーダからの出力に応じて
基準電圧を分圧しアナログ電圧を生成するアナログ電圧
発生部と、前記アナログ電圧発生部から出力されたアナ
ログ電圧を保持する電圧保持部に出力するか基準電圧と
して比較器に出力するかを切り替えるセレクタとを有
し、アナログ入力電圧より所定のデジタル値を生成する
AD変換機能とデジタル値より所定のアナログ電圧を端
子より出力するDA変換機能を備えたことを特徴とする
AD/DA変換器。
1. An AD / DA conversion selection signal for selecting either AD conversion or DA conversion and a DA converted analog voltage output as either an output to a comparator for AD conversion or an output to a terminal. A control unit for generating an analog voltage output destination selection signal to be selected;
An AD conversion activation signal for energizing a D / DA conversion selection signal and the analog voltage output destination selection signal to activate an AD conversion operation, a comparator for comparing an analog input voltage with a reference voltage, and an output from the control unit When the AD conversion is selected based on the AD / DA conversion selection signal, the digital value changes sequentially according to the output result from the comparator, and the AD
The end of conversion is detected, an AD conversion end signal is output, and when DA conversion is selected, it is possible to set a digital value from the register by decoding the digital value of the register and a register that cannot be changed sequentially and can be set through the data bus. A decoder that generates a decoded signal group, an analog voltage generation unit that divides a reference voltage according to an output from the decoder to generate an analog voltage, and a voltage holding unit that holds the analog voltage output from the analog voltage generation unit And a comparator for switching the output to a comparator as a reference voltage, and an AD conversion function for generating a predetermined digital value from an analog input voltage and a DA conversion for outputting a predetermined analog voltage from a digital value from a terminal An AD / DA converter characterized by having a function.
【請求項2】 請求項1記載のAD/DA変換器におい
て、前記アナログ電圧発生部は、分圧抵抗と分圧用スイ
ッチから成ることを特徴とするAD/DA変換器。
2. The AD / DA converter according to claim 1, wherein the analog voltage generator comprises a voltage dividing resistor and a voltage dividing switch.
【請求項3】 請求項2記載のAD/DA変換器におい
て、前記デコーダは、前記レジスタのデジタル値をデコ
ードし前記アナログ電圧発生部の分圧用スイッチの切り
替え信号を出力することを特徴とするAD/DA変換
器。
3. The AD / DA converter according to claim 2, wherein the decoder decodes the digital value of the register and outputs a switching signal of a voltage dividing switch of the analog voltage generating unit. / DA converter.
JP23294894A 1994-09-28 1994-09-28 Ad/da converter Pending JPH0897721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23294894A JPH0897721A (en) 1994-09-28 1994-09-28 Ad/da converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23294894A JPH0897721A (en) 1994-09-28 1994-09-28 Ad/da converter

Publications (1)

Publication Number Publication Date
JPH0897721A true JPH0897721A (en) 1996-04-12

Family

ID=16947372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23294894A Pending JPH0897721A (en) 1994-09-28 1994-09-28 Ad/da converter

Country Status (1)

Country Link
JP (1) JPH0897721A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55112639A (en) * 1979-02-20 1980-08-30 Yokogawa Hokushin Electric Corp Analog data processing system
JPS57170626A (en) * 1981-04-14 1982-10-20 Nippon Denso Co Ltd Converting circuit
JPS60130924A (en) * 1983-12-20 1985-07-12 Matsushita Electric Ind Co Ltd Analog-digital, digital-analog converter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55112639A (en) * 1979-02-20 1980-08-30 Yokogawa Hokushin Electric Corp Analog data processing system
JPS57170626A (en) * 1981-04-14 1982-10-20 Nippon Denso Co Ltd Converting circuit
JPS60130924A (en) * 1983-12-20 1985-07-12 Matsushita Electric Ind Co Ltd Analog-digital, digital-analog converter

Similar Documents

Publication Publication Date Title
WO1995011551A1 (en) Sub-ranging analog-to-digital converter
JP2009005051A (en) Da conversion circuit
JP3819986B2 (en) Analog / digital converter control method
JP2598138B2 (en) D / A converter
JPH1098384A (en) Flush type a/d converter
JPH0897721A (en) Ad/da converter
JP3461672B2 (en) Successive approximation A / D converter
JP2913329B2 (en) Semiconductor element
JP3128477B2 (en) Voltage divider circuit
JPH0338925A (en) Digital/analog converter
US5684483A (en) Floating point digital to analog converter
JP2578940B2 (en) A / D conversion circuit
JPH1065541A (en) A/d converter circuit
KR100499368B1 (en) Apparatus for regulating reference voltage of analog/digital convertor
JPH0846515A (en) D/a converter
JP2643715B2 (en) Proportional control valve controller
JPH0724381B2 (en) Analog / digital converter
JP2000299639A (en) D/a converter
JPH10154937A (en) Digital-analog converter
JPH05235772A (en) Resistance type potential dividing system d/a converter circuit
JPH05259916A (en) Current addition type d/a converter
JPH10190459A (en) Microcomputer for evaluation with built-in ad converter
JPH0612502A (en) Microcomputer with built-in a/d conversion circuit
JPS62163419A (en) Successive approximation analog/digital converter
JPH06244727A (en) A/d converter

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970826