JPS60232721A - Testing device for digital/analog converter - Google Patents

Testing device for digital/analog converter

Info

Publication number
JPS60232721A
JPS60232721A JP59089014A JP8901484A JPS60232721A JP S60232721 A JPS60232721 A JP S60232721A JP 59089014 A JP59089014 A JP 59089014A JP 8901484 A JP8901484 A JP 8901484A JP S60232721 A JPS60232721 A JP S60232721A
Authority
JP
Japan
Prior art keywords
signal
converter
digital
output
comparator
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
JP59089014A
Other languages
Japanese (ja)
Inventor
Saiji Shimamura
島村 宰治
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.)
Tektronix Japan Ltd
Original Assignee
Sony Tektronix 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 Sony Tektronix Corp filed Critical Sony Tektronix Corp
Priority to JP59089014A priority Critical patent/JPS60232721A/en
Publication of JPS60232721A publication Critical patent/JPS60232721A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To simplify the constitution of a testing device and to test the whole operating range by generating a digital signal successively changed in each least significant bit (LBS) from a digital signal generating means and supplying the digital signal to a D/A converter to be tested. CONSTITUTION:A clock signal is generated from a clock generator 10 in the digital signal generating means 14 of a D/A converter testing device and counted up by an UP counter 12 and a digital signal successively increased in each LBS is generated. The digital signal is converted into an analog signal by the D/A converter 16 to be tested and the analog signal is inputted to a sample holding circuit 18 and the 1st comparator 20. On the other hand, the signal outputted from the converter 16 is offset of a negative direction by an offset means 22 and applied to the 2nd comparator 24. The output of the circuit 18 is applied to the comparators 20, 24 respectively and the outputs of the comparators 20, 22 are inputted to a logical gate means 26. The output of the means 26 is applied to a data input of an FF28. On the other hand, the clock signal is inverted by an inverter 30 and applied to the circuit 18 and said inverted signal is inverted again by an inverter 32 and then applied to the FF28 to decide the legality of the converter 16.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はデジタル・アナログ変換器の良否を判定する試
験装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a test device for determining the quality of a digital-to-analog converter.

〔従来技術及びその問題点〕[Prior art and its problems]

デジタル・アナログ(D/A )変換器は、デジタル回
路とアナログ回路間のインターフェースとして広く利用
されている。D/A変換器を利用した電子機器が正確に
動作するのを保証するため、このD/A変換器を試験し
てその良否を判定する必要がある。
Digital-to-analog (D/A) converters are widely used as interfaces between digital and analog circuits. In order to ensure that electronic equipment using a D/A converter operates correctly, it is necessary to test the D/A converter to determine its acceptability.

従来のD/A変換器用試験装置の1つは特開昭58−1
72560号公報に開示されている。この従来の試験装
置は、カウンタでクロック信号を計数し、その計数出力
を最下位ビット(LSB)単位で変化するデジタル信号
として被試験D/A変換器に供給している。サンプル・
ホールド(S/H)回路は1クロック遅れのD/A変換
器のアナログ信号をサンプルし、保持している。差動増
幅器がD/A変換器及びS/H回路の出力信号の差をめ
、この差信号を基準のアナログ・デジタル(A/D )
変換器に供給している。そして、とのA/D変換器から
のデジタル出力信号によυD/A変換器の良否を判定し
ている。しかし、この従来の試験装置では、差動増幅器
がD/A変換器の出力信号の全範囲にわたって、ILS
Bに対応するアナログ信号の差を正確に増幅しなければ
ならず、即ち差動増幅器のダイナミック・レンジは広く
なければならず、高価となった。
One of the conventional test devices for D/A converters is Japanese Patent Application Laid-Open No. 58-1
It is disclosed in Japanese Patent No. 72560. This conventional test device counts clock signals using a counter, and supplies the counted output to the D/A converter under test as a digital signal that changes in units of least significant bits (LSBs). sample·
The hold (S/H) circuit samples and holds the analog signal of the D/A converter delayed by one clock. A differential amplifier calculates the difference between the output signals of the D/A converter and the S/H circuit, and uses this difference signal as a reference analog/digital (A/D) signal.
Supplied to the converter. The quality of the υD/A converter is determined based on the digital output signal from the A/D converter. However, in this conventional test equipment, the differential amplifier provides ILS over the entire range of the output signal of the D/A converter.
It is necessary to accurately amplify the difference between the analog signals corresponding to B, that is, the dynamic range of the differential amplifier must be wide, making it expensive.

また、基準のA/D変換器も必要なため、試験装置が一
層高価かつ複雑となった。
Additionally, a reference A/D converter was also required, making the test equipment more expensive and complex.

他の従来のD/A変換器用試験装置は特公昭58−15
4928号公報に開示されている。この従来の試験装置
は、被試験D/A変換器の出力に2個のS/’H回路を
設け、夫々のS/H回路はデジタル信号の特定のビット
にのみ入力信号が与えられた場合(例えば1000、又
は0100)のD/A変換器の出力信号と、デジタル信
号の特定のビットよシ下位のすべてのビットに入力信号
が与えられた場合(例えば0111、又は0011)の
D/A変換器の出力信号を保持する。差動増幅器が2個
のS/H回路の出力信号の差をめ、ウィンド・コンパレ
タによシこの差信号がLSBに相当するかを判定して、
D/A変換器の良否を判定している。しかし、この従来
の試験装置でも、差動増幅器が広範囲にわたってILS
Hに対応するアナログ信号の差を正確に増幅し々ければ
ならず、即ちダイナミック・レンジの広い差動増幅器が
必要となシ、高価となった。またこの試験装置は、D/
A変換器の動作範囲において部分的にしか試験をしない
ため、D/A変換器の良否が全動作範囲にわたって保証
されなかった。
Other conventional D/A converter test equipment is
It is disclosed in Japanese Patent No. 4928. This conventional test equipment is equipped with two S/'H circuits at the output of the D/A converter under test, and each S/H circuit operates only when an input signal is applied to a specific bit of the digital signal. (for example, 1000 or 0100) and the D/A converter output signal when input signals are given to all bits lower than a specific bit of the digital signal (for example, 0111 or 0011). Holds the converter output signal. A differential amplifier calculates the difference between the output signals of the two S/H circuits, and a window comparator determines whether this difference signal corresponds to the LSB.
The quality of the D/A converter is determined. However, even with this conventional test equipment, the differential amplifier has a wide range of ILS
It is necessary to accurately amplify the difference between the analog signals corresponding to H, that is, a differential amplifier with a wide dynamic range is required, which is expensive. Also, this test equipment
Since the test was performed only partially within the operating range of the A converter, the quality of the D/A converter was not guaranteed over the entire operating range.

〔発明の目的〕[Purpose of the invention]

したがって本発明の目的は、構成が簡単かつ安価であり
、D/A変換器の全動作範囲にわたって試験するD/A
変換器用試験装置の提供にある。
It is therefore an object of the present invention to provide a D/A converter which is simple and inexpensive in construction and which tests over the entire operating range of the D/A converter.
The purpose is to provide test equipment for converters.

〔発明の概要〕[Summary of the invention]

本発明の試験装置によれば、デジタル信号発生手段は最
下位ビット単位で順次変化するデジタル信号を発生し、
被試験D/A変換器に供給する。
According to the test device of the present invention, the digital signal generating means generates a digital signal that sequentially changes in units of least significant bits,
Supplied to the D/A converter under test.

S/H回路は、デジタル信号がビット単位で変化する前
のD/A変換器からのアナログ信号をサンプルし、保持
している。第1比較器はD/A変換器及びS/H回路の
出力信号を比較し、どちらの出力信号が大きいかを判定
する。即ち、デジタル信号が増加(又は減少)方向に変
化しているとき、D/A変換器のアナログ出力信号も増
加(又は減少)方向に変化しているか否かを判定してい
る。第2比較器はD/A変換器のアナログ出力信号及び
S/H回路の出力信号の一方の信号を所定電圧だけオフ
セノと。
The S/H circuit samples and holds the analog signal from the D/A converter before the digital signal changes bit by bit. The first comparator compares the output signals of the D/A converter and the S/H circuit, and determines which output signal is larger. That is, when the digital signal is changing in the increasing (or decreasing) direction, it is determined whether the analog output signal of the D/A converter is also changing in the increasing (or decreasing) direction. The second comparator offsets one of the analog output signal of the D/A converter and the output signal of the S/H circuit by a predetermined voltage.

トした信号及び他の信号のを比較し、どちらの信号が太
きいかを判定する。即ち、第2比較器はデジタル信号の
変化に応じてD/A変換器の出力信号が所定電圧だけ変
化しているか否かを判定している。そして、論理ゲート
手段は第1及び第2比較器の判定結果を総合し、D/A
変換器の良否を判定している。
The detected signal and other signals are compared to determine which signal is thicker. That is, the second comparator determines whether the output signal of the D/A converter changes by a predetermined voltage in response to a change in the digital signal. Then, the logic gate means integrates the judgment results of the first and second comparators, and
The quality of the converter is determined.

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

以下、添付図を参照して、本発明の好適な実施例を説明
する。
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

(第1実施例) 第1図は本発明の好適な第1実施例のブロック図である
。クロック発生器10はクロック信号を発生し、アンプ
・カウンタ12はこのクロック信号を計数して、LSB
単位で順次増分するデジタル信号を発生する。これらク
ロック発生器10及びカウンタ12はデジタル信号発生
手段14を構成する。被試験D/A変換器16はカラ/
り12からのデジタル信号をアナログ信号に変換して、
S/H回路18及び第1比較器200反転(−)入力端
子に直接供給する。また、D/A変換器16からのアナ
ログ信号をオフセット手段である電池22により負方向
に所定電圧だけオフセントして、第2比較器24の非反
転(+)入力端子に供給する。なお、電池22の電圧は
デジタル信号の約2L’SBに対応する電圧である。S
/H回路18の出力信号は第1比較器20の十入力端子
及び第2比較器24の一入力端子に供給する。比較器2
0及び24をワイヤード・オア接続し、即ち比較器20
及び24の出力信号を論理ゲート手段であるワイヤード
・オア・ゲート26に供給し、その出力信号をDフリッ
プ・フロップ28のD入力端子に供給する。一方、クロ
ック発生器10からのクロック信号はバッファ30を介
してサンプル制御信号としてS/H回路18に供給する
と共に、更にバッファ32を介してDフリソゲ・フロッ
プ28のクロック端子に供給する。バッファ30はカウ
ンタ12及びD/A変換器16の伝搬遅延時間を補償し
、バッファ32はS/H回路18並びに比較器20及び
24の伝搬遅延時間を補償する。これらバッファ30及
び32は遅延回路(遅延線)でもよい。Dフリップ・フ
ロップ28のリセット端子Rはスイッチ34を介してプ
ラス電源に接続し、Q出力端子はトランジスタ36のベ
ースに接続する。トランジスタ36のエミッタは接地し
、コレクタは発光ダイオード38を介して正電圧源に接
続する。
(First Embodiment) FIG. 1 is a block diagram of a preferred first embodiment of the present invention. A clock generator 10 generates a clock signal, and an amplifier/counter 12 counts the clock signal and calculates the LSB.
Generates a digital signal that increments sequentially in units. These clock generator 10 and counter 12 constitute digital signal generating means 14. The D/A converter 16 under test is a color/
Convert the digital signal from RI 12 into an analog signal,
It is directly supplied to the S/H circuit 18 and the inverting (-) input terminal of the first comparator 200. Further, the analog signal from the D/A converter 16 is offset by a predetermined voltage in the negative direction by a battery 22 serving as an offset means, and then supplied to the non-inverting (+) input terminal of the second comparator 24 . Note that the voltage of the battery 22 is a voltage corresponding to approximately 2L'SB of the digital signal. S
The output signal of the /H circuit 18 is supplied to the ten input terminals of the first comparator 20 and one input terminal of the second comparator 24. Comparator 2
0 and 24 are wired-OR connected, that is, comparator 20
and 24 are supplied to a wired-OR gate 26, which is a logic gate means, and the output signal is supplied to a D input terminal of a D flip-flop 28. On the other hand, the clock signal from the clock generator 10 is supplied to the S/H circuit 18 via a buffer 30 as a sample control signal, and is further supplied via a buffer 32 to the clock terminal of the D Frisage flop 28. Buffer 30 compensates for the propagation delay time of counter 12 and D/A converter 16, and buffer 32 compensates for the propagation delay time of S/H circuit 18 and comparators 20 and 24. These buffers 30 and 32 may be delay circuits (delay lines). The reset terminal R of the D flip-flop 28 is connected to the positive power supply through a switch 34, and the Q output terminal is connected to the base of a transistor 36. The emitter of transistor 36 is grounded, and the collector is connected via light emitting diode 38 to a positive voltage source.

D/A変換器16を試験するには、まずスイッチ34を
一時的に閉じてフリップ・フロップ28をリセットする
。よって、フリップ・フロップ28のQ出力信号は「低
」レベルであり、トランジスタ36がオフとなり、発光
ダイオード38は発光しない。S/H回路18はデジタ
ル信号がLSB単位で変化する前のD/A変換器16の
アナログ信号をサンプルし、保持している。よって、カ
ウンタ12からのデジタル信号が変化しても、S/H回
路18の出力は、常にD/A変換器16の出力信号よp
ILSB分だけ低いアナログ信号である。デジタル信号
は増分方向に変化しているので、D/A変換器16の出
力信号も増分方向に変化していれば、第1比較器20の
一入力端子の電圧は十入力端子の電圧よシも常に高い。
To test D/A converter 16, first reset flip-flop 28 by temporarily closing switch 34. Therefore, the Q output signal of flip-flop 28 is at a "low" level, transistor 36 is turned off, and light emitting diode 38 does not emit light. The S/H circuit 18 samples and holds the analog signal from the D/A converter 16 before the digital signal changes in LSB units. Therefore, even if the digital signal from the counter 12 changes, the output of the S/H circuit 18 will always be higher than the output signal of the D/A converter 16.
This is an analog signal that is lower by ILSB. Since the digital signal is changing in an incremental direction, if the output signal of the D/A converter 16 is also changing in an incremental direction, the voltage at one input terminal of the first comparator 20 will be more similar to the voltage at the tenth input terminal. is always high.

よって、第1比較器20の出力レベルも常に「低」とな
る。しかし、D/A変換器16の出力信号がデジタル信
号の変化に応じて増分しない場合、例えばD/A変換器
16の出力信号が逆に下った場合は、比較器20の十入
力端子の電圧が一入力端子の電圧よりも高くなり、比較
器20の出力レベルが「高」となる。よって、オア・ゲ
ート26の出力信号も「高」となシ、クロック信号によ
りフリップ・フロップ28のQ出力信号も「高」となる
。したがって、トランジスタ36がオンして、発光ダイ
オード38が発光して、D/A変換器16の増分方向の
異常を知らせる。即ち、第1比較器20によシ、D/A
変換器16の増分方向の異常を検出できる。
Therefore, the output level of the first comparator 20 is also always "low". However, if the output signal of the D/A converter 16 does not increase in response to changes in the digital signal, for example, if the output signal of the D/A converter 16 decreases, the voltage at the input terminal of the comparator 20 becomes higher than the voltage at one input terminal, and the output level of the comparator 20 becomes "high". Therefore, the output signal of OR gate 26 is also high, and the clock signal causes the Q output signal of flip-flop 28 to also be high. Therefore, transistor 36 turns on and light emitting diode 38 emits light, indicating an incremental abnormality in D/A converter 16. That is, by the first comparator 20, the D/A
Incremental anomalies in the transducer 16 can be detected.

一方、第2比較器24の一入力端子には通常ならばデジ
タル信号が変化する前のD/A変換器16の出力信号、
即ち現在の出力信号よりILSB分だけ低い電圧が加わ
っている。また、第2比較器24の十入力端子にはD/
A変換器16の現在の出力信号から2LSB分だけ引い
た電圧が加わっている。
On the other hand, one input terminal of the second comparator 24 normally receives the output signal of the D/A converter 16 before the digital signal changes;
That is, a voltage lower by ILSB than the current output signal is applied. In addition, the ten input terminal of the second comparator 24 has a D/
A voltage subtracted by 2LSB from the current output signal of the A converter 16 is applied.

よって、D/A変換器16の変化量が正常ならば、第2
比較器24の一入力端子の電圧は十入力端子の電圧より
も高く、その出力レベルは「低」である。しかし、D/
A変換器16の変化量が所定よシも多い(2LSB以上
)場合、第2比較器24の出力レベルは「高」となシ、
オア・ゲート26の出力レベルも「高」となシ、発光ダ
イオード38が発光する。即ち、第2比較器24はD/
A変換器16のILSB当シの変化量の異常を検出する
。上述の動作がD/A変換器16の全動作範囲にわたっ
て1ビツト毎に行なわれ、D/A変換器16の異常が発
光ダイオード38の発光によシ指示される。なお、比較
器20及び24は単に十及び−入力端子の電圧の大小を
判定するのみでよく、それらの差を正確に増幅する必要
のない点に留意されたい。
Therefore, if the amount of change in the D/A converter 16 is normal, the second
The voltage at one input terminal of the comparator 24 is higher than the voltage at the tenth input terminal, and its output level is "low". However, D/
If the amount of change in the A converter 16 is larger than a predetermined value (2LSB or more), the output level of the second comparator 24 is "high".
When the output level of the OR gate 26 is also "high", the light emitting diode 38 emits light. That is, the second comparator 24 is D/
An abnormality in the amount of change in ILSB of the A converter 16 is detected. The above operation is performed for each bit over the entire operating range of the D/A converter 16, and an abnormality in the D/A converter 16 is indicated by light emission from the light emitting diode 38. It should be noted that the comparators 20 and 24 only need to determine the magnitude of the voltages at the + and - input terminals, and there is no need to accurately amplify the difference between them.

(第2実施例) 第2図は本発明の好適な第2実施例のブロック図である
。この実施例は第1図の実施例と類似しているので、同
じブロック又は素子には同じ参照番号で示し、異なる点
についてのみ説明する。この第2実施例では、アップe
カウンタ12の代シにアップ・ダウン・カウンタ40を
用い、そのキャリー出力端子C及びボロー出力端子Bを
R−Sフリップ・フロップ42のR入力端子及びS出力
端子に夫々接続する・フリップ・フロップ42のQ出力
信号はカウンタ40のアンプ・ダウン制御端子U/Dに
供給して、カウンタの計数出力が増加方向か減少方向か
を制御する。電子スイッチ44及び46はフリップ・フ
ロップ42のQ出力に応じて、D/A変換器12及びS
/H回路16の出力信号を選択的に第1比較器20の−
及び十入力端子に供給する。電池22と同じ電池48を
逆極性に電池22と並列に接続し、電子スイッチ50は
フリップ・フロップ42のQ出力に応じて電池22又は
48を選択する。電子スイッチ52及び54はフリップ
・フロップ42のQ出力に応じてS/H回路16及び電
子スイッチ50の出力信号を選択的に第2比較器24の
−及び十入力端子に供給する。なお、電子スイッチ44
.46.50.’52及び54は5個の電子スイッチを
組合せた単一のアナログ・マルチプレクサでもよいこと
に留意され・たい。
(Second Embodiment) FIG. 2 is a block diagram of a second preferred embodiment of the present invention. Since this embodiment is similar to the embodiment of FIG. 1, like blocks or elements will be designated with the same reference numerals and only differences will be described. In this second embodiment, up e
An up-down counter 40 is used in place of the counter 12, and its carry output terminal C and borrow output terminal B are connected to the R input terminal and S output terminal of an R-S flip-flop 42, respectively. The Q output signal of is supplied to the amplifier down control terminal U/D of the counter 40 to control whether the counting output of the counter is increasing or decreasing. Electronic switches 44 and 46 switch D/A converters 12 and S according to the Q output of flip-flop 42.
The output signal of the /H circuit 16 is selectively applied to the - of the first comparator 20.
and 10 input terminals. A battery 48, which is the same as battery 22, is connected in parallel with battery 22 with opposite polarity, and electronic switch 50 selects battery 22 or 48 depending on the Q output of flip-flop 42. Electronic switches 52 and 54 selectively provide the output signals of S/H circuit 16 and electronic switch 50 to the - and - input terminals of second comparator 24 in response to the Q output of flip-flop 42 . Note that the electronic switch 44
.. 46.50. Note that '52 and 54 may be a single analog multiplexer combining five electronic switches.

カウンタ40が端子Bからボロー信号を発生すると、フ
リップ・フロップ42のQ出力は「高」レベルになる。
When counter 40 generates a borrow signal from terminal B, the Q output of flip-flop 42 goes to a "high" level.

よって、カウンタ40はアップ・モードとなシデジタル
信号は増加方向に1ビツト毎に変化する。またこの「高
」レベルのQ出力によシ、電子スイッチ44及び46は
D/A変換器12及びS/H回路16を夫々選択し、電
子スイッチ50は電池22を選択し、電子スイッチ52
及び54はS/H回路16及び電子スイッチ50を夫夫
選択する。即ち、電子スイッチの選択状態は図に示すよ
うになる。よって、この状態では第1図の場合と同様に
々す、第2図の実施例は第1図の説明と同様に動作する
Therefore, the counter 40 is in the up mode and the digital signal changes bit by bit in the increasing direction. Also, due to this "high" level Q output, electronic switches 44 and 46 select D/A converter 12 and S/H circuit 16, respectively, electronic switch 50 selects battery 22, and electronic switch 52 selects battery 22.
and 54 select the S/H circuit 16 and the electronic switch 50. That is, the selected state of the electronic switch is as shown in the figure. Therefore, in this state, the operation is the same as in the case of FIG. 1, and the embodiment of FIG. 2 operates in the same manner as described in FIG.

カウンタ40の計数値が最大値に達し、端子Cからキャ
リー信号を発生すると、フリップ・フロップ42はリセ
ットされ、そのQ出力は「低」レベルに反転する。よっ
てカウンタ40はダウン・モードとなシ、デジタル信号
は減少方向に1ビツト毎に変化する。また電子スイッチ
44.46.50゜52及び54の選択状態も変化する
。よって、D/A変換器12のアナログ出力信号の減少
方向が正常ならば、第1比較器20の一入力端子の電圧
は十入力端子の電圧よりも高く、その出力は「低」レベ
ルである。一方、電子スイッチ50の出力レベルはD/
A変換器12のアナログ出力信号よりも2LSB分だけ
高くなるので、D/A変換器12のビット毎の変化量が
正常ならば、第2比較器24の一入力端子の電圧は十入
力端子の電圧よりも高く、その出力は「低」レベルであ
る。よって、この第2実施例では、D/A変換器を増加
方向及び減少方向に変化するデジタル信号により試験で
きる。
When the count value of counter 40 reaches its maximum value and generates a carry signal from terminal C, flip-flop 42 is reset and its Q output is inverted to a "low" level. Therefore, the counter 40 is not in the down mode and the digital signal changes bit by bit in the decreasing direction. The selection states of the electronic switches 44, 46, 50, 52 and 54 also change. Therefore, if the decreasing direction of the analog output signal of the D/A converter 12 is normal, the voltage at one input terminal of the first comparator 20 is higher than the voltage at the tenth input terminal, and its output is at a "low" level. . On the other hand, the output level of the electronic switch 50 is D/
Since it is 2 LSB higher than the analog output signal of the A converter 12, if the amount of change for each bit of the D/A converter 12 is normal, the voltage at one input terminal of the second comparator 24 will be 2LSB higher than the analog output signal of the A converter 12. voltage, its output is at a "low" level. Therefore, in this second embodiment, the D/A converter can be tested with a digital signal that changes in increasing and decreasing directions.

(第3実施例) 第3図は本発明の好適な第3実施例のブロック図であシ
、マイクロプロセッサ(μP)システムに適用したもの
である。この実施例では第1図の実施例と同じブロック
及び素子には同一の参照番号を用い、相違点のみ説明す
る。μPシステムはバス56に接続されたμP58、プ
ログラムを記憶したリード・オンリ・メモリ(ROM)
60、一時記憶装置としてのランダム・アクセス・メモ
リ(RAM)6瞳、入力装置としてのキーボード64、
表示器66、測定器又は信号発生器等の電子回路68を
含んでいる。D/A変換器16は電子回路68にアナロ
グ信号を供給して、種々の制御等を行なう。
(Third Embodiment) FIG. 3 is a block diagram of a third preferred embodiment of the present invention, which is applied to a microprocessor (μP) system. In this embodiment, the same reference numerals are used for the same blocks and elements as in the embodiment of FIG. 1, and only the differences will be described. The μP system includes a μP 58 connected to a bus 56, and a read-only memory (ROM) that stores programs.
60, a random access memory (RAM) 6 as a temporary storage device, a keyboard 64 as an input device,
It includes a display 66 and electronic circuitry 68 such as a meter or signal generator. The D/A converter 16 supplies analog signals to the electronic circuit 68 to perform various controls.

バス56のデータ信号はアドレス信号に応じて変化する
。よって、デコーダ70はバス56からのアドレス信号
の変化に応じてクロック信号を発生し、バッファ30に
供給する。ラッチ回路72はデコーダ70からのクロッ
ク信号に応じてバス56からのデータ信号をラッチして
D/A変換器16に供給する。トライステート・ドライ
バ74の入力端子はオア・ゲート26の出力信号を受け
、その出力端子はバス56に接続する。また、ドライバ
74はバス56からのトライステート制御信号によシ制
御される。
The data signal on bus 56 changes in response to the address signal. Therefore, decoder 70 generates a clock signal in response to changes in the address signal from bus 56 and supplies it to buffer 30. The latch circuit 72 latches the data signal from the bus 56 in response to the clock signal from the decoder 70 and supplies it to the D/A converter 16. The input terminal of tristate driver 74 receives the output signal of OR gate 26 and its output terminal is connected to bus 56. Driver 74 is also controlled by tristate control signals from bus 56.

μPシステムの自己診断モードが、キーボード64から
の命令によシ開始するか、又は電源投入によシ自動的に
開始すると、ROM60の自己診断プログラムによりμ
P58はドライバ74を通常モード(単なるバッファと
して動作する)とする。また、μP58は、データ信号
として最下位ビット単位で順次増加するデジタル信号を
発生し、ランチ回路72を介してD/A変換器16に供
給する。すると、第1図の実施例と同様の動作を行なう
。μP58はデータ信号を変化させる毎にドライバ74
の出力レベルを監視し、常にその出力レベルが「低」な
らばD/A変換器16が正常と判断する。またドライバ
74の出力レベルが「高」になると、μP58はD/A
変換器16が異常と判断して、その旨表示器66に表示
する。D/A変換器16の試験が終了すると、μP58
はドライバ74をトライステート(高出力インピーダン
ス状態)にし、バス56への影響を除く。なお、この実
施例では、デジタル信号発生手段はμP58である。
When the self-diagnosis mode of the μP system is started by a command from the keyboard 64 or automatically by turning on the power, the μP system self-diagnosis mode is started by the self-diagnosis program in the ROM 60.
P58 sets the driver 74 to normal mode (operates as a mere buffer). Further, the μP 58 generates a digital signal that sequentially increases in units of least significant bits as a data signal, and supplies it to the D/A converter 16 via the launch circuit 72. Then, the same operation as in the embodiment shown in FIG. 1 is performed. The μP58 drives the driver 74 every time the data signal changes.
The output level of the D/A converter 16 is monitored, and if the output level is always "low", it is determined that the D/A converter 16 is normal. Also, when the output level of the driver 74 becomes "high", the μP58 outputs the D/A
It is determined that the converter 16 is abnormal, and the display 66 displays this fact. When the test of the D/A converter 16 is completed, the μP58
tri-states the driver 74 (high output impedance state) and eliminates the influence on the bus 56. In this embodiment, the digital signal generating means is μP58.

(実施例の変更) 上述は本発明の好適な実施例について説明したが、本発
明の要旨を逸脱することなく種々の変更が可能である。
(Changes to Embodiments) Although the preferred embodiments of the present invention have been described above, various changes can be made without departing from the gist of the present invention.

例えば、論理ゲート手段は、第1及び第2比較器の入出
力端子の極性を考慮してワイヤード・オアの代シにアン
ド・ゲート、ノア・ゲート等の種々の論理ゲートを利用
できる。また、実施例ではD/A変換器の出力信号を所
定電圧だけオフセットしたが、S/H回路の出力信号の
方をオフセットしてもよい。更に、このオフセットは電
池の代りに定電圧ダイオード、通常のダイオード、オペ
レーショナル増幅器を利用した電圧加算器等によシ行な
ってもよい。また、オフセットする電圧は許容誤差を考
慮して、ILSB分よりもわずかに高い電圧又は低い電
圧でもよい。この場合、高いか低いかによって、第2比
較器の出力レベルが異なる点に留意されたい。また、第
2比較器として2個の比較器を用い、かつD/A変換器
又はS/H回路の出力信号の一方を、許容誤差を考慮し
たILSBよりもわずかに高い電圧及びわずかに低い電
圧で2通シにオフセットして2個の第2比較器の各々の
一方の入力端子に供給し、D/A変換器又はS/I(回
路の出力信号の他方を2個の第2比較器の他方の入力端
子に供給してもよい。この場合、2個の第2比較器の出
力信号を論理ゲートに供給することによシ、D/A変換
器の変化量がプラス及びマイナスの両許容範囲内か否か
が判定できる。また、論理ゲート手段の出力信号によシ
プザー等を駆動して、D/A変換器の不良を指示しても
よい。
For example, the logic gate means can use various logic gates such as an AND gate and a NOR gate instead of a wired OR, taking into consideration the polarities of the input and output terminals of the first and second comparators. Further, in the embodiment, the output signal of the D/A converter is offset by a predetermined voltage, but the output signal of the S/H circuit may also be offset. Furthermore, this offset may be performed by a voltage adder using a constant voltage diode, an ordinary diode, an operational amplifier, etc. instead of a battery. Further, the voltage to be offset may be slightly higher or lower than the ILSB, taking tolerance into account. In this case, it should be noted that the output level of the second comparator differs depending on whether it is high or low. In addition, two comparators are used as the second comparator, and one of the output signals of the D/A converter or S/H circuit is set at a voltage slightly higher and a voltage slightly lower than the ILSB considering tolerance. The other output signal of the D/A converter or S/I (circuit) is supplied to one input terminal of each of the two second comparators with an offset in two. In this case, by supplying the output signals of the two second comparators to the logic gate, the amount of change in the D/A converter can be both positive and negative. It can be determined whether or not it is within the allowable range.Furthermore, a scissor or the like may be driven by the output signal of the logic gate means to indicate a defect in the D/A converter.

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

上述の如く本発明は基準のA/D変換器及びダイナミッ
ク・レンジの広い高精度の差動増幅器を用いる必要がな
く、単に大小を比較する比較器を用いればよいので、構
成が簡単かつ安価となる。また、LSB単位にD/A変
換器の全動作範囲を試験するので、試験結果が信頼でき
る。
As described above, the present invention does not require the use of a reference A/D converter or a high-precision differential amplifier with a wide dynamic range, and simply uses a comparator that compares the magnitude, so the configuration is simple and inexpensive. Become. Furthermore, since the entire operating range of the D/A converter is tested in LSB units, the test results are reliable.

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

第1図は本発明の好適な第1実施例のブロック図、第2
図は本発明の好適な第2実施例のブロック図、第3図は
本発明の好適な第3実施例のブロック図である。 図において、工4はデジタル信号発生手段、16は被試
験デジタル・アナログ変換器、18はサンプル・ホール
ド回路、20は第1比較器、22はオフセント手段、2
4は第2比較器、26は論理ゲート手段である。
FIG. 1 is a block diagram of a first preferred embodiment of the present invention;
The figure is a block diagram of a second preferred embodiment of the present invention, and FIG. 3 is a block diagram of a third preferred embodiment of the present invention. In the figure, reference numeral 4 indicates a digital signal generation means, 16 indicates a digital-to-analog converter under test, 18 indicates a sample/hold circuit, 20 indicates a first comparator, 22 indicates an offset means, 2
4 is a second comparator, and 26 is a logic gate means.

Claims (1)

【特許請求の範囲】[Claims] 最下位ビット単位で順次変化するデジタル信号を被試験
デジタル・アナログ変換器に供給するデジタル信号発生
手段と、上記デジタル信号が上記ビット単位で変化する
前の上記被試験デジタル・アナログ変換器からのアナロ
グ信号をサンプルして保持するサンプル・ホールド回路
と、上記被試験デジタル・アナログ変換器からのアナロ
グ信号及び上記サンプル・ホールド回路からの出力信号
を比較する第1比較器と、上記被試験デジタル・アナロ
グ変換器からのアナログ信号及び上記サンプル・ホール
ド回路からの出力信号の一方の信号を所定電圧だけオフ
七ットした信号及び他方の信号を比較する第2比較器と
、上記第1比較器からの出力信号及び上記第2比較器か
らの出力信号を受ける論理ゲート手段とを具え、該論理
ゲート手段からの出力信号により上記被試験デジタル・
アナログ変換器の良否を判定することを特徴とするデジ
タル・アナログ変換器用試験装置。
digital signal generating means for supplying a digital signal that sequentially changes in the least significant bit unit to the digital-to-analog converter under test; and an analog signal from the digital-to-analog converter under test before the digital signal changes in the bit unit. a sample-and-hold circuit that samples and holds a signal; a first comparator that compares the analog signal from the digital-to-analog converter under test and the output signal from the sample-and-hold circuit; and the digital-to-analog converter under test. a second comparator for comparing the analog signal from the converter and the output signal from the sample-and-hold circuit with a signal obtained by turning off one signal by a predetermined voltage and the other signal; logic gate means for receiving an output signal and an output signal from the second comparator;
A test device for digital-to-analog converters, characterized by determining the quality of analog converters.
JP59089014A 1984-05-02 1984-05-02 Testing device for digital/analog converter Pending JPS60232721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59089014A JPS60232721A (en) 1984-05-02 1984-05-02 Testing device for digital/analog converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59089014A JPS60232721A (en) 1984-05-02 1984-05-02 Testing device for digital/analog converter

Publications (1)

Publication Number Publication Date
JPS60232721A true JPS60232721A (en) 1985-11-19

Family

ID=13959055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59089014A Pending JPS60232721A (en) 1984-05-02 1984-05-02 Testing device for digital/analog converter

Country Status (1)

Country Link
JP (1) JPS60232721A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6315532A (en) * 1986-07-08 1988-01-22 Yokogawa Electric Corp D/a converter response test device
JPS6465926A (en) * 1987-09-04 1989-03-13 Nippon Electric Ic Microcomput Measuring instrument for monotonically increasing characteristic of d/a converter
JP2011125005A (en) * 2009-12-08 2011-06-23 Advantest Corp Signal generator and test device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58154928A (en) * 1982-03-11 1983-09-14 Aiwa Co Ltd Method for inspecting digital-analog converter
JPS58172560A (en) * 1982-04-02 1983-10-11 Fujitsu Ltd Linearity measurement of d/a converter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58154928A (en) * 1982-03-11 1983-09-14 Aiwa Co Ltd Method for inspecting digital-analog converter
JPS58172560A (en) * 1982-04-02 1983-10-11 Fujitsu Ltd Linearity measurement of d/a converter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6315532A (en) * 1986-07-08 1988-01-22 Yokogawa Electric Corp D/a converter response test device
JPH0446490B2 (en) * 1986-07-08 1992-07-30 Yokogawa Electric Corp
JPS6465926A (en) * 1987-09-04 1989-03-13 Nippon Electric Ic Microcomput Measuring instrument for monotonically increasing characteristic of d/a converter
JP2011125005A (en) * 2009-12-08 2011-06-23 Advantest Corp Signal generator and test device

Similar Documents

Publication Publication Date Title
US4829236A (en) Digital-to-analog calibration system
CN100504974C (en) Driver circuit for display device
TWI407129B (en) Adjustable voltage comparing circuit and adjustable voltage examining module
JPS6350890B2 (en)
JPS60232721A (en) Testing device for digital/analog converter
US5371498A (en) Circuit for recognizing key inputs
KR100457033B1 (en) Analog / digital converter
US6253341B1 (en) IC test system
JPH0621816A (en) Test circuit for d/a converter
US5294929A (en) Control system for peripheral devices
JP2000162281A (en) Semiconductor integrated circuit device
JP3167537B2 (en) DA converter
JPH1155120A (en) A/d converter and microcomputer incorporating it
JPH0746128A (en) D/a converter incorporating test circuit
JP3340459B2 (en) Signal determination device and signal determination method
JPS6122292Y2 (en)
JPH0335631B2 (en)
JP2001144614A (en) Diagnostic method for digital/analog converter and analog output device
JPH0376428A (en) A/d converter
JPH0621815A (en) Integrated circuit
JP2002236147A (en) Semiconductor integrated circuit and its inspection method
JP3057847B2 (en) Semiconductor integrated circuit
JPS60170946A (en) Semiconductor integrated circuit
RU2212674C1 (en) Procedure testing electric parameters of amplifier, automated system testing electric parameters of amplifier
SU734693A1 (en) Device for functional testing of digital circuits