JP4510409B2 - Window glass clamping presence / absence detection device - Google Patents

Window glass clamping presence / absence detection device Download PDF

Info

Publication number
JP4510409B2
JP4510409B2 JP2003285042A JP2003285042A JP4510409B2 JP 4510409 B2 JP4510409 B2 JP 4510409B2 JP 2003285042 A JP2003285042 A JP 2003285042A JP 2003285042 A JP2003285042 A JP 2003285042A JP 4510409 B2 JP4510409 B2 JP 4510409B2
Authority
JP
Japan
Prior art keywords
difference value
pulse length
window glass
average
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003285042A
Other languages
Japanese (ja)
Other versions
JP2005054408A (en
Inventor
忠昭 市薗
一成 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP2003285042A priority Critical patent/JP4510409B2/en
Publication of JP2005054408A publication Critical patent/JP2005054408A/en
Application granted granted Critical
Publication of JP4510409B2 publication Critical patent/JP4510409B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)
  • Window Of Vehicle (AREA)
  • Control Of Electric Motors In General (AREA)

Description

本発明は、ウインドウガラスの閉動作中における異物の挟み込みを検出するウインドウガラスの挟持有無検出装置に関するものである。   The present invention relates to a window glass pinching presence / absence detecting device that detects a foreign object pinching during a window glass closing operation.

一般に、例えば車両に設けられたウインドウガラスの昇降を制御するパワーウインドウ制御装置は、ウインドウガラスを自動的に上昇(オートアップ)及び下降(オートダウン)させるオート機能を備えている。このため、特にウインドウガラスのオートアップ時においては、ウインドウガラスと窓枠との間で、異物が挟まれてしまうおそれがある。そこで従来、このようなパワーウインドウ制御装置では、ウインドウガラスによる異物の挟み込みを防止するために、ウインドウガラスと窓枠との間に異物が挟まれたか否かを検出し、異物が挟まれた場合に該異物を解放するウインドウガラスの挟持有無検出装置が提案されている(例えば、特許文献1参照)。   In general, for example, a power window control device that controls raising and lowering of a window glass provided in a vehicle has an automatic function of automatically raising (auto-up) and lowering (auto-down) the window glass. For this reason, especially at the time of auto-up of the window glass, there is a possibility that foreign matter may be sandwiched between the window glass and the window frame. Therefore, conventionally, in such a power window control device, in order to prevent the foreign matter from being caught by the window glass, it is detected whether or not the foreign matter is caught between the window glass and the window frame, and the foreign matter is caught. A window glass pinching presence / absence detection device for releasing the foreign matter has been proposed (for example, see Patent Document 1).

この特許文献1に記載されるウインドウの挟持有無検出装置は、ウインドウガラスを昇降駆動するモータと、同モータの回転速度に対応したパルス信号を生成して出力するパルスセンサと、同モータ及びパルスセンサと接続された車両用ECU(車両用電子制御装置)とを備えている。車両用ECUは、パルスセンサからパルス信号が入力されると、その入力毎に現在のパルス周期を演算する一方で、その現在のパルス周期よりも過去のパルス信号のパルス周期を演算する。そして、車両用ECUは、現在のパルス周期と過去のパルス周期とに基づいてウインドウガラスの挟持有無検出を行うようになっている。   The window clamping presence / absence detection apparatus described in Patent Document 1 includes a motor that drives a window glass to move up and down, a pulse sensor that generates and outputs a pulse signal corresponding to the rotation speed of the motor, and the motor and pulse sensor. And a vehicle ECU (vehicle electronic control device) connected to the vehicle. When a pulse signal is input from the pulse sensor, the vehicle ECU calculates a current pulse period for each input, and calculates a pulse period of a past pulse signal from the current pulse period. The vehicle ECU detects whether or not the window glass is sandwiched based on the current pulse period and the past pulse period.

詳しくは、例えば図9に示すように、車両用ECUは、矢印A1で示すタイミングでパルス信号Pnが入力されると、そのパルス信号Pnのパルス幅と1パルス前のパルス信号Pn1のパルス幅とを加算して現在のパルス周期Ppを算出する。それとともに、車両用ECUは、そのパルス信号Pnよりも4パルス前のパルス信号Pn4から11パルス前のパルス信号Pn11の平均パルス周期Paveを算出する。そして、図10に示すように、車両用ECUは、現在のパルス周期Ppと平均パルス周期Paveとの差分を算出して周期差分値Psを算出する。また、車両用ECUは、現在のパルス位置において算出した周期差分値Ps1と、その直前までの所定数(例えば3周期)分の周期差分値Ps(例えば同図に示すPs2〜Ps4)とを総和して周期差分和Pstを算出する。   Specifically, as shown in FIG. 9, for example, when the pulse signal Pn is input at the timing indicated by the arrow A1, the vehicle ECU determines the pulse width of the pulse signal Pn and the pulse width of the pulse signal Pn1 one pulse earlier. Is added to calculate the current pulse period Pp. At the same time, the vehicle ECU calculates an average pulse period Pave of the pulse signal Pn11 11 pulses before the pulse signal Pn4 4 pulses before the pulse signal Pn. And as shown in FIG. 10, ECU for vehicles calculates the difference of the present pulse period Pp and average pulse period Pave, and calculates the period difference value Ps. Further, the vehicle ECU sums the cycle difference value Ps1 calculated at the current pulse position and the cycle difference values Ps (for example, Ps2 to Ps4 shown in the figure) for a predetermined number (for example, three cycles) up to immediately before. Thus, the period difference sum Pst is calculated.

ところで、例えば図11に示すように、車両用ECUのメモリには前記平均パルス周期Paveに対応した閾値PHを求めるためのマップが記録されている。そして、車両用ECUは、前記周期差分和Pstと平均パルスPaveに対応した閾値PHとを比較する。その結果、閾値PHよりも周期差分和Pstの方が大きい場合、すなわち周期差分和Pstが同図に示す反転領域内に位置する場合には、車両用ECUは、異物が挟まれたと判断して、モータを反転駆動するように制御する。   By the way, as shown in FIG. 11, for example, a map for obtaining a threshold PH corresponding to the average pulse period Pave is recorded in the memory of the vehicle ECU. Then, the vehicle ECU compares the period difference sum Pst with a threshold PH corresponding to the average pulse Pave. As a result, when the period difference sum Pst is larger than the threshold PH, that is, when the period difference sum Pst is located within the inversion region shown in the figure, the vehicle ECU determines that a foreign object has been caught. The motor is controlled to be driven in reverse.

したがって、こうした挟持有無検出装置によれば、ウインドウガラスの変位量の変化を検出し、その変化に異常があると判断した際にモータを反転駆動させることにより、ウインドウガラスによる異物の挟み込みを防止することができる。
特開2000−152677号公報
Therefore, according to such a sandwiching presence / absence detecting device, a change in the amount of displacement of the window glass is detected, and when it is determined that the change is abnormal, the motor is reversed to prevent the foreign matter from being caught by the window glass. be able to.
JP 2000-152777 A

ところで、こうしたウインドウガラスの挟持有無検出装置にあっては、ウインドウガラスに挟み込まれた異物の保護を図るために、比較的小さな力で異物が挟まれた時点で挟み込みを検出することが望ましい。よって、前記閾値PHをできるだけ低く設定することが望ましい。   By the way, in such a window glass pinching presence / absence detection device, it is desirable to detect pinching when a foreign object is pinched with a relatively small force in order to protect the foreign object pinched by the window glass. Therefore, it is desirable to set the threshold PH as low as possible.

ところが、通常、モータの回転特性は、ウインドウガラスと窓枠との摺動抵抗の変動や、電圧負荷変動などを要因として、搭載される車両毎に異なっている。具体的には、ウインドウガラスと窓枠との摺動抵抗が車両または車種毎に異なるため、ウインドウガラスの全開状態と全閉状態との間において、全体的または部分的にモータの回転速度が変化してしまう。すなわち、こうした要因により、パルス信号のパルス周期の変動特性が車両または車種毎に異なる。このため、前記閾値PHを単純に低く設定してしまうと、モータの回転速度の変化により、車両用ECUは、実際には異物を挟み込んではいないにも拘わらず、異物を挟み込んでいると判断する誤判定を生じるおそれがある。また、閾値PHを全車両共通にしてしまうと、車両毎に誤判定を生じる割合にバラツキが生じてしまう。よって従来では、車両または車種毎にモータの回転特性を把握するための実験等を行い、その実験で得られたデータに基づいて最適な閾値PHのマップを個別に設定する必要があった。   However, the rotational characteristics of the motor usually differ for each vehicle mounted due to fluctuations in sliding resistance between the window glass and the window frame, voltage load fluctuations, and the like. Specifically, because the sliding resistance between the window glass and the window frame differs for each vehicle or vehicle type, the rotational speed of the motor changes in whole or in part between the fully open state and the fully closed state of the window glass. Resulting in. That is, due to these factors, the fluctuation characteristics of the pulse period of the pulse signal differ for each vehicle or vehicle type. For this reason, if the threshold value PH is simply set to a low value, the vehicle ECU determines that a foreign object is being caught even though the foreign object is not actually sandwiched due to a change in the rotational speed of the motor. There is a risk of misjudgment. Moreover, if the threshold value PH is made common to all the vehicles, there will be variations in the ratio of erroneous determination for each vehicle. Therefore, in the past, it has been necessary to perform an experiment or the like for grasping the rotation characteristics of the motor for each vehicle or vehicle type, and individually set an optimum threshold PH map based on the data obtained in the experiment.

また、同一車両であっても、経年変化などにより、こうしたウインドウガラスと窓枠との摺動抵抗の変動やモータトルクの低減が生じるおそれがある。このため、各車両毎に最適な閾値PHのマップを設定したとしても、経年変化などを要因として、挟み込みの誤判定を生じてしまうおそれがある。よって、閾値PHを低く設定することによって挟み込みの検出荷重を小さくすることは非常に困難であった。   Even in the same vehicle, there is a possibility that fluctuation of sliding resistance between the window glass and the window frame or reduction of motor torque may occur due to aging. For this reason, even if an optimal threshold value PH map is set for each vehicle, there is a risk of erroneous determination of pinching due to secular change or the like. Therefore, it is very difficult to reduce the pinching detection load by setting the threshold PH low.

本発明はこうした実情に鑑みてなされたものであり、その目的は、ウインドウガラスによる挟み込みを判定するための閾値の設定を容易に行うことができるとともに、挟み込みの誤判定を生じることなく該挟み込みの検出荷重を小さくすることができるウインドウガラスの挟持有無検出装置を提供することにある。   The present invention has been made in view of such circumstances, and the object thereof is to easily set a threshold value for determining pinching by a window glass and to prevent the pinching without causing erroneous pinching. An object of the present invention is to provide a sandwiching presence / absence detection device for a window glass capable of reducing a detection load.

上記の課題を解決するために、請求項1に記載の発明では、正逆回転することによりウインドウガラスの開閉動作を行うモータの回転速度に応じて出力されるパルス信号に基づいて、ウインドウガラスと窓枠との間に異物が挟まれたか否かを検出するウインドウガラスの挟持有無検出装置であって、前記パルス信号に基づき、所定の動作範囲におけるパルス信号の平均値を指すものであって、過去のパルス長のみから算出されるものである、前記パルス信号の平均パルス長を算出するとともに、前記ウインドウガラスのその時々の位置における現在のパルス長と前記平均パルス長との差分値を算出する算出手段と、前記差分値及び前記平均パルス長を記録データとして、前記ウインドウガラスの位置と対応付けして記録する記録手段と、前記現在のパルス長と前記平均パルス長とが等しくない場合、すなわち前記現在のパルス長と前記平均パルス長との差分値が0でない場合に、今回算出した平均パルス長と前記記録手段に記録されている過去の記録データである、現時点におけるウインドウガラスの位置に対応付けして記録されている記録データとに基づいて補正差分値を算出する補正値算出処理を行うとともに、現在の差分値から前記補正差分値を減算して算出した変動差分値と予め設定された閾値との比較結果に基づいてウインドウガラスの挟持有無検出を行う挟持有無検出手段とを備えることを要旨とする。 In order to solve the above-mentioned problem, in the invention according to claim 1, based on a pulse signal output according to the rotation speed of a motor that opens and closes the window glass by rotating forward and backward, A window glass pinching presence / absence detecting device that detects whether or not a foreign object has been pinched between the window frame, and based on the pulse signal, refers to an average value of a pulse signal in a predetermined operating range, The average pulse length of the pulse signal , which is calculated only from the past pulse length, is calculated, and the difference value between the current pulse length and the average pulse length at the current position of the window glass is calculated. Calculation means, recording means for recording the difference value and the average pulse length as recording data in association with the position of the window glass, and If the pulse length of the stationary and said average pulse length is unequal, i.e. wherein when the difference value between the current pulse length with the average pulse length is not 0, it is recorded in the average pulse length and said recording means currently calculated Correction value calculation processing for calculating a correction difference value based on the recorded data recorded in association with the current position of the window glass, which is the past recorded data , and the correction from the current difference value The gist of the invention is to include a pinching presence / absence detecting unit that detects whether or not the window glass is pinched based on a comparison result between a fluctuation difference value calculated by subtracting the difference value and a preset threshold value.

請求項2に記載の発明では、請求項1に記載のウインドウガラスの挟持有無検出装置において、前記記録手段は、現在のパルス長と前記平均パルス長とが等しくない場合、すなわち現在のパルス長と前記平均パルス長との差分値が0でない場合にのみ前記記録データを記録し、前記挟持有無検出手段は、前記現在のパルス長と前記平均パルス長とが等しくない場合、すなわち前記現在のパルス長と前記平均パルス長との差分値が0でない場合、前記過去の記録データが記録されている位置でのみ前記補正値算出処理に基づく挟持有無検出を行い、前記記録データが記録されていない位置にあっては、現在のパルス長と今回算出した平均パルス長との差分値と、前記閾値との比較結果に基づいて、ウインドウガラスの挟持有無検出を行うことを要旨とする。 According to a second aspect of the present invention, in the window glass pinching presence / absence detecting device according to the first aspect of the invention, the recording means is configured such that the current pulse length and the average pulse length are not equal , that is, the current pulse length. The recording data is recorded only when a difference value with respect to the average pulse length is not 0, and the sandwiching presence / absence detecting means detects that the current pulse length is not equal to the average pulse length , that is, the current pulse length. When the difference value between the average pulse length and the average pulse length is not 0, pinching presence / absence detection based on the correction value calculation process is performed only at the position where the past recording data is recorded, and the recording data is not recorded at the position. Then, based on the comparison between the difference value between the current pulse length and the average pulse length calculated this time, and the threshold value, the presence / absence detection of the window glass is detected. And effect.

請求項3に記載の発明では、請求項1または請求項2に記載のウインドウガラスの挟持有無検出装置において、前記記録手段は、前記ウインドウガラスの位置と対応する過去の複数回分の前記差分値及び前記平均パルス長を前記記録データとして記録し、前記挟持有無検出手段は、前記記録手段に記録された複数回分の差分値の平均値及び複数回分の平均パルス長の平均値とに基づいて前記補正値算出処理を行うことを要旨とする。   According to a third aspect of the present invention, in the window glass pinching presence / absence detecting device according to the first or second aspect, the recording means includes the difference value for a plurality of past times corresponding to the position of the window glass, and The average pulse length is recorded as the recording data, and the clamping presence / absence detecting unit corrects the correction based on an average value of a plurality of difference values recorded on the recording unit and an average value of an average pulse length of a plurality of times. The gist is to perform value calculation processing.

以下、本発明の「作用」について説明する。
請求項1に記載の発明によると、ウインドウガラスの所定の位置で現在のパルス長と平均パルス長とが等しくなくなった場合、すなわち所定の位置でモータの回転速度に変動があった場合には、今回算出した平均パルス長と記録手段に記録されている過去の記録データとに基づいて補正差分値が算出される。そして、その補正差分値を現在の差分値から減算して算出した変動差分値と閾値との比較結果に基づいて挟持有無検出が行われる。つまり、当該ウインドウ位置で過去においてもモータの回転速度に変動がある場合には、そのウインドウ位置にあっては慢性的な変動を生じるものと判断され、その慢性的な変動要因を除いた状態で挟持有無検出が行われる。このため、例えばウインドウガラスと窓枠との間の摺動抵抗の変動等を要因としてウインドウガラスの所定位置で現在のパルス長と平均パルス長とが常に等しくならない箇所があったとしても、その慢性的な変動要因によって生じた現在のパルス長と平均パルス長との差分値は、現在の差分値から自動的に排除される。このため、純粋な外乱要因による変動差分値のみに基づいたウインドウガラスの挟持有無検出が可能となる。よって、挟み込みの検出荷重を小さくするべく閾値を低く設定したとしても、慢性的な変動要因によってウインドウガラスが異物を挟み込んでいると誤判定するおそれがなくなる。しかも、慢性的な変動要因は自動的に排除されるため、車両や車種毎に実験等を行って該変動要因を鑑みた閾値を設定する必要もない。
The “action” of the present invention will be described below.
According to the invention described in claim 1, when the current pulse length and the average pulse length are not equal at a predetermined position of the window glass, that is, when the rotational speed of the motor varies at the predetermined position, A correction difference value is calculated based on the average pulse length calculated this time and past recording data recorded in the recording means. Then, pinching presence / absence detection is performed based on the comparison result between the fluctuation difference value calculated by subtracting the correction difference value from the current difference value and the threshold value. In other words, if there is a fluctuation in the rotational speed of the motor at the window position in the past, it is determined that a chronic fluctuation will occur at the window position, and the chronic fluctuation factor is removed. Pinching presence / absence detection is performed. For this reason, even if there is a place where the current pulse length and the average pulse length are not always equal at a predetermined position of the window glass due to, for example, fluctuation of sliding resistance between the window glass and the window frame, the chronicity The difference value between the current pulse length and the average pulse length caused by a typical variation factor is automatically excluded from the current difference value. For this reason, it is possible to detect whether the window glass is sandwiched based on only the difference value due to a pure disturbance factor. Therefore, even if the threshold value is set to be low so as to reduce the detection load for pinching, there is no risk of erroneous determination that the window glass is pinching foreign matter due to chronic fluctuation factors. In addition, since chronic fluctuation factors are automatically excluded, it is not necessary to set a threshold value in consideration of the fluctuation factors by performing experiments or the like for each vehicle or vehicle type.

請求項2に記載の発明によると、現在のパルス長と平均パルス長とが等しくない場合にのみ記録データが記録される。すなわち、現在のパルス長と平均パルス長とが等しい場合には記録データが記録されない。このため、記録手段の記録容量を小さくすることが可能となる。また、現在のパルス長と前記平均パルス長とが等しくない場合、過去の記録データが記録されている位置でのみ、前記補正値算出処理に基づく挟持有無検出が行われる。すなわち、過去の記録データが記録されていない位置にあっては、補正値算出処理が行われない。このため、挟持有無検出手段の処理負担も軽減される。   According to the second aspect of the present invention, the recording data is recorded only when the current pulse length and the average pulse length are not equal. That is, if the current pulse length is equal to the average pulse length, no recording data is recorded. For this reason, the recording capacity of the recording means can be reduced. Further, when the current pulse length and the average pulse length are not equal, pinching presence / absence detection based on the correction value calculation process is performed only at a position where past recording data is recorded. That is, the correction value calculation process is not performed at a position where past recording data is not recorded. For this reason, the processing load of the clamping presence / absence detecting means is also reduced.

請求項3に記載の発明によると、ウインドウガラスの位置と対応する過去の複数回分の差分値の平均値及び平均パルス長の平均値に基づいて補正値算出処理が行われる。すなわち、突発的な変動によって生じた差分値及び平均パルス長が記録データとして記録されたとしても、その突発的な差分値及び平均パルス長のみに基づいて補正値算出処理が行われることがない。このため、慢性的な変動要因による差分値をより高い精度で算出することができる。   According to invention of Claim 3, a correction value calculation process is performed based on the average value of the difference value for the past several times corresponding to the position of a window glass, and the average value of average pulse length. That is, even if the difference value and the average pulse length caused by the sudden change are recorded as the recording data, the correction value calculation process is not performed based only on the sudden difference value and the average pulse length. For this reason, the difference value by a chronic fluctuation factor can be calculated with higher accuracy.

本発明によれば、ウインドウを反転駆動するか否かの閾値の設定を容易に行うことができるとともに、挟み込みの誤判定を生じることなく該挟み込みの検出荷重を小さくすることができる。   According to the present invention, it is possible to easily set a threshold value for determining whether or not to invert the window, and to reduce the pinching detection load without causing erroneous pinching determination.

以下、本発明を車両のウインドウガラスを昇降するウインドウ駆動制御装置として具体化した一実施形態を、図1〜図8に基づき詳細に説明する。
図1に示すように、ウインドウ駆動制御装置11は、算出手段及び挟持有無検出手段としての作動制御部12と、モータドライバ13と、モータ14とを備えている。このウインドウ駆動制御装置11は、図示しないイグニッションリレーを介してバッテリから電力供給されるようになっている。すなわち、ウインドウ駆動制御装置11は、車両の電気系統の機能ポジションがイグニッションONとなっているときに給電されるようになっている。
Hereinafter, an embodiment in which the present invention is embodied as a window drive control device for raising and lowering a window glass of a vehicle will be described in detail with reference to FIGS.
As shown in FIG. 1, the window drive control device 11 includes an operation control unit 12 as a calculation unit and a clamping presence / absence detection unit, a motor driver 13, and a motor 14. The window drive control device 11 is supplied with power from a battery via an ignition relay (not shown). That is, the window drive control device 11 is supplied with power when the functional position of the electric system of the vehicle is ignition ON.

作動制御部12は、CPU、ROM、RAM等からなるCPUユニットであり、記録手段としての不揮発性のメモリ12aを備えている。図2に示すように、このメモリ12aには、後記するパルスセンサ18から入力されるパルス信号に基づいて挟持有無を判定するための閾値PHのマップが記録されている。また、メモリ12aは、ウインドウガラスのその時々の位置における平均パルス周期Paveと、現在のパルス周期(現パルス周期)Ppと平均パルス周期Paveとの差分値(実差分値Ps)とを記録データ(記憶パルス周期M−Pave及び記憶パルス差分値M−Ps)として記録可能となっている。   The operation control unit 12 is a CPU unit including a CPU, a ROM, a RAM, and the like, and includes a nonvolatile memory 12a as a recording unit. As shown in FIG. 2, the memory 12a records a threshold PH map for determining whether or not clamping is performed based on a pulse signal input from a pulse sensor 18 described later. In addition, the memory 12a records the average pulse period Pave at the current position of the window glass and the difference value (actual difference value Ps) between the current pulse period (current pulse period) Pp and the average pulse period Pave as recorded data ( Recording as a storage pulse period M-Pave and a storage pulse difference value M-Ps).

作動制御部12は、第1入力端子IN1、第2入力端子IN2、第1出力端子OUT1及び第2出力端子OUT2を備え、第1入力端子INには操作スイッチ15が電気的に接続されている。操作スイッチ15は車両室内に配設されたウインドウ操作スイッチであり、ウインドウガラスの自動昇降操作と、ウインドウガラスの手動昇降操作とを可能となっている。そして、車両搭乗者によってこの操作スイッチ15が操作されると、その操作に対応した操作信号が第1入力端子IN1に入力される。詳しくは、入力端子INには、該操作スイッチ15の操作態様に応じて、オート上昇操作信号、オート下降操作信号、手動上昇操作信号及び手動下降操作信号のうちのいずれか1つが入力される。   The operation control unit 12 includes a first input terminal IN1, a second input terminal IN2, a first output terminal OUT1, and a second output terminal OUT2. An operation switch 15 is electrically connected to the first input terminal IN. . The operation switch 15 is a window operation switch disposed in the vehicle compartment, and can perform automatic window glass lifting operation and manual window glass lifting operation. When the operation switch 15 is operated by a vehicle occupant, an operation signal corresponding to the operation is input to the first input terminal IN1. Specifically, one of an auto ascending operation signal, an auto descending operation signal, a manual ascending operation signal, and a manual descending operation signal is input to the input terminal IN according to the operation mode of the operation switch 15.

一方、作動制御部12の各出力端子OUT1,OUT2には、モータドライバ13が電気的に接続されている。モータドライバ13は、第1スイッチング素子TR1、第2スイッチング素子TR2、第1リレー16及び第2リレー17を備えている。第1スイッチング素子TR1及び第2スイッチング素子TR2は、本実施形態ではNPNトランジスタによって構成されている。そして、第1スイッチング素子TR1のベース端子は前記第1出力端子OUT1に接続され、第2スイッチング素子TR2のベース端子は前記第2出力端子OUT2に接続されている。両スイッチング素子TR1,TR2のエミッタ端子は接地されている。また、第1スイッチング素子TR1のコレクタ端子は第1リレー16のコイルL1の一端に接続され、第2スイッチング素子TR2のコレクタ端子は第2リレー17のコイルL2の一端に接続され、各コイルL1,L2の他端は前記イグニッションリレーを介してバッテリに接続されている。   On the other hand, a motor driver 13 is electrically connected to the output terminals OUT1 and OUT2 of the operation control unit 12. The motor driver 13 includes a first switching element TR1, a second switching element TR2, a first relay 16, and a second relay 17. In the present embodiment, the first switching element TR1 and the second switching element TR2 are configured by NPN transistors. The base terminal of the first switching element TR1 is connected to the first output terminal OUT1, and the base terminal of the second switching element TR2 is connected to the second output terminal OUT2. The emitter terminals of both switching elements TR1 and TR2 are grounded. The collector terminal of the first switching element TR1 is connected to one end of the coil L1 of the first relay 16, the collector terminal of the second switching element TR2 is connected to one end of the coil L2 of the second relay 17, and each coil L1, The other end of L2 is connected to the battery via the ignition relay.

第1リレー16及び第2リレー17はそれぞれc接点構造をなし、第1リレー16のa接点側の固定接点CP1及び第2リレー17のa接点側の固定接点CP4は、前記イグニッションリレーを介してバッテリに接続されている。また、第1リレー16のb接点側の固定接点CP2及び第2リレー17のb接点側の固定接点CP5は、接地されている。そして、第1リレー16の可動接点CP3はモータ14の第1端子に接続され、第2リレー17の可動接点CP6はモータ14の第2端子に接続されている。よって、モータ14は、両リレー16,17が共にOFF状態(非励磁状態)である場合には電力が供給されないため駆動しない。また、モータ14は、第1リレー16がON状態(励磁状態)且つ第2リレー17がOFF状態の場合には、第1リレー16を介して電力が供給されるため、正回転駆動してウインドウガラスを上昇させる。これに対し、モータ14は、第1リレー16がOFF状態且つ第2リレー17がON状態の場合には、第2リレー17を介して電力が供給されるため、逆回転駆動してウインドウガラスを下降させる。   The first relay 16 and the second relay 17 each have a c-contact structure, and the fixed contact CP1 on the a contact side of the first relay 16 and the fixed contact CP4 on the a contact side of the second relay 17 are connected via the ignition relay. Connected to battery. The fixed contact CP2 on the b contact side of the first relay 16 and the fixed contact CP5 on the b contact side of the second relay 17 are grounded. The movable contact CP3 of the first relay 16 is connected to the first terminal of the motor 14, and the movable contact CP6 of the second relay 17 is connected to the second terminal of the motor 14. Accordingly, the motor 14 is not driven because power is not supplied when both the relays 16 and 17 are in the OFF state (de-energized state). In addition, when the first relay 16 is in the ON state (excited state) and the second relay 17 is in the OFF state, the motor 14 is driven to rotate in the forward direction because the electric power is supplied through the first relay 16. Raise the glass. In contrast, when the first relay 16 is in the OFF state and the second relay 17 is in the ON state, the motor 14 is supplied with power through the second relay 17, so that the motor 14 is driven in the reverse rotation to wind the window glass. Lower.

ところで、モータ14の近辺には、該モータ14の回転軸の回転状態を検出し、該回転軸の回転に伴ってパルス信号を出力するパルス信号出力手段としてのパルスセンサ18が配設されている。このパルスセンサ18は、ホール素子(ホールIC)を用いて構成された公知のセンサであり、モータ14の回転軸の回転数に比例した数のパルス信号を出力する。詳しくは、モータ14の回転軸には極性の異なる磁石(磁極)が所定間隔で着磁されており、パルスセンサ18は、回転軸の回転により生じる磁界変化をピックアップしてパルスを出力する。こうしたパルスセンサ18の出力端子は、作動制御部12の第2入力端子IN2に電気的に接続されている。このため、パルスセンサ18から出力されるパルス信号は、作動制御部12に入力される。   Incidentally, in the vicinity of the motor 14, a pulse sensor 18 is provided as a pulse signal output means for detecting the rotation state of the rotation shaft of the motor 14 and outputting a pulse signal along with the rotation of the rotation shaft. . The pulse sensor 18 is a known sensor configured using a Hall element (Hall IC), and outputs a number of pulse signals proportional to the number of rotations of the rotating shaft of the motor 14. Specifically, magnets (magnetic poles) having different polarities are magnetized at predetermined intervals on the rotating shaft of the motor 14, and the pulse sensor 18 picks up a magnetic field change caused by the rotation of the rotating shaft and outputs a pulse. The output terminal of the pulse sensor 18 is electrically connected to the second input terminal IN2 of the operation control unit 12. Therefore, the pulse signal output from the pulse sensor 18 is input to the operation control unit 12.

このように構成されたウインドウ駆動制御装置11において、作動制御部12は、モータ14の作動を制御してウインドウガラスの昇降を制御するウインドウ駆動制御と、ウインドウガラスの挟持有無検出制御とを行うようになっている。そこで、作動制御部12によって行われるウインドウ駆動制御と挟持有無検出制御とについて説明する。なお、各制御を行うための制御プログラムは、作動制御部12を構成するROM内に記録されている。   In the window drive control device 11 configured as described above, the operation control unit 12 performs window drive control for controlling the operation of the motor 14 to control the raising and lowering of the window glass, and control for detecting whether the window glass is sandwiched. It has become. Therefore, window drive control and clamping presence / absence detection control performed by the operation control unit 12 will be described. A control program for performing each control is recorded in a ROM constituting the operation control unit 12.

<1>ウインドウ駆動制御
作動制御部12は、通常、両出力端子OUT1,OUT2からLレベルの信号を出力した状態となっている。そして、操作スイッチ15から前記操作信号が入力されると、作動制御部12は、ウインドウ駆動制御を行う。詳しくは、操作スイッチ15からオート上昇操作信号または手動上昇操作信号が入力されると、作動制御部12は、第1出力端子OUT1からHレベルの信号を出力して第1スイッチング素子TR1を作動させる。これにより、第1リレー16がON状態となり、モータ14が正回転駆動してウインドウガラスが上昇される。
<1> Window Drive Control The operation control unit 12 is normally in a state of outputting an L level signal from both output terminals OUT1 and OUT2. When the operation signal is input from the operation switch 15, the operation control unit 12 performs window drive control. Specifically, when an auto ascending operation signal or a manual ascending operation signal is input from the operation switch 15, the operation control unit 12 outputs an H level signal from the first output terminal OUT1 to operate the first switching element TR1. . Thereby, the 1st relay 16 will be in an ON state, the motor 14 will drive forward rotation, and a window glass will raise.

一方、操作スイッチ15からオート下降操作信号または手動下降操作信号が入力されると、作動制御部12は、第2出力端子OUT2からHレベルの信号を出力して第2スイッチング素子TR2を作動させる。これにより、第2リレー17がON状態となり、モータ14が逆回転駆動してウインドウガラスが下降される。   On the other hand, when an automatic lowering operation signal or a manual lowering operation signal is input from the operation switch 15, the operation control unit 12 outputs an H level signal from the second output terminal OUT2 to operate the second switching element TR2. Thereby, the 2nd relay 17 will be in an ON state, the motor 14 will reversely drive, and a window glass will descend | fall.

こうした作動制御部12は、オート上昇操作信号(オート下降操作信号)が入力された場合には、該操作信号が入力されなくなった後も、ウインドウガラスが全閉(全開)状態になるまでの間はモータ14を駆動し続ける。これに対し、作動制御部12は、手動上昇操作信号(手動下降操作信号)が入力された場合には、該操作信号が入力されている間のみ、モータ14を駆動する。なお、作動制御部12は、パルスセンサ18から入力されるパルス信号のパルス数をカウントすることによりウインドウガラスの位置を認識可能であるため、該パルス数とパルス幅とに基づいてウインドウガラスの全開状態及び全閉状態を判断するようになっている。詳しくは、作動制御部12は、全開または全閉位置となるパルス数近辺で所定の規定幅よりも長いパルス幅を検出した場合に、ウインドウガラスが全開状態または全閉状態になったと判断する。   When such an operation control unit 12 receives an auto ascending operation signal (automatic descending operation signal), the operation control unit 12 continues until the window glass is fully closed (fully opened) even after the operation signal is not input. Continues to drive the motor 14. On the other hand, when a manual ascending operation signal (manually descending operation signal) is input, the operation control unit 12 drives the motor 14 only while the operation signal is input. The operation control unit 12 can recognize the position of the window glass by counting the number of pulses of the pulse signal input from the pulse sensor 18, so that the window glass is fully opened based on the number of pulses and the pulse width. The state and the fully closed state are judged. Specifically, the operation control unit 12 determines that the window glass is in a fully open state or a fully closed state when a pulse width longer than a predetermined specified width is detected in the vicinity of the number of pulses at the fully open or fully closed position.

<2>挟持有無検出制御
ウインドウガラスの閉動作時には、作動制御部12は、図3に示すフローチャートに従って挟持有無検出制御のための処理を行う。なお、この処理は、ウインドウガラスの閉動作時には繰り返し行われる。
<2> Clamping presence / absence detection control During the closing operation of the window glass, the operation control unit 12 performs processing for clamping presence / absence detection control according to the flowchart shown in FIG. This process is repeatedly performed when the window glass is closed.

まず、ステップS1において作動制御部12は、パルスセンサ18から入力されるパルス信号に基づいて現在のパルス周期(現パルス周期)Ppを算出する。詳しくは、例えば図4に矢印A1で示すタイミングで現パルス信号が入力されると、作動制御部12は、その現パルス信号のパルス幅Pnと1個前のパルス信号のパルス幅Pn1とを加算して現在のパルス周期Ppを算出する。また、作動制御部12は、パルス信号のパルス数をカウントすることにより、ウインドウガラスの位置(窓位置)を認識する。   First, in step S1, the operation control unit 12 calculates the current pulse period (current pulse period) Pp based on the pulse signal input from the pulse sensor 18. Specifically, for example, when the current pulse signal is input at the timing indicated by the arrow A1 in FIG. 4, the operation control unit 12 adds the pulse width Pn of the current pulse signal and the pulse width Pn1 of the previous pulse signal. The current pulse period Pp is calculated. The operation control unit 12 recognizes the position of the window glass (window position) by counting the number of pulses of the pulse signal.

ステップS2において作動制御部12は、現パルス信号よりも4個前のパルス信号から11個前のパルス信号の各パルス幅Pn4〜Pn11に基づいて平均パルス周期Paveを算出する。そして、ステップS3において作動制御部12は、現パルス周期Ppから平均パルス周期Paveを減算して実差分値Psを算出する。   In step S <b> 2, the operation control unit 12 calculates the average pulse period Pave based on the pulse widths Pn <b> 4 to Pn <b> 11 of the 11 pulse signals from the 4 pulse signals before the current pulse signal. In step S3, the operation control unit 12 calculates an actual difference value Ps by subtracting the average pulse period Pave from the current pulse period Pp.

続くステップS4において作動制御部12は、ステップS3で算出した実差分値Psが「0」であるか否かを判断する。そして、作動制御部12は、該実差分値Psが「0」であると判断した場合にはここでの処理を一旦終了し、該実差分値Psが「0」でないと判断した場合にはステップS5の処理へ移行する。   In subsequent step S4, the operation control unit 12 determines whether or not the actual difference value Ps calculated in step S3 is “0”. When the operation control unit 12 determines that the actual difference value Ps is “0”, the operation control unit 12 temporarily ends the process, and when the operation control unit 12 determines that the actual difference value Ps is not “0”. The process proceeds to step S5.

ステップS5において作動制御部12は、現時点でのパルス数(現パルス数)と対応付けされた記憶パルス周期M−Paveと記憶パルス差分値M−Psとからなる記録データが、メモリ12aに既に記録されているか否かを判断する。この記憶パルス周期M−Paveは、現パルス数における標準的な平均パルス周期であり、後記するステップS13の加重平均化処理によって算出される。また、記憶パルス差分値M−Psは、ウインドウガラスの閉特性などを要因として生じる現パルス数における標準的な差分値であり、該加重平均化処理によって算出される。つまり、作動制御部12は、過去に行われた挟持有無検出処理で算出された記憶パルス周期M−Pave及び記憶パルス差分値M−Psが、メモリ12aに記録されているか否かを判断する。そして、該記録データがメモリ12aに既に記録されている場合、作動制御部12はステップS6の処理へ移行する。   In step S5, the operation control unit 12 has already recorded in the memory 12a the recording data including the storage pulse period M-Pave and the storage pulse difference value M-Ps associated with the current pulse number (current pulse number). It is judged whether it is done. The stored pulse period M-Pave is a standard average pulse period in the current number of pulses, and is calculated by a weighted averaging process in step S13 described later. The stored pulse difference value M-Ps is a standard difference value in the current number of pulses generated due to the closing characteristics of the window glass and the like, and is calculated by the weighted averaging process. That is, the operation control unit 12 determines whether or not the storage pulse period M-Pave and the storage pulse difference value M-Ps calculated by the clamping presence / absence detection process performed in the past are recorded in the memory 12a. If the recorded data is already recorded in the memory 12a, the operation control unit 12 proceeds to the process of step S6.

ステップS6において作動制御部12は補正値算出処理を行う。詳しくは、作動制御部12は、ステップS2で算出した平均パルス周期Paveと、メモリ12aに記録された既存の記憶パルス周期M−Pave及び記憶パルス差分値M−Psとに基づいて、補正差分値Psbaseを算出する。なお、補正差分値Psbaseは、次式にて算出される。   In step S6, the operation control unit 12 performs a correction value calculation process. Specifically, the operation control unit 12 determines the correction difference value based on the average pulse period Pave calculated in step S2 and the existing storage pulse period M-Pave and storage pulse difference value M-Ps recorded in the memory 12a. Psbase is calculated. The corrected difference value Psbase is calculated by the following equation.

(数1)
「Pave」:「Psbase」=「M−Pave」:「M−Ps」
∴「Psbase」=「M−Ps」×「Pave」/「M−Pave」
つまり、補正差分値Psbaseは、今回算出された平均パルス周期Paveに対する比率が、記憶パルス周期M−Paveと記憶パルス差分値M−Psとの比率と等しくなるように設定された差分値である。換言すれば、補正差分値Psbaseは、記憶パルス周期M−Paveに対する記憶パルス差分値M−Psを、今回の平均パルス周期Paveに対する差分値として変換したものである。このため、このステップS6では、電源電圧の変化、温度の変化、経年変化によるモータ14のトルク低下等、モータ14の回転速度が全体的に変動するような要因(許容変動要因)に起因して、平均パルス周期Paveが記憶パルス周期M−Paveと異なってしまった場合であっても、該平均パルス周期Paveと対応する標準的な差分値が、補正差分値Psbaseとして算出される。
(Equation 1)
“Pave”: “Psbase” = “M-Pave”: “M-Ps”
∴ “Psbase” = “M-Ps” × “Pave” / “M-Pave”
That is, the correction difference value Psbase is a difference value set so that the ratio to the average pulse period Pave calculated this time becomes equal to the ratio between the storage pulse period M-Pave and the storage pulse difference value M-Ps. In other words, the correction difference value Psbase is obtained by converting the storage pulse difference value M-Ps for the storage pulse period M-Pave as a difference value for the current average pulse period Pave. For this reason, in this step S6, it is caused by factors (allowable variation factors) that cause the rotational speed of the motor 14 to fluctuate as a whole, such as a change in power supply voltage, a change in temperature, and a decrease in torque of the motor 14 due to aging. Even when the average pulse period Pave is different from the stored pulse period M-Pave, a standard difference value corresponding to the average pulse period Pave is calculated as the correction difference value Psbase.

ステップS7において作動制御部12は、ステップS3で算出した実差分値Psから補正差分値Psbaseを減算して、変動差分値Psrを算出する。詳しくは、作動制御部12は、標準的な変動要因によって生じる差分値である補正差分値Psbaseを実差分値Psから減算することにより、標準的な変動要因を除いた純粋な外乱要因による変動差分値Psrを算出する。   In step S7, the operation control unit 12 subtracts the correction difference value Psbase from the actual difference value Ps calculated in step S3 to calculate the fluctuation difference value Psr. Specifically, the operation control unit 12 subtracts a correction difference value Psbase, which is a difference value caused by a standard fluctuation factor, from the actual difference value Ps, thereby changing the fluctuation difference due to a pure disturbance factor excluding the standard fluctuation factor. The value Psr is calculated.

そして、続くステップS8において作動制御部12は、変動差分値Psrの変動差分和Pstrを算出する。この変動差分和Pstrは、現在のパルス数と対応する該変動差分値Psrと、現在よりもnパルス前までのパルス数と対応する変動差分値Psr1〜Psrnとの和である。なお、本実施形態において変動差分和Pstrは、現在のパルス数と対応する該変動差分値Psrと、現在よりも3パルス前までのパルス数と対応する変動差分値Psr1〜Psr3との和、すなわち4周期分の変動差分値Psrの和に設定されている。そして、このステップS8の処理が終了すると、作動制御部12はステップS10の処理へ移行する。   In step S8, the operation control unit 12 calculates a fluctuation difference sum Pstr of the fluctuation difference value Psr. The fluctuation difference sum Pstr is the sum of the fluctuation difference value Psr corresponding to the current number of pulses and the fluctuation difference values Psr1 to Psrn corresponding to the number of pulses up to n pulses before the current time. In this embodiment, the fluctuation difference sum Pstr is the sum of the fluctuation difference value Psr corresponding to the current number of pulses and the fluctuation difference values Psr1 to Psr3 corresponding to the number of pulses up to three pulses before the current, that is, It is set to the sum of the fluctuation difference values Psr for four cycles. Then, when the process of step S8 ends, the operation control unit 12 proceeds to the process of step S10.

ところで、前記ステップS5において作動制御部12は、過去(前回)の挟持有無検出処理で算出された記憶パルス周期M−Pave及び記憶パルス差分値M−Psが、メモリ12aに記録されていないと判断した場合、ステップS9の処理へ移行する。そして、ステップS9において作動制御部12は、実差分値Psの実差分和Pstを算出する。この実差分和Pstは、現在のパルス数と対応する該実差分値Psと、現在よりもnパルス前までのパルス数と対応する実差分値Ps1〜Psnとの和である。なお、本実施形態において実差分和Pstは、現在のパルス数と対応する該実差分値Psと、現在よりも3パルス前までのパルス数と対応する実差分値Ps1〜Ps3との和、すなわち4周期分の実差分値Psの和に設定されている。そして、このステップS9の処理が終了すると、作動制御部12はステップS10の処理へ移行する。   In step S5, the operation control unit 12 determines that the memory pulse period M-Pave and the memory pulse difference value M-Ps calculated in the past (previous) clamping presence / absence detection process are not recorded in the memory 12a. If so, the process proceeds to step S9. In step S9, the operation control unit 12 calculates the actual difference sum Pst of the actual difference values Ps. The actual difference sum Pst is the sum of the actual difference value Ps corresponding to the current number of pulses and the actual difference values Ps1 to Psn corresponding to the number of pulses up to n pulses before the current time. In the present embodiment, the actual difference sum Pst is the sum of the actual difference value Ps corresponding to the current number of pulses and the actual difference values Ps1 to Ps3 corresponding to the number of pulses up to three pulses before the current, that is, The sum of the actual difference values Ps for four cycles is set. Then, when the process of step S9 ends, the operation control unit 12 proceeds to the process of step S10.

すなわち、作動制御部12は、現パルス数と対応する記録データがメモリ12aに既に存在する場合においては、実差分値Psの補正が必要であると判断してステップS6〜S8の処理を行うようになっている。一方、作動制御部12は、現パルス数と対応する記録データがメモリ12aに存在しない場合においては、実差分値Psの補正が不要であると判断してステップS9の処理を行うようになっている。   That is, when the recording data corresponding to the current number of pulses already exists in the memory 12a, the operation control unit 12 determines that the actual difference value Ps needs to be corrected and performs the processes of steps S6 to S8. It has become. On the other hand, when the recording data corresponding to the current number of pulses does not exist in the memory 12a, the operation control unit 12 determines that the correction of the actual difference value Ps is unnecessary and performs the process of step S9. Yes.

次に、ステップS10において作動制御部12は、図2に示した閾値PHのマップに基づき、平均パルス周期Paveに対応した閾値PHを算出する。
続くステップS11において作動制御部12は、ステップS8で算出した変動差分和Pstr、またはステップS9で算出した実差分和Pstが、閾値PH以上であるか否かを判断する。その結果、変動差分和Pstrまたは実差分和Pstが閾値PH以上であると判断した場合、作動制御部12は、ウインドウガラスに異物が挟み込まれていると判断してステップS12の処理へ移行する。そして、ステップS12において作動制御部12は、前記第1出力端子OUT1から出力していたHレベルの信号をLレベルに切り換えるとともに、前記第2出力端子OUT2からHレベルの信号を出力し、モータ14を反転駆動させる。このため、ウインドウガラスは閉動作から開動作に切り換わる。よって、異物を挟み込んだままウインドウガラスが閉動作を行ってしまうのを防止することができる。そして、このステップS12の処理が終了すると、作動制御部12はステップS13の処理へ移行する。
Next, in step S10, the operation control unit 12 calculates a threshold PH corresponding to the average pulse period Pave based on the threshold PH map shown in FIG.
In subsequent step S11, the operation control unit 12 determines whether or not the variation difference sum Pstr calculated in step S8 or the actual difference sum Pst calculated in step S9 is greater than or equal to the threshold PH. As a result, when it is determined that the variation difference sum Pstr or the actual difference sum Pst is greater than or equal to the threshold PH, the operation control unit 12 determines that a foreign object is caught in the window glass, and proceeds to the process of step S12. In step S12, the operation controller 12 switches the H level signal output from the first output terminal OUT1 to the L level and outputs the H level signal from the second output terminal OUT2. Is driven in reverse. For this reason, the window glass is switched from the closing operation to the opening operation. Therefore, it is possible to prevent the window glass from performing the closing operation while the foreign object is sandwiched. Then, when the process of step S12 ends, the operation control unit 12 proceeds to the process of step S13.

また、ステップS11において作動制御部12は、変動差分和Pstrまたは実差分和Pstが閾値PH以上ではないと判断した場合、ステップS11の処理を行わずにステップS13の処理へ移行する。つまりこの場合、作動制御部12は、ウインドウガラスに異物が挟み込まれていないと判断し、モータ14の反転駆動を行わない。   If the operation control unit 12 determines in step S11 that the variation difference sum Pstr or the actual difference sum Pst is not greater than or equal to the threshold PH, the process proceeds to step S13 without performing step S11. That is, in this case, the operation control unit 12 determines that no foreign matter is caught in the window glass, and does not perform the reverse drive of the motor 14.

ステップS13において作動制御部12は、加重平均化処理を行い、ここでの処理を一旦終了する。この加重平均化処理において作動制御部12は、まず今回算出した平均パルス周期Pave及び実差分値Psを記録データとして、パルス数(窓位置)に対応付けしてメモリ12aに記録する。次に、作動制御部12は、メモリ12aに既に記録されている複数回(本実施形態では3回)分の過去の記録データと、今回記録した記録データとの平均値を算出する。すなわち、作動制御部12は、現在と同じパルス数と対応する過去3回分の平均パルス周期Paveと今回の平均パルス周期Paveとの平均値を算出する。そして、作動制御部12は、その平均値を記憶パルス周期M−Paveとしてメモリ12aに記録する。このため、記憶パルス周期M−Paveは、現パルス数における標準的なパルス周期に相当する。また、作動制御部12は、現在と同じパルス数と対応する過去3回分の実差分値Psと今回の実差分値Psとの平均値を算出する。そして、作動制御部12は、その平均値を記憶パルス差分値M−Psとしてメモリ12aに記録する。このため、記憶パルス差分値M−Psは、現在のパルス数における標準的な差分値に相当する。つまり、このステップS13において作動制御部12は、ウインドウガラスと窓枠との摺動摩擦のバラツキや、ウインドウガラスに対する風の影響などに起因して一時的に平均パルス周期Pave及び実差分値Psが変動したとしても、その変動分を平滑した標準値を記憶パルス差分値M−Ps及び記憶パルス差分値M−Psとしてメモリ12aに記録する。つまり、該一時的な変動により算出された平均パルス周期Pave及び実差分値Psのみに基づいて標準値となる記憶パルス差分値M−Ps及び記憶パルス差分値M−Psが設定されてしまうことを防止している。そして、このステップS13の処理が終了すると、作動制御部12はここでの処理を一旦終了する。   In step S <b> 13, the operation control unit 12 performs a weighted averaging process, and once ends the process. In this weighted averaging process, the operation control unit 12 first records the average pulse period Pave and the actual difference value Ps calculated this time as recording data in association with the number of pulses (window position) in the memory 12a. Next, the operation control unit 12 calculates an average value of past recording data for a plurality of times (three times in the present embodiment) already recorded in the memory 12a and the recording data recorded this time. In other words, the operation control unit 12 calculates the average value of the average pulse cycle Pave for the past three times corresponding to the same number of pulses as the present and the current average pulse cycle Pave. Then, the operation control unit 12 records the average value in the memory 12a as the storage pulse period M-Pave. For this reason, the memory pulse period M-Pave corresponds to a standard pulse period in the current number of pulses. Further, the operation control unit 12 calculates an average value of the actual difference value Ps for the past three times corresponding to the same number of pulses as the present and the current actual difference value Ps. Then, the operation control unit 12 records the average value in the memory 12a as the storage pulse difference value M-Ps. Therefore, the stored pulse difference value M-Ps corresponds to a standard difference value in the current number of pulses. That is, in step S13, the operation control unit 12 temporarily changes the average pulse period Pave and the actual difference value Ps due to variations in sliding friction between the window glass and the window frame, the influence of wind on the window glass, and the like. Even if it does, the standard value which smoothed the fluctuation | variation part is recorded on the memory 12a as the memory | storage pulse difference value M-Ps and the memory | storage pulse difference value M-Ps. That is, the storage pulse difference value M-Ps and the storage pulse difference value M-Ps that are standard values based only on the average pulse period Pave and the actual difference value Ps calculated by the temporary fluctuation are set. It is preventing. And when the process of this step S13 is complete | finished, the action | operation control part 12 once complete | finishes the process here.

次に、このように構成されたウインドウ駆動制御装置11の初期設定手順を、図6に示す具体例を用いて説明する。なお、図6は初期設定時における処理結果を表形式で示す説明図である。   Next, an initial setting procedure of the window drive control device 11 configured as described above will be described using a specific example shown in FIG. FIG. 6 is an explanatory diagram showing the processing results at the time of initial setting in a table format.

初期設定時にあっては、設定作業者は、まずウインドウガラスに異物の挟み込みがない状態で、ウインドウガラスを全開位置から全閉位置にオート上昇させる。すると、同図に示すように、作動制御部12は、パルスセンサ18からのパルス信号に基づいてパルス数をカウントしてウインドウガラスの位置を認識するとともに、各パルス数における現パルス幅Pn、平均パルス周期Pave、現パルス周期Pp及び実差分値Psを算出する。但し、同図に示すように、パルス数が「1」〜「11」の間においては、算出に必要なデータがまだ存在しないことから、平均パルス周期Pave及び実差分値Psについては算出されない。   At the time of initial setting, the setting operator first automatically raises the window glass from the fully open position to the fully closed position with no foreign matter caught in the window glass. Then, as shown in the figure, the operation control unit 12 recognizes the position of the window glass by counting the number of pulses based on the pulse signal from the pulse sensor 18, and the current pulse width Pn and average for each number of pulses. The pulse period Pave, the current pulse period Pp, and the actual difference value Ps are calculated. However, as shown in the figure, when the number of pulses is between “1” and “11”, there is no data necessary for the calculation yet, so the average pulse period Pave and the actual difference value Ps are not calculated.

その後、ウインドウガラスの閉特性などに起因して、例えばパルス数が「47」となった時点で、安定状態にある現パルス幅Pn(ここでは「Pn=8.00」)が不安定状態となる現パルス幅Pn(ここでは「Pn=10.40」)に変化すると、実差分値Psが「0」ではなくなる(ここでは「Ps=2.40」)。このため、作動制御部12は、このパルス数「47」での平均パルス周期Paveを記憶パルス周期M−Paveとしてメモリ12aに記録するとともに、実差分値Psを記憶パルス差分値M−Psとしてメモリ12aに記録する。すなわち、作動制御部12は、前記フローチャートにおけるステップS13と実質的に同一の処理を行う。但し、ここでは初期状態であるため、平均パルス周期Paveの値及び実差分値Psの値がそのまま記憶パルス周期M−Pave及び記憶パルス差分値M−Psとして記録される。そして、こうした記憶パルス周期M−Pave及び記憶パルス差分値M−Psの記録は、実差分値Psが「0」となる直前のパルス数(ここではパルス数=「62」)まで行われる。前述したように、ここで記録された記憶パルス周期M−Pave及び記憶パルス差分値M−Psは、次回以降の通常動作時において補正差分値Psbaseを算出するための補正パラメータとなる。   Thereafter, due to the closing characteristics of the window glass, for example, when the number of pulses becomes “47”, the current pulse width Pn in a stable state (here, “Pn = 8.00”) is in an unstable state. When the current pulse width Pn is changed to “Pn = 10.40”, the actual difference value Ps is not “0” (here “Ps = 2.40”). Therefore, the operation control unit 12 records the average pulse period Pave with the number of pulses “47” in the memory 12a as the storage pulse period M-Pave, and stores the actual difference value Ps as the storage pulse difference value M-Ps. Record in 12a. That is, the operation control unit 12 performs substantially the same process as step S13 in the flowchart. However, since it is an initial state here, the value of the average pulse period Pave and the value of the actual difference value Ps are recorded as they are as the storage pulse period M-Pave and the storage pulse difference value M-Ps. The storage pulse period M-Pave and the storage pulse difference value M-Ps are recorded until the number of pulses immediately before the actual difference value Ps becomes “0” (here, the number of pulses = “62”). As described above, the storage pulse period M-Pave and the storage pulse difference value M-Ps recorded here are correction parameters for calculating the correction difference value Psbase in the normal operation after the next time.

よって、こうした初期設定動作により、作動制御部12は、異物の挟み込みをしていないにも拘わらず実差分値Psが「0」ではなくなるパルス数(窓位置)を認識するとともに、こうした実差分値Psを、ウインドウガラスの閉特性に起因して生じた差分値として認識する。   Therefore, by such an initial setting operation, the operation control unit 12 recognizes the number of pulses (window position) at which the actual difference value Ps is not “0” even though no foreign object is caught, and such an actual difference value. Ps is recognized as a difference value generated due to the closing characteristics of the window glass.

このように初期設定された後、通常動作によりウインドウガラスを全開状態から全閉状態にオート上昇させると、異物が挟み込まれていない限り、初期設定時と同じパルス数で実差分値Psが「0」ではなくなる。そして、各パルス数での平均パルス周期Pave及び実差分値Psも初期設定時と同じ値となる。すなわち、今回算出された平均パルス周期Pave及び実差分値Psと、メモリ12aに記録されている記憶パルス周期M−Pave及び記憶パルス差分値M−Psとが一致する。よって、補正差分値Psbaseと実差分値Psとが等しくなり、変動差分値Psrが「0」となる。よって、ウインドウガラスの閉特性に起因して実差分値Psの値に変動が生じても、作動制御部12は、ウインドウガラスが異物を挟み込んでいる状態であるとは判断しない。すなわち、作動制御部12は、ウインドウガラスの閉特性に起因してウインドウガラスが異物を挟み込んでいると誤判定してしまうことはない。   When the window glass is automatically raised from the fully open state to the fully closed state by the normal operation after the initial setting as described above, the actual difference value Ps is “0” with the same number of pulses as in the initial setting unless a foreign object is caught. Is no longer. The average pulse period Pave and the actual difference value Ps at each number of pulses are the same values as at the time of initial setting. That is, the average pulse period Pave and actual difference value Ps calculated this time coincide with the storage pulse period M-Pave and storage pulse difference value M-Ps recorded in the memory 12a. Therefore, the correction difference value Psbase and the actual difference value Ps become equal, and the fluctuation difference value Psr becomes “0”. Therefore, even if the actual difference value Ps varies due to the closing characteristics of the window glass, the operation control unit 12 does not determine that the window glass is in a state in which a foreign object is sandwiched. That is, the operation control unit 12 does not erroneously determine that the window glass has a foreign object sandwiched due to the closing characteristics of the window glass.

ところで、電源電圧の変化、温度の変化、経年変化によるモータ14のトルク低下等の許容変動要因に起因して、安定状態での現パルス幅Pnが変移してしまうことが考えられる。そこで、こうした許容変動要因に起因した現パルス幅Pnの変移時における作動制御部12の処理手順を、図7に示す具体例及び図8に示す模式図を用いて説明する。   By the way, it is conceivable that the current pulse width Pn in the stable state changes due to allowable fluctuation factors such as a change in power supply voltage, a change in temperature, and a decrease in torque of the motor 14 due to aging. Therefore, the processing procedure of the operation control unit 12 at the time of transition of the current pulse width Pn caused by such an allowable variation factor will be described using a specific example shown in FIG. 7 and a schematic diagram shown in FIG.

同図に示すように、例えば許容変動要因に起因して安定状態での現パルス幅Pnが「8.00」から「9.60」に変移した場合、何ら挟み込みをしていない状態にあっては、実差分値Psが「0」ではなくなるパルス数は、前記初期設定状態と同様に「47」〜「62」までの間となる。そして、これらパルス数「47」〜「62」までの間でウインドウガラスの閉特性に起因した変動により実差分値Psが算出される。ここで、例えば図8に模式的に示すように、変移状態における実差分値Psは、前記通常状態における実差分値Psよりも大きな値となる。しかし、前記補正差分値Psbaseは変移状態における実差分値Psと同等となる。このため、最終的に閾値PHとの比較に用いられる変動差分値Psrの値は「0」となる。よって、許容変動要因に起因して実差分値Psの値に変動が生じても、作動制御部12は、ウインドウガラスが異物を挟み込んでいる状態であるとは判断しない。すなわち、作動制御部12は、許容変動要因に起因してウインドウガラスが異物を挟み込んでいると誤判定してしまうことはない。   As shown in the figure, for example, when the current pulse width Pn in the stable state is changed from “8.00” to “9.60” due to an allowable fluctuation factor, there is no pinching. The number of pulses at which the actual difference value Ps is not “0” is between “47” and “62” as in the initial setting state. Then, the actual difference value Ps is calculated from the number of pulses “47” to “62” due to the variation caused by the closing characteristics of the window glass. Here, for example, as schematically shown in FIG. 8, the actual difference value Ps in the transition state is larger than the actual difference value Ps in the normal state. However, the correction difference value Psbase is equivalent to the actual difference value Ps in the transition state. For this reason, the value of the fluctuation difference value Psr that is finally used for comparison with the threshold PH is “0”. Therefore, even if the actual difference value Ps varies due to an allowable variation factor, the operation control unit 12 does not determine that the window glass is in a state in which a foreign object is sandwiched. That is, the operation control unit 12 does not erroneously determine that the window glass has a foreign object sandwiched due to an allowable variation factor.

したがって、設定作業者は、理想的な平均パルス周期Paveに基づいて閾値PHのマップを設定すればよい。なお、「理想的な平均パルス周期Pave」とは、ウインドウガラスの閉特性を要因とするパルス変動や、前記許容変動要因によるパルス変動等を全く加味しない状態での平均パルス周期(前記初期設定状態におけるPave=「8.00」、前記変移状態におけるPave=「9.60」)を示す。よって、設定作業者は、ウインドウガラスの閉特性及び許容変動要因を何ら鑑みることなく最適な閾値PHのマップを設定することができるため、従来のようにウインドウガラスの閉特性に起因するパルス変動と、許容変動要因に起因するパルス変動とを認識するための実験等を繰り返し行う必要がなくなる。それゆえ、こうしたウインドウ駆動制御装置11によれば、ウインドウガラスを反転駆動するか否かの閾値PHの設定を容易に行うことができるとともに、挟み込みの誤判定を生じることなく該挟み込みの検出荷重を小さくすることができるようになる。   Therefore, the setting operator may set the threshold PH map based on the ideal average pulse period Pave. The “ideal average pulse period Pave” means an average pulse period in the state in which the pulse fluctuation caused by the closing characteristic of the window glass or the pulse fluctuation caused by the allowable fluctuation factor is not taken into account (the initial setting state). Pave = “8.00” and Pave = “9.60” in the transition state). Therefore, since the setting operator can set a map of the optimum threshold value PH without considering the closing characteristics of the window glass and the allowable fluctuation factors, the pulse fluctuation caused by the closing characteristics of the window glass as in the past Therefore, it is not necessary to repeatedly perform an experiment or the like for recognizing the pulse fluctuation caused by the allowable fluctuation factor. Therefore, according to such a window drive control device 11, it is possible to easily set the threshold PH as to whether or not to reversely drive the window glass, and to detect the pinching detection load without causing erroneous pinching determination. You can make it smaller.

したがって、本実施形態によれば以下のような効果を得ることができる。
(1)作動制御部12は、ウインドウガラスの所定の位置(パルス数)で現パルス周期Ppと平均パルス周期Paveとが等しくない場合、すなわちモータ14の回転速度に変動があった場合には、今回算出した平均パルス周期Paveとメモリ12aに記録されている過去の記録データとに基づいて補正差分値Psbaseを算出する。そして、その補正差分値Psbaseを実差分値Psから減算して算出した変動差分値Psrの変動差分和Psrtと閾値PHとの比較結果に基づいて挟持有無検出が行われる。つまり、当該パルス数で過去においてもモータ14の回転速度に変動がある場合、作動制御部12は、そのパルス数にあっては慢性的な変動を生じるものと判断し、その慢性的な変動要因を除いた状態で挟持有無検出を行う。このため、例えばウインドウガラスと窓枠との間の摺動抵抗の変動等を要因としてウインドウガラスの所定位置で現パルス周期Ppと平均パルス周期Paveとが常に等しくならない箇所があったとしても、その慢性的な変動要因によって生じた補正差分値Psbaseは、実差分値Psから自動的に排除される。このため、純粋な外乱要因による変動差分値Psrのみに基づいたウインドウガラスの挟持有無検出が可能となる。よって、挟み込みの検出荷重を小さくするべく閾値PHを低く設定したとしても、慢性的な変動要因によってウインドウガラスが異物を挟み込んでいると誤判定するおそれがなくなる。しかも、慢性的な変動要因は自動的に排除されるため、車両や車種毎に実験等を行って該変動要因を鑑みた閾値PHを設定する必要もない。したがって、こうした作動制御部12を有するウインドウ駆動制御装置11によれば、ウインドウガラスによる挟み込みを判定するための閾値PHの設定を容易に行うことができるとともに、挟み込みの誤判定を生じることなく該挟み込みの検出荷重を小さくすることができる。
Therefore, according to the present embodiment, the following effects can be obtained.
(1) The operation control unit 12 determines that the current pulse period Pp is not equal to the average pulse period Pave at a predetermined position (number of pulses) of the window glass, that is, if the rotational speed of the motor 14 varies. A correction difference value Psbase is calculated based on the average pulse period Pave calculated this time and past recording data recorded in the memory 12a. Then, pinching presence / absence detection is performed based on a comparison result between the fluctuation difference sum Psrt of the fluctuation difference value Psr calculated by subtracting the correction difference value Psbase from the actual difference value Ps and the threshold PH. That is, when the rotational speed of the motor 14 has fluctuated in the past with the number of pulses, the operation control unit 12 determines that a chronic fluctuation occurs in the number of pulses, and the chronic fluctuation factor The presence / absence of pinching is detected in a state excluding. For this reason, even if there is a place where the current pulse period Pp and the average pulse period Pave are not always equal at a predetermined position of the window glass due to, for example, fluctuation of sliding resistance between the window glass and the window frame, The correction difference value Psbase caused by the chronic fluctuation factor is automatically excluded from the actual difference value Ps. Therefore, it is possible to detect whether the window glass is sandwiched based on only the fluctuation difference value Psr due to a pure disturbance factor. Therefore, even if the threshold value PH is set to be low so as to reduce the detection load for pinching, there is no possibility of erroneous determination that the window glass has pinched foreign matter due to chronic fluctuation factors. In addition, since the chronic fluctuation factor is automatically excluded, it is not necessary to set the threshold value PH in consideration of the fluctuation factor by performing experiments or the like for each vehicle or vehicle type. Therefore, according to the window drive control device 11 having such an operation control unit 12, it is possible to easily set the threshold value PH for determining the pinching by the window glass, and the pinching without causing erroneous pinching determination. The detection load can be reduced.

また、補正差分値Psbaseは、記憶パルス周期M−Paveと今回算出した平均パルス周期Paveとの比率を記憶パルス差分値M−Psに乗算することによって求められる。このため、電源電圧の変化、温度の変化、経年変化によるモータ14のトルク低下等の許容変動要因に起因して、安定状態での現パルス幅Pn自体が変移してしまった場合でも、その変移分を加味して補正差分値Psbaseが算出される。よって、該許容変動要因などの恒常的な変動要因を含んで実差分値Psが「0」ではなくなった場合であっても、こうした変動要因を含んで生じた差分値が実差分値Psから排除される。したがって、該恒常的な変動要因を鑑みた閾値PHを設定する必要がなくなり、ウインドウガラスによる挟み込みを判定するための閾値PHの設定を容易に行うことができる。   The correction difference value Psbase is obtained by multiplying the storage pulse difference value M-Ps by the ratio between the storage pulse period M-Pave and the average pulse period Pave calculated this time. For this reason, even if the current pulse width Pn itself in the stable state has changed due to an allowable fluctuation factor such as a change in power supply voltage, a change in temperature, a decrease in torque of the motor 14 due to a secular change, etc. The correction difference value Psbase is calculated taking the minutes into account. Therefore, even when the actual difference value Ps is not “0” including the constant fluctuation factors such as the allowable fluctuation factors, the difference values generated including these fluctuation factors are excluded from the actual difference values Ps. Is done. Therefore, it is not necessary to set the threshold value PH in consideration of the constant fluctuation factor, and the threshold value PH for determining the pinching by the window glass can be easily set.

(2)現パルス周期Ppと平均パルス周期Paveとが等しくない場合にのみ、メモリ12aに記録データが記録される。すなわち、現パルス周期Ppと平均パルス周期Paveとが等しい場合にはメモリ12aに記録データが記録されない。このため、現パルス周期Ppと平均パルス周期Paveとが等しい場合にも記録データを記録するようにした場合に比べて、メモリ12aの記録容量を少なくすることができる。また、現パルス周期Ppと平均パルス周期Paveとが等しくない場合、過去の記録データが記録されている位置でのみ、補正値算出処理(図3に示したフローチャートにおけるステップS6の処理)が行われる。すなわち、過去の記録データが記録されていない位置にあっては、補正値算出処理が行われない。このため、作動制御部12の処理負担を軽減することができる。   (2) Recording data is recorded in the memory 12a only when the current pulse period Pp and the average pulse period Pave are not equal. That is, when the current pulse period Pp and the average pulse period Pave are equal, no record data is recorded in the memory 12a. For this reason, the recording capacity of the memory 12a can be reduced as compared with the case where the recording data is recorded even when the current pulse period Pp is equal to the average pulse period Pave. If the current pulse period Pp and the average pulse period Pave are not equal, the correction value calculation process (the process of step S6 in the flowchart shown in FIG. 3) is performed only at the position where the past record data is recorded. . That is, the correction value calculation process is not performed at a position where past recording data is not recorded. For this reason, the processing burden of the operation control unit 12 can be reduced.

(3)図3に示したフローチャートにおけるステップS13の加重平均化処理が行われることにより、ウインドウガラスの位置(窓位置)と対応する過去の複数回分の実差分値Psの平均値及び平均パルス周期Paveの平均値に基づいて前記補正値算出処理が行われる。すなわち、補正値算出処理は、一時的・突発的な変動によって生じた実差分値Ps及び平均パルス周期Paveのみに基づいて行われない。このため、恒常的な変動要因による差分値(補正差分値Psbase)をより高い精度で算出することができる。   (3) By performing the weighted averaging process of step S13 in the flowchart shown in FIG. 3, the average value and the average pulse period of the past actual difference values Ps corresponding to the position (window position) of the window glass. The correction value calculation process is performed based on the average value of Pave. That is, the correction value calculation process is not performed based only on the actual difference value Ps and the average pulse period Pave that are caused by temporary and sudden fluctuations. For this reason, the difference value (correction difference value Psbase) due to the constant fluctuation factor can be calculated with higher accuracy.

(4)作動制御部12は、実差分値Psの4周期分の実差分和Pstまたは変動差分値Psrの4周期分の変動差分和Psrtと、閾値PHとの比較結果に基づいて、ウインドウガラスの挟持有無を検出するようになっている。すなわち、作動制御部12は、検出対象となる窓位置(パルス数)での実差分値Psまたは変動差分値Psrのみに基づいてウインドウガラスの挟持有無を検出しないようになっている。このため、あるパルス数での実差分値Psのみがパルス信号の突発的な変動によって大幅に増加した場合であっても、実差分和Pstまたは変動差分和Psrtの増加量は、該実差分和Pstまたは変動差分値Psrの増加量に比べて小さくなる。よって、こうした突発的な変動をウインドウガラスの挟持状態として判定してしまうのを防止することができ、挟み込みの誤判定をより確実に抑止することができる。   (4) Based on the comparison result between the actual difference value Ps for the four periods of the actual difference value Ps or the variation difference sum Psrt for the four periods of the variation difference value Psr and the threshold value PH, the operation control unit 12 The presence or absence of pinching is detected. That is, the operation control unit 12 does not detect whether the window glass is sandwiched based on only the actual difference value Ps or the fluctuation difference value Psr at the window position (number of pulses) to be detected. For this reason, even if only the actual difference value Ps at a certain number of pulses increases significantly due to sudden fluctuations in the pulse signal, the amount of increase in the actual difference sum Pst or the fluctuation difference sum Psrt is the same as the actual difference sum. It becomes smaller than the increase amount of Pst or fluctuation difference value Psr. Therefore, it is possible to prevent such sudden fluctuations from being determined as the sandwiched state of the window glass, and it is possible to more reliably suppress erroneous determination of sandwiching.

なお、本発明の実施形態は以下のように変更してもよい。
・ 前記実施形態において作動制御部12は、加重平均化処理(図3に示したステップS13の処理)を行うことにより、メモリ12aに既に記録されている複数回(本実施形態では3回)分の過去の記録データと、今回記録した記録データとの平均値を算出している。そして、作動制御部12は、その平均値を記憶パルス周期M−Pave及び記憶パルス差分値M−Psとしてメモリ12aに記録している。しかし、作動制御部12は、こうした平均値ではなく、過去の最新の記録データ、すなわち前回算出した平均パルス周期Pave及び実差分値Psを記憶パルス周期M−Pave及び記憶パルス差分値M−Psとしてメモリ12aに記録してもよい。そして、作動制御部12は、該記憶パルス周期M−Pave及び記憶パルス差分値M−Psに基づいて補正差分値Psbaseを算出するようになっていてもよい。このようにすれば、メモリ12aは、過去の複数回分の記録データを記録する必要がなく、過去の最新の記録データのみを記録すればよくなる、このため、メモリ12aの記録容量を小さくすることができる。また、作動制御部12の処理負担も軽減することができる。
In addition, you may change embodiment of this invention as follows.
In the above-described embodiment, the operation control unit 12 performs a weighted averaging process (the process of step S13 illustrated in FIG. 3), thereby performing multiple times (in this embodiment, three times) already recorded in the memory 12a. The average value of the past recorded data and the recorded data recorded this time is calculated. Then, the operation control unit 12 records the average value in the memory 12a as the storage pulse period M-Pave and the storage pulse difference value M-Ps. However, the operation control unit 12 does not use such an average value but the latest past recording data, that is, the previously calculated average pulse cycle Pave and actual difference value Ps as the storage pulse cycle M-Pave and the storage pulse difference value M-Ps. It may be recorded in the memory 12a. Then, the operation control unit 12 may calculate the correction difference value Psbase based on the storage pulse period M-Pave and the storage pulse difference value M-Ps. In this way, the memory 12a does not need to record past recording data for a plurality of times, and only needs to record the latest past recording data. For this reason, the recording capacity of the memory 12a can be reduced. it can. Moreover, the processing load of the operation control unit 12 can be reduced.

・ 前記実施形態において、作動制御部12は、補正差分値Psbaseの算出を行わず、実差分値Psから記憶パルス差分値M−Psを減算した値を変動差分値Psrとして設定するようになっていてもよい。このようにすれば、作動制御部12の処理負担を軽減することができる。但しこのように変更した場合、平均パルス周期Paveと記憶パルス周期M−Paveとが等しい場合には何ら問題が生じないものの、該周期Pave,M−Paveが等しくない場合には、ウインドウガラスが異物を挟んでいないにも拘わらず「0」にならない変動差分値Psrが算出されてしまう。このため、前記実施形態ほどではないものの、挟み込みの誤判定を生じることなく該挟み込みの検出荷重を小さくするという効果を、従来よりも充分に得ることができる。また、このようにした場合であっても、前記実施形態と同様に、閾値PHの設定を容易に行うことができる。   In the embodiment, the operation control unit 12 does not calculate the correction difference value Psbase, but sets the value obtained by subtracting the storage pulse difference value M-Ps from the actual difference value Ps as the fluctuation difference value Psr. May be. In this way, the processing load on the operation control unit 12 can be reduced. However, if the average pulse period Pave and the storage pulse period M-Pave are equal, no problem occurs when the average pulse period Pave and the storage pulse period M-Pave are equal, but if the periods Pave and M-Pave are not equal, The fluctuation difference value Psr that does not become “0” despite the fact that no. For this reason, although not as much as in the above-described embodiment, the effect of reducing the detection load of the pinching without causing an erroneous determination of pinching can be obtained more sufficiently than before. Even in this case, the threshold PH can be easily set as in the above embodiment.

・ 前記実施形態において作動制御部12は、実差分値Psの4周期分の実差分和Pstまたは変動差分値Psrの4周期分の変動差分和Psrtと、閾値PHとの比較結果に基づいて、挟持有無検出を行うようになっている。しかし、作動制御部12は、実差分値Psまたは変動差分値Psrと閾値PHとを直接比較し、その比較結果に基づいて興じ有無検出を行うようになっていてもよい。   In the embodiment, the operation control unit 12 is based on the comparison result between the threshold PH and the actual difference sum Pst for the four periods of the actual difference value Ps or the fluctuation difference sum Psrt for the four periods of the fluctuation difference value Psr. The presence or absence of pinching is detected. However, the operation control unit 12 may directly compare the actual difference value Ps or the fluctuation difference value Psr with the threshold value PH, and detect the presence / absence based on the comparison result.

・ 前記実施形態において作動制御部12は、実差分値Psが「0」とならない位置でのみ、記録データ(記憶パルス周期M−Pave及び記憶パルス差分値M−Ps)をメモリ12aに記録するようになっている。しかし、作動制御部12は、実差分値Psが「0」となる位置であっても、該記録データをメモリ12aに記録するようになっていてもよい。   In the embodiment, the operation control unit 12 records the recording data (the storage pulse period M-Pave and the storage pulse difference value M-Ps) in the memory 12a only at a position where the actual difference value Ps does not become “0”. It has become. However, the operation control unit 12 may record the recording data in the memory 12a even at a position where the actual difference value Ps is “0”.

・ 前記実施形態において、作動制御部12は、平均パルス周期Paveを算出するとともに、現パルス周期Ppと該平均パルス周期Paveとの差分値(実差分値Ps)を算出し、それら平均パルス周期Pave及び実差分値Psに基づいて挟持有無検出を行うようになっている。しかし、作動制御部12は、平均パルス幅と、その平均パルス幅と現パルス幅Pnとの差分値とに基づいて挟持有無検出を行うようになっていてもよい。すなわち、「特許請求の範囲」に記載の「パルス長」とは、「パルス周期」に限らず「パルス幅」をも含むものとする。   In the embodiment, the operation control unit 12 calculates the average pulse period Pave, calculates a difference value (actual difference value Ps) between the current pulse period Pp and the average pulse period Pave, and calculates the average pulse period Pave. And the presence or absence of pinching is detected based on the actual difference value Ps. However, the operation control unit 12 may perform pinching detection based on the average pulse width and the difference value between the average pulse width and the current pulse width Pn. That is, the “pulse length” described in “Claims” is not limited to “pulse period” but also includes “pulse width”.

次に、特許請求の範囲に記載された技術的思想のほかに、前述した実施形態によって把握される技術的思想を以下に列挙する。
(1) 請求項1〜3のいずれか1項に記載のウインドウガラスの挟持有無検出装置において、前記作動制御部は、今回算出された平均パルス長に対する比率が、前記記録手段に記録されている過去の前記平均パルス長と過去の前記差分値との比率と等しくなる値を前記補正差分値として設定すること。この技術的思想(1)に記載の発明によれば、電源電圧の変化、温度の変化、経年変化によるモータのトルク低下等の許容変動要因に起因して、現在の平均パルス長が過去の平均パルス長と恒常的に異なってしまった場合であっても、現在の平均パルス長と対応する標準的な補正差分値を算出することができる。よって、こうした許容変動要因を鑑みることなく閾値を設定することができる。
Next, in addition to the technical ideas described in the claims, the technical ideas grasped by the embodiment described above are listed below.
(1) In the window glass pinching presence / absence detection device according to any one of claims 1 to 3, the operation control unit records a ratio to the average pulse length calculated this time in the recording unit. A value that is equal to the ratio between the past average pulse length and the past difference value is set as the correction difference value. According to the invention described in this technical idea (1), the current average pulse length is determined based on past averages due to allowable fluctuation factors such as a change in power supply voltage, a change in temperature, and a decrease in motor torque due to aging. Even if the pulse length is constantly different from the pulse length, a standard correction difference value corresponding to the current average pulse length can be calculated. Therefore, the threshold value can be set without considering such allowable variation factors.

(2) 正逆回転することによりウインドウガラスの開閉動作を行うモータの回転速度に応じて出力されるパルス信号に基づいて、ウインドウガラスと窓枠との間に異物が挟まれたか否かを検出するウインドウガラスの挟持有無検出装置であって、前記パルス信号に基づき、前記パルス信号の平均パルス長を算出するとともに、前記ウインドウガラスのその時々の位置における現在のパルス長と前記平均パルス長との差分値を算出する算出手段と、少なくとも前記差分値を記録データとして、前記ウインドウガラスの位置と対応付けして記録する記録手段と、対応するウインドウガラスの位置において、前記現在のパルス長と前記平均パルス長との差分値から前記記録手段に記録されている過去の差分値を減算して得られた変動差分値と、予め設定された閾値との比較結果に基づいてウインドウガラスの挟持有無検出を行う挟持有無検出手段とを備えること。   (2) Based on the pulse signal output according to the rotation speed of the motor that opens and closes the window glass by rotating forward and backward, it is detected whether or not a foreign object is sandwiched between the window glass and the window frame. A window glass pinching presence / absence detecting device that calculates an average pulse length of the pulse signal based on the pulse signal, and calculates the current pulse length at the current position of the window glass and the average pulse length. A calculating means for calculating a difference value, a recording means for recording at least the difference value as recording data in association with the position of the window glass, and the current pulse length and the average at the position of the corresponding window glass A fluctuation difference value obtained by subtracting a past difference value recorded in the recording means from a difference value from a pulse length, and a prediction value Further comprising a clamping detecting means for performing clamping presence detection of the window glass based on a comparison result between a threshold value set.

(3) 正逆回転することによりウインドウガラスの開閉動作を行うモータと、該モータの回転速度に応じてパルス信号を出力するパルス信号出力手段と、前記パルス信号に基づいて、ウインドウガラスと窓枠との間に異物が挟まれたか否かを検出する挟持有無検出手段とを備えたウインドウ駆動制御装置におけるウインドウガラスの挟み込み検出方法であって、前記挟持有無検出手段は、前記パルス信号に基づき、前記パルス信号の平均パルス長を算出するとともに、前記ウインドウガラスのその時々の位置における現在のパルス長と前記平均パルス長との差分値を算出し、前記現在のパルス長と前記平均パルス長とが等しくない場合に、少なくとも前記差分値を記録データとして、前記ウインドウガラスの位置と対応付けして記録し、対応するウインドウガラスの位置において、前記現在のパルス長と前記平均パルス長との差分値から前記記録した過去の差分値を減算して得られた変動差分値と、予め設定された閾値との比較結果に基づいてウインドウガラスの挟持有無検出を行うこと。   (3) A motor that opens and closes the window glass by forward and reverse rotation, pulse signal output means that outputs a pulse signal according to the rotation speed of the motor, and a window glass and a window frame based on the pulse signal A window glass sandwiching detection method in a window drive control device comprising a sandwiching presence / absence detection means for detecting whether or not a foreign object is sandwiched between the sandwiching presence / absence detection means based on the pulse signal, The average pulse length of the pulse signal is calculated, and the difference value between the current pulse length and the average pulse length at the current position of the window glass is calculated, and the current pulse length and the average pulse length are If they are not equal, at least the difference value is recorded as recording data in association with the position of the window glass, The result of comparison between the fluctuation difference value obtained by subtracting the recorded past difference value from the difference value between the current pulse length and the average pulse length, and a preset threshold value To detect the presence or absence of the window glass.

これら技術的思想(2),(3)に記載の発明によれば、閾値と比較される変動差分値は、ウインドウガラスと窓枠との摺動抵抗などを要因とする特性のバラツキにより生じる差分値が除かれた値となるため、該特性のバラツキにより生じる差分値を鑑みることなく閾値を設定することができる。   According to the inventions described in these technical ideas (2) and (3), the variation difference value compared with the threshold value is a difference caused by variation in characteristics caused by sliding resistance between the window glass and the window frame. Since the value is a value obtained by removing the value, the threshold value can be set without considering the difference value caused by the variation in the characteristic.

本発明をウインドウ駆動制御装置として具体化した一実施形態の回路図。The circuit diagram of one embodiment which materialized the present invention as a window drive control device. 同実施形態に用いられる閾値のマップを示すグラフ。The graph which shows the map of the threshold value used for the embodiment. 同実施形態の挟持有無検出処理を示すフローチャート。The flowchart which shows the clamping presence / absence detection process of the embodiment. 同実施形態のパルス信号を概略的に示す説明図。Explanatory drawing which shows schematically the pulse signal of the embodiment. 同実施形態のパルス数とパルス周期との関係を示すグラフ。The graph which shows the relationship between the pulse number and pulse period of the embodiment. 同実施形態の挟持有無検出処理による算出結果の具体例を表形式で示す説明図。Explanatory drawing which shows the specific example of the calculation result by the clamping presence / absence detection process of the embodiment in a table format. 同実施形態の挟持有無検出処理による算出結果の具体例を表形式で示す説明図。Explanatory drawing which shows the specific example of the calculation result by the clamping presence / absence detection process of the embodiment in a table format. 同実施形態の通常状態と変移状態とのパルス周期の相違を示すグラフ。The graph which shows the difference in the pulse period of the normal state and transition state of the embodiment. 従来のウインドウ駆動制御装置のパルス信号を概略的に示す説明図。Explanatory drawing which shows schematically the pulse signal of the conventional window drive control apparatus. 従来のウインドウ駆動制御装置のパルス数とパルス周期との関係を示すグラフ。The graph which shows the relationship between the pulse number of a conventional window drive control apparatus, and a pulse period. 従来のウインドウ駆動制御装置に用いられる閾値のマップを示すグラフ。The graph which shows the map of the threshold value used for the conventional window drive control apparatus.

符号の説明Explanation of symbols

11…挟持有無検出装置としてのウインドウ駆動制御装置、12…算出手段及び挟持有無検出手段としての作動制御部、12a…記録手段としてのメモリ、14…モータ、Pn…現パルス幅、Pave…平均パルス周期、Pp…現パルス周期、Ps…実差分値、M−Pave…記憶パルス周期、M−Ps…記憶パルス差分値、Psbase…補正差分値、Psr…変動差分値。   DESCRIPTION OF SYMBOLS 11 ... Window drive control apparatus as clamping presence / absence detection device, 12 ... Operation control part as calculation means and clamping presence / absence detection means, 12a ... Memory as recording means, 14 ... Motor, Pn ... Current pulse width, Pave ... Average pulse Period, Pp: Current pulse period, Ps: Actual difference value, M-Pave: Memory pulse period, M-Ps: Memory pulse difference value, Psbase: Correction difference value, Psr: Fluctuation difference value.

Claims (3)

正逆回転することによりウインドウガラスの開閉動作を行うモータの回転速度に応じて出力されるパルス信号に基づいて、ウインドウガラスと窓枠との間に異物が挟まれたか否かを検出するウインドウガラスの挟持有無検出装置であって、
前記パルス信号に基づき、所定の動作範囲におけるパルス信号の平均値を指すものであって、過去のパルス長のみから算出されるものである、前記パルス信号の平均パルス長を算出するとともに、前記ウインドウガラスのその時々の位置における現在のパルス長と前記平均パルス長との差分値を算出する算出手段と、
前記差分値及び前記平均パルス長を記録データとして、前記ウインドウガラスの位置と対応付けして記録する記録手段と、
前記現在のパルス長と前記平均パルス長とが等しくない場合、すなわち前記現在のパルス長と前記平均パルス長との差分値が0でない場合に、今回算出した平均パルス長と前記記録手段に記録されている過去の記録データである、現時点におけるウインドウガラスの位置に対応付けして記録されている記録データとに基づいて補正差分値を算出する補正値算出処理を行うとともに、現在の差分値から前記補正差分値を減算して算出した変動差分値と予め設定された閾値との比較結果に基づいてウインドウガラスの挟持有無検出を行う挟持有無検出手段とを備えることを特徴とするウインドウガラスの挟持有無検出装置。
A window glass that detects whether or not a foreign object is sandwiched between the window glass and the window frame based on a pulse signal that is output according to the rotation speed of a motor that opens and closes the window glass by rotating forward and backward. A pinching presence / absence detection device,
Based on the pulse signal, the average value of the pulse signal in a predetermined operating range, which is calculated only from the past pulse length, calculates the average pulse length of the pulse signal, and the window A calculating means for calculating a difference value between the current pulse length at the current position of the glass and the average pulse length;
Recording means for recording the difference value and the average pulse length as recording data in association with the position of the window glass;
When the current pulse length and the average pulse length are not equal , that is, when the difference value between the current pulse length and the average pulse length is not 0 , the current calculated average pulse length and the current pulse length are recorded in the recording means. Correction value calculation processing for calculating a correction difference value based on the past recorded data and recorded data recorded in association with the position of the window glass at the present time , and from the current difference value The presence / absence of sandwiching of the window glass, comprising: a sandwiching presence / absence detecting means for detecting whether or not the window glass is sandwiched based on a comparison result between a variation difference value calculated by subtracting the correction difference value and a preset threshold value Detection device.
前記記録手段は、現在のパルス長と前記平均パルス長とが等しくない場合、すなわち現在のパルス長と前記平均パルス長との差分値が0でない場合にのみ前記記録データを記録し、
前記挟持有無検出手段は、前記現在のパルス長と前記平均パルス長とが等しくない場合、すなわち前記現在のパルス長と前記平均パルス長との差分値が0でない場合、前記過去の記録データが記録されている位置でのみ前記補正値算出処理に基づく挟持有無検出を行い、前記記録データが記録されていない位置にあっては、現在のパルス長と今回算出した平均パルス長との差分値と、前記閾値との比較結果に基づいて、ウインドウガラスの挟持有無検出を行うことを特徴とする請求項1に記載のウインドウガラスの挟持有無検出装置。
The recording means records the recording data only when the current pulse length and the average pulse length are not equal , that is, when the difference value between the current pulse length and the average pulse length is not 0 ,
When the current pulse length and the average pulse length are not equal , that is, when the difference value between the current pulse length and the average pulse length is not 0, the sandwiching presence / absence detecting unit records the past recording data In the position where the recording data is not recorded, the difference value between the current pulse length and the average pulse length calculated this time is detected. The window glass pinching presence / absence detection device according to claim 1, wherein the window glass pinching presence / absence detection is performed based on a comparison result with the threshold value.
前記記録手段は、前記ウインドウガラスの位置と対応する過去の複数回分の前記差分値及び前記平均パルス長を前記記録データとして記録し、
前記挟持有無検出手段は、前記記録手段に記録された複数回分の差分値の平均値及び複数回分の平均パルス長の平均値とに基づいて前記補正値算出処理を行うことを特徴とする請求項1または請求項2に記載のウインドウガラスの挟持有無検出装置。
The recording means records the difference value and the average pulse length for a plurality of past times corresponding to the position of the window glass as the recording data,
The nipping presence / absence detecting unit performs the correction value calculation process based on an average value of a plurality of difference values recorded on the recording unit and an average value of an average pulse length for a plurality of times. A sandwiching presence / absence detecting device for a window glass according to claim 1 or 2.
JP2003285042A 2003-08-01 2003-08-01 Window glass clamping presence / absence detection device Expired - Fee Related JP4510409B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003285042A JP4510409B2 (en) 2003-08-01 2003-08-01 Window glass clamping presence / absence detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003285042A JP4510409B2 (en) 2003-08-01 2003-08-01 Window glass clamping presence / absence detection device

Publications (2)

Publication Number Publication Date
JP2005054408A JP2005054408A (en) 2005-03-03
JP4510409B2 true JP4510409B2 (en) 2010-07-21

Family

ID=34364798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003285042A Expired - Fee Related JP4510409B2 (en) 2003-08-01 2003-08-01 Window glass clamping presence / absence detection device

Country Status (1)

Country Link
JP (1) JP4510409B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4781868B2 (en) * 2005-03-30 2011-09-28 アスモ株式会社 Opening / closing member control device
JP4781873B2 (en) * 2005-03-30 2011-09-28 アスモ株式会社 Opening / closing member control device
JP4781222B2 (en) * 2005-10-07 2011-09-28 オムロンオートモーティブエレクトロニクス株式会社 Opening and closing body control device
JP4800753B2 (en) * 2005-11-24 2011-10-26 アスモ株式会社 Switchgear
JP2009052247A (en) * 2007-08-24 2009-03-12 Asmo Co Ltd Opening/closing body controller
JP6130699B2 (en) * 2013-03-27 2017-05-17 アスモ株式会社 Opening / closing member control device
CN103216172B (en) * 2013-05-13 2015-06-24 清华大学 Self-learning method of anti-pinch parameters of electric car window
CN103397828B (en) * 2013-07-19 2016-06-01 马夸特开关(上海)有限公司 Power window switch anti-pinch system
CN114270010B (en) * 2019-08-30 2023-06-16 株式会社海莱客思 Moving body moving device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003056250A (en) * 2001-08-16 2003-02-26 Jidosha Denki Kogyo Co Ltd Actuator control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3349053B2 (en) * 1996-12-13 2002-11-20 株式会社東海理化電機製作所 Window glass pinch detection device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003056250A (en) * 2001-08-16 2003-02-26 Jidosha Denki Kogyo Co Ltd Actuator control device

Also Published As

Publication number Publication date
JP2005054408A (en) 2005-03-03

Similar Documents

Publication Publication Date Title
JP4585883B2 (en) Power window device
US6426604B1 (en) Power window controlling device
JP6066342B2 (en) Window opening / closing control system and window opening / closing control device
US10337230B2 (en) Control device for opening and closing bodies
US7701157B2 (en) Motor controller and method for controlling motor
JP4510409B2 (en) Window glass clamping presence / absence detection device
JP3722675B2 (en) Power window device and control method thereof
JP6394900B2 (en) Vehicle window opening and closing device
JP4922629B2 (en) Control device for vehicle opening / closing body
JPH07224576A (en) Power window drive control device
JP4448621B2 (en) Window glass clamping presence / absence detection device
JP3621494B2 (en) Motor drive control device
JP4785260B2 (en) Opening / closing object pinching determination control method
CN109154176B (en) Method for operating a closing device and closing device
JPH09125815A (en) Driving controller for power window
JP2007239279A (en) Vehicular opening/closing body control device
JPH07166761A (en) Power window drive control device
JP2005027452A (en) Overheat protection control device of motor
JP4422358B2 (en) Window glass pinching presence / absence detection device
JP4295654B2 (en) Window glass clamping presence / absence detection device
JP2007197908A (en) Power window equipment
JP2866789B2 (en) Power window drive controller
JP6066336B2 (en) Window opening / closing control system and window opening / closing control device
JP5596911B2 (en) Opening / closing member control device
JPH07310473A (en) Power window drive control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090324

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090424

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: 20100420

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100430

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4510409

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140514

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees