JPS6215688A - Memory device for frequency distribution - Google Patents

Memory device for frequency distribution

Info

Publication number
JPS6215688A
JPS6215688A JP15462685A JP15462685A JPS6215688A JP S6215688 A JPS6215688 A JP S6215688A JP 15462685 A JP15462685 A JP 15462685A JP 15462685 A JP15462685 A JP 15462685A JP S6215688 A JPS6215688 A JP S6215688A
Authority
JP
Japan
Prior art keywords
memory device
data
input
signal
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
JP15462685A
Other languages
Japanese (ja)
Inventor
Hitoshi Noda
均 野田
Toshiaki Sato
敏明 佐藤
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP15462685A priority Critical patent/JPS6215688A/en
Publication of JPS6215688A publication Critical patent/JPS6215688A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the statistic processing of data at a high speed and with small memory capacity by combining a memory device with a counter circuit and regarding an input signal as an address signal of the memory device. CONSTITUTION:A memory device 1 loads the data on the corresponding address to a counter circuit 3 with a reading signal (c) sent from a timing generating circuit 2. Then the counter circuit 3 counts up data by one with count-up pulses (e) sent from the circuit 2. The counted-up data is written on the device 1 with a writing signal (a) sent from the circuit 2. Thus the input data is redarded as an address signal and the data on the address same as that used in the reading mode of the device 1 is counted up. This count-up action is repeated until a desired number of samples are obtained. Thus the frequency distribution of the input data is stored in the device 1.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は入力データの分布等を測定する度数分布メモリ
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a frequency distribution memory device for measuring the distribution of input data.

従来の技術 近年、コンピュータ利用技術の著しい進歩により、取扱
われる信号も高速となシ、それに伴なって信号の処理回
路等といった周辺回路も処理速度の早いものが要求され
ている。従来、ばらつきのある入力データ(例えばカウ
ンタ回路で計測したパルス幅)の度数分布を測定し統計
処理を行なう場合、第3図に示すようなCPU21 、
入力バッファ22.メモリ装置23で構成されるような
コンピュータ装置において、入力バッフ722よりCP
U21に取り込んだデータを順次演算処理を行なって最
大値、最小値、平均値2分散値といった統計値を求める
方法がある。しかし、この処理方法では演算処理に時間
がかかるため、入力されるデータは演算処理時間よりも
速度が遅いものである必要がある。より高速なデータを
扱うために第2番目の方法として、第3図に示したコン
ピュータ装置において、入力したデータを一旦全てメモ
リ装置に蓄えておき、データ収集が終了したあとで処理
を行なう方法も用いられていた(類似な例であるアナロ
グ−ディジタル変換器からのデータ収集については、例
えば「トランジスタ技術」1984年2月号319〜3
22ページ)。
BACKGROUND OF THE INVENTION In recent years, with remarkable advances in computer technology, the signals handled have become faster, and peripheral circuits such as signal processing circuits are also required to have faster processing speeds. Conventionally, when measuring the frequency distribution of input data with variations (for example, pulse width measured by a counter circuit) and performing statistical processing, a CPU 21 as shown in FIG.
Input buffer 22. In a computer device configured with the memory device 23, the input buffer 722
There is a method of calculating statistical values such as maximum value, minimum value, average value and two variance values by sequentially performing arithmetic processing on the data taken into U21. However, since this processing method takes time to perform arithmetic processing, the input data must be slower than the arithmetic processing time. A second method for handling data at higher speeds is to use the computer shown in Figure 3 to temporarily store all input data in the memory device and process it after data collection is completed. (For a similar example, data collection from analog-to-digital converters, see Transistor Technology, February 1984, 319-3.
(page 22).

発明が解決しようとする問題点 第1の従来方法では、必要とするメモリ容量は少ないが
、データの入力毎に統計処理を行なうため前記のように
処理時間より高速なデータは扱えず、また、第2の方法
では第1の方法よりも高速なデータが扱えるもののメモ
リ容量がサンプルするデータの数だけ必要であるため、
メモリが膨大になるといった問題点を有していた。
Problems to be Solved by the Invention The first conventional method requires a small memory capacity, but because statistical processing is performed each time data is input, it cannot handle data faster than the processing time as described above. The second method can handle data faster than the first method, but requires memory capacity equal to the number of data to be sampled.
This had the problem of requiring a huge amount of memory.

本発明はかかる点に鑑みてなされたもので、少ないメモ
リ容量で高速なデータの統計処理を可能とする度数分布
メモリ装置を提供することを目的としている。
The present invention has been made in view of the above, and an object of the present invention is to provide a frequency distribution memory device that enables high-speed statistical processing of data with a small memory capacity.

問題点を解決するための手段 本発明は上記問題点を解決するため、入力信号をメモリ
装置のアドレス信号とみなして入力制御信号の入力毎に
メモリ装置の該当アドレスのデータをカウンタ回路に読
出してカウントアツプし、再びメモリ装置の該当アドレ
スに書込むものである。
Means for Solving the Problems In order to solve the above problems, the present invention treats an input signal as an address signal of a memory device and reads data at a corresponding address of the memory device to a counter circuit every time an input control signal is input. It counts up and writes to the corresponding address in the memory device again.

作  用 本発明は上記した構成より、メモリ容量が(入力データ
長)×(最大度数量)という小容量で十分であり、かつ
、メモリ装置とノ・−ド的にアクセスするためメモリ装
置のアクセス速度と同等な速度のデータまで扱うことが
できる。
Operation According to the above-described configuration, the present invention has a small memory capacity of (input data length) x (maximum degree quantity), and since it accesses the memory device in a node-like manner, the access of the memory device is It is possible to handle data at speeds equivalent to the speed.

実施例 第1図は本発明の度数分布メモリ装置の一実施例を示す
ブロック図である。第1図において、1はメモリ装置、
2は入力制御信号の入力によりタイミング信号を発生さ
せるだめのタイミング発生回路、3はメモリ装置から読
出されたデータをカウントアツプするためのカウンタ回
路、4はメモリ装置に対するアドレス信号を入力データ
にするか外部からのアドレス信号にするかを切換える信
号切換回路、5は同じくメモリ装置のデータ信号につい
ての信号切換回路、6も同じくメモリ装置の読出し制御
信号、書込み制御信号についての信号切換回路、11は
メモリ装置のアドレスバス、12はメモリ装置のデータ
バス、aはタイミング回路からの書込み制御信号、bは
メモリ装置への書込み制御信号、Cはタイミング回路か
らの読出し制御信号、dはメモリ装置への読出し制御信
号、eはカウントアツプ信号である。
Embodiment FIG. 1 is a block diagram showing an embodiment of the frequency distribution memory device of the present invention. In FIG. 1, 1 is a memory device;
2 is a timing generation circuit for generating a timing signal in response to input of an input control signal; 3 is a counter circuit for counting up data read from the memory device; and 4 is a circuit for converting an address signal to the memory device into input data. 5 is a signal switching circuit for the data signal of the memory device; 6 is a signal switching circuit for the read control signal and write control signal of the memory device; 11 is the memory device. 12 is a data bus of the memory device; a is a write control signal from the timing circuit; b is a write control signal to the memory device; C is a read control signal from the timing circuit; d is a read control signal to the memory device. The control signal e is a count up signal.

以上のように構成された本実施例について、以下その動
作を説明する。信号切換回路4,5.6は信号制御信号
によってメモリ装置1に対するアクセスをデータ入力側
にするか、データ出力側(例えばコンピュータ装置)に
するかを切換える回路である。メモリ装置1のデータ蓄
積動作を説明すると、最初メモリ装置1の制御をデータ
出力側にしてメモリ装置1内のデータを全てクリアして
おき、次にメモリ装置1の制御をデータ入力側尾移して
、入力制御信号の入力毎にその時点のデータの度数分布
をメモリ装置1上にとっていく。
The operation of this embodiment configured as above will be described below. The signal switching circuits 4, 5, and 6 are circuits that switch access to the memory device 1 between the data input side and the data output side (for example, a computer device) using signal control signals. To explain the data storage operation of the memory device 1, first, the control of the memory device 1 is set to the data output side to clear all data in the memory device 1, and then the control of the memory device 1 is transferred to the data input side. , the frequency distribution of data at that point in time is recorded on the memory device 1 each time an input control signal is input.

第2図はタイミング発生回路2が発生するタイミングパ
ルスを示したものである。入力制御信号が入力されると
タイミング発生回路2はメモリ装置1に対し読出し信号
Cを送る。この時、入力データがメモリ装置1のアドレ
ス信号となっているので読出し信号Cの入力によりメモ
リ装置1は該当アドレスのデータをデータバス12に出
力する。
FIG. 2 shows timing pulses generated by the timing generation circuit 2. In FIG. When the input control signal is input, the timing generation circuit 2 sends a read signal C to the memory device 1. At this time, since the input data is an address signal for the memory device 1, the memory device 1 outputs data at the corresponding address to the data bus 12 by inputting the read signal C.

読出し信号Cはカウンタ回路3のロード信号にもなって
いてデータバス12に出力されたメモリ装置1のデータ
は同時にカウンタ回路3にロードされる。次にタイミン
グ回路2はカウンタ回路3に対しカウントアツプパルス
eを送る。このパルスによってカウンタ回路3はデータ
を1つカウントアツプする。続いてタイミング回路2は
メモリ装置1とカウンタ回路3に書込み信号aを送り、
カウンタ回路3でカウントアツプされたデータをメモリ
装置1に書込む。入力データをデータの読出しから書込
みまでの間保持しておくことで、入力データをアドレス
信号とみなしてメモリ装置1の読出した時と同じアドレ
スのデータがカウントアツプされる。これを必要なサン
プル数だけ繰返すことでメモリ装置1には入力データの
度数分布が蓄えられる。上記のようにしてメモリ装置1
に蓄えられた入力データの度数分布は、信号制御信号に
よってメモリ装置1の制御をデータ出力側に切換えてコ
ンピュータ装置等で読出し、統計処理等を行なうことが
できる。
The read signal C also serves as a load signal for the counter circuit 3, and the data of the memory device 1 output to the data bus 12 is loaded into the counter circuit 3 at the same time. Next, the timing circuit 2 sends a count up pulse e to the counter circuit 3. This pulse causes the counter circuit 3 to count up the data by one. Subsequently, the timing circuit 2 sends a write signal a to the memory device 1 and the counter circuit 3,
The data counted up by the counter circuit 3 is written into the memory device 1. By holding the input data from data read to data write, the input data is regarded as an address signal, and the data at the same address as when it was read from the memory device 1 is counted up. By repeating this for the required number of samples, the frequency distribution of the input data is stored in the memory device 1. As described above, memory device 1
The frequency distribution of input data stored in can be read out by a computer device or the like by switching the control of the memory device 1 to the data output side using a signal control signal, and can be subjected to statistical processing or the like.

発明の効果 以上のように本発明はメモリ装置とカウンタ回路とタイ
ミング発生回路と信号切換回路を具備し、データ収集時
には入力データをメモリ装置のアドレス信号とみなして
入力制御信号の入力毎にメモリ装置の該当アドレスのデ
ータをカウンタ回路に読出してカウントアツプし、再び
メモリ装置の該当アドレスに書込むように構成すること
で、メモリ装置の容量が(入力データ長)×(最大度数
量)という小容量で十分であり、がっ、メモリ装置にハ
ード的にアクセスするためメモリ装置のアクセス速度と
同等な速度のデータまで収集し、メモリ装置上に度数分
布をとることができるというすぐれた効果が得られる。
Effects of the Invention As described above, the present invention includes a memory device, a counter circuit, a timing generation circuit, and a signal switching circuit, and when collecting data, input data is regarded as an address signal of the memory device, and the memory device is switched every time an input control signal is input. By configuring the data at the corresponding address to be read out to a counter circuit, counted up, and then written to the corresponding address in the memory device again, the capacity of the memory device can be reduced to (input data length) x (maximum count). Since the memory device is accessed by hardware, it is possible to collect data at a speed equivalent to the access speed of the memory device, and obtain the excellent effect of being able to obtain a frequency distribution on the memory device. .

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

第1図は本発明の一実施例【おける度数分布メモリ装置
を示すブロック図、第2図はタイミング発生回路のタイ
ミング」   、第3図は従来例を示すだめの一般的コ
ンピュータ装置のブロック図である。 1・・・・・・メモリ装置、2・山・・タイミング発生
回路、3・・・・・・カウンタ回路、4,5.6・・・
・・・信号切換回路、11・・・・・・メモリ装置のア
ドレスバス、12・・・・・・メモリ装置のデータバス
、a、b・・・・・・書込み制御信号、c、d・・・・
・・読出し制御信号、e・・・・・・カウントアツプ信
号。 代理人の氏名 弁理士 中 尾 敏 男 はが1名第1
図 II 2 図
FIG. 1 is a block diagram showing a frequency distribution memory device in one embodiment of the present invention, FIG. 2 is a timing diagram of a timing generation circuit, and FIG. 3 is a block diagram of a general computer device showing a conventional example. be. 1... Memory device, 2... Timing generation circuit, 3... Counter circuit, 4, 5.6...
... Signal switching circuit, 11 ... Address bus of memory device, 12 ... Data bus of memory device, a, b ... Write control signal, c, d. ...
...Read control signal, e...Count up signal. Name of agent: Patent attorney Toshio Nakao (1st person)
Figure II 2

Claims (3)

【特許請求の範囲】[Claims] (1)データをアドレス信号に従った領域に書込み、あ
るいは読出すメモリ装置と、前記メモリ装置のデータを
入力しカウントアップするカウンタ回路とを具備し、前
記メモリ装置の入力データ線とアドレス信号線を切換え
て入力データ線より入力されるデータを前記メモリ装置
のアドレス信号とみなして入力制御信号の入力毎に前記
メモリ装置の該当アドレスのデータを前記カウンタ回路
に読出してカウントアップし、再び前記メモリ装置の該
当アドレスに書込むことを特徴とする度数分布メモリ装
置。
(1) A memory device that writes or reads data in an area according to an address signal, and a counter circuit that inputs and counts up the data of the memory device, and includes an input data line and an address signal line of the memory device. The data input from the input data line is regarded as an address signal of the memory device, and each time an input control signal is input, the data at the corresponding address of the memory device is read out to the counter circuit and counted up, and the data is read out from the memory device again. A frequency distribution memory device characterized by writing to a corresponding address of the device.
(2)メモリ装置内データの読出し、カウントアップ、
書込みに関し、データのメモリ装置からの読出し、書込
みと、カウンタ回路への入出力と、カウントアップの制
御信号を発生するためのタイミング発生回路を具備して
いることを特徴とする特許請求の範囲第1項記載の度数
分布メモリ装置。
(2) Reading and counting up data in the memory device,
Regarding writing, the present invention is characterized by comprising a timing generation circuit for reading and writing data from a memory device, inputting/outputting data to a counter circuit, and generating a count-up control signal. The frequency distribution memory device according to item 1.
(3)メモリ装置内データの読出し、書込みに関し、デ
ータの入出力先を切換える切換回路を具備していること
を特徴とする特許請求の範囲第1項記載の度数分布メモ
リ装置。
(3) The frequency distribution memory device according to claim 1, further comprising a switching circuit for switching the input/output destination of data regarding reading and writing of data in the memory device.
JP15462685A 1985-07-12 1985-07-12 Memory device for frequency distribution Pending JPS6215688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15462685A JPS6215688A (en) 1985-07-12 1985-07-12 Memory device for frequency distribution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15462685A JPS6215688A (en) 1985-07-12 1985-07-12 Memory device for frequency distribution

Publications (1)

Publication Number Publication Date
JPS6215688A true JPS6215688A (en) 1987-01-24

Family

ID=15588296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15462685A Pending JPS6215688A (en) 1985-07-12 1985-07-12 Memory device for frequency distribution

Country Status (1)

Country Link
JP (1) JPS6215688A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5329774A (en) * 1976-09-01 1978-03-20 Hitachi Ltd Recording method for occurrence of phenomenon
JPS5483480A (en) * 1977-12-15 1979-07-03 Mitsubishi Electric Corp Processing mehtod of wave height distribution analytical data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5329774A (en) * 1976-09-01 1978-03-20 Hitachi Ltd Recording method for occurrence of phenomenon
JPS5483480A (en) * 1977-12-15 1979-07-03 Mitsubishi Electric Corp Processing mehtod of wave height distribution analytical data

Similar Documents

Publication Publication Date Title
JPS6215688A (en) Memory device for frequency distribution
JPS61286940A (en) Event counter
JP2789900B2 (en) State history storage device
JPH04188243A (en) Storage device
JPH0563808A (en) Traffic collection control system
JPS6411977B2 (en)
JPH01114961A (en) Directory memory access controller
JPH0241693Y2 (en)
JPS61120260A (en) Access device for sequential data memory circuit
JPS6184746A (en) Tracer memory data recording circuit
JPS63142446A (en) Address generating system
Tsai et al. A new architecture of median filters with linear hardware complexity
JPH04205044A (en) Buffer circuit
JPS63201848A (en) Address counter control system for memory
JPS58189719A (en) Data transfer control system
JPS62114185A (en) Memory lsi constituting system
JPS6364145A (en) Data input device
JPH02202301A (en) High speed monitoring circuit for electric rolling stock control device
JPH0476532B2 (en)
JPS62219393A (en) Stack memory address controller
JPH0227487A (en) Circuit for counting/storing data number
JPH05197778A (en) Logical simulation system
JPH01140224A (en) First-in first-out memory
JPH01188959A (en) Information history memory
JPS6167142A (en) Data flow rearranging device