JP2009217439A - Control apparatus and its operation method - Google Patents

Control apparatus and its operation method Download PDF

Info

Publication number
JP2009217439A
JP2009217439A JP2008059252A JP2008059252A JP2009217439A JP 2009217439 A JP2009217439 A JP 2009217439A JP 2008059252 A JP2008059252 A JP 2008059252A JP 2008059252 A JP2008059252 A JP 2008059252A JP 2009217439 A JP2009217439 A JP 2009217439A
Authority
JP
Japan
Prior art keywords
data
value
control
feature amount
nonvolatile memory
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
JP2008059252A
Other languages
Japanese (ja)
Other versions
JP5066464B2 (en
Inventor
Mayumi Miura
眞由美 三浦
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.)
Azbil Corp
Original Assignee
Azbil Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Azbil Corp filed Critical Azbil Corp
Priority to JP2008059252A priority Critical patent/JP5066464B2/en
Publication of JP2009217439A publication Critical patent/JP2009217439A/en
Application granted granted Critical
Publication of JP5066464B2 publication Critical patent/JP5066464B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control apparatus extending a normal operation period of a nonvolatile memory until failure occurs by writing frequency restriction by restricting writing into the nonvolatile memory, and to provide its operation method. <P>SOLUTION: This control apparatus, for outputting an operation amount according to a control parameter to a control target such that a measurement value is brought close to a set value, has: an arithmetic processing part 11 calculating a characteristic amount of a control response; a RAM 13 holding the characteristic amount; and a rewritable EEPROM written with the characteristic amount held in the RAM 13. When writing data of the characteristic amount newly held in the RAM 13 into the EEPROM 12, the control apparatus decides whether to perform writing to the EEPROM 12 from the RAM 13 or not by use of data of the past characteristic amount held in the EEPROM 12 and the data of the new characteristic amount held in the RAM 13. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、制御機器、及びその動作方法に関し、特に詳しくは、不揮発性メモリを有する制御機器、及びその動作方法に関するものである。   The present invention relates to a control device and an operation method thereof, and more particularly to a control device having a nonvolatile memory and an operation method thereof.

加熱処理炉などの温度を制御するために、調節計が利用されている。調節計においては、制御のために接続するセンサ、アクチュエータなどの種類及び動作条件に依存するパラメータ、制御設定値や調整係数などの制御演算に使用するパラメータ、など、制御に先立って保持する数値パラメータが存在する。例えば、PID制御を行う調節計では、PIDパラメータなどの多数のパラメータを設定する必要がある。調節計は、これらのパラメータの設定を利用して温度を制御する。すなわち、調節計は、温度センサでの計測値に基づいて、PID制御を行う。   A controller is used to control the temperature of a heat treatment furnace or the like. In the controller, numerical parameters to be held prior to control, such as parameters that depend on the type and operating conditions of sensors and actuators connected for control, parameters used for control calculations such as control set values and adjustment factors, etc. Exists. For example, in a controller that performs PID control, it is necessary to set a large number of parameters such as PID parameters. The controller uses these parameter settings to control the temperature. That is, the controller performs PID control based on the measurement value of the temperature sensor.

調節計は、PIDパラメータを用いて、目標温度に設定された設定値と計測温度とに基づいた操作量を出力する。これにより、計測温度を目標温度に近づけることができる。ここで、調節計による制御では、PIDパラメータなどの制御パラメータの設定が必要となる。例えば、オートチューニングによって、PIDを最適化する方法が開示されている(特許文献1)。   The controller outputs an operation amount based on the set value set to the target temperature and the measured temperature using the PID parameter. Thereby, measurement temperature can be brought close to target temperature. Here, in the control by the controller, it is necessary to set a control parameter such as a PID parameter. For example, a method of optimizing PID by auto tuning is disclosed (Patent Document 1).

このようなPIDパラメータは、メモリに書き込まれて、保持される。例えば、パラメータを保存するメモリ媒体としては、一般的にEEPROM(Electrically Erasable Programmable Read Only Memory)が採用されている。EEPROMでは、書き込む回数が制限されている(特許文献2)。   Such PID parameters are written and held in the memory. For example, an EEPROM (Electrically Erasable Programmable Read Only Memory) is generally adopted as a memory medium for storing parameters. In the EEPROM, the number of times of writing is limited (Patent Document 2).

特開平4−84201号公報JP-A-4-84201 特開平5−73435号公報JP-A-5-73435

制御結果情報(設定値到達時間やオーバーシュート量など制御応答における特徴量のデータ)は、制御の不具合状態の把握やPIDなどの制御パラメータを調整する際に、実際の制御対象に対する制御結果として有効な情報となる。しかし、制御に先立って予め不具合の発生を予測するのは困難な場合が多い。このため、昇温や降温などの一連の制御動作を実施しながら調節計内部で特徴量を算出し、制御パラメータ等の制御条件に関連するパラメータと共にEEPROMに保存しておくという機能が考えられる。ここで、EEPROMに対しては一連の制御動作(昇温や降温等)を行う度に上記制御結果情報の書き込みが発生する事となる。   Control result information (feature data in the control response such as set value arrival time and overshoot amount) is effective as a control result for the actual control target when grasping the control failure state and adjusting control parameters such as PID. Information. However, it is often difficult to predict the occurrence of a defect in advance prior to control. For this reason, it is conceivable that a feature amount is calculated inside the controller while performing a series of control operations such as temperature increase and decrease, and stored in the EEPROM together with parameters related to control conditions such as control parameters. Here, each time a series of control operations (temperature increase, temperature decrease, etc.) are performed on the EEPROM, the control result information is written.

一方、上記のように、EEPROMには書き込み回数の制限がある。これを超えて書き込みを実施するとEEPROMの動作不良や故障が発生する可能性が高く、これにより、制御動作が行えないという調節計の故障が発生する。この場合には、EEPROMの交換が必要となる。   On the other hand, as described above, the EEPROM has a limit on the number of times of writing. If writing is performed beyond this, there is a high possibility that an EEPROM malfunction or failure will occur, and this causes a controller failure that prevents the control operation. In this case, the EEPROM needs to be replaced.

特許文献2では、EEPROMへの書き込み回数を累積してカウントするカウンタ部を有している。そして、カウント値が所定の時間内で、基準異常値に達した場合に、警報を発している。これにより、設定ミスなどによる意図しない書き込みが頻繁に行われていないかどうかを確認することができ、ユーザが対処することが可能となる。しかしながら、制御応答毎に特徴量を算出して保持する機能を持つ調節計において、算出した特徴量データをEEPROMへ書き込む動作は、ユーザの設定ミスなどによる意図しない動作ではない。EEPROMへの特徴量データの書き込みは、制御の不具合状態の把握やPIDなどの制御パラメータを調整する目的でユーザが利用する正常動作である。つまり、調節計が制御応答毎に特徴量を算出して保持する機能を持つ場合には、正常動作の範囲において、EEPROMへの特徴量データの書き込み回数が増加してしまう。   Japanese Patent Application Laid-Open No. 2004-228561 has a counter unit that accumulates and counts the number of times of writing to the EEPROM. When the count value reaches the reference abnormal value within a predetermined time, an alarm is issued. As a result, it is possible to confirm whether unintended writing due to a setting mistake or the like is not frequently performed, and the user can deal with it. However, in a controller having a function of calculating and holding a feature value for each control response, the operation of writing the calculated feature value data to the EEPROM is not an unintended operation due to a user setting error or the like. The writing of feature amount data to the EEPROM is a normal operation used by the user for the purpose of grasping the control failure state and adjusting control parameters such as PID. In other words, when the controller has a function of calculating and holding a feature value for each control response, the number of times of writing feature value data to the EEPROM increases within a normal operation range.

EEPROMの書き込み回数制限を越えてしまうと、EEPROMが故障してしまう。このため、メモリの交換、修理が必要になってしまう。よって、調節計が正常に動作できる期間が短くなってしまうという問題点がある。なお、上記の問題点は、調節計に限らず、書換可能な不揮発性メモリを有する制御機器で生じる。   If the EEPROM write count limit is exceeded, the EEPROM will fail. This necessitates replacement and repair of the memory. Therefore, there is a problem that the period during which the controller can operate normally is shortened. Note that the above problem occurs not only in the controller but also in a control device having a rewritable nonvolatile memory.

本発明は、このような問題点を解決するためになされたもので、不揮発性メモリへの書き込みを制限し、書き込み回数制限により故障するまでの不揮発性メモリの正常動作期間を伸長する制御機器、及びその動作方法を提供することを目的とする。   The present invention was made in order to solve such problems, a control device that limits writing to the nonvolatile memory and extends the normal operation period of the nonvolatile memory until failure occurs due to the limitation on the number of times of writing, And an operation method thereof.

本発明の第1の態様にかかる制御機器は、計測値を設定値に近づけるように、制御パラメータに応じた操作量を制御対象に出力する制御機器であって、前記計測値に基づいて制御応答の特徴量を算出する演算処理部と、前記演算処理部で算出された前記特徴量のデータが保持されるRAM領域と、前記RAM領域に保持されている前記特徴量のデータが書き込まれる書換可能な不揮発性メモリとを備え、前記RAM領域に新たに保持された前記特徴量のデータを前記不揮発メモリに書き出す場合において、前記不揮発性メモリに保持されている過去の特徴量のデータと前記RAM領域に保持された新たな特徴量のデータを利用して、前記RAM領域から前記不揮発性メモリに書き出すか否かを判定するものである。これにより、不揮発性メモリの書き込み回数を抑制し、前記不揮発性メモリの書き込み回数制限により故障するまでの正常動作期間を伸長することができる。   A control device according to a first aspect of the present invention is a control device that outputs an operation amount corresponding to a control parameter to a control target so that a measurement value approaches a set value, and a control response based on the measurement value An arithmetic processing unit that calculates the feature amount of the data, a RAM area that stores the feature amount data calculated by the arithmetic processing unit, and a rewritable data that stores the feature amount data stored in the RAM region Non-volatile memory, and when writing the feature value data newly held in the RAM area to the non-volatile memory, the past feature value data held in the non-volatile memory and the RAM area Is used to determine whether or not to write data from the RAM area to the nonvolatile memory. Thereby, the number of times of writing to the nonvolatile memory can be suppressed, and the normal operation period until failure occurs due to the limitation on the number of times of writing to the nonvolatile memory can be extended.

本発明の第2の態様にかかる制御機器は、上記の制御機器であって、前記過去の特徴量のデータと前記新たな特徴量のデータとの差分値を前記特徴量毎に算出し、前記差分値に応じて前記RAM領域から前記不揮発性メモリに書き出すか否かを判定するものである。これにより、簡便な処理で前記過去の特徴量のデータに対応する制御応答と前記新たな特徴量のデータに対応する制御応答との類似性を判定することができる。   A control device according to a second aspect of the present invention is the control device described above, wherein a difference value between the past feature amount data and the new feature amount data is calculated for each feature amount, and Whether to write from the RAM area to the nonvolatile memory is determined according to the difference value. Thereby, it is possible to determine the similarity between the control response corresponding to the past feature amount data and the control response corresponding to the new feature amount data by a simple process.

本発明の第3の態様にかかる制御機器は、上記の制御機器であって、前記過去の特徴量のデータと前記新たな特徴量のデータを利用した評価関数の値を算出し、前記評価関数の値に応じて、前記RAM領域から前記不揮発性メモリに書き出すか否かを判定するものである。これにより、適切に判定することができる。   A control device according to a third aspect of the present invention is the control device described above, and calculates a value of an evaluation function using the past feature amount data and the new feature amount data, and the evaluation function It is determined whether or not to write from the RAM area to the nonvolatile memory according to the value of. Thereby, it can determine appropriately.

本発明の第4の態様にかかる制御機器は、上記の制御機器であって、前記過去の特徴量と前記新たな特徴量との差分に応じた値がしきい値を越えた場合に、前記RAM領域から前記不揮発性メモリに書き出すことを特徴とするものである。これにより、前記不揮発性メモリへの書き込みを、前記過去の特徴量のデータに対応する制御応答と前記新たな特徴量のデータに対応する制御応答との類似性がしきい値の範囲を越えた場合に限る事で書き込み回数を制限することが可能となる。   A control device according to a fourth aspect of the present invention is the control device described above, wherein when a value according to a difference between the past feature amount and the new feature amount exceeds a threshold value, The data is written from the RAM area to the non-volatile memory. As a result, the similarity between the control response corresponding to the past feature amount data and the control response corresponding to the new feature amount data exceeds the threshold range when writing to the nonvolatile memory. By limiting the number of cases, the number of times of writing can be limited.

本発明の第5の態様にかかる制御機器は、上記の制御機器であって、前記しきい値が前記不揮発性メモリに記憶されている値に応じて、変化することを特徴とするものである。これにより、制御対象の特徴に応じた前記しきい値を設定でき、前記不揮発性メモリへの書き込み回数を制限しながら、ユーザにとって有効と判断される特徴量のデータを保持することができる。   A control device according to a fifth aspect of the present invention is the control device described above, wherein the threshold value changes according to a value stored in the nonvolatile memory. . Thereby, the threshold value corresponding to the feature to be controlled can be set, and the feature amount data determined to be effective for the user can be held while limiting the number of times of writing to the nonvolatile memory.

本発明の第6の態様にかかる制御機器の動作方法は、書換可能な不揮発性メモリを有し、計測値を設定値に近づけるように、制御パラメータに応じた操作量を制御対象に出力する制御機器の動作方法であって、制御応答の特徴量を算出するステップと、前記特徴量をRAM領域に保持するステップと、前記RAM領域に新たに保持された前記特徴量のデータを前記不揮発メモリに書き出す場合において、前記不揮発性メモリに保持されている過去の特徴量のデータと前記RAM領域に保持された新たな特徴量のデータを利用して、前記RAM領域から前記不揮発性メモリに書き出すか否かを判定するステップとを、備えるものである。これにより、不揮発性メモリの書き込み回数を抑制することができる。これにより、前記不揮発性メモリの書き込み回数制限による正常動作期間を伸長することができる。   The operation method of the control device according to the sixth aspect of the present invention includes a rewritable nonvolatile memory, and a control for outputting an operation amount corresponding to a control parameter to a control target so that a measured value approaches a set value. A method of operating a device, the step of calculating a feature amount of a control response, the step of holding the feature amount in a RAM area, and the data of the feature amount newly held in the RAM area in the nonvolatile memory Whether to write data from the RAM area to the non-volatile memory using the past characteristic value data held in the non-volatile memory and the new feature value data held in the RAM area. A step of determining whether or not. Thereby, the number of times of writing to the nonvolatile memory can be suppressed. As a result, the normal operation period due to the limitation on the number of writing times of the nonvolatile memory can be extended.

本発明の第7の態様にかかる制御機器の動作方法は、上記の動作方法であって、前記過去の特徴量のデータと前記新たな特徴量のデータとの差分値を前記特徴量毎に算出し、前記差分値に応じて前記RAM領域から前記不揮発性メモリに書き出すか否かを判定するものである。これにより、簡便な処理で前記過去の特徴量に対応する制御応答と前記新たな特徴量に対応する制御応答との類似性を判定することができる。   The operation method of the control device according to the seventh aspect of the present invention is the operation method described above, wherein a difference value between the past feature amount data and the new feature amount data is calculated for each feature amount. Then, it is determined whether or not to write from the RAM area to the nonvolatile memory in accordance with the difference value. Thereby, it is possible to determine the similarity between the control response corresponding to the past feature quantity and the control response corresponding to the new feature quantity by simple processing.

本発明の第8の態様にかかる制御機器の動作方法は、上記の動作方法であって、前記過去の特徴量のデータと前記新たな特徴量のデータを利用した評価関数の値を算出し、前記評価関数の値に応じて、複数の前記特徴量を用いた評価関数の値に応じて、前記RAM領域から前記不揮発性メモリに書き出すか否かを判定するものである。これにより、適切に判定することができる。   The operation method of the control device according to the eighth aspect of the present invention is the operation method described above, and calculates a value of an evaluation function using the past feature amount data and the new feature amount data, In accordance with the value of the evaluation function, it is determined whether to write from the RAM area to the nonvolatile memory in accordance with the value of the evaluation function using the plurality of feature quantities. Thereby, it can determine appropriately.

本発明の第9の態様にかかる制御機器の動作方法は、上記の動作方法であって、前記過去の特徴量のデータと前記新たな特徴量のデータとの差分に応じた値がしきい値を越えた場合に、前記RAM領域から前記不揮発性メモリに書き出すことを特徴とするものである。これにより、前記不揮発性メモリへの書き込みを、前記特徴量間の類似性がしきい値の範囲を越えた場合に限る事で書き込み回数を制限することが可能となる。   The operation method of the control device according to the ninth aspect of the present invention is the operation method described above, wherein a value corresponding to a difference between the past feature amount data and the new feature amount data is a threshold value. In the case where the threshold is exceeded, data is written from the RAM area to the nonvolatile memory. Accordingly, it is possible to limit the number of times of writing by writing to the nonvolatile memory only when the similarity between the feature quantities exceeds the threshold range.

本発明の第10の態様にかかる制御機器の動作方法は、上記の動作方法であって、前記しきい値が前記不揮発性メモリに記憶されている値に応じて、変化することを特徴とするものである。これにより、制御対象の特徴に応じた前記しきい値を設定でき、前記不揮発性メモリへの書き込み回数を制限しながら、ユーザにとって有効と判断される特徴量のデータを保持することができる。   The operation method of the control device according to the tenth aspect of the present invention is the operation method described above, wherein the threshold value changes according to a value stored in the nonvolatile memory. Is. Thereby, the threshold value corresponding to the feature to be controlled can be set, and the feature amount data determined to be effective for the user can be held while limiting the number of times of writing to the nonvolatile memory.

本発明によれば、不揮発性メモリへの書き込みを制限し、書き込み回数制限により故障するまでの不揮発性メモリの正常動作期間を伸長する制御機器、及びその動作方法を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the control apparatus which restrict | limits the write-in to a non-volatile memory, and extends | stretches the normal operation period of a non-volatile memory until it fails by a write frequency limit, and its operating method can be provided.

発明者は、上記制御結果情報をEEPROMに保存する場合において、書き込み回数制限により故障するまでのEEPROMの正常動作期間を伸長するために、以下の点に着目した。   The inventor paid attention to the following points in order to extend the normal operation period of the EEPROM until failure due to the limitation of the number of writing when the control result information is stored in the EEPROM.

上記制御結果情報が必要となる代表的なケースは、調節計が特定の制御対象に設置され制御対象の特性に合わせたパラメータの初期調整が必要な場合、また、初期調整実施後に、制御機器や制御対象の変更及び経時変化などにより制御結果が変化する場合である。いずれのケースも、上記制御結果情報の1つ以上の値に大きな変化が起きた場合である。(ここでは、調節計を制御対象に設置した初回の制御も上記制御結果情報が何も記録されていない状態から変化したケースと考えることとする)
つまり、調整作業を終えて例えば製造工程の通常運転などで同様の制御動作が繰り返され、制御関連機器の劣化や故障などによりその制御動作に変化が現れるまでの間においては、算出される制御動作毎の特徴量のデータはユーザにとっての重要度が低いと考えられる。
A typical case where the above control result information is required is when the controller is installed on a specific control target and the parameter needs to be adjusted according to the characteristics of the control target. This is a case where the control result changes due to a change in the control target and a change over time. In either case, a large change occurs in one or more values of the control result information. (Here, it is assumed that the initial control in which the controller is installed as a control target is also a case where the control result information has changed from a state in which nothing is recorded.)
In other words, after the adjustment work is finished, the same control operation is repeated, for example, in the normal operation of the manufacturing process, and the calculated control operation until the control operation changes due to deterioration or failure of the control-related equipment. It is considered that the feature amount data for each item has low importance for the user.

つまり、繰り返し行われる一連の制御動作において、1つもしくはそれ以上の上記制御結果情報に、ノイズ等を考慮した一定値以上の変化が現れない場合にEEPROMへの書き込みを行わないこととして書き込み回数を低減させる事が課題解決のために有効である事を想到した。   That is, in a series of repeated control operations, if no change of a certain value or more in consideration of noise or the like appears in one or more of the above control result information, writing to the EEPROM is not performed and the number of times of writing is determined. I thought that reducing it is effective for solving the problem.

以下に、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。図1は、本実施の形態にかかる調節計の計装事例を示す図である。   Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. FIG. 1 is a diagram illustrating an instrumentation example of a controller according to the present embodiment.

調節計1は、加熱処理炉6内に設けられている被加熱物8の温度を制御する。加熱処理炉6内には、被加熱物8と、温度を測定するための温度センサ5と、加熱を行うためのヒータ4とが設けられている。調節計1には、目標温度となる設定値SPが設定されている。この設定値SPは、例えば、ユーザによって指定される。あるいは、PC(パーソナルコンピュータ)などから設定値SPを調節計1に転送しても良い。また、温度センサ5で計測された計測温度が制御量PVとして調節計1に入力されている。調節計1は、設定値SPと制御量PVとに基づいて、フィードバック制御を行う。すなわち、調節計1は、予め設定されている設定値SP(目標温度)に計測値PV(計測温度)を近づけるように制御を行う。   The controller 1 controls the temperature of the object to be heated 8 provided in the heat treatment furnace 6. In the heat treatment furnace 6, an object to be heated 8, a temperature sensor 5 for measuring temperature, and a heater 4 for heating are provided. In the controller 1, a set value SP that is a target temperature is set. This set value SP is specified by the user, for example. Alternatively, the set value SP may be transferred to the controller 1 from a PC (personal computer) or the like. Further, the measured temperature measured by the temperature sensor 5 is input to the controller 1 as the control amount PV. The controller 1 performs feedback control based on the set value SP and the control amount PV. That is, the controller 1 performs control so that the measured value PV (measured temperature) approaches the preset value SP (target temperature).

本実施の形態では、調節計1がPID制御を行う。この場合、PIDパラメータが前記制御パラメータに相当する。調節計1はPIDパラメータに応じた操作量MVを電力機器7に出力する。従って、調節計1は、予め設定されているPIDパラメータの値に応じて電力機器7を制御する。すると、電力機器7がヒータ4に供給する電力を調整する。すなわち、操作量MVに応じた電力が電力機器7からヒータ4に供給される。従って、操作量MVに応じた制御出力で、電力機器7がヒータ4に電流を供給する。これにより、加熱処理炉6内の被加熱物8が加熱され、温度センサ5で計測される制御量PVが設定値SPに近づくように制御される。すなわち、計測温度が目標温度に近づいていく。   In the present embodiment, the controller 1 performs PID control. In this case, the PID parameter corresponds to the control parameter. The controller 1 outputs an operation amount MV corresponding to the PID parameter to the electric power device 7. Therefore, the controller 1 controls the electric power device 7 according to a preset value of the PID parameter. Then, the power supplied from the power device 7 to the heater 4 is adjusted. That is, power corresponding to the operation amount MV is supplied from the power device 7 to the heater 4. Accordingly, the power device 7 supplies current to the heater 4 with a control output corresponding to the operation amount MV. Thereby, the article 8 to be heated in the heat treatment furnace 6 is heated, and the control amount PV measured by the temperature sensor 5 is controlled so as to approach the set value SP. That is, the measured temperature approaches the target temperature.

次に、本実施の形態にかかる調節計1について、説明する。調節計1は、演算処理部11と、EEPROM12と、RAM13とを備えている。演算処理部11は、演算処理ユニットであり、EEPROM12やその他のROM(不図示)に格納されているプログラムを実行する。また、演算処理部11は、設定されているPIDパラメータを用いて演算処理を行う。RAM13は、演算処理部11の演算に必要な値や、演算処理部11の演算で求められた値を一時的に格納する。例えば、RAM13には、温度センサ5で計測された計測温度が制御量PVとして記憶される。また、RAM13には、制御応答に対する特徴量が保持される。   Next, the controller 1 according to the present embodiment will be described. The controller 1 includes an arithmetic processing unit 11, an EEPROM 12, and a RAM 13. The arithmetic processing unit 11 is an arithmetic processing unit and executes a program stored in the EEPROM 12 or other ROM (not shown). The arithmetic processing unit 11 performs arithmetic processing using the set PID parameter. The RAM 13 temporarily stores values necessary for the calculation of the calculation processing unit 11 and values obtained by the calculation of the calculation processing unit 11. For example, the RAM 13 stores the measured temperature measured by the temperature sensor 5 as the control amount PV. Further, the RAM 13 holds a feature amount for the control response.

EEPROM12は、電気的に書換可能な不揮発性メモリであり、PIDパラメータや制御プログラム等を格納する。例えば、EEPROM12に既に書き込まれているデータを消去し、新たなデータを書き込むことで、データの書換が実行される。EEPROM12には、通常、書き込み回数に制限がある。演算処理部11は、EEPROM12やRAM13に対するデータの書き込みや読み出しを行う。   The EEPROM 12 is an electrically rewritable nonvolatile memory, and stores PID parameters, control programs, and the like. For example, data rewriting is executed by erasing data already written in the EEPROM 12 and writing new data. The EEPROM 12 usually has a limit on the number of times of writing. The arithmetic processing unit 11 writes and reads data to and from the EEPROM 12 and RAM 13.

演算処理部11は、操作量MVを算出するためのプログラムを実行する。具体的には、演算処理部11がPIDパラメータを用いてPID演算を実施し、操作量MVを算出する。すなわち、設定値SPと制御量PVとから、適切と判断される操作量MVを求める。調節計1が操作量MVを電力機器7に出力すると、電力機器7がヒータ4にその操作量MVに応じた電力を供給する。これにより、加熱処理炉6内の被加熱物8が加熱される。よって、制御量PVが設定値SPに近づくように制御される。このように、制御量PVと設定値SPに基づいてPID演算を実行し、操作量MVを求めることで、フィードバック制御が行われている。   The arithmetic processing unit 11 executes a program for calculating the operation amount MV. Specifically, the arithmetic processing unit 11 performs a PID calculation using the PID parameter, and calculates an operation amount MV. That is, the operation amount MV determined to be appropriate is obtained from the set value SP and the control amount PV. When the controller 1 outputs the operation amount MV to the power device 7, the power device 7 supplies the heater 4 with power corresponding to the operation amount MV. Thereby, the article 8 to be heated in the heat treatment furnace 6 is heated. Therefore, the control amount PV is controlled so as to approach the set value SP. Thus, feedback control is performed by executing the PID calculation based on the control amount PV and the set value SP to obtain the operation amount MV.

演算処理部11は、さらに、制御応答の特徴量を自動検出するためのプログラムを実行する。ユーザは、この特徴量を確認することで、PIDパラメータを調整することができる。すなわち、制御応答から、PIDパラメータを設定するために必要な特徴量が抽出される。そして、この特徴量をEEPROM12に書き込む。さらに、ユーザが特徴量を確認して、PIDパラメータを変更する。   The arithmetic processing unit 11 further executes a program for automatically detecting the feature amount of the control response. The user can adjust the PID parameter by checking the feature amount. That is, a feature amount necessary for setting the PID parameter is extracted from the control response. Then, this feature amount is written in the EEPROM 12. Further, the user confirms the feature amount and changes the PID parameter.

より具体的には、演算処理部11で算出された特徴量が、逐次、RAM13に書き込まれていく。すなわち、制御動作中において、特徴量が抽出される毎に、その値がRAM13に書き込まれる。そして、特徴量がRAM13に一旦保持された後、EEPROM12に書き込まれる。すなわち、最新の制御応答に対する特徴量算出動作が終了した後、RAM13からEEPROM12に特徴量が書き移される。RAM13に書き込まれた特徴量を読み出して、EEPROM12に書き移す。ここでは、特徴量算出動作の任意の完了条件(例えば、制御応答に対する全ての特徴量が抽出された場合や、制御設定値SPへの整定判定条件を満たした場合など)を満たした後、EEPROM12に書き込まれる。すなわち、ある程度の期間、制御動作を行い、その制御動作中において、順次算出された特徴量がまず、RAMに書き込まれる。そして、特徴量の算出動作が終了した後、RAM13からEEPROM12への特徴量の書き込みが開始する。   More specifically, the feature amount calculated by the arithmetic processing unit 11 is sequentially written in the RAM 13. That is, during the control operation, each time a feature amount is extracted, its value is written into the RAM 13. The feature amount is once held in the RAM 13 and then written in the EEPROM 12. That is, after the feature value calculation operation for the latest control response is completed, the feature values are transferred from the RAM 13 to the EEPROM 12. The feature amount written in the RAM 13 is read out and transferred to the EEPROM 12. Here, after satisfying an arbitrary completion condition of the feature quantity calculation operation (for example, when all feature quantities for the control response are extracted or when the settling judgment condition for the control set value SP is satisfied), the EEPROM 12 Is written to. That is, a control operation is performed for a certain period, and during the control operation, sequentially calculated feature amounts are first written in the RAM. Then, after the feature amount calculation operation is completed, writing of the feature amount from the RAM 13 to the EEPROM 12 is started.

なお、調節計1にはメモリの制約があるため、EEPROM12には、予め特徴量を書き込む領域を確保して、再利用する方法が現実的であり、EEPROM12の同じ領域に、特徴量が上書きされていくこととなる。RAM13に保持されている特徴量のデータがEEPROM12に書き込まれる直前にEEPROM12上の書き込み領域に保持されているのは、過去の制御動作において算出された特徴量のデータである。特徴量の算出動作が終了してから、RAM13に保持されている特徴量のデータがEEPROM12の書き込み領域に書き込まれるまでの間は、EEPROM12に保持されている特徴量のデータは、過去の制御応答に対するデータとなり、RAM13に保持されている特徴量のデータは、新しい制御応答に対するデータとなる。以下、EEPROM12に保持されている特徴量のデータを、旧データと称し、RAM13に保持されている特徴量のデータを新データと称することもある。   Since the controller 1 has memory limitations, it is practical to reserve an area in the EEPROM 12 where a feature amount is written in advance and reuse it. The feature amount is overwritten in the same area of the EEPROM 12. It will be followed. What is stored in the writing area on the EEPROM 12 immediately before the feature data stored in the RAM 13 is written in the EEPROM 12 is the data of the feature calculated in the past control operation. The feature amount data held in the EEPROM 12 is a past control response until the feature amount data held in the RAM 13 is written in the writing area of the EEPROM 12 after the feature amount calculation operation is completed. The feature amount data stored in the RAM 13 is data for a new control response. Hereinafter, the feature amount data held in the EEPROM 12 may be referred to as old data, and the feature amount data held in the RAM 13 may be referred to as new data.

