JPH0762947A - Power window control device - Google Patents

Power window control device

Info

Publication number
JPH0762947A
JPH0762947A JP5214255A JP21425593A JPH0762947A JP H0762947 A JPH0762947 A JP H0762947A JP 5214255 A JP5214255 A JP 5214255A JP 21425593 A JP21425593 A JP 21425593A JP H0762947 A JPH0762947 A JP H0762947A
Authority
JP
Japan
Prior art keywords
window glass
count value
motor
pulse generator
window
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
JP5214255A
Other languages
Japanese (ja)
Inventor
Yukio Iwasaki
幸雄 岩崎
Katsuhide Kumagai
勝秀 熊谷
Hiromitsu Mizuno
水野  博光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP5214255A priority Critical patent/JPH0762947A/en
Publication of JPH0762947A publication Critical patent/JPH0762947A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)
  • Window Of Vehicle (AREA)

Abstract

PURPOSE:To accurately detect the position of a window glass and control the ascent/descent position by resetting the count value of the output pulses of a pulse generator to the initial value each time the window glass is detected to reach a reference position certain times. CONSTITUTION:When a, power window action switch 16 is operated, a CPU 30 drives a motor 12 to lift or lower a window glass. When the window glass reaches a reference position, e.g. the fully closed position, during the ascent/ descent, the CPU 30 detects it. When the CPU 30 detects that the window glass reaches the fully closed position certain times, it updates the count value of the output pulses of a pulse generator 14 to the initial value. The error of the count value generated during operation is canceled each time the count value is updated to the initial value before a large error is generated in the count value by the chattering output of the pulse generator 14 when a motor 12 is stopped or by the integration of the pulse outputs in the opposite direction generated in excess when the reverse rotation of the motor 12 is started after it is stopped.

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, and more particularly, to a window glass position based on the output of a pulse generator that generates a number of pulses proportional to the number of rotations of the motor in the forward and reverse directions. The present invention relates to a power window control device that controls the vertical position of a window glass while calculating

【0002】[0002]

【従来の技術】パワーウインドウ制御装置として、窓ガ
ラス昇降駆動用のモータの回転数を検出して、その回転
数の変化率から窓ガラス上昇中のモータの回転数の低下
により異物の挟み込みを検出し、異物挟み込みを検出し
た場合に、窓ガラスの移動を停止し所定量下降するよう
にモータを制御する挟み込み防止機能を備えたパワーウ
インドウ制御装置が知られている。
2. Description of the Related Art As a power window control device, the number of rotations of a motor for driving up and down a window glass is detected, and a foreign substance is caught from the rate of change of the number of rotations due to a decrease in the number of rotations of the motor while the window glass is rising. However, there is known a power window control device having a trapping prevention function of controlling the motor so as to stop the movement of the window glass and lower it by a predetermined amount when foreign matter trapping is detected.

【0003】このような挟み込み防止機能を備えたパワ
ーウインドウ制御装置では、モータ回転軸である電機子
に極性の異なる磁石(磁極)を所定間隔で着磁し、電機
子の回転により生じる磁界変化をホールICでピックア
ップするパルス発生器が構成されているのが一般的であ
る。そして、窓ガラスの昇降時にモータ回転に伴いパル
ス発生器から出力される正・逆転方向のパルス数をそれ
ぞれパルスカウンターでカウントし、マイクロコンピュ
ータを用いてパルスカウンターのカウント値を予めメモ
リに記憶された基準位置に対応するカウント値(パルス
値)に足したり引いたりすることによって、窓ガラスの
位置を演算により求めることがなされている。
In a power window control device having such a pinching prevention function, magnets (magnetic poles) having different polarities are magnetized at predetermined intervals on an armature, which is a motor rotating shaft, to change magnetic field caused by rotation of the armature. A pulse generator that picks up a Hall IC is generally configured. Then, the number of pulses in the forward and reverse directions output from the pulse generator as the motor rotates when the window glass is moved up and down is counted by the pulse counter, and the count value of the pulse counter is stored in the memory in advance using a microcomputer. The position of the window glass is calculated by adding or subtracting the count value (pulse value) corresponding to the reference position.

【0004】この種のパワーウインドウ制御装置では、
図5に示されるように、ウェザストリップゴム50の溝
部の長さxとこの下方部分の所定寸法y(この寸法は、
ウェザストリップゴム50と窓ガラス52との間に指等
が入らない程度に十分小さい寸法である必要があり、こ
こでは例えば4mm以下とする)とを加えたx+y(≦
x+4)mmの異物挟み込み防止動作を行わない挟み込
み防止解除領域を設定したものがある。これは、窓ガラ
ス52が上昇中にウェザストリップゴム50(防音や防
水のために設けてある)の内底壁50Aに当たると、モ
ータ回転数の変化率が異物の挟み込みの時と同様に変化
するため、異物挟み込みと判断されて窓ガラス52が所
定量(例えば10cm)低下して停止する必要がある一
方、この挟み込み防止解除領域では異物挟み込みが生じ
る可能性は殆どなく(ゴミ等の小さな異物の挟み込みを
除き)、異物挟み込み検出機能を解除しても不都合はな
いからである。
In this type of power window control device,
As shown in FIG. 5, the length x of the groove portion of the weatherstrip rubber 50 and a predetermined dimension y of the lower portion (this dimension is
X + y (≦ 4 mm or less) must be added to the weather strip rubber 50 and the window glass 52 so that a finger or the like cannot be inserted between them.
There is one in which an entrapment prevention release area in which the foreign substance entrapment prevention operation of x + 4) mm is not performed is set. When the window glass 52 hits the inner bottom wall 50A of the weather strip rubber 50 (provided for soundproofing and waterproofing) while the window glass 52 is rising, the rate of change of the motor rotation speed changes similarly to when foreign matter is caught. Therefore, it is necessary to stop the window glass 52 by lowering it by a predetermined amount (for example, 10 cm) when it is determined that the foreign matter is caught, while there is almost no possibility of the foreign matter being caught in the area where the foreign matter is prevented from being caught. This is because there is no inconvenience even if the foreign matter trapping detection function is canceled (except for trapping).

【0005】[0005]

【発明が解決しようとする課題】モータ動作開始時は、
図7(a)に示されるように、パルス発生器の出力は、
パルス幅が広く、モータ回転速度が増すにつれ、パルス
幅が徐々に狭くなるように変化する。一方、モータ停止
時においてホール素子が電機子表面に着磁された磁極の
中間位置にある(以下、「電機子が磁界のスレッショル
ド付近にある」という)場合、図7(b)に示されるよ
うなチャタリング出力(同図矢印A参照)を発生する場
合がある。また、過負荷停止時〔ウェザストリップゴム
50の内底壁50Aに窓ガラス52の上端面が当接した
時(窓ガラス全閉時)のモータのロック停止等〕におい
ても、電機子が磁界のスレッショルド付近にあると、そ
の負荷解除時(モータ逆回転開始時)に、逆回転方向の
パルスが余計に発生することがある〔図7(c)矢印B
参照〕。
When the motor operation is started,
As shown in FIG. 7A, the output of the pulse generator is
The pulse width is wide, and the pulse width gradually decreases as the motor rotation speed increases. On the other hand, when the Hall element is in the middle position of the magnetic poles magnetized on the armature surface when the motor is stopped (hereinafter, "the armature is near the magnetic field threshold"), as shown in FIG. 7B. The chattering output (see arrow A in the figure) may occur. Further, even when the overload is stopped [the motor is locked when the upper end surface of the window glass 52 abuts on the inner bottom wall 50A of the weather strip rubber 50 (when the window glass is fully closed), the armature is exposed to the magnetic field. If it is near the threshold, an additional pulse in the reverse rotation direction may be generated when the load is released (when the motor reverse rotation is started) [arrow B in FIG. 7 (c)].
reference〕.

【0006】しかるに、ホール素子を利用したパルス発
生器によれば、モータの回転位置,ひいてはモータによ
り駆動される対象物の位置を電機子の回転速度,即ちパ
ルス幅に依存せずに検出できる(速度ゼロでも検出でき
る)点に特徴があるため、上述したチャタリング出力や
逆回転方向のパルスの余計な発生により、パルスのカウ
ントミスが発生するおそれがあった。このカウントミス
により、実際には窓ガラス全閉位置ではないのにその
ように判断された場合には、その後窓ガラス52が下降
し再び上昇した時には、挟み込み防止解除領域に達して
いないのに挟み込み防止解除領域と判断して異物挟み込
み防止動作を行わない結果、異物の挟み込みが生じた
り、実際にはウェザストリップゴム50の位置に達し
ているのに異物挟み込みと判断されてウェザストリップ
ゴム50の位置でモータが停止後反転するという予想外
の動作をするというおそれがあった。
However, according to the pulse generator using the Hall element, the rotational position of the motor and thus the position of the object driven by the motor can be detected without depending on the rotational speed of the armature, that is, the pulse width ( Since it is possible to detect even at zero speed), there is a possibility that pulse counting error may occur due to the above-mentioned extra generation of chattering output and reverse rotation pulse. Due to this counting error, if it is judged that the window glass is not at the fully closed position in reality, but when the window glass 52 descends and then rises again, the jamming prevention release area is not reached but the jamming prevention area is not reached. As a result of not performing the foreign matter entrapment prevention operation by determining the prevention release area, the foreign matter is entrapped, or the foreign matter is actually caught at the position of the weatherstrip rubber 50, but the foreign matter entrapment is determined and the position of the weatherstrip rubber 50 is determined. Therefore, there is a fear that the motor may perform an unexpected operation of reversing after stopping.

【0007】この他、図6に示されるように、ウェザス
トリップゴムの内底壁50A(同図斜線部参照)が破損
した場合にも、窓ガラスの全閉時停止位置が同図に符号
52Bで示される正規位置から上方へずれる場合があっ
た(同図符号52A参照)。一方、モータの電源電圧の
低下や、低温時におけるウェザストリップゴム50の硬
化、小さな異物の挟み込み、レギュレータのガタなどに
よる引っ掛かり等が原因となって窓ガラスが上昇時にウ
ェザストリップゴム50の途中で停止しまい(同図符号
52C参照)、このため、その後窓ガラス52が下降し
再び上昇した時には、挟み込み防止解除領域に達してい
ないのに挟み込み防止解除領域と判断して異物の挟み込
みが生じる可能性が高くなるおそれがあった。
In addition, as shown in FIG. 6, even when the inner bottom wall 50A of the weatherstrip rubber (see the hatched portion in the figure) is damaged, the stop position of the window glass when fully closed is indicated by reference numeral 52B in the figure. There was a case where it was displaced upward from the normal position indicated by (see reference numeral 52A in the figure). On the other hand, when the window glass rises due to a drop in the motor power supply voltage, hardening of the weatherstrip rubber 50 at low temperatures, pinching of small foreign objects, catching due to rattling of the regulator, etc. Therefore, when the window glass 52 descends and rises again after that, there is a possibility that foreign matter is caught in the pinch prevention release area even though it has not reached the pinch prevention release area. There was a risk that it would be high.

【0008】本発明は、上記のような事実に鑑みてなさ
れたもので、その目的は、窓ガラスの位置検出及び昇降
位置制御を正確に行うことができるパワーウインドウ制
御装置を提供することにある。
The present invention has been made in view of the above facts, and an object thereof is to provide a power window control device capable of accurately detecting the position of a window glass and controlling the elevation position. .

【0009】[0009]

【課題を解決するための手段】請求項1記載のパワーウ
インドウ制御装置は、窓ガラス昇降駆動用のモータと、
このモータの正・逆転方向の回転数に比例する数のパル
スを発生するパルス発生器と、前記窓ガラスが基準位置
に到達した時にこれを検出する検出手段と、前記パルス
発生器の出力パルスをカウントし、このカウント値と前
記基準位置に対応して予め定められた初期値とに基づき
前記窓ガラスの位置を検出する位置検出手段と、前記位
置検出手段で検出された位置と外部指令とに応じて前記
モータを制御する制御手段と、前記検出手段が前記窓ガ
ラスがある回数基準位置に到達するのを検出する毎に前
記カウント値を前記初期値に再設定する初期値再設定手
段と、を有する。
According to a first aspect of the present invention, there is provided a power window control device including a motor for driving window glass up and down.
A pulse generator that generates a number of pulses that is proportional to the number of rotations of the motor in the forward / reverse direction, a detection unit that detects when the window glass reaches a reference position, and an output pulse of the pulse generator. A position detection unit that counts and detects the position of the window glass based on the count value and an initial value that is predetermined corresponding to the reference position, and a position detected by the position detection unit and an external command. Control means for controlling the motor accordingly, initial value resetting means for resetting the count value to the initial value each time the detecting means detects that the window glass reaches a certain number of reference positions, Have.

【0010】請求項2記載のパワーウインドウ制御装置
は、窓ガラス昇降駆動用のモータと、このモータの正・
逆転方向の回転数に比例する数のパルスを発生するパル
ス発生器と、前記窓ガラスが基準位置に到達した時にこ
れを検出する検出手段と、前記パルス発生器の出力パル
スをカウントし、このカウント値と前記基準位置に対応
して予め定められた初期値とに基づき前記窓ガラスの位
置を検出する位置検出手段と、前記位置検出手段で検出
された位置と外部指令とに応じて前記モータを制御する
制御手段と、前記検出手段が前記窓ガラスが基準位置に
到達するのを検出する毎に、今回窓ガラスが基準位置に
到達した時のカウント値と前回窓ガラスが基準位置に到
達した時のカウント値との差を求め、該差が所定値を越
えている場合には、今回のカウント値を前回のカウント
値に更新する基準カウント値更新手段と、を有する。
According to another aspect of the power window control device of the present invention, there is provided a motor for driving the window glass up and down, and a positive / negative motor for the motor.
A pulse generator that generates a number of pulses that is proportional to the number of revolutions in the reverse direction, a detection unit that detects when the window glass reaches a reference position, and an output pulse of the pulse generator that counts this count. Position detection means for detecting the position of the window glass based on a value and a predetermined initial value corresponding to the reference position, and the motor in accordance with the position detected by the position detection means and an external command. Every time the control means for controlling and the detection means detect that the window glass reaches the reference position, the count value when the window glass reaches the reference position this time and the count value when the window glass reaches the reference position last time And a reference count value updating means for updating the current count value to the previous count value when the difference exceeds the predetermined value.

【0011】[0011]

【作用】請求項1記載のパワーウインドウ制御装置によ
れば、外部指令に応じて制御手段がモータを駆動する
と、窓ガラスが昇降する。この昇降中に窓ガラスが基準
位置に到達すると、検出手段がこれを検出する。そし
て、この検出手段が窓ガラスが基準位置に到達したこと
をある回数検出すると、初期値再設定手段が、カウント
値を前記初期値に更新する。これにより、窓ガラスが基
準位置にある回数到達する毎に、窓ガラスの位置検出の
ための基準となるカウント値が初期値に更新されるの
で、窓ガラス移動中に何らかの理由によりカウント値に
誤差が生じていた場合であっても、初期値に再設定され
る都度移動中に生じたカウント値の誤差がキャンセルさ
れ、位置検出手段による窓位置の検出が高精度に行わ
れ、この検出された位置に基づき制御手段によりモータ
が制御される。結果的に窓ガラスの昇降位置制御が正確
に行われる。
According to the power window control device of the first aspect, when the control means drives the motor in response to the external command, the window glass moves up and down. When the window glass reaches the reference position during the ascending / descending, the detecting means detects it. When the detecting means detects that the window glass has reached the reference position a certain number of times, the initial value resetting means updates the count value to the initial value. As a result, every time the window glass reaches the reference position, the count value, which is the reference for detecting the position of the window glass, is updated to the initial value. Even if the error occurs, the error of the count value generated during the movement is reset each time it is reset to the initial value, the window position is detected with high accuracy by the position detecting means, and this is detected. The motor is controlled by the control means based on the position. As a result, the vertical position control of the window glass is accurately performed.

【0012】基準位置としては、例えば窓ガラス全閉位
置,全開位置等が考えられるが、窓ガラスを開ける際に
は必ずしも全開にするとは限らない一方、雨天等の際,
エアコンを使用する際等に窓ガラスを閉める際には全閉
にするのが通常であることを考えれば、窓ガラス全閉位
置を基準位置とすることが好ましい。
The reference position may be, for example, a fully closed position or a fully open position of the window glass. However, when the window glass is opened, the position is not always fully opened.
Considering that the window glass is normally fully closed when the air conditioner is used, it is preferable to set the window glass fully closed position as the reference position.

【0013】全閉位置を基準位置とする場合にこれを検
出する検出手段は、全閉センサのようなものでもよく、
あるいは検出パルス値とモータ回転数の変化率とに基づ
き全閉位置を検出する手段であってもよい。
The detecting means for detecting the fully closed position as a reference position may be a fully closed sensor,
Alternatively, it may be a means for detecting the fully closed position based on the detected pulse value and the rate of change of the motor rotation speed.

【0014】この窓ガラス全閉位置を基準位置とするパ
ワーウインドウ制御装置としては、前述した窓ガラス全
閉位置から所定の範囲に渡って挟み込み防止解除領域が
設定された挟み込み防止機能を備えたパワーウインドウ
制御装置があるが、本発明をかかるパワーウインドウ制
御装置に適用した場合には、モータの停止時のパルス発
生器のチャタリング出力や、モータ停止後逆回転開始時
に余計に発生した逆回転方向パルス出力の積算により検
出パルス値に誤差が大きく発生しない内に、実際の窓ガ
ラス全閉位置で初期パルス値の再設定が行われるので、
挟み込み防止解除領域の検出を確実に行うことができ
る。
The power window control device using the fully closed position of the window glass as a reference position includes a power having a pinching prevention function in which a pinching prevention release area is set over a predetermined range from the fully closed position of the window glass. Although there is a window control device, when the present invention is applied to such a power window control device, the chattering output of the pulse generator at the time of stopping the motor and the reverse rotation direction pulse additionally generated at the time of starting the reverse rotation after the motor is stopped. While the error of the detected pulse value does not greatly occur due to the integration of the output, the initial pulse value is reset at the actual closed position of the window glass.
It is possible to reliably detect the pinch prevention release area.

【0015】また、この他の窓ガラス位置の制御とし
て、例えば、任意の位置で確実に窓ガラスを昇降停止さ
せるような制御や、全閉センサ等を設けることなく、全
閉位置で窓ガラスを確実に停止させるような制御が考え
られるが、このような場合であっても、本発明によれば
窓ガラスの昇降位置制御を確実に行うことができる。
Further, as other window glass position control, for example, control for surely raising and lowering the window glass at an arbitrary position, a window glass at the fully closed position without providing a fully closed sensor or the like is provided. Although a control for surely stopping is conceivable, even in such a case, according to the present invention, the elevation position control of the window glass can be surely performed.

【0016】請求項2記載のパワーウインドウ制御装置
によれば、外部指令に応じて制御手段がモータを駆動す
ると、窓ガラスが昇降する。この昇降中に窓ガラスが基
準位置に到達すると、検出手段がこれを検出する。この
検出手段により、窓ガラスが基準位置に到達したことが
検出されると、基準カウント値更新手段が今回窓ガラス
が基準位置に到達した時のカウント値と前回窓ガラスが
基準位置に到達した時のカウント値との差を求め、該差
が所定値を越えている場合には、今回のカウント値を前
回のカウント値に更新する。これにより、窓ガラスが基
準位置に来た時のカウント値のずれが所定値を越えてい
る場合には、ずれが所定値以内となるようにカウント値
が更新され、窓ガラスの位置検出の誤差を所定値以内に
止めることができ、このずれの許容値を実際上差し支え
ない範囲に予め設定することにより、十分な正確度をも
って窓ガラスの位置検出及び昇降位置制御を正確に行う
ことができる。
According to the power window control device of the second aspect, when the control means drives the motor in response to the external command, the window glass moves up and down. When the window glass reaches the reference position during the ascending / descending, the detecting means detects it. When the detection means detects that the window glass has reached the reference position, the reference count value updating means detects the count value when the window glass reaches the reference position this time and the previous count when the window glass reaches the reference position. The difference from the count value of is calculated, and if the difference exceeds a predetermined value, the count value of this time is updated to the count value of the previous time. As a result, when the deviation of the count value when the window glass reaches the reference position exceeds the predetermined value, the count value is updated so that the deviation is within the predetermined value, and the error in detecting the position of the window glass Can be stopped within a predetermined value, and by presetting the allowable value of this deviation within a range that does not actually hinder, it is possible to accurately perform the position detection of the window glass and the elevation position control with sufficient accuracy.

【0017】従って、本発明を挟み込み防止解除領域が
設定された挟み込み防止機能を備えたパワーウインドウ
制御装置に適用した場合には、モータ停止時のパルス発
生器のチャタリング出力や、モータ停止後逆回転開始時
に余計に発生した逆回転方向パルス出力の積算によるパ
ルス値の計数の誤差のみでなく、使用中に突然モータの
電源電圧が低下した場合や、小さな異物の挟み込み(不
感体領域内で発生)等により窓ガラスが途中位置で停止
した場合にも、その後の窓ガラスの位置検出及び昇降位
置制御を高精度に行うことができる。
Therefore, when the present invention is applied to a power window control device having a pinch prevention function in which the pinch prevention release area is set, the chattering output of the pulse generator when the motor is stopped or the reverse rotation after the motor is stopped. Not only the error in counting the pulse value due to the integration of the reverse rotation direction pulse output that was additionally generated at the start, but also when the motor power supply voltage suddenly dropped during use or a small foreign object was trapped (occurs in the dead zone). Even if the window glass stops at an intermediate position due to such reasons, the subsequent position detection and elevation control of the window glass can be performed with high accuracy.

【0018】[0018]

【実施例】【Example】

〔第1実施例〕以下、本発明の第1実施例を図1,図
2,図5に基づいて説明する。
[First Embodiment] A first embodiment of the present invention will be described below with reference to FIGS. 1, 2 and 5.

【0019】図1には、第1実施例に係るパワーウイン
ドウ制御装置10の構成が概略的に示されている。この
パワーウインドウ制御装置10では、図5に示されるよ
うに、窓枠(図示省略)に設けられたウェザストリップ
ゴム50の内底壁50Aによって規定される窓ガラス5
2の全閉位置からx+y(≦x+4)mmの範囲に挟み
込み防止動作を行わない挟み込み防止解除領域が設定さ
れている。
FIG. 1 schematically shows the structure of a power window control device 10 according to the first embodiment. In this power window control device 10, as shown in FIG. 5, a window glass 5 defined by an inner bottom wall 50A of a weatherstrip rubber 50 provided on a window frame (not shown).
An entrapment prevention release area in which the entrapment prevention operation is not performed is set within a range of x + y (≦ x + 4) mm from the fully closed position of 2.

【0020】このパワーウインドウ制御装置10は、窓
ガラス52の昇降駆動用のモータ12と、このモータ1
2の正・逆転方向の回転数に比例する数のパルスを発生
するパルス発生器14と、このパルス発生器14からの
出力パルス数及び後述するパワーウインドウ操作スイッ
チ16からの入力に基づき後述する制御アルゴリズム等
に従ってモータドライバ32を介してモータ12を制御
するマイクロコンピュータ(以下、「マイコン」と略述
する)18とを有している。
The power window control device 10 includes a motor 12 for raising and lowering a window glass 52, and the motor 1.
The pulse generator 14 that generates a number of pulses proportional to the number of rotations in the forward / reverse rotation direction of 2, and the control described later based on the number of output pulses from this pulse generator 14 and the input from the power window operation switch 16 described later. It has a microcomputer (hereinafter abbreviated as “microcomputer”) 18 that controls the motor 12 via a motor driver 32 according to an algorithm or the like.

【0021】前記パルス発生器14としては、モータ1
2の回転軸である電機子(図示省略)に極性の異なる磁
石(磁極)を所定間隔で着磁し、電機子の回転により生
じる磁界変化を図示しないホール素子(ホールIC)で
ピックアップしてモータ12の正・逆転方向の回転数に
比例する数のパルスを発生する公知の構成のものが使用
されている。このパルス発生器14は、90度位相のず
れた2種類のパルスを発生し、このパルスのいずれが先
に立ち上がるかにより、モータ12の正逆転方向の判別
が可能になっている。
The pulse generator 14 is a motor 1
The magnets (magnetic poles) having different polarities are magnetized at predetermined intervals on the armature (not shown) that is the rotating shaft of the second motor, and the change in the magnetic field caused by the rotation of the armature is picked up by a hall element (hall IC) (not shown) to drive the motor. A well-known structure for generating a number of pulses proportional to the number of rotations in the forward and reverse directions of 12 is used. The pulse generator 14 generates two types of pulses that are 90 degrees out of phase, and the forward / reverse direction of the motor 12 can be determined depending on which of these pulses rises first.

【0022】パワーウインドウ操作スイッチ16は、上
昇方向,下降方向にそれぞれ2段階の押圧操作が可能
で、上昇方向に軽く押すと、押されている間だけ窓ガラ
ス52を上昇させるためのマニュアル上昇指令を出力
し、上昇方向に強く押すと窓ガラス52が上昇し続ける
オート上昇指令を出力し、下降方向に軽く押すと、押さ
れている間だけ窓ガラス52を下降させるためのマニュ
アル下降指令を出力し、下降方向に強く押すと窓ガラス
52が下降し続けるオート下降指令を出力する外部入力
手段である。
The power window operation switch 16 can be pressed in two steps in the ascending direction and the descending direction. When the power window operating switch 16 is lightly pressed in the ascending direction, a manual raising command for raising the window glass 52 only while it is being pressed. Is output, and the window glass 52 keeps rising when it is strongly pressed in the ascending direction, and the manual descending command for descending the window glass 52 is output when it is lightly pressed in the descending direction. However, it is an external input means for outputting an automatic descending command in which the window glass 52 continues to descend when strongly pressed in the descending direction.

【0023】マイコン18は、入力ポート20と、RO
M(リード・オンリ・メモリ)22と、RAM(ランダ
ム・アクセス・メモリ)24と、出力ポート26と、こ
れらにシステム・バス28を介して接続されたCPU
(中央処理装置)30等を含んで構成されている。
The microcomputer 18 includes an input port 20 and an RO
M (read only memory) 22, RAM (random access memory) 24, output port 26, and CPU connected to these via a system bus 28
(Central processing unit) 30 and the like are included.

【0024】ROM22内には、後述するフローチャー
トに対応する制御アルゴリズム等が予め記憶されてい
る。RAM24内には、後述する図示しないカウンター
のカウント値が順次記憶される第1エリア、CPU30
が種々の処理を行う際のワークエリアとしての第2エリ
ア等の種々のエリアが設けられている。
In the ROM 22, control algorithms and the like corresponding to the flow charts described later are stored in advance. In the RAM 24, a first area in which a count value of a counter (not shown) described later is sequentially stored, the CPU 30
Are provided with various areas such as a second area as a work area for performing various processes.

【0025】次に、上記のようにして構成された第1実
施例の作用をCPU30の主要な制御アルゴリズムを示
す図2のメインルーチンのフローチャートに沿って説明
する。
Next, the operation of the first embodiment configured as described above will be described with reference to the flowchart of the main routine of FIG. 2 showing the main control algorithm of the CPU 30.

【0026】このメインルーチンがスタートするのは、
オペレータによりパワーウインドウ操作スイッチ16が
操作され、オート上昇指令がCPU30に対してなされ
た場合である。
This main routine starts with
This is the case where the operator operates the power window operation switch 16 and issues an automatic raising command to the CPU 30.

【0027】まず、ステップ100で出力ポート26を
介してモータドライバ32に対しモータ正転駆動命令を
出力してモータ12を駆動する。
First, in step 100, a motor forward drive command is output to the motor driver 32 via the output port 26 to drive the motor 12.

【0028】次のステップ102で図示しないカウンタ
ーのカウント値を取り込み、ステップ104で該カウン
タト値をRAM24の第2エリア内に記憶する。ここ
で、カウンターは窓ガラス上昇時には、図3のフローチ
ャートで示される割り込みルーチンで作動しており、パ
ルス発生器14からの出力パルスが入力ポート20を介
して入力されると、このパルスの立ち上がりをタイミン
グとしてこの割り込み処理を行い、カウントアップされ
たカウント値が順次RAM24の第1エリアに記憶され
るようになっている。このカウンターには、基準位置と
しての窓ガラス全閉位置に対応する初期値n0 が予め設
定されている。従って、ステップ102,104では、
RAM24の第1エリアに記憶されたその時のカウント
値をCPU30が一端取り込み、その取り込んだカウン
ト値をRAM24の第2エリアに記憶することを意味す
る。
In the next step 102, the count value of a counter (not shown) is fetched, and in step 104 the count value is stored in the second area of the RAM 24. Here, the counter operates in the interrupt routine shown in the flowchart of FIG. 3 when the window glass rises, and when the output pulse from the pulse generator 14 is input through the input port 20, the rising edge of this pulse is detected. This interrupt processing is performed at a timing, and the counted up values are sequentially stored in the first area of the RAM 24. An initial value n 0 corresponding to the window glass fully closed position as a reference position is preset in this counter. Therefore, in steps 102 and 104,
This means that the CPU 30 once fetches the count value at that time stored in the first area of the RAM 24 and stores the fetched count value in the second area of the RAM 24.

【0029】なお、このカウンターは窓ガラス下降時に
は、割り込みルーチンによりカウントダウンされる。
This counter is counted down by an interrupt routine when the window glass is descending.

【0030】次のステップ106でステップ104でR
AM24の第2エリア内に記憶された今回のカウント値
i と前回のカウント値ni-1 との差(ni −ni-1
を演算することよりモータの回転数の変化率Rn を演算
する。このメインルーチンは、クロックのタイミングに
基づき略一定時間間隔で1サイクルの処理を行うのでカ
ウント値の差はモータの回転数の変化率に比例し、便宜
上Rn =(ni −ni- 1 )として扱って差し支えない。
At the next step 106, R at step 104
The difference between the stored the current count value n i and the previous count value n i-1 to the second area of AM24 (n i -n i-1 )
Is calculated to calculate the change rate R n of the rotation speed of the motor. Since this main routine performs one cycle of processing at substantially constant time intervals based on the clock timing, the difference in count value is proportional to the rate of change in the number of rotations of the motor, and for convenience, R n = (n i −n i- 1 ) Can be treated as

【0031】次のステップ108で変化率Rn が所定値
以下であるか否かを判定し、このステップ108におけ
る判定が否定された場合には、ステップ102に戻り上
記の処理・判断を繰り返す。ステップ108における判
定が肯定された場合には、窓ガラス52が上昇中に何ら
かの異物に当接したか、窓ガラスが全閉位置まで上昇し
てウェザストリップゴム50の内底壁50Aに当接した
かのいずれかであるから、ステップ110に進んでステ
ップ104でRAM24内の第2エリアに記憶された今
回のカウント値に基づき窓ガラス52の位置が前述した
挟み込み防止解除領域にあるか否かを判定する。
In the next step 108, it is determined whether or not the rate of change R n is less than or equal to a predetermined value, and if the determination in step 108 is negative, the process returns to step 102 and the above-described processing / determination is repeated. When the determination in step 108 is affirmative, the window glass 52 has come into contact with some foreign matter during the ascent, or the window glass has come up to the fully closed position and has come into contact with the inner bottom wall 50A of the weatherstrip rubber 50. Therefore, the process proceeds to step 110, and it is determined whether or not the position of the window glass 52 is in the above-mentioned entrapment prevention release area based on the present count value stored in the second area in the RAM 24 in step 104. judge.

【0032】ステップ110における判定が肯定された
場合には、窓ガラス52は全閉位置であると判断できる
ので、ステップ114に進んで直ちにモータを停止す
る。これにより、窓ガラス52は全閉位置(と判断され
た位置)で停止する。
If the determination in step 110 is affirmative, it can be determined that the window glass 52 is in the fully closed position, so the process proceeds to step 114 and the motor is immediately stopped. As a result, the window glass 52 is stopped at (the position determined to be) the fully closed position.

【0033】次のステップ116でカウンターのカウン
ト値を初期値にリセットした後制御を終了する。なお、
この全閉位置の検出をより正確に行うために、全閉セン
サ等の他の検出手段を併設しても良い。
In the next step 116, the count value of the counter is reset to the initial value and then the control ends. In addition,
In order to detect this fully closed position more accurately, other detection means such as a fully closed sensor may be installed.

【0034】一方、ステップ110における判定が否定
された場合には、何らかの異物に窓ガラス52が当接し
たものと考えられるのでステップ112に進み、挟み込
み防止処理を行う。この挟み込み防止処理は、具体的に
は、窓ガラス52がその位置で停止後所定量下降して停
止するようにモータ12を制御することにより行われ
る。この挟み込み防止処理の完了後制御を終了する。
On the other hand, if the determination in step 110 is negative, it is considered that the window glass 52 has come into contact with some foreign matter, so the routine proceeds to step 112, and the trapping prevention processing is performed. This trapping prevention processing is specifically performed by controlling the motor 12 so that the window glass 52 is stopped at that position and then lowered by a predetermined amount and stopped. The control is terminated after the entrapment prevention process is completed.

【0035】これまでの説明から明らかなように、本第
1実施例では、マイコン18内CPU30が、ROM2
2内に記憶された制御アルゴリズムに従って動作するこ
とにより、検出手段、位置検出手段、制御手段及び初期
値再設定手段として機能する。
As is apparent from the above description, in the first embodiment, the CPU 30 in the microcomputer 18 is the ROM 2
By operating according to the control algorithm stored in 2, it functions as a detection unit, a position detection unit, a control unit, and an initial value resetting unit.

【0036】この他、パワーウインドウ操作スイッチ1
6が操作され、オート下降指令、マニュアル上昇指令、
マニュアル下降指令が入力された場合には、CPU30
では、当該指令に応じてモータを制御するが、これらの
場合の制御手法は、公知であるので、ここでは説明を省
略する。
Besides, the power window operation switch 1
6 is operated, the automatic descending command, the manual ascending command,
When the manual descending command is input, the CPU 30
Then, the motor is controlled according to the command, but the control method in these cases is publicly known, and therefore the description thereof is omitted here.

【0037】以上説明したように、本第1実施例による
と、窓ガラス52が全閉位置で停止する度毎に、カウン
ターのカウント値が初期値にリセット(再設定)される
ので、モータ12の停止時のパルス発生器14のチャタ
リング出力や、モータ12の停止後逆回転開始時に余計
に発生した逆回転方向パルス出力の積算によりカウント
値に誤差が大きく発生しない内に、初期値の再設定の都
度、作動中に生じたカウント値の誤差がキャンセルさ
れ、CPU30によるカウント値に基づく窓ガラス52
の位置検出及び窓ガラス52の昇降位置制御が正確に行
われる。従って、異物挟み込み検出・解除、及び窓ガラ
ス昇降制御の信頼性を向上させることができる。
As described above, according to the first embodiment, the count value of the counter is reset (reset) to the initial value every time the window glass 52 is stopped at the fully closed position. The resetting of the initial value before the chattering output of the pulse generator 14 at the time of stop and the addition of the reverse rotation direction pulse output additionally generated at the time of starting the reverse rotation after the motor 12 is stopped do not cause a large error in the count value. Each time, the error of the count value generated during operation is canceled, and the window glass 52 based on the count value by the CPU 30 is canceled.
Position detection and the vertical position control of the window glass 52 are accurately performed. Therefore, it is possible to improve the reliability of the detection / release of the foreign matter entrapment and the window glass up / down control.

【0038】なお、上記第1実施例では、窓ガラス52
が全閉位置で停止する度毎に、カウンターのカウント値
を初期値にリセットする場合を例示したが、窓ガラス5
2が全閉位置で停止した時、何回かに1回の割合でカウ
イト値を初期値にリセットするようにしても良い。
In the first embodiment, the window glass 52
The case where the count value of the counter is reset to the initial value each time the vehicle stops at the fully closed position is illustrated.
When 2 stops at the fully closed position, the Kauite value may be reset to the initial value once every several times.

【0039】また、上記実施例では、回転数の変化率R
n が所定値以下になったか否かの判定をした後(ステッ
プ108)、挟み込み防止解除領域か否かの判定を行い
(ステップ110)、挟み込み防止解除領域でなければ
挟み込み防止処理を行い、挟み込み防止解除領域であれ
ば窓ガラス52が全閉位置にあるものとしてモータ12
を直ちに停止する場合を例示したが、挟み込み防止解除
領域か否かの判定を先に行った後挟み込み防止解除領域
でない場合にのみ、回転数の変化率Rn が所定値以下に
なったか否かの判定を行うようにしても良い。
Further, in the above embodiment, the rate of change R of the rotational speed is
After determining whether n has become equal to or less than a predetermined value (step 108), it is determined whether or not it is the entrapment prevention release area (step 110). If it is not the entrapment prevention release area, entrapment prevention processing is performed, and entrapment is performed. If it is in the prevention release area, it is assumed that the window glass 52 is in the fully closed position.
Although the case of immediately stopping is illustrated, whether or not the rate of change R n of the number of revolutions has become equal to or less than a predetermined value only in the case where it is not the post-entrapment prevention release region after the determination as to whether it is the entrapment prevention release region is performed first. May be determined.

【0040】〔第2実施例〕次に、本発明の第2実施例
を図4に基づいて説明する。
[Second Embodiment] Next, a second embodiment of the present invention will be described with reference to FIG.

【0041】この第2実施例のハード部の構成は前述し
た第1実施例と同一であるのでその説明は省略し、第2
実施例の作用をCPU30の主要な制御アルゴリズムを
示す図4のメインルーチンのフローチャートに沿って説
明する。
Since the structure of the hardware portion of the second embodiment is the same as that of the first embodiment described above, the description thereof will be omitted and the second embodiment will be omitted.
The operation of the embodiment will be described with reference to the flowchart of the main routine of FIG. 4 showing the main control algorithm of the CPU 30.

【0042】このメインルーチンがスタートするのは、
オペレータによりパワーウインドウ操作スイッチ16が
操作され、オート上昇指令がCPU30に対してなされ
た場合である。
This main routine starts
This is the case where the operator operates the power window operation switch 16 and issues an automatic raising command to the CPU 30.

【0043】スタート後、ステップ200〜ステップ2
08までは、第1実施例のステップ100〜ステップ1
08と同一の処理判断がなされる。
After the start, step 200 to step 2
Up to 08, steps 100 to 1 of the first embodiment
The same processing determination as 08 is made.

【0044】ステップ208における判定が肯定される
と、ステップ210に進み、ステップ204でRAM2
4の第2エリアに記憶されたカウント値に基づき窓ガラ
スが前述した挟み込み防止解除領域にあるか否かを判定
する。
If the determination in step 208 is affirmative, the process proceeds to step 210, and in step 204 the RAM 2
Based on the count value stored in the second area No. 4, it is determined whether or not the window glass is in the above-mentioned pinch prevention release area.

【0045】ステップ210における判定が肯定された
場合には、ステップ214に進んで直ちにモータ12を
停止し、ステップ216で今回のカウント値ni と前回
のカウント値ni-1 との差(ni −ni-1 )が第2の所
定値を越えたか否かを判定する。ここで、この第2の所
定値は、許容できる窓ガラス全閉位置のずれの最大限度
を定めるもので、パルスの分解能及び窓枠構造によって
最適に定めることが望ましい。
If the determination in step 210 is affirmative, the routine proceeds to step 214, where the motor 12 is immediately stopped, and in step 216, the difference (n) between the current count value n i and the previous count value n i-1. i− n i−1 ) exceeds a second predetermined value. Here, this second predetermined value determines the maximum degree of deviation of the fully closed position of the window glass, and is preferably set optimally depending on the pulse resolution and the window frame structure.

【0046】ステップ216における判定が肯定された
場合には、窓ガラス全閉位置のずれが許容できない(位
置検出誤差が無視できなくなる)のでステップ218に
進んで今回のカウント値を前回のカウント値に更新す
る。一方、ステップ216における判定が否定された場
合には、そのまま制御を終了する。
If the determination in step 216 is affirmative, the deviation of the window glass fully closed position is unacceptable (the position detection error cannot be ignored), so the routine proceeds to step 218, where the current count value is set to the previous count value. Update. On the other hand, if the determination in step 216 is negative, the control ends as it is.

【0047】この一方、上記ステップ210における判
定が否定された場合には、何らかの異物に窓ガラス52
が当接したものと判断してステップ212に進み、挟み
込み防止処理を行う。この挟み込み防止処理は、具体的
には、窓ガラス52がその位置で停止後所定量下降して
停止するようにモータ12を制御することにより行われ
る。この挟み込み防止処理の完了後、制御を終了する。
On the other hand, if the determination in step 210 is negative, the window glass 52 may be caught by some foreign matter.
It is determined that the contact has occurred, and the process proceeds to step 212, and the trapping prevention process is performed. This trapping prevention processing is specifically performed by controlling the motor 12 so that the window glass 52 is stopped at that position and then lowered by a predetermined amount and stopped. After the pinching prevention process is completed, the control is ended.

【0048】この他、パワーウインドウ操作スイッチ1
6が操作され、オート下降指令、マニュアル上昇指令、
マニュアル下降指令が入力された場合には、CPU30
では、当該指令に応じてモータを制御するが、これらの
場合の制御手法は、公知であるので、ここでは説明を省
略する。
Besides this, the power window operation switch 1
6 is operated, the automatic descending command, the manual ascending command,
When the manual descending command is input, the CPU 30
Then, the motor is controlled according to the command, but the control method in these cases is publicly known, and therefore the description thereof is omitted here.

【0049】以上説明したように、本第2実施例による
と、窓ガラス52が全閉位置(と判断された位置)で停
止する度毎に、前回のカウント値と今回のカウント値と
の差が第2の所定値を越えている場合に、今回のカウン
ト値を前回のカウント値に更新する。このため、何らか
の原因で窓ガラス52が全閉位置から離れた位置で全閉
位置と判断されて停止した場合等に、正規の窓ガラス全
閉位置からのずれが無視できる前回の窓ガラス全閉位置
に相当する前回のカウント値に更新されるので、その後
の窓ガラス52の位置検出は前回の窓ガラス全閉位置に
相当するカウント値を基準として行われる。これによ
り、モータ12の停止時のパルス発生器14のチャタリ
ング出力や、モータ停止後逆回転開始時に余計に発生し
た逆回転方向パルス出力の積算によるパルス値の計数の
誤差のみでなく、使用中に突然モータ12の電源電圧が
低下した場合や、小さな異物(ゴミ等)の挟み込み(挟
み込み防止領域内で発生)等により窓ガラス52が途中
位置で停止した場合にも、位置検出精度の低下を防止す
ることができる。従って、突発的に生じた全閉位置の変
動に対しても窓ガラス52の位置検出の精度を初期の状
態に維持することができ、これにより異物挟み込み検出
・解除、及び窓ガラス昇降制御の信頼性を向上させるこ
とができる。
As described above, according to the second embodiment, each time the window glass 52 stops at the position (the position determined to be the fully closed position), the difference between the previous count value and the present count value is calculated. Is greater than the second predetermined value, the current count value is updated to the previous count value. For this reason, when the window glass 52 is stopped at a position away from the fully closed position due to some reason and stops, and the like, the deviation from the regular fully closed position can be ignored. Since the previous count value corresponding to the position is updated, the subsequent position detection of the window glass 52 is performed with the count value corresponding to the previous window glass fully closed position as a reference. As a result, not only the chattering output of the pulse generator 14 when the motor 12 is stopped and the error in counting the pulse value due to the addition of the reverse rotation direction pulse output that is additionally generated at the time of starting the reverse rotation after the motor is stopped, Prevents deterioration of position detection accuracy even when the power supply voltage of the motor 12 suddenly drops, or when the window glass 52 stops at an intermediate position due to pinching of small foreign matter (dust etc.) (occurs in the pinching prevention area) can do. Therefore, the accuracy of the position detection of the window glass 52 can be maintained in the initial state even when the position of the fully closed position suddenly changes, and the reliability of the detection / release of the foreign matter entrapment and the window glass raising / lowering control can be maintained. It is possible to improve the sex.

【0050】また、第2実施例の場合も回転数の変化率
n が所定値以下になったか否かの判定をした後(ステ
ップ208)、挟み込み防止解除領域か否かの判定を行
い(ステップ210)、挟み込み防止解除領域でなけれ
ば挟み込み防止処理を行い、挟み込み防止解除領域であ
れば全閉位置と判断してモータを直ちに停止する場合を
例示したが、挟み込み防止解除領域か否かの判定を先に
行った後挟み込み防止解除領域でない場合にのみ、回転
数の変化率Rn が所定値以下になったか否かの判定を行
うようにしても良い。
Also in the case of the second embodiment, after it is judged whether or not the rate of change R n of the number of revolutions is equal to or less than a predetermined value (step 208), it is judged whether or not it is in the entrapment prevention release area ( Step 210) exemplifies a case in which the pinch prevention process is performed if it is not the pinch prevention release region, and the motor is immediately stopped when the pinch prevention release region is determined to be the fully closed position. It may be possible to determine whether or not the rate of change R n of the rotational speed has become equal to or less than a predetermined value only when it is not in the entrapment prevention release region after the determination is performed first.

【0051】なお、上記第1,第2実施例では、オート
上昇の場合にのみ、挟み込み防止処理及びカウント値の
更新等を行う場合を例示したが、これらをマニュアル上
昇のときにも行うことは可能である。
In the above first and second embodiments, the case where the trapping prevention processing and the update of the count value and the like are performed only in the case of the automatic ascending has been exemplified, but these are not performed even in the case of the manual ascending. It is possible.

【0052】[0052]

【発明の効果】以上説明したように、本発明によれば窓
ガラスの位置検出及び昇降位置制御を正確に行うことが
できるという従来にない優れた効果がある。
As described above, according to the present invention, there is an unprecedented excellent effect that the position detection and the elevation position control of the window glass can be accurately performed.

【0053】また、本発明を、例えば、挟み込み防止解
除領域が設定された挟み込み防止機能を備えたパワーウ
ンドウ制御装置に適用した場合に、窓ガラス全閉位置が
多少変動した場合にも異物挟み込み検出・解除、及び窓
ガラス昇降制御の信頼性を向上させることができる。
Further, when the present invention is applied to, for example, a power window controller having a pinch prevention function in which a pinch prevention release area is set, foreign matter trapping detection is performed even when the window glass fully closed position is slightly changed. -It is possible to improve the reliability of release and window glass elevation control.

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

【図1】第1実施例に係るパワーウインドウ制御装置の
概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a power window control device according to a first embodiment.

【図2】図1のCPUの主要な制御アルゴリズムを示す
メインルーチンのフローチャートである。
2 is a flowchart of a main routine showing a main control algorithm of the CPU of FIG.

【図3】割り込みルーチンのフローチャートである。FIG. 3 is a flowchart of an interrupt routine.

【図4】第2実施例に係るCPUの主要な制御アルゴリ
ズムを示すメインルーチンのフローチャートである。
FIG. 4 is a flowchart of a main routine showing a main control algorithm of the CPU according to the second embodiment.

【図5】挟み込み防止解除領域を説明するための図であ
る。
FIG. 5 is a diagram for explaining an entrapment prevention release area.

【図6】発明が解決しようとする課題を説明するための
図であって、窓ガラス全閉位置がずれた状態を説明する
ための図である。
FIG. 6 is a diagram for explaining a problem to be solved by the present invention and is a diagram for explaining a state in which a window glass fully closed position is displaced.

【図7】発明が解決しようとする課題を説明するための
図であって、パルス発生器の出力変化を示す線図であ
る。
FIG. 7 is a diagram for explaining a problem to be solved by the invention and is a diagram showing a change in output of a pulse generator.

【符号の説明】[Explanation of symbols]

10 パワーウインドウ制御装置 12 モータ 14 パルス発生器 30 CPU(検出手段、位置検出手段、制御手段、初
期値再設定手段) 52 窓ガラス
10 power window control device 12 motor 14 pulse generator 30 CPU (detection means, position detection means, control means, initial value resetting means) 52 window glass

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 窓ガラス昇降駆動用のモータと、 このモータの正・逆転方向の回転数に比例する数のパル
スを発生するパルス発生器と、 前記窓ガラスが基準位置に到達した時にこれを検出する
検出手段と、 前記パルス発生器の出力パルスをカウントし、このカウ
ント値と前記基準位置に対応して予め定められた初期値
とに基づき前記窓ガラスの位置を検出する位置検出手段
と、 前記位置検出手段で検出された位置と外部指令とに応じ
て前記モータを制御する制御手段と、 前記検出手段が前記窓ガラスがある回数基準位置に到達
するのを検出する毎に前記カウント値を前記初期値に再
設定する初期値再設定手段と、 を有するパワーウインドウ制御装置。
1. A motor for driving window glass up and down, a pulse generator for generating a number of pulses proportional to the number of rotations of the motor in the forward and reverse directions, and a pulse generator for driving the window glass when it reaches a reference position. Detection means for detecting, counting the output pulse of the pulse generator, position detection means for detecting the position of the window glass based on the count value and an initial value predetermined corresponding to the reference position, A control unit that controls the motor according to the position detected by the position detection unit and an external command; and the count value each time the detection unit detects that the window glass reaches a certain number of reference positions. An initial value resetting means for resetting the initial value, the power window control device.
【請求項2】 窓ガラス昇降駆動用のモータと、 このモータの正・逆転方向の回転数に比例する数のパル
スを発生するパルス発生器と、 前記窓ガラスが基準位置に到達した時にこれを検出する
検出手段と、 前記パルス発生器の出力パルスをカウントし、このカウ
ント値と前記基準位置に対応して予め定められた初期値
とに基づき前記窓ガラスの位置を検出する位置検出手段
と、 前記位置検出手段で検出された位置と外部指令とに応じ
て前記モータを制御する制御手段と、 前記検出手段が前記窓ガラスが基準位置に到達するのを
検出する毎に、今回窓ガラスが基準位置に到達した時の
カウント値と前回窓ガラスが基準位置に到達した時のカ
ウント値との差を求め、該差が所定値を越えている場合
には、今回のカウント値を前回のカウント値に更新する
基準カウント値更新手段と、 を有するパワーウインドウ制御装置。
2. A motor for driving window glass up and down, a pulse generator for generating a number of pulses proportional to the number of rotations of the motor in the forward and reverse directions, and a motor for driving the window glass when the window reaches a reference position. Detection means for detecting, counting the output pulse of the pulse generator, position detection means for detecting the position of the window glass based on the count value and an initial value predetermined corresponding to the reference position, The control means for controlling the motor in accordance with the position detected by the position detection means and an external command; and, every time the detection means detects that the window glass reaches the reference position, the window glass this time becomes the reference. Obtain the difference between the count value when the position reached the position and the count value when the window glass reached the reference position last time, and if the difference exceeds the predetermined value, change the current count value to the previous count value. To A reference count value updating means new to, power window control apparatus having a.
JP5214255A 1993-08-30 1993-08-30 Power window control device Pending JPH0762947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5214255A JPH0762947A (en) 1993-08-30 1993-08-30 Power window control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5214255A JPH0762947A (en) 1993-08-30 1993-08-30 Power window control device

Publications (1)

Publication Number Publication Date
JPH0762947A true JPH0762947A (en) 1995-03-07

Family

ID=16652729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5214255A Pending JPH0762947A (en) 1993-08-30 1993-08-30 Power window control device

Country Status (1)

Country Link
JP (1) JPH0762947A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07180430A (en) * 1993-11-09 1995-07-18 Omron Corp Electric driver
WO2003091524A1 (en) * 2002-04-25 2003-11-06 Aisin Seiki Kabushiki Kaisha Operating mechanism of open/close body
JP2005344384A (en) * 2004-06-03 2005-12-15 Nissan Motor Co Ltd Power window control device
US7127848B2 (en) 2001-07-25 2006-10-31 Asmo Co., Ltd. Controller for a moving member including an abnormality detecting device
JP2007146496A (en) * 2005-11-28 2007-06-14 Asmo Co Ltd Opening and closing member controller
JP2008231878A (en) * 2007-03-23 2008-10-02 Asmo Co Ltd Opening/closing member control device
JP2016008423A (en) * 2014-06-24 2016-01-18 オムロンオートモーティブエレクトロニクス株式会社 Opening/closing body controller
WO2018159816A1 (en) * 2017-03-02 2018-09-07 株式会社デンソー Opening-closing body drive device
JP2018145633A (en) * 2017-03-02 2018-09-20 株式会社デンソー Driving unit of opening and closing body
CN113153065A (en) * 2021-04-12 2021-07-23 东风柳州汽车有限公司 Truck window motor control method, device and system
CN113503107A (en) * 2021-07-21 2021-10-15 东风柳州汽车有限公司 Control method and device for vehicle window motor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63132081U (en) * 1987-02-20 1988-08-30
JPH05202671A (en) * 1992-01-28 1993-08-10 Toyota Auto Body Co Ltd Opening/closing control device for automatic door
JPH06137030A (en) * 1992-10-21 1994-05-17 Koito Mfg Co Ltd Power window device having safety device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63132081U (en) * 1987-02-20 1988-08-30
JPH05202671A (en) * 1992-01-28 1993-08-10 Toyota Auto Body Co Ltd Opening/closing control device for automatic door
JPH06137030A (en) * 1992-10-21 1994-05-17 Koito Mfg Co Ltd Power window device having safety device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07180430A (en) * 1993-11-09 1995-07-18 Omron Corp Electric driver
US7127848B2 (en) 2001-07-25 2006-10-31 Asmo Co., Ltd. Controller for a moving member including an abnormality detecting device
US7252328B2 (en) 2001-07-25 2007-08-07 Asmo Co., Ltd. Controller for a moving member and method for setting a reference position of the moving member
WO2003091524A1 (en) * 2002-04-25 2003-11-06 Aisin Seiki Kabushiki Kaisha Operating mechanism of open/close body
US7637057B2 (en) 2002-04-25 2009-12-29 Aisin Seiki Kabushiki Kaisha Operating mechanism for an open/close object
JP4569177B2 (en) * 2004-06-03 2010-10-27 日産自動車株式会社 Power window control device
JP2005344384A (en) * 2004-06-03 2005-12-15 Nissan Motor Co Ltd Power window control device
JP2007146496A (en) * 2005-11-28 2007-06-14 Asmo Co Ltd Opening and closing member controller
JP2008231878A (en) * 2007-03-23 2008-10-02 Asmo Co Ltd Opening/closing member control device
JP2016008423A (en) * 2014-06-24 2016-01-18 オムロンオートモーティブエレクトロニクス株式会社 Opening/closing body controller
CN105317311A (en) * 2014-06-24 2016-02-10 欧姆龙汽车电子株式会社 Open-close body control apparatus
WO2018159816A1 (en) * 2017-03-02 2018-09-07 株式会社デンソー Opening-closing body drive device
JP2018145633A (en) * 2017-03-02 2018-09-20 株式会社デンソー Driving unit of opening and closing body
CN113153065A (en) * 2021-04-12 2021-07-23 东风柳州汽车有限公司 Truck window motor control method, device and system
CN113503107A (en) * 2021-07-21 2021-10-15 东风柳州汽车有限公司 Control method and device for vehicle window motor

Similar Documents

Publication Publication Date Title
US7250736B2 (en) Opening and closing member control system
US7952312B2 (en) Closure panel control apparatus
JP2005351042A (en) Opening and closing body control device
JPH0762947A (en) Power window control device
US20040065498A1 (en) Trapping detection device of opening/closing member
JP2007070949A (en) Control device for opening/closing member and pinching detecting method
JP2005061210A (en) Process for initializing roller shutter
JP2002250176A (en) Power window device detecting pinching
JP2942127B2 (en) Power window drive control device
JP2845427B2 (en) Window opener
JP4063094B2 (en) Opening and closing body pinching detection device
JP2008150828A (en) Control unit of opening and closing body for vehicle
JPH10262385A (en) Window switching controller
JP3237519B2 (en) Window opener
JP2736009B2 (en) Opening / closing body drive control device
JP2823554B2 (en) Window opener
JP3211927B2 (en) Power window jam detector
JPH09219984A (en) Motor drive controller
JP2004116051A (en) Power window controller
JPH07310473A (en) Power window drive control device
JP2823553B2 (en) Window opener
JP2003529697A (en) How to find the remaining operating time until reaching the end position
JP3237521B2 (en) Window opener
JPH09224388A (en) Motor driving and controlling device
JPH07269224A (en) Driving controller for opening-closing body