Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0721838B2 - Measuring device - Google Patents
[go: Go Back, main page]

JPH0721838B2 - Measuring device - Google Patents

Measuring device

Info

Publication number
JPH0721838B2
JPH0721838B2 JP25994287A JP25994287A JPH0721838B2 JP H0721838 B2 JPH0721838 B2 JP H0721838B2 JP 25994287 A JP25994287 A JP 25994287A JP 25994287 A JP25994287 A JP 25994287A JP H0721838 B2 JPH0721838 B2 JP H0721838B2
Authority
JP
Japan
Prior art keywords
signal
register
measurement
read
measuring device
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 - Fee Related
Application number
JP25994287A
Other languages
Japanese (ja)
Other versions
JPH01100700A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP25994287A priority Critical patent/JPH0721838B2/en
Publication of JPH01100700A publication Critical patent/JPH01100700A/en
Publication of JPH0721838B2 publication Critical patent/JPH0721838B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Electronic Switches (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計測装置に関し、特にそのデータ取込み法に関
するものである。
TECHNICAL FIELD The present invention relates to a measuring device, and more particularly to a data capturing method thereof.

〔従来の技術〕[Conventional technology]

第2図は従来のパルス幅計測型タイマの計測装置部を示
す系統図であり、1はカウンタ、2はカウンタ1の値を
取込み信号CAPにより格納する計測レジスタである。
FIG. 2 is a system diagram showing a measuring device section of a conventional pulse width measuring timer. Reference numeral 1 is a counter, and 2 is a measuring register for storing the value of the counter 1 by a capture signal CAP.

第3図は従来装置および本発明による装置の動作を説明
するためのタイムチャートであり、(a)はカウントパ
ルス、(b)はカウント値、(c)は取込み信号CAP、
(d)は後述の実施例で説明する取込み許可信号a、
(e)は読出し信号RD、(f)は計測レジスタ値を示
し、第3図の期間T1は従来装置の動作に対応し、期間T2
は本発明による装置の動作に対応する。
FIG. 3 is a time chart for explaining the operation of the conventional device and the device according to the present invention. (A) is a count pulse, (b) is a count value, (c) is a capture signal CAP,
(D) is a capture permission signal a, which will be described in the embodiment below.
(E) shows the read signal RD, (f) shows the measurement register value, the period T1 in FIG. 3 corresponds to the operation of the conventional device, and the period T2.
Corresponds to the operation of the device according to the invention.

次に、第2図の装置の動作について第3図を用いて説明
する。パルスの立上がり又は立下がりで発生させた取込
み信号CAPにより、その時のカウンタ1の値を計測レジ
スタ2に取り込む。この値を読出し信号RDによって外部
に読み出す。第3図(c),(d)に示すように、従来
装置においては、取込み信号CAPがそのまま取込み許可
信号aとなる。
Next, the operation of the apparatus shown in FIG. 2 will be described with reference to FIG. The value of the counter 1 at that time is taken into the measurement register 2 by the take-in signal CAP generated at the rising or falling of the pulse. This value is externally read by the read signal RD. As shown in FIGS. 3 (c) and 3 (d), in the conventional device, the capture signal CAP becomes the capture permission signal a as it is.

一連の動作は以上の通りであるが、カウンタ1は取込み
信号CAPが入力された後もカウントを続行し、次の計測
(取込み信号CAPの入力)に備える。
Although the series of operations is as described above, the counter 1 continues counting even after the capture signal CAP is input, and prepares for the next measurement (input of the capture signal CAP).

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

従来のパルス幅計測型タイマの計測装置部は以上のよう
に構成されており、読出し動作中に取込み信号CAPが入
力されると、計測レジスタ2の値が変化する。この時に
時間的余裕が少なければ、変化中の値が読み出され、誤
認識するという問題があった。
The measuring device unit of the conventional pulse width measuring timer is configured as described above, and when the capture signal CAP is input during the read operation, the value of the measuring register 2 changes. At this time, if there is little time margin, there is a problem that the changing value is read out and is erroneously recognized.

本発明はこのような点に鑑みてなされたものであり、そ
の目的とするところは、読出し中に計測レジスタの値が
変化することをなくすとともに、読出し中のデータを安
定にすることができる計測装置を得ることにある。
The present invention has been made in view of such a point, and an object of the present invention is to prevent the value of the measurement register from changing during reading and to stabilize the data during reading. To get the equipment.

〔問題点を解決するための手段〕[Means for solving problems]

このような目的を達成するために本発明は、計測データ
を一時的に記憶する計測レジスタを有し、取込み信号に
応じて新たな計測データを計測レジスタに取込んで記憶
するとともに、読出し信号に応じて計測レジスタに記憶
されている計測データを読出して出力する計測装置にお
いて、読出し信号を参照することにより計測レジスタが
読出し動作中であることを認識する認識手段と、この認
識手段により読出し動作中であることが認識された場合
には、取込み信号を遅延させることにより、読出し動作
完了後まで計測データの取込み時期を遅らせる遅延回路
とを備えるものである。
In order to achieve such an object, the present invention has a measurement register that temporarily stores measurement data, and stores new measurement data in the measurement register in response to a capture signal and stores it in a read signal. In a measuring device which reads out and outputs the measurement data stored in the measurement register in response to the read signal, a recognition unit that recognizes that the measurement register is performing a read operation, and a read operation by the recognition unit If it is recognized, the delay circuit delays the acquisition signal to delay the measurement data acquisition timing until the completion of the read operation.

〔作用〕[Action]

本発明による計測装置においては、計測した値が安定に
読み出され、誤認識がなくなる。
In the measuring device according to the present invention, the measured value is read out stably, and erroneous recognition is eliminated.

〔実施例〕〔Example〕

第1図は、本発明に係わる計測装置の一実施例を示す系
統図である。第1図において、1はカウンタ、2はカウ
ンタ1の値を格納する計測レジスタ、3は取込み信号制
御回路、4は1サイクル遅延回路、5はインバータ、6,
7はアンド回路、8,9は経路、10はオア回路であり、イン
バータ5とアンド回路6,7とは認識手段を構成する。ま
た、第1図の回路はすべて「H」レベル信号を有意な信
号として動作する回路として記述されている。
FIG. 1 is a system diagram showing an embodiment of a measuring device according to the present invention. In FIG. 1, 1 is a counter, 2 is a measurement register for storing the value of the counter 1, 3 is a capture signal control circuit, 4 is a 1-cycle delay circuit, 5 is an inverter, 6,
Reference numeral 7 is an AND circuit, 8 and 9 are paths, and 10 is an OR circuit, and the inverter 5 and the AND circuits 6 and 7 constitute a recognition means. Further, the circuits shown in FIG. 1 are all described as circuits which operate with an "H" level signal as a significant signal.

以下、動作について第3図を用いて説明する。まず、読
出し動作が行なわれていない時のカウント値取込みにつ
いて説明する(第3図の期間T1参照)。第1図の回路は
すべて「H」レベル信号を有意な信号として動作する回
路としているので、読出し動作が行なわれていない時の
読出し信号RDは「L」レベルである。よって、取込み信
号CAPが入力された場合には、その信号CAPは取込み信号
制御回路3内の経路8を通り、オア回路10から、取込み
許可信号aとして出力される。これにより、カウンタ1
のカウント値は計測レジスタ2に取り込まれる。
The operation will be described below with reference to FIG. First, the acquisition of the count value when the read operation is not performed will be described (see period T1 in FIG. 3). Since the circuits shown in FIG. 1 are all circuits which operate with the "H" level signal as a significant signal, the read signal RD is at the "L" level when the read operation is not performed. Therefore, when the capture signal CAP is input, the signal CAP passes through the path 8 in the capture signal control circuit 3 and is output from the OR circuit 10 as the capture permission signal a. This makes counter 1
The count value of is taken into the measurement register 2.

次に、読出し動作中に取込み信号CAPが入力された場合
について説明する(第3図の期間T2参照)。この場合
は、読出し信号RDは「H」レベルである。よって、入力
された取込み信号CAPは1サイクル遅延回路4に入り、
読出し動作完了までの1サイクル後まで遅延し、経路9
を介して、オア回路10から取込み許可信号aとして出力
される。すなわち、読出し動作中の取込み信号CAPは1
サイクル遅延し、この遅延した取込み信号CAPである取
込み許可信号aにより、カウンタ1のカウント値は計測
レジスタ2に取り込まれる。
Next, the case where the capture signal CAP is input during the read operation will be described (see period T2 in FIG. 3). In this case, the read signal RD is at "H" level. Therefore, the input capture signal CAP enters the 1-cycle delay circuit 4,
It is delayed until one cycle after the read operation is completed.
Is output from the OR circuit 10 as a capture permission signal a. That is, the read signal CAP during the read operation is 1
The count value of the counter 1 is fetched into the measurement register 2 by the cycle delay, and the delayed fetch signal CAP, which is the fetch permission signal a.

以上のように動作するので、読出し動作中に計測レジス
タ2の値が変化することはなく、安定に読出し動作を行
なうことができる。
Since the operation is performed as described above, the value of the measurement register 2 does not change during the read operation, and the read operation can be stably performed.

なお、上記実施例では、遅延量を1サイクル一定とした
が、読出し動作が一定期間で終了しない場合は、読出し
信号RDを遅延回路4に取り込むことにより読出し動作の
完了を判断して取込み信号CAPを出力させることも可能
である。
In the above embodiment, the delay amount is set to be constant for one cycle. However, when the read operation is not completed within a certain period, the read signal RD is fetched into the delay circuit 4 to judge the completion of the read operation and the fetch signal CAP. It is also possible to output.

また、本発明による回路すべてを1個の半導体集積回路
内に含めることも可能である。
It is also possible to include all the circuits according to the present invention in one semiconductor integrated circuit.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、読出し状態を認識し、読
出し中であることを認識した場合にデータ取込み時期を
遅らせることにより、読出し動作中に計測レジスタの値
が変化することは無くなるので、計測した値を安定に読
み出せるとともに、誤認識が無くなり、装置の安定性向
上が図れる効果がある。
As described above, according to the present invention, by recognizing the read state and delaying the data acquisition timing when recognizing that the data is being read, the value of the measurement register does not change during the read operation. The obtained value can be read out stably, erroneous recognition is eliminated, and the stability of the device can be improved.

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

第1図は本発明に係わる計測装置の一実施例を示す系統
図、第2図は装置動作を説明するためのタイムチャー
ト、第3図は従来装置を示す系統図である。 1……カウンタ、2……計測レジスタ、3……取込み信
号制御回路、4……1サイクル遅延回路、5……インバ
ータ、6,7……アンド回路、8,9……経路、10……オア回
路。
FIG. 1 is a system diagram showing an embodiment of a measuring device according to the present invention, FIG. 2 is a time chart for explaining the operation of the device, and FIG. 3 is a system diagram showing a conventional device. 1 ... Counter, 2 ... Measurement register, 3 ... Acquisition signal control circuit, 4 ... 1 cycle delay circuit, 5 ... Inverter, 6,7 ... AND circuit, 8,9 ... Path, 10 ... OR circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】計測データを一時的に記憶する計測レジス
タを有し、取込み信号に応じて新たな計測データを前記
計測レジスタに取込んで記憶するとともに、読出し信号
に応じて前記計測レジスタに記憶されている計測データ
を読出して出力する計測装置において、 前記読出し信号を参照することにより前記計測レジスタ
が読出し動作中であることを認識する認識手段と、 この認識手段により読出し動作中であることが認識され
た場合には、前記取込み信号を遅延させることにより、
前記読出し動作完了後まで計測データの取込み時期を遅
らせる遅延回路とを備えることを特徴とする計測装置。
1. A measurement register for temporarily storing measurement data, wherein new measurement data is fetched and stored in the measurement register in response to a fetch signal, and stored in the measurement register in response to a read signal. In the measuring device for reading out and outputting the measured data, the recognizing means for recognizing that the measuring register is in the reading operation by referring to the read signal, and the recognizing means performing the reading operation. If recognized, by delaying the acquisition signal,
A measuring device, comprising: a delay circuit that delays the timing of taking measurement data until after the reading operation is completed.
JP25994287A 1987-10-14 1987-10-14 Measuring device Expired - Fee Related JPH0721838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25994287A JPH0721838B2 (en) 1987-10-14 1987-10-14 Measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25994287A JPH0721838B2 (en) 1987-10-14 1987-10-14 Measuring device

Publications (2)

Publication Number Publication Date
JPH01100700A JPH01100700A (en) 1989-04-18
JPH0721838B2 true JPH0721838B2 (en) 1995-03-08

Family

ID=17341065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25994287A Expired - Fee Related JPH0721838B2 (en) 1987-10-14 1987-10-14 Measuring device

Country Status (1)

Country Link
JP (1) JPH0721838B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03159310A (en) * 1989-11-17 1991-07-09 Mitsubishi Electric Corp Timer
CN111189368B (en) * 2020-01-19 2021-08-17 贵州新芯安腾科技有限公司 System and method for improving detonator delay precision and calibration efficiency

Also Published As

Publication number Publication date
JPH01100700A (en) 1989-04-18

Similar Documents

Publication Publication Date Title
US4348762A (en) Circuit for correcting data reading clock pulses
KR920007349A (en) Digital pulse processing equipment
JPH0721838B2 (en) Measuring device
JP2600598B2 (en) Pulse width judgment circuit
JPH0534474A (en) Measurement timer device
JPH0284812A (en) Duty factor discrimination circuit
JP2804406B2 (en) Pulse measuring device
JPH03252526A (en) Sensor output circuit
JP2574355B2 (en) Broadcast system identification device
JP2650290B2 (en) Broadcast system identification device
JPS5831525B2 (en) A-D
US5511047A (en) High resolution timer using low resolution counter
SU1142822A1 (en) Timer
JP2911130B2 (en) Phase difference detector
SU1034042A1 (en) Microprogram checking device
JP2650291B2 (en) Broadcast system identification device
SU1012230A1 (en) Data collection and preprocessing device
SU1751713A1 (en) Meter of time intervals of pulse sequences
JPH01223675A (en) Seek control circuit
JP2574356B2 (en) Broadcast system identification device
SU1339567A1 (en) Device for checking digital units
SU1513455A1 (en) Device for monitoring properness of execution of commands by microprocessor system
SU974367A2 (en) Data input device
SU473180A1 (en) Device for testing comparison circuits
JPH0553616A (en) Semiconductor device

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees