[go: up one dir, main page]

JPH06225559A - Method of controlling motor of power window device - Google Patents

Method of controlling motor of power window device

Info

Publication number
JPH06225559A
JPH06225559A JP780893A JP780893A JPH06225559A JP H06225559 A JPH06225559 A JP H06225559A JP 780893 A JP780893 A JP 780893A JP 780893 A JP780893 A JP 780893A JP H06225559 A JPH06225559 A JP H06225559A
Authority
JP
Japan
Prior art keywords
motor
current
reference time
storage means
pulse cycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP780893A
Other languages
Japanese (ja)
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 JP780893A priority Critical patent/JPH06225559A/en
Publication of JPH06225559A publication Critical patent/JPH06225559A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stopping Of Electric Motors (AREA)

Abstract

PURPOSE:To provide the method of controlling the motor of a power window device, by which the motor can be performed surely without the complicatedness of initialization by automatically performing initialization. CONSTITUTION:This is the method of controlling the motor of a power window device 1, which automatically shifts window glass to full-open position with a control means 10, when power is restored after the connection of a power source is broken, and also sets the predetermined stroke value in position counter 8a so as to perform initialization.

Description

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

【0001】[0001]

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

【0002】[0002]

【従来の技術】従来、ウインドガラスの現在位置を検出
することによってウインドガラスの動作を制御するパワ
ーウインド装置のモータ制御方法としては、図7に示す
ようなものが知られている。図7において、モータ10
0は、スイッチ111がオンされると、アーマチュアシ
ャフト101が回転し、このアーマチュアシャフト10
1の回転動力がウオームホイール102に伝達され、ウ
オームホイール102の回転動力が衝撃吸収用ダンパ1
04を介して出力軸105に伝達される。出力軸105
には、ガラス昇降機構106を介してウインドガラス1
07が連結されており、出力軸105の回転動力はガラ
ス昇降機構106によってウインドガラス107の全閉
側・全開側移動に変換される。アーマチュアシャフト1
01には回転検出機構108が設けられており、アーマ
チュアシャフト101の回転数は回転検出機構108に
よってパルス信号に変換されて制御手段であるコントロ
ーラ109に転送され、コントローラ109は、ウイン
ドガラス107の全閉位置から全開位置までのストロー
ク内の現在位置データおよびアーマチュアシャフト10
1の回転数を記憶している。そこで、ウインドガラス1
07が全閉位置に到達する手前でアーマチュアシャフト
101の回転が拘束された場合、コントローラ109
は、回転検出機構108からのウインドガラス107の
現在位置データが全閉位置に到達したものではないのに
アーマチュアシャフト101の回転に負荷がかかったこ
とによって何かが挟まっていることを認識し、モータ1
00への電流の供給を一旦カットしてからモータ100
へ供給電流を反転させてウインドガラス107を全開側
に所定の量だけ移動させる制御を行うようになってい
る。コントローラ109は、バッテリー等の電源が車両
から取り外されることによって記憶していた現在位置デ
ータやアーマチュアシャフト101の回転数が消去され
るため、電源を取付けた際に、現在位置データおよびア
ーマチュアシャフト101の回転数を新たに認識させる
ための再プログラミングを運転者が行う。
2. Description of the Related Art Conventionally, as a motor control method for a power window device for controlling the operation of the windshield by detecting the current position of the windshield, a method shown in FIG. 7 is known. In FIG. 7, the motor 10
0, when the switch 111 is turned on, the armature shaft 101 rotates, and the armature shaft 10
1 is transmitted to the worm wheel 102, and the rotative power of the worm wheel 102 is applied to the shock absorbing damper 1
It is transmitted to the output shaft 105 via 04. Output shaft 105
The window glass 1 via the glass lifting mechanism 106.
07 is connected, and the rotational power of the output shaft 105 is converted by the glass elevating mechanism 106 into movement of the window glass 107 toward the fully closed side and the fully open side. Armature shaft 1
01 is provided with a rotation detecting mechanism 108, and the rotation speed of the armature shaft 101 is converted into a pulse signal by the rotation detecting mechanism 108 and transferred to a controller 109 which is a control means. Current position data and armature shaft 10 within the stroke from the closed position to the fully open position
The number of rotations of 1 is stored. So wind glass 1
If the rotation of the armature shaft 101 is restricted before 07 reaches the fully closed position, the controller 109
Recognizes that something is caught by the load applied to the rotation of the armature shaft 101 even though the current position data of the windshield 107 from the rotation detection mechanism 108 has not reached the fully closed position, Motor 1
Motor 100 after the current supply to 00 has been cut off
The control is performed by reversing the current supplied to the window glass 107 and moving the window glass 107 toward the fully open side by a predetermined amount. The controller 109 deletes the stored current position data and the rotation speed of the armature shaft 101 when the power source such as the battery is removed from the vehicle. Therefore, when the power source is attached, the current position data and the armature shaft 101 The driver performs reprogramming to newly recognize the rotation speed.

【0003】[0003]

【発明が解決しようとする課題】上記した従来のパワー
ウインド装置のモータ制御方法では、電源が車両から取
外されたあと再び取付けられた際に、現在位置データお
よびアーマチュアシャフト101の回転数を新たに認識
させるための再プログラミングを運転者が行なわなけれ
ばならず、再プログラミングが容易とは言い難いので、
再プログラミングを行わないままにしてしまう恐れがあ
り、再プログラミングが行われていないままで、ウイン
ドガラス107が開状態にあるときにスイッチ111を
操作することによってウインドガラス107を全閉位置
に向けて移動させると、ウインドガラスの実際の位置と
コントローラ109が認識している現在位置とが一致し
ないこととなって、挟み込みが発生したとしてもコント
ローラ109は全閉位置でアーマチュアシャフト101
に負荷がかかったものと誤認する可能性があり、その場
合は、挟み込みによる反転動作を行わないでモータ10
0を停止させてしまうことがありうるという問題点があ
り、この問題点を解決することが課題となっていた。
In the conventional motor control method for the power window device described above, the current position data and the rotation speed of the armature shaft 101 are updated when the power source is removed from the vehicle and then attached again. The driver must perform reprogramming to make the driver aware, and it is difficult to say that reprogramming is easy.
There is a risk of leaving the window unreprogrammed, and when the window glass 107 is in the open state, the window glass 107 is turned to the fully closed position by operating the switch 111 while the window reprogramming is not performed. If moved, the actual position of the windshield does not match the current position recognized by the controller 109, and even if a pinch occurs, the controller 109 keeps the armature shaft 101 at the fully closed position.
It may be mistaken for the load to be applied to the motor 10, and in that case, the motor 10 without performing the reversing operation due to the sandwiching is performed.
There is a problem that 0 may be stopped, and it has been a problem to solve this problem.

【0004】[0004]

【発明の目的】この発明に係わるパワーウインド装置の
モータ制御方法は、記憶データが消去したとしても電源
の復帰により初期設定を自動的に行うことによってモー
タの作動を確実に行うことができるパワーウインド装置
のモータ制御方法を提供することを目的としている。
SUMMARY OF THE INVENTION A motor control method for a power window device according to the present invention is capable of reliably operating a motor even if stored data is erased by automatically performing initial setting upon restoration of power. An object of the present invention is to provide a motor control method for a device.

【0005】[0005]

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

【0006】[0006]

【課題を解決するための手段】この発明に係わるパワー
ウインド装置のモータ制御方法は、乗員の操作によりオ
ンされるオープンスイッチ・クローズスイッチと、ウイ
ンドガラスに出力軸を連結し且つ前記オープンスイッチ
・クローズスイッチのオンにより正方向・逆方向の電流
を供給されて出力軸を介しウインドガラスを全閉位置か
ら全開位置のあいだでのストローク内で移動するモータ
と、モータに電源を接続する駆動手段と、モータの出力
軸の回転数を検出してパルス信号を発生する回転検出手
段と、回転検出手段からのパルス信号によりウインドガ
ラスの現在位置データをカウントする位置カウンタを有
するとともに回転検出手段からのパルス信号の現在周期
時間によりモータの回転状態を検出するパルス周期タイ
マを有する現在値メモリおよび前記ウインドガラスのス
トローク内の全閉位置の近傍に対応した位置基準値を予
め定めた位置基準値記憶手段を有するとともにモータの
回転数に対応したパルス周期基準時間を予め定めた基準
時間記憶手段を有する基準値メモリを備えた制御手段を
そなえ、電源が接続された際、制御手段により、パルス
周期タイマの現在周期時間が基準時間記憶手段のパルス
周期基準時間を越えるまではモータに対してウインド開
側の電流を供給するとともに、パルス周期タイマの現在
周期時間が基準時間記憶手段のパルス周期基準時間を越
えたらモータに対する電流供給を中止し且つ位置カウン
タのカウント値をウインドガラスの全ストローク量に対
応したものとして予め定められたストローク値ににセッ
トして初期設定を行い、初期設定が行われた後に、クロ
ーズスイッチのオンが認識された際、パルス周期タイマ
の現在周期時間が基準時間記憶手段のパルス周期基準時
間を越えるまではモータに対してウインド閉側の電流を
供給するとともに、パルス周期タイマの現在周期時間が
基準時間記憶手段のパルス周期基準時間を越えたら位置
カウンタのカウント値が位置基準値記憶手段の位置基準
値よりも大きいときにモータに対してウインド開側の電
流を供給し、位置カウンタのカウント値が位置基準値記
憶手段の位置基準値よりも小さくなったときにモータに
対する電流供給を中止する制御を行う構成としたことを
特徴としており、より好ましい実施態様において制御手
段によりオープンスイッチのオンが認識された際、パル
ス周期タイマの現在周期時間が基準時間記憶手段のパル
ス周期基準時間を越えるまではモータに対してウインド
開側の電流を供給するとともに、パルス周期タイマの現
在周期時間が基準時間記憶手段のパルス周期基準時間を
越えたらモータに対する電流供給を中止する制御を行う
ものとすることができる。
A motor control method for a power window device according to the present invention is an open switch / close switch that is turned on by an operation of an occupant, and an output shaft is connected to a window glass and the open switch / close switch is connected. When the switch is turned on, current in the forward and reverse directions is supplied, and the motor that moves the window glass within the stroke between the fully closed position and the fully open position via the output shaft, and the drive means that connects the power source to the motor, Rotation detecting means for detecting the number of revolutions of the output shaft of the motor to generate a pulse signal, and a position counter for counting the current position data of the window glass by the pulse signal from the rotation detecting means and the pulse signal from the rotation detecting means. Current value with a pulse cycle timer that detects the rotation state of the motor according to the current cycle time of A 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 memory and the window glass, and a preset reference time storage for a pulse cycle reference time corresponding to the rotation speed of the motor. The control means is provided with a reference value memory having means, and when the power supply is connected, the control means controls the motor until the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means. When the current on the open side of the window is supplied and the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means, the current supply to the motor is stopped and the count value of the position counter is set to the total stroke amount of the window glass. Is set to a stroke value that is set in advance to perform initial setting, and the initial setting is When the close switch is turned on, the current on the window closing side is supplied to the motor until the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means, and the pulse When the current cycle time of the cycle timer exceeds the pulse cycle reference time of the reference time storage means, the window open side current is supplied to the motor when the count value of the position counter is larger than the position reference value of the position reference value storage means. However, when the count value of the position counter becomes smaller than the position reference value of the position reference value storage means, the control for stopping the current supply to the motor is performed, and the control means in a more preferable embodiment. When the ON of the open switch is recognized by, the current cycle time of the pulse cycle timer is The current on the window open side is supplied to the motor until the reference time exceeds the cycle time, and the current supply to the motor is stopped when the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means. Can be done.

【0007】[0007]

【発明の作用】この発明に係わるパワーウインド装置の
モータ制御方法において、電源が接続された際、パルス
周期タイマの現在周期時間が基準時間記憶手段のパルス
周期基準時間を越えるまではモータに対してウインド開
側の電流を供給することによってウインドガラスを全開
位置まで移動し、パルス周期タイマの現在周期時間が基
準時間記憶手段のパルス周期基準時間を越えたらウイン
ドガラスが全閉位置に到達した状態でモータに対する電
流供給を中止し且つ位置カウンタのカウント値をウイン
ドガラスの全ストローク量に対応したものとして予め定
められたストローク値にセットして初期設定を行う。そ
れ故、運転者によって再プログラミング等の操作を行う
ことなく初期設定は自動的に行われるので、モータの電
源接続後の再作動が確実に行えることとなる。
In the motor control method of the power window device according to the present invention, when the power source is connected, the motor is operated until the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means. The window glass is moved to the fully open position by supplying the current on the window open side, and when the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means, the window glass reaches the fully closed position. The current supply to the motor is stopped and the count value of the position counter is set to a predetermined stroke value corresponding to the total stroke amount of the window glass for initialization. Therefore, the initial setting is automatically performed without the driver performing an operation such as reprogramming, so that the motor can be surely restarted after the power supply is connected.

【0008】[0008]

【実施例】図1ないし図6には、この発明に係わるパワ
ーウインド装置のモータ制御方法の一実施例が示されて
いる。
1 to 6 show an embodiment of a motor control method for a power window device according to the present invention.

【0009】この発明に係わるパワーウインド装置のモ
ータ制御方法が用いられるパワーウインド装置1は図1
により明らかなように、主として、乗員の操作によりオ
ンされるオープンスイッチ2・クローズスイッチ3、ウ
インドガラス(図7参照)に出力軸4aを連結し且つオ
ープンスイッチ2・クローズスイッチ3のオンにより正
方向・逆方向の電流を供給されて出力軸4aを介しウイ
ンドガラスを全閉位置から全開位置のあいだでのストロ
ーク内で移動するモータ4、モータ4に電源を接続する
駆動手段5、モータ4の出力軸4aの回転数を検出して
パルス信号を発生する回転検出手段6、ウインドガラス
のストローク内で全閉位置の近傍に対応した位置基準値
を予め設定した位置基準値記憶手段7aを有するととも
にモータ4の回転数に対応したパルス周期基準時間を予
め設定した基準時間記憶手段7bを有する基準値メモリ
7および回転検出機構6からのパルス信号数でウインド
ガラスの現在位置データをカウントする位置カウンタ8
aを有するとともに回転検出機構6からのパルス信号の
周期によりモータの回転状態を検出するパルス周期タイ
マ8bを有する現在値メモリ8を備えた制御手段10か
ら構成されている。
A power window device 1 in which the motor control method of the power window device according to the present invention is used is shown in FIG.
As is clear from Fig. 7, the output shaft 4a is connected to the open switch 2 / close switch 3 and the window glass (see Fig. 7) which are mainly turned on by the operation of the occupant, and the open switch 2 / close switch 3 is turned on in the forward direction. A motor 4 which is supplied with a current in the opposite direction and moves the window glass within a stroke between the fully closed position and the fully open position via the output shaft 4a, drive means 5 for connecting a power source to the motor 4, and output of the motor 4. The motor includes a rotation detecting means 6 for detecting the rotation speed of the shaft 4a and generating a pulse signal, a position reference value storing means 7a for presetting a position reference value corresponding to the vicinity of the fully closed position within the stroke of the window glass, and a motor. Reference value memory 7 having reference time storage means 7b in which a pulse cycle reference time corresponding to the number of rotations of 4 is preset and rotation detection Position counter 8 for counting the current position data of the window glass in the number of pulse signals from the structure 6
The control means 10 is provided with a current value memory 8 having a pulse cycle timer 8b for detecting the rotation state of the motor based on the cycle of the pulse signal from the rotation detection mechanism 6.

【0010】オープンスイッチ2、クローズスイッチ3
は入力インターフェース回路aを介して制御手段10に
接続されており、オープンスイッチ2、クローズスイッ
チ3のオン切換信号は制御手段10に転送される。
Open switch 2 and close switch 3
Is connected to the control means 10 via the input interface circuit a, and the ON switching signals of the open switch 2 and the close switch 3 are transferred to the control means 10.

【0011】モータ4は、図2および図3により明らか
なように、モータケース4b内に回転自在に収容された
アーマチュアシャフト4cの一方がギヤケース4d側に
突出しており、このアーマチュアシャフト4cのギヤケ
ース4dへの突出部分にはウオーム4eが形成されてい
る。アーマチュアシャフト4cはモータケース4b内に
おいて図示しないアーマチュアに備えられており、この
アーマチュアは駆動手段5から電流を供給されて正回転
・逆回転する。
As is apparent from FIGS. 2 and 3, the motor 4 has one of the armature shafts 4c rotatably accommodated in the motor case 4b, which projects toward the gear case 4d. The gear case 4d of the armature shaft 4c. A worm 4e is formed on the projecting portion to. The armature shaft 4c is provided in an armature (not shown) in the motor case 4b, and the armature is supplied with a current from the driving means 5 to rotate in the forward and reverse directions.

【0012】ギヤケース4d内のウオーム4eにはウオ
ームホイール4fが噛み合っている。ウオームホイール
4fは、中央孔4f1がギヤケース4dのほぼ中央に環
状をなすものとして設けられた出力軸支持部4d1によ
って回転自在に支持されているとともに、このウオーム
ホイール4fの上面に形成されたダンパ取付け孔4f2
内に衝撃吸収用ダンパ4hが回転不能に嵌入れられてい
る。ダンパ4hの中央に備えたダンパハブ4h1にはウ
オームホイール4fの同心円上に小判形状孔4h2が形
成されている。この小判形状孔4h2は出力軸4aに回
転不能に取付けられる。
A worm wheel 4f meshes with the worm 4e in the gear case 4d. The worm wheel 4f is rotatably supported by an output shaft support portion 4d1 having a center hole 4f1 formed in a substantially annular shape in the center of the gear case 4d, and a damper mount formed on the upper surface of the worm wheel 4f. Hole 4f2
A shock absorbing damper 4h is non-rotatably fitted therein. The damper hub 4h1 provided at the center of the damper 4h has an oval-shaped hole 4h2 formed concentrically with the worm wheel 4f. The oval hole 4h2 is non-rotatably attached to the output shaft 4a.

【0013】ウオームホイール4fの上方側には磁気プ
レート4jが配置されている。この磁気プレート4j
は、ウオームホイール4fの外径寸法よりもわずかに小
さい外径を有する円板状をなし、中央に設けられたベー
ス4j1の外周にS極を着磁したS極着磁部4j2とこ
のS極着磁部4j2と相反する磁極であるN極を着磁し
たN極着磁部4j3とが円周上に交互に6対配置されて
いる。また、ベース4j1の中央にもダンパ4hと同様
に小判形状孔4j4が形成されており、この小判形状孔
4j4も出力軸4aに回転不能に取付けられる。単一の
S極着磁部4j2と単一のN極着磁部4j3とは、磁気
プレート4jの円周上で夫々同一の角度範囲になってい
る。
A magnetic plate 4j is arranged above the worm wheel 4f. This magnetic plate 4j
Is a disk shape having an outer diameter slightly smaller than the outer diameter of the worm wheel 4f, and an S pole magnetized portion 4j2 and an S pole magnetized portion 4j2 in which an S pole is magnetized on the outer circumference of a base 4j1 provided at the center. Six pairs of magnetized portions 4j2 and N-pole magnetized portions 4j3, which are magnetized N poles that are opposite magnetic poles, are alternately arranged on the circumference. An oval hole 4j4 is also formed in the center of the base 4j1 similarly to the damper 4h, and this oval hole 4j4 is also attached to the output shaft 4a so as not to rotate. The single S-pole magnetized portion 4j2 and the single N-pole magnetized portion 4j3 are in the same angular range on the circumference of the magnetic plate 4j.

【0014】一方、ギヤケース4dに設けられた出力軸
支持部4d1には、出力軸4aが回転自在に挿通されて
おり、出力軸4aは、一方側がギヤケース4dの外側で
図示しないガラス昇降機構に連結されているとともに、
他方側がギヤケース4d内に突出している。出力軸4a
のギヤケース4d内への突出部分には、ダンパ4hのダ
ンパハブ4h1に形成された小判形状孔4h2に挿入さ
れる外形を有するものとして形成されたダンパ係止用小
判形状軸部4a1が設けられているとともに、このダン
パ係止用小判形状軸部4a1の上側に磁気プレート4j
のベース4j1に形成された小判形状孔4j4に挿入さ
れる外形を有するものとして形成された磁気プレート係
止用小判形状軸部4a2が設けられており、この磁気プ
レート係止用小判形状軸部4a2の上側にピン取付け用
溝4a3が設けられている。出力軸4aは、ウオームホ
イール4fの内周側でダンパ係止用小判形状軸部4a1
がダンパ4hの小判形状孔4h2に挿入され、ウオーム
ホイール4fの上側で磁気プレート係止用小判形状軸部
4a2が磁気プレート4jの小判形状孔4j4に挿入さ
れ、磁気プレート4jの上側でピン取付け用溝4a3に
抜け止め用のシー(C)形ピン4kが嵌め付けられてい
るため、ダンパ4hおよび磁気プレート4jに一体的に
係止されている。
On the other hand, an output shaft 4a is rotatably inserted through an output shaft support portion 4d1 provided on the gear case 4d, and one side of the output shaft 4a is connected to a glass lifting mechanism (not shown) outside the gear case 4d. Is being done,
The other side projects into the gear case 4d. Output shaft 4a
In the protruding portion of the gear case 4d into the gear case 4d, there is provided a damper engaging oval shaft portion 4a1 having an outer shape to be inserted into an oval hole 4h2 formed in the damper hub 4h1 of the damper 4h. At the same time, the magnetic plate 4j is provided above the oval-shaped shaft portion 4a1 for locking the damper.
An oval shaft portion 4a2 for locking a magnetic plate, which has an outer shape to be inserted into an oval hole 4j4 formed in the base 4j1, is provided, and the oval shaft portion 4a2 for locking the magnetic plate is provided. A pin mounting groove 4a3 is provided on the upper side of. The output shaft 4a has an oval-shaped shaft portion 4a1 for locking the damper on the inner peripheral side of the worm wheel 4f.
Is inserted into the oval hole 4h2 of the damper 4h, the oval shaft portion 4a2 for locking the magnetic plate is inserted into the oval hole 4j4 of the magnetic plate 4j on the upper side of the worm wheel 4f, and the pin is attached on the upper side of the magnetic plate 4j. A see-through (C) -shaped pin 4k for retaining is fitted in the groove 4a3, and thus is integrally locked to the damper 4h and the magnetic plate 4j.

【0015】他方、磁気プレート4j上にはホール素子
11が3個所に配置されている。ホール素子11は、図
3により明らかなように、輪形状をなし、テフロン樹脂
を素材として成形された摺接部材12に包まれた状態で
回路基板13の下側に固定されており、外部接続線11
a,11b,11cが回路基板13の上側で板ばね状接
続部材14,15,16の一端側に電気的に接続されて
いる。ホール素子11はギヤケース4d内に収容され、
ギヤケースカバー17によって覆われる。板ばね状接続
部材14,15,16の他端側はグロメット18に固定
されているとともに外部配線19,20,21に夫々接
続されている。外部配線19,20,21は図1に示す
制御手段10に夫々接続されている。板ばね状接続部材
14,15,16は、長さ方向に対して直交する方向で
ある磁気プレート4j側とこの磁気プレート4jとは反
対の側に向けて若干の弾性を有するため、摺接部材12
を磁気プレート4jに当接させた状態でホール素子11
を磁気プレート4jの磁界内でS極着磁部4j2,N極
着磁部4j3に接近させる側に付勢している。摺接部材
12が磁気プレート4jに当接するため、ホール素子1
1は磁気プレート4jに直接接触しない。
On the other hand, Hall elements 11 are arranged at three locations on the magnetic plate 4j. As is apparent from FIG. 3, the hall element 11 has a ring shape and is fixed to the lower side of the circuit board 13 in a state of being wrapped in a sliding contact member 12 formed of Teflon resin, and is connected to the outside. Line 11
a, 11b, and 11c are electrically connected to one end side of the leaf spring-like connecting members 14, 15, and 16 on the upper side of the circuit board 13. The hall element 11 is housed in the gear case 4d,
It is covered by the gear case cover 17. The other ends of the leaf spring-like connecting members 14, 15 and 16 are fixed to the grommet 18 and connected to external wirings 19, 20 and 21, respectively. The external wirings 19, 20 and 21 are connected to the control means 10 shown in FIG. 1, respectively. The leaf spring-shaped connecting members 14, 15 and 16 have some elasticity toward the magnetic plate 4j side, which is a direction orthogonal to the longitudinal direction, and the side opposite to the magnetic plate 4j, and thus the sliding contact member. 12
With the magnetic plate 4j in contact with the Hall element 11
In the magnetic field of the magnetic plate 4j are urged toward the side closer to the S pole magnetized portions 4j2 and N pole magnetized portions 4j3. Since the sliding contact member 12 contacts the magnetic plate 4j, the Hall element 1
1 does not directly contact the magnetic plate 4j.

【0016】ホール素子11は、磁気プレート4jのS
極着磁部4j2,N極着磁部4j3に接近する側に付勢
されるため、磁気プレート4jが回転する際に生ずる回
転磁界によりホール電圧を誘導する。ホール電圧は磁気
プレート4jが回転することによって一対のS極着磁部
4j2,N極着磁部4j3が通過する毎にローレベル,
ハイレベルを繰り返す。ホール素子11および磁気プレ
ート4jとによって回転検出手段6が構成され、インタ
ーフェース回路aを介し外部配線19,20,21から
磁気プレート4jの回転数をパルス信号で制御手段10
に転送することによってウインドガラスの現在位置とモ
ータ4の回転状態とを制御手段10に認識させる。
The Hall element 11 is the S of the magnetic plate 4j.
The Hall voltage is induced by the rotating magnetic field generated when the magnetic plate 4j rotates because it is biased to the side closer to the pole magnetized portion 4j2 and the N pole magnetized portion 4j3. The Hall voltage is at a low level every time the pair of S-pole magnetized portions 4j2 and N-pole magnetized portions 4j3 pass by the rotation of the magnetic plate 4j,
Repeat high level. The hall element 11 and the magnetic plate 4j constitute the rotation detecting means 6, and the rotation speed of the magnetic plate 4j is controlled by a pulse signal from the external wiring 19, 20, 21 via the interface circuit a.
The current position of the windshield and the rotation state of the motor 4 are made to be recognized by the control means 10 by transferring to the control unit 10.

【0017】駆動手段5は、リレー等の電源接続切換機
構であって、出力インターフェース回路bを介して制御
手段10に接続されており、制御手段10の出力段から
の信号によりモータ4に正方向であるウインド閉側また
は逆方向であるウインド開側の電流を供給する。
The driving means 5 is a power supply connection switching mechanism such as a relay, and is connected to the control means 10 via the output interface circuit b, and a signal from the output stage of the control means 10 drives the motor 4 in the forward direction. The current is supplied to the closed side of the window or the opened side of the window in the opposite direction.

【0018】制御手段10には、基準値メモリ7および
現在値メモリ8を備えたマイクロコンピュータが内蔵さ
れている。基準値メモリ7はROM(読み出し専用メモ
リ)であって、この基準値メモリ7に備えられた位置基
準値記憶手段7aは、ウインドガラスの全閉位置から全
開位置のあいだでのストロークに対応した記憶エリア内
でウインドガラスの全閉位置の近傍に相当する位置基準
値を予め設定している。位置基準値記憶手段7aの位置
基準値は後述する位置カウンタ8aからの現在位置デー
タと比較される。ここで、全閉位置の近傍とは、ウイン
ドガラスが全閉位置に向けて移動している際に指等を挟
み込んだ場合に生ずる隙間寸法よりも小さい寸法を有す
る位置に相当している。
The control means 10 incorporates a microcomputer having a reference value memory 7 and a current value memory 8. The reference value memory 7 is a ROM (read-only memory), and the position reference value storage means 7a provided in the reference value memory 7 stores the stroke corresponding to the stroke between the fully closed position and the fully open position of the window glass. A position reference value corresponding to the vicinity of the fully closed position of the windshield is preset in the area. The position reference value of the position reference value storage means 7a is compared with the current position data from the position counter 8a described later. Here, the vicinity of the fully closed position corresponds to a position having a size smaller than a gap size generated when a finger or the like is caught when the window glass is moving toward the fully closed position.

【0019】基準値メモリ7には基準時間記憶手段7b
が備えられており、この基準時間記憶手段7bは、モー
タ4が回転することによって発生するパルスの周期時間
をパルス周期基準時間として予め設定しており、前記パ
ルス周期基準時間は、後述する現在値メモリ8に備えら
れたパルス周期タイマ8bの現在周期時間と比較され
る。
The reference value memory 7 has a reference time storage means 7b.
The reference time storage means 7b presets a cycle time of a pulse generated by the rotation of the motor 4 as a pulse cycle reference time, and the pulse cycle reference time is a current value described later. The current cycle time of the pulse cycle timer 8b provided in the memory 8 is compared.

【0020】現在値メモリ8は随時書き込み読み出しメ
モリ(RAM)であって、この現在値メモリ8に備えら
れた位置カウンタ8aは、ウインドガラスの全閉位置を
基点とし、全開位置を終点として回転検出手段6からの
パルス信号をラムエリア内に随時記憶することによって
ウインドガラスの現在位置データを得ており、位置カウ
ンタ8aに記憶された現在位置データは位置基準値記憶
手段7aの位置基準値と比較されることによってウイン
ドガラスの現在位置が全閉位置の近傍なのか、または全
閉位置の近傍ではないのかを判別する。
The present value memory 8 is a random writing / reading memory (RAM), and a position counter 8a provided in the present value memory 8 detects rotation with the fully closed position of the window glass as a base point and the fully opened position as an end point. The current position data of the window glass is obtained by storing the pulse signal from the means 6 in the ram area at any time, and the current position data stored in the position counter 8a is compared with the position reference value of the position reference value storage means 7a. By doing so, it is determined whether the current position of the windshield is near the fully closed position or not.

【0021】また、現在値メモリ8にはパルス周期タイ
マ8bが備えられており、このパルス周期タイマ8bは
回転検出手段6からのパルス信号の現在周期時間を随時
記憶しており、パルス周期タイマ8bによって記憶され
た現在周期時間は基準時間記憶手段7bのパルス周期時
間と比較されることによってウインドガラスの現在位置
でモータ4に過負荷がかかっているかどうかを判別す
る。現在値メモリ8には位置バッファ8cも備えられて
おり、この位置バッファ8cは回転検出手段6からのパ
ルス信号数を一旦保存しておくための機能を有する。
Further, the current value memory 8 is provided with a pulse cycle timer 8b, and this pulse cycle timer 8b stores the current cycle time of the pulse signal from the rotation detecting means 6 as needed, and the pulse cycle timer 8b. The current cycle time stored by is compared with the pulse cycle time of the reference time storage means 7b to determine whether the motor 4 is overloaded at the current position of the windshield. The current value memory 8 is also provided with a position buffer 8c, and this position buffer 8c has a function of temporarily storing the number of pulse signals from the rotation detecting means 6.

【0022】制御手段10は、電源が取り外されてから
取付けられた際、パルス周期タイマ8bの現在周期時間
が基準時間記憶手段7bのパルス周期基準時間を越える
まではモータ4に対してウインド開側の電流を供給する
とともに、パルス周期タイマ8bの現在周期時間が基準
時間記憶手段7bのパルス周期基準時間を越えたらモー
タ4に対しての電流供給を中止し且つ位置カウンタ8a
のカウント値をウインドガラスが全閉位置から全開位置
まで移動した際の全ストローク量に対応した第1のスト
ローク値C1(ストローク値)か第2のストローク値C
2(ストローク値)にセットして初期設定を行う。前記
第1のストローク値C1、第2のストローク値C2は車
種によって異なるものとして設定されており、ウインド
ガラスが全閉位置から全開位置まで移動した量に対応し
ている。
When the control means 10 is attached after the power source is removed, the window opening side of the motor 4 is maintained until the current cycle time of the pulse cycle timer 8b exceeds the pulse cycle reference time of the reference time storage means 7b. Current is supplied, and when the current cycle time of the pulse cycle timer 8b exceeds the pulse cycle reference time of the reference time storage means 7b, the current supply to the motor 4 is stopped and the position counter 8a.
The first stroke value C1 (stroke value) or the second stroke value C corresponding to the total stroke amount when the window glass moves from the fully closed position to the fully open position.
Set to 2 (stroke value) for initial setting. The first stroke value C1 and the second stroke value C2 are set as different depending on the vehicle type, and correspond to the amount of movement of the windshield from the fully closed position to the fully opened position.

【0023】また、制御手段10は、初期設定が行われ
た後に、クローズスイッチ3のオンが認識された際、パ
ルス周期タイマ8bの現在周期時間が基準時間記憶手段
7bのパルス周期基準時間を越えるまではモータ4に対
してウインド閉側の電流を供給するとともに、パルス周
期タイマ8bの現在周期時間が基準時間記憶手段7bの
パルス周期基準時間を越えたら位置カウンタ8aのカウ
ント値が位置基準値記憶手段7aの位置基準値よりも大
きいときにモータ4に対して反転したウインド開側の電
流を供給し、位置カウンタ8aのカウント値が位置基準
値記憶手段7aの位置基準値よりも小さくなったらモー
タ4に対する電流供給を中止する。
Further, the control means 10 makes the current cycle time of the pulse cycle timer 8b exceed the pulse cycle reference time of the reference time storage means 7b when it is recognized that the close switch 3 is turned on after the initialization. Until the current on the window closing side is supplied to the motor 4 and the current cycle time of the pulse cycle timer 8b exceeds the pulse cycle reference time of the reference time storage means 7b, the count value of the position counter 8a is stored as the position reference value. When the current value on the window opening side reversed is supplied to the motor 4 when it is larger than the position reference value of the means 7a, and the count value of the position counter 8a becomes smaller than the position reference value of the position reference value storage means 7a, the motor. The current supply to 4 is stopped.

【0024】そして、制御手段10は、初期設定が行わ
れた後に、オープンスイッチ2のオンが認識された際、
パルス周期タイマ8bの現在周期時間が基準時間記憶手
段7bのパルス周期基準時間を越えるまではモータ4に
対してウインド開側の電流を供給するとともに、パルス
周期タイマ8bの現在周期時間が基準時間記憶手段7b
のパルス周期基準時間を越えたらモータ4に対する電流
供給を中止する。
Then, the control means 10 detects that the open switch 2 is turned on after the initial setting is performed,
The current on the window opening side is supplied to the motor 4 until the current cycle time of the pulse cycle timer 8b exceeds the pulse cycle reference time of the reference time storage means 7b, and the current cycle time of the pulse cycle timer 8b is stored as the reference time. Means 7b
When the pulse period reference time of 4 is exceeded, the current supply to the motor 4 is stopped.

【0025】このような構造を有するパワーウインド装
置1において電源が取外されると、制御手段10の現在
値メモリ8内の位置カウンタ8aおよびパルス周期タイ
マ8bに記憶されていたカウンタ値および現在周期時間
は消去される。そこで、電源が取付けられると同時に図
4,図5,図6に示すプログラムが開始される。本プロ
グラムにおいてステップ60ないしステップ82はメイ
ンルーチンであり、ステップ50ないしステップ54は
モータ4の回転によって発生するパルス信号が取り入れ
られるとメインルーチンに優先して行われる割込ルーチ
ンである。
When the power source is removed in the power window device 1 having such a structure, the counter value and the current cycle stored in the position counter 8a and the pulse cycle timer 8b in the current value memory 8 of the control means 10 are removed. Time is erased. Then, the program shown in FIGS. 4, 5, and 6 is started at the same time when the power source is attached. In this program, step 60 to step 82 are the main routine, and step 50 to step 54 are the interrupt routines executed prior to the main routine when the pulse signal generated by the rotation of the motor 4 is taken in.

【0026】プログラムが開始され、ステップ60にお
いてリセット、ステップ61においてのイニシャライズ
フラグがセットされているか否かがノーであるため、ス
テップ62に移行してパルス周期タイマ8bの現在周期
時間と基準時間記憶手段7bのパルス周期基準時間との
比較が行われる。モータ4は電流の供給がなされていな
いので、回転検出手段6からのパルス信号はなく、ステ
ップ62においてノーとなるため、ステップ63におい
てモータ4に対してウインド開側の電流供給が行われる
ので、ウインドガラスをそのとき停止していた位置から
全開位置に向けて移動する。ステップ63においてモー
タ4に対してウインド開側の電流が供給されることによ
って回転検出手段6はアーマチュアシャフト4cの回転
数に応じたパルス信号を制御手段10に転送するため、
割込ルーチンが開始され、ステップ50においてノー、
ステップ51においてノーであるので、ステップ52に
移行して前回割込発生時からの経過時間をパルス周期タ
イマ8bにストアしてからステップ60に移行する。ウ
インドガラスは負荷がかからない状態で全開位置に向け
て移動すると、ステップ62においてのパルス周期タイ
マ8bの現在周期時間が基準時間記憶手段7bの基準時
間よりも長いか否かがノーとなるため、ステップ63に
おいてモータ4に対しウインド開側に電流を供給するた
め、ウインドガラスは全開位置まで移動する。
Since the program is started and is reset in step 60, and whether or not the initialization flag is set in step 61 is NO, the routine proceeds to step 62, where the current cycle time of the pulse cycle timer 8b and the reference time are stored. A comparison is made with the pulse period reference time of the means 7b. Since the motor 4 is not supplied with current, there is no pulse signal from the rotation detecting means 6 and the result in step 62 is NO. Therefore, in step 63, current is supplied to the motor 4 on the window opening side. Move the windshield from its stopped position to the fully open position. In step 63, the rotation detecting means 6 transfers a pulse signal corresponding to the rotation speed of the armature shaft 4c to the control means 10 by supplying the window opening side current to the motor 4,
The interrupt routine is started, no in step 50,
Since the answer in step 51 is NO, the process proceeds to step 52, where the elapsed time from the time of the previous interrupt is stored in the pulse cycle timer 8b, and then the process proceeds to step 60. If the window glass is moved toward the fully open position with no load applied, it is no as to whether or not the current cycle time of the pulse cycle timer 8b in step 62 is longer than the reference time of the reference time storage means 7b. At 63, the current is supplied to the motor 4 on the window open side, so that the window glass moves to the fully open position.

【0027】ウインドガラスは全開位置に到達するとス
トローク端で移動を阻止されるため、モータ4も回転を
拘束され、それによって、ステップ62においてのパル
ス周期タイマ8bの現在周期時間が基準時間記憶手段7
bの基準時間よりも長いか否かがイエスとなるため、ス
テップ64に移行してモータ4に対しての電流供給を中
止し、ステップ65において制御手段10に備えたマイ
クロコンピュータに有するカウンタ値選択ポートの選定
を行う。このカウンタ値選択ポートは車種によって異な
るウインドガラスの全ストローク量に対応して2種類分
設定されており、第1ポートが選定されるとステップ6
6において位置カウンタ8aのカウンタ値を予め定めた
第1のストローク値C1にセットし、第1ポートが選定
されないとステップ67において位置カウンタ8aの値
を予め定めた第2のストローク値C2にセットする。そ
して、ステップ68に移行して初期設定がなされたこと
の認識フラグであるイニシャライズフラグをセットし、
ステップ61に復帰する。
When the window glass reaches the fully opened position, it is prevented from moving at the stroke end, so that the motor 4 is also restrained from rotating, whereby the current cycle time of the pulse cycle timer 8b in step 62 is stored in the reference time storage means 7.
If it is longer than the reference time of b, the answer is yes. Therefore, the process proceeds to step 64, the current supply to the motor 4 is stopped, and the counter value selected in the microcomputer provided in the control means 10 is selected in step 65. Select a port. This counter value selection port is set for two types corresponding to the total stroke amount of the window glass that differs depending on the vehicle type, and when the first port is selected, step 6
6, the counter value of the position counter 8a is set to a predetermined first stroke value C1, and if the first port is not selected, the value of the position counter 8a is set to a predetermined second stroke value C2 in step 67. . Then, the process goes to step 68 to set an initialization flag which is a recognition flag indicating that the initialization has been made,
Return to step 61.

【0028】位置カウンタ8aに第1のストローク値C
1(第2のストローク値C2)がセットされ、イニシャ
ライズフラグがセットされたとき、ウインドガラスは全
開位置に停止しており、クローズスイッチ3がオンされ
ると、ステップ61においてイエス、ステップ69にお
いてスイッチ信号の取り込みがなされ、ステップ70に
おいて位置バッファ8cの値を位置カウンタ8aにスト
アし、ステップ71においてクローズスイッチ3がオン
状態か否かがイエスとなるため、ステップ72において
パルス周期タイマ8bの現在周期時間が基準時間記憶手
段7bの基準時間よりも長いか否かが判別される。ステ
ップ72においてノーとなるため、ステップ73におい
てモータ4に対してウインド閉側の電流を供給し、ステ
ップ61に復帰する。モータ4に対してウインド閉側の
電流が供給されるため、ウインドガラスを全開位置から
全閉位置に向けて移動する。
A first stroke value C is displayed on the position counter 8a.
When 1 (second stroke value C2) is set and the initialization flag is set, the window glass is stopped at the fully open position, and when the close switch 3 is turned on, the result is YES in step 61 and the switch in step 69. The signal is fetched, the value of the position buffer 8c is stored in the position counter 8a in step 70, and it is determined in step 71 whether the close switch 3 is in the on state or not. Therefore, in step 72, the current cycle of the pulse cycle timer 8b is determined. It is determined whether or not the time is longer than the reference time of the reference time storage means 7b. Since the result in step 72 is NO, the current on the window closing side is supplied to the motor 4 in step 73, and the process returns to step 61. Since the current on the window closing side is supplied to the motor 4, the window glass is moved from the fully opened position to the fully closed position.

【0029】モータ4に対してウインド閉側の電流が供
給されることによって、回転検出手段6からのパルス信
号が制御手段10に転送されるため、位置カウンタ8a
はセットされた第1のストローク値C1(第2のストロ
ーク値C2)から減算を始めるとともに、割り込みルー
チンが開始され、ステップ50においてイエス、ステッ
プ53において位置バッファをデクリメントし、ステッ
プ52、ステップ60に移行する。ウインドガラスが全
閉位置に向けて移動する際に、ウインドガラスの移動に
負荷がかかっていなければ、ステップ61においてイエ
ス、ステップ69においてスイッチ信号取込、ステップ
70において位置カウンタへのストア、ステップ71に
おいてイエス、ステップ72においてノーとなるため、
ステップ73においてモータ4に対しウインド閉側の電
流を供給し、ステップ61に復帰する。
The pulse signal from the rotation detecting means 6 is transferred to the control means 10 by supplying the current on the window closing side to the motor 4, so that the position counter 8a.
Starts subtraction from the set first stroke value C1 (second stroke value C2), and an interrupt routine is started. In step 50, YES, in step 53, the position buffer is decremented, and in steps 52 and 60, Transition. When the window glass moves toward the fully closed position, if the movement of the window glass is not loaded, the result is YES in step 61, the switch signal is acquired in step 69, the position counter is stored in step 70, and step 71 is performed. Yes in step 72 and no in step 72,
In step 73, the current on the window closing side is supplied to the motor 4, and the process returns to step 61.

【0030】ウインドガラスが全閉位置に向けて移動し
ている際に、挟み込み等が発生してウインドガラスの移
動が阻止されると、ステップ72においてのパルス周期
タイマ8bの現在周期時間が基準時間記憶手段7bの基
準時間よりも長いか否かがイエスとなるため、ステップ
74に移行して位置カウンタ8aのカウント値が位置基
準値記憶手段7aの基準値よりも小さいか否かが判別さ
れる。位置基準値記憶手段7aの基準値はウインドガラ
スの全閉位置の近傍に相当するものとして設定してある
ため、ウインドガラスが全閉位置の近傍よりも全閉位置
寄りになければ、ステップ74においてノーとなり、ス
テップ75に移行してモータ4に対して反転したウイン
ド開側の電流を供給してステップ61に復帰する。この
ため、ウインドガラスが全開位置から全閉位置に向けて
移動する際に挟み込みが発生した場合、ウインドガラス
が全閉位置の近傍に到達していなければ、ウインドガラ
スを全開位置に向けて反転移動させて挟み込みを回避す
る。
While the window glass is moving toward the fully closed position, if the window glass is prevented from moving due to pinching or the like, the current cycle time of the pulse cycle timer 8b in step 72 is the reference time. Since it is YES whether the time is longer than the reference time of the storage means 7b, the routine proceeds to step 74, where it is judged whether or not the count value of the position counter 8a is smaller than the reference value of the position reference value storage means 7a. . Since the reference value of the position reference value storage means 7a is set to correspond to the vicinity of the fully closed position of the window glass, if the window glass is not closer to the fully closed position than the vicinity of the fully closed position, in step 74. When the result is NO, the routine proceeds to step 75, where the reversed current on the window opening side is supplied to the motor 4 and the routine returns to step 61. For this reason, if pinching occurs when the windshield moves from the fully open position to the fully closed position, the windshield is moved in the reverse direction toward the fully opened position unless the windshield has reached near the fully closed position. To avoid pinching.

【0031】ウインドガラスが全閉位置に向けて移動
し、挟み込み等による移動に対しての阻止がなく、ウイ
ンドガラスが全閉位置の近傍に到達すると、ステップ7
2においてイエス、ステップ74においてイエスとなる
ため、ステップ76においてモータ4に対する電流供給
を中止し、ステップ77において位置カウンタ8aのカ
ウンタ値をリセットしてステップ61に復帰する。モー
タ4は、電流供給が中止されてからも、少しのあいだ惰
力で回転を続けるため、ウインドガラスの全閉位置に対
しての締切りを行い、ウインドガラスを全閉位置で停止
させる。
When the window glass moves toward the fully closed position and there is no obstruction to the movement due to pinching or the like, and the window glass reaches the vicinity of the fully closed position, step 7
Since the answer in step 2 is yes and the answer in step 74 is yes, the current supply to the motor 4 is stopped in step 76, the counter value of the position counter 8a is reset in step 77, and the process returns to step 61. Since the motor 4 continues to rotate by inertia even after the current supply is stopped, the motor 4 shuts off the windshield at the fully closed position and stops the windshield at the fully closed position.

【0032】ウインドガラスが全閉位置にある際に、オ
ープンスイッチ2がオンされると、ステップ61におい
てイエス、ステップ69においてスイッチ信号取込、ス
テップ70において位置カウンタへのストア、ステップ
71においてノーとなるためステップ78に移行し、ス
テップ78においてイエス、ステップ79においてパル
ス周期タイマ8bの現在周期時間が基準時間記憶手段7
bの基準時間よりも長いか否かが判別される。ステップ
79においてノーとなるため、ステップ80に移行して
モータ4に対してウインド開側の電流を供給し、ステッ
プ61に復帰する。モータ4に対してウインド開側の電
流が供給されるため、ウインドガラスは全閉位置から全
開位置に向けて移動を始め、回転検出手段6はパルス信
号を制御手段10に転送する。と同時に、割込ルーチン
が開始され、ステップ50においてノー、ステップ51
においてイエスとなるため、ステップ54において位置
バッファをインクリメントし、ステップ52を介してス
テップ61からのメインルーチンが開始される。このと
き、ウインドガラスが移動する際に、移動を阻止されな
ければ、ステップ61においてイエス、ステップ69に
おいてスイッチ信号取込、ステップ70において位置カ
ウンタへのストア、ステップ71においてノー、ステッ
プ78においてイエス、ステップ79においてノーとな
るため、ステップ80においてモータ4に対しウインド
開側の電流を供給し、ステップ61に復帰する。
When the open switch 2 is turned on when the window glass is in the fully closed position, the answer is YES in step 61, the switch signal is accepted in step 69, the position is stored in the position counter in step 70, and the answer is NO in step 71. Therefore, the process proceeds to step 78. If the answer is yes in step 78, the current cycle time of the pulse cycle timer 8b is in step 79.
It is determined whether it is longer than the reference time of b. Since the result in step 79 is NO, the process moves to step 80, the current on the window opening side is supplied to the motor 4, and the process returns to step 61. Since the electric current on the window opening side is supplied to the motor 4, the window glass starts moving from the fully closed position to the fully opened position, and the rotation detection means 6 transfers the pulse signal to the control means 10. At the same time, the interrupt routine is started. No in step 50, step 51
In step 54, the position buffer is incremented and the main routine from step 61 is started via step 52. At this time, if the movement of the window glass is not blocked, the result is YES in step 61, the switch signal is acquired in step 69, the position is stored in the position counter in step 70, NO in step 71, and YES in step 78. Since the answer in step 79 is NO, the current on the window opening side is supplied to the motor 4 in step 80, and the process returns to step 61.

【0033】ウインドガラスが全開位置に向けて移動す
る際に、ウインドガラスが移動を阻止されると、ステッ
プ79においてのパルス周期タイマ8bの現在周期時間
が基準時間記憶手段7bの基準時間よりも長いか否かが
イエスとなるため、ステップ81に移行してモータ4に
対しての電流供給を中止し、ステップ61に復帰する。
モータ4に対しての電流供給が中止されるため、ウイン
ドガラスはその位置で緊急停止する。
If the movement of the window glass is blocked when the window glass moves toward the fully open position, the current cycle time of the pulse cycle timer 8b in step 79 is longer than the reference time of the reference time storage means 7b. Since the answer is YES, the process proceeds to step 81, the current supply to the motor 4 is stopped, and the process returns to step 61.
Since the current supply to the motor 4 is stopped, the windshield makes an emergency stop at that position.

【0034】オープンスイッチ2がオンされ、ウインド
ガラスを全開位置に向けて移動している際に、オープン
スイッチ2がオフされると、ステップ61においてイエ
ス、ステップ69においてスイッチ信号取込、ステップ
70において位置カウンタへのストア、ステップ71に
おいてノー、ステップ78においてノーとなるため、ス
テップ82においてモータ4に対する電流供給を中止す
る。モータ4に対する電流供給が中止されるため、ウイ
ンドガラスはその位置で停止するものとなる。
If the open switch 2 is turned on and the open switch 2 is turned off while moving the window glass toward the fully open position, the answer is YES in step 61, the switch signal is acquired in step 69, and the step 70 is in operation. The position counter is stored, the result in step 71 is NO, and the result in step 78 is NO. Therefore, in step 82, the current supply to the motor 4 is stopped. Since the current supply to the motor 4 is stopped, the window glass stops at that position.

【0035】[0035]

【発明の効果】以上説明してきたように、この発明に係
わるパワーウインド装置のモータ制御方法は、上記した
構成としたことから、電源が接続されると、ウインドガ
ラスを全開位置まで自動的に移動するとともに位置カウ
ンタに予め定めたストローク値をセットして初期設定を
行うため、従来のもののように、再プラミングを行う必
要がなく、それによって、再プログラミングを行う煩わ
しさもなく、モータを確実に作動することができるとい
う優れた効果を奏するものである。
As described above, the motor control method for the power window device according to the present invention is configured as described above. Therefore, when the power source is connected, the window glass is automatically moved to the fully open position. In addition, the preset stroke value is set in the position counter to perform the initial setting, so there is no need to perform re-plumbing unlike the conventional ones, and the motor can be operated reliably without the trouble of re-programming. It has an excellent effect that it can be done.

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

【図1】この発明に係わるパワーウインド装置のモータ
制御方法の一実施例を用いたパワーウインド装置のブロ
ックダイヤグラムである。
FIG. 1 is a block diagram of a power window device using an embodiment of a motor control method for a power window device according to the present invention.

【図2】図1に示したパワーウインド装置においてのモ
ータの各部品の外観構成図である。
FIG. 2 is an external configuration diagram of each component of the motor in the power window device shown in FIG.

【図3】図2に示したモータにおいての回転検出手段ま
わりの縦断側面図である。
FIG. 3 is a vertical cross-sectional side view around a rotation detecting unit in the motor shown in FIG.

【図4】この発明に係わるパワーウインド装置のモータ
制御方法の動作を説明するフローチャートである。
FIG. 4 is a flowchart illustrating the operation of the motor control method for the power window device according to the present invention.

【図5】この発明に係わるパワーウインド装置のモータ
制御方法の動作を説明するフローチャートである。
FIG. 5 is a flowchart illustrating the operation of a motor control method for a power window device according to the present invention.

【図6】この発明に係わるパワーウインド装置のモータ
制御方法の動作を説明するフローチャートである。
FIG. 6 is a flowchart illustrating the operation of a motor control method for a power window device according to the present invention.

【図7】従来のパワーウインド装置のモータ制御方法を
用いたパワーウインド装置のブロック構成図である。 1 パワーウインド装置 2 オープンスイッチ 3 クローズスイッチ 4 モータ 4a 出力軸 5 駆動手段 6 回転検出手段 7 基準値メモリ 7a 位置基準値記憶手段 7b 基準時間記憶手段 8 現在値メモリ 8a 位置カウンタ 8b パルス周期タイマ 10 制御手段 C1,C2 (ストローク値)第1のストローク値,第
2のストローク値
FIG. 7 is a block diagram of a power window device using a conventional motor control method for the power window device. 1 Power window device 2 Open switch 3 Close switch 4 Motor 4a Output shaft 5 Driving means 6 Rotation detecting means 7 Reference value memory 7a Position reference value storage means 7b Reference time storage means 8 Current value memory 8a Position counter 8b Pulse period timer 10 Control Means C1, C2 (stroke value) first stroke value, second stroke value

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 乗員の操作によりオンされるオープンス
イッチ・クローズスイッチと、 ウインドガラスに出力軸を連結し且つ前記オープンスイ
ッチ・クローズスイッチのオンにより正方向・逆方向の
電流を供給されて出力軸を介しウインドガラスを全閉位
置から全開位置のあいだでのストローク内で移動するモ
ータと、 前記モータに電源を接続する駆動手段と、 前記モータの出力軸の回転数を検出してパルス信号を発
生する回転検出手段と、 前記回転検出手段からのパルス信号によりウインドガラ
スの現在位置データをカウントする位置カウンタを有す
るとともに回転検出手段からのパルス信号の現在周期時
間によりモータの回転状態を検出するパルス周期タイマ
を有する現在値メモリおよび前記ウインドガラスのスト
ローク内の全閉位置の近傍に対応した位置基準値を予め
定めた位置基準値記憶手段を有するとともにモータの回
転数に対応したパルス周期基準時間を予め定めた基準時
間記憶手段を有する基準値メモリを備えた制御手段をそ
なえ、 電源が接続された際、前記制御手段により、パルス周期
タイマの現在周期時間が基準時間記憶手段のパルス周期
基準時間を越えるまではモータに対してウインド開側の
電流を供給するとともに、パルス周期タイマの現在周期
時間が基準時間記憶手段のパルス周期基準時間を越えた
らモータに対する電流供給を中止し且つ位置カウンタの
カウント値をウインドガラスの全ストローク量に対応し
たものとして予め定められたストローク値にセットして
初期設定を行い、初期設定が行われた後に、クローズス
イッチのオンが認識された際、パルス周期タイマの現在
周期時間が基準時間記憶手段のパルス周期基準時間を越
えるまではモータに対してウインド閉側の電流を供給す
るとともに、パルス周期タイマの現在周期時間が基準時
間記憶手段のパルス周期基準時間を越えたら位置カウン
タのカウント値が位置基準値記憶手段の位置基準値より
も大きいときにモータに対してウインド開側の電流を供
給し、位置カウンタのカウント値が位置基準値記憶手段
の位置基準値よりも小さくなったときにモータに対する
電流供給を中止する制御を行うことを特徴とするパワー
ウインド装置のモータ制御方法。
1. An output shaft connected to an open switch / close switch which is turned on by an operation of an occupant, and an output shaft connected to a window glass, and a forward / backward current is supplied by turning on the open switch / close switch. A motor that moves the window glass within a stroke between the fully closed position and the fully open position via a drive unit, a drive unit that connects a power source to the motor, and a pulse signal is generated by detecting the rotation speed of the output shaft of the motor. A pulse cycle for detecting the rotation state of the motor based on the current cycle time of the pulse signal from the rotation detecting means and a position counter for counting the current position data of the window glass by the pulse signal from the rotation detecting means. Current value memory with timer and fully closed position within the stroke of the window glass The control means is provided with a reference value memory having a position reference value storage means for presetting a position reference value corresponding to the vicinity and a reference value memory having a reference time storage means for presetting a pulse cycle reference time corresponding to the number of rotations of the motor. When the power supply is connected, the control means supplies the current on the window opening side to the motor and the pulse cycle until the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means. When the current cycle time of the timer exceeds the pulse cycle reference time of the reference time storage means, current supply to the motor is stopped and the count value of the position counter is set to a predetermined stroke value corresponding to the total stroke amount of the window glass. After setting and performing initial setting, when the ON of the close switch is recognized after the initial setting is performed, The current on the window closing side is supplied to the motor until the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means, and the current cycle time of the pulse cycle timer is the pulse cycle of the reference time storage means. When the count value of the position counter is larger than the position reference value of the position reference value storage means when the reference time is exceeded, a current on the window opening side is supplied to the motor, and the count value of the position counter is stored in the position reference value storage means. A motor control method for a power window device, wherein control is performed to stop current supply to the motor when the value becomes smaller than a position reference value.
【請求項2】 制御手段によりオープンスイッチのオン
が認識された際、パルス周期タイマの現在周期時間が基
準時間記憶手段のパルス周期基準時間を越えるまではモ
ータに対してウインド開側の電流を供給するとともに、
パルス周期タイマの現在周期時間が基準時間記憶手段の
パルス周期基準時間を越えたらモータに対する電流供給
を中止する制御を行う請求項1に記載のパワーウインド
装置のモータ制御方法。
2. When the opening of the open switch is recognized by the control means, the window open side current is supplied to the motor until the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means. Along with
2. The motor control method for a power window device according to claim 1, wherein control is performed to stop the current supply to the motor when the current cycle time of the pulse cycle timer exceeds the pulse cycle reference time of the reference time storage means.
JP780893A 1993-01-20 1993-01-20 Method of controlling motor of power window device Pending JPH06225559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP780893A JPH06225559A (en) 1993-01-20 1993-01-20 Method of controlling motor of power window device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP780893A JPH06225559A (en) 1993-01-20 1993-01-20 Method of controlling motor of power window device

Publications (1)

Publication Number Publication Date
JPH06225559A true JPH06225559A (en) 1994-08-12

Family

ID=11675917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP780893A Pending JPH06225559A (en) 1993-01-20 1993-01-20 Method of controlling motor of power window device

Country Status (1)

Country Link
JP (1) JPH06225559A (en)

Similar Documents

Publication Publication Date Title
JPH06225561A (en) Method of controlling motor of power window device
US4608637A (en) Control device for driving road-vehicle electric-powered equipment
US4259624A (en) Arrangement for wiping a vehicle window
JPH0629002B2 (en) Electric mirror device for automobile
JPH11270230A (en) Method for detecting material pinched in window equipment
US5742964A (en) Door opening/closing apparatus and method for a washing machine
JPH07243545A (en) Damper opening/closing device
JPH06225559A (en) Method of controlling motor of power window device
JP3196863B2 (en) Motor control method for power window device
JP2003065901A (en) On-off durability testing equipment for on-off body
JP3111121B2 (en) Motor control method for power window device
JPH06217572A (en) Method for controlling motor of power window device
JPH06217497A (en) Motor with rotation detecting means
EP0856939A1 (en) Rotation driving system improved in detection of a rotation angle of a stepping motor
JP4305204B2 (en) Geared motor and its control device
JP2568785Y2 (en) Drive unit for power window
JPH0315435B2 (en)
JPH06311770A (en) Motor control method for power window equipment
JPH0245641A (en) engine remote control device
JPH106780A (en) Roof window position and load detector
JPS6036703B2 (en) winding device
JPH0750264Y2 (en) Open / close control device for sunroof
JPH0228378Y2 (en)
KR0133459Y1 (en) Device of limit stopper for a vertical multi-joint robot
JPS645777Y2 (en)

Legal Events

Date Code Title Description
A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A072

Effective date: 20040311