JP6325217B2 - CIRCUIT DEVICE AND CIRCUIT DEVICE RECOVERY METHOD - Google Patents

CIRCUIT DEVICE AND CIRCUIT DEVICE RECOVERY METHOD Download PDF

Info

Publication number
JP6325217B2
JP6325217B2 JP2013182852A JP2013182852A JP6325217B2 JP 6325217 B2 JP6325217 B2 JP 6325217B2 JP 2013182852 A JP2013182852 A JP 2013182852A JP 2013182852 A JP2013182852 A JP 2013182852A JP 6325217 B2 JP6325217 B2 JP 6325217B2
Authority
JP
Japan
Prior art keywords
circuit
timer circuit
clear signal
control circuit
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013182852A
Other languages
Japanese (ja)
Other versions
JP2015049827A (en
Inventor
浩志 大竹
浩志 大竹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Platforms Ltd
Original Assignee
NEC Platforms Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2013182852A priority Critical patent/JP6325217B2/en
Publication of JP2015049827A publication Critical patent/JP2015049827A/en
Application granted granted Critical
Publication of JP6325217B2 publication Critical patent/JP6325217B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、回路装置および回路装置の復旧方法に関する。   The present invention relates to a circuit device and a circuit device restoration method.

装置のプログラムが異常動作していないか否かを監視し、異常があった場合に再起動させる回路として、ウォッチドッグタイマ回路が知られている。しかし、AC商用電源により動作する装置において、制御回路を構成しているメモリの一次的ラッチアップ現象等でプログラム異常が発生した場合、ウォッチドッグタイマ回路による再起動によってもプログラムが正常に動作しない場合がある。この場合、AC商用電源を一旦停止し再入力することで問題なく動作を継続できることがある。しかし、自律的にAC商用電源による供給を停止し再入力する手段がない場合、装置はプログラム異常状態を継続し、装置本来の機能を発揮することができない。   A watchdog timer circuit is known as a circuit that monitors whether or not the program of the apparatus is operating abnormally and restarts when there is an abnormality. However, in a device that operates with an AC commercial power supply, if a program error occurs due to the primary latch-up phenomenon of the memory that constitutes the control circuit, etc., and the program does not operate normally even after restart by the watchdog timer circuit There is. In this case, it may be possible to continue the operation without any problem by temporarily stopping and re-inputting the AC commercial power supply. However, if there is no means for autonomously stopping the supply by the AC commercial power supply and re-inputting, the apparatus continues the program abnormal state and cannot perform the original function of the apparatus.

特許文献1には、ウォッチドッグタイマがコンピュータにリセット信号を送った後、所定時間の間にコンピュータから信号を受け取らない場合には、コンピュータの電源を一定時間遮断する電源一時遮断機能を有するコンピュータシステムが開示されている。当該所定時間については、コンピュータからウォッチドッグタイマにリセット信号が出力される周期の2倍よりも長い時間としておく必要があると記載されている。   Patent Document 1 discloses a computer system having a function of temporarily shutting off a computer for a certain period of time when a signal is not received from the computer for a predetermined time after the watchdog timer sends a reset signal to the computer. Is disclosed. It is described that the predetermined time needs to be longer than twice the period in which the reset signal is output from the computer to the watchdog timer.

特開2003−67220号公報JP2003-67220A

しかしながら、特許文献1に記載のコンピュータシステムには以下の問題があった。すなわち、コンピュータがウォッチドッグタイマからリセット信号を受信して再起動に要する時間、さらに再起動後ウォッチドッグタイマに対して信号を出力するまでに要する時間は、コンピュータに実装されているプログラムの動作等により異なる。しかしながら、特許文献1には、ウォッチドッグタイマがコンピュータリセット信号を出力してから電源の一時遮断信号を出力するまでの時間(所定時間)は、コンピュータからウォッチドッグタイマにリセット信号が出力される周期の2倍よりも長い時間としておく必要があると記載されている。そのため、プログラムに変更が生じコンピュータがウォッチドッグタイマからリセット信号を受信して再起動に要する時間、さらに再起動後ウォッチドッグタイマに対して信号を出力するまでに要する時間が変更したとしても、上述の所定時間を変更することができないという問題があった。   However, the computer system described in Patent Document 1 has the following problems. That is, the time required for the computer to restart after receiving a reset signal from the watchdog timer, and the time required for outputting a signal to the watchdog timer after the restart is the operation of the program installed in the computer, etc. Varies by However, Patent Document 1 discloses that the time (predetermined time) from when the watchdog timer outputs a computer reset signal until it outputs a temporary power-off signal is a cycle in which the reset signal is output from the computer to the watchdog timer. It is described that it is necessary to set a time longer than twice the time. Therefore, even if the program is changed and the computer receives the reset signal from the watchdog timer and restarts, the time required to output a signal to the watchdog timer after restarting is changed. There is a problem that the predetermined time cannot be changed.

本発明は、上述した課題を解決する回路装置を提供することを目的とする。   An object of this invention is to provide the circuit apparatus which solves the subject mentioned above.

本発明の回路装置は、電源部と、制御回路と、タイマ回路と、調整手段とを有し、制御回路は、電源部からの出力により動作し、プログラムが正常に動作している場合にタイマ回路に対してタイマ回路クリア信号を出力し、タイマ回路は、制限時間内に制御回路からタイマ回路クリア信号が入力されない場合に電源部の動作を所定時間停止させ、調整手段は、制限時間を調整することを特徴とする。   The circuit device according to the present invention includes a power supply unit, a control circuit, a timer circuit, and an adjustment unit. The control circuit operates according to an output from the power supply unit, and the timer operates when the program operates normally. A timer circuit clear signal is output to the circuit, and the timer circuit stops the operation of the power supply unit for a predetermined time when the timer circuit clear signal is not input from the control circuit within the time limit, and the adjusting means adjusts the time limit. It is characterized by doing.

本発明の装置の復旧方法は、電源部を有する回路装置において、プログラムが正常に動作している場合に出力されるタイマ回路クリア信号の入力を判断するステップと、制限時間内にタイマ回路クリア信号が入力されない場合に電源部の動作を所定時間停止させ再稼動させるステップと、制限時間を調整するステップと、を含むことを特徴とする。   In a circuit device having a power supply unit, a device recovery method according to the present invention includes a step of determining an input of a timer circuit clear signal output when a program is operating normally, and a timer circuit clear signal within a time limit. In the case where no power is input, the operation includes stopping the operation of the power supply unit for a predetermined time and restarting the operation, and adjusting the time limit.

本発明によれば、プログラムの変更に応じて電源部の動作を停止させるまでの時間を柔軟に調整可能な回路装置を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the circuit apparatus which can adjust flexibly the time until it stops operation | movement of a power supply part according to the change of a program can be provided.

第1の実施形態にかかる回路装置100の構成を示す図である。1 is a diagram illustrating a configuration of a circuit device 100 according to a first embodiment. 第1の実施形態にかかるタイマ回路30の動作を説明するフロー図である。FIG. 6 is a flowchart for explaining the operation of the timer circuit 30 according to the first embodiment. 第2の実施形態にかかる回路装置200の構成を示す図である。It is a figure which shows the structure of the circuit apparatus 200 concerning 2nd Embodiment. 回路装置200における制御回路21の構成を示す図である。3 is a diagram illustrating a configuration of a control circuit 21 in the circuit device 200. FIG. 第2の実施形態にかかる回路装置200の動作を説明するタイミングチャートである。10 is a timing chart for explaining the operation of the circuit device 200 according to the second embodiment. 第2の実施形態にかかる回路装置200の動作を説明するタイミングチャートである。10 is a timing chart for explaining the operation of the circuit device 200 according to the second embodiment. 第3の実施形態にかかる回路装置300の構成を示す図である。It is a figure which shows the structure of the circuit apparatus 300 concerning 3rd Embodiment. 第4の実施形態にかかる回路装置400の構成を示す図である。It is a figure which shows the structure of the circuit apparatus 400 concerning 4th Embodiment. 第5の実施形態にかかる回路装置500の構成を示す図である。It is a figure which shows the structure of the circuit apparatus 500 concerning 5th Embodiment. 第6の実施形態にかかる回路装置600の構成を示す図である。It is a figure which shows the structure of the circuit apparatus 600 concerning 6th Embodiment. 第6の実施形態にかかるテーブル1の構成を示す図である。It is a figure which shows the structure of the table 1 concerning 6th Embodiment.

[第1の実施形態]
図1は、第1の実施形態にかかる回路装置100の構成を示す図である。回路装置100は、電源部10と、制御回路20と、タイマ回路30と、調整手段40と、を含んで構成される。
[First Embodiment]
FIG. 1 is a diagram illustrating a configuration of a circuit device 100 according to the first embodiment. The circuit device 100 includes a power supply unit 10, a control circuit 20, a timer circuit 30, and adjustment means 40.

電源部10は、AC商用電源やDC電源等の外部電源から電源供給を受ける。   The power supply unit 10 is supplied with power from an external power source such as an AC commercial power source or a DC power source.

制御回路20は、制御回路20のプログラムが正常に動作している場合にタイマ回路クリア信号を後述のタイマ回路30に出力する。プログラムが正常に動作していない場合にはタイマ回路クリア信号を出力しない。   The control circuit 20 outputs a timer circuit clear signal to the timer circuit 30 described later when the program of the control circuit 20 is operating normally. When the program is not operating normally, the timer circuit clear signal is not output.

タイマ回路30は、後述の調整手段40により制限時間t内にタイマ回路クリア信号が入力されない場合に電源部10による電源供給を停止させ、所定時間経過後に電源部10を再稼動させる機能を有する。   The timer circuit 30 has a function of stopping the power supply by the power supply unit 10 when the timer circuit clear signal is not input within the time limit t by the adjusting unit 40 described later, and restarting the power supply unit 10 after a predetermined time elapses.

調整手段40は、タイマ回路30がタイマ回路クリア信号の入力を受け付ける制限時間tを調整する。   The adjusting means 40 adjusts the time limit t at which the timer circuit 30 receives the input of the timer circuit clear signal.

タイマ回路30の動作を中心に回路装置100の動作について説明する。図2は、タイマ回路30の動作を説明するフロー図である。   The operation of the circuit device 100 will be described focusing on the operation of the timer circuit 30. FIG. 2 is a flowchart for explaining the operation of the timer circuit 30.

タイマ回路30は、制御回路20からのタイマ回路クリア信号の入力があるか否かを判断する(S1)。タイマ回路クリア信号の入力がない場合(S1でno)、制限時間tが経過したか否かを判断する(S2)。タイマ回路クリア信号の入力がないまま制限時間tが経過した場合(S2でyes)、タイマ回路30は電源部10の動作を停止させ、所定時間経過後に再稼動させる(S3)。   The timer circuit 30 determines whether there is an input of a timer circuit clear signal from the control circuit 20 (S1). If the timer circuit clear signal is not input (no in S1), it is determined whether or not the time limit t has passed (S2). When the time limit t elapses without receiving the timer circuit clear signal (yes in S2), the timer circuit 30 stops the operation of the power supply unit 10 and restarts after a predetermined time elapses (S3).

本実施の形態にかかる回路装置100によれば、制御回路20のプログラムが正常に動作していない場合に自動的に電源部10の動作を停止させ再稼動させることができる。この場合において、タイマ回路がタイマ回路クリア信号の入力を受け付ける制限時間tを調整手段40で調整する。これにより、装置に実装されるプログラムの変更等により装置がウォッチドッグタイマからリセット信号を受信して再起動に要する時間、さらに再起動後ウォッチドッグタイマに対して信号を出力するまでに要する時間に変更が生じたとしても、当該変更に応じて電源部の動作を停止させるまでの時間を柔軟に調整することができる。   According to the circuit device 100 according to the present embodiment, the operation of the power supply unit 10 can be automatically stopped and restarted when the program of the control circuit 20 is not operating normally. In this case, the adjustment means 40 adjusts the time limit t for the timer circuit to accept the input of the timer circuit clear signal. As a result, the time required for the device to restart after receiving a reset signal from the watchdog timer due to a change in the program installed in the device, and the time required to output a signal to the watchdog timer after the restart. Even if a change occurs, the time until the operation of the power supply unit is stopped can be flexibly adjusted according to the change.

[第2の実施形態]
図3は、第2の実施形態にかかる回路装置200の構成を示す図である。図4は、制御回路21の構成を示す図である。
[Second Embodiment]
FIG. 3 is a diagram illustrating a configuration of a circuit device 200 according to the second embodiment. FIG. 4 is a diagram illustrating a configuration of the control circuit 21.

回路装置200は、電源部10aと、内部回路20aと、タイマ回路30aと、コンデンサ41、42とを含んで構成される。   The circuit device 200 includes a power supply unit 10a, an internal circuit 20a, a timer circuit 30a, and capacitors 41 and 42.

電源部10aは、AC/DC変換回路11とDC/DC変換回路12とを含む。   The power supply unit 10 a includes an AC / DC conversion circuit 11 and a DC / DC conversion circuit 12.

AC/DC変換回路11は、AC商用電源101からの電源供給を受け付け、タイマ回路30aおよびDC/DC変換回路12にDC電源111を出力する。   The AC / DC conversion circuit 11 receives power supply from the AC commercial power supply 101 and outputs a DC power supply 111 to the timer circuit 30 a and the DC / DC conversion circuit 12.

DC/DC変換回路12は、DC電源111をDC電源121に変換し、内部回路20aに出力する。   The DC / DC conversion circuit 12 converts the DC power supply 111 into a DC power supply 121 and outputs it to the internal circuit 20a.

内部回路20aは、制御回路21とウォッチドッグタイマ回路22とを含む。   Internal circuit 20 a includes a control circuit 21 and a watchdog timer circuit 22.

制御回路21は、図4に示すように、CPU(Central Processing Unit)21a、メモリ21b、I/O周辺回路21c、これらを相互に接続するCPUバス21dを含む。制御回路21は、制御回路21のプログラムが正常に動作していることを示すウォッチドッグタイマ回路クリア信号212を一定時間ごとにウォッチドッグタイマ回路22に出力する。逆に、プログラムが正常に動作していない場合にはウォッチドッグタイマ回路22に対してウォッチドッグタイマ回路クリア信号212を出力しない。また、制御回路21は、タイマ回路30aに対してタイマ回路クリア信号211を出力する。これについては、回路装置200の動作を説明する際に詳細に説明する。   As shown in FIG. 4, the control circuit 21 includes a CPU (Central Processing Unit) 21a, a memory 21b, an I / O peripheral circuit 21c, and a CPU bus 21d that connects these components to each other. The control circuit 21 outputs a watchdog timer circuit clear signal 212 indicating that the program of the control circuit 21 is operating normally to the watchdog timer circuit 22 at regular intervals. Conversely, when the program is not operating normally, the watchdog timer circuit clear signal 212 is not output to the watchdog timer circuit 22. Further, the control circuit 21 outputs a timer circuit clear signal 211 to the timer circuit 30a. This will be described in detail when the operation of the circuit device 200 is described.

ウォッチドッグタイマ回路22は、制御回路21からウォッチドッグタイマ回路クリア信号212の入力がない場合に制御回路21が正常に動作していないと判断する。そして、制御回路21を再起動させるため、制御回路21およびタイマ回路30aに対して制御回路クリア信号221を出力する。   The watchdog timer circuit 22 determines that the control circuit 21 is not operating normally when there is no input of the watchdog timer circuit clear signal 212 from the control circuit 21. In order to restart the control circuit 21, a control circuit clear signal 221 is output to the control circuit 21 and the timer circuit 30a.

タイマ回路30aは、制御回路21からのタイマ回路クリア信号211およびウォッチドッグタイマ回路22からの制御回路クリア信号221に応じて動作する。タイマ回路30aは、制御回路21がウォッチドッグタイマ回路22からの制御回路クリア信号221に応じて再起動できない場合、DC/DC変換回路12に対して所定時間DC/DC変換回路Disable信号301を出力する。すなわち、DC/DC変換回路12を一旦停止させ、再稼働させる機能を有する。タイマ回路30aは、DC/DC変換回路12からのDC電源121ではなくAC/DC変換回路11からのDC電源111で動作するため、DC/DC変換回路12からのDC電源121の出力が停止している期間であっても動作可能である。   The timer circuit 30 a operates in response to the timer circuit clear signal 211 from the control circuit 21 and the control circuit clear signal 221 from the watchdog timer circuit 22. When the control circuit 21 cannot restart in response to the control circuit clear signal 221 from the watchdog timer circuit 22, the timer circuit 30a outputs the DC / DC conversion circuit Disable signal 301 to the DC / DC conversion circuit 12 for a predetermined time. To do. In other words, the DC / DC conversion circuit 12 is temporarily stopped and restarted. Since the timer circuit 30a operates with the DC power supply 111 from the AC / DC conversion circuit 11 instead of the DC power supply 121 from the DC / DC conversion circuit 12, the output of the DC power supply 121 from the DC / DC conversion circuit 12 stops. It is possible to operate even during the period.

コンデンサ41、42は、第1の実施形態の回路装置100における調整手段40に対応する。   The capacitors 41 and 42 correspond to the adjusting unit 40 in the circuit device 100 of the first embodiment.

コンデンサ41は、タイマ回路30aが制御回路21からタイマ回路クリア信号211の入力を受け付ける時間、すなわち、制御回路21が制御回路クリア信号221により再起動を試みる制限時間t4を調整する。   The capacitor 41 adjusts the time when the timer circuit 30a accepts the input of the timer circuit clear signal 211 from the control circuit 21, that is, the time limit t4 when the control circuit 21 tries to restart by the control circuit clear signal 221.

コンデンサ42は、タイマ回路30aがDC/DC変換回路12を停止させてから再稼働させるまでの時間t5を調整する。   The capacitor 42 adjusts a time t5 from when the timer circuit 30a stops the DC / DC conversion circuit 12 until it is restarted.

回路装置200の動作を説明する。図5及び図6は、回路装置200の動作を説明するタイミングチャートである。図5は、ウォッチドッグタイマ回路22の動作によって制御回路21が正常に再起動する場合の動作を示す。図6は、ウォッチドッグタイマ回路22を動作させても制御回路21が正常に再起動しない場合の動作を示す。   The operation of the circuit device 200 will be described. 5 and 6 are timing charts for explaining the operation of the circuit device 200. FIG. FIG. 5 shows the operation when the control circuit 21 is normally restarted by the operation of the watchdog timer circuit 22. FIG. 6 shows the operation when the control circuit 21 does not restart normally even when the watchdog timer circuit 22 is operated.

まず、図5について説明する。制御回路21は、ウォッチドッグタイマ回路22に対して制御回路21のプログラムが正常に動作していることを示すウォッチドッグタイマ回路クリア信号212を所定時間t1ごとに連続して出力する。   First, FIG. 5 will be described. The control circuit 21 continuously outputs a watchdog timer circuit clear signal 212 indicating that the program of the control circuit 21 is operating normally to the watchdog timer circuit 22 every predetermined time t1.

ウォッチドッグタイマ回路22は、所定時間t2内に制御回路21からのウォッチドッグタイマ回路クリア信号212を検出できない場合、制御回路21が正常に動作していないと判断する。そして、ウォッチドッグタイマ回路22は、制御回路21を再起動させるため制御回路21およびタイマ回路30aに対してLowパルス(アクティブ)の制御回路クリア信号221をt3時間出力する。   If the watchdog timer circuit clear signal 212 from the control circuit 21 cannot be detected within the predetermined time t2, the watchdog timer circuit 22 determines that the control circuit 21 is not operating normally. The watchdog timer circuit 22 outputs a low pulse (active) control circuit clear signal 221 to the control circuit 21 and the timer circuit 30a for the time t3 in order to restart the control circuit 21.

制御回路21は、ウォッチドッグタイマ回路22からの制御回路クリア信号221に応じて再起動状態となる。制御回路21は、再起動状態の間は制御回路クリア信号端子を制御することができない。再起動状態の間にハイインピーダンス状態となる端子(例えば3状態バッファ、オープン・コネクタ、オープン・ドレイン)をタイマ回路クリア信号端子に割り当て、抵抗R1を接続する。これにより、制御回路21は、再起動状態の間にタイマ回路30aに対してLowパルス(アクティブ)のタイマ回路クリア信号211を出力する。   The control circuit 21 enters a restart state in response to the control circuit clear signal 221 from the watchdog timer circuit 22. The control circuit 21 cannot control the control circuit clear signal terminal during the restart state. A terminal (for example, a three-state buffer, an open connector, and an open drain) that is in a high impedance state during the restart state is assigned to the timer circuit clear signal terminal, and the resistor R1 is connected. As a result, the control circuit 21 outputs a low pulse (active) timer circuit clear signal 211 to the timer circuit 30a during the restart state.

タイマ回路30aは、制御回路クリア信号221およびタイマ回路クリア信号211がともにLowレベルになったタイミングで、コンデンサ41の時定数に基づいて調整した制限時間t4のカウントを開始する。   The timer circuit 30a starts counting the time limit t4 adjusted based on the time constant of the capacitor 41 at the timing when both the control circuit clear signal 221 and the timer circuit clear signal 211 are at the low level.

再起動状態から正常状態に復旧した制御回路21は、タイマ回路30aに対してLowパルス(アクティブ)のタイマ回路クリア信号211を出力する。   The control circuit 21 restored from the restart state to the normal state outputs a low pulse (active) timer circuit clear signal 211 to the timer circuit 30a.

タイマ回路30aは、t4時間内に制御回路21からのタイマ回路クリア信号211を確認した場合、制御回路21が正常状態に復旧したと判断し、動作を停止する。すなわち、DC/DC変換回路12に対してDC/DC変換回路Disable信号301を出力しない。   When the timer circuit 30a confirms the timer circuit clear signal 211 from the control circuit 21 within the time t4, the timer circuit 30a determines that the control circuit 21 has been restored to the normal state and stops its operation. That is, the DC / DC conversion circuit Disable signal 301 is not output to the DC / DC conversion circuit 12.

次に、図6について説明する。制御回路21は、ウォッチドッグタイマ回路22に対して制御回路21のプログラムが正常に動作していることを示すウォッチドッグタイマ回路クリア信号212を所定時間t1ごとに連続して出力する。   Next, FIG. 6 will be described. The control circuit 21 continuously outputs a watchdog timer circuit clear signal 212 indicating that the program of the control circuit 21 is operating normally to the watchdog timer circuit 22 every predetermined time t1.

ウォッチドッグタイマ回路22は、所定時間t2内に制御回路21からのウォッチドッグタイマ回路クリア信号212を検出できない場合、制御回路21が正常に動作していないと判断する。そして、ウォッチドッグタイマ回路22は、制御回路21を再起動させるため制御回路21およびタイマ回路30aに対してLowパルス(アクティブ)の制御回路クリア信号221をt3時間出力する。   If the watchdog timer circuit clear signal 212 from the control circuit 21 cannot be detected within the predetermined time t2, the watchdog timer circuit 22 determines that the control circuit 21 is not operating normally. The watchdog timer circuit 22 outputs a low pulse (active) control circuit clear signal 221 to the control circuit 21 and the timer circuit 30a for the time t3 in order to restart the control circuit 21.

制御回路21は、ウォッチドッグタイマ回路22からの制御回路クリア信号221に応じて再起動状態となり、タイマ回路30aに対してLowパルス(アクティブ)のタイマ回路クリア信号211を出力する。   The control circuit 21 is restarted in response to the control circuit clear signal 221 from the watchdog timer circuit 22, and outputs a low pulse (active) timer circuit clear signal 211 to the timer circuit 30a.

タイマ回路30aは、制御回路クリア信号221およびタイマ回路クリア信号211がともにLowレベルであることを確認した場合、コンデンサ41の時定数に基づいて調整した制限時間t4のカウントを開始する。ここまでの動作は、図5の場合と同様である。   When the timer circuit 30a confirms that both the control circuit clear signal 221 and the timer circuit clear signal 211 are at the low level, the timer circuit 30a starts counting the time limit t4 adjusted based on the time constant of the capacitor 41. The operation so far is the same as in the case of FIG.

再起動状態から正常状態に復旧しない制御回路21は、タイマ回路30aに対してLowパルス(アクティブ)のタイマ回路クリア信号211を出力することができない。   The control circuit 21 that does not recover from the restart state to the normal state cannot output the low pulse (active) timer circuit clear signal 211 to the timer circuit 30a.

タイマ回路30aがt4時間内に制御回路21からのタイマ回路クリア信号211の確認をすることができない場合、カウントが満了する。そして、タイマ回路30aは、コンデンサ42の時定数に基づいて調整した時間t5、DC/DC変換回路12に対してLowパルス(アクティブ)のDC/DC変換回路Disable信号301を出力する。すなわち、t5時間DC/DC変換回路12を停止させ、再稼働させる。   When the timer circuit 30a cannot confirm the timer circuit clear signal 211 from the control circuit 21 within the time t4, the count expires. Then, the timer circuit 30a outputs a low pulse (active) DC / DC conversion circuit Disable signal 301 to the DC / DC conversion circuit 12 at time t5 adjusted based on the time constant of the capacitor 42. That is, the DC / DC conversion circuit 12 is stopped and restarted for t5 time.

DC/DC変換回路12は、DC/DC変換回路Disable信号301の入力を受け付けている間内部回路20aへのDC電源121の出力を停止する。   The DC / DC conversion circuit 12 stops the output of the DC power supply 121 to the internal circuit 20a while receiving the input of the DC / DC conversion circuit Disable signal 301.

内部回路20aは、DC電源121からの出力が停止されている間、回路装置200にAC商用電源101が入力されていない状態と同じ状態となり動作停止状態となる。DC/DC変換回路12が再稼働すると、制御回路21は、回路装置200にAC商用電源101が再入力された状態と同じ状態となり正常状態で動作を継続する。   While the output from the DC power supply 121 is stopped, the internal circuit 20a becomes the same state as the state where the AC commercial power supply 101 is not input to the circuit device 200, and is in an operation stop state. When the DC / DC conversion circuit 12 is restarted, the control circuit 21 is in the same state as the state where the AC commercial power supply 101 is re-input to the circuit device 200 and continues to operate in a normal state.

本実施形態にかかる回路装置200によれば、制御回路21がウォッチドッグタイマ回路22からの制御回路クリア信号221により正常に再起動しない場合、タイマ回路30aにより自動的にDC/DC変換回路12を停止させ、再稼働させることができる。また、再起動の制限時間t4を調整するコンデンサ41を有する。これにより、装置に実装されるプログラムの変更等により装置がウォッチドッグタイマからリセット信号を受信して再起動に要する時間、さらに再起動後ウォッチドッグタイマに対して信号を出力するまでに要する時間に変更が生じたとしても、当該変更に応じて電源部の動作を停止させるまでの時間を柔軟に調整することができる。   According to the circuit device 200 according to the present embodiment, when the control circuit 21 does not restart normally by the control circuit clear signal 221 from the watchdog timer circuit 22, the timer circuit 30a automatically activates the DC / DC conversion circuit 12. Can be stopped and restarted. Moreover, it has the capacitor | condenser 41 which adjusts the time limit t4 of restart. As a result, the time required for the device to restart after receiving a reset signal from the watchdog timer due to a change in the program installed in the device, and the time required to output a signal to the watchdog timer after the restart. Even if a change occurs, the time until the operation of the power supply unit is stopped can be flexibly adjusted according to the change.

また、装置によってDC/DC変換回路の最低電源停止時間があらかじめ決められている場合がある。本実施形態にかかる回路装置200では、DC/DC変換回路12を停止させてから再稼働させるまでの時間t5を調整するコンデンサ42を有する。これにより、装置によってDC/DC変換回路の最低電源停止時間が異なる場合であっても、当該時間に合わせて電源停止時間を柔軟に調整することができる。   In some cases, the minimum power supply stop time of the DC / DC conversion circuit is determined in advance by the apparatus. The circuit device 200 according to the present embodiment includes the capacitor 42 that adjusts the time t5 from when the DC / DC conversion circuit 12 is stopped to when it is restarted. Thereby, even when the minimum power supply stop time of the DC / DC conversion circuit varies depending on the device, the power supply stop time can be flexibly adjusted according to the time.

さらに、コンデンサ41、42の放電特性を利用して制限時間や電源停止時間を調整することにより、振動子等の発信源によるカウンタ回路を用いてカウントする場合と比較して消費電力を抑えることができる。   Furthermore, by using the discharge characteristics of the capacitors 41 and 42 to adjust the time limit and the power supply stop time, it is possible to suppress power consumption as compared with the case of counting using a counter circuit with a transmission source such as a vibrator. it can.

[第3の実施形態]
図7は、第3の実施形態にかかる回路装置300の構成を示す図である。本実施形態では、第2の実施形態におけるコンデンサ41、42に対応する構成として、タイマ回路30b内にカウンタ回路30b1を構成する。すなわち、AC商用電源101の周波数に基づいて再起動の制限時間t4およびDC/DC変換回路12の停止時間t5を調整する。その他の構成は第2の実施形態における回路装置200と同様である。
[Third Embodiment]
FIG. 7 is a diagram illustrating a configuration of a circuit device 300 according to the third embodiment. In the present embodiment, a counter circuit 30b1 is configured in the timer circuit 30b as a configuration corresponding to the capacitors 41 and 42 in the second embodiment. That is, the restart time limit t4 and the stop time t5 of the DC / DC conversion circuit 12 are adjusted based on the frequency of the AC commercial power supply 101. Other configurations are the same as those of the circuit device 200 according to the second embodiment.

AC商用電源101の周波数を利用してタイマ回路30b内にカウンタ回路30b1を構成する場合、タイマ回路30bに制御回路クリア信号221およびタイマ回路クリア信号211が入力される前の期間(制御回路21のプログラムが正常に動作している期間)中であっても電力を消費することになる。この場合は、タイマ回路30bに制御回路クリア信号221およびタイマ回路クリア信号211が入力される前の期間中はカウンタ回路30b1の動作を停止させ、低省電力モードとすればよい。そして、制御回路クリア信号221およびタイマ回路クリア信号211が入力されたことを契機にカウンタ動作を開始するように構成する。その他の動作は、第1および第2の実施形態における回路装置と同様である。   When the counter circuit 30b1 is configured in the timer circuit 30b using the frequency of the AC commercial power supply 101, a period before the control circuit clear signal 221 and the timer circuit clear signal 211 are input to the timer circuit 30b (of the control circuit 21). Even during the program's normal operation), power is consumed. In this case, the operation of the counter circuit 30b1 may be stopped during the period before the control circuit clear signal 221 and the timer circuit clear signal 211 are input to the timer circuit 30b to enter the low power saving mode. The counter operation is started when the control circuit clear signal 221 and the timer circuit clear signal 211 are input. Other operations are the same as those of the circuit devices in the first and second embodiments.

AC商用電源101の周波数は、50Hzもしくは60Hzと安定している。そのため、AC商用電源101の周波数を利用することにより、タイマ回路30bの精度が向上する。さらに、コンデンサを用いる場合と比較して部品実装面積を小さくすることができるとともに回路作製のコストを低減することができる。   The frequency of the AC commercial power supply 101 is stable at 50 Hz or 60 Hz. Therefore, the accuracy of the timer circuit 30b is improved by using the frequency of the AC commercial power supply 101. Furthermore, compared with the case where a capacitor is used, the component mounting area can be reduced, and the cost of circuit fabrication can be reduced.

[第4の実施形態]
図8は、第4の実施形態にかかる回路装置400を示す図である。本実施形態では、第3の実施形態におけるAC商用電源101の周波数に代えて、外部DC電源からのDC入力102に基づいて再起動の制限時間t4およびDC/DC変換回路12の停止時間t5を調整する。
[Fourth Embodiment]
FIG. 8 is a diagram illustrating a circuit device 400 according to the fourth embodiment. In this embodiment, instead of the frequency of the AC commercial power supply 101 in the third embodiment, the restart time limit t4 and the stop time t5 of the DC / DC conversion circuit 12 are set based on the DC input 102 from the external DC power supply. adjust.

回路装置400は、DC入力102のリップル・スパイクノイズから一定の周波数を抽出するリップル・スパイクノイズ抽出回路43を備える。その他の構成および動作は第1乃至第3の実施形態における回路装置と同様である。   The circuit device 400 includes a ripple / spike noise extraction circuit 43 that extracts a constant frequency from the ripple / spike noise of the DC input 102. Other configurations and operations are the same as those of the circuit device according to the first to third embodiments.

一般的にDC電源のリップル・スパイクノイズは一定の周波数である。そのため、リップル・スパイクノイズ抽出回路43を備えDC入力102のリップル・スパイクノイズから一定の周波数を抽出することにより、コンデンサを用いる場合と比較してタイマ回路30cの精度が向上する。さらに、コンデンサを用いる場合と比較して部品実装面積を小さくすることができるとともに回路作製のコストを低減することができる。   Generally, ripple / spike noise of a DC power supply has a constant frequency. Therefore, by providing the ripple / spike noise extraction circuit 43 and extracting a constant frequency from the ripple / spike noise of the DC input 102, the accuracy of the timer circuit 30c is improved as compared with the case of using a capacitor. Furthermore, compared with the case where a capacitor is used, the component mounting area can be reduced, and the cost of circuit fabrication can be reduced.

[第5の実施形態]
図9は、第5の実施形態にかかる回路装置500を示す図である。回路装置500は、第2の実施形態におけるウォッチドッグタイマ22およびコンデンサ41を削除した構成である。また、本実施形態において制御回路21’内のメモリ21b’およびI/O周辺回路21c’の少なくとも一方は、セルフテストを行う。CPU21a’は、当該セルフテストが失敗した場合(例えばセルフテストによってもプログラム異常を回復することができなかった場合)、タイマ回路30dに対してタイマ回路クリア信号211’を出力する。
[Fifth Embodiment]
FIG. 9 is a diagram illustrating a circuit device 500 according to the fifth embodiment. The circuit device 500 has a configuration in which the watchdog timer 22 and the capacitor 41 in the second embodiment are omitted. In the present embodiment, at least one of the memory 21b ′ and the I / O peripheral circuit 21c ′ in the control circuit 21 ′ performs a self test. When the self test fails (for example, when the program abnormality cannot be recovered by the self test), the CPU 21a ′ outputs a timer circuit clear signal 211 ′ to the timer circuit 30d.

セルフテストは、定期的、電源オン時、または、1日の中で任意の時間に実行されることが考えられる。   Self-tests can be performed regularly, at power-on, or at any time of day.

タイマ回路30dは、コンデンサ42の時定数に基づいて調整した時間t5、DC/DC変換回路12に対してLowパルス(アクティブ)のDC/DC変換回路Disable信号301を出力する。すなわち、DC/DC変換回路12をt5時間停止させ、再稼働させる。   The timer circuit 30d outputs a low pulse (active) DC / DC conversion circuit Disable signal 301 to the DC / DC conversion circuit 12 at time t5 adjusted based on the time constant of the capacitor 42. That is, the DC / DC conversion circuit 12 is stopped for t5 time and restarted.

本実施形態にかかる回路装置500では、メモリ21b’およびI/O周辺回路21c’の少なくとも一方が行ったセルフテストの結果に基づいてタイマ回路クリア信号を出力する。これにより、第2の実施形態におけるウォッチドッグタイマ22およびコンデンサ41が不要となり、より部品実装面積を小さくすることができるとともに回路作製のコストを低減することができる。   In the circuit device 500 according to the present embodiment, the timer circuit clear signal is output based on the result of the self test performed by at least one of the memory 21b 'and the I / O peripheral circuit 21c'. As a result, the watchdog timer 22 and the capacitor 41 in the second embodiment are not required, and the component mounting area can be further reduced and the cost of circuit fabrication can be reduced.

[第6の実施形態]
図10は、第6の実施形態にかかる回路装置600を示す図である。回路装置600は、第1乃至5にかかる回路装置に、さらに読取手段50を設けたものである。図10においては、特に第1の実施形態にかかる回路装置100に読取手段50を設けた例について説明する。
[Sixth Embodiment]
FIG. 10 is a diagram illustrating a circuit device 600 according to the sixth embodiment. The circuit device 600 is obtained by adding reading means 50 to the circuit devices according to the first to fifth embodiments. In FIG. 10, an example in which the reading unit 50 is provided in the circuit device 100 according to the first embodiment will be described.

制御回路20内のメモリ20b’’には、制御回路20が有しているプログラムの識別子と当該プログラムにおいて装置がウォッチドッグタイマからリセット信号を受信して再起動に要する時間(再起動時間)と、再起動後ウォッチドッグタイマに対して信号を出力するまでに要する時間(パルス出力時間)とが対応づけられたテーブル1が記憶されている(図11)。   The memory 20b ″ in the control circuit 20 includes an identifier of a program that the control circuit 20 has, a time required for the apparatus to receive a reset signal from the watchdog timer and restart (restart time). Table 1 is stored in which the time required for outputting a signal to the watchdog timer after restart (pulse output time) is associated (FIG. 11).

読取手段50は、装置に実装されるプログラムに変更があった場合、テーブル1から変更後のプログラムに対応する再起動時間とパルス出力時間を読み出し、読み出した時間に応じて再起動の制限時間t4を設定する。そして、設定したt4を調整手段に指示する。   When the program installed in the apparatus is changed, the reading unit 50 reads the restart time and the pulse output time corresponding to the changed program from the table 1, and the restart time limit t4 according to the read time. Set. Then, the adjustment unit is instructed to set t4.

本実施形態にかかる回路装置600によれば、読取手段50を設けることにより、プログラムに変更が生じ装置がウォッチドッグタイマからリセット信号を受信して再起動に要する時間、さらに再起動後ウォッチドッグタイマに対して信号を出力するまでに要する時間が変更した場合であっても、その変更に応じて再起動の制限時間を自動的に設定することができる。   According to the circuit device 600 according to the present embodiment, by providing the reading unit 50, the program is changed, the time required for the device to restart after receiving the reset signal from the watchdog timer, and the watchdog timer after the restart. Even if the time required to output a signal is changed, the restart time limit can be automatically set according to the change.

テーブル1に、さらにタイマ回路30が電源部10の動作を停止させる時間を対応づけて記憶することもできる。これにより、プログラムに変更が生じDC/DC変換回路の最低電源停止時間に変更が生じた場合であっても、その変更に応じて電源停止時間を自動的に設定することができる。   The table 1 can further store the time during which the timer circuit 30 stops the operation of the power supply unit 10 in association with each other. As a result, even when the program is changed and the minimum power supply stop time of the DC / DC conversion circuit is changed, the power supply stop time can be automatically set according to the change.

以上、本発明の実施形態について説明したが、本発明は、上記実施形態に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて、他の変形例、応用例を含むことは言うまでもない。   As mentioned above, although embodiment of this invention was described, this invention is not limited to the said embodiment, Of course, unless it deviates from the meaning of this invention, another modification and an application example are included. .

上記の実施形態の一部又は全部は、以下のようにも記載されうるが、以下には限られない。   Part or all of the above embodiments can be described as follows, but is not limited to the following.

(付記1)
電源部と、制御回路と、タイマ回路と、調整手段とを有し、
前記制御回路は、前記電源部からの出力により動作し、プログラムが正常に動作している場合に前記タイマ回路に対してタイマ回路クリア信号を出力し、
前記タイマ回路は、制限時間内に前記制御回路から前記タイマ回路クリア信号が入力されない場合に前記電源部の動作を所定時間停止させ、
前記調整手段は、前記制限時間を調整することを特徴とする回路装置。
(Appendix 1)
A power supply unit, a control circuit, a timer circuit, and adjustment means;
The control circuit operates by an output from the power supply unit, and outputs a timer circuit clear signal to the timer circuit when a program is operating normally,
The timer circuit stops the operation of the power supply unit for a predetermined time when the timer circuit clear signal is not input from the control circuit within a time limit,
The circuit device characterized in that the adjusting means adjusts the time limit.

(付記2)
前記調整手段は、さらに前記タイマ回路が前記電源部の動作を停止させる時間を調整する、付記1に記載の回路装置。
(Appendix 2)
The circuit device according to appendix 1, wherein the adjustment unit further adjusts a time during which the timer circuit stops the operation of the power supply unit.

(付記3)
ウォッチドッグタイマ回路をさらに有し、
前記制御回路は、正常に動作している場合に前記ウォッチドッグタイマ回路に対してウォッチドッグタイマ回路クリア信号を出力し、
前記ウォッチドッグタイマ回路は、前記制御回路から前記ウォッチドッグタイマ回路クリア信号が入力されない場合に前記制御回路および前記タイマ回路に対して制御回路クリア信号を出力し、
前記制御回路は、前記制御回路クリア信号の入力に応じて再起動を試み、
前記タイマ回路は、前記制御回路クリア信号の入力に応じて前記制限時間のカウントを開始し、
前記タイマ回路クリア信号は、前記制御回路が再起動した場合に出力する信号である、付記1又は2に記載の回路装置。
(Appendix 3)
A watchdog timer circuit;
The control circuit, when operating normally, outputs a watchdog timer circuit clear signal to the watchdog timer circuit,
The watchdog timer circuit outputs a control circuit clear signal to the control circuit and the timer circuit when the watchdog timer circuit clear signal is not input from the control circuit,
The control circuit attempts to restart in response to the input of the control circuit clear signal,
The timer circuit starts counting the time limit in response to the input of the control circuit clear signal,
The circuit device according to appendix 1 or 2, wherein the timer circuit clear signal is a signal output when the control circuit is restarted.

(付記4)
前記調整手段としてコンデンサを有する、請求項1乃至3のいずれか一項に記載の回路装置。
(Appendix 4)
The circuit device according to claim 1, further comprising a capacitor as the adjusting unit.

(付記5)
前記調整手段は、前記電源部に接続されたAC商用電源の周波数を用いる、付記1乃至3のいずれか一項に記載の回路装置。
(Appendix 5)
The circuit device according to any one of appendices 1 to 3, wherein the adjustment unit uses a frequency of an AC commercial power supply connected to the power supply unit.

(付記6)
前記電源部に接続されたDC電源のリップルノイズおよびスパイクノイズの少なくともいずれか一方を抽出するリップル・スパイクノイズ抽出回路をさらに有し、
前記調整手段は、前記リップルノイズおよびスパイクノイズの少なくとも一方の周波数を用いる、付記1乃至3のいずれか一項に記載の回路装置。
(Appendix 6)
A ripple / spike noise extraction circuit for extracting at least one of ripple noise and spike noise of a DC power supply connected to the power supply unit;
The circuit device according to any one of appendices 1 to 3, wherein the adjustment unit uses at least one frequency of the ripple noise and spike noise.

(付記7)
前記制御回路はセルフテストを行い、前記セルフテストの結果に応じて前記タイマ回路に対し前記タイマ回路クリア信号を出力する、付記1乃至3のいずれか一項に記載の回路装置。
(Appendix 7)
The circuit device according to any one of appendices 1 to 3, wherein the control circuit performs a self test and outputs the timer circuit clear signal to the timer circuit in accordance with a result of the self test.

(付記8)
電源部と、制御回路と、ウォッチドッグタイマ回路と、タイマ回路と、コンデンサとを有し、
前記制御回路は、前記電源部からの出力により正常動作している場合に前記ウォッチドッグタイマ回路に対してウォッチドッグタイマ回路クリア信号を出力し、正常動作していない場合に前記ウォッチドックタイマ回路からの制御回路クリア信号に応じて再起動を試み、再起動した場合に前記タイマ回路に対してタイマ回路クリア信号を出力し、
前記ウォッチドッグタイマ回路は、前記ウォッチドッグタイマ回路クリア信号が入力されない場合に前記制御回路及び前記タイマ回路に対して前記制御回路クリア信号を出力し、
前記タイマ回路は、制限時間内に前記制御回路から前記タイマ回路クリア信号が入力されない場合に前記電源部に対して前記電源部を停止させるための信号を出力し、
前記コンデンサは、前記制限時間を調整することを特徴とする回路装置。
(Appendix 8)
A power supply unit, a control circuit, a watchdog timer circuit, a timer circuit, and a capacitor;
The control circuit outputs a watchdog timer circuit clear signal to the watchdog timer circuit when operating normally by an output from the power supply unit, and from the watchdog timer circuit when not operating normally. Attempting to restart according to the control circuit clear signal, and when restarting, output a timer circuit clear signal to the timer circuit,
The watchdog timer circuit outputs the control circuit clear signal to the control circuit and the timer circuit when the watchdog timer circuit clear signal is not input,
The timer circuit outputs a signal for stopping the power supply unit to the power supply unit when the timer circuit clear signal is not input from the control circuit within a time limit,
The circuit device, wherein the capacitor adjusts the time limit.

(付記9)
電源部を有する回路装置において、
プログラムが正常に動作している場合に出力されるタイマ回路クリア信号の入力を判断するステップと、
制限時間内に前記タイマ回路クリア信号が入力されない場合に前記電源部の動作を所定時間停止させ再稼動させるステップと、
前記制限時間及び前記タイマ回路が前記電源部の動作を停止させる時間を調整する調整ステップと、を含むことを特徴とする回路装置の復旧方法。
(Appendix 9)
In a circuit device having a power supply unit,
Determining the input of a timer circuit clear signal output when the program is operating normally;
When the timer circuit clear signal is not input within a time limit, the operation of the power supply unit is stopped for a predetermined time and restarted;
Adjusting the time limit and the time for which the timer circuit stops the operation of the power supply unit.

(付記10)
前記調整ステップにおいてさらに、前記電源部の動作を停止させる時間を調整する、付記9に記載の回路装置の復旧方法。
(Appendix 10)
The circuit device recovery method according to appendix 9, wherein the adjustment step further adjusts the time for stopping the operation of the power supply unit.

(付記11)
前記ウォッチドッグタイマ回路クリア信号の入力を判断するステップと、
前記ウォッチドッグタイマ回路クリア信号が入力されない場合に制御回路クリア信号を出力するステップと、
前記制御回路クリア信号に応じて再起動し前記タイマ回路クリア信号を出力するステップと、
前記制御回路クリア信号に応じて前記制限時間のカウントを開始するステップと、を含む
付記9又は10に記載の回路装置の復旧方法。
(Appendix 11)
Determining the input of the watchdog timer circuit clear signal;
Outputting a control circuit clear signal when the watchdog timer circuit clear signal is not input;
Restarting in response to the control circuit clear signal and outputting the timer circuit clear signal;
11. The circuit device recovery method according to appendix 9 or 10, including a step of starting counting the time limit in response to the control circuit clear signal.

(付記12)
前記調整ステップにおいてコンデンサを用いる、付記9乃至11のいずれか一項に記載の回路装置の復旧方法。
(Appendix 12)
The circuit device restoration method according to any one of appendices 9 to 11, wherein a capacitor is used in the adjustment step.

(付記13)
前記調整ステップにおいて前記電源部に接続されたAC商用電源の周波数を用いる、付記9乃至11のいずれか一項に記載の回路装置の復旧方法。
(Appendix 13)
The restoration method for a circuit device according to any one of appendices 9 to 11, wherein a frequency of an AC commercial power source connected to the power source unit is used in the adjustment step.

(付記14)
前記電源部に接続されたDC電源のリップルノイズおよびスパイクノイズの少なくともいずれか一方を抽出するリップル・スパイクノイズ抽出するステップをさらに有し、
前記調整ステップにおいて前記リップルノイズおよびスパイクノイズの少なくとも一方の周波数を用いる、付記9乃至11のいずれか一項に記載の回路装置の復旧方法。
(Appendix 14)
Extracting ripple / spike noise for extracting at least one of ripple noise and spike noise of a DC power supply connected to the power supply unit;
The circuit device restoration method according to any one of appendices 9 to 11, wherein at least one of the ripple noise and spike noise is used in the adjustment step.

(付記15)
セルフテストを行うステップと、
前記セルフテストの結果に応じて前記タイマ回路に対し前記タイマ回路クリア信号を出力するステップを有する、付記9乃至11のいずれか一項に記載の回路装置の復旧方法。
(Appendix 15)
Self-testing steps,
The circuit device restoration method according to any one of appendices 9 to 11, further comprising a step of outputting the timer circuit clear signal to the timer circuit in accordance with a result of the self test.

1 テーブル
10、10a、10b 電源部
11 AC/DC変換回路
12 DC/DC変換回路
20a 内部回路
20、21、21’ 制御回路
21a、21a’ CPU
21b、21b’、21b’’ メモリ
21c、21c’ I/O周辺回路
21d、21d’ CPUバス
22 ウォッチドッグタイマ回路
30、30a、30b、30c、30d タイマ回路
30b1 カウンタ回路
40 調整手段
41、42 コンデンサ
43 リップル・スパイクノイズ抽出回路
50 読取手段
R1 抵抗
100、200、300、400、500 回路装置
101 AC商用電源
102 DC入力
111、121 DC電源
211、211’ タイマ回路クリア信号
212 ウォッチドッグタイマ回路クリア信号
221 制御回路クリア信号
301 DC/DC変換回路Disable信号
DESCRIPTION OF SYMBOLS 1 Table 10, 10a, 10b Power supply part 11 AC / DC conversion circuit 12 DC / DC conversion circuit 20a Internal circuit 20, 21, 21 'Control circuit 21a, 21a' CPU
21b, 21b ′, 21b ″ Memory 21c, 21c ′ I / O peripheral circuit 21d, 21d ′ CPU bus 22 Watchdog timer circuit 30, 30a, 30b, 30c, 30d Timer circuit 30b1 Counter circuit 40 Adjustment means 41, 42 Capacitor 43 Ripple / Spike Noise Extraction Circuit 50 Reading Means R1 Resistance 100, 200, 300, 400, 500 Circuit Device 101 AC Commercial Power Supply 102 DC Input 111, 121 DC Power Supply 211, 211 ′ Timer Circuit Clear Signal 212 Watchdog Timer Circuit Clear Signal 221 Control circuit clear signal 301 DC / DC conversion circuit Disable signal

Claims (9)

電源部と、制御回路と、タイマ回路と、調整手段と、ウォッチドッグタイマ回路と、を有し、
前記制御回路は、前記電源部からの出力により動作し、プログラムが正常に動作している場合に前記ウォッチドッグタイマ回路に対してウォッチドッグタイマ回路クリア信号を出力し、
前記ウォッチドッグタイマ回路は、前記制御回路から前記ウォッチドッグタイマ回路クリア信号が入力されない場合に前記制御回路および前記タイマ回路に対して制御回路クリア信号を出力し、
前記制御回路は、前記制御回路クリア信号の入力に応じて再起動を試み、
前記タイマ回路は、前記制御回路クリア信号の入力に応じて制限時間のカウントを開始し、
前記制御回路は、再起動した場合に前記タイマ回路に対してタイマ回路クリア信号を出力し、
前記タイマ回路は、前記制限時間内に前記制御回路から前記タイマ回路クリア信号が入力されない場合に前記電源部の動作を所定時間停止させ、
前記調整手段は、前記制限時間を調整することを特徴とする回路装置。
A power supply unit, a control circuit, a timer circuit, adjustment means, and a watchdog timer circuit;
The control circuit is operated by an output from the power supply unit, and outputs a watchdog timer circuit clear signal to the watchdog timer circuit when a program is operating normally,
The watchdog timer circuit outputs a control circuit clear signal to the control circuit and the timer circuit when the watchdog timer circuit clear signal is not input from the control circuit,
The control circuit attempts to restart in response to the input of the control circuit clear signal,
The timer circuit starts counting the time limit in response to the input of the control circuit clear signal,
The control circuit outputs a timer circuit clear signal to the timer circuit when restarted,
The timer circuit stops the operation of the power supply unit for a predetermined time when the timer circuit clear signal is not input from the control circuit within the time limit,
The circuit device characterized in that the adjusting means adjusts the time limit.
前記調整手段は、さらに前記タイマ回路が前記電源部の動作を停止させる時間を調整する、請求項1に記載の回路装置。   The circuit device according to claim 1, wherein the adjusting unit further adjusts a time for the timer circuit to stop the operation of the power supply unit. 前記調整手段としてコンデンサを有する、請求項1又は2に記載の回路装置。 It has a capacitor as the adjusting means, the circuit device according to claim 1 or 2. 前記調整手段は、前記電源部に接続されたAC商用電源の周波数を用いる、請求項1又は2に記載の回路装置。 The adjusting means uses the frequency of the AC commercial power source connected to the power supply unit, the circuit device according to claim 1 or 2. 前記電源部に接続されたDC電源のリップルノイズおよびスパイクノイズの少なくともいずれか一方を抽出するリップル・スパイクノイズ抽出回路をさらに有し、
前記調整手段は、前記リップルノイズおよびスパイクノイズの少なくとも一方の周波数を用いる、請求項1又は2に記載の回路装置。
A ripple / spike noise extraction circuit for extracting at least one of ripple noise and spike noise of a DC power supply connected to the power supply unit;
It said adjusting means uses at least one of the frequency of the ripple noise and spike noise, the circuit device according to claim 1 or 2.
前記制御回路はセルフテストを行い、前記セルフテストの結果に応じて前記タイマ回路に対し前記タイマ回路クリア信号を出力する、請求項1又は2に記載の回路装置。 Wherein the control circuit performs a self-test, the outputs of the timer circuit clear signal to said timer circuit in accordance with a result of the self test, circuit device according to claim 1 or 2. 電源部と、制御回路と、ウォッチドッグタイマ回路と、タイマ回路と、コンデンサとを有し、
前記制御回路は、前記電源部からの出力により正常動作している場合に前記ウォッチドッグタイマ回路に対してウォッチドッグタイマ回路クリア信号を出力し、正常動作していない場合に前記ウォッチドックタイマ回路からの制御回路クリア信号に応じて再起動を試み、再起動した場合に前記タイマ回路に対してタイマ回路クリア信号を出力し、
前記ウォッチドッグタイマ回路は、前記ウォッチドッグタイマ回路クリア信号が入力されない場合に前記制御回路及び前記タイマ回路に対して前記制御回路クリア信号を出力し、
前記タイマ回路は、制限時間内に前記制御回路から前記タイマ回路クリア信号が入力されない場合に前記電源部に対して前記電源部を停止させるための信号を出力し、
前記コンデンサは、前記制限時間を調整することを特徴とする回路装置。
A power supply unit, a control circuit, a watchdog timer circuit, a timer circuit, and a capacitor;
The control circuit outputs a watchdog timer circuit clear signal to the watchdog timer circuit when operating normally by an output from the power supply unit, and from the watchdog timer circuit when not operating normally. Attempting to restart according to the control circuit clear signal, and when restarting, output a timer circuit clear signal to the timer circuit,
The watchdog timer circuit outputs the control circuit clear signal to the control circuit and the timer circuit when the watchdog timer circuit clear signal is not input,
The timer circuit outputs a signal for stopping the power supply unit to the power supply unit when the timer circuit clear signal is not input from the control circuit within a time limit,
The circuit device, wherein the capacitor adjusts the time limit.
電源部および制御回路を有する回路装置において、
プログラムが正常に動作している場合に出力されるウォッチドッグタイマ回路クリア信号が出力されない場合に前記制御回路に対して出力される制御回路クリア信号の入力を判断するステップと、
前記制御回路クリア信号の入力に応じて制限時間のカウントを開始するステップと、
前記制御回路クリア信号の入力に応じて前記制御回路が再起動を試み再起動した場合に出力するタイマ回路クリア信号の入力を判断するステップと、
前記制限時間内に前記タイマ回路クリア信号が入力されない場合に前記電源部の動作を所定時間停止させ再稼動させるステップと、
前記制限時間及び前記タイマ回路が前記電源部の動作を停止させる時間を調整する調整ステップと、を含むことを特徴とする回路装置の復旧方法。
In a circuit device having a power supply unit and a control circuit ,
Determining an input of a control circuit clear signal output to the control circuit when a watchdog timer circuit clear signal output when the program is operating normally is not output;
Starting counting the time limit in response to the input of the control circuit clear signal;
Determining the input of a timer circuit clear signal to be output when the control circuit attempts to restart and restarts in response to the input of the control circuit clear signal ;
When the timer circuit clear signal is not input within the time limit, the operation of the power supply unit is stopped for a predetermined time and restarted;
Adjusting the time limit and the time for which the timer circuit stops the operation of the power supply unit.
前記調整ステップにおいてさらに、前記電源部の動作を停止させる時間を調整する、請求項に記載の回路装置の復旧方法。 The circuit device recovery method according to claim 8 , further comprising adjusting a time during which the operation of the power supply unit is stopped in the adjusting step.
JP2013182852A 2013-09-04 2013-09-04 CIRCUIT DEVICE AND CIRCUIT DEVICE RECOVERY METHOD Active JP6325217B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013182852A JP6325217B2 (en) 2013-09-04 2013-09-04 CIRCUIT DEVICE AND CIRCUIT DEVICE RECOVERY METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013182852A JP6325217B2 (en) 2013-09-04 2013-09-04 CIRCUIT DEVICE AND CIRCUIT DEVICE RECOVERY METHOD

Publications (2)

Publication Number Publication Date
JP2015049827A JP2015049827A (en) 2015-03-16
JP6325217B2 true JP6325217B2 (en) 2018-05-16

Family

ID=52699752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013182852A Active JP6325217B2 (en) 2013-09-04 2013-09-04 CIRCUIT DEVICE AND CIRCUIT DEVICE RECOVERY METHOD

Country Status (1)

Country Link
JP (1) JP6325217B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016194170A1 (en) * 2015-06-03 2016-12-08 株式会社日立製作所 Error detection device and error detection system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03230254A (en) * 1990-02-05 1991-10-14 Mitsubishi Electric Corp Fault detecting method for multiprocessor system
JP2545658B2 (en) * 1991-10-21 1996-10-23 山武ハネウエル株式会社 Electromagnetic flow meter
JPH0756771A (en) * 1993-08-17 1995-03-03 Mitsubishi Electric Corp Semiconductor integrated circuit
JP2003067220A (en) * 2001-08-24 2003-03-07 Tokyo Gas Co Ltd Computer system
JP2011022833A (en) * 2009-07-16 2011-02-03 Toshiba Tec Corp Information processor

Also Published As

Publication number Publication date
JP2015049827A (en) 2015-03-16

Similar Documents

Publication Publication Date Title
US8677182B2 (en) Computer system capable of generating an internal error reset signal according to a catastrophic error signal
JP2012069032A (en) Information processor
US20130132741A1 (en) Power supply apparatus of computer system and method for controlling power sequence thereof
US10387260B2 (en) Reboot system and reboot method
CN106610712A (en) Substrate management controller reset system and method
US8902011B2 (en) Signal generating circuit for real time clock device and method thereof
WO2016110000A1 (en) Adjustment method, device and system for power-down reboot of single plate
JP6325217B2 (en) CIRCUIT DEVICE AND CIRCUIT DEVICE RECOVERY METHOD
JP2008225929A (en) Information processor
JP5241450B2 (en) Semiconductor device and abnormality detection method thereof
US9599644B2 (en) Semiconductor device
KR101560493B1 (en) Output device and diagnosis method thereof
JP5691943B2 (en) Memory voltage controller
US20230019075A1 (en) Electronic device including a plurality of power management integrated circuits and method of operating the same
JP2007041824A (en) Resetting circuit for electronic control unit
JP2008288926A (en) Electronic equipment
JP6585977B2 (en) Semiconductor device and oscillation circuit control method
JP6008794B2 (en) Power supply device and video display device
JP5428969B2 (en) Image forming apparatus
JP5407466B2 (en) Power control method
JP6270369B2 (en) Traffic signal controller, traffic signal device, display control device, and information display device
US11385904B2 (en) Methods and apparatus for selecting operating modes in a device
JP2012160140A (en) Electronic equipment and system management program
JP2018022256A (en) Electronic control device
JP2007027960A (en) Signal variation timing delay circuit, sequence signal output circuit and power failure supervisory circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160816

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170516

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180412

R150 Certificate of patent or registration of utility model

Ref document number: 6325217

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150