JP7022672B2 - Open / close control device, open / close control system, open / close control method, and program - Google Patents

Open / close control device, open / close control system, open / close control method, and program Download PDF

Info

Publication number
JP7022672B2
JP7022672B2 JP2018177355A JP2018177355A JP7022672B2 JP 7022672 B2 JP7022672 B2 JP 7022672B2 JP 2018177355 A JP2018177355 A JP 2018177355A JP 2018177355 A JP2018177355 A JP 2018177355A JP 7022672 B2 JP7022672 B2 JP 7022672B2
Authority
JP
Japan
Prior art keywords
motor
opening
determination
value
calculated value
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
JP2018177355A
Other languages
Japanese (ja)
Other versions
JP2020045745A (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.)
Alps Alpine Co Ltd
Original Assignee
Alps Electric Co Ltd
Alps Alpine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alps Electric Co Ltd, Alps Alpine Co Ltd filed Critical Alps Electric Co Ltd
Priority to JP2018177355A priority Critical patent/JP7022672B2/en
Publication of JP2020045745A publication Critical patent/JP2020045745A/en
Application granted granted Critical
Publication of JP7022672B2 publication Critical patent/JP7022672B2/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 open / close control device, an open / close control system, an open / close control method, and a program.

従来、例えば、自動車等の車両に搭載されるパワーウインドウ等の開閉体の開閉動作を制御する制御方法として、開閉体による物体の挟み込みを検知した場合に、開閉体の開閉動作を停止させたり反転させたりする等、物体の挟み込みを防止する制御方法(以下、「挟み込み防止制御」と示す)が知られている。 Conventionally, for example, as a control method for controlling the opening / closing operation of an opening / closing body such as a power window mounted on a vehicle such as an automobile, when the pinching of an object by the opening / closing body is detected, the opening / closing operation of the opening / closing body is stopped or reversed. A control method for preventing an object from being pinched (hereinafter referred to as "pinching prevention control") is known.

このような挟み込み防止制御に関し、例えば、下記特許文献1には、モータ電流の差分値に基づいて、モータの負荷の微分値を判定対象値として算出し、当該判定対象値が閾値を超えた場合に、物体の挟み込みが生じていると判定する技術が開示されている。 Regarding such pinch prevention control, for example, in Patent Document 1 below, a differential value of a load of a motor is calculated as a determination target value based on a difference value of a motor current, and the determination target value exceeds a threshold value. Discloses a technique for determining that an object is pinched.

また、下記特許文献2には、モータ周波数の2回微分値に基づいて、モータ周波数が安定しているか否かを判定し、モータ周波数が安定していると判定された場合に、モータ周波数と予め設定された挟み込み閾値とに基づいて、窓への異物の挟み込みの有無を判定する技術が開示されている。 Further, in Patent Document 2 below, it is determined whether or not the motor frequency is stable based on the second derivative value of the motor frequency, and when it is determined that the motor frequency is stable, it is referred to as the motor frequency. A technique for determining the presence or absence of foreign matter being pinched in a window is disclosed based on a preset pinching threshold.

また、下記特許文献3には、回転検出装置から出力されるパルス信号に基づいて、モータの回転速度を算出し、当該回転速度が所定の判定値まで低下した場合に、物体の挟み込みが生じていると判定する技術が開示されている。 Further, in Patent Document 3 below, the rotation speed of the motor is calculated based on the pulse signal output from the rotation detection device, and when the rotation speed drops to a predetermined determination value, an object is pinched. The technology for determining the presence is disclosed.

特開2002-174075号公報Japanese Unexamined Patent Publication No. 2002-174075 特開2015-148079号公報JP-A-2015-148079 特開2016-108939号公報Japanese Unexamined Patent Publication No. 2016-108939

ところで、本発明の発明者らは、挟み込み防止制御において、モータの起動直後に、モータの回転が不安定であることに起因して、モータにかかる負荷が一時的に増加し、これにより、開閉制御装置が、物体の挟み込みが生じていると誤判定してしまい、開閉体の挟み込み防止動作を作動させてしまう虞があることを見出した。 By the way, the inventors of the present invention temporarily increase the load applied to the motor due to the unstable rotation of the motor immediately after the motor is started in the pinch prevention control, thereby opening and closing. It has been found that the control device erroneously determines that the object is pinched, and may activate the pinching prevention operation of the opening / closing body.

このような事態を回避する方法として、物体の挟み込みを判定するための閾値を高める方法が考えられるが、単に閾値を高めるだけでは、実際に物体の挟み込みが生じた場合に、当該挟み込みの検知タイミングが遅れてしまう虞がある。 As a method of avoiding such a situation, a method of increasing the threshold value for determining the pinching of the object can be considered, but if the threshold value is simply increased, when the pinching of the object actually occurs, the detection timing of the pinching is considered. May be delayed.

そこで、本発明の発明者らは、このような物体の挟み込みの誤判定および検知タイミングの遅れが生じないようにすることで、モータの起動直後における物体の挟み込みの判定精度を高めることが可能な技術の必要性を見出した。 Therefore, the inventors of the present invention can improve the determination accuracy of the pinching of the object immediately after the start of the motor by preventing such an erroneous determination of the pinching of the object and the delay of the detection timing. I found the need for technology.

一実施形態の開閉制御装置は、モータの駆動による開閉体の開閉動作を制御する開閉制御装置であって、開閉体が開閉動作を行ったときの、モータの角加速度に比例する第1の算出値と、モータのトルクに比例する第2の算出値と、第1の算出値および第2の算出値を加算したモータの荷重に比例する第3の算出値とを算出する荷重算出部と、荷重算出部によって算出された第3の算出値が所定の判定値を超えた場合、開閉体による挟み込みが生じていると判定する判定部と、判定部によって挟み込みが生じていると判定された場合、開閉体が挟み込み防止動作を行うように、モータを制御するモータ制御部と、モータの起動直後の所定の判定期間の間、第1の算出値が単調増加している場合、判定値を高める判定値調整部とを備える。 The opening / closing control device of one embodiment is an opening / closing control device that controls an opening / closing operation of an opening / closing body driven by a motor, and is a first calculation proportional to the angular acceleration of the motor when the opening / closing body performs the opening / closing operation. A load calculation unit that calculates a value, a second calculated value proportional to the torque of the motor, and a third calculated value proportional to the load of the motor obtained by adding the first calculated value and the second calculated value. When the third calculated value calculated by the load calculation unit exceeds a predetermined determination value, the determination unit determines that pinching by the opening / closing body has occurred, and the determination unit determines that pinching has occurred. If the first calculated value is monotonically increased between the motor control unit that controls the motor and the predetermined determination period immediately after the motor is started so that the opening / closing body performs the pinch prevention operation, the determination value is increased. It is equipped with a determination value adjusting unit.

一実施形態によれば、モータの起動直後における物体の挟み込みの判定精度を高めることができる。 According to one embodiment, it is possible to improve the accuracy of determining the pinching of an object immediately after the motor is started.

本発明の一実施形態に係る開閉制御システムのシステム構成を示す図The figure which shows the system structure of the opening / closing control system which concerns on one Embodiment of this invention. 本発明の一実施形態に係る開閉制御装置のハードウェア構成を示す図The figure which shows the hardware composition of the open / close control device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る開閉制御装置の機能構成を示す図The figure which shows the functional structure of the opening / closing control device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る開閉制御装置による処理の手順を示すフローチャートA flowchart showing a procedure of processing by an open / close control device according to an embodiment of the present invention. 本発明の一実施形態に係る判定値調整部による起動時判定値調整処理の手順を示すフローチャートA flowchart showing a procedure of a start-up judgment value adjustment process by a judgment value adjustment unit according to an embodiment of the present invention. 本発明の一実施形態に係る荷重算出部によって算出される荷重F(n)の一例を示す図The figure which shows an example of the load F (n) calculated by the load calculation part which concerns on one Embodiment of this invention. 本発明の一実施形態に係る荷重算出部によって算出される加速度項の値の一例を示す図The figure which shows an example of the value of the acceleration term calculated by the load calculation part which concerns on one Embodiment of this invention. 本発明の一実施形態に係る判定値調整部による挟み込み判定値Fthの調整を概略的に示す図The figure which shows schematic the adjustment of the pinch judgment value Fth by the judgment value adjustment part which concerns on one Embodiment of this invention. 本実施形態の開閉制御装置による各種算出値の一例を示す図The figure which shows an example of the various calculated values by the open / close control device of this embodiment. 比較用の開閉制御装置による各種算出値の一例を示す図The figure which shows an example of various calculated values by an open / close control device for comparison. 本実施形態の開閉制御装置による各種算出値の一例を示す図The figure which shows an example of the various calculated values by the open / close control device of this embodiment. 比較用の開閉制御装置による各種算出値の一例を示す図The figure which shows an example of various calculated values by an open / close control device for comparison.

以下、図面を参照して、一実施形態について説明する。 Hereinafter, one embodiment will be described with reference to the drawings.

(開閉制御システム1のシステム構成)
図1は、本発明の一実施形態に係る開閉制御システム1のシステム構成を示す図である。図1に示す開閉制御システム1は、車両に用いられるシステムであって、モータ4の動作を制御することにより、車両が備えるパワーウインドウ3の開閉動作を制御するシステムである。
(System configuration of open / close control system 1)
FIG. 1 is a diagram showing a system configuration of an open / close control system 1 according to an embodiment of the present invention. The open / close control system 1 shown in FIG. 1 is a system used for a vehicle, and is a system that controls the open / close operation of the power window 3 included in the vehicle by controlling the operation of the motor 4.

図1に示すように、パワーウインドウ3は、車両が備えるドア2の窓枠2Aに対して、上下方向に開閉自在に設けられる。なお、開閉制御システム1は、車両が複数のパワーウインドウ3を備える場合、図1に示す各構成部を、パワーウインドウ3毎に設けることにより、複数のパワーウインドウ3の各々に対して、同様の制御を行うことが可能である。 As shown in FIG. 1, the power window 3 is provided so as to be vertically openable and closable with respect to the window frame 2A of the door 2 included in the vehicle. When the vehicle is provided with a plurality of power windows 3, the open / close control system 1 is provided with the respective components shown in FIG. 1 for each power window 3, so that the same can be applied to each of the plurality of power windows 3. It is possible to control.

図1に示すように、開閉制御システム1は、モータ駆動回路10、電圧検出回路20、電流検出回路30、スイッチ40、およびマイコン100を備える。 As shown in FIG. 1, the open / close control system 1 includes a motor drive circuit 10, a voltage detection circuit 20, a current detection circuit 30, a switch 40, and a microcomputer 100.

スイッチ40は、ユーザにより、パワーウインドウ3を開閉するためのスイッチ操作がなされる装置である。例えば、スイッチ40は、車両におけるユーザによる操作可能な位置(例えば、ドア、センターコンソール等)に設けられている。スイッチ40は、開操作および閉操作が可能である。スイッチ40は、ユーザにより開操作または閉操作がなされると、開操作または閉操作に応じた操作信号をマイコン100へ出力する。 The switch 40 is a device in which the user operates a switch to open and close the power window 3. For example, the switch 40 is provided at a position in the vehicle that can be operated by the user (for example, a door, a center console, etc.). The switch 40 can be opened and closed. When the user performs an open operation or a close operation, the switch 40 outputs an operation signal corresponding to the open operation or the close operation to the microcomputer 100.

マイコン100は、「開閉制御装置」の一例である。マイコン100は、ユーザによってスイッチ40に対するスイッチ操作がなされると、当該スイッチ操作に応じて、モータ駆動回路10に制御信号を供給し、モータ4の動作を制御することにより、パワーウインドウ3を開閉動作させる。この際、マイコン100は、電圧検出回路20によって検出されるモータ4の駆動電圧V、および、パルス発生器4Aから出力されるモータ4の回転軸の回転量を表すパルス信号に基づいて、パワーウインドウ3による挟み込みが生じているか否かを判定することができる。そして、マイコン100は、パワーウインドウ3による挟み込みが生じていると判定した場合、パワーウインドウ3に対する所定の挟み込み防止制御を行うことができる。 The microcomputer 100 is an example of an “open / close control device”. When the user performs a switch operation on the switch 40, the microcomputer 100 supplies a control signal to the motor drive circuit 10 in response to the switch operation, and controls the operation of the motor 4 to open and close the power window 3. Let me. At this time, the microcomputer 100 uses a power window based on the drive voltage V of the motor 4 detected by the voltage detection circuit 20 and the pulse signal representing the rotation amount of the rotation shaft of the motor 4 output from the pulse generator 4A. It is possible to determine whether or not the pinching by 3 has occurred. Then, when the microcomputer 100 determines that the pinching by the power window 3 has occurred, the microcomputer 100 can perform a predetermined pinching prevention control for the power window 3.

モータ駆動回路10は、マイコン100から供給される制御信号に応じて、モータ4に駆動電圧を印加することにより、モータ4を駆動する。図1に示す例では、モータ駆動回路10は、フルブリッジ回路を構成する4つのスイッチ素子11~14を備えて構成されている。スイッチ素子11およびスイッチ素子12は、バッテリ等から供給される電源電圧Vbatとグラウンドとの間において、直列接続されて設けられている。スイッチ素子13およびスイッチ素子14は、電源電圧Vbatとグラウンドとの間において、直列接続され、且つ、スイッチ素子11およびスイッチ素子12と並列に設けられている。スイッチ素子11とスイッチ素子12との間には、モータ4の一方の入力端子が接続されている。スイッチ素子13とスイッチ素子14との間には、モータ4の他方の入力端子が接続されている。モータ駆動回路10は、マイコン100から供給される制御信号に応じて、4つのスイッチ素子11~14のスイッチング動作を制御することにより、モータ4の2つの入力端子に対して、モータ4の回転軸の回転方向(すなわち、パワーウインドウ3の開閉動作方向)に応じて極性が異なる駆動電圧を印加することができる。 The motor drive circuit 10 drives the motor 4 by applying a drive voltage to the motor 4 in response to a control signal supplied from the microcomputer 100. In the example shown in FIG. 1, the motor drive circuit 10 includes four switch elements 11 to 14 constituting a full bridge circuit. The switch element 11 and the switch element 12 are provided so as to be connected in series between the power supply voltage Vbat supplied from the battery or the like and the ground. The switch element 13 and the switch element 14 are connected in series between the power supply voltage Vbat and the ground, and are provided in parallel with the switch element 11 and the switch element 12. One input terminal of the motor 4 is connected between the switch element 11 and the switch element 12. The other input terminal of the motor 4 is connected between the switch element 13 and the switch element 14. The motor drive circuit 10 controls the switching operation of the four switch elements 11 to 14 according to the control signal supplied from the microcomputer 100, so that the rotation shaft of the motor 4 is connected to the two input terminals of the motor 4. It is possible to apply a drive voltage having a different polarity depending on the rotation direction of the power window 3 (that is, the opening / closing operation direction of the power window 3).

モータ4は、2つの入力端子に対して印加される駆動電圧の極性に応じた回転方向に、回転軸が回転する。これにより、モータ4は、パワーウインドウ3を開閉する。モータ4としては、例えば、DCモータが用いられる。また、モータ4は、パルス発生器4Aを備える。パルス発生器4Aは、モータ4の回転軸の回転量を表すパルス信号を出力する。パルス発生器4Aとしては、例えば、ホール素子を用いることができる。 In the motor 4, the rotation shaft rotates in the rotation direction according to the polarity of the drive voltage applied to the two input terminals. As a result, the motor 4 opens and closes the power window 3. As the motor 4, for example, a DC motor is used. Further, the motor 4 includes a pulse generator 4A. The pulse generator 4A outputs a pulse signal representing the amount of rotation of the rotation axis of the motor 4. As the pulse generator 4A, for example, a Hall element can be used.

電圧検出回路20は、モータ4の駆動電圧Vを検出し、モータ4の駆動電圧Vを表す信号を出力する。図1に示す例では、電圧検出回路20は、増幅部21、フィルタ部22、およびA/Dコンバータ23を有して構成されている。増幅部21は、モータ4の2つの入力端子に印加される駆動電圧Vを所定のゲインで増幅する。フィルタ部22は、増幅部21から出力される電圧から、スイッチング周波数の成分を除去する。A/Dコンバータ23は、フィルタ部22から出力される電圧を表すデジタル信号を、モータ4の駆動電圧Vを表す信号として出力する。 The voltage detection circuit 20 detects the drive voltage V of the motor 4 and outputs a signal representing the drive voltage V of the motor 4. In the example shown in FIG. 1, the voltage detection circuit 20 includes an amplification unit 21, a filter unit 22, and an A / D converter 23. The amplification unit 21 amplifies the drive voltage V applied to the two input terminals of the motor 4 with a predetermined gain. The filter unit 22 removes a component of the switching frequency from the voltage output from the amplification unit 21. The A / D converter 23 outputs a digital signal representing the voltage output from the filter unit 22 as a signal representing the drive voltage V of the motor 4.

電流検出回路30は、モータ4に流れる電流Imを検出し、モータ4に流れる電流Imを表す信号を出力する。図1に示す例では、電流検出回路30は、シャント抵抗RS、増幅部31、フィルタ部32、およびA/Dコンバータ33を有して構成されている。シャント抵抗RSは、モータ駆動回路10とグラウンドとの間の電流経路に設けられている。増幅部31は、シャント抵抗RSに生じる電圧を所定のゲインで増幅する。フィルタ部32は、増幅部31から出力される電圧からスイッチング周波数の成分を除去する。A/Dコンバータ33は、フィルタ部32から出力される電圧を表すデジタル信号を、モータ4に流れる電流Imを表す信号として出力する。 The current detection circuit 30 detects the current Im flowing through the motor 4 and outputs a signal representing the current Im flowing through the motor 4. In the example shown in FIG. 1, the current detection circuit 30 includes a shunt resistor RS, an amplification unit 31, a filter unit 32, and an A / D converter 33. The shunt resistor RS is provided in the current path between the motor drive circuit 10 and the ground. The amplification unit 31 amplifies the voltage generated in the shunt resistor RS with a predetermined gain. The filter unit 32 removes the component of the switching frequency from the voltage output from the amplification unit 31. The A / D converter 33 outputs a digital signal representing the voltage output from the filter unit 32 as a signal representing the current Im flowing through the motor 4.

(マイコン100のハードウェア構成)
図2は、本発明の一実施形態に係るマイコン100のハードウェア構成を示す図である。図2に示すように、マイコン100は、CPU(Central Processing Unit)121、ROM(Read Only Memory)122、RAM(Random Access Memory)123、および外部I/F(Inter face)125を備える。各ハードウェアは、バス126を介して相互に接続されている。
(Hardware configuration of microcomputer 100)
FIG. 2 is a diagram showing a hardware configuration of the microcomputer 100 according to the embodiment of the present invention. As shown in FIG. 2, the microcomputer 100 includes a CPU (Central Processing Unit) 121, a ROM (Read Only Memory) 122, a RAM (Random Access Memory) 123, and an external I / F (Inter face) 125. The hardware is connected to each other via the bus 126.

CPU121は、ROM122に記憶されている各種プログラムを実行することにより、マイコン100の動作を制御する。ROM122は、不揮発性メモリである。例えば、ROM122は、CPU121により実行されるプログラム、CPU121がプログラムを実行するために必要なデータ等を記憶する。RAM123は、DRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)等の主記憶装置である。例えば、RAM123は、CPU121がプログラムを実行する際に利用する作業領域として機能する。外部I/F125は、モータ駆動回路10、電圧検出回路20、電流検出回路30、およびスイッチ40に対するデータの入出力を制御する。 The CPU 121 controls the operation of the microcomputer 100 by executing various programs stored in the ROM 122. ROM 122 is a non-volatile memory. For example, the ROM 122 stores a program executed by the CPU 121, data necessary for the CPU 121 to execute the program, and the like. The RAM 123 is a main storage device such as a DRAM (Dynamic Random Access Memory) or a SRAM (Static Random Access Memory). For example, the RAM 123 functions as a work area used by the CPU 121 when executing a program. The external I / F 125 controls the input / output of data to the motor drive circuit 10, the voltage detection circuit 20, the current detection circuit 30, and the switch 40.

(マイコン100の機能構成)
図3は、本発明の一実施形態に係るマイコン100の機能構成を示す図である。図3に示すように、マイコン100は、操作信号取得部101、電圧値取得部102、電流値取得部103、パルス信号取得部104、位置特定部105、荷重算出部106、基準値算出部107、判定値設定部109、判定値調整部110、判定部111、およびモータ制御部112を備える。
(Functional configuration of microcomputer 100)
FIG. 3 is a diagram showing a functional configuration of the microcomputer 100 according to the embodiment of the present invention. As shown in FIG. 3, the microcomputer 100 includes an operation signal acquisition unit 101, a voltage value acquisition unit 102, a current value acquisition unit 103, a pulse signal acquisition unit 104, a position identification unit 105, a load calculation unit 106, and a reference value calculation unit 107. , A determination value setting unit 109, a determination value adjustment unit 110, a determination unit 111, and a motor control unit 112.

なお、図3に示すマイコン100の各機能は、例えば、マイコン100において、ROM122に記憶されたプログラムを、CPU121が実行することにより実現される。このプログラムは、予めマイコン100に導入された状態で提供されてもよく、外部から提供されてマイコン100に導入されるようにしてもよい。後者の場合、このプログラムは、外部記憶媒体(例えば、USBメモリ、メモリカード、CD-ROM等)によって提供されてもよく、ネットワーク(例えば、インターネット等)上のサーバからダウンロードすることによって提供されるようにしてもよい。 Each function of the microcomputer 100 shown in FIG. 3 is realized, for example, by the CPU 121 executing the program stored in the ROM 122 in the microcomputer 100. This program may be provided in a state of being introduced into the microcomputer 100 in advance, or may be provided from the outside and introduced into the microcomputer 100. In the latter case, the program may be provided by an external storage medium (eg, USB memory, memory card, CD-ROM, etc.) or by downloading from a server on the network (eg, the Internet, etc.). You may do so.

操作信号取得部101は、スイッチ40から出力された操作信号を取得する。電圧値取得部102は、電圧検出回路20から出力された、モータ4の駆動電圧Vを示す信号を取得する。電流値取得部103は、電流検出回路30から出力された、モータ4に流れる電流Imを示す信号を取得する。パルス信号取得部104は、パルス発生器4Aから出力された、モータ4の回転軸の回転量を表すパルス信号を取得する。 The operation signal acquisition unit 101 acquires the operation signal output from the switch 40. The voltage value acquisition unit 102 acquires a signal indicating the drive voltage V of the motor 4 output from the voltage detection circuit 20. The current value acquisition unit 103 acquires a signal indicating the current Im flowing through the motor 4 output from the current detection circuit 30. The pulse signal acquisition unit 104 acquires a pulse signal output from the pulse generator 4A, which represents the amount of rotation of the rotation shaft of the motor 4.

位置特定部105は、パルス信号取得部104によって取得されたパルス信号に基づいて、パワーウインドウ3の位置(窓枠2A内における高さ位置)を特定する。例えば、位置特定部105は、パルス信号取得部104によって取得されたパルス信号に基づいて、モータ4の回転軸の回転量を特定する。そして、位置特定部105は、特定された回転量を、所定の変換式を用いて、パワーウインドウ3の移動量に変換する。さらに、位置特定部105は、直前のパワーウインドウ3の位置と、新たに求められたパワーウインドウ3の移動量とに基づいて、新たなパワーウインドウ3の位置を特定する。 The position specifying unit 105 identifies the position of the power window 3 (height position in the window frame 2A) based on the pulse signal acquired by the pulse signal acquisition unit 104. For example, the position specifying unit 105 specifies the amount of rotation of the rotation shaft of the motor 4 based on the pulse signal acquired by the pulse signal acquisition unit 104. Then, the position specifying unit 105 converts the specified rotation amount into the moving amount of the power window 3 by using a predetermined conversion formula. Further, the position specifying unit 105 identifies the position of the new power window 3 based on the position of the power window 3 immediately before and the newly obtained movement amount of the power window 3.

荷重算出部106は、パルス信号取得部104によって取得されたパルス信号、および、電圧値取得部102によって取得されたモータ4の駆動電圧Vを示す信号に基づいて、モータ4の荷重F(「モータの荷重に比例する第3の算出値」の一例)を算出する。例えば、荷重算出部106は、パルス信号取得部104によって取得されたパルス信号における1パルス毎に、下記数式(1)により、荷重F(n)を算出する。但し、nは、パルス信号取得部104によって取得されたパルス信号から検出されたパルスのカウント数を表す。 The load calculation unit 106 is based on the pulse signal acquired by the pulse signal acquisition unit 104 and the signal indicating the drive voltage V of the motor 4 acquired by the voltage value acquisition unit 102, and the load F of the motor 4 (“motor”). An example of "a third calculated value proportional to the load of") is calculated. For example, the load calculation unit 106 calculates the load F (n) by the following mathematical formula (1) for each pulse in the pulse signal acquired by the pulse signal acquisition unit 104. However, n represents the count number of the pulse detected from the pulse signal acquired by the pulse signal acquisition unit 104.

Figure 0007022672000001
Figure 0007022672000001

上記数式(1)において、Ftorque(n)は、「モータのトルクに比例する第2の算出値」の一例であり、荷重F(n)のうち、モータ4の駆動トルクに依存する成分を表すものである。Ftorque(n)は、下記数式(2)によって算出される。以降の説明では、Ftorque(n)を、「トルク項」と示す。 In the above formula (1), F torque (n) is an example of "a second calculated value proportional to the torque of the motor", and the component of the load F (n) that depends on the drive torque of the motor 4 is included. It represents. F torque (n) is calculated by the following mathematical formula (2). In the following description, Torque (n) will be referred to as a " torque term".

Figure 0007022672000002
Figure 0007022672000002

上記数式(2)において、Kは、モータ4のトルク定数[N・m/A]を示す。また、Rは、モータ4の抵抗値[Ω]を示す。また、lは、モータ4の回転軸の単位回転角あたりのパワーウインドウ3の移動量[m/rad]を示す。また、V(n)は、カウント数nにおける駆動電圧[V](すなわち、電圧値取得部102によって取得された信号に示されている駆動電圧V)を示す。また、Kは、モータ4の逆起電力定数[V・sec/rad]を示す。また、T(n)は、カウント数nにおけるパルス信号のパルス周期[sec]を示す。当該パルス周期は、モータ4の回転軸が所定角度(1パルス分の角度)回転するのに要した時間を表すものであり、パルス信号取得部104によって取得されたパルス信号から導き出される。 In the above mathematical formula (2), Kt indicates the torque constant [Nm / A] of the motor 4. Further, R m indicates the resistance value [Ω] of the motor 4. Further, l indicates the amount of movement [m / rad] of the power window 3 per unit rotation angle of the rotation axis of the motor 4. Further, V (n) indicates the drive voltage [V] at the count number n (that is, the drive voltage V shown in the signal acquired by the voltage value acquisition unit 102). Further, Ke indicates a counter electromotive force constant [V · sec / rad] of the motor 4. Further, T (n) indicates the pulse period [sec] of the pulse signal at the count number n. The pulse period represents the time required for the rotation axis of the motor 4 to rotate by a predetermined angle (angle for one pulse), and is derived from the pulse signal acquired by the pulse signal acquisition unit 104.

また、上記数式(1)において、Facc(n)は、「モータの角加速度に比例する第1の算出値」の一例であり、荷重F(n)のうち、モータ4の角加速度に依存する成分を表すものである。Facc(n)は、下記数式(3)によって算出される。以降の説明では、Facc(n)を、「加速度項」と示す。 Further, in the above mathematical formula (1), Fac (n) is an example of "a first calculated value proportional to the angular acceleration of the motor", and depends on the angular acceleration of the motor 4 in the load F (n). It represents the component to be used. F acc (n) is calculated by the following mathematical formula (3). In the following description, Facc (n) will be referred to as an “acceleration term”.

Figure 0007022672000003
Figure 0007022672000003

上記数式(3)において、Cは、所定の調整パラメータ[N・sec]を示す。また、T(n)は、カウント数nにおけるパルス信号のパルス周期[sec]を示す。また、T(n-1)は、カウント数n-1におけるパルス信号のパルス周期[sec]を示す。上記数式(3)により、Facc(n)は、モータ4の回転軸の角加速度が低下するにつれて、値が高まってゆくものとなる。 In the above formula (3), C indicates a predetermined adjustment parameter [N · sec 2 ]. Further, T (n) indicates the pulse period [sec] of the pulse signal at the count number n. Further, T (n-1) indicates a pulse period [sec] of the pulse signal at the count number n-1. According to the above formula (3), the value of Fac (n) increases as the angular acceleration of the rotation axis of the motor 4 decreases.

基準値算出部107は、荷重算出部106によって算出された荷重F(n)の加重平均値を基準値B(n)として算出する。具体的には、基準値算出部107は、荷重算出部106によって新たな荷重F(n)が算出される毎に、新たな荷重F(n)と直前に算出された基準値B(n-1)との加重平均値を、新たな基準値B(n)として算出する。基準値算出部107は、基準値B(n)を、下記数式(4)によって算出する。下記数式(4)において、Mは、所定の重み係数を示す。 The reference value calculation unit 107 calculates the weighted average value of the load F (n) calculated by the load calculation unit 106 as the reference value B (n). Specifically, each time the load calculation unit 106 calculates a new load F (n), the reference value calculation unit 107 adds a new load F (n) and a reference value B (n−) calculated immediately before. The weighted average value with 1) is calculated as a new reference value B (n). The reference value calculation unit 107 calculates the reference value B (n) by the following mathematical formula (4). In the following formula (4), M represents a predetermined weighting factor.

Figure 0007022672000004
Figure 0007022672000004

判定値設定部109は、パワーウインドウ3による挟み込みが生じているか否かを判定するための、挟み込み判定値Fthを設定する。例えば、判定値設定部109は、基準値算出部107によって算出された基準値B(n)に対し、所定の許容量α1を加算した値を、挟み込み判定値Fthとして設定する。なお、許容量α1は、シミュレーション等により適切な値が予め求められ、マイコン100に設定される。 The determination value setting unit 109 sets the sandwiching determination value Fth for determining whether or not the pinching by the power window 3 has occurred. For example, the determination value setting unit 109 sets a value obtained by adding a predetermined allowable amount α1 to the reference value B (n) calculated by the reference value calculation unit 107 as the sandwiching determination value Fth. An appropriate value of the allowable amount α1 is obtained in advance by simulation or the like, and is set in the microcomputer 100.

判定値調整部110は、図5に詳細に示す起動時判定値調整処理を行うことにより、モータ4の起動直後の所定の判定期間(以下、「起動時判定期間」と示す)において、上記数式(3)によって算出される加速度項の値が単調増加する場合、挟み込み判定値Fthに対して、増分値α2を加算することにより、挟み込み判定値Fthを一時的に高める。そして、判定値調整部110は、モータ4の回転が安定するまでの間、挟み込み判定値Fthが高められた状態を維持し、モータ4の回転が安定すると、挟み込み判定値Fthが高められた状態を解除する。 The determination value adjusting unit 110 performs the activation determination value adjustment process shown in detail in FIG. 5 in the predetermined determination period immediately after the start of the motor 4 (hereinafter referred to as “startup determination period”). When the value of the acceleration term calculated by (3) increases monotonically, the pinch determination value Fth is temporarily increased by adding the increment value α2 to the pinch determination value Fth. Then, the determination value adjusting unit 110 maintains a state in which the pinching determination value Fth is increased until the rotation of the motor 4 stabilizes, and when the rotation of the motor 4 stabilizes, the pinching determination value Fth is increased. To cancel.

例えば、マイコン100の提供者は、起動時判定期間を、シミュレーション等により予め求めておく。具体的には、モータ4の起動直後、挟み込みが生じていない場合には加速度項の値が単調増加し、挟み込みが生じている場合には加速度項の値が単調増加しない期間を、起動時判定期間として求める。そして、マイコン100の提供者は、このようにして求められた起動時判定期間を、マイコン100に設定する。例えば、本実施形態では、モータ4の起動直後、モータ4の起動時からのカウント数n1からn2までの期間を、起動時判定期間としている。 For example, the provider of the microcomputer 100 obtains the startup determination period in advance by simulation or the like. Specifically, immediately after the motor 4 is started, the period during which the value of the acceleration term does not monotonically increase when pinching does not occur and the value of the acceleration term does not monotonically increase when pinching occurs is determined at startup. Obtained as a period. Then, the provider of the microcomputer 100 sets the start-up determination period thus obtained in the microcomputer 100. For example, in the present embodiment, the period from the count number n1 to n2 from the start of the motor 4 immediately after the start of the motor 4 is set as the start time determination period.

そして、実際にモータ4を起動した際、判定値調整部110は、起動時判定期間において、上記数式(3)によって算出される加速度項の値が単調増加する場合(すなわち、カウント数nにおける値が、カウント数n-1における値よりも大きい場合)、挟み込み判定値Fthに対して、増分値α2を加算することにより、挟み込み判定値Fthを一時的に高める。そして、判定値調整部110は、モータ4の回転が安定するまでの間、挟み込み判定値Fthが高められた状態を維持する。例えば、本実施形態では、モータ4の起動時からの所定のカウント数n3がカウントされたタイミングを、モータ4の回転が安定したタイミングとしている。 Then, when the motor 4 is actually started, the determination value adjusting unit 110 monotonically increases the value of the acceleration term calculated by the above mathematical formula (3) in the start-up determination period (that is, the value in the count number n). However, when it is larger than the value in the count number n-1, the pinch determination value Fth is temporarily increased by adding the increment value α2 to the pinch determination value Fth. Then, the determination value adjusting unit 110 maintains a state in which the pinching determination value Fth is increased until the rotation of the motor 4 stabilizes. For example, in the present embodiment, the timing at which the predetermined count number n3 from the start of the motor 4 is counted is the timing at which the rotation of the motor 4 is stable.

判定部111は、判定値設定部109によって設定された挟み込み判定値Fthを、荷重算出部106によって算出された荷重F(n)が超えた場合、パワーウインドウ3による挟み込みが生じていると判定する。 When the pinching determination value Fth set by the determination value setting unit 109 exceeds the load F (n) calculated by the load calculation unit 106, the determination unit 111 determines that pinching by the power window 3 has occurred. ..

ここで、モータ4の起動直後、モータ4の回転が安定するまでの間、判定値調整部110によって、挟み込み判定値Fthに増分値α2が加算された場合、判定部111は、増分値α2が加算された挟み込み判定値Fthを、荷重算出部106によって算出された荷重F(n)が超えた場合、パワーウインドウ3による挟み込みが生じていると判定する。 Here, when the increment value α2 is added to the sandwiching determination value Fth by the determination value adjusting unit 110 immediately after the start of the motor 4 until the rotation of the motor 4 stabilizes, the determination unit 111 has the increment value α2. When the load F (n) calculated by the load calculation unit 106 exceeds the added pinch determination value Fth, it is determined that pinching by the power window 3 has occurred.

これにより、本実施形態のマイコン100は、モータ4の起動直後、モータ4の回転が安定するまでの間、モータ4の不安定な動作に起因して、荷重算出部106によって算出される荷重F(n)の値が一時的に増加した場合であっても、挟み込み判定値Fthが高められることにより、荷重F(n)の値が挟み込み判定値Fthを超えないようにすることができるため、「パワーウインドウ3による挟み込みが生じていない」と判定することができ、よって、パワーウインドウ3による挟み込みの誤判定を防止することができる。 As a result, in the microcomputer 100 of the present embodiment, the load F calculated by the load calculation unit 106 due to the unstable operation of the motor 4 immediately after the start of the motor 4 until the rotation of the motor 4 stabilizes. Even when the value of (n) is temporarily increased, the pinch determination value Fth is increased so that the value of the load F (n) does not exceed the pinch determination value Fth. It can be determined that "the pinching by the power window 3 has not occurred", and thus it is possible to prevent an erroneous determination of the pinching by the power window 3.

一方、本実施形態のマイコン100は、モータ4の起動直後、モータ4の回転が安定するまでの間、パワーウインドウ3による挟み込みが生じていることに起因して、荷重算出部106によって算出される荷重F(n)の値が増加した場合、挟み込み判定値Fthが高められないことにより、荷重F(n)の値が挟み込み判定値Fthを超えるようにすることができるため、「パワーウインドウ3による挟み込みが生じている」と判定することができ、よって、パワーウインドウ3による挟み込みを比較的早期に検出することができる。 On the other hand, the microcomputer 100 of the present embodiment is calculated by the load calculation unit 106 due to the fact that the power window 3 sandwiches the microcomputer 100 immediately after the motor 4 is started and until the rotation of the motor 4 stabilizes. When the value of the load F (n) increases, the pinch determination value Fth cannot be increased, so that the value of the load F (n) can exceed the pinch determination value Fth. It can be determined that "pinching has occurred", and therefore pinching by the power window 3 can be detected relatively early.

モータ制御部112は、操作信号取得部101によって取得された操作信号に応じて、モータ4へ制御信号を供給してモータ4を制御することにより、パワーウインドウ3の開閉動作を制御する。 The motor control unit 112 controls the opening / closing operation of the power window 3 by supplying a control signal to the motor 4 to control the motor 4 in response to the operation signal acquired by the operation signal acquisition unit 101.

例えば、モータ制御部112は、操作信号取得部101によってパワーウインドウ3を閉動作させるための操作信号が取得された場合、モータ4の回転軸を第1の方向に回転させるための制御信号をモータ4へ供給することにより、パワーウインドウ3を閉動作させる。 For example, when the operation signal acquisition unit 101 acquires an operation signal for closing the power window 3, the motor control unit 112 uses a control signal for rotating the rotation axis of the motor 4 in the first direction. By supplying to 4, the power window 3 is closed.

反対に、モータ制御部112は、操作信号取得部101によってパワーウインドウ3を開動作させるための操作信号が取得された場合、モータ4の回転軸を第1の方向とは反対方向である第2の方向に回転させるための制御信号をモータ4へ供給することにより、パワーウインドウ3を開動作させる。 On the contrary, when the operation signal for opening the power window 3 is acquired by the operation signal acquisition unit 101, the motor control unit 112 sets the rotation axis of the motor 4 in the direction opposite to the first direction. By supplying a control signal for rotating in the direction of to the motor 4, the power window 3 is opened.

また、モータ制御部112は、位置特定部105によって特定されたパワーウインドウ3の位置が、挟み込み監視領域内の位置であり、且つ、判定部111によってパワーウインドウ3による挟み込みが生じていると判定された場合、パワーウインドウ3が所定の挟み込み防止動作を行うように、モータ4を制御する。 Further, the motor control unit 112 determines that the position of the power window 3 specified by the position specifying unit 105 is a position within the pinching monitoring area, and that the pinching by the power window 3 is caused by the determination unit 111. If so, the motor 4 is controlled so that the power window 3 performs a predetermined pinch prevention operation.

例えば、モータ制御部112は、判定部111によってパワーウインドウ3による挟み込みが生じていると判定された場合、モータ4を制御することにより、所定の挟み込み防止動作として、パワーウインドウ3の閉動作を停止させた後、パワーウインドウ3を所定量または所定位置まで開動作させる。 For example, when the determination unit 111 determines that the power window 3 is pinched, the motor control unit 112 controls the motor 4 to stop the closing operation of the power window 3 as a predetermined pinching prevention operation. After that, the power window 3 is opened by a predetermined amount or to a predetermined position.

(マイコン100による処理の手順)
図4は、本発明の一実施形態に係るマイコン100による処理の手順を示すフローチャートである。
(Procedure for processing by the microcomputer 100)
FIG. 4 is a flowchart showing a processing procedure by the microcomputer 100 according to the embodiment of the present invention.

まず、操作信号取得部101が、スイッチ40から出力された操作信号を取得する(ステップS401)。次に、パルス信号取得部104が、パルス発生器4Aから出力された、モータ4の回転軸の回転量を表すパルス信号を取得する(ステップS402)。そして、位置特定部105が、ステップS402で取得されたパルス信号に基づいて、パワーウインドウ3の位置を特定する(ステップS403)。 First, the operation signal acquisition unit 101 acquires the operation signal output from the switch 40 (step S401). Next, the pulse signal acquisition unit 104 acquires a pulse signal output from the pulse generator 4A, which represents the amount of rotation of the rotation shaft of the motor 4 (step S402). Then, the position specifying unit 105 identifies the position of the power window 3 based on the pulse signal acquired in step S402 (step S403).

次に、位置特定部105が、ステップS403で特定されたパワーウインドウ3の位置が、所定の挟み込み監視領域内であるか否かを判断する(ステップS404)。例えば、所定の挟み込み監視領域は、パワーウインドウ3の全閉位置から、所定の距離(例えば、4mm)下方に離れた位置までの領域を除く領域である。 Next, the position specifying unit 105 determines whether or not the position of the power window 3 specified in step S403 is within the predetermined sandwiching monitoring area (step S404). For example, the predetermined pinching monitoring area is an area excluding the area from the fully closed position of the power window 3 to a position separated by a predetermined distance (for example, 4 mm).

ステップS404において、所定の挟み込み監視領域内ではないと判定された場合(ステップS404:No)、モータ制御部112が、ステップS401で取得された操作信号に応じて、モータ4へ制御信号を供給してモータ4を制御することにより、パワーウインドウ3の通常の開閉動作(開動作または閉動作)を制御する(ステップS420)。そして、マイコン100は、ステップS412へ処理を進める。 When it is determined in step S404 that the area is not within the predetermined pinching monitoring area (step S404: No), the motor control unit 112 supplies a control signal to the motor 4 in response to the operation signal acquired in step S401. By controlling the motor 4, the normal opening / closing operation (opening operation or closing operation) of the power window 3 is controlled (step S420). Then, the microcomputer 100 advances the process to step S412.

一方、ステップS404において、所定の挟み込み監視領域内であると判定された場合(ステップS404:Yes)、電圧値取得部102が、電圧検出回路20から出力された、モータ4の駆動電圧Vを示す信号を取得する(ステップS405)。 On the other hand, when it is determined in step S404 that it is within the predetermined sandwiching monitoring area (step S404: Yes), the voltage value acquisition unit 102 indicates the drive voltage V of the motor 4 output from the voltage detection circuit 20. Acquire a signal (step S405).

そして、荷重算出部106が、ステップS402で取得されたパルス信号、および、ステップS405で取得されたモータ4の駆動電圧Vを示す信号に基づいて、パワーウインドウ3の開閉動作にかかる荷重F(n)を算出する(ステップS406)。また、基準値算出部107が、ステップS406で算出された荷重F(n)の加重平均値を基準値B(n)として算出する(ステップS407)。 Then, the load calculation unit 106 applies a load F (n) to open / close the power window 3 based on the pulse signal acquired in step S402 and the signal indicating the drive voltage V of the motor 4 acquired in step S405. ) Is calculated (step S406). Further, the reference value calculation unit 107 calculates the weighted average value of the load F (n) calculated in step S406 as the reference value B (n) (step S407).

次に、判定値設定部109が、ステップS407で算出された基準値B(n)に対し、所定の許容量α1を加算した値を、挟み込み判定値Fthとして設定する(ステップS408)。 Next, the determination value setting unit 109 sets a value obtained by adding a predetermined allowable amount α1 to the reference value B (n) calculated in step S407 as the sandwiching determination value Fth (step S408).

また、判定値調整部110が、起動時判定値調整処理を行う(ステップS409)。これにより、判定値調整部110は、モータ4の起動直後の起動時判定期間において、ステップS406で算出された荷重F(n)のうちの加速度項の値が単調増加する場合、ステップS408で設定された挟み込み判定値Fthに対して、増分値α2を加算することにより、挟み込み判定値Fthを一時的に高める。 Further, the determination value adjusting unit 110 performs a determination value adjusting process at startup (step S409). As a result, the determination value adjusting unit 110 sets in step S408 when the value of the acceleration term in the load F (n) calculated in step S406 increases monotonically in the start-up determination period immediately after the motor 4 is started. By adding the increment value α2 to the sandwiched determination value Fth, the sandwiched determination value Fth is temporarily increased.

次に、判定部111が、パワーウインドウ3による挟み込みが生じているか否かを判定する(ステップS410)。具体的には、判定部111は、ステップS406で算出された荷重F(n)が、ステップS408で設定された挟み込み判定値Fth、または、ステップS409で増分値α2が加算された挟み込み判定値Fthを超えた場合、パワーウインドウ3による挟み込みが生じていると判定する。反対に、判定部111は、ステップS406で算出された荷重F(n)が、ステップS408で設定された挟み込み判定値Fth、または、ステップS409で増分値α2が加算された挟み込み判定値Fth未満である場合、パワーウインドウ3による挟み込みが生じていないと判定する。 Next, the determination unit 111 determines whether or not the pinching by the power window 3 has occurred (step S410). Specifically, in the determination unit 111, the load F (n) calculated in step S406 is the pinch determination value Fth set in step S408, or the pinch determination value Fth to which the increment value α2 is added in step S409. If it exceeds, it is determined that the power window 3 is pinched. On the contrary, in the determination unit 111, the load F (n) calculated in step S406 is less than the pinch determination value Fth set in step S408 or the pinch determination value Fth to which the increment value α2 is added in step S409. If there is, it is determined that the pinching by the power window 3 has not occurred.

ステップS410において、パワーウインドウ3による挟み込みが生じていると判定された場合(ステップS410:Yes)、モータ制御部112が、モータ4へ制御信号を供給してモータ4を制御することにより、パワーウインドウ3の挟み込み防止動作を制御する(ステップS411)。そして、マイコン100は、ステップS412へ処理を進める。 When it is determined in step S410 that the pinching by the power window 3 has occurred (step S410: Yes), the motor control unit 112 supplies a control signal to the motor 4 to control the motor 4, thereby controlling the power window. The pinch prevention operation of 3 is controlled (step S411). Then, the microcomputer 100 advances the process to step S412.

一方、ステップS410において、パワーウインドウ3による挟み込みが生じていないと判定された場合(ステップS410:No)、モータ制御部112が、ステップS401で取得された操作信号に応じて、モータ4へ制御信号を供給してモータ4を制御することにより、パワーウインドウ3の通常の開閉動作(開動作または閉動作)を制御する(ステップS420)。そして、マイコン100は、ステップS412へ処理を進める。 On the other hand, when it is determined in step S410 that the pinching by the power window 3 has not occurred (step S410: No), the motor control unit 112 sends a control signal to the motor 4 in response to the operation signal acquired in step S401. By controlling the motor 4, the normal opening / closing operation (opening operation or closing operation) of the power window 3 is controlled (step S420). Then, the microcomputer 100 advances the process to step S412.

ステップS412では、所定の終了条件を満たすか否かを判断する。所定の終了条件とは、パワーウインドウ3の動作を終了させるためのものであり、例えば、パワーウインドウ3が全閉状態になった場合、パワーウインドウ3が全開状態になった場合、スイッチ40からの操作信号の供給が途絶えた場合等である。 In step S412, it is determined whether or not a predetermined end condition is satisfied. The predetermined termination condition is for terminating the operation of the power window 3, for example, when the power window 3 is fully closed, when the power window 3 is fully open, the switch 40 is used. For example, when the supply of the operation signal is cut off.

ステップS412において、所定の終了条件を満たさないと判断された場合(ステップS412:No)、マイコン100は、ステップS402へ処理を戻す。一方、ステップS412において、所定の終了条件を満たすと判断された場合(ステップS412:Yes)、マイコン100は、図4に示す一連の処理を終了する。 If it is determined in step S412 that the predetermined end condition is not satisfied (step S412: No), the microcomputer 100 returns the process to step S402. On the other hand, when it is determined in step S412 that the predetermined end condition is satisfied (step S412: Yes), the microcomputer 100 ends a series of processes shown in FIG.

(起動時判定値調整処理の手順)
図5は、本発明の一実施形態に係る判定値調整部110による起動時判定値調整処理の手順を示すフローチャートである。図5は、図4に示すフローチャートにおける、判定値調整部110による起動時判定値調整処理(ステップS409)の手順を詳細に示すものである。特に、図5は、モータ4の起動時から、モータ4の回転が安定するまでの間に行われる、判定値調整部110による起動時判定値調整処理の手順を示すものである。
(Procedure for adjusting the judgment value at startup)
FIG. 5 is a flowchart showing a procedure of startup determination value adjustment processing by the determination value adjustment unit 110 according to the embodiment of the present invention. FIG. 5 shows in detail the procedure of the start-up determination value adjustment process (step S409) by the determination value adjustment unit 110 in the flowchart shown in FIG. In particular, FIG. 5 shows a procedure for starting determination value adjustment processing by the determination value adjusting unit 110, which is performed from the time when the motor 4 is started until the rotation of the motor 4 becomes stable.

まず、判定値調整部110は、変数n、変数inc、および変数ΔFthの各々に対して「0」を設定(すなわち、初期化)する(ステップS501)。変数nは、モータ4が起動してからのパルスカウント数を表す。変数incは、加速度項の単調増加の連続数を表す。変数ΔFthは、挟み込み判定値Fthに対する増加量を表す。 First, the determination value adjusting unit 110 sets (that is, initializes) “0” for each of the variable n, the variable inc, and the variable ΔFth (step S501). The variable n represents the number of pulse counts since the motor 4 was started. The variable inc represents the number of continuous monotonous increases in the acceleration term. The variable ΔFth represents the amount of increase with respect to the sandwiching determination value Fth.

次に、判定値調整部110は、条件{n1≦n≦n2}を満たすか否かを判断する(ステップS502)。条件{n1≦n≦n2}は、起動時判定期間であることを判定するためのものである。n1は、モータ4が起動してからのパルスカウント数であって、起動時判定期間の始期のパルスカウント数を表す。n2は、モータ4が起動してからのパルスカウント数であって、起動時判定期間の終期のパルスカウント数を表す。例えば、n1には「8」が設定され、n2には「15」が設定される。 Next, the determination value adjusting unit 110 determines whether or not the condition {n1 ≦ n ≦ n2} is satisfied (step S502). The condition {n1 ≦ n ≦ n2} is for determining that the start-up determination period is reached. n1 is the pulse count number after the motor 4 is started, and represents the pulse count number at the beginning of the start-up determination period. n2 is the pulse count number after the motor 4 is started, and represents the pulse count number at the end of the start-up determination period. For example, "8" is set for n1 and "15" is set for n2.

ステップS502において、条件{n1≦n≦n2}を満たさないと判断された場合(ステップS502:No)、判定値調整部110は、ステップS508へ処理を進める。 If it is determined in step S502 that the condition {n1 ≦ n ≦ n2} is not satisfied (step S502: No), the determination value adjusting unit 110 proceeds to step S508.

一方、ステップS502において、条件{n1≦n≦n2}を満たすと判断された場合(ステップS502:Yes)、判定値調整部110は、条件{Facc(n)>Facc(n-1)}を満たすか否かを判断する(ステップS503)。条件{Facc(n)>Facc(n-1)}は、加速度項の単調増加であることを判定するためのものである。Facc(n)は、パルスカウント数nにおける加速度項の値を表す。Facc(n-1)は、パルスカウント数n-1における加速度項の値を表す。 On the other hand, when it is determined in step S502 that the condition {n1 ≦ n ≦ n2} is satisfied (step S502: Yes), the determination value adjusting unit 110 sets the condition {Facc (n)> Facc (n-1)}. It is determined whether or not the condition is satisfied (step S503). The condition {Facc (n)> Facc (n-1)} is for determining that the acceleration term is a monotonous increase. Facc (n) represents the value of the acceleration term at the pulse count number n. Facc (n-1) represents the value of the acceleration term at the pulse count number n-1.

ステップS503において、条件{Facc(n)>Facc(n-1)}を満たさないと判断された場合(ステップS503:No)、判定値調整部110は、ステップS508へ処理を進める。 If it is determined in step S503 that the condition {Facc (n)> Facc (n-1)} is not satisfied (step S503: No), the determination value adjusting unit 110 proceeds to step S508.

一方、ステップS503において、条件{Facc(n)>Facc(n-1)}を満たすと判断された場合(ステップS503:Yes)、判定値調整部110は、変数incに1を加算する(ステップS504)。そして、判定値調整部110は、条件{inc>inc_th}を満たすか否かを判断する(ステップS505)。条件{inc>inc_th}は、加速度項の単調増加の連続数(inc)が、所定の判定回数(inc_th)を超えたことを判定するためのものである。例えば、inc_thには「7」が設定される。 On the other hand, when it is determined in step S503 that the condition {Facc (n)> Facc (n-1)} is satisfied (step S503: Yes), the determination value adjusting unit 110 adds 1 to the variable inc (step). S504). Then, the determination value adjusting unit 110 determines whether or not the condition {inc> inc_th} is satisfied (step S505). The condition {inc> inc_th} is for determining that the continuous number of monotonous increases (inc) of the acceleration term exceeds a predetermined number of determinations (inc_th). For example, "7" is set for inc_th.

ステップS505において、条件{inc>inc_th}を満たさないと判断された場合(ステップS505:No)、判定値調整部110は、変数ΔFthに「0」を設定し(ステップS506)、ステップS508へ処理を進める。 When it is determined in step S505 that the condition {inc> inc_th} is not satisfied (step S505: No), the determination value adjusting unit 110 sets the variable ΔFth to “0” (step S506) and processes to step S508. To proceed.

一方、ステップS505において、条件{inc>inc_th}を満たすと判断された場合(ステップS505:Yes)、判定値調整部110は、変数ΔFthに「α2」を設定し(ステップS507)、ステップS508へ処理を進める。α2は、挟み込み判定値Fthに対する増分値を表す。α2は、シミュレーション等により適切な値が予め求められ、マイコン100に設定される。 On the other hand, when it is determined in step S505 that the condition {inc> inc_th} is satisfied (step S505: Yes), the determination value adjusting unit 110 sets the variable ΔFth to “α2” (step S507), and proceeds to step S508. Proceed with processing. α2 represents an increment value with respect to the sandwiching determination value Fth. An appropriate value of α2 is obtained in advance by simulation or the like, and is set in the microcomputer 100.

ステップS508では、判定値調整部110は、変数nに1を加算する。次に、判定値調整部110は、条件{n≧n2}を満たすか否かを判断する(ステップS509)。条件{n≧n2}は、起動時判定期間が終了したことを判定するためのものである。 In step S508, the determination value adjusting unit 110 adds 1 to the variable n. Next, the determination value adjusting unit 110 determines whether or not the condition {n ≧ n2} is satisfied (step S509). The condition {n ≧ n2} is for determining that the start-up determination period has expired.

ステップS509において、条件{n≧n2}を満たさないと判断された場合(ステップS509:No)、判定値調整部110は、ステップS502へ処理を戻す。 If it is determined in step S509 that the condition {n ≧ n2} is not satisfied (step S509: No), the determination value adjusting unit 110 returns the process to step S502.

一方、ステップS509において、条件{n≧n2}を満たすと判断された場合(ステップS509:Yes)、判定値調整部110は、条件{n≧n3}を満たすか否かを判断する(ステップS510)。条件{n≧n3}は、モータ4の回転が安定したことを判定するためのものである。n3は、モータ4が起動してからのパルスカウント数であって、モータ4の回転が安定するタイミングを表す。n3は、シミュレーション等により適切な値が予め求められ、マイコン100に設定される。 On the other hand, when it is determined in step S509 that the condition {n ≧ n2} is satisfied (step S509: Yes), the determination value adjusting unit 110 determines whether or not the condition {n ≧ n3} is satisfied (step S510). ). The condition {n ≧ n3} is for determining that the rotation of the motor 4 is stable. n3 is the pulse count number after the motor 4 is started, and represents the timing at which the rotation of the motor 4 stabilizes. An appropriate value for n3 is obtained in advance by simulation or the like, and is set in the microcomputer 100.

ステップS510において、条件{n≧n3}を満たさないと判断された場合(ステップS510:No)、判定値調整部110は、ステップS502へ処理を戻す。 If it is determined in step S510 that the condition {n ≧ n3} is not satisfied (step S510: No), the determination value adjusting unit 110 returns the process to step S502.

一方、ステップS510において、条件{n≧n3}を満たすと判断された場合(ステップS510:Yes)、判定値調整部110は、変数ΔFthに「0」を設定する(ステップS511)。そして、判定値調整部110は、図5に示す一連の処理を終了する。 On the other hand, when it is determined in step S510 that the condition {n ≧ n3} is satisfied (step S510: Yes), the determination value adjusting unit 110 sets the variable ΔFth to “0” (step S511). Then, the determination value adjusting unit 110 ends a series of processes shown in FIG.

(荷重F(n)および加速度項の値の一例)
図6は、本発明の一実施形態に係る荷重算出部106によって算出される荷重F(n)の一例を示す図である。図7は、本発明の一実施形態に係る荷重算出部106によって算出される加速度項の値の一例を示す図である。
(Example of load F (n) and acceleration term value)
FIG. 6 is a diagram showing an example of a load F (n) calculated by the load calculation unit 106 according to the embodiment of the present invention. FIG. 7 is a diagram showing an example of the value of the acceleration term calculated by the load calculation unit 106 according to the embodiment of the present invention.

図6および図7において、実線は、モータ4の起動時にパワーウインドウ3による挟み込みが生じている場合において、荷重算出部106によって算出された、荷重F(n)および加速度項の値の一例を表す。 In FIGS. 6 and 7, the solid line represents an example of the values of the load F (n) and the acceleration term calculated by the load calculation unit 106 when the power window 3 is pinched when the motor 4 is started. ..

また、図6および図7において、破線は、モータ4の起動時にパワーウインドウ3による挟み込みが生じていない場合、且つ、パワーウインドウ3が後ろ下がりの状態(斜めになった状態)となった場合において、荷重算出部106によって算出された、荷重F(n)および加速度項の値の一例を表す。 Further, in FIGS. 6 and 7, the broken line indicates the case where the power window 3 is not pinched when the motor 4 is started, and the power window 3 is in a backward lowered state (inclined state). , An example of the values of the load F (n) and the acceleration term calculated by the load calculation unit 106 is shown.

また、図6および図7において、一点鎖線は、モータ4の起動時にパワーウインドウ3による挟み込みが生じていない場合、且つ、パワーウインドウ3が前下がりの状態(斜めになった状態)となった場合において、荷重算出部106によって算出された、荷重F(n)および加速度項の値の一例を表す。 Further, in FIGS. 6 and 7, the alternate long and short dash line is when the power window 3 is not pinched when the motor 4 is started, and when the power window 3 is in a forward-down state (oblique state). An example of the values of the load F (n) and the acceleration term calculated by the load calculation unit 106 is shown.

図7において、破線および一点鎖線に示すように、モータ4の起動時に、パワーウインドウ3による挟み込みが生じていない場合、パルスカウント数n1からn2までの起動時判定期間において、加速度項の値が単調増加することが判る。 In FIG. 7, as shown by the broken line and the alternate long and short dash line, when the motor 4 is not pinched by the power window 3, the value of the acceleration term is monotonous in the start-up determination period from the pulse count numbers n1 to n2. It turns out that it will increase.

一方、図7において、実線に示すように、モータ4の起動時に、パワーウインドウ3による挟み込みが生じている場合、パルスカウント数n1からn2までの起動時判定期間において、加速度項の値が単調増加しないことが判る。 On the other hand, as shown by the solid line in FIG. 7, when the power window 3 is pinched when the motor 4 is started, the value of the acceleration term increases monotonically in the start-up determination period from the pulse count numbers n1 to n2. I know I won't.

(挟み込み判定値Fthの調整)
図8は、本発明の一実施形態に係る判定値調整部110による挟み込み判定値Fthの調整を概略的に示す図である。図8(a)は、判定値調整部110により挟み込み判定値Fthが高められるケースを示す。図8(b)は、判定値調整部110により挟み込み判定値Fthが高められないケースを示す。
(Adjustment of pinch judgment value Fth)
FIG. 8 is a diagram schematically showing the adjustment of the sandwiched determination value Fth by the determination value adjusting unit 110 according to the embodiment of the present invention. FIG. 8A shows a case where the sandwiching determination value Fth is increased by the determination value adjusting unit 110. FIG. 8B shows a case where the sandwiching determination value Fth cannot be increased by the determination value adjusting unit 110.

図8(a)および図8(b)に示すように、マイコン100では、判定値設定部109が、基準値算出部107によって算出された基準値B(n)に対し、所定の許容量α1を加算した値を、挟み込み判定値Fthとして設定する。なお、説明をわかり易くするために、図8(a)および図8(b)では、基準値B(n)を一定値としているが、実際には、基準値B(n)は、荷重算出部106によって算出される荷重F(n)の変動に伴って変動し得るものである。 As shown in FIGS. 8A and 8B, in the microcomputer 100, the determination value setting unit 109 has a predetermined allowable amount α1 with respect to the reference value B (n) calculated by the reference value calculation unit 107. Is set as the sandwiching determination value Fth. In addition, in order to make the explanation easy to understand, the reference value B (n) is set as a constant value in FIGS. 8 (a) and 8 (b), but in reality, the reference value B (n) is the load calculation unit. It can fluctuate with the fluctuation of the load F (n) calculated by 106.

また、図8(a)および図8(b)に示すように、マイコン100では、モータ4の起動直後、パルスカウント数n1からn2までの期間が、起動時判定期間として設定される。一例として、本実施形態では、カウント8から15までの期間が、起動時判定期間として設定される。 Further, as shown in FIGS. 8A and 8B, in the microcomputer 100, a period from the pulse count number n1 to n2 is set as the start-up determination period immediately after the motor 4 is started. As an example, in the present embodiment, a period from count 8 to 15 is set as a start-up determination period.

そして、この起動時判定期間において、荷重算出部106によって算出された加速度項の値が単調増加する場合、判定値調整部110は、図8(a)に示すように、挟み込み判定値Fthに対して、増分値α2を加算することにより、挟み込み判定値Fthを一時的に高める。 Then, when the value of the acceleration term calculated by the load calculation unit 106 increases monotonically during this start-up determination period, the determination value adjustment unit 110 sets the pinch determination value Fth as shown in FIG. 8A. Then, by adding the increment value α2, the sandwiching determination value Fth is temporarily increased.

この場合、判定値調整部110は、モータ4の回転が安定するまでの非安定期間(パルスカウント数n2からn3までの期間)を増加期間として、挟み込み判定値Fthに増分値α2が加算された状態を維持する。その後、モータ4の回転が安定すると(カウントn3)、判定値調整部110は、挟み込み判定値Fthに増分値α2が加算された状態を解除する。すなわち、挟み込み判定値Fthは、基準値Bに対して許容量α1のみが加算されたものに戻る。 In this case, the determination value adjusting unit 110 adds the increment value α2 to the sandwiching determination value Fth with the unstable period (the period from the pulse count number n2 to n3) until the rotation of the motor 4 stabilizes as the increasing period. Maintain the state. After that, when the rotation of the motor 4 stabilizes (count n3), the determination value adjusting unit 110 releases the state in which the increment value α2 is added to the sandwiching determination value Fth. That is, the pinch determination value Fth returns to the value obtained by adding only the allowable amount α1 to the reference value B.

これにより、本実施形態のマイコン100は、モータ4の回転が安定するまでの間、モータ4の不安定な動作に起因して、荷重算出部106によって算出される荷重F(n)が一時的に増加した場合であっても、荷重F(n)が挟み込み判定値Fthを超えないようにすることができるため、パワーウインドウ3による挟み込みの誤判定を防止することができる。 As a result, in the microcomputer 100 of the present embodiment, the load F (n) calculated by the load calculation unit 106 is temporarily caused by the unstable operation of the motor 4 until the rotation of the motor 4 stabilizes. Since the load F (n) can be prevented from exceeding the pinching determination value Fth even when the load F (n) is increased to the above, it is possible to prevent erroneous determination of pinching by the power window 3.

一方、起動時判定期間において、荷重算出部106によって算出され加速度項の値が単調増加しない場合、判定値調整部110は、図8(b)に示すように、挟み込み判定値Fthに対して、増分値α2を加算しない。すなわち、モータ4の回転が安定するまでの非安定期間(パルスカウント数n2からn3までの期間)、および、モータ4の回転が安定した安定期間(パルスカウント数n3以降の期間)のいずれにおいても、挟み込み判定値Fthは、基準値Bに対して許容量α1のみが加算されたものとなる。 On the other hand, when the value of the acceleration term calculated by the load calculation unit 106 does not monotonically increase during the start-up determination period, the determination value adjustment unit 110 sets the pinch determination value Fth with respect to the pinch determination value Fth, as shown in FIG. 8B. The increment value α2 is not added. That is, in both the unstable period until the rotation of the motor 4 stabilizes (the period from the pulse count number n2 to n3) and the stable period until the rotation of the motor 4 stabilizes (the period after the pulse count number n3). , The sandwiching determination value Fth is obtained by adding only the allowable amount α1 to the reference value B.

これにより、本実施形態のマイコン100は、モータ4の回転が安定するまでの間、パワーウインドウ3による挟み込みが生じていることに起因して、荷重算出部106によって算出される荷重F(n)の値が増加した場合、荷重F(n)が挟み込み判定値Fthを超えるようにすることができるため、パワーウインドウ3による挟み込みを比較的早期に検出することができる。 As a result, in the microcomputer 100 of the present embodiment, the load F (n) calculated by the load calculation unit 106 is caused by the pinching by the power window 3 until the rotation of the motor 4 stabilizes. When the value of is increased, the load F (n) can be made to exceed the pinching determination value Fth, so that pinching by the power window 3 can be detected relatively early.

(第1比較例)
図9は、本実施形態のマイコン100による各種算出値の一例を示す図である。図10は、比較用の開閉制御装置による各種算出値の一例を示す図である。図9および図10において、破線は、基準値B(n)を示す。また、実線は、荷重F(n)を示す。また、一点鎖線は、挟み込み判定値Fthを示す。第1比較例では、本実施形態のマイコン100と、比較用の開閉制御装置との各々により、モータ4の起動時にパワーウインドウ3による挟み込みが生じていない場合、且つ、パワーウインドウ3が前下がりの状態となった場合における、基準値B(n)、荷重F(n)、および挟み込み判定値Fthの各々を算出した。なお、第1比較例では、比較用の開閉制御装置として、判定値調整部110による起動時判定値調整処理を行わないものを用いた。
(First comparative example)
FIG. 9 is a diagram showing an example of various calculated values by the microcomputer 100 of the present embodiment. FIG. 10 is a diagram showing an example of various calculated values by the open / close control device for comparison. In FIGS. 9 and 10, the broken line indicates the reference value B (n). The solid line indicates the load F (n). Further, the alternate long and short dash line indicates the sandwiching determination value Fth. In the first comparative example, when the microcomputer 100 of the present embodiment and the open / close control device for comparison do not cause pinching by the power window 3 when the motor 4 is started, and the power window 3 is lowered forward. Each of the reference value B (n), the load F (n), and the pinch determination value Fth in the case of the state was calculated. In the first comparative example, as the open / close control device for comparison, a device that does not perform the start-up determination value adjustment process by the determination value adjustment unit 110 was used.

図9に示すように、本実施形態のマイコン100では、判定値調整部110による起動時判定値調整処理が行われたことにより、モータ4の起動時からのパルスカウント数n2において、判定値が高められていることが判る。これにより、本実施形態のマイコン100では、図9に示すように、モータ4の回転が安定するまでの間、荷重F(n)が挟み込み判定値Fthを超えることはなく、よって、「パワーウインドウ3による挟み込みが生じている」と誤判定することはない。 As shown in FIG. 9, in the microcomputer 100 of the present embodiment, the determination value is changed in the pulse count number n2 from the start of the motor 4 due to the start-up determination value adjustment process performed by the determination value adjustment unit 110. You can see that it has been enhanced. As a result, in the microcomputer 100 of the present embodiment, as shown in FIG. 9, the load F (n) does not exceed the pinch determination value Fth until the rotation of the motor 4 stabilizes. Therefore, the “power window” is obtained. There is no erroneous determination that "the pinching by 3 has occurred".

一方、図10に示すように、比較用の開閉制御装置では、判定値調整部110による起動時判定値調整処理を行わないため、モータ4の起動時からのパルスカウント数n2において、判定値が高められていないことが判る。これにより、比較用の開閉制御装置では、図10に示すように、モータ4の回転が安定するまでの間、荷重F(n)が挟み込み判定値Fthを超えることがあり、よって、「誤判定範囲」において、「パワーウインドウ3による挟み込みが生じている」と誤判定することがある。 On the other hand, as shown in FIG. 10, in the open / close control device for comparison, the determination value adjusting unit 110 does not perform the activation determination value adjustment process, so that the determination value is the determination value in the pulse count number n2 from the start of the motor 4. It turns out that it has not been enhanced. As a result, in the open / close control device for comparison, as shown in FIG. 10, the load F (n) may exceed the pinch determination value Fth until the rotation of the motor 4 stabilizes. In the "range", it may be erroneously determined that "the power window 3 is pinched".

(第2比較例)
図11は、本実施形態のマイコン100による各種算出値の一例を示す図である。図12は、比較用の開閉制御装置による各種算出値の一例を示す図である。図11および図12において、破線は、基準値B(n)を示す。また、実線は、荷重F(n)を示す。また、一点鎖線は、挟み込み判定値Fthを示す。第2比較例では、本実施形態のマイコン100と、第1比較例で用いた比較用の開閉制御装置との各々により、モータ4の起動時にパワーウインドウ3による挟み込みが生じていない場合、且つ、パワーウインドウ3が後ろ下がりの状態となった場合における、基準値B(n)、荷重F(n)、および挟み込み判定値Fthの各々を算出した。
(Second comparative example)
FIG. 11 is a diagram showing an example of various calculated values by the microcomputer 100 of the present embodiment. FIG. 12 is a diagram showing an example of various calculated values by the open / close control device for comparison. In FIGS. 11 and 12, the broken line indicates the reference value B (n). The solid line indicates the load F (n). Further, the alternate long and short dash line indicates the sandwiching determination value Fth. In the second comparative example, when the microcomputer 100 of the present embodiment and the open / close control device for comparison used in the first comparative example do not cause pinching by the power window 3 when the motor 4 is started, and Each of the reference value B (n), the load F (n), and the pinch determination value Fth was calculated when the power window 3 was in the rearwardly lowered state.

図11に示すように、本実施形態のマイコン100では、判定値調整部110による起動時判定値調整処理が行われたことにより、モータ4の起動時からのパルスカウント数n2において、判定値が高められていることが判る。これにより、本実施形態のマイコン100では、図11に示すように、モータ4の回転が安定するまでの間、荷重F(n)が挟み込み判定値Fthを超えることはなく、よって、「パワーウインドウ3による挟み込みが生じている」と誤判定することはない。 As shown in FIG. 11, in the microcomputer 100 of the present embodiment, the determination value is changed in the pulse count number n2 from the start of the motor 4 due to the start-up determination value adjustment process performed by the determination value adjustment unit 110. You can see that it has been enhanced. As a result, in the microcomputer 100 of the present embodiment, as shown in FIG. 11, the load F (n) does not exceed the pinch determination value Fth until the rotation of the motor 4 stabilizes. Therefore, the “power window” is obtained. There is no erroneous determination that "the pinching by 3 has occurred".

一方、図12に示すように、比較用の開閉制御装置では、判定値調整部110による起動時判定値調整処理を行わないため、モータ4の起動時からのパルスカウント数n2において、判定値が高められていないことが判る。これにより、比較用の開閉制御装置では、図12に示すように、モータ4の回転が安定するまでの間、荷重F(n)が挟み込み判定値Fthを超えることがあり、よって、「誤判定範囲」において、「パワーウインドウ3による挟み込みが生じている」と誤判定することがある。 On the other hand, as shown in FIG. 12, in the open / close control device for comparison, since the determination value adjusting unit 110 does not perform the activation determination value adjustment process, the determination value is the determination value at the pulse count number n2 from the start of the motor 4. It turns out that it has not been enhanced. As a result, in the open / close control device for comparison, as shown in FIG. 12, the load F (n) may exceed the pinch determination value Fth until the rotation of the motor 4 stabilizes. In the "range", it may be erroneously determined that "the power window 3 is pinched".

以上説明したように、本実施形態のマイコン100は、パワーウインドウ3が開閉動作を行ったときの、モータ4の角加速度に比例する第1の算出値(上記数式(1)における加速度項の算出値)と、モータ4のトルクに比例する第2の算出値(上記数式(1)におけるトルク項の算出値)と、第1の算出値および第2の算出値を加算した荷重F(n)とを算出する荷重算出部106と、荷重算出部106によって算出された荷重F(n)が挟み込み判定値Fthを超えた場合、パワーウインドウ3による挟み込みが生じていると判定する判定部111と、判定部111によって挟み込みが生じていると判定された場合、パワーウインドウ3が所定の挟み込み防止動作を行うように、モータ4を制御するモータ制御部112と、モータ4の起動直後の所定の起動時判定期間の間、第1の算出値が単調増加している場合、挟み込み判定値Fthを高める判定値調整部110とを備える。 As described above, in the microcomputer 100 of the present embodiment, the first calculated value proportional to the angular acceleration of the motor 4 when the power window 3 opens and closes (calculation of the acceleration term in the above equation (1)). Value), a second calculated value proportional to the torque of the motor 4 (calculated value of the torque term in the above equation (1)), and a load F (n) obtained by adding the first calculated value and the second calculated value. When the load F (n) calculated by the load calculation unit 106 exceeds the pinch determination value Fth, the load calculation unit 106 that calculates the above, and the determination unit 111 that determines that pinching by the power window 3 has occurred. When it is determined by the determination unit 111 that pinching has occurred, the motor control unit 112 that controls the motor 4 so that the power window 3 performs a predetermined pinching prevention operation, and the motor 4 at a predetermined start time immediately after the start of the motor 4. When the first calculated value is monotonically increased during the determination period, the determination value adjusting unit 110 for increasing the sandwiching determination value Fth is provided.

これにより、本実施形態のマイコン100は、モータ4の起動直後、モータ4の不安定な動作に起因して、荷重算出部106によって算出される荷重F(n)が一時的に増加した場合であっても、挟み込み判定値Fthが高められることにより、「パワーウインドウ3による挟み込みが生じていない」と判定することができ、よって、パワーウインドウ3による挟み込みの誤判定を防止することができる。 As a result, in the microcomputer 100 of the present embodiment, immediately after the motor 4 is started, the load F (n) calculated by the load calculation unit 106 temporarily increases due to the unstable operation of the motor 4. Even if there is, it is possible to determine that "the pinching by the power window 3 has not occurred" by increasing the pinching determination value Fth, and thus it is possible to prevent an erroneous determination of pinching by the power window 3.

一方、本実施形態のマイコン100は、モータ4の起動直後、パワーウインドウ3による挟み込みが生じていることに起因して、荷重算出部106によって算出される荷重F(n)の値が増加した場合、挟み込み判定値Fthが高められないことにより、比較的早期に「パワーウインドウ3による挟み込みが生じている」と判定することができる。 On the other hand, in the microcomputer 100 of the present embodiment, when the value of the load F (n) calculated by the load calculation unit 106 increases due to the pinching by the power window 3 immediately after the start of the motor 4. Since the pinching determination value Fth cannot be increased, it can be determined that "pinching by the power window 3 has occurred" relatively early.

したがって、本実施形態のマイコン100によれば、モータ4の起動直後における物体の挟み込みの判定精度を高めることができる。 Therefore, according to the microcomputer 100 of the present embodiment, it is possible to improve the accuracy of determining the pinching of an object immediately after the motor 4 is started.

以上、本発明の一実施形態について詳述したが、本発明はこれらの実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形又は変更が可能である。 Although one embodiment of the present invention has been described in detail above, the present invention is not limited to these embodiments, and various modifications or modifications are made within the scope of the gist of the present invention described in the claims. It can be changed.

例えば、本発明の一実施形態では、起動時判定期間を、パルスカウント数によって定めているが、これに限らず、例えば、起動時判定期間を、モータ4の起動時からの経過時間によって定めてもよい。 For example, in one embodiment of the present invention, the start-up determination period is determined by the number of pulse counts, but the present invention is not limited to this, and for example, the start-up determination period is determined by the elapsed time from the start of the motor 4. May be good.

また、本発明の一実施形態では、パルス周期Tを用いて、加速度項の値を算出しているが、これに限らず、例えば、パルス周期Tに代えて、電流検出回路30によって検出されたモータ4に流れる電流Imを用いて、加速度項の値を算出するようにしてもよい。 Further, in one embodiment of the present invention, the value of the acceleration term is calculated using the pulse period T, but the value is not limited to this, and is detected by the current detection circuit 30 instead of the pulse period T, for example. The value of the acceleration term may be calculated using the current Im flowing through the motor 4.

また、本発明の一実施形態では、マイコン100による制御対象の開閉体の一例としてパワーウインドウ3を用いているが、これに限らず、制御対象とする開閉体は、サンルーフ、スライドドア等、車両に搭載されているその他の開閉体や、車両以外に設けられている開閉体(例えば、電動シャッター等)等、少なくともモータの駆動により開閉動作を行うものであれば、如何なる開閉体であってもよい。 Further, in one embodiment of the present invention, the power window 3 is used as an example of the opening / closing body controlled by the microcomputer 100, but the control target opening / closing body is not limited to this, and the opening / closing body to be controlled is a vehicle such as a sunroof or a sliding door. Any opening / closing body such as other opening / closing bodies mounted on the vehicle or an opening / closing body provided other than the vehicle (for example, an electric shutter, etc.) that can be opened / closed by driving a motor at least. good.

なお、上記実施形態のマイコン100において、挟み込みの判定精度をより高めるべく、例えば、特願2017-101420号に記載されている方法を用いることができる。 In the microcomputer 100 of the above embodiment, for example, the method described in Japanese Patent Application No. 2017-101420 can be used in order to further improve the pinching determination accuracy.

1 開閉制御システム
2 ドア
3 パワーウインドウ
4 モータ
10 モータ駆動回路
20 電圧検出回路
30 電流検出回路
40 スイッチ
100 マイコン(開閉制御装置)
101 操作信号取得部
102 電圧値取得部
103 電流値取得部
104 パルス信号取得部
105 位置特定部
106 荷重算出部
107 基準値算出部
109 判定値設定部
110 判定値調整部
111 判定部
112 モータ制御部
1 Open / close control system 2 Door 3 Power window 4 Motor 10 Motor drive circuit 20 Voltage detection circuit 30 Current detection circuit 40 Switch 100 Microcomputer (open / close control device)
101 Operation signal acquisition unit 102 Voltage value acquisition unit 103 Current value acquisition unit 104 Pulse signal acquisition unit 105 Position identification unit 106 Load calculation unit 107 Reference value calculation unit 109 Judgment value setting unit 110 Judgment value adjustment unit 111 Judgment unit 112 Motor control unit

Claims (6)

モータの駆動による開閉体の開閉動作を制御する開閉制御装置であって、
前記開閉体が開閉動作を行ったときの、前記モータの角加速度に比例する第1の算出値と、前記モータのトルクに比例する第2の算出値と、前記第1の算出値および前記第2の算出値を加算した前記モータの荷重に比例する第3の算出値とを算出する荷重算出部と、
前記荷重算出部によって算出された前記第3の算出値が所定の判定値を超えた場合、前記開閉体による挟み込みが生じていると判定する判定部と、
前記判定部によって前記挟み込みが生じていると判定された場合、前記開閉体が挟み込み防止動作を行うように、前記モータを制御するモータ制御部と、
前記モータの起動直後の所定の判定期間の間、前記第1の算出値が単調増加している場合、前記判定値を高める判定値調整部と
を備えることを特徴とする開閉制御装置。
An open / close control device that controls the open / close operation of the open / close body driven by a motor.
The first calculated value proportional to the angular acceleration of the motor, the second calculated value proportional to the torque of the motor, the first calculated value, and the first calculated value when the opening / closing body performs the opening / closing operation. A load calculation unit that calculates a third calculated value that is proportional to the load of the motor, which is the sum of the calculated values of 2.
When the third calculated value calculated by the load calculation unit exceeds a predetermined determination value, a determination unit for determining that pinching by the opening / closing body has occurred, and a determination unit.
When the determination unit determines that the pinching has occurred, the motor control unit that controls the motor so that the opening / closing body performs the pinching prevention operation.
An opening / closing control device including an opening / closing control unit that increases the determination value when the first calculated value is monotonically increasing during a predetermined determination period immediately after the motor is started.
前記判定値調整部は、
前記判定期間の間、前記第1の算出値が単調増加している場合、前記モータの回転が安定するまでの間、前記判定値を高める
ことを特徴とする請求項1に記載の開閉制御装置。
The determination value adjusting unit is
The opening / closing control device according to claim 1, wherein when the first calculated value is monotonically increased during the determination period, the determination value is increased until the rotation of the motor stabilizes. ..
前記判定期間は、
前記モータが起動してからの前記モータの出力パルスのカウント数、または、前記モータが起動してからの経過時間によって定められる
ことを特徴とする請求項1または2に記載の開閉制御装置。
The determination period is
The open / close control device according to claim 1 or 2, wherein the open / close control device is determined by the number of counts of the output pulse of the motor after the motor is started or the elapsed time from the start of the motor.
モータの駆動による開閉体の開閉動作を制御する開閉制御システムであって、
前記モータと、
請求項1から3のいずれか一項に記載の開閉制御装置と
を備えることを特徴とする開閉制御システム。
An open / close control system that controls the open / close operation of the open / close body driven by a motor.
With the motor
An opening / closing control system comprising the opening / closing control device according to any one of claims 1 to 3.
モータの駆動による開閉体の開閉動作を制御する開閉制御方法であって、
前記開閉体が開閉動作を行ったときの、前記モータの角加速度に比例する第1の算出値と、前記モータのトルクに比例する第2の算出値と、前記第1の算出値および前記第2の算出値を加算した前記モータの荷重に比例する第3の算出値とを算出する荷重算出工程と、
前記荷重算出工程において算出された前記第3の算出値が所定の判定値を超えた場合、前記開閉体による挟み込みが生じていると判定する判定工程と、
前記判定工程において前記挟み込みが生じていると判定された場合、前記開閉体が挟み込み防止動作を行うように、前記モータを制御するモータ制御工程と、
前記モータの起動直後の所定の判定期間の間、前記第1の算出値が単調増加している場合、前記判定値を高める判定値調整工程と
を含むことを特徴とする開閉制御方法。
It is an opening / closing control method that controls the opening / closing operation of the opening / closing body driven by a motor.
The first calculated value proportional to the angular acceleration of the motor, the second calculated value proportional to the torque of the motor, the first calculated value, and the first calculated value when the opening / closing body performs the opening / closing operation. A load calculation step for calculating a third calculated value proportional to the load of the motor obtained by adding the calculated values of 2 and
When the third calculated value calculated in the load calculation step exceeds a predetermined determination value, a determination step of determining that pinching by the opening / closing body has occurred, and a determination step.
When it is determined in the determination step that the pinching has occurred, the motor control step of controlling the motor so that the opening / closing body performs the pinching prevention operation, and the motor control step.
An opening / closing control method comprising an opening / closing control step of increasing the determination value when the first calculated value is monotonically increasing during a predetermined determination period immediately after the motor is started.
モータの駆動による開閉体の開閉動作を制御するプログラムであって、
コンピュータを、
前記開閉体が開閉動作を行ったときの、前記モータの角加速度に比例する第1の算出値と、前記モータのトルクに比例する第2の算出値と、前記第1の算出値および前記第2の算出値を加算した前記モータの荷重に比例する第3の算出値とを算出する荷重算出部、
前記荷重算出部によって算出された前記第3の算出値が所定の判定値を超えた場合、前記開閉体による挟み込みが生じていると判定する判定部、
前記判定部によって前記挟み込みが生じていると判定された場合、前記開閉体が挟み込み防止動作を行うように、前記モータを制御するモータ制御部、および、
前記モータの起動直後の所定の判定期間の間、前記第1の算出値が単調増加している場合、前記判定値を高める判定値調整部
として機能させるためのプログラム。
It is a program that controls the opening and closing operation of the opening and closing body by driving the motor.
Computer,
The first calculated value proportional to the angular acceleration of the motor, the second calculated value proportional to the torque of the motor, the first calculated value, and the first calculated value when the opening / closing body performs the opening / closing operation. A load calculation unit that calculates a third calculated value proportional to the load of the motor obtained by adding the calculated values of 2.
When the third calculated value calculated by the load calculation unit exceeds a predetermined determination value, the determination unit for determining that pinching by the opening / closing body has occurred.
When the determination unit determines that the pinching has occurred, the motor control unit that controls the motor so that the opening / closing body performs the pinching prevention operation, and
A program for functioning as a determination value adjusting unit for increasing the determination value when the first calculated value is monotonically increasing during a predetermined determination period immediately after the motor is started.
JP2018177355A 2018-09-21 2018-09-21 Open / close control device, open / close control system, open / close control method, and program Active JP7022672B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018177355A JP7022672B2 (en) 2018-09-21 2018-09-21 Open / close control device, open / close control system, open / close control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018177355A JP7022672B2 (en) 2018-09-21 2018-09-21 Open / close control device, open / close control system, open / close control method, and program

Publications (2)

Publication Number Publication Date
JP2020045745A JP2020045745A (en) 2020-03-26
JP7022672B2 true JP7022672B2 (en) 2022-02-18

Family

ID=69899443

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018177355A Active JP7022672B2 (en) 2018-09-21 2018-09-21 Open / close control device, open / close control system, open / close control method, and program

Country Status (1)

Country Link
JP (1) JP7022672B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002295128A (en) 2001-03-30 2002-10-09 Mitsuba Corp Insertion decision controlling method for opening/closing body
US20030006728A1 (en) 2000-06-14 2003-01-09 Klaus Spreng Method ofr controlling the displacement of a part, displaced by an electromotor, of a closure device in a motor vehicle
JP2018003426A (en) 2016-07-01 2018-01-11 アルプス電気株式会社 Opening/closing controller
JP2018009316A (en) 2016-07-12 2018-01-18 アスモ株式会社 Opening and closing member drive unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2588835Y2 (en) * 1992-06-02 1999-01-20 株式会社小糸製作所 Power window safety device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030006728A1 (en) 2000-06-14 2003-01-09 Klaus Spreng Method ofr controlling the displacement of a part, displaced by an electromotor, of a closure device in a motor vehicle
JP2002295128A (en) 2001-03-30 2002-10-09 Mitsuba Corp Insertion decision controlling method for opening/closing body
JP2018003426A (en) 2016-07-01 2018-01-11 アルプス電気株式会社 Opening/closing controller
JP2018009316A (en) 2016-07-12 2018-01-18 アスモ株式会社 Opening and closing member drive unit

Also Published As

Publication number Publication date
JP2020045745A (en) 2020-03-26

Similar Documents

Publication Publication Date Title
EP0945953B1 (en) Method of detecting pinching of object of power window apparatus
US20220090431A1 (en) Open/close control device, open/close control system, open/close control method, and program
EP3263817A1 (en) Opening/closing control device
JP4896471B2 (en) Opening / closing member control device and pinching detection method
DE10024382A1 (en) Window lifter control device
DE10329103B4 (en) Clamp detecting device of an opening / closing element
US6580242B2 (en) Entrapment detection device of opening/closing member
US7714526B2 (en) Control device for a closure member of a vehicle
EP3263814B1 (en) Opening/closing control device
JP7022672B2 (en) Open / close control device, open / close control system, open / close control method, and program
JP7326131B2 (en) opening and closing system
JP3528503B2 (en) Motor control device for opening and closing mechanism
JP7496771B2 (en) Switching control device and switching control method
JP2002106256A (en) Detector for detecting catching/non-catching in window glass
JP2004242425A (en) Load detection device for dc motor
JP2954471B2 (en) Opening / closing body opening / closing control method
JP7198680B2 (en) Power window control system, control method, and program
JP3687532B2 (en) Open / close control device
JP4485782B2 (en) Power window equipment
JP2010110171A (en) Motor control apparatus and motor apparatus
JPH11241561A (en) Device for detecting foreign matter caught by opening/ closing member
JP2006217697A (en) Speed controller for motor
JPH08157168A (en) Door control device of elevator
JPH08199903A (en) Device for detecting catching of foreign matter in power window
JP2003003751A (en) Clipping detector for open-close body

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210409

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220125

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220207

R150 Certificate of patent or registration of utility model

Ref document number: 7022672

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150