JP3824980B2 - Opening / closing member control apparatus and opening / closing member control method - Google Patents

Opening / closing member control apparatus and opening / closing member control method Download PDF

Info

Publication number
JP3824980B2
JP3824980B2 JP2002244116A JP2002244116A JP3824980B2 JP 3824980 B2 JP3824980 B2 JP 3824980B2 JP 2002244116 A JP2002244116 A JP 2002244116A JP 2002244116 A JP2002244116 A JP 2002244116A JP 3824980 B2 JP3824980 B2 JP 3824980B2
Authority
JP
Japan
Prior art keywords
switch
opening
voltage
selection
range
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
JP2002244116A
Other languages
Japanese (ja)
Other versions
JP2004084211A (en
Inventor
元哉 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asmo Co Ltd
Original Assignee
Asmo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Asmo Co Ltd filed Critical Asmo Co Ltd
Priority to JP2002244116A priority Critical patent/JP3824980B2/en
Publication of JP2004084211A publication Critical patent/JP2004084211A/en
Application granted granted Critical
Publication of JP3824980B2 publication Critical patent/JP3824980B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えば自動車のルーフガラスやウインドガラス、スライドドア等の開閉部材の開閉動作を制御する開閉部材制御装置及び開閉部材制御方法に関するものである。
【0002】
【従来の技術】
従来、自動車に装備されるサンルーフ装置において、ロータリスイッチよりなるプリセレクトスイッチを所定の選択位置に回動操作することにより、ルーフガラスを予め設定された複数の開閉位置まで一気にスライド開閉作動させるように構成したものが種々提案されている。このようなプリセレクトスイッチは、該スイッチの選択位置に応じて抵抗値の異なる複数個の抵抗を備えたラダー抵抗器を有しており、該スイッチの選択位置に応じて接続する抵抗を切り換えて該抵抗器に供給される電圧を分圧し、該スイッチの選択位置に応じたスイッチ電圧を出力するように構成されている。そして、そのスイッチ電圧の電圧値に対応した各開閉位置までルーフガラスがスライド開閉作動するようになっている。
【0003】
【発明が解決しようとする課題】
ところが、プリセレクトスイッチを操作していないにもかかわらず、何らかの原因(エレクトロマイグレーション等による抵抗値の変化や、外部の電磁波の影響等)で該スイッチのスイッチ電圧の電圧値が変化する場合がある。このようにスイッチ電圧が変化すると、プリセレクトスイッチを操作したものと誤認識し、実際、該スイッチを操作していないにもかかわらず、ルーフガラスが意に反して開又は閉作動してしまうことがあり、使用者に違和感を与えてしまう。
【0004】
本発明は、上記問題点を解決するためになされたものであって、その目的は、開閉部材の誤動作を防止して、使用者の違和感を軽減することができる開閉部材制御装置及び開閉部材制御方法を提供することにある。
【0005】
【課題を解決するための手段】
上記問題点を解決するため、請求項1に記載の発明は、開閉部材を開閉作動させる駆動モータと、前記開閉部材の開閉位置を検出する位置検出手段と、前記位置検出手段の検出に基づいて前記開閉部材を予め定めた複数の所定開閉位置のいずれかに配置すべく各位置に応じた選択位置を有し、各選択位置に応じて抵抗値を異ならせ供給される電圧を分圧し、その分圧した電圧をスイッチ電圧として出力する多段階選択スイッチと、前記スイッチから出力されたスイッチ電圧に基づいて選択位置を判定し、該位置に対応する開閉位置まで前記開閉部材を作動すべく前記駆動モータを制御する開閉制御手段とを備えた開閉部材制御装置であって、前記スイッチから出力されたスイッチ電圧が該スイッチの各選択位置に応じた選択位置設定範囲と該範囲以外の非選択範囲とのいずれかに変化してから該範囲内において第1所定時間が経過すると、そのスイッチ電圧に基づいて前記スイッチの選択位置を確定するスイッチ位置確定手段と、前記スイッチ電圧が前記非選択範囲に変化してから該範囲内において前記第1所定時間より短い第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定する異常判定手段と、前記スイッチ位置確定手段により前回及び今回のスイッチの選択位置がともに前記スイッチ電圧が選択位置設定範囲となる正常な選択位置で確定され、かつ前記異常判定手段により前記スイッチ電圧の変化が正常に変化したものであると判定した場合に、今回確定したスイッチの選択位置に対応する開閉位置まで前記開閉制御手段による前記開閉部材の作動を許可する作動許可手段とを備えた。
【0006】
請求項2に記載の発明は、請求項1に記載の開閉部材制御装置において、前記多段階選択スイッチは、前記各選択位置間に配置されるとスイッチオープン状態となるように構成され、各選択位置及びスイッチオープン状態にそれぞれ対応した電圧値のスイッチ電圧を出力するものであって、前記スイッチ位置確定手段は、前記スイッチ電圧が前記各選択位置に応じた選択位置設定範囲と前記スイッチオープン状態に応じたオープン状態検出範囲とのいずれかに変化してから第1所定時間が経過すると、そのスイッチ電圧に基づいて前記スイッチの選択位置を確定し、前記異常判定手段は、前記スイッチ電圧が前記選択位置設定範囲及び前記オープン状態検出範囲以外の非許容範囲に変化してから前記第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定する。
【0007】
請求項3に記載の発明は、駆動モータにより開閉作動される開閉部材を予め定めた複数の所定開閉位置のいずれかに配置すべく各位置に応じた選択位置を有し、各選択位置に応じて抵抗値を異ならせ供給される電圧を分圧し、その分圧した電圧をスイッチ電圧として出力する多段階選択スイッチからの該スイッチ電圧に基づいて前記選択位置を判定し、該位置に対応する開閉位置まで前記開閉部材を作動すべく前記駆動モータを制御するようにした開閉部材制御方法であって、前記スイッチ電圧が該スイッチの各選択位置に応じた選択位置設定範囲と該範囲以外の非選択範囲とのいずれかに変化してから該範囲内において第1所定時間が経過すると、そのスイッチ電圧に基づいて前記スイッチの選択位置を確定し、前記スイッチ電圧が前記非選択範囲に変化してから該範囲内において前記第1所定時間より短い第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定し、前回及び今回のスイッチの選択位置がともに前記スイッチ電圧が選択位置設定範囲となる正常な選択位置で確定され、かつ前記スイッチ電圧の変化が正常に変化したものであると判定された場合に、今回確定したスイッチの選択位置に対応する開閉位置まで前記開閉部材の作動を許可するようにした。
【0008】
請求項4に記載の発明は、請求項3に記載の開閉部材制御方法において、前記多段階選択スイッチは、前記各選択位置間に配置されるとスイッチオープン状態となるように構成され、各選択位置及びスイッチオープン状態にそれぞれ対応した電圧値のスイッチ電圧を出力するものであって、前記スイッチ電圧が前記各選択位置に応じた選択位置設定範囲と前記スイッチオープン状態に応じたオープン状態検出範囲とのいずれかに変化してから第1所定時間が経過すると、そのスイッチ電圧に基づいて前記スイッチの選択位置を確定し、前記スイッチ電圧が前記選択位置設定範囲及び前記オープン状態検出範囲以外の非許容範囲に変化してから前記第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定するようにした。
【0009】
(作用)
請求項1,3に記載の発明によれば、多段階選択スイッチは、駆動モータにより開閉作動される開閉部材を予め定めた複数の所定開閉位置のいずれかに配置すべく各位置に応じた選択位置を有し、各選択位置に応じて抵抗値を異ならせ供給される電圧を分圧し、その分圧した電圧をスイッチ電圧として出力する。そのスイッチから出力されるスイッチ電圧が該スイッチの各選択位置に応じた選択位置設定範囲と該範囲以外の非選択範囲とのいずれかに変化してから該範囲内において第1所定時間が経過すると、そのスイッチ電圧に基づいてスイッチの選択位置が確定される。又、スイッチ電圧が非選択範囲に変化してから該範囲内において第1所定時間より短い第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定される。そして、前回及び今回のスイッチの選択位置がともにスイッチ電圧が選択位置設定範囲となる正常な選択位置で確定され、かつスイッチ電圧の変化が正常に変化したものであると判定された場合に、今回確定したスイッチの選択位置に対応する開閉位置まで開閉部材の作動が許可される。つまり、通常のスイッチ操作では、スイッチ電圧が非選択範囲を変化するのに該スイッチの選択位置の確定を行う第1所定時間よりも更に短い第2所定時間内でも十分に変化する。そのため、スイッチ電圧が非選択範囲を変化するのにスイッチの選択位置の確定を行う第1所定時間を要するような変化は当然のことながら、その第1所定時間よりも更に短い第2所定時間を要するような変化であっても、通常のスイッチ操作によらない異常な変化であると判定することができる。従って、通常のスイッチ操作に基づかないスイッチ電圧の変化による開閉部材の誤動作が防止され、使用者の違和感を軽減することができる。
【0010】
請求項2,4に記載の発明によれば、多段階選択スイッチは、各選択位置間に配置されるとスイッチオープン状態となるように構成され、各選択位置及びスイッチオープン状態にそれぞれ対応した電圧値のスイッチ電圧を出力するものである。そして、スイッチ電圧がスイッチの各選択位置に応じた選択位置設定範囲とスイッチオープン状態に応じたオープン状態検出範囲とのいずれかに変化してから第1所定時間が経過すると、そのスイッチ電圧に基づいてスイッチの選択位置が確定される。又、スイッチ電圧が選択位置設定範囲及びオープン状態検出範囲以外の非許容範囲に変化してから第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定される。つまり、通常のスイッチ操作において、スイッチ電圧は、スイッチの各選択位置に応じた選択位置設定範囲及びスイッチオープン状態に応じたオープン状態検出範囲のいずれかとなる。そのため、スイッチ電圧がこれら以外の範囲に変化すると、そのスイッチ電圧の変化は異常な変化であると確実に判定することができる。
【0011】
【発明の実施の形態】
以下、本発明を具体化した一実施形態を図面に従って説明する。
図9は、サンルーフ装置を装備した自動車の要部斜視図であって、自動車21のルーフパネル22に形成した天窓23に対して開閉部材としてのルーフガラス24が設けられている。ルーフガラス24は、前後方向に往復スライド移動(スライド開閉作動)可能、かつ、その前端部において車幅方向を支点として上下動(チルト開閉作動)可能に設けられている。そして、ルーフガラス24は、同図9の破線で示す駆動モータ25の駆動に基づいて図示しない駆動伝達機構を介して開閉作動が行われる。この駆動モータ25は、該モータ25を駆動制御する後述の駆動制御回路11とともに駆動ユニット10を構成している。駆動ユニット10は、天窓23の前方におけるルーフパネル22と室内側の成形天井パネル(図示略)との間に配設されている。
【0012】
ここで、本実施形態のルーフガラス24は、図2に示すように、主に、全閉位置、チルト全開位置(全閉位置からルーフガラス24の後端が室外側に最も上昇した位置)、擬似全閉位置、フラップダウン位置(擬似全閉位置からルーフガラス24の後端が室内側に最も下降した位置)、及びスライド全開位置を有している。そして、本実施形態では、ルーフガラス24が全閉位置からチルト全開位置、擬似全閉位置、フラップダウン位置、及びスライド全開位置の順で開作動することをスライド開作動(図2においてS/O作動)、この逆の作動をスライド閉作動(図2においてS/C作動)という。
【0013】
又、本実施形態では、全閉位置を「P1」、スライド全開位置を「P6」とし、更にフラップダウン位置からスライド全開位置までのスライド領域をほぼ5等分する4つの中途位置「P2」〜「P5」が設定されている。これらスライド開閉作動時における各位置「P1」〜「P6」は、後述するプリセレクトスイッチSW2を各位置「P1」〜「P6」に対応した各選択位置(ポジション1〜6:図3ではPos.1〜Pos.6)に回動操作することによりそれぞれ作動配置される。
【0014】
又、ルーフガラス24が全閉位置からチルト全開位置まで開作動することをチルト開作動(図2においてT/U作動)、この逆の作動をチルト閉作動(図2においてT/D作動)という。このチルト開閉作動は、後述するチルト開閉スイッチSW3,SW4をそれぞれ操作することにより行われる。
【0015】
図1は、駆動モータ25を駆動制御するサンルーフ装置の電気的構成を説明するための電気ブロック図を示す。駆動モータ25を駆動制御する駆動制御回路11はバッテリ(図示略)に接続され、該回路11にはバッテリから駆動電源+Bが供給される。駆動電源+Bは、駆動制御回路11内において電源供給回路12にて所定電源電圧に調整されて位置検出手段、開閉制御手段、スイッチ位置確定手段、異常判定手段及び作動許可手段を構成する制御部13に供給される。
【0016】
駆動制御回路11は、イグニッションスイッチSW1が接続される。イグニッションスイッチSW1は、駆動制御回路11内において入力回路14を介して制御部13に接続される。イグニッションスイッチSW1は、操作されると操作信号(オン信号)を入力回路14を介して制御部13に出力する。制御部13は、イグニッションスイッチSW1のオン信号に基づいて電源供給回路12から供給される駆動電源に基づいて動作する。
【0017】
又、駆動制御回路11は、前記ルーフガラス24を開閉操作するための各種スイッチSW2〜SW4、即ちプリセレクトスイッチSW2、チルト開スイッチSW3、及びチルト閉スイッチSW4がそれぞれ接続される。各種スイッチSW2〜SW4は、駆動制御回路11内において入力回路14を介して制御部13に接続される。
【0018】
ここで、プリセレクトスイッチSW2は、図3に示すようにロータリスイッチよりなり、各選択位置(ポジション1〜6)で保持されるように構成され、各選択位置(ポジション1〜6)間で停止し難くなっている。又、プリセレクトスイッチSW2は、図4に示すように、スイッチSW2の選択位置(ポジション1〜6)に応じて抵抗値の異なった6個の抵抗20a〜20fのいずれかに接続するラダー抵抗器20を備えている。プリセレクトスイッチSW2は、ラダー抵抗器20により電圧V0を分圧し、図5に示すように該スイッチSW2の選択位置(ポジション1〜6)に応じてそれぞれ電圧値が異なるスイッチ電圧Vsを入力回路14に出力する。この場合、スイッチSW2の選択位置をそれぞれ「ポジション1(Pos.1)」〜「ポジション6(Pos.6)」に切り換えると、スイッチ電圧Vsの電圧値が「VP1」〜「VP6」となるように予め設定されている。尚、プリセレクトスイッチSW2を各選択位置(ポジション1〜6)に切り換える間においては、該スイッチSW2はスイッチオープン状態となる。この場合、プリセレクトスイッチSW2から出力されるスイッチ電圧Vsは、その電圧値が略「V0」となる。そして、制御部13に備えられるA/D変換部13aは、入力されたスイッチ電圧VsをA/D変換するようになっている。
【0019】
前記チルト開閉スイッチSW3,SW4は、それぞれ操作されると、指令信号(本実施形態では、Lレベル(接地レベル)のオン信号)を入力回路14を介して制御部13に出力する。
【0020】
制御部13には、該制御部13の動作に必要な基準クロック信号がクロック発振回路15から入力される。又、制御部13は、電圧モニタ回路16により前記電源供給回路12から供給される駆動電源が監視されている。
【0021】
又、前記制御部13は、駆動回路17を介して前記駆動モータ25に駆動電源を供給して該モータ25の制御を行う。
即ち、本実施形態の制御部13は、プリセレクトスイッチSW2が回動操作され、その選択位置に応じたスイッチ電圧Vsが入力されると、そのA/D変換後の値に基づいてスイッチSW2がいずれの選択位置(ポジション1〜6)に配置されているかを判定する。この場合、制御部13は、図5に示すように、入力されたスイッチ電圧Vsが各電圧値「VP1」〜「VP6」を含む選択位置設定範囲内(図5の破線内)となれば、スイッチSW2がいずれの選択位置(ポジション1〜6)に配置されたと判定するようになっている。又、制御部13は、スイッチ電圧Vsが電圧値「V0」を含むオープン状態検出範囲内(図5の破線内)となると、プリセレクトスイッチSW2が各選択位置(ポジション1〜6)に切り換える間のスイッチオープン状態であると判定する。尚、スイッチ電圧Vsが選択位置設定範囲及びオープン状態検出範囲以外となる範囲は、非許容範囲としている。
【0022】
そして、制御部13は、現在の開閉位置P1〜P6(図2参照)から該スイッチSW2により選択された目標位置(P1〜P6)までオート開作動又はオート閉作動させるべく駆動モータ25に駆動電源を供給し、該モータ25を駆動する。やがて、後述するルーフガラス24の開閉位置の検出によって該ルーフガラス24が各位置P1〜P6に配置されたことが検出されると、制御部13は、駆動モータ25への駆動電源を停止して、ルーフガラス24の作動を停止する。
【0023】
制御部13は、チルト開スイッチSW3を操作している間、即ち該スイッチSW3からオン信号が入力されている間、ルーフガラス24を通常開作動(マニュアル開作動)させるべく駆動モータ25に駆動電源を供給し、該モータ25を駆動する。チルト開スイッチSW3の操作を止める、即ち該スイッチSW3からオフ信号が入力されると、制御部13は、ルーフガラス24の作動を停止させるべく駆動モータ25への駆動電源の供給を停止する。又、この場合、後述するルーフガラス24の開閉位置の検出によって該ルーフガラス24がチルト全開位置に配置されると、制御部13は、チルト開スイッチSW3が操作されていても、駆動モータ25への駆動電源の供給を停止して、ルーフガラス24の作動を停止する。
【0024】
又、制御部13は、チルト閉スイッチSW4を操作している間、即ち該スイッチSW4からオン信号が入力されている間、ルーフガラス24を通常閉作動(マニュアル閉作動)させるべく駆動モータ25に駆動電源を供給し、該モータ25を駆動する。チルト閉スイッチSW4の操作を止める、即ち該スイッチSW4からオフ信号が入力されると、制御部13は、ルーフガラス24の作動を停止させるべく駆動モータ25への駆動電源の供給を停止する。又、この場合、後述するルーフガラス24の開閉位置の検出によって該ルーフガラス24が全閉位置に配置されると、制御部13は、チルト閉スイッチSW4が操作されていても、駆動モータ25への駆動電源の供給を停止して、ルーフガラス24の作動を停止する。
【0025】
前記駆動制御回路11には、駆動モータ25の回転周期(回転速度)及び回転方向を検出する位置検出手段を構成する一対のホール素子磁気センサ18a,18bが該回路11を構成する基板上に配設されている。
【0026】
具体的には、駆動モータ25の回転軸(図示略)には回転方向に多極着磁されたセンサマグネットが一体回転するように設けられ、そのセンサマグネットの近傍位置にホール素子磁気センサ18a,18bが互いに回転方向に所定間隔を有して配置されている。つまり、本実施形態の回転センサは、磁気を用いた非接触型の回転センサが用いられている。各ホール素子磁気センサ18a,18bは、駆動モータ25が回転するとそのモータ25の回転に応じたパルス状の出力信号をそれぞれ検出回路19に出力する。又、各ホール素子磁気センサ18a,18bから出力される出力信号(パルス信号)は、互いに所定の位相差を有している。検出回路19は、各出力信号(パルス信号)の波形を成形する等して制御部13に出力する。
【0027】
前記制御部13は、各ホール素子磁気センサ18a,18bから検出回路19を介して入力される出力信号(パルス信号)の周期に基づいて駆動モータ25の回転周期(回転速度)を検出する。
【0028】
即ち、制御部13は、前記プリセレクトスイッチSW2及び前記チルト開スイッチSW3の操作に基づいてルーフガラス24が開作動されると、出力信号(パルス信号)の1周期毎に(例えば、立ち上がりエッジに基づいて)カウント数に「1」を加算する(図2参照)。一方、制御部13は、前記プリセレクトスイッチSW2及び前記チルト閉スイッチSW4の操作に基づいてルーフガラス24が閉作動されると、出力信号(パルス信号)の1周期毎に開時において加算されたカウント数から「1」を減算する。そして、制御部13は、そのカウント数に応じてルーフガラス24の開閉位置を検出するようになっている。
【0029】
尚、このようなルーフガラス24とカウント数との相対関係を決定する原点位置設定(初期位置設定)は、例えば、ルーフガラス24を全閉側の機械的限界位置に配置した状態で、該ルーフガラス24を更に閉方向に作動させるようにチルト閉スイッチSW4を所定時間若しくは所定回数以上操作する等してカウント数を「0」に設定することにより行われる。
【0030】
又、制御部13は、各出力信号(パルス信号)の位相差に応じて駆動モータ25の回転方向を検出し、その駆動モータ25の回転方向の検出に基づいてルーフガラス24の開閉方向を検出している。
【0031】
又、制御部13は、前記ルーフガラス24が閉作動を行っている間、駆動モータ25の回転周期(回転速度)が予め定めた挟み込み判定値より長く(遅く)なると、前記ルーフガラス24と前記ルーフパネル22との間で異物が狭持されて回転周期が長くなった(回転速度が遅くなった)と判定する。すると、制御部13は、閉作動中のルーフガラス24により挟み込んだ異物を解放すべく駆動モータ25を逆転させ、該ルーフガラス24を規定量(所定カウント数)だけ開作動させる。このとき、制御部13は、駆動モータ25の逆転に基づいて、カウント数を減算から加算に切り換える。
【0032】
次に、前記プリセレクトスイッチSW2の操作による制御部13の処理を図6に示すフロー図に従って説明する。
ステップS1において、制御部13は、プリセレクトスイッチSW2の回動操作により、スイッチデータ(SWデータ)に変化があったか否かを判定する。ここで、このSWデータは、図7に示すように設定される。
【0033】
ステップS21〜S27において、制御部13は、入力されたスイッチ電圧Vsがポジション1(Pos.1)〜ポジション6(Pos.6)若しくは各ポジション1〜6間のスイッチオープン状態を検知する範囲内であるか否かを判定する。尚、図7において、ステップS24,S25はステップS21〜S23と同様であるため省略してある。スイッチ電圧Vsがポジション1(Pos.1)〜ポジション6(Pos.6)の範囲(選択位置設定範囲)内であれば、制御部13は、各ステップS31〜S36に進み、SWデータを各ポジション1〜6に対応する数値「1」〜「6」に置き換える。又、スイッチ電圧Vsがスイッチオープン状態を示す範囲(オープン状態検出範囲)内であれば、制御部13は、ステップS37に進み、SWデータをスイッチオープン状態に対応する「FF」に置き換える。又、スイッチ電圧Vsがポジション1(Pos.1)〜ポジション6(Pos.6)及びスイッチオープン状態に該当しない非許容範囲を示す場合、ステップS38に進み、SWデータを非許容範囲に対応する数値「0」に置き換える。
【0034】
前記ステップS1において、制御部13は、SWデータに変化がなければ、プリセレクトスイッチSW2が操作されていないと判定する。制御部13は、SWデータに変化があるまで(プリセレクトスイッチSW2が操作されるまで)、ステップS1を繰り返す。一方、SWデータに変化があると、制御部13は、プリセレクトスイッチSW2が操作されたと判定し、ステップS2に進む。
【0035】
ステップS2において、制御部13は、SWデータが「0」となる時間が異常判定時間(第2所定時間)t1以上継続したか否かを判定する。即ち、SWデータは、プリセレクトスイッチSW2の回動操作に伴い、各ポジション1〜6やそれらの間のスイッチオープン状態を通過する度に変更される。そして、プリセレクトスイッチSW2の回動操作に伴ってスイッチ電圧Vsが正常に変化する場合では、該スイッチ電圧Vsはポジション1〜6(Pos.1〜6)及びスイッチオープン状態を示す範囲内のいずれかに変化するので、SWデータは「1」〜「6」及び「FF」のいずれかとなる。従って、この場合では、SWデータは「0」とならない。言い換えれば、SWデータが「0」となる場合では、何らかの原因でスイッチ電圧Vsが異常に変化したことを意味している。つまり、このステップS2では、制御部13は、SWデータが「0」となる時間が異常判定時間t1以上継続したか否かを判定することで、スイッチ電圧Vsが異常に変化しているかを判定している。
【0036】
ここで、スイッチ電圧Vsが異常に変化する原因として、電圧V0に電源ノイズが生じたり、エレクトロマイグレーション等により抵抗値が変化したり、外部からの電磁波の影響等でスイッチ電圧Vsの電圧値が変化することが考えられる。この中でも電源ノイズは発生し易く瞬時に変化するものであるので、SWデータが「0」となる時間が異常判定時間t1以上継続しない。つまり、このステップS2では、電源ノイズ等によるスイッチ電圧Vsの変化は排除される。そして、制御部13は、SWデータが「0」となる時間が異常判定時間t1未満であれば、スイッチ電圧Vsが正常に変化していると判定して、ステップS3に進む。
【0037】
ステップS3において、制御部13は、SWデータが変化してから予め定めたスイッチ確定時間(第1所定時間)t2が経過したか否かを計時する。尚、このスイッチ確定時間t2は、前記異常判定時間t1より長い時間に設定されている。そして、SWデータがスイッチ確定時間t2内で変化する場合、制御部13は、プリセレクトスイッチSW2を操作している途中であると判定し、ステップS2に戻る。
【0038】
これに対し、SWデータがスイッチ確定時間t2を経過しても変化しないと、制御部13は、プリセレクトスイッチSW2の操作が終了したと判定して、ステップS4に進む。
【0039】
ステップS4において、制御部13は、前回の処理ルーチンで確定したSWデータを、制御部13内の今回ポジションレジスタから前回ポジションレジスタ(いずれも図示略)に移し換え、今回ポジションレジスタを空にする。ステップS5において、制御部13は、今回のルーチンで確定したSWデータを、今回ポジションレジスタに書き込む。尚、この場合に書き込まれるSWデータは、前記ステップS2,S3における時間t1,t2の設定上「0」とはならず、「1」〜「6」又は「FF」となる。そして、制御部13は、ステップS6に進む。
【0040】
一方、前記ステップS2において、SWデータが「0」となる時間が異常判定時間t1以上継続すれば、制御部13は、スイッチ電圧Vsが異常に変化していると判定して、ステップS13に進む。
【0041】
ステップS13において、制御部13は、前回の処理ルーチンで確定したSWデータを、制御部13内の今回ポジションレジスタから前回ポジションレジスタに移し換え、今回ポジションレジスタを空にする。ステップS14において、制御部13は、今回のルーチンで確定したSWデータを「0」として、今回ポジションレジスタに書き込む。そして、制御部13は、ステップS6に進む。
【0042】
ステップS6において、制御部13は、対応するレジスタ内における今回ポジションデータ又は前回ポジションデータが「0」又は「FF」か否かを判定する。今回又は前回ポジションデータが「0」又は「FF」である場合、制御部13は、ステップS12に進み、駆動モータ25の停止状態を維持する(作動させない)。つまり、後のステップS7以降での処理が行えないためである。
【0043】
一方、今回又は前回ポジションデータがともに「0」でない場合、制御部13は、通常のプリセレクトスイッチSW2の回動操作に基づいたSWデータの変化であると判定し、ステップS7に進む。
【0044】
ステップS7において、制御部13は、今回のポジションデータに相当するルーフガラス24の目標位置(P1〜P6)を設定し、ステップS8に進む。
ステップS8において、目標位置(P1〜P6)が現在のルーフガラス24の開閉位置P1〜P6よりそのポジションデータが大きい、即ち目標位置(P1〜P6)が現在のルーフガラス24の開閉位置P1〜P6よりスライド全開側である場合、制御部13は、ステップS9においてルーフガラス24を開作動すべく駆動モータ25を駆動する。
【0045】
一方、目標位置(P1〜P6)が現在のルーフガラス24の開閉位置P1〜P6よりそのポジションデータが小さい、即ち目標位置(P1〜P6)が現在のルーフガラス24の開閉位置P1〜P6より全閉側である場合、制御部13は、ステップS10及びステップS11に進み、該ステップS11においてルーフガラス24を閉作動すべく駆動モータ25を駆動する。
【0046】
更に、目標位置(P1〜P6)が現在のルーフガラス24の開閉位置P1〜P6とそのポジションデータが同じ、即ち目標位置(P1〜P6)が現在のルーフガラス24の開閉位置P1〜P6と同じ位置である場合、制御部13は、ステップS10からステップS12に進み、駆動モータ25の停止状態を維持する(作動させない)。
【0047】
次に、制御部13の処理を図8に示す具体例に従って説明する。
図8(a)は、ルーフガラス24の現在位置が全閉位置P1に配置された状態で、プリセレクトスイッチSW2をポジション1からポジション2に回動操作した際のスイッチ電圧Vsが正常に変化した場合を示している。尚、この場合、プリセレクトスイッチSW2をポジション1からポジション2に回動する時間taがスイッチ確定時間t2より短い通常操作時の一例である。
【0048】
先ず、プリセレクトスイッチSW2を回動操作する前においては、制御部13内の今回ポジションレジスタにポジション1、即ち「1」が書き込まれている。又、スイッチ電圧Vsは、ポジション1を示す範囲内に位置している(略「VP1」となっている)。
【0049】
次いで、プリセレクトスイッチSW2が回動操作され、該スイッチSW2のポジション1からポジション2に回動する途中では、プリセレクトスイッチSW2はスイッチオープン状態となり、スイッチ電圧Vsはスイッチオープン状態を示す範囲内に位置する(略「V0」となる)。すると、SWデータが「1」から「FF」に変化する(ステップS1)が、上記したようにプリセレクトスイッチSW2をポジション1からポジション2に回動する時間taがスイッチ確定時間t2より短いので、制御部13は今回ポジションレジスタの書き換えを行わない(ステップS3)。つまり、今回ポジションレジスタには、ポジション1、即ち「1」が書き込まれたままである。
【0050】
次いで、プリセレクトスイッチSW2がポジション2に配置されると、スイッチ電圧Vsはポジション2を示す範囲内に位置する(略「VP2」となる)。すると、SWデータが「FF」から「2」に変化する(ステップS1)。やがて、SWデータ「2」に変化してからスイッチ確定時間t2が経過すると(ステップS3)、制御部13は前回ポジションレジスタにポジション1、即ち「1」を書き込み、今回ポジションレジスタにポジション2、即ち「2」を書き込む(ステップS4,S5)。
【0051】
次いで、制御部13は、今回ポジションレジスタ内のポジションデータ「2」に相当するルーフガラス24の目標開閉位置P2を設定する(ステップS7)。そして、制御部13は、今設定した目標開閉位置P2と現在のルーフガラス24の位置(全閉位置P1)と比較し(ステップS8)、該ルーフガラス24を開作動すべく駆動モータ25を駆動し、目標開閉位置P2までルーフガラス24を開作動させる(ステップS9)。
【0052】
尚、SWデータが「FF」に変化してからの時間taがスイッチ確定時間t2より長い場合には、該確定時間t2を経過した時点で今回ポジションレジスタが「FF」に書き換えられるので、制御部13は、今回及び次回のSWデータの変化に基づくルーフガラス24の作動を行わないようになっている。つまり、SWデータが「FF」に変化してからの時間taがスイッチ確定時間t2を超えるような長い時間、プリセレクトスイッチSW2をポジション1,2間にとどめるような操作は異常な操作として判定している。
【0053】
一方、図8(b)は、ルーフガラス24の現在位置が全閉位置P1に配置された状態で、プリセレクトスイッチSW2を操作していないにもかかわらず、スイッチ電圧Vsがポジション2を示す範囲内に異常変化した場合を示している。尚、この場合、スイッチ電圧Vsがポジション1を示す範囲からポジション2を示す範囲に変化する時間tbがスイッチ確定時間t2より短く異常判定時間t1より長い時の一例である。
【0054】
先ず、スイッチ電圧Vsが変化する前においては、制御部13内の今回ポジションレジスタにポジション1、即ち「1」が書き込まれている。又、スイッチ電圧Vsは、ポジション1を示す範囲内に位置している(略「VP1」となっている)。
【0055】
次いで、プリセレクトスイッチSW2を操作しないにもかかわらず、スイッチ電圧Vsがポジション1を示す範囲からポジション2を示す範囲に変化する途中では、スイッチ電圧Vsが非許容範囲に位置するので、SWデータが「1」から「0」に変化する(ステップS1)。このとき、上記したように、スイッチ電圧Vsがポジション1を示す範囲からポジション2を示す範囲に変化する時間tbがスイッチ確定時間t2より短いが異常判定時間t1より長いので(ステップS2)、制御部13は前回ポジションレジスタにポジション1、即ち「1」を書き込み、今回ポジションレジスタに非許容範囲を示す「0」を書き込む(ステップS13,S14)。そして、制御部13は、今回ポジションデータが「0」となることで(ステップS6)、駆動モータ25を作動させない(ステップS12)。
【0056】
次いで、スイッチ電圧Vsがポジション2を示す範囲内に変化すると、SWデータが「0」から「2」に変化する(ステップS1)。やがて、SWデータ「2」に変化してからスイッチ確定時間t2が経過すると(ステップS3)、制御部13は前回ポジションレジスタに「0」を書き込み、今回ポジションレジスタにポジション2、即ち「2」を書き込む(ステップS4,S5)。この場合においても、制御部13は、前回ポジションデータが「0」となることで(ステップS6)、駆動モータ25を作動させない(ステップS12))。従って、このようにあたかもプリセレクトスイッチSW2を操作したかのようにスイッチ電圧Vsが異常に変化しても、ルーフガラス24が誤作動することが防止され、使用者の違和感が軽減されている。
【0057】
尚、SWデータが「0」に変化してからの時間tbがスイッチ確定時間t2より長い場合には、該確定時間t2を経過した時点で今回ポジションレジスタが「0」に書き換えられるので、制御部13は、この場合においても今回及び次回のSWデータの変化に基づくルーフガラス24の作動を行わない。
【0058】
因みに、SWデータが「0」に変化してからの時間tbを異常判定時間t1と比較しない形態とした場合、上記したように該時間tbがスイッチ確定時間t2より短いと、次にSWデータが「0」から「2」に変化して確定するまで、今回ポジションレジスタにポジション1、即ち「1」が書き込まれたままとなる。つまり、制御部13は、プリセレクトスイッチSW2を操作していないにもかかわらず該スイッチSW2を操作したものと誤認識し、ルーフガラス24を誤作動させてしまう。しかしながら、本実施形態の制御部13は、SWデータが「0」に変化してからの時間tbを異常判定時間t1と比較するようにしているので(ステップS2)、このようなルーフガラス24の誤作動は確実に防止される。
【0059】
上記したように、本実施形態のサンルーフ装置は、以下のような特徴がある。
(1)制御部13は、プリセレクトスイッチSW2から出力されるスイッチ電圧Vsが各範囲(選択位置設定範囲、オープン状態検出範囲、非許容範囲)のいずれかに変化してから第1所定時間(スイッチ確定時間t2)が経過すると、そのスイッチ電圧Vsに基づいてスイッチSW2の選択位置を確定する。又、制御部13は、スイッチ電圧Vsが非選択範囲(この場合、非許容範囲。尚、オープン状態検出範囲を含んでいてもよい。)に変化してから第1所定時間(スイッチ確定時間t2)より短い第2所定時間(異常判定時間t1)が経過すると、そのスイッチ電圧Vsの変化が異常な変化であると判定する。そして、制御部13は、前回及び今回のスイッチの選択位置がともにスイッチ電圧Vsが選択位置設定範囲となる正常な選択位置で確定され、かつスイッチ電圧Vsの変化が正常に変化したものであると判定された場合に、今回確定したスイッチの選択位置に対応する開閉位置までルーフガラス24の作動を許可する。
【0060】
つまり、通常のスイッチSW2の操作では、スイッチ電圧Vsが非選択範囲を変化するのに該スイッチSW2の選択位置の確定を行う第1所定時間(スイッチ確定時間t2)よりも更に短い第2所定時間(異常判定時間t1)内でも十分に変化する。そのため、スイッチ電圧Vsが非選択範囲を変化するのにスイッチSSW2の選択位置の確定を行う第1所定時間(スイッチ確定時間t2)を要するような変化は当然のことながら、その第1所定時間(スイッチ確定時間t2)よりも更に短い第2所定時間(異常判定時間t1)を要するような変化であっても、通常のスイッチSW2の操作によらない異常な変化であると判定することができる。従って、通常のスイッチSW2の操作に基づかないスイッチ電圧Vsの変化によるルーフガラス24の誤動作が防止され、使用者の違和感を軽減することができる。
【0061】
(2)プリセレクトスイッチSW2は、各選択位置間に配置されるとスイッチオープン状態となるように構成され、各選択位置及びスイッチオープン状態にそれぞれ対応した電圧値のスイッチ電圧Vsを出力するものである。そして、制御部13は、スイッチ電圧VsがスイッチSW2の各選択位置に応じた選択位置設定範囲とスイッチオープン状態に応じたオープン状態検出範囲とのいずれかに変化してから第1所定時間(スイッチ確定時間t2)が経過すると、そのスイッチ電圧Vsに基づいてスイッチSW2の選択位置を確定する。又、制御部13は、スイッチ電圧Vsが選択位置設定範囲及びオープン状態検出範囲以外の非許容範囲に変化してから第2所定時間(異常判定時間t1)が経過すると、そのスイッチ電圧Vsの変化が異常な変化であると判定する。
【0062】
つまり、通常のスイッチSW2の操作において、スイッチ電圧Vsは、スイッチSW2の各選択位置に応じた選択位置設定範囲及びスイッチオープン状態に応じたオープン状態検出範囲のいずれかとなる。そのため、スイッチ電圧Vsがこれら以外の範囲に変化すると、制御部13は、そのスイッチ電圧Vsの変化は異常な変化であると確実に判定することができる。その結果、ルーフガラス24の誤動作をより確実に防止でき、使用者の違和感を軽減することができる。
【0063】
尚、本発明の実施形態は、以下のように変更してもよい。
○上記実施形態では、プリセレクトスイッチSW2を図3のように構成したが、この構成に限定されるものではない。例えば、スイッチSW2にラダー抵抗器20を用いたが可変抵抗器を用いてもよい。又、スイッチSW2は回動操作するロータリスイッチであったが、例えば往復直線状に操作するスイッチであってもよい。
【0064】
○上記実施形態では、図6のようにプリセレクトスイッチSW2に関する制御部13の処理フローを構成したが、これに限定されるものではなく、適宜変更してもよい。
【0065】
○上記実施形態では、図7のようにスイッチデータの作成に関する制御部13の処理フローを構成したが、これに限定されるものではなく、適宜変更してもよい。
【0066】
○上記実施形態では、駆動モータ25の回転周期が予め定めた挟み込み判定値より長くなると、ルーフガラス24により挟み込みが発生したと判定するようにしたが、挟み込みの判定はこれに限定されるものではない。
【0067】
○上記実施形態では、回転センサにホール素子磁気センサ18a,18bを用いたが、磁界の変化に伴って抵抗が変化する磁気抵抗素子を用いてもよい。又、これらのような非接触型の磁気センサ以外、例えば光学式の回転センサを用いてもよい。又、摺動接点を用いた接触型の回転センサを用いてもよい。
【0068】
○上記実施形態の駆動制御回路11の回路構成はこれに限定されるものではなく、適宜変更してもよい。
○上記実施形態では、駆動モータ25と、ホール素子磁気センサ18a,18bや制御部13等を有する駆動制御回路11とを駆動ユニット10として一体に構成したが、これに限定されるものではなく、例えば、駆動制御回路11を別に設ける構成としてもよい。
【0069】
○上記実施形態では、チルト開スイッチSW3若しくはチルト閉スイッチSW4を操作している間だけ駆動モータ25に駆動電源を供給してルーフガラス24を通常開閉作動(マニュアル開閉作動)させたが、チルト開スイッチSW3若しくはチルト閉スイッチSW4を一旦操作しその後操作を止めても、ルーフガラス24を目的位置(チルト開作動時にはチルト全開位置、チルト閉作動時には全閉位置)まで作動させるべく駆動モータ25への電源供給を継続するオート開閉作動としてもよい。
【0070】
○上記実施形態では、スライド開閉作動とチルト開閉作動をともに行うのサンルーフ装置に実施したが、スライド開閉作動のみ行うサンルーフ装置に実施してもよい。
【0071】
○上記実施形態では、開閉部材をルーフガラスとしたサンルーフ装置に実施したが、開閉部材をウインドガラスとしたパワーウインド装置や、開閉部材をスライドドアとしたスライドドア装置等、その他の装置に実施してもよい。
【0072】
上記各実施形態から把握できる技術的思想を以下に記載する。
(イ)請求項1又は2に記載の開閉部材制御装置において、
前記開閉部材は、自動車のルーフガラス及びウインドガラスであることを特徴とする開閉部材制御装置。
【0073】
【発明の効果】
以上詳述したように、本発明によれば、開閉部材の誤作動を防止して、使用者の違和感を軽減することができる開閉部材制御装置及び開閉部材制御方法を提供することができる。
【図面の簡単な説明】
【図1】 本実施形態のサンルーフ装置の電気的構成図である。
【図2】 ルーフガラスの開閉作動を説明するための説明図である。
【図3】 プリセレクトスイッチの外観を説明するための模式図である。
【図4】 プリセレクトスイッチの電気的構成図である。
【図5】 プリセレクトスイッチの電気的特性図である。
【図6】 プリセレクトスイッチに関する制御部の処理の流れを示すフロー図である。
【図7】 スイッチデータの作成に関する制御部の処理の流れを示すフロー図である。
【図8】 (a)(b)は、制御部13の処理の具体例を説明するための説明図である。
【図9】 サンルーフ装置を装備した自動車の要部斜視図である。
【符号の説明】
13…位置検出手段、開閉制御手段、スイッチ位置確定手段、異常判定手段及び作動許可手段を構成する制御部、18a,18b…位置検出手段を構成するホール素子磁気センサ、24…開閉部材としてのルーフガラス、25…駆動モータ、SW2…多段階選択スイッチとしてのプリセレクトスイッチ、P1〜P6…開閉位置、Vs…スイッチ電圧、t1…第2所定時間としての異常判定時間、t2…第1所定時間としてのスイッチ確定時間。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an opening / closing member control device and an opening / closing member control method for controlling an opening / closing operation of an opening / closing member such as a roof glass, a window glass, and a slide door of an automobile.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a sunroof device installed in an automobile, a roof glass can be slid to open and close at once to a plurality of preset opening / closing positions by rotating a preselect switch formed of a rotary switch to a predetermined selection position. Various configurations have been proposed. Such a preselect switch has a ladder resistor having a plurality of resistors having different resistance values according to the selected position of the switch, and switches the connected resistor according to the selected position of the switch. The voltage supplied to the resistor is divided, and the switch voltage corresponding to the selected position of the switch is output. The roof glass is slidably opened / closed to each open / close position corresponding to the voltage value of the switch voltage.
[0003]
[Problems to be solved by the invention]
However, the voltage value of the switch voltage of the switch may change due to some cause (change in resistance value due to electromigration, influence of external electromagnetic wave, etc.) even though the preselect switch is not operated. . When the switch voltage changes in this way, it is erroneously recognized that the preselect switch has been operated, and in fact, the roof glass opens or closes unexpectedly even though the switch is not operated. There is a sense of discomfort to the user.
[0004]
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an opening / closing member control device and an opening / closing member control capable of preventing a malfunction of the opening / closing member and reducing a user's uncomfortable feeling. It is to provide a method.
[0005]
[Means for Solving the Problems]
In order to solve the above problem, the invention according to claim 1 is based on a drive motor that opens and closes an opening / closing member, a position detection unit that detects an opening / closing position of the opening / closing member, and detection of the position detection unit. The open / close member has a selection position corresponding to each position to be arranged at any one of a plurality of predetermined open / close positions, and the supplied voltage is divided by different resistance values according to each selection position, A multi-stage selection switch that outputs a divided voltage as a switch voltage, and a drive position that determines a selection position based on the switch voltage output from the switch and operates the opening / closing member to an opening / closing position corresponding to the position. An opening / closing member control device comprising an opening / closing control means for controlling the motor, wherein the switch voltage output from the switch is a selected position setting range corresponding to each selected position of the switch, and the switch From changes in any of the non-selected range outside 囲以 Within the range When the first predetermined time has elapsed, switch position determining means for determining the selected position of the switch based on the switch voltage, and after the switch voltage has changed to the non-selected range Within the range When a second predetermined time shorter than the first predetermined time elapses, both the abnormality determination means for determining that the change in the switch voltage is an abnormal change, and the switch position determination means determine the previous and current switch selection positions. When the switch voltage is determined at a normal selection position within the selection position setting range and the abnormality determination means determines that the change in the switch voltage has changed normally, the currently selected switch selection position And an operation permission means for permitting the operation of the opening / closing member by the opening / closing control means up to an opening / closing position corresponding to.
[0006]
According to a second aspect of the present invention, in the opening / closing member control device according to the first aspect, the multi-stage selection switch is configured to be in a switch open state when arranged between the respective selection positions. A switch voltage having a voltage value corresponding to each of the position and the switch open state, wherein the switch position determining means sets the switch voltage to a selected position setting range corresponding to each selected position and to the switch open state. When the first predetermined time has elapsed since the change to one of the corresponding open state detection ranges, the selection position of the switch is determined based on the switch voltage, and the abnormality determination means is configured so that the switch voltage is the selection voltage. When the second predetermined time elapses after changing to a non-allowable range other than the position setting range and the open state detection range, the switch It determines that the change in pressure is abnormal changes.
[0007]
The invention according to claim 3 has a selection position corresponding to each position so that the opening / closing member that is opened / closed by the drive motor is arranged at any one of a plurality of predetermined opening / closing positions. The selected position is determined on the basis of the switch voltage from the multi-stage selection switch that divides the supplied voltage with different resistance values and outputs the divided voltage as a switch voltage, and opens and closes corresponding to the position An opening / closing member control method for controlling the drive motor to operate the opening / closing member to a position, wherein the switch voltage is a selection position setting range corresponding to each selection position of the switch and non-selection other than the range After changing to one of the ranges Within the range When the first predetermined time has elapsed, the selection position of the switch is determined based on the switch voltage, and the switch voltage has changed to the non-selection range. Within the range When the second predetermined time shorter than the first predetermined time elapses, it is determined that the change in the switch voltage is an abnormal change, and both the previous and current switch selection positions are within the selection position setting range. When it is determined at a normal selection position and it is determined that the change in the switch voltage has changed normally, the operation of the opening / closing member is permitted to the opening / closing position corresponding to the selected position of the switch determined this time. I did it.
[0008]
According to a fourth aspect of the present invention, in the opening / closing member control method according to the third aspect, the multi-stage selection switch is configured to be in a switch open state when arranged between the selection positions. A switch voltage having a voltage value corresponding to each position and switch open state, wherein the switch voltage is a selected position setting range corresponding to each selected position, and an open state detection range corresponding to the switch open state; When the first predetermined time has elapsed since the change to any one of the above, the selection position of the switch is determined based on the switch voltage, and the switch voltage is not allowed except for the selection position setting range and the open state detection range. When the second predetermined time has elapsed since the change to the range, the change in the switch voltage is determined to be an abnormal change.
[0009]
(Function)
According to the first and third aspects of the invention, the multi-stage selection switch selects the opening / closing member that is opened / closed by the drive motor according to each position so as to be arranged at any one of a plurality of predetermined opening / closing positions. The voltage is divided and the supplied voltage is divided depending on each selected position, and the divided voltage is output as a switch voltage. After the switch voltage output from the switch changes to either a selected position setting range corresponding to each selected position of the switch or a non-selected range other than the selected range Within the range When the first predetermined time elapses, the switch selection position is determined based on the switch voltage. Also, after the switch voltage has changed to the non-selection range Within the range When a second predetermined time shorter than the first predetermined time elapses, it is determined that the change in the switch voltage is an abnormal change. Then, when it is determined that both the previous and current switch selection positions are determined at a normal selection position where the switch voltage is within the selection position setting range and the change in the switch voltage is a normal change, The operation of the opening / closing member is permitted to the opening / closing position corresponding to the selected position of the switch. In other words, in normal switch operation, the switch voltage changes sufficiently even within a second predetermined time shorter than the first predetermined time for determining the selected position of the switch to change the non-selection range. Therefore, a change that requires a first predetermined time for determining the switch selection position for the switch voltage to change the non-selection range is naturally a second predetermined time that is shorter than the first predetermined time. Even if the change is necessary, it can be determined that the change is not an abnormal change due to a normal switch operation. Therefore, the malfunction of the opening / closing member due to the change of the switch voltage not based on the normal switch operation can be prevented, and the user's uncomfortable feeling can be reduced.
[0010]
According to the second and fourth aspects of the present invention, the multistage selection switch is configured to be in the switch open state when arranged between the respective selection positions, and the voltage corresponding to each selection position and the switch open state, respectively. The switch voltage of the value is output. Then, when the first predetermined time elapses after the switch voltage changes to either the selection position setting range corresponding to each selection position of the switch or the open state detection range corresponding to the switch open state, the switch voltage is based on the switch voltage. The selected position of the switch is confirmed. Further, when the second predetermined time elapses after the switch voltage changes to an unacceptable range other than the selected position setting range and the open state detection range, it is determined that the change in the switch voltage is an abnormal change. That is, in normal switch operation, the switch voltage is either a selected position setting range corresponding to each selected position of the switch or an open state detection range corresponding to the switch open state. Therefore, when the switch voltage changes to a range other than these, it can be reliably determined that the change in the switch voltage is an abnormal change.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, an embodiment of the invention will be described with reference to the drawings.
FIG. 9 is a perspective view of a main part of an automobile equipped with a sunroof device, and a roof glass 24 as an opening / closing member is provided on a skylight 23 formed on a roof panel 22 of the automobile 21. The roof glass 24 is provided so as to be reciprocally slidable in the front-rear direction (sliding opening / closing operation), and capable of moving up and down (tilting opening / closing operation) at the front end thereof with the vehicle width direction as a fulcrum. The roof glass 24 is opened and closed through a drive transmission mechanism (not shown) based on the drive of the drive motor 25 indicated by the broken line in FIG. The drive motor 25 constitutes the drive unit 10 together with a drive control circuit 11 (described later) that controls the drive of the motor 25. The drive unit 10 is disposed between the roof panel 22 in front of the skylight 23 and a molded ceiling panel (not shown) on the indoor side.
[0012]
Here, as shown in FIG. 2, the roof glass 24 of the present embodiment mainly includes a fully closed position and a tilt fully opened position (a position where the rear end of the roof glass 24 is most elevated to the outdoor side from the fully closed position). It has a pseudo fully closed position, a flap-down position (a position where the rear end of the roof glass 24 descends most indoors from the pseudo fully closed position), and a slide fully open position. In the present embodiment, the slide glass opening operation (S / O in FIG. 2) is performed in the order of the roof glass 24 from the fully closed position to the tilt fully open position, the pseudo fully closed position, the flap down position, and the slide fully open position. Operation) and the opposite operation are referred to as slide closing operation (S / C operation in FIG. 2).
[0013]
In the present embodiment, the fully closed position is “P1”, the slide fully open position is “P6”, and the four intermediate positions “P2” that divide the slide area from the flap down position to the slide fully open position into approximately 5 equal parts. “P5” is set. Each of the positions “P1” to “P6” at the time of the slide opening / closing operation is performed by setting a preselect switch SW2, which will be described later, to a selection position corresponding to each of the positions “P1” to “P6” (positions 1 to 6: Pos. 1 to Pos.6) are operated and arranged respectively.
[0014]
Further, the opening operation of the roof glass 24 from the fully closed position to the fully opened tilt position is a tilt opening operation (T / U operation in FIG. 2), and the reverse operation is a tilt closing operation (T / D operation in FIG. 2). . This tilt opening / closing operation is performed by operating tilt opening / closing switches SW3 and SW4 described later.
[0015]
FIG. 1 is an electric block diagram for explaining an electrical configuration of a sunroof device that drives and controls the drive motor 25. A drive control circuit 11 for driving and controlling the drive motor 25 is connected to a battery (not shown), and the circuit 11 is supplied with drive power + B from the battery. The drive power supply + B is adjusted to a predetermined power supply voltage by the power supply circuit 12 in the drive control circuit 11 and constitutes a position detection means, an open / close control means, a switch position determination means, an abnormality determination means, and an operation permission means. To be supplied.
[0016]
The drive control circuit 11 is connected to the ignition switch SW1. The ignition switch SW1 is connected to the control unit 13 via the input circuit 14 in the drive control circuit 11. When operated, the ignition switch SW1 outputs an operation signal (ON signal) to the control unit 13 via the input circuit 14. The control unit 13 operates based on the driving power supplied from the power supply circuit 12 based on the ON signal of the ignition switch SW1.
[0017]
The drive control circuit 11 is connected to various switches SW2 to SW4 for opening and closing the roof glass 24, that is, a preselect switch SW2, a tilt opening switch SW3, and a tilt closing switch SW4. The various switches SW <b> 2 to SW <b> 4 are connected to the control unit 13 via the input circuit 14 in the drive control circuit 11.
[0018]
Here, the preselect switch SW2 is formed of a rotary switch as shown in FIG. 3, and is configured to be held at each selected position (positions 1 to 6), and stopped between the selected positions (positions 1 to 6). It is difficult to do. Further, as shown in FIG. 4, the preselect switch SW2 is a ladder resistor connected to one of six resistors 20a to 20f having different resistance values according to the selected position (positions 1 to 6) of the switch SW2. 20 is provided. The preselect switch SW2 divides the voltage V0 by the ladder resistor 20, and, as shown in FIG. 5, the switch circuit Vs having different voltage values according to the selection position (positions 1 to 6) of the switch SW2 is input to the input circuit 14. Output to. In this case, when the selection position of the switch SW2 is switched from “position 1 (Pos.1)” to “position 6 (Pos.6)”, the voltage value of the switch voltage Vs becomes “VP1” to “VP6”. Is set in advance. Note that the switch SW2 is in an open state while the preselect switch SW2 is switched to each selected position (positions 1 to 6). In this case, the voltage value of the switch voltage Vs output from the preselect switch SW2 is substantially “V0”. The A / D conversion unit 13a provided in the control unit 13 performs A / D conversion on the input switch voltage Vs.
[0019]
When each of the tilt opening / closing switches SW3 and SW4 is operated, a command signal (in this embodiment, an ON signal of L level (ground level)) is output to the control unit 13 via the input circuit 14.
[0020]
A reference clock signal necessary for the operation of the control unit 13 is input from the clock oscillation circuit 15 to the control unit 13. In the control unit 13, the drive power supplied from the power supply circuit 12 is monitored by the voltage monitor circuit 16.
[0021]
The control unit 13 controls the motor 25 by supplying driving power to the driving motor 25 via the driving circuit 17.
That is, when the preselect switch SW2 is rotated and the switch voltage Vs corresponding to the selected position is input, the control unit 13 of the present embodiment sets the switch SW2 based on the value after the A / D conversion. Which selection position (positions 1 to 6) is determined is determined. In this case, as shown in FIG. 5, if the input switch voltage Vs falls within the selected position setting range including the voltage values “VP1” to “VP6” (within the broken line in FIG. 5), the control unit 13 It is determined that the switch SW2 is disposed at any selected position (positions 1 to 6). Further, when the switch voltage Vs falls within the open state detection range including the voltage value “V0” (within the broken line in FIG. 5), the control unit 13 switches the preselect switch SW2 to each selected position (positions 1 to 6). It is determined that the switch is open. Note that a range in which the switch voltage Vs is outside the selected position setting range and the open state detection range is an unacceptable range.
[0022]
Then, the control unit 13 supplies the drive power to the drive motor 25 so as to automatically open or close from the current open / close positions P1 to P6 (see FIG. 2) to the target positions (P1 to P6) selected by the switch SW2. And the motor 25 is driven. Eventually, when it is detected that the roof glass 24 is disposed at each of the positions P1 to P6 by detecting the opening / closing position of the roof glass 24, which will be described later, the control unit 13 stops the drive power supply to the drive motor 25. Then, the operation of the roof glass 24 is stopped.
[0023]
While operating the tilt opening switch SW3, that is, while an ON signal is input from the switch SW3, the control unit 13 supplies a driving power to the driving motor 25 so as to normally open the roof glass 24 (manual opening operation). And the motor 25 is driven. When the operation of the tilt opening switch SW3 is stopped, that is, when an OFF signal is input from the switch SW3, the control unit 13 stops the supply of drive power to the drive motor 25 to stop the operation of the roof glass 24. Further, in this case, when the roof glass 24 is disposed at the tilt fully opened position by detecting the opening / closing position of the roof glass 24, which will be described later, the control unit 13 returns to the drive motor 25 even if the tilt opening switch SW3 is operated. Then, the operation of the roof glass 24 is stopped.
[0024]
Further, the control unit 13 controls the drive motor 25 to normally close the roof glass 24 (manual closing operation) while operating the tilt closing switch SW4, that is, while the ON signal is input from the switch SW4. Drive power is supplied to drive the motor 25. When the operation of the tilt closing switch SW4 is stopped, that is, when an OFF signal is input from the switch SW4, the control unit 13 stops the supply of drive power to the drive motor 25 to stop the operation of the roof glass 24. Further, in this case, when the roof glass 24 is arranged at the fully closed position by detecting the opening / closing position of the roof glass 24 described later, the control unit 13 moves to the drive motor 25 even if the tilt close switch SW4 is operated. Then, the operation of the roof glass 24 is stopped.
[0025]
In the drive control circuit 11, a pair of Hall element magnetic sensors 18 a and 18 b constituting position detection means for detecting the rotation period (rotation speed) and rotation direction of the drive motor 25 are arranged on a substrate constituting the circuit 11. It is installed.
[0026]
Specifically, a rotating magnet (not shown) of the drive motor 25 is provided such that a sensor magnet magnetized in multiple directions in the rotational direction is integrally rotated, and the Hall element magnetic sensor 18a, 18b are arranged at predetermined intervals in the rotational direction. That is, the rotation sensor of this embodiment uses a non-contact type rotation sensor using magnetism. Each Hall element magnetic sensor 18a, 18b outputs a pulsed output signal corresponding to the rotation of the motor 25 to the detection circuit 19 when the drive motor 25 rotates. The output signals (pulse signals) output from the Hall element magnetic sensors 18a and 18b have a predetermined phase difference. The detection circuit 19 shapes the waveform of each output signal (pulse signal) and outputs it to the control unit 13.
[0027]
The controller 13 detects the rotation period (rotation speed) of the drive motor 25 based on the period of the output signal (pulse signal) input from the Hall element magnetic sensors 18a and 18b via the detection circuit 19.
[0028]
That is, when the roof glass 24 is opened based on the operation of the preselect switch SW2 and the tilt opening switch SW3, the control unit 13 performs every cycle of the output signal (pulse signal) (for example, at the rising edge). “1” is added to the count number (see FIG. 2). On the other hand, when the roof glass 24 is closed based on the operations of the preselect switch SW2 and the tilt close switch SW4, the control unit 13 adds the output signal (pulse signal) at the time of opening every cycle. “1” is subtracted from the count number. And the control part 13 detects the opening / closing position of the roof glass 24 according to the count number.
[0029]
The origin position setting (initial position setting) for determining the relative relationship between the roof glass 24 and the count number is performed, for example, in a state where the roof glass 24 is disposed at the mechanical limit position on the fully closed side. This is performed by setting the count number to “0” by operating the tilt close switch SW4 for a predetermined time or a predetermined number of times or more so as to further operate the glass 24 in the closing direction.
[0030]
The control unit 13 detects the rotation direction of the drive motor 25 according to the phase difference of each output signal (pulse signal), and detects the opening / closing direction of the roof glass 24 based on the detection of the rotation direction of the drive motor 25. is doing.
[0031]
Further, when the rotation period (rotational speed) of the drive motor 25 becomes longer (slower) than a predetermined pinching determination value while the roof glass 24 is performing the closing operation, the control unit 13 determines that the roof glass 24 and the roof glass 24 It is determined that a foreign object has been pinched between the roof panel 22 and the rotation cycle has become longer (the rotation speed has become slower). Then, the control unit 13 reversely rotates the drive motor 25 to release the foreign matter sandwiched by the roof glass 24 in the closing operation, and opens the roof glass 24 by a specified amount (predetermined count number). At this time, the control unit 13 switches the count number from subtraction to addition based on the reverse rotation of the drive motor 25.
[0032]
Next, the processing of the control unit 13 by operating the preselect switch SW2 will be described with reference to the flowchart shown in FIG.
In step S1, the control unit 13 determines whether or not the switch data (SW data) has changed due to the turning operation of the preselect switch SW2. Here, the SW data is set as shown in FIG.
[0033]
In steps S21 to S27, the control unit 13 determines that the input switch voltage Vs detects the switch open state between positions 1 (Pos. 1) to 6 (Pos. 6) or positions 1 to 6. It is determined whether or not there is. In FIG. 7, steps S24 and S25 are omitted because they are the same as steps S21 to S23. If the switch voltage Vs is within the range (selected position setting range) of position 1 (Pos.1) to position 6 (Pos.6), the control unit 13 proceeds to steps S31 to S36 and transfers the SW data to each position. Replace with numerical values “1” to “6” corresponding to 1 to 6. If the switch voltage Vs is within the range indicating the switch open state (open state detection range), the control unit 13 proceeds to step S37 and replaces the SW data with “FF” corresponding to the switch open state. If the switch voltage Vs indicates a position 1 (Pos. 1) to position 6 (Pos. 6) and a non-permissible range not corresponding to the switch open state, the process proceeds to step S38, and the SW data is a numerical value corresponding to the non-permissible range. Replace with “0”.
[0034]
In step S1, the control unit 13 determines that the preselect switch SW2 is not operated if there is no change in the SW data. The control unit 13 repeats Step S1 until there is a change in the SW data (until the preselect switch SW2 is operated). On the other hand, if there is a change in the SW data, the control unit 13 determines that the preselect switch SW2 has been operated, and proceeds to step S2.
[0035]
In step S <b> 2, the control unit 13 determines whether or not the time when the SW data is “0” continues for the abnormality determination time (second predetermined time) t <b> 1 or more. That is, the SW data is changed every time the positions 1 to 6 and the switch open state between them are passed along with the turning operation of the preselect switch SW2. When the switch voltage Vs changes normally in accordance with the turning operation of the preselect switch SW2, the switch voltage Vs is any of the positions 1 to 6 (Pos. 1 to 6) and the range indicating the switch open state. Therefore, the SW data is any one of “1” to “6” and “FF”. Accordingly, in this case, the SW data is not “0”. In other words, when the SW data is “0”, it means that the switch voltage Vs has changed abnormally for some reason. That is, in this step S2, the control unit 13 determines whether or not the switch voltage Vs is abnormally changed by determining whether or not the time when the SW data is “0” continues for the abnormality determination time t1 or more. is doing.
[0036]
Here, as a cause of the abnormal change of the switch voltage Vs, power supply noise occurs in the voltage V0, the resistance value changes due to electromigration, etc., or the voltage value of the switch voltage Vs changes due to the influence of an electromagnetic wave from the outside. It is possible to do. Among these, since power supply noise is likely to occur and changes instantaneously, the time when the SW data becomes “0” does not continue for more than the abnormality determination time t1. That is, in this step S2, changes in the switch voltage Vs due to power supply noise and the like are eliminated. If the time when the SW data is “0” is less than the abnormality determination time t1, the control unit 13 determines that the switch voltage Vs is changing normally, and proceeds to step S3.
[0037]
In step S3, the control unit 13 measures whether or not a predetermined switch confirmation time (first predetermined time) t2 has elapsed since the SW data has changed. The switch confirmation time t2 is set to be longer than the abnormality determination time t1. If the SW data changes within the switch confirmation time t2, the control unit 13 determines that the preselect switch SW2 is being operated, and returns to step S2.
[0038]
On the other hand, if the SW data does not change even after the switch confirmation time t2, the control unit 13 determines that the operation of the preselect switch SW2 is completed, and proceeds to step S4.
[0039]
In step S4, the control unit 13 transfers the SW data determined in the previous processing routine from the current position register in the control unit 13 to the previous position register (both not shown), and empties the current position register. In step S5, the control unit 13 writes the SW data determined in this routine into the current position register. Note that the SW data written in this case does not become “0” due to the setting of the times t1 and t2 in the steps S2 and S3, but becomes “1” to “6” or “FF”. Then, the control unit 13 proceeds to step S6.
[0040]
On the other hand, if the time during which the SW data is “0” continues for more than the abnormality determination time t1 in step S2, the control unit 13 determines that the switch voltage Vs has changed abnormally and proceeds to step S13. .
[0041]
In step S13, the control unit 13 transfers the SW data determined in the previous processing routine from the current position register in the control unit 13 to the previous position register, and makes the current position register empty. In step S14, the control unit 13 writes the SW data determined in the current routine as “0” in the current position register. Then, the control unit 13 proceeds to step S6.
[0042]
In step S6, the control unit 13 determines whether the current position data or the previous position data in the corresponding register is “0” or “FF”. If the current or previous position data is “0” or “FF”, the control unit 13 proceeds to step S12 and maintains the stop state of the drive motor 25 (does not operate). That is, it is because the process after subsequent step S7 cannot be performed.
[0043]
On the other hand, if neither the current position data nor the previous position data is “0”, the control unit 13 determines that the SW data changes based on the normal rotation operation of the preselect switch SW2, and proceeds to step S7.
[0044]
In step S7, the control unit 13 sets a target position (P1 to P6) of the roof glass 24 corresponding to the current position data, and proceeds to step S8.
In step S8, the position data of the target position (P1 to P6) is larger than the current open / close positions P1 to P6 of the roof glass 24, that is, the target position (P1 to P6) is the open / close positions P1 to P6 of the current roof glass 24. In the case of the fully open side, the control unit 13 drives the drive motor 25 to open the roof glass 24 in step S9.
[0045]
On the other hand, the position data of the target positions (P1 to P6) is smaller than the current opening / closing positions P1 to P6 of the roof glass 24, that is, the target positions (P1 to P6) are all from the current opening / closing positions P1 to P6 of the roof glass 24. When it is the closed side, the control unit 13 proceeds to step S10 and step S11, and drives the drive motor 25 to close the roof glass 24 in step S11.
[0046]
Further, the target positions (P1 to P6) have the same position data as the current open / close positions P1 to P6 of the roof glass 24, that is, the target positions (P1 to P6) are the same as the current open / close positions P1 to P6 of the roof glass 24. If it is the position, the control unit 13 proceeds from step S10 to step S12, and maintains the drive motor 25 stopped (not operated).
[0047]
Next, the process of the control part 13 is demonstrated according to the specific example shown in FIG.
FIG. 8A shows that the switch voltage Vs is normally changed when the preselect switch SW2 is rotated from the position 1 to the position 2 in a state where the current position of the roof glass 24 is disposed at the fully closed position P1. Shows the case. In this case, the time ta during which the preselect switch SW2 is rotated from the position 1 to the position 2 is an example of a normal operation that is shorter than the switch confirmation time t2.
[0048]
First, before the preselect switch SW2 is rotated, the position 1, that is, “1” is written in the current position register in the control unit 13. The switch voltage Vs is located within a range indicating position 1 (substantially “VP1”).
[0049]
Next, the preselect switch SW2 is rotated, and the preselect switch SW2 is in a switch open state while the switch SW2 is being rotated from position 1 to position 2, and the switch voltage Vs is within a range indicating the switch open state. Located (substantially “V0”). Then, the SW data changes from “1” to “FF” (step S1), but the time ta for rotating the preselect switch SW2 from position 1 to position 2 is shorter than the switch confirmation time t2 as described above. The controller 13 does not rewrite the position register this time (step S3). That is, the position 1, that is, “1” remains written in the current position register.
[0050]
Next, when the preselect switch SW2 is arranged at the position 2, the switch voltage Vs is located within a range indicating the position 2 (substantially “VP2”). Then, the SW data changes from “FF” to “2” (step S1). Eventually, when the switch confirmation time t2 elapses after changing to the SW data “2” (step S3), the control unit 13 writes position 1, that is, “1” to the previous position register, and position 2, that is, this time to the position register. “2” is written (steps S4 and S5).
[0051]
Next, the control unit 13 sets the target opening / closing position P2 of the roof glass 24 corresponding to the position data “2” in the current position register (step S7). Then, the control unit 13 compares the currently set target opening / closing position P2 with the current position of the roof glass 24 (fully closed position P1) (step S8), and drives the drive motor 25 to open the roof glass 24. Then, the roof glass 24 is opened to the target opening / closing position P2 (step S9).
[0052]
If the time ta after the SW data changes to “FF” is longer than the switch confirmation time t2, the current position register is rewritten to “FF” when the confirmation time t2 has elapsed, so the control unit No. 13 does not operate the roof glass 24 based on the change of the current and next SW data. That is, an operation that keeps the preselect switch SW2 between the positions 1 and 2 for a long time such that the time ta after the SW data changes to “FF” exceeds the switch confirmation time t2 is determined as an abnormal operation. ing.
[0053]
On the other hand, FIG. 8B shows a range in which the switch voltage Vs indicates the position 2 even when the preselect switch SW2 is not operated in the state where the current position of the roof glass 24 is disposed at the fully closed position P1. It shows the case of abnormal change. In this case, this is an example when the time tb when the switch voltage Vs changes from the range indicating the position 1 to the range indicating the position 2 is shorter than the switch determination time t2 and longer than the abnormality determination time t1.
[0054]
First, before the switch voltage Vs changes, position 1, that is, “1” is written in the current position register in the control unit 13. The switch voltage Vs is located within a range indicating position 1 (substantially “VP1”).
[0055]
Next, while the preselect switch SW2 is not operated, while the switch voltage Vs is changing from the range indicating the position 1 to the range indicating the position 2, the switch voltage Vs is located in the non-allowable range. It changes from “1” to “0” (step S1). At this time, as described above, the time tb during which the switch voltage Vs changes from the range indicating the position 1 to the range indicating the position 2 is shorter than the switch determination time t2 but longer than the abnormality determination time t1 (step S2). 13 writes position 1, that is, “1” into the previous position register, and writes “0” indicating the non-permissible range into the current position register (steps S13 and S14). Then, when the current position data becomes “0” (step S6), the control unit 13 does not operate the drive motor 25 (step S12).
[0056]
Next, when the switch voltage Vs changes within the range indicating the position 2, the SW data changes from “0” to “2” (step S1). Eventually, when the switch confirmation time t2 elapses after changing to the SW data “2” (step S3), the control unit 13 writes “0” to the previous position register and sets position 2, that is, “2” to the current position register. Writing is performed (steps S4 and S5). Even in this case, the controller 13 does not operate the drive motor 25 (step S12) when the previous position data becomes “0” (step S6). Therefore, even if the switch voltage Vs changes abnormally as if the preselect switch SW2 was operated, the roof glass 24 is prevented from malfunctioning, and the user's uncomfortable feeling is reduced.
[0057]
If the time tb from when the SW data changes to “0” is longer than the switch confirmation time t2, the current position register is rewritten to “0” when the confirmation time t2 has elapsed. No. 13 does not operate the roof glass 24 based on changes in the current and next SW data even in this case.
[0058]
Incidentally, when the time tb after the SW data changes to “0” is not compared with the abnormality determination time t1, as described above, if the time tb is shorter than the switch confirmation time t2, the SW data The position 1, that is, “1” remains written in the current position register until the value is changed from “0” to “2” and determined. That is, the control unit 13 erroneously recognizes that the switch SW2 is operated even though the preselect switch SW2 is not operated, and causes the roof glass 24 to malfunction. However, the control unit 13 of the present embodiment compares the time tb after the SW data changes to “0” with the abnormality determination time t1 (step S2). Malfunctions are reliably prevented.
[0059]
As described above, the sunroof device of this embodiment has the following features.
(1) The control unit 13 performs the first predetermined time (after the switch voltage Vs output from the preselect switch SW2 has changed to any one of the ranges (selected position setting range, open state detection range, non-allowable range) ( When the switch confirmation time t2) elapses, the selection position of the switch SW2 is confirmed based on the switch voltage Vs. In addition, the control unit 13 determines that the switch voltage Vs has changed to the non-selection range (in this case, the non-permissible range; the open state detection range may be included), and the first predetermined time (switch determination time t2). When a shorter second predetermined time (abnormality determination time t1) elapses, it is determined that the change in the switch voltage Vs is an abnormal change. The control unit 13 determines that both the previous and current switch selection positions are determined at a normal selection position where the switch voltage Vs falls within the selection position setting range, and the change in the switch voltage Vs has changed normally. When it is determined, the operation of the roof glass 24 is permitted to the open / close position corresponding to the selected switch position determined this time.
[0060]
That is, in the normal operation of the switch SW2, the second predetermined time shorter than the first predetermined time (switch determination time t2) for determining the selected position of the switch SW2 even though the switch voltage Vs changes in the non-selection range. It changes sufficiently even within (abnormality determination time t1). Therefore, a change that requires a first predetermined time (switch determined time t2) for determining the selected position of the switch SSW2 for the switch voltage Vs to change in the non-selected range is naturally the first predetermined time ( Even if the change requires a second predetermined time (abnormality determination time t1) that is shorter than the switch confirmation time t2), it can be determined that the change is not abnormal due to the normal operation of the switch SW2. Therefore, the malfunction of the roof glass 24 due to the change of the switch voltage Vs not based on the normal operation of the switch SW2 is prevented, and the user's uncomfortable feeling can be reduced.
[0061]
(2) The pre-select switch SW2 is configured so as to be in a switch open state when arranged between the selected positions, and outputs a switch voltage Vs having a voltage value corresponding to each selected position and the switch open state. is there. Then, the control unit 13 switches the switch voltage Vs between the selection position setting range according to each selection position of the switch SW2 and the open state detection range according to the switch open state, for a first predetermined time (switch When the confirmation time t2) elapses, the selection position of the switch SW2 is confirmed based on the switch voltage Vs. In addition, the control unit 13 changes the switch voltage Vs when the second predetermined time (abnormality determination time t1) elapses after the switch voltage Vs changes to an unacceptable range other than the selected position setting range and the open state detection range. Is determined to be an abnormal change.
[0062]
That is, in the normal operation of the switch SW2, the switch voltage Vs is either a selection position setting range corresponding to each selection position of the switch SW2 or an open state detection range corresponding to the switch open state. Therefore, when the switch voltage Vs changes to a range other than these, the control unit 13 can reliably determine that the change in the switch voltage Vs is an abnormal change. As a result, the malfunction of the roof glass 24 can be prevented more reliably, and the user's uncomfortable feeling can be reduced.
[0063]
In addition, you may change embodiment of this invention as follows.
In the above embodiment, the preselect switch SW2 is configured as shown in FIG. 3, but the present invention is not limited to this configuration. For example, although the ladder resistor 20 is used for the switch SW2, a variable resistor may be used. In addition, the switch SW2 is a rotary switch that rotates, but may be a switch that operates in a reciprocating linear manner, for example.
[0064]
In the above embodiment, the processing flow of the control unit 13 related to the preselect switch SW2 is configured as shown in FIG. 6, but the present invention is not limited to this and may be changed as appropriate.
[0065]
In the above embodiment, the processing flow of the control unit 13 related to the creation of switch data is configured as shown in FIG. 7, but the present invention is not limited to this and may be changed as appropriate.
[0066]
In the above embodiment, when the rotation period of the drive motor 25 becomes longer than a predetermined pinching determination value, it is determined that pinching has occurred by the roof glass 24. However, pinching determination is not limited to this. Absent.
[0067]
In the above embodiment, the Hall element magnetic sensors 18a and 18b are used as the rotation sensor, but a magnetoresistive element whose resistance changes with a change in the magnetic field may be used. In addition to these non-contact type magnetic sensors, for example, an optical rotation sensor may be used. Further, a contact type rotation sensor using a sliding contact may be used.
[0068]
The circuit configuration of the drive control circuit 11 of the above embodiment is not limited to this, and may be changed as appropriate.
In the above embodiment, the drive motor 25 and the drive control circuit 11 having the Hall element magnetic sensors 18a and 18b, the control unit 13 and the like are integrally configured as the drive unit 10, but the present invention is not limited to this. For example, the drive control circuit 11 may be provided separately.
[0069]
In the above embodiment, the driving power is supplied to the driving motor 25 and the roof glass 24 is normally opened / closed (manual opening / closing operation) only while the tilt opening switch SW3 or the tilt closing switch SW4 is operated. Even if the switch SW3 or the tilt close switch SW4 is operated once and then stopped, the roof motor 24 is moved to the target position (tilt fully open position when the tilt is opened, fully closed position when the tilt is closed). It is good also as an automatic opening and closing operation which continues power supply.
[0070]
In the above embodiment, the sunroof device that performs both the slide opening / closing operation and the tilt opening / closing operation is used. However, the sunroof device that performs only the slide opening / closing operation may be used.
[0071]
○ In the above embodiment, the sunroof device has the roof glass as the opening and closing member. May be.
[0072]
The technical idea that can be grasped from each of the above embodiments will be described below.
(A) In the opening / closing member control apparatus according to claim 1 or 2,
The opening / closing member control apparatus, wherein the opening / closing member is a roof glass and a window glass of an automobile.
[0073]
【The invention's effect】
As described above in detail, according to the present invention, it is possible to provide an opening / closing member control device and an opening / closing member control method that can prevent a malfunction of the opening / closing member and reduce a user's uncomfortable feeling.
[Brief description of the drawings]
FIG. 1 is an electrical configuration diagram of a sunroof device of the present embodiment.
FIG. 2 is an explanatory diagram for explaining an opening / closing operation of a roof glass.
FIG. 3 is a schematic diagram for explaining an appearance of a preselect switch.
FIG. 4 is an electrical configuration diagram of a preselect switch.
FIG. 5 is an electrical characteristic diagram of the preselect switch.
FIG. 6 is a flowchart showing a flow of processing of a control unit related to a preselect switch.
FIG. 7 is a flowchart showing a flow of processing of a control unit related to creation of switch data.
FIGS. 8A and 8B are explanatory diagrams for explaining a specific example of processing of the control unit 13; FIG.
FIG. 9 is a perspective view of a main part of an automobile equipped with a sunroof device.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 13 ... Position detection means, Open / close control means, Switch position confirmation means, Abnormality determination means, Control part which comprises operation permission means, 18a, 18b ... Hall element magnetic sensor which comprises position detection means, 24 ... Roof as opening / closing member Glass, 25 ... drive motor, SW2 ... preselect switch as multi-stage selection switch, P1 to P6 ... open / close position, Vs ... switch voltage, t1 ... abnormality determination time as second predetermined time, t2 ... first predetermined time Switch confirmation time.

Claims (4)

開閉部材を開閉作動させる駆動モータと、
前記開閉部材の開閉位置を検出する位置検出手段と、
前記位置検出手段の検出に基づいて前記開閉部材を予め定めた複数の所定開閉位置のいずれかに配置すべく各位置に応じた選択位置を有し、各選択位置に応じて抵抗値を異ならせ供給される電圧を分圧し、その分圧した電圧をスイッチ電圧として出力する多段階選択スイッチと、
前記スイッチから出力されたスイッチ電圧に基づいて選択位置を判定し、該位置に対応する開閉位置まで前記開閉部材を作動すべく前記駆動モータを制御する開閉制御手段と
を備えた開閉部材制御装置であって、
前記スイッチから出力されたスイッチ電圧が該スイッチの各選択位置に応じた選択位置設定範囲と該範囲以外の非選択範囲とのいずれかに変化してから該範囲内において第1所定時間が経過すると、そのスイッチ電圧に基づいて前記スイッチの選択位置を確定するスイッチ位置確定手段と、
前記スイッチ電圧が前記非選択範囲に変化してから該範囲内において前記第1所定時間より短い第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定する異常判定手段と、
前記スイッチ位置確定手段により前回及び今回のスイッチの選択位置がともに前記スイッチ電圧が選択位置設定範囲となる正常な選択位置で確定され、かつ前記異常判定手段により前記スイッチ電圧の変化が正常に変化したものであると判定した場合に、今回確定したスイッチの選択位置に対応する開閉位置まで前記開閉制御手段による前記開閉部材の作動を許可する作動許可手段と
を備えたことを特徴とする開閉部材制御装置。
A drive motor for opening and closing the opening and closing member;
Position detecting means for detecting an opening / closing position of the opening / closing member;
Based on the detection of the position detecting means, the opening / closing member has a selection position corresponding to each position so as to be arranged at any one of a plurality of predetermined opening / closing positions, and the resistance value is varied according to each selection position. A multi-stage selection switch that divides the supplied voltage and outputs the divided voltage as a switch voltage;
An opening / closing member control device comprising: an opening / closing control unit that determines a selection position based on a switch voltage output from the switch and controls the drive motor to operate the opening / closing member to an opening / closing position corresponding to the position; There,
When a first predetermined time elapses in the range after the switch voltage output from the switch changes to either a selected position setting range corresponding to each selected position of the switch or a non-selected range other than the selected range. Switch position determining means for determining the selected position of the switch based on the switch voltage;
When the switch voltage and the second predetermined time after changing to the non-selected range shorter than the first predetermined time within the range has elapsed, the abnormality determination means determines that the change in the switch voltage is abnormal changes ,
Both the previous and current switch selection positions are determined by the switch position determination means at a normal selection position in which the switch voltage falls within the selection position setting range, and the change in the switch voltage is normally changed by the abnormality determination means. An opening / closing member control means for allowing an operation of the opening / closing member by the opening / closing control means up to an opening / closing position corresponding to the selected position of the switch determined this time when it is determined that apparatus.
請求項1に記載の開閉部材制御装置において、
前記多段階選択スイッチは、前記各選択位置間に配置されるとスイッチオープン状態となるように構成され、各選択位置及びスイッチオープン状態にそれぞれ対応した電圧値のスイッチ電圧を出力するものであって、
前記スイッチ位置確定手段は、前記スイッチ電圧が前記各選択位置に応じた選択位置設定範囲と前記スイッチオープン状態に応じたオープン状態検出範囲とのいずれかに変化してから第1所定時間が経過すると、そのスイッチ電圧に基づいて前記スイッチの選択位置を確定し、
前記異常判定手段は、前記スイッチ電圧が前記選択位置設定範囲及び前記オープン状態検出範囲以外の非許容範囲に変化してから前記第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定することを特徴とする開閉部材制御装置。
In the opening-and-closing member control device according to claim 1,
The multi-stage selection switch is configured to be in a switch open state when arranged between the selection positions, and outputs a switch voltage having a voltage value corresponding to each selection position and the switch open state. ,
The switch position determining means, when the first predetermined time elapses after the switch voltage changes to either a selected position setting range corresponding to each selected position or an open state detection range corresponding to the switch open state , Confirming the selection position of the switch based on the switch voltage,
When the second predetermined time elapses after the switch voltage changes to an unacceptable range other than the selected position setting range and the open state detection range, the abnormality determination unit changes the switch voltage with an abnormal change. An opening / closing member control apparatus characterized by determining that there is an opening / closing member.
駆動モータにより開閉作動される開閉部材を予め定めた複数の所定開閉位置のいずれかに配置すべく各位置に応じた選択位置を有し、各選択位置に応じて抵抗値を異ならせ供給される電圧を分圧し、その分圧した電圧をスイッチ電圧として出力する多段階選択スイッチからの該スイッチ電圧に基づいて前記選択位置を判定し、該位置に対応する開閉位置まで前記開閉部材を作動すべく前記駆動モータを制御するようにした開閉部材制御方法であって、
前記スイッチ電圧が該スイッチの各選択位置に応じた選択位置設定範囲と該範囲以外の非選択範囲とのいずれかに変化してから該範囲内において第1所定時間が経過すると、そのスイッチ電圧に基づいて前記スイッチの選択位置を確定し、
前記スイッチ電圧が前記非選択範囲に変化してから該範囲内において前記第1所定時間より短い第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定し、
前回及び今回のスイッチの選択位置がともに前記スイッチ電圧が選択位置設定範囲となる正常な選択位置で確定され、かつ前記スイッチ電圧の変化が正常に変化したものであると判定された場合に、今回確定したスイッチの選択位置に対応する開閉位置まで前記開閉部材の作動を許可するようにしたことを特徴とする開閉部材制御方法。
The opening / closing member that is opened / closed by the drive motor has a selection position corresponding to each position so as to be disposed at any one of a plurality of predetermined opening / closing positions, and is supplied with different resistance values according to each selection position The selection position is determined based on the switch voltage from the multistage selection switch that divides the voltage and outputs the divided voltage as a switch voltage, and the opening / closing member is operated to the opening / closing position corresponding to the position. An opening / closing member control method for controlling the drive motor,
When the first predetermined time elapses in the range after the switch voltage changes to either the selected position setting range corresponding to each selected position of the switch or a non-selected range other than the selected range, the switch voltage is changed to the switch voltage. Based on the selected position of the switch,
When a second predetermined time shorter than the first predetermined time has elapsed within the range after the switch voltage has changed to the non-selection range, it is determined that the change in the switch voltage is an abnormal change,
When the previous and current switch selection positions are both determined at a normal selection position where the switch voltage is within the selection position setting range and it is determined that the change in the switch voltage has changed normally, An opening / closing member control method characterized by permitting the opening / closing member to operate up to an opening / closing position corresponding to the selected position of the switch.
請求項3に記載の開閉部材制御方法において、
前記多段階選択スイッチは、前記各選択位置間に配置されるとスイッチオープン状態となるように構成され、各選択位置及びスイッチオープン状態にそれぞれ対応した電圧値のスイッチ電圧を出力するものであって、
前記スイッチ電圧が前記各選択位置に応じた選択位置設定範囲と前記スイッチオープン状態に応じたオープン状態検出範囲とのいずれかに変化してから第1所定時間が経過すると、そのスイッチ電圧に基づいて前記スイッチの選択位置を確定し、
前記スイッチ電圧が前記選択位置設定範囲及び前記オープン状態検出範囲以外の非許容範囲に変化してから前記第2所定時間が経過すると、そのスイッチ電圧の変化が異常な変化であると判定するようにしたことを特徴とする開閉部材制御方法。
In the opening-and-closing member control method according to claim 3,
The multi-stage selection switch is configured to be in a switch open state when arranged between the selection positions, and outputs a switch voltage having a voltage value corresponding to each selection position and the switch open state. ,
When the first predetermined time elapses after the switch voltage changes to either the selected position setting range corresponding to each selected position or the open state detection range corresponding to the switch open state, based on the switch voltage Confirm the selected position of the switch,
When the second predetermined time elapses after the switch voltage changes to an unacceptable range other than the selected position setting range and the open state detection range, the change in the switch voltage is determined to be an abnormal change. An opening / closing member control method characterized by that.
JP2002244116A 2002-08-23 2002-08-23 Opening / closing member control apparatus and opening / closing member control method Expired - Fee Related JP3824980B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002244116A JP3824980B2 (en) 2002-08-23 2002-08-23 Opening / closing member control apparatus and opening / closing member control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002244116A JP3824980B2 (en) 2002-08-23 2002-08-23 Opening / closing member control apparatus and opening / closing member control method

Publications (2)

Publication Number Publication Date
JP2004084211A JP2004084211A (en) 2004-03-18
JP3824980B2 true JP3824980B2 (en) 2006-09-20

Family

ID=32052702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002244116A Expired - Fee Related JP3824980B2 (en) 2002-08-23 2002-08-23 Opening / closing member control apparatus and opening / closing member control method

Country Status (1)

Country Link
JP (1) JP3824980B2 (en)

Also Published As

Publication number Publication date
JP2004084211A (en) 2004-03-18

Similar Documents

Publication Publication Date Title
JP3931732B2 (en) Opening and closing body pinching detection device
JP4487588B2 (en) Opening and closing body control device
US8120293B2 (en) Control apparatus for open/close member and method for controlling open/close member
US20030052636A1 (en) Controller for a moving member and method for setting a reference position of the moving member
US6972536B2 (en) Closure member control device and method for limiting positional deviation of closure member
US6713980B2 (en) Apparatus and method for controlling moving member
US7030509B2 (en) Apparatus and method for controlling movement of a movable member
JP3824978B2 (en) Opening / closing member control apparatus and opening / closing member control method
JP3824980B2 (en) Opening / closing member control apparatus and opening / closing member control method
US10024095B2 (en) Openable and closable member control apparatus
JP4732628B2 (en) Opening / closing member control device and opening / closing member origin position setting method in opening / closing member control device
JPH07139260A (en) Vehicle power window controller
JP3889329B2 (en) Opening / closing member control apparatus and opening / closing member control method
JP4153181B2 (en) Sunroof control device and sunroof control method
JP3839402B2 (en) Opening / closing member control device and method of preventing opening / closing member misalignment in opening / closing member control device
JP4153180B2 (en) Sunroof control device and sunroof control method
JPH08331877A (en) Safety device of motor-driven window opening/closing mechanism for vehicle
JP2782313B2 (en) Window / door opening / closing control device
JP2002371750A (en) Opening and closing member control device, and origin position setting method of opening and closing member in opening and closing member control device
JP2590031Y2 (en) Power window device with safety device
JP4588940B2 (en) Sunroof control device and sunroof control method
JP2003003742A (en) Open-close member controller and method for controlling open-close member
JP2942120B2 (en) Power window drive control device
JP4350878B2 (en) Mobile control device
JP3533653B2 (en) Opening / closing body control device for vehicles

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040820

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060420

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060628

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100707

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110707

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110707

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120707

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120707

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130707

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140707

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees