JP6921271B1 - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP6921271B1
JP6921271B1 JP2020072657A JP2020072657A JP6921271B1 JP 6921271 B1 JP6921271 B1 JP 6921271B1 JP 2020072657 A JP2020072657 A JP 2020072657A JP 2020072657 A JP2020072657 A JP 2020072657A JP 6921271 B1 JP6921271 B1 JP 6921271B1
Authority
JP
Japan
Prior art keywords
voltage
power supply
reset
unit
switch
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
JP2020072657A
Other languages
Japanese (ja)
Other versions
JP2021170870A (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.)
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 JP2020072657A priority Critical patent/JP6921271B1/en
Application granted granted Critical
Publication of JP6921271B1 publication Critical patent/JP6921271B1/en
Publication of JP2021170870A publication Critical patent/JP2021170870A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Direct Current Feeding And Distribution (AREA)
  • Electronic Switches (AREA)
  • Power Sources (AREA)
  • Protection Of Static Devices (AREA)

Abstract

【課題】ICの起動時だけでなく、動作中であってもICの電源電圧を監視する機能を有する電子制御装置を得ることを目的としている。【解決手段】電子制御装置は、電源回路部と、リセット部と、開閉器を有する電圧保持部と、ICとで構成され、電源回路部から電源供給が開始されるICの起動時には、リセット部によるリセット解除信号RSTに応動して、開閉器を開路とし、電圧保持部の電圧保持コンデンサで保持されるリセット解除電圧VrstをICの最低動作電圧と比較判定することで、また、ICの通常動作時においても、電圧保持信号HOLDを開閉器に断続的または一時的に出力し、開閉器の開路時と閉路時における電圧保持コンデンサによる保持電圧の差を比較することで、ICの電源電圧異常を判定する。【選択図】図1PROBLEM TO BE SOLVED: To obtain an electronic control device having a function of monitoring a power supply voltage of an IC not only at the time of starting the IC but also during operation. An electronic control device is composed of a power supply circuit unit, a reset unit, a voltage holding unit having a switch, and an IC, and when the IC is started to supply power from the power supply circuit unit, the reset unit is used. In response to the reset release signal RST by, the switch is opened, and the reset release voltage Vrst held by the voltage holding capacitor of the voltage holding part is compared and judged with the minimum operating voltage of the IC, and the normal operation of the IC is also performed. Even at times, the voltage holding signal HOLD is output to the switch intermittently or temporarily, and the difference in holding voltage due to the voltage holding capacitor when the switch is open and when the switch is closed is compared to detect abnormalities in the power supply voltage of the IC. judge. [Selection diagram] Fig. 1

Description

本願は、電源電圧を監視する機能を備えた電子制御装置に関するものである。 The present application relates to an electronic control device having a function of monitoring a power supply voltage.

電子制御装置では、投入される電源電圧が予め設定された電圧以上であることを検出し、予め設定された遅延時間経過後、内部システムを起動するようリセットを解除する、パワーオンリセット(POR:Power−On Reset)機能が設けられることが一般的であり、リセットの解除時の電圧監視方法あるいはリセットの解除時間を状況に応じて変更する方法が広く知られている。 The electronic control device detects that the applied power supply voltage is equal to or higher than the preset voltage, and releases the reset to start the internal system after the preset delay time elapses. Power-on reset (POR:) A Power-On Reset) function is generally provided, and a method of monitoring voltage at the time of reset release or a method of changing the reset release time according to a situation is widely known.

例えば、特許文献1の二次電池電圧監視回路には、定電圧充電を行うリチウムイオン二次電池を用いたメモリーバックアップ回路において、電源投入直後のリセット信号発生時に充電回路を遮断し、リセットの時間内だけリチウムイオン二次電池の電圧を検出する電圧検出回路を動作させて、リセット解除時に電圧検出の結果を保持するようにして、リチウムイオン二次電池の正確な電池電圧の検出を行うことが記載されている。 For example, in the secondary battery voltage monitoring circuit of Patent Document 1, in a memory backup circuit using a lithium ion secondary battery that performs constant voltage charging, the charging circuit is cut off when a reset signal is generated immediately after the power is turned on, and the reset time is set. It is possible to operate the voltage detection circuit that detects the voltage of the lithium ion secondary battery only inside and hold the voltage detection result when the reset is released so that the accurate battery voltage of the lithium ion secondary battery can be detected. Have been described.

また、例えば、特許文献2の半導体装置には、パワーオンリセット信号の後縁を設定部によって設定された遅延時間だけ遅延させて内部リセット信号を生成し、その内部リセット信号によって内部回路をリセットすることが記載されている。 Further, for example, in the semiconductor device of Patent Document 2, the trailing edge of the power-on reset signal is delayed by the delay time set by the setting unit to generate an internal reset signal, and the internal circuit is reset by the internal reset signal. It is stated that.

特開平11−168841号公報Japanese Unexamined Patent Publication No. 11-168841 特開2014−68124号公報Japanese Unexamined Patent Publication No. 2014-68124

しかしながら、特許文献1の二次電池電圧監視回路では、起動時の電源電圧について監視することはできても、IC動作中の電源電圧を監視することはできない。
また、特許文献2の半導体装置では、電源の立ち上がりが緩慢であった際に、リセット解除時の電源電圧がICの定格電圧未満であった場合、次回起動時のリセット遅延時間を長くすることで適正な電源電圧でリセット解除を行うことはできるが、IC動作中の電源電圧を監視することはできないという課題があった。
However, the secondary battery voltage monitoring circuit of Patent Document 1 can monitor the power supply voltage at startup, but cannot monitor the power supply voltage during IC operation.
Further, in the semiconductor device of Patent Document 2, when the power supply rises slowly and the power supply voltage at the time of reset release is less than the rated voltage of the IC, the reset delay time at the next start-up is lengthened. Although the reset can be released with an appropriate power supply voltage, there is a problem that the power supply voltage during IC operation cannot be monitored.

本願は、上記のような課題を解決するためになされたものであり、ICの電源電圧監視回路の二重設置を回避して、ICの起動時のみならずICの動作中においてもICの電源電圧を監視することができる電子制御装置を提供することを目的としている。 This application has been made to solve the above-mentioned problems, and avoids the double installation of the power supply voltage monitoring circuit of the IC, and powers the IC not only at the time of starting the IC but also during the operation of the IC. It is an object of the present invention to provide an electronic control device capable of monitoring a voltage.

本願に開示される電子制御装置は、装置全体を制御するICと、前記ICの電源端子に接続され、安定化電圧を供給する電源回路部と、前記電源回路部に接続されるとともに、前記安定化電圧を検知し、リセット解除信号を前記ICに出力するリセット部と、開閉器、整流回路及び電圧保持コンデンサとで構成され、電圧保持信号及びリセット解除信号により前記安定化電圧の保持及びその解除を行う電圧保持部と、を備え、前記ICの起動時において、前記安定化電圧がリセット解除電圧閾値以上となり、所定の遅延時間経過後、前記リセット部から出力された前記リセット解除信号により前記開閉器が開路され、前記電圧保持コンデンサに保持されている電圧が、前記ICの最低動作電圧未満である場合には、前記安定化電圧が異常であると判定され、また、前記ICの通常動作時において、前記電圧保持信号により前記開閉器が開路され、前記電圧保持コンデンサに保持されている第一の電圧が、前記ICの最低動作電圧未満である場合には、前記安定化電圧が異常であると判定され、前記第一の電圧が、前記ICの最低動作電圧以上である場合には、前記電圧保持信号により前記開閉器が閉路され、前記電圧保持コンデンサに保持されている第二の電圧と前記第一の電圧との差が設定値以上であれば、前記安定化電圧が異常であると判定されることを特徴とするものである。 The electronic control device disclosed in the present application includes an IC that controls the entire device, a power supply circuit unit that is connected to the power supply terminal of the IC and supplies a stabilizing voltage, and is connected to the power supply circuit unit and is stable. It is composed of a reset unit that detects the voltage and outputs the reset release signal to the IC, a switch, a rectifier circuit, and a voltage holding capacitor, and holds and releases the stabilized voltage by the voltage holding signal and the reset release signal. The voltage holding unit is provided, and when the IC is started, the stabilized voltage becomes equal to or higher than the reset release voltage threshold value, and after a predetermined delay time elapses, the opening / closing is performed by the reset release signal output from the reset unit. When the device is opened and the voltage held in the voltage holding capacitor is less than the minimum operating voltage of the IC, it is determined that the stabilized voltage is abnormal, and during normal operation of the IC. When the switch is opened by the voltage holding signal and the first voltage held in the voltage holding capacitor is less than the minimum operating voltage of the IC, the stabilized voltage is abnormal. When the first voltage is equal to or higher than the minimum operating voltage of the IC, the switch is closed by the voltage holding signal, and the second voltage is held in the voltage holding capacitor. If the difference from the first voltage is equal to or greater than the set value, it is determined that the stabilized voltage is abnormal.

本願に開示される電子制御装置によれば、リセット部、電圧保持部を備え、電源回路部から電源供給が開始されるICの起動時には、リセット部によるリセット解除信号に応動して、開閉器を開路とし、電圧保持部の電圧保持コンデンサで保持される電圧をICの最低動作電圧と比較判定することで、また、ICの通常動作時においても、電圧保持信号を開閉器に断続的または一時的に出力し、開閉器の開路時と閉路時における電圧保持コンデンサで保持される電圧の差を比較することで、ICの電源電圧の異常を判定することができるという効果がある。 According to the electronic control device disclosed in the present application, when an IC having a reset unit and a voltage holding unit and power supply is started from the power supply circuit unit is started, the switch is turned on in response to a reset release signal by the reset unit. By making the circuit open and comparing the voltage held by the voltage holding capacitor of the voltage holding part with the minimum operating voltage of the IC, and also during the normal operation of the IC, the voltage holding signal is intermittently or temporarily sent to the switch. By comparing the difference between the voltages held by the voltage holding capacitors when the switch is open and when the switch is closed, it is possible to determine an abnormality in the power supply voltage of the IC.

実施の形態1に係る電子制御装置の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the electronic control device which concerns on Embodiment 1. FIG. 実施の形態1における電圧保持部の回路構成の第一の構成例を示す図である。It is a figure which shows the 1st structural example of the circuit structure of the voltage holding part in Embodiment 1. FIG. 実施の形態1における電圧保持部の回路構成の第二の構成例を示す図である。It is a figure which shows the 2nd structural example of the circuit structure of the voltage holding part in Embodiment 1. FIG. 実施の形態1における起動時における安定化電圧とリセット解除電圧及びリセット解除信号の関係を示すタイムチャートである。It is a time chart which shows the relationship between the stabilization voltage at the time of start-up, a reset release voltage, and a reset release signal in the first embodiment. 実施の形態1における通常動作時における電源電圧異常検出の手順を示すフローチャートである。It is a flowchart which shows the procedure of power supply voltage abnormality detection at the time of a normal operation in Embodiment 1. FIG. 実施の形態1における開閉信号と開閉器の動作との関係を示す図である。It is a figure which shows the relationship between the opening / closing signal and the operation of a switch in Embodiment 1. FIG.

実施の形態1.
図1は、実施の形態1に係る電子制御装置の概略構成を示すブロック図である。図2は、電圧保持部の回路構成の第一の構成例を示す図である。図3は、電圧保持部の回路構成の第二の構成例を示す図である。図4は、起動時における安定化電圧とリセット解除電圧及びリセット解除信号の関係を示すタイムチャートである。図5は、通常動作時における電源電圧異常検出の手順を示すフローチャートである。また、図6は、開閉信号と開閉器の動作との関係を示すテーブルである。
Embodiment 1.
FIG. 1 is a block diagram showing a schematic configuration of an electronic control device according to a first embodiment. FIG. 2 is a diagram showing a first configuration example of the circuit configuration of the voltage holding unit. FIG. 3 is a diagram showing a second configuration example of the circuit configuration of the voltage holding unit. FIG. 4 is a time chart showing the relationship between the stabilized voltage, the reset release voltage, and the reset release signal at the time of startup. FIG. 5 is a flowchart showing a procedure for detecting a power supply voltage abnormality during normal operation. Further, FIG. 6 is a table showing the relationship between the open / close signal and the operation of the switch.

まず、図1を用いて、実施の形態1に係る電子制御装置の全体の構成について説明する。
実施の形態1の電子制御装置100は、装置全体を制御するIC40と、IC40のAVcc端子に接続され基準電圧Vrefを供給する第一電源回路部11と、IC40の電源入力端子であるEVcc端子及びリセット部20に接続され安定化電圧Vccを供給する第二電源回路部12と、入力電圧を検知しリセット解除信号RSTをIC40のReset端子に出力するリセット部20と、電圧保持信号HOLD及びリセット解除信号RSTにより入力電圧の保持及びその解除を行う電圧保持部30と、電圧保持部30に接続され入力電圧に比例した電圧をIC40のA/D端子に出力する分圧回路37と、で構成されている。また、第一電源回路部11及び第二電源回路部12の入力端子には、電源リレー2を介して、外部電源であるバッテリ1に接続され、電子制御装置100に電源電圧Vbbが供給されている。
First, the overall configuration of the electronic control device according to the first embodiment will be described with reference to FIG.
The electronic control device 100 of the first embodiment includes an IC 40 that controls the entire device, a first power supply circuit unit 11 that is connected to the AVcc terminal of the IC 40 and supplies a reference voltage Vref, an EVcc terminal that is a power input terminal of the IC 40, and an EVcc terminal. The second power supply circuit unit 12 connected to the reset unit 20 to supply the stabilized voltage Vcc, the reset unit 20 that detects the input voltage and outputs the reset release signal RST to the Reset terminal of the IC 40, the voltage holding signal HOLD and the reset release. It is composed of a voltage holding unit 30 that holds and releases the input voltage by the signal RST, and a voltage dividing circuit 37 that is connected to the voltage holding unit 30 and outputs a voltage proportional to the input voltage to the A / D terminal of the IC 40. ing. Further, the input terminals of the first power supply circuit unit 11 and the second power supply circuit unit 12 are connected to the battery 1 which is an external power supply via the power supply relay 2, and the power supply voltage Vbb is supplied to the electronic control device 100. There is.

次に、電子制御装置100の構成要素である各部の具体的な構成について説明する。
第一電源回路部11は、一定の電圧、例えば、外部電源であるバッテリ1のDC12V系の電源電圧Vbbを5Vの安定化電圧Vccに変圧し、IC40の基準電圧VrefとしてAVcc端子に給電する。
また、第二電源回路部12は、第一電源回路部11と同様、バッテリ1のDC12V系の電源電圧Vbbを5Vの安定化電圧Vccに変圧し、IC40の電源端子であるEVcc端子に給電するとともに、リセット部20に出力する。ここで、第一電源回路部11及び第二電源回路部12は、その出力をより安定化した電圧とするためにリニアレギュレータであることが望ましい。
Next, a specific configuration of each part that is a component of the electronic control device 100 will be described.
The first power supply circuit unit 11 transforms a constant voltage, for example, the power supply voltage Vbb of the DC12V system of the battery 1 which is an external power supply, to a regulated voltage Vcc of 5V, and supplies power to the AVcc terminal as a reference voltage Vref of the IC40.
Further, the second power supply circuit unit 12 transforms the power supply voltage Vbb of the DC12V system of the battery 1 to a stabilized voltage Vcc of 5V and supplies power to the EVcc terminal which is the power supply terminal of the IC 40, similarly to the first power supply circuit unit 11. At the same time, it is output to the reset unit 20. Here, it is desirable that the first power supply circuit unit 11 and the second power supply circuit unit 12 are linear regulators in order to make their outputs more stable voltages.

リセット部20は、入力端子の入力電圧Viが時間toに予め設定されたリセット解除電圧閾値Vth以上となったことを検知し(図4(a)を参照。)、予め設定された遅延時間tdを経過した後に、出力端子の出力電圧Voとして、時間trにリセット解除信号RSTを出力する(図4(b)を参照。)。また、リセット部20は、内部に備えられた不揮発性メモリ21の書き込み値に応じ、リセット解除電圧閾値Vth、あるいは、遅延時間tdの少なくとも一方が設定されるように構成されている。 The reset unit 20 detects that the input voltage Vi of the input terminal becomes equal to or higher than the reset release voltage threshold Vth preset for the time to (see FIG. 4A), and the preset delay time td After that, the reset release signal RST is output at time tr as the output voltage Vo of the output terminal (see FIG. 4B). Further, the reset unit 20 is configured so that at least one of the reset release voltage threshold value Vth and the delay time td is set according to the write value of the non-volatile memory 21 provided inside.

リセット部20の入力端子は、第二電源回路部12の出力端子に接続されている。また、リセット部20の出力端子は、IC40のReset端子に接続されるとともに、第一整流素子35aを介して電圧保持部30の電圧保持信号入力端子Cとも接続されている。ここで、リセット部20の出力端子の内部回路が、npn型トランジスタのようなオープンコレクタである場合には、例えば、第二電源回路部12の出力端子をプルアップ先とした、プルアップ抵抗22を設けてもよい。 The input terminal of the reset unit 20 is connected to the output terminal of the second power supply circuit unit 12. Further, the output terminal of the reset unit 20 is connected to the Reset terminal of the IC 40, and is also connected to the voltage holding signal input terminal C of the voltage holding unit 30 via the first rectifying element 35a. Here, when the internal circuit of the output terminal of the reset unit 20 is an open collector such as an npn type transistor, for example, the pull-up resistor 22 having the output terminal of the second power supply circuit unit 12 as the pull-up destination. May be provided.

なお、ここでいう、不揮発性メモリ21は、例えば、電気的に消去可能または書き換えが可能なEEPROM(Electrically Erasable ProgrammableRead Only Memory)である。
また、上記説明では、第一電源回路部11、第二電源回路部12、及びリセット部20は、それぞれ独立して構成されるものとしたが、その一部、あるいは全てが統合された構成であっても構わない。
The non-volatile memory 21 referred to here is, for example, an EEPROM (Electrically Erasable Probe Read Only Memory) that can be electrically erased or rewritten.
Further, in the above description, the first power supply circuit unit 11, the second power supply circuit unit 12, and the reset unit 20 are respectively configured independently, but a part or all of them are integrated. It doesn't matter if there is.

電圧保持部30は、外部からの開閉信号により入力電圧を保持又はその解除を行うものであり、いわゆるサンプルホールド回路の構成である。後段から前段に向けダイオード39で構成される整流回路38を備えることで、入力電圧の変動状態により、異なる電圧の保持動作を行うものである。つまり、電圧保持部30の電圧入力端子Aの入力電圧が一定、又は上昇している際は、サンプルホールド回路として動作し、入力電圧が降下している際は、ボトムホールド回路として動作する。電圧保持部30の電圧出力端子Bは、分圧回路37を介してIC40のA/D端子に接続されている。また、電圧保持部30の電圧保持信号入力端子Cは、第一整流素子35aを介してリセット部20の出力端子と接続されるとともに、第二整流素子35bを介して電圧保持信号HOLDを出力するIC40のHOLD端子とも接続されている。 The voltage holding unit 30 holds or releases the input voltage by an open / close signal from the outside, and has a so-called sample hold circuit configuration. By providing the rectifier circuit 38 composed of the diode 39 from the rear stage to the front stage, different voltage holding operations are performed depending on the fluctuation state of the input voltage. That is, when the input voltage of the voltage input terminal A of the voltage holding unit 30 is constant or rising, it operates as a sample hold circuit, and when the input voltage drops, it operates as a bottom hold circuit. The voltage output terminal B of the voltage holding unit 30 is connected to the A / D terminal of the IC 40 via the voltage dividing circuit 37. Further, the voltage holding signal input terminal C of the voltage holding unit 30 is connected to the output terminal of the reset unit 20 via the first rectifying element 35a, and outputs the voltage holding signal HOLD via the second rectifying element 35b. It is also connected to the HOLD terminal of the IC40.

分圧回路37は、例えば、抵抗分圧により、電圧保持部30の電圧出力端子Bから入力された電圧に比例した電圧をIC40のA/D端子に出力するよう構成されている。 The voltage dividing circuit 37 is configured to output a voltage proportional to the voltage input from the voltage output terminal B of the voltage holding unit 30 to the A / D terminal of the IC 40 by, for example, resistance voltage dividing.

IC40は、電子制御装置100の全体を制御するものであり、例えば、マイコンあるいはFPGAが挙げられる。マイコンあるいはFPGAは、その安定化電圧Vccが動作可能な電圧範囲となった後、さらに、一定の遅延時間tdの経過後に、リセット解除信号RSTが入力されることによりリセットが解除され、動作を開始する。 The IC 40 controls the entire electronic control device 100, and examples thereof include a microcomputer and an FPGA. The microcomputer or FPGA is reset by inputting the reset release signal RST after the regulated voltage Vcc is in the operable voltage range and after a certain delay time td has elapsed, and the operation is started. do.

IC40には、第一電源回路部11の出力端子と接続される基準電圧入力端子であるAVcc端子と、第二電源回路部12の出力端子と接続される電源入力端子であるEVcc端子と、リセット部20の出力端子と電圧保持部30に接続された第一整流素子35aとに接続されたReset端子と、リセット部20の不揮発性メモリ21に出力するRDU端子と、分圧回路37の出力端子に接続され、入力電圧をA/D変換するためのA/D端子と、第二整流素子35bを介して電圧保持部30に電圧保持信号HOLDを出力するHOLD端子と、が設けられている。 The IC 40 has an AVcc terminal, which is a reference voltage input terminal connected to the output terminal of the first power supply circuit unit 11, an EVcc terminal, which is a power supply input terminal connected to the output terminal of the second power supply circuit unit 12, and a reset. The Reset terminal connected to the output terminal of the unit 20 and the first rectifying element 35a connected to the voltage holding unit 30, the RDU terminal that outputs to the non-volatile memory 21 of the reset unit 20, and the output terminal of the voltage dividing circuit 37. The A / D terminal for A / D conversion of the input voltage and the HOLD terminal for outputting the voltage holding signal HOLD to the voltage holding unit 30 via the second rectifying element 35b are provided.

次に、図2を参照して、電圧保持部30の回路構成の詳細と、その接続関係について説明する。電圧保持部30は、開閉器36と、電圧保持コンデンサ32と、整流回路38と、で構成されている。電圧保持部30は、電圧入力端子A、電圧出力端子B、及び電圧保持信号入力端子Cの端子を持ち、電圧入力端子Aは、第二電源回路部12の出力端子に、電圧出力端子Bは、分圧回路37に、電圧保持信号入力端子Cは、第一整流素子35a及び第二整流素子35bに、それぞれ接続されている。 Next, with reference to FIG. 2, the details of the circuit configuration of the voltage holding unit 30 and the connection relationship thereof will be described. The voltage holding unit 30 includes a switch 36, a voltage holding capacitor 32, and a rectifier circuit 38. The voltage holding unit 30 has a voltage input terminal A, a voltage output terminal B, and a voltage holding signal input terminal C. The voltage input terminal A is an output terminal of the second power supply circuit unit 12, and the voltage output terminal B is a voltage output terminal B. , The voltage holding signal input terminal C is connected to the voltage dividing circuit 37, respectively, to the first rectifying element 35a and the second rectifying element 35b, respectively.

開閉器36は、例えば、pnp型のトランジスタ31とベース抵抗34とによって構成され、トランジスタ31のエミッタ端子は、電圧保持部30の電圧入力端子Aに接続されており、コレクタ端子は、電圧保持コンデンサ32に接続されるとともに、電圧保持部30の電圧出力端子Bにも接続されている。トランジスタ31のベース端子は、ベース抵抗34を介し電圧保持部30の電圧保持信号入力端子Cに接続されている。整流回路38は、図2に示すような、ダイオード39により構成されている。 The switch 36 is composed of, for example, a pnp type transistor 31 and a base resistor 34. The emitter terminal of the transistor 31 is connected to the voltage input terminal A of the voltage holding unit 30, and the collector terminal is a voltage holding capacitor. In addition to being connected to 32, it is also connected to the voltage output terminal B of the voltage holding unit 30. The base terminal of the transistor 31 is connected to the voltage holding signal input terminal C of the voltage holding unit 30 via the base resistor 34. The rectifier circuit 38 is composed of a diode 39 as shown in FIG.

次に、図4を用いて、電源リレー2が閉路され、バッテリ1から電源供給が開始される電源起動時の電子制御装置100の動作について説明する。図4(a)及び図4(b)は、電子制御装置100の電源起動時における安定化電圧Vccと、リセット解除電圧Vrst、リセット解除信号RSTの関係を示すタイムチャートである。 Next, with reference to FIG. 4, the operation of the electronic control device 100 when the power supply relay 2 is closed and the power supply is started from the battery 1 will be described. 4 (a) and 4 (b) are time charts showing the relationship between the stabilized voltage Vcc when the power supply of the electronic control device 100 is started, the reset release voltage Vrst, and the reset release signal RST.

リセット部20は、入力された安定化電圧Vccの値が、不揮発性メモリ21に書き込まれた値に対して、リセット解除電圧閾値Vth以上となったことを検出すると、遅延時間tdを経過した後に、出力端子の出力電圧VoをLowからHighへ切り替えてリセット解除信号RSTを、IC40及び電圧保持部30に出力する。ここで、リセット解除電圧閾値Vth及び遅延時間tdは、必要に応じて任意に設定することができる。 When the reset unit 20 detects that the input value of the stabilization voltage Vcc is equal to or higher than the reset release voltage threshold Vth with respect to the value written in the non-volatile memory 21, after the delay time td has elapsed. , The output voltage Vo of the output terminal is switched from Low to High, and the reset release signal RST is output to the IC 40 and the voltage holding unit 30. Here, the reset release voltage threshold value Vth and the delay time td can be arbitrarily set as needed.

電圧保持部30は、リセット解除信号RSTによって、開閉器36を開路することでリセット解除時における安定化電圧Vccをリセット解除電圧Vrstとして電圧保持コンデンサ32で保持し、分圧回路37によって分圧する。一方で、IC40は、リセット解除信号RSTによってリセット解除された後、A/D端子に分圧回路37によって分圧された電圧が入力され、A/D変換値を算出する。 The voltage holding unit 30 opens the switch 36 by the reset release signal RST to hold the stabilized voltage Vcc at the time of reset release as the reset release voltage Vrst by the voltage holding capacitor 32, and divides the voltage by the voltage dividing circuit 37. On the other hand, in the IC 40, after the reset is released by the reset release signal RST, the voltage divided by the voltage dividing circuit 37 is input to the A / D terminal, and the A / D conversion value is calculated.

なお、この際の基準電圧はVrefであり、分圧回路37によって分圧することにより、Vrst>Vrefであっても、A/D変換値を飽和させずにA/D変換することが可能となっている。 The reference voltage at this time is Vref, and by dividing the voltage by the voltage dividing circuit 37, it is possible to perform A / D conversion without saturating the A / D conversion value even if Vrst> Vref. ing.

その後、A/D変換値が、IC40の最低動作電圧以上であるか否かを判定し、最低動作電圧以上であった場合は、IC40の安定化電圧Vccは正常であると判定し、最低動作電圧未満であった場合は、不揮発性メモリ21にリセット解除最適化信号RDUを出力し、例えば、リセット解除時間td(=遅延時間)を一割長く、あるいは、リセット解除電圧閾値Vthの値を0.1V高くするよう書き換えることにより、次回の起動時には、適切な電源電圧、及び遅延時間で起動させることができる。 After that, it is determined whether or not the A / D conversion value is equal to or higher than the minimum operating voltage of the IC40, and if it is equal to or higher than the minimum operating voltage, it is determined that the stabilized voltage Vcc of the IC40 is normal, and the minimum operation is performed. If the voltage is less than the voltage, the reset release optimization signal RDU is output to the non-volatile memory 21, for example, the reset release time td (= delay time) is increased by 10%, or the value of the reset release voltage threshold Vth is set to 0. By rewriting to increase .1V, the next startup can be started with an appropriate power supply voltage and delay time.

続いて、図5のフローチャートを参照して、IC40が正常に起動後、安定状態となった通常動作時における安定化電圧Vccの電圧異常検出手順について説明する。
IC40の動作を開始する(ステップS400)。
IC40は、開閉器36を開路させるために電圧保持信号HOLDにより開信号を出力する(ステップS401)。
これにより、開閉器36が開路される(ステップS402)。
IC40は、電圧保持コンデンサ32に保持されている電圧をA/D変換し、A/D変換値(1)を算出する(ステップS403)。
IC40は、「A/D変換値(1)」と「IC40の最低動作電圧」とを比較する(ステップS404)。
「A/D変換値(1)<IC40の最低動作電圧」の関係を満足した場合には、YESであると判定し、満足しない場合には、NOであると判定する。
ここで、ステップS404において、NOであると判定された場合には、IC40は、開閉器36を閉路させるためにリセット解除信号RSTにより閉信号を出力する(ステップS405)。
これにより、開閉器36が閉路される(ステップS406)。
IC40は、電圧保持コンデンサ32に保持されている電圧をA/D変換し、A/D変換値(2)を算出する(ステップS407)。
IC40は、「|A/D変換値(2)−A/D変換値(1)|」と「設定値」とを比較する(ステップS408)。
「|A/D変換値(2)−A/D変換値(1)|」>「設定値」の関係を満足する場合には、YESであると判定し、満足しない場合には、NOであると判定する。
つまり、A/D変換値(2)とA/D変換値(1)との差が設定値よりも大きければYESであると判定され、設定値よりも小さければNOであると判定される。
ステップS404でYES、あるいはステップS408にて、YESであると判定された場合には、安定化電圧Vccの電圧は異常であると判定される(ステップS410)。
また、ステップS408にて、NOであると判定された場合には、安定化電圧Vccの電圧は正常である判定され(ステップS409)、IC40の通常動作が継続される。さらに、ステップS401に戻り、この一連の手順を繰り返す。
ここで、ステップS408における設定値とは、例えば、IC40の電源電圧における予め設定された許容リップル電圧値である。
Subsequently, with reference to the flowchart of FIG. 5, a procedure for detecting a voltage abnormality of the stabilized voltage Vcc during normal operation, which is in a stable state after the IC 40 is normally started, will be described.
The operation of the IC40 is started (step S400).
The IC 40 outputs an open signal by the voltage holding signal HOLD in order to open the switch 36 (step S401).
As a result, the switch 36 is opened (step S402).
The IC 40 A / D converts the voltage held in the voltage holding capacitor 32 and calculates the A / D conversion value (1) (step S403).
The IC 40 compares the “A / D conversion value (1)” with the “minimum operating voltage of the IC 40” (step S404).
If the relationship of "A / D conversion value (1) <minimum operating voltage of IC40" is satisfied, it is determined to be YES, and if it is not satisfied, it is determined to be NO.
Here, if it is determined to be NO in step S404, the IC 40 outputs a closing signal by the reset release signal RST in order to close the switch 36 (step S405).
As a result, the switch 36 is closed (step S406).
The IC 40 A / D converts the voltage held in the voltage holding capacitor 32 and calculates the A / D conversion value (2) (step S407).
The IC40 compares "| A / D conversion value (2) -A / D conversion value (1) |" with the "set value" (step S408).
If the relationship of "| A / D conversion value (2) -A / D conversion value (1) |">"setvalue" is satisfied, it is determined to be YES, and if it is not satisfied, NO is selected. Judge that there is.
That is, if the difference between the A / D conversion value (2) and the A / D conversion value (1) is larger than the set value, it is determined to be YES, and if it is smaller than the set value, it is determined to be NO.
If YES in step S404 or YES in step S408, it is determined that the regulated voltage Vcc is abnormal (step S410).
If it is determined to be NO in step S408, it is determined that the regulated voltage Vcc is normal (step S409), and the normal operation of the IC 40 is continued. Further, the process returns to step S401, and this series of procedures is repeated.
Here, the set value in step S408 is, for example, a preset allowable ripple voltage value in the power supply voltage of the IC 40.

図6は、開閉信号である電圧保持信号HOLD及びリセット解除信号RSTと開閉器36の動作との関係を示すテーブルである。 FIG. 6 is a table showing the relationship between the voltage holding signal HOLD and the reset release signal RST, which are switching signals, and the operation of the switch 36.

このように、IC40は、開閉器36が開路された場合と、閉路された場合に電圧保持コンデンサ32に保持されている電圧を用いてA/D変換値の算出を繰り返し実行し、安定化電圧Vccの測定を行なっている。それにより、開閉器36が開路された場合に、ボトムホールドされた電圧を基準に、開閉器36が閉路された場合の電圧を測定し、その二値を比較し、その差が設定値以上である場合に安定化電圧Vccが変動していることを検出することができる。 In this way, the IC 40 repeatedly executes the calculation of the A / D conversion value using the voltage held in the voltage holding capacitor 32 when the switch 36 is opened and when the switch is closed, and stabilizes the voltage. We are measuring Vcc. As a result, when the switch 36 is opened, the voltage when the switch 36 is closed is measured with reference to the bottom-held voltage, the two values are compared, and the difference is greater than or equal to the set value. In some cases, it can be detected that the stabilized voltage Vcc is fluctuating.

また、電圧保持コンデンサ32によって保持されている電圧をIC40により算出したA/D変換値が、最低動作電圧未満である場合に、安定化電圧Vccが低下しているものとして、異常検出することが可能である。 Further, when the A / D conversion value of the voltage held by the voltage holding capacitor 32 calculated by the IC 40 is less than the minimum operating voltage, it is possible to detect an abnormality as if the stabilized voltage Vcc has decreased. It is possible.

電圧保持コンデンサ32の電圧のA/D変換を一定周期で行っている場合、電源電圧の変動周期と同期した場合には電圧異常の検出漏れが発生する可能性があるため、A/D変換は不定周期で行うことが望ましい。 When A / D conversion of the voltage of the voltage holding capacitor 32 is performed at a fixed cycle, detection omission of voltage abnormality may occur when synchronized with the fluctuation cycle of the power supply voltage, so A / D conversion is performed. It is desirable to perform it at an indefinite cycle.

なお、図2に示す電圧保持部30の第一の回路構成例では、整流回路38として、ダイオード39のみを用いる場合を示したが、図3に示す第二の回路構成例のように整流回路38をダイオード39とオペアンプ33とにより構成された理想ダイオード回路とすることにより、開閉器36の開路時において、開閉器36の前段と後段の電位差をほぼ0とすることができるので、より精度の良い電圧検出が可能となる。 In the first circuit configuration example of the voltage holding unit 30 shown in FIG. 2, the case where only the diode 39 is used as the rectifier circuit 38 is shown, but the rectifier circuit is as shown in the second circuit configuration example shown in FIG. By making 38 an ideal diode circuit composed of a diode 39 and an operational amplifier 33, the potential difference between the front stage and the rear stage of the switch 36 can be made almost 0 when the switch 36 is opened, so that the accuracy is higher. Good voltage detection is possible.

このように、実施の形態1に係る電子制御装置によれば、電源電圧監視回路の二重設置を回避して、小型で安価に、ICの起動時だけでなく、動作中であってもICの電源電圧を監視することができるといった効果がある。 As described above, according to the electronic control device according to the first embodiment, it is possible to avoid the double installation of the power supply voltage monitoring circuit, and to make the IC compact and inexpensive, not only at the time of starting the IC but also during operation. It has the effect of being able to monitor the power supply voltage of.

なお、上記実施の形態では、外部電源としてバッテリを使用する場合について説明したが、交流電源を直流に変換して使用する場合であってもよい。 In the above embodiment, the case where the battery is used as the external power source has been described, but the case where the AC power source is converted to direct current and used may be used.

また、本願は、例示的な実施の形態が記載されているが、実施の形態に記載された様々な特徴、態様、及び機能は特定の実施の形態の適用に限られるのではなく、単独で、または様々な組み合わせで実施の形態に適用可能である。
従って、例示されていない無数の変形例が、本願明細書に開示される技術の範囲内において想定される。例えば、少なくとも1つの構成要素を変形する場合、追加する場合または省略する場合が含まれるものとする。
Also, although the present application describes exemplary embodiments, the various features, embodiments, and functions described in the embodiments are not limited to the application of a particular embodiment, but alone. , Or in various combinations are applicable to embodiments.
Therefore, innumerable variations not illustrated are envisioned within the scope of the techniques disclosed herein. For example, it is assumed that at least one component is modified, added or omitted.

また、図中、同一符号は、同一または相当部分を示す。 Further, in the figure, the same reference numerals indicate the same or corresponding parts.

1 バッテリ、2 電源リレー、11 第一電源回路部、12 第二電源回路部、20 リセット部、21 不揮発性メモリ、22 プルアップ抵抗、30 電圧保持部、40 IC、100 電子制御装置、31 トランジスタ、32 電圧保持コンデンサ、33 オペアンプ、34 ベース抵抗、35a 第一整流素子、35b 第二整流素子、36 開閉器、37 分圧回路、38 整流回路、39 ダイオード、Vbb 電源電圧、Vcc 安定化電圧、Vref 基準電圧、HOLD 電圧保持信号、RST リセット解除信号、RDU リセット解除最適化信号 1 Battery, 2 Power supply relay, 11 1st power supply circuit, 12 2nd power supply circuit, 20 Reset, 21 Non-volatile memory, 22 Pull-up resistor, 30 Voltage holder, 40 IC, 100 Electronic controller, 31 Transistor , 32 voltage holding capacitor, 33 optotype, 34 base resistance, 35a first rectifier element, 35b second rectifier element, 36 switch, 37 voltage divider circuit, 38 rectifier circuit, 39 diode, Vbb power supply voltage, Vcc stabilized voltage, Vref reference voltage, HOLD voltage holding signal, RST reset release signal, RDU reset release optimization signal

Claims (6)

装置全体を制御するICと、
前記ICの電源端子に接続され、安定化電圧を供給する電源回路部と、
前記電源回路部に接続されるとともに、前記安定化電圧を検知し、リセット解除信号を前記ICに出力するリセット部と、
開閉器、整流回路及び電圧保持コンデンサで構成され、電圧保持信号及びリセット解除信号により前記安定化電圧の保持及びその解除を行う電圧保持部と、を備え、
前記ICの起動時において、前記安定化電圧がリセット解除電圧閾値以上となり、所定の遅延時間経過後、前記リセット部から出力された前記リセット解除信号により前記開閉器が開路され、前記電圧保持コンデンサに保持されている電圧が、前記ICの最低動作電圧未満である場合には、前記安定化電圧が異常であると判定され、
また、前記ICの通常動作時において、前記電圧保持信号により前記開閉器が開路され、前記電圧保持コンデンサに保持されている第一の電圧が、前記ICの最低動作電圧未満である場合には、前記安定化電圧が異常であると判定され、
前記第一の電圧が、前記ICの最低動作電圧以上である場合には、前記電圧保持信号により前記開閉器が閉路され、前記電圧保持コンデンサに保持されている第二の電圧と前記第一の電圧との差が設定値以上であれば、前記安定化電圧が異常であると判定されることを特徴とする電子制御装置。
An IC that controls the entire device,
A power supply circuit unit that is connected to the power supply terminal of the IC and supplies a regulated voltage.
A reset unit that is connected to the power supply circuit unit, detects the stabilized voltage, and outputs a reset release signal to the IC.
It is composed of a switch, a rectifier circuit, and a voltage holding capacitor, and includes a voltage holding unit that holds and releases the stabilized voltage by a voltage holding signal and a reset release signal.
When the IC is started, the stabilization voltage becomes equal to or higher than the reset release voltage threshold value, and after a predetermined delay time elapses, the switch is opened by the reset release signal output from the reset unit, and the voltage holding capacitor is used. If the held voltage is less than the minimum operating voltage of the IC, it is determined that the stabilized voltage is abnormal, and the voltage is determined to be abnormal.
When the switch is opened by the voltage holding signal during the normal operation of the IC and the first voltage held in the voltage holding capacitor is less than the minimum operating voltage of the IC. It is determined that the stabilized voltage is abnormal,
When the first voltage is equal to or higher than the minimum operating voltage of the IC, the switch is closed by the voltage holding signal, and the second voltage held in the voltage holding capacitor and the first voltage are used. An electronic control device characterized in that if the difference from the voltage is equal to or greater than a set value, it is determined that the stabilized voltage is abnormal.
前記第一の電圧あるいは前記第二の電圧は、不定周期で求めることを特徴とする請求項1に記載の電子制御装置。 The electronic control device according to claim 1, wherein the first voltage or the second voltage is obtained at an indefinite period. 前記電圧保持部に接続され、前記電圧保持コンデンサに保持されている電圧を分圧する分圧回路を備え、前記分圧回路の出力電圧を前記第一の電圧及び前記第二の電圧とすることを特徴とする請求項1または請求項2に記載の電子制御装置。 A voltage dividing circuit connected to the voltage holding unit and dividing the voltage held in the voltage holding capacitor is provided, and the output voltage of the voltage dividing circuit is set to the first voltage and the second voltage. The electronic control device according to claim 1 or 2. 前記第一の電圧及び前記第二の電圧は、前記ICにおいてA/D変換されることを特徴とする請求項1から請求項3のいずれか1項に記載の電子制御装置。 The electronic control device according to any one of claims 1 to 3, wherein the first voltage and the second voltage are A / D converted in the IC. 前記整流回路は、後段から前段に向け整流を行う、ダイオードとオペアンプとにより構成された理想ダイオード回路であることを特徴とする請求項1から請求項4のいずれか1項に記載の電子制御装置。 The electronic control device according to any one of claims 1 to 4, wherein the rectifier circuit is an ideal diode circuit composed of a diode and an operational amplifier, which rectifies from the rear stage to the front stage. .. 前記ICの通常動作時、前記電圧保持コンデンサに保持されている電圧が設定値未満である場合には、前記安定化電圧が異常であると判定されることを特徴とする請求項1から請求項5のいずれか1項に記載の電子制御装置。 Claims 1 to 1, wherein when the voltage held in the voltage holding capacitor is less than a set value during normal operation of the IC, it is determined that the stabilized voltage is abnormal. 5. The electronic control device according to any one of 5.
JP2020072657A 2020-04-15 2020-04-15 Electronic control device Active JP6921271B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020072657A JP6921271B1 (en) 2020-04-15 2020-04-15 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020072657A JP6921271B1 (en) 2020-04-15 2020-04-15 Electronic control device

Publications (2)

Publication Number Publication Date
JP6921271B1 true JP6921271B1 (en) 2021-08-18
JP2021170870A JP2021170870A (en) 2021-10-28

Family

ID=77269502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020072657A Active JP6921271B1 (en) 2020-04-15 2020-04-15 Electronic control device

Country Status (1)

Country Link
JP (1) JP6921271B1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2731528B2 (en) * 1987-12-28 1998-03-25 日本電気株式会社 DC power supply instantaneous interruption detection device
JPH01255019A (en) * 1988-04-04 1989-10-11 Alps Electric Co Ltd Power source circuit for microcomputer
JPH11168841A (en) * 1997-12-01 1999-06-22 Yaskawa Electric Corp Secondary battery voltage monitor circuit
US7372289B2 (en) * 2003-08-22 2008-05-13 Rohm Co., Ltd. Semiconductor integrated circuit device and power supply voltage monitor system employing it
JP2008271526A (en) * 2007-03-29 2008-11-06 Fujitsu Ten Ltd Delay circuit, and electronic device

Also Published As

Publication number Publication date
JP2021170870A (en) 2021-10-28

Similar Documents

Publication Publication Date Title
US11355211B2 (en) Low quiescent current linear regulator with mode selection based on load current and fast transient detection
US20090184748A1 (en) Voltage regulator
US9170591B2 (en) Low drop-out regulator with a current control circuit
US10429417B2 (en) Brown-out detectors
US11662789B2 (en) Power supply circuit with switch for connection of a DC power supply to a power supply unit based on sensed temperature
US8354835B2 (en) Wide range current sensing
CN110928348B (en) Voltage regulator and test method of voltage regulator
JP3747618B2 (en) Power circuit
JP6921271B1 (en) Electronic control device
JP5573781B2 (en) CR oscillation circuit and frequency correction method thereof
US20200202701A1 (en) Two-wire transmitter
CN102017382A (en) Method of forming a detection circuit and structure therefor
JP2002055130A (en) Frequency judgment circuit and data processor
JP5357252B2 (en) Power supply circuit and power supply method
US20210028699A1 (en) Integrated circuit apparatus
US20110001517A1 (en) Semiconductor device
US10739168B2 (en) Absolute encoder comprising a clock control circuit to change the pulse width of each backup clock pulse
US10614895B2 (en) Semiconductor device
CN113127246A (en) Watchdog circuit, control method and watchdog chip
JP2002182758A (en) Voltage regulator circuit
CN107064436B (en) Gas detection method for micro-electromechanical system sensor, sensor and storage medium
US6204699B1 (en) Voltage detection circuit
JP2021167732A (en) Battery monitoring device
JP7289973B2 (en) voltage regulator
KR100271056B1 (en) Circuit for detecting of voltage source regulation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200415

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210727

R151 Written notification of patent or utility model registration

Ref document number: 6921271

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250