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
JPH0133053B2 - - Google Patents
[go: Go Back, main page]

JPH0133053B2 - - Google Patents

Info

Publication number
JPH0133053B2
JPH0133053B2 JP56093463A JP9346381A JPH0133053B2 JP H0133053 B2 JPH0133053 B2 JP H0133053B2 JP 56093463 A JP56093463 A JP 56093463A JP 9346381 A JP9346381 A JP 9346381A JP H0133053 B2 JPH0133053 B2 JP H0133053B2
Authority
JP
Japan
Prior art keywords
pulse
output
counter
pulses
input
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
Application number
JP56093463A
Other languages
Japanese (ja)
Other versions
JPS57207420A (en
Inventor
Kazufumi Oota
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 JP9346381A priority Critical patent/JPS57207420A/en
Publication of JPS57207420A publication Critical patent/JPS57207420A/en
Publication of JPH0133053B2 publication Critical patent/JPH0133053B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass

Landscapes

  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Manipulation Of Pulses (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は入力パルスにスケーリングを施した後
再発信パルスとして出力する再発信パルス発生装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a retransmission pulse generator that scales an input pulse and then outputs it as a retransmission pulse.

<従来の技術> 一般にタービン流量計等のパルス発信式流量計
では、通過流体の単位容積当りのパルス数が、例
えば1当り12.42発というような区切りの良い
値でない。このため積算流量を求める場合などに
おいては、パルス発信式流量計からの入力パルス
にスケーリングを行い、例えば1当り10発とい
うような単位パルスに変換して再発信することが
行われている。この場合、従来は入力パルスを与
えられたスケーリング定数K(例えば10/12.42)
に対して決められた原則にしたがつてできるだけ
等間隔(定周期)に近いように間引いている。例
えば、入力パルスが1000発入力されたとき、再発
信パルスを805発出力するようになつている。
<Prior Art> Generally, in a pulse generating flowmeter such as a turbine flowmeter, the number of pulses per unit volume of passing fluid is not a well-defined value such as 12.42 pulses per unit volume. For this reason, when calculating the integrated flow rate, the input pulses from the pulse emitting type flowmeter are scaled and converted into unit pulses, such as 10 pulses per pulse, and then retransmitted. In this case, conventionally the scaling constant K (for example 10/12.42) given the input pulse is
The data are thinned out to be as close to equal intervals (regular period) as possible according to the principles established for the data. For example, when 1000 input pulses are input, 805 retransmission pulses are output.

<発明が解決しようとする課題> しかし従来装置では、等間隔に近いように間引
いているだけなので、瞬時を見ると等間隔性が薄
く、F/V変換器に入力したとき出力リツプルが
大きく、F/V変換器を通してメータ等の指示に
使用するアナログの1〜5V出力を直接得ること
はできないという課題があつた。
<Problems to be Solved by the Invention> However, in the conventional device, the signals are simply thinned out so that they are almost equally spaced, so when looking at the instant, the uniformity is weak, and the output ripple is large when input to the F/V converter. There was a problem in that it was not possible to directly obtain an analog 1 to 5V output, which was used for indicating meters, etc., through the F/V converter.

本発明はこのような課題を解決したもので、
F/V変換器を通してメータ等の指示に使用する
アナログの1〜5V出力を直接得ることのできる
等間隔性に優れた再発信パルス発生装置を提供す
ることを目的とする。
The present invention solves these problems,
It is an object of the present invention to provide a re-transmission pulse generator with excellent uniform spacing, which can directly obtain an analog 1 to 5 V output used for indicating a meter etc. through an F/V converter.

<課題を解決するための手段> このような目的を達成する本発明は、入力パル
スを計数する入力カウンタと、この入力カウンタ
の計数値を測定周期毎に読取り、スケーリングに
必要な演算を行い、再発信するパルスの数と周期
を決定する演算制御手段と、この演算制御手段に
よつて設定される周期の再発信パルスを出力する
出力カウンタと、この出力カウンタの出力パルス
数と当該演算制御手段の設定するパルス数とを入
力し、出力パルス数が設定パルス数になると当該
出力カウンタのパルス出力を停止させると共に、
前記演算制御手段の設定数のパルス出力が終了し
たことを知らせる信号を出力するパルス数カウン
タとを有している。
<Means for Solving the Problems> The present invention that achieves the above object includes an input counter that counts input pulses, a count value of this input counter that is read every measurement period, and calculations necessary for scaling performed. an arithmetic control means for determining the number and period of pulses to be retransmitted; an output counter for outputting retransmission pulses with a period set by the arithmetic control means; and the number of output pulses of the output counter and the arithmetic control means. Input the number of pulses to be set, and when the number of output pulses reaches the set number of pulses, stop the pulse output of the output counter, and
and a pulse number counter that outputs a signal indicating that the set number of pulse outputs of the arithmetic and control means have been completed.

そして、最初の測定周期で入力されたパルスに
対応する再発信パルスを次の測定周期で前記出力
カウンタから出力すると共に、当該次の測定周期
の終了を前記パルス数カウンタの前記演算制御手
段への終了信号で定めることを特徴としている。
Then, a retransmission pulse corresponding to the pulse input in the first measurement cycle is output from the output counter in the next measurement cycle, and the end of the next measurement cycle is notified to the calculation control means of the pulse number counter. It is characterized by being determined by the end signal.

<作用> 本発明の各構成要素はつぎの作用をする。演算
制御手段はスケーリング演算をしている。出力カ
ウンタとパルス数カウンタを用いて再発信パルス
発生回路を構成しているので、入力パルスの測定
周期に比べて再発信パルスの出力される周期は遅
れるものになるが、当該出力周期の中ではパルス
周期が一定に保持されるので、出力リツプルは減
少する。
<Function> Each component of the present invention has the following function. The calculation control means performs scaling calculation. Since the retransmission pulse generation circuit is configured using an output counter and a pulse number counter, the retransmission pulse output period will be delayed compared to the input pulse measurement period, but within the output period, Since the pulse period is held constant, the output ripple is reduced.

<実施例> 以下図面を用いて、本発明を説明する。<Example> The present invention will be explained below using the drawings.

第1図は本発明の一実施例を示す接続図であ
る。図において、1はパルス発信式流量計(図示
せず)等からの入力パルスPiを計数する入力カウ
ンタ、2は演算制御手段として使用されるプロセ
ツサで、入力カウンタ1の計数値をデータバス4
経由で読取り、スケーリングに必要な演算を行
い、再発信するパルスの数及び周期を設定するも
のである。通常スケーリング定数Cは0〜1の範
囲にあるが、1以上に定めても差支えない。入力
パルスPiと出力パルス数Poとの間には次の関係
がある。
FIG. 1 is a connection diagram showing one embodiment of the present invention. In the figure, 1 is an input counter that counts input pulses P i from a pulse emitting type flow meter (not shown), etc., and 2 is a processor used as an arithmetic control means.
It is used to read data via the oscilloscope, perform calculations necessary for scaling, and set the number and period of pulses to be retransmitted. Usually, the scaling constant C is in the range of 0 to 1, but it may be set to 1 or more. The following relationship exists between the input pulse P i and the output pulse number Po.

PixC=Po (1) 3は再発信パルス発生回路で、出力カウンタ3
1とパルス数カウンタ32を有し、プロセツサ2
からデータバス4経由で設定された周期の再発信
パルスPoを設定された数だけ出力するものであ
る。出力カウンタ31はクロツク入力CLKに加
わるクロツクパルスPcをプロセツサ2によつて
設定された周期Tcで分周して、出力端子outに再
発信パルスPoを出力するもので、その出力はゲ
ート入力GATEが“L”になることによつて禁
止される。尚、クロツクパルスPcは再発信する
パルスPoに比べて充分に高周波に選ばれている。
パルス数カウンタ32は、ノアゲートNORを介
してクロツク出力CLKに加わる出力カウンタ3
1からの再発信パルスPoの数を計数して、プロ
セツサ2によつて設定された数になると出力端子
outを“H”にレベルにし、インバータIV1を介
して出力カウンタ31のゲートGATEを閉じて
再発信パルスPoの発信を禁止すると同時に、プ
ロセツサ2に対して割込みをかけて、設定数のパ
ルスPoの出力が終わつたことを知らせるもので
ある。パルス数カウンタ32はゲート入力
GATEにインバータIV2を介して加わるトリガパ
ルスPt、及びクロツク入力CLKにノアゲート
NORを介してダミークロツクPdがプロセツサ2
から加えられると、計数を開始する状態となる。
P i xC=Po (1) 3 is the re-transmission pulse generation circuit, and the output counter 3
1 and a pulse number counter 32, and a processor 2
A set number of re-transmission pulses Po having a set period are outputted from the data bus 4 via the data bus 4. The output counter 31 divides the clock pulse Pc applied to the clock input CLK by the period Tc set by the processor 2 and outputs a retransmission pulse Po to the output terminal OUT. It is prohibited by becoming “L”. Note that the clock pulse Pc is selected to have a sufficiently high frequency compared to the retransmitted pulse Po.
The pulse number counter 32 is connected to the output counter 3 which is added to the clock output CLK via the NOR gate NOR.
The number of re-transmission pulses Po from 1 is counted, and when the number set by processor 2 is reached, the output terminal
out to "H" level, closes the gate GATE of the output counter 31 via the inverter IV 1 , and prohibits the re-transmission of the pulse Po. At the same time, an interrupt is applied to the processor 2, and the set number of pulses Po is output. This is to notify you that the output has finished. The pulse number counter 32 is a gate input
Trigger pulse Pt applied to GATE via inverter IV 2 and NOR gate applied to clock input CLK
Dummy clock Pd is connected to processor 2 via NOR.
When it is added from , it is ready to start counting.

このように構成された装置の動作を次に説明す
る。第2図は第1図の装置の動作を説明するタイ
ムチヤート、第3図はフローチヤートである。ま
ず、プロセツサ2は出力したい再発信パルスPo
の周期ToをクロツクパルスPcの周期Tcに応じ
て、分周率m(=To/Tc)として出力カウンタ
31に設定する。次に出力したい再発信パルス
Poの数Noをパルス数カウンタ32に設定する。
そして、プロセツサ2がトリガパルスPt、ダミ
ークロツクPdの順で出力すると、パルス数カウ
ンタ32が計数開始状態となり、パルス数カウン
タ32の出力が“L”となつて出力カウンタ31
のゲートを開け、出力パルスPoの出力を開始す
る。パルス数カウンタ32は出力パルスPoの立
上がりの度に予め設定された数を1づつ減じ、そ
の値がゼロになると出力を“H”にして出力カウ
ンタ31のゲートを閉じる。同時に出力はプロセ
ツサ2の割込みになつているので、“L”→“H”
の変化でプロセツサ2に割込みをかけて、設定さ
れた数NoのパルスPoの出力が終了したことを知
らせる。
The operation of the device configured in this manner will be described next. FIG. 2 is a time chart explaining the operation of the apparatus shown in FIG. 1, and FIG. 3 is a flow chart. First, processor 2 outputs the retransmission pulse Po that it wants to output.
The period To of the clock pulse Pc is set in the output counter 31 as a frequency division ratio m (=To/Tc) according to the period Tc of the clock pulse Pc. The next retransmission pulse you want to output
The number No of Po is set in the pulse number counter 32.
Then, when the processor 2 outputs the trigger pulse Pt and the dummy clock Pd in this order, the pulse number counter 32 enters the counting start state, the output of the pulse number counter 32 becomes "L", and the output counter 31
Open the gate and start outputting the output pulse Po. The pulse number counter 32 decrements a preset number by 1 each time the output pulse Po rises, and when the value reaches zero, the output is set to "H" and the gate of the output counter 31 is closed. At the same time, the output becomes an interrupt for processor 2, so it changes from “L” to “H”
When the number changes, an interrupt is sent to the processor 2 to notify that the output of the set number of pulses Po has ended.

プロセツサ2は入力カウンタ1の計数値を読取
り、スケーリングを行い、次の再発信するパルス
の数及び周期を再発信パルス発生回路3の出力カ
ウンタ31及びパルス数カウンタ32に設定し、
同様な手順で連続的にパルス周期を変化させなが
ら、再発信パルスPoの発生を続ける。
The processor 2 reads the count value of the input counter 1, performs scaling, and sets the number and cycle of the next retransmission pulses in the output counter 31 and pulse number counter 32 of the retransmission pulse generation circuit 3,
The retransmission pulse Po continues to be generated while continuously changing the pulse period using the same procedure.

<発明の効果> 以上説明したように、本発明によれば次のよう
な効果がある。
<Effects of the Invention> As explained above, the present invention has the following effects.

プロセツサ2でスケーリングを行つて再発信
パルスPoの周期を定めているので、従来の間
引きに比べて等間隔性に優れている。
Since the period of the retransmission pulse Po is determined by scaling in the processor 2, the periodicity of the retransmission pulse Po is superior to that of conventional thinning.

再発信パルスは入力パルスに比べて一測定周
期遅れたものになるが、必要に応じて割込み周
期を早くすることによつて高いリアルタイム性
を得ることができる。
Although the retransmission pulse is delayed by one measurement cycle compared to the input pulse, high real-time performance can be achieved by making the interrupt cycle faster as necessary.

入力パルス数が急変するような場合にも、プ
ロセツサ2で割込み周期を短くすることによつ
て再発信パルスの追従を容易にできる。
Even when the number of input pulses changes suddenly, the processor 2 can shorten the interrupt cycle to easily follow the re-transmitted pulses.

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

第1図は本発明の一実施例を示す接続図、第2
図は第1図の装置の動作を説明するタイムチヤー
ト、第3図はフローチヤートである。 1……入力カウンタ、2……演算制御手段(プ
ロセツサ)、3……再発信パルス発生回路、31
……出力カウンタ、32……パルス数カウンタ、
4……データバス。
Figure 1 is a connection diagram showing one embodiment of the present invention, Figure 2 is a connection diagram showing an embodiment of the present invention.
The figure is a time chart explaining the operation of the apparatus shown in FIG. 1, and FIG. 3 is a flow chart. DESCRIPTION OF SYMBOLS 1...Input counter, 2...Arithmetic control means (processor), 3...Retransmission pulse generation circuit, 31
... Output counter, 32 ... Pulse number counter,
4...Data bus.

Claims (1)

【特許請求の範囲】 1 入力パルスを計数する入力カウンタと、 この入力カウンタの計数値を測定周期毎に読取
り、スケーリングに必要な演算を行い、再発信す
るパルスの数と周期を決定する演算制御手段と、 この演算制御手段によつて設定される周期の再
発信パルスを出力する出力カウンタと、 この出力カウンタの出力パルス数と当該演算制
御手段の設定するパルス数とを入力し、出力パル
ス数が設定パルス数になると当該出力カウンタの
パルス出力を停止させると共に、前記演算制御手
段に設定数のパルス出力が終了したことを知らせ
る信号を出力するパルス数カウンタと、 を有し、 最初の測定周期で入力されたパルスに対応する
再発信パルスを次の測定周期で前記出力カウンタ
から出力すると共に、当該次の測定周期の終了を
前記パルス数カウンタの前記演算制御手段への終
了信号で定めることを特徴とする再発信パルス発
生装置。
[Claims] 1. An input counter that counts input pulses, and arithmetic control that reads the count value of this input counter every measurement cycle, performs calculations necessary for scaling, and determines the number and period of pulses to be retransmitted. an output counter that outputs retransmission pulses with a period set by the arithmetic control means; and an output counter that outputs the number of output pulses of the output counter and the number of pulses set by the arithmetic control means; a pulse number counter that stops the pulse output of the output counter when reaches a set number of pulses, and outputs a signal to the arithmetic control means notifying that the set number of pulse outputs has been completed; A retransmission pulse corresponding to the pulse inputted in is outputted from the output counter in the next measurement cycle, and the end of the next measurement cycle is determined by an end signal of the pulse number counter to the calculation control means. Characteristic re-transmission pulse generator.
JP9346381A 1981-06-17 1981-06-17 Generator for retransmission pulse Granted JPS57207420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9346381A JPS57207420A (en) 1981-06-17 1981-06-17 Generator for retransmission pulse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9346381A JPS57207420A (en) 1981-06-17 1981-06-17 Generator for retransmission pulse

Publications (2)

Publication Number Publication Date
JPS57207420A JPS57207420A (en) 1982-12-20
JPH0133053B2 true JPH0133053B2 (en) 1989-07-11

Family

ID=14083025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9346381A Granted JPS57207420A (en) 1981-06-17 1981-06-17 Generator for retransmission pulse

Country Status (1)

Country Link
JP (1) JPS57207420A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4865864A (en) * 1971-12-10 1973-09-10

Also Published As

Publication number Publication date
JPS57207420A (en) 1982-12-20

Similar Documents

Publication Publication Date Title
JPH0133053B2 (en)
JP2869524B2 (en) SQUID type magnetic force measuring device
JP2661048B2 (en) Speed detector
Prokin Dynamic response of a frequency measuring system
JPS61260120A (en) Electronic integrating instrument
JPS62280656A (en) Pulse generator
JPS59116864A (en) Measurement system for use rate of central processing unit
SU1478333A1 (en) Frequency transducer characteristic linearizer
JP3047699B2 (en) Flowmeter
JPS6087523A (en) Recalling pulse generator
JPH07280607A (en) Electronic flowmeter
SU1040415A1 (en) Speed ratio digital meter
SU472303A1 (en) Pulse average frequency meter
SU657362A1 (en) Frequency-and-phase meter
SU1465805A1 (en) Device for measuring low and infralow frequencies
SU1250981A1 (en) Digital phase meter
SU659978A1 (en) Electronic counting frequency meter
JPH0610263Y2 (en) Instantaneous flow monitor
JPH0461285B2 (en)
JPH0611526A (en) Frequency measuring device
JPS5836290B2 (en) Karman vortex flow meter
JPS59662A (en) Frequency measurement system
JPS604818A (en) Flow rate measuring apparatus
JPH0933579A (en) Frequency measuring circuit
JPS6298265A (en) speed detection device