JPH02309818A - A/d converter - Google Patents

A/d converter

Info

Publication number
JPH02309818A
JPH02309818A JP13177489A JP13177489A JPH02309818A JP H02309818 A JPH02309818 A JP H02309818A JP 13177489 A JP13177489 A JP 13177489A JP 13177489 A JP13177489 A JP 13177489A JP H02309818 A JPH02309818 A JP H02309818A
Authority
JP
Japan
Prior art keywords
clock
converter
data memory
control circuit
generation circuit
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
JP13177489A
Other languages
Japanese (ja)
Inventor
Koji Endo
浩二 遠藤
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 JP13177489A priority Critical patent/JPH02309818A/en
Publication of JPH02309818A publication Critical patent/JPH02309818A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

PURPOSE:To ensure automatic calibration of the converter in timewise stable state by selecting a clock from an external clock generating circuit during the measuring period, selecting the clock of an internal clock generating circuit during non measuring period, frequency-dividing the clock and distributing the result to each section of the converter. CONSTITUTION:A clock control circuit 7 selects a clock ECK of an external clock generating circuit 4 during the measuring period and selects a clock ICK from an internal clock generating circuit 4 during the non measuring period, each clock is frequency-divided and distributed to an A/D converter 1 and a data memory control circuit 9 as a sample clock SCK. The A/D converter 1 converts an analog signal input A into a digital signal D according to the sample clock SCK and an output data B is stored in a data memory 8. After a prescribed quantity of data is stored, a data memory control circuit 9 controlling the data storage of the data memory 8 outputs a data storage end signal RC to the clock control circuit 7. Then an arithmetic control section (CPU) 10 controls totally each section of the converter. Thus, automatic calibration is implemented in the timewise stable state.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、A/D変換装置に関し、更に詳しくは、外部
クロックと内部クロックとが選択的に加えられるA/D
変換器を用いたA/D変換装置の自動校正動作の改善に
関する。
DETAILED DESCRIPTION OF THE INVENTION <Field of Industrial Application> The present invention relates to an A/D conversion device, and more specifically, to an A/D conversion device to which an external clock and an internal clock are selectively applied.
The present invention relates to an improvement in automatic calibration operation of an A/D conversion device using a converter.

〈従来の技術〉 第4図は、従来のA/D変換装置の一例を示すブロック
図である。図において、1はアナログ信号人力Aをデジ
タル信号りに変換するA/D変換器であり、切換スイッ
チ2を介して選択的に加えられる外部クロック発生回路
3のクロックECKまたは内部クロック発生回路4のク
ロックICKに従って動作する。該A/D変換器1の出
力データDはデータメモリ装置5に格納される。6はA
/D変換器1.切換スイッチ2.データメモリ装置5等
の動作を統轄制御すると共に、演算処理や表示処理も行
う信号処理部である。
<Prior Art> FIG. 4 is a block diagram showing an example of a conventional A/D conversion device. In the figure, reference numeral 1 denotes an A/D converter that converts an analog signal input A into a digital signal, and the clock ECK of the external clock generation circuit 3 or the clock ECK of the internal clock generation circuit 4 is selectively applied via the changeover switch 2. Operates according to clock ICK. The output data D of the A/D converter 1 is stored in a data memory device 5. 6 is A
/D converter 1. Changeover switch 2. This is a signal processing section that centrally controls the operations of the data memory device 5 and the like, and also performs arithmetic processing and display processing.

このような従来のA/D変換装置を外部クロックIEC
Kで動作させる場合において、装置の自動校正も外部ク
ロックECKに従って行われる。すなわち、自動校正に
要する時間は外部クロックECKに依存することになる
Such a conventional A/D converter is connected to an external clock IEC.
In the case of operation at K, automatic calibration of the device is also performed according to the external clock ECK. That is, the time required for automatic calibration depends on the external clock ECK.

〈発明が解決しようとする課題〉 この結果、外部クロックECKの速度が遅いと自動校正
に時間がかかり過ぎるという問題が発生する。
<Problems to be Solved by the Invention> As a result, a problem arises in that automatic calibration takes too much time if the speed of the external clock ECK is slow.

また、自動校正動作中に何等かの原因で外部クロックE
CKが止まってしまうと装置は自動校正動作の状態で停
止してしまうことになる。
In addition, the external clock E may be interrupted for some reason during automatic calibration.
If CK stops, the device will stop in the state of automatic calibration operation.

本発明はこのような点に着目してなされたものであり、
その目的は、装置の自動校正が時間的に安定した状態で
確実に行えるA/D変換装置を提供することにある。
The present invention has been made with attention to these points,
The purpose is to provide an A/D conversion device that can reliably perform automatic calibration of the device in a temporally stable state.

く課題を解決するための手段〉 上記課題を解決する本発明は、 アナログ信号をデジタル信号に変換するA/D変換器と
、 該A/D変換器の出力データを格納するデータメモリと
、 該データメモリを制御するデータメモリ制御回路と、 内部クロック発生回路と、 外部クロック発生回路と、 測定期間中は前記外部クロック発生回路のクロックを選
択し、非測定期間中は前記内部クロック発生回路のクロ
ックを選択し分周して装置の各部に分配するクロック制
御回路と、 装置各部を統轄制御する演算制御部とで構成されたこと
を特徴とするものである。
Means for Solving the Problems> The present invention for solving the above problems comprises: an A/D converter that converts an analog signal into a digital signal; a data memory that stores output data of the A/D converter; a data memory control circuit that controls a data memory, an internal clock generation circuit, an external clock generation circuit, and selects the clock of the external clock generation circuit during a measurement period and selects the clock of the internal clock generation circuit during a non-measurement period. The device is characterized in that it is comprised of a clock control circuit that selects, divides and distributes the frequency to each part of the device, and an arithmetic control section that centrally controls each part of the device.

く作用〉 本発明のA/D変換装置のクロックは、測定時のみ外部
クロックが選択されて非測定時は内部クロックが選択さ
れる。
Effect> As the clock of the A/D converter of the present invention, the external clock is selected only when measuring, and the internal clock is selected when not measuring.

すなわち、自動校正は常に内部クロックで行われるので
、安定した時間で確実に行うことができる。
That is, since automatic calibration is always performed using the internal clock, it can be performed reliably at a stable time.

〈実施例〉 以下、図面を参照して本発明の実施例を詳細に説明する
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック図であり、第
4図と共通する部分には同一符号を付してその再説明は
省略する。図において、7はクロック制御回路であり、
測定期間中は外部クロック発生回路3のクロックECK
を選択して非測定期間中は内部クロック発生回路4のク
ロックICKを選択し、これら各クロックを分周してA
/D変換器1及びデータメモリ制御回路9にサンプルク
ロックSCKとして分配する。A/D変換器1はサンプ
ルクロックSCKに従ってアナログ信号入力Aをデジタ
ル信号りに変換する。該A/D変換器1の出力データD
はデータメモリ8に格納される。該データメモリ8のデ
ータ格納動作はデータメモリ制御回路9により制御され
る。該データメモリ制御回路9は所定量のデータを格納
するとクロック制御回路7にデータ格納終了信号RCを
出力する。演算制御部(CPU) 10は装置各部を統
轄制御するものであり、システムバス11を介してA/
D変換器1.クロック制御回路7.データメモリ8及び
データメモリ制御回路9と接続されている。
FIG. 1 is a block diagram showing an embodiment of the present invention, and parts common to those in FIG. 4 are designated by the same reference numerals, and redundant explanation thereof will be omitted. In the figure, 7 is a clock control circuit;
During the measurement period, the clock ECK of external clock generation circuit 3
, selects the clock ICK of the internal clock generation circuit 4 during the non-measurement period, and divides each of these clocks to generate A
/D converter 1 and data memory control circuit 9 as sample clock SCK. The A/D converter 1 converts the analog signal input A into a digital signal according to the sample clock SCK. Output data D of the A/D converter 1
is stored in the data memory 8. The data storage operation of the data memory 8 is controlled by a data memory control circuit 9. When the data memory control circuit 9 stores a predetermined amount of data, it outputs a data storage completion signal RC to the clock control circuit 7. An arithmetic control unit (CPU) 10 is a unit that centrally controls each part of the device, and is connected to the A/
D converter 1. Clock control circuit 7. It is connected to the data memory 8 and the data memory control circuit 9.

第2図はクロック制御回路7の構成例を示すブロック図
である。クロック切換部12には演算11制御部10か
らスタート信号及びストップ信号が加えられ、データメ
モリ制御回路9からデータ格納終了信号RCが加えられ
て、これら各信号に基づいてスイッチ13を切換駆動す
るためのクロック切換信号ECKCGが生成される。該
クロック切換信号ECKCGは演算制御部10からスタ
ート信号が加えられることによりイネーブルになり、演
算制御部10からストップ信号が加えられることにより
またはデータメモリ制御回路9からデータ格納終了信号
RCが加えられることによりディセーブルになる。スイ
ッチ13はクロック切換信号ECKCGがイネーブルの
間に限って外部クロック発生回路3のクロックECKを
選択して分周器14に加え、それ以外のディセーブルで
は内部クロック発生回路4のクロックICKを選択して
分周器14に加える。
FIG. 2 is a block diagram showing an example of the configuration of the clock control circuit 7. As shown in FIG. A start signal and a stop signal are applied to the clock switching unit 12 from the arithmetic unit 11 control unit 10, and a data storage end signal RC is applied from the data memory control circuit 9, so that the switch 13 is switched and driven based on these signals. A clock switching signal ECKCG is generated. The clock switching signal ECKCG is enabled when a start signal is applied from the calculation control section 10, and when a stop signal is applied from the calculation control section 10 or a data storage end signal RC is applied from the data memory control circuit 9. Disabled by The switch 13 selects the clock ECK of the external clock generation circuit 3 and applies it to the frequency divider 14 only while the clock switching signal ECKCG is enabled, and selects the clock ICK of the internal clock generation circuit 4 when it is otherwise disabled. and is added to the frequency divider 14.

該分周器14はスイッチ13を介して加えられるクロッ
クを設定された値に分周して各部に出力する。なお、分
周器14の分周比はl/1を含むものとする。
The frequency divider 14 divides the clock applied via the switch 13 into a set value and outputs the divided value to each section. Note that it is assumed that the frequency division ratio of the frequency divider 14 includes l/1.

このように構成された装置において、外部クロツク発生
回路3のクロックECKに基づいてアナログ信号入力A
を測定する場合の動作を第3図のタイミングチャートで
説明する。
In the device configured as described above, the analog signal input A is output based on the clock ECK of the external clock generation circuit 3.
The operation when measuring will be explained with reference to the timing chart in FIG.

演算制御部10からクロック制御回路7に測定スタート
信号5TART  (a)が加えられることによりクロ
ック切換信号ECKCG  (b)はイネーブルになり
、分周器14に加えられるクロックは(d)に示すよう
に内部クロック発生回路4のクロックIcKから外部ク
ロック発生回路3のクロックECKに切り換えられる。
By applying the measurement start signal 5TART (a) from the arithmetic control unit 10 to the clock control circuit 7, the clock switching signal ECKCG (b) is enabled, and the clock applied to the frequency divider 14 is changed as shown in (d). The clock IcK of the internal clock generation circuit 4 is switched to the clock ECK of the external clock generation circuit 3.

A/D変換器1はクロック制御回路7から加えられるサ
ンプルクロックSCKに従ってアナログ信号人力A (
c)に対するA/D変換を続行する。A/D変換器1の
出力データD(e)をデータメモリ8に書き込む際の書
込みアドレス(f)はデータメモリ制御回路9が管理す
る。(g)は書込みデータである。書込みアドレスは予
め演算制御部10から設定しておき、スタート信号5T
ARTが入力された後サンプルクロックSCKの立ち下
がり毎に順次カウントされる。そして、データ数が予め
設定された数に達することによりデータメモリ制御回路
9からデータ格納終了信号RC(h)がクロック制御回
路7に出力される。
The A/D converter 1 converts the analog signal A (
Continue A/D conversion for c). A write address (f) for writing output data D(e) of the A/D converter 1 into the data memory 8 is managed by the data memory control circuit 9. (g) is write data. The write address is set in advance from the calculation control unit 10, and the start signal 5T
After ART is input, it is counted sequentially at each falling edge of the sample clock SCK. Then, when the number of data reaches a preset number, a data storage end signal RC(h) is output from the data memory control circuit 9 to the clock control circuit 7.

これにより、クロック切換信号IECKCGはディセー
ブルになり、分周器14に加えられるクロックは外部ク
ロック発生回路3のクロックECKから内部クロック発
生回路4のクロックIcKに切り換えられる。以後、新
たなアナログ信号人力AのJl定が開始されるまでこの
状態が保持される。すなわち、クロックは測定動作中の
み外部クロック発生回路3のクロックECKが選択され
る。
As a result, the clock switching signal IECKCG is disabled, and the clock applied to the frequency divider 14 is switched from the clock ECK of the external clock generation circuit 3 to the clock IcK of the internal clock generation circuit 4. Thereafter, this state is maintained until a new Jl determination of the analog signal A is started. That is, the clock ECK of the external clock generation circuit 3 is selected only during the measurement operation.

内部クロック発生回路4のクロックICKに基づいてア
ナログ信号人力Aを測定する場合には、クロック切換信
号ECKCGは演算制御部10からの設定によってマス
クされ、常に内部クロック発生回路4のクロックIcK
を選択した状態に保たれる。
When measuring the analog signal A based on the clock ICK of the internal clock generation circuit 4, the clock switching signal ECKCG is masked by the settings from the arithmetic control unit 10, and the clock IcK of the internal clock generation circuit 4 is always used.
remains selected.

自動校正にあたってはA/D変換器1の入力を接地する
等一部の変更はあるものの、基本的には内部クロック発
生回路4のクロックIcKに基づくアナログ信号人力A
の測定と同じシーケンスで行われる。
During automatic calibration, there are some changes such as grounding the input of the A/D converter 1, but basically the analog signal A is based on the clock IcK of the internal clock generation circuit 4.
The measurements are carried out in the same sequence as the previous measurements.

〈発明の効果〉 このように構成することにより、アナログ信号入力のn
1定時のみ外部クロック発生回路のクロックが選択され
て自動校正を含む他の状態では内部クロック発生回路の
クロックが選択されるので、自動校正は内部クロックに
よって定まる一定の時間で行われることになり、従来の
ように自動校正にも外部クロックが選択される場合に比
べて時間、  的に安定した状態で自動校正が行える。
<Effect of the invention> With this configuration, n of analog signal input
Since the clock of the external clock generation circuit is selected only at one fixed time and the clock of the internal clock generation circuit is selected in other states including automatic calibration, automatic calibration is performed at a fixed time determined by the internal clock. Compared to the conventional case where an external clock is selected for automatic calibration, automatic calibration can be performed in a more stable state both in terms of time and in terms of time.

また、内部クロックの伝送系は外部クロックの伝送系に
比べて中断原因になる要素は少なく、自動校正の状態で
動作が停止してしまう危険性は大幅に改善される。
Furthermore, the internal clock transmission system has fewer factors that can cause interruptions than the external clock transmission system, and the risk of the operation stopping during automatic calibration is greatly reduced.

以上詳細に説明したように、本発明によれば、装置の自
動校正が時間的に安定した状態で確実に行えるA/D変
換装置を提供することができる。
As described in detail above, according to the present invention, it is possible to provide an A/D conversion device that can reliably perform automatic calibration of the device in a temporally stable state.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図のクロック制御回路の具体例を示すブロック図、第3
図は第1図の動作を説明するタイミングチャート、第4
図は従来の装置の一例を示すブロック図である。 1・・−A/D変換器 3・・・外部クロック発生回路 4・・・内部クロック発生回路 7・・・クロック制御回路   8・・・データメモリ
9・・・データメモリ制御回路 1o・・・演算制御部
、11・・・システムバス 12・・・クロック切換部   13・・・スイッチ1
4・・・分周器 第2図
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
Block diagram illustrating a specific example of the clock control circuit shown in Figure 3.
The figure is a timing chart explaining the operation of figure 1, and figure 4.
The figure is a block diagram showing an example of a conventional device. 1...-A/D converter 3...External clock generation circuit 4...Internal clock generation circuit 7...Clock control circuit 8...Data memory 9...Data memory control circuit 1o... Arithmetic control unit, 11... System bus 12... Clock switching unit 13... Switch 1
4... Frequency divider Figure 2

Claims (1)

【特許請求の範囲】 アナログ信号をデジタル信号に変換するA/D変換器と
、 該A/D変換器の出力データを格納するデータメモリと
、 該データメモリを制御するデータメモリ制御回路と、 内部クロック発生回路と、 外部クロック発生回路と、 測定期間中は前記外部クロック発生回路のクロックを選
択し、非測定期間中は前記内部クロック発生回路のクロ
ックを選択し分周して装置の各部に分配するクロック制
御回路と、 装置各部を統轄制御する演算制御部とで構成されたこと
を特徴とするA/D変換装置。
[Claims] An A/D converter that converts an analog signal into a digital signal; a data memory that stores output data of the A/D converter; a data memory control circuit that controls the data memory; a clock generation circuit; and an external clock generation circuit; during a measurement period, the clock of the external clock generation circuit is selected, and during a non-measurement period, the clock of the internal clock generation circuit is selected, frequency-divided, and distributed to each part of the device. 1. An A/D conversion device comprising: a clock control circuit that controls various parts of the device; and an arithmetic control section that centrally controls each part of the device.
JP13177489A 1989-05-25 1989-05-25 A/d converter Pending JPH02309818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13177489A JPH02309818A (en) 1989-05-25 1989-05-25 A/d converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13177489A JPH02309818A (en) 1989-05-25 1989-05-25 A/d converter

Publications (1)

Publication Number Publication Date
JPH02309818A true JPH02309818A (en) 1990-12-25

Family

ID=15065840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13177489A Pending JPH02309818A (en) 1989-05-25 1989-05-25 A/d converter

Country Status (1)

Country Link
JP (1) JPH02309818A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58182750A (en) * 1982-04-21 1983-10-25 Hitachi Ltd Analog-digital converting circuit
JPS61191973A (en) * 1985-02-20 1986-08-26 Fujitsu Ltd Semiconductor integrated circuit with testing circuit
JPS6391578A (en) * 1986-10-06 1988-04-22 Nec Corp Test circuit
JPS6454522A (en) * 1987-08-25 1989-03-02 Seiko Epson Corp Computer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58182750A (en) * 1982-04-21 1983-10-25 Hitachi Ltd Analog-digital converting circuit
JPS61191973A (en) * 1985-02-20 1986-08-26 Fujitsu Ltd Semiconductor integrated circuit with testing circuit
JPS6391578A (en) * 1986-10-06 1988-04-22 Nec Corp Test circuit
JPS6454522A (en) * 1987-08-25 1989-03-02 Seiko Epson Corp Computer

Similar Documents

Publication Publication Date Title
JP2515022B2 (en) Accelerator controller
US5631592A (en) Pulse generation/sensing arrangement for use in a microprocessor system
JPS5948660A (en) Apparatus for measuring frequency and period
JP2002502046A (en) Event phase modulator for integrated circuit testers
JP2574194B2 (en) Digital pulse generator
JPH0394303A (en) Timing generator
JPH02309818A (en) A/d converter
JPH07273555A (en) Optional waveform generator
JP3057538B2 (en) LSI tester
JP3085322B2 (en) Sampling clock supply device for digital / analog mixed LSI test equipment
JP2703263B2 (en) Phase reference signal forming circuit device
JP3650482B2 (en) Waveform recorder
JPH10239395A (en) Testing device for semiconductor
JPH0333013Y2 (en)
JP2883664B2 (en) Analog-to-digital converter
JPS60194369A (en) Signal memory apparatus
JPH03219289A (en) Display control method
JPH02171663A (en) Jitter analyzer
JPS6429951A (en) Storage system
JPH0365667A (en) Semiconductor measuring circuit
JPH04287421A (en) Start circuit for a/d converter or d/a converter
JPH10132905A (en) Testing device for semiconductor device
JPH04301580A (en) Pattern generator
JPH0267613A (en) Clock signal generating circuit
JPH0822340A (en) Waveform generator capable of external input