JPH10331523A - Power window control device for vehicle - Google Patents

Power window control device for vehicle

Info

Publication number
JPH10331523A
JPH10331523A JP9145515A JP14551597A JPH10331523A JP H10331523 A JPH10331523 A JP H10331523A JP 9145515 A JP9145515 A JP 9145515A JP 14551597 A JP14551597 A JP 14551597A JP H10331523 A JPH10331523 A JP H10331523A
Authority
JP
Japan
Prior art keywords
window
count value
vehicle
motor
pulse signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9145515A
Other languages
Japanese (ja)
Inventor
Naoki Hashimoto
直樹 橋本
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP9145515A priority Critical patent/JPH10331523A/en
Publication of JPH10331523A publication Critical patent/JPH10331523A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To stop the closing drive of a window or drive the window in the reverse direction when foreign matter is caught between a window frame and the upper end of a window by controlling the window to be once driven in the reverse direction or stopped when the pulse duration of a pulse signal becomes larger than a designated value before the count value reaches a designated value. SOLUTION: A CPU 11 judges whether a battery 3 is removed or not. In the case where the battery 3 is removed and the count value once becomes an indefinite value, when a main switch SW5 is operated, the car window is lowered to the lower end to take the count value corresponding to the position to be 0, the count value corresponding to the upper end is supposed to be a preset designated value, and when the pulse duration of a pulse signal becomes larger than a designated value before it reaches the designated count value, a motor 7 is controlled to be driven in the reverse direction. Thus, even if foreign matter is caught in the car window at the time of raising the car window, the car window is switched from the rising drive to the lowering drive.

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 a vehicle, and more particularly, to a power window device for a vehicle capable of switching a drive window from an upward drive to a downward drive when a foreign object is caught in the vehicle window.

【0002】[0002]

【従来の技術】従来、車両用パワーウインドウ装置とし
ては、車両に設けられた窓をモータを用いて開閉駆動す
る際に、このモータの回転角をエンコーダを用いてパル
ス信号に変換し、窓の開閉度合をパルス信号の計数値と
して検出するものが知られている。
2. Description of the Related Art Conventionally, as a power window device for a vehicle, when a window provided in a vehicle is driven to open and close using a motor, a rotation angle of the motor is converted into a pulse signal using an encoder, and the window is opened. There is known a device that detects the degree of opening and closing as a count value of a pulse signal.

【0003】詳しくは、エンコーダから出力されたパル
ス信号をカウンタで計数する際に、特定値を原点とする
実数直線上に窓の開閉度合を表わす計数値を配置し、例
えば窓の全開時の数値に対して現在の計数値がどれだけ
あるかを判断することで、窓の閉まり度合を判断するも
のである。
More specifically, when counting a pulse signal output from an encoder by a counter, a count value representing the degree of opening and closing of a window is arranged on a real straight line having a specific value as an origin. By determining how many current count values are present, the degree of closing of the window is determined.

【0004】また、従来、車両用パワーウインドウ装置
では、窓を閉じるようにモータを閉駆動している際に、
モータに加わる負荷を検出していた。このため、窓枠と
窓の上端との間に異物が挟まれて過負荷になった場合に
は、窓の閉駆動を停止または反転駆動するように制御さ
れていたので、異物が窓に挟まれてもすぐに取り出すこ
とができるといった利点があった。
[0004] Conventionally, in a vehicle power window device, when a motor is driven to close a window to close the window,
The load applied to the motor was detected. For this reason, when a foreign object is caught between the window frame and the upper end of the window and the overload occurs, the window closing drive is controlled to be stopped or reversed, so that the foreign object is caught in the window. There was an advantage that even if it was taken out, it could be taken out immediately.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、モータ
に電源を供給するバッテリが脱着された場合には、実際
の窓の開閉度合と計数値との対応関係が不定になってし
まう。この対応関係が不定状態のまま、例えば窓を閉じ
るようにモータを閉駆動した際に、窓枠と窓の上端との
間に異物が挟まれた場合には、エンコーダの出力から、
窓が上端まで達したのか、異物を挟み込んだのかが区別
できなかった。従って、この場合には、窓の閉駆動の停
止または反転駆動を禁止していたため、窓の閉駆動の停
止または反転駆動するように制御することができなかっ
た。
However, if the battery that supplies power to the motor is removed, the correspondence between the actual opening / closing degree of the window and the count value will be undefined. While this correspondence is in an indefinite state, for example, when the motor is driven to close the window, when a foreign object is caught between the window frame and the upper end of the window, the output of the encoder is
It was indistinguishable whether the window reached the upper end or whether a foreign object was caught. Therefore, in this case, the stop of the window closing drive or the reversal drive was prohibited, so that it was not possible to control the stop of the window close drive or the reversal drive.

【0006】本発明は、上記に鑑みてなされたもので、
その目的としては、車両に設けられた窓を開閉駆動する
ためのモータに電源を供給するバッテリが脱着された場
合にも、窓の閉駆動を停止または反転駆動することがで
きる車両用パワーウインドウ装置を提供することにあ
る。
[0006] The present invention has been made in view of the above,
It is an object of the present invention to provide a power window device for a vehicle capable of stopping or reversing the drive for closing a window even when a battery for supplying power to a motor for opening and closing a window provided in a vehicle is removed. Is to provide.

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明は、
上記課題を解決するため、車両に設けられた開閉体を開
閉駆動するモータと、該モータの回転角をパルス信号に
変換するエンコーダとを有し、該開閉体の開閉度合をパ
ルス信号の計数値として検出する車両用パワーウインド
ウ装置において、前記モータに電源を供給するバッテリ
が脱着された場合には、前記開閉体の全開時の計数値を
零値に設定するとともに、前記開閉体の全閉時の計数値
を所定の計数値に仮定する初期化手段と、前記所定の計
数値に到達するまでにパルス信号のパルス幅が所定値よ
りも大きくなったときには、前記モータを反転駆動また
は停止するように制御する制御手段とを有することを要
旨とする。
According to the first aspect of the present invention,
In order to solve the above-mentioned problem, a motor provided in a vehicle for opening and closing an opening / closing body is provided, and an encoder for converting a rotation angle of the motor into a pulse signal is provided. When the battery that supplies power to the motor is detached, the count value when the opening and closing body is fully opened is set to zero, and when the battery is fully closed when the opening and closing body is fully closed. Initialization means for assuming the count value of the predetermined value as a predetermined count value, and when the pulse width of the pulse signal becomes larger than a predetermined value before reaching the predetermined count value, the motor is driven in reverse or stopped. And a control means for performing the control.

【0008】[0008]

【発明の効果】請求項1記載の本発明によれば、モータ
に電源を供給するバッテリが脱着されて計数値が一旦不
定値となった場合には、開閉体の全開時の計数値を零値
に設定するとともに、開閉体の全閉時の計数値を所定の
計数値に仮定して、所定の計数値に到達するまでにパル
ス信号のパルス幅が所定値よりも大きくなったときに
は、一旦反転駆動または停止するように制御すること
で、バッテリが脱着されて計数値が不定値となった場合
でも、窓枠と窓の上端との間に異物が挟まれて過負荷に
なったときには、窓の閉駆動を停止または反転駆動する
ことができる。
According to the first aspect of the present invention, when the battery for supplying power to the motor is removed and the count value once becomes an indefinite value, the count value when the opening / closing member is fully opened is set to zero. When the pulse width of the pulse signal becomes larger than the predetermined value until the count value reaches the predetermined count value, assuming the count value when the opening and closing body is fully closed as the predetermined count value, By controlling to reverse drive or stop, even when the battery is removed and the count value becomes indefinite, when foreign matter is caught between the window frame and the upper end of the window and overloaded, The closing drive of the window can be stopped or inverted.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。図1は、本発明の一実施の形態に
係る車両用パワーウィンドウ装置のシステム構成を示す
図である。同図に示すように、車両用パワーウィンドウ
装置は、装置に電源を供給するバッテリ3と、車窓を上
昇駆動または下降駆動するための操作信号を入力するメ
インSW5と、車窓を昇降駆動するモータ7と、モータ
7の回転角をパルス信号に変換するエンコーダ9と、メ
インSW5からの操作信号や、エンコーダ9からのパル
ス信号に応じて切替回路15に出力する開閉制御信号を
制御するCPU11と、CPU11からの車窓の開閉制
御信号に応じてモータ7に供給する電流方向を切り換え
る切替回路15とから構成される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a system configuration of a vehicle power window device according to an embodiment of the present invention. As shown in FIG. 1, the vehicle power window device includes a battery 3 for supplying power to the device, a main switch 5 for inputting an operation signal for driving the vehicle window up or down, and a motor 7 for driving the vehicle window up and down. An encoder 9 for converting the rotation angle of the motor 7 into a pulse signal; a CPU 11 for controlling an operation signal from the main SW 5 and an opening / closing control signal output to the switching circuit 15 in response to the pulse signal from the encoder 9; And a switching circuit 15 for switching the direction of the current supplied to the motor 7 in accordance with the vehicle window opening / closing control signal.

【0010】図1に示すメインSW5は、詳しくは、一
体構造のスイッチSWA とスイッチSWB とから構成さ
れる。スイッチSWA は、一定角度以上にスイッチ操作
を行なった場合にスイッチから手を離しても上昇または
下降が終了するまで自動的に車窓の駆動を続行させるた
めのワンタッチ機構を備えている。スイッチSWB は、
スイッチを押している間のみ車窓を上昇または下降させ
るスイッチである。
The main switch 5 shown in FIG. 1 is composed of a switch SWA and a switch SWB of an integral structure. The switch SWA has a one-touch mechanism for automatically continuing to drive the vehicle window until lifting or lowering is completed even when the switch is operated at a certain angle or more, even when the switch is released. The switch SWB is
A switch that raises or lowers the vehicle window only while the switch is pressed.

【0011】さらに詳しくは、例えばメインSW5を前
方に押していくと、まず、スイッチSWB の接点Dが閉
成され、その結果、車窓が下降を開始し、さらに前方に
深く押していくとスイッチSWA が閉成される。このと
き、手を離しても車窓の下降動作は続行される。また、
メインSW5を後方に引いていくと、まず、スイッチS
WB の接点Uが閉成され、その結果、車窓が上昇を開始
し、さらに後方に深く引いていくとスイッチSWA が閉
成される。このときも同様に、手を離しても車窓の上昇
動作は続行される。
More specifically, for example, when the main SW 5 is pushed forward, the contact D of the switch SWB is first closed, and as a result, the vehicle window starts to descend, and when pushed further forward, the switch SWA is closed. Is done. At this time, the lowering operation of the vehicle window is continued even if the hand is released. Also,
When the main SW5 is pulled backward, first, the switch S
The contact U of WB is closed, and as a result, the vehicle window starts to rise, and when it is further pulled backward, the switch SWA is closed. At this time, similarly, the lifting operation of the vehicle window is continued even if the hand is released.

【0012】また、図1に示す切替回路15は、詳しく
は、CPU11から出力されるHighレベルの閉制御
信号に応じてオンするトランジスタTr1と、トランジ
スタTr1がオンしたときにコイルを励磁させて接点を
グランド側から電源側に切り換えるリレー1と、CPU
11から出力されるHighレベルの開制御信号に応じ
てオンするトランジスタTr2と、トランジスタTr2
がオンしたときにコイルを励磁させて接点をグランド側
から電源側に切り換えるリレー2とから構成される。
The switching circuit 15 shown in FIG. 1 includes a transistor Tr1 which is turned on in response to a high-level closing control signal output from the CPU 11, and a coil which is energized when the transistor Tr1 is turned on to make a contact. 1 for switching the power supply from the ground side to the power supply side, and a CPU
A transistor Tr2 that is turned on in response to a high-level open control signal output from
And a relay 2 that excites the coil when the switch is turned on to switch the contact from the ground side to the power supply side.

【0013】このように構成された車両用パワーウイン
ドウ装置1では、車両の搭乗者によってスイッチSWB
の接点Uが閉成され、さらに、スイッチSWA が閉成さ
れた場合には、CPU11は、車窓を続行して上昇させ
る操作と判断し、トランジスタTr1にHighレベル
の閉制御信号を出力する。次に、トランジスタTr1
は、このHighレベルの閉制御信号に応じてオンして
リレー1のコイルを励磁させ、接点をグランド側から電
源側に切り換える。その結果、バッテリ3からの電流
は、リレー1の接点を経由してモータ7の一端7aに入
り、モータ7の他端7bからリレー2の接点を経由して
グランドに接地され、モータ7には端子7aから端子7
bに向かって駆動電流が流れ、車窓は全開状態から上昇
状態に切り替わり、フロントガラス27が下方から上方
に向かって上昇する。
In the vehicle power window device 1 configured as described above, the switch SWB is operated by the vehicle occupant.
When the contact U is closed and the switch SWA is closed, the CPU 11 determines that the operation is to continue and raise the vehicle window, and outputs a high-level close control signal to the transistor Tr1. Next, the transistor Tr1
Turns on in response to the high-level closing control signal to excite the coil of the relay 1 and switch the contact from the ground side to the power supply side. As a result, the current from the battery 3 enters one end 7a of the motor 7 via the contact of the relay 1 and is grounded from the other end 7b of the motor 7 to the ground via the contact of the relay 2 so that the motor 7 Terminal 7a to terminal 7
The drive current flows toward b, the vehicle window switches from the fully opened state to the ascended state, and the windshield 27 rises from below to above.

【0014】次に、図2は、車両用パワーウインドウ装
置1のXアーム式機構部の構成を示す図である。図2に
示すレギュレータ21は、例えばフロントドア19(車
窓)のドアインナパネルに組み込まれており、モータ7
の回転に応じてフロントガイドレール23およびガイド
チャンネル25にガイドされたフロントガラス27を昇
降するように駆動する。詳しくは、モータ7の回転に応
じてメインアーム29が揺動し、サブチャンネル31と
メインチャンネル33とがなす平行機構に保持されなが
らフロントガラス27は平行に昇降される。
Next, FIG. 2 is a view showing a configuration of an X-arm mechanism of the power window device 1 for a vehicle. The regulator 21 shown in FIG. 2 is incorporated in, for example, a door inner panel of the front door 19 (car window), and
The windshield 27 guided by the front guide rail 23 and the guide channel 25 is driven up and down in accordance with the rotation of. More specifically, the main arm 29 swings in response to the rotation of the motor 7, and the windshield 27 is moved up and down in parallel while being held by the parallel mechanism formed by the sub-channel 31 and the main channel 33.

【0015】次に、図3に示すフローチャートを用いて
車両用パワーウインドウ装置1の動作を説明する。ここ
で、図1に示す各スイッチの接点状態は、開放状態にあ
ることとする。また、トランジスタTr1,Tr2に入
力される制御信号はLow状態にあることとする。さら
に、車窓は有る程度開いた状態にあることとする。
Next, the operation of the vehicle power window device 1 will be described with reference to the flowchart shown in FIG. Here, it is assumed that the contact state of each switch shown in FIG. 1 is open. The control signals input to the transistors Tr1 and Tr2 are in a low state. Further, it is assumed that the vehicle window is open to some extent.

【0016】まず、ステップS10では、CPU11
は、バッテリ3が脱着されたか否かを判断する。具体的
には、CPU11は、Vinの電圧が所定の値より低くな
り、その後所定の値より高くなったことを検出する。バ
ッテリ3が脱着された場合にはステップS20に進む。
一方、バッテリ3が接続されている状態が維持されてい
る場合にはステップS10に戻り、この処理を繰り返
す。このとき、実際の窓の開閉度合と計数値との対応関
係が不定になっている。
First, in step S10, the CPU 11
Determines whether the battery 3 has been removed. Specifically, the CPU 11 detects that the voltage of Vin has become lower than a predetermined value and thereafter has become higher than the predetermined value. If the battery 3 has been removed, the process proceeds to step S20.
On the other hand, if the state in which the battery 3 is connected is maintained, the process returns to step S10, and this process is repeated. At this time, the correspondence between the actual window opening / closing degree and the count value is undefined.

【0017】ステップS20では、CPU11は、メイ
ンSW5にスイッチ入力が有ったか否かを判断する。ス
イッチ入力が有った場合にはステップS30に進む。一
方、スイッチ入力が無い場合にはステップS10に戻
り、この処理を繰り返す。
In step S20, the CPU 11 determines whether a switch input has been made to the main SW5. If there is a switch input, the process proceeds to step S30. On the other hand, if there is no switch input, the process returns to step S10, and this process is repeated.

【0018】ここで、車両の搭乗者によってドアに備え
られているメインSW5が後方に充分引かれて手を離さ
れたこととする。この場合には、スイッチSWB の接点
Uが閉成され、さらに、スイッチSWA が閉成されてか
ら再度両スイッチが開成されたことになる。ステップS
30では、CPU11は、メインSW5の接点状態とし
て、スイッチSWB の接点UがLow状態になってから
High状態に変化したことを検出するとともに、この
間に、スイッチSWA の接点がLow状態になってから
High状態に変化したことも検出する。ここで、CP
U11は、開制御フラグを1にセットし、トランジスタ
Tr2のベースにHighレベルの開制御信号を出力す
る。
Here, it is assumed that the occupant of the vehicle has sufficiently pulled the main SW 5 provided at the door rearward and released his hand. In this case, the contacts U of the switch SWB are closed, the switches SWA are closed, and then both switches are opened again. Step S
In step 30, the CPU 11 detects that the contact U of the switch SWB has changed from the Low state to the High state as the contact state of the main SW 5, and during this time, the contact of the switch SWA has changed to the Low state. The change to the High state is also detected. Where CP
U11 sets the open control flag to 1, and outputs a high-level open control signal to the base of the transistor Tr2.

【0019】トランジスタTr2は、CPU11から出
力されるHighレベルの開制御信号に応じてオンする
ので、トランジスタTr2のコレクタとエミッタは導通
し、リレー2のコイルは励磁して接点をグランド側から
電源側に切り換える。そして、バッテリ3からの電流
は、リレー2の接点を経由してモータ7の一端7bに入
り、モータ7の他端7aからリレー1の接点を経由して
グランドに接地される。この結果、モータ7には端子7
bから端子7aに向かって駆動電流が流れ、車窓は停止
状態から下降状態に切り替わり、フロントガラス27が
上方から下方に向かって下降する。即ち、搭乗者によっ
てメインSW5が窓を上昇させるように操作されても、
バッテリの着脱が検出された場合には、窓を下降させる
ように作動させる。
The transistor Tr2 is turned on in response to a high-level open control signal output from the CPU 11, so that the collector and the emitter of the transistor Tr2 conduct, the coil of the relay 2 is excited, and the contact is switched from the ground side to the power supply side. Switch to. The current from the battery 3 enters one end 7b of the motor 7 via the contact of the relay 2 and is grounded from the other end 7a of the motor 7 to the ground via the contact of the relay 1. As a result, the terminal 7 is connected to the motor 7.
A drive current flows from b to the terminal 7a, the vehicle window switches from the stopped state to the lowered state, and the windshield 27 descends from above to below. That is, even if the main SW5 is operated by the passenger to raise the window,
When the attachment / detachment of the battery is detected, the operation is performed to lower the window.

【0020】一方、車両の搭乗者によってドアに備えら
れているメインSW5が前方に充分押されて手を離され
た場合でも、モータ7には端子7bから端子7aに向か
って駆動電流が流れ、車窓は停止状態から下降状態に切
り替わり、フロントガラス27が上方から下方に向かっ
て下降する。
On the other hand, even if the main switch 5 provided on the door is sufficiently pushed forward and released by the occupant of the vehicle, a drive current flows through the motor 7 from the terminal 7b to the terminal 7a. The vehicle window switches from the stopped state to the lowered state, and the windshield 27 descends from above to below.

【0021】車窓が下端に到達すると、摺動抵抗が増大
して過負荷状態になるので、エンコーダ9から出力され
ているパルス信号のパルス幅Tが長くなる。ここで、ス
テップS40では、CPU11は、パルス信号のパルス
幅Tが基準となる所定値Tref よりも大きいか否かを判
断する。パルス信号のパルス幅Tが基準となる所定値T
ref よりも大きい場合にはステップS50に進む。一
方、パルス信号のパルス幅Tが基準となる所定値Tref
以下の場合にはステップS40に戻り、この処理を繰り
返す。
When the vehicle window reaches the lower end, the sliding resistance increases and an overload occurs, so that the pulse width T of the pulse signal output from the encoder 9 increases. Here, in step S40, the CPU 11 determines whether or not the pulse width T of the pulse signal is larger than a predetermined reference value Tref. The predetermined value T based on the pulse width T of the pulse signal
If it is larger than ref, the process proceeds to step S50. On the other hand, a predetermined value Tref based on the pulse width T of the pulse signal is used as a reference.
In the following cases, the process returns to step S40, and this process is repeated.

【0022】次に、ステップS50では、CPU11
は、車窓の下端位置に対応する計数値Nを0として、車
窓の上端に対応する計数値Nを予め設定されている所定
の計数値NT と仮定する。この所定の計数値NT は、車
両固有の値であり、例えば500に設定する。ステップ
S60では、CPU11は、車窓が上昇中か否かを判断
する。ここで、車両の搭乗者によってドアに備えられて
いるメインSW5が後方に充分引かれて手を離されたこ
ととする。この場合には、スイッチSWB の接点Uが閉
成され、さらに、スイッチSWA が閉成されてから再度
両スイッチが開成されたことになる。
Next, at step S50, the CPU 11
Assumes that the count value N corresponding to the lower end position of the vehicle window is 0, and the count value N corresponding to the upper end of the vehicle window is a predetermined count value NT set in advance. The predetermined count value NT is a value unique to the vehicle, and is set to, for example, 500. In step S60, the CPU 11 determines whether the vehicle window is moving up. Here, it is assumed that the main SW5 provided on the door is sufficiently pulled rearward and released by the occupant of the vehicle. In this case, the contacts U of the switch SWB are closed, the switches SWA are closed, and then both switches are opened again.

【0023】CPU11では、メインSW5の接点状態
として、スイッチSWB の接点UがLow状態になって
からHigh状態に変化したことが検出されるととも
に、この間に、スイッチSWA の接点がLow状態にな
ってからHigh状態に変化したことも検出される。こ
こで、CPU11は、閉制御フラグを1にセットし、ト
ランジスタTr1のベースにHighレベルの閉制御信
号を出力する。
The CPU 11 detects that the contact U of the switch SWB has changed from the Low state to the High state as the contact state of the main SW 5, and during this time, the contact of the switch SWA changes to the Low state. Is changed to the High state. Here, the CPU 11 sets the close control flag to 1, and outputs a high-level close control signal to the base of the transistor Tr1.

【0024】トランジスタTr1は、CPU11から出
力されるHighレベルの閉制御信号に応じてオンする
ので、トランジスタTr1のコレクタとエミッタは導通
し、リレー1のコイルは励磁して接点をグランド側から
電源側に切り換える。そして、バッテリ3からの電流
は、リレー1の接点を経由してモータ7の一端7aに入
り、モータ7の他端7bからリレー2の接点を経由して
グランドに接地される。この結果、モータ7には端子7
aから端子7bに向かって駆動電流が流れ、車窓は全開
状態から上昇状態に切り替わり、フロントガラス27が
下方から上方に向かって下降する。
The transistor Tr1 is turned on in response to a high-level closing control signal output from the CPU 11, so that the collector and the emitter of the transistor Tr1 conduct, the coil of the relay 1 is excited, and the contact is switched from the ground side to the power supply side. Switch to. The current from the battery 3 enters one end 7a of the motor 7 via the contact of the relay 1, and is grounded from the other end 7b of the motor 7 to the ground via the contact of the relay 2. As a result, the terminal 7 is connected to the motor 7.
A drive current flows from a to the terminal 7b, the vehicle window switches from the fully opened state to the ascended state, and the windshield 27 descends from below to above.

【0025】ステップS70では、CPU11は、エン
コーダ9から出力されているパルス信号の計数を開始す
る。そして、ステップS80では、エンコーダ9から出
力されているパルス信号の計数値Nが所定の計数値NT
よりも大きいか否かを判断する。パルス信号の計数値N
が所定の計数値NT よりも大きい場合にはステップS9
0に進む。一方、パルス信号の計数値Nが所定の計数値
NT よりも小さい場合にはステップS100に進む。
In step S70, the CPU 11 starts counting pulse signals output from the encoder 9. In step S80, the count value N of the pulse signal output from the encoder 9 is set to a predetermined count value NT.
It is determined whether it is greater than. Count value N of pulse signal
Is larger than the predetermined count value NT, step S9
Go to 0. On the other hand, if the count value N of the pulse signal is smaller than the predetermined count value NT, the process proceeds to step S100.

【0026】ステップS90では、パルス信号の計数値
Nが所定の計数値NT よりも大きいので、車窓が上端に
到達しているものと判断する。窓枠と窓の上端との間に
異物が挟み込まれた場合、車窓と異物との間で摺動抵抗
が増大して過負荷状態になるので、図5に示すように、
エンコーダ9から出力されているパルス信号のパルス幅
Tが比較的長くなる。ここで、ステップS100では、
エンコーダ9から出力されているパルス信号のパルス幅
Tが基準となる所定値Tref よりも大きいか否かを判断
する。パルス幅Tが基準となる所定値Tref よりも大き
い場合にはステップS110に進む。一方、パルス幅T
が基準となる所定値Tref よりも小さい場合にはステッ
プS80に戻り、処理を繰り返す。なお、車窓の上端か
ら4mm程度の間隙では、車窓と車窓枠との間で摺動抵
抗が増大して過負荷状態になるので、エンコーダから出
力されているパルス信号のパルス幅Tが比較的長くな
る。この間隙を反転禁止領域として、パルス幅Tが所定
値Tref よりも大きくなった場合でも、車窓の反転動作
を行わずに、ステップS80に戻り、車窓の上昇を維持
する。
In step S90, since the count value N of the pulse signal is larger than the predetermined count value NT, it is determined that the vehicle window has reached the upper end. If a foreign object is caught between the window frame and the upper end of the window, the sliding resistance increases between the vehicle window and the foreign object, resulting in an overload state. As shown in FIG.
The pulse width T of the pulse signal output from the encoder 9 becomes relatively long. Here, in step S100,
It is determined whether or not the pulse width T of the pulse signal output from the encoder 9 is larger than a predetermined reference value Tref. If the pulse width T is greater than the reference value Tref, the process proceeds to step S110. On the other hand, the pulse width T
Is smaller than the reference value Tref as a reference, the process returns to step S80, and the process is repeated. In the gap of about 4 mm from the upper end of the vehicle window, the sliding resistance between the vehicle window and the vehicle window frame increases, causing an overload state. Therefore, the pulse width T of the pulse signal output from the encoder is relatively long. Become. Even if the pulse width T becomes larger than the predetermined value Tref, the gap returns to the step S80 without returning to the step S80.

【0027】ステップS110では、パルス信号の計数
値Nが所定の計数値NT よりも小さいにも拘らず、パル
ス幅Tが基準となる所定値Tref よりも大きい場合には
車窓に異物が挟み込まれていると判断する。そこで、ス
テップS120では、反転制御動作を行う。
In step S110, if the pulse width T is larger than a predetermined reference value Tref although the count value N of the pulse signal is smaller than a predetermined count value NT, a foreign object is caught in the vehicle window. Judge that there is. Therefore, in step S120, an inversion control operation is performed.

【0028】次に、図4に示すフローチャートを用いて
車両用パワーウィンドウ装置1の反転制御動作を説明す
る。ステップS210では、CPU11は、車窓を下降
させるために、開制御フラグを1にセットし、トランジ
スタTr2のベースにHighレベルの開制御信号を出
力する。トランジスタTr2は、CPU11から出力さ
れるHighレベルの開制御信号に応じてオンするの
で、トランジスタTr2のコレクタとエミッタは導通
し、リレー2のコイルは励磁して接点をグランド側から
電源側に切り換える。そして、バッテリ3からの電流
は、リレー2の接点を経由してモータ7の一端7bに入
り、モータ7の他端7aからリレー1の接点を経由して
グランドに接地される。この結果、モータ7には端子7
bから端子7aに向かって駆動電流が流れ、車窓は上昇
状態から下降状態に切り替わり、フロントガラス27が
上方から下方に向かって下降する。
Next, the inversion control operation of the vehicle power window device 1 will be described with reference to the flowchart shown in FIG. In step S210, the CPU 11 sets the open control flag to 1 to lower the vehicle window, and outputs a high-level open control signal to the base of the transistor Tr2. Since the transistor Tr2 is turned on in response to the high-level open control signal output from the CPU 11, the collector and the emitter of the transistor Tr2 conduct, and the coil of the relay 2 is excited to switch the contact from the ground side to the power supply side. The current from the battery 3 enters one end 7b of the motor 7 via the contact of the relay 2 and is grounded from the other end 7a of the motor 7 to the ground via the contact of the relay 1. As a result, the terminal 7 is connected to the motor 7.
A drive current flows from b to the terminal 7a, the vehicle window is switched from the ascending state to the descending state, and the windshield 27 descends from above to below.

【0029】次に、ステップS220では、CPU11
は、エンコーダ9から出力されているパルス信号の計数
を開始する。そして、ステップS230では、エンコー
ダ9から出力されているパルス信号の計数値Nが所定の
計数値ND よりも大きいか否かを判断する。パルス信号
の計数値Nが所定の計数値ND よりも大きい場合にはス
テップS240に進む。一方、パルス信号の計数値Nが
所定の計数値ND よりも小さい場合にはステップS23
0に戻り、処理を繰り返す。
Next, at step S220, the CPU 11
Starts counting the pulse signals output from the encoder 9. Then, in step S230, it is determined whether or not the count value N of the pulse signal output from the encoder 9 is larger than a predetermined count value ND. If the count N of the pulse signal is larger than the predetermined count ND, the process proceeds to step S240. On the other hand, if the count value N of the pulse signal is smaller than the predetermined count value ND, step S23 is executed.
Return to 0 and repeat the process.

【0030】次に、ステップS240では、CPU11
は、車窓の下降を停止させるために、開制御フラグを0
にセットし、トランジスタTr2のベースにLowレベ
ルの停止制御信号を出力する。トランジスタTr2は、
CPU11から出力されるLowレベルの停止制御信号
に応じてオフするので、トランジスタTr2のコレクタ
はオープン状態になり、リレー2のコイルは励磁状態が
解除され接点を電源側からグランド側に切り換わる。こ
の結果、いままでモータ7に供給されていた駆動電流が
なくなり、車窓は下降状態から停止状態に切り替わり、
挟み込み状態が解消されて、車窓がある程度開いた状態
に維持される。
Next, at step S240, the CPU 11
Sets the open control flag to 0 to stop the lowering of the vehicle window.
To output a low-level stop control signal to the base of the transistor Tr2. The transistor Tr2 is
Since the transistor Tr2 is turned off in response to a low-level stop control signal output from the CPU 11, the collector of the transistor Tr2 is opened, the coil of the relay 2 is de-energized, and the contact is switched from the power supply side to the ground side. As a result, the drive current that has been supplied to the motor 7 disappears, and the vehicle window switches from the lowered state to the stopped state,
The pinched state is eliminated, and the vehicle window is maintained in an open state to some extent.

【0031】そこで、搭乗者の要望により車窓を全閉状
態にしたい場合には、メインSW5を後方にある程度引
いて、スイッチSWB の接点Uが閉成させ、この状態を
車窓が上昇するまで継続する。CPU11では、メイン
SW5の接点状態として、スイッチSWB の接点UがL
ow状態になったことが検出される。ここで、CPU1
1は、マニュアル機能を操作したことと判断し、閉制御
フラグを1にセットし、トランジスタTr1のベースに
Highレベルの閉制御信号を出力する。
Therefore, when the passenger wants to close the vehicle window completely, the main switch 5 is pulled backward to some extent to close the contact U of the switch SWB, and this state is continued until the vehicle window rises. . In the CPU 11, as the contact state of the main SW5, the contact U of the switch SWB is set to L
An ow state is detected. Here, CPU1
1 determines that the manual function has been operated, sets the close control flag to 1, and outputs a high-level close control signal to the base of the transistor Tr1.

【0032】トランジスタTr1は、CPU11から出
力されるHighレベルの閉制御信号に応じてオンする
ので、トランジスタTr1のコレクタとエミッタは導通
し、リレー1のコイルは励磁して接点をグランド側から
電源側に切り換える。そして、バッテリ3からの電流
は、リレー1の接点を経由してモータ7の一端7aに入
り、モータ7の他端7bからリレー2の接点を経由して
グランドに接地される。この結果、モータ7には端子7
aから端子7bに向かって駆動電流が流れ、車窓は停止
状態から上昇状態に切り替わり、フロントガラス27が
下方から上方に向かって上昇し、全閉状態となる。
Since the transistor Tr1 is turned on in response to a high-level closing control signal output from the CPU 11, the collector and the emitter of the transistor Tr1 conduct, the coil of the relay 1 is excited, and the contact is switched from the ground side to the power supply side. Switch to. The current from the battery 3 enters one end 7a of the motor 7 via the contact of the relay 1, and is grounded from the other end 7b of the motor 7 to the ground via the contact of the relay 2. As a result, the terminal 7 is connected to the motor 7.
A drive current flows from a to the terminal 7b, the vehicle window is switched from the stopped state to the raised state, and the windshield 27 rises from below to above, and becomes fully closed.

【0033】このように、バッテリ3が脱着されて計数
値が一旦不定値となった場合、メインSW5が操作され
たときには車窓を下端に下降させ、車窓の下端位置に対
応する計数値Nを0として、車窓の上端に対応する計数
値Nを予め設定されている所定の計数値NT と仮定し
て、所定の計数値NT に到達するまでにパルス信号のパ
ルス幅Tが所定値Tref よりも大きくなったときには、
モータ7を反転駆動するように制御することで、車窓の
上昇時に車窓に異物が挟み込まれても、車窓を上昇駆動
から下降駆動に切り換えることができる。
As described above, when the battery 3 is detached and the count value once becomes an indefinite value, when the main switch 5 is operated, the vehicle window is lowered to the lower end, and the count value N corresponding to the lower end position of the vehicle window is set to 0. Assuming that the count value N corresponding to the upper end of the vehicle window is a predetermined count value NT, the pulse width T of the pulse signal is larger than the predetermined value Tref until the count value N reaches the predetermined count value NT. When it becomes
By controlling the motor 7 to reversely drive, even if foreign matter is caught in the vehicle window when the vehicle window is raised, the vehicle window can be switched from the upward drive to the downward drive.

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

【図1】本発明の実施の形態に係る車両用パワーウィン
ドウ装置1のシステム構成を示す図である。
FIG. 1 is a diagram showing a system configuration of a vehicle power window device 1 according to an embodiment of the present invention.

【図2】車両用パワーウィンドウ装置1のXアーム式機
構部の構成を示す図である。
FIG. 2 is a diagram showing a configuration of an X-arm mechanism of the power window device 1 for a vehicle.

【図3】車両用パワーウィンドウ装置1の動作を説明す
るためのフローチャートである。
FIG. 3 is a flowchart for explaining the operation of the vehicle power window device 1.

【図4】車両用パワーウィンドウ装置1の反転制御動作
を説明するためのフローチャートである。
FIG. 4 is a flowchart for explaining a reversal control operation of the vehicle power window device 1.

【図5】エンコーダ9からのパルス信号のタイムチャー
トである。
FIG. 5 is a time chart of a pulse signal from an encoder 9;

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

1 車両用パワーウィンドウ装置 3 バッテリ 5 メインSW 7 モータ 9 エンコーダ 11 CPU 15 切替回路 DESCRIPTION OF SYMBOLS 1 Power window device for vehicles 3 Battery 5 Main switch 7 Motor 9 Encoder 11 CPU 15 Switching circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 車両に設けられた開閉体を開閉駆動する
モータと、該モータの回転角をパルス信号に変換するエ
ンコーダとを有し、該開閉体の開閉度合をパルス信号の
計数値として検出する車両用パワーウインドウ装置にお
いて、 前記モータに電源を供給するバッテリが脱着された場合
には、前記開閉体の全開時の計数値を零値に設定すると
ともに、前記開閉体の全閉時の計数値を所定の計数値に
仮定する初期化手段と、 前記所定の計数値に到達するまでにパルス信号のパルス
幅が所定値よりも大きくなったときには、前記モータを
反転駆動または停止するように制御する制御手段とを有
することを特徴とする車両用パワーウインドウ装置。
1. A motor provided in a vehicle for opening and closing an opening / closing body, and an encoder for converting a rotation angle of the motor into a pulse signal, and detecting an opening / closing degree of the opening / closing body as a count value of the pulse signal. In a power window device for a vehicle, when a battery for supplying power to the motor is detached, a count value when the opening and closing body is fully opened is set to zero, and a total value when the opening and closing body is fully closed is set. Initialization means for assuming a numerical value as a predetermined count value; and controlling the motor to reverse drive or stop when the pulse width of the pulse signal becomes larger than a predetermined value before reaching the predetermined count value. A power window device for a vehicle, comprising:
JP9145515A 1997-06-03 1997-06-03 Power window control device for vehicle Pending JPH10331523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9145515A JPH10331523A (en) 1997-06-03 1997-06-03 Power window control device for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9145515A JPH10331523A (en) 1997-06-03 1997-06-03 Power window control device for vehicle

Publications (1)

Publication Number Publication Date
JPH10331523A true JPH10331523A (en) 1998-12-15

Family

ID=15387030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9145515A Pending JPH10331523A (en) 1997-06-03 1997-06-03 Power window control device for vehicle

Country Status (1)

Country Link
JP (1) JPH10331523A (en)

Similar Documents

Publication Publication Date Title
JP2001260647A (en) Submergence detection power window device
JP6012569B2 (en) Power window device for vehicle
JP3459335B2 (en) Power window control device
JP3546641B2 (en) Power window device for vehicles
JPH10331523A (en) Power window control device for vehicle
JPH09125815A (en) Driving controller for power window
JP3268709B2 (en) Power window drive control device
JPS5939064Y2 (en) Safety device for electric sunroof device
KR100316920B1 (en) A safety power window apparatus for vehicles
JP2004116051A (en) Power window controller
JP3276859B2 (en) Motor control device
JPS6164981A (en) Window opening and closing control apparatus
JP2963615B2 (en) Timer circuit for mechanical contact type switching relay
KR100193440B1 (en) How to control power window drive of car
JP3546656B2 (en) Power window control device
JPH0813909A (en) Safety device for automobile power window
JPH0723505Y2 (en) Power window lift control circuit
JP2001262937A (en) Submerged condition detection power window device
JPH0658046A (en) Power window drive control device
JPH10147146A (en) Device for preventing air pressure in passenger compartment from increasing
JPH1171962A (en) Power window device
KR930004471Y1 (en) Power window regulator
JPH05113075A (en) Controller for on-off mechanism of automobile
JPH11117606A (en) Power window device
JPH09328967A (en) Power window device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050712

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051108