JP2687847B2 - Window opening and closing control device - Google Patents

Window opening and closing control device

Info

Publication number
JP2687847B2
JP2687847B2 JP5201257A JP20125793A JP2687847B2 JP 2687847 B2 JP2687847 B2 JP 2687847B2 JP 5201257 A JP5201257 A JP 5201257A JP 20125793 A JP20125793 A JP 20125793A JP 2687847 B2 JP2687847 B2 JP 2687847B2
Authority
JP
Japan
Prior art keywords
window
moving speed
closing
opening
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5201257A
Other languages
Japanese (ja)
Other versions
JPH06123188A (en
Inventor
ゆみ 堤
康弘 堤
勉 石田
哲也 福本
伸夫 長坂
勝行 稲毛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP5201257A priority Critical patent/JP2687847B2/en
Publication of JPH06123188A publication Critical patent/JPH06123188A/en
Application granted granted Critical
Publication of JP2687847B2 publication Critical patent/JP2687847B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、窓の開閉制御装置に関
するもので、例えば、自動車のパワーウインドウの開閉
を制御し、異物の挟み込みの検出を行うに適した装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a window opening / closing control device, for example, to a device suitable for controlling the opening / closing of a power window of an automobile and detecting the entrapment of foreign matter.

【0002】[0002]

【従来の技術】自動車の窓(ウインドウガラス)を、電
動装置により開閉するパワーウインドウにおいて、その
窓を閉めている途中に窓と窓枠との間に異物が挟まった
時には、挟まった異物並びに電動装置の保護等のため
に、その挟み込みを検知し、その検知信号に基づいて警
報発生や、窓の強制開放等の所定の処理を行うものがあ
る。
2. Description of the Related Art In a power window for opening and closing an automobile window (window glass) by an electric device, when a foreign object is caught between the window and the window frame while the window is being closed, the caught foreign object and the electric power In order to protect the device, there is a device that detects the entrapment and performs a predetermined process such as issuing an alarm or forcibly opening a window based on the detection signal.

【0003】その一例を示すと、例えば特公昭63−1
18483号に開示された警報回路を備えた自動ドア開
閉装置がある。すなわち、この装置は、窓の開動作に要
した時間を記憶し、一方で、閉動作開始から窓を駆動す
るモータが、窓が全閉する(窓の状態が窓枠上端に達す
る)か、異物の挟み込みにより停止するに至る時間をモ
ータへの供給電流を監視することで計測し、前記開動作
に要した時間と比較し、ある程度以上閉動作に要する時
間が短い場合に異物の挟み込みがあったと認識し、警報
を発することで挟み込みによる事故を防止するようにし
ている。
As an example, for example, Japanese Examined Patent Publication Sho 63-1
There is an automatic door opening / closing device having an alarm circuit disclosed in No. 18483. That is, this device stores the time required for the opening operation of the window, while the motor that drives the window from the start of the closing operation closes the window (the state of the window reaches the upper end of the window frame), The time required to stop due to the entrapment of foreign matter is measured by monitoring the current supplied to the motor, and compared with the time required for the opening operation. By recognizing this, an alarm is issued to prevent accidents due to trapping.

【0004】[0004]

【発明が解決しようとする課題】しかし、上記した従来
の装置では、開動作時に要した時間と閉動作時に要する
時間を比較するようにしているが、窓の滑り(開閉移
動)具合が開と閉では必ずしも同じではなく、そのずれ
具合は各窓(装置)により異なることが多々有る。従っ
て、各種の窓に正常に動作させるためには、判断基準と
なる時間に所定のマージンを取っておく必要がある。そ
の結果、実際に異物を挟み込んでから、警告等を発する
までに一定の時間がかかってしまうために、人体が挟み
込まれた場合には、一定の時間挟み込まれたままの状態
が続くため、その間に重大な損傷を生じるおそれがあ
る。
However, in the above-mentioned conventional device, the time required for the opening operation is compared with the time required for the closing operation. It is not always the same when closed, and the degree of deviation often differs depending on each window (device). Therefore, in order to operate normally on various windows, it is necessary to set a predetermined margin for the time that is the criterion. As a result, it takes a certain amount of time from when a foreign object is actually caught until a warning is issued, so when a human body is caught, the state of being pinched continues for a certain period of time. May cause serious damage to

【0005】また、上記従来の装置では、窓(の上端)
の位置は不明であるとともに、上記上昇・下降のずれな
どにより途中(半閉状態)の状態で開・閉動作が繰り返
し行われるような場合には適用することができなかっ
た。
Further, in the above conventional device, the window (upper end) is
The position of is unknown, and it could not be applied to the case where the opening / closing operation is repeatedly performed in the middle (semi-closed state) due to the above-mentioned deviation of rising / falling.

【0006】さらには、経年変化により滑らかに動かな
い部分が生じ、窓の閉動作時にその滑らかに動かない部
分により一時的に窓の開動作が停止(或いは移動速度が
低下)した場合には、それを異物と誤判別するおそれも
ある。さらには、例えば窓並びに窓枠等に霜等が付着
し、その付着した霜等による引っ掛かりでスムーズな窓
の開閉動作ができない場合にも、上記と同様の理由から
誤動作するおそれがある。
Further, when a portion that does not move smoothly occurs due to aging, and the opening operation of the window is temporarily stopped (or the moving speed decreases) due to the portion that does not move smoothly when the window is closed, There is also a risk of misidentifying it as a foreign substance. Further, for example, even when frost or the like adheres to the window and the window frame and the smooth opening / closing operation of the window cannot be performed due to being caught by the adhered frost or the like, there is a possibility that the window may malfunction.

【0007】本発明は、上記した背景に鑑みてなされた
もので、その目的とするところは、たとえ窓の固体差や
経年変化等があったとしても、異物の挟み込みか否かの
判別を正確に行うことができ、また、係る挟み込み発生
からできるだけ速く判定することができ、さらにまた、
窓の途中から閉動作を行うような場合でも適用すること
のできる窓の開閉制御装置を提供することにある。
The present invention has been made in view of the above background, and an object of the present invention is to accurately determine whether or not a foreign substance is caught even if there is a difference in the windows or a secular change. Can be carried out, and it is possible to determine as quickly as possible from the occurrence of such entrapment.
An object of the present invention is to provide a window opening / closing control device that can be applied even when the closing operation is performed from the middle of the window.

【0008】[0008]

【課題を解決するための手段】上記した目的を達成する
ために、本発明に係る窓の開閉制御装置では、窓の開閉
を行う駆動手段と、前記窓を強制的に閉じさせるための
強制スイッチと、閉まる窓による異物の挟み込みの有無
を学習手段の学習結果に基づいて検出する挟み込み検出
手段と、前記挟み込み検出手段が挟み込み有りと出力し
て前記窓を開ける動作をした時に、所定の強制スイッチ
がオンされた場合には窓を閉めるように前記駆動手段を
制御する制御手段と、前記窓が閉まりつつある時に前記
窓の閉まる状態に関する特徴量を抽出し所定の記憶エリ
アに記憶させる特徴量抽出手段と、前記窓が閉まった後
に前記特徴量抽出手段によって前記記憶エリアに格納さ
れた特徴量を用いて前記窓が閉まりつつある状態が異物
挟み込み無しの状態であるとして学習を行う学習手段と
を備えた。
In order to achieve the above object, in a window opening / closing control device according to the present invention, a driving means for opening / closing the window and a compulsory switch for forcibly closing the window. And a pinching detection unit that detects the presence or absence of a foreign object being pinched by the closing window based on the learning result of the learning unit, and a predetermined force switch when the pinching detection unit outputs the pinching presence and opens the window. Control means for controlling the driving means so as to close the window when is turned on, and feature quantity extraction for extracting the feature quantity relating to the closed state of the window when the window is closing and storing it in a predetermined storage area Means and a state in which the window is closing using the feature quantity stored in the storage area by the feature quantity extracting means after the window is closed is a state in which no foreign matter is caught. And a learning means for performing learning as is.

【0009】また、迅速に判定する目的を達成するため
の手段としては、窓の開閉を行う駆動手段と、上昇移動
する窓の移動速度を検出する移動速度検出手段と、前記
移動速度検出手段により検出された前記移動速度から前
記駆動手段の駆動電圧を推定する駆動電圧推定手段と、
前記窓の位置を検出する窓位置検出手段と、前記移動速
度が、少なくとも前記推定された駆動電圧に基づいて決
定される閾値以下になった時の窓位置データから異物の
挟み込みの有無を判断する判定手段とから構成すること
である。
As means for achieving the purpose of quick determination, a drive means for opening and closing the window, a moving speed detecting means for detecting the moving speed of the ascending window, and the moving speed detecting means are used. Drive voltage estimation means for estimating the drive voltage of the drive means from the detected moving speed,
A window position detection unit that detects the position of the window and a window position data when the moving speed becomes equal to or lower than a threshold value determined based on at least the estimated drive voltage are used to determine the presence or absence of a foreign object. It is composed of a judging means.

【0010】また、窓の開閉を行う駆動手段と、上昇移
動する窓の移動速度を検出する移動速度検出手段と、前
記移動速度が、少なくとも前記移動速度検出手段より検
出された移動速度の最大値に基づいて決定される第1の
基準値から第2の基準値になるまでに要する時間を計測
する手段と、前記計測された時間が所定の閾値以下にな
った時に異物の挟み込みありと判断する判定手段とから
構成してもよい。
Further, the driving means for opening and closing the window, the moving speed detecting means for detecting the moving speed of the ascending window, and the moving speed at least the maximum value of the moving speed detected by the moving speed detecting means. Means for measuring the time required to reach the second reference value from the first reference value determined based on the above, and it is determined that a foreign substance is trapped when the measured time becomes equal to or less than a predetermined threshold value. You may comprise with a determination means.

【0011】さらに、窓の途中から閉動作を行うような
場合でも正確に適用するという目的を達成するための手
段としては、前記窓の位置情報に基づいて、現在の窓の
閉動作が全開状態からのものか否かを判断し、全開状態
からの場合には前記算出された移動速度の最大値または
駆動電圧を記憶する記憶手段を備え、現在の窓の閉動作
が半閉状態からのものである場合には、前記記憶手段に
格納された前記移動速度の最大値または駆動電圧に基づ
いて上記の判定処理を行うようにした。
Further, as means for achieving the purpose of accurately applying even when the closing operation is performed from the middle of the window, the current closing operation of the window is in the fully open state based on the position information of the window. If it is from the fully open state, it is provided with a storage means for storing the calculated maximum value of the moving speed or the driving voltage, and the current window closing operation is from the semi-closed state. If it is, the above determination processing is performed based on the maximum value of the moving speed or the drive voltage stored in the storage means.

【0012】[0012]

【作用】駆動手段を作動させて窓の開閉を行う。そし
て、窓の閉動作時にその動作状況を検出し、予め作成さ
れた学習結果から異物の挟み込みの有無が、挟み込み検
出手段により判別される。そして、挟み込みを検知する
と、窓を開放すべく駆動手段を制御する。また、挟み込
みを生じることなく窓が全閉されたなら、その時の窓の
閉動作時の状況に関する特徴量を特徴量抽出手段にて抽
出し(実際には閉動作時に抽出し、記憶エリアに格納し
ている)、それに基づいて学習手段にて知識の修正を行
い、その学習結果を記憶エリアに格納し、次の挟み込み
検出に備える。これにより、挟み込みと検出しない程度
の窓の移動状況の変化に対し、現在のそれに即した判定
基準が作成され、誤判別の可能性が減少する。
Operation: The drive means is operated to open and close the window. Then, when the window is closed, the operating condition thereof is detected, and the presence or absence of a foreign object is caught by the entrapment detecting means based on the learning result created in advance. When the pinch is detected, the drive means is controlled to open the window. Further, if the window is fully closed without being pinched, the characteristic amount relating to the situation at the time of the closing operation of the window at that time is extracted by the characteristic amount extraction means (actually, it is extracted at the time of closing operation and stored in the storage area. Based on this, the learning means corrects the knowledge, stores the learning result in the storage area, and prepares for the next entrapment detection. As a result, with respect to the change in the movement state of the window that is not detected as being pinched, a determination standard that matches the current situation is created, and the possibility of erroneous determination is reduced.

【0013】一方、挟み込み検出手段にて誤判別があっ
た場合、強制スイッチがオンされ、窓が再び閉動作に移
される。そして、強制的に窓が全閉されたなら、この閉
動作時の特徴量に基づいて、学習手段により新たな判定
基準等を求め、記憶エリアに格納する。これにより、誤
判別を教示するとともに、その誤判別と判断した状況
は、挟み込みではないとして学習されるため、再度略同
一の状況が発生したとしても挟み込みありと判別するこ
とはない。
On the other hand, if the entrapment detection means makes an erroneous determination, the compulsory switch is turned on and the window is again closed. Then, if the window is forcibly fully closed, a new determination criterion or the like is obtained by the learning means based on the feature amount at the time of the closing operation and stored in the storage area. As a result, the misjudgment is taught, and the situation judged to be the misjudgment is learned as not the entrapment. Therefore, even if the substantially same situation occurs again, the entrapment is not judged.

【0014】また、上記した迅速に判定処理をするため
の手段では、窓の移動速度を検出し、その移動速度の最
大値(駆動電圧)に基づいて適切な判定閾値を設定す
る。さらに窓位置も同時に検出する。そして、移動速度
が上記判定閾値を切ったときの窓位置を見ることにより
挟み込みの有無を判定する。また、上記判定閾値として
第1,第2の基準値という2つの値をもち、移動速度が
それら第1の基準値から第2の基準値に低下するまでの
時間を計測し、その時間が所定の閾値(基準時間)以下
の時には挟み込みありと判断する。そして、この場合も
上記基準時間や各基準値は、移動速度の最大値(駆動電
圧)に基づいて決定される。すなわち、判定時の動作状
況に応じて判定基準(閾値)が適宜設定されるため、誤
判別を防止するために予め余分なマージンを取っておく
必要もなく、迅速に判定処理される。
Further, in the above-mentioned means for performing the rapid determination processing, the moving speed of the window is detected, and an appropriate determination threshold value is set based on the maximum value (driving voltage) of the moving speed. Furthermore, the window position is also detected at the same time. Then, the presence or absence of pinching is determined by looking at the window position when the moving speed falls below the determination threshold value. Further, the determination threshold has two values, a first reference value and a second reference value, and the time until the moving speed decreases from the first reference value to the second reference value is measured. When it is less than or equal to the threshold value (reference time) of, it is determined that there is jamming. Also in this case, the reference time and each reference value are determined based on the maximum value (driving voltage) of the moving speed. That is, since the determination standard (threshold value) is appropriately set according to the operating condition at the time of determination, it is not necessary to take an extra margin in advance to prevent erroneous determination, and the determination process is performed quickly.

【0015】さらに、全開状態から閉動作を行った時の
最大移動速度などを記憶する手段を設けた場合には、仮
に窓位置が途中にある(半閉)状態から閉動作を行うよ
うな場合であっても、その時の駆動電圧に応じた閾値を
決定し、それに基づいて判定処理することができる。
Further, when a means for storing the maximum moving speed when the closing operation is performed from the fully opened state is provided, if the closing operation is performed from the state where the window position is in the middle (half closed) Even in this case, the threshold value can be determined according to the driving voltage at that time, and the determination process can be performed based on the threshold value.

【0016】[0016]

【実施例】以下、本発明に係る窓の開閉制御装置の好適
な実施例を添付図面を参照にして詳述する。図1〜図9
は、本発明の第1実施例を示し、本例では自動車1に設
けられた窓(ウインドウガラス)2の開閉を自動的(電
動)により行うパワーウインドウシステムに適用した例
を示している。すなわち、図1に示すように、パワーウ
インドウシステムは、周知のごとくウインドウモータ3
の出力を、回転運動を直線運動に変換する動力伝達機構
4を介して窓2に伝えるようになっている。そして、ウ
インドウモータ3を正逆回転することにより、窓2を下
降(開動作)/上昇(閉動作)させるようになってい
る。そして、このウインドウモータ3並びに動力伝達機
構4により、窓の開閉を行う駆動手段を構成している。
なお、本例では便宜上正方向回転した時に開動作を行う
ものとする。そして、本発明は、窓2の閉動作時に、そ
の窓2と窓枠5との間に異物を挟み込んだ時に、それを
正確に検知し、その検知結果に基づいて窓2を開動作に
移行する開閉制御装置である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of a window opening / closing control device according to the present invention will be described in detail below with reference to the accompanying drawings. 1 to 9
Shows a first embodiment of the present invention, and in the present embodiment, an example applied to a power window system that automatically (electrically) opens and closes a window (window glass) 2 provided in an automobile 1. That is, as shown in FIG. 1, the power window system includes a window motor 3 as is well known.
Is transmitted to the window 2 via the power transmission mechanism 4 for converting the rotational movement into the linear movement. By rotating the window motor 3 forward and backward, the window 2 is lowered (opening operation) / raising (closing operation). The window motor 3 and the power transmission mechanism 4 constitute a driving means for opening and closing the window.
In this example, the opening operation is performed when rotating in the forward direction for convenience. Then, according to the present invention, when a foreign object is sandwiched between the window 2 and the window frame 5 during the closing operation of the window 2, the foreign object is accurately detected, and the window 2 is moved to the opening operation based on the detection result. It is an opening / closing control device.

【0017】ここで本発明では、図2に示すように、各
ウインドウモータ3の出力は、モータ回転数検出センサ
10に接続し、このモータ回転数検出センサ10によ
り、ウインドウモータ3の回転状況、より具体的には単
位回転角度あたり1個のパルスが出力し、コントローラ
11に送るようになっている。このコントローラ11
は、後述するように、与えられた各種データに基づい
て、窓2の閉動作時に異物の挟み込みがあるとそれを検
知し、所定の制御信号をウインドウモータ3に送る機能
を有する。また、このコントローラ11には、通常の窓
2に対する開閉命令を発するためのコントロールスイッ
チ12が接続されており、このスイッチ12のオンオフ
にしたがって、コントローラ11が所定のウインドウモ
ータ3を正方向回転或いは逆方向回転させて窓の開閉を
行うようになっている。なお、このコントロールスイッ
チ11は、具体的な図示は省略するが、周知のごとく扉
の内面所定位置などに設置されている。
Here, in the present invention, as shown in FIG. 2, the output of each window motor 3 is connected to a motor rotation speed detection sensor 10, and the rotation status of the window motor 3 is detected by this motor rotation speed detection sensor 10. More specifically, one pulse is output per unit rotation angle and sent to the controller 11. This controller 11
As will be described later, has a function of detecting the presence of a foreign substance trapped during the closing operation of the window 2 based on various supplied data, and sending a predetermined control signal to the window motor 3. Further, a control switch 12 for issuing an opening / closing command for a normal window 2 is connected to the controller 11, and the controller 11 rotates a predetermined window motor 3 in a forward direction or a reverse direction according to ON / OFF of the switch 12. The window is opened and closed by rotating the direction. Although not specifically shown, the control switch 11 is installed at a predetermined position on the inner surface of the door as is well known.

【0018】さらに、ハイパワースイッチ13を有し、
このスイッチ13をオンにするとコントローラ11によ
る判定結果の如何に関係なく強制的に窓2を閉じること
ができるようになっている。そして、このハイパワース
イッチ13を設けたことにより、たとえ誤判別により異
物の挟み込み有りと判断され、窓2の開動作が行われよ
うとしても確実に閉動作を行い、窓2を閉めるととも
に、コントローラ11に対して誤判別を行ったことを教
示することができる。
Further, it has a high power switch 13,
When the switch 13 is turned on, the window 2 can be forcibly closed regardless of the determination result by the controller 11. Further, by providing the high power switch 13, even if it is determined that foreign matter is trapped due to misjudgment and the opening operation of the window 2 is attempted, the closing operation is surely performed to close the window 2 and the controller. It can be instructed that 11 is misjudged.

【0019】そして、このコントローラ11は、上記誤
判別の教示にともない、自己の有する知識を修正し、次
回の判別処理に備える機能も有している。これにより、
固体差や経年変化,霜の付着に対して即座に対応し、そ
の窓の状態に応じた判別処理を行うことができ、誤判別
することがなくなる。さらにまた、車載バッテリー14
の出力電圧値をバッテリー電圧検出センサ15,A/D
変換器16を介してコントローラ11に入力するように
なっている。
The controller 11 also has a function of correcting its own knowledge in accordance with the teaching of the above erroneous discrimination and preparing for the next discrimination processing. This allows
Immediate response to individual differences, changes over time, and adhesion of frost can be performed, and discrimination processing according to the state of the window can be performed, and erroneous discrimination is eliminated. Furthermore, the in-vehicle battery 14
Output voltage value of the battery voltage detection sensor 15, A / D
It is adapted to be input to the controller 11 via the converter 16.

【0020】次に、上記各機能を発揮するためのコント
ローラ11の構成について説明する。図3に示すよう
に、モータ回転数検出センサ10により検出したウイン
ドウモータ3の回転に伴い発生するモータパルスが、コ
ントローラ11内のハイパワースイッチ判定部20に送
られる。このハイパワースイッチ判定部20には、ハイ
パワースイッチ13のオン/オフ信号も入力されてお
り、このスイッチ信号がオフの時には上記モータパルス
数が次段の特徴量抽出部21に送られ、この特徴量抽出
部21で抽出された特徴量が挟み込み判別部22に送ら
れ、ここにおいて与えられた特徴量に基づいて窓2と窓
枠5との間で異物、より具体的には人体の一部が挟み込
まれたか否かを判別するようになっている。
Next, the structure of the controller 11 for exhibiting the above functions will be described. As shown in FIG. 3, the motor pulse generated by the rotation of the window motor 3 detected by the motor rotation speed detection sensor 10 is sent to the high power switch determination unit 20 in the controller 11. An ON / OFF signal of the high power switch 13 is also input to the high power switch determination unit 20, and when the switch signal is OFF, the motor pulse number is sent to the feature amount extraction unit 21 in the next stage. The feature amount extracted by the feature amount extraction unit 21 is sent to the entrapment determination unit 22, and based on the feature amount given here, a foreign substance, more specifically, one of the human body, is present between the window 2 and the window frame 5. It is designed to determine whether or not the part is sandwiched.

【0021】また、ハイパワースイッチ13がオンされ
ていた場合には、ハイパワースイッチ判定部20から、
所定のウインドウモータ3に対して窓2に対し閉動作を
行うべく制御信号を発する。すなわち、このハイパワー
スイッチ13が本発明の駆動手段を制御する制御手段を
構成している。また、これと同時に、与えられたモータ
パルス数などのデータを特徴量抽出部23に送るように
なっている。そして、この特徴量抽出部23において
も、上記の特徴量抽出部21と同様に、閉動作時に生じ
る所定の特徴量を抽出するようになっている。なお上記
特徴量抽出部21,23並びに挟み込み判別部22に
は、現在のバッテリ14の電圧値Vnow が入力されるよ
うになっている。
When the high power switch 13 is turned on, the high power switch determination unit 20
A control signal is issued to the predetermined window motor 3 to close the window 2. That is, the high power switch 13 constitutes a control means for controlling the driving means of the present invention. At the same time, data such as the given number of motor pulses is sent to the feature quantity extraction unit 23. Then, also in the feature quantity extraction unit 23, similar to the feature quantity extraction unit 21 described above, a predetermined feature quantity generated during the closing operation is extracted. The current voltage value Vnow of the battery 14 is input to the feature amount extraction units 21 and 23 and the entrapment determination unit 22.

【0022】さらに本例では、上記特徴量抽出部21並
びに挟み込み判別部22における各種処理の前提として
窓2の開閉される空間をその窓2の位置を基準に、下記
表に示すごとく複数の領域に分け、各領域に応じて処理
を行っている。これにより、同一の領域内では、同一の
閾値を用いて挟み込みの有無の判断を行うことができ、
使用するメモリ容量を減少させ、1つのCPUで複数の
窓を制御することを可能としている。なお、窓位置の検
出は、発生するモータパルス数のトータル値から求めら
れる。
Further, in this example, as a premise of various processes in the feature amount extraction unit 21 and the entrapment determination unit 22, the open / closed space of the window 2 is divided into a plurality of regions based on the position of the window 2 as shown in the following table. The processing is performed according to each area. With this, in the same region, it is possible to determine whether or not there is a pinch using the same threshold value.
By reducing the memory capacity used, it is possible to control multiple windows with one CPU. The window position can be detected from the total number of generated motor pulses.

【0023】[0023]

【表1】 まず、特徴量抽出部21は、図4に示すフローチャート
図にしたがって処理されるもので、まず、計測区間(サ
ンプリングタイム)内に発生したパルス数を読み込み、
Pls(j)とする(S101)。そして、そのPls
(j)をPmaxと比較し(S102)、大きい時には次
の処理ステップ103に行き、小さい時にはステップ1
04に飛ぶことになる。
[Table 1] First, the feature quantity extraction unit 21 is processed according to the flowchart shown in FIG. 4. First, the number of pulses generated in the measurement section (sampling time) is read,
Pls (j) (S101). And that Pls
(J) is compared with Pmax (S102), and when it is larger, the process proceeds to the next processing step 103, and when it is smaller, step 1
I will fly to 04.

【0024】ここで、Pmax とは、max法に基づく閾
値(パルス数)であり、具体的には、過去に発生したそ
の領域における最大パルス数であり、RAMやD−RA
M等からなる記憶エリアたる記憶部24に格納されてい
る。そして、初期設定としては、適当な値をセットした
り或いは0に設定しておくことにより、対応できる。す
なわち、制御開始当初は、記憶部24に格納されている
Pmax の値が0または小さいため、後述するごとく結局
最初に抽出したパルス数Pls(1)がPmaxとな
る。
Here, Pmax is a threshold value (the number of pulses) based on the max method, specifically, the maximum number of pulses in the area that has occurred in the past, such as RAM or D-RA.
It is stored in the storage unit 24 which is a storage area composed of M and the like. Then, as an initial setting, it can be dealt with by setting an appropriate value or setting it to 0. That is, since the value of Pmax stored in the storage unit 24 is 0 or small at the beginning of control, the number of pulses Pls (1) initially extracted eventually becomes Pmax, as described later.

【0025】そして、上記ステップ102の判断で大き
いと判断されたなら、今回読み込んだPls(j)を新
たなPmax として書き込む。また、この新たに設定され
たPmax に基づいて、その値より所定の割合だけ小さな
数値を求め、挟み込みの検出に用いられる閾値Pth max
とする(S103)。
If it is judged to be large in the judgment at step 102, Pls (j) read this time is written as a new Pmax. Further, based on the newly set Pmax, a numerical value smaller than that value by a predetermined ratio is obtained, and the threshold value Pth max used for detection of entrapment is obtained.
(S103).

【0026】そして、かかる処理終了後、或いは、ステ
ップ102の判断でPls(j)の方が小さいと判断さ
れたなら、時間内移動距離から現在の窓位置WPを算出
する(S104)。すなわち、ウインドウモータ3の回
転数と窓2の上昇量は比例するため、回転数に比例する
パルス数の総和をとることにより簡単に求められる。
After this processing is completed, or if it is determined in step 102 that Pls (j) is smaller, the current window position WP is calculated from the in-time moving distance (S104). That is, since the number of revolutions of the window motor 3 is proportional to the amount of rise of the window 2, it can be easily obtained by taking the sum of the number of pulses proportional to the number of revolutions.

【0027】次いで、現在の電圧値Vnow を読み込み、
前記読み込んだパルス数Pls(j)をその電圧値で規
格化し、規格化パルス数S(j)を求める(S105,
106)。すなわち、発生するパルス数は、窓の移動速
度に応じて変化するため、例えばエアコンの作動等によ
り負荷変動があると、バッテリ14の電圧も変化し、そ
れにともないウインドウモータ3の回転速度が変動し、
計測区間内に発生するパルス数も変動を生じる。そこ
で、発生したパルス数を電圧値で割って規格化すること
により、電圧変動に対する依存性をなくしている。
Next, the current voltage value Vnow is read,
The read pulse number Pls (j) is standardized by the voltage value to obtain the standardized pulse number S (j) (S105,
106). That is, since the number of pulses generated changes according to the moving speed of the window, if the load changes due to, for example, the operation of the air conditioner, the voltage of the battery 14 also changes, and the rotation speed of the window motor 3 changes accordingly. ,
The number of pulses generated in the measurement section also varies. Therefore, by dividing the number of generated pulses by the voltage value and normalizing it, the dependence on the voltage fluctuation is eliminated.

【0028】そして、窓位置から現在の窓2が属する窓
領域(首,腕,指挟み込み領域等)を判別し、上記規格
化パルス数S(j)を特徴量S*と比較し、所定の条件
に一致したなら、特徴量(パルス数S*,電圧V*)の
更新を行う(S107)。なお、ここでS,Vの添字で
ある「*」は、それぞれ窓が属する窓領域における各特
徴量(基準値)を意味している。したがって、規格化パ
ルス数S(j)が小さい場合には、経年変化等によりそ
の領域において引っ掛かり等が生じて窓2がスムーズに
移動しなくなってきているおそれがあることを意味す
る。よって、基準値を書き替え、現在の状況に即した値
に設定するのである。
Then, the window area to which the current window 2 belongs (neck, arm, finger pinching area, etc.) is discriminated from the window position, and the standardized pulse number S (j) is compared with the feature quantity S * to determine a predetermined value. If the conditions are met, the feature quantity (pulse number S *, voltage V *) is updated (S107). Here, the subscripts “*” of S and V mean each feature amount (reference value) in the window region to which the window belongs. Therefore, when the standardized pulse number S (j) is small, it means that the window 2 may not move smoothly due to catching or the like in that region due to aging or the like. Therefore, the reference value is rewritten and set to a value according to the current situation.

【0029】また、人体挟み込み判別部21は、図5に
示すフローチャート図にしたがって処理されるようにな
っているが、基本原理について説明すると、まず、人体
挟み込みの判別の基準となる閾値は、パルス数とバッテ
リ電圧を利用して決定している。すなわち、窓2の閉動
作時に挟み込みが発生せず、正常に全閉状態となった時
のバッテリ電圧の変化並びにその変化にともない生じた
各窓位置に対する発生するパルス数(測定区間当たりの
発生数)の履歴の一例を示すと図6(A),(B)に示
すようになる。すなわち、上記したごとく電圧が増減す
ると発生するパルス数も増減することがわかる。一方、
腕挟み込み領域で腕の挟み込みを生じたとすると、ある
一定以上は窓2が上昇しなくなるので、ウインドウモー
タ3の回転が減少し、ついには停止するため、発生する
パルス数も減少し0となる。また、電圧の変動にともな
い、正常に閉動作している区間(例えば首挟み込み領
域)におけるパルス数の変化は、上記正常時のものと異
なる(図7(A),(B)参照)。
The human body entrapment discriminating unit 21 is designed to be processed according to the flowchart shown in FIG. 5, but the basic principle will be described. First, the threshold value used as a reference for discriminating the human body entrapment is a pulse. It is determined using the number and battery voltage. That is, when the window 2 is closed, no pinching occurs, and the battery voltage changes when the window 2 is normally fully closed, and the number of pulses generated for each window position due to the change (the number of pulses generated per measurement section). 6A and 6B show an example of the history of FIG. That is, it can be seen that the number of pulses generated increases and decreases as the voltage increases and decreases as described above. on the other hand,
If the arm is pinched in the arm pinching region, the window 2 does not rise for a certain amount or more, so that the rotation of the window motor 3 decreases and finally stops, so that the number of generated pulses also decreases to zero. In addition, the change in the number of pulses in the normally closing section (for example, the neck pinching region) due to the voltage change is different from that in the normal state (see FIGS. 7A and 7B).

【0030】このことに鑑み、現在のバッテリ電圧に併
せた閾値を下記式に基づいて線形近似により求める。な
お、図6(B)中、図中破線で示すのが下記式により算
出されるPth nowであり、また、図中一点鎖線で示すの
が同Pth maxである。すなわち、判定閾値Pth nowは必
ずPth max以下にはならないようにし、挟み込みの検出
の遅れによる事故の発生を抑制している。
In view of this, the threshold value that matches the current battery voltage is obtained by linear approximation based on the following equation. In FIG. 6 (B), the dashed line in the figure is Pth now calculated by the following equation, and the dashed line in the figure is Pth max. That is, the determination threshold value Pth now is not always less than or equal to Pth max, and the occurrence of an accident due to a delay in detection of trapping is suppressed.

【0031】Vnow ≧10[V]の時 Pth now=Pth ref*Vnow /Vref (1) Vnow <10[V]の時 Pth now=Pth max (2) 但し、Pth now:現在の判定閾値(パルス数) Pth ref:基準電圧での判定閾値 Vnow :現在のバッテリ電圧 Vref :バッテリの基準電圧(ex.12V) Pth max:max法にて求められた閾値 であり、記憶部24に格納されている。When Vnow ≧ 10 [V] Pth now = Pth ref * Vnow / Vref (1) When Vnow <10 [V] Pth now = Pth max (2) However, Pth now: current judgment threshold value (pulse Number) Pth ref: Judgment threshold value with reference voltage Vnow: Current battery voltage Vref: Battery reference voltage (ex.12V) Pth max: Threshold value obtained by the max method and stored in the storage unit 24 .

【0032】そして、実際に取り込んだパルス数が上記
各閾値を下回る場合に人体挟み込みであると判定するよ
うになる。そして、具体的には、まず、現在の窓位置W
P(特徴量抽出部21にて算出されている)から、それ
が属する窓領域の閾値Pth refを読み込むとともに、現
在の電圧値Vnow を読み込む(S201,202)。そ
して、読み込んだデータに基づいて、現在の電圧値に合
わせた閾値Pth nowを、上記式(1),(2)に基づい
て算出する(S203)。そして、求めた閾値Pth now
を、特徴量抽出部21で求めたパルス数Pls(j)と
比較し、その大小関係を判断し、Pls(j)の方が小
さい時には人体挟み込みを生じていると判定し、所定の
制御信号を発生するようになっている(S205)。
Then, when the number of actually captured pulses is below each of the above thresholds, it is determined that the human body is trapped. Then, specifically, first, the current window position W
From P (calculated by the feature quantity extraction unit 21), the threshold value Pth ref of the window region to which it belongs is read, and the current voltage value Vnow is read (S201, 202). Then, based on the read data, the threshold value Pth now matched to the current voltage value is calculated based on the above equations (1) and (2) (S203). Then, the obtained threshold Pth now
Is compared with the number of pulses Pls (j) obtained by the feature amount extraction unit 21, and the magnitude relationship is determined. When Pls (j) is smaller, it is determined that human body entrapment has occurred, and a predetermined control signal Is generated (S205).

【0033】そして、人体挟み込みが検出されたなら、
対象となるウインドウモータ3の回転方向を反転し、正
方向回転させてウインドウの開動作を行うようになって
いる。一方、人体の挟み込みを生じないときには、次段
の全閉状態検出部25に送られ、ここにおいて窓2が全
閉されているか否かが判断される。この判断は、パルス
数の総和WPにより窓位置が最上方位置に来たことを検
出できる。そして、全閉状態になったなら、上記特徴量
抽出部21で求めた特徴量を学習部26に送り、ここに
おいて判定閾値の更新並びに判定領域の設定などの知識
の修正を行うようになっている。また、この全閉状態検
出部25には、上記特徴量抽出部23からのデータも与
えられるようになっており、上記同様の処理がなされ
る。
When the human body is detected,
The rotation direction of the target window motor 3 is reversed, and the window motor 3 is rotated in the forward direction to open the window. On the other hand, when the human body is not caught, it is sent to the fully closed state detection unit 25 of the next stage, and it is determined here whether the window 2 is fully closed. This judgment can detect that the window position has reached the uppermost position based on the sum WP of the number of pulses. Then, when the fully closed state is reached, the feature amount obtained by the feature amount extraction unit 21 is sent to the learning unit 26, and the knowledge such as the determination threshold update and the determination region setting is performed here. There is. The fully-closed state detecting unit 25 is also given the data from the feature amount extracting unit 23, and the same processing as described above is performed.

【0034】すなわち、図8に示すフローチャート図に
したがって処理されるが、まず、当初は初期値としてm
ax法に基づいて決定された閾値が設定されている。こ
のことを前提とし、下記式に基づいて窓領域毎に今回の
閾値Pth′*を算出する(S301)。
That is, the processing is performed according to the flow chart shown in FIG. 8. First, m is initially set as the initial value.
The threshold value determined based on the ax method is set. Based on this, the current threshold value Pth ′ * is calculated for each window area based on the following equation (S301).

【0035】Pth′*(k)=S*−X* 但し、*:首領域,腕領域,指領域のいずれか そして、上記式中X*とは、その領域における最小パル
スS*に対する閾値のマージンであり、特徴量抽出部2
1,23で求められ記憶部24に格納されたS*並びに
その時の電圧値V*に基づいて、下記表に示すルールに
したがってファジィ推論処理されて求められる。
Pth ′ * (k) = S * −X * where *: any of neck region, arm region, and finger region, and X * in the above formula is a threshold value for the minimum pulse S * in that region. It is a margin, and the feature amount extraction unit 2
Fuzzy inference processing is performed according to the rules shown in the following table based on S * stored in the storage unit 24 and S * stored in the storage unit 24 and the voltage value V * at that time.

【0036】[0036]

【表2】 そして、全閉状態となったのが、ハイパワースイッチ1
3のオンによる強制実行によりなったか否かが判断され
(S302)、強制実行による場合には今回の閾値に再
設定する(S303)。すなわち、強制実行により閉動
作がされた場合には、誤判別、すなわち現在有している
閾値などの判別を行うための知識データが現在の実情に
沿わないものと判断できるため、最新のデータに書き替
えるのである。
[Table 2] Then, the fully closed state is the high power switch 1
It is determined whether or not the forced execution has been performed by turning on No. 3 (S302), and in the case of forced execution, the current threshold value is reset (S303). That is, when the closing operation is performed by forced execution, it can be determined that the erroneous determination, that is, the knowledge data for determining the currently held threshold value, does not follow the current actual situation. Rewrite.

【0037】一方、強制実行することなく閉じた時に
は、前回までの閾値と今回の閾値との平均を求め、その
平均値を新たな閾値と決定する。そして、決定した新た
な閾値を記憶部24に格納する。但し、算出した新たな
閾値Pth*(k)が、Pth maxよりも小さい時には、P
th maxを新たな閾値として設定する(S304)。すな
わち、余り閾値が小さくなり過ぎると、実際に挟み込み
を生じている時に挟み込みと判別するまでの時間がかか
るため、一定値以上小さくならないようにし、係る自己
の発生を未然に防止している。そして、このような学習
処理(閾値の更新)が終了したなら、窓位置をリセット
し、次の判定並びに学習に備えるようになる(S30
5)。なお、上記した実施例の装置の全体の処理は図9
に示すようになっている。
On the other hand, when the threshold value is closed without being forcedly executed, the average of the threshold value up to the previous time and the threshold value this time is calculated, and the average value is determined as a new threshold value. Then, the determined new threshold value is stored in the storage unit 24. However, when the calculated new threshold Pth * (k) is smaller than Pth max, Pth
th max is set as a new threshold value (S304). In other words, if the threshold value becomes too small, it takes time to determine that the entrapment is occurring when the entrapment is actually occurring. Therefore, it is prevented from becoming smaller than a certain value and the occurrence of such self is prevented in advance. When the learning process (threshold update) is completed, the window position is reset to prepare for the next determination and learning (S30).
5). The overall processing of the apparatus of the above-described embodiment is shown in FIG.
It is shown as follows.

【0038】図10は、本発明の第2実施例を示してい
る。同図に示すように、コントロールスイッチ12′か
らの制御命令(開/閉起動・停止)に基づいてウインド
ウモータ3が正逆回転し、それにともない図示省略する
動力伝達機構により窓が開閉されるようになっている。
係る基本構成は、上記した第1実施例のものと同様であ
る。なお、この図示の例では、便宜上1つのウインドウ
モータに対して示すが、実際には図2に示すように各窓
についてそれぞれウインドウモータ並びにそれに接続さ
れた開閉制御装置が設置される(以下の実施例でも同
じ)。
FIG. 10 shows a second embodiment of the present invention. As shown in the figure, the window motor 3 rotates in the forward and reverse directions based on the control command (open / close start / stop) from the control switch 12 'so that the window is opened / closed by a power transmission mechanism (not shown). It has become.
The basic structure is the same as that of the first embodiment described above. In the illustrated example, one window motor is shown for the sake of convenience, but in reality, as shown in FIG. 2, a window motor and an opening / closing control device connected thereto are installed for each window (see the following embodiment). Same for example).

【0039】そして、ウインドウモータ3の回転数が、
モータ回転数検出センサ10にて検出されるようになっ
ている。本例では、上記した第1実施例と相違してウイ
ンドウモータ3のシャフトが1回転すると、センサ1
0′からパルスが1つ出力するようになっている。すな
わち、出力シャフトの所定位置に、周縁の一か所を所定
角度だけ切除した切欠部を有する円板を同軸上に取り付
けると共に、その円板の周縁に対向して近接センサを設
ける。これにより、図11に示すように、近接スイッチ
が円板の切欠部に対向しているときには、その出力がL
となり、また、それ以外の区間では出力がHとなる。よ
って、定速回転しているときには、LとHの比率が一定
となる。
The number of rotations of the window motor 3 is
It is adapted to be detected by the motor rotation speed detection sensor 10. In this example, unlike the first embodiment described above, when the shaft of the window motor 3 makes one rotation, the sensor 1
One pulse is output from 0 '. That is, at a predetermined position of the output shaft, a disc having a notch formed by cutting a peripheral edge at a predetermined angle is coaxially attached, and a proximity sensor is provided so as to face the peripheral edge of the disc. As a result, as shown in FIG. 11, when the proximity switch faces the cutout portion of the disk, the output is L
In addition, the output becomes H in the other sections. Therefore, the L and H ratios are constant during constant speed rotation.

【0040】ところで、近接センサの出力電圧は、上記
円板の切欠部の境界を通過すると瞬時にその出力が切り
替わるのではなく、同図(A)に示すように、その出力
電圧が徐々に変化することになる。そこで、上記出力電
圧に対して所定のしきい値Vthを用いて比較することに
より、同図(B)に示すように1/0(H/L)が瞬時
に切り替わるパルス波を出力するようにしている。
By the way, the output voltage of the proximity sensor does not change instantaneously when it passes through the boundary of the cutout portion of the disk, but the output voltage gradually changes as shown in FIG. Will be done. Therefore, by comparing the output voltage with a predetermined threshold value Vth, a pulse wave in which 1/0 (H / L) is instantaneously switched is output as shown in FIG. ing.

【0041】そして、係る出力(パルス)を次段のサン
プリング装置31に送るようになっている。サンプリン
グ装置31では、図11(B)に示すように、一定周期
t毎に与えられたパルスを読み込み、そのオン/オフ
(1/0)の状態を検出し、それをエッジ数計測装置3
2に送るようになっている。そして、図示の例では、矢
印毎に読み込むもので、1〜7番目までは「1」を出力
し、8番目のときに「0」に切り替わるようになる。
Then, the output (pulse) is sent to the sampling device 31 in the next stage. As shown in FIG. 11B, the sampling device 31 reads a pulse given at every constant period t, detects the on / off (1/0) state of the pulse, and detects the on / off (1/0) state thereof.
2 In the example shown in the figure, the data is read for each arrow, and "1" is output from the first to the seventh, and switched to "0" at the eighth.

【0042】エッジ数計測装置32は、サンプリング装
置31から与えられる出力信号を受け取り、所定時間
(エッジ計測時間)の間に発生するパルスの立ち上がり
(立ち下がり)を検出するもので、具体的には、上記サ
ンプリング装置31の出力が1から0に変化した時に立
ち下がり数をインクリメントし、上記サンプリング装置
31の出力が0から1に変化した時に立ち上がり数をイ
ンクリメントするようにしている。そして、このエッジ
計測装置32と上記サンプリング装置31は、いずれも
コントロールスイッチ12′の開始信号を受けたタイミ
ング制御装置33から送られる起動命令にしたがって、
動作開始するようになっている。尚、本例では、窓の移
動速度をエッジ数を計数することにより検出するように
し、モータ回転数検出センサ10′、サンプリング装置
31、エッジ数計測装置32等により移動速度検出手段
を構成している。
The edge number measuring device 32 receives the output signal from the sampling device 31 and detects the rising (falling) of the pulse generated during a predetermined time (edge measuring time). The number of falling edges is incremented when the output of the sampling device 31 changes from 1 to 0, and the rising number is incremented when the output of the sampling device 31 changes from 0 to 1. Then, both the edge measuring device 32 and the sampling device 31 follow the start command sent from the timing control device 33 which receives the start signal of the control switch 12 '.
It is supposed to start operating. In this example, the moving speed of the window is detected by counting the number of edges, and the moving speed detecting means is constituted by the motor rotation speed detecting sensor 10 ', the sampling device 31, the edge number measuring device 32, and the like. There is.

【0043】そして、上記エッジ数計測装置32の出力
は、特徴量計算装置34に送られ、ここにおいて所定の
特徴量が抽出されるようになっている。すなわち、ま
ず所定時間(エッジ計測時間)内のパルスのエッジ数
(pls count)を計数するエッジカウント処理
を行う。
Then, the output of the edge number measuring device 32 is sent to the characteristic amount calculating device 34, where a predetermined characteristic amount is extracted. That is, first, an edge count process of counting the number of edges (pls count) of the pulse within a predetermined time (edge measurement time) is performed.

【0044】具体的には、図12に示すように、まず、
前回サンプリングしたパルスデータ(pls ol
d),今回サンプリングしたパルスデータ(pls n
ew)並びにパルスのエッジ数(pls count)
の各変数を初期化する(S401)。
Specifically, as shown in FIG. 12, first,
Previously sampled pulse data (pls ol
d), the pulse data (pls n) sampled this time
ew) and the pulse edge number (pls count)
Each variable of is initialized (S401).

【0045】そして、モータ回転数検出センサ10′の
出力のサンプリングを行い、その時の状態(オン/オ
フ)を「samp data」に格納する(S402,
403)。ついで、係るサンプルデータに基づいてエッ
ジ数のカウントを行う。すなわち、まず、現在のサンプ
リングデータ(samp data)を「pls ne
w」に格納し、前回の値と等しいか(pls new=
pls old)否かを判断し、等しくない場合にはパ
ルスのエッジと判断して、パルスのエッジ数(pls
count)を加算する。そして、現在検出したデータ
「pls new」を次回のサンプリング処理に備えて
「pls old」に格納する(S403〜407)。
その後、サンプリング周期が経過するまでウエイトし
(S408)、上記ステップ402に戻る。その後、エ
ッジ計測時間が経過するまで上記処理を行う。これによ
り、エッジ計測時間内のパルスのエッジ数が求まり、そ
れを次の処理(積算処理,フィルタリング処理等)を実
行する手段へ送り(S409)、ステップ401に戻
り、次のエッジ計測に移る。
Then, the output of the motor rotation speed detection sensor 10 'is sampled, and the state (ON / OFF) at that time is stored in "samp data" (S402,
403). Then, the number of edges is counted based on the sample data. That is, first, the current sampling data (samp data) is changed to "pls ne
w ”and is equal to the previous value (pls new =
pls old), and if they are not equal, it is determined as a pulse edge, and the number of pulse edges (pls
count) is added. Then, the currently detected data "pls new" is stored in "pls old" in preparation for the next sampling process (S403 to 407).
After that, the process waits until the sampling period elapses (S408), and the process returns to step 402. After that, the above processing is performed until the edge measurement time elapses. As a result, the number of edges of the pulse within the edge measurement time is obtained, and this is sent to the means for executing the next processing (integration processing, filtering processing, etc.) (S409), and the flow returns to step 401 to proceed to the next edge measurement.

【0046】次に、その算出したエッジ数を積算し窓
位置を計算する。この時、ウインドウモータの回転方向
も考慮し、窓が上昇する(正回転)時に発生するエッジ
数は加算し、窓が下降する(逆回転)時に発生するエッ
ジ数は減算するようになっている。さらに、電源投入時
または窓全開時に積算値をリセットするようにしてお
り、累積誤差の発生を抑制している。この機能が、窓位
置検出手段を構成している。
Next, the calculated edge number is integrated to calculate the window position. At this time, in consideration of the rotation direction of the window motor, the number of edges generated when the window rises (forward rotation) is added, and the number of edges generated when the window descends (reverse rotation) is subtracted. . Further, the integrated value is reset when the power is turned on or when the window is fully opened to suppress the occurrence of cumulative error. This function constitutes the window position detecting means.

【0047】また、上記で求めたエッジ数に対して
所定のフィルタリング処理を行う。すなわち、窓が正常
に上昇して閉じていった場合には、エッジ計測時間当り
のエッジ数は、図13に示すように徐々に低下するよう
になっている。しかし、すべりや検出タイミングのずれ
により、同図(A)中に示すように、エッジ数が本来よ
りも多かったり少なかったりするといったノイズNa,
Nbが発生する。そこで、この特徴量計算装置34にて
フィルタリング処理を行い、係るノイズを除去して疑似
エッジ数を求め、同図(B)に示すように徐々に低下す
るようにした。そして、具体的なフィルタリング処理と
しては、下記表に示すようになっている。
Further, a predetermined filtering process is performed on the number of edges obtained above. That is, when the window normally rises and closes, the number of edges per edge measurement time gradually decreases as shown in FIG. However, due to slippage and deviation of the detection timing, noise Na such that the number of edges is larger or smaller than it should be, as shown in FIG.
Nb is generated. Therefore, the feature amount calculation device 34 performs a filtering process to remove the noise and obtain the number of pseudo edges, and gradually decreases as shown in FIG. The specific filtering process is shown in the table below.

【0048】[0048]

【表3】 すなわち、エッジ数(モータの回転数・窓の移動速度に
対応する)は、徐々に低下することに着目し、原則とし
て計測したエッジ数が前回取得したエッジ数よりも小さ
い場合にはその値を疑似エッジ数とし、前回取得したエ
ッジ数よりも大きい場合には前回の値を疑似エッジ数と
する。これにより、図13(A)中Naで示すノイズが
除去される。また、上記ルールにしたがって一度疑似エ
ッジが下がった場合であっても、係る下がった時がノイ
ズ(図中Nbで示す)であることもあるので、その後に
3回連続して正しいエッジ数(Nbよりも大きい)が出
力されたならその値に修正するようにっている。
[Table 3] In other words, pay attention to the fact that the number of edges (corresponding to the number of rotations of the motor and the moving speed of the window) gradually decreases, and if the measured number of edges is smaller than the number of edges acquired last time, set that value in principle. If the number of pseudo edges is larger than the number of edges acquired last time, the previous value is set as the number of pseudo edges. As a result, the noise indicated by Na in FIG. 13A is removed. In addition, even if the pseudo edge is once reduced according to the above rule, noise (indicated by Nb in the figure) may occur when the pseudo edge is reduced, so that the correct number of edges (Nb If it is output), it will be corrected to that value.

【0049】さらに、本発明を適用する自動車の場合、
ウインドウモータの駆動源は車載バッテリーであるた
め、そのバッテリーの端子電圧は変動が大きい。そし
て、係る端子電圧が異なると、上記した図13に示す時
間経過(窓上昇)に対するエッジ数の変化の特性も異な
るため、本例ではバッテリーの端子電圧に応じた判定処
理を行うべく、この特徴量計算装置34にて現在のバッ
テリーの端子電圧(モータの駆動電圧)を推定するよう
にした。
Further, in the case of an automobile to which the present invention is applied,
Since the drive source of the window motor is an in-vehicle battery, the terminal voltage of the battery varies greatly. When the terminal voltage concerned is different, the characteristics of the change in the number of edges with respect to the passage of time (window rise) shown in FIG. 13 are also different. Therefore, in the present example, this characteristic is used in order to perform the determination process according to the terminal voltage of the battery. The current calculation terminal voltage of the battery (motor drive voltage) is estimated by the quantity calculation device 34.

【0050】すなわち、全開状態から閉動作開始当初の
エッジ数は駆動電圧に起因し、駆動電圧が高いほど疑似
エッジ数Unも高くなり、バッテリーの端子電圧(モー
タの駆動電圧)と疑似エッジ数Unの最大値との関係
は、図14に示すようになっている。そこで、最大疑似
エッジ数を求め、図示する換算表に基づいて(実際には
テーブルを作成し、それを参照する)駆動電圧を推定す
る。そして、この推定した駆動電圧が特徴量1となる。
また係る機能が、駆動電圧推定手段を構成している。
That is, the number of edges from the fully opened state to the beginning of the closing operation is due to the drive voltage. The higher the drive voltage, the higher the pseudo edge number Un, and the battery terminal voltage (motor drive voltage) and the pseudo edge number Un. The relationship with the maximum value of is as shown in FIG. Therefore, the maximum number of pseudo edges is obtained, and the drive voltage is estimated based on the conversion table shown (actually, a table is created and referred to). Then, the estimated drive voltage becomes the feature quantity 1.
Further, such a function constitutes a driving voltage estimating means.

【0051】なお、図13から明らかなように、時間経
過にともない疑似エッジ数が低下するため、始動開始当
初の所定回数の疑似エッジ数を監視し、それに基づいて
最大疑似エッジ数を求めることができるので、最大疑似
エッジ数(駆動電圧)は比較的速く決定することができ
る。
As is apparent from FIG. 13, since the number of pseudo edges decreases with the lapse of time, it is possible to monitor the predetermined number of pseudo edges at the beginning of starting and determine the maximum number of pseudo edges based on the number of pseudo edges. Therefore, the maximum number of pseudo edges (driving voltage) can be determined relatively quickly.

【0052】さらに、上記表中にも示した窓速度のスパ
ンspn(U)を検出し、現在の疑似エッジ数よりも疑
似エッジ数が1つ大きい疑似エッジ数の継続時間(窓速
度のスパンspn(Un+1))を算出し、それを特徴
量2とする。そして、上記のようにして求めた特徴量
1,2を次段のファジィ推論装置35に送り、また、窓
位置並びに疑似エッジ数を判定結果処理装置36に送る
ようになっている。
Further, the window speed span spn (U) shown in the above table is detected, and the duration of the number of pseudo edges, which is one greater than the current number of pseudo edges (the span of window speed spn). (Un + 1)) is calculated, and is set as the feature amount 2. Then, the feature quantities 1 and 2 obtained as described above are sent to the fuzzy inference device 35 at the next stage, and the window position and the number of pseudo edges are sent to the determination result processing device 36.

【0053】ファジィ推論装置35では、与えられた2
つの特徴量1,2に基づいて下記表に示すルール並びに
図15に示すメンバシップ関数を用い判定処理するか否
かの基準となる疑似エッジ数の閾値を決定するようにな
っている。すなわち、特徴量1である駆動電圧が大きい
場合は、窓の上昇速度も速いために挟み込まれる異物の
保護のためにも比較的速めに判定を行う必要があり、ま
た、特徴量2である継続時間が短い場合には、上昇速度
が低下してきたことを意味するため挟み込みを生じてい
るおそれもあるのでできるだけ早めに判定を行うように
した。そして、推論結果の閾値を判定結果処理装置36
に送るようになっている。
In the fuzzy reasoning device 35, the given 2
Based on one of the feature quantities 1 and 2, the threshold value of the number of pseudo edges, which serves as a criterion for the determination process using the rules shown in the table below and the membership function shown in FIG. 15, is determined. That is, when the drive voltage, which is the feature amount 1, is large, the rising speed of the window is also high, and therefore it is necessary to make the determination relatively quickly in order to protect the foreign matter that is trapped. If the time is short, it means that the ascending speed has decreased, so there is a possibility that pinching may occur, so the determination was made as early as possible. Then, the threshold value of the inference result is set to the determination result processing device 36.
To be sent to

【0054】[0054]

【表4】 判定結果処理装置36では、ファジィ推論装置35から
与えられる判定閾値と、特徴量計算装置34から与えら
れる窓位置並びに疑似エッジ数を用い、ウインドウで異
物(人体)の挟み込みが発生しているか否かを判定し、
窓の上昇続行/逆転下降の所定の処理を行うべくウイン
ドウモータ3に対して制御信号を送るようにしている。
そして、具体的な判定ルールは、下記表に示すようにな
っている。
[Table 4] The judgment result processing device 36 uses the judgment threshold value given from the fuzzy reasoning device 35 and the window position and the number of pseudo edges given from the feature amount calculation device 34 to determine whether a foreign object (human body) is caught in the window. Is judged,
A control signal is sent to the window motor 3 in order to perform a predetermined process of continuing to raise the window / lowering the reverse rotation.
The specific determination rule is as shown in the table below.

【0055】これにより、駆動電圧などの動作状況に応
じて適切な時期に、また挟み込みが生じているおそれの
高い場合には速めに判定処理を行うことができ、挟み込
みが生じている場合には、迅速に逆転駆動決定して窓を
下降させ、異物の保護を図ることができる。
This makes it possible to perform the determination process at an appropriate time according to the operating conditions such as the drive voltage, and when there is a high possibility that the entrapment is occurring, and when the entrapment is occurring. It is possible to promptly determine the reverse rotation drive and lower the window to protect the foreign matter.

【0056】[0056]

【表5】 なお、上記した第2実施例では、判定用の疑似エッジ数
の閾値をファジィ推論により求めたが、本発明は係る構
成に限られることなく、例えば係る閾値を最大疑似エッ
ジ数の一定の割合(例えば50%)等にしてもよい。係
る場合には、図16に示すように、図10に示すファジ
ィ推論装置は不要となり、また、特徴量計算装置34′
の機能も特徴量1,2を算出することなくエッジ数を積
算すること及びフィルタリング処理して疑似エッジ数を
求め、両者を判定結果処理装置36′に送ればよい。さ
らに、最大エッジ数を求め(これは間接的に駆動電圧を
推定していることを意味する)、閾値を求め、それを判
定結果処理装置36′に送るようにもなっている。な
お、その他の構成並びに作用は上記した第2実施例のも
のと同様であるため、その説明を省略する。
[Table 5] In the second embodiment described above, the threshold value of the number of pseudo edges for determination is obtained by fuzzy inference, but the present invention is not limited to such a configuration. For example, the threshold value is a fixed ratio of the maximum number of pseudo edges ( For example, it may be 50%). In such a case, as shown in FIG. 16, the fuzzy inference device shown in FIG. 10 is unnecessary, and the feature quantity calculation device 34 'is not necessary.
With regard to the function of, the number of edges may be integrated without calculating the feature quantities 1 and 2, and the number of pseudo edges may be obtained by filtering processing, and both may be sent to the determination result processing device 36 '. Further, the maximum number of edges is obtained (which means that the drive voltage is indirectly estimated), the threshold value is obtained, and the threshold value is sent to the determination result processing device 36 '. The rest of the configuration and operation are the same as those of the second embodiment described above, so a description thereof will be omitted.

【0057】図17は、本発明の第3実施例の動作原理
(判定処理)について示している。すなわち、上記した
第2実施例,変形例では、疑似エッジ数が所定の閾値に
なった時の窓位置を検出することにより挟み込みの有無
を判定するようにしたが、本例では、疑似エッジ数の変
化の履歴(時系列データ)に着目し、疑似エッジ数が第
1の基準値たるある値(上限値α)となってから第2の
基準値たる他のある値(下限値β(α>β))になるま
でに要する時間dを算出し、図18に示すように係る時
間dが所定の閾値Th以下の時に挟み込みありと判定
し、所定の処理を行うようになる。
FIG. 17 shows the operating principle (determination processing) of the third embodiment of the present invention. That is, in the above-described second embodiment and modified example, the presence or absence of entrapment is determined by detecting the window position when the number of pseudo edges reaches a predetermined threshold value. Paying attention to the change history (time series data), after the pseudo edge number reaches a certain value that is the first reference value (upper limit value α), another value that is the second reference value (lower limit value β (α > Β)) is calculated, and when the time d is less than or equal to a predetermined threshold Th as shown in FIG. 18, it is determined that there is entrapment, and a predetermined process is performed.

【0058】そして、本例を実施するためのブロック構
成図としては、図10に示す第2実施例のものと同様の
ものを用いることができるが、各装置の具体的な機能が
異なる。すなわち、特徴量計算装置34では、単位時間
当たりのエッジ数を求め、それに対してフィルタリング
処理をして疑似エッジ数並びに最大疑似エッジ数max
を求めるまでは同じであるが、その最大疑似エッジ数を
ファジィ推論装置35に送り、また、疑似エッジ数を判
定結果処理装置36に送るようになっている。なお、継
続時間spn(Un)は算出しない。
As the block diagram for carrying out this example, the same block diagram as that of the second example shown in FIG. 10 can be used, but the specific functions of the respective devices are different. That is, the feature quantity calculation device 34 obtains the number of edges per unit time, performs filtering processing on the number of edges, and sets the number of pseudo edges and the maximum number of pseudo edges max.
The maximum pseudo edge number is sent to the fuzzy inference device 35, and the pseudo edge number is sent to the judgment result processing device 36, although the same is true until the determination of The duration spn (Un) is not calculated.

【0059】また、特徴量計算装置34では、図18に
示す判定閾値Th並びに図17に示す上限値α,下限値
βを求めるもので、具体的には、与えられた最大エッジ
数等に基づいて下記のルールにしたがって推論処理して
求める。
Further, the feature quantity calculating device 34 obtains the determination threshold Th shown in FIG. 18 and the upper limit value α and the lower limit value β shown in FIG. 17, and specifically, based on the given maximum number of edges and the like. Inference processing is performed according to the following rules.

【0060】[0060]

【表6】 そして、判定結果処理部36では、疑似エッジ数が上限
値α以下となった時にタイマを始動させ、疑似エッジ数
が下限値βとなった時のタイマの値を検出し、その値が
閾値Th以下か否かを判定し、閾値Th以下の時には異
常(挟み込みあり)と判断しウインドウモータ3を逆転
駆動して窓を下降させる。また、閾値Th以上の時には
異常なしと判定して駆動を続行する。すなわち本例で
は、この判定結果処理部36が、請求項3に記載の計測
する手段,判定手段を兼ねている。なお、その他の構成
並びに作用は上記した第2実施例と同様であるため、そ
の説明を省略する。
[Table 6] Then, the determination result processing unit 36 starts the timer when the number of pseudo edges becomes equal to or less than the upper limit value α, detects the value of the timer when the number of pseudo edges becomes the lower limit value β, and the value is the threshold Th. It is determined whether or not it is below, and when it is less than or equal to the threshold value Th, it is determined to be abnormal (with pinching), the window motor 3 is driven in reverse, and the window is lowered. Further, when it is equal to or more than the threshold Th, it is determined that there is no abnormality and the driving is continued. That is, in this example, the determination result processing unit 36 serves as the measuring unit and the determining unit described in claim 3. Since the other configurations and operations are the same as those of the second embodiment, the description thereof will be omitted.

【0061】また、この実施例においても、閾値Thを
推論により求めたが、上記第2実施例の変形例と同様に
閾値を推論により求めず、クリスプに決定することもで
きる。すなわち、上限値α並びに下限値βを予め最大エ
ッジ数に対する比率で決定しておき、特徴量抽出部で求
めた最大疑似エッジ数に基づいてα,βを求める。さら
に、閾値dも同様に最大疑似エッジ数に対してクリスプ
に決定しておく。そしてそれに基づいて判定結果処理装
置で判定処理を行うようにしてもよい。
Also, in this embodiment, the threshold value Th is obtained by inference, but it is also possible to determine the threshold value by crisp without inferring the threshold value as in the modification of the second embodiment. That is, the upper limit value α and the lower limit value β are determined in advance in proportion to the maximum number of edges, and α and β are calculated based on the maximum number of pseudo edges calculated by the feature amount extraction unit. Furthermore, the threshold value d is also determined to be crisp with respect to the maximum number of pseudo edges. Then, the determination process may be performed by the determination result processing device based on it.

【0062】そして、各値α,βとしては、例えば図1
9に示すように最大疑似エッジ数に基づき、その値の比
率として決定する。することができ、また閾値Thとし
ては図20に示すように設定することができる。なお、
これはあくまでも一例である。係る構成にすることによ
り、高速処理ができ、しかも、最大疑似エッジ数(駆動
電圧)に対応して適宜上限値α,下限値β並びに閾値T
hを決定しているため、動作状況に適した判定処理が行
われる。
The values α and β are, for example, as shown in FIG.
As shown in FIG. 9, it is determined as the ratio of the values based on the maximum number of pseudo edges. The threshold Th can be set as shown in FIG. In addition,
This is just an example. With such a configuration, high-speed processing can be performed, and the upper limit value α, the lower limit value β, and the threshold value T can be appropriately set according to the maximum number of pseudo edges (driving voltage).
Since h is determined, the determination process suitable for the operating condition is performed.

【0063】図21は、本発明の第4実施例を示してい
る。同図に示すように、本実施例では、上記した第2実
施例の変形例(図16に示す)を基本とし(同一構成に
ついては同一符合を示す)、本例では特徴量計算装置3
4″と判定結果処理装置36″との間に記憶手段たる窓
移動速度最大値保持記憶装置40を設け、全開状態から
現在までの最大移動速度(最大疑似エッジ数)を記憶し
ておくようになっている。
FIG. 21 shows a fourth embodiment of the present invention. As shown in the figure, the present embodiment is based on the modified example (shown in FIG. 16) of the second embodiment described above (the same reference numerals are used for the same configuration), and in the present embodiment, the feature quantity calculation device 3 is used.
4 ″ and the judgment result processing device 36 ″ are provided with a window moving speed maximum value holding storage device 40 as a storage means to store the maximum moving speed (maximum number of pseudo edges) from the fully opened state to the present. Has become.

【0064】すなわち、上記した各実施例では、最大疑
似エッジ数は窓の閉動作開始後の疑似エッジ数に基づい
て求めていたため、例えば一度途中で窓の上昇を停止
し、その後再度上昇移動した場合には、最大疑似エッジ
数は全開時のもの(駆動電圧に対応する)に比し小さな
値となっているので、係る値に基づいて各種の判定処理
を行うようにすると、判定処理が遅れるおそれがある。
通常の場合には、全開時からオートモードなどにより窓
を閉じる場合に異物の挟み込みを生じるおそれが高いた
めに上記各実施例のものでも実用上問題はなく、また、
判定が若干送れてもさほど問題ない場合が多いが、本実
施例ではより高精度かつ迅速に判定処理を行えるように
なっている。
That is, in each of the above-described embodiments, the maximum number of pseudo edges is calculated based on the number of pseudo edges after the start of the window closing operation. Therefore, for example, the rising of the window is stopped halfway, and then the window is moved again. In this case, the maximum number of pseudo edges is smaller than that when fully opened (corresponding to the drive voltage). Therefore, if various determination processes are performed based on these values, the determination process will be delayed. There is a risk.
In the normal case, since there is a high possibility that foreign matter will be caught when the window is closed by auto mode or the like from the fully opened state, there is no problem in practical use even in the above-mentioned examples, and
Although there are many cases in which there is no problem even if the judgment is sent a little, in the present embodiment, the judgment process can be performed with higher accuracy and speed.

【0065】すなわち、記憶手段たる窓移動速度最大値
保持記憶装置40は、特徴量計算装置34″にて求めら
れた現在の窓位置に基づいて、今回の動作開始時が全開
時からの窓閉め動作か、途中位置からの窓閉め動作かを
判断する。そして、全開時からの窓閉め動作の場合には
現在抽出した最大疑似エッジ数を窓移動最大速度に格納
する。また、途中からの窓閉め動作の場合には、上記記
憶装置40格納されている窓移動最大速度を更新せずに
そのままの値を用いる。
That is, the window moving speed maximum value holding storage device 40 serving as a storage means closes the window from the time when the operation is started this time to the time when the operation is started on the basis of the current window position obtained by the characteristic amount calculation device 34 ″. It is determined whether it is an operation or a window closing operation from the middle position, and in the case of the window closing operation from the time of full opening, the currently extracted maximum number of pseudo edges is stored in the window moving maximum speed. In the case of the closing operation, the window movement maximum speed stored in the storage device 40 is not updated and the value is used as it is.

【0066】そして、判定結果処理装置36″では、窓
移動速度最大値保持記憶装置40から与えられる疑似エ
ッジ数が窓移動最大速度(一連の窓の昇降動作における
全開時から動作した時の最大疑似エッジ数)の1/2に
窓位置が全閉の95%になっているか否かにより挟み込
みの有無の判定を行い、ウインドウモータ3に対する所
定の制御信号を発生するようになっている。これによ
り、窓位置が途中であっても、適正な判定処理(判定開
始タイミング並びに判定)を行える。なお、その他の構
成並びに作用は上記した第2実施例の変形例のものと同
様であるため、その詳細な説明を省略する。
In the judgment result processing device 36 ", the number of pseudo edges given from the maximum window moving speed value holding storage device 40 is the maximum window moving speed (maximum pseudo operating time when the window is operated from fully open in the ascending / descending operation of windows). The presence / absence of pinching is determined by determining whether or not the window position is 95% of fully closed in 1/2 of the number of edges), and a predetermined control signal for the window motor 3 is generated. Even if the window position is midway, appropriate determination processing (determination start timing and determination) can be performed, since the other configurations and operations are similar to those of the modification of the second embodiment described above. Detailed description is omitted.

【0067】なお、この第4実施例では、図16に示す
第2実施例の変形例を基準に構成したが、係る窓移動最
大速度を記憶保持する構成は、上記した各実施例に適用
することができるのはもちろんである。また、上記した
第2〜第4実施例並びにそれに基づく変形例は、いずれ
も、窓の滑りや時間経過に伴う窓の開閉動作に伴う変化
を考慮していない。したがって、係る現象も考慮する場
合には、上記した第1実施例のように学習機能を付与す
ればよい。すなわち、本発明は上記した各実施例を適宜
組み合わせて実行するのを妨げない。
In the fourth embodiment, the modification of the second embodiment shown in FIG. 16 is used as a reference, but the structure for storing and holding the maximum window moving speed is applied to each of the above embodiments. Of course you can. In addition, none of the above-described second to fourth embodiments and the modifications based on them consider the change in the opening / closing operation of the window due to the sliding of the window or the passage of time. Therefore, if such a phenomenon is also taken into consideration, the learning function may be added as in the first embodiment described above. That is, the present invention does not prevent the above-described embodiments from being appropriately combined and executed.

【0068】なおまた、上記した各実施例では、いずれ
も自動車のパワーウインドウに用いた例について説明し
たが、本発明はこれに限ることなく、家屋の窓や各種機
械・装置の窓など、開口部を閉塞可能な窓を駆動手段に
より自動的に開閉する機構に適用することができる。さ
らには、挟み込みの対象が上記した実施例のように人間
に限られないのはもちろんである。
In addition, in each of the above-described embodiments, an example in which they are used for power windows of automobiles has been described, but the present invention is not limited to this, and openings such as windows of houses and windows of various machines and devices are provided. It can be applied to a mechanism in which a window capable of closing a part is automatically opened and closed by a driving means. Further, it is needless to say that the object to be pinched is not limited to the human being as in the above-mentioned embodiment.

【0069】[0069]

【発明の効果】以上のように、本発明に係る窓の開閉制
御装置では、以下に示す種々の効果を奏する。まず請求
項1の発明では、異物の挟み込みの検出のための知識が
必要に応じて逐次書き替えられ、しかも、強制スイッチ
により誤判別された場合には、強制的に窓を閉じること
によりその誤判別したことを装置に教示させるととも
に、強制的な閉動作に基づいて新たな知識を蓄積するこ
とができる。その結果、たとえ窓の固体差や経年変化・
霜の付着等があったとしても、異物の挟み込みか否かの
判別を正確に行うことができる。また、逆に仮に霜等の
付着に応じた学習結果になったとしても、その後霜等が
とけて窓がスムーズ(比較的速く)に開閉移動するよう
になると、学習の継続により徐々に係る現況に適した学
習結果になる。
As described above, the window opening / closing control device according to the present invention has the following various effects. First, in the invention of claim 1, the knowledge for detecting the entrapment of the foreign matter is rewritten successively as necessary, and when the misjudgment is made by the compulsory switch, the misjudgment is made by forcibly closing the window. The device can be taught different things and new knowledge can be accumulated based on the forced closing motion. As a result, even if there are individual differences in windows and aging
Even if frost is attached, it is possible to accurately determine whether or not a foreign object is caught. On the contrary, even if the learning result is based on the adhesion of frost, if the window is opened and closed smoothly (relatively quickly) after the frost has melted, the current situation will gradually change due to continued learning. The learning result is suitable for.

【0070】また、請求項2〜6の発明では、窓の移動
速度を検出し、その最大移動速度やその時の駆動電圧に
基づいて判定処理するための閾値などを決定するため、
その時の動作環境に応じた適切なタイミングで判定処理
される。しかも、移動速度の変化が正常状態よりも早く
生じた場合には、それに伴い判定処理される(従来のよ
うに一定時間待つことがない)。よって、挟み込みが生
じた場合には迅速かつ正確に判定処理をすることができ
る。
Further, in the inventions of claims 2 to 6, since the moving speed of the window is detected and the maximum moving speed and the threshold value for the judgment processing based on the driving voltage at that time are determined,
The determination process is performed at an appropriate timing according to the operating environment at that time. Moreover, when the change in the moving speed occurs earlier than the normal state, the determination process is performed accordingly (there is no need to wait for a certain period of time as in the conventional case). Therefore, when entrapment occurs, the determination process can be performed quickly and accurately.

【0071】さらに、請求項6に記載の発明のように、
記憶手段を設け、全開状態から閉動作を開始した時の駆
動電圧などのデータを格納するようにした場合には、上
記した判定処理の基準となる閾値を、始動開始時の窓位
置に関係なくより正確に決定することができるので、判
定処理も正確に行える。
Further, as in the invention described in claim 6,
When the storage means is provided to store the data such as the drive voltage when the closing operation is started from the fully opened state, the threshold value serving as the reference of the above-mentioned determination process is set regardless of the window position at the start of the start. Since the determination can be made more accurately, the determination processing can be performed accurately.

【0072】そして、上記した各発明を自動車のパワー
ウインドウに適用すれば、窓と窓枠間に人体その他のも
のが挟み込まれる事故が未然に防止できる。
By applying each of the above inventions to a power window of an automobile, it is possible to prevent an accident in which a human body or other object is caught between the window and the window frame.

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

【図1】本発明に係る窓の開閉制御装置の一適用例の自
動車を示す図である。
FIG. 1 is a diagram showing an automobile of an application example of a window opening / closing control device according to the present invention.

【図2】本発明に係る窓の開閉制御装置の第1実施例を
示す図である。
FIG. 2 is a diagram showing a first embodiment of a window opening / closing control device according to the present invention.

【図3】コントローラの内部構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing an internal configuration of a controller.

【図4】特徴量抽出部の機能を説明するフローチャート
図である。
FIG. 4 is a flowchart illustrating a function of a feature quantity extraction unit.

【図5】挟み込み判別部の機能を説明するフローチャー
ト図である。
FIG. 5 is a flowchart illustrating the function of a pinch detection unit.

【図6】正常状態における窓位置に対する電圧,パルス
数の変動状態の一例を示すグラフである。
FIG. 6 is a graph showing an example of changing states of voltage and pulse number with respect to a window position in a normal state.

【図7】挟み込みを生じた時における窓位置に対する電
圧,パルス数の変動状態の一例を示すグラフである。
FIG. 7 is a graph showing an example of a variation state of voltage and pulse number with respect to a window position when pinching occurs.

【図8】学習部の機能を説明するフローチャート図であ
る。
FIG. 8 is a flowchart illustrating a function of a learning unit.

【図9】本実施例の制御装置全体の作用を説明するフロ
ーチャート図である。
FIG. 9 is a flowchart illustrating the operation of the entire control device according to the present embodiment.

【図10】本発明の第2実施例,第3実施例を示すブロ
ック図である。
FIG. 10 is a block diagram showing a second embodiment and a third embodiment of the present invention.

【図11】回転数検出センサ並びにサンプリング装置の
作用を説明する図である。
FIG. 11 is a diagram illustrating the operation of a rotation speed detection sensor and a sampling device.

【図12】第2実施例の特徴量計算装置の機能の一部を
示すフローチャート図である。
FIG. 12 is a flowchart showing a part of the functions of the feature quantity computing device of the second embodiment.

【図13】特徴量計算装置の機能の一部であるフィルタ
リング機能を説明する図である。
FIG. 13 is a diagram illustrating a filtering function that is a part of the function of the feature amount calculation device.

【図14】特徴量計算装置の機能の一部である駆動電圧
推定機能を説明する図である。
FIG. 14 is a diagram illustrating a drive voltage estimation function that is a part of the function of the feature amount calculation device.

【図15】第2実施例におけるファジィ推論装置のメン
バシップ関数を示す図である。
FIG. 15 is a diagram showing a membership function of the fuzzy inference apparatus according to the second embodiment.

【図16】本発明の第2実施例,第3実施例の変形例を
示すブロック図である。
FIG. 16 is a block diagram showing a modification of the second and third embodiments of the present invention.

【図17】本発明の第3実施例の作用を説明する図であ
る。
FIG. 17 is a diagram for explaining the operation of the third embodiment of the present invention.

【図18】本発明の第3実施例の作用を説明する図であ
る。
FIG. 18 is a diagram for explaining the operation of the third embodiment of the present invention.

【図19】本発明の第3実施例の変形例の作用を説明す
る図である。
FIG. 19 is a view for explaining the operation of the modification of the third embodiment of the present invention.

【図20】本発明の第3実施例の変形例の作用を説明す
る図である。
FIG. 20 is a view for explaining the operation of the modification of the third embodiment of the present invention.

【図21】本発明の第4実施例を示すブロック図であ
る。
FIG. 21 is a block diagram showing a fourth embodiment of the present invention.

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

2 窓 3 ウインドウモータ(駆動手段) 4 動力伝達機構(駆動手段) 10′ モータ回転数検出センサ(移動速度検出手段) 13 ハイパワースイッチ(強制スイッチ) 21,23 特徴量抽出部 22 挟み込み判別部 24 記憶部(記憶エリア) 25 全閉状態検出部 26 学習部 31 サンプリング装置(移動速度検出手段) 32 エッジ数計測装置(移動速度検出手段) 34,34′,34″ 特徴量計算装置 35 ファジィ推論装置 36,36′,36″ 判定結果処理装置 2 window 3 window motor (driving means) 4 power transmission mechanism (driving means) 10 'motor rotation speed detection sensor (moving speed detection means) 13 high power switch (forced switch) 21,23 feature amount extraction section 22 pinch discrimination section 24 Storage part (storage area) 25 Fully closed state detection part 26 Learning part 31 Sampling device (moving speed detecting means) 32 Edge number measuring device (moving speed detecting means) 34, 34 ', 34 "Feature amount calculating device 35 Fuzzy inference device 36,36 ', 36 "Judgment result processing device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 福本 哲也 京都府京都市右京区花園土堂町10番地 オムロン株式会社内 (72)発明者 長坂 伸夫 京都府京都市右京区花園土堂町10番地 オムロン株式会社内 (72)発明者 稲毛 勝行 京都府京都市右京区花園土堂町10番地 オムロン株式会社内 (56)参考文献 特開 昭63−118483(JP,A) 特開 平5−286356(JP,A) 特開 平6−10561(JP,A) 特開 平6−19551(JP,A) 特開 昭64−39278(JP,A) 特開 昭62−280476(JP,A) 特開 平3−143284(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tetsuya Fukumoto 10 Ouron Co., Ltd., Hanazono-cho, Ukyo-ku, Kyoto-shi, Omron Co., Ltd. (72) Nobuo Nagasaka 10 No. 10 Hanazono-do, Ukyo-ku, Kyoto, Japan In (72) Inventor Katsuyuki Inage 10 Hanazono Todo-cho, Ukyo-ku, Kyoto City Omron Co., Ltd. (56) Reference JP-A-63-118483 (JP, A) JP-A-5-286356 (JP, A) JP-A-6-10561 (JP, A) JP-A-6-19551 (JP, A) JP-A-64-39278 (JP, A) JP-A-62-280476 (JP, A) JP-A-3-143284 (JP, A)

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 窓の開閉を行う駆動手段と、 前記窓を強制的に閉じさせるための強制スイッチと、 閉まる窓による異物の挟み込みの有無を学習手段の学習
結果に基づいて検出する挟み込み検出手段と、 前記挟み込み検出手段が挟み込み有りと出力して前記窓
を開ける動作をした時に、所定の強制スイッチがオンさ
れた場合には窓を閉めるように前記駆動手段を制御する
制御手段と、 前記窓が閉まりつつある時に前記窓の閉まる状態に関す
る特徴量を抽出し所定の記憶エリアに記憶させる特徴量
抽出手段と、 前記窓が閉まった後に前記特徴量抽出手段によって前記
記憶エリアに格納された特徴量を用いて前記窓が閉まり
つつある状態が異物挟み込み無しの状態であるとして学
習を行う学習手段とからなる窓の開閉制御装置。
1. A drive means for opening and closing a window, a compulsory switch for forcibly closing the window, and an entrapment detection means for detecting the presence or absence of an entrapment of foreign matter by the closing window based on the learning result of the learning means. And a control means for controlling the drive means so as to close the window when a predetermined compulsory switch is turned on when the jamming detection means outputs a message that there is jamming and operates to open the window, and the window. Feature quantity extraction means for extracting a feature quantity relating to the closed state of the window and storing it in a predetermined storage area when the window is closing, and a feature quantity stored in the storage area by the feature quantity extraction means after the window is closed. A window opening / closing control device comprising: learning means for learning that the state in which the window is being closed is a state in which no foreign matter is caught.
【請求項2】 窓の開閉を行う駆動手段と、 上昇移動する窓の移動速度を検出する移動速度検出手段
と、 前記移動速度検出手段により検出された前記移動速度か
ら前記駆動手段の駆動電圧を推定する駆動電圧推定手段
と、 前記窓の位置を検出する窓位置検出手段と、 前記移動速度が、少なくとも前記推定された駆動電圧に
基づいて決定される閾値以下になった時の窓位置データ
から異物の挟み込みの有無を判断する判定手段とを備え
た窓の開閉制御装置。
2. A drive means for opening and closing the window, a moving speed detecting means for detecting a moving speed of the window moving upward, and a driving voltage for the driving means based on the moving speed detected by the moving speed detecting means. Drive voltage estimating means for estimating, window position detecting means for detecting the position of the window, and from the window position data when the moving speed is at least equal to or less than a threshold value determined based on the estimated drive voltage An opening / closing control device for a window, comprising: a determination unit that determines whether or not a foreign object is caught.
【請求項3】 窓の開閉を行う駆動手段と、 上昇移動する窓の移動速度を検出する移動速度検出手段
と、 前記移動速度が、少なくとも前記移動速度検出手段より
検出された移動速度の最大値に基づいて決定される第1
の基準値から第2の基準値になるまでに要する時間を計
測する手段と、 前記計測された時間が所定の閾値以下になった時に異物
の挟み込みありと判断する判定手段とを備えた窓の開閉
制御装置。
3. A drive means for opening and closing a window, a moving speed detecting means for detecting a moving speed of an ascending window, and a moving speed at least the maximum value of the moving speed detected by the moving speed detecting means. First decided based on
Of the window provided with means for measuring the time required to reach the second reference value from the reference value of No. 1 and determination means for determining that there is a foreign substance trapped when the measured time becomes equal to or less than a predetermined threshold value. Switching control device.
【請求項4】 前記移動速度検出手段が、前記窓を開閉
駆動するモータの回転数を検出してなるもので、 前記検出した回転数に所定のフィルタリング処理を行い
少なくとも回転ムラに伴うノイズを除去して得られた疑
似回転数を算出する手段を備え、上記回転数に基づく各
種処理を前記算出した疑似回転数に基づいて行うように
した請求項2または3に記載の窓の開閉制御装置。
4. The moving speed detecting means detects the number of revolutions of a motor that drives the window to open and close. The detected number of revolutions is subjected to predetermined filtering processing to remove at least noise caused by uneven rotation. 4. The window opening / closing control device according to claim 2, further comprising means for calculating a pseudo rotation speed obtained by performing the various processes based on the rotation speed based on the calculated pseudo rotation speed.
【請求項5】 前記移動速度,駆動電圧の少なくとも一
方のデータに基づいてファジィ推論を行い、前記閾値及
びまたは第1,第2の基準値を推論する手段をさらに備
えた請求項2〜4のいずれか1項に記載の窓の開閉制御
装置。
5. The method according to claim 2, further comprising means for performing fuzzy inference based on data of at least one of the moving speed and the driving voltage to infer the threshold value and / or the first and second reference values. The opening / closing control device for a window according to any one of items.
【請求項6】 前記窓の位置情報に基づいて、現在の窓
の閉動作が全開状態からのものか否かを判断し、全開状
態からの場合には前記算出された移動速度の最大値また
は駆動電圧を記憶する記憶手段を備え、現在の窓の閉動
作が半閉状態からのものである場合には、前記記憶手段
に格納された前記移動速度の最大値または駆動電圧に基
づいて上記の判定処理を行うようにした請求項2〜5の
いずれか1項に記載の窓の開閉制御装置。
6. Based on the position information of the window, it is determined whether or not the current closing operation of the window is from the fully opened state, and when it is from the fully opened state, the maximum value of the calculated moving speed or When the current window closing operation is from the semi-closed state, the storage means for storing the drive voltage is provided, and the above-mentioned operation is performed based on the maximum value of the moving speed or the drive voltage stored in the storage means. The window opening / closing control device according to claim 2, wherein the determination process is performed.
【請求項7】 請求項1〜6のいずれか1項に記載の窓
の開閉制御装置が、自動車のパワーウインドウに装着さ
れるものであることを特徴とする窓の開閉制御装置。
7. A window opening / closing control device according to claim 1, wherein the window opening / closing control device is mounted on a power window of an automobile.
JP5201257A 1992-08-31 1993-07-22 Window opening and closing control device Expired - Lifetime JP2687847B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5201257A JP2687847B2 (en) 1992-08-31 1993-07-22 Window opening and closing control device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP4-253579 1992-08-31
JP25357992 1992-08-31
JP5201257A JP2687847B2 (en) 1992-08-31 1993-07-22 Window opening and closing control device

Publications (2)

Publication Number Publication Date
JPH06123188A JPH06123188A (en) 1994-05-06
JP2687847B2 true JP2687847B2 (en) 1997-12-08

Family

ID=26512689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5201257A Expired - Lifetime JP2687847B2 (en) 1992-08-31 1993-07-22 Window opening and closing control device

Country Status (1)

Country Link
JP (1) JP2687847B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11324481A (en) 1998-05-20 1999-11-26 Denso Corp Power window device having jamming prevention function
DE102008025247B4 (en) 2007-05-28 2018-05-24 Asmo Co., Ltd. Control device for a locking panel
JP6583075B2 (en) * 2016-03-17 2019-10-02 株式会社デンソー Clutch, motor and power window device
JP6711162B2 (en) * 2016-06-20 2020-06-17 株式会社デンソー Opening/closing member drive device for vehicle

Also Published As

Publication number Publication date
JPH06123188A (en) 1994-05-06

Similar Documents

Publication Publication Date Title
JP2891869B2 (en) Opening / closing body drive control device
JP4487588B2 (en) Opening and closing body control device
US6678601B2 (en) Motor speed-based anti-pinch control apparatus and method with rough road condition detection and compensation
JP3524374B2 (en) Power window device pinch detection method
US8604743B2 (en) Method for operating an electric window lift of a convertible
JP2005351042A (en) Opening and closing body control device
CA2575540A1 (en) Electric motor controller
JP2004003159A (en) Apparatus for sensing object caught in opening/closing body
WO2017022148A1 (en) Control device for opening and closing bodies
WO2003103349A2 (en) Motor speed-based anti-pinch control apparatus and method
WO2003102339A2 (en) Motor speed-based anti-pinch control apparatus and method with endzone ramp detection and compensation
JP2687847B2 (en) Window opening and closing control device
JP4573992B2 (en) Window glass clamping presence / absence detection device
JP4981431B2 (en) Control device for vehicle opening / closing body
JP3675622B2 (en) Power window device pinching detection method
JP2942127B2 (en) Power window drive control device
JP3480082B2 (en) Window opening and closing control device
JPH11147418A (en) Control unit for driving power window
JPH0921273A (en) Opening/closing control device for opening/closing body
JP2687872B2 (en) Electric opening and closing control device
JP2669273B2 (en) Window opening / closing operation control method and window opening / closing operation control device
JP3755741B2 (en) Window glass pinching presence / absence detection device
JPH0596372U (en) Power window safety equipment
US20190153765A1 (en) Method for operating a closing device, and closing device
JP2783758B2 (en) Opening / closing body drive 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: 19970722