JPH07180433A - Power window controller - Google Patents

Power window controller

Info

Publication number
JPH07180433A
JPH07180433A JP5325113A JP32511393A JPH07180433A JP H07180433 A JPH07180433 A JP H07180433A JP 5325113 A JP5325113 A JP 5325113A JP 32511393 A JP32511393 A JP 32511393A JP H07180433 A JPH07180433 A JP H07180433A
Authority
JP
Japan
Prior art keywords
output
window glass
motor
window
current
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.)
Granted
Application number
JP5325113A
Other languages
Japanese (ja)
Other versions
JP3324851B2 (en
Inventor
Satoru Sekiguchi
口 悟 関
Takeshi Ito
藤 雄 伊
Masaru Kato
藤 勝 加
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.)
Jidosha Denki Kogyo KK
Original Assignee
Jidosha Denki Kogyo KK
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 Jidosha Denki Kogyo KK filed Critical Jidosha Denki Kogyo KK
Priority to JP32511393A priority Critical patent/JP3324851B2/en
Publication of JPH07180433A publication Critical patent/JPH07180433A/en
Application granted granted Critical
Publication of JP3324851B2 publication Critical patent/JP3324851B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)
  • Stopping Of Electric Motors (AREA)

Abstract

PURPOSE:To inform a driver of a fact that an initial setup is not yet performed and simultaneously to perform a relative positional detection of a windowpane which made its full-close position a base point after the initial setting. CONSTITUTION:When a close switch 3 is turned on before the initial setting, an initial setting output generating means 16, generating an initial setting output, is installed in a control means 7. In this constitution, a position counter 8 is reset at a full-close position of a windowpane 30 after making it perform an inching movement by the initial setting out.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、モータにより駆動す
るウインドガラスの現在位置を相対的に検出することに
よってウインドガラスの動作を制御するのに利用される
パワーウインド制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power window control device used for controlling the operation of a windshield by detecting the current position of the windshield driven by a motor.

【0002】[0002]

【従来の技術】従来、ウインドガラスの現在位置を相対
的に検出することによってウインドガラスの動作を制御
するパワーウインド制御装置としては、オープンスイッ
チがオン操作されるとコントローラはウインドガラスを
開けるための電流をモータに対して供給し、これとは逆
に、クローズスイッチがオン操作されるとコントローラ
はウインドガラスを閉めるための電流をモータに対して
供給するものが知られている。モータが回転するとモー
タ回転センサより回転数に比例したパルス信号が発生す
るため、コントローラはパルス信号数によってウインド
ガラスの全閉位置に相当する値を基点として前記基点か
らのカウント数によりウインドガラスの相対的な現在位
置を検出するとともに、パルス信号の一定時間内の周期
を検出することによってウインドガラスにかかっている
負荷を相対的に検出し、前記カウント数に基いてウイン
ドガラスの全閉位置の手前からそれ以下の領域を反転領
域に設定している。クローズスイッチがオン操作される
ことによってウインドガラスが全閉位置に向けて移動し
ている際に、反転領域内でウインドガラスによって挟み
込みが発生すると、コントローラはウインドガラスが反
転領域内にあって、ウインドガラスに負荷がかかってい
ることを検出して挟み込みの認識をするため、ウインド
ガラスを開けるための反転した電流をモータに供給して
挟み込みを解消する。また、クローズスイッチがオン操
作されることによってウインドガラスが全閉位置に到達
すると、コントローラはウインドガラスの現在位置が全
閉位置に相当し、且つウインドガラスが全閉位置におい
て車体により移動を阻止されることによりウインドガラ
スに負荷がかかっていることを検出するためウインドガ
ラスを閉めるための電流の供給を中止する。
2. Description of the Related Art Conventionally, as a power window control device for controlling the operation of the window glass by relatively detecting the current position of the window glass, a controller for opening the window glass when an open switch is turned on. It is known that a current is supplied to the motor, and conversely, when the close switch is turned on, the controller supplies the motor with a current for closing the window glass. When the motor rotates, a pulse signal proportional to the number of rotations is generated from the motor rotation sensor.Therefore, the controller uses the value corresponding to the fully closed position of the window glass as the base point according to the number of pulse signals The current position is detected, and the load on the windshield is detected relatively by detecting the period of the pulse signal within a certain period of time. Since, the area below that is set as the inversion area. If the window glass is caught in the reversing area when the window is moving toward the fully closed position due to the closing switch being turned on, the controller will detect that the window glass is in the reversing area. In order to detect the entrapment by detecting the load on the glass, the reversed current for opening the window glass is supplied to the motor to eliminate the entrapment. When the windshield reaches the fully closed position by turning on the close switch, the controller indicates that the current position of the windshield is the fully closed position, and the windshield is prevented from moving at the fully closed position by the vehicle body. By doing so, the current supply for closing the windshield is stopped to detect that the windshield is under load.

【0003】[0003]

【発明が解決しようとする課題】上記した従来のパワー
ウインド制御装置では、バッテリー上がり等でコントロ
ーラに対する所定の電流の供給が遮断されることによっ
てコントローラに内蔵されている読み出し書き込みメモ
リ(RAM)が消去されると、相対的に認識しているウ
インドガラスの反転領域の値に狂いを生ずる可能性を有
し、その後にバッテリーが新たに接続された際、乗員に
初期設定がなされていないことを知らせる手段がないこ
とから、初期設定がされない状態のままで反転領域内で
ウインドガラスにより挟み込みが発生したとしても、的
確な反転動作を行えるとは言い難いという問題点があ
り、前記問題点を解決することが課題となっていた。
In the conventional power window control device described above, the read / write memory (RAM) built in the controller is erased by shutting off the supply of a predetermined current to the controller when the battery runs down. If this is done, it may cause a deviation in the value of the inversion area of the windshield that is relatively recognized, and when the battery is newly connected after that, the occupant is informed that the initial setting has not been made. Since there is no means, there is a problem that it is difficult to say that an accurate reversing operation can be performed even if pinching occurs by the wind glass in the reversing region in the state where the initial setting is not made, and the above-mentioned problems are solved. That was a challenge.

【0004】[0004]

【発明の目的】この発明に係わるパワーウインド制御装
置は、初期設定がなされていない際、乗員に初期設定が
なされていないことを知らせるとともに初期設定を行わ
せ、ウインドガラスの相対的な位置検出を正確に行って
挾み込みの検出をするパワーウインド制御装置を提供す
ることを目的としている。
SUMMARY OF THE INVENTION A power window control device according to the present invention notifies an occupant that an initial setting has not been made when the initial setting has not been made, and also causes the occupant to perform the initial setting to detect the relative position of the windshield. It is an object of the present invention to provide a power window control device that accurately performs detection of pinching.

【0005】[0005]

【発明の構成】[Constitution of the invention]

【0006】[0006]

【課題を解決するための手段】この発明に係わるパワー
ウインド制御装置は、オン操作によりオープン指令信号
を発生するオープンスイッチと、オン操作によりクロー
ズ指令信号を発生するクローズスイッチと、ウインドガ
ラスに連結された出力軸を有し、且つ出力軸の回転によ
ってウインドガラスを全閉位置と全開位置とのあいだの
ストローク内で移動させるモータと、オープンスイッチ
のオン操作に基いてウインドガラスを開けるための電流
をモータに供給するとともに、クローズスイッチのオン
操作に基いてウインドガラスを閉めるための電流をモー
タに供給する駆動手段と、モータの出力軸の回転に対応
してパルス信号を発生するパルス発生手段と、パルス発
生手段よりのパルス信号によりウインドガラスの現在位
置を相対的にカウントする位置カウンタと、パルス信号
により出力軸の現在周期時間を検出するパルス周期タイ
マと、モータに対する電流を間欠的に供給するための寸
動時間を設定する寸動タイマとを有する現在値メモリお
よびウインドガラスのストローク内で全閉位置の近傍に
相当する位置基準値を予め定められた位置基準値記憶手
段と、出力軸の基準回転数に対応したパルス周期基準時
間を予め定められた基準時間記憶手段とを有する基準値
メモリを備えているとともに初期設定以前にクローズス
イッチよりクローズ指令信号が発生すると初期設定出力
を発生する初期設定出力発生手段を備えた制御手段をそ
なえ、制御手段は、初期設定出力発生手段より初期設定
出力が発生すると、駆動手段に対するウインドガラスを
閉めるためのウインド閉出力を寸動タイマにより設定さ
れた寸動時間内で発生してウインドガラスが全閉位置に
到達したときにモータに対する電流供給を停止し且つ位
置カウンタをリセットし、初期設定出力により位置カウ
ンタをリセットした後に、クローズスイッチよりクロー
ズ指令信号が発生している際、位置基準値記憶手段の位
置基準値よりも位置カウンタのカウントが大きく且つパ
ルス周期タイマの現在周期時間が基準時間記憶手段のパ
ルス周期基準時間よりも大きくなるか等しくなったとき
に駆動手段にウインドガラスを開けるためのウインド開
出力を発生する構成としたことを特徴としており、必要
に応じて採用される実施態様において制御手段は、初期
設定出力発生手段より初期設定出力が発生すると、駆動
手段にウインドガラスを閉めるためのウインド閉出力お
よび駆動手段にウインドガラスを開けるためのウインド
開出力を寸動タイマにより設定された寸動時間内で発生
することとしている。
A power window control device according to the present invention is connected to a window glass and an open switch for generating an open command signal by an on operation, a close switch for generating a close command signal by an on operation. The motor that has an output shaft and that rotates the output shaft to move the window glass within the stroke between the fully closed position and the fully open position, and the current for opening the window glass based on the ON operation of the open switch. A drive means for supplying the motor with a current for closing the window glass on the basis of the ON operation of the close switch, and a pulse generating means for generating a pulse signal corresponding to the rotation of the output shaft of the motor, The current position of the windshield is relatively monitored by the pulse signal from the pulse generator. A current position memory having a pulse position counter, a pulse cycle timer for detecting the current cycle time of the output shaft by a pulse signal, and a jogging timer for setting a jogging time for intermittently supplying a current to the motor, and Position reference value storage means for presetting a position reference value corresponding to the vicinity of the fully closed position within the stroke of the window glass, and preset reference time storage for a pulse cycle reference time corresponding to the reference rotation speed of the output shaft. And a control means having an initial setting output generating means for generating an initial setting output when a close command signal is generated from the close switch before the initial setting. When the initial setting output is generated from the output generating means, the window closing output for closing the window glass for the driving means is inching. When the window glass reaches the fully closed position due to the inching time set by the timer, the current supply to the motor is stopped, the position counter is reset, and the position counter is reset by the initial setting output, then closed. When the close command signal is generated from the switch, the count of the position counter is larger than the position reference value of the position reference value storage means and the current cycle time of the pulse cycle timer is larger than the pulse cycle reference time of the reference time storage means. It is characterized in that a window opening output for opening the window glass is generated in the driving means when they become equal or equal to each other. In the embodiment adopted as necessary, the control means is the initial setting output generating means. When more initial setting output occurs, the window closing output for closing the window glass on the drive means Further, the window opening output for opening the window glass on the driving means is generated within the inching time set by the inching timer.

【0007】[0007]

【発明の作用】この発明に係わるパワーウインド制御装
置は、初期設定がなされていない状態でクローズスイッ
チがオン操作されると、駆動手段に対するウインドガラ
スを閉めるためのウインド閉出力を寸動タイマにより設
定された時間発生してウインドガラスが全閉位置に到達
したときにモータに対する電流供給が停止されて位置カ
ウンタがリセットされるため、初期設定がなされていな
いことをクローズスイッチのオン操作がされたときに乗
員に対して知らせる動作を行い、位置カウンタはウイン
ドガラスの全閉位置を基点とする零カウントに設定さ
れ、以後はウインドガラスの全閉位置からのカウントに
よってウインドガラスの相対的な位置検出を行い、位置
カウンタがリセットされてから、クローズスイッチより
クローズ指令信号が発生して位置基準値記憶手段の位置
基準値よりも位置カウンタのカウントが大きく且つパル
ス周期タイマの現在周期時間が基準時間記憶手段のパル
ス周期基準時間よりも大きくなるか等しくなったとき
に、ウインドガラスの挾み込みを認識してクローズ指令
信号に相反するウインドガラスを開けるためのウインド
開出力を駆動手段に送給するものとなる。
The power window control device according to the present invention sets the window closing output for closing the window glass for the driving means by the inching timer when the closing switch is turned on in the state where the initial setting is not made. When the windshield reaches the fully closed position for a certain period of time, the current supply to the motor is stopped and the position counter is reset.Therefore, the initial setting is not made when the close switch is turned on. The position counter is set to zero count based on the fully closed position of the windshield, and thereafter the relative position of the windshield is detected by counting from the fully closed position of the windshield. After the position counter is reset, the close command signal is sent from the close switch. When the count of the position counter is larger than the position reference value of the position reference value storage means and the current cycle time of the pulse cycle timer is larger than or equal to the pulse cycle reference time of the reference time storage means, the window is displayed. The window opening output for opening the window glass, which is contrary to the close command signal, is sent to the drive means by recognizing that the glass is caught.

【0008】[0008]

【実施例】図1ないし図5には、この発明に係わるパワ
ーウインド制御装置の一実施例が示されており、図1は
機能ブロック構成図、図2,図3,図4,図5は動作を
説明するフローチャートである。なお、図5は図2,図
3,図4に示すルーチンが実行されている間にモータの
パルス信号が発生すると実行される割込ルーチンであ
る。
1 to 5, there is shown an embodiment of a power window control device according to the present invention. FIG. 1 is a functional block configuration diagram, and FIGS. It is a flow chart explaining operation. 5 is an interrupt routine executed when a motor pulse signal is generated while the routines shown in FIGS. 2, 3 and 4 are being executed.

【0009】この発明に係わるパワーウインド制御装置
1は、主として、オープンスイッチ2、クローズスイッ
チ3、モータ4、駆動手段5、モータパルス発生手段
6、制御手段7から構成されており、制御手段7には位
置カウンタ8、パルス周期タイマ9、寸動タイマ10、
位置バッファ11を有する現在値メモリ12と、位置基
準値記憶手段13、基準時間記憶手段14を有する基準
値メモリ15と、初期設定出力発生手段16とが備えら
れている。
The power window control device 1 according to the present invention is mainly composed of an open switch 2, a close switch 3, a motor 4, a driving means 5, a motor pulse generating means 6 and a control means 7. Is a position counter 8, a pulse cycle timer 9, an inching timer 10,
A current value memory 12 having a position buffer 11, a position reference value storage means 13, a reference value memory 15 having a reference time storage means 14, and an initial setting output generating means 16 are provided.

【0010】オープンスイッチ2は運転席ドアのアーム
レスト部分やセンターコンソールに取付けられており、
乗員によってオン操作されるとウインドガラス30を開
けるためのオープン指令信号を発生する。オープンスイ
ッチ2のオン操作によって発生したオープン指令信号は
入力インターフェイスaによって置き換えられて制御手
段7に送給され、制御手段7に備えられた後述するマイ
クロコンピュータ内の所定のアドレスに書き込まれる。
The open switch 2 is attached to the armrest portion of the driver's door and the center console,
When turned on by an occupant, an open command signal for opening the window glass 30 is generated. The open command signal generated by the ON operation of the open switch 2 is replaced by the input interface a and sent to the control means 7, and is written in a predetermined address in a microcomputer, which will be described later, provided in the control means 7.

【0011】クローズスイッチ3はオープンスイッチ2
と同様に運転席ドアのアームレスト部分やセンターコン
ソールに取付けられており、乗員によってオン操作され
るとウインドガラス30を閉めるためのクローズ指令信
号を発生する。クローズスイッチ3のオン操作によって
発生したクローズ指令信号は前記入力インターフェイス
aによって置き換えられて制御手段7に送給され、制御
手段7に備えられた前記マイクロコンピュータ内の所定
のアドレスに書き込まれる。
The close switch 3 is the open switch 2
Like the above, it is attached to the armrest portion of the driver's door and the center console, and when it is turned on by an occupant, it generates a close command signal for closing the window glass 30. The close command signal generated by the ON operation of the close switch 3 is replaced by the input interface a and sent to the control means 7, and written in a predetermined address in the microcomputer provided in the control means 7.

【0012】モータ4にはウインドガラス30に連結さ
れた出力軸4aを備えているため、正方向の電流が供給
されることによって出力軸4aが正回転するとウインド
ガラス30を全閉位置から全開位置までのあいだのスト
ローク内で全開側に向けて移動させ、これとは逆に逆方
向の電流が供給されることによって出力軸4aが逆回転
するとウインドガラス30を全閉位置に向けて移動させ
る。モータ4の出力軸4aにはパルス発生手段に相当す
るモータパルス発生手段6が結合されており、モータ4
は後述する駆動手段5より電流を供給される。
Since the motor 4 is provided with the output shaft 4a connected to the window glass 30, when the output shaft 4a rotates in the forward direction by supplying a current in the forward direction, the window glass 30 is moved from the fully closed position to the fully opened position. During this period, the window glass 30 is moved toward the fully open position, and when the output shaft 4a is reversely rotated by supplying the electric current in the opposite direction, the window glass 30 is moved toward the fully closed position. A motor pulse generating means 6 corresponding to a pulse generating means is coupled to the output shaft 4a of the motor 4,
Is supplied with a current from the driving means 5 described later.

【0013】モータパルス発生手段6はモータ4の出力
軸4aが回転することによって出力軸4aの回転数に比
例したパルス信号を発生し、モータ4の出力軸4aが回
転しないとパルス信号を発生しない。モータパルス発生
手段6が発生したパルス信号は前記入力インターフェイ
スaによって置き換えられて制御手段7に送給され、制
御手段7によって認識される。
The motor pulse generator 6 generates a pulse signal proportional to the rotation speed of the output shaft 4a when the output shaft 4a of the motor 4 rotates, and does not generate a pulse signal unless the output shaft 4a of the motor 4 rotates. . The pulse signal generated by the motor pulse generation means 6 is replaced by the input interface a and sent to the control means 7, and is recognized by the control means 7.

【0014】駆動手段5はリレー等を含む電源接続手段
であって、後述する制御手段7より発生したウインド開
出力が出力インターフェイスbを介して置き換えられる
ことによってモータ4に正方向の電流を供給し、これと
は逆に制御手段7より発生したウインド閉出力が前記出
力インターフェイスbを介して置き換えられることによ
ってモータ4に逆方向の電流を供給する。
The driving means 5 is a power source connecting means including a relay and the like, and supplies a forward current to the motor 4 by replacing the window opening output generated by the control means 7 described later via the output interface b. On the contrary, the window closing output generated by the control means 7 is replaced via the output interface b, thereby supplying the motor 4 with a reverse current.

【0015】一方、制御手段7には随時書き込み読み出
しメモリ(RAM)および読み出し専用メモリ(RO
M)によって構成されたマイクロコンピュータが備えら
れており、マイクロコンピュータ内において位置カウン
タ8、パルス周期タイマ9、寸動タイマ10、位置バッ
ファ11を有する現在値メモリ12が随時書き込み読み
出しメモリであって、位置基準値記憶手段13、基準時
間記憶手段14を有する基準値メモリ15が読み出し専
用メモリであり、マイクロコンピュータ内に初期設定出
力発生手段16が内蔵されている。
On the other hand, the control means 7 includes a read / write memory (RAM) and a read-only memory (RO) as needed.
M) is provided, and the current value memory 12 including the position counter 8, the pulse period timer 9, the inching timer 10, and the position buffer 11 is a write / read memory at any time in the microcomputer. A reference value memory 15 having a position reference value storage means 13 and a reference time storage means 14 is a read-only memory, and an initialization output generating means 16 is built in the microcomputer.

【0016】位置カウンタ8はモータパルス発生手段6
によって発生したパルス信号が入力インターフェイスa
を介して送給されると、所定のアドレスにカウント数を
書き込む。この際のカウントは、ウインドガラス30が
全閉位置に到達しているときを基点に相当する零カウン
トとするようになっており、ウインドガラス30が全閉
位置から全開位置に向けて移動する際にパルス信号数を
随時カウントアップし、ウインドガラス30が全開位置
から全閉位置に向けて移動する際にパルス信号数をカウ
ントダウンする。
The position counter 8 is a motor pulse generating means 6
Pulse signal generated by the input interface a
When the data is sent via, the count number is written in a predetermined address. The count at this time is set to a zero count corresponding to the base point when the window glass 30 reaches the fully closed position, and when the window glass 30 moves from the fully closed position to the fully open position. The pulse signal number is counted up at any time, and the pulse signal number is counted down when the window glass 30 moves from the fully open position to the fully closed position.

【0017】パルス周期タイマ9はモータパルス発生手
段6によって発生したパルス信号の周期を予め定められ
た時間内で検出することによりウインドガラス30の現
在周期時間をマイクロコンピュータ内の所定のアドレス
に書き込む。
The pulse cycle timer 9 detects the cycle of the pulse signal generated by the motor pulse generator 6 within a predetermined time to write the current cycle time of the window glass 30 into a predetermined address in the microcomputer.

【0018】寸動タイマ10は後述する初期設定出力発
生手段16より初期設定出力が発生した際に作動を開始
して予め定められた第1のタイマ時間T1を越えてから
前記第1のタイマ時間T1よりも長いものとして予め定
められた第2のタイマ時間T2に到達するまでのあいだ
モータ4に対する電流を間欠的に供給する機能を有す
る。前記初期設定出力発生手段16より初期設定出力が
発生すると寸動タイマ10は初期設定出力が発生してい
る間作動を繰り返す。
The inching timer 10 starts its operation when an initial setting output is generated from an initial setting output generating means 16 which will be described later, and the first timer time is exceeded after a predetermined first timer time T1 is exceeded. It has a function of intermittently supplying a current to the motor 4 until it reaches a second timer time T2 that is predetermined as longer than T1. When the initial setting output is generated by the initial setting output generating means 16, the inching timer 10 repeats its operation while the initial setting output is generated.

【0019】位置バッファ11は位置カウンタ8によっ
て書き込まれたパルス信号のカウントをマイクロコンピ
ュター内に一旦保存しておくための機能を有する。
The position buffer 11 has a function of temporarily storing the count of the pulse signal written by the position counter 8 in the microcomputer.

【0020】位置基準値記憶手段13はウインドガラス
30の全閉位置から全開位置までのあいだのストローク
内で全閉位置の近傍に相当する値を位置基準値としてマ
イクロコンピュータ内の所定の記憶エリアに記憶してい
る。ここで、全閉位置の近傍に相当する値とはウインド
ガラス30が全閉位置に向けて移動している際、指等を
挾み込んだときにウインドガラス30の全閉位置側に生
ずる寸法よりも小さい値に相当する。位置基準値記憶手
段13によって記憶された位置基準値がウインドガラス
30のストローク内で全閉位置の近傍に相当する値であ
ることから、全閉位置から全開位置までのストローク内
のほぼ中間位置に相当する値から位置基準値までのあい
だを挾み込みが発生した際にモータ4を反転駆動させる
ための反転領域として設定している。
The position reference value storage means 13 sets a value corresponding to the vicinity of the fully closed position within the stroke between the fully closed position and the fully opened position of the window glass 30 as a position reference value in a predetermined storage area in the microcomputer. I remember. Here, the value corresponding to the vicinity of the fully closed position is a dimension that occurs on the fully closed position side of the window glass 30 when a finger or the like is caught in the window glass 30 while moving toward the fully closed position. Corresponds to a smaller value. Since the position reference value stored by the position reference value storage means 13 is a value corresponding to the vicinity of the fully closed position in the stroke of the window glass 30, the position reference value is set at an almost intermediate position in the stroke from the fully closed position to the fully opened position. A range from the corresponding value to the position reference value is set as a reversal region for reversing and driving the motor 4 when a pinch occurs.

【0021】基準時間記憶手段14はモータ4の出力軸
4aが定常状態で回転する際の基準回転数に対応したも
のとして予め定められたパルス周期基準時間をマイクロ
コンピュータ内の所定の記憶エリアに記憶している。
The reference time storage means 14 stores a pulse period reference time, which is predetermined as a value corresponding to the reference rotation speed when the output shaft 4a of the motor 4 rotates in a steady state, in a predetermined storage area in the microcomputer. is doing.

【0022】初期設定出力発生手段16はマイクロコン
ピュータ内の所定のアドレスにイニシャライズフラグが
書き込まれていない際に、クローズスイッチ3が乗員に
よりオン操作されることによりクローズ指令信号が発生
してマイクロコンピュータ内の所定のアドレスに書き込
まれると初期設定出力を発生する。
The initial setting output generating means 16 generates a close command signal by turning on the close switch 3 by an occupant when the initialization flag is not written at a predetermined address in the microcomputer and the close command signal is generated in the microcomputer. When it is written to a predetermined address of, the initial setting output is generated.

【0023】制御手段7は、マイクロコンピュータ内の
所定のアドレスにイニシャライズフラグが書き込まれて
いない状態で、プログラム実行用の電源が投入されてか
らクローズスイッチ3が乗員によりオン操作されること
によりクローズ指令信号が発生してマイクロコンピュー
タ内の所定のアドレスに書き込まれると、初期設定出力
発生手段16によって初期設定出力が発生するため、寸
動タイマ10の作動を開始させ、初期設定出力が発生し
ている時間に対応して寸動タイマ10が予め定められた
第1のタイマ時間T1から第2のタイマ時間T2が経過
してリセットされる動作を繰り返すことによってウイン
ドガラス30を閉めるためのウインド閉出力を予め定め
た休止時間を介してモータ4に対し間欠的に供給するた
め、ウインドガラス30を全閉位置に向けて間欠的に移
動させ、ウインドガラス30が全閉位置に到達すること
によって、パルス周期タイマ9によりマイクロコンピュ
ータ内の所定のアドレスに書き込まれている現在周期時
間が基準時間記憶手段14によって記憶されているパル
ス周期基準時間よりも小さくなったときにモータ4に対
する電流供給を中止し、そのときまで位置カウンタ8に
よってマイクロコンピュータの所定のアドレスに書き込
まれているカウントをリセットするとともに所定のアド
レスにイニシャライズフラグを書き込むことによって初
期設定を行う。このとき、初期設定出力によってウイン
ドガラス30を閉めるためのウインド閉出力とウインド
ガラス30を開けるためのウインド開出力とを寸動タイ
マ10によって予め定めた休止時間を介してモータ4に
対し間欠的に供給してもよく、この場合、好ましくはウ
インド閉出力をウインド開出力よりも長い時間設定する
のがよい。初期設定出力が発生することによってウイン
ドガラス30を閉めるためのウインド閉出力とウインド
ガラス30を開けるためのウインド開出力とによりウイ
ンドガラス30は全閉位置に少し移動されてから全開位
置に向けてわずかに移動され、ウインドガラス30はこ
の動作を繰り返し行いながら全閉位置に到達する。
The control means 7 issues a close command by turning on the close switch 3 by the occupant after the power for program execution is turned on in a state where the initialization flag is not written at a predetermined address in the microcomputer. When a signal is generated and written to a predetermined address in the microcomputer, the initialization output generation means 16 generates an initialization output, so that the inching timer 10 is started to operate and the initialization output is generated. A window closing output for closing the window glass 30 is repeated by repeating an operation in which the inching timer 10 is reset after a predetermined first timer time T1 and a second timer time T2 have elapsed in correspondence with time. Since the motor 4 is intermittently supplied through a predetermined rest time, the wind When the window glass 30 reaches the fully closed position by intermittently moving the window 30 toward the fully closed position, the current cycle time written at a predetermined address in the microcomputer by the pulse cycle timer 9 is the reference time. When the pulse period reference time stored in the storage means 14 becomes smaller than the reference time, the current supply to the motor 4 is stopped, and the position counter 8 resets the count written in the predetermined address of the microcomputer until that time. At the same time, the initialization flag is written by writing the initialization flag to a predetermined address. At this time, the window closing output for closing the window glass 30 and the window opening output for opening the window glass 30 are intermittently applied to the motor 4 by the inching timer 10 for a predetermined pause time by the initial setting output. It may be supplied, and in this case, it is preferable to set the window closed output for a longer time than the window open output. Due to the generation of the initial setting output, the window closing output for closing the window glass 30 and the window opening output for opening the window glass 30 cause the window glass 30 to be slightly moved to the fully closed position and then slightly toward the fully opened position. The window glass 30 reaches the fully closed position by repeating this operation.

【0024】そして、初期設定を行った後に、乗員によ
ってクローズスイッチ3がオン操作されることによって
発生したクローズ指令信号が入力インターフェイスaに
よって置き換えられてマイクロコンピュータ内に書き込
まれると、クローズスイッチ3のオン時間に対応した時
間で出力インターフェイスbを介して駆動手段5よりモ
ータ4に逆方向の電流を供給するため、モータ4の出力
軸4aを逆回転させるのでウインドガラス30を全閉位
置に向けて移動させる。
When the closing command signal generated by turning on the closing switch 3 by the occupant after the initial setting is replaced by the input interface a and written in the microcomputer, the closing switch 3 is turned on. In order to supply a reverse current to the motor 4 from the driving means 5 through the output interface b at a time corresponding to the time, the output shaft 4a of the motor 4 is reversely rotated, so that the window glass 30 is moved toward the fully closed position. Let

【0025】このとき、クローズスイッチ3のオン操作
に応答してウインドガラス30が全閉位置に向けて移動
している間に、ウインドガラス30の反転領域内で挾み
込みが発生すると、位置基準値記憶手段13の位置基準
値よりも位置カウンタ8のカウントが大きくなり且つパ
ルス周期タイマ9の現在周期時間が基準時間記憶手段1
4のパルス周期基準時間よりも大きくなるか等しくなる
ため、マイクロコンピュータ内の所定のアドレスに反転
フラグを書き込むとともにクローズ指令信号に相反する
ウインドガラス30を開けるためのウインド開出力を発
生して駆動手段5に送給し、モータ4に正方向の電流を
供給するため、モータ4の出力軸4aを正回転させてウ
インドガラス30を全開位置に向けて反転移動させる。
At this time, when the window glass 30 moves in the fully closed position in response to the ON operation of the close switch 3, if a pinch occurs in the inversion region of the window glass 30, the position reference The count of the position counter 8 is larger than the position reference value of the value storage means 13, and the current cycle time of the pulse cycle timer 9 is the reference time storage means 1
Since the pulse period is larger than or equal to the pulse period reference time of 4, an inversion flag is written at a predetermined address in the microcomputer and a window opening output for opening the window glass 30 contrary to the closing command signal is generated to drive the driving means. In order to supply the electric current in the forward direction to the motor 4, the output shaft 4a of the motor 4 is rotated in the forward direction to reversely move the window glass 30 toward the fully opened position.

【0026】また、クローズスイッチ3がオン操作され
ることによって発生したクローズ指令信号が入力インタ
ーフェイスaによって置き換えられてマイクロコンピュ
ータ内に書き込まれると、クローズスイッチ3のオン時
間に対応した時間で出力インターフェイスbを介して駆
動手段5よりモータ4に逆方向の電流を供給するため、
モータ4の出力軸4aを逆回転させるのでウインドガラ
ス30を全閉位置に向けて移動させ、ウインドガラス3
0が全閉位置に到達して移動を阻止されると、モータ4
の出力軸4aも回転を拘束されるので、パルス周期タイ
マ9の現在周期時間が基準時間記憶手段14のパルス周
期基準時間よりも大きくなるか等しくなり且つ位置基準
値記憶手段13の位置基準値よりも位置カウンタ8のカ
ウントが大きくなるため、ウインドガラス30が全閉位
置に到達したことを認識してモータ4に対する電流供給
を中止し、ウインドガラス30を全閉位置において停止
させる。
When the close command signal generated by turning on the close switch 3 is replaced by the input interface a and written in the microcomputer, the output interface b is output at a time corresponding to the on time of the close switch 3. In order to supply a reverse current to the motor 4 from the driving means 5 via
Since the output shaft 4a of the motor 4 is rotated in the reverse direction, the window glass 30 is moved toward the fully closed position.
When 0 reaches the fully closed position and is blocked from moving, the motor 4
Since the rotation of the output shaft 4a is also restricted, the current cycle time of the pulse cycle timer 9 becomes greater than or equal to the pulse cycle reference time of the reference time storage means 14 and the position reference value of the position reference value storage means 13 However, since the count of the position counter 8 is increased, the fact that the window glass 30 has reached the fully closed position is recognized, the current supply to the motor 4 is stopped, and the window glass 30 is stopped at the fully closed position.

【0027】そしてまた、オープンスイッチ2がオン操
作されることによって発生したオープン指令信号が入力
インターフェイスaによって置き換えられてマイクロコ
ンピュータ内に書き込まれると、オープンスイッチ2の
オン時間に対応した時間で出力インターフェイスbを介
して駆動手段5よりモータ4に正方向の電流を供給する
ため、モータ4の出力軸4aを正回転させるのでウイン
ドガラス30を全開位置に向けて移動させ、ウインドガ
ラス30が全開位置に到達して移動を阻止されると、モ
ータ4の出力軸4aも回転を拘束されるので、パルス周
期タイマ9の現在周期時間が基準時間記憶手段14のパ
ルス周期基準時間よりも大きくなるか等しくなるため、
ウインドガラス30が全開位置に到達したことを認識し
てモータ4に対する電流供給を中止し、ウインドガラス
30を全閉位置において停止させる。
Further, when the open command signal generated by turning on the open switch 2 is replaced by the input interface a and written in the microcomputer, the output interface is output at a time corresponding to the on time of the open switch 2. Since the drive means 5 supplies the electric current in the positive direction to the motor 4 via b, the output shaft 4a of the motor 4 is rotated in the positive direction, so that the window glass 30 is moved toward the fully opened position, and the window glass 30 is moved to the fully opened position. When it reaches and is blocked from moving, the output shaft 4a of the motor 4 is also restrained from rotating, so that the current cycle time of the pulse cycle timer 9 becomes greater than or equal to the pulse cycle reference time of the reference time storage means 14. For,
Recognizing that the window glass 30 has reached the fully open position, the current supply to the motor 4 is stopped, and the window glass 30 is stopped at the fully closed position.

【0028】このような構造を有するモータ制御装置1
は図2,図3,図4に示すプログラムに基づいて制御動
作を行う。なお、これらのプログラムにおいては初期設
定出力によってウインドガラス30を全閉位置に移動さ
せるルーチンが示されている。
A motor control device 1 having such a structure
Performs control operation based on the programs shown in FIGS. 2, 3 and 4. It should be noted that these programs show a routine for moving the window glass 30 to the fully closed position by the initial setting output.

【0029】ウインドガラス30が全閉位置と全開位置
のあいだにある際に、バッテリー上り等によってプログ
ラム実行用の電源が遮断されるとイニシャライズフラグ
はリセットされて初期設定がなされていない状態とな
り、その後に、新たな電源が投入されると同時にプログ
ラムが開始され、新たなバッテリーが取り付けられてか
ら乗員によりクローズスイッチ3がオン操作されると、
ステップ100においてのリセットからステップ101
に移行し、ステップ101においてオープンスイッチ2
のオン操作により書き込まれているデータおよびクロー
ズスイッチ3のオン操作により書き込まれているデータ
があるか否かが取り込まれてステップ102に移行し、
ステップ102において位置バッファ11によって書き
込まれている値を位置カウンタ8にストアしてステップ
103に移行し、ステップ103においての判別でクロ
ーズスイッチ3はオンであるためステップ104に移行
し、ステップ104においての判別でイニシャライズフ
ラグはセットされていないのでステップ105に移行
し、ステップ105において寸動タイマ10をインクリ
メントしてステップ106に移行し、ステップ106に
おいての判別でリセット後に作動を開始した寸動タイマ
10は第1のタイマ時間T1を越えていないのでステッ
プ107に移行し、ステップ107においての判別でパ
ルス周期タイマ9の現在周期時間が基準時間記憶手段1
4のパルス周期基準時間よりも大きくなく等しくもない
のでステップ108に移行し、ステップ108において
モータ4に逆方向の電流を供給するルーチンが行われ
る。
While the window glass 30 is between the fully closed position and the fully open position, if the power supply for program execution is cut off due to battery exhaustion or the like, the initialization flag is reset and the initial setting is not made. Then, when a new power source is turned on, the program is started at the same time, a new battery is attached, and then the occupant turns on the close switch 3,
From reset in step 100 to step 101
Open switch 2 in step 101.
And whether there is data written by the ON operation of the close switch 3 and the data written by the ON operation of the close switch 3, and the process proceeds to step 102.
In step 102, the value written by the position buffer 11 is stored in the position counter 8 and the process proceeds to step 103. Since it is determined in step 103 that the close switch 3 is on, the process proceeds to step 104, and at step 104. Since the initialization flag has not been set in the determination, the process proceeds to step 105, the inching timer 10 is incremented in step 105 and the process proceeds to step 106, and the inching timer 10 that started to operate after being reset in the determination in step 106 Since the first timer time T1 has not been exceeded, the routine proceeds to step 107, and the current cycle time of the pulse cycle timer 9 is determined by the determination in step 107 and the reference time storage means 1
Since the pulse period reference time of 4 is not larger than or equal to the pulse period reference time of 4, the routine proceeds to step 108, and at step 108, a routine for supplying a reverse current to the motor 4 is performed.

【0030】モータ4は逆方向の電流が供給されるた
め、ウインドガラス30を全閉位置に向けて移動させ、
モータ4の出力軸4aが回転を開始することによって割
込ルーチンが実行され、ステップ200においての判別
でクローズスイッチ3はオンであるためステップ201
に移行し、ステップ201において位置バッファ11を
デクリメントしてステップ202に移行し、ステップ2
02において前回割込発生時からの経過時間をパルス周
期タイマ9にストアしてステップ101に復帰し、ステ
ップ101からステップ102に移行し、ステップ10
2からステップ103に移行し、ステップ103におい
ての判別でクローズスイッチ3はオンであるのでステッ
プ104に移行し、ステップ104においての判別でイ
ニシャライズフラグはセットされていないのでステップ
105に移行し、ステップ105において寸動タイマ1
0をインクリメントしてステップ106に移行し、ステ
ップ106においての判別でリセット後に作動を開始し
た寸動タイマ10が第1のタイマ時間T1を越えるとス
テップ109に移行し、ステップ109においての判別
で寸動タイマ10が第2のタイマ時間T2を越えていな
いのでステップ110に移行し、ステップ110におい
てモータ4に対する電流供給を中止してステップ101
に復帰するルーチンが行われる。
Since the motor 4 is supplied with an electric current in the opposite direction, the window glass 30 is moved toward the fully closed position,
When the output shaft 4a of the motor 4 starts to rotate, the interrupt routine is executed. Since the close switch 3 is on in the determination in step 200, step 201
The position buffer 11 is decremented in step 201, the process proceeds to step 202, and step 2
In 02, the elapsed time from the occurrence of the previous interrupt is stored in the pulse cycle timer 9, the process returns to step 101, the process proceeds from step 101 to step 102, and step 10
The routine proceeds from step 2 to step 103, and in the determination in step 103, the close switch 3 is on, so the procedure proceeds to step 104. In the determination in step 104, the initialization flag is not set, so the procedure proceeds to step 105, and step 105 Inching timer 1
When 0 is incremented, the process proceeds to step 106, and when the inching timer 10 that has started to operate after being reset in the determination in step 106 exceeds the first timer time T1, the process proceeds to step 109, and the determination is made in step 109. Since the dynamic timer 10 has not exceeded the second timer time T2, the process proceeds to step 110, in which the current supply to the motor 4 is stopped and step 101
A routine for returning to is performed.

【0031】モータ4は電流の供給が中止されることに
よってウインドガラス30を全閉位置に少し移動させた
ところで停止させる。
The motor 4 is stopped when the windshield 30 is slightly moved to the fully closed position by stopping the supply of electric current.

【0032】ステップ101からステップ102に移行
し、ステップ102からステップ103に移行し、ステ
ップ103においての判別でクローズスイッチ3はオン
であるのでステップ104に移行し、ステップ104に
おいての判別でイニシャライズフラグはセットされてい
ないのでステップ105に移行し、ステップ105にお
いて寸動タイマ10をインクリメントしてステップ10
6に移行し、ステップ106においての判別でリセット
後に作動を開始した寸動タイマ10が第1のタイマ時間
T1を越えているのでステップ109に移行し、ステッ
プ109においての判別で寸動タイマ10が第2のタイ
マ時間T2を越えるとステップ110に移行し、ステッ
プ111において寸動タイマ10をリセットしてステッ
プ101に復帰するルーチンが行われる。
From step 101 to step 102, from step 102 to step 103, since the close switch 3 is ON in the determination in step 103, the process proceeds to step 104, and the initialization flag is set in the determination in step 104. Since it is not set, the routine proceeds to step 105, where the inching timer 10 is incremented at step 105
In step 6, the inching timer 10 started to operate after being reset in the determination in step 106 exceeds the first timer time T1, so the process proceeds to step 109, in which the inching timer 10 is determined by the determination in step 109. When the second timer time T2 is exceeded, the routine proceeds to step 110, where the inching timer 10 is reset at step 111 and the routine returns to step 101.

【0033】モータ4に対する電流供給が中止されたと
ころで寸動タイマ10がリセットされるため、次の回の
ルーチンで、ステップ101からステップ102に移行
し、ステップ102からステップ103に移行し、ステ
ップ103においての判別でクローズスイッチ3はオン
であるのでステップ104に移行し、ステップ104に
おいての判別でイニシャライズフラグはセットされてい
ないのでステップ105に移行し、ステップ105にお
いて寸動タイマ10をインクリメントしてステップ10
6に移行し、ステップ106においての判別でリセット
後に作動を開始した寸動タイマ10が第1のタイマ時間
T1を越えていないのでステップ107に移行し、ステ
ップ107においての判別でパルス周期タイマ9の現在
周期時間が基準時間記憶手段14のパルス周期基準時間
よりも小さくないのでステップ108に移行し、ステッ
プ108においてモータ4に逆方向の電流を供給するル
ーチンと、ステップ106においての判別でステップ1
09に移行してステップ110に移行してモータ4に対
する電流供給を中止するルーチンと、ステップ109の
判別でステップ111に移行して寸動タイマ10をリセ
ットするルーチンとを繰り返し行うため、ウインドガラ
ス30を全閉位置に少し移動させたところで停止させる
寸動動作を繰り返しながら全閉位置に向けて間欠的に移
動させる。
When the current supply to the motor 4 is stopped, the inching timer 10 is reset. Therefore, in the routine of the next time, the routine proceeds from step 101 to step 102, from step 102 to step 103, and step 103. At step 104, the close switch 3 is on, and therefore the procedure goes to step 104. At step 104, since the initialization flag is not set, the procedure goes to step 105. In step 105, the inching timer 10 is incremented and the step is performed. 10
6, the inching timer 10 which started to operate after being reset in the determination in step 106 has not exceeded the first timer time T1. Therefore, the process proceeds to step 107, and the pulse cycle timer 9 is determined in the determination in step 107. Since the current cycle time is not shorter than the pulse cycle reference time of the reference time storage means 14, the routine proceeds to step 108, and a routine for supplying a reverse current to the motor 4 at step 108 and step 1 according to the determination at step 106.
In order to repeat the routine of shifting to 09 and proceeding to step 110 to stop the current supply to the motor 4 and the routine of shifting to step 111 upon determination of step 109 to reset the inching timer 10, the windshield 30 Is intermittently moved toward the fully closed position while repeating the inching operation to stop when is slightly moved to the fully closed position.

【0034】その後に、ウインドガラス30が全閉位置
に到達することによって移動を阻止されてモータ4が出
力軸4aの回転を拘束されるとステップ107において
の判別でパルス周期タイマ9の現在周期時間が基準時間
記憶手段14のパルス周期基準時間よりも大きくなるか
等しくなるためステップ112に移行し、ステップ11
2においてモータ4に対する電流供給を中止するととも
に所定のアドレスにイニシャライズフラグを書き込み、
位置カウンタ8をリセットしてステップ101に復帰す
る。
After that, when the window glass 30 reaches the fully closed position and its movement is blocked and the motor 4 is restrained from rotating the output shaft 4a, the current cycle time of the pulse cycle timer 9 is determined by the determination in step 107. Is greater than or equal to the pulse period reference time of the reference time storage means 14, the process proceeds to step 112 and step 11
In 2, the current supply to the motor 4 is stopped, and the initialization flag is written to a predetermined address.
The position counter 8 is reset and the process returns to step 101.

【0035】初期設定がなされていない状態で、新たな
電源が投入されてから乗員によりクローズスイッチ3が
オン操作されるとウインドガラス30を全閉位置に少し
移動させたところで停止させる寸動動作を繰り返しなが
ら全閉位置に向けて間欠的に移動させ、ウインドガラス
30が全閉位置に到達したと同時に初期設定を行う。
If the occupant turns on the close switch 3 after a new power source is turned on in a state where the initial setting is not made, the inching operation of stopping the window glass 30 when the window glass 30 is slightly moved to the fully closed position is performed. While repeating, the window glass 30 is intermittently moved toward the fully closed position, and the initial setting is performed at the same time when the window glass 30 reaches the fully closed position.

【0036】その後、ウインドガラス30が全閉位置に
到達している際に、オープンスイッチ2が乗員によって
オン操作されると、ステップ101からステップ102
に移行し、ステップ102からステップ103に移行
し、ステップ103においての判別でクローズスイッチ
3はオンではないのでステップ113に移行し、ステッ
プ113においての判別でオープンスイッチ2はオンで
あるためステップ114に移行し、ステップ114にお
いての判別でパルス周期タイマ9の現在周期時間が基準
時間記憶手段14のパルス周期基準時間よりも大きくな
っていないか等しくもなっていないのでステップ115
に移行してモータ4に対する正方向の電流供給を行うル
ーチンが行われ、モータ4は正方向の電流供給によって
出力軸4aが正回転し、ウインドガラス30を全開位置
に向けて移動させる。出力軸4aが回転することによっ
て割込ルーチンが実行される。
After that, when the open switch 2 is turned on by the occupant while the window glass 30 has reached the fully closed position, steps 101 to 102 are performed.
Then, the process proceeds from step 102 to step 103, and since the close switch 3 is not on in the determination in step 103, the process proceeds to step 113. In the determination in step 113, the open switch 2 is on, so the process proceeds to step 114. After the shift, the current cycle time of the pulse cycle timer 9 is not greater than or equal to the pulse cycle reference time of the reference time storage means 14 in the determination in step 114, so step 115
Then, the routine for supplying the electric current in the forward direction to the motor 4 is performed, and the motor 4 causes the output shaft 4a to rotate in the forward direction by supplying the electric current in the forward direction to move the window glass 30 toward the fully open position. An interrupt routine is executed by rotating the output shaft 4a.

【0037】オープンスイッチ2がオン操作され、ウイ
ンドガラス30が全開位置に到達するとウインドガラス
30は移動を阻止され、モータ4の出力軸4aが回転を
阻止されると、ステップ101からステップ102に移
行し、ステップ102からステップ103に移行し、ス
テップ103においての判別でステップ113に移行
し、ステップ113においての判別でステップ114に
移行し、ステップ114においての判別でパルス周期タ
イマ9の現在周期時間が基準時間記憶手段14のパルス
周期基準時間よりも大きくなるか等しくなるのでステッ
プ116に移行してモータ4に対する電流供給を停止す
るため、ウインドガラス30を全開位置で停止させる。
When the open switch 2 is turned on and the window glass 30 reaches the fully open position, the window glass 30 is prevented from moving, and the output shaft 4a of the motor 4 is prevented from rotating, the process proceeds from step 101 to step 102. Then, the process proceeds from step 102 to step 103, the process proceeds to step 113 by the determination in step 103, the process proceeds to step 114 by the determination in step 113, and the current cycle time of the pulse period timer 9 is determined by the determination in step 114. Since the pulse period is greater than or equal to the pulse period reference time of the reference time storage means 14, the process proceeds to step 116 and the current supply to the motor 4 is stopped. Therefore, the window glass 30 is stopped at the fully open position.

【0038】ウインドガラス30が全開位置において停
止してからオープンスイッチ2がオフ操作されると、ス
テップ101からステップ102に移行し、ステップ1
02からステップ103に移行し、ステップ103にお
いての判別でステップ113に移行し、ステップ113
においての判別でステップ117に移行するため、ステ
ップ117においてモータ4に対する電流供給を行わな
いので、ウインドガラス30は全開位置において停止し
ているままとなる。
When the open switch 2 is turned off after the window glass 30 has stopped at the fully open position, the routine proceeds from step 101 to step 102, and step 1
02 to step 103, the process proceeds to step 113 according to the determination in step 103, and step 113
Since the process proceeds to step 117 by the determination in step 117, the current is not supplied to the motor 4 in step 117, so the window glass 30 remains stopped at the fully open position.

【0039】ウインドガラス30が全開位置に停止して
いる状態で、クローズスイッチ3がオン操作されると、
ステップ101からステップ102に移行し、ステップ
102からステップ103に移行し、ステップ103に
おいての判別でステップ104に移行し、ステップ10
4においての判別でイニシャライズフラグはセットされ
ているのでステップ118に移行し、ステップ118に
おいての判別で反転フラグは書き込まれていないのでス
テップ119に移行し、ステップ119においての判別
でパルス周期タイマ9の現在周期時間が基準時間記憶手
段14のパルス周期基準時間よりも大きくなく等しくも
ないのでステップ120に移行し、ステップ120にお
いてモータ4に対する逆方向の電流供給を行うため、モ
ータ4の出力軸4aを逆回転させてウインドガラス30
を全閉位置に向けて移動させる。
When the close switch 3 is turned on while the window glass 30 is stopped at the fully open position,
The process proceeds from step 101 to step 102, from step 102 to step 103, and after determining in step 103, proceeds to step 104, step 10
Since the initialization flag has been set in the determination in step 4, the process proceeds to step 118. Since the inversion flag has not been written in the determination in step 118, the process proceeds to step 119, and the pulse period timer 9 of the pulse period timer 9 is determined in the determination in step 119. Since the current cycle time is neither larger than nor equal to the pulse cycle reference time of the reference time storage means 14, the process proceeds to step 120, and in step 120, the output current 4a of the motor 4 is supplied in order to supply the electric current in the reverse direction to the motor 4. Wind glass 30 by rotating it in reverse
Move toward the fully closed position.

【0040】クローズスイッチ3のオン操作によって全
閉位置に向けて移動しているウインドガラス30が反転
領域内に入ってから、ウインドガラス30の移動側で挾
み込みが発生すると、ステップ119においての判別で
パルス周期タイマ9の現在周期時間が基準時間記憶手段
14のパルス周期基準時間よりも大きくなるか等しくな
るためステップ121に移行し、ステップ121におい
ての判別でウインドガラス30の現在位置は位置カウン
タ8のカウントが位置基準値記憶手段13の位置基準値
よりも大きいのでステップ122に移行し、ステップ1
22において反転フラグを書き込むとともにモータ4に
対する電流供給を逆方向から正方向に反転させてステッ
プ101に復帰するルーチンが行われ、次の回のルーチ
ンのステップ118において反転フラグが書き込まれて
いるためステップ123に移行し、ステップ123にお
いての判別でパルス周期タイマ9の現在周期時間は基準
時間記憶手段14のパルス周期基準時間よりも小さいた
めステップ124に移行し、ステップ124においてモ
ータ4に正方向の電流を供給し続けてステップ101に
復帰するルーチンが行われ、全開位置に向けて反転移動
されているウインドガラス30が全開位置に到達する
と、パルス周期タイマ9の現在周期時間が基準時間記憶
手段14のパルス周期基準時間よりも大きくなるか等し
くなるためステップ123からステップ125に移行
し、ステップ125において既に書き込んであった反転
フラグを消去するとともにモータ4に対する電流供給を
停止してステップ101に復帰するルーチンが行われ
る。
If the window glass 30 moving toward the fully closed position enters the reversal region by the ON operation of the close switch 3 and if the window glass 30 is caught on the moving side, in step 119 Since the current cycle time of the pulse cycle timer 9 is greater than or equal to the pulse cycle reference time of the reference time storage means 14 in the determination, the process proceeds to step 121, and the current position of the window glass 30 is the position counter in the determination in step 121. Since the count of 8 is larger than the position reference value of the position reference value storage means 13, the process proceeds to step 122 and step 1
In step 22, a reversal flag is written, the current supply to the motor 4 is reversed from the reverse direction to the forward direction, and the routine returns to step 101, and the reversal flag is written in step 118 of the next routine. In step 123, the current cycle time of the pulse cycle timer 9 is smaller than the pulse cycle reference time of the reference time storage means 14 as determined in step 123. Is continuously supplied and the routine returns to step 101, and when the window glass 30 that has been moved in the reverse direction toward the fully open position reaches the fully open position, the current cycle time of the pulse cycle timer 9 of the reference time storage means 14 is reached. Pulse period is greater than or equal to the reference time Shifts from 23 to step 125, the routine returns to stop the current supply to the motor 4 in step 101 is performed while erasing the inversion flag that had in already written in step 125.

【0041】クローズスイッチ3がオン操作されること
によって全閉位置に向けて移動している途中に、反転領
域内でウインドガラス30に挾み込みが発生すると、ウ
インドガラス30は全開位置に向けて自動的に反転さ
れ、全開位置まで移動して停止される。
When the windshield 30 is caught in the reversal region while the close switch 3 is turned on to move toward the fully closed position, the windshield 30 moves toward the fully opened position. It is automatically inverted, moved to the fully open position, and stopped.

【0042】ウインドラス30が全開位置に到達してい
る状態でクローズスイッチ3がオン操作されることによ
って、ウインドガラス30が全閉位置に向けて移動され
て全閉位置に到達すると、ステップ101からステップ
102に移行し、ステップ102からステップ103に
移行し、ステップ103においての判別でステップ10
4に移行し、ステップ104においての判別でイニシャ
ライズフラグはセットされているのでステップ118に
移行し、ステップ118においての判別で反転フラグは
書き込まれていないのでステップ119に移行し、ステ
ップ119においての判別でパルス周期タイマ9の現在
周期時間が基準時間記憶手段14のパルス周期基準時間
よりも大きくなるか等しくなるためステップ121に移
行し、ステップ121においての判別で位置カウンタ8
のカウントが位置基準値記憶手段13の位置基準値より
も小さくなるためステップ126においてモータ4に対
する電流供給を停止してウインドガラス30を全閉位置
に停止させるものとなる。
When the windshield 30 is moved to the fully closed position and reaches the fully closed position by turning on the close switch 3 while the windlass 30 has reached the fully opened position, the step 101 is started. The process proceeds to step 102, the process proceeds from step 102 to step 103, and the determination in step 103 proceeds to step 10
4, the initialization flag is set in the determination in step 104, so the process proceeds to step 118. The determination in step 118, the inversion flag is not written, so the process proceeds to step 119, and the determination in step 119. Then, the current cycle time of the pulse cycle timer 9 becomes greater than or equal to the pulse cycle reference time of the reference time storage means 14, so the process proceeds to step 121, and the position counter 8 is determined by the determination in step 121.
Is smaller than the position reference value of the position reference value storage means 13, the current supply to the motor 4 is stopped in step 126 to stop the window glass 30 at the fully closed position.

【0043】[0043]

【発明の効果】以上説明してきたように、この発明に係
わるパワーウインド制御装置は上述した構成としたこと
から、初期設定がなされていないことをクローズスイッ
チのオン操作がされたときに乗員に対して知らせるとと
もに、位置カウンタのカウントをウインドガラスの全閉
位置を基点とした零カウントに設定するため、挾み込み
が発生した際にウインドガラスの相対的な位置検出を正
確に行って挾み込みの検出をすることができるという優
れた効果を奏する。
As described above, since the power window control device according to the present invention has the above-mentioned configuration, it is not to be set to the initial setting that the occupant is informed when the close switch is turned on. In addition, the position counter's count is set to zero based on the fully closed position of the windshield, so when the jam occurs, the relative position of the windshield is detected accurately and The excellent effect of being able to detect

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

【図1】この発明に係わるパワーウインド制御装置の一
実施例の機能ブロック構成図である。
FIG. 1 is a functional block configuration diagram of an embodiment of a power window control device according to the present invention.

【図2】図1に示したパワーウインド制御装置の動作を
説明するフローチャートである。
FIG. 2 is a flowchart illustrating an operation of the power window control device shown in FIG.

【図3】図1に示したパワーウインド制御装置の動作を
説明するフローチャートである。
FIG. 3 is a flowchart illustrating an operation of the power window control device shown in FIG.

【図4】図1に示したパワーウインド制御装置の動作を
説明するフローチャートである。
FIG. 4 is a flowchart illustrating an operation of the power window control device shown in FIG.

【図5】図1に示したパワーウインド制御装置の動作を
説明するフローチャートである。
5 is a flowchart illustrating an operation of the power window control device shown in FIG.

【符号の説明】 1 パワーウインド制御装置 2 オープンスイッチ 3 クローズスイッチ 4 モータ 4a 出力軸 5 駆動手段 6 モータパルス発生手段 7 制御手段 8 位置カウンタ 9 パルス周期タイマ 10 寸動タイマ 12 現在値メモリ 13 位置基準値記憶手段 14 基準時間記憶手段 15 基準値メモリ 16 初期設定出力発生手段 30 ウインドガラス[Explanation of Codes] 1 power window control device 2 open switch 3 close switch 4 motor 4a output shaft 5 driving means 6 motor pulse generating means 7 control means 8 position counter 9 pulse period timer 10 inching timer 12 current value memory 13 position reference Value storage means 14 Reference time storage means 15 Reference value memory 16 Initial setting output generation means 30 Wind glass

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 オン操作によりオープン指令信号を発生
するオープンスイッチと、 オン操作によりクローズ指令信号を発生するクローズス
イッチと、 ウインドガラスに連結された出力軸を有し、且つ前記出
力軸の回転によってウインドガラスを全閉位置と全開位
置とのあいだのストローク内で移動させるモータと、 前記オープンスイッチのオン操作に基いてウインドガラ
スを開けるための電流を前記モータに供給するととも
に、前記クローズスイッチのオン操作に基いてウインド
ガラスを閉めるための電流をモータに供給する駆動手段
と、 前記モータの出力軸の回転に対応してパルス信号を発生
するパルス発生手段と、 前記パルス発生手段よりのパルス信号によりウインドガ
ラスの現在位置を相対的にカウントする位置カウンタ
と、前記パルス信号により出力軸の現在周期時間を検出
するパルス周期タイマと、前記モータに対する電流を間
欠的に供給するための寸動時間を設定する寸動タイマと
を有する現在値メモリおよびウインドガラスのストロー
ク内で全閉位置の近傍に相当する位置基準値を予め定め
られた位置基準値記憶手段と、出力軸の基準回転数に対
応したパルス周期基準時間を予め定められた基準時間記
憶手段とを有する基準値メモリを備えているとともに初
期設定以前にクローズスイッチよりクローズ指令信号が
発生すると初期設定出力を発生する初期設定出力発生手
段を備えた制御手段をそなえ、 制御手段は、初期設定出力発生手段より初期設定出力が
発生すると、駆動手段に対するウインドガラスを閉める
ためのウインド閉出力を寸動タイマにより設定された寸
動時間内で発生してウインドガラスが全閉位置に到達し
たときにモータに対する電流供給を停止し且つ位置カウ
ンタをリセットし、前記初期設定出力により位置カウン
タをリセットした後に、クローズスイッチよりクローズ
指令信号が発生している際、位置基準値記憶手段の位置
基準値よりも位置カウンタのカウントが大きく且つパル
ス周期タイマの現在周期時間が基準時間記憶手段のパル
ス周期基準時間よりも大きくなるか等しくなったときに
駆動手段にウインドガラスを開けるためのウインド開出
力を発生することを特徴とするパワーウインド制御装
置。
1. An open switch for generating an open command signal by an on operation, a close switch for generating a close command signal by an on operation, and an output shaft connected to a window glass, and by the rotation of the output shaft. A motor for moving the window glass within a stroke between a fully closed position and a fully open position; and a current for opening the window glass based on an operation of turning on the open switch to the motor and turning on the close switch. Driving means for supplying a current to the motor for closing the window glass based on the operation, pulse generating means for generating a pulse signal corresponding to the rotation of the output shaft of the motor, and pulse signal from the pulse generating means. A position counter that relatively counts the current position of the windshield, and the Within the stroke of the current value memory and pulse window timer for detecting the current cycle time of the output shaft by the pulse signal, and the inching timer for setting the inching time for intermittently supplying the current to the motor. A reference having a position reference value storage means for presetting a position reference value corresponding to the vicinity of the fully closed position and a reference time storage means for presetting a pulse cycle reference time corresponding to the reference rotation speed of the output shaft. The control means has a value memory and an initial setting output generating means that generates an initial setting output when a close command signal is generated from the close switch before the initial setting. When the set output is generated, the window closing output for closing the window glass for the driving means is set by the inching timer. When the windshield has reached the fully closed position during the operation time, the current supply to the motor is stopped, the position counter is reset, the position counter is reset by the initial setting output, and then the close command signal is output from the close switch. Is occurring, the count of the position counter is larger than the position reference value of the position reference value storage means and the current cycle time of the pulse cycle timer is larger than or equal to the pulse cycle reference time of the reference time storage means. A power window control device characterized by generating a window opening output for opening a window glass to a drive means at times.
【請求項2】 制御手段は、初期設定出力発生手段より
初期設定出力が発生すると、駆動手段にウインドガラス
を閉めるためのウインド閉出力および駆動手段にウイン
ドガラスを開けるためのウインド開出力を寸動タイマに
より設定された寸動時間内で発生する請求項1に記載の
パワーウインド制御装置。
2. The control means, when the initial setting output is generated by the initial setting output generating means, inching the window closing output for closing the window glass on the driving means and the window opening output for opening the window glass on the driving means. The power window control device according to claim 1, wherein the power window control device occurs within an inching time set by a timer.
JP32511393A 1993-12-22 1993-12-22 Power window control device Expired - Fee Related JP3324851B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32511393A JP3324851B2 (en) 1993-12-22 1993-12-22 Power window control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32511393A JP3324851B2 (en) 1993-12-22 1993-12-22 Power window control device

Publications (2)

Publication Number Publication Date
JPH07180433A true JPH07180433A (en) 1995-07-18
JP3324851B2 JP3324851B2 (en) 2002-09-17

Family

ID=18173255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32511393A Expired - Fee Related JP3324851B2 (en) 1993-12-22 1993-12-22 Power window control device

Country Status (1)

Country Link
JP (1) JP3324851B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015211585A (en) * 2014-04-28 2015-11-24 アスモ株式会社 Driving device
JP2019085817A (en) * 2017-11-09 2019-06-06 株式会社デンソー Opening/closing body control device, opening/closing body drive motor, and opening/closing body drive system
CN110481441A (en) * 2019-09-26 2019-11-22 长春众鼎科技有限公司 The anti-blocking control circuit of motorcar electric pedal anti-pinch and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015211585A (en) * 2014-04-28 2015-11-24 アスモ株式会社 Driving device
JP2019085817A (en) * 2017-11-09 2019-06-06 株式会社デンソー Opening/closing body control device, opening/closing body drive motor, and opening/closing body drive system
CN110481441A (en) * 2019-09-26 2019-11-22 长春众鼎科技有限公司 The anti-blocking control circuit of motorcar electric pedal anti-pinch and method

Also Published As

Publication number Publication date
JP3324851B2 (en) 2002-09-17

Similar Documents

Publication Publication Date Title
JP3931732B2 (en) Opening and closing body pinching detection device
JP3524374B2 (en) Power window device pinch detection method
US10760319B2 (en) Open-close body driving device
JP6641827B2 (en) Opening / closing body control device for vehicles
JP2000199373A (en) Method of detecting nip in power window device
JPH08182366A (en) Drive controller for servo motor
CN108729790B (en) Window control apparatus and method for vehicle
JPH07180433A (en) Power window controller
JP3675622B2 (en) Power window device pinching detection method
JP3480082B2 (en) Window opening and closing control device
US6346787B1 (en) Method for positioning a part
JPH09125815A (en) Driving controller for power window
JP2001099347A (en) Valve actuator unit control circuit device
JP7028195B2 (en) Open / close member control device
JP3317462B2 (en) Power window control device
JP2588835Y2 (en) Power window safety device
JPH06311770A (en) Motor control method for power window equipment
JP3923220B2 (en) Window opening and closing control device
KR970020715A (en) Side mirror automatic control of car
JP3865965B2 (en) Window opening and closing control device
JPH06296384A (en) Controlling method of motor of power window device
JP4081253B2 (en) Actuator control device
JP3568761B2 (en) Power window device with safety device
JP2954469B2 (en) Opening / closing body opening / closing control method
JPH03159586A (en) Controlling circuit of driving gear of motor

Legal Events

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