さらに、演算処理部11は、特徴量のデータをRAM13からEEPROM12に書き移すか否かの判定をしている。すなわち、演算処理部11は、EEPROM12に既に書き込まれている過去の制御応答に対する特徴量のデータと、RAM13に書き込まれた最新の制御応答に対する特徴量のデータを比較して特徴量の類似性を判定し、その結果に応じて、特徴量のデータをRAM13からEEPROM12に書き移すか否かの判定をしている。具体的には、新データと旧データとの類似性が高い場合には、RAM13に書き込まれた特徴量のデータをEEPROM12に書き込まない。これにより、書き込み回数を抑制することができる。類似性判定の方法としては、例えば、演算処理部11は、新データと旧データとの差分を特徴量毎に算出し、差分値がしきい値を越えた場合にRAM13上の新データをEEPROM12の旧データが保持された書き込みメモリ領域へ上書きする。一方、差分値がしきい値を越えない場合には、前記上書きの処理を実施しない。よって、EEPROM12は、旧データが保持されているままとなる。演算処理部11は、所定の演算処理プログラムによって、上記の処理を行っている。   Further, the arithmetic processing unit 11 determines whether or not the feature amount data is transferred from the RAM 13 to the EEPROM 12. That is, the arithmetic processing unit 11 compares the feature amount data for the past control response already written in the EEPROM 12 with the feature amount data for the latest control response written in the RAM 13 to determine the similarity of the feature amount. In accordance with the determination result, it is determined whether or not the feature amount data is transferred from the RAM 13 to the EEPROM 12. Specifically, when the similarity between the new data and the old data is high, the feature amount data written in the RAM 13 is not written in the EEPROM 12. Thereby, the number of times of writing can be suppressed. As a method for determining similarity, for example, the arithmetic processing unit 11 calculates a difference between new data and old data for each feature amount, and when the difference value exceeds a threshold value, the new data on the RAM 13 is stored in the EEPROM 12. Overwrites the write memory area that holds the old data. On the other hand, if the difference value does not exceed the threshold value, the overwriting process is not performed. Therefore, the old data is retained in the EEPROM 12. The arithmetic processing unit 11 performs the above processing using a predetermined arithmetic processing program.

次に、自動検出される特徴量の一例について、図2を用いて説明する。図2は、調節計1によって制御を実施した場合の、制御応答波形の例を示している。すなわち、図2は、PID制御を実行した時の昇温特性を示す一例である。図2において、横軸は時間(sec)、縦軸は制御量PVである温度(℃)を示している。また、図2には、最新の制御動作による制御応答波形、及び、過去の制御動作による制御応答波形の例が示されている。   Next, an example of feature amounts that are automatically detected will be described with reference to FIG. FIG. 2 shows an example of a control response waveform when control is performed by the controller 1. That is, FIG. 2 is an example showing the temperature rise characteristics when PID control is executed. In FIG. 2, the horizontal axis indicates time (sec), and the vertical axis indicates the temperature (° C.) that is the control amount PV. In addition, FIG. 2 shows an example of a control response waveform by the latest control operation and a control response waveform by the past control operation.

設定値SPが変更されると、昇温制御が開始される。図2では、昇温開始時間を0secとしている。昇温開始時間の制御量PVをPViとしている。例えば、設定値SPが室温20(℃)から100(℃)に設定変更されたとする。このとき、制御量PVが設定値SPよりも低くなっているため、調節計1は、高い値の操作量MVを出力する。すると、ヒータ加熱によって加熱処理炉6内が昇温して、やがて制御量PVが設定値SPに到達する。ここで、制御開始点から制御量PVと設定値SPが一致するまでの時間が設定値到達時間(sec)であり、この設定値到達時間が特徴量のデータの一つとなる。ここで、RAM13に保持されている設定値到達時間をArとし、EEPROM12に保持されている設定値到達時間をAeとしている。すなわち、設定値到達時間の新データをArとし、旧データをAeとしている。   When the set value SP is changed, the temperature rise control is started. In FIG. 2, the temperature rise start time is 0 sec. The control amount PV of the temperature rise start time is PVi. For example, it is assumed that the setting value SP is changed from room temperature 20 (° C.) to 100 (° C.). At this time, since the control amount PV is lower than the set value SP, the controller 1 outputs a high value of the operation amount MV. Then, the inside of the heat treatment furnace 6 is heated by heater heating, and the control amount PV eventually reaches the set value SP. Here, the time from the control start point until the control amount PV coincides with the set value SP is the set value arrival time (sec), and this set value arrival time is one of the feature amount data. Here, the set value arrival time held in the RAM 13 is Ar, and the set value arrival time held in the EEPROM 12 is Ae. That is, the new data of the set value arrival time is Ar, and the old data is Ae.

その後、図2の事例においては、制御量PVが設定値SPに到達した後も、制御量PVが上昇を続ける。しかし、調節計1の制御動作により、設定値SPを超えた制御量PVの値はやがて上昇から下降に転じ、制御量PVは、再び、設定値SPに近づく。ここで、制御量PVの最大値と設定値SPとの差がオーバーシュート量(℃)であり、このオーバーシュート量が特徴量のデータの一つとなる。図2においては、RAM13に保持されているオーバーシュート量をBrとし、EEPROM12に保持されているオーバーシュート量をBeとしている。すなわち、オーバーシュート量の新データをBrとし、旧データをBeとしている。   Thereafter, in the example of FIG. 2, the control amount PV continues to increase even after the control amount PV reaches the set value SP. However, due to the control operation of the controller 1, the value of the control amount PV that exceeds the set value SP eventually changes from increasing to decreasing, and the control amount PV approaches the setting value SP again. Here, the difference between the maximum value of the control amount PV and the set value SP is the overshoot amount (° C.), and this overshoot amount is one of the feature amount data. In FIG. 2, the overshoot amount held in the RAM 13 is Br, and the overshoot amount held in the EEPROM 12 is Be. That is, the new data of the overshoot amount is Br and the old data is Be.

さらに、図2の過去の制御動作による制御応答波形では、制御量PVは、オーバーシュートした後、周期的に上昇、下降を繰り返すハンチングという現象を示している。ここで、制御量PVの上昇、下降の繰り返しの周期がハンチング周期(sec)であり、このハンチング周期(sec)が特徴量のデータの一つである。ハンチング周期の算出方法としては、ハンチング中の制御量PVの極大点が現れる時間を求め、隣接する極大点間の時間を算出し、前記極大点間の時間の平均値をハンチング周期とする方法がある。ここで、RAM13に保持されているハンチング周期をCrとし、EEPROM12に保持されているハンチング周期をCeとしている。すなわち、ハンチング周期の新データをCrとし、旧データをCeとしている。なお、最新の制御動作では、ハンチング周期が長いか実質的に検出されていない(つまりハンチングが発生しない)ため、Crは検出されていない。   Further, in the control response waveform by the past control operation of FIG. 2, the control amount PV shows a phenomenon of hunting that repeatedly rises and falls periodically after overshooting. Here, the cycle of the increase and decrease of the control amount PV is the hunting cycle (sec), and this hunting cycle (sec) is one of the feature amount data. As a method of calculating the hunting cycle, there is a method in which the time at which the maximum point of the control amount PV during hunting appears is calculated, the time between adjacent maximum points is calculated, and the average value of the time between the maximum points is used as the hunting cycle. is there. Here, the hunting cycle held in the RAM 13 is Cr, and the hunting cycle held in the EEPROM 12 is Ce. That is, the new data of the hunting cycle is Cr, and the old data is Ce. In the latest control operation, Cr is not detected because the hunting cycle is long or substantially not detected (that is, hunting does not occur).

このようなオーバーシュート量、ハンチング周期、及び設定値到達時間が特徴量として算出され、PIDなどの制御パラメータの調整に利用される。例えば、理想的な昇温特性では、オーバーシュート量が少なく、ハンチング周期が長いか実質的に検出されなく(つまりハンチングが発生しない)、設定値到達時間が短くなる。従って、ユーザがこれらの特徴量を確認することで、PIDパラメータを調整することができる。なお、特徴量を用いることで、制御周期毎に計測される制御量PVの時系列データを大量に保持しなくてもよく、必要なメモリサイズを小さくすることができる。   Such an overshoot amount, hunting cycle, and set value arrival time are calculated as feature amounts and used for adjusting control parameters such as PID. For example, in the ideal temperature rise characteristic, the amount of overshoot is small, the hunting cycle is long or not substantially detected (that is, hunting does not occur), and the set value arrival time is shortened. Therefore, the PID parameter can be adjusted by the user confirming these feature amounts. Note that by using the feature amount, it is not necessary to store a large amount of time-series data of the control amount PV measured at each control cycle, and a necessary memory size can be reduced.

このように検出した特徴量のデータを逐次、RAM13に保存する。そして特徴量の算出動作完了後、RAM領域の新データを、EEPROM領域に保存するかどうかのチェックを行う。EEPROM12には、オーバーシュート量、ハンチング周期、及び設定値到達時間を書き込むために必要なサイズが確保されており、過去の制御動作の特徴量データである旧データが書き込まれている。調節計1は、RAM13上の新データとEEPROM12上の旧データとに基づいて、類似性チェックを行い、その結果に応じて、RAM13上の新データをEEPROM12に書き込むかどうかを判断する。   The feature amount data thus detected is sequentially stored in the RAM 13. After the feature amount calculation operation is completed, it is checked whether or not the new data in the RAM area is stored in the EEPROM area. The EEPROM 12 has a size required for writing the overshoot amount, the hunting cycle, and the set value arrival time, and old data that is characteristic amount data of the past control operation is written therein. The controller 1 performs a similarity check based on the new data on the RAM 13 and the old data on the EEPROM 12, and determines whether or not to write the new data on the RAM 13 in the EEPROM 12 according to the result.

新旧のデータが類似している場合、RAM13上の新データは、EEPROM12上に書き込まれない。新旧のデータが類似していない場合、EEPROM12に新データを書き込む。これにより、EEPROM12に新データが上書きされる。このように類似性を比較することで、ユーザにとって重要度が低いと判断される特徴量データの書き込みを制限することができる。すなわち、新データと旧データとで、特徴量のデータに大きな差が表れない場合は、例えば、制御パラメータ調整後の正常運転時などと同様にユーザが特徴量データを必要としないケースと判断してEEPROM12に新データを保存しない。よって、書き込み回数を低減することができる。これにより、書き込み回数制限により故障するまでのEEPROM12の正常動作期間を伸長することができる。一方、新データと旧データとで、特徴量に大きな差が表れた場合は、例えば、制御システムの導入時を含む制御パラメータの調整作業時、もしくは、制御関連機器の劣化や故障により制御動作に変化が現れた場合などの、ユーザが特徴量のデータを必要としているケースと判断して新データをEEPROM12に書き込む。これにより、ユーザにとって有効と判断される特徴量のデータをEEPROM12上に残しつつ、書き込み回数により故障するまでのEEPROM12の正常動作期間を伸長する。なお、制御パラメータ調整中に前記類似性が高くなる場合、つまり、制御パラメータを変化させても制御応答に大きな変化が現れない場合について記述する。この時、ユーザは制御応答が変化するまで(つまり、前記類似性が低くなるまで)、制御パラメータの変更と制御動作の実施を繰り返し、制御応答に変化が現れた時点で(つまり、前記類似性が低くなった時点で)、より調整目標に近い特徴量データを持つ制御応答のパラメータを選択する。この際に検出された特徴量データは前記類似性が低いため、EEPROM12上の旧データに上書きされ保持される。さらに制御応答を改善したい場合には、ユーザは同様に制御パラメータの変更と制御動作の実施を繰り返すが、制御パラメータの変更に対して制御応答に大きな変化が現れなくなると、やがて、実施済みの制御動作の中から、調整目標に最も近いと思われる特徴量データが検出された際の制御パラメータを選択して調整を完了する。これは、類似性の高い制御応答の特徴量データのセットが連続して検出される場合であり、新たな特徴量データをEEPROM12上に上書きして保持しておく重要度は低い。なお、類似性判定によってRAM13上の新データをEEPROM12への上書きしなかった制御応答に対応する制御動作の回数や類似性判定に使用した評価関数値などの情報をEEPROM12上の特徴量データと関係づけて記憶しておいてもよい。   When the old and new data are similar, the new data on the RAM 13 is not written on the EEPROM 12. If the old and new data are not similar, the new data is written into the EEPROM 12. As a result, new data is overwritten on the EEPROM 12. By comparing similarities in this way, it is possible to limit the writing of feature amount data that is determined to be less important for the user. In other words, if there is no significant difference in the feature data between the new data and the old data, it is determined that the user does not need the feature data, for example, during normal operation after control parameter adjustment. Therefore, the new data is not stored in the EEPROM 12. Therefore, the number of times of writing can be reduced. Thereby, it is possible to extend the normal operation period of the EEPROM 12 until a failure occurs due to the limitation on the number of times of writing. On the other hand, if there is a large difference in feature values between the new data and the old data, for example, during control parameter adjustment work, including when the control system is introduced, or due to deterioration or failure of control-related equipment, It is determined that the user needs feature data, such as when a change appears, and new data is written to the EEPROM 12. As a result, the normal operation period of the EEPROM 12 is extended until the failure occurs depending on the number of times of writing while the feature value data determined to be valid for the user is left on the EEPROM 12. A case where the similarity becomes high during control parameter adjustment, that is, a case where a large change in the control response does not appear even when the control parameter is changed will be described. At this time, the user repeatedly changes the control parameter and executes the control operation until the control response changes (that is, until the similarity becomes low), and when the change appears in the control response (that is, the similarity becomes similar). When the value becomes low), the control response parameter having the feature amount data closer to the adjustment target is selected. Since the feature amount data detected at this time has low similarity, the old data on the EEPROM 12 is overwritten and held. In order to further improve the control response, the user repeats the change of the control parameter and the execution of the control operation in the same manner. From the operations, the control parameter at the time when the feature amount data that seems to be closest to the adjustment target is detected is selected to complete the adjustment. This is a case where a set of feature value data of control responses with high similarity is continuously detected, and the importance of overwriting and retaining new feature value data on the EEPROM 12 is low. Note that information such as the number of control operations corresponding to the control response in which new data on the RAM 13 is not overwritten on the EEPROM 12 by similarity determination and the evaluation function value used for similarity determination are related to the feature amount data on the EEPROM 12. You may also remember it.

このように、本実施の形態にかかる調節計の動作方法は、制御量の計測結果に基づいて制御応答の特徴量を算出するステップと、算出された特徴量をRAM領域に保持するステップと、RAM領域に新たに保持された特徴量のデータをEEPROM12に書き出す場合において、EEPROM12に保持されている過去の特徴量のデータとRAM領域に保持された新たな特徴量のデータを利用して、RAM領域からEEPROM12に書き出すか否かを判定するステップとを、備えている。例えば、EEPROM12に前回書き込まれた過去の特徴量のデータと、RAM13に保持された今回の特徴量のデータとの差分値に応じて、RAM13からEEPROM12に書き出すか否かを判定する。そして、差分値がしきい値を越えない場合、EEPROM12で特徴量のデータを保存する。   As described above, the controller operating method according to the present embodiment includes a step of calculating a feature amount of the control response based on a measurement result of the control amount, a step of holding the calculated feature amount in the RAM area, When the feature value data newly held in the RAM area is written to the EEPROM 12, the past feature value data held in the EEPROM 12 and the new feature value data held in the RAM area are used to store the RAM. Determining whether to write data from the area to the EEPROM 12. For example, it is determined whether or not to write data from the RAM 13 to the EEPROM 12 according to the difference value between the previous feature value data written in the EEPROM 12 and the current feature value data held in the RAM 13. If the difference value does not exceed the threshold value, the feature value data is stored in the EEPROM 12.

次に、類似性比較の実施例について説明する。なお、図2に示すような制御応答において、旧データとして、Ae=105sec、Be=10℃、Ce=20secが取得されていたとする。また、新データとして、Ar=100sec、Br=20℃、Cr=Nが取得されたとする。なお、ハンチング周期のNは、未検出を示す値とする。例えば、Nはハンチング周期が長すぎて、検出できない場合を示している。   Next, an example of similarity comparison will be described. In the control response shown in FIG. 2, it is assumed that Ae = 105 sec, Be = 10 ° C., and Ce = 20 sec are acquired as old data. Further, it is assumed that Ar = 100 sec, Br = 20 ° C., and Cr = N are acquired as new data. Note that N of the hunting cycle is a value indicating non-detection. For example, N indicates a case where the hunting cycle is too long to be detected.

(実施例1)
実施例1における処理について図3を用いて説明する。図3は、類似性を比較するための処理を説明するための図である。実施例1では、特徴量毎に、類似性を比較している。図3に示すように、EEPROM12には、旧データであるAe、Be、Ceが格納されている。一方、RAM13には、新データであるAr、Br、Crが格納されている。
Example 1
Processing in the first embodiment will be described with reference to FIG. FIG. 3 is a diagram for explaining processing for comparing similarities. In the first embodiment, the similarity is compared for each feature amount. As shown in FIG. 3, the EEPROM 12 stores old data Ae, Be, and Ce. On the other hand, the RAM 13 stores new data Ar, Br, and Cr.

本実施例では、検出対象となるすべての特徴量に対応する新旧データの類似性をSj、各特徴量に対応する新旧データの類似性をSja、Sjb、Sjcと記述する。各特徴量の類似性の記述は、各特徴量に対応する添え字(a,b,cなど)を付加して記述している。類似性Sjは特徴量毎の類似性Sja、Sjb、Sjcを利用して決定される。類似性Sj、Sja、Sjb、Sjcは0または1の値をとり、1の時、類似性が低く、0の時、類似性が高いことを示す。具体的には、1個以上の特徴量において、類似性が低い場合、つまり、類似性Sja、Sjb、Sjcのいずれかが1となる場合、類似性Sj=1と判定して、RAM13の特徴量のデータをEEPROM12に上書きする。一方、全特徴量において、類似性が高い場合、つまり、類似性Sja、Sjb、Sjcのいずれも0となる場合、類似性Sj=0と判定して、RAM13の特徴量のデータをEEPROM12に書き込まない。すなわち、1個以上の特徴量に対して変化が大きい場合、RAM13の特徴量のデータをEEPROM12に上書きする。   In this embodiment, the similarity between old and new data corresponding to all feature quantities to be detected is described as Sj, and the similarity between old and new data corresponding to each feature quantity is described as Sja, Sjb, and Sjc. The description of the similarity of each feature quantity is described by adding subscripts (a, b, c, etc.) corresponding to each feature quantity. Similarity Sj is determined using similarity Sja, Sjb, Sjc for each feature quantity. The similarity Sj, Sja, Sjb, Sjc takes a value of 0 or 1. When 1, the similarity is low, and when 0, the similarity is high. Specifically, when the similarity is low in one or more feature quantities, that is, when any of the similarities Sja, Sjb, and Sjc is 1, it is determined that the similarity Sj = 1, and the feature of the RAM 13 The amount of data is overwritten on the EEPROM 12. On the other hand, when the similarity is high in all the feature amounts, that is, when all of the similarities Sja, Sjb, and Sjc are 0, it is determined that the similarity Sj = 0, and the feature amount data in the RAM 13 is written in the EEPROM 12. Absent. That is, when the change is large with respect to one or more feature amounts, the feature amount data in the RAM 13 is overwritten in the EEPROM 12.

