JPH08277679A - Power window device - Google Patents

Power window device

Info

Publication number
JPH08277679A
JPH08277679A JP7081102A JP8110295A JPH08277679A JP H08277679 A JPH08277679 A JP H08277679A JP 7081102 A JP7081102 A JP 7081102A JP 8110295 A JP8110295 A JP 8110295A JP H08277679 A JPH08277679 A JP H08277679A
Authority
JP
Japan
Prior art keywords
signal
level
microcomputer
reset
output
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.)
Withdrawn
Application number
JP7081102A
Other languages
Japanese (ja)
Inventor
Toru Seki
徹 関
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.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP7081102A priority Critical patent/JPH08277679A/en
Publication of JPH08277679A publication Critical patent/JPH08277679A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Window Of Vehicle (AREA)
  • Power-Operated Mechanisms For Wings (AREA)

Abstract

PURPOSE: To open or close a window via opening/closing switches even when a microcomputer fails by selecting the operation signals or drive signals with a signal selecting circuit in response to the reset signal outputted from a reset circuit. CONSTITUTION: When a microcomputer 14 which is a drive signal generating means is normally operated, it generates and outputs window opening/closing drive signals S10, S12 based on the operation signals S1, S3 from opening/closing switches 1, 3, and it outputs the watch dock pulse WP to a reset circuit 15 for monitoring. When the microcomputer 14 is abnormally operated, the reset circuit 15 outputs the reset signal S15 for a reset action to the microcomputer 14. A signal selecting circuit 21 selectively outputs the operation signals S1, S3 when the reset signal S15 is outputted, and it selectively outputs the drive signals S10, S12 when no reset signal S15 is outputted. A motor 5 is driven by the selected output signals to open or close a window.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、モータにより窓を開閉
させるパワーウィンド装置に係り、特に、例えば、窓枠
と窓の間に異物が挟まった時に開閉スイッチの操作より
も所定の挟み込み解除動作を優先させるような、モータ
の駆動をマイクロコンピュータにより制御するパワーウ
ィンド装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power window device for opening and closing a window by a motor, and more particularly, for example, when a foreign object is caught between a window frame and a window, a predetermined pinch releasing operation rather than operating an opening / closing switch. The present invention relates to a power window device that controls the driving of a motor by a microcomputer so as to give priority to.

【0002】[0002]

【従来の技術】乗用車等の車両において広く普及してい
るパワーウィンド装置は、一般に、ドアトリムやアーム
レストに配置された開閉スイッチの操作によりモータを
正逆転させることで窓が開閉するように構成されてい
る。ところで、近年では、窓枠と窓ガラスの間に異物が
挟まった際に、例えばモータの負荷の変動等によりこれ
を検出し、窓を強制的に開かせて異物の挟み込みを解除
させる挟み込み検出装置が設けられることが多い。
2. Description of the Related Art A power window device that is widely used in vehicles such as passenger cars is generally constructed so that a window is opened and closed by rotating a motor in a forward and reverse direction by operating an opening / closing switch arranged in a door trim or an armrest. There is. By the way, in recent years, when a foreign object is caught between the window frame and the window glass, for example, by detecting the fluctuation of the load of the motor or the like, the entrapment detection device for forcibly opening the window to release the entrapment of the foreign object. Are often provided.

【0003】この挟み込み検出装置を備えるパワーウィ
ンド装置では、例え閉スイッチの操作により窓を閉めて
いる途中であっても、異物が挟まった場合には強制的に
窓を開かせなければならないので、開閉スイッチの操作
信号をそのままモータの駆動には用いていない。そし
て、前記操作信号をマイクロコンピュータに一旦取り込
み、異物の挟み込みがない場合に限って、前記操作信号
に応じてマイクロコンピュータから駆動信号を改めて出
力させ、この駆動信号によりモータを駆動させるように
している。
In the power window device equipped with this trapping detection device, even if the window is being closed by operating the closing switch, it is necessary to forcefully open the window when a foreign object is trapped. The operation signal of the open / close switch is not used as it is for driving the motor. Then, the operation signal is once taken into the microcomputer, and only when the foreign matter is not caught, a drive signal is again output from the microcomputer according to the operation signal, and the motor is driven by the drive signal. .

【0004】図20は、前記挟み込み検出装置を備える
従来のパワーウィンド装置の概略構成を示す回路図で、
図中1は開スイッチ、3は閉スイッチ、5はモータ、7
は電源、9,11はリレー、13は挟み込み検出動作及
び解除動作を行うマイクロコンピュータ(以下、マイコ
ンと略記する)、15はマイコン13の動作監視用のリ
セット回路、17はモータ5の負荷検出用の電流検出
部、19は窓(図示せず)の全閉位置検出用のリミット
スイッチをそれぞれ示す。
FIG. 20 is a circuit diagram showing a schematic structure of a conventional power window device having the above-mentioned trapping detection device.
In the figure, 1 is an open switch, 3 is a close switch, 5 is a motor, 7
Is a power supply, 9 and 11 are relays, 13 is a microcomputer (hereinafter abbreviated as a microcomputer) that performs pinch detection and release operations, 15 is a reset circuit for monitoring the operation of the microcomputer 13, and 17 is a load detection of the motor 5. Reference numeral 19 designates a limit switch for detecting a fully closed position of a window (not shown).

【0005】前記開閉の両スイッチ1,3はそれぞれ、
一端が接地され、他端が電源7でプルアップされた上で
マイコン13に接続されており、操作していない状態で
は電源7によるプルアップでハイレベル(この場合には
電源7電圧)となり、操作することで接地されてローレ
ベルとなる操作信号S1,S3を、マイコン13の入力
端子に出力するように構成されている。前記モータ5
は、その両端子5a,5bがそれぞれリレー9,11の
共通接点9a,11aに接続されており、リレー9,1
1の常開接点9c,11cは電源7に接続され、常閉接
点9b,11bは、電流検出部17を介して接地されて
いる。
Both the opening and closing switches 1 and 3 are
One end is grounded and the other end is pulled up by the power supply 7 and then connected to the microcomputer 13. When not operated, the power supply 7 pulls up to a high level (in this case, the power supply 7 voltage), The operation signals S1 and S3 that are grounded to a low level when operated are output to the input terminal of the microcomputer 13. The motor 5
Both terminals 5a and 5b are connected to the common contacts 9a and 11a of the relays 9 and 11, respectively.
The normally open contacts 9c and 11c of No. 1 are connected to the power source 7, and the normally closed contacts 9b and 11b are grounded via the current detection unit 17.

【0006】そして、前記モータ5は、リレー9の共通
接点9aと常開接点9c、及び、リレー11の共通接点
11aと常閉接点11bがそれぞれ接続されると、端子
5aが電源7に接続されると共に端子5bが接地され
て、窓が開く正転方向に回転する。また、前記モータ5
は、リレー9の共通接点9aと常閉接点9b、及び、リ
レー11の共通接点11aと常開接点11cがそれぞれ
接続されると、端子5bが電源7に接続されると共に端
子5aが接地されて、窓が閉じる逆転方向に回転する。
さらに、前記モータ5は、リレー9,11の共通接点9
a,11aと常閉接点9b,11bがそれぞれ接続され
ると、端子5a,5bが共に接地されて停止する。
In the motor 5, when the common contact 9a and the normally open contact 9c of the relay 9 and the common contact 11a and the normally closed contact 11b of the relay 11 are connected, the terminal 5a is connected to the power supply 7. At the same time, the terminal 5b is grounded and rotates in the forward direction in which the window opens. In addition, the motor 5
When the common contact 9a and the normally closed contact 9b of the relay 9 and the common contact 11a and the normally open contact 11c of the relay 11 are connected, respectively, the terminal 5b is connected to the power source 7 and the terminal 5a is grounded. , The window closes and rotates in the reverse direction.
Further, the motor 5 has a common contact 9 of the relays 9 and 11.
When a and 11a and the normally closed contacts 9b and 11b are respectively connected, both terminals 5a and 5b are grounded and stopped.

【0007】前記リレー9,11は、一端が電源7によ
りプルアップされたコイル9d,11dの他端にマイコ
ン13から印加される駆動信号S9,S11の電圧レベ
ルがそれぞれハイレベルであるときに、コイル9d,1
1dの両端間に電位差が生じず磁束が発生しないことか
ら、不図示の付勢手段による付勢力によって共通接点9
a,11aが常閉接点9b,11bにそれぞれ接続され
るように構成されている。また、前記リレー9,11
は、駆動信号S9,S11の電圧レベルがそれぞれロー
レベルになると、コイル9d,11dの両端間に電位差
が生じて発生する磁束により、前記付勢手段の付勢力に
抗して共通接点9a,11aが常開接点9c,11cに
それぞれ接続されるように構成されている。
In the relays 9 and 11, when the voltage levels of the drive signals S9 and S11 applied from the microcomputer 13 to the other ends of the coils 9d and 11d whose one ends are pulled up by the power source 7 are high levels, Coil 9d, 1
Since no potential difference is generated between both ends of 1d and no magnetic flux is generated, the common contact 9 is generated by the biasing force of the biasing means (not shown).
a and 11a are connected to the normally closed contacts 9b and 11b, respectively. In addition, the relays 9 and 11
When the voltage levels of the drive signals S9 and S11 respectively become low levels, the common contact points 9a and 11a are resisted against the biasing force of the biasing means by the magnetic flux generated by the potential difference between both ends of the coils 9d and 11d. Are connected to the normally open contacts 9c and 11c, respectively.

【0008】前記マイコン13は、開スイッチ1及び閉
スイッチ3の操作に応じて、操作信号S1,S3と同じ
レベルの駆動信号S9,S11をリレー9,11にそれ
ぞれ出力すると共に、正常に動作している間中、正常状
態報知用のウォッチドックパルスWPを出力し、前記リ
セット回路15からの後述するリセット信号S15が入
力されると、内部の状態を強制的に通常状態にリセット
するように構成されている。駆動信号S9,S11のレ
ベルについて詳説すると、開スイッチ1及び閉スイッチ
3が共に操作されておらず、操作信号S1,S3がハイ
レベルである前記通常状態では、前記マイコン13は、
駆動信号S9,S11のレベルを共にハイレベルとし、
開スイッチ1が操作され、操作信号S1がローレベルに
なると、駆動信号S9のレベルをローレベルとし、閉ス
イッチ3が操作され、操作信号S3がローレベルになる
と、駆動信号S11のレベルをローレベルとする。
The microcomputer 13 outputs drive signals S9 and S11 of the same level as the operation signals S1 and S3 to the relays 9 and 11 according to the operation of the open switch 1 and the close switch 3 and operates normally. During this period, a watchdog pulse WP for notifying a normal state is output, and when a reset signal S15 described later from the reset circuit 15 is input, the internal state is forcibly reset to the normal state. Has been done. To describe the levels of the drive signals S9 and S11 in detail, in the normal state in which both the open switch 1 and the close switch 3 are not operated and the operation signals S1 and S3 are at high level, the microcomputer 13
The drive signals S9 and S11 are both set to the high level,
When the open switch 1 is operated and the operation signal S1 becomes low level, the level of the drive signal S9 becomes low level, and when the close switch 3 is operated and the operation signal S3 becomes low level, the level of the drive signal S11 becomes low level. And

【0009】前記リセット回路15は、例えばIC等か
らなり、マイコン13からの前記ウォッチドックパルス
WPを監視して、マイコン13の異常動作によりこのウ
ォッチドックパルスWPの出力が停止した時に、動作リ
セット用のローアクティブのリセット信号S15を間欠
的にマイコン13に出力するように構成されている。前
記電流検出部17は、リレー9,11を介してモータ5
の各端子5a,5bのうちいずれか一方が電源7に接続
され、他方が接地されて、正転方向、或は、逆転方向に
モータ5が回転する状態となった場合に、接地されたモ
ータ5のどちらか一方の端子5a,5bとアースの間を
流れる電流Iaを検出する。そして、電流検出部17
は、前記電流Iaの大きさに応じて電圧が変わる検出信
号S17を、マイコン13の入力端子に出力するように
構成されている。
The reset circuit 15 is composed of, for example, an IC, monitors the watchdog pulse WP from the microcomputer 13, and resets the operation when the output of the watchdog pulse WP is stopped due to an abnormal operation of the microcomputer 13. The low active reset signal S15 is intermittently output to the microcomputer 13. The current detection unit 17 is connected to the motor 5 via the relays 9 and 11.
When one of the terminals 5a and 5b of the above is connected to the power supply 7 and the other is grounded, and the motor 5 is rotated in the forward rotation direction or the reverse rotation direction, the motor is grounded. The current Ia flowing between one of the terminals 5a, 5b of 5 and the ground is detected. Then, the current detector 17
Is configured to output a detection signal S17 whose voltage changes according to the magnitude of the current Ia to the input terminal of the microcomputer 13.

【0010】前記リミットスイッチ19は、一端が接地
され、他端がマイコン13に接続されており、前記窓が
全閉位置に達した時に該窓と接触し内部の接点が閉成し
て、マイコン13の入力端子に現れる検出信号S19の
レベルがハイレベルからローレベルに変化するように構
成されている。
One end of the limit switch 19 is grounded and the other end is connected to the microcomputer 13. When the window reaches the fully closed position, the limit switch 19 comes into contact with the window and the internal contact point is closed. The detection signal S19 appearing at the 13 input terminals is configured to change from high level to low level.

【0011】上述した構成の従来のパワーウィンド装置
では、開スイッチ1を操作すると、マイコン13が出力
するローレベルの駆動信号S9とハイレベルの駆動信号
S11により、リレー9を介して端子5aが電源7に接
続されると共に、リレー11を介して端子5bが接地さ
れて、窓が開く正転方向にモータ5が回転する。また、
閉スイッチ3を操作すると、マイコン13が出力するハ
イレベルの駆動信号S9とローレベルの駆動信号S11
により、リレー9を介して端子5aが接地されると共
に、リレー11を介して端子5bが電源7に接続され
て、窓が閉じる逆転方向にモータ5が回転する。一方、
開閉の両スイッチ1,3を共に操作しないと、マイコン
13が出力するハイレベルの駆動信号S9,S11によ
り、リレー9,11を介して両端子5a,5bが共に接
地されて、モータ5の回転が停止する。
In the conventional power window device having the above-described structure, when the open switch 1 is operated, the terminal 5a is powered via the relay 9 by the low-level drive signal S9 and the high-level drive signal S11 output from the microcomputer 13. 7, the terminal 5b is grounded via the relay 11, and the motor 5 rotates in the forward direction in which the window opens. Also,
When the close switch 3 is operated, the high level drive signal S9 and the low level drive signal S11 output from the microcomputer 13 are output.
As a result, the terminal 5a is grounded via the relay 9 and the terminal 5b is connected to the power source 7 via the relay 11, so that the motor 5 rotates in the reverse rotation direction in which the window is closed. on the other hand,
If both the opening and closing switches 1 and 3 are not operated, both terminals 5a and 5b are grounded via the relays 9 and 11 by the high-level drive signals S9 and S11 output from the microcomputer 13 to rotate the motor 5. Stops.

【0012】さらに、前記操作信号S1,S3のレベル
と前記電流検出部17の検出信号S17のレベルが所定
のパターンとなり、これによって前記マイコン13が、
窓枠(図示せず)と窓の間に異物(図示せず)を挟み込
んだことを検出すると、開スイッチ1及び閉スイッチ3
の操作に一切関係なく無条件に、駆動信号S9がローレ
ベルになると共に駆動信号S11がハイレベルになる。
これにより、モータ5が正転方向に回転して窓が強制的
に開かれる。
Further, the levels of the operation signals S1 and S3 and the level of the detection signal S17 of the current detecting section 17 form a predetermined pattern, whereby the microcomputer 13 is
When it is detected that a foreign object (not shown) is sandwiched between the window frame (not shown) and the window, the open switch 1 and the close switch 3
The drive signal S9 goes low and the drive signal S11 goes high unconditionally regardless of the operation.
As a result, the motor 5 rotates in the forward direction and the window is forcibly opened.

【0013】尚、前記リミットスイッチ19からの検出
信号S19のレベルがハイレベルからローレベルに変化
し、これによって前記マイコン13が、前記窓が全閉位
置に達したことを検出した場合には、電流検出部17の
検出信号S17のレベルが前記所定のパターンになった
としても、マイコン13は、駆動信号S9を無条件にロ
ーレベルとし、且つ、駆動信号S11を無条件にハイレ
ベルとする上述のような動作は行わない。これにより、
窓が全閉位置に達した時に、モータ5が正転方向に回転
され窓が強制的に開かれて窓が閉じなくなるという、モ
ータ5の誤反転が防止される。
When the level of the detection signal S19 from the limit switch 19 changes from the high level to the low level, and the microcomputer 13 detects that the window has reached the fully closed position, Even if the level of the detection signal S17 of the current detector 17 becomes the predetermined pattern, the microcomputer 13 unconditionally sets the drive signal S9 to the low level and unconditionally sets the drive signal S11 to the high level. It does not operate like. This allows
When the window reaches the fully closed position, the motor 5 is rotated in the forward direction, the window is forcibly opened, and the window is not closed.

【0014】[0014]

【発明が解決しようとする課題】ところが、これらの動
作は、マイコン13に異常が生じると、マイコン13か
ら駆動信号S9,S11が出力されなくなるため行われ
なくなり、しかも、前記ウォッチドック信号の出力の停
止に呼応して、リセット回路15からマイコン13にロ
ーアクティブのリセット信号S15が出力された後も、
マイコン13が復旧しない場合には、マイコン13を交
換等しない限り、上述の動作が行われないままとなる。
従って、例えば窓が開いた状態で復旧不能な異常がマイ
コン13に生じると、異物の挟み込み検出及び解除動作
だけに止まらず、開スイッチ1や閉スイッチ3の操作に
よる窓の開閉そのものまで行えなくなってしまうという
不具合があった。
However, these operations are not performed because the drive signals S9 and S11 are not output from the microcomputer 13 when an abnormality occurs in the microcomputer 13, and the operation of the watch dock signal is not performed. Even after the reset circuit 15 outputs the low active reset signal S15 to the microcomputer 13 in response to the stop,
If the microcomputer 13 does not recover, the above operation is not performed unless the microcomputer 13 is replaced.
Therefore, for example, if an unrecoverable abnormality occurs in the microcomputer 13 in a state where the window is open, the operation of opening and closing the window by the operation of the open switch 1 and the close switch 3 cannot be performed not only by the detection and release operation of the foreign matter. There was a problem that it ended up.

【0015】尚、マイコンを用いたパワーウィンド装置
におけるマイコンの異常時に、窓の開閉が全くできなく
なるのを防止するための構成が、実開昭64−1828
5号公報で開示されている。しかしながら、このパワー
ウィンド装置は、開閉用モータと電源の間に介設された
リレーを開閉動作させるマイコンの異常時に、マイコン
に代わってリレーを開閉させるための信号を確保するも
のに過ぎず、先に述べたような、マイコンの異常時に、
マイコンからの駆動信号に代わってモータと電源の接続
極性を切り換えるための信号を確保するものではない。
A structure for preventing the windows from not being opened or closed at the time of abnormality of the microcomputer in the power window device using the microcomputer is disclosed in Japanese Utility Model Laid-Open No. 64-1828.
It is disclosed in Japanese Patent No. However, this power window device merely secures a signal for opening and closing the relay on behalf of the microcomputer when the microcomputer for opening and closing the relay interposed between the opening and closing motor and the power supply is abnormal. When the microcomputer malfunctions, as described in
It does not secure the signal for switching the connection polarity of the motor and the power supply in place of the drive signal from the microcomputer.

【0016】本発明は前記事情に鑑みてなされたもの
で、本発明の目的は、異物の挟み込み検出及び解除動作
等、開閉スイッチの操作以外にも窓開閉用のモータを駆
動させることができるように、開閉スイッチとモータの
間にマイコンを介在させたパワーウィンド装置におい
て、マイコンの故障時等であっても、開閉スイッチによ
る窓の開閉を確実に行えるようにすることができるパワ
ーウィンド装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to enable driving a motor for opening / closing a window in addition to the operation of the opening / closing switch, such as the detection and release operation of a foreign object. In addition, in a power window device in which a microcomputer is interposed between an open / close switch and a motor, a power window device can be surely opened / closed by the open / close switch even when the microcomputer fails. To do.

【0017】[0017]

【課題を解決するための手段】前記目的を達成するため
本発明は、正常動作時にウォッチドックパルスを出力し
つつ、開閉スイッチからの操作信号を基に窓開閉用の駆
動信号を生成し出力する駆動信号生成手段と、前記ウォ
ッチドックパルスを監視し、前記駆動信号生成手段の異
常動作時に動作リセット用のリセット信号を該駆動信号
生成手段に出力するリセット回路とを備え、前記駆動信
号によりモータを駆動して窓を開閉させるパワーウィン
ド装置であって、前記開閉スイッチ及び前記駆動信号生
成手段に接続され、前記リセット信号の出力中に前記操
作信号を選択出力し、前記リセット信号の出力停止中に
前記駆動信号を選択出力する信号選択回路を備え、前記
駆動信号及び前記操作信号のうち前記信号選択回路が選
択出力した信号により前記モータを駆動するようにした
ことを特徴とする。
In order to achieve the above object, the present invention outputs a watchdog pulse during normal operation, and also generates and outputs a window opening / closing drive signal based on an operation signal from an opening / closing switch. A drive signal generating unit and a reset circuit that monitors the watchdog pulse and outputs a reset signal for operation reset to the drive signal generating unit when the drive signal generating unit abnormally operates are provided, and the motor is driven by the drive signal. A power window device for driving to open and close a window, which is connected to the open / close switch and the drive signal generating means, selectively outputs the operation signal during output of the reset signal, and stops output of the reset signal. A signal selection circuit for selectively outputting the drive signal, wherein the signal selected by the signal selection circuit among the drive signal and the operation signal Ri is characterized in that so as to drive the motor.

【0018】また、本発明は、所定時間のタイムカウン
トがタイムアップすることでタイムアップ信号を前記信
号選択回路に出力し、前記ウォッチドックパルスの検出
により、前記リセット回路による前記リセット信号の出
力のリセットと連動して、前記タイムカウントをリセッ
トし且つ前記タイムアップ信号の出力を停止するタイマ
回路をさらに備え、前記信号選択回路は、前記タイムア
ップ信号の入力の有無に応じて前記駆動信号及び前記操
作信号のうちどちらか一方を選択するものとした。
Further, according to the present invention, a time-up signal is output to the signal selection circuit when the time count of a predetermined time is up, and the reset circuit outputs the reset signal by detecting the watchdog pulse. A timer circuit that resets the time count and stops outputting the time-up signal in conjunction with resetting is further provided, and the signal selection circuit is configured to detect the drive signal and the One of the operation signals is selected.

【0019】[0019]

【作用】本発明によれば、駆動信号生成手段の異常動作
の検出時に、ウォッチドックパルスを監視するリセット
回路からのリセット信号の出力に基づいて、駆動信号生
成手段からの駆動信号の代わりに開閉スイッチからの操
作信号により、窓開閉用のモータを駆動するので、異常
動作に伴い駆動信号生成手段が駆動信号を出力しなくな
ったとしても、窓の開閉を行えなくなることがない。
尚、信号選択手段による駆動信号と操作信号のうちどち
らか一方の信号の選択は、駆動信号生成手段の異常動作
の発生によるリセット信号の出力に伴って、所定時間の
タイムカウントのタイムアップ後にタイマ回路が出力す
るタイムアップ信号を基に行うようにすることも可能で
ある。
According to the present invention, when the abnormal operation of the drive signal generating means is detected, the opening / closing operation is performed instead of the drive signal from the drive signal generating means based on the output of the reset signal from the reset circuit for monitoring the watchdog pulse. Since the window opening / closing motor is driven by the operation signal from the switch, even if the drive signal generating means stops outputting the drive signal due to an abnormal operation, the window cannot be opened / closed.
It should be noted that the selection of either the drive signal or the operation signal by the signal selection means is performed by the timer after the time count of the predetermined time is increased in accordance with the output of the reset signal due to the occurrence of the abnormal operation of the drive signal generation means. It is also possible to make it based on the time-up signal output from the circuit.

【0020】[0020]

【実施例】以下、本発明によるパワーウィンドの挟み込
み検出装置の実施例を図面に基づいて説明する。まず、
本発明の第1実施例に係るパワーウィンド装置について
図1乃至図11を参照して説明する。図1は第1実施例
に係るパワーウィンド装置の概略構成を示す回路図で、
図中図20に示した従来のパワーウィンド装置と同一の
部材、箇所には、図20で付したものと同一の引用符号
を付して説明する。図1に示す第1実施例のパワーウィ
ンド装置は、開スイッチ1、閉スイッチ3、モータ5、
電源7、リレー9,11、挟み込み検出動作及び解除動
作を行うマイコン14(駆動信号生成手段に相当)、マ
イコン14の動作監視用のリセット回路15、論理回路
群からなり開閉スイッチ1,3とマイコン14からの信
号を選択する信号選択回路21、モータ5の負荷検出用
の電流検出部17、並びに、窓(図示せず)の全閉位置
検出用のリミットスイッチ19を備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a power window pinch detection device according to the present invention will be described below with reference to the drawings. First,
A power window device according to a first embodiment of the present invention will be described with reference to FIGS. 1 to 11. FIG. 1 is a circuit diagram showing a schematic configuration of a power window device according to a first embodiment,
In the figure, the same members and parts as those of the conventional power window device shown in FIG. 20 will be described with the same reference numerals as those shown in FIG. The power window device of the first embodiment shown in FIG. 1 includes an open switch 1, a close switch 3, a motor 5,
The power supply 7, the relays 9 and 11, the microcomputer 14 (corresponding to drive signal generating means) that performs the entrapment detection operation and the release operation, the reset circuit 15 for monitoring the operation of the microcomputer 14, the open / close switches 1 and 3 including the logic circuit group, and the microcomputer. It is provided with a signal selection circuit 21 for selecting a signal from 14, a current detection unit 17 for detecting a load of the motor 5, and a limit switch 19 for detecting a fully closed position of a window (not shown).

【0021】前記開閉の両スイッチ1,3はそれぞれ、
一端が接地され、他端が電源7でプルアップされた上で
マイコン14に接続されており、操作していない状態で
は、電源7によるプルアップでハイレベル(本実施例で
は電源7電圧)となり、操作することで接地されてロー
レベルとなる操作信号S1,S3を、マイコン14の入
力端子に出力するように構成されている。
The open / close switches 1 and 3 are respectively
One end is grounded and the other end is pulled up by the power supply 7 and then connected to the microcomputer 14. When not operated, the pull-up by the power supply 7 brings it to a high level (power supply 7 voltage in this embodiment). The operation signals S1 and S3 that are grounded to a low level by being operated are output to the input terminal of the microcomputer 14.

【0022】そして、前記モータ5は、リレー9の共通
接点9aと常開接点9c、及び、リレー11の共通接点
11aと常閉接点11bがそれぞれ接続されると、端子
5aが電源7に接続されると共に端子5bが接地され
て、窓が開く正転方向に回転する。また、前記モータ5
は、リレー9の共通接点9aと常閉接点9b、及び、リ
レー11の共通接点11aと常開接点11cがそれぞれ
接続されると、端子5bが電源7に接続されると共に端
子5aが接地されて、窓が閉じる逆転方向に回転する。
さらに、前記モータ5は、リレー9,11の共通接点9
a,11aと常閉接点9b,11bがそれぞれ接続され
ると、端子5a,5bが共に接地されて停止する。
In the motor 5, when the common contact 9a and the normally open contact 9c of the relay 9 and the common contact 11a and the normally closed contact 11b of the relay 11 are connected, the terminal 5a is connected to the power supply 7. At the same time, the terminal 5b is grounded and rotates in the forward direction in which the window opens. In addition, the motor 5
When the common contact 9a and the normally closed contact 9b of the relay 9 and the common contact 11a and the normally open contact 11c of the relay 11 are connected, respectively, the terminal 5b is connected to the power source 7 and the terminal 5a is grounded. , The window closes and rotates in the reverse direction.
Further, the motor 5 has a common contact 9 of the relays 9 and 11.
When a and 11a and the normally closed contacts 9b and 11b are respectively connected, both terminals 5a and 5b are grounded and stopped.

【0023】前記リレー9,11は、一端が電源7によ
りプルアップされたコイル9d,11dの他端に信号選
択回路21から印加される否定論理和信号SN1,SN
2の電圧レベルがハイレベルであるときに、コイル9
d,11dの両端間に電位差が生じず磁束が発生しない
ことから、不図示の付勢手段による付勢力によって共通
接点9a,11aが常閉接点9b,11bに接続される
ように構成されている。また、前記リレー9,11は、
否定論理和信号SN1,SN2の電圧レベルがそれぞれ
ローレベルになると、コイル9d,11dの両端間に電
位差が生じて発生する磁束により、前記付勢手段の付勢
力に抗して共通接点9a,11aが常開接点9c,11
cにそれぞれ接続されるように構成されている。
The relays 9 and 11 have NOR gate signals SN1 and SN applied from the signal selection circuit 21 to the other ends of the coils 9d and 11d whose one ends are pulled up by the power supply 7.
When the voltage level of 2 is high, the coil 9
Since there is no potential difference between both ends of d and 11d and no magnetic flux is generated, the common contacts 9a and 11a are configured to be connected to the normally closed contacts 9b and 11b by the biasing force of the biasing means (not shown). . Further, the relays 9 and 11 are
When the voltage levels of the NOR signals SN1 and SN2 become low, a potential difference is generated between both ends of the coils 9d and 11d, and the magnetic flux is generated to resist the urging force of the urging means and the common contacts 9a and 11a. Are normally open contacts 9c, 11
It is configured to be connected to each of c.

【0024】前記マイコン14は、開スイッチ1及び閉
スイッチ3の操作に応じて、操作信号S1,S3とはレ
ベルが反転した駆動信号S10,S12を信号選択回路
21にそれぞれ出力すると共に、正常に動作している間
中、正常状態報知用のウォッチドックパルスWPを出力
し、前記リセット回路15からの後述するリセット信号
S15が入力されると、内部の状態を強制的に通常状態
にリセットするように構成されている。駆動信号S1
0,S12のレベルについて詳説すると、開スイッチ1
及び閉スイッチ3が共に操作されておらず、操作信号S
1,S3がハイレベルである前記通常状態では、前記マ
イコン14は、駆動信号S10,S12のレベルを共に
ローレベルとし、開スイッチ1が操作され、操作信号S
1がローレベルになると、駆動信号S10のレベルをハ
イレベルとし、閉スイッチ3が操作され、操作信号S3
がローレベルになると、駆動信号S12のレベルをハイ
レベルとする。
In response to the operation of the open switch 1 and the close switch 3, the microcomputer 14 outputs drive signals S10 and S12 whose levels are inverted from those of the operation signals S1 and S3 to the signal selection circuit 21, and normally During operation, a watchdog pulse WP for notifying a normal state is output, and when a reset signal S15 described later from the reset circuit 15 is input, the internal state is forcibly reset to the normal state. Is configured. Drive signal S1
To explain the levels of 0 and S12 in detail, the open switch 1
And the closing switch 3 are not operated, the operation signal S
In the normal state in which 1 and S3 are at high level, the microcomputer 14 sets the levels of the drive signals S10 and S12 to low level, the open switch 1 is operated, and the operation signal S
When 1 becomes a low level, the level of the drive signal S10 is set to a high level, the closing switch 3 is operated, and the operation signal S3
Becomes low level, the level of the drive signal S12 becomes high level.

【0025】前記リセット回路15は、例えばIC等か
らなり、マイコン14からの前記ウォッチドックパルス
WPを監視して、マイコン14の異常動作によりこのウ
ォッチドックパルスWPの出力が停止した時に、動作リ
セット用のローアクティブのリセット信号S15を間欠
的にマイコン14に出力するように構成されている。前
記電流検出部17は、リレー9,11を介してモータ5
の各端子5a,5bのうちいずれか一方が電源7に接続
され、他方が接地されて、正転、或は、逆転方向に回転
する状態となった場合に、接地されたモータ5のどちら
か一方の端子5a,5bとアースの間を流れる電流Ia
を検出する。そして、電流検出部17は、前記電流Ia
の大きさに応じて電圧が変わる検出信号S17を、マイ
コン14の入力端子に出力するように構成されている。
The reset circuit 15 is composed of, for example, an IC, monitors the watchdog pulse WP from the microcomputer 14, and resets the operation when the output of the watchdog pulse WP is stopped due to an abnormal operation of the microcomputer 14. The low active reset signal S15 is intermittently output to the microcomputer 14. The current detection unit 17 is connected to the motor 5 via the relays 9 and 11.
One of the terminals 5a and 5b of the motor 5 is connected to the power source 7 and the other is grounded, and either of the motors 5 is grounded when it is rotated in the forward or reverse direction. Current Ia flowing between one terminal 5a, 5b and ground
To detect. Then, the current detector 17 determines the current Ia.
Is output to the input terminal of the microcomputer 14 as a detection signal S17 whose voltage changes according to the magnitude of the.

【0026】前記リミットスイッチ19は、一端が接地
され、他端がマイコン14に接続されており、前記窓が
全閉位置に達した時に該窓と接触し内部の接点が閉成し
て、マイコン14の入力端子に現れる検出信号S19の
レベルがローレベルからハイレベルに変化するように構
成されている。
One end of the limit switch 19 is grounded and the other end is connected to the microcomputer 14. When the window reaches the fully closed position, the limit switch 19 comes into contact with the window and the internal contact point is closed. The detection signal S19 appearing at the 14 input terminals is configured so that its level changes from low level to high level.

【0027】前記信号選択回路21は、4つのAND
(論理積)ゲートA1〜A4と、ANDゲートA1,A
2の否定論理和(NOR)を取り、リレー9に前記否定
論理和信号SN1を出力するNORゲートN1と、AN
DゲートA3,A4の否定論理和を取り、リレー11に
前記否定論理和信号SN2を出力するNORゲートN2
とで構成されている。
The signal selection circuit 21 includes four ANDs.
(Logical product) gates A1 to A4 and AND gates A1 and A
NOR gate N1 which takes the NOR of 2 and outputs the NOR signal SN1 to the relay 9;
NOR gate N2 which takes the NOR of the D gates A3 and A4 and outputs the NOR signal SN2 to the relay 11.
It consists of and.

【0028】前記ANDゲートA1は、開スイッチ1か
らの操作信号S1の反転信号R1と、リセット回路15
からのリセット信号S15をNOTゲートT23で反転
した反転信号R23との論理積を取って、NORゲート
N1に論理積信号SA1を出力し、ANDゲートA2
は、前記リセット信号S15と、開スイッチ1からの操
作信号S1に応じてマイコン14から出力される後述の
駆動信号S10との論理積を取って、NORゲートN1
に論理積信号SA2を出力する。また、前記ANDゲー
トA3は、閉スイッチ3からの操作信号S3の反転信号
R3と、NOTゲートT23からのリセット信号S15
の反転信号R23との論理積を取って、論理積信号SA
3を出力し、ANDゲートA4は、前記リセット信号S
15と、閉スイッチ3からの操作信号S3に応じてマイ
コン14から出力される後述の駆動信号S12との論理
積を取って、論理積信号SA4を出力する。
The AND gate A1 receives the inverted signal R1 of the operation signal S1 from the open switch 1 and the reset circuit 15.
AND signal A1 is output to the NOR gate N1 and the AND signal is output from the AND gate A2.
Is a logical product of the reset signal S15 and a drive signal S10, which will be described later, output from the microcomputer 14 in response to the operation signal S1 from the open switch 1 to obtain the NOR gate N1.
And outputs a logical product signal SA2. Further, the AND gate A3 has an inversion signal R3 of the operation signal S3 from the closing switch 3 and a reset signal S15 from the NOT gate T23.
AND signal R23 and the logical product signal SA
3 is output, and the AND gate A4 outputs the reset signal S
15 and a drive signal S12, which will be described later, output from the microcomputer 14 in response to the operation signal S3 from the close switch 3 are ANDed and a logical product signal SA4 is output.

【0029】次に、上述のように構成された本実施例の
パワーウィンド装置の動作(作用)について説明する。
まず、前記マイコン14が正常に動作している間は、リ
セット回路15からのリセット信号S15のレベルがハ
イレベルとなり、リセット信号S15の反転信号R23
のレベルがローレベルとなる。
Next, the operation (action) of the power window device of this embodiment constructed as described above will be explained.
First, while the microcomputer 14 is operating normally, the level of the reset signal S15 from the reset circuit 15 becomes high and the inverted signal R23 of the reset signal S15 is obtained.
Becomes low level.

【0030】このため、マイコン14の正常動作中に開
スイッチ1を操作し、開閉の各スイッチ1,3がローレ
ベルの操作信号S1とハイレベルの操作信号S3をそれ
ぞれ出力すると、図2に示すように、マイコン14がハ
イレベルの駆動信号S10とローレベルの駆動信号S1
2をそれぞれ出力する。そして、ハイレベルの反転信号
R1とローレベルの反転信号R23が入力されるAND
ゲートA1は、ローレベルの論理積信号SA1を出力
し、ローレベルの反転信号R3,R23が入力されるA
NDゲートA3も、ローレベルの論理積信号SA3を出
力する。一方、ハイレベルのリセット信号S15が入力
されるANDゲートA2,A4は、駆動信号S10,S
12とそれぞれ同じハイレベルの論理積信号SA2とロ
ーレベルの論理積信号SA4を出力する。
Therefore, when the open switch 1 is operated during normal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a low level operation signal S1 and a high level operation signal S3, as shown in FIG. As described above, the microcomputer 14 drives the high-level drive signal S10 and the low-level drive signal S1.
2 is output respectively. An AND signal to which the high-level inversion signal R1 and the low-level inversion signal R23 are input
The gate A1 outputs a low-level AND signal SA1, and the low-level inverted signals R3 and R23 are input to the gate A1.
The ND gate A3 also outputs a low-level AND signal SA3. On the other hand, the AND gates A2 and A4 to which the high-level reset signal S15 is input are driven by the drive signals S10 and S.
12 outputs a high-level AND signal SA2 and a low-level AND signal SA4, respectively.

【0031】従って、論理積信号SA1がローレベルで
あり論理積信号SA2がハイレベルであることから、N
ORゲートN1が出力する否定論理和信号SN1はロー
レベルとなり、一方、論理積信号SA3,SA4が共に
ローレベルであることから、NORゲートN2が出力す
る否定論理和信号SN2はハイレベルとなる。そして、
NORゲートN1,N2がそれぞれ出力するローレベル
の否定論理和信号SN1とハイレベルの否定論理和信号
SN2により、リレー9を介して端子5aが電源7に接
続されると共に、リレー11を介して端子5bが接地さ
れて、窓が開く正転方向にモータ5が回転する。
Therefore, since the logical product signal SA1 is at the low level and the logical product signal SA2 is at the high level, N
The NOR gate signal SN1 output from the OR gate N1 is at a low level, while the AND signals SA3 and SA4 are both at a low level, the NOR gate signal SN2 output from the NOR gate N2 is at a high level. And
The low-level NOR signal SN1 and the high-level NOR signal SN2 output from the NOR gates N1 and N2 respectively connect the terminal 5a to the power supply 7 via the relay 9 and the terminal 11 via the relay 11. 5b is grounded, and the motor 5 rotates in the forward direction in which the window opens.

【0032】また、マイコン14の正常動作中に閉スイ
ッチ3を操作し、開閉の各スイッチ1,3がハイレベル
の操作信号S1とローレベルの操作信号S3をそれぞれ
出力すると、図3に示すように、マイコン14がローレ
ベルの駆動信号S10とハイレベルの駆動信号S12を
それぞれ出力する。そして、ローレベルの反転信号R1
とハイレベルの反転信号R23が入力されるANDゲー
トA1は、ローレベルの論理積信号SA1を出力し、ハ
イレベルの反転信号R3とローレベルの反転信号R23
が入力されるANDゲートA3も、ローレベルの論理積
信号SA3を出力する。一方、ハイレベルのリセット信
号S15が入力されるANDゲートA2,A4は、駆動
信号S10,S12とそれぞれ同じローレベルの論理積
信号SA2とハイレベルの論理積信号SA4を出力す
る。
Further, when the close switch 3 is operated during normal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a high level operation signal S1 and a low level operation signal S3, as shown in FIG. Then, the microcomputer 14 outputs a low level drive signal S10 and a high level drive signal S12, respectively. Then, the low level inversion signal R1
AND gate A1 to which high level inversion signal R23 is input outputs low level AND signal SA1, high level inversion signal R3 and low level inversion signal R23.
The AND gate A3 to which is input also outputs the low-level AND signal SA3. On the other hand, the AND gates A2 and A4, to which the high level reset signal S15 is input, output the low level logical product signal SA2 and the high level logical product signal SA4, which are the same as the drive signals S10 and S12, respectively.

【0033】従って、論理積信号SA1と論理積信号S
A2が共にローレベルであることから、NORゲートN
1が出力する否定論理和信号SN1はハイレベルとな
り、一方、論理積信号SA3がローレベルであり論理積
信号SA4がハイレベルであることから、NORゲート
N2が出力する否定論理和信号SN2はローレベルとな
る。そして、NORゲートN1,N2がそれぞれ出力す
るハイレベルの否定論理和信号SN1とローレベルの否
定論理和信号SN2により、リレー9を介して端子5a
が接地されると共に、リレー11を介して端子5bが電
源7に接続されて、窓が閉じる逆転方向にモータ5が回
転する。
Therefore, the logical product signal SA1 and the logical product signal S
Since both A2 are at low level, NOR gate N
The NOR signal SN1 outputted by 1 is at a high level, while the AND signal SA3 is at a low level and the AND signal SA4 is at a high level, the NOR signal N2 output by the NOR gate N2 is at a low level. It becomes a level. Then, by the high-level NOR signal SN1 and the low-level NOR signal SN2 output from the NOR gates N1 and N2, respectively, the terminal 5a is passed through the relay 9.
Is grounded, and the terminal 5b is connected to the power source 7 via the relay 11, so that the motor 5 rotates in the reverse rotation direction in which the window is closed.

【0034】さらに、マイコン14の正常動作中に開閉
の両スイッチ1,3が共に操作されず、各スイッチ1,
3がハイレベルの操作信号S1,S3をそれぞれ出力す
ると、図4に示すように、マイコン14がローレベルの
駆動信号S10,S12をそれぞれ出力する。そして、
ローレベルの反転信号R1,R23が入力されるAND
ゲートA1は、ローレベルの論理積信号SA1を出力
し、ローレベルの反転信号R3,R23が入力されるA
NDゲートA3も、ローレベルの論理積信号SA3を出
力する。一方、ハイレベルのリセット信号S15が入力
されるANDゲートA2,A4は、駆動信号S10,S
12とそれぞれ同じローレベルの論理積信号SA2,S
A4を出力する。
Further, during the normal operation of the microcomputer 14, both the opening and closing switches 1 and 3 are not operated,
When 3 outputs high-level operation signals S1 and S3, respectively, the microcomputer 14 outputs low-level drive signals S10 and S12, respectively, as shown in FIG. And
AND to which low level inversion signals R1 and R23 are input
The gate A1 outputs a low-level AND signal SA1, and the low-level inverted signals R3 and R23 are input to the gate A1.
The ND gate A3 also outputs a low-level AND signal SA3. On the other hand, the AND gates A2 and A4 to which the high-level reset signal S15 is input are driven by the drive signals S10 and S.
12 and the low-level logical product signals SA2 and S, respectively.
Output A4.

【0035】従って、論理積信号SA1と論理積信号S
A2が共にローレベルであることから、NORゲートN
1が出力する否定論理和信号SN1はハイレベルとな
り、また、論理積信号SA3と論理積信号SA4が共に
ローレベルであることから、NORゲートN2が出力す
る否定論理和信号SN2もハイレベルとなる。そして、
NORゲートN1,N2がそれぞれ出力するハイレベル
の否定論理和信号SN1,SN2により、リレー9,1
1を介して端子5a,5bが共に接地されて、モータ5
が停止する。
Therefore, the logical product signal SA1 and the logical product signal S
Since both A2 are at low level, NOR gate N
The NOR signal SN1 output by 1 is at a high level, and since the AND signal SA3 and the AND signal SA4 are both at a low level, the NOR signal SN2 output by the NOR gate N2 is also at a high level. . And
By the high-level NOR signals SN1 and SN2 output from the NOR gates N1 and N2, respectively, the relays 9 and 1
The terminals 5a and 5b are both grounded via
Stops.

【0036】次に、前記マイコン14の動作が異常とな
ると、リセット回路15からのリセット信号S15のレ
ベルが間欠的にハイレベルからローレベルに変わり、リ
セット信号S15の反転信号R23のレベルが間欠的に
ローレベルからハイレベルに変わると共に、マイコン1
4からの駆動信号S10,S12が、開閉の各スイッチ
1,3が操作されていない時のローレベルに固定され、
これにより、ANDゲートA2,A4の入力のうち一方
がローレベルとなる。従って、ANDゲートA2,A4
は、他方の入力であり駆動信号S10,S12のレベル
を決定する開閉の各スイッチ1,3の操作に関係なく、
ローレベルの論理積信号SA2,SA4をそれぞれ出力
する。
Next, when the operation of the microcomputer 14 becomes abnormal, the level of the reset signal S15 from the reset circuit 15 intermittently changes from the high level to the low level, and the level of the inverted signal R23 of the reset signal S15 is intermittent. It changes from low level to high level and the microcomputer 1
The drive signals S10 and S12 from 4 are fixed to the low level when the open / close switches 1 and 3 are not operated,
As a result, one of the inputs of the AND gates A2 and A4 becomes low level. Therefore, AND gates A2 and A4
Is the other input and is independent of the operation of the open / close switches 1 and 3 that determine the levels of the drive signals S10 and S12.
It outputs low-level AND signals SA2 and SA4, respectively.

【0037】そして、マイコン14の異常動作中に開ス
イッチ1を操作し、開閉の各スイッチ1,3がローレベ
ルの操作信号S1とハイレベルの操作信号S3をそれぞ
れ出力すると、図5に示すように、リセット回路15か
らのリセット信号S15がハイレベルの間、ハイレベル
の反転信号R1とローレベルの反転信号R23が入力さ
れるANDゲートA1が、ローレベルの論理積信号SA
1を出力し、ローレベルの反転信号R3,R23が入力
されるANDゲートA3も、ローレベルの論理積信号S
A3を出力する。
When the open switch 1 is operated during abnormal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a low level operation signal S1 and a high level operation signal S3, as shown in FIG. In addition, while the reset signal S15 from the reset circuit 15 is at the high level, the AND gate A1 to which the high level inversion signal R1 and the low level inversion signal R23 are input is changed to the low level AND signal SA.
The AND gate A3 that outputs 1 and receives the low level inversion signals R3 and R23 also receives the low level AND signal S.
Output A3.

【0038】このため、マイコン14の異常動作中にお
ける開スイッチ1の操作時で、且つ、リセット回路15
からのリセット信号S15がハイレベルの間は、論理積
信号SA1と論理積信号SA2が共にローレベルである
ことから、NORゲートN1が出力する否定論理和信号
SN1はハイレベルとなり、また、論理積信号SA3と
論理積信号SA4が共にローレベルであることから、N
ORゲートN2が出力する否定論理和信号SN2もハイ
レベルとなる。そして、NORゲートN1,N2がそれ
ぞれ出力するハイレベルの否定論理和信号SN1,SN
2により、リレー9,11を介して端子5a,5bが共
に接地されて、モータ5が停止する。
Therefore, when the open switch 1 is operated during the abnormal operation of the microcomputer 14, the reset circuit 15 is operated.
Since the logical product signal SA1 and the logical product signal SA2 are both at a low level while the reset signal S15 from is high level, the NOR signal SN1 output from the NOR gate N1 is at a high level, and the logical product is Since both the signal SA3 and the logical product signal SA4 are at low level, N
The NOR signal SN2 output from the OR gate N2 also becomes high level. Then, high-level NOR signals SN1 and SN output from the NOR gates N1 and N2, respectively.
2, the terminals 5a and 5b are both grounded via the relays 9 and 11, and the motor 5 stops.

【0039】また、マイコン14の異常動作中に閉スイ
ッチ3を操作し、開閉の各スイッチ1,3がハイレベル
の操作信号S1とローレベルの操作信号S3をそれぞれ
出力すると、図6に示すように、リセット回路15から
のリセット信号S15がハイレベルの間、ローレベルの
反転信号R1,R23が入力されるANDゲートA1が
ローレベルの論理積信号SA1を出力し、ハイレベルの
反転信号R3とローレベルの反転信号R23が入力され
るANDゲートA3も、ローレベルの論理積信号SA3
を出力する。
Further, when the close switch 3 is operated during abnormal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a high level operation signal S1 and a low level operation signal S3, respectively, as shown in FIG. Further, while the reset signal S15 from the reset circuit 15 is at the high level, the AND gate A1 to which the low level inversion signals R1 and R23 are input outputs the low level AND signal SA1 and the high level inversion signal R3. The AND gate A3 to which the low level inversion signal R23 is input also receives the low level AND signal SA3.
Is output.

【0040】このため、マイコン14の異常動作中にお
ける閉スイッチ3の操作時で、且つ、リセット回路15
からのリセット信号S15がハイレベルの間は、論理積
信号SA1乃至論理積信号SA4が全てローレベルであ
ることから、開スイッチ1の操作時と同様に、NORゲ
ートN1,N2が出力する否定論理和信号SN1,SN
2はそれぞれハイレベルとなる。そして、NORゲート
N1,N2がそれぞれ出力するハイレベルの否定論理和
信号SN1,SN2により、リレー9,11を介して端
子5a,5bが共に接地されて、モータ5が停止する。
Therefore, when the close switch 3 is operated during the abnormal operation of the microcomputer 14, the reset circuit 15
Since the logical product signals SA1 to SA4 are all at the low level while the reset signal S15 from is high level, the negative logic output from the NOR gates N1 and N2 is the same as when the open switch 1 is operated. Sum signal SN1, SN
2 becomes high level respectively. Then, the high-level NOR signals SN1 and SN2 output from the NOR gates N1 and N2 respectively ground the terminals 5a and 5b through the relays 9 and 11, and the motor 5 stops.

【0041】さらに、マイコン14の異常動作中に開閉
の両スイッチ1,3が共に操作されず、各スイッチ1,
3がハイレベルの操作信号S1,S3をそれぞれ出力す
ると、図7に示すように、リセット回路15からのリセ
ット信号S15がハイレベルの間、ローレベルの反転信
号R1,R23が入力されるANDゲートA1は、ロー
レベルの論理積信号SA1を出力し、ローレベルの反転
信号R3,R23が入力されるANDゲートA3も、ロ
ーレベルの論理積信号SA3を出力する。
Further, during the abnormal operation of the microcomputer 14, both the opening and closing switches 1 and 3 are not operated and the switches 1 and 3 are not operated.
3 outputs high-level operation signals S1 and S3, respectively, as shown in FIG. 7, while the reset signal S15 from the reset circuit 15 is at high level, the low-level inversion signals R1 and R23 are input. A1 outputs the low-level logical product signal SA1, and the AND gate A3 to which the low-level inverted signals R3 and R23 are input also outputs the low-level logical product signal SA3.

【0042】このため、マイコン14の異常動作中にお
ける開閉の両スイッチ1,3の非操作時で、且つ、リセ
ット回路15からのリセット信号S15がハイレベルの
間は、論理積信号SA1乃至論理積信号SA4が全てロ
ーレベルであることから、開スイッチ1や閉スイッチ3
の操作時と同様に、NORゲートN1,N2が出力する
否定論理和信号SN1,SN2はそれぞれハイレベルと
なる。そして、NORゲートN1,N2がそれぞれ出力
するハイレベルの否定論理和信号SN1,SN2によ
り、リレー9,11を介して端子5a,5bが共に接地
されて、モータ5が停止する。
Therefore, the logical product signal SA1 to the logical product signal SA1 is obtained when the open / close switches 1 and 3 are not operated during the abnormal operation of the microcomputer 14 and the reset signal S15 from the reset circuit 15 is at the high level. Since the signal SA4 is all low level, the open switch 1 and the close switch 3
Similarly to the operation of, the NOR gates SN1 and SN2 output from the NOR gates N1 and N2 respectively become high level. Then, the high-level NOR signals SN1 and SN2 output from the NOR gates N1 and N2 respectively ground the terminals 5a and 5b through the relays 9 and 11, and the motor 5 stops.

【0043】一方、マイコン14の異常動作中に開スイ
ッチ1を操作し、開閉の各スイッチ1,3がローレベル
の操作信号S1とハイレベルの操作信号S3をそれぞれ
出力すると、図8に示すように、リセット回路15から
のリセット信号S15がローレベルの間、ハイレベルの
反転信号R1,R23が入力されるANDゲートA1
が、ハイレベルの論理積信号SA1を出力し、ローレベ
ルの反転信号R3とハイレベルの反転信号R23が入力
されるANDゲートA3が、ローレベルの論理積信号S
A3を出力する。
On the other hand, when the open switch 1 is operated during abnormal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs the low level operation signal S1 and the high level operation signal S3, as shown in FIG. In addition, while the reset signal S15 from the reset circuit 15 is at the low level, the high-level inverted signals R1 and R23 are input to the AND gate A1.
Outputs a high-level AND signal SA1, and the AND gate A3 to which the low-level inversion signal R3 and the high-level inversion signal R23 are input, changes to the low-level AND signal S
Output A3.

【0044】このため、マイコン14の異常動作中にお
ける開スイッチ1の操作時で、且つ、リセット回路15
からのリセット信号S15がローレベルの間は、論理積
信号SA1がハイレベルであり論理積信号SA2がロー
レベルであることから、NORゲートN1が出力する否
定論理和信号SN1はローレベルとなり、一方、論理積
信号SA3と論理積信号SA4が共にローレベルである
ことから、NORゲートN2が出力する否定論理和信号
SN2はハイレベルとなる。そして、NORゲートN
1,N2がそれぞれ出力するローレベルの否定論理和信
号SN1とハイレベルの否定論理和信号SN2により、
リレー9を介して端子5aが電源7に接続されると共
に、リレー11を介して端子5bが接地されて、窓が開
く正転方向にモータ5が回転する。
Therefore, when the open switch 1 is operated during the abnormal operation of the microcomputer 14, and the reset circuit 15 is operated.
Since the logical product signal SA1 is at a high level and the logical product signal SA2 is at a low level while the reset signal S15 is low level, the NOR gate signal SN1 output from the NOR gate N1 is at a low level. Since both the logical product signal SA3 and the logical product signal SA4 are at low level, the NOR signal SN2 output from the NOR gate N2 is at high level. And NOR gate N
1 and N2 respectively output a low-level NOR signal SN1 and a high-level NOR signal SN2,
The terminal 5a is connected to the power supply 7 via the relay 9, and the terminal 5b is grounded via the relay 11, so that the motor 5 rotates in the forward direction in which the window opens.

【0045】また、マイコン14の異常動作中に閉スイ
ッチ3を操作し、開閉の各スイッチ1,3がハイレベル
の操作信号S1とローレベルの操作信号S3をそれぞれ
出力すると、図9に示すように、リセット回路15から
のリセット信号S15がローレベルの間、ローレベルの
反転信号R1とハイレベルの反転信号R23が入力され
るANDゲートA1が、ローレベルの論理積信号SA1
を出力し、ハイレベルの反転信号R1,R23が入力さ
れるANDゲートA3が、ハイレベルの論理積信号SA
3を出力する。
Further, when the close switch 3 is operated during abnormal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a high level operation signal S1 and a low level operation signal S3, as shown in FIG. Further, while the reset signal S15 from the reset circuit 15 is at the low level, the AND gate A1 to which the low level inversion signal R1 and the high level inversion signal R23 are input is changed to the low level AND signal SA1.
And an AND gate A3 to which the high level inversion signals R1 and R23 are input,
3 is output.

【0046】このため、マイコン14の異常動作中にお
ける閉スイッチ3の操作時で、且つ、リセット回路15
からのリセット信号S15がローレベルの間は、論理積
信号SA1と論理積信号SA2が共にローレベルである
ことから、NORゲートN1が出力する否定論理和信号
SN1はハイレベルとなり、一方、論理積信号SA3が
ハイレベルであり論理積信号SA4がローレベルである
ことから、NORゲートN2が出力する否定論理和信号
SN2はローレベルとなる。そして、NORゲートN
1,N2がそれぞれ出力するハイレベルの否定論理和信
号SN1とローレベルの否定論理和信号SN2により、
リレー9を介して端子5aが接地されると共に、リレー
11を介して端子5bが電源7に接続されて、窓が閉じ
る逆転方向にモータ5が回転する。
Therefore, when the close switch 3 is operated during the abnormal operation of the microcomputer 14, the reset circuit 15 is operated.
Since the logical product signal SA1 and the logical product signal SA2 are both at a low level while the reset signal S15 from is low level, the NOR signal SN1 output from the NOR gate N1 is at a high level, while the logical product is Since the signal SA3 is at high level and the logical product signal SA4 is at low level, the NOR signal SN2 output from the NOR gate N2 is at low level. And NOR gate N
1 and N2 respectively output a high-level NOR signal SN1 and a low-level NOR signal SN2,
The terminal 5a is grounded via the relay 9, and the terminal 5b is connected to the power source 7 via the relay 11, so that the motor 5 rotates in the reverse direction in which the window is closed.

【0047】さらに、マイコン14の異常動作中に開閉
の両スイッチ1,3が共に操作されず、各スイッチ1,
3がハイレベルの操作信号S1,S3をそれぞれ出力す
ると、図10に示すように、リセット回路15からのリ
セット信号S15がローレベルの間、ローレベルの反転
信号R1とハイレベルの反転信号R23が入力されるA
NDゲートA1は、ローレベルの論理積信号SA1を出
力し、ローレベルの反転信号R3とハイレベルの反転信
号R23が入力されるANDゲートA3も、ローレベル
の論理積信号SA3を出力する。
Further, during the abnormal operation of the microcomputer 14, both the opening and closing switches 1 and 3 are not operated and the switches 1 and 3 are not operated.
3 outputs the high-level operation signals S1 and S3, respectively, as shown in FIG. 10, while the reset signal S15 from the reset circuit 15 is at the low level, the low-level inversion signal R1 and the high-level inversion signal R23 are generated. A input
The ND gate A1 outputs a low level AND signal SA1, and the AND gate A3 to which the low level inversion signal R3 and the high level inversion signal R23 are input also outputs a low level AND signal SA3.

【0048】このため、マイコン14の異常動作中にお
ける開閉の両スイッチ1,3の非操作時で、且つ、リセ
ット回路15からのリセット信号S15がローレベルの
間は、論理積信号SA1乃至論理積信号SA4が全てロ
ーレベルであることから、NORゲートN1,N2が出
力する否定論理和信号SN1,SN2はそれぞれハイレ
ベルとなる。そして、NORゲートN1,N2がそれぞ
れ出力するハイレベルの否定論理和信号SN1,SN2
により、リレー9,11を介して端子5a,5bが共に
接地されて、モータ5が停止する。
For this reason, the logical product signals SA1 to logical product are obtained when the open / close switches 1 and 3 are not operated during abnormal operation of the microcomputer 14 and the reset signal S15 from the reset circuit 15 is at a low level. Since all the signals SA4 are low level, the NOR signals SN1 and SN2 output from the NOR gates N1 and N2 respectively become high level. The high-level NOR signals SN1 and SN2 output from the NOR gates N1 and N2, respectively.
As a result, the terminals 5a and 5b are both grounded via the relays 9 and 11, and the motor 5 is stopped.

【0049】尚、マイコン14が正常動作状態から異常
動作状態に移行した場合のウォッチドックパルスWP、
リセット信号S15、開(閉)スイッチ1(3)の操作
に伴う操作信号S1(S3)、並びに、モータ5に印加
される電圧の各レベルの変動の様子を、図11のタイミ
ングチャート中の第1段乃至第4段に示す。
The watchdog pulse WP when the microcomputer 14 shifts from the normal operating state to the abnormal operating state,
The reset signal S15, the operation signal S1 (S3) associated with the operation of the open (close) switch 1 (3), and the variation of each level of the voltage applied to the motor 5 are shown in the timing chart of FIG. Shown in stages 1 to 4.

【0050】また、本実施例のパワーウィンド装置にお
いては、前記マイコン14の正常動作中に、前記操作信
号S1,S3のレベルと前記電流検出部17の検出信号
S17のレベルが所定のパターンになると、窓枠(図示
せず)と窓の間に異物(図示せず)を挟み込んだものと
して、開スイッチ1及び閉スイッチ3の操作に一切関係
なく無条件に、マイコン14の出力する駆動信号S10
がローレベルになると共に駆動信号S12がハイレベル
になる。これにより、モータ5が正転方向に回転して窓
が強制的に開かれる。
Further, in the power window device of this embodiment, when the levels of the operation signals S1 and S3 and the level of the detection signal S17 of the current detecting section 17 become a predetermined pattern during the normal operation of the microcomputer 14. Assuming that a foreign object (not shown) is sandwiched between the window frame (not shown) and the window, the drive signal S10 output from the microcomputer 14 is unconditionally output regardless of the operation of the open switch 1 and the close switch 3.
Becomes low level and the drive signal S12 becomes high level. As a result, the motor 5 rotates in the forward direction and the window is forcibly opened.

【0051】さらに、本実施例のパワーウィンド装置に
おいては、前記マイコン14の正常動作中に、前記リミ
ットスイッチ19からの検出信号S19のレベルがハイ
レベルからローレベルに変化すると、前記窓が全閉位置
に達したものとして、電流検出部17の検出信号S17
のレベルが前記所定のパターンになったとしても、マイ
コン14の出力する駆動信号S10のレベルを無条件に
ローレベルとし、且つ、駆動信号S12を無条件にハイ
レベルとする上述のような動作は行わない。これによ
り、窓が全閉位置に達した時に、モータ5が正転方向に
回転され窓が強制的に開かれて窓が閉じなくなるとい
う、モータ5の誤反転が防止される。
Further, in the power window device of this embodiment, when the level of the detection signal S19 from the limit switch 19 changes from the high level to the low level during the normal operation of the microcomputer 14, the window is fully closed. Assuming that the position has been reached, the detection signal S17 of the current detector 17
Even if the level becomes the predetermined pattern, the above-described operation of unconditionally setting the level of the drive signal S10 output from the microcomputer 14 to the low level and unconditionally setting the drive signal S12 to the high level is performed. Not performed. As a result, when the window reaches the fully closed position, the motor 5 is rotated in the forward rotation direction, the window is forcibly opened, and the window is prevented from closing.

【0052】以上に説明したように本実施例のパワーウ
ィンド装置によれば、開閉スイッチ1,3の操作に応じ
てモータ5を正逆転させるための駆動信号S10,S1
2を出力するマイコン14と、モータ5の電源7への接
続極性を変えるリレー9,11との間に、マイコン14
の異常時にリセット回路15が間欠的に出力するローア
クティブのリセット信号S15のレベルに応じて、開閉
の各スイッチ1,3からの操作信号S1,S3を反転し
た反転信号R1,R3と、マイコン14からの駆動信号
S10,S12とのうちどちらか一方を選択する信号選
択回路21を設け、リセット信号S15のローレベル時
には、信号選択回路21で選択される反転信号R1,R
3を基にモータ5を駆動し、リセット信号S15のハイ
レベル時には、信号選択回路21で選択される駆動信号
S10,S12を基にモータ5を駆動する構成とした。
As described above, according to the power window device of this embodiment, the drive signals S10 and S1 for rotating the motor 5 forward and backward in response to the operation of the open / close switches 1 and 3.
The microcomputer 14 that outputs 2 and the relays 9 and 11 that change the connection polarity of the motor 5 to the power supply 7
In response to the level of the low-active reset signal S15 intermittently output by the reset circuit 15 at the time of abnormality, the inversion signals R1 and R3 obtained by inverting the operation signals S1 and S3 from the open / close switches 1 and 3, and the microcomputer 14 The signal selection circuit 21 for selecting one of the drive signals S10 and S12 from the drive signal S1 is provided, and when the reset signal S15 is at a low level, the inverted signals R1 and R1 selected by the signal selection circuit 21 are provided.
The motor 5 is driven based on 3 and the motor 5 is driven based on the drive signals S10 and S12 selected by the signal selection circuit 21 when the reset signal S15 is at a high level.

【0053】このため、異常の発生によりマイコン14
が駆動信号S10,S12を出力できなくなっても、開
閉スイッチ1,3を操作することで、リセット回路15
からのリセット信号S15がローレベルの間、モータ5
を間欠的に正逆転させて窓を開閉させることができ、マ
イコン14の異常時に窓の開閉が行えなくなることを防
止することができる。
Therefore, when an abnormality occurs, the microcomputer 14
Even if the drive signals S10 and S12 cannot be output, the reset circuit 15 is operated by operating the open / close switches 1 and 3.
While the reset signal S15 from the
The window can be opened and closed by intermittently rotating the window forward and backward, and it can be prevented that the window cannot be opened or closed when the microcomputer 14 is abnormal.

【0054】ところで、上述した第1実施例のパワーウ
ィンド装置では、マイコン14の異常動作中に、開閉ス
イッチ1,3の操作によりモータ5を正逆転させて窓の
開閉を行う場合、間欠的にハイ、ローのレベルが変わる
リセット信号R15のローレベル時にのみ、開閉スイッ
チ1,3からの操作信号S1,S3の反転信号R1,R
3が有効となるので、この場合の窓の開閉は、リセット
信号S15がローレベルとなるタイミングに同期した間
欠的な動作となる。このような間欠動作は、マイコン1
4が異常動作中であるために、正常動作中に果たしてい
る異物の挟み込みの検出やその解除の機能を果たせなく
なっていることを重視し、閉スイッチ3の操作により窓
を閉める場合において特に、異物を挟み込む可能性が少
しでも減るように、開閉スイッチ1,3の操作者(図示
せず)に注意を促す点においては、非常に有利な動作と
言える。
By the way, in the above-described power window device of the first embodiment, when the microcomputer 5 is operated abnormally to open and close the window by operating the open / close switches 1 and 3, the motor 5 is rotated in the forward and reverse directions. Only when the reset signal R15 whose high and low levels change is low level, the inversion signals R1 and R of the operation signals S1 and S3 from the open / close switches 1 and 3 are generated.
Since 3 is effective, opening and closing of the window in this case is an intermittent operation in synchronization with the timing when the reset signal S15 becomes low level. Such an intermittent operation is performed by the microcomputer 1
Since 4 is in abnormal operation, it is important to close the window by operating the closing switch 3 with an emphasis on the fact that it is no longer able to perform the function of detecting and canceling the trapping of foreign matter that is being performed during normal operation. This is a very advantageous operation in that the operator (not shown) of the open / close switches 1 and 3 needs to be alerted so that the possibility of pinching is reduced as much as possible.

【0055】しかしその一方では、モータ5の正逆転が
間欠的になると、その分だけ窓開閉の迅速性に影響が出
るという現実がある。そこで、マイコン14の異常動作
中における窓開閉の迅速性を優先させた、本発明の第2
実施例に係るパワーウィンド装置について、図12乃至
図19を参照して説明する。
On the other hand, however, if the forward and reverse rotation of the motor 5 becomes intermittent, the reality is that the speed of opening and closing the window is affected accordingly. Therefore, the second aspect of the present invention, which prioritizes the speed of opening and closing the window during abnormal operation of the microcomputer 14,
A power window device according to an embodiment will be described with reference to FIGS. 12 to 19.

【0056】図12は第2実施例に係るパワーウィンド
装置の概略構成を示す回路図で、図中図1に示した第1
実施例のパワーウィンド装置と同一の部材、箇所には、
図1で付したものと同一の引用符号を付して説明する。
FIG. 12 is a circuit diagram showing a schematic structure of the power window device according to the second embodiment, and the first structure shown in FIG.
The same members and parts as the power window device of the embodiment are
Description will be given by attaching the same reference numerals as those given in FIG.

【0057】図12に示す第2実施例のパワーウィンド
装置は、第1実施例のパワーウィンド装置と同様の開ス
イッチ1、閉スイッチ3、モータ5、電源7、リレー
9,11、挟み込み検出動作及び解除動作を行うマイコ
ン14、マイコン14の動作監視用のリセット回路1
5、論理回路群からなり開閉スイッチ1,3とマイコン
14からの信号を選択する信号選択回路21、モータ5
の負荷検出用の電流検出部17、並びに、窓(図示せ
ず)の全開位置検出用のリミットスイッチ19、NOT
ゲートT23と、第1実施例のパワーウィンド装置には
ないタイマ回路25とを備えている。
The power window device of the second embodiment shown in FIG. 12 is similar to the power window device of the first embodiment in that the open switch 1, the close switch 3, the motor 5, the power supply 7, the relays 9 and 11 and the trapping detection operation. And a reset circuit 1 for monitoring the operation of the microcomputer 14, which performs a release operation
5, a signal selection circuit 21 including a logic circuit group for selecting signals from the open / close switches 1 and 3 and the microcomputer 14, a motor 5
Current detection unit 17 for load detection, limit switch 19 for fully open position detection of window (not shown), NOT
It includes a gate T23 and a timer circuit 25 not provided in the power window device of the first embodiment.

【0058】そして、本実施例のパワーウィンド装置で
は、第1実施例のパワーウィンド装置におけるマイコン
14からリセット回路15に入力されるウォッチドック
パルスWPを、前記タイマ回路25にも入力させ、この
タイマ回路25が出力するタイムアップ信号S25を、
前記リセット回路15からのリセット信号S15をNO
TゲートT23で反転させた反転信号R23の代わり
に、信号選択回路21中のANDゲートA1,A3の一
方の入力としている点が、第1実施例のパワーウィンド
装置とは異なっている。また、本実施例のパワーウィン
ド装置では、第1実施例のパワーウィンド装置におい
て、前記リセット信号S15を一方の入力としていた信
号選択回路21中のANDゲートA2,A4に、前記リ
セット信号S15に代えて、前記タイムアップ信号S2
5を前記NOTゲートT23で反転させた反転信号R2
3Aを入力させている点が、第1実施例のパワーウィン
ド装置とは異なっている。
In the power window device of this embodiment, the watchdog pulse WP input to the reset circuit 15 from the microcomputer 14 in the power window device of the first embodiment is also input to the timer circuit 25, and this timer The time-up signal S25 output by the circuit 25 is
The reset signal S15 from the reset circuit 15 is set to NO.
The power window device of the first embodiment is different from the power window device of the first embodiment in that one of the AND gates A1 and A3 in the signal selection circuit 21 is input instead of the inverted signal R23 inverted by the T gate T23. Further, in the power window device of the present embodiment, in the power window device of the first embodiment, the AND gates A2 and A4 in the signal selection circuit 21 which receives the reset signal S15 as one input are replaced with the reset signal S15. The time-up signal S2
Inversion signal R2 obtained by inverting 5 by the NOT gate T23
The point that 3A is input is different from the power window device of the first embodiment.

【0059】本実施例のパワーウィンド装置が備える前
記タイマ回路25は、前記リセット回路15と同様に例
えばIC等からなり、ウォッチドックパルスWPがロー
レベルからハイレベルへに立ち上がった時点、及び、ハ
イレベルからローレベルに立ち下がった時点から所定時
間のタイムカウントを開始し、ウォッチドックパルスW
Pが次に立ち上がり、或は、立ち下がると、タイマ回路
25は、その時点で前記タイムカウントをリセットする
ように構成されている。
The timer circuit 25 provided in the power window device of the present embodiment is composed of, for example, an IC as with the reset circuit 15, and when the watchdog pulse WP rises from a low level to a high level, and a high level. The watchdog pulse W
When P next rises or falls, the timer circuit 25 is configured to reset the time count at that time.

【0060】そして、マイコン14が正常動作状態から
異常動作状態に移行して、ウォッチドックパルスWPの
次の立ち上がり、或は、立ち下がりが発生する前に、図
13のタイミングチャート中の第1段に示すように、前
記所定時間のタイムカウントがタイムアップすると、タ
イマ回路25は、図13中の第4段に示すように、自身
が出力する前記タイムアップ信号S25のレベルをロー
レベルからハイレベルに立ち上げる。このタイムアップ
信号S25は、ウォッチドックパルスWPが次に立ち上
がり、或は、立ち下がることで、タイマ回路25により
ハイレベルからローレベルに立ち下げられる。
Then, the microcomputer 14 shifts from the normal operating state to the abnormal operating state and before the next rising or falling of the watchdog pulse WP occurs, the first stage in the timing chart of FIG. As shown in FIG. 13, when the time count of the predetermined time is up, the timer circuit 25 changes the level of the time-up signal S25 output from itself from low level to high level, as shown in the fourth stage in FIG. To launch. The time-up signal S25 is lowered from the high level to the low level by the timer circuit 25 when the watchdog pulse WP next rises or falls.

【0061】次に、上述のように構成された本実施例の
パワーウィンド装置の動作(作用)について説明する。
まず、前記マイコン14が正常に動作している間は、タ
イマ回路25からのタイムアップ信号S25のレベルが
ローレベルとなり、タイムアップ信号S25の反転信号
R23Aのレベルがハイレベルとなる。
Next, the operation (action) of the power window device of this embodiment constructed as described above will be explained.
First, while the microcomputer 14 is operating normally, the level of the time-up signal S25 from the timer circuit 25 becomes low and the level of the inverted signal R23A of the time-up signal S25 becomes high.

【0062】このため、マイコン14の正常動作中に開
スイッチ1を操作し、開閉の各スイッチ1,3がローレ
ベルの操作信号S1とハイレベルの操作信号S3をそれ
ぞれ出力すると、図14に示すように、マイコン14が
ハイレベルの駆動信号S10とローレベルの駆動信号S
12をそれぞれ出力する。そして、ハイレベルの反転信
号R1とローレベルのタイムアップ信号S25が入力さ
れるANDゲートA1は、ローレベルの論理積信号SA
1を出力し、ローレベルの反転信号R3とローレベルの
タイムアップ信号S25が入力されるANDゲートA3
も、ローレベルの論理積信号SA3を出力する。一方、
ハイレベルの反転信号R23Aが入力されるANDゲー
トA2,A4は、駆動信号S10,S12とそれぞれ同
じハイレベルの論理積信号SA2とローレベルの論理積
信号SA4を出力する。
Therefore, when the open switch 1 is operated during normal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a low level operation signal S1 and a high level operation signal S3, as shown in FIG. As described above, the microcomputer 14 drives the high-level drive signal S10 and the low-level drive signal S
12 is output. Then, the AND gate A1 to which the high level inversion signal R1 and the low level time-up signal S25 are input is the low level AND signal SA.
AND gate A3 which outputs 1 and receives the low level inversion signal R3 and the low level time-up signal S25
Also outputs a low-level AND signal SA3. on the other hand,
The AND gates A2 and A4, to which the high level inversion signal R23A is input, output the high level logical product signal SA2 and the low level logical product signal SA4, which are the same as the drive signals S10 and S12, respectively.

【0063】従って、論理積信号SA1がローレベルで
あり論理積信号SA2がハイレベルであることから、N
ORゲートN1が出力する否定論理和信号SN1はロー
レベルとなり、一方、論理積信号SA3,SA4が共に
ローレベルであることから、NORゲートN2が出力す
る否定論理和信号SN2はハイレベルとなる。そして、
NORゲートN1,N2がそれぞれ出力するローレベル
の否定論理和信号SN1とハイレベルの否定論理和信号
SN2により、リレー9を介して端子5aが電源7が接
続されると共に、リレー11を介して端子5bが接地さ
れて、窓が開く正転方向にモータ5が回転する。
Therefore, since the logical product signal SA1 is low level and the logical product signal SA2 is high level, N
The NOR gate signal SN1 output from the OR gate N1 is at a low level, while the AND signals SA3 and SA4 are both at a low level, the NOR gate signal SN2 output from the NOR gate N2 is at a high level. And
The low-level NOR signal SN1 and the high-level NOR signal SN2 output from the NOR gates N1 and N2 respectively connect the terminal 5a to the power supply 7 via the relay 9 and the terminal 11 via the relay 11. 5b is grounded, and the motor 5 rotates in the forward direction in which the window opens.

【0064】また、マイコン14の正常動作中に閉スイ
ッチ3を操作し、開閉の各スイッチ1,3がハイレベル
の操作信号S1とローレベルの操作信号S3をそれぞれ
出力すると、図15に示すように、マイコン14がロー
レベルの駆動信号S10とハイレベルの駆動信号S12
をそれぞれ出力する。そして、ローレベルの反転信号R
1とローレベルのタイムアップ信号S25が入力される
ANDゲートA1は、ローレベルの論理積信号SA1を
出力し、ハイレベルの反転信号R3とローレベルのタイ
ムアップ信号S25が入力されるANDゲートA3も、
ローレベルの論理積信号SA3を出力する。一方、ハイ
レベルの反転信号R23Aが入力されるANDゲートA
2,A4は、駆動信号S10,S12とそれぞれ同じロ
ーレベルの論理積信号SA2とハイレベルの論理積信号
SA4を出力する。
Further, when the closing switch 3 is operated during normal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a high level operation signal S1 and a low level operation signal S3, as shown in FIG. Then, the microcomputer 14 drives the low-level drive signal S10 and the high-level drive signal S12.
Are output respectively. Then, the low level inversion signal R
The AND gate A1 to which 1 and the low-level time-up signal S25 are input outputs the low-level AND signal SA1, and the AND-gate A3 to which the high-level inverted signal R3 and the low-level time-up signal S25 are input. Also,
It outputs a low-level AND signal SA3. On the other hand, the AND gate A to which the high-level inverted signal R23A is input
2 and A4 output a low-level AND signal SA2 and a high-level AND signal SA4, which are the same as the drive signals S10 and S12, respectively.

【0065】従って、論理積信号SA1と論理積信号S
A2が共にローレベルであることから、NORゲートN
1が出力する否定論理和信号SN1はハイレベルとな
り、一方、論理積信号SA3がローレベルであり論理積
信号SA4がハイレベルであることから、NORゲート
N2が出力する否定論理和信号SN2はローレベルとな
る。そして、NORゲートN1,N2がそれぞれ出力す
るハイレベルの否定論理和信号SN1とローレベルの否
定論理和信号SN2により、リレー9を介して端子5a
が接地されると共に、リレー11を介して端子5bが電
源7に接続されて、窓が閉じる逆転方向にモータ5が回
転する。
Therefore, the logical product signal SA1 and the logical product signal S
Since both A2 are at low level, NOR gate N
The NOR signal SN1 outputted by 1 is at a high level, while the AND signal SA3 is at a low level and the AND signal SA4 is at a high level, the NOR signal N2 output by the NOR gate N2 is at a low level. It becomes a level. Then, by the high-level NOR signal SN1 and the low-level NOR signal SN2 output from the NOR gates N1 and N2, respectively, the terminal 5a is passed through the relay 9.
Is grounded, and the terminal 5b is connected to the power source 7 via the relay 11, so that the motor 5 rotates in the reverse rotation direction in which the window is closed.

【0066】さらに、マイコン14の正常動作中に開閉
の両スイッチ1,3が共に操作されず、各スイッチ1,
3がハイレベルの操作信号S1,S3をそれぞれ出力す
ると、図16に示すように、マイコン14がローレベル
の駆動信号S10,S12をそれぞれ出力する。そし
て、ローレベルの反転信号R1とローレベルのタイムア
ップ信号S25が入力されるANDゲートA1は、ロー
レベルの論理積信号SA1を出力し、ローレベルの反転
信号R3とローレベルのタイムアップ信号S25が入力
されるANDゲートA3も、ローレベルの論理積信号S
A3を出力する。一方、ハイレベルの反転信号R23A
が入力されるANDゲートA2,A4は、駆動信号S1
0,S12とそれぞれ同じローレベルの論理積信号SA
2,SA4を出力する。
Furthermore, during normal operation of the microcomputer 14, both the open and close switches 1 and 3 are not operated,
When 3 outputs high-level operation signals S1 and S3, respectively, the microcomputer 14 outputs low-level drive signals S10 and S12, respectively, as shown in FIG. Then, the AND gate A1 to which the low-level inverted signal R1 and the low-level time-up signal S25 are input outputs the low-level AND signal SA1, and the low-level inverted signal R3 and the low-level time-up signal S25. AND gate A3 to which is also input is low-level AND signal S
Output A3. On the other hand, the high level inversion signal R23A
Is input to the AND gates A2 and A4.
0 and S12, which are low-level AND signals SA, respectively
2, SA4 is output.

【0067】従って、論理積信号SA1乃至論理積信号
SA4が全てローレベルであることから、NORゲート
N1,N2が出力する否定論理和信号SN1,SN2は
それぞれハイレベルとなる。そして、NORゲートN
1,N2がそれぞれ出力するハイレベルの否定論理和信
号SN1,SN2により、リレー9,11を介して端子
5a,5bが共に接地されて、モータ5が停止する。
Therefore, since the logical product signals SA1 to SA4 are all at the low level, the NOR gates SN1 and SN2 output from the NOR gates N1 and N2 are at the high level. And NOR gate N
Terminals 5a and 5b are both grounded via relays 9 and 11 by high-level NOR signals SN1 and SN2 respectively output from terminals 1 and N2, and motor 5 is stopped.

【0068】次に、前記マイコン14の動作が異常とな
り、ウォッチドックパルスWPがローレベルからハイレ
ベルへに立ち上がった時点、及び、ハイレベルからロー
レベルに立ち下がった時点を開始点とする、タイマ回路
25による所定時間のタイムカウントがタイムアップす
ると、タイマ回路25が出力するタイムアップ信号S2
5のレベルがローレベルからハイレベルに立ち上がり、
その反転信号R23Aがローレベルに変わる。これと共
に、マイコン14からの駆動信号S10,S12が、開
閉の各スイッチ1,3が操作されていない時のローレベ
ルに固定され、これにより、ANDゲートA2,A4の
入力のうち一方がローレベルとなる。従って、ANDゲ
ートA2,A4は、他方の入力であり駆動信号S10,
S12のレベルを決定する開閉の各スイッチ1,3の操
作に関係なく、反転信号R23Aのレベルと同じローレ
ベルの論理積信号SA2,SA4をそれぞれ出力する。
Next, the timer is started at the time when the operation of the microcomputer 14 becomes abnormal and the watchdog pulse WP rises from a low level to a high level and when it falls from a high level to a low level. When the time count of the predetermined time by the circuit 25 is up, the time-up signal S2 output by the timer circuit 25 is output.
Level 5 rises from low to high,
The inverted signal R23A changes to low level. At the same time, the drive signals S10 and S12 from the microcomputer 14 are fixed to a low level when the open / close switches 1 and 3 are not operated, whereby one of the inputs of the AND gates A2 and A4 is at a low level. Becomes Therefore, the AND gates A2 and A4 are the other inputs and drive signals S10,
Regardless of the operation of the open / close switches 1 and 3 that determine the level of S12, the low-level AND signals SA2 and SA4, which are the same as the level of the inverted signal R23A, are output.

【0069】そして、マイコン14の異常動作中に開ス
イッチ1を操作し、開閉の各スイッチ1,3がローレベ
ルの操作信号S1とハイレベルの操作信号S3をそれぞ
れ出力すると、図17に示すように、ハイレベルの反転
信号R1とハイレベルのタイムアップ信号S25が入力
されるANDゲートA1がハイレベルの論理積信号SA
1を出力し、ローレベルの反転信号R3とハイレベルの
タイムアップ信号S25が入力されるANDゲートA3
が、ローレベルの論理積信号SA3を出力する。
When the open switch 1 is operated during abnormal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a low level operation signal S1 and a high level operation signal S3, as shown in FIG. And the AND gate A1 to which the high level inversion signal R1 and the high level time-up signal S25 are input is a high level AND signal SA.
AND gate A3 which outputs 1 and receives the low level inversion signal R3 and the high level time-up signal S25
Outputs a low-level AND signal SA3.

【0070】このため、マイコン14の異常動作中にお
ける開スイッチ1の操作時には、論理積信号SA1がハ
イレベルであり論理積信号SA2がローレベルであるこ
とから、NORゲートN1が出力する否定論理和信号S
N2はローレベルとなり、一方、論理積信号SA3と論
理積信号SA4が共にローレベルであることから、NO
RゲートN2が出力する否定論理和信号SN2はハイレ
ベルとなる。そして、NORゲートN1,N2がそれぞ
れ出力するローレベルの否定論理和信号SN1とハイレ
ベルの否定論理和信号SN2により、リレー9を介して
端子5aが電源7に接続されると共に、リレー11を介
して端子5bが接地されて、窓が開く正転方向にモータ
5が回転する。
Therefore, when the open switch 1 is operated during the abnormal operation of the microcomputer 14, since the logical product signal SA1 is at the high level and the logical product signal SA2 is at the low level, the NOR operation output from the NOR gate N1 is performed. Signal S
N2 is at a low level, while both the logical product signal SA3 and the logical product signal SA4 are at a low level, so NO
The NOR signal SN2 output from the R gate N2 becomes high level. The low-level NOR signal SN1 and the high-level NOR signal SN2 output from the NOR gates N1 and N2 respectively connect the terminal 5a to the power source 7 via the relay 9 and the relay 11. The terminal 5b is grounded, and the motor 5 rotates in the forward direction in which the window opens.

【0071】また、マイコン14の異常動作中に閉スイ
ッチ3を操作し、開閉の各スイッチ1,3がハイレベル
の操作信号S1とローレベルの操作信号S3をそれぞれ
出力すると、図18に示すように、ローレベルの反転信
号R1とハイレベルのタイムアップ信号S25が入力さ
れるANDゲートA1が、ローレベルの論理積信号SA
1を出力し、ハイレベルの反転信号R3とハイレベルの
タイムアップ信号S25が入力されるANDゲートA3
が、ハイレベルの論理積信号SA3を出力する。
When the closing switch 3 is operated during abnormal operation of the microcomputer 14 and each of the open / close switches 1 and 3 outputs a high-level operation signal S1 and a low-level operation signal S3, as shown in FIG. The AND gate A1 to which the low level inversion signal R1 and the high level time-up signal S25 are input to the
AND gate A3 which outputs 1 and receives the high level inversion signal R3 and the high level time-up signal S25
Outputs a high-level AND signal SA3.

【0072】このため、マイコン14の異常動作中にお
ける閉スイッチ3の操作時には、論理積信号SA1と論
理積信号SA2が共にローレベルであることから、NO
RゲートN1が出力する否定論理和信号SN1はハイレ
ベルとなり、一方、論理積信号SA3がハイレベルであ
り論理積信号SA4がローレベルであることから、NO
RゲートN2が出力する否定論理和信号SN2はローレ
ベルとなる。そして、NORゲートN1,N2がそれぞ
れ出力するハイレベルの否定論理和信号SN1とローレ
ベルの否定論理和信号SN2により、リレー9を介して
端子5aが接地されると共に、リレー11を介して端子
5bが電源7に接続されて、窓が閉じる逆転方向にモー
タ5が回転する。
Therefore, when the closing switch 3 is operated during the abnormal operation of the microcomputer 14, both the logical product signal SA1 and the logical product signal SA2 are at the low level.
The NOR signal SN1 output from the R gate N1 is at a high level, while the logical product signal SA3 is at a high level and the logical product signal SA4 is at a low level.
The NOR signal SN2 output from the R gate N2 becomes low level. The high-level NOR signal SN1 and the low-level NOR signal SN2 output from the NOR gates N1 and N2 ground the terminal 5a via the relay 9 and the terminal 5b via the relay 11. Is connected to the power supply 7, and the motor 5 rotates in the reverse direction in which the window is closed.

【0073】さらに、マイコン14の異常動作中に開閉
の両スイッチ1,3が共に操作されず、各スイッチ1,
3がハイレベルの操作信号S1,S3をそれぞれ出力す
ると、図19に示すように、ローレベルの反転信号R1
とハイレベルのタイムアップ信号S25が入力されるA
NDゲートA1は、ローレベルの論理積信号SA1を出
力し、ローレベルの反転信号R3とハイレベルのタイム
アップ信号S25が入力されるANDゲートA3も、ロ
ーレベルの論理積信号SA3を出力する。
Further, during the abnormal operation of the microcomputer 14, both the opening and closing switches 1 and 3 are not operated, and the switches 1 and 3 are not operated.
3 outputs high-level operation signals S1 and S3, respectively, as shown in FIG. 19, a low-level inverted signal R1
And the high-level time-up signal S25 is input A
The ND gate A1 outputs a low-level logical product signal SA1, and the AND gate A3 to which the low-level inverted signal R3 and the high-level time-up signal S25 are input also outputs the low-level logical product signal SA3.

【0074】このため、マイコン14の異常動作中にお
ける開閉の両スイッチ1,3の非操作時には、論理積信
号SA1乃至論理積信号SA4が全てローレベルである
ことから、NORゲートN1,N2が出力する否定論理
和信号SN1,SN2はそれぞれハイレベルとなる。そ
して、NORゲートN1,N2がそれぞれ出力するハイ
レベルの否定論理和信号SN1,SN2により、リレー
9,11を介して端子5a,5bが共に接地されて、モ
ータ5が停止する。
Therefore, when the open / close switches 1 and 3 are not operated during the abnormal operation of the microcomputer 14, since the logical product signals SA1 to SA4 are all at the low level, the NOR gates N1 and N2 output. The NOR signals SN1 and SN2 are set to high level. Then, the high-level NOR signals SN1 and SN2 output from the NOR gates N1 and N2 respectively ground the terminals 5a and 5b through the relays 9 and 11, and the motor 5 stops.

【0075】尚、図13のタイミングチャート中の第2
段、第3段、並びに、第5段は、マイコン14が正常動
作状態から異常動作状態に移行した場合の、リセット信
号S15、開(閉)スイッチ1(3)の操作に伴う操作
信号S1(S3)、並びに、モータ5に印加される電圧
の各レベルの変動の様子をそれぞれ示す。
The second in the timing chart of FIG.
The third stage, the fifth stage, and the fifth stage are the reset signal S15 and the operation signal S1 (in response to the operation of the open (close) switch 1 (3) when the microcomputer 14 shifts from the normal operating state to the abnormal operating state. S3) and the state of fluctuation of each level of the voltage applied to the motor 5 are shown.

【0076】また、本実施例のパワーウィンド装置にお
いては、第1実施例のパワーウィンド装置と同様に、前
記マイコン14の正常動作中に、前記操作信号S1,S
3のレベルと前記電流検出部17の検出信号S17のレ
ベルが所定のパターンになると、窓枠(図示せず)と窓
の間に異物(図示せず)を挟み込んだものとして、開ス
イッチ1及び閉スイッチ3の操作に一切関係なく無条件
に、マイコン14の出力する駆動信号S10がローレベ
ルになると共に駆動信号S12がハイレベルになる。こ
れにより、モータ5が正転方向に回転して窓が強制的に
開かれる。
Further, in the power window device of the present embodiment, like the power window device of the first embodiment, during the normal operation of the microcomputer 14, the operation signals S1, S
When the level of 3 and the level of the detection signal S17 of the current detector 17 become a predetermined pattern, it is assumed that a foreign object (not shown) is sandwiched between the window frame (not shown) and the window, and the open switch 1 and The drive signal S10 output from the microcomputer 14 becomes low level and the drive signal S12 becomes high level unconditionally regardless of the operation of the closing switch 3. As a result, the motor 5 rotates in the forward direction and the window is forcibly opened.

【0077】さらに、本実施例のパワーウィンド装置に
おいては、前記マイコン14の正常動作中に、前記リミ
ットスイッチ19からの検出信号S19のレベルがハイ
レベルからローレベルに変化すると、前記窓が全閉位置
に達したものとして、電流検出部17の検出信号S17
のレベルが前記所定のパターンになったとしても、マイ
コン14の出力する駆動信号S10のレベルを無条件に
ローレベルとし、且つ、駆動信号S12を無条件にハイ
レベルとする上述のような動作は行わない。これによ
り、窓が全閉位置に達した時に、モータ5が正転方向に
回転され窓が強制的に開かれて窓が閉じなくなるとい
う、モータ5の誤反転が防止される。
Further, in the power window device of this embodiment, when the level of the detection signal S19 from the limit switch 19 changes from the high level to the low level during the normal operation of the microcomputer 14, the window is fully closed. Assuming that the position has been reached, the detection signal S17 of the current detector 17
Even if the level becomes the predetermined pattern, the above-described operation of unconditionally setting the level of the drive signal S10 output from the microcomputer 14 to the low level and unconditionally setting the drive signal S12 to the high level is performed. Not performed. As a result, when the window reaches the fully closed position, the motor 5 is rotated in the forward rotation direction, the window is forcibly opened, and the window is prevented from closing.

【0078】以上に説明した本実施例のパワーウィンド
装置によっても、第1実施例のパワーウィンド装置と同
様に、異常の発生によりマイコン14が駆動信号S1
0,S12を出力できなくなっても、開閉スイッチ1,
3を操作することで、タイマ回路25からのタイムアッ
プ信号S25がハイレベルの間、モータ5を正逆転させ
て窓を開閉させることができ、マイコン14の異常時に
窓の開閉が行えなくなることを防止することができる。
Also in the power window device of this embodiment described above, the microcomputer 14 causes the drive signal S1 to be generated due to the occurrence of an abnormality as in the power window device of the first embodiment.
Open / close switch 1,
By operating 3, it is possible to open / close the window by rotating the motor 5 in the forward / reverse direction while the time-up signal S25 from the timer circuit 25 is at a high level. Can be prevented.

【0079】そして、上述した第2実施例のパワーウィ
ンド装置では、マイコン14の異常動作中に、所定時間
のタイムカウントが終了した後、ウォッチドックパルス
WPのレベルがハイレベルからローレベルに立ち下がる
までの間、タイマ回路25からのタイムアップ信号S2
5が継続的にハイレベルとなる。このため、開閉スイッ
チ1,3の操作によりモータ5を正逆転させて窓の開閉
を行う場合、継続的にレベルが変化するタイムアップ信
号S25がハイレベルである間、開閉スイッチ1,3か
らの操作信号S1,S3の反転信号R1,R3を有効と
し、窓の開閉を開閉スイッチ1,3の操作中継続する連
続的な動作として、マイコン14の正常動作中と同様の
迅速な動作とすることができる。
In the power window device of the second embodiment described above, the level of the watchdog pulse WP falls from the high level to the low level after the time count of a predetermined time is finished during the abnormal operation of the microcomputer 14. Until the time-up signal S2 from the timer circuit 25
5 becomes high level continuously. Therefore, when the windows are opened and closed by operating the open / close switches 1 and 3 to rotate the motor 5 in the forward / reverse direction, the open / close switches 1 and 3 are operated while the time-up signal S25 whose level continuously changes is at the high level. To make the inversion signals R1 and R3 of the operation signals S1 and S3 valid, and to make the window open / close as a continuous operation during the operation of the open / close switches 1 and 3 to be the same quick operation as during the normal operation of the microcomputer 14. You can

【0080】尚、上述した両実施例では、開閉の各スイ
ッチ1,3の操作時に操作信号S1,S3がローレベル
となり、対応するマイコン14からの駆動信号S10,
S12がハイレベルとなるものとしたが、各信号のレベ
ルは、リレー9,11の構成等に応じて任意に設定可能
であり、同様に、信号選択回路21を構成する論理回路
は、前記操作信号S1,S3や駆動信号S10,S1
2、並びに、リレー9,11の構成等に応じて任意に選
択可能で、第1及び第2実施例で示した構成に限定され
ないのは言うまでもない。
In both of the above-mentioned embodiments, the operation signals S1 and S3 become low level when each of the switches 1 and 3 for opening and closing is operated, and the corresponding drive signal S10 from the microcomputer 14 is generated.
Although S12 is set to the high level, the level of each signal can be arbitrarily set according to the configuration of the relays 9 and 11, and similarly, the logic circuit that constitutes the signal selection circuit 21 operates as described above. Signals S1 and S3 and drive signals S10 and S1
It is needless to say that it is possible to arbitrarily select 2 according to the configuration of the relays 9 and 11 and the like, and is not limited to the configurations shown in the first and second embodiments.

【0081】[0081]

【発明の効果】以上説明したように本発明によれば、正
常動作時にウォッチドックパルスを出力しつつ、開閉ス
イッチからの操作信号を基に窓開閉用の駆動信号を生成
し出力する駆動信号生成手段と、前記ウォッチドックパ
ルスを監視し、前記駆動信号生成手段の異常動作時に動
作リセット用のリセット信号を該駆動信号生成手段に出
力するリセット回路とを備え、前記駆動信号によりモー
タを駆動して窓を開閉させるパワーウィンド装置であっ
て、前記開閉スイッチ及び前記駆動信号生成手段に接続
され、前記リセット信号の出力中に前記操作信号を選択
出力し、前記リセット信号の出力停止中に前記駆動信号
を選択出力する信号選択回路を備え、前記駆動信号及び
前記操作信号のうち前記信号選択回路が選択出力した信
号により前記モータを駆動する構成とした。
As described above, according to the present invention, the drive signal generation for generating and outputting the drive signal for opening and closing the window based on the operation signal from the opening / closing switch while outputting the watchdog pulse during the normal operation. Means and a reset circuit that monitors the watchdog pulse and outputs a reset signal for operation reset to the drive signal generation means when the drive signal generation means abnormally operates, and drives the motor by the drive signal. A power window device for opening and closing a window, which is connected to the open / close switch and the drive signal generating means, selectively outputs the operation signal while outputting the reset signal, and outputs the drive signal while the output of the reset signal is stopped. A signal selection circuit for selectively outputting the signal, and the mode is selected by the signal selected by the signal selection circuit from the drive signal and the operation signal. It was configured to be driven.

【0082】このため、異物の挟み込み検出及び解除動
作等、開閉スイッチの操作以外にも窓開閉用のモータを
駆動させることができるように、開閉スイッチとモータ
の間にマイコンを介在させたパワーウィンド装置におい
て、マイコンの故障時等であっても、駆動信号生成手段
の異常動作の検出時に、ウォッチドックパルスを監視す
るリセット回路からのリセット信号の出力に基づいて、
駆動信号生成手段からの駆動信号の代わりに、開閉スイ
ッチからの操作信号により、窓開閉用のモータを駆動す
るので、異常動作に伴い駆動信号生成手段が駆動信号を
出力しなくなったとしても、開閉スイッチによる窓の開
閉を確実に行えるようにすることができる等の効果を奏
する。
Therefore, a power window in which a microcomputer is interposed between the opening / closing switch and the motor is provided so that the motor for opening / closing the window can be driven in addition to the operation of the opening / closing switch such as the detection and release operation of foreign matter. In the device, based on the output of the reset signal from the reset circuit that monitors the watchdog pulse when the abnormal operation of the drive signal generation means is detected, even when the microcomputer malfunctions,
Since the window opening / closing motor is driven by the operation signal from the open / close switch instead of the drive signal from the drive signal generating means, even if the drive signal generating means stops outputting the drive signal due to an abnormal operation, the opening / closing operation is performed. There is an effect that the window can be surely opened and closed by the switch.

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

【図1】本発明の第1実施例に係るパワーウィンド装置
の概略構成を示す回路図である。
FIG. 1 is a circuit diagram showing a schematic configuration of a power window device according to a first embodiment of the present invention.

【図2】図1のマイコンの正常動作時における開スイッ
チの操作に伴い、信号選択回路の各論理回路が出力する
信号のレベルを示す真理値の説明図である。
FIG. 2 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit according to the operation of the open switch during normal operation of the microcomputer of FIG.

【図3】図1のマイコンの正常動作時における閉スイッ
チの操作に伴い、信号選択回路の各論理回路が出力する
信号のレベルを示す真理値の説明図である。
FIG. 3 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit according to the operation of the close switch when the microcomputer of FIG. 1 operates normally.

【図4】図1のマイコンの正常動作時における開閉スイ
ッチの非操作に伴い、信号選択回路の各論理回路が出力
する信号のレベルを示す真理値の説明図である。
FIG. 4 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit when the open / close switch is not operated during normal operation of the microcomputer of FIG. 1;

【図5】図1のマイコンの異常動作時で且つリセット信
号のハイレベルの状態における開スイッチの操作に伴
い、信号選択回路の各論理回路が出力する信号のレベル
を示す真理値の説明図である。
5 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit in accordance with the operation of the open switch when the microcomputer of FIG. 1 is abnormally operated and the reset signal is in a high level state. is there.

【図6】図1のマイコンの異常動作時で且つリセット信
号のハイレベルの状態における閉スイッチの操作に伴
い、信号選択回路の各論理回路が出力する信号のレベル
を示す真理値の説明図である。
6 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit in accordance with the operation of the close switch when the microcomputer of FIG. 1 is abnormally operated and the reset signal is in a high level state. is there.

【図7】図1のマイコンの異常動作時で且つリセット信
号のハイレベルの状態における開閉スイッチの非操作に
伴い、信号選択回路の各論理回路が出力する信号のレベ
ルを示す真理値の説明図である。
7 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit when the microcomputer of FIG. 1 is abnormally operated and the open / close switch is not operated when the reset signal is in a high level state. Is.

【図8】図1のマイコンの異常動作時で且つリセット信
号のローレベルの状態における開スイッチの操作に伴
い、信号選択回路の各論理回路が出力する信号のレベル
を示す真理値の説明図である。
8 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit when the open switch is operated when the reset signal is in a low level state during abnormal operation of the microcomputer of FIG. 1; is there.

【図9】図1のマイコンの異常動作時で且つリセット信
号のローレベルの状態における閉スイッチの操作に伴
い、信号選択回路の各論理回路が出力する信号のレベル
を示す真理値の説明図である。
9 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit when the closing switch is operated when the microcomputer of FIG. 1 is abnormally operated and the reset signal is in a low level state. is there.

【図10】図1のマイコンの異常動作時で且つリセット
信号のローレベルの状態における開閉スイッチの非操作
に伴い、信号選択回路の各論理回路が出力する信号のレ
ベルを示す真理値の説明図である。
10 is an explanatory diagram of a truth value indicating the level of a signal output by each logic circuit of the signal selection circuit when the microcomputer of FIG. 1 is in an abnormal operation and the open / close switch is not operated when the reset signal is at a low level. Is.

【図11】図1のマイコンが正常動作状態から異常動作
状態に移行した場合のウォッチドックパルス、リセット
信号、開(閉)スイッチの操作に伴う操作信号、並び
に、モータに印加される電圧の各レベルの変動の様子を
示すタイミングチャートである。
FIG. 11 shows each of a watchdog pulse, a reset signal, an operation signal associated with the operation of an open (close) switch, and a voltage applied to a motor when the microcomputer of FIG. 1 shifts from a normal operation state to an abnormal operation state. 7 is a timing chart showing how the level changes.

【図12】本発明の第2実施例に係るパワーウィンド装
置の概略構成を示す回路図である。
FIG. 12 is a circuit diagram showing a schematic configuration of a power window device according to a second embodiment of the invention.

【図13】図12のマイコンが正常動作状態から異常動
作状態に移行した場合のウォッチドックパルス、リセッ
ト信号、開(閉)スイッチの操作に伴う操作信号、タイ
ムアップ信号、並びに、モータに印加される電圧の各レ
ベルの変動の様子を示すタイミングチャートである。
13 is a watchdog pulse when the microcomputer of FIG. 12 shifts from a normal operation state to an abnormal operation state, a reset signal, an operation signal associated with the operation of an open (close) switch, a time-up signal, and a voltage applied to the motor. 3 is a timing chart showing how each level of voltage varies according to the voltage.

【図14】図12のマイコンの正常動作時における開ス
イッチの操作に伴い、信号選択回路の各論理回路が出力
する信号のレベルを示す真理値の説明図である。
FIG. 14 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit in accordance with the operation of the open switch when the microcomputer of FIG. 12 operates normally.

【図15】図12のマイコンの正常動作時における閉ス
イッチの操作に伴い、信号選択回路の各論理回路が出力
する信号のレベルを示す真理値の説明図である。
FIG. 15 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit according to the operation of the close switch when the microcomputer of FIG. 12 operates normally.

【図16】図12のマイコンの正常動作時における開閉
スイッチの非操作に伴い、信号選択回路の各論理回路が
出力する信号のレベルを示す真理値の説明図である。
16 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit when the open / close switch is not operated during normal operation of the microcomputer of FIG. 12;

【図17】図12のマイコンの異常動作時における開ス
イッチの操作に伴い、信号選択回路の各論理回路が出力
する信号のレベルを示す真理値の説明図である。
FIG. 17 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit when the open switch is operated during abnormal operation of the microcomputer of FIG.

【図18】図12のマイコンの異常動作時における閉ス
イッチの操作に伴い、信号選択回路の各論理回路が出力
する信号のレベルを示す真理値の説明図である。
18 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit in accordance with the operation of the close switch when the microcomputer of FIG. 12 operates abnormally.

【図19】図12のマイコンの異常動作時における開閉
スイッチの非操作に伴い、信号選択回路の各論理回路が
出力する信号のレベルを示す真理値の説明図である。
FIG. 19 is an explanatory diagram of a truth value indicating a level of a signal output from each logic circuit of the signal selection circuit when the open / close switch is not operated during abnormal operation of the microcomputer of FIG. 12;

【図20】従来例に係るパワーウィンド装置の概略構成
を示す回路図である。
FIG. 20 is a circuit diagram showing a schematic configuration of a power window device according to a conventional example.

【符号の説明】 1 開スイッチ 3 閉スイッチ 5 モータ 14 マイクロコンピュータ(駆動信号生成
手段) 15 リセット回路 21 信号選択回路 25 タイマ回路 S1,S3 操作信号 S10,S12 駆動信号 S15 リセット信号 S25 タイムアップ信号 WP ウォッチドックパルス
[Explanation of reference numerals] 1 open switch 3 close switch 5 motor 14 microcomputer (driving signal generating means) 15 reset circuit 21 signal selection circuit 25 timer circuit S1, S3 operation signal S10, S12 driving signal S15 reset signal S25 time-up signal WP Watchdog pulse

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 正常動作時にウォッチドックパルスを出
力しつつ、開閉スイッチからの操作信号を基に窓開閉用
の駆動信号を生成し出力する駆動信号生成手段と、前記
ウォッチドックパルスを監視し、前記駆動信号生成手段
の異常動作時に動作リセット用のリセット信号を該駆動
信号生成手段に出力するリセット回路とを備え、前記駆
動信号によりモータを駆動して窓を開閉させるパワーウ
ィンド装置であって、 前記開閉スイッチ及び前記駆動信号生成手段に接続さ
れ、前記リセット信号の出力中に前記操作信号を選択出
力し、前記リセット信号の出力停止中に前記駆動信号を
選択出力する信号選択回路を備え、 前記駆動信号及び前記操作信号のうち前記信号選択回路
が選択出力した信号により前記モータを駆動するように
した、 ことを特徴とするパワーウィンド装置。
1. A drive signal generating means for generating and outputting a drive signal for opening and closing a window on the basis of an operation signal from an opening / closing switch while outputting a watchdog pulse during normal operation, and monitoring the watchdog pulse, A power window device comprising: a reset circuit that outputs a reset signal for operation reset to the drive signal generation means when the drive signal generation means abnormally operates, and drives a motor by the drive signal to open and close a window. A signal selection circuit that is connected to the open / close switch and the drive signal generation means, selectively outputs the operation signal during output of the reset signal, and selectively outputs the drive signal during stop of output of the reset signal, The motor is driven by a signal selected and output by the signal selection circuit from the drive signal and the operation signal. And power window equipment.
【請求項2】 所定時間のタイムカウントがタイムアッ
プすることでタイムアップ信号を前記信号選択回路に出
力し、前記ウォッチドックパルスの検出により前記タイ
ムカウントをリセットし且つ前記タイムアップ信号の出
力を停止するタイマ回路をさらに備え、前記信号選択回
路は、前記タイムアップ信号の入力の有無に応じて前記
駆動信号及び前記操作信号のうちどちらか一方を選択す
る請求項1記載のパワーウィンド装置。
2. A time-up signal is output to the signal selection circuit when the time count of a predetermined time is up, the time count is reset by detection of the watchdog pulse, and output of the time-up signal is stopped. The power window device according to claim 1, further comprising: a timer circuit, wherein the signal selection circuit selects one of the drive signal and the operation signal depending on whether the time-up signal is input.
JP7081102A 1995-04-06 1995-04-06 Power window device Withdrawn JPH08277679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7081102A JPH08277679A (en) 1995-04-06 1995-04-06 Power window device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7081102A JPH08277679A (en) 1995-04-06 1995-04-06 Power window device

Publications (1)

Publication Number Publication Date
JPH08277679A true JPH08277679A (en) 1996-10-22

Family

ID=13737029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7081102A Withdrawn JPH08277679A (en) 1995-04-06 1995-04-06 Power window device

Country Status (1)

Country Link
JP (1) JPH08277679A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018155178A1 (en) * 2017-02-24 2018-08-30 株式会社デンソー Opening and closing body driving motor and opening and closing body driving system
CN110300832A (en) * 2017-02-24 2019-10-01 株式会社电装 Open-close body drive motor and open-close body drive system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018155178A1 (en) * 2017-02-24 2018-08-30 株式会社デンソー Opening and closing body driving motor and opening and closing body driving system
CN110300832A (en) * 2017-02-24 2019-10-01 株式会社电装 Open-close body drive motor and open-close body drive system
US11162293B2 (en) 2017-02-24 2021-11-02 Denso Corporation Opening and closing body driving motor and opening and closing body driving system

Similar Documents

Publication Publication Date Title
JP2849293B2 (en) Power window device with safety device
JP3555180B2 (en) Anti-trapping device in automatic window opening / closing mechanism
JP3675632B2 (en) Power window device pinching detection method
JP6471475B2 (en) Control device and control method for vehicle opening / closing member
JPH08277679A (en) Power window device
JP2854189B2 (en) Power window safety device
JP3578568B2 (en) Power window control device for vehicles
JP3387281B2 (en) Opening / closing control device
JP2954471B2 (en) Opening / closing body opening / closing control method
JP3948043B2 (en) Motor controller for opening / closing mechanism
JPH11131909A (en) Insertion detection method for power window device
JP3365808B2 (en) Motor drive control circuit, device provided with motor drive control circuit, and motor drive control method
JP3371167B2 (en) Power window device
JPS63142179A (en) Power window apparatus
JP2588835Y2 (en) Power window safety device
JPH08331877A (en) Safety device of motor-driven window opening/closing mechanism for vehicle
JP3927439B2 (en) Power window pinching detector
JP3054305B2 (en) Control method of opening / closing body drive control device
JPH1018706A (en) Power window switching device
JPH10109534A (en) Catch detector by dc motor
JPH10317791A (en) Power window device with safety device
JP2561885Y2 (en) Power window safety device
JP2954469B2 (en) Opening / closing body opening / closing control method
JPH03182875A (en) Protection device for motor in electrically driven power steering device
KR970002515B1 (en) Driving apparatus for window motor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020702