JP4049050B2 - Drive device - Google Patents

Drive device Download PDF

Info

Publication number
JP4049050B2
JP4049050B2 JP2003294693A JP2003294693A JP4049050B2 JP 4049050 B2 JP4049050 B2 JP 4049050B2 JP 2003294693 A JP2003294693 A JP 2003294693A JP 2003294693 A JP2003294693 A JP 2003294693A JP 4049050 B2 JP4049050 B2 JP 4049050B2
Authority
JP
Japan
Prior art keywords
potential side
switching element
voltage
reverse
relay
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.)
Expired - Fee Related
Application number
JP2003294693A
Other languages
Japanese (ja)
Other versions
JP2005065444A (en
Inventor
陽一 佐久間
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP2003294693A priority Critical patent/JP4049050B2/en
Publication of JP2005065444A publication Critical patent/JP2005065444A/en
Application granted granted Critical
Publication of JP4049050B2 publication Critical patent/JP4049050B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、車両のパワーウインドウ開閉用などのモータを駆動する駆動装置に係り、車両の海への転落などによる水没事故が生じた場合でも、モータの勝手な動作が防止できるとともに、電食等が生じ難く、かつ操作に応じた少なくとも規定方向の動作が確実に実現され、しかも水没故障状態を簡素な構成で検出して所定の水没対応措置が的確かつ安価に実現可能な駆動装置に関する。   The present invention relates to a drive device for driving a motor for opening and closing a power window of a vehicle, and even when a submergence accident due to a fall of the vehicle to the sea or the like occurs, the motor can be prevented from being operated freely, and galvanic corrosion or the like. The present invention relates to a drive device that is less likely to occur, can reliably realize at least a specified direction of operation according to an operation, and can detect a submergence failure state with a simple configuration and realize a predetermined submergence countermeasure accurately and inexpensively.

一般に、車両のパワーウインドウ(特に運転席側ウインドウ)などの開閉機構の制御方式としては、挟み込み検出時のウインドウの自動反転機能(挟み込み防止機能)等を実現する電子制御が主流になっている。このため、前記開閉機構の駆動源であるモータに適宜電源供給してその動作を制御する駆動装置としては、例えば特許文献1,2に示されるように、リレーによる駆動方式を採用し、マイクロコンピュータ(以下、マイコンという)を含む制御回路を備えたものが一般的になっている。   In general, as a control method for an opening / closing mechanism such as a power window (especially a driver's seat side window) of a vehicle, electronic control that realizes an automatic window reversal function (anti-pinch function) at the time of pinch detection has become the mainstream. For this reason, as a driving device that appropriately supplies power to a motor that is a driving source of the opening and closing mechanism and controls its operation, a driving method using a relay is adopted as shown in Patent Documents 1 and 2, for example. Those equipped with a control circuit including a microcomputer (hereinafter referred to as a microcomputer) have become common.

即ち、基本的にこの種の駆動装置は、例えば図4(a)又は(b)に示すように、モータ1に電源供給してモータ1をそれぞれ正転方向(例えば車両ウインドウを開けるDOWN方向)又は逆転方向(例えば車両ウインドウを閉じるUP方向)に駆動するための二つのリレー2,3と、モータ1の正転方向又は逆転方向の作動を指令するための操作スイッチ4,5と、この操作スイッチ4,5の操作入力を受けてリレー2,3を制御する制御回路6とを有する。   That is, basically, this type of driving device supplies power to the motor 1 to rotate the motor 1 in the normal rotation direction (for example, the DOWN direction for opening the vehicle window), as shown in FIG. 4A or 4B, for example. Or two relays 2 and 3 for driving in the reverse direction (for example, UP direction for closing the vehicle window), and operation switches 4 and 5 for instructing the operation of the motor 1 in the forward direction or the reverse direction, and this operation And a control circuit 6 that controls the relays 2 and 3 in response to operation inputs of the switches 4 and 5.

ここで、各リレーは、それぞれ励磁用のリレーコイル2a,3aと、例えばコモン端子(以下、C端子という。),ノーマルオープン端子(以下、NO端子という。)及びノーマルクローズド端子(以下、NC端子という。)を有する接点部2b,3bとよりなり、リレーコイルの通電(即ち、励磁)が行われていない非作動状態ではC端子とNC端子が接続された状態となり、リレーコイルの通電が行われた作動状態ではC端子とNO端子が接続された状態となる。
これらリレー2,3のNO端子は、電源ラインL1(電源の高電位側に接続されたライン;例えば12V)に接続され、NC端子は、グランドラインLGに接続されている。またリレーのC端子は、モータコイルの両端子のうちのいずれか一方(正転又は逆転を実現する所定の端子)に接続されている。
Here, each relay includes an exciting relay coil 2a, 3a, a common terminal (hereinafter referred to as C terminal), a normally open terminal (hereinafter referred to as NO terminal), and a normally closed terminal (hereinafter referred to as NC terminal), for example. In the non-operating state in which the relay coil is not energized (ie, excited), the C terminal and the NC terminal are connected, and the relay coil is energized. In the broken operation state, the C terminal and the NO terminal are connected.
The NO terminals of these relays 2 and 3 are connected to a power supply line L1 (a line connected to the high potential side of the power supply; for example, 12V), and the NC terminal is connected to the ground line LG. The C terminal of the relay is connected to either one of both terminals of the motor coil (a predetermined terminal that realizes normal rotation or reverse rotation).

また操作スイッチ4,5は、車両の運転者などが操作可能な共通の操作部(揺動する操作ノブなど)の操作により作動するスイッチ接点(ノーマルオープン型のいわゆるa接点)を有する。各スイッチ接点は、C端子が例えばグランドラインLGに接続され、NO端子が制御回路6の入力端子に接続されるとともに、プルアップ抵抗を介して例えば電源ラインL2に接続されている。   The operation switches 4 and 5 have switch contacts (normally open type so-called “a contacts”) that are operated by operation of a common operation unit (such as a swinging operation knob) that can be operated by a driver of the vehicle. Each switch contact has a C terminal connected to, for example, a ground line LG, an NO terminal connected to an input terminal of the control circuit 6, and is connected to, for example, a power supply line L2 via a pull-up resistor.

また制御回路6は、各リレーコイル2a,3aの通電ライン上(図4(a)ではグランド側、図4(b)では高電位側)にそれぞれ設けられたスイッチング素子(この場合、図4(a)ではNPN型トランジスタ7,8、図4(b)ではPNP型トランジスタ9,10)と、このスイッチング素子を駆動制御する処理回路11(例えば、ワンチップのマイコンを含むもの)とを備える。   Further, the control circuit 6 has switching elements (in this case, FIG. 4 (FIG. 4A)) provided on the energization lines of the relay coils 2a and 3a (the ground side in FIG. 4A and the high potential side in FIG. 4B). a) includes NPN transistors 7 and 8; in FIG. 4B, PNP transistors 9 and 10); and a processing circuit 11 (for example, including a one-chip microcomputer) for driving and controlling the switching elements.

この処理回路11は、操作スイッチ4,5の各NO端子の端子電圧を読み込み、操作部が何れかの向きに操作されたか否かの判定を行い、その判定結果に応じて所定のリレーコイルの通電制御(即ち、モータの正転又は逆転の駆動制御)を実行する。即ち処理回路11は、操作部が例えば一方向(正転を指令する方向)に操作されて、操作スイッチ4のC端子と一方のNO端子が接続された状態になると、このNO端子の端子電圧がグランドレベルとなることで、モータ1を例えば正転させる操作指令が入力されたと判定し、正転側のスイッチング素子(トランジスタ7又は9)をオンする駆動信号を出力する。そして、正転側のスイッチング素子がオンすると、正転側のリレー2が作動して、そのリレー2のC端子とNO端子を介して、モータコイルの両端子のうちの一方(正転側の端子)だけが電源ラインL1に接続されて、モータが例えば正転する。   The processing circuit 11 reads the terminal voltage of each NO terminal of the operation switches 4 and 5, determines whether or not the operation unit has been operated in any direction, and determines the predetermined relay coil according to the determination result. Energization control (that is, forward or reverse drive control of the motor) is executed. That is, when the operation unit is operated in one direction (direction instructing normal rotation), for example, the processing circuit 11 is in a state where the C terminal of the operation switch 4 and one NO terminal are connected to each other. Becomes the ground level, it is determined that an operation command for rotating the motor 1 forward, for example, is input, and a drive signal for turning on the switching element (transistor 7 or 9) on the forward rotation side is output. Then, when the forward rotation side switching element is turned on, the forward rotation side relay 2 is operated, and one of the two terminals of the motor coil (the forward rotation side) is connected via the C terminal and the NO terminal of the relay 2. Only the terminal) is connected to the power supply line L1, and the motor rotates forward, for example.

なお、例えば車両のパワーウインドウでは、車種又は座席(特に運転席側ウインドウ)によっては、オート動作機能(例えば操作ノブを大きく開方向に操作すると、操作ノブの操作を止めても、全開位置までウインドウが自動的に動作する機能)が設けられる。この場合には、操作スイッチの接点としてオート動作用の接点がさらに設けられ、この接点がオンすると(即ち、オート動作が指令されると)、処理回路11の制御で何れかのリレーが全開又は全閉位置まで駆動され続け、指令された方向のオート動作が実現される構成となっている。   For example, in the case of a vehicle power window, depending on the vehicle type or seat (especially the driver's seat side window), an automatic operation function (for example, if the operation knob is operated largely in the opening direction, the window is opened to the fully opened position even if the operation knob is stopped). Is automatically operated). In this case, a contact for auto operation is further provided as a contact of the operation switch. When this contact is turned on (that is, when auto operation is instructed), either relay is fully opened or controlled by the control of the processing circuit 11. It continues to be driven to the fully closed position, and the automatic operation in the commanded direction is realized.

特開平11−36700号公報JP-A-11-36700 特開平11−41961号公報Japanese Patent Application Laid-Open No. 11-41961

しかし、上記従来の駆動装置においては、水没時にリレーコイルの下流側でリークが発生した場合、そのリーク抵抗によっては、何れか一方又は両方のリレーがユーザの意思に無関係にオンして、ウインドウが勝手に作動したり、ウインドウがユーザの操作に応じて作動しなくなったりする問題があった。   However, in the above-described conventional drive device, when a leak occurs on the downstream side of the relay coil when submerged, depending on the leak resistance, either or both relays are turned on regardless of the user's intention, and the window opens. There was a problem that it could operate without permission or that the window would not operate in response to a user operation.

そこで、特許文献1には、水没時にウインドウが勝手に動作する問題を解消するため、水没を検出して両リレーを同時にオンしてモータコイルの両端子を何れも電源ラインに接続する技術が開示されている。しかしこの場合には、水没時にモータコイルの両端子側が高電位(バッテリー電圧)になるため、グランドレベルである筐体(車両のボディ)へのリークによるモータコイルやその通電ラインを構成する回路導体等の電食(電気の流れにより生じる腐食)が著しく促進される弊害や、万が一、モータ通電ラインを構成するハーネスがドアとボディの間に挟み込まれていた場合などには、水没時に両リレーが同時にオンされた時点で発煙又は発火が発生する恐れがあるという問題がある。   Therefore, Patent Document 1 discloses a technique for detecting the submergence, turning on both relays at the same time, and connecting both terminals of the motor coil to the power supply line in order to solve the problem that the window operates arbitrarily when submerged. Has been. However, in this case, since both terminals of the motor coil are at a high potential (battery voltage) when submerged in water, the circuit conductors constituting the motor coil and its energization line due to leakage to the chassis (vehicle body) at the ground level If the electrical corrosion (corrosion caused by the flow of electricity) is significantly accelerated, or if the harness that constitutes the motor energizing line is sandwiched between the door and the body, both relays will be There is a problem that smoke or ignition may occur at the same time when they are turned on.

なお、パワーウインドウなどの車両におけるシステムの駆動装置では、車両全体がグランド電位を占める中で、バッテリー電圧を出力する端子その他の回路導体は、水没時の電食の進行が非常に早く、水没時に最終的には腐食してオープンに至って本来の機能を満足しなくなるため、それによりシステムの誤動作を招く恐れがある。また、バッテリー電圧を出力する端子等の周囲では、バッテリー電圧とグランド電位の間での電気分解のため、水没時に電荷の流れが急速に始まり、周辺の回路が水没時にリークし易く、それにより誤動作を引き起こす可能性が高いという問題があった。
また、特許文献1の技術では、水没時に操作に応じたモータの動作を確実に実現することができないという問題もある。
In addition, in a system drive device in a vehicle such as a power window, the terminal of the battery voltage and other circuit conductors in the vehicle occupy the ground potential. Eventually, it will corrode and become open and fail to satisfy its original function, which may lead to system malfunction. In addition, around the terminals that output the battery voltage, etc., because of the electrolysis between the battery voltage and the ground potential, the flow of charges starts rapidly when submerged, and the surrounding circuits are likely to leak when submerged, thereby causing malfunctions. There was a problem that is likely to cause.
In addition, the technique disclosed in Patent Document 1 has a problem that it is impossible to reliably realize the operation of the motor according to the operation when submerged.

次に、特許文献2には、水没時にウインドウが確実に操作可能(少なくとも開方向に作動させることが可能)となるようにするため、リレーコイルの両側にスイッチング素子(トランジスタ)又はスイッチ接点を設け、スイッチ操作時には、操作方向に応じた一方のリレーコイルの両側が同期してオンすることによって、所定のリレーコイルのみを確実に駆動する装置が開示されている。しかしこの装置は、水没状態か否かを検知する機能がないため、水没時に例えば規定方向(例えば、ウインドウの開方向)の動作のみを可能として他の動作を禁止すること、或いは水没したことの記録を残すといった水没対応措置ができないという課題がある。   Next, in Patent Document 2, switching elements (transistors) or switch contacts are provided on both sides of the relay coil in order to ensure that the window can be reliably operated (at least can be operated in the opening direction) when submerged. An apparatus is disclosed that reliably drives only a predetermined relay coil by synchronously turning on both sides of one relay coil in accordance with the operation direction when the switch is operated. However, since this device does not have a function of detecting whether or not it is submerged, it can only be operated in a specified direction (for example, the opening direction of the window) when submerged, and other operations are prohibited or submerged. There is a problem that measures against submersion such as keeping records cannot be taken.

なお、特許文献2の装置に対して、特許文献1のように水没検知手段(水没検出用のギャップや水没検知パッドや水没検知用のオープン端子など)を別途設けることによって、水没を検知して水没対応措置を実行することは可能である。しかし、水没検知手段を設けると、コスト増などの弊害がある。また水没検出手段は、水没したこと自体を検出するため、水没によりモータが誤動作する可能性の高い状態(水没故障状態)になっていない場合でも、上記水没対応措置を実行して例えば規定方向の動作(例えばウインドウの閉方向の動作)を禁止してしまったり、特許文献1のように両方向のリレーをオンにしてモータの全動作を禁止してしまうといった問題もある。   In addition, the submergence detection means (a submergence detection gap, a submergence detection pad, a submergence detection open terminal, etc.) is separately provided for the apparatus of Patent Document 2 to detect submergence as in Patent Document 1. It is possible to implement submersion measures. However, the provision of submergence detection means has a detrimental effect such as an increase in cost. Also, the submergence detection means detects the submergence itself, so even if the motor is not likely to malfunction due to submergence (submergence failure state), the submergence countermeasures are executed, for example, in the specified direction. There is also a problem that the operation (for example, the operation in the closing direction of the window) is prohibited, or the relay in both directions is turned on and the entire operation of the motor is prohibited as in Patent Document 1.

そこで本発明は、車両のパワーウインドウ開閉用などのモータを駆動する駆動装置に係り、車両の海への転落などによる水没事故が生じた場合でも、モータの勝手な動作が防止できるとともに、電食等が生じ難く、かつ操作に応じた少なくとも規定方向の動作が確実に実現され、しかも水没故障状態を簡素な構成で検出して所定の水没対応措置が的確かつ安価に実現可能な駆動装置を提供することを目的としている。   Therefore, the present invention relates to a drive device for driving a motor for opening and closing a power window of a vehicle, and even when a submergence accident due to a fall of the vehicle into the sea or the like occurs, it is possible to prevent the motor from operating freely and Providing a drive device that can reliably achieve at least a specified direction of operation according to the operation, detect a submergence failure state with a simple configuration, and implement a predetermined submergence countermeasure accurately and inexpensively. The purpose is to do.

本願の駆動装置は、モータに電源供給してそれぞれモータを正転又は逆転させる正転用リレーと逆転用リレーを有し、モータの正転方向又は逆転方向の動作を指令する操作部の作動状態に応じて、前記二つのリレーのうちのいずれか一方を作動させてモータを正転方向又は逆転方向に駆動する駆動装置であって、
前記正転用リレーのコイルの高電位側端子と電源の高電位側との間を開閉する正転用高電位側スイッチング素子と、
前記逆転用リレーのコイルの高電位側端子と電源の高電位側との間を開閉する逆転用高電位側スイッチング素子と、
前記正転用リレーのコイルの低電位側端子とグランド側との間を開閉する正転用低電位側スイッチング素子と、
前記逆転用リレーのコイルの低電位側端子とグランド側との間を開閉する逆転用低電位側スイッチング素子と、
前記正転用リレーのコイルの端子間電圧を検出する正転用コイル電圧検出手段と、
前記逆転用リレーのコイルの端子間電圧を検出する逆転用コイル電圧検出手段と、
所定の診断条件が成立すると診断処理を実行する機能、及び少なくとも通常状態で通常制御を実行する機能を有する制御手段とを備え、
前記通常制御が、操作部が非操作状態にあるときには、前記正転用高電位側スイッチング素子、正転用低電位側スイッチング素子、逆転用高電位側スイッチング素子、及び逆転用低電位側スイッチング素子をオフ状態(開状態)に維持し、前記操作部がモータの正転方向の動作を指令した操作状態になると、前記正転用高電位側スイッチング素子と正転用低電位側スイッチング素子をオン状態としてモータを正転させ、前記操作部がモータの逆転方向の動作を指令した操作状態になると、前記逆転用高電位側スイッチング素子と逆転用低電位側スイッチング素子をオン状態としてモータを逆転させるものであり、
前記診断処理が、前記正転用高電位側スイッチング素子と逆転用高電位側スイッチング素子をオン状態(閉状態)として、前記正転用コイル電圧検出手段と逆転用コイル電圧検出手段により検出されている各端子間電圧を読み取り、前記正転用コイル電圧検出手段により検出されている正転側端子間電圧と、前記逆転用コイル電圧検出手段により検出されている逆転側端子間電圧の両方がリレー動作電圧以上であると、水没故障状態であると判断するものである。
The drive device of the present application has a forward rotation relay and a reverse rotation relay that supply power to the motor to rotate the motor in the normal direction or the reverse direction, respectively, and is in an operating state of the operation unit that commands the operation in the forward direction or the reverse direction of the motor. In response, a driving device that operates one of the two relays to drive the motor in the forward direction or the reverse direction,
A high-potential side switching element for normal rotation that opens and closes between the high-potential side terminal of the coil of the forward-rotation relay and the high-potential side of the power source;
A high potential side switching element for reverse rotation that opens and closes between a high potential side terminal of the coil of the reverse relay and a high potential side of the power source;
A forward-rotating low-potential side switching element that opens and closes between a low-potential-side terminal of the coil of the forward-rotating relay and the ground side;
A low potential side switching element for reverse rotation that opens and closes between a low potential side terminal of the coil of the reverse relay and the ground side;
A forward coil voltage detecting means for detecting a voltage between terminals of the coil of the forward relay;
A reverse coil voltage detecting means for detecting a voltage between terminals of the coil of the reverse relay;
A control unit having a function of executing a diagnosis process when a predetermined diagnosis condition is satisfied, and a function of executing a normal control at least in a normal state;
In the normal control, when the operation unit is in a non-operating state, the forward high potential side switching element, the normal rotation low potential side switching element, the reverse rotation high potential side switching element, and the reverse rotation low potential side switching element are turned off. When the operation unit is in an operation state in which the operation unit is instructed to operate in the normal rotation direction of the motor, the high-potential switching element for normal rotation and the low-potential switching element for normal rotation are turned on. When the operation unit is in an operation state in which the operation unit is commanded to operate in the reverse direction of the motor, the high potential side switching element for reverse rotation and the low potential side switching element for reverse rotation are turned on to reverse the motor,
Each of the diagnostic processing is detected by the forward rotation coil voltage detection means and the reverse rotation coil voltage detection means with the forward rotation high potential side switching element and the reverse rotation high potential side switching element turned on (closed state). The terminal voltage is read and both the forward terminal voltage detected by the forward coil voltage detecting means and the reverse terminal voltage detected by the reverse coil voltage detecting means are both equal to or higher than the relay operating voltage. If it is, it is judged that it is a submerged failure state.

ここで、「モータ」とは、電力によって機械的な駆動力を出力するアクチュエータであって、必ずしも回転型モータに限られず、例えばリニアモータであってもよいことはいうまでもない。また、「正転」又は「逆転」とは、「モータ」の一方向又は他方向の動作を意味し、必ずしも一方向又は他方向の回転運動に限定されるものでない。
また、「グランド側」とは、アースライン又は電源の低電位側に接続されたラインを意味する。
また、「端子間電圧の両方がリレー動作電圧以上である」における「以上である」というのは、必ずしも厳密な意味ではない。例えば、水没故障判断の感度を必要に応じて高めるべく、端子間電圧とリレー動作電圧の差が規定の許容値以下又は未満であると、「動作電圧以上である」と判断する内容でもよい。或いは、上記「リレー動作電圧」を実際のリレー動作電圧よりも所要の余裕分(例えば、バッテリー電圧の変動分などを考慮した余裕分)だけ低い値に設定してもよい。
Here, the “motor” is an actuator that outputs a mechanical driving force by electric power, and is not necessarily limited to a rotary motor, and may of course be a linear motor. Further, “forward rotation” or “reverse rotation” means an operation in one direction or the other direction of the “motor”, and is not necessarily limited to a rotational movement in one direction or the other direction.
The “ground side” means an earth line or a line connected to the low potential side of the power source.
In addition, “more than” in “both voltages between terminals are equal to or higher than the relay operating voltage” does not necessarily mean strictly. For example, the content may be determined to be “above operating voltage” when the difference between the inter-terminal voltage and the relay operating voltage is less than or less than a specified allowable value in order to increase the sensitivity of submergence failure determination as necessary. Alternatively, the “relay operating voltage” may be set to a value that is lower than the actual relay operating voltage by a required margin (for example, an allowance in consideration of fluctuations in battery voltage, etc.).

また、「コイル電圧検出手段」は、例えば、コイルの高電位側端子の電圧(高電位側端子に印加される電源電圧でもよい)と低電位側端子の電圧に応じた信号電圧をそれぞれ出力する電圧検出手段(例えば、各コイル端子又は電源に接続された信号ラインと分圧抵抗等よりなるもの)と、これら信号電圧の差を、前記端子間電圧として演算する演算手段(例えば、差分回路、或いはマイコン)とによって構成することができる。なお、コイルの高電位側端子に印加される電源電圧が一定である場合には、上記演算手段に上記電源電圧に相当する値を一定値として与えるようにすればよく、その高電位側端子のための電圧検出手段は必ずしも必要でないことはいうまでもない。
また、診断処理において、各端子間電圧がリレー動作電圧以上になっているか否かの判定処理は当然実質的に実行されればよい。例えば、後述する形態例のように、バッテリ電圧(VBAT)とリレー動作電圧(VRY)の差であるリレー動作低電位側電圧(Von=VBAT−VRY)を求めておき、各リレーコイルの低電位側端子電圧(Vup,Vdn)がこのリレー動作低電位側電圧(Von)以下であれば、各端子間電圧(VBAT−Vup,VBAT−Vdn)がリレー動作電圧(VRY)以上であるから、水没故障状態であると判断する処理内容でもよい。
The “coil voltage detection means” outputs, for example, a signal voltage corresponding to the voltage of the high potential side terminal of the coil (which may be a power supply voltage applied to the high potential side terminal) and the voltage of the low potential side terminal, respectively. Voltage detection means (for example, a signal line connected to each coil terminal or a power source and a voltage dividing resistor) and arithmetic means for calculating a difference between these signal voltages as the inter-terminal voltage (for example, a difference circuit, Or a microcomputer). When the power supply voltage applied to the high potential side terminal of the coil is constant, a value corresponding to the power supply voltage may be given to the arithmetic means as a constant value. Needless to say, the voltage detecting means is not always necessary.
In the diagnosis process, the process for determining whether or not each terminal voltage is equal to or higher than the relay operating voltage may be substantially executed. For example, as in an embodiment described later, a relay operation low potential side voltage (Von = VBAT−VRY) which is a difference between the battery voltage (VBAT) and the relay operation voltage (VRY) is obtained, and the low potential of each relay coil is obtained. If the side terminal voltage (Vup, Vdn) is less than or equal to this relay operation low potential side voltage (Von), the voltage between the terminals (VBAT-Vup, VBAT-Vdn) is greater than or equal to the relay operation voltage (VRY). The processing content that is determined to be a failure state may be used.

また、「診断条件」とは、例えば操作部が非操作状態にあり、モータ動作のために何れかのスイッチング素子を駆動すべき状態でないことである。即ち、例えば一定の周期で、操作部が非操作状態であり、かつオート動作中でない状態にあるか否か判断し、非操作状態であり、かつオート動作中でなければ、診断条件が成立しているとして、前記診断処理を実行する態様が有り得る。なお、前記診断処理を適正に実行するためには、リレーコイル両側のスイッチング素子を駆動する通常制御ができないから、このような条件を設定することが必要となる。但し、前記診断処理を通常制御に優先して実行する仕様(例えば、診断処理実行タイミングに操作部が操作された時には、通常制御を保留して診断処理を先に実行し、この診断処理終了後に操作に応じた必要な通常制御を実行する仕様)でもよい場合には、例えば一定の実行周期が経過する度に上記診断条件が必ず成立して診断処理を実行する態様でもよい。
また、「通常状態」とは、装置が正常に稼動し、故障状態(水没故障状態或いは後述する回路故障状態)と判断されていない状態を意味する。
The “diagnostic condition” means that, for example, the operating unit is in a non-operating state, and any switching element is not to be driven for motor operation. That is, for example, at a certain cycle, it is determined whether or not the operation unit is in a non-operating state and not in an automatic operation state. The diagnosis process may be executed. In order to properly execute the diagnosis process, it is necessary to set such a condition because normal control for driving the switching elements on both sides of the relay coil cannot be performed. However, a specification for executing the diagnosis process in preference to the normal control (for example, when the operation unit is operated at the diagnosis process execution timing, the normal process is suspended and the diagnosis process is executed first. For example, the diagnosis condition may be satisfied and the diagnosis process may be executed whenever a certain execution cycle elapses.
The “normal state” means a state in which the apparatus operates normally and is not determined as a failure state (a submerged failure state or a circuit failure state described later).

本願の駆動装置では、各リレーコイルの両側にスイッチング素子が設けられ、非操作時には、基本的に(診断処理実行中等を除き)全てのスイッチング素子がオフ状態に維持され、操作時には、基本的に操作方向に応じた一方のリレーコイルの両側のスイッチング素子のみがオン状態とされることによって、所定のリレーコイルのみが確実に駆動される。このため、非操作時には、基本的に各リレーコイルの両端が通電ラインから切り離された状態(各リレーはオフ状態)に維持され、水没してもモータが勝手に動作することが防止できる。また基本的に(後述する動作方向規制状態でモータ動作が一方向に制限されている場合等を除き)、水没時であっても、操作に応じた両方向の動作が確実に実現される。しかも水没時に、非操作状態であれば、モータコイル端子の電位を両方ともグランド電位に安定的に維持できるので、前述の電食やリークの促進による発火や周辺回路の誤動作の問題が解消できる。   In the drive device of the present application, switching elements are provided on both sides of each relay coil. When not operated, all the switching elements are basically kept off (except during execution of diagnostic processing). By turning on only the switching elements on both sides of one relay coil corresponding to the operation direction, only the predetermined relay coil is reliably driven. For this reason, at the time of non-operation, the both ends of each relay coil are basically maintained in a state of being disconnected from the energization line (each relay is in an off state), and the motor can be prevented from operating arbitrarily even if submerged. Basically (except when the motor operation is restricted to one direction in the operation direction restricted state described later), the operation in both directions according to the operation is reliably realized even when submerged. In addition, if the motor coil terminal is in a non-operating state when submerged, both of the potentials of the motor coil terminals can be stably maintained at the ground potential, so that the above-described problems of firing due to electrolytic corrosion and leakage and malfunction of peripheral circuits can be solved.

また本願の駆動装置によれば、前記診断条件成立時に実行される診断処理によって、水没検出手段を別途設けることなく、水没により誤動作が生じる可能性の高い状態(水没故障状態)を的確に、しかも簡素な構成で安価に検出できる。前記診断処理は、高電位側の各スイッチング素子だけをオン状態とした時の各リレーコイルの端子間電圧を読み取り、端子間電圧が両方ともリレーの動作電圧以上であると水没故障状態と判断するものである。このため、各リレーコイルの低電位側において、リレーを誤動作させるグランド側へのリークが発生していれば、この診断処理で上記水没故障状態と判断されるからである。なお、水没時には、水没初期を除いてリレーコイルの片側だけでリークが発生する可能性は低く、またリレーコイルの低電位側におけるリークが誤動作を引き起こし易いので、このような診断処理で上記水没故障状態がより的確に判断される。   Further, according to the driving device of the present application, the diagnosis process executed when the diagnosis condition is satisfied, without providing a submergence detection unit, accurately a state where a malfunction is likely to occur due to submergence (submergence failure state). It can be detected inexpensively with a simple configuration. The diagnosis process reads the voltage between terminals of each relay coil when only the switching elements on the high potential side are turned on, and determines that the submergence failure state is obtained when both the terminal voltages are equal to or higher than the relay operating voltage. Is. For this reason, if leakage to the ground side that causes the relay to malfunction occurs on the low potential side of each relay coil, it is determined that the submergence failure state is caused by this diagnostic processing. When submerged, it is unlikely that leaks will occur on only one side of the relay coil except in the initial stage of submergence, and leaks on the low potential side of the relay coil are likely to cause malfunctions. The state is judged more accurately.

次に、本願の好ましい態様は、前記制御手段が、前記診断処理において水没故障状態であると判断すると、予め決められた規定方向(例えば、ウインドウの開方向)のモータ動作のみを操作可能とする動作方向規制状態となり、この動作方向規制状態では、前記操作部がモータの規定方向の動作を指令した操作状態にならない限り、前記正転用高電位側スイッチング素子、正転用低電位側スイッチング素子、逆転用高電位側スイッチング素子、及び逆転用低電位側スイッチング素子をオフ状態に維持するものである。
このような態様であると、水没故障状態において、規定方向のモータ操作を可能にしつつ、規定方向操作以外のモータ動作を全て確実に禁止して、モータの勝手な動作に加え、規定方向以外の方向(例えば、ウインドウの閉方向)への不用意なモータ操作を防止することができる。
Next, according to a preferred aspect of the present application, when the control means determines that a submergence failure state is present in the diagnostic processing, only the motor operation in a predetermined specified direction (for example, a window opening direction) can be operated. The operation direction is restricted, and in this operation direction restriction state, the forward high potential side switching element, the forward low potential side switching element, the reverse rotation, unless the operation unit is in the operation state instructed to operate in the specified direction of the motor. The high potential side switching element for switching and the low potential side switching element for reverse rotation are maintained in the OFF state.
In such a mode, in the submerged failure state, the motor operation in the specified direction is enabled, and all the motor operations other than the specified direction operation are surely prohibited, in addition to the arbitrary operation of the motor, Inadvertent motor operation in the direction (for example, the closing direction of the window) can be prevented.

但し、本願における水没故障状態検出時の対応措置は、上記対応措置(規定方向のモータ動作のみを操作可能とする措置)に限定されるものではなく、システムの種類や水没対応に関する考え方によっては、異なる対応措置(例えば、両方向の操作を通常どおり可能とするもの、或いは両方向の操作を禁止するもの)を行ってもよい。また、上述したようなモータ動作に関する対応措置に限られず、水没故障状態を検出した時には、例えば警報を出力する措置を実行したり、その記録(例えばダイヤグデータ)を残す処理を実行したりしてもよい。   However, the countermeasures at the time of submergence fault detection in the present application are not limited to the above countermeasures (measures that allow only the motor operation in the specified direction to be operated). Different countermeasures may be taken (for example, one that allows operation in both directions as usual, or one that prohibits operation in both directions). In addition, it is not limited to the countermeasures related to the motor operation as described above, and when a submerged failure state is detected, for example, a measure for outputting an alarm is executed, or a process for leaving a record (eg, diagnostic data) is executed. May be.

また、本願の別の好ましい態様は、前記制御手段が、前記診断処理において、前記正転側端子間電圧と逆転側端子間電圧のうちの何れか一方がリレー動作電圧以上であると、低電位側回路故障状態であると判断するものである。
このような態様であると、前記診断処理によって、水没故障状態に加え、低電位側回路故障状態も的確かつ安価に検出可能となる。
ここで、「低電位側回路故障状態」とは、例えば低電位側のスイッチング素子を駆動する出力回路が故障して、操作に無関係に(制御手段の制御に無関係に)低電位側のスイッチング素子がオン状態のままとなっているような故障を意味する。このような故障は、水没によるリークと異なり、両方のリレーコイルについて同時に発生する可能性は低いため、上述したような判断条件(正転側端子間電圧と逆転側端子間電圧のうちの何れか一方がリレー動作電圧以上であること)によって、的確に判断することができる。また前記診断処理は、前述したように高電位側スイッチング素子のみをオン状態(閉状態)に制御した状態で行われるため、この状態で上述した判断条件が成立しているということは、高電位側ではなく、低電位側スイッチング素子に関する回路故障(即ち、低電位側回路故障状態)であると判断できる。
According to another preferable aspect of the present application, the control unit is configured such that, in the diagnosis process, when one of the forward-side terminal voltage and the backward-side terminal voltage is equal to or higher than the relay operating voltage, a low potential is set. It is determined that the side circuit is faulty.
According to such an aspect, the diagnosis processing can accurately and inexpensively detect a low-potential side circuit fault state in addition to a submerged fault state.
Here, the “low-potential side circuit failure state” means that, for example, the output circuit that drives the low-potential side switching element fails, and the low-potential side switching element is irrelevant to the operation (regardless of the control of the control means) Means a fault that remains on. Such a failure is unlikely to occur at the same time for both relay coils, unlike leakage due to submergence. Therefore, the determination condition as described above (any one of the forward-side terminal voltage and the reverse-side terminal voltage) It is possible to make an accurate determination based on whether one is equal to or higher than the relay operating voltage. Further, since the diagnosis process is performed in a state where only the high-potential side switching element is controlled to be in the on state (closed state) as described above, the above-described determination condition is satisfied in this state. It can be determined that the circuit failure is related to the low-potential side switching element (that is, the low-potential side circuit failure state).

なお、水没初期の過渡状態では、装置の一部に水が浸入して、一時的に一方のリレーコイル側でのみ所定のリークが発生する状況もあり得る。このため、上記回路故障状態の判断では、一定時間以上の判断期間を設けて、例えばこの判断期間中ずっと上記判断条件が成立していた場合にのみ、上記回路故障状態であると判断する構成として、判断の信頼性向上(水没故障状態を回路故障状態と誤判断する可能性低減)を図ってもよい。
また、回路故障状態検出時の対応措置としては、例えば、両方向のモータ動作を禁止する(操作状態に無関係に全スイッチング素子をオフ状態に維持する)、警報を出力する、その記録(例えばダイヤグデータ)を残すなどがあり得る。
Note that in a transient state in the initial stage of submergence, water may enter a part of the apparatus, and a predetermined leak may temporarily occur only on one relay coil side. For this reason, in the determination of the circuit failure state, a determination period of a certain time or more is provided, and for example, only when the determination condition is satisfied throughout the determination period, the circuit failure state is determined. The reliability of the determination may be improved (the possibility of erroneously determining a submerged failure state as a circuit failure state) is reduced.
In addition, as countermeasures when detecting a circuit failure state, for example, the motor operation in both directions is prohibited (all switching elements are maintained in an off state regardless of the operation state), an alarm is output, and the recording (for example, a diagram) Data).

また、本願の別の好ましい態様は、前記制御手段が、前記正転用高電位側スイッチング素子、正転用低電位側スイッチング素子、逆転用高電位側スイッチング素子、及び逆転用低電位側スイッチング素子をオフ状態として(オフ状態に制御して)、前記正転用リレーと逆転用リレーのコイルの端子電圧を読み取り、何れかの端子電圧が電源の高電位側電圧になっていると、高電位側回路故障状態であると判断する高電位側故障判断処理を、所定の実行条件成立時に実行する機能を有するものである。
このような態様であると、上記高電位側故障判断処理によって、水没故障状態(或いはさらに低電位側回路故障状態)に加え、高電位側回路故障状態も的確かつ安価に検出可能となる。
According to another preferable aspect of the present application, the control unit turns off the forward high potential side switching element, the normal rotation low potential side switching element, the reverse rotation high potential side switching element, and the reverse rotation low potential side switching element. As a state (controlled to OFF state), the terminal voltage of the coil for the forward and reverse relays is read, and if any terminal voltage is the high potential side voltage of the power supply, the high potential side circuit failure The high-potential side failure determination process for determining that the state is in a state has a function of executing when a predetermined execution condition is satisfied.
In such a mode, the high potential side failure determination process enables accurate and inexpensive detection of the high potential side circuit failure state in addition to the submergence failure state (or even the low potential side circuit failure state).

ここで、「高電位側回路故障状態」とは、例えば高電位側のスイッチング素子を駆動する出力回路が故障して、操作に無関係に(制御手段の制御に無関係に)高電位側のスイッチング素子がオン状態のままとなっているような故障を意味する。このような故障が起きていると、全スイッチング素子をオフ状態に制御しているにもかかわらず、コイル端子電圧が電源の高電位側電圧に略等しくなるため、上述の高電位側故障判断処理によってこの故障が検出できる。
また、「コイルの端子電圧」は、コイルの高電位側端子の電圧でもよいし、コイルの低電位側端子の電圧でもよい。また、この端子電圧を検出する手段は、前記コイル電圧検出手段を構成する前述の電圧検出手段によって実現できる。
また、上述の高電位側故障判断処理を実行する「実行条件」は、前述の「診断条件」と同様の考え方で設定すればよい。即ち、上述の高電位側故障判断処理は、例えば前述の診断処理と同じ条件で実行してもよく、例えば前述の診断処理の直前又は直後のタイミングで実行すればよい。
また、「端子電圧が電源の高電位側電圧になっていると、高電位側回路故障状態であると判断する」において、「端子電圧が電源の高電位側電圧になっている」は、必要に応じて所要の誤差やマージンを考慮して端子電圧が電源の高電位側電圧(即ち、電源電圧)に略等しいことを意味する。
Here, the “high potential side circuit failure state” means that, for example, the output circuit that drives the high potential side switching element fails, and the high potential side switching element is irrelevant to the operation (regardless of the control of the control means). Means a fault that remains on. When such a failure occurs, the coil terminal voltage becomes substantially equal to the high potential side voltage of the power source even though all the switching elements are controlled to be in the OFF state. This failure can be detected.
The “coil terminal voltage” may be the voltage at the high potential terminal of the coil or the voltage at the low potential terminal of the coil. Further, the means for detecting the terminal voltage can be realized by the above-described voltage detecting means constituting the coil voltage detecting means.
In addition, the “execution condition” for executing the above-described high-potential-side failure determination process may be set based on the same concept as the above-described “diagnosis condition”. That is, the above-described high-potential-side failure determination process may be executed, for example, under the same conditions as the above-described diagnosis process, and may be executed, for example, at a timing immediately before or after the above-described diagnosis process.
In addition, in "Determining that the terminal voltage is the high potential side voltage of the power supply" in "Determining that the high potential side circuit is faulty when the terminal voltage is the high potential side voltage of the power supply" This means that the terminal voltage is substantially equal to the high potential side voltage (that is, the power supply voltage) of the power supply in consideration of required errors and margins.

本発明の駆動装置によれば、水没によるリークでモータが勝手に作動してしまう誤動作が防止できるとともに、既述した電食や発火等の問題が解消され、水没時の動作が安定するという優れた効果が得られる。また基本的に、水没時であっても、操作部の操作に応じて、モータを確実に動作させることができるという効果も得られる。また本駆動装置によれば、所定の診断条件成立時に実行される診断処理によって、水没検出手段を別途設けることなく、水没により誤動作が生じる可能性の高い状態(水没故障状態)を的確に、しかも簡素な構成で安価に検出できる。   According to the drive device of the present invention, it is possible to prevent malfunctions that cause the motor to operate without permission due to leakage due to submergence, and to solve the problems such as electric corrosion and ignition described above, and to stabilize operation during submergence. Effect. In addition, basically, even when submerged, the motor can be reliably operated according to the operation of the operation unit. In addition, according to the present drive device, a state in which there is a high possibility of malfunction due to submersion (submergence failure state) can be accurately performed without a separate submergence detection means by a diagnostic process executed when a predetermined diagnosis condition is established. It can be detected inexpensively with a simple configuration.

以下、本発明の実施の形態を図面に基づいて説明する。
図1は、本例の駆動装置(車両のパワーウインドウの駆動装置)の回路構成の要部を示す図である。なお、装置の外観やスイッチの操作部の機械的構造などは図示省略している。また、図4に示した従来の装置と同様の構成要素には、同符号を使用して説明を省略する。また以下では、ウインドウの開方向がモータ1の正転方向であるとして説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing a main part of a circuit configuration of a driving device (a driving device for a power window of a vehicle) of this example. The external appearance of the device and the mechanical structure of the switch operating unit are not shown. Further, the same components as those of the conventional apparatus shown in FIG. In the following description, it is assumed that the opening direction of the window is the normal rotation direction of the motor 1.

本装置は、図1に示すように、リレー通電用のトランジスタ21(TR1),22(TR2),23(TR3),24(TR4)と、正転用スイッチ接点25(DOWNSW)と、逆転用スイッチ接点26(UPSW)と、オートスイッチ接点27(AUTOSW)と、トランジスタ21,22の駆動制御用のトランジスタ28,29と、制御処理回路50とを備える。
また図1において、符号30〜41で示すものは、分圧用又はプルダウン或いはプルアップ用の抵抗であり、符号42,43で示すものは、リレーオフ時の逆起電圧からトランジスタ21〜24を保護するためのダイオードである。
As shown in FIG. 1, this device includes transistors 21 (TR 1), 22 (TR 2), 23 (TR 3), 24 (TR 4) for relay energization, a switch contact for forward rotation 25 (DOWNSW), and a switch for reverse rotation. A contact 26 (UPSW), an auto switch contact 27 (AUTOSW), transistors 28 and 29 for driving control of the transistors 21 and 22, and a control processing circuit 50 are provided.
In FIG. 1, the reference numerals 30 to 41 indicate resistors for voltage division, pull-down or pull-up, and the reference numerals 42 and 43 protect the transistors 21 to 24 from the back electromotive voltage when the relay is off. It is a diode for.

トランジスタ21(TR1)は、正転用リレー2のコイル2aの高電位側端子と電源の高電位側(電源ラインL1;例えば、12V)との間を開閉する正転用高電位側スイッチング素子である。
トランジスタ22(TR2)は、逆転用リレー3のコイル3aの高電位側端子と電源ラインL1との間を開閉する逆転用高電位側スイッチング素子である。
トランジスタ23(TR3)は、正転用リレー2のコイル2aの低電位側端子とグランド側との間を開閉する正転用低電位側スイッチング素子である。
トランジスタ24(TR4)は、逆転用リレー3のコイル3aの低電位側端子とグランド側との間を開閉する逆転用低電位側スイッチング素子である。
The transistor 21 (TR1) is a forward high potential side switching element that opens and closes between the high potential side terminal of the coil 2a of the forward relay 2 and the high potential side of the power supply (power supply line L1; for example, 12V).
The transistor 22 (TR2) is a reverse high potential side switching element that opens and closes between the high potential side terminal of the coil 3a of the reverse relay 3 and the power supply line L1.
The transistor 23 (TR3) is a forward rotation low potential side switching element that opens and closes between the low potential side terminal of the coil 2a of the forward rotation relay 2 and the ground side.
The transistor 24 (TR4) is a reverse low potential side switching element that opens and closes between the low potential side terminal of the coil 3a of the reverse relay 3 and the ground side.

なおこの場合、トランジスタ21,22はPNP型トランジスタであり、トランジスタ23,24はNPN型トランジスタであるが、上記リレー通電用のスイッチング素子の具体例は、この態様に限定されないことはいうまでもない。例えば、FET(電界効果型トランジスタ)によって、これらスイッチング素子を構成してもよい。   In this case, the transistors 21 and 22 are PNP transistors, and the transistors 23 and 24 are NPN transistors. However, it goes without saying that the specific example of the switching element for energizing the relay is not limited to this mode. . For example, these switching elements may be configured by FETs (field effect transistors).

正転用スイッチ接点25(DOWNSW)は、操作部がモータ1の正転方向のマニュアル動作又はオート動作を指令した状態にあるときに閉状態となるノーマルオープン型のスイッチ接点(いわゆるa接点)である。
逆転用スイッチ接点26(UPSW)は、操作部がモータ1の逆転方向のマニュアル動作又はオート動作を指令した状態にあるときに閉状態となるa接点である。
The forward rotation switch contact 25 (DOWNSW) is a normally open switch contact (so-called a contact) that is closed when the operation unit is in a state of commanding a manual operation or an automatic operation in the forward direction of the motor 1. .
The reverse switch contact 26 (UPSW) is an a contact that is closed when the operation unit is in a state of instructing a manual operation or an automatic operation in the reverse direction of the motor 1.

オートスイッチ接点27(AUTOSW)は、操作部がモータ1の各方向のオート動作を指令した状態にあるときに閉状態となるa接点である。
この場合、正転用スイッチ接点25、逆転用スイッチ接点26、及びオートスイッチ接点27の一方の端子(高電位側端子)は、図1に示すようにプルアップ抵抗38を介して電源ラインL2(電圧Vdd;例えば5V)に接続されるとともに、分圧抵抗39を介して制御処理回路40の後述する入力端子IMD,IMU,IAに接続され、他方の端子(低電位側端子)はグランドラインLGに接続されている。
The auto switch contact 27 (AUTOSW) is an a contact that is closed when the operation unit is in a state of instructing an auto operation in each direction of the motor 1.
In this case, one terminal (high potential side terminal) of the forward switch contact 25, the reverse switch contact 26, and the auto switch contact 27 is connected to the power supply line L2 (voltage) via the pull-up resistor 38 as shown in FIG. Vdd (for example, 5 V) and connected to input terminals IMD, IMU, and IA (described later) of the control processing circuit 40 via the voltage dividing resistor 39, and the other terminal (low potential side terminal) is connected to the ground line LG. It is connected.

トランジスタ28,29は、NPN型トランジスタであり、コレクタ端子が、分圧抵抗31を介してトランジスタ21,22のベース端子に接続されるとともに、分圧抵抗31とプルアップ抵抗30を介して電源ラインL1に接続されている。また、これらトランジスタ28,29のベース端子は、分圧抵抗33を介して制御処理回路40の後述する出力端子OD1,OU1に接続されるとともに、プルダウン抵抗32を介してグランドラインLGに接続されている。また、これらトランジスタ28,29のエミッタ端子は、グランドラインLGに接続されている。   The transistors 28 and 29 are NPN transistors, and their collector terminals are connected to the base terminals of the transistors 21 and 22 via the voltage dividing resistor 31 and are connected to the power supply line via the voltage dividing resistor 31 and the pull-up resistor 30. Connected to L1. The base terminals of the transistors 28 and 29 are connected to output terminals OD1 and OU1 (to be described later) of the control processing circuit 40 through the voltage dividing resistor 33, and are connected to the ground line LG through the pull-down resistor 32. Yes. The emitter terminals of these transistors 28 and 29 are connected to the ground line LG.

制御処理回路50は、マイコンを含む回路であり、信号端子としてIA,IMD,IMU,ID,IU,IB,OD1,OD2,OU1,OU2を有する。
このうち、IAは、オートスイッチ接点27の高電位側端子に前述の分圧抵抗39を介して接続されており、オートスイッチ接点27がオンすると電圧が高電位(H)から低電位(L)に変化する入力端子である。
The control processing circuit 50 is a circuit including a microcomputer, and has IA, IMD, IMU, ID, IU, IB, OD1, OD2, OU1, and OU2 as signal terminals.
Among these, IA is connected to the high potential side terminal of the auto switch contact 27 via the voltage dividing resistor 39, and when the auto switch contact 27 is turned on, the voltage is changed from the high potential (H) to the low potential (L). The input terminal changes to.

またIMDは、正転用スイッチ接点25の高電位側端子に分圧抵抗39を介して接続された入力端子である。この場合、正転用スイッチ接点25がオンすると、この入力端子IMDの電圧は、高電位から低電位に変化する。
またIMUは、逆転用スイッチ接点26の高電位側端子に分圧抵抗39を介して接続された入力端子である。この場合、逆転用スイッチ接点26がオンすると、この入力端子IMUの電圧は、高電位から低電位に変化する。
The IMD is an input terminal connected to the high potential side terminal of the forward switch contact 25 via a voltage dividing resistor 39. In this case, when the forward rotation switch contact 25 is turned on, the voltage of the input terminal IMD changes from a high potential to a low potential.
The IMU is an input terminal connected to the high potential side terminal of the reverse switch contact 26 via a voltage dividing resistor 39. In this case, when the reverse switch contact 26 is turned on, the voltage of the input terminal IMU changes from a high potential to a low potential.

次にIDは、分圧抵抗37を介して端子電圧入力ラインLI1に接続されるとともに、プルダウン抵抗36を介してグランドラインLGに接続された入力端子であり、リレーコイル2aの低電位側端子電圧に応じた信号電圧(Vdn)が入力される入力端子である。
またIUは、分圧抵抗37を介して端子電圧入力ラインLI2に接続されるとともに、プルダウン抵抗36を介してグランドラインLGに接続された入力端子であり、リレーコイル3aの低電位側端子電圧に応じた信号電圧(Vup)が入力される入力端子である。
ここで、端子電圧入力ラインLI1は、一端がリレーコイル2aの低電位側端子に接続され、他端が分圧抵抗37を介して上記入力端子IDに接続された回路導体である。
また、端子電圧入力ラインLI2は、一端がリレーコイル3aの低電位側端子に接続され、他端が分圧抵抗37を介して上記入力端子IUに接続された回路導体である。
Next, ID is an input terminal connected to the terminal voltage input line LI1 via the voltage dividing resistor 37 and to the ground line LG via the pull-down resistor 36, and the low potential side terminal voltage of the relay coil 2a. Is an input terminal to which a signal voltage (Vdn) corresponding to is input.
IU is an input terminal connected to the terminal voltage input line LI2 through the voltage dividing resistor 37 and connected to the ground line LG through the pull-down resistor 36, and is connected to the low potential side terminal voltage of the relay coil 3a. This is an input terminal to which a corresponding signal voltage (Vup) is input.
Here, the terminal voltage input line LI1 is a circuit conductor having one end connected to the low potential side terminal of the relay coil 2a and the other end connected to the input terminal ID via the voltage dividing resistor 37.
The terminal voltage input line LI2 is a circuit conductor having one end connected to the low potential side terminal of the relay coil 3a and the other end connected to the input terminal IU via the voltage dividing resistor 37.

またIBは、分圧抵抗41を介して電源ラインL1に接続されるとともに、プルダウン抵抗40を介してグランドラインLGに接続された入力端子であり、バッテリ電圧に応じた信号電圧(VBAT)が入力される入力端子である。
なお、入力端子IDに接続された端子電圧入力ラインLI1、プルダウン抵抗36、及び分圧抵抗37と、プルダウン抵抗40及び分圧抵抗41は、本発明の正転用コイル電圧検出手段を構成している。また、入力端子IUに接続された端子電圧入力ラインLI2、プルダウン抵抗36、及び分圧抵抗37と、プルダウン抵抗40及び分圧抵抗41は、本発明の逆転用コイル電圧検出手段を構成している。
IB is an input terminal connected to the power supply line L1 via the voltage dividing resistor 41 and connected to the ground line LG via the pull-down resistor 40, and a signal voltage (VBAT) corresponding to the battery voltage is input. Input terminal.
The terminal voltage input line LI1, the pull-down resistor 36, and the voltage dividing resistor 37, the pull-down resistor 40, and the voltage dividing resistor 41 connected to the input terminal ID constitute the normal rotation coil voltage detecting means of the present invention. . Further, the terminal voltage input line LI2, the pull-down resistor 36, and the voltage dividing resistor 37, the pull-down resistor 40, and the voltage dividing resistor 41 connected to the input terminal IU constitute the reverse coil voltage detecting means of the present invention. .

またOD1は、分圧抵抗33を介してトランジスタ28のベース端子に接続され、出力電圧が高電位になることによりトランジスタ28,21をオンさせ、出力電圧が低電位になることによりトランジスタ28,21をオフさせる出力端子である。
またOD2は、分圧抵抗35を介してトランジスタ23のベース端子に接続され、出力電圧が高電位になることによりトランジスタ23をオンさせ、出力電圧が低電位になることによりトランジスタ23をオフさせる出力端子である。
OD1 is connected to the base terminal of the transistor 28 via the voltage dividing resistor 33. When the output voltage becomes high, the transistors 28 and 21 are turned on, and when the output voltage becomes low, the transistors 28 and 21 are turned on. This is an output terminal that turns off.
OD2 is connected to the base terminal of the transistor 23 via the voltage dividing resistor 35. The output that turns on the transistor 23 when the output voltage becomes high and turns off the transistor 23 when the output voltage becomes low. Terminal.

またOU1は、分圧抵抗33を介してトランジスタ29のベース端子に接続され、出力電圧が高電位になることによりトランジスタ29,22をオンさせ、出力電圧が低電位になることによりトランジスタ29,22をオフさせる出力端子である。
またOU2は、分圧抵抗35を介してトランジスタ24のベース端子に接続され、出力電圧が高電位になることによりトランジスタ24をオンさせ、出力電圧が低電位になることによりトランジスタ24をオフさせる出力端子である。
OU1 is connected to the base terminal of the transistor 29 via the voltage dividing resistor 33, and turns on the transistors 29 and 22 when the output voltage becomes high and the transistors 29 and 22 when the output voltage becomes low. This is an output terminal that turns off.
OU2 is connected to the base terminal of the transistor 24 via the voltage dividing resistor 35. The output OU2 turns on the transistor 24 when the output voltage becomes high and turns off the transistor 24 when the output voltage becomes low. Terminal.

そして制御処理回路50は、入力端子IA,IMD,IMUの状態によって出力端子OD1,OD2,OU1,OU2の出力電圧を変化させることによって、次のような通常制御を実行する機能を有する。
即ち、操作部が非操作状態(入力端子IA,IMD,IMUの電圧が高電位の状態)にあるときには、各通電用スイッチング素子(トランジスタ21〜24(TR1〜TR4))を全てオフ状態に維持し、操作部がモータの正転方向のマニュアル動作を指令した操作状態(IMDの電圧のみが低電位の状態)にあるときには、トランジスタ21,23をオン状態とし、操作部がモータ1の逆転方向のマニュアル動作を指令した操作状態(IMUの電圧のみが低電位の状態)にあるときには、トランジスタ22,24をオン状態として、各方向のマニュアル動作を実現する。
The control processing circuit 50 has the function of executing the following normal control by changing the output voltages of the output terminals OD1, OD2, OU1, and OU2 depending on the states of the input terminals IA, IMD, and IMU.
That is, when the operation unit is in a non-operation state (the voltages of the input terminals IA, IMD, and IMU are in a high potential state), all the energization switching elements (transistors 21 to 24 (TR1 to TR4)) are maintained in the off state. When the operation unit is in an operation state in which a manual operation in the normal direction of the motor is commanded (only the voltage of the IMD is in a low potential state), the transistors 21 and 23 are turned on, and the operation unit is in the reverse direction of the motor 1. In the operation state in which the manual operation is instructed (only the voltage of the IMU is in a low potential state), the transistors 22 and 24 are turned on to realize the manual operation in each direction.

また、操作部がモータ1の正転方向のオート動作を指令した操作状態(IMDとIAの電圧が低電位の状態)になると、所定の正転方向オート動作終了タイミング(ウインドウの全開検出時点)までの間、トランジスタ21,23をオン状態に維持し、操作部がモータ1の逆転方向のオート動作を指令した操作状態(IMUとIAの電圧が低電位の状態)になると、所定の逆転方向オート動作終了タイミング(ウインドウの全閉検出時点)までの間、トランジスタ22,24をオン状態に維持して、各方向のオート動作を実現する。
なお本例の場合、以上の通常制御は、故障状態(水没故障状態又は回路故障状態)を検出していない通常状態においてのみ実行される。
Further, when the operation unit enters an operation state in which the motor 1 is instructed to perform an automatic operation in the normal rotation direction (IMD and IA voltages are in a low potential state), a predetermined normal rotation direction auto operation end timing (when the window is fully opened) Until the transistors 21 and 23 are kept in the ON state and the operation unit commands the automatic operation in the reverse direction of the motor 1 (IMU and IA voltages are in a low potential state), the predetermined reverse direction The transistors 22 and 24 are maintained in the ON state until the auto operation end timing (when the window is fully closed), thereby realizing the auto operation in each direction.
In the case of this example, the above normal control is executed only in a normal state in which a failure state (a submerged failure state or a circuit failure state) is not detected.

そして、後述する自己診断機能によって水没故障状態を検出したとき(後述する水没フラグがオンとなったとき)に、制御処理回路50は、正転方向(ウインドウ開方向)のモータ動作のみを操作可能とする動作方向規制状態となり、上記通常制御に代えて次の制御を実行する。即ち、この動作方向規制状態では、操作部が正転方向の動作を指令した操作状態(IMDの電圧が低電位の状態)にならない限り、各通電用スイッチング素子を全てオフ状態に維持し、操作部が正転方向のマニュアル動作を指令した操作状態(IMDの電圧のみが低電位の状態)にあるときには、トランジスタ21,23をオン状態として正転方向のマニュアル動作を実現し、操作部がモータ1の正転方向のオート動作を指令した操作状態(IMDとIAの電圧が低電位の状態)になると、所定の正転方向オート動作終了タイミングまでの間、トランジスタ21,23をオン状態に維持して、正転方向のオート動作を実現する。   When the submergence failure state is detected by a self-diagnosis function described later (when a submergence flag described later is turned on), the control processing circuit 50 can operate only the motor operation in the forward rotation direction (window opening direction). The following control is executed instead of the normal control. In other words, in this operation direction restricted state, all the energization switching elements are maintained in the OFF state unless the operation unit commands the operation in the normal rotation direction (the IMD voltage is in a low potential state). When the control unit is in the operation state in which the manual operation in the normal rotation direction is commanded (only the voltage of the IMD is in a low potential state), the transistors 21 and 23 are turned on to realize the manual operation in the normal rotation direction. When the operation state in which the auto operation in the normal rotation direction 1 is commanded (the IMD and IA voltages are in a low potential state), the transistors 21 and 23 are kept on until the predetermined auto rotation direction end timing. Thus, auto operation in the forward rotation direction is realized.

また本例の場合、後述する自己診断機能によって回路故障状態が検出された状態(後述するUP出力回路故障フラグ又はDOWN出力回路故障フラグがオンの状態)では、例えば前記通常制御は実行されず、制御処理回路50の制御によって、各通電用スイッチング素子が操作状態に無関係に全てオフ状態に維持されて、何れの方向の動作も禁止された状態となり、ユーザ等に対する警報が出力される。この警報は、音や光、或いは文字や図形の表示等によって、回路故障状態にあることをユーザ等に報知するものである。なお、同様の警報を、水没故障状態検出時にも出力するようにしてもよい。   In the case of this example, in a state where a circuit failure state is detected by a self-diagnosis function described later (a state where an UP output circuit failure flag or a DOWN output circuit failure flag described later is on), for example, the normal control is not executed, Under the control of the control processing circuit 50, all the energization switching elements are maintained in the OFF state regardless of the operation state, and the operation in any direction is prohibited, and an alarm for the user or the like is output. This alarm notifies a user or the like that there is a circuit failure state by sound or light, or display of characters or graphics. A similar alarm may be output when a submerged failure state is detected.

また制御処理回路50は、例えば一定の周期で、操作部が非操作状態(オート動作中除く)にあるか否か判断し、非操作状態であれば診断条件が成立しているとして、図2に示す処理ルーチン(高電位側故障判断処理と診断処理)を実行する自己診断機能を有する。以下、この処理ルーチンを図2及び図3のフローチャートに基づいて説明する。
上記処理ルーチンが開始されると、図2に示すように、まずステップS0で、高電位側故障判断処理を実行する。
この高電位側故障判断処理は、図3に示すような一連の処理からなる。即ち、まずステップS21で、所定の時間が待機設定されたタイマの計時を開始し、このタイマがタイムアップするのを待ってステップS22に進む。
Further, the control processing circuit 50 determines whether or not the operation unit is in a non-operation state (except during the automatic operation), for example, at a constant cycle. A self-diagnosis function for executing the processing routine (high potential side failure determination processing and diagnosis processing) shown in FIG. Hereinafter, this processing routine will be described with reference to the flowcharts of FIGS.
When the processing routine is started, as shown in FIG. 2, first, in step S0, a high potential side failure determination process is executed.
This high-potential-side failure determination process includes a series of processes as shown in FIG. That is, first, in step S21, the timer for which a predetermined time is set as standby is started, and the process proceeds to step S22 after waiting for the timer to expire.

次いでステップS22では、入力端子IB,IUの電圧(VBAT,Vup)を読み込み、リレーコイル3aの低電位側端子電圧(Vup)が電源の高電位側電圧(VBAT)に略等しいか否か、即ち、リレーコイル3aの低電位側端子電圧(Vup)が、所要の誤差やマージンを考慮して電源電圧(VBAT)に等しいか否かを判断し、肯定的であればステップS23に進み、否定的であればステップS25に進む。
そして、ステップS23に進むと、逆転方向のリレーコイル3a側の高電位側回路故障状態が検出されたと判断して、UP出力高電位側回路故障フラグをオンし、次のステップS24でこの高電位側回路故障状態が検出されたことを示す記録(ダイヤグデータ)を、例えば制御処理回路50内のメモリに保存する。
Next, in step S22, the voltages (VBAT, Vup) of the input terminals IB and IU are read, and whether or not the low potential side terminal voltage (Vup) of the relay coil 3a is substantially equal to the high potential side voltage (VBAT) of the power source, that is, Then, it is determined whether or not the low potential side terminal voltage (Vup) of the relay coil 3a is equal to the power supply voltage (VBAT) in consideration of a required error and margin. If so, the process proceeds to step S25.
Then, when proceeding to step S23, it is determined that a high potential side circuit failure state on the reverse side of the relay coil 3a has been detected, the UP output high potential side circuit failure flag is turned on, and in the next step S24, this high potential is detected. A record (diagram data) indicating that a side circuit failure state has been detected is stored, for example, in a memory in the control processing circuit 50.

次にステップS25では、入力端子IB,IDの電圧(VBAT,Vdn)を読み込み、リレーコイル2aの低電位側端子電圧(Vdn)が電源の高電位側電圧(VBAT)に略等しいか否か、即ち、リレーコイル2aの低電位側端子電圧(Vdn)が、所要の誤差やマージンを考慮して電源電圧(VBAT)に等しいか否かを判断し、肯定的であればステップS26に進み、否定的であればリターンしてステップS1に進む。
そして、ステップS26に進むと、正転方向のリレーコイル2a側の高電位側回路故障状態が検出されたと判断して、DOWN出力高電位側回路故障フラグをオンし、次のステップS27でこの高電位側回路故障状態が検出されたことを示す記録(ダイヤグデータ)を、例えば制御処理回路50内のメモリに保存する。
なお、ステップS27を経ると、リターンしてステップS1に進む。
Next, in step S25, the voltages (VBAT, Vdn) of the input terminals IB, ID are read, and whether the low potential side terminal voltage (Vdn) of the relay coil 2a is substantially equal to the high potential side voltage (VBAT) of the power source, That is, it is determined whether or not the low potential side terminal voltage (Vdn) of the relay coil 2a is equal to the power supply voltage (VBAT) in consideration of required errors and margins. If it is correct, return and proceed to step S1.
Then, when proceeding to step S26, it is determined that the high potential side circuit failure state on the relay coil 2a side in the normal rotation direction has been detected, and the DOWN output high potential side circuit failure flag is turned on. A record (diagram data) indicating that a potential side circuit failure state has been detected is stored in, for example, a memory in the control processing circuit 50.
After step S27, the process returns and proceeds to step S1.

以上の高電位側故障判断処理が終了すると、まずステップS1(図2)で、高電位側のトランジスタ21,22をオン状態とする(出力端子OD1,OU1をオンする)。
次にステップS2では、各リレーコイル2a,3aの端子電圧が安定するのを待つため、所定の時間が設定されたタイマの計時を開始し、このタイマがタイムアップするのを待ってステップS3に進む。
When the above-described high potential side failure determination processing is completed, first, in step S1 (FIG. 2), the high potential side transistors 21 and 22 are turned on (output terminals OD1 and OU1 are turned on).
Next, in step S2, in order to wait for the terminal voltages of the relay coils 2a and 3a to become stable, the timer for which a predetermined time is set is started, and after waiting for this timer to expire, the process proceeds to step S3. move on.

そしてステップS3では、入力端子IB,IUの電圧(VBAT,Vup)を読み込み、リレーコイル3aの低電位側端子電圧(Vup)がリレー動作低電位側電圧(Von=VBAT−VRY)以下であるか否か、即ち、リレーコイル3aの端子間電圧(VBAT−Vup)がリレー動作電圧(VRY)以上であるか否かを判断し、肯定的であればステップS4に進み、否定的であればステップS5に進む。
次にステップS5では、入力端子IB,IDの電圧(VBAT,Vdn)を読み込み、リレーコイル2aの低電位側端子電圧(Vdn)がリレー動作低電位側電圧(Von)以下であるか否か、即ち、リレーコイル2aの端子間電圧(VBAT−Vdn)がリレー動作電圧(VRY)以上であるか否かを判断し、肯定的であればステップS6に進み、否定的であればステップS7に進む。
In step S3, the voltages (VBAT, Vup) of the input terminals IB, IU are read, and whether the low potential side terminal voltage (Vup) of the relay coil 3a is equal to or lower than the relay operation low potential side voltage (Von = VBAT-VRY). In other words, it is determined whether or not the voltage (VBAT-Vup) between the terminals of the relay coil 3a is equal to or higher than the relay operating voltage (VRY). Proceed to S5.
Next, in step S5, the voltages (VBAT, Vdn) of the input terminals IB and ID are read, and whether or not the low potential side terminal voltage (Vdn) of the relay coil 2a is equal to or lower than the relay operation low potential side voltage (Von). That is, it is determined whether the voltage (VBAT-Vdn) between the terminals of the relay coil 2a is equal to or higher than the relay operating voltage (VRY). If the determination is affirmative, the process proceeds to step S6. .

なおステップS4では、VupフラグをオンとしてステップS5に進む。またステップS6では、VdnフラグをオンとしてステップS7に進む。
次いでステップS7では、VupフラグとVdnフラグの両方がオンか否かを判断し、肯定的であればステップS10に進み、否定的であればステップS8に進む。
そしてステップS8では、Vupフラグがオンであり、かつVdnフラグがオフとなっているか否かを判断し、肯定的であればステップS12に進み、否定的であればステップS9に進む。
またステップS9では、Vupフラグがオフであり、かつVdnフラグがオンとなっているか否かを判断し、肯定的であればステップS14に進み、否定的であればステップS16に進む。
In step S4, the Vup flag is turned on and the process proceeds to step S5. In step S6, the Vdn flag is turned on and the process proceeds to step S7.
Next, in step S7, it is determined whether both the Vup flag and the Vdn flag are on. If the determination is affirmative, the process proceeds to step S10. If the determination is negative, the process proceeds to step S8.
In step S8, it is determined whether the Vup flag is on and the Vdn flag is off. If the determination is affirmative, the process proceeds to step S12. If the determination is negative, the process proceeds to step S9.
In step S9, it is determined whether the Vup flag is off and the Vdn flag is on. If the determination is affirmative, the process proceeds to step S14. If the determination is negative, the process proceeds to step S16.

そして、ステップS10に進むと、水没故障状態が検出されたと判断して、水没フラグをオンし、次のステップS11で水没故障状態が検出されたことを示す記録(ダイヤグデータ)を、例えば制御処理回路50内のメモリに保存する。
また、ステップS12に進むと、逆転方向のリレーコイル3a側の低電位側回路故障状態が検出されたと判断して、UP出力低電位側回路故障フラグをオンし、次のステップS13でこの低電位側回路故障状態が検出されたことを示す記録(ダイヤグデータ)を、例えば制御処理回路50内のメモリに保存する。
Then, when proceeding to step S10, it is determined that a submergence failure state has been detected, the submergence flag is turned on, and a record (diagram data) indicating that the submergence failure state has been detected in the next step S11 is controlled, for example. The data is stored in a memory in the processing circuit 50.
In step S12, it is determined that the low potential side circuit failure state on the reverse side of the relay coil 3a has been detected, and the UP output low potential side circuit failure flag is turned on. In the next step S13, the low potential side circuit failure flag is turned on. A record (diagram data) indicating that a side circuit failure state has been detected is stored, for example, in a memory in the control processing circuit 50.

また、ステップS14に進むと、正転方向のリレーコイル2a側の低電位側回路故障状態が検出されたと判断して、DOWN出力低電位側回路故障フラグをオンし、次のステップS15でこの低電位側回路故障状態が検出されたことを示す記録(ダイヤグデータ)を、例えば制御処理回路50内のメモリに保存する。
ここで、ダイヤグデータとは、車両の整備工場などにおいて、車両の状況把握等のために作業員がアクセスして確認できる車両のコントローラ内の記録情報(主にエラー等の発生状況を示す情報)を意味する。なお本発明に関して、このような記録を残すことは、必ずしも必須要件でないことはいうまでもない。また、回路故障状態についてはこのような記録を残し、水没故障状態についてはこのような記録を残さないといった態様でもよい。
Further, when proceeding to step S14, it is determined that the low potential side circuit failure state on the relay coil 2a side in the normal rotation direction has been detected, and the DOWN output low potential side circuit failure flag is turned on. A record (diagram data) indicating that a potential side circuit failure state has been detected is stored in, for example, a memory in the control processing circuit 50.
Here, the diagnosis data is recorded information in the vehicle controller (mainly information indicating the occurrence status of errors, etc.) that can be accessed and checked by an operator for grasping the vehicle status at a vehicle maintenance factory or the like. ). In the present invention, it goes without saying that leaving such a record is not necessarily an essential requirement. Further, such a record may be left for the circuit failure state, and such a record may not be left for the submerged failure state.

ステップS11,S13,S15を経ると、ステップS16に進む。ステップS16では、高電位側(上流側)のトランジスタ21,22をオフ状態に戻す(出力端子OD1,OU1をオフに戻す)。ステップS16を経ると、1シーケンスの診断処理を終了し、親ルーチンに戻る。
なお、VupフラグとVdnフラグは、例えばこの図2に示す処理ルーチンの最初又は最後の図示省略したステップで、初期化される。また、故障状態を示す各フラグ(水没フラグ、UP出力高電位側回路故障フラグ、DOWN出力高電位側回路故障フラグ、UP出力低電位側回路故障フラグ、DOWN出力低電位側回路故障フラグ)は、例えば修理工場における作業者が特別な操作をすることによって、人為的にオフ状態に初期化される。
After steps S11, S13, and S15, the process proceeds to step S16. In step S16, the transistors 21 and 22 on the high potential side (upstream side) are returned to the off state (the output terminals OD1 and OU1 are returned to the off state). After step S16, one sequence of diagnostic processing is terminated and the process returns to the parent routine.
The Vup flag and the Vdn flag are initialized, for example, at the first or last step (not shown) of the processing routine shown in FIG. In addition, each flag indicating a failure state (submergence flag, UP output high potential side circuit failure flag, DOWN output high potential side circuit failure flag, UP output low potential side circuit failure flag, DOWN output low potential side circuit failure flag) For example, the operator in the repair shop is manually initialized to the off state by performing a special operation.

以上のように構成された本例の駆動装置では、各リレーコイル2a,3aの両側に通電用のスイッチング素子(トランジスタ21,22,23,24)が設けられ、非操作時には、基本的に(即ち、診断処理実行中及びオート動作中を除き)全てのスイッチング素子がオフ状態に維持され、操作時には、基本的に(即ち、動作方向規制状態を除き)操作方向に応じた一方のリレーコイルの両側の通電用スイッチング素子のみがオン状態とされることによって、所定のリレーコイルのみが確実に駆動される。このため、非操作時には、基本的に各リレーコイルの両端が通電ラインから切り離された状態(各リレーはオフ状態)に維持され、水没してもモータ1が勝手に動作することが防止できる。また基本的に、水没時であっても、操作に応じた両方向の動作が確実に実現される。しかも水没時に、非操作状態であれば、モータコイル端子の電位を両方ともグランド電位に安定的に維持できるので、前述の電食やリークの促進による発火や周辺回路の誤動作の問題が解消できる。   In the drive device of this example configured as described above, switching elements (transistors 21, 22, 23, 24) for energization are provided on both sides of each relay coil 2a, 3a. That is, all the switching elements are maintained in the OFF state (except during the diagnosis process and during the auto operation), and basically one relay coil corresponding to the operation direction (except for the operation direction restriction state) is operated during operation. By turning on only the energization switching elements on both sides, only a predetermined relay coil is reliably driven. For this reason, at the time of non-operation, the both ends of each relay coil are basically maintained in a state of being disconnected from the energization line (each relay is in an off state), and the motor 1 can be prevented from operating arbitrarily even when submerged. Basically, even in the case of submergence, the operation in both directions according to the operation is reliably realized. In addition, if the motor coil terminal is in a non-operating state when submerged, both of the potentials of the motor coil terminals can be stably maintained at the ground potential, so that the above-described problems of firing due to electrolytic corrosion and leakage and malfunction of peripheral circuits can be solved.

また本装置によれば、前記診断条件成立時に実行される診断処理(ステップS1〜S16)によって、水没検出手段を別途設けることなく、水没により誤動作が生じる可能性の高い状態(水没故障状態)を的確に、しかも簡素な構成で安価に検出できる。前記診断処理は、高電位側の各スイッチング素子だけをオン状態とした時の各リレーコイル2a,3aの端子間電圧を読み取り、端子間電圧が両方ともリレーの動作電圧以上であると水没故障状態と判断するものである。このため、各リレーコイル2a,3aの低電位側において、リレーを誤動作させるリークが発生していれば、この診断処理で上記水没故障状態と判断されるからである。なお、水没時には、水没初期を除いてリレーコイル2a,3aの片側だけでリークが発生する可能性は低く、またリレーコイル2a,3aの低電位側におけるリークが誤動作を引き起こし易いので、このような診断処理で上記水没故障状態がより的確に判断される。   In addition, according to the present apparatus, the diagnosis process (steps S1 to S16) executed when the diagnosis condition is satisfied can provide a state where there is a high possibility of malfunction due to submersion (submergence failure state) without providing a submergence detection unit. It can be detected accurately and inexpensively with a simple configuration. The diagnostic process reads the voltage between the terminals of the relay coils 2a and 3a when only the switching elements on the high potential side are turned on, and the submerged failure state when both the terminal voltages are equal to or higher than the relay operating voltage. It is to be judged. For this reason, if a leak that causes the relay to malfunction occurs on the low potential side of each of the relay coils 2a and 3a, it is determined that the submerged failure state is caused by this diagnosis process. When submerged, it is unlikely that leakage will occur only on one side of the relay coils 2a and 3a except in the initial stage of submergence, and leakage on the low potential side of the relay coils 2a and 3a is likely to cause malfunction. The submerged failure state is more accurately determined by the diagnostic process.

また本例では、制御処理回路50が、前記診断処理において水没故障状態であると判断すると、予め決められた規定方向(ウインドウの開方向)のモータ動作のみを操作可能とする動作方向規制状態となり、この動作方向規制状態では、操作部がモータの規定方向の動作を指令した操作状態にならない限り、全ての通電用スイッチング素子をオフ状態に維持する。
このため、水没故障状態において、規定方向のモータ操作を可能にしつつ、規定方向操作以外のモータ動作を全て確実に禁止して、モータ1の勝手な動作に加え、規定方向以外の方向(ウインドウの閉方向)への不用意なモータ操作を防止することができる。
Further, in this example, when the control processing circuit 50 determines that it is a submerged failure state in the diagnostic processing, it becomes an operation direction restriction state in which only the motor operation in a predetermined specified direction (window opening direction) can be operated. In this operation direction restricted state, all the energization switching elements are maintained in the OFF state unless the operation unit is in the operation state instructed to operate in the specified direction of the motor.
For this reason, in the submerged failure state, while the motor operation in the specified direction is possible, all the motor operations other than the specified direction operation are surely prohibited, and in addition to the arbitrary operation of the motor 1, the direction other than the specified direction (window Inadvertent motor operation in the closing direction) can be prevented.

また本例では、制御処理回路50が、前記診断処理において、各リレーコイル2a,3aの端子間電圧のうちの何れか一方がリレー動作電圧以上であると、前述したような低電位側回路故障状態であると判断する。
このため、前記診断処理によって、水没故障状態に加え、前記低電位側回路故障状態も的確かつ安価に検出可能となる。
Further, in this example, when the control processing circuit 50 determines that any one of the inter-terminal voltages of the relay coils 2a and 3a is equal to or higher than the relay operating voltage in the diagnosis processing, the low potential side circuit failure as described above. Judged to be in a state.
For this reason, in addition to the submerged failure state, the low-potential side circuit failure state can be accurately and inexpensively detected by the diagnosis process.

また本例では、制御処理回路50が、コイル通電用のスイッチング素子を全てオフ状態として(オフ状態に制御して)、各コイル端子電圧を読み取り、何れかの端子電圧が電源の高電位側電圧になっていると、高電位側回路故障状態であると判断する高電位側故障判断処理(ステップS0;ステップS21〜S27)を、前記診断処理の直前に実行する。
このため、水没故障状態と低電位側回路故障状態に加え、高電位側回路故障状態も的確かつ安価に検出可能となる。
Further, in this example, the control processing circuit 50 turns off all coil switching elements (controls them to the off state), reads each coil terminal voltage, and any terminal voltage is the high potential side voltage of the power supply. If this is the case, a high potential side failure determination process (step S0; steps S21 to S27) for determining that a high potential side circuit failure state has occurred is executed immediately before the diagnosis process.
For this reason, in addition to the submerged failure state and the low potential side circuit failure state, the high potential side circuit failure state can be accurately and inexpensively detected.

なお、本発明は上述した形態例に限られず、各種の変形や応用があり得る。
例えば、同様の回路構成で車両のサンルーフやパワーシートの駆動装置を実現し、同様の効果を奏することができる。
また本発明は、オート動作機能を持たない駆動装置に適用することもできる。
また、スイッチ接点の出力信号やトランジスタ駆動信号の態様(アクティブローかアクティブハイ)は、上記形態例に限定されるものではなく、適宜設計変更可能である。
また、例えば上記形態例において、制御処理回路50が、さらに次のような回路故障の診断処理を実行する構成でもよい。即ち、何れかのリレーコイルに通電してモータを動作させようと制御信号を出力している際に、該当のリレーコイルの端子間電圧を読み取り、この端子間電圧がリレー動作電圧以上になっていないときには、なんらかの回路故障(例えば、トランジスタが正常にオンしない回路故障)が発生していると判断する処理を追加してもよい。
また、高電位側故障判断処理は、例えば前記診断処理(水没故障等の検出処理)の後(例えば、図2におけるステップS16の直後)に実行してもよい。
The present invention is not limited to the above-described embodiments, and various modifications and applications are possible.
For example, a vehicle sunroof or power seat drive device can be realized with the same circuit configuration, and the same effect can be achieved.
The present invention can also be applied to a drive device that does not have an automatic operation function.
Further, the mode of the switch contact output signal and the transistor drive signal (active low or active high) is not limited to the above embodiment, and can be appropriately changed in design.
Further, for example, in the above-described embodiment, the control processing circuit 50 may further execute the following circuit failure diagnosis processing. That is, when a control signal is output to energize one of the relay coils to operate the motor, the voltage between the terminals of the corresponding relay coil is read, and the voltage between the terminals is equal to or higher than the relay operating voltage. If not, a process for determining that some circuit failure (for example, a circuit failure in which the transistor does not normally turn on) has occurred may be added.
Further, the high potential side failure determination processing may be executed after, for example, the diagnosis processing (detection processing such as submergence failure) (for example, immediately after step S16 in FIG. 2).

駆動装置の要部回路構成を示す図である。It is a figure which shows the principal circuit structure of a drive device. 駆動装置の診断処理等を示すフローチャートである。It is a flowchart which shows the diagnostic process etc. of a drive device. 駆動装置の高電位側故障判断処理を示すフローチャートである。It is a flowchart which shows the high potential side failure judgment process of a drive device. 従来の駆動装置を示す回路図である。It is a circuit diagram which shows the conventional drive device.

符号の説明Explanation of symbols

1 モータ
2 正転用リレー
3 逆転用リレー
2a 正転用リレーのコイル
3a 逆転用リレーのコイル
21 トランジスタ(正転用高電位側スイッチング素子)
22 トランジスタ(逆転用高電位側スイッチング素子)
23 トランジスタ(正転用低電位側スイッチング素子)
24 トランジスタ(逆転用低電位側スイッチング素子)
50 制御処理回路(制御手段)
LI1 端子電圧入力ライン(正転用コイル電圧検出手段)
LI2 端子電圧入力ライン(逆転用コイル電圧検出手段)
DESCRIPTION OF SYMBOLS 1 Motor 2 Forward rotation relay 3 Reverse rotation relay 2a Forward rotation relay coil 3a Reverse rotation relay coil 21 Transistor (High-potential side switching element for forward rotation)
22 Transistor (High-potential side switching element for reverse rotation)
23 Transistor (Low-potential side switching element for normal rotation)
24 transistor (low potential side switching element for reverse rotation)
50 Control processing circuit (control means)
LI1 terminal voltage input line (coil voltage detection means for forward rotation)
LI2 terminal voltage input line (reverse coil voltage detection means)

Claims (4)

モータに電源供給してそれぞれモータを正転又は逆転させる正転用リレーと逆転用リレーを有し、モータの正転方向又は逆転方向の動作を指令する操作部の作動状態に応じて、前記二つのリレーのうちのいずれか一方を作動させてモータを正転方向又は逆転方向に駆動する駆動装置であって、
前記正転用リレーのコイルの高電位側端子と電源の高電位側との間を開閉する正転用高電位側スイッチング素子と、
前記逆転用リレーのコイルの高電位側端子と電源の高電位側との間を開閉する逆転用高電位側スイッチング素子と、
前記正転用リレーのコイルの低電位側端子とグランド側との間を開閉する正転用低電位側スイッチング素子と、
前記逆転用リレーのコイルの低電位側端子とグランド側との間を開閉する逆転用低電位側スイッチング素子と、
前記正転用リレーのコイルの端子間電圧を検出する正転用コイル電圧検出手段と、
前記逆転用リレーのコイルの端子間電圧を検出する逆転用コイル電圧検出手段と、
所定の診断条件が成立すると診断処理を実行する機能、及び少なくとも通常状態で通常制御を実行する機能を有する制御手段とを備え、
前記通常制御は、操作部が非操作状態にあるときには、前記正転用高電位側スイッチング素子、正転用低電位側スイッチング素子、逆転用高電位側スイッチング素子、及び逆転用低電位側スイッチング素子をオフ状態に維持し、前記操作部がモータの正転方向の動作を指令した操作状態になると、前記正転用高電位側スイッチング素子と正転用低電位側スイッチング素子をオン状態としてモータを正転させ、前記操作部がモータの逆転方向の動作を指令した操作状態になると、前記逆転用高電位側スイッチング素子と逆転用低電位側スイッチング素子をオン状態としてモータを逆転させるものであり、
前記診断処理は、前記正転用高電位側スイッチング素子と逆転用高電位側スイッチング素子をオン状態として、前記正転用コイル電圧検出手段と逆転用コイル電圧検出手段により検出されている各端子間電圧を読み取り、前記正転用コイル電圧検出手段により検出されている正転側端子間電圧と、前記逆転用コイル電圧検出手段により検出されている逆転側端子間電圧の両方がリレー動作電圧以上であると、水没故障状態であると判断するものであることを特徴とする駆動装置。
According to the operating state of the operation unit for commanding the operation in the normal rotation direction or the reverse rotation direction of the motor, the motor has a normal rotation relay and a reverse rotation relay to supply power to the motor to rotate the motor in the normal rotation or reverse rotation, respectively. A driving device that operates one of the relays to drive the motor in the forward direction or the reverse direction,
A high-potential side switching element for normal rotation that opens and closes between the high-potential side terminal of the coil of the forward-rotation relay and the high-potential side of the power source;
A high potential side switching element for reverse rotation that opens and closes between a high potential side terminal of the coil of the reverse relay and a high potential side of the power source;
A forward-rotating low-potential side switching element that opens and closes between a low-potential-side terminal of the coil of the forward-rotating relay and the ground side;
A low potential side switching element for reverse rotation that opens and closes between a low potential side terminal of the coil of the reverse relay and the ground side;
A forward coil voltage detecting means for detecting a voltage between terminals of the coil of the forward relay;
A reverse coil voltage detecting means for detecting a voltage between terminals of the coil of the reverse relay;
A control unit having a function of executing a diagnosis process when a predetermined diagnosis condition is satisfied, and a function of executing a normal control at least in a normal state;
In the normal control, when the operation unit is in a non-operating state, the high-potential switching element for normal rotation, the low-potential switching element for normal rotation, the high-potential switching element for reverse rotation, and the low-potential switching element for reverse rotation are turned off. When the operation unit is in an operation state instructed to operate in the normal rotation direction of the motor, the normal rotation high potential side switching element and the normal rotation low potential side switching element are turned on, and the motor is normally rotated. When the operation unit is in an operation state instructing an operation in the reverse direction of the motor, the reverse high potential side switching element and the reverse low potential side switching element are turned on to reverse the motor,
The diagnosis processing is performed by turning on the forward high potential side switching element and the reverse high potential side switching element, and detecting the voltages between the terminals detected by the forward rotation coil voltage detection means and the reverse rotation coil voltage detection means. When both the forward rotation side voltage detected by the forward rotation coil voltage detection means and the reverse rotation side terminal voltage detected by the reverse rotation coil voltage detection means are equal to or higher than the relay operating voltage, A drive device characterized by being determined to be in a submerged failure state.
前記制御手段は、前記診断処理において水没故障状態であると判断すると、予め決められた規定方向のモータ動作のみを操作可能とする動作方向規制状態となり、この動作方向規制状態では、前記操作部がモータの規定方向の動作を指令した操作状態にならない限り、前記正転用高電位側スイッチング素子、正転用低電位側スイッチング素子、逆転用高電位側スイッチング素子、及び逆転用低電位側スイッチング素子をオフ状態に維持することを特徴とする請求項1記載の駆動装置。 When the control means determines that it is a submerged failure state in the diagnostic process, the control means enters an operation direction restricted state in which only the motor operation in a predetermined specified direction can be operated. The forward high potential side switching element, the normal rotation low potential side switching element, the reverse rotation high potential side switching element, and the reverse rotation low potential side switching element are turned off unless the operation state commanding the operation in the specified direction of the motor is entered. 2. The driving device according to claim 1, wherein the driving device is maintained in a state. 前記制御手段は、前記診断処理において、前記正転側端子間電圧と逆転側端子間電圧のうちの何れか一方がリレー動作電圧以上であると、低電位側回路故障状態であると判断することを特徴とする請求項1又は2に記載の駆動装置。 In the diagnosis process, the control means determines that a low-potential side circuit failure state occurs when one of the forward-side terminal voltage and the reverse-side terminal voltage is equal to or higher than the relay operating voltage. The drive device according to claim 1, wherein: 前記制御手段は、前記正転用高電位側スイッチング素子、正転用低電位側スイッチング素子、逆転用高電位側スイッチング素子、及び逆転用低電位側スイッチング素子をオフ状態として、前記正転用リレーと逆転用リレーのコイルの端子電圧を読み取り、何れかの端子電圧が電源の高電位側電圧になっていると、高電位側回路故障状態であると判断する高電位側故障判断処理を、所定の実行条件成立時に実行する機能を有することを特徴とする請求項1乃至3の何れかに記載の駆動装置。 The control means turns off the forward rotation high-potential side switching element, the forward rotation low-potential side switching element, the reverse rotation high-potential side switching element, and the reverse rotation low-potential side switching element. Reads the terminal voltage of the relay coil, and if any terminal voltage is the high potential side voltage of the power supply, the high potential side failure judgment processing for judging that there is a high potential side circuit fault state The drive device according to claim 1, wherein the drive device has a function to be executed when it is established.
JP2003294693A 2003-08-18 2003-08-18 Drive device Expired - Fee Related JP4049050B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003294693A JP4049050B2 (en) 2003-08-18 2003-08-18 Drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003294693A JP4049050B2 (en) 2003-08-18 2003-08-18 Drive device

Publications (2)

Publication Number Publication Date
JP2005065444A JP2005065444A (en) 2005-03-10
JP4049050B2 true JP4049050B2 (en) 2008-02-20

Family

ID=34371183

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003294693A Expired - Fee Related JP4049050B2 (en) 2003-08-18 2003-08-18 Drive device

Country Status (1)

Country Link
JP (1) JP4049050B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6900185B2 (en) * 2016-12-19 2021-07-07 アルプスアルパイン株式会社 Switch operation device and power window control device
JP6969524B2 (en) * 2018-08-30 2021-11-24 株式会社デンソー Power window controller
CN110534000B (en) * 2019-09-03 2021-09-28 常熟理工学院 Matrix control circuit for setting electrical fault point

Also Published As

Publication number Publication date
JP2005065444A (en) 2005-03-10

Similar Documents

Publication Publication Date Title
JP4450015B2 (en) Fault detection device for automatic door opening / closing switch for vehicles
US9482721B2 (en) Electric power source circuit and abnormality diagnosis system
JP5283677B2 (en) Vehicle window opening and closing control device
JP2008199852A (en) Drive device for brushless motor
JP2594573Y2 (en) Relay abnormality detection device
JP4671334B2 (en) Fault detection circuit for drive unit
JP3972613B2 (en) Control device for starting the motor
US6724164B2 (en) Opening-and-closing member control device
JP4049050B2 (en) Drive device
US7072164B2 (en) Electric parts drive circuit
JPH024432B2 (en)
US5329214A (en) Motor drive circuit
JP6145446B2 (en) Relay drive circuit
JP4041981B2 (en) Drive device
JP2001014001A (en) Backup method when operation of microcomputer stops, backup device for microcomputer, and power window controller for automobile
JP2000308391A (en) Motor controller
KR102452535B1 (en) Apparatus and method for preventing misoperating of sunroof for vehicle
JP3901143B2 (en) Inverter device
JP2005065442A (en) Driver
JP3088398B2 (en) POS terminal and method for inspecting power-on state of cash drawer
JP3468036B2 (en) Drive
JPH10243687A (en) Electric power steering apparatus
JP2002129832A (en) Power window device
KR20080078436A (en) Method and circuit for detecting malfunction of electronic power steering system
JP3185724B2 (en) Drive

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071023

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071119

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101207

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101207

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20101207

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20101207

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111207

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111207

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121207

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121207

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131207

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees