JP4295423B2 - Window glass clamping presence / absence detection device - Google Patents

Window glass clamping presence / absence detection device Download PDF

Info

Publication number
JP4295423B2
JP4295423B2 JP2000283362A JP2000283362A JP4295423B2 JP 4295423 B2 JP4295423 B2 JP 4295423B2 JP 2000283362 A JP2000283362 A JP 2000283362A JP 2000283362 A JP2000283362 A JP 2000283362A JP 4295423 B2 JP4295423 B2 JP 4295423B2
Authority
JP
Japan
Prior art keywords
pulse
determination
period
predetermined value
cycle
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
JP2000283362A
Other languages
Japanese (ja)
Other versions
JP2002089134A (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 JP2000283362A priority Critical patent/JP4295423B2/en
Publication of JP2002089134A publication Critical patent/JP2002089134A/en
Application granted granted Critical
Publication of JP4295423B2 publication Critical patent/JP4295423B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stopping Of Electric Motors (AREA)
  • Power-Operated Mechanisms For Wings (AREA)
  • Window Of Vehicle (AREA)
  • Motor And Converter Starters (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ウインドウガラスの挟持有無検出装置に関するものである。
【0002】
【従来の技術】
従来、車両には、ウインドウガラスをモータ等の駆動力によって昇降させるパワーウインドウ装置を備えたものがある。このパワーウインドウ装置では、各ドアに設けられたスイッチの操作によってモータを駆動し、ウインドウガラスを昇降させるようになっている。
【0003】
ところで、このようなパワーウインドウ装置は、挟まれ防止機能を備えているものが多い。詳述すると、この挟まれ防止機能は、ウインドウガラスが閉動作を行っている途中において、該ガラスと窓枠の間に例えば異物が挟まって、それ以上の閉動作が不能となったとき、制御回路がその挟まりを検出して、ウインドウガラスを逆方向たる開く方向に動作させて挟まった異物を開放させるものである。
【0004】
この異物が挟まったことの検出には、例えば、パルス検知方式がある。パルス検知方式は、ウインドウガラスを開閉するモータの回転速度を検出する。そして、その検出速度に比例した周期のパルス信号を生成することによって行われる。このパルスの周期(モータの回転速度)の変動を利用して制御回路では挟まれ検出が行われる。
【0005】
詳述すると、ウインドウガラスが異物を挟持して、モータに過負荷が掛かった場合は、同モータの回転速度が低下する。それに伴い、生成されるパルスのパルス周期は順次長くなっていく。このとき、制御回路は、連続するパルス周期を計測し、そのパルス変化率を比較して、所定値以上の変化(例えば、直前波形の周期の2倍の変化)があったと判断すると、挟まれを判断する。
【0006】
【発明が解決しようとする課題】
ところが、ウインドウガラスが異物を挟持し始めた初期、即ち、モータに過負荷が掛かり始めた当初の状態では、モータの回転が低下していく割合が小さい。このため、モータの回転から検出されるパルスのパルス周期の変動が小さく、制御回路では連続するパルス周期を比較した際に、所定値以上の変化があったと判断しない。その結果、ウインドウガラスによる挟まれを早期に検出することは困難であるという問題があった。
【0007】
そこで、この挟まれ検出を早期に行うために、パルス変化率が小さい状態、即ち、過負荷が小さい状態でも挟まれを検出するように設定することも考えられる。しかし、このようにした場合、モータの回転ブレによるパルス変動、又は、パルスのチャタリング等によって、ウインドウガラスが異物を挟持していないにも関わらず、制御回路が挟まれを検出する誤作動が生じるおそれがある。
【0008】
本発明は上記問題点を解決するためになされたものであり、その目的は、ウインドウガラスによる挟まれを高精度、且つ早期に検出できるウインドウガラスの挟持有無検出装置を提供することにある。
【0009】
【課題を解決するための手段】
上記問題点を解決するために、請求項1に記載の発明は、ウインドウガラスを開閉動作するためのウインドウスイッチと、前記ウインドウガラスを開閉動作させるモータと、そのモータを正逆回転駆動させる駆動回路と、前記ウインドウスイッチからの操作信号に従って前記モータを駆動するとともに、前記ウインドウガラスによる挟まれが発生した際に前記モータの駆動を停止又は逆転する挟まれ防止機能を有する駆動制御手段とを備えるウインドウガラスの挟持有無検出装置において、モータの回転に応じてパルス信号を発生させるパルス発生手段と、パルス信号の周期(以下、現在周期という)を検出する検出手段と、前記検出手段によって検出されたパルス信号の現在周期と、少なくとも2以上の所定パルス前におけるパルス周期(以下、過去周期という)とを比較し、現在周期が所定値より大きい増分があった際に挟まれを判定する判定手段を備え、前記所定値は、第1所定値と第2所定値とを含み、前記判定手段は、現在周期と過去周期とを比較して、第1所定値よりも大きい増分があるか否かを判定する一次判定を行い、第1所定値よりも増分があるとの一次判定後においては、前記過去周期を基準周期とし、前記現在周期より少なくとも2パルス後に検出された現在周期(以下、第2の現在周期という)と基準周期とを比較して、第2所定値よりも大きい増分がある場合に二次判定として挟まれを判定することを要旨とする。
【0010】
請求項2に記載の発明は、請求項1において、前記判定手段は、パルス信号の所定数毎に区別されるグループについて交互に判定を行い、前記判定手段は、第1所定値よりも増分があるとの一次判定後においては、該一次判定にて第1所定値よりも増分があると判定した際に用いた過去周期を各グループについての判定に共通の基準周期とし、その共通の基準周期と、第2の現在周期とを比較して、二次判定を行うことを要旨とする。
【0011】
請求項3に記載の発明は、請求項1において、前記判定手段は、パルス信号の所定数毎に区別されるグループについて交互に判定を行い、前記判定手段は、第1所定値よりも増分があるとの一次判定後においては、該一次判定にて第1所定値よりも増分があると判定したグループについての次回の判定に際して、該一次判定にて第1所定値よりも増分があると判定した際に用いた過去周期を該グループの基準周期とし、その基準周期と、第2の現在周期とを比較して、二次判定を行うことを要旨とする。
【0012】
請求項4に記載の発明は、請求項1乃至請求項3のうちいずれか1項において、前記判定手段が、二次判定で所定パルス経過内で第2の現在周期が前記基準周期から第2所定値より大きい増分がないという判定結果を出した際に、前記基準周期に関する情報をキャンセルする取り消し手段を備えたことを要旨とする。
【0013】
(作用)
請求項1の発明によれば、判定手段は、検出手段にて検出されたパルス信号の現在周期を、少なくとも2パルス以上前の過去周期と比較して、挟まれの判断要素である所定値以上の増分があったか否かの判定をする。このため、挟まれが発生した場合、連続するパルス信号の周期を比較する従来よりも周期の変化量は大きく、判定手段が誤判定をしない程度の大きな周期の増分は早期に検出される。
【0014】
ここに、判定手段は、一次判定で現在周期が過去周期と比較して第1所定値より大きい増分があった後、二次判定で、現在周期より少なくとも2パルス後に検出された第2の現在周期が基準周期と設定される過去周期と比較して第2所定値より大きい増分があった際にめて挟まれと判定する。従って、1つの過去周期に対して、現在周期の判定作業は2度行われるため、挟まれ検出は高精度に行われる。
【0015】
請求項の発明によれば、一次判定後において、判定手段は、第2の現在周期を共通の基準周期と比較して二次判定を行うため、二次判定を交互に行う際に1つの基準周期に対して連続して挟まれの判定が行われる。従って、高速な挟まれ検出が可能となる。
【0016】
請求項の発明によれば、一次判定後において、判定手段は、第2の現在周期をグループ毎に個別に設定した基準周期と比較して二次判定を行うため、二次判定を交互に行う際に第2の現在周期を取り込む時点とそれぞれの基準周期の時点とのインターバルが広がり、第2の現在周期の変化量がはっきりする。従って、更に高精度に挟まれ検出は行われる。
請求項4の発明によれば、一次判定後に、基準周期に設定された過去周期がいつまでも保持されることはなく、状況に応じた新しい基準周期を設定できる。なお、後述する本発明の各実施形態及び各別例において、奇数グループ用、偶数グループ用及び共通警告フラグが基準周期に関する情報に相当し、コントローラ11が取り消し手段に相当する。また、所定パルス経過内は、本発明の各実施形態では3回以内である。
【0017】
【発明の実施の形態】
(第1実施形態)
以下、本発明を車両のサイドドアのパワーウインドウ装置に具体化した一実施形態を図1〜図4に従って説明する。
【0018】
図1はパワーウインドウ装置の電気的構成を示すブロック図である。
同図において、駆動制御手段、検出手段及び判定手段としてのコントローラ11は演算部12及び記憶部13を備えている。演算部12は各種の演算を行うようにされている。又、記憶部13は演算部12による演算結果等を記憶する書き換え可能なメモリ部(RAM)と、各種制御プログラムを記憶する読み出し専用のメモリ部(ROM)とを備えている。
【0019】
下降スイッチ、上昇スイッチ、自動操作スイッチ(オートスイッチ)からなるウインドウスイッチとしてのパワーウインドウスイッチ15は、入力回路16を介してコントローラ11に接続されている。パワーウインドウスイッチ15は、図3に示すようにドア17の内側面に設けられている。前記上昇スイッチはウインドウガラス18を閉まる方向(上方)に作動させるためのスイッチであり、下降スイッチはウインドウガラス18を開く方向(下方)に作動させるためのスイッチである。両スイッチは、2段クリック式であり揺動型のパワーウインドウスイッチ15を選択的に切換操作、即ち、一側側(ダウン側)若しくは他側側(アップ側)を一段押圧することにより、オン・オフ操作される。
【0020】
また、前記オートスイッチは、パワーウインドウスイッチ15のダウン側若しくはアップ側を2段押圧する操作に基づいてウインドウガラス18を全開・全閉状態に作動させるためのスイッチである。
【0021】
一方、ウインドウガラス18を上昇又は下降させるためのモータとしての駆動モータ19は、直流モータから構成され、駆動回路としてのドライブ・切換回路20を介して前記コントローラ11に接続されている。前記ドライブ・切換回路20は、コントローラ11からの駆動制御信号に基づいて、駆動モータ19に対して駆動電源の供給又は停止を行うと共に正転又は逆転を行うための回路を切り換える。即ち、前記上昇・下降スイッチの操作信号たるアップ若しくはダウン信号に基づくコントローラ11からの制御駆動信号に応答して、ドライブ・切換回路20は駆動モータ19を駆動させ、ウインドウガラス18を上昇又は下降させるようになっている。
【0022】
前記駆動モータ19の近傍には、パルス発生手段としてのパルスセンサ22が配設されている。このパルスセンサ22は入力回路23を介してコントローラ11に接続されており、駆動モータ19の駆動(回転)に応じてパルス信号(以下、単に「パルス」という)をコントローラ11へ出力するようになっている。そして、駆動モータ19の回転速度に比例したパルス周期の長短に基づいて、コントローラ11ではウインドウガラス18の挟まれを検出する。一般に、モータの回転速度が速いとパルス周期は短く、反対に遅いとパルス周期は長くなり、このパルス周期の変動を利用している。
【0023】
また、本実施形態では、パルスセンサ22からコントローラ11へ連続して入力されるパルスは、判定フラグにて交互に「奇数グループ」若しくは「偶数グループ」とコントローラ11の演算部12に判定されるようになっている。なお、判定フラグが「0」のときに、「奇数グループ」と判断され、判定フラグが「1」のときに「偶数グループ」と判断されるようになっている。勿論逆に設定することも可能である。
【0024】
前記コントローラ11には、リミットスイッチ24が入力回路25を介して接続されている。そして、前記ウインドウガラス18がその移動可能な範囲の全閉位置または全開位置に到達したときは、前記リミットスイッチ24がオンされて、そのオン信号がコントローラ11に出力されるようになっている。そして、そのオン信号に基づいてコントローラ11からドライブ・切換回路20に制御信号が出力され、駆動モータ19の駆動は停止されるようになっている。
【0025】
次に、上記のように構成されたパワーウインドウ装置における挟まれ防止機能を発揮する挟まれ検出について図2に示すフローチャートに基づいて説明する。このフローチャートは、アップ信号を入力すると、起動する。すなわち、パワーウインドウスイッチ15からコントローラ11に操作信号たるアップ信号が入力されると、コントローラ11の演算部12は、パルスセンサ22から入力されたパルスが「奇数グループ」であるか否かを判定する(ステップ(以下、「S」と略す。)101)。換言すれば、判定フラグが「0」であるか否かを判定する。ここで、前記判定フラグは初期値は、リセットして「0」になっている。そして、判定フラグが「0」であった(即ち、「奇数グループ」であった。)と判断すると(S101がYES)、S102に進む。
【0026】
なお、以下、このS102の処理から、後述するS110に至るまでの処理を「奇数グループルーチン」という。そして、この奇数グループルーチンと、後述する偶数グループルーチンを行うコントローラ11が判定手段に相当する。
【0027】
前記S102において、演算部12は、今回入力されたパルスのパルス周期(以下、「現在周期」という。)P2n+1を計測し、その値を記憶部13のRAMに一時的に記憶させS103に進む。
【0028】
次いで、S103では、演算部12は、パルスが後述する挟まれ警告状態であるか否かを示す奇数グループ用警告フラグが「0」であるか否かを判定する(S103)。演算部12が前記奇数グループ用警告フラグがセットされていない、即ちフラグが「0」であると判断すると(S103がYES)、S104に進む。そして、S104にて現在周期P2n+1と、予め記憶部13のRAMに記憶されていた「奇数グループ」における1つ前のパルス周期、即ち、連続するパルスにおける2つ前のパルス周期(以下、「過去周期」という。)P2(n-1)+1とを比較する。即ち、演算部12は、現在周期P2n+1から第1所定値Kを引いた値が過去周期P2(n-1)+1以下か否かを判定する(以下、「一次判定」という。)。なお、前記第1所定値Kは、挟まれ警告状態を判定するための定数で、実験値より決定される。
【0029】
前記一次判定にて演算部12が現在周期P2n+1から第1所定値Kを引いた値が過去周期P2(n-1)+1以下(P2(n-1)+1≧P2n+1−K)である(S104がYES)と判断した場合は、S105に進む。即ち、このとき、現在周期P2n+1は、過去周期P2(n-1)+1と比較して、減少していたり、一定であったり、増分があっても、挟まれの警告域の範囲であると判断するに至らないほどのものであったということを示している。
【0030】
一方、前記一次判定にて演算部12が現在周期P2n+1から第1所定値Kを引いた値が過去周期P2(n-1)+1よりも大きい(P2(n-1)+1<P2n+1−K、即ちS104がNO)と判断した際は、S106を経由してS105に進む。即ち、このとき、現在周期P2n+1は、過去周期P2(n-1)+1と比較して、挟まれの警告域である位の増分を見せているということを示している。この結果、演算部12は、S106において、奇数グループ用警告フラグを「1」にセットする。それと共に、演算部12は現在周期P2n+1の比較元となる2パルス前(即ち、所定パルス前)の過去周期P2(n-1)+1を基準値(即ち、基準周期)Pconst (o)と設定して、記憶部13のRAMに一時的に記憶させる。
【0031】
そして、奇数グループルーチンを終えたS105において、演算部12は現在のウインドウガラス18が全閉位置であるか否かを判定する。即ち、リミットスイッチ24らのオン信号がコントローラ11に入力されたか否かを判定する。前記演算部12がリミットスイッチ24からのオン信号を確認して、ウインドウガラス18が全閉位置であると判断した場合は(S105がYES)、奇数グループ用警告フラグを「0」にリセットしてこの処理を終了する。なお、このとき、後述の偶数グループ用警告フラグも「0」にリセットする。
【0032】
一方、リミットスイッチ24からのオン信号が入力されていない場合、即ち、ウインドウガラス18が全閉位置でない場合は(S105がNO)、演算部12は判定フラグを「1」にセットしてS101に戻る。
【0033】
又、前記S103において、演算部12が奇数グループ用警告フラグが「1」にセットされていると判断すると(S103がNO)、S107に進む。即ち、このとき、所定数前のパルスにおける現在周期P2n+1が挟まれの警告域である位の増分を見せていると判断され、その比較元となった過去周期P2(n-1)+1が基準値Pconst (o)に設定されている場合である。
【0034】
そして、S107においては、演算部12は、現在周期P2n+1から第2所定値Krev を引いた値が基準値Pconst (o)より大きいか否かを判定する(以下、「二次判定」という)。なお、前記第2所定値Krev は、挟まれ確定状態を判定するための定数で、実験値より決定されており、前記第1所定値Kよりも大きく設定されている。又、現在周期P2n+1が比較する前記基準値Pconst (o)は、少なくとも4パルス前のパルス周期のことである。
【0035】
前記二次判定において、演算部12が現在周期P2n+1から第2所定値Krev を引いた値が基準値Pconst (o)より大きい(Pconst (o)<P2n+1−Krev 、S107がYES)と判断した場合は、S108に進む。即ち、このとき、現在周期P2n+1は、基準値Pconst (o)から挟まれと確定される位の増分があり、パルス周期が次第に増加するように変動していることになる。
【0036】
この結果、S108では、演算部12は挟まれを判断して、ウインドウガラス18を停止又は逆転動作(開く方向への動作)をするようにドライブ・切換回路20に制御信号を出力する。
【0037】
一方、前記二次判定にて演算部12が現在周期P2n+1から第2所定値Krev を引いた値が基準値Pconst (o)以下(Pconst (o)≧P2n+1−Krev )である(S107がNO)と判断(以下、「非挟まれ判断」という。)した場合は、S109に進む。即ち、このとき、現在周期P2n+1は、基準値Pconst (o)と比較して増分がなかったり、増分があっても挟まれを確定するまでは至っていない。
【0038】
そして、S109において、演算部12は、前記非挟まれ判断がパルス3回分連続して行われたか否かを判定する。演算部12が、今回の非挟まれ判断が3回目であると判断すると(S109がYES)、S110に進み、奇数グループ用警告フラグを「0」にリセットして、前述したS105に進む。一方、演算部12が、前記非挟まれ判断が、まだ3回連続して行われていないと判断すると、今回の非挟まれ判断の回数をカウントし、RAMに一時的に記憶させて、前記S105に進む。
【0039】
次に、S101にて、判定フラグが「1」であり、演算部12が、入力されたパルスを「偶数グループ」であると判断した場合について説明する。
尚、演算部12にて入力されたパルスが「偶数グループ」と判断された場合の処理においては、既に説明した奇数グループルーチンと同一処理又は相当する処理については、その番号を二百番台とし、下二桁に同一番号を付しその説明を省略する。そして、以下、奇数グループルーチンに対応するS202の処理から、S210に至るまでの処理を「偶数グループルーチン」という。
【0040】
この偶数グループルーチンでは、現在周期はP2n、過去周期はP2(n-1)、基準値はPconst (e)と表記される。また、警告フラグは偶数グループ用警告フラグとなる。一方、第1及び第2所定値K、Krev は奇数グループルーチンと同一値が設定されている。
【0041】
又、偶数グループルーチンを進んだ後、S105にて、演算部12にてS101に戻る判断(S105がNO)がなされた場合は、判定フラグは「0」にリセットされる。従って、ウインドウガラス18がその移動範囲で移動し、パルスが繰り返しコントローラ11に入力される中で、同コントローラ11は奇数グループルーチンと偶数グループルーチンにて交互に判定処理を繰り返す。このため、本実施形態においては、「パルス信号の所定数毎」は各パルス毎となる。
【0042】
ここで、前記奇数グループルーチンと偶数グループルーチンではそれぞれ個別に基準値Pconst (o),Pconst (e)が設定される。これに基づく演算部12の挟まれ判断について、図4に示すタイミングチャートと図2に示すフローチャートに基づいて具体的に説明する。
【0043】
なお、図4におけるタイミングチャートはウインドウガラス18によって、異物が挟まれた状態を示す。そして、任意のパルスp2までパルス周期が一定であって(即ち、偶数グループ用、奇数グループ用警告フラグは共に「0」。)、パルスp3からのパルス周期が順次長くなり、パルスp5にて挟まれが判断される場合とする。また、パルスp1とパルスp3のパルス周期P1 ,P3 の間、及びパルスp2とパルスp4のパルス周期P2 ,P4 の間には、P1 <P3 −K、P2 <P4 −Kが満たされている。さらに、パルスp1とパルスp5のパルス周期P1 ,P5 の間には、P1 =Pconst (o)<P5 −Krev が満たされている。
【0044】
前記パルスp3(奇数グループ)の入力時においては、S101,S102,S103,S104,S106と進み、奇数グループルーチンのS106にて、奇数グループ用警告フラグが「1」に設定される。その一方で、パルスp1のパルス周期P1 が基準値Pconst (o)として設定される。その後、S105へ進みS101に戻る。
【0045】
このとき、偶数グループ用警告フラグはまだ、「0」のままであり、パルスp4(偶数グループ)の入力時において、偶数グループルーチンにおけるS207には進まない。即ち、S101,S202,S203,S204,S206と進み、偶数グループルーチンにおいても、S206にて偶数グループ用警告フラグが「1」に設定される。そして、パルスp2のパルス周期P2 が基準値Pconst (e)として設定される。その後、S105へ進みS101へ戻る。
【0046】
次いで、パルスp5(奇数グループ)の入力時においては、S101,S102,S103,S107と進む。そして、パルスp5のパルス周期P5 は、基準値Pconst (o)、即ち、4パルス前のパルス周期P1 と比較され、演算部12に挟まれと判断される(S108)。
【0047】
ここで、もし、パルスp5とパルスp1とがP1=Pconst (o)<P5 −Krev を満たしておらず、挟まれが判断されない場合は、S107からS109,S105と進み、S101に戻る。そして、次のパルスp6(偶数グループ)の入力時において、S101,S202,S203,S207と進み、パルス周期P6 が基準値Pconst (e)(即ちP2 )と比較される。このようにして、各基準値Pconst (o),Pconst (e)に対してはそれぞれ2パルス毎(即ち、所定パルス毎)に挟まれ確定状態か否かの比較作業は行われる。
【0048】
従って、上記実施形態によれば、以下のような効果を得ることができる。
(1)上記実施形態では、奇数グループルーチン及び偶数グループルーチン共に、演算部12は現在周期P2n+1,P2nを2つ前のパルスにおける過去周期P2(n-1)+1,P2(n-1)と比較して、挟まれの警告域であるか否かをまず判定し、その後のパルス周期P2n+1,P2nを少なくとも4パルス前におけるパルス周期である基準値Pconst (o),Pconst (e)と比較して挟まれが確定したか否かを判定する。このため、連続したパルス周期に基づいてその変化率を比較する従来と異なり、挟まれが発生している場合においては、検出されたパルス周期を複数パルス前のパルス周期と比較することによりその変化量は大きく現れる。従って、駆動モータ19の回転ブレ等の影響によって演算部12が誤判断をしない程度の大きなパルス周期の増分も早期に検出できる。
【0049】
(2)上記実施形態では、繰り返し入力されるパルスのパルス周期が基準値Pconst (o),Pconst (e)に対して、第1所定値K及び第2所定値Krev より大きい増分を検出した際に演算部12は挟まれと判断する。従って、挟まれと判断されるまでに2度パルス周期の判定作業が行われるため、パルスのチャタリング等にも影響されず高精度に挟まれ検出ができる。
【0050】
(3)上記実施形態では、奇数グループルーチンと偶数グループルーチンでそれぞれ個別に基準値Pconst (o),Pconst (e)を設定したため、演算部12が、挟まれが確定したか否かを判定する場合、少なくとも4つ前のパルスにおけるパルス周期と比較することになる。そして、その後各基準値Pconst (o),Pconst (e)に対してそれぞれ2パルス毎に判定作業が行われる。従って、挟まれが発生している場合、その変化量ははっきりとし、更に高精度に異物の挟まれ検出ができる。
【0051】
(4)上記実施形態では、奇数用又は偶数用警告フラグがセットされた場合において、非挟まれ判断が3パルス分連続した場合は、前記警告フラグがリセットされるようにした。このため、基準値Pconst (o),Pconst (e)と設定されたパルス周期がいつまでも保持されることはなく、状況に応じた新しい基準値Pconst (o),Pconst (e)を設定できる。
【0052】
(5)上記実施形態では、挟まれた初期での挟まれ検出を、連続したパルス周期に基づいて比較するよりも変化量が大きい複数個前のパルスのパルス周期と比較するという簡単な判断方法で容易に実現できる。
【0053】
(第2実施形態)
本発明の第2実施形態を図5及び図6に基づいて説明する。
尚、第2実施形態においては、既に説明した第1実施形態の構成と同一構成又は相当する構成については、同一番号を付しその説明を省略する。そして、本第2実施形態において、第1実施形態と異なる部分は、挟まれ検出処理の奇数グループルーチン及び偶数グループルーチンにおける基準値及び警告フラグについてである。
【0054】
詳述すると、本実施形態においては、図5に示すように、奇数グループルーチン及び偶数グループルーチンにおけるS106及びS206にて共通基準値(共通の基準周期)Pconst が設定されるようになっている。換言すれば、奇数グループルーチンのS106又は偶数グループルーチンのS206のうち何れか一方で設定された共通基準値Pconst は、他方のルーチンのS207又はS107でも用いられるようになっている。このため、警告フラグも共通警告フラグとして、共通化してセットまたはリセットされる。
【0055】
ここで、前記共通基準値Pconst に基づく演算部12の挟まれ判断について、図6に示すタイミングチャート及び図5に示すフローチャートに基づいて具体的に説明する。
【0056】
なお、図6におけるタイミングチャートはウインドウガラス18によって、異物が挟まれた状態を示す。そして、任意のパルスp2までパルス周期が一定であって(即ち、共通警告フラグは「0」。)、パルスp3からのパルス周期が順次長くなり、パルスp4にて挟まれが判断される場合とする。また、パルスp1とパルスp3のパルス周期P1 ,P3 の間には、P1 <P3 −Kが満たされている。さらに、パルスp1とパルスp4のパルス周期P1 ,P4 の間には、P1 =Pconst <P4 −Krev が満たされている。
【0057】
前記パルスp3(奇数グループ)の入力時においては、S101,S102,S103,S104,S106と進み、奇数グループルーチンのS106にて共通警告フラグが「1」に設定される。そして、パルスp1のパルス周期P1 が共通基準値Pconst として設定される。その後、S105へ進みS101に戻る。
【0058】
すると、パルスp4(偶数グループ)の入力時において、共通警告フラグが「1」に設定されているため、偶数グループルーチンにおいて、S101,S202,S203と進んだ後S207に進む。そして、パルスp4のパルス周期P4 は、共通基準値Pconst 、即ち、3パルス前のパルス周期P1 と比較され、演算部12に挟まれが判断される(S208)。
【0059】
ここで、もし、パルスp4とパルスp1とがP1=Pconst (o)<P4 −Krev を満たしておらず、挟まれが判断されない場合は、S207からS209,S105と進み、S101に戻る。そして、次のパルスp5(奇数グループ)の入力時において、S101,S102,S103,S107と進み、パルス周期P5 が共通基準値Pconst (即ちP1 )と比較される。このようにして、共通基準値Pconst に対しては各パルス毎に挟まれ確定状態か否かの判定動作が行われる。
【0060】
従って、本第2実施形態によれば、前記第1の実施形態における(1)、(2)、(4)、(5)に記載の効果に加えて、以下のような効果を得ることができる。尚、前記第1実施形態における(1)、(2)、(4)、(5)に記載の効果において基準値Pconst (o),Pconst (e)は、第2実施形態においては共通基準値Pconst と置き換えられ、(1)における「少なくとも4つ前」は「少なくとも3つ前」となる。
【0061】
(6)上記実施形態では、奇数グループルーチンと偶数グループルーチンにおいて、何れか一方のルーチンで、2パルス前のパルス周期と比較して第1所定値Kより大きい増分が検出された際には、共通基準値Pconst を設定して、同基準値Pconst に対して、他方のルーチンにて第2所定値Krev より大きい増分が検出されるか否かが判定される。従って、奇数グループルーチンと偶数グループルーチンで個別に基準値を設定する場合と比較して、同一の基準値Pconst に対して、連続するパルス毎に挟まれ確定状態か否かの判定が行われるため、高速な挟まれ検出が可能となる。
【0062】
(7)上記実施形態では、奇数グループルーチン又は偶数グループルーチンの何れか一方で共通警告フラグがセットされた場合、その時に設定された共通基準値Pconst に、その後のパルスのパルス周期が比較される。従って、従来のように、連続したパルスにおける徐々に変化するパルス変化率を比較して、挟まれを検出する場合に比べて、挟まれ判断が容易にできる。
【0063】
なお、上記各実施形態は以下のように変更してもよい。
・上記第1及び第2実施形態では、ウインドウガラス18が全開又は全閉位置に配置された際は、リミットスイッチ24からのオン信号にて前記各位置に配置されたことを判断したが、前記リミットスイッチ24を設けなくてもよい。このようにした場合は、コントローラ11で、パルスセンサ22から入力されるパルスをカウントし、そのカウント数に基づいてウインドウガラス18の位置を検出するようにする。そして、前記カウント数と、予め全開及び全閉に基づいてROMに記憶されたパルス数と比較してウインドウガラスの全閉及び全開位置を判断するようにする。
【0064】
・上記第1及び第2実施形態では、コントローラ11に入力されるパルスを奇数グループと偶数グループに区別し、挟まれ警告状態を判定するために2つ前のパルスと比較したが、例えば3つ前や4つ前等のパルスと比較するようにしてもよい。このようにした場合は、グループの数も2つではなく、更に増やすことも可能である。なお、グループ数を2つでなく3つや4つに分けて警告状態を判定する場合は、判定フラグを用いずに以下のような処理にてグループ分けを行う。即ち、コントローラ11にてパルスセンサ22から入力されるパルスをカウントし、そのカウント数を所定数(例えば、3つのグループに分けるならば3)で割る。そして、その余り値に基づいて各グループに分ける処理を行う。なお、上記第1及び第2実施形態においても、この処理を行って、パルスを偶数グループと奇数グループに分けてもよい。
【0065】
・上記第1及び第2実施形態では、演算部12にて挟まれと判断されるまでに同一のパルス周期を基準として、異なる所定値K,Krev にて一次判定との二次字判定の2回判定作業が行われたが、異なる所定値にて3回以上判定作業を行ってもよい。この場合、一次判定が2回となる。このようにすれば、更に高精度に挟まれ検出を行うことができる。また、前記一次判定を行わずに、挟まれ判定のみを行うようにしてもよい。
【0066】
・上記第1及び第2実施形態では、警告フラグがセットされている状態において、非挟まれ判断が、パルス3回分連続した場合に、前記警告フラグがリセットされるようにしていたが、3回に限定することはなく、勿論2回や4回でもよいし、他の回数でもよい。
【0067】
・上記第1及第2実施形態では、各パルスの入力毎に演算部12は奇数又は偶数グループルーチンにて、一次判定及び二次判定を行ったが、例えば、2パルス毎、3パルス毎に前記各ルーチンにて交互に前記判定作業を行ってもよい。
【0068】
・上記第1及び第2実施形態では、本発明を車両のサイドドアのパワーウインドウ装置に具体化したが、車両の天井面に設けられる電動のスライドルーフを含むスライドルーフ装置に具体化してもよい。このようにしても、本発明は、異物の挟持が有り得るスライドルーフに対して効果的に用いられる。尚、このようにした場合は前記スライドルーフがウインドウガラスに相当する。
【0071】
【発明の効果】
以上詳述したように、請求項1の発明によれば、ウインドウガラスによる挟まれを高精度、且つ早期に検出できる。
【0072】
また、判定手段は、1つのパルス周期に対して、現在周期の判定作業を2度行うため、挟まれ検出をより高精度に行うことができる。
【0073】
請求項の発明によれば、請求項の発明の効果に加えて、一次判定後において、判定手段は、第2の現在周期を共通の基準周期と比較して挟まれ判定を行うため、基準周期に対して連続して挟まれ判定が行われ、高速な挟まれ検出ができる。
【0074】
請求項の発明によれば、請求項の発明の効果に加えて、一次判定後において判定手段は、第2の現在周期をグループ毎に個別に設定した基準周期と比較して挟まれ判定を行うため、第2の現在周期を取り込む時点とそれぞれの基準周期の時点とのインターバルが広がり、第2の現在周期の変化量がはっきりし、更に高精度に挟まれ検出を行うことができる。
請求項4の発明によれば、請求項1乃至請求項3のうちいずれか1項の発明の効果に加えて、一次判定後に、基準周期に設定された過去周期がいつまでも保持されることはなく、状況に応じた新しい基準周期を設定できる。
【図面の簡単な説明】
【図1】第1実施形態におけるパワーウインドウ装置の電気的構成を示すブロック図。
【図2】同じく挟まれ検出処理を示すフローチャート。
【図3】同じく車両のドアを示す概略図。
【図4】同じくパルスセンサからのパルス状態等を示すタイミングチャート。
【図5】第2実施形態における挟まれ検出処理を示すフローチャート。
【図6】同じくパルスセンサからのパルス状態等を示すタイミングチャート。
【符号の説明】
11…コントローラ(駆動制御手段、検出手段、判定手段、取り消し手段)、15…パワーウインドウスイッチ(ウインドウスイッチ)、18…ウインドウガラス、19…駆動モータ(モータ)、20…ドライブ・切換回路(駆動回路)、22…パルスセンサ(パルス発生手段)。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a sandwiching detection device for window glass.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, some vehicles include a power window device that raises and lowers a window glass by a driving force such as a motor. In this power window device, a motor is driven by operating a switch provided on each door to raise and lower the window glass.
[0003]
By the way, many of such power window devices have a pinching prevention function. Specifically, this pinching prevention function is controlled when, for example, a foreign object is caught between the glass and the window frame during the closing operation of the window glass, and further closing operation becomes impossible. The circuit detects the pinching and operates the window glass in the opening direction which is the reverse direction to release the pinched foreign matter.
[0004]
For example, there is a pulse detection method for detecting that the foreign object is caught. The pulse detection method detects the rotational speed of the motor that opens and closes the window glass. And it is performed by producing | generating the pulse signal of the period proportional to the detection speed. Detection is performed by the control circuit using fluctuations in the pulse period (motor rotation speed).
[0005]
More specifically, when the window glass pinches foreign matter and the motor is overloaded, the rotational speed of the motor decreases. Along with this, the pulse period of the generated pulses becomes longer sequentially. At this time, the control circuit measures consecutive pulse periods, compares the pulse change rates, and determines that there is a change greater than a predetermined value (for example, a change twice the period of the immediately preceding waveform). Judging.
[0006]
[Problems to be solved by the invention]
However, in the initial stage when the window glass starts to hold the foreign object, that is, the initial state where the motor starts to be overloaded, the rate at which the rotation of the motor decreases is small. For this reason, the fluctuation of the pulse period of the pulse detected from the rotation of the motor is small, and the control circuit does not determine that there has been a change greater than a predetermined value when comparing successive pulse periods. As a result, there is a problem that it is difficult to detect pinching by the window glass at an early stage.
[0007]
Therefore, in order to detect this pinching at an early stage, it may be set to detect pinching even in a state where the pulse change rate is small, that is, in a state where the overload is small. However, in this case, a malfunction occurs in which the control circuit detects pinching even though the window glass does not pinch foreign matter due to pulse fluctuations due to rotation blur of the motor or pulse chattering. There is a fear.
[0008]
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a window glass pinching presence / absence detection device capable of detecting pinching by a window glass with high accuracy and at an early stage.
[0009]
[Means for Solving the Problems]
  In order to solve the above problems, the invention according to claim 1 is directed to a window switch for opening and closing a window glass, a motor for opening and closing the window glass, and a drive circuit for driving the motor to rotate forward and backward. When,The windowDriving the motor in accordance with an operation signal from the switch, and driving control means having a pinching prevention function for stopping or reversing the driving of the motor when pinching by the window glass occurs. In the detection device, pulse generation means for generating a pulse signal according to the rotation of the motor, detection means for detecting a cycle of the pulse signal (hereinafter referred to as current cycle), and current cycle of the pulse signal detected by the detection means And at least two or more pulse periods before a predetermined pulse (hereinafter referred to as a past period), and a determination means for determining pinching when the current period is larger than a predetermined valueThe predetermined value includes a first predetermined value and a second predetermined value, and the determination unit determines whether there is an increment greater than the first predetermined value by comparing the current period and the past period. After the primary determination that there is an increase from the first predetermined value, the past period is set as a reference period, and the current period (hereinafter referred to as the second period) detected at least two pulses after the current period is determined. (Referred to as the current cycle) and the reference cycle, and if there is an increment greater than the second predetermined value, it is determined as a secondary determinationThis is the gist.
[0010]
  The invention described in claim 2In Claim 1, the said determination means performs determination alternately about the group distinguished for every predetermined number of pulse signals, and after the primary determination that the said determination means has an increment from a 1st predetermined value, The past period used when it is determined that there is an increment from the first predetermined value in the primary determination is set as a reference period common to the determination for each group, and the common reference period and the second current period are Compare and make secondary decisionThis is the gist.
[0011]
  The invention according to claim 3In Claim 1, the said determination means performs determination alternately about the group distinguished for every predetermined number of pulse signals, and after the primary determination that the said determination means has an increment from a 1st predetermined value, In the next determination for the group that has been determined to have an increment from the first predetermined value in the primary determination, the past cycle used when the primary determination has been determined to have an increase from the first predetermined value is the A secondary determination is made by comparing the reference period with the second current period as the group reference period.This is the gist.
[0012]
  The invention according to claim 44. The determination according to claim 1, wherein the determination unit determines that the second current cycle has no increment greater than a second predetermined value from the reference cycle within a predetermined pulse in the secondary determination. When a result is obtained, a canceling means for canceling the information on the reference period is provided.This is the gist.
[0013]
(Function)
According to the first aspect of the present invention, the determination means compares the current cycle of the pulse signal detected by the detection means with a past cycle that is at least two pulses before, and is greater than or equal to a predetermined value that is a sandwiched determination element. It is determined whether or not there has been an increment. For this reason, when pinching occurs, the amount of change in the period is larger than in the prior art in which the periods of successive pulse signals are compared, and a large period increment that does not cause erroneous determination is detected early.
[0014]
  here,In the primary determination, the current period is larger than the first predetermined value compared to the past period, and then the secondary determination is performed.A second detected at least two pulses after the current periodWhen the current cycle is larger than the second predetermined value compared to the reference cycle and the set previous cycleFirstIt is determined that it is pinched. Therefore, since the determination operation of the current cycle is performed twice for one past cycle, the sandwiched detection is performed with high accuracy.
[0015]
  Claim2According to the invention, after the primary determination, SizeThe fixing means isSecondSince secondary determination is performed by comparing the current period with a common reference period, determinations sandwiched between one reference period are performed when secondary determinations are alternately performed. Therefore, it is possible to detect pinching at high speed.
[0016]
  Claim3According to the invention, after the primary determination, SizeThe fixing means isSecondCurrent cycleFor each groupWhen performing secondary determination alternately because secondary determination is performed in comparison with individually set reference cycles.SecondThe interval between the time when the current cycle is captured and the time of each reference cycle is widened.SecondThe amount of change in the current cycle is clear. Therefore, the detection is performed with higher accuracy.
According to the invention of claim 4, after the primary determination, the past cycle set as the reference cycle is not kept indefinitely, and a new reference cycle can be set according to the situation. In each embodiment and each other example of the present invention described later, the odd group, even group, and common warning flags correspond to information related to the reference period, and the controller 11 corresponds to cancellation means. Further, the predetermined pulse lapse is within 3 times in each embodiment of the present invention.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
Hereinafter, an embodiment in which the present invention is embodied in a power window device for a side door of a vehicle will be described with reference to FIGS.
[0018]
FIG. 1 is a block diagram showing an electrical configuration of the power window device.
In the figure, a controller 11 as a drive control means, a detection means, and a determination means includes a calculation unit 12 and a storage unit 13. The calculation unit 12 performs various calculations. In addition, the storage unit 13 includes a rewritable memory unit (RAM) that stores calculation results and the like by the calculation unit 12 and a read-only memory unit (ROM) that stores various control programs.
[0019]
A power window switch 15 as a window switch including a descending switch, an ascending switch, and an automatic operation switch (auto switch) is connected to the controller 11 via an input circuit 16. The power window switch 15 is provided on the inner side surface of the door 17 as shown in FIG. The raising switch is a switch for operating the window glass 18 in the closing direction (upward), and the lowering switch is a switch for operating the window glass 18 in the opening direction (downward). Both switches are two-stage click type, and can be turned on by selectively switching the oscillating power window switch 15, that is, by pressing one side (down side) or the other side (up side) one step.・ It is turned off.
[0020]
The auto switch is a switch for operating the window glass 18 in a fully open / fully closed state based on an operation of pressing the down side or the up side of the power window switch 15 in two steps.
[0021]
On the other hand, a drive motor 19 as a motor for raising or lowering the window glass 18 is composed of a DC motor, and is connected to the controller 11 via a drive / switching circuit 20 as a drive circuit. Based on a drive control signal from the controller 11, the drive / switch circuit 20 supplies or stops drive power to the drive motor 19 and switches a circuit for normal rotation or reverse rotation. That is, in response to a control drive signal from the controller 11 based on an up / down switch operation signal, the drive / switch circuit 20 drives the drive motor 19 to raise or lower the window glass 18. It is like that.
[0022]
In the vicinity of the drive motor 19, a pulse sensor 22 as a pulse generating means is disposed. The pulse sensor 22 is connected to the controller 11 via the input circuit 23 and outputs a pulse signal (hereinafter simply referred to as “pulse”) to the controller 11 in accordance with the drive (rotation) of the drive motor 19. ing. Based on the length of the pulse period proportional to the rotational speed of the drive motor 19, the controller 11 detects the pinching of the window glass 18. In general, when the rotation speed of the motor is high, the pulse cycle is short, and on the contrary, when the motor is slow, the pulse cycle becomes long, and the fluctuation of the pulse cycle is used.
[0023]
In the present embodiment, the pulses continuously input from the pulse sensor 22 to the controller 11 are alternately determined by the calculation unit 12 of the controller 11 as “odd number group” or “even number group” by the determination flag. It has become. When the determination flag is “0”, it is determined as “odd number group”, and when the determination flag is “1”, it is determined as “even number group”. Of course, the reverse setting is also possible.
[0024]
A limit switch 24 is connected to the controller 11 via an input circuit 25. When the window glass 18 reaches the fully closed position or the fully opened position within the movable range, the limit switch 24 is turned on, and the on signal is output to the controller 11. Based on the ON signal, a control signal is output from the controller 11 to the drive / switching circuit 20, and the drive of the drive motor 19 is stopped.
[0025]
Next, pinch detection that exhibits the pinch prevention function in the power window device configured as described above will be described based on the flowchart shown in FIG. This flowchart starts when an up signal is input. That is, when an up signal, which is an operation signal, is input from the power window switch 15 to the controller 11, the calculation unit 12 of the controller 11 determines whether or not the pulse input from the pulse sensor 22 is an “odd number group”. (Step (hereinafter abbreviated as “S”) 101). In other words, it is determined whether or not the determination flag is “0”. Here, the initial value of the determination flag is reset to “0”. When it is determined that the determination flag is “0” (that is, “odd group”) (YES in S101), the process proceeds to S102.
[0026]
  Hereinafter, the process from S102 to S110 described later is referred to as an “odd group routine”. The controller 11 performs the odd group routine and the even group routine described later.IsIt corresponds to the fixed means.
[0027]
In S102, the calculation unit 12 measures the pulse period (hereinafter referred to as “current period”) P2n + 1 of the pulse input this time, temporarily stores the value in the RAM of the storage unit 13, and causes the process to proceed to S103. move on.
[0028]
Next, in S103, the arithmetic unit 12 determines whether or not the odd group warning flag indicating whether or not a pulse is in a warning state described later is “0” (S103). If the arithmetic unit 12 determines that the odd group warning flag is not set, that is, the flag is “0” (YES in S103), the process proceeds to S104. In S104, the current period P2n + 1 and the previous pulse period in the “odd group” stored in the RAM of the storage unit 13 in advance, that is, the previous two pulse periods (hereinafter, It is referred to as “past period”.) Compare with P2 (n−1) +1. That is, the calculation unit 12 determines whether or not a value obtained by subtracting the first predetermined value K from the current cycle P2n + 1 is equal to or less than the past cycle P2 (n-1) +1 (hereinafter referred to as “primary determination”). . The first predetermined value K is a constant for determining a warning state by being caught and is determined from an experimental value.
[0029]
A value obtained by subtracting the first predetermined value K from the current period P2n + 1 in the primary determination is equal to or less than the past period P2 (n-1) +1 (P2 (n-1) + 1≥P2n + 1- K) (S104 is YES), the process proceeds to S105. That is, at this time, even if the current period P2n + 1 is decreased, constant, or incremented as compared with the past period P2 (n-1) +1, the range of the warning area that is sandwiched It was shown that it was something that could not be judged.
[0030]
On the other hand, the value obtained by subtracting the first predetermined value K from the current cycle P2n + 1 in the primary determination is larger than the past cycle P2 (n-1) +1 (P2 (n-1) +1 < If it is determined that P2n + 1-K, that is, S104 is NO), the process proceeds to S105 via S106. In other words, at this time, the current cycle P2n + 1 shows an increase in the number of warning areas between the current cycle P2n + 1 and the past cycle P2 (n-1) +1. As a result, the arithmetic unit 12 sets the odd group warning flag to “1” in S106. At the same time, the calculation unit 12 uses the past period P2 (n-1) +1 two pulses before (that is, before a predetermined pulse) as a comparison source of the current period P2n + 1 as a reference value (that is, a reference period) Pconst (o ) And temporarily stored in the RAM of the storage unit 13.
[0031]
  And in S105 which finished odd-numbered group routine, the calculating part 12 determines whether the present window glass 18 is a fully closed position. That is, the limit switch 24OrIt is determined whether or not an ON signal is input to the controller 11. When the arithmetic unit 12 confirms the ON signal from the limit switch 24 and determines that the window glass 18 is in the fully closed position (YES in S105), the odd group warning flag is reset to “0”. This process ends. At this time, an even group warning flag, which will be described later, is also reset to “0”.
[0032]
On the other hand, when the ON signal from the limit switch 24 is not input, that is, when the window glass 18 is not in the fully closed position (S105 is NO), the calculation unit 12 sets the determination flag to “1” and proceeds to S101. Return.
[0033]
In S103, if the arithmetic unit 12 determines that the odd group warning flag is set to "1" (S103 is NO), the process proceeds to S107. In other words, at this time, it is determined that the current period P2n + 1 in the predetermined number of previous pulses is showing an increment of a warning area, and the past period P2 (n-1) + as a comparison source is shown. This is a case where 1 is set to the reference value Pconst (o).
[0034]
In S107, the calculation unit 12 determines whether or not the value obtained by subtracting the second predetermined value Krev from the current cycle P2n + 1 is greater than the reference value Pconst (o) (hereinafter referred to as “secondary determination”). ). The second predetermined value Krev is a constant for determining a pinched state, is determined from an experimental value, and is set larger than the first predetermined value K. The reference value Pconst (o) to be compared with the current period P2n + 1 is a pulse period at least 4 pulses before.
[0035]
In the secondary determination, the value obtained by subtracting the second predetermined value Krev from the current period P2n + 1 by the calculation unit 12 is greater than the reference value Pconst (o) (Pconst (o) <P2n + 1−Krev, S107 is YES). If it is determined, the process proceeds to S108. That is, at this time, the current period P2n + 1 has an increment that is determined to be sandwiched from the reference value Pconst (o), and fluctuates so that the pulse period gradually increases.
[0036]
As a result, in S108, the arithmetic unit 12 determines that the window 12 is caught, and outputs a control signal to the drive / switching circuit 20 so as to stop or reversely rotate the window glass 18 (operation in the opening direction).
[0037]
On the other hand, the value obtained by subtracting the second predetermined value Krev from the current period P2n + 1 in the secondary determination is equal to or less than the reference value Pconst (o) (Pconst (o) ≧ P2n + 1−Krev) ( If it is determined that S107 is NO (hereinafter, referred to as “not pinched”), the process proceeds to S109. That is, at this time, the current period P2n + 1 does not have an increment compared to the reference value Pconst (o), or even if there is an increment, the current period P2n + 1 has not yet reached the point of being pinched.
[0038]
In S109, the calculation unit 12 determines whether or not the non-pinch determination has been continuously performed for three pulses. If the calculation unit 12 determines that the current non-pinch determination is the third time (YES in S109), the process proceeds to S110, the odd group warning flag is reset to “0”, and the process proceeds to S105 described above. On the other hand, when the calculation unit 12 determines that the non-pinch determination has not been performed three times in succession, the calculation unit 12 counts the number of non-pinch determinations this time and temporarily stores it in the RAM. The process proceeds to S105.
[0039]
Next, a case where the determination flag is “1” and the calculation unit 12 determines that the input pulse is “even number group” in S101 will be described.
In addition, in the process when the pulse input by the calculation unit 12 is determined as “even number group”, the same or equivalent process as the already described odd group routine is set to the number in the hundreds. The same number is assigned to the last two digits, and the description thereof is omitted. Hereinafter, the processing from S202 corresponding to the odd group routine to S210 is referred to as “even number group routine”.
[0040]
In this even-numbered group routine, the current cycle is expressed as P2n, the past cycle is expressed as P2 (n-1), and the reference value is expressed as Pconst (e). The warning flag is an even group warning flag. On the other hand, the first and second predetermined values K and Krev are set to the same values as in the odd group routine.
[0041]
Further, after proceeding through the even group routine, in S105, if the calculation unit 12 determines to return to S101 (S105 is NO), the determination flag is reset to “0”. Accordingly, while the window glass 18 moves within the moving range and pulses are repeatedly input to the controller 11, the controller 11 repeats the determination process alternately in the odd group routine and the even group routine. For this reason, in the present embodiment, “every predetermined number of pulse signals” is every pulse.
[0042]
Here, the reference values Pconst (o) and Pconst (e) are set individually in the odd group routine and the even group routine. Based on this, the sandwiching judgment of the arithmetic unit 12 will be specifically described based on the timing chart shown in FIG. 4 and the flowchart shown in FIG.
[0043]
The timing chart in FIG. 4 shows a state in which foreign matter is sandwiched between the window glasses 18. The pulse period is constant up to an arbitrary pulse p2 (that is, both the even-group and odd-group warning flags are “0”), and the pulse period from the pulse p3 is sequentially increased and sandwiched by the pulse p5. Suppose this is judged. Further, P1 <P3-K and P2 <P4-K are satisfied between the pulse periods P1, P3 of the pulse p1 and the pulse p3 and between the pulse periods P2, P4 of the pulse p2 and the pulse p4. Further, P1 = Pconst (o) <P5−Krev is satisfied between the pulse periods P1 and P5 of the pulse p1 and the pulse p5.
[0044]
When the pulse p3 (odd group) is input, the process proceeds to S101, S102, S103, S104, and S106, and the odd group warning flag is set to “1” in S106 of the odd group routine. On the other hand, the pulse period P1 of the pulse p1 is set as the reference value Pconst (o). Then, it progresses to S105 and returns to S101.
[0045]
At this time, the even group warning flag is still “0” and does not proceed to S207 in the even group routine when the pulse p4 (even group) is input. That is, the process proceeds to S101, S202, S203, S204, and S206, and even in the even group routine, the even group warning flag is set to “1” in S206. The pulse period P2 of the pulse p2 is set as the reference value Pconst (e). Then, it progresses to S105 and returns to S101.
[0046]
Next, when the pulse p5 (odd number group) is input, the process proceeds to S101, S102, S103, and S107. The pulse period P5 of the pulse p5 is compared with the reference value Pconst (o), that is, the pulse period P1 four pulses before, and it is determined that it is sandwiched between the arithmetic units 12 (S108).
[0047]
Here, if the pulse p5 and the pulse p1 do not satisfy P1 = Pconst (o) <P5−Krev and it is not determined that the pinch is sandwiched, the process proceeds from S107 to S109 and S105, and returns to S101. When the next pulse p6 (even number group) is input, the process proceeds to S101, S202, S203, and S207, and the pulse period P6 is compared with the reference value Pconst (e) (that is, P2). In this way, the reference values Pconst (o) and Pconst (e) are respectively sandwiched every two pulses (that is, every predetermined pulse) and a comparison operation is performed to determine whether or not they are in a definite state.
[0048]
Therefore, according to the above embodiment, the following effects can be obtained.
(1) In the above embodiment, in both the odd group routine and the even group routine, the calculation unit 12 sets the current periods P2n + 1 and P2n to the past periods P2 (n-1) +1 and P2 (n- In comparison with 1), it is first determined whether or not it is a warning area, and the subsequent pulse periods P2n + 1 and P2n are set to reference values Pconst (o) and Pconst (Pconst (o) which are pulse periods at least four pulses before. Compared with e), it is determined whether or not pinching has been confirmed. For this reason, unlike the conventional case in which the rate of change is compared based on successive pulse periods, if pinching occurs, the change is detected by comparing the detected pulse period with the pulse period before multiple pulses. The quantity appears big. Accordingly, it is possible to detect an increase in a large pulse period at an early stage so that the calculation unit 12 does not make an erroneous determination due to the influence of rotational vibration of the drive motor 19 or the like.
[0049]
(2) In the above embodiment, when the pulse period of the repeatedly input pulse is detected to be larger than the first predetermined value K and the second predetermined value Krev with respect to the reference values Pconst (o) and Pconst (e). It is determined that the calculation unit 12 is sandwiched between the two. Therefore, since the determination operation of the pulse period is performed twice before it is determined that the object is pinched, detection can be performed with high accuracy without being affected by pulse chattering or the like.
[0050]
(3) In the above embodiment, since the reference values Pconst (o) and Pconst (e) are individually set in the odd group routine and the even group routine, the calculation unit 12 determines whether or not the pinching is confirmed. If this is the case, it will be compared with the pulse period of at least four previous pulses. Then, determination work is performed every two pulses for each of the reference values Pconst (o) and Pconst (e). Therefore, when pinching has occurred, the amount of change is clear and foreign object pinching can be detected with higher accuracy.
[0051]
(4) In the above embodiment, when the warning flag for odd number or even number is set, the warning flag is reset when the judgment is made for 3 pulses without being caught. Therefore, the pulse periods set as the reference values Pconst (o) and Pconst (e) are not held indefinitely, and new reference values Pconst (o) and Pconst (e) according to the situation can be set.
[0052]
(5) In the above-described embodiment, a simple determination method of comparing the pinching detection at the initial stage of pinching with the pulse periods of a plurality of previous pulses having a larger change amount than the comparison based on the continuous pulse period. Can be realized easily.
[0053]
(Second Embodiment)
A second embodiment of the present invention will be described with reference to FIGS.
Note that in the second embodiment, the same or corresponding components as those in the first embodiment described above are denoted by the same reference numerals and description thereof is omitted. In the second embodiment, the difference from the first embodiment is the reference value and warning flag in the odd group routine and the even group routine of the sandwiched detection process.
[0054]
More specifically, in this embodiment, as shown in FIG. 5, the common reference value (common reference period) Pconst is set in S106 and S206 in the odd group routine and the even group routine. In other words, the common reference value Pconst set in either S106 of the odd group routine or S206 of the even group routine is also used in S207 or S107 of the other routine. For this reason, the warning flag is also commonly set or reset as a common warning flag.
[0055]
Here, the pinching determination of the calculation unit 12 based on the common reference value Pconst will be specifically described based on the timing chart shown in FIG. 6 and the flowchart shown in FIG.
[0056]
The timing chart in FIG. 6 shows a state in which foreign matter is sandwiched between the window glasses 18. Then, the pulse period is constant up to an arbitrary pulse p2 (that is, the common warning flag is “0”), the pulse period from the pulse p3 becomes longer sequentially, and it is determined that the pulse p4 is caught. To do. Further, P1 <P3-K is satisfied between the pulse periods P1 and P3 of the pulse p1 and the pulse p3. Further, P1 = Pconst <P4−Krev is satisfied between the pulse periods P1 and P4 of the pulse p1 and the pulse p4.
[0057]
When the pulse p3 (odd group) is input, the process proceeds to S101, S102, S103, S104, and S106, and the common warning flag is set to “1” in S106 of the odd group routine. The pulse period P1 of the pulse p1 is set as the common reference value Pconst. Then, it progresses to S105 and returns to S101.
[0058]
Then, since the common warning flag is set to “1” when the pulse p4 (even number group) is input, in the even number group routine, the process proceeds to S101, S202, S203, and then proceeds to S207. Then, the pulse period P4 of the pulse p4 is compared with the common reference value Pconst, that is, the pulse period P1 three pulses before, and it is determined that it is sandwiched between the arithmetic units 12 (S208).
[0059]
Here, if the pulse p4 and the pulse p1 do not satisfy P1 = Pconst (o) <P4−Krev, and it is not determined that the pinch is sandwiched, the process proceeds from S207 to S209 and S105, and returns to S101. When the next pulse p5 (odd number group) is input, the process proceeds to S101, S102, S103, and S107, and the pulse period P5 is compared with the common reference value Pconst (ie, P1). In this way, the common reference value Pconst is sandwiched for each pulse and a determination operation is performed to determine whether or not it is in a definite state.
[0060]
Therefore, according to the second embodiment, in addition to the effects described in (1), (2), (4), and (5) in the first embodiment, the following effects can be obtained. it can. In the effects described in (1), (2), (4), and (5) in the first embodiment, the reference values Pconst (o) and Pconst (e) are common reference values in the second embodiment. It is replaced with Pconst, and “at least 4 previous” in (1) becomes “at least 3 previous”.
[0061]
(6) In the above embodiment, when an increment larger than the first predetermined value K is detected in either one of the odd group routine and the even group routine in comparison with the pulse period two pulses before, A common reference value Pconst is set, and it is determined whether or not an increment larger than the second predetermined value Krev is detected in the other routine with respect to the reference value Pconst. Therefore, as compared with the case where the reference values are individually set in the odd group routine and the even group routine, it is determined whether the same reference value Pconst is sandwiched between successive pulses or not. High-speed pinching can be detected.
[0062]
(7) In the above embodiment, when the common warning flag is set in either the odd group routine or the even group routine, the pulse period of the subsequent pulse is compared with the common reference value Pconst set at that time. . Therefore, as compared with the conventional case, the determination of pinching can be made easier than in the case where the pinching is detected by comparing the pulse change rate which gradually changes in continuous pulses.
[0063]
In addition, you may change each said embodiment as follows.
In the first and second embodiments, when the window glass 18 is disposed at the fully open or fully closed position, it is determined that the window glass 18 is disposed at each position by an ON signal from the limit switch 24. The limit switch 24 may not be provided. In this case, the controller 11 counts the pulses input from the pulse sensor 22 and detects the position of the window glass 18 based on the counted number. Then, the fully closed and fully opened positions of the window glass are determined by comparing the count number with the number of pulses stored in advance in the ROM based on the fully opened and fully closed state.
[0064]
In the first and second embodiments, the pulses input to the controller 11 are classified into the odd group and the even group and compared with the previous two pulses in order to determine the warning state. You may make it compare with the pulse of front, 4 times before, etc. In this case, the number of groups is not two but can be increased further. When the warning state is determined by dividing the number of groups into three or four instead of two, grouping is performed by the following process without using the determination flag. That is, the controller 11 counts the pulses input from the pulse sensor 22 and divides the count by a predetermined number (for example, 3 if it is divided into three groups). Then, processing for dividing each group is performed based on the remainder value. In the first and second embodiments as well, this processing may be performed to divide the pulses into an even group and an odd group.
[0065]
In the first and second embodiments, the secondary character determination 2 with the primary determination at different predetermined values K and Krev based on the same pulse period until it is determined that the calculation unit 12 is sandwiched. The determination operation is performed once, but the determination operation may be performed three or more times with different predetermined values. In this case, the primary determination is twice. In this way, detection can be performed with higher accuracy. Further, only the pinching determination may be performed without performing the primary determination.
[0066]
In the first and second embodiments, when the warning flag is set, the warning flag is reset when the non-pinch determination continues for three pulses. Of course, the number of times may be two, four times, or any other number of times.
[0067]
In the first and second embodiments, the calculation unit 12 performs the primary determination and the secondary determination in the odd or even group routine for each pulse input. For example, every two pulses, every three pulses. The determination operation may be performed alternately in each routine.
[0068]
In the first and second embodiments, the present invention is embodied in a power window device for a side door of a vehicle, but may be embodied in a slide roof device including an electric slide roof provided on the ceiling surface of the vehicle. . Even if it does in this way, the present invention is effectively used for a slide roof in which foreign matter can be pinched. In this case, the slide roof corresponds to a window glass.
[0071]
【The invention's effect】
As described above in detail, according to the first aspect of the present invention, pinching by the window glass can be detected with high accuracy and at an early stage.
[0072]
  Also,Since the determination means performs the determination process of the current period twice for one pulse period, it can be pinched and detected with higher accuracy.
[0073]
  Claim2According to the invention of claim1In addition to the effect of the invention of, SizeThe fixing means isSecondSince the current period is compared with the common reference period and the determination is performed, the determination is performed continuously with respect to the reference period, and high-speed detection can be performed.
[0074]
  Claim3According to the invention of claim1In addition to the effects of the invention ofSizeThe fixing means isSecondCurrent cycleFor each groupIn order to make a judgment in comparison with the individually set reference period,SecondThe interval between the time when the current cycle is captured and the time of each reference cycle is widened.SecondThe amount of change in the current cycle is clear, and detection can be performed with higher accuracy.
According to the invention of claim 4, in addition to the effect of the invention of any one of claims 1 to 3, the past cycle set as the reference cycle is not kept forever after the primary determination. A new reference period can be set according to the situation.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an electrical configuration of a power window device according to a first embodiment.
FIG. 2 is a flowchart showing detection processing in the same manner.
FIG. 3 is a schematic view showing a vehicle door.
FIG. 4 is a timing chart similarly showing a pulse state from the pulse sensor.
FIG. 5 is a flowchart showing a pinching detection process in the second embodiment.
FIG. 6 is a timing chart similarly showing a pulse state from the pulse sensor.
[Explanation of symbols]
  11 ... Controller (drive control means, detection means, determination means,Canceling means, 15 ... Power window switch (window switch), 18 ... Window glass, 19 ... Drive motor (motor), 20 ... Drive / switching circuit (drive circuit), 22 ... Pulse sensor (pulse generation means).

Claims (4)

ウインドウガラスを開閉動作するためのウインドウスイッチと、前記ウインドウガラスを開閉動作させるモータと、そのモータを正逆回転駆動させる駆動回路と、前記ウインドウスイッチからの操作信号に従って前記モータを駆動するとともに、前記ウインドウガラスによる挟まれが発生した際に前記モータの駆動を停止又は逆転する挟まれ防止機能を有する駆動制御手段とを備えるウインドウガラスの挟持有無検出装置において、
モータの回転に応じてパルス信号を発生させるパルス発生手段と、パルス信号の周期(以下、現在周期という)を検出する検出手段と、前記検出手段によって検出されたパルス信号の現在周期と、少なくとも2以上の所定パルス前におけるパルス周期(以下、過去周期という)とを比較し、現在周期が所定値より大きい増分があった際に挟まれを判定する判定手段を備え
前記所定値は、第1所定値と第2所定値とを含み、
前記判定手段は、現在周期と過去周期とを比較して、第1所定値よりも大きい増分があるか否かを判定する一次判定を行い、第1所定値よりも増分があるとの一次判定後においては、前記過去周期を基準周期とし、前記現在周期より少なくとも2パルス後に検出された現在周期(以下、第2の現在周期という)と基準周期とを比較して、第2所定値よりも大きい増分がある場合に二次判定として挟まれを判定することを特徴とするウインドウガラスの挟持有無検出装置。
A window switch for opening and closing the window glass; a motor for opening and closing the window glass; a drive circuit for driving the motor to rotate forward and backward; and driving the motor according to an operation signal from the window switch; In the window glass pinching presence / absence detection device comprising a drive control means having a pinching prevention function for stopping or reversing the driving of the motor when pinching by the window glass occurs,
A pulse generation means for generating a pulse signal in accordance with the rotation of the motor; a detection means for detecting a cycle of the pulse signal (hereinafter referred to as a current cycle); and a current cycle of the pulse signal detected by the detection means; Comparing with the above-mentioned pulse period before the predetermined pulse (hereinafter referred to as the past period), it is provided with a determination means for determining pinching when the current period has an increment larger than a predetermined value ,
The predetermined value includes a first predetermined value and a second predetermined value,
The determination means compares the current cycle with a past cycle to determine whether there is an increment greater than a first predetermined value, and performs a primary determination that there is an increment greater than the first predetermined value. Later, the past cycle is set as a reference cycle, and a current cycle (hereinafter, referred to as a second current cycle) detected after at least two pulses from the current cycle is compared with a reference cycle to obtain a second predetermined value. A window glass pinching presence / absence detecting device characterized in that pinching is determined as a secondary determination when there is a large increment .
前記判定手段は、パルス信号の所定数毎に区別されるグループについて交互に判定を行い、  The determination means alternately determines a group distinguished for each predetermined number of pulse signals,
前記判定手段は、第1所定値よりも増分があるとの一次判定後においては、該一次判定にて第1所定値よりも増分があると判定した際に用いた過去周期を各グループについての判定に共通の基準周期とし、その共通の基準周期と、第2の現在周期とを比較して、二次判定を行うことを特徴とする請求項1に記載のウインドウガラスの挟持有無検出装置。  After the primary determination that the increment is greater than the first predetermined value, the determination means determines the past period used for each group when the primary determination determines that there is an increment greater than the first predetermined value. The window glass pinching presence / absence detecting device according to claim 1, wherein a second reference is made by comparing the common reference period with the second current period.
前記判定手段は、パルス信号の所定数毎に区別されるグループについて交互に判定を行い、  The determination means alternately determines a group distinguished for each predetermined number of pulse signals,
前記判定手段は、第1所定値よりも増分があるとの一次判定後においては、該一次判定にて第1所定値よりも増分があると判定したグループについての次回の判定に際して、該一次判定にて第1所定値よりも増分があると判定した際に用いた過去周期を該グループの基準周期とし、その基準周期と、第2の現在周期とを比較して、二次判定を行うことを特徴とする請求項1に記載のウインドウガラスの挟持有無検出装置。  After the primary determination that the increment is greater than the first predetermined value, the determination means performs the primary determination in the next determination for the group that is determined to have the increment greater than the first predetermined value in the primary determination. The secondary period is determined by comparing the reference period with the second current period as the reference period of the group, which is used when it is determined that there is an increase from the first predetermined value at The sandwiching presence / absence detecting device for a window glass according to claim 1.
前記判定手段が、二次判定で所定パルス経過内で第2の現在周期が前記基準周期から第2所定値より大きい増分がないという判定結果を出した際に、前記基準周期に関する情報をキャンセルする取り消し手段を備えたことを特徴とする請求項1乃至請求項3のうちいずれか1項に記載のウインドウガラスの挟持有無検出装置。  When the determination means gives a determination result that the second current cycle has no increment greater than the second predetermined value from the reference cycle within a predetermined pulse in the secondary determination, the information on the reference cycle is canceled. The window glass pinching presence / absence detecting device according to any one of claims 1 to 3, further comprising canceling means.
JP2000283362A 2000-09-19 2000-09-19 Window glass clamping presence / absence detection device Expired - Fee Related JP4295423B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000283362A JP4295423B2 (en) 2000-09-19 2000-09-19 Window glass clamping presence / absence detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000283362A JP4295423B2 (en) 2000-09-19 2000-09-19 Window glass clamping presence / absence detection device

Publications (2)

Publication Number Publication Date
JP2002089134A JP2002089134A (en) 2002-03-27
JP4295423B2 true JP4295423B2 (en) 2009-07-15

Family

ID=18767732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000283362A Expired - Fee Related JP4295423B2 (en) 2000-09-19 2000-09-19 Window glass clamping presence / absence detection device

Country Status (1)

Country Link
JP (1) JP4295423B2 (en)

Also Published As

Publication number Publication date
JP2002089134A (en) 2002-03-27

Similar Documents

Publication Publication Date Title
JP4781127B2 (en) Electric motor control device
JP4487588B2 (en) Opening and closing body control device
EP1840685A1 (en) Motor controller and method for controlling motor
JPH0754335B2 (en) Peak value detection circuit
JPH0776973A (en) Detecting method of position, direction of rotation and rotational speed or either of revolutionarily installed section
US6084524A (en) Photoelectric detection switch
US6329779B1 (en) Obstacle detection method for a motor-driven panel
US6943515B2 (en) Controller of automotive power door
JP4295423B2 (en) Window glass clamping presence / absence detection device
JP3582267B2 (en) Window opening and closing control device
JP3349053B2 (en) Window glass pinch detection device
JP3578568B2 (en) Power window control device for vehicles
JP4448621B2 (en) Window glass clamping presence / absence detection device
JP2002106256A (en) Detector for detecting catching/non-catching in window glass
WO1999042691A1 (en) Jam detector for switch component
JP2007009573A (en) Opening/closing control device
JP2942127B2 (en) Power window drive control device
EP0716492A1 (en) Electric motor control device
JP3812048B2 (en) Window opening and closing control device
JP2954471B2 (en) Opening / closing body opening / closing control method
JP3755741B2 (en) Window glass pinching presence / absence detection device
JP4422358B2 (en) Window glass pinching presence / absence detection device
JPH06343279A (en) Power window controller
JP3283165B2 (en) Motor drive control device
JP6447236B2 (en) Vehicle window opening and closing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090120

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090227

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090401

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090410

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

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4295423

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130417

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130417

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140417

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees