JP2012227766A - Pulse signal correction device and filling apparatus using the same - Google Patents

Pulse signal correction device and filling apparatus using the same Download PDF

Info

Publication number
JP2012227766A
JP2012227766A JP2011094061A JP2011094061A JP2012227766A JP 2012227766 A JP2012227766 A JP 2012227766A JP 2011094061 A JP2011094061 A JP 2011094061A JP 2011094061 A JP2011094061 A JP 2011094061A JP 2012227766 A JP2012227766 A JP 2012227766A
Authority
JP
Japan
Prior art keywords
output
pulse
pulses
pulse signal
flow rate
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.)
Withdrawn
Application number
JP2011094061A
Other languages
Japanese (ja)
Inventor
Satoshi Takamura
聡 高村
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 JP2011094061A priority Critical patent/JP2012227766A/en
Publication of JP2012227766A publication Critical patent/JP2012227766A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Filling Of Jars Or Cans And Processes For Cleaning And Sealing Jars (AREA)
  • Manipulation Of Pulses (AREA)
  • Measuring Volume Flow (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem in which an addition to or loss in pulses indicating a flow rate owing to noise between a flowmeter and a control device that controls filling leads to an inaccurate determination of flow rate by the control device and to inaccurate filling.SOLUTION: An output of a flowmeter is input into a control device via a pulse signal correction device. The pulse signal correction device calculates a difference between the output of the flowmeter and the number of pulses received by the control device, and corrects the number of output pulses in the next output period in accordance with the difference. The control device can acquire an accurate flow rate to implement accurate filling.

Description

本発明は、パルス信号が正確に伝送されなかったことを検出して、正確なパルス数になるように補正する装置に関し、特に流量を測定して容器に充填する充填装置に用いて好適なパルス信号補正装置およびそれを用いた充填装置に関するものである。   The present invention relates to a device that detects that a pulse signal has not been transmitted correctly and corrects the pulse signal to have an accurate number of pulses, and particularly suitable for use in a filling device that measures the flow rate and fills a container. The present invention relates to a signal correction apparatus and a filling apparatus using the same.

特許文献1には、液体の流量を測定して容器に充填する流量充填装置の発明が記載されている。以下、図11に基づいてこの発明の概要を説明する。   Patent Document 1 describes an invention of a flow rate filling apparatus that measures a liquid flow rate and fills a container. The outline of the present invention will be described below with reference to FIG.

図11は流量充填装置の構成図である。先端にノズル12が取り付けられた充填液通路11をフィラタンク10に接続し、充填液通路11に取り付けられた充填バルブ13を開閉して、図示しない容器に液体を充填する。   FIG. 11 is a configuration diagram of the flow rate filling apparatus. A filling liquid passage 11 having a nozzle 12 attached to the tip is connected to the filler tank 10, and a filling valve 13 attached to the filling liquid passage 11 is opened and closed to fill a container (not shown) with liquid.

充填液通路11には電磁流量計14が取り付けられている。電磁流量計14は、充填液通路11に流れる液体の流量に応じたパルス信号を出力する。このパルス信号は、制御装置15内の演算部15aに入力される。演算部15aは入力されたパルス信号をカウントし、このカウント値が記憶部15bに格納された設定値になると、充填バルブ13を閉じる。   An electromagnetic flow meter 14 is attached to the filling liquid passage 11. The electromagnetic flow meter 14 outputs a pulse signal corresponding to the flow rate of the liquid flowing in the filling liquid passage 11. This pulse signal is input to the calculation unit 15 a in the control device 15. The calculation unit 15a counts the input pulse signal, and closes the filling valve 13 when the count value reaches the set value stored in the storage unit 15b.

フィラタンク10には温度計16が設置され、その出力信号は演算部15aに入力される。フィラタンク10内の液体は温度によって膨張、収縮するので、温度計16の出力で流量を補正する。演算部15aは、記憶部15bに格納されている膨張/収縮係数を用いて、流量値を補正する。   A thermometer 16 is installed in the filler tank 10, and an output signal thereof is input to the calculation unit 15a. Since the liquid in the filler tank 10 expands and contracts depending on the temperature, the flow rate is corrected by the output of the thermometer 16. The calculation unit 15a corrects the flow rate value using the expansion / contraction coefficient stored in the storage unit 15b.

このような流量充填装置では、電磁流量計14の誤差等のために、容器への充填量に誤差が発生する場合がある。このため、テスト充填を行って1パルスあたりの流量を求め、この流量を設定部15cに保存しておく。演算部15aは、設定部15cから1パルスあたりの流量を読み出し、記憶部15bに格納された設定値を補正する。   In such a flow filling device, an error may occur in the filling amount of the container due to an error of the electromagnetic flow meter 14 or the like. For this reason, test filling is performed to determine the flow rate per pulse, and this flow rate is stored in the setting unit 15c. The calculation unit 15a reads the flow rate per pulse from the setting unit 15c, and corrects the set value stored in the storage unit 15b.

特開平11−105989号公報JP 11-105989 A

しかしながら、このような流量充填装置には、次のような課題があった。
充填液の流量を測定する電磁流量計14と制御装置15は通常離隔して設置されるので、ケーブルを用いて電磁流量計14の出力パルス信号を制御装置15に伝送しなければならない。このため、伝送途中でノイズなどが混入して、電磁流量計14が出力したパルス数と、制御装置15が受信するパルス数が異なる場合が発生し、容器への充填量に誤差が発生してしまうという課題があった。
However, such a flow rate filling apparatus has the following problems.
Since the electromagnetic flow meter 14 for measuring the flow rate of the filling liquid and the control device 15 are usually set apart from each other, the output pulse signal of the electromagnetic flow meter 14 must be transmitted to the control device 15 using a cable. For this reason, noise or the like is mixed during transmission, and the number of pulses output from the electromagnetic flow meter 14 may be different from the number of pulses received by the control device 15, resulting in an error in the filling amount of the container. There was a problem of ending up.

本発明の目的は、制御装置が受信するパルス数を補正することができるパルス信号補正装置およびそれを用いた充填装置を実現することにある。   An object of the present invention is to realize a pulse signal correction device capable of correcting the number of pulses received by a control device and a filling device using the same.

このような課題を達成するために、本発明のうち請求項1記載の発明は、
所定の出力周期の間に出力すべきパルス数を表す設定値が入力され、パルス信号を補正して出力するパルス信号補正装置において、
補正値および前記設定値が入力され、前記設定値が表すパルス数を、前記補正値に基づいて補正したパルス信号を生成して対象物に出力するパルス発生部と、
前記出力期間の間、前記パルス発生部が前記対象物に出力したパルス信号をカウントしてそのカウント値を出力するパルス計数部と、
前記設定値および前記パルス計数部の出力が入力され、前記設定値が表すパルス数と前記パルス計数部の出力の差分を演算し、この差分を前記補正値として前記パルス発生部に出力するパルス数検算部と、
を具備したものである。ノイズなどによって増加、消失したパルスを補正することができる。
In order to achieve such a problem, the invention according to claim 1 of the present invention is:
In a pulse signal correction device that inputs a set value representing the number of pulses to be output during a predetermined output cycle, corrects and outputs a pulse signal,
A pulse generation unit that receives a correction value and the set value, generates a pulse signal in which the number of pulses represented by the set value is corrected based on the correction value, and outputs the pulse signal to an object;
During the output period, a pulse counter that counts the pulse signal output to the object by the pulse generator and outputs the count value; and
The set value and the output of the pulse counting unit are input, the difference between the number of pulses represented by the set value and the output of the pulse counting unit is calculated, and the difference is output to the pulse generating unit as the correction value The check section,
Is provided. Pulses that have increased or disappeared due to noise or the like can be corrected.

請求項2記載の発明は、請求項1に記載の発明において、
1出力期間に補正できる最大パルス数、および/またはパルスを補正するタイミングを設定できるようにしたものである。種々の環境に対応させることができる。
The invention according to claim 2 is the invention according to claim 1,
The maximum number of pulses that can be corrected in one output period and / or the timing for correcting the pulses can be set. It can be adapted to various environments.

請求項3記載の発明は、
配管に流れる流量を測定し、この測定した流量に基づいてバルブを制御して、被充填容器に所定量の流体を充填する充填装置において、
前記配管に流れる流量を測定する流量計と、
前記配管に配置され、この配管に流れる流量を制御するバルブと、
前記流量計の出力が入力される、請求項1若しくは請求項2記載のパルス信号補正装置と、
前記パルス信号補正装置が出力するパルス信号が入力され、このパルス信号に基づいて前記バルブを制御する制御装置と、
を具備したものである。ノイズなどによってパルスが増加、消失しても、正確に充填することができる。
The invention described in claim 3
In the filling device that measures the flow rate flowing through the pipe, controls the valve based on the measured flow rate, and fills the container to be filled with a predetermined amount of fluid,
A flow meter for measuring a flow rate flowing through the pipe;
A valve arranged in the pipe and controlling the flow rate of the pipe;
The pulse signal correction device according to claim 1 or 2, wherein an output of the flow meter is input;
A control device that receives a pulse signal output from the pulse signal correction device and controls the valve based on the pulse signal;
Is provided. Even if the pulse increases or disappears due to noise or the like, it can be filled accurately.

請求項4記載の発明は、請求項3に記載の発明において、
前記パルス信号補正装置は補正したパルス数を前記流量計に出力し、
前記流量計は入力されたパルス数を積算し、この積算値が一定値以上になると、前記制御装置に警報を出力するようにしたものである。トラブルの発生前に不具合を発見することができる。
The invention according to claim 4 is the invention according to claim 3,
The pulse signal correction device outputs the corrected number of pulses to the flow meter,
The flow meter integrates the number of input pulses, and outputs an alarm to the control device when the integrated value exceeds a certain value. It is possible to find problems before trouble occurs.

本発明によれば以下のような効果がある。
請求項1、2の発明によれば、所定の出力周期に出力するパルス数を表す設定値と対象物に出力したパルス数の差分を演算して補正値として出力し、パルス発生部は前記設定値で表されたパルス数をこの補正値で補正して対象物に出力するようにした。
The present invention has the following effects.
According to the first and second aspects of the invention, the difference between the set value indicating the number of pulses output in a predetermined output cycle and the number of pulses output to the object is calculated and output as a correction value, and the pulse generator is configured to perform the setting. The number of pulses represented by the value was corrected with this correction value and output to the object.

ノイズなどによって対象物が受信するパルスが増加あるいは消失しても、この増加あるいは消失したパルスを補正することができるので、対象物は正確な数のパルスを受信することができるという効果がある。   Even if the number of pulses received by the object increases or disappears due to noise or the like, the increased or disappeared pulses can be corrected, so that the object can receive an accurate number of pulses.

また、1出力周期間で補正できる最大パルス数や補正のタイミングを可変できるようにすることにより、環境に応じた補正ができるという効果もある。   Further, by making it possible to vary the maximum number of pulses that can be corrected during one output cycle and the timing of correction, there is an effect that correction according to the environment can be performed.

請求項3、4の発明によれば、被充填容器に充填する流体の流量を流量計で測定して充填する充填装置において、流量計の出力を請求項1若しくは請求項2のパルス信号補正装置を経由して充填を制御する制御装置に入力するようにした。   According to the third and fourth aspects of the present invention, in the filling device for filling the container to be filled by measuring the flow rate of the fluid to be filled with the flow meter, the output of the flow meter is the pulse signal correction device according to claim 1 or It was made to input into the control apparatus which controls filling via.

制御装置に至る経路の途中でパルスが増加あるいは消失しても、パルス信号補正装置で補正することができるので、制御装置は正確な流量を受信することができる。このため、制御装置は正確な流量を得ることができるので、被充填容器に正確な量を充填することができるという効果がある。   Even if the pulse increases or disappears on the way to the control device, it can be corrected by the pulse signal correction device, so that the control device can receive an accurate flow rate. For this reason, since the control device can obtain an accurate flow rate, there is an effect that the container can be filled with an accurate amount.

また、補正したパルス数を積算して、この積算値が一定値以上になると制御装置に警報を出力するようにすることにより、補正が行えないようになる前に機器のチェックなどを行うことができるという効果もある。   Also, by integrating the corrected number of pulses and outputting an alarm to the control device when this integrated value exceeds a certain value, the device can be checked before correction can no longer be performed. There is also an effect that can be done.

本発明の一実施例を示した構成図である。It is the block diagram which showed one Example of this invention. パルス発生部25aの出力を表す波形図である。It is a wave form diagram showing the output of the pulse generation part 25a. パルスの補正手法を説明するための図である。It is a figure for demonstrating the correction method of a pulse. パルスの補正手法を説明するための図である。It is a figure for demonstrating the correction method of a pulse. パルスの補正手法を説明するための図である。It is a figure for demonstrating the correction method of a pulse. パルスの補正手法を説明するための図である。It is a figure for demonstrating the correction method of a pulse. パルスの補正手法を説明するための図である。It is a figure for demonstrating the correction method of a pulse. パルス発生部25aの出力を表す波形図である。It is a wave form diagram showing the output of the pulse generation part 25a. パルスの補正手法を説明するための図である。It is a figure for demonstrating the correction method of a pulse. 本発明の他の実施例の構成図である。It is a block diagram of the other Example of this invention. 従来の充填装置の構成図である。It is a block diagram of the conventional filling apparatus.

以下本発明を、図面を用いて詳細に説明する。図1は本発明に係るパルス信号補正装置を用いた充填装置の一実施例を示した構成図である。   Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a filling apparatus using a pulse signal correcting apparatus according to the present invention.

図1において、20はタンクであり、充填する液体が格納される。21はタンク20に取り付けられている配管、22は液体を充填する被充填容器である。配管21の途中には、バルブ23が取り付けられている。バルブ23が開状態になると、タンク20中の液体は配管21を通過して被充填容器22に充填される。   In FIG. 1, 20 is a tank in which the liquid to be filled is stored. Reference numeral 21 denotes a pipe attached to the tank 20, and 22 denotes a container to be filled that is filled with a liquid. A valve 23 is attached in the middle of the pipe 21. When the valve 23 is opened, the liquid in the tank 20 passes through the pipe 21 and is filled into the filling container 22.

24aは流量センサであり、配管21の途中に設置される。流量センサ24aは、配管21に流れる液体の流量を検出する。流量センサ24aの出力は流量演算部24bに出力される。   A flow sensor 24 a is installed in the middle of the pipe 21. The flow rate sensor 24 a detects the flow rate of the liquid flowing through the pipe 21. The output of the flow rate sensor 24a is output to the flow rate calculation unit 24b.

流量演算部24bは、流量センサ24aの出力から配管21に流れる液体の流量を演算し、1出力周期(例えば100mS)に流れる流量に比例するパルス数を表す設定値を出力する。流量演算部24bの出力は1出力周期に出力するパルス数を表す信号であればよく、アナログ信号あるいはデジタル値であってもよい。この設定値は、出力周期毎に更新される。流量センサ24aおよび流量演算部24bで流量計24を構成している。   The flow rate calculation unit 24b calculates the flow rate of the liquid flowing through the pipe 21 from the output of the flow rate sensor 24a, and outputs a set value indicating the number of pulses proportional to the flow rate flowing in one output cycle (for example, 100 mS). The output of the flow rate calculation unit 24b may be a signal representing the number of pulses output in one output cycle, and may be an analog signal or a digital value. This set value is updated every output cycle. The flow rate sensor 24a and the flow rate calculation unit 24b constitute a flow meter 24.

25はパルス信号補正装置であり、パルス発生部25a、パルス計数部25b、およびパルス数検算部25cで構成される。これらパルス発生部25a、パルス計数部25b、パルス数検算部25cは、流量演算部24bが出力する設定値の出力周期に同期して動作する。   Reference numeral 25 denotes a pulse signal correction device, which includes a pulse generator 25a, a pulse counter 25b, and a pulse number detector 25c. The pulse generator 25a, the pulse counter 25b, and the pulse number detector 25c operate in synchronization with the output cycle of the set value output by the flow rate calculator 24b.

パルス発生部25aには、流量演算部24bの出力である設定値、およびパルス数検算部25cの出力が入力される。パルス発生部25aは、パルス数検算部25cの出力に基づいて、入力された設定値が表すパルス数を補正したパルス信号を生成し、パルス信号補正装置25から離隔して設置されている制御装置26に、この生成したパルス信号を出力する。   The pulse generator 25a receives the set value, which is the output of the flow rate calculator 24b, and the output of the pulse number detector 25c. The pulse generation unit 25a generates a pulse signal in which the number of pulses represented by the input set value is corrected based on the output of the pulse number calculation unit 25c, and is installed separately from the pulse signal correction device 25. The generated pulse signal is output to 26.

パルス計数部25bには、制御装置26に入力されるパルス信号が入力される。パルス計数部25bは入力されたパルス信号を前記出力周期の間カウントし、そのカウント値をパルス数検算部25cに出力する。   A pulse signal input to the control device 26 is input to the pulse counting unit 25b. The pulse counting unit 25b counts the input pulse signal for the output period, and outputs the count value to the pulse number calculation unit 25c.

パルス数検算部25cには、パルス発生部25aに入力される設定値、およびパルス計数部25bの出力が入力される。パルス数検算部25cは、入力された設定値が表すパルス数とパルス計数部25bの出力の差分を演算し、その結果を補正値としてパルス発生部25aに出力する。   The set value input to the pulse generator 25a and the output of the pulse counter 25b are input to the pulse number detector 25c. The pulse number detector 25c calculates the difference between the number of pulses represented by the input set value and the output of the pulse counter 25b, and outputs the result to the pulse generator 25a as a correction value.

制御装置26は、パルス信号補正装置25の出力パルス信号に基づいてバルブ23の開閉を制御する。制御装置26は、被充填容器22が空のときにバルブ23を開いて液体を被充填容器22に流入させる。流量計24はこの液体の流量を計測し、設定値である流量信号を出力する。この設定値は、パルス信号補正装置25で補正したパルス信号に変換され、制御装置26に入力される。制御装置26は、入力されたパルス信号のパルス数が被充填容器22に充填する充填量になると、バルブ23を閉じる。制御装置は対象物に相当する。   The control device 26 controls the opening and closing of the valve 23 based on the output pulse signal of the pulse signal correction device 25. The control device 26 opens the valve 23 to allow the liquid to flow into the filled container 22 when the filled container 22 is empty. The flow meter 24 measures the flow rate of the liquid and outputs a flow rate signal that is a set value. This set value is converted into a pulse signal corrected by the pulse signal correction device 25 and input to the control device 26. The control device 26 closes the valve 23 when the number of pulses of the input pulse signal reaches the filling amount to be filled in the filling container 22. The control device corresponds to an object.

パルス発生部25aが出力するパルス信号の1パルスが表す液体の容量を予め定めておく。このようにすると、制御装置26は、パルス発生部25aが出力するパルス数をカウントするだけで、被充填容器22に流入した液体の容量を知ることができる。   The liquid volume represented by one pulse of the pulse signal output from the pulse generator 25a is determined in advance. In this way, the control device 26 can know the volume of the liquid flowing into the filling container 22 only by counting the number of pulses output from the pulse generator 25a.

なお、流量演算部24bと制御装置26の間には通信路が設置される。流量演算部24bと制御装置26は、この通信路に流れる通信信号を用いて、通信を行うことができる。   A communication path is installed between the flow rate calculation unit 24b and the control device 26. The flow rate calculation unit 24b and the control device 26 can perform communication using the communication signal flowing through the communication path.

パルス信号補正装置25と制御装置26は離隔して配置されるので、パルス信号が制御装置26に伝送される途中でノイズ等が混入してパルスが増加し、またパルスが消失して、流量演算部24bの出力値が表すパルス数と制御装置26が受け取るパルス数が異なる場合が発生する。このようなことが発生すると、実際に被充填容器22に充填された充填量と制御装置26が認識する充填量が異なり、被充填容器22に充填される液体の量がばらつくという不具合が発生する。   Since the pulse signal correction device 25 and the control device 26 are spaced apart from each other, noise or the like is mixed in the middle of the transmission of the pulse signal to the control device 26, the pulse increases, and the pulse disappears to calculate the flow rate. There is a case where the number of pulses represented by the output value of the unit 24b and the number of pulses received by the control device 26 are different. When such a situation occurs, the filling amount actually filled in the filling container 22 and the filling amount recognized by the control device 26 are different, resulting in a problem that the amount of liquid filling the filling container 22 varies. .

このため、パルス信号補正装置25によって制御装置26に出力するパルス数を補正し、制御装置26が被充填容器22に充填された充填量を正確に認識できるようにする。   Therefore, the number of pulses output to the control device 26 is corrected by the pulse signal correction device 25 so that the control device 26 can accurately recognize the filling amount filled in the filling container 22.

図2に、パルス発生部25aが出力するパルス信号の波形図を示す。パルス発生部25aは、各出力周期に一定周期のパルス信号を決められた数だけ出力する。図2では、出力周期1で10個のパルスを出力し、次の出力周期2で5個のパルスを出力している。このパルス数を積算することにより、被充填容器22に流入した液体の容量を知ることができる。   FIG. 2 shows a waveform diagram of a pulse signal output from the pulse generator 25a. The pulse generator 25a outputs a predetermined number of pulse signals having a constant period for each output period. In FIG. 2, 10 pulses are output in the output cycle 1, and 5 pulses are output in the next output cycle 2. By accumulating the number of pulses, the volume of the liquid that has flowed into the container 22 can be known.

次に、図3〜図9に基づいてパルス信号補正装置25の動作を説明する。なお、図3〜図7、図9において(A)は流量演算部24bの出力、(B)は制御装置26が受信するパルス信号の波形図である。なお、(A)は模式図であり、必ずしも流量演算部24bの出力波形を表すものではない。   Next, the operation of the pulse signal correction device 25 will be described with reference to FIGS. 3 to 7 and FIG. 9, (A) is an output of the flow rate calculation unit 24 b, and (B) is a waveform diagram of a pulse signal received by the control device 26. In addition, (A) is a schematic diagram and does not necessarily represent the output waveform of the flow rate calculation unit 24b.

図3に、ノイズ等によって制御装置26が受け取るパルス数が増加した場合の例を示す。(A)に示すように、流量演算部24bは出力周期1で10個のパルスを出力し、次の出力周期2で5個のパルスを出力する。しかし、(B)の30に示すように、制御装置26への伝送途中でノイズが混入し、パルス数が増加したとする。このノイズ混入により、出力周期1の期間に制御装置26が受け取るパルス数は11になる。   FIG. 3 shows an example in which the number of pulses received by the control device 26 increases due to noise or the like. As shown to (A), the flow volume calculating part 24b outputs ten pulses with the output period 1, and outputs five pulses with the next output period 2. FIG. However, as indicated by 30 in (B), it is assumed that noise is mixed during transmission to the control device 26 and the number of pulses increases. Due to this noise mixing, the number of pulses received by the control device 26 in the period of the output cycle 1 becomes 11.

パルス計数部25bは出力周期1の間(B)のパルス信号をカウントするので、そのカウント値も11になる。パルス計数部25bはこのカウント値11をパルス数検算部25cに出力する。   Since the pulse counter 25b counts the pulse signal (B) during the output period 1, the count value is also 11. The pulse counting unit 25b outputs the count value 11 to the pulse number checking unit 25c.

パルス数検算部25cは、流量演算部24bの出力からパルス数を算出し、このパルス数とパルス計数部25bから入力されたパルス数の差分を演算し、この差分を補正値としてパルス発生部25aに出力する。流量演算部24bの出力から算出したパルス数は10、パルス計数部25bの出力値は11なので、補正値は−1になる。   The pulse number detector 25c calculates the number of pulses from the output of the flow rate calculator 24b, calculates the difference between the number of pulses and the number of pulses input from the pulse counter 25b, and uses this difference as a correction value to generate the pulse generator 25a. Output to. Since the number of pulses calculated from the output of the flow rate calculator 24b is 10 and the output value of the pulse counter 25b is 11, the correction value is -1.

パルス発生部25aにはパルス数検算部25cの出力である補正値が入力される。パルス発生部25aは、この補正値(−1)によって、制御装置26が受信したパルス数が流量演算部24bの出力が表すパルス数より1つ多いことを知る。   The pulse generator 25a receives a correction value that is output from the pulse number detector 25c. From this correction value (−1), the pulse generator 25a knows that the number of pulses received by the control device 26 is one more than the number of pulses represented by the output of the flow rate calculator 24b.

このパルス数の差を補正するために、次の出力周期である出力周期2で、流量演算部24bの出力が表すパルス数と入力された補正値とを加算したパルス数を有するパルス信号を生成し、制御装置26に出力する。出力周期2では流量演算部24bが表すパルス数は5なので、4個のパルスを制御装置26に出力する。すなわち、パルス発生部25aは、流量演算部24bが出力する設定値が表すパルス数を、入力された補正値に基づいて補正したパルス信号を生成して制御装置26に出力する   In order to correct this difference in the number of pulses, a pulse signal having the number of pulses obtained by adding the number of pulses represented by the output of the flow rate calculation unit 24b and the input correction value is generated in the next output cycle, which is output cycle 2. And output to the control device 26. Since the number of pulses represented by the flow rate calculation unit 24 b is 5 in the output cycle 2, four pulses are output to the control device 26. That is, the pulse generator 25a generates a pulse signal in which the number of pulses represented by the set value output from the flow rate calculator 24b is corrected based on the input correction value, and outputs the pulse signal to the control device 26.

このように、パルス数検算部25cからの補正値が正値であると、パルス発生部25aは次の出力周期で流量演算部24bの出力が表すパルス数に補正値を加算したパルス数を出力し、負値であると補正値の絶対値だけ減じたパルス数を出力する。   Thus, if the correction value from the pulse number calculation unit 25c is a positive value, the pulse generation unit 25a outputs the pulse number obtained by adding the correction value to the pulse number represented by the output of the flow rate calculation unit 24b in the next output cycle. If it is negative, the number of pulses reduced by the absolute value of the correction value is output.

出力周期1だけで見ると流量演算部24bの出力が表すパルス数と制御装置26が受信するパルス数は異なっているが、出力周期1と2を合わせるとパルス数は15となり、両者のパルス数は一致する。従って、制御装置26は正確な積算流量値を得ることができる。   The number of pulses represented by the output of the flow rate calculation unit 24b is different from the number of pulses received by the control device 26 when only the output period 1 is viewed. However, when the output periods 1 and 2 are combined, the number of pulses is 15, and the number of both pulses Match. Therefore, the control device 26 can obtain an accurate integrated flow rate value.

なお、出力周期2ではパルス数検算部25bが出力するカウント値は4、流量演算部24bの出力が表すパルス数は5となるので、パルス数検算部25cの出力値は+1となる。しかし、パルス発生部25aは前回の出力周期1で1パルス補正したことを知っているので、次の出力周期では補正を行わない。   In the output cycle 2, the count value output by the pulse number calculation unit 25b is 4, and the number of pulses represented by the output of the flow rate calculation unit 24b is 5. Therefore, the output value of the pulse number calculation unit 25c is +1. However, since the pulse generator 25a knows that one pulse has been corrected in the previous output cycle 1, no correction is made in the next output cycle.

図4に、パルスが消失する例を示す。この例では、出力周期1で制御装置26が受け取るパルスが1つ消失している。図4(B)において、31の点線は消失したパルスを表している。この場合、出力周期1におけるパルス計数部25bのカウント値は9、流量演算部24bの出力が表すパルス数は10となるので、パルス数検算部25cは差分の+1をパルス発生部25aに出力する。パルス発生部25aは、この+1によって次の出力周期2で流量演算部24bの出力が表すパルス数に1パルス追加したパルス数を、制御装置26に出力する。32は追加されたパルスを表す。   FIG. 4 shows an example in which the pulse disappears. In this example, one pulse received by the control device 26 in the output cycle 1 disappears. In FIG. 4B, a dotted line 31 represents a lost pulse. In this case, the count value of the pulse counter 25b in the output cycle 1 is 9, and the number of pulses represented by the output of the flow rate calculator 24b is 10. Therefore, the pulse number detector 25c outputs the difference +1 to the pulse generator 25a. . The pulse generation unit 25a outputs the number of pulses obtained by adding 1 pulse to the number of pulses represented by the output of the flow rate calculation unit 24b in the next output cycle 2 by +1 to the control device 26. 32 represents an added pulse.

この場合も、出力周期1だけでは流量演算部24bの出力が表すパルス数と制御装置26が受信するパルス数は異なるが、出力周期1と2を合わせると、両者のパルス数は一致する。   Also in this case, the number of pulses represented by the output of the flow rate calculation unit 24b and the number of pulses received by the control device 26 differ only by the output cycle 1, but when the output cycles 1 and 2 are combined, the number of pulses of both coincides.

図3、図4ではパルスが追加あるいは消失した次の出力周期で補正するようにしたが、次の周期で補正できない場合は、その次の出力周期以降で補正するようにしてもよい。図5にこのような例を示す。   3 and 4, correction is performed at the next output cycle in which pulses are added or lost. However, when correction cannot be performed at the next cycle, correction may be performed after the next output cycle. FIG. 5 shows such an example.

図5において、出力周期1において、33に示すように制御装置26が受信するパルス数が増加するが、次の出力周期である出力周期2ではパルスを補正せずに、その次の出力周期3で補正してもよい。34の点線は、補正されて除去されたパルスを表している。   In FIG. 5, in the output cycle 1, the number of pulses received by the control device 26 increases as indicated by 33. In the next output cycle 2, which is the next output cycle, the pulses are not corrected and the next output cycle 3 You may correct by. A dotted line 34 represents a pulse that has been corrected and removed.

図6に、1つの出力周期では補正ができない場合の例を示す。図6において、(A)に示すように、流量演算部24bの出力が表すパルス数は、出力周期1〜3でそれぞれ5個、3個、5個である。   FIG. 6 shows an example in which correction cannot be performed in one output cycle. In FIG. 6, as shown in FIG. 6A, the number of pulses represented by the output of the flow rate calculation unit 24 b is 5, 3, and 5 for output periods 1 to 3, respectively.

(B)の出力周期1に示すように、ノイズ等によって制御装置26が受信するパルス数が4増加する。35は増加したパルスを表す。出力周期1の最後で、パルス発生部25aはパルス数検算部25bから(−4)を受け取る。パルス発生部25aは、この入力値(−4)によって出力するパルス数を4減じようとするが、次の出力周期2では流量演算部24bの出力が表すパルス数は3なので、出力周期2だけでは補正できない。   As shown in the output cycle 1 of (B), the number of pulses received by the control device 26 increases by 4 due to noise or the like. 35 represents an increased pulse. At the end of the output cycle 1, the pulse generator 25a receives (−4) from the pulse number detector 25b. The pulse generation unit 25a tries to reduce the number of pulses output by this input value (−4) by 4, but in the next output cycle 2, the number of pulses represented by the output of the flow rate calculation unit 24b is 3, so only the output cycle 2 It cannot be corrected.

このため、出力周期2では流量制御装置26に出力するパルス数を0とし、出力周期3で更に1つのパルスを減じるようにする。出力周期2、3の点線部は、出力されなかったパルスを表している。   For this reason, the number of pulses output to the flow rate control device 26 is set to 0 in the output cycle 2, and one pulse is further reduced in the output cycle 3. The dotted lines in the output periods 2 and 3 represent pulses that were not output.

1つの出力周期で補正できるパルス数を制限して、2出力周期以上で補正するようにすることもできる。図7は1出力周期で補正できる最大パルス数を1とした例である。この最大パルス数は、パルス発生部25aに設定される。   It is also possible to limit the number of pulses that can be corrected in one output cycle, and to correct in two or more output cycles. FIG. 7 shows an example in which the maximum number of pulses that can be corrected in one output cycle is 1. This maximum number of pulses is set in the pulse generator 25a.

図7において、(A)に示すように、流量演算部24bの出力が表すパルス数は、周期1〜3でそれぞれ5である。(B)に示すように、出力周期1で制御装置26が受信するパルス数が2個増加する。36は増加したパルスを表す。   In FIG. 7, as shown in FIG. 7A, the number of pulses represented by the output of the flow rate calculation unit 24 b is 5 for periods 1 to 3. As shown in (B), the number of pulses received by the control device 26 in the output cycle 1 increases by two. 36 represents an increased pulse.

出力周期1の終わりで、パルス発生部25はパルス数検算部25cから(−2)を受け取り、これによって2個のパルスを削除して補正しなければならないこと知る。しかし、1出力周期で補正できるパルス数の最大値は1なので、出力周期2、3でそれぞれ1個のパルスを削除するようにする。点線は削除されたパルスを表している。   At the end of the output cycle 1, the pulse generator 25 receives (−2) from the pulse number checker 25c, thereby knowing that two pulses must be deleted and corrected. However, since the maximum number of pulses that can be corrected in one output cycle is 1, one pulse is deleted in each of output cycles 2 and 3. The dotted line represents the deleted pulse.

図8に、パルス発生部25aが出力するパルス信号の他の形態を示す。図2〜図7の例では、パルス発生部25aは一定周期のパルスを出力するようにしていた。このため、出力するパルス数が少ないとパルスが出力周期の前半に集中し、また1出力周期間に出力できるパルス数に制限があるという欠点がある。   FIG. 8 shows another form of the pulse signal output from the pulse generator 25a. In the example of FIGS. 2 to 7, the pulse generator 25 a outputs pulses having a constant period. For this reason, if the number of pulses to be output is small, the pulses are concentrated in the first half of the output cycle, and there is a disadvantage that the number of pulses that can be output during one output cycle is limited.

図8では、パルスを出力周期の間に均等に配置する。この場合、パルスの周期は1出力周期間に出力するパルス数によって変化する。出力周期1では10個のパルスを出力しているが、出力周期2で出力するパルス数は10個より少ないので、パルスの周期が長くなっている。   In FIG. 8, the pulses are evenly arranged during the output period. In this case, the pulse period varies depending on the number of pulses output during one output period. Although 10 pulses are output in the output cycle 1, the number of pulses output in the output cycle 2 is less than 10, so the pulse cycle is longer.

図9に、図8の形態のパルス信号で補正を行う例を示す。図9(A)に示すように、流量演算部24bの出力が表すパルス数は、出力周期1で6個、出力周期2で4個である。これらのパルスは均等に配置されるので、出力周期1と2ではパルスの周期が異なっている。   FIG. 9 shows an example in which correction is performed using the pulse signal in the form of FIG. As shown in FIG. 9A, the number of pulses represented by the output of the flow rate calculation unit 24b is 6 in the output cycle 1 and 4 in the output cycle 2. Since these pulses are equally arranged, the output periods 1 and 2 have different pulse periods.

(B)の37に示すように、出力周期1で制御装置26が受け取るパルス数が増加したとする。パルス発生部25aはこの増加したパルスを補正するために、出力周期2で3個のパルスを制御装置26に出力する。出力周期2で出力するパルス数が少ないので、その周期は出力周期1より長くなる。   As indicated by 37 in (B), it is assumed that the number of pulses received by the control device 26 in the output cycle 1 has increased. The pulse generator 25a outputs three pulses to the control device 26 in the output period 2 in order to correct this increased pulse. Since the number of pulses output in the output cycle 2 is small, the cycle becomes longer than the output cycle 1.

図10に、パルス信号補正装置の他の実施例を示す。なお、図1と同じ要素には同一符号を付し、説明を省略する。   FIG. 10 shows another embodiment of the pulse signal correction apparatus. In addition, the same code | symbol is attached | subjected to the same element as FIG. 1, and description is abbreviate | omitted.

図10において、30は流量計であり、流量センサ24a、および流量演算部30aで構成される。流量演算部30aには、補正数積算部30bが内蔵される。また、31はパルス信号補正装置であり、パルス発生部31a、パルス計数部25b、パルス数検算部25cで構成される。流量演算部30aと制御装置26の間には、通信路が設置されている。   In FIG. 10, reference numeral 30 denotes a flow meter, which includes a flow sensor 24a and a flow calculation unit 30a. The flow rate calculation unit 30a includes a correction number integration unit 30b. Reference numeral 31 denotes a pulse signal correction device, which includes a pulse generator 31a, a pulse counter 25b, and a pulse number detector 25c. A communication path is installed between the flow rate calculation unit 30 a and the control device 26.

基本的な動作は、図1実施例とほぼ同じである。流量演算部30aは流量センサ24aが測定した流量に比例するパルス数を表す信号をパルス発生部31aに出力する。パルス発生部31aは、パルス数検算部25cが出力する補正値を用いて、制御装置26に出力するパルス数を補正する。   The basic operation is almost the same as the embodiment in FIG. The flow rate calculation unit 30a outputs a signal representing the number of pulses proportional to the flow rate measured by the flow rate sensor 24a to the pulse generation unit 31a. The pulse generator 31a corrects the number of pulses output to the control device 26 using the correction value output from the pulse number detector 25c.

この実施例では、パルス発生部31aは補正したパルスの数を補正数積算部30bに出力する。補正数積算部30bは、入力された補正値を積算する。流量演算部30aは、補正数積算部30bが積算した積算値を参照して、この積算値が一定以上になると警報信号を制御装置26に出力する。   In this embodiment, the pulse generating unit 31a outputs the corrected number of pulses to the correction number integrating unit 30b. The correction number integration unit 30b integrates the input correction values. The flow rate calculation unit 30a refers to the integrated value integrated by the correction number integrating unit 30b, and outputs an alarm signal to the control device 26 when the integrated value becomes a certain value or more.

正常な使用状態では、パルスの補正頻度は低い。このため、補正が頻繁に行われて補正数積算部30bの積算値が大きくなると、システムのどこかに不具合が発生している可能性が高い。制御装置26は流量演算部30aから警報信号を受け取ると、この警報信号を表示してシステムの検査を促す。このようにすることにより、システムの健全性が保たれる。   In normal use, the pulse correction frequency is low. For this reason, if correction is frequently performed and the integrated value of the correction number integrating unit 30b increases, there is a high possibility that a problem has occurred somewhere in the system. When the control device 26 receives an alarm signal from the flow rate calculation unit 30a, the control device 26 displays the alarm signal to prompt the system to be inspected. By doing so, the soundness of the system is maintained.

なお、図5、図7実施例において、後続するどの出力周期で補正するかを示す補正のタイミングと、1出力周期で補正できる最大パルス数のどちらか、あるいは両方をパルス発生部25a、31aに設定できるようにしてもよい。この場合、図示しない入力手段を用いて、補正のタイミング、最大パルス数を設定するようにすればよい。このようにすることにより、状況に応じて最適な補正手法を選択することができる。   5 and 7, in the pulse generators 25a and 31a, either the correction timing indicating which output cycle is to be corrected, the maximum number of pulses that can be corrected in one output cycle, or both. It may be settable. In this case, the correction timing and the maximum number of pulses may be set using an input unit (not shown). By doing in this way, the optimal correction method can be selected according to the situation.

また、図1では流量計24とパルス信号補正装置25は分かれて配置されるようにしているが、パルス信号補正装置25を流量計24の内部に配置するようにしてもよい。   In FIG. 1, the flow meter 24 and the pulse signal correction device 25 are arranged separately, but the pulse signal correction device 25 may be arranged inside the flow meter 24.

また、これらの実施例では出力周期を100mSとしたが、この値に限定されることはなく、他の値でもよい。   In these embodiments, the output period is set to 100 mS. However, the value is not limited to this value, and other values may be used.

また、これらの実施例ではパル数数検算部25cが出力する補正値は、流量演算部24b(30a)の出力が表すパルス数とパルス計数部25bの出力の差分としたが、この値に限定されることはない。要は、増加あるいは消失したパルス数がわかる値であればよい。   Further, in these embodiments, the correction value output by the number-of-pallets calculation unit 25c is the difference between the number of pulses represented by the output of the flow rate calculation unit 24b (30a) and the output of the pulse counting unit 25b, but is limited to this value. It will never be done. In short, any value can be used as long as it indicates the number of pulses that have increased or disappeared.

また、これらの実施例ではパルス信号補正装置には1出力周期間に出力するパルス数を表す信号を入力するようにしたが、流量演算部がパルス信号を生成し、この生成したパルス信号をパルス信号補正装置に入力するようにしてもよい。   In these embodiments, the pulse signal correction device is input with a signal indicating the number of pulses output during one output cycle. However, the flow rate calculation unit generates a pulse signal, and the generated pulse signal is converted into a pulse signal. You may make it input into a signal correction apparatus.

また、図1、図10実施例では制御装置26はバルブ23が開または閉のいずれかになるように制御するようにしたが、開閉の度合いを制御して所定の充填量になるようにしてもよい。   In FIGS. 1 and 10, the control device 26 controls the valve 23 to be either open or closed. However, the control device 26 controls the degree of opening and closing so that the predetermined filling amount is obtained. Also good.

また、被充填容器22に液体を充填するとして説明したが、気体であってもよい。   Moreover, although demonstrated as filling the container 22 with a liquid, gas may be sufficient.

また、流量計として電磁流量計を用いたが、他の流量計であってもよい。   Moreover, although the electromagnetic flowmeter was used as a flowmeter, another flowmeter may be used.

また、これらの実施例ではパルス信号補正装置を充填装置に用いたが、他の用途に用いてもよい。さらに、パルス信号補正装置に入力される設定値を流量としたが、流量以外の信号であってもよい。   In these embodiments, the pulse signal correction device is used for the filling device, but it may be used for other purposes. Furthermore, although the set value input to the pulse signal correction device is the flow rate, a signal other than the flow rate may be used.

20 タンク
21 配管
22 被充填容器
23 バルブ
24、30 流量計
24a 流量センサ
24b、30a 流量演算部
25、31 パルス信号補正装置
25a、31a パルス発生部
25b パルス計数部
25c パルス数検算部
26 制御装置
30b 補正数積算部
20 Tank 21 Piping 22 Filled Container 23 Valve 24, 30 Flow Meter 24a Flow Sensor 24b, 30a Flow Calculation Unit 25, 31 Pulse Signal Correction Device 25a, 31a Pulse Generation Unit 25b Pulse Counting Unit 25c Pulse Number Detection Unit 26 Control Device 30b Correction number integration unit

Claims (4)

所定の出力周期の間に出力すべきパルス数を表す設定値が入力され、パルス信号を補正して出力するパルス信号補正装置において、
補正値および前記設定値が入力され、前記設定値が表すパルス数を、前記補正値に基づいて補正したパルス信号を生成して対象物に出力するパルス発生部と、
前記出力期間の間、前記パルス発生部が前記対象物に出力したパルス信号をカウントしてそのカウント値を出力するパルス計数部と、
前記設定値および前記パルス計数部の出力が入力され、前記設定値が表すパルス数と前記パルス計数部の出力の差分を演算し、この差分を前記補正値として前記パルス発生部に出力するパルス数検算部と、
を具備したことを特徴とするパルス信号補正装置。
In a pulse signal correction device that inputs a set value representing the number of pulses to be output during a predetermined output cycle, corrects and outputs a pulse signal,
A pulse generation unit that receives a correction value and the set value, generates a pulse signal in which the number of pulses represented by the set value is corrected based on the correction value, and outputs the pulse signal to an object;
During the output period, a pulse counter that counts the pulse signal output to the object by the pulse generator and outputs the count value; and
The set value and the output of the pulse counting unit are input, the difference between the number of pulses represented by the set value and the output of the pulse counting unit is calculated, and the difference is output to the pulse generating unit as the correction value The check section,
A pulse signal correction apparatus comprising:
1出力期間に補正できる最大パルス数、および/またはパルスを補正するタイミングを設定できるようにしたことを特徴とする請求項1記載のパルス信号補正装置。   2. The pulse signal correction apparatus according to claim 1, wherein the maximum number of pulses that can be corrected in one output period and / or the timing for correcting the pulses can be set. 配管に流れる流量を測定し、この測定した流量に基づいてバルブを制御して、被充填容器に所定量の流体を充填する充填装置において、
前記配管に流れる流量を測定する流量計と、
前記配管に配置され、この配管に流れる流量を制御するバルブと、
前記流量計の出力が入力される、請求項1若しくは請求項2記載のパルス信号補正装置と、
前記パルス信号補正装置が出力するパルス信号が入力され、このパルス信号に基づいて前記バルブを制御する制御装置と、
を具備したことを特徴とする充填装置。
In the filling device that measures the flow rate flowing through the pipe, controls the valve based on the measured flow rate, and fills the container to be filled with a predetermined amount of fluid,
A flow meter for measuring a flow rate flowing through the pipe;
A valve arranged in the pipe and controlling the flow rate of the pipe;
The pulse signal correction device according to claim 1 or 2, wherein an output of the flow meter is input;
A control device that receives a pulse signal output from the pulse signal correction device and controls the valve based on the pulse signal;
A filling apparatus comprising:
前記パルス信号補正装置は補正したパルス数を前記流量計に出力し、
前記流量計は入力されたパルス数を積算し、この積算値が一定値以上になると、前記制御装置に警報を出力するようにしたことを特徴とする請求項3記載の充填装置。
The pulse signal correction device outputs the corrected number of pulses to the flow meter,
4. The filling apparatus according to claim 3, wherein the flow meter integrates the number of input pulses, and outputs an alarm to the control device when the integrated value exceeds a predetermined value.
JP2011094061A 2011-04-20 2011-04-20 Pulse signal correction device and filling apparatus using the same Withdrawn JP2012227766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011094061A JP2012227766A (en) 2011-04-20 2011-04-20 Pulse signal correction device and filling apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011094061A JP2012227766A (en) 2011-04-20 2011-04-20 Pulse signal correction device and filling apparatus using the same

Publications (1)

Publication Number Publication Date
JP2012227766A true JP2012227766A (en) 2012-11-15

Family

ID=47277468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011094061A Withdrawn JP2012227766A (en) 2011-04-20 2011-04-20 Pulse signal correction device and filling apparatus using the same

Country Status (1)

Country Link
JP (1) JP2012227766A (en)

Similar Documents

Publication Publication Date Title
US7337084B2 (en) Switch-activated zero checking feature for a Coriolis flowmeter
US9086309B2 (en) Method and device for calibrating measuring transducers of ultrasonic flow meters
CN101761436A (en) Method for measuring the instantaneous flow rate of an injector for gaseous fuels
JP2009526995A (en) Multiphase overreading correction in process variable transmitters
JP2013088946A (en) Flow control device, and diagnosis device and diagnosis program used for flow control device
US10606228B2 (en) Measurement transducer having a monitoring function
JP2014092467A (en) Flow rate measurement device
JP4715491B2 (en) Coriolis mass flow meter
CN107148559A (en) flow verification unit
CN205015063U (en) Liquid level calibrating device and liquid level measurement system
CN101571417B (en) Calibration method of flowmeter
CN103712669A (en) Flow gauge online calibration device
CN107631773A (en) Method and flowrate measuring tool for operating flux measuring instrument
CN113167625B (en) Method for determining the flow of a flowable medium and measuring station therefor
US9389629B2 (en) Measuring arrangement for determining a measured variable and method for generating an output signal relating to the measured variable
MX2020009297A (en) Method of compensating for mass flow using known density.
JP2012227766A (en) Pulse signal correction device and filling apparatus using the same
JP5907476B2 (en) Gas filling device
JP2022544945A (en) Ultrasonic flowmeter calibration system and method
JP6566599B1 (en) Measuring method of ultrasonic flowmeter
KR20230021836A (en) Digital meter error correction method
JP2008180741A (en) Flow measuring instrument
RU2679472C1 (en) Method of measuring difference liquid and gaseous media flow rate and device for implementation thereof (options)
JP2011169776A (en) Flowmeter
JP2008215896A (en) Bidirectional prover

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140701