JP3828715B2 - Power window control device - Google Patents

Power window control device Download PDF

Info

Publication number
JP3828715B2
JP3828715B2 JP2000143835A JP2000143835A JP3828715B2 JP 3828715 B2 JP3828715 B2 JP 3828715B2 JP 2000143835 A JP2000143835 A JP 2000143835A JP 2000143835 A JP2000143835 A JP 2000143835A JP 3828715 B2 JP3828715 B2 JP 3828715B2
Authority
JP
Japan
Prior art keywords
motor
signal
rotation
voltage
window glass
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
JP2000143835A
Other languages
Japanese (ja)
Other versions
JP2001040941A (en
Inventor
藤 雄 伊
藤 勝 加
Original Assignee
自動車電機工業株式会社
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 自動車電機工業株式会社 filed Critical 自動車電機工業株式会社
Priority to JP2000143835A priority Critical patent/JP3828715B2/en
Publication of JP2001040941A publication Critical patent/JP2001040941A/en
Application granted granted Critical
Publication of JP3828715B2 publication Critical patent/JP3828715B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)
  • Window Of Vehicle (AREA)
  • Control Of Direct Current Motors (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、自動車のウインドガラスを駆動するパワーウインド制御装置に関し、特にウインドガラスが閉じられる方向に移動されている際、ウインドガラスが所定の距離を移動する間に、モータのトルクデータが予め定められた値を越えて増加したとき、閉じる方向に移動しているウインドガラスを開く方向に反転移動するパワーウインド制御装置に関する。
【0002】
【従来の技術】
自動車のウインドガラスを駆動するパワーウインド制御装置としては、モータに備えたアーマチュアシャフトがガラス昇降器を介してウインドガラスに結合されているものが知られている。そして、モータのアーマチュアシャフトに回転検出センサが結合されている。回転検出センサは、アーマチュアシャフト上に取付けられたマグネットと、このマグネットのまわりに配置されたホール素子とからなる。アーマチュアシャフトが回転するとマグネットが回転し、マグネットが回転することにより、ホール素子よりパルス状の検出信号(ホール電圧)が発生するため、コントローラにより検出信号のパルス幅を検出することによってアーマチュアシャフトの回転数が算出される。そして、アーマチュアシャフトの回転数が検出され、モータの回転数が低下すると、ウインドガラスが障害物を挟み込んだと認識し、ウインドガラスの動きが反転させ、障害物の挟み込みを防止する。
【0003】
【発明が解決しようとする課題】
上記のパワーウインド制御装置において、照明機器等が作動されることによってバッテリー電源の電位が急激に低下すると、モータの回転数は徐々に低下するので、モータの回転数の低下によって障害物の挟み込みが発生したと誤認識し、ウインドガラスの動きを反転させてしまうことがあるという問題点があった。
【0004】
【発明の目的】
この発明は、バッテリー電源の電位が急激に低下しても、障害物の挟み込みの誤認識を容易にしないパワーウインド制御装置を提供することを目的としている。
【0005】
【課題を解決するための手段】
上記の目的を達成するために、本発明では電源の電圧が変化した場合に、電源の電圧の変化に応じて、モータのトルクの補正データを算出して、この補正データと判定値とを比較して、ウインドガラスが障害物を挟み込んだ状態を検出し、障害物の挟み込みの誤認識を防止する。
【0006】
【発明の実施の形態】
本発明のパワーウインド制御装置は、回転検出センサに接続され、回転検出センサが発生した回転信号により前記モータの回転速度を算出し、回転速度信号を発生するモータ回転速度算出手段、電源に接続され、電源の電圧を検出して電圧信号に変換する電源電圧検出回路、前記電源電圧検出回路に接続され、電源電圧検出回路より与えられた電圧信号に、前記モータの回転数の変化の時定数に略等しい時定数の補正を加えた補正データ信号を発生する電圧補正手段、前記電圧補正手段より与えられた補正データ信号とモータ回転速度算出手段より与えられたモータの回転速度信号とによりモータのトルクの補正データを算出し、閉スイッチがウインドガラスを上昇させる上昇指令信号を発生して、前記駆動制御手段が上昇駆動信号を前記駆動手段に供給している間に、前記電圧補正手段より与えられたモータのトルクの補正データが予め設定された判定値を越えて増加した際に、ウインドガラスを下降させるための下降要求信号を前記駆動制御手段に供給するモータトルク算出手段を備える。
【0007】
【実施例】
図1ないし図18にはこの発明に係わるパワーウインド制御装置の第1の実施例が示されている。図示されるパワーウインド制御装置1は、主として、開スイッチ2、閉スイッチ3、自動(ワンタッチ)スイッチ4、イグニションスイッチ(IGスイッチ)5、電源50、モータ6、回転検出センサ7、制御ユニット20から構成されており、制御ユニット20は、定電圧回路21、リセット回路22、電源電圧検出回路23、マイクロコンピュータCPU、駆動手段24を備えている。
【0008】
開スイッチ2は、オン切換えされることによって下降指令信号を発生する。開スイッチ2が発生した下降指令信号は、図示しない電圧クランプ回路を通じて制御ユニット20に備えたマイクロコンピュータCPUの入力ポートP1に与えられる。
【0009】
閉スイッチ3は、オン切換えされることによって上昇指令信号を発生する。閉スイッチ3が発生した上昇指令信号は、図示しない電圧クランプ回路を通じて制御ユニット20に備えたマイクロコンピュータCPUの入力ポートP2に与えられる。
【0010】
自動スイッチ4は、オン切換えされることによって自動指令信号を発生する。自動スイッチ4が発生した自動指令信号は、図示しない電圧クランプ回路を通じて制御ユニット20に備えたマイクロコンピュータCPUの入力ポートP3に与えられる。
【0011】
イグニションスイッチ5は、一方が電源50に接続され、他方が制御ユニット20に備えた電源電圧検出回路23に接続されている。イグニションスイッチ5はオン切換えされることによって電源電圧検出回路23に電源50の電位を与える。
【0012】
電源電圧検出回路23は、一方がイグニションスイッチ5に接続され、他方がマイクロコンピュータCPUの電圧検出ポートP4に接続されている。ヘッドライト等の照明機器や、デフォッガ,エアコン等の空調機器が作動すると、電源50の電位は下がる。電源電圧検出回路23は、電源50の電位を電圧信号に変換する。電源電圧検出回路23によって変換された変動電圧信号はマイクロコンピュータCPUの電圧検出ポートP4に与えられる。変動電圧信号は、マイクロコンピュータCPUに内蔵された電圧補正手段25に取り込まれる。
【0013】
定電圧回路21は、一方がイグニションスイッチ5に接続され、他方がマイクロコンピュータCPUのレギュレータポートP5に接続されている。定電圧回路21は、イグニションスイッチ5がオン切換えされることによって、マイクロコンピュータCPUのレギュレータポートP5に所定のマイコンドライブ電圧を与える。
【0014】
リセット回路22は、一方が電源50に接続され、他方がマイクロコンピュータCPUのリセットポートP6に接続されている。リセット回路22は、電源50制御ユニット20接続された際に、マイクロコンピュータCPUのリセットポートP6を所定時間ローレベルとすることによってマイクロコンピュータCPUを初期状態にリセットする。
【0015】
駆動手段24は、後述する駆動制御手段28に接続され、該駆動制御手段28から上昇駆動信号が供給されるとモータ6に車両のウインドガラス60を上昇駆動する上昇電流を供給するとともに、該駆動制御手段28から下降駆動信号が供給されるとモータ6に該車両のウインドガラス60を下降駆動する下降電流を供給する。この駆動手段24は、リレー又はスイッチングトランジスタなどによって構成されており、一方がマイクロコンピュータCPUの出力ポートP7、出力ポートP8にそれぞれ接続され、他方がモータ6に備えた第1のブラシ端子6a、第2のブラシ端子6bにそれぞれ接続されている。
【0016】
駆動手段24は、マイクロコンピュータCPUの出力ポートP7がハイレベルになるとともに、マイクロコンピュータCPUの出力ポートP8がローレベルになることによって、モータ6の第2のブラシ端子6bにローレベルの電圧を与え、モータ6の第1のブラシ端子6aに電源50からハイレベルの電圧を与える。この時モータ6は正回転する。これに反して、駆動手段24は、マイクロコンピュータCPUの出力ポートP7がローレベルになるとともに、マイクロコンピュータCPUの出力ポートP8がハイレベルになることによって、モータ6の第1のブラシ端子6aにローレベルの電圧を与えるとともに、モータ6の第2のブラシ端子6bに電源50からハイレベルの電圧を与える。この時モータ6逆回転する。
【0017】
モータ6には、図示しないアーマチュアに備えられたアーマチュアシャフト6cが、図示しないガラス昇降器を介してウインドガラス60に結合されている。モータ6のアーマチュアシャフト6cが正回転すると、ウインドガラス60は開方向に移動する。これに反して、モータ6のアーマチュアシャフト6cが逆回転すると、ウインドガラス60は閉方向に移動する。モータ6のアーマチュアシャフト6cには回転検出センサ7が結合されている。
【0018】
回転検出センサ7には、図6に示されるように、回転体7a、第1の信号発生器7b、第2の信号発生器7cが備えられている。回転体7aには、単一のN極および単一のS極が対向配置されたマグネットが備えられている。回転体7aは、中心がモータ6のアーマチュアシャフト6cに同心に結合されているため、アーマチュアシャフト6cとともに回転する。第1、第2の信号発生器7b、7cは、回転体7aのまわりに配置されている。第1、第2の信号発生器7b、7cはそれぞれホール素子であり、回転体7aに非接触で配置されている。第1の信号発生器7bと第2の信号発生器7cとは回転体7aの円周上に90度の範囲を置いて配置されている。
【0019】
第1の信号発生器7bは、電源端子が定電圧回路21に接続されているとともに、接地端子が接地され、ホール電圧出力端子がマイクロコンピュータCPUの第1の回転検出ポートP9に接続されている。第1の信号発生器7bは、図6に示されるように、マグネットのS極に対してのしきい値THSと、マグネットのN極に対してのしきい値THNとをもっているため、マグネットのS極とN極との境界線からS極側に予め定められた角度の位置まで回転体7aが回転した際に、しきい値THSによりホール電圧が発生し、マグネットのS極とN極との境界線からN極側に予め定められた角度の位置まで回転体7aが回転した際に、しきい値THNによりホール電圧が消滅する。
【0020】
第2の信号発生器7cは、電源端子が定電圧回路21に接続されているとともに、接地端子が接地され、ホール電圧出力端子がマイクロコンピュータCPUの第2の回転検出ポートP10に接続されている。第2の信号発生器7cは、第1の信号発生器7bと同様にして図に示されるように、マグネットのS極に対してのしきい値THSと、マグネットのN極に対してのしきい値THNをもっているため、マグネットのS極とN極との境界線からS極側に予め定められた角度の位置まで回転体7aが回転した際に、しきい値THSによりホール電圧が発生し、マグネットのS極とN極との境界線からN極側に予め定められた角度の位置まで回転体7aが回転した際に、しきい値THNによりホール電圧が消滅する。
【0021】
アーマチュアシャフト6cが正回転することによって回転体7aがアーマチュアシャフト6cとともに正回転するため、図6に示されるように、回転検出センサ7の第1の信号発生器7bから第1のパルス信号Aが発生し、マイクロコンピュータCPUの第1の回転検出ポートP9に第1のパルス信号Aが取り込まれる。そして、アーマチュアシャフト6cの回転によって、第1のパルス信号Aに1/4周期ずれて第2の信号発生器7cから第2のパルス信号Bが発生し、マイクロコンピュータCPUの第2の回転検出ポートP10に第2のパルス信号Bが取り込まれる。
【0022】
マイクロコンピュータCPUは、電圧補正手段25、モータ回転速度算出手段26、モータトルク算出手段27、駆動制御手段28、ウインドガラス60の位置を記憶する位置カウンタ(図示せず)、計時用のクロック(図示せず)をそれぞれ内蔵している。
【0023】
駆動制御手段28は、マイクロコンピュータCPUの入力ポート P 1、 P 2および P 3にそれぞれ接続されている。開スイッチ2のオン切換えにより入力ポート P 1に下降指令信号が与えられると、駆動制御手段28は下降駆動信号を発生し、マイクロコンピュータCPUの出力ポート P 7をハイレベルにするとともに、出力ポート P 8をローレべルにする。また、閉スイッチ3のオン切換えにより入力ポート P 2に上昇指令信号が与えられると、駆動制御手段28は上昇駆動信号を発生し、出力ポート P 7をローレべルにするとともに、出力ポート P 8をハイレベルにする。
【0024】
入力ポートP1に下降指令信号が与えられ、出力ポート P 7がハイレベルになり、出力ポート P 8がローレベルになると、駆動手段24は正回転駆動信号を発生し、モータ6の第2のブラシ端子6bにローレベルの電圧を与えるとともに、モータ6の第1のブラシ端子6aに電源50からハイレベルの電圧を与え、即ち、モータ6に車両のウインドガラス60を下降駆動させる下降電流を供給し、該ウインドガラス60はマニュアル開状態となる。また、マイクロコンピュータCPUでは、入力ポートP2に上昇指令信号が与えられ、出力ポート P 7がローレベルになり、出力ポート P 8がハイレベルになると、駆動手段24は逆回転駆動信号を発生し、モータ6の第1のブラシ端子6aにローレベルの電圧を与えるとともに、モータ6の第2のブラシ端子6bに電源50からハイレベルの電圧を与え、即ち、モータ6に車両のウインドガラス60を上昇駆動させる上昇電流を供給し、該ウインドガラス60はマニュアル閉状態となる。
【0025】
開スイッチ2がオンされ、入力ポートP1に下降指令信号が与えられ、且つ、自動スイッチ4から入力ポートP3に自動指令信号が与えられると、駆動制御手段28は下降駆動信号を発生するため、駆動手段24は正回転駆動信号を発生し、モータ6の第2のブラシ端子6bにローレベルの電圧が与えられるとともに、モータ6の第1のブラシ端子6aに電源50からハイレベルの電圧が与えられ。そして開スイッチ2がオフ切換えされても、駆動手段24は正回転駆動信号を発生し続け、モータ6の第2のブラシ端子6bにローレベルの電圧を与えるとともに、モータ6の第1のブラシ端子6aに電源50からハイレベルの電圧を引続き与え続けて、ウインドガラス60は自動開状態となる。
【0026】
閉スイッチ3がオンされ、入力ポートP2に上昇指令信号が与えられ、且つ、自動スイッチ4から入力ポートP3に自動指令信号が与えられると、駆動制御手段28は上昇駆動信号を発生するため、駆動手段24は逆回転駆動信号を発生し、モータ6の第1のブラシ端子6aにローレベルの電圧が与えられるとともに、モータ6の第2のブラシ端子6bに電源50からハイレベルの電圧が与えられる。そして閉スイッチ3がオフ切換えされても、駆動手段24は逆回転駆動信号を発生し続け、モータ6の第1のブラシ端子6aにローレベルの電圧を与えるとともに、モータ6の第2のブラシ端子6bに電源50からハイレベルの電圧を引続き与え続けて、ウインドガラス60は自動閉状態となる。
【0027】
電圧補正手段25は、図2に示されるように電源電圧検出回路23が電源50の電圧の変化ΔVを検出すると、図3に示されるように時定数T0より与えられた変動電圧信号を発生する補正データを算出する。この電圧補正手段25によって算出された補正データはモータトルク算出手段27で用いられる。時定数T0は、図4に示されるように、電源50の電圧がΔV変化したときのモータ6の回転数の変化の時定数Tmに略等しく選択される。
【0028】
モータ回転速度算出手段26は、フリーランニングカウンタFRC、第1、第2、第3、第4のタイマTAR、TBR、TAF、TBFを用いてモータ6のアーマチュアシャフト6cの回転速度データを算出する演算手段である。フリーランニングカウンタFRC(8ビット)の機能が図8に示され、第1、第2、第3、第4のタイマTAR、TBR、TAF、TBFの機能が図6に示される。
【0029】
モータトルク算出手段27は、電圧補正手段25により与えられた補正データと、モータ回転速度算出手段26より与えられたモータ6のアーマチュアシャフト6cの回転速度データとによって図5に示されるようにモータ6のトルクデータTL(TL=AV´(t)−Bω(t)、A、Bは定数)を算出する。
【0030】
駆動制御手段28は、開スイッチ2より与えられた下降指令信号と、閉スイッチ3より与えられた上昇指令信号と、自動スイッチ4より与えられた自動指令信号とを処理して、駆動手段24に正回転駆動信号を発生させるか、あるいは逆回転駆動信号を発生させる機能を有する。また、駆動制御手段28は、モータトルク算出手段27より与えられたトルクデータが予め設定された値よりも大きいと、ウインドガラス60によって障害物が挟まれたと判定し、正回転駆動信号を発生させる。
【0031】
フリーランニングカウンタFRCがクロックに同期してカウントアップされ、図8に示されるように、カウント値がFF(16)になることによってフリーランニングカウンタFRCがオーバフローし、次のカウントでは“0”カウントにリセットされる。フリーランニングカウンタFRCがリセットされることによってマイクロコンピュータCPUでは、図9に示されるタイマ割り込みが実行される。タイマ割り込みでは、ステップ400において第1のタイマTARがインクリメントされてステップ401に移行し、ステップ401において第2のタイマTBRがインクリメントされてステップ402に移行し、ステップ402において第3のタイマTAFがインクリメントされてステップ403に移行し、ステップ403において第4のタイマTBFがインクリメントされるルーチンが実行される。
【0032】
第1のタイマTARは、図6に示されるように、時刻T2において回転検出センサ7の第1の信号発生器7bが発生した第1のパルス信号Aの立上りエッジから、その後に回転体7aが一回転した時刻T10において第1の信号発生器7bが発生した第1のパルス信号Aの立上りエッジまでの時間を回転体7aの回転毎に計測する16ビットのメモリである。第1のタイマTARは、レジスタT0へデータが転送された後“0”カウントにリセットされる。
【0033】
第2のタイマTBRは、図6に示されるように、時刻T4において回転検出センサ7の第2の信号発生器7cが発生した第2のパルス信号Bの立上りエッジから、その後に回転体7aが一回転した時刻T12において第2の信号発生器7cが発生した第2のパルス信号Bの立上りエッジまでの時間を回転体7aの回転毎に計測する16ビットのメモリである。第2のタイマTBRは、レジスタT0へデータが転送された後“0”カウントにリセットされる。
【0034】
第3のタイマTAFは、図6に示されるように、時刻T6において回転検出センサ7の第1の信号発生器7bが発生した第1のパルス信号Aの立下りエッジから、その後に回転体7aが一回転した時刻T14において第1の信号発生器7bが発生した第1のパルス信号Aの立下りエッジまでの時間を回転体7aの回転毎に計測する16ビットのメモリである。第3のタイマTAFは、レジスタT0へデータが転送された後“0”カウントにリセットされる。
【0035】
第4のタイマTBFは、図6に示されるように、時刻T8において回転検出センサ7の第2の信号発生器7cが発生した第2のパルス信号Bの立下りエッジから、その後に回転体7aが一回転した時刻T16において第2の信号発生器7cが発生した第2のパルス信号Bの立下りエッジまでの時間を回転体7aの回転毎に計測する16ビットのメモリである。第4のタイマTBFは、レジスタT0へデータが転送された後“0”カウントにリセットされる。
【0036】
マイクロコンピュータCPUでは、図8に示される時刻Kにおいて、パルスエッジが検出されると、パルスエッジ割り込みルーチンが実行される。そして、タイマ割り込みで処理された第1、第2、第3、第4のタイマTAR、TBR、TAF、TBFの上位バイト(H)の値と、フリーランニングカウンタFRCの下位バイト(L)の値が求められる。このとき、t1≧t0であると、TAR(L)=t1−t0となる。これに反して、t1<t0であると、TAR(H)=TAR(H)−1、TAR(L)=t1+(FF−t0)となる。t0は前回パルスエッジが検出されたときのフリーランニングカウンタFRCのカウンタ値であり、t1は今回パルスエッジが検出されたときのフリーランニングカウンタFRCのカウンタ値である。マイクロコンピュータCPUは、t0、t1の大小関係により、第1、第2、第3、第4のタイマTAR、TBR、TAF、TBFに入る値を算出処理する。
【0037】
そして、マイクロコンピュータCPUは、図10に示されるように、第1のパルス信号Aの立上りエッジが検出された際に第2のパルス信号Bがローレベルにある場合をモータ6のアーマチュアシャフト6cが正回転してウインドガラス60が開く側に移動していると認識し、これに対して、第1のパルス信号Aの立上りエッジが検出された際に、第2のパルス信号Bがハイレベルにある場合をモータ6のアーマチュアシャフト6cが逆回転してウインドガラス60が閉る側に移動していると認識する。また、マイクロコンピュータCPUは、ウインドガラス60が全閉位置にある際の位置カウンタ(図示せず)のカウンタ値PCを“0”とし、カウンタ値PCが“0”から、ウインドガラス60が全閉位置からわずかに開く側に移動したときのカウンタ値PCXまでを自動反転禁止領域として自動的なウインドガラス60の反転動作を行わない範囲として定め、カウンタ値PCXからウインドガラス60が全開位置のカウンタ値までを自動反転許可領域としてウインドガラス60の反転動作を行う範囲として定めている。位置カウンタのカウンタ値は、通常ウインドガラス60が開く方向に移動する際にプラスカウントされ、これに反して、ウインドガラス60が閉る方向に移動する際にマイナスカウントされる。
【0038】
そして、マイクロコンピュータCPUは、駆動手段24が逆回転駆動信号を発生している時に、ウインドガラス60が所定の距離を移動する間に、モータトルク算出手段27より与えられたモータ6のトルクデータが予め定められた値を越えて増加した際に、駆動制御手段28によって駆動手段24の逆回転駆動信号の発生を停止し、正回転側駆動信号を発生し、閉じる方向に移動しているウインドガラス60を開く方向に反転移動する。
【0039】
前述したように、本発明のパワーウインド制御装置では、図2に示される時刻aにおいて電源50の電圧が電圧V(t)に低下すると、図3に示されるように、電源電圧検出回路23より与えられた電圧信号によって電圧補正手段25が補正データ(補正電源電圧V´(t))を算出する。このとき、図4に示されるように、モータ回転速度算出手段26が算出したモータ6の回転数ω(t)は電源50の電圧の低下に対応して下がる。しかし、マイクロコンピュータCPUでは、図5に示されるように、電圧補正手段25により得られた補正電源電圧V´(t)と、モータ回転速度算出手段26により得られたモータ6の回転数ω(t)とを用いて、モータトルク検出手段27が、検出トルクTL(t)=AV´(t)−Bω(t)により検出トルクTL(t)を検出するから、検出トルクTL(t)は、電源50の電圧の低下に同期した急激な変化を伴わない。すなわち、急激に電源50の電圧が低下したとしても、検出トルクTL(t)は、急激に低下しないので、挟み込みの誤検出が容易に行なわれることはない。
【0040】
上記のパワーウインド制御装置1は、図11なしし図13に示されるメインルーチン、図14に示される出力ルーチン、図15および図16に示されるパルスエッジ割り込みルーチン、図17に示されるトルク検出ルーチンを実行することによってウインドガラス60の動きを制御する。
【0041】
イグニションスイッチ5がオン切換えされ、開スイッチ2、閉スイッチ3、自動スイッチ4がいずれもオン切換えされていないと、メインルーチンのステップ100において“停止状態がセットされている”と判別され、ステップ101に移行して“反転要求はセットされていない”と判別され、ステップ102に移行して“閉スイッチ3はオン”ではないので、ステップ103に移行して“開スイッチ2はオン”ではないのでステップ100に復帰する。
【0042】
出力ルーチンのステップ300では“停止状態”と判別されるので、ステップ306に移行して“出力停止”が実行される。
【0043】
開スイッチ2、閉スイッチ3、自動スイッチ4がいずれもオン切換えされていないと、マイクロコンピュータCPUの出力ポートP7、P8はいずれもローレベルになり、駆動手段24は作動せず、モータ6に電流が供給されないから、ウインドガラス60は全閉位置に停止している。
【0044】
ウインドガラス60が全閉位置にある状態で、イグニションスイッチ5がオン切換えされ、図6に示される時刻T1において開スイッチ2がオン切換えされると、開スイッチ2が発生した下降指令信号がマイクロコンピュータCPUに取込まれる。ステップ100においてはまだ“停止状態がセットされている”と判別されるので、ステップ101、ステップ102、ステップ103に移行して“開スイッチ2がオン”と判別されるのでステップ107に移行して“開状態に移行”が実行され、出力ルーチンに移行する。
【0045】
出力ルーチンのステップ300において“停止状態ではない”と判別されるのでステップ301に移行して“マニュアル閉状態ではない”のでステップ302に移行して“マニュアル開状態”と判別されるのでステップ308に移行して“開駆動出力”が実行される。“開駆動出力”が実行されることによって、マイクロコンピュータCPUの第1の出力ポートP7がハイレベルになるとともにマイクロコンピュータCPUの第2の出力ポートP8がローレベルになり、モータ6の第2のブラシ端子6bが接地されている状態でモータ6の第1のブラシ端子6aに電源の電位が与えられるため、アーマチュアシャフト6cが正回転し、ウインドガラス60が下降する
【0046】
時刻T1においてアーマチュアシャフト6cが正回転を開始してウインドガラス60が開く方向、即ち下降する方向に移動を開始すると、時刻T2において回転検出センサ7は、その第1の信号発生器7bが第1のパルス信号Aを発生する。時刻T2において第1のパルス信号Aが発生し、第1のパルス信号Aの立上りエッジが検出されると、パルスエッジ割り込みルーチンのステップ200において“エッジは第1のパルス信号Aである”と判別されるのでステップ201に移行して“立上りエッジである”と判別されるのでステップ202に移行して“第1のタイマTARのカウント値をレジスタT0に代入”が実行されてステップ203からステップ208に移行する。そしてからステップ208に移行する。そして、ステップ208において“エッジは第1のパルス信号Aである”と判別されるのでステップ209に移行して“立上りエッジである”と判別されるのでステップ210に移行して“第2のパルス信号Bはローレベルである”と判別されるのでステップ212に移行して“位置カウンタPCがプラス1カウント(+1)され”て割り込み処理は終了する。
【0047】
時刻T4において、回転検出センサ7の回転体7aが1/4回転すると第2のパルス信号Bが立上る。第2のパルス信号Bが立上ると、割り込みルーチンのステップ200において“エッジは第1のパルス信号Aではない”と判別されるのでステップ204に移行して“立上りエッジである”と判別され、ステップ206に移行して“第2のタイマTBRのカウント値をレジスタT0に代入“が実行されてステップ203に移行し、ステップ203からステップ208に移行する。そして、ステップ208において“エッジは第1のパルス信号Aではない”と判別されるのでステップ216に移行して“立上りエッジである”と判別されるのでステップ217に移行して“第1のパルス信号Aはローレベルではない”と判別され、ステップ220に移行して“位置カウンタPCがプラス1カウント(+1)され”て割り込み処理が終了する。
【0048】
時刻T6において、回転検出センサ7の回転体7aが1/2回転し、第1のパルス信号Aが立下る。第1のパルス信号Aが立下ると、割り込みルーチンのステップ200において“エッジは第1のパルス信号Aである”と判別されるのでステップ201に移行して“立上りエッジではない”と判別されるのでステップ205に移行して“第3のタイマTAFのカウント値をレジスタT0に代入“が実行されてステップ203に移行し、ステップ203からステップ208に移行する。そして、ステップ208において“エッジは第1のパルス信号Aである”と判別されると、ステップ209に移行して“立上りエッジではない”と判別されるのでステップ211に移行して“第2のパルス信号Bはローレベルではない”と判別され、ステップ215に移行して“位置カウンタPCがプラス1カウント(+1)され”て割り込み処理が終了する。
【0049】
時刻T8において回転検出センサ7の回転体7aが3/4回転し、第2のパルス信号Bが立下る。第2のパルス信号Bが立下ると、割り込みルーチンのステップ200において“エッジは第1のパルス信号Aではないので”と判別され、ステップ204に移行して“立上りエッジではない”と判別され、ステップ207に移行して“第4のタイマTBFのカウント値をレジスタT0に代入“が実行され、ステップ203からステップ208に移行する。そして、ステップ208において“エッジは第1のパルス信号Aではない”と判別されるのでステップ216に移行して“立上りエッジではない”と判別され、ステップ218に移行して“第1のパルス信号Aはローレベルである”と判別され、ステップ221に移行して“位置カウンタPCがプラス1カウント(+1)され”て割り込み処理が終了する。
【0050】
時刻T10において回転検出センサ7の回転体7aは1回転を終了し、2回転目に入るため、第1のパルス信号Aが再び立上る。第1のパルス信号Aが立上ると、割り込みルーチンのステップ200において“エッジは第1のパルス信号Aである”と判別され、ステップ201に移行し、ステップ201において“立上りエッジである”と判別されるので、ステップ202に移行して“第1のタイマTARのカウント値をレジスタT0に代入”が実行されて、ステップ203に移行して第1のタイマTARのカウント値が代入された“レジスタT0の値より速度ω0を算出処理する”が実行されてからステップ208に移行する。そして、ステップ208において“エッジは第1のパルス信号Aである”と判別され、ステップ209に移行して“立上りエッジである”と判別され、ステップ210に移行して“第2のパルス信号Bはローレベルである”と判別され、ステップ212に移行して“位置カウンタPCがプラス1カウント(+1)され”て割り込み処理を終了する。
【0051】
時刻T12で回転検出センサ7の回転体7aが5/4回転し、第2のパルス信号Bが再び立上る。第2のパルス信号Bが立上ると、割り込みルーチンのステップ200において“エッジは第1のパルス信号Aではない”と判別されるのでステップ204に移行し、ステップ204において“立上りエッジである”と判別され、ステップ206に移行して“第2のタイマTBRのカウント値をレジスタT0に代入”が実行されてステップ203に移行して“レジスタT0の値より速度ω0を算出処理する”が実行されてステップ208に移行する。そして、ステップ208において“エッジは第1のパルス信号Aではない”と判別され、ステップ216に移行して“立上りエッジである”と判別され、ステップ217に移行して“第1のパルス信号Aはローレベルではない”と判別され、ステップ220に移行して“位置カウンタPCがプラス1カウント(+1)され”て割り込み処理を終了する。
【0052】
時刻T14において、回転検出センサ7の回転体7aが6/4回転し、第1のパルス信号Aが立下る。第1のパルス信号Aが立下ると、割り込みルーチンのステップ200において“エッジは第1のパルス信号Aである”と判別され、ステップ201に移行して“立上りエッジではない”と判別され、ステップ205に移行して“第3のタイマTAFのカウント値をレジスタT0に代入”が実行されてステップ203に移行して“レジスタT0の値より速度ω0を算出処理する”が実行されてステップ208に移行する。そして、ステップ208において“エッジは第1のパルス信号Aである”と判別され、ステップ209に移行して“立上りエッジではない”と判別され、ステップ211に移行して“第2のパルス信号Bはローレベルではない”と判別され、ステップ215に移行して“位置カウンタPCがプラス1カウント(+1)され”て割り込み処理を終了する。
【0053】
時刻T16において、回転検出センサ7の回転体7aが7/4回転し、第2のパルス信号Bが立下る。第2のパルス信号Bが立下ると、割り込みルーチンのステップ200において“エッジは第1のパルス信号Aではない”と判別され、ステップ204に移行して“立上りエッジではない”と判別され、ステップ207に移行して“第4のタイマTBFのカウント値をレジスタT0に代入”が実行されてステップ203に移行して“レジスタT0の値より速度ω0を算出処理する”が実行されてステップ208に移行する。そして、ステップ208において“エッジは第1のパルス信号Aではない”と判別されるのでステップ216に移行して“立上りエッジではない”と判別され、ステップ218に移行して“第1のパルス信号Aはローレベルである”と判別され、ステップ221に移行して“位置カウンタPCがプラス1カウント(+1)され”て割り込み処理を終了する。
【0054】
上述したように、アーマチュアシャフト6cが正回転を開始してウインドガラス60が開く側に移動を開始することによって、回転検出センサ7が第1のパルス信号A、第2のパルス信号Bを発生すると、第1のタイマTARが回転検出センサ7の回転体7aの一回転毎にアーマチュアシャフト6cの回転周期を計測する。また、この第1のタイマTARに1/4周期ずれて、第2のタイマTBRが回転検出センサ7の回転体7aの一回転毎に、アーマチュアシャフト6cの回転周期を計測する。この第1のタイマTBRに1/4周期ずれて、第3のタイマTAFが回転検出センサ7の回転体7aの一回転毎にアーマチュアシャフト6cの回転周期を計測する。そしてこの第3のタイマTBRに1/4周期ずれて、第4のタイマTBFが回転検出センサ7の回転体7aの一回転毎にアーマチュアシャフト6cの回転周期を計測することによって、ウインドガラス60の移動速度を計測する。またマイクロコンピュータCPUが位置カウンタPCによりウインドガラス60の現在位置を間接的に検出する。
【0055】
このとき、アーマチュアシャフト6cが正回転を開始してウインドガラス60が開く方向に移動を開始した際に、トルク検出ルーチンが同時に実行されている。トルク検出ルーチンにおいては、まずステップ500において“閉動作がセットされていない”と判別されるのでステップ510に移行し、ウインドガラス60が開く方向に移動していることによって“パルスエッジ割り込みルーチンで算出された速度ω0が予め定められた最小値ωminより小さくなっていない”と判別されるので最初のステップ500に戻るルーチンが繰り返し実行される。
【0056】
ウインドガラス60が開く方向に移動している途中で、開スイッチ2がオフ切換えされると、開スイッチ2が発生していた下降指令信号がマイクロコンピュータCPUに取り込まれなくなる。すると、メインルーチンのステップ100において“停止状態がセットされていない”と判別されるのでステップ108に移行して“マニュアル閉状態がセットされていない”と判別されるのでステップ117に移行する。ステップ117において“マニュアル開状態がセットされている”と判別されるのでステップ118に移行して“モータロックの検出はされていない”と判別されるのでステップ119に移行してステップ119において“開スイッチ2がオフ切換えされている”と判別され、ステップ122に移行して“停止状態”をセットして出力ルーチンに移行する。
【0057】
出力ルーチンのステップ300において“停止状態がセットされている”と判別されるのでステップ306に移行して“停止出力”が実行される。“停止出力”が実行されることによって、マイクロコンピュータCPUの出力ポートP7がローレベルになるとともにマイクロコンピュータCPUの出力ポートP8がローレベルになるため、モータ6の第1、第2のブラシ端子6a、6bに電流が供給されなくなり、アーマチュアシャフト6cが正回転を停止することによってウインドガラス60が止まる。
【0058】
ウインドガラス60が停止している際に、開スイッチ2がオン切換えされるとともに自動スイッチ4がオン切換えされると、開スイッチ2よりの下降指令信号、自動スイッチ4よりの自動指令信号がマイクロコンピュータCPUに取り込まれる。すると、メインルーチンのステップ100、ステップ101、ステップ102、ステップ103に移行し、ステップ103において“開スイッチ2はオン切換えされている”と判別されるのでステップ107に移行して“開状態”をセットしてステップ100に戻る。次にメインルーチンにおいてステップ100、ステップ108、ステップ117、ステップ118、ステップ119、ステップ120が実行され、ステップ120において“自動スイッチ4はオン切換えされている”と判別されるのでステップ123に移行して“自動開状態”をセットして出力ルーチンに移行する。
【0059】
出力ルーチンにおいては、ステップ300、ステップ301に移行し、ステップ301、ステップ302、ステップ303、ステップ304が実行され、ステップ304において“自動開状態がセットされている”と判別されるのでステップ310に移行して開駆動出力が連続的に実行される。
【0060】
連続的な開駆動出力によって、モータ6の第1のブラシ端子6aに電源が接続されるとともに、モータ6の第2のブラシ端子6bが接地され、開駆動出力は、その後に開スイッチ2がオフ切換えされてからも続けられるため、アーマチュアシャフト6cが正回転して、ウインドガラス60が開く方向に連続的に移動する。ウインドガラス60は、開く側に移動を続けると、全開位置で車体に衝突することによって移動を阻止される。すると、トルク検出ルーチンのステップ500において“閉動作がセットされていない”と判別されるのでステップ510に移行し、ステップ510において、ウインドガラス60が開く側に移動していることによって“パルスエッジ割り込みルーチンで算出された速度ω0が予め定められた最小値ωminより小さくなる”のでステップ511に移行して“モータロック検知”をセットしてメインルーチンに移行する。
【0061】
メインルーチンのステップ100において“停止状態がセットされていない”と判別されるのでステップ108に移行し、ステップ108、ステップ117、ステップ124に移行して“自動閉状態がセットされていない”と判別されるのでステップ131、ステップ132に移行して“モータロック検知”と判別されるのでステップ134に移行して“停止状態”がセットされて出力ルーチンに移行する。出力ルーチンのステップ300において“停止状態がセットされている”と判別されるのでステップ306に移行して“出力停止”が実行される。そしてウインドガラス60が全開位置で停止する。
【0062】
ウインドガラス60が全開位置に停止している際に、閉スイッチ3がオン切換えされると、閉スイッチ3よりの上昇指令信号がマイクロコンピュータCPUに取り込まれる。すると、メインルーチンにおいてステップ100、ステップ101、ステップ102、ステップ104、ステップ106が実行され、“閉状態(マニュアル閉状態)”がセットされ、出力ルーチンに移行する。そして、出力ルーチンのステップ300、ステップ301が実行され、ステップ307に移行して“閉駆動出力”が実行される。閉駆動出力によって、モータ6の第1のブラシ端子6aが接地されるとともに、モータ6の第2のブラシ端子6bに電源が接続されるため、アーマチュアシャフト6cが逆回転して、ウインドガラス60が閉る方向に移動を開始する。そして、図7に示されるように、モータ6のアーマチュアシャフト6cが時刻T18において逆回転を開始することによって、時刻T19において回転検出センサ7は、第1の信号発生器7bが第1のパルス信号Aを発生し、第1のパルス信号Aに1/4周期の位相差をもって第2の信号発生器7cが第2のパルス信号Bを発生する。
【0063】
時刻T19において第1のパルス信号Aが発生し、第1のパルス信号Aの立上りエッジが検出されると、ステップ200、ステップ201、202、ステップ203を経由して、ステップ203において“第1のタイマTARのカウント値より速度ω0を算出処理する”が実行されてステップ208に移行する。そして、ステップ208、ステップ209、ステップ210、ステップ213が実行されて“位置カウンタPCがマイナス1カウント(−1)され”て割り込み処理が終了する。
【0064】
時刻T21において回転検出センサ7の回転体7aが1/4回転すると、第2のパルス信号Bが立下る。第2のパルス信号Bが立下ると、割り込みルーチンのステップ200、ステップ204、ステップ207、ステップ203が実行され、ステップ203において“第4のタイマTBFのカウント値より速度ω0を算出処理する”が実行されてステップ208に移行する。そしてステップ208、ステップ216、ステップ218、ステップ222が実行されて“位置カウンタPCがマイナス1カウント(−1)され”て割り込み処理を終了する。
【0065】
時刻T23において回転検出センサ7の回転体7aが1/2回転すると、第1のパルス信号Aが立下る。第1のパルス信号Aが立下ると、割り込みルーチンのステップ200、ステップ201、ステップ205、ステップ203が実行され、ステップ203において“第3のタイマTAFのカウント値より速度ω0を算出処理する”が実行されてステップ208に移行する。そして、ステップ208、ステップ209、ステップ211が実行されて“第2のパルス信号Bはローレベルである”と判別されるのでステップ214に移行して“位置カウンタPCがマイナス1カウント(−1)され”て割り込み処理が終了する。
【0066】
時刻T25において、回転検出センサ7の回転体7aが3/4回転すると、第2のパルス信号Bが立上る。ステップ200、ステップ204、ステップ207、ステップ203が実行されて“第4のタイマTBFのカウント値より速度ω0を算出処理する”が実行されてステップ208に移行する。そして、再びステップ208、ステップ216、ステップ217、ステップ219が実行されて“位置カウンタPCがマイナス1カウント(−1)され”て割り込み処理が終了する。
【0067】
時刻T27において回転検出センサ7の回転体7aが1回転すると、第1のパルス信号Aが再び立上る。ステップ200からステップ203が実行され、“第1のタイマTARのカウント値より速度ω0を算出処理する”が実行されてステップ208に移行する。そして、ステップ208、ステップ209、ステップ210ステップ213が実行されて“位置カウンタPCがマイナス1カウント(−1)され”て割り込み処理が終了する。時刻T27以後の、時刻T29の、時刻T31においても同様である。
【0068】
上述したように、アーマチュアシャフト6cが逆回転を開始してウインドガラス60が閉る方向に移動を開始することによって、回転検出センサ7が第1のパルス信号A、第2のパルス信号Bを発生すると、第1のタイマTAR、第2のタイマTBF、第3のタイマTAF、第4のタイマTBRが回転検出センサ7の回転体7aの一回転毎に、アーマチュアシャフト6cの回転周期を計測することによって、ウインドガラス60の移動速度を計測する。またマイクロコンピュータCPUが位置カウンタPCによりウインドガラス60の現在位置を間接的に検出する。
【0069】
アーマチュアシャフト6cが逆回転を開始してウインドガラス60が閉る方向に移動を開始した際に、トルク検出ルーチンが同時に実行されている。トルク検出ルーチンのステップ500において“閉動作がセットされている”と判別されると、ステップ501に移行して“速度データω0が更新されている”と判別されるのでステップ502に移行して“電源電圧レベルV0を検出する”が実行されてステップ503に移行する。ステップ503において“補正電源電圧レベルV´0を算出する”が実行され、ステップ504において“速度データω0、補正電源電圧レベルV´0によりトルクTL0を算出する”が実行され、ステップ505において“パルスカウントPCが反転領域の限界値(絶対値)PCXよりも大きくない”と判別されるとステップ508に移行する。
【0070】
ステップ508においてはトルクデータの更新が行われる。トルクデータの更新は、以前のルーチンで蓄積されているTLnからTL1までのトルクデータを1つシフトすることによって行われる。そして、ステップ509において挟み込み判定値TLref を算出する。挟み込み判定値TLref は、図18に示されるように、トルクデータTLnからTL1までのなかでの最小値TLmin に、予め定められた値TLADD (定数)を加算することによって得られる。挟み込み判定値TLref (=TLmin +TLADD )はステップ504において得られたトルクTL0との比較に用いられる。マイクロコンピュータCPUは、トルクTL0が挟み込み判定値TLref よりも大きくなったとき反転動作が行なわれる。
【0071】
反転許可領域内で障害物の挟み込みが発生すると、トルク検出ルーチンのステップ500、ステップ501、ステップ502、ステップ503、ステップ504が実行され、ステップ505において“位置カウンタPCのカウント値が反転領域の限界値(絶対値)PCXよりも大きい”と判別され、ステップ506に移行する。ステップ506において、挟み込みによって“トルクTL0が挟み込み判定値TLref よりも大きくなっている”と判別されるのでステップ507に移行して“反転要求”が実行され、メインルーチンに移行する。メインルーチンにおいて、ステップ100、ステップ108、ステップ117、ステップ124が実行されてステップ125に移行し、ステップ125において“反転要求がセットされている”と判別されるのでステップ128に移行して“停止状態”をセットして出力ルーチンに移行する。
【0072】
出力ルーチンのステップ300において“停止状態がセットされている”と判別されるのでステップ306に移行して“停止出力”が実行され、メインルーチンに移行する。“停止出力”が実行されることによって、ウインドガラス60が止まる。そして、メインルーチンにおいて、ステップ100からステップ101に移行し、ステップ101において“反転要求がセットされている”と判別されるのでステップ105に移行して“反転状態をセット”が実行されて出力ルーチンに移行する。
【0073】
出力ルーチンにおいて、ステップ300、ステップ301、ステップ302に移行し、そしてステップ303、ステップ304、ステップ305に移行し、ステップ305において“反転状態がセットされている”と判別されるのでステップ311に移行して“開駆動出力”が実行される。マイクロコンピュータCPUの第1の出力ポートP7がハイレベルになるとともにマイクロコンピュータCPUの第2の出力ポートP8がローレベルになり、モータ6の第2のブラシ端子6bが接地されている状態でモータ6の第1のブラシ端子6aに電源の電位が与えられるため、モータ6のアーマチュアシャフト6cが正回転することによってウインドガラス60が開く側に反転移動される。
【0074】
アーマチュアシャフト6cが正回転を開始すると、メインルーチンにおいてステップ100、ステップ108、ステップ117、ステップ124、ステップ131、ステップ136、ステップ137が実行され、ステップ138に移行する。ステップ138は、ウインドガラス60が予め定められた位置まで下降したところでウインドガラス60を停止させるためのステップである。反転を開始した当初は、ステップ138において“位置カウンタPCのカウント値が予め定められた反転停止カウントPCreを越えない”と判別されるのでステップ100に復帰してメインルーチンが繰り返される。ウインドガラス60が予め定められた位置まで下降したことによって“パルスカウントPCが予め定められた反転停止カウントPCreを越えた”と判別されると、ステップ138からステップ140に移行して“停止状態”をセットして出力ルーチンに移行する。そして、出力ルーチンのステップ300においての判別で“停止状態がセットされている”と判別されるのでモータ6の第1、第2のブラシ端子6a、6bに電流が供給されなくなって、ウインドガラス60が止まる。
【0075】
ウインドガラス60が全開位置に近いところで障害物の挟み込みが発生した場合、アーマチュアシャフト6cが正回転に反転を開始した場合、パルスカウントPCが予め定められた反転停止カウントPCreを越える以前にウインドガラス60が全開位置に到達して移動を阻止されるため、ステップ511に移行して“モータロック検知”がセットされてメインルーチンが実行され、そして、メインルーチンにおいてステップ136、ステップ137、ステップ139で“停止状態”がセットされ、出力ルーチンのステップ300ステップ306に移行して“停止出力”が実行され、ウインドガラス60が全開位置で停止する。
【0076】
図19には、この発明に係わるパワーウインド制御装置の第2の実施例が示されている。この場合のパワーウインド制御装置1は、電源電圧検出回路23が、抵抗R1,コンデンサC1からなる電圧補正手段としての電圧補正部23aと、抵抗R2,抵抗R3からなる電源電圧検出部23bとから構成されている。抵抗R1,コンデンサC1からなる電圧補正部23aの時定数は、モータ6の回転数の変化の時定数に略等しく設定されている。そしてイグニションスイッチ5がオン切換えされると、電圧補正部23aによって積分された電源50の電圧信号が電源電圧検出部23bに与えられ、電源電圧検出部23bによって電源50の変動に応じた電圧信号がモータトルク算出手段27に与えられる。そして、この場合も第1の実施例と同様に制御動作が行われる。
【0077】
図20ないし図22には、この発明に係わるパワーウインド制御装置の第3の実施例のタイムチャートが示されており、回転検出センサ7の回転体7aに4極のマグネットが使用されている。
【0078】
この場合、回転検出センサ7の回転体7aには、一対のN極および一対のS極が対向配置されている。そのため、回転検出センサ7は、回転体7aが回転することによって、第1の信号発生器7bが発生する第1のパルス信号Aに対して、1/8周期ずれて第2の信号発生器7cから第2のパルス信号Bが発生する。そして、マイクロコンピュータCPUには、図22に示されるように、第1のタイマTAR1、第2のタイマTBR1、第3のタイマTAF1、第4のタイマTBF1、第5のタイマTAR2、第6のタイマTBR2、第7のタイマTAF2、第8のタイマTBF2がそれぞれ内蔵されており、他の部位は第1の実施例と同様になっている。
【0079】
そして、この場合も、アーマチュアシャフト6cが正回転を開始してウインドガラス60が開く側に移動を開始することによって、回転検出センサ7が第1のパルス信号A、第2のパルス信号Bを発生すると、第1のタイマTAR1が回転検出センサ7の回転体7aの一回転毎にカウントを行い、この第1のタイマTAR1に1/8周期ずれて、第2のタイマTBR1が回転検出センサ7の回転体7aの一回転毎にカウントを行い、この第1のタイマTBR1に1/8周期ずれて、第3のタイマTAF1、第4のタイマTBF1、第5のタイマTAR2、第6のタイマTBR2、第7のタイマTAF2、第8のタイマTBF2が回転検出センサ7の回転体7aの一回転毎にカウント行い、マイクロコンピュータCPUがウインドガラス60の現在位置を検出するものとなる。
【0080】
【発明の効果】
以上説明したように、本発明のパワーウインド制御装置では、回転検出センサの回転信号発生器が発生した回転信号により前記モータの回転速度を算出して回転速度信号を発生するモータ回転速度算出手段、電源の電位を検出して電圧信号に変換する電源電圧検出回路、電源電圧検出回路より与えられた電圧信号に、前記モータの回転数の変化の時定数に略等しい時定数の補正を加えた補正データ信号を発生する電圧補正手段、補正データ信号とモータ回転速度算出手段より与えられたモータの回転速度信号とによりモータのトルクの補正データを算出し、閉スイッチがウインドガラスを上昇させる上昇指令信号を発生して、前記駆動制御手段が上昇駆動信号を前記駆動手段に供給している間に、前記電圧補正手段より与えられたモータのトルクの補正データが予め設定された判定値を越えて増加した際に、ウインドガラスを下降させるための下降要求信号を前記駆動制御手段に供給するモータトルク算出手段を備え、電源の電圧が変化した場合に、モータのトルクの補正データを算出して、この補正データと判定値とを比較して、ウインドガラスが障害物を挟み込んだ状態を検出するので、障害物の挟み込みの誤認識を防止することができる。
【図面の簡単な説明】
【図1】この発明に係わるパワーウインド制御装置の第1の実施例のブロック構成図である。
【図2】図1に示したパワーウインド制御装置の制御を説明する説明図である。
【図3】図1に示したパワーウインド制御装置の制御を説明する説明図である。
【図4】図1に示したパワーウインド制御装置の制御を説明する説明図である。
【図5】図1に示したパワーウインド制御装置の制御を説明する説明図である。
【図6】図1に示したパワーウインド制御装置の動作を説明するタイミングチャートである。
【図7】図1に示したパワーウインド制御装置の動作を説明するタイミングチャートである。
【図8】図1に示したパワーウインド制御装置においてのパルスカウント算出処理の説明図である。
【図9】図1に示したパワーウインド制御装置においてのタイマ割り込みのフローチャートである
【図10】図1に示したパワーウインド制御装置においてのパルスによる作動方向の検出処理の説明図である。
【図11】図1に示したパワーウインド制御装置の制御動作に用いるメインルーチンのフローチャートである。
【図12】図1に示したパワーウインド制御装置の制御動作に用いるメインルーチンのフローチャートである。
【図13】図1に示したパワーウインド制御装置の制御動作に用いるメインルーチンのフローチャートである。
【図14】図1に示したパワーウインド制御装置の制御動作に用いる出力ルーチンのフローチャートである。
【図15】図1に示したパワーウインド制御装置の制御動作に用いるパルスエッジ割り込みルーチンのフローチャートである。
【図16】図1に示したパワーウインド制御装置の制御動作に用いるパルスエッジ割り込みルーチンのフローチャートである。
【図17】図1に示したパワーウインド制御装置の制御動作に用いるトルク検出ルーチンのフローチャートである。
【図18】図1に示したパワーウインド制御装置のトルク検出処理の説明図である。
【図19】この発明に係わるパワーウインド制御装置の第2の実施例のブロック構成図である。
【図20】この発明に係わるパワーウインド制御装置の第3の実施例の動作を説明するタイミングチャートである。
【図21】図20に示したパワーウインド制御装置の動作を説明するタイミングチャートである。
【図22】図20に示したパワーウインド制御装置のタイマの制御動作を説明するタイミングチャートである。
【符号の説明】
1 パワーウインド制御装置
2 開スイッチ
3 閉スイッチ
6 モータ
6c アーマチュアシャフト
7 回転検出センサ
23 電源電圧検出回路
24 駆動手段
25 電圧補正手段
26 モータ回転速度算出手段
27 モータトルク算出手段
28 駆動制御手段
50 電源
60 ウインドガラス
CPU マイクロコンピュータ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a power window control device that drives a window glass of an automobile. In particular, when the window glass is moved in a closing direction, torque data of the motor is determined in advance while the window glass moves a predetermined distance. The present invention relates to a power window control device that reversely moves in a direction to open a window glass that is moving in a closing direction when it increases beyond a given value.
[0002]
[Prior art]
As a power window control device for driving a window glass of an automobile, an apparatus in which an armature shaft provided in a motor is coupled to a window glass via a glass elevator is known. A rotation detection sensor is coupled to the armature shaft of the motor. The rotation detection sensor includes a magnet mounted on an armature shaft and a hall element disposed around the magnet. When the armature shaft rotates, the magnet rotates. When the magnet rotates, a pulsed detection signal (Hall voltage) is generated from the Hall element. Therefore, the rotation of the armature shaft is detected by detecting the pulse width of the detection signal by the controller. A number is calculated. When the rotational speed of the armature shaft is detected and the rotational speed of the motor decreases, it is recognized that the window glass has caught an obstacle, and the movement of the window glass is reversed to prevent the obstacle from being caught.
[0003]
[Problems to be solved by the invention]
In the above power window control device, when the potential of the battery power supply suddenly decreases due to the operation of lighting equipment or the like, the motor rotation speed gradually decreases. There was a problem that it may be mistakenly recognized as having occurred and the movement of the wind glass may be reversed.
[0004]
OBJECT OF THE INVENTION
It is an object of the present invention to provide a power window control device that does not easily make an erroneous recognition of an obstacle being caught even if the potential of a battery power supply suddenly drops.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, in the present invention, when the power supply voltage changes, the correction data of the motor torque is calculated according to the change of the power supply voltage, and the correction data is compared with the judgment value. Thus, the state in which the window glass sandwiches the obstacle is detected, and erroneous recognition of the obstacle sandwiching is prevented.
[0006]
DETAILED DESCRIPTION OF THE INVENTION
The power window control device of the present invention is connected to a rotation detection sensor, calculates a rotation speed of the motor based on a rotation signal generated by the rotation detection sensor, and is connected to a motor rotation speed calculation means for generating a rotation speed signal, and a power source. A power supply voltage detection circuit for detecting a voltage of the power supply and converting it into a voltage signal; connected to the power supply voltage detection circuit;changeA voltage correction means for generating a correction data signal obtained by adding a correction of a time constant substantially equal to the time constant, a correction data signal given from the voltage correction means, a motor rotation speed signal given from a motor rotation speed calculation means, The correction data of the torque of the motor is calculated by the above, the voltage correction is performed while the closed switch generates the ascending command signal for raising the window glass and the drive control means supplies the ascending drive signal to the driving means. Motor torque calculating means for supplying a lowering request signal for lowering the window glass to the drive control means when the correction data of the motor torque given by the means increases beyond a predetermined judgment value. .
[0007]
【Example】
1 to 18 show a first embodiment of a power window control device according to the present invention. The illustrated power window control apparatus 1 mainly includes an open switch 2, a close switch 3, an automatic (one-touch) switch 4, an ignition switch (IG switch) 5, a power supply 50, a motor 6, a rotation detection sensor 7, and a control unit 20. The control unit 20 includes a constant voltage circuit 21, a reset circuit 22, a power supply voltage detection circuit 23, a microcomputer CPU, and driving means 24.
[0008]
The open switch 2 generates a lowering command signal when turned on. The lowering command signal generated by the open switch 2 is given to the input port P1 of the microcomputer CPU provided in the control unit 20 through a voltage clamp circuit (not shown).
[0009]
The close switch 3 generates an ascending command signal when switched on. The ascending command signal generated by the closing switch 3 is given to the input port P2 of the microcomputer CPU provided in the control unit 20 through a voltage clamp circuit (not shown).
[0010]
The automatic switch 4 generates an automatic command signal when switched on. The automatic command signal generated by the automatic switch 4 is given to the input port P3 of the microcomputer CPU provided in the control unit 20 through a voltage clamp circuit (not shown).
[0011]
One of the ignition switches 5 is connected to the power supply 50, and the other is connected to the power supply voltage detection circuit 23 provided in the control unit 20. The ignition switch 5 is turned on to apply the potential of the power supply 50 to the power supply voltage detection circuit 23.
[0012]
One of the power supply voltage detection circuits 23 is connected to the ignition switch 5, and the other is connected to the voltage detection port P4 of the microcomputer CPU. When an illumination device such as a headlight or an air conditioner such as a defogger or an air conditioner is activated, the potential of the power supply 50 is lowered. The power supply voltage detection circuit 23 converts the potential of the power supply 50 into a voltage signal. The fluctuation voltage signal converted by the power supply voltage detection circuit 23 is given to the voltage detection port P4 of the microcomputer CPU. The fluctuation voltage signal is taken into the voltage correction means 25 built in the microcomputer CPU.
[0013]
One of the constant voltage circuits 21 is connected to the ignition switch 5 and the other is connected to the regulator port P5 of the microcomputer CPU. The constant voltage circuit 21 applies a predetermined microcomputer drive voltage to the regulator port P5 of the microcomputer CPU when the ignition switch 5 is turned on.
[0014]
One of the reset circuits 22 is connected to the power supply 50, and the other is connected to the reset port P6 of the microcomputer CPU. The reset circuit 22 includes a power supply 50InControl unit 20ButWhen connected, the microcomputer CPU is reset to an initial state by setting the reset port P6 of the microcomputer CPU to a low level for a predetermined time.
[0015]
The driving means 24 isConnected to a drive control means 28 (described later) and supplied with an ascending drive signal from the drive control means 28, the motor 6 is supplied with an ascending current for raising the window glass 60 of the vehicle and descends from the driving control means 28. When the drive signal is supplied, the motor 6 is supplied with a descending current for driving the window glass 60 of the vehicle to descend. thisThe driving means 24 is constituted by a relay or a switching transistor, and one is connected to the output port P7 and the output port P8 of the microcomputer CPU, respectively, and the other is a first brush terminal 6a provided to the motor 6 and a second brush terminal 6a. Are connected to the brush terminals 6b.
[0016]
The driving means 24 applies a low level voltage to the second brush terminal 6b of the motor 6 by causing the output port P7 of the microcomputer CPU to become high level and the output port P8 of the microcomputer CPU to become low level. A high level voltage is applied from the power source 50 to the first brush terminal 6a of the motor 6. At this time, the motor 6 rotates forward. On the other hand, the driving means 24 is connected to the first brush terminal 6a of the motor 6 when the output port P7 of the microcomputer CPU becomes low level and the output port P8 of the microcomputer CPU becomes high level. A level voltage is applied, and a high level voltage is applied from the power source 50 to the second brush terminal 6 b of the motor 6. At this time, the motor 6 rotates in the reverse direction.
[0017]
In the motor 6, an armature shaft 6c provided in an armature (not shown) is coupled to the window glass 60 via a glass elevator (not shown). When the armature shaft 6c of the motor 6 rotates forward, the window glass 60 moves in the opening direction. On the contrary, when the armature shaft 6c of the motor 6 rotates in the reverse direction, the window glass 60 moves in the closing direction. A rotation detection sensor 7 is coupled to the armature shaft 6 c of the motor 6.
[0018]
As shown in FIG. 6, the rotation detection sensor 7 includes a rotating body 7a, a first signal generator 7b, and a second signal generator 7c. The rotating body 7a includes a magnet in which a single N pole and a single S pole are arranged to face each other. Since the center of the rotating body 7a is concentrically coupled to the armature shaft 6c of the motor 6, the rotating body 7a rotates together with the armature shaft 6c. The first and second signal generators 7b and 7c are arranged around the rotating body 7a. Each of the first and second signal generators 7b and 7c is a Hall element, and is arranged in a non-contact manner with the rotating body 7a. The first signal generator 7b and the second signal generator 7c are arranged with a range of 90 degrees on the circumference of the rotating body 7a.
[0019]
The first signal generator 7b has a power supply terminal connected to the constant voltage circuit 21, a ground terminal connected to the ground, and a Hall voltage output terminal connected to the first rotation detection port P9 of the microcomputer CPU. . As shown in FIG. 6, the first signal generator 7b ismagnetA threshold THS for the S pole ofmagnetSince the threshold THN for the N pole ofmagnetWhen the rotating body 7a rotates from the boundary line between the S pole and the N pole to a position at a predetermined angle on the S pole side, a Hall voltage is generated by the threshold THS,magnetWhen the rotating body 7a rotates from the boundary line between the S pole and the N pole to a position at a predetermined angle on the N pole side, the Hall voltage disappears due to the threshold value THN.
[0020]
The second signal generator 7c has a power supply terminal connected to the constant voltage circuit 21, a ground terminal connected to the ground, and a Hall voltage output terminal connected to the second rotation detection port P10 of the microcomputer CPU. . The second signal generator 7c is similar to the first signal generator 7b.6As shown inmagnetA threshold THS for the S pole ofmagnetHas a threshold THN for N poles ofmagnetWhen the rotating body 7a rotates from the boundary line between the S pole and the N pole to a position at a predetermined angle on the S pole side, a Hall voltage is generated by the threshold THS,magnetWhen the rotating body 7a rotates from the boundary line between the S pole and the N pole to a position at a predetermined angle on the N pole side, the Hall voltage disappears due to the threshold value THN.
[0021]
As the armature shaft 6c rotates forward, the rotating body 7a rotates forward together with the armature shaft 6c. Therefore, as shown in FIG. 6, the first pulse signal A is generated from the first signal generator 7b of the rotation detection sensor 7. Is generated, and the first pulse signal A is taken into the first rotation detection port P9 of the microcomputer CPU. Then, the second pulse signal B is generated from the second signal generator 7c with a quarter period shift from the first pulse signal A by the rotation of the armature shaft 6c, and the second rotation detection port of the microcomputer CPU. The second pulse signal B is taken into P10.
[0022]
The microcomputer CPU includes a voltage correction means 25, a motor rotation speed calculation means 26, a motor torque calculation means 27, a drive control means 28, a position counter (not shown) for storing the position of the window glass 60, and a clock for timing (see FIG. (Not shown).
[0023]
The drive control means 28 is an input port of the microcomputer CPU. P 1, P 2 and P 3 are connected to each other. Input port by opening switch 2 P When the lowering command signal is given to 1, the drive control means 28 generates the lowering driving signal, and the microcomputer CPU output port P 7 is set to high level and the output port P Set 8 to a low level. Also, the input port can be switched by turning on the closing switch 3. P 2 is given a rise command signal, the drive control means 28 generates a rise drive signal, and the output port P 7 with low level and output port P Make 8 high.
[0024]
Lowering command signal is given to input port P1, and output port P 7 goes high and the output port P When 8 becomes low level, the driving means 24 generates a forward rotation drive signal, applies a low level voltage to the second brush terminal 6b of the motor 6, and supplies power to the first brush terminal 6a of the motor 6 from the power source 50. A high level voltage is applied, that is, a descending current for driving the window glass 60 of the vehicle to descend is supplied to the motor 6, and the window glass 60 is manually opened.In the microcomputer CPU, an ascending command signal is given to the input port P2., Output port P 7 goes low and the output port P 8 goes highThen, the drive means 24 generates a reverse rotation drive signal, applies a low level voltage to the first brush terminal 6a of the motor 6, and applies a high level voltage from the power source 50 to the second brush terminal 6b of the motor 6. Give,That is, the motor 6 is supplied with an ascending current that causes the window glass 60 of the vehicle to ascend and drive,The window glass 60 is manually closed.
[0025]
The open switch 2 is turned on, a lowering command signal is given to the input port P1, andAutomatic switch 4When an automatic command signal is given to the input port P3 fromSince the drive control means 28 generates a descending drive signal,The drive means 24 generates a forward rotation drive signal, and a low level voltage is applied to the second brush terminal 6b of the motor 6, and a high level voltage is applied from the power source 50 to the first brush terminal 6a of the motor 6. IsRu. And open switch 2 switches offEven ifThe drive means 24 is a forward rotation drive signal.RaisedThen, a low level voltage is applied to the second brush terminal 6b of the motor 6, and a high level voltage is applied from the power source 50 to the first brush terminal 6a of the motor 6.ContinueThe window glass 60 is in an automatically opened state as it is continuously applied.
[0026]
The closed switch 3 is turned on, a rising command signal is given to the input port P2, andAutomatic switch 4When an automatic command signal is given to the input port P3 fromSince the drive control means 28 generates a rising drive signal,The drive means 24 generates a reverse rotation drive signal, and a low level voltage is applied to the first brush terminal 6a of the motor 6, and a high level voltage is applied from the power source 50 to the second brush terminal 6b of the motor 6. It is done. And closed switch 3 is switched offEven if, Driving means 24Is reverse rotationDrive signalRaisedThen, a low level voltage is applied to the first brush terminal 6a of the motor 6, and a high level voltage is applied to the second brush terminal 6b of the motor 6 from the power source 50.ContinueThe window glass 60 continues to be automatically closed.
[0027]
When the power supply voltage detection circuit 23 detects the change ΔV in the voltage of the power supply 50 as shown in FIG. 2, the voltage correction means 25 generates a fluctuation voltage signal given by the time constant T0 as shown in FIG. Correction data is calculated. The correction data calculated by the voltage correction means 25 is used by the motor torque calculation means 27. As shown in FIG. 4, the time constant T0 is selected to be approximately equal to the time constant Tm of the change in the rotational speed of the motor 6 when the voltage of the power supply 50 changes by ΔV.
[0028]
The motor rotation speed calculation means 26 calculates the rotation speed data of the armature shaft 6c of the motor 6 using the free running counter FRC, the first, second, third, and fourth timers TAR, TBR, TAF, and TBF. Means. The function of the free running counter FRC (8 bits) is shown in FIG. 8, and the functions of the first, second, third, and fourth timers TAR, TBR, TAF, and TBF are shown in FIG.
[0029]
As shown in FIG. 5, the motor torque calculation means 27 uses the correction data given by the voltage correction means 25 and the rotation speed data of the armature shaft 6c of the motor 6 given by the motor rotation speed calculation means 26 as shown in FIG. Torque data TL (TL = AV ′ (t) −Bω (t), A and B are constants) are calculated.
[0030]
The drive control means 28 processes the lowering command signal given from the open switch 2, the raising command signal given from the closing switch 3, and the automatic command signal given from the automatic switch 4 to the driving means 24. It has a function of generating a forward rotation drive signal or a reverse rotation drive signal. Further, when the torque data given from the motor torque calculation means 27 is larger than a preset value, the drive control means 28 determines that an obstacle is sandwiched between the window glasses 60 and generates a forward rotation drive signal. .
[0031]
The free running counter FRC is counted up in synchronization with the clock, and as shown in FIG. 8, the free running counter FRC overflows when the count value becomes FF (16). Reset. When the free running counter FRC is reset, the microcomputer CPU executes a timer interrupt shown in FIG. In the timer interrupt, the first timer TAR is incremented in step 400 and the process proceeds to step 401. In step 401, the second timer TBR is incremented and the process proceeds to step 402. In step 402, the third timer TAF is incremented. Then, the process proceeds to step 403, where a routine for incrementing the fourth timer TBF is executed in step 403.
[0032]
As shown in FIG. 6, the first timer TAR isTimes of DayFrom the rising edge of the first pulse signal A generated by the first signal generator 7b of the rotation detection sensor 7 at T2, the first signal generator 7b is generated at time T10 when the rotator 7a subsequently makes one rotation. This is a 16-bit memory that measures the time until the rising edge of the first pulse signal A for each rotation of the rotating body 7a. The first timer TAR is reset to “0” count after the data is transferred to the register T0.
[0033]
As shown in FIG. 6, the second timer TBR starts from the rising edge of the second pulse signal B generated by the second signal generator 7c of the rotation detection sensor 7 at time T4. This is a 16-bit memory that measures the time until the rising edge of the second pulse signal B generated by the second signal generator 7c at the time T12 when the rotation of the rotating body 7a is performed. The second timer TBR is reset to the “0” count after the data is transferred to the register T0.
[0034]
As shown in FIG. 6, the third timer TAF starts from the falling edge of the first pulse signal A generated by the first signal generator 7b of the rotation detection sensor 7 at time T6, and thereafter the rotating body 7a. Is a 16-bit memory that measures the time until the falling edge of the first pulse signal A generated by the first signal generator 7b at the time T14 when one rotation of the rotating body 7a is performed. The third timer TAF is reset to “0” count after the data is transferred to the register T0.
[0035]
As shown in FIG. 6, the fourth timer TBF starts from the falling edge of the second pulse signal B generated by the second signal generator 7c of the rotation detection sensor 7 at time T8, and thereafter the rotating body 7a. Is a 16-bit memory that measures the time until the falling edge of the second pulse signal B generated by the second signal generator 7c at the time T16 when one rotation of the rotating body 7a is performed. The fourth timer TBF is reset to “0” count after data is transferred to the register T0.
[0036]
In the microcomputer CPU, when a pulse edge is detected at time K shown in FIG. 8, a pulse edge interruption routine is executed. Then, the value of the upper byte (H) of the first, second, third and fourth timers TAR, TBR, TAF, TBF processed by the timer interrupt and the value of the lower byte (L) of the free running counter FRC Is required. At this time, if t1 ≧ t0, TAR (L) = t1−t0. On the other hand, if t1 <t0, TAR (H) = TAR (H) −1 and TAR (L) = t1 + (FF−t0). t0 is the counter value of the free running counter FRC when the previous pulse edge is detected, and t1 is the counter value of the free running counter FRC when the current pulse edge is detected. The microcomputer CPU calculates a value that enters the first, second, third, and fourth timers TAR, TBR, TAF, and TBF according to the magnitude relationship between t0 and t1.
[0037]
Then, as shown in FIG. 10, the microcomputer CPU detects that the armature shaft 6c of the motor 6 is in the case where the second pulse signal B is at the low level when the rising edge of the first pulse signal A is detected. Recognizing that the window glass 60 has moved in the forward direction and opened, the second pulse signal B goes high when the rising edge of the first pulse signal A is detected. It is recognized that there is a case where the armature shaft 6c of the motor 6 rotates in the reverse direction and the window glass 60 moves to the closing side. Further, the microcomputer CPU sets the counter value PC of the position counter (not shown) when the window glass 60 is in the fully closed position to “0”, and the window value 60 is fully closed from the counter value PC “0”. Up to the counter value PCX when moving slightly from the position to the opening side is defined as a range in which the automatic reversing operation of the window glass 60 is not performed, and the counter value of the window glass 60 from the counter value PCX to the fully opened position is determined. Is defined as a range in which the window glass 60 is reversed. The counter value of the position counter is normally incremented when the window glass 60 moves in the opening direction, and is decremented when the window glass 60 moves in the closing direction.
[0038]
The microcomputer CPU receives the torque data of the motor 6 supplied from the motor torque calculation means 27 while the window glass 60 moves a predetermined distance when the drive means 24 is generating the reverse rotation drive signal. When the value exceeds a predetermined value, the drive control means 28 stops the generation of the reverse rotation drive signal of the drive means 24, generates the positive rotation side drive signal, and moves in the closing direction. Reverse movement in the direction to open 60.
[0039]
As described above, in the power window control device according to the present invention, when the voltage of the power supply 50 drops to the voltage V (t) at time a shown in FIG. The voltage correction means 25 calculates correction data (corrected power supply voltage V ′ (t)) based on the applied voltage signal. At this time, as shown in FIG. 4, the rotation speed ω (t) of the motor 6 calculated by the motor rotation speed calculation means 26 decreases in accordance with a decrease in the voltage of the power supply 50. However, in the microcomputer CPU, as shown in FIG. 5, the corrected power supply voltage V ′ (t) obtained by the voltage correcting means 25 and the rotational speed ω () of the motor 6 obtained by the motor rotational speed calculating means 26. t), the motor torque detecting means 27 detects the detected torque TL (t) based on the detected torque TL (t) = AV ′ (t) −Bω (t), so that the detected torque TL (t) is There is no sudden change in synchronization with the voltage drop of the power supply 50. That is, even if the voltage of the power supply 50 suddenly drops, the detection torque TL (t) does not drop sharply, so that erroneous detection of pinching is not easily performed.
[0040]
The above power window control device 1 includes the main routine shown in FIG. 13 without FIG. 11, the output routine shown in FIG. 14, the pulse edge interrupt routine shown in FIGS. 15 and 16, and the torque detection routine shown in FIG. To control the movement of the window glass 60.
[0041]
If the ignition switch 5 is turned on and the open switch 2, the close switch 3, and the automatic switch 4 are not turned on, it is determined in step 100 of the main routine that "the stop state has been set". Since it is determined that “the reversal request is not set”, the process proceeds to step 102 and “closed switch 3 is not on”. Therefore, the process proceeds to step 103 and “open switch 2 is not on”. Return to step 100.
[0042]
In step 300 of the output routine, it is determined that the state is “stopped”. Therefore, the process proceeds to step 306 and “output stop” is executed.
[0043]
If none of the open switch 2, the close switch 3, and the automatic switch 4 is turned on, the output ports P7 and P8 of the microcomputer CPU are all at a low level, the drive means 24 does not operate, and the motor 6 is supplied with current. Is not supplied, the window glass 60 is stopped at the fully closed position.
[0044]
When the ignition switch 5 is turned on in the state where the window glass 60 is in the fully closed position, and the open switch 2 is turned on at time T1 shown in FIG. 6, the down command signal generated by the open switch 2 is sent to the microcomputer. Captured by the CPU. In step 100, since it is still determined that “stop state is set”, the process proceeds to step 101, step 102, and step 103, and it is determined that “open switch 2 is ON”. “Transition to open state” is executed, and the process proceeds to the output routine.
[0045]
In step 300 of the output routine, it is determined that “it is not in a stopped state”. Therefore, the process proceeds to step 301 and “is not in a manual closed state”. Therefore, the process proceeds to step 302 and is determined as “manually open state”. Then, “open drive output” is executed. When the “open drive output” is executed, the first output port P7 of the microcomputer CPU becomes high level, the second output port P8 of the microcomputer CPU becomes low level, and the second output port of the motor 6 becomes low. Since the potential of the power source is applied to the first brush terminal 6a of the motor 6 while the brush terminal 6b is grounded, the armature shaft 6c rotates forward and the window glass 60Descend.
[0046]
Direction that the armature shaft 6c starts to rotate forward at time T1 and the window glass 60 opens.I.e. descending directionWhen the movement is started at time T2, the rotation detection sensor 7 of the rotation detection sensor 7 generates the first pulse signal A by the first signal generator 7b. When the first pulse signal A is generated at time T2 and the rising edge of the first pulse signal A is detected, it is determined in step 200 of the pulse edge interrupt routine that “the edge is the first pulse signal A”. Therefore, the process proceeds to step 201, where it is determined that it is a “rising edge”. Therefore, the process proceeds to step 202, where “assign the count value of the first timer TAR to the register T0” is executed, and steps 203 to 208 are performed. Migrate to Then, the process proceeds to step 208. In step 208, it is determined that “the edge is the first pulse signal A”. Therefore, the process proceeds to step 209 and is determined to be “rising edge”. Since it is determined that the signal B is at the low level, the process proceeds to step 212, where “the position counter PC is incremented by 1 (+1)”, and the interruption process is completed.
[0047]
At time T4, when the rotating body 7a of the rotation detection sensor 7 rotates 1/4, the second pulse signal B rises. When the second pulse signal B rises, it is determined in step 200 of the interrupt routine that “the edge is not the first pulse signal A”, so that the process proceeds to step 204 and is determined to be “rising edge”. The process proceeds to step 206 where “substitute the count value of the second timer TBR into the register T0” is executed, the process proceeds to step 203, and the process proceeds from step 203 to step 208. In step 208, it is determined that “the edge is not the first pulse signal A”, so that the process proceeds to step 216 and is determined to be “rising edge”. It is determined that the signal A is not at a low level, and the process proceeds to step 220 where “the position counter PC is incremented by 1 (+1)” and the interrupt process is completed.
[0048]
At time T6, the rotating body 7a of the rotation detection sensor 7 makes a 1/2 rotation, and the first pulse signal A falls. When the first pulse signal A falls, in step 200 of the interrupt routine, it is determined that “the edge is the first pulse signal A”, so that the process proceeds to step 201 and is determined as “not a rising edge”. Therefore, the process proceeds to step 205 where “substitute the count value of the third timer TAF into the register T0” is executed, the process proceeds to step 203, and the process proceeds from step 203 to step 208. When it is determined in step 208 that “the edge is the first pulse signal A”, the process proceeds to step 209 and “is not a rising edge”. It is determined that the pulse signal B is not at a low level ", the process proceeds to step 215," the position counter PC is incremented by 1 (+1) ", and the interrupt process ends.
[0049]
At time T8, the rotating body 7a of the rotation detection sensor 7 rotates 3/4, and the second pulse signal B falls. When the second pulse signal B falls, it is determined in step 200 of the interrupt routine that “the edge is not the first pulse signal A”, and the process proceeds to step 204 where “not the rising edge” is determined. The process proceeds to step 207 where “substitute the count value of the fourth timer TBF into the register T0” is executed, and the process proceeds from step 203 to step 208. Then, in step 208, it is determined that “the edge is not the first pulse signal A”. Therefore, the process proceeds to step 216, where it is determined that “the edge is not a rising edge”, and the process proceeds to step 218. It is determined that “A is at a low level”, the process proceeds to step 221, “the position counter PC is incremented by 1 (+1)”, and the interrupt process is completed.
[0050]
At time T10, the rotating body 7a of the rotation detection sensor 7 finishes one rotation and enters the second rotation, so the first pulse signal A rises again. When the first pulse signal A rises, it is determined in step 200 of the interrupt routine that “the edge is the first pulse signal A”, the process proceeds to step 201, and in step 201, it is determined that it is “rising edge”. Therefore, the process proceeds to step 202 and “assign the count value of the first timer TAR to the register T0” is executed, and the process proceeds to step 203 and the count register of the count value of the first timer TAR is substituted. After “calculate speed ω0 from value of T0” is executed, the routine proceeds to step 208. In step 208, it is determined that “the edge is the first pulse signal A”, the process proceeds to step 209, where it is determined that the edge is a rising edge, and the process proceeds to step 210, where “the second pulse signal B Is determined to be “low level”, the process proceeds to step 212, “the position counter PC is incremented by 1 (+1)”, and the interrupt process is terminated.
[0051]
At time T12, the rotating body 7a of the rotation detection sensor 7 rotates 5/4, and the second pulse signal B rises again. When the second pulse signal B rises, it is determined in step 200 of the interrupt routine that “the edge is not the first pulse signal A”, so the process proceeds to step 204, and in step 204, “is a rising edge”. Then, the process proceeds to step 206 and “substitute the count value of the second timer TBR into the register T0” is executed, and the process proceeds to step 203 and “calculates the speed ω0 from the value of the register T0” is executed. To step 208. In step 208, it is determined that “the edge is not the first pulse signal A”, the process proceeds to step 216, where it is determined that it is “rising edge”, and the process proceeds to step 217, where “the first pulse signal A Is not low level ", the process proceeds to step 220, where" the position counter PC is incremented by 1 (+1) "and the interrupt process is terminated.
[0052]
At time T14, the rotating body 7a of the rotation detection sensor 7 is6/4Rotates and the first pulse signal A falls. When the first pulse signal A falls, it is determined in step 200 of the interrupt routine that “the edge is the first pulse signal A”, and the process proceeds to step 201 where it is determined that the edge is not a rising edge. The process shifts to 205 and “substitute the count value of the third timer TAF into the register T0” is executed, and the process shifts to step 203 and “calculates the speed ω0 from the value of the register T0” is executed and the process goes to step 208. Transition. Then, in step 208, it is determined that “the edge is the first pulse signal A”, the process proceeds to step 209, “is not a rising edge”, the process proceeds to step 211, and the “second pulse signal B” is determined. Is not low level ", the process proceeds to step 215," the position counter PC is incremented by 1 (+1) ", and the interrupt process is terminated.
[0053]
At time T16, the rotating body 7a of the rotation detection sensor 7 rotates 7/4, and the second pulse signal B falls. When the second pulse signal B falls, it is determined in step 200 of the interrupt routine that “the edge is not the first pulse signal A”, and the process proceeds to step 204 where it is determined that “the edge is not a rising edge”. The process shifts to 207 and “substitute the count value of the fourth timer TBF into the register T0” is executed, and the process shifts to step 203 and “calculates the speed ω0 from the value of the register T0” is executed and the process goes to step 208. Transition. Then, in step 208, it is determined that “the edge is not the first pulse signal A”. Therefore, the process proceeds to step 216, where it is determined that “the edge is not a rising edge”, and the process proceeds to step 218. It is determined that “A is at a low level”, and the process proceeds to step 221 where “the position counter PC is incremented by 1 (+1)” and the interrupt process is terminated.
[0054]
As described above, when the rotation detection sensor 7 generates the first pulse signal A and the second pulse signal B by starting the forward rotation of the armature shaft 6c and starting to move the window glass 60 to the opening side. The first timer TAR measures the rotation period of the armature shaft 6c for each rotation of the rotating body 7a of the rotation detection sensor 7. Further, the second timer TBR measures the rotation period of the armature shaft 6c for each rotation of the rotating body 7a of the rotation detection sensor 7, with a shift of ¼ period from the first timer TAR. The third timer TAF measures the rotation period of the armature shaft 6c for each rotation of the rotating body 7a of the rotation detection sensor 7, with a ¼ period shifted from the first timer TBR. The fourth timer TBF is shifted by a quarter period from the third timer TBR, and the fourth timer TBF measures the rotation period of the armature shaft 6c for each rotation of the rotating body 7a of the rotation detection sensor 7. Measure the moving speed. Further, the microcomputer CPU indirectly detects the current position of the window glass 60 by the position counter PC.
[0055]
At this time, when the armature shaft 6c starts to rotate forward and starts moving in the direction in which the window glass 60 opens, the torque detection routine is executed at the same time. In the torque detection routine, first, it is determined in step 500 that “the closing operation has not been set”, so that the process proceeds to step 510, where the window glass 60 moves in the opening direction, and “calculated by the pulse edge interruption routine”. Since it is determined that the speed ω0 is not smaller than a predetermined minimum value ωmin, the routine to return to the first step 500 is repeatedly executed.
[0056]
If the open switch 2 is turned off while the window glass 60 is moving in the opening direction, the lowering command signal generated by the open switch 2 is not taken into the microcomputer CPU. Then, in step 100 of the main routine, it is determined that “the stop state is not set”, so that the process proceeds to step 108 and it is determined that “the manual closed state is not set”, and therefore, the process proceeds to step 117. Since it is determined in step 117 that “manual open state is set”, the process proceeds to step 118 and it is determined that “motor lock is not detected”. Therefore, the process proceeds to step 119 and “open” is determined in step 119. When it is determined that the switch 2 is switched off, the process proceeds to step 122, where the “stop state” is set, and the process proceeds to the output routine.
[0057]
Since it is determined in step 300 of the output routine that “stop state is set”, the process proceeds to step 306 and “stop output” is executed. By executing the “stop output”, the output port P7 of the microcomputer CPU becomes low level and the output port P8 of the microcomputer CPU becomes low level, so the first and second brush terminals 6a of the motor 6 , 6b is not supplied with current, and the window glass 60 stops when the armature shaft 6c stops rotating forward.
[0058]
If the open switch 2 is turned on and the automatic switch 4 is turned on while the window glass 60 is stopped, the descending command signal from the open switch 2 and the automatic command signal from the automatic switch 4 are sent to the microcomputer. Captured by the CPU. Then, the process proceeds to Step 100, Step 101, Step 102, and Step 103 of the main routine. In Step 103, it is determined that “the open switch 2 is switched on”, so the process proceeds to Step 107 and the “open state” is set. Set and return to step 100. Next, step 100, step 108, step 117, step 118, step 119, and step 120 are executed in the main routine. In step 120, it is determined that "the automatic switch 4 is turned on", so the routine proceeds to step 123. To set the “automatic open state” and shift to the output routine.
[0059]
In the output routine, the process proceeds to step 300 and step 301, and step 301, step 302, step 303, and step 304 are executed. In step 304, it is determined that “automatic open state is set”. Then, the open drive output is continuously executed.
[0060]
With continuous open drive output, the power is connected to the first brush terminal 6a of the motor 6, and the second brush terminal 6b of the motor 6 is grounded, and the open drive output is then turned off by the open switch 2. Since the armature shaft 6c continues to rotate even after the switching, the window glass 60 continuously moves in the opening direction. When the window glass 60 continues to move to the opening side, the window glass 60 is prevented from moving by colliding with the vehicle body at the fully opened position. Then, in step 500 of the torque detection routine, it is determined that “the closing operation has not been set”, so that the process proceeds to step 510. In step 510, the window glass 60 is moved to the opening side, so that “pulse edge interrupt is detected. Since the speed ω0 calculated in the routine is smaller than a predetermined minimum value ωmin ”, the process proceeds to step 511,“ motor lock detection ”is set, and the process proceeds to the main routine.
[0061]
In step 100 of the main routine, it is determined that “the stop state is not set”, so the process proceeds to step 108, and the process proceeds to step 108, step 117, and step 124, and it is determined that “the automatic closing state is not set”. Therefore, the process proceeds to step 131 and step 132, and it is determined that “motor lock is detected”. Therefore, the process proceeds to step 134 and “stop state” is set, and the process proceeds to the output routine. In step 300 of the output routine, it is determined that “stop state is set”, so that the process proceeds to step 306 and “output stop” is executed. Then, the window glass 60 stops at the fully open position.
[0062]
When the close switch 3 is turned on while the window glass 60 is stopped at the fully open position, an ascending command signal from the close switch 3 is taken into the microcomputer CPU. Then, Step 100, Step 101, Step 102, Step 104, and Step 106 are executed in the main routine, "Closed state (manually closed state)" is set, and the process proceeds to the output routine. Then, Step 300 and Step 301 of the output routine are executed, and the process proceeds to Step 307 to execute “closed drive output”. Due to the closed drive output, the first brush terminal 6a of the motor 6 is grounded and the power source is connected to the second brush terminal 6b of the motor 6, so that the armature shaft 6c rotates in reverse and the window glass 60 is moved. Start moving in the closing direction. Then, as shown in FIG. 7, the armature shaft 6c of the motor 6 starts reverse rotation at time T18, so that at time T19, the rotation detection sensor 7 causes the first signal generator 7b to receive the first pulse signal. A is generated, and the second signal generator 7c generates the second pulse signal B with a phase difference of ¼ period from the first pulse signal A.
[0063]
When the first pulse signal A is generated at time T19 and the rising edge of the first pulse signal A is detected, the first pulse signal A is detected in step 203 through step 200, step 201, 202, and step 203. “Calculate speed ω 0 from the count value of timer TAR” is executed, and the routine proceeds to step 208. Then, Step 208, Step 209, Step 210, and Step 213 are executed, and “the position counter PC is decremented by 1 (−1)”, and the interruption process is completed.
[0064]
When the rotating body 7a of the rotation detection sensor 7 rotates 1/4 at time T21, the second pulse signal B falls. When the second pulse signal B falls, Step 200, Step 204, Step 207, and Step 203 of the interrupt routine are executed. In Step 203, “Calculate the speed ω0 from the count value of the fourth timer TBF”. The process proceeds to step 208. Then, step 208, step 216, step 218, and step 222 are executed, and “position counter PC is counted by minus 1 (−1)”, and the interruption process is completed.
[0065]
When the rotating body 7a of the rotation detection sensor 7 makes a half rotation at time T23, the first pulse signal A falls. When the first pulse signal A falls, Step 200, Step 201, Step 205, and Step 203 of the interrupt routine are executed. In Step 203, “Calculate the speed ω0 from the count value of the third timer TAF”. The process proceeds to step 208. Then, step 208, step 209, and step 211 are executed, and it is determined that “the second pulse signal B is at a low level”. Therefore, the process proceeds to step 214, and “the position counter PC counts minus one (−1). The interrupt process ends.
[0066]
When the rotating body 7a of the rotation detection sensor 7 rotates 3/4 at time T25, the second pulse signal B rises. Steps 200, 204, 207, and 203 are executed, and “calculate speed ω 0 from the count value of the fourth timer TBF” is executed, and the process proceeds to step 208. Then, step 208, step 216, step 217, and step 219 are executed again, "the position counter PC is decremented by 1 (-1)", and the interruption process is completed.
[0067]
When the rotating body 7a of the rotation detection sensor 7 makes one rotation at time T27, the first pulse signal A rises again. Steps 200 to 203 are executed, and “calculate the speed ω 0 from the count value of the first timer TAR” is executed, and the process proceeds to step 208. Then, step 208, step 209, step 210 and step 213 are executed, "the position counter PC is decremented by 1 (-1)", and the interruption process is completed. The same applies to time T31 after time T27 and at time T29.
[0068]
As described above, the rotation detection sensor 7 generates the first pulse signal A and the second pulse signal B when the armature shaft 6c starts reverse rotation and starts moving in the direction in which the window glass 60 is closed. Then, the first timer TAR, the second timer TBF, the third timer TAF, and the fourth timer TBR measure the rotation period of the armature shaft 6c for each rotation of the rotating body 7a of the rotation detection sensor 7. Thus, the moving speed of the window glass 60 is measured. Further, the microcomputer CPU indirectly detects the current position of the window glass 60 by the position counter PC.
[0069]
When the armature shaft 6c starts reverse rotation and starts moving in the direction in which the window glass 60 is closed, the torque detection routine is executed simultaneously. If it is determined in step 500 of the torque detection routine that “the closing operation is set”, the process proceeds to step 501 and it is determined that “speed data ω0 is updated”. "Detect power supply voltage level V0" is executed, and the process proceeds to step 503. In step 503, “calculate corrected power supply voltage level V′0” is executed. In step 504, “speed data ω0, corrected power supply voltage level”.V'0The torque TL0 is calculated according to the above, and when it is determined in step 505 that “the pulse count PC is not larger than the limit value (absolute value) PCX of the inversion region”, the process proceeds to step 508.
[0070]
In step 508, the torque data is updated. The torque data is updated by shifting the torque data from TLn to TL1 accumulated in the previous routine by one. In step 509, the pinching determination value TLref is calculated. As shown in FIG. 18, the pinching determination value TLref is obtained by adding a predetermined value TLADD (constant) to the minimum value TLmin in the torque data TLn to TL1. The pinching determination value TLref (= TLmin + TLADD) is used for comparison with the torque TL0 obtained in step 504. The microcomputer CPU performs a reversal operation when the torque TL0 becomes larger than the pinching determination value TLref.
[0071]
When an obstacle is caught in the inversion permission area, Step 500, Step 501, Step 502, Step 503, and Step 504 of the torque detection routine are executed. In Step 505, “the count value of the position counter PC is the limit of the inversion area. It is determined that the value (absolute value) is larger than PCX ”, and the process proceeds to step 506. In step 506, it is determined that the “torque TL0 is larger than the pinching determination value TLref” due to the pinching, so that the routine proceeds to step 507, where the “reversal request” is executed, and the routine proceeds to the main routine. In the main routine, step 100, step 108, step 117, and step 124 are executed, and the process proceeds to step 125. In step 125, it is determined that “reversal request is set”. Set "status" and move to output routine.
[0072]
Since it is determined in step 300 of the output routine that “stop state is set”, the process proceeds to step 306 and “stop output” is executed, and the process proceeds to the main routine. By executing the “stop output”, the window glass 60 is stopped. In the main routine, the process proceeds from step 100 to step 101. In step 101, it is determined that “reversal request is set”. Therefore, the process proceeds to step 105 and “set reverse state” is executed and the output routine is executed. Migrate to
[0073]
In the output routine, the process proceeds to step 300, step 301, and step 302.AndThe process proceeds to step 303, step 304, and step 305. In step 305, it is determined that “the reverse state is set”, so the process proceeds to step 311 and “open drive output” is executed. The first output port P7 of the microcomputer CPU becomes high level, the second output port P8 of the microcomputer CPU becomes low level, and the motor 6 is in a state where the second brush terminal 6b of the motor 6 is grounded. Since the potential of the power supply is applied to the first brush terminal 6a, the window glass 60 is reversely moved to the opening side when the armature shaft 6c of the motor 6 rotates forward.
[0074]
When the armature shaft 6c starts to rotate forward, Step 100, Step 108, Step 117, Step 124, Step 131, Step 136, and Step 137 are executed in the main routine, and the routine proceeds to Step 138. Step 138 is a step for stopping the window glass 60 when the window glass 60 is lowered to a predetermined position. At the beginning of the reversal, it is determined in step 138 that “the count value of the position counter PC does not exceed the predetermined reversal stop count PCre”, so the process returns to step 100 and the main routine is repeated. If it is determined that “the pulse count PC has exceeded the predetermined reversal stop count PCre” due to the window glass 60 being lowered to a predetermined position, the process proceeds from step 138 to step 140 to “stop state”. Set to shift to the output routine. In step 300 of the output routine, it is determined that “the stopped state is set”, so that no current is supplied to the first and second brush terminals 6a and 6b of the motor 6, and the window glass 60 Stops.
[0075]
When an obstacle is caught near the fully open position of the window glass 60, when the armature shaft 6c starts reversing in the forward direction, the window glass 60 before the pulse count PC exceeds the predetermined reversal stop count PCre. Since the movement reaches the fully open position and the movement is prevented, the routine proceeds to step 511, where “motor lock detection” is set and the main routine is executed. In the main routine, at steps 136, 137 and 139, “ The “stop state” is set, the process proceeds to step 300 306 of the output routine, “stop output” is executed, and the window glass 60 stops at the fully open position.
[0076]
FIG. 19 shows a second embodiment of the power window control device according to the present invention. In this case, in the power window control device 1, the power supply voltage detection circuit 23 includes a resistor R1 and a capacitor C1.As voltage correction meansThe voltage correction unit 23a and a power supply voltage detection unit 23b including resistors R2 and R3 are included. The time constant of the voltage correction unit 23a composed of the resistor R1 and the capacitor C1 is the rotational speed of the motor 6.ChangeIt is set approximately equal to the time constant. When the ignition switch 5 is turned on, the voltage signal of the power supply 50 integrated by the voltage correction unit 23a is given to the power supply voltage detection unit 23b, and the voltage signal corresponding to the fluctuation of the power supply 50 is generated by the power supply voltage detection unit 23b. This is given to the motor torque calculation means 27. In this case, the control operation is performed in the same manner as in the first embodiment.
[0077]
20 to 22 show time charts of a third embodiment of the power window control device according to the present invention. A quadrupole magnet is used for the rotating body 7a of the rotation detecting sensor 7. FIG.
[0078]
In this case, a pair of N poles and a pair of S poles are opposed to the rotating body 7a of the rotation detection sensor 7. Therefore, the rotation detection sensor 7 is shifted by 1/8 cycle from the first pulse signal A generated by the first signal generator 7b by the rotation of the rotating body 7a, and the second signal generator 7c. To generate a second pulse signal B. The microcomputer CPU has a diagram.22As shown, the first timer TAR1, the second timer TBR1, the third timer TAF1, the fourth timer TBF1, the fifth timer TAR2, the sixth timer TBR2, the seventh timer TAF2, the eighth Each timer TBF2 is built in, and the other parts are the same as in the first embodiment.
[0079]
Also in this case, the rotation detection sensor 7 generates the first pulse signal A and the second pulse signal B by starting the forward rotation of the armature shaft 6c and starting to move the window glass 60 to the opening side. Then, the first timer TAR1 counts for each rotation of the rotating body 7a of the rotation detection sensor 7, and the second timer TBR1 is shifted from the first timer TAR1 by 1/8 period. Counting is performed for each rotation of the rotating body 7a, and the first timer TBR1 is shifted by 1/8 cycle, and the third timer TAF1, the fourth timer TBF1, the fifth timer TAR2, the sixth timer TBR2, The seventh timer TAF2 and the eighth timer TBF2 count every rotation of the rotating body 7a of the rotation detection sensor 7, and the microcomputer CPU controls the window glass 60. It becomes to detect the standing position.
[0080]
【The invention's effect】
As described above, in the power window control device of the present invention, the motor rotation speed calculation means for calculating the rotation speed of the motor based on the rotation signal generated by the rotation signal generator of the rotation detection sensor and generating the rotation speed signal, A power supply voltage detection circuit that detects the potential of the power supply and converts it into a voltage signal, and a voltage signal given by the power supply voltage detection circuitChange in rotation speedVoltage correction means for generating a correction data signal with a time constant correction substantially equal to the time constant, motor torque correction data is calculated from the correction data signal and the motor rotation speed signal provided by the motor rotation speed calculation means. Then, while the closing switch generates an ascending command signal for raising the window glass and the drive control means supplies the ascending drive signal to the driving means, the torque of the motor given by the voltage correcting means When the correction data increases beyond a predetermined determination value, the motor control unit includes a motor torque calculation unit that supplies a lowering request signal for lowering the window glass to the drive control unit, and the voltage of the power source changes. The correction data of the motor torque is calculated, and the correction data is compared with the determination value to detect the state in which the window glass sandwiches the obstacle. In, it is possible to prevent erroneous recognition of jamming obstacle.
[Brief description of the drawings]
FIG. 1 is a block configuration diagram of a first embodiment of a power window control device according to the present invention;
2 is an explanatory diagram for explaining control of the power window control device shown in FIG. 1; FIG.
FIG. 3 is an explanatory diagram for explaining control of the power window control device shown in FIG. 1;
4 is an explanatory diagram for explaining control of the power window control device shown in FIG. 1; FIG.
FIG. 5 is an explanatory diagram for explaining control of the power window control device shown in FIG. 1;
6 is a timing chart for explaining the operation of the power window control device shown in FIG. 1; FIG.
7 is a timing chart for explaining the operation of the power window control device shown in FIG. 1; FIG.
8 is an explanatory diagram of a pulse count calculation process in the power window control device shown in FIG.
FIG. 9 is a flowchart of timer interruption in the power window control device shown in FIG. 1;
10 is an explanatory diagram of an operation direction detection process using pulses in the power window control device shown in FIG. 1; FIG.
FIG. 11 is a flowchart of a main routine used for control operation of the power window control device shown in FIG. 1;
FIG. 12 is a flowchart of a main routine used for control operation of the power window control device shown in FIG. 1;
FIG. 13 is a flowchart of a main routine used for control operation of the power window control device shown in FIG. 1;
14 is a flowchart of an output routine used for a control operation of the power window control device shown in FIG.
FIG. 15 is a flowchart of a pulse edge interrupt routine used for the control operation of the power window control device shown in FIG. 1;
FIG. 16 is a flowchart of a pulse edge interrupt routine used for control operation of the power window control device shown in FIG. 1;
FIG. 17 is a flowchart of a torque detection routine used for control operation of the power window control device shown in FIG. 1;
18 is an explanatory diagram of torque detection processing of the power window control device shown in FIG. 1. FIG.
FIG. 19 is a block diagram of a second embodiment of the power window control device according to the present invention.
FIG. 20 is a timing chart for explaining the operation of the third embodiment of the power window control apparatus according to the present invention;
FIG. 21 is a timing chart for explaining the operation of the power window control device shown in FIG. 20;
22 is a timing chart for explaining a control operation of a timer of the power window control device shown in FIG.
[Explanation of symbols]
1 Power window control device
2 Open switch
3 Close switch
6 Motor
6c Armature shaft
7 Rotation detection sensor
23 Power supply voltage detection circuit
24 Drive means
25 Voltage correction means
26 Motor rotation speed calculation means
27 Motor torque calculation means
28 Drive control means
50 power supply
60 wind glass
CPU microcomputer

Claims (6)

車両のパワーウインド制御装置であって、ウインドガラスを上昇させる上昇指令信号を発生する閉スイッチと、ウインドガラスを下降させる下降指令信号を発生する開スイッチと、電源から電流が供給され、車両のウインドガラスを上昇又は下降駆動し、電源の電圧が変化をすると、回転数が所定の時定数で変化するモータと、前記閉スイッチ及び前記開スイッチに接続され、前記閉スイッチから上昇指令信号が供給されると上昇駆動信号を発生し、前記開スイッチから下降指令信号が供給されると下降駆動信号を発生する駆動制御手段と、前記駆動制御手段に接続され、該駆動制御手段から上昇駆動信号が供給されると前記モータに前記車両のウインドガラスを上昇駆動する上昇電流を供給するとともに、該駆動制御手段から下降駆動信号が供給されると前記モータに該車両のウインドガラスを下降駆動する下降電流を供給する駆動手段と、前記モータのアーマチュアシャフトの回転を示す回転信号を発生する回転検出センサと、前記回転検出センサに接続され、回転検出センサが発生した回転信号により前記モータの回転速度を算出し、回転速度信号を発生するモータ回転速度算出手段と、電源に接続され、電源の電圧を検出して電圧信号を発生する電源電圧検出回路と、前記電源電圧検出回路に接続され、前記電源電圧検出回路より与えられた電圧信号に、前記モータの回転数の変化の時定数に略等しい時定数の補正を加えた補正データ信号を発生する電圧補正手段と、前記電圧補正手段より与えられた補正データ信号とモータ回転速度算出手段より与えられたモータの回転速度信号とによりモータのトルクの補正データを算出し、閉スイッチがウインドガラスを上昇させる上昇指令信号を発生して、前記駆動制御手段が上昇駆動信号を前記駆動手段に供給している間に、モータのトルクの補正データが予め設定された判定値を越えて増加した際に、ウインドガラスを下降させるための下降要求信号を前記駆動制御手段に供給するモータトルク算出手段とを備えていることを特徴とするパワーウインド制御装置。A power window control device for a vehicle, comprising: a closed switch for generating an upward command signal for raising the window glass; an open switch for generating a lower command signal for lowering the window glass; When the glass is driven up or down and the voltage of the power source changes, the motor is connected to the motor whose rotational speed changes with a predetermined time constant, the closed switch and the open switch, and the up command signal is supplied from the closed switch. that the generating a rising drive signal, the drive control means is descent command signal from the open switch for generating a vertical drive signal to be supplied, connected to said drive control means, increasing the drive signal is supplied from the drive control means Then, a rising current for driving the window glass of the vehicle to rise is supplied to the motor, and a lowering drive signal is sent from the drive control means. And it is supplied with driving means for supplying a falling current descending driving the window glass of the vehicle to the motor, a rotation detecting sensor which generates a rotation signal indicating the rotation of the armature shaft of the motor, connected to the rotation detecting sensor The motor rotation speed is calculated from the rotation signal generated by the rotation detection sensor, and the motor rotation speed calculation means for generating the rotation speed signal is connected to the power source, and the voltage of the power source is detected to generate the voltage signal. A correction data that is connected to the power supply voltage detection circuit and to the voltage signal that is connected to the power supply voltage detection circuit and that is corrected by a time constant substantially equal to the time constant of the change in the rotational speed of the motor. Voltage correction means for generating a signal, correction data signal given by the voltage correction means, and motor rotation given by motor rotation speed calculation means While calculating the correction data of the torque of the motor with the degree signal, the closed switch generates a rise command signal for raising the window glass, and while the drive control means supplies the rise drive signal to the drive means, Motor torque calculating means for supplying a lowering request signal for lowering the window glass to the drive control means when the correction data of the motor torque increases beyond a predetermined determination value. Features a power window control device. モータトルク算出手段は、順次補正データを記憶し、記憶された補正データに予め定められた一定値を加えて判定値を設定することを特徴とする請求項1に記載のパワーウインド制御装置。2. The power window control device according to claim 1, wherein the motor torque calculating means sequentially stores correction data, and sets a determination value by adding a predetermined constant value to the stored correction data. モータトルク算出手段は、記憶された補正データを順次更新することを特徴とする請求項2に記載のパワーウインド制御装置。3. The power window control device according to claim 2, wherein the motor torque calculation means sequentially updates the stored correction data. モータトルク算出手段は、複数の補正データを順次記憶し、記憶された複数の補正データのうち最小のデータに予め定められた一定値を加えて判定値を設定することを特徴とする請求項1に記載のパワーウインド制御装置。2. The motor torque calculating means sequentially stores a plurality of correction data, and sets a predetermined value by adding a predetermined constant value to the minimum data among the plurality of stored correction data. The power window control device described in 1. モータトルク算出手段は、記憶された複数の補正データを順次更新することを特徴とする請求項4に記載のパワーウインド制御装置。5. The power window control device according to claim 4, wherein the motor torque calculation means sequentially updates the plurality of stored correction data. 電圧補正手段は、抵抗とコンデンサから構成されていること特徴とする請求項1、2、3、4または5に記載のパワーウインド制御装置。6. The power window control device according to claim 1, wherein the voltage correction means includes a resistor and a capacitor .
JP2000143835A 1999-05-21 2000-05-16 Power window control device Expired - Fee Related JP3828715B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000143835A JP3828715B2 (en) 1999-05-21 2000-05-16 Power window control device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP14142299 1999-05-21
JP11-141422 1999-05-21
JP2000143835A JP3828715B2 (en) 1999-05-21 2000-05-16 Power window control device

Publications (2)

Publication Number Publication Date
JP2001040941A JP2001040941A (en) 2001-02-13
JP3828715B2 true JP3828715B2 (en) 2006-10-04

Family

ID=26473661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000143835A Expired - Fee Related JP3828715B2 (en) 1999-05-21 2000-05-16 Power window control device

Country Status (1)

Country Link
JP (1) JP3828715B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101889983B1 (en) * 2018-02-14 2018-08-20 디와이오토 주식회사 Method and Apparatus for control safty power-window

Also Published As

Publication number Publication date
JP2001040941A (en) 2001-02-13

Similar Documents

Publication Publication Date Title
US6426604B1 (en) Power window controlling device
JP3730795B2 (en) Power window device pinching detection method
JPH11270226A (en) Method for detecting foreign material caught by power window equipment
US10337230B2 (en) Control device for opening and closing bodies
JP4818697B2 (en) Opening / closing member control device
JP2002250176A (en) Power window device detecting pinching
JP3828715B2 (en) Power window control device
EP0633654B1 (en) Control circuit for a DC motor
JP4063094B2 (en) Opening and closing body pinching detection device
JP3582267B2 (en) Window opening and closing control device
JP3722675B2 (en) Power window device and control method thereof
JP3675096B2 (en) Window opening and closing control device
JP2010188997A (en) Opening/closing control device for opening covering material
JP4510409B2 (en) Window glass clamping presence / absence detection device
JP3675622B2 (en) Power window device pinching detection method
JPS63165682A (en) Switchgear for window glass
JP2942127B2 (en) Power window drive control device
CN110612378A (en) Opening/closing body control device and opening/closing body control method
JP4262578B2 (en) Backdoor automatic opening and closing device
JPH11107624A (en) Power window control device
JP2004116051A (en) Power window controller
JP3424886B2 (en) Power window control device
JP3841586B2 (en) Power window control device
JPH09219984A (en) Motor drive controller
JP2687872B2 (en) Electric opening and closing control device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040315

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040602

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060228

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060419

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: 20060613

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060707

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 3

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

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

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130714

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees