JP2009210308A - Measuring device - Google Patents

Measuring device Download PDF

Info

Publication number
JP2009210308A
JP2009210308A JP2008051524A JP2008051524A JP2009210308A JP 2009210308 A JP2009210308 A JP 2009210308A JP 2008051524 A JP2008051524 A JP 2008051524A JP 2008051524 A JP2008051524 A JP 2008051524A JP 2009210308 A JP2009210308 A JP 2009210308A
Authority
JP
Japan
Prior art keywords
calibration value
check code
storage unit
unit
value
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.)
Granted
Application number
JP2008051524A
Other languages
Japanese (ja)
Other versions
JP5286831B2 (en
Inventor
Tetsuya Yoshida
哲也 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Systems Co Ltd filed Critical Fuji Electric Systems Co Ltd
Priority to JP2008051524A priority Critical patent/JP5286831B2/en
Publication of JP2009210308A publication Critical patent/JP2009210308A/en
Application granted granted Critical
Publication of JP5286831B2 publication Critical patent/JP5286831B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a measuring device capable of updating a calibration value in an operation state of the measuring device as it is, to thereby save a repair time of a broken calibration value, and to provide a measuring device having a long lifetime capable of preventing deterioration of a nonvolatile memory caused by updating of the calibration value. <P>SOLUTION: Each group-classified calibration value and each SUM value of each group-classified calibration value are held respectively in an internal memory, and a SUM value to updating data held in a work memory is compared with the SUM value of each group-classified calibration value during operation of the measuring device, and a calibration value corresponding to a different SUM value is rewritten as comparison results. <P>COPYRIGHT: (C)2009,JPO&amp;INPIT

Description

本発明は、電流や電圧あるいは温度などの物理量を計測する計測装置に関する。   The present invention relates to a measuring apparatus that measures physical quantities such as current, voltage, and temperature.

一般に、物理量を計測する計測装置においては、メーカの工場出荷時に、測定対象の基準となる標準器と対照することによって計測装置の指示値を修正するための校正値を求め、この校正値を、計測装置の内部メモリに保持させる(メーカ校正)。
このような計測装置として、例えば、温度を計測して所要の制御を行う温度調節器は、熱電対や測温抵抗体からのアナログ入力信号を、上述のようにして求めた校正値を用いて演算し、温度として出力する。
ところで、このような温度調節器は、経年変化による電子部品の劣化などによって温度指示値が、保証精度範囲から逸脱し精度試験で不合格になる場合がある。このため温度調節器は、メーカ出荷後においても、定期的に校正を実施する必要がある(ユーザ校正)。
一般的に計測装置は、校正値の更新ができるように計測装置に標準器を接続して基準信号を与えるとともに、計測装置に備えられた所定のスイッチを操作することによって、例えば更新を促すフラグ情報などが計測装置の内部回路に与えられて、その基準信号に対する指示値(A/D変換値など)が内部メモリに取り込まれるように構成されている。(例えば、特許文献1を参照)。この特許文献1に記載された計測装置は、内部メモリに保持された校正値がユーザの所要の操作によって書き換えられるようにしているとともに、ユーザによる校正が行われたことが表示されるように構成されている。
特開平9−101183号公報
In general, in a measurement device that measures physical quantities, a calibration value for correcting the indicated value of the measurement device is obtained by comparing with a standard device that is a reference of a measurement object at the time of shipment from the manufacturer. Store in the internal memory of the measuring device (manufacturer calibration).
As such a measuring device, for example, a temperature regulator that measures temperature and performs necessary control uses an analog input signal from a thermocouple or a resistance temperature detector using the calibration value obtained as described above. Calculate and output as temperature.
By the way, in such a temperature controller, the temperature indication value may deviate from the guaranteed accuracy range due to deterioration of electronic components due to aging, and may fail in the accuracy test. For this reason, it is necessary to periodically calibrate the temperature controller even after shipment from the manufacturer (user calibration).
In general, a measurement device connects a standard device to a measurement device so that a calibration value can be updated, gives a reference signal, and operates a predetermined switch provided in the measurement device, for example, a flag that prompts an update. Information or the like is given to an internal circuit of the measuring device, and an instruction value (A / D conversion value or the like) for the reference signal is taken into an internal memory. (For example, see Patent Document 1). The measuring device described in Patent Document 1 is configured so that a calibration value held in an internal memory is rewritten by a user's required operation and that the user's calibration is displayed. Has been.
JP-A-9-101183

上述のように求めた校正値は、例えば、入力信号の下限に対しての校正値や、入力信号の上限に対しての校正値などのように複数のデータにて構成されることが多く、この複数のデータを内部メモリ(不揮発性メモリなど)に保持させる必要がある。したがって従来の計測装置は、内部メモリに保持させた一部の校正値が何らかの原因にて破損してしまった場合、全ての校正作業をやり直す必要があった。この作業量は、計測装置の校正項目毎(例えば、熱電対はチャネル毎)に行わなければならず煩雑であった。
また、メーカ校正時に内部メモリに保持させた校正値がユーザ校正にて書き換えられると、メーカ校正時の校正値が消滅してしまい、メーカ校正時の状態に戻すことができないという問題があった。
また、システムの一部としてユーザに納入された計測装置の校正値の更新が異常終了してしまうと、計測装置の計測処理が実行できなくなり、システムを停止する必要がある。この場合、再度計測装置を校正して校正値を更新し、計測処理が実行できるようになるまで計測処理が実行できないためシステムを稼動させることができないという問題もあった。すなわち、システムの連続運転を必要とするユーザにとって、この校正値の更新は大きな障害(失敗した時のリスク)となっていた。
The calibration value obtained as described above is often composed of a plurality of data such as a calibration value for the lower limit of the input signal and a calibration value for the upper limit of the input signal. It is necessary to hold the plurality of data in an internal memory (nonvolatile memory or the like). Therefore, in the conventional measuring apparatus, when a part of calibration values held in the internal memory is damaged for some reason, it is necessary to redo all the calibration operations. This amount of work has to be done for each calibration item of the measuring device (for example, for each thermocouple channel), which is complicated.
Further, when the calibration value held in the internal memory at the time of the manufacturer calibration is rewritten by the user calibration, the calibration value at the time of the manufacturer calibration disappears and there is a problem that it cannot be restored to the state at the time of the manufacturer calibration.
Further, if the update of the calibration value of the measuring device delivered to the user as a part of the system ends abnormally, the measurement processing of the measuring device cannot be executed, and the system needs to be stopped. In this case, there is also a problem that the system cannot be operated because the measurement process cannot be executed until the measurement apparatus can be executed again by calibrating the measurement device again to update the calibration value. That is, for users who require continuous operation of the system, this calibration value update has been a major obstacle (risk of failure).

また、従来の計測装置は、計測装置の所定のスイッチを操作すると、内部メモリ(不揮発性メモリなど)に保持された校正値の更新を促すフラグが内部回路に伝達されるよう構成されている。このようにフラグがセットされたか否かによって更新処理を実行するように構成された従来の計測装置は、校正値そのものが変化したものか否かを判断することができない。もちろん、更新を目的とする校正値が現在保持されている校正値と同一であった場合や、不手際にてフラグがセットされてしまったように校正値の更新処理が不要である場合でも従来の計測装置は、フラグがセットされる度に更新処理を実行しなければならなかった。このため、この種の計測装置は、不揮発性メモリの書き換え頻度が高く、その寿命を大きく短縮させてしまうという問題があった。
一方、前述したような不要な校正値の更新を避けるため、現在保持されている校正値と更新を目的とする校正値そのものを比較し、校正値の変化を検出する方法も考えられる。しかし、このような方法では校正値の量に応じて、その比較時間が増大するという問題もあった。
更に従来の計測装置は、内部メモリに保持された校正値が破損していた場合、誤った校正値にて校正してしまうため、計測装置の誤動作を招く原因となる。これは、計測装置を実際に稼動させてみて初めて異常に気付くことが多い。更にシステムは誤った校正値を基に動作し、それ故システムが異常な挙動をする可能性もある。そして、異常な挙動のみでは、原因究明に多大な時間を要することも否めなかった。
Further, the conventional measuring apparatus is configured such that when a predetermined switch of the measuring apparatus is operated, a flag for prompting the update of the calibration value held in the internal memory (nonvolatile memory or the like) is transmitted to the internal circuit. The conventional measuring apparatus configured to execute the update process depending on whether or not the flag is set in this way cannot determine whether or not the calibration value itself has changed. Of course, even if the calibration value for the purpose of updating is the same as the calibration value that is currently held, or when the updating process of the calibration value is unnecessary as if the flag was accidentally set, The measuring device had to execute an update process every time the flag was set. For this reason, this type of measuring apparatus has a problem that the rewrite frequency of the nonvolatile memory is high, and the life thereof is greatly shortened.
On the other hand, in order to avoid an unnecessary update of the calibration value as described above, a method of detecting a change in the calibration value by comparing the calibration value currently held with the calibration value itself for the update is also conceivable. However, such a method has a problem that the comparison time increases in accordance with the amount of the calibration value.
Furthermore, the conventional measuring apparatus calibrates with an incorrect calibration value when the calibration value held in the internal memory is damaged, which causes a malfunction of the measuring apparatus. This is often noticed only when the measuring device is actually operated. In addition, the system operates based on incorrect calibration values, and therefore the system may behave abnormally. And it was undeniable that the abnormal investigation alone required a great deal of time to investigate the cause.

本発明は、上記のような問題点を鑑みてなされたものであり、その目的は、破損した校正値の修復時間を節約し、不要な校正値の更新を防止する計測装置を提供することにある。
また、本発明は、校正値の更新が異常終了しても、継続して計測処理を実行できる信頼性の高い計測装置を提供することにある。
更に本発明は、破損した校正値を初期起動時に検出したとき、計測装置を稼動せずに(計測を実行しない)、その破損した校正値を的確に通知する信頼性の高い計測装置を提供することにある。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a measuring device that saves time for repairing a damaged calibration value and prevents unnecessary updating of the calibration value. is there.
It is another object of the present invention to provide a highly reliable measurement apparatus that can continuously perform measurement processing even when the calibration value update ends abnormally.
Furthermore, the present invention provides a highly reliable measurement device that accurately notifies the damaged calibration value without operating the measurement device (not performing measurement) when a damaged calibration value is detected at the initial startup. There is.

上述した目的を達成するため本発明の請求項1に係る計測装置は、校正値およびこの校正値の正当性を検証するための第一のチェックコードを保持する第一の記憶部と、校正値を保持する第二の記憶部と、この第二の記憶部に校正値を転送する第一の転送手段と、第二の記憶部に保持された校正値からこの校正値の正当性を検証するための第二のチェックコードを所定の周期で算出するチェックコード算出手段と、この算出された第二のチェックコードと第一のチェックコードとを比較するチェックコード比較手段と、このチェックコード比較手段によって第一のチェックコードと第二のチェックコードとが相違したと判定されたとき、第二の記憶部に保持された校正値および第二のチェックコードを第一の記憶部にそれぞれ転送する第二の転送手段とを備えることを特徴とする。
請求項2に係る計測装置は、校正値およびこの校正値の正当性を検証するための第一のチェックコードを保持する第一の記憶部と、第一の記憶部よりもアクセスタイムが速い第二の記憶部と、第二の記憶部に校正値および第一のチェックコードを転送する第一の転送手段と、第二の記憶部に保持された校正値からこの校正値の正当性を検証するための第二のチェックコードを所定の周期で算出するチェックコード算出手段と、この算出された第二のチェックコードと第二の記憶部に保持された第一のチェックコードとを比較するチェックコード比較手段と、このチェックコード比較手段によって第一のチェックコードと第二のチェックコードとが相違したと判定されたとき、第二の記憶部に保持された校正値および第二のチェックコードを第一の記憶部にそれぞれ転送する第二の転送手段とを備えることを特徴とする。
In order to achieve the above-described object, a measuring apparatus according to claim 1 of the present invention includes a first storage unit that holds a calibration value and a first check code for verifying the validity of the calibration value, and a calibration value. A second storage unit for holding the calibration value, first transfer means for transferring the calibration value to the second storage unit, and verification of the validity of the calibration value from the calibration value held in the second storage unit Check code calculating means for calculating the second check code for the predetermined cycle, check code comparing means for comparing the calculated second check code and the first check code, and the check code comparing means When it is determined that the first check code and the second check code are different from each other, the calibration value held in the second storage unit and the second check code are transferred to the first storage unit, respectively. Second Characterized in that it comprises a feed means.
The measuring device according to claim 2 includes a first storage unit that holds a calibration value and a first check code for verifying the validity of the calibration value, and a first storage unit that has a faster access time than the first storage unit. The correctness of the calibration value is verified from the second storage unit, the first transfer means for transferring the calibration value and the first check code to the second storage unit, and the calibration value held in the second storage unit. Check code calculating means for calculating a second check code for performing at a predetermined cycle, and a check for comparing the calculated second check code with the first check code held in the second storage unit When it is determined that the first check code and the second check code are different by the code comparison means and the check code comparison means, the calibration value and the second check code held in the second storage unit are First Characterized in that it comprises a second transfer means for transferring the storage unit respectively.

請求項3に記載の計測装置は、校正値およびこの校正値の正当性を検証するための第一のチェックコードを複数の所定のグループに予め分類してそれぞれ保持し、計測装置の初期起動時に、予め分類して保持された校正値毎に各校正値の正当性を検証するチェックコードをそれぞれ算出するチェックコード算出手段と、このチェックコード算出手段によって算出された複数のチェックコードとこのチェックコードに対応する第一のチェックコードとをそれぞれ比較するチェックコード比較手段と、このチェックコード比較手段によってチェックコードが相違したと判定されたとき、相違したチェックコードが含まれるグループを通知する通知手段とを備えることを特徴とする。
請求項4に記載の計測装置は、 請求項1または請求項2に記載の計測装置であり、第一の記憶部は、予め複数の所定のグループに分類された校正値および第一のチェックコードをそれぞれ保持し、チェックコード算出手段は、計測装置の初期起動時に、予め分類して保持された校正値毎に各校正値の正当性を検証するためのチェックコードをそれぞれ算出し、チェックコード比較手段は、算出された複数のチェックコードとこのチェックコードに対応する第一のチェックコードとをそれぞれ比較し、このチェックコード比較手段によってチェックコードが相違したと判定されたとき、相違したチェックコードが含まれるグループを通知する通知手段とを備えることを特徴とする。
The measuring apparatus according to claim 3 categorizes and holds the calibration value and the first check code for verifying the validity of the calibration value in advance into a plurality of predetermined groups, respectively, and at the time of initial startup of the measuring apparatus Check code calculation means for calculating a check code for verifying the correctness of each calibration value for each calibration value previously classified and stored, a plurality of check codes calculated by the check code calculation means, and the check code Check code comparison means for comparing the first check code corresponding to each of the check code, and a notification means for notifying a group including the different check code when the check code comparison means determines that the check code is different. It is characterized by providing.
The measuring device according to claim 4 is the measuring device according to claim 1 or 2, wherein the first storage unit includes calibration values and first check codes that are classified in advance into a plurality of predetermined groups. The check code calculation means calculates a check code for verifying the correctness of each calibration value for each calibration value that is classified and held in advance at the initial startup of the measuring device, and compares the check code. The means compares each of the calculated check codes with the first check code corresponding to the check code, and when the check code comparison means determines that the check codes are different, the different check codes are And a notifying unit for notifying of the included group.

請求項5に記載の計測装置は、最初に計測装置を校正したときの初期校正値を保持する初期校正値記憶部と、校正値およびこの校正値の正当性を検証するための第一のチェックコードを保持する第一の記憶部と、校正値を保持する第二の記憶部と、校正値を第二の記憶部に転送する第一の転送手段と、第二の記憶部に保持された校正値からこの校正値の正当性を検証するための第二のチェックコードを所定の周期で算出するチェックコード算出手段と、この算出された第二のチェックコードと第一のチェックコードとを比較するチェックコード比較手段と、このチェックコード比較手段によって第一のチェックコードと第二のチェックコードとが相違したと判定されたとき、第二の記憶部に保持された校正値および第二のチェックコードを第一の記憶部にそれぞれ転送する第二の転送手段と
を備えることを特徴とする。
請求項6に記載の計測装置は、請求項5に記載の計測装置に加えて第二の転送手段によって第二の記憶部に保持された校正値および第二のチェックコードがそれぞれ第一の記憶部に正常に転送されたか否かを判定する転送判定手段と、この転送判定手段により第二の転送が異常であると判定されたとき、初期校正値にて入力信号を校正する計測処理手段とを備えることを特徴とする。
The measurement apparatus according to claim 5 includes an initial calibration value storage unit that holds an initial calibration value when the measurement apparatus is first calibrated, and a first check for verifying the calibration value and the validity of the calibration value. A first storage unit for holding the code, a second storage unit for holding the calibration value, a first transfer means for transferring the calibration value to the second storage unit, and a second storage unit The check code calculation means for calculating the second check code for verifying the correctness of the calibration value from the calibration value at a predetermined cycle is compared with the calculated second check code and the first check code. Check code comparison means, and when the check code comparison means determines that the first check code and the second check code are different, the calibration value held in the second storage unit and the second check code Code Characterized in that it comprises a second transfer means for transferring the storage unit respectively.
In the measuring device according to claim 6, in addition to the measuring device according to claim 5, the calibration value and the second check code held in the second storage unit by the second transfer unit are respectively stored in the first memory. A transfer determination unit that determines whether or not the transfer has been normally performed, and a measurement processing unit that calibrates the input signal with an initial calibration value when the transfer determination unit determines that the second transfer is abnormal. It is characterized by providing.

請求項7に記載の計測装置は、最初に計測装置を校正したときの初期校正値を保持する初期校正値記憶部と、校正値およびこの校正値の正当性を検証するための第一のチェックコードを保持する第一の記憶部と、この第一の記憶部よりもアクセスタイムが速い第二の記憶部と、校正値および第一のチェックコードを第二の記憶部に転送する第一の転送手段と、第二の記憶部に保持された校正値からこの校正値の正当性を検証するための第二のチェックコードを所定の周期で算出するチェックコード算出手段と、この算出された第二のチェックコードと第二の記憶部に保持された第一のチェックコードとを比較するチェックコード比較手段と、このチェックコード比較手段によって第一のチェックコードと第二のチェックコードとが相違したと判定されたとき、第二の記憶部に保持された校正値および第二のチェックコードを第一の記憶部にそれぞれ転送する第二の転送手段とを備えることを特徴とする。
請求項8に記載の計測装置は、請求項7に記載の計測装置に加えて第二の転送手段によって第二の記憶部に保持された校正値および第二のチェックコードがそれぞれ第一の記憶部に正常に転送されたか否かを判定する転送判定手段と、この転送判定手段により第二の転送が異常であると判定されたとき、初期校正値にて入力信号を校正する計測処理手段とを備えることを特徴とする。
The measuring apparatus according to claim 7 includes an initial calibration value storage unit that holds an initial calibration value when the measuring apparatus is first calibrated, and a first check for verifying the calibration value and the validity of the calibration value. A first storage unit for holding a code, a second storage unit having an access time faster than the first storage unit, and a first storage unit for transferring the calibration value and the first check code to the second storage unit. Transfer means, check code calculation means for calculating a second check code for verifying the correctness of the calibration value from the calibration value held in the second storage unit at a predetermined period, and the calculated first code The check code comparing means for comparing the second check code and the first check code held in the second storage unit, and the first check code and the second check code are different by the check code comparing means. When When a constant, characterized in that it comprises a second transfer means for transferring each calibration value held in the second storage unit and the second check code in the first memory unit.
In the measuring device according to claim 8, in addition to the measuring device according to claim 7, the calibration value and the second check code held in the second storage unit by the second transfer unit are respectively stored in the first memory. A transfer determination unit that determines whether or not the transfer has been normally performed, and a measurement processing unit that calibrates the input signal with an initial calibration value when the transfer determination unit determines that the second transfer is abnormal. It is characterized by providing.

請求項9に記載の計測装置は、請求項1〜8のいずれかに記載の計測装置であり、第一および第二のチェックコードは、校正値を順次加算して合計値とした、SUM値であることを特徴とする。   The measuring device according to claim 9 is the measuring device according to any one of claims 1 to 8, wherein the first and second check codes are sum values obtained by sequentially adding calibration values. It is characterized by being.

本発明の請求項1に係る構成によれば、校正値およびこの校正値の正当性を検証するための第一のチェックコードを第一の記憶部(例えば、不揮発性メモリ)に保持し、この校正値を第二の記憶部に転送した後、第二の記憶部が保持した校正値の正当性を検証するための第二のチェックコードを所定の周期で算出する計測装置が提供される。
したがって、本発明の請求項1に係る計測装置は、この算出された第二のチェックコードと第一のチェックコードとを比較しそれが相違したとき、第二の記憶部に保持された校正値およびこの校正値から算出されたチェックコードを第一の記憶部にそれぞれ転送する構成としたので、校正値を更新するためのモード変更をすることなく計測装置が稼動状態のまま校正値を更新することができる。更に本発明の計測装置は、不要な校正値の更新を阻止することができるので、不揮発性メモリの劣化を防止することができる。
すなわち、本発明の請求項1に係る計測装置は、モードを変更することなく校正値を更新でき、且つ長寿命な計測装置を提供することができる。
本発明の請求項2に係る構成によれば、校正値およびこの校正値の正当性を検証するための第一のチェックコードを第一の記憶部(例えば、不揮発性メモリ)に保持し、この校正値および第一のチェックコードを第一の記憶部よりもアクセスタイムが速い第二の記憶部(SRAM)に転送した後、第二の記憶部が保持した校正値の正当性を検証するための第二のチェックコードを所定の周期で算出する計測装置が提供される。
According to the configuration of the first aspect of the present invention, the calibration value and the first check code for verifying the validity of the calibration value are held in the first storage unit (for example, a non-volatile memory). After transferring the calibration value to the second storage unit, a measuring device is provided that calculates a second check code for verifying the correctness of the calibration value held in the second storage unit at a predetermined cycle.
Therefore, the measuring device according to claim 1 of the present invention compares the calculated second check code with the first check code, and when they are different, the calibration value held in the second storage unit Since the check code calculated from the calibration value is transferred to the first storage unit, the calibration value is updated while the measuring device is in operation without changing the mode for updating the calibration value. be able to. Furthermore, since the measuring device of the present invention can prevent the unnecessary update of the calibration value, it can prevent the deterioration of the nonvolatile memory.
That is, the measurement apparatus according to claim 1 of the present invention can provide a measurement apparatus that can update the calibration value without changing the mode and has a long life.
According to the configuration of the second aspect of the present invention, the calibration value and the first check code for verifying the validity of the calibration value are held in the first storage unit (for example, a non-volatile memory). In order to verify the correctness of the calibration value held in the second storage unit after transferring the calibration value and the first check code to the second storage unit (SRAM) whose access time is faster than that of the first storage unit. There is provided a measuring device that calculates the second check code at a predetermined cycle.

したがって本発明の請求項2に係る計測装置は、この算出された第二のチェックコードと第二の記憶部に保持された第一のチェックコードとを比較しそれが相違したとき、第二の記憶部に保持された校正値およびこの校正値から算出された第二のチェックコードを第一の記憶部にそれぞれ転送する構成としたので、校正値を更新するためのモード変更をすることなく計測装置が稼動状態のまま校正値を高速に更新することができる。更に本発明の請求項2に係る計測装置は、不要な校正値の更新を阻止することができるので、不揮発性メモリの劣化を防止することができる。
すなわち、本発明の請求項2に係る計測装置は、モードを変更することなく高速に校正値を更新でき、且つ長寿命な計測装置を提供することができる。
また、本発明の請求項3に係る構成によれば、校正値およびこの校正値の正当性を検証するための第一のチェックコードを複数の所定のグループに予め分類してそれぞれを記憶部(例えば、不揮発性メモリ)に保持する計測装置が提供される。したがって本発明の請求項3に係る計測装置は、計測装置の初期起動時に、分類保持された校正値毎に各校正値の正当性を検証するためのチェックコードをそれぞれ算出し、この算出された複数のチェックコードとこの複数のチェックコードに対応する第一のチェックコードとをそれぞれ比較する。そして、本発明の請求項3に係る計測装置は、そのいずれかが相違したとき相違したチェックコードが含まれるグループを通知する構成とした。このためユーザは破損した校正値のグループを容易に知ることができる。
Therefore, the measuring device according to claim 2 of the present invention compares the calculated second check code with the first check code held in the second storage unit, and when it is different, Since the calibration value held in the storage unit and the second check code calculated from this calibration value are transferred to the first storage unit, measurement is performed without changing the mode for updating the calibration value. Calibration values can be updated at high speed while the device is in operation. Furthermore, since the measuring apparatus according to claim 2 of the present invention can prevent unnecessary update of the calibration value, deterioration of the nonvolatile memory can be prevented.
That is, the measurement apparatus according to claim 2 of the present invention can provide a measurement apparatus that can update the calibration value at high speed without changing the mode and has a long life.
According to the configuration of claim 3 of the present invention, the calibration value and the first check code for verifying the validity of the calibration value are classified in advance into a plurality of predetermined groups, and each is stored in the storage unit ( For example, a measuring device held in a non-volatile memory is provided. Therefore, the measurement device according to claim 3 of the present invention calculates a check code for verifying the correctness of each calibration value for each calibration value held and classified at the time of initial startup of the measurement device. The plurality of check codes and the first check code corresponding to the plurality of check codes are respectively compared. And the measuring device which concerns on Claim 3 of this invention was set as the structure which notifies the group in which the different check code | cord | chord is contained when one of them differs. Therefore, the user can easily know the group of calibration values that are damaged.

また、本発明の請求項4に係る構成によれば、請求項1または請求項2に記載した発明の構成に加えて、記憶部(例えば、不揮発性メモリ)は、校正値およびこの校正値の正当性を検証するための第一のチェックコードを複数の所定のグループに予め分類してそれぞれを保持している。そして本発明の請求項4に係る計測装置は、計測装置の初期起動時に、分類保持された校正値毎に各校正値の正当性を検証するためのチェックコードをそれぞれ算出し、この算出された複数のチェックコードとこの複数のチェックコードに対応する第一のチェックコードとをそれぞれ比較し、そのいずれかが相違したとき、相違したチェックコードが含まれるグループを通知する構成とした。したがってユーザは、破損した校正値のグループを容易に知ることができると共に、破損した校正値のグループに属する校正作業のみを実施し、そのグループの校正値を修復すれば良い。このため本発明の請求項4に係る計測装置は、修復時間を飛躍的に短縮(節約)することができる。
また、本発明の請求項5に係る構成によれば、最初に計測装置を校正したときの初期校正値を初期校正値記憶部(例えば、不揮発性メモリ)に保持し、その後、計測装置を校正したときの校正値およびこの校正値の正当性を検証するための第一のチェックコードを第一の記憶部(例えば、不揮発性メモリ)に保持し、この第一の記憶部(例えば、不揮発性メモリ)に保持された校正値を第二の記憶部に転送した後、第二の記憶部が保持した校正値の正当性を検証するための第二のチェックコードを所定の周期で算出する計測装置が提供される。そして本発明の請求項5に係る計測装置は、この算出された第二のチェックコードと第一のチェックコードとを比較しそれらが相違したとき、第二の記憶部に保持された校正値およびこの校正値から算出された第二のチェックコードを第一の記憶部(不揮発性メモリ)にそれぞれ転送する構成としたので、計測装置が稼動状態(校正値を更新するためのモード変更などなく)のまま校正値を更新することでき、また、不要な校正値の更新を阻止することができるので不揮発性メモリの劣化を防止することができる。
According to the configuration of claim 4 of the present invention, in addition to the configuration of the invention described in claim 1 or 2, the storage unit (for example, a nonvolatile memory) includes a calibration value and the calibration value. The first check codes for verifying the validity are classified in advance into a plurality of predetermined groups and are retained. The measuring device according to claim 4 of the present invention calculates a check code for verifying the correctness of each calibration value for each calibration value held and classified at the time of initial startup of the measuring device. A plurality of check codes and a first check code corresponding to the plurality of check codes are respectively compared, and when any of them is different, a group including the different check codes is notified. Therefore, the user can easily know the group of the calibration values that are damaged, and only perform the calibration work that belongs to the group of the calibration values that is damaged, and restore the calibration values of the group. For this reason, the measuring apparatus according to claim 4 of the present invention can drastically shorten (save) the repair time.
According to the fifth aspect of the present invention, the initial calibration value when the measuring device is first calibrated is held in the initial calibration value storage unit (for example, a non-volatile memory), and then the measuring device is calibrated. The first check code for verifying the calibration value and the correctness of the calibration value in the first storage unit (for example, a non-volatile memory), and the first storage unit (for example, the non-volatile type) Measurement for calculating a second check code for verifying the correctness of the calibration value held in the second storage unit at a predetermined cycle after transferring the calibration value held in the memory) to the second storage unit An apparatus is provided. The measuring device according to claim 5 of the present invention compares the calculated second check code and the first check code, and when they are different, the calibration value held in the second storage unit and Since the second check code calculated from the calibration value is transferred to the first storage unit (non-volatile memory), the measuring device is in an operating state (without changing the mode for updating the calibration value). The calibration value can be updated as it is, and the unnecessary update of the calibration value can be prevented, so that the deterioration of the nonvolatile memory can be prevented.

更に本発明の請求項5に係る計測装置は、校正値の更新が異常終了した場合であっても、最初に校正したときの校正値が残るので、計測装置を初期の校正状態に戻すことができる。
また、本発明の請求項6に係る構成によれば、請求項5に記載の構成に加えて、第二の記憶部に保持された校正値およびこの校正値から算出された第二のチェックコードを第一の記憶部(不揮発性メモリ)にそれぞれ正常に転送されたか否かを判定する計測装置が提供される。本発明の請求項6に係る計測装置は、この転送が異常終了したと判定したとき、最初に計測装置を校正したときの校正値を基に入力信号を校正する構成としたので、第一の記憶部(例えば、不揮発性メモリ)に保持された校正値の更新が異常終了した場合であっても、最初に校正したときの校正値に切り替えて計測処理を継続することができる。
また、本発明の請求項7に係る構成によれば、最初に計測装置を校正したときの初期校正値を初期校正値記憶部(例えば、不揮発性メモリ)に保持し、その後計測装置を校正したときの校正値およびこの校正値の正当性を検証するための第一のチェックコードを第一の記憶部(例えば、不揮発性メモリ)に保持し、この第一の記憶部(例えば、不揮発性メモリ)に保持された校正値および第一のチェックコードを第一の記憶部よりもアクセスタイムが速い第二の記憶部(例えば、RAM)に転送した後、第二の記憶部が保持した校正値の正当性を検証するための第二のチェックコードを所定の周期で算出する計測装置が提供される。したがって本発明の請求項7に係る計測装置は、この算出された第二のチェックコードと第二の記憶部に保持された第一のチェックコードとを比較しそれが相違したとき、第二の記憶部に保持された校正値およびこの校正値から算出された第二のチェックコードを第一の記憶部(不揮発性メモリ)にそれぞれ転送する構成としたので、校正値を更新するためのモード変更などをすることなく計測装置が稼動状態のまま高速に校正値を更新することでき、また、不要な校正値の更新を阻止することができるので不揮発性メモリの劣化を防止することができる。
Furthermore, the measurement device according to claim 5 of the present invention can return the measurement device to the initial calibration state because the calibration value at the first calibration remains even when the update of the calibration value is abnormally terminated. it can.
According to the configuration of claim 6 of the present invention, in addition to the configuration of claim 5, the calibration value held in the second storage unit and the second check code calculated from the calibration value Is provided to determine whether or not each has been normally transferred to the first storage unit (nonvolatile memory). Since the measuring device according to claim 6 of the present invention is configured to calibrate the input signal based on the calibration value when the measuring device is first calibrated when it is determined that the transfer has ended abnormally, Even when the update of the calibration value held in the storage unit (for example, the nonvolatile memory) is abnormally terminated, the measurement process can be continued by switching to the calibration value at the time of the first calibration.
According to the configuration of claim 7 of the present invention, the initial calibration value when the measurement device is first calibrated is held in the initial calibration value storage unit (for example, a nonvolatile memory), and then the measurement device is calibrated. Calibration value and a first check code for verifying the correctness of the calibration value are held in a first storage unit (for example, a non-volatile memory), and the first storage unit (for example, a non-volatile memory) ) And the first check code are transferred to the second storage unit (for example, RAM) whose access time is faster than that of the first storage unit, and then the calibration value held by the second storage unit. There is provided a measuring device that calculates a second check code for verifying the validity of the data at a predetermined cycle. Therefore, the measuring device according to claim 7 of the present invention compares the calculated second check code with the first check code held in the second storage unit, and when it is different, Since the calibration value stored in the storage unit and the second check code calculated from this calibration value are transferred to the first storage unit (non-volatile memory), the mode is changed to update the calibration value. The calibration value can be updated at high speed while the measuring apparatus is in an operating state without performing any other operation, and unnecessary update of the calibration value can be prevented, so that the deterioration of the nonvolatile memory can be prevented.

更に本発明の請求項7に係る計測装置は、校正値の更新が異常終了した場合であっても、最初に校正したときの校正値を保持しているので、計測装置を最初に校正した状態に戻すことができる。
また、本発明の請求項8に係る構成によれば、請求項6に記載の構成に加えて、第二の記憶部に保持された校正値およびこの校正値から算出された第二のチェックコードを第一の記憶部(例えば、不揮発性メモリ)にそれぞれ正常に転送されたか否かを判定する計測装置が提供される。したがって本発明の請求項8に係る計測装置は、この転送が異常終了したと判定したとき、最初に計測装置を校正したときの校正値を基に入力信号を校正する構成としたので、第一の記憶部(例えば、不揮発性メモリ)に保持された校正値の更新が異常終了した場合であっても、最初に校正したときの校正値に切り替えて計測処理を継続することができる。
また、本発明の請求項9に係る構成によれば、一般的に広く知られたSUM値をチェックコード(第一のチェックコード、第二のチェックコード)としたので、特殊な計算を必要としない簡単な加算プログラムでチェックコード算出手段を実現することができる。
Furthermore, the measuring apparatus according to claim 7 of the present invention holds the calibration value when the calibration is first performed even when the update of the calibration value is abnormally ended, so that the measurement apparatus is first calibrated. Can be returned to.
According to the configuration of claim 8 of the present invention, in addition to the configuration of claim 6, the calibration value held in the second storage unit and the second check code calculated from the calibration value Is provided to determine whether or not each has been normally transferred to a first storage unit (for example, a non-volatile memory). Therefore, the measuring device according to claim 8 of the present invention is configured to calibrate the input signal based on the calibration value when the measuring device is first calibrated when it is determined that the transfer has ended abnormally. Even when the update of the calibration value held in the storage unit (for example, a non-volatile memory) ends abnormally, the measurement process can be continued by switching to the calibration value at the time of the first calibration.
According to the configuration of claim 9 of the present invention, since the SUM value that is generally known is used as a check code (first check code, second check code), a special calculation is required. The check code calculation means can be realized with a simple addition program that does not.

以下、本発明の好適な実施形態について図1〜図7の図面を基に説明する。尚、これらの図面は本発明の一実施形態を説明するための図面であって、これらの図面によって本発明が限定されるものではない。
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings of FIGS. These drawings are for explaining an embodiment of the present invention, and the present invention is not limited by these drawings.

図1は、本発明の実施例1に係る計測装置の内部構成図である。図1において、100は本発明の計測装置であり、105は図示しないセンサなどから信号が与えられる入力部(被計測対象の状態に応じて所定の電気信号に変換した信号を生成する)、107は測定結果などを表示する表示部、108は各種設定操作などをする操作部、104は計測装置がネットワーク110を介して図示しない他の装置と通信する通信部である。
102は、計測装置の校正値を保持するE2PROMやフラッシュメモリなどの不揮発性メモリ(第一の記憶部)、103はSRAM(スタティックRAM)などの作業メモリ(第二の記憶部)、106は図示しない外部機器に制御信号などを与える出力部、101は、不揮発性メモリ102が保持した校正値により入力部105からの信号を校正した出力値を生成する変換部である。
尚、以後に記載の本発明にて扱うSUM値(チェックコード)は、データの正当性をチェックするためのコードとして広く一般的に知られたチェックコードであり、本発明では複数の校正値を順次加算して得たものである。
変換部101は、不揮発性メモリ102に保持された校正値およびこの校正値のSUM値(第一のチェックコード)を作業メモリ103に転送する第一の転送手段101aと、校正値を順番に加算していき、その合計値(SUM値)を求めるチェックコード算出手段101bと、作業メモリ103に転送され保持されたSUM値(第一のチェックコード)と作業メモリ103に転送され保持された校正値に対して算出したSUM値(第二のチェックコード)とを比較するチェックコード比較手段101cと、作業メモリ103に保持された校正値とこの校正値から算出したSUM値(第二のチェックコード)を不揮発性メモリ102に転送する第二の転送手段101dとを備える。
FIG. 1 is an internal configuration diagram of a measuring apparatus according to Embodiment 1 of the present invention. In FIG. 1, reference numeral 100 denotes a measuring device according to the present invention, reference numeral 105 denotes an input unit to which a signal is given from a sensor or the like (not shown) (generates a signal converted into a predetermined electric signal according to the state of the measurement target) Is a display unit for displaying measurement results, 108 is an operation unit for performing various setting operations, and 104 is a communication unit for the measurement device to communicate with other devices (not shown) via the network 110.
Reference numeral 102 denotes a non-volatile memory (first storage unit) such as an E 2 PROM or flash memory for holding a calibration value of the measuring apparatus, 103 denotes a work memory (second storage unit) such as SRAM (static RAM), 106 Is an output unit that gives a control signal or the like to an external device (not shown), and 101 is a conversion unit that generates an output value obtained by calibrating a signal from the input unit 105 based on a calibration value held in the nonvolatile memory 102.
The SUM value (check code) handled in the present invention described later is a check code that is widely known as a code for checking the validity of data. In the present invention, a plurality of calibration values are used. It is obtained by sequential addition.
The conversion unit 101 adds a calibration value held in the nonvolatile memory 102 and a SUM value (first check code) of the calibration value to the work memory 103, and the calibration value in turn. The check code calculation means 101b for obtaining the total value (SUM value), the SUM value (first check code) transferred and held in the work memory 103, and the calibration value transferred and held in the work memory 103 Check code comparison means 101c for comparing the SUM value (second check code) calculated with respect to the calibration value held in the work memory 103 and the SUM value (second check code) calculated from the calibration value. Second transfer means 101d for transferring the data to the nonvolatile memory 102.

これら第一の転送手段101a、チェックコード算出手段101b、チェックコード比較手段101cおよび第二の転送手段101dは、いずれも変換部101の内部メモリ(不図示)に保持されるプログラムである。
また、本発明の実施例1に係る計測装置は、変換部101や入力部105、出力部106などのそれぞれの構成要素を各々モジュール構成にしても実現可能である。
概略的には上述したように構成された本発明の実施例1に係る計測装置100が特徴とするところは、不揮発性メモリに保持された計測装置の校正値(オリジナル校正値)を作業メモリに保持しておき、この作業メモリに保持された校正値が更新されると、この更新を検知し、校正値を更新するためのモード変更を行うことなく校正値を更新する点にある。
このような特徴を備えた本発明の実施例1に係る計測装置の動作について、より詳細に説明する。
本発明の実施例1に係る計測装置100は、変換部101が不揮発性メモリ102に保持された校正値を参照し、その校正値により入力信号を校正して出力値を生成する。そして、ユーザが校正値を更新するには、計測装置に標準器(不図示)を接続して基準信号を与えるとともに、操作部108が備える所定のスイッチ(不図示)を操作する。計測装置100は、このスイッチが操作されることによって、その基準信号に対する指示値(A/D変換値など)を不揮発性メモリ102に保持するように構成されている。もしくは、ネットワーク110を介して、通信部104が校正値をダウンロードし、このダウンロードした校正値を変換部101が不揮発性メモリ102に保持するようにしても良い。或いは不揮発性メモリ102を着脱可能な記憶装置(例えば、メモリカード、ハードディスクモジュール等の補助記憶装置)として構成し、所定の校正値をこの記憶装置に予め保持させるように構成してもかまわない。要は、本発明の計測装置に所定の校正値が予め保持されるように構成されれば、校正値の保持形態が限定されるものではない。
The first transfer unit 101a, check code calculation unit 101b, check code comparison unit 101c, and second transfer unit 101d are all programs stored in an internal memory (not shown) of the conversion unit 101.
In addition, the measuring apparatus according to the first embodiment of the present invention can be realized by configuring each component such as the conversion unit 101, the input unit 105, and the output unit 106 in a module configuration.
Schematically, the measuring apparatus 100 according to the first embodiment of the present invention configured as described above is characterized in that the calibration value (original calibration value) of the measuring apparatus held in the nonvolatile memory is stored in the work memory. When the calibration value stored in the working memory is updated, this update is detected, and the calibration value is updated without changing the mode for updating the calibration value.
The operation of the measuring apparatus according to the first embodiment of the present invention having such features will be described in more detail.
In the measuring apparatus 100 according to the first embodiment of the present invention, the conversion unit 101 refers to the calibration value held in the nonvolatile memory 102, calibrates the input signal with the calibration value, and generates an output value. In order to update the calibration value, the user connects a standard device (not shown) to the measuring device to give a reference signal and operates a predetermined switch (not shown) provided in the operation unit 108. The measurement apparatus 100 is configured to hold an instruction value (A / D conversion value or the like) for the reference signal in the nonvolatile memory 102 by operating this switch. Alternatively, the communication unit 104 may download a calibration value via the network 110, and the conversion unit 101 may store the downloaded calibration value in the nonvolatile memory 102. Alternatively, the nonvolatile memory 102 may be configured as a removable storage device (for example, an auxiliary storage device such as a memory card or a hard disk module), and a predetermined calibration value may be held in the storage device in advance. In short, as long as a predetermined calibration value is configured to be held in advance in the measurement apparatus of the present invention, the calibration value holding form is not limited.

図2は、本発明の実施例1に係る計測装置100のメモリ情報を示す図である。図2(a)は、不揮発性メモリ102に割り付けられたメモリ情報を示す図である。ちなみに作業メモリ103は、第一の記憶部を構成する不揮発性メモリ102よりもアクセスタイムが速いSRAMなどを用いる。
図2(a)において、200は、不揮発性メモリ102の所定のアドレスに割り付けられた校正値領域である。この校正値領域200には、変換部101が入力部105からの信号を校正する際に用いる後述(図3の説明)の所定のグループ毎に分類されたAグループ校正値201およびBグループ校正値203が保持される。202は、Aグループ校正値201を基に算出されたAグループSUM値であり、204はBグループ校正値203を基に算出されたBグループSUM値である。
図2(b)は、作業メモリ103に割り付けられたメモリ情報を示す図である。この図において、220は、変換部101が、前述した校正値領域200に保持された校正値(201,203)およびこれらのSUM値(202,204)の退避や更新をするための更新データ領域である。Aグループ更新データ領域221は、変換部101が前述したAグループ校正値201を退避したり、校正値の更新時には通信部104や操作部108によって格納された更新データを保持する領域である。AグループSUM更新領域222は、変換部101が前述したAグループSUM値202を退避したり、このSUM値202を更新するためのデータを保持する領域である。
FIG. 2 is a diagram illustrating memory information of the measurement apparatus 100 according to the first embodiment of the present invention. FIG. 2A is a diagram showing memory information allocated to the nonvolatile memory 102. Incidentally, the working memory 103 uses, for example, an SRAM having a faster access time than the nonvolatile memory 102 constituting the first storage unit.
In FIG. 2A, reference numeral 200 denotes a calibration value area assigned to a predetermined address in the nonvolatile memory 102. In the calibration value area 200, the A group calibration value 201 and the B group calibration value classified for each predetermined group described later (description of FIG. 3) used when the conversion unit 101 calibrates the signal from the input unit 105. 203 is held. Reference numeral 202 denotes an A group SUM value calculated based on the A group calibration value 201, and reference numeral 204 denotes a B group SUM value calculated based on the B group calibration value 203.
FIG. 2B is a diagram illustrating memory information allocated to the work memory 103. In this figure, reference numeral 220 denotes an update data area for the conversion unit 101 to save and update the calibration values (201, 203) held in the calibration value area 200 and the SUM values (202, 204). It is. The A group update data area 221 is an area in which the conversion unit 101 saves the above-described A group calibration value 201 or holds update data stored by the communication unit 104 or the operation unit 108 when the calibration value is updated. The A group SUM update area 222 is an area in which the conversion unit 101 saves the above-described A group SUM value 202 and holds data for updating the SUM value 202.

また、Bグループ更新データ領域223は、変換部101が前述したBグループ校正値203を退避したり、校正値更新時には通信部104や操作部108によって格納された更新データを保持する領域である。BグループSUM更新領域224は、変換部101が前述したBグループSUM値204を退避したり、このSUM値204を更新するためのデータを保持する領域である。
さて、図3は、計測装置の校正値を複数の所定のグループに分類した一例を示した図である。
図3(a)において、No.1〜No.nの分類は、この計測装置の入力部105に接続される機器
(センサとして例えば熱電対、測温抵抗体やサーミスタなどの温度測定用センサ)毎に校正値をグループ分けした分類の一例である。この場合、熱電対の校正値が図2に記載のAグループ校正値201に相当し、測温抵抗体の校正値が図2に記載のBグループ校正値203に相当する。更に、サーミスタなどの校正値はnグループとして図2に記載の校正値領域200に割付けられる(図2には不図示)。
The B group update data area 223 is an area in which the conversion unit 101 saves the B group calibration value 203 described above and holds update data stored by the communication unit 104 and the operation unit 108 when the calibration value is updated. The B group SUM update area 224 is an area in which the conversion unit 101 saves the above-described B group SUM value 204 and holds data for updating the SUM value 204.
FIG. 3 is a diagram showing an example in which the calibration values of the measuring device are classified into a plurality of predetermined groups.
In FIG. 3A, the classification of No. 1 to No. n is equipment connected to the input unit 105 of this measuring device (for example, a sensor for temperature measurement such as a thermocouple, a resistance temperature detector, or a thermistor). It is an example of the classification | category which grouped the calibration value for every. In this case, the calibration value of the thermocouple corresponds to the A group calibration value 201 shown in FIG. 2, and the calibration value of the resistance temperature detector corresponds to the B group calibration value 203 shown in FIG. Further, the calibration values of the thermistor and the like are assigned to the calibration value area 200 shown in FIG. 2 as n groups (not shown in FIG. 2).

また、図3(b)は、この計測装置が複数チャネルの熱電対に接続される場合における校正値をグループ分けした一例である。図3(b)において、熱電対のチャネル1の校正値が図2に記載のAグループ校正値201に相当し、熱電対のチャネル2の校正値が図2に記載のBグループ校正値203にそれぞれ相当する。熱電対のチャネルが更に存在する場合、そのチャネル分の校正値がそれぞれグループ分けされ、図2に記載の校正値領域200に割付けられる(図2には不図示)。
同様、図3において、各校正項目について説明する。オフセット校正値は、計測装置100の入力部105に入力(値)をゼロとした入力信号を与えたときの入力部105が次段の変換部101へ与える値(A/D変換値など)を不揮発性メモリ102に保持させた値であり、変換部101はこの値を入力(値)ゼロとして扱うことにより入力信号(値)を校正して出力値とする。
またゲイン校正値は、計測装置100の入力部105に入力(値)をその装置に定められた仕様の最大(値)としたときの入力部105が出力する値(A/D変換値など)をメモリに保持させた値であり、変換部101はこの値を入力(値)の最大値として扱うことにより入力信号(値)を校正して出力値とする。このように、入力部105が次段の変換部101へ与える信号(値)の誤差を補正し出力値とすることにより、計測装置の保証精度を保つようにする。
FIG. 3B is an example in which calibration values are grouped when this measuring apparatus is connected to a thermocouple of a plurality of channels. In FIG. 3B, the calibration value of the thermocouple channel 1 corresponds to the A group calibration value 201 shown in FIG. 2, and the calibration value of the thermocouple channel 2 becomes the B group calibration value 203 shown in FIG. Each corresponds. When there are more thermocouple channels, the calibration values for the channels are grouped and assigned to the calibration value area 200 shown in FIG. 2 (not shown in FIG. 2).
Similarly, in FIG. 3, each calibration item will be described. The offset calibration value is a value (such as an A / D conversion value) that the input unit 105 gives to the next conversion unit 101 when an input signal with an input (value) of zero is given to the input unit 105 of the measuring apparatus 100. The conversion unit 101 calibrates the input signal (value) as an output value by treating this value as an input (value) zero.
Further, the gain calibration value is a value (A / D conversion value, etc.) output by the input unit 105 when the input (value) to the input unit 105 of the measuring apparatus 100 is set to the maximum (value) of the specification defined for the apparatus. Is converted to an output value by calibrating the input signal (value) by treating this value as the maximum value of the input (value). In this manner, the guaranteed accuracy of the measuring device is maintained by correcting the error of the signal (value) given to the conversion unit 101 at the next stage by the input unit 105 and using it as an output value.

また、冷接点校正値は、熱電対での計測精度を高めるために、計測装置の端子温度(冷接点温度)をより正確に求めることを目的とした校正値である。計測装置はこの冷接点校正値を基に計測装置の端子(冷接点)温度を校正する。
このように、計測装置の校正値は、計測装置に接続される所定の機器(センサ)毎にグループに分類されて不揮発性メモリ102にそれぞれ保持されたり、複数のチャネルを備えるセンサのチャネル毎にグループに分類されて不揮発性メモリ102にそれぞれ保持される。
図4は、本発明の実施例1に係る、計測装置の動作を説明するフローチャートである。図4を参照しながら本発明の詳細説明をする。ここでは起動後、計測装置の初期化を目的とする状態を初期起動フェーズ(S301〜S303)とし、初期化以降の通常の運用状態を運用フェーズ(S304以降)とし、計測装置を停止する異常状態を異常フェーズ(S320)と定義する。また、本実施例にて説明するSUM値の算出を行うチェックコード算出手段101bは、変換部101が校正値を順次加算し、合計値とする変換部101が実行するプログラムである。
さて、S301において、変換部101は、グループ毎に分類保持されたAグループ校正値201およびBグループ校正値203のそれぞれのSUM値を算出し、変換部101内の図示しない退避領域にそれぞれ転送する。
The cold junction calibration value is a calibration value for the purpose of more accurately obtaining the terminal temperature (cold junction temperature) of the measuring device in order to increase the measurement accuracy with the thermocouple. The measuring device calibrates the terminal (cold junction) temperature of the measuring device based on the cold junction calibration value.
As described above, the calibration value of the measuring device is classified into groups for each predetermined device (sensor) connected to the measuring device and held in the nonvolatile memory 102 or for each channel of the sensor having a plurality of channels. The data is classified into groups and stored in the nonvolatile memory 102.
FIG. 4 is a flowchart for explaining the operation of the measuring apparatus according to the first embodiment of the present invention. The present invention will be described in detail with reference to FIG. Here, after startup, the state for the purpose of initializing the measuring device is the initial startup phase (S301 to S303), the normal operating state after initialization is the operating phase (S304 and later), and an abnormal state in which the measuring device is stopped Is defined as an abnormal phase (S320). The check code calculation means 101b for calculating the SUM value described in the present embodiment is a program executed by the conversion unit 101 in which the conversion unit 101 sequentially adds the calibration values to obtain a total value.
In S301, the conversion unit 101 calculates the SUM values of the A group calibration value 201 and the B group calibration value 203 that are classified and held for each group, and transfers them to a save area (not shown) in the conversion unit 101, respectively. .

次いで変換部101は、S302に進み、Aグループ校正値201に対応する前述したS301にて算出したSUM値と不揮発性メモリ102に保持されたAグループSUM値202、およびBグループ校正値203に対応するS301にて算出したSUM値と不揮発性メモリ102に保持されたBグループSUM値204とをそれぞれ比較する。これら対に比較したSUM値がそれぞれ等しい場合、変換部101は、校正値が正常であると判定し、S303へと移行する。これら対に比較したSUM値のいずれか一方が異なる場合は、校正値に異常があったり、不揮発性メモリに異常がある可能性が高い。したがって、このまま計測装置を運用した場合には正常に校正できないことが想定されるので、変換部101は、校正値が異常であると判定し、計測装置を稼動せずにS320(異常フェーズ)へと移行する。
S320に移行した変換部101は、異常である校正値を含むグループ名を表示部107に通知(表示)すると共に、ネットワーク110を経由して本装置に接続される他の機器にその異常(校正値に異常を発見したことと、異常である校正値を含むグループ名)を通知する。
S302にて校正値が正常であると判定した場合、変換部101は、S303に進む。S303において変換部101は、Aグループ校正値201、AグループSUM値202およびBグループ校正値203、BグループSUM値204を更新データ領域220にそれぞれ転送する。
Next, the conversion unit 101 proceeds to S <b> 302 and corresponds to the SUM value calculated in S <b> 301 corresponding to the A group calibration value 201, the A group SUM value 202 held in the nonvolatile memory 102, and the B group calibration value 203. The SUM value calculated in S301 is compared with the B group SUM value 204 held in the nonvolatile memory 102. If the SUM values compared to these pairs are equal, the conversion unit 101 determines that the calibration value is normal, and proceeds to S303. If any one of the SUM values compared to these pairs is different, there is a high possibility that the calibration value is abnormal or the nonvolatile memory is abnormal. Accordingly, since it is assumed that the measurement device cannot be normally calibrated when the measurement device is operated as it is, the conversion unit 101 determines that the calibration value is abnormal, and proceeds to S320 (abnormal phase) without operating the measurement device. And migrate.
The conversion unit 101 that has shifted to S320 notifies (displays) the group name including the calibration value that is abnormal to the display unit 107, and notifies other devices connected to the apparatus via the network 110 of the abnormality (calibration). That the value is found to be abnormal and the group name that includes the calibration value that is abnormal).
If it is determined in S302 that the calibration value is normal, the conversion unit 101 proceeds to S303. In S303, the conversion unit 101 transfers the A group calibration value 201, the A group SUM value 202, the B group calibration value 203, and the B group SUM value 204 to the update data area 220, respectively.

すなわち、変換部101は初期起動フェーズにおいて、Aグループ校正値201とBグループ校正値203が正常であるか否かを判定し、それぞれの校正値が正常である場合にのみ校正値を更新データ領域に転送して運用フェーズ(S304以降)に移行する。
次いでS304に移行した変換部101は、不揮発性メモリ102に保持された校正値を基に、入力部105によって所定の電気信号に変換された入力信号を校正して出力値とする計測処理を実行する。
変換部101の処理はS305に進み、変換部101は、S305において更新データ領域220のAグループ更新データ領域221とBグループ更新データ領域223のデータが更新されたか否かを不図示のデータ更新完了フラグにて確認する。
S305にてデータ更新完了フラグ(不図示)がセットされてない場合、すなわちAグループ更新データ領域221とBグループ更新データ領域223のデータが両方とも更新されてない場合(S305 No)、変換部101は、S304へ移行する。
変換部101は、S305にて前述したデータ更新完了フラグ(不図示)がセットされた場合、すなわちAグループ更新データ領域221とBグループ更新データ領域223のどちらかのデータが更新されたと判定したとき(S305 Yes)、S306へ移行する。
That is, the conversion unit 101 determines whether or not the A group calibration value 201 and the B group calibration value 203 are normal in the initial startup phase, and updates the calibration value only when each calibration value is normal. And shift to the operation phase (S304 and later).
Next, the conversion unit 101 that has proceeded to S304 executes measurement processing that calibrates the input signal converted into a predetermined electrical signal by the input unit 105 to obtain an output value based on the calibration value held in the nonvolatile memory 102. To do.
The processing of the conversion unit 101 proceeds to S305, and the conversion unit 101 determines whether or not the data in the A group update data region 221 and the B group update data region 223 of the update data region 220 has been updated in S305. Check with the flag.
If the data update completion flag (not shown) is not set in S305, that is, if both the data in the A group update data area 221 and the B group update data area 223 have not been updated (No in S305), the conversion unit 101 Shifts to S304.
When the data update completion flag (not shown) described above is set in S305, that is, when the conversion unit 101 determines that data in either the A group update data area 221 or the B group update data area 223 has been updated. (S305 Yes), the process proceeds to S306.

S306において変換部101は、Aグループ更新データ領域221およびBグループ更新データ領域223の各更新データに対してSUM値をそれぞれ算出する。すなわち、変換部101は、S305の判定に基づき更新データ領域220が更新される所定の周期にて、Aグループ更新データ領域221とBグループ更新データ領域223の各更新データに対してSUM値をそれぞれ算出する。
そして変換部101は、S307において、上述Aグループ更新データ領域221の更新データから算出されたSUM値とAグループSUM更新領域222に保持されたSUM値とを対に比較すると共に、上述Bグループ更新データ領域223の更新データから算出されたSUM値とBグループSUM更新領域224に保持されたSUM値とを対に比較する。この対に比較したSUM値のいずれか一方が異なったとき、変換部101は、更新データ領域220が以前に保持したデータとは違ったデータに書き換えられたと判定する(S307 Yes)。一方、前述した対に比較したSUM値がいずれも等しい場合(S307 No)、変換部101は、更新データ領域220に更新されたデータがこれまで保持していたデータと同じである(不変)と判定し、前述したデータ更新完了フラグ(不図示)をクリアして計測処理S304に移行する。
In S <b> 306, the conversion unit 101 calculates a SUM value for each update data in the A group update data area 221 and the B group update data area 223. That is, the conversion unit 101 sets the SUM value for each update data in the A group update data area 221 and the B group update data area 223 at a predetermined cycle in which the update data area 220 is updated based on the determination in S305. calculate.
In step S307, the conversion unit 101 compares the SUM value calculated from the update data in the A group update data area 221 with the SUM value held in the A group SUM update area 222, and also updates the B group update. The SUM value calculated from the update data in the data area 223 is compared with the SUM value held in the B group SUM update area 224 in pairs. When any one of the SUM values compared to the pair is different, the conversion unit 101 determines that the update data area 220 has been rewritten to data different from the data previously held (S307 Yes). On the other hand, when all the SUM values compared with the pair described above are equal (No in S307), the conversion unit 101 indicates that the data updated in the update data area 220 is the same as the data held so far (invariant). Determination is made, the above-described data update completion flag (not shown) is cleared, and the process proceeds to measurement processing S304.

次いで、処理はS308に進み、S308において変換部101は、更新データ領域220の更新データを校正値領域200(不揮発性メモリ102)に転送する(書き込む)。
例えば、S307において変換部101は、S303にてAグループSUM更新領域222に転送されたSUM値とAグループ更新データ領域221に保持された更新データから算出したSUM値とを比較する。この比較の結果、SUM値が相違した場合に変換部101は、S308において前述した更新データから算出したSUM値をAグループSUM更新領域222に上書きし、Aグループ更新データ領域221に保持された更新データをAグループ校正値201に転送する(書き込む)と共に、上書きされたAグループSUM更新領域222の値をAグループSUM値202に転送する(書き込む)。
同様に、S307において変換部101は、S303にてBグループSUM更新領域224に転送されたSUM値とBグループ更新データ領域223に保持された更新データから算出したSUM値とを比較する。この比較の結果、SUM値が相違した場合に変換部101は、S308において前述した更新データから算出したSUM値をBグループSUM更新領域224に上書きし、Bグループ更新データ領域223の更新データをBグループ校正値203に転送する(書き込む)と共に、上書きされたBグループSUM更新領域224の値をBグループSUM値204に転送する(書き込む)。もちろん、Aグループ、BグループそれぞれのSUM値が異なれば両方書き込めば良い。
Next, the process proceeds to S308. In S308, the conversion unit 101 transfers (writes) the update data in the update data area 220 to the calibration value area 200 (nonvolatile memory 102).
For example, in S307, the conversion unit 101 compares the SUM value transferred to the A group SUM update area 222 in S303 and the SUM value calculated from the update data held in the A group update data area 221. If the SUM values are different as a result of this comparison, the conversion unit 101 overwrites the SUM value calculated from the update data described above in S308 in the A group SUM update area 222, and updates stored in the A group update data area 221 The data is transferred (written) to the A group calibration value 201, and the overwritten value of the A group SUM update area 222 is transferred (written) to the A group SUM value 202.
Similarly, in S307, the conversion unit 101 compares the SUM value transferred to the B group SUM update area 224 in S303 with the SUM value calculated from the update data held in the B group update data area 223. When the SUM values are different as a result of this comparison, the conversion unit 101 overwrites the B group SUM update area 224 with the SUM value calculated from the update data described above in S308, and updates the update data in the B group update data area 223 to B. The group calibration value 203 is transferred (written), and the overwritten value of the B group SUM update area 224 is transferred (written) to the B group SUM value 204. Of course, if the SUM values of the A group and the B group are different, both may be written.

変換部101は、更新データおよびそのSUM値を不揮発性メモリ102に転送した(書き込んだ)後、S309において、不揮発性メモリ102の更新された校正値およびSUMと作業メモリ103の更新データおよびSUM値とをそれぞれ比較して正常に更新できたか否かを確認する。変換部101は、比較した校正値およびSUMが一致すれば正常に更新できたと判定し、前述したデータ更新完了フラグ(不図示)をクリアしてS304に移行(S309 Yes)する。S304に移行したら、変換部101は、更新された校正値を基に、入力信号を校正する。
同様にS309において、変換部101は、互いに比較した校正値またはSUMのいずれかが相違すれば更新が異常終了したと判定する(S309 No)。この異常終了は、不揮発性メモリの破損など、何らかの異常によって発生したと想定される。このため、変換部101は、S320の異常処理(異常フェーズ)に移行する。
そして、S320に移行した変換部101は、不揮発性メモリに保持された校正値の更新が異常であったことを通知(表示)すると共に、ネットワーク110を経由して本計測装置に接続される他の機器に不揮発性メモリ102に保持された校正値の更新が異常終了したことを通知する。
The conversion unit 101 transfers (writes) the update data and its SUM value to the nonvolatile memory 102, and then, in S309, the updated calibration value and SUM of the nonvolatile memory 102 and the update data and SUM value of the work memory 103. To check whether or not the update was successful. The conversion unit 101 determines that the data has been updated normally if the compared calibration value and SUM match, and clears the data update completion flag (not shown) described above, and proceeds to S304 (S309 Yes). After shifting to S304, the conversion unit 101 calibrates the input signal based on the updated calibration value.
Similarly, in S309, the conversion unit 101 determines that the update has ended abnormally if any of the calibration values or SUMs compared with each other is different (No in S309). This abnormal termination is assumed to have occurred due to some abnormality such as damage to the nonvolatile memory. For this reason, the conversion part 101 transfers to the abnormal process (abnormal phase) of S320.
Then, the conversion unit 101 that has proceeded to S320 notifies (displays) that the update of the calibration value held in the nonvolatile memory is abnormal, and is connected to the measurement apparatus via the network 110. Is notified that the update of the calibration value held in the nonvolatile memory 102 has ended abnormally.

この例では、S303にてAグループSUM更新領域222にはAグループSUM値202を転送したデータが保持され、BグループSUM更新領域224にはBグループSUM値204を転送したデータが保持されたものとして説明した。これは、校正値領域200にE2PROMなどの不揮発性メモリを使用した場合に、データの読み出しに時間を費やすことから、高速に読み書きできるアクセスタイムの速いSRAMなどの作業メモリ103に予め退避しておくことで、SUM値の比較チェックが高速になる点と、対象とする不揮発性メモリの種類に関係なくSUM値の比較プログラムを同じ構造にできるメリットがあるためである。
尚、SUM値の比較方法は、AグループSUM値202とBグループSUM値204を作業メモリ103に転送せずに不揮発性メモリに保持されたオリジナルのSUM値(202,204)と、更新データ領域(221,223)の更新データに対して算出したSUM値とを比較しても良い。
この場合S307において変換部101は、AグループSUM値202とAグループ更新データ領域221に保持された更新データから算出したSUM値とを比較する。この比較の結果、SUM値が相違した場合(S307 Yes)に変換部101は、S308において、Aグループ更新データ領域221に保持された更新データをAグループ校正値201に転送する(書き込む)と共に、前述した更新データから算出したSUM値をAグループSUM値202に書き込む。
In this example, the data transferred to the A group SUM update area 222 is stored in the A group SUM update area 222 in S303, and the data transferred to the B group SUM update area 224 is stored in the B group SUM update area 224. As explained. This is because when a non-volatile memory such as E 2 PROM is used for the calibration value area 200, it takes time to read data, so it is saved in advance in the work memory 103 such as an SRAM that can be read and written at a high speed and has a fast access time. This is because the comparison check of the SUM value becomes faster and there is an advantage that the SUM value comparison program can have the same structure regardless of the type of the target nonvolatile memory.
The SUM value comparison method is based on the original SUM value (202, 204) held in the non-volatile memory without transferring the A group SUM value 202 and the B group SUM value 204 to the work memory 103, and the update data area. You may compare with the SUM value calculated with respect to the update data of (221,223).
In this case, the conversion unit 101 compares the A group SUM value 202 with the SUM value calculated from the update data held in the A group update data area 221 in S307. As a result of this comparison, when the SUM values are different (S307 Yes), the conversion unit 101 transfers (writes) the update data held in the A group update data area 221 to the A group calibration value 201 in S308, and The SUM value calculated from the update data described above is written into the A group SUM value 202.

同様S307において、変換部101は、BグループSUM値204とBグループ更新データ領域223に保持された更新データから算出したSUM値とを比較する。この比較の結果、SUM値が相違した場合(S307 Yes)に変換部101は、Bグループ更新データ領域223に保持された更新データをBグループ校正値203に転送する(書き込む)と共に、前述した更新データから算出したSUM値をBグループSUM値204に書き込む。もちろん、それぞれのSUM値が異なれば両方書き込めば良い。
また、更新データ領域220に保持される更新データは、通信部104がネットワーク110経由にて更新したり、操作部108を操作することで、更新することができるようになっている。そして、本発明の計測装置100は、前述したデータ更新完了フラグ(不図示)がクリア状態のときに変換部101以外に更新データ領域220の書き換えが許可され、データ更新完了フラグ(不図示)がセット状態のときには、変換部101以外に更新データ領域220の書き換えが許可されないように制御(排他論理条件)している。また、本発明は、変換部101にデータ更新を伝える方法として、フラグのやりとり以外に割込にて行うことも可能である。
また、前述した実施例は、校正値の正当性を検証するためのチェックコードとしてSUM値を例に説明したが、本発明の計測装置は、CRC(Cyclic Redundancy Check)などの巡回計算された符号をチェックコードとしても良い。
Similarly, in step S <b> 307, the conversion unit 101 compares the B group SUM value 204 with the SUM value calculated from the update data held in the B group update data area 223. As a result of this comparison, when the SUM values are different (Yes in S307), the conversion unit 101 transfers (writes) the update data held in the B group update data area 223 to the B group calibration value 203 and performs the above-described update. The SUM value calculated from the data is written into the B group SUM value 204. Of course, if each SUM value is different, both may be written.
The update data held in the update data area 220 can be updated by the communication unit 104 via the network 110 or by operating the operation unit 108. Then, the measuring apparatus 100 of the present invention allows the update data area 220 to be rewritten other than the conversion unit 101 when the above-described data update completion flag (not shown) is in a clear state, and the data update completion flag (not shown) is set. In the set state, control (exclusive logic condition) is performed so that rewriting of the update data area 220 is not permitted except for the conversion unit 101. Further, according to the present invention, as a method of transmitting data update to the conversion unit 101, it is also possible to perform by interruption in addition to the exchange of flags.
In the above-described embodiment, the SUM value is described as an example of the check code for verifying the correctness of the calibration value. However, the measurement apparatus of the present invention uses a cyclically calculated code such as CRC (Cyclic Redundancy Check). Can be used as a check code.

以上のように、本発明は、不揮発性メモリに保持された計測装置の校正値(オリジナル校正値)およびそのオリジナル校正値から算出されたチェックコード(オリジナルSUM値)を、計測装置の初期起動時にSRAMに退避する。
そして、変換部101は、計測装置稼動中に校正値を更新するためのモード変更などすることなく前述したSRAMに退避されたオリジナル校正値がその更新を目的とする更新データに更新されると、その更新データに対するSUM値を算出する。
本発明の計測装置は、この算出したSUM値とSRAMに退避したオリジナルSUM値とを比較し、その結果、互いのSUM値が異なると判定されたとき、不揮発性メモリに保持されたオリジナル校正値とオリジナルSUM値を書き換えている。そして、本発明の計測装置は、校正値更新後も更新された校正値を基に入力信号を校正するようにしているので、計測装置稼動中に校正値を更新するためのモード変更などをすることなく校正値を更新し、それを計測処理に反映することが可能となった。
また、本発明は、更新データから算出されたSUM値と不揮発性メモリよりもアクセスタイムの速いSRAMに保持されたSUM値(オリジナル校正値のSUM値コピー)を比較するようにしたので、更新データがオリジナル校正値と違ったデータパターンであることを、短時間に検出することが可能となった。
As described above, according to the present invention, the calibration value (original calibration value) of the measuring device held in the nonvolatile memory and the check code (original SUM value) calculated from the original calibration value are obtained at the initial startup of the measuring device. Save to SRAM.
Then, the conversion unit 101 updates the original calibration value saved in the above-described SRAM without updating the mode for updating the calibration value during operation of the measuring apparatus to update data intended for the update. The SUM value for the update data is calculated.
The measuring apparatus according to the present invention compares the calculated SUM value with the original SUM value saved in the SRAM, and as a result, when it is determined that the SUM values are different from each other, the original calibration value held in the nonvolatile memory. The original SUM value is rewritten. Since the measuring apparatus of the present invention calibrates the input signal based on the updated calibration value even after the calibration value is updated, the mode is changed to update the calibration value while the measuring apparatus is in operation. It is now possible to update the calibration value and reflect it in the measurement process.
Further, according to the present invention, since the SUM value calculated from the update data is compared with the SUM value (SUM value copy of the original calibration value) held in the SRAM having a faster access time than the nonvolatile memory, the update data It is possible to detect in a short time that the data pattern is different from the original calibration value.

また、本発明は、SUM値の比較結果にて校正値の更新をするようにしたので、不揮発性メモリに対する校正値の更新を抑制すること、すなわち不要な書込みを阻止することができるため、長寿命な計測装置を提供することが可能となった。
また、本発明は、オリジナル校正値およびオリジナルSUM値を所定の複数のグループに予め分類して不揮発性メモリにそれぞれ保持し、計測装置の初期起動時(初期起動フェーズ)において、各グループ分類されたオリジナル校正値から算出されたそれぞれのSUM値と、これらのSUM値に対応する各オリジナルSUM値とをそれぞれ比較している。この結果、本発明の計測装置は、比較対象としたSUM値が相違した場合に、計測装置を稼動せずに異常処理(異常フェーズ)に移行する。
また、本発明の計測装置は、異常処理(異常フェーズ)にて、相違した校正値が含まれるグループをユーザに通知するようにした。こうすることで本発明の計測装置は、校正値の破損による計測不良を回避でき、それと共に破損した校正値を容易に特定できるので、不具合の原因究明の時間を大幅に削減することが可能となった。更に本発明の計測装置は、破損した校正値のグループに属する校正作業のみを実施し、そのグループの校正値を修復すれば良いため、校正値の更新に対するユーザの負担や時間を節約することが可能となった。
In the present invention, since the calibration value is updated based on the comparison result of the SUM value, the update of the calibration value to the nonvolatile memory can be suppressed, that is, unnecessary writing can be prevented. It has become possible to provide a long-life measuring device.
Further, according to the present invention, the original calibration value and the original SUM value are classified in advance into a plurality of predetermined groups and held in the nonvolatile memory, respectively, and each group is classified at the initial startup (initial startup phase) of the measuring device. Each SUM value calculated from the original calibration value is compared with each original SUM value corresponding to these SUM values. As a result, when the SUM values to be compared are different, the measuring device of the present invention shifts to an abnormal process (abnormal phase) without operating the measuring device.
In addition, the measurement apparatus of the present invention notifies the user of a group including different calibration values in the abnormality process (abnormal phase). In this way, the measuring device of the present invention can avoid measurement failures due to damage of calibration values, and at the same time, can easily identify damaged calibration values, thereby greatly reducing the time for investigating the cause of the failure. became. Furthermore, since the measuring apparatus of the present invention only needs to perform calibration work belonging to a group of damaged calibration values and repair the calibration values of that group, it is possible to save the user's burden and time for updating the calibration values. It has become possible.

そして本発明は、計測装置の初期起動時(初期起動フェーズ)において、校正値のSUM値の比較をすることによりオリジナル校正値が正常であるか否かを判定した結果、校正値が正常である場合にのみ運用フェーズに移行するようにしたので、誤計測処理をしない信頼性の高い計測装置を提供することが可能となった。
In the present invention, the calibration value is normal as a result of determining whether or not the original calibration value is normal by comparing the SUM value of the calibration value at the initial startup (initial startup phase) of the measuring device. Since the operation phase is shifted only to the case, it is possible to provide a highly reliable measurement device that does not perform erroneous measurement processing.

次に本発明の実施例2に係る計測装置について図5〜7を参照しながら説明する。
この実施例2が上述した実施例1と異なるところは、図5において、図1に対して転送判定手段101eと計測処理手段101fが付加された点、図6において、図2に対して不揮発性メモリ102に割付される初期校正値(計測装置を製造初期に校正した値であり、すなわちメーカ出荷時の校正値である)領域が付加された点、図7において、図4に対してプログラムの処理であるS310が付加された点にある。
また、図5〜7において図1〜4と同様な構成は同符号にて記載し、実施例1と重複する説明は省略する。
図5は、本発明の実施例2に係る計測装置の内部構成図である。図5において図1との相違点は、作業メモリ103(第二の記憶部)に保持された校正値およびこの校正値から算出されたチェックコード(第二のチェックコード)がそれぞれ不揮発性メモリ102(第一の記憶部)に正常に転送されたか否かを判定する転送判定手段101eと、この転送判定手段101eにより作業メモリ103から不揮発性メモリ102への転送が異常であると判定されたとき、初期校正値にて入力信号を校正する計測処理手段101fとが付加されている点である。
Next, a measurement apparatus according to Embodiment 2 of the present invention will be described with reference to FIGS.
The second embodiment is different from the first embodiment described above in that a transfer determination unit 101e and a measurement processing unit 101f are added to FIG. 1 in FIG. 5, and in FIG. The initial calibration value (the value obtained by calibrating the measuring device at the beginning of manufacture, that is, the calibration value at the time of shipment from the manufacturer) is added to the memory 102. In FIG. This is in that S310 as a process is added.
5 to 7, the same components as those in FIGS. 1 to 4 are denoted by the same reference numerals, and a description overlapping that of the first embodiment is omitted.
FIG. 5 is an internal configuration diagram of the measuring apparatus according to the second embodiment of the present invention. 5 differs from FIG. 1 in that the calibration value held in the work memory 103 (second storage unit) and the check code (second check code) calculated from the calibration value are respectively stored in the nonvolatile memory 102. Transfer determining means 101e for determining whether or not the data has been normally transferred to the (first storage unit), and when the transfer determining means 101e determines that the transfer from the work memory 103 to the nonvolatile memory 102 is abnormal The measurement processing means 101f for calibrating the input signal with the initial calibration value is added.

すなわち、変換部101は、不揮発性メモリ102に保持された校正値およびこの校正値のSUM値(第一のチェックコード)を作業メモリ103に転送する第一の転送手段101aと、校正値を順次加算していき合計値(SUM値)とするチェックコード算出手段101bと、作業メモリ103に転送され保持されたSUM値(第一のチェックコード)と作業メモリ103に転送され保持された校正値に対して算出したSUM値(第二のチェックコード)とを比較するチェックコード比較手段101cと、作業メモリ103に保持された校正値と、この校正値から算出したSUM値(第二のチェックコード)を不揮発性メモリ102に転送する第二の転送手段101dと、この第二の転送手段による転送が正常に転送されたか否かを判定する転送判定手段101eおよびこの転送判定手段101eにより作業メモリ103から不揮発性メモリ102への転送が異常であると判定されたとき、初期校正値にて入力信号を校正する計測処理手段101fを備える。
これら第一の転送手段101a、チェックコード算出手段101b、チェックコード比較手段101c、第二の転送手段101d、転送判定手段101eおよび計測処理手段101fは、いずれも変換部101の内部メモリ(不図示)に保持されるプログラムである。
That is, the conversion unit 101 sequentially transmits the calibration value held in the nonvolatile memory 102 and the SUM value (first check code) of the calibration value to the work memory 103, and the calibration value sequentially. The check code calculation means 101b that adds the sum to the sum (SUM value), the SUM value (first check code) transferred and held in the work memory 103, and the calibration value transferred and held in the work memory 103. Check code comparison means 101c for comparing the calculated SUM value (second check code), the calibration value held in the work memory 103, and the SUM value (second check code) calculated from the calibration value. The second transfer means 101d for transferring the data to the non-volatile memory 102 and whether or not the transfer by the second transfer means has been normally transferred When the transfer to the non-volatile memory 102 is judged to be abnormal from the work memory 103 by the transfer determination unit 101e and the transfer determination unit 101e, it comprises measuring means 101f of calibrating an input signal at an initial calibration value.
These first transfer means 101a, check code calculation means 101b, check code comparison means 101c, second transfer means 101d, transfer determination means 101e and measurement processing means 101f are all internal memories (not shown) of the conversion unit 101. It is a program held in

図6は、本発明の実施例2に係る計測装置100の不揮発性メモリ102と作業メモリ103に割り付けされたメモリ情報を示す図である。ちなみに作業メモリ103は、第一の記憶部を構成する不揮発性メモリ102よりもアクセスタイムが速いSRAMなどを用いる。
概略的には上述したように構成された本発明の実施例2に係る計測装置100が特徴とするところは、不揮発性メモリ102に保持された計測装置の校正値(オリジナル校正値)を作業メモリ103に転送しておき、この作業メモリに保持された校正値が更新されると、この更新を検知して不揮発性メモリ102の校正値を更新する点であり、更にこの更新が正常に行われなかった場合には、メーカ出荷時の校正値にて入力信号を校正することにある。この発明の計測装置におけるメーカ出荷時の校正値(初期校正値)とは、計測装置を製造するメーカが出荷時に行う校正作業による校正値であり、後に不変の校正値である。
このような特徴を備えた本発明の実施例2に係る計測装置の動作について、より詳細に説明する。
さて図6は、図2と本発明の実施例2に係る計測装置100のメモリ情報を示す図である。
FIG. 6 is a diagram illustrating memory information allocated to the nonvolatile memory 102 and the work memory 103 of the measurement apparatus 100 according to the second embodiment of the present invention. Incidentally, the working memory 103 uses, for example, an SRAM having a faster access time than the nonvolatile memory 102 constituting the first storage unit.
Schematically, the measuring apparatus 100 according to the second embodiment of the present invention configured as described above is characterized in that the calibration value (original calibration value) of the measuring apparatus held in the nonvolatile memory 102 is stored in the working memory. When the calibration value stored in the working memory is updated, the update is detected and the calibration value in the nonvolatile memory 102 is updated, and this update is performed normally. If not, the input signal is calibrated with the calibration value at the time of shipment from the manufacturer. The calibration value (initial calibration value) at the time of shipment from the manufacturer of the measurement apparatus according to the present invention is a calibration value obtained by a calibration operation performed at the time of shipment by the manufacturer of the measurement apparatus, and is an invariable calibration value later.
The operation of the measuring apparatus according to the second embodiment of the present invention having such characteristics will be described in more detail.
FIG. 6 is a diagram showing memory information of the measurement apparatus 100 according to FIG. 2 and Example 2 of the present invention.

図6(a)は図2(a)と概略同様であるが、その相違点は、計測装置を製造初期に校正した値、すなわちメーカ出荷時の校正値を保持する初期校正値領域210が不揮発性メモリ102に割付される点である。この初期校正値領域210には、メーカ出荷時の校正値である初期校正値211およびこの初期校正値211を基に算出したSUM値(初期校正値SUM値)が保持される。
図6(b)は、実施例1の図2(b)と同様であるので、この説明を省略する。
尚、図6において、グループ分類された校正値領域200の校正値は、図3のように分類されるので、その分類および校正項目の説明は省略する。
図7は、本発明の実施例2に係る計測装置の動作を説明するフローチャートである。この図において、図4との相違点は更新不良処理S310が付加された点である。その他の処理に関しては実施例1における図4の説明と概略同様である。
以降の説明は実施例1と同様の部分を省略し、相違する点を中心に説明する。
まず図7において、S301〜S303(初期起動フェーズ)およびS320(異常フェーズ)は実施例1の説明と同様であるのでその説明を省略する。
また、運用フェーズであるS304〜S310において、S305〜S309の説明は実施例1での説明と同様であるのでその説明を省略する。
FIG. 6A is substantially the same as FIG. 2A, but the difference is that the initial calibration value area 210 that holds the calibration value of the measurement device at the initial stage of manufacture, that is, the calibration value at the time of shipment from the manufacturer, is non-volatile. This is a point assigned to the memory 102. The initial calibration value area 210 holds an initial calibration value 211 that is a calibration value at the time of shipment from the manufacturer and a SUM value (initial calibration value SUM value) calculated based on the initial calibration value 211.
Since FIG. 6B is the same as FIG. 2B of the first embodiment, this description is omitted.
In FIG. 6, the calibration values in the calibration value region 200 classified as a group are classified as shown in FIG. 3, and the description of the classification and calibration items is omitted.
FIG. 7 is a flowchart for explaining the operation of the measuring apparatus according to the second embodiment of the present invention. In this figure, the difference from FIG. 4 is that an update failure process S310 is added. Other processes are substantially the same as the description of FIG. 4 in the first embodiment.
In the following description, the same parts as those in the first embodiment are omitted, and differences will be mainly described.
First, in FIG. 7, since S301 to S303 (initial start-up phase) and S320 (abnormal phase) are the same as those described in the first embodiment, the description thereof is omitted.
In S304 to S310, which are operation phases, the description of S305 to S309 is the same as the description in the first embodiment, and the description thereof is omitted.

すなわち、実施例2の運用フェーズにおける実施例1との相違点は、S304とS310の動作にあり、この動作を中心に説明する。
さて、S310の前処理であるS309で校正値領域200の校正値が正常に更新できなかったと判定した(S309 No)変換部101は、S310において、S308の転送が不良であったことを示す更新不良フラグ(不図示)をセットすると共にS304に移行する。
S304に移行した変換部101は、更新不良フラグ(不図示)を参照し、このフラグがセットされていたとき、初期校正値領域210の初期校正値211を基に入力信号を校正する。すなわち、S304において変換部101は、更新不良フラグ(不図示)がセットされていれば初期校正値領域210の校正値(初期校正値211)にて入力信号を校正し、更新不良フラグ(不図示)がリセットされていれば校正値領域200の校正値(Aグループ校正値、Bグループ校正値)を基に入力信号を校正する。
尚、不揮発性メモリ102は、揮発性メモリを電池などでバックアップしたバックアップメモリとしても良い。
また、初期起動フェーズにおいて変換部101は、初期校正値領域210の初期校正値211に対してSUM値を算出して、この算出されたSUM値と初期校正値SUM値212とを比較し、互いのSUMが相違したとき、異常処理320に移行する処理を付加しても良い。この場合S320に移行した変換部101は、初期校正値211が異常であることを表示部107に表示すると共に、ネットワーク110を経由して本装置に接続される他の機器に向けてその異常(初期校正値211が異常であること)を通知する。
That is, the difference from the first embodiment in the operation phase of the second embodiment lies in the operations of S304 and S310, and this operation will be mainly described.
Now, in S309, which is the pre-processing of S310, it is determined that the calibration value in the calibration value area 200 could not be updated normally (No in S309). In S310, the conversion unit 101 updates that the transfer in S308 was defective. A defect flag (not shown) is set and the process proceeds to S304.
The conversion unit 101 that has proceeded to S304 refers to an update failure flag (not shown), and calibrates the input signal based on the initial calibration value 211 in the initial calibration value area 210 when this flag is set. That is, in S304, the conversion unit 101 calibrates the input signal with the calibration value (initial calibration value 211) in the initial calibration value area 210 if the update failure flag (not shown) is set, and the update failure flag (not shown). ) Is reset, the input signal is calibrated based on the calibration values (A group calibration value, B group calibration value) in the calibration value area 200.
Note that the nonvolatile memory 102 may be a backup memory in which a volatile memory is backed up with a battery or the like.
In the initial startup phase, the conversion unit 101 calculates a SUM value for the initial calibration value 211 in the initial calibration value area 210, compares the calculated SUM value with the initial calibration value SUM value 212, and When the SUM is different, a process for shifting to the abnormality process 320 may be added. In this case, the conversion unit 101 that has proceeded to S320 displays that the initial calibration value 211 is abnormal on the display unit 107, and the abnormality (to the other devices connected to the apparatus via the network 110) ( That the initial calibration value 211 is abnormal).

尚、ここではA,Bの二つのグループについて説明したが、上述した方法に準じて更にグループを増やすことも勿論可能である。
以上のように、実施例2にて説明した計測装置は、実施例1に記載の計測装置に加えてメーカ出荷時の校正値を更に備え、校正値の更新が正常にできなかった場合、メーカ出荷時の校正値にて入力信号を校正するようにした。このようにすることにより、本発明は、校正値の更新に失敗したとしても、継続して計測処理を実行できる信頼性の高い計測装置を提供することが可能となった。
Although two groups A and B have been described here, it is of course possible to increase the number of groups in accordance with the method described above.
As described above, the measuring apparatus described in the second embodiment further includes a calibration value at the time of shipment from the manufacturer in addition to the measuring apparatus described in the first embodiment. If the calibration value cannot be updated normally, the manufacturer The input signal was calibrated with the calibration value at the time of shipment. By doing so, the present invention can provide a highly reliable measurement apparatus that can continuously perform measurement processing even if calibration value update fails.

本発明の実施例1に係る計測装置の構成を示す内部構成図である。It is an internal block diagram which shows the structure of the measuring device which concerns on Example 1 of this invention. 本発明の実施例1に係る計測装置におけるメモリ情報を示すブロック図である。It is a block diagram which shows the memory information in the measuring apparatus which concerns on Example 1 of this invention. 本発明の実施例1に係る校正値が、複数のグループに分類される例を示す表である。It is a table | surface which shows the example in which the calibration value which concerns on Example 1 of this invention is classified into a some group. 本発明の実施例1に従って変換部が実行する処理を示すフロー図である。It is a flowchart which shows the process which a conversion part performs according to Example 1 of this invention. 本発明の実施例2に係る計測装置の構成を示す内部構成図である。It is an internal block diagram which shows the structure of the measuring device which concerns on Example 2 of this invention. 本発明の実施例2に係る計測装置におけるメモリ情報を示すブロック図である。It is a block diagram which shows the memory information in the measuring device which concerns on Example 2 of this invention. 本発明の実施2に従って変換部が実行する処理を示すフロー図である。It is a flowchart which shows the process which a conversion part performs according to Example 2 of this invention.

符号の説明Explanation of symbols

100 計測装置
101 変換部
101a 第一の転送手段
101b チェックコード算出手段
101c チェックコード比較手段
101d 第二の転送手段
101e 転送判定手段
101f 計測処理手段
102 不揮発性メモリ
103 作業メモリ
104 通信部
105 入力部
106 出力部
107 表示部
108 操作部
110 ネットワーク
200 校正値領域(不揮発性メモリ)
201 Aグループ校正値
202 AグループSUM値
203 Bグループ校正値
204 BグループSUM値
210 初期校正値領域(不揮発性メモリ)
211 初期校正値
212 初期校正値SUM値
220 更新データ領域(作業メモリ)
221 Aグループ更新データ領域
222 AグループSUM更新領域
223 Bグループ更新データ領域
224 BグループSUM更新領域
DESCRIPTION OF SYMBOLS 100 Measuring apparatus 101 Conversion part 101a 1st transfer means 101b Check code calculation means 101c Check code comparison means 101d 2nd transfer means 101e Transfer determination means 101f Measurement processing means 102 Non-volatile memory 103 Work memory 104 Communication part 105 Input part 106 Output unit 107 Display unit 108 Operation unit 110 Network 200 Calibration value area (nonvolatile memory)
201 A group calibration value 202 A group SUM value 203 B group calibration value 204 B group SUM value 210 Initial calibration value area (non-volatile memory)
211 Initial calibration value 212 Initial calibration value SUM value 220 Update data area (working memory)
221 A group update data area 222 A group SUM update area 223 B group update data area 224 B group SUM update area

Claims (9)

被計測対象の状態に応じて所定の電気信号に変換した入力信号を生成する入力部と、
この入力部が生成した前記入力信号を校正する所定の校正値を保持する記億部と、
この記憶部が保持した前記校正値により前記入力信号を校正した出力値を生成する変換部とを具備した計測装置であって、
前記記憶部は、前記校正値およびこの校正値の正当性を検証するための第一のチェックコードを保持する第一の記憶部と、
前記校正値を保持する第二の記憶部と
を備え、
前記変換部は、前記第二の記憶部に前記校正値を転送する第一の転送手段と、
前記第二の記憶部に保持された前記校正値から該校正値の正当性を検証するための第二のチェックコードを所定の周期で算出するチェックコード算出手段と、
この算出された第二のチェックコードと前記第一のチェックコードとを比較するチェックコード比較手段と、
このチェックコード比較手段によって前記第一のチェックコードと前記第二のチェックコードとが相違したと判定されたとき、前記第二の記憶部に保持された校正値および前記第二のチェックコードを前記第一の記憶部にそれぞれ転送する第二の転送手段と
を備えることを特徴とする計測装置。
An input unit that generates an input signal converted into a predetermined electrical signal according to the state of the measurement target;
A storage unit that holds a predetermined calibration value for calibrating the input signal generated by the input unit,
A measuring unit including a conversion unit that generates an output value obtained by calibrating the input signal using the calibration value held by the storage unit;
The storage unit includes a first storage unit that holds the calibration value and a first check code for verifying the correctness of the calibration value;
A second storage unit for holding the calibration value;
The conversion unit includes first transfer means for transferring the calibration value to the second storage unit;
Check code calculation means for calculating a second check code for verifying the correctness of the calibration value from the calibration value held in the second storage unit at a predetermined period;
Check code comparison means for comparing the calculated second check code with the first check code;
When it is determined by the check code comparison means that the first check code is different from the second check code, the calibration value and the second check code held in the second storage unit are A measuring apparatus comprising: a second transfer unit configured to transfer each to the first storage unit.
被計測対象の状態に応じて所定の電気信号に変換した入力信号を生成する入力部と、
この入力部が生成した前記入力信号を校正する所定の校正値を保持する記億部と、
この記憶部が保持した前記校正値により前記入力信号を校正した出力値を生成する変換部とを具備した計測装置であって、
前記記憶部は、前記校正値およびこの校正値の正当性を検証するための第一のチェックコードを保持する第一の記憶部と、
この第一の記憶部よりもアクセスタイムが速い第二の記憶部と
を備え、
前記変換部は、前記第二の記憶部に前記校正値および第一のチェックコードを転送する第一の転送手段と、
前記第二の記憶部に保持された前記校正値から該校正値の正当性を検証するための第二のチェックコードを所定の周期で算出するチェックコード算出手段と、
この算出された第二のチェックコードと前記第二の記憶部に保持された前記第一のチェックコードとを比較するチェックコード比較手段と、
このチェックコード比較手段によって前記第一のチェックコードと前記第二のチェックコードとが相違したと判定されたとき、前記第二の記憶部に保持された校正値および前記第二のチェックコードを前記第一の記憶部にそれぞれ転送する第二の転送手段と
を備えることを特徴とする計測装置。
An input unit that generates an input signal converted into a predetermined electrical signal according to the state of the measurement target;
A storage unit that holds a predetermined calibration value for calibrating the input signal generated by the input unit,
A measuring unit including a conversion unit that generates an output value obtained by calibrating the input signal using the calibration value held by the storage unit;
The storage unit includes a first storage unit that holds the calibration value and a first check code for verifying the correctness of the calibration value;
A second storage unit having a faster access time than the first storage unit,
The conversion unit includes first transfer means for transferring the calibration value and the first check code to the second storage unit;
Check code calculation means for calculating a second check code for verifying the correctness of the calibration value from the calibration value held in the second storage unit at a predetermined period;
Check code comparison means for comparing the calculated second check code with the first check code held in the second storage unit;
When it is determined by the check code comparison means that the first check code is different from the second check code, the calibration value and the second check code held in the second storage unit are A measuring apparatus comprising: a second transfer unit configured to transfer each to the first storage unit.
被計測対象の状態に応じて所定の電気信号に変換した入力信号を生成する入力部と、
この入力部が生成した前記入力信号を校正する所定の校正値を保持する記億部と、
この記憶部が保持した前記校正値により前記入力信号を校正した出力値を生成する変換部とを具備した計測装置であって、
前記記憶部は、前記校正値およびこの校正値の正当性を検証するための第一のチェックコードを複数の所定のグループに予め分類してそれぞれ保持し、
前記変換部は、前記計測装置の初期起動時に、予め分類して保持された前記校正値毎に各校正値の正当性を検証するチェックコードをそれぞれ算出するチェックコード算出手段と、
このチェックコード算出手段によって算出された複数の前記チェックコードと該チェックコードに対応する前記第一のチェックコードとをそれぞれ比較するチェックコード比較手段と、
前記チェックコード比較手段によってチェックコードが相違したと判定されたとき、相違した前記チェックコードが含まれる前記グループを通知する通知手段と
を備えることを特徴とする計測装置。
An input unit that generates an input signal converted into a predetermined electrical signal according to the state of the measurement target;
A storage unit that holds a predetermined calibration value for calibrating the input signal generated by the input unit,
A measuring unit including a conversion unit that generates an output value obtained by calibrating the input signal using the calibration value held by the storage unit;
The storage unit preliminarily classifies the calibration value and a first check code for verifying the validity of the calibration value into a plurality of predetermined groups, respectively,
The conversion unit, at the initial startup of the measuring device, check code calculation means for calculating a check code for verifying the correctness of each calibration value for each calibration value that is classified and held in advance,
Check code comparison means for comparing each of the plurality of check codes calculated by the check code calculation means with the first check code corresponding to the check code;
And a notifying unit for notifying the group including the different check code when the check code comparing unit determines that the check code is different.
請求項1または請求項2に記載の計測装置であって、
前記第一の記憶部は、予め複数の所定のグループに分類された前記校正値および前記第一のチェックコードをそれぞれ保持し、
前記チェックコード算出手段は、前記計測装置の初期起動時に、予め分類して保持された前記校正値毎に各校正値の正当性を検証するためのチェックコードをそれぞれ算出し、
前記チェックコード比較手段は、算出された複数の前記チェックコードと該チェックコードに対応する前記第一のチェックコードとをそれぞれ比較すると共に、
前記変換部は、更に前記チェックコード比較手段によってチェックコードが相違したと判定されたとき、相違した前記チェックコードが含まれる前記グループを通知する通知手段と
を備えることを特徴とする計測装置。
The measuring device according to claim 1 or 2,
The first storage unit holds the calibration values and the first check code that are classified in advance into a plurality of predetermined groups,
The check code calculation means calculates a check code for verifying the correctness of each calibration value for each calibration value previously classified and held at the time of initial startup of the measuring device,
The check code comparison means compares the calculated plurality of check codes with the first check code corresponding to the check code, respectively.
The conversion device further includes a notification unit that notifies the group that includes the different check code when the check code comparison unit determines that the check code is different.
被計測対象の状態に応じて所定の電気信号に変換した入力信号を生成する入力部と、
この入力部が生成した前記入力信号を校正する所定の校正値を保持する記億部と、
この記憶部が保持した前記校正値により前記入力信号を校正した出力値を生成する変換部とを具備した計測装置であって、
前記記憶部は、最初に前記計測装置を校正したときの初期校正値を保持する初期校正値記憶部と、
前記校正値およびこの校正値の正当性を検証するための第一のチェックコードを保持する第一の記憶部と、
前記校正値を保持する第二の記憶部と
を備え、
前記変換部は、
前記校正値を前記第二の記憶部に転送する第一の転送手段と、
前記第二の記憶部に保持された前記校正値から該校正値の正当性を検証するための第二のチェックコードを所定の周期で算出するチェックコード算出手段と、
この算出された第二のチェックコードと前記第一のチェックコードとを比較するチェックコード比較手段と、
このチェックコード比較手段によって前記第一のチェックコードと前記第二のチェックコードとが相違したと判定されたとき、前記第二の記憶部に保持された校正値および前記第二のチェックコードを前記第一の記憶部にそれぞれ転送する第二の転送手段と
を備えることを特徴とする計測装置。
An input unit that generates an input signal converted into a predetermined electrical signal according to the state of the measurement target;
A storage unit that holds a predetermined calibration value for calibrating the input signal generated by the input unit,
A measuring unit including a conversion unit that generates an output value obtained by calibrating the input signal using the calibration value held by the storage unit;
The storage unit is an initial calibration value storage unit that holds an initial calibration value when the measurement apparatus is first calibrated.
A first storage unit that holds the calibration value and a first check code for verifying the validity of the calibration value;
A second storage unit for holding the calibration value;
The converter is
First transfer means for transferring the calibration value to the second storage unit;
Check code calculation means for calculating a second check code for verifying the correctness of the calibration value from the calibration value held in the second storage unit at a predetermined period;
Check code comparison means for comparing the calculated second check code with the first check code;
When it is determined by the check code comparison means that the first check code is different from the second check code, the calibration value and the second check code held in the second storage unit are A measuring apparatus comprising: a second transfer unit configured to transfer each to the first storage unit.
前記変換部は、更に前記第二の転送手段によって前記第二の記憶部に保持された校正値および前記第二のチェックコードがそれぞれ前記第一の記憶部に正常に転送されたか否かを判定する転送判定手段と、
この転送判定手段により前記転送が異常であると判定されたとき、前記初期校正値にて前記入力信号を校正する計測処理手段と
を備えることを特徴とする請求項5に記載の計測装置。
The conversion unit further determines whether the calibration value and the second check code held in the second storage unit by the second transfer unit have been normally transferred to the first storage unit, respectively. Transfer determination means to perform,
The measurement apparatus according to claim 5, further comprising a measurement processing unit that calibrates the input signal with the initial calibration value when the transfer determination unit determines that the transfer is abnormal.
被計測対象の状態に応じて所定の電気信号に変換した入力信号を生成する入力部と、
この入力部が生成した前記入力信号を校正する所定の校正値を保持する記億部と、 この記憶部が保持した前記校正値により前記入力信号を校正した出力値を生成する変換部と
を具備した計測装置であって、
前記記憶部は、最初に前記計測装置を校正したときの初期校正値を保持する初期校正値記憶部と、
前記校正値およびこの校正値の正当性を検証するための第一のチェックコードを保持する第一の記憶部と、
この第一の記憶部よりもアクセスタイムが速い第二の記憶部と
を備え、
前記変換部は、
前記校正値および前記第一のチェックコードを前記第二の記憶部に転送する第一の転送手段と、
前記第二の記憶部に保持された前記校正値から該校正値の正当性を検証するための第二のチェックコードを所定の周期で算出するチェックコード算出手段と、
この算出された第二のチェックコードと前記第二の記憶部に保持された前記第一のチェックコードとを比較するチェックコード比較手段と、
このチェックコード比較手段によって前記第一のチェックコードと前記第二のチェックコードとが相違したと判定されたとき、前記第二の記憶部に保持された校正値および前記第二のチェックコードを前記第一の記憶部にそれぞれ転送する第二の転送手段と
を備えることを特徴とする計測装置。
An input unit that generates an input signal converted into a predetermined electrical signal according to the state of the measurement target;
A storage unit for storing a predetermined calibration value for calibrating the input signal generated by the input unit; and a conversion unit for generating an output value obtained by calibrating the input signal based on the calibration value held by the storage unit. Measuring device,
The storage unit is an initial calibration value storage unit that holds an initial calibration value when the measurement apparatus is first calibrated.
A first storage unit that holds the calibration value and a first check code for verifying the validity of the calibration value;
A second storage unit having a faster access time than the first storage unit,
The converter is
First transfer means for transferring the calibration value and the first check code to the second storage unit;
Check code calculation means for calculating a second check code for verifying the correctness of the calibration value from the calibration value held in the second storage unit at a predetermined period;
Check code comparison means for comparing the calculated second check code with the first check code held in the second storage unit;
When it is determined by the check code comparison means that the first check code is different from the second check code, the calibration value and the second check code held in the second storage unit are A measuring apparatus comprising: a second transfer unit configured to transfer each to the first storage unit.
前記変換部は、更に前記第二の転送手段によって前記第二の記憶部に保持された校正値および前記第二のチェックコードがそれぞれ前記第一の記憶部に正常に転送されたか否かを判定する転送判定手段と、
この転送判定手段により前記転送が異常であると判定されたとき、前記初期校正値にて前記入力信号を校正する計測処理手段と
を備えることを特徴とする請求項7に記載の計測装置。
The conversion unit further determines whether the calibration value and the second check code held in the second storage unit by the second transfer unit have been normally transferred to the first storage unit, respectively. Transfer determination means to perform,
The measurement apparatus according to claim 7, further comprising a measurement processing unit that calibrates the input signal with the initial calibration value when the transfer determination unit determines that the transfer is abnormal.
請求項1〜8のいずれかに記載の計測装置であって、
前記第一および第二のチェックコードは、前記校正値を順次加算して合計値とした、SUM値であることを特徴とする計測装置。
A measuring device according to any one of claims 1 to 8,
The first and second check codes are SUM values obtained by sequentially adding the calibration values to obtain a total value.
JP2008051524A 2008-03-03 2008-03-03 Measuring device Active JP5286831B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008051524A JP5286831B2 (en) 2008-03-03 2008-03-03 Measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008051524A JP5286831B2 (en) 2008-03-03 2008-03-03 Measuring device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2013002477A Division JP5447700B2 (en) 2013-01-10 2013-01-10 Measuring device
JP2013002476A Division JP5447699B2 (en) 2013-01-10 2013-01-10 Measuring device

Publications (2)

Publication Number Publication Date
JP2009210308A true JP2009210308A (en) 2009-09-17
JP5286831B2 JP5286831B2 (en) 2013-09-11

Family

ID=41183629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008051524A Active JP5286831B2 (en) 2008-03-03 2008-03-03 Measuring device

Country Status (1)

Country Link
JP (1) JP5286831B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020017958A (en) * 2019-08-01 2020-01-30 株式会社小松製作所 Control device for construction machine and control method for construction machine
CN113678001A (en) * 2019-03-26 2021-11-19 松下知识产权经营株式会社 Signal processing device, inertial sensor, signal processing method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05225073A (en) * 1991-11-08 1993-09-03 Yokogawa Electric Corp Data processor and physical amount measuring device
JPH09101183A (en) * 1995-10-04 1997-04-15 Omron Corp Measuring equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05225073A (en) * 1991-11-08 1993-09-03 Yokogawa Electric Corp Data processor and physical amount measuring device
JPH09101183A (en) * 1995-10-04 1997-04-15 Omron Corp Measuring equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113678001A (en) * 2019-03-26 2021-11-19 松下知识产权经营株式会社 Signal processing device, inertial sensor, signal processing method, and program
CN113678001B (en) * 2019-03-26 2024-05-10 松下知识产权经营株式会社 Signal processing device, inertial sensor, signal processing method, and program
JP2020017958A (en) * 2019-08-01 2020-01-30 株式会社小松製作所 Control device for construction machine and control method for construction machine

Also Published As

Publication number Publication date
JP5286831B2 (en) 2013-09-11

Similar Documents

Publication Publication Date Title
CN109542761B (en) Software quality evaluation method, device and storage medium
WO2018118837A1 (en) Method to dynamically inject errors in a repairable memory on silicon and a method to validate built-in-self-repair logic
US8867289B2 (en) Chip with embedded non-volatile memory and testing method therefor
JP4834721B2 (en) Memory control device and memory control method
JP5082580B2 (en) Memory system, memory controller, control method, and control program
CN112379932B (en) Boot method and device of electronic equipment and electronic equipment
CN107463516B (en) Control device
JP2005293659A (en) Memory device and reference current setting method
JP5167936B2 (en) Information processing device
US6098194A (en) Detecting memory problems in computers
CN108735268B (en) Nonvolatile memory repair circuit
JP5447700B2 (en) Measuring device
JP5286831B2 (en) Measuring device
JP5012548B2 (en) Programmable controller
US6539338B1 (en) Self-diagnostic testing of a network interface adapter
CN109783297A (en) A kind of solid state hard disk uses the wide method for improving of temperature and solid state hard disk
US20160210063A1 (en) Data writing method and system
CN103137193B (en) Make to read from non-volatile memory device to become possible system and method
JP5447699B2 (en) Measuring device
US7492650B2 (en) Semiconductor storage device having a user region and a redundancy region
US7484147B2 (en) Semiconductor integrated circuit
JP2006285913A (en) Memory check device and image forming device
TWI437572B (en) Accessing method and system for error control coding using in the memory device
JP6062768B2 (en) Memory inspection apparatus, memory inspection method, and memory inspection program
CN114860052B (en) Program execution judging method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20101015

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110422

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121211

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130520

R150 Certificate of patent or registration of utility model

Ref document number: 5286831

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250