より具体的には、特徴量毎にしきい値Tsを設定し、特徴量毎のデータ差の絶対値がしきい値Tsを越えた場合に、類似性が低いと判定する。本実施例では、各特徴量に設定されたしきい値Tsを、各特徴量に対応する添え字(a,b,cなど)を付加して、Tsa、Tsb、Tscと記述する。例えば、設定値到達時間の場合、(Ae−Ar)の絶対値と設定値到達時間のしきい値であるTsaとを比較する。そして、(Ae−Ar)の絶対値がしきい値Tsaを越えた場合、Sja=1とし、しきい値Tsa以下の場合、Sja=0とする。なお、Sjaは設定値到達時間における類似性を示す値である。設定値到達時間では、Sja=1の場合、新旧のデータの類似性が低く、Sja=0の場合、新旧データの類似性が高い。   More specifically, a threshold value Ts is set for each feature amount, and when the absolute value of the data difference for each feature amount exceeds the threshold value Ts, it is determined that the similarity is low. In this embodiment, the threshold value Ts set for each feature quantity is described as Tsa, Tsb, Tsc by adding subscripts (a, b, c, etc.) corresponding to each feature quantity. For example, in the case of the set value arrival time, the absolute value of (Ae-Ar) is compared with Tsa which is a threshold value of the set value arrival time. When the absolute value of (Ae−Ar) exceeds the threshold value Tsa, Sja = 1 is set, and when the absolute value is equal to or less than the threshold value Tsa, Sja = 0 is set. Sja is a value indicating the similarity in the set value arrival time. In the set value arrival time, when Sja = 1, the similarity between old and new data is low, and when Sja = 0, the similarity between old and new data is high.

同様に、オーバーシュート量の場合、(Be−Br)の絶対値としきい値Tsbとを比較する。そして、(Be−Br)の絶対値がしきい値Tsbを越えた場合、Sjb=1とし、しきい値Tsb以下の場合、Sjb=0とする。なお、Sjbはオーバーシュート量における類似性を示す値である。オーバーシュート量では、Sjb=1の場合、新旧のデータの類似性が低く、Sjb=0の場合、新旧データの類似性が高い。   Similarly, in the case of the overshoot amount, the absolute value of (Be−Br) is compared with the threshold value Tsb. When the absolute value of (Be−Br) exceeds the threshold value Tsb, Sjb = 1 is set, and when the absolute value is equal to or less than the threshold value Tsb, Sjb = 0 is set. Sjb is a value indicating similarity in the amount of overshoot. With respect to the amount of overshoot, the similarity between old and new data is low when Sjb = 1, and the similarity between old and new data is high when Sjb = 0.

同様に、ハンチング周期の場合、(Ce−Cr)の絶対値としきい値Tscとを比較する。そして、(Ce−Cr)の絶対値がしきい値Tscを越えた場合、Sjc=1とし、しきい値Tsc以下の場合、Sjc=0とする。なお、Sjcはハンチング周期における類似性を示す値である。ハンチング周期では、Sjc=1の場合、新旧のデータの類似性が低く、Sjc=0の場合、新旧データの類似性が高い。   Similarly, in the case of the hunting cycle, the absolute value of (Ce−Cr) is compared with the threshold value Tsc. When the absolute value of (Ce−Cr) exceeds the threshold value Tsc, Sjc = 1, and when the absolute value is equal to or less than the threshold value Tsc, Sjc = 0. Sjc is a value indicating similarity in the hunting cycle. In the hunting cycle, when Sjc = 1, the similarity between old and new data is low, and when Sjc = 0, the similarity between old and new data is high.

なお、特徴量が未検出の場合、例えば、新旧データの一方が未検出で、他方が検出の場合、類似性が低いとする。すなわち、特徴量が未検出から検出に切り換わった時、又は検出から未検出に切り換わったときは、類似性が低いとする。ハンチング周期を例に取ると、Sjc=1となる。新旧データともに未検出の場合には、類似性が高いとする。つまり、ハンチング周期を例に取ると、Cr=Ce=Nの場合、Sjc=0とする。   When the feature amount is not detected, for example, when one of the old and new data is not detected and the other is detected, the similarity is low. That is, it is assumed that the similarity is low when the feature amount is switched from undetected to detected, or when the feature amount is switched from detected to undetected. Taking a hunting cycle as an example, Sjc = 1. If both new and old data are not detected, the similarity is high. In other words, taking a hunting cycle as an example, if Cr = Ce = N, Sjc = 0.

そして、Sja、Sjb、Sjcのいずれか1つでも1になる場合、Sj=1とする。すなわち、一つ以上の特徴量の類似性が低い場合、新旧データが類似していないと判断して、EEPROM12のデータを上書きする。また、全ての特徴量の類似性が高い場合、EEPROM12への書き込みを行わない。これにより、EEPROM12への書き込み回数を低減し、書き込み回数制限による正常動作期間を伸長することができる。   If any one of Sja, Sjb, and Sjc is 1, Sj = 1. That is, when the similarity of one or more feature quantities is low, it is determined that the old and new data are not similar, and the data in the EEPROM 12 is overwritten. If all the feature quantities are similar, writing to the EEPROM 12 is not performed. Thereby, the number of times of writing to the EEPROM 12 can be reduced, and the normal operation period due to the limitation of the number of times of writing can be extended.

もちろん、各特徴量に対するしきい値は異なるものを設定できる。さらに、EEPROM12に格納されている値に応じて、しきい値Tsを設定することができる。例えば、しきい値Tsを可変にし、Tsa=Ae×10%、Tsb=(SP−Pvi)×5%、Tsc=Ce×3%とする。このようにEEPROM12に格納されている特徴量のデータを利用して各しきい値を設定してもよい。こうすることで、各々の特徴量のデータに対して分解能を考慮したしきい値Tsの設定が可能となる。もちろん、しきい値Tsの設定は、上記の例に限られるものではない。また、しきい値Tsには各々の特徴量に影響するノイズを考慮した値を用いてもよい。   Of course, different threshold values can be set for each feature amount. Further, the threshold value Ts can be set according to the value stored in the EEPROM 12. For example, the threshold value Ts is variable, and Tsa = Ae × 10%, Tsb = (SP−Pvi) × 5%, and Tsc = Ce × 3%. As described above, each threshold value may be set by using the feature amount data stored in the EEPROM 12. By doing so, it is possible to set the threshold value Ts in consideration of the resolution for each feature value data. Of course, the setting of the threshold value Ts is not limited to the above example. The threshold value Ts may be a value that considers noise that affects each feature amount.

前記可変のしきい値を実施例1の新旧データに適用して類似性を判定する場合を考えると、Ae=105sec、Ar=100secを利用して、Tsa=10.5secとなる。この場合、|105−100|≦10.5となり、Sja=0となる。よって、設定値到達時間では、新旧データの類似性が高い。   Considering the case where similarity is determined by applying the variable threshold value to the new and old data of the first embodiment, Asa = 105 sec, Ar = 100 sec, and Tsa = 10.5 sec. In this case, | 105-100 | ≦ 10.5, and Sja = 0. Therefore, the similarity between the old and new data is high in the set value arrival time.

また、Be=10℃、Br=20℃、SP=100℃、PVi=20℃とすると、Tsb=4℃となる。この場合、|10−20|≧4となり、Sjb=1となる。よって、オーバーシュート量では、新旧データの類似性が低い。   Further, when Be = 10 ° C., Br = 20 ° C., SP = 100 ° C., and PVi = 20 ° C., Tsb = 4 ° C. In this case, | 10−20 | ≧ 4 and Sjb = 1. Therefore, the similarity between old and new data is low in the overshoot amount.

また、旧データでは、ハンチング周期が未検出であったが、新データでは検出されている。よって、ハンチング周期では新旧データの類似性が低く、Sjc=1となる。以上のSja、Sjb、Sjcの値より、Sjは1となり、類似性が低いと判定される。これにより、RAM13の新データがEEPROM12の旧データに上書きされ、特徴量のデータが、更新される。また、上記の例のように、特徴量のデータの差分値としきい値の比較結果を用いているため、簡便に判定することができる。なお、上記の例では、1つの特徴量に対して、つまり、Sja、Sjb、Sjcのいずれかに対して類似性が低いと判定された時点で、EEPROM12にRAM13の新データを上書きしてもよい。これにより、速やかに判定することができる。   In the old data, the hunting cycle is not detected, but in the new data, it is detected. Therefore, the similarity between old and new data is low in the hunting cycle, and Sjc = 1. From the above values of Sja, Sjb, and Sjc, Sj is 1, and it is determined that the similarity is low. As a result, the new data in the RAM 13 is overwritten with the old data in the EEPROM 12, and the feature data is updated. Further, as in the above example, since the comparison value between the difference value of the feature amount data and the threshold value is used, it can be easily determined. In the above example, when it is determined that the similarity is low with respect to one feature amount, that is, any one of Sja, Sjb, and Sjc, the EEPROM 12 is overwritten with new data in the RAM 13. Good. Thereby, it can determine rapidly.

(実施例2)
実施例2における処理について図4を用いて説明する。図4は、類似性を比較するための処理を説明するための図である。実施例2では、評価関数を用いて、類似性を比較している。図4に示すように、EEPROM12には、旧データであるAe、Be、Ceが格納されている。一方、RAM13には、新データであるAr、Br、Crが格納されている。なお、新旧データの値(Ae、Be、Ce、Ar、Br、Cr)は実施例1と同じ値とし、実施例1と同様の処理については、説明を省略する。
(Example 2)
Processing in the second embodiment will be described with reference to FIG. FIG. 4 is a diagram for explaining processing for comparing similarities. In Example 2, the similarity is compared using an evaluation function. As shown in FIG. 4, the EEPROM 12 stores old data Ae, Be, and Ce. On the other hand, the RAM 13 stores new data Ar, Br, and Cr. The new and old data values (Ae, Be, Ce, Ar, Br, Cr) are the same as those in the first embodiment, and the description of the same processing as in the first embodiment is omitted.

本実施の形態では、類似性Sjを時間のディメンジョンの類似性Sjtと、温度のディメンジョンの類似性Sjpとに基づいて決定し、EEPROM12にRAM13の新データを上書きするか否かを判定している。ここで、時間のディメンジョンの類似性Sjtは、設定値到達時間とハンチング周期を用いて記述された評価関数の値である。設定値到達時間とハンチング周期は、時間のディメンジョンで表される特徴量である。温度のディメンジョンの類似性Sjpは、オーバーシュート量を用いて記述された評価関数の値である。オーバーシュート量は温度のディメンジョンで表される特徴量である。このようにディメンジョン別に評価関数を設定する。そして、ディメンジョン別に評価関数を用いて算出した類似性Sjp、Sjt、のうち、1つ以上のディメンジョンの類似性がしきい値を越える場合、新旧データに対応する制御応答は類似していないと判定する。   In the present embodiment, the similarity Sj is determined based on the similarity Sjt of the time dimension and the similarity Sjp of the temperature dimension, and it is determined whether or not new data in the RAM 13 is overwritten in the EEPROM 12. . Here, the time dimension similarity Sjt is a value of the evaluation function described using the set value arrival time and the hunting period. The set value arrival time and the hunting cycle are feature quantities represented by time dimensions. The similarity Sjp of the temperature dimension is a value of the evaluation function described using the overshoot amount. The overshoot amount is a feature amount expressed by a temperature dimension. In this way, an evaluation function is set for each dimension. If the similarity of one or more dimensions exceeds the threshold value among the similarities Sjp and Sjt calculated using the evaluation function for each dimension, it is determined that the control responses corresponding to the old and new data are not similar. To do.

時間のディメンジョンの類似性Sjtは、以下に示す評価関数で表される。
Sjt=α×|Ae―Ar|+β×|Ce―Cr|
The similarity Sjt of the time dimension is expressed by the evaluation function shown below.
Sjt = α × | Ae−Ar | + β × | Ce−Cr |

なお、α、及びβは重み係数である。すなわち、各特徴量において、新旧データの差分値の絶対値に重み係数をかける。そして、それらの和が類似性Sjtとなる。時間のディメンジョンの類似性Sjtとしきい値Tstとを比較する。このように時間のディメンジョンの類似性Sjtは、設定値到達時間とハンチング周期を変数とする評価関数によって表される。   Α and β are weighting factors. That is, in each feature amount, a weighting coefficient is applied to the absolute value of the difference value between the old and new data. And the sum of them becomes the similarity Sjt. The similarity Sjt of the time dimension is compared with the threshold value Tst. As described above, the similarity Sjt of the time dimension is represented by an evaluation function having the set value arrival time and the hunting cycle as variables.

温度のディメンジョンの類似性Sjpは、|Be―Br|となる。すなわち、オーバーシュート量における、新旧データの差分値の絶対値が温度のディメンジョンの類似性Sjpとなる。そして、温度のディメンジョンの類似性Sjpとしきい値Tspとを比較する。   The similarity Sjp of the temperature dimension is | Be-Br |. That is, the absolute value of the difference value between the old and new data in the overshoot amount becomes the similarity Sjp of the temperature dimension. Then, the similarity Sjp of the temperature dimension is compared with the threshold value Tsp.

算出された各ディメンジョンの類似性のうち、1つ以上のディメンジョンの類似性が、対応するしきい値を越えていた場合、新旧データが類似していないと判定する。すなわち、あるディメンジョンの類似性がしきい値を越える場合、新旧データが類似していないと判定して、Sj=1とする。これにより、EEPROM12にRAM13の新データが上書きされる。ユーザにとって有効と判断される特徴量のデータをEEPROM12上に残すことができる。一方、Sjt≦Tstとなり、かつSjp≦Tspとなった場合に、新旧データが類似していると判定して、Sj=0とする。つまり、全てのディメンジョンの類似性がしきい値を越えない場合に、新旧データが類似していると判定して、Sj=0とする。この場合、EEPROM12へのRAM13の新データの上書きを実行しない。これにより、EEPROM12への書き込み回数を制限し、書き込み回数制限により故障するまでのEEPROM12の正常動作期間を伸長する。もちろん、各ディメンジョンの評価関数に対するしきい値は異なるものを設定できる。   When the similarity of one or more dimensions among the calculated similarities of each dimension exceeds a corresponding threshold value, it is determined that the old and new data are not similar. That is, when the similarity of a certain dimension exceeds the threshold, it is determined that the old and new data are not similar, and Sj = 1 is set. As a result, new data in the RAM 13 is overwritten on the EEPROM 12. It is possible to leave on the EEPROM 12 the feature amount data judged to be effective for the user. On the other hand, when Sjt ≦ Tst and Sjp ≦ Tsp, it is determined that the old and new data are similar, and Sj = 0. That is, when the similarity of all dimensions does not exceed the threshold value, it is determined that the old and new data are similar, and Sj = 0. In this case, overwriting of new data in the RAM 13 to the EEPROM 12 is not executed. Thereby, the number of times of writing to the EEPROM 12 is limited, and the normal operation period of the EEPROM 12 until the failure occurs due to the limitation of the number of times of writing is extended. Of course, different thresholds can be set for the evaluation function of each dimension.

なお、本実施例で用いた特徴量のデータの様に、類似性Sjを求める評価関数で利用される任意の特徴量について、新旧データの一方が未検出で、他方が検出の場合は、類似性が低いとする。すなわち、前記特徴量が未検出から検出に切り換わった時、又は検出から未検出に切り換わったときは、類似性が低いと判定して、Sj=1とする。ここで、前記特徴量のデータが新旧ともに未検出だった場合には、新旧データが任意の同じ値であったと同様の処理を行う。例えば、実施例2において、ハンチング周期の新旧データがともに未検出だった場合を考えると、Ce=Cr=0などとし、評価関数の値である類似性Sjtを算出する。ここで、設定値到達時間についても新旧データともに未検出だった場合には、Ae=Ar=0として、時間のディメンジョンの類似性Sjtは0となる。   As with the feature value data used in the present embodiment, for any feature value used in the evaluation function for determining similarity Sj, if one of the old and new data is not detected and the other is detected, the similarity is similar. Suppose that the nature is low. That is, when the feature amount is switched from non-detection to detection, or when the feature amount is switched from detection to non-detection, it is determined that the similarity is low, and Sj = 1. Here, when the data of the feature amount is not detected for both new and old, the same processing is performed as if the old and new data were arbitrarily the same value. For example, in the second embodiment, considering the case where the new and old data of the hunting cycle are not detected, Ce = Cr = 0 is set, and the similarity Sjt which is the value of the evaluation function is calculated. Here, when neither the new value nor the old data is detected for the set value arrival time, Ae = Ar = 0 and the time dimension similarity Sjt is 0.

もちろん、各特徴量に対するしきい値は異なるものを設定できる。さらに、EEPROM12に格納されている値に応じて、しきい値Tsを設定することができる。すなわち、しきい値Tsを可変にする。例えば、Tst=Ae×10%、Tsp=(SP−Pvi)×5%とする。このようにすることで、分解能を考慮した判定が可能になる。もちろん、各しきい値Tsの設定は、上記の例に限られるものではない。また、各ディメンジョンに影響するノイズを考慮した値を用いてもよい。   Of course, different threshold values can be set for each feature amount. Further, the threshold value Ts can be set according to the value stored in the EEPROM 12. That is, the threshold value Ts is made variable. For example, Tst = Ae × 10% and Tsp = (SP−Pvi) × 5%. By doing so, it is possible to make a determination in consideration of the resolution. Of course, the setting of each threshold value Ts is not limited to the above example. Further, a value considering noise that affects each dimension may be used.

実施例1は、特徴量の新旧データの間で、ハンチング周期が未検出から検出に変わっている例である。よって、新旧データが類似していないと判定される。よって、EEPROM12にRAM13の新データが書き込まれ、EEPROM12の特徴量のデータが更新される。なお、上記の例で、1つの評価関数がしきい値を越えた時点で、EEPROM12にデータを書き込むようにしてもよい。   The first embodiment is an example in which the hunting cycle is changed from non-detection to detection between new and old data of feature amounts. Therefore, it is determined that the old and new data are not similar. Therefore, new data in the RAM 13 is written in the EEPROM 12 and the feature value data in the EEPROM 12 is updated. In the above example, data may be written to the EEPROM 12 when one evaluation function exceeds a threshold value.

このように、ディメンジョン別に評価関数を設定することで、各ディメンジョンに関連する特徴量について総合的な判定が可能になる。もちろん。評価関数の設定は、ディメンジョン別でなくてもよい。この場合、各特徴量を最大値などで規格化した値を用いることが好ましい。また、評価関数の設定は上記の例に限られるものではない。評価関数の算出に利用する特徴量のデータは、調節計1が算出対象とする複数の特徴量種類のすべてでも良く、また、重要度の高い特徴量の種類を選択してもよい。   As described above, by setting the evaluation function for each dimension, it is possible to comprehensively determine the feature amount related to each dimension. of course. The evaluation function may not be set for each dimension. In this case, it is preferable to use a value obtained by standardizing each feature amount with a maximum value or the like. The setting of the evaluation function is not limited to the above example. The feature amount data used for calculating the evaluation function may be all of a plurality of feature amount types to be calculated by the controller 1, or may select a feature amount type having high importance.

なお、制御応答の特徴量は、ハンチング周期、オーバーシュート量、及び設定値到達時間に限られるものではなく、例えば、これら以外の、アンダーシュート量、加熱時傾きなどであってもよい。さらに、実施例1及び2においては類似性を0、1の2値によって判定したが、類似性に2つ以上の段階を設け、その値に応じてメモリの操作方法や保持の方法を変化させても良い。さらには、PIDパラメータや他の制御パラメータに対して特徴量と同様の取り扱いをしてもよい。また、EEPROM以外の不揮発性メモリを用いてもよい。さらに、調節計1以外の制御機器に利用してもよい。すなわち、計測値を設定値に近づけるように、制御パラメータを用いて求められた操作量を制御対象に出力する制御機器であれば利用可能である。さらに、調節計1が制御を行うのは、温度以外の物理量、例えば、流量、圧力等であっても、もちろん構わない。   Note that the characteristic amount of the control response is not limited to the hunting period, the overshoot amount, and the set value arrival time, and may be, for example, an undershoot amount, an inclination during heating, or the like. Further, in the first and second embodiments, the similarity is determined by binary values of 0 and 1. However, two or more stages are provided for the similarity, and the memory operation method and the holding method are changed according to the values. May be. Furthermore, the PID parameter and other control parameters may be handled in the same manner as the feature amount. A non-volatile memory other than EEPROM may be used. Furthermore, you may utilize for control apparatuses other than the controller 1. FIG. That is, any control device that outputs an operation amount obtained using a control parameter to a control target so that a measured value approaches a set value can be used. Further, the controller 1 may control the physical quantity other than the temperature, for example, the flow rate, the pressure or the like.

本実施の形態にかかる調節計の構成、及びその計装事例を示す図である。It is a figure which shows the structure of the controller concerning this Embodiment, and its instrumentation example. 典型的な制御応答波形を示す図である。It is a figure which shows a typical control response waveform. 実施例1にかかるデータ書き込み処理を説明するための図である。FIG. 6 is a diagram for explaining data write processing according to the first embodiment; 実施例2にかかるデータ書き込み処理を説明するための図である。FIG. 10 is a diagram for explaining data write processing according to the second embodiment;

符号の説明Explanation of symbols

1 調節計
4 ヒータ
5 温度センサ
6 加熱処理炉
7 電力機器
8 被加熱物
11 演算処理部
12 EEPROM
13 RAM
SP 設定値
MV 操作量
PV 制御量
DESCRIPTION OF SYMBOLS 1 Controller 4 Heater 5 Temperature sensor 6 Heat processing furnace 7 Electric power equipment 8 To-be-heated object 11 Arithmetic processing part 12 EEPROM
13 RAM
SP set value MV manipulated variable PV controlled variable

Claims (10)

計測値を設定値に近づけるように、制御パラメータに応じた操作量を制御対象に出力する制御機器であって、
前記計測値に基づいて制御応答の特徴量を算出する演算処理部と、
前記演算処理部で算出された前記特徴量のデータが保持されるRAM領域と、
前記RAM領域に保持されている前記特徴量のデータが書き込まれる書換可能な不揮発性メモリとを備え、
前記RAM領域に新たに保持された前記特徴量のデータを前記不揮発メモリに書き出す場合において、前記不揮発性メモリに保持されている過去の特徴量のデータと前記RAM領域に保持された新たな特徴量のデータを利用して、前記RAM領域から前記不揮発性メモリに書き出すか否かを判定する制御機器。
A control device that outputs an operation amount according to a control parameter to a control target so that a measured value approaches a set value,
An arithmetic processing unit that calculates a feature amount of a control response based on the measured value;
A RAM area in which data of the feature amount calculated by the arithmetic processing unit is held;
A rewritable nonvolatile memory in which the feature amount data held in the RAM area is written;
When writing the feature value data newly held in the RAM area to the nonvolatile memory, the past feature value data held in the nonvolatile memory and the new feature value held in the RAM area A control device that determines whether to write data from the RAM area to the non-volatile memory using the data.
前記過去の特徴量のデータと前記新たな特徴量のデータとの差分値を前記特徴量毎に算出し、前記差分値に応じて前記RAM領域から前記不揮発性メモリに書き出すか否かを判定する請求項1に記載の制御機器。   A difference value between the past feature amount data and the new feature amount data is calculated for each feature amount, and it is determined whether or not to write from the RAM area to the nonvolatile memory according to the difference value. The control device according to claim 1. 前記過去の特徴量のデータと前記新たな特徴量のデータを利用して評価関数の値を算出し、前記評価関数の値に応じて、前記RAM領域から前記不揮発性メモリに書き出すか否かを判定する請求項1、又は2に記載の制御機器。   An evaluation function value is calculated using the past feature value data and the new feature value data, and whether or not to write to the nonvolatile memory from the RAM area according to the evaluation function value is determined. The control device according to claim 1, wherein the control device is determined. 前記過去の特徴量と前記新たな特徴量との差分に応じた値がしきい値を越えた場合に、
前記RAM領域から前記不揮発性メモリに書き出すことを特徴とする請求項1乃至3のいずれか1項に記載の制御機器。
When a value corresponding to the difference between the past feature amount and the new feature amount exceeds a threshold value,
The control device according to claim 1, wherein the control device writes data from the RAM area to the nonvolatile memory.
前記しきい値が前記不揮発性メモリに記憶されている値に応じて、変化することを特徴とする請求項1乃至4のいずれか1項に記載の制御機器。   The control device according to any one of claims 1 to 4, wherein the threshold value changes according to a value stored in the nonvolatile memory. 書換可能な不揮発性メモリを有し、
計測値を設定値に近づけるように、制御パラメータに応じた操作量を制御対象に出力する制御機器の動作方法であって、
制御応答の特徴量を算出するステップと、
前記特徴量をRAM領域に保持するステップと、
前記RAM領域に新たに保持された前記特徴量のデータを前記不揮発メモリに書き出す場合において、前記不揮発性メモリに保持されている過去の特徴量のデータと前記RAM領域に保持された新たな特徴量のデータを利用して、前記RAM領域から前記不揮発性メモリに書き出すか否かを判定するステップとを、備える制御機器の動作方法。
Having rewritable nonvolatile memory,
An operation method of a control device that outputs an operation amount according to a control parameter to a control target so that a measured value approaches a set value,
Calculating a characteristic amount of the control response;
Holding the feature quantity in a RAM area;
When writing the feature value data newly held in the RAM area to the nonvolatile memory, the past feature value data held in the nonvolatile memory and the new feature value held in the RAM area And determining whether to write data from the RAM area to the non-volatile memory using the data.
前記過去の特徴量のデータと前記新たな特徴量のデータとの差分値を前記特徴量毎に算出し、前記差分値に応じて前記RAM領域から前記不揮発性メモリに書き出すか否かを判定する請求項6に記載の制御機器の動作方法。   A difference value between the past feature amount data and the new feature amount data is calculated for each feature amount, and it is determined whether or not to write from the RAM area to the nonvolatile memory according to the difference value. The operation method of the control device according to claim 6. 前記過去の特徴量のデータと前記新たな特徴量のデータを利用した評価関数の値を算出し、前記評価関数の値に応じて、前記RAM領域から前記不揮発性メモリに書き出すか否かを判定する請求項6、又は7に記載の制御機器の動作方法。   A value of an evaluation function using the past feature value data and the new feature value data is calculated, and whether to write out from the RAM area to the nonvolatile memory is determined according to the value of the evaluation function The operation method of the control apparatus according to claim 6 or 7. 前記過去の特徴量のデータと前記新たな特徴量のデータとの差分に応じた値がしきい値を越えた場合に、
前記RAM領域から前記不揮発性メモリに書き出すことを特徴とする請求項6乃至8のいずれか1項に記載の制御機器の動作方法。
When a value corresponding to a difference between the past feature amount data and the new feature amount data exceeds a threshold value,
The operation method of the control device according to claim 6, wherein data is written from the RAM area to the nonvolatile memory.
前記しきい値が前記不揮発性メモリに記憶されている値に応じて、変化することを特徴とする請求項6乃至9のいずれか1項に記載の制御機器の動作方法。   The operation method of the control device according to claim 6, wherein the threshold value changes according to a value stored in the nonvolatile memory.
JP2008059252A 2008-03-10 2008-03-10 Control device and operation method thereof Expired - Fee Related JP5066464B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008059252A JP5066464B2 (en) 2008-03-10 2008-03-10 Control device and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008059252A JP5066464B2 (en) 2008-03-10 2008-03-10 Control device and operation method thereof

Publications (2)

Publication Number Publication Date
JP2009217439A true JP2009217439A (en) 2009-09-24
JP5066464B2 JP5066464B2 (en) 2012-11-07

Family

ID=41189235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008059252A Expired - Fee Related JP5066464B2 (en) 2008-03-10 2008-03-10 Control device and operation method thereof

Country Status (1)

Country Link
JP (1) JP5066464B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015225023A (en) * 2014-05-29 2015-12-14 日本電産サンキョー株式会社 Encoder
CN105278329A (en) * 2014-07-07 2016-01-27 阿自倍尔株式会社 Pid controller and data collecting method
US9897982B2 (en) 2014-07-01 2018-02-20 Azbil Corporation PID controller and data collecting method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02273804A (en) * 1989-04-14 1990-11-08 Omron Corp Parameter control method for pid controller
JPH1069301A (en) * 1996-08-27 1998-03-10 Rika Kogyo Kk Pid regulator
JPH11159387A (en) * 1997-11-25 1999-06-15 Denso Corp Vehicle control device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02273804A (en) * 1989-04-14 1990-11-08 Omron Corp Parameter control method for pid controller
JPH1069301A (en) * 1996-08-27 1998-03-10 Rika Kogyo Kk Pid regulator
JPH11159387A (en) * 1997-11-25 1999-06-15 Denso Corp Vehicle control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015225023A (en) * 2014-05-29 2015-12-14 日本電産サンキョー株式会社 Encoder
US9897982B2 (en) 2014-07-01 2018-02-20 Azbil Corporation PID controller and data collecting method
CN105278329A (en) * 2014-07-07 2016-01-27 阿自倍尔株式会社 Pid controller and data collecting method
CN105278329B (en) * 2014-07-07 2018-02-13 阿自倍尔株式会社 PID controller and method of data capture

Also Published As

Publication number Publication date
JP5066464B2 (en) 2012-11-07

Similar Documents

Publication Publication Date Title
JP6364349B2 (en) Mass flow controller and method for operating mass flow controller
US9422869B2 (en) Systems and methods for gas turbine tuning and control
JP5075701B2 (en) Control device and power estimation method
KR101676957B1 (en) Method and apparatus for calculating energy saving effect
US20210254851A1 (en) Air conditioning control device and air conditioning control method
US20200005185A1 (en) Automatic control artificial intelligence device and method for updating a control function
EP2725434A1 (en) Feedback control method, feedback control apparatus, and feedback control program
JP5066464B2 (en) Control device and operation method thereof
JP4481953B2 (en) State determination device and state determination method
CN105490253A (en) Electromagnetic heating system, over-temperature protection method and device for power device of electromagnetic heating system
WO2020171104A1 (en) Information processing device, information processing method, and information processing program
US20230161935A1 (en) Method of generating a digital twin of the environment of industrial processes
JP4417915B2 (en) State determination device and state determination method
JP2020160701A (en) Temperature control device, temperature control method and program
JP2020099982A (en) Machine tool thermal displacement correction method, thermal displacement correction program, thermal displacement correction device
JP5948998B2 (en) Abnormality diagnosis device
JP6417175B2 (en) Evaluation apparatus and evaluation method
JP7275492B2 (en) Control device, control method and program
JP6951153B2 (en) Diagnostic equipment and methods
JP5129615B2 (en) Controller and operation method thereof
JP6269678B2 (en) Fuzzy control device and fuzzy control method
JP2020098538A (en) Control device, control method and control program
KR101677532B1 (en) Data storage device and method for restricting access thereof
JP6974131B2 (en) Estimator and method
JP2009199219A (en) Pid control device, and method for protecting nonvolatile memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101020

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120116

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120515

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120704

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120720

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120813

R150 Certificate of patent or registration of utility model

Ref document number: 5066464

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150817

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees