JPH1181794A - Method and device for detecting catching of power window device - Google Patents

Method and device for detecting catching of power window device

Info

Publication number
JPH1181794A
JPH1181794A JP9236100A JP23610097A JPH1181794A JP H1181794 A JPH1181794 A JP H1181794A JP 9236100 A JP9236100 A JP 9236100A JP 23610097 A JP23610097 A JP 23610097A JP H1181794 A JPH1181794 A JP H1181794A
Authority
JP
Japan
Prior art keywords
window
motor
divided
divided moving
reference median
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
JP9236100A
Other languages
Japanese (ja)
Other versions
JP3675617B2 (en
Inventor
Yukio Miura
幸夫 三浦
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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alps Electric Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP23610097A priority Critical patent/JP3675617B2/en
Priority to DE19839025A priority patent/DE19839025C2/en
Priority to US09/141,945 priority patent/US5994858A/en
Publication of JPH1181794A publication Critical patent/JPH1181794A/en
Application granted granted Critical
Publication of JP3675617B2 publication Critical patent/JP3675617B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To detect the catching of a window extremely minutely with high accuracy without increasing the memory capacity of a memory. SOLUTION: The detecting device for the catching of a power window device has a window open-close motor 4, a motor driving section 3, a pulse generating section 5, an MCU 2 and a manually operated switch 1, and the MCU 2 detects a parameter value displaying motor load applied to a window when the window is opened and closed, compares the parameter value and a preset reference central value and decides the catching of the window when the parameter value is deviated from the reference central value by considerable quantity. The whole moving range of the window is divided equally into a plurality of divided moving regions at that time, reference central values are set at every divided moving region, the reference central values set in the divided moving regions are used in the first-half regions of the divided moving regions, and a supplementary reference central value obtained by levelling the reference central values set in the divided moving regions and the reference central values set in the divided moving regions continuing to the divided moving regions is employed in the second-half regions of the divided moving regions.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、パワーウインド装
置の挟み込み検知方法及び検知装置に係わり、特に、ウ
インドの開閉中に何等かの物体が挟み込まれたことの検
知を、メモリの記憶容量を増やさずに、極め細かく、正
確に行うことができるパワーウインド装置の挟み込み検
知方法及び検知装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and a device for detecting pinching of a power window device, and more particularly, to detecting a pinching of an object while opening and closing a window by increasing the storage capacity of a memory. The present invention relates to a method and an apparatus for detecting pinching of a power window device, which can be performed very finely and accurately.

【0002】[0002]

【従来の技術】従来、自動車のパワーウインド装置にお
いては、ウインドの挟み込みの検知を行うものとして種
々のものが知られており、その中の一例として、特開昭
61−60981号に開示のパワーウインド装置のもの
がある。
2. Description of the Related Art Hitherto, various types of power window devices for automobiles have been known for detecting pinching of a window. One example of such a device is disclosed in Japanese Patent Application Laid-Open No. 61-60981. Some are window devices.

【0003】前記特開昭61−60981号に開示のパ
ワーウインド装置は、ウインドの挟み込みの検知をする
ためのパラメータ値にモーター負荷電流値を利用してい
るものであって、ウインドの全移動範囲を複数の分割移
動領域に分割し、それぞれの分割移動領域に対してウイ
ンドの挟み込みの発生の可否を表す基準電流値を予設定
し、複数の分割移動領域毎に、検知したモーター負荷電
流値(前者)とその分割移動領域に設定されている基準
電流値(後者)とを比較し、前者が後者を大幅に超えた
ときにウインドの挟み込みが発生したものと判断してい
るものである。
The power window device disclosed in Japanese Patent Application Laid-Open No. 61-60981 uses a motor load current value as a parameter value for detecting the pinching of a window. Is divided into a plurality of divided moving regions, a reference current value indicating whether or not a window is pinched is preset for each divided moving region, and a detected motor load current value ( The former is compared with the reference current value (the latter) set in the divided moving area, and it is determined that the window has been pinched when the former greatly exceeds the latter.

【0004】この場合、前記特開昭61−60981号
に開示のパワーウインド装置は、複数の分割移動領域毎
に基準電流値を設定する場合、ウインドの移動(開閉)
動作時に、その分割移動領域でウインドの挾み込みが発
生しなかったときに得られたモーター負荷電流のピーク
値を基づいた設定を行っているものである。
[0004] In this case, the power window device disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 61-60981 moves (opens and closes) the window when setting a reference current value for each of a plurality of divided moving regions.
During the operation, the setting is performed based on the peak value of the motor load current obtained when the window is not pinched in the divided moving area.

【0005】[0005]

【発明が解決しようとする課題】ところで、前記特開昭
61−60981号に開示のパワーウインド装置は、ウ
インドの挟み込み検知精度を高めたいとの要望があった
場合、ウインドの全移動範囲を分割する複数の分割移動
領域の数を増やせば、一応、その要望を達成することが
できるものであるが、複数の分割移動領域の数を増やし
た場合、それらの分割移動領域に設定される基準中央値
の数や、分割移動領域毎に検知したモーター負荷電流値
の数等のデータ数が増え、それらのデータを記憶するた
めのメモリの記憶容量が増大し、その結果、パワーウイ
ンド装置全体が大規模なものになるだけでなく、その製
造コストが上昇してしまうという問題を有している。
The power window apparatus disclosed in Japanese Patent Application Laid-Open No. 61-60981 is intended to divide the entire moving range of the window when there is a demand to increase the detection accuracy of the pinching of the window. If the number of divided moving areas is increased, the demand can be achieved for the time being. However, if the number of divided moving areas is increased, the reference center set for the divided moving areas is set. The number of data, such as the number of values and the number of motor load current values detected for each divided movement area, increases, and the storage capacity of the memory for storing such data increases. As a result, the entire power window device becomes large. In addition to the scale, there is a problem that the manufacturing cost increases.

【0006】本発明は、このような問題点を解決するも
ので、その目的は、メモリの記憶容量を増大することな
く、ウインドの挟み込みの検知を高精度で、かつ、極め
細かに行うことが可能なパワーウインド装置の挟み込み
検知方法及び検知装置を提供することにある。
An object of the present invention is to solve such a problem, and an object of the present invention is to detect a pinching of a window with high precision and extremely finely without increasing the storage capacity of a memory. It is an object of the present invention to provide a method and a device for detecting a possible entrapment of a power window device.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
に、本発明によるパワーウインド装置の挟み込み検知方
法は、ウインドの開閉時に、マイクロ制御ユニット(M
CU、以下、MCUという)が、ウインドに加わるモー
ター負荷荷重を示すパラメータ値を検出し、検出したパ
ラメータ値と予設定基準中央値とを比較し、パラメータ
値が基準中央値から相当量外れたときにウインドの挟み
込みがあったものと判断するもので、ウインドの全移動
範囲を複数の分割移動領域に分割して各分割移動領域毎
に基準中央値を設定し、各分割移動領域の前半もしくは
後半領域はその分割移動領域に設定された基準中央値と
隣接する分割移動領域に設定された基準中央値とを平均
化した補完基準中央値を用いる第1の手段を具備する。
In order to achieve the above object, a method for detecting pinching of a power window device according to the present invention comprises the steps of:
CU, hereinafter referred to as MCU), detects a parameter value indicating the motor load applied to the window, compares the detected parameter value with a preset reference median value, and when the parameter value deviates considerably from the reference median value. It is determined that the window has been pinched, and the entire moving range of the window is divided into a plurality of divided moving regions, and a reference median is set for each divided moving region, and the first or second half of each divided moving region is set. The region includes a first unit that uses a complemented reference median obtained by averaging a reference median set in the divided moving region and a reference median set in an adjacent divided moving region.

【0008】また、前記目的を達成するために、本発明
によるパワーウインド装置の挟み込み検知装置は、ウイ
ンド開閉モーター、モーター駆動部、モーターの回転に
対応したパルス発生部、メモリを有するMCU、手動操
作スイッチを備え、ウインドの開閉時に、MCUにおい
て、ウインドに加わるモーター負荷荷重を示すパラメー
タ値を検出し、このパラメータ値と予設定基準中央値と
を比較し、パラメータ値が基準中央値から相当量外れた
ときにウインドの挟み込みがあったものと判断するもの
であって、内部メモリは、ウインドの全移動範囲を複数
の分割移動領域に分割したときの各分割移動領域毎に設
定される基準中央値を記憶する基準中央値記憶エリア
と、ウインドの移動位置を示す位置データを記憶するウ
インド移動位置記憶エリアとを有し、MCUは、位置デ
ータによって、ウインドが各分割移動領域の前半領域に
あることを検出しかつ直前の分割移動領域の基準中央値
の方が大であるとき、その分割移動領域に設定された基
準中央値と直前の分割移動領域に設定された基準中央値
とを平均化した補完基準中央値を求め、もしくは、ウイ
ンドが各分割移動領域の後半領域にあることを検出しか
つ直後の分割移動領域の基準中央値の方が大であると
き、その分割移動領域に設定された基準中央値とそれに
続く分割移動領域に設定された基準中央値とを平均化し
た補完基準中央値を求め、この補完基準中央値を用いて
ウインドの挟み込みを判断する第2の手段を具備する。
According to another aspect of the present invention, a pinch detection device for a power window device includes a window opening / closing motor, a motor driving unit, a pulse generation unit corresponding to the rotation of the motor, an MCU having a memory, a manual operation unit. When the window is opened and closed, the MCU detects a parameter value indicating the motor load applied to the window, compares this parameter value with the preset reference median value, and deviates the parameter value from the reference median value by a considerable amount. When the window is pinched, the internal memory stores a reference median value set for each divided moving area when the entire moving range of the window is divided into a plurality of divided moving areas. And a window movement position storage for storing position data indicating a window movement position. The MCU detects from the position data that the window is in the first half area of each divided moving area, and when the reference median value of the immediately preceding divided moving area is larger, the MCU Find the supplementary reference median by averaging the reference median set in and the reference median set in the previous divided moving area, or detect that the window is in the second half area of each divided moving area and When the reference median value of the immediately following divided moving area is larger, the complemented median value obtained by averaging the reference median value set for the divided moving area and the reference median value set for the subsequent divided moving area. And a second means for determining whether the window is pinched by using the median value of the complementing reference.

【0009】前記第1の手段によれば、ウインドの全移
動範囲を分割した複数の分割移動領域のそれぞれにおい
て、その分割移動領域の半分の領域のウインドの挟み込
みの判断はその分割移動領域に設定した基準中央値と隣
接する分割移動領域に設定した基準中央値とを平均化し
た補完基準中央値を用いているので、ウインドの挟み込
みの検知を高精度で、かつ、極め細かに行うことが可能
になる。
According to the first means, in each of the plurality of divided moving areas obtained by dividing the entire moving range of the window, the determination of the sandwiching of the window in a half area of the divided moving area is set in the divided moving area. Complementary reference median that averages the set reference median and the reference median set in the adjacent divided movement area can be used to detect window entrapment with high accuracy and precision become.

【0010】また、前記第2の手段によれば、MCUの
内部メモリに基準中央値記憶エリアと位置データ記憶エ
リアとを設け、ウインドの全移動範囲を等分割した複数
の分割移動領域のそれぞれにおいて、前半領域のウイン
ドの挟み込みの判断は、その分割移動領域に設定され、
基準値記憶エリアから読み出した基準中央値を用い、ウ
インドの挟み込みの判断は、その分割移動領域に設定さ
れ、基準値記憶エリアから読み出した基準中央値と、隣
接する分割移動領域に設定され、基準値記憶エリアから
読み出した基準中央値とを平均化した補完基準中央値を
少なくともその分割移動領域の半分の領域で用いている
ので、内部メモリの記憶容量を増大させることなしに、
ウインドの挟み込みの検知を高精度で、かつ、極め細か
に行うことが可能になる。
According to the second means, a reference median value storage area and a position data storage area are provided in the internal memory of the MCU, and each of a plurality of divided moving areas obtained by equally dividing the entire moving range of the window is provided. , The determination of the sandwiching of the window in the first half area is set in the divided moving area,
Using the reference median value read from the reference value storage area, the determination of the sandwiching of the window is set in the divided movement area, and the reference median value read from the reference value storage area and the adjacent divided movement area are set. Since the supplemental reference median obtained by averaging the reference median read from the value storage area is used in at least a half of the divided movement area, without increasing the storage capacity of the internal memory,
It becomes possible to detect the pinching of the window with high accuracy and extremely finely.

【0011】[0011]

【発明の実施の形態】本発明の1つの実施の形態におい
て、パワーウインド装置の挟み込み検知方法は、駆動時
にウインド駆動機構を介してウインドを開閉するモータ
ーと、モーターを駆動するモーター駆動部と、モーター
の回転に対応したパルスを発生するパルス発生部と、全
体的な制御駆動処理を行うMCUと、ウインドの開閉を
手動操作する操作スイッチとを備え、MCUは、モータ
ー駆動部を介してウインドを開閉する際、ウインドに加
わるモーター負荷荷重を示すパラメータ値を検出し、検
出したパラメータ値と予設定された基準中央値とを比較
し、パラメータ値が基準中央値から相当量外れたときに
ウインドの挟み込みがあったものと判断し、モーター駆
動部を介してモーターを駆動停止または逆転駆動させる
ものであって、ウインドの全移動範囲を複数の分割移動
領域に分割して各分割移動領域毎に基準中央値を設定
し、各分割移動領域の前半領域はその分割移動領域に設
定された基準中央値が用いられ、各分割移動領域の少な
くとも半分の領域はその分割移動領域に設定された基準
中央値と隣接する分割移動領域に設定された基準中央値
とを平均化した補完基準中央値が用いられるものであ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In one embodiment of the present invention, a method for detecting pinching of a power window device includes a motor that opens and closes a window via a window driving mechanism during driving, a motor driving unit that drives the motor, It includes a pulse generator that generates a pulse corresponding to the rotation of the motor, an MCU that performs overall control and drive processing, and an operation switch that manually operates the opening and closing of the window. The MCU controls the window through the motor driver. When opening and closing, a parameter value indicating the motor load applied to the window is detected, and the detected parameter value is compared with a preset reference median value. The motor is determined to have been pinched, and the motor is stopped or reversely driven via the motor drive unit. The entire moving range of the command is divided into a plurality of divided moving areas, and a reference median is set for each divided moving area, and the first central area of each divided moving area uses the reference median set for the divided moving area. For at least a half of each divided moving area, a complementary reference median obtained by averaging the reference median set for the divided moving area and the reference median set for the adjacent divided moving area is used. .

【0012】また、本発明の他の実施の形態において、
パワーウインド装置の挟み込み検知装置は、駆動時にウ
インド駆動機構を介してウインドを開閉するモーター
と、モーターを駆動するモーター駆動部と、モーターの
回転に対応したパルスを発生するパルス発生部と、全体
的な制御駆動処理を行うともに各種データを記憶する内
部メモリを有するMCUと、ウインドの開閉を手動操作
する操作スイッチとを備え、ウインドの開閉時に、MC
Uにおいて、ウインドに加わるモーター負荷荷重を示す
パラメータ値を検出し、検出したパラメータ値と予設定
された基準中央値とを比較し、パラメータ値が基準中央
値から相当量外れたときにウインドの挟み込みがあった
ものと判断し、モーター駆動部を介してモーターを駆動
停止または逆転駆動するものであって、内部メモリは、
ウインドの全移動範囲を複数の分割移動領域に分割した
ときの各分割移動領域毎に設定される基準中央値を記憶
する基準中央値記憶エリアと、ウインドの移動位置を示
す位置データを記憶するウインド移動位置記憶エリアと
を有し、マイクロ制御ユニットは、位置データの読み出
しによって、ウインドが前記各分割移動領域の前半領域
にあることを検出しかつ直前の分割移動領域に設定され
た基準中央値の方が大であるとき、その分割移動領域に
設定された基準中央値と直前の分割移動領域に設定され
た基準中央値とを平均化した補完基準中央値を求め、も
しくは、ウインドが各分割移動領域の後半領域にあるこ
とを検出しかつ直後の分割移動領域の基準中央値の方が
大であるとき、その分割移動領域に設定された基準中央
値とそれに続く分割移動領域に設定された基準中央値と
を平均化した補完基準中央値を求め、この補完基準中央
値をを用いてウインドの挟み込みの判断を行うものであ
る。
[0012] In another embodiment of the present invention,
The pinch detection device of the power window device is a motor that opens and closes the window via a window drive mechanism when driving, a motor drive unit that drives the motor, a pulse generator that generates pulses corresponding to the rotation of the motor, An MCU having an internal memory for performing various control driving processes and storing various data, and an operation switch for manually operating the opening and closing of the window.
At U, a parameter value indicating the motor load applied to the window is detected, and the detected parameter value is compared with a preset reference median value. When the parameter value deviates considerably from the reference median value, the window is pinched. It is determined that there was, and the motor is stopped or reversely driven via the motor drive unit, and the internal memory is
A reference median storage area for storing a reference median set for each divided moving area when the entire moving range of the window is divided into a plurality of divided moving areas, and a window for storing position data indicating a moving position of the window. A moving position storage area, wherein the micro control unit detects that the window is in the first half area of each of the divided moving areas by reading out the position data, and detects the reference median set in the immediately preceding divided moving area. Is larger, the reference median set in the divided moving area and the reference median set in the immediately preceding divided moving area are averaged to obtain a complementary reference median, or the window is moved by each divided moving area. If it is detected in the latter half of the area and the reference median of the immediately following divided movement area is larger, the reference median set for that divided movement area and the subsequent minutes Seeking a complementary base value obtained by averaging the reference median is set to the moving area, and performs the window of pinching determined using the complementary base value.

【0013】本発明の1つの実施の形態によれば、ウイ
ンドの全移動範囲を分割した複数の分割移動領域のそれ
ぞれに基準中央値を設定するとともに、複数の分割移動
領域のそれぞれにおいて、前半領域のウインドの挟み込
みの判断には、その分割移動領域に設定した基準中央値
を用いて行うにし、少なくとも半分の領域のウインドの
挟み込みの判断には、その分割移動領域に設定した基準
中央値と隣接する分割移動領域に設定した基準中央値と
を平均化して得た補完基準中央値を用いて行うようにし
ているので、ウインドの挟み込みの検知を高精度で行う
ことができるとともに、極め細かに行うことができる。
According to one embodiment of the present invention, a reference median is set in each of a plurality of divided moving regions obtained by dividing the entire moving range of the window, and a first half region is set in each of the plurality of divided moving regions. The determination of the pinching of the window is performed using the reference median set in the divided moving area, and the determination of the pinching of the window in at least half of the area is determined by the reference median set in the divided moving area. The average of the reference median set in the divided moving area to be set and the complemented reference median obtained are used, so that the detection of the pinching of the window can be performed with high accuracy, and the detection can be performed very finely. be able to.

【0014】また、本発明の他の実施の形態によれば、
MCUの内部メモリに、基準値記憶エリアと位置データ
記憶エリアとを設けるようにし、ウインドの全移動範囲
を分割した複数の分割移動領域のそれぞれに基準中央値
を設定するとともに、複数の分割移動領域のそれぞれに
おいて、前半領域のウインドの挟み込みの判断は、その
分割移動領域に設定され、基準値記憶エリアから読み出
した基準中央値を用いて行い、少なくとも半分の領域の
ウインドの挟み込みの判断は、その分割移動領域に設定
され、基準値記憶エリアから読み出した基準中央値と、
隣接する分割移動領域に設定され、基準値記憶エリアか
ら読み出した基準中央値とを平均化した補完の基準中央
値を用いて行うようにしているので、内部メモリの記憶
容量を増大することなしに、ウインドの挟み込みの検知
を高精度で行うことができるとともに、極め細かに行う
ことができる。
According to another embodiment of the present invention,
A reference value storage area and a position data storage area are provided in the internal memory of the MCU, and a reference median value is set in each of a plurality of divided moving areas obtained by dividing the entire moving range of the window. In each of the above, the determination of the sandwiching of the window in the first half area is performed using the reference median value set in the divided moving area and read from the reference value storage area, and the determination of the sandwiching of the window in at least half of the area A reference median value set in the divided movement area and read from the reference value storage area,
It is set in an adjacent divided movement area, and is performed using the reference median value of complementation obtained by averaging the reference median value read from the reference value storage area, without increasing the storage capacity of the internal memory. In addition, the detection of the pinching of the window can be performed with high accuracy and can be performed very finely.

【0015】[0015]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0016】図1は、本発明によるパワーウインド装置
の挟み込み検知方法が実施されるパワーウインド装置を
示すブロック構成図である。
FIG. 1 is a block diagram showing a power window device in which a method for detecting pinching of a power window device according to the present invention is performed.

【0017】図1に示されるように、パワーウインド装
置は、スイッチ装置1と、マイクロ制御ユニット(MC
U)2と、モーター駆動部3と、モーター4と、パルス
発生器5と、プルアップ抵抗6と、分圧抵抗器7と、パ
ルス伝送路8とを備える。
As shown in FIG. 1, the power window device includes a switch device 1 and a micro control unit (MC).
U) 2, a motor drive unit 3, a motor 4, a pulse generator 5, a pull-up resistor 6, a voltage dividing resistor 7, and a pulse transmission line 8.

【0018】また、図2(a)は、図1に図示のパワー
ウインド装置に用いられるパルス発生器のパルス発生原
理構造図であり、図2(b)は、モーターの駆動時に、
パルス発生器から発生される2相方形波パルスを示す波
形図である。
FIG. 2A is a structural diagram showing the principle of pulse generation of a pulse generator used in the power window device shown in FIG. 1, and FIG.
FIG. 3 is a waveform diagram showing a two-phase square wave pulse generated from a pulse generator.

【0019】図2(a)に示されるように、パルス発生
器5は、回転体51 と、ホール素子52 、53 とを備え
ている。
[0019] As shown in FIG. 2 (a), the pulse generator 5 includes a rotary body 5 1, and a Hall element 5 2, 5 3.

【0020】そして、スイッチ装置1は、個別に操作さ
れる3個のスイッチ11 、12 、13 を具備する。これ
らのスイッチ11 乃至13 の中で、スイッチ11 は、ウ
インドの上昇(閉)動作を指令するものであり、スイッ
チ12 は、ウインドの下降(開)動作を指令するための
ものであって、スイッチ11 、12 を操作しているとき
だけ、ウインドが指定された方向に移動し、スイッチ1
1 、12 の操作を停止すると、ウインドの移動も停止す
る。スイッチ13 は、動作の自動継続を指令するもので
あって、スイッチ13 とスイッチ11 とを同時操作する
と、前述のようにウインドが上昇(閉)動作を始める
が、その後、スイッチ13 とスイッチ11の操作を停止
しても、ウインドの上昇(閉)動作が継続され、ウイン
ドが窓枠の最上部に達したときに停止する。また、スイ
ッチ13 とスイッチ12 とを同時操作すると、やはり前
述のようにウインドが下降(開)動作を始めるが、その
後、スイッチ13 とスイッチ12 の操作を停止しても、
ウインドの下降(開)動作が継続され、ウインドが窓枠
の最下部に達したときに停止する。
[0020] The switch device 1 includes the three switches 1 1, 1 2, 1 3 which is operated separately. Among these switches 1 1 to 1 3, switch 1 1 is intended to command the window rising (closing) operation, the switch 1 2 is for commanding the window of lowering (opening) operation Only when the switches 1 1 and 1 2 are operated, the window moves in the designated direction.
1, stopping one second operation, also stops movement of the window. Switch 1 3 is for commanding the automatic continuation of the operation, when operated simultaneously the switch 1 3 and the switch 1 1, begins the window is raised (closed) operates as described above, then switch 1 3 and also to stop the operation of the switch 1 1, increase the window (closing) operation continues and the window is stopped when it reaches the top of the window frame. Further, when simultaneous operation of a switch 1 3 and the switch 1 2, also has a window as described above begin to descend (open) operation, then, be stopped operation of the switch 1 3 and the switch 1 2,
The lowering (opening) operation of the window is continued and stops when the window reaches the bottom of the window frame.

【0021】MCU2は、制御・演算部9と、メモリ1
0と、モーター駆動電圧検出部11と、パルスエッジカ
ウンタ12と、タイマー13とを具備する。これらの構
成要素の中で、制御・演算部9は、スイッチ装置1の操
作状態に対応した制御信号を発生し、この制御信号をモ
ーター駆動部3を介してモーター4に供給し、モーター
4を回転駆動させ、同時に、モーター駆動電圧検出部1
1やパルスエッジカウンタ12から供給されるデータや
メモリ10に記憶されている記憶データに基づいて、所
定のデータ処理やデータ演算等を行い、モーター駆動部
3を介してモーター4の回転状態を制御する。メモリ1
0は、基準中央値記憶エリア101 、基準許容値記憶エ
リア102 、トルクデータ加算値記憶エリア103 、起
動キャンセル記憶エリア14 、分割移動領域内トルクデ
ータ数記憶エリア105 、総トルクデータ数記憶エリア
106 、ウインド移動位置記憶エリア107 からなる7
つの記憶エリアと、第1タイムテーブル108 、第2タ
イムテーブル109 からなる2つのタイムテーブルを具
備する。なお、これら7つの記憶エリア101 乃至10
7 及びこれら2つのタイムテーブル108 乃至109
の記憶内容については後述する。モーター駆動電圧検出
部11は、分圧抵抗器7の分圧点に得られる車載電源
(バッテリー)電圧を表す分圧電圧の検出を行う。パル
スエッジウンタ12は、パルス発生器5から供給された
2相方形波パルスのパルスエッジの検出を行う。
The MCU 2 includes a control / arithmetic unit 9 and a memory 1
0, a motor drive voltage detector 11, a pulse edge counter 12, and a timer 13. Among these components, the control / arithmetic unit 9 generates a control signal corresponding to the operation state of the switch device 1, supplies the control signal to the motor 4 via the motor drive unit 3, and controls the motor 4. Drive to rotate, and at the same time, motor drive voltage detector 1
1 and performs predetermined data processing and data calculation based on data supplied from the pulse edge counter 12 or data stored in the memory 10, and controls the rotation state of the motor 4 via the motor drive unit 3. I do. Memory 1
0, base value storing area 10 1, reference tolerance value storage area 10 2, a torque data addition value storage area 10 3, starting cancellation storage area 1 4, divided travel region in the number of torque data storage area 10 5, the total torque data 7 consisting of a number storage area 10 6 and a window movement position storage area 10 7
There are two storage areas and two time tables including a first time table 10 8 and a second time table 10 9 . Note that these seven storage areas 10 1 to 10 1
It will be described later 7 and the storage contents in these two time tables 10 8 to 10 9. The motor drive voltage detection unit 11 detects a divided voltage representing the vehicle-mounted power supply (battery) voltage obtained at the voltage dividing point of the voltage dividing resistor 7. The pulse edge counter 12 detects a pulse edge of the two-phase square wave pulse supplied from the pulse generator 5.

【0022】モーター駆動部3は、制御信号反転用の2
つのインバータ31 、32 と、モーターの回転を正転、
逆転、停止のいずれかに切替設定する2つのリレー
3 、34 と、火花発生防止用の2個のダイオード
5 、36 とを具備し、MCU2から供給される制御信
号の状態に応じたモーター4の回転駆動を行う。
The motor drive unit 3 includes a control signal inversion 2.
Inverter 3 1 , 3 2 and motor rotation forward,
Reversing, two relays 3 3, 3 4 switched set to one of the stops, and a two diodes 3 5, 3 6 for spark prevention, according to the state of the control signal supplied from the MCU2 The motor 4 is driven to rotate.

【0023】モーター4は、回転軸が図示されていない
ウインド駆動機構を介して自動車のウインドに結合され
ており、モーターの回転時、例えば、正方向回転時にウ
インドを閉じ、逆方向回転時にウインドを開く。
The motor 4 has a rotating shaft connected to a window of the vehicle via a window drive mechanism (not shown). When the motor rotates, for example, when the motor rotates in the forward direction, the window closes, and when the motor rotates in the reverse direction, the window closes. open.

【0024】パルス発生器5は、モーター4に直接装着
されているもので、図2(a)に示されるように、モー
ター4の回転軸に取り付けられ、対向円周部分にS極及
びN極が着磁された回転体51 と、この回転体51 の円
周部分の近くに、モーター4の回転時に互いに90°位
相を異にする2相パルスを発生するように配置されたホ
ール素子52 、53 とを具備している。そして、モータ
ー4が回転すると、その回転によって回転体51 も同時
回転し、図2(b)に示されるように、2個のホール素
子52 、53 が回転体51 の着磁部分を検出し、2個の
ホール素子52、53 からそれぞれモーター4の1回転
時に1周期となる、互いに1/4周期ずれた2相方形波
パルスが出力される。
The pulse generator 5 is directly mounted on the motor 4 and is mounted on the rotating shaft of the motor 4 as shown in FIG. 2 (a). There the rotary body 5 1 which is magnetized, near the circumferential portion of the rotary body 5 1, arranged Hall element to generate a two-phase pulses having different phase by 90 ° from each other during rotation of the motor 4 5 is provided with a 2, 5 3. When the motor 4 rotates, and the rotation corotating element 5 1 by the rotation, as shown in FIG. 2 (b), 2 pieces of Hall elements 5 2, 5 3 of the rotating body 5 1 magnetized min , And two Hall elements 5 2 and 5 3 each output a two-phase square wave pulse which is one cycle when the motor 4 makes one rotation and is shifted by 1 / cycle from each other.

【0025】プルアップ抵抗6は、スイッチ装置1の出
力及びMCU2の入力と、5V電源との間に接続された
3個の並列結合抵抗からなるもので、3個のスイッチ1
1 、12 、13 の非操作時にMCU2の入力に電源電圧
(5V)を供給する。
The pull-up resistor 6 is composed of three parallel coupling resistors connected between the output of the switch device 1, the input of the MCU 2, and the 5V power supply.
1, 1 2, supplies the power supply voltage (5V) 1 3 of the non-operation state to the input of the MCU 2.

【0026】分圧抵抗器7は、車載電源(バッテリー)
と接地間に直列接続された2個の抵抗からなり、これら
の抵抗の接続点がMCU2のモーター駆動電圧検出部1
1に接続される。
The voltage dividing resistor 7 is mounted on a vehicle power supply (battery).
And two resistors connected in series between the ground and the ground. The connection point of these resistors is connected to the motor drive voltage detector 1 of the MCU 2.
Connected to 1.

【0027】パルス伝送路8は、パルス発生器5の出力
と5V電源との間に接続された2個のプルアップ抵抗
と、同出力と接地間に接続されたコンデンサと、同期出
力とMCU2のパルスエッジカウンタ12の入力との間
に接続された2個の直列抵抗とからなり、パルス発生器
5から出力された2相方形波パルスをパルスエッジカウ
ンタ12に伝送する。
The pulse transmission line 8 includes two pull-up resistors connected between the output of the pulse generator 5 and the 5 V power supply, a capacitor connected between the output and the ground, a synchronous output and the MCU 2. The two-phase square wave pulse output from the pulse generator 5 is transmitted to the pulse edge counter 12, comprising two series resistors connected between the pulse edge counter 12 and the input of the pulse edge counter 12.

【0028】モーター4が回転し、ウインドの開閉動作
が行われているとき、パルス発生器5で発生された2相
方形波パルスは、パルス伝送路8を介してMCU2に供
給される。このとき、パルスエッジカウンタ12は、2
相方形波パルスのそれぞれのパルスエッジ(立上り及び
立下り)を検出し、パルスエッジが到来する度にエッジ
検出信号を制御・演算部9に供給する。制御・演算部9
は、エッジ検出信号の供給タイミングをタイマー13で
カウントし、1つのエッジ検出信号とそれに続く1つの
エッジ検出信号との到来時間間隔(以降、これをエッジ
間隔データという)を測定する。なお、このエッジ間隔
データは、モーター4が1/4回転する度に1つ得られ
るものである。
When the motor 4 rotates and the window is opened and closed, the two-phase square wave pulse generated by the pulse generator 5 is supplied to the MCU 2 via the pulse transmission line 8. At this time, the pulse edge counter 12
Each pulse edge (rising and falling) of the square wave pulse is detected, and an edge detection signal is supplied to the control / calculation unit 9 each time the pulse edge arrives. Control / arithmetic unit 9
Measures the supply timing of the edge detection signal by the timer 13, and measures the arrival time interval between one edge detection signal and one subsequent edge detection signal (hereinafter, this is referred to as edge interval data). It should be noted that one piece of this edge interval data is obtained every time the motor 4 makes a quarter turn.

【0029】ところで、図1に図示のパワーウインド装
置においては、ウインドへの挟み込みの有無を検知する
ため、その検出パラメータとしてモーター負荷トルク値
を用いており、基準中央値や基準許容値もモーター負荷
トルクによって設定されている。また、図1に図示のパ
ワーウインド装置は、ウインドの全移動領域(全開位置
と全閉位置との間の移動領域)を、エッジ間隔データの
到来毎にカウントされるカウント数に基づいて複数に分
割した分割移動領域が設定されており、各分割移動領域
に対して、予設定したモーター負荷トルクの基準中央値
及び基準許容値が設定されている。
In the power window apparatus shown in FIG. 1, a motor load torque value is used as a detection parameter to detect the presence or absence of pinching in the window. Set by torque. The power window device shown in FIG. 1 divides the entire window movement region (the movement region between the fully open position and the fully closed position) into a plurality based on the count number counted each time the edge interval data arrives. Divided divided movement regions are set, and a preset reference median value and reference allowable value of the motor load torque are set for each divided movement region.

【0030】図3は、図1に図示のパワーウインド装置
におけるウインドの全移動領域を36の分割移動領域に
分割した場合の、各分割移動領域にそれぞれ設定された
モーター負荷トルクの基準中央値及び基準許容値の一例
を示す特性図であり、また、図4は、図3に示された3
6の分割移動領域中の1つの分割移動領域において、3
2のエッジ間隔データが到来する状態の一例を示す特性
図である。
FIG. 3 shows the reference median value of the motor load torque and the motor load torque set in each of the divided moving regions when the entire window moving region in the power window device shown in FIG. 1 is divided into 36 divided moving regions. FIG. 4 is a characteristic diagram showing an example of a reference allowable value, and FIG.
In one of the six divided movement areas, 3
FIG. 14 is a characteristic diagram illustrating an example of a state in which the second edge interval data arrives.

【0031】図3において、縦軸はモーター負荷トルク
を示し、横軸はウインドが全開位置から全閉位置に向か
って移動したとき、エッジ間隔データの到来毎にカウン
トしたカウント数を示す。そして、下側の階段状特性
(S)はモーター負荷トルクの基準中央値、上側の階段
状特性(A)はモーター負荷トルクの基準許容値(正確
には、基準中央値+基準許容値であるが、以下、基準許
容値として説明する)であり、実線(M)はウインドへ
の物体の挟み込みがない場合のモーター負荷トルクの経
緯曲線、一点鎖線(H)はウインドへの物体の挟み込み
があった場合のモーター負荷トルクの経緯曲線である。
また、図4において、縦軸はエッジ間隔データの値を示
し、横軸はウインドが開位置方向から閉位置方向に移動
したとき、エッジ間隔データの到来毎にカウントしたカ
ウント数を示し、所々にノイズが加わった場合の例を示
している。
In FIG. 3, the vertical axis represents the motor load torque, and the horizontal axis represents the count number counted each time the edge interval data arrives when the window moves from the fully open position to the fully closed position. The lower step-like characteristic (S) is the reference median value of the motor load torque, and the upper step-like characteristic (A) is the reference allowable value of the motor load torque (more precisely, the reference median value + the reference allowable value). The solid line (M) shows the process curve of the motor load torque when no object is caught in the window, and the one-dot chain line (H) shows that the object is caught in the window. 7 is a history curve of the motor load torque when the motor is turned on.
In FIG. 4, the vertical axis indicates the value of the edge interval data, and the horizontal axis indicates the count number counted for each arrival of the edge interval data when the window moves from the open position to the closed position. An example in the case where noise is added is shown.

【0032】ここで、図3に示されたモーター負荷トル
クの基準中央値は、ウインドへの実質的な挟み込みがな
いときのウインドの移動に必要とされるモーター負荷ト
ルク値であって、実際には、ウインドの重量や、ウイン
ド及びサッシ間の機械的な摩擦力等がモーター負荷トル
クとして計測されるもので、挟み込みがないときに既に
計測されたトルク値に基づいて決定され、ウインドが移
動する度ごとに、それまでの基準中央値が新たな基準中
央値に更新される、いわゆる学習されるものである。ま
た、モーター負荷トルクは、後述するように、エッジ間
隔データやモーター駆動電圧から算出されるものである
が、エッジ間隔データは、モーター4が1/4回転する
度に1つ得られ、ウインドが全開位置から全閉位置まで
の範囲を移動した際、即ち、36の分割移動領域を移動
した際に、それぞれの分割移動領域で32のエッジ間隔
データが得られることから、全体で約1200のエッジ
間隔データが得られることになる。
Here, the reference median value of the motor load torque shown in FIG. 3 is the motor load torque value required for the movement of the window when there is no substantial pinching in the window. Is the weight of the window, the mechanical frictional force between the window and the sash is measured as the motor load torque, and is determined based on the torque value already measured when there is no pinching, and the window moves. Every time the reference median is updated to a new reference median, that is, learning is performed. As will be described later, the motor load torque is calculated from the edge interval data and the motor drive voltage. One edge interval data is obtained each time the motor 4 rotates 1/4, and the window is set. When the range from the fully open position to the fully closed position is moved, that is, when the 36 divided movement regions are moved, 32 edge interval data are obtained in each divided movement region. Interval data will be obtained.

【0033】ところで、本実施例のパワーウインド装置
に用いられるモーター負荷トルクの基準中央値は、後に
詳述するように、それぞれの分割移動領域の前半領域と
後半領域とでその値が異なるような設定になっているも
ので、それぞれの分割移動領域の前半領域は、その分割
移動領域に設定された基準中央値がそのまま基準中央値
として用いられ、それぞれの分割移動領域の後半領域
は、その分割移動領域に設定された基準中央値とそれに
続く分割移動領域に設定された基準中央値とを平均化し
た補完基準中央値が基準中央値として用いられる。
Incidentally, the reference median value of the motor load torque used in the power window device of the present embodiment is different between the first half region and the second half region of each divided moving region, as will be described later in detail. For the first half area of each divided moving area, the reference median set in the divided moving area is used as it is as the reference median, and the latter half area of each divided moving area is A complementary reference median obtained by averaging the reference median set in the moving area and the reference median set in the subsequent divided moving area is used as the reference median.

【0034】また、図3に示されたモーター負荷トルク
の基準許容値は、分割移動領域の存在位置に係りなく、
一定値であって、一般には、規格等により決められてい
る、ウインドに挟み込みが生じた時の挟み込み物体に印
加可能な最大許容力をモータートルクに換算した値か、
その値に何等かの補正を加えた値が用いられる。
The reference allowable value of the motor load torque shown in FIG. 3 is independent of the position of the divided moving area.
A constant value, which is generally determined by a standard or the like, a value obtained by converting the maximum allowable force that can be applied to a sandwiched object when a window is jammed into a motor torque,
A value obtained by adding some correction to the value is used.

【0035】次に、図5及び図6は、図1に図示のパワ
ーウインド装置を用いて、ウインドの挟み込み検知を行
う際の概略の動作経緯を示すフローチャートである。
Next, FIGS. 5 and 6 are flowcharts showing the outline of the operation when detecting the pinching of a window using the power window device shown in FIG.

【0036】また、図7は、図1に図示のパワーウイン
ド装置の一部の分割移動領域におけるモーター負荷トル
クの基準中央値及び補完基準中央値の設定状態の一例を
示す特性図である。
FIG. 7 is a characteristic diagram showing an example of a setting state of the reference median value and the complementation reference median value of the motor load torque in a part of the divided moving region of the power window device shown in FIG.

【0037】図7において、縦軸はモーター負荷トルク
であり、横軸はウインドが全開位置から全閉位置に向か
って移動したときのカウント数で表した分割移動領域で
あって、下側の実線の階段状特性(S)は各分割移動領
域におけるモーター負荷トルクの基準中央値、下側の点
線の特性(H)は各分割移動領域におけるモーター負荷
トルクの補完基準中央値、上側の点線の階段状特性
(A)はモーター負荷トルクの基準許容値(正確には、
基準中央値+基準許容値または補完基準中央値+基準許
容値である)をそれぞれ示している。
In FIG. 7, the ordinate represents the motor load torque, and the abscissa represents the divided moving area represented by the number of counts when the window moves from the fully open position to the fully closed position. Is the reference median value of the motor load torque in each divided movement region, the lower dotted line characteristic (H) is the supplementary reference median value of the motor load torque in each divided movement region, and the upper dotted line staircase. The state characteristic (A) is a reference allowable value of the motor load torque (accurately,
(Reference median + reference allowance or complementary reference median + reference allowance).

【0038】ここで、図5及び図6に図示のフローチャ
ートを用いて、図1に図示のパワーウインド装置の動作
経緯について説明する。
The operation of the power window device shown in FIG. 1 will be described with reference to the flowcharts shown in FIGS.

【0039】まず、図5及び図6に図示のフローチャー
トの動作の説明するのに先立って、パワーウインド装置
においては、次のような動作が実行される。
First, prior to describing the operations of the flowcharts shown in FIGS. 5 and 6, the power window device performs the following operations.

【0040】即ち、スイッチ装置1の中の1つのスイッ
チ、例えばスイッチ11 を操作すると、スイッチ11
接続されたMCU2の入力が5V電位から接地電位に変
化する。MPU2の制御・演算部9は、入力された接地
電位に応答してモーター制御部3にモーター4を正方向
回転する制御信号を供給し、モーター制御部3は、制御
信号に応答して2つのリレー33 、34 を切替え、モー
ター4を正方向回転する。モーター4が正方向回転する
と、モーター4に連結されたウインド駆動機構を介して
ウインドが閉じる方向に移動する。また、モーター4の
回転により、モーター4に取り付けられたパルス発生器
5が2相方形波パルスを発生し、発生した2相方形波パ
ルスがパルス伝送路8を介してMCU2のパルスエッジ
カウンタ12に供給される。
[0040] That is, one switch in the switch device 1, for example, by operating the switch 1 1, the input of MCU2 connected to the switch 1 1 is changed to the ground potential from the 5V potential. The control / calculation unit 9 of the MPU 2 supplies a control signal for rotating the motor 4 in the forward direction to the motor control unit 3 in response to the input ground potential, and the motor control unit 3 The relays 3 3 and 3 4 are switched to rotate the motor 4 in the forward direction. When the motor 4 rotates in the forward direction, the window moves in a closing direction via a window driving mechanism connected to the motor 4. In addition, the rotation of the motor 4 causes the pulse generator 5 attached to the motor 4 to generate a two-phase square wave pulse, and the generated two-phase square wave pulse is sent to the pulse edge counter 12 of the MCU 2 via the pulse transmission line 8. Supplied.

【0041】ここで、スイッチ11 の操作を停止する
と、スイッチ11 に接続されたMCU2の入力が接地電
位から5V電位に変化する。MPU2の制御・演算部9
は、入力した5V電位に応答してモーター制御部3にモ
ーター4の回転を停止する制御信号を供給し、モーター
制御部3は、この制御信号に応答して2つのリレー
3、34 を切替え、モーター4への電源の供給を止
め、モーター4の回転を停止させる。モーター4の回転
が停止すると、モーター4に連結されたウインド駆動機
構の動作が停止し、ウインドが現在の位置で停止する。
また、モーター4の回転が停止すると、モーター4に取
り付けられたパルス発生器5の2相方形波パルスの発生
も停止し、MCU2のパルスエッジカウンタ12に2相
方形波パルスが供給されなくなる。
[0041] Here, when stopping the operation of the switch 1 1, the input of MCU2 connected to the switch 1 1 is changed to 5V potential from the ground potential. Control / arithmetic unit 9 of MPU 2
Supplies a control signal for stopping the rotation of the motor 4 to the motor control unit 3 in response to the input 5V potential, and the motor control unit 3 responds to this control signal by turning on the two relays 3 3 and 3 4 . The switching is performed, the power supply to the motor 4 is stopped, and the rotation of the motor 4 is stopped. When the rotation of the motor 4 stops, the operation of the window drive mechanism connected to the motor 4 stops, and the window stops at the current position.
When the rotation of the motor 4 is stopped, the generation of the two-phase square wave pulse by the pulse generator 5 attached to the motor 4 also stops, and the two-phase square wave pulse is not supplied to the pulse edge counter 12 of the MCU 2.

【0042】次に、スイッチ装置1の中の他のスイッ
チ、例えばスイッチ12 を操作すると、前述の場合と同
様に、スイッチ12 に接続されたMCU2の入力が接地
電位に変化する。MPU2の制御・演算部9は、入力さ
れた接地電位に応答してモーター制御部3にモーター4
を逆方向回転する制御信号を供給し、モーター制御部3
は、この制御信号に応答して2つのリレー33 、34
切替え、モーター4を逆方向に回転する。モーター4が
逆方向に回転すると、モーター4に連結された駆動機構
を介してウインドを開く方向に移動させる。この場合
も、モーター4が回転すると、モーター4に取り付けら
れたパルス発生器5が2相方形波パルスを発生し、発生
した2相方形波パルスがパルス伝送路8を介してMCU
2のパルスエッジカウンタ12に供給される。
Next, another switch in the switching device 1, for example, by operating the switch 1 2, as in the case described above, the input of MCU2 connected to the switch 1 2 is changed to the ground potential. The control / calculation unit 9 of the MPU 2 sends the motor 4 to the motor control unit 3 in response to the input ground potential.
Supply a control signal to rotate the motor in the reverse direction,
Switches the two relays 3 3 and 3 4 in response to this control signal, and rotates the motor 4 in the reverse direction. When the motor 4 rotates in the opposite direction, the window is moved in the opening direction via a drive mechanism connected to the motor 4. Also in this case, when the motor 4 rotates, the pulse generator 5 attached to the motor 4 generates a two-phase square wave pulse, and the generated two-phase square wave pulse is transmitted to the MCU via the pulse transmission line 8.
2 is supplied to the pulse edge counter 12.

【0043】その後、スイッチ12 の操作を停止した場
合、スイッチ11 とスイッチ13 とを同時操作した場
合、スイッチ12 とスイッチ13 とを同時操作した場合
の動作も、前述の各動作と同じ動作が行われるか、また
は、前述の各動作に準じた動作が行われる。
[0043] Thereafter, when stopping the operation of the switch 1 2, when co-operating with the switch 1 1 and the switch 1 3, also operates in the case of simultaneous operation of the switch 1 2 and the switch 1 3, each operation of the above The same operation as described above is performed, or an operation according to each of the above-described operations is performed.

【0044】このような動作が行われるとき、始めに、
ステップS1において、MCU2の制御・演算部9は、
パルスエッジカウンタ12において、パルス発生器5か
ら供給された2相方形波パルスのパルスエッジを検出し
たか否かを判断する。そして、パルスエッジを検出した
と判断した(Y)ときは、次のステップS2に移行し、
一方、パルスエッジを未だ検出していないと判断した
(N)ときは、このステップS1を繰り返し実行する。
When such an operation is performed, first,
In step S1, the control / arithmetic unit 9 of the MCU 2
The pulse edge counter 12 determines whether the pulse edge of the two-phase square wave pulse supplied from the pulse generator 5 has been detected. When it is determined that the pulse edge has been detected (Y), the process proceeds to the next step S2,
On the other hand, when it is determined that the pulse edge has not been detected yet (N), step S1 is repeatedly executed.

【0045】次に、ステップS2において、制御・演算
部9は、パルスエッジカウンタ12がパルスエッジの検
出を行った際に、タイマー13のカウントによって、前
回パルスエッジを検出した時点と今回パルスエッジを検
出した時点との時間間隔を表すエッジ間隔データを取得
する。
Next, in step S2, when the pulse edge counter 12 detects a pulse edge, the control / arithmetic unit 9 determines, based on the count of the timer 13, the time when the previous pulse edge was detected and the current pulse edge. The edge interval data representing the time interval from the detection time is acquired.

【0046】次いで、ステップS3において、制御・演
算部9は、取得したエッジ間隔データが規定時間(例え
ば、3.5msec)以上のものであるか否か、即ち、
正規のエッジ間隔データであるかまたはノイズであるか
を判断する。そして、エッジ間隔データが規定時間以上
のものであると判断した(Y)ときは、次のステップS
4に移行し、エッジ間隔データが規定時間に満たない、
即ち、ノイズであると判断した(N)ときは、最初のス
テップS1に戻り、ステップS1以降の動作が繰り返し
実行される。なお、この判断において、エッジ間隔デー
タにノイズが重畳加算されている場合は、正規のエッジ
間隔データであると判断している。
Next, in step S3, the control / arithmetic unit 9 determines whether or not the acquired edge interval data is longer than a specified time (for example, 3.5 msec).
It is determined whether the data is regular edge interval data or noise. When it is determined that the edge interval data is longer than the specified time (Y), the next step S
4 and the edge interval data is less than the specified time,
That is, when it is determined that the noise is noise (N), the process returns to the first step S1, and the operations after the step S1 are repeatedly executed. In this determination, when noise is superimposed and added to the edge interval data, it is determined that the data is normal edge interval data.

【0047】続く、ステップS4において、制御・演算
部9は、モーター駆動電圧検出部11において分圧抵抗
器7で検出した分圧電圧をモーター駆動電圧Eとして取
得する。
Subsequently, in step S4, the control / calculation section 9 acquires the divided voltage detected by the voltage dividing resistor 7 in the motor driving voltage detecting section 11 as the motor driving voltage E.

【0048】続いて、ステップS5において、制御・演
算部9は、取得したモーター駆動電圧Eとエッジ間隔デ
ータPwとを用いて演算を行い、モーター負荷トルクT
cを算出する。モーター負荷トルクTcの算出は、次式
(1)に基づいて算出する。即ち、
Subsequently, in step S5, the control / calculation unit 9 performs a calculation using the obtained motor drive voltage E and the edge interval data Pw to obtain the motor load torque T.
Calculate c. The calculation of the motor load torque Tc is performed based on the following equation (1). That is,

【0049】[0049]

【数1】 (Equation 1)

【0050】この場合、第1タイムテーブル107
は、式(1)の前半項{kt・(E/Rm)−Tm}、
即ち、モーター駆動電圧Eの依存項を示す計算結果がそ
れぞれのモーター駆動電圧Eの値に対応して記憶されて
おり、また、第2タイムテーブル108 には、式(1)
の後半項{(ke・kt)/(Rm・Pw)}、即ち、
エッジ間隔データPwの依存項を示す計算結果がそれぞ
れのエッジ間隔データPwの値に対応して記憶されてい
るもので、制御・演算部9は、モーター負荷トルクTc
を算出する際に、その時点に計測したモーター駆動電圧
E及びエッジ間隔データPwから、それらの値に対応し
たモーター駆動電圧Eの依存項を示す計算結果を第1タ
イムテーブル108 から読み出し、エッジ間隔データP
wの依存項を示す計算結果を第2タイムテーブル109
から読み出し、読み出した計算結果を用いてモーター負
荷トルクTcの算出を行う。
[0050] In this case, the first time table 107, the first half term of Equation (1) {kt · (E / Rm) -Tm},
That is, the motor drive voltage dependent term to indicate calculation results of E is stored in correspondence with the value of each motor driving voltage E, The second time table 108, the formula (1)
{(Ke · kt) / (Rm · Pw)}, that is,
The calculation result indicating the dependent term of the edge interval data Pw is stored in correspondence with the value of each edge interval data Pw.
When calculating the read from the motor driving voltage E and the edge interval data Pw measured in the time, the calculation results indicating the dependence terms of motor drive voltage E corresponding to the values from the first time table 108, the edge Interval data P
The calculation result indicating the dependent term of w is stored in the second time table 10 9
And calculates the motor load torque Tc using the read calculation result.

【0051】次に、ステップS6において、制御・演算
部9は、モーター4の起動時の動作が終了したか否か、
即ち、起動時キャンセルが終了したか否かを判断する。
そして、起動時の動作が終了したと判断した(Y)とき
は、次のステップS7に移行し、一方、起動時の動作が
未だ終了していないと判断した(N)ときは、最初のス
テップS1に戻り、ステップS1以降の動作が繰り返し
実行される。
Next, in step S6, the control / calculation unit 9 determines whether or not the operation at the time of starting the motor 4 has been completed.
That is, it is determined whether or not the startup cancellation is completed.
Then, when it is determined that the operation at the time of startup has been completed (Y), the process proceeds to the next step S7. On the other hand, when it is determined that the operation at the time of startup has not been completed (N), the first step is performed. Returning to S1, the operations after step S1 are repeatedly executed.

【0052】ここで、モーター4の起動時の動作が終了
したか否かを判断する理由は、モーター4の起動時に、
モーター4の内部トルクが極大の状態から定常状態に変
化する段階があることから、このとき計測されたモータ
ートルク値に基づいて挟み込みを判断してしまうと、大
きなモーター負荷トルク値の計測によって、ウインドに
挟み込みが生じたものとの誤判断を生じる結果になるた
めであり、また、この大きなモータートルク値を基準中
央値の更新のために用いると、新たな基準中央値が実態
に合わない誤った値に設定されることがあるためであ
る。
Here, the reason for judging whether or not the operation at the time of starting the motor 4 is completed is as follows.
Since there is a stage where the internal torque of the motor 4 changes from a maximum state to a steady state, if the jamming is determined based on the motor torque value measured at this time, a large motor load torque value is used to measure the window. If this large motor torque value is used to update the reference median value, the new reference median value will not match the actual situation. This is because it may be set to a value.

【0053】このため、モーター4の起動時の動作が終
了していないと判断した場合は、後述するように、基準
中央値を更新するためのモータートルク値の平均化処理
を行わない。この場合、モーター4の起動時の動作が終
了したか否かの判断は、最初のパルスエッジを検出して
から所定回数のパルスエッジを検出するまでの期間に基
づいて行われるもので、モーター4の起動時の動作が終
了していない場合、メモリ10の起動キャンセル記憶エ
リア104 にその旨が記憶され、記憶回数が所定回数に
達した後はクリアされる手順とされている。
For this reason, if it is determined that the operation at the time of starting the motor 4 has not been completed, the motor torque value averaging process for updating the reference median value is not performed as described later. In this case, the determination as to whether or not the operation at the start of the motor 4 is completed is made based on a period from the detection of the first pulse edge to the detection of a predetermined number of pulse edges. If the startup behavior is not completed, that effect the start cancellation storage area 10 4 in the memory 10 is stored, the storage times are the procedure is cleared after a predetermined number of times.

【0054】次いで、ステップS7において、制御・演
算部9は、タイマー13のカウント数とウインド移動位
置記憶エリア107 に記憶されている数との比較によっ
て、ウインドの位置がどの分割移動領域の前半領域であ
るか後半領域であるかを検索し、ウインドの位置がある
分割移動領域の前半領域であった場合、その分割移動領
域に対応する基準中央値(第1基準中央値)と直前の分
割移動領域に対応する基準中央値(第2基準中央値)を
基準中央値記憶エリア101 から読み出し、一方、ウイ
ンドの位置がある分割移動領域の後半領域であった場
合、その分割移動領域に対応する基準中央値(第1基準
中央値)とそれに続く分割移動領域に対応する基準中央
値(第2基準中央値)を基準中央値記憶エリア101
ら読み出す。なお、分割移動領域の前半領域及び後半領
域は、図7に図示されるように、それぞれ分割移動領域
を等しく2分した領域になる。
[0054] Then, in step S7, the controller 9, by comparison between the number stored in the counted number and the window moving position storage area 107 of the timer 13, the first half of the divided travel region window positions which Whether the window is located in the first half area of the divided moving area is searched for the area or the second half area. read base value corresponding to the moving region (second base value) from the base value storing area 10 1, on the other hand, if a second half region of the divided moving region in which the window position, corresponding to the divided travel region read base value (first base value) and base value corresponding to the divided moving region subsequent to the (second base value) from the base value storing area 10 1. As shown in FIG. 7, the first half area and the second half area of the divided moving area are each equally divided into two divided moving areas.

【0055】続く、ステップS8において、制御・演算
部9は、第1基準中央値と第2基準中央値とを比較し、
第1基準中央値が第2基準中央値より小さい場合、第1
基準中央値と第2基準中央値との平均値を求め、補完基
準中央値を算出する。
In the following step S8, the control / calculation section 9 compares the first reference median with the second reference median.
If the first reference median is smaller than the second reference median, the first
An average value of the reference median value and the second reference median value is obtained, and a complementary reference median value is calculated.

【0056】続いて、ステップS9において、制御・演
算部9は、ステップS5において算出したモーター負荷
トルクTcと基準中央値または補完基準中央値と比較す
る。この比較において、前述の第1基準中央値が第2基
準中央値より大であった場合は、前記モーター負荷トル
クTcと、その分割移動領域に対応する基準中央値(第
1基準中央値)に、基準許容値記憶エリア102 から読
み出した分割移動領域に係わりなしに一定の基準許容値
を加算したものとの比較になり、一方、前述の第1基準
中央値が第2基準中央値より小であった場合は、前記モ
ーター負荷トルクTcと、ステップS8において算出し
た補完基準中央値に、基準許容値記憶エリア102 から
読み出した基準許容値を加算したものとの比較になる。
Subsequently, in step S9, the control / calculation section 9 compares the motor load torque Tc calculated in step S5 with the reference median value or the supplementary reference median value. In this comparison, if the first reference median is larger than the second reference median, the motor load torque Tc and the reference median (first reference median) corresponding to the divided moving area are compared. results in comparison with the no involvement in the divided travel region read from the reference tolerance value storage area 10 2 obtained by adding a fixed reference allowable value, while the first base value described above is smaller than the second reference median If was made and the motor load torque Tc, a complementary base value calculated in step S8, the reference allowable value read from the reference tolerance value storage area 10 2 in comparison with those obtained by adding.

【0057】次に、ステップS10において、制御・演
算部9は、現在計測中の分割移動領域で算出されたモー
ター負荷トルクTcが、当該分割移動領域に設定された
基準中央値に基準許容値を加算した値または補完基準中
央値に基準許容値を加算した値(許容基準値)の範囲内
であるか否かを判断する。そして、モーター負荷トルク
Tcが許容基準値の範囲内であると判断した(Y)とき
は、次のステップS11に移行し、一方、モーター負荷
トルクTcが許容基準値の範囲内を超えていると判断し
た(N)ときは、他のステップS19に移行する。
Next, in step S10, the control / arithmetic unit 9 sets the motor load torque Tc calculated in the currently measured divided moving region to a reference allowable value as the reference median value set in the divided moving region. It is determined whether the sum is within a range of a value obtained by adding the reference allowable value to the added value or the complementary reference median value (permissible reference value). When it is determined that the motor load torque Tc is within the range of the allowable reference value (Y), the process proceeds to the next step S11. On the other hand, when the motor load torque Tc exceeds the range of the allowable reference value. When it is determined (N), the process proceeds to another step S19.

【0058】次いで、ステップS11において、制御・
演算部9は、現在計測中の1つの分割移動領域において
算出した全てのモーター負荷トルクTcを加算し、トル
クデータ加算値記憶エリア103 に記憶する。
Next, in step S11, the control
Computing unit 9 adds all the motor load torque Tc calculated in one of the divided travel region in the current measurement, and stores the torque data addition value storage area 10 3.

【0059】続く、ステップS12において、制御・演
算部9は、現在計測中の1つの分割移動領域において得
られた全てのモーター負荷トルクTcの数をカウント
し、分割移動領域内トルクデータ数記憶エリア105
記憶する。
In the following step S12, the control / calculation section 9 counts the number of all motor load torques Tc obtained in one currently measured divided movement area, and stores the torque data number storage area in the divided movement area. Store in 10 5 .

【0060】続いて、ステップS13において、制御・
演算部9は、ウインドの全開位置から現在計測中の1つ
の分割移動領域までに得られた全てのモーター負荷トル
クTcの数をカウントし、総トルクデータ数記憶エリア
106 に記憶する。
Subsequently, in step S13, the control
Calculation unit 9 counts the number of all the motor load torque Tc obtained to one divided travel region in the current measurement from the window of the fully open position, and stores the total number of torque data storage area 10 6.

【0061】次に、ステップS14において、制御・演
算部9は、総トルクデータ数記憶エリア106 に記憶さ
れている総トルクデータ数からウインドの現在の分割移
動領域の判断をする。
Next, in step S14, controller 9, the determination of the current divided travel region of the window from the total number of torque data stored in the total number of torque data storage area 10 6.

【0062】次いで、ステップS15において、制御・
演算部9は、ステップS14の判断に基づいて、ウイン
ドの現在の分割移動領域が1つの分割移動領域から次の
分割移動領域に移動したか否かを判断する。そして、ウ
インドの分割移動領域が次の分割移動領域に移動したと
判断した(Y)ときは、次のステップS16に移行し、
一方、ウインドの分割移動領域が未だ次の分割移動領域
に移動していないと判断した(N)ときは、最初のステ
ップS1に戻り、ステップS1以降の動作が繰り返し実
行される。
Next, in step S15, the control
The calculation unit 9 determines whether the current divided moving area of the window has moved from one divided moving area to the next divided moving area based on the determination in step S14. When it is determined that the divided moving area of the window has moved to the next divided moving area (Y), the process proceeds to the next step S16,
On the other hand, when it is determined that the divided moving area of the window has not yet moved to the next divided moving area (N), the process returns to the first step S1, and the operations after step S1 are repeatedly executed.

【0063】続く、ステップS16において、制御・演
算部9は、前記1つの分割移動領域で算出されたモータ
ー負荷トルクTcの値から、この1つの分割移動領域に
おける新たな基準中央値を設定する。この新たな基準中
央値の設定は、この1つの分割移動領域で得られたそれ
ぞれのエッジ間隔データに基づいて算出されたモーター
負荷トルクTcの値の平均値が用いられるもので、例え
ば、図5に示されるように、1つのエッジ間隔データ
(パルスカウント数75)がノイズだけであった場合ス
テップS3でデータが不採用となり、このノイズはモー
ター負荷トルクTcの値の平均値の算出に用いられるこ
とがなく、また、1つのエッジ間隔データ(パルスカウ
ント数84)にノイズが重畳されて大きな値になってい
たとしても、その大きな値に基づいて算出されたモータ
ー負荷トルクTcの値と他の多くのモーター負荷トルク
Tcの値とが平均化されるので、ノイズが重畳した大き
なエッジ間隔データの値が存在しても、新たな基準中央
値が誤った値に導かれることはない。
In step S16, the control / calculation section 9 sets a new reference median value in the one divided moving region from the value of the motor load torque Tc calculated in the one divided moving region. The setting of the new reference median value uses an average value of the motor load torque Tc calculated based on the respective edge interval data obtained in the one divided movement area. As shown in (1), if one edge interval data (pulse count number 75) is only noise, the data is rejected in step S3, and this noise is used for calculating the average value of the motor load torque Tc. Even if the noise is superimposed on one edge interval data (pulse count number 84) and becomes a large value, the value of the motor load torque Tc calculated based on the large value and other values Since many values of the motor load torque Tc are averaged, even if there is a large edge interval data value on which noise is superimposed, a new reference median value is obtained. It will not be guided to the wrong value.

【0064】続いて、ステップS17において、制御・
演算部9は、ステップS16において新たに設定した基
準中央値を、メモリ10内の基準中央値記憶エリア10
1 にそれまでの基準中央値に代えて書き込む。
Subsequently, in step S17, the control
The arithmetic unit 9 stores the reference median newly set in step S16 in the reference median storage area 10 in the memory 10.
Write 1 in place of the previous reference median.

【0065】次いで、ステップS18において、制御・
演算部9は、モーター負荷トルクTcの値の平均値を求
めるために用いたメモリ10内の平均化処理エリア、つ
まりトルクデータ加算値記憶エリア103 及び分割移動
領域内トルクデータ数記憶エリア105 を初期化する。
この初期化が行われると、最初のステップS1に戻り、
再び、ステップS1以降の動作が繰り返し実行される。
Next, in step S18, the control
Calculation unit 9, averaging processing area in the memory 10 used to determine the average value of the motor load torque Tc, i.e. the torque data addition value storage area 10 3 and the divided travel region in the number of torque data storage area 10 5 Is initialized.
When this initialization is performed, the process returns to the first step S1, and
Again, the operation after step S1 is repeatedly executed.

【0066】このようなフローチャートにおける繰り返
しの動作は、スイッチ11 またはスイッチ12 等の操作
によってモーター4の駆動が停止され、ウインドの移動
が停止するまで行われるか、または、後述するステップ
S19において、ウインドの挟み込みが検知され、それ
によりモーター4の駆動が停止され、ウインドの移動が
停止するようなるかもしくはモーター4が反対方向へ回
転駆動され、ウインドの移動が逆方向になるようになる
まで行われる。
[0066] The repetition of operation in such a flow chart, the driving of the motor 4 by the operation of such switch 1 1 or the switch 1 2 is stopped, or the movement of the window is performed to stop or, in step S19 to be described later When the pinching of the window is detected, the driving of the motor 4 is stopped, and the movement of the window is stopped or the motor 4 is driven to rotate in the opposite direction, and the movement of the window is reversed. Done.

【0067】また、ステップS19において、制御・演
算部9は、モーター制御部3に制御信号を供給して、2
つのリレー33 、34 を切替え、モーター4の回転を停
止させてウインドの移動を停止させるか、または、モー
ター4の回転をそれまでの回転方向と逆の方向に回転さ
せてウインドの移動をそれまでの方向と逆の方向に移動
させ、ウインドに挟み込まれた物体を損傷から保護する
ように動作する。
In step S19, the control / arithmetic unit 9 supplies a control signal to the motor control unit 3 to
Switch the three relays 3 3 , 3 4 to stop the movement of the window by stopping the rotation of the motor 4, or to rotate the rotation of the motor 4 in the opposite direction to the rotation direction of the window to stop the movement of the window. It moves in the direction opposite to the previous direction and operates to protect the object sandwiched between the windows from damage.

【0068】なお、このフローチャートにおいて、ステ
ップS2乃至ステップS6は、エッジ間隔データの取得
を行うデータ取得の動作過程であり、ステップS7及び
ステップS8は、補完基準中央値の算出の動作過程であ
り、ステップS9及びステップS10はウインドへの物
体の挟み込みを判断する挟み込み判断の動作過程であ
り、ステップS11乃至ステップS18は、モーター負
荷トルクの基準中央値を更新する基準中央値更新の動作
過程であり、ステップS19はモーターの駆動停止また
は駆動反転させるモーター駆動停止の動作過程である。
In this flowchart, steps S2 to S6 are data acquisition operations for acquiring edge interval data, and steps S7 and S8 are operations for calculating a complementary reference median. Steps S9 and S10 are an entrapment determination operation process for judging the entrapment of the object in the window, and Steps S11 to S18 are an operation process of updating the reference median value of the motor load torque, Step S19 is an operation process of stopping the driving of the motor or stopping the driving of the motor for inverting the driving.

【0069】この場合、図1に図示のパワーウインド装
置において、図5及び図6に示されたフローチャートに
従った動作が実行され、その際にウインドが全開位置か
ら全閉位置まで移動し、その移動時にウインドの挟み込
みを生じなかった場合は、モーター負荷トルクとして図
4の実線(M)に示すような特性が得られるもので、全
分割移動領域においてモーター負荷トルクは、それぞれ
の分割移動領域に設定された基準中央値に基準許容値を
加えた値を超えることがない。
In this case, in the power window device shown in FIG. 1, the operation according to the flowcharts shown in FIGS. 5 and 6 is executed, and at that time, the window moves from the fully open position to the fully closed position, When the window is not pinched during the movement, a characteristic as shown by a solid line (M) in FIG. 4 is obtained as the motor load torque, and the motor load torque in all the divided movement regions is equal to each divided movement region. It does not exceed the value obtained by adding the reference allowable value to the set reference median value.

【0070】これに対して、ウインドが中間位置から全
閉位置方向に移動し、その移動時にウインドの挟み込み
を生じた場合は、モーター負荷トルクとして図4の一点
鎖線(H)に示すような特性が得られるもので、挟み込
みを生じた分割移動領域におけるモーター負荷トルク
は、その分割移動領域に設定された基準中央値に基準許
容値を加算した値を超えるようになる。
On the other hand, when the window moves from the intermediate position in the direction of the fully closed position, and the window is pinched during the movement, the motor load torque has a characteristic as shown by the dashed line (H) in FIG. Is obtained, and the motor load torque in the divided moving region in which the entrapment has occurred exceeds the value obtained by adding the reference allowable value to the reference median value set in the divided moving region.

【0071】このように、第1実施例におけるパワーウ
インド装置の挟み込み検知方法及びそれに用いる検知装
置によれば、MCU2のメモリ10に基準中央値記憶エ
リア101 とウインド移動位置記憶エリア107 とを設
け、ウインドの全移動範囲を分割した複数の分割移動領
域のそれぞれにおいて、その分割移動領域の前半、後半
の少なくともいずれかの領域のウインドの挟み込みの判
断は、その分割移動領域に設定され、基準中央値記憶エ
リア101 から読み出した基準中央値と、隣接する分割
移動領域に設定され、基準値記憶エリア101 から読み
出した基準中央値とを平均化した補完基準中央値を用い
るようにしたので、メモリ10の記憶容量を増大させる
ことなしに、ウインドの挟み込みの検知を高精度で、か
つ、極め細かに行うことができる。
As described above, according to the pinch detection method of the power window device and the detection device used in the first embodiment, the reference median storage area 10 1 and the window movement position storage area 10 7 are stored in the memory 10 of the MCU 2. In each of the plurality of divided moving regions obtained by dividing the entire moving range of the window, the determination of the sandwiching of the window in at least one of the first half and the second half of the divided moving region is set in the divided moving region, Since the reference median value read from the median value storage area 10 1 and the reference median value set in the adjacent divided movement area and read from the reference value storage area 10 1 are averaged, a complementary reference median value is used. In addition, the detection of the pinching of the window is performed with high accuracy and extremely finely without increasing the storage capacity of the memory 10. Door can be.

【0072】なお、前記実施例の変形例として、分割移
動領域の前半領域は一義的にその分割移動領域に対応す
る基準中央値を、分割移動領域の前半領域はその分割移
動領域とそれに続く分割移動領域にそれぞれ対応する基
準中央値を平均化した補完基準中央値を、ウインドの挟
み込みの判断に用いるようにしても良い。
As a modification of the above embodiment, the first half area of the divided moving area is uniquely defined as the reference median value corresponding to the divided moving area, and the first half area of the divided moving area is divided into the divided moving area and the subsequent divided moving area. A supplemented reference median obtained by averaging the reference medians respectively corresponding to the moving regions may be used for determining whether the window is sandwiched.

【0073】[0073]

【発明の効果】以上のように、本発明に係わるパワーウ
インド装置の挟み込み検知方法によれば、ウインドの全
移動範囲を分割した複数の分割移動領域のそれぞれに基
準中央値を設定するとともに、複数の分割移動領域のそ
れぞれにおいて、その分割移動領域の前半、後半の少な
くともいずれかの領域のウインドの挟み込みの判断は、
その分割移動領域に設定した基準中央値と隣接する分割
移動領域に設定した基準中央値とを平均化して得た補完
基準中央値を用いて行うようにしたので、ウインドの挟
み込みの検知を高精度で行うことができ、かつ、極め細
かに行うことができるという効果がある。
As described above, according to the pinching detection method of the power window device according to the present invention, the reference median value is set in each of the plurality of divided moving regions obtained by dividing the entire moving range of the window. In each of the divided moving areas, the first half of the divided moving area, the determination of the sandwiching of the window in at least one of the second half area,
Since the reference median value set in the divided moving area and the reference median value set in the adjacent divided moving area are averaged and the complemented median value is used, detection of window entrapment is performed with high accuracy. And can be performed very finely.

【0074】また、本発明に係わるパワーウインド装置
の挟み込み検知装置によれば、MCUの内部メモリに、
基準値記憶エリアと位置データ記憶エリアとを設けるよ
うにし、ウインドの全移動範囲を等分割した複数の分割
移動領域のそれぞれに基準中央値を設定するとともに、
複数の分割移動領域のそれぞれにおいて、マイクロ制御
ユニットは、位置データの読み出しによって、ウインド
が各分割移動領域の前半領域にあることを検出しかつ直
前の分割移動領域の基準中央値の方が大であるとき、そ
の分割移動領域に設定された基準中央値と直前の分割移
動領域に設定された基準中央値とを平均化した補完基準
中央値を求め、もしくは、ウインドが各分割移動領域の
後半領域にあることを検出しかつ直後の分割移動領域の
基準中央値の方が大であるとき、その分割移動領域に設
定された基準中央値とそれに続く分割移動領域に設定さ
れた基準中央値とを平均化した補完基準中央値を求め、
この補完基準中央値を用いてウインドの挟み込みの判断
を行うようにしたので、内部メモリの記憶容量を増大す
ることなしに、ウインドの挟み込みの検知を高精度で行
うことができ、かつ、極め細かに行うことができるとい
う効果がある。
Further, according to the pinch detection device of the power window device according to the present invention, the internal memory of the MCU has:
A reference value storage area and a position data storage area are provided, and a reference median value is set in each of a plurality of divided movement areas obtained by equally dividing the entire movement range of the window,
In each of the plurality of divided moving regions, the micro control unit detects that the window is in the first half region of each divided moving region by reading the position data, and the reference median value of the immediately preceding divided moving region is larger. At some point, a supplementary reference median obtained by averaging the reference median set in the divided moving area and the reference median set in the immediately preceding divided moving area is obtained, or the window is set in the latter half of each divided moving area. Is detected, and when the reference median of the divided moving area immediately after is larger, the reference median set for the divided moving area and the reference median set for the subsequent divided moving area are Find the average median of the complementing criterion,
Since the judgment of the pinching of the window is performed by using the median value of the complementing criterion, the pinching of the window can be detected with high accuracy without increasing the storage capacity of the internal memory, and at the same time, it is extremely detailed. There is an effect that can be performed.

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

【図1】本発明によるパワーウインド装置の挟み込み検
知方法が実施されるパワーウインド装置を示すブロック
構成図である。
FIG. 1 is a block diagram showing a power window device in which a method for detecting pinching of a power window device according to the present invention is performed.

【図2】図1に図示のパワーウインド装置に用いられる
パルス発生器のパルス発生原理構造図及びパルス発生器
から発生される2相方形波パルスを示す波形図である。
FIG. 2 is a structural diagram of a pulse generation principle of a pulse generator used in the power window device shown in FIG. 1 and a waveform diagram showing a two-phase square wave pulse generated from the pulse generator.

【図3】図1に図示のパワーウインド装置におけるウイ
ンドの全移動領域を複数の分割移動領域に分割した場
合、各分割移動領域に設定されたモーター負荷トルクの
基準中央値及び基準許容値の一例を示す特性図である。
FIG. 3 shows an example of a reference median value and a reference allowable value of a motor load torque set in each divided moving region when the entire moving region of the window in the power window device shown in FIG. 1 is divided into a plurality of divided moving regions. FIG.

【図4】図3に示された複数の分割移動領域中の1つの
分割移動領域において、複数のエッジ間隔データが到来
する状態の一例を示す特性図である。
FIG. 4 is a characteristic diagram showing an example of a state in which a plurality of edge interval data arrives in one of the plurality of divided moving areas shown in FIG.

【図5】図1に図示のパワーウインド装置を用いて、ウ
インドの挟み込み検知を行う際の概略の動作経緯を示す
フローチャートの前半部である。
FIG. 5 is a first half of a flowchart showing a schematic operation process when window entrapment detection is performed using the power window device shown in FIG. 1;

【図6】図1に図示のパワーウインド装置を用いて、ウ
インドの挟み込み検知を行う際の概略の動作経緯を示す
フローチャートの後半部である。
FIG. 6 is a latter half of a flowchart showing a schematic operation process when window entrapment is detected using the power window device shown in FIG. 1;

【図7】図1に図示のパワーウインド装置の一部の分割
移動領域におけるモーター負荷トルクの基準中央値及び
補完基準中央値の設定状態の一例を示す特性図である。
FIG. 7 is a characteristic diagram showing an example of a setting state of a reference median value and a complementation reference median value of a motor load torque in a part of a divided movement region of the power window device shown in FIG.

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

1 スイッチ装置 11 、12 、13 スイッチ 2 マイクロ制御ユニット(MCU) 3 モーター駆動部 31 、32 インバータ 33 、34 リレー 35 、36 ダイオード 4 モーター 5 パルス発生器 51 回転体 52 、53 ホール素子 6 プルアップ抵抗 7 分圧抵抗器 8 パルス伝送路 9 制御・演算部 10 メモリ 101 基準中央値記憶エリア 102 基準許容値記憶エリア 103 トルクデータ加算値記憶エリア 104 起動キャンセル記憶エリア 105 分割移動領域内トルクデータ数記憶エリア 106 総トルクデータ数記憶エリア 107 ウインド移動位置記憶エリア 108 第1タイムテーブル 109 第2タイムテーブル 11 モーター駆動電圧検出部 12 パルスエッジカウンタ 13 タイマーDESCRIPTION OF SYMBOLS 1 Switch device 1 1 , 1, 2 , 3 switch 2 Micro control unit (MCU) 3 Motor drive unit 3 1 , 3 2 Inverter 3 3 , 3 4 Relay 3 5 , 3 6 Diode 4 Motor 5 Pulse generator 5 1 rotation Body 5 2 , 5 3 Hall element 6 Pull-up resistor 7 Voltage divider 8 Pulse transmission line 9 Control / calculation unit 10 Memory 10 1 Reference central value storage area 10 2 Reference allowable value storage area 10 3 Torque data added value storage area 10 4 Start cancel storage area 10 5 Torque data number storage area in divided movement area 10 6 Total torque data number storage area 10 7 Window movement position storage area 10 8 First time table 10 9 Second time table 11 Motor drive voltage detector 12 Pulse edge counter 13 Timer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 駆動時にウインド駆動機構を介してウイ
ンドを開閉するモーターと、前記モーターを駆動するモ
ーター駆動部と、前記モーターの回転に対応したパルス
を発生するパルス発生部と、全体的な制御駆動処理を行
うマイクロ制御ユニットと、前記ウインドの開閉を手動
操作する操作スイッチとを備え、前記マイクロ制御ユニ
ットは、前記モーター駆動部を介して前記ウインドを開
閉する際、前記ウインドに加わるモーター負荷荷重を示
すパラメータ値を検出し、前記検出したパラメータ値と
予設定された基準中央値とを比較し、前記パラメータ値
が前記基準中央値から相当量外れたときにウインドの挟
み込みがあったものと判断し、前記モーター駆動部を介
して前記モーターを駆動停止または逆転駆動させるパワ
ーウインド装置の挟み込み検知方法であって、ウインド
の全移動範囲を複数の分割移動領域に分割して前記各分
割移動領域毎に前記基準中央値を設定し、前記各分割移
動領域の前半もしくは後半領域はその分割移動領域に設
定された基準中央値と隣接する分割移動領域に設定され
た基準中央値とを平均化した補完基準中央値が用いられ
ることを特徴とするパワーウインド装置の挟み込み検知
方法。
1. A motor for opening and closing a window via a window driving mechanism when driving, a motor driving unit for driving the motor, a pulse generating unit for generating a pulse corresponding to the rotation of the motor, and overall control. A micro-control unit for performing a driving process, and an operation switch for manually operating the opening and closing of the window, wherein the micro-control unit includes a motor load applied to the window when the window is opened and closed via the motor driving unit. Is detected, and the detected parameter value is compared with a preset reference median value. When the parameter value deviates from the reference median value by a considerable amount, it is determined that the window has been pinched. And a power window device for stopping or reversely driving the motor via the motor driving unit. In the penetration detection method, the entire moving range of the window is divided into a plurality of divided moving regions, and the reference median is set for each of the divided moving regions. A pinching detection method for a power window device, wherein a complementary reference median obtained by averaging a reference median set in a divided moving area and a reference median set in an adjacent divided moving area is used.
【請求項2】 駆動時にウインド駆動機構を介してウイ
ンドを開閉するモーターと、前記モーターを駆動するモ
ーター駆動部と、前記モーターの回転に対応したパルス
を発生するパルス発生部と、全体的な制御駆動処理を行
うともに各種データを記憶する内部メモリを有するマイ
クロ制御ユニットと、前記ウインドの開閉を手動操作す
る操作スイッチとを備え、前記ウインドの開閉時に、前
記マイクロ制御ユニットにおいて、前記ウインドに加わ
るモーター負荷荷重を示すパラメータ値を検出し、前記
検出したパラメータ値と予設定された基準中央値とを比
較し、前記パラメータ値が前記基準中央値から相当量外
れたときにウインドの挟み込みがあったものと判断し、
前記モーター駆動部を介して前記モーターを駆動停止ま
たは逆転駆動するパワーウインド装置の挟み込み検知装
置であって、前記内部メモリは、前記ウインドの全移動
範囲を複数の分割移動領域に分割したときの各分割移動
領域毎に設定される基準中央値を記憶する基準中央値記
憶エリアと、前記ウインドの移動位置を示す位置データ
を記憶するウインド移動位置記憶エリアとを有し、前記
マイクロ制御ユニットは、前記位置データの読み出しに
よって、前記ウインドが前記各分割移動領域の前半領域
にあることを検出しかつ直前の分割移動領域の基準中央
値の方が大であるとき、その分割移動領域に設定された
基準中央値と直前の分割移動領域に設定された基準中央
値とを平均化した補完基準中央値を求め、もしくは、前
記ウインドが前記各分割移動領域の後半領域にあること
を検出しかつ直後の分割移動領域の基準中央値の方が大
であるとき、その分割移動領域に設定された基準中央値
とそれに続く分割移動領域に設定された基準中央値とを
平均化した補完基準中央値を求め、前記補完基準中央値
を用いてウインドの挟み込みの判断を行うことを特徴と
するパワーウインド装置の挟み込み検知装置。
2. A motor for opening and closing a window via a window driving mechanism at the time of driving, a motor driving unit for driving the motor, a pulse generating unit for generating a pulse corresponding to the rotation of the motor, and overall control. A micro control unit having an internal memory for performing drive processing and storing various data, and an operation switch for manually operating the opening and closing of the window, and a motor that is added to the window in the micro control unit when the window is opened and closed. A parameter value indicating a load applied is detected, the detected parameter value is compared with a preset reference median value, and when the parameter value deviates from the reference median value by a considerable amount, a window is pinched. Judge,
A pinch detection device of a power window device that stops driving or reversely drives the motor via the motor driving unit, wherein the internal memory is configured to divide the entire moving range of the window into a plurality of divided moving regions. A reference median storage area for storing a reference median value set for each divided movement area, and a window movement position storage area for storing position data indicating a movement position of the window, wherein the microcontroller includes: By reading out the position data, it is detected that the window is in the first half area of each of the divided moving areas, and when the reference median of the immediately preceding divided moving area is larger, the reference set in the divided moving area is set. Find a complementary reference median by averaging the median and the reference median set in the previous divided movement area, or the window is When it is detected that it is in the latter half area of the divided moving area and the reference median of the immediately following divided moving area is larger, the reference moving average set in the divided moving area and the subsequent divided moving area are set. An interpolating reference median obtained by averaging the interpolated reference median and determining the entrapment of the window by using the interpolated median reference.
JP23610097A 1997-09-01 1997-09-01 Method and device for detecting pinching of power window device Expired - Fee Related JP3675617B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP23610097A JP3675617B2 (en) 1997-09-01 1997-09-01 Method and device for detecting pinching of power window device
DE19839025A DE19839025C2 (en) 1997-09-01 1998-08-27 Obstacle detection method for a power window device
US09/141,945 US5994858A (en) 1997-09-01 1998-08-28 Method and apparatus for detecting obstruction to powered window movement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23610097A JP3675617B2 (en) 1997-09-01 1997-09-01 Method and device for detecting pinching of power window device

Publications (2)

Publication Number Publication Date
JPH1181794A true JPH1181794A (en) 1999-03-26
JP3675617B2 JP3675617B2 (en) 2005-07-27

Family

ID=16995737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23610097A Expired - Fee Related JP3675617B2 (en) 1997-09-01 1997-09-01 Method and device for detecting pinching of power window device

Country Status (1)

Country Link
JP (1) JP3675617B2 (en)

Also Published As

Publication number Publication date
JP3675617B2 (en) 2005-07-27

Similar Documents

Publication Publication Date Title
US6034497A (en) Apparatus for detecting pinching of an object in a power window
KR100348739B1 (en) Method for detecting interposition in power window apparatus
JPH1162380A (en) Inserting detection method of power window device
US5994858A (en) Method and apparatus for detecting obstruction to powered window movement
JP2001132333A (en) Method of detecting getting-caught in power window device
US6822410B2 (en) Motor speed-based anti-pinch control apparatus and method
JP3675632B2 (en) Power window device pinching detection method
EP3263817A1 (en) Opening/closing control device
JP3675622B2 (en) Power window device pinching detection method
JPH06327279A (en) Electrically driven device
JP2845427B2 (en) Window opener
JPH1181794A (en) Method and device for detecting catching of power window device
JPH1181793A (en) Catching detecting method of power window device
JPH1178514A (en) Pinching detector for power window device
JP3467390B2 (en) Power window device pinch detection method
JP2954471B2 (en) Opening / closing body opening / closing control method
JP3387281B2 (en) Opening / closing control device
JP3730777B2 (en) Power window equipment
JP3924158B2 (en) Power window equipment
JP2782320B2 (en) Electric drive
JP3054305B2 (en) Control method of opening / closing body drive control device
JP3510095B2 (en) Power window device pinch detection method
JP3815989B2 (en) Power window device that detects pinching
JPH02106592A (en) Door control device for elevator
JPH08135304A (en) Opening and closing device

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050426

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080513

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090513

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090513

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100513

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100513

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110513

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120513

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120513

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130513

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees