JP2012132746A - Data logger, measurement processing method of data logger and program - Google Patents

Data logger, measurement processing method of data logger and program Download PDF

Info

Publication number
JP2012132746A
JP2012132746A JP2010284173A JP2010284173A JP2012132746A JP 2012132746 A JP2012132746 A JP 2012132746A JP 2010284173 A JP2010284173 A JP 2010284173A JP 2010284173 A JP2010284173 A JP 2010284173A JP 2012132746 A JP2012132746 A JP 2012132746A
Authority
JP
Japan
Prior art keywords
measurement
comparison data
time
value
previous
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
JP2010284173A
Other languages
Japanese (ja)
Inventor
Kentaro Yamazaki
健太郎 山崎
Atsushi Ogasawara
温 小笠原
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2010284173A priority Critical patent/JP2012132746A/en
Publication of JP2012132746A publication Critical patent/JP2012132746A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Recording Measured Values (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data logger that can make a highly reliable calculation of the time during which an object is placed in an improper environment.SOLUTION: A data logger comprises: threshold comparison means that compares a measurement value obtained by measuring an object to be measured at a predetermined timing with a threshold and outputs comparison data as the comparison result; previous comparison data storage means that stores previous comparison data being comparison data obtained in the measurement immediately previous to the ongoing measurement of the measurement value; control means that generates an execution request for calculating an improper time according to the combination of the comparison data and the previous comparison data and updates the storage contents of the previous comparison data storage means by setting the comparison data as the previous comparison data; and improper time calculation means that calculates, according to the execution request, the sum of improper times that are the time during which the object to be measured was placed out of a proper environment.

Description

本発明はデータロガー、データロガーの計測処理方法およびプログラムに関し、特に、信頼性の高いデータを算出することが可能なデータロガー、データロガーのデータ計測処理方法およびプログラムに関する。   The present invention relates to a data logger, a data logger measurement processing method, and a program, and more particularly to a data logger capable of calculating highly reliable data, a data logger data measurement processing method, and a program.

環境計測や物品の品質管理などにおいて、データロガーが利用されている。データロガーは、監視対象に関するデータをセンサなどで計測し、そのデータを保存する計測機器である。データロガーは、例えば、RFIDなどである。   Data loggers are used in environmental measurement and quality control of goods. The data logger is a measuring device that measures data related to a monitoring target with a sensor or the like and stores the data. The data logger is, for example, RFID.

例えば、温度を取得するデータロガー(温度ロガー)は、生鮮食品や、冷凍食品が予め定められた管理温度で輸送されているか否かを確認する場合に利用される。   For example, a data logger (temperature logger) for acquiring temperature is used when checking whether fresh food or frozen food is being transported at a predetermined management temperature.

このようなデータロガーによる対象物の管理が行われる際に、輸送品質を数値化するために、予め定められた管理温度外の環境に置かれていた時間の取得が必要とされる。   When the object is managed by such a data logger, it is necessary to obtain the time spent in an environment outside a predetermined management temperature in order to quantify the transport quality.

データロガーで取得したデータをPCに転送し、解析を行うのは容易であるが、データロガーに記憶されたすべての計測データを転送するのは時間がかかる。また非常に小型のRFIDタグの中には十分な記憶装置を持たないものも存在する。   Although it is easy to transfer the data acquired by the data logger to the PC for analysis, it takes time to transfer all the measurement data stored in the data logger. Some very small RFID tags do not have enough storage.

実際の運用では、データロガーからPCへのデータ転送は、計測対象物を搬送するベルトコンベア上の読み取りゲートなどで行われる。そのため、データの転送は、読み取りゲートを通過する僅かな間に終えなければならない。この間にすべての計測データを転送するのは非常に困難である。そのため、予めデータロガーで計測データの要約を作成し、要約のみを転送することが考えられている。   In actual operation, data transfer from the data logger to the PC is performed by a reading gate on the belt conveyor that conveys the measurement target. For this reason, the transfer of data must be completed shortly after passing through the read gate. It is very difficult to transfer all measurement data during this time. For this reason, it is considered that a summary of measurement data is created in advance by a data logger and only the summary is transferred.

特許文献1は、管理温度外の環境に置かれていたことを検出し、要約を作成できるデータロガーを開示する。   Patent Document 1 discloses a data logger that can detect that the user is placed in an environment outside the control temperature and create a summary.

このデータロガーは、予め定められた設定値を上回ったときの値や時刻を所定の記憶領域に格納する。このようなデータロガーを用いることによって、計測の対象物が管理温度外の環境に置かれていた時間を取得することが可能である。   This data logger stores a value and time when a predetermined set value is exceeded in a predetermined storage area. By using such a data logger, it is possible to acquire the time during which the measurement object has been placed in an environment outside the control temperature.

特開平03−131722JP 03-131722 特開2006−052928JP 2006-052928 A 特開2008−227711JP2008-227711

しかしながら特許文献1に記載のデータロガーは、計測の対象物が適正外環境に置かれた時間の算出について正確性に欠け、信頼性が高い算出ができるとは言えなかった。   However, the data logger described in Patent Literature 1 lacks accuracy in calculating the time during which the measurement target is placed in an environment outside the proper environment, and cannot be said to be able to perform calculation with high reliability.

なぜならば、特許文献1に記載のデータロガーは、適正外環境に置かれた時間の算出のために行う計測毎の処理を、一時点の測定値のみを利用して行っているためである。   This is because the data logger described in Patent Document 1 performs the process for each measurement performed for calculating the time spent in the environment outside the proper environment using only the measurement value at the temporary point.

以上より本発明の目的は、対象物が適正外環境に置かれた時間についての信頼性の高い算出が可能なデータロガーを提供することにある。   As described above, an object of the present invention is to provide a data logger capable of calculating with high reliability with respect to a time when an object is placed in an environment outside a proper environment.

上記目的を達成するため、本発明のデータロガーは、計測対象を所定のタイミングで計測することにより取得される計測値と閾値とを比較し、比較結果として比較データを出力する閾値比較部と、計測値の計測時の一つ前の計測時の比較データである前回比較データを記憶する前回比較データ記憶部と、比較データと前回比較データの組み合わせに応じた適正外時間を算出するための実行要求を発生し、比較データを前回比較データとして前回比較データ記憶部の記憶内容を更新する制御部と、実行要求に基づいて、計測対象が適正外の環境に置かれていた時間である適正外時間の合計を算出する適正外時間計算部と、を含む。   In order to achieve the above object, the data logger of the present invention compares a measurement value acquired by measuring a measurement target at a predetermined timing with a threshold value, and outputs a comparison data as a comparison result, The previous comparison data storage unit that stores the previous comparison data, which is the comparison data at the time of the previous measurement at the time of measurement value measurement, and the execution for calculating the appropriate overtime according to the combination of the comparison data and the previous comparison data A control unit that generates a request and uses the comparison data as the previous comparison data to update the storage contents of the previous comparison data storage unit, and the time that the measurement target has been placed in an inappropriate environment based on the execution request. And a non-appropriate overtime calculator that calculates the total time.

上記目的を達成するため、本発明のデータロガーの計測処理方法は、計測対象を所定のタイミングで計測することにより取得される計測値と閾値とを比較し、比較結果として比較データを出力し、計測値の計測時の一つ前の計測時の比較データである前回比較データを記憶し、比較データと前回比較データの組み合わせに応じた適正外時間を算出するための実行要求を発生し、比較データを前回比較データとして記憶の内容を更新し、実行要求に基づいて、計測対象が適正外の環境に置かれていた時間である適正外時間の合計を算出する。   In order to achieve the above object, the data logger measurement processing method of the present invention compares a measurement value obtained by measuring a measurement target at a predetermined timing with a threshold value, and outputs comparison data as a comparison result. Stores the previous comparison data, which is the comparison data of the previous measurement at the time of measurement value measurement, and generates an execution request to calculate the appropriate overtime according to the combination of the comparison data and the previous comparison data. The contents of the storage are updated using the data as the previous comparison data, and the total appropriate outside time, which is the time during which the measurement target has been placed in the inappropriate environment, is calculated based on the execution request.

上記目的を達成するため、本発明のプログラムは、コンピュータに、計測対象を所定のタイミングで計測することにより取得される計測値と閾値とを比較し、比較結果として比較データを出力し、計測値の計測時の一つ前の計測時の比較データである前回比較データを記憶し、比較データと前回比較データの組み合わせに応じた適正外時間を算出するための実行要求を発生し、比較データを前回比較データとして前記記憶の内容を更新し、実行要求に基づいて、計測対象が適正外の環境に置かれていた時間である適正外時間の合計を算出する、処理を実行させる。   In order to achieve the above object, the program of the present invention compares a measured value acquired by measuring a measurement target at a predetermined timing with a threshold value, outputs comparison data as a comparison result, and measures the measured value. The previous comparison data, which is the comparison data of the previous measurement at the time of the previous measurement, is stored, an execution request is generated to calculate an inappropriate time according to the combination of the comparison data and the previous comparison data, and the comparison data is The content of the storage is updated as the previous comparison data, and a process of calculating the total of the proper outside time, which is the time during which the measurement target has been placed in the outside environment, is executed based on the execution request.

本発明のデータロガー、データロガーの計測処理方法およびプログラムによれば、対象物が適正外環境に置かれた時間についての信頼性の高い算出が可能となる。   According to the data logger, the data logger measurement processing method, and the program of the present invention, it is possible to perform highly reliable calculation regarding the time when the object is placed in an appropriate environment.

その理由は、今回の計測の比較データだけではなく、前回の計測の比較データである前回比較データを利用して実行する処理を選択できるためである。   The reason is that not only the comparison data of the current measurement but also the process to be executed using the previous comparison data that is the comparison data of the previous measurement can be selected.

本発明の第1実施形態に係るデータロガー100の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the data logger 100 which concerns on 1st Embodiment of this invention. 計測部101の出力する計測データの一例を示す図である。It is a figure which shows an example of the measurement data which the measurement part 101 outputs. 閾値記憶部102で記憶する閾値の一例を示す図である。It is a figure which shows an example of the threshold value memorize | stored in the threshold value memory | storage part. 閾値比較部103の出力する比較データの例を示した図である。It is the figure which showed the example of the comparison data which the threshold value comparison part 103 outputs. 前回比較データ記憶部104で記憶する前回比較データの例を示した図である。It is the figure which showed the example of the last comparison data memorize | stored in the last comparison data memory | storage part. 第1実施形態における制御部105での処理の選択方法を示した図である。It is the figure which showed the selection method of the process in the control part 105 in 1st Embodiment. 本実施形態において計測間隔加算処理を実行する理由について説明するための図である。It is a figure for demonstrating the reason for performing a measurement interval addition process in this embodiment. 第1実施形態に係るデータロガー100が計測毎に実行する動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation | movement which the data logger 100 which concerns on 1st Embodiment performs for every measurement. 比較データ取得ステップにおいて比較データを求める処理の例を示すフローチャート図である。It is a flowchart figure which shows the example of the process which calculates | requires comparison data in a comparison data acquisition step. 選択ステップと実行ステップの動作の詳細を示すフローチャート図である。It is a flowchart figure which shows the detail of operation | movement of a selection step and an execution step. 本発明の第2実施形態に係るデータロガー200の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the data logger 200 which concerns on 2nd Embodiment of this invention. 閾値比較部201の出力する比較データの例を示した図である。6 is a diagram illustrating an example of comparison data output by a threshold comparison unit 201. FIG. 第2実施形態における制御部203での処理の選択方法を示した図である。It is the figure which showed the selection method of the process in the control part 203 in 2nd Embodiment. 計測データの例を示した図である。It is the figure which showed the example of measurement data. 上限以上時間加算処理を行う理由について説明するための図である。It is a figure for demonstrating the reason for performing time addition processing more than an upper limit. 第2実施形態の比較データ取得ステップにおいて比較データを求める処理の例を示すフローチャート図である。It is a flowchart figure which shows the example of the process which calculates | requires comparison data in the comparison data acquisition step of 2nd Embodiment. 第2実施形態における選択ステップと実行ステップの動作の詳細を示すフローチャート図である。It is a flowchart figure which shows the detail of operation | movement of the selection step and execution step in 2nd Embodiment. 本発明の第3実施形態に係るデータロガー300の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the data logger 300 which concerns on 3rd Embodiment of this invention. 本発明の各実施形態に係るデータロガーのハードウェア構成図である。It is a hardware block diagram of the data logger which concerns on each embodiment of this invention. データロガーで計測した対象物の温度履歴の例を示す図である。It is a figure which shows the example of the temperature history of the target object measured with the data logger. データロガーで計測した対象物の温度履歴の例をグラフ化した図である。It is the figure which graphed the example of the temperature history of the target object measured with the data logger.

まず、本発明の実施形態の理解を容易とするために、本発明の背景と実施形態の概要を説明する。   First, in order to facilitate understanding of the embodiment of the present invention, the background of the present invention and the outline of the embodiment will be described.

データロガーを輸送品質の数値化に利用するためには、計測対象の計測結果が適正外環境と適正内環境との間で変化する期間で、計測したデータから予想される最悪値が求められること、又は実際に適正外環境におかれた時間とデータロガーで計測した時間との誤差の値ができるだけ小さいことが望ましい。しかし、例えば特許文献1に記載のデータロガーの算出方法で求まる数値は、これらどちらも満足していないため、信頼性が高い値であるとは言えない。   In order to use the data logger for quantification of transport quality, the worst value expected from the measured data is required during the period when the measurement result of the measurement object changes between the outside environment and the inside environment. Alternatively, it is desirable that the error value between the time actually put in the environment outside the proper time and the time measured by the data logger is as small as possible. However, for example, the numerical values obtained by the data logger calculation method described in Patent Document 1 are not satisfied, and thus cannot be said to be highly reliable values.

特許文献1に記載のデータロガーにおいて、計測対象(以下、対象物とも呼ぶ)が適正外環境に置かれた時間について信頼性の高い値を算出できない理由は、適正外環境に置かれた時間の算出のために行う計測毎の処理を、一時点の測定値(あるいは所定の間隔のタイミングでの計測値)のみを利用して行っているためである。このことは、次に説明される図20及び図21によって明確になる。   In the data logger described in Patent Document 1, the reason why it is not possible to calculate a reliable value for the time when the measurement target (hereinafter also referred to as an object) is placed in the proper outside environment is that This is because the process for each measurement performed for the calculation is performed using only the measurement value at the temporary point (or the measurement value at the timing of the predetermined interval). This will become clear from FIGS. 20 and 21 described next.

図20は、データロガーで計測した対象物の温度履歴データの例を示す図である。   FIG. 20 is a diagram illustrating an example of temperature history data of an object measured by a data logger.

図20に示す温度履歴データにおいて、経過時間の行は、対象物の計測を開始してからの経過時間を示す。また、温度の行は、経過時間に対応する時刻における対象物の温度のデータを示す。この温度履歴データは、5分間隔というタイミングで計測を行った場合のデータである。仮に、対象物の適正輸送温度となる閾値が21℃とすると、温度履歴データは、15分、25分、30分、40分の時点での計測温度が閾値を超えていることを示す。   In the temperature history data shown in FIG. 20, the row of elapsed time indicates the elapsed time since the start of measurement of the object. Further, the temperature row indicates data on the temperature of the object at the time corresponding to the elapsed time. The temperature history data is data when measurement is performed at a timing of 5 minutes. If the threshold value that is the proper transport temperature of the object is 21 ° C., the temperature history data indicates that the measured temperature at the time of 15 minutes, 25 minutes, 30 minutes, and 40 minutes exceeds the threshold value.

一時点の測定値のみを利用するデータロガーは、計測毎に計測値と閾値の比較を行い、閾値外であった場合にカウントアップする。データロガーは、計測完了時にカウンタの値と計測間隔を乗算することで、対象物が適正外環境に置かれた時間を算出する。例えば、図20に示すデータの場合、データロガーは、15分、25分、30分、40分の計測時にカウンタのカウントアップを行うので、カウンタの値は4となる。適正外環境に置かれた時間は、計測が完了した時点におけるカウンタの値4と、計測間隔5分を乗算することにより、20分であると算出される。   A data logger that uses only a measurement value at a single time point compares a measurement value with a threshold value for each measurement, and counts up if the value is outside the threshold value. When the measurement is completed, the data logger multiplies the value of the counter by the measurement interval to calculate the time during which the object is placed in an environment outside the proper range. For example, in the case of the data shown in FIG. 20, the data logger counts up the counter when measuring 15 minutes, 25 minutes, 30 minutes, and 40 minutes, so the value of the counter is 4. The time in the proper outside environment is calculated to be 20 minutes by multiplying the counter value 4 at the time when the measurement is completed and the measurement interval 5 minutes.

図21は、データロガーで計測した図20に示す対象物の温度履歴データをグラフ化した例を示す図である。   FIG. 21 is a diagram showing an example of graphing the temperature history data of the object shown in FIG. 20 measured by the data logger.

図21において、グラフの縦軸は、計測値である温度を示す。また、横軸は、計測開始からの経過時間を示す。計測値同士を結ぶ曲線は、データロガーには記録されていない実際の温度変化を示したものである。   In FIG. 21, the vertical axis of the graph indicates the temperature that is the measured value. The horizontal axis indicates the elapsed time from the start of measurement. A curve connecting the measured values indicates an actual temperature change not recorded in the data logger.

グラフ上部の「閾値外温度の時間」は、曲線で表現されている実際の温度変化において閾値外となっている時間を示している。「閾値外温度の時間の合計」は、前記閾値外温度の時間を加算したものである。このグラフを参照すると、対象が実際に適正外環境に置かれた時間は27分程度であることがわかる。この値は、15分、25分、30分、40分の4つの時点での測定値のみを利用するデータロガーの算出方法で算出した20分という値と大きく異なる。20分という値は、実際の時間より大きく下回るという点で、信頼性が高い値とは言えない。   “Time of temperature outside threshold value” at the top of the graph indicates the time outside the threshold value in the actual temperature change represented by a curve. “Total time of temperature outside threshold value” is obtained by adding the time of temperature outside threshold value. Referring to this graph, it can be seen that the time during which the subject is actually placed in the proper outside environment is about 27 minutes. This value is greatly different from the value of 20 minutes calculated by the data logger calculation method using only the measured values at four times of 15 minutes, 25 minutes, 30 minutes, and 40 minutes. The value of 20 minutes is not highly reliable in that it is much less than the actual time.

以下に説明される本発明の実施形態に係るデータロガー、データロガーの計測処理方法およびプログラムによれば、一時点での測定値のみではなくその前の計測時点の測定値も考慮することで、対象が適正外環境に置かれた時間について信頼性の高い値を算出することができる。   According to the data logger, the data logger measurement processing method and the program according to the embodiment of the present invention described below, by considering not only the measurement value at the temporary point but also the measurement value at the previous measurement time point, A highly reliable value can be calculated for the time that the subject is placed in an environment outside the proper range.

なお、本発明に関連する技術として、特許文献2及び特許文献3がある。特許文献2(例えば、[0045]、[0046]段落等)及び特許文献3(例えば、[0023]段落等)には、センサによって測定等した値が、閾値内か閾値外かで異なる処理を行う技術が記載されている。   In addition, there exist patent document 2 and patent document 3 as a technique relevant to this invention. Patent Document 2 (for example, [0045], [0046] paragraphs, etc.) and Patent Document 3 (for example, [0023] paragraphs, etc.) perform different processing depending on whether the value measured by the sensor is within or outside the threshold value. The technique to be performed is described.

次に、本発明の実施形態について図面を参照して詳細に説明する。   Next, embodiments of the present invention will be described in detail with reference to the drawings.

<第1実施形態>
図1は、本発明の第1実施形態に係るデータロガー100の機能構成を示すブロック図である。図1を参照すると、本発明の第1実施形態に係るデータロガー100は、計測部101、閾値記憶部102、閾値比較部103、前回比較データ記憶部104、制御部105、及び適正外時間計算部106を含む。適正外時間計算部106は、計測間隔加算部111、適正外時間記憶部112、及び計測間隔記憶部113を含む。
<First Embodiment>
FIG. 1 is a block diagram showing a functional configuration of a data logger 100 according to the first embodiment of the present invention. Referring to FIG. 1, a data logger 100 according to the first embodiment of the present invention includes a measurement unit 101, a threshold storage unit 102, a threshold comparison unit 103, a previous comparison data storage unit 104, a control unit 105, and an appropriate outside time calculation. Part 106 is included. The appropriate outside time calculation unit 106 includes a measurement interval addition unit 111, an appropriate outside time storage unit 112, and a measurement interval storage unit 113.

第1実施形態に係るデータロガー100は、計測毎に計測間隔加算部111にて行われる計測間隔加算処理の選択実行を行う。   The data logger 100 according to the first embodiment performs selection execution of the measurement interval addition process performed by the measurement interval addition unit 111 for each measurement.

計測部101は、特定のデータを定期的に計測し、その計測データを制御部105に順次出力する。特定のデータは、例えば、温度、湿度、衝撃、加速度、照度、傾き、及び振動などである。本実施の形態では、計測部101の出力する計測データは、少なくとも、計測値を含むデータである。   The measurement unit 101 periodically measures specific data and sequentially outputs the measurement data to the control unit 105. Specific data includes, for example, temperature, humidity, impact, acceleration, illuminance, inclination, vibration, and the like. In the present embodiment, the measurement data output from the measurement unit 101 is data including at least a measurement value.

図2は、計測部101の出力する計測データの一例を示す図である。図2に示すように、計測データは、時刻と計測値とから構成されている。図2の計測データは、時刻2010/06/10の15:00における計測値が、21.5であったことを意味している。なお、本実施の形態では計測データとして計測値さえ含んでいればよく、必ずしも時刻は必要としない。   FIG. 2 is a diagram illustrating an example of measurement data output from the measurement unit 101. As shown in FIG. 2, the measurement data is composed of a time and a measurement value. The measurement data in FIG. 2 means that the measurement value at 15:00 on the time 2010/06/10 was 21.5. In the present embodiment, it is only necessary to include measurement values as measurement data, and time is not necessarily required.

以降、本実施の形態では、計測部101が温度センサによって実現される場合の例を用いて説明する。ただし、以降の説明は、本発明の技術的範囲を温度センサの例に限定するものではない。   Hereinafter, the present embodiment will be described using an example in which measurement unit 101 is realized by a temperature sensor. However, the following description does not limit the technical scope of the present invention to the example of the temperature sensor.

閾値記憶部102は、計測の対象物が置かれるのに適正と判断される環境値を示す閾値を記憶する。   The threshold value storage unit 102 stores a threshold value indicating an environmental value that is determined to be appropriate for placing an object to be measured.

図3は、閾値記憶部102が記憶する閾値の一例を示す図である。図3に示すように、閾値の種類は、少なくとも上限閾値と下限閾値とを含む。閾値記憶部102は、上限閾値と下限閾値に対応する値を閾値として記憶する。ここで、計測値が温度の場合、計測値が上限閾値よりも低く、下限閾値よりも高い温度となる環境が、計測の対象物を置く環境として適正である。図3に示す閾値は、対象物が0℃より高く21℃より低い温度の環境に置くのが適正であることを意味する。   FIG. 3 is a diagram illustrating an example of threshold values stored in the threshold value storage unit 102. As shown in FIG. 3, the types of threshold values include at least an upper threshold value and a lower threshold value. The threshold storage unit 102 stores values corresponding to the upper limit threshold and the lower limit threshold as thresholds. Here, when the measured value is a temperature, an environment in which the measured value is lower than the upper limit threshold and higher than the lower limit threshold is appropriate as an environment where the measurement target is placed. The threshold shown in FIG. 3 means that it is appropriate to place the object in an environment having a temperature higher than 0 ° C. and lower than 21 ° C.

閾値記憶部102が記憶する閾値は、閾値比較部103により参照される。   The threshold value stored in the threshold value storage unit 102 is referred to by the threshold value comparison unit 103.

閾値比較部103は、制御部105から計測値を含む比較要求を受信する。閾値比較部103は、閾値記憶部102が記憶する閾値を参照又は取得し、制御部105からの比較要求に含まれる計測値と閾値の比較を行う。閾値比較部103は、比較の結果である比較データを求め、制御部105に出力する。   The threshold comparison unit 103 receives a comparison request including a measurement value from the control unit 105. The threshold value comparison unit 103 refers to or acquires the threshold value stored in the threshold value storage unit 102 and compares the measurement value included in the comparison request from the control unit 105 with the threshold value. The threshold comparison unit 103 obtains comparison data that is a result of the comparison and outputs the comparison data to the control unit 105.

すなわち、閾値比較部103は、計測部101から取得した計測値と閾値とを比較し、比較データを出力する。   That is, the threshold value comparison unit 103 compares the measurement value acquired from the measurement unit 101 with the threshold value, and outputs comparison data.

本実施の形態の比較は、上限閾値と計測値、下限閾値と計測値の大小をそれぞれ判定し、計測値が上限閾値より小さく、下限閾値よりも大きいときに「閾値内」、それ以外の場合に「閾値外」をそれぞれ示すデータを、結果である比較データとする処理である。閾値比較部103は、求めた比較データを制御部105へ出力する。   In the comparison of this embodiment, the upper threshold value and the measured value, the lower threshold value and the measured value are respectively determined, and when the measured value is smaller than the upper threshold and larger than the lower threshold, “within threshold”, otherwise In this process, data indicating “outside threshold” is used as comparison data as a result. The threshold comparison unit 103 outputs the obtained comparison data to the control unit 105.

図4は、閾値比較部103が出力する比較データと、計測値と閾値の大小比較判定との関係の一例を示す図である。図4によると、閾値比較部103での前述の判定の結果、下限閾値<計測値<上限閾値となる場合、「閾値内」を示す比較データ、計測値<=下限閾値、上限閾値<=計測となる場合、「閾値外」を示す比較データを制御部105へ出力する。   FIG. 4 is a diagram illustrating an example of the relationship between the comparison data output by the threshold value comparison unit 103 and the measurement value and the threshold value comparison determination. According to FIG. 4, if the result of the above determination by the threshold comparison unit 103 is lower limit threshold <measured value <upper limit threshold, comparison data indicating “within threshold”, measured value <= lower limit threshold, upper limit threshold <= measurement In this case, comparison data indicating “outside threshold” is output to the control unit 105.

前回比較データ記憶部104は、制御部105が選択する処理の対象となっている計測値の計測時の一つ前、つまり前回の計測時の比較データである前回比較データを記憶する。前回比較データ記憶部104が記憶する前回比較データは、制御部105により参照、更新される。   The previous comparison data storage unit 104 stores previous comparison data that is comparison data at the time of measurement of the measurement value that is the target of the process selected by the control unit 105, that is, previous measurement data. The previous comparison data stored in the previous comparison data storage unit 104 is referred to and updated by the control unit 105.

図5は、前回比較データ記憶部104で記憶する前回比較データの例を示した図である。図5は、前回の計測時の比較データが「閾値内」であったことを意味する。   FIG. 5 is a diagram illustrating an example of the previous comparison data stored in the previous comparison data storage unit 104. FIG. 5 means that the comparison data at the previous measurement was “within threshold”.

前回比較データ記憶部104が記憶する前回比較データは、制御部105が実行する処理を選択するために参照される。また、前回比較データは、制御部105が実行する処理を選択した後に、その時点の制御部105が持つ比較データで上書き更新される。   The previous comparison data stored in the previous comparison data storage unit 104 is referred to in order to select a process to be executed by the control unit 105. In addition, the previous comparison data is overwritten and updated with the comparison data of the control unit 105 at that time after selecting the process to be executed by the control unit 105.

制御部105には、計測部101から計測データが供給される。制御部105は、閾値比較部103に計測値を含む比較要求を送り、比較データを受け取る。また、制御部105は、前回比較データ記憶部104が記憶する前回比較データを参照する。さらに、制御部105は、受け取った比較データと前回比較データを用いて処理を選択する。制御部105は、選択した処理に基づいて、実行要求の送信先を決定する。また、制御部105は、前回比較データ記憶部104の記憶する前回比較データを比較データで上書き更新する。   Measurement data is supplied from the measurement unit 101 to the control unit 105. The control unit 105 sends a comparison request including a measurement value to the threshold value comparison unit 103 and receives comparison data. Further, the control unit 105 refers to the previous comparison data stored in the previous comparison data storage unit 104. Furthermore, the control unit 105 selects a process using the received comparison data and the previous comparison data. The control unit 105 determines the transmission destination of the execution request based on the selected process. In addition, the control unit 105 overwrites and updates the previous comparison data stored in the previous comparison data storage unit 104 with the comparison data.

制御部105は、比較データと前回比較データの組み合わせにより、実行要求の送信先を決定し、比較データを前回比較データとして前回比較データ記憶手段の記憶内容を更新する。   The control unit 105 determines the transmission destination of the execution request based on the combination of the comparison data and the previous comparison data, and updates the storage content of the previous comparison data storage unit using the comparison data as the previous comparison data.

具体的には、制御部105は、計測部101から計測データが供給されると、次のように動作する。すなわち、制御部105は、計測データから計測値を取り出し、閾値比較部103に計測値を含む比較要求を送り、その応答として比較データを受け取る。次に、制御部105は、前回比較データ記憶部104が記憶する前回比較データを参照する。制御部105は、比較データと前回比較データの組み合わせに基づいて、予め用意される1つ以上の処理の中から実行する処理を選択する。次に、制御部105は、選択した処理に基づいて、適正外時間計算部106が含む構成部のうち、実行要求を送信する構成部を決定する。本実施形態に係るデータロガー100は、比較データと前回比較データが「閾値内」と「閾値外」の2値を取るため、それらの組み合わせ数である4通りの処理の中から、実行する処理を選択することが可能である。   Specifically, when measurement data is supplied from the measurement unit 101, the control unit 105 operates as follows. That is, the control unit 105 extracts a measurement value from the measurement data, sends a comparison request including the measurement value to the threshold value comparison unit 103, and receives comparison data as a response. Next, the control unit 105 refers to the previous comparison data stored in the previous comparison data storage unit 104. The control unit 105 selects a process to be executed from one or more processes prepared in advance based on the combination of the comparison data and the previous comparison data. Next, the control unit 105 determines a configuration unit that transmits an execution request among the configuration units included in the inappropriate outside time calculation unit 106 based on the selected process. In the data logger 100 according to the present embodiment, since the comparison data and the previous comparison data have two values “inside threshold” and “outside threshold”, processing to be executed from among four types of processing that is the number of combinations thereof. Can be selected.

本実施形態において、適正外時間計算部106は、適正外時間を算出するための計測間隔の加算処理を実行する計測間隔加算部111を含み、制御部105は、この計測間隔加算処理を実行するか否かを選択する。   In the present embodiment, the appropriate outside time calculation unit 106 includes a measurement interval addition unit 111 that executes a measurement interval addition process for calculating an appropriate outside time, and the control unit 105 executes this measurement interval addition process. Select whether or not.

図6は、第1実施形態における制御部105での実行処理の選択方法を示した図である。図6に示すように、制御部105は、比較データと前回比較データが共に「閾値内」となる場合以外のときに計測間隔加算処理を選択する。この場合、制御部105は、実行要求の送信先を計測間隔加算部111に決定し、送信する。   FIG. 6 is a diagram showing a selection method of execution processing in the control unit 105 in the first embodiment. As shown in FIG. 6, the control unit 105 selects the measurement interval addition process when the comparison data and the previous comparison data are both “within threshold”. In this case, the control unit 105 determines the transmission destination of the execution request to the measurement interval addition unit 111 and transmits it.

図7は、本実施形態において計測間隔加算処理を実行する理由について説明するための図である。図7は、上限閾値を21℃とする対象物の温度をデータロガーで計測したデータをグラフ化した例である。縦軸は、計測値である温度を示す。横軸は、何回目の計測かを表す計測回数を示す。   FIG. 7 is a diagram for explaining the reason for executing the measurement interval addition process in the present embodiment. FIG. 7 is an example of graphing data obtained by measuring the temperature of an object with an upper limit threshold of 21 ° C. using a data logger. A vertical axis | shaft shows the temperature which is a measured value. The horizontal axis indicates the number of times of measurement representing the number of times of measurement.

例として、3回目の計測時の処理について考える。図7に示すように、3回目の計測値から求まる比較データは、「閾値内」となる。この比較データのみでは、3回目の計測時という一点の時刻においてのみ、対象物が適正内環境にあったということしか分からない。しかし、前回比較データである2回目の比較データが「閾値外」であることが分かれば、少なくとも2回目の計測時から3回目の計測時の間のある時刻で、対象物の温度が閾値外から閾値内に変化したことが分かる。これにより、3回目の計測値から求まる比較データは、「閾値内」であるが、2回目の計測から3回目の計測の間に対象物が適正外環境に置かれていたことが判定できる。ここで、2回目の計測時から3回目の計測時の間は、計測結果が適正外環境と適正内環境との間で変化する期間である。   As an example, consider the processing at the time of the third measurement. As shown in FIG. 7, the comparison data obtained from the third measurement value is “within threshold”. Only with this comparison data, it is only possible to know that the object was in the proper internal environment only at one point of time at the time of the third measurement. However, if it is found that the second comparison data that is the previous comparison data is “outside threshold value”, the temperature of the object is changed from outside the threshold value to the threshold value at a certain time between the second measurement time and the third measurement time. You can see that it has changed. Thereby, the comparison data obtained from the third measurement value is “within threshold”, but it can be determined that the object was placed in an environment outside the proper range between the second measurement and the third measurement. Here, the period from the second measurement to the third measurement is a period during which the measurement result changes between the appropriate outside environment and the appropriate inside environment.

本実施の形態では、計測間で適正外環境に置かれていた時間を考慮するために、制御部105が、図6に示すように、比較データ及び前回比較データとの組み合わせに基づいて実行処理を選択する。   In the present embodiment, in order to take into account the time that has been placed in an environment outside the proper interval between measurements, the control unit 105 performs an execution process based on a combination of comparison data and previous comparison data, as shown in FIG. Select.

適正外時間計算部106は、計測毎に比較データ及び前回比較データに基づいた処理を実行する。適正外時間計算部106は、該処理の結果を用いて適正外時間を計算する。本実施の形態の適正外時間計算部106は、計測間隔加算部111、適正外時間記憶部112、及び計測間隔記憶部113を含む。   The appropriate outside time calculation unit 106 executes processing based on the comparison data and the previous comparison data for each measurement. The appropriate outside time calculation unit 106 calculates an appropriate outside time using the result of the processing. The appropriate outside time calculation unit 106 according to the present embodiment includes a measurement interval addition unit 111, an appropriate outside time storage unit 112, and a measurement interval storage unit 113.

計測間隔加算部111は、制御部105から実行要求を受信した際に、計測間隔記憶部113が記憶する計測間隔を参照し、適正外時間記憶部112が記憶する適正外時間に計測間隔を加算する計測間隔加算処理を実行する。計測間隔加算部111は、加算後の適正外時間を例えばディスプレイ等の図示しない出力部に出力しても良い。   When receiving an execution request from the control unit 105, the measurement interval adding unit 111 refers to the measurement interval stored in the measurement interval storage unit 113, and adds the measurement interval to the appropriate outside time stored in the appropriate outside time storage unit 112. The measurement interval addition process to be executed is executed. The measurement interval addition unit 111 may output an appropriate outside time after the addition to an output unit (not shown) such as a display.

適正外時間記憶部112は、計測対象が予め定められた環境、つまり閾値内の環境に置かれていなかった時間である適正外時間を記憶する。適正外時間記憶部112は、計測間隔加算部111により、適正外時間が加算される。   The appropriate outside time storage unit 112 stores an appropriate outside time that is a time when the measurement target is not placed in a predetermined environment, that is, an environment within a threshold. The appropriate outside time storage unit 112 adds the appropriate outside time by the measurement interval adding unit 111.

計測間隔記憶部113は、計測間隔を記憶する。   The measurement interval storage unit 113 stores the measurement interval.

例えば、データロガーが300秒毎に計測を行うよう設定されている場合を考える。この場合、計測間隔記憶部113は、300という数値で表される計測間隔を記憶する。図6の内容に基づいて計測間隔加算処理が5回行われたとする。この時、計測間隔加算部111は、適正外時間記憶部112が記憶する適正外時間に、合計1500秒(=300×5)の値を加算したことになる。   For example, consider the case where the data logger is set to measure every 300 seconds. In this case, the measurement interval storage unit 113 stores a measurement interval represented by a numerical value of 300. It is assumed that the measurement interval addition process is performed five times based on the contents of FIG. At this time, the measurement interval adding unit 111 adds a total of 1500 seconds (= 300 × 5) to the appropriate outside time stored in the appropriate outside time storage unit 112.

次に、図8〜図10のフローチャートを参照して本実施の形態の全体の動作について詳細に説明する。   Next, the overall operation of the present embodiment will be described in detail with reference to the flowcharts of FIGS.

図8は、第1実施形態に係るデータロガー100が計測毎に実行する動作の例を示すフローチャートである。   FIG. 8 is a flowchart illustrating an example of an operation performed by the data logger 100 according to the first embodiment for each measurement.

図8に示すように、本実施の形態において、データロガー100が計測毎に実行する動作ステップは、データ計測ステップ、比較データ取得ステップ、前回比較データ取得ステップ、選択ステップ、実行ステップ、前回比較データ更新ステップと、を含む。   As shown in FIG. 8, in the present embodiment, the operation steps executed by the data logger 100 for each measurement are the data measurement step, the comparison data acquisition step, the previous comparison data acquisition step, the selection step, the execution step, and the previous comparison data. An update step.

以下、各ステップについて説明する。
S100(データ計測ステップ):計測部101は、計測を定期的に行い、取得した計測データを制御部105に出力する。制御部105は、計測部101から計測データが供給される。
S200(比較データ取得ステップ):制御部105は、閾値比較部103に計測値を含む比較要求を送り、比較データを受け取る。
S300(前回比較データ取得ステップ):制御部105は、前回比較データ記憶部104から前回比較データを取得する。
S400(選択ステップ):制御部105は、比較データと前回比較データに基づいて、実行する処理を選択し、処理を実行する場合には処理に基づいて実行要求の送信先を決定する。処理を実行しない場合には、前回比較データ更新ステップへ進む。
S500(実行ステップ):計測間隔加算部111は、制御部105から実行要求を受信すると、適正外時間記憶部112が記憶する適正外時間に計測間隔を加算し、加算した適性外時間を適正外時間記憶部112に記憶する。
S600(前回比較データ更新ステップ):制御部105は、比較データ取得ステップ(S200)で取得した比較データで、前回比較データ記憶部104が記憶する前回比較データを上書き更新し、処理を終了する。
Hereinafter, each step will be described.
S100 (data measurement step): The measurement unit 101 periodically performs measurement, and outputs the acquired measurement data to the control unit 105. The control unit 105 is supplied with measurement data from the measurement unit 101.
S200 (comparison data acquisition step): The control unit 105 sends a comparison request including a measurement value to the threshold value comparison unit 103 and receives comparison data.
S300 (previous comparison data acquisition step): The control unit 105 acquires the previous comparison data from the previous comparison data storage unit 104.
S400 (selection step): The control unit 105 selects a process to be executed based on the comparison data and the previous comparison data, and determines a transmission destination of the execution request based on the process when executing the process. If the process is not executed, the process proceeds to the previous comparison data update step.
S500 (execution step): When the measurement interval adding unit 111 receives an execution request from the control unit 105, the measurement interval adding unit 111 adds the measurement interval to the appropriate outside time stored in the outside proper time storage unit 112, and the added outside appropriate time is outside the proper time. Store in the time storage unit 112.
S600 (previous comparison data update step): The control unit 105 overwrites and updates the previous comparison data stored in the previous comparison data storage unit 104 with the comparison data acquired in the comparison data acquisition step (S200), and ends the process.

本実施形態のデータロガー100は、以上の動作を計測毎に行う。   The data logger 100 of this embodiment performs the above operation for each measurement.

以下、比較データ取得ステップ、選択ステップ、及び実行ステップについて具体的に説明する。   Hereinafter, the comparison data acquisition step, the selection step, and the execution step will be specifically described.

図9は、比較データ取得ステップにおいて比較データを求める処理の例を示すフローチャート図である。ステップS201乃至S206は、次の通りである。
S201:制御部105は、閾値比較部103に計測値を含む比較要求を送る。閾値比較部103は、比較要求を受け取り、S202へ進む。
S202:閾値比較部103は、閾値記憶部102から閾値を取得し、S203へ進む。閾値は、上限閾値と下限閾値とを含む。
S203:閾値比較部103は、S202で取得した上限閾値と計測値を比較する。上限閾値>=計測値となるときはS205へ進み、上限閾値<計測値となるときはS204へ進む。
S204:閾値比較部103は、比較データとして「閾値外」を制御部105に送る。制御部105は「閾値外」を受け取り、処理を終了する。
S205:閾値比較部103は、S202で取得した下限閾値と計測値を比較する。下限閾値<=計測値となるときはS206へ進み、下限閾値>計測値となるときはS204へ進む。
S206:閾値比較部103は、比較データとして「閾値内」を制御部105に送る。制御部105は「閾値内」を受け取り、処理を終了する。
FIG. 9 is a flowchart illustrating an example of processing for obtaining comparison data in the comparison data acquisition step. Steps S201 to S206 are as follows.
S201: The control unit 105 sends a comparison request including a measurement value to the threshold value comparison unit 103. The threshold comparison unit 103 receives the comparison request and proceeds to S202.
S202: The threshold value comparison unit 103 acquires a threshold value from the threshold value storage unit 102, and proceeds to S203. The threshold value includes an upper threshold value and a lower threshold value.
S203: The threshold value comparing unit 103 compares the measured value with the upper limit threshold value acquired in S202. When upper limit threshold> = measured value, the process proceeds to S205, and when upper limit threshold <measured value, the process proceeds to S204.
S204: The threshold comparison unit 103 sends “outside threshold” as comparison data to the control unit 105. The control unit 105 receives “outside threshold” and ends the process.
S205: The threshold comparison unit 103 compares the measured value with the lower limit threshold acquired in S202. When the lower limit threshold <= measured value, the process proceeds to S206, and when the lower limit threshold> measured value, the process proceeds to S204.
S206: The threshold value comparison unit 103 sends “within threshold value” to the control unit 105 as comparison data. The control unit 105 receives “within threshold” and ends the process.

図10は、選択ステップと実行ステップの動作の詳細を示すフローチャート図である。ステップS401乃至S502は、次の通りである。
S401:制御部105は、S200で取得した比較データが「閾値内」であるかを判定する。比較データが、「閾値内」であったときはS402へ進み、「閾値外」であったときはS501へ進む。
S402:制御部105は、S300で取得した前回比較データが「閾値内」であるかを判定する。前回比較データが、「閾値内」であったときは実行ステップを行わず処理を終了する。前回比較データが「閾値外」であったときは、制御部105は、計測間隔加算部111に実行要求を送信し、S501へ進む。
S501:計測間隔加算部111は、計測間隔記憶部113が記憶する計測間隔を参照又は取得し、S502へ進む。
S502:計測間隔加算部111は適正外時間記憶部112が記憶する適正外時間にS501で参照又は取得した計測間隔を加算し、加算した適性外時間を適正外時間記憶部112に記憶してから処理を終了する。
FIG. 10 is a flowchart showing details of operations of the selection step and the execution step. Steps S401 to S502 are as follows.
S401: The control unit 105 determines whether the comparison data acquired in S200 is “within threshold”. When the comparison data is “within threshold”, the process proceeds to S402, and when the comparison data is “outside threshold”, the process proceeds to S501.
S402: The control unit 105 determines whether the previous comparison data acquired in S300 is “within threshold”. If the previous comparison data was “within threshold”, the process is terminated without performing the execution step. When the previous comparison data is “outside threshold value”, the control unit 105 transmits an execution request to the measurement interval addition unit 111 and proceeds to S501.
S501: The measurement interval adding unit 111 refers to or acquires the measurement interval stored in the measurement interval storage unit 113, and proceeds to S502.
S502: The measurement interval adding unit 111 adds the measurement interval referred to or acquired in S501 to the appropriate outside time stored in the appropriate outside time storage unit 112, and stores the added outside time in the appropriate outside time storage unit 112. The process ends.

以上のように、本実施の形態に係るデータロガー100によれば、対象物が適正外環境に置かれた時間についての信頼性の高い算出が可能となる。その理由は、前回比較データ記憶部104が記憶する前回比較データを取得、更新するからである。また、制御部105は、比較データと前記前回比較データの組み合わせに応じた適正外時間を算出するための実行要求を発生し、適正外時間計算部106がその実行要求に基づいて、適正外時間を算出するからである。具体的には、制御部105は、比較データと前回比較データが共に閾値内とならない場合に、適正外時間に計測間隔を加算する処理を選択することができるからである。   As described above, according to the data logger 100 according to the present embodiment, it is possible to calculate with high reliability with respect to the time when the object is placed in the environment outside the proper environment. This is because the previous comparison data stored in the previous comparison data storage unit 104 is acquired and updated. In addition, the control unit 105 generates an execution request for calculating an appropriate outside time corresponding to the combination of the comparison data and the previous comparison data, and the appropriate outside time calculation unit 106 based on the execution request It is because it calculates. Specifically, the control unit 105 can select the process of adding the measurement interval to the appropriate outside time when both the comparison data and the previous comparison data are not within the threshold value.

そうすることによって、前回の計測から今回の計測までの間の時間に閾値外の計測値が含まれていたときに、その区間は適正環境に置かれていないと判断した、適正外時間の最悪値を適正外時間記憶部112に計測毎に記録することが可能になる。すなわち、データロガー100が適正外時間を算出する場合、計測結果が適正外環境と適正内環境との間で変化する期間に対して最悪値を算出するので、信頼性が高い値であると言える。   By doing so, when the time between the previous measurement and the current measurement includes a measurement value outside the threshold, the worst of the proper outside time is judged that the section is not in the appropriate environment. The value can be recorded in the appropriate outside time storage unit 112 for each measurement. That is, when the data logger 100 calculates the appropriate outside time, the worst value is calculated for the period in which the measurement result changes between the appropriate outside environment and the appropriate inside environment, so it can be said that the value is highly reliable. .

本実施の形態の説明では、センサとして温度を扱った例を提示したが、本発明は、他のセンサを使ったロガーにも適用が可能である。   In the description of the present embodiment, an example in which temperature is handled as a sensor has been presented, but the present invention can also be applied to a logger using another sensor.

例えば、加速度センサを利用し、振動があったか否かを検出するロガーの場合には、加速度について上限と下限の閾値が設定された閾値比較部103は、加速度の計測値がそれぞれ上限以下、下限以上であった場合に比較データとして「閾値内」を出力すればよい。そして、制御部105は、前回比較データと今回の計測値の比較データが共に「閾値内」とならない場合に、適正外時間に計測間隔を加算すればよい。   For example, in the case of a logger that uses an acceleration sensor to detect whether there has been vibration, the threshold value comparison unit 103 in which the upper and lower threshold values are set for acceleration is such that the measured acceleration value is not more than the upper limit and not less than the lower limit, respectively. If it is, “within threshold” may be output as the comparison data. And the control part 105 should just add a measurement space | interval to an appropriate outside time, when both the comparison data of the last comparison data and this time measured value are not "inside threshold value".

<第2実施形態>
図11は、本発明の第2実施形態に係るデータロガー200の機能構成を示すブロック図である。図11を参照すると、本発明の第2実施形態に係るデータロガー200は、計測部101、閾値記憶部102、閾値比較部201、前回比較データ記憶部202、制御部203、前回計測値記憶部204、及び適正外時間計算部205を含む。適正外時間計算部205は、上限以上時間加算部211、下限以下時間加算部212、計測間隔加算部111、適正外時間記憶部112、及び計測間隔記憶部113を含む。
Second Embodiment
FIG. 11 is a block diagram showing a functional configuration of the data logger 200 according to the second embodiment of the present invention. Referring to FIG. 11, a data logger 200 according to the second embodiment of the present invention includes a measurement unit 101, a threshold storage unit 102, a threshold comparison unit 201, a previous comparison data storage unit 202, a control unit 203, and a previous measurement value storage unit. 204, and an inappropriate outside time calculation unit 205. The appropriate outside time calculation unit 205 includes an upper limit time addition unit 211, a lower limit time addition unit 212, a measurement interval addition unit 111, an appropriate outside time storage unit 112, and a measurement interval storage unit 113.

第2実施形態に係るデータロガー200は、計測毎に計測間隔加算部111にて行われる計測間隔加算処理、上限以上時間加算部211にて行われる上限以上時間加算処理、下限以下時間加算部212にて行われる下限以下時間加算処理の選択実行を行う。   The data logger 200 according to the second embodiment includes a measurement interval addition process performed by the measurement interval addition unit 111 for each measurement, an upper limit or more time addition process performed by the upper limit or more time addition unit 211, and a lower limit or less time addition unit 212. The lower limit lower time addition process performed at is selected and executed.

計測部101と閾値記憶部102は、第1実施形態と同様の機能を有する。   The measurement unit 101 and the threshold storage unit 102 have the same functions as those in the first embodiment.

閾値比較部201は、第1実施形態に係る閾値比較部103と同じ機能を持つが、比較処理の方法と扱う比較データが異なる。閾値比較部201は、閾値として上限閾値と下限閾値とを取得し、比較データとして「閾値内」か「上限以上」か「下限以下」かを示す3値を出力する。   The threshold value comparison unit 201 has the same function as the threshold value comparison unit 103 according to the first embodiment, but the comparison data is different from the comparison processing method. The threshold value comparison unit 201 acquires an upper limit threshold value and a lower limit threshold value as threshold values, and outputs three values indicating “within threshold value”, “above upper limit value”, or “lower limit value” as comparison data.

すなわち、本実施の形態の比較は、上限閾値と計測値、下限閾値と計測値の大小をそれぞれ判定し、計測値が上限閾値より小さく、下限閾値よりも大きいときに「閾値内」、計測値が上限閾値以上の場合に「上限以上」、計測値が下限閾値以下の場合に「下限以下」を、比較結果である比較データとして出力する処理である。   That is, the comparison of the present embodiment determines the upper threshold value and the measured value, the lower threshold value and the measured value, respectively, and when the measured value is smaller than the upper threshold value and larger than the lower threshold value, This is a process of outputting “more than the upper limit” when the value is equal to or greater than the upper limit threshold value, and “less than the lower limit” as the comparison data as the comparison result when the measured value is equal to or less than the lower limit threshold value.

図12は、閾値比較部103の出力する比較データと、計測値と閾値の大小比較判定との関係の一例を示す図である。図12によると、閾値比較部103は、下限閾値<計測値<上限閾値となるときに「閾値内」、計測値<=下限閾値となるときに「下限以下」、上限閾値<=計測値となるときに「上限以上」を制御部105へ出力する。   FIG. 12 is a diagram illustrating an example of the relationship between the comparison data output by the threshold value comparison unit 103 and the measurement value and the threshold value comparison determination. According to FIG. 12, the threshold value comparison unit 103 determines that “within threshold value” when lower limit threshold value <measurement value <upper limit threshold value, “lower than lower limit value” when measurement value <= lower limit threshold value, and upper limit threshold value == measurement value. At this time, “over the upper limit” is output to the control unit 105.

前回比較データ記憶部202は、第1実施形態に係る前回比較データ記憶部104と同じ機能を持つが、扱う前回比較データが異なる。本実施の形態では閾値比較部201で求められる「閾値内」、「上限以上」、及び「下限以下」の3つの比較データを扱う。   The previous comparison data storage unit 202 has the same function as the previous comparison data storage unit 104 according to the first embodiment, but the previous comparison data handled is different. In the present embodiment, three comparison data “within threshold”, “above upper limit”, and “below lower limit” obtained by the threshold comparison unit 201 are handled.

制御部203は、第1実施形態に係る制御部105と同様の機能に加え、前回計測値記憶部204の記憶する前回計測値の更新を行う機能を持つ。また、実行する処理の選択方法が異なる。本実施形態に係るデータロガー200は、比較データと前回比較データが「閾値内」、「上限以上」、及び「下限以下」の3値を取るため、それらの組み合わせ数である9通りの処理の中から、実行する処理を選択することが可能である。   The control unit 203 has a function of updating the previous measurement value stored in the previous measurement value storage unit 204 in addition to the same function as the control unit 105 according to the first embodiment. Moreover, the selection method of the process to perform differs. In the data logger 200 according to the present embodiment, the comparison data and the previous comparison data take three values of “within threshold”, “above the upper limit”, and “below the lower limit”. It is possible to select a process to be executed from among them.

本実施の形態において、適正外時間計算部205は、3つの構成部すなわち、上限以上時間加算部211、下限以下時間加算部212、及び計測間隔加算部111を含む。制御部203は、この各構成部で行われる計測間隔加算処理、上限以上時間加算処理、及び下限以下時間加算処理を選択する。   In the present embodiment, the appropriate outside time calculation unit 205 includes three components, that is, an upper limit or more time addition unit 211, a lower limit or less time addition unit 212, and a measurement interval addition unit 111. The control unit 203 selects a measurement interval addition process, an upper-limit upper time addition process, and a lower-lower limit time addition process performed by each component.

図13は、第2実施形態における制御部203での処理の選択方法を示した図である。図13によると、データロガー200は、前回比較データと比較データが共に「上限以上」又は「下限以下」となるときに計測間隔加算処理を実行する。データロガー200は、前回比較データと比較データが異なり、いずれか一方が「上限以上」の場合に上限以上時間加算処理を実行する。データロガー200は、前回比較データと比較データが異なり、いずれか一方が「下限以下」の場合に下限以下時間加算処理を実行する。   FIG. 13 is a diagram showing a process selection method in the control unit 203 in the second embodiment. According to FIG. 13, the data logger 200 executes the measurement interval addition process when both the previous comparison data and the comparison data are “above the upper limit” or “below the lower limit”. When the comparison data is different from the previous comparison data and one of them is “above the upper limit”, the data logger 200 executes the time addition process over the upper limit. The data logger 200 executes the lower limit lower time addition process when the comparison data is different from the previous comparison data and either one is “lower limit or lower”.

各処理は、各構成部が実行要求を受信したときに実行される。つまり、制御部203は、前回比較データと比較データが共に「上限以上」又は「下限以下」となる場合に、実行要求の送信先を計測間隔加算部111に決定し、送信する。また、制御部203は、前回比較データと比較データが異なり、いずれか一方が「下限以下」の場合に実行要求の送信先を下限以下時間加算部212に決定し、送信する。また、制御部203は、前回比較データと比較データが異なり、いずれか一方が「上限以上」の場合に上限以上時間加算部211に、実行要求の送信先を決定し、送信する。   Each process is executed when each component receives an execution request. That is, when both the previous comparison data and the comparison data are “above the upper limit” or “below the lower limit”, the control unit 203 determines the transmission destination of the execution request to the measurement interval addition unit 111 and transmits it. Further, when the comparison data is different from the previous comparison data and one of them is “lower than the lower limit”, the control unit 203 determines the transmission destination of the execution request to the lower limit lower time addition unit 212 and transmits it. In addition, when the comparison data is different from the previous comparison data and one of them is “above the upper limit”, the control unit 203 determines the destination of the execution request and transmits it to the upper limit or more time addition unit 211.

前回計測値記憶部204は、現在、制御部203による処理の対象になっている計測値の計測時の一つ前、つまり前回の計測時の計測値である前回計測値を記憶する。前回計測値記憶手部204の記憶する前回計測値は、上限以上時間加算部211と下限以下時間加算部212とによって参照又は取得され、制御部203によって更新される。   The previous measurement value storage unit 204 stores the previous measurement value that is the previous measurement value at the time of measurement of the measurement value currently being processed by the control unit 203, that is, the measurement value at the previous measurement. The previous measurement value stored in the previous measurement value storage unit 204 is referred to or acquired by the upper limit time or more time addition unit 211 and the lower limit or less time addition unit 212 and is updated by the control unit 203.

前回計測値記憶部204が記憶する前回計測値は、上限以上時間加算部211と下限以下時間加算部212とによって、適正外時間に加算すべき値を計算するのに使用される。また、前回計測値記憶部204が記憶する前回計測値は、制御部203が実行する処理を選択した後に、その時点の制御部203が持つ計測値で上書き更新される。   The previous measurement value stored in the previous measurement value storage unit 204 is used by the upper limit time addition unit 211 and the lower limit lower time addition unit 212 to calculate a value to be added to the appropriate outside time. Further, the previous measurement value stored in the previous measurement value storage unit 204 is overwritten and updated with the measurement value of the control unit 203 at that time after selecting the process to be executed by the control unit 203.

適正外時間計算部205は、前述したように、計測毎に比較データ及び前回比較データに基づいた処理を実行する。さらに、適正外時間計算部205は、該処理の結果を用いて適正外時間を計算する。   As described above, the appropriate outside time calculation unit 205 executes processing based on the comparison data and the previous comparison data for each measurement. Furthermore, the appropriate outside time calculation unit 205 calculates the appropriate outside time using the result of the processing.

適正外時間計算部205において、計測間隔加算部111、適正外時間記憶部112、及び計測間隔記憶部113は、第1実施形態と同様の機能を有する。   In the appropriate outside time calculation unit 205, the measurement interval addition unit 111, the appropriate outside time storage unit 112, and the measurement interval storage unit 113 have the same functions as those in the first embodiment.

次に、上限以上時間加算部211及び下限以下時間加算部212について説明する。   Next, the upper limit time addition unit 211 and the lower limit time addition unit 212 will be described.

上限以上時間加算部211は、制御部203から実行要求を受信した際に、前回計測値記憶部204が記憶する前回計測値を参照又は取得し、計測値又は前回計測値のいずれか大きい値と、閾値とを用いて前記適正外時間に加算する値を算出し、加算を行う。   When an execution request is received from the control unit 203, the upper-above upper limit time adding unit 211 refers to or acquires the previous measurement value stored in the previous measurement value storage unit 204, and determines whether the measurement value or the previous measurement value is greater. Then, a value to be added to the appropriate outside time is calculated using the threshold value, and the addition is performed.

下限以下時間加算部212は、制御部203から実行要求を受信した際に、前回計測値記憶部204が記憶する前回計測値を参照又は取得し、計測値又は前回計測値のいずれか小さい値と、閾値とを用いて前記適正外時間に加算する値を算出し、加算を行う。   When receiving the execution request from the control unit 203, the lower limit lower time addition unit 212 refers to or acquires the previous measurement value stored in the previous measurement value storage unit 204, and determines whether the measurement value or the previous measurement value is smaller. Then, a value to be added to the appropriate outside time is calculated using the threshold value, and the addition is performed.

具体的な例を説明するために、上限以上時間加算部211および制御部203は、計測値又は前回計測値のいずれか大きい値を、以下の式で定義する。

Figure 2012132746
また、下限以下時間加算部212および制御部203は、計測値又は前回計測値のいずれか小さい値を、以下の式で定義する。
Figure 2012132746
この場合において、上限以上時間加算部211は、適正外時間記憶部112が記憶する適正外時間に対して、次の式で計算される値Xを加算する。
Figure 2012132746
例えば上限閾値を21とする図14に示す計測データの場合、3回目のデータ計測時には、Xは以下のように計算される。
Figure 2012132746
以上より、上限以上時間加算部211は、適正外時間記憶部112が記憶する適正外時間に、0.666・・・を加算する。実際には、0.666・・・を適当な所で四捨五入する等すればよい。 In order to describe a specific example, the upper-limit time addition unit 211 and the control unit 203 define a larger value of the measured value or the previous measured value by the following equation.
Figure 2012132746
Also, the lower limit lower time adding unit 212 and the control unit 203 define a smaller value of the measured value or the previous measured value by the following equation.
Figure 2012132746
In this case, the upper limit time or more time adding unit 211 adds the value X calculated by the following expression to the appropriate outside time stored in the appropriate outside time storage unit 112.
Figure 2012132746
For example, in the case of the measurement data shown in FIG. 14 where the upper limit threshold is 21, X is calculated as follows at the time of the third data measurement.
Figure 2012132746
As described above, the upper limit time addition unit 211 adds 0.666... To the appropriate outside time stored in the appropriate outside time storage unit 112. Actually, 0.666... May be rounded off at an appropriate place.

また、下限以下時間加算部212は、適正外時間記憶部112が記憶する適正外時間に対して、次の式で計算される値Yを加算する。

Figure 2012132746
上記の式によれば、上限以上時間加算部211は、加算する値Xを、計測値又は前回計測値のいずれか大きい値から閾値を減じて得た値を、計測値又は前回計測値のいずれか大きい値から他方の値を減じて得た値で除して算出する。 The lower limit lower time adding unit 212 adds the value Y calculated by the following expression to the appropriate outside time stored in the appropriate outside time storage unit 112.
Figure 2012132746
According to the above formula, the upper limit time or more time adding unit 211 calculates the value X to be added by subtracting the threshold value from the larger value of either the measured value or the previous measured value. It is calculated by dividing by the value obtained by subtracting the other value from the larger value.

下限以下時間加算部212は、加算する値Yを、閾値から計測値又は前回計測値のいずれか小さい値を減じて得た値を、計測値又は前回計測値のいずれか大きい値から他方の値を減じて得た値で除して算出する。   The lower limit lower time adding unit 212 obtains the value Y to be added by subtracting the smaller one of the measured value or the previous measured value from the threshold value, and the other value from the larger value of the measured value or the previous measured value. Calculated by dividing by the value obtained by subtracting.

なお、上記の式はあくまで、加算する値を算出するための一例である。   The above formula is merely an example for calculating the value to be added.

図15は、上限以上時間加算処理を行う理由について説明するための図である。図15は、上限閾値を21℃とする対象物の温度をデータロガーで計測したデータをグラフ化した例である。縦軸は計測値である温度である。横軸は何回目の計測かを表す計測回数である。図15を参照すると、計測回数につき1回目から2回目にかけて、測定値が閾値内から上限以上に変化している。   FIG. 15 is a diagram for explaining the reason for performing the time addition processing above the upper limit. FIG. 15 is an example of graphing data obtained by measuring the temperature of an object with an upper limit threshold of 21 ° C. using a data logger. The vertical axis represents the temperature that is the measured value. The horizontal axis is the number of times of measurement representing the number of times of measurement. Referring to FIG. 15, the measured value changes from the threshold value to the upper limit or more from the first time to the second time for the number of times of measurement.

このとき、図15においてMH(上記で定義した計測値又は前回計測値のいずれか大きい値)となる点をA、ML(上記で定義した計測値又は前回計測値のいずれか小さい値)となる点をBとする。また、Aを通り横軸に垂直な線とBを通り横軸に平行な線の交点をC、直線ABと閾値線の交点をD、Aを通り横軸に垂直な線と閾値線の交点をEとすると、相似する2つの三角形ABCと三角形ADEから、計測間隔1に対して上記の式で計算されるXだけ、適正外環境に置かれたと推定できる。図14を参照して説明した上述の例で言うと、計測間隔1に対して0.666・・・だけ適正外環境に置かれたと推定できる。測定値が下限以下に変化する場合には、同様に計測間隔1に対して上述の式で計算されるYだけ適正外環境に置かれた時間を推定できる。   At this time, in FIG. 15, the points that become MH (the measured value defined above or the previous measured value, whichever is larger) are A and ML (the smaller measured value defined above or the previous measured value). Let B be the point. Also, the intersection of a line passing through A and perpendicular to the horizontal axis and a line passing through B and parallel to the horizontal axis is C, the intersection of straight line AB and the threshold line is D, and the intersection of the line passing through A and the vertical axis is the threshold line. If E is E, it can be estimated from two similar triangles ABC and ADE that only X calculated by the above formula for the measurement interval 1 is placed in the proper outside environment. In the example described with reference to FIG. 14, it can be estimated that 0.666... When the measured value changes below the lower limit, it is possible to similarly estimate the time spent in the environment outside the proper amount by Y calculated by the above formula for the measurement interval 1.

次に、第2実施形態の動作について詳細に説明する。   Next, the operation of the second embodiment will be described in detail.

第2実施形態における全体動作は、図8に示す第1の実施形態と同様である。したがって、図8は、第2の実施形態の動作説明でも使用される。ただし、第2実施形態における動作は、第1実施形態と比較して、比較データ取得ステップ、選択ステップ、及び実行ステップが異なる。
図16は、第2実施形態の比較データ取得ステップにおいて比較データを求める処理の例を示すフローチャート図である。
S201A:制御部203は、閾値比較部201に計測値を含む比較要求を送る。閾値比較部201はこれを受け取り、S202Aへ進む。
S202A:閾値比較部201は、閾値記憶部102が記憶する閾値を取得し、S203Aへ進む。閾値は、上限閾値と下限閾値とを含む。
S203A:閾値比較部201は、S202Aで取得した上限閾値と計測値を比較する。上限閾値>=計測値となるときS205へ進み、上限閾値<計測値となるときにS204Aへ進む。
S204A:閾値比較部201は、比較データとして「上限以上」を制御部203に送る。制御部203は「上限以上」を受け取り、処理を終了する。
S205A:閾値比較部201はS202Aで取得した下限閾値と計測値を比較する。下限閾値<=計測値となるときはS207Aへ進み、下限閾値>計測値となるときはS206Aへ進む。
S206A:閾値比較部201は、比較データとして「下限以下」を制御部203に送る。制御部203は「下限以下」を受け取り、処理を終了する。
S207A:閾値比較部201は、比較データとして「閾値内」を制御部203に送る。制御部203は「閾値内」を受け取り、処理を終了する。
The overall operation in the second embodiment is the same as that of the first embodiment shown in FIG. Therefore, FIG. 8 is also used in the description of the operation of the second embodiment. However, the operation in the second embodiment is different from the first embodiment in the comparison data acquisition step, the selection step, and the execution step.
FIG. 16 is a flowchart illustrating an example of processing for obtaining comparison data in the comparison data acquisition step of the second embodiment.
S201A: The control unit 203 sends a comparison request including a measurement value to the threshold value comparison unit 201. The threshold comparison unit 201 receives this and proceeds to S202A.
S202A: The threshold comparison unit 201 acquires the threshold stored in the threshold storage unit 102, and proceeds to S203A. The threshold value includes an upper threshold value and a lower threshold value.
S203A: The threshold comparison unit 201 compares the measured value with the upper limit threshold acquired in S202A. When upper limit threshold> = measured value, the process proceeds to S205, and when upper limit threshold <measured value, the process proceeds to S204A.
S <b> 204 </ b> A: The threshold comparison unit 201 sends “over the upper limit” as comparison data to the control unit 203. The control unit 203 receives “above the upper limit” and ends the process.
S205A: The threshold comparison unit 201 compares the measured value with the lower limit threshold acquired in S202A. When the lower limit threshold <= measured value, the process proceeds to S207A, and when the lower limit threshold> measured value, the process proceeds to S206A.
S206A: The threshold comparison unit 201 sends “below the lower limit” to the control unit 203 as comparison data. The control unit 203 receives “below the lower limit” and ends the process.
S207A: The threshold comparison unit 201 sends “within threshold” as comparison data to the control unit 203. The control unit 203 receives “within threshold” and ends the process.

図17は、第2実施形態における選択ステップと実行ステップの動作の詳細を示すフローチャート図である。
S401A:制御部203は、S200で取得した比較データとS300で取得した前回比較データが共に「閾値内」であるかを判定する。共に「閾値内」であったときは処理を終了する。それ以外の場合、S402Aへ進む。
S402A:制御部203は、比較データと前回比較データが同じかを判定する。同じ場合は、制御部203は、計測間隔加算部111へ実行要求を送信しS501Aへ進み、異なる場合はS403Aへ進む。
S403A:制御部203は、比較データ又は前回比較データが「上限以上」であるかを判定する。いずれかが「上限以上」であった場合は、制御部203は上限以上時間加算部211へ実行要求を送信しS503Aへ進み、「上限以上」でなかった場合はS404Aへ進む。または、いずれも「上限以上」でなかった場合は、判定するまでもなく比較データと前回比較データとのいずれか一方が「下限以下」になると判定し、制御部203は下限以下時間加算部212へ実行要求を送信しS507Aに進んでも良い。
S404A:制御部203は、比較データ又は前回比較データが下限以下であるかを判定する。「下限以下」であった場合は、制御部203は下限以下時間加算部212へ実行要求を送信しS507Aへ進み、「下限以下」でなかった場合は処理を終了する。
S501A:計測間隔加算部111は、計測間隔記憶部113が記憶する計測間隔を参照又は取得し、S502Aへ進む。
S502A:計測間隔加算部111は、適正外時間記憶部112が記憶する適正外時間にS501Aで参照又は取得した計測間隔を加算し、加算した適性外時間を適正外時間記憶部112に記憶して、処理を終了する。
S503A:上限以上時間加算部211は、計測間隔記憶部113が記憶する計測間隔を参照又は取得し、S504Aへ進む。
S504A:上限以上時間加算部211は、前回計測値記憶部204が記憶する前回計測値を参照又は取得し、S505Aへ進む。
S505A:上限以上時間加算部211は、閾値記憶部102が記憶する上限閾値を参照又は取得し、S506Aへ進む。
S506A:上限以上時間加算部211は、適正外時間記憶部112が記憶する適正外時間に、例えば上述の式で計算されるXの値を加算し、加算した適性外時間を適正外時間記憶部112に記憶して、処理を終了する。
S507A:下限以下時間加算部212は、計測間隔記憶部113が記憶する計測間隔を参照又は取得し、S508Aへ進む。
S508A:下限以下時間加算部212は、前回計測値記憶部204が記憶する前回計測値を参照又は取得し、S509Aへ進む。
S509A:下限以下時間加算部212は、閾値記憶部102が記憶する下限閾値を参照又は取得し、S510Aへ進む。
S510A:下限以下時間加算部212は、適正外時間記憶部112が記憶する適正外時間に、例えば上述の式で計算されるYの値を加算し、加算した適性外時間を適正外時間記憶部112に記憶して、処理を終了する。
FIG. 17 is a flowchart showing details of operations of the selection step and the execution step in the second embodiment.
S401A: The control unit 203 determines whether the comparison data acquired in S200 and the previous comparison data acquired in S300 are both “within threshold”. If both are within the threshold, the process is terminated. Otherwise, the process proceeds to S402A.
S402A: The control unit 203 determines whether the comparison data and the previous comparison data are the same. If they are the same, the control unit 203 transmits an execution request to the measurement interval adding unit 111 and proceeds to S501A, and if different, proceeds to S403A.
S403A: The control unit 203 determines whether the comparison data or the previous comparison data is “above the upper limit”. When either is “over the upper limit”, the control unit 203 transmits an execution request to the time addition unit 211 over the upper limit and proceeds to S503A. When it is not “over the upper limit”, the control unit 203 proceeds to S404A. Alternatively, if neither is “over the upper limit”, it is determined that either one of the comparison data and the previous comparison data is “below the lower limit” without determination, and the control unit 203 determines that the lower limit / lower time addition unit 212 is reached. An execution request may be transmitted to S507A.
S404A: The control unit 203 determines whether the comparison data or the previous comparison data is below the lower limit. If it is “below the lower limit”, the control unit 203 transmits an execution request to the time lower than the lower limit adding unit 212 and proceeds to S507A. If it is not “below the lower limit”, the process ends.
S501A: The measurement interval adding unit 111 refers to or acquires the measurement interval stored in the measurement interval storage unit 113, and proceeds to S502A.
S502A: The measurement interval adding unit 111 adds the measurement interval referenced or acquired in S501A to the appropriate outside time stored in the appropriate outside time storage unit 112, and stores the added outside time in the appropriate outside time storage unit 112. The process is terminated.
S503A: More than the upper limit time adding unit 211 refers to or acquires the measurement interval stored in the measurement interval storage unit 113, and proceeds to S504A.
S504A: The upper limit time addition unit 211 refers to or acquires the previous measurement value stored in the previous measurement value storage unit 204, and proceeds to S505A.
S505A: The upper limit time or more time adding unit 211 refers to or acquires the upper limit threshold value stored in the threshold value storage unit 102, and proceeds to S506A.
S506A: The upper limit time addition unit 211 adds the value of X calculated by, for example, the above formula to the appropriate outside time stored in the appropriate outside time storage unit 112, and adds the added outside time to the appropriate outside time storage unit. 112, and the process ends.
S507A: The lower limit lower time addition unit 212 refers to or acquires the measurement interval stored in the measurement interval storage unit 113, and proceeds to S508A.
S508A: The lower limit lower time addition unit 212 refers to or acquires the previous measurement value stored in the previous measurement value storage unit 204, and proceeds to S509A.
S509A: The lower limit lower time addition unit 212 refers to or acquires the lower limit threshold value stored in the threshold value storage unit 102, and proceeds to S510A.
S510A: The below-lower limit time adding unit 212 adds, for example, the value of Y calculated by the above formula to the appropriate outside time stored in the appropriate outside time storage unit 112, and adds the added outside time to the appropriate outside time storage unit. 112, and the process ends.

以上のように、本実施の形態に係るデータロガー200によれば、より詳細に適正外環境に置かれた時間を推定することが可能となる。その理由は、制御部203が、比較データと前回比較データとの組み合わせごとに別々の処理を選択することができるからである。具体的には、制御部203は、比較データと前回比較が共に「上限以上」又は「下限以下」となる場合には計測間隔を加算する処理、比較データと前回比較データのいずれか一方が「閾値以上」の場合に例えば上述の式で計算されるXを加算する処理、いずれか一方が「閾値以下」の場合に例えば上述の式で計算されるYを加算する処理を選択することができるからである。   As described above, according to the data logger 200 according to the present embodiment, it is possible to estimate the time spent in the appropriate outside environment in more detail. This is because the control unit 203 can select different processes for each combination of comparison data and previous comparison data. Specifically, the control unit 203 adds the measurement interval when both the comparison data and the previous comparison are “above the upper limit” or “below the lower limit”, and one of the comparison data and the previous comparison data is “ For example, a process of adding X calculated by the above-described formula when “above the threshold” or a process of adding Y calculated by the above-described formula can be selected when either one is “threshold or less”. Because.

<第3実施形態>
図18は、本発明の第3実施形態に係るデータロガー300の機能構成を示すブロック図である。図18を参照すると、本発明の第3実施形態に係るデータロガー300は、閾値比較部103、前回比較データ記憶部104、及び制御部105を含む。
<Third Embodiment>
FIG. 18 is a block diagram showing a functional configuration of a data logger 300 according to the third embodiment of the present invention. Referring to FIG. 18, a data logger 300 according to the third embodiment of the present invention includes a threshold comparison unit 103, a previous comparison data storage unit 104, and a control unit 105.

制御部105は、比較データと前回比較データの組み合わせにより、実行要求の送信先を決定し、比較データを前回比較データとして前回比較データ記憶部104の記憶内容を更新する。   The control unit 105 determines the transmission destination of the execution request based on the combination of the comparison data and the previous comparison data, and updates the storage content of the previous comparison data storage unit 104 using the comparison data as the previous comparison data.

閾値比較部103は、計測対象を所定のタイミングで計測することにより取得される計測値と閾値とを比較し、比較結果として比較データを出力する。   The threshold comparison unit 103 compares the measurement value acquired by measuring the measurement target at a predetermined timing with the threshold, and outputs comparison data as a comparison result.

前回比較データ記憶部104は、計測値の計測時の一つ前の計測時の比較データである前回比較データを記憶する。   The previous comparison data storage unit 104 stores previous comparison data that is comparison data at the time of measurement immediately before measurement value measurement.

制御部105は、比較データと前回比較データの組み合わせに応じた適正外時間を算出するための実行要求を発生し、比較データを前回比較データとして前回比較データ記憶部104の記憶内容を更新する。   The control unit 105 generates an execution request for calculating an inappropriate outside time according to the combination of the comparison data and the previous comparison data, and updates the storage content of the previous comparison data storage unit 104 using the comparison data as the previous comparison data.

適正外時間計算部106は、実行要求に基づいて、適正外時間を算出する。   The appropriate outside time calculation unit 106 calculates an appropriate outside time based on the execution request.

本実施の形態に係るデータロガー300によれば、対象物が適正外環境に置かれた時間についての信頼性の高い算出が可能となる。   According to the data logger 300 according to the present embodiment, it is possible to calculate with high reliability with respect to the time when the object is placed in an environment outside the proper environment.

以上、実施の形態を参照して本発明を説明したが、本発明は以上の実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で同業者が理解し得る様々な変更をすることができる。   The present invention has been described above with reference to the embodiment, but the present invention is not limited to the above embodiment. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

図19は、本発明の各実施形態に係るデータロガーのハードウェア構成の一例を示すブロック図である。図19に示すように、本発明の実施形態に係るデータロガーを構成する各部は、CPU(Central Processing Unit)1、ネットワーク接続用の通信IF2(インターフェース2)、メモリ3、プログラムを格納するハードディスク等の記憶装置4を含む、コンピュータ装置によって実現される。ただし、本発明の実施形態に係るデータロガーの構成は、図19に示すコンピュータ装置に限定されない。   FIG. 19 is a block diagram illustrating an example of a hardware configuration of a data logger according to each embodiment of the present invention. As shown in FIG. 19, each unit configuring the data logger according to the embodiment of the present invention includes a CPU (Central Processing Unit) 1, a network connection communication IF 2 (interface 2), a memory 3, a hard disk for storing a program, and the like. This is realized by a computer device including the storage device 4. However, the configuration of the data logger according to the embodiment of the present invention is not limited to the computer apparatus shown in FIG.

CPU1は、オペレーティングシステムを動作させて本発明の各実施形態に係るデータロガーの全体を制御する。また、CPUは、例えばドライブ装置などに装着された記録媒体からメモリにプログラムやデータを読み出し、これにしたがって各種の処理を実行する。   The CPU 1 operates the operating system to control the entire data logger according to each embodiment of the present invention. Further, the CPU reads a program and data into a memory from a recording medium mounted on, for example, a drive device, and executes various processes according to the program and data.

記録装置4は、例えば光ディスク、フレキシブルディスク、磁気光ディスク、外付けハードディスク、半導体メモリ等であって、コンピュータプログラムをコンピュータ読み取り可能に記録する。また、コンピュータプログラムは、通信網に接続されている図示しない外部コンピュータからダウンロードされても良い。   The recording device 4 is, for example, an optical disk, a flexible disk, a magnetic optical disk, an external hard disk, a semiconductor memory, etc., and records a computer program so that it can be read by a computer. The computer program may be downloaded from an external computer (not shown) connected to the communication network.

なお、これまでに説明した各実施形態において利用するブロック図は、ハードウェア単位の構成ではなく、機能単位のブロックを示している。これらの機能ブロックはハードウェア、ソフトウェアの任意の組み合わせによって実現される。また、本発明の各実施形態に係るデータロガーの構成部の実現手段は特に限定されない。すなわち、本発明の各実施形態に係るデータロガーは、物理的に結合した一つの装置により実現されても良いし、物理的に分離した二つ以上の装置を有線又は無線で接続し、これら複数の装置により実現されても良い。   In addition, the block diagram utilized in each embodiment described so far has shown the block of a functional unit instead of the structure of a hardware unit. These functional blocks are realized by any combination of hardware and software. In addition, the means for realizing the constituent parts of the data logger according to each embodiment of the present invention is not particularly limited. That is, the data logger according to each embodiment of the present invention may be realized by one physically coupled device, or two or more physically separated devices may be connected by wire or wirelessly. It may be realized by the apparatus.

本発明のプログラムは、上記の各実施形態で説明した各動作を、コンピュータに実行させるプログラムであれば良い。   The program of the present invention may be a program that causes a computer to execute the operations described in the above embodiments.

本発明は、環境計測や物品の品質管理に用いられるデータロガーに適用できる。また、データロガーの機能を有するRFIDタグにも適用可能である。また一般的なデータロガーのように毎回の計測結果を保存する記憶装置を持たない計測機器においても、本発明の方法を利用することにより、計測の対象物の適正外の環境に置かれた時間を知ることができ、品質管理を行うことが可能となる。   The present invention can be applied to a data logger used for environmental measurement and article quality control. The present invention can also be applied to an RFID tag having a data logger function. In addition, even in a measuring instrument that does not have a storage device for storing measurement results every time, such as a general data logger, by using the method of the present invention, the time spent in the environment outside the proper object of measurement And quality control can be performed.

1 CPU
2 通信IF
3 メモリ
4 記憶装置
100 データロガー
101 計測部
102 閾値記憶部
103 閾値比較部
104 前回比較データ記憶部
105 制御部
106 適正外時間計算部
111 計測間隔加算部
112 適正外時間記憶部
113 計測間隔記憶部
200 データロガー
201 閾値比較部
202 前回比較データ記憶部
203 制御部
204 前回計測値記憶部
205 適正外時間計算部
211 上限以上時間加算部
212 下限以下時間加算部
300 データロガー
1 CPU
2 Communication IF
3 Memory 4 Storage Device 100 Data Logger 101 Measurement Unit 102 Threshold Storage Unit 103 Threshold Comparison Unit 104 Previous Comparison Data Storage Unit 105 Control Unit 106 Appropriate Outside Time Calculation Unit 111 Measurement Interval Addition Unit 112 Appropriate Outside Time Storage Unit 113 Measurement Interval Storage Unit 200 Data logger 201 Threshold comparison unit 202 Previous comparison data storage unit 203 Control unit 204 Previous measurement value storage unit 205 Non-appropriate time calculation unit 211 Upper limit time addition unit 212 Lower limit lower time addition unit 300 Data logger

Claims (8)

計測対象を所定のタイミングで計測することにより取得される計測値と閾値とを比較し、比較結果として比較データを出力する閾値比較手段と、
前記計測値の計測時の一つ前の計測時の比較データである前回比較データを記憶する前回比較データ記憶手段と、
前記比較データと前記前回比較データの組み合わせに応じた適正外時間を算出するための実行要求を発生し、前記比較データを前回比較データとして前記前回比較データ記憶手段の記憶内容を更新する制御手段と、
前記実行要求に基づいて、計測対象が適正外の環境に置かれていた時間である前記適正外時間の合計を算出する適正外時間計算手段と、
を含むデータロガー。
A threshold value comparing means for comparing a measurement value acquired by measuring a measurement object at a predetermined timing with a threshold value and outputting comparison data as a comparison result;
Previous comparison data storage means for storing previous comparison data which is comparison data at the time of the previous measurement at the time of measurement of the measurement value;
A control unit that generates an execution request for calculating an appropriate outside time according to a combination of the comparison data and the previous comparison data, and updates the storage content of the previous comparison data storage unit using the comparison data as the previous comparison data; ,
Based on the execution request, appropriate outside time calculation means for calculating the total of the appropriate outside time, which is the time during which the measurement target has been placed in an environment outside the appropriate state,
A data logger containing
前記適正外時間計算手段は、
計測対象が、閾値内の環境に置かれていなかった時間である適正外時間を記憶する適正外時間記憶手段と、
前記制御手段から前記実行要求を受信した際に、前記適正外時間に計測間隔を加算する計測間隔加算手段と、
をさらに含む請求項1に記載のデータロガー。
The appropriate outside time calculating means includes:
A proper outside time storage means for storing a proper outside time that is a time during which the measurement target has not been placed in the environment within the threshold;
When receiving the execution request from the control unit, a measurement interval addition unit that adds a measurement interval to the appropriate outside time;
The data logger of claim 1 further comprising:
前記閾値比較手段は、前記比較データとして前記計測値が閾値内か閾値外かを示すデータを出力する手段であって、
前記制御手段は、前回比較データと比較データが共に閾値内となる場合以外のときに、前記実行要求の送信先を前記計測間隔加算手段に決定し、送信する、
請求項2に記載のデータロガー。
The threshold value comparison means is means for outputting data indicating whether the measured value is within a threshold value or outside a threshold value as the comparison data,
The control means determines and transmits the transmission destination of the execution request to the measurement interval addition means when the previous comparison data and the comparison data are both within the threshold value,
The data logger according to claim 2.
前記閾値比較手段は、前記閾値として上限閾値と下限閾値とを取得し、前記比較データとして閾値内か上限以上か下限以下かを示すデータを出力する手段であって、
前記計測値の計測時の一つ前の計測時の計測値である前回計測値を記憶する前回計測値記憶手段をさらに含み、
前記適正外時間計算手段は、
前記制御手段から前記実行要求を受信した際に、計測値又は前回計測値のいずれか小さい値と、閾値とを用いて前記適正外時間に加算する値を算出し、加算を行う下限以下時間加算手段と、
前記制御手段から前記実行要求を受信した際に、計測値又は前回計測値のいずれか大きい値と、閾値とを用いて前記適正外時間に加算する値を算出し、加算を行う上限以上時間加算手段と、をさらに含み、
前記制御手段は、前回比較データと比較データが共に上限以上又は下限以下となる場合に計測間隔加算手段に、前回比較データと比較データのいずれか一方が下限以下の場合に下限以下時間加算手段に、いずれか一方が上限以上の場合に上限以上時間加算手段に、前記実行要求の送信先を決定し、送信する、
請求項2に記載のデータロガー。
The threshold comparison means is means for acquiring an upper limit threshold and a lower limit threshold as the threshold, and outputting data indicating whether the comparison data is within the threshold, above the upper limit or below the lower limit,
A previous measurement value storage means for storing a previous measurement value that is a measurement value at the time of the previous measurement at the time of measurement of the measurement value;
The appropriate outside time calculating means includes:
When the execution request is received from the control means, a value to be added to the inappropriate outside time is calculated using a smaller value of the measured value or the previous measured value and a threshold value, and the time is added below the lower limit for addition. Means,
When the execution request is received from the control means, a value to be added to the inappropriate outside time is calculated using a larger value of the measured value or the previous measured value and a threshold value, and the time is added for the time exceeding the upper limit for addition. Means further comprising:
The control means is used as a measurement interval adding means when both the previous comparison data and the comparison data are equal to or higher than the upper limit or lower than the lower limit, and is used as a lower limit lower time addition means when either of the previous comparison data and the comparison data is lower than the lower limit. , When either one is greater than or equal to the upper limit, the transmission destination of the execution request is determined and transmitted to the time addition means over the upper limit.
The data logger according to claim 2.
前記下限以下時間加算手段は、前記加算する値を、閾値から計測値又は前回計測値のいずれか小さい値を減じて得た値を、計測値又は前回計測値のいずれか大きい値から他方の値を減じて得た値で除して算出し、
前記上限以上時間加算手段は、前記加算する値を、計測値又は前回計測値のいずれか大きい値から閾値を減じて得た値を、計測値又は前回計測値のいずれか大きい値から他方の値を減じて得た値で除して算出する、
請求項4に記載のデータロガー。
The lower limit lower time adding means obtains the value to be added by subtracting the smaller one of the measured value or the previous measured value from the threshold value, and the other value from the larger value of the measured value or the previous measured value. Divided by the value obtained by subtracting
The above-mentioned upper limit time adding means obtains the value to be added by subtracting the threshold value from the larger value of either the measured value or the previous measured value, and the other value from the larger value of the measured value or the previous measured value. Divided by the value obtained by subtracting
The data logger according to claim 4.
前記計測間隔加算手段は、加算後の適正外時間を出力する、
請求項2〜5に記載のデータロガー。
The measurement interval adding means outputs an appropriate outside time after addition,
The data logger according to claim 2.
計測対象を所定のタイミングで計測することにより取得される計測値と閾値とを比較し、比較結果として比較データを出力し、
前記計測値の計測時の一つ前の計測時の比較データである前回比較データを記憶し、
前記比較データと前記前回比較データの組み合わせに応じた適正外時間を算出するための実行要求を発生し、前記比較データを前回比較データとして前記記憶の内容を更新し、
前記実行要求に基づいて、計測対象が適正外の環境に置かれていた時間である前記適正外時間の合計を算出する、
データロガーの計測処理方法。
Compare the measured value obtained by measuring the measurement target at a predetermined timing and the threshold, and output the comparison data as the comparison result.
Storing the previous comparison data which is comparison data at the time of the previous measurement at the time of measurement of the measurement value,
An execution request for calculating an appropriate outside time according to the combination of the comparison data and the previous comparison data is generated, and the content of the storage is updated using the comparison data as the previous comparison data,
Based on the execution request, a total of the appropriate outside time, which is a time during which the measurement target has been placed in an inappropriate environment, is calculated.
Data logger measurement processing method.
コンピュータに、
計測対象を所定のタイミングで計測することにより取得される計測値と閾値とを比較し、比較結果として比較データを出力し、
前記計測値の計測時の一つ前の計測時の比較データである前回比較データを記憶し、
前記比較データと前記前回比較データの組み合わせに応じた適正外時間を算出するための実行要求を発生し、前記比較データを前回比較データとして前記記憶の内容を更新し、
前記実行要求に基づいて、計測対象が適正外の環境に置かれていた時間である前記適正外時間の合計を算出する、
処理を実行させるプログラム。
On the computer,
Compare the measured value obtained by measuring the measurement target at a predetermined timing and the threshold, and output the comparison data as the comparison result.
Storing the previous comparison data which is comparison data at the time of the previous measurement at the time of measurement of the measurement value,
An execution request for calculating an appropriate outside time according to the combination of the comparison data and the previous comparison data is generated, and the content of the storage is updated using the comparison data as the previous comparison data,
Based on the execution request, a total of the appropriate outside time, which is a time during which the measurement target has been placed in an inappropriate environment, is calculated.
A program that executes processing.
JP2010284173A 2010-12-21 2010-12-21 Data logger, measurement processing method of data logger and program Withdrawn JP2012132746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010284173A JP2012132746A (en) 2010-12-21 2010-12-21 Data logger, measurement processing method of data logger and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010284173A JP2012132746A (en) 2010-12-21 2010-12-21 Data logger, measurement processing method of data logger and program

Publications (1)

Publication Number Publication Date
JP2012132746A true JP2012132746A (en) 2012-07-12

Family

ID=46648509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010284173A Withdrawn JP2012132746A (en) 2010-12-21 2010-12-21 Data logger, measurement processing method of data logger and program

Country Status (1)

Country Link
JP (1) JP2012132746A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020229286A1 (en) * 2019-05-10 2020-11-19 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Data logger and method for monitoring an object by using a data logger
GB2585915A (en) * 2019-07-23 2021-01-27 Planer Ltd System and method of automatically logging and compliance-monitoring data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020229286A1 (en) * 2019-05-10 2020-11-19 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Data logger and method for monitoring an object by using a data logger
GB2585915A (en) * 2019-07-23 2021-01-27 Planer Ltd System and method of automatically logging and compliance-monitoring data
GB2585915B (en) * 2019-07-23 2023-01-18 Planer Ltd System and method of automatically logging and compliance-monitoring data

Similar Documents

Publication Publication Date Title
EP3055976B1 (en) Methods and systems for a universal wireless platform for asset monitoring
JP4938695B2 (en) Crack growth evaluation apparatus and crack growth evaluation method
US8738329B2 (en) Calibration method/system and verification method for digital torque tools
JP7237119B2 (en) Management device and program for management device
JP6467181B2 (en) Method and system for dynamic workflow prioritization and tasking
JP2012132746A (en) Data logger, measurement processing method of data logger and program
CN114485760A (en) Sensor calibration method, electronic device, medium, and system
EP2797000A1 (en) Portable electronic device
JP6889136B2 (en) Data transmission device, data transmission method, computer program, data transmission system and data reception device
JP6161367B2 (en) Information processing apparatus, information processing method, and program
CN108154321A (en) Package warehousing method and related equipment, article weighing method and related equipment
TW201812263A (en) Temperature estimation system, temperature estimation method, and recording medium having recorded therein temperature estimation program
US8630826B2 (en) Electronic device and method for controlling probe measurements
JP2008059446A (en) Production control device, production control method, and computer program therefor
US11995617B2 (en) Maintenance method for zirconia-type oxygen analyzer, maintenance system, and zirconia-type oxygen analyzer
JP5811663B2 (en) Time correction apparatus, time correction method, and program
JP6237687B2 (en) Sensor information processing apparatus, sensor information processing method, and sensor information processing program
JP2009187288A (en) Method and device for detecting project modulation
JP5455460B2 (en) Deliverable management device
EP3715973A1 (en) Anomaly detection method and system for process instrument, and storage medium
JP2015152440A (en) Weighing instrument
JP2021080095A (en) Information processing device, information processing program, and information processing system
CN117110636A (en) Data communication processing method, device and system for electronic weighing detection of coal samples
KR102044011B1 (en) Method for error correction of metering data and apparatus thereof
CN117609736A (en) Grain temperature prediction method and device, electronic equipment and storage medium

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: 20140304