JP3349053B2 - Window glass pinch detection device - Google Patents

Window glass pinch detection device

Info

Publication number
JP3349053B2
JP3349053B2 JP33375996A JP33375996A JP3349053B2 JP 3349053 B2 JP3349053 B2 JP 3349053B2 JP 33375996 A JP33375996 A JP 33375996A JP 33375996 A JP33375996 A JP 33375996A JP 3349053 B2 JP3349053 B2 JP 3349053B2
Authority
JP
Japan
Prior art keywords
value
period
difference
difference value
predetermined
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP33375996A
Other languages
Japanese (ja)
Other versions
JPH10169315A (en
Inventor
忠昭 市薗
一成 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika 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 Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP33375996A priority Critical patent/JP3349053B2/en
Publication of JPH10169315A publication Critical patent/JPH10169315A/en
Application granted granted Critical
Publication of JP3349053B2 publication Critical patent/JP3349053B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、ウィンドウガラ
スの挟持有無検出装置に係り、詳しくは閉まるウインド
ガラスに物等が挟持されたときその挟持を検出し挟持さ
れた物等をその挟持状態から解放するウィンドウガラス
の挟持有無検出装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for detecting the presence or absence of a window glass, and more particularly, to detecting an object or the like being pinched on a closed window glass and releasing the pinched object from the pinched state. The present invention relates to a device for detecting the presence / absence of holding a window glass.

【0002】[0002]

【従来の技術】従来、自動車のパワーウィンドウ装置
は、窓開閉スイッチを操作することによりウィンドウガ
ラスが開閉するようになっている。詳述すると、例えば
窓が全開状態にあるとき、窓閉スイッチを操作すると、
ウィンドウガラスを上下動させるモータに対して電源を
供給するとともに該ガラスが閉まる方向に回転させる。
そして、該ガラスが完全に閉まると、モータに供給する
電源を停止させ該ガラスの閉動作は終了する。この電源
供給の停止は、例えばガラスが閉まることにより該モー
タの負荷が大きくなりその負荷電流が所定値以上になっ
たら該ガラスが閉まったものと判定して電源の供給を停
止するようになっている。
2. Description of the Related Art Conventionally, in a power window device of an automobile, a window glass is opened and closed by operating a window opening / closing switch. In detail, for example, when the window is fully open, when the window close switch is operated,
Power is supplied to a motor that moves the window glass up and down, and the window glass is rotated in the closing direction.
Then, when the glass is completely closed, the power supply to the motor is stopped, and the closing operation of the glass is completed. This power supply is stopped, for example, when the glass is closed, the load of the motor is increased, and when the load current becomes a predetermined value or more, it is determined that the glass is closed, and the power supply is stopped. I have.

【0003】又、この種のパワーウィンドウ装置には、
挟まれ防止機構が備えられたものがある。この挟まれ防
止機構は、ウィンドウガラスが閉動作を行っている途中
において、該ガラスに例えば物が挟まってそれ以上の閉
動作が不能となったとき、その挟まったことを検出して
該ガラスを開く方向に開動作させて挟まった物を解放さ
せるようにしたものである。
[0003] In addition, this type of power window device includes:
Some are provided with a pinch prevention mechanism. This pinch prevention mechanism detects when the window glass is performing a closing operation, for example, when an object is caught in the glass and a further closing operation becomes impossible, and detects that the glass is caught and removes the glass. The object is opened in the opening direction to release a pinched object.

【0004】この物等が挟まったことの検出(以下、挟
持有無検出という)には、パルス検知方式がある。この
パルス検知方式は、ウィンドウガラスを開閉するモータ
の回転速度を検出し、その回転速度の比例した周期のパ
ルス信号を生成することによって行われる。一般に、モ
ータの回転速度が速いとパルス周期は短く、反対に遅い
とパルス周期は長くなる。このパルス周期の変動を利用
して以下のように挟持有無検出が行われる。
There is a pulse detection method for detecting that the object or the like has been caught (hereinafter, detection of the presence or absence of being caught). This pulse detection method is performed by detecting a rotation speed of a motor that opens and closes a window glass and generating a pulse signal having a period proportional to the rotation speed. Generally, when the rotation speed of the motor is high, the pulse period is short, and when it is low, the pulse period is long. Utilizing the fluctuation of the pulse period, the detection of the presence / absence of pinching is performed as follows.

【0005】今、モータが一定の回転速度でウィンドウ
ガラスを閉める方向に閉動作させているとき、その時々
に出力されるパルス周期は一定となる。そして、今出力
された実パルスのパルス周期T0 と、その今出力された
パルスより数えてN−1個前までの各パルスのパルス周
期T1 〜TN-1 とを合計し、その合計値をNで割る。
Now, when the motor is performing a closing operation in a direction to close the window glass at a constant rotation speed, a pulse cycle outputted at each time becomes constant. Then, the pulse period T0 of the currently output actual pulse and the pulse periods T1 to TN-1 of each pulse up to N-1 before the currently output pulse are summed, and the total value is expressed by N Divide by.

【0006】つまり、平均パルス周期P0 (=(T0 +
T1 +・・・+TN-1 )/N)を求める。従って、パル
ス周期が常に一定ならば、平均パルス周期P0 も一定と
なる。
That is, the average pulse period P0 (= (T0 +
T1 +... + TN-1) / N). Therefore, if the pulse period is always constant, the average pulse period P0 is also constant.

【0007】又、その時々で求めた平均パルス周期P0
に対して予め定めた係数をかけた値を基本しきい値とし
てのしきい値POS(=a×P0 ;但し係数aは0<a<
1である)として求める。このしきい値POSは、その時
々における挟持有無を決定するための基準値となるもの
である。
The average pulse period P0 obtained at each time is
Is a threshold value POS (= a × P0) as a basic threshold value obtained by multiplying a coefficient by a predetermined coefficient with respect to the coefficient a.
1). The threshold value POS is a reference value for determining whether or not the sheet is held at each time.

【0008】そして、その時に求められたパルス周期T
0 とそのパルス周期T0 を含む平均パルス周期P0 との
周期差分値△S(=T0 −P0 )を求める。この求めた
周期差分値△Sとその時に求められた前記しきい値POS
とを比較する。そして、その時の周期差分値△Sがその
時のしきい値POSより大きいとき何かがが挟まったと判
断する。反対にその時の周期差分値△Sがその時のしき
い値POS以下のときは何も挟まっていないと判断する。
The pulse period T obtained at that time is
A period difference value △ S (= T0−P0) between 0 and an average pulse period P0 including the pulse period T0 is obtained. The obtained period difference value ΔS and the threshold value POS obtained at that time
Compare with Then, when the period difference value ΔS at that time is larger than the threshold value POS at that time, it is determined that something has been caught. Conversely, when the period difference value ΔS at that time is equal to or smaller than the threshold value POS at that time, it is determined that nothing is sandwiched.

【0009】[0009]

【発明が解決しようとする課題】ところが、上記のよう
に挟まれ検出をパルス周波数の変化にて行う場合、ウイ
ンドウガラスが上昇移動中にドアの開閉衝撃や、悪路走
行時に発生する衝撃(振動)等によって、パルス周期が
変化した際にも、挟み込みと誤検出し、ウインドウガラ
スが反転作動して、下降してしまう虞がある。
However, when the pinch detection is performed by changing the pulse frequency as described above, the impact of the opening / closing of the door during the upward movement of the window glass or the impact (vibration generated when traveling on a rough road) is obtained. For example, when the pulse cycle is changed, it is erroneously detected that the window glass is pinched, and the window glass may be turned over and fall.

【0010】この発明の目的は、振動、衝撃等の要因に
より、パルス周期が変動した際に、挟み込み検知をしな
いように、パルス周期の短いパルスが発生した場合、パ
ルス周期変動パラメータの補正処理を行い、挟み込みの
誤検出を抑制することができるウインドウガラスの挟持
有無検出装置の提供を目的としている。
An object of the present invention is to correct a pulse period variation parameter when a pulse having a short pulse period is generated so as not to detect pinching when the pulse period fluctuates due to factors such as vibration and shock. Accordingly, it is an object of the present invention to provide an apparatus for detecting the presence / absence of pinching of window glass, which can suppress erroneous detection of pinching.

【0011】[0011]

【課題を解決するための手段】上記問題点を解決するた
めに請求項1の発明は、ウインドウガラスを開閉駆動さ
せるモータに対して電源電圧を供給する駆動回路と、前
記モータの回転速度に相対したパルス周期のパルス信号
を入力し、その時々のパルス信号のパルス周期を求め、
予め定めた過去の複数個のパルス周期とで平均パルス周
期)を求め、その平均パルス周期とその時のパルス周期
とで周期差分値を求める周期差分値演算手段と、前記周
期差分値演算手段にて算出されたその時の差分値と、予
め定めた過去の複数個の差分値との総和である差分和を
算出する差分和演算手段と、前記差分和所定のしきい
値と比較することにより、ウィンドウガラスの閉動作時
において該ガラスにものが挟持されたかどうかを判定
し、挟持されている時には前記駆動回路を介して前記モ
ータを反転駆動させる第1の判定手段とを備えたウィン
ドウガラスの挟持有無検出装置において、その時の周期
差分値が所定値以下のときは、差分和を補正する補正手
段を備えたウインドウガラスの挟持有無検出装置をその
要旨としている。
In order to solve the above-mentioned problems, a first aspect of the present invention is to provide a driving circuit for supplying a power supply voltage to a motor for driving a window glass to open and close, and a driving circuit for controlling a rotation speed of the motor. Input the pulse signal of the pulse period, and find the pulse period of the pulse signal at each time,
A period difference value calculating unit that calculates a period difference value between the average pulse period and the pulse period at that time, and a period difference value calculating unit that obtains a period difference value between the average pulse period and the pulse period at that time. By calculating the difference value at that time, a difference sum calculating means for calculating a difference sum that is a sum of a plurality of predetermined difference values in the past, and comparing the difference sum with a predetermined threshold value, A first determining means for determining whether or not an object is pinched by the glass during the closing operation of the window glass, and inverting the motor through the drive circuit when the pinch is being pinched; In the presence / absence detection device, when the period difference value at that time is equal to or less than a predetermined value, the gist is a window glass sandwiching presence / absence detection device including a correction unit that corrects the difference sum.

【0012】請求項2の発明は、請求項1において、補
正手段は、差分和演算手段が算出するために、周期差分
値演算手段にて算出されたその時の差分値と、予め定め
た過去の複数個の差分値とのうち、前記所定値を越える
もののみ、所定値に置き換えるものであるウインドウガ
ラスの挟持有無検出装置をその要旨としている。
According to a second aspect of the present invention, in the first aspect, the correction means includes a difference between the current difference value calculated by the periodic difference value calculation means and a predetermined past value to be calculated by the difference sum calculation means. The gist of the present invention is a window glass sandwiching presence / absence detection device that replaces only a value exceeding the predetermined value among a plurality of difference values with a predetermined value.

【0013】請求項3の発明は、請求項1において、周
期差分値が所定値以下か否かを判定する第2の判定手段
と、周期差分値が所定値以下のときの継続時間をカウン
トするカウント手段を備え、補正手段は、周期差分値が
所定値以下から所定値以上に変化したとき、前記カウン
ト手段がカウントした継続時間に相当する時間の間、差
分和演算手段が算出するために、周期差分値演算手段に
て算出されたその時の差分値と、予め定めた過去の複数
個の差分値とのうち、前記所定値を越えるもののみ、所
定値に置き換えるものであるウインドウガラスの挟持有
無検出装置をその要旨としている。
According to a third aspect of the present invention, in the first aspect, a second determining means for determining whether the period difference value is equal to or less than a predetermined value.
And the duration when the period difference value is
The correction means includes a counting means for counting the period difference value.
When the count changes from below a predetermined value to above a predetermined value,
Difference for a duration equal to the duration counted by the
In order for the summation calculation means to calculate,
The difference value at that time calculated by
Out of the difference values, only those exceeding the predetermined value
Window glass that is replaced with a fixed value
The gist is a non-detection device .

【0014】(作用)請求項1の発明によれば、周期差
分値演算手段は、モータの回転速度に相対したパルス周
期のパルス信号を入力し、その時々のパルス信号のパル
ス周期を求め、予め定めた過去の複数個のパルス周期と
で平均パルス周期を求め、その平均パルス周期とその時
のパルス周期とで周期差分値を求める。
(Operation) According to the first aspect of the present invention, the period difference value calculating means inputs a pulse signal having a pulse period corresponding to the rotation speed of the motor, obtains a pulse period of the pulse signal at each time, and determines in advance the pulse period. An average pulse period is determined from the determined plurality of past pulse periods, and a period difference value is determined from the average pulse period and the pulse period at that time.

【0015】差分和演算手段は、前記周期差分値演算手
段にて算出されたその時の差分値と、予め定めた過去の
複数個の差分値との総和である差分和を算出する。第1
の判定手段は、前記差分和と,所定のしきい値とを比較
することにより、ウィンドウガラスの閉動作時において
該ガラスにものが挟持されたかどうかを判定し、挟持さ
れている時には前記駆動回路を介して前記モータを反転
駆動させる。
The difference sum calculating means calculates a difference sum which is a sum of the difference value at that time calculated by the periodic difference value calculating means and a plurality of predetermined past difference values. First
The determination means determines whether or not an object has been pinched by the window glass during the closing operation by comparing the sum of the differences with a predetermined threshold value. , The motor is driven in reverse.

【0016】又、補正手段は、その時の周期差分値が所
定値以下のときは、差分和を補正する。この結果、第1
の判定手段は、補正された差分和と,その時の周期差分
値とに基づいてウィンドウガラスの閉動作時において該
ガラスにものが挟持されたかどうかを判定することにな
る。
The correction means corrects the sum of the differences when the period difference value at that time is equal to or less than a predetermined value. As a result, the first
Will determine whether or not an object has been pinched by the window glass during the closing operation based on the corrected difference sum and the periodic difference value at that time.

【0017】請求項2の発明によれば、補正手段は、差
分和演算手段が算出するために、周期差分値演算手段に
て算出されたその時の差分値と、予め定めた過去の複数
個の差分値とのうち、前記所定値を越えるもののみ、所
定値に置き換える。
According to the second aspect of the present invention, the correction means includes a difference value calculated by the period difference value calculation means and a plurality of predetermined past values, which are calculated by the difference sum calculation means. Only the difference value that exceeds the predetermined value is replaced with the predetermined value.

【0018】請求項3の発明によれば、第2の判定手段
は、周期差分値が所定値以下か否かを判定する。そし
、カウント手段は周期差分値が所定値以下のときの継
続時間をカウントする。補正手段は、周期差分値が所定
値以下から所定値以上に変化したとき、前記カウント手
段がカウントした継続時間に相当する時間の間、差分和
演算手段が算出するために、周期差分値演算手段にて算
出されたその時の差分値と、予め定めた過去の複数個の
差分値とのうち、前記所定値を越えるもののみ、所定値
に置き換える。
According to the third aspect of the present invention, the second determination means determines whether the period difference value is equal to or less than a predetermined value. Then , the counting means performs a relay when the period difference value is equal to or less than a predetermined value.
Count the duration. The correction means determines that the period difference value is predetermined.
When the value changes from below the specified value to the specified value, the counting
The sum of the differences for a time corresponding to the duration counted by the stage
Calculated by the period difference value calculation means for calculation by the calculation means.
The difference value at that time issued and a plurality of
Of the difference values, only those exceeding the predetermined value are set to the predetermined value.
Replace with

【0019】[0019]

【発明の実施の形態】以下、本発明を車両のサイドドア
のパワーウインドウ装置に具体化した第1の実施の形態
を図1乃至図5、及び図7を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment in which the present invention is embodied in a power window device for a side door of a vehicle will be described below with reference to FIGS. 1 to 5 and FIG.

【0020】図1はパワーウインドウ装置の電気的構成
を示している。同図において、電子制御ユニットを構成
するコントローラ21は演算部22及び記憶部23を備
えている。演算部23は各種の演算を行うようにされて
いる。又、記憶部は演算部23による演算結果や後記す
る各種センサ等からの検出信号を記憶する書き換え可能
なメモリ部(RAM)と、各種制御プログラムを記憶す
る読み出し専用のメモリ部(ROM)とを備えている。
前記コントローラ21は周期差分値演算手段、差分和演
算手段、第1及び第2の判定手段、カウント手段及び補
正手段を構成している。
FIG. 1 shows an electrical configuration of the power window device. In FIG. 1, a controller 21 constituting the electronic control unit includes a calculation unit 22 and a storage unit 23. The calculation unit 23 performs various calculations. The storage unit includes a rewritable memory unit (RAM) for storing the operation result of the operation unit 23 and detection signals from various sensors described later, and a read-only memory unit (ROM) for storing various control programs. Have.
The controller 21 constitutes a period difference value calculation unit, a difference sum calculation unit, first and second determination units, a count unit, and a correction unit.

【0021】上昇スイッチ24、下降スイッチ25、オ
ートスイッチ26はドアの内側面に設けられている。上
昇スイッチ24は、ウインドウガラスを上昇作動させる
ためのスイッチであり、下降スイッチ25はウインドウ
ガラスを下降作動させるためのものである。両スイッチ
24,25は揺動型のパワーウインドウスイッチを選択
的に切替え操作することによりオン・オフ操作される。
すなわち、パワーウインドウスイッチを一方へ揺動させ
ると、上昇スイッチ24がオンされ、他方へ揺動させる
と、下降スイッチ25がオンされるようになっている。
そして、両スイッチ24,25は、乗員が操作中のみオ
ン作動し、操作力を解除すると中立位置に復帰し、両ス
イッチ24,25をオフ作動する。
The up switch 24, down switch 25, and auto switch 26 are provided on the inner surface of the door. The raising switch 24 is a switch for raising the window glass, and the lowering switch 25 is for lowering the window glass. Both switches 24 and 25 are turned on and off by selectively switching the swing type power window switch.
That is, when the power window switch is swung to one side, the up switch 24 is turned on, and when the power window switch is swung to the other side, the down switch 25 is turned on.
Then, both switches 24 and 25 are turned on only when the occupant is operating, and return to the neutral position when the operating force is released, and both switches 24 and 25 are turned off.

【0022】又、オートスイッチ26は揺動型のパワー
ウインドウスイッチを選択的に切替え押圧操作すること
によりオン・オフ操作される。そして、乗員の押圧操作
が解除された場合でも、コントローラ21の制御によ
り、オートスイッチ26の開放側、あるいは閉鎖側への
操作に基づいてモータMを回転駆動する。
The auto switch 26 is turned on / off by selectively switching and pressing a swing type power window switch. Then, even when the pressing operation of the occupant is released, the motor M is rotationally driven based on the operation of the auto switch 26 to the open side or the closed side under the control of the controller 21.

【0023】これらのスイッチ24,25,26はそれ
ぞれコントローラ21に接続され、コントローラ21に
オン・オフ信号を入力する。モータMは車両のバッテリ
Bを駆動電源として駆動されるものであり、切換回路2
7を介してバッテリBに接続されている。切換回路27
はリレー回路にて構成されている。そして、バッテリB
に対する切換回路27の切換接続により、モー夕15は
正転・逆転、あるいは停上する。すなわち、切換回路2
7はコントローラ21に接続され、コントローラ21か
らの正転制御信号、逆転制御信号及び停止信号が入力さ
れるようになっている。そして、同切換回路27は正転
制御信号に基づいて回路を切換し、モータMを正転駆動
させる。又、同切換回路27はコントローラ21からの
逆転制御信号に基づいて回路を逆転させるべく切換し、
モータMを逆転駆動させる。さらに、コントローラ21
からの停止信号に基づいて、切換回路27はモータMに
対するバッテリBとの接続を遮断する。前記切換加回路
27は本発明の駆動回路に相当する。
These switches 24, 25 and 26 are connected to the controller 21 and input an on / off signal to the controller 21. The motor M is driven using the battery B of the vehicle as a driving power source.
7 is connected to the battery B. Switching circuit 27
Is composed of a relay circuit. And battery B
The switching of the switching circuit 27 causes the motor 15 to rotate forward, reverse, or stop. That is, the switching circuit 2
Reference numeral 7 is connected to the controller 21 so that a forward rotation control signal, a reverse rotation control signal, and a stop signal from the controller 21 are input. Then, the switching circuit 27 switches the circuit based on the forward rotation control signal, and drives the motor M forward. The switching circuit 27 switches to reverse the circuit based on the reverse control signal from the controller 21.
The motor M is driven to rotate in the reverse direction. Further, the controller 21
The switching circuit 27 cuts off the connection of the motor M to the battery B based on the stop signal from. The switching circuit 27 corresponds to the driving circuit of the present invention.

【0024】パルスセンサPSは、モータMの制御中に
おいて、前記モータMの回転数に対応したパルス信号を
コントローラ21に入力する。コントローラ21は、モ
ータ15の単位時間当たりの回転数に応じたパルスに基
づき、その時々のパルス幅の平均値Paを算出し、記憶
部23のRAMに格納する。前記パルスセンサPSは、
上昇スイッチ24,下降スイッチ25、或いはオートス
イッチ26のいずれの操作においても、フルタイム、す
なわち常時パルスセンサが作動するようにされている。
前記パルスセンサPSは異物挟まれ検出手段を構成して
いる。
The pulse sensor PS inputs a pulse signal corresponding to the rotation speed of the motor M to the controller 21 during the control of the motor M. The controller 21 calculates the average value Pa of the pulse width at each time based on the pulse corresponding to the number of rotations of the motor 15 per unit time, and stores the average value Pa in the RAM of the storage unit 23. The pulse sensor PS includes:
Regardless of the operation of the up switch 24, the down switch 25, or the auto switch 26, the pulse sensor is operated full time, that is, constantly.
The pulse sensor PS constitutes foreign matter trapping detection means.

【0025】又、リミットスイッチLSは、コントロー
ラ21に電気的に接続されており、前記ウインドウガラ
スが全閉位置に位置した時にウインドウガラスにてオン
作動し、コントローラ21にオン信号を入力する。コン
トローラ21は、同リミットスイッチLSからのオン信
号に基づいてモータMの正転駆動を停止させるべく切換
回路27に対して停止信号を入力する。
The limit switch LS is electrically connected to the controller 21. When the window glass is at the fully closed position, the limit switch LS is turned on by the window glass and inputs an ON signal to the controller 21. The controller 21 inputs a stop signal to the switching circuit 27 to stop the forward rotation of the motor M based on the ON signal from the limit switch LS.

【0026】さて、上記のように構成されたパワーウイ
ンドウ装置の作用を説明する。図7はコントローラ21
が実行するパワーウインドウ装置の挟持判定制御ルーチ
ンである。この制御ルーチンはパワーウインドウ装置の
ウインドウガラス上昇を開始したときに開始され、その
後ウインドウガラス上昇中において所定時間毎に実行さ
れる。なお、ウインドウガラス上昇時において、このル
ーチンが最初に実行処理された時のみ、このルーチンで
使用する各種フラグ、タイマ、カウンタ等は初期化され
る。
Now, the operation of the power window device configured as described above will be described. FIG.
Is a pinch determination control routine of the power window device executed by the control unit. This control routine is started when the window glass of the power window device starts to be raised, and thereafter is executed at predetermined time intervals while the window glass is being raised. It should be noted that various flags, timers, counters, and the like used in this routine are initialized only when this routine is first executed when the window glass is raised.

【0027】ステップ10に入ると、コントローラ21
は、パルスセンサPSからのパルス信号Sに基づいてパ
ルス幅Pw(=Pn −1 + Pn )を読み込む(図2
参照)。次にステップ20においては、前回の制御周期
までに得たn個のパルスの平均パルス周期Paを下記式
にて算出する。
In step 10, the controller 21
Reads the pulse width Pw (= Pn-1 + Pn) based on the pulse signal S from the pulse sensor PS (FIG. 2).
reference). Next, in step 20, the average pulse cycle Pa of the n pulses obtained up to the previous control cycle is calculated by the following equation.

【0028】Pa=2(P0 +P1 +P2 +……+Pn-
2 )/(n−1 ) 次のステップ30においては、周期差分値(以下、差分
値という)ΔPaを下式にて算出する。
Pa = 2 (P0 + P1 + P2 +... + Pn-
2) / (n-1) In the next step 30, a period difference value (hereinafter referred to as a difference value) ΔPa is calculated by the following equation.

【0029】ΔPa=Pw−Pa 前記ステップ20は、平均パルス周期算出手段を構成
し、ステップ20及びステップ30は、周期差分値演算
手段を構成している。
ΔPa = Pw−Pa Step 20 constitutes an average pulse period calculating means, and steps 20 and 30 constitute a period difference value calculating means.

【0030】続くステップ40においては、得られた差
分値ΔPaをm番目の差分値として記憶部23における
RAMの所定領域に格納する。なお、前回制御周期にお
いて、m番目の差分は、今回の制御周期においては(m
−1 )番目として更新する。
In the subsequent step 40, the obtained difference value ΔPa is stored as a m-th difference value in a predetermined area of the RAM in the storage unit 23. Note that, in the previous control cycle, the m-th difference is (m
-1) Update as number.

【0031】次のステップ50において、前記ΔPaが
所定値としての判定値α(≦0)よりも以下か否かを判
定する。ΔPaが判定値αよりも大きければ、ステップ
70に移行する。又、ΔPaが判定値α以下であれば、
ステップ60に移行する。この判定値αは、実験又は試
験にて得られたものであり、予め記憶部23のROMに
格納されている。このステップ50の判定は、振動、衝
撃等によりパルス周期(パルス幅)が短くなった否かを
判別するために行うのである。
In the next step 50, it is determined whether or not the ΔPa is smaller than a predetermined value α (≦ 0) as a predetermined value. If ΔPa is larger than the determination value α, the process proceeds to step 70. If ΔPa is equal to or smaller than the determination value α,
Move to step 60. The determination value α is obtained by an experiment or a test, and is stored in the ROM of the storage unit 23 in advance. The determination in step 50 is performed to determine whether the pulse period (pulse width) has become short due to vibration, impact, or the like.

【0032】ステップ60に移行した場合には、今回の
制御周期までにRAMに格納した(m+1)個の差分値
ΔPax(x=0,1,……,m)のうち、ΔPax>
αのもののみを全て判定値のαの値に置き換える。
When the process proceeds to step 60, among the (m + 1) difference values ΔPax (x = 0, 1,..., M) stored in the RAM up to the current control cycle, ΔPax>
Only the value of α is replaced with the value of α of the judgment value.

【0033】ステップ50及び60は、本発明の補正手
段を構成している。前記ステップ60或いはステップ5
0からステップ70に移行すると、ステップ70におい
ては、下式にて差分和Psを演算する。
Steps 50 and 60 constitute the correcting means of the present invention. Step 60 or Step 5
When the process proceeds from step 0 to step 70, in step 70, the difference sum Ps is calculated by the following equation.

【0034】[0034]

【数1】 (Equation 1)

【0035】前記ステップ70は、差分和演算手段を構
成している。続くステップ80においては、差分和Ps
が「しきい値」Psth を越えているか否かを判定する。
なお、図3に示すように、「しきい値」Psth は平均パ
ルス周期Paが短い場合には、一定値を示し、平均パル
ス周期Paが長くなる(増加する)ほど大きくなる関数
とされ、予め記憶部23のROMに格納されている。ス
テップ80において、差分和Psが「しきい値」Psth
よりも小さい時は、ステップ90に移行して、モータM
の正転制御信号を出力するための正転フラグをセット
し、この制御ルーチンを一旦終了する。又、前記ステッ
プ80において、差分和Psが「しきい値」Psth 以上
の時は、ステップ100に移行して、モータMに逆転制
御信号を出力するための正転フラグをリセットし、この
制御ルーチンを一旦終了する。
Step 70 constitutes a difference sum calculating means. In the following step 80, the difference sum Ps
Is greater than the “threshold value” Psth.
As shown in FIG. 3, when the average pulse period Pa is short, the “threshold value” Psth indicates a constant value when the average pulse period Pa is short, and is a function that increases as the average pulse period Pa increases (increases). It is stored in the ROM of the storage unit 23. In step 80, the difference sum Ps is set to the “threshold value” Psth
If it is smaller, the routine goes to step 90, where the motor M
The normal rotation flag for outputting the normal rotation control signal is set, and this control routine is temporarily ended. If the difference sum Ps is equal to or greater than the "threshold value" Psth in step 80, the process proceeds to step 100 to reset a normal rotation flag for outputting a reverse rotation control signal to the motor M, and to execute this control routine. Is temporarily terminated.

【0036】コントローラ21は、前記所定のタイミン
グで実行処理される他の制御ルーチンにおいて、前記正
転フラグの状態を判定し、正転フラグがセットされてい
る場合には、切換回路27に正転制御信号を入力し、モ
ータMを正転駆動し、ガラスウインドウを上昇駆動す
る。又、正転フラグがリセットされている場合には、切
換回路27に逆転制御信号を入力して、同回路を切換接
続し、モータMを逆転駆動して、ウインドウガラスを下
降駆動する。
In another control routine executed at the predetermined timing, the controller 21 determines the state of the normal rotation flag. If the normal rotation flag is set, the controller 21 controls the switching circuit 27 to perform normal rotation. The control signal is input, the motor M is driven forward, and the glass window is driven upward. When the normal rotation flag is reset, a reverse rotation control signal is input to the switching circuit 27, the circuit is switched and connected, the motor M is driven in reverse, and the window glass is driven down.

【0037】なお、ウインドウガラスが上昇して、ウイ
ンドウガラスが全閉位置に位置した時にリミットスイッ
チLSがウインドウガラスにてオン作動した場合、コン
トローラ21にはオン信号が入力される。コントローラ
21は、同オン信号に基づいて切換回路27に対して停
止信号を入力する。この結果、モータMの正転駆動は停
止される。
When the limit switch LS is turned on by the window glass when the window glass is raised and the window glass is at the fully closed position, an ON signal is input to the controller 21. The controller 21 inputs a stop signal to the switching circuit 27 based on the ON signal. As a result, the forward drive of the motor M is stopped.

【0038】(a) さて、この実施の形態では、上昇
中のウインドウガラスにより異物が挟み込みされた場
合、パルス周期Paは増大するため、差分値ΔPaも増
大する。従って、上記挟持判定制御ルーチンにおいて、
ステップ50においては、判定値αよりも大となるた
め、同ステップにおいては「NO」と判定され、ステッ
プ70において、差分和Psは補正無の差分和として算
出される。従って、その後のステップ80においては
「しきい値」Psth よりも大となるため、同ステップ8
0では「NO」と判定され、ステップ100において正
転フラグがリセットされる。この結果、ウインドウガラ
スは逆転駆動され、挟み込みが解消されることになる。
(A) In this embodiment, when a foreign substance is caught by the rising window glass, the pulse period Pa increases and the difference value ΔPa also increases. Therefore, in the pinch determination control routine,
In step 50, the value is larger than the determination value α, so that the determination is “NO” in that step, and in step 70, the difference sum Ps is calculated as an uncorrected difference sum. Therefore, in the subsequent step 80, the value becomes larger than the "threshold value" Psth.
If it is 0, the determination is “NO”, and the normal rotation flag is reset in step 100. As a result, the window glass is driven to rotate in the reverse direction, and the entrapment is eliminated.

【0039】(b)又、この実施の形態によれば、振
動、衝撃に起因してパルス周期が変動するため、ステッ
プ50において、差分値ΔPaが判定値αよりも以下か
否かの判定により、パルス周期(パルス幅)が短くなっ
た否かを判別するようにした。
(B) Further, according to this embodiment, since the pulse period fluctuates due to vibration and impact, it is determined in step 50 whether the difference value ΔPa is smaller than the judgment value α. , It is determined whether or not the pulse period (pulse width) has become short.

【0040】そして、差分値ΔPaが判定値αよりも大
きければ、振動、衝撃によるパルス周期の変動がないも
のとして直接ステップ70にジャンプし、RAMに格納
した(m+1)個の差分値ΔPax(x=0,1,…
…,m)に基づいて差分和Psを演算するようにした。
この結果、差分和Psは補正されずに、ステップ80に
おいて、「しきい値」Psthとの比較判定が行われる
ことになる。
If the difference value ΔPa is larger than the judgment value α, it is assumed that there is no change in the pulse period due to vibration or impact, and the process directly jumps to step 70, where the (m + 1) difference values ΔPax (x = 0,1, ...
, M) to calculate the difference sum Ps.
As a result, the difference sum Ps is not corrected, and the comparison with the “threshold value” Psth is performed in step 80.

【0041】又、差分値ΔPaが判定値α以下であれ
ば、振動、衝撃によるパルス周期の変動があるものとし
てステップ60において、今回の制御周期までにRAM
に格納した(m+1)個の差分値ΔPax(x=0,
1,……,m)のうち、ΔPax>αのもののみを全て
判定値のαの値に置き換えた。この結果、ステップ70
では、置き換えられた差分値を含む、(m+1)個の差
分値ΔPaxに基づいて差分和Psが補正演算される。
そして、ステップ80においては、補正された差分和P
sと、「しきい値」Psth との比較判定が行われること
になる。
If the difference value ΔPa is equal to or smaller than the determination value α, it is determined that there is a change in the pulse cycle due to vibration and impact, and in step 60, the RAM is not changed until the current control cycle.
(M + 1) difference values ΔPax (x = 0,
1,..., M), only those of ΔPax> α were replaced with α of the determination value. As a result, step 70
Then, the difference sum Ps is corrected and calculated based on the (m + 1) difference values ΔPax including the replaced difference value.
Then, in step 80, the corrected difference sum P
s is compared with the “threshold value” Psth.

【0042】上記の差分和Psの補正有の場合と、補正
無の場合とを図4を参照して説明すると、同図に示すよ
うに補正有のPsの場合は、補正無のPsに比較してそ
の値が低くなるため、補正有のPsが「しきい値」Pst
h を越えることが抑制され、従って、誤検出が抑制され
る。
Referring to FIG. 4, a case where the above-mentioned difference sum Ps is corrected and a case where there is no correction will be described. Referring to FIG. As a result, the value of Ps with correction becomes “threshold value” Pst
Exceeding h is suppressed, and thus false detection is suppressed.

【0043】なお、図4は、α=0とした場合であっ
て、振動等により周期差分値が変化した場合の、挟持検
出を説明するため説明図であり、縦軸は各パラメータ
(Psth、ΔPa,Ps)の時間(ms)、横軸は経過
時間(t)である。
FIG. 4 is an explanatory diagram for explaining pinch detection when α = 0 and the period difference value changes due to vibration or the like. The vertical axis indicates each parameter (Psth, ΔPa, Ps) is the time (ms), and the horizontal axis is the elapsed time (t).

【0044】(c) 図5は、α=0とした場合におい
て、本実施の形態をシミレーションにて実測した場合の
結果であり、図4と同様に同図に示すように補正有のP
sの場合は、補正無のPsに比較してその値が低くなる
ため、補正有のPsが「しきい値」Psth を越えること
はない。従って、誤検出が抑制されている。なお、図5
は、振動等により周期差分値が変化した場合の、挟持検
出を説明するため説明図であり、縦軸は各パラメータ
(Psth 、ΔPa,Ps)の時間(ms)、横軸は経過
時間(t)である。
(C) FIG. 5 shows a result obtained by actually measuring the present embodiment by simulation when α = 0, and as shown in FIG.
In the case of s, since the value is lower than Ps without correction, Ps with correction does not exceed the “threshold value” Psth. Therefore, erroneous detection is suppressed. FIG.
Is an explanatory diagram for explaining pinch detection when the period difference value changes due to vibration or the like. The vertical axis represents time (ms) of each parameter (Psth, ΔPa, Ps), and the horizontal axis represents elapsed time (t). ).

【0045】(d) 又、本実施の形態では、例えば、
悪路走行時等のように連続的に振動や衝撃が生じた時に
おいても、ΔPaは変動を生ずる。従って、連続的に振
動や衝撃が生じた場合においても、有効に誤検出を抑制
できることとなる。
(D) In the present embodiment, for example,
ΔPa fluctuates even when vibrations and shocks occur continuously, such as when driving on a rough road. Therefore, even when vibration or impact occurs continuously, erroneous detection can be effectively suppressed.

【0046】(第2の実施の形態)次に、本発明の第2
の実施の形態を図6及び図8を参照して説明する。この
実施の形態では、電気的構成は前記第1の実施の形態と
同様に構成されている。
(Second Embodiment) Next, a second embodiment of the present invention will be described.
The embodiment will be described with reference to FIGS. 6 and 8. FIG. In this embodiment, the electrical configuration is the same as in the first embodiment.

【0047】図8は、コントローラ21が実行するパワ
ーウインドウ装置の挟持判定制御ルーチンの一部であ
り、前記第1の実施の形態の挟持判定制御ルーチンのス
テップ中、ステップ50と、ステップ70との間が異な
っており、他のステップは第1の実施の形態の挟持判定
制御ルーチンと同一であるためその説明を省略する。
FIG. 8 shows a part of the pinch determination control routine of the power window device executed by the controller 21. In the pinch determination control routine of the first embodiment, the steps 50 and 70 are performed. Since the steps are different, and the other steps are the same as those of the pinching determination control routine of the first embodiment, the description thereof is omitted.

【0048】なお、この制御ルーチンはパワーウインド
ウ装置のウインドウガラス上昇を開始したときに開始さ
れ、ウインドウガラス上昇中において所定時間毎に実行
される。
Note that this control routine is started when the window glass of the power window device starts to be raised, and is executed every predetermined time while the window glass is being raised.

【0049】ステップ50において、ΔPaが判定値α
以下であれば、ステップ51に移行する。又、ΔPaが
判定値αより大きければ、ステップ54に移行する。ス
テップ51に移行した場合には、履歴フラグFが「1」
にセットされているか否かを判定する。この履歴フラグ
Fは、ΔPaが判定値α以下になった状態が過去にあっ
たか否かを判別するためのフラグである。最初、この挟
持判定制御ルーチンが実行処理されたときは、履歴フラ
グFは「0」にリセットされているため、ステップ51
では「NO」と判定され、ステップ50からステップ5
2に移行する。そして、ステップ52において、履歴フ
ラグFを「1」にセットし、ステップ53に移行する。
その後の制御周期における挟持判定制御ルーチンで、ス
テップ50からステップ51に移行した場合には、履歴
フラグFは「1」にセットされているため、ステップ5
1は「YES」と判定され、ステップ53にジャンプす
る。
In step 50, ΔPa is equal to the judgment value α.
If so, the process proceeds to step 51. On the other hand, if ΔPa is larger than the determination value α, the process proceeds to step 54. When the process proceeds to step 51, the history flag F is set to “1”.
Is set. The history flag F is a flag for determining whether or not ΔPa has become equal to or smaller than the determination value α in the past. First, when the pinch determination control routine is executed, the history flag F is reset to “0”.
Is determined to be “NO”, and steps 50 to 5
Move to 2. Then, in step 52, the history flag F is set to "1", and the routine goes to step 53.
When the process proceeds from step 50 to step 51 in the pinching determination control routine in the subsequent control cycle, the history flag F is set to “1”.
1 is determined as "YES", and the routine jumps to step 53.

【0050】ステップ51又はステップ52からステッ
プ53に移行すると、同ステップ53ではタイマカウン
トt1を1つインクリメントし、ステップ70に移行す
る。従って、ステップ50において、ΔPaが判定値α
以下であれば、タイマカウンタt1が必ず1つインクリ
メントされるのである。
When the process proceeds from step 51 or 52 to step 53, the timer count t1 is incremented by one in step 53, and the process proceeds to step 70. Therefore, in step 50, ΔPa is equal to the determination value α.
If it is below, the timer counter t1 is always incremented by one.

【0051】又、前記ステップ50から、ステップ54
に移行した場合には、同ステップ54において、履歴フ
ラグFが「1」にセットされているか否かを判定する。
履歴フラグFが「1」ではなく「0」にリセットされて
いる場合には、ΔPaが判定値αを越えているため、過
去に振動、衝撃による変動はないものとして「NO」と
判定してステップ70に移行する。
Further, from step 50 to step 54
In step 54, it is determined whether or not the history flag F is set to "1".
If the history flag F is reset to “0” instead of “1”, since ΔPa exceeds the determination value α, it is determined that there is no change due to vibration or impact in the past and “NO” is determined. Move to step 70.

【0052】又、前記ステップ54において、履歴フラ
グFが「1」にセットされている場合には、過去に振
動、衝撃による変動があり、ΔPaが判定値α以下のと
きがあったことになり、「YES」と判定してステップ
55に移行する。
If the history flag F is set to "1" in step 54, it means that there has been a change due to vibration or impact in the past, and ΔPa is less than or equal to the judgment value α. , "YES", and the routine goes to step 55.

【0053】ステップ55においては、タイマカウンタ
t1が0であるか否かを判定する。タイマカウンタt1
が0でなけば、ステップ56において、タイマカウン
タt1を1つデクリメントし、ステップ57に移行す
る。ステップ57では、今回の制御周期までにRAMに
格納した(m+1)個の差分値ΔPax(x=0,1,
……,m)のうち、ΔPax>αのもののみを全て判定
値αの値に置き換え、ステップ70に移行する。
In step 55, it is determined whether or not the timer counter t1 is 0. Timer counter t1
If There Re only a zero, at step 56, the timer counter t1 is decremented by one, the process proceeds to step 57. In step 57, the (m + 1) difference values ΔPax (x = 0, 1, 1) stored in the RAM until the current control cycle are reached.
.., M), only those of ΔPax> α are replaced with the determination value α, and the process proceeds to step 70.

【0054】又、前記ステップ55において、タイマカ
ウンタt1が0であれば、ステップ58において、履歴
フラグFを「0」にリセットし、ステップ70に移行す
る。この第2の実施の形態において、ステップ50は、
第2の判定手段を構成し、又、ステップ50、ステップ
57が補正手段を構成している。
If the timer counter t1 is 0 in step 55, the history flag F is reset to "0" in step 58, and the routine goes to step 70. In this second embodiment, step 50 comprises:
The second determining means constitutes, and the steps 50 and 57 constitute the correcting means.

【0055】(e) さて、上記のように構成された第
2の実施の形態では、上記第1の実施の形態と同様に
(d)の効果を奏する。 (f) さらに、この実施の形態では、ステップ51又
はステップ52からステップ53に移行すると、同ステ
ップ53ではタイマカウントt1を1つインクリメント
し、ステップ70に移行するようにした。従って、ステ
ップ50において、ΔPaが判定値α以下であれば、タ
イマカウンタt1が必ず1つインクリメントされ、すな
わち、計時が行われる。
(E) The second embodiment configured as described above has the advantage (d) similar to the first embodiment. (F) Further, in this embodiment, when the process proceeds from step 51 or 52 to step 53, the timer count t1 is incremented by one in step 53, and the process proceeds to step 70. Therefore, in step 50, if ΔPa is equal to or smaller than the determination value α, the timer counter t1 is always incremented by one, that is, clocking is performed.

【0056】そして、その後の挟持判定制御ルーチンに
おいて、ステップ50で、ΔPaが判定値αを越えた場
合、ステップ54,55を介してステップ56に移行
し、同ステップ56では過去の制御周期の挟持判定制御
ルーチンにおいて計時されたタイマカウントt1の値を
デクリメントすることになる。
Then, in the subsequent pinching judgment control routine, if ΔPa exceeds the judgment value α in step 50, the process proceeds to step 56 via steps 54 and 55, and in step 56, the pinching of the past control cycle is performed. The value of the timer count t1 counted in the determination control routine is decremented.

【0057】従って、このデクリメントによりタイマカ
ウンタt1が0となるまでの所定時間としての期間t1
の間において実行処理される各挟持判定制御ルーチンで
は、ステップ57において、今回の制御周期までにRA
Mに格納した(m+1)個の差分値ΔPax(x=0,
1,……,m)のうち、ΔPax>αのもののみを全て
判定値αの値に置き換えられて、ステップ70に移行す
る。すなわち、t1の期間中は、ステップ70での差分
和Psの算出は、補正された差分和Psとなる。
Accordingly, the period t1 as a predetermined time until the timer counter t1 becomes 0 due to this decrement.
In each of the pinch determination control routines executed during the period, in step 57, RA
(M + 1) difference values ΔPax (x = 0,
1,..., M), only those of ΔPax> α are replaced with the determination value α, and the process proceeds to step 70. That is, during the period of t1, the calculation of the difference sum Ps in step 70 is the corrected difference sum Ps.

【0058】この結果、ステップ70の後のステップ8
0においては、補正された差分和Psと、「しきい値」
Psthとの比較判定が行われることとなる。従って、
前記第1の実施の形態と同様に補正有のPsの場合は、
補正無のPsに比較してその値が低くなるため、補正有
のPsが「しきい値」Psth を越えることが抑制され、
従って、誤検出が抑制される。
As a result, step 8 after step 70
At 0, the corrected difference sum Ps and the “threshold value”
A comparison with Psth will be made. Therefore,
In the case of Ps with correction, as in the first embodiment,
Since the value becomes lower than Ps without correction, Ps with correction does not exceed the “threshold value” Psth,
Therefore, erroneous detection is suppressed.

【0059】(g) 図6は、α=0とした場合におい
て、本実施の形態をシミレーションにて実測した場合の
結果であり、同図に示すように補正有のPsの場合は、
補正無のPsに比較してその値が低くなるため、補正有
のPsが「しきい値」Psthを越えることが抑制され、
誤検出が抑制されている。なお、図6は、振動等により
周期差分値が変化した場合の、挟持検出を説明するため
説明図であり、縦軸は各パラメータ(Psth 、ΔPa,
Ps)の時間(ms)、横軸は経過時間(t)である。
(G) FIG. 6 shows a result obtained by actually measuring the present embodiment by simulation when α = 0, and as shown in FIG.
Since the value is lower than Ps without correction, Ps with correction does not exceed “threshold” Psth,
False detection is suppressed. FIG. 6 is an explanatory diagram for explaining pinch detection when the period difference value changes due to vibration or the like. The vertical axis indicates each parameter (Psth, ΔPa,
Ps) is the time (ms), and the horizontal axis is the elapsed time (t).

【0060】なお、この発明の実施の形態は前記実施の
形態に限定されるものではなく、下記のようにすること
も可能である。 (イ) 前記第2の実施の形態では、差分値ΔPaが判
定値α以下のときの時間(T1)をカウントするように
し、次に差分値ΔPaが判定値αを越えた時に、そのカ
ウントしたt1の期間、差分値ΔPaxのうち判定値α
を越えるもののみ、判定値αに置き換えるようにした。
この代わりに差分値ΔPaが判定値α以下の時間(T
1)をカウントして、その継続時間が、所定の継続時間
を越えた場合に、次に差分値ΔPaが判定値αを越えた
時に、一定時間の間だけ差分値のうち判定値αを越える
もののみ、判定値αに置き換えるようにしてもよい。
The embodiment of the present invention is not limited to the above-described embodiment, but may be as follows. (A) In the second embodiment, the time (T1) when the difference value ΔPa is equal to or smaller than the judgment value α is counted, and when the difference value ΔPa exceeds the judgment value α, the counting is performed. During the period of t1, the determination value α of the difference value ΔPax
Only those exceeding the threshold value are replaced with the judgment value α.
Instead, the time (T
1) is counted, and when the continuation time exceeds a predetermined continuation time, and when the difference value ΔPa exceeds the criterion value α, the criterion value α of the difference value exceeds the criterion value α for a certain period of time. May be replaced with the determination value α.

【0061】[0061]

【0062】[0062]

【発明の効果】以上詳述したように、請求項1乃至3の
発明によれば、振動、衝撃等の要因により、パルス周期
が変動し、パルス周期の短いパルスが発生した場合、パ
ルス周期変動パラメータの補正処理を行うことにより、
挟み込みの誤検出を抑制することができる優れた効果を
奏する。
As described above in detail, according to the first to third aspects of the present invention, when the pulse period fluctuates due to vibration, impact, or the like, and a pulse having a short pulse period is generated, the pulse period fluctuation By performing parameter correction processing,
An excellent effect of suppressing erroneous detection of entrapment is achieved.

【0063】又、特に、本発明によれば、悪路走行時に
おいて、連続してパルス変動が生じた際に、誤検出を回
避できる効果がある。
In particular, according to the present invention, there is an effect that erroneous detection can be avoided when a continuous pulse fluctuation occurs on a rough road.

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

【図1】本発明における第1の実施の形態のパワーウイ
ンドウ装置の電気回路図。
FIG. 1 is an electric circuit diagram of a power window device according to a first embodiment of the present invention.

【図2】同じくパルス信号の説明図。FIG. 2 is an explanatory diagram of a pulse signal.

【図3】差分和Psと周期平均値Paと、しきい値との
関係を示す説明図。
FIG. 3 is an explanatory diagram showing a relationship between a difference sum Ps, a periodic average value Pa, and a threshold value.

【図4】振動等により周期差分値が変化した場合の、挟
持検出を説明するため説明図。
FIG. 4 is an explanatory diagram for explaining pinch detection when a period difference value changes due to vibration or the like.

【図5】第1の実施の形態における実測した場合の説明
図。
FIG. 5 is an explanatory diagram in the case of actual measurement in the first embodiment.

【図6】第2の実施の形態における実側した場合の説明
図。
FIG. 6 is an explanatory diagram in the case of a real side according to the second embodiment.

【図7】第1の実施の形態における挟持判定制御ルーチ
ンを示すフローチャート。
FIG. 7 is a flowchart illustrating a sandwiching determination control routine according to the first embodiment;

【図8】第2の実施の形態における挟持判定制御ルーチ
ンを示すフローチャート。
FIG. 8 is a flowchart illustrating a sandwiching determination control routine according to the second embodiment.

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

21…周期差分値演算手段、差分和演算手段、第1及び
第2の判定手段、カウント手段及び補正手段を構成する
コントローラ、22…演算部、23…記憶部、27…駆
動回路としての切換回路。
21: controller constituting a period difference value calculating means, difference sum calculating means, first and second determining means, counting means and correcting means, 22: calculating section, 23: storage section, 27: switching circuit as drive circuit .

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平7−286477(JP,A) 特開 平8−260810(JP,A) 特開 平6−280446(JP,A) 実公 平5−12464(JP,Y2) (58)調査した分野(Int.Cl.7,DB名) E05F 15/00 B60J 1/00 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-7-286477 (JP, A) JP-A-8-260810 (JP, A) JP-A-6-280446 (JP, A) 12464 (JP, Y2) (58) Fields investigated (Int. Cl. 7 , DB name) E05F 15/00 B60J 1/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ウインドウガラスを開閉駆動させるモー
タ(M)に対して電源電圧を供給する駆動回路(27)
と、 前記モータ(M)の回転速度に相対したパルス周期(P
n-1+Pn)のパルス信号(S)を入力し、その時々の
パルス信号(S)のパルス周期(Pn-1+Pn)を求
め、予め定めた過去の複数個のパルス周期(P0 〜Pn
-2)とで平均パルス周期(Pa)を求め、その平均パル
ス周期(Pa)とその時のパルス周期(Pn-1+Pn)
とで周期差分値(△Pa)を求める周期差分値演算手段
(21)と、 前記周期差分値演算手段(21)にて算出されたその時
の差分値と、予め定めた過去の複数個の差分値との総和
である差分和を算出する差分和演算手段(21)と、 前記差分和所定のしきい値と比較することにより、ウ
ィンドウガラスの閉動作時において該ガラスにものが挟
持されたかどうかを判定し、挟持されている時には前記
駆動回路(27)を介して前記モータ(M)を反転駆動
させる第1の判定手段(21)とを備えたウィンドウガ
ラスの挟持有無検出装置において、 その時の周期差分値が所定値(α)以下のときは、差分
和を補正する補正手段を備えたウインドウガラスの挟持
有無検出装置。
A drive circuit (27) for supplying a power supply voltage to a motor (M) for opening and closing a window glass.
And a pulse period (P) corresponding to the rotation speed of the motor (M).
n-1 + Pn), a pulse period (Pn-1 + Pn) of the pulse signal (S) at each time is obtained, and a plurality of predetermined past pulse periods (P0 to Pn) are obtained.
-2) to determine the average pulse period (Pa), the average pulse period (Pa) and the pulse period at that time (Pn-1 + Pn)
A period difference value calculating means (21) for calculating a period difference value (△ Pa) with the above, a difference value at that time calculated by the period difference value calculating means (21), and a plurality of predetermined past differences A sum-of-difference calculating means (21) for calculating a sum of differences with the value, and comparing the sum of the differences with a predetermined threshold value to determine whether or not an object has been pinched by the glass during the closing operation of the window glass A first determining means (21) for inverting and driving the motor (M) via the driving circuit (27) when the sheet is being held; When the period difference value is equal to or smaller than a predetermined value (α), a window glass sandwiching detection device including a correction unit that corrects the difference sum.
【請求項2】 補正手段は、差分和演算手段が算出する
ために、周期差分値演算手段(21)にて算出されたそ
の時の差分値と、予め定めた過去の複数個の差分値との
うち、前記所定値(α)を越えるもののみ、所定値
(α)に置き換えるものである請求項1に記載のウイン
ドウガラスの挟持有無検出装置。
2. The correction means calculates a difference between the difference value at that time calculated by the periodic difference value calculation means (21) and a plurality of predetermined difference values in the past in order to calculate by the difference sum calculation means. 2. The window glass sandwiching detection device according to claim 1, wherein only those exceeding the predetermined value (α) are replaced with the predetermined value (α).
【請求項3】 請求項1において、周期差分値が所定値
以下か否かを判定する第2の判定手段周期差分値が所定値以下のときの継続時間(t1)をカ
ウントするカウント手段(21)を備え、 補正手段は、周期差分値が所定値以下から所定値以上に
変化したとき、前記カウント手段(21)がカウントし
た継続時間(t1)に相当する時間の間、差分和演算手
段が算出するために、周期差分値演算手段(21)にて
算出されたその時の差分値と、予め定めた過去の複数個
の差分値とのうち、前記所定値(α)を越えるものの
み、所定値(α)に置き換えるものであるウインドウガ
ラスの挟持有無検出装置。
3. A method according to claim 1, wherein said second determining means determines whether or not the period difference value is equal to or less than a predetermined value, and a duration (t1) when the period difference value is equal to or less than the predetermined value.
A counting means (21) for counting, wherein the correcting means changes the period difference value from a predetermined value to a predetermined value.
When it changes, the counting means (21) counts
During the time corresponding to the continuation time (t1)
In order to calculate the stage, the period difference value calculating means (21)
The calculated difference value at that time and a plurality of predetermined past values
Of the difference values exceeding the predetermined value (α)
The window guard which is to be replaced with the predetermined value (α)
A device for detecting the presence or absence of a lath.
JP33375996A 1996-12-13 1996-12-13 Window glass pinch detection device Expired - Fee Related JP3349053B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33375996A JP3349053B2 (en) 1996-12-13 1996-12-13 Window glass pinch detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33375996A JP3349053B2 (en) 1996-12-13 1996-12-13 Window glass pinch detection device

Publications (2)

Publication Number Publication Date
JPH10169315A JPH10169315A (en) 1998-06-23
JP3349053B2 true JP3349053B2 (en) 2002-11-20

Family

ID=18269648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33375996A Expired - Fee Related JP3349053B2 (en) 1996-12-13 1996-12-13 Window glass pinch detection device

Country Status (1)

Country Link
JP (1) JP3349053B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4802381B2 (en) * 2000-08-30 2011-10-26 アイシン精機株式会社 Opening and closing body pinching detection device
JP3924548B2 (en) 2003-04-22 2007-06-06 株式会社東海理化電機製作所 Window glass pinching presence / absence detection device
JP4510409B2 (en) * 2003-08-01 2010-07-21 株式会社東海理化電機製作所 Window glass clamping presence / absence detection device
JP4781868B2 (en) * 2005-03-30 2011-09-28 アスモ株式会社 Opening / closing member control device
JP4579757B2 (en) * 2005-04-18 2010-11-10 アスモ株式会社 Opening / closing member control device
JP2007009573A (en) * 2005-06-30 2007-01-18 Omron Corp Opening/closing control device
JP4781127B2 (en) 2006-02-24 2011-09-28 オムロンオートモーティブエレクトロニクス株式会社 Electric motor control device
JP7208857B2 (en) * 2019-05-14 2023-01-19 トーソー株式会社 Solar radiation shielding device control device, solar radiation shielding device control method, and solar radiation shielding device control program

Also Published As

Publication number Publication date
JPH10169315A (en) 1998-06-23

Similar Documents

Publication Publication Date Title
JP4679341B2 (en) Opening / closing member control device
JP4896471B2 (en) Opening / closing member control device and pinching detection method
KR20040091587A (en) Window glass obstruction detector
JP3349053B2 (en) Window glass pinch detection device
JP3582267B2 (en) Window opening and closing control device
JPH06327279A (en) Electrically driven device
JP4448621B2 (en) Window glass clamping presence / absence detection device
JP2942127B2 (en) Power window drive control device
JP4781868B2 (en) Opening / closing member control device
JP2005054408A (en) Detector for pinching of window glass
JP3657671B2 (en) Motor drive control device
JPH0932414A (en) Window opening/closing control device
JP2003041856A (en) Detecting method for foreign matter caught by opening and closing member and detecting device for foreign matter caught by opening and closing member
JP3597369B2 (en) Foreign object trapping detection device for opening / closing member
JP3211927B2 (en) Power window jam detector
JP3411189B2 (en) Window glass pinch detection device
JP3283165B2 (en) Motor drive control device
JP4422358B2 (en) Window glass pinching presence / absence detection device
JPH1054175A (en) Control device of power window regulator for vehicle
JP3860282B2 (en) Wind glass clamping presence / absence detection device
JPH08260811A (en) Position detecting apparatus for moving body
JP5596911B2 (en) Opening / closing member control device
JPH1122299A (en) Pulse signal compensation method and detector of existence of holding of window pane
JPH0595694A (en) Switching device for vehicle
JP3762410B2 (en) Foreign matter pinching detection device for opening / closing member

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees