JP2883664B2 - Analog-to-digital converter - Google Patents

Analog-to-digital converter

Info

Publication number
JP2883664B2
JP2883664B2 JP3529290A JP3529290A JP2883664B2 JP 2883664 B2 JP2883664 B2 JP 2883664B2 JP 3529290 A JP3529290 A JP 3529290A JP 3529290 A JP3529290 A JP 3529290A JP 2883664 B2 JP2883664 B2 JP 2883664B2
Authority
JP
Japan
Prior art keywords
signal
clock
measurement
trigger
external
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
Application number
JP3529290A
Other languages
Japanese (ja)
Other versions
JPH03239015A (en
Inventor
浩二 遠藤
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP3529290A priority Critical patent/JP2883664B2/en
Publication of JPH03239015A publication Critical patent/JPH03239015A/en
Application granted granted Critical
Publication of JP2883664B2 publication Critical patent/JP2883664B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、アナログ・デジタル変換装置に関し、詳し
くは同一構成のアナログ・デジタル変換装置を任意の台
数並列動作させる場合のデータ取り込み方式の改善に関
する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an analog-to-digital converter, and more particularly, to an improvement in a data capturing method when an arbitrary number of analog-to-digital converters having the same configuration are operated in parallel. .

<従来の技術> アナログ・デジタル変換器(以下アナログ・デジタル
をA/Dと略称する)を使用し、複数チャネルのアナログ
入力信号をデジタル信号に変換して収集するデータ記憶
装置において、測定期間中のすべてのデータをメモリの
先頭アドレスから順次格納できるデータ記憶装置があ
る。これは測定開始直後にサンプルしたデータをメモリ
の先頭番地に格納できるような構成となっている。特に
外部サンプルクロックを用いてA/D変換装置を動作させ
る場合に、外部サンプルクロックをストローブパルスと
するデジタイザとしての使用法が可能となることを特徴
とする。すなわち、測定開始後に最初に入ったストロー
ブパルスのタイミングでサンプルした入力信号を必ず最
初の測定データとして扱うことができる。
<Conventional technology> In a data storage device that uses an analog-to-digital converter (hereinafter, analog / digital is abbreviated as A / D) and converts and collects analog input signals of a plurality of channels into digital signals, a data storage device is used during a measurement There is a data storage device capable of sequentially storing all the data from the head address of the memory. This is a configuration in which data sampled immediately after the start of measurement can be stored at the head address of the memory. Particularly, when the A / D converter is operated using an external sample clock, it can be used as a digitizer that uses the external sample clock as a strobe pulse. That is, the input signal sampled at the timing of the strobe pulse that first enters after the start of the measurement can always be treated as the first measurement data.

本願出願人が出願した特願平1−125238号の「A/D変
換装置」は各装置のA/D変換の開始タイミングを揃える
ことができ、各装置間におけるトリガ動作を関連させて
制御できる並列駆動が可能なA/D変換装置である。第7
図はその原理説明図である。図において、1aはクロック
CLKの発生や切り換えを制御するサンプルクロック制御
回路で、内部の基準クロック、外部から加えられる外部
クロックおよび外部基準クロックを選択的に外部基準ク
ロックとして外部に出力すると共に内部各部に出力す
る。2はA/D変換器で、サンプルクロック制御回路1aか
ら加えられるクロックCLKに従ってアナログ入力信号を
デジタル信号に変換する。3はA/D変換器2の出力デー
タを格納するデータメモリである。4aは図示しない外部
装置との間で測定イネーブル信号AEN、測定開始信号AS
T、トリガイネーブル信号TENよりなる複数の測定制御信
号の授受を行い、これらの測定制御信号に従ってデータ
メモリ3のデータ格納動作を制御するデータメモリ制御
回路である。5はトリガ制御回路で、外部から加えられ
る個別トリガ信号および同期トリガ信号を選択的に同期
トリガ信号として外部に出力すると共に、サンプルクロ
ック制御回路1aから加えられるクロックに同期したトリ
ガ信号TRIGをデータメモリ制御回路4aに出力する。6は
各部を統括制御する演算制御部(CPU)で、バス7を介
して各部と接続されている。
The "A / D converter" of Japanese Patent Application No. 1-125238 filed by the applicant of the present application makes it possible to align the start timing of A / D conversion of each device and to control the trigger operation between the devices in association with each other. This is an A / D converter that can be driven in parallel. Seventh
The figure illustrates the principle. In the figure, 1a is the clock
A sample clock control circuit that controls the generation and switching of CLK, selectively outputs an internal reference clock, an externally applied external clock, and an external reference clock to an external unit as an external reference clock, and also outputs the internal reference clock to various internal units. Reference numeral 2 denotes an A / D converter which converts an analog input signal into a digital signal according to a clock CLK applied from the sample clock control circuit 1a. Reference numeral 3 denotes a data memory for storing output data of the A / D converter 2. 4a is a measurement enable signal AEN and a measurement start signal AS with an external device (not shown).
T is a data memory control circuit that transmits and receives a plurality of measurement control signals including a trigger enable signal TEN and controls the data storage operation of the data memory 3 in accordance with the measurement control signals. Reference numeral 5 denotes a trigger control circuit which selectively outputs an externally applied individual trigger signal and a synchronous trigger signal as a synchronous trigger signal to the outside, and stores a trigger signal TRIG synchronized with a clock supplied from the sample clock control circuit 1a in a data memory. Output to the control circuit 4a. Numeral 6 denotes an arithmetic control unit (CPU) which controls each unit, and is connected to each unit via a bus 7.

第8図は第7図のように構成されたA/D変換装置の並
列接続状態説明図で、K台を並列接続した例を示してい
る。図中、No.1はマスター機として、他のNo.2〜No.Kは
スレーブ機として機能する。マスター機とスレーブ機の
動作切り換えはそれぞれの内部のトリガ制御回路5の制
御により行なわれる。個別トリガ信号はマスター機にの
み加えられており、またアナログ入力信号は各装置にそ
れぞれ加えられている。
FIG. 8 is an explanatory diagram of a parallel connection state of the A / D converter configured as shown in FIG. 7, and shows an example in which K units are connected in parallel. In the figure, No. 1 functions as a master unit, and the other Nos. 2 to No. K function as slave units. Switching between the operation of the master unit and the operation of the slave unit is performed under the control of the trigger control circuit 5 in each unit. The individual trigger signal is applied only to the master device, and the analog input signal is applied to each device.

外部クロックは必要に応じて全装置に共通に加えられ
る。マスター機の外部基準クロックの出力端子、測定制
御信号の出力端子および同期トリガ信号の出力端子はN
o.2のスレーブ機の外部基準クロックの入力端子、測定
制御信号の入力端子および同期トリガ信号の入力端子に
接続され、No.2のスレーブ機の外部基準クロックの出力
端子、測定制御信号の出力端子および同期トリガ信号の
出力端子はNo.3のスレーブ機の外部基準クロックの入力
端子、測定制御信号の入力端子および同期トリガ信号の
入力端子に接続され、以下No.Kのスレーブ機まで同様に
接続されている。
An external clock is commonly applied to all devices as needed. The output terminal of the external reference clock of the master unit, the output terminal of the measurement control signal and the output terminal of the synchronization trigger signal are N
Connected to the external reference clock input terminal, measurement control signal input terminal, and synchronization trigger signal input terminal of the o.2 slave unit, the external reference clock output terminal and measurement control signal output of the No. 2 slave unit The terminal and the output terminal of the synchronous trigger signal are connected to the external reference clock input terminal, measurement control signal input terminal and synchronous trigger signal input terminal of the No. 3 slave unit. It is connected.

なお、測定イネーブル信号AENは測定可能状態を示す
信号であり、並列接続されたすべての装置から出力され
るが、すべての装置からの出力が完了した時点でイネー
ブルとなる。測定開始信号ASTは、AEN信号がイネーブル
になった後にマスター機から各スレーブ機に入力され
る。各スレーブ機はAST信号を受け付けることにより測
定を開始する。トリガイネーブル信号TENはトリガ待ち
受け状態を示す信号であり、並列接続されたすべての装
置から出力されるが、すべての装置から出力が完了した
時点でイネーブルとなる。
Note that the measurement enable signal AEN is a signal indicating a measurable state and is output from all the devices connected in parallel, but is enabled when output from all the devices is completed. The measurement start signal AST is input from the master unit to each slave unit after the AEN signal is enabled. Each slave unit starts measurement by receiving the AST signal. The trigger enable signal TEN is a signal indicating a trigger waiting state, and is output from all devices connected in parallel, but is enabled when output from all devices is completed.

このような構成における動作は次の通りである。 The operation in such a configuration is as follows.

1)マスター機の動作 タイムベースクロックとしては内部の基準クロックを
選択し、これを各スレーブ機にも与える。A/D変換器2
のサンプルクロックとしては内部の基準クロックまたは
これを分周したものを用いる。
1) Operation of master unit An internal reference clock is selected as a time base clock, and this is also given to each slave unit. A / D converter 2
The internal reference clock or a frequency-divided version thereof is used as the sample clock.

AEN信号がイネーブルになった後AST信号を送出し、同
時に測定も開始する。またTEN信号がイネーブルになっ
た後TRGEN信号をイネーブルにし、トリガ制御回路5を
動作状態にしてそれ以降に入力される個別トリガ信号を
受け付け、これを同期トリガ信号として各スレーブ機に
出力する。
After the AEN signal is enabled, the AST signal is sent, and measurement starts at the same time. After the TEN signal is enabled, the TRGEN signal is enabled, the trigger control circuit 5 is set to the operating state, and an individual trigger signal input thereafter is received, and this is output to each slave unit as a synchronous trigger signal.

2)スレーブ機の動作 タイムベースクロックとしてはマスター機から入力さ
れるものを用い、また後続のスレーブ機にも送出する。
A/D変換器2のサンプルクロックとしてはこのクロック
またはこれを分周したものを用いる。測定動作はマスタ
ー機から入力されるAST信号を受け付けた後に開始す
る。なお、受け付けたAST信号は後続のスレーブ機にも
送出する。トリガ信号としてはマスター機から入力され
る同期トリガ信号を受け付け、これを後続のスレーブ機
にも送出する。
2) Operation of slave unit The clock input from the master unit is used as the time base clock, and is transmitted to the subsequent slave units.
As the sample clock of the A / D converter 2, this clock or a clock obtained by dividing this clock is used. The measurement operation starts after receiving the AST signal input from the master device. The received AST signal is also sent to the subsequent slave units. As a trigger signal, a synchronization trigger signal input from the master unit is received and transmitted to the subsequent slave units.

このような関係によれば、各A/D変換装置には共通の
基準クロックが供給され、各A/D変換装置で個別に分周
されることから、個別のサンプルクロックでA/D変換を
行なうことができる。またトリガはすべての装置がトリ
ガ待ち受け状態になるまで無効であると共にトリガ機能
はマスター機のみ有効であり、各スレーブ機のトリガタ
イミングはマスター機のトリガタイミングと一致するこ
とになる。
According to this relationship, a common reference clock is supplied to each A / D converter, and the frequency is individually divided by each A / D converter. Can do it. Further, the trigger is invalid until all the devices are in the trigger waiting state, and the trigger function is valid only for the master device. The trigger timing of each slave device coincides with the trigger timing of the master device.

また、各A/D変換装置における測定動作はすべての装
置が測定可能になった状態で同時に開始するが、測定動
作の終了タイミングはそれぞれ独立に設定でき、データ
メモリ3のデータ長を任意に設定できる。
The measurement operation in each A / D converter starts simultaneously when all the devices can be measured. The end timing of the measurement operation can be set independently, and the data length of the data memory 3 can be set arbitrarily. it can.

<発明が解決しようとする課題> しかしながら、複数のA/D変換装置を並列運転する場
合において、測定開始後に最初に入ったストローブパル
スのタイミングでサンプルした入力信号を最初のデータ
として取り扱えるようにするためには、並列運転してい
るA/D変換装置のすべてが測定可能状態にあることを知
らせる手段が必要であり、また測定可能状態以前に入力
したストローブパルスが無効であることが判断できる手
段が必要となるが、第7図に示す装置にはそれが無いと
いう問題があった。
<Problems to be Solved by the Invention> However, in a case where a plurality of A / D converters are operated in parallel, an input signal sampled at the timing of a strobe pulse first entered after the start of measurement can be handled as first data. For this purpose, it is necessary to provide a means for notifying that all the A / D converters operating in parallel are in a measurable state, and a means for determining that a strobe pulse input before the measurable state is invalid. However, the apparatus shown in FIG. 7 has a problem that it is not provided.

本発明の目的は、このような点に鑑みてなされたもの
で、同一構成で任意の台数を並列運転したときに、それ
らすべてが測定開始後に最初に入ったストローブパルス
のタイミングでサンプルした入力信号を最初のデータと
して取り扱えることのできるA/D変換装置を提供するこ
とにある。
The object of the present invention has been made in view of such a point, and when an arbitrary number of units are operated in parallel with the same configuration, all of them are sampled at the timing of a strobe pulse which first enters after the start of measurement. It is an object of the present invention to provide an A / D conversion device that can handle as a first data.

<課題を解決するための手段> このような目的を達成するための本発明は、 内部の基準クロック、外部から与えられる外部クロッ
クおよび外部基準クロックのいずれかを選択し、これを
外部基準クロックとして外部に出力すると共に、前記選
択されたクロックを分周器を介して分周した後内部各部
に出力し、かつ測定可能状態を示す信号がイネーブルの
ときのみクロックを有効とし、また測定可能状態を示す
信号がディセーブル状態のときに外部クロックが入った
か否かを判断しその結果を出力する機能を有するサンプ
ルクロック発生回路と、 このサンプルクロック発生回路の分周器から与えられ
るクロックに従ってアナログ入力信号をデジタル信号に
変換するA/D変換器と、 同一構成の任意の台数のA/D変換装置との並列運転時
において各装置間で複数の測定制御信号の授受を行い、
これら複数の測定制御信号に従ってデータメモリのデー
タ格納動作を制御すると共に、前記サンプルクロック発
生回路および各A/D変換装置から発生された測定可能状
態にあることを示す信号をもとにして、すべてのA/D変
換装置が測定可能状態にあることを示す信号を発生およ
び受信する機能を有するデータメモリ制御回路と、 これら各部を統括制御する演算制御部 を具備したことを特徴とする。
<Means for Solving the Problems> According to the present invention for achieving the above object, one of an internal reference clock, an externally supplied external clock, and an external reference clock is selected and used as an external reference clock. Along with outputting to the outside, the selected clock is frequency-divided through a frequency divider, and then output to each of the internal parts, and the clock is enabled only when the signal indicating the measurable state is enabled. A sample clock generating circuit having a function of determining whether or not an external clock is input when the signal to be indicated is in a disabled state and outputting the result; and an analog input signal according to a clock provided from a frequency divider of the sample clock generating circuit. A / D converters that convert digital signals into digital signals, and any number of A / D converters with the same configuration during parallel operation Exchanges multiple measurement control signals between
Along with controlling the data storage operation of the data memory in accordance with these plurality of measurement control signals, and based on the signal indicating that it is in a measurable state generated from the sample clock generating circuit and each A / D converter, A data memory control circuit having a function of generating and receiving a signal indicating that the A / D conversion device is in a measurable state, and an arithmetic control unit for integrally controlling these units.

<作用> 本発明のA/D変換装置は、複数個並列接続してアナロ
グ・デジタル変換する際、各装置のA/D変換の開始タイ
ミングを揃えることができる。このため高い時間分解能
の測定が可能である。
<Operation> When a plurality of A / D converters of the present invention are connected in parallel to perform analog-to-digital conversion, the start timing of A / D conversion of each device can be made uniform. Therefore, measurement with high time resolution is possible.

また、各装置間におけるトリガ動作を関連させて制御
できるため任意のトリガ動作の組合せによる自由度の高
い測定を行なうことができる。
In addition, since the trigger operation between the devices can be controlled in association with each other, measurement with a high degree of freedom can be performed by a combination of arbitrary trigger operations.

更に、データメモリ制御回路より測定可能状態を示す
信号(ARM)を発生すると共に、サンプルクロック発生
回路よりこの測定可能状態を示す信号がディセーブル状
態のときに外部クロックが入ったか否かを判断しその結
果を示す信号(ILC)を発生するようにしたため、A/D変
換装置の並列運転時に測定開始直後にサンプルしたデー
タを必ず最初のデータとして取り扱えるようにすること
ができる。
Further, a signal (ARM) indicating a measurable state is generated from the data memory control circuit, and it is determined from the sample clock generating circuit whether or not an external clock is input when the signal indicating the measurable state is disabled. Since the signal (ILC) indicating the result is generated, the data sampled immediately after the start of the measurement during the parallel operation of the A / D converter can always be handled as the first data.

<実施例> 以下図面を参照して本発明を詳細に説明する。第1図
は本発明に係るA/D変換装置の一実施例を示す原理構成
図である。同図において、第7図と同等部分には同一符
号を付してある。第7図と異なるところは、測定可能状
態を示す信号ARMと、このARM信号がディセーブル状態の
ときに外部クロックが入ったか否かを表わす信号ILC
と、データメモリ3に対する書き込みクロックWCKを備
えた点である。
<Example> Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a principle configuration diagram showing an embodiment of an A / D converter according to the present invention. 7, the same parts as those in FIG. 7 are denoted by the same reference numerals. What is different from FIG. 7 is a signal ARM indicating a measurable state and a signal ILC indicating whether or not an external clock is input when the ARM signal is disabled.
And a write clock WCK for the data memory 3.

データメモリ制御回路4は前記ARM信号をサンプルク
ロック発生回路1および外部に出力する。外部に出力す
るARMは外部基準クロックに対するイネーブル信号とな
る。
The data memory control circuit 4 outputs the ARM signal to the sample clock generation circuit 1 and the outside. The ARM output to the outside is an enable signal for the external reference clock.

他方サンプルクロック発生回路1はARM信号がイネー
ブルのときのクロックのみを有効とすることによりデー
タ取り込み時の誤動作を防止する。そして、ARM信号が
ディセーブル状態のときに外部クロックが入力されたか
否かを判断し、その結果を出力する信号ILCをCPU6に対
して出力する。
On the other hand, the sample clock generation circuit 1 prevents a malfunction at the time of taking in data by validating only the clock when the ARM signal is enabled. Then, it determines whether or not an external clock is input when the ARM signal is in the disabled state, and outputs a signal ILC for outputting the result to the CPU 6.

第2図は第1図の具体例を示す構成図である。図にお
いて、CLKINは前段装置のサンプルクロック発生回路1
から与えられる外部基準クロックであり、CLKOUTは更に
後続装置のサンプルクロック発生回路1に与える外部基
準クロックである。AENS′はデータメモリ制御回路4か
ら後続装置のデータメモリ制御回路4に与える測定可能
状態を示す信号であり、トランジスタTr1を介して入力
の測定可能状態を示す信号AENIとワイアードオア結合さ
れている。AENI,AENOは並列接続されたすべてのA/D変換
装置の測定可能状態を表わす信号であって、各装置共同
様にトランジスタTr1のコレクタに接続されているた
め、すべての装置のAENS′信号がイネーブルになった状
態ではじめてイネーブルとなる。ASTSは前段装置のデー
タメモリ制御回路4から後続装置のデータメモリ制御回
路4に出力される測定開始信号であり、セレクタ8の一
方の入力となる。ASTIは前段装置のデータメモリ制御回
路4から後続装置のセレクタ8に入力される。ASTR信号
は各装置のデータメモリ制御回路4にセレクタ8を介し
て入力される測定開始信号であり、マスター機として動
作する場合にはASTS信号が入力され、スレーブ機として
動作する場合にはASTI信号が入力される。
FIG. 2 is a block diagram showing a specific example of FIG. In the figure, CLKIN is a sample clock generation circuit 1 of the preceding device.
, And CLKOUT is an external reference clock supplied to the sample clock generation circuit 1 of the subsequent device. AENS 'is a signal indicating a measurable state given from the data memory control circuit 4 to the data memory control circuit 4 of the succeeding device, and is wired-OR-coupled to the signal AENI indicating the measurable state of the input via the transistor Tr1. AENI and AENO are signals indicating the measurable state of all the A / D converters connected in parallel.Since each device is similarly connected to the collector of the transistor Tr1, the AENS ′ signals of all the devices are It is enabled only when it is enabled. ASTS is a measurement start signal output from the data memory control circuit 4 of the preceding device to the data memory control circuit 4 of the subsequent device, and is one input of the selector 8. ASTI is input from the data memory control circuit 4 of the preceding device to the selector 8 of the succeeding device. The ASTR signal is a measurement start signal input to the data memory control circuit 4 of each device via the selector 8, and receives an ASTS signal when operating as a master device and an ASTI signal when operating as a slave device. Is entered.

ASTOは後続装置に出力される測定開始信号であり、セ
レクタ8を介してASTR信号と同一の信号が出力される。
TENS′は後続装置に出力されるトリガ待ち受け状態を示
す信号であり、トランジスタTr2を介して出力される。T
ENRは前段装置のデータメモリ制御回路4から後続装置
のデータメモリ制御回路4に入力されるトリガ待ち受け
状態を示す信号であり、後続装置のトランジスタTr2の
コレクタに加えられる。TENI,TENOは並列接続されたす
べてのA/D変換装置のトリガ待ち受け状態を表わす信号
であり、これらのTENI,TENOはトランジスタTr2のコレク
タに接続されているため、すべての装置のTENS′信号が
イネーブルになった状態ではじめてイネーブルとなる。
ASTO is a measurement start signal output to the subsequent device, and the same signal as the ASTR signal is output via the selector 8.
TENS 'is a signal indicating a trigger waiting state output to the subsequent device and output via the transistor Tr2. T
ENR is a signal input from the data memory control circuit 4 of the preceding apparatus to the data memory control circuit 4 of the succeeding apparatus and indicating a trigger waiting state, and is applied to the collector of the transistor Tr2 of the succeeding apparatus. TENI and TENO are signals indicating a trigger waiting state of all the A / D converters connected in parallel.Because these TENI and TENO are connected to the collector of the transistor Tr2, the TENS ′ signals of all the devices are output. It is enabled only when it is enabled.

MSIDIは前段装置から後続装置に入力される設定動作
モード識別信号であり、マスター機として動作するよう
に設定されている場合にはHレベルになり、スレーブ機
として動作するように設定されている場合にはLレベル
になる。MSIDOは前段装置から後続装置に出力される設
定動作モード識別信号であり、信号線の端部は共通電位
点に接続されている。
MSIDI is a set operation mode identification signal input from the preceding device to the succeeding device. When the device is set to operate as the master device, it is at the H level, and when the device is set to operate as the slave device. Becomes L level. MSIDO is a set operation mode identification signal output from the preceding device to the succeeding device, and the end of the signal line is connected to the common potential point.

TRGENは各装置内でデータメモリ制御回路4からトリ
ガ制御回路5に対して出されるトリガ待ち受け可能状態
を示す信号、TRIGはトリガ制御回路5からデータメモリ
制御回路4に入力されるトリガ信号である。TRGIは前段
装置のトリガ制御回路5から後続装置のトリガ制御回路
5に入力される同期トリガ信号であり、TRGOは前段装置
のトリガ制御回路5から後続装置のトリガ制御回路5に
出力される同期トリガ信号である。
TRGEN is a signal indicating a trigger standby state output from the data memory control circuit 4 to the trigger control circuit 5 in each device, and TRIG is a trigger signal input from the trigger control circuit 5 to the data memory control circuit 4. TRGI is a synchronization trigger signal input from the trigger control circuit 5 of the preceding apparatus to the trigger control circuit 5 of the succeeding apparatus, and TRGO is a synchronous trigger signal output from the trigger control circuit 5 of the preceding apparatus to the trigger control circuit 5 of the succeeding apparatus. Signal.

第3図は第2図のサンプルクロック発生回路1の具体
例を示す構成図である。9は内部基準クロックINTCLKを
出力する内部基準クロック発生回路、10は内部基準クロ
ックINTCLK、外部クロックEXTCLKおよび外部基準クロッ
クCLKINを選択するスイッチ、11はスイッチ10で選択さ
れたクロックを所望の値に分周して内部の各部に出力す
る分周器である。12はエッジトリガ型のフリップフロッ
プで、ARM信号の反転信号がD入力端に加えられ、クロ
ック端子には外部クロックEXTCLKが加えられている。13
はアンドゲートで、ARM信号とEXTCLK信号のアンドをと
る。
FIG. 3 is a block diagram showing a specific example of the sample clock generation circuit 1 of FIG. Reference numeral 9 denotes an internal reference clock generation circuit that outputs an internal reference clock INTCLK, reference numeral 10 denotes a switch for selecting the internal reference clock INTCLK, external clock EXTCLK, and external reference clock CLKIN, and reference numeral 11 denotes a clock for selecting the clock selected by the switch 10 to a desired value. This is a frequency divider that circulates and outputs the signals to various internal parts. Reference numeral 12 denotes an edge trigger type flip-flop. An inverted signal of an ARM signal is applied to a D input terminal, and an external clock EXTCLK is applied to a clock terminal. 13
Is an AND gate for ANDing the ARM signal and the EXTCLK signal.

このようなサンプルクロック発生回路では、外部クロ
ックはARM信号がイネーブルのときのみ有効となる。そ
してARM信号がディセーブルのときに外部クロックが入
力されると、フリップフロップ12からILC信号が出力さ
れる。ILC信号はCPUに読み取られ、測定可能な状態とな
る前に外部クロックが入ったか否かが判断され、その結
果は表示装置(図示せず)に表示される。これにより、
測定開始後に最初に入力したクロックでサンプルしたデ
ータがメモリの最初のデータとして扱われるか否かを知
らせることができる。
In such a sample clock generation circuit, the external clock is valid only when the ARM signal is enabled. When an external clock is input while the ARM signal is disabled, the flip-flop 12 outputs an ILC signal. The ILC signal is read by the CPU, and it is determined whether or not an external clock is input before a measurable state is obtained, and the result is displayed on a display device (not shown). This allows
It is possible to inform whether or not data sampled at the first clock input after the start of measurement is treated as the first data in the memory.

第4図は第2図のトリガ制御回路5の具体例を示す構
成図である。14は個別トリガ信号と同期トリガ信号TRGI
を選択するスイッチ、15はスイッチ14から出力されるト
リガ信号に対してトリガ時点でのアナログ入力信号(ト
リガポイントデータ)がA/D変換器2でデジタル信号に
変換されて出力されるまでの時間差の補正を施した後ト
リガ信号TRIGとしてデータメモリ制御回路4に出力する
タイミング制御回路である。なお、スイッチ14の出力は
後続装置へ同期トリガ信号TRGOとして出力される。
FIG. 4 is a block diagram showing a specific example of the trigger control circuit 5 of FIG. 14 is individual trigger signal and synchronous trigger signal TRGI
The switch 15 selects the time difference between the trigger signal output from the switch 14 and the time at which the analog input signal (trigger point data) at the trigger time is converted into a digital signal by the A / D converter 2 and output. Is a timing control circuit that outputs the trigger signal TRIG to the data memory control circuit 4 after the correction of the above. The output of the switch 14 is output to the subsequent device as a synchronization trigger signal TRGO.

このように構成された装置の動作を次に説明する。基
本的な測定動作は従来例において説明した動作と同等で
ある。第5図は単体での測定開始時の動作を示すタイム
チャートである。CPU6から測定開始の指令信号STARTが
出力されると、AENS′がHレベル(ディセーブル状態)
からLレベル(イネーブル状態)になる。これによりAE
NRがLレベル(ディセーブル状態)からHレベル(イネ
ーブル状態)になる。このAENRの立ち上がりによりARM
はLレベル(ディセーブル状態)からHレベル(イネー
ブル状態)になる。
The operation of the device configured as described above will now be described. The basic measurement operation is the same as the operation described in the conventional example. FIG. 5 is a time chart showing the operation at the start of measurement by itself. When the measurement start command signal START is output from the CPU 6, AENS 'is at H level (disabled state).
To an L level (enabled state). AE
NR changes from L level (disable state) to H level (enable state). ARM is triggered by the rise of this AENR
Goes from L level (disabled state) to H level (enabled state).

ARM信号は次のSTARTの立ち上がりによりディセーブル
状態にされる。ARM信号がディセーブル状態にあるとき
は、外部クロックは打ち消され、イネーブル状態になっ
たときのみ外部クロックを受け付ける。
The ARM signal is disabled by the next rising edge of START. When the ARM signal is in the disabled state, the external clock is canceled, and the external clock is accepted only when the ARM signal is enabled.

ARM信号がディセーブル状態にあるときに外部クロッ
クが入力した場合、外部クロックの立ち上がりによって
フリップフロップがILC信号を出力する。ILC信号はCPU6
により読み込まれ、ILC信号がイネーブルの場合は測定
開始より先に外部クロックが入力したと判断され、その
旨表示される。
When an external clock is input while the ARM signal is disabled, the flip-flop outputs an ILC signal at the rise of the external clock. ILC signal is CPU6
When the ILC signal is enabled, it is determined that the external clock has been input prior to the start of the measurement, and the fact is displayed.

以上のような動作により、ARM信号の立ち上がりをト
リガとして外部クロックを入力することにより測定開始
後に入力した外部クロックと測定データとが時間的に1
対1に対応することになる。すなわち、n番目に入力し
た外部クロックでサンプルしたデータがn番目の測定デ
ータとして扱われるようになる。
With the above operation, the external clock input after the start of the measurement and the measured data are temporally different from each other by inputting the external clock with the rising edge of the ARM signal as a trigger.
It will correspond to one to one. That is, data sampled by the nth input external clock is handled as the nth measurement data.

並列運転時の測定開始時のタイムチャートを第6図に
示す。各装置のCPU6はそれぞれ独立にSTART信号を出力
し、それによりAENS′も各装置ごとに別々のタイミング
で出力される。そのうちで最も遅いAENS′信号の発生に
タイミングを合わせて各装置のAENRが一斉にイネーブル
になる。AENR信号がイネーブルになると、ARM信号がイ
ネーブルになり、外部クロック待ち受け状態となる。
FIG. 6 shows a time chart at the start of the measurement in the parallel operation. The CPU 6 of each device outputs a START signal independently, whereby AENS 'is also output at a different timing for each device. The AENR of each device is simultaneously enabled in synchronization with the generation of the latest AENS 'signal. When the AENR signal is enabled, the ARM signal is enabled and the system enters an external clock waiting state.

ARM信号はCPU6からSTART信号が出力された後AENR信号
がイネーブルになるまでの間はディセーブル状態であ
り、この間は外部クロックが入力されても打ち消され
る。また、このとき測定開始より以前に外部クロックが
入ったことを知らせる信号ILCが出力される。以後の動
作は単体測定時と同様である。
The ARM signal is in a disabled state from when the START signal is output from the CPU 6 until the AENR signal is enabled. During this time, the ARM signal is canceled even if an external clock is input. At this time, a signal ILC indicating that an external clock has been input before the start of measurement is output. Subsequent operations are the same as in the single measurement.

<発明の効果> 以上詳細に説明したように、本発明によれば、次のよ
うな効果がある。
<Effects of the Invention> As described in detail above, the present invention has the following effects.

A/D変換装置を外部サンプルクロックで動作させる場
合、測定開始を示す信号をA/D変換装置外部に出力し、
その信号をトリガとして外部サンプルクロックを入力す
ることにより、入力した外部サンプルクロックと測定デ
ータとの時間的な対応をとることができる。すなわち、
n番目の外部サンプルクロックでサンプルしたデータを
n番目の測定データとして扱えるようにすることができ
る。
When operating the A / D converter with an external sample clock, a signal indicating the start of measurement is output to the outside of the A / D converter,
By inputting an external sample clock using the signal as a trigger, a temporal correspondence between the input external sample clock and the measurement data can be obtained. That is,
Data sampled by the n-th external sample clock can be handled as the n-th measurement data.

また、測定開始以前に入力された外部クロックを打ち
消すことにより、サンプルクロックと測定データとの対
応が崩れることを防止している。
Further, by canceling the external clock input before the start of the measurement, the correspondence between the sample clock and the measurement data is prevented from being broken.

更に、測定開始以前に外部クロックが入力された場合
にそれを示す信号を出力することにより、サンプルクロ
ックの入力タイミングが不適であったことを示すことが
でき、これにより測定開始以前に入力された外部クロッ
クによってデータはサンプルされていないことがわか
る。
Furthermore, by outputting a signal indicating that an external clock is input before the start of measurement, it is possible to indicate that the input timing of the sample clock was inappropriate, and thus, the input timing of the external clock was input before the start of measurement. It can be seen that the data is not sampled by the external clock.

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

第1図は本発明に係るA/D変換装置の一実施例を示す原
理構成図、 第2図は第1図の具体例を示す構成図、 第3図は第2図のサンプルクロック発生回路の具体例を
示す構成図、 第4図は第2図のトリガ制御回路の具体例を示す構成
図、 第5図は単体での測定開始時の動作を示すタイムチャー
ト、 第6図は並列運転時の測定開始時のタイムチャート、 第7図は従来のA/D変換装置の原理説明図、 第8図は第7図のA/D変換装置の並列接続状態説明図で
ある。 1……サンプルクロック発生回路 2……A/D変換器、3……データメモリ 4……データメモリ制御回路 5……トリガ制御回路、6……CPU 7……バス、8……セレクタ 9……内部基準クロック発生回路 10……スイッチ、11……分周器 12……フリップフロップ、13……アンドゲート 14……スイッチ 15……タイミング制御回路
FIG. 1 is a block diagram showing the principle of an embodiment of an A / D converter according to the present invention, FIG. 2 is a block diagram showing a specific example of FIG. 1, and FIG. 3 is a sample clock generating circuit of FIG. FIG. 4 is a block diagram showing a specific example of the trigger control circuit of FIG. 2, FIG. 5 is a time chart showing an operation at the start of measurement by itself, and FIG. 6 is a parallel operation. FIG. 7 is a diagram illustrating the principle of the conventional A / D converter, and FIG. 8 is a diagram illustrating the parallel connection state of the A / D converter of FIG. DESCRIPTION OF SYMBOLS 1 ... Sample clock generation circuit 2 ... A / D converter, 3 ... Data memory 4 ... Data memory control circuit 5 ... Trigger control circuit, 6 ... CPU 7 ... Bus, 8 ... Selector 9 ... ... internal reference clock generation circuit 10 ... switch, 11 ... frequency divider 12 ... flip-flop, 13 ... AND gate 14 ... switch 15 ... timing control circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H03M 1/00 - 1/88 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) H03M 1/00-1/88

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】内部の基準クロック、外部から与えられる
外部クロックおよび外部基準クロックのいずれかを選択
し、これを外部基準クロックとして外部に出力すると共
に、前記選択されたクロックを分周器を介して分周した
後内部各部に出力し、かつ測定可能状態を示す信号がイ
ネーブルのときのみクロックを有効とし、また測定可能
状態を示す信号がディセーブル状態のときに外部クロッ
クが入ったか否かを判断しその結果を出力する機能を有
するサンプルクロック発生回路と、 このサンプルクロック発生回路の分周器から与えられる
クロックに従ってアナログ入力信号をデジタル信号に変
換するA/D変換器と、 同一構成の任意の台数のA/D変換装置との並列運転時に
おいて各装置間で複数の測定制御信号の授受を行い、こ
れら複数の測定制御信号に従ってデータメモリのデータ
格納動作を制御すると共に、前記サンプルクロック発生
回路および各A/D変換装置から発生された測定可能状態
にあることを示す信号をもとにして、すべてのA/D変換
装置が測定可能状態にあることを示す信号を発生および
受信する機能を有するデータメモリ制御回路と、 これら各部を統括制御する演算制御部 を具備したことを特徴とするアナログ・デジタル変換装
置。
An internal reference clock, an externally applied external clock and an external reference clock are selected and output to the outside as an external reference clock, and the selected clock is passed through a frequency divider. The clock is valid only when the signal indicating the measurable state is enabled, and the clock is enabled only when the signal indicating the measurable state is enabled, and whether or not the external clock is input when the signal indicating the measurable state is disabled. A sample clock generation circuit having a function of judging and outputting the result; an A / D converter for converting an analog input signal into a digital signal according to a clock supplied from a frequency divider of the sample clock generation circuit; During parallel operation with a number of A / D converters, a plurality of measurement control signals are transmitted and received between In addition to controlling the data storage operation of the data memory according to the signal, all A / D conversions are performed based on the signal indicating that the sample clock generation circuit and each A / D converter are in a measurable state. An analog-to-digital conversion device comprising: a data memory control circuit having a function of generating and receiving a signal indicating that the device is in a measurable state; and an arithmetic control unit for integrally controlling these units.
JP3529290A 1990-02-16 1990-02-16 Analog-to-digital converter Expired - Lifetime JP2883664B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3529290A JP2883664B2 (en) 1990-02-16 1990-02-16 Analog-to-digital converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3529290A JP2883664B2 (en) 1990-02-16 1990-02-16 Analog-to-digital converter

Publications (2)

Publication Number Publication Date
JPH03239015A JPH03239015A (en) 1991-10-24
JP2883664B2 true JP2883664B2 (en) 1999-04-19

Family

ID=12437699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3529290A Expired - Lifetime JP2883664B2 (en) 1990-02-16 1990-02-16 Analog-to-digital converter

Country Status (1)

Country Link
JP (1) JP2883664B2 (en)

Also Published As

Publication number Publication date
JPH03239015A (en) 1991-10-24

Similar Documents

Publication Publication Date Title
JPS60164A (en) Synchronizing circuit of television frame signal
JP2883664B2 (en) Analog-to-digital converter
US4396905A (en) Asynchronously controllable successive approximation analog-to-digital converter
US20010033524A1 (en) Circuit for managing the transfer of data streams from a plurality of sources within a system
JP2655433B2 (en) A / D converter
JP3410267B2 (en) Recording system
JP2790748B2 (en) Serial data communication device
JPH02148916A (en) A/d converter
JPS6225798Y2 (en)
JP2745775B2 (en) Synchronous operation compatible measuring device
JP2001144616A (en) Successive approximation type analog/digital converter
US5359145A (en) Time-divisional data register
KR930005224B1 (en) Control data processing device of tone source ic
JP2890670B2 (en) Synchronous operation compatible waveform generator
JPH0445063Y2 (en)
SU1140126A1 (en) Microprocessor
KR940001833B1 (en) Digital video apparatus
JPH08162953A (en) Analog/digital converter
JPH06242146A (en) Digital oscilloscope
JPS62169511A (en) Digital delay circuit
JPS6334491B2 (en)
JPH0635561A (en) Optional waveform generator
JPH09139732A (en) Timing signal generator
JPS61181221A (en) Analog-digital converter
JPH0823764B2 (en) Multi-channel analog output circuit