JP2001086639A - Method for detecting failure of inductive load drive and device thereof - Google Patents

Method for detecting failure of inductive load drive and device thereof

Info

Publication number
JP2001086639A
JP2001086639A JP25881799A JP25881799A JP2001086639A JP 2001086639 A JP2001086639 A JP 2001086639A JP 25881799 A JP25881799 A JP 25881799A JP 25881799 A JP25881799 A JP 25881799A JP 2001086639 A JP2001086639 A JP 2001086639A
Authority
JP
Japan
Prior art keywords
abnormality detection
time
detection time
abnormality
timer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP25881799A
Other languages
Japanese (ja)
Inventor
Tomoyuki Kashiwagi
智之 柏木
Seiji Miyamoto
誠司 宮本
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP25881799A priority Critical patent/JP2001086639A/en
Publication of JP2001086639A publication Critical patent/JP2001086639A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Protection Of Static Devices (AREA)
  • Control Of Voltage And Current In General (AREA)
  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain a method for detecting failure, at low cost, in an energizing path including inductive load and a device thereof, in an inductive load drive driving a plurality of inductive loads. SOLUTION: An energizing path corresponding to the failure detection time which is set in a timer circuit 10 is stored by a failure detection execution flag (S140). When the failure detection time of one energizing path corresponding to a control signal changed in the signal level is to be set, the failure detection execution flag is referred to for determining whether the failure detection time of the other energizing path is set (S60). When the failure detection time of the other energizing path is not set, the failure detection time of one energizing path is set in the timer circuit. As a result, in failure detection of a plurality of energizing paths, the failure detection time of the energizing paths varying from each other can be set in a common timer circuit.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、複数の誘導性負
荷を夫々駆動する誘導性負荷駆動装置において、誘導性
負荷自体を含む各通電経路の異常を検出する方法および
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for detecting an abnormality in each current path including an inductive load itself in an inductive load driving device for driving a plurality of inductive loads.

【0002】[0002]

【従来の技術】従来より、誘導性負荷(例えば、電磁弁
などのアクチュエータを構成するソレノイドなど)を駆
動する誘導性負荷駆動装置においては、誘導性負荷を駆
動するための通電経路上に設けられた駆動回路(スイッ
チング素子等からなる)に対し、制御回路(マイクロコ
ンピュータ等)から所定の制御信号を出力し、この制御
信号の信号レベルを変化させることにより通電経路を接
続(オン)及び遮断(オフ)させて、誘導性負荷の駆動
を行っている。
2. Description of the Related Art Conventionally, an inductive load driving device for driving an inductive load (for example, a solenoid constituting an actuator such as an electromagnetic valve) is provided on an energizing path for driving the inductive load. A predetermined control signal is output from a control circuit (microcomputer or the like) to the drive circuit (comprising a switching element or the like) and the signal path of the control signal is changed to connect (turn on) and cut off (turn on) the current path. Off) to drive the inductive load.

【0003】そして、この種の誘導性負荷駆動装置にお
いて、「誘導性負荷を含む通電経路」における断線や短
絡などの異常(例えばスイッチング素子のオープン故
障、誘導性負荷の断線、スイッチング素子や誘導性負荷
の両端の短絡など)が発生した場合、制御信号による誘
導性負荷の駆動を正常に行うことができなくなることか
ら、こうした異常を検出することが行われている。
[0003] In this type of inductive load driving device, abnormalities such as disconnection or short circuit in the "energization path including the inductive load" (for example, open failure of switching element, disconnection of inductive load, switching element or inductive element). When a short circuit occurs at both ends of the load, for example, it becomes impossible to normally drive the inductive load by the control signal, and thus such an abnormality is detected.

【0004】誘導性負荷を含む通電経路の異常検出は、
駆動回路に制御信号を出力して誘導負荷を駆動させてい
るときに、誘導性負荷の通電状態(即ち駆動状態)を示
す信号(以下、モニタ信号という)を駆動回路から取得
し、制御信号とモニタ信号との対応を調べることにより
行われる。例えば通電経路上の所定箇所(例えば誘導性
負荷とスイッチング素子との間など)における電位は、
その誘導性負荷の通電状態(即ち通電経路の通電状態)
に応じて変化することから、その電位をモニタ信号とし
て検出し、このモニタ信号と制御信号との対応を判断す
れば、誘導性負荷やその通電経路に異常が発生している
か否かを判定することができるのである。
[0004] Abnormality detection of an energized path including an inductive load is performed by:
When a control signal is output to the drive circuit to drive the inductive load, a signal (hereinafter, referred to as a monitor signal) indicating an energized state of the inductive load (that is, a drive state) is obtained from the drive circuit, and the control signal and This is performed by checking the correspondence with the monitor signal. For example, the potential at a predetermined location on the current path (for example, between an inductive load and a switching element) is
The energized state of the inductive load (that is, the energized state of the energized path)
Therefore, if the potential is detected as a monitor signal and the correspondence between the monitor signal and the control signal is determined, it is determined whether or not an abnormality has occurred in the inductive load or its energizing path. You can do it.

【0005】ところで、制御信号の信号レベルを変化さ
せて通電経路のオン/オフ状態を切り替えても、誘導性
負荷の誘導作用により、通電状態の変化(即ち、通電経
路のオン/オフ状態に応じたモニタ信号の変化)には遅
れが生じる。そのため、こうした異常検出を図るには、
制御信号の信号レベルの変化タイミングから所定の時間
が経過して、通電経路のオン/オフ状態がモニタ信号に
反映されるのを待つ必要がある。
By the way, even if the on / off state of the current path is switched by changing the signal level of the control signal, the change in the current state (that is, depending on the on / off state of the current path) is caused by the inductive action of the inductive load. Of the monitor signal). Therefore, to detect such abnormalities,
It is necessary to wait until a predetermined time elapses from the change timing of the signal level of the control signal and the ON / OFF state of the energization path is reflected in the monitor signal.

【0006】そこで従来より、上記方法による異常検出
は、具体的には次の様にして行われている。即ち、所定
時刻を設定可能で、その設定された時刻になるとその旨
の信号を出力するよう構成されたタイマ(例えば、カウ
ンタ回路にて構成されたもの)を用意する(異常検出の
対象である通電経路が複数ある場合には、各通電経路毎
に用意する)。そして、ある通電経路を断続するための
制御信号の信号レベルが変化すると、その変化タイミン
グから所定時間遅れた時刻を当該通電経路に対応するタ
イマ回路に設定する。そして、その後設定された時刻と
なり、タイマからその旨の信号が出力されると、これを
トリガとして異常検出を行うのである。
Therefore, conventionally, the abnormality detection by the above method has been specifically performed as follows. That is, a predetermined time can be set, and a timer (for example, formed of a counter circuit) configured to output a signal to that effect at the set time is prepared. If there are a plurality of energizing paths, prepare them for each energizing path). Then, when the signal level of the control signal for interrupting a certain energizing path changes, a time delayed by a predetermined time from the change timing is set in a timer circuit corresponding to the energizing path. Then, when the set time comes and the timer outputs a signal to that effect, this is used as a trigger to detect an abnormality.

【0007】[0007]

【発明が解決しようとする課題】しかし従来の技術で
は、通電経路と同数のタイマ回路を使用していることか
ら、例えば車両のエンジンや自動変速機等の様に多数の
誘導性負荷(即ち通電経路)を備えた制御対象を制御す
る場合には、多数のタイマ回路が必要となっていた。ま
た今後、制御対象の高機能化に伴って誘導性負荷の数が
多くなると、異常検出に用いるタイマが更に多くなり、
異常検出装置の製造コストが高くなってしまうことにな
る。例えば、こうしたタイマとしては、制御回路を構成
するマイクロコンピュータに内蔵の所謂内部タイマが使
用されることが多いが、この場合には、複数の時刻を同
時に設定可能な(即ちタイマ機能を複数備えた)高価な
マイクロコンピュータが必要となってしまうのである。
However, in the prior art, since the same number of timer circuits as the number of energizing paths are used, a large number of inductive loads (that is, energized loads) such as a vehicle engine and an automatic transmission are used. When controlling a control target provided with a route, a large number of timer circuits are required. Further, in the future, as the number of inductive loads increases along with the sophistication of the control target, the number of timers used for abnormality detection further increases,
The manufacturing cost of the abnormality detection device will increase. For example, as such a timer, a so-called internal timer built in a microcomputer constituting a control circuit is often used. In this case, a plurality of times can be set simultaneously (that is, a plurality of timer functions are provided). ) An expensive microcomputer is required.

【0008】本発明は、上記課題に鑑みなされたもので
あり、複数の誘導性負荷を駆動する誘導性負荷駆動装置
において、誘導性負荷を含む通電経路の異常を低コスト
で検出できる方法及び装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides a method and apparatus for detecting an abnormality in an energizing path including an inductive load at a low cost in an inductive load driving apparatus for driving a plurality of inductive loads. The purpose is to provide.

【0009】[0009]

【課題を解決するための手段及び発明の効果】かかる課
題を解決するためになされた本発明(請求項1記載)の
異常検出方法は、複数の誘導性負荷の通電経路毎に各々
配置されたスイッチング手段に対して制御信号を夫々出
力し、該各制御信号の信号レベルを夫々変化させること
により該各通電経路を断続させて、該各誘導性負荷を駆
動する誘導性負荷駆動装置において、各通電経路(各誘
導性負荷自体を含む。以下同じ)の異常を検出するため
の方法であって、タイマ手段を利用し、各通電経路の通
電状態と各制御信号とに基づく異常検出を、その制御信
号の信号レベルの変化タイミングから予め定められた所
定時間遅延した時刻(異常検出時刻)に行うものであ
る。このタイマ手段は、時刻の設定が可能であり、その
設定された時刻になると、その旨を出力するよう構成さ
れたものである。
Means for Solving the Problems and Effects of the Invention An abnormality detecting method according to the present invention (described in claim 1) for solving the above problems is provided for each of the plurality of inductive load energizing paths. In the inductive load driving device that outputs each control signal to the switching means, changes the signal level of each control signal, disconnects each energizing path, and drives each inductive load, A method for detecting an abnormality in an energization path (including each inductive load itself; the same applies hereinafter), wherein abnormality detection based on an energization state of each energization path and each control signal is performed using a timer means. This is performed at a time (anomaly detection time) delayed by a predetermined time from the change timing of the signal level of the control signal. The timer means is capable of setting a time, and is configured to output a notification when the set time is reached.

【0010】ここで特に、本発明(請求項1)の異常検
出方法においては、タイマ手段に設定された異常検出時
刻に関し、その異常検出時刻に行うべき異常検出の対象
である通電経路を記憶しておく。そして、何れかの通電
経路に対応する制御信号の信号レベルが変化すると、上
記記憶した内容に基づき、他の通電経路の異常検出時刻
がタイマ手段に既に設定されているかどうかを判断し、
この判断の結果、他の通電経路の異常検出時刻がタイマ
手段に設定された状態でないときには、信号レベルが変
化した制御信号に対応する通電経路の異常検出時刻をタ
イマ手段に設定するのである。そして、タイマ手段から
異常検出時刻となった旨が出力されると、上記記憶した
内容に基づいて、異常検出の対象である通電経路を特定
し、その特定した通電経路の異常検出を行う。
[0010] In particular, in the abnormality detection method according to the present invention (claim 1), regarding the abnormality detection time set in the timer means, an energization path to be detected at the abnormality detection time is stored. Keep it. Then, when the signal level of the control signal corresponding to any of the energizing paths changes, it is determined based on the stored contents whether or not the abnormality detection time of the other energizing paths has already been set in the timer means,
If the result of this determination is that the abnormality detection time of another energized path is not set in the timer means, the abnormality detection time of the energized path corresponding to the control signal whose signal level has changed is set in the timer means. Then, when the timer means outputs an abnormality detection time, an energized path to be subjected to abnormality detection is specified based on the stored contents, and an abnormality of the specified energized path is detected.

【0011】即ち、本発明(請求項1)の異常検出方法
においては、一の通電経路(即ち信号レベルが変化した
制御信号に対応する通電経路。以下同じ)の異常検出時
刻を設定しようとする場合には、まず、他の通電経路
(上記一の通電経路以外の通電経路。以下同じ。)の異
常検出時刻が設定されていないかどうかを判断し、他の
通電経路の異常検出時刻が設定されていないときに、当
該一の通電経路の異常検出時刻をタイマ手段に設定する
のである。
That is, in the abnormality detection method of the present invention (claim 1), an abnormality detection time is set for one energization path (that is, an energization path corresponding to a control signal having a changed signal level; the same applies hereinafter). In this case, first, it is determined whether or not the abnormality detection time of another energized path (an energized path other than the one energized path described above; the same applies hereinafter) is not set, and the abnormality detected time of the other energized path is set. If not, the abnormality detection time of the one energization path is set in the timer means.

【0012】従って本発明(請求項1)の異常検出方法
によれば、複数の通電経路に対する異常検出を行うにあ
たり、互いに異なる通電経路の異常検出時刻を、共通の
タイマ手段に設定することができることとなる。つま
り、複数の通電経路に対する異常検出を行うにあたって
必要なタイマ手段を、従来よりも少なくすることがで
き、異常検出にかかるコストを抑制することができる。
Therefore, according to the abnormality detection method of the present invention (claim 1), when performing abnormality detection on a plurality of energized paths, it is possible to set the abnormality detection times of different energized paths to a common timer means. Becomes That is, it is possible to reduce the number of timer means required for detecting an abnormality in a plurality of energized paths as compared with the conventional case, and it is possible to suppress the cost required for the abnormality detection.

【0013】さて、請求項1記載の異常検出方法におい
て、一の通電経路(即ち、信号レベルが変化した制御信
号に対応する通電経路)の異常検出時刻をタイマ手段に
設定しようとした場合に、既に他の通電経路の異常検出
時刻がタイマ手段に設定されていたとき、当該一の通電
経路の異常検出時刻の設定をどうするかについては様々
な方法が考えられ、例えば、当該一の通電経路の異常検
出時刻の設定を中止することも考えられる。しかし、設
定を中止するのでは、各誘導性負荷の駆動タイミングの
相対関係如何で、一の通電経路に対する異常検出の回数
が少なくなってしまう可能性がある。
In the abnormality detecting method according to the first aspect, when an abnormality detection time of one energizing path (that is, an energizing path corresponding to a control signal having a changed signal level) is set in the timer means, When the abnormality detection time of the other energization path has already been set in the timer means, various methods can be considered as to how to set the abnormality detection time of the one energization path. It is also conceivable to stop setting the abnormality detection time. However, if the setting is stopped, the number of times of abnormality detection for one energizing path may be reduced depending on the relative relationship between the drive timings of the inductive loads.

【0014】そこで、請求項2の様な方法を採ると好ま
しい。即ち、他の通電経路の異常検出時刻がタイマ手段
に既に設定されているかどうかを判断した結果、既に設
定されているときには、次に、信号レベルが変化した制
御信号に対応する通電経路の異常検出時刻及び該他の通
電経路の異常検出時刻の内、何れが早いかの比較判断を
行い、この結果、早い方の異常検出時刻をタイマ手段に
設定すべきものと決定すると共に、遅い方の異常検出時
刻を、該タイマへの設定を保留すべきものと決定する。
そして、”タイマ手段に設定すべきものと決定された異
常検出時刻”をタイマ手段に設定させた状態とすると共
に、その設定した異常検出時刻での異常検出の終了
後、”タイマ手段への設定を保留すべきものと決定され
た異常検出時刻”を、タイマ手段に設定するのである。
Therefore, it is preferable to adopt a method as described in claim 2. That is, as a result of determining whether or not the abnormality detection time of another energizing path has already been set in the timer means, if it has been already set, then the abnormality detection of the energizing path corresponding to the control signal whose signal level has changed is detected. A comparison is made as to which of the time and the abnormality detection time of the other energization path is earlier, and as a result, the earlier abnormality detection time is determined to be set in the timer means, and the later abnormality detection is performed. The time is determined that the setting of the timer should be suspended.
Then, the timer means is set to “the abnormality detection time determined to be set in the timer means”, and after the abnormality detection at the set abnormality detection time is completed, the “setting to the timer means” is performed. The abnormality detection time determined to be suspended is set in the timer means.

【0015】即ち、請求項2の異常検出方法において
は、一の通電経路の異常検出時刻をタイマ手段に設定し
ようとしたときに、他の通電経路の異常検出時刻が設定
された状態であっても、一の通電経路の異常検出時刻と
他の通電経路の異常検出時刻との前後関係によって、早
い方の異常検出時刻を先にタイマ手段に設定させた状態
とし、その早い方の異常検出時刻での異常検出後に、遅
い方の異常検出時刻を設定する。そのため、当該一の通
電経路の異常検出時刻をタイマ手段に設定することが可
能となり、当該一の通電経路に対する異常検出をも確実
に行うことができる。
That is, in the abnormality detection method according to the second aspect, when the abnormality detection time of one energized path is set to the timer means, the abnormality detection time of another energized path is set. Also, according to the order of the abnormality detection time of one energization path and the abnormality detection time of the other energization path, the earlier abnormality detection time is set to the timer means first, and the earlier abnormality detection time is set. After the abnormality is detected in, the later abnormality detection time is set. Therefore, the abnormality detection time of the one energization path can be set in the timer means, and the abnormality detection of the one energization path can also be performed reliably.

【0016】また一の通電経路の異常検出時刻が、他の
通電経路の異常検出時刻に比べて早い場合であっても、
或いは遅い場合であっても、上述の如く、早い順にタイ
マ手段に設定することから、両通電経路の異常検出を共
に適切なタイミングで行うことができる。
Even if the abnormality detection time of one energization path is earlier than the abnormality detection time of another energization path,
Alternatively, even if it is late, as described above, the timers are set in order from the earliest one, so that the abnormality detection of both energization paths can be performed at appropriate timing.

【0017】ところで、請求項2の方法においては、上
述の如く、タイマ手段に設定しようとしている一の通電
経路の異常検出時刻と既に設定されている他の通電経路
の異常検出時刻との前後関係を検討する比較判断を行う
が、他の通電経路の異常検出時刻が、この比較判断を行
う前の時点で既に過ぎていたり、或いは比較判断等を行
っている間に過ぎてしまったりすることも考えられる。
こうした場合には、上記の比較判断を行うまでもなく、
他の通電経路の異常検出時刻の方が早いと考えられる
し、また、当該他の通電経路の異常検出を速やかに行う
ことができるように対処する(例えば、比較判断などの
所定の動作を省略する等)ことが必要となることも考え
られる。
In the method of claim 2, as described above, the anomaly detection time of one energization path to be set in the timer means and the anomaly detection time of another energization path that has already been set. However, it is also possible that the abnormality detection time of another energization path has already passed at the time before performing this comparison determination, or that it has passed while performing the comparison determination, etc. Conceivable.
In such a case, without making the above comparison,
It is considered that the abnormality detection time of the other energization path is earlier, and measures are taken so that abnormality detection of the other energization path can be performed promptly (for example, a predetermined operation such as comparison judgment is omitted. May be necessary.

【0018】そこで、請求項3の異常検出方法において
は、請求項2記載の異常検出方法において、上記比較判
断を行う前に、他の通電経路の異常検出時刻が現時点で
既に過ぎているか若しくは現時点から所定時間以内かど
うかを判断する。そして、上記他の通電経路の異常検出
時刻が現時点で既に過ぎているか若しくは現時点から所
定時間以内であるときには、その異常検出時刻をタイマ
手段に設定すべきと決定すると共に、信号レベルが変化
した制御信号に対応する通電経路の異常検出時刻のタイ
マ手段への設定を保留すべきと決定する。
According to a third aspect of the present invention, there is provided an abnormality detecting method according to the second aspect, wherein the abnormality detection time of another energized path has already passed at the present time, or It is determined whether it is within a predetermined time from. When the abnormality detection time of the other energization path has already passed at the present time or within a predetermined time from the current time, it is determined that the abnormality detection time should be set in the timer means, and the control in which the signal level has changed is performed. It is determined that the setting of the abnormality detection time of the energization path corresponding to the signal to the timer means should be suspended.

【0019】即ち、請求項3記載の異常検出方法によれ
ば、他の通電経路の異常検出時刻が現時点で既に過ぎて
いるか若しくは現時点から所定時間以内である場合に
は、上記比較判断を行うことなく、”どちらの異常検出
時刻の設定を保留し、どちらの異常検出時刻の設定を行
うべきか”という決定を速やかに行うことができるので
ある。そして、上記の比較判断を省略することの以外に
も、他の通電経路の異常検出を速やかに行うことができ
るように対処することが可能となる。
In other words, according to the abnormality detection method of the present invention, when the abnormality detection time of another energized path has already passed at the present time or within a predetermined time from the present time, the comparison judgment is performed. In other words, it is possible to quickly determine which of the abnormality detection times should be set pending and which of the abnormality detection times should be set. In addition to omitting the above-described comparison determination, it is possible to take measures to quickly detect an abnormality in another energized path.

【0020】なお、他の通電経路の異常検出時刻が現時
点で既に過ぎているか若しくは現時点から所定時間以内
かどうかを判断するには、緊急性の点から、まず”現時
点で既に過ぎているかどうか”を判断し、その次に、”
現時点から所定時間以内かどうか”を判断するようにす
ると好ましい。
In order to determine whether the abnormality detection time of the other energized paths has already passed at the present time or within a predetermined time from the present time, first, from the viewpoint of urgency, "whether or not the current time has already passed" And then, "
It is preferable to determine whether it is within a predetermined time from the present time.

【0021】ところで、請求項2又は3の異常検出方法
においては、”タイマ手段に設定すべきと決定された異
常検出時刻”がタイマ手段に設定され、その異常検出時
刻における異常検出終了後、”タイマ手段への設定を保
留すべきと決定された異常検出時刻”がタイマ手段に設
定されることとなるが、両異常検出時刻の時間間隔が小
さい場合、後者は、タイマ手段に設定される時点で既に
過ぎてしまっている可能性もある。そして、そうした場
合には、この異常検出時刻に行うべきであった通電経路
に対する異常検出を速やかに行う必要がある。
By the way, in the abnormality detecting method according to the second or third aspect, "an abnormality detection time determined to be set in the timer means" is set in the timer means. The abnormality detection time determined to hold the setting in the timer means is set in the timer means. However, if the time interval between the two abnormality detection times is small, the latter is the time set in the timer means. It is possible that it has already passed. In such a case, it is necessary to promptly detect an abnormality in the energized path, which should have been performed at the abnormality detection time.

【0022】そこで、請求項4記載の異常検出方法の様
に、”タイマ手段への設定を保留すべきものと決定され
た異常検出時刻”をタイマ手段に設定する前に、その異
常検出時刻が現時点で既に過ぎているかどうかを判断
し、現時点で既に過ぎているときには、その異常検出時
刻のタイマ手段への設定を中止すると共に、これに対応
する通電経路の異常検出を行うようにすると良い。
Therefore, prior to setting the "abnormality detection time determined to be deferred to the setting to the timer means" to the timer means, the abnormality detection time is set to the present value. It is preferable to determine whether or not the current time has already passed, and if the current time has already passed, stop the setting of the abnormality detection time in the timer means and detect the abnormality of the energization path corresponding to this.

【0023】この様な請求項4の異常検出方法によれ
ば、タイマ手段に先に設定された異常検出時刻での異常
検出終了時点で、”タイマ手段に設定すべきと決定され
た異常検出時刻”が既に過ぎていたとしても、できるだ
け早く、その異常検出を開始させることが可能となり、
その遅れを抑制することができる。
According to the abnormality detection method of the fourth aspect, at the end of the abnormality detection at the abnormality detection time previously set in the timer, the abnormality detection time determined to be set in the timer is set. "Has already passed, it is possible to start detecting its abnormality as soon as possible,
The delay can be suppressed.

【0024】次に、請求項5に記載の誘導性負荷駆動装
置の異常検出装置は、請求項1に記載の方法を実現する
装置であり、誘導性負荷駆動装置において、各誘導性負
荷を含む各通電経路の異常を検出するための異常検出装
置である。この請求項5の異常検出装置においては、異
常検出手段が、各誘導性負荷を含む各通電経路の通電状
態を検出可能に構成されており、その検出した通電状態
と各通電経路の断続を制御するための制御信号とに基づ
いて、各通電経路の異常を検出する。また、この異常検
出手段による異常検出を、制御信号の信号レベルの変化
タイミングから予め定められた所定時間遅延した異常検
出時刻に行うために、タイマ手段が、異常検出時刻を設
定可能に構成され、設定された異常検出時刻になるとそ
の旨を出力する。そして、タイマ設定手段が、タイマ手
段に、所定の通電経路の異常検出時刻を設定するよう構
成され、タイマ手段から異常検出時刻となった旨が出力
されると、異常検出制御手段が、異常検出手段に、所定
の通電経路の異常検出を行わせる。
Next, an abnormality detecting apparatus for an inductive load driving apparatus according to a fifth aspect is an apparatus for realizing the method according to the first aspect, wherein the inductive load driving apparatus includes each inductive load. This is an abnormality detection device for detecting an abnormality in each energization path. In the abnormality detecting device according to the fifth aspect, the abnormality detecting means is configured to be able to detect the energized state of each energizing path including each inductive load, and to control the detected energized state and intermittent of each energizing path. Abnormality of each energization path is detected based on the control signal for performing the operation. Further, in order to perform the abnormality detection by the abnormality detection means at an abnormality detection time delayed by a predetermined time from the change timing of the signal level of the control signal, the timer means is configured to be able to set the abnormality detection time, When the set abnormality detection time comes, it outputs that fact. The timer setting means is configured to set the abnormality detection time of the predetermined energization path in the timer means. When the timer means outputs the abnormality detection time, the abnormality detection control means Means for detecting an abnormality in a predetermined energization path.

【0025】そして、特に請求項5の異常検出装置にお
いては、タイマ手段に異常検出時刻が設定されると、検
出対象記憶手段が、その設定された異常検出時刻に行う
べき異常検出の対象である通電経路を記憶するよう構成
されていると共に、何れかの通電経路に対応する制御信
号の信号レベルが変化すると、設定状態判断手段が、検
出対象記憶手段の記憶内容を参照して、他の通電経路の
異常検出時刻がタイマ手段に設定されているかどうかを
判断するよう構成されている。
In particular, in the abnormality detecting device according to the fifth aspect, when an abnormality detection time is set in the timer means, the detection target storage means is a target of abnormality detection to be performed at the set abnormality detection time. When the signal level of the control signal corresponding to any one of the energization paths changes, the setting state determination unit refers to the storage content of the detection target storage unit and stores another energization path. It is configured to determine whether or not the abnormality detection time of the route is set in the timer means.

【0026】そして更に、タイマ設定手段は、設定状態
判断手段による判断の結果、他の通電経路の異常検出時
刻がタイマ手段に設定されていないときには、信号レベ
ルが変化した制御信号に対応する通電経路の異常検出時
刻をタイマ手段に設定し、異常検出制御手段は、タイマ
手段から異常検出時刻となった旨が出力されると、検出
対象記憶手段の記憶内容を参照して、異常検出手段に行
わせるべき異常検出の対象を特定する。
Further, when the timer setting means determines that the abnormality detection time of the other energized path is not set in the timer means as a result of the determination by the setting state judging means, the energized path corresponding to the control signal whose signal level has changed is set. The abnormality detection time is set in the timer means, and when the timer means outputs that the abnormality detection time has been reached, the abnormality detection control means performs the abnormality detection with reference to the contents stored in the detection target storage means. Specify the target of abnormality detection to be performed.

【0027】従って、請求項5記載の異常検出装置によ
れば、請求項1記載の方法を実現できることとなり、複
数の通電経路に対する異常検出を行うにあたって、互い
に異なる通電経路の異常検出時刻を、共通のタイマ手段
に設定することができることとなる。つまり、複数の通
電経路に対する異常検出を行うにあたって必要なタイマ
手段を、従来よりも少なくすることができ、延いては異
常検出装置にかかる製造コストを抑制することができ
る。
Therefore, according to the abnormality detecting device of the fifth aspect, the method of the first aspect can be realized, and when performing the abnormality detection on a plurality of energized paths, the abnormality detection time of the different energized paths is set to a common time. Of the timer means can be set. That is, it is possible to reduce the number of timer means required for detecting an abnormality in a plurality of energization paths as compared with the conventional example, and to suppress the manufacturing cost of the abnormality detection device.

【0028】また、請求項6の異常検出装置は、請求項
2記載の方法を実現するためのものであり、次の様に作
用する調停手段と保留対象記憶手段を備えている。即
ち、調停手段は、設定状態判断手段による判断の結果、
他の通電経路の異常検出時刻がタイマ手段に設定されて
いるときには、信号レベルが変化した制御信号に対応す
る通電経路の異常検出時刻及び他の通電経路の異常検出
時刻の内、何れが早いかを比較判断する。そして、比較
判断の結果に応じて、早い方の異常検出時刻を該タイマ
手段に設定すべきものと決定すると共に、遅い方の異常
検出時刻を該タイマへの設定を保留すべきものと決定す
る。また、保留対象記憶手段は、タイマ手段への設定を
保留すべきものと決定された異常検出時刻に対応する通
電経路を記憶する。
An abnormality detecting apparatus according to a sixth aspect is for realizing the method according to the second aspect, and includes an arbitration unit and a holding target storage unit that operate as follows. That is, the arbitration unit determines the result of the determination by the setting state determination unit,
When the abnormality detection time of another energization path is set in the timer means, which of the abnormality detection time of the energization path corresponding to the control signal whose signal level has changed and the abnormality detection time of the other energization path is earlier. Is compared. Then, according to the result of the comparison judgment, the earlier abnormality detection time is determined to be set in the timer means, and the later abnormality detection time is determined to be suspended in the timer. Further, the hold target storage means stores the energization path corresponding to the abnormality detection time determined to hold the setting of the timer means.

【0029】そして更に、タイマ設定手段は、調停手段
にてタイマ手段に設定すべきものと決定された異常検出
時刻を、タイマ手段に設定された状態とすると共に、そ
の設定した異常検出時刻での異常検出の終了後、保留対
象記憶手段に記憶されている通電経路の異常検出時刻を
タイマ手段に設定する。
Further, the timer setting means sets the abnormality detection time determined to be set to the timer means by the arbitration means to the state set in the timer means, and sets the abnormality detection time at the set abnormality detection time. After the detection is completed, the abnormality detection time of the energization path stored in the hold target storage unit is set in the timer unit.

【0030】従って、請求項6記載の異常検出装置によ
れば、請求項2記載の異常検出方法を実現できることと
なり、この異常検出方法と同様の効果を得ることができ
る。即ち、請求項6の異常検出装置においては、一の通
電経路の異常検出時刻をタイマ手段に設定しようとした
ときに、他の通電経路の異常検出時刻が設定された状態
であっても、一の通電経路の異常検出時刻と他の通電経
路の異常検出時刻との前後関係によって、早い方の異常
検出時刻を先にタイマ手段に設定させた状態とし、その
早い方の異常検出時刻での異常検出後に、遅い方の異常
検出時刻を設定する。そのため、当該一の通電経路の異
常検出時刻をタイマ手段に設定することが可能となり、
当該一の通電経路に対する異常検出を確実に行うことが
できる。
Therefore, according to the abnormality detecting device of the sixth aspect, the abnormality detecting method of the second aspect can be realized, and the same effect as the abnormality detecting method can be obtained. That is, in the abnormality detecting device according to the sixth aspect, even when the abnormality detection time of one energization path is set to the timer means, the abnormality detection time of the other energization path is set. Depending on the order of the abnormality detection time of the current path and the abnormality detection time of the other current paths, the earlier abnormality detection time is set to the timer means first, and the abnormality at the earlier abnormality detection time is set. After detection, the later abnormality detection time is set. Therefore, it is possible to set the abnormality detection time of the one energization path in the timer means,
Abnormality detection for the one energization path can be reliably performed.

【0031】また、一の通電経路の異常検出時刻が他の
通電経路の異常検出時刻に比べて早い場合であっても、
或いは遅い場合であっても、両通電経路の異常検出を共
に適切なタイミングで行うことができる。また、請求項
7の異常検出装置は、請求項3記載の方法を実現するた
めのものであり、調停手段が次のように構成されてい
る。即ち、調停手段は、前記比較判断を行う前に、他の
通電経路の異常検出時刻が現時点で既に過ぎているか若
しくは現時点から所定時間以内かどうかを判断し、異常
検出時刻が現時点で既に過ぎているか若しくは現時点か
ら所定時間以内であるときには、その異常検出時刻をタ
イマ手段に設定すべきものと決定すると共に、信号レベ
ルが変化した制御信号に対応する通電経路の異常検出時
刻をタイマ手段への設定を保留すべきものと決定する。
Further, even if the abnormality detection time of one energization path is earlier than the abnormality detection time of another energization path,
Alternatively, even in the case where the current is late, it is possible to detect abnormality of both the current supply paths at appropriate timing. An abnormality detection device according to a seventh aspect is for realizing the method according to the third aspect, and the arbitration means is configured as follows. That is, the arbitration unit determines whether the abnormality detection time of the other energization paths has already passed at the present time or is within a predetermined time from the present time before performing the comparison determination, and determines whether the abnormality detection time has already passed at the present time. Or if it is within a predetermined time from the present time, it is determined that the abnormality detection time should be set in the timer means, and the abnormality detection time of the energization path corresponding to the control signal whose signal level has changed is set in the timer means. Decide what to hold.

【0032】従って、請求項7記載の異常検出装置によ
れば、請求項3記載の異常検出方法を実現できることと
なり、この方法と同様の効果を得ることができる。即
ち、請求項7記載の異常検出装置によれば、他の通電経
路の異常検出時刻が現時点で既に過ぎているか若しくは
現時点から所定時間以内である場合には、上記比較判断
を行うことなく、”どちらの異常検出時刻の設定を保留
し、どちらの異常検出時刻の設定を行うべきか”という
決定を速やかに行うことができるのである。そして、上
記の比較判断を省略すること以外にも、他の通電経路の
異常検出を速やかに行うことができるように対処するこ
とが可能となる。
Therefore, according to the abnormality detecting device of the seventh aspect, the abnormality detecting method of the third aspect can be realized, and the same effect as this method can be obtained. That is, according to the abnormality detection device of the seventh aspect, if the abnormality detection time of the other energization path has already passed at the present time or is within a predetermined time from the current time, the above-described comparison determination is not performed, and " The determination of which abnormality detection time should be suspended and which abnormality detection time should be set can be made quickly. In addition to omitting the above-described comparison determination, it is possible to take measures to quickly detect an abnormality in another energization path.

【0033】なお、他の通電経路の異常検出時刻が現時
点で既に過ぎているか若しくは現時点から所定時間以内
かどうかを判断するには、緊急性の点から、まず”現時
点で既に過ぎているかどうか”を判断し、その次に、”
現時点から所定時間以内かどうか”を判断するようにす
ると好ましい。
In order to determine whether the abnormality detection time of another energized path has already passed at the present time or within a predetermined time from the present time, first, from the point of urgency, "whether the current time has already passed" And then, "
It is preferable to determine whether it is within a predetermined time from the present time.

【0034】また、請求項8の異常検出装置は、請求項
4記載の方法を実現するためのものであり、異常検出制
御手段が次のように構成されている。即ち、異常検出制
御手段は、保留対象記憶手段に記憶されている通電経路
の異常検出時刻がタイマ手段に設定される前に、異常検
出時刻が現時点で既に過ぎているかどうかを判断し、異
常検出時刻が現時点で過ぎているときには、その異常検
出時刻の設定を禁止すると共に、異常検出手段に、その
通電経路の異常検出を直ちに実行させる。
An abnormality detecting device according to claim 8 is for realizing the method according to claim 4, and the abnormality detecting control means is configured as follows. That is, the abnormality detection control means determines whether or not the abnormality detection time has already passed at the present time before the abnormality detection time of the energization path stored in the hold target storage means is set in the timer means. If the time has passed at the present time, the setting of the abnormality detection time is prohibited, and the abnormality detection means is caused to immediately execute the abnormality detection of the current path.

【0035】従って、請求項8記載の異常検出装置によ
れば、請求項4記載の異常検出方法を実現できることと
なり、この方法と同様の効果を得ることができる。即
ち、請求項8の異常検出装置によれば、タイマ手段に先
に設定された異常検出時刻での異常検出終了時点で、”
タイマ手段に設定すべきと決定された異常検出時刻”が
既に過ぎていたとしても、できるだけ早く、その異常検
出を開始させることが可能となり、その遅れを抑制する
ことができる。
Therefore, according to the abnormality detecting device of the eighth aspect, the abnormality detecting method of the fourth aspect can be realized, and the same effect as this method can be obtained. That is, according to the abnormality detection device of the eighth aspect, at the time of the end of the abnormality detection at the abnormality detection time set earlier in the timer means,
Even if the abnormality detection time determined to be set in the timer means has already passed, the abnormality detection can be started as soon as possible, and the delay can be suppressed.

【0036】[0036]

【発明の実施の形態】以下に、本発明の一実施例を図面
と共に説明する。図1は、本発明の異常検出装置が適用
された一実施例としての誘導性負荷駆動装置の電気的構
成を示す説明図である。この誘導性負荷駆動装置は、2
つの「誘導性負荷」(第1ソレノイドSaおよび第2ソ
レノイドSb)を駆動するものであり、これらのソレノ
イドSa,Sbを駆動制御するための電子制御装置(E
CU)2を備えている。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is an explanatory diagram showing an electrical configuration of an inductive load driving device as one embodiment to which the abnormality detection device of the present invention is applied. This inductive load driving device has two
An electronic control unit (E) for driving two “inductive loads” (the first solenoid Sa and the second solenoid Sb), and for driving and controlling these solenoids Sa and Sb.
CU) 2.

【0037】ECU2は、バッテリ12から各ソレノイ
ドSa,Sbを介してグランドに至る各通電経路上に設
けられ、各通電経路を夫々断続可能な駆動回路4a,4
bと、これら駆動回路4a,4bに対して所定のタイミ
ングで制御信号を出力することにより、各駆動回路4
a,4bに夫々対応する各通電経路を断続させ、各ソレ
ノイドSa,Sbを駆動させる制御回路6とを備えてい
る。そして、制御回路6はマイクロコンピュータから成
るものであり、各種演算処理を行うCPU8と、CPU
8にて実行されるプログラムが格納されたり、CPU8
の作業用領域に使用(後述の各種フラグを定義したりす
るなど)されたりする記憶部9と、CPU8の指令に応
じて計時可能に構成されたタイマ回路10とを備えてい
る。そして制御回路6から各駆動回路4a,4bへの制
御信号の信号レベルは、CPU8により制御されてい
る。
The ECU 2 is provided on each energizing path from the battery 12 to the ground via each of the solenoids Sa and Sb, and is capable of intermittently connecting each energizing path to the driving circuits 4a and 4a.
b, and by outputting a control signal to these driving circuits 4a and 4b at a predetermined timing,
and a control circuit 6 for driving the solenoids Sa and Sb by intermittently connecting the respective energizing paths respectively corresponding to a and 4b. The control circuit 6 is composed of a microcomputer, and includes a CPU 8 for performing various arithmetic processes,
The program executed by the CPU 8 is stored.
And a timer circuit 10 configured to be able to measure time in response to a command from the CPU 8. The signal level of a control signal from the control circuit 6 to each of the drive circuits 4a and 4b is controlled by the CPU 8.

【0038】駆動回路4a,4bは、請求項の「スイッ
チング手段」として機能するものである。即ち駆動回路
4a,4bにはスイッチング素子が内蔵され、制御回路
6からの制御信号が「High」であるときにはソレノイド
の駆動用の通電経路を接続状態とし、制御信号が「Low
」であるときには遮断状態とするよう構成されてい
る。即ち、ソレノイドを駆動状態(通電状態)にしよう
とする際には、制御回路6からは「High」の制御信号が
出力され、非駆動状態(非通電状態)にしようとする際
には、「Low 」の制御信号が出力されるのである。
The drive circuits 4a and 4b function as "switching means" in the claims. That is, a switching element is built in the drive circuits 4a and 4b, and when the control signal from the control circuit 6 is "High", the energizing path for driving the solenoid is connected, and the control signal is "Low".
Is set to the cutoff state. That is, the control circuit 6 outputs a “High” control signal when the solenoid is to be driven (energized state), and when the solenoid is to be in the non-driven state (non-energized state): A "Low" control signal is output.

【0039】一方、駆動回路4a,4bから制御回路6
へは、各ソレノイドの駆動状態(通電状態)を示す信号
(通電状態および非通電状態の何れであるかを示す信
号)であるモニタ信号が送られる。即ち駆動回路4a、
4bは、請求項の「異常検出手段」の一部としても機能
するものである。本実施例において、このモニタ信号の
信号レベルは、ソレノイドが駆動状態にあるときには
「High 」となり、駆動状態でないときには「Low 」と
なる。従ってソレノイドに異常がないとき、CPU8か
ら駆動回路4a(4b)への制御信号と当該駆動回路4
a(4b)からのモニタ信号とは、一致しているはずで
あり、これらが一致していないときには、ソレノイドの
通電経路に何らかの異常が発生していると判断すること
ができる。
On the other hand, the driving circuits 4a and 4b
A monitor signal, which is a signal indicating a drive state (energized state) of each solenoid (a signal indicating whether the solenoid is in an energized state or a non-energized state), is sent to. That is, the driving circuit 4a,
4b also functions as a part of the "abnormality detecting means" in the claims. In this embodiment, the signal level of the monitor signal is "High" when the solenoid is in the driving state, and is "Low" when the solenoid is not in the driving state. Therefore, when there is no abnormality in the solenoid, the control signal from the CPU 8 to the drive circuit 4a (4b) and the drive circuit 4
The monitor signal from a (4b) should match, and when these do not match, it can be determined that some abnormality has occurred in the solenoid energization path.

【0040】そして、制御信号が「High」であるにも拘
わらずモニタ信号が「Low 」であるときには、ソレノイ
ドの短絡異常(ソレノイドの両端が短絡した状態)が発
生したものと推定できると共に、制御信号が「Low 」で
あるにも拘わらずモニタ信号が「High」であるときに
は、ソレノイドの断線異常(ソレノイドが断線した状
態)が発生したものと推定できるように、駆動回路4
a,4bは構成されている。そのため、本実施例の説明
において、制御信号が「High」である状態にて行う異常
検出を「短絡異常検出」と記し、制御信号が「Low 」で
ある状態にて行う異常検出を「断線異常検出」と記すも
のとする。
When the monitor signal is "Low" in spite of the control signal being "High", it can be estimated that a short-circuit abnormality of the solenoid (a state where both ends of the solenoid are short-circuited) has occurred. When the monitor signal is "High" in spite of the signal being "Low", the drive circuit 4 is operated so that it can be estimated that a solenoid disconnection abnormality (a state in which the solenoid is disconnected) has occurred.
a and 4b are configured. Therefore, in the description of the present embodiment, abnormality detection performed when the control signal is “High” is referred to as “short-circuit abnormality detection”, and abnormality detection performed when the control signal is “Low” is referred to as “disconnection abnormality”. Detection ”.

【0041】タイマ回路10は、請求項の「タイマ手
段」として機能するものであり、制御回路6に内蔵され
ているクロック発生回路(図示せず)からのクロック信
号に同期して動作するアップカウンタとして構成されて
いる。即ち、タイマ回路10においては、所定時間毎
(例えば1μs)に入力されるクロック信号の数をカウ
ントすることによって、そのカウント値Tcntが、HEX
値で$0000から$FFFFまで増加する。そしてカ
ウント値Tcntは、$FFFFになると、次のタイミング
(即ち、次のクロック信号入力)にて$0000に戻さ
れる。
The timer circuit 10 functions as a "timer means" of the present invention, and operates in synchronization with a clock signal from a clock generation circuit (not shown) incorporated in the control circuit 6. Is configured as That is, the timer circuit 10 counts the number of clock signals input every predetermined time (for example, 1 μs), so that the count value Tcnt is HEX.
The value increases from $ 0000 to $ FFFF. Then, when the count value Tcnt becomes $ FFFF, it is returned to $ 0000 at the next timing (that is, the next clock signal input).

【0042】カウント値Tcntが$FFFFから$000
0へ移行する際(即ち所謂オーバーフローが発生した
際)、タイマ回路10からは、CPU8に対して割込信
号が出力される。そして後述の様に、この割込信号が出
力されたとき所定の条件(割込許可フラグ=「1」)が
満たされていれば、CPU8では第1ソレノイドSa又
は第2ソレノイドSbの異常検出を選択的に実行するた
めのTCNTオーバーフロー割込処理が起動される。
The count value Tcnt increases from $ FFFF to $ 000
When shifting to 0 (that is, when a so-called overflow occurs), the timer circuit 10 outputs an interrupt signal to the CPU 8. As described later, if a predetermined condition (interrupt permission flag = “1”) is satisfied when the interrupt signal is output, the CPU 8 determines that the first solenoid Sa or the second solenoid Sb is abnormal. A TCNT overflow interrupt process for selective execution is activated.

【0043】また、このタイマ回路10は、CPU8か
らの入力によって、カウント値Tcntを任意の値にセット
できるよう構成されている。即ちCPU8は、タイマ回
路10のカウント値Tcntを適切な値にセットすることに
より、タイマ回路10から割込信号が入力されるタイミ
ング(時刻)を設定することができることとなる。つま
り、CPU8は、TCNTオーバーフロー割込処理の起
動タイミング、延いては、異常検出を行うタイミング
(異常検出時刻)を設定することができるのである。ま
たタイマ回路のカウント値Tcntは、CPU8により参照
可能となっている。
The timer circuit 10 is configured so that the count value Tcnt can be set to an arbitrary value by an input from the CPU 8. That is, the CPU 8 can set the timing (time) at which the interrupt signal is input from the timer circuit 10 by setting the count value Tcnt of the timer circuit 10 to an appropriate value. In other words, the CPU 8 can set the activation timing of the TCNT overflow interrupt processing, and further, the timing of performing abnormality detection (abnormality detection time). The count value Tcnt of the timer circuit can be referred to by the CPU 8.

【0044】次に、上記の如く構成された本実施例の誘
導性負荷駆動装置において、CPU8にて実行される処
理について説明する。なお、この誘導性負荷駆動装置を
構成するECU2は、車両に搭載されているものであ
り、異常検出に関する処理を行っていないときは、メイ
ンルーチンにて、車両を制御するための各種処理を行っ
ている。
Next, the processing executed by the CPU 8 in the inductive load driving device of the present embodiment configured as described above will be described. The ECU 2 included in the inductive load driving device is mounted on the vehicle, and performs various processes for controlling the vehicle in the main routine when the process related to abnormality detection is not performed. ing.

【0045】まず図2は、第1ソレノイドSaの通電経
路に設けられた駆動回路4aに出力される制御信号(以
下、「Sa制御信号」という)の信号レベルが変化する
毎に起動されるSa出力割込処理を示すフローチャート
である。なお、この処理は、Sa制御信号の信号レベル
が変化しても、他の処理(例えば、後述のTCNTオー
バーフロー割込処理等)が実行中であった場合には、そ
の実行が終了した後に開始される。
First, FIG. 2 shows a state in which the control signal Sa (hereinafter referred to as "Sa control signal") output to the drive circuit 4a provided in the energization path of the first solenoid Sa is activated every time the signal level changes. It is a flowchart which shows an output interruption process. Note that, even if the signal level of the Sa control signal changes, if another process (for example, a TCNT overflow interrupt process described later) is being executed, the process is started after the execution is completed. Is done.

【0046】図2に示す様に、このSa出力割込処理が
起動されると、まずS5にて、Sa実行フラグに「0」
を設定(即ちリセット)する。Sa異常検出実行フラグ
とは、Sa異常検出時刻がタイマ回路10にセットされ
た(即ち、そのSa異常検出時刻にSa異常検出処理
(後述)が実行されるよう予約された)状態であること
を示すフラグである。また、Sa異常検出時刻とは、第
1ソレノイドSaの通電経路の異常を検出すべきタイミ
ング(即ちSa異常検出処理を行うべきタイミング)で
ある。
As shown in FIG. 2, when the Sa output interrupt processing is started, first, in step S5, the Sa execution flag is set to "0".
Is set (ie, reset). The Sa abnormality detection execution flag indicates that the Sa abnormality detection time is set in the timer circuit 10 (that is, the state is reserved at the Sa abnormality detection time to execute the Sa abnormality detection process (described later)). It is a flag to indicate. Further, the Sa abnormality detection time is a timing at which an abnormality in the energization path of the first solenoid Sa should be detected (ie, a timing at which the Sa abnormality detection processing should be performed).

【0047】このS5にて、Sa異常検出実行フラグを
リセットするのは、次の理由による。即ち、既にSa異
常検出時刻がタイマ回路10にセットされていたとして
も、そのSa異常検出時刻が到来する前に、このSa出
力割込処理が新たに起動された場合には、Sa異常検出
時刻が改めて算出される。そして、タイマ回路10に
は、その新たなSa異常検出時刻がセットされ(後述の
S130にて)、旧のSa異常検出時刻は消去されるこ
ととなるためである。
The reason why the Sa abnormality detection execution flag is reset in S5 is as follows. That is, even if the Sa abnormality detection time has already been set in the timer circuit 10, if the Sa output interrupt process is newly activated before the Sa abnormality detection time arrives, the Sa abnormality detection time Is calculated again. Then, the new Sa abnormality detection time is set in the timer circuit 10 (at S130 to be described later), and the old Sa abnormality detection time is deleted.

【0048】S5の後、次に、Sa制御信号が「High」
及び「Low 」の何れであるかを判断する(S10)。こ
こで、Sa制御信号が「High」である場合には、第1ソ
レノイドSaの異常検出として「短絡異常検出」を行う
ものと決定し、短絡異常検出を行うためのSa異常検出
時刻を算出する(S20)と共に、Sa検出信号フラグ
に「1(High)」を設定する(S30)。
After S5, next, the Sa control signal becomes "High".
And "Low" (S10). Here, when the Sa control signal is “High”, it is determined that “short-circuit abnormality detection” is to be performed as the abnormality detection of the first solenoid Sa, and the Sa abnormality detection time for performing the short-circuit abnormality detection is calculated. At the same time as (S20), "1 (High)" is set to the Sa detection signal flag (S30).

【0049】即ち、S20では、短絡異常検出を行うべ
きタイミング(Sa異常検出時刻)でタイマ回路10か
ら割込信号が出力されるようにするために、そのタイマ
回路10のカウント値Tcntに設定すべき値を算出するの
である。制御回路6の記憶部9には、各ソレノイドS
a,Sb毎に、「短絡異常検出を、制御信号の立ち上が
りからどの程度の遅延(短絡検出時間)をもって行うか
を示すデータ」が格納されており、CPU8は、このデ
ータに基づいて、タイマ回路10のカウント値Tcntとし
て設定すべき値を算出する。なお、第1ソレノイドSa
に対応する短絡検出時間を「Sa短絡検出時間」と記
し、第2ソレノイドSbに対応する短絡検出時間を「S
b短絡検出時間」と記す。
That is, in S20, the count value Tcnt of the timer circuit 10 is set so that the interrupt signal is output from the timer circuit 10 at the timing when the short-circuit abnormality detection should be performed (Sa abnormality detection time). The power value is calculated. The storage unit 9 of the control circuit 6 stores each solenoid S
For each of a and Sb, "data indicating how much delay (short-circuit detection time) is to be performed from the rise of the control signal to detect a short-circuit abnormality" is stored, and the CPU 8 determines a timer circuit based on the data. A value to be set as the count value Tcnt of 10 is calculated. The first solenoid Sa
Is referred to as “Sa short detection time”, and the short detection time corresponding to the second solenoid Sb is referred to as “S short detection time”.
b Short-circuit detection time. "

【0050】また、Sa検出信号フラグとは、Sa異常
検出時刻を計算した時点におけるSa制御信号の状態を
表す(或いは記憶する)ためのフラグであり、Sa検出
信号が「High」のときには「1(High)」が設定され、
Sa検出信号が「Low 」のときには「0(Low )」が設
定される。
The Sa detection signal flag is a flag for indicating (or storing) the state of the Sa control signal at the time when the Sa abnormality detection time is calculated. When the Sa detection signal is "High", "1" is set. (High) "
When the Sa detection signal is "Low", "0 (Low)" is set.

【0051】一方、S10にて、Sa制御信号が「Low
」である場合には、第1ソレノイドSaの異常検出と
して「断線異常検出」を行うものと決定し、断線異常の
検出を行うためのSa異常検出時刻を算出する(S4
0)と共に、Sa検出信号フラグに「0」を設定する
(S50)。
On the other hand, in S10, the Sa control signal becomes "Low".
, It is determined that “disconnection abnormality detection” is to be performed as the abnormality detection of the first solenoid Sa, and the Sa abnormality detection time for detecting the disconnection abnormality is calculated (S4).
At the same time, the Sa detection signal flag is set to "0" (S50).

【0052】即ち、S40では、断線異常検出を行うべ
きタイミング(Sa異常検出時刻)でタイマ回路10か
ら割込信号が出力されるよう、タイマ回路10のカウン
ト値Tcntに設定すべき値を算出するのである。制御回路
6の記憶部9には、各ソレノイドSa,Sbについて、
「断線異常検出を、制御信号の立ち下がりからどの程度
の遅延(断線検出時間)をもって行うかを示すデータ」
が格納されており、CPU8は、このデータに基づい
て、タイマ回路10のカウント値Tcntとして設定すべき
値を算出する。なお、第1ソレノイドSaに対応する断
線検出時間を「Sa断線検出時間」と記し、第2ソレノ
イドSbに対応する断線検出時間を「Sb断線検出時
間」と記す。また、Sa異常検出時刻をタイマ回路10
に設定するために、カウント値Tcntとして設定する値を
「TcntSa」と記し、Sb異常検出時刻をタイマ回路10
に設定するために、カウント値Tcntとして設定する値を
「TcntSb」と記す。
That is, in S40, a value to be set as the count value Tcnt of the timer circuit 10 is calculated so that the interrupt signal is output from the timer circuit 10 at the timing when the disconnection abnormality is to be detected (Sa abnormality detection time). It is. In the storage unit 9 of the control circuit 6, for each of the solenoids Sa and Sb,
"Data indicating how much delay (disconnection detection time) from the fall of the control signal for disconnection abnormality detection"
Is stored, and the CPU 8 calculates a value to be set as the count value Tcnt of the timer circuit 10 based on the data. The disconnection detection time corresponding to the first solenoid Sa is referred to as “Sa disconnection detection time”, and the disconnection detection time corresponding to the second solenoid Sb is referred to as “Sb disconnection detection time”. In addition, the time when the Sa abnormality is detected is determined by the timer circuit 10.
The value set as the count value Tcnt is described as “TcntSa”, and the Sb abnormality detection time is set in the timer circuit 10.
The value to be set as the count value Tcnt is set as “TcntSb”.

【0053】つまり、S10〜S50の処理において
は、誘導性負荷を駆動するための制御信号に応じ、当該
誘導性負荷の通電経路の異常検出として、”短絡異常”
及び”断線異常”の何れの検出を行うかを決定して、そ
の異常検出を行うべきタイミング(異常検出時刻)を決
定するのである。
In other words, in the processing of S10 to S50, "short-circuit abnormality" is detected in accordance with a control signal for driving the inductive load as abnormality detection of the current path of the inductive load.
Then, it is determined which of "wire disconnection abnormality" is to be detected, and the timing (error detection time) at which the abnormality should be detected is determined.

【0054】この後、次にSb異常検出実行フラグが
「0」及び「1」の何れであるかを判断する(S6
0)。Sb異常検出実行フラグとは、Sb異常検出時刻
がタイマ回路10にセットされて、そのSb異常検出時
刻にSb異常検出処理(後述)が実行されるよう予約さ
れた状態であること(このとき、フラグの値は「1」)
を示すフラグである。また、Sb異常検出時刻とは、第
2ソレノイドSbの通電経路の異常を検出すべきタイミ
ング(Sb異常検出処理を実行すべきタイミング)であ
る。
Thereafter, it is determined whether the Sb abnormality detection execution flag is "0" or "1" (S6).
0). The Sb abnormality detection execution flag is a state in which the Sb abnormality detection time is set in the timer circuit 10 and reserved to execute the Sb abnormality detection process (described later) at the Sb abnormality detection time (at this time, The flag value is "1")
Is a flag that indicates The Sb abnormality detection time is a timing at which an abnormality in the energization path of the second solenoid Sb should be detected (a timing at which the Sb abnormality detection processing should be executed).

【0055】即ち、Sb異常検出実行フラグが「0」で
ある場合には、Sb異常検出時刻がタイマ回路10にセ
ットされた状態ではないと判断することができる。そこ
で、S60にて、Sb異常検出実行フラグ=「0」と判
断された場合には、S130に移行し、上記S20又は
40にて算出した値TcntSaを、タイマ回路10のカウン
ト値Tcntとして設定する。
That is, when the Sb abnormality detection execution flag is “0”, it can be determined that the Sb abnormality detection time is not set in the timer circuit 10. Therefore, when it is determined in S60 that the Sb abnormality detection execution flag is “0”, the process proceeds to S130, and the value TcntSa calculated in S20 or S40 is set as the count value Tcnt of the timer circuit 10. .

【0056】こうして、Sa異常検出時刻をタイマ回路
10にセットした後(S130)、S140、150お
よび160を経て、当該Sa出力割込処理を終了し、メ
インルーチンに戻る。即ち、まずS140にて、Sa異
常検出実行フラグに「1」をセットする共に、Sa異常
検出待機フラグを「0」とする。Sa異常検出待機フラ
グとは、「タイマ回路10にSa異常検出時刻を設定す
ること(即ちSa異常検出処理の予約)」を保留した状
態であることを示すためのフラグである。上記S130
にてタイマ回路10にSa異常検出時刻を設定したの
で、このS140においては、このSa異常検出待機フ
ラグをリセットしているのである。
After the Sa abnormality detection time is set in the timer circuit 10 (S130), the process goes to S140, S150, S160, and S160 to terminate the Sa output interrupt processing and return to the main routine. That is, first, in S140, the Sa abnormality detection execution flag is set to “1”, and the Sa abnormality detection standby flag is set to “0”. The Sa abnormality detection standby flag is a flag indicating that the state of “setting the Sa abnormality detection time in the timer circuit 10 (that is, reservation of the Sa abnormality detection process)” is on hold. S130 above
Since the Sa abnormality detection time is set in the timer circuit 10 in step S140, the Sa abnormality detection standby flag is reset in S140.

【0057】そして、S150では、割込許可フラグに
「1」をセットして、タイマ回路10からの割込信号に
よる割込処理(TCNTオーバーフロー割込処理)の起
動を許可する。割込許可フラグとは、タイマ回路10か
らの割込信号による割込処理を許可した状態(この場合
「1」)か否かを示すフラグである。
In S150, "1" is set to the interrupt permission flag, and the activation of the interrupt process (TCNT overflow interrupt process) by the interrupt signal from the timer circuit 10 is permitted. The interrupt permission flag is a flag indicating whether or not an interrupt process by an interrupt signal from the timer circuit 10 is permitted (in this case, “1”).

【0058】また、S160においては、タイマ割込フ
ラグを「0」とする。タイマ割込フラグは、タイマ回路
10からの割込信号の入力がされたかかどうかを示すた
めのものであって、タイマ回路10からCPU8に対し
て割込信号が入力されると自動的に立てられるフラグで
ある。CPU8は、このタイマ割込フラグが「0」から
「1」に変わると、タイマ回路10からの割込信号の入
力があったことを認識する。つまり上記S130にてタ
イマ回路10にSa異常検出時刻を設定したので、その
設定時刻にタイマ回路10から割込信号が入力されるの
を待つべく、このS160にて、タイマ割込フラグをリ
セットしているのである。
At S160, the timer interrupt flag is set to "0". The timer interrupt flag is used to indicate whether or not an interrupt signal has been input from the timer circuit 10, and is automatically set when an interrupt signal is input from the timer circuit 10 to the CPU 8. Is the flag to be used. When the timer interrupt flag changes from “0” to “1”, the CPU 8 recognizes that an interrupt signal has been input from the timer circuit 10. That is, since the Sa abnormality detection time is set in the timer circuit 10 in S130, the timer interrupt flag is reset in S160 in order to wait for an interrupt signal to be input from the timer circuit 10 at the set time. -ing

【0059】さて、上記S60にて、Sb異常検出実行
フラグ=「1」と判断された場合には、S70に移行
し、タイマ回路10のカウント値Tnctの値と「$800
0」とを比較することによって、第2ソレノイドSbに
ついての異常検出時刻が過ぎているかどうかを判断す
る。
If it is determined in S60 that the Sb abnormality detection execution flag is "1", the flow shifts to S70, where the value of the count value Tnct of the timer circuit 10 and "$ 800"
By comparing with “0”, it is determined whether the abnormality detection time for the second solenoid Sb has passed.

【0060】即ち本実施例の構成においては、カウント
値Tcntが「$8000」から「$FFFF」に至り「$
0000」に戻るまでの時間は上述の「短絡検出時間」
や「断線検出時間」よりも長くなっており、CPU8に
よってカウント値Tcntとして設定される値は常に「$8
000」以上である。つまり、タイマ回路10において
は、「$8000」よりも小さい値がカウント値Tcntと
して設定されることはない。
That is, in the configuration of this embodiment, the count value Tcnt changes from “$ 8000” to “$ FFFF” and “$ FFFF”.
0000 ”is the above“ short circuit detection time ”
And the value set as the count value Tcnt by the CPU 8 is always “$ 8
000 "or more. That is, in the timer circuit 10, a value smaller than "$ 8000" is not set as the count value Tcnt.

【0061】そのため、Sb異常検出実行フラグが
「1」であり(S60:「1」)、且つ、タイマ回路1
0のカウント値Tcnt<「$8000」である場合(S7
0:YES)には、現時点で既にSb異常検出時刻が過
ぎていることが分かる。そして、この場合には、当該S
a出力割込処理を速やかに終了させ、直ちに第2ソレノ
イドSbについての異常検出が行われる必要がある。
Therefore, the Sb abnormality detection execution flag is "1" (S60: "1"), and the timer circuit 1
When the count value Tcnt of 0 <“$ 8000” (S7
0: YES), it can be seen that the Sb abnormality detection time has already passed at this time. Then, in this case, the S
It is necessary to immediately terminate the output interrupt processing and immediately detect the abnormality of the second solenoid Sb.

【0062】そこで、S70において、タイマ回路10
のカウント値Tcntが「$8000」より小さいと判断さ
れた場合には、タイマ回路10へのSa異常検出時刻の
セットを保留するものと決定し、S170に移行して、
Sa異常検出待機フラグに「1」をセットした後、当該
Sa出力割込処理を一旦終了する。これにより、後述の
TCNTオーバーフロー割込処理を速やかに起動させる
ことが可能となる。
Therefore, in S70, the timer circuit 10
Is determined to be smaller than "$ 8000", it is determined that the setting of the Sa abnormality detection time in the timer circuit 10 is to be suspended, and the process proceeds to S170.
After setting the Sa abnormality detection waiting flag to “1”, the Sa output interrupt processing is temporarily ended. This makes it possible to quickly activate a TCNT overflow interrupt process described later.

【0063】上記S70に戻って説明を続ける。一方、
タイマ回路10のカウント値Tcnt≧「$8000」であ
る場合(S70:NO)には、現時点(S70の実行時
点)では、まだSb異常検出時刻が過ぎていないことが
分かる。しかし、極めて近い未来(例えば、10μs以
内)に、Sb異常検出時刻が到来する場合には、当該S
a出力割込処理を速やかに終了させ、直ちに第2ソレノ
イドSbについての異常検出が行われる必要がある。
Returning to S70, the description will be continued. on the other hand,
If the count value Tcnt of the timer circuit 10 is equal to or larger than "$ 8000" (S70: NO), it is understood that the Sb abnormality detection time has not yet passed at the present time (the execution time of S70). However, if the Sb abnormality detection time arrives in a very near future (for example, within 10 μs),
It is necessary to immediately terminate the output interrupt processing and immediately detect the abnormality of the second solenoid Sb.

【0064】そこで、タイマ回路10のカウント値Tcnt
≧「$8000」であった場合(S70:NO)には、
更にS80にて、そのカウント値Tcntに所定値αを加え
た値(即ち、Tcnt+α)が、「$10000(=$FF
FF+$0001)」以上であるかどうかを判断する。
このαは、タイマ回路10のカウント値Tcntが、所定時
間(本実施例では10μs)の間に増加する値である。
即ち、S80では、現時点から予め定められた所定時間
(10μs)内に、Sb異常検出時刻が到来するかどう
かを判断しているのである。
Therefore, the count value Tcnt of the timer circuit 10
If ≧ “$ 8000” (S70: NO),
Further, in S80, the value obtained by adding the predetermined value α to the count value Tcnt (that is, Tcnt + α) is “$ 10000 (= $ FF)
FF + $ 0001) ”is determined.
This α is a value by which the count value Tcnt of the timer circuit 10 increases during a predetermined time (10 μs in this embodiment).
That is, in S80, it is determined whether or not the Sb abnormality detection time has arrived within a predetermined time (10 μs) predetermined from the present time.

【0065】そして所定時間内にSb異常検出時刻とな
る(即ちカウント値Tcnt+α≧$10000)と判断さ
れた場合(S80:YES)には、上述のS170に移
行して、Sa異常検出待機フラグに「1」をセットした
後、当該Sa出力割込処理を一旦終了する。
If it is determined that the Sb abnormality detection time has come within the predetermined time (that is, the count value Tcnt + α ≧ $ 10000) (S80: YES), the flow shifts to S170, where the Sa abnormality detection standby flag is set. After setting “1”, the Sa output interrupt processing is temporarily ended.

【0066】一方、カウント値Tcnt+α<$10000
と判断された(S80:NO)場合には、Sb異常検出
時刻は、それほど早くは到来しないことが分かる。そこ
で、この場合には、第1ソレノイドSaおよび第2ソレ
ノイドSbについての異常検出時刻(即ちSa異常検出
時刻およびSb異常検出時刻)の内、どちらの異常検出
時刻が先に到来するかを判断する(S90)。この判断
は、現時点におけるタイマ回路10のカウント値Tcnt
と、Sa異常検出時刻を設定するために上記S20又は
40にて算出した値TcntSaとを比較することによって行
われる。具体的には、現時点における値Tcntの方が大き
いとき(Tcnt>TcntSa)には、Sb異常検出時刻の方が
早いと判断され(S90:YES)、S20又は40に
て算出した値の方が大きいとき(Tcnt≦TcntSa)には、
Sa異常検出時刻の方が早いと判断される(S90:N
O)ことになる。
On the other hand, the count value Tcnt + α <$ 10000
(S80: NO), it can be understood that the Sb abnormality detection time does not arrive so early. Therefore, in this case, it is determined which of the abnormality detection times of the first solenoid Sa and the second solenoid Sb (that is, the Sa abnormality detection time and the Sb abnormality detection time) comes first. (S90). This determination is based on the count value Tcnt of the timer circuit 10 at the present time.
And the value TcntSa calculated in S20 or S40 to set the Sa abnormality detection time. Specifically, when the value Tcnt at the present time is larger (Tcnt> TcntSa), it is determined that the Sb abnormality detection time is earlier (S90: YES), and the value calculated in S20 or 40 is larger. When it is large (Tcnt ≦ TcntSa),
It is determined that the Sa abnormality detection time is earlier (S90: N
O)

【0067】ここで、Sa異常検出時刻の方が早い場合
(S90:NO)には、現在タイマ回路10に設定され
ているSb異常検出時刻に替えて、Sa異常検出時刻を
設定するべく、S100および110を経て、上記S1
30に移行する。まず、S100においては、Sb異常
検出実行フラグに「0」を設定すると共に、Sb異常検
出待機フラグに「1」を設定する。Sb異常検出待機フ
ラグとは、「タイマ回路10にSb異常検出時刻をセッ
トすること(即ち、Sb異常検出処理の予約)」を保留
した状態であること(このとき、フラグは「1」)を示
すフラグである。
If the Sa abnormality detection time is earlier (S90: NO), S100 is set in order to set the Sa abnormality detection time in place of the Sb abnormality detection time currently set in the timer circuit 10. And 110, the above S1
Move to 30. First, in S100, the Sb abnormality detection execution flag is set to “0”, and the Sb abnormality detection standby flag is set to “1”. The Sb abnormality detection standby flag is a state in which “setting of Sb abnormality detection time in the timer circuit 10 (that is, reservation of Sb abnormality detection processing)” is suspended (at this time, the flag is “1”). It is a flag to indicate.

【0068】そしてS110においては、Sb異常検出
時刻をタイマ回路10にセットするために、そのカウン
ト値Tcntとして設定すべき値TcntSbを計算する。即ち、
後述の如く(図3:S270)、Sb異常検出時刻は、
第1ソレノイドSaについての異常検出(Sa異常検出
処理)の後、タイマ回路10に設定されることになるの
で、そのときにタイマ回路10のカウント値Tcntとして
設定すべき値TcntSbを改めて計算しておくのである(具
体的には、現時点におけるカウント値TcntおよびS20
又は40にて算出した値TcntSaに基づき算出される)。
In S110, a value TcntSb to be set as the count value Tcnt is calculated in order to set the Sb abnormality detection time in the timer circuit 10. That is,
As described later (FIG. 3: S270), the Sb abnormality detection time is
After the abnormality detection (Sa abnormality detection processing) for the first solenoid Sa, the timer T is set in the timer circuit 10. At that time, a value TcntSb to be set as the count value Tcnt of the timer circuit 10 is calculated again. (Specifically, the current count value Tcnt and S20
Or, it is calculated based on the value TcntSa calculated in 40).

【0069】一方、Sb異常検出時刻の方が早い場合
(S90:YES)には、S120を経て、上記S17
0に移行する。S120においては、Sa異常検出時刻
をタイマ回路10に設定するために、そのカウント値Tc
ntとして設定すべき値TcntSaを計算する。即ち、後述の
如く(図3:S370)、Sa異常検出時刻は、第2ソ
レノイドSbについての異常検出(Sb異常検出処理)
の後、タイマ回路10に設定されることになるので、そ
の際にタイマ回路10のカウント値Tcntとして設定すべ
き値TcntSaを、再計算しておくのである(具体的には、
現時点におけるカウント値TcntおよびS20又はS40
にて算出した値TcntSaに基づき算出される)。
On the other hand, if the Sb abnormality detection time is earlier (S90: YES), the process goes through S120 to S17.
Move to 0. In S120, the count value Tc is set in order to set the Sa abnormality detection time in the timer circuit 10.
Calculate the value TcntSa to be set as nt. That is, as described later (FIG. 3: S370), the Sa abnormality detection time is determined by the abnormality detection of the second solenoid Sb (Sb abnormality detection processing).
After that, the value TcntSa to be set as the count value Tcnt of the timer circuit 10 is recalculated at that time (specifically,
Count value Tcnt at present and S20 or S40
Is calculated based on the value TcntSa calculated in (2).

【0070】なお、上述の様に、Sa出力割込処理は、
第1ソレノイドSaに対応する制御信号(Sa制御信
号)の切り替わりタイミング毎(即ち信号レベルの変化
タイミング毎)に起動されるが、第2ソレノイドSbの
通電経路に設けられた駆動回路4bに出力される制御信
号(Sb制御信号)の切り替わりタイミング毎において
も、Sa出力割込処理と同様な処理(Sb出力割込処
理)が行われる。
As described above, the Sa output interrupt processing is
It is started at each switching timing of the control signal (Sa control signal) corresponding to the first solenoid Sa (that is, at each timing of changing the signal level), but is output to the drive circuit 4b provided in the energization path of the second solenoid Sb. Also at each switching timing of the control signal (Sb control signal), the same process as the Sa output interrupt process (Sb output interrupt process) is performed.

【0071】このSb出力割込処理は、Sa出力割込処
理における第1ソレノイドSaと第2ソレノイドSbと
を入れ替えた処理である。即ち、Sb出力割込処理は、
Sa出力割込処理において、Sa制御信号⇔Sb制御信
号、Sa異常検出時刻⇔Sb異常検出時刻、Sa異常検
出実行フラグ⇔Sb異常検出実行フラグ、Sa異常検出
待機フラグ⇔Sb異常検出待機フラグ、Sa検出信号フ
ラグ⇔Sb検出信号フラグというように、「Sa」と
「Sb」とを入れ替えることによって容易に説明される
ものである。そのため、Sb出力割込処理については、
そのフローチャートの図示および説明は省略する。
The Sb output interruption process is a process in which the first solenoid Sa and the second solenoid Sb are replaced in the Sa output interruption process. That is, the Sb output interrupt processing is
In the Sa output interruption processing, the Sa control signal⇔Sb control signal, the Sa abnormality detection time⇔Sb abnormality detection time, the Sa abnormality detection execution flag⇔Sb abnormality detection execution flag, the Sa abnormality detection standby flag⇔Sb abnormality detection standby flag, the Sa This is easily explained by exchanging "Sa" and "Sb", such as "detection signal flag @ Sb detection signal flag". Therefore, regarding the Sb output interrupt processing,
Illustration and explanation of the flowchart are omitted.

【0072】ここで、図2のSa(Sb)出力割込処理
に関連して、請求項との対応をまとめると、以下の通り
である。まずSa(Sb)制御信号を検出して、それに
応じた動作をとる処理(S10,S30,S50)が、
「異常検出手段」として機能する。 また、Sa(S
b)異常検出実行フラグおよびこれらのフラグの値を操
作(セット/リセット)する処理(S5,S100,S
140)が、「検出対象記憶手段」として機能する。ま
た、Sa(Sb)異常検出実行フラグを参照する処理
(S60)が、「設定状態判断手段」として機能し、S
a(Sb)異常検出時刻をタイマ回路10に設定する処
理(S130)や、カウンタ値として設定すべき値を算
出する処理(S20,S40,S110,S120)
が、「タイマ設定手段」として機能する。
Here, the correspondence with the claims in relation to the Sa (Sb) output interrupt processing of FIG. 2 is summarized as follows. First, a process (S10, S30, S50) of detecting a Sa (Sb) control signal and taking an operation corresponding thereto is performed.
It functions as "abnormality detecting means". In addition, Sa (S
b) Process for operating (set / reset) the abnormality detection execution flag and the value of these flags (S5, S100, S
140) function as “detection target storage means”. Further, the processing (S60) of referring to the Sa (Sb) abnormality detection execution flag functions as a "setting state determination means",
a (Sb) The process of setting the abnormality detection time in the timer circuit 10 (S130) and the process of calculating the value to be set as the counter value (S20, S40, S110, S120)
Function as “timer setting means”.

【0073】また、S70,S80,S90の処理が、
「調停手段」として機能し、また、Sa(Sb)異常検
出待機フラグおよびこれらのフラグの値を操作(セット
/リセット)する処理(S100,S140,S17
0)が、「保留対象記憶手段」として機能する。
The processing of S70, S80 and S90 is
Processes (sets / resets) that function as "arbitration means" and operate (set / reset) the Sa (Sb) abnormality detection standby flag and the values of these flags.
0) functions as a “holding target storage unit”.

【0074】次に図3は、タイマ回路10にてオーバー
フローが発生し、タイマ回路10からCPU8に対して
割込信号が入力されると(即ち、上述のタイマ割込フラ
グが「0」から「1」に変化すると)起動されるTCN
Tオーバーフロー割込処理を示すフローチャートであ
る。なお、この処理は、タイマ回路10からの割込信号
が入力されても、他の処理(例えば、上記Sa出力割込
処理やSb出力割込処理など)が実行中であった場合に
は、その実行が終了した後に開始される。また、この処
理は、割込許可フラグが「1」である場合に起動され、
「0」の場合には起動されない。
Next, FIG. 3 shows that when an overflow occurs in the timer circuit 10 and an interrupt signal is input from the timer circuit 10 to the CPU 8 (that is, the timer interrupt flag is changed from "0" to "0"). TCN activated when it changes to "1"
It is a flowchart which shows T overflow interrupt processing. It should be noted that, even if an interrupt signal is input from the timer circuit 10, if another process (for example, the Sa output interrupt process or the Sb output interrupt process) is being executed, Triggered after its execution has finished. This process is started when the interrupt permission flag is “1”,
If it is "0", it will not be started.

【0075】図3に示す様に、TCNTオーバーフロー
割込処理が起動されると、まずS210にて、Sa異常
検出実行フラグが「1」であるかどうかを判断する。S
a異常検出実行フラグ=「1」である場合(S210:
YES)には、当該TCNTオーバーフロー割込処理
が、Sa異常検出時刻における割込信号によって起動さ
れたものと分かることから、S230へ進み、第1ソレ
ノイドSaに異常があるかどうかを判断するためのSa
異常検出処理(図4と共に後述する)を実行する。
As shown in FIG. 3, when the TCNT overflow interrupt processing is started, it is first determined in S210 whether or not the Sa abnormality detection execution flag is "1". S
a When the abnormality detection execution flag is "1" (S210:
YES), it is determined that the TCNT overflow interrupt processing has been started by the interrupt signal at the Sa abnormality detection time, so the process proceeds to S230 to determine whether the first solenoid Sa has an abnormality. Sa
An abnormality detection process (described later with reference to FIG. 4) is executed.

【0076】一方、Sa異常検出実行フラグが「1」で
ない場合(S210:NO)には、S220へ移行し
て、Sb異常検出実行フラグ=「1」で有るかどうかを
判断する。そして、Sb異常検出実行フラグ=「1」で
ある場合(S220:YES)には、当該TCNTオー
バーフロー割込処理が、Sb異常検出時刻における割込
信号によって起動されたものと分かることから、S33
0へ移行して、第2ソレノイドSbに異常があるかどう
かを判断するためのSb異常検出処理を実行する。
On the other hand, if the Sa abnormality detection execution flag is not "1" (S210: NO), the flow shifts to S220 to determine whether the Sb abnormality detection execution flag is "1". If the Sb abnormality detection execution flag is “1” (S220: YES), it is determined that the TCNT overflow interrupt processing has been started by the interrupt signal at the Sb abnormality detection time, and thus S33
The process proceeds to 0, and an Sb abnormality detection process for determining whether or not the second solenoid Sb has an abnormality is executed.

【0077】なお、Sb異常検出実行フラグが「1」で
ない場合(S220:NO)には、当該TCNTオーバ
ーフロー割込処理が、Sa異常検出時刻又はSb異常検
出時刻における割込信号によって起動されたものではな
いと分かる。そのため、この場合(S220:NO)に
は、S320に移行して、割込許可フラグをリセットし
た後、TCNTオーバーフロー割込処理を一旦終了す
る。
If the Sb abnormality detection execution flag is not "1" (S220: NO), the TCNT overflow interrupt processing is started by the interruption signal at the Sa abnormality detection time or the Sb abnormality detection time. I understand that it is not. Therefore, in this case (S220: NO), the process proceeds to S320 to reset the interrupt permission flag, and then temporarily ends the TCNT overflow interrupt process.

【0078】即ち、S210,220では、「当該TC
NTオーバーフロー割込処理が、どのソレノイドに対す
る異常検出を行うために起動されたのか」を判断して、
Sa異常検出処理を行うのか、Sb異常検出処理を行う
のか、或いは何れのソレノイドについての異常検出も行
わないのかを選択しているのである。
That is, in S210 and S220, the “TC
NT overflow interrupt processing has been started to perform abnormality detection for which solenoid "
The operator selects whether to perform the Sa abnormality detection processing, the Sb abnormality detection processing, or not to perform abnormality detection for any of the solenoids.

【0079】さて、S230ではSa異常検出処理が起
動されるが、この処理について、図4と共に説明する。
このSa異常検出処理は、請求項における「異常検出手
段」の一部として機能するものであり、この処理が開始
されると、まずS510において、Sa出力信号の現時
点での信号レベルが「High」であるか「Low 」であるか
を判断する。ここでSa制御信号が「High」であれば、
S520へ進み、Sa検出信号フラグが「1(High)」
であるかどうかを判定することによって、Sa制御信号
とSa検出信号フラグとが正しく対応しているかどうか
を判断する。
Now, in S230, the Sa abnormality detection processing is started, and this processing will be described with reference to FIG.
This Sa abnormality detection processing functions as a part of the “abnormality detection means” in the claims. When this processing is started, first, in S510, the current signal level of the Sa output signal is “High”. Or “Low”. Here, if the Sa control signal is “High”,
Proceeds to S520, where the Sa detection signal flag is “1 (High)”
It is determined whether or not the Sa control signal and the Sa detection signal flag correspond to each other by determining whether or not.

【0080】このSa検出信号フラグは、前述の図2の
説明にて示した(S30又はS50)ように、Sa異常
検出時刻を計算した時(即ち、Sa制御信号の信号レベ
ルが変化した直後)のSa制御信号の状態を表すもので
あり、S520において、Sa検出信号フラグが「1
(High)」でなければ、本Sa異常検出処理を速やかに
終了する。
The Sa detection signal flag is determined when the Sa abnormality detection time is calculated (that is, immediately after the signal level of the Sa control signal changes) as described in the above description of FIG. 2 (S30 or S50). In step S520, the state of the Sa detection signal flag is “1”.
(High), the Sa abnormality detection processing is immediately terminated.

【0081】即ち、Sa検出信号フラグ=「0(Low
)」であるのにも関わらず、S510の時点でSa制
御信号が「High」であるときには、Sa制御信号が更に
変化した直後であると考えられ、第1ソレノイドSaの
駆動状態が正確にSaモニタ信号に反映されるかどうか
不明である。こうした場合には、Sa制御信号のレベル
とSaモニタ信号のレベルとを正しく比較することがで
きないことから、速やかに当該Sa異常検出処理を終了
することによって、誤まった判定を防ぐようにしている
のである。
That is, the Sa detection signal flag = “0 (Low)
)), When the Sa control signal is "High" at the time of S510, it is considered that the Sa control signal has just changed further, and the driving state of the first solenoid Sa is accurately Sa. It is unknown whether it is reflected in the monitor signal. In such a case, since the level of the Sa control signal and the level of the Sa monitor signal cannot be correctly compared, the erroneous determination is prevented by immediately terminating the Sa abnormality detection processing. It is.

【0082】一方、Sa検出信号フラグ=「1(Hig
h)」である場合には(S520:YES)、S530
以降(特にS540、550、560)にて、Sa制御
信号が「High」である場合における異常検出(即ち短絡
異常検出)を行うこととなる。即ち、まずS530に移
行して、Sa異常検出禁止フラグが「1」で有るかどう
かを判断する。このSa異常検出禁止フラグは、第1ソ
レノイドSaの通電経路についての異常検出が禁止され
た状態である(このとき「1」)ことを示すフラグであ
る。このSa異常検出禁止フラグが「1」であれば(S
530:YES)、速やかに本Sa異常検出処理を終了
するが、Sa異常検出禁止フラグが「1」でなければ
(S530:NO)、S540に移行する。
On the other hand, the Sa detection signal flag = “1 (Hig
h) ”(S520: YES), S530
Thereafter (especially in steps S540, 550, and 560), abnormality detection (that is, short-circuit abnormality detection) when the Sa control signal is “High” is performed. That is, the process first proceeds to S530, and determines whether the Sa abnormality detection inhibition flag is “1”. The Sa abnormality detection prohibition flag is a flag indicating that abnormality detection of the energization path of the first solenoid Sa is prohibited (at this time, “1”). If the Sa abnormality detection inhibition flag is "1" (S
530: YES), the Sa abnormality detection process is immediately terminated, but if the Sa abnormality detection prohibition flag is not “1” (S530: NO), the process proceeds to S540.

【0083】S540では、Saモニタ信号の信号レベ
ルが「High」か「Low 」かを判定する。Saモニタ信号
が「High」ならば、Sa制御信号の信号レベルとSaモ
ニタ信号の信号レベルとが一致していることになるの
で、「第1ソレノイドSaの通電経路は正常」であると
判断し、S550で、Sa異常フラグをリセット
(「0」を設定)する。一方、Saモニタ信号が「Low
」ならば、Sa制御信号の信号レベルとSaモニタ信
号の信号レベルとが一致していないことになるので、
「第1ソレノイドSaの通電経路に異常がある」と判断
して、S560にてSa異常フラグに「1」をセットす
る。なお、Sa異常フラグは、第1ソレノイドSaの通
電経路についての異常検出の結果を記憶しておくための
フラグである。
At S540, it is determined whether the signal level of the Sa monitor signal is "High" or "Low". If the Sa monitor signal is "High", it means that the signal level of the Sa control signal and the signal level of the Sa monitor signal match, so it is determined that "the energization path of the first solenoid Sa is normal". In step S550, the Sa abnormality flag is reset (set to “0”). On the other hand, when the Sa monitor signal is “Low”
"Means that the signal level of the Sa control signal does not match the signal level of the Sa monitor signal.
It is determined that "there is an abnormality in the energization path of the first solenoid Sa", and the Sa abnormality flag is set to "1" in S560. The Sa abnormality flag is a flag for storing a result of abnormality detection regarding the energization path of the first solenoid Sa.

【0084】上記S550又は560の処理の後、次に
S570へ移行する。S570では、再び、Sa制御信
号が「High」か「Low 」かを判定することによって、S
510からS570に至るまでの間に、Sa制御信号が
「High」から「Low 」へと変化したかどうかを判断す
る。ここで、Sa制御信号=「High」である場合(S5
70)には、Sa制御信号は変化していないと考えられ
ることから、S550又は560における異常検出が正
しく行われたと考えられる。
After the processing of S550 or 560, the process proceeds to S570. In S570, it is determined again whether the Sa control signal is “High” or “Low”,
It is determined whether the Sa control signal has changed from “High” to “Low” during a period from 510 to S570. Here, when the Sa control signal is “High” (S5
In 70), since it is considered that the Sa control signal has not changed, it is considered that the abnormality detection in S550 or 560 was correctly performed.

【0085】そこで、この場合には、S580を経て当
該Sa異常検出処理を終了する。S580では、Sa異
常検出禁止フラグに「1」を設定することにより、第1
ソレノイドSaの通電経路についての異常検出を禁止状
態とする(つまり、異常検出の結果を確定させる)。
Therefore, in this case, the Sa abnormality detection processing is ended via S580. In S580, by setting the Sa abnormality detection prohibition flag to “1”, the first
The abnormality detection for the energization path of the solenoid Sa is prohibited (that is, the result of the abnormality detection is determined).

【0086】一方、Sa制御信号が「Low 」である場合
(S570)には、速やかに当該Sa異常検出処理を終
了する。即ち、S510からS570に至るまでの間
に、Sa制御信号が「High」から「Low 」へと変化して
いた場合には、第1ソレノイドSaの駆動状態がSaモ
ニタ信号に正しく反映されているかどうか不明であるた
め、上記S540〜S560における異常検出の結果を
確定させることなく、当該Sa異常検出処理を一旦終了
するのである。
On the other hand, if the Sa control signal is "Low" (S570), the Sa abnormality detection processing is immediately terminated. That is, if the Sa control signal changes from “High” to “Low” during the period from S510 to S570, is the drive state of the first solenoid Sa correctly reflected in the Sa monitor signal? Since it is not clear whether or not it is unknown, the Sa abnormality detection process is temporarily terminated without finalizing the result of the abnormality detection in S540 to S560.

【0087】なお、図5と共に後述する様に、本実施例
の異常検出装置においては、異常検出の結果を統計的に
処理し(例えば、異常であるとの判断頻度を累計するな
ど)、統計処理の結果に応じて、異常時に必要な対応動
作(フェイルセーフ動作など)を行うように構成されて
いるが、この統計処理は、Sa異常検出禁止フラグが
「1」であるときにだけ行われる(図5参照)。S57
0にてSa制御信号が「High」から「Low 」へと変化し
たことが判断された場合には、Sa異常検出禁止フラグ
に「1」が設定されない(S580が行われない)の
で、上記S540〜S560における異常検出の結果
が、上記統計処理に反映されないこととなる。
As will be described later with reference to FIG. 5, the abnormality detection apparatus of the present embodiment statistically processes the results of the abnormality detection (for example, accumulates the frequency of determining that an abnormality has occurred, etc.) In accordance with the result of the process, a necessary operation (fail-safe operation or the like) required at the time of abnormality is configured. However, this statistical process is performed only when the Sa abnormality detection inhibition flag is “1”. (See FIG. 5). S57
If it is determined at 0 that the Sa control signal has changed from "High" to "Low", "1" is not set to the Sa abnormality detection prohibition flag (S580 is not performed). The results of the abnormality detection in steps S560 to S560 are not reflected in the statistical processing.

【0088】さてS510に戻り、ここでSa制御信号
が「Low 」であれば、S620へ進み、Sa検出信号フ
ラグが「0(Low )」であるかどうかを判定することに
よって、Sa制御信号とSa検出信号フラグとが正しく
対応しているかどうかを判断する。そして、Sa検出信
号フラグが「0(Low )」でない場合(S620:N
O)には、速やかに当該Sa異常検出処理を終了する。
Returning to S510, if the Sa control signal is "Low", the process proceeds to S620, where it is determined whether or not the Sa detection signal flag is "0 (Low)". It is determined whether the Sa detection signal flag correctly corresponds to the flag. If the Sa detection signal flag is not "0 (Low)" (S620: N
In O), the Sa abnormality detection processing ends immediately.

【0089】即ち、Sa検出信号フラグ=「1(Hig
h)」であるのにも関わらず、S510の時点でSa制
御信号が「Low 」であるときには、Sa制御信号が切り
替わった直後であると考えられ、第1ソレノイドSaの
駆動状態が正確にSaモニタ信号に反映されるかどうか
不明である。こうした場合には、Sa制御信号のレベル
とSaモニタ信号のレベルとを比較しても、正確な異常
判定をすることができないので、速やかに当該Sa異常
検出処理を終了することによって、誤まった判定を防ぐ
ようにしているのである。
That is, the Sa detection signal flag = “1 (Hig
h), when the Sa control signal is "Low" at the time of S510, it is considered immediately after the Sa control signal is switched, and the driving state of the first solenoid Sa is accurately determined. It is unknown whether it is reflected in the monitor signal. In such a case, even if the level of the Sa control signal and the level of the Sa monitor signal are compared, accurate abnormality determination cannot be performed. The decision is prevented.

【0090】一方、Sa検出信号フラグ=「0(Low
)」である場合には(S620:YES)、S630
以降(特にS640、650、660)にて、Sa制御
信号が「Low 」である場合における異常検出(即ち断線
異常検出)を行うこととなる。即ち、S630に移行し
て、Sa異常検出禁止フラグが「1」かどうかを判断
し、「1」であれば(S630:YES)、速やかに当
該Sa異常検出処理を終了する。一方、Sa異常検出禁
止フラグが「1」でなければ(S630:NO)、S6
40に移行する。
On the other hand, the Sa detection signal flag = “0 (Low)
) "(S620: YES), S630
From then on (especially S640, 650, 660), abnormality detection (that is, disconnection abnormality detection) when the Sa control signal is "Low" is performed. That is, the flow shifts to S630, where it is determined whether or not the Sa abnormality detection prohibition flag is “1”. If it is “1” (S630: YES), the Sa abnormality detection processing is immediately terminated. On the other hand, if the Sa abnormality detection inhibition flag is not “1” (S630: NO), S6
Move to 40.

【0091】S640では、Saモニタ信号が「High」
か「Low 」かを判定する。Saモニタ信号が「Low 」な
らば、Sa制御信号の信号レベルとSaモニタ信号の信
号レベルとが一致していることになるので、「第1ソレ
ノイドSaの通電経路は正常」であると判断し、S65
0でSa異常フラグをリセット(「0」を設定)する。
一方、Saモニタ信号が「High」ならば、Sa制御信号
の信号レベルとSaモニタ信号の信号レベルとが一致し
ていないことになるので、「第1ソレノイドSaの通電
経路に異常がある」と判断して、S660にて、Sa異
常フラグに「1」をセットする。
In S640, the Sa monitor signal is "High"
Or “Low”. If the Sa monitor signal is "Low", it means that the signal level of the Sa control signal matches the signal level of the Sa monitor signal, so it is determined that "the energization path of the first solenoid Sa is normal". , S65
At 0, the Sa abnormality flag is reset ("0" is set).
On the other hand, if the Sa monitor signal is “High”, it means that the signal level of the Sa control signal and the signal level of the Sa monitor signal do not match, so that “there is an abnormality in the energization path of the first solenoid Sa”. In S660, the Sa abnormality flag is set to "1".

【0092】これらS650又はS660の処理の後、
次にS670へ移行する。S670では、再び、Sa制
御信号が「High」か「Low 」かを判定することによっ
て、S610からS670に至るまでの間に、Sa制御
信号が「Low 」から「High」へと変化したかどうかを判
断する。ここで、Sa制御信号=「Low 」である場合
(S670)には、Sa制御信号は変化していないと考
えられ、S650又はS660における異常検出が正し
く行われたと考えられる。そこで、この場合には、S6
80を経て当該Sa異常検出処理を終了する。S680
の処理は、S580の処理と同様であるので説明を省略
する。
After the processing of S650 or S660,
Next, the process proceeds to S670. In S670, whether the Sa control signal has changed from "Low" to "High" between S610 and S670 is determined again by determining whether the Sa control signal is "High" or "Low". Judge. Here, when the Sa control signal is “Low” (S670), it is considered that the Sa control signal has not changed, and that the abnormality detection in S650 or S660 has been correctly performed. Therefore, in this case, S6
After 80, the Sa abnormality detection processing ends. S680
Is the same as the processing in S580, and a description thereof will be omitted.

【0093】一方、Sa制御信号が「High」である場合
(S670)には、速やかに当該Sa異常検出処理を終
了する。即ち、S610からS670に至るまでの間
に、Sa制御信号が「Low 」から「High」へと変化して
いた場合には、第1ソレノイドSaの駆動状態がSaモ
ニタ信号に正しく反映されているかどうか不明であるた
め、上記S640〜S660における異常検出の結果を
確定させることなく、当該Sa異常検出処理を一旦終了
するのである。
On the other hand, when the Sa control signal is "High" (S670), the Sa abnormality detection processing is immediately terminated. That is, if the Sa control signal changes from "Low" to "High" during the period from S610 to S670, is the drive state of the first solenoid Sa correctly reflected in the Sa monitor signal? Since it is unclear whether the result of the abnormality detection in S640 to S660 is finalized, the Sa abnormality detection process is temporarily terminated.

【0094】図3に戻り説明を続ける。S230にて起
動されるSa異常検出処理については以上の通りである
が、S330にて起動されるSb異常検出処理は、Sa
異常検出処理における処理対象を第1ソレノイドSaか
ら第2ソレノイドSbに置き換えた処理である。即ち、
Sb異常検出処理は、Sa異常検出処理において、Sa
制御信号⇒Sb制御信号、Sa異常検出禁止フラグ⇒S
b異常検出禁止フラグ、Sa検出信号フラグ⇒Sb検出
信号フラグ、Saモニタ信号⇒Sbモニタ信号、Sa異
常フラグ⇒Sb異常フラグというように、「Sa」を
「Sb」に置き換えることによって容易に説明されるも
のである。そのため、Sb異常検出処理については、そ
のフローチャートの図示および説明を省略する。なお、
Sb異常検出処理も、請求項の「異常検出手段」の一部
として機能する。
Returning to FIG. 3, the description will be continued. The Sa abnormality detection process started in S230 is as described above, but the Sb abnormality detection process started in S330 is Sa
This is a process in which the processing target in the abnormality detection process is replaced by the first solenoid Sa to the second solenoid Sb. That is,
The Sb abnormality detection process is performed in the Sa abnormality detection process.
Control signal ⇒ Sb control signal, Sa abnormality detection prohibition flag ⇒ S
b. Abnormality detection prohibition flag, Sa detection signal flag ⇒ Sb detection signal flag, Sa monitor signal ⇒ Sb monitor signal, Sa abnormality flag ⇒ Sb abnormality flag, which is easily explained by replacing “Sa” with “Sb”. Things. Therefore, the illustration and description of the flowchart of the Sb abnormality detection processing will be omitted. In addition,
The Sb abnormality detection process also functions as a part of the “abnormality detection unit” in the claims.

【0095】さて、S230にて起動されたSa異常検
出処理が終了すると、これに応じてSa異常検出実行フ
ラグをリセットし(S240)、次にSb異常検出待機
フラグが「1」かどうかを判断する(S250)。Sb
異常検出待機フラグが「1」でない場合には(S25
0:NO)、S320にて割込許可フラグをリセットし
た後、当該TCNTオーバーフロー割込処理を終了す
る。一方、Sb異常検出待機フラグが「1」である場合
には(S250:YES)、タイマ回路10へのSb異
常検出時刻の設定が保留された状態であると判断できる
ので、S255にてSb異常検出待機フラグをリセット
した後、S260に移行する。
When the Sa abnormality detection process started in S230 is completed, the Sa abnormality detection execution flag is reset accordingly (S240), and it is determined whether the Sb abnormality detection standby flag is "1". (S250). Sb
If the abnormality detection standby flag is not "1" (S25
0: NO), resets the interrupt permission flag in S320, and ends the TCNT overflow interrupt process. On the other hand, if the Sb abnormality detection standby flag is “1” (S250: YES), it can be determined that the setting of the Sb abnormality detection time in the timer circuit 10 is in a suspended state. After resetting the detection standby flag, the process proceeds to S260.

【0096】このS260においては、現時点でSb異
常検出時刻が既に過ぎてしまったかを判断する。これ
は、次のようにして判断される。即ち、Sb異常検出待
機フラグ=「1」であったので、Sb異常検出処理を行
うためにタイマ回路10のカウント値Tcntとして設定す
べき値TcntSbは算出されているはずである。そして、こ
の値TcntSbは、Sb異常検出時刻をしめすものである。
また、現時点におけるタイマ回路10のカウント値Tcnt
は、S230におけるSa異常検出処理の開始時(詳し
くは、当該TCNTオーバーフロー割込処理の開始時)
からどの程度の時間が経過しているかを示している。そ
のため、Sb異常検出時刻が既に過ぎたかどうかは、こ
れら現時点のカウント値Tcntと値TcntSbとから判断でき
る。
In S260, it is determined whether the Sb abnormality detection time has already passed at the present time. This is determined as follows. That is, since the Sb abnormality detection standby flag = “1”, the value TcntSb to be set as the count value Tcnt of the timer circuit 10 for performing the Sb abnormality detection process should have been calculated. The value TcntSb indicates the Sb abnormality detection time.
Also, the count value Tcnt of the timer circuit 10 at the present time is
At the start of the Sa abnormality detection process in S230 (specifically, at the start of the TCNT overflow interrupt process)
It shows how much time has passed since Therefore, whether the Sb abnormality detection time has already passed can be determined from the current count value Tcnt and the value TcntSb.

【0097】このS260において、Sb異常検出時刻
がまだ過ぎていないと判断された場合(NO)には、上
記の値TcntSbを、タイマ回路10のカウント値Tcntとし
てセットすることによって、Sb異常検出時刻をタイマ
回路10に設定する(S270)。そして、Sb異常検
出実行フラグに「1」をセットし(S280)、更に割
込許可フラグに「1」をセットすることによって次回の
TCNTオーバーフロー割込処理の起動を許可した(S
290)後に、当該TCNTオーバーフロー割込処理を
終了する。
If it is determined in S260 that the Sb abnormality detection time has not passed yet (NO), the above value TcntSb is set as the count value Tcnt of the timer circuit 10, whereby the Sb abnormality detection time is set. Is set in the timer circuit 10 (S270). Then, the Sb abnormality detection execution flag is set to "1" (S280), and the interrupt permission flag is set to "1" to permit the activation of the next TCNT overflow interrupt processing (S280).
290) Thereafter, the TCNT overflow interrupt processing ends.

【0098】一方、S260において、Sb異常検出時
刻が既に過ぎたと判断された場合(YES)には、速や
かに上述と同様のSb異常検出処理を起動する(S30
0)。そして、Sb異常検出処理が終了すると、Sb異
常検出実行フラグをリセットする(S310)と共に、
割込許可フラグをリセット(S320)した後、当該T
CNTオーバーフロー割込処理を終了する。
On the other hand, if it is determined in S260 that the Sb abnormality detection time has already passed (YES), the same Sb abnormality detection processing as described above is immediately started (S30).
0). When the Sb abnormality detection process ends, the Sb abnormality detection execution flag is reset (S310), and
After resetting the interrupt permission flag (S320), the T
The CNT overflow interrupt processing ends.

【0099】次にS330のSb異常検出処理の後の処
理について説明する。S330にて起動したSb異常検
出処理を終了すると、これに応じてSb異常検出実行フ
ラグをリセットした(S340)後、Sa異常検出待機
フラグが「1」かどうかを判断する(S350)。
Next, the processing after the Sb abnormality detection processing in S330 will be described. When the Sb abnormality detection process started in S330 ends, the Sb abnormality detection execution flag is reset accordingly (S340), and it is determined whether the Sa abnormality detection standby flag is “1” (S350).

【0100】Sa異常検出待機フラグが「1」でない場
合には(S350:NO)、S320にて割込許可フラ
グをリセットした後に当該TCNTオーバーフロー割込
処理を終了するが、Sa異常検出待機フラグが「1」で
ある場合には(S350:YES)、タイマ回路10へ
のSa異常検出時刻の設定が保留された状態であると判
断できるので、S355にてSa異常検出待機フラグを
リセットした後、S360に移行する。
If the Sa abnormality detection standby flag is not "1" (S350: NO), the TCNT overflow interrupt processing is terminated after resetting the interrupt permission flag in S320. If it is "1" (S350: YES), it can be determined that the setting of the Sa abnormality detection time in the timer circuit 10 is in a suspended state, so that after resetting the Sa abnormality detection standby flag in S355, The process moves to S360.

【0101】そしてS360においては、Sa異常検出
時刻を既に過ぎてしまったかどうかを判断する。これ
は、次のようにして判断される。即ち、Sa異常検出待
機フラグ=「1」であるので、Sa異常検出処理を行う
ためにタイマ回路10のカウント値Tcntとして設定すべ
き値TcntSaは算出されているはずである。そして、この
値TcntSaは、Sa異常検出時刻を示すものである。ま
た、現時点におけるタイマ回路10のカウント値Tcnt
は、S330におけるSb異常検出処理の開始時(詳し
くは、当該TCNTオーバーフロー割込処理の開始時)
からどの程度の時間が経過しているかを示している。そ
のため、Sa異常検出時刻が既に過ぎたかどうかは、こ
れら現時点のカウント値Tcntと値TcntSaとから判断でき
ることになる。
Then, in S360, it is determined whether or not the Sa abnormality detection time has already passed. This is determined as follows. That is, since the Sa abnormality detection standby flag is “1”, the value TcntSa to be set as the count value Tcnt of the timer circuit 10 for performing the Sa abnormality detection process should have been calculated. This value TcntSa indicates the Sa abnormality detection time. Also, the count value Tcnt of the timer circuit 10 at the present time is
At the start of the Sb abnormality detection process in S330 (specifically, at the start of the TCNT overflow interrupt process)
It shows how much time has passed since Therefore, whether or not the Sa abnormality detection time has already passed can be determined from the current count value Tcnt and value TcntSa.

【0102】このS360において、Sa異常検出時刻
がまだ過ぎていないと判断された場合(NO)には、上
記の値TcntSaを、タイマ回路10のカウント値Tcntとし
てセットすることによって、Sa異常検出時刻をタイマ
回路10に設定する(S370)。そして、Sa異常検
出実行フラグに「1」をセットし(S380)、更に割
込許可フラグに「1」をセットすることによって次回の
TCNTオーバーフロー割込処理の起動を許可した(S
290)後に、当該TCNTオーバーフロー割込処理を
終了する。
In S360, if it is determined that the Sa abnormality detection time has not yet passed (NO), the value TcntSa is set as the count value Tcnt of the timer circuit 10 to determine the Sa abnormality detection time. Is set in the timer circuit 10 (S370). Then, "1" is set to the Sa abnormality detection execution flag (S380), and "1" is set to the interrupt permission flag, thereby permitting activation of the next TCNT overflow interrupt processing (S380).
290) Thereafter, the TCNT overflow interrupt processing ends.

【0103】一方、S360において、Sa異常検出時
刻が既に過ぎたと判断された場合(YES)には、速や
かに上述と同様のSa異常検出処理を起動する(S40
0)。そして、Sa異常検出処理が終了すると、Sa異
常検出実行フラグをリセットし(S410)、更に割込
許可フラグをリセット(S320)した後、当該TCN
Tオーバーフロー割込処理を終了する。
On the other hand, if it is determined in S360 that the Sa abnormality detection time has already passed (YES), the same Sa abnormality detection processing as described above is immediately started (S40).
0). Then, when the Sa abnormality detection processing is completed, the Sa abnormality detection execution flag is reset (S410), the interrupt permission flag is reset (S320), and then the TCN is reset.
The T overflow interrupt processing ends.

【0104】なお、図3のTCNTオーバーフロー割込
処理について、請求項との対応をまとめると、以下の通
りである。まずS210,S220,S260,S36
0の処理が、「異常検出制御手段」として機能する。S
240,S340,S280,S310,S380,S
410の処理が、「検出対象記憶手段」として機能し、
S255,S355の処理が、「保留対象記憶手段」と
して機能する。また、S270,S370の処理が、
「タイマ設定手段」として機能する。
The correspondence between the TCNT overflow interrupt processing shown in FIG. 3 and the claims is summarized as follows. First, S210, S220, S260, S36
The process of 0 functions as “abnormality detection control means”. S
240, S340, S280, S310, S380, S
The process of 410 functions as “detection target storage means”,
The processing of S255 and S355 functions as a “holding target storage unit”. Also, the processing of S270 and S370 is
Functions as "timer setting means".

【0105】次に図5は、所定時間毎(例えば20ms
毎)に行われるSa検出結果対応処理を示すフローチャ
ートである。このSa検出結果対応処理は、第1ソレノ
イドSaの通電経路に対する異常検出結果(即ちSa異
常フラグの値)に応じた動作を行うための処理である。
なお、この処理は、タイマ回路10からの割込信号が入
力されても、他の処理(例えば、Sa出力割込処理、S
b出力割込処理、TCNTオーバーフロー割込処理な
ど)が実行中であった場合には、その実行が終了した後
に開始される。
Next, FIG. 5 shows the state at a predetermined time interval (for example, 20 ms).
9 is a flowchart showing a Sa detection result handling process performed every time). This Sa detection result handling process is a process for performing an operation in accordance with the abnormality detection result (ie, the value of the Sa abnormality flag) for the energization path of the first solenoid Sa.
Note that, even if an interrupt signal from the timer circuit 10 is input, this process performs another process (for example, Sa output interrupt process, S
If the b output interrupt processing, the TCNT overflow interrupt processing, etc.) are being executed, the processing is started after the execution ends.

【0106】このSa検出結果対応処理が起動される
と、図5に示すように、まずS710にて、Sa異常検
出禁止フラグが「1」であるかどうかを判断する。Sa
異常検出禁止フラグが「1」でない場合には(NO)、
第1ソレノイドSaの通電経路についての異常検出がま
だ行われていないと判断して、速やかに当該Sa検出結
果対応処理を終了する。
When the processing for responding to the Sa detection result is started, as shown in FIG. 5, it is first determined in S710 whether or not the Sa abnormality detection inhibition flag is "1". Sa
If the abnormality detection prohibition flag is not “1” (NO),
It is determined that the abnormality detection for the energization path of the first solenoid Sa has not been performed yet, and the processing for dealing with the Sa detection result is immediately terminated.

【0107】一方Sa異常検出禁止フラグが「1」であ
る場合には(YES)、第1ソレノイドSaの通電経路
についての異常検出が実施されたと判断し、S720に
てSa異常フラグ=「1」であるかどうかを判断する。
そして、その判断結果に応じてS730およびS740
の何れかの処理を行うと共に、S750にて、Sa異常
検出禁止フラグをリセットした後、当該Sa検出結果対
応処理を終了する。
On the other hand, if the Sa abnormality detection prohibition flag is "1" (YES), it is determined that abnormality has been detected in the energization path of the first solenoid Sa, and the S abnormality flag = "1" in S720. Is determined.
Then, according to the determination result, S730 and S740
Is performed, and in step S750, the Sa abnormality detection prohibition flag is reset, and then the Sa detection result handling process ends.

【0108】即ち、Sa異常フラグが「1」でなければ
(S720:NO)、S730にてSa正常時処理を実
行し、Sa異常フラグが「1」であれば、S740にて
Sa異常時処理を実行する。Sa異常時処理は、自己の
起動回数を累計することによってSa異常フラグ=
「1」と判断された異常判断回数NfSaを計算し、その
異常判断回数NfSaが所定値を超えたときに、フェイル
セーフ動作などを行う処理である。またSa正常時処理
は、起動される毎に、正常判断回数NtSaを計算し、そ
の正常判断回数NtSaが所定値を越えたときに、フェイ
ルセーフ動作などを解除する処理である。
That is, if the Sa abnormality flag is not "1" (S720: NO), the normal Sa processing is executed in S730, and if the Sa abnormality flag is "1", the Sa abnormal processing is performed in S740. Execute The Sa abnormality processing is performed by accumulating the number of activations of the own device, thereby obtaining the Sa abnormality flag =
This is a process of calculating the number NfSa of abnormalities determined to be “1” and performing a fail-safe operation or the like when the number NfSa of abnormalities exceeds a predetermined value. The normal-time process is a process for calculating the number of normality determination NtSa every time the computer is started, and canceling the fail-safe operation when the number of normality determination NtSa exceeds a predetermined value.

【0109】なお、上述の様に、Sa検出結果対応処理
は、第1ソレノイドSaの通電経路についての異常検出
結果に関して行われる処理であるが、第2ソレノイドS
bの通電経路についての異常検出結果に関しても、Sa
検出結果対応処理と同様な処理(Sb検出結果対応処
理)が行われる。そして、このSb検出結果対応処理
は、Sa検出結果対応処理における第1ソレノイドSa
を第2ソレノイドSbに置き換えた処理としてとらえら
れる。即ち、Sb検出結果対応処理は、Sa検出結果対
応処理において、Sa異常検出禁止フラグ⇒Sb異常検
出禁止フラグ、Sa異常フラグ⇒Sb異常フラグという
ように、「Sa」を「Sb」に置き換えることによって
容易に説明されるものである。そのため、Sb検出結果
対応処理については、そのフローチャートの図示および
説明は省略する。
As described above, the process for handling the Sa detection result is a process that is performed with respect to the result of detecting an abnormality in the energization path of the first solenoid Sa.
Regarding the abnormality detection result for the energization path b,
The same process as the detection result handling process (Sb detection result handling process) is performed. The Sb detection result handling process is the first solenoid Sa in the Sa detection result handling process.
Is replaced with the second solenoid Sb. In other words, the Sb detection result handling process is performed by replacing “Sa” with “Sb” in the Sa detection result handling process, such as a Sa abnormality detection inhibition flag → Sb abnormality detection inhibition flag and a Sa abnormality flag → Sb abnormality flag. It is easily explained. Therefore, the illustration and description of the flowchart of the Sb detection result handling process are omitted.

【0110】以上のように、本実施例の誘導性負荷駆動
装置のCPU8では、ソレノイドの通電経路の異常検出
を行うために、上述(図2〜図5までの説明)の様な処
理が実行されるのであるが、これらの処理により実現さ
れる異常検出の作動例を、次の図6のタイミングチャー
トと共に説明する。
As described above, the CPU 8 of the inductive load driving device according to the present embodiment executes the above-described processing (described with reference to FIGS. 2 to 5) in order to detect an abnormality in the energization path of the solenoid. However, an operation example of abnormality detection realized by these processes will be described with reference to a timing chart of FIG.

【0111】まず時刻t1にてSb制御信号が「High」
に変化すると、Sb出力割込処理が起動され、この時点
からSb短絡検出時間後(即ちSb異常検出時刻t3)
にSb異常検出処理が行われるよう、タイマ回路10の
カウント値Tcntが設定される。そして時刻t2にてSa
制御信号が「High」に変化すると、この時点からSa短
絡検出時間後(即ちSa異常検出時刻t5)にSa異常
検出処理を行われるようタイマ回路10を設定すべく、
Sa出力割込処理が起動される。
First, at time t1, the Sb control signal goes high.
, The Sb output interrupt process is started, and after this time, after the Sb short circuit detection time (ie, Sb abnormality detection time t3)
The count value Tcnt of the timer circuit 10 is set so that the Sb abnormality detection process is performed in the following manner. Then, at time t2, Sa
When the control signal changes to “High”, the timer circuit 10 is set to perform the Sa abnormality detection processing after the Sa short detection time (ie, the Sa abnormality detection time t5) from this point.
The Sa output interrupt process is started.

【0112】しかし、この場合、既にタイマ回路10に
はSb異常検出時刻t3が設定されており、しかも、こ
のSb異常検出時刻t3は、Sa異常検出時刻t5より
も早い。そのため、Sa異常検出時刻t5は、現時点t
2においては、タイマ回路10への設定が保留される。
そして、時刻t3にて起動されるTCNTオーバーフロ
ー割込処理において、Sb異常検出処理の終了後に設定
される(時刻t4)ことになる。尚、その後、時刻t5
にてSa異常検出処理が行われる次に時刻t6にてSb
制御信号が「Low 」に変化すると、Sb出力割込処理が
起動され、この時点からSb断線検出時間後(即ちSb
異常検出時刻t10)にSb異常検出処理が行われるよ
う、タイマ回路10のカウント値Tcntが設定される。そ
して時刻t7にてSa制御信号が「Low 」に変化する
と、この時点からSa断線検出時間後(即ちSa異常検
出時刻t8)にSa異常検出処理が行われるようタイマ
回路10を設定すべく、Sa出力割込処理が起動され
る。
However, in this case, the Sb abnormality detection time t3 has already been set in the timer circuit 10, and the Sb abnormality detection time t3 is earlier than the Sa abnormality detection time t5. Therefore, the Sa abnormality detection time t5 is equal to the current time t5.
In 2, the setting for the timer circuit 10 is suspended.
Then, in the TCNT overflow interrupt process started at time t3, it is set after the end of the Sb abnormality detection process (time t4). After that, at time t5
Then, at time t6, Sb abnormality detection processing is performed.
When the control signal changes to "Low", the Sb output interrupt processing is started, and after this time, the Sb disconnection detection time (ie, Sb
The count value Tcnt of the timer circuit 10 is set so that the Sb abnormality detection processing is performed at the abnormality detection time t10). When the Sa control signal changes to "Low" at time t7, the Sa circuit is set so that the Sa abnormality detection process is performed after the Sa disconnection detection time (ie, Sa abnormality detection time t8) from this point. Output interrupt processing is started.

【0113】この場合、既にタイマ回路10にはSb異
常検出時刻t10が設定されているが、このSb異常検
出時刻t10は、時刻t8のSa異常検出時刻よりも遅
い。そのため現時点t7において、Sa異常検出時刻t
8が、タイマ回路10に設定され、Sb異常検出時刻t
10は、タイマ回路10への設定が保留される。そし
て、Sb異常検出時刻t10は、時刻t7にて起動され
るTCNTオーバーフロー割込処理において、Sa異常
検出処理の終了後に設定される(時刻t9)こととな
る。尚、その後、時刻t10にてSb異常検出処理が行
われる。
In this case, the Sb abnormality detection time t10 is already set in the timer circuit 10, but the Sb abnormality detection time t10 is later than the Sa abnormality detection time at time t8. Therefore, at the current time t7, the Sa abnormality detection time t
8 is set in the timer circuit 10 and the Sb abnormality detection time t
In 10, the setting for the timer circuit 10 is suspended. Then, the Sb abnormality detection time t10 is set after the end of the Sa abnormality detection processing in the TCNT overflow interrupt processing started at time t7 (time t9). After that, at time t10, an Sb abnormality detection process is performed.

【0114】また、時刻t11にてSb制御信号が再び
「High」に変化すると、Sb出力割込処理が起動され、
この時点からSb短絡検出時間後(即ちSb異常検出時
刻t12)にSb異常検出処理が行われるよう、タイマ
回路10のカウント値Tcntが設定される。その結果、時
刻t12には、TCNTオーバーフロー割込処理が起動
され、その中でSb異常検出処理が起動される。
When the Sb control signal changes to "High" again at time t11, the Sb output interrupt process is started, and
The count value Tcnt of the timer circuit 10 is set so that the Sb abnormality detection process is performed after the Sb short-circuit detection time (ie, Sb abnormality detection time t12) from this point. As a result, at time t12, the TCNT overflow interrupt process is started, and the Sb abnormality detection process is started therein.

【0115】そして、図6に示すように、TCNTオー
バーフロー割込処理の実行中にSa制御信号が変化して
も(t13)、Sa出力割込処理は起動されない。この
場合、Sa出力割込処理は、TCNTオーバーフロー割
込処理の終了後に起動され(t14)、この時点t14
からSa短絡検出時間後(即ちSa異常検出時刻t1
5)にSa異常検出処理が行われるよう、タイマ回路1
0のカウント値Tcntが設定される。そして、この結果、
時刻t15にてSa異常検出処理が行われる。なお、時
刻t15でのSa異常検出処理においては、Sa制御信
号が「High」であるにもかかわらずSaモニタ信号が
「Low 」であることから、第1ソレノイドSaが異常で
あるとの判断がなされることとなる。
Then, as shown in FIG. 6, even if the Sa control signal changes during execution of the TCNT overflow interrupt processing (t13), the Sa output interrupt processing is not activated. In this case, the Sa output interrupt processing is started after the end of the TCNT overflow interrupt processing (t14), and at this time t14
After the Sa short detection time (that is, the Sa abnormality detection time t1)
In order to perform the Sa abnormality detection process in 5), the timer circuit 1
A count value Tcnt of 0 is set. And as a result,
At time t15, the Sa abnormality detection processing is performed. In the Sa abnormality detection process at time t15, since the Sa monitor signal is "Low" despite the Sa control signal being "High", it is determined that the first solenoid Sa is abnormal. Will be done.

【0116】以上のように構成されて動作する本実施例
の誘導性負荷駆動装置の異常検出装置によれば、以下の
効果を奏する。 (1)タイマ回路10に異常検出時刻が設定されると、
それがどの通電経路の異常検出時刻であるかを、Sa
(Sb)異常検出実行フラグにより記憶するようにする
(S140)。そして、信号レベルが変化した制御信号
に対応する一の通電経路(図2では第1ソレノイドSa
の通電経路)の異常検出時刻を設定しようとする場合に
は、まず、Sa(Sb)異常検出実行フラグを参照する
ことによって、他の通電経路(図2では第2ソレノイド
Sbの通電経路)の異常検出時刻が設定されていないか
どうかを判断する(S60)。そして、他の通電経路の
異常検出時刻が設定されていないときに、当該一の通電
経路の異常検出時刻を、このタイマ回路10に設定す
る。従って、複数の通電経路に対する異常検出を行うに
あたって、互いに異なる通電経路の異常検出時刻を、共
通のタイマ回路10に設定することが可能となる。つま
り、複数の通電経路に対する異常検出を行うにあたって
必要なタイマ回路を、従来よりも少なくすることがで
き、異常検出にかかるコストを抑制することができる。
According to the abnormality detecting device for the inductive load driving device of the present embodiment, which is constructed and operated as described above, the following effects can be obtained. (1) When the abnormality detection time is set in the timer circuit 10,
Which of the energization paths is the abnormality detection time is determined by Sa
(Sb) The data is stored using the abnormality detection execution flag (S140). Then, one energization path corresponding to the control signal whose signal level has changed (the first solenoid Sa in FIG. 2).
In order to set the abnormality detection time of the current path (the current path of the second solenoid Sb in FIG. 2), the Sa (Sb) abnormality detection execution flag is first referred to. It is determined whether an abnormality detection time has not been set (S60). Then, when the abnormality detection time of the other energization path is not set, the abnormality detection time of the one energization path is set in this timer circuit 10. Therefore, when performing abnormality detection on a plurality of energized paths, it is possible to set the abnormality detection times of the mutually different energized paths in the common timer circuit 10. That is, it is possible to reduce the number of timer circuits required for detecting an abnormality in a plurality of energized paths as compared with the conventional case, and it is possible to suppress the cost required for the abnormality detection.

【0117】(2)信号レベルが変化した制御信号に対
応する一の通電経路の異常検出時刻をタイマ回路に設定
しようとしたときに、他の通電経路の異常検出時刻が設
定された状態であっても、一の通電経路の異常検出時刻
と他の通電経路の異常検出時刻との前後関係によって、
早い方の異常検出時刻を先にタイマ回路10に設定させ
た状態とし、その早い方の異常検出時刻での異常検出の
後に、遅い方の異常検出時刻を設定する。そのため、当
該一の通電経路の異常検出時刻をタイマ回路10に設定
することが可能となり、当該一の通電経路に対する異常
検出を確実に行うことができる。また、一の通電経路の
異常検出時刻が他の通電経路の異常検出時刻に比べて早
い場合であっても、或いは遅い場合であっても、両通電
経路の異常検出を共に適切なタイミングで行うことがで
きる。
(2) When trying to set the abnormality detection time of one energization path corresponding to the control signal whose signal level has changed to the timer circuit, the abnormality detection time of the other energization path is set. However, depending on the order of the abnormality detection time of one energization path and the abnormality detection time of another energization path,
The timer circuit 10 is set to set the earlier abnormality detection time first, and after the abnormality detection at the earlier abnormality detection time, the later abnormality detection time is set. Therefore, the abnormality detection time of the one energization path can be set in the timer circuit 10, and the abnormality detection of the one energization path can be reliably performed. Further, even if the abnormality detection time of one energization path is earlier or later than the abnormality detection time of the other energization path, abnormality detection of both energization paths is performed at appropriate timing. be able to.

【0118】(3)一の通電経路の異常検出時刻と他の
通電経路の異常検出時刻とを比較する比較判断(S9
0)を行う前に、他の通電経路の異常検出時刻が現時点
で既に過ぎているか(S70)若しくは現時点から所定
時間以内かどうか(S80)を判断する。そして、該他
の通電経路の異常検出時刻が現時点で既に過ぎているか
若しくは現時点から所定時間以内であるときには、その
異常検出時刻をタイマ手段に設定すべきと決定すると共
に、信号レベルが変化した制御信号に対応する通電経路
の異常検出時刻のタイマ手段への設定を保留すべきと決
定する。従って、他の通電経路の異常検出時刻が現時点
で既に過ぎているか若しくは現時点から所定時間以内で
ある場合には、上記比較判断を行うことなく、”どちら
の異常検出時刻の設定を保留し、どちらの異常検出時刻
の設定を行うべきか”という決定を速やかに行うことが
できるし、また比較判断(S90)やTcntSaの再計算
(S120)を省略するなど、速やかに、他の通電経路
の異常検出に処理を移行できるように対処することがで
きる。
(3) Comparison judgment for comparing the abnormality detection time of one energization path with the abnormality detection time of another energization path (S9)
Before performing (0), it is determined whether the abnormality detection time of another energization path has already passed at the present time (S70) or whether it is within a predetermined time from the present time (S80). If the abnormality detection time of the other energization path has already passed at the present time or is within a predetermined time from the current time, it is determined that the abnormality detection time should be set in the timer means, and the control in which the signal level has changed is performed. It is determined that the setting of the abnormality detection time of the energization path corresponding to the signal to the timer means should be suspended. Therefore, if the abnormality detection time of the other energization paths has already passed at the present time or is within a predetermined time from the current time, the setting of “which abnormality detection time is suspended, Should be set as soon as the abnormality detection time can be set, and the abnormality of other energized paths can be promptly determined, for example, by omitting comparison judgment (S90) and recalculation of TcntSa (S120). A countermeasure can be taken so that processing can be shifted to detection.

【0119】(4)他の通電経路の異常検出時刻が現時
点で既に過ぎているか若しくは現時点から所定時間以内
かどうかを判断するには、まず”現時点で既に過ぎてい
るかどうか(S70)”を判断し、その次に、”現時点
から所定時間以内かどうか(S80)”を判断するよう
にしている。そのため、緊急性に応じて、より細かい対
処をすることが可能となる。
(4) In order to determine whether the abnormality detection time of another energized path has already passed at the present time or within a predetermined time from the present time, first, it is determined whether “the current time has already passed (S70)”. Next, it is determined whether or not the current time is within a predetermined time (S80). Therefore, more detailed measures can be taken according to the urgency.

【0120】(5)”タイマ回路10への設定を保留す
べきもの(Sa(Sb)異常検出待機フラグ←1)と決
定された異常検出時刻”をタイマ回路10に設定する前
に、その異常検出時刻が現時点で既に過ぎているかどう
かを判断し(S260,S360)、現時点で既に過ぎ
ているときには、その異常検出時刻のタイマ手段への設
定を中止すると共に、これに対応する通電経路の異常検
出を直ちに行うようにしている(S300,S40
0)。そのため、タイマ回路10に先に設定された異常
検出時刻での異常検出終了時点で、”タイマ回路10に
設定すべきと決定された異常検出時刻”が既に過ぎてい
たとしても、直ちに異常検出を開始させることができ、
その遅れを抑制することができる。
(5) Before setting the timer circuit 10 with the “abnormality detection time determined to be the one for which the setting to the timer circuit 10 should be suspended (Sa (Sb) abnormality detection standby flag ← 1)”, It is determined whether or not the time has already passed at the present time (S260, S360). If the time has already passed at this time, the setting of the abnormality detection time in the timer means is stopped, and the abnormality detection of the energizing path corresponding to the time is stopped. (S300, S40)
0). Therefore, even if the “abnormality detection time determined to be set in the timer circuit 10” has already passed at the end of the abnormality detection at the abnormality detection time previously set in the timer circuit 10, the abnormality detection is immediately performed. Can be started,
The delay can be suppressed.

【0121】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定される物ではなく、種々
の態様を取ることができる。例えば、上記実施例では、
誘導性負荷として、2つのソレノイド(第1ソレノイド
Sa,第2ソレノイドSb)を駆動するものとして説明
したが、これに限られるものではない。それ以上の複数
の誘導性負荷を駆動する場合であっても、本発明を適用
することができる。即ち、駆動すべき誘導性負荷の数が
増えても、上述の様な、異常検出実行フラグや異常検出
待機フラグを誘導性負荷毎に定義すれば、これらに基づ
いて、タイマ回路10に異常検出時刻が設定されている
通電経路の有無を判断することができるようになるし、
タイマ回路10への異常検出時刻の設定が保留された通
電経路を記憶することができ、本発明を実現できるので
ある。
As described above, one embodiment of the present invention has been described. However, the present invention is not limited to the above-described embodiment, and can take various forms. For example, in the above embodiment,
The inductive load has been described as driving two solenoids (the first solenoid Sa and the second solenoid Sb), but the invention is not limited to this. The present invention can be applied to a case where a plurality of inductive loads more than that are driven. That is, even if the number of inductive loads to be driven increases, if the abnormality detection execution flag and the abnormality detection standby flag as described above are defined for each inductive load, the timer circuit 10 detects an abnormality based on these flags. It will be possible to determine whether there is an energized path for which the time is set,
The energization path in which the setting of the abnormality detection time in the timer circuit 10 is suspended can be stored, and the present invention can be realized.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 一実施例の誘導性負荷駆動装置の電気的構成
を示す説明図である。
FIG. 1 is an explanatory diagram illustrating an electrical configuration of an inductive load driving device according to an embodiment.

【図2】 Sa出力割込処理を示すフローチャートであ
る。
FIG. 2 is a flowchart illustrating a Sa output interrupt process.

【図3】 TCNTオーバーフロー割込処理を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing a TCNT overflow interrupt process.

【図4】 Sa異常検出処理を示すフローチャートであ
る。
FIG. 4 is a flowchart illustrating a Sa abnormality detection process.

【図5】 Sa検出結果対応処理を示すフローチャート
である。
FIG. 5 is a flowchart showing a Sa detection result handling process.

【図6】 誘導性負荷駆動装置における異常検出動作の
一例を示すタイムチャートである。
FIG. 6 is a time chart showing an example of an abnormality detection operation in the inductive load driving device.

【符号の説明】[Explanation of symbols]

2…電子制御装置(ECU)、4a,4b…駆動回路、
6…制御回路、8…CPU、9…記憶部、10…タイマ
回路、12…バッテリ、Sa…第1ソレノイド、Sb…
第2ソレノイド。
2 ... Electronic control unit (ECU), 4a, 4b ... Drive circuit,
6: control circuit, 8: CPU, 9: storage unit, 10: timer circuit, 12: battery, Sa: first solenoid, Sb ...
Second solenoid.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G01R 31/02 G01R 31/02 G05F 1/10 304 G05F 1/10 304A Fターム(参考) 2G014 AA02 AA03 AB28 AB49 AB51 AB57 AC18 3G084 BA13 BA15 DA31 EA07 EB03 EB11 EB22 EC06 EC08 3G301 JB04 LC01 MA11 MA18 NB12 ND17 NE23 5G053 AA02 AA07 BA04 CA01 DA01 EA01 EA03 EC02 FA05 5H410 BB04 CC02 DD02 DD05 DD06 EA37 EB01 EB25 EB37 FF03 FF21 LL13 LL14 LL19 LL20──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI theme coat ゛ (Reference) G01R 31/02 G01R 31/02 G05F 1/10 304 G05F 1/10 304A F-term (Reference) 2G014 AA02 AA03 AB28 AB49 AB51 AB57 AC18 3G084 BA13 BA15 DA31 EA07 EB03 EB11 EB22 EC06 EC08 3G301 JB04 LC01 MA11 MA18 NB12 ND17 NE23 5G053 AA02 AA07 BA04 CA01 DA01 EA01 EA03 EC02 FA05 5H410 BB04 CC02 DD02 DD05 DD01 EB37 EB37 EB37 EB37

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 複数の誘導性負荷の通電経路毎に各々配
置されたスイッチング手段に対して制御信号を夫々出力
し、該各制御信号の信号レベルを夫々変化させることに
より該各通電経路を断続させて、該各誘導性負荷を駆動
する誘導性負荷駆動装置において、時刻を設定可能に構
成され、該設定された時刻になるとその旨を出力するタ
イマ手段を用い、前記各誘導性負荷を含む前記各通電経
路の通電状態と前記制御信号とに基づく該各通電経路の
異常検出を、該制御信号の信号レベルの変化タイミング
から予め定められた所定時間遅延した異常検出時刻に行
う異常検出方法であって、 前記タイマ手段に設定された異常検出時刻に行うべき異
常検出の対象である通電経路を記憶すると共に、 前記何れかの通電経路に対応する制御信号の信号レベル
が変化すると、前記記憶した内容に基づき、他の通電経
路の異常検出時刻が前記タイマ手段に設定されているか
どうかを判断し、 該判断の結果、他の通電経路の異常検出時刻が該タイマ
手段に設定されていないときには、該信号レベルが変化
した制御信号に対応する通電経路の異常検出時刻を該タ
イマ手段に設定し、 前記タイマ手段から異常検出時刻となった旨が出力され
ると、前記記憶した内容に基づき、異常検出の対象であ
る通電経路を特定し、該特定した通電経路の異常検出を
行うことを特徴とする誘導性負荷駆動装置の異常検出方
法。
1. A control signal is output to switching means disposed for each of the plurality of inductive load energizing paths, and each of the energizing paths is intermittently switched by changing the signal level of each control signal. Then, in the inductive load driving device for driving each of the inductive loads, the time is settable, and when the set time is reached, timer means for outputting the fact is used, and the inductive load driving device includes the inductive loads. An abnormality detection method for performing abnormality detection of each energization path based on the energization state of each energization path and the control signal at an abnormality detection time delayed by a predetermined time from a change timing of a signal level of the control signal. Storing an energization path to be detected at the abnormality detection time set in the timer means, and a signal level of a control signal corresponding to any of the energization paths. Is changed, it is determined whether or not the abnormality detection time of another energized path is set in the timer means based on the stored content. As a result of the determination, the abnormality detection time of the other energized path is determined by the timer means. When not set to, the abnormality detection time of the energization path corresponding to the control signal whose signal level has changed is set in the timer means, and when the fact that the abnormality detection time has come is output from the timer means, A method for detecting an abnormality in an inductive load drive device, comprising: identifying an energized path to be subjected to abnormality detection based on stored contents;
【請求項2】 請求項1記載の誘導性負荷駆動装置の異
常検出方法において、 前記判断の結果、前記他の通電経路の異常検出時刻が前
記タイマ手段に既に設定されているときには、前記信号
レベルが変化した制御信号に対応する通電経路の異常検
出時刻及び該他の通電経路の異常検出時刻の内、何れが
早いかを比較判断し、 該比較判断の結果に応じて、早い方の異常検出時刻を該
タイマ手段に設定すべきものと決定すると共に、遅い方
の異常検出時刻を該タイマへの設定を保留すべきものと
決定し、 前記タイマ手段に設定すべきものと決定された異常検出
時刻を該タイマ手段に設定させた状態とすると共に、該
設定した異常検出時刻での異常検出の終了後、前記タイ
マへの設定を保留すべきものと決定された異常検出時刻
を、該タイマ手段に設定することを特徴とする誘導性負
荷駆動装置の異常検出方法。
2. The abnormality detection method for an inductive load driving device according to claim 1, wherein, as a result of the determination, when the abnormality detection time of the other energization path has already been set in the timer means, the signal level is reduced. Of the energized path corresponding to the changed control signal and the abnormality detected time of the other energized paths are compared to determine which is earlier. Based on the result of the comparison, the earlier abnormality is detected. The time is determined to be set in the timer means, and the later abnormality detection time is determined to be suspended in the timer, and the abnormality detection time determined to be set in the timer means is determined in accordance with the abnormality detection time. The timer means is set to a state, and after the end of the abnormality detection at the set abnormality detection time, the abnormality detection time determined to suspend the setting of the timer is transmitted to the timer means. A method for detecting an abnormality of an inductive load driving device, wherein the method is set.
【請求項3】 請求項2記載の誘導性負荷駆動装置の異
常検出方法において、 前記比較判断を行う前に、前記他の通電経路の異常検出
時刻が現時点で既に過ぎているか若しくは現時点から所
定時間以内かどうかを判断し、該異常検出時刻が現時点
で既に過ぎているか若しくは現時点から所定時間以内で
あるときには、該異常検出時刻を該タイマ手段に設定す
べきと決定すると共に、前記信号レベルが変化した制御
信号に対応する通電経路の異常検出時刻を該タイマ手段
への設定を保留すべきと決定することを特徴とする誘導
性負荷駆動装置の異常検出方法。
3. The abnormality detection method for an inductive load driving device according to claim 2, wherein the abnormality detection time of the other energization path has already passed at the present time or a predetermined time from the present time before the comparison judgment is performed. It is determined whether or not the abnormality detection time is already passed at the present time or within a predetermined time from the current time, and it is determined that the abnormality detection time is to be set in the timer means, and the signal level is changed. An abnormality detection time of an energization path corresponding to the control signal determined to be set to be deferred to the timer means.
【請求項4】 請求項2又は3記載の誘導性負荷駆動装
置の異常検出方法において、 該タイマ手段への設定を保留すべきものと決定された異
常検出時刻を前記タイマ手段に設定する前に、該異常検
出時刻が現時点で既に過ぎているかどうかを判断し、該
異常検出時刻が現時点で過ぎているときには、該タイマ
手段への該異常検出時刻の設定を中止すると共に、該異
常検出時刻に対応する通電経路の異常検出を行うことを
特徴とする誘導性負荷駆動装置の異常検出方法。
4. The abnormality detection method for an inductive load driving device according to claim 2, wherein the abnormality detection time determined to be suspended from being set in the timer means is set in the timer means. It is determined whether or not the abnormality detection time has already passed at the present time. If the abnormality detection time has passed at this time, the setting of the abnormality detection time in the timer means is stopped, and the abnormality detection time is set. A method for detecting an abnormality in an inductive load driving device, wherein the method detects an abnormality in a current supply path.
【請求項5】 複数の誘導性負荷の通電経路毎に各々配
置されたスイッチング手段に対して制御信号を夫々出力
し、該各制御信号の信号レベルを夫々変化させることに
より該各通電経路を断続させて、該各誘導性負荷を駆動
する誘導性負荷駆動装置に設けられ、 前記各誘導性負荷を含む各通電経路の通電状態を検出可
能に構成され、該検出した通電状態と前記制御信号とに
基づいて、該各通電経路の異常を検出する異常検出手段
と、 該異常検出手段による異常検出を、前記制御信号の信号
レベルの変化タイミングから予め定められた所定時間遅
延した異常検出時刻に行うために、該異常検出時刻を設
定可能に構成され、該設定された異常検出時刻になると
その旨を出力するタイマ手段と、 該タイマ手段に、所定の通電経路の異常検出時刻を設定
するタイマ設定手段と、 前記タイマ手段から異常検出時刻となった旨が出力され
ると、前記異常検出手段に、所定の通電経路の異常検出
を行わせる異常検出制御手段と、 を備えた異常検出装置であって、 前記タイマ手段に異常検出時刻が設定されると、該設定
された異常検出時刻に行うべき異常検出の対象である通
電経路を記憶する検出対象記憶手段と、 前記何れかの通電経路に対応する制御信号の信号レベル
が変化すると、前記検出対象記憶手段の記憶内容を参照
して、他の通電経路の異常検出時刻が前記タイマ手段に
設定されているかどうかを判断する設定状態判断手段
と、 を備え、 前記タイマ設定手段は、前記設定状態判断手段による判
断の結果、前記他の通電経路の異常検出時刻が前記タイ
マ手段に設定されていないときには、前記信号レベルが
変化した制御信号に対応する通電経路の異常検出時刻を
前記タイマ手段に設定し、 前記異常検出制御手段は、前記タイマ手段から異常検出
時刻となった旨が出力されると、前記検出対象記憶手段
の記憶内容を参照して、前記異常検出手段に行わせるべ
き異常検出の対象を特定することを特徴とする誘導性負
荷駆動装置の異常検出装置。
5. A control signal is output to switching means arranged for each of the plurality of inductive load energizing paths, and each of the energizing paths is intermittently changed by changing the signal level of each control signal. The inductive load driving device that drives each of the inductive loads is configured to be capable of detecting an energized state of each energizing path including the inductive load, and the detected energized state and the control signal are provided. Abnormality detecting means for detecting an abnormality in each of the energizing paths, and performing abnormality detection by the abnormality detecting means at an abnormality detection time delayed by a predetermined time from a change timing of a signal level of the control signal. Therefore, the abnormality detection time is configured to be settable, and when the set abnormality detection time is reached, a timer means is output to that effect, and the timer means is provided with an abnormality detection time of a predetermined energization path. A timer setting means for determining the abnormality detection time, and an abnormality detection control means for causing the abnormality detection means to detect an abnormality in a predetermined energization path when the timer means outputs an abnormality detection time. A detection device, wherein when an abnormality detection time is set in the timer unit, a detection target storage unit that stores an energization path that is a target of abnormality detection to be performed at the set abnormality detection time; When the signal level of the control signal corresponding to the energized path changes, the setting state for determining whether or not the abnormality detection time of another energized path is set in the timer means by referring to the storage content of the detection target storage means. The timer setting means determines when the abnormality detection time of the other energization path is not set in the timer means as a result of the determination by the setting state determining means. An abnormality detection time of the energization path corresponding to the control signal whose signal level has changed is set in the timer means, and the abnormality detection control means outputs the abnormality detection time from the timer means, An abnormality detection device for an inductive load drive device, characterized in that an abnormality detection target to be performed by the abnormality detection unit is specified by referring to storage contents of a detection target storage unit.
【請求項6】 請求項5記載の誘導性負荷駆動装置の異
常検出装置において、 前記設定状態判断手段による判断の結果、前記他の通電
経路の異常検出時刻が前記タイマ手段に設定されている
ときには、前記信号レベルが変化した制御信号に対応す
る通電経路の異常検出時刻及び該他の通電経路の異常検
出時刻の内、何れが早いかを比較判断し、該比較判断の
結果に応じて、早い方の異常検出時刻を該タイマ手段に
設定すべきものと決定すると共に、遅い方の異常検出時
刻を該タイマへの設定を保留すべきものと決定する調停
手段と、 該調停手段により、前記タイマ手段への設定を保留すべ
きものと決定された異常検出時刻に対応する通電経路を
記憶する保留対象記憶手段と、 を備え、 前記タイマ設定手段は、前記調停手段において前記タイ
マ手段に設定すべきものと決定された異常検出時刻を該
タイマ手段に設定された状態とすると共に、該設定した
異常検出時刻における前記異常検出手段による異常検出
の終了後、前記保留対象記憶手段に記憶されている通電
経路の異常検出時刻を該タイマ手段に設定することを特
徴とする誘導性負荷駆動装置の異常検出装置。
6. The abnormality detecting device for an inductive load driving device according to claim 5, wherein as a result of the determination by the setting state determining means, an abnormality detection time of the other energization path is set in the timer means. Which determines which of the abnormality detection time of the energization path corresponding to the control signal whose signal level has changed and the abnormality detection time of the other energization path is earlier, and according to the result of the comparison judgment, Arbitration means for determining that one of the abnormality detection times should be set in the timer means, and deciding that the later abnormality detection time should be set to suspend the timer; and Storage means for storing an energization path corresponding to the abnormality detection time determined to be suspended in the setting of the timer. The abnormality detection time determined to be set in the means is set to the state set in the timer means, and is stored in the suspension target storage means after the abnormality detection by the abnormality detection means at the set abnormality detection time is completed. An abnormality detection device for an inductive load driving device, wherein the abnormality detection time of the energized path is set in the timer means.
【請求項7】 請求項6記載の誘導性負荷駆動装置の異
常検出装置において、 前記調停手段は、前記比較判断を行う前に、前記他の通
電経路の異常検出時刻が現時点で既に過ぎているか若し
くは現時点から所定時間以内かどうかを判断し、該異常
検出時刻が現時点で既に過ぎているか若しくは現時点か
ら所定時間以内であるときには、該異常検出時刻を該タ
イマ手段に設定すべきものと決定すると共に、前記信号
レベルが変化した制御信号に対応する通電経路の異常検
出時刻を該タイマ手段への設定を保留すべきものと決定
することを特徴とする誘導性負荷駆動装置の異常検出装
置。
7. The abnormality detection device for an inductive load driving device according to claim 6, wherein the arbitration unit determines whether the abnormality detection time of the other energization path has already passed at the present time before performing the comparison determination. Or, it is determined whether it is within a predetermined time from the present time, and when the abnormality detection time has already passed at the present time or within a predetermined time from the present time, it is determined that the abnormality detection time should be set in the timer means, An abnormality detection device for an inductive load driving device, wherein an abnormality detection time of an energization path corresponding to a control signal having a changed signal level is determined to be set to suspend the setting of the timer means.
【請求項8】 請求項6又は7記載の誘導性負荷駆動装
置の異常検出装置において、 前記異常検出制御手段は、前記保留対象記憶手段に記憶
されている通電経路の異常検出時刻が前記タイマ設定手
段により前記タイマ手段に設定される前に、該異常検出
時刻が現時点で既に過ぎているかどうかを判断し、該異
常検出時刻が現時点で過ぎているときには、該タイマ設
定手段による該タイマ手段への該異常検出時刻の設定を
禁止すると共に、前記異常検出手段に該通電経路の異常
検出を実行させることを特徴とする誘導性負荷駆動装置
の異常検出装置。
8. The abnormality detection device for an inductive load drive device according to claim 6, wherein the abnormality detection control unit sets the abnormality detection time of the energization path stored in the suspension target storage unit to the timer setting. Before setting the timer means by the means, it is determined whether or not the abnormality detection time has already passed at the present time, and when the abnormality detection time has passed at the present time, the timer setting means sends a signal to the timer means. An abnormality detection device for an inductive load drive device, wherein setting of the abnormality detection time is prohibited, and the abnormality detection means is caused to execute abnormality detection of the conduction path.
JP25881799A 1999-09-13 1999-09-13 Method for detecting failure of inductive load drive and device thereof Pending JP2001086639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25881799A JP2001086639A (en) 1999-09-13 1999-09-13 Method for detecting failure of inductive load drive and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25881799A JP2001086639A (en) 1999-09-13 1999-09-13 Method for detecting failure of inductive load drive and device thereof

Publications (1)

Publication Number Publication Date
JP2001086639A true JP2001086639A (en) 2001-03-30

Family

ID=17325464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25881799A Pending JP2001086639A (en) 1999-09-13 1999-09-13 Method for detecting failure of inductive load drive and device thereof

Country Status (1)

Country Link
JP (1) JP2001086639A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003328827A (en) * 2002-05-14 2003-11-19 Toyota Motor Corp Vehicular control system
JP2007255413A (en) * 2006-02-21 2007-10-04 Aisan Ind Co Ltd Abnormality diagnosing system for load drive system and fuel pump control system
KR101532979B1 (en) * 2012-11-02 2015-07-03 한국전기연구원 System of protective control for substation facilities

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003328827A (en) * 2002-05-14 2003-11-19 Toyota Motor Corp Vehicular control system
US7096112B2 (en) 2002-05-14 2006-08-22 Toyota Jidosha Kabushiki Kaisha Control apparatus for vehicle
JP2007255413A (en) * 2006-02-21 2007-10-04 Aisan Ind Co Ltd Abnormality diagnosing system for load drive system and fuel pump control system
JP4746510B2 (en) * 2006-02-21 2011-08-10 愛三工業株式会社 Load drive system abnormality diagnosis system and fuel pump control system
US8195355B2 (en) 2006-02-21 2012-06-05 Aisan Kogyo Kabushiki Kaisha Fault diagnosis system in load driving arrangement and fuel pump control system
KR101532979B1 (en) * 2012-11-02 2015-07-03 한국전기연구원 System of protective control for substation facilities

Similar Documents

Publication Publication Date Title
JP5381999B2 (en) Vehicle electronic control system, vehicle electronic control unit, and vehicle control synchronization method
JP5739290B2 (en) Electronic control unit
JP6360387B2 (en) Processor system, engine control system, and control method
JP5712783B2 (en) Electronic control unit, in-vehicle network, data transmission method
JP2001086639A (en) Method for detecting failure of inductive load drive and device thereof
JP5928358B2 (en) Information processing device, monitoring device, control device
JP2006180205A (en) Vehicle-mounted transmitter and program
CN110962774B (en) Power supply monitoring device, power supply control system and power supply monitoring method
JP2019084942A (en) Electronic control apparatus
US7869172B2 (en) Digital controller
JP5652198B2 (en) Electronic control device, start control method
JP6515404B2 (en) Communication device, communication method, and program
JP3870974B2 (en) Electronic control unit
JP2016143908A (en) Electronic controller and electronic control system
JP6102667B2 (en) Electronic control unit
JP7063312B2 (en) Electronic control device
JP3711849B2 (en) Microcomputer
CN110243116B (en) Drinking water supply device and supercooling fault detection processing method and device thereof
JP2007028409A (en) Communication system and node connection form specific method
JP2021079733A (en) On-vehicle electronic control device
JP5034972B2 (en) Electronic equipment and programs
JP6402798B2 (en) Control device for vehicle power window device
CN117341435B (en) Control method of domain controller, domain controller and automobile
JP7203582B2 (en) Information processing equipment
JP4225264B2 (en) Communication device