JP2000073655A - Driving controller for power window - Google Patents

Driving controller for power window

Info

Publication number
JP2000073655A
JP2000073655A JP10248640A JP24864098A JP2000073655A JP 2000073655 A JP2000073655 A JP 2000073655A JP 10248640 A JP10248640 A JP 10248640A JP 24864098 A JP24864098 A JP 24864098A JP 2000073655 A JP2000073655 A JP 2000073655A
Authority
JP
Japan
Prior art keywords
motor
movement
window glass
window
control device
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
JP10248640A
Other languages
Japanese (ja)
Inventor
Norio Terajima
規朗 寺島
Kazuya Yoshimi
和也 吉見
Yoshihisa Sato
善久 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP10248640A priority Critical patent/JP2000073655A/en
Publication of JP2000073655A publication Critical patent/JP2000073655A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the excess heat generation of a motor, and to obviate the stoppage of the motor as a foreign matter is left as it is pinched. SOLUTION: When the pinching of a foreign matter is sensed, the movement of a window pane is not stopped even when a temperature sensing element (PTC) 6 is at off, and the window pane is moved in the opening direction preferentially for preventing pinching. That is, when the temperature sensing element 6 is at off and reaching a fixed temperature or higher of the atmospheric temperature of a motor 1 for driving from the input potential of an IN1 for a control circuit 2 is detected, a relay switch 3b and a relay switch 4b are left as the relay switch 3b is at off and the relay switch 4b is at on for a period up to the completion of pinching treatment and the movement of the window pane is not stopped during pinching. The shifting of the window panel must be stopped for preventing the excess heat generation of the motor 1 for driving, but the motor is not burnt by the motor driving of a little moving extent in the opening direction for obviating pinching.

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 drive control device capable of preventing a human body or the like from being pinched.

【0002】[0002]

【従来の技術】従来より、モータ作動時の異常加熱を防
止するために、モータ内部に加熱保護用センサ(例え
ば、PTC(Positive Thermal Co
efficient)やバイメタル式のスイッチ)を取
り付け、モータへの通電開始と共にセンサ温度が上昇し
て所定の温度に達したときにモータへの通電をカット
し、モータ作動を停止させ、それ以上モータが発熱する
のを防止してFHに至ことを未然に防いでいる。
2. Description of the Related Art Conventionally, in order to prevent abnormal heating during motor operation, a heat protection sensor (for example, a PTC (Positive Thermal Co.)
efficient) or a bimetal switch), cuts off the current to the motor when the sensor temperature rises and reaches a predetermined temperature with the start of the current to the motor, stops the motor operation, and causes the motor to generate more heat. To prevent FH from happening.

【0003】一方、近年、自動車のウィンドウガラスを
モータで駆動するパワーウィンドウやスライティングル
ーフにおいて、閉作動中に人体の一部等、異物の挟み込
みが検出されると閉作動から開作動に反転する挟み込み
防止機能のついたものが普及してきている。この挟み込
み防止機能付パワーウィンドウシステムに使用されてい
るモータにも前記した異常加熱を防止するための加熱保
護用センサがモータ内部に取り付けられている。
On the other hand, in recent years, when a foreign object such as a part of a human body is trapped during a closing operation of a power window or a sliding roof driven by a motor on a window glass of an automobile, the operation is switched from the closing operation to the opening operation. Those with a pinch prevention function have become widespread. The motor used in the power window system with the pinch prevention function is also provided with a heating protection sensor for preventing the abnormal heating described above inside the motor.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、異物の
挟み込みの途中に何らかの問題が発生して異物を挟み込
んだままモータが停止してしまうという状態、例えば異
物の挟み込み途中に加熱保護用センサが作動するとモー
タへの通電がカットされるため、このような状態が発生
しうる。
However, if a problem occurs in the middle of the foreign object and the motor stops while the foreign object is being inserted, for example, if the heating protection sensor is activated while the foreign object is being inserted. Such a state may occur because the power supply to the motor is cut off.

【0005】このような場合には、加熱保護用センサを
なくし、作動回数等から温度推測し、焼損の危険がある
場合はモータ停止を行わないようにすることが考えられ
るが、モータの温度は雰囲気温度やモータへの付加、駆
動電圧、トルク特性バラツキ等が影響するため、信頼性
のある推測値を得るのが困難であり好ましくない。本発
明は上記問題に鑑みて成され、モータの過剰な発熱を防
止でき、かつ異物を挟み込んだままモータが停止しない
パワーウィンドウの駆動制御装置を提供することを目的
とする。
In such a case, it is conceivable to eliminate the heating protection sensor, estimate the temperature from the number of times of operation, etc., and do not stop the motor if there is a danger of burnout. Atmospheric temperature, addition to the motor, drive voltage, variations in torque characteristics, and the like affect, and it is difficult to obtain a reliable estimated value, which is not preferable. The present invention has been made in view of the above problems, and has as its object to provide a drive control apparatus for a power window that can prevent excessive heat generation of a motor and that does not stop a motor while foreign substances are interposed.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、以下の技術的手段を採用する。請求項1に記載の発
明においては、異物の挟み込みが検出された場合には、
何らかの問題が発生した場合においても移動停止手段に
よる窓ガラスの移動停止よりも、挟み込み防止手段によ
る窓ガラスの開方向の移動を優先的に行うようになって
いることを特徴としている。
In order to achieve the above object, the following technical means are employed. According to the first aspect of the present invention, when the entrapment of the foreign matter is detected,
Even if any problem occurs, the movement of the windowpane in the opening direction by the pinch prevention means is preferentially performed over the stoppage of the movement of the windowpane by the movement stop means.

【0007】このように、移動停止手段による窓ガラス
の移動停止よりも、挟み込み防止手段による窓ガラスの
開方向の移動を優先的に行うようにすることにより、挟
み込み中に窓ガラスの移動が停止してしまわないように
できる。また、問題が発生した場合には、モータの過剰
発熱を防止するために窓ガラスの移動を停止しなければ
ならないが、挟み込み防止のための開方向への移動程度
の少ないモータ駆動ではモータが焼損することもない。
As described above, the movement of the windowpane is stopped during the sandwiching operation by prioritizing the movement of the windowpane by the sandwiching prevention unit, rather than stopping the movement of the windowpane by the movement stopping unit. You can avoid it. When a problem occurs, the movement of the window glass must be stopped in order to prevent excessive heat generation of the motor.However, if the motor is driven only slightly in the opening direction to prevent pinching, the motor will burn out. Nothing to do.

【0008】また、移動停止手段としては、請求項2に
示すように、モータに過負荷がかかっている場合にモー
タによる窓ガラスの開閉移動を停止するものや、請求項
3に示すように、モータ近傍の雰囲気温度が所定温度以
上となっている場合に窓ガラスの開閉移動を停止するも
の、請求項4に示すようにモータに過負荷がかかってい
る場合、若しくはモータ近傍の雰囲気温度が所定温度以
上となっている場合に、モータによる窓ガラスの開閉移
動を停止するものを採用することができる。
The movement stopping means stops the opening and closing movement of the window glass by the motor when the motor is overloaded. A device for stopping the opening and closing movement of the window glass when the ambient temperature near the motor is equal to or higher than a predetermined temperature, when the motor is overloaded, or when the ambient temperature near the motor is higher than a predetermined value. If the temperature is equal to or higher than the temperature, a motor that stops the opening and closing movement of the window glass by the motor can be adopted.

【0009】請求項5に記載の発明においては、移動停
止手段に並列接続されたバイパス回路が備えられてお
り、異物の挟み込みが検出された場合には、バイパス回
路を通じて、所定温度以上でも移動停止手段による窓ガ
ラスの移動停止よりも、挟み込み防止手段による窓ガラ
スの開方向の移動を優先的に行うようになっていること
を特徴としている。
According to a fifth aspect of the present invention, a bypass circuit is provided in parallel with the movement stopping means, and when a foreign object is detected, the movement is stopped even at a predetermined temperature or higher through the bypass circuit. The invention is characterized in that the movement of the windowpane in the opening direction by the pinch prevention means is preferentially performed over the stoppage of the movement of the windowpane by the means.

【0010】このように、移動停止手段にバイパス回路
を並列接続し、このバイパス回路を通じて、移動停止手
段による窓ガラスの移動停止よりも窓ガラスの開方向の
移動が優先的に行えるようにすることができる。これに
より、挟み込み中に窓ガラスの移動が停止してしまわな
いようにできる。
As described above, the bypass circuit is connected in parallel to the movement stopping means, and the movement of the window glass in the opening direction can be preferentially performed through the bypass circuit, rather than the movement stop of the window glass by the movement stopping means. Can be. Thereby, the movement of the window glass can be prevented from being stopped during the sandwiching.

【0011】[0011]

【発明の実施の形態】以下、本発明を図に示す実施形態
について説明する。 (第1実施形態)図1に本発明の一実施形態を適用した
車両用のパワーウィンドウの駆動制御装置の回路構成図
示す。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a first embodiment of the present invention. (First Embodiment) FIG. 1 shows a circuit configuration diagram of a drive control device of a power window for a vehicle to which one embodiment of the present invention is applied.

【0012】パワーウィンドウの駆動制御装置には、窓
ガラスの開閉を行うための駆動用モータ1と、この駆動
用モータ1を制御するための制御回路2とを備えてい
る。制御回路2は、マイコン等で構成されており、乗員
による図示しないパワーウィンドウスイッチのUP、D
OWN操作によってUP信号若しくはDOWN信号が入
力されるようになっている。そして、UP信号やDOW
N信号に応じて窓ガラスを閉方向に移動(以下、上昇と
いう)させる信号や窓ガラスを開方向に移動(以下、下
降という)させる信号をOUT1、2から出力し、問題
発生時等には駆動用モータへの通電を停止させる信号を
OUT3から出力する。
The power window drive control device includes a drive motor 1 for opening and closing a window glass, and a control circuit 2 for controlling the drive motor 1. The control circuit 2 is composed of a microcomputer or the like, and the power window switch UP, D (not shown)
The UP signal or the DOWN signal is input by the DOWN operation. And UP signal and DOW
A signal for moving the window glass in the closing direction (hereinafter referred to as rising) or a signal for moving the window glass in the opening direction (hereinafter referred to as falling) in response to the N signal is output from OUT1 and OUT2. A signal for stopping power supply to the driving motor is output from OUT3.

【0013】また、制御回路2には、各信号に基づいて
オン・オフ動作を行う第1のリレー回路3、第2のリレ
ー回路4、及び第3のリレー回路5が備えられている。
これら第1〜第3のリレー回路3〜5はそれぞれトラン
ジスタ3a、4a、5aを備えており、このトランジス
タへ信号を送ること(トランジスタへの通電)により各
リレー3b、4b、5bの接続切替えが行えるように構
成されている。
The control circuit 2 includes a first relay circuit 3, a second relay circuit 4, and a third relay circuit 5 that perform on / off operations based on each signal.
These first to third relay circuits 3 to 5 are provided with transistors 3a, 4a and 5a, respectively, and the connection of each relay 3b, 4b and 5b is switched by sending a signal to the transistor (energizing the transistor). It is configured to be able to do it.

【0014】リレー3bはパワーウィンドウのUP、D
OWNを行うための駆動用モータ1の一端と電源B又は
接地電位との接続切替えを行い、リレー4bは駆動用モ
ータ1の他端側と電源B又は接地電位との接続切替えを
行うように構成されている。また、リレー4bは電源B
と接地電位との接続切替えを行うものであり、電源Bと
第1、第2のリレー回路3、4との接続をオン・オフす
るように構成され、問題発生時、例えば駆動用モータ1
に過負荷がかかっている場合等に駆動用モータ1への電
圧印加を停止するように構成されている。
The relay 3b has a power window UP, D
The connection between one end of the drive motor 1 for performing OWN and the power supply B or the ground potential is switched, and the relay 4b is configured to switch the connection between the other end of the drive motor 1 and the power supply B or the ground potential. Have been. The relay 4b is connected to the power supply B
For switching the connection between the power supply B and the first and second relay circuits 3 and 4. When a problem occurs, for example, the driving motor 1
Is configured to stop applying voltage to the drive motor 1 when an overload is applied to the motor.

【0015】以下、リレー3〜5が電源B側に接続され
る場合をオン、接地電位側に接続される場合をオフとす
る。駆動用モータ1の近傍には、リレー3bのコモン端
子3cと駆動用モータ1との間と、電源Bを抵抗R1、
R2で分圧した部位との間を接続するようにPTCやバ
イメタルからなる温度検出素子6が備えられている。抵
抗R1、R2で分圧した部位における電位は、制御回路
2のIN1に入力されるようになっている。温度検出素
子6は雰囲気温度が所定温度以上になるとスイッチング
動作を行うことで、端子IN1の電位レベルを変化さ
せ、駆動用モータ1が過負荷や高温になった場合を検出
するようになっている。なお、PTCは、所定温度以上
では抵抗値が非常に低く、所定温度以上になると抵抗値
を急激に増大させることで回路をオフするものである。
また、バイメタルは、例えば熱膨張係数の異なる2種類
の材質を張り合わせたもので構成されており、所定温度
以上になると熱膨張係数の相違による反りで接点をオフ
するものである。
Hereinafter, the case where the relays 3 to 5 are connected to the power supply B side is turned on, and the case where the relays 3 to 5 are connected to the ground potential side is turned off. In the vicinity of the driving motor 1, between the common terminal 3c of the relay 3b and the driving motor 1, the power supply B is connected to the resistor R1,
A temperature detecting element 6 made of PTC or bimetal is provided so as to connect between the portions divided by R2. The potential at the site divided by the resistors R1 and R2 is input to IN1 of the control circuit 2. The temperature detecting element 6 performs a switching operation when the ambient temperature becomes equal to or higher than a predetermined temperature, thereby changing the potential level of the terminal IN1 and detecting a case where the driving motor 1 is overloaded or high temperature. . The PTC has a very low resistance value at a predetermined temperature or higher, and turns off the circuit by rapidly increasing the resistance value at a predetermined temperature or higher.
The bimetal is made of, for example, two kinds of materials having different coefficients of thermal expansion bonded to each other. When the temperature reaches a predetermined temperature or higher, the contact is turned off by warpage due to the difference in the coefficient of thermal expansion.

【0016】また、制御回路2には、モータ回転に伴う
モータ回転パルスが入力されるようになっており、この
モータ回転パルスに基づいてモータ回転に伴う窓ガラス
の移動速度検出が行えるようになっている。さらに、制
御回路2には、窓ガラスの実際の位置を示す検出信号L
Sが入力されるようになっている。そして、制御回路2
では、検出信号LSにより窓ガラスが上端位置(窓ガラ
スが閉め切られる状態となる位置)にあるか否かを検出
し、窓ガラスが上昇中であり、かつ窓ガラスが上端位置
にない場合にはモータ回転速度に基づいて窓ガラスの上
昇速度を検出すると共に、窓ガラスの上昇速度が所定以
上でない場合には窓ガラスが異物を挟み込んだと判定す
るようになっている。そして、このような挟み込み判定
が成された場合には、制御回路2は窓ガラスの移動方向
を反転させて窓ガラスを下降させる信号を発生させる。
Further, a motor rotation pulse accompanying the rotation of the motor is input to the control circuit 2, so that the moving speed of the window glass accompanying the rotation of the motor can be detected based on the motor rotation pulse. ing. Further, the control circuit 2 supplies a detection signal L indicating the actual position of the window glass.
S is input. And the control circuit 2
Then, it is detected whether or not the window glass is at the upper end position (a position where the window glass is closed) by the detection signal LS, and if the window glass is rising and the window glass is not at the upper end position, The rising speed of the window glass is detected based on the motor rotation speed, and if the rising speed of the window glass is not higher than a predetermined value, it is determined that the window glass has caught foreign matter. When such a pinch determination is made, the control circuit 2 generates a signal for reversing the moving direction of the window glass and lowering the window glass.

【0017】このように構成されたパワーウィンドウの
駆動制御装置の基本的動作について説明する。この基本
動作における各要素の様子を図2に示し、この図に基づ
いて説明する。まず、駆動用モータが高温若しくは過負
荷状態になっていない場合(図2(a)〜(d))を説
明する。
The basic operation of the power window drive control device configured as described above will be described. The state of each element in this basic operation is shown in FIG. 2 and will be described with reference to FIG. First, a case where the driving motor is not in a high temperature or overloaded state (FIGS. 2A to 2D) will be described.

【0018】図2(a)は窓ガラスを移動させない場合
を示している。この場合には、制御回路2はOUT1、
OUT2からローレベル(L)信号を出力し、リレー3
b、4bをオフさせて駆動用モータ1を停止させる。こ
のとき、温度検出素子6がオン状態となっているため、
制御回路2のIN1の入力電位はローレベルとなる。図
2(b)は窓ガラスを上昇させる場合を示している。こ
の場合には、制御回路2はOUT1からハイレベル
(H)信号、OUT2からローレベル信号、OUT3か
らハイレベル信号を出力し、リレー3bをオン、リレー
4bをオフ、リレー5bをオンさせて、窓ガラスを上昇
させる回転方向に駆動用モータ1を駆動する。このと
き、駆動用モータ1を介して電源Bが制御回路2のIN
1に印加されるため、IN1の入力電位はハイレベルと
なる。
FIG. 2A shows a case where the window glass is not moved. In this case, the control circuit 2 outputs OUT1,
OUT2 outputs a low level (L) signal, and relay 3
b, 4b are turned off, and the drive motor 1 is stopped. At this time, since the temperature detection element 6 is in the ON state,
The input potential of IN1 of the control circuit 2 becomes low level. FIG. 2B shows a case where the window glass is raised. In this case, the control circuit 2 outputs a high-level (H) signal from OUT1, a low-level signal from OUT2, and a high-level signal from OUT3, turns on the relay 3b, turns off the relay 4b, and turns on the relay 5b. The driving motor 1 is driven in the rotation direction for raising the window glass. At this time, the power supply B is supplied from the control circuit 2
1, the input potential of IN1 becomes high level.

【0019】図2(c)は窓ガラスを下降させる場合を
示している。この場合には、制御回路2はOUT1から
ローレベル信号、OUT2からハイレベル信号、OUT
3からハイレベル信号を出力し、リレー3bをオフ、リ
レー4bをオン、リレー5bをオンさせて、窓ガラスを
下降させる回転方向に駆動用モータ1を駆動する。この
とき、温度検出素子6がオン状態となっているため、制
御回路2のIN1の入力電位はローレベルとなる。
FIG. 2C shows a case where the window glass is lowered. In this case, the control circuit 2 outputs a low-level signal from OUT1, a high-level signal from OUT2,
3, a high level signal is output, the relay 3b is turned off, the relay 4b is turned on, the relay 5b is turned on, and the driving motor 1 is driven in the rotating direction for lowering the window glass. At this time, since the temperature detection element 6 is on, the input potential of IN1 of the control circuit 2 becomes low level.

【0020】図2(d)は通常行われない場合である
が、UP・DOWNスイッチが故障する等してUP信号
とDOWN信号が共に入力された場合を示している。こ
の場合には、制御回路2はリレー3b、4bを共にオン
させ、駆動用モータ1の両端電位を同じにし、駆動用モ
ータ1が駆動されないようにする。このとき、駆動用モ
ータ1を介して電源Bが制御回路2のIN1に印加され
るため、IN1の入力電位はハイレベルとなる。
FIG. 2 (d) shows a case where normal operation is not performed, but a case where both the UP signal and the DOWN signal are input due to a failure of the UP / DOWN switch. In this case, the control circuit 2 turns on both the relays 3b and 4b to equalize the potentials at both ends of the driving motor 1 so that the driving motor 1 is not driven. At this time, the power supply B is applied to IN1 of the control circuit 2 via the driving motor 1, so that the input potential of IN1 becomes high level.

【0021】また、駆動用モータが高温若しくは過負荷
状態になっている場合(図2(e))について説明す
る。この場合には、温度検出素子6がオフの状態になる
ため、図2(e)に示すように制御回路2のIN1の入
力電位がミドルレベル(抵抗R1、R2の分圧電位)と
なる。このため、その他の要素の状態に関わらずリレー
3b〜4bをオフにして、駆動用モータ1への通電を停
止する。すなわち、反転DOWN中は窓ガラス停止後に
リレー3b〜4bをオフする。
A case where the driving motor is in a high temperature or overloaded state (FIG. 2E) will be described. In this case, since the temperature detecting element 6 is turned off, the input potential of IN1 of the control circuit 2 becomes the middle level (the divided potential of the resistors R1 and R2) as shown in FIG. For this reason, the relays 3b to 4b are turned off irrespective of the state of the other elements, and the energization to the drive motor 1 is stopped. That is, during the inversion DOWN, the relays 3b to 4b are turned off after the window glass is stopped.

【0022】次に、上記基本動作を行うに際して制御回
路2が実行する処理について、図3、図4に示すパワー
ウィンドウ駆動処理のフローチャートに基づいて説明す
る。パワーウィンドウ駆動処理は図3に示すフローチャ
ートに従って実行される。まず、ステップ101では制
御回路2のIN1の入力電位がミドルレベルか否かを判
定する。Yesであれば、ステップ102に進み、第
1、第2のリレー回路3、4と電源Bとを接続させるべ
く、OUT3からハイレベル信号を出力してトランジス
タ5bをオンさせてステップ103に進む。また、No
であれば、何らかの問題が発生している場合であるた
め、ステップ112に進み電源Bとの接続をカットすべ
く、OUT1〜OUT3よりローレベル信号を出力して
リレー3b〜5bをオフさせる。
Next, the processing executed by the control circuit 2 when performing the above basic operation will be described with reference to the flowcharts of the power window driving processing shown in FIGS. The power window driving process is executed according to the flowchart shown in FIG. First, in step 101, it is determined whether or not the input potential of IN1 of the control circuit 2 is at a middle level. If Yes, the process proceeds to step 102, in which a high-level signal is output from OUT3 to turn on the transistor 5b to connect the first and second relay circuits 3, 4 and the power supply B, and the process proceeds to step 103. Also, No
If this is the case, it means that some problem has occurred, so the process proceeds to step 112 to output a low-level signal from OUT1 to OUT3 and cut off the relays 3b to 5b in order to cut off the connection with the power supply B.

【0023】ステップ103では、乗員によりDOWN
スイッチがオンされているか否か、つまりDOWN信号
が入力されているか否かを判定する。そして、Yesで
あれば、ステップ104に進み、窓ガラスを下降させる
べく図2(c)に示すようにリレー3bをオフ、リレー
4bをオンしてステップ105に進む。ステップ105
では、制御回路2のIN1の入力電位がローレベルであ
るか否かを判定する。そして、Yesであれば正常な状
態であるためステップ101に戻り、Noであれば何ら
かの異常が発生しているためステップ112に進みリレ
ー3b〜5bをオフさせる。
In step 103, the occupant makes a DOWN
It is determined whether or not the switch is turned on, that is, whether or not the DOWN signal is being input. If Yes, the process proceeds to step 104, in which the relay 3b is turned off and the relay 4b is turned on as shown in FIG. Step 105
Then, it is determined whether or not the input potential of IN1 of the control circuit 2 is at a low level. If Yes, it is in a normal state and returns to Step 101. If No, some abnormality has occurred and the process goes to Step 112 to turn off the relays 3b to 5b.

【0024】一方、ステップ103でNoであれば、ス
テップ106に進み、UPスイッチがオンされているか
否かを判定する。そして、Yesであればステップ10
7に進み、窓ガラスを上昇させるべく図2(b)に示す
ようにリレー3bをオン、リレー4bをオフしてステッ
プ108に進む。ステップ108では、制御回路2のI
N1の入力電位がハイレベルであるか否かを判定する。
そして、Yesであれば正常な状態であるためステップ
109に進み、Noであれば何らかの異常が発生してい
るためステップ112に進みリレー3b〜5bをオフさ
せる。
On the other hand, if No in step 103, the flow advances to step 106 to determine whether or not the UP switch is turned on. If yes, step 10
Then, as shown in FIG. 2B, the relay 3b is turned on and the relay 4b is turned off as shown in FIG. At step 108, the I
It is determined whether or not the input potential of N1 is at a high level.
If Yes, the process proceeds to step 109 because the condition is normal. If No, the process proceeds to step 112 because any abnormality has occurred, and the relays 3b to 5b are turned off.

【0025】ステップ109では、挟み込み処理を行
う。この挟み込み処理のフローチャートを図4に示して
説明する。ステップ109aでは挟み込みがあるか否か
を判定する。この判定は、上述したモータ回転パルスに
基づいて窓ガラスの上昇速度を検出し、所定速度以下で
あれば挟み込みがあるとしている。そして、Yesであ
れば挟み込みがあるとしてステップ109bに進み、窓
ガラスの移動方向を反転させて下降させるべくリレー3
bをオフ、リレー4bをオンしてステップ109cに進
む。また、Noであれば挟み込みはないとしてステップ
101に戻る。
In step 109, a sandwiching process is performed. A flowchart of the sandwiching process will be described with reference to FIG. In step 109a, it is determined whether or not there is a pinch. In this determination, the rising speed of the window glass is detected based on the above-described motor rotation pulse. If Yes, it is determined that there is a pinch, and the process proceeds to step 109b.
b is turned off, the relay 4b is turned on, and the process proceeds to step 109c. If No, it is determined that there is no pinching and the process returns to step 101.

【0026】ステップ109cでは、検出信号LSによ
り窓ガラスが所定量下降したか否かを判定し、Yesで
あれば窓ガラスを停止させるべくリレー3b、4bをオ
フし、Noであればステップ109bに戻り窓ガラスを
下降させる。これにより挟み込み処理を終了し、ステッ
プ101に戻る。このステップ109の挟み込み処理
は、一旦挟み込みありとの判定が成されると、窓が停止
するまでの間処理が進められ、この間に温度検出素子6
がオフされて制御回路2のIN1の入力電位がミドルレ
ベルになったとしても駆動用モータ1への通電が停止さ
れることはない。これにより、挟み込み処理中に駆動用
モータ1が高温若しくは過負荷状態となったとしても、
挟み込み処理が優先されて駆動用モータ1の反転駆動
(窓ガラスを下降)が成されるため、挟み込み処理中に
駆動用モータ1が停止されるということはない。なお、
駆動用モータ1が高温若しくは過負荷状態となっても上
記温度検出素子6がオフとなってから幾らかの期間は駆
動用モータ1が損傷まで至らないため、挟み込み処理の
ような短期間のモータ駆動を優先しても駆動用モータ1
を損傷させることはない。
In step 109c, it is determined whether the window glass has dropped by a predetermined amount based on the detection signal LS. If Yes, the relays 3b and 4b are turned off to stop the window glass. If No, the process proceeds to step 109b. Lower the return window glass. This terminates the entrapment process and returns to Step 101. In the entrapment process of Step 109, once it is determined that entrapment is present, the process proceeds until the window stops, and during this time, the temperature detection element 6
Is turned off and the input potential of IN1 of the control circuit 2 becomes a middle level, the energization of the drive motor 1 is not stopped. Thereby, even if the driving motor 1 becomes high temperature or overloaded during the entrapment process,
Since the sandwiching process is given priority and the inversion drive (downward movement of the window glass) of the driving motor 1 is performed, the driving motor 1 is not stopped during the sandwiching process. In addition,
Even if the driving motor 1 is in a high temperature or overloaded state, the driving motor 1 is not damaged for a certain period after the temperature detecting element 6 is turned off. Drive motor 1 even if drive is prioritized
Will not damage.

【0027】このように挟み込み処理中に温度検出素子
6がオフした場合のタイムチャートを図5(a)に示
す。この図に示されるように、挟み込み処理中に温度検
出素子6がオフしてしまっても、挟み込み処理による駆
動用モータ1の反転駆動が停止されることはなく、反転
終了まで駆動用モータ1の駆動が成されている。このよ
うに、温度検出素子6がオフされても挟み込み処理が優
先され、上記効果が得られる。
FIG. 5A is a time chart when the temperature detecting element 6 is turned off during the sandwiching process. As shown in this figure, even if the temperature detection element 6 is turned off during the entrapment process, the inversion drive of the drive motor 1 by the entrapment process is not stopped, and the drive motor 1 is not driven until the inversion ends. Driving is done. As described above, even if the temperature detection element 6 is turned off, the pinching process is prioritized, and the above-described effect is obtained.

【0028】参考として、挟み込みがなかったが窓ガラ
ス上昇中に温度検出素子6がオフされた場合、及び窓ガ
ラス下降中に温度検出素子6がオフされた場合のタイム
チャートをそれぞれ図5(b)、(c)に示す。これら
の図に示されるように、挟み込み処理が行われていない
ときに温度検出素子6がオフされた場合、制御回路2の
IN1の入力電位がミドルレベルになると直ぐに駆動用
モータ1の回転を停止するように働く。このように、温
度検出素子6がオフされた場合に、挟み込み処理中には
駆動用モータ1を停止させず、その他のときには駆動用
モータ1を停止させるようになる。
For reference, FIG. 5 (b) shows a time chart when the temperature detecting element 6 is turned off while the window glass is rising and no temperature sensor is turned off while the window glass is moving down. ) And (c). As shown in these figures, when the temperature detection element 6 is turned off when the entrapment processing is not performed, the rotation of the drive motor 1 is stopped as soon as the input potential of IN1 of the control circuit 2 becomes a middle level. Work to do. As described above, when the temperature detecting element 6 is turned off, the driving motor 1 is not stopped during the entrapment processing, and the driving motor 1 is stopped at other times.

【0029】また、ステップ106でNoであれば、窓
ガラスを停止させるべく図2(a)に示すようにリレー
3b、4bをオフし、ステップ111に進む。ステップ
111では、制御回路2のIN1の入力電位がローレベ
ルであるか否かを判定する。そして、Yesであれば正
常な状態であるためステップ109に進み、Noであれ
ば何らかの異常が発生しているためステップ112に進
みリレー3b〜5bをオフさせる。
If No in step 106, the relays 3b and 4b are turned off as shown in FIG. 2A to stop the window glass, and the process proceeds to step 111. In step 111, it is determined whether or not the input potential of IN1 of the control circuit 2 is at a low level. If Yes, the process proceeds to step 109 because the condition is normal. If No, the process proceeds to step 112 because any abnormality has occurred, and the relays 3b to 5b are turned off.

【0030】このように、温度検出素子6がオフされて
も挟み込み処理を優先することにより、挟み込み処理中
に駆動用モータ1が停止してしまうことを防止すること
ができる。 (第2実施形態)図6に本実施形態における車両用のパ
ワーウィンドウの駆動制御装置の回路構成図示す。な
お、本実施形態は、第1実施形態におけるパワーウィン
ドウの駆動制御装置の回路構成と略同様であるため、同
様である部分には同じ部号を付し、異なる部分について
のみ説明を行う。
As described above, even if the temperature detecting element 6 is turned off, priority is given to the entrapment processing, so that it is possible to prevent the drive motor 1 from stopping during the entrapment processing. (Second Embodiment) FIG. 6 shows a circuit configuration diagram of a drive control device for a power window for a vehicle in this embodiment. Note that the present embodiment is substantially the same as the circuit configuration of the power window drive control device in the first embodiment. Therefore, the same parts are denoted by the same reference numerals, and only different parts will be described.

【0031】本実施形態では、リレー3b及びリレー4
bの接地電位側の端子と接地電位との間に温度検出素子
6が備えられている。このような構成により、温度検出
素子6がオフすると、駆動用モータ1への通電が停止す
るようになっている。また、温度検出素子6に並列にバ
イパス回路10が備えられており、制御回路2により制
御される第3のリレー回路11によってバイパス回路1
1のオン、オフ切替えが行えるようになっている。な
お、バイパス回路11には電流検出抵抗12が直列接続
されており、この電流検出抵抗12によりリレー11が
オン故障した場合にも、増幅回路13を介して制御回路
2にてオン故障を検出することができるようになってい
る。このようなオン故障が発生した場合には、制御回路
2は第1、第2のリレー回路3、4をオフに切り換える
ことにより、駆動用モータ1への通電を停止できるよう
になっている。
In this embodiment, the relay 3b and the relay 4
A temperature detecting element 6 is provided between the terminal on the ground potential side of b and the ground potential. With such a configuration, when the temperature detection element 6 is turned off, the power supply to the drive motor 1 is stopped. Further, a bypass circuit 10 is provided in parallel with the temperature detection element 6, and the bypass circuit 1 is controlled by a third relay circuit 11 controlled by the control circuit 2.
1 can be switched on and off. It should be noted that a current detection resistor 12 is connected in series to the bypass circuit 11. Even when the relay 11 is turned on by the current detection resistor 12, the control circuit 2 detects the ON fault via the amplifier circuit 13. You can do it. When such an ON failure occurs, the control circuit 2 can stop energizing the drive motor 1 by switching off the first and second relay circuits 3 and 4.

【0032】このように構成された駆動制御装置の作動
について、制御回路2が行う処理に基づいて説明する。
図7に制御回路2が行う処理についてのフローチャート
を示す。まず、ステップ201では、挟み込みが発生し
ているか否かを判定する。この判定は、第1実施形態と
同様にモータ回転パルスに基づいて行う。そして、No
であればステップ202に進み、Yesであればステッ
プ208に進む。
The operation of the thus configured drive control device will be described based on the processing performed by the control circuit 2.
FIG. 7 shows a flowchart of a process performed by the control circuit 2. First, in step 201, it is determined whether or not pinching has occurred. This determination is made based on the motor rotation pulse as in the first embodiment. And No
If yes, go to step 202; if yes, go to step 208.

【0033】ステップ202では、作動を継続していい
か否か、例えば上述したオン故障が発生しているか否か
を判定する。そして、Yesであればステップ203に
進み、Noであればステップ207に進んでリレー3
b、4bをオフさせ、モータを停止させる。ステップ2
03ではUP入力がなされているか否かを判定する。そ
して、Yesであればステップ204に進み、リレー3
bをオンさせると共にリレー4bをオフさせて窓ガラス
を上昇させる。
In step 202, it is determined whether or not the operation can be continued, for example, whether or not the above-described ON failure has occurred. If the determination is Yes, the process proceeds to step 203;
b, 4b are turned off, and the motor is stopped. Step 2
At 03, it is determined whether or not an UP input has been made. If yes, the process proceeds to step 204, where the relay 3
b is turned on and the relay 4b is turned off to raise the window glass.

【0034】また、Noであればステップ205に進
み、DOWN入力がなされているか否かを判定する。そ
して、Yesであればステップ206に進み、リレー3
bをオフさせると共にリレー4bをオンさせて窓ガラス
を下降させる。Noであればステップ201に戻る。一
方、ステップ201で挟み込みが発生しているとされた
場合、ステップ208に進み、リレー3bをオフさせて
駆動用モータ1を一旦停止させる。そして、ステップ2
09に進み、リレー11bをオンさせてバイパス回路1
0をオンさせる。さらに、リレー4bをオンさせて駆動
用モータ1を反転駆動する。これにより、窓ガラスが下
降する。
If No, the process proceeds to step 205, and it is determined whether a DOWN input has been made. If Yes, the process proceeds to step 206, where the relay 3
b is turned off and the relay 4b is turned on to lower the window glass. If No, the process returns to step 201. On the other hand, if it is determined in step 201 that pinching has occurred, the process proceeds to step 208, where the relay 3b is turned off and the driving motor 1 is temporarily stopped. And Step 2
09, the relay 11b is turned on, and the bypass circuit 1
Turn on 0. Further, the relay 4b is turned on to drive the driving motor 1 in reverse. This lowers the window glass.

【0035】続いて、ステップ211に進み、窓ガラス
が所定量下降したか否かを判定する。そして、窓ガラス
が所定量下降したらステップ212に進み、リレー3
b、4bをオフさせて駆動用モータ1を停止させる。そ
の後、ステップ213に進み、バイパスリレー11bを
オフしてステップ201に戻る。このように、温度検出
素子6に並列にバイパス回路10を設け、挟み込みが検
出されたときにはバイパス回路10をオンさせるように
して、挟み込みが発生した場合には駆動用モータ1の反
転駆動を優先し、駆動用モータ1が停止しないようにす
ることによっても、第1実施形態と同様の効果が得られ
る。
Then, the process proceeds to a step 211, wherein it is determined whether or not the window glass is lowered by a predetermined amount. When the window glass is lowered by a predetermined amount, the process proceeds to step 212, where the relay 3
b, 4b are turned off, and the drive motor 1 is stopped. Thereafter, the process proceeds to step 213, where the bypass relay 11b is turned off, and the process returns to step 201. As described above, the bypass circuit 10 is provided in parallel with the temperature detection element 6, and when the entrapment is detected, the bypass circuit 10 is turned on. The same effect as in the first embodiment can be obtained by preventing the drive motor 1 from stopping.

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

【図1】第1実施形態にかかわるパワーウィンドウの駆
動制御装置の回路構成を示す図である。
FIG. 1 is a diagram showing a circuit configuration of a drive control device for a power window according to a first embodiment.

【図2】図1に示す駆動制御装置の作動を説明するため
の図表である。
FIG. 2 is a chart for explaining the operation of the drive control device shown in FIG. 1;

【図3】図1に示す駆動制御装置の作動を説明するため
のフローチャートである。
FIG. 3 is a flowchart for explaining the operation of the drive control device shown in FIG. 1;

【図4】図3における挟み込み処理の詳細を示すフロー
チャートである。
FIG. 4 is a flowchart showing details of a sandwiching process in FIG. 3;

【図5】駆動制御装置の作動を説明するためのタイムチ
ャートである。
FIG. 5 is a time chart for explaining the operation of the drive control device.

【図6】第2実施形態にかかわるパワーウィンドウの駆
動制御装置の回路構成を示す図である。
FIG. 6 is a diagram illustrating a circuit configuration of a drive control device for a power window according to a second embodiment.

【図7】図6に示す駆動制御装置の作動を説明するため
のフローチャートである。
FIG. 7 is a flowchart illustrating an operation of the drive control device shown in FIG. 6;

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

1…駆動用モータ、2…制御回路、3…第1のリレー回
路、3a…トランジスタ、3b…リレー、4…第2のリ
レー回路、4a…トランジスタ、4b…リレー、5a…
トランジスタ、5b…リレー、6…温度検出素子(PT
C、バイメタル)。
DESCRIPTION OF SYMBOLS 1 ... Driving motor, 2 ... Control circuit, 3 ... First relay circuit, 3a ... Transistor, 3b ... Relay, 4 ... Second relay circuit, 4a ... Transistor, 4b ... Relay, 5a ...
Transistor, 5b relay, 6 temperature detecting element (PT
C, bimetal).

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐藤 善久 愛知県刈谷市昭和町1丁目1番地 株式会 社デンソー内 Fターム(参考) 2E052 AA09 BA02 CA06 EA14 EB01 EC01 GA10 GB15 GC06 GD03 HA01 KA12 KA13 3D127 AA02 BB01 CB05 DF35 FF05 FF06 FF08 FF18 FF20 5H001 AA08 AC01 AC02 AD00 5H530 AA01 BB17 CC22 CC24 CD30 CF05 DD12 DD19  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Yoshihisa Sato 1-1-1, Showa-cho, Kariya-shi, Aichi F-term in DENSO Corporation (reference) 2E052 AA09 BA02 CA06 EA14 EB01 EC01 GA10 GB15 GC06 GD03 HA01 KA12 KA13 3D127 AA02 BB01 CB05 DF35 FF05 FF06 FF08 FF18 FF20 5H001 AA08 AC01 AC02 AD00 5H530 AA01 BB17 CC22 CC24 CD30 CF05 DD12 DD19

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 窓ガラスの開閉移動を行うための駆動用
モータと、 前記窓ガラスの閉方向の移動中に、該窓ガラスが異物を
挟み込んだことを検出すると共に、該挟み込みが検出さ
れた場合に前記窓ガラスの移動方向を開方向に反転させ
て該窓ガラスを移動させる挟み込み防止手段と、 何らかの問題が発生したときに前記窓ガラスの開閉移動
を停止する移動停止手段と、を備えてなるパワーウィン
ドウの駆動制御装置において、 前記異物の挟み込みが検出された場合には、前記問題が
発生した場合においても前記移動停止手段による前記窓
ガラスの移動停止よりも、前記挟み込み防止手段による
前記窓ガラスの開方向の移動を優先的に行うようになっ
ていることを特徴とするパワーウィンドウの駆動制御装
置。
A driving motor for opening and closing the windowpane; detecting that the windowpane has caught foreign matter while the windowpane is moving in the closing direction; and detecting the entrapment. In this case, a pinch prevention means for moving the window glass by reversing the moving direction of the window glass to the opening direction, and a movement stopping means for stopping the opening and closing movement of the window glass when any problem occurs. In the drive control device for a power window, when the entrapment of the foreign matter is detected, even when the problem occurs, the movement of the window glass is stopped by the movement stop unit, and the movement of the window is prevented by the entrapment prevention unit. A drive control device for a power window, wherein the movement of the glass in the opening direction is preferentially performed.
【請求項2】 前記移動停止手段は、前記モータに過負
荷がかかっている場合に前記モータによる前記窓ガラス
の開閉移動を停止する手段であることを特徴とする請求
項1に記載のパワーウィンドウの駆動制御装置。
2. The power window according to claim 1, wherein the movement stopping means stops the opening and closing movement of the window glass by the motor when the motor is overloaded. Drive control device.
【請求項3】 前記移動停止手段は、前記モータ近傍の
雰囲気温度が所定温度以上となっている場合に前記窓ガ
ラスの開閉移動を停止する手段であることを特徴とする
請求項1に記載のパワーウィンドウの駆動制御装置。
3. The apparatus according to claim 1, wherein the movement stopping means stops the opening and closing movement of the window glass when an ambient temperature near the motor is equal to or higher than a predetermined temperature. Power window drive controller.
【請求項4】 前記移動停止手段は、前記モータに過負
荷がかかっている場合、若しくは前記モータ近傍の雰囲
気温度が所定温度以上となっている場合に、前記モータ
による前記窓ガラスの開閉移動を停止する手段であるこ
とを特徴とする請求項1に記載のパワーウィンドウの駆
動制御装置。
4. The movement stopping means causes the motor to open and close the window glass when the motor is overloaded or when the ambient temperature near the motor is equal to or higher than a predetermined temperature. The drive control device for a power window according to claim 1, wherein the drive control device is a means for stopping.
【請求項5】 窓ガラスの開閉移動を行うための駆動用
モータと、 前記窓ガラスの閉方向の移動中に、該窓ガラスが異物を
挟み込んだことを検出すると共に、該挟み込みが検出さ
れた場合に前記窓ガラスの移動方向を開方向に反転させ
て該窓ガラスを移動させる挟み込み防止手段と、 前記モータ近傍の雰囲気温度が所定温度以上になってい
る場合に、前記モータによる窓ガラスの開閉移動を停止
する移動停止手段と、を備えてなるパワーウィンドウの
駆動制御装置において、 前記移動停止手段に並列接続されたバイパス回路が備え
られており、前記異物の挟み込みが検出された場合に
は、前記バイパス回路を通じて、前記所定温度以上でも
前記移動停止手段による前記窓ガラスの移動停止より
も、前記挟み込み防止手段による前記窓ガラスの開方向
の移動を優先的に行うようになっていることを特徴とす
るパワーウィンドウの駆動制御装置。
5. A drive motor for opening and closing the windowpane, and detecting that the windowpane has caught foreign matter during the movement of the windowpane in the closing direction, and detecting the entrapment. An anti-jamming means for moving the window glass by reversing the direction of movement of the window glass in the opening direction, and opening and closing the window glass by the motor when the ambient temperature near the motor is equal to or higher than a predetermined temperature. A movement stop means for stopping movement, and a drive control device for a power window, comprising: a bypass circuit connected in parallel to the movement stop means, and when the entrapment of the foreign matter is detected, Through the bypass circuit, even when the temperature is equal to or higher than the predetermined temperature, the movement of the window glass is stopped by the movement stopping means, A drive control device for a power window, wherein a movement in an opening direction is preferentially performed.
JP10248640A 1998-09-02 1998-09-02 Driving controller for power window Pending JP2000073655A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10248640A JP2000073655A (en) 1998-09-02 1998-09-02 Driving controller for power window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10248640A JP2000073655A (en) 1998-09-02 1998-09-02 Driving controller for power window

Publications (1)

Publication Number Publication Date
JP2000073655A true JP2000073655A (en) 2000-03-07

Family

ID=17181129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10248640A Pending JP2000073655A (en) 1998-09-02 1998-09-02 Driving controller for power window

Country Status (1)

Country Link
JP (1) JP2000073655A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006296165A (en) * 2005-04-14 2006-10-26 Toyota Motor Corp Motor controller
JP2007014057A (en) * 2005-06-28 2007-01-18 Asmo Co Ltd Motor controller
JP2008187858A (en) * 2007-01-31 2008-08-14 Mitsuba Corp Coil temperature estimation method of motor, control method of switchgear using method, and switchgear
US7843700B2 (en) 2004-04-14 2010-11-30 Denso Corporation Semiconductor device
CN114776173A (en) * 2022-04-27 2022-07-22 东风汽车有限公司东风日产乘用车公司 Anti-pinch control circuit and method for lifting vehicle window motor
CN114776173B (en) * 2022-04-27 2024-04-26 东风汽车有限公司东风日产乘用车公司 Anti-pinch control circuit and method for lifting car window motor

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7843700B2 (en) 2004-04-14 2010-11-30 Denso Corporation Semiconductor device
US8179688B2 (en) 2004-04-14 2012-05-15 Denso Corporation Semiconductor device
JP2006296165A (en) * 2005-04-14 2006-10-26 Toyota Motor Corp Motor controller
JP2007014057A (en) * 2005-06-28 2007-01-18 Asmo Co Ltd Motor controller
DE102006027828B4 (en) 2005-06-28 2023-10-12 Denso Corporation Engine control device
JP2008187858A (en) * 2007-01-31 2008-08-14 Mitsuba Corp Coil temperature estimation method of motor, control method of switchgear using method, and switchgear
CN114776173A (en) * 2022-04-27 2022-07-22 东风汽车有限公司东风日产乘用车公司 Anti-pinch control circuit and method for lifting vehicle window motor
CN114776173B (en) * 2022-04-27 2024-04-26 东风汽车有限公司东风日产乘用车公司 Anti-pinch control circuit and method for lifting car window motor

Similar Documents

Publication Publication Date Title
US7573222B2 (en) Motor control apparatus
JP4585883B2 (en) Power window device
KR101392033B1 (en) Dc motor control device
JPH11270230A (en) Method for detecting material pinched in window equipment
JP6012569B2 (en) Power window device for vehicle
JP2000073655A (en) Driving controller for power window
JP2003090170A (en) Power window device
JPH09125815A (en) Driving controller for power window
JP2002174077A (en) Opening and closing controller
JP2954471B2 (en) Opening / closing body opening / closing control method
JP3268603B2 (en) Opening / closing body opening / closing control device
JP3579080B2 (en) Switching control method of switchgear
JP2000308391A (en) Motor controller
JP3546641B2 (en) Power window device for vehicles
JP3498460B2 (en) Window opener
JPH0595694A (en) Switching device for vehicle
JP2002168049A (en) Detection device for existence of insertion of window glass
JP3927439B2 (en) Power window pinching detector
JPS6164981A (en) Window opening and closing control apparatus
JPH09137670A (en) Drive controlling device for motor
JP4041981B2 (en) Drive device
JP6192116B2 (en) Window opening / closing control system and window opening / closing control device
JPH07109866A (en) Window/door opening/closing control device
JPS6169389A (en) Controlling method for dc motor
JP3598612B2 (en) Shutter control device having obstacle sensing function