JPH1178514A - Pinching detector for power window device - Google Patents

Pinching detector for power window device

Info

Publication number
JPH1178514A
JPH1178514A JP9236099A JP23609997A JPH1178514A JP H1178514 A JPH1178514 A JP H1178514A JP 9236099 A JP9236099 A JP 9236099A JP 23609997 A JP23609997 A JP 23609997A JP H1178514 A JPH1178514 A JP H1178514A
Authority
JP
Japan
Prior art keywords
motor
pulse
edge
window
interval data
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
JP9236099A
Other languages
Japanese (ja)
Other versions
JP3675616B2 (en
Inventor
Yukio Miura
幸夫 三浦
Shuichi Nagaoka
秀一 永岡
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 JP23609997A priority Critical patent/JP3675616B2/en
Publication of JPH1178514A publication Critical patent/JPH1178514A/en
Application granted granted Critical
Publication of JP3675616B2 publication Critical patent/JP3675616B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To improve the resolution for edge-to-edge interval data without complicating the structure of a pulse generator. SOLUTION: Equipped with a window sliding (opening/closing) motor 4, a drive section 3 for the motor 4, a pulse generator 5 to generate 2-phase pulses, an MCU 2 and manual control switches 1, the MCU 2, when a window is opened or closed, detects a parameter value which represents the load applied to the window, compares the parameter value with the median of preset criteria, and judges that something is being pinched when the parameter value deviates from the median of the preset criteria by a remarkable amount and this is a detection device to detect the pinching of a power window device. Further, the 2-phase pulses are formed of a 1st and a 2nd square wave pulses to be offset each other in their period by 1/4 of a period, and the time interval between the pulse edge of the 1st or the 2nd square wave pulse and that of the 2nd or 1st square wave pulse following is obtained as edge-to-edge interval data and based on these edge-to-edge interval data, the parameter value is detected.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、パワーウインド装
置の挟み込み検知方法に係わり、特に、ウインドの開閉
中に何等かの物体が挟み込まれたことの検知を正確に行
うことが可能なパワーウインド装置の挟み込み検知方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting pinching of a power window device, and more particularly to a power window device capable of accurately detecting that an object has been pinched during opening and closing of a window. The present invention relates to a pinch detection method.

【0002】[0002]

【従来の技術】従来、パワーウインド装置における挟み
込みの検知を行う場合、ウインドを移動(開閉)するモ
ーターにパルス発生器を結合し、モーターの回転に伴っ
てパルス発生器から1相方形波パルスまたは2相方形波
パルスを発生させ、この1相方形波パルスまたは2相方
形波パルスを用いて、ウインドの挟み込みの検知を行う
方法が知られている。
2. Description of the Related Art Conventionally, when detecting entrapment in a power window device, a pulse generator is connected to a motor that moves (opens and closes) the window, and a one-phase square wave pulse or There is known a method of generating a two-phase square wave pulse and detecting the pinching of the window using the one-phase square wave pulse or the two-phase square wave pulse.

【0003】この場合、既知のパワーウインド装置の挟
み込みの検知方法の中の1相方形波パルスを用いるもの
(以下、これを既知の1相パルス検知方法という)は、
1相方形波パルスの立上り(または立下り)と立下り
(または立上り)との時間間隔をエッジ間隔データとし
て検出し、そのエッジ間隔データをウインドの挟み込み
の検知に用いているものであり、また、既知のパワーウ
インド装置の挟み込みの検知方法の中の2相方形波パル
スを用いるもの(以下、これを既知の2相パルス検知方
法という)は、一方の方形波パルスの立上り(または立
下り)と立下り(または立上り)との時間間隔をエッジ
間隔データとして検出し、そのエッジ間隔データをウイ
ンドの挟み込みの検知に用い、他方の方形波パルスをモ
ーターの回転方向の検出に用いているものである。
[0003] In this case, a known method of detecting entrapment of a power window device using a one-phase square wave pulse (hereinafter, this method is referred to as a known one-phase pulse detection method) is as follows.
A time interval between the rising (or falling) and the falling (or rising) of the one-phase square wave pulse is detected as edge interval data, and the edge interval data is used for detecting the pinching of a window. Among the known methods of detecting pinching of a power window device, those using a two-phase square wave pulse (hereinafter, this method is referred to as a known two-phase pulse detection method) include the rising (or falling) of one square wave pulse. It detects the time interval between the rising edge and the falling edge (or rising edge) as edge interval data, uses the edge interval data to detect the pinching of the window, and uses the other square wave pulse to detect the rotation direction of the motor. is there.

【0004】ところで、既知の1相パルス検知方法に用
いられるパルス発生器は、モーターの回転軸に装着さ
れ、相対する端縁部分にN極及びS極を着磁した回転体
と、その回転体の端縁部分の近傍に固定配置された1個
のホール素子とからなる構成のもので、モーター軸とと
もに回転体が回転したとき、ホール素子が回転体のN極
着磁部分及びS極着磁部分を感知し、ホール素子からモ
ーターの1回転毎に1つの立上りと1つの立下りを持っ
た1相方形波パルスを発生させる。そして、この1相方
形波パルスは、その立上り(または立下り)と立下り
(または立上り)との時間間隔がエッジ間隔データとし
て利用され、その結果、エッジ間隔データの分解能はモ
ーター1/2回転相当のものになる。
A pulse generator used in a known one-phase pulse detection method is mounted on a rotating shaft of a motor, and has a N-pole and an S-pole magnetized at opposing edges, and a rotating body. And a single Hall element fixedly disposed near the edge of the rotating body. When the rotating body rotates together with the motor shaft, the Hall element turns the N-pole magnetized portion and the S-pole magnetized portion of the rotating body. A part is sensed, and a one-phase square wave pulse having one rise and one fall is generated from the Hall element every rotation of the motor. The time interval between the rising (or falling) and the falling (or rising) of the one-phase square wave pulse is used as edge interval data. As a result, the resolution of the edge interval data is 1/2 rotation of the motor. It will be considerable.

【0005】また、既知の2相パルス検知方法に用いら
れるパルス発生器は、モーターの回転軸に装着され、相
対する端縁部分にN極及びS極を着磁した2つの回転体
と、2つの回転体の端縁部分の近傍に対応して固定配置
された2個のホール素子とからなる構成のもので、モー
ター軸とともに2つの回転体が回転したとき、2つのホ
ール素子が対応する回転体のN極着磁部分及びS極着磁
部分を感知し、2つのホール素子からモーターの1回転
毎にそれぞれ1つの立上りと1つの立下りを持った2つ
の1相方形波パルス(全体として2相方形波パルスにな
る)を発生させる。そして、この2相方形波パルスは、
一方の1相方形波パルスについてだけ、その立上り(ま
たは立下り)と立下り(または立上り)との時間間隔が
エッジ間隔データとして利用され、その結果、1相パル
ス検知方法に用いられるパルス発生器と同様に、エッジ
間隔データの分解能はモーター1/2回転相当のものに
なる。
A pulse generator used in a known two-phase pulse detection method is mounted on a rotating shaft of a motor, and has two rotating bodies having N and S poles magnetized at opposing edge portions. It consists of two Hall elements fixedly arranged in the vicinity of the edge portion of one rotating body, and when the two rotating bodies rotate together with the motor shaft, the two Hall elements rotate correspondingly. It senses the N-pole and S-pole magnetized parts of the body and two two-phase square-wave pulses (one as a whole) with two rising elements and one falling part for each rotation of the motor from two Hall elements. A two-phase square wave pulse). And this two-phase square wave pulse
For only one phase square wave pulse, the time interval between the rise (or fall) and the fall (or rise) is used as edge interval data, and as a result, a pulse generator used in the one-phase pulse detection method Similarly to the above, the resolution of the edge interval data is equivalent to 1/2 rotation of the motor.

【0006】[0006]

【発明が解決しようとする課題】前記既知の1相パルス
検知方法及び2相パルス検知方法は、いずれも、エッジ
間隔データの分解能がモーター1/2回転相当のもので
あって、エッジ間隔データの分解能をこれ以上の向上さ
せることができないという問題がある。
In each of the known one-phase pulse detection method and the known two-phase pulse detection method, the resolution of the edge interval data is equivalent to 1/2 rotation of the motor, and There is a problem that the resolution cannot be further improved.

【0007】もっとも、前記既知の1相パルス検知方法
及び2相パルス検知方法に用いるパルス発生器の構成を
変更し、回転体の近傍に固定配置するホール素子の数を
増やしたり、回転体のN極着磁部分及びS極着磁部分を
増やしたりすれば、理論上、モーターが1回転する毎に
ホール素子から多くの立上り及び立下りを持った方形波
パルスを発生することができ、その結果として、エッジ
間隔データの分解能をモーター1/2回転相当のものよ
り向上させることができる。
However, the configuration of the pulse generator used in the known one-phase pulse detection method and the known two-phase pulse detection method is changed to increase the number of Hall elements fixedly arranged near the rotating body, or to increase the N of the rotating body. By increasing the number of pole magnetized portions and S pole magnetized portions, it is theoretically possible to generate a square wave pulse having many rising and falling edges from the Hall element every time the motor makes one revolution, and as a result, As a result, the resolution of the edge interval data can be improved as compared with that equivalent to 1/2 rotation of the motor.

【0008】ところが、この種のパルス発生器において
は、ホール素子の数や回転体のN極着磁部分及びS極着
磁部分を増やした場合、パルス発生器の構成が複雑にな
ることが避けられず、その分、パワーウインド装置自体
の構成も複雑になって、製造コストが上昇するという問
題があり、また、ホール素子の数や回転体のN極着磁部
分及びS極着磁部分を増やした場合、ホール素子の配置
間隔やN極着磁部分及びS極着磁部分の配置間隔を正確
に設定しないと、正確なエッジ間隔データを得るができ
なくなるという問題があり、ホール素子の配置間隔やN
極着磁部分及びS極着磁部分の配置間隔を正確に設定す
ることは技術的にかなり難しいという問題もある。
However, in this type of pulse generator, when the number of Hall elements and the N-pole and S-pole magnetized portions of the rotating body are increased, the configuration of the pulse generator is not complicated. However, the structure of the power window device itself becomes complicated and the manufacturing cost increases, and the number of Hall elements and the N-pole magnetized portion and the S-pole magnetized portion of the rotating body are reduced. If the number is increased, if the arrangement intervals of the Hall elements and the arrangement intervals of the N-pole magnetized portion and the S-pole magnetized portion are not set accurately, there is a problem that accurate edge interval data cannot be obtained. Spacing or N
There is also a problem that it is technically quite difficult to accurately set the arrangement interval between the pole magnetized portion and the S pole magnetized portion.

【0009】本発明は、これらの問題点を解決するもの
で、その主たる目的は、パルス発生器の構成を複雑にせ
ずにエッジ間隔データの分解能を向上させるようにした
パワーウインド装置の挟み込み検知方法を提供すること
にある。
SUMMARY OF THE INVENTION The present invention solves these problems, and a main object of the present invention is to provide a method for detecting a pinch of a power window apparatus which improves the resolution of edge interval data without complicating the structure of a pulse generator. Is to provide.

【0010】また、本発明の他の目的は、ホール素子の
配置間隔のずれに基づくエッジ間隔データの不正確さを
除いて、常時、正確なエッジ間隔データを得ることが可
能なパワーウインド装置の挟み込み検知方法を提供する
ことにある。
Another object of the present invention is to provide a power window device capable of always obtaining accurate edge interval data except for inaccuracy of edge interval data due to a shift in the arrangement interval of Hall elements. An object of the present invention is to provide an entrapment detection method.

【0011】[0011]

【課題を解決するための手段】前記主たる目的を達成す
るために、本発明によるパワーウインド装置の挟み込み
検知方法は、ウインド移動(開閉)モーター、モーター
駆動部、2相パルスを発生するパルス発生部、マイクロ
制御ユニット(MCU、以下、これをMCUという)、
ウインド操作スイッチを用い、ウインドの開閉時に、M
CUは、ウインドに加わる負荷荷重を表すパラメータ値
の検出、このパラメータ値と予設定基準中央値との比較
を行い、パラメータ値が基準中央値から相当量外れたと
きに挟み込みがあったとの判断をするもので、2相パル
スとして周期が1/4ずれた第1及び第2方形波パルス
を用い、第1または第2方形波パルスのパルスエッジと
その直後の第2または第1方形波パルスのパルスエッジ
との時間間隔をエッジ間隔データとして求め、このエッ
ジ間隔データに基づいてパラメータ値の検出を行う第1
の手段を具備する。
In order to achieve the above-mentioned main object, a method for detecting pinching of a power window device according to the present invention comprises a window moving (opening / closing) motor, a motor driving unit, and a pulse generating unit for generating a two-phase pulse. , Micro control unit (MCU, hereafter referred to as MCU),
Using the window operation switch, when opening and closing the window,
The CU detects a parameter value representing a load applied to the window, compares the parameter value with a preset reference median value, and determines that a pinch has occurred when the parameter value deviates considerably from the reference median value. The first and second square wave pulses whose periods are shifted by 1/4 are used as the two-phase pulse, and the pulse edge of the first or second square wave pulse and the second or first square wave pulse immediately after the pulse edge are used. A time interval from the pulse edge is obtained as edge interval data, and a parameter value is detected based on the edge interval data.
Means.

【0012】前記主たる目的及び他の目的を達成するた
めに、本発明によるパワーウインド装置の挟み込み検知
方法は、前記第1の手段に加え、パラメータ値の検出
を、最新に検出したエッジ間隔データとその直前に検出
したエッジ間隔データとの平均値を求めて得た平均化エ
ッジ間隔データに基づいて行う第2の手段を具備する。
In order to achieve the above main object and other objects, a pinching detection method for a power window device according to the present invention, in addition to the first means, detects a parameter value by detecting edge parameter data which has been detected most recently. There is provided second means for performing based on the averaged edge interval data obtained by obtaining an average value with the edge interval data detected immediately before.

【0013】前記第1の手段によれば、パルス発生器
は、周期が1/4ずれた第1及び第2方形波パルスを発
生し、MCUは、第1または第2方形波パルスのパルス
エッジとその直後の第2または第1方形波パルスのパル
スエッジとの時間間隔をエッジ間隔データとし、このエ
ッジ間隔データからウインドに加わる負荷荷重を表すパ
ラメータ値の検出を行っているので、パルス発生器の構
成を複雑にすることなく、エッジ間隔データの分解能を
モーターの1/4回転相当のものに向上させることがで
きる。
According to the first means, the pulse generator generates the first and second square wave pulses whose periods are shifted by 1/4, and the MCU generates the pulse edge of the first or second square wave pulse. Since the time interval between the pulse edge of the second or first square wave pulse immediately after that and the pulse edge of the second or first square wave pulse is used as the edge interval data and the parameter value representing the load applied to the window is detected from the edge interval data, the pulse generator Can be improved to a value equivalent to 1/4 rotation of the motor without complicating the structure of the above.

【0014】また、前記第2の手段によれば、前記第1
の手段と同様に、パルス発生器の構成を複雑にすること
なく、エッジ間隔データの分解能をモーターの1/4回
転相当のものに向上させることが可能になるとともに、
パラメータ値の検出を、最新に検出したエッジ間隔デー
タとその直前に検出したエッジ間隔データとの平均値を
求めて得た平均化エッジ間隔データに基づいて行うの
で、2つのホール素子の配置間隔が規定の位置から若干
ずれていても、最新に検出したエッジ間隔データとその
直前に検出した直線がエッジ間隔データとの平均化によ
って2つのホール素子の位置ずれの影響が実質的に相殺
され、常時、正確なエッジ間隔データを得ることが可能
になる。
According to the second means, the first means
Similarly to the above-mentioned means, the resolution of the edge interval data can be improved to a value equivalent to 1/4 rotation of the motor without complicating the configuration of the pulse generator.
Since the parameter value is detected based on the averaged edge interval data obtained by calculating the average value of the edge interval data detected most recently and the edge interval data detected immediately before it, the arrangement interval between the two Hall elements is reduced. Even if the position is slightly deviated from the prescribed position, the influence of the position deviation of the two Hall elements is substantially canceled by averaging the edge interval data detected most recently and the straight line detected immediately before the edge interval data, so , It is possible to obtain accurate edge interval data.

【0015】[0015]

【発明の実施の形態】本発明の1つの実施の形態におい
て、パワーウインド装置の挟み込み検知方法は、駆動時
にウインド駆動機構を介してウインドを開閉するモータ
ーと、モーターを駆動するモーター駆動部と、モーター
の回転に対応した2相パルスを発生するパルス発生部
と、全体的な制御駆動処理を行うMCUと、ウインドの
開閉を手動操作する操作スイッチとを備え、MCUは、
モーター駆動部を介してウインドを開閉する際、ウイン
ドに加わる負荷荷重を表すパラメータ値を検出し、この
パラメータ値と予設定された基準中央値とを比較し、パ
ラメータ値が基準中央値から相当量外れたときに挟み込
みがあったものと判断し、モーター駆動部を介してモー
ターを駆動停止または逆転駆動させるものであって、2
相パルスは周期が1/4ずれた第1及び第2方形波パル
スからなり、第1または第2方形波パルスのパルスエッ
ジとその直後の第2または第1方形波パルスのパルスエ
ッジとの時間間隔をエッジ間隔データとして求め、この
エッジ間隔データに基づいてパラメータ値の検出を行う
ものである。
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, The microcomputer includes a pulse generation unit that generates a two-phase pulse corresponding to the rotation of the motor, an MCU that performs an overall control drive process, and an operation switch that manually controls opening and closing of a window.
When the window is opened and closed via the motor drive, a parameter value representing the load applied to the window is detected, and this parameter value is compared with a preset reference median value. When it is determined that the pinch has been removed, the motor is stopped or reversely driven via the motor drive unit.
The phase pulse is composed of first and second square wave pulses whose periods are shifted by 1/4, and the time between the pulse edge of the first or second square wave pulse and the pulse edge of the second or first square wave pulse immediately after the pulse edge. The interval is obtained as edge interval data, and a parameter value is detected based on the edge interval data.

【0016】また、本発明の他の実施の形態において、
パワーウインド装置の挟み込み検知方法は、前記1つの
実施の形態に加え、パラメータ値の検出を、最新に検出
したエッジ間隔データとその直前に検出したエッジ間隔
データとの平均値を求めて得た平均化エッジ間隔データ
に基づいて行うものである。
In another embodiment of the present invention,
In the pinching detection method of the power window device, in addition to the above-described one embodiment, the parameter value is detected by calculating an average value of the latest detected edge interval data and the average value of the edge interval data detected immediately before. This is performed based on the converted edge interval data.

【0017】本発明の1つの実施の形態によれば、モー
ターの回転に対応した2相パルスを発生するパルス発生
器は、2相パルスとして周期が1/4ずれた第1及び第
2方形波パルスを発生するものであり、ウインドの挟み
込みの検知を行っているMCUは、パルス発生器が発生
した第1または第2方形波パルスのパルスエッジとその
直後の第2または第1方形波パルスのパルスエッジとの
時間間隔をエッジ間隔データとして求め、求めたエッジ
間隔データからウインドに加わる負荷荷重を表すパラメ
ータ値の検出を行い、ウインドの挟み込みの可否の判断
を行っているので、パルス発生器の構成を何等複雑にす
ることなく、エッジ間隔データの分解能をモーターの1
/4回転相当のものまで向上させることが可能になる。
According to one embodiment of the present invention, a pulse generator for generating a two-phase pulse corresponding to the rotation of a motor includes a first and a second square wave having a period shifted by 1/4 as a two-phase pulse. The MCU that generates a pulse and detects the pinching of the window includes the pulse edge of the first or second square wave pulse generated by the pulse generator and the second or first square wave pulse immediately after the pulse edge. Since the time interval with the pulse edge is obtained as edge interval data, the parameter value representing the load applied to the window is detected from the obtained edge interval data, and it is determined whether or not the window can be pinched. Without complicating the configuration, the resolution of edge interval data is
It is possible to increase the rotation to / 4 rotation.

【0018】また、本発明の他の実施の形態によれば、
前記本発明の1つの実施の形態と同様に、パルス発生器
の構成を複雑にすることなく、エッジ間隔データの分解
能をモーターの1/4回転相当のものまで向上させるこ
とが可能になるとともに、ウインドに加わる負荷荷重を
表すパラメータ値の検出を、最新に検出したエッジ間隔
データとその直前に検出したエッジ間隔データとの平均
値を求めて得た平均化エッジ間隔データに基づいて行っ
ているので、2つのホール素子がモーター軸に対して正
確に90°をなす状態で固定配置されていない場合であ
っても、最新に検出したエッジ間隔データとその直前に
検出したエッジ間隔データとの平均化によって2つのホ
ール素子の位置ずれの影響が実質的に相殺されるように
なり、常時、正確なエッジ間隔データを得ることが可能
になる。
According to another embodiment of the present invention,
As in the embodiment of the present invention, the resolution of the edge interval data can be improved to a value equivalent to 1 / rotation of the motor without complicating the configuration of the pulse generator. Since the parameter value indicating the load applied to the window is detected based on the averaged edge interval data obtained by calculating the average value of the latest detected edge interval data and the edge interval data detected immediately before it, Averaging of the latest detected edge interval data and the edge interval data detected immediately before, even when the two Hall elements are not fixedly arranged at exactly 90 ° to the motor axis. As a result, the influence of the displacement of the two Hall elements is substantially canceled, and accurate edge interval data can always be obtained.

【0019】[0019]

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

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

【0021】図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.

【0022】また、図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.

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

【0024】そして、スイッチ装置1は、個別に操作さ
れる3個のスイッチ11 、12 、13 を具備する。これ
らのスイッチ11 乃至13 の中で、スイッチ11 は、ウ
インドの上昇(閉)動作を指令するものであり、スイッ
チ12 は、ウインドの下降(開)動作を指令するための
ものであって、スイッチ11 、12 を操作しているとき
だけ、ウインドが指定された方向に移動し、スイッチ1
1 、12 の操作を停止すると、ウインドの移動も停止す
る。スイッチ13 は、動作の自動継続を指令するもので
あって、スイッチ13 とスイッチ11 とを同時操作する
と、前述のようにウインドが上昇(閉)動作を始める
が、その後、スイッチ13 とスイッチ11の操作を停止
しても、ウインドの上昇(閉)動作が継続され、ウイン
ドが窓枠の最上部に達したときに停止する。また、スイ
ッチ13 とスイッチ12 とを同時操作すると、やはり前
述のようにウインドが下降(開)動作を始めるが、その
後、スイッチ13 とスイッチ12 の操作を停止しても、
ウインドの下降(開)動作が継続され、ウインドが窓枠
の最下部に達したときに停止する。
[0024] 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.

【0025】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 からなる6つの記憶エリアと、第1タイムテーブ
ル107 、第2タイムテーブル108 からなる2つのタ
イムテーブルを具備する。なお、これら6つの記憶エリ
ア101 乃至106 及びこれら2つのタイムテーブル1
7 乃至108 への記憶内容については後述する。モー
ター駆動電圧検出部11は、分圧抵抗器7の分圧点に得
られる車載電源(バッテリー)電圧を表す分圧電圧の検
出を行う。パルスエッジウンタ12は、パルス発生器5
から供給された2相方形波パルスのパルスエッジの検出
を行う。
The MCU 2 comprises a control / operation 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 comprising six storage area consisting of several storage area 10 6, the first time table 107, the two time table of the second time table 108. Note that these six storage areas 10 1 to 10 6 and these two time tables 1
It will be described later stored contents to 0 7-10 8. 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 includes the pulse generator 5
The pulse edge of the two-phase square wave pulse supplied from is detected.

【0026】モーター駆動部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.

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

【0028】パルス発生器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.

【0029】プルアップ抵抗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 and 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.

【0030】分圧抵抗器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.

【0031】パルス伝送路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 5V power supply, a capacitor connected between the output and the ground, a synchronous output and the MCU2. 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.

【0032】モーター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.

【0033】ところで、図1に図示のパワーウインド装
置においては、ウインドへの挟み込みの有無を検知する
ため、その検出パラメータとしてモーター負荷トルク値
を用いており、基準中央値や基準許容値もモーター負荷
トルクによって設定されている。また、図1に図示のパ
ワーウインド装置は、ウインドの全移動領域(全開位置
と全閉位置との間の移動領域)を、エッジ間隔データの
到来毎にカウントされるカウント数に基づいて複数に分
割した分割移動領域が設定されており、各分割移動領域
に対して、予設定したモーター負荷トルクの基準中央値
及び基準許容値が設定されている。
In the power window apparatus shown in FIG. 1, the 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.

【0034】図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.

【0035】図3において、縦軸はモーター負荷トルク
を示し、横軸はウインドが全開位置から全閉位置に向か
って移動したとき、エッジ間隔データの到来毎にカウン
トしたカウント数を示す。そして、下側の階段状特性
(S)はモーター負荷トルクの基準中央値、上側の階段
状特性(A)はモーター負荷トルクの基準許容値(正確
には、基準中央値+基準許容値であるが、以下、基準許
容値として説明する)であり、実線(M)はウインドへ
の物体の挟み込みがない場合のモーター負荷トルクの経
緯曲線、一点鎖線(H)はウインドへの物体の挟み込み
があった場合のモーター負荷トルクの経緯曲線である。
また、図4において、縦軸はエッジ間隔データの値を示
し、横軸はウインドが開位置方向から閉位置方向に移動
したとき、エッジ間隔データの到来毎にカウントしたカ
ウント数を示し、所々にノイズが加わった場合の例を示
している。
In FIG. 3, the ordinate indicates the motor load torque, and the abscissa indicates 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.

【0036】ここで、図3に示されたモーター負荷トル
クの基準中央値は、ウインドへの実質的な挟み込みがな
いときのウインドの移動に必要とされるモーター負荷ト
ルク値であって、実際には、ウインドの重量や、ウイン
ド及びサッシ間の機械的な摩擦力等がモーター負荷トル
クとして計測されるもので、挟み込みがないときに既に
計測されたトルク値に基づいて決定され、ウインドが移
動する度ごとに、それまでの基準中央値が新たな基準中
央値に更新される、いわゆる学習されるものである。ま
た、モーター負荷トルクは、後述するように、エッジ間
隔データやモーター駆動電圧から算出されるものである
が、エッジ間隔データは、モーター4が1/4回転する
度に1つ得られ、ウインドが全開位置から全閉位置まで
の範囲を移動した際、即ち、36の分割移動領域を移動
した際に、それぞれの分割移動領域で32のエッジ間隔
データが得られることから、全体で約1200のエッジ
間隔データが得られることになる。
Here, the reference median value of the motor load torque shown in FIG. 3 is a 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.

【0037】また、図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.

【0038】次に、図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.

【0039】図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.

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

【0041】即ち、スイッチ装置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に供給される。
[0041] 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.

【0042】ここで、スイッチ11 の操作を停止する
と、スイッチ11 に接続されたMCU2の入力が接地電
位から5V電位に変化する。MPU2の制御・演算部9
は、入力した5V電位に応答してモーター制御部3にモ
ーター4の回転を停止する制御信号を供給し、モーター
制御部3は、この制御信号に応答して2つのリレー
3、34 を切替え、モーター4への電源の供給を止
め、モーター4の回転を停止させる。モーター4の回転
が停止すると、モーター4に連結されたウインド駆動機
構の動作が停止し、ウインドが現在の位置で停止する。
また、モーター4の回転が停止すると、モーター4に取
り付けられたパルス発生器5の2相方形波パルスの発生
も停止し、MCU2のパルスエッジカウンタ12に2相
方形波パルスが供給されなくなる。
[0042] 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.

【0043】次に、スイッチ装置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.

【0044】その後、スイッチ12 の操作を停止した場
合、スイッチ11 とスイッチ13 とを同時操作した場
合、スイッチ12 とスイッチ13 とを同時操作した場合
の動作も、前述の各動作と同じ動作が行われるか、また
は、前述の各動作に準じた動作が行われる。
[0044] 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.

【0045】このような動作が行われるとき、始めに、
ステップ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.

【0046】次に、ステップS2において、制御・演算
部9は、パルスエッジカウンタ12がパルスエッジの検
出を行った際に、タイマー13のカウントによって、前
回パルスエッジを検出した時点と今回パルスエッジを検
出した時点との時間間隔を表すエッジ間隔データを取得
する。
Next, in step S2, when the pulse edge counter 12 detects a pulse edge, the control / arithmetic unit 9 uses the count of the timer 13 to determine the time at which 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.

【0047】次いで、ステップ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.

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

【0049】続いて、ステップ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,

【0050】[0050]

【数1】 (Equation 1)

【0051】この場合、第1タイムテーブル107
は、式(1)の前半項{kt・(E/Rm)−Tm}、
即ち、モーター駆動電圧Eの依存項を示す計算結果がそ
れぞれのモーター駆動電圧Eの値に対応して記憶されて
おり、また、第2タイムテーブル108 には、式(1)
の後半項{(ke・kt)/(Rm・Pw)}、即ち、
エッジ間隔データPwの依存項を示す計算結果がそれぞ
れのエッジ間隔データPwの値に対応して記憶されてい
るもので、制御・演算部9は、モーター負荷トルクTc
を算出する際に、その時点に計測したモーター駆動電圧
E及びエッジ間隔データPwから、それらの値に対応し
たモーター駆動電圧Eの依存項を示す計算結果を第1タ
イムテーブル107 から読み出し、エッジ間隔データP
wの依存項を示す計算結果を第2タイムテーブル108
から読み出し、読み出した計算結果を用いてモーター負
荷トルクTcの算出を行う。
[0051] 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 107, the edge Interval data P
The calculation result indicating the dependent term of w is stored in the second time table 10 8
And calculates the motor load torque Tc using the read calculation result.

【0052】次に、ステップS6において、制御・演算
部9は、モーター4の起動時の動作が終了したか否か、
即ち、起動時キャンセルが終了したか否かを判断する。
そして、起動時の動作が終了したと判断した(Y)とき
は、次のステップS7に移行し、一方、起動時の動作が
未だ終了していないと判断した(N)ときは、最初のス
テップS1に戻り、ステップS1以降の動作が繰り返し
実行される。
Next, in step S6, the control / arithmetic 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.

【0053】ここで、モーター4の起動時の動作が終了
したか否かを判断する理由は、モーター4の起動時に、
モーター4の内部トルクが極大の状態から定常状態に変
化する段階であることから、このとき計測されたモータ
ートルク値に基づいて挟み込みを判断してしまうと、大
きなモーター負荷トルク値の計測によって、ウインドに
挟み込みが生じたものとの誤判断を生じる結果になるた
めであり、また、この大きなモータートルク値を基準中
央値の更新のために用いると、新たな基準中央値が実態
に合わない誤った値に設定されることがあるためであ
る。
Here, the reason for judging whether or not the operation at the time of starting the motor 4 has been completed is as follows.
Since 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.

【0054】このため、モーター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.

【0055】次いで、ステップS7において、制御・演
算部9は、ステップS5において算出したモーター負荷
トルクTcを基準中央値と比較する。この比較において
は、メモリ10における、全分割移動領域について予設
定された基準中央値を記憶している基準中央値記憶エリ
ア101 、分割移動領域に係わりなしに一定の基準値許
容差を記憶している基準許容値記憶エリア102 が用い
て行われる。
Next, in step S7, the control / calculation section 9 compares the motor load torque Tc calculated in step S5 with a reference median value. In this comparison, a reference median storage area 10 1 storing a reference median preset for all divided moving areas in the memory 10, and a fixed reference value tolerance regardless of the divided moving area is stored. and it has the reference tolerance value storage area 10 2 is performed by using.

【0056】次いで、ステップS8において、制御・演
算部9は、現在計測中の分割移動領域で算出されたモー
ター負荷トルクTcが、当該分割移動領域に予設定され
た基準中央値に基準許容値を加えた値(許容基準値)の
範囲内であるか否かを判断する。そして、モーター負荷
トルクTcが許容基準値の範囲内であると判断した
(Y)ときは、次のステップS9に移行し、一方、モー
ター負荷トルクTcが許容基準値の範囲内を超えている
と判断した(N)ときは、他のステップS17に移行す
る。
Next, in step S8, the control / calculation section 9 sets the motor load torque Tc calculated in the currently measured divided movement area to the reference allowable value as the reference median preset in the divided movement area. It is determined whether the value is within the range of the added value (acceptable reference value). If 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 S9, while if the motor load torque Tc exceeds the range of the allowable reference value. When it is determined (N), the process proceeds to another step S17.

【0057】続く、ステップS9において、制御・演算
部9は、現在計測中の1つの分割移動領域において算出
した全てのモーター負荷トルクTcを加算し、トルクデ
ータ加算値記憶エリア103 に記憶する。
The subsequent step S9, controller 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.

【0058】続いて、ステップS10において、制御・
演算部9は、現在計測中の1つの分割移動領域において
得られた全てのモーター負荷トルクTcの数をカウント
し、分割移動領域内トルクデータ数記憶エリア105
記憶する。
Subsequently, in step S10, the control
Calculation unit 9 counts the number of all the motor load torque Tc obtained in one divided moving area of the current being measured is stored in the divided travel region in the number of torque data storage area 10 5.

【0059】次に、ステップS11において、制御・演
算部9は、ウインドの全開位置から現在計測中の1つの
分割移動領域までに得られた全てのモーター負荷トルク
Tcの数をカウントし、総トルクデータ数記憶エリア1
6 に記憶する。
Next, in step S11, the control / arithmetic unit 9 counts the number of all motor load torques Tc obtained from the fully opened position of the window to one divided movement area currently being measured, and calculates the total torque. Data number storage area 1
It is stored in the 0 6.

【0060】次いで、ステップS12において、制御・
演算部9は、総トルクデータ数記憶エリア106 に記憶
されている総トルクデータ数からウインドの現在の分割
移動領域の判断をする。
Next, in step S12, control
Calculation unit 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.

【0061】続く、ステップS13において、制御・演
算部9は、ステップS12の判断に基づいて、ウインド
の現在の分割移動領域が1つの分割移動領域から次の分
割移動領域に移動したか否かを判断する。そして、ウイ
ンドの分割移動領域が次の分割移動領域に移動したと判
断した(Y)ときは、次のステップS14に移行し、一
方、ウインドの分割移動領域が未だ次の分割移動領域に
移動していないと判断した(N)ときは、最初のステッ
プS1に戻り、ステップS1以降の動作が繰り返し実行
される。
In step S13, the control / 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 S12. to decide. When it is determined that the divided moving area of the window has moved to the next divided moving area (Y), the process moves to the next step S14, while the divided moving area of the window moves to the next divided moving area. If it is determined (N) that no operation has been performed, the process returns to the first step S1, and the operations after step S1 are repeatedly executed.

【0062】続いて、ステップS14において、制御・
演算部9は、前記1つの分割移動領域で算出されたモー
ター負荷トルクTcの値から、この1つの分割移動領域
における新たな基準中央値を設定する。この新たな基準
中央値の設定は、この1つの分割移動領域で得られたそ
れぞれのエッジ間隔データに基づいて算出されたモータ
ー負荷トルクTcの値の平均値が用いられるもので、例
えば、図5に示されるように、1つのエッジ間隔データ
(パルスカウント数75)がノイズだけであった場合ス
テップS3でデータが不採用となり、このノイズはモー
ター負荷トルクTcの値の平均値の算出に用いられるこ
とがなく、また、1つのエッジ間隔データ(パルスカウ
ント数84)にノイズが重畳されて大きな値になってい
たとしても、その大きな値に基づいて算出されたモータ
ー負荷トルクTcの値と他の多くのモーター負荷トルク
Tcの値とが平均化されるので、ノイズが重畳した大き
なエッジ間隔データの値が存在しても、新たな基準中央
値が誤った値に導かれることはない。
Subsequently, in step S14, the control
The calculating unit 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.

【0063】次に、ステップS15において、制御・演
算部9は、ステップS14において新たに設定した基準
中央値を、メモリ10内の基準中央値記憶エリア101
にそれまでの基準中央値に代えて書き込む。
Next, in step S15, the control / calculation section 9 stores the reference median newly set in step S14 in the reference median storage area 10 1 in the memory 10.
Is written in place of the previous reference median.

【0064】続く、ステップS16において、制御・演
算部9は、モーター負荷トルクTcの値の平均値を求め
るために用いたメモリ10内の平均化処理エリア、つま
りトルクデータ加算値記憶エリア103 及び分割移動領
域内トルクデータ数記憶エリア105 を初期化する。こ
の初期化が行われると、最初のステップS1に戻り、再
び、ステップS1以降の動作が繰り返し実行される。
[0064] subsequent step S16, controller 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 divided travel region in the number of torque data storage area 10 5 initializes. When this initialization is performed, the process returns to the first step S1, and the operations after step S1 are repeatedly executed again.

【0065】このようなフローチャートにおける繰り返
しの動作は、スイッチ11 またはスイッチ12 等の操作
によってモーター4の駆動が停止され、ウインドの移動
が停止するまで行われるか、または、後述するステップ
S17において、ウインドの挟み込みが検知され、それ
によりモーター4の駆動が停止され、ウインドの移動が
停止するようなるかもしくはモーター4が反対方向へ回
転駆動され、ウインドの移動が逆方向になるようになる
まで行われる。
[0065] 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 S17 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.

【0066】また、ステップS17において、制御・演
算部9は、モーター制御部3に制御信号を供給して、2
つのリレー33 、34 を切替え、モーター4の回転を停
止させてウインドの移動を停止させるか、または、モー
ター4の回転をそれまでの回転方向と逆の方向に回転さ
せてウインドの移動をそれまでの方向と逆の方向に移動
させ、ウインドに挟み込まれた物体を損傷から保護する
ように動作する。
In step S17, 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.

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

【0068】この場合、図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.

【0069】これに対して、ウインドが中間位置から全
閉位置方向に移動し、その移動時にウインドの挟み込み
を生じた場合は、モーター負荷トルクとして図4の一点
鎖線(H)に示すような特性が得られるもので、挟み込
みを生じた分割移動領域におけるモーター負荷トルク
は、その分割移動領域に設定された基準中央値に基準許
容値を加算した値を超えるようになる。
On the other hand, when the window moves from the intermediate position toward the fully closed position and the window is pinched during the movement, the motor load torque is changed 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.

【0070】このように、第1実施例のパワーウインド
装置の挟み込み検知方法によれば、パルス発生器5から
周期が1/4ずれた第1及び第2方形波パルスを発生さ
せ、MCU2において、第1または第2方形波パルスの
パルスエッジとその直後の第2または第1方形波パルス
のパルスエッジとの時間間隔をエッジ間隔データPwと
して求め、このエッジ間隔データPwからウインドに加
わるモーター負荷トルクTcを表すパラメータ値の検出
を行うようにしているので、パルス発生器5の構成を何
等複雑にすることなしに、エッジ間隔データの分解能を
モーターの1/4回転相当のものに向上させることがで
きる。
As described above, according to the pinching detection method for the power window device of the first embodiment, the pulse generator 5 generates the first and second square wave pulses whose periods are shifted by 1 /, and the MCU 2 The time interval between the pulse edge of the first or second square wave pulse and the immediately following pulse edge of the second or first square wave pulse is determined as edge interval data Pw, and the motor load torque applied to the window from the edge interval data Pw Since the parameter value representing Tc is detected, the resolution of the edge interval data can be improved to a value equivalent to 相当 rotation of the motor without complicating the configuration of the pulse generator 5 at all. it can.

【0071】また、第1実施例におけるパワーウインド
装置の挟み込み検知方法によれば、モーター負荷トルク
Tcを算出する場合、メモリ10の中の第1タイムテー
ブル107 に記憶されている、モーター負荷トルクTc
を表す式(1)におけるそれぞれのモーター駆動電圧E
の値に対応したモーター駆動電圧Eの依存項の計算結
果、及び、第2タイムテーブル108 に記憶されてい
る、同じ式(1)におけるそれぞれのエッジ間隔データ
Pwの値に対応したエッジ間隔データPwの依存項の計
算結果を用いて算出するようにしているので、エッジ間
隔データPw及びモーター駆動電圧Eが得られた時点時
点におけるモーター負荷トルクTcを算出を極めて高速
度で行うことができ、モーター負荷トルクTcの算出に
時間遅れが生じることはない。
[0071] Further, according to the entrapment detection method of the power window apparatus according to a first embodiment, the case of calculating the motor load torque Tc, which is stored in the first time table 107 in the memory 10, the motor load torque Tc
Motor drive voltage E in equation (1)
Value calculation results of dependent terms of the corresponding motor drive voltage E to the, and, stored in the second time table 108, edge interval data corresponding to the value of each of the edge interval data Pw in the same formula (1) Since the calculation is performed using the calculation result of the dependency term of Pw, the motor load torque Tc at the time when the edge interval data Pw and the motor drive voltage E are obtained can be calculated at an extremely high speed. There is no time delay in calculating the motor load torque Tc.

【0072】これまでに説明した第1実施例は、パルス
発生器5に設けられた2つのホール素子52 、53 の位
置ずれの影響を考慮したものではないが、2つのホール
素子52 、53 をモーター軸に対して正確に90°をな
すように固定配置することは難しいことから、パルス発
生器5が発生する2相方形波パルスも正確に1/4周期
だけずれたものでなく、このような2相方形波パルスか
らエッジ間隔データPwを求める場合、常時、正確なエ
ッジ間隔データPwを求めることができないことにな
る。
The first embodiment described so far does not take into account the effect of the displacement of the two Hall elements 5 2 , 5 3 provided in the pulse generator 5, but the two Hall elements 5 2 Since it is difficult to dispose the 5 and 3 at an angle of exactly 90 ° with respect to the motor axis, the two-phase square wave pulse generated by the pulse generator 5 is also exactly shifted by 1/4 period. However, when the edge interval data Pw is obtained from such a two-phase square wave pulse, accurate edge interval data Pw cannot always be obtained.

【0073】ここで、図9は、2つのホール素子52
3 がモーター軸に対して正確に90°をなすように固
定配置されていないとき、パルス発生器5が発生する2
相方形波パルスの一例を示す波形図である。
FIG. 9 shows two Hall elements 5 2 ,
When 5 3 is not fixedly arranged at exactly 90 ° to the motor axis, the pulse generator 5 generates 2
FIG. 4 is a waveform diagram illustrating an example of a phase square wave pulse.

【0074】図9に示されるように、2相方形波パルス
は、互いに1/4周期ずれた2つの方形波パルスからな
り、モーター4が1/4回転する毎に、いずれか一方の
方形波パルスの立上りまたは立下りが到来するものであ
るが、2つのホール素子52、53 をモーター軸に対し
て正確に90°をなすように固定配置することが難しい
ため、現実には、モーター4が1/4回転する度に得ら
れるエッジ間隔データPw、即ち、Pw1 、Pw2 、P
3 、Pw4 はそれぞれ異なった値になる。
As shown in FIG. 9, the two-phase square wave pulse is composed of two square wave pulses that are shifted from each other by 、 period. Although the rising or falling of the pulse arrives, it is difficult to fixedly arrange the two Hall elements 5 2 and 5 3 so as to form an accurate 90 ° with respect to the motor axis. The edge interval data Pw obtained every time the 4 rotates 1/4, that is, Pw 1 , Pw 2 , P
w 3 and Pw 4 have different values.

【0075】そこで、本発明の第2実施例は、2つのホ
ール素子52 、53 を固定配置した際の位置ずれによっ
て、モーター4が1/4回転する異なるエッジ間隔デー
タPwが得られる場合においても、2つのホール素子5
2 、53 の位置ずれの影響を受けないエッジ間隔データ
Pwを得られるようにしたものである。
Therefore, in the second embodiment of the present invention, different edge interval data Pw in which the motor 4 makes 1/4 rotation is obtained due to a positional shift when the two Hall elements 5 2 and 5 3 are fixedly arranged. Also, two Hall elements 5
2, 5 is not affected by the third position deviation is obtained by so as to obtain an edge interval data Pw.

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

【0077】図7において、図1に図示された構成要素
と同じ構成要素については同じ符号を付けている。
In FIG. 7, the same components as those shown in FIG. 1 are denoted by the same reference numerals.

【0078】そして、図7に図示の第2実施例に用いら
れるパワーウインド装置(以下、これを第2実施例装置
という)と、図1に図示の第1実施例に用いられるパワ
ーウインド装置(以下、これを第1実施例装置という)
との構成の違いは、MCU2のメモリ10の構成とし
て、図7に図示されるように、第2実施例装置がエッジ
間隔データ記憶エリア109 を具備しているのに対し、
第1実施例装置がこのようなエッジ間隔データ記憶エリ
ア109 を具備していない点だけであって、その他に、
第2実施例装置と第1実施例装置との間に構成の違いは
ない。このため、第2実施例装置の構成については、こ
れ以上の説明は省略する。
The power window device used in the second embodiment shown in FIG. 7 (hereinafter referred to as the second embodiment device) and the power window device used in the first embodiment shown in FIG. Hereinafter, this is referred to as a first embodiment device.)
The difference of the configuration of the, as a configuration memory 10 of the MCU 2, as illustrated in Figure 7, while the second embodiment device is provided with edge interval data storage area 109,
The only difference is that the device of the first embodiment does not have such an edge interval data storage area 10 9 .
There is no difference in the configuration between the device of the second embodiment and the device of the first embodiment. For this reason, further description of the configuration of the device of the second embodiment is omitted.

【0079】次に、図8は、図7に図示のパワーウイン
ド装置を用いて、ウインドの挟み込みの検知を行う際の
概略の動作経緯を示すフローチャートであって、第1実
施例装置と比べて、第2実施例装置に特有の動作が行わ
れる動作経緯部分だけを抽出して示したものである。
Next, FIG. 8 is a flow chart showing the outline of the operation when detecting the pinching of the window using the power window device shown in FIG. 7, which is different from the device of the first embodiment. In this figure, only the operation details where the operation specific to the second embodiment is performed are extracted and shown.

【0080】図8において、図5に示された各ステップ
と同じ動作が行われる各ステップについては同じ記号を
付けている。
In FIG. 8, each step in which the same operation as that in each step shown in FIG. 5 is performed is denoted by the same reference numeral.

【0081】まず、ステップS1からステップS3まで
の動作は、図5に図示のステップS1からステップS3
までの動作と同じである。
First, the operations from step S1 to step S3 are performed in steps S1 to S3 shown in FIG.
The operation is the same as described above.

【0082】次に、ステップS3’において、制御・演
算部9は、最新に取得したエッジ間隔データをメモリ1
0内のエッジ間隔データ記憶エリア109 に記憶する。
この記憶によって、エッジ間隔データ記憶エリア109
は、それまで前前回に取得したエッジ間隔データと前回
に取得したエッジ間隔データとの記憶に代わって、前回
に取得したエッジ間隔データと最新に取得したエッジ間
隔データとが記憶される。
Next, in step S 3 ′, the control / calculation unit 9 stores the latest acquired edge interval data in the memory 1.
It is stored in the edge interval data storage area 109 in the 0.
By this storage, the edge interval data storage area 10 9
Stores the previously acquired edge interval data and the latest acquired edge interval data instead of storing the previously acquired edge interval data and the previously acquired edge interval data.

【0083】次いで、ステップS3”において、制御・
演算部9は、エッジ間隔データ記憶エリア109 に記憶
されている前回に取得したエッジ間隔データと最新に取
得したエッジ間隔データとを読み出し、それらの平均値
を求めて平均化エッジ間隔データPwmを取得する。
Next, in step S3 ″, the control
Calculation unit 9 reads out the edge interval data obtained edge interval data and the latest acquired last time stored in the edge interval data storage area 109, an averaging edge interval data Pwm seeking their average value get.

【0084】続く、ステップS4以降の動作は、図5及
び図6に図示のステップS4以降の動作と同じである
が、特に、第2実施例においては、ステップS5におい
てモーター負荷トルクTcを算出する際に、エッジ間隔
データPwの代りに、平均化エッジ間隔データPwmが
用いられる。
The subsequent operation after step S4 is the same as the operation after step S4 shown in FIGS. 5 and 6, but in the second embodiment, in particular, the motor load torque Tc is calculated at step S5. At this time, the averaged edge interval data Pwm is used instead of the edge interval data Pw.

【0085】このように、パワーウインド装置の挟み込
み検知方法の第2実施例によれば、第1実施例で達成さ
れる、パルス発生器5の構成を複雑にすることなく、エ
ッジ間隔データPwの分解能をモーターの1/4回転相
当のものに向上させることを可能にするとともに、パラ
メータ値の検出を、最新に検出したエッジ間隔データP
wとその直前に検出したエッジ間隔データPwとの平均
値を求めて得た平均化エッジ間隔データPwmに基づい
て行うので、2つのホール素子52 、53 の配置間隔が
モーター軸に対して正確に90°をなすように固定配置
されていなくても、最新に検出したエッジ間隔データP
wとその直前に検出したエッジ間隔データPwとの平均
化によって2つのホール素子の位置ずれの影響が実質的
に相殺され、常時、正確なエッジ間隔データPwmを得
ることが可能になる。
As described above, according to the second embodiment of the pinching detection method for the power window device, the edge interval data Pw can be obtained without complicating the configuration of the pulse generator 5 achieved in the first embodiment. It is possible to improve the resolution to a value equivalent to 1/4 rotation of the motor, and to detect the parameter value by using the latest detected edge interval data P
w and the average value of the edge interval data Pw detected immediately before it, and the average interval edge data Pwm is obtained. Therefore, the arrangement interval of the two Hall elements 5 2 and 5 3 is set with respect to the motor shaft. Even if they are not fixedly arranged at exactly 90 °, the latest detected edge interval data P
By averaging w with the edge interval data Pw detected immediately before, the effect of the positional shift between the two Hall elements is substantially canceled, and accurate edge interval data Pwm can always be obtained.

【0086】[0086]

【発明の効果】以上のように、請求項1に記載の発明に
よれば、パルス発生器から周期が1/4ずれた第1及び
第2方形波パルスを発生させ、MCUにおいて、第1ま
たは第2方形波パルスのパルスエッジとその直後の第2
または第1方形波パルスのパルスエッジとの時間間隔を
エッジ間隔データとして求め、このエッジ間隔データか
らウインドに加わる負荷荷重を表すパラメータ値の検出
を行うようにしているので、パルス発生器の構成を何等
複雑にすることなしに、エッジ間隔データの分解能をモ
ーターの1/4回転相当のものに向上させることができ
るという効果がある。
As described above, according to the first aspect of the present invention, the first and second square wave pulses whose periods are shifted by 1/4 are generated from the pulse generator, and the first or second square wave pulse is generated in the MCU. The pulse edge of the second square wave pulse and the second
Alternatively, the time interval between the pulse edge of the first square wave pulse and the pulse edge is obtained as edge interval data, and the parameter value representing the load applied to the window is detected from the edge interval data. There is an effect that the resolution of the edge interval data can be improved to a value equivalent to 1 / rotation of the motor without any complexity.

【0087】また、請求項2に記載の発明によれば、請
求項1の発明で達成される効果、即ち、パルス発生器の
構成を複雑にすることなく、エッジ間隔データの分解能
をモーターの1/4回転相当のものに向上させることが
可能になるとの効果に加え、パラメータ値の検出を、最
新に検出したエッジ間隔データとその直前に検出したエ
ッジ間隔データとの平均値を求めて得た平均化エッジ間
隔データに基づいて行うので、2つのホール素子の配置
間隔がモーター軸に対して正確に90°をなすように固
定配置されていなくても、最新に検出したエッジ間隔デ
ータとその直前に検出したエッジ間隔データとの平均化
によって2つのホール素子の位置ずれの影響が実質的に
相殺され、常時、正確なエッジ間隔データを得ることが
可能になるという効果がある。
According to the second aspect of the present invention, the effect achieved by the first aspect of the present invention, that is, the resolution of the edge interval data can be reduced by one motor without complicating the configuration of the pulse generator. In addition to the effect that it is possible to improve the value to / 4 rotation, the parameter value is obtained by calculating the average value of the edge interval data detected most recently and the edge interval data detected immediately before. Since it is performed based on the averaged edge interval data, even if the arrangement interval between the two Hall elements is not fixedly arranged so as to be exactly 90 ° with respect to the motor axis, the most recently detected edge interval data and the immediately preceding edge interval data are used. Averaging with the detected edge interval data substantially cancels out the influence of the displacement of the two Hall elements, and it is possible to always obtain accurate edge interval data. There is a result.

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

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

【図8】図7に図示のパワーウインド装置を用いてウイ
ンドの挟み込みの検知を行う際の概略の動作経緯を示す
フローチャートである。
8 is a flowchart showing the outline of the operation when detecting the pinching of a window using the power window device shown in FIG. 7;

【図9】2つのホール素子がモーター軸に対して正確に
90°をなすように固定配置されていないとき、パルス
発生器が発生する2相方形波パルスの一例を示す波形図
である。
FIG. 9 is a waveform diagram showing an example of a two-phase square wave pulse generated by a pulse generator when two Hall elements are not fixedly arranged at exactly 90 ° to the motor axis.

【符号の説明】[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 第1タイムテーブル 108 第2タイムテーブル 109 駆動電圧依存基準許容値記憶エリア 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 cancellation storage area 10 5 Torque data number storage area in divided moving area 10 6 Total torque data number storage area 10 7 First time table 10 8 Second time table 10 9 Drive voltage dependent reference allowable value storage area 11 Motor drive Voltage detector 12 Pulse edge counter 13 Timer

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 駆動時にウインド駆動機構を介してウイ
ンドを開閉するモーターと、前記モーターを駆動するモ
ーター駆動部と、前記モーターの回転に対応した2相パ
ルスを発生するパルス発生部と、全体的な制御駆動処理
を行うマイクロ制御ユニットと、前記ウインドの開閉を
手動操作する操作スイッチとを備え、前記マイクロ制御
ユニットは、前記モーター駆動部を介して前記ウインド
を開閉する際、前記ウインドに加わる負荷荷重を表すパ
ラメータ値を検出し、このパラメータ値と予設定された
基準中央値とを比較し、前記パラメータ値が前記基準中
央値から相当量外れたときに挟み込みがあったものと判
断し、前記モーター駆動部を介して前記モーターを駆動
停止または逆転駆動させるパワーウインド装置の挟み込
み検知方法であって、前記2相パルスは周期が1/4ず
れた第1及び第2方形波パルスからなり、前記第1また
は第2方形波パルスのパルスエッジとその直後の前記第
2または第1方形波パルスのパルスエッジとの時間間隔
をエッジ間隔データとして求め、このエッジ間隔データ
に基づいて前記パラメータ値の検出を行うことを特徴と
するパワーウインド装置の挟み込み検知方法。
1. 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 two-phase pulse corresponding to the rotation of the motor, A micro-control unit for performing a simple control drive process, and an operation switch for manually opening and closing the window, wherein the micro-control unit loads the window when opening and closing the window via the motor drive unit. Detecting a parameter value representing a load, comparing the parameter value with a preset reference median value, determining that the parameter value has deviated from the reference median value by a considerable amount, and that the pinching has occurred, A method for detecting pinching of a power window device that stops driving or reversely drives the motor via a motor driving unit, The two-phase pulse is composed of first and second square wave pulses whose periods are shifted by 1/4, and the pulse edge of the first or second square wave pulse and the second or first square wave pulse immediately after the pulse edge. A method for detecting pinching of a power window device, wherein a time interval from a pulse edge is obtained as edge interval data, and the parameter value is detected based on the edge interval data.
【請求項2】 前記ウインドに加わる負荷荷重を表すパ
ラメータ値は、最新に検出したエッジ間隔データとその
直前に検出したエッジ間隔データとの平均値を求めて得
た平均化エッジ間隔データに基づいて検出したものであ
ることを特徴とする請求項1に記載のパワーウインド装
置の挟み込み検知方法。
2. A parameter value representing a load applied to the window is determined based on averaged edge interval data obtained by calculating an average value of edge interval data detected most recently and edge interval data detected immediately before. The pinch detection method for a power window device according to claim 1, wherein the pinch is detected.
JP23609997A 1997-09-01 1997-09-01 Power window device pinching detection method Expired - Fee Related JP3675616B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23609997A JP3675616B2 (en) 1997-09-01 1997-09-01 Power window device pinching detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23609997A JP3675616B2 (en) 1997-09-01 1997-09-01 Power window device pinching detection method

Publications (2)

Publication Number Publication Date
JPH1178514A true JPH1178514A (en) 1999-03-23
JP3675616B2 JP3675616B2 (en) 2005-07-27

Family

ID=16995723

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23609997A Expired - Fee Related JP3675616B2 (en) 1997-09-01 1997-09-01 Power window device pinching detection method

Country Status (1)

Country Link
JP (1) JP3675616B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6545439B2 (en) * 1998-10-27 2003-04-08 Daimlerchrysler Ag Method and circuit arrangement for detecting motion, direction and position of a part driven by an electric motor
CN106703591A (en) * 2017-03-29 2017-05-24 武汉佳特轿车零部件有限公司 Tail gate power-driven control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6545439B2 (en) * 1998-10-27 2003-04-08 Daimlerchrysler Ag Method and circuit arrangement for detecting motion, direction and position of a part driven by an electric motor
CN106703591A (en) * 2017-03-29 2017-05-24 武汉佳特轿车零部件有限公司 Tail gate power-driven control system

Also Published As

Publication number Publication date
JP3675616B2 (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
JP4487588B2 (en) Opening and closing body control device
US5994858A (en) Method and apparatus for detecting obstruction to powered window movement
JP2001132333A (en) Method of detecting getting-caught in power window device
JP2005351042A (en) Opening and closing body control device
US6034495A (en) Apparatus for detecting pinching of an object in a power window
JPH0228669B2 (en)
JP3675622B2 (en) Power window device pinching detection method
JPH1178514A (en) Pinching detector for power window device
JPH1181793A (en) Catching detecting method of power window device
US20180301893A1 (en) Window control device for a vehicle and a method therefor
JPH1181794A (en) Method and device for detecting catching of power window device
JP3467390B2 (en) Power window device pinch detection method
JP3730777B2 (en) Power window equipment
JP3924158B2 (en) Power window equipment
JP2782320B2 (en) Electric drive
JP2002065512A (en) Motor-driven open/close device for toilet seat/lid
JP4081253B2 (en) Actuator control device
JP3510095B2 (en) Power window device pinch detection method
JP2003239628A (en) Control device for automatic door
JPH02106592A (en) Door control device for elevator
JP2000016730A (en) Control device for home elevator door
JPH1144152A (en) Sandwiching detecting method in power window, power window device, and medium recording sandwiching detecting program of power window

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 or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees