JPS61284117A - Sequential comparison type analog-digital converter - Google Patents

Sequential comparison type analog-digital converter

Info

Publication number
JPS61284117A
JPS61284117A JP12505585A JP12505585A JPS61284117A JP S61284117 A JPS61284117 A JP S61284117A JP 12505585 A JP12505585 A JP 12505585A JP 12505585 A JP12505585 A JP 12505585A JP S61284117 A JPS61284117 A JP S61284117A
Authority
JP
Japan
Prior art keywords
conversion
converter
output
clock
signal
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
JP12505585A
Other languages
Japanese (ja)
Inventor
Yoshio Serikawa
芹川 義雄
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP12505585A priority Critical patent/JPS61284117A/en
Publication of JPS61284117A publication Critical patent/JPS61284117A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quicken the A/D converting operation and output operation of an A/D conversion data by synchronizing the A/D converting operation and the output operation of an A/D conversion data with a serial clock or the like. CONSTITUTION:While conversion mode changeover signals AD/DA' are at H level, a reference voltage signal outputted from a D/A converter 1 is compared with an analog input signal ADI by a comparator circuit 2. An output signal of the circuit 2 is latched by an A/D conversion output latch circuit 3 is the timing of the trailing edge of an A/D conversion clock SCK' and fed to a D/A conversion input latch circuit 4, where a signal D0 among digital input signals D0-D7 to the converter 1. A series of operations are repeated, the signals D6-D0 are decided sequentially and the serial A/D conversion data ADO is outputted sequentially. On the other hand, when signals AD/DA' are at L level, a digital input signal DAI is latched sequentially by the circuit 4. Then the converting operation of the converter 1 is applied and a D/A conversion data DAO is outputted.

Description

【発明の詳細な説明】 (、)技術分野 本発明は、逐次比較型A/D変換器に関し、より詳細に
はマイクロコンピュータ等の外部装置に同期して動作す
るA/D変換器に関するものである。
TECHNICAL FIELD The present invention relates to a successive approximation type A/D converter, and more specifically to an A/D converter that operates in synchronization with an external device such as a microcomputer. be.

(b)従来技術 A/D変換器の一つとして、逐次比較型A/D変換器が
知られている。この形式のA/D変換器は1つの比較回
路を用いて、変換すべきアナログ入力信号と基準電圧信
号との大小比較を行い、その比較判定結果に従い基準電
圧信号を変化させて再び比較を行うという動作を繰返し
、その過程で比較回路の出力信号を順次ラッチし、それ
をパラレルあるいはシリアルA/D変換データとして出
力するものである。A/D変換出力を得るためのラッチ
回路の出力信号は、さらに基準電圧信号発生用のD/A
変換器の複数のディジタル信号入力端子に接続されたラ
ッチ回路にA/D変換クロックに同期して上位ビット側
から順次ラッチされ、上記複数のディジタル信号入力端
子へ並列に供給される。
(b) Prior Art A successive approximation type A/D converter is known as one type of A/D converter. This type of A/D converter uses one comparison circuit to compare the analog input signal to be converted and the reference voltage signal, and then changes the reference voltage signal according to the comparison result and compares again. This operation is repeated, and in the process, the output signals of the comparator circuit are latched in sequence and outputted as parallel or serial A/D conversion data. The output signal of the latch circuit for obtaining the A/D conversion output is further connected to the D/A for generating the reference voltage signal.
The signals are sequentially latched from the upper bit side in synchronization with the A/D conversion clock in a latch circuit connected to the plurality of digital signal input terminals of the converter, and are supplied in parallel to the plurality of digital signal input terminals.

ところで、このようなA/D変換器をマイクロコンピュ
ータと同期させて用いる場合には。
By the way, when such an A/D converter is used in synchronization with a microcomputer.

少ない信号線で信号の授受を可能とするために、シリア
ルインターフェースを介してマイクロコンピュータと結
合させる方式が多く使用される。
In order to make it possible to send and receive signals with a small number of signal lines, a method of coupling with a microcomputer via a serial interface is often used.

その場合の逐次比較型A/D変換器の構成としては、例
えば外部からA/D変換クロックを導入し、A/D変換
を行ってそのA/D変換データをラッチしておき、それ
をシリアルインターフェースからのシリアルクロックに
同期して出力するものが公知である。この構成により、
シリアルインターフェースはA/D変換データを受付け
ることができ、それをマイクロコンピュータへ伝達する
ことができる。
In this case, the structure of the successive approximation type A/D converter is, for example, to introduce an A/D conversion clock from the outside, perform A/D conversion, latch the A/D conversion data, and then serialize it. A device that outputs data in synchronization with a serial clock from an interface is known. With this configuration,
The serial interface can accept A/D converted data and transmit it to the microcomputer.

しかしながら、このような構成では、A/D変換そのも
のはシリアルクロックに同期していない関係で、変換タ
イミングが外部から分らないため、A/D変換器内部に
おいてはA/D変換データをラッチするためのA/D変
換データのビット数と同数のラッチ回路や、A/D変換
終了信号を外部へ出力する手段等の付加的回路要素を多
く必要とし、その構成が複雑化するという問題があるほ
か、A/D変換データの転送の高速化にも難点があった
。また、A/D変換クロック、シリアルクロックという
2種類のクロック信号をA/D変換器に入力する必要が
あることも、実用上好ましくない、さらに、A/D変換
終了信号出力端子や2種類のクロック入力端子を必要と
するために全体の端子数が多くなり、特にA/D変換器
をワンチップICで実現する場合、コスト面から不利で
ある。
However, in such a configuration, the A/D conversion itself is not synchronized with the serial clock, so the conversion timing cannot be known from the outside, so the A/D converter must latch the A/D converted data. In addition to requiring many additional circuit elements such as latch circuits with the same number of bits as the A/D conversion data and means for outputting an A/D conversion end signal to the outside, the configuration becomes complicated. , There were also difficulties in speeding up the transfer of A/D conversion data. Furthermore, it is not practical to have to input two types of clock signals, an A/D conversion clock and a serial clock, to the A/D converter. Since a clock input terminal is required, the total number of terminals increases, which is disadvantageous in terms of cost, especially when realizing an A/D converter with a one-chip IC.

(c)  目的 本発明は上記のような従来の問題点に鑑みてなされたも
ので、その目的とするところは、シリアルインターフェ
ースで使用されるシリアルクロック等に同期したA/D
変換動作およびA/D変換データの出力動作が可能であ
ってしかもこれらの動作の高速化を実現でき、回路構成
が簡単で端子数も少なくて済み、それによりコストの低
減を図ることができ、さらに外部から導入するクロック
が例えばシリアルクロック1種類のみで動作可能な逐次
比較型A/D変換器を提供することにある6 (d)  構成 本発明は、上記目的を達成させるため、D/A変換器と
、このD/A変換器の出力信号とA/D変換すべきアナ
ログ入力信号との大小比較を行う比較回路と、この比較
回路の出力信号を外部からのA/D変換クロックの一方
のエツジに同期して順次ラッチすることにより、シリア
ルA/D変換データを出力するA/D変換出力用ラッチ
回路と、前記D/A変換器の複数のディジタル信号入力
端子にそれぞれ接続されたD/A変換入力用ラッチ回路
と、前記A/D変換出力用ラッチ回路から出力されるシ
リアルA/D変換データを前記A/D変換クロックの他
方のエツジに同期して前記D/A変換入力用ラッチ回路
に順次ラッチさせる手段とを具備したことを特徴とした
ものである。
(c) Purpose The present invention has been made in view of the above-mentioned conventional problems, and its purpose is to provide an A/D device synchronized with a serial clock used in a serial interface.
It is possible to carry out conversion operations and output operations of A/D converted data, and to achieve higher speeds in these operations, and the circuit configuration is simple and requires fewer terminals, thereby reducing costs. Furthermore, it is an object of the present invention to provide a successive approximation type A/D converter that can operate with only one type of serial clock introduced from the outside. A converter, a comparison circuit that compares the output signal of this D/A converter and an analog input signal to be A/D converted, and a comparison circuit that compares the output signal of this comparison circuit with one of the external A/D conversion clocks. an A/D conversion output latch circuit that outputs serial A/D conversion data by sequentially latching it in synchronization with the edges of the D/A converter; /A conversion input latch circuit and the serial A/D conversion data outputted from the A/D conversion output latch circuit in synchronization with the other edge of the A/D conversion clock for the D/A conversion input. The present invention is characterized by comprising means for causing the latch circuit to latch sequentially.

以下、本発明の一実施例を図面を参照して詳細に説明す
る。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例の逐次比較型A/D変換器
の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a successive approximation type A/D converter according to an embodiment of the present invention.

同図に示すように、この逐次比較型A/D変換器は、基
準電圧信号発生用のD/A変換器1と、二のD/A変換
器1からの基準電圧信号と変換すべきアナログ入力信号
ADIとの大小比較を行う比較回路2と、この比較回路
2の出力信号をA/D変換スタート信号入力後のA/D
変換クロックの一方のエツジに同期して順次ラッチする
ことにより、シリアルA/D変換データADOを出力す
る1ビツトのA/D変換出力用ラッチ回路3と、D/A
変換器1の8個のディジタル信号入力端子にそれぞれ接
続され、A/D変換出力用ラッチ回路3から構成される
装置D変換データをA/D変換クロックの他方のエツジ
に同期して順次ラッチし、D/A変換器1の対応するデ
ィジタル入力端子へ供給する8個のセット・リセット入
力端子材り型フリップフロップF9〜F16からなるD
/A変換入力用ラッチ回路4とを主体として構成されて
いる。また、D/A変換入力用ラッチ回路4の制御のた
めにA/D’&換クロッツクロックてシフト動作する8
個のD型フリップフロップF1〜F8からなるシフトレ
ジスタ5と、ゲート01〜G12およびインバータII
、I2が設けられている。
As shown in the figure, this successive approximation type A/D converter includes a D/A converter 1 for generating a reference voltage signal, and a reference voltage signal from the second D/A converter 1 and an analog signal to be converted. A comparison circuit 2 that compares the magnitude with the input signal ADI, and an A/D converter that converts the output signal of this comparison circuit 2 into an A/D conversion start signal after inputting the A/D conversion start signal.
A 1-bit A/D conversion output latch circuit 3 that outputs serial A/D conversion data ADO by sequentially latching it in synchronization with one edge of the conversion clock;
Device D is connected to each of the eight digital signal input terminals of the converter 1 and is composed of an A/D conversion output latch circuit 3, which sequentially latches the converted data in synchronization with the other edge of the A/D conversion clock. , consisting of eight set/reset input terminal type flip-flops F9 to F16 that supply the corresponding digital input terminals of the D/A converter 1.
/A conversion input latch circuit 4 as a main component. In addition, in order to control the latch circuit 4 for D/A conversion input, the A/D'& conversion clock 8 is shifted.
A shift register 5 consisting of D-type flip-flops F1 to F8, gates 01 to G12 and an inverter II
, I2 are provided.

ここで1本実施例の逐次比較型A/D変換器は、シリア
ルインターフェースを介してマイクロコンピュータと信
号の授受を行う場合を想定し、A/D変換クロックとし
てシリアルインターフェースからのシリアルクロックS
CKが与えられるものとする。また、この実施例のA/
D変換器は、A/D変換機能に加え、D/A変換機能を
も持つものとする。
Here, assuming that the successive approximation type A/D converter of this embodiment transmits and receives signals to and from a microcomputer via a serial interface, the serial clock S from the serial interface is used as the A/D conversion clock.
CK shall be given. Also, A/
The D converter is assumed to have a D/A conversion function in addition to the A/D conversion function.

まず、第2図のタイムチャートを参照してA/D変換動
作について説明する。なお、第2図においてA D /
 D A、はA/D変換モードとD/A変換モードとを
切換えるための変換モード切換信号、ADSは変換スタ
ート信号、Q1〜Q16はフリップフロップF1〜FL
6の各出力、89〜S16はフリップフロップF9〜F
16の各セット入力、CK16はフリップフロップF1
6のクロック入力をそれぞれ示す。
First, the A/D conversion operation will be explained with reference to the time chart shown in FIG. In addition, in Fig. 2, A D /
D A is a conversion mode switching signal for switching between A/D conversion mode and D/A conversion mode, ADS is a conversion start signal, and Q1 to Q16 are flip-flops F1 to FL.
6 outputs, 89 to S16 are flip-flops F9 to F.
16 each set input, CK16 is flip-flop F1
6 clock inputs are shown respectively.

変換モード切換信号AD/DAがHレベルのとき、この
A/D変換器はA/D変換モードとなる。この状態にお
いて変換スタート信号ADSがHレベルになると、シフ
トレジスタ5およびD/A変換入力用ラッチ回路4にお
けるフリップフロップF1〜F16が全てリセットされ
る。次に、変換スタート信号ADSがLレベルになると
、ゲートG1を介してD/A変換入力用ラッチ回路4に
おけるフリップフロップF9のみがセット状態とされて
その出力QがHレベルとなり、A/D変換クロック(シ
リアルクロック)SCKがLレベルとなるまで、この状
態が保たれる。ここで、D/A変換入力用ラッチ回路4
におけるフリップフロップF9〜F16の出力Qは、そ
れぞれD/A変換器lのディジタル入力信号D7〜Do
に対応する。従って、この場合におけるA/D変換器の
ディジタル入力信号D7〜DOはrloooooooJ
となる。但し、ディジタル入力信号D7〜DOは、D7
がMSB、DOがLSBである。
When conversion mode switching signal AD/DA is at H level, this A/D converter is in A/D conversion mode. When the conversion start signal ADS becomes H level in this state, all of the flip-flops F1 to F16 in the shift register 5 and the D/A conversion input latch circuit 4 are reset. Next, when the conversion start signal ADS goes to the L level, only the flip-flop F9 in the D/A conversion input latch circuit 4 is set to the set state through the gate G1, and its output Q goes to the H level, and the A/D conversion This state is maintained until the clock (serial clock) SCK becomes L level. Here, the D/A conversion input latch circuit 4
The outputs Q of the flip-flops F9 to F16 are the digital input signals D7 to Do of the D/A converter l, respectively.
corresponds to Therefore, the digital input signals D7 to DO of the A/D converter in this case are rloooooooJ
becomes. However, digital input signals D7 to DO are
is the MSB and DO is the LSB.

この状態でD/A変換器1から出力される基準電圧信号
と、アナログ入力信号ADIとが比較回路2で大小比較
され、その大小関係に応じてHレベル、Lレベルのいず
れかをとる信号が比較回路2から出力される。この比較
回路2の出力信号は、A/D変換変換クロックSC量初
の立下りエツジのタイミングでA/D変換出力用ラッチ
回路3によりラッチされ、A/D変換データのMSBと
して出力されると共に、ゲートGIO,GL2を介して
D/A変換入力用ラッチ回路4に供給される。このとき
、D/A変換入力用ラッチ回路4においては、ゲートG
1の出力によりフリップフロップF9のみがセット状態
となっており、且つこのブリップフロップF9のクロッ
ク入力端(GK)にはA/D変換変換クロックSC量初
の立上りエツジのタイミングでゲートG2からラッチパ
ルスが供給されるから、A/D変換データのMSBは結
局、このフリップフロップF9にクロックSCKの立上
りエツジのタイミングでラッチされる。これによりD/
A変換器1のディジタル入力信号DO〜D7のうち、D
7 (MSB)の値が最終的に決定される。
In this state, the reference voltage signal output from the D/A converter 1 and the analog input signal ADI are compared in magnitude by the comparison circuit 2, and a signal that takes either H level or L level depending on the magnitude relationship is output. It is output from the comparator circuit 2. The output signal of the comparison circuit 2 is latched by the A/D conversion output latch circuit 3 at the timing of the first falling edge of the A/D conversion clock SC, and is output as the MSB of the A/D conversion data. , GIO, and GL2 to the D/A conversion input latch circuit 4. At this time, in the D/A conversion input latch circuit 4, the gate G
Only the flip-flop F9 is in the set state by the output of 1, and the latch pulse is input from the gate G2 to the clock input terminal (GK) of this flip-flop F9 at the timing of the first rising edge of the A/D conversion clock SC. is supplied, so the MSB of the A/D conversion data is eventually latched into the flip-flop F9 at the timing of the rising edge of the clock SCK. As a result, D/
Among the digital input signals DO to D7 of the A converter 1, D
7 (MSB) is finally determined.

次に、D/A変換器1から出力される基準電圧信号とア
ナログ入力信号ADIとが比較回路2で大小比較され、
その出力信号がA/D変換変換クロックSC量の立下り
エツジのタイミングでA/D変換出力用ラッチ回路3に
よりラッチされ、A/D変換データの第2M5Bとして
出力される。同時に、このA/D変換データの第2M5
BはD/A変換入力用ラッチ回路4にも供給され、今度
はゲートG2を介してセット状態となっているフリップ
フロップFIOに、A/D変換クロりクSCKの次の立
上りエツジのタイミングでゲートG3からのラッチパル
スによってラッチされる。これによりD/A変換器1の
ディジタル入力信号DO〜D7のうち、D6が決定され
る。
Next, the reference voltage signal output from the D/A converter 1 and the analog input signal ADI are compared in magnitude by the comparison circuit 2,
The output signal is latched by the A/D conversion output latch circuit 3 at the timing of the falling edge of the A/D conversion clock SC, and is output as the second M5B of A/D conversion data. At the same time, the second M5 of this A/D conversion data
B is also supplied to the latch circuit 4 for D/A conversion input, and this time it is supplied to the flip-flop FIO which is in the set state via gate G2 at the timing of the next rising edge of the A/D conversion clock SCK. It is latched by a latch pulse from gate G3. As a result, among the digital input signals DO to D7 of the D/A converter 1, D6 is determined.

以下、同様にして ■ 比較回路2でアナログ入力信号と基準電圧信号とを
大小比較する、 ■ A/D変換クロックの立下りエツジに同期してA/
D変換出力用ラッチ回路3でシリアルA/D変換データ
をラッチする。
Hereinafter, in the same way, ■ comparing the analog input signal and the reference voltage signal in comparison circuit 2, and ■ performing the A/D conversion in synchronization with the falling edge of the A/D conversion clock.
The D conversion output latch circuit 3 latches serial A/D conversion data.

■ A/D変換クロックの立上りエツジに同期してD/
A変換入力用ラッチ回路4でD/A変換器1へのディジ
タル入力信号をラッチする、という一連の動作が繰返さ
れ、最終的に8ビツトのシリアルA/D変換データAD
OがMSBから順次出力される。
■ D/D in synchronization with the rising edge of the A/D conversion clock.
A series of operations in which the A conversion input latch circuit 4 latches the digital input signal to the D/A converter 1 are repeated, and finally 8-bit serial A/D conversion data AD
O is output sequentially from MSB.

一方、変換モード切換信号A D / D A、がLレ
ベルになると、このA/D変換器はD/A変換モードと
なる。このD/A変換動作について第3図のタイムチャ
ートを参照して説明する。
On the other hand, when the conversion mode switching signal AD/DA becomes L level, this A/D converter enters the D/A conversion mode. This D/A conversion operation will be explained with reference to the time chart of FIG.

今、このD/A変換モードにおいて変換スタート信号A
DSがLレベルになると、MSBからシリアルに入力さ
れるD/A変換すべきディジタル入力信号DAfが、シ
リアルクロックSCKの立下りに同期して順次D/A変
換入力用ラッチ回路4のフリップフロップF9〜F16
にラッチされる。そして、ディジタル入力信号DAIの
LSBがフリッププロップF16にラッチされた時点に
おいてD/A変換器1の変換動作が行われ、D/A変換
データDAOが出力されることになる。
Now, in this D/A conversion mode, the conversion start signal A
When DS becomes L level, the digital input signal DAf to be D/A converted, which is serially input from MSB, is sequentially passed through the flip-flop F9 of the D/A conversion input latch circuit 4 in synchronization with the falling edge of the serial clock SCK. ~F16
latched to. Then, when the LSB of the digital input signal DAI is latched by the flip-flop F16, the conversion operation of the D/A converter 1 is performed, and the D/A converted data DAO is output.

このように本発明による逐次比較型A/D変換器におい
ては、外部からの1種類のA/D変換クロック(例えば
シリアルインターフェースからのシリアルクロック)に
同期してA/D変換動作と、そのA/D変換データの出
力動作の両方を行うことができ、それにより例えばシリ
アルインターフェースを介してマイクロコンピュータ等
の外部装置との信号の授受が可能である。
As described above, in the successive approximation type A/D converter according to the present invention, A/D conversion operation and its A/D conversion operation are performed in synchronization with one type of external A/D conversion clock (for example, a serial clock from a serial interface). It is possible to perform both the output operation of /D conversion data, and thereby it is possible to exchange signals with an external device such as a microcomputer via a serial interface, for example.

この場合、外部装置側ではA/D変換器に供給した変換
開始信号やクロックのタイミングからA/D変換タイミ
ングが分るため、従来のようにA/D変換器側でA/D
変換データ全部を一時ラッチに保持してシリアルクロッ
クに同期して出力する必要はなく、またA/D変換終了
信号を出力したりする必要もない、従って。
In this case, since the external device side knows the A/D conversion timing from the conversion start signal and clock timing supplied to the A/D converter, the A/D converter side
Therefore, there is no need to temporarily hold all the converted data in a latch and output it in synchronization with the serial clock, and there is no need to output an A/D conversion end signal.

A/D変換器の回路構成が簡略化される。The circuit configuration of the A/D converter is simplified.

さらに、このようにA/D変換器に導入するクロックが
1種類のみでよいことは、A/D変換器を実際にマイク
ロコンピュータ等と組合わせて使用する場合、既存のシ
リアルインターフェースを付加するのみで簡単に使用で
きるという利点がある。例えば既存のシリアルインター
フェースとして、そのデータ入出力がシリアルクロック
の立上りに同期して入力、立下りに同期して出力という
形式のものがある。上記実施例によれば、A/D変換モ
ードにおいては、シリアルクロックの立下り時点で比較
回路の出力信号をラッチし、シリアルインターフェース
の入力タイミングであるシリアルクロックの立上り時点
で安定なA/D変換データを出力でき、またD/A変換
モードにおいては、シリアルインターフェースの出力タ
イミングであるシリアルクロックの立下り時点でディジ
タル信号入力を読込む構成となっており、このような既
存のシリアルインターフェースに容易に適合することが
できる。
Furthermore, the fact that only one type of clock is required to be introduced into the A/D converter means that when the A/D converter is actually used in combination with a microcomputer, etc., it is only necessary to add an existing serial interface. It has the advantage of being easy to use. For example, some existing serial interfaces input and output data in synchronization with the rising edge of a serial clock, and output data in synchronization with the falling edge of a serial clock. According to the above embodiment, in the A/D conversion mode, the output signal of the comparison circuit is latched at the falling edge of the serial clock, and stable A/D conversion is performed at the rising edge of the serial clock, which is the input timing of the serial interface. Data can be output, and in the D/A conversion mode, the digital signal input is read at the falling edge of the serial clock, which is the output timing of the serial interface, making it easy to adapt to existing serial interfaces. can be adapted.

さらに、導入するクロックが1種類でよいことと、A/
D変換終了信号の出力が不要であるために、A/D変換
器と外部装置との信号の授受のための端子数がそれだけ
減少し、A/D変換器をIC化する場合に有利である。
Furthermore, only one type of clock is required, and A/
Since it is not necessary to output a D conversion end signal, the number of terminals for transmitting and receiving signals between the A/D converter and an external device is reduced accordingly, which is advantageous when integrating the A/D converter into an IC. .

尚、本発明は上述した実施例に限定されるものではなく
、本発明の要旨を逸脱しない範囲内において種々の変形
実施が可能である。
Note that the present invention is not limited to the embodiments described above, and various modifications can be made without departing from the gist of the present invention.

例えば、上記実施例においては、A/D変換器に導入さ
れるA/D変換クロック(シリアルクロック5CK)の
立下りエツジに同期して比較回路2の出力信号、つまり
シリアルA/D変換データをA/D変換出力用ラッチ回
路3でラッチし、また立上りエツジに同期してA/D変
換出力用ラッチ回路3からのA/D変換データをD/A
変換入力用ラッチ回路4でラッチするようにしたが、逆
にA/D変換クロックの立上りエツジに同期して比較回
路2の出力信号をラッチし、また立下りエツジに同期し
てA/D変換出力用ラッチ回路3からのA/D変換デー
タをラッチするようにしてもよく、要するに、これら2
つのラッチタイミングがクロックSCKの異なるエツジ
であればよい。
For example, in the above embodiment, the output signal of the comparison circuit 2, that is, the serial A/D conversion data, is synchronized with the falling edge of the A/D conversion clock (serial clock 5CK) introduced into the A/D converter. The A/D conversion data is latched by the A/D conversion output latch circuit 3, and the A/D conversion data from the A/D conversion output latch circuit 3 is latched in synchronization with the rising edge.
The latch circuit 4 for conversion input is used to latch the output signal, but conversely, the output signal of the comparator circuit 2 is latched in synchronization with the rising edge of the A/D conversion clock, and the output signal of the comparison circuit 2 is latched in synchronization with the falling edge of the A/D conversion clock. The A/D conversion data from the output latch circuit 3 may be latched; in short, these two
It is sufficient that the two latch timings are at different edges of the clock SCK.

また、A/D変換クロックとしてシリアルインターフェ
ースからのシリアルクロックを用いたが、このようなり
ロックに限定されるものではない。
Further, although the serial clock from the serial interface is used as the A/D conversion clock, the present invention is not limited to such a lock.

さらに、上記実施例では基準電圧信号発生用のD/A変
換器1を利用してD/A変換機能、すなわち外部からの
ディジタル信号入力をアナログ信号に変換して出力する
機能を付加しているが、この機能を省略しても構わない
ことは勿論である。
Furthermore, in the above embodiment, a D/A conversion function, that is, a function of converting an external digital signal input into an analog signal and outputting it, is added by using the D/A converter 1 for generating a reference voltage signal. However, it is of course possible to omit this function.

(e)  効果 以上述べたように本発明によれば、A、 / D変換と
A/D変換データの出力の両動作をシリアルインターフ
ェースで使用されるシリアルクロック等に同期して行う
ことができ、そのためこれら両動作の高速化を実現でき
るばかりでなく、A/D変換データを全ビット一度にラ
ッチする回路やA/D変換終了信号を出力する回路が不
要であるため回路構成が簡単で、端子数も少なくて済む
ことにより、コストの低減を図ることができ、しかも外
部から導入するクロックが1種類のみで動作が可能な逐
次比較型A/D変換器を提供することができる。
(e) Effects As described above, according to the present invention, both the A/D conversion and the output of A/D converted data can be performed in synchronization with the serial clock used in the serial interface. Therefore, not only can these two operations be made faster, but also the circuit configuration is simple because there is no need for a circuit to latch all bits of A/D conversion data at once or a circuit to output an A/D conversion end signal. By reducing the number of clocks, it is possible to reduce costs, and it is also possible to provide a successive approximation type A/D converter that can operate with only one type of clock introduced from the outside.

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

第1図は、本発明の一実施例の逐次比較型A/D変換器
のブロック図、第2図は同実施例のA/D変換器のA/
D変換モードでの動作を示すタイムチャート、第3図は
同じ<D/A変換モードでの動作を示すタイムチャート
である。 ■・・・・・・D/A変換器、 2・・・・・・比較回路。 3・・・・・・A/D変換出力用ラッチ回路、4・・・
・・・D/A変換入力用ラッチ回路。 5・・・・・・シフトレジスタ、 F1〜F8・・・・・・D型フリップフロップ、F9〜
F16・・・・・・セット・リセット端子材り型フリッ
プフロップ、 61〜G12・・・・・・ゲート。 It、I2・・・・・・インバータ。 特許出願人 株式会社 リ コ − ゛でト−
FIG. 1 is a block diagram of a successive approximation type A/D converter according to an embodiment of the present invention, and FIG. 2 is a block diagram of an A/D converter according to the same embodiment.
FIG. 3 is a time chart showing the operation in the D conversion mode, and FIG. 3 is a time chart showing the operation in the same <D/A conversion mode. ■...D/A converter, 2...Comparison circuit. 3... Latch circuit for A/D conversion output, 4...
...Latch circuit for D/A conversion input. 5...Shift register, F1~F8...D type flip-flop, F9~
F16...Set/reset terminal type flip-flop, 61~G12...Gate. It, I2...Inverter. Patent applicant: Rico Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] (1)D/A変換器と、このD/A変換器の出力信号と
A/D変換すべきアナログ入力信号との大小比較を行う
比較回路と、この比較回路の出力信号を外部からのA/
D変換クロックの一方のエッジに同期して順次ラッチす
ることにより、シリアルA/D変換データを出力するA
/D変換出力用ラッチ回路と、前記D/A変換器の複数
のディジタル信号入力端子にそれぞれ接続されたD/A
変換入力用ラッチ回路と、前記A/D変換出力用ラッチ
回路から出力されるシリアルA/D変換データを前記A
/D変換クロックの他方のエッジに同期して前記D/A
変換入力用ラッチ回路に順次ラッチさせる手段とを具備
したことを特徴とする逐次比較型A/D変換器。
(1) A D/A converter, a comparison circuit that compares the output signal of this D/A converter with an analog input signal to be A/D converted, and an external A/D converter that converts the output signal of this comparison circuit into a /
A that outputs serial A/D converted data by sequentially latching it in synchronization with one edge of the D conversion clock.
/D conversion output latch circuit, and D/A each connected to a plurality of digital signal input terminals of the D/A converter.
The serial A/D conversion data output from the conversion input latch circuit and the A/D conversion output latch circuit is
/D conversion clock in synchronization with the other edge of the D/A conversion clock.
1. A successive approximation type A/D converter, comprising means for sequentially latching a conversion input latch circuit.
(2)前記A/D変換クロックは、シリアルインターフ
ェースからのシリアルクロックであることを特徴とする
特許請求の範囲第1項記載の逐次比較型A/D変換器。
(2) The successive approximation type A/D converter according to claim 1, wherein the A/D conversion clock is a serial clock from a serial interface.
JP12505585A 1985-06-11 1985-06-11 Sequential comparison type analog-digital converter Pending JPS61284117A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12505585A JPS61284117A (en) 1985-06-11 1985-06-11 Sequential comparison type analog-digital converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12505585A JPS61284117A (en) 1985-06-11 1985-06-11 Sequential comparison type analog-digital converter

Publications (1)

Publication Number Publication Date
JPS61284117A true JPS61284117A (en) 1986-12-15

Family

ID=14900704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12505585A Pending JPS61284117A (en) 1985-06-11 1985-06-11 Sequential comparison type analog-digital converter

Country Status (1)

Country Link
JP (1) JPS61284117A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6490618A (en) * 1987-09-28 1989-04-07 Burr Brown Corp High speed continuous approximation register in analog-to-digital converter
US5028926A (en) * 1988-12-07 1991-07-02 Fujitsu Limited Successive type analog-to-digital converter with a variable reference voltage for the digital to analog converter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6490618A (en) * 1987-09-28 1989-04-07 Burr Brown Corp High speed continuous approximation register in analog-to-digital converter
US5028926A (en) * 1988-12-07 1991-07-02 Fujitsu Limited Successive type analog-to-digital converter with a variable reference voltage for the digital to analog converter

Similar Documents

Publication Publication Date Title
EP0666653B1 (en) Input/output data ports
US5247652A (en) Parallel to serial converter enabling operation at a high bit rate with slow components by latching sets of pulses following sequential delays equal to clock period
US6259387B1 (en) Serial-parallel converter circuit
US6437725B1 (en) Parallel to serial converter
AU616217B2 (en) Two-stage synchronizer
JPS61284117A (en) Sequential comparison type analog-digital converter
JPH01118951A (en) Serial interface circuit
JP2731881B2 (en) Mark ratio setting circuit
JPS62233931A (en) Parallel serial converter
JPH0438017A (en) Serial/parallel conversion circuit
JPS61258525A (en) Integrated electronic multiplexer circuit
JP2565144B2 (en) Serial-parallel converter
EP1437836B1 (en) Parallel-To-Serial Converter
KR930008038B1 (en) Memory controller
JPH01236823A (en) Analog/digital signal converter
KR930003447B1 (en) Memory controller
JPH02179032A (en) Signal conversion circuit
JPS63313919A (en) Parallel/serial converting device
JPS6093855A (en) Data transmission equipment
JPH0566049B2 (en)
KR970056528A (en) Analog Bus / I ^ 2C Bus Protocol Converters
JP2521535B2 (en) Data transfer circuit
JPS63284930A (en) Mbnb code converting circuit
SU1580555A1 (en) Digit-analog servo converter
JPS59223020A (en) Signal converting circuit