JPH0748662B2 - D / A converter - Google Patents
D / A converterInfo
- Publication number
- JPH0748662B2 JPH0748662B2 JP62045713A JP4571387A JPH0748662B2 JP H0748662 B2 JPH0748662 B2 JP H0748662B2 JP 62045713 A JP62045713 A JP 62045713A JP 4571387 A JP4571387 A JP 4571387A JP H0748662 B2 JPH0748662 B2 JP H0748662B2
- Authority
- JP
- Japan
- Prior art keywords
- bits
- digital data
- output
- converter
- digital
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Analogue/Digital Conversion (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はD/A変換装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a D / A converter.
従来のD/A変換装置は、例えば第2図に示されるよう
に、上位入力端子11,12〜,1mよりデジタルデータの上位
mビットを入力し、D/A変換する第1のD/A変換器60と、
下位入力端子21,22,〜,2nよりデジタルデータの下位n
ビットを入力し、D/A変換する第2のD/A変換器50と、D/
A変換器60,70の出力を2n:1の比で重み付けしてアナログ
加算し、出力を出力端子80に出力する重み付加算器70と
から構成されていた。The conventional D / A conversion device, for example, as shown in FIG. 2, inputs the upper m bits of digital data from the upper input terminals 11, 12 to 1m, and performs the D / A conversion on the first D / A. Converter 60,
Lower n of digital data from lower input terminals 21, 22, ..., 2n
A second D / A converter 50 that inputs bits and performs D / A conversion, and
The A converters 60 and 70 are composed of a weighted adder 70 that weights the outputs with a ratio of 2 n : 1 and performs analog addition, and outputs the outputs to the output terminal 80.
上述した従来のD/A変換装置は、その精度を1/2LSB以内
に保つために、第1のD/A変換器60の精度を第2のD/A変
換器50の1/2LSB分以下におさえねばならず、結果的に1/
2m+nの相対精度が必要となり、たとえばm=4、n=4
とした場合でも1/28、すなわち0.4%、m=9,n=9とし
た場合では、1/218、すなわち0.0004%の相対精度が必
要となっているので、この精度を無調整で実現するのは
むずかしく、まして集積回路上に実現するのは不可能で
あるという欠点がある。In the conventional D / A converter described above, in order to keep the accuracy within 1/2 LSB, the accuracy of the first D / A converter 60 is less than 1/2 LSB of the second D / A converter 50. I have to keep it, and as a result 1 /
A relative accuracy of 2 m + n is required, for example m = 4, n = 4
And the case even 1/2 8, namely 0.4%, in the case of the m = 9, n = 9, 1/2 18, that is, has become necessary 0.0004% of relative accuracy, without adjustment of the precision The drawback is that it is difficult to implement, much less impossible to implement on an integrated circuit.
本発明のD/A変換装置は、 デジタルデータの上位mビットを入力する上位入力端子
と、 デジタルデータの下位nビットを入力する下位入力端子
と、 出力端子と、 上位入力端子よりデジタルデータの上位mビットを入力
してD/A変換する第1のD/A変換器と、 上位mビットの入力に対する第1のD/A変換器の実際の
出力の理想の出力に対する誤差を上位mビットの各入力
に対応してあらかじめ記憶しており、デジタルデータの
上位mビットを入力したとき、それに対応する前記誤差
を、デジタルデータの下位nビットの1LSB単位で換算し
て出力するメモリと、 下位入力端子よりのデジタルデータの下位nビットとメ
モリの出力とを入力し、デジタルデータの下位nビット
のデジタル量をメモリの出力分だけ補正するデジタル演
算回路と、 デジタル演算回路で補正された出力をD/A変換する第2
のD/A変換器と、 第1、第2のD/A変換器の出力を上位、下位の重み付け
をして加算し、出力端子に出力する重み付加算器とを有
する。The D / A conversion device of the present invention has an upper input terminal for inputting upper m bits of digital data, a lower input terminal for inputting lower n bits of digital data, an output terminal, and an upper portion of digital data higher than the upper input terminal. The first D / A converter that inputs m bits and performs D / A conversion, and the error of the actual output of the first D / A converter with respect to the input of the upper m bits from the ideal output of the upper m bits A memory which is stored in advance corresponding to each input, and when the upper m bits of the digital data are input, the corresponding error is converted and output in 1LSB units of the lower n bits of the digital data, and the lower input A digital arithmetic circuit that inputs the lower n bits of digital data from the terminal and the output of the memory and corrects the digital amount of the lower n bits of the digital data by the output of the memory. The second of the output corrected by the circuit D / A conversion
D / A converter and a weighted adder for adding the outputs of the first and second D / A converters by weighting the upper and lower weights and outputting the result to the output terminal.
上位mビットのデジタルデータに対応してメモリに保持
されている第1のD/A変換器の有する誤差分だけデジタ
ルデータの下位nビットが補正されるので、実質的には
第1のD/A変換器の誤差は除去されたこととなり、誤差
としては補正された下位nビットをD/A変換する第2のD
/A変換器の誤差だけとなる。Since the lower n bits of the digital data are corrected by the error of the first D / A converter held in the memory corresponding to the upper m bits of digital data, the first D / A is substantially corrected. The error of the A converter has been removed, and the error is the second D that D / A converts the corrected lower n bits.
Only the error of the / A converter.
次に、本発明の実施例について図面を参照して説明す
る。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明のD/A変換装置の一実施例を示す構成図
である。FIG. 1 is a block diagram showing an embodiment of the D / A converter of the present invention.
第1のD/A変換器6は上位入力端子11,12,〜,1mよりデジ
タルデータの上位mビットを入力し、D/A変換する。メ
モリ3(ROM)には、各デジタルデータの上位mビット
に対する第1のにD/A変換器6の理想出力と実際出力間
の誤差が測定され、その誤差がデジタルデータの下位n
ビットの1LSB単位で換算され、上位mビットのデータを
アドレスとして蓄えられており、デジタルデータの下位
nビットの1LSB単位で換算された誤差データを出力す
る。The first D / A converter 6 inputs the upper m bits of digital data from the upper input terminals 11, 12, ..., 1m and performs D / A conversion. In the memory 3 (ROM), the error between the ideal output and the actual output of the first D / A converter 6 for the upper m bits of each digital data is measured, and the error is the lower n bits of the digital data.
It is converted in units of 1 LSB of the bit and is stored as the upper m bits of data as an address, and error data converted in units of 1 LSB of the lower n bits of digital data is output.
デジタル演算回路4はメモリ3から出力された誤差デー
タとデジタルデータの下位nビットを入力し、誤差デー
タの内容から誤差データを下位nビットに加算すべきか
減算すべきか判定し、その判定にもとづいて演算し、演
算結果を出力する。第2のD/A変換器5はデジタル演算
回路4の演算結果にもとづき、正負の符号も含めD/A変
換する。重み付加算器7は第1,第2のD/A変換器5,6の出
力を上位,下位の重み付けを行って加算し、出力端子8
に出力する。The digital arithmetic circuit 4 inputs the error data output from the memory 3 and the lower n bits of the digital data, determines whether the error data should be added to or subtracted from the lower n bits from the content of the error data, and based on the determination. Calculate and output the calculation result. The second D / A converter 5 performs D / A conversion based on the calculation result of the digital calculation circuit 4 including positive and negative signs. The weighted adder 7 weights the outputs of the first and second D / A converters 5 and 6 into upper and lower weights and adds the outputs, and outputs the output terminal 8.
Output to.
したがって、第2のD/A変換器5の誤差は補正されない
が、第1のD/A変換器6の誤差はメモリ3のデータによ
り補正されているので従来のD/A変換装置に比較して、
実際上2n倍だけ精度が上っている。Therefore, the error of the second D / A converter 5 is not corrected, but the error of the first D / A converter 6 is corrected by the data of the memory 3, so that it is compared with the conventional D / A converter. hand,
In fact, the accuracy is increased by 2 n times.
上述した実施例において、第2のD/A変換器5は正負の
出力可能なものであったが、メモリ3のデータは、誤差
が負とならないように一定の数をあらかじめ加算したデ
ータとしてもよい。この場合、デジタル演算回路4は加
算器でよい。もちろん、加算された一定の数により、出
力端子8の出力電圧はその分ずれることとなるが、オー
ディオ機器等に用いる場合、直流成分は不要であり、ま
た直流カットも容易であるから全く問題ない。しかし、
どうしてもずれをなくしたい場合はレベルシフト回路を
付加すればよいことは明らかである。この実施例による
と単電源で動作する安価なD/A変換装置を実現できる。In the above-described embodiment, the second D / A converter 5 is capable of outputting positive and negative, but the data in the memory 3 may be data in which a fixed number is added in advance so that the error does not become negative. Good. In this case, the digital arithmetic circuit 4 may be an adder. Of course, the added constant number causes the output voltage of the output terminal 8 to deviate by that amount, but when used in an audio device or the like, a DC component is unnecessary and DC cut is easy, so there is no problem. . But,
It is obvious that a level shift circuit may be added to eliminate the deviation. According to this embodiment, an inexpensive D / A conversion device that operates with a single power source can be realized.
なお、メモリ3としてROMの代りにRAMを用いて電源投入
時もしくは必要に応じて校正サイクルを実行し、RAMに
誤差データを書込むこともできる。また、メモリ3とし
てPROMを用い、工場出荷時に誤差データを書込むことも
できる。この場合には、ユーザが後日再調整することは
まずないので、ワンタイムROMやヒューズROMを用いるこ
ともできる。It is also possible to use the RAM instead of the ROM as the memory 3 and execute the calibration cycle when the power is turned on or when necessary to write the error data in the RAM. Further, it is also possible to use a PROM as the memory 3 and write the error data at the time of factory shipment. In this case, the user is unlikely to readjust later, so that the one-time ROM or the fuse ROM can be used.
以上説明したように本発明は、デジタルデータの上位m
ビットをD/A変換する第1のD/A変換器と、第1のD/A変
換器の出力の理想値からの誤差データを保持する記憶回
路と、デジタルデータの下位nビットを記憶回路の保持
する誤差データで補正するデジタル演算回路と、デジタ
ル演算回路の出力をD/A変換する第2のD/A変換器と、第
1,第2のD/A変換器の出力を上位,下位の重み付けして
加算する重み付加算器とで構成することにより、第1,第
2のD/A変換器が低精度であっても、第1のD/A変換器の
誤差を除去した高精度高ビットのD/A変換を実現できる
効果があり、集積回路で実施する場合でも、第1,第2の
D/A変換器は装置全体の精度に比較し、ラフでよいので
実施が容易である効果もある。As described above, according to the present invention, the upper m of digital data are
A first D / A converter for D / A converting bits, a memory circuit for holding error data from an ideal value of the output of the first D / A converter, and a memory circuit for storing lower n bits of digital data. A digital arithmetic circuit that corrects the error data held by the second arithmetic circuit, a second D / A converter that performs D / A conversion on the output of the digital arithmetic circuit,
Since the outputs of the first and second D / A converters are configured with a weighted adder that weights and adds the upper and lower weights, the first and second D / A converters have low accuracy. Also has the effect of realizing high-precision and high-bit D / A conversion in which the error of the first D / A converter is removed, and even when it is implemented in an integrated circuit, the first, second
Since the D / A converter is rough compared to the accuracy of the entire device, it has the effect of being easy to implement.
【図面の簡単な説明】 第1図は本発明のD/A変換装置の一実施例を示す構成
図、第2図は従来例を示す構成図である。 11,12,〜,1m…上位入力端子、21,22,〜,2n…下位入力端
子、3…メモリ、4…デジタル演算回路、5…第2のD/
A変換器、6…第1のD/A変換器、7…重み付加算器、8
…出力端子。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a D / A converter of the present invention, and FIG. 2 is a block diagram showing a conventional example. 11,12, ..., 1m ... High-order input terminal, 21,22, ..., 2n ... Lower-order input terminal, 3 ... Memory, 4 ... Digital arithmetic circuit, 5 ... Second D /
A converter, 6 ... First D / A converter, 7 ... Weighted adder, 8
… Output terminal.
Claims (1)
上位入力端子と、 デジタルデータの下位nビットを入力する下位入力端子
と、 出力端子と、 上位入力端子よりデジタルデータの上位mビットを入力
してD/A変換する第1のD/A変換器と、 上記mビットの入力に対する第1のD/A変換器の実際の
出力の理想の出力に対する誤差を上位mビットの各入力
に対応してあらかじめ測定し、誤差の補正値が負となら
ない定数を加算した値を記憶しており、デジタルデータ
の上位mビットを入力したとき、それに対応する前記加
算した値を、デジタルデータの下位nビットのILSB単位
で換算して出力するメモリと、 下位入力端子よりのデジタルデータの下位nビットとメ
モリの出力とを入力し、デジタルデータの下位nビット
のデジタル量をメモリの出力分だけ補正するデジタル演
算回路と、 デジタル演算回路で補正された出力をD/A変換する第2
のD/A変換器と、 第1、第2のD/A変換器の出力を上位、下位の重み付け
をして加算し、出力端子に出力する重み付け加算器とを
有するD/A変換装置。1. An upper input terminal for inputting upper m bits of digital data, a lower input terminal for inputting lower n bits of digital data, an output terminal, and an upper m bit of digital data for inputting from the upper input terminal. The first D / A converter that performs D / A conversion according to the above, and the error of the actual output of the first D / A converter with respect to the above m-bit input from the ideal output corresponds to each upper m-bit input. The measured value is stored in advance, and a value obtained by adding a constant whose error correction value does not become negative is stored. When the upper m bits of digital data are input, the corresponding added value is stored in the lower n bits of the digital data. ILSB unit of the digital data is converted and output, the lower n bits of the digital data from the lower input terminal and the memory output are input, and the digital amount of the lower n bits of the digital data is output from the memory. Corrected by the amount the digital arithmetic circuit and a second to D / A converts the corrected output by a digital arithmetic circuit
D / A converter, and a weighting adder for adding the outputs of the first and second D / A converters by weighting the upper and lower levels and outputting the result to the output terminal.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62045713A JPH0748662B2 (en) | 1987-02-27 | 1987-02-27 | D / A converter |
| DE3852048T DE3852048T2 (en) | 1987-02-27 | 1988-02-26 | Digital to analog converter. |
| US07/161,060 US4885581A (en) | 1987-02-27 | 1988-02-26 | Digital-to-analog converter circuit |
| EP88102896A EP0280321B1 (en) | 1987-02-27 | 1988-02-26 | Digital-to-analog converter circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62045713A JPH0748662B2 (en) | 1987-02-27 | 1987-02-27 | D / A converter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63212221A JPS63212221A (en) | 1988-09-05 |
| JPH0748662B2 true JPH0748662B2 (en) | 1995-05-24 |
Family
ID=12726989
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62045713A Expired - Lifetime JPH0748662B2 (en) | 1987-02-27 | 1987-02-27 | D / A converter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0748662B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58222616A (en) * | 1982-06-21 | 1983-12-24 | Hitachi Ltd | D/A conversion circuit |
-
1987
- 1987-02-27 JP JP62045713A patent/JPH0748662B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63212221A (en) | 1988-09-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4903023A (en) | Subranging analog-to-digital converter with digital error correction | |
| US20050001747A1 (en) | All-analog calibration of string-DAC linearity: application to high voltage processes | |
| US4316178A (en) | Digital-to-analog conversion system with compensation circuit | |
| KR960700569A (en) | Apparatus and Method for Producing an Analog Output Signal from a Digital Input Word | |
| US6603418B2 (en) | High precision, high-speed signal source | |
| KR880001114A (en) | Offset automatic correction A / D conversion circuit | |
| JPH0783267B2 (en) | Device for converting a binary signal into a DC signal proportional thereto | |
| CN110190851A (en) | Method, device and storage medium for dynamically adjusting low-precision DAC output | |
| JPH0748662B2 (en) | D / A converter | |
| JP2504773B2 (en) | DA converter | |
| JPH05268093A (en) | Digital/analog converter | |
| JP2000151403A (en) | D/a converter and conversion method | |
| JPH09289450A (en) | Digital to analog converter | |
| JP3083254B2 (en) | A / D converter | |
| JPH09148931A (en) | Correction circuit for d/a converter | |
| JP2005323207A (en) | Signal conversion apparatus and signal processing method | |
| JPS62152223A (en) | Da converter system | |
| JP2003060504A (en) | A / D converter and error correction device for A / D converter | |
| JP2808260B2 (en) | Analog-to-digital converter and thermal analyzer | |
| JPH0388504A (en) | Optional waveform generator | |
| JPS5847327A (en) | Analog-to-digital converter | |
| JP6371638B2 (en) | D / A conversion circuit and D / A conversion method | |
| JPS6094534A (en) | Digital-analog converter | |
| JPH0248730A (en) | digital comparator | |
| JPS60197019A (en) | D/a converting device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |