JPS6152027A - Multi-processing type counter - Google Patents

Multi-processing type counter

Info

Publication number
JPS6152027A
JPS6152027A JP17339184A JP17339184A JPS6152027A JP S6152027 A JPS6152027 A JP S6152027A JP 17339184 A JP17339184 A JP 17339184A JP 17339184 A JP17339184 A JP 17339184A JP S6152027 A JPS6152027 A JP S6152027A
Authority
JP
Japan
Prior art keywords
signal
counter
adder
period
output
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
JP17339184A
Other languages
Japanese (ja)
Inventor
Hiroshi Morimura
森村 洋
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP17339184A priority Critical patent/JPS6152027A/en
Publication of JPS6152027A publication Critical patent/JPS6152027A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To attain measurement of long time with a counter of less number of bits and to improve the accuracy at measurement for a short time by switching an adding value fed to an adder depending on the count. CONSTITUTION:When a signal is inputted to an input terminal 1, an output data of a RAM3 is inputted to an adder 4. When a signal from a selector 9 goes to logical 1, the data is increased by 1 and then stored again to the RAM3. Two signals having a different period are fed to input terminals 6, 7 of the selector 9, which is switched by the output of a comparator 8 to which the output of the RAM3 is inputted. That is, when the output of the RAM3 is smaller than a prescribed value, a signal with a short period is outputted and when larger, a signal with a long period is outputted. Thus, long-time measurement is attained with a counter of less number of bits and the accuracy at short time measurement is kept high.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は加算器のビット長が短かくても、短時間から
長時間まで要求される時間精度で時間測定が可能な多重
処理凰カウンタに関するものである。
[Detailed Description of the Invention] [Technical Field of the Invention] This invention relates to a multi-processing counter that is capable of measuring time with the required time accuracy from short to long periods of time even if the bit length of the adder is short. It is.

〔従来技術〕[Prior art]

一般に、複敬の信号が多重されているとき、信号ごとに
カウンタを動作させようとすると、多重処理型カウンタ
が必要になる。すなわち、第1図は従来の多重処理滉カ
ウンタを示すブロック図である。同図において、1は多
重信号が入力する入力端子、2a〜2nはアンドゲート
、3はRAM、  4は加算器、5は例えば周期T”’
1m5ecで111信号が入力する信号入力端子である
Generally, when multiplexed signals are used, a multiprocessing counter is required to operate a counter for each signal. That is, FIG. 1 is a block diagram showing a conventional multi-processing counter. In the figure, 1 is an input terminal into which multiplexed signals are input, 2a to 2n are AND gates, 3 is a RAM, 4 is an adder, and 5 is, for example, a period T"'
This is a signal input terminal into which a 111 signal is input at 1m5ec.

次に上記構成による多重処理型カウンタの動作について
説明する。まず、入力端子1に′1/rレベルの信号が
入力すると、RAM3の出力データはアントゲ−) 2
a〜2nを介して加算器4に入力する。
Next, the operation of the multiprocessing counter with the above configuration will be explained. First, when a signal of '1/r level is input to input terminal 1, the output data of RAM3 is
It is input to the adder 4 via a to 2n.

そして、信号入力端子5に11″信号が入力すると、1
だけ加算され、加算器4のデータは再びRAM3に格納
される。したがって、このRAM3のアドレスは信号の
多重度に応じて変化しているので、次に同じアドレスに
なったとき、令書き込まれたデータが読み出される。す
なわち、1つのアドレスのデータはある周期毎に加算さ
れていくので、全体としては複数のカラ/りが入力信号
に従って別々のカウント動作をしているように動作する
。次に、この多重処理型力9ンタで時間の測定をすると
き、測定できる最犬呟tma xは(1)式で示すこと
ができる。
Then, when the 11" signal is input to the signal input terminal 5, 1
is added, and the data of adder 4 is stored in RAM 3 again. Therefore, since the address of this RAM 3 changes depending on the multiplicity of signals, the data written in the command will be read out when the same address is reached next time. That is, since the data of one address is added every certain period, the plurality of colors as a whole operate as if they were performing separate counting operations according to the input signals. Next, when measuring time using this multi-processing type computer, the maximum amount of time that can be measured can be expressed by equation (1).

tmaX=T112n(秒)(1) ここで、Tは多重処理型カラン タの周期nはビット数 例えばT ”” 1m5ec + n = 8ピットの
とき、tmax” 256m5eCとなる。
tmaX=T112n (seconds) (1) Here, T is the period n of the multi-processing type caranta and is the number of bits. For example, when 1m5ec+n=8 pits, tmax"256m5eC.

しかしながら、従来の多重処理型カウンタでは長い時間
の測定が必要なときは多重処理型カウンタの周期Tを長
くするか、またはビット数nを多くすれば、ハードウェ
ア量が大きくなる。一般的に長い時間を測定する時は短
い時間を測定するときに比べると、精度はそれ程要求さ
れないケースが多い。このような場合、もし多重処理型
カウンタがリセットされてから短い時間tlと長い時間
t!を知ろうとすると、時間の精度は短い時間t1によ
って決定づけられるので、長い時間tsf!:知るため
には周期Tを長くするのではなく、ビット数nを多きく
することになり、ハードウェア量の増大。
However, in the case of a conventional multiprocessing counter, when measurement over a long period of time is required, the amount of hardware increases if the period T of the multiprocessing counter is lengthened or the number of bits n is increased. Generally, when measuring a long time, accuracy is often not required as much as when measuring a short time. In such a case, if the multiprocessing counter is reset for a short time tl and a long time t! When trying to find out, the accuracy of time is determined by the short time t1, so the long time tsf! :In order to know, the number of bits n must be increased instead of increasing the period T, which increases the amount of hardware.

価格上昇につながるなどの欠点があった。There were drawbacks such as leading to price increases.

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

したがって、この発明の目的はある限られたビット数で
、短い時間t1の測定精度を保ちながら、長い時間1g
の測定を可能にした多重処理型カウンタを提供するもの
である。
Therefore, the object of the present invention is to use a limited number of bits to maintain measurement accuracy for a short period of time t1, while maintaining measurement accuracy for a long period of 1 g.
The present invention provides a multi-processing counter that enables measurement of .

このような目的を達成するため、この発明はRAMtn
ビットの加算器およびn個のゲート回路を備えた多重処
理滉カウンタにおいて、加算器に加える加算器をカウン
タの値によって選択的に切替えて、段階的に変化させる
ものであり、以下実施列を用いて詳細に説明する。
In order to achieve such an object, the present invention utilizes a RAMtn
In a multi-processing counter equipped with a bit adder and n gate circuits, the adder added to the adder is selectively switched depending on the counter value to change it in stages. This will be explained in detail.

〔発明の実施列〕[Implementation sequence of the invention]

第2図はこの発明に係る多重処理型カウンタの一実施例
を示すブロック図である。同図において、6は例えば周
期T1=1msec  で11″信号が入力する第1信
号入力端子、7は例えば周期T2=m’p1”10m3
eCで11′信号が入力する第2信号入力端子、8は加
算器4のカウンタの直列えば50(ビットパターンで0
0110010 )を検出すると切替信号を出力する比
較器、9はこの切替信号が入力しないときには第1入力
端子6に入力すざ1〃信号が出力され、この切替信号が
入力すると切替られ、第゛     2入力端子7に入
力する11〃信号が出力される選択器である。
FIG. 2 is a block diagram showing an embodiment of a multi-processing type counter according to the present invention. In the same figure, 6 is a first signal input terminal to which a 11" signal is input with a period of T1 = 1 msec, for example, and 7 is a first signal input terminal with a period of T2 = m'p1" of 10 m3, for example.
eC is the second signal input terminal to which the 11' signal is input;
0110010), the comparator 9 outputs a switching signal when this switching signal is not input, the input signal 1 is output to the first input terminal 6, and when this switching signal is input, the comparator 9 outputs a switching signal. This is a selector from which the 11 signal input to the input terminal 7 is output.

次に、上記構成による多重処理型カウンタの動作につい
て説明する。まず、加算器4のカウンタ値が0から49
までの間では比較器8から切替信号は出力しない。この
ため、第1信号入力端子6に入力する周期T1=1ms
ec の11〃信号は選択器5を介して加算器4に入力
し、周期Tl ” 1ms e Cで1ずつ加算される
。そして、加算器4のカウンタ値が50になると、比較
器8はこの加算器4のカウンタ値50を検出し、切替信
号を出力する。したがって、選択器9はこの切替信号の
入力によって切替えられる。このため、第2信号入力端
子7に周期Ts = 10m5ecで入力する第1〃信
号はこの選択器9を介して加算器4に入力する。このた
め、加算器4は周期Ts ” 10m5e cで1ずつ
加算され、8ビツトの場合には255 (ヒフ ) バ
ターy 11111111)まで計数することができる
。このように、加算器4のカウンタ値がO〜50まで、
すなわち、50maeCまでは1m5ecOf7度で測
定することができ、カウンタ値が51〜255まで、す
なわち51m5ecから2100m5ec (2,1秒
)までは10m5 e Cの精度で測定することができ
る。
Next, the operation of the multi-processing counter with the above configuration will be explained. First, the counter value of adder 4 is from 0 to 49.
Until then, the comparator 8 does not output a switching signal. Therefore, the period T1 of input to the first signal input terminal 6 is 1 ms.
The 11 signal of ec is input to the adder 4 via the selector 5, and is added by 1 at a period of Tl'' 1ms e C. When the counter value of the adder 4 reaches 50, the comparator 8 The counter value 50 of the adder 4 is detected and a switching signal is output. Therefore, the selector 9 is switched by inputting this switching signal. 1. The signal is input to the adder 4 via the selector 9. Therefore, the adder 4 adds 1 at a time period of Ts 10m5ec, and in the case of 8 bits, the signal is added by 1 at a cycle of Ts 10m5ec. It is possible to count up to In this way, the counter value of the adder 4 is from O to 50,
That is, up to 50 maeC can be measured with 1m5ecOf7 degrees, and when the counter value is from 51 to 255, that is, from 51m5ec to 2100m5ec (2.1 seconds), it can be measured with an accuracy of 10m5eC.

なお、以上の説明では比較器を1個設けた場合を示した
が、これに限定せず、比較器を複数個設けてS精度を段
階的に変えることにより、更に長い時間の測定が可能に
なることはもちろんでおる。
In addition, although the above explanation shows the case where one comparator is provided, it is not limited to this, and by providing multiple comparators and changing the S accuracy in stages, it is possible to measure for a longer time. Of course it will happen.

まり、加算器4を8ビツトで構成した場合について説明
したが、これに限定せず、任意の数のピット数で構成で
きることはもちろんである。
In other words, although the case where the adder 4 is configured with 8 bits has been described, the present invention is not limited to this, and it goes without saying that the adder 4 can be configured with any number of pits.

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

以上詳細に説明したように、この発明に係る多重処理型
カウンタによれば少ないピット長のカウンタで長時間測
定でき、しかも短時間の測定時の精度を十分に高く保つ
ことができるなどの効果がある。
As explained in detail above, the multi-processing counter according to the present invention has advantages such as being able to perform long-term measurements with a counter with a small pit length and maintaining sufficiently high accuracy during short-time measurements. be.

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

第1図は従来の多重処理型カウンタを示すブロック図、
第2図はこの発明に係る多重処理型カウンタの一実施例
を示すブロック図である。 1・・−・入力端子、2a〜2n ・・・・アンドゲー
ト、3・・拳・RAM、  4・φ・Φ加算器、5嗜・
・争信号入力端子、6・・・・第1信号入力端子、7・
・・・第2信号入力端子、8・ms−比較器、9・・・
・選択器。
FIG. 1 is a block diagram showing a conventional multiprocessing counter.
FIG. 2 is a block diagram showing an embodiment of a multi-processing type counter according to the present invention. 1...Input terminal, 2a-2n...AND gate, 3...Fist/RAM, 4...φ/Φ adder, 5-
・Conflict signal input terminal, 6...1st signal input terminal, 7.
...Second signal input terminal, 8 ms-comparator, 9...
・Selector.

Claims (1)

【特許請求の範囲】[Claims] RAM、nピットの加算器およびn個のゲート回路を備
えた多重処理型カウンタにおいて、加算器に加える加算
値をカウンタの値によつて選択的に切替えて、段階的に
変化させることを特徴とする多重処理型カウンタ。
In a multi-processing counter equipped with a RAM, an n-pit adder, and n gate circuits, the added value added to the adder is selectively switched depending on the value of the counter, and is changed in stages. Multi-processing counter.
JP17339184A 1984-08-22 1984-08-22 Multi-processing type counter Pending JPS6152027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17339184A JPS6152027A (en) 1984-08-22 1984-08-22 Multi-processing type counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17339184A JPS6152027A (en) 1984-08-22 1984-08-22 Multi-processing type counter

Publications (1)

Publication Number Publication Date
JPS6152027A true JPS6152027A (en) 1986-03-14

Family

ID=15959530

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17339184A Pending JPS6152027A (en) 1984-08-22 1984-08-22 Multi-processing type counter

Country Status (1)

Country Link
JP (1) JPS6152027A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102947118A (en) * 2010-03-29 2013-02-27 福特全球技术公司 Supporting mounting bracket, front differential gear unit mounting method, and front differential gear unit installation structure

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102947118A (en) * 2010-03-29 2013-02-27 福特全球技术公司 Supporting mounting bracket, front differential gear unit mounting method, and front differential gear unit installation structure
CN102947118B (en) * 2010-03-29 2015-09-09 福特全球技术公司 Supporting mounting bracket, connection structure for the method and front differential gear unit of installing front differential gear unit

Similar Documents

Publication Publication Date Title
US5204564A (en) Variable delay circuit
US4489272A (en) Test circuit for turn-on and turn-off delay measurements
JPS6152027A (en) Multi-processing type counter
US3187303A (en) Digital peak reader
JPH0457246B2 (en)
JPH04274100A (en) Memory-lsi with built-in test circuit
JPS61292298A (en) Memory circuit
SU1661754A1 (en) Device for detecting extreme numbers
JPS6132758B2 (en)
SU1764049A1 (en) Number comparing device
SU561966A1 (en) Computing system for processing numbers and multidimensional vectors
JPS592584Y2 (en) Microprogram expansion test equipment
SU830377A1 (en) Device for determining maximum number code
SU802963A1 (en) Microprogramme-control device
SU658509A1 (en) Logic unit arrangement
JPH01243300A (en) Ram with lacing prevention circuit
JPS6411977B2 (en)
SU934553A2 (en) Storage testing device
JPS5985527A (en) Timing generating circuit
SU1251187A1 (en) Device for checking memory blocks
SU1383324A1 (en) Device for delaying digital information
SU1418724A1 (en) Device for interfacing digital meter with digital computer
JPH056697A (en) Semiconductor integrated circuit
JPS5775361A (en) Error detection and correction circuit
JPS63181045A (en) Data processor