Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7040498B2 - Open / close body control device and program - Google Patents
[go: Go Back, main page]

JP7040498B2 - Open / close body control device and program - Google Patents

Open / close body control device and program Download PDF

Info

Publication number
JP7040498B2
JP7040498B2 JP2019113079A JP2019113079A JP7040498B2 JP 7040498 B2 JP7040498 B2 JP 7040498B2 JP 2019113079 A JP2019113079 A JP 2019113079A JP 2019113079 A JP2019113079 A JP 2019113079A JP 7040498 B2 JP7040498 B2 JP 7040498B2
Authority
JP
Japan
Prior art keywords
open
opening
learning value
closing body
unit
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.)
Active
Application number
JP2019113079A
Other languages
Japanese (ja)
Other versions
JP2020204211A (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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2019113079A priority Critical patent/JP7040498B2/en
Publication of JP2020204211A publication Critical patent/JP2020204211A/en
Application granted granted Critical
Publication of JP7040498B2 publication Critical patent/JP7040498B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、開閉体制御装置及びプログラムに関する。 The present invention relates to an opening / closing body control device and a program.

開閉体制御装置としては、例えば、次のものが公知である(例えば、特許文献1参照)。すなわち、公知の開閉体制御装置では、車両のフロントサイドガラスの移動位置毎におけるモータ電流を検出し、このモータ電流と閾値とを比較することで、フロントサイドガラスの挟み込みを判定している。 As the opening / closing body control device, for example, the following are known (see, for example, Patent Document 1). That is, in a known opening / closing body control device, the motor current at each moving position of the front side glass of the vehicle is detected, and the pinching of the front side glass is determined by comparing the motor current with the threshold value.

ここで、例えばフロントサイドガラスと摺動するガラスランやガラスウェザストリップが経年変化すると、フロントサイドガラスに作用する摺動抵抗が変化し、これに伴ってフロントサイドガラスの移動位置毎のモータ電流も変化する。このように、経年変化等によりフロントサイドガラスの移動位置毎のモータ電流が変化する場合に、閾値が一定のままであると、フロントサイドガラスの挟み込みを正しく判定できない虞がある。 Here, for example, when the glass run or the glass weather strip sliding with the front side glass changes over time, the sliding resistance acting on the front side glass changes, and the motor current for each moving position of the front side glass also changes accordingly. As described above, when the motor current for each moving position of the front side glass changes due to secular variation or the like, if the threshold value remains constant, there is a possibility that the pinching of the front side glass cannot be correctly determined.

そこで、公知の開閉体制御装置では、フロントサイドガラスが上昇する度に、フロントサイドガラスの移動位置毎のモータ電流を学習値として検出し、この学習値に補正値を加算して挟み込み検出の閾値を設定している。 Therefore, in a known opening / closing body control device, every time the front side glass rises, the motor current for each moving position of the front side glass is detected as a learning value, and a correction value is added to this learning value to set a threshold value for pinch detection. is doing.

さらに、この公知の開閉体制御装置では、サッシュレスのハードトップ車の場合に、フロントドアの開状態と閉状態とでフロントサイドガラスに作用する摺動抵抗が異なる点に着目し、フロントドアの開状態用と閉状態用の二種類の補正値を用意している。そして、この補正値を学習値に加算することでフロントドアの開状態用と閉状態用の二種類の挟み込み検出の閾値を設定している。 Further, in this known opening / closing body control device, in the case of a sashless hardtop vehicle, the sliding resistance acting on the front side glass differs between the open state and the closed state of the front door, and the front door is opened. Two types of correction values are available, one for the state and one for the closed state. Then, by adding this correction value to the learning value, two types of pinch detection thresholds, one for the open state and the other for the closed state of the front door, are set.

特許3484923号公報Japanese Patent No. 3484923

しかしながら、例えば、ルーフ開閉式のサッシュレス車の場合には、例えば、ルーフやリアクオータガラスの開閉状態によって、フロントサイドガラスに作用する摺動抵抗が変化する。したがって、ルーフ開閉式のサッシュレス車に上述の開閉体制御装置が適用された場合には、ルーフやリアクオータガラスの各々の開閉状態に応じた適切な挟み込み検出を行うことができない虞がある。 However, for example, in the case of a roof opening / closing type sashless vehicle, the sliding resistance acting on the front side glass changes depending on, for example, the opening / closing state of the roof and the rear quarter glass. Therefore, when the above-mentioned opening / closing body control device is applied to the roof opening / closing type sashless vehicle, there is a possibility that appropriate pinching detection according to the opening / closing state of each of the roof and the rear quarter glass cannot be performed.

このような問題は、ルーフ開閉式のサッシュレス車に限らず、第一開閉体及び第二開閉体に隣接する第三開閉体をモータ駆動部によって開閉方向に移動させる乗り物等おいて、第三開閉体の移動中の挟み込み又は巻き込み等の異常を判定する場合にも発生することが想定される。 Such a problem is not limited to roof-opening / closing sashless vehicles, but is not limited to vehicles such as vehicles that move the first opening / closing body and the third opening / closing body adjacent to the second opening / closing body in the opening / closing direction by a motor drive unit. It is also expected to occur when determining an abnormality such as pinching or entanglement during movement of the opening / closing body.

本発明は、上記課題に鑑みてなされたものであって、第一開閉体及び第二開閉体に隣接する第三開閉体をモータ駆動部によって開閉方向に移動させる場合に、第三開閉体に生ずる異常を適切に判定できる開閉体制御装置及びプログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and when the first opening / closing body and the third opening / closing body adjacent to the second opening / closing body are moved in the opening / closing direction by the motor drive unit, the third opening / closing body is used. It is an object of the present invention to provide an opening / closing body control device and a program capable of appropriately determining an abnormality that occurs.

請求項1に記載の開閉体制御装置は、第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に処理を実行する学習値記憶処理部と、前記学習値記憶処理部が処理を実行した回の後の回における前記第三開閉体の移動時に処理を実行する異常判定処理部と、を備え、前記学習値記憶処理部は、前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する開閉状態取得部と、前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得部と、前記開閉状態取得部で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態に関連付けて前記学習値を記憶部に記憶させる記憶処理部と、を有し、前記異常判定処理部は、前記第一開閉体及び前記第二開閉体の各々の開閉状態を判定する開閉状態判定部と、前記開閉状態判定部の判定結果に応じた前記学習値を前記記憶部から抽出する学習値抽出部と、前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記学習値抽出部によって抽出された前記学習値及び予め定められた補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力部と、を有する。 The opening / closing body control device according to claim 1 is a learning value storage process that executes a process when the third opening / closing body is moved adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by a motor drive unit. The learning value storage processing unit includes a unit and an abnormality determination processing unit that executes processing when the third opening / closing body moves in a time after the learning value storage processing unit executes the processing. An open / closed state acquisition unit that acquires the open / closed state of each of the first open / close body and the second open / close body, and a learning value acquisition unit that acquires a learning value according to the movement speed of each movement position of the third open / close body. It has a storage processing unit that stores the learning value in the storage unit in association with the opening / closing state of each of the first opening / closing body and the second opening / closing body acquired by the opening / closing state acquisition unit, and the abnormality determination process. The unit is a learning unit that determines an open / closed state of each of the first open / closed body and the second open / closed body, and a learning unit that extracts the learning value according to the determination result of the open / closed state determination unit from the storage unit. A detection value corresponding to the movement speed of the third opening / closing body is detected for each movement position of the value extracting unit and the third opening / closing body, and the learning value extracted by the learning value extraction unit and a predetermined value are predetermined. It has an abnormality determination result output unit that outputs a result of comparing the threshold value calculated based on the correction value and the detected value as an abnormality determination result.

この開閉体制御装置によれば、学習値記憶処理部では、第一開閉体及び第二開閉体の各々の開閉状態が取得される。また、第三開閉体の移動位置毎の移動速度に応じた学習値が取得される。そして、取得された第一開閉体及び第二開閉体の各々の開閉状態に関連付けて学習値が記憶部に記憶される。 According to this open / close body control device, the learning value storage processing unit acquires the open / closed state of each of the first open / close body and the second open / close body. In addition, a learning value corresponding to the moving speed of each moving position of the third opening / closing body is acquired. Then, the learning value is stored in the storage unit in association with the opened / closed state of each of the acquired first open / closed body and the second open / closed body.

続いて、異常判定処理部では、第一開閉体及び第二開閉体の各々の開閉状態が判定され、この判定結果に応じた学習値が記憶部から抽出される。そして、第三開閉体の移動位置毎に、第三開閉体の移動速度に応じた検出値が検出され、上述の抽出された学習値及び予め定められた補正値に基づいて算出された閾値と、検出値とを比較した結果が異常判定結果として出力される。 Subsequently, the abnormality determination processing unit determines the open / closed state of each of the first open / close body and the second open / close body, and the learning value corresponding to the determination result is extracted from the storage unit. Then, for each moving position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and the threshold value calculated based on the above-extracted learning value and the predetermined correction value is used. , The result of comparison with the detected value is output as the abnormality judgment result.

したがって、第一開閉体及び第二開閉体の各々の開閉状態に関連付けて記憶された学習値に基づいて異常判定が行われるので、第一開閉体及び第二開閉体の各々の開閉状態によって第三開閉体に作用する摺動抵抗が変化する場合でも、第三開閉体について第一開閉体及び第二開閉体の各々の開閉状態に応じた適切な異常判定を行うことができる。 Therefore, since the abnormality determination is performed based on the learning value stored in association with the open / closed state of each of the first open / closed body and the second open / close body, the first open / closed body and the second open / close body are selected according to the open / closed state. (Iii) Even when the sliding resistance acting on the opening / closing body changes, it is possible to make an appropriate abnormality determination for the third opening / closing body according to the opening / closing state of each of the first opening / closing body and the second opening / closing body.

請求項2に記載の開閉体制御装置は、第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に処理を実行する学習値記憶処理部と、前記学習値記憶処理部が処理を実行した回の後の回における前記第三開閉体の移動時に処理を実行する異常判定処理部と、を備え、前記学習値記憶処理部は、前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する開閉状態取得部と、前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得部と、前記学習値取得部で取得された前記学習値のうち、前記開閉状態取得部で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態が予め定められた開閉状態である場合の前記学習値を記憶部に記憶させる記憶処理部と、を有し、前記異常判定処理部は、前記第一開閉体及び前記第二開閉体の各々の開閉状態を判定する開閉状態判定部と、前記第一開閉体及び前記第二開閉体の各々の開閉状態に関連付けて予め記憶された補正値を前記開閉状態判定部の判定結果に応じて選択する補正値選択部と、前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記記憶部に記憶された前記学習値及び前記補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力部と、を有する。 The opening / closing body control device according to claim 2 is a learning value storage process that executes processing when the third opening / closing body is moved adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit. The learning value storage processing unit includes a unit and an abnormality determination processing unit that executes processing when the third opening / closing body moves in a time after the learning value storage processing unit executes the processing. An open / closed state acquisition unit that acquires the open / closed state of each of the first open / close body and the second open / close body, and a learning value acquisition unit that acquires a learning value according to the movement speed of each movement position of the third open / close body. Among the learned values acquired by the learning value acquisition unit, when the opening / closing state of each of the first opening / closing body and the second opening / closing body acquired by the opening / closing state acquisition unit is a predetermined opening / closing state. The abnormality determination processing unit includes an opening / closing state determination unit that determines the opening / closing state of each of the first opening / closing body and the second opening / closing body. , A correction value selection unit that selects a correction value stored in advance in association with the opening / closing state of each of the first opening / closing body and the second opening / closing body according to the determination result of the opening / closing state determination unit, and the third opening / closing unit. A detection value corresponding to the movement speed of the third opening / closing body is detected for each movement position of the body, and a threshold value calculated based on the learning value and the correction value stored in the storage unit and the detection value. It has an abnormality determination result output unit that outputs the result of comparison with and as an abnormality determination result.

この開閉体制御装置によれば、学習値記憶処理部では、第一開閉体及び第二開閉体の各々の開閉状態が取得される。また、第三開閉体の移動位置毎の移動速度に応じた学習値が取得される。そして、この取得された学習値のうち、上述の取得された第一開閉体及び第二開閉体の各々の開閉状態が予め定められた開閉状態である場合の学習値が記憶部に記憶される。 According to this open / close body control device, the learning value storage processing unit acquires the open / closed state of each of the first open / close body and the second open / close body. In addition, a learning value corresponding to the moving speed of each moving position of the third opening / closing body is acquired. Then, among the acquired learning values, the learning value when each of the acquired opening / closing states of the first opening / closing body and the second opening / closing body is a predetermined opening / closing state is stored in the storage unit. ..

続いて、異常判定処理部では、第一開閉体及び第二開閉体の各々の開閉状態が判定され、第一開閉体及び第二開閉体の各々の開閉状態に関連付けて予め記憶された補正値が上述の判定結果に応じて選択される。そして、第三開閉体の移動位置毎に、第三開閉体の移動速度に応じた検出値が検出され、記憶部に記憶された学習値及び選択された補正値に基づいて算出された閾値と、検出値とを比較した結果が異常判定結果として出力される。 Subsequently, the abnormality determination processing unit determines the open / closed state of each of the first open / close body and the second open / close body, and the correction value stored in advance in association with the open / close state of each of the first open / close body and the second open / close body. Is selected according to the above-mentioned determination result. Then, for each movement position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and the threshold value calculated based on the learning value stored in the storage unit and the selected correction value is used. , The result of comparison with the detected value is output as the abnormality judgment result.

したがって、第一開閉体及び第二開閉体の各々の開閉状態に関連付けて記憶された補正値によって補正された学習値に基づいて異常判定が行われるので、第一開閉体及び第二開閉体の各々の開閉状態によって第三開閉体に作用する摺動抵抗が変化する場合でも、第三開閉体について第一開閉体及び第二開閉体の各々の開閉状態に応じた適切な異常判定を行うことができる。 Therefore, since the abnormality determination is performed based on the learning value corrected by the correction value stored in association with the opening / closing state of each of the first opening / closing body and the second opening / closing body, the first opening / closing body and the second opening / closing body Even if the sliding resistance acting on the third opening / closing body changes depending on each opening / closing state, an appropriate abnormality determination should be made for the third opening / closing body according to the opening / closing state of each of the first opening / closing body and the second opening / closing body. Can be done.

請求項3に記載の開閉体制御装置は、第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に処理を実行する学習値記憶処理部と、前記学習値記憶処理部が処理を実行した回の後の回における前記第三開閉体の移動時に処理を実行する異常判定処理部と、を備え、前記学習値記憶処理部は、前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する第一開閉状態取得部と、前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得部と、前記第一開閉状態取得部で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態と、前記学習値とを記憶部に記憶させる記憶処理部と、を有し、前記異常判定処理部は、前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する第二開閉状態取得部と、前記記憶部に記憶された前記第一開閉体及び前記第二開閉体の各々の開閉状態と、前記第二開閉状態取得部で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値を選択する補正値選択部と、前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記記憶部に記憶された前記学習値及び前記補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力部と、を有する。 The opening / closing body control device according to claim 3 is a learning value storage process that executes processing when the third opening / closing body is moved adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit. The learning value storage processing unit includes a unit and an abnormality determination processing unit that executes processing when the third opening / closing body moves in a time after the learning value storage processing unit executes the processing. A first open / closed state acquisition unit that acquires the open / closed state of each of the first open / closed body and the second open / close body, and a learning value acquisition unit that acquires a learning value according to the movement speed of each movement position of the third open / close body. And a storage processing unit that stores the open / closed state of each of the first open / closed body and the second open / closed body acquired by the first open / closed state acquisition unit and the learning value in the storage unit. The abnormality determination processing unit includes a second open / close state acquisition unit that acquires the open / closed state of each of the first open / close body and the second open / close body, and the first open / close body and the second open / close body stored in the storage unit. From the combination of each open / closed state of the open / closed body and each open / closed state of the first open / closed body and the second open / closed body acquired by the second open / closed state acquisition unit, a correction value is obtained from a preset table. A detection value corresponding to the movement speed of the third opening / closing body is detected for each correction value selection unit to be selected and the moving position of the third opening / closing body, and the learning value and the correction value stored in the storage unit are detected. It has an abnormality determination result output unit that outputs a result of comparing the threshold value calculated based on the above-mentioned detection value with the abnormality determination result as an abnormality determination result.

この開閉体制御装置によれば、学習値記憶処理時に、第一開閉体及び第二開閉体の各々の開閉状態が取得される。また、第三開閉体の移動位置毎の移動速度に応じた学習値が取得される。そして、取得された第一開閉体及び第二開閉体の各々の開閉状態と学習値とが記憶部に記憶される。 According to this open / close body control device, the open / closed state of each of the first open / close body and the second open / close body is acquired at the time of the learning value storage process. In addition, a learning value corresponding to the moving speed of each moving position of the third opening / closing body is acquired. Then, the opened / closed state and the learning value of each of the acquired first open / closed body and the second open / closed body are stored in the storage unit.

続いて、異常判定処理時に、第一開閉体及び第二開閉体の各々の開閉状態が取得される。また、学習値記憶処理時に記憶部に記憶された第一開閉体及び第二開閉体の各々の開閉状態と、異常判定処理時に取得された第一開閉体及び第二開閉体の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値が選択される。そして、第三開閉体の移動位置毎に、第三開閉体の移動速度に応じた検出値が検出され、記憶部に記憶された学習値及び補正値に基づいて算出された閾値と、検出値とを比較した結果が異常判定結果として出力される。 Subsequently, at the time of the abnormality determination process, the open / closed state of each of the first open / close body and the second open / close body is acquired. In addition, the open / closed states of the first open / close body and the second open / close body stored in the storage unit during the learning value storage process, and the open / close states of the first open / close body and the second open / close body acquired during the abnormality determination process. The correction value is selected from the preset table by the combination with. Then, for each moving position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and a threshold value calculated based on the learning value and the correction value stored in the storage unit and the detected value. The result of comparison with is output as an abnormality judgment result.

したがって、学習値記憶処理時に記憶部に記憶された第一開閉体及び第二開閉体の各々の開閉状態と、異常判定処理時に取得された第一開閉体及び第二開閉体の各々の開閉状態とに対応する補正値によって補正された学習値に基づいて異常判定が行われるので、第一開閉体及び第二開閉体の各々の開閉状態によって第三開閉体に作用する摺動抵抗が変化する場合でも、第三開閉体について第一開閉体及び第二開閉体の各々の開閉状態に応じた適切な異常判定を行うことができる。 Therefore, the open / closed states of the first open / close body and the second open / close body stored in the storage unit during the learning value storage process, and the open / close states of the first open / close body and the second open / close body acquired during the abnormality determination process. Since the abnormality determination is performed based on the learning value corrected by the correction value corresponding to the above, the sliding resistance acting on the third opening / closing body changes depending on the opening / closing state of each of the first opening / closing body and the second opening / closing body. Even in this case, it is possible to make an appropriate abnormality determination for the third opening / closing body according to the opening / closing state of each of the first opening / closing body and the second opening / closing body.

請求項4に記載のプログラムは、第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に実行される学習値記憶処理と、前記学習値記憶処理が実行された回の後の回における前記第三開閉体の移動時に実行される異常判定処理と、をコンピュータに実行させるためのプログラムであって、前記学習値記憶処理として、前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する開閉状態取得処理と、前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得処理と、前記開閉状態取得処理で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態に関連付けて、前記学習値を記憶部に記憶させる記憶処理と、を前記コンピュータに実行させ、前記異常判定処理として、前記第一開閉体及び前記第二開閉体の各々の開閉状態を判定する開閉状態判定処理と、前記開閉状態判定処理の判定結果に応じた前記学習値を前記記憶部から抽出する学習値抽出処理と、前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記学習値抽出処理によって抽出された前記学習値及び予め定められた補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力処理と、を前記コンピュータに実行させるためのプログラムである。 The program according to claim 4 includes a learning value storage process executed when the third opening / closing body is moved, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit, and the learning. It is a program for causing a computer to execute an abnormality determination process executed at the time of movement of the third switchgear in the times after the value storage process is executed, and the learning value storage process is the first. The open / closed state acquisition process for acquiring the open / closed state of each of the open / closed body and the second open / close body, the learning value acquisition process for acquiring the learning value according to the movement speed of each movement position of the third open / close body, and the above. The computer is made to execute a storage process of storing the learning value in the storage unit in association with the open / closed state of each of the first open / closed body and the second open / close body acquired in the open / closed state acquisition process, and the abnormality is described. As the determination process, the open / close state determination process for determining the open / closed state of each of the first open / closed body and the second open / close body, and the learning value according to the determination result of the open / close state determination process are extracted from the storage unit. The learning value extraction process and the detection value corresponding to the movement speed of the third opening / closing body are detected for each movement position of the third opening / closing body, and the learning value extracted by the learning value extraction process and a predetermined value are predetermined. This is a program for causing the computer to execute an abnormality determination result output process that outputs a result of comparing the threshold value calculated based on the correction value and the detected value as an abnormality determination result.

このプログラムによれば、学習値記憶処理では、第一開閉体及び第二開閉体の各々の開閉状態が取得される。また、第三開閉体の移動位置毎の移動速度に応じた学習値が取得される。そして、取得された第一開閉体及び第二開閉体の各々の開閉状態に関連付けて学習値が記憶部に記憶される。 According to this program, in the learning value storage process, the open / closed state of each of the first open / close body and the second open / close body is acquired. In addition, a learning value corresponding to the moving speed of each moving position of the third opening / closing body is acquired. Then, the learning value is stored in the storage unit in association with the opened / closed state of each of the acquired first open / closed body and the second open / closed body.

続いて、異常判定処理では、第一開閉体及び第二開閉体の各々の開閉状態が判定され、この判定結果に応じた学習値が記憶部から抽出される。そして、第三開閉体の移動位置毎に、第三開閉体の移動速度に応じた検出値が検出され、上述の抽出された学習値及び予め定められた補正値に基づいて算出された閾値と、検出値とを比較した結果が異常判定結果として出力される。 Subsequently, in the abnormality determination process, the open / closed state of each of the first open / close body and the second open / close body is determined, and the learning value corresponding to the determination result is extracted from the storage unit. Then, for each moving position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and the threshold value calculated based on the above-extracted learning value and the predetermined correction value is used. , The result of comparison with the detected value is output as the abnormality judgment result.

したがって、第一開閉体及び第二開閉体の各々の開閉状態に関連付けて記憶された学習値に基づいて異常判定が行われるので、第一開閉体及び第二開閉体の各々の開閉状態によって第三開閉体に作用する摺動抵抗が変化する場合でも、第三開閉体について第一開閉体及び第二開閉体の各々の開閉状態に応じた適切な異常判定を行うことができる。 Therefore, since the abnormality determination is performed based on the learning value stored in association with the open / closed state of each of the first open / closed body and the second open / close body, the first open / closed body and the second open / close body are selected according to the open / closed state. (Iii) Even when the sliding resistance acting on the opening / closing body changes, it is possible to make an appropriate abnormality determination for the third opening / closing body according to the opening / closing state of each of the first opening / closing body and the second opening / closing body.

請求項5に記載のプログラムは、第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に実行される学習値記憶処理と、前記学習値記憶処理が実行された回の後の回における前記第三開閉体の移動時に実行される異常判定処理と、をコンピュータに実行させるためのプログラムであって、前記学習値記憶処理として、前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する開閉状態取得処理と、前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得処理と、前記学習値取得処理で取得された前記学習値のうち、前記開閉状態取得処理によって取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態が予め定められた開閉状態である場合の前記学習値を記憶部に記憶させる記憶処理と、を前記コンピュータに実行させ、前記異常判定処理として、前記第一開閉体及び前記第二開閉体の各々の開閉状態を判定する開閉状態判定処理と、前記第一開閉体及び前記第二開閉体の各々の開閉状態に関連付けて予め記憶された補正値を前記開閉状態判定処理の判定結果に応じて選択する補正値選択処理と、前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記記憶部に記憶された前記学習値及び前記補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力処理と、を前記コンピュータに実行させるためのプログラムである。 The program according to claim 5 includes a learning value storage process executed when the third opening / closing body, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit, is moved, and the learning. It is a program for causing a computer to execute an abnormality determination process executed at the time of movement of the third opening / closing body in a time after the value storage process is executed, and is the first learning value storage process. An open / closed state acquisition process for acquiring the open / closed state of each of the open / closed body and the second open / close body, a learning value acquisition process for acquiring a learning value according to the movement speed of each movement position of the third open / close body, and the above-mentioned. When the open / closed state of each of the first open / close body and the second open / close body acquired by the open / close state acquisition process among the learned values acquired in the learning value acquisition process is a predetermined open / close state. A storage process for storing the learned value in the storage unit, and an open / close state determination process for determining the open / closed state of each of the first open / closed body and the second open / close body as the abnormality determination process. , The correction value selection process of selecting the correction value stored in advance in association with the open / closed state of each of the first open / closed body and the second open / close body according to the determination result of the open / close state determination process, and the third open / close. A detection value corresponding to the movement speed of the third opening / closing body is detected for each movement position of the body, and a threshold value calculated based on the learning value and the correction value stored in the storage unit and the detection value. This is a program for causing the computer to execute an abnormality determination result output process for outputting the result of comparison with the above as an abnormality determination result.

このプログラムによれば、学習値記憶処理では、第一開閉体及び第二開閉体の各々の開閉状態が取得される。また、第三開閉体の移動位置毎の移動速度に応じた学習値が取得される。そして、この取得された学習値のうち、上述の取得された第一開閉体及び第二開閉体の各々の開閉状態が予め定められた開閉状態である場合の学習値が記憶部に記憶される。 According to this program, in the learning value storage process, the open / closed state of each of the first open / close body and the second open / close body is acquired. In addition, a learning value corresponding to the moving speed of each moving position of the third opening / closing body is acquired. Then, among the acquired learning values, the learning value when each of the acquired opening / closing states of the first opening / closing body and the second opening / closing body is a predetermined opening / closing state is stored in the storage unit. ..

続いて、異常判定処理では、第一開閉体及び第二開閉体の各々の開閉状態が判定され、第一開閉体及び第二開閉体の各々の開閉状態に関連付けて予め記憶された補正値が上述の判定結果に応じて選択される。そして、第三開閉体の移動位置毎に、第三開閉体の移動速度に応じた検出値が検出され、記憶部に記憶された学習値及び選択された補正値に基づいて算出された閾値と、検出値とを比較した結果が異常判定結果として出力される。 Subsequently, in the abnormality determination process, the open / closed state of each of the first open / close body and the second open / close body is determined, and the correction value stored in advance in association with the open / close state of each of the first open / close body and the second open / close body is determined. It is selected according to the above-mentioned determination result. Then, for each movement position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and the threshold value calculated based on the learning value stored in the storage unit and the selected correction value is used. , The result of comparison with the detected value is output as the abnormality judgment result.

したがって、第一開閉体及び第二開閉体の各々の開閉状態に関連付けて記憶された補正値によって補正された学習値に基づいて異常判定が行われるので、第一開閉体及び第二開閉体の各々の開閉状態によって第三開閉体に作用する摺動抵抗が変化する場合でも、第三開閉体について第一開閉体及び第二開閉体の各々の開閉状態に応じた適切な異常判定を行うことができる。 Therefore, since the abnormality determination is performed based on the learning value corrected by the correction value stored in association with the opening / closing state of each of the first opening / closing body and the second opening / closing body, the first opening / closing body and the second opening / closing body Even if the sliding resistance acting on the third opening / closing body changes depending on each opening / closing state, an appropriate abnormality determination should be made for the third opening / closing body according to the opening / closing state of each of the first opening / closing body and the second opening / closing body. Can be done.

請求項6に記載のプログラムは、第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に実行される学習値記憶処理と、前記学習値記憶処理が実行された回の後の回における前記第三開閉体の移動時に実行される異常判定処理と、をコンピュータに実行させるためのプログラムであって、前記学習値記憶処理として、前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する第一開閉状態取得処理と、前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得処理と、前記第一開閉状態取得処理で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態と、前記学習値とを記憶部に記憶させる記憶処理と、を前記コンピュータに実行させ、前記異常判定処理として、前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する第二開閉状態取得処理と、前記記憶部に記憶された前記第一開閉体及び前記第二開閉体の各々の開閉状態と、前記第二開閉状態取得処理で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値を選択する補正値選択処理と、前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記記憶部に記憶された前記学習値及び前記補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力処理と、を前記コンピュータに実行させるためのプログラムである。 The program according to claim 6 includes a learning value storage process executed when the third opening / closing body, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit, is moved, and the learning. It is a program for causing a computer to execute an abnormality determination process executed at the time of movement of the third opening / closing body in a time after the value storage process is executed, and the learning value storage process is the first. A first open / closed state acquisition process for acquiring the open / closed state of each of the open / closed body and the second open / close body, and a learning value acquisition process for acquiring a learning value according to the movement speed of each of the third open / close bodies. , The computer is made to execute a storage process of storing the open / closed state of each of the first open / closed body and the second open / closed body acquired in the first open / closed state acquisition process and the learned value in the storage unit. As the abnormality determination process, a second open / close state acquisition process for acquiring the open / closed state of each of the first open / close body and the second open / close body, and the first open / close body and the second open / close body stored in the storage unit. From the combination of each open / closed state of the open / closed body and each open / closed state of the first open / closed body and the second open / closed body acquired in the second open / closed state acquisition process, a correction value is obtained from a preset table. The correction value selection process for selection and the detection value corresponding to the movement speed of the third opening / closing body are detected for each movement position of the third opening / closing body, and the learning value and the correction value stored in the storage unit are detected. This is a program for causing the computer to execute an abnormality determination result output process for outputting a result of comparing the threshold value calculated based on the above and the detected value as an abnormality determination result.

このプログラムによれば、学習値記憶処理時に、第一開閉体及び第二開閉体の各々の開閉状態が取得される。また、第三開閉体の移動位置毎の移動速度に応じた学習値が取得される。そして、取得された第一開閉体及び第二開閉体の各々の開閉状態と学習値とが記憶部に記憶される。 According to this program, the open / closed state of each of the first open / close body and the second open / close body is acquired at the time of the learning value storage process. In addition, a learning value corresponding to the moving speed of each moving position of the third opening / closing body is acquired. Then, the opened / closed state and the learning value of each of the acquired first open / closed body and the second open / closed body are stored in the storage unit.

続いて、異常判定処理時に、第一開閉体及び第二開閉体の各々の開閉状態が取得される。また、学習値記憶処理時に記憶部に記憶された第一開閉体及び第二開閉体の各々の開閉状態と、異常判定処理時に取得された第一開閉体及び第二開閉体の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値が選択される。そして、第三開閉体の移動位置毎に、第三開閉体の移動速度に応じた検出値が検出され、記憶部に記憶された学習値及び補正値に基づいて算出された閾値と、検出値とを比較した結果が異常判定結果として出力される。 Subsequently, at the time of the abnormality determination process, the open / closed state of each of the first open / close body and the second open / close body is acquired. In addition, the open / closed states of the first open / close body and the second open / close body stored in the storage unit during the learning value storage process, and the open / close states of the first open / close body and the second open / close body acquired during the abnormality determination process. The correction value is selected from the preset table by the combination with. Then, for each moving position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and a threshold value calculated based on the learning value and the correction value stored in the storage unit and the detected value. The result of comparison with is output as an abnormality judgment result.

したがって、学習値記憶処理時に記憶部に記憶された第一開閉体及び第二開閉体の各々の開閉状態と、異常判定処理時に取得された第一開閉体及び第二開閉体の各々の開閉状態とに対応する補正値によって補正された学習値に基づいて異常判定が行われるので、第一開閉体及び第二開閉体の各々の開閉状態によって第三開閉体に作用する摺動抵抗が変化する場合でも、第三開閉体について第一開閉体及び第二開閉体の各々の開閉状態に応じた適切な異常判定を行うことができる。 Therefore, the open / closed states of the first open / close body and the second open / close body stored in the storage unit during the learning value storage process, and the open / close states of the first open / close body and the second open / close body acquired during the abnormality determination process. Since the abnormality determination is performed based on the learning value corrected by the correction value corresponding to the above, the sliding resistance acting on the third opening / closing body changes depending on the opening / closing state of each of the first opening / closing body and the second opening / closing body. Even in this case, it is possible to make an appropriate abnormality determination for the third opening / closing body according to the opening / closing state of each of the first opening / closing body and the second opening / closing body.

第一実施形態に係る開閉体制御装置のブロック図である。It is a block diagram of the opening / closing body control device which concerns on 1st Embodiment. 図1のルーフ、フロントサイドガラス及びリアクオータガラスの側面図である。It is a side view of the roof, the front side glass and the rear quarter glass of FIG. 図1のルーフ及びリアクオータガラスが閉状態でフロントサイドガラスが上昇するときのモータ回転速度とパルスエッジ数との関係を示すグラフである。It is a graph which shows the relationship between the motor rotation speed and the number of pulse edges when the front side glass rises while the roof and the rear quarter glass of FIG. 1 are closed. 図1のルーフ及びフロントサイドガラスが閉状態でリアクオータガラスが上昇するときのモータ回転速度とパルスエッジ数との関係を示すグラフである。It is a graph which shows the relationship between the motor rotation speed and the number of pulse edges when the rear quarter glass rises with the roof and the front side glass of FIG. 1 closed. 図1のフロントサイドガラスが上昇するときにルーフ及びリアクオータガラスの各々の開閉状態に応じてモータ回転速度が変化することを説明する図である。It is a figure explaining that the motor rotation speed changes according to the opening and closing state of each of the roof and the rear quarter glass when the front side glass of FIG. 1 rises. 図1のフロントサイドガラスが下降するときにルーフ及びリアクオータガラスの各々の開閉状態に応じてモータ回転速度が変化することを説明する図である。It is a figure explaining that the motor rotation speed changes according to the opening and closing state of each of the roof and the rear quarter glass when the front side glass of FIG. 1 descends. 図1のリアクオータガラスが上昇するときにルーフ及びフロントサイドガラスの各々の開閉状態に応じてモータ回転速度が変化することを説明する図である。It is a figure explaining that the motor rotation speed changes according to the opening and closing state of each of the roof and the front side glass when the rear quarter glass of FIG. 1 rises. 図1のリアクオータガラスが下降するときにルーフ及びフロントサイドガラスの各々の開閉状態に応じてモータ回転速度が変化することを説明する図である。It is a figure explaining that the motor rotation speed changes according to the opening and closing state of each of the roof and the front side glass when the rear quarter glass of FIG. 1 descends. 図1の学習値記憶処理部が実行する挟み込み学習値記憶処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the sandwiched learning value storage processing executed by the learning value storage processing unit of FIG. 図1の異常判定処理部が実行する挟み込み判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the pinch determination processing which the abnormality determination processing part of FIG. 1 executes. 図1の学習値記憶処理部が実行する巻き込み学習値記憶処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the entrainment learning value storage processing executed by the learning value storage processing unit of FIG. 図1の異常判定処理部が実行する巻き込み判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the entrainment determination processing executed by the abnormality determination processing unit of FIG. 第二実施形態に係る開閉体制御装置のブロック図である。It is a block diagram of the opening / closing body control device which concerns on 2nd Embodiment. 図13の学習値記憶処理部が実行する挟み込み学習値記憶処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the sandwiched learning value storage processing which the learning value storage processing unit of FIG. 13 executes. 図13の異常判定処理部が実行する挟み込み判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the pinch determination processing which the abnormality determination processing part of FIG. 13 executes. 図13の学習値記憶処理部が実行する巻き込み学習値記憶処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the entrainment learning value storage processing executed by the learning value storage processing unit of FIG. 図13の異常判定処理部が実行する巻き込み判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the entrainment determination processing executed by the abnormality determination processing unit of FIG. 第三実施形態に係る開閉体制御装置のブロック図である。It is a block diagram of the opening / closing body control device which concerns on 3rd Embodiment. 図18の学習値記憶処理部が実行する挟み込み学習値記憶処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the sandwiched learning value storage processing executed by the learning value storage processing unit of FIG. 図18の異常判定処理部が実行する挟み込み判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the pinch determination processing executed by the abnormality determination processing part of FIG. 図18の異常判定処理部が実行する挟み込み判定処理で使用されるテーブルを示す図である。It is a figure which shows the table used in the pinch determination processing executed by the abnormality determination processing part of FIG. 図18の学習値記憶処理部が実行する巻き込み学習値記憶処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the entrainment learning value storage processing executed by the learning value storage processing unit of FIG. 図18の異常判定処理部が実行する巻き込み判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the entrainment determination processing executed by the abnormality determination processing unit of FIG. 図18の異常判定処理部が実行する巻き込み判定処理で使用されるテーブルを示す図である。It is a figure which shows the table used in the entrainment determination processing executed by the abnormality determination processing unit of FIG.

[第一実施形態]
はじめに、本発明の第一実施形態について説明する。
[First Embodiment]
First, the first embodiment of the present invention will be described.

図1には、第一実施形態に係る開閉体制御装置10がブロック図で示されている。第一実施形態では、一例として、開閉体制御装置10がルーフ開閉式のサッシュレス車に適用された例について説明する。 FIG. 1 shows a block diagram of the opening / closing body control device 10 according to the first embodiment. In the first embodiment, as an example, an example in which the opening / closing body control device 10 is applied to a roof opening / closing type sashless vehicle will be described.

第一実施形態に係る開閉体制御装置10は、ボデーECU12(Electrical Control Unit)と、ルーフ制御ECU14と、複数のパワーウィンドウECU16と、複数のモータ駆動部18、20を備える。 The opening / closing body control device 10 according to the first embodiment includes a body ECU 12 (Electrical Control Unit), a roof control ECU 14, a plurality of power window ECUs 16, and a plurality of motor drive units 18 and 20.

ボデーECU12には、ルーフ制御ECU14及び複数のパワーウィンドウECU16が通信可能に接続されている。複数のパワーウィンドウECU16の各々は、FR席(右前席)用、RR席(右後席)用、FL席(左前席)用及びRL席(左後席)用である。複数のパワーウィンドウECU16は、互いに通信可能に接続されている。 A roof control ECU 14 and a plurality of power window ECUs 16 are communicably connected to the body ECU 12. Each of the plurality of power window ECUs 16 is for an FR seat (right front seat), an RR seat (right rear seat), an FL seat (left front seat), and an RL seat (left rear seat). The plurality of power window ECUs 16 are connected so as to be able to communicate with each other.

ルーフ制御ECU14には、ルーフ開閉スイッチ22及びルーフ開閉検出器24が接続されている。また、FR席のパワーウィンドウECU16には、FR席のパワーウィンドウスイッチ26が接続されており、RR席のパワーウィンドウECU16には、RR席のパワーウィンドウスイッチ26が接続されている。同様に、FL席のパワーウィンドウECU16には、FL席のパワーウィンドウスイッチ26が接続されており、RL席のパワーウィンドウECU16には、RL席のパワーウィンドウスイッチ26が接続されている。 A roof open / close switch 22 and a roof open / close detector 24 are connected to the roof control ECU 14. Further, the power window switch 26 of the FR seat is connected to the power window ECU 16 of the FR seat, and the power window switch 26 of the RR seat is connected to the power window ECU 16 of the RR seat. Similarly, the power window switch 26 of the FL seat is connected to the power window ECU 16 of the FL seat, and the power window switch 26 of the RL seat is connected to the power window ECU 16 of the RL seat.

ルーフ用のモータ駆動部18は、折り畳み格納式のルーフ30と接続されている。また、FR席のモータ駆動部20は、FR席のフロントサイドガラス32と接続されており、RR席のモータ駆動部20は、RR席のリアクオータガラス34と接続されている。同様に、FL席のモータ駆動部20は、FL席のフロントサイドガラス32と接続されており、RL席のモータ駆動部20は、RL席のリアクオータガラス34と接続されている。 The motor drive unit 18 for the roof is connected to the foldable retractable roof 30. Further, the motor drive unit 20 of the FR seat is connected to the front side glass 32 of the FR seat, and the motor drive unit 20 of the RR seat is connected to the rear quarter glass 34 of the RR seat. Similarly, the motor drive unit 20 of the FL seat is connected to the front side glass 32 of the FL seat, and the motor drive unit 20 of the RL seat is connected to the rear quarter glass 34 of the RL seat.

ルーフ30は、展開された状態から車両後側に向けて移動しながら折り畳まれて車体後部の格納部に格納された状態と、格納部に格納された状態から車両前側に向けて移動しながら展開された状態とに移り変わるように開閉可能である。各フロントサイドガラス32は、車両のフロントサイドドアに上下方向を開閉方向として移動可能(昇降可能)に支持されており、各リアクオータガラス34は、車体後側部に上下方向を開閉方向として移動可能(昇降可能)に支持されている。 The roof 30 is folded while moving from the unfolded state toward the rear side of the vehicle and stored in the storage portion at the rear of the vehicle body, and the roof 30 is unfolded while moving toward the front side of the vehicle from the state stored in the storage portion. It can be opened and closed so that it changes to the state in which it was used. Each front side glass 32 is supported by the front side door of the vehicle so as to be movable (up and down) in the vertical direction, and each rear quarter glass 34 can be moved to the rear side of the vehicle body in the vertical direction as the opening / closing direction. It is supported by (can be raised and lowered).

ルーフ用のモータ駆動部18は、ルーフ30を開閉させる構成である。FR席及びFL席のモータ駆動部20は、FR席及びFL席のフロントサイドガラス32をそれぞれ開閉方向に移動させる構成であり、RR席及びRL席のモータ駆動部20は、RR席及びRL席のリアクオータガラス34をそれぞれ開閉方向に移動させる構成である。 The motor drive unit 18 for the roof is configured to open and close the roof 30. The motor drive unit 20 of the FR seat and the FL seat has a configuration in which the front side glass 32 of the FR seat and the FL seat is moved in the opening / closing direction, respectively, and the motor drive unit 20 of the RR seat and the RL seat is the RR seat and the RL seat. The rear quarter glass 34 is configured to be moved in the opening / closing direction.

各パワーウィンドウECU16は、CPU40(Central Processing Unit)と、ROM42(Read Only Memory)と、RAM44(Random Access Memory)を有する。ROM42には、プログラム46が記憶されている。CPU40は、中央演算処理ユニット(コンピュータ)であり、ROM42に記憶されているプログラム46を読み出して実行するか、又は、プログラム46をRAM44に展開して実行する。RAM44は、「記憶部」の一例である。 Each power window ECU 16 has a CPU 40 (Central Processing Unit), a ROM 42 (Read Only Memory), and a RAM 44 (Random Access Memory). The program 46 is stored in the ROM 42. The CPU 40 is a central arithmetic processing unit (computer), and either reads out and executes the program 46 stored in the ROM 42, or expands and executes the program 46 in the RAM 44. The RAM 44 is an example of a "storage unit".

この各パワーウィンドウECU16は、パワーウィンドウスイッチ26の操作に応じて出力された信号を検出した場合に機能する機能部として、学習値記憶処理部50と、異常判定処理部60を有する。 Each power window ECU 16 has a learning value storage processing unit 50 and an abnormality determination processing unit 60 as functional units that function when a signal output in response to an operation of the power window switch 26 is detected.

学習値記憶処理部50は、開閉状態取得部51と、作動判定部52と、学習値取得部53と、開閉状態判定部54と、記憶処理部55を有する。異常判定処理部60は、開閉状態取得部61と、作動判定部62と、開閉状態判定部63と、学習値抽出部64と、閾値算出部65と、異常判定結果出力部66を有する。これらの機能部は、CPU40がプログラム46を実行することにより実現される。 The learning value storage processing unit 50 includes an open / close state acquisition unit 51, an operation determination unit 52, a learning value acquisition unit 53, an open / close state determination unit 54, and a storage processing unit 55. The abnormality determination processing unit 60 includes an open / close state acquisition unit 61, an operation determination unit 62, an open / close state determination unit 63, a learning value extraction unit 64, a threshold value calculation unit 65, and an abnormality determination result output unit 66. These functional units are realized by the CPU 40 executing the program 46.

ルーフ開閉検出器24は、ルーフ30の開閉状態を検出し、ルーフ制御ECU14は、ルーフ30の開閉状態に応じた信号をボデーECU12に出力する。ボデーECU12は、ルーフ制御ECU14から出力された信号を各パワーウィンドウECU16に出力する。 The roof open / close detector 24 detects the open / closed state of the roof 30, and the roof control ECU 14 outputs a signal corresponding to the open / closed state of the roof 30 to the body ECU 12. The body ECU 12 outputs the signal output from the roof control ECU 14 to each power window ECU 16.

図2は、図1のルーフ30、フロントサイドガラス32及びリアクオータガラス34の側面図である。ルーフ30、フロントサイドガラス32及びリアクオータガラス34は、互いに隣接して設けられている。フロントガラス28におけるフロントサイドガラス32との境界部、及び、ルーフ30におけるフロントサイドガラス32及びリアクオータガラス34との境界部には、ガラスラン36がそれぞれ設けられている。また、リアクオータガラス34におけるフロントサイドガラス32との境界部、すなわち、リアクオータガラス34の前端部34Aには、ガラスウェザストリップ38が設けられている。 FIG. 2 is a side view of the roof 30, the front side glass 32, and the rear quarter glass 34 of FIG. The roof 30, the front side glass 32, and the rear quarter glass 34 are provided adjacent to each other. A glass run 36 is provided at the boundary portion of the windshield 28 with the front side glass 32 and at the boundary portion between the front side glass 32 and the rear quarter glass 34 of the roof 30, respectively. Further, a glass weather strip 38 is provided at the boundary portion of the rear quarter glass 34 with the front side glass 32, that is, at the front end portion 34A of the rear quarter glass 34.

フロントサイドガラス32は、リアクオータガラス34の前端部34Aと平行な方向に沿って昇降し、リアクオータガラス34は、フロントサイドガラス32の後端部32Aに対して斜めの方向に沿って昇降する。 The front side glass 32 moves up and down along a direction parallel to the front end portion 34A of the rear quarter glass 34, and the rear quarter glass 34 moves up and down along a diagonal direction with respect to the rear end portion 32A of the front side glass 32.

図3には、図1のルーフ30及びリアクオータガラス34が閉状態でフロントサイドガラス32が上昇するときのモータ回転速度とパルスエッジ数との関係が示されている。モータ回転速度は、フロントサイドガラス32を昇降させるモータ駆動部20のモータ回転速度であり、パルスエッジ数は、パルス発生器から発生されたパルスのエッジ数である。 FIG. 3 shows the relationship between the motor rotation speed and the number of pulse edges when the roof 30 and the rear quarter glass 34 of FIG. 1 are closed and the front side glass 32 rises. The motor rotation speed is the motor rotation speed of the motor drive unit 20 that raises and lowers the front side glass 32, and the number of pulse edges is the number of edges of the pulse generated from the pulse generator.

図2、図3に示されるように、ルーフ30及びリアクオータガラス34が閉じた状態でフロントサイドガラス32が上昇するときには、フロントサイドガラス32が位置A、位置B、位置Cの順に上昇することに伴って、フロントサイドガラス32に作用するガラスラン36及びガラスウェザストリップ38との摺動抵抗が増加し、モータ回転速度が低下する。 As shown in FIGS. 2 and 3, when the front side glass 32 rises with the roof 30 and the rear quarter glass 34 closed, the front side glass 32 rises in the order of position A, position B, and position C. As a result, the sliding resistance between the glass run 36 and the glass weather strip 38 acting on the front side glass 32 increases, and the motor rotation speed decreases.

図4には、図1のルーフ30及びフロントサイドガラス32が閉状態でリアクオータガラス34が上昇するときのモータ回転速度とパルスエッジ数との関係が示されている。モータ回転速度は、リアクオータガラス34を昇降させるモータ駆動部20のモータ回転速度である。 FIG. 4 shows the relationship between the motor rotation speed and the number of pulse edges when the rear quarter glass 34 rises with the roof 30 and the front side glass 32 of FIG. 1 closed. The motor rotation speed is the motor rotation speed of the motor drive unit 20 that raises and lowers the rear quarter glass 34.

図2、図4に示されるように、ルーフ30及びフロントサイドガラス32が閉じた状態でリアクオータガラス34が上昇するときには、リアクオータガラス34が位置A、位置B、位置Cの順に上昇することに伴って、リアクオータガラス34に作用するガラスラン36及びフロントサイドガラス32との摺動抵抗が増加し、モータ回転速度が低下する。 As shown in FIGS. 2 and 4, when the rear quarter glass 34 rises with the roof 30 and the front side glass 32 closed, the rear quarter glass 34 rises in the order of position A, position B, and position C. Along with this, the sliding resistance between the glass run 36 and the front side glass 32 acting on the rear quarter glass 34 increases, and the motor rotation speed decreases.

なお、ルーフ30が閉じた状態とは、ルーフ30が全閉した状態に相当する。ルーフ30が閉じた状態では、フロントサイドガラス32及びリアクオータガラス34が昇降するときにガラスラン36との摺動抵抗がフロントサイドガラス32及びリアクオータガラス34に作用する。 The state in which the roof 30 is closed corresponds to the state in which the roof 30 is fully closed. When the roof 30 is closed, sliding resistance with the glass run 36 acts on the front side glass 32 and the rear quarter glass 34 when the front side glass 32 and the rear quarter glass 34 move up and down.

一方、ルーフ30が開いた状態とは、ルーフ30が半開又は全開した状態に相当する。ルーフ30が開いた状態では、フロントサイドガラス32及びリアクオータガラス34が昇降するときにガラスラン36との摺動抵抗がフロントサイドガラス32及びリアクオータガラス34に作用しない。 On the other hand, the state in which the roof 30 is open corresponds to the state in which the roof 30 is half-opened or fully opened. When the roof 30 is open, the sliding resistance with the glass run 36 does not act on the front side glass 32 and the rear quarter glass 34 when the front side glass 32 and the rear quarter glass 34 move up and down.

また、フロントサイドガラス32が閉じた状態とは、フロントサイドガラス32が全閉した状態に相当する。フロントサイドガラス32が閉じた状態では、リアクオータガラス34が昇降するときにフロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用する。 Further, the state in which the front side glass 32 is closed corresponds to the state in which the front side glass 32 is fully closed. When the front side glass 32 is closed, the sliding resistance with the front side glass 32 acts on the rear quarter glass 34 when the rear quarter glass 34 moves up and down.

一方、フロントサイドガラス32が開いた状態とは、フロントサイドガラス32が全開した状態に加えて、リアクオータガラス34が昇降するときにフロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用しない程度の開度でフロントサイドガラス32が開いた状態も相当する。フロントサイドガラス32が開いた状態では、リアクオータガラス34が昇降するときにフロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用しない。 On the other hand, the state in which the front side glass 32 is fully opened means that the front side glass 32 is fully opened and the sliding resistance with the front side glass 32 does not act on the rear quarter glass 34 when the rear quarter glass 34 moves up and down. The state in which the front side glass 32 is opened by the opening degree also corresponds to this. When the front side glass 32 is open, the sliding resistance with the front side glass 32 does not act on the rear quarter glass 34 when the rear quarter glass 34 moves up and down.

また、リアクオータガラス34が閉じた状態とは、リアクオータガラス34が全閉した状態に相当する。リアクオータガラス34が閉じた状態では、フロントサイドガラス32が昇降するときにガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用する。 Further, the state in which the rear quarter glass 34 is closed corresponds to the state in which the rear quarter glass 34 is fully closed. When the rear quarter glass 34 is closed, sliding resistance with the glass weather strip 38 acts on the front side glass 32 when the front side glass 32 moves up and down.

一方、リアクオータガラス34が開いた状態とは、リアクオータガラス34が全開した状態に加えて、フロントサイドガラス32が昇降するときにガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用しない程度の開度でリアクオータガラス34が開いた状態も相当する。リアクオータガラス34が開いた状態では、フロントサイドガラス32が昇降するときにガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用しない。 On the other hand, the state in which the rear quarter glass 34 is fully opened means that the rear quarter glass 34 is fully opened and the sliding resistance with the glass weather strip 38 does not act on the front side glass 32 when the front side glass 32 moves up and down. It also corresponds to the state in which the rear quarter glass 34 is opened at the opening degree of. When the rear quarter glass 34 is open, the sliding resistance with the glass weather strip 38 does not act on the front side glass 32 when the front side glass 32 moves up and down.

図5は、図1のフロントサイドガラス32が上昇するときにルーフ30及びリアクオータガラス34の各々の開閉状態に応じてモータ回転速度が変化することを説明する図である。 FIG. 5 is a diagram illustrating that the motor rotation speed changes according to the open / closed state of each of the roof 30 and the rear quarter glass 34 when the front side glass 32 of FIG. 1 rises.

図5(A)に示されるように、ルーフ30及びリアクオータガラス34が閉じた状態でフロントサイドガラス32が上昇するときには、ガラスラン36及びガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用する。そして、ガラスラン36及びガラスウェザストリップ38との摺動抵抗が作用しない場合に比して、ガラスウェザストリップ38との摺動抵抗による影響(1)、及び、ガラスラン36との摺動抵抗による影響(2)により、それぞれモータ回転速度が低下する。 As shown in FIG. 5A, when the front side glass 32 rises with the roof 30 and the rear quarter glass 34 closed, the sliding resistance between the glass run 36 and the glass weather strip 38 acts on the front side glass 32. do. Then, as compared with the case where the sliding resistance with the glass run 36 and the glass weather strip 38 does not act, the influence of the sliding resistance with the glass weather strip 38 (1) and the sliding resistance with the glass run 36 cause. Due to the influence (2), the rotation speed of each motor decreases.

また、図5(B)に示されるように、ルーフ30が閉じた状態及びリアクオータガラス34が開いた状態でフロントサイドガラス32が上昇するときには、ガラスラン36との摺動抵抗がフロントサイドガラス32に作用する。そして、ガラスラン36との摺動抵抗が作用しない場合に比して、ガラスラン36との摺動抵抗による影響(2)により、モータ回転速度が低下する。 Further, as shown in FIG. 5B, when the front side glass 32 rises when the roof 30 is closed and the rear quarter glass 34 is open, the sliding resistance with the glass run 36 is increased on the front side glass 32. It works. Then, as compared with the case where the sliding resistance with the glass run 36 does not act, the motor rotation speed is lowered due to the influence (2) of the sliding resistance with the glass run 36.

また、図5(C)に示されるように、ルーフ30が開いた状態及びリアクオータガラス34が閉じた状態でフロントサイドガラス32が上昇するときには、ガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用する。そして、ガラスウェザストリップ38との摺動抵抗が作用しない場合に比して、ガラスウェザストリップ38との摺動抵抗による影響(1)により、モータ回転速度が低下する。 Further, as shown in FIG. 5C, when the front side glass 32 rises with the roof 30 open and the rear quarter glass 34 closed, the sliding resistance with the glass weather strip 38 increases with the front side glass 32. Acts on. Then, the motor rotation speed is lowered due to the influence (1) of the sliding resistance with the glass weather strip 38 as compared with the case where the sliding resistance with the glass weather strip 38 does not act.

また、図5(D)に示されるように、ルーフ30及びリアクオータガラス34が開いた状態でフロントサイドガラス32が上昇するときには、ガラスラン36及びガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用しない。したがって、ガラスラン36及びガラスウェザストリップ38との摺動抵抗による影響がないので、モータ回転速度の低下が抑制される。 Further, as shown in FIG. 5D, when the front side glass 32 rises with the roof 30 and the rear quarter glass 34 open, the sliding resistance between the glass run 36 and the glass weather strip 38 increases with the front side glass 32. Does not work on. Therefore, since there is no influence due to the sliding resistance between the glass run 36 and the glass weather strip 38, the decrease in the motor rotation speed is suppressed.

図6は、図1のフロントサイドガラス32が下降するときにルーフ30及びリアクオータガラス34の各々の開閉状態に応じてモータ回転速度が変化することを説明する図である。 FIG. 6 is a diagram illustrating that the motor rotation speed changes according to the open / closed state of each of the roof 30 and the rear quarter glass 34 when the front side glass 32 of FIG. 1 is lowered.

図6(A)に示されるように、ルーフ30及びリアクオータガラス34が閉じた状態でフロントサイドガラス32が下降するときには、ガラスラン36及びガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用する。そして、ガラスラン36及びガラスウェザストリップ38との摺動抵抗が作用しない場合に比して、ガラスラン36との摺動抵抗による影響(1)、及び、ガラスウェザストリップ38との摺動抵抗による影響(2)により、それぞれモータ回転速度が低下する。 As shown in FIG. 6A, when the front side glass 32 is lowered with the roof 30 and the rear quarter glass 34 closed, the sliding resistance between the glass run 36 and the glass weather strip 38 acts on the front side glass 32. do. Then, as compared with the case where the sliding resistance with the glass run 36 and the glass weather strip 38 does not act, the influence of the sliding resistance with the glass run 36 (1) and the sliding resistance with the glass weather strip 38 cause it. Due to the influence (2), the rotation speed of each motor decreases.

また、図6(B)に示されるように、ルーフ30が閉じた状態及びリアクオータガラス34が開いた状態でフロントサイドガラス32が下降するときには、ガラスラン36との摺動抵抗がフロントサイドガラス32に作用する。そして、ガラスラン36との摺動抵抗が作用しない場合に比して、ガラスラン36との摺動抵抗による影響(1)により、モータ回転速度が低下する。 Further, as shown in FIG. 6B, when the front side glass 32 is lowered with the roof 30 closed and the rear quarter glass 34 open, the sliding resistance with the glass run 36 is applied to the front side glass 32. It works. Then, as compared with the case where the sliding resistance with the glass run 36 does not act, the motor rotation speed is lowered due to the influence (1) of the sliding resistance with the glass run 36.

また、図6(C)に示されるように、ルーフ30が開いた状態及びリアクオータガラス34が閉じた状態でフロントサイドガラス32が下降するときには、ガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用する。そして、ガラスウェザストリップ38との摺動抵抗が作用しない場合に比して、ガラスウェザストリップ38との摺動抵抗による影響(2)により、モータ回転速度が低下する。 Further, as shown in FIG. 6C, when the front side glass 32 is lowered with the roof 30 open and the rear quarter glass 34 closed, the sliding resistance with the glass weather strip 38 becomes the front side glass 32. Acts on. Then, as compared with the case where the sliding resistance with the glass weather strip 38 does not act, the motor rotation speed is lowered due to the influence (2) of the sliding resistance with the glass weather strip 38.

また、図6(D)に示されるように、ルーフ30及びリアクオータガラス34が開いた状態でフロントサイドガラス32が下降するときには、ガラスラン36及びガラスウェザストリップ38との摺動抵抗がフロントサイドガラス32に作用しない。したがって、ガラスラン36及びガラスウェザストリップ38との摺動抵抗による影響がないので、モータ回転速度の低下が抑制される。 Further, as shown in FIG. 6D, when the front side glass 32 is lowered with the roof 30 and the rear quarter glass 34 open, the sliding resistance between the glass run 36 and the glass weather strip 38 is increased by the front side glass 32. Does not work on. Therefore, since there is no influence due to the sliding resistance between the glass run 36 and the glass weather strip 38, the decrease in the motor rotation speed is suppressed.

図7は、図1のリアクオータガラス34が上昇するときにルーフ30及びフロントサイドガラス32の各々の開閉状態に応じてモータ回転速度が変化することを説明する図である。 FIG. 7 is a diagram illustrating that the motor rotation speed changes according to the open / closed state of each of the roof 30 and the front side glass 32 when the rear quarter glass 34 of FIG. 1 rises.

図7(A)に示されるように、ルーフ30及びフロントサイドガラス32が閉じた状態でリアクオータガラス34が上昇するときには、ガラスラン36及びフロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用する。そして、ガラスラン36及びフロントサイドガラス32との摺動抵抗が作用しない場合に比して、ガラスラン36との摺動抵抗による影響(1)、及び、フロントサイドガラス32との摺動抵抗による影響(2)により、それぞれモータ回転速度が低下する。 As shown in FIG. 7A, when the rear quarter glass 34 rises with the roof 30 and the front side glass 32 closed, the sliding resistance between the glass run 36 and the front side glass 32 acts on the rear quarter glass 34. do. The effect of the sliding resistance with the glass run 36 (1) and the effect of the sliding resistance with the front side glass 32 (1) as compared with the case where the sliding resistance with the glass run 36 and the front side glass 32 does not act. 2) causes the motor rotation speed to decrease.

また、図7(B)に示されるように、ルーフ30が閉じた状態及びフロントサイドガラス32が開いた状態でリアクオータガラス34が上昇するときには、ガラスラン36との摺動抵抗がリアクオータガラス34に作用する。そして、ガラスラン36との摺動抵抗が作用しない場合に比して、ガラスラン36との摺動抵抗による影響(1)により、モータ回転速度が低下する。 Further, as shown in FIG. 7B, when the rear quarter glass 34 rises with the roof 30 closed and the front side glass 32 open, the sliding resistance with the glass run 36 increases with the rear quarter glass 34. Acts on. Then, as compared with the case where the sliding resistance with the glass run 36 does not act, the motor rotation speed is lowered due to the influence (1) of the sliding resistance with the glass run 36.

また、図7(C)に示されるように、ルーフ30が開いた状態及びフロントサイドガラス32が閉じた状態でリアクオータガラス34が上昇するときには、フロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用する。そして、フロントサイドガラス32との摺動抵抗が作用しない場合に比して、フロントサイドガラス32との摺動抵抗による影響(2)により、モータ回転速度が低下する。 Further, as shown in FIG. 7C, when the rear quarter glass 34 rises with the roof 30 open and the front side glass 32 closed, the sliding resistance with the front side glass 32 increases with the rear quarter glass 34. Acts on. Then, the motor rotation speed is lowered due to the influence (2) of the sliding resistance with the front side glass 32 as compared with the case where the sliding resistance with the front side glass 32 does not act.

また、図7(D)に示されるように、ルーフ30及びフロントサイドガラス32が開いた状態でリアクオータガラス34が上昇するときには、ガラスラン36及びフロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用しない。したがって、ガラスラン36及びフロントサイドガラス32との摺動抵抗による影響がないので、モータ回転速度の低下が抑制される。 Further, as shown in FIG. 7D, when the rear quarter glass 34 rises with the roof 30 and the front side glass 32 open, the sliding resistance between the glass run 36 and the front side glass 32 increases with the rear quarter glass 34. Does not work on. Therefore, since there is no influence due to the sliding resistance between the glass run 36 and the front side glass 32, the decrease in the motor rotation speed is suppressed.

図8は、図1のリアクオータガラス34が下降するときにルーフ30及びフロントサイドガラス32の各々の開閉状態に応じてモータ回転速度が変化することを説明する図である。 FIG. 8 is a diagram illustrating that the motor rotation speed changes according to the open / closed state of each of the roof 30 and the front side glass 32 when the rear quarter glass 34 of FIG. 1 is lowered.

図8(A)に示されるように、ルーフ30及びフロントサイドガラス32が閉じた状態でリアクオータガラス34が下降するときには、ガラスラン36及びフロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用する。そして、ガラスラン36及びフロントサイドガラス32との摺動抵抗が作用しない場合に比して、フロントサイドガラス32との摺動抵抗による影響(1)、及び、ガラスラン36との摺動抵抗による影響(2)により、それぞれモータ回転速度が低下する。 As shown in FIG. 8A, when the rear quarter glass 34 is lowered with the roof 30 and the front side glass 32 closed, the sliding resistance between the glass run 36 and the front side glass 32 acts on the rear quarter glass 34. do. The effect of the sliding resistance with the front side glass 32 (1) and the effect of the sliding resistance with the glass run 36 (1) as compared with the case where the sliding resistance with the glass run 36 and the front side glass 32 does not act. 2) causes the motor rotation speed to decrease.

また、図8(B)に示されるように、ルーフ30が閉じた状態及びフロントサイドガラス32が開いた状態でリアクオータガラス34が下降するときには、ガラスラン36との摺動抵抗がリアクオータガラス34に作用する。そして、ガラスラン36との摺動抵抗が作用しない場合に比して、ガラスラン36との摺動抵抗による影響(2)により、モータ回転速度が低下する。 Further, as shown in FIG. 8B, when the rear quarter glass 34 is lowered with the roof 30 closed and the front side glass 32 open, the sliding resistance with the glass run 36 becomes the rear quarter glass 34. Acts on. Then, as compared with the case where the sliding resistance with the glass run 36 does not act, the motor rotation speed is lowered due to the influence (2) of the sliding resistance with the glass run 36.

また、図8(C)に示されるように、ルーフ30が開いた状態及びフロントサイドガラス32が閉じた状態でリアクオータガラス34が下降するときには、フロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用する。そして、フロントサイドガラス32との摺動抵抗が作用しない場合に比して、フロントサイドガラス32との摺動抵抗による影響(1)により、モータ回転速度が低下する。 Further, as shown in FIG. 8C, when the rear quarter glass 34 is lowered with the roof 30 open and the front side glass 32 closed, the sliding resistance with the front side glass 32 becomes the rear quarter glass 34. Acts on. Then, the motor rotation speed is lowered due to the influence (1) of the sliding resistance with the front side glass 32 as compared with the case where the sliding resistance with the front side glass 32 does not act.

また、図8(D)に示されるように、ルーフ30及びフロントサイドガラス32が開いた状態でリアクオータガラス34が下降するときには、ガラスラン36及びフロントサイドガラス32との摺動抵抗がリアクオータガラス34に作用しない。したがって、ガラスラン36及びフロントサイドガラス32との摺動抵抗による影響がないので、モータ回転速度の低下が抑制される。 Further, as shown in FIG. 8D, when the rear quarter glass 34 is lowered with the roof 30 and the front side glass 32 open, the sliding resistance between the glass run 36 and the front side glass 32 is the rear quarter glass 34. Does not work on. Therefore, since there is no influence due to the sliding resistance between the glass run 36 and the front side glass 32, the decrease in the motor rotation speed is suppressed.

次に、第一実施形態に係る開閉体制御装置10における挟み込み検出処理の一例について説明する。 Next, an example of the pinch detection process in the open / close body control device 10 according to the first embodiment will be described.

挟み込み検出処理では、挟み込み学習値記憶処理と、挟み込み判定処理が実行される。挟み込み学習値記憶処理は、学習値記憶処理部50によって実行され、挟み込み判定処理は、異常判定処理部60によって実行される。挟み込み学習値記憶処理は、「学習値記憶処理」の一例であり、挟み込み判定処理は、「異常判定処理」の一例である。図9には、挟み込み学習値記憶処理の流れが示されており、図10には、挟み込み判定処理の流れが示されている。 In the pinch detection process, the pinch learning value storage process and the pinch determination process are executed. The sandwiched learning value storage process is executed by the learning value storage processing unit 50, and the sandwiching determination process is executed by the abnormality determination processing unit 60. The pinch learning value storage process is an example of "learning value storage process", and the pinch determination process is an example of "abnormality determination process". FIG. 9 shows the flow of the sandwich learning value storage process, and FIG. 10 shows the flow of the sandwich determination process.

本例では、一例として、FR席のフロントサイドガラス32が上昇するときの挟み込みを検出する例について説明する。図9、図10において、「対象となるガラス」は、FR席のフロントサイドガラス32であり、「前後に隣接するガラス」は、RR席のリアクオータガラス34である。また、本例において、ルーフ30は、「第一開閉体」に相当し、RR席のリアクオータガラス34は、「第二開閉体」に相当し、FR席のフロントサイドガラス32は、「第三開閉体」に相当する。 In this example, as an example, an example of detecting pinching when the front side glass 32 of the FR seat rises will be described. In FIGS. 9 and 10, the “target glass” is the front side glass 32 of the FR seat, and the “glass adjacent to the front and rear” is the rear quarter glass 34 of the RR seat. Further, in this example, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RR seat corresponds to the "second opening / closing body", and the front side glass 32 of the FR seat corresponds to the "third". It corresponds to "opening and closing body".

(挟み込み学習値記憶処理のステップS1-1:開閉状態取得処理)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から閉操作に応じて出力された信号を検出すると、図9に示される挟み込み学習値記憶処理を開始する。ステップS1-1では、FR席のパワーウィンドウECU16のCPU40(開閉状態取得部51)が、ルーフ制御ECU14から出力された信号に基づいてルーフ30の開閉状態を取得する。
(Step S1-1 of sandwich learning value storage process 1: open / closed state acquisition process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the closing operation, the pinch learning value storage process shown in FIG. 9 is started. In step S1-1, the CPU 40 (open / close state acquisition unit 51) of the power window ECU 16 in the FR seat acquires the open / closed state of the roof 30 based on the signal output from the roof control ECU 14.

(挟み込み学習値記憶処理のステップS1-2:開閉状態取得処理)
ステップS1-2では、FR席のパワーウィンドウECU16のCPU40(開閉状態取得部51)が、RR席のパワーウィンドウECU16から出力された信号に基づいてリアクオータガラス34の開閉状態を取得する。
(Step S1-2 of sandwich learning value storage process: open / close state acquisition process)
In step S1-2, the CPU 40 (open / closed state acquisition unit 51) of the power window ECU 16 in the FR seat acquires the open / closed state of the rear quarter glass 34 based on the signal output from the power window ECU 16 in the RR seat.

(挟み込み学習値記憶処理のステップS2:作動判定処理)
ステップS2では、FR席のパワーウィンドウECU16のCPU40(作動判定部52)が、FR席のモータ駆動部20の作動状態を判定する。ここで、CPU40(作動判定部52)は、FR席のモータ駆動部20が閉作動状態ではなく異常停止状態であると判定した場合には、一連の処理を終了する。一方、CPU40(作動判定部52)は、FR席のモータ駆動部20が閉作動状態であると判定した場合には、ステップS3に移行する。
(Step S2 of sandwich learning value storage process: operation determination process)
In step S2, the CPU 40 (operation determination unit 52) of the power window ECU 16 in the FR seat determines the operating state of the motor drive unit 20 in the FR seat. Here, when the CPU 40 (operation determination unit 52) determines that the motor drive unit 20 in the FR seat is not in the closed operation state but in the abnormal stop state, the CPU 40 ends a series of processes. On the other hand, when the CPU 40 (operation determination unit 52) determines that the motor drive unit 20 in the FR seat is in the closed operation state, the process proceeds to step S3.

(挟み込み学習値記憶処理のステップS3:学習値取得処理)
ステップS3では、FR席のパワーウィンドウECU16のCPU40(学習値取得部53)が、FR席のモータ駆動部20から出力された信号に基づいてフロントサイドガラス32における移動位置毎のモータ回転速度を学習値として取得する。この学習値としてのモータ回転速度は、フロントサイドガラス32における移動位置毎の移動速度に対応しており、「第三開閉体の移動位置毎の移動速度に応じた学習値」に相当する。
(Step S3 of sandwiched learning value storage process: learning value acquisition process)
In step S3, the CPU 40 (learning value acquisition unit 53) of the power window ECU 16 in the FR seat learns the motor rotation speed for each movement position in the front side glass 32 based on the signal output from the motor drive unit 20 in the FR seat. Get as. The motor rotation speed as the learning value corresponds to the moving speed for each moving position on the front side glass 32, and corresponds to the "learning value according to the moving speed for each moving position of the third opening / closing body".

(挟み込み学習値記憶処理のステップS4:開閉状態判定処理)
ステップS4では、FR席のパワーウィンドウECU16のCPU40(開閉状態判定部54)が、上述のステップS1-1及びステップS1-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態を判定する。
(Step S4 of sandwich learning value storage process: open / close state determination process)
In step S4, the CPU 40 (open / close state determination unit 54) of the power window ECU 16 in the FR seat determines the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired in steps S1-1 and S1-2 described above. do.

(挟み込み学習値記憶処理のステップS5:記憶処理)
ステップS5では、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)が、上述のステップS4の判定結果に基づき、ステップS1-1及びステップS1-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて学習値をRAM44に記憶させる。
(Step S5 of sandwich learning value storage processing: storage processing)
In step S5, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat has the roof 30 and the rear quarter glass 34 acquired in steps S1-1 and S1-2 based on the determination result of step S4 described above. The learning value is stored in the RAM 44 in association with each open / closed state of.

つまり、ルーフ30が閉状態でリアクオータガラス34が閉状態である場合、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)は、ステップS5-1を実行する。そして、CPU40(記憶処理部55)は、フロントサイドガラス32の移動位置毎の学習値であるモータ回転速度を、ルーフ30の閉状態及びリアクオータガラス34の閉状態と関連付けて、RAM44の第一記憶領域に記憶させる。 That is, when the roof 30 is closed and the rear quarter glass 34 is closed, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat executes step S5-1. Then, the CPU 40 (storage processing unit 55) associates the motor rotation speed, which is a learning value for each moving position of the front side glass 32, with the closed state of the roof 30 and the closed state of the rear quarter glass 34, and first stores the RAM 44. Store in the area.

また、ルーフ30が閉状態でリアクオータガラス34が開状態である場合、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)は、ステップS5-2を実行する。そして、CPU40(記憶処理部55)は、フロントサイドガラス32の移動位置毎の学習値であるモータ回転速度を、ルーフ30の閉状態及びリアクオータガラス34の開状態と関連付けて、RAM44の第二記憶領域に記憶させる。 When the roof 30 is closed and the rear quarter glass 34 is open, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat executes step S5-2. Then, the CPU 40 (storage processing unit 55) associates the motor rotation speed, which is a learning value for each moving position of the front side glass 32, with the closed state of the roof 30 and the open state of the rear quarter glass 34, and stores the second RAM 44. Store in the area.

また、ルーフ30が開状態でリアクオータガラス34が閉状態である場合、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)は、ステップS5-3を実行する。そして、CPU40(記憶処理部55)は、フロントサイドガラス32の移動位置毎の学習値であるモータ回転速度を、ルーフ30の開状態及びリアクオータガラス34の閉状態と関連付けて、RAM44の第三記憶領域に記憶させる。 When the roof 30 is open and the rear quarter glass 34 is closed, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat executes step S5-3. Then, the CPU 40 (storage processing unit 55) associates the motor rotation speed, which is a learning value for each moving position of the front side glass 32, with the open state of the roof 30 and the closed state of the rear quarter glass 34, and stores the third memory of the RAM 44. Store in the area.

また、ルーフ30が開状態でリアクオータガラス34が開状態である場合、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)は、ステップS5-4を実行する。そして、CPU40(記憶処理部55)は、フロントサイドガラス32の移動位置毎の学習値であるモータ回転速度を、ルーフ30の開状態及びリアクオータガラス34の開状態と関連付けて、RAM44の第四記憶領域に記憶させる。 When the roof 30 is open and the rear quarter glass 34 is open, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat executes step S5-4. Then, the CPU 40 (storage processing unit 55) associates the motor rotation speed, which is a learning value for each moving position of the front side glass 32, with the open state of the roof 30 and the open state of the rear quarter glass 34, and stores the fourth memory of the RAM 44. Store in the area.

ルーフ30が閉状態でリアクオータガラス34が閉状態である場合、ルーフ30が閉状態でリアクオータガラス34が開状態である場合、ルーフ30が開状態でリアクオータガラス34が閉状態である場合、ルーフ30が開状態でリアクオータガラス34が開状態である場合のそれぞれの場合に、フロントサイドガラス32が上昇されると、RAM44の第一乃至第四記憶領域に、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて学習値が記憶される。RAM44には、上述の挟み込み学習値記憶処理が実行される毎に新しい学習値が記憶される。 When the roof 30 is closed and the rear quarter glass 34 is closed, when the roof 30 is closed and the rear quarter glass 34 is open, and when the roof 30 is open and the rear quarter glass 34 is closed. When the front side glass 32 is raised in each case where the roof 30 is in the open state and the rear quarter glass 34 is in the open state, the roof 30 and the rear quarter glass 34 are stored in the first to fourth storage areas of the RAM 44. The learning value is stored in association with each open / closed state of. A new learning value is stored in the RAM 44 each time the above-mentioned sandwich learning value storage process is executed.

続いて、挟み込み判定処理について説明する。挟み込み判定処理は、上述の挟み込み学習値記憶処理が実行された回の後の回(好ましくは、次の回)におけるフロントサイドガラス32の上昇時に実行される。なお、挟み込み判定処理が実行されると同時に、この挟み込み判定処理が実行される回の次の回の挟み込み学習値記憶処理が実行される。 Subsequently, the pinch determination process will be described. The pinch determination process is executed when the front side glass 32 is raised in a round (preferably the next round) after the pinch learning value storage process is executed. At the same time as the pinch determination process is executed, the pinch learning value storage process is executed the next time after the pinch determination process is executed.

(挟み込み判定処理のステップS11-1:開閉状態取得処理)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から閉操作に応じて出力された信号を検出すると、図10に示される挟み込み判定処理を開始する。ステップS11-1では、FR席のパワーウィンドウECU16のCPU40(開閉状態取得部61)が、ルーフ制御ECU14から出力された信号に基づいてルーフ30の開閉状態を取得する。
(Step S11-1 of pinch determination process: open / closed state acquisition process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the closing operation, the pinch determination process shown in FIG. 10 is started. In step S11-1, the CPU 40 (open / close state acquisition unit 61) of the power window ECU 16 in the FR seat acquires the open / closed state of the roof 30 based on the signal output from the roof control ECU 14.

(挟み込み判定処理のステップS11-2:開閉状態取得処理)
ステップS11-2では、FR席のパワーウィンドウECU16のCPU40(開閉状態取得部61)が、RR席のパワーウィンドウECU16から出力された信号に基づいてリアクオータガラス34の開閉状態を取得する。
(Step S11-2 of pinch determination process: open / closed state acquisition process)
In step S11-2, the CPU 40 (open / closed state acquisition unit 61) of the power window ECU 16 in the FR seat acquires the open / closed state of the rear quarter glass 34 based on the signal output from the power window ECU 16 in the RR seat.

(挟み込み判定処理のステップS12:作動判定処理)
ステップS12では、FR席のパワーウィンドウECU16のCPU40(作動判定部62)が、FR席のモータ駆動部20の作動状態を判定する。ここで、CPU40(作動判定部62)は、FR席のモータ駆動部20が閉作動状態ではなく異常停止状態であると判定した場合には、一連の処理を終了する。一方、CPU40(作動判定部62)は、FR席のモータ駆動部20が閉作動状態であると判定した場合には、ステップS13に移行する。
(Step S12 of pinch determination process: operation determination process)
In step S12, the CPU 40 (operation determination unit 62) of the power window ECU 16 in the FR seat determines the operating state of the motor drive unit 20 in the FR seat. Here, when the CPU 40 (operation determination unit 62) determines that the motor drive unit 20 in the FR seat is not in the closed operation state but in the abnormal stop state, the CPU 40 ends a series of processes. On the other hand, when the CPU 40 (operation determination unit 62) determines that the motor drive unit 20 in the FR seat is in the closed operation state, the process proceeds to step S13.

(挟み込み判定処理のステップS13:開閉状態判定処理)
ステップS13では、FR席のパワーウィンドウECU16のCPU40(開閉状態判定部63)が、上述のステップS11-1及びステップS11-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態を判定する。
(Step S13 of pinch determination process: open / close state determination process)
In step S13, the CPU 40 (open / close state determination unit 63) of the power window ECU 16 in the FR seat determines the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired in steps S11-1 and S11-2 described above. do.

(挟み込み判定処理のステップS14:学習値抽出処理)
ステップS14では、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)が、上述のステップS13の判定結果に応じた学習値をRAM44から抽出する。
(Step S14 of pinch determination process: learning value extraction process)
In step S14, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat extracts the learning value according to the determination result of the above-mentioned step S13 from the RAM 44.

つまり、ルーフ30が閉状態でリアクオータガラス34が閉状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)は、ステップS14-1を実行する。そして、CPU40(学習値抽出部64)は、ルーフ30の閉状態及びリアクオータガラス34の閉状態に関連付けてRAM44の第一記憶領域に記憶された学習値であるフロントサイドガラス32における移動位置毎のモータ回転速度を抽出する。 That is, when it is determined that the roof 30 is in the closed state and the rear quarter glass 34 is in the closed state, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat executes step S14-1. Then, the CPU 40 (learning value extraction unit 64) is used for each movement position in the front side glass 32, which is a learning value stored in the first storage area of the RAM 44 in association with the closed state of the roof 30 and the closed state of the rear quarter glass 34. Extract the motor rotation speed.

また、ルーフ30が閉状態でリアクオータガラス34が開状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)は、ステップS14-2を実行する。そして、CPU40(学習値抽出部64)は、ルーフ30の閉状態及びリアクオータガラス34の開状態に関連付けてRAM44の第二記憶領域に記憶された学習値であるフロントサイドガラス32における移動位置毎のモータ回転速度を抽出する。 When it is determined that the roof 30 is closed and the rear quarter glass 34 is open, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat executes step S14-2. Then, the CPU 40 (learning value extraction unit 64) is used for each movement position in the front side glass 32, which is a learning value stored in the second storage area of the RAM 44 in association with the closed state of the roof 30 and the open state of the rear quarter glass 34. Extract the motor rotation speed.

また、ルーフ30が開状態でリアクオータガラス34が閉状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)は、ステップS14-3を実行する。そして、CPU40(学習値抽出部64)は、ルーフ30の開状態及びリアクオータガラス34の閉状態に関連付けてRAM44の第三記憶領域に記憶された学習値であるフロントサイドガラス32における移動位置毎のモータ回転速度を抽出する。 When it is determined that the roof 30 is in the open state and the rear quarter glass 34 is in the closed state, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat executes step S14-3. Then, the CPU 40 (learning value extraction unit 64) is used for each movement position in the front side glass 32, which is a learning value stored in the third storage area of the RAM 44 in association with the open state of the roof 30 and the closed state of the rear quarter glass 34. Extract the motor rotation speed.

また、ルーフ30が開状態でリアクオータガラス34が開状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)は、ステップS14-4を実行する。そして、CPU40(学習値抽出部64)は、ルーフ30の開状態及びリアクオータガラス34の開状態に関連付けてRAM44の第四記憶領域に記憶された学習値であるフロントサイドガラス32における移動位置毎のモータ回転速度を抽出する。 When it is determined that the roof 30 is in the open state and the rear quarter glass 34 is in the open state, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat executes step S14-4. Then, the CPU 40 (learning value extraction unit 64) is used for each movement position in the front side glass 32, which is a learning value stored in the fourth storage area of the RAM 44 in association with the open state of the roof 30 and the open state of the rear quarter glass 34. Extract the motor rotation speed.

(挟み込み判定処理のステップS15:閾値算出処理)
ステップS15では、FR席のパワーウィンドウECU16のCPU40(閾値算出部65)が、上述のステップS14で抽出された学習値及び予め定められた補正値に基づいて、フロントサイドガラス32の移動位置毎の閾値を算出する。すなわち、CPU40(閾値算出部65)は、フロントサイドガラス32における移動位置毎の学習値であるモータ回転速度から、予め定められた補正値であるモータ回転速度を減算して閾値を算出する。予め定められた補正値は、挟み込みを検出するために定められる任意の値である。
(Step S15 of pinch determination process: threshold value calculation process)
In step S15, the CPU 40 (threshold value calculation unit 65) of the power window ECU 16 in the FR seat determines the threshold value for each moving position of the front side glass 32 based on the learning value extracted in step S14 and the predetermined correction value. Is calculated. That is, the CPU 40 (threshold value calculation unit 65) calculates the threshold value by subtracting the motor rotation speed, which is a predetermined correction value, from the motor rotation speed, which is a learning value for each moving position on the front side glass 32. The predetermined correction value is an arbitrary value determined to detect the pinch.

(挟み込み判定処理のステップS16:異常判定結果出力処理)
ステップS16では、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部66)が、フロントサイドガラス32における移動位置毎に、FR席のモータ駆動部20から出力された信号に基づいてモータ回転速度を検出値として検出する。このモータ回転速度は、フロントサイドガラス32の移動速度に対応しており、「第三開閉体の移動速度に応じた検出値」に相当する。
(Step S16 of pinch determination process: abnormality determination result output process)
In step S16, the CPU 40 (abnormality determination result output unit 66) of the power window ECU 16 in the FR seat determines the motor rotation speed based on the signal output from the motor drive unit 20 in the FR seat for each movement position on the front side glass 32. Detect as a detection value. This motor rotation speed corresponds to the moving speed of the front side glass 32, and corresponds to the "detection value according to the moving speed of the third opening / closing body".

そして、CPU40(異常判定結果出力部66)は、上述のステップS15で算出された閾値と検出値とを比較し、この比較した結果を挟み込み判定結果(異常判定結果)として出力する。このとき、検出値が閾値以上である場合、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部66)は、挟み込み無しとする挟み込み判定結果を出力する。一方、検出値が閾値未満である場合、CPU40(異常判定結果出力部66)は、挟み込み有りとする挟み込み判定結果を出力する。 Then, the CPU 40 (abnormality determination result output unit 66) compares the threshold value calculated in step S15 above with the detected value, and outputs the comparison result as a sandwiching determination result (abnormality determination result). At this time, when the detected value is equal to or higher than the threshold value, the CPU 40 (abnormality determination result output unit 66) of the power window ECU 16 in the FR seat outputs the pinching determination result without pinching. On the other hand, when the detected value is less than the threshold value, the CPU 40 (abnormality determination result output unit 66) outputs the pinching determination result indicating that there is pinching.

CPU40(異常判定結果出力部66)によって挟み込み有りとする挟み込み判定結果が出力された場合、FR席のパワーウィンドウECU16は、FR席のモータ駆動部20を反転動作させる。これにより、フロントサイドガラス32が下降し、挟み込みが防止される。 When the pinching determination result indicating that there is pinching is output by the CPU 40 (abnormality determination result output unit 66), the power window ECU 16 in the FR seat reverses the motor drive unit 20 in the FR seat. As a result, the front side glass 32 is lowered to prevent pinching.

(作用効果)
以上詳述した通り、第一実施形態に係る開閉体制御装置10によれば、学習値記憶処理では、ルーフ30及びリアクオータガラス34の各々の開閉状態が取得される。また、フロントサイドガラス32の移動位置毎の学習値としてフロントサイドガラス32を上昇させるモータ駆動部20のモータ回転速度が取得される。そして、取得されたルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて学習値がRAM44に記憶される。
(Action effect)
As described in detail above, according to the open / close body control device 10 according to the first embodiment, in the learning value storage process, the open / closed states of the roof 30 and the rear quarter glass 34 are acquired. Further, the motor rotation speed of the motor drive unit 20 that raises the front side glass 32 is acquired as a learning value for each movement position of the front side glass 32. Then, the learning value is stored in the RAM 44 in association with the opened / closed state of each of the acquired roof 30 and the rear quarter glass 34.

続いて、異常判定処理では、ルーフ30及びリアクオータガラス34の各々の開閉状態が判定され、この判定結果に応じた学習値がRAM44から抽出される。そして、フロントサイドガラス32の移動位置毎に、フロントサイドガラス32を上昇させるモータ駆動部20のモータ回転速度が検出値として検出され、上述の抽出された学習値及び予め定められた補正値に基づいて算出された閾値と、検出値とを比較した結果が挟み込み判定結果として出力される。 Subsequently, in the abnormality determination process, the open / closed state of each of the roof 30 and the rear quarter glass 34 is determined, and the learning value corresponding to the determination result is extracted from the RAM 44. Then, the motor rotation speed of the motor drive unit 20 that raises the front side glass 32 is detected as a detection value for each movement position of the front side glass 32, and is calculated based on the above-extracted learning value and a predetermined correction value. The result of comparing the determined threshold value with the detected value is output as the sandwiching determination result.

したがって、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて記憶された学習値に基づいて挟み込み判定が行われるので、ルーフ30及びリアクオータガラス34の各々の開閉状態によってフロントサイドガラス32に作用する摺動抵抗が変化する場合でも、フロントサイドガラス32についてルーフ30及びリアクオータガラス34の各々の開閉状態に応じた適切な挟み込み判定を行うことができる。 Therefore, since the sandwiching determination is performed based on the learning values stored in association with the open / closed states of the roof 30 and the rear quarter glass 34, the front side glass 32 is affected by the open / closed states of the roof 30 and the rear quarter glass 34. Even when the sliding resistance changes, it is possible to make an appropriate pinching determination for the front side glass 32 according to the open / closed state of each of the roof 30 and the rear quarter glass 34.

(本例における他の動作)
本例では、一例として、FR席のフロントサイドガラス32が上昇するときの挟み込みを検出するが、FL席のフロントサイドガラス32が上昇するときの挟み込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、RL席のリアクオータガラス34は、「第二開閉体」に相当し、FL席のフロントサイドガラス32は、「第三開閉体」に相当する。
(Other operations in this example)
In this example, as an example, the pinching when the front side glass 32 of the FR seat rises is detected, but the same applies to the case of detecting the pinching when the front side glass 32 of the FL seat rises. In this case, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RL seat corresponds to the "second opening / closing body", and the front side glass 32 of the FL seat corresponds to the "third opening / closing body". Corresponds to.

また、RR席又はRL席のリアクオータガラス34が上昇するときの挟み込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、FR席又はFL席のフロントサイドガラス32は、「第二開閉体」に相当し、RR席又はRL席のリアクオータガラス34は、「第三開閉体」に相当する。また、この場合、図9、図10において、「対象となるガラス」は、RR席又はRL席のリアクオータガラス34であり、「前後に隣接するガラス」は、FR席又はFL席のフロントサイドガラス32である。 Further, the same applies to the case of detecting the pinching when the rear quarter glass 34 of the RR seat or the RL seat rises. In this case, the roof 30 corresponds to the "first opening / closing body", the front side glass 32 of the FR seat or the FL seat corresponds to the "second opening / closing body", and the rear quarter glass 34 of the RR seat or the RL seat corresponds to the rear quarter glass 34. Corresponds to the "third opening and closing body". Further, in this case, in FIGS. 9 and 10, the "target glass" is the rear quarter glass 34 of the RR seat or the RL seat, and the "glass adjacent to the front and rear" is the front side glass of the FR seat or the FL seat. 32.

次に、第一実施形態に係る開閉体制御装置10における巻き込み検出処理の一例について説明する。 Next, an example of the entrainment detection process in the open / close body control device 10 according to the first embodiment will be described.

巻き込み検出処理では、巻き込み学習値記憶処理と、巻き込み判定処理が実行される。巻き込み学習値記憶処理は、学習値記憶処理部50によって実行され、巻き込み判定処理は、異常判定処理部60によって実行される。巻き込み学習値記憶処理は、「学習値記憶処理」の一例であり、巻き込み判定処理は、「異常判定処理」の一例である。図11には、巻き込み学習値記憶処理の流れが示されており、図12には、巻き込み判定処理の流れが示されている。 In the entrainment detection process, the entrainment learning value storage process and the entrainment determination process are executed. The entrainment learning value storage process is executed by the learning value storage processing unit 50, and the entrainment determination process is executed by the abnormality determination processing unit 60. The entrainment learning value storage process is an example of the “learning value storage process”, and the entrainment determination process is an example of the “abnormality determination process”. FIG. 11 shows the flow of the entrainment learning value storage process, and FIG. 12 shows the flow of the entrainment determination process.

本例では、一例として、FR席のフロントサイドガラス32が下降する場合の巻き込みを検出する例について説明する。図11、図12において、「対象となるガラス」は、FR席のフロントサイドガラス32であり、「前後に隣接するガラス」は、RR席のリアクオータガラス34である。また、本例において、ルーフ30は、「第一開閉体」に相当し、RR席のリアクオータガラス34は、「第二開閉体」に相当し、FR席のフロントサイドガラス32は、「第三開閉体」に相当する。 In this example, as an example, an example of detecting entrainment when the front side glass 32 of the FR seat is lowered will be described. In FIGS. 11 and 12, the “target glass” is the front side glass 32 of the FR seat, and the “glass adjacent to the front and rear” is the rear quarter glass 34 of the RR seat. Further, in this example, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RR seat corresponds to the "second opening / closing body", and the front side glass 32 of the FR seat corresponds to the "third". It corresponds to "opening and closing body".

(巻き込み学習値記憶処理のステップS21-1:開閉状態取得処理)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から開操作に応じて出力された信号を検出すると、図11に示される巻き込み学習値記憶処理を開始する。ステップS21-1では、FR席のパワーウィンドウECU16のCPU40(開閉状態取得部51)が、ルーフ制御ECU14から出力された信号に基づいてルーフ30の開閉状態を取得する。
(Step S21-1 of entrainment learning value storage process: open / closed state acquisition process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the opening operation, the entrainment learning value storage process shown in FIG. 11 is started. In step S21-1, the CPU 40 (open / close state acquisition unit 51) of the power window ECU 16 in the FR seat acquires the open / closed state of the roof 30 based on the signal output from the roof control ECU 14.

(巻き込み学習値記憶処理のステップS21-2:開閉状態取得処理)
ステップS21-2では、FR席のパワーウィンドウECU16のCPU40(開閉状態取得部51)が、RR席のパワーウィンドウECU16から出力された信号に基づいてリアクオータガラス34の開閉状態を取得する。
(Step S21-2 of entrainment learning value storage process: open / closed state acquisition process)
In step S21-2, the CPU 40 (open / closed state acquisition unit 51) of the power window ECU 16 in the FR seat acquires the open / closed state of the rear quarter glass 34 based on the signal output from the power window ECU 16 in the RR seat.

(巻き込み学習値記憶処理のステップS22:作動判定処理)
ステップS22では、FR席のパワーウィンドウECU16のCPU40(作動判定部52)が、FR席のモータ駆動部20の作動状態を判定する。ここで、CPU40(作動判定部52)は、FR席のモータ駆動部20が開作動状態ではなく異常停止状態であると判定した場合には、一連の処理を終了する。一方、CPU40(作動判定部52)は、FR席のモータ駆動部20が開作動状態であると判定した場合には、ステップS23に移行する。
(Step S22 of entrainment learning value storage process: operation determination process)
In step S22, the CPU 40 (operation determination unit 52) of the power window ECU 16 in the FR seat determines the operating state of the motor drive unit 20 in the FR seat. Here, when the CPU 40 (operation determination unit 52) determines that the motor drive unit 20 in the FR seat is not in the open operation state but in the abnormal stop state, the CPU 40 ends a series of processes. On the other hand, when the CPU 40 (operation determination unit 52) determines that the motor drive unit 20 in the FR seat is in the open operation state, the process proceeds to step S23.

(巻き込み学習値記憶処理のステップS23:学習値取得処理)
ステップS23では、FR席のパワーウィンドウECU16のCPU40(学習値取得部53)が、FR席のモータ駆動部20から出力された信号に基づいてフロントサイドガラス32における移動位置毎のモータ回転速度を学習値として取得する。この学習値としてのモータ回転速度は、フロントサイドガラス32における移動位置毎の移動速度に対応しており、「第三開閉体の移動位置毎の移動速度に応じた学習値」に相当する。
(Step S23 of entrainment learning value storage process: learning value acquisition process)
In step S23, the CPU 40 (learning value acquisition unit 53) of the power window ECU 16 in the FR seat learns the motor rotation speed for each moving position in the front side glass 32 based on the signal output from the motor drive unit 20 in the FR seat. Get as. The motor rotation speed as the learning value corresponds to the moving speed for each moving position on the front side glass 32, and corresponds to the "learning value according to the moving speed for each moving position of the third opening / closing body".

(巻き込み学習値記憶処理のステップS24:開閉状態判定処理)
ステップS24では、FR席のパワーウィンドウECU16のCPU40(開閉状態判定部54)が、上述のステップS21-1及びステップS21-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態を判定する。
(Step S24 of entrainment learning value storage process: open / close state determination process)
In step S24, the CPU 40 (open / close state determination unit 54) of the power window ECU 16 in the FR seat determines the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired in steps S21-1 and S21-2 described above. do.

(巻き込み学習値記憶処理のステップS25:記憶処理)
ステップS25では、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)が、上述のステップS24の判定結果に基づき、ステップS21-1及びステップS21-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて学習値をRAM44に記憶させる。
(Step S25 of entrainment learning value storage processing: storage processing)
In step S25, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat has the roof 30 and the rear quarter glass 34 acquired in steps S21-1 and S21-2 based on the determination result of step S24 described above. The learning value is stored in the RAM 44 in association with each open / closed state of.

つまり、ルーフ30が閉状態でリアクオータガラス34が閉状態である場合、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)は、ステップS25-1を実行する。そして、CPU40(記憶処理部55)は、フロントサイドガラス32の移動位置毎の学習値であるモータ回転速度を、ルーフ30の閉状態及びリアクオータガラス34の閉状態と関連付けて、RAM44の第一記憶領域に記憶させる。 That is, when the roof 30 is closed and the rear quarter glass 34 is closed, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat executes step S25-1. Then, the CPU 40 (storage processing unit 55) associates the motor rotation speed, which is a learning value for each moving position of the front side glass 32, with the closed state of the roof 30 and the closed state of the rear quarter glass 34, and first stores the RAM 44. Store in the area.

また、ルーフ30が閉状態でリアクオータガラス34が開状態である場合、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)は、ステップS25-2を実行する。そして、CPU40(記憶処理部55)は、フロントサイドガラス32の移動位置毎の学習値であるモータ回転速度を、ルーフ30の閉状態及びリアクオータガラス34の開状態と関連付けて、RAM44の第二記憶領域に記憶させる。 When the roof 30 is closed and the rear quarter glass 34 is open, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat executes step S25-2. Then, the CPU 40 (storage processing unit 55) associates the motor rotation speed, which is a learning value for each moving position of the front side glass 32, with the closed state of the roof 30 and the open state of the rear quarter glass 34, and stores the second RAM 44. Store in the area.

また、ルーフ30が開状態でリアクオータガラス34が閉状態である場合、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)は、ステップS25-3を実行する。そして、CPU40(記憶処理部55)は、フロントサイドガラス32の移動位置毎の学習値であるモータ回転速度を、ルーフ30の開状態及びリアクオータガラス34の閉状態と関連付けて、RAM44の第三記憶領域に記憶させる。 Further, when the roof 30 is in the open state and the rear quarter glass 34 is in the closed state, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat executes step S25-3. Then, the CPU 40 (storage processing unit 55) associates the motor rotation speed, which is a learning value for each moving position of the front side glass 32, with the open state of the roof 30 and the closed state of the rear quarter glass 34, and stores the third memory of the RAM 44. Store in the area.

また、ルーフ30が開状態でリアクオータガラス34が開状態である場合、FR席のパワーウィンドウECU16のCPU40(記憶処理部55)は、ステップS25-4を実行する。そして、CPU40(記憶処理部55)は、フロントサイドガラス32の移動位置毎の学習値であるモータ回転速度を、ルーフ30の開状態及びリアクオータガラス34の開状態と関連付けて、RAM44の第四記憶領域に記憶させる。 Further, when the roof 30 is in the open state and the rear quarter glass 34 is in the open state, the CPU 40 (memory processing unit 55) of the power window ECU 16 in the FR seat executes step S25-4. Then, the CPU 40 (storage processing unit 55) associates the motor rotation speed, which is a learning value for each moving position of the front side glass 32, with the open state of the roof 30 and the open state of the rear quarter glass 34, and stores the fourth memory of the RAM 44. Store in the area.

ルーフ30が閉状態でリアクオータガラス34が閉状態である場合、ルーフ30が閉状態でリアクオータガラス34が開状態である場合、ルーフ30が開状態でリアクオータガラス34が閉状態である場合、ルーフ30が開状態でリアクオータガラス34が開状態である場合のそれぞれの場合に、フロントサイドガラス32が下降されると、RAM44の第一乃至第四記憶領域に、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて学習値が記憶される。RAM44には、上述の巻き込み学習値記憶処理が実行される毎に新しい学習値が記憶される。 When the roof 30 is closed and the rear quarter glass 34 is closed, when the roof 30 is closed and the rear quarter glass 34 is open, and when the roof 30 is open and the rear quarter glass 34 is closed. When the front side glass 32 is lowered in each case where the roof 30 is in the open state and the rear quarter glass 34 is in the open state, the roof 30 and the rear quarter glass 34 are stored in the first to fourth storage areas of the RAM 44. The learning value is stored in association with each open / closed state of. A new learning value is stored in the RAM 44 each time the above-mentioned entrainment learning value storage process is executed.

続いて、巻き込み判定処理について説明する。巻き込み判定処理は、上述の巻き込み学習値記憶処理が実行された回の後の回(好ましくは、次の回)におけるフロントサイドガラス32の下降時に実行される。なお、巻き込み判定処理が実行されると同時に、この巻き込み判定処理が実行される回の次の回の巻き込み学習値記憶処理が実行される。 Subsequently, the entrainment determination process will be described. The entanglement determination process is executed when the front side glass 32 is lowered in the turn (preferably the next turn) after the turn in which the entanglement learning value storage process is executed. At the same time as the entrainment determination process is executed, the entrainment learning value storage process is executed the next time after the entrainment determination process is executed.

(巻き込み判定処理のステップS31-1:開閉状態取得処理)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から開操作に応じて出力された信号を検出すると、図12に示される巻き込み判定処理を開始する。ステップS31-1では、FR席のパワーウィンドウECU16のCPU40(開閉状態取得部61)が、ルーフ制御ECU14から出力された信号に基づいてルーフ30の開閉状態を取得する。
(Step S31-1 of entrainment determination process: open / closed state acquisition process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the opening operation, the entrainment determination process shown in FIG. 12 is started. In step S31-1, the CPU 40 (open / close state acquisition unit 61) of the power window ECU 16 in the FR seat acquires the open / closed state of the roof 30 based on the signal output from the roof control ECU 14.

(巻き込み判定処理のステップS31-2:開閉状態取得処理)
ステップS31-2では、FR席のパワーウィンドウECU16のCPU40(開閉状態取得部61)が、RR席のパワーウィンドウECU16から出力された信号に基づいてリアクオータガラス34の開閉状態を取得する。
(Step S31-2 of entrainment determination process: open / closed state acquisition process)
In step S31-2, the CPU 40 (open / closed state acquisition unit 61) of the power window ECU 16 in the FR seat acquires the open / closed state of the rear quarter glass 34 based on the signal output from the power window ECU 16 in the RR seat.

(巻き込み判定処理のステップS32:作動判定処理)
ステップS32では、FR席のパワーウィンドウECU16のCPU40(作動判定部62)が、FR席のモータ駆動部20の作動状態を判定する。ここで、CPU40(作動判定部62)は、FR席のモータ駆動部20が開作動状態ではなく異常停止状態であると判定した場合には、一連の処理を終了する。一方、CPU40(作動判定部62)は、FR席のモータ駆動部20が開作動状態であると判定した場合には、ステップS33に移行する。
(Step S32 of entrainment determination process: operation determination process)
In step S32, the CPU 40 (operation determination unit 62) of the power window ECU 16 in the FR seat determines the operating state of the motor drive unit 20 in the FR seat. Here, when the CPU 40 (operation determination unit 62) determines that the motor drive unit 20 in the FR seat is not in the open operation state but in the abnormal stop state, the CPU 40 ends a series of processes. On the other hand, when the CPU 40 (operation determination unit 62) determines that the motor drive unit 20 in the FR seat is in the open operation state, the process proceeds to step S33.

(巻き込み判定処理のステップS33:開閉状態判定処理)
ステップS33では、FR席のパワーウィンドウECU16のCPU40(開閉状態判定部63)が、上述のステップS31-1及びステップS31-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態を判定する。
(Step S33 of entrainment determination process: open / closed state determination process)
In step S33, the CPU 40 (open / close state determination unit 63) of the power window ECU 16 in the FR seat determines the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired in steps S31-1 and S31-2 described above. do.

(巻き込み判定処理のステップS34:学習値抽出処理)
ステップS34では、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)が、上述のステップS33の判定結果に応じた学習値をRAM44から抽出する。
(Step S34 of entrainment determination process: learning value extraction process)
In step S34, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat extracts the learning value according to the determination result of the above-mentioned step S33 from the RAM 44.

つまり、ルーフ30が閉状態でリアクオータガラス34が閉状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)は、ステップS34-1を実行する。そして、CPU40(学習値抽出部64)は、ルーフ30の閉状態及びリアクオータガラス34の閉状態に関連付けてRAM44の第一記憶領域に記憶された学習値であるフロントサイドガラス32における移動位置毎のモータ回転速度を抽出する。 That is, when it is determined that the roof 30 is in the closed state and the rear quarter glass 34 is in the closed state, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat executes step S34-1. Then, the CPU 40 (learning value extraction unit 64) is used for each movement position in the front side glass 32, which is a learning value stored in the first storage area of the RAM 44 in association with the closed state of the roof 30 and the closed state of the rear quarter glass 34. Extract the motor rotation speed.

また、ルーフ30が閉状態でリアクオータガラス34が開状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)は、ステップS34-2を実行する。そして、CPU40(学習値抽出部64)は、ルーフ30の閉状態及びリアクオータガラス34の開状態に関連付けてRAM44の第二記憶領域に記憶された学習値であるフロントサイドガラス32における移動位置毎のモータ回転速度を抽出する。 When it is determined that the roof 30 is closed and the rear quarter glass 34 is open, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat executes step S34-2. Then, the CPU 40 (learning value extraction unit 64) is used for each movement position in the front side glass 32, which is a learning value stored in the second storage area of the RAM 44 in association with the closed state of the roof 30 and the open state of the rear quarter glass 34. Extract the motor rotation speed.

また、ルーフ30が開状態でリアクオータガラス34が閉状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)は、ステップS34-3を実行する。そして、CPU40(学習値抽出部64)は、ルーフ30の開状態及びリアクオータガラス34の閉状態に関連付けてRAM44の第三記憶領域に記憶された学習値であるフロントサイドガラス32における移動位置毎のモータ回転速度を抽出する。 When it is determined that the roof 30 is in the open state and the rear quarter glass 34 is in the closed state, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat executes step S34-3. Then, the CPU 40 (learning value extraction unit 64) is used for each movement position in the front side glass 32, which is a learning value stored in the third storage area of the RAM 44 in association with the open state of the roof 30 and the closed state of the rear quarter glass 34. Extract the motor rotation speed.

また、ルーフ30が開状態でリアクオータガラス34が開状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(学習値抽出部64)は、ステップS34-4を実行する。そして、CPU40(学習値抽出部64)は、ルーフ30の開状態及びリアクオータガラス34の開状態に関連付けてRAM44の第四記憶領域に記憶された学習値であるフロントサイドガラス32における移動位置毎のモータ回転速度を抽出する。 When it is determined that the roof 30 is in the open state and the rear quarter glass 34 is in the open state, the CPU 40 (learning value extraction unit 64) of the power window ECU 16 in the FR seat executes step S34-4. Then, the CPU 40 (learning value extraction unit 64) is used for each movement position in the front side glass 32, which is a learning value stored in the fourth storage area of the RAM 44 in association with the open state of the roof 30 and the open state of the rear quarter glass 34. Extract the motor rotation speed.

(巻き込み判定処理のステップS35:閾値算出処理)
ステップS35では、FR席のパワーウィンドウECU16のCPU40(閾値算出部65)が、上述のステップS34で抽出された学習値及び予め定められた補正値に基づいて、フロントサイドガラス32の移動位置毎の閾値を算出する。すなわち、CPU40(閾値算出部65)は、フロントサイドガラス32における移動位置毎の学習値であるモータ回転速度から、予め定められた補正値であるモータ回転速度を減算して閾値を算出する。予め定められた補正値は、巻き込みを検出するために定められる任意の値である。
(Step S35 of entrainment determination process: threshold value calculation process)
In step S35, the CPU 40 (threshold value calculation unit 65) of the power window ECU 16 in the FR seat determines the threshold value for each moving position of the front side glass 32 based on the learning value extracted in step S34 and the predetermined correction value. Is calculated. That is, the CPU 40 (threshold value calculation unit 65) calculates the threshold value by subtracting the motor rotation speed, which is a predetermined correction value, from the motor rotation speed, which is a learning value for each moving position on the front side glass 32. The predetermined correction value is an arbitrary value defined for detecting entrainment.

(巻き込み判定処理のステップS36:異常判定結果出力処理)
ステップS36では、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部66)が、フロントサイドガラス32における移動位置毎に、FR席のモータ駆動部20から出力された信号に基づいてモータ回転速度を検出値として検出する。このモータ回転速度は、フロントサイドガラス32の移動速度に対応しており、「第三開閉体の移動速度に応じた検出値」に相当する。
(Step S36 of entrainment determination processing: abnormality determination result output processing)
In step S36, the CPU 40 (abnormality determination result output unit 66) of the power window ECU 16 in the FR seat determines the motor rotation speed based on the signal output from the motor drive unit 20 in the FR seat for each movement position on the front side glass 32. Detect as a detection value. This motor rotation speed corresponds to the moving speed of the front side glass 32, and corresponds to the "detection value according to the moving speed of the third opening / closing body".

そして、CPU40(異常判定結果出力部66)は、上述のステップS35で算出された閾値と検出値とを比較し、この比較した結果を巻き込み判定結果(異常判定結果)として出力する。このとき、検出値が閾値以上である場合、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部66)は、巻き込み無しとする巻き込み判定結果を出力する。一方、検出値が閾値未満である場合、CPU40(異常判定結果出力部66)は、巻き込み有りとする巻き込み判定結果を出力する。 Then, the CPU 40 (abnormality determination result output unit 66) compares the threshold value calculated in step S35 described above with the detected value, and outputs the comparison result as a involvement determination result (abnormality determination result). At this time, when the detected value is equal to or higher than the threshold value, the CPU 40 (abnormality determination result output unit 66) of the power window ECU 16 in the FR seat outputs the entrainment determination result that there is no entrainment. On the other hand, when the detected value is less than the threshold value, the CPU 40 (abnormality determination result output unit 66) outputs an entrainment determination result indicating that there is entrainment.

CPU40(異常判定結果出力部66)によって巻き込み有りとする巻き込み判定結果が出力された場合、FR席のパワーウィンドウECU16は、FR席のモータ駆動部20を停止させる。これにより、フロントサイドガラス32が停止し、巻き込みが防止される。 When the CPU 40 (abnormality determination result output unit 66) outputs an entrainment determination result indicating that there is entrainment, the power window ECU 16 in the FR seat stops the motor drive unit 20 in the FR seat. As a result, the front side glass 32 is stopped and entrainment is prevented.

(作用効果)
以上詳述した通り、第一実施形態に係る開閉体制御装置10によれば、学習値記憶処理では、ルーフ30及びリアクオータガラス34の各々の開閉状態が取得される。また、フロントサイドガラス32の移動位置毎の学習値としてフロントサイドガラス32を下降させるモータ駆動部20のモータ回転速度が取得される。そして、取得されたルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて学習値がRAM44に記憶される。
(Action effect)
As described in detail above, according to the open / close body control device 10 according to the first embodiment, in the learning value storage process, the open / closed states of the roof 30 and the rear quarter glass 34 are acquired. Further, the motor rotation speed of the motor drive unit 20 for lowering the front side glass 32 is acquired as a learning value for each movement position of the front side glass 32. Then, the learning value is stored in the RAM 44 in association with the opened / closed state of each of the acquired roof 30 and the rear quarter glass 34.

続いて、異常判定処理では、ルーフ30及びリアクオータガラス34の各々の開閉状態が判定され、この判定結果に応じた学習値がRAM44から抽出される。そして、フロントサイドガラス32の移動位置毎に、フロントサイドガラス32を下降させるモータ駆動部20のモータ回転速度が検出値として検出され、上述の抽出された学習値及び予め定められた補正値に基づいて算出された閾値と、検出値とを比較した結果が巻き込み判定結果として出力される。 Subsequently, in the abnormality determination process, the open / closed state of each of the roof 30 and the rear quarter glass 34 is determined, and the learning value corresponding to the determination result is extracted from the RAM 44. Then, the motor rotation speed of the motor drive unit 20 that lowers the front side glass 32 is detected as a detection value for each movement position of the front side glass 32, and is calculated based on the above-extracted learning value and a predetermined correction value. The result of comparing the determined threshold value with the detected value is output as the entrainment determination result.

したがって、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて記憶された学習値に基づいて巻き込み判定が行われるので、ルーフ30及びリアクオータガラス34の各々の開閉状態によってフロントサイドガラス32に作用する摺動抵抗が変化する場合でも、フロントサイドガラス32についてルーフ30及びリアクオータガラス34の各々の開閉状態に応じた適切な巻き込み判定を行うことができる。 Therefore, since the entrainment determination is performed based on the learning value stored in association with the open / closed states of the roof 30 and the rear quarter glass 34, the front side glass 32 is affected by the open / closed states of the roof 30 and the rear quarter glass 34. Even when the sliding resistance changes, it is possible to make an appropriate entrainment determination for the front side glass 32 according to the open / closed state of each of the roof 30 and the rear quarter glass 34.

(本例における他の動作)
本例では、一例として、FR席のフロントサイドガラス32が下降するときの巻き込みを検出するが、FL席のフロントサイドガラス32が下降するときの巻き込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、RL席のリアクオータガラス34は、「第二開閉体」に相当し、FL席のフロントサイドガラス32は、「第三開閉体」に相当する。
(Other operations in this example)
In this example, as an example, the entrainment when the front side glass 32 of the FR seat is lowered is detected, but the same applies to the case of detecting the entrainment when the front side glass 32 of the FL seat is lowered. In this case, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RL seat corresponds to the "second opening / closing body", and the front side glass 32 of the FL seat corresponds to the "third opening / closing body". Corresponds to.

また、RR席又はRL席のリアクオータガラス34が下降するときの巻き込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、FR席又はFL席のフロントサイドガラス32は、「第二開閉体」に相当し、RR席又はRL席のリアクオータガラス34は、「第三開閉体」に相当する。また、この場合、図11、図12において、「対象となるガラス」は、RR席又はRL席のリアクオータガラス34であり、「前後に隣接するガラス」は、FR席又はFL席のフロントサイドガラス32である。 Further, the same applies to the case of detecting the entrainment when the rear quarter glass 34 of the RR seat or the RL seat is lowered. In this case, the roof 30 corresponds to the "first opening / closing body", the front side glass 32 of the FR seat or the FL seat corresponds to the "second opening / closing body", and the rear quarter glass 34 of the RR seat or the RL seat corresponds to the rear quarter glass 34. Corresponds to the "third opening and closing body". Further, in this case, in FIGS. 11 and 12, the "target glass" is the rear quarter glass 34 of the RR seat or the RL seat, and the "glass adjacent to the front and rear" is the front side glass of the FR seat or the FL seat. 32.

[第二実施形態]
次に、本発明の第二実施形態について説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described.

図13には、第二実施形態に係る開閉体制御装置110がブロック図で示されている。第二実施形態では、第一実施形態におけるプログラム46(図1参照)の代わりに、プログラム146が用いられている。また、プログラム146が用いられることに伴い、各パワーウィンドウECU16の機能部の構成が第一実施形態と異なっている。 FIG. 13 shows a block diagram of the open / close body control device 110 according to the second embodiment. In the second embodiment, the program 146 is used instead of the program 46 (see FIG. 1) in the first embodiment. Further, as the program 146 is used, the configuration of the functional unit of each power window ECU 16 is different from that of the first embodiment.

すなわち、各パワーウィンドウECU16の学習値記憶処理部50は、記憶処理部55(図1参照)の代わりに記憶処理部155を有する。また、各パワーウィンドウECU16の異常判定処理部60は、学習値抽出部64、閾値算出部65及び異常判定結果出力部66(図1参照)の代わりに、補正値選択部164、閾値算出部165及び異常判定結果出力部166を有する。 That is, the learning value storage processing unit 50 of each power window ECU 16 has a storage processing unit 155 instead of the storage processing unit 55 (see FIG. 1). Further, the abnormality determination processing unit 60 of each power window ECU 16 has a correction value selection unit 164 and a threshold value calculation unit 165 instead of the learning value extraction unit 64, the threshold value calculation unit 65, and the abnormality determination result output unit 66 (see FIG. 1). It also has an abnormality determination result output unit 166.

次に、第二実施形態に係る開閉体制御装置110における挟み込み検出処理の一例について説明する。 Next, an example of the pinch detection process in the open / close body control device 110 according to the second embodiment will be described.

挟み込み検出処理では、挟み込み学習値記憶処理と、挟み込み判定処理が実行される。挟み込み学習値記憶処理は、学習値記憶処理部50によって実行され、挟み込み判定処理は、異常判定処理部60によって実行される。挟み込み学習値記憶処理は、「学習値記憶処理」の一例であり、挟み込み判定処理は、「異常判定処理」の一例である。図14には、挟み込み学習値記憶処理の流れが示されており、図15には、挟み込み判定処理の流れが示されている。 In the pinch detection process, the pinch learning value storage process and the pinch determination process are executed. The sandwiched learning value storage process is executed by the learning value storage processing unit 50, and the sandwiching determination process is executed by the abnormality determination processing unit 60. The pinch learning value storage process is an example of "learning value storage process", and the pinch determination process is an example of "abnormality determination process". FIG. 14 shows the flow of the sandwich learning value storage process, and FIG. 15 shows the flow of the sandwich determination process.

本例では、一例として、FR席のフロントサイドガラス32が上昇するときの挟み込みを検出する例について説明する。図14、図15において、「対象となるガラス」は、FR席のフロントサイドガラス32であり、「前後に隣接するガラス」は、RR席のリアクオータガラス34である。また、本例において、ルーフ30は、「第一開閉体」に相当し、RR席のリアクオータガラス34は、「第二開閉体」に相当し、FR席のフロントサイドガラス32は、「第三開閉体」に相当する。 In this example, as an example, an example of detecting pinching when the front side glass 32 of the FR seat rises will be described. In FIGS. 14 and 15, the “target glass” is the front side glass 32 of the FR seat, and the “glass adjacent to the front and rear” is the rear quarter glass 34 of the RR seat. Further, in this example, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RR seat corresponds to the "second opening / closing body", and the front side glass 32 of the FR seat corresponds to the "third". It corresponds to "opening and closing body".

(挟み込み学習値記憶処理のステップS41-1~ステップS44)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から閉操作に応じて出力された信号を検出すると、図14に示される挟み込み学習値記憶処理を開始する。ステップS41-1~ステップS44は、上述の第一実施形態におけるステップS1-1~ステップS4と同様である。
(Step S41-1 to Step S44 of the sandwiched learning value storage process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the closing operation, the pinch learning value storage process shown in FIG. 14 is started. Steps S41-1 to S44 are the same as steps S1-1 to S4 in the above-mentioned first embodiment.

すなわち、ステップS41-1(開閉状態取得処理)では、ルーフ30の開閉状態が取得され、ステップS41-2(開閉状態取得処理)では、リアクオータガラス34の開閉状態が取得される。また、ステップS42(作動判定処理)では、FR席のパワーウィンドウECU16の作動状態が判定され、ステップS43(学習値取得処理)では、フロントサイドガラス32における移動位置毎のモータ回転速度が学習値として取得される。そして、ステップS44(開閉状態判定処理)では、ルーフ30及びリアクオータガラス34の各々の開閉状態が判定される。 That is, in step S41-1 (open / close state acquisition process), the open / closed state of the roof 30 is acquired, and in step S41-2 (open / close state acquisition process), the open / closed state of the rear quarter glass 34 is acquired. Further, in step S42 (operation determination processing), the operating state of the power window ECU 16 in the FR seat is determined, and in step S43 (learning value acquisition processing), the motor rotation speed for each moving position on the front side glass 32 is acquired as a learning value. Will be done. Then, in step S44 (open / close state determination process), the open / closed state of each of the roof 30 and the rear quarter glass 34 is determined.

(挟み込み学習値記憶処理のステップS45:記憶処理)
ステップS45は、上述の第一実施形態におけるステップS5と異なる。このステップS45では、FR席のパワーウィンドウECU16のCPU40(記憶処理部155)が、上述のステップS44の判定結果に基づき、ステップS41-1及びステップS41-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態が予め定められた開閉状態である場合の学習値をRAM44に記憶させる。
(Step S45 of sandwich learning value storage processing: storage processing)
Step S45 is different from step S5 in the first embodiment described above. In this step S45, the CPU 40 (memory processing unit 155) of the power window ECU 16 in the FR seat has the roof 30 and the rear quarter glass acquired in steps S41-1 and S41-2 based on the determination result of the above-mentioned step S44. The learning value when each opening / closing state of 34 is a predetermined opening / closing state is stored in the RAM 44.

本例では、一例として、ルーフ30及びリアクオータガラス34がいずれも閉状態である場合が上述の予め定められた開閉状態に設定されている。そして、CPU40(記憶処理部155)は、ステップS43で取得された学習値のうち、ルーフ30及びリアクオータガラス34がいずれも閉状態である場合の学習値をRAM44に記憶させる。 In this example, as an example, the case where both the roof 30 and the rear quarter glass 34 are in the closed state is set to the above-mentioned predetermined open / closed state. Then, the CPU 40 (storage processing unit 155) stores in the RAM 44 the learning values acquired in step S43 when both the roof 30 and the rear quarter glass 34 are in the closed state.

なお、CPU40(記憶処理部155)は、ルーフ30及びリアクオータガラス34の各々の開閉状態がいずれも閉状態以外である場合については、学習値をRAM44に記憶させずに、一連の処理を終了する。 The CPU 40 (storage processing unit 155) ends a series of processing without storing the learning value in the RAM 44 when the open / closed state of each of the roof 30 and the rear quarter glass 34 is other than the closed state. do.

続いて、挟み込み判定処理について説明する。挟み込み判定処理は、上述の挟み込み学習値記憶処理が実行された回の後の回(好ましくは、次の回)におけるフロントサイドガラス32の上昇時に実行される。なお、挟み込み判定処理が実行されると同時に、この挟み込み判定処理が実行される回の次の回の挟み込み学習値記憶処理が実行される。 Subsequently, the pinch determination process will be described. The pinch determination process is executed when the front side glass 32 is raised in a round (preferably the next round) after the pinch learning value storage process is executed. At the same time as the pinch determination process is executed, the pinch learning value storage process is executed the next time after the pinch determination process is executed.

(挟み込み判定処理のステップS51-1~ステップS53)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から閉操作に応じて出力された信号を検出すると、図15に示される挟み込み判定処理を開始する。ステップS51-1~ステップS53は、上述の第一実施形態におけるステップS11-1~ステップS13と同様である。
(Steps S51-1 to step S53 of the pinch determination process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the closing operation, the pinch determination process shown in FIG. 15 is started. Steps S51-1 to S53 are the same as steps S11-1 to S13 in the above-described first embodiment.

すなわち、ステップS51-1(開閉状態取得処理)では、ルーフ30の開閉状態が取得され、ステップS51-2(開閉状態取得処理)では、リアクオータガラス34の開閉状態が取得される。また、ステップS52(作動判定処理)では、FR席のパワーウィンドウECU16の作動状態が判定され、ステップS53(開閉状態判定処理)では、ルーフ30及びリアクオータガラス34の各々の開閉状態が判定される。 That is, in step S51-1 (open / close state acquisition process), the open / closed state of the roof 30 is acquired, and in step S51-2 (open / close state acquisition process), the open / closed state of the rear quarter glass 34 is acquired. Further, in step S52 (operation determination processing), the operating state of the power window ECU 16 in the FR seat is determined, and in step S53 (opening / closing state determination processing), the open / closed state of each of the roof 30 and the rear quarter glass 34 is determined. ..

(挟み込み判定処理のステップS54:補正値選択処理)
ステップS54は、上述の第一実施形態におけるステップS14と異なる。このステップS54では、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)が、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けてROM42に予め記憶された補正値を、上述のステップS53の判定結果に応じて選択する。
(Step S54 of pinch determination process: correction value selection process)
Step S54 is different from step S14 in the first embodiment described above. In this step S54, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat sets the correction value stored in advance in the ROM 42 in association with the open / closed states of the roof 30 and the rear quarter glass 34 in the above-mentioned step. Select according to the determination result of S53.

つまり、ルーフ30が閉状態でリアクオータガラス34が閉状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)は、ステップS54-1を実行する。そして、CPU40(補正値選択部164)は、ルーフ30の閉状態及びリアクオータガラス34の閉状態に関連付けてROM42に予め記憶された第一の補正値を選択する。 That is, when it is determined that the roof 30 is in the closed state and the rear quarter glass 34 is in the closed state, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat executes step S54-1. Then, the CPU 40 (correction value selection unit 164) selects the first correction value stored in advance in the ROM 42 in association with the closed state of the roof 30 and the closed state of the rear quarter glass 34.

また、ルーフ30が閉状態でリアクオータガラス34が開状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)は、ステップS54-2を実行する。そして、CPU40(補正値選択部164)は、ルーフ30の閉状態及びリアクオータガラス34の開状態に関連付けてROM42に予め記憶された第二の補正値を選択する。 When it is determined that the roof 30 is closed and the rear quarter glass 34 is open, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat executes step S54-2. Then, the CPU 40 (correction value selection unit 164) selects a second correction value stored in advance in the ROM 42 in association with the closed state of the roof 30 and the open state of the rear quarter glass 34.

また、ルーフ30が開状態でリアクオータガラス34が閉状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)は、ステップS54-3を実行する。そして、CPU40(補正値選択部164)は、ルーフ30の開状態及びリアクオータガラス34の閉状態に関連付けてROM42に予め記憶された第三の補正値を選択する。 When it is determined that the roof 30 is in the open state and the rear quarter glass 34 is in the closed state, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat executes step S54-3. Then, the CPU 40 (correction value selection unit 164) selects a third correction value stored in advance in the ROM 42 in association with the open state of the roof 30 and the closed state of the rear quarter glass 34.

また、ルーフ30が開状態でリアクオータガラス34が開状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)は、ステップS54-4を実行する。そして、CPU40(補正値選択部164)は、ルーフ30の開状態及びリアクオータガラス34の開状態に関連付けてROM42に予め記憶された第四の補正値を選択する。上述の第一乃至第四の補正値は、挟み込みを検出するために定められる任意の値である。 When it is determined that the roof 30 is in the open state and the rear quarter glass 34 is in the open state, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat executes step S54-4. Then, the CPU 40 (correction value selection unit 164) selects a fourth correction value stored in advance in the ROM 42 in association with the open state of the roof 30 and the open state of the rear quarter glass 34. The above-mentioned first to fourth correction values are arbitrary values defined for detecting pinching.

(挟み込み判定処理のステップS55:閾値算出処理)
ステップS55は、上述の第一実施形態におけるステップS15と異なる。このステップS55では、FR席のパワーウィンドウECU16のCPU40(閾値算出部165)が、上述のステップS45で記憶された学習値及び上述のステップS54で選択された補正値に基づいて、フロントサイドガラス32の移動位置毎の閾値を算出する。すなわち、CPU40(閾値算出部165)は、ルーフ30及びリアクオータガラス34がいずれも閉状態である場合における学習値としてのモータ回転速度から、上述のステップS54で選択された補正値であるモータ回転速度を減算して閾値を算出する。
(Step S55 of pinch determination process: threshold value calculation process)
Step S55 is different from step S15 in the first embodiment described above. In this step S55, the CPU 40 (threshold value calculation unit 165) of the power window ECU 16 in the FR seat determines the front side glass 32 based on the learning value stored in the above step S45 and the correction value selected in the above step S54. Calculate the threshold value for each moving position. That is, the CPU 40 (threshold value calculation unit 165) is a motor rotation speed which is a correction value selected in the above step S54 from the motor rotation speed as a learning value when both the roof 30 and the rear quarter glass 34 are in the closed state. Calculate the threshold by subtracting the speed.

(挟み込み判定処理のステップS56:異常判定結果出力処理)
ステップS56は、上述の第一実施形態におけるステップS16と同様である。このステップS56では、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部166)が、フロントサイドガラス32における移動位置毎に、FR席のモータ駆動部20から出力された信号に基づいてモータ回転速度を検出値として検出する。このモータ回転速度は、フロントサイドガラス32の移動速度に対応しており、「第三開閉体の移動速度に応じた検出値」に相当する。
(Pinch determination process step S56: Abnormality determination result output process)
Step S56 is the same as step S16 in the above-mentioned first embodiment. In this step S56, the CPU 40 (abnormality determination result output unit 166) of the power window ECU 16 in the FR seat determines the motor rotation speed based on the signal output from the motor drive unit 20 in the FR seat for each movement position on the front side glass 32. Is detected as a detection value. This motor rotation speed corresponds to the moving speed of the front side glass 32, and corresponds to the "detection value according to the moving speed of the third opening / closing body".

そして、CPU40(異常判定結果出力部166)は、上述のステップS55で算出された閾値と検出値とを比較し、この比較した結果を挟み込み判定結果(異常判定結果)として出力する。このとき、検出値が閾値以上である場合、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部166)は、挟み込み無しとする挟み込み判定結果を出力する。一方、検出値が閾値未満である場合、CPU40(異常判定結果出力部166)は、挟み込み有りとする挟み込み判定結果を出力する。 Then, the CPU 40 (abnormality determination result output unit 166) compares the threshold value calculated in step S55 above with the detected value, and outputs the comparison result as a sandwiching determination result (abnormality determination result). At this time, when the detected value is equal to or higher than the threshold value, the CPU 40 (abnormality determination result output unit 166) of the power window ECU 16 in the FR seat outputs the pinching determination result without pinching. On the other hand, when the detected value is less than the threshold value, the CPU 40 (abnormality determination result output unit 166) outputs the pinching determination result indicating that there is pinching.

CPU40(異常判定結果出力部166)によって挟み込み有りとする挟み込み判定結果が出力された場合、FR席のパワーウィンドウECU16は、FR席のモータ駆動部20を反転動作させる。これにより、フロントサイドガラス32が下降し、挟み込みが防止される。 When the pinching determination result indicating that there is pinching is output by the CPU 40 (abnormality determination result output unit 166), the power window ECU 16 in the FR seat reverses the motor drive unit 20 in the FR seat. As a result, the front side glass 32 is lowered to prevent pinching.

(作用効果)
以上詳述した通り、第二実施形態に係る開閉体制御装置110によれば、学習値記憶処理では、ルーフ30及びリアクオータガラス34の各々の開閉状態が取得される。また、フロントサイドガラス32の移動位置毎の学習値としてフロントサイドガラス32を上昇させるモータ駆動部20のモータ回転速度が取得される。そして、この取得された学習値のうち、ルーフ30及びリアクオータガラス34の各々の開閉状態が予め定められた開閉状態である場合の学習値がRAM44に記憶される。
(Action effect)
As described in detail above, according to the open / close body control device 110 according to the second embodiment, in the learning value storage process, the open / closed states of the roof 30 and the rear quarter glass 34 are acquired. Further, the motor rotation speed of the motor drive unit 20 that raises the front side glass 32 is acquired as a learning value for each movement position of the front side glass 32. Then, among the acquired learning values, the learning values when the opening / closing state of each of the roof 30 and the rear quarter glass 34 is a predetermined opening / closing state are stored in the RAM 44.

続いて、異常判定処理では、ルーフ30及びリアクオータガラス34の各々の開閉状態が判定され、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けてROM42に予め記憶された補正値が上述の判定結果に応じて選択される。そして、フロントサイドガラス32の移動位置毎に、フロントサイドガラス32を上昇させるモータ駆動部20のモータ回転速度が検出値として検出され、上述のRAM44に記憶された学習値及び選択された補正値に基づいて算出された閾値と、検出値とを比較した結果が挟み込み判定結果として出力される。 Subsequently, in the abnormality determination process, the open / closed state of each of the roof 30 and the rear quarter glass 34 is determined, and the correction value stored in advance in the ROM 42 in association with the open / closed state of each of the roof 30 and the rear quarter glass 34 is described above. It is selected according to the judgment result. Then, the motor rotation speed of the motor drive unit 20 that raises the front side glass 32 is detected as a detection value for each movement position of the front side glass 32, and is based on the learning value stored in the RAM 44 and the selected correction value. The result of comparing the calculated threshold value with the detected value is output as the sandwiching determination result.

したがって、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて記憶された補正値によって補正された学習値に基づいて挟み込み判定が行われるので、ルーフ30及びリアクオータガラス34の各々の開閉状態によってフロントサイドガラス32に作用する摺動抵抗が変化する場合でも、フロントサイドガラス32についてルーフ30及びリアクオータガラス34の各々の開閉状態に応じた適切な挟み込み判定を行うことができる。 Therefore, since the sandwiching determination is performed based on the learning value corrected by the correction value stored in association with the open / closed state of each of the roof 30 and the rear quarter glass 34, the open / closed state of each of the roof 30 and the rear quarter glass 34 is performed. Even when the sliding resistance acting on the front side glass 32 changes, it is possible to make an appropriate pinching determination for the front side glass 32 according to the open / closed state of each of the roof 30 and the rear quarter glass 34.

(本例における他の動作)
本例では、一例として、FR席のフロントサイドガラス32が上昇するときの挟み込みを検出するが、FL席のフロントサイドガラス32が上昇するときの挟み込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、RL席のリアクオータガラス34は、「第二開閉体」に相当し、FL席のフロントサイドガラス32は、「第三開閉体」に相当する。
(Other operations in this example)
In this example, as an example, the pinching when the front side glass 32 of the FR seat rises is detected, but the same applies to the case of detecting the pinching when the front side glass 32 of the FL seat rises. In this case, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RL seat corresponds to the "second opening / closing body", and the front side glass 32 of the FL seat corresponds to the "third opening / closing body". Corresponds to.

また、RR席又はRL席のリアクオータガラス34が上昇するときの挟み込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、FR席又はFL席のフロントサイドガラス32は、「第二開閉体」に相当し、RR席又はRL席のリアクオータガラス34は、「第三開閉体」に相当する。また、この場合、図14、図15において、「対象となるガラス」は、RR席又はRL席のリアクオータガラス34であり、「前後に隣接するガラス」は、FR席又はFL席のフロントサイドガラス32である。 Further, the same applies to the case of detecting the pinching when the rear quarter glass 34 of the RR seat or the RL seat rises. In this case, the roof 30 corresponds to the "first opening / closing body", the front side glass 32 of the FR seat or the FL seat corresponds to the "second opening / closing body", and the rear quarter glass 34 of the RR seat or the RL seat corresponds to the rear quarter glass 34. Corresponds to the "third opening and closing body". Further, in this case, in FIGS. 14 and 15, the "target glass" is the rear quarter glass 34 of the RR seat or the RL seat, and the "glass adjacent to the front and rear" is the front side glass of the FR seat or the FL seat. 32.

次に、第二実施形態に係る開閉体制御装置110における巻き込み検出処理の一例について説明する。 Next, an example of the entrainment detection process in the open / close body control device 110 according to the second embodiment will be described.

巻き込み検出処理では、巻き込み学習値記憶処理と、巻き込み判定処理が実行される。巻き込み学習値記憶処理は、学習値記憶処理部50によって実行され、巻き込み判定処理は、異常判定処理部60によって実行される。巻き込み学習値記憶処理は、「学習値記憶処理」の一例であり、巻き込み判定処理は、「異常判定処理」の一例である。図16には、巻き込み学習値記憶処理の流れが示されており、図17には、巻き込み判定処理の流れが示されている。 In the entrainment detection process, the entrainment learning value storage process and the entrainment determination process are executed. The entrainment learning value storage process is executed by the learning value storage processing unit 50, and the entrainment determination process is executed by the abnormality determination processing unit 60. The entrainment learning value storage process is an example of the “learning value storage process”, and the entrainment determination process is an example of the “abnormality determination process”. FIG. 16 shows the flow of the entrainment learning value storage process, and FIG. 17 shows the flow of the entrainment determination process.

本例では、一例として、FR席のフロントサイドガラス32が下降する場合の巻き込みを検出する例について説明する。図16、図17において、「対象となるガラス」は、FR席のフロントサイドガラス32であり、「前後に隣接するガラス」は、RR席のリアクオータガラス34である。また、本例において、ルーフ30は、「第一開閉体」に相当し、RR席のリアクオータガラス34は、「第二開閉体」に相当し、FR席のフロントサイドガラス32は、「第三開閉体」に相当する。 In this example, as an example, an example of detecting entrainment when the front side glass 32 of the FR seat is lowered will be described. In FIGS. 16 and 17, the “target glass” is the front side glass 32 of the FR seat, and the “glass adjacent to the front and rear” is the rear quarter glass 34 of the RR seat. Further, in this example, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RR seat corresponds to the "second opening / closing body", and the front side glass 32 of the FR seat corresponds to the "third". It corresponds to "opening and closing body".

(巻き込み学習値記憶処理のステップS61-1~ステップS64)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から開操作に応じて出力された信号を検出すると、図16に示される巻き込み学習値記憶処理を開始する。ステップS61-1~ステップS64は、上述の第一実施形態におけるステップS21-1~ステップS24と同様である。
(Step S61-1 to Step S64 of the entrainment learning value storage process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the opening operation, the entrainment learning value storage process shown in FIG. 16 is started. Steps S61-1 to S64 are the same as steps S21-1 to S24 in the above-described first embodiment.

すなわち、ステップS61-1(開閉状態取得処理)では、ルーフ30の開閉状態が取得され、ステップS61-2(開閉状態取得処理)では、リアクオータガラス34の開閉状態が取得される。また、ステップS62(作動判定処理)では、FR席のパワーウィンドウECU16の作動状態が判定され、ステップS63(学習値取得処理)では、フロントサイドガラス32における移動位置毎のモータ回転速度が学習値として取得される。そして、ステップS64(開閉状態判定処理)では、ルーフ30及びリアクオータガラス34の各々の開閉状態が判定される。 That is, in step S61-1 (open / close state acquisition process), the open / closed state of the roof 30 is acquired, and in step S61-2 (open / close state acquisition process), the open / closed state of the rear quarter glass 34 is acquired. Further, in step S62 (operation determination processing), the operating state of the power window ECU 16 in the FR seat is determined, and in step S63 (learning value acquisition processing), the motor rotation speed for each moving position on the front side glass 32 is acquired as a learning value. Will be done. Then, in step S64 (open / close state determination process), the open / closed state of each of the roof 30 and the rear quarter glass 34 is determined.

(巻き込み学習値記憶処理のステップS65:記憶処理)
ステップS65は、上述の第一実施形態におけるステップS25と異なる。このステップS65では、FR席のパワーウィンドウECU16のCPU40(記憶処理部155)が、上述のステップS64の判定結果に基づき、ステップS61-1及びステップS61-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態が予め定められた開閉状態である場合の学習値をRAM44に記憶させる。
(Step S65 of entrainment learning value storage processing: storage processing)
Step S65 is different from step S25 in the first embodiment described above. In this step S65, the CPU 40 (memory processing unit 155) of the power window ECU 16 in the FR seat has the roof 30 and the rear quarter glass acquired in steps S61-1 and S61-2 based on the determination result of the above-mentioned step S64. The learning value when each opening / closing state of 34 is a predetermined opening / closing state is stored in the RAM 44.

本例では、一例として、ルーフ30及びリアクオータガラス34がいずれも閉状態である場合が上述の予め定められた開閉状態に設定されている。そして、CPU40(記憶処理部155)は、ステップS63で取得された学習値のうち、ルーフ30及びリアクオータガラス34がいずれも閉状態である場合の学習値をRAM44に記憶させる。 In this example, as an example, the case where both the roof 30 and the rear quarter glass 34 are in the closed state is set to the above-mentioned predetermined open / closed state. Then, the CPU 40 (storage processing unit 155) stores in the RAM 44 the learning values acquired in step S63 when both the roof 30 and the rear quarter glass 34 are in the closed state.

なお、CPU40(記憶処理部155)は、ルーフ30及びリアクオータガラス34の各々の開閉状態がいずれも閉状態以外である場合については、学習値をRAM44に記憶させずに、一連の処理を終了する。 The CPU 40 (storage processing unit 155) ends a series of processing without storing the learning value in the RAM 44 when the open / closed state of each of the roof 30 and the rear quarter glass 34 is other than the closed state. do.

続いて、巻き込み判定処理について説明する。巻き込み判定処理は、上述の巻き込み学習値記憶処理が実行された回の後の回(好ましくは、次の回)におけるフロントサイドガラス32の下降時に実行される。なお、巻き込み判定処理が実行されると同時に、この巻き込み判定処理が実行される回の次の回の巻き込み学習値記憶処理が実行される。 Subsequently, the entrainment determination process will be described. The entanglement determination process is executed when the front side glass 32 is lowered in the turn (preferably the next turn) after the turn in which the entanglement learning value storage process is executed. At the same time as the entrainment determination process is executed, the entrainment learning value storage process is executed the next time after the entrainment determination process is executed.

(巻き込み判定処理のステップS71-1~ステップS73)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から開操作に応じて出力された信号を検出すると、図17に示される巻き込み判定処理を開始する。ステップS71-1~ステップS73は、上述の第一実施形態におけるステップS31-1~ステップS33と同様である。
(Step S71-1 to Step S73 of the entrainment determination process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the opening operation, the entrainment determination process shown in FIG. 17 is started. Steps S71-1 to S73 are the same as steps S31-1 to S33 in the above-described first embodiment.

すなわち、ステップS71-1(開閉状態取得処理)では、ルーフ30の開閉状態が取得され、ステップS71-2(開閉状態取得処理)では、リアクオータガラス34の開閉状態が取得される。また、ステップS72(作動判定処理)では、FR席のパワーウィンドウECU16の作動状態が判定され、ステップS73(開閉状態判定処理)では、ルーフ30及びリアクオータガラス34の各々の開閉状態が判定される。 That is, in step S71-1 (open / close state acquisition process), the open / closed state of the roof 30 is acquired, and in step S71-2 (open / close state acquisition process), the open / closed state of the rear quarter glass 34 is acquired. Further, in step S72 (operation determination processing), the operating state of the power window ECU 16 in the FR seat is determined, and in step S73 (opening / closing state determination processing), the open / closed state of each of the roof 30 and the rear quarter glass 34 is determined. ..

(巻き込み判定処理のステップS74:補正値選択処理)
ステップS74は、上述の第一実施形態におけるステップS34と異なる。このステップS74では、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)が、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けてROM42に予め記憶された補正値を、上述のステップS73の判定結果に応じて選択する。
(Step S74 of entanglement determination process: correction value selection process)
Step S74 is different from step S34 in the first embodiment described above. In this step S74, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat sets the correction value stored in advance in the ROM 42 in association with the open / closed states of the roof 30 and the rear quarter glass 34 in the above-mentioned step. Select according to the determination result of S73.

つまり、ルーフ30が閉状態でリアクオータガラス34が閉状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)は、ステップS74-1を実行する。そして、CPU40(補正値選択部164)は、ルーフ30の閉状態及びリアクオータガラス34の閉状態に関連付けてROM42に予め記憶された第一の補正値を選択する。 That is, when it is determined that the roof 30 is in the closed state and the rear quarter glass 34 is in the closed state, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat executes step S74-1. Then, the CPU 40 (correction value selection unit 164) selects the first correction value stored in advance in the ROM 42 in association with the closed state of the roof 30 and the closed state of the rear quarter glass 34.

また、ルーフ30が閉状態でリアクオータガラス34が開状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)は、ステップS74-2を実行する。そして、CPU40(補正値選択部164)は、ルーフ30の閉状態及びリアクオータガラス34の開状態に関連付けてROM42に予め記憶された第二の補正値を選択する。 When it is determined that the roof 30 is closed and the rear quarter glass 34 is open, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat executes step S74-2. Then, the CPU 40 (correction value selection unit 164) selects a second correction value stored in advance in the ROM 42 in association with the closed state of the roof 30 and the open state of the rear quarter glass 34.

また、ルーフ30が開状態でリアクオータガラス34が閉状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)は、ステップS74-3を実行する。そして、CPU40(補正値選択部164)は、ルーフ30の開状態及びリアクオータガラス34の閉状態に関連付けてROM42に予め記憶された第三の補正値を選択する。 When it is determined that the roof 30 is in the open state and the rear quarter glass 34 is in the closed state, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat executes step S74-3. Then, the CPU 40 (correction value selection unit 164) selects a third correction value stored in advance in the ROM 42 in association with the open state of the roof 30 and the closed state of the rear quarter glass 34.

また、ルーフ30が開状態でリアクオータガラス34が開状態であると判定された場合、FR席のパワーウィンドウECU16のCPU40(補正値選択部164)は、ステップS74-4を実行する。そして、CPU40(補正値選択部164)は、ルーフ30の開状態及びリアクオータガラス34の開状態に関連付けてROM42に予め記憶された第四の補正値を選択する。上述の第一乃至第四の補正値は、巻き込みを検出するために定められる任意の値である。 When it is determined that the roof 30 is in the open state and the rear quarter glass 34 is in the open state, the CPU 40 (correction value selection unit 164) of the power window ECU 16 in the FR seat executes step S74-4. Then, the CPU 40 (correction value selection unit 164) selects a fourth correction value stored in advance in the ROM 42 in association with the open state of the roof 30 and the open state of the rear quarter glass 34. The above-mentioned first to fourth correction values are arbitrary values determined for detecting entrainment.

(巻き込み判定処理のステップS75:閾値算出処理)
ステップS75は、上述の第一実施形態におけるステップS35と異なる。このステップS75では、FR席のパワーウィンドウECU16のCPU40(閾値算出部165)が、上述のステップS65で記憶された学習値及び上述のステップS74で選択された補正値に基づいて、フロントサイドガラス32の移動位置毎の閾値を算出する。すなわち、CPU40(閾値算出部165)は、ルーフ30及びリアクオータガラス34がいずれも閉状態である場合における学習値としてのモータ回転速度から、上述のステップS74で選択された補正値であるモータ回転速度を減算して閾値を算出する。
(Step S75 of entrainment determination process: threshold value calculation process)
Step S75 is different from step S35 in the first embodiment described above. In this step S75, the CPU 40 (threshold value calculation unit 165) of the power window ECU 16 in the FR seat determines the front side glass 32 based on the learning value stored in the above step S65 and the correction value selected in the above step S74. Calculate the threshold value for each moving position. That is, the CPU 40 (threshold value calculation unit 165) is a motor rotation speed which is a correction value selected in the above step S74 from the motor rotation speed as a learning value when both the roof 30 and the rear quarter glass 34 are in the closed state. Calculate the threshold by subtracting the speed.

(巻き込み判定処理のステップS76:異常判定結果出力処理)
ステップS76は、上述の第一実施形態におけるステップS36と同様である。このステップS76では、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部166)が、フロントサイドガラス32における移動位置毎に、FR席のモータ駆動部20から出力された信号に基づいてモータ回転速度を検出値として検出する。このモータ回転速度は、フロントサイドガラス32の移動速度に対応しており、「第三開閉体の移動速度に応じた検出値」に相当する。
(Step S76 of entrainment determination processing: Abnormality determination result output processing)
Step S76 is the same as step S36 in the above-mentioned first embodiment. In this step S76, the CPU 40 (abnormality determination result output unit 166) of the power window ECU 16 in the FR seat determines the motor rotation speed based on the signal output from the motor drive unit 20 in the FR seat for each movement position on the front side glass 32. Is detected as a detection value. This motor rotation speed corresponds to the moving speed of the front side glass 32, and corresponds to the "detection value according to the moving speed of the third opening / closing body".

そして、CPU40(異常判定結果出力部166)は、上述のステップS75で算出された閾値と検出値とを比較し、この比較した結果を巻き込み判定結果(異常判定結果)として出力する。このとき、検出値が閾値以上である場合、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部166)は、巻き込み無しとする巻き込み判定結果を出力する。一方、検出値が閾値未満である場合、CPU40(異常判定結果出力部166)は、巻き込み有りとする巻き込み判定結果を出力する。 Then, the CPU 40 (abnormality determination result output unit 166) compares the threshold value calculated in the above step S75 with the detected value, and outputs the comparison result as the involvement determination result (abnormality determination result). At this time, when the detected value is equal to or higher than the threshold value, the CPU 40 (abnormality determination result output unit 166) of the power window ECU 16 in the FR seat outputs the entrainment determination result that there is no entrainment. On the other hand, when the detected value is less than the threshold value, the CPU 40 (abnormality determination result output unit 166) outputs an entrainment determination result indicating that there is entrainment.

CPU40(異常判定結果出力部166)によって巻き込み有りとする巻き込み判定結果が出力された場合、FR席のパワーウィンドウECU16は、FR席のモータ駆動部20を停止させる。これにより、フロントサイドガラス32が停止し、巻き込みが防止される。 When the CPU 40 (abnormality determination result output unit 166) outputs an entrainment determination result indicating that there is entrainment, the power window ECU 16 in the FR seat stops the motor drive unit 20 in the FR seat. As a result, the front side glass 32 is stopped and entrainment is prevented.

(作用効果)
以上詳述した通り、第二実施形態に係る開閉体制御装置110によれば、学習値記憶処理では、ルーフ30及びリアクオータガラス34の各々の開閉状態が取得される。また、フロントサイドガラス32の移動位置毎の学習値としてフロントサイドガラス32を下降させるモータ駆動部20のモータ回転速度が取得される。そして、この取得された学習値のうち、ルーフ30及びリアクオータガラス34の各々の開閉状態が予め定められた開閉状態である場合の学習値がRAM44に記憶される。
(Action effect)
As described in detail above, according to the open / close body control device 110 according to the second embodiment, in the learning value storage process, the open / closed states of the roof 30 and the rear quarter glass 34 are acquired. Further, the motor rotation speed of the motor drive unit 20 for lowering the front side glass 32 is acquired as a learning value for each movement position of the front side glass 32. Then, among the acquired learning values, the learning values when the opening / closing state of each of the roof 30 and the rear quarter glass 34 is a predetermined opening / closing state are stored in the RAM 44.

続いて、異常判定処理では、ルーフ30及びリアクオータガラス34の各々の開閉状態が判定され、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けてROM42に予め記憶された補正値が上述の判定結果に応じて選択される。そして、フロントサイドガラス32の移動位置毎に、フロントサイドガラス32を下降させるモータ駆動部20のモータ回転速度が検出値として検出され、上述のRAM44に記憶された学習値及び選択された補正値に基づいて算出された閾値と、検出値とを比較した結果が巻き込み判定結果として出力される。 Subsequently, in the abnormality determination process, the open / closed state of each of the roof 30 and the rear quarter glass 34 is determined, and the correction value stored in advance in the ROM 42 in association with the open / closed state of each of the roof 30 and the rear quarter glass 34 is described above. It is selected according to the judgment result. Then, the motor rotation speed of the motor drive unit 20 that lowers the front side glass 32 is detected as a detection value for each movement position of the front side glass 32, and is based on the learning value stored in the RAM 44 and the selected correction value. The result of comparing the calculated threshold value with the detected value is output as the entrainment determination result.

したがって、ルーフ30及びリアクオータガラス34の各々の開閉状態に関連付けて記憶された補正値によって補正された学習値に基づいて巻き込み判定が行われるので、ルーフ30及びリアクオータガラス34の各々の開閉状態によってフロントサイドガラス32に作用する摺動抵抗が変化する場合でも、フロントサイドガラス32についてルーフ30及びリアクオータガラス34の各々の開閉状態に応じた適切な巻き込み判定を行うことができる。 Therefore, since the entrainment determination is performed based on the learning value corrected by the correction value stored in association with the open / closed state of each of the roof 30 and the rear quarter glass 34, the open / closed state of each of the roof 30 and the rear quarter glass 34 is performed. Even when the sliding resistance acting on the front side glass 32 changes, it is possible to make an appropriate entrainment determination for the front side glass 32 according to the open / closed state of each of the roof 30 and the rear quarter glass 34.

(本例における他の動作)
本例では、一例として、FR席のフロントサイドガラス32が下降するときの巻き込みを検出するが、FL席のフロントサイドガラス32が下降するときの巻き込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、RL席のリアクオータガラス34は、「第二開閉体」に相当し、FL席のフロントサイドガラス32は、「第三開閉体」に相当する。
(Other operations in this example)
In this example, as an example, the entanglement when the front side glass 32 of the FR seat is lowered is detected, but the same applies to the case of detecting the entanglement when the front side glass 32 of the FL seat is lowered. In this case, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RL seat corresponds to the "second opening / closing body", and the front side glass 32 of the FL seat corresponds to the "third opening / closing body". Corresponds to.

また、RR席又はRL席のリアクオータガラス34が下降するときの巻き込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、FR席又はFL席のフロントサイドガラス32は、「第二開閉体」に相当し、RR席又はRL席のリアクオータガラス34は、「第三開閉体」に相当する。また、この場合、図16、図17において、「対象となるガラス」は、RR席又はRL席のリアクオータガラス34であり、「前後に隣接するガラス」は、FR席又はFL席のフロントサイドガラス32である。 Further, the same applies to the case of detecting the entrainment when the rear quarter glass 34 of the RR seat or the RL seat is lowered. In this case, the roof 30 corresponds to the "first opening / closing body", the front side glass 32 of the FR seat or the FL seat corresponds to the "second opening / closing body", and the rear quarter glass 34 of the RR seat or the RL seat corresponds to the rear quarter glass 34. Corresponds to the "third opening and closing body". Further, in this case, in FIGS. 16 and 17, the “target glass” is the rear quarter glass 34 of the RR seat or the RL seat, and the “glass adjacent to the front and rear” is the front side glass of the FR seat or the FL seat. 32.

[第三実施形態]
次に、本発明の第三実施形態について説明する。
[Third Embodiment]
Next, a third embodiment of the present invention will be described.

図18には、第二実施形態に係る開閉体制御装置210がブロック図で示されている。第三実施形態では、第一実施形態におけるプログラム46(図1参照)の代わりに、プログラム246が用いられている。また、プログラム246が用いられることに伴い、各パワーウィンドウECU16の機能部の構成が第一実施形態と異なっている。 FIG. 18 shows a block diagram of the open / close body control device 210 according to the second embodiment. In the third embodiment, the program 246 is used instead of the program 46 (see FIG. 1) in the first embodiment. Further, as the program 246 is used, the configuration of the functional unit of each power window ECU 16 is different from that of the first embodiment.

すなわち、各パワーウィンドウECU16の学習値記憶処理部50は、記憶処理部55(図1参照)の代わりに記憶処理部255を有する。また、各パワーウィンドウECU16の異常判定処理部60は、学習値抽出部64、閾値算出部65及び異常判定結果出力部66(図1参照)の代わりに、補正値選択部264、閾値算出部265及び異常判定結果出力部266を有する。なお、第三実施形態において、学習値記憶処理部50の開閉状態取得部51は、「第一開閉状態取得部」の一例であり、異常判定処理部60の開閉状態取得部61は、「第二開閉状態取得部」の一例である。 That is, the learning value storage processing unit 50 of each power window ECU 16 has a storage processing unit 255 instead of the storage processing unit 55 (see FIG. 1). Further, the abnormality determination processing unit 60 of each power window ECU 16 has a correction value selection unit 264 and a threshold value calculation unit 265 instead of the learning value extraction unit 64, the threshold value calculation unit 65, and the abnormality determination result output unit 66 (see FIG. 1). It also has an abnormality determination result output unit 266. In the third embodiment, the open / closed state acquisition unit 51 of the learning value storage processing unit 50 is an example of the “first open / close state acquisition unit”, and the open / closed state acquisition unit 61 of the abnormality determination processing unit 60 is the “first open / close state acquisition unit”. This is an example of "two open / closed state acquisition units".

次に、第三実施形態に係る開閉体制御装置210における挟み込み検出処理の一例について説明する。 Next, an example of the pinch detection process in the open / close body control device 210 according to the third embodiment will be described.

挟み込み検出処理では、挟み込み学習値記憶処理と、挟み込み判定処理が実行される。挟み込み学習値記憶処理は、学習値記憶処理部50によって実行され、挟み込み判定処理は、異常判定処理部60によって実行される。挟み込み学習値記憶処理は、「学習値記憶処理」の一例であり、挟み込み判定処理は、「異常判定処理」の一例である。図19には、挟み込み学習値記憶処理の流れが示されており、図20には、挟み込み判定処理の流れが示されている。 In the pinch detection process, the pinch learning value storage process and the pinch determination process are executed. The sandwiched learning value storage process is executed by the learning value storage processing unit 50, and the sandwiching determination process is executed by the abnormality determination processing unit 60. The pinch learning value storage process is an example of "learning value storage process", and the pinch determination process is an example of "abnormality determination process". FIG. 19 shows the flow of the sandwich learning value storage process, and FIG. 20 shows the flow of the sandwich determination process.

本例では、一例として、FR席のフロントサイドガラス32が上昇するときの挟み込みを検出する例について説明する。図19、図20において、「対象となるガラス」は、FR席のフロントサイドガラス32であり、「前後に隣接するガラス」は、RR席のリアクオータガラス34である。また、本例において、ルーフ30は、「第一開閉体」に相当し、RR席のリアクオータガラス34は、「第二開閉体」に相当し、FR席のフロントサイドガラス32は、「第三開閉体」に相当する。 In this example, as an example, an example of detecting pinching when the front side glass 32 of the FR seat rises will be described. In FIGS. 19 and 20, the “target glass” is the front side glass 32 of the FR seat, and the “glass adjacent to the front and rear” is the rear quarter glass 34 of the RR seat. Further, in this example, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RR seat corresponds to the "second opening / closing body", and the front side glass 32 of the FR seat corresponds to the "third". It corresponds to "opening and closing body".

(挟み込み学習値記憶処理のステップS81-1~ステップS83)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から閉操作に応じて出力された信号を検出すると、図19に示される挟み込み学習値記憶処理を開始する。ステップS81-1~ステップS83は、上述の第一実施形態におけるステップS1-1~ステップS3と同様である。
(Step S81-1 to Step S83 of the sandwiched learning value storage process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the closing operation, the pinch learning value storage process shown in FIG. 19 is started. Steps S81-1 to S83 are the same as steps S1-1 to S3 in the above-mentioned first embodiment.

すなわち、ステップS81-1(第一開閉状態取得処理)では、ルーフ30の開閉状態が取得され、ステップS81-2(第一開閉状態取得処理)では、リアクオータガラス34の開閉状態が取得される。また、ステップS82(作動判定処理)では、FR席のパワーウィンドウECU16の作動状態が判定され、ステップS83(学習値取得処理)では、フロントサイドガラス32における移動位置毎のモータ回転速度が学習値として取得される。 That is, in step S81-1 (first open / closed state acquisition process), the open / closed state of the roof 30 is acquired, and in step S81-2 (first open / closed state acquisition process), the open / closed state of the rear quarter glass 34 is acquired. .. Further, in step S82 (operation determination processing), the operating state of the power window ECU 16 in the FR seat is determined, and in step S83 (learning value acquisition processing), the motor rotation speed for each moving position on the front side glass 32 is acquired as a learning value. Will be done.

(挟み込み学習値記憶処理のステップS84:記憶処理)
ステップS84は、上述の第一実施形態におけるステップS5と異なる。このステップS84では、FR席のパワーウィンドウECU16のCPU40(記憶処理部255)が、上述のステップS83で取得された学習値をRAM44に記憶させる。また、このとき、CPU40(記憶処理部255)は、学習値と併せて、上述のステップS81-1及びステップ81-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態をRAM44に記憶させる。
(Step S84 of sandwich learning value storage processing: storage processing)
Step S84 is different from step S5 in the first embodiment described above. In this step S84, the CPU 40 (storage processing unit 255) of the power window ECU 16 in the FR seat stores the learning value acquired in the above step S83 in the RAM 44. Further, at this time, the CPU 40 (memory processing unit 255) sets the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired in the above steps S81-1 and 81-2 to the RAM 44 together with the learning value. Remember.

続いて、挟み込み判定処理について説明する。挟み込み判定処理は、上述の挟み込み学習値記憶処理が実行された回の後の回(好ましくは、次の回)におけるフロントサイドガラス32の上昇時に実行される。なお、挟み込み判定処理が実行されると同時に、この挟み込み判定処理が実行される回の次の回の挟み込み学習値記憶処理が実行される。 Subsequently, the pinch determination process will be described. The pinch determination process is executed when the front side glass 32 is raised in a round (preferably the next round) after the pinch learning value storage process is executed. At the same time as the pinch determination process is executed, the pinch learning value storage process is executed the next time after the pinch determination process is executed.

(挟み込み判定処理のステップS91-1~ステップS92)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から閉操作に応じて出力された信号を検出すると、図20に示される挟み込み判定処理を開始する。ステップS91-1~ステップS92は、上述の第一実施形態におけるステップS11-1~ステップS12と同様である。
(Steps S91-1 to step S92 of the pinch determination process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the closing operation, the pinch determination process shown in FIG. 20 is started. Steps S91-1 to S92 are the same as steps S11-1 to S12 in the above-described first embodiment.

すなわち、ステップS91-1(第二開閉状態取得処理)では、ルーフ30の開閉状態が取得され、ステップS91-2(第二開閉状態取得処理)では、リアクオータガラス34の開閉状態が取得される。また、ステップS92(作動判定処理)では、FR席のパワーウィンドウECU16の作動状態が判定される。 That is, in step S91-1 (second open / closed state acquisition process), the open / closed state of the roof 30 is acquired, and in step S91-2 (second open / closed state acquisition process), the open / closed state of the rear quarter glass 34 is acquired. .. Further, in step S92 (operation determination process), the operation state of the power window ECU 16 in the FR seat is determined.

(挟み込み判定処理のステップS93:補正値選択処理)
ステップS93は、上述の第一実施形態におけるステップS14と異なる。このステップS93では、FR席のパワーウィンドウECU16のCPU40(補正値選択部264)が、上述の挟み込み学習値記憶処理時のステップS84でRAM44に記憶されたルーフ30及びリアクオータガラス34の各々の開閉状態と、上述の挟み込み判定処理時のステップS91-1、S91-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値を選択する。ここで、図21には、テーブルが示されている。
(Step S93 of pinch determination process: correction value selection process)
Step S93 is different from step S14 in the first embodiment described above. In this step S93, the CPU 40 (correction value selection unit 264) of the power window ECU 16 in the FR seat opens and closes each of the roof 30 and the rear quarter glass 34 stored in the RAM 44 in step S84 during the above-mentioned sandwich learning value storage process. A correction value is selected from a preset table from the combination of the state and the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired in steps S91-1 and S91-2 at the time of the pinch determination process described above. .. Here, FIG. 21 shows a table.

つまり、テーブルのNO.1に示されるように、挟み込み学習値記憶処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が記憶され、挟み込み判定処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が取得された場合には、テーブルから補正値(1)が選択される。このテーブルのNO.1では、挟み込み学習値記憶処理時と挟み込み判定処理時とでルーフ30及びリアクオータガラス34がいずれも閉状態であり、開閉状態に変化がないため、補正を行う必要がない。したがって、補正値(1)は一例として補正値0である。 That is, the table NO. As shown in 1, the closed state of the roof 30 and the closed state of the rear quarter glass 34 are stored during the pinch learning value storage process, and the closed state of the roof 30 and the closed state of the rear quarter glass 34 are acquired during the pinch determination process. If so, the correction value (1) is selected from the table. No. of this table. In No. 1, since the roof 30 and the rear quarter glass 34 are both in the closed state and the open / closed state does not change between the pinch learning value storage process and the pinch determination process, there is no need to perform correction. Therefore, the correction value (1) is a correction value of 0 as an example.

また、テーブルのNO.2に示されるように、挟み込み学習値記憶処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が記憶され、挟み込み判定処理時にルーフ30の閉状態及びリアクオータガラス34の開状態が取得された場合には、テーブルから補正値(2)が選択される。このテーブルのNO.2では、挟み込み学習値記憶処理時と挟み込み判定処理時とでリアクオータガラス34の開閉状態が変化しているため、この変化による学習値と理想とする閾値との違いを吸収するように補正を行う必要がある。したがって、補正値(2)はそのような違いを吸収する補正値である。 In addition, the table NO. As shown in 2, the closed state of the roof 30 and the closed state of the rear quarter glass 34 are stored during the pinch learning value storage process, and the closed state of the roof 30 and the open state of the rear quarter glass 34 are acquired during the pinch determination process. If so, the correction value (2) is selected from the table. No. of this table. In 2, since the open / closed state of the rear quarter glass 34 changes between the pinch learning value storage process and the pinch determination process, correction is made so as to absorb the difference between the learning value and the ideal threshold value due to this change. There is a need to do. Therefore, the correction value (2) is a correction value that absorbs such a difference.

また、テーブルのNO.3に示されるように、挟み込み学習値記憶処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が記憶され、挟み込み判定処理時にルーフ30の開状態及びリアクオータガラス34の閉状態が取得された場合には、テーブルから補正値(3)が選択される。このテーブルのNO.3では、挟み込み学習値記憶処理時と挟み込み判定処理時とでルーフ30の開閉状態が変化しているため、この変化による学習値と理想とする閾値との違いを吸収するように補正を行う必要がある。したがって、補正値(3)はそのような違いを吸収する補正値である。 In addition, the table NO. As shown in 3, the closed state of the roof 30 and the closed state of the rear quarter glass 34 are stored during the pinch learning value storage process, and the open state of the roof 30 and the closed state of the rear quarter glass 34 are acquired during the pinch determination process. If so, the correction value (3) is selected from the table. No. of this table. In No. 3, since the open / closed state of the roof 30 changes between the pinch learning value storage process and the pinch determination process, it is necessary to make a correction so as to absorb the difference between the learning value and the ideal threshold value due to this change. There is. Therefore, the correction value (3) is a correction value that absorbs such a difference.

また、テーブルのNO.4に示されるように、挟み込み学習値記憶処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が記憶され、挟み込み判定処理時にルーフ30の開状態及びリアクオータガラス34の開状態が取得された場合には、テーブルから補正値(4)が選択される。このテーブルのNO.4では、挟み込み学習値記憶処理時と挟み込み判定処理時とでルーフ30及びリアクオータガラス34の開閉状態が変化しているため、この変化による学習値と理想とする閾値との違いを吸収するように補正を行う必要がある。したがって、補正値(4)はそのような違いを吸収する補正値である。 In addition, the table NO. As shown in 4, the closed state of the roof 30 and the closed state of the rear quarter glass 34 are stored during the pinch learning value storage process, and the open state of the roof 30 and the open state of the rear quarter glass 34 are acquired during the pinch determination process. If so, the correction value (4) is selected from the table. No. of this table. In No. 4, since the open / closed state of the roof 30 and the rear quarter glass 34 changes between the pinch learning value storage process and the pinch determination process, the difference between the learning value and the ideal threshold value due to this change is absorbed. Need to be corrected. Therefore, the correction value (4) is a correction value that absorbs such a difference.

なお、テーブルのNO.5~NO.16の内容については、説明を省略するが、テーブルのNO.5~NO.16においても、挟み込み学習値記憶処理時におけるルーフ30及びリアクオータガラス34の開閉状態と、挟み込み判定処理時におけるルーフ30及びリアクオータガラス34の開閉状態とに応じて設定された補正値が選択される。 In addition, the table No. 5 ~ NO. The contents of No. 16 will be omitted, but the table No. 5 ~ NO. Also in 16, correction values set according to the open / closed state of the roof 30 and the rear quarter glass 34 during the pinch learning value storage process and the open / closed state of the roof 30 and the rear quarter glass 34 during the pinch determination process are selected. The glass.

(挟み込み判定処理のステップS94:閾値算出処理)
ステップS94は、上述の第一実施形態におけるステップS15と異なる。このステップS94では、FR席のパワーウィンドウECU16のCPU40(閾値算出部265)が、上述のステップS84で記憶された学習値及び上述のステップS93で選択された補正値に基づいて、フロントサイドガラス32の移動位置毎の閾値を算出する。すなわち、CPU40(閾値算出部265)は、フロントサイドガラス32における移動位置毎の学習値であるモータ回転速度から、選択された補正値であるモータ回転速度を加算又は減算して閾値を算出する。
(Step S94 of pinch determination process: threshold value calculation process)
Step S94 is different from step S15 in the first embodiment described above. In this step S94, the CPU 40 (threshold value calculation unit 265) of the power window ECU 16 in the FR seat determines the front side glass 32 based on the learning value stored in the above step S84 and the correction value selected in the above step S93. Calculate the threshold value for each moving position. That is, the CPU 40 (threshold value calculation unit 265) calculates the threshold value by adding or subtracting the selected correction value of the motor rotation speed from the motor rotation speed which is the learning value for each moving position on the front side glass 32.

(挟み込み判定処理のステップS95:異常判定結果出力処理)
ステップS95は、上述の第一実施形態におけるステップS16と同様である。このステップS95では、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部266)が、フロントサイドガラス32における移動位置毎に、FR席のモータ駆動部20から出力された信号に基づいてモータ回転速度を検出値として検出する。このモータ回転速度は、フロントサイドガラス32の移動速度に対応しており、「第三開閉体の移動速度に応じた検出値」に相当する。
(Pinch determination process step S95: Abnormality determination result output process)
Step S95 is the same as step S16 in the above-mentioned first embodiment. In this step S95, the CPU 40 (abnormality determination result output unit 266) of the power window ECU 16 in the FR seat determines the motor rotation speed based on the signal output from the motor drive unit 20 in the FR seat for each movement position on the front side glass 32. Is detected as a detection value. This motor rotation speed corresponds to the moving speed of the front side glass 32, and corresponds to the "detection value according to the moving speed of the third opening / closing body".

そして、CPU40(異常判定結果出力部266)は、上述のステップS94で算出された閾値と検出値とを比較し、この比較した結果を挟み込み判定結果(異常判定結果)として出力する。このとき、検出値が閾値以上である場合、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部266)は、挟み込み無しとする挟み込み判定結果を出力する。一方、検出値が閾値未満である場合、CPU40(異常判定結果出力部266)は、挟み込み有りとする挟み込み判定結果を出力する。 Then, the CPU 40 (abnormality determination result output unit 266) compares the threshold value calculated in step S94 with the detected value, and outputs the comparison result as a sandwiching determination result (abnormality determination result). At this time, when the detected value is equal to or higher than the threshold value, the CPU 40 (abnormality determination result output unit 266) of the power window ECU 16 in the FR seat outputs the pinching determination result without pinching. On the other hand, when the detected value is less than the threshold value, the CPU 40 (abnormality determination result output unit 266) outputs the pinching determination result indicating that there is pinching.

CPU40(異常判定結果出力部266)によって挟み込み有りとする挟み込み判定結果が出力された場合、FR席のパワーウィンドウECU16は、FR席のモータ駆動部20を反転動作させる。これにより、フロントサイドガラス32が下降し、挟み込みが防止される。 When the pinching determination result indicating that there is pinching is output by the CPU 40 (abnormality determination result output unit 266), the power window ECU 16 in the FR seat reverses the motor drive unit 20 in the FR seat. As a result, the front side glass 32 is lowered to prevent pinching.

(作用効果)
以上詳述した通り、第三実施形態に係る開閉体制御装置210によれば、挟み込み学習値記憶時に、ルーフ30及びリアクオータガラス34の各々の開閉状態が取得される。また、フロントサイドガラス32の移動位置毎の学習値としてフロントサイドガラス32を上昇させるモータ駆動部20のモータ回転速度が取得される。そして、この取得されたルーフ30及びリアクオータガラス34の各々の開閉状態と、学習値とがRAM44に記憶される。
(Action effect)
As described in detail above, according to the opening / closing body control device 210 according to the third embodiment, the opening / closing states of the roof 30 and the rear quarter glass 34 are acquired at the time of storing the sandwiched learning value. Further, the motor rotation speed of the motor drive unit 20 that raises the front side glass 32 is acquired as a learning value for each movement position of the front side glass 32. Then, the open / closed state of each of the acquired roof 30 and the rear quarter glass 34 and the learning value are stored in the RAM 44.

続いて、挟み込み判定処理時に、ルーフ30及びリアクオータガラス34の各々の開閉状態が取得される。また、挟み込み学習値記憶処理時にRAM44に記憶されたルーフ30及びリアクオータガラス34の各々の開閉状態と、挟み込み判定処理時に取得されたルーフ30及びリアクオータガラス34の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値が選択される。そして、フロントサイドガラス32の移動位置毎に、フロントサイドガラス32を上昇させるモータ駆動部20のモータ回転速度が検出値として検出され、上述のRAM44に記憶された学習値及び選択された補正値に基づいて算出された閾値と、検出値とを比較した結果が挟み込み判定結果として出力される。 Subsequently, the open / closed states of the roof 30 and the rear quarter glass 34 are acquired during the pinch determination process. Further, from the combination of the open / closed states of the roof 30 and the rear quarter glass 34 stored in the RAM 44 during the pinch learning value storage process and the open / closed states of the roof 30 and the rear quarter glass 34 acquired during the pinch determination process. , The correction value is selected from the preset table. Then, the motor rotation speed of the motor drive unit 20 that raises the front side glass 32 is detected as a detection value for each movement position of the front side glass 32, and is based on the learning value stored in the RAM 44 and the selected correction value. The result of comparing the calculated threshold value with the detected value is output as the sandwiching determination result.

したがって、挟み込み学習値記憶処理時にRAM44に記憶されたルーフ30及びリアクオータガラス34の各々の開閉状態と、挟み込み判定処理時に取得されたルーフ30及びリアクオータガラス34の各々の開閉状態とに対応する補正値によって補正された学習値に基づいて挟み込み判定が行われるので、ルーフ30及びリアクオータガラス34の各々の開閉状態によってフロントサイドガラス32に作用する摺動抵抗が変化する場合でも、フロントサイドガラス32についてルーフ30及びリアクオータガラス34の各々の開閉状態に応じた適切な挟み込み判定を行うことができる。 Therefore, it corresponds to the open / closed state of each of the roof 30 and the rear quarter glass 34 stored in the RAM 44 during the pinch learning value storage process, and the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired during the pinch determination process. Since the pinching determination is performed based on the learning value corrected by the correction value, even if the sliding resistance acting on the front side glass 32 changes depending on the open / closed state of each of the roof 30 and the rear quarter glass 34, the front side glass 32 Appropriate pinching determination can be made according to the open / closed state of each of the roof 30 and the rear quarter glass 34.

(本例における他の動作)
本例では、一例として、FR席のフロントサイドガラス32が上昇するときの挟み込みを検出するが、FL席のフロントサイドガラス32が上昇するときの挟み込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、RL席のリアクオータガラス34は、「第二開閉体」に相当し、FL席のフロントサイドガラス32は、「第三開閉体」に相当する。
(Other operations in this example)
In this example, as an example, the pinching when the front side glass 32 of the FR seat rises is detected, but the same applies to the case of detecting the pinching when the front side glass 32 of the FL seat rises. In this case, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RL seat corresponds to the "second opening / closing body", and the front side glass 32 of the FL seat corresponds to the "third opening / closing body". Corresponds to.

また、RR席又はRL席のリアクオータガラス34が上昇するときの挟み込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、FR席又はFL席のフロントサイドガラス32は、「第二開閉体」に相当し、RR席又はRL席のリアクオータガラス34は、「第三開閉体」に相当する。また、この場合、図14、図15において、「対象となるガラス」は、RR席又はRL席のリアクオータガラス34であり、「前後に隣接するガラス」は、FR席又はFL席のフロントサイドガラス32である。 Further, the same applies to the case of detecting the pinching when the rear quarter glass 34 of the RR seat or the RL seat rises. In this case, the roof 30 corresponds to the "first opening / closing body", the front side glass 32 of the FR seat or the FL seat corresponds to the "second opening / closing body", and the rear quarter glass 34 of the RR seat or the RL seat corresponds to the rear quarter glass 34. Corresponds to the "third opening and closing body". Further, in this case, in FIGS. 14 and 15, the "target glass" is the rear quarter glass 34 of the RR seat or the RL seat, and the "glass adjacent to the front and rear" is the front side glass of the FR seat or the FL seat. 32.

次に、第三実施形態に係る開閉体制御装置210における巻き込み検出処理の一例について説明する。 Next, an example of the entrainment detection process in the open / close body control device 210 according to the third embodiment will be described.

巻き込み検出処理では、巻き込み学習値記憶処理と、巻き込み判定処理が実行される。巻き込み学習値記憶処理は、学習値記憶処理部50によって実行され、巻き込み判定処理は、異常判定処理部60によって実行される。巻き込み学習値記憶処理は、「学習値記憶処理」の一例であり、巻き込み判定処理は、「異常判定処理」の一例である。図22には、巻き込み学習値記憶処理の流れが示されており、図23には、巻き込み判定処理の流れが示されている。 In the entrainment detection process, the entrainment learning value storage process and the entrainment determination process are executed. The entrainment learning value storage process is executed by the learning value storage processing unit 50, and the entrainment determination process is executed by the abnormality determination processing unit 60. The entrainment learning value storage process is an example of the “learning value storage process”, and the entrainment determination process is an example of the “abnormality determination process”. FIG. 22 shows the flow of the entrainment learning value storage process, and FIG. 23 shows the flow of the entrainment determination process.

本例では、一例として、FR席のフロントサイドガラス32が下降する場合の巻き込みを検出する例について説明する。図22、図23において、「対象となるガラス」は、FR席のフロントサイドガラス32であり、「前後に隣接するガラス」は、RR席のリアクオータガラス34である。また、本例において、ルーフ30は、「第一開閉体」に相当し、RR席のリアクオータガラス34は、「第二開閉体」に相当し、FR席のフロントサイドガラス32は、「第三開閉体」に相当する。 In this example, as an example, an example of detecting entrainment when the front side glass 32 of the FR seat is lowered will be described. In FIGS. 22 and 23, the “target glass” is the front side glass 32 of the FR seat, and the “glass adjacent to the front and rear” is the rear quarter glass 34 of the RR seat. Further, in this example, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RR seat corresponds to the "second opening / closing body", and the front side glass 32 of the FR seat corresponds to the "third". It corresponds to "opening and closing body".

(巻き込み学習値記憶処理のステップS101-1~ステップS103)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から開操作に応じて出力された信号を検出すると、図22に示される巻き込み学習値記憶処理を開始する。ステップS101-1~ステップS103は、上述の第一実施形態におけるステップS21-1~ステップS23と同様である。
(Steps S101-1 to S103 of entrainment learning value storage processing)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the opening operation, the entrainment learning value storage process shown in FIG. 22 is started. Steps S101-1 to S103 are the same as steps S21-1 to S23 in the above-mentioned first embodiment.

すなわち、ステップS101-1(第一開閉状態取得処理)では、ルーフ30の開閉状態が取得され、ステップS101-2(第一開閉状態取得処理)では、リアクオータガラス34の開閉状態が取得される。また、ステップS102(作動判定処理)では、FR席のパワーウィンドウECU16の作動状態が判定され、ステップS103(学習値取得処理)では、フロントサイドガラス32における移動位置毎のモータ回転速度が学習値として取得される。 That is, in step S101-1 (first open / closed state acquisition process), the open / closed state of the roof 30 is acquired, and in step S101-2 (first open / closed state acquisition process), the open / closed state of the rear quarter glass 34 is acquired. .. Further, in step S102 (operation determination processing), the operating state of the power window ECU 16 in the FR seat is determined, and in step S103 (learning value acquisition processing), the motor rotation speed for each moving position on the front side glass 32 is acquired as a learning value. Will be done.

(巻き込み学習値記憶処理のステップS104:記憶処理)
ステップS104は、上述の第一実施形態におけるステップS25と異なる。このステップS104では、FR席のパワーウィンドウECU16のCPU40(記憶処理部255)が、上述のステップS103で取得された学習値をRAM44に記憶させる。また、このとき、CPU40(記憶処理部255)は、学習値と併せて、上述のステップS101-1及びステップ101-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態をRAM44に記憶させる。
(Step S104 of entrainment learning value storage processing: storage processing)
Step S104 is different from step S25 in the first embodiment described above. In this step S104, the CPU 40 (storage processing unit 255) of the power window ECU 16 in the FR seat stores the learning value acquired in the above step S103 in the RAM 44. Further, at this time, the CPU 40 (storage processing unit 255) sets the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired in the above steps S101-1 and 101-2 to the RAM 44 together with the learning value. Remember.

続いて、巻き込み判定処理について説明する。巻き込み判定処理は、上述の巻き込み学習値記憶処理が実行された回の後の回(好ましくは、次の回)におけるフロントサイドガラス32の下降時に実行される。なお、巻き込み判定処理が実行されると同時に、この巻き込み判定処理が実行される回の次の回の巻き込み学習値記憶処理が実行される。 Subsequently, the entrainment determination process will be described. The entanglement determination process is executed when the front side glass 32 is lowered in the turn (preferably the next turn) after the turn in which the entanglement learning value storage process is executed. At the same time as the entrainment determination process is executed, the entrainment learning value storage process is executed the next time after the entrainment determination process is executed.

(巻き込み判定処理のステップS111-1~ステップS112)
FR席のパワーウィンドウECU16は、FR席のパワーウィンドウスイッチ26から開操作に応じて出力された信号を検出すると、図23に示される巻き込み判定処理を開始する。ステップS111-1~ステップS112は、上述の第一実施形態におけるステップS31-1~ステップS32と同様である。
(Steps S111-1 to S112 of the entrainment determination process)
When the power window ECU 16 in the FR seat detects a signal output from the power window switch 26 in the FR seat in response to the opening operation, the entrainment determination process shown in FIG. 23 is started. Steps S111-1 to S112 are the same as steps S31-1 to S32 in the above-described first embodiment.

すなわち、ステップS111-1(第二開閉状態取得処理)では、ルーフ30の開閉状態が取得され、ステップS111-2(第二開閉状態取得処理)では、リアクオータガラス34の開閉状態が取得される。また、ステップS112(作動判定処理)では、FR席のパワーウィンドウECU16の作動状態が判定される。 That is, in step S111-1 (second open / closed state acquisition process), the open / closed state of the roof 30 is acquired, and in step S111-2 (second open / closed state acquisition process), the open / closed state of the rear quarter glass 34 is acquired. .. Further, in step S112 (operation determination process), the operation state of the power window ECU 16 in the FR seat is determined.

(巻き込み判定処理のステップS113:補正値選択処理)
ステップS113は、上述の第一実施形態におけるステップS34と異なる。このステップS113では、FR席のパワーウィンドウECU16のCPU40(補正値選択部264)が、上述の巻き込み学習値記憶処理時のステップS104でRAM44に記憶されたルーフ30及びリアクオータガラス34の各々の開閉状態と、上述の巻き込み判定処理時のステップS111-1、S111-2で取得されたルーフ30及びリアクオータガラス34の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値を選択する。ここで、図24には、テーブルが示されている。
(Step S113 of entrainment determination process: correction value selection process)
Step S113 is different from step S34 in the first embodiment described above. In step S113, the CPU 40 (correction value selection unit 264) of the power window ECU 16 in the FR seat opens and closes each of the roof 30 and the rear quarter glass 34 stored in the RAM 44 in step S104 during the above-mentioned entrainment learning value storage process. A correction value is selected from a preset table from the combination of the state and the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired in steps S111-1 and S111-2 at the time of the above-mentioned entrainment determination process. .. Here, FIG. 24 shows a table.

つまり、テーブルのNO.1に示されるように、巻き込み学習値記憶処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が記憶され、巻き込み判定処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が取得された場合には、テーブルから補正値(1)が選択される。このテーブルのNO.1では、巻き込み学習値記憶処理時と巻き込み判定処理時とでルーフ30及びリアクオータガラス34がいずれも閉状態であり、開閉状態に変化がないため、補正を行う必要がない。したがって、補正値(1)は一例として補正値0である。 That is, the table NO. As shown in 1, the closed state of the roof 30 and the closed state of the rear quarter glass 34 are stored during the entrainment learning value storage process, and the closed state of the roof 30 and the closed state of the rear quarter glass 34 are acquired during the entrainment determination process. If so, the correction value (1) is selected from the table. No. of this table. In No. 1, since the roof 30 and the rear quarter glass 34 are both in the closed state during the entrainment learning value storage process and the entrainment determination process, and there is no change in the open / closed state, there is no need to perform correction. Therefore, the correction value (1) is a correction value of 0 as an example.

また、テーブルのNO.2に示されるように、巻き込み学習値記憶処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が記憶され、巻き込み判定処理時にルーフ30の閉状態及びリアクオータガラス34の開状態が取得された場合には、テーブルから補正値(2)が選択される。このテーブルのNO.2では、巻き込み学習値記憶処理時と巻き込み判定処理時とでリアクオータガラス34の開閉状態が変化しているため、この変化による学習値と理想とする閾値との違いを吸収するように補正を行う必要がある。したがって、補正値(2)はそのような違いを吸収する補正値である。 In addition, the table NO. As shown in 2, the closed state of the roof 30 and the closed state of the rear quarter glass 34 are stored during the entrainment learning value storage process, and the closed state of the roof 30 and the open state of the rear quarter glass 34 are acquired during the entrainment determination process. If so, the correction value (2) is selected from the table. No. of this table. In 2, since the open / closed state of the rear quarter glass 34 changes between the entrainment learning value storage process and the entrainment determination process, correction is made so as to absorb the difference between the learning value and the ideal threshold value due to this change. There is a need to do. Therefore, the correction value (2) is a correction value that absorbs such a difference.

また、テーブルのNO.3に示されるように、巻き込み学習値記憶処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が記憶され、巻き込み判定処理時にルーフ30の開状態及びリアクオータガラス34の閉状態が取得された場合には、テーブルから補正値(3)が選択される。このテーブルのNO.3では、巻き込み学習値記憶処理時と巻き込み判定処理時とでルーフ30の開閉状態が変化しているため、この変化による学習値と理想とする閾値との違いを吸収するように補正を行う必要がある。したがって、補正値(3)はそのような違いを吸収する補正値である。 In addition, the table NO. As shown in 3, the closed state of the roof 30 and the closed state of the rear quarter glass 34 are stored during the entrainment learning value storage process, and the open state of the roof 30 and the closed state of the rear quarter glass 34 are acquired during the entrainment determination process. If so, the correction value (3) is selected from the table. No. of this table. In No. 3, since the open / closed state of the roof 30 changes between the entrainment learning value storage process and the entrainment determination process, it is necessary to make a correction so as to absorb the difference between the learning value and the ideal threshold value due to this change. There is. Therefore, the correction value (3) is a correction value that absorbs such a difference.

また、テーブルのNO.4に示されるように、巻き込み学習値記憶処理時にルーフ30の閉状態及びリアクオータガラス34の閉状態が記憶され、巻き込み判定処理時にルーフ30の開状態及びリアクオータガラス34の開状態が取得された場合には、テーブルから補正値(4)が選択される。このテーブルのNO.4では、巻き込み学習値記憶処理時と巻き込み判定処理時とでルーフ30及びリアクオータガラス34の開閉状態が変化しているため、この変化による学習値と理想とする閾値との違いを吸収するように補正を行う必要がある。したがって、補正値(4)はそのような違いを吸収する補正値である。 In addition, the table NO. As shown in 4, the closed state of the roof 30 and the closed state of the rear quarter glass 34 are stored during the entrainment learning value storage process, and the open state of the roof 30 and the open state of the rear quarter glass 34 are acquired during the entrainment determination process. If so, the correction value (4) is selected from the table. No. of this table. In No. 4, since the open / closed state of the roof 30 and the rear quarter glass 34 changes between the entrainment learning value storage process and the entrainment determination process, the difference between the learning value and the ideal threshold value due to this change is absorbed. Need to be corrected. Therefore, the correction value (4) is a correction value that absorbs such a difference.

なお、テーブルのNO.5~NO.16の内容については、説明を省略するが、テーブルのNO.5~NO.16においても、巻き込み学習値記憶処理時におけるルーフ30及びリアクオータガラス34の開閉状態と、巻き込み判定処理時におけるルーフ30及びリアクオータガラス34の開閉状態とに応じて設定された補正値が選択される。 In addition, the table No. 5 ~ NO. The contents of No. 16 will be omitted, but the table No. 5 ~ NO. Also in 16, correction values set according to the open / closed state of the roof 30 and the rear quarter glass 34 during the entrainment learning value storage process and the open / closed state of the roof 30 and the rear quarter glass 34 during the entrainment determination process are selected. The glass.

(巻き込み判定処理のステップS114:閾値算出処理)
ステップS114は、上述の第一実施形態におけるステップS35と異なる。このステップS114では、FR席のパワーウィンドウECU16のCPU40(閾値算出部265)が、上述のステップS104で記憶された学習値及び上述のステップS113で選択された補正値に基づいて、フロントサイドガラス32の移動位置毎の閾値を算出する。すなわち、CPU40(閾値算出部265)は、フロントサイドガラス32における移動位置毎の学習値であるモータ回転速度から、選択された補正値であるモータ回転速度を加算又は減算して閾値を算出する。
(Step S114 of entanglement determination process: threshold value calculation process)
Step S114 is different from step S35 in the first embodiment described above. In this step S114, the CPU 40 (threshold value calculation unit 265) of the power window ECU 16 in the FR seat of the front side glass 32 is based on the learning value stored in the above-mentioned step S104 and the correction value selected in the above-mentioned step S113. Calculate the threshold value for each moving position. That is, the CPU 40 (threshold value calculation unit 265) calculates the threshold value by adding or subtracting the selected correction value of the motor rotation speed from the motor rotation speed which is the learning value for each moving position on the front side glass 32.

(巻き込み判定処理のステップS115:異常判定結果出力処理)
ステップS115は、上述の第一実施形態におけるステップS36と同様である。このステップS115では、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部266)が、フロントサイドガラス32における移動位置毎に、FR席のモータ駆動部20から出力された信号に基づいてモータ回転速度を検出値として検出する。このモータ回転速度は、フロントサイドガラス32の移動速度に対応しており、「第三開閉体の移動速度に応じた検出値」に相当する。
(Step S115 of entrainment determination processing: abnormality determination result output processing)
Step S115 is the same as step S36 in the above-mentioned first embodiment. In this step S115, the CPU 40 (abnormality determination result output unit 266) of the power window ECU 16 in the FR seat has a motor rotation speed based on a signal output from the motor drive unit 20 in the FR seat for each movement position on the front side glass 32. Is detected as a detection value. This motor rotation speed corresponds to the moving speed of the front side glass 32, and corresponds to the "detection value according to the moving speed of the third opening / closing body".

そして、CPU40(異常判定結果出力部266)は、上述のステップS114で算出された閾値と検出値とを比較し、この比較した結果を巻き込み判定結果(異常判定結果)として出力する。このとき、検出値が閾値以上である場合、FR席のパワーウィンドウECU16のCPU40(異常判定結果出力部266)は、巻き込み無しとする巻き込み判定結果を出力する。一方、検出値が閾値未満である場合、CPU40(異常判定結果出力部266)は、巻き込み有りとする巻き込み判定結果を出力する。 Then, the CPU 40 (abnormality determination result output unit 266) compares the threshold value calculated in step S114 described above with the detected value, and outputs the comparison result as a involvement determination result (abnormality determination result). At this time, when the detected value is equal to or higher than the threshold value, the CPU 40 (abnormality determination result output unit 266) of the power window ECU 16 in the FR seat outputs the entrainment determination result that there is no entrainment. On the other hand, when the detected value is less than the threshold value, the CPU 40 (abnormality determination result output unit 266) outputs an entrainment determination result indicating that there is entrainment.

CPU40(異常判定結果出力部266)によって巻き込み有りとする巻き込み判定結果が出力された場合、FR席のパワーウィンドウECU16は、FR席のモータ駆動部20を停止させる。これにより、フロントサイドガラス32が停止し、巻き込みが防止される。 When the CPU 40 (abnormality determination result output unit 266) outputs an entrainment determination result indicating that there is entrainment, the power window ECU 16 in the FR seat stops the motor drive unit 20 in the FR seat. As a result, the front side glass 32 is stopped and entrainment is prevented.

(作用効果)
以上詳述した通り、第三実施形態に係る開閉体制御装置210によれば、巻き込み学習値記憶処理時に、ルーフ30及びリアクオータガラス34の各々の開閉状態が取得される。また、フロントサイドガラス32の移動位置毎の学習値としてフロントサイドガラス32を下降させるモータ駆動部20のモータ回転速度が取得される。そして、この取得されたルーフ30及びリアクオータガラス34の各々の開閉状態と、学習値とがRAM44に記憶される。
(Action effect)
As described in detail above, according to the open / close body control device 210 according to the third embodiment, the open / closed states of the roof 30 and the rear quarter glass 34 are acquired at the time of the entrainment learning value storage process. Further, the motor rotation speed of the motor drive unit 20 for lowering the front side glass 32 is acquired as a learning value for each movement position of the front side glass 32. Then, the open / closed state of each of the acquired roof 30 and the rear quarter glass 34 and the learning value are stored in the RAM 44.

続いて、巻き込み判定処理時に、ルーフ30及びリアクオータガラス34の各々の開閉状態が取得される。また、巻き込み学習値記憶処理時にRAM44に記憶されたルーフ30及びリアクオータガラス34の各々の開閉状態と、巻き込み判定処理時に取得されたルーフ30及びリアクオータガラス34の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値が選択される。そして、フロントサイドガラス32の移動位置毎に、フロントサイドガラス32を下降させるモータ駆動部20のモータ回転速度が検出値として検出され、上述のRAM44に記憶された学習値及び選択された補正値に基づいて算出された閾値と、検出値とを比較した結果が巻き込み判定結果として出力される。 Subsequently, the open / closed states of the roof 30 and the rear quarter glass 34 are acquired during the entrainment determination process. Further, from the combination of the open / closed states of the roof 30 and the rear quarter glass 34 stored in the RAM 44 during the entrainment learning value storage process and the open / closed states of the roof 30 and the rear quarter glass 34 acquired during the entrainment determination process. , The correction value is selected from the preset table. Then, the motor rotation speed of the motor drive unit 20 that lowers the front side glass 32 is detected as a detection value for each movement position of the front side glass 32, and is based on the learning value stored in the RAM 44 and the selected correction value. The result of comparing the calculated threshold value with the detected value is output as the entrainment determination result.

したがって、巻き込み学習値記憶処理時にRAM44に記憶されたルーフ30及びリアクオータガラス34の各々の開閉状態と、巻き込み判定処理時に取得されたルーフ30及びリアクオータガラス34の各々の開閉状態とに対応する補正値によって補正された学習値に基づいて巻き込み判定が行われるので、ルーフ30及びリアクオータガラス34の各々の開閉状態によってフロントサイドガラス32に作用する摺動抵抗が変化する場合でも、フロントサイドガラス32についてルーフ30及びリアクオータガラス34の各々の開閉状態に応じた適切な巻き込み判定を行うことができる。 Therefore, it corresponds to the open / closed state of each of the roof 30 and the rear quarter glass 34 stored in the RAM 44 during the entrainment learning value storage process, and the open / closed state of each of the roof 30 and the rear quarter glass 34 acquired during the entrainment determination process. Since the entrainment determination is performed based on the learning value corrected by the correction value, even if the sliding resistance acting on the front side glass 32 changes depending on the open / closed state of each of the roof 30 and the rear quarter glass 34, the front side glass 32 Appropriate entrainment determination can be made according to the open / closed state of each of the roof 30 and the rear quarter glass 34.

(本例における他の動作)
本例では、一例として、FR席のフロントサイドガラス32が下降するときの巻き込みを検出するが、FL席のフロントサイドガラス32が下降するときの巻き込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、RL席のリアクオータガラス34は、「第二開閉体」に相当し、FL席のフロントサイドガラス32は、「第三開閉体」に相当する。
(Other operations in this example)
In this example, as an example, the entanglement when the front side glass 32 of the FR seat is lowered is detected, but the same applies to the case of detecting the entanglement when the front side glass 32 of the FL seat is lowered. In this case, the roof 30 corresponds to the "first opening / closing body", the rear quarter glass 34 of the RL seat corresponds to the "second opening / closing body", and the front side glass 32 of the FL seat corresponds to the "third opening / closing body". Corresponds to.

また、RR席又はRL席のリアクオータガラス34が下降するときの巻き込みを検出する場合も、上記と同様である。この場合、ルーフ30は、「第一開閉体」に相当し、FR席又はFL席のフロントサイドガラス32は、「第二開閉体」に相当し、RR席又はRL席のリアクオータガラス34は、「第三開閉体」に相当する。また、この場合、図16、図17において、「対象となるガラス」は、RR席又はRL席のリアクオータガラス34であり、「前後に隣接するガラス」は、FR席又はFL席のフロントサイドガラス32である。 Further, the same applies to the case of detecting the entrainment when the rear quarter glass 34 of the RR seat or the RL seat is lowered. In this case, the roof 30 corresponds to the "first opening / closing body", the front side glass 32 of the FR seat or the FL seat corresponds to the "second opening / closing body", and the rear quarter glass 34 of the RR seat or the RL seat corresponds to the rear quarter glass 34. Corresponds to the "third opening and closing body". Further, in this case, in FIGS. 16 and 17, the “target glass” is the rear quarter glass 34 of the RR seat or the RL seat, and the “glass adjacent to the front and rear” is the front side glass of the FR seat or the FL seat. 32.

次に、上述の第一乃至第三実施形態に共通の変形例について説明する。 Next, a modification common to the above-mentioned first to third embodiments will be described.

上記第一乃至第三実施形態における挟み込み判定処理では、フロントサイドガラス32における移動位置毎のモータ回転速度が学習値として取得され、この学習値から補正値を減算して閾値が算出される。そして、フロントサイドガラス32における移動位置毎の検出値であるモータ回転速度が閾値以上である場合、挟み込み無しと判定され、検出値が閾値未満である場合、挟み込み有りと判定される。 In the pinch determination process in the first to third embodiments, the motor rotation speed for each moving position on the front side glass 32 is acquired as a learning value, and the correction value is subtracted from this learning value to calculate the threshold value. When the motor rotation speed, which is the detected value for each moving position on the front side glass 32, is equal to or greater than the threshold value, it is determined that there is no pinching, and when the detected value is less than the threshold value, it is determined that there is pinching.

しかしながら、例えば、フロントサイドガラス32における移動位置毎の移動速度が学習値として取得され、この学習値から補正値を減算して閾値が算出されてもよい。そして、フロントサイドガラス32における移動位置毎の検出値である移動速度が閾値以上である場合、挟み込み無しと判定され、検出値が閾値未満である場合、挟み込み有りと判定されてもよい。 However, for example, the moving speed for each moving position on the front side glass 32 may be acquired as a learning value, and the threshold value may be calculated by subtracting the correction value from this learning value. When the moving speed, which is the detected value for each moving position on the front side glass 32, is equal to or higher than the threshold value, it may be determined that there is no pinching, and when the detected value is less than the threshold value, it may be determined that there is pinching.

また、例えば、フロントサイドガラス32における移動位置毎のモータ電流(又はモータ電圧)が学習値として取得され、この学習値に補正値を加算して閾値が算出されてもよい。そして、フロントサイドガラス32における移動位置毎の検出値であるモータ電流(又はモータ電圧)が閾値未満である場合、挟み込み無しと判定され、検出値が閾値以上である場合、挟み込み有りと判定されてもよい。 Further, for example, the motor current (or motor voltage) for each moving position on the front side glass 32 may be acquired as a learning value, and a correction value may be added to this learning value to calculate a threshold value. If the motor current (or motor voltage), which is the detected value for each moving position on the front side glass 32, is less than the threshold value, it is determined that there is no pinching, and if the detected value is greater than or equal to the threshold value, it is determined that there is pinching. good.

また、上記第一乃至第三実施形態における巻き込み判定処理では、フロントサイドガラス32における移動位置毎のモータ回転速度が学習値として取得され、この学習値から補正値を減算して閾値が算出される。そして、フロントサイドガラス32における移動位置毎の検出値であるモータ回転速度が閾値以上である場合、巻き込み無しと判定され、検出値が閾値未満である場合、巻き込み有りと判定される。 Further, in the entrainment determination processing in the first to third embodiments, the motor rotation speed for each moving position on the front side glass 32 is acquired as a learning value, and the correction value is subtracted from this learning value to calculate the threshold value. When the motor rotation speed, which is the detected value for each moving position on the front side glass 32, is equal to or higher than the threshold value, it is determined that there is no entrainment, and when the detected value is less than the threshold value, it is determined that there is entrainment.

しかしながら、例えば、フロントサイドガラス32における移動位置毎の移動速度が学習値として取得され、この学習値から補正値を減算して閾値が算出されてもよい。そして、フロントサイドガラス32における移動位置毎の検出値である移動速度が閾値以上である場合、巻き込み無しと判定され、検出値が閾値未満である場合、巻き込み有りと判定されてもよい。 However, for example, the moving speed for each moving position on the front side glass 32 may be acquired as a learning value, and the threshold value may be calculated by subtracting the correction value from this learning value. When the moving speed, which is the detected value for each moving position on the front side glass 32, is equal to or higher than the threshold value, it may be determined that there is no entrainment, and when the detected value is less than the threshold value, it may be determined that there is entrainment.

また、例えば、フロントサイドガラス32における移動位置毎のモータ電流(又はモータ電圧)が学習値として取得され、この学習値に補正値を加算して閾値が算出されてもよい。そして、フロントサイドガラス32における移動位置毎の検出値であるモータ電流(又はモータ電圧)が閾値未満である場合、巻き込み無しと判定され、検出値が閾値以上である場合、巻き込み有りと判定されてもよい。 Further, for example, the motor current (or motor voltage) for each moving position on the front side glass 32 may be acquired as a learning value, and a correction value may be added to this learning value to calculate a threshold value. If the motor current (or motor voltage), which is the detected value for each moving position on the front side glass 32, is less than the threshold value, it is determined that there is no entrainment, and if the detected value is greater than or equal to the threshold value, it is determined that there is entrainment. good.

また、上記実施形態において、開閉体制御装置10、110が適用対象とする複数の開閉体は、ルーフ30、フロントサイドガラス32及びリアクオータガラス34とされているが、第一開閉体及び第二開閉体と、この第一開閉体及び第二開閉体に隣接する第三開閉体を含む複数の開閉体であれば、ルーフ30、フロントサイドガラス32及びリアクオータガラス34以外の車両の開閉体でもよい。 Further, in the above embodiment, the plurality of opening / closing bodies to which the opening / closing body control devices 10 and 110 are applied are the roof 30, the front side glass 32 and the rear quarter glass 34, but the first opening / closing body and the second opening / closing body are used. A vehicle opening / closing body other than the roof 30, the front side glass 32, and the rear quarter glass 34 may be used as long as it is a body and a plurality of opening / closing bodies including the first opening / closing body and the third opening / closing body adjacent to the first opening / closing body.

また、上記実施形態において、開閉体制御装置10、110は、スライド式であるフロントサイドガラス32及びリアクオータガラス34を制御対象としているが、開閉体制御装置10、110が制御対象とする開閉体は、スイング式でもよい。 Further, in the above embodiment, the open / close body control devices 10 and 110 control the sliding front side glass 32 and the rear quarter glass 34, but the open / close body control devices 10 and 110 control the open / close body. , Swing type may be used.

また、上記実施形態において、開閉体制御装置10は、車両に適用されているが、車両以外の乗り物等に適当されてもよい。 Further, in the above embodiment, the opening / closing body control device 10 is applied to a vehicle, but may be suitable for a vehicle or the like other than the vehicle.

また、上記実施形態において、各パワーウィンドウECU16における学習値記憶処理部50等の各機能部は、CPU40がプログラム46(又はプログラム146)を実行することにより実現される。しかしながら、学習値記憶処理部50等の各機能部は、例えば、FPGA(Field-Programmable Gate Array)等のように、製造後に回路構成を変更可能なPLD(Programmable Logic Device)によって実現されてもよく、また、例えば、ASIC(Application Specific Integrated Circuit)等のように、特定の処理を実行させるために専用に設計された専用電気回路によって実現されてもよい。 Further, in the above embodiment, each functional unit such as the learning value storage processing unit 50 in each power window ECU 16 is realized by the CPU 40 executing the program 46 (or the program 146). However, each functional unit such as the learning value storage processing unit 50 may be realized by a PLD (Programmable Logic Device) whose circuit configuration can be changed after manufacturing, such as FPGA (Field-Programmable Gate Array). Further, it may be realized by a dedicated electric circuit specially designed for executing a specific process, for example, ASIC (Application Specific Integrated Circuit) or the like.

また、上記実施形態では、各パワーウィンドウECU16が学習値記憶処理部50及び異常判定処理部60を有するが、ボデーECU12が学習値記憶処理部50及び異常判定処理部60を有していてもよい。そして、このボデーECU12において挟み込み判定又は巻き込み判定が行われ、この判定結果がパワーウィンドウECU16に出力されてもよい。 Further, in the above embodiment, each power window ECU 16 has a learning value storage processing unit 50 and an abnormality determination processing unit 60, but the body ECU 12 may have a learning value storage processing unit 50 and an abnormality determination processing unit 60. .. Then, the pinch determination or the entrainment determination may be performed in the body ECU 12, and the determination result may be output to the power window ECU 16.

以上、本発明の第一乃至第三実施形態について説明したが、本発明は、上記に限定されるものでなく、上記以外にも、その主旨を逸脱しない範囲内において種々変形して実施可能であることは勿論である。 Although the first to third embodiments of the present invention have been described above, the present invention is not limited to the above, and can be variously modified and implemented without departing from the gist thereof. Of course there is.

(第一実施形態)
10…開閉体制御装置、12…ボデーECU、14…ルーフ制御ECU、16…パワーウィンドウECU、18、20…モータ駆動部、22…ルーフ開閉スイッチ、24…ルーフ開閉検出器、26…パワーウィンドウスイッチ、30…ルーフ(第一開閉体)、32…フロントサイドガラス(第三開閉体)、34…リアクオータガラス(第二開閉体)、36…ガラスラン、38…ガラスウェザストリップ、40…CPU、42…ROM、44…RAM、46…プログラム、50…学習値記憶処理部、51…開閉状態取得部、52…作動判定部、53…学習値取得部、54…開閉状態判定部、55…記憶処理部、60…異常判定処理部、61…開閉状態取得部、62…作動判定部、63…開閉状態判定部、64…学習値抽出部、65…閾値算出部、66…異常判定結果出力部
(第二実施形態)
110…開閉体制御装置、146…プログラム、155…記憶処理部、164…補正値選択部、165…閾値算出部、166…異常判定結果出力部
(第三実施形態)
51…開閉状態取得部(第一開閉状態取得部)、61…開閉状態取得部(第二開閉状態取得部)、210…開閉体制御装置、246…プログラム、255…記憶処理部、264…補正値選択部、265…閾値算出部、266…異常判定結果出力部
(First Embodiment)
10 ... Open / close body control device, 12 ... Body ECU, 14 ... Roof control ECU, 16 ... Power window ECU, 18, 20 ... Motor drive unit, 22 ... Roof open / close switch, 24 ... Roof open / close detector, 26 ... Power window switch , 30 ... roof (first switch), 32 ... front side glass (third switch), 34 ... rear quarter glass (second switch), 36 ... glass run, 38 ... glass weather strip, 40 ... CPU, 42 ... ROM, 44 ... RAM, 46 ... Program, 50 ... Learning value storage processing unit, 51 ... Open / close state acquisition unit, 52 ... Operation determination unit, 53 ... Learning value acquisition unit, 54 ... Open / close state determination unit, 55 ... Storage processing Unit, 60 ... Abnormality determination processing unit, 61 ... Open / close state acquisition unit, 62 ... Operation determination unit, 63 ... Open / close state determination unit, 64 ... Learning value extraction unit, 65 ... Threshold calculation unit, 66 ... Abnormality determination result output unit ( Second embodiment)
110 ... Open / close body control device, 146 ... Program, 155 ... Storage processing unit, 164 ... Correction value selection unit, 165 ... Threshold calculation unit, 166 ... Abnormality determination result output unit (third embodiment)
51 ... Open / close state acquisition unit (first open / closed state acquisition unit), 61 ... Open / close state acquisition unit (second open / close state acquisition unit), 210 ... Open / close body control device, 246 ... Program, 255 ... Storage processing unit, 264 ... Correction Value selection unit, 265 ... Threshold calculation unit, 266 ... Abnormality judgment result output unit

Claims (6)

第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に処理を実行する学習値記憶処理部と、
前記学習値記憶処理部が処理を実行した回の後の回における前記第三開閉体の移動時に処理を実行する異常判定処理部と、
を備え、
前記学習値記憶処理部は、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する開閉状態取得部と、
前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得部と、
前記開閉状態取得部で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態に関連付けて前記学習値を記憶部に記憶させる記憶処理部と、
を有し、
前記異常判定処理部は、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を判定する開閉状態判定部と、
前記開閉状態判定部の判定結果に応じた前記学習値を前記記憶部から抽出する学習値抽出部と、
前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記学習値抽出部によって抽出された前記学習値及び予め定められた補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力部と、
を有する、
開閉体制御装置。
A learning value storage processing unit that executes processing when the third opening / closing body is moved, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit.
An abnormality determination processing unit that executes processing when the third opening / closing body moves in a time after the learning value storage processing unit executes processing.
Equipped with
The learning value storage processing unit is
An open / closed state acquisition unit that acquires the open / closed state of each of the first open / close body and the second open / close body,
A learning value acquisition unit that acquires a learning value according to the movement speed of each movement position of the third opening / closing body, and a learning value acquisition unit.
A storage processing unit that stores the learning value in the storage unit in association with the open / closed state of each of the first open / closed body and the second open / close body acquired by the open / closed state acquisition unit.
Have,
The abnormality determination processing unit is
An open / close state determination unit that determines the open / closed state of each of the first open / close body and the second open / close body,
A learning value extraction unit that extracts the learning value according to the determination result of the open / closed state determination unit from the storage unit, and a learning value extraction unit.
A detection value corresponding to the movement speed of the third opening / closing body is detected for each movement position of the third opening / closing body, and based on the learning value extracted by the learning value extraction unit and a predetermined correction value. An abnormality judgment result output unit that outputs the result of comparing the calculated threshold value and the detected value as an abnormality judgment result, and
Have,
Open / close body control device.
第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に処理を実行する学習値記憶処理部と、
前記学習値記憶処理部が処理を実行した回の後の回における前記第三開閉体の移動時に処理を実行する異常判定処理部と、
を備え、
前記学習値記憶処理部は、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する開閉状態取得部と、
前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得部と、
前記学習値取得部で取得された前記学習値のうち、前記開閉状態取得部で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態が予め定められた開閉状態である場合の前記学習値を記憶部に記憶させる記憶処理部と、
を有し、
前記異常判定処理部は、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を判定する開閉状態判定部と、
前記第一開閉体及び前記第二開閉体の各々の開閉状態に関連付けて予め記憶された補正値を前記開閉状態判定部の判定結果に応じて選択する補正値選択部と、
前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記記憶部に記憶された前記学習値及び前記補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力部と、
を有する、
開閉体制御装置。
A learning value storage processing unit that executes processing when the third opening / closing body is moved, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit.
An abnormality determination processing unit that executes processing when the third opening / closing body moves in a time after the learning value storage processing unit executes processing.
Equipped with
The learning value storage processing unit is
An open / closed state acquisition unit that acquires the open / closed state of each of the first open / close body and the second open / close body,
A learning value acquisition unit that acquires a learning value according to the movement speed of each movement position of the third opening / closing body, and a learning value acquisition unit.
Among the learned values acquired by the learning value acquisition unit, when the opening / closing state of each of the first opening / closing body and the second opening / closing body acquired by the opening / closing state acquisition unit is a predetermined opening / closing state. A storage processing unit that stores the learned value in the storage unit,
Have,
The abnormality determination processing unit is
An open / close state determination unit that determines the open / closed state of each of the first open / close body and the second open / close body,
A correction value selection unit that selects a correction value stored in advance in association with the opening / closing state of each of the first opening / closing body and the second opening / closing body according to the determination result of the opening / closing state determination unit.
For each movement position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and a threshold value calculated based on the learning value and the correction value stored in the storage unit is used. , An abnormality judgment result output unit that outputs the result of comparison with the detection value as an abnormality judgment result,
Have,
Open / close body control device.
第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に処理を実行する学習値記憶処理部と、
前記学習値記憶処理部が処理を実行した回の後の回における前記第三開閉体の移動時に処理を実行する異常判定処理部と、
を備え、
前記学習値記憶処理部は、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する第一開閉状態取得部と、
前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得部と、
前記第一開閉状態取得部で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態と、前記学習値とを記憶部に記憶させる記憶処理部と、
を有し、
前記異常判定処理部は、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する第二開閉状態取得部と、
前記記憶部に記憶された前記第一開閉体及び前記第二開閉体の各々の開閉状態と、前記第二開閉状態取得部で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値を選択する補正値選択部と、
前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記記憶部に記憶された前記学習値及び前記補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力部と、
を有する、
開閉体制御装置。
A learning value storage processing unit that executes processing when the third opening / closing body is moved, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit.
An abnormality determination processing unit that executes processing when the third opening / closing body moves in a time after the learning value storage processing unit executes processing.
Equipped with
The learning value storage processing unit is
A first open / closed state acquisition unit that acquires the open / closed state of each of the first open / close body and the second open / close body,
A learning value acquisition unit that acquires a learning value according to the movement speed of each movement position of the third opening / closing body, and a learning value acquisition unit.
A storage processing unit that stores the open / closed state of each of the first open / closed body and the second open / closed body acquired by the first open / closed state acquisition unit and the learning value in the storage unit.
Have,
The abnormality determination processing unit is
A second open / closed state acquisition unit that acquires the open / closed state of each of the first open / close body and the second open / close body,
The open / closed state of each of the first open / close body and the second open / close body stored in the storage unit, and each of the first open / close body and the second open / close body acquired by the second open / close state acquisition unit. A correction value selection unit that selects a correction value from a preset table based on the combination with the open / closed state,
For each movement position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and a threshold value calculated based on the learning value and the correction value stored in the storage unit is used. , An abnormality judgment result output unit that outputs the result of comparison with the detection value as an abnormality judgment result,
Have,
Open / close body control device.
第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に実行される学習値記憶処理と、
前記学習値記憶処理が実行された回の後の回における前記第三開閉体の移動時に実行される異常判定処理と、
をコンピュータに実行させるためのプログラムであって、
前記学習値記憶処理として、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する開閉状態取得処理と、
前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得処理と、
前記開閉状態取得処理で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態に関連付けて、前記学習値を記憶部に記憶させる記憶処理と、
を前記コンピュータに実行させ、
前記異常判定処理として、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を判定する開閉状態判定処理と、
前記開閉状態判定処理の判定結果に応じた前記学習値を前記記憶部から抽出する学習値抽出処理と、
前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記学習値抽出処理によって抽出された前記学習値及び予め定められた補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力処理と、
を前記コンピュータに実行させるためのプログラム。
The learning value storage process executed when the third opening / closing body, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit, is moved.
The abnormality determination process executed when the third opening / closing body is moved in the times after the learning value storage process is executed, and
Is a program to make a computer execute
As the learning value storage process,
The opening / closing state acquisition process for acquiring the opening / closing state of each of the first opening / closing body and the second opening / closing body,
The learning value acquisition process for acquiring the learning value according to the movement speed of each movement position of the third opening / closing body, and
A storage process for storing the learning value in the storage unit in association with the open / closed state of each of the first open / closed body and the second open / close body acquired in the open / closed state acquisition process.
To the computer to execute
As the abnormality determination process,
An opening / closing state determination process for determining the opening / closing state of each of the first opening / closing body and the second opening / closing body, and
A learning value extraction process for extracting the learning value according to the determination result of the opening / closing state determination process from the storage unit, and a learning value extraction process.
A detection value corresponding to the movement speed of the third opening / closing body is detected for each movement position of the third opening / closing body, and based on the learning value extracted by the learning value extraction process and a predetermined correction value. Abnormality judgment result output processing that outputs the result of comparing the calculated threshold value and the detected value as an abnormality judgment result, and
A program for causing the computer to execute.
第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に実行される学習値記憶処理と、
前記学習値記憶処理が実行された回の後の回における前記第三開閉体の移動時に実行される異常判定処理と、
をコンピュータに実行させるためのプログラムであって、
前記学習値記憶処理として、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する開閉状態取得処理と、
前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得処理と、
前記学習値取得処理で取得された前記学習値のうち、前記開閉状態取得処理によって取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態が予め定められた開閉状態である場合の前記学習値を記憶部に記憶させる記憶処理と、
を前記コンピュータに実行させ、
前記異常判定処理として、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を判定する開閉状態判定処理と、
前記第一開閉体及び前記第二開閉体の各々の開閉状態に関連付けて予め記憶された補正値を前記開閉状態判定処理の判定結果に応じて選択する補正値選択処理と、
前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記記憶部に記憶された前記学習値及び前記補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力処理と、
を前記コンピュータに実行させるためのプログラム。
The learning value storage process executed when the third opening / closing body, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit, is moved.
The abnormality determination process executed when the third opening / closing body is moved in the times after the learning value storage process is executed, and
Is a program to make a computer execute
As the learning value storage process,
The opening / closing state acquisition process for acquiring the opening / closing state of each of the first opening / closing body and the second opening / closing body,
The learning value acquisition process for acquiring the learning value according to the movement speed of each movement position of the third opening / closing body, and
When the open / closed state of each of the first open / closed body and the second open / closed body acquired by the open / close state acquisition process among the learned values acquired in the learned value acquisition process is a predetermined open / closed state. A storage process for storing the learned value in the storage unit,
To the computer to execute
As the abnormality determination process,
An opening / closing state determination process for determining the opening / closing state of each of the first opening / closing body and the second opening / closing body, and
A correction value selection process for selecting a correction value stored in advance in association with the open / closed state of each of the first open / closed body and the second open / close body according to the determination result of the open / close state determination process.
For each movement position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and a threshold value calculated based on the learning value and the correction value stored in the storage unit is used. , Abnormality judgment result output processing that outputs the result of comparison with the detected value as an abnormality judgment result,
A program for causing the computer to execute.
第一開閉体及び第二開閉体に隣接し、モータ駆動部によって開閉方向に移動される第三開閉体の移動時に実行される学習値記憶処理と、
前記学習値記憶処理が実行された回の後の回における前記第三開閉体の移動時に実行される異常判定処理と、
をコンピュータに実行させるためのプログラムであって、
前記学習値記憶処理として、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する第一開閉状態取得処理と、
前記第三開閉体の移動位置毎の移動速度に応じた学習値を取得する学習値取得処理と、
前記第一開閉状態取得処理で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態と、前記学習値とを記憶部に記憶させる記憶処理と、
を前記コンピュータに実行させ、
前記異常判定処理として、
前記第一開閉体及び前記第二開閉体の各々の開閉状態を取得する第二開閉状態取得処理と、
前記記憶部に記憶された前記第一開閉体及び前記第二開閉体の各々の開閉状態と、前記第二開閉状態取得処理で取得された前記第一開閉体及び前記第二開閉体の各々の開閉状態との組み合わせより、予め設定されたテーブルから補正値を選択する補正値選択処理と、
前記第三開閉体の移動位置毎に、前記第三開閉体の移動速度に応じた検出値を検出し、前記記憶部に記憶された前記学習値及び前記補正値に基づいて算出された閾値と、前記検出値とを比較した結果を異常判定結果として出力する異常判定結果出力処理と、
を前記コンピュータに実行させるためのプログラム。
The learning value storage process executed when the third opening / closing body, which is adjacent to the first opening / closing body and the second opening / closing body and is moved in the opening / closing direction by the motor drive unit, is moved.
The abnormality determination process executed when the third opening / closing body is moved in the times after the learning value storage process is executed, and
Is a program to make a computer execute
As the learning value storage process,
The first open / closed state acquisition process for acquiring the open / closed state of each of the first open / close body and the second open / close body,
The learning value acquisition process for acquiring the learning value according to the movement speed of each movement position of the third opening / closing body, and
A storage process for storing the open / closed state of each of the first open / closed body and the second open / closed body acquired in the first open / closed state acquisition process and the learning value in the storage unit.
To the computer to execute
As the abnormality determination process,
The second open / closed state acquisition process for acquiring the open / closed state of each of the first open / close body and the second open / close body,
The open / closed state of each of the first open / close body and the second open / close body stored in the storage unit, and each of the first open / close body and the second open / close body acquired in the second open / close state acquisition process. Correction value selection processing that selects a correction value from a preset table based on the combination with the open / closed state,
For each movement position of the third opening / closing body, a detection value corresponding to the moving speed of the third opening / closing body is detected, and a threshold value calculated based on the learning value and the correction value stored in the storage unit is used. , Abnormality judgment result output processing that outputs the result of comparison with the detected value as an abnormality judgment result,
A program for causing the computer to execute.
JP2019113079A 2019-06-18 2019-06-18 Open / close body control device and program Active JP7040498B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019113079A JP7040498B2 (en) 2019-06-18 2019-06-18 Open / close body control device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019113079A JP7040498B2 (en) 2019-06-18 2019-06-18 Open / close body control device and program

Publications (2)

Publication Number Publication Date
JP2020204211A JP2020204211A (en) 2020-12-24
JP7040498B2 true JP7040498B2 (en) 2022-03-23

Family

ID=73837293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019113079A Active JP7040498B2 (en) 2019-06-18 2019-06-18 Open / close body control device and program

Country Status (1)

Country Link
JP (1) JP7040498B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005963A1 (en) 2010-07-07 2012-01-12 Zellmer Rene Method for operating an electric window lift of a convertible

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3206327B2 (en) * 1994-09-14 2001-09-10 日産自動車株式会社 Power window device for vehicles
JP3484923B2 (en) * 1997-06-02 2004-01-06 オムロン株式会社 Power window control device
JP3675622B2 (en) * 1997-10-30 2005-07-27 アルプス電気株式会社 Power window device pinching detection method
JP4664872B2 (en) * 2006-07-14 2011-04-06 アルプス電気株式会社 Pinch detection device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005963A1 (en) 2010-07-07 2012-01-12 Zellmer Rene Method for operating an electric window lift of a convertible

Also Published As

Publication number Publication date
JP2020204211A (en) 2020-12-24

Similar Documents

Publication Publication Date Title
US10161989B2 (en) Field-effect transistor and associated fault detection device
US9182437B2 (en) Method and circuit assembly for the diagnosis of a load path in a vehicle
CN112211520B (en) A kind of anti-pinch detection method and system
US10597904B2 (en) Appliance lock with voltage encoded wiring
JP4781127B2 (en) Electric motor control device
JP7040498B2 (en) Open / close body control device and program
US20210351701A1 (en) Method for detecting low impedance condition at output of electrical converter, control unit, computer program product and electrical converter
US6150784A (en) Method of detecting foreign matter caught by window in power window device
WO2016185650A1 (en) Steering wheel grip detection device
JP2019102117A5 (en)
CN101120151A (en) Anti-trap device for vehicles
WO2017038458A1 (en) Opening/closing body control device
KR101735167B1 (en) Methods for detecting of pinch in anti pinch system of sunroof for vehicle and appratuses using the same
CN206401881U (en) The anti-interference detection circuit of LED drive chip feedback pin
JP5505972B2 (en) Object detection device and pinching prevention device
JP5085371B2 (en) Opening and closing body control device
CN114777297B (en) Method and device for detecting fault of frequency conversion inverter module of air conditioner, air conditioner
US7109892B2 (en) Device for activating an electronic control unit
JP2017025581A (en) Opening/closing control device
JP3881602B2 (en) Power window control device
US11718163B2 (en) Method and system for obstruction detection
US12084904B2 (en) Pinch detection system
JP7436275B2 (en) touch detection device
JPH07317430A (en) Power window device
JP6462524B2 (en) Pinch detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210426

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220221

R151 Written notification of patent or utility model registration

Ref document number: 7040498

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250