JP6572781B2 - Industrial value integration counting device, industrial value integration counting method, and industrial value integration counting program - Google Patents

Industrial value integration counting device, industrial value integration counting method, and industrial value integration counting program Download PDF

Info

Publication number
JP6572781B2
JP6572781B2 JP2016005729A JP2016005729A JP6572781B2 JP 6572781 B2 JP6572781 B2 JP 6572781B2 JP 2016005729 A JP2016005729 A JP 2016005729A JP 2016005729 A JP2016005729 A JP 2016005729A JP 6572781 B2 JP6572781 B2 JP 6572781B2
Authority
JP
Japan
Prior art keywords
value
fraction
type industrial
industrial value
integrated
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.)
Active
Application number
JP2016005729A
Other languages
Japanese (ja)
Other versions
JP2017126235A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2016005729A priority Critical patent/JP6572781B2/en
Publication of JP2017126235A publication Critical patent/JP2017126235A/en
Application granted granted Critical
Publication of JP6572781B2 publication Critical patent/JP6572781B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)

Description

本発明は、工業値積算カウント装置、工業値積算カウント方法、及び工業値積算カウントプログラムに関するものである。   The present invention relates to an industrial value integration counting device, an industrial value integration counting method, and an industrial value integration counting program.

従来より、電力量等の工業値を積算する工業値積算カウント装置が知られている(特許文献1参照)。従来の工業値積算カウント装置は、積算メータから出力されたパルス信号の数を積算するパルス積算カウント装置の前回の処理における積算値と今回の処理における積算値との差分値に所定パルス信号数当たりの重みを乗算する。そして、従来の工業値積算カウント装置は、乗算値に前回の処理における実数型の工業値の積算値を加算することにより、所定周期毎に実数型の工業値の積算値を算出する。   2. Description of the Related Art Conventionally, an industrial value integration counting device that integrates industrial values such as electric energy is known (see Patent Document 1). The conventional industrial value integration counting device is based on the difference value between the integration value in the previous processing and the integration value in the current processing of the pulse integration counting device that integrates the number of pulse signals output from the integration meter per predetermined number of pulse signals. Multiply the weight of. Then, the conventional industrial value integration counting device calculates the integrated value of the real type industrial value every predetermined period by adding the integrated value of the real type industrial value in the previous process to the multiplication value.

特開平8−223029号公報JP-A-8-2223029

作表ソフトウェアを用いて工業値積算カウント装置によって算出された工業値の積算値の差分値を帳票に出力する場合、差分値の出力精度以下の端数が四捨五入されて出力される。例えば差分値が0.433333であり、出力精度が小数点以下1桁に設定されている場合、差分値は0.4と表示される。結果、出力精度以下の端数が積み上げられることによって、例えば図5に示すように、帳票に出力されている差分値を足し合わせた値が帳票に出力されている差分値の合計値と一致しないことがある。具体的には、図5に示す例では、帳票に出力されている各時刻の1分値を足し合わせた値は4.8(=0.4×12)であるが、帳票上では1分値の合計値は5.2と出力される。このような背景から、帳票に出力されている各時刻における差分値を足し合わせた値が帳票に出力されている差分値の合計値と一致しなくなることを抑制可能な技術の提供が求められていた。   When outputting the difference value of the integrated value of the industrial value calculated by the industrial value integrating counting device using the tabulation software to the form, the fractional value below the output accuracy of the differential value is rounded off and output. For example, when the difference value is 0.433333 and the output accuracy is set to one digit after the decimal point, the difference value is displayed as 0.4. As a result, as a result of accumulating fractions less than the output accuracy, for example, as shown in FIG. 5, the sum of the difference values output to the form does not match the total value of the difference values output to the form. There is. Specifically, in the example shown in FIG. 5, the value obtained by adding the one-minute values of each time output on the form is 4.8 (= 0.4 × 12), but on the form, it is 1 minute. The total value is output as 5.2. Against this background, there is a need to provide a technology that can prevent the sum of the difference values at each time output on the form from being inconsistent with the total difference value output on the form. It was.

本発明は、上記課題に鑑みてなされたものであって、その目的は、帳票に出力されている各時刻における工業値の差分値を足し合わせた値が帳票に出力されている工業値の差分値の合計値と一致しなくなることを抑制可能な工業値積算カウント装置、工業値積算カウント方法、及び工業値積算カウントプログラムを提供することにある。   The present invention has been made in view of the above problems, and the purpose thereof is to provide a difference between industrial values in which a value obtained by adding the difference values of the industrial values at each time output in the form is output in the form. It is an object of the present invention to provide an industrial value integration count device, an industrial value integration count method, and an industrial value integration count program that can suppress the coincidence with the total value of values.

上記課題を解決し、目的を達成するために、本発明に係る工業値積算カウント装置は、整数型の工業値の積算値における表示精度以下の端数を算出する端数算出手段と、前記積算値から前記端数算出手段によって算出された端数を減算し、減算値を、前記積算値を求める際に用いられた所定倍率値で除算した値を実数型の工業値の積算値として算出する実数型工業値算出手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, an industrial value integration counting device according to the present invention includes a fraction calculation means for calculating a fraction less than display accuracy in an integral value of an integer type industrial value, and the integrated value. A real type industrial value that subtracts the fraction calculated by the fraction calculation means and calculates a value obtained by dividing the subtracted value by a predetermined magnification value used when obtaining the integrated value as an integrated value of the real type industrial value. And a calculating means.

上記課題を解決し、目的を達成するために、本発明に係る工業値積算カウント方法は、整数型の工業値の積算値における表示精度以下の端数を算出し、算出された端数を前記積算値と関連付けさせて記憶手段に記憶させる端数算出ステップと、前記記憶手段に記憶されている前記積算値及び該積算値と関連付けされている前記端数を読み出し、前記積算値から前記端数を減算し、減算値を、前記積算値を求める際に用いられた所定倍率値で除算した値を実数型の工業値の積算値として算出し、算出された実数型の工業値の積算値を前記記憶手段に記憶させる実数型工業値算出ステップと、を含むことを特徴とする。   In order to solve the above problems and achieve the object, the industrial value integration counting method according to the present invention calculates a fraction less than the display accuracy in the integral value of the integer type industrial value, and calculates the calculated fraction to the integrated value. A fraction calculation step of associating and storing in the storage means, and reading the integrated value stored in the storage means and the fraction associated with the integrated value, subtracting the fraction from the integrated value, and subtracting A value obtained by dividing the value by the predetermined magnification value used when obtaining the integrated value is calculated as an integrated value of the real type industrial value, and the calculated integrated value of the real type industrial value is stored in the storage means. And a real number type industrial value calculation step.

上記課題を解決し、目的を達成するために、本発明に係る工業値積算カウントプログラムは、整数型の工業値の積算値における表示精度以下の端数を算出し、算出された端数を前記積算値と関連付けさせて記憶手段に記憶させる端数算出処理と、前記記憶手段に記憶されている前記積算値及び該積算値と関連付けされている前記端数を読み出し、前記積算値から前記端数を減算し、減算値を、前記積算値を求める際に用いられた所定倍率値で除算した値を実数型の工業値の積算値として算出し、算出された実数型の工業値の積算値を前記記憶手段に記憶させる実数型工業値算出処理と、をコンピュータに実行させることを特徴とする。   In order to solve the above-described problems and achieve the object, the industrial value integration count program according to the present invention calculates a fraction less than the display accuracy in the integral value of the integer type industrial value, and calculates the calculated fraction as the integrated value. The fraction calculation processing to be stored in the storage means in association with the storage unit, the integrated value stored in the storage means and the fraction associated with the integrated value are read, the fraction is subtracted from the integrated value, and the subtraction A value obtained by dividing the value by the predetermined magnification value used when obtaining the integrated value is calculated as an integrated value of the real type industrial value, and the calculated integrated value of the real type industrial value is stored in the storage means. And causing the computer to execute real-type industrial value calculation processing.

本発明に係る工業値積算カウント装置、工業値積算カウント方法、及び工業値積算カウントプログラムによれば、帳票に出力されている各時刻における工業値の差分値を足し合わせた値が帳票に出力されている工業値の差分値の合計値と一致しなくなることを抑制できる。   According to the industrial value integration counting device, the industrial value integration counting method, and the industrial value integration count program according to the present invention, a value obtained by adding the difference values of the industrial values at each time output to the form is output to the form. It can be suppressed that the total value of the difference values of the industrial values is not identical.

図1は、本発明の一実施形態である工業値積算カウント装置が適用される監視システムの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a monitoring system to which an industrial value integration counting apparatus according to an embodiment of the present invention is applied. 図2は、整数型工業値積算カウンタによって積算された整数型の工業値の一例を示す図である。FIG. 2 is a diagram illustrating an example of an integer type industrial value accumulated by an integer type industrial value accumulation counter. 図3は、整数型工業値積算カウンタによって積算された整数型の工業値の一例を示す図である。FIG. 3 is a diagram illustrating an example of an integer type industrial value accumulated by an integer type industrial value accumulation counter. 図4は、整数型の工業値の積算値を実数型の工業値の積算値に変換した一例を示す図である。FIG. 4 is a diagram illustrating an example in which an integral value of an integer type industrial value is converted into an integral value of a real number type industrial value. 図5は、図4に示す差分値の帳票への出力例を示す図である。FIG. 5 is a diagram showing an output example of the difference value shown in FIG. 4 to the form. 図6は、本発明の一実施形態である変換処理の流れを示すフローチャートである。FIG. 6 is a flowchart showing the flow of conversion processing according to an embodiment of the present invention. 図7は、本発明の一実施形態である変換処理によって得られた差分値の帳票への出力例を示す図である。FIG. 7 is a diagram illustrating an output example of a difference value obtained by the conversion process according to the embodiment of the present invention to a form.

以下、図面を参照して、本発明の一実施形態である工業値積算カウント装置の構成について説明する。   Hereinafter, with reference to the drawings, a configuration of an industrial value integration counting apparatus according to an embodiment of the present invention will be described.

〔監視システムの構成〕
初めに、図1を参照して、本発明の一実施形態である工業値積算カウント装置が適用される監視システムの構成について説明する。
[Configuration of the monitoring system]
First, a configuration of a monitoring system to which an industrial value integration counting device according to an embodiment of the present invention is applied will be described with reference to FIG.

図1は、本発明の一実施形態である工業値積算カウント装置が適用される監視システムの構成を示すブロック図である。図1に示すように、本発明の一実施形態である工業値積算カウント装置が適用される監視システム1は、電力量等の工業値を監視するシステムであり、積算メータ2、パルス積算カウンタ3、監視装置4、端末装置5、及び出力装置6を主な構成要素として備えている。   FIG. 1 is a block diagram showing a configuration of a monitoring system to which an industrial value integration counting apparatus according to an embodiment of the present invention is applied. As shown in FIG. 1, a monitoring system 1 to which an industrial value integrating count device according to an embodiment of the present invention is applied is a system for monitoring an industrial value such as electric energy, an integrating meter 2, a pulse integrating counter 3. The monitoring device 4, the terminal device 5, and the output device 6 are provided as main components.

積算メータ2は、工業値を積算し、積算値が所定値変化する度毎にパルス積算カウンタ3にパルス信号を出力する装置である。   The integrating meter 2 is a device that integrates industrial values and outputs a pulse signal to the pulse integrating counter 3 every time the integrated value changes by a predetermined value.

パルス積算カウンタ3は、0〜9999999等の整数範囲内でサイクリックに積算メータ2から出力されたパルス信号の数(以下、パルス数と表記)を積算する装置である。   The pulse integration counter 3 is a device that integrates the number of pulse signals cyclically output from the integration meter 2 (hereinafter referred to as the number of pulses) within an integer range of 0 to 9999999.

監視装置4は、パーソナルコンピュータやワークステーション等の情報処理装置によって構成され、整数型工業値積算カウンタ41、実数型工業値積算カウンタ42、帳票データ収集部43、及び帳票データデータベース(帳票データDB)44を備えている。実数型工業値積算カウンタ42は、本発明に係る端数算出手段及び実数型工業値算出手段として機能する。   The monitoring device 4 is constituted by an information processing device such as a personal computer or a workstation, and includes an integer type industrial value integration counter 41, a real type industrial value integration counter 42, a form data collection unit 43, and a form data database (form data DB). 44. The real number type industrial value integration counter 42 functions as a fraction calculation means and a real number type industrial value calculation means according to the present invention.

整数型工業値積算カウンタ41は、1分等の所定周期毎にパルス積算カウンタ3のカウント値を取得し、取得したカウント値を用いて整数型の工業値の積算値を算出するカウント装置である。整数型工業値積算カウンタ41の詳細な構成については後述する。整数型工業値積算カウンタ41は、回路要素によって構成してもよいし、監視装置4を構成する情報処理装置がコンピュータプログラムを実行することによって実現される機能として構成してもよい。   The integer type industrial value integration counter 41 is a counting device that acquires the count value of the pulse integration counter 3 every predetermined period such as 1 minute, and calculates the integration value of the integer type industrial value using the acquired count value. . A detailed configuration of the integer type industrial value integration counter 41 will be described later. The integer type industrial value integration counter 41 may be configured by a circuit element, or may be configured as a function realized by an information processing device configuring the monitoring device 4 executing a computer program.

実数型工業値積算カウンタ42は、1分等の所定周期毎に整数型工業値積算カウンタ41から整数型の工業値の積算値を取得し、取得した積算値を用いて実数型の工業値の積算値を算出するカウント装置である。実数型工業値積算カウンタ42の構成の詳細については後述する。実数型工業値積算カウンタ42は、回路要素によって構成してもよいし、監視装置4を構成する情報処理装置がコンピュータプログラムを実行することによって実現される機能として構成してもよい。   The real-type industrial value integration counter 42 acquires the integral value of the integer-type industrial value from the integer-type industrial value integration counter 41 every predetermined period such as 1 minute, and uses the acquired integrated value to calculate the real-type industrial value integration value. It is a counting device that calculates an integrated value. Details of the configuration of the real type industrial value integration counter 42 will be described later. The real-type industrial value integration counter 42 may be configured by a circuit element, or may be configured as a function realized by an information processing device configuring the monitoring device 4 executing a computer program.

帳票データ収集部43は、実数型工業値積算カウンタ42によって算出された実数型の工業値の積算値に関するデータを帳票データとして1分等の所定周期毎に収集し、収集した帳票データを帳票データDB44内に格納する装置である。帳票データ収集部43は、監視装置4を構成する情報処理装置がコンピュータプログラムを実行することによって実現される。   The form data collection unit 43 collects data related to the integrated value of the real type industrial value calculated by the real type industrial value integration counter 42 as the form data at a predetermined cycle such as 1 minute, and the collected form data is the form data. It is a device that stores in the DB 44. The form data collection unit 43 is realized by the information processing apparatus constituting the monitoring apparatus 4 executing a computer program.

帳票データDB44は、LAN(Local Area Network)等の電気通信回線を介して読み取り可能な形態で帳票データを格納する記憶装置である。   The form data DB 44 is a storage device that stores form data in a form that can be read through a telecommunication line such as a LAN (Local Area Network).

端末装置5は、パーソナルコンピュータ等の情報処理装置によって構成され、電気通信回線を介して監視装置4に接続されている。端末装置5には、作表ソフトウェアがインストールされている。端末装置5内の情報処理装置は、作表ソフトウェアを実行することによって、電気通信回線を介して帳票データDB44内に格納されている帳票データを読み取り、読み取られた帳票データを用いて帳票を作成する。   The terminal device 5 is configured by an information processing device such as a personal computer, and is connected to the monitoring device 4 via an electric communication line. The terminal device 5 has tabulation software installed. The information processing apparatus in the terminal device 5 reads the form data stored in the form data DB 44 via the telecommunication line by executing the table creation software, and creates the form using the read form data. To do.

出力装置6は、表示装置や印刷装置等の公知の出力装置によって構成されている。出力装置6は、端末装置5からの制御信号に従って端末装置5が作成した帳票Pを出力する。   The output device 6 is configured by a known output device such as a display device or a printing device. The output device 6 outputs a form P created by the terminal device 5 in accordance with a control signal from the terminal device 5.

〔整数型工業値積算カウンタの構成〕
次に、図2,図3を参照して、整数型工業値積算カウンタ41の構成について説明する。図2,図3は、整数型工業値積算カウンタ41によって積算された整数型の工業値の一例を示す図である。
[Configuration of integer type industrial value integration counter]
Next, the configuration of the integer industrial value integration counter 41 will be described with reference to FIGS. 2 and 3 are diagrams illustrating an example of an integer type industrial value accumulated by the integer type industrial value accumulation counter 41. FIG.

整数型工業値積算カウンタ41は、初めに、1分等の所定周期毎にパルス積算カウンタ3のカウント値を取得し、前回のカウント値と今回のカウント値との差分値を算出する。次に、整数型工業値積算カウンタ41は、内部で積算誤差を発生させないように差分値に所定倍率値を乗算する。例えば、整数型工業値積算カウンタ41は、1000000倍値を所定倍率値として差分値に乗算する。これにより、差分値が0.000001である場合、乗算値は整数値の1となり、積算誤差が作られることを抑制できる。次に、整数型工業値積算カウンタ41は、乗算値を工業値に変換するためのパルスの重みを乗算値に乗算することによって工業値の差分値を算出する。そして、整数型工業値積算カウンタ41は、算出された差分値を前回の処理までの積分値に加算することによって、工業値の積算値を算出し、算出された積算値をメモリ等の記憶手段に記憶させる。例えばカウント値が1分当たり13カウントずつ増加し、所定倍率値が1000000に設定され、パルスの重みが30パルス数で規定されている場合、1分毎の工業値の積算値は図2に示すように算出される。すなわち、工業値の積算値は1分当たり13×1000000/30ずつ加算されていく。なお、パルスの重みを規定するパルス信号数は、1パルス信号当たりではなく、30パルスで1立米等、工業値変換後の単位に基づいて決められる。   The integer type industrial value integration counter 41 first acquires the count value of the pulse integration counter 3 every predetermined period such as 1 minute, and calculates the difference value between the previous count value and the current count value. Next, the integer type industrial value integration counter 41 multiplies the difference value by a predetermined magnification value so as not to generate an integration error internally. For example, the integer type industrial value integration counter 41 multiplies the difference value by using a value of 1,000,000 times as a predetermined magnification value. Thereby, when the difference value is 0.000001, the multiplication value becomes an integer value of 1, and it is possible to suppress the generation of an integration error. Next, the integer type industrial value integration counter 41 calculates the difference value of the industrial value by multiplying the multiplication value by the weight of the pulse for converting the multiplication value into the industrial value. And the integer type industrial value integration counter 41 calculates the integrated value of the industrial value by adding the calculated difference value to the integrated value until the previous processing, and the calculated integrated value is stored in a storage means such as a memory. Remember me. For example, when the count value is increased by 13 counts per minute, the predetermined magnification value is set to 1000000, and the pulse weight is defined by the number of 30 pulses, the integrated value of industrial values per minute is shown in FIG. Is calculated as follows. That is, the integrated value of the industrial value is added by 13 × 1000000/30 per minute. Note that the number of pulse signals that define the weight of the pulse is determined not based on one pulse signal but on the basis of the unit after industrial value conversion, such as 30 sq.

ここで、所定倍率値を乗算しても乗算値に小数点以下の端数が発生した場合、その端数が切り捨てられるために積算誤差が発生する。具体的には、図2に示す例では、小数点以下の端数が切り捨てられているために、本来は積算値が1300000と算出されるべき所、積算値が1299999と算出されている。そこで、所定倍率値を乗算しても乗算値に小数点以下の数字が発生する場合、整数型工業値積算カウンタ41は、小数点以下の端数を記憶し、端数を次回の処理に持ち越しながら工業値の積算値を算出する。具体的には、整数型工業値積算カウンタ41は、以下に示す式(1)を用いて今回の処理におけるパルス数の端数(今回パルス端数)を算出すると共に、以下に示す式(2)を用いて今回の処理において積算値に加算する工業値(今回加算整数値)を算出する。そして、整数型工業値積算カウンタ41は、以下に示す式(3)を用いて工業値の積算値を算出し、以下に示す式(4)を用いて前回の処理におけるパルス端数(前回パルス端数)の値を今回パルス端数の値に置き換える。ここで、式(1)におけるMod(X,Y)は、パラメータXをパラメータYで除算した時の剰余を演算する演算子を示している。これにより、図3に示すように工業値に積算誤差が発生することを抑制できる。   Here, even if multiplication is performed by a predetermined magnification value, if a fractional part is generated in the multiplication value, the fraction is rounded down and an integration error occurs. Specifically, in the example illustrated in FIG. 2, since the fractional part is rounded down, the integrated value is calculated as 1299999 where the integrated value should be calculated as 1300000 originally. Therefore, when a number after the decimal point is generated in the multiplication value even after multiplying by a predetermined magnification value, the integer type industrial value integration counter 41 stores the fractional part after the decimal point and stores the fractional value of the industrial value while carrying over the fraction to the next processing. Calculate the integrated value. Specifically, the integer type industrial value integration counter 41 calculates the fraction of the number of pulses in the current process (current pulse fraction) using the following formula (1), and the following formula (2): It is used to calculate an industrial value (currently added integer value) to be added to the integrated value in the current process. Then, the integer type industrial value integration counter 41 calculates the integrated value of the industrial value using the following equation (3), and uses the following equation (4) to calculate the pulse fraction (previous pulse fraction) in the previous process. ) Value is replaced with the current pulse fraction value. Here, Mod (X, Y) in Expression (1) indicates an operator that calculates a remainder when the parameter X is divided by the parameter Y. Thereby, as shown in FIG. 3, it can suppress that an integration error generate | occur | produces in an industrial value.

Figure 0006572781
Figure 0006572781
Figure 0006572781
Figure 0006572781
Figure 0006572781
Figure 0006572781
Figure 0006572781
Figure 0006572781

なお、整数型工業値積算カウンタ41によって算出される工業値の積算値には上限値(積算最大値)が設けられ、工業値の積算値が積算最大値に到達した場合、整数型工業値積算カウンタ41は、以下の式(5)に示すように工業値の積算値を0にリセットした後に再び工業値の積算を開始する。   The integrated value of the industrial value calculated by the integer type industrial value integration counter 41 is provided with an upper limit value (maximum integrated value), and when the integrated value of the industrial value reaches the integrated maximum value, the integral type industrial value integration is performed. The counter 41 resets the integrated value of the industrial value to 0 as shown in the following formula (5), and then starts the integration of the industrial value again.

Figure 0006572781
Figure 0006572781

〔実数型工業値積算カウンタの構成〕
次に、図4〜図7を参照して、実数型工業値積算カウンタ42の構成について説明する。図4は、整数型の工業値の積算値を実数型の工業値の積算値に変換した一例を示す図である。図5は、図4に示す差分値の帳票出力の一例を示す図である。図6は、本発明の一実施形態である変換処理の流れを示すフローチャートである。図7は、本発明の一実施形態である変換処理によって得られた差分値の帳票出力の一例を示す図である。
[Configuration of Real Type Industrial Value Integration Counter]
Next, the configuration of the real-type industrial value integration counter 42 will be described with reference to FIGS. FIG. 4 is a diagram illustrating an example in which an integral value of an integer type industrial value is converted into an integral value of a real number type industrial value. FIG. 5 is a diagram illustrating an example of the form output of the difference value illustrated in FIG. FIG. 6 is a flowchart showing the flow of conversion processing according to an embodiment of the present invention. FIG. 7 is a diagram illustrating an example of a form output of the difference value obtained by the conversion process according to the embodiment of the present invention.

図4に示すように、所定倍率値を1000000倍として整数型工業値積算カウンタ41によって算出された工業値の積算値を1000000で割ることによって、単純に整数型の工業値の積算値(以下、整数型積算値と表記)を実数型の工業値の積算値(以下、実数型積算値と表記)に変換し、所定周期毎(本例では1分毎)の実数型積算値の差分値を算出する。そして、作表ソフトウェアを用いて所定周期毎の実数型積算値の差分値の帳票を作成し、差分値の表示精度を小数点以下1桁とすると、図5に示すように、各時刻における差分値を足し合わせた値が帳票に表示されている差分値の合計値と合わなくなる。具体的には、図5に示す例では、各時刻における1分値を足し合わせた値は4.8(=0.4×12)であるが、帳票上では1分値の合計値は5.2と出力される。これは、整数型積算値をそのまま実数型積算値に変換しても、帳票上では表示精度以下の端数が隠れてしまうためである。   As shown in FIG. 4, by multiplying the industrial value integrated value calculated by the integer industrial value integration counter 41 by 1,000,000 by multiplying the predetermined magnification value by 1,000,000 times, the integral value of the integer type industrial value (hereinafter, Convert the integral value of the integral type) into an integral value of the industrial value of the real type (hereinafter referred to as the integral value of the real number), and calculate the difference value of the integral value of the real number every predetermined period (in this example, every minute). calculate. Then, using a table creation software, create a difference value form for a real-type integrated value for each predetermined period, and if the display accuracy of the difference value is one digit after the decimal point, as shown in FIG. The sum of the values will not match the total difference value displayed on the form. Specifically, in the example shown in FIG. 5, the value obtained by adding the one-minute values at each time is 4.8 (= 0.4 × 12), but the total value of the one-minute values is 5 on the form. .2 is output. This is because even if the integer-type integrated value is directly converted to the real-type integrated value, a fraction less than the display accuracy is hidden on the form.

そこで、実数型工業値積算カウンタ42は、以下に示す変換処理を実行することによって、各時刻における実数型積算値の差分値を足し合わせた値が帳票Pに出力されている差分値の合計値と一致しなくなることを抑制する。以下、図6に示すフローチャートを参照して、変換処理を実行する際の実数型工業値積算カウンタ42の動作について説明する。   Therefore, the real-type industrial value integration counter 42 executes the following conversion process, thereby adding the difference values of the real-type integration values at each time to the total value of the difference values output to the form P. It is suppressed that it does not correspond with. Hereinafter, the operation of the real number type industrial value integration counter 42 when executing the conversion process will be described with reference to the flowchart shown in FIG.

図6に示すフローチャートは、監視装置4の電源がオンになったタイミングで開始となり、変換処理はステップS1の処理に進む。変換処理は、監視装置4の電源がオンになっている間、所定の制御周期毎に繰り返し実行される。   The flowchart shown in FIG. 6 starts when the power of the monitoring device 4 is turned on, and the conversion process proceeds to step S1. The conversion process is repeatedly executed every predetermined control period while the power of the monitoring device 4 is on.

ステップS1の処理では、実数型工業値積算カウンタ42が、メモリ等の記憶手段に記憶されている整数型積算値を取得する。これにより、ステップS1の処理は完了し、変換処理はステップS2の処理に進む。   In the process of step S1, the real type industrial value integration counter 42 acquires an integer type integration value stored in a storage means such as a memory. Thereby, the process of step S1 is completed and a conversion process progresses to the process of step S2.

ステップS2の処理では、実数型工業値積算カウンタ42が、ステップS1の処理において取得した整数型積算値における表示精度以下の端数を算出する。具体的には、整数型積算値を求める際に用いられた所定倍率値が1000000である場合、表示精度をDIGITとすると、表示精度以下の端数(表示精度端数)は以下に示す式(6)によって算出される。そして、実数型工業値積算カウンタ42は、算出された表示精度の端数を整数型積算値と関連付けさせてメモリ等の記憶手段に記憶させる。なお、式(6)において、Power(X,Y)はパラメータXのY乗を演算する演算子を示している。これにより、ステップS2の処理は完了し、変換処理はステップS3の処理に進む。   In the process of step S2, the real number type industrial value integration counter 42 calculates a fraction less than the display accuracy in the integer type integration value acquired in the process of step S1. Specifically, when the predetermined magnification value used when obtaining the integral type integrated value is 1000000, when the display accuracy is DIGIT, the fraction less than the display accuracy (display accuracy fraction) is expressed by the following equation (6): Is calculated by Then, the real type industrial value integration counter 42 associates the calculated fraction of display accuracy with the integer type integration value and stores it in storage means such as a memory. In Expression (6), Power (X, Y) represents an operator that calculates the X power of the parameter X. Thereby, the process of step S2 is completed and the conversion process proceeds to the process of step S3.

Figure 0006572781
Figure 0006572781

ステップS3の処理では、実数型工業値積算カウンタ42が、メモリ等の記憶手段から整数型積算値と整数型積算値に関連付けされている表示精度以下の端数を読み出し、整数型工業値から表示精度以下の端数を減算する。すなわち、実数型工業値積算カウンタ42は、整数型積算値の表示精度以下の端数を切り下げる。そして、実数型工業値積算カウンタ42は、減算値を、整数型積算値を求める際に用いられた所定倍率値で除算した値を実数型工業値として算出し、算出された整数型工業値をメモリ等の記憶手段に記憶させる。具体的には、実数型工業値積算カウンタ42は、以下に示す式(7)を用いて実数型積算値を算出する。この処理によれば、図5に示す帳票は図7に示す帳票のように変更される。すなわち、図7に示す帳票における差分値では、表示精度以下の端数が繰り上がり、所々で値0.1が加算されて差分値が0.5になっている。結果、各時刻における差分値を足し合わせた値は5.2(=0.4×8+0.5×4)となり、帳票上の差分値の合計値と一致する。これにより、ステップS3の処理は完了し、一連の変換処理は終了する。   In step S3, the real type industrial value integration counter 42 reads the integer type integrated value and the fraction less than the display accuracy associated with the integer type integrated value from the storage means such as a memory, and displays the display accuracy from the integer type industrial value. Subtract the following fractions: That is, the real type industrial value integration counter 42 rounds down a fraction less than the display accuracy of the integer type integration value. Then, the real type industrial value integration counter 42 calculates a value obtained by dividing the subtracted value by the predetermined magnification value used when obtaining the integer type integrated value as a real type industrial value, and calculates the calculated integer type industrial value. It is stored in a storage means such as a memory. Specifically, the real type industrial value integration counter 42 calculates a real type integration value using the following equation (7). According to this processing, the form shown in FIG. 5 is changed to the form shown in FIG. That is, in the difference value in the form shown in FIG. 7, a fraction less than the display accuracy is raised, and a value of 0.1 is added in some places, resulting in a difference value of 0.5. As a result, the sum of the difference values at each time is 5.2 (= 0.4 × 8 + 0.5 × 4), which matches the total value of the difference values on the form. Thereby, the process of step S3 is completed and a series of conversion processes are complete | finished.

Figure 0006572781
Figure 0006572781

以上の説明から明らかなように、本発明の一実施形態である変換処理では、実数型工業値積算カウンタ42が、整数型の工業値の積算値における表示精度以下の端数を算出し、整数型の工業値の積算値から表示精度以下の端数を減算し、減算値を、整数型の工業値の積算値を求める際に用いられた所定倍率値で除算した値を実数型の工業値の積算値として算出するので、帳票に出力されている各時刻における工業値の差分値を足し合わせた値が帳票に出力されている工業値の差分値の合計値と一致しなくなることを抑制できる。   As is clear from the above description, in the conversion process according to an embodiment of the present invention, the real type industrial value integration counter 42 calculates a fraction less than the display accuracy in the integrated value of the integer type industrial value, Subtract a fraction less than the display accuracy from the integrated value of the industrial value of, and divide the subtracted value by the specified magnification value used when calculating the integrated value of the integer type industrial value. Since the value is calculated as a value, it is possible to suppress that the sum of the difference values of the industrial values at each time output on the form does not coincide with the total value of the difference values of the industrial values output on the form.

以上、本発明を適用した実施の形態について説明したが、本実施形態による本発明の開示の一部をなす記述及び図面により本発明は限定されることはない。すなわち、本実施形態に基づいて当業者等によりなされる他の実施の形態、実施例及び運用技術等は全て本発明の範疇に含まれる。   The embodiment to which the present invention is applied has been described above, but the present invention is not limited by the description and the drawings that form part of the disclosure of the present invention according to the present embodiment. That is, other embodiments, examples, operational techniques, and the like made by those skilled in the art based on the present embodiment are all included in the scope of the present invention.

1 監視システム
2 積算メータ
3 パルス積算カウンタ
4 監視装置
5 端末装置
6 出力装置
41 整数型工業値積算カウンタ
42 実数型工業値積算カウンタ
43 帳票データ収集部
44 帳票データデータベース(帳票データDB)
DESCRIPTION OF SYMBOLS 1 Monitoring system 2 Accumulation meter 3 Pulse integration counter 4 Monitoring apparatus 5 Terminal device 6 Output device 41 Integer type industrial value integration counter 42 Real number type industrial value integration counter 43 Form data collection part 44 Form data database (form data DB)

Claims (3)

前回のカウント値と今回のカウント値との差分値に所定倍率値を乗算することにより整数型の工業値の積算値を算出すると共に、乗算値に小数点以下の数字が発生する場合、小数点以下の端数を記憶し、該端数を次回の処理に持ち越しながら整数型の工業値の積算値を算出する算出手段と、
整数型の工業値の積算値における表示精度以下の端数を算出する端数算出手段と、
前記積算値から前記端数算出手段によって算出された端数を減算し、減算値を、前記積算値を求める際に用いられた所定倍率値で除算した値を実数型の工業値の積算値として算出する実数型工業値算出手段と、
を備えることを特徴とする工業値積算カウント装置。
Multiply the difference value between the previous count value and the current count value by a predetermined magnification value to calculate the integral value of the integer type industrial value. Calculating means for storing a fraction and calculating an integral value of an integer type industrial value while carrying the fraction to the next processing;
Fraction calculation means for calculating a fraction less than the display accuracy in the integral value of the integer type industrial value;
Subtract the fraction calculated by the fraction calculation means from the integrated value, and calculate the value obtained by dividing the subtracted value by the predetermined magnification value used when obtaining the integrated value as the integrated value of the real type industrial value Real number type industrial value calculation means,
An industrial value integration counting device comprising:
前回のカウント値と今回のカウント値との差分値に所定倍率値を乗算することにより整数型の工業値の積算値を算出すると共に、乗算値に小数点以下の数字が発生する場合、小数点以下の端数を記憶し、該端数を次回の処理に持ち越しながら整数型の工業値の積算値を算出する算出ステップと、
整数型の工業値の積算値における表示精度以下の端数を算出し、算出された端数を前記積算値と関連付けさせて記憶手段に記憶させる端数算出ステップと、
前記記憶手段に記憶されている前記積算値及び該積算値と関連付けされている前記端数を読み出し、前記積算値から前記端数を減算し、減算値を、前記積算値を求める際に用いられた所定倍率値で除算した値を実数型の工業値の積算値として算出し、算出された実数型の工業値の積算値を前記記憶手段に記憶させる実数型工業値算出ステップと、
を含むことを特徴とする工業値積算カウント方法。
Multiply the difference value between the previous count value and the current count value by a predetermined magnification value to calculate the integral value of the integer type industrial value. A calculation step of storing a fraction and calculating an integral value of an integer type industrial value while carrying the fraction to the next process;
A fraction calculation step of calculating a fraction less than the display accuracy in the integrated value of the integer type industrial value, and storing the calculated fraction in association with the integrated value in a storage unit;
The integrated value stored in the storage means and the fraction associated with the integrated value are read out, the fraction is subtracted from the integrated value, and the subtracted value is a predetermined value used when obtaining the integrated value. A real number type industrial value calculating step of calculating a value obtained by dividing the magnification value as an integrated value of the real number type industrial value, and storing the calculated integrated value of the real number type industrial value in the storage unit;
An industrial value integration counting method characterized by comprising:
前回のカウント値と今回のカウント値との差分値に所定倍率値を乗算することにより整数型の工業値の積算値を算出すると共に、乗算値に小数点以下の数字が発生する場合、小数点以下の端数を記憶し、該端数を次回の処理に持ち越しながら整数型の工業値の積算値を算出する算出処理と、
整数型の工業値の積算値における表示精度以下の端数を算出し、算出された端数を前記積算値と関連付けさせて記憶手段に記憶させる端数算出処理と、
前記記憶手段に記憶されている前記積算値及び該積算値と関連付けされている前記端数を読み出し、前記積算値から前記端数を減算し、減算値を、前記積算値を求める際に用いられた所定倍率値で除算した値を実数型の工業値の積算値として算出し、算出された実数型の工業値の積算値を前記記憶手段に記憶させる実数型工業値算出処理と、
をコンピュータに実行させることを特徴とする工業値積算カウントプログラム。
Multiply the difference value between the previous count value and the current count value by a predetermined magnification value to calculate the integral value of the integer type industrial value. A calculation process for storing a fraction and calculating an integral value of an integer type industrial value while carrying the fraction to the next process;
A fraction calculation process for calculating a fraction below the display accuracy in the integrated value of the integer type industrial value, and storing the calculated fraction in association with the integrated value in a storage unit;
The integrated value stored in the storage means and the fraction associated with the integrated value are read out, the fraction is subtracted from the integrated value, and the subtracted value is a predetermined value used when obtaining the integrated value. A real value type industrial value calculation process for calculating a value obtained by dividing the magnification value as an integrated value of the real number type industrial value, and storing the calculated real number type industrial value integrated value in the storage unit;
An industrial value integration counting program characterized by causing a computer to execute.
JP2016005729A 2016-01-15 2016-01-15 Industrial value integration counting device, industrial value integration counting method, and industrial value integration counting program Active JP6572781B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016005729A JP6572781B2 (en) 2016-01-15 2016-01-15 Industrial value integration counting device, industrial value integration counting method, and industrial value integration counting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016005729A JP6572781B2 (en) 2016-01-15 2016-01-15 Industrial value integration counting device, industrial value integration counting method, and industrial value integration counting program

Publications (2)

Publication Number Publication Date
JP2017126235A JP2017126235A (en) 2017-07-20
JP6572781B2 true JP6572781B2 (en) 2019-09-11

Family

ID=59365488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016005729A Active JP6572781B2 (en) 2016-01-15 2016-01-15 Industrial value integration counting device, industrial value integration counting method, and industrial value integration counting program

Country Status (1)

Country Link
JP (1) JP6572781B2 (en)

Also Published As

Publication number Publication date
JP2017126235A (en) 2017-07-20

Similar Documents

Publication Publication Date Title
US8655612B2 (en) Battery model identification method
CN108847994A (en) Alarm localization method, device, equipment and storage medium based on data analysis
CN107357764B (en) Data analysis method, electronic device, and computer storage medium
JP5523588B2 (en) Analog input unit and programmable controller
CN104598551B (en) A kind of data statistical approach and device
CN102879641A (en) Frequency measurement method and system
CN104502675B (en) Fundamental wave amplitude method and system of power signal
JP2016045917A (en) Device for tendency extraction and evaluation of time series data
EP3037831A1 (en) A system and a method for measuring power quality
CN109870172B (en) Step counting detection method, device, equipment and storage medium
JP6572781B2 (en) Industrial value integration counting device, industrial value integration counting method, and industrial value integration counting program
CN107181601B (en) Flow reminding method and device
CN102567340B (en) A kind of method and device filtering micro-blog information
CN109361377B (en) Filtering method and device of filter, filter and storage medium
JP4413883B2 (en) Sampling frequency converter
CN110968938B (en) Ideal switch process analysis method and system for electromagnetic transient simulation
CN105653238B (en) A kind of clocking method and device
CN113343458B (en) Engine sensor selection method and device, electronic equipment and storage medium
KR20130108666A (en) Transient recovery voltage measuring device, transient recovery voltage measuring method, and transient recovery voltage measuring program
CN107016217B (en) Method and system for calculating sampling filter current value
CN100427958C (en) Agitating measuring device and measuring method
JP2014014208A (en) Ground directional relay
CN108170713A (en) The method, apparatus and storage medium and electronic equipment of data displaying
CN115544323B (en) Method and device for determining phase of electric energy meter and electronic equipment
CN116091263B (en) Theoretical power calculation method of photovoltaic power station and related equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190507

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190625

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190716

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190729

R150 Certificate of patent or registration of utility model

Ref document number: 6572781

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250