JP2017228106A - Analog output device - Google Patents

Analog output device Download PDF

Info

Publication number
JP2017228106A
JP2017228106A JP2016124106A JP2016124106A JP2017228106A JP 2017228106 A JP2017228106 A JP 2017228106A JP 2016124106 A JP2016124106 A JP 2016124106A JP 2016124106 A JP2016124106 A JP 2016124106A JP 2017228106 A JP2017228106 A JP 2017228106A
Authority
JP
Japan
Prior art keywords
error
analog output
unit
mode
analog
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.)
Pending
Application number
JP2016124106A
Other languages
Japanese (ja)
Inventor
大輝 北岡
Daiki Kitaoka
大輝 北岡
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2016124106A priority Critical patent/JP2017228106A/en
Publication of JP2017228106A publication Critical patent/JP2017228106A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an analog output device capable of preventing output of a fraudulent analog signal even when an error occurs.SOLUTION: An analog output device 1 arranged between control object equipment 3 and a host control device 2 controlling the control object equipment 3 includes: an analogue output section 5 converting a digital signal from the host control device 2 with respect to the control object equipment 3 into an analog signal and outputting the analog signal to the control object equipment 3; a microcomputer 4 controlling operation of the analogue output section 5; and an error detection section 8 detecting an error related to operation of the analog output device 1. The analogue output section 5 has a plurality of modes with respect to the error, and transmits the analog signal corresponding to a mode set from the plurality of modes from the host control device 2 to the control object equipment 3 when the error detection section 8 detects the error.SELECTED DRAWING: Figure 1

Description

この発明は、上位制御装置からの制御用のデジタル信号を例えば電流や電圧のアナログ信号に変換し、例えば原子力発電プラントの制御対象機器に出力するアナログ出力装置に関するものである。   The present invention relates to an analog output device that converts a control digital signal from a host control device into, for example, an analog signal of current or voltage and outputs the analog signal to, for example, a control target device of a nuclear power plant.

従来のアナログ出力装置は、産業用プラントなどの制御を行う制御システムにおいては、D/A(デジタルアナログ)変換装置や演算増幅器を使用し、制御用のデジタル信号を、指定された電流または電圧のアナログ信号に変換して、制御対象となる外部負荷に出力するものである(例えば、特許文献参照)。   A conventional analog output device uses a D / A (digital analog) converter or an operational amplifier in a control system for controlling an industrial plant or the like, and converts a control digital signal to a specified current or voltage. It converts into an analog signal and outputs it to the external load used as a control object (for example, refer patent documents).

特開2014−183431号公報JP 2014-183431 A

従来のアナログ出力装置は、マイコンや制御回路周辺でエラーが発生した場合には、異常な出力が実施され、プラント機器に大きな影響を与えるという問題点があった。   The conventional analog output device has a problem that when an error occurs around a microcomputer or a control circuit, an abnormal output is performed, which greatly affects plant equipment.

この発明は上記のような課題を解決するためになされたものであり、エラーが発生した場合でも、不正なアナログ信号の出力を防止できるアナログ出力装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to provide an analog output device that can prevent an illegal analog signal from being output even when an error occurs.

この発明のアナログ出力装置は、
制御対象機器と、前記制御対象機器を制御する上位制御装置との間に配置されるアナログ出力装置であって、
前記制御対象機器に対する前記上位制御装置からのデジタル信号をアナログ信号に変換して前記制御対象機器に出力するアナログ出力部と、
前記アナログ出力部の動作を制御する制御部と、
前記アナログ出力装置の動作に関連するエラーを検出するエラー検出部と、
前記アナログ出力部は、前記エラーに対して複数のモードを有し、前記エラー検出部が前記エラーを検出すると、前記上位制御装置から複数の前記モードから設定された前記モードに対応するアナログ信号を前記制御対象機器に送信する。
The analog output device of the present invention is
An analog output device disposed between a control target device and a host control device that controls the control target device,
An analog output unit that converts a digital signal from the host controller for the control target device into an analog signal and outputs the analog signal to the control target device;
A control unit for controlling the operation of the analog output unit;
An error detection unit for detecting an error related to the operation of the analog output device;
The analog output unit has a plurality of modes for the error, and when the error detection unit detects the error, the analog output unit outputs an analog signal corresponding to the mode set from the plurality of modes from the host controller. Transmit to the control target device.

この発明のアナログ出力装置によれば、
エラーが発生した場合でも、不正なアナログ信号の出力を防止できる。
According to the analog output device of the present invention,
Even when an error occurs, it is possible to prevent an illegal analog signal from being output.

この発明の実施の形態のアナログ出力装置の構成を示すブロック図である。It is a block diagram which shows the structure of the analog output device of embodiment of this invention. 図1に示したアナログ出力装置のマイコンとアナログ出力部の構成を示す図である。It is a figure which shows the structure of the microcomputer and analog output part of the analog output device shown in FIG. 図2に示したアナログ出力装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the analog output device shown in FIG. 図2に示したアナログ出力装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the analog output device shown in FIG.

実施の形態1.
以下、本発明の実施の形態について説明する。本発明の実施の形態のアナログ出力装置は、当該アナログ出力装置が例えばクロックの喪失など、エラーが発生した場合でも、不正なアナログ信号の出力を防止することを目的とする。
図1はこの発明の実施の形態におけるアナログ出力装置の構成を示すブロック図である。
図2は図1に示したアナログ出力装置のマイコンとアナログ出力部との構成を示す図である。
図3は図2に示したアナログ出力装置のソフトウェア処理を示すフローチャートである。
図4は図2に示したアナログ出力装置のハードウェア処理を示すフローチャートである。
Embodiment 1 FIG.
Embodiments of the present invention will be described below. An object of the analog output device according to the embodiment of the present invention is to prevent an illegal analog signal from being output even when an error occurs in the analog output device such as a clock loss.
FIG. 1 is a block diagram showing a configuration of an analog output device according to an embodiment of the present invention.
FIG. 2 is a diagram showing a configuration of the microcomputer and the analog output unit of the analog output device shown in FIG.
FIG. 3 is a flowchart showing software processing of the analog output device shown in FIG.
FIG. 4 is a flowchart showing hardware processing of the analog output device shown in FIG.

図において、アナログ出力装置1は、上位制御装置2と、上位制御装置2が制御を行う制御対象機器3とに接続される。アナログ出力装置1は、制御部としてのマイコン4と、アナログ出力部5と、アナログ入力部6と、通信入出力部7とから構成される。マイコン4は、アナログ出力装置1全体を制御、すなわち、アナログ出力部5、アナログ入力部6、通信入出力部7を制御する。アナログ出力部5は、上位制御装置2のデジタル信号をアナログ信号に変換して制御対象機器3に送信する。   In the figure, the analog output device 1 is connected to a host control device 2 and a control target device 3 controlled by the host control device 2. The analog output device 1 includes a microcomputer 4 as a control unit, an analog output unit 5, an analog input unit 6, and a communication input / output unit 7. The microcomputer 4 controls the entire analog output device 1, that is, controls the analog output unit 5, the analog input unit 6, and the communication input / output unit 7. The analog output unit 5 converts the digital signal of the host control device 2 into an analog signal and transmits the analog signal to the control target device 3.

アナログ入力部6は、制御対象機器3のアナログ信号をデジタル信号に変換して通信入出力部7に送信する。通信入出力部7は、上位制御装置2に対してデジタル信号の送受信を行う。アナログ出力装置1のマイコン4は、上位制御装置2の制御におけるデジタル信号をアナログ信号に変換して制御対象機器3へ出力する制御を行う。アナログ出力装置1のマイコン4は、制御対象機器3から出力されるアナログ信号をデジタル信号に変換して上位制御装置2へ出力する制御を行う。   The analog input unit 6 converts an analog signal of the control target device 3 into a digital signal and transmits the digital signal to the communication input / output unit 7. The communication input / output unit 7 transmits / receives digital signals to / from the host control device 2. The microcomputer 4 of the analog output device 1 performs control to convert the digital signal in the control of the host control device 2 into an analog signal and output it to the control target device 3. The microcomputer 4 of the analog output device 1 performs control to convert the analog signal output from the control target device 3 into a digital signal and output it to the host control device 2.

図2において、マイコン4は解析部11と、モード設定部12と、指令値設定部13とを備える。これらの各部は、マイコン4において、上位制御装置2からアナログ出力装置1にエラー時(故障時)のモードを設定するための部分である。解析部11は、上位制御装置2から受け取った指令信号が、指令値信号以外のモード設定信号を含んでいるか否かを解析する。   In FIG. 2, the microcomputer 4 includes an analysis unit 11, a mode setting unit 12, and a command value setting unit 13. Each of these units is a unit for setting a mode at the time of error (at the time of failure) from the host control device 2 to the analog output device 1 in the microcomputer 4. The analysis unit 11 analyzes whether or not the command signal received from the host controller 2 includes a mode setting signal other than the command value signal.

モード設定部12は、解析部11にて解析されたモード設定信号のモードをモード格納部21に格納する。また、モード設定部12は、エラー時のモードが後述する指定値モードの場合には、指令信号に含まれている指定値を指定値格納部22に格納する。指令値設定部13は、上位制御装置2の指令信号に含まれている指令値を指令値格納部23に格納する。   The mode setting unit 12 stores the mode of the mode setting signal analyzed by the analysis unit 11 in the mode storage unit 21. In addition, the mode setting unit 12 stores the specified value included in the command signal in the specified value storage unit 22 when the mode at the time of error is a specified value mode described later. The command value setting unit 13 stores the command value included in the command signal of the host control device 2 in the command value storage unit 23.

アナログ出力装置1は、メインクロック部31と、サブクロック部32と、エラー検出部8とを備える。メインクロック部31は、当該アナログ出力装置1の全ての動作を制御するメインクロックを供給する。サブクロック部32は、アナログ出力部5の後述するサブDACI/F26のみにサブクロックを供給する。   The analog output device 1 includes a main clock unit 31, a sub clock unit 32, and an error detection unit 8. The main clock unit 31 supplies a main clock that controls all operations of the analog output device 1. The sub clock unit 32 supplies a sub clock only to a later-described sub DAC I / F 26 of the analog output unit 5.

エラー検出部8は、マイコン4およびアナログ出力装置1の動作に関連する不正な状態をエラーとして検出する。エラー検出部8は、例えば、マイコン4およびアナログ出力装置1へ供給するメインクロックが喪失する(なくなる)クロックロスエラーや、規定時間内にマイコン4の処理が終了しない時のWDT(Watch Dog Timer、ウォッチドッグタイマ)エラーなどのエラーを検出する。エラー検出部8は、検出したエラーを後述するエラー格納部24に送出する。   The error detection unit 8 detects an illegal state related to the operation of the microcomputer 4 and the analog output device 1 as an error. For example, the error detection unit 8 may be a clock loss error in which the main clock supplied to the microcomputer 4 and the analog output device 1 is lost (removed), or a WDT (Watch Dog Timer) when processing of the microcomputer 4 is not completed within a specified time. Detect errors such as watchdog timer errors. The error detection unit 8 sends the detected error to an error storage unit 24 described later.

アナログ出力部5は、エラー格納部24、モード格納部21、指定値格納部22、指令値格納部23、第一選択器41、第二選択器42、第三選択器43、メインDACI/F(D/Aコンバータインタフェース)25、サブDACI/F26、D/Aコンバータ27、リレー部28を備える。エラー格納部24は、エラー検出部8にて検出されたエラーに対応して、第一選択器41、第二選択器42、第三選択器43およびリレー部28に切換信号を送出する。   The analog output unit 5 includes an error storage unit 24, a mode storage unit 21, a specified value storage unit 22, a command value storage unit 23, a first selector 41, a second selector 42, a third selector 43, a main DAC I / F. (D / A converter interface) 25, sub DACI / F 26, D / A converter 27, and relay unit 28. The error storage unit 24 sends a switching signal to the first selector 41, the second selector 42, the third selector 43, and the relay unit 28 in response to the error detected by the error detection unit 8.

モード格納部21は、エラーが検出された時のモードを設定する。モード格納部21は、設定されたモードに対応する切換信号を第一選択器41、第二選択器42およびリレー部28にそれぞれ送信する。エラーが検出された時のモードは、出力断モード、指定値モード、前回値モードの3種類のモードがある。出力断モードは、出力を停止するモードである。指定値モードは、あらかじめ設定された指定値を出力するモードである。前回値モードは、エラーが検出される前回の指令値を出力するモードである。そして、切換信号は、前回値モードの時には第一選択器41に、指定値モードの時には第二選択器42に、出力断モードの時にはリレー部28にそれぞれ送出される。   The mode storage unit 21 sets a mode when an error is detected. The mode storage unit 21 transmits a switching signal corresponding to the set mode to the first selector 41, the second selector 42, and the relay unit 28, respectively. There are three modes when an error is detected: an output cut mode, a specified value mode, and a previous value mode. The output cutoff mode is a mode for stopping output. The designated value mode is a mode for outputting a designated value set in advance. The previous value mode is a mode for outputting the previous command value in which an error is detected. The switching signal is sent to the first selector 41 in the previous value mode, to the second selector 42 in the designated value mode, and to the relay unit 28 in the output cutoff mode.

指定値格納部22は、エラー時のモードが指定値モードに設定された場合に出力する指定値を格納するとともに当該指定値を送出する。指令値格納部23は、上位制御装置2からの指令値を格納するとともに当該指令値を送出する。メインDACI/F25は、第一選択器41により選択された指令値または第二選択器42により選択された指定値をD/Aコンバータ27へ送出する。メインDACI/F25は、メインクロック部31によって生成されるアナログ出力装置1全体に供給するメインクロックで動作する。   The specified value storage unit 22 stores a specified value that is output when the error mode is set to the specified value mode, and transmits the specified value. The command value storage unit 23 stores the command value from the host controller 2 and sends the command value. The main DAC I / F 25 sends the command value selected by the first selector 41 or the designated value selected by the second selector 42 to the D / A converter 27. The main DAC I / F 25 operates with a main clock supplied to the entire analog output device 1 generated by the main clock unit 31.

サブDACI/F26は、メインDACI/F25と同様に、第一選択器41により選択された指令値または第二選択器42により選択された指定値をD/Aコンバータ27へ送出する。サブDACI/F26は、サブクロック部32によって生成されるサブクロックで動作する。   The sub DACI / F 26 sends the command value selected by the first selector 41 or the designated value selected by the second selector 42 to the D / A converter 27, similarly to the main DACI / F 25. The sub DAC I / F 26 operates with a sub clock generated by the sub clock unit 32.

第一選択器41は、正常時には、指令値格納部23に格納された指令値を選択する。第一選択器41は、エラー時であって前回値モードの場合に、切換信号を受けて指令値格納部23に格納された前回の指令値を送出する。第二選択器42は、正常時には、第一選択器41により選択された指令値を送出されるように動作しない。第二選択器42は、エラー時であって指定値モードの場合に、切換信号を受けて指定値格納部22に格納された指定値を送出する。第三選択器43は、正常時には、メインDACI/F25からの出力値をD/Aコンバータ27に送出する。第三選択器43は、エラー時であってメインクロックが喪失するクロックロスエラーを検出した場合に、切換信号によりサブDACI/F26からの出力値をD/Aコンバータ27に送出する。   The first selector 41 selects the command value stored in the command value storage unit 23 when normal. The first selector 41 receives the switching signal and sends out the previous command value stored in the command value storage unit 23 in the previous value mode when there is an error. The second selector 42 does not operate so that the command value selected by the first selector 41 is sent out in a normal state. The second selector 42 receives the switching signal and sends the specified value stored in the specified value storage unit 22 in the specified value mode when there is an error. The third selector 43 sends the output value from the main DAC I / F 25 to the D / A converter 27 when it is normal. The third selector 43 sends an output value from the sub DAC I / F 26 to the D / A converter 27 in response to a switching signal when an error is detected and a clock loss error that causes the main clock to be lost is detected.

次に上記のように構成された実施の形態のアナログ出力装置1の動作について説明する。まず、アナログ出力装置1は、例えば原子力設備プラントを制御する上位制御装置2と、この上位制御装置2によって制御される例えば原子力設備プラントのプラント機器としての制御対象機器3との間に、1対1で配置される。アナログ出力装置1は、上位制御装置2からの制御用のデジタル信号を、マイコン4の制御によりアナログ出力部5を介して電流または電圧のアナログ信号に変換して制御対象機器3に出力する。そして、制御対象機器3は上位制御装置2により制御される。   Next, the operation of the analog output device 1 of the embodiment configured as described above will be described. First, the analog output device 1 is paired between, for example, a host controller 2 that controls a nuclear facility plant and a control target device 3 that is controlled by the host controller 2 as, for example, a plant device of the nuclear facility plant. 1 is arranged. The analog output device 1 converts the control digital signal from the host control device 2 into a current or voltage analog signal via the analog output unit 5 under the control of the microcomputer 4 and outputs the analog signal to the control target device 3. The control target device 3 is controlled by the host control device 2.

アナログ出力装置1は、当該アナログ出力装置1の動作に影響するエラーが発生した場合に備え、エラーが発生した場合の設定されたモードにより出力を制御する機能を有する。そして、アナログ出力装置1がエラー(故障)に陥った場合でも、制御対象機器3への異常信号の出力を防止する。   The analog output device 1 has a function of controlling output according to a set mode when an error occurs in preparation for an error that affects the operation of the analog output device 1. Even when the analog output device 1 falls into an error (failure), the output of an abnormal signal to the control target device 3 is prevented.

以下、アナログ出力装置1がエラーに陥った場合の動作について説明する。アナログ出力装置1は、上位制御装置2からの指令信号により、エラー時のモードをマイコン4を介して、アナログ出力部5のモード格納部21に設定する。エラー時のモードは、先にも示したように、あらかじめ設定された指定値を出力する「指定値モード」、前回の出力値を出力する「前回値モード」、出力を切り離す「出力断モード」の3種類のいずれかのモードである。   Hereinafter, an operation when the analog output device 1 falls into an error will be described. The analog output device 1 sets the error mode in the mode storage unit 21 of the analog output unit 5 via the microcomputer 4 in response to a command signal from the host control device 2. As described above, the error mode is the “specified value mode” that outputs the specified value set in advance, the “previous value mode” that outputs the previous output value, and the “output cutoff mode” that disconnects the output. One of the three types of modes.

アナログ出力装置1は、マイコン4およびアナログ出力部5の動作に関連するエラーが発生したことをエラー検出部8により検出すると、エラー格納部24に通知する。そして、エラー格納部24はエラーに対応する切換信号を送出し、第一選択器41、第二選択器42、第三選択器43またはリレー部28を切り換える。そして、エラーに対し、設定されたモードに応じた出力を実施する。さらに、マイコン4およびアナログ出力部5へ供給するメインクロックが喪失するクロックロスエラーが発生した場合は、サブクロック部32から生成されるサブクロックにより動作するサブDACI/F26を介して出力値がD/Aコンバータ27に送出される。   When the error detection unit 8 detects that an error relating to the operation of the microcomputer 4 and the analog output unit 5 has occurred, the analog output device 1 notifies the error storage unit 24. Then, the error storage unit 24 sends a switching signal corresponding to the error, and switches the first selector 41, the second selector 42, the third selector 43, or the relay unit 28. Then, an output corresponding to the set mode is performed for the error. Further, when a clock loss error occurs in which the main clock supplied to the microcomputer 4 and the analog output unit 5 is lost, the output value becomes D via the sub DAC I / F 26 operated by the sub clock generated from the sub clock unit 32. / A is sent to the converter 27.

次に、図3を用いて、アナログ出力装置1のエラー検出時の処理について説明する。アナログ出力装置1のエラー時のモードの設定は、上位制御装置2からソフトウェア処理により行われる。まず、上位制御装置2から指令信号がアナログ出力装置1に送出される。次に、解析部11は上位制御装置2からの指令信号に、制御対象機器3への指令するための指令値以外に、エラー時のモードの設定を行うためのモード設定信号が含まれているか否かの解析を行う(図3のステップS1)。   Next, processing when an error is detected in the analog output device 1 will be described with reference to FIG. The setting of the error output mode of the analog output device 1 is performed by software processing from the host control device 2. First, a command signal is sent from the host control device 2 to the analog output device 1. Next, the analysis unit 11 includes a mode setting signal for setting the mode at the time of error in addition to the command value for commanding the control target device 3 in the command signal from the host control device 2. The analysis of whether or not is performed (step S1 in FIG. 3).

次に、上位制御装置2からの指令信号の受信が初回であるか否か、または、モード設定信号が含まれているか否かを判断する(図3のステップS2)。そして、上位制御装置2からの指令信号の受信が初回ではなく、かつ、モード設定信号が含まれていない場合(NO)には、指令信号における制御対象機器3への指令値を指令値格納部23に送出する(図3のステップS6)。そして、指令信号の受信が初回、または、モード設定信号がある(YES)の場合には、モード設定部12は、出力断モード、指定値モード、前回値モードの3種類のいずれのモードの設定であるかをモード格納部21に格納する。   Next, it is determined whether or not the command signal is received from the host controller 2 for the first time, or whether or not the mode setting signal is included (step S2 in FIG. 3). Then, when the command signal is not received from the host controller 2 for the first time and the mode setting signal is not included (NO), the command value for the control target device 3 in the command signal is stored in the command value storage unit. 23 (step S6 in FIG. 3). When the command signal is received for the first time or when there is a mode setting signal (YES), the mode setting unit 12 sets any of the three modes of the output cutoff mode, the specified value mode, and the previous value mode. Is stored in the mode storage unit 21.

また、前回からモードの変更があった場合には、同様にモードをモード格納部21に格納する。次に、設定されたモードが指定値モードであるか否かを判断する(図3のステップS4)。そして、上位制御装置2から設定されたモードが指定値モードの場合(YES)には、指令信号に含まれる指定値を指定値格納部22に格納する(図3のステップS5)。   If the mode has been changed since the previous time, the mode is stored in the mode storage unit 21 in the same manner. Next, it is determined whether or not the set mode is the designated value mode (step S4 in FIG. 3). If the mode set by the host controller 2 is the designated value mode (YES), the designated value included in the command signal is stored in the designated value storage unit 22 (step S5 in FIG. 3).

また、上位制御装置2から指定されたモードが指定値モードでない場合、すなわち、出力断モードまたは前回値モードの場合(NO)、および、ステップS5にて指定値を格納した後には、上位制御装置2からの指令信号の指令値を指令値格納部23に格納する(図3のステップS6)。   In addition, when the mode specified by the host controller 2 is not the specified value mode, that is, when the output cutoff mode or the previous value mode (NO), and after storing the specified value in step S5, the host controller The command value of the command signal from 2 is stored in the command value storage unit 23 (step S6 in FIG. 3).

次に、図4を用いて、エラー時のアナログ出力装置1のハードウェア処理について説明する。尚、エラーが発生するまでは、指令値格納部23に格納された指令値が第一選択器41にて選択され、メインDACI/F25、第三選択器43、D/Cコンバータ27、リレー部28を介して、アナログ信号として送出されている。   Next, the hardware processing of the analog output device 1 at the time of an error will be described using FIG. Until an error occurs, the command value stored in the command value storage unit 23 is selected by the first selector 41, the main DAC I / F 25, the third selector 43, the D / C converter 27, the relay unit. 28 is sent out as an analog signal.

まず、マイコン4およびアナログ出力部5の動作に関連する不正な状態を示すエラーとして、マイコン4およびアナログ出力部5へ供給するメインクロックが喪失するクロックロスエラーや、規定時間内にマイコン4の処理が終了しない時のWDT(Watch Dog Timer、ウォッチドッグタイマ)エラーなどのエラーが発生する。   First, as an error indicating an illegal state related to the operation of the microcomputer 4 and the analog output unit 5, a clock loss error in which the main clock supplied to the microcomputer 4 and the analog output unit 5 is lost, or the processing of the microcomputer 4 within a specified time An error such as a WDT (Watch Dog Timer) error occurs when the process does not end.

そして、エラー検出部8がエラーの発生を検出する(図4のステップS10)。次に、当該エラーに対応したエラー信号をエラー格納部24に格納する(図4のステップS11)。次に、格納されたエラー信号がマイコン4およびアナログ出力部5へ供給するメインクロックが喪失するクロックロスエラーであるか否かを判断する(図4のステップS12)。そして、クロックロスエラーの場合(YES)には、第三選択器43に切換信号を出力する。   Then, the error detection unit 8 detects the occurrence of an error (step S10 in FIG. 4). Next, an error signal corresponding to the error is stored in the error storage unit 24 (step S11 in FIG. 4). Next, it is determined whether or not the stored error signal is a clock loss error in which the main clock supplied to the microcomputer 4 and the analog output unit 5 is lost (step S12 in FIG. 4). In the case of a clock loss error (YES), a switching signal is output to the third selector 43.

そしてD/Aコンバータ27に出力値を送出するメインDACI/F25を、サブクロック部32から生成されるサブクロックにより動作するサブDACI/F26に切り換える(図4のステップS13)。また、クロックロスエラーでない場合(NO)、およびステップS13の次には、モード格納部21のエラー時のモードを確認する(図4のステップS14)。ここでは先に示したようにステップS3にてあらかじめモード格納部21に設定されたモードが確認される。   Then, the main DAC I / F 25 that sends the output value to the D / A converter 27 is switched to the sub DAC I / F 26 that operates based on the sub clock generated from the sub clock unit 32 (step S13 in FIG. 4). If it is not a clock loss error (NO) and after step S13, the mode at the time of the error in the mode storage unit 21 is confirmed (step S14 in FIG. 4). Here, as previously indicated, the mode preset in the mode storage unit 21 is confirmed in step S3.

そして、指定値モードであった場合には、第二選択器42が切り換わり(図4のステップS15)、ステップS5にてあらかじめ指定値格納部22に格納されている指定値を読み込み、D/Aコンバータ27に送出される(図4のステップS16)。また、前回値モードであった場合には、第一選択器41が切り換わり(図4のステップS17)、指令値格納部23に格納されている前回の指令値がD/Aコンバータ27に送出される。また、出力断モードであった場合には、リレー部28がOFFに切り換わり(図4のステップS18)、出力値が0となる。   When the mode is the designated value mode, the second selector 42 is switched (step S15 in FIG. 4), and the designated value stored in the designated value storage unit 22 in advance is read in step S5. The data is sent to the A converter 27 (step S16 in FIG. 4). When the previous value mode is selected, the first selector 41 is switched (step S17 in FIG. 4), and the previous command value stored in the command value storage unit 23 is sent to the D / A converter 27. Is done. If the output cut-off mode is set, the relay unit 28 is turned off (step S18 in FIG. 4), and the output value becomes zero.

上記のように構成された実施の形態のアナログ出力装置によれば、当該アナログ出力装置の動作に影響するエラーが発生した場合、エラーに対するモードを複数設定して、出力を制御するため、アナログ出力装置がエラーに陥った場合でも制御対象機器への異常信号の出力を防止する。   According to the analog output device of the embodiment configured as described above, when an error that affects the operation of the analog output device occurs, an analog output is used to control the output by setting a plurality of modes for the error. Even when the device falls into an error, the output of an abnormal signal to the control target device is prevented.

また、エラーが検出された場合のモードを、出力を停止する出力断モード、あらかじめ設定された指定値を出力する指定値モード、または、エラーが検出される前の指令値を出力する前回値モードを設定するため、エラーに対して制御対象機器への異常出力をより一層防止できる。   In addition, the mode when an error is detected is the output cutoff mode that stops output, the specified value mode that outputs a preset specified value, or the previous value mode that outputs a command value before an error is detected Therefore, it is possible to further prevent an abnormal output to the control target device against an error.

また、マイコンおよびアナログ出力装置へ供給するメインクロックが喪失するクロックロスエラーが発生した場合は、サブクロックによりアナログ出力部が動作するため、エラー時のモードの設定に応じた出力が可能である。   In addition, when a clock loss error occurs in which the main clock supplied to the microcomputer and the analog output device is lost, the analog output unit operates by the sub clock, so that output according to the mode setting at the time of error is possible.

尚、本発明は、その発明の範囲内において、実施の形態を適宜、変形、省略することが可能である。   In the present invention, the embodiments can be appropriately modified and omitted within the scope of the invention.

1 アナログ出力装置、2 上位制御装置、3 制御対象機器、4 マイコン、
5 アナログ出力部、6 アナログ入力部、7 通信入出力部、8 エラー検出部、
11 解析部、12 モード設定部、13 指令値設定部、21 モード格納部、
22 指定値格納部、23 指令値格納部、24 エラー格納部、
25 メインDACI/F、26 サブDACI/F、27 D/Aコンバータ、
28 リレー部、31 メインクロック部、32 サブクロック部、41 第一選択器、42 第二選択器、43 第三選択器。
1 Analog output device, 2 Host control device, 3 Controlled device, 4 Microcomputer,
5 Analog output section, 6 Analog input section, 7 Communication input / output section, 8 Error detection section,
11 analysis unit, 12 mode setting unit, 13 command value setting unit, 21 mode storage unit,
22 specified value storage unit, 23 command value storage unit, 24 error storage unit,
25 main DACI / F, 26 sub DACI / F, 27 D / A converter,
28 relay section, 31 main clock section, 32 sub clock section, 41 first selector, 42 second selector, 43 third selector.

Claims (3)

制御対象機器と、前記制御対象機器を制御する上位制御装置との間に配置されるアナログ出力装置であって、
前記制御対象機器に対する前記上位制御装置からのデジタル信号をアナログ信号に変換して前記制御対象機器に出力するアナログ出力部と、
前記アナログ出力部の動作を制御する制御部と、
前記アナログ出力装置の動作に関連するエラーを検出するエラー検出部と、
前記アナログ出力部は、前記エラーに対して複数のモードを有し、前記エラー検出部が前記エラーを検出すると、前記上位制御装置から複数の前記モードから設定された前記モードに対応するアナログ信号を前記制御対象機器に送信するアナログ出力装置。
An analog output device disposed between a control target device and a host control device that controls the control target device,
An analog output unit that converts a digital signal from the host controller for the control target device into an analog signal and outputs the analog signal to the control target device;
A control unit for controlling the operation of the analog output unit;
An error detection unit for detecting an error related to the operation of the analog output device;
The analog output unit has a plurality of modes for the error, and when the error detection unit detects the error, the analog output unit outputs an analog signal corresponding to the mode set from the plurality of modes from the host controller. An analog output device that transmits to the device to be controlled.
前記エラーに対する前記モードとして、出力を停止する出力断モード、あらかじめ設定された指定値を出力する指定値モード、および、前記エラーが検出される前の指令値を出力する前回値モードを備える請求項1記載のアナログ出力装置。 The mode for the error includes an output cutoff mode for stopping output, a specified value mode for outputting a preset specified value, and a previous value mode for outputting a command value before the error is detected. The analog output device according to 1. 前記アナログ出力装置にメインクロックを供給するメインクロック部と、
前記アナログ出力部にサブクロックを供給するサブクロック部とを備え、
前記エラー検出部において前記メインクロックが喪失するクロックロスエラーを検出すると、
前記サブクロック部は前記サブクロックを前記アナログ出力部に供給する請求項1または請求項2に記載のアナログ出力装置。
A main clock unit for supplying a main clock to the analog output device;
A sub clock unit for supplying a sub clock to the analog output unit,
When detecting a clock loss error in which the main clock is lost in the error detection unit,
The analog output device according to claim 1, wherein the sub clock unit supplies the sub clock to the analog output unit.
JP2016124106A 2016-06-23 2016-06-23 Analog output device Pending JP2017228106A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016124106A JP2017228106A (en) 2016-06-23 2016-06-23 Analog output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016124106A JP2017228106A (en) 2016-06-23 2016-06-23 Analog output device

Publications (1)

Publication Number Publication Date
JP2017228106A true JP2017228106A (en) 2017-12-28

Family

ID=60891695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016124106A Pending JP2017228106A (en) 2016-06-23 2016-06-23 Analog output device

Country Status (1)

Country Link
JP (1) JP2017228106A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04109303A (en) * 1990-08-30 1992-04-10 Toshiba Corp Adjustment controller
JPH05165543A (en) * 1991-12-11 1993-07-02 Mitsubishi Electric Corp Semiconductor integrated circuit equipped with clock compensating circuit
JP2000259201A (en) * 1999-03-05 2000-09-22 Toshiba Corp Analog output device and control system using the same
JP2002196801A (en) * 2000-12-27 2002-07-12 Hitachi Ltd Sequence controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04109303A (en) * 1990-08-30 1992-04-10 Toshiba Corp Adjustment controller
JPH05165543A (en) * 1991-12-11 1993-07-02 Mitsubishi Electric Corp Semiconductor integrated circuit equipped with clock compensating circuit
JP2000259201A (en) * 1999-03-05 2000-09-22 Toshiba Corp Analog output device and control system using the same
JP2002196801A (en) * 2000-12-27 2002-07-12 Hitachi Ltd Sequence controller

Similar Documents

Publication Publication Date Title
US9640980B2 (en) Power interrupting device
AU2021201885A1 (en) Static transfer switch system with real time flux control
US20150331814A1 (en) Apparatus and method for synchronizing dynamic process data across redundant input/output modules
JP2014064354A (en) Digitally-controlled power supply having failure detection function
US9053245B2 (en) Partial redundancy for I/O modules or channels in distributed control systems
US8977406B2 (en) Power supply system, power supply control method, power supply control device and program
JP5566131B2 (en) A / D converter
KR101748724B1 (en) Apparatus for testing valve base electronics
JP2010154620A (en) Protective relay, control method and control program of the same
JP2017228106A (en) Analog output device
JP5829392B2 (en) Control device and nuclear power plant control system
JP2011107807A (en) Process control device
US20160225563A1 (en) Relay unit and method for controlling relay circuit
JP2016103110A (en) Multiplexing control device
JP6489899B2 (en) Distributed power supply
KR102085449B1 (en) System and method for comparing and verifying temperature sensors with each other, bms containing a system for comparing and verifying temperature sensors with each other
US10367371B2 (en) Intelligent charging system and intelligent charging method
JP6618427B2 (en) Redundant current output system
US20180097465A1 (en) Semiconductor device, motor control system, and control method for semiconductor device
JP6049586B2 (en) Analog I / O device
JP6192054B2 (en) Power converter, gate drive circuit, and abnormality detection method for power converter
JP2013141370A (en) Automatic generator voltage regulation apparatus
JP2019009915A (en) Voltage abnormality detection device
EP4328676A1 (en) Digital output apparatus and method for generating digital output
EP3170082A1 (en) Partial redundancy for i/o modules or channels in distributed control systems

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181029

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190903

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200317