JPH08199907A - Detector of opening and closing position of window glass of power window - Google Patents

Detector of opening and closing position of window glass of power window

Info

Publication number
JPH08199907A
JPH08199907A JP7026161A JP2616195A JPH08199907A JP H08199907 A JPH08199907 A JP H08199907A JP 7026161 A JP7026161 A JP 7026161A JP 2616195 A JP2616195 A JP 2616195A JP H08199907 A JPH08199907 A JP H08199907A
Authority
JP
Japan
Prior art keywords
window glass
pulse signal
output
motor
count value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP7026161A
Other languages
Japanese (ja)
Other versions
JP3282124B2 (en
Inventor
Yoichi Senoo
陽一 妹尾
Taketaka Fujiwara
雄高 藤原
Takeshi KOMIYAMA
武 小見山
Tadashi Isozumi
正 五十棲
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.)
Mitsubishi Motors Corp
Yazaki Corp
Original Assignee
Mitsubishi Motors Corp
Yazaki Corp
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 Mitsubishi Motors Corp, Yazaki Corp filed Critical Mitsubishi Motors Corp
Priority to JP02616195A priority Critical patent/JP3282124B2/en
Publication of JPH08199907A publication Critical patent/JPH08199907A/en
Application granted granted Critical
Publication of JP3282124B2 publication Critical patent/JP3282124B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To prevent a large displacement of opening and closing position of a window glass by constituting the title device of a motor for driving the opening and closing of the window glass, a microcomputer controlling an on-off switch and the motor so as to be rotated in the direction of the opening and closing of the window glass, and a pulse generator outputting a motor pulse signal corresponding to the number of revolution of the motor. CONSTITUTION: A pulse signal is output from a sensor for a pulse generator every one time per round while being synchronized with the revolution of a motor 11. The pulse number of the pulse signal is up-down counted separately in first and second positional counter areas in response to the revolving torque of the motor 11, and the place of the opening and closing of the window glass 51 is determined on the basis of each count value. Accordingly, a large displacement of determined opening and closing position from an actual position can be prevented.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、自動車のパワーウィン
ドにおける窓ガラスの開閉位置を検出する装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for detecting the opening / closing position of a window glass in a power window of an automobile.

【0002】[0002]

【従来の技術】一般に自動車には、乗用車に代表される
ように、ドアウィンド等の窓ガラスの開閉をスイッチ操
作に応じたモータの駆動により自動的に行うパワーウィ
ンドが広く採用されており、このパワーウィンドには、
ドアフレームと窓ガラスの間に物品や身体の一部等の異
物が挟まったか否かの検出を、前記異物を挟む可能性が
ある所定の開閉位置領域内に限って行うように、窓ガラ
スの開閉位置を検出する装置が付設されることが多い。
2. Description of the Related Art Generally, a power window is widely used in automobiles, as represented by a passenger vehicle, in which a window glass such as a door window is automatically opened and closed by driving a motor according to a switch operation. In the power window,
In order to detect whether or not a foreign object such as an article or a part of the body is caught between the door frame and the window glass, the window glass is set so as to be detected only within a predetermined opening / closing position area where the foreign object may be caught. A device for detecting the open / closed position is often attached.

【0003】従来の開閉位置検出装置の1つとしては、
特開平5−321530号公報のパワーウィンドの安全
装置を挙げることができる。前記パワーウィンドの安全
装置では、モータの回転に伴い90°位相が異なるパル
ス信号を出力する2組のホール素子を用いてモータの回
転方向を検出すると共に、該ホール素子からのパルス信
号をモータの回転方向に合わせてアップダウンカウント
して窓ガラスの開閉位置を検出している。
As one of the conventional open / close position detecting devices,
The power window safety device disclosed in JP-A-5-321530 can be mentioned. In the power window safety device, the rotation direction of the motor is detected by using two sets of hall elements that output pulse signals whose phases differ by 90 ° as the motor rotates, and the pulse signals from the hall elements are detected by the motor. The open / close position of the window glass is detected by counting up / down according to the rotation direction.

【0004】また、挟み込み検出装置の他の従来例とし
ては、特開昭63−165682号公報の窓ガラス開閉
装置を挙げることができる。この窓ガラス開閉装置で
は、窓ガラス開閉駆動用のモータのリップル電流を波形
整形して、モータの回転数に応じたモータパルス信号を
生成し、このモータパルス信号のパルス数を、開閉どち
ら側のスイッチが操作されているかに応じてアップダウ
ンカウントし、窓ガラスの開閉位置を求めている。
As another conventional example of the trapping detection device, there is a window glass opening / closing device disclosed in Japanese Patent Laid-Open No. 165682/1988. In this window glass opening / closing device, the ripple current of the motor for driving the window glass opening / closing is shaped to generate a motor pulse signal according to the number of rotations of the motor. It counts up and down depending on whether the switch is operated or not, and finds the opening / closing position of the window glass.

【0005】そして、前記窓ガラス開閉装置では、その
第2実施例において、モータパルス信号の周期Tpから
求めた該モータパルス信号の周波数fが、通常のモータ
回転数では発生しないような高い設定周波数f0 を上回
る(f>f0 )場合には、例えモータパルス信号のパル
ス数から求めた窓ガラスの位置が、異物を挟む可能性が
ある開閉位置領域内であったとしても、モータパルス信
号中にノイズが含まれているものとして検出動作をキャ
ンセルし行わないようにしている。
In the window glass opening / closing device, in the second embodiment, the frequency f of the motor pulse signal obtained from the cycle Tp of the motor pulse signal is a high set frequency which does not occur at a normal motor rotation speed. If it exceeds f 0 (f> f 0 ), even if the position of the window glass obtained from the number of pulses of the motor pulse signal is within the opening / closing position area where foreign matter may be caught, the motor pulse signal The detection operation is canceled because noise is included in it.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、前記パ
ワーウィンドの安全装置では、ホール素子からのパルス
信号にノイズが含まれたり、ホール素子自体の故障等に
よるパルス信号の出力漏れや、出力されたパルス信号の
カウントミス等が発生すると、該パルス信号のアップダ
ウンカウントに狂いが生じ、該カウント数から検出され
る窓ガラスの開閉位置が実際の位置から大きくずれてし
まう可能性があるという不具合があった。また、前記窓
ガラス開閉装置では、モータパルス信号の周波数fを基
に、該モータパルス信号中のノイズの有無を検出するこ
とはできるものの、その影響で窓ガラスの開閉位置検出
用のパルスカウントに狂いが生じたか否かを検出するこ
とはできない。従って、前記パワーウィンドの安全装置
と同様に、モータパルス信号のアップダウンカウントに
狂いが生じ、該カウント数から検出される窓ガラスの開
閉位置が実際の位置から大きくずれてしまう可能性があ
るという不具合があった。
However, in the above-mentioned power window safety device, the pulse signal from the hall element contains noise, the pulse signal is leaked due to a failure of the hall element itself, or the pulse is outputted. If a signal count error or the like occurs, the up / down count of the pulse signal may be misaligned, and the opening / closing position of the window glass detected from the count number may be significantly deviated from the actual position. It was Further, although the window glass opening / closing device can detect the presence or absence of noise in the motor pulse signal based on the frequency f of the motor pulse signal, the effect of this is that a pulse count for detecting the opening / closing position of the window glass is used. It is not possible to detect whether or not an error has occurred. Therefore, similar to the power window safety device, the up / down count of the motor pulse signal may be misaligned, and the open / closed position of the window glass detected from the count may be significantly deviated from the actual position. There was a problem.

【0007】本発明は前記事情に鑑みてなされたもの
で、本発明の目的は、モータの回転に応じたパルス信号
を基にパワーウィンドの窓ガラスの開閉位置を検出する
に当り、パルス信号中のノイズや、パルス信号の出力或
は検出漏れ等によりアップダウンカウントに狂いが生じ
ても、パルス信号のカウント数を基にして検出する窓ガ
ラスの開閉位置が実際の位置から大きくずれるのを防止
することができるパワーウィンドの窓ガラス開閉位置検
出装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to detect the open / close position of the window glass of the power window based on the pulse signal corresponding to the rotation of the motor. Even if the up / down count is misaligned due to noise from the device, pulse signal output, or omission of detection, the open / close position of the window glass that is detected based on the pulse signal count will not be significantly displaced from the actual position. It is an object of the present invention to provide a window opening / closing position detection device for a power window that can be used.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
本発明は、図1に基本構成図で示すように、モータ11
により窓ガラス51を開閉させるパワーウィンドの窓ガ
ラス開閉位置検出装置であって、前記モータ11の回転
に同期したパルス信号P1 〜Pn を出力する複数組のパ
ルス信号出力手段311 〜31n と、前記各パルス信号
1 〜Pn の出力パルス数を前記モータ11の回転方向
に応じてそれぞれアップダウンカウントする、前記各パ
ルス信号出力手段311 〜31n に対応した組数の位置
カウンタ手段15A1 〜15An と、前記各位置カウン
タ手段15A1 〜15An のカウント値C1 〜Cn を基
に前記窓ガラス51の開閉位置を判定する開閉位置判定
手段15Bとを備えることを特徴とする。
In order to achieve the above object, the present invention is directed to a motor 11 as shown in FIG.
A window glass opening / closing position detection device for a power window that opens and closes the window glass 51 by means of a plurality of sets of pulse signal output means 31 1 to 31 n for outputting pulse signals P 1 to P n synchronized with the rotation of the motor 11. And the number of sets of position counters corresponding to the pulse signal output means 31 1 to 31 n for counting up and down the number of output pulses of the pulse signals P 1 to P n according to the rotation direction of the motor 11. Means 15A 1 to 15A n and opening / closing position determining means 15B for determining the opening / closing position of the window glass 51 based on the count values C 1 to C n of the position counter means 15A 1 to 15A n are provided. And

【0009】また、本発明は、前記複数組のパルス信号
出力手段311 〜31n が、前記パルス信号P1 〜Pn
を互いに所定角度ずつ位相をずらして出力するように構
成されており、これら複数組のパルス信号出力手段31
1 〜31n からの前記パルス信号P1 〜Pn に基づいて
前記モータ11の回転方向を検出する回転方向検出手段
15Cをさらに備え、前記各位置カウンタ手段15A1
〜15An は、前記回転方向検出手段15Cが検出する
前記モータ11の回転方向に応じて前記各パルス信号P
1 〜Pn の出力パルス数をアップダウンカウントするも
のとした。さらに、本発明は、前記各位置カウンタ手段
15A1 〜15An のカウント値C1 〜Cn どうしを比
較する比較手段15Dと、該比較手段15Dの比較結果
に応じ、前記各位置カウンタ手段15A1 〜15An
うち前記カウント値C1 〜Cn が最小の位置カウンタ手
段15A1 〜15An のカウント値C1 〜Cn と合致す
るように、他の位置カウンタ手段15A1 〜15An
カウント値C1 〜Cn を補正するカウント値補正手段1
5Eをさらに備えるものとした。
Further, according to the present invention, the plurality of sets of pulse signal output means 31 1 to 31 n are configured to output the pulse signals P 1 to P n.
Are output with their phases shifted from each other by a predetermined angle, and these plural sets of pulse signal output means 31 are output.
Further comprising a rotation direction detecting unit 15C for detecting the rotational direction of the motor 11 on the basis of the pulse signal P 1 to P n of from 1 to 31 n, wherein each position counter means 15A 1
15A n are pulse signals P depending on the rotation direction of the motor 11 detected by the rotation direction detection means 15C.
The number of output pulses of 1 to Pn is counted up and down. Furthermore, the present invention includes a comparator means 15D for comparing to what the count value C 1 -C n of said each position counter means 15A 1 to 15A n, according to the comparison result of said comparing means 15D, each position counter unit 15A 1 as the count value C 1 -C n of to 15A n matches the count value C 1 -C n minimum position counter means 15A 1 to 15A n, the count of the other position counter means 15A 1 to 15A n Count value correction means 1 for correcting the values C 1 to C n
5E was further provided.

【0010】また、本発明は、前記複数組のパルス信号
出力手段311 〜31n のうち一部のパルス信号出力手
段311 〜31n からの前記パルス信号P1 〜Pn の無
出力状態を検出するパルス無状態検出手段15Fと、該
パルス無状態検出手段15Fの検出結果に応じて前記各
位置カウンタ手段15A1 〜15An のカウント値C1
〜Cn を補正する第2カウント値補正手段15Gとをさ
らに備えるものとした。さらに、本発明は、前記各位置
カウンタ手段15A1 〜15An のカウント値C1 〜C
n が、前記窓ガラス51による異物の挟み込みの有無を
検出する所定の検出領域Soの範囲内に相当する値であ
るか否かを判別する検出領域判別手段15Hと、該検出
領域判別手段15Hの判別結果に応じ、前記窓ガラス5
1による異物の挟み込みの有無を検出する挟み込み検出
手段15Jとをさらに備えるものとした。
Further, the present invention is non-output state of the pulse signal P 1 to P n from some of the pulse signal output means 31 1 to 31 n of the plurality of sets of pulse signal output means 31 1 to 31 n Pulse non-state detecting means 15F for detecting the state of the pulse, and the count value C 1 of each position counter means 15A 1 to 15A n according to the detection result of the pulse non-state detecting means 15F.
Further, a second count value correcting means 15G for correcting C n to C n is further provided. Further, according to the present invention, the count values C 1 to C of the respective position counter means 15A 1 to 15A n.
The detection area discriminating means 15H for discriminating whether or not n is a value corresponding to the range of a predetermined detection area So for detecting the presence or absence of a foreign substance caught by the window glass 51, and the detection area discriminating means 15H. According to the determination result, the window glass 5
Further, a pinch detection unit 15J for detecting the presence or absence of the pinch of the foreign matter by 1 is further provided.

【0011】[0011]

【作用】本発明によれば、複数組のパルス信号出力手段
311 〜31n がモータ11の回転に同期して出力する
パルス信号P1 〜Pn のパルス数を、各パルス信号出力
手段311 〜31n に対応した組数の位置カウンタ手段
15A1 〜15An がモータ11の回転方向に応じてそ
れぞれアップダウンカウントし、そのカウント値C1
n を基に開閉位置判定手段15Bが窓ガラス51の開
閉位置を判定する。このため、一部のパルス信号出力手
段311 〜31n からのパルス信号P1 〜Pn の出力漏
れや、一部の位置カウンタ手段15A1 〜15An によ
るパルス信号P1 〜Pn のパルス数のカウント漏れ等
で、位置カウンタ手段15A1 〜15An のカウント値
1 〜Cn に一部狂いが生じても、位置カウンタ手段1
5A1〜15An の他の正常なカウント値C1 〜Cn
より、開閉位置判定手段15Bが判定する窓ガラス51
の開閉位置が、実際の開閉位置から大きくずれることが
なくなる。
According to the present invention, the number of pulses of the pulse signals P 1 to P n output by the plural sets of pulse signal output means 31 1 to 31 n in synchronization with the rotation of the motor 11 is determined by the pulse signal output means 31. The position counter means 15A 1 to 15A n of the number of sets corresponding to 1 to 31 n count up and down according to the rotation direction of the motor 11, and the count value C 1 to.
The opening / closing position determination means 15B determines the opening / closing position of the window glass 51 based on C n . Therefore, part of the pulse signal output means 31 1 to 31 output leakage and the pulse signal P 1 to P n from n, the pulse of the pulse signals P 1 to P n according to some of the position counter means 15A 1 to 15A n Even if the count values C 1 to C n of the position counter units 15A 1 to 15A n are partially deviated due to a missing count or the like, the position counter unit 1 does not operate.
5A 1 to 15A by other normal count value C 1 -C n of n, closing position determining means 15B determines the window glass 51
The open / close position of does not significantly deviate from the actual open / close position.

【0012】[0012]

【実施例】以下、本発明によるパワーウィンドの窓ガラ
ス開閉位置検出装置の実施例を図面に基づいて説明す
る。図2は本発明の一実施例に係る窓ガラス開閉位置検
出装置を備えたパワーウィンドの概略構成を一部ブロッ
クで示す説明図で、図2中1はパワーウィンド機構、3
は異物の挟み込みを検出する挟み込み検出装置をそれぞ
れ示す。前記パワーウィンド機構1は、ドア5の窓ガラ
ス51を開閉するもので、窓ガラス51開閉駆動用のモ
ータ11と、前記窓ガラス51を開閉させる際に操作さ
れる開閉スイッチ13と、該開閉スイッチ13の操作に
応じてモータ11が窓ガラス51の開閉方向に回転する
ように制御するマイクロコンピュータ(以下、マイコン
と略記する)15等で構成されている。前記挟み込み検
出装置3はモータ11の回転数に応じたモータパルス信
号を出力するパルス発生器31と前記マイコン15等で
構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a window glass opening / closing position detecting device for a power window according to the present invention will be described below with reference to the drawings. FIG. 2 is an explanatory diagram showing, in a partial block diagram, a schematic configuration of a power window equipped with a window glass opening / closing position detecting device according to an embodiment of the present invention. In FIG.
Are trapping detection devices for detecting the trapping of foreign matter. The power window mechanism 1 opens and closes the window glass 51 of the door 5, and has a motor 11 for opening and closing the window glass 51, an opening and closing switch 13 operated when opening and closing the window glass 51, and the opening and closing switch. It is configured by a microcomputer (hereinafter abbreviated as a microcomputer) 15 for controlling the motor 11 to rotate in the opening / closing direction of the window glass 51 according to the operation of 13. The entrapment detection device 3 includes a pulse generator 31 that outputs a motor pulse signal according to the rotation speed of the motor 11, the microcomputer 15, and the like.

【0013】前記開閉スイッチ13は、例えば前記ドア
5の内側のひじ掛け部(図示せず)上面に配設されてお
り、前後に傾倒可能な従来公知のシーソー式の操作ボタ
ン(図示せず)を有する自己復帰型メカニカルスイッチ
からなる。前記開閉スイッチ13は、前記操作ボタンを
前方に倒すように操作することで、窓ガラス51を全閉
位置側に上昇させるための上昇要求信号13aを出力
し、前記操作ボタンを後方に倒すように操作すること
で、窓ガラス51を全開位置側に下降させるための下降
要求信号13bを出力するように構成されている。
The opening / closing switch 13 is provided, for example, on the upper surface of an armrest (not shown) inside the door 5, and has a conventionally known seesaw type operation button (not shown) that can be tilted forward and backward. It consists of a self-resetting mechanical switch. The open / close switch 13 outputs a lift request signal 13a for lifting the window glass 51 to the fully closed position side by operating the operation button so that the operation button is tilted forward, and the operation button is tilted backward. It is configured to output a lowering request signal 13b for lowering the window glass 51 to the fully open position side by operating.

【0014】前記パルス発生器31は、前記モータ11
の外側に配設されており、該パルス発生器31は、図3
に示すように、第1及び第2の2つのセンサ31a,3
1b(パルス信号出力手段に相当)を有している。前記
第1及び第2センサ31a,31bはそれぞれ、所定方
向への磁界がかかると起電力を生じるホールIC31
c,31dと、各ホールIC31c,31dの起電力を
デジタル変換するA/Dコンバータ31e,31fとを
有しており、前記ホールIC31c,31dは、前記モ
ータ11の出力軸11aの径方向において該出力軸11
aからの距離が等しく、且つ、該出力軸11aの周方向
に90°位置をずらした箇所にそれぞれ配設されてい
る。
The pulse generator 31 includes the motor 11
The pulse generator 31 is arranged outside of FIG.
, The first and second two sensors 31a, 3
1b (corresponding to pulse signal output means). The first and second sensors 31a and 31b each have a Hall IC 31 that generates an electromotive force when a magnetic field is applied in a predetermined direction.
c, 31d and A / D converters 31e, 31f for converting the electromotive force of the Hall ICs 31c, 31d into digital form. The Hall ICs 31c, 31d are arranged in the radial direction of the output shaft 11a of the motor 11. Output shaft 11
The distance from a is the same, and they are respectively arranged at positions shifted by 90 ° in the circumferential direction of the output shaft 11a.

【0015】前記パルス発生器31は、前記出力軸11
aに固着されたマグネット17の作る磁界がモータ11
の回転により変化するのに伴い、各ホールIC31c,
31dに起電力がそれぞれ生じ、この起電力により、図
4に示すように、第1及び第2センサ31a,31bが
デューティー比50%の第1及び第2パルス信号Pa,
Pbを、モータ11が1周回転する毎にそれぞれ1回ず
つ出力するように構成されている。
The pulse generator 31 includes the output shaft 11
The magnetic field generated by the magnet 17 fixed to the motor a
Each Hall IC 31c,
Electromotive force is generated in each of 31d, and the electromotive force causes the first and second sensors 31a and 31b to generate the first and second pulse signals Pa and 50% with a duty ratio of 50%, as shown in FIG.
Pb is configured to be output once each time the motor 11 rotates once.

【0016】尚、図4中の上段は第1センサ31aから
の第1パルス信号Pa、下段は第2センサ31bからの
第2パルス信号Pbを示し、図4中矢印イは、前記窓ガ
ラス51が全閉位置側に上昇する方向にモータ11が回
転した時の、前記第1及び第2パルス信号Pa,Pbの
出力方向、矢印ロは、窓ガラス51が全開位置側に下降
する方向にモータ11が回転した時の、前記第1及び第
2パルス信号Pa,Pbの出力方向をそれぞれ示してい
る。この図4からも明らかなように、窓ガラス51の上
昇時には、第1センサ31aからの第1パルス信号Pa
の位相が第2センサ31bからの第2パルス信号Pbの
位相よりも90°先行し、窓ガラス51の下降時には、
第2センサ31bからの第2パルス信号Pbの位相が第
1センサ31aからの第1パルス信号Paの位相よりも
90°先行する。
The upper part of FIG. 4 shows the first pulse signal Pa from the first sensor 31a and the lower part shows the second pulse signal Pb from the second sensor 31b. The arrow a in FIG. 4 indicates the window glass 51. Is the output direction of the first and second pulse signals Pa and Pb when the motor 11 is rotated in the direction in which the window glass 51 rises toward the fully closed position, and arrow B indicates the motor in the direction in which the window glass 51 descends toward the fully opened position. 11 shows the output directions of the first and second pulse signals Pa and Pb, respectively, when 11 rotates. As is clear from FIG. 4, when the window glass 51 is raised, the first pulse signal Pa from the first sensor 31a is generated.
Of the second pulse signal Pb from the second sensor 31b leads by 90 °, and when the window glass 51 descends,
The phase of the second pulse signal Pb from the second sensor 31b leads the phase of the first pulse signal Pa from the first sensor 31a by 90 °.

【0017】次に、前記マイコン15のハードウェア構
成について、図5のブロック図を参照して説明する。前
記マイコン15は、CPU(Central Processing Unit
、中央処理装置)15aと、RAM(Random Access M
emory)15bと、ROM(Read-Only Memory)15c
とで構成されている。
Next, the hardware configuration of the microcomputer 15 will be described with reference to the block diagram of FIG. The microcomputer 15 is a CPU (Central Processing Unit).
, Central processing unit) 15a and RAM (Random Access M)
emory) 15b and ROM (Read-Only Memory) 15c
It consists of and.

【0018】前記CPU15aには、出力インタフェー
ス15d及びドライバ15eを介して前記モータ11が
接続されており、また、入力ポート15fを介して前記
開閉スイッチ13と第1及び第2センサ31a,31b
がそれぞれ接続されている。前記RAM15bは、図6
にメモリエリアマップで示すように、各種データ記憶用
のデータエリア及び各種処理作業に用いるワークエリア
を有し、このうちワークエリアには、演算、第1乃至第
4位置カウンタ、片側センサ故障診断用カウンタ(以
下、片側カウンタと略記する)、第1及び第2検出タイ
ミングバッファ、第1及び第2周期バッファ、第1及び
第2速度バッファ、第1及び第2減速度バッファ、第1
乃至第4経過時間計測タイマの各エリアが設けられてい
る。前記ROM15cには、CPU15aに各種処理動
作を行わせるための制御プログラムが格納されている。
The motor 11 is connected to the CPU 15a via an output interface 15d and a driver 15e, and the open / close switch 13 and the first and second sensors 31a and 31b are connected via an input port 15f.
Are connected respectively. The RAM 15b is shown in FIG.
As shown in the memory area map, it has a data area for storing various data and a work area used for various processing operations. Among these, the work area includes a calculation, a first to fourth position counter, a one-side sensor failure diagnosis counter. (Hereinafter abbreviated as one-sided counter), first and second detection timing buffers, first and second cycle buffers, first and second speed buffers, first and second deceleration buffers, first
Each area of a fourth elapsed time measuring timer is provided. The ROM 15c stores a control program for causing the CPU 15a to perform various processing operations.

【0019】次に、前記ROM15cに格納された制御
プログラムに従いCPU15aが行う処理について、図
7乃至図12のフローチャートを参照して説明する。マ
イコン15が起動してプログラムがスタートすると、図
7に示すように、CPU15aは、開閉スイッチ13か
ら上昇要求信号13a及び下降要求信号13bの両信号
のうちどちらかの出力があるか否かを確認し(ステップ
S1)、両信号とも出力がない場合は(ステップS1で
N)、ドライバ15eへのモータ11上昇及び下降駆動
信号Ma,Mbの出力を停止する(ステップS3)。そ
して、RAM15bの第1位置カウンタエリアのカウン
ト値Caをゼロリセットし(ステップS5)、RAM1
5bの第1経過時間計測タイマエリアにおける、上昇要
求信号13aの出力開始からの経過時間である第1経過
時間Tuの計測を停止してゼロリセットした後(ステッ
プS7)、ステップS17に進む。
Next, the processing performed by the CPU 15a in accordance with the control program stored in the ROM 15c will be described with reference to the flow charts of FIGS. When the microcomputer 15 is activated and the program is started, the CPU 15a confirms whether or not the open / close switch 13 outputs one of the up request signal 13a and the down request signal 13b, as shown in FIG. If both signals are not output (N in step S1) (step S1), the output of the motor 11 up and down drive signals Ma and Mb to the driver 15e is stopped (step S3). Then, the count value Ca of the first position counter area of the RAM 15b is reset to zero (step S5), and the RAM 1
After the first elapsed time Tu, which is the elapsed time from the start of the output of the rise request signal 13a in the first elapsed time measurement timer area 5b, is stopped and reset to zero (step S7), the process proceeds to step S17.

【0020】また、上昇要求信号13a及び下降要求信
号13bの両信号のうちどちらかの出力がある場合は
(ステップS1でY)、出力されている信号が上昇要求
信号13aであるか否かを確認し(ステップS9)、上
昇要求信号13aである場合は(ステップS9でY)、
前記第1経過時間計測タイマエリアにおいて第1経過時
間Tuの計測を開始する(ステップS11)。そして、
窓ガラス51を閉じる上昇方向にモータ11を回転させ
る上昇駆動信号Maをドライバ15eに出力した後(ス
テップS13)、ステップS17に進む。一方、上昇要
求信号13aでない場合は(ステップS9でN)、窓ガ
ラス51を開く下降方向にモータ11を回転させる下降
駆動信号Mbをドライバ15eに出力して(ステップS
15)、ステップS17に進む。
When either one of the rising request signal 13a and the falling request signal 13b is output (Y in step S1), it is determined whether the output signal is the rising request signal 13a. Confirm (step S9), and if the rising request signal 13a (Y in step S9),
The measurement of the first elapsed time Tu is started in the first elapsed time measurement timer area (step S11). And
After outputting the ascending drive signal Ma for rotating the motor 11 in the ascending direction to close the window glass 51 to the driver 15e (step S13), the process proceeds to step S17. On the other hand, if it is not the rising request signal 13a (N in step S9), the lowering drive signal Mb for rotating the motor 11 in the lowering direction for opening the window glass 51 is output to the driver 15e (step S9).
15) and proceeds to step S17.

【0021】ステップS17では、第1センサ31aか
らの第1パルス信号Paの立ち上がり又は立ち下がりの
エッジを検出したか否かを確認し、検出した場合には
(ステップS17でY)、後述する第1センサパルス検
出割込処理を行った後(ステップS19)、ステップS
21に進み、検出しなかった場合は(ステップS17で
N)、ステップS19をスキップしてステップS21に
進む。
In step S17, it is confirmed whether or not the rising or falling edge of the first pulse signal Pa from the first sensor 31a is detected, and if it is detected (Y in step S17), a later-described first After performing the one-sensor pulse detection interrupt process (step S19), step S
21. If not detected (N in step S17), step S19 is skipped and the process proceeds to step S21.

【0022】前記ステップS19の第1センサパルス検
出割込処理処理では、図11に示すように、まず、ステ
ップS19aで、第1パルス信号Paの立ち上がり又は
立ち下がりのエッジを検出した時点Tan を、RAM1
5bの第1検出タイミングバッファエリアに格納し、続
くステップS19bで、RAM15bの第2経過時間計
測タイマエリアにおける、前記時点Tan から次の第1
パルス信号Paの立ち上がり又は立ち下がりのエッジを
検出する時点Tan+1 までの経過時間である第2経過時
間Taの計測を停止してゼロリセットする。さらに、前
記第2経過時間計測タイマエリアにおいて第2経過時間
Taの計測を開始し(ステップS19c)、続いて、前
記時点Tan での第1及び第2パルス信号Pa,Pbの
出力レベルが等しいか否かを確認する(ステップS19
d)。
[0022] In the first sensor pulse detection interrupt processing process in the step S19, as shown in FIG. 11, first, at step S19a, the time Ta n which detects a rising or falling edge of the first pulse signal Pa , RAM1
Stored in the first detection timing buffer area 5b, the following step S19b, the in the second elapsed time measuring timer area RAM 15b, from the time Ta n the following 1
The measurement of the second elapsed time Ta, which is the elapsed time until the time point Ta n + 1 at which the rising or falling edge of the pulse signal Pa is detected, is stopped and reset to zero. Further, in the second elapsed time measuring timer area to start measuring the second elapsed time Ta (step S19c), followed by first and second pulse signal Pa at the time Ta n, the output level of Pb is equal to It is confirmed whether or not (step S19).
d).

【0023】第1及び第2パルス信号Pa,Pbの出力
レベルが等しい場合は(ステップS19dでY)、RA
M15bの第1位置カウンタエリアのカウント値Caを
「1」インクリメントした後(ステップS19e)、ス
テップS19gに進み、出力レベルが等しくない場合は
(ステップS19dでN)、前記カウント値Caを
「1」デクリメントした後(ステップS19f)、ステ
ップS19gに進む。ステップS19gでは、RAM1
5bの演算エリアにおいて、前記第1位置カウンタエリ
アのカウント値Caから、後述するRAM15bの第2
位置カウンタエリアのカウント値Cbを差し引いた差値
Cを求め、次に、この差値Cの絶対値が基準差値NDIFF
以上であるか否かを確認する(ステップS19h)。
When the output levels of the first and second pulse signals Pa and Pb are equal (Y in step S19d), RA
After incrementing the count value Ca of the first position counter area of M15b by "1" (step S19e), the process proceeds to step S19g, and when the output levels are not equal (N in step S19d), the count value Ca is "1". After decrementing (step S19f), the process proceeds to step S19g. In step S19g, RAM1
In the calculation area 5b, from the count value Ca of the first position counter area to the second value of the RAM 15b described later.
The difference value C is obtained by subtracting the count value Cb of the position counter area, and then the absolute value of this difference value C is the reference difference value N DIFF.
Whether or not the above is confirmed (step S19h).

【0024】尚、前記第1及び第2位置カウンタエリア
の各カウント値Ca,Cbは、窓ガラス51が閉じる方
向に上昇すれば減少し、反対に、窓ガラス51が開く方
向に下降すれば増加する。そして、前記各カウント値C
a,Cbは、窓ガラス51が全閉位置にあるときに
「0」となり、全開位置にあるときに「N」となる。ま
た、前記第1及び第2パルス信号Pa,Pbは、モータ
11が1周回転する毎に位相を90°ずらして1回ずつ
出力されるので、前記第1及び第2センサ31a,31
bが共に正常に動作している限り、前記差値Cの絶対値
は「0」又は「1」となる。従って、前記基準差値N
DIFFは「2」に設定してもよいが、本実施例では、ノイ
ズにより発生した偽の第1や第2パルス信号Pa,Pb
の立ち上がりをカウントした場合等を想定し、多少のマ
ージンを含めて、基準差値NDIFFを「3」に設定してい
る。
The count values Ca and Cb of the first and second position counter areas decrease when the window glass 51 rises in the closing direction, and conversely increase when the window glass 51 descends in the opening direction. To do. Then, each count value C
a and Cb are “0” when the window glass 51 is in the fully closed position, and are “N” when it is in the fully open position. Further, since the first and second pulse signals Pa and Pb are output once each by shifting the phase by 90 ° each time the motor 11 makes one rotation, the first and second sensors 31a and 31 are output.
As long as both b are operating normally, the absolute value of the difference value C is "0" or "1". Therefore, the reference difference value N
Although DIFF may be set to "2", in the present embodiment, false first and second pulse signals Pa and Pb generated by noise are generated.
The reference difference value N DIFF is set to “3” including a slight margin in consideration of the case of counting the rising edges of.

【0025】そして、前記差値Cが基準差値NDIFF以上
でない場合は(ステップS19hでN)、ステップS1
9nに進み、基準差値NDIFF以上である場合は(ステッ
プS19hでY)、前記カウント値Caがカウント値C
bよりも大きいか否かを確認する(ステップS19
j)。カウント値Caがカウント値Cbよりも大きい場
合は(ステップS19jでY)、カウント値Caをカウ
ント値Cbと同じ値に補正した後(ステップS19
k)、ステップS19nに進み、カウント値Caがカウ
ント値Cbよりも大きくない場合は(ステップS19j
でN)、カウント値Cbをカウント値Caと同じ値に補
正した後(ステップS19m)、ステップS19nに進
む。
If the difference value C is not equal to or larger than the reference difference value N DIFF (N in step S19h), step S1
9n, when the difference is equal to or greater than the reference difference value N DIFF (Y in step S19h), the count value Ca is equal to the count value C.
It is confirmed whether it is larger than b (step S19).
j). When the count value Ca is larger than the count value Cb (Y in step S19j), the count value Ca is corrected to the same value as the count value Cb (step S19).
k), the process proceeds to step S19n, and when the count value Ca is not larger than the count value Cb (step S19j
N), the count value Cb is corrected to the same value as the count value Ca (step S19m), and then the process proceeds to step S19n.

【0026】ステップS19nでは、上昇駆動信号Ma
又は下降駆動信号Mbを出力しているか否かを確認し、
出力していない場合は(ステップS19nでN)、図7
のフローチャートのステップS21に進み、出力してい
れば(ステップS19nでY)、第1及び第2センサ3
1a,31bのうちの一方が故障しているか否かを確認
するための、RAM15bの片側カウンタエリアのカウ
ント値Ccを「1」インクリメントし(ステップS19
p)、カウント値Ccの絶対値が異常判別基準値N
ABNORM以上であるか否かを確認する(ステップS19
r)。
In step S19n, the ascending drive signal Ma
Or confirm whether or not the descending drive signal Mb is output,
If not output (N in step S19n), FIG.
If the output has been made (Y in step S19n), then the first and second sensors 3
The count value Cc of the one-side counter area of the RAM 15b for confirming whether or not one of 1a and 31b is out of order is incremented by "1" (step S19).
p), the absolute value of the count value Cc is the abnormality determination reference value N
It is confirmed whether ABNORM or more (step S19).
r).

【0027】尚、前記片側カウンタエリアのカウント値
Ccは、第1パルス信号Paの出力毎に「1」ずつイン
クリメントされ、且つ、後述するように、第2パルス信
号Pbの出力毎に「1」ずつデクリメントされる。そし
て、前記第1及び第2パルス信号Pa,Pbの立ち上が
り及び立ち下がりのエッジは、図4に示すように、前記
第1及び第2センサ31a,31bが共に正常に動作し
ている限り交互に発生し、従って、前記カウント値Cc
の絶対値は「0」又は「1」となる。しかも、前記カウ
ント値Ccは、上昇駆動信号Ma及び下降駆動信号Mb
の出力が停止されるとゼロリセットされる。このため、
前記異常判別基準値NABNORMは「2」に設定してもよい
が、本実施例では、上昇駆動信号Ma及び下降駆動信号
Mbの1回の出力で、前記第1及び第2センサ31a,
31bからの第1及び第2パルス信号Pa,Pbが、ど
ちらか一方だけ連続して出力されていない場合に限っ
て、前記挟み込み検出処理動作が行われるように、前記
異常判別基準値NABNORMを「10」に設定している。
The count value Cc of the one-sided counter area is incremented by "1" for each output of the first pulse signal Pa and, as will be described later, "1" for each output of the second pulse signal Pb. Decremented one by one. As shown in FIG. 4, the rising and falling edges of the first and second pulse signals Pa and Pb are alternated as long as the first and second sensors 31a and 31b are both operating normally. Occurs, and therefore the count value Cc
The absolute value of is "0" or "1". Moreover, the count value Cc is determined by the ascending drive signal Ma and the descending drive signal Mb.
When the output of is stopped, it is reset to zero. For this reason,
The abnormality determination reference value N ABNORM may be set to "2", but in the present embodiment, the first and second sensors 31a, 31a, 31a, 31a,
The abnormality determination reference value N ABNORM is set so that the entrapment detection processing operation is performed only when only one of the first and second pulse signals Pa and Pb from 31b is not continuously output. It is set to "10".

【0028】そして、前記カウント値Ccの絶対値が異
常判別基準値NABNORM以上でない場合は(ステップS1
9rでN)、ステップS21に進み、異常判別基準値N
ABNORM以上である場合は(ステップS19rでY)、第
1及び第2センサ31a,31bのうちどちらか一方が
故障しているものとして、位置カウンタ復旧処理に進む
(ステップS19t)。
If the absolute value of the count value Cc is not greater than the abnormality determination reference value N ABNORM (step S1)
9r, N), the process proceeds to step S21, and the abnormality determination reference value N
If ABNORM or more (Y in step S19r), it is determined that one of the first and second sensors 31a and 31b has failed, and the process proceeds to position counter recovery processing (step S19t).

【0029】この位置カウンタ復旧処理では、フローチ
ャートの図示を省略するが、簡単に説明すると、前記開
閉スイッチ13の所定パターンの操作により、窓ガラス
51を全開或は全閉位置に到達させ、後述するステップ
S25乃至ステップS29、或は、図8のフローチャー
トにおけるステップS37乃至ステップS45と同様の
処理により、全開或は全閉位置に達したことを検出した
場合に、検出した位置が全開位置か全閉位置かに応じ
て、前記第1及び第2位置カウンタエリアのカウント値
Ca,Cbを「N」か「0」に設定する。前記位置カウ
ンタ復旧処理が済んだならば、ステップS21に進む。
In this position counter restoration process, a flow chart is not shown, but it will be briefly described. By operating the opening / closing switch 13 in a predetermined pattern, the window glass 51 reaches the fully open or fully closed position, which will be described later. When it is detected that the fully open or fully closed position is reached by the same processing as steps S25 to S29 or steps S37 to S45 in the flowchart of FIG. 8, the detected position is the fully open position or the fully closed position. Depending on the position, the count values Ca and Cb in the first and second position counter areas are set to "N" or "0". When the position counter restoration process is completed, the process proceeds to step S21.

【0030】図7に示すように、ステップS21では、
第2センサ31bからの第2パルス信号Pbの立ち上が
り又は立ち下がりのエッジを検出したか否かを確認し、
検出した場合には(ステップS21でY)、後述する第
2センサパルス検出割込処理処理を行った後(ステップ
S23)、ステップS25に進み、検出しなかった場合
は(ステップS21でN)、ステップS23をスキップ
してステップS25に進む。
As shown in FIG. 7, in step S21,
It is confirmed whether the rising or falling edge of the second pulse signal Pb from the second sensor 31b is detected,
If detected (Y in step S21), after performing a second sensor pulse detection interrupt processing process described later (step S23), the process proceeds to step S25, and if not detected (N in step S21), Step S23 is skipped and the process proceeds to step S25.

【0031】前記ステップS23の第2センサパルス検
出割込処理処理では、図12に示すように、まず、ステ
ップS23aで、第2パルス信号Pbの立ち上がり又は
立ち下がりのエッジを検出した時点Tbn を、RAM1
5bの第2検出タイミングバッファエリアに格納し、続
くステップS23bで、RAM15bの第3経過時間計
測タイマエリアにおける、前記時点Tbn から次の第2
パルス信号Pbの立ち上がり又は立ち下がりのエッジを
検出する時点Tbn+1 までの経過時間である第3経過時
間Tbの計測を停止してゼロリセットする。さらに、前
記第3経過時間計測タイマエリアにおいて第3経過時間
Tbの計測を開始し(ステップS23c)、続いて、前
記時点Tbn での第1及び第2パルス信号Pa,Pbの
出力レベルが異なっているか否かを確認する(ステップ
S23d)。第1及び第2パルス信号Pa,Pbの出力
レベルが異なっている場合は(ステップS23dで
Y)、前記第2位置カウンタエリアのカウント値Cbを
「1」インクリメントした後(ステップS23e)、ス
テップS23gに進み、出力レベルが異なっていない、
即ち、等しい場合は(ステップS23dでN)、第2位
置カウンタエリアのカウント値Cbを「1」デクリメン
トした後(ステップS23f)、ステップS23gに進
む。
In the second sensor pulse detection interrupt processing process of step S23, as shown in FIG. 12, first, the time point Tb n at which the rising or falling edge of the second pulse signal Pb is detected in step S23a. , RAM1
5b is stored in the second detection timing buffer area, and in the subsequent step S23b, the second second from the time point Tb n in the third elapsed time measuring timer area of the RAM 15b.
The measurement of the third elapsed time Tb, which is the elapsed time until the time point Tb n + 1 at which the rising or falling edge of the pulse signal Pb is detected, is stopped and reset to zero. Further, the measurement of the third elapsed time Tb is started in the third elapsed time measurement timer area (step S23c), and subsequently, the output levels of the first and second pulse signals Pa and Pb at the time Tb n are different. It is confirmed whether or not (step S23d). When the output levels of the first and second pulse signals Pa and Pb are different (Y in step S23d), after incrementing the count value Cb of the second position counter area by "1" (step S23e), step S23g. , The output level is not different,
That is, if they are equal (N in step S23d), the count value Cb of the second position counter area is decremented by "1" (step S23f), and then the process proceeds to step S23g.

【0032】ステップS23gでは、前記ステップS1
9gと同様に、演算エリアにおいて、前記第1位置カウ
ンタエリアのカウント値Caから第2位置カウンタのカ
ウント値Cbを差し引いた差値Cを求め、次に、この差
値Cの絶対値が基準差値NDIFF以上であるか否かを確認
する(ステップS23h)。そして、基準差値NDIFF
上でない場合は(ステップS23hでN)、ステップS
23nに進み、基準差値NDIFF以上である場合は(ステ
ップS23hでY)、前記ステップS19jと同様に、
前記カウント値Caがカウント値Cbよりも大きいか否
かを確認する(ステップS23j)。カウント値Caが
カウント値Cbよりも大きい場合は(ステップS23j
でY)、カウント値Caをカウント値Cbと同じ値に補
正した後(ステップS23k)、ステップS23nに進
み、カウント値Caがカウント値Cbよりも大きくない
場合は(ステップS23jでN)、カウント値Cbをカ
ウント値Caと同じ値に補正した後(ステップS23
m)、ステップS23nに進む。
At step S23g, at step S1
Similar to 9g, in the calculation area, the difference value C is obtained by subtracting the count value Cb of the second position counter from the count value Ca of the first position counter area, and then the absolute value of this difference value C is the reference difference. It is confirmed whether or not the value is equal to or more than N DIFF (step S23h). If it is not equal to or greater than the reference difference value N DIFF (N in step S23h), step S
23n, if it is equal to or greater than the reference difference value N DIFF (Y in step S23h), as in step S19j,
It is confirmed whether or not the count value Ca is larger than the count value Cb (step S23j). When the count value Ca is larger than the count value Cb (step S23j
Y), after correcting the count value Ca to the same value as the count value Cb (step S23k), the process proceeds to step S23n. If the count value Ca is not larger than the count value Cb (N in step S23j), the count value After correcting Cb to the same value as the count value Ca (step S23
m), and proceeds to step S23n.

【0033】ステップS23nでは、前記ステップS1
9nと同様に、上昇駆動信号Ma又は下降駆動信号Mb
を出力しているか否かを確認し、出力していない場合は
(ステップS23nでN)、図7のフローチャートのス
テップS25に進み、出力していれば(ステップS23
nでY)、前記片側カウンタエリアのカウント値Ccを
「1」デクリメントし(ステップS23p)、カウント
値Ccの絶対値が異常判別基準値NABNORM以上であるか
否かを確認する(ステップS23r)。カウント値Cc
の絶対値が異常判別基準値NABNORM以上でない場合は
(ステップS23rでN)、ステップS25に進み、異
常判別基準値NABNORM以上である場合は(ステップS2
3rでN)、第1及び第2センサ31a,31bのうち
どちらか一方が故障しているものとして、前記位置カウ
ンタ復旧処理に進み(ステップS23t)、その後、ス
テップS25に進む。
In step S23n, the above step S1 is executed.
As with 9n, the ascending drive signal Ma or the descending drive signal Mb
Is output. If it is not output (N in step S23n), the process proceeds to step S25 in the flowchart of FIG. 7, and if it is output (step S23n).
n is Y), the count value Cc of the one side counter area is decremented by "1" (step S23p), and it is confirmed whether or not the absolute value of the count value Cc is not less than the abnormality determination reference value N ABNORM (step S23r). . Count value Cc
If the absolute value of is not equal to or greater than the abnormality determination reference value N ABNORM (N in step S23r), the process proceeds to step S25. If it is equal to or greater than the abnormality determination reference value N ABNORM (step S2
3r, N), and one of the first and second sensors 31a and 31b has failed, the position counter restoration process is performed (step S23t), and then the process proceeds to step S25.

【0034】図7に示すように、ステップS25では、
前記下降駆動信号Mbを出力しているか否かを確認し、
出力していない場合は(ステップS25でN)、ステッ
プS37に進み、出力している場合は(ステップS25
でY)、前記第2経過時間計測タイマエリアの第2経過
時間Taが、全開全閉確認時間TLOCK(本実施例では
0.5sec=秒)以上であるか否かを確認する(ステ
ップS27)。前記第2経過時間Taが全開全閉確認時
間TLOCK以上でない場合は(ステップS27でN)、ス
テップS1にリターンし、全開全閉確認時間TLOCK以上
である場合は(ステップS27でY)、前記第3経過時
間計測タイマエリアの第3経過時間Tbが、全開全閉確
認時間TLOCK以上であるか否かを確認する(ステップS
29)。
As shown in FIG. 7, in step S25,
Check whether or not the descending drive signal Mb is output,
If not output (N in step S25), the process proceeds to step S37, and if output (step S25).
Y), it is confirmed whether or not the second elapsed time Ta of the second elapsed time measurement timer area is equal to or longer than the full-open / full-close confirmation time T LOCK (0.5 sec = second in this embodiment) (step S27). ). If the second elapsed time Ta is not equal to or longer than the full-open / full-close confirmation time T LOCK (N in step S27), the process returns to step S1, and if it is equal to or greater than the full-open full-close confirmation time T LOCK (Y in step S27), It is confirmed whether or not the third elapsed time Tb of the third elapsed time measurement timer area is equal to or longer than the fully open / closed confirmation time T LOCK (step S).
29).

【0035】前記第3経過時間Tbが全開全閉確認時間
LOCK以上でない場合は(ステップS29でN)、ステ
ップS1にリターンし、全開全閉確認時間TLOCK以上で
ある場合は(ステップS29でY)、下降駆動信号Mb
の出力を停止し(ステップS31)、片側カウンタエリ
アのカウント値Ccをゼロリセットした後(ステップS
33)、前記開閉スイッチ13から下降要求信号13b
が出力されているか否かを確認する(ステップS3
5)。下降要求信号13bが出力されている場合は(ス
テップS35でY)、出力されなくなるまでステップS
35をリピートし、出力されていない場合は(ステップ
S35でN)、ステップS1にリターンする。
If the third elapsed time Tb is not longer than the full-open full-close confirmation time T LOCK (N in step S29), the process returns to step S1. If it is the full-open full-close confirmation time T LOCK or more (in step S29). Y), descending drive signal Mb
Output is stopped (step S31), and the count value Cc of the one-side counter area is reset to zero (step S31).
33), the lowering request signal 13b from the open / close switch 13
Is output (step S3)
5). If the descending request signal 13b is output (Y in step S35), step S is performed until it is no longer output.
35 is repeated, and if not output (N in step S35), the process returns to step S1.

【0036】ステップS37では、図8に示すように、
前記上昇駆動信号Maを出力しているか否かを確認し、
出力していない場合は(ステップS37でN)、ステッ
プS1にリターンし、出力している場合は(ステップS
37でY)、ステップS39に進む。ステップS39で
は、前記第1位置カウンタエリアのカウント値Caが、
境界値NDET 以上であるか否かを確認する。前記境界値
DET は、図13に示すように、ドア5のウェザースト
リップ53と窓ガラス51との隙間がなくなる境界位置
DL、即ち、全閉位置における窓ガラス51の上端51
aから13mm下方の、ウェザーストリップ53の外側
下端面53aと同一高さ箇所に前記上端51aが位置し
ている時の、前記第1及び第2位置カウンタエリアの正
しいカウント値Ca,Cbに相当する値で、本実施例で
は、前記境界値NDET を「20」に設定している。
At step S37, as shown in FIG.
It is confirmed whether the rising drive signal Ma is output,
If it is not outputting (N at step S37), it returns to step S1, and if it is outputting (step S37).
37), the process proceeds to step S39. In step S39, the count value Ca of the first position counter area is
It is confirmed whether the boundary value is N DET or more. As shown in FIG. 13, the boundary value N DET is the boundary position DL where there is no gap between the weather strip 53 of the door 5 and the window glass 51, that is, the upper end 51 of the window glass 51 at the fully closed position.
Corresponding to the correct count values Ca and Cb of the first and second position counter areas when the upper end 51a is located 13 mm below a at the same height as the outer lower end surface 53a of the weather strip 53. As a value, in this embodiment, the boundary value N DET is set to “20”.

【0037】従って、異物を挟み込む可能性がない前記
境界位置DLよりも上方の全閉領域Scに窓ガラス51
の上端51aが位置している場合は、前記カウント値C
a,Cbが境界値NDET よりも小さくなり、異物を挟み
込む可能性がある前記境界位置DL及びその下方の挟み
込み検出領域So(所定の検出領域に相当)に窓ガラス
51の上端51aが位置している場合は、前記カウント
値Ca,Cbが境界値NDET 以上となる。そして、図8
に示すように、前記カウント値Caが境界値NDET 以上
でない場合は(ステップS39でN)、ステップS43
に進み、カウント値Caが境界値NDET 以上である場合
は(ステップS39でY)、ステップS41に進む。
Therefore, the window glass 51 is provided in the fully closed region Sc above the boundary position DL where there is no possibility of entrapment of foreign matter.
If the upper end 51a of the
Since a and Cb are smaller than the boundary value N DET , the upper end 51a of the window glass 51 is located at the boundary position DL where the foreign matter may be caught and the sandwiching detection area So (corresponding to a predetermined detection area) below the boundary position DL. If so, the count values Ca and Cb become the boundary value N DET or more. And FIG.
If the count value Ca is not equal to or more than the boundary value N DET (N in step S39), as shown in step S43,
If the count value Ca is greater than or equal to the boundary value N DET (Y in step S39), the process proceeds to step S41.

【0038】ステップS41では、前記第2位置カウン
タエリアのカウント値Cbが前記境界値NDET 以上の値
であるか否かを確認し、境界値NDET 以上である場合は
(ステップS41でY)、ステップS55に進み、境界
値NDET 以上でない場合は(ステップS41でN)、ス
テップS43に進む。ステップS43では、前記第2経
過時間計測タイマエリアの第2経過時間Taが、全開全
閉確認時間TLOCK以上であるか否かを確認する。前記第
2経過時間Taが全開全閉確認時間TLOCK以上でない場
合は(ステップS43でN)、ステップS1にリターン
し、全開全閉確認時間TLOCK以上である場合は(ステッ
プS43でY)、前記第3経過時間計測タイマエリアの
第3経過時間Tbが、全開全閉確認時間TLOCK以上であ
るか否かを確認する(ステップS45)。
In step S41, it is confirmed whether or not the count value Cb of the second position counter area is equal to or more than the boundary value N DET . If it is equal to or more than the boundary value N DET (Y in step S41). If it is not equal to or more than the boundary value N DET (N in step S41), the process proceeds to step S43. In step S43, it is confirmed whether or not the second elapsed time Ta of the second elapsed time measuring timer area is equal to or longer than the full-open / full-close confirmation time T LOCK . When the second elapsed time Ta is fully opened not fully closed confirmation time T LOCK more (N in step S43), and returns, when fully opened is fully closed confirmation time T LOCK or to step S1 (Y in step S43), It is confirmed whether or not the third elapsed time Tb in the third elapsed time measurement timer area is equal to or longer than the fully open / closed confirmation time T LOCK (step S45).

【0039】前記第3経過時間Tbが全開全閉確認時間
LOCK以上でない場合は(ステップS45でN)、ステ
ップS1にリターンし、全開全閉確認時間TLOCK以上で
ある場合は(ステップS45でY)、上昇駆動信号Ma
の出力を停止し(ステップS47)、片側カウンタエリ
アのカウント値Ccをゼロリセットした後(ステップS
49)、前記開閉スイッチ13から上昇要求信号13a
が出力されているか否かを確認する(ステップS5
1)。上昇要求信号13aが出力されている場合は(ス
テップS51でY)、出力されなくなるまでステップS
51をリピートし、出力されていない場合は(ステップ
S51でN)、前記第1経過時間計測タイマエリアの第
1経過時間Tuの計測を停止してゼロリセットした後
(ステップS53)、ステップS1にリターンする。
[0039] The case third elapsed time Tb is fully opened not fully closed confirmation time T LOCK more (N in step S45), the process returns to step S1, when fully opened is fully closed confirmation time T LOCK further in (step S45 Y), rising drive signal Ma
Is stopped (step S47), and the count value Cc of the one-side counter area is reset to zero (step S47).
49), the lift request signal 13a from the open / close switch 13.
Is output (step S5)
1). If the rising request signal 13a is output (Y in step S51), step S is performed until it is no longer output.
If 51 is not repeated and is not output (N in step S51), the measurement of the first elapsed time Tu in the first elapsed time measurement timer area is stopped and reset to zero (step S53), and then step S1 is performed. To return.

【0040】また、ステップS41で前記第2位置カウ
ンタエリアのカウント値Cbが前記境界値NDET 以上の
値である場合(Y)に進むステップS55では、前記第
2経過時間計測タイマエリアの第2経過時間Taが、挟
み込み確認時間TE (本実施例では0.1sec=秒)
以上であるか否かを確認する。前記第2経過時間Taが
挟み込み確認時間TE 以上でない場合は(ステップS5
5でN)、ステップS59に進み、挟み込み確認時間T
E 以上である場合は(ステップS55でY)、前記第3
経過時間計測タイマエリアの第3経過時間Tbが、挟み
込み確認時間TE 以上であるか否かを確認する(ステッ
プS57)。前記第3経過時間Tbが挟み込み確認時間
E 以上でない場合は(ステップS57でN)、ステッ
プS59に進み、挟み込み確認時間TE 以上である場合
は(ステップS57でY)、ステップS97に進む。
If the count value Cb of the second position counter area is greater than or equal to the boundary value N DET in step S41 (Y), the process proceeds to step S55 in which the second elapsed time measurement timer area The elapsed time Ta is the entrapment confirmation time T E (0.1 sec = second in this embodiment).
Check if it is above. If the second elapsed time Ta is not longer than the entrapment confirmation time T E (step S5
5, N), the process proceeds to step S59, and the entrapment confirmation time T
If E or more (Y in step S55), the third
It is confirmed whether or not the third elapsed time Tb in the elapsed time measurement timer area is equal to or longer than the entrapment confirmation time T E (step S57). If the third elapsed time Tb is not longer than the entrapment confirmation time T E (N in step S57), the process proceeds to step S59, and if it is greater than or equal to the entrapment confirmation time T E (Y in step S57), the process proceeds to step S97.

【0041】ステップS55又はステップS57で、前
記第2又は第3経過時間計測タイマエリアの第2又は第
3経過時間Ta,Tbが、挟み込み確認時間TE 以上連
続していない場合(N)に進むステップS59では、前
記第1経過時間計測タイマエリアの第1経過時間Tu
が、200ms(ミリ秒)以上であるか否か、即ち、ス
テップS5における上昇要求信号13aの出力開始から
200ms以上経過したか否かを確認する。そして、前
記第1経過時間Tuが200ms以上でなければ(ステ
ップS59でN)、ステップS1にリターンし、200
ms以上であれば(ステップS59でY)、ステップS
61に進む。
In step S55 or step S57, if the second or third elapsed time Ta or Tb in the second or third elapsed time measuring timer area is not continuous for the entrapment confirmation time T E or more, the process proceeds to (N). In step S59, the first elapsed time Tu of the first elapsed time measurement timer area is set.
Is 200 ms (milliseconds) or more, that is, 200 ms or more has elapsed from the start of output of the increase request signal 13a in step S5. If the first elapsed time Tu is not 200 ms or more (N in step S59), the process returns to step S1 and 200
If ms or more (Y in step S59), step S
Proceed to 61.

【0042】ステップS61では、図9に示すように、
前記第1検出タイミングバッファエリアに格納されてい
る第1パルス信号Paの、最近とその2回前の立ち上が
り又は立ち下がりのエッジ検出時点Tan ,Tan-2
時間差、即ち、第1パルス信号Paの周期Wan を、演
算エリアにおいて求め、次に、求めた前記周期Wan
RAM15bの第1周期バッファエリアに格納した後
(ステップS63)、この周期Wan が基準周期WREF
(本実施例では30ms=ミリ秒)以上であるか否かを
確認する(ステップS65)。
At step S61, as shown in FIG.
Said first detection timing the first pulse signal Pa stored in the buffer area, recently and its two before the rising or falling edge detection time Ta n, the time difference Ta n-2, i.e., the first pulse signal Pa cycle Wa n of, determined in the calculation area, then after storing the cycle Wa n determined in the first cycle buffer area of RAM 15b (step S63), this cycle Wa n is the reference period W REF
It is confirmed whether or not (30 ms = millisecond in the present embodiment) or more (step S65).

【0043】前記周期Wan が基準周期WREF 以上でな
ければ(ステップS65でN)、ステップS73に進
み、基準周期WREF 以上であれば(ステップS65で
Y)、前記第2検出タイミングバッファに格納されてい
る第2パルス信号Pbの、最近とその2回前の立ち上が
り又は立ち下がりのエッジ検出時点Tbn ,Tbn-2
時間差、即ち、第2パルス信号Pbの周期Wbn を、演
算エリアにおいて求める(ステップS67)。そして、
求めた前記周期Wbn をRAM15bの第2周期バッフ
ァエリアに格納し(ステップS69)、次に、この周期
Wbn が前記基準周期WREF 以上であるか否かを確認す
る(ステップS71)。前記周期Wbn が基準周期W
REF 以上でなければ(ステップS71でN)、ステップ
S73に進み、基準周期WREF 以上であれば(ステップ
S71でY)、ステップS97に進む。
If the period Wa n is not equal to or longer than the reference period W REF (N in step S65), the process proceeds to step S73. If it is equal to or greater than the reference period W REF (Y in step S65), the second detection timing buffer is used. Calculate the time difference between the most recent and the preceding rising or falling edge detection times Tb n and Tb n-2 of the stored second pulse signal Pb, that is, the period Wb n of the second pulse signal Pb. Obtained in the area (step S67). And
The obtained cycle Wb n is stored in the second cycle buffer area of the RAM 15b (step S69), and then it is confirmed whether this cycle Wb n is the reference cycle W REF or more (step S71). The cycle Wb n is the reference cycle W
If it is not more than REF (N in step S71), the process proceeds to step S73, and if it is not less than the reference period W REF (Y in step S71), the process proceeds to step S97.

【0044】ステップS65又はステップS71で、第
1又は第2パルス信号Pa,Pbの周期Wan ,Wbn
が基準周期WREF 以上でない場合(N)に進むステップ
S73では、第1パルス信号Paの1パルス当りの窓ガ
ラス51の昇降量、即ち、パ ルス分解能Sa(本実施例
では0.65mm)の2倍を、該第1パルス信号Paの
周期Wan で除した窓ガラス51の昇降速度Van を、
演算エリアにおいて求め、次に、求めた前記昇降速度V
n をRAM15bの第1速度バッファエリアに格納す
る(ステップS75)。そして、演算エリアにおいて、
前記第1速度バッファエリアの前回の昇降速度Van-1
を前記昇降速度Van から差し引いた差速(Van −V
n-1 )を、前記第1周期バッファエリアの周期Wan
で除して、窓ガラス51の減速度Aanを求め(ステッ
プS77)、この減速度Aan をRAM15bの第1減
速度バッファエリアに格納した後(ステップS79)、
減速度Aan が通常ではあり得ない急激な減速度の閾値
HI(本実施例では3500mm/sec2 =ミリ秒2
)以上であるか否かを確認する(ステップS81)。
In step S65 or step S71, the
Period Wa of the first or second pulse signal Pa, Pbn, Wbn
Is the reference period WREFIf not, go to (N)
In S73, the window window per pulse of the first pulse signal Pa is
The amount of elevation of the lath 51, that is, the power Loose resolution Sa (this embodiment
0.65 mm), and twice the first pulse signal Pa
Period WanLifting speed Va of the window glass 51 divided bynTo
Calculated in the calculation area, and then the calculated ascending / descending speed V
anIs stored in the first speed buffer area of the RAM 15b.
(Step S75). And in the calculation area,
Previous lifting speed Va of the first speed buffer arean-1
The lifting speed VanThe differential speed (Van-V
an-1) Is the period Wa of the first period buffer arean
Deceleration Aa of the window glass 51n(Step
S77), this deceleration AanThe first reduction of RAM15b
After storing in the speed buffer area (step S79),
Deceleration AanIs a threshold for sudden deceleration that is not normally possible
AHI(In the present embodiment, 3500 mm / sec 2 = millisecond 2
 ) It is confirmed whether or not the above (step S81).

【0045】前記減速度Aan が閾値AHI以上でなけれ
ば(ステップS81でN)、ステップS93に進み、閾
値AHI以上であれば(ステップS81でY)、第2パル
ス信号Pbの1パルス当りの窓ガラス51の昇降量、即
ち、パルス分解能Sb(=Sa、本実施例では0.65
mm)の2倍を、該第2パルス信号Pbの周期Wbn
除した窓ガラス51の昇降速度Vbn を、演算エリアに
おいて求め(ステップS83)、求めた前記昇降速度V
n をRAM15bの第2速度バッファエリアに格納す
る(ステップS85)。そして、演算エリアにおいて、
前記第2速度バッファエリアの前回の昇降速度Vbn-1
を前記昇降速度Vbn から差し引いた差速(Vbn −V
n-1 )を、前記第2周期バッファエリアの周期Wbn
で除して、窓ガラス51の減速度Abnを求め(ステッ
プS87)、この減速度Abn をRAM15bの第2減
速度バッファエリアに格納した後(ステップS89)、
減速度Abn が前記閾値AHI以上であるか否かを確認す
る(ステップS91)。
If the deceleration Aa n is not equal to or greater than the threshold value A HI (N in step S81), the process proceeds to step S93, and if it is equal to or greater than the threshold value A HI (Y in step S81), one pulse of the second pulse signal Pb is obtained. Amount of elevation of the window glass 51 per hit, that is, pulse resolution Sb (= Sa, 0.65 in this embodiment).
mm) is divided by the period Wb n of the second pulse signal Pb to obtain the ascending / descending speed Vb n of the window glass 51 in the calculation area (step S83).
b n is stored in the second speed buffer area of the RAM 15b (step S85). And in the calculation area,
The previous lifting speed Vb n-1 of the second speed buffer area
Is subtracted from the ascending / descending speed Vb n (Vb n −V
b n-1 ) is the period Wb n of the second period buffer area
Then, the deceleration Ab n of the window glass 51 is obtained (step S87), and the deceleration Ab n is stored in the second deceleration buffer area of the RAM 15b (step S89).
It is confirmed whether or not the deceleration Ab n is equal to or more than the threshold value A HI (step S91).

【0046】前記減速度Abn が閾値AHI以上であれば
(ステップS91でY)、ステップS97に進み、閾値
HI以上でなければ(ステップS91でN)、ステップ
S93に進む。ステップS93では、図10に示すよう
に、前記第1速度バッファエリアの過去所定回数X分の
減速度Aan 〜Aan-(X-1) が連続して、緩やかな減速
度の閾値ALO(本実施例では90mm/sec2 =ミリ
2 )以上になったか否かを確認し、所定回数X連続し
て閾値ALO以上となっていない場合は(ステップS93
でN)、ステップS1にリターンし、所定回数X連続し
て閾値ALO以上となっている場合は(ステップS93で
Y)、ステップS95に進む。尚、本実施例では、前記
所定回数Xを6回としている。
If the deceleration Ab n is greater than or equal to the threshold value A HI (Y in step S91), the process proceeds to step S97. If it is not greater than or equal to the threshold value A HI (N in step S91), the process proceeds to step S93. In step S93, as shown in FIG. 10, the first speed of the buffer area for the past predetermined number X min deceleration Aa n ~Aa n- (X-1 ) is continuously, the gradual deceleration threshold A LO If not sure whether it is more (90 mm / sec 2 = ms 2 in this embodiment), greater than or equal to the threshold value a LO continuously for a predetermined number of times X (step S93
N), the process returns to step S1. If the threshold value A LO is not less than the predetermined number of times X continuously (Y in step S93), the process proceeds to step S95. In the present embodiment, the predetermined number of times X is 6 times.

【0047】ステップS95では、前記第2速度バッフ
ァエリアの過去所定回数X分の減速度Abn 〜Ab
n-(X-1) が連続して、前記減速度の閾値ALO以上になっ
たか否かを確認し、所定回数X連続して閾値ALO以上と
なっていない場合は(ステップS95でN)、ステップ
S1にリターンし、所定回数X連続して閾値ALO以上と
なっている場合は(ステップS95でY)、ステップS
97に進む。ステップS97では、下降駆動信号Mbを
ドライバ15eに出力し、続いて、RAM15bの第4
経過時間計測タイマエリアにおける、前記ステップS9
7での下降駆動信号Mbの出力開始からの経過時間であ
る第4経過時間Tsの計測を開始する(ステップS9
9)。次に、RAM15bの第3位置カウンタエリアの
カウント値Cdとして、第1位置カウンタエリアのカウ
ント値Caを設定し(ステップS101)、さらに、R
AM15bの第4位置カウンタエリアのカウント値Cd
として、第2位置カウンタエリアのカウント値Cbを設
定する(ステップS103)。
In step S95, decelerations Ab n to Ab n for the predetermined number of past times X in the second speed buffer area.
n- (X-1) is continuously checks whether equal to or greater than a threshold value A LO of the deceleration, if not greater than or equal to the threshold value A LO consecutively a predetermined number of times X (N in step S95 ), The process returns to step S1, and if the threshold value A LO is not less than the predetermined number of times X consecutively (Y in step S95), step S1.
Proceed to 97. In step S97, the descending drive signal Mb is output to the driver 15e, and then the fourth signal of the RAM 15b is output.
In step S9 in the elapsed time measuring timer area,
The measurement of the fourth elapsed time Ts, which is the elapsed time from the start of the output of the descending drive signal Mb in 7, is started (step S9).
9). Next, the count value Ca of the first position counter area is set as the count value Cd of the third position counter area of the RAM 15b (step S101), and further, R
Count value Cd of the fourth position counter area of AM15b
As, the count value Cb of the second position counter area is set (step S103).

【0048】次に、第1位置カウンタエリアのカウント
値Caから第3位置カウンタエリアのカウント値Cdを
差し引いて、ステップS97で下降駆動信号Mbを出力
した後における前記カウント値Caの増加値Cfを演算
エリアで求める(ステップS105)。そして、前記増
加値Cfが所定の挟み込み解除駆動値Nr(本実施例で
は230)に達したか否かを確認し(ステップS10
7)、達している場合は(ステップS107でY)、ス
テップS109に進み、達していない場合は(ステップ
S107でN)、ステップS113に進む。
Next, the count value Cd of the third position counter area is subtracted from the count value Ca of the first position counter area, and the increase value Cf of the count value Ca after the downward drive signal Mb is output in step S97. It is calculated in the calculation area (step S105). Then, it is confirmed whether or not the increase value Cf has reached a predetermined pinch release driving value Nr (230 in this embodiment) (step S10).
7) If it has reached (Y in step S107), the process proceeds to step S109, and if it has not reached (N in step S107), the process proceeds to step S113.

【0049】ステップS109では、第2位置カウンタ
エリアのカウント値Cbから第4位置カウンタエリアの
カウント値Ceを差し引いて、ステップS97で下降駆
動信号Mbを出力した後における前記カウント値Cbの
増加値Cgを演算エリアで求める。そして、前記増加値
Cgが前記挟み込み解除駆動値Nrに達したか否かを確
認し(ステップS111)、達している場合は(ステッ
プS111でY)、ステップS115に進み、達してい
ない場合は(ステップS111でN)、ステップS11
3に進む。
In step S109, the count value Ce of the fourth position counter area is subtracted from the count value Cb of the second position counter area, and the increase value Cg of the count value Cb after the descending drive signal Mb is output in step S97. Is calculated in the calculation area. Then, it is confirmed whether or not the increase value Cg has reached the entrapment release driving value Nr (step S111), and if it has reached (Y in step S111), the process proceeds to step S115, and if it has not reached ( N in step S111), step S11
Go to 3.

【0050】ステップS113では、前記第4経過時間
Tsが前記全開全閉確認時間TLOCK以上連続しているか
否かを確認し、連続していない場合は(ステップS11
3でN)、ステップS105にリターンし、連続してい
る場合は(ステップS113でY)、ステップS115
に進む。ステップS115では、下降駆動信号Mbの出
力を停止し、次に、前記第4経過時間計測タイマエリア
の第4経過時間Tsの計測を停止してゼロリセットする
と共に(ステップS117)、片側カウンタエリアのカ
ウント値Ccをゼロリセットし(ステップS119)、
さらに、前記開閉スイッチ13から上昇要求信号13a
が出力されているか否かを確認する(ステップS12
1)。上昇要求信号13aが出力されている場合は(ス
テップS121でY)、出力されなくなるまでステップ
S121をリピートし、出力されていない場合は(ステ
ップS121でN)、前記第1経過時間計測タイマエリ
アの第1経過時間Tuの計測を停止してゼロリセットし
た後(ステップS123)、ステップS1にリターンす
る。
In step S113, it is confirmed whether or not the fourth elapsed time Ts has continued for the full-open / full-closed confirmation time T LOCK or more, and if it has not continued (step S11).
3), the process returns to step S105, and if continuous (Y in step S113), step S115.
Proceed to. In step S115, the output of the descending drive signal Mb is stopped, and then the measurement of the fourth elapsed time Ts in the fourth elapsed time measuring timer area is stopped and reset to zero (step S117). The count value Cc is reset to zero (step S119),
Further, the open / close switch 13 outputs a rising request signal 13a.
Is output (step S12).
1). If the rise request signal 13a is output (Y in step S121), step S121 is repeated until it is no longer output, and if it is not output (N in step S121), the first elapsed time measurement timer area After the measurement of the first elapsed time Tu is stopped and the zero is reset (step S123), the process returns to step S1.

【0051】以上の説明からも明らかなように、本実施
例では、請求項1中の位置カウンタ手段15A1 〜15
n が、図10のフローチャートにおけるステップS1
01乃至ステップS105、及び、ステップS109
と、図11のフローチャートにおけるステップS19e
及びステップS19fと、図12のフローチャートにお
けるステップS23e及びステップS23fで構成さ
れ、開閉位置判定手段15Bが、図8のフローチャート
におけるステップS39及びステップS41と、図10
中のステップS107及びステップS111で構成され
ている。また、本実施例では、請求項2中の回転方向検
出手段15Cが、図11中のステップS19dと図12
中のステップS23dで構成され、請求項3中の比較手
段15Dが、図11中のステップS19g乃至ステップ
S19jと、図12中のステップS23g乃至ステップ
S23jで構成され、カウント値補正手段15Eが、ス
テップS19k及びステップS19mと、図12中のス
テップS23k及びステップS23mで構成されてい
る。
As is clear from the above description, in the present embodiment, the position counter means 15A 1 to 15A in claim 1 are described.
An is step S1 in the flowchart of FIG.
01 to step S105 and step S109
And step S19e in the flowchart of FIG.
10 and step S19f, and steps S23e and S23f in the flowchart of FIG. 12, and the opening / closing position determination unit 15B includes steps S39 and S41 in the flowchart of FIG.
It is composed of steps S107 and S111. Further, in the present embodiment, the rotation direction detecting means 15C in claim 2 has the same function as the step S19d in FIG.
Comparing means 15D in claim 3 comprises steps S19g to S19j in FIG. 11 and steps S23g to S23j in FIG. 12, and the count value correcting means 15E comprises steps It is composed of S19k and step S19m, and step S23k and step S23m in FIG.

【0052】さらに、本実施例では、請求項4中のパル
ス無状態検出手段15Fが、図7のフローチャートにお
けるステップS31と、図8中のステップS49と、図
10中のステップS119と、図11中のステップS1
9n乃至ステップS19rと、図12中のステップS2
3n乃至ステップS23rで構成され、第2カウント値
補正手段15Gが、図11中のステップS19tと図1
2中のステップS23tで構成されている。また、本実
施例では、請求項5中の検出領域判別手段15Hが、図
8中のステップS39及びステップS41で構成され、
挟み込み検出手段15Jが、図8中のステップS55乃
至ステップS59と、図9中のステップS61乃至ステ
ップS91と、図10中のステップS93及びステップ
S95で構成されている。
Further, in the present embodiment, the pulse non-state detecting means 15F in claim 4 has step S31 in the flowchart of FIG. 7, step S49 in FIG. 8, step S119 in FIG. 10, and FIG. Step S1 in
9n to step S19r and step S2 in FIG.
3n to step S23r, and the second count value correction means 15G includes the step S19t in FIG.
It is composed of step S23t in 2. Further, in this embodiment, the detection area discrimination means 15H in claim 5 is constituted by steps S39 and S41 in FIG.
The entrapment detection means 15J includes steps S55 to S59 in FIG. 8, steps S61 to S91 in FIG. 9, and steps S93 and S95 in FIG.

【0053】次に、上述した構成による本実施例のパワ
ーウィンドの動作(作用)について説明する。まず、開
閉スイッチ13を後方に傾倒操作すると、開閉スイッチ
13から下降要求信号13bが出力され、これに伴って
ドライバ15eに入力される下降駆動信号Mbにより、
窓ガラス51を全開位置側に下降させる方向にモータ1
1が回転する。すると、モータ11が1周回転する毎
に、第2センサ31bが第2パルス信号Pbを1回ずつ
出力し、該第2パルス信号Pbから90°の位相分だけ
遅れて、第1センサ31aが第1パルス信号Paを1回
ずつ出力する。
Next, the operation (action) of the power window of this embodiment having the above-mentioned structure will be described. First, when the open / close switch 13 is tilted backward, the open / close switch 13 outputs the descending request signal 13b, and the descending drive signal Mb input to the driver 15e accordingly causes
The motor 1 is moved in the direction in which the window glass 51 is lowered toward the fully open position.
1 rotates. Then, each time the motor 11 rotates once, the second sensor 31b outputs the second pulse signal Pb once, and the first sensor 31a is delayed by a phase of 90 ° from the second pulse signal Pb. The first pulse signal Pa is output once.

【0054】そして、窓ガラス51が全開位置に達して
モータ11の回転が止まると、前記第1及び第2センサ
31a,31bが第1及び第2パルス信号Pa,Pbを
それぞれ出力しなくなり、この状態が続いて前記第2及
び第3経過時間Ta,Tbが全開全閉確認時間TLOCK
両方とも達すると、開閉スイッチ13の後方への傾倒操
作を続けていても、ドライバ15eへの下降駆動信号M
bの入力が停止される。ここで、開閉スイッチ13の後
方への傾倒操作を一旦解除し、その後、開閉スイッチ1
3を改めて後方に傾倒操作すると、ドライバ15eに下
降駆動信号Mbが再入力されるが、窓ガラス51が全開
位置で動かずモータ11も回転しないので、第1及び第
2センサ31a,31bから第1及び第2パルス信号P
a,Pbがそれぞれ出力されず、従って、前記全開全閉
確認時間TLOCKの経過後にドライバ15eへの下降駆動
信号Mbの入力が再び停止される。
When the window glass 51 reaches the fully open position and the rotation of the motor 11 stops, the first and second sensors 31a and 31b stop outputting the first and second pulse signals Pa and Pb, respectively. When the state continues and both the second and third elapsed times Ta and Tb reach the full-open / full-close confirmation time T LOCK , the driver 15e is driven downward even if the open / close switch 13 is continuously tilted backward. Signal M
The input of b is stopped. Here, the rearward tilting operation of the open / close switch 13 is temporarily released, and then the open / close switch 1
When 3 is tilted rearward again, the descending drive signal Mb is re-input to the driver 15e, but the window glass 51 does not move at the fully open position and the motor 11 does not rotate. 1st and 2nd pulse signal P
Since a and Pb are not output respectively, therefore, the input of the descending drive signal Mb to the driver 15e is stopped again after the elapse of the full-open / full-close confirmation time T LOCK .

【0055】また、窓ガラス51を全開位置側に下降さ
せる方向にモータ11が回転すると、第1センサ31a
が出力する第1パルス信号Paの立ち上がり及び立ち下
がりの時点で、第1及び第2パルス信号Pa,Pbの信
号レベルが一致する。このため、窓ガラス51が全開位
置側に下降するのに応じて、ガラス窓の開閉位置をカウ
ントする第1位置カウンタエリアのカウント値Caが、
第1パルス信号Paの出力毎に「1」ずつインクリメン
トされ、同様に、第2位置カウンタエリアのカウント値
Cbが、第2パルス信号Pbの出力毎に「1」ずつイン
クリメントされる。そして、第1及び第2パルス信号に
出力異常やノイズによる偽パルスの発生がそれぞれない
限り、窓ガラス51が全開位置に達した時点で、前記第
1及び第2位置カウンタエリアのカウント値Ca,Cb
は両方とも「N」となる。
When the motor 11 rotates in the direction in which the window glass 51 is lowered toward the fully open position, the first sensor 31a
The signal levels of the first and second pulse signals Pa and Pb coincide with each other at the rising and falling edges of the first pulse signal Pa output by the. Therefore, the count value Ca of the first position counter area that counts the open / closed position of the glass window as the window glass 51 descends toward the fully open position is
It is incremented by "1" for each output of the first pulse signal Pa, and similarly, the count value Cb of the second position counter area is incremented by "1" for each output of the second pulse signal Pb. Then, unless the first and second pulse signals respectively generate false pulses due to output abnormality or noise, when the window glass 51 reaches the fully open position, the count values Ca of the first and second position counter areas, Cb
Are both "N".

【0056】一方、開閉スイッチ13を前方に傾倒操作
すると、開閉スイッチ13から上昇要求信号13aが出
力され、これに伴ってドライバ15eに入力される上昇
駆動信号Maにより、窓ガラス51を全閉位置側に上昇
させる方向にモータ11が回転する。すると、モータ1
1が1周回転する毎に、第1センサ31aが第1パルス
信号Paを1回ずつ出力し、該第1パルス信号Paから
90°の位相分だけ遅れて、第2センサ31bが第2パ
ルス信号Pbを1回ずつ出力する。
On the other hand, when the open / close switch 13 is tilted forward, the open / close switch 13 outputs a lift request signal 13a, and the lift drive signal Ma input to the driver 15e accordingly causes the window glass 51 to move to the fully closed position. The motor 11 rotates in the direction of raising it to the side. Then, the motor 1
The first sensor 31a outputs the first pulse signal Pa once each time 1 rotates once, and the second sensor 31b delays the second pulse by a phase delay of 90 ° from the first pulse signal Pa. The signal Pb is output once.

【0057】そして、窓ガラス51が全閉位置に達して
モータ11の回転が止まると、前記第1及び第2センサ
31a,31bが第1及び第2パルス信号Pa,Pbを
それぞれ出力しなくなり、この状態が続いて前記第2及
び第3経過時間Ta,Tbが全開全閉確認時間TLOCK
両方とも達すると、開閉スイッチ13の前方への傾倒操
作を続けていても、ドライバ15eへの上昇駆動信号M
aの入力が停止される。ここで、開閉スイッチ13の後
方への傾倒操作を一旦解除し、その後、開閉スイッチ1
3を改めて後方に傾倒操作すると、ドライバ15eに下
降駆動信号Mbが再入力されるが、窓ガラス51が全開
位置で動かずモータ11も回転しないので、第1及び第
2センサ31a,31bから第1及び第2パルス信号P
a,Pbがそれぞれ出力されず、従って、前記全開全閉
確認時間TLOCKの経過後にドライバ15eへの下降駆動
信号Mbの入力が再び停止される。
When the window glass 51 reaches the fully closed position and the rotation of the motor 11 stops, the first and second sensors 31a and 31b stop outputting the first and second pulse signals Pa and Pb, respectively. When this state continues and both the second and third elapsed times Ta and Tb reach the full-open / full-close confirmation time T LOCK , even if the forward tilting operation of the open / close switch 13 is continued, the driver 15e is raised. Drive signal M
The input of a is stopped. Here, the rearward tilting operation of the open / close switch 13 is temporarily released, and then the open / close switch 1
When 3 is tilted rearward again, the descending drive signal Mb is re-input to the driver 15e, but the window glass 51 does not move at the fully open position and the motor 11 does not rotate. 1st and 2nd pulse signal P
Since a and Pb are not output respectively, therefore, the input of the descending drive signal Mb to the driver 15e is stopped again after the elapse of the full-open / full-close confirmation time T LOCK .

【0058】また、窓ガラス51を全閉位置側に上昇さ
せる方向にモータ11が回転すると、前記第1パルス信
号Paの立ち上がり及び立ち下がりの時点で、第1及び
第2パルス信号Pa,Pbの信号レベルが一致しない。
このため、窓ガラス51が全閉位置側に上昇するのに応
じて、前記第1位置カウンタエリアのカウント値Ca
が、第1パルス信号Paの出力毎に「1」ずつデクリメ
ントされ、同様に、第2位置カウンタエリアのカウント
値Cbが、第2パルス信号Pbの出力毎に「1」ずつデ
クリメントされる。そして、第1及び第2パルス信号に
出力異常やノイズによる偽パルスの発生がそれぞれない
限り、窓ガラス51が全閉位置に達した時点で、前記第
1及び第2位置カウンタエリアのカウント値Ca,Cb
は両方とも「0」となる。
When the motor 11 is rotated in the direction of raising the window glass 51 to the fully closed position side, the first and second pulse signals Pa and Pb are changed at the rising and falling points of the first pulse signal Pa. The signal levels do not match.
Therefore, as the window glass 51 rises toward the fully closed position, the count value Ca of the first position counter area
Is decremented by "1" for each output of the first pulse signal Pa, and similarly, the count value Cb of the second position counter area is decremented by "1" for each output of the second pulse signal Pb. As long as there is no false pulse due to output abnormality or noise in the first and second pulse signals, the count value Ca of the first and second position counter areas is reached when the window glass 51 reaches the fully closed position. , Cb
Are both "0".

【0059】尚、先に述べたような出力異常やノイズに
よる偽パルスの発生が第1及び第2パルス信号にあり、
これにより、第1及び第2位置カウンタエリアのカウン
ト値Ca,Cbに正常時にはないずれが生じた場合に
は、そのずれが「3」になった時点で、カウント値C
a,Cbのうち値の大きいカウント値が値の小さいカウ
ント値に補正される。
In addition, the generation of the false pulse due to the abnormal output and the noise as described above exists in the first and second pulse signals,
As a result, when the count values Ca and Cb of the first and second position counter areas are in a normal state, when the deviation becomes "3", the count value C
Of a and Cb, the count value with the larger value is corrected to the count value with the smaller value.

【0060】さらに、前記開閉スイッチ13の傾倒操作
によりモータ11が回転し、これに伴い、第1及び第2
センサ31a,31bが第1及び第2パルス信号Pa,
Pbをそれぞれ出力すると、その回転方向に関係なく、
これら第1及び第2センサ31a,31bのうちどちら
か一方が故障しているのを検出するための片側カウンタ
のカウント値Ccが、第1パルス信号Paの出力時には
「1」ずつインクリメントされ、且つ、第2パルス信号
Pbの出力時には「1」ずつデクリメントされる。
Further, the tilting operation of the open / close switch 13 causes the motor 11 to rotate, and the first and second motors are accordingly rotated.
The sensors 31a and 31b have the first and second pulse signals Pa,
When each Pb is output, regardless of the rotation direction,
The count value Cc of the one-sided counter for detecting that one of the first and second sensors 31a and 31b is out of order is incremented by "1" when the first pulse signal Pa is output, and , Is decremented by "1" when the second pulse signal Pb is output.

【0061】そして、開閉スイッチ13の1回の傾倒操
作中に、第1及び第2センサ31a,31bのうちどち
らか一方の故障により、第1及び第2パルス信号Pa,
Pbのうちどちらか一方だけが出力され、他方が全く出
力されない場合、この現象がパルス10個分連続する
と、前記位置カウンタ復旧処理が行われ、これにより、
窓ガラス51が全開或は全閉位置に達すると、第1及び
第2位置カウンタエリアのカウント値Ca,Cbが、全
開位置の場合は「N」に、全閉位置の場合は「0」にそ
れぞれ補正される。
Then, during one tilting operation of the open / close switch 13, the first and second pulse signals Pa, Pa, due to the failure of either one of the first and second sensors 31a, 31b.
When only one of Pb is output and the other is not output at all, if this phenomenon continues for 10 pulses, the position counter restoration processing is performed, and thereby,
When the window glass 51 reaches the fully open or fully closed position, the count values Ca and Cb in the first and second position counter areas become "N" when the fully open position and "0" when the fully closed position. Each is corrected.

【0062】次に、前記窓ガラス51の上端51aが前
記境界位置DL及びその下方の挟み込み検出領域Soに
位置している状態で、開閉スイッチ13の前方への傾倒
操作に伴うドライバ15eへの上昇駆動信号Maの入力
により、窓ガラス51を全閉位置側に上昇させる方向に
回転しているモータ11が、ドア5の窓枠と窓ガラス5
1の間に挟まった異物により止まると、前記第1及び第
2センサ31a,31bが第1及び第2パルス信号P
a,Pbをそれぞれ出力しなくなる。この場合には、前
記第1及び第2カウンタエリアのカウンタ値Ca,Cb
が両方とも境界値NDET 以上になっているので、第1及
び第2パルス信号Pa,Pbの出力なし状態が続いて、
その経過時間である前記第2及び第3経過時間Ta,T
bが挟み込み確認時間TE に両方とも達すると、次に示
す挟み込み解除動作が行われる。
Next, with the upper end 51a of the window glass 51 positioned at the boundary position DL and the pinch detection area So below the boundary position DL, the window switch 51 is raised to the driver 15e when the opening / closing switch 13 is tilted forward. When the drive signal Ma is input, the motor 11 rotating in a direction of raising the window glass 51 to the fully closed position side causes the window frame of the door 5 and the window glass 5 to rotate.
When stopped by the foreign matter sandwiched between the first and second sensors, the first and second sensors 31a and 31b are stopped by the first and second pulse signals P.
A and Pb are not output respectively. In this case, the counter values Ca and Cb in the first and second counter areas
Are both above the boundary value N DET , the state of no output of the first and second pulse signals Pa and Pb continues,
The second and third elapsed times Ta, T which are the elapsed times
When both b reach the entrapment confirmation time T E , the entrapment release operation described below is performed.

【0063】挟み込み解除動作では、開閉スイッチ13
の前方への傾倒操作を続けていても、ドライバ15eへ
の上昇駆動信号Maの入力が停止され、次に、ドライバ
15eに下降駆動信号Mbが入力されて、窓ガラス51
を全開位置側に下降させる方向にモータ11が回転す
る。そして、ドライバ15eへの下降駆動信号Mbの入
力開始からの、前記第1及び第2カウンタエリアのカウ
ンタ値Ca,Cbの増加量が両方とも挟み込み解除規定
値Nrに達した後に、該下降駆動信号Mbのドライバ1
5eへの入力が停止されて、モータ11の回転が停止す
る。これにより、異物の挟み込み状態を解消するのに十
分な量(本実施例では、第1及び第2パルス信号Pa,
Pbのパルス分解能Sa,Sb×挟み込み解除規定値N
r=0.65mm×230=略々15cm)だけ窓ガラ
ス51が下降する。
In the pinch releasing operation, the open / close switch 13
Even if the forward tilting operation of the driver is continued, the input of the ascending drive signal Ma to the driver 15e is stopped, then the descending drive signal Mb is input to the driver 15e, and the window glass 51
The motor 11 rotates in the direction of lowering the to the fully open position side. Then, after the increase amounts of the counter values Ca and Cb in the first and second counter areas from the start of the input of the down drive signal Mb to the driver 15e both reach the entrapment release specified value Nr, the down drive signal Mb driver 1
The input to 5e is stopped, and the rotation of the motor 11 is stopped. As a result, a sufficient amount (in the present embodiment, the first and second pulse signals Pa, Pa,
Pb pulse resolution Sa, Sb x entrapment release specified value N
The window glass 51 descends by r = 0.65 mm × 230 = approximately 15 cm).

【0064】尚、前記ドライバ15eへの下降駆動信号
Mbの入力開始からの、前記第1及び第2カウンタエリ
アのカウンタ値Ca,Cbの増加量が両方とも挟み込み
解除規定値Nrに達するまでの間に、窓ガラス51が全
開位置に達してモータ11の回転が止まった場合には、
通常の窓ガラス51を開ける場合の動作と同様の動作に
より、ドライバ15eへの上昇駆動信号Maの入力が停
止される。
It should be noted that, from the start of the input of the descending drive signal Mb to the driver 15e, until the amount of increase in the counter values Ca and Cb in the first and second counter areas reaches the entrapment release specified value Nr. When the window glass 51 reaches the fully opened position and the rotation of the motor 11 stops,
The input of the rising drive signal Ma to the driver 15e is stopped by the same operation as when opening the normal window glass 51.

【0065】このように、ドア5の窓枠と窓ガラス51
の間に挟まった異物によりモータ11の回転が停止する
と、その停止時間の長さに応じて前記挟み込み解除動作
が行われる。しかし、ドア5の窓枠と窓ガラス51の間
に異物が挟まったからといって、必ずしもモータ11の
回転が止まるとは限らず、挟まった異物の固さ等によっ
ては、モータ11が止まらず回転し続ける場合もある。
そこで、前記窓ガラス51の上端51aが前記境界位置
DL及びその下方の挟み込み検出領域Soに位置し、前
記第1及び第2カウンタエリアのカウンタ値Ca,Cb
が両方とも境界値NDET 以上になっている状態では、上
述した異物の挟み込みによるモータ11の回転停止時以
外にも、前記第1及び第2パルス信号Pa,Pbの周期
Wan ,Wbn や、モータ11の減速度Aan ,Abn
の値によっては、前記挟み込み解除動作を行う。
In this way, the window frame of the door 5 and the window glass 51 are
When the rotation of the motor 11 is stopped due to the foreign matter sandwiched between the two, the pinching release operation is performed according to the length of the stop time. However, just because a foreign object is caught between the window frame of the door 5 and the window glass 51 does not always stop the rotation of the motor 11, and depending on the hardness of the caught foreign object, the motor 11 does not stop and rotates. It may continue to do so.
Therefore, the upper end 51a of the window glass 51 is located at the boundary position DL and the sandwiching detection area So below the boundary position DL, and the counter values Ca and Cb of the first and second counter areas are provided.
Are both above the boundary value N DET , the periods Wa n and Wb n of the first and second pulse signals Pa and Pb are not limited to when the rotation of the motor 11 is stopped due to the entrapment of foreign matter. , Deceleration Aa n , Ab n of the motor 11
Depending on the value of, the pinch release operation is performed.

【0066】まず、モータ11の回転がかなり遅くな
り、前記周期Wan ,Wbn が両方とも基準周期WREF
以上となった場合には、前記挟み込み動作を行う。次
に、前記周期Wan ,Wbn のうち少なくとも一方が基
準周期WREF に満たなくても、前記減速度Aan ,Ab
n が、ドア5の窓枠に対するガラス窓51の軋みや、ガ
ラス窓51への手や体の接触によりモータ11が減速し
た場合の減速度等とは掛け離れた、通常ではあり得ない
急激な減速度の閾値AHI以上となった場合には、前記挟
み込み動作を行う。さらに、前記周期Wan ,Wbn
うち少なくとも一方が基準周期WREF に満たず、且つ、
前記減速度Aan ,Abn のうち少なくとも一方が閾値
HIに満たなくても、過去所定回数X分の減速度Aan
〜Aan-(X-1) ,Abn 〜Abn-(X-1) が両方とも連続
して、緩やかな減速度の閾値ALO以上になった場合に
は、前記挟み込み動作を行う。
First, the rotation of the motor 11 becomes considerably slow, and both the cycles Wa n and Wb n are the reference cycle W REF.
In the case of the above, the pinching operation is performed. Next, even if at least one of the cycles Wa n and Wb n is less than the reference cycle W REF , the deceleration Aa n and Ab
n is far from the deceleration when the motor 11 is decelerated due to the squeak of the glass window 51 with respect to the window frame of the door 5 or the contact of the hand or body with the glass window 51. When the speed threshold value is equal to or higher than the threshold value A HI , the pinching operation is performed. Furthermore, at least one of the cycles Wa n and Wb n is less than the reference cycle W REF , and
Even if at least one of the decelerations Aa n and Ab n does not reach the threshold value A HI , the deceleration Aa n for the past predetermined number of times X
~Aa n- (X-1), both Ab n ~Ab n- (X-1 ) is continuously, if it becomes more than the threshold value A LO loose deceleration, performs the pinching operation.

【0067】尚、前記周期Wan ,Wbn や減速度Aa
n ,Abn の値による挟み込み解除動作の実行判定は、
モータ11の回転速度、ひいては、前記周期Wan ,W
nや減速度Aan ,Abn の値を安定させるために、
開閉スイッチ13の前方への傾倒操作による上昇要求信
号13aの出力開始から200msが経過するのを待っ
てから行う。また、前記窓ガラス51の上端51aが前
記境界位置DLよりも上方の全閉領域Scに位置し、ウ
ェザーストリップ53の外側下端面53aと窓ガラス5
1の上端51aの間に隙間が生じない状態では、前記第
1及び第2カウンタエリアのカウンタ値Ca,Cbが両
方とも、境界値NDET よりも小さくなるので、上述した
異物の挟み込みの検出動作は行わない。さらに、窓ガラ
ス51の下降時は、ドア5の窓枠と窓ガラス51の間に
異物があっても挟まる心配がないので、この場合にも上
述の異物の挟み込み検出動作は行わない。
Incidentally, the cycles Wa n , Wb n and the deceleration Aa
Whether to perform the pinch release operation based on the values of n and Ab n is
The rotation speed of the motor 11, and by extension, the cycles Wa n , W
In order to stabilize the values of b n and decelerations Aa n and Ab n ,
This is performed after waiting for 200 ms from the start of output of the rising request signal 13a due to the forward tilting operation of the open / close switch 13. In addition, the upper end 51a of the window glass 51 is located in the fully closed region Sc above the boundary position DL, and the outer lower end surface 53a of the weather strip 53 and the window glass 5 are located.
When there is no gap between the upper ends 51a of the first and second counters, the counter values Ca and Cb of the first and second counter areas are both smaller than the boundary value N DET , and thus the foreign matter entrapment detection operation described above is performed. Does not. Further, when the window glass 51 descends, there is no risk of being caught between the window frame of the door 5 and the window glass 51 even if there is a foreign matter, and thus the foreign matter trapping detection operation is not performed in this case as well.

【0068】このように本実施例の窓ガラス開閉位置検
出装置によれば、モータ11が回転するのに同期して、
パルス発生器31の第1及び第2の2つのセンサ31
a,31bからパルス信号Pa,Pbを1周当り1回ず
つ出力させ、これら各パルス信号Pa,Pbのパルス数
を、モータ11の回転方向に応じて第1及び第2位置カ
ウンタエリアで個別にアップダウンカウントし、それぞ
れのカウント値Ca,Cbを基に窓ガラス51の開閉位
置を判定する構成とした。このため、第1及び第2セン
サ31a,31bのうち一方が故障してパルス信号P
a,Pbを出力しなくなったり、或は、パルス信号P
a,Pbのうち一方を第1及び第2位置カウンタエリア
でカウントし損なったりする等して、例えば、第1位置
カウンタエリアのカウント値Caに狂いが生じても、第
2位置カウンタエリアの正常なカウント値Cbを考慮に
入れて窓ガラス51の開閉位置を判定するので、判定し
た開閉位置が実際の位置から大きくずれることを防止す
ることができる。
As described above, according to the window glass opening / closing position detecting apparatus of the present embodiment, in synchronization with the rotation of the motor 11,
First and second two sensors 31 of the pulse generator 31
The pulse signals Pa and Pb are output from a and 31b once per revolution, and the number of pulses of each pulse signal Pa and Pb is individually output in the first and second position counter areas according to the rotation direction of the motor 11. Up-down counting is performed, and the open / close position of the window glass 51 is determined based on the respective count values Ca and Cb. Therefore, one of the first and second sensors 31a and 31b fails and the pulse signal P
a or Pb is not output, or pulse signal P
For example, even if one of a and Pb fails to count in the first and second position counter areas, and the count value Ca in the first position counter area is incorrect, the second position counter area is normal. Since the open / close position of the window glass 51 is determined in consideration of the count value Cb, it is possible to prevent the determined open / close position from largely deviating from the actual position.

【0069】また、本実施例によれば、第1及び第2位
置カウンタエリアのカウント値Ca,Cbの差値Cが基
準差値NDIFF以上となった場合に、両カウント値Ca,
Cbのうち値が大きい方を値が小さい方と一致するよう
に補正する構成としたので、前記のように、パルス信号
Pa,Pbの出力漏れやカウント漏れにより第1及び第
2位置カウンタエリアのカウント値Ca,Cbに差が生
じたとしても、その差が大きくなることがなく、従っ
て、両カウント値Ca,Cbの信頼性が大きく損なわれ
るのを防ぎ、両カウント値Ca,Cbから判定した開閉
位置が実際の位置から大きくずれることを防止すること
ができる。
Further, according to this embodiment, when the difference value C between the count values Ca and Cb of the first and second position counter areas becomes equal to or larger than the reference difference value N DIFF , both count values Ca,
Since the larger value of Cb is corrected so as to match the smaller value, as described above, due to the output leakage of the pulse signals Pa and Pb and the count leakage, the first and second position counter areas are Even if there is a difference between the count values Ca and Cb, the difference does not become large, so that the reliability of both count values Ca and Cb is prevented from being greatly impaired, and the judgment is made from both count values Ca and Cb. It is possible to prevent the open / close position from largely deviating from the actual position.

【0070】さらに、本実施例によれば、開閉スイッチ
13の1回の操作中に、パルス信号Pa,Pbのうちど
ちらか一方が連続して出力されず、片側カウンタエリア
のカウント値Ccの絶対値が異常判別基準値NABNORM
上となった場合に、位置カウンタ復旧処理に入り、窓ガ
ラス51を全開或は全閉位置に開閉させたところで、到
達した位置が全開位置であるか全閉位置であるかに応じ
て、第1及び第2位置カウンタエリアのカウント値C
a,Cbを「N」か「0」に設定し直す構成とした。こ
のため、パルス信号Pa,Pbの出力漏れやカウント漏
れにより第1及び第2位置カウンタエリアのカウント値
Ca,Cbに差が生じたとしても、その差が大きくなる
前に、そのカウント値Ca,Cbを正しい値に設定し直
して、両カウント値Ca,Cbの信頼性が大きく損なわ
れるのを防ぎ、両カウント値Ca,Cbから判定した開
閉位置が実際の位置から大きくずれることを防止するこ
とができる。
Further, according to the present embodiment, during one operation of the open / close switch 13, either one of the pulse signals Pa and Pb is not continuously output, and the absolute value of the count value Cc of the one side counter area is determined. When the value becomes equal to or greater than the abnormality determination reference value N ABNORM , the position counter restoration process is started, and when the window glass 51 is opened and closed to the fully open or fully closed position, the reached position is the fully open position or the fully closed position. Depending on whether or not the count value C of the first and second position counter areas
The configuration is such that a and Cb are reset to "N" or "0". Therefore, even if there is a difference between the count values Ca and Cb of the first and second position counter areas due to the output leakage of the pulse signals Pa and Pb and the count leakage, the count value Ca, before the difference becomes large, Resetting Cb to a correct value to prevent the reliability of both count values Ca and Cb from being greatly impaired, and to prevent the open / close position determined from both count values Ca and Cb from deviating significantly from the actual position. You can

【0071】また、本実施例によれば、ドア5のウェザ
ーストリップ53と窓ガラス51との隙間がなくなる境
界位置DL、即ち、ウェザーストリップ53の外側下端
面53aと同一高さ箇所、及びそれよりも全開位置側の
挟み込み検出領域So内に窓ガラス51の上端51aが
位置しているか否かを、第1及び第2位置カウンタエリ
アのカウント値Ca,Cbが両方とも、前記境界位置D
Lに前記上端51aが位置している時の正しいカウント
値Ca,Cbに相当する境界値NDET 以上となっている
か否かで判別する構成とした。そして、前記挟み込み検
出領域So内に窓ガラス51の上端51aが位置してい
ると判別した時に、窓ガラス51による異物の挟み込み
があるか否かを、最近のパルス信号Pa,Pbのエッジ
検出時からの経過時間Ta,Tb、パルス信号Pa,P
bの周期Wan ,Wbn 、及び、窓ガラス51の減速度
Aan ,Abnを基に検出する構成とした。
Further, according to this embodiment, the boundary position DL where the gap between the weather strip 53 of the door 5 and the window glass 51 is eliminated, that is, the same height as the outer lower end surface 53a of the weather strip 53, and Whether the upper end 51a of the window glass 51 is located in the pinch detection area So on the fully open position side, whether the count values Ca and Cb of the first and second position counter areas are both the boundary position D
The configuration is such that it is determined whether or not the boundary value N DET corresponding to the correct count values Ca and Cb when the upper end 51a is located at L is greater than or equal to the boundary value N DET . Then, when it is determined that the upper end 51a of the window glass 51 is located in the entrapment detection area So, it is determined whether or not a foreign object is entrapped by the window glass 51 at the time of edge detection of the latest pulse signals Pa and Pb. Elapsed time Ta, Tb, pulse signals Pa, P
The detection is made based on the cycles Wa n and Wb n of b and the decelerations Aa n and Ab n of the window glass 51.

【0072】このため、ドア5の窓枠と窓ガラス51の
間に異物を挟み込む可能性がある挟み込み検出領域So
に窓ガラス51の上端があるか否かを、第1及び第2位
置カウンタエリアのカウント値Ca,Cbを基に高い信
頼性で検出でき、窓枠と窓ガラス51の間に異物を挟み
込む可能性がない全閉領域Scにおいて、窓ガラス51
による異物の挟み込みがあるか否かを無駄に検出せずに
済ませることができる。
For this reason, there is a possibility that foreign matter may be caught between the window frame of the door 5 and the window glass 51.
Whether or not there is an upper edge of the window glass 51 can be detected with high reliability based on the count values Ca and Cb of the first and second position counter areas, and a foreign substance can be sandwiched between the window frame and the window glass 51. In the totally closed region Sc having no property, the window glass 51
It is possible to avoid wastefully detecting whether or not there is a foreign object being pinched.

【0073】尚、第1及び第2位置カウンタエリアのカ
ウント値Ca,Cbの差値が基準差値NDIFF以上となっ
た場合の、両カウント値Ca,Cbの補正は、両カウン
ト値Ca,Cbのうち値が小さい方を値が大きい方と一
致する内容であってもよく、或は、補正そのものを行わ
ないように構成してもよい。しかし、本実施例のよう
に、両カウント値Ca,Cbのうち値が大きい方を値が
小さい方と一致するように補正する構成とすれば、境界
位置DL及びこれよりも全開位置側の挟み込み検出領域
So内で異物の挟み込みの有無を検出する場合に、補正
後のカウント値Ca,Cbが境界値NDET と一致した際
の窓ガラス51の上端51aの位置が、境界位置DLよ
りも全閉位置側にずれることがなくなる。従って、カウ
ント値Ca,Cbの補正後に、窓ガラス51が全閉位置
に達して停止した時に異物を挟み込んだものと誤って判
定され、窓ガラス51が強制的に開かれて閉められなく
なる事態の発生を防ぐことができ、有利である。
When the difference between the count values Ca and Cb in the first and second position counter areas exceeds the reference difference value N DIFF , the correction of both count values Ca and Cb is performed. The smaller value of Cb may be the same as the larger value, or the correction itself may not be performed. However, as in the present embodiment, if the larger of the count values Ca and Cb is corrected so as to match the smaller one of the count values Ca and Cb, the pinch on the boundary position DL and the fully open position side than this is detected. When detecting the presence or absence of a foreign substance trapped in the detection area So, the position of the upper end 51a of the window glass 51 when the corrected count values Ca and Cb coincide with the boundary value N DET is set to be more than the boundary position DL. It will not shift to the closed position side. Therefore, after the count values Ca and Cb are corrected, it is erroneously determined that the foreign matter is caught when the window glass 51 reaches the fully closed position and stops, and the window glass 51 is forcibly opened and cannot be closed. This is advantageous because it can be prevented from occurring.

【0074】また、第1及び第2センサ31a,31b
が出力するパルス信号Pa,Pbの位相のずれは、90
°以外であっても、或は、同位相であってもよいが、本
実施例のように、第1及び第2センサ31a,31bが
互いに位相を90°ずらしてパルス信号Pa,Pbをそ
れぞれ出力するように構成すれば、次のような利点があ
る。即ち、パルス信号Paの立ち上がり及び立ち下がり
の時点における両パルス信号Pa,Pbの信号レベルの
一致、不一致により、モータ11が窓ガラス51を全開
位置側に下降する方向と、窓ガラス51を全閉位置側に
上昇する方向のうちどちらの方向に回転しているかを検
出できる。
Further, the first and second sensors 31a, 31b
The phase difference between the pulse signals Pa and Pb output by
Although it may have a phase other than ° or the same phase, as in the present embodiment, the first and second sensors 31a and 31b are shifted in phase from each other by 90 degrees to generate the pulse signals Pa and Pb, respectively. If it is configured to output, there are the following advantages. That is, due to the coincidence and non-coincidence of the signal levels of the pulse signals Pa and Pb at the rising and falling points of the pulse signal Pa, the motor 11 descends the window glass 51 toward the fully open position and the window glass 51 is completely closed. It is possible to detect which of the directions of rising to the position side is rotating.

【0075】このため、例えば、開閉スイッチ13の操
作をやめた後のモータ11の惰性や、モータ11と窓ガ
ラス51の間の動力伝達系を構成するギア列(図示せ
ず)のバックラッシュ等により、開閉スイッチ13を操
作してないにも拘らずモータ11が回転した場合であっ
ても、その際のモータ11の回転方向を開閉スイッチ1
3の操作状態によらず確実に検出できる。しかし、この
ように互いに位相がずれた複数のパルス信号P1 〜Pn
によりモータ11の回転方向を検出するか否かは任意
で、開閉スイッチ13の操作やその他の手段によりモー
タ11の回転方向を検出してもよいことは勿論のことで
あり、その場合には、回転方向検出手段15Cに相当す
る構成は省略してもよい。
Therefore, for example, due to inertia of the motor 11 after the operation of the open / close switch 13 is stopped, backlash of a gear train (not shown) constituting a power transmission system between the motor 11 and the window glass 51, or the like. Even when the motor 11 is rotated even though the open / close switch 13 is not operated, the rotation direction of the motor 11 at that time is set to the open / close switch 1
3 can be detected reliably regardless of the operation state. However, a plurality of pulse signals P 1 to P n that are out of phase with each other in this way
It is of course that whether or not the rotation direction of the motor 11 is detected is arbitrary, and the rotation direction of the motor 11 may be detected by the operation of the opening / closing switch 13 or other means. The configuration corresponding to the rotation direction detecting means 15C may be omitted.

【0076】さらに、本実施例では、モータ11の回転
に同期してパルス信号Pa,Pbを出力する第1及び第
2の2つのセンサ31a,31bによりパルス信号出力
手段311 〜31n を構成したが、パルス信号出力手段
311 〜31n の数は3つ以上であってもよく、位置カ
ウンタ手段15A1 〜15An の数も、パルス信号出力
手段311 〜31n の数に対応して任意に変更可能であ
る。また、本実施例では、開閉スイッチ13の1回の操
作で、前記第1及び第2センサ31a,31bからの第
1及び第2パルス信号Pa,Pbが、どちらか一方だけ
連続して出力されていない場合に、位置カウンタ復旧処
理を経て窓ガラス51が全閉全開或は全閉位置に到達し
た時点で、到達した位置が全開位置か全閉位置かに応じ
て、前記第1及び第2位置カウンタエリアのカウント値
Ca,Cbを「N」か「0」に設定する構成とした。
Further, in this embodiment, the pulse signal output means 31 1 to 31 n are constituted by the first and second sensors 31a and 31b which output the pulse signals Pa and Pb in synchronization with the rotation of the motor 11. However, the number of pulse signal output means 31 1 to 31 n may be three or more, and the number of position counter means 15A 1 to 15A n also corresponds to the number of pulse signal output means 31 1 to 31 n. Can be changed arbitrarily. Further, in this embodiment, one operation of the open / close switch 13 continuously outputs only one of the first and second pulse signals Pa and Pb from the first and second sensors 31a and 31b. If the window glass 51 reaches the fully closed or fully open position or the fully closed position through the position counter recovery process, the first and second positions are determined according to whether the reached position is the fully open position or the fully closed position. The count values Ca and Cb in the position counter area are set to "N" or "0".

【0077】このため、第1及び第2の2つのセンサ3
1a,31bのうち一方が故障等によりパルス信号P
a,Pbを出力しなくなった場合に、前記第1及び第2
位置カウンタエリアのカウント値Ca,Cbの信頼性を
回復させることができる。しかし、第1及び第2の2つ
のセンサ31a,31bのうち一方が故障等によりパル
ス信号Pa,Pbを出力しなくなった場合に、前記第1
及び第2位置カウンタエリアのカウント値Ca,Cbを
上述のようにして補正するか否かは任意で、パルス無状
態検出手段15F及び第2カウント値補正手段15Gに
相当する構成は省略してもよい。
Therefore, the first and second two sensors 3
One of 1a and 31b has a pulse signal P due to a failure or the like.
When a and Pb are no longer output, the first and second
The reliability of the count values Ca and Cb in the position counter area can be restored. However, when one of the first and second sensors 31a and 31b stops outputting the pulse signals Pa and Pb due to a failure or the like, the first sensor
It is arbitrary whether or not the count values Ca and Cb of the second position counter area are corrected as described above, and the configurations corresponding to the pulse non-state detecting means 15F and the second count value correcting means 15G may be omitted. Good.

【0078】さらに、本実施例では、パルス信号Pa,
Pbの立ち上がり及び立ち下がりのエッジを検出する構
成としたが、立ち上がり及び立ち下がりのいずれか一方
のみを検出する構成とする等、パルス信号Pa,Pbを
検出する構成は、本実施例で示した構成に限らず任意で
ある。そして、本発明は、本実施例で示したような、車
両の側部のドア5の窓ガラス51に限らず、後部のドア
の窓ガラス等、モータにより開閉されるパワーウィンド
における窓ガラスの開閉位置を検出する場合にも広く適
用可能であることは言うまでもない。
Further, in this embodiment, the pulse signals Pa,
Although the configuration is such that the rising and falling edges of Pb are detected, the configuration for detecting the pulse signals Pa and Pb, such as the configuration in which only one of the rising and the falling is detected, is shown in this embodiment. It is not limited to the configuration and is arbitrary. Further, the present invention is not limited to the window glass 51 of the door 5 on the side of the vehicle as shown in the present embodiment, but the window glass of the rear door or the like is opened / closed in the power window opened / closed by the motor. It goes without saying that it can be widely applied to the case of detecting the position.

【0079】[0079]

【発明の効果】以上説明したように本発明によれば、モ
ータにより窓ガラスを開閉させるパワーウィンドの窓ガ
ラス開閉位置検出装置であって、前記モータの回転に同
期したパルス信号を出力する複数組のパルス信号出力手
段と、前記各パルス信号の出力パルス数を前記モータの
回転方向に応じてそれぞれアップダウンカウントする、
前記各パルス信号出力手段に対応した組数の位置カウン
タ手段と、前記各位置カウンタ手段のカウント値を基に
前記窓ガラスの開閉位置を判定する開閉位置判定手段と
を備える構成とした。このため、一部のパルス信号出力
手段からのパルス信号の出力漏れや、一部の位置カウン
タ手段によるパルス信号のパルス数のカウント漏れ等
で、位置カウンタ手段のカウント値に一部狂いが生じて
も、位置カウンタ手段の他の正常なカウント値により、
開閉位置判定手段が判定する窓ガラスの開閉位置を、実
際の開閉位置から大きくずれないようにすることができ
る等の効果を奏する。
As described above, according to the present invention, there is provided a power window window opening / closing position detecting device for opening / closing a window glass by a motor, and a plurality of sets for outputting pulse signals in synchronization with the rotation of the motor. Pulse signal output means, and the number of output pulses of each pulse signal is up-down counted according to the rotation direction of the motor,
A configuration is provided in which the number of sets of position counter means corresponding to each of the pulse signal output means and the open / closed position determination means for determining the open / closed position of the window glass based on the count value of each of the position counter means are provided. Therefore, the count value of the position counter means is partly incorrect due to the output leakage of the pulse signal from some of the pulse signal output means, the omission of the number of pulses of the pulse signal from some of the position counter means, and the like. Also, by other normal count value of the position counter means,
The opening / closing position of the window glass judged by the opening / closing position judging means can be prevented from largely deviating from the actual opening / closing position.

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

【図1】本発明のパワーウィンドの窓ガラス開閉位置検
出装置の基本構成図である。
FIG. 1 is a basic configuration diagram of a window glass opening / closing position detection device for a power window according to the present invention.

【図2】本発明の一実施例に係る窓ガラス開閉位置検出
装置を備えたパワーウィンドの概略構成を一部ブロック
で示す説明図である。
FIG. 2 is an explanatory diagram showing, in a partial block diagram, a schematic configuration of a power window including a window glass opening / closing position detection device according to an embodiment of the present invention.

【図3】図2のパルス信号発生器の構成を示す説明図で
ある。
FIG. 3 is an explanatory diagram showing a configuration of the pulse signal generator of FIG.

【図4】図3のパルス信号発生器の第1及び第2センサ
が出力するパルス信号の説明図である。
FIG. 4 is an explanatory diagram of pulse signals output by the first and second sensors of the pulse signal generator of FIG.

【図5】図2に示すマイクロコンピュータのハードウェ
ア構成を示すブロック図である。
5 is a block diagram showing a hardware configuration of the microcomputer shown in FIG.

【図6】図2に示すマイクロピュータのRAMのメモリ
エリアマップである。
FIG. 6 is a memory area map of the RAM of the microcomputer shown in FIG.

【図7】図2に示すマイクロピュータのROMに格納さ
れた制御プログラムに従いCPUが行う処理を示すフロ
ーチャートである。
7 is a flowchart showing a process performed by a CPU according to a control program stored in a ROM of the microcomputer shown in FIG.

【図8】図2に示すマイクロピュータのROMに格納さ
れた制御プログラムに従いCPUが行う処理を示すフロ
ーチャートである。
8 is a flowchart showing a process performed by a CPU according to a control program stored in a ROM of the microcomputer shown in FIG.

【図9】図2に示すマイクロピュータのROMに格納さ
れた制御プログラムに従いCPUが行う処理を示すフロ
ーチャートである。
9 is a flowchart showing a process performed by a CPU according to a control program stored in a ROM of the microcomputer shown in FIG.

【図10】図2に示すマイクロピュータのROMに格納
された制御プログラムに従いCPUが行う処理を示すフ
ローチャートである。
10 is a flowchart showing a process performed by a CPU according to a control program stored in a ROM of the microcomputer shown in FIG.

【図11】図7に示す第1センサパルス検出割込処理の
サブルーチンを示すフローチャートである。
11 is a flowchart showing a subroutine of first sensor pulse detection interrupt processing shown in FIG. 7. FIG.

【図12】図7に示す第1センサパルス検出割込処理の
サブルーチンを示すフローチャートである。
FIG. 12 is a flowchart showing a subroutine of first sensor pulse detection interrupt processing shown in FIG. 7.

【図13】図2に示す窓ガラスの全閉領域と挟み込み検
出領域との境界位置を示す説明図である。
FIG. 13 is an explanatory diagram showing a boundary position between a fully closed area and an entrapment detection area of the window glass shown in FIG.

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

11 モータ 15 マイクロコンピュータ 15a CPU 15b RAM 15c ROM 15A1 〜15An 位置カウンタ手段 15B 開閉位置判定手段 15C 回転方向検出手段 15D 比較手段 15E カウント値補正手段 15F パルス無状態検出手段 15G 第2カウント値補正手段 15H 検出領域判別手段 15J 挟み込み検出手段 311 〜31n パルス信号出力手段 51 窓ガラス C1 〜Cn カウント値 P1 〜Pn パルス信号11 Motor 15 Microcomputer 15a CPU 15b RAM 15c ROM 15A 1 to 15A n Position Counter Means 15B Opening / Closing Position Determining Means 15C Rotation Direction Detecting Means 15D Comparing Means 15E Count Value Correcting Means 15F Pulse No State Detecting Means 15G Second Counting Value Correcting Means 15H Detection area discrimination means 15J Entrapment detection means 31 1 to 31 n pulse signal output means 51 Window glass C 1 to C n count value P 1 to P n pulse signal

フロントページの続き (72)発明者 小見山 武 東京都港区芝五丁目33番8号 三菱自動車 工業株式会社内 (72)発明者 五十棲 正 静岡県榛原郡榛原町布引原206の1 矢崎 部品株式会社内Front page continuation (72) Inventor Takeshi Omiyama 3-5-8 Shiba, Minato-ku, Tokyo Mitsubishi Motors Corporation (72) Inventor Tadashi Izumi, 206-1 Nunobikihara, Haibara-cho, Harahara-gun, Shizuoka Prefecture Parts Yazaki Within the corporation

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 モータにより窓ガラスを開閉させるパワ
ーウィンドの窓ガラス開閉位置検出装置であって、 前記モータの回転に同期したパルス信号を出力する複数
組のパルス信号出力手段と、 前記各パルス信号の出力パルス数を前記モータの回転方
向に応じてそれぞれアップダウンカウントする、前記各
パルス信号出力手段に対応した組数の位置カウンタ手段
と、 前記各位置カウンタ手段のカウント値を基に前記窓ガラ
スの開閉位置を判定する開閉位置判定手段と、 を備えることを特徴とするパワーウィンドの窓ガラス開
閉位置検出装置。
1. A power window window opening / closing position detecting device for opening / closing a window glass by a motor, comprising a plurality of sets of pulse signal output means for outputting a pulse signal synchronized with the rotation of the motor, and each of the pulse signals. The number of output pulses of each of them is up-down counted according to the rotation direction of the motor, and the position counter means of the number of sets corresponding to each pulse signal output means, and the window glass based on the count value of each position counter means An opening / closing position determination device for determining the opening / closing position of the power window, and an opening / closing position detection device for a power window.
【請求項2】 前記複数組のパルス信号出力手段は、前
記パルス信号を互いに所定角度ずつ位相をずらして出力
するように構成されており、これら複数組のパルス信号
出力手段からの前記パルス信号に基づいて前記モータの
回転方向を検出する回転方向検出手段をさらに備え、前
記各位置カウンタ手段は、前記回転方向検出手段が検出
する前記モータの回転方向に応じて前記各パルス信号の
出力パルス数をアップダウンカウントする請求項1記載
のパワーウィンドの窓ガラス開閉位置検出装置。
2. The plurality of sets of pulse signal output means are configured to output the pulse signals with their phases shifted by a predetermined angle from each other, and output the pulse signals from the plurality of sets of pulse signal output means. Rotation direction detecting means for detecting the rotation direction of the motor based on the rotation direction detecting means is further provided, and each position counter means determines the number of output pulses of each pulse signal according to the rotation direction of the motor detected by the rotation direction detecting means. The window glass opening / closing position detecting device for a power window according to claim 1, which counts up / down.
【請求項3】 前記各位置カウンタ手段のカウント値ど
うしを比較する比較手段と、該比較手段の比較結果に応
じ、前記各位置カウンタ手段のうち前記カウント値が最
小の位置カウンタ手段のカウント値と合致するように、
他の位置カウンタ手段のカウント値を補正するカウント
値補正手段をさらに備える請求項1又は2記載のパワー
ウィンドの窓ガラス開閉位置検出装置。
3. A comparing means for comparing the count values of the respective position counter means with each other, and a count value of the position counter means having the smallest count value among the position counter means according to a comparison result of the comparing means. To match
3. A window glass opening / closing position detecting device for a power window according to claim 1, further comprising count value correcting means for correcting the count value of another position counter means.
【請求項4】 前記複数組のパルス信号出力手段のうち
一部のパルス信号出力手段からの前記パルス信号の無出
力状態を検出するパルス無状態検出手段と、該パルス無
状態検出手段の検出結果に応じて前記各位置カウンタ手
段のカウント値を補正する第2カウント値補正手段とを
さらに備える請求項1、2又は3記載のパワーウィンド
の窓ガラス開閉位置検出装置。
4. A pulse non-state detecting means for detecting a non-output state of the pulse signal from a part of the pulse signal outputting means of the plurality of sets of pulse signal outputting means, and a detection result of the pulse non-state detecting means. The window glass open / closed position detection device for the power window according to claim 1, 2 or 3, further comprising a second count value correction means for correcting the count value of each position counter means according to the above.
【請求項5】 前記各位置カウンタ手段のカウント値
が、前記窓ガラスによる異物の挟み込みの有無を検出す
る所定の検出領域の範囲内に相当する値であるか否かを
判別する検出領域判別手段と、該検出領域判別手段の判
別結果に応じ、前記窓ガラスによる異物の挟み込みの有
無を検出する挟み込み検出手段とをさらに備える請求項
1、2、3又は4記載のパワーウィンドの窓ガラス開閉
位置検出装置。
5. A detection area discriminating means for discriminating whether or not the count value of each of the position counter means is a value corresponding to a range of a predetermined detection area for detecting the presence or absence of a foreign substance sandwiched by the window glass. The window opening / closing position of the power window according to claim 1, 2, 3 or 4, further comprising: an entrapment detection unit that detects the presence or absence of an entrapment of a foreign substance by the window glass according to the determination result of the detection area determination unit. Detection device.
JP02616195A 1995-01-20 1995-01-20 Window opening / closing position detector for power windows Expired - Fee Related JP3282124B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02616195A JP3282124B2 (en) 1995-01-20 1995-01-20 Window opening / closing position detector for power windows

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02616195A JP3282124B2 (en) 1995-01-20 1995-01-20 Window opening / closing position detector for power windows

Publications (2)

Publication Number Publication Date
JPH08199907A true JPH08199907A (en) 1996-08-06
JP3282124B2 JP3282124B2 (en) 2002-05-13

Family

ID=12185839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02616195A Expired - Fee Related JP3282124B2 (en) 1995-01-20 1995-01-20 Window opening / closing position detector for power windows

Country Status (1)

Country Link
JP (1) JP3282124B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002528315A (en) * 1998-10-21 2002-09-03 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for electronically monitoring and controlling the opening and closing process of an electrically driven assembly
JP2009262930A (en) * 2009-06-25 2009-11-12 Aisin Seiki Co Ltd Opening cover material opening/closing control device
JP2010188997A (en) * 2010-03-26 2010-09-02 Aisin Seiki Co Ltd Opening/closing control device for opening covering material
CN103161379A (en) * 2011-12-15 2013-06-19 华创车电技术中心股份有限公司 Anti-pinch car window system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002528315A (en) * 1998-10-21 2002-09-03 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for electronically monitoring and controlling the opening and closing process of an electrically driven assembly
JP2009262930A (en) * 2009-06-25 2009-11-12 Aisin Seiki Co Ltd Opening cover material opening/closing control device
JP4596079B2 (en) * 2009-06-25 2010-12-08 アイシン精機株式会社 Opening / closing control device for opening covering material
JP2010188997A (en) * 2010-03-26 2010-09-02 Aisin Seiki Co Ltd Opening/closing control device for opening covering material
CN103161379A (en) * 2011-12-15 2013-06-19 华创车电技术中心股份有限公司 Anti-pinch car window system

Also Published As

Publication number Publication date
JP3282124B2 (en) 2002-05-13

Similar Documents

Publication Publication Date Title
EP0945953B1 (en) Method of detecting pinching of object of power window apparatus
JP2005351042A (en) Opening and closing body control device
JP2016160574A (en) Device and method for controlling opening/closing member
US20040065498A1 (en) Trapping detection device of opening/closing member
US6408238B1 (en) Method and apparatus of controlling a sliding roof
JPH11270230A (en) Method for detecting material pinched in window equipment
JPH08199907A (en) Detector of opening and closing position of window glass of power window
JP3405486B2 (en) Power window jam detector
JP2845427B2 (en) Window opener
JPH0762947A (en) Power window control device
JP3090034B2 (en) Power window equipment
JP2942127B2 (en) Power window drive control device
JP3309364B2 (en) Power window jam detector
JP3675622B2 (en) Power window device pinching detection method
JPH0512464Y2 (en)
JPH10262385A (en) Window switching controller
JPH0921273A (en) Opening/closing control device for opening/closing body
JP2823554B2 (en) Window opener
JP3211928B2 (en) Power window equipment
JPH08199903A (en) Device for detecting catching of foreign matter in power window
JP2823553B2 (en) Window opener
JP2736009B2 (en) Opening / closing body drive control device
JP2818108B2 (en) Opening / closing body drive control device
JPH0596372U (en) Power window safety equipment
JP3470447B2 (en) Opening / closing control device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020115

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090301

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100301

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees