JPH0315684B2 - - Google Patents

Info

Publication number
JPH0315684B2
JPH0315684B2 JP56165484A JP16548481A JPH0315684B2 JP H0315684 B2 JPH0315684 B2 JP H0315684B2 JP 56165484 A JP56165484 A JP 56165484A JP 16548481 A JP16548481 A JP 16548481A JP H0315684 B2 JPH0315684 B2 JP H0315684B2
Authority
JP
Japan
Prior art keywords
flow rate
value
pulse
input
rate pulse
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 - Lifetime
Application number
JP56165484A
Other languages
Japanese (ja)
Other versions
JPS5866821A (en
Inventor
Masahiro Kanayama
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.)
OBARA KIKI KOGYO KK
Original Assignee
OBARA KIKI KOGYO KK
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 OBARA KIKI KOGYO KK filed Critical OBARA KIKI KOGYO KK
Priority to JP16548481A priority Critical patent/JPS5866821A/en
Publication of JPS5866821A publication Critical patent/JPS5866821A/en
Publication of JPH0315684B2 publication Critical patent/JPH0315684B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/02Compensating or correcting for variations in pressure, density or temperature
    • G01F15/022Compensating or correcting for variations in pressure, density or temperature using electrical means

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Details Of Flowmeters (AREA)

Description

【発明の詳細な説明】 本発明は、流量計の流量補正装置に関し、特に
補正装置の処理速度によつて入力流量パルスのパ
ルス・レート許容範囲が制限されるのを改善する
手段を有する流量補正装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a flow rate correction device for a flowmeter, and more particularly to a flow rate correction device having means for improving the pulse rate tolerance range of input flow pulses being limited by the processing speed of the correction device. Regarding equipment.

一般に、流量計で液体を計測する場合には、流
量計の器差、口径について補正するとともに、流
量を、計測時の温度、圧力、粘度等の変化につい
て補正して、一定の標準温度における値に換算す
ることが、計測精度を保つうえで必要とされてい
る。
Generally, when measuring liquid with a flowmeter, the instrument error and diameter of the flowmeter are corrected, and the flow rate is corrected for changes in temperature, pressure, viscosity, etc. at the time of measurement, and the flow rate is adjusted to a value at a constant standard temperature. To maintain measurement accuracy, it is necessary to convert the

このため、従来は、流量計から出力される流量
パルス1個毎に、流量補正処理を行なつていた。
流量補正については、最近、マイクロプロセツサ
を用いた電子的な演算方式が多く採用されるよう
になつているが、その処理速度は比較的遅く、そ
のため処理できる流量パルスのパルス・レート
は、約200ヘルツどまりとなつていた。他方実際
に使用される流量計の出力流量パルスのパルス・
レートは、数キロ・ヘルツに及ぶ場合があり、従
来は、このため入力された流量パルスを1/10ある
いは1/100に分周することにより問題の解決を図
つていた。
For this reason, conventionally, flow rate correction processing has been performed for each flow rate pulse output from a flow meter.
Recently, electronic calculation methods using microprocessors have been increasingly used for flow rate correction, but their processing speed is relatively slow, so the pulse rate of flow rate pulses that can be processed is approximately It was stuck at 200 hertz. On the other hand, the output flow rate pulse of the flowmeter actually used
The rate can range up to several kilohertz, and conventionally the problem has been solved by dividing the input flow pulse by a factor of 10 or 100.

第1図は、従来方式による流量補正装置の構成
を示すブロツク図である。図において、1は流量
補正装置、2はパルス整形回路、3は分周回路、
4はA/D変換回路、5はCPU、6は出力回路、
7は前面板スイツチ及び表示部を示す。
FIG. 1 is a block diagram showing the configuration of a conventional flow rate correction device. In the figure, 1 is a flow rate correction device, 2 is a pulse shaping circuit, 3 is a frequency dividing circuit,
4 is an A/D conversion circuit, 5 is a CPU, 6 is an output circuit,
7 indicates a front panel switch and display section.

動作において、流量パルス入力は、パルス整形
回路2で波形整形され、そのパルス・レートの大
きさに応じて分周回路3で適当な値に分周され、
CPU5に与えられる。CPU5は、温度入力を
A/D変換回路4を経て受け入れ、該温度に基づ
く流量補正の演算を行ない、演算結果にしたがつ
て、補正流量パルスを生成し、出力回路6から出
力させる。
In operation, a flow rate pulse input is waveform-shaped by a pulse shaping circuit 2, and divided into an appropriate value by a frequency dividing circuit 3 according to the magnitude of the pulse rate.
Given to CPU5. The CPU 5 receives the temperature input via the A/D conversion circuit 4, performs a flow rate correction calculation based on the temperature, generates a corrected flow rate pulse according to the calculation result, and outputs it from the output circuit 6.

本発明は、上述した従来方式のように入力パル
ス・レートに応じた分周回路の切替えを必要とし
ないで広範囲の入力パルス・レートに応答するこ
とのできる流量補正装置を提供するものである。
以下に実施例にしたがつて本発明を説明する。
The present invention provides a flow rate correction device that can respond to a wide range of input pulse rates without requiring switching of the frequency dividing circuit according to the input pulse rate as in the conventional system described above.
The present invention will be explained below with reference to Examples.

第2図は、本発明の一実施例の説明図である。
図において、8はカウンタ、9は流量補正演算
部、10は加減算器、11は整数部零判別器、1
2はANDゲートを示す。
FIG. 2 is an explanatory diagram of one embodiment of the present invention.
In the figure, 8 is a counter, 9 is a flow rate correction calculation unit, 10 is an adder/subtractor, 11 is an integer part zero discriminator, 1
2 indicates an AND gate.

流量パルス入力は、カウンタ8とゲート12と
に加えられる。カウンタ8は、第1図の従来方式
における分周回路3の代りに、一定周期Tの計数
期間の間、流量パルスを計数し、その計数値nを
期間Tの終りに流量補正演算部9に送る。カウン
タ8のクリアおよび計数結果の転送制御は、流量
補正演算部9からの指令に基づいて行なわれる。
カウンタ8は、クリアされた後、期間Tの間流量
パルス入力を計数し、期間Tの終りに計数結果を
流量補正演算部9に転送し、直後クリアされると
ともに次の期間Tの計数動作を開始する。したが
つて、計測期間中の流量パルスは、ほとんど脱落
させることなく計数される。
A flow pulse input is applied to counter 8 and gate 12. In place of the frequency dividing circuit 3 in the conventional system shown in FIG. 1, the counter 8 counts the flow rate pulses during a counting period of a constant period T, and sends the counted value n to the flow rate correction calculation section 9 at the end of the period T. send. The clearing of the counter 8 and the transfer control of the counting results are performed based on commands from the flow rate correction calculation unit 9.
After being cleared, the counter 8 counts the flow rate pulse input for a period T, transfers the counting result to the flow rate correction calculation unit 9 at the end of the period T, and is immediately cleared and starts the counting operation for the next period T. Start. Therefore, the flow pulses during the measurement period are counted with almost no dropouts.

流量補正演算部9は、計数期間Tにおけるn個
の入力流量パルスを検知し、まず別に与えられた
プロセス変数入力の値にしたがい、補正流量演算
部を行なう。演算結果の流量補正係数をSとする
とき、このSは、更に0<S′<1となる値S′に正
規化、つまり変化範囲が0と1の間の範囲にあつ
てかつ値Sと一定の比率関係を保つ値S′に変換さ
れる。次に、値S′に計数値nを乗じた値υが計算
される。
The flow rate correction calculation unit 9 detects n input flow rate pulses during the counting period T, and first performs a correction flow rate calculation unit in accordance with a separately given process variable input value. When the flow rate correction coefficient of the calculation result is S, this S is further normalized to a value S' where 0<S'<1, that is, the variation range is between 0 and 1 and the value S It is converted into a value S′ that maintains a constant ratio relationship. Next, a value υ is calculated by multiplying the value S' by the count value n.

υ=n・S′ ここで得られた値υが、流量補正演算部9か
ら、加減算器10へ出力される。加減算器10
は、値υと、前回の加算における結果の小数部と
を加算する。次に、この加算結果の整数部から流
量パルスが入力される毎に、1ずつ減算される。
υ=n·S' The value υ obtained here is output from the flow rate correction calculation unit 9 to the adder/subtractor 10. Adder/subtractor 10
adds the value υ and the fractional part of the result from the previous addition. Next, each time a flow rate pulse is input, one is subtracted from the integer part of this addition result.

減算のための流量パルス入力は、ANDゲート
12を介して加減算器10の減算入力へ加えられ
る。ANDゲート12は、加減算器10の加算結
果値の整数部が“0”でない限り“1”を出力す
る整数部零判別器11によりゲート制御される。
したがつて、整数部の値に等しい数だけの流量パ
ルスが、ANDゲート12から加減算器10に与
えられたとき、整数部の値は“0”となり、
ANDゲート12は閉ざされる。このとき得られ
るANDゲート12の出力が、補正流量パルスと
して取り出される。
The flow pulse input for subtraction is applied to the subtraction input of adder/subtractor 10 via AND gate 12. The AND gate 12 is gate-controlled by an integer part zero discriminator 11 which outputs "1" unless the integer part of the addition result value of the adder/subtractor 10 is "0".
Therefore, when the number of flow pulses equal to the value of the integer part is given from the AND gate 12 to the adder/subtractor 10, the value of the integer part becomes "0",
AND gate 12 is closed. The output of the AND gate 12 obtained at this time is taken out as a corrected flow rate pulse.

加減算器10において、小数部が次の計数期間
の補正値S′に累算されるようにしたことにより、
長い計測期間では誤差を無視できる程度にまで減
少させることができる。
In the adder/subtractor 10, the decimal part is accumulated into the correction value S' for the next counting period, so that
For long measurement periods, the error can be reduced to a negligible level.

上述した実施例の場合の補正可能範囲は、ほぼ
0〜1の値となる。
In the case of the embodiment described above, the correctable range is approximately a value of 0 to 1.

また計数期間Tは、流量補正演算部9が補正演
算処理を実行するために必要とされる最大時間に
見合うように設定されればよく、流量パルスのパ
ルス・レートが大幅に変化しても、設定値の変更
は必要なしに高精度の流量パルス補正を行なうこ
とができる。
Further, the counting period T only needs to be set to match the maximum time required for the flow rate correction calculation unit 9 to execute the correction calculation process, and even if the pulse rate of the flow rate pulse changes significantly, Highly accurate flow rate pulse correction can be performed without the need to change set values.

第3図は、本発明の他の実施例の構成図であ
る。図において、13はパルス整形回路、14は
カウンタ、15は演算制御クロツク、16は流量
補正演算部、17はプロセス変数入力部、18は
正規化部、19は加算器、20は微分回路、21
はRSフリツプフロツプ、22は増巾器を示す。
FIG. 3 is a block diagram of another embodiment of the present invention. In the figure, 13 is a pulse shaping circuit, 14 is a counter, 15 is an arithmetic control clock, 16 is a flow rate correction calculation section, 17 is a process variable input section, 18 is a normalization section, 19 is an adder, 20 is a differentiation circuit, 21
indicates an RS flip-flop, and 22 indicates an amplifier.

入力された流量パルスは、パルス整形回路13
で波形整形され、カウンタ14に印加される。
The input flow rate pulse is passed through the pulse shaping circuit 13
The waveform is shaped and applied to the counter 14.

カウンタ14は、第2図の実施例で説明したカ
ウンタ8と同じ動作機能をもつ。カウンタ14
は、期間Tの間に計数した流量パルス数nを、期
間Tの終りに流量補正演算部16に転送したあと
クリアされる。
Counter 14 has the same operational functions as counter 8 described in the embodiment of FIG. counter 14
is cleared after the number n of flow rate pulses counted during the period T is transferred to the flow rate correction calculation section 16 at the end of the period T.

流量補正演算部16は、演算制御クロツク15
からのクロツク信号にしたがつて動作し、カウン
タ14に対する転送およびクリア信号を発生する
とともに、カウンタから読み出した計数値nとプ
ロセス変数入力とにしたがつて、流量補正演算処
理を行なう。補正量は、流量パルス1個分に対す
るもののn倍である。
The flow rate correction calculation section 16 is connected to the calculation control clock 15.
It operates according to a clock signal from the counter 14, generates a transfer and clear signal to the counter 14, and performs flow rate correction calculation processing according to the count value n read from the counter and the process variable input. The correction amount is n times that for one flow rate pulse.

演算処理された結果値Sは、正規化部18にお
いて、(0<S′<1)なる範囲の値S′となるよう
に正規化され、加算器19に送られる。
The resultant value S of the arithmetic processing is normalized by the normalization unit 18 so that it becomes a value S' in the range (0<S'<1), and is sent to the adder 19.

加算器19は、データS′と前回の加算結果の小
数部とを加算し、整数部へのキヤリがあつた場
合、それを微分回路20へ出力する。
The adder 19 adds the data S' and the decimal part of the previous addition result, and if there is a carry in the integer part, outputs it to the differentiating circuit 20.

微分回路20は、加算器19からの整数部
“1”パルスを微分し、その前縁パルスを取り出
して、RSフリツプフロツプ21のS入力に加え、
これをセツトする。このため、該フリツプフロツ
プのQ出力は“1”となるが、直後に入力された
流量パルスが該フリツプフロツプのR入力に加え
られると、該フリツプフロツプはリセツトされ、
Q出力は“0”レベルに復帰する。
The differentiating circuit 20 differentiates the integer part "1" pulse from the adder 19, extracts its leading edge pulse, and adds it to the S input of the RS flip-flop 21.
Set this. Therefore, the Q output of the flip-flop becomes "1", but when the input flow pulse immediately after is applied to the R input of the flip-flop, the flip-flop is reset,
The Q output returns to "0" level.

このときのフリツプフロツプ21のQ出力変化
が、増巾器22で増巾され、補正流量パルスとし
て出力される。この補正流量パルス出力は、電磁
カウンタ等の流量指示器を駆動するために使用さ
れる。本実施例における1計数期間Tにおいて生
じる補正流量パルス出力は、1個または0個であ
る。したがつて、計測時間を充分に長くとつた場
合の、入力流量パルス数と補正出力流量パルス数
との比、すなわち補正係数Sの許容範囲は、0<
S<1/nとなる。
The Q output change of the flip-flop 21 at this time is amplified by the amplifier 22 and output as a corrected flow rate pulse. This corrected flow rate pulse output is used to drive a flow rate indicator such as an electromagnetic counter. In this embodiment, the number of corrected flow rate pulse outputs generated in one counting period T is one or zero. Therefore, when the measurement time is sufficiently long, the ratio of the number of input flow rate pulses to the number of corrected output flow rate pulses, that is, the allowable range of the correction coefficient S is 0<
S<1/n.

なお、第3図の実施例では、加算器19からの
整数部の取り出しは、加算結果の整数部桁位置の
値を検出することで行なわれるが、加算器内の演
算レジスタの内容を小数部のみとし、整数部は加
算結果のオーバーフロー信号として取り出すよう
にすれば、演算レジスタの内容をそのまま次回の
加算動作における小数部入力として利用すること
ができる。
In the embodiment shown in FIG. 3, the integer part is taken out from the adder 19 by detecting the value at the integer part digit position of the addition result. If the integer part is taken out as an overflow signal of the addition result, the contents of the arithmetic register can be used as is as the decimal part input in the next addition operation.

以上述べたように、本発明により、広範囲なパ
ルスレートの流量パルス入力に対して切替えなし
で応動する高精度の流量補正装置が得られ、流量
計測システムの設計、操作を容易化することがで
きる。
As described above, the present invention provides a highly accurate flow rate correction device that responds to flow rate pulse inputs with a wide range of pulse rates without switching, and facilitates the design and operation of a flow rate measurement system. .

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

第1図は従来方式による流量補正装置の構成例
を示す図、第2図は本発明の1実施例の構成図、
第3図は本発明の他の実施例の構成を示す図であ
る。 図において、8はカウンタ、9は流量補正演算
部、10は加減算器、11は整数部零判別器、1
2はANDゲートをそれぞれ示す。
FIG. 1 is a diagram showing a configuration example of a conventional flow rate correction device, FIG. 2 is a configuration diagram of an embodiment of the present invention,
FIG. 3 is a diagram showing the configuration of another embodiment of the present invention. In the figure, 8 is a counter, 9 is a flow rate correction calculation unit, 10 is an adder/subtractor, 11 is an integer part zero discriminator, 1
2 indicates an AND gate, respectively.

Claims (1)

【特許請求の範囲】 1 流量パルスを入力する手段と、流量補正に必
要な温度、圧力等のプロセス変数を入力する手段
と、上記入力された流量パルスを一定周期で繰り
返し計数するカウンタと、該カウンタから一定周
期毎の計数値を読み出し、上記入力されたプロセ
ス変数に基づいて補正流量パルス値を演算する手
段と、該演算された結果の補正流量パルス値に基
づく補正流量パルスを上記入力された流量パルス
に同期させて出力する手段とをそなえ、 上記補正流量パルス値を演算する手段は、上記
カウンタから読み出した一定周期毎の計数値より
も補正流量パルス値が小さくなるような減算補正
を行なうことを特徴とする流量補正装置。 2 特許請求の範囲第1項において、補正流量パ
ルス値を演算する手段は、上記カウンタから読み
出した一定周期毎の計数値に対応する流量補正係
数Sを演算する手段と、演算して得られた流量補
正係数Sを0<S′<1なる範囲の値S′に変換する
手段と、更に該変換された値S′と上記カウンタか
ら読み出した一定周期毎の計算値とを乗算して補
正流量パルス値υを生成する手段とをそなえ、 また上記補正流量パルスを上記入力された流量
パルスに同期させて出力する手段は、補正流量パ
ルス値υを一方の入力とし、前回の加算結果の小
数部を他方の入力とする加算を行なうとともに、
該加算された結果の整数部から流量パルス入力の
減算を行なうように構成された加減算器とを有
し、上記減算において整数部の値が零になるまで
に入力された流量パルスを、同時に補正流量パル
スとして出力することを特徴とする流量補正装
置。
[Claims] 1. Means for inputting flow rate pulses, means for inputting process variables such as temperature and pressure necessary for flow rate correction, and a counter for repeatedly counting the inputted flow rate pulses at a constant cycle; a means for reading a counted value from a counter every fixed period and calculating a corrected flow rate pulse value based on the input process variable; and a means for calculating a corrected flow rate pulse value based on the corrected flow rate pulse value as a result of the calculation and a means for outputting in synchronization with the flow rate pulse, and the means for calculating the corrected flow rate pulse value performs subtraction correction such that the corrected flow rate pulse value becomes smaller than the count value read from the counter at each fixed cycle. A flow rate correction device characterized by: 2. In claim 1, the means for calculating the corrected flow rate pulse value includes means for calculating the flow rate correction coefficient S corresponding to the count value read from the counter at each fixed period, and the means for calculating the corrected flow rate pulse value. Means for converting the flow rate correction coefficient S into a value S' in the range of 0 <S'< 1, and further multiplying the converted value S' by the calculated value read from the counter at each fixed period to obtain the corrected flow rate. The means for generating the pulse value υ, and the means for outputting the corrected flow rate pulse in synchronization with the input flow pulse, takes the corrected flow rate pulse value υ as one input, and uses the decimal part of the previous addition result. While performing addition with as the other input,
and an adder/subtractor configured to subtract the flow rate pulse input from the integer part of the added result, and simultaneously correct the flow rate pulse input until the value of the integer part becomes zero in the subtraction. A flow rate correction device characterized by outputting a flow rate pulse.
JP16548481A 1981-10-16 1981-10-16 Correcting device for flow rate Granted JPS5866821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16548481A JPS5866821A (en) 1981-10-16 1981-10-16 Correcting device for flow rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16548481A JPS5866821A (en) 1981-10-16 1981-10-16 Correcting device for flow rate

Publications (2)

Publication Number Publication Date
JPS5866821A JPS5866821A (en) 1983-04-21
JPH0315684B2 true JPH0315684B2 (en) 1991-03-01

Family

ID=15813274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16548481A Granted JPS5866821A (en) 1981-10-16 1981-10-16 Correcting device for flow rate

Country Status (1)

Country Link
JP (1) JPS5866821A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62153716A (en) * 1985-12-27 1987-07-08 Toyo Seigyo:Kk Pulse converter between different unit systems
JPS62288519A (en) * 1986-06-06 1987-12-15 Matsushita Electric Ind Co Ltd Flow rate measuring device
GB2550420A (en) 2016-05-20 2017-11-22 Bowman Int Ltd Rolling element bearing cage

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55447A (en) * 1978-06-19 1980-01-05 Tokico Ltd Flow coefficient compensator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55447A (en) * 1978-06-19 1980-01-05 Tokico Ltd Flow coefficient compensator

Also Published As

Publication number Publication date
JPS5866821A (en) 1983-04-21

Similar Documents

Publication Publication Date Title
US4609990A (en) Frequency measurement system
US4760536A (en) Autoranging frequency sensor
US4404638A (en) Flow rate measuring device
JPH0315684B2 (en)
JPS5834321A (en) Correcting device for dual rotor type volumetric flow meter
SU851223A1 (en) Device for determination of carbom equivalent in liquid metal
JP2584990Y2 (en) Pulse width measurement device
JP2827446B2 (en) Motor speed detection method
SU1077676A1 (en) Apparatus for automatic monitoring of metal in the tolerance range by thickness
JP3031970B2 (en) Filter circuit
SU1405021A1 (en) Apparatus for measuring time duration of pulses
JPS6346648B2 (en)
SU1290309A1 (en) Device for extracting square root
SU382932A1 (en) DEVICE FOR MEASURING FUEL CONSUMPTION
SU1151822A1 (en) Device for measuring cumulative consumption of liquids and gases
JPH0560808A (en) Period measuring instrument, frequency measuring instrument, period and frequency measuring method, and meter driving device
JPS6298265A (en) Speed detecting device
SU855532A1 (en) Digital phase meter
SU828195A1 (en) Digital device for processing information of frequency converters
SU1101752A1 (en) Uhf power digital meter
SU998582A1 (en) Device for controlling process of plasmochemical treatment of semiconductor wafers
SU1336033A1 (en) Device for computing current mean value
JPH0243238B2 (en)
SU1589078A1 (en) Device for measuring temperature
JPS58176799A (en) Cyclic digital telemeter control system