JPH0213858A - Apparatus for storing data in memory - Google Patents

Apparatus for storing data in memory

Info

Publication number
JPH0213858A
JPH0213858A JP16381188A JP16381188A JPH0213858A JP H0213858 A JPH0213858 A JP H0213858A JP 16381188 A JP16381188 A JP 16381188A JP 16381188 A JP16381188 A JP 16381188A JP H0213858 A JPH0213858 A JP H0213858A
Authority
JP
Japan
Prior art keywords
digital data
signal
converter
latch
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
JP16381188A
Other languages
Japanese (ja)
Inventor
Akiji Tsukamoto
塚本 明司
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.)
NEC Avio Infrared Technologies Co Ltd
Original Assignee
NEC Avio Infrared Technologies 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 NEC Avio Infrared Technologies Co Ltd filed Critical NEC Avio Infrared Technologies Co Ltd
Priority to JP16381188A priority Critical patent/JPH0213858A/en
Publication of JPH0213858A publication Critical patent/JPH0213858A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

PURPOSE:To store a measuring waveform signal for a long time while reducing a memory number in a part where a waveform change is small by storing the digital data of an A/D converter and the coincidence number of samples in a memory only when said digital data is changed. CONSTITUTION:An analogue signal is converted to a digital signal by an A/D converter and, at each time when this digital data is changed, the output digital data thereof is latched by a latch circuit 2. The output digital data of the A/D converter 1 is compared with the latch digital data of the latch circuit 2 by a comparing circuit 3 to count the coincidence number of samples by a counter 4. At each time when the latch digital data of the latch circuit 2 is changed, said latch digital data and the coincidence number of samples are stored in a memory 5 storing data. By this method, as compared with a case storing data in the memory 5 at every sampling, memory quantity is reduced by the quantity corresponding to the number of digital data coinciding continuously and digital data many by the reduced quantity can be stored in the memory 5.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は例えば波形記憶装置に使用して好適なデータの
メモリ格納装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data memory storage device suitable for use, for example, in a waveform storage device.

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

本発明は例えば波形記憶装置に使用して好適なデータの
メモリ格納装置に於いて、アナログ信号をディジタル信
号に変換するA−D変換器と、このA−D変換器のディ
ジタルデータが変化する毎にこのA−Di換器の出力デ
ィジタルデータをラッチするラッチ回路と、このA−D
変換器の出方ディジタルデータとこのラッチ回路のラッ
チディジタルデータとを比較する比較回路と、この比較
回路の一致サンプル数を計数するカウンタと、データを
記憶するメモリとを有し、このメモリにこのランチ回路
のラッチディジタルデータの変化する毎にこのディジタ
ルデータとその一致サンプル数とを記憶する様にするこ
とによりメモリにより多くのデータを記憶格納できるよ
うにしたものである。
The present invention provides a data memory storage device suitable for use in a waveform storage device, for example, which includes an A-D converter that converts an analog signal into a digital signal, and an A-D converter that converts an analog signal into a digital signal every time the digital data of the A-D converter changes. a latch circuit that latches the output digital data of this A-Di converter, and a latch circuit that latches the output digital data of this A-Di converter;
It has a comparison circuit that compares the output digital data of the converter and the latched digital data of this latch circuit, a counter that counts the number of matching samples of this comparison circuit, and a memory that stores the data. By storing the digital data and the number of matching samples each time the latch digital data of the launch circuit changes, it is possible to store more data in the memory.

〔従来の技術〕[Conventional technology]

一般に波形記憶装置等に使用されているデータのメモリ
格納装置に於いてはアナログの波形デー夕をアナログ信
号をディジタル信号に変換するA−り変換器によりディ
ジタルデータに変換してメモリにサンプル毎に順次記憶
格納する様にしていた。
In data memory storage devices that are generally used in waveform storage devices, analog waveform data is converted into digital data by an A converter that converts analog signals into digital signals, and the data is stored sample by sample in the memory. It was designed to be stored sequentially.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

斯る従来のデータのメモリ格納装置に於いてはサンプリ
ング数に応じたメモリ容量を必要とするので比較的小形
のメモリにあってはサンプリング数を増大し比較的再現
性の良いディジタルデータの記憶を行なったときには短
時間の波形しか記憶することができず、またこれに長時
間記憶(記録)を行うためサンプリング数を少なくした
ときには波形の再現性が悪くなる不都合があった。
Conventional data memory storage devices require a memory capacity corresponding to the number of samples, so it is necessary to increase the number of samples in a relatively small memory to store digital data with relatively high reproducibility. When this is done, only short-time waveforms can be stored, and when the number of samplings is reduced in order to store (record) the waveforms for a long time, the reproducibility of the waveforms becomes poor.

本発明は斯る点に鑑み波形等の再現性を比較的良くする
と共に比較的長時間記憶ができるようにすることを目的
とする。
In view of these points, it is an object of the present invention to provide relatively good reproducibility of waveforms, etc., and to enable storage for a relatively long period of time.

〔課題を解決するための手段〕[Means to solve the problem]

本発明データのメモリ格納装置は例えば第1図に示す如
くアナログ信号をディジタル信号に変換するA−D変換
器(1)と、このA−D変換器+1)のディジタルデー
タが変化する毎にこのA−D変換器+1)の出力ディジ
タルデータをラッチするラッチ回路(2)と、このA−
D変換器(1)の出方ディジタルデータとこのラッチ回
路(2)のランチディジタルデータとを比較する比較回
路(3)と、この比較回路(3)の一致サンプル数を針
数するカウンタ(4)と、データを記憶するメモリ(5
)とを有し、このメモリ(5)にこのラッチ回路(2)
のランチディジタルデータの変化する毎にこのディジタ
ルデータとその一致サンプル数とを記憶する様にしたも
のである。
The data memory storage device of the present invention includes, for example, an A-D converter (1) that converts an analog signal into a digital signal, as shown in FIG. A latch circuit (2) that latches the output digital data of the A-D converter +1) and this A-
A comparison circuit (3) that compares the output digital data of the D converter (1) with the launch digital data of this latch circuit (2), and a counter (4) that counts the number of matching samples of this comparison circuit (3). ) and a memory for storing data (5
), and this memory (5) has this latch circuit (2)
Each time the launch digital data changes, this digital data and the number of matching samples are stored.

〔作用〕[Effect]

斯る本発明に依ればA−D変換器(1)のディジタルデ
ータが変化したときだけこのディジタルデータと、一致
サンプリング数とをメモリ(5)に記憶する様にしたの
でサンプリング毎にメモ月5)に記憶する場合に比しデ
ィジタルデータが連続して一致する分だけ記憶する量が
少なくなり、この少なくなった分だけ多くのディジタル
データをメモ1月5)に記憶格納することができる。
According to the present invention, only when the digital data of the A-D converter (1) changes, this digital data and the number of matching samplings are stored in the memory (5), so that a memo month can be stored for each sampling. Compared to the case of storing in 5), the amount to be stored is reduced by the amount of consecutively matching digital data, and more digital data can be stored in the memo 5) by this reduced amount.

〔実施例〕〔Example〕

以下第1図を参照しながら本発明データのメモリ格納装
置の一実施例につき説明しよう。
An embodiment of the data memory storage device of the present invention will be described below with reference to FIG.

第1図に於いて、(6)は第3図に示す如き脳波等の記
録しようとする測定波形信号(7)が供給される波形信
号入力端子を示し、この波形信号入力端子(6)に供給
される測定波形信号(7)をアナログ信号をディジタル
信号に変換するA−D変換器(1)に供給する。このA
−D変換器(1)として例えば逐次比較型のA−D変換
器を使用する。この逐次比較型のA−D変換器はパルス
計数法のA−D変換器に比較し変換速度が速い例えば1
2ビツト分解のもので変換速度が1μ3〜50μsであ
る利益がある0本例に於いてはこのA−Di換器(1)
は12ビツトの出力ディジタルデータが得られる様にす
ると共にこのA−D変換器(1)はタイミングコントロ
ーラ(8)よりの第2図Aに示す如きサンプリングクロ
フクバルスに同期したスタートコンバージョン信号(8
a)によりアナログ−ディジタル変換を開始し、このと
きこのA−L)変換器(1)よりタイミングコントロー
ラ(8)へステータスとして第2図Bに示す如き1iu
sy信号(1a)を送出する如くする。このA−L)変
換55(1)の12ビツトの出力ディジタルデータ(1
b)を比較回路(3)及びラッチ回路(2)に夫々供給
する。
In FIG. 1, (6) indicates a waveform signal input terminal to which a measurement waveform signal (7) to be recorded, such as an electroencephalogram, as shown in FIG. The supplied measurement waveform signal (7) is supplied to an A-D converter (1) that converts an analog signal into a digital signal. This A
- For example, a successive approximation type AD converter is used as the D converter (1). This successive approximation type A-D converter has a faster conversion speed than the pulse counting type A-D converter, for example, 1
In this example, this A-Di converter (1) has the advantage of having a 2-bit resolution and a conversion speed of 1 μ3 to 50 μs.
This A-D converter (1) generates a start conversion signal (8) synchronized with the sampling clock pulse as shown in FIG. 2A from the timing controller (8).
Analog-to-digital conversion is started by a), and at this time, the A-L) converter (1) sends 1iu as a status to the timing controller (8) as shown in FIG. 2B.
sy signal (1a) is sent. The 12-bit output digital data (1) of this A-L) conversion 55(1)
b) is supplied to the comparison circuit (3) and the latch circuit (2), respectively.

このラッチ回路(2)は後述するインバータ回路(9)
の出力信号の立上りによりA−D変換器(11の出力デ
ィジタルデータ(1b)をランチする如くなす。、この
ラッチ回路(2)のランチディジタルデータ(2a)を
比較回路(3)に供給すると共にこの12ビツトのラン
チディジタルデータ(2a)を16ビツトのバッファ回
路(lO)に供給する。この比較回路(3)に於いては
タイミングコントローラ(8)よりの第2図Eに示す如
きスタートコンバージョン信号(8a)と所定位相離れ
た関係にある比較エネーブル信号(8b)が供給される
毎にA−D変換器(1)の第2図Cに示す如き出力ディ
ジタルデータ(1b)とラッチ回路(2)の第2図jに
示す如きラフチディジタルデータ(2a)とを比較し、
之等が不一致のときのみ第2図Fに示す如き不一致信号
(3a)を出力する如くなされる。またタイミングコン
トローラ(8)よりのスタートコンバージョン信号(8
a)を例えば4ビツトのカウンタ(4)に供給し、この
カウンタ(4)によりA−D変換器(1)のサンプリン
グ数を計数する如くする。このカウンタ(4)の4ビツ
トのカウント信号を4ビツトのラッチ回路(11)に供
給する。このラッチ回路(11)に於いては比較回路(
3)の出力側に得られる不一致信号(3a)をオア回路
(12)及びプレイ回路(13)を介した第2図Gに示
す如きランチ指令信号(13a)の立上りによりラッチ
する如くする。このラッチ回路(11)の出方側に得ら
れる4ビツトのラッチカウンタデータ(lla)をバッ
ファ回路(10)に供給する。このバッファ回路(10
)に於いてはラッチ回路(2)よりの12ピントのラッ
チディジタルデータ(2a)とラッチ回路(11)より
の4ビツトのカウンタデータ(Ila )が供給される
。この場合カウンタ(4)はスタートコンバージョン信
号(8a)をカウントし、不一致信号(3a)によりク
リアされるので、このカウンタ(4)はA−D変換器+
1)の出力ディジタルデータ(1b)の一致サンプリン
グ数をカウントしていることとなる。またこの比較回路
(3)よりの第2図Fに示す如き不一致信号(3a)を
オア回路(12)、プレイ回路(13) 、  (14
)及びインバータ回路(9)を介してタイミングコント
ローラ(8)に供給すると共にラッチ回路(2)のラッ
チ制御端子及びカウンタ(4)のクリア端子に夫々供給
する。この場合インバータ回路(9)の出力側には88
2図■に示す如く不一致信号(3a)が遅延されると共
に反転された指令信号(9a)が得られ、この指令信号
(9a)の立上りによりラッチ回路(2)に於いてA−
D変pAm (1)の出力ディジタルデータ(1b)を
ラッチすると共にカウンタ(4)をクリアする如くする
。またランチ回路(11)はプレイ回路(13)の出力
側に得られるラッチ指令信号(13a)によりラッチす
るカウンタ(4)がクリアされる前のカウンタデータを
ランチする如くなる。またこのインバータ回路(9)の
出力側より指令信号がタイミングコントローラ(8)ニ
供給されることによりこのタイミングコントローラ(8
)はこのときバッファ回路(10)にトライステートエ
ネーブル信号を供給し、このときのバッファ回路(10
)に得られている12ビツトのディジタルデータ(2a
)及び4ビツトのカウンタデータ(lla)をメモリを
構成するR A M (5)に第2図Kに示す如き16
ビントデータ(10a)としてタイミングコントローラ
(8)よりのアドレス指定により指定されたアドレスに
書き込む如くする。また本例に於いてはカウンタ(4)
がオーバーフローしたときはキャリー信号を出力し、こ
のキャリー信号をオア回路(12)に供給し、このとき
は比較回路(3)の出力側に不一致信号(3a)が得ら
れたときと同様の動作をする如くシ、この力ヴンタ(4
)がオーバーフローしたときも不都合がない様にしてい
る。
This latch circuit (2) is an inverter circuit (9) which will be described later.
When the output signal rises, the output digital data (1b) of the A-D converter (11) is launched.The launch digital data (2a) of this latch circuit (2) is supplied to the comparator circuit (3), and This 12-bit launch digital data (2a) is supplied to a 16-bit buffer circuit (lO).In this comparison circuit (3), a start conversion signal as shown in FIG. 2E from a timing controller (8) is supplied. Every time a comparison enable signal (8b) having a predetermined phase difference from (8a) is supplied, output digital data (1b) and latch circuit (2) as shown in FIG. 2C of the A-D converter (1) are supplied. ) with the rough digital data (2a) shown in Figure 2j,
Only when these do not match, a mismatch signal (3a) as shown in FIG. 2F is output. Also, the start conversion signal (8) from the timing controller (8)
A) is supplied to, for example, a 4-bit counter (4), and this counter (4) counts the number of samples of the A/D converter (1). The 4-bit count signal of this counter (4) is supplied to a 4-bit latch circuit (11). In this latch circuit (11), a comparison circuit (
The mismatch signal (3a) obtained at the output side of step 3) is latched by the rise of the launch command signal (13a) as shown in FIG. 2G via the OR circuit (12) and the play circuit (13). The 4-bit latch counter data (lla) obtained on the output side of the latch circuit (11) is supplied to the buffer circuit (10). This buffer circuit (10
), 12-pin latch digital data (2a) from the latch circuit (2) and 4-bit counter data (Ila) from the latch circuit (11) are supplied. In this case, the counter (4) counts the start conversion signal (8a) and is cleared by the mismatch signal (3a), so this counter (4) counts the start conversion signal (8a).
This means that the number of coincident samplings of the output digital data (1b) of 1) is counted. Further, the mismatch signal (3a) as shown in FIG.
) and an inverter circuit (9) to the timing controller (8), and also to the latch control terminal of the latch circuit (2) and the clear terminal of the counter (4), respectively. In this case, the output side of the inverter circuit (9) has 88
As shown in Figure 2, the mismatch signal (3a) is delayed and an inverted command signal (9a) is obtained, and the rise of this command signal (9a) causes the latch circuit (2) to
The output digital data (1b) of the D variable pAm (1) is latched and the counter (4) is cleared. Further, the launch circuit (11) launches the counter data before the counter (4) to be latched is cleared by the latch command signal (13a) obtained at the output side of the play circuit (13). Further, a command signal is supplied to the timing controller (8) from the output side of the inverter circuit (9), so that the timing controller (8) is supplied with a command signal from the output side of the inverter circuit (9).
) supplies a tri-state enable signal to the buffer circuit (10) at this time;
) 12-bit digital data (2a
) and 4-bit counter data (lla) are stored in RAM (5) constituting the memory with 16 bits as shown in FIG. 2K.
It is written as bint data (10a) at the address specified by the timing controller (8). Also, in this example, the counter (4)
When overflow occurs, a carry signal is output, and this carry signal is supplied to the OR circuit (12). At this time, the operation is the same as when the mismatch signal (3a) is obtained at the output side of the comparator circuit (3). As if to do this, this power (4)
) so that there will be no inconvenience even when it overflows.

次に本例データのメモリ格納装置の動作につき第2図を
参照しながら説明しよう、タイミングコントローラ(8
)よりスタートコンバージョン信号(1a)がA−D*
換器(1)に供給されたときはこのA−D変換器(1)
は入力アナログ信号をディジタル信号に変換すると共に
このときA−D変換器(1)よりタイミングコントロー
ラ(8)に第2図Bに示す如きBUSY信号を供給し、
またこのときスタートコンバージョン信号(8a)をカ
ウンタ(4)に供給する。
Next, the operation of the memory storage device for data in this example will be explained with reference to FIG.
), the start conversion signal (1a) is A-D*
When supplied to converter (1), this A-D converter (1)
converts the input analog signal into a digital signal, and at this time supplies a BUSY signal as shown in FIG. 2B from the A-D converter (1) to the timing controller (8),
At this time, a start conversion signal (8a) is also supplied to the counter (4).

今この第1.第2.第3.第4・・・・のスタートコン
バージョン信号が供給されA−D変換器(1)の出力デ
ィジタルデータが第2図Cに示す如く第1番目がDoで
、第2番目及び第3番目が同じDi 。
Now this first one. Second. Third. The fourth start conversion signal is supplied, and the output digital data of the A-D converter (1) is Do as shown in Figure 2C, and the second and third are the same Di. .

L)1、第4番目がD2・・・・であり、第1番目の出
力ディジタルデータDoがラッチ回路(2)にラッチさ
れ且つカウンタ(4)はクリアされていたと仮定する。
L) It is assumed that the first output digital data Do is latched by the latch circuit (2) and the counter (4) is cleared.

このときスタートコンバージョン信号(8a)がA−D
変換器(1)に供給されると共にカウンタ(4)に供給
されたときはこのカウンタ(4)は「1」となり、この
とき比較回路(3)及びラッチ回路(2)に出方ディジ
タルデータD1が供給され、このときこの出力ディジタ
ルデータD1とラッチ回路(2)のラッチディジタルデ
ータDoとは異なるので、このとき比較回路(3)に第
2図Eに示す如き比較エネーブル信号(8b)が供給さ
れたときはこの出方側に第2図Fに示す如く不一致信号
(3a)が得られ、プレイ回路(13)の出力側にこの
不一致信号(3a)が遅延された第2図Gに示す如きラ
ンチ指令信号(13a)が得られ、このランチ指令信号
(13a)によりランチ回路(11)に第2図Hに示す
如くカウンタ(4)のカウントデータ「1」がラッチさ
れ、次にこのラッチ指令信号(13a)がプレイ回路(
14)により更に遅延されると共に位相が反転された第
2図■に示す如き指令信号(9a)をタイミングコント
ローラ(8)に供給し、この指令信号(9a)の立下り
のタイミングによりバッファ回路(lO)にトライステ
ートエネーブル信号を供給し、このとき第2図Hに示す
如くラッチ回路(2)のラッチディジタルデータDoと
ラッチ回路(11)のラッチカウンタデータ「1」即ち
一致サンプル数とをRA M (5)の所定番地に書き
込み、更にこの指令信号(9a)の立上りのタイミング
でラッチ回路(2)にA−D変換器+11の出力ディジ
タルデータD1をラッチすると共にカウンタ(4)をク
リアする0次にスタートコンバージョン信号(8a)が
A−D変換器(1)に供給されA−D変換すると共にカ
ウンタ(4)に供給されカウントデータを「1」とした
ときは出力ディジタルデータD1でラッチ回路(2)の
ラッチディジタルデータD1と同じなのでこのとき比較
回路(3)に第2図Hに示す如く比較エネーブル信号(
8b)が供給されても不一致信号は得られず、このとき
はRAMに何等記憶されない。史に次のスタートコンバ
ージョン信号(8a)がA−D変換器(1)に供給され
ると共にカウンタ(4)に供給されたときはこのカウン
タ(4)は第2図りに示す如く「2」となり、このとき
比較回路(3)及びラッチ回路(2)にこのA−Di換
! (1)の出力ディジタルデータD2が供給され、こ
のとき、この出力ディジタルデータD2とラッチ回路(
2)のラッチディジタルデータD1とは異なるので、こ
のとき比較回路(3)に第2図Hに示す如き比較エネー
ブル信号(8b)が供給されたときはこの出力側に第2
図Hに示す如く不一致信号(3a)が得られ、プレイ回
路(13)の出力側にこの不一致信号(3a)が遅延さ
れた第2図Gに示す如きラッチ指令信号(13a)が得
られ、このラッチ指令信号(13a)によりラッチ回路
(11)に第2図Hに示す如くカウンタ(4)のカウン
トデータ「2」がラッチされ、次にこのランチ指令信号
(13a)がプレイ回路(14)により更に遅延される
と共に位相が反転された第2図1に示す如き指令信号(
9a)をタイミングコントローラ(8)に供給し、この
指令信号(9a)の立下りのタイミングによりバッファ
回路(10)にトライステートエネーブル信号を供給し
、このとき第2図Hに示す如くラッチ回路(2)のラッ
チディジタルデータD1とラッチ回路(11)のラッチ
カウンタデータ「2」即一致サンプル数とをRA M 
(5)の所定番地に書き込み、更にこの指令信号(9a
)の立上りのタイミングでラッチ回路(2)にA−D変
換器(1)の出力ディジタルデータD2をラッチすると
共にカウンタ(4)をクリアする0本例に於いては順次
上述動作を繰り返すもQである。更に具体的にRA M
 (51に記憶されるデータにつき述べるに合波形信号
入力端子(6)に第3図に示す如き測定波形信号(7)
が供給され、サンプリングポイントがO〜25の261
固としたときに本例に於いてはRA M (5)に次の
様に記憶する。
At this time, the start conversion signal (8a) is A-D.
When it is supplied to the converter (1) and also to the counter (4), this counter (4) becomes "1", and at this time, the output digital data D1 is sent to the comparator circuit (3) and the latch circuit (2). is supplied, and since this output digital data D1 is different from the latch digital data Do of the latch circuit (2), a comparison enable signal (8b) as shown in FIG. 2E is supplied to the comparator circuit (3) at this time. When this occurs, a mismatch signal (3a) is obtained on the output side as shown in FIG. 2F, and this mismatch signal (3a) is delayed on the output side of the play circuit (13) as shown in FIG. 2G. A launch command signal (13a) as shown in FIG. The command signal (13a) is sent to the play circuit (
A command signal (9a) as shown in FIG. At this time, the latch digital data Do of the latch circuit (2) and the latch counter data "1" of the latch circuit (11), that is, the number of matching samples, are supplied as shown in FIG. 2H. Write to the specified location of RAM (5), and at the timing of the rise of this command signal (9a), latch the output digital data D1 of the A-D converter +11 in the latch circuit (2) and clear the counter (4). The 0th order start conversion signal (8a) is supplied to the A-D converter (1), where it is A-D converted and also supplied to the counter (4), and when the count data is set to "1", the output digital data D1 is Since it is the same as the latch digital data D1 of the latch circuit (2), at this time, the comparison circuit (3) is supplied with a comparison enable signal (
Even if 8b) is supplied, no mismatch signal is obtained and nothing is stored in the RAM at this time. In history, when the next start conversion signal (8a) is supplied to the A-D converter (1) and also supplied to the counter (4), this counter (4) becomes "2" as shown in the second figure. , At this time, the comparison circuit (3) and latch circuit (2) are replaced with this A-Di! The output digital data D2 of (1) is supplied, and at this time, this output digital data D2 and the latch circuit (
2), so when the comparison circuit (3) is supplied with the comparison enable signal (8b) as shown in FIG. 2H, the second
A mismatch signal (3a) as shown in FIG. H is obtained, and a latch command signal (13a) as shown in FIG. This latch command signal (13a) causes the latch circuit (11) to latch the count data "2" of the counter (4) as shown in FIG. The command signal as shown in FIG.
9a) is supplied to the timing controller (8), and a tri-state enable signal is supplied to the buffer circuit (10) at the falling timing of this command signal (9a), and at this time, the latch circuit is activated as shown in FIG. 2H. The latch digital data D1 of (2) and the latch counter data "2" immediate match sample number of the latch circuit (11) are stored in RAM.
(5), and then write this command signal (9a
) The output digital data D2 of the A-D converter (1) is latched in the latch circuit (2) at the rising edge of the signal D2, and the counter (4) is also cleared. It is. More specifically, RAM
(For the data stored in 51, the measurement waveform signal (7) as shown in FIG. 3 is input to the combined waveform signal input terminal (6).
is supplied, and the sampling point is 261 with O to 25.
When the data is fixed, the following information is stored in RAM (5) in this example.

即ちこの測定波形信号(7)の初めのθ〜9サンプリン
グポイントの10ポイントが量子化量が「6」であるの
で、lOサンプリング点でサンプリング数「lO」でデ
ィジタルデータが「6」即ちr AOO6JをRA M
 15)の例えば1番地に記憶し、次の2サンプリング
ポイントが量子化量が「7」であるので、12サンプリ
ング点でRA M (5)の例えば2番地にサンプリン
グ数「2」でディジタルデータが「7」即ちr 200
7Jを記憶し、順次13サンプリング点で第3番地にr
1006J 、 15サンプリング点で第4番地にr2
005J 、 16サンプリング点で第5番地にr10
09J 、 17サンプリング点で第6番地に「100
口」。
That is, since the quantization amount of the first θ~9 sampling points of this measurement waveform signal (7) is "6", the digital data is "6" at the sampling point "lO", that is, r AOO6J RAM
15), and the next two sampling points have a quantization amount of "7", so at the 12th sampling point, the digital data is stored in RAM (5), for example, at address 2 with a sampling number of "2". "7" i.e. r 200
7J and sequentially store r at the 3rd address at 13 sampling points.
1006J, r2 at the 4th address at 15 sampling points
005J, r10 at the 5th address with 16 sampling points
09J, "100" is placed at the 6th address at the 17th sampling point.
mouth".

18サンプリング点で第7番地にrlooEJ 、 1
9サンプリング点で第8番地にrlooDJ 、 20
サンプリング点で第9番地にrlo09J 、 21サ
ンプリング点で第10番地にr 1004J 、 22
サンプリング点で第11番地に「1002」、23サン
プリング点で$12番地にr1005J 、 25サン
プリング点で第13番地にr 2007Jを記憶する如
くなる。
rloooEJ at the 7th address at 18 sampling points, 1
rlooDJ at address 8 with 9 sampling points, 20
rlo09J at the 9th address at the sampling point, r1004J at the 10th address at the 21st sampling point, 22
At the sampling point, "1002" is stored at the 11th address, at the 23rd sampling point, r1005J is stored at the $12 address, and at the 25th sampling point, r2007J is stored at the 13th address.

次にこのRA M (51を読み出す場合はRA M 
(5)の記憶順番に漣ってディジタル信号をアナログ信
号に変換するD−A変換回路に供給する。この場合、こ
のD−A変換回路にサンプリング数に応じた回数このデ
ィジタルデータを供給する様にすれば元の測定波形信号
を再現することができる。
Next, this RAM (to read 51, use RAM
The signals are read in the storage order of (5) and supplied to a D-A converter circuit that converts the digital signals into analog signals. In this case, the original measurement waveform signal can be reproduced by supplying this digital data to the DA converter circuit a number of times corresponding to the number of samplings.

従って本例に於いては測定波形信号(7)の変化の小さ
いときには記憶数が少くなるのでサンプリング数を比較
的多くし波形の再現性を良くする様にしても、波形変化
の小さい部分では記憶数が少なくなり、それだけ測定波
形信号の長時間の記憶ができる利益がある。上述第3図
例ではサンプリング数は26であるが記憶されるサンプ
リング点は13で良い利益がある。
Therefore, in this example, when the change in the measured waveform signal (7) is small, the number of memories will be small. There is an advantage that the number is reduced and the measurement waveform signal can be stored for a long time. In the example shown in FIG. 3, the number of sampling points is 26, but the number of sampling points to be stored is 13, which provides good benefits.

また本例に於いてはRA M (5)にディジタルデー
タとこれと連続する同一ディジタルデータのサンプリン
グ数とを記憶するので、このRA M (5)の読み出
し方により容易に測定波形の振幅分布のヒストグラムが
得られる。
In addition, in this example, since digital data and the number of consecutive samplings of the same digital data are stored in RAM (5), the amplitude distribution of the measured waveform can be easily determined by reading this RAM (5). A histogram is obtained.

面木発明は上述実施例に限ることなく本発明の要旨を逸
脱することなくその他種々の構成が取り得ることは勿論
である。
It goes without saying that the invention of the face tree is not limited to the above-described embodiments, and can take various other configurations without departing from the gist of the invention.

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

本発明に依れば例えば測定波形信号の変化の小さいとき
には記憶数が少なくなるのでサンプリング数を比較的多
くし波形の再現性を良くする様にしても、波形変化の小
さい部分では記憶数が少なくなり、それだけ測定波形信
号の長時間の記憶ができる利益がある。
According to the present invention, for example, when the change in the measured waveform signal is small, the number of memories is small, so even if the number of samplings is relatively large to improve waveform reproducibility, the number of memories is small in parts where the waveform change is small. Therefore, there is an advantage that the measured waveform signal can be stored for a long time.

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

第1図は本発明データのメモリ格納装置の一実施例を示
す構成図、第2図及び第3図は夫々本発明の説明に供す
る線図である。 (1)はA−D変換器、(2)及び(11)はラッチ回
路、(3)は比較回路、(4)はカウンタ、(5)はR
AM、(6)は測定波形信号入力端子、(8)はタイミ
ングコントローラ、(10)はバッファ回路である。
FIG. 1 is a block diagram showing one embodiment of a data memory storage device of the present invention, and FIGS. 2 and 3 are diagrams for explaining the present invention, respectively. (1) is an A-D converter, (2) and (11) are latch circuits, (3) is a comparison circuit, (4) is a counter, and (5) is R
AM, (6) is a measurement waveform signal input terminal, (8) is a timing controller, and (10) is a buffer circuit.

Claims (1)

【特許請求の範囲】[Claims] アナログ信号をディジタル信号に変換するA−D変換器
と、該A−D変換器のディジタルデータが変化する毎に
このA−D変換器の出力ディジタルデータをラッチする
ラッチ回路と、上記A−D変換器の出力ディジタルデー
タと該ラッチ回路のラッチディジタルデータとを比較す
る比較回路と、該比較回路の一致サンプル数を計数する
カウンタと、データを記憶するメモリとを有し、該メモ
リに上記ラッチ回路のラッチディジタルデータの変化す
る毎にこのディジタルデータとその一致サンプル数とを
記憶する様にしたことを特徴とするデータのメモリ格納
装置。
an A-D converter that converts an analog signal into a digital signal; a latch circuit that latches the output digital data of the A-D converter every time the digital data of the A-D converter changes; It has a comparator circuit that compares the output digital data of the converter and the latched digital data of the latch circuit, a counter that counts the number of matching samples of the comparator circuit, and a memory that stores data. A data memory storage device characterized in that each time the latch digital data of a circuit changes, this digital data and the number of matching samples are stored.
JP16381188A 1988-06-30 1988-06-30 Apparatus for storing data in memory Pending JPH0213858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16381188A JPH0213858A (en) 1988-06-30 1988-06-30 Apparatus for storing data in memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16381188A JPH0213858A (en) 1988-06-30 1988-06-30 Apparatus for storing data in memory

Publications (1)

Publication Number Publication Date
JPH0213858A true JPH0213858A (en) 1990-01-18

Family

ID=15781161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16381188A Pending JPH0213858A (en) 1988-06-30 1988-06-30 Apparatus for storing data in memory

Country Status (1)

Country Link
JP (1) JPH0213858A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54113232A (en) * 1978-02-24 1979-09-04 Hitachi Ltd Data recording device
JPS6260199A (en) * 1985-09-11 1987-03-16 Hitachi Tokyo Electron Co Ltd Signal storing system
JPS62159052A (en) * 1986-01-08 1987-07-15 N F Denshi Kk Waveform storage device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54113232A (en) * 1978-02-24 1979-09-04 Hitachi Ltd Data recording device
JPS6260199A (en) * 1985-09-11 1987-03-16 Hitachi Tokyo Electron Co Ltd Signal storing system
JPS62159052A (en) * 1986-01-08 1987-07-15 N F Denshi Kk Waveform storage device

Similar Documents

Publication Publication Date Title
US4053839A (en) Method and apparatus for the frequency multiplication of composite waves
JPH0548648B2 (en)
JPS5938999A (en) Storage device of analog signal
JPS61144577A (en) Waveform memory storage
JPH0213858A (en) Apparatus for storing data in memory
JPH0652497B2 (en) Signal storage method
JPS585834A (en) Storage device for digital data
JPS5779547A (en) Digital converting circuit for more than one input analog data
KR910007512Y1 (en) A circuit for acquiring multiple input data
RU1837324C (en) Statistical analyzer of voltage surges and drops
JPH0563128U (en) High-speed A / D conversion circuit
SU1599892A1 (en) Device for recording/playback of analog signals
JPH02138877A (en) Waveform storage device
JP2705051B2 (en) Waveform generator
JPH0721746B2 (en) Data memory device
SU1675798A1 (en) Digital analyzer of frequency characteristics of four- terminal network
SU1279072A1 (en) Number-to-time interval converter
JPS59108938U (en) data acquisition circuit
SU1190390A1 (en) Device for calculating estimation of expectation
JP3452661B2 (en) Waveform storage device
JPS5914829B2 (en) Digital data processing equipment
JPS5885257U (en) waveform storage device
JPH0616877U (en) Digital oscilloscope
JPS6124665U (en) digital storage oscilloscope
JPH03269371A (en) Waveform storage device