JP2007016463A - Opening-closing control device - Google Patents

Opening-closing control device Download PDF

Info

Publication number
JP2007016463A
JP2007016463A JP2005198498A JP2005198498A JP2007016463A JP 2007016463 A JP2007016463 A JP 2007016463A JP 2005198498 A JP2005198498 A JP 2005198498A JP 2005198498 A JP2005198498 A JP 2005198498A JP 2007016463 A JP2007016463 A JP 2007016463A
Authority
JP
Japan
Prior art keywords
acceleration
opening
switch
window
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005198498A
Other languages
Japanese (ja)
Other versions
JP4664134B2 (en
Inventor
Yoshimi Kanda
好美 神田
Tomohiro Takahashi
智宏 高橋
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2005198498A priority Critical patent/JP4664134B2/en
Publication of JP2007016463A publication Critical patent/JP2007016463A/en
Application granted granted Critical
Publication of JP4664134B2 publication Critical patent/JP4664134B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an opening-closing control device capable of preventing an erroneous determination of nipping by a simple means even if a vibration period and a motor rotating period are not synchronized. <P>SOLUTION: ON/OFF of a switch 82b is controlled by arranging a zero cross detecting part 84 outputting a zero cross signal in the predetermined timing when a value of acceleration detected by an acceleration sensor exists in the vicinity of zero. When the acceleration sensor 7 detects the acceleration of a predetermined value or more, a speed value detected by a rotating speed detecting part 81 is imparted to a variation calculating part 83 via the switches 82a and 82b at the time when the switch 82b is turned on by the zero cross signal. The variation calculating part 83 calculates a variation in a rotating speed by using this speed value, and a nipping determining part 85 determines the nipping by comparing this variation with a threshold value. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、車両などの窓を開閉制御する開閉制御装置に関するものである。   The present invention relates to an opening / closing control device that controls opening / closing of a window of a vehicle or the like.

自動車に用いられる窓開閉制御装置(以下、「パワーウィンドウ装置」という。)は、スイッチの操作によりモータを正転または逆転させてドアの窓ガラスを昇降させ、窓を開閉する装置である。図1は、パワーウィンドウ装置の電気的構成を示したブロック図である。1は窓の開閉を操作するための操作スイッチ、2はモータ3を駆動するモータ駆動回路、4はモータ3の回転に同期したパルスを出力するロータリエンコーダ、5はロータリエンコーダ4から出力されるパルスを検出するパルス検出回路、6はROMやRAM等から構成されるメモリ、7は車体に加わる振動や衝撃による加速度を検出する加速度センサ、8は窓の開閉動作を制御するCPUからなる制御部である。   BACKGROUND ART A window opening / closing control device (hereinafter referred to as “power window device”) used in an automobile is a device that opens and closes a window by moving a motor forward or backward by operating a switch to raise and lower a window glass of a door. FIG. 1 is a block diagram showing an electrical configuration of the power window device. 1 is an operation switch for opening and closing the window, 2 is a motor drive circuit for driving the motor 3, 4 is a rotary encoder that outputs a pulse synchronized with the rotation of the motor 3, and 5 is a pulse output from the rotary encoder 4. 6 is a memory composed of ROM, RAM, etc., 7 is an acceleration sensor for detecting acceleration due to vibration or impact applied to the vehicle body, and 8 is a control unit comprising a CPU for controlling the opening / closing operation of the window. is there.

操作スイッチ1を操作すると、制御部8に窓開閉指令が与えられ、モータ駆動回路2によりモータ3が正転または逆転する。モータ3の回転により、モータ3と連動する窓開閉機構が作動して窓の開閉が行われる。パルス検出回路5はロータリエンコーダ4から出力されるパルスを検出し、制御部8はこの検出結果に基づき窓の開閉量やモータ速度を算出して、モータ駆動回路2を介してモータ3の回転を制御する。   When the operation switch 1 is operated, a window opening / closing command is given to the control unit 8, and the motor 3 is rotated forward or backward by the motor drive circuit 2. By the rotation of the motor 3, the window opening / closing mechanism interlocked with the motor 3 is operated to open / close the window. The pulse detection circuit 5 detects the pulse output from the rotary encoder 4, and the control unit 8 calculates the opening / closing amount of the window and the motor speed based on the detection result, and rotates the motor 3 via the motor drive circuit 2. Control.

図2は、操作スイッチ1の一例を示した概略構成図である。操作スイッチ1は、軸Qを中心としてab方向に回転可能な操作ノブ11と、この操作ノブ11と一体に設けられたロッド12と、公知のスライドスイッチ13とから構成される。14はスライドスイッチ13のアクチュエータ、20は操作スイッチ1が組み込まれるスイッチユニットのカバーである。ロッド12の下端は、スライドスイッチ13のアクチュエータ14と係合しており、操作ノブ11がab方向に回転すると、ロッド12を介してアクチュエータ14がcd方向に移動し、その移動位置に応じてスライドスイッチ13の接点(図示省略)が切り換えられる。   FIG. 2 is a schematic configuration diagram illustrating an example of the operation switch 1. The operation switch 1 includes an operation knob 11 that can rotate in the ab direction around the axis Q, a rod 12 that is provided integrally with the operation knob 11, and a known slide switch 13. Reference numeral 14 denotes an actuator of the slide switch 13, and 20 denotes a cover of a switch unit in which the operation switch 1 is incorporated. The lower end of the rod 12 is engaged with the actuator 14 of the slide switch 13, and when the operation knob 11 rotates in the ab direction, the actuator 14 moves in the cd direction via the rod 12, and slides according to the moving position. A contact (not shown) of the switch 13 is switched.

操作ノブ11は、オート閉AC、マニュアル閉MC、中立N、マニュアル開MO、オート開AOの各位置へ切換可能となっている。図2は、操作ノブ11が中立Nの位置にある状態を示している。この位置から操作ノブ11をa方向に一定量回転させて、マニュアル閉MCの位置にすると、マニュアル動作で窓が閉じるマニュアル閉動作が行われ、この位置よりさらにa方向に操作ノブ11を回転させてオート閉ACの位置にすると、オート動作で窓が閉じるオート閉動作が行われる。また、操作ノブ11を中立Nの位置からb方向に一定量回転させて、マニュアル開MOの位置にすると、マニュアル動作で窓が開くマニュアル開動作が行われ、この位置よりさらにb方向に操作ノブ11を回転させてオート開AOの位置にすると、オート動作で窓が開くオート開動作が行われる。操作ノブ11には、図示しないバネが設けられており、回転した操作ノブ11から手を離すと、操作ノブ11はバネの力により中立Nの位置に復帰する。   The operation knob 11 can be switched to each position of auto close AC, manual close MC, neutral N, manual open MO, and auto open AO. FIG. 2 shows a state in which the operation knob 11 is in the neutral N position. When the operation knob 11 is rotated by a certain amount in the direction a from this position to the manual closing MC position, a manual closing operation for closing the window is performed manually, and the operation knob 11 is further rotated in the direction a from this position. When the auto-close AC position is set, the auto-close operation is performed to close the window by the auto-operation. Further, when the operation knob 11 is rotated by a certain amount in the b direction from the neutral N position to the manual opening MO position, a manual opening operation is performed in which the window is opened manually, and the operation knob is further moved in the b direction from this position. When 11 is rotated to the auto-open AO position, an auto-open operation is performed in which the window is opened by auto operation. The operation knob 11 is provided with a spring (not shown), and when the hand is released from the rotated operation knob 11, the operation knob 11 returns to the neutral N position by the force of the spring.

マニュアル動作の場合は、操作ノブ11がマニュアル閉MCまたはマニュアル開MOの位置に手で保持され続ける間だけ、窓を閉じる動作または開ける動作が行われ、操作ノブ11から手を離してノブが中立Nの位置に復帰すると、窓の閉動作または開動作は停止する。一方、オート動作の場合は、一旦、操作ノブ11がオート閉ACまたはオート開AOの位置まで回転されると、その後は操作ノブ11から手を離してノブが中立Nの位置に復帰しても、窓の閉動作または開動作が継続して行われる。   In the case of manual operation, the operation of closing or opening the window is performed only while the operation knob 11 is held by hand in the position of manual closing MC or manual opening MO, and the knob is neutral by releasing the hand from the operation knob 11. When returning to the N position, the window closing or opening operation stops. On the other hand, in the case of the automatic operation, once the operation knob 11 is rotated to the position of the auto-close AC or auto-open AO, after that, the hand is released from the operation knob 11 and the knob returns to the neutral N position. The window closing operation or opening operation is continuously performed.

図3は、車両の各窓に設けられる窓開閉機構の一例を示した図である。100は自動車の窓、101は窓100を開閉する窓ガラス、102は窓開閉機構である。窓ガラス101は、窓開閉機構102の作動により昇降動作を行い、窓ガラス101の上昇により窓100が閉じ、窓ガラス101の下降により窓100が開く。窓開閉機構102において、103は窓ガラス101の下端に取り付けられた支持部材である。104は一端が支持部材103に係合され、他端がブラケット106に回転可能に支持された第1アーム、105は一端が支持部材103に係合され、他端がガイド部材107に係合された第2アームである。第1アーム104と第2アーム105とは、それぞれの中間部において軸を介して連結されている。3は前述のモータ、4は前述のロータリエンコーダである。ロータリエンコーダ4はモータ3の回転軸に連結されており、モータ3の回転量に比例した数のパルスを出力する。所定時間内にロータリエンコーダ4から出力されるパルスを計数することにより、モータ3の回転速度を検出することができる。また、ロータリエンコーダ4の出力から、モータ3の回転量(窓ガラス101の移動量)を算出することができる。   FIG. 3 is a view showing an example of a window opening / closing mechanism provided in each window of the vehicle. Reference numeral 100 denotes an automobile window, 101 denotes a window glass for opening and closing the window 100, and 102 denotes a window opening / closing mechanism. The window glass 101 moves up and down by the operation of the window opening / closing mechanism 102, the window 100 is closed when the window glass 101 is raised, and the window 100 is opened when the window glass 101 is lowered. In the window opening / closing mechanism 102, 103 is a support member attached to the lower end of the window glass 101. 104 is a first arm whose one end is engaged with the support member 103, and the other end is rotatably supported by the bracket 106. 105 is one end engaged with the support member 103, and the other end is engaged with the guide member 107. Second arm. The 1st arm 104 and the 2nd arm 105 are connected via the axis | shaft in each intermediate part. 3 is the motor described above, and 4 is the rotary encoder described above. The rotary encoder 4 is connected to the rotating shaft of the motor 3 and outputs a number of pulses proportional to the amount of rotation of the motor 3. The rotational speed of the motor 3 can be detected by counting the pulses output from the rotary encoder 4 within a predetermined time. Further, the amount of rotation of the motor 3 (the amount of movement of the window glass 101) can be calculated from the output of the rotary encoder 4.

109はモータ3により回転駆動されるピニオン、110はピニオン109と噛合して回転する扇形のギヤである。ギヤ110は、第1アーム104に固定されている。モータ3は正逆方向に回転可能であり、正逆方向への回転によりピニオン109およびギヤ110を回転させて、第1アーム104を正逆方向へ回動させる。これに追随して、第2アーム105の他端がガイド部材107の溝に沿って横方向にスライドし、支持部材103が上下方向に移動して窓ガラス101を昇降させ、窓100を開閉する。   Reference numeral 109 denotes a pinion that is rotationally driven by the motor 3, and 110 denotes a fan-shaped gear that meshes with the pinion 109 and rotates. The gear 110 is fixed to the first arm 104. The motor 3 can rotate in the forward and reverse directions, and rotates the pinion 109 and the gear 110 by rotating in the forward and reverse directions to rotate the first arm 104 in the forward and reverse directions. Following this, the other end of the second arm 105 slides laterally along the groove of the guide member 107, and the support member 103 moves up and down to raise and lower the window glass 101, thereby opening and closing the window 100. .

以上のようなパワーウィンドウ装置において、操作ノブ11が図2のオート閉ACの位置にあってオート閉動作が行われる場合は、物体の挟み込みを検出する機能が備わっている。すなわち、図4に示したように、窓100が閉まる途中で窓ガラス101の隙間に物体Zが挟み込まれた場合、これを検知して窓100の閉動作を停止したり、開動作へ切り換えるようになっている。オート閉動作中は窓100が自動的に閉じるため、誤って手や首などが挟まれた場合に、閉動作を禁止して人体に危害が加わるのを防止する必要性から、このような挟み込み検出機能が設けられる。挟み込みの検出にあたっては、パルス検出回路5の出力であるモータ3の回転速度を制御部8が随時読み込み、現在の回転速度と以前の回転速度とを比較して、その比較結果に基づいて挟み込みの有無を判定する。窓100に物体Zの挟み込みが発生すると、モータ3の負荷が増大して回転速度が低下するため、速度の変動量が大きくなり、この速度変動量が所定の閾値を超えたときに、物体Zが挟み込まれたと判定する。閾値はメモリ6にあらかじめ記憶されている。   In the power window device as described above, when the operation knob 11 is at the position of the automatic closing AC in FIG. 2 and the automatic closing operation is performed, a function of detecting the object pinching is provided. That is, as shown in FIG. 4, when the object Z is caught in the gap between the window glasses 101 while the window 100 is closed, this is detected and the closing operation of the window 100 is stopped or switched to the opening operation. It has become. Since the window 100 automatically closes during automatic closing, it is necessary to prevent the human body from being harmed by prohibiting the closing when a hand or neck is accidentally pinched. A detection function is provided. In detecting pinching, the control unit 8 reads the rotation speed of the motor 3 that is the output of the pulse detection circuit 5 as needed, compares the current rotation speed with the previous rotation speed, and determines the pinching based on the comparison result. Determine presence or absence. When the object Z is caught in the window 100, the load on the motor 3 increases and the rotational speed decreases, so that the speed fluctuation amount increases, and when the speed fluctuation quantity exceeds a predetermined threshold, the object Z Is determined to have been sandwiched. The threshold value is stored in the memory 6 in advance.

ところで、モータ3の回転速度の変動は、異物の挟み込みだけではなく、ドアを閉じたときの振動や悪路を走行したときの振動などによっても発生する。そして、このような振動により回転速度が変動すると、異物が挟み込まれていないにもかかわらず、異物が挟み込まれたと誤判定して窓が開いてしまうことが起こりうる。   By the way, the fluctuation of the rotation speed of the motor 3 occurs not only due to the foreign object being caught, but also due to vibration when the door is closed or vibration when traveling on a rough road. When the rotational speed fluctuates due to such vibrations, it may happen that the foreign object is erroneously determined to be opened and the window is opened even though the foreign object is not interposed.

この対策として、下記の特許文献1では、窓ガラスに加わる加速度を検出する加速度センサを設け、この加速度センサが検出した加速度に基づいて、当該加速度の発生に伴って生ずるモータ負荷を加算した判定値(閾値)を演算し、この判定値を用いて挟み込み判定を行なうことで、加速度による負荷の影響を除去して誤判定を防止するようにしたパワーウィンドウ装置が提案されている。加速度センサで加速度を検出することにより、挟み込みの判定条件を変更して誤判定を防止する技術は、特許文献2や特許文献3にも記載されている。
特開平9−224388号公報 特開平7−293113号公報 特開2002−144864号公報
As a countermeasure against this, in Patent Document 1 below, an acceleration sensor that detects acceleration applied to the window glass is provided, and a determination value obtained by adding a motor load generated with the generation of the acceleration based on the acceleration detected by the acceleration sensor. There has been proposed a power window device in which (threshold) is calculated and pinching determination is performed using this determination value, thereby eliminating the influence of load due to acceleration and preventing erroneous determination. Patent Document 2 and Patent Document 3 also describe techniques for preventing erroneous determination by changing the pinching determination condition by detecting acceleration with an acceleration sensor.
Japanese Patent Laid-Open No. 9-224388 JP 7-293113 A JP 2002-144864 A

上述したような加速度センサは、ドアを閉じたときや悪路を走行したときに発生する窓ガラスの振動に基づいて加速度を検出する。したがって、特許文献1のパワーウィンドウ装置において、加速度による負荷の影響を除去するためには、振動の周期とモータの回転周期(パルス周期)との間で同期がとれていることが必要となる。しかしながら、振動の態様は千差万別であることから、振動が発生した場合にモータの回転数がどのように変化するかはケースバイケースであり、例えば、振動が発生してからモータの回転数が変化するまでの時間なども、そのときの状況に応じて変化する。したがって、振動周期とモータ回転周期との同期をとることは極めて困難であり、加速度に基因する負荷の影響を除去することができずに、挟み込みの誤判定が生じる場合がある。また、特許文献1の方法によると、判定値を求めるにあたって複雑な演算処理が必要となる。このような問題に対する対策については、特許文献2および特許文献3にも記載がない。   The acceleration sensor as described above detects acceleration based on the vibration of the window glass that occurs when the door is closed or the vehicle travels on a rough road. Therefore, in the power window device of Patent Document 1, in order to remove the influence of the load due to acceleration, it is necessary to synchronize between the vibration period and the motor rotation period (pulse period). However, since the vibration modes are various, how the motor rotation speed changes when vibration occurs is case by case. For example, the rotation of the motor after the vibration occurs. The time until the number changes also changes according to the situation at that time. Therefore, it is extremely difficult to synchronize the vibration cycle and the motor rotation cycle, and the influence of the load caused by the acceleration cannot be removed, and an erroneous determination of pinching may occur. Further, according to the method of Patent Document 1, complicated calculation processing is required to obtain the determination value. No countermeasures against such a problem are described in Patent Document 2 and Patent Document 3.

そこで、本発明の課題は、振動周期とモータ回転周期との同期をとらなくても、簡単な手段によって挟み込みの誤判定を防止できる開閉制御装置を提供することにある。   Accordingly, an object of the present invention is to provide an open / close control device that can prevent erroneous determination of pinching by simple means without synchronizing the vibration cycle and the motor rotation cycle.

本発明では、開閉体を開閉するためのモータの回転速度を検出する検出手段と、この検出手段で検出された回転速度の変化量に基づき、開閉体に異物が挟み込まれたか否かを判定する判定手段と、この判定手段の判定結果に応じてモータを制御する制御手段と、開閉体に加わる加速度を検出する加速度センサとを有する開閉制御装置において、加速度センサが検出した加速度の値がゼロ近傍にある場合に、所定のタイミングでモータの回転速度の変化量を抽出する抽出手段を設ける。そして、判定手段は、上記抽出手段で抽出された回転速度の変化量に基づいて、挟み込みの判定を行なう。   In the present invention, detection means for detecting the rotational speed of a motor for opening and closing the opening / closing body and whether or not a foreign object has been caught in the opening / closing body are determined based on the amount of change in the rotational speed detected by the detection means. In an opening / closing control device having a determination means, a control means for controlling a motor according to a determination result of the determination means, and an acceleration sensor for detecting an acceleration applied to the opening / closing body, an acceleration value detected by the acceleration sensor is near zero In this case, there is provided an extracting means for extracting the amount of change in the rotational speed of the motor at a predetermined timing. Then, the determining means determines the pinching based on the amount of change in the rotational speed extracted by the extracting means.

モータの回転速度は、モータの回転に同期して発生するパルスの一定時間内の数を計数することで検出してもよいし、当該パルスの周期を測定することにより検出してもよい。回転速度の変化量は、現在の回転速度と過去の回転速度との差であってもよいし、過去の回転速度に対する現在の回転速度の変動率であってもよい。挟み込みが検出された場合のモータの制御方法としては、モータを逆転させて窓を開いてもよいし、モータを停止させて窓が閉じるのを禁止してもよい。あるいは、一旦モータを停止させて窓が閉じるのを禁止した後、モータを逆転させて窓を開いてもよい。加速度値がゼロ近傍であるか否かは、閾値を設定することで判別することができる。例えば、加速度値に対して+側と−側に閾値を設定し、両閾値の間の領域をゼロ近傍として扱うことにより、加速度値が当該領域内にあればゼロ近傍と判別し、当該領域内になければゼロ近傍ではないと判別することができる。加速度値がゼロ近傍にある場合に、モータの回転速度の変化量を抽出するタイミングは、回転速度が加速度より遅れて変動することから、加速度値がゼロ近傍になった時点より一定時間遅延させるのが好ましいが、加速度値がゼロ近傍になった時点での回転速度の変化量を抽出するようにしてもよい。   The rotation speed of the motor may be detected by counting the number of pulses generated in synchronization with the rotation of the motor within a certain time, or may be detected by measuring the period of the pulse. The change amount of the rotational speed may be a difference between the current rotational speed and the past rotational speed, or may be a variation rate of the current rotational speed with respect to the past rotational speed. As a method for controlling the motor when pinching is detected, the motor may be rotated in reverse to open the window, or the motor may be stopped and the window may be prohibited from closing. Alternatively, once the motor is stopped and the window is prohibited from closing, the window may be opened by reversing the motor. Whether or not the acceleration value is near zero can be determined by setting a threshold value. For example, by setting threshold values on the + side and − side with respect to the acceleration value and treating the area between both threshold values as near zero, if the acceleration value is within the area, it is determined that the area is near zero. If not, it can be determined that it is not near zero. When the acceleration value is near zero, the timing for extracting the amount of change in the rotation speed of the motor is delayed by a certain time from the time when the acceleration value becomes near zero because the rotation speed fluctuates behind the acceleration. However, it is also possible to extract the amount of change in the rotational speed when the acceleration value becomes near zero.

本発明では、加速度がゼロ近傍になったことに応じて回転速度の変化量を抽出し、これに基づいて挟み込みを判定するので、加速度が大きいときの回転速度の変動は無視される。このため、ドアを閉じたときや悪路を走行したときなどに発生する振動に基因してモータの速度が大きく変動しても、挟み込み判定に用いる速度変化量は小さな値となり、閾値を超えることがない。このため、振動周期とモータ回転周期との同期をとらなくても、また、判定値(閾値)を求めるために複雑な演算処理を行なわなくても、挟み込みの誤判定を防止することができる。   In the present invention, the amount of change in the rotational speed is extracted in accordance with the acceleration being close to zero, and the pinching is determined based on this, so fluctuations in the rotational speed when the acceleration is large are ignored. For this reason, even if the motor speed fluctuates greatly due to vibrations that occur when the door is closed or when driving on rough roads, the speed change amount used for pinching determination becomes a small value that exceeds the threshold value. There is no. For this reason, erroneous determination of pinching can be prevented without synchronizing the vibration period and the motor rotation period, or without performing complicated calculation processing to obtain a determination value (threshold value).

また、本発明では、モータの回転速度を検出する代わりに、開閉体の移動量を検出することによっても、同様の機能を得ることができる。この場合、検出手段は、モータの回転速度に代えて開閉体の移動量を検出し、抽出手段は、加速度センサが検出した加速度の値がゼロ近傍にある場合に、所定のタイミングで開閉体の移動量の変化量を抽出する。そして、判定手段は、抽出手段で抽出された移動量の変化量に基づいて、挟み込みの判定を行なう。   In the present invention, the same function can be obtained by detecting the moving amount of the opening / closing body instead of detecting the rotational speed of the motor. In this case, the detection means detects the movement amount of the opening / closing body instead of the rotation speed of the motor, and the extraction means detects the opening / closing body at a predetermined timing when the acceleration value detected by the acceleration sensor is near zero. Extract the amount of movement change. Then, the determination unit determines the pinching based on the change amount of the movement amount extracted by the extraction unit.

本発明によれば、振動周期とモータ回転周期との同期をとらなくても、簡単な手段によって振動による挟み込みの誤判定を防止することが可能となる。   According to the present invention, it is possible to prevent erroneous determination of pinching due to vibration by simple means without synchronizing the vibration period and the motor rotation period.

次に、本発明の実施形態につき図を参照して説明する。以下では、背景技術の項で説明した図1〜図4を本発明の実施形態として引用する。図1は、本発明の実施形態であるパワーウィンドウ装置の電気的構成を示したブロック図である。制御部8は、本発明における制御手段を構成している。図2は、操作スイッチの一例を示した概略構成図である。図3は、車両の各窓に設けられる窓開閉機構の一例を示した図である。図4は、図3において窓に物体が挟み込まれた状態を示す図である。これらの各図についてはすでに説明済みなので、ここでは重複説明を省略する。   Next, an embodiment of the present invention will be described with reference to the drawings. In the following, FIGS. 1 to 4 described in the background art section are cited as embodiments of the present invention. FIG. 1 is a block diagram showing an electrical configuration of a power window device according to an embodiment of the present invention. The control unit 8 constitutes a control means in the present invention. FIG. 2 is a schematic configuration diagram illustrating an example of the operation switch. FIG. 3 is a view showing an example of a window opening / closing mechanism provided in each window of the vehicle. FIG. 4 is a diagram showing a state where an object is sandwiched in the window in FIG. Since each of these figures has already been described, redundant description is omitted here.

図5は、本発明の第1実施形態における挟み込み検出ブロックを示している。この挟み込み検出ブロックは、制御部8に備わるものであって、ここでは、便宜上ハードウェアの回路として図示してあるが、実際には各回路の機能はソフトウェアによって実現される。勿論、ハードウェア回路により挟み込み検出ブロックを構成してもよい。後述する第2実施形態以下の実施形態においても同様である。   FIG. 5 shows a pinching detection block in the first embodiment of the present invention. This pinching detection block is provided in the control unit 8 and is shown here as a hardware circuit for convenience, but in practice the function of each circuit is realized by software. Of course, the pinch detection block may be configured by a hardware circuit. The same applies to the second and subsequent embodiments described later.

図5において、81は、モータ3の回転速度を検出する回転速度検出部であって、図1のパルス検出回路5から出力されるパルスの数や周期を計数することによって、回転速度を検出する。この回転速度検出部81は、本発明における検出手段を構成している。82aは、回転速度検出部81と変化量算出部83との間に設けられたスイッチであって、加速度センサ7の出力に応じて、回転速度検出部81の出力を、変化量算出部83側とスイッチ82b側とに切り替えて出力する。スイッチ82bは、スイッチ82aと変化量算出部83との間に設けられていて、ゼロクロス検出部84からのゼロクロス信号によりON/OFFする。変化量算出部83は、回転速度検出部81の出力に基づいて、回転速度の変化量を算出する。ゼロクロス検出部84は、加速度センサ7の出力する加速度の値がゼロ近傍であることを検出したときに、所定のタイミングだけ遅れてゼロクロス信号を出力する。スイッチ82a,82bと変化量算出部83とゼロクロス検出部84とは、本発明における抽出手段を構成している。挟み込み判定部85は、変化量算出部83から出力される速度変化量と、メモリ6(図1)に記憶されている所定の閾値とを比較し、速度変化量が閾値以上か否かによって挟み込みがあったか否かを判定し、挟み込みの有無に応じた制御信号をモータ駆動回路2へ出力する。この挟み込み判定部85は、本発明における判定手段を構成している。   In FIG. 5, reference numeral 81 denotes a rotation speed detection unit that detects the rotation speed of the motor 3, and detects the rotation speed by counting the number and period of pulses output from the pulse detection circuit 5 of FIG. . The rotational speed detector 81 constitutes a detecting means in the present invention. 82 a is a switch provided between the rotation speed detection unit 81 and the change amount calculation unit 83, and the output of the rotation speed detection unit 81 is changed to the change amount calculation unit 83 side according to the output of the acceleration sensor 7. And switch to the switch 82b side for output. The switch 82 b is provided between the switch 82 a and the change amount calculation unit 83 and is turned ON / OFF by a zero cross signal from the zero cross detection unit 84. The change amount calculation unit 83 calculates the change amount of the rotation speed based on the output of the rotation speed detection unit 81. When detecting that the acceleration value output from the acceleration sensor 7 is near zero, the zero-cross detection unit 84 outputs a zero-cross signal with a delay of a predetermined timing. The switches 82a and 82b, the change amount calculation unit 83, and the zero cross detection unit 84 constitute extraction means in the present invention. The pinching determination unit 85 compares the speed change amount output from the change amount calculation unit 83 with a predetermined threshold value stored in the memory 6 (FIG. 1), and pinches depending on whether the speed change amount is equal to or greater than the threshold value. Is determined, and a control signal corresponding to the presence or absence of pinching is output to the motor drive circuit 2. This pinching determination unit 85 constitutes a determination unit in the present invention.

スイッチ82aは、加速度センサ7の出力により切り替えられる。加速度センサ7が所定値以上の加速度を検出していない場合は、スイッチ82aの接点は図の実線位置にあり、回転速度検出部81の出力は、スイッチ82aを介してそのまま変化量算出部83へ与えられる。また、加速度センサ7が所定値以上の加速度を検出した場合は、スイッチ82aの接点は図の破線位置に切り替わり、回転速度検出部81の出力は、スイッチ82bに与えられる。スイッチ82bは、ゼロクロス検出部84の出力により切り替えられる。ゼロクロス検出部84からゼロクロス信号が出力されない場合は、スイッチ82bの接点は図の実線位置にあって、スイッチ82bはOFF状態にある。このとき、加速度センサ7の出力によりスイッチ82aの接点が破線位置にあっても、スイッチ82bがOFF状態のため、回転速度検出部81の出力は変化量算出部83へ与えられない。 一方、ゼロクロス検出部84からゼロクロス信号が出力された場合は、スイッチ82の接点は図の破線位置に切り替わり、スイッチ82bはON状態となる。これにより、回転速度検出部81の出力は、スイッチ82a,82bを介して、変化量算出部83へ与えられる。   The switch 82a is switched by the output of the acceleration sensor 7. When the acceleration sensor 7 has not detected an acceleration greater than or equal to a predetermined value, the contact point of the switch 82a is at the solid line position in the figure, and the output of the rotational speed detection unit 81 is directly sent to the change amount calculation unit 83 via the switch 82a. Given. When the acceleration sensor 7 detects an acceleration equal to or higher than a predetermined value, the contact of the switch 82a is switched to the position of the broken line in the figure, and the output of the rotation speed detector 81 is given to the switch 82b. The switch 82b is switched by the output of the zero cross detector 84. When the zero-cross signal is not output from the zero-cross detector 84, the contact of the switch 82b is at the solid line position in the figure, and the switch 82b is in the OFF state. At this time, even if the contact of the switch 82a is at the position of the broken line due to the output of the acceleration sensor 7, the output of the rotational speed detection unit 81 is not given to the change amount calculation unit 83 because the switch 82b is in the OFF state. On the other hand, when a zero cross signal is output from the zero cross detector 84, the contact of the switch 82 is switched to the position of the broken line in the figure, and the switch 82b is turned on. Thereby, the output of the rotation speed detection unit 81 is given to the change amount calculation unit 83 via the switches 82a and 82b.

図6Aは、本発明におけるゼロクロスの動作を説明するタイムチャートである。加速度センサ7の出力波形は、例えば(b)のような振動波形となる。制御部8では、この加速度を、(a)で示す制御周期Tごとのタイミングで検出する。制御周期Tは、制御部8に備わる内部タイマのタイマ値で決まる。ゼロクロス検出部84には、加速度センサの出力に対して、(b)の破線で示したようなゼロクロス閾値K,−Kが設定されている。加速度値αが−K≦α≦Kの範囲にある場合は、加速度値αはゼロ近傍の値として取り扱われる。加速度値αがα<−KまたはK<αの範囲にある場合は、加速度値αはゼロ近傍の値として取り扱われない。(c)はゼロクロス検出部84から出力されるゼロクロス信号を示しており、これについては後述する。モータ3の回転速度は、(d)の破線のように加速度より時間的に遅れて変動する。なお、回転速度検出部81がロータリエンコーダ4の出力パルスの立上りまたは立下りに基づいて速度を検出する場合、回転速度が変動するとパルスの間隔や幅が不規則となるため、実際には、制御周期Tごとの全てのタイミングで速度が検出されるわけではないが、(d)では理解を容易にするために、全てのタイミングで速度が検出されるようにしてある。   FIG. 6A is a time chart for explaining the operation of zero crossing in the present invention. The output waveform of the acceleration sensor 7 is, for example, a vibration waveform as shown in (b). The control unit 8 detects this acceleration at a timing for each control cycle T shown in (a). The control period T is determined by the timer value of an internal timer provided in the control unit 8. In the zero-cross detection unit 84, zero-cross thresholds K and -K as shown by the broken line in (b) are set for the output of the acceleration sensor. When the acceleration value α is in a range of −K ≦ α ≦ K, the acceleration value α is handled as a value near zero. When the acceleration value α is in the range of α <−K or K <α, the acceleration value α is not handled as a value near zero. (C) has shown the zero cross signal output from the zero cross detection part 84, and this is mentioned later. The rotation speed of the motor 3 fluctuates with a time delay from the acceleration as shown by the broken line in (d). Note that when the rotational speed detection unit 81 detects the speed based on the rise or fall of the output pulse of the rotary encoder 4, the interval and width of the pulses become irregular when the rotational speed fluctuates. Although the speed is not detected at every timing for each period T, in (d), the speed is detected at every timing for easy understanding.

加速度値αがゼロ近傍の値であれば、図6A(c)に示すように、このときの時刻からT(制御周期)だけ遅れて、ゼロクロス検出部84からゼロクロス信号が出力される。このゼロクロス信号によりスイッチ82bがONとなり、回転速度検出部81で検出されたモータ3の回転速度が変化量算出部83に与えられる。図6A(d)では、このときの回転速度検出部81の検出速度を黒丸で示している。すなわち、この黒丸は、1つ前の時刻において加速度値がゼロ近傍であったことに基づいて抽出されるモータ3の回転速度であって、挟み込み検出に用いられる回転速度を表している。1つ前の時刻の加速度値を基準とするのは、前述のように、モータ3の回転速度が加速度より遅れて変動することによる。但し、これは1つの実施形態にすぎず、2つ前の時刻の加速度値を基準としてもよい。また、ゼロクロス信号に遅延時間を設けずに、加速度がゼロ近傍の値となった時刻でゼロクロス信号を出力し、当該時刻におけるモータ3の回転速度を抽出するようにしてもよい。変化量算出部83は、この黒丸の回転速度を取り込んで速度変動量を算出し、挟み込み判定部85は、この変動量に基づき前述の要領で挟み込みの判定を行う。   If the acceleration value α is a value near zero, as shown in FIG. 6A (c), a zero cross signal is output from the zero cross detector 84 with a delay of T (control cycle) from the time at this time. The switch 82 b is turned on by this zero cross signal, and the rotation speed of the motor 3 detected by the rotation speed detector 81 is given to the change amount calculator 83. In FIG. 6A (d), the detection speed of the rotation speed detection unit 81 at this time is indicated by a black circle. That is, this black circle represents the rotational speed of the motor 3 extracted based on the fact that the acceleration value was near zero at the previous time, and represents the rotational speed used for pinching detection. The reason why the acceleration value at the previous time is used as a reference is that the rotational speed of the motor 3 fluctuates behind the acceleration as described above. However, this is only one embodiment, and the acceleration value at the previous time may be used as a reference. Alternatively, without providing a delay time for the zero cross signal, the zero cross signal may be output at the time when the acceleration becomes a value near zero, and the rotational speed of the motor 3 at that time may be extracted. The change amount calculation unit 83 takes in the rotation speed of the black circles to calculate the speed fluctuation amount, and the pinching determination unit 85 determines pinching based on the fluctuation amount as described above.

一方、加速度値αがゼロ近傍の値でなければ、このときの時刻から時間Tが経過しても、ゼロクロス検出部84からゼロクロス信号が出力されないので、スイッチ82bがOFFとなり、回転速度検出部81で検出されたモータ3の回転速度は変化量算出部83に与えられない。図6A(d)では、このときの回転速度検出部81の検出速度を白丸で示している。すなわち、この白丸は、1つ前の時刻において加速度値がゼロ近傍でなかったことに基づいて無視されるモータ3の回転速度であって、挟み込み検出に用いられない回転速度を表している。   On the other hand, if the acceleration value α is not a value close to zero, the zero-cross signal is not output from the zero-cross detection unit 84 even if the time T has elapsed from this time, so that the switch 82b is turned off and the rotation speed detection unit 81 is turned off. The rotation speed of the motor 3 detected in (3) is not given to the change amount calculation unit 83. In FIG. 6A (d), the detection speed of the rotation speed detection unit 81 at this time is indicated by a white circle. That is, this white circle represents the rotational speed of the motor 3 that is ignored based on the fact that the acceleration value was not near zero at the previous time, and is not used for pinching detection.

図6A(d)からわかるように、ゼロ近傍にない加速度に対応するモータ3の回転速度(白丸)は、加速度の影響を受けて大きく変動するのに対し、ゼロ近傍にある加速度に対応するモータ3の回転速度(黒丸)は、加速度の影響を受けにくく変動が小さい。したがって、ゼロ近傍の加速度に対応する回転速度だけを抽出することによって、変動の大きい回転速度は無視され、変化量算出部83は、変動の少ない速度値に基づいて回転速度の変化量を算出する。この結果、変化量算出部83で算出される速度の変化量は小さな値となる。したがって、加速度によりモータ3の回転速度が大きく変動しても、挟み込み判定に用いられる速度変化量は小さいため、当該変化量が閾値を超えることはなく、これによって、加速度による回転速度の変動を挟み込みと誤判定するのを回避することができる。   As can be seen from FIG. 6A (d), the rotational speed (white circle) of the motor 3 corresponding to the acceleration not near zero fluctuates greatly due to the influence of the acceleration, whereas the motor corresponding to the acceleration near zero. The rotation speed 3 (black circle) is not easily affected by acceleration and has a small fluctuation. Therefore, by extracting only the rotation speed corresponding to the acceleration in the vicinity of zero, the rotation speed with a large fluctuation is ignored, and the change amount calculation unit 83 calculates the change amount of the rotation speed based on the speed value with a small fluctuation. . As a result, the speed change amount calculated by the change amount calculation unit 83 is a small value. Therefore, even if the rotation speed of the motor 3 fluctuates greatly due to acceleration, the amount of change in speed used for the pinching determination is small, so that the amount of change does not exceed the threshold value. Can be avoided.

図6Bは、回転速度の補間を行う場合のタイムチャートである。(a)〜(c)については、図6Aの場合と同じである、図6Bでは、(d)に示すように、白丸の回転速度の区間において、灰色の丸のような補間値を用いて、挟み込み判定を行う。各区間における補間値としては、例えば直前の回転速度(黒丸)の値が用いられる。このようにすることで、白丸の回転速度がすべて無視されても、挟み込み判定に用いられる回転速度が不連続とならないため、挟み込みの判定精度を向上させることができる。   FIG. 6B is a time chart when the rotation speed is interpolated. About (a)-(c), it is the same as that of the case of FIG. 6A. In FIG. 6B, as shown in (d), it uses the interpolation value like a gray circle in the area of the rotation speed of a white circle. Then, pinch determination is performed. As the interpolation value in each section, for example, the value of the immediately preceding rotation speed (black circle) is used. By doing in this way, even if all the rotation speeds of the white circles are ignored, the rotation speed used for pinching determination does not become discontinuous, so that pinching determination accuracy can be improved.

図7は、パワーウィンドウ装置の基本的な動作を示したフローチャートである。このフローチャートは、各実施形態に共通している。ステップS1で、操作スイッチ1がマニュアル閉MCの位置にあれば、マニュアル閉動作の処理が行われ(ステップS2)、ステップS3で、操作スイッチ1がオート閉ACの位置にあれば、オート閉動作の処理が行われ(ステップS4)、ステップS5で、操作スイッチ1がマニュアル開MOの位置にあれば、マニュアル開動作の処理が行われ(ステップS6)、ステップS7で、操作スイッチ1がオート開AOの位置にあれば、オート開動作の処理が行われる(ステップS8)。また、ステップS7で、操作スイッチ1がオート開AOの位置になければ、操作スイッチ1は中立Nの位置にあって、何も処理を行わない。ステップS2、S4、S6、S8の詳細については、以下に順を追って説明する。   FIG. 7 is a flowchart showing the basic operation of the power window device. This flowchart is common to each embodiment. If the operation switch 1 is in the manual closing MC position in step S1, the manual closing operation is performed (step S2). If the operation switch 1 is in the auto closing AC position in step S3, the automatic closing operation is performed. If the operation switch 1 is in the manual opening MO position in step S5, the manual opening operation is performed (step S6). In step S7, the operation switch 1 is automatically opened. If it is at the position of AO, an automatic opening operation process is performed (step S8). If the operation switch 1 is not in the auto-open AO position in step S7, the operation switch 1 is in the neutral N position and no processing is performed. Details of steps S2, S4, S6, and S8 will be described below in order.

図8および図9は、第1実施形態の動作を示したフローチャートである。図8は、図7のステップS2におけるマニュアル閉動作の詳細手順を表しており、図9は、図7のステップS4におけるオート閉動作の詳細手順を表している。   8 and 9 are flowcharts showing the operation of the first embodiment. FIG. 8 shows a detailed procedure of the manual closing operation in step S2 of FIG. 7, and FIG. 9 shows a detailed procedure of the automatic closing operation in step S4 of FIG.

まず、図8のマニュアル閉動作の手順について説明する。この手順は、制御部8を構成するCPUにより実行される。最初に、マニュアル閉動作により窓100が完全に閉じたか否かをロータリエンコーダ4の出力に基づいて判定する(ステップS11)。窓100が完全に閉じれば(ステップS11:YES)処理を終了し、完全に閉じてなければ(ステップS11:NO)、モータ駆動回路2から正転信号を出力してモータ3を正転させ、窓100を閉じる(ステップS12)。続いて、窓100が完全に閉じたか否かを判定し(ステップS13)、完全に閉じれば(ステップS13:YES)処理を終了し、完全に閉じてなければ(ステップS13:NO)、加速度センサ7が所定値以上の加速度を検出したか否かを判定する(ステップS14)。   First, the procedure of the manual closing operation in FIG. 8 will be described. This procedure is executed by the CPU constituting the control unit 8. First, it is determined based on the output of the rotary encoder 4 whether the window 100 is completely closed by the manual closing operation (step S11). If the window 100 is completely closed (step S11: YES), the process is terminated. If the window 100 is not completely closed (step S11: NO), a normal rotation signal is output from the motor drive circuit 2 to cause the motor 3 to rotate forward. The window 100 is closed (step S12). Subsequently, it is determined whether or not the window 100 is completely closed (step S13). If the window 100 is completely closed (step S13: YES), the process is terminated. If the window 100 is not completely closed (step S13: NO), the acceleration sensor It is determined whether or not the acceleration of 7 is greater than a predetermined value (step S14).

ステップS14において、加速度センサ7が所定値以上の加速度を検出していない場合は(ステップS14:NO)、ステップS16へ移行し、挟み込みを検出したか否かを判定する。このとき、スイッチ82aは実線位置にあるので、挟み込み判定部85は、回転速度検出部81で検出された速度値から変化量算出部83が算出した回転速度の変化量と、所定の閾値とを比較することにより、挟み込みの判定を行なう。   In step S14, when the acceleration sensor 7 has not detected an acceleration greater than or equal to a predetermined value (step S14: NO), the process proceeds to step S16, and it is determined whether pinching has been detected. At this time, since the switch 82a is at the solid line position, the pinch determination unit 85 determines the amount of change in the rotational speed calculated by the change amount calculation unit 83 from the speed value detected by the rotational speed detection unit 81 and a predetermined threshold value. A comparison is made to determine pinching.

ステップS14において、加速度センサ7が所定値以上の加速度を検出した場合は(ステップS14:YES)、図6Aで説明した原理に従い、加速度のゼロ近傍でモータ3の回転速度を抽出する(ステップS15)。このとき、スイッチ82aは破線位置にあり、また、スイッチ82bは加速度値がゼロ近傍になったことに基づいてONするので、回転速度検出部81で検出された回転速度のうち、図6A(d)の黒丸で示した回転速度だけが、変化量算出部83へ与えられる。その後、ステップS16へ移行して、挟み込みを検出したか否かを判定するが、前述のように黒丸の回転速度は変動が少ないため、変化量算出部83で算出される回転速度の変化量の値は小さく、閾値を超えないので、挟み込みがあったと誤判定することはない。   In step S14, when the acceleration sensor 7 detects an acceleration equal to or greater than a predetermined value (step S14: YES), the rotational speed of the motor 3 is extracted in the vicinity of zero acceleration according to the principle described in FIG. 6A (step S15). . At this time, the switch 82a is at the position of the broken line, and the switch 82b is turned on based on the fact that the acceleration value has become close to zero. Therefore, among the rotational speeds detected by the rotational speed detector 81, FIG. Only the rotation speed indicated by a black circle in () is given to the change amount calculation unit 83. Thereafter, the process proceeds to step S16 to determine whether or not pinching has been detected. However, as described above, since the rotation speed of the black circle is small, the change amount of the rotation speed calculated by the change amount calculation unit 83 is determined. Since the value is small and does not exceed the threshold value, it is not erroneously determined that there has been a pinch.

ステップS16において、図4で示したような物体Zの挟み込みがあった場合は(ステップS16:YES)、モータ駆動回路2から逆転信号を出力してモータ3を逆転させ、窓100を開く(ステップS17)。これによって、挟み込みが解除される。そして、窓100が完全に開いたか否かを判定し(ステップS18)、完全に開けば(ステップS18:YES)処理を終了し、完全に開いてなければ(ステップS18:NO)、ステップS17へ戻ってモータ3の逆転を継続する。   In step S16, when the object Z is caught as shown in FIG. 4 (step S16: YES), a reverse rotation signal is output from the motor drive circuit 2 to reverse the motor 3, and the window 100 is opened (step S16). S17). Thereby, the pinching is released. Then, it is determined whether or not the window 100 is completely opened (step S18). If the window 100 is completely opened (step S18: YES), the process is terminated. If not completely opened (step S18: NO), the process proceeds to step S17. Return to continue the reverse rotation of the motor 3.

ステップS16で挟み込みが検出されなかった場合は(ステップS16:NO)、操作スイッチ1がマニュアル閉MCの位置にあるか否かを判定する(ステップS19)。操作スイッチ1がマニュアル閉MCの位置にあれば(ステップS19:YES)、ステップS12へ戻ってモータ3の正転を継続し、マニュアル閉MCの位置になければ(ステップS19:NO)、オート閉ACの位置にあるか否かを判定する(ステップS20)。操作スイッチ1がオート閉ACの位置にあれば(ステップS20:YES)、後述(図9)のオート閉処理に移り(ステップS21)、オート閉ACの位置になければ(ステップS20:NO)、マニュアル開MOの位置にあるか否かを判定する(ステップS22)。操作スイッチ1がマニュアル開MOの位置にあれば(ステップS22:YES)、後述(図10)のマニュアル開処理に移り(ステップS23)、マニュアル開MOの位置になければ(ステップS22:NO)、オート開AOの位置にあるか否かを判定する(ステップS24)。操作スイッチ1がオート開AOの位置にあれば(ステップS24:YES)、後述(図11)のオート開処理に移り(ステップS25)、操作スイッチ1がオート開AOの位置になければ(ステップS24:NO)、何も処理せずに終了する。   If pinching is not detected in step S16 (step S16: NO), it is determined whether or not the operation switch 1 is in the manual closing MC position (step S19). If the operation switch 1 is in the manual closing MC position (step S19: YES), the process returns to step S12 to continue normal rotation of the motor 3, and if it is not in the manual closing MC position (step S19: NO), the automatic closing is performed. It is determined whether or not the position is AC (step S20). If the operation switch 1 is in the auto-closed AC position (step S20: YES), the process proceeds to an auto-close process described later (FIG. 9) (step S21). It is determined whether or not the position is the manual opening MO position (step S22). If the operation switch 1 is in the manual opening MO position (step S22: YES), the process proceeds to the manual opening process described later (FIG. 10) (step S23), and if it is not in the manual opening MO position (step S22: NO), It is determined whether or not the automatic open AO is in the position (step S24). If the operation switch 1 is in the auto-open AO position (step S24: YES), the process proceeds to an auto-open process described later (FIG. 11) (step S25). If the operation switch 1 is not in the auto-open AO position (step S24). : NO), the process ends without any processing.

次に、図9のオート閉動作の手順について説明する。この手順は、制御部8を構成するCPUにより実行される。最初に、オート閉動作により窓100が完全に閉じたか否かをロータリエンコーダ4の出力に基づいて判定する(ステップS31)。窓100が完全に閉じれば(ステップS31:YES)処理を終了し、完全に閉じてなければ(ステップS31:NO)、モータ駆動回路2へ正転信号を出力してモータ3を正転させ、窓100を閉じる(ステップS32)。続いて、窓100が完全に閉じたか否かを判定し(ステップS33)、完全に閉じれば(ステップS33:YES)処理を終了し、完全に閉じてなければ(ステップS33:NO)、加速度センサ7が所定値以上の加速度を検出したか否かを判定する(ステップS34)。   Next, the procedure of the automatic closing operation in FIG. 9 will be described. This procedure is executed by the CPU constituting the control unit 8. First, it is determined based on the output of the rotary encoder 4 whether or not the window 100 is completely closed by the automatic closing operation (step S31). If the window 100 is completely closed (step S31: YES), the process is terminated. If the window 100 is not completely closed (step S31: NO), a normal rotation signal is output to the motor drive circuit 2 to cause the motor 3 to perform normal rotation. The window 100 is closed (step S32). Subsequently, it is determined whether or not the window 100 is completely closed (step S33). If the window 100 is completely closed (step S33: YES), the process is terminated. If the window 100 is not completely closed (step S33: NO), the acceleration sensor is detected. It is determined whether or not the acceleration of 7 is greater than or equal to a predetermined value (step S34).

ステップS34において、加速度センサ7が所定値以上の加速度を検出していない場合は(ステップS34:NO)、ステップS36へ移行し、挟み込みを検出したか否かを判定する。このとき、スイッチ82aは実線位置にあるので、挟み込み判定部85は、回転速度検出部81で検出された速度値から変化量算出部83が算出した回転速度の変化量と、所定の閾値とを比較することにより、挟み込みの判定を行なう。   In step S34, when the acceleration sensor 7 has not detected an acceleration equal to or higher than the predetermined value (step S34: NO), the process proceeds to step S36, and it is determined whether pinching has been detected. At this time, since the switch 82a is at the solid line position, the pinch determination unit 85 determines the amount of change in the rotational speed calculated by the change amount calculation unit 83 from the speed value detected by the rotational speed detection unit 81 and a predetermined threshold value. A comparison is made to determine pinching.

ステップS34において、加速度センサ7が所定値以上の加速度を検出した場合は(ステップS34:YES)、図6Aで説明した原理に従い、加速度のゼロ近傍でモータ3の回転速度を抽出する(ステップS35)。このとき、スイッチ82aは破線位置にあり、また、スイッチ82bは加速度値がゼロ近傍になったことに基づいてONするので、回転速度検出部81で検出された回転速度のうち、図6A(d)の黒丸で示した回転速度だけが、変化量算出部83へ与えられる。その後、ステップS36へ移行して、挟み込みを検出したか否かを判定するが、前述のように黒丸の回転速度は変動が少ないため、変化量算出部83で算出される回転速度の変化量の値は小さく、閾値を超えないので、挟み込みがあったと誤判定することはない。   In step S34, when the acceleration sensor 7 detects an acceleration equal to or greater than a predetermined value (step S34: YES), the rotational speed of the motor 3 is extracted in the vicinity of zero acceleration according to the principle described in FIG. 6A (step S35). . At this time, the switch 82a is at the position of the broken line, and the switch 82b is turned on based on the fact that the acceleration value has become close to zero. Therefore, among the rotational speeds detected by the rotational speed detector 81, FIG. Only the rotation speed indicated by a black circle in () is given to the change amount calculation unit 83. Thereafter, the process proceeds to step S36, where it is determined whether pinching has been detected. As described above, since the rotation speed of the black circle is small, the change amount of the rotation speed calculated by the change amount calculation unit 83 is not detected. Since the value is small and does not exceed the threshold value, it is not erroneously determined that there has been a pinch.

ステップS36において、図4で示したような物体Zの挟み込みがあった場合は(ステップS36:YES)、モータ駆動回路2から逆転信号を出力してモータ3を逆転させ、窓100を開く(ステップS37)。これによって、挟み込みが解除される。そして、窓100が完全に開いたか否かを判定し(ステップS38)、完全に開けば(ステップS38:YES)処理を終了し、完全に開いてなければ(ステップS38:NO)、ステップS37へ戻ってモータ3の逆転を継続する。   In step S36, when the object Z is caught as shown in FIG. 4 (step S36: YES), a reverse rotation signal is output from the motor drive circuit 2 to reverse the motor 3, and the window 100 is opened (step S36). S37). Thereby, the pinching is released. Then, it is determined whether or not the window 100 is completely opened (step S38). If the window 100 is completely opened (step S38: YES), the process is terminated. If not completely opened (step S38: NO), the process proceeds to step S37. Return to continue the reverse rotation of the motor 3.

ステップS36で挟み込みが検出されなかった場合は(ステップS36:NO)、操作スイッチ1がマニュアル開MOの位置にあるか否かを判定する(ステップS39)。操作スイッチ1がマニュアル開MOの位置にあれば(ステップS39:YES)、後述(図10)のマニュアル開処理に移り(ステップS40)、マニュアル開MOの位置になければ(ステップS39:NO)、オート開AOの位置にあるか否かを判定する(ステップS41)。操作スイッチ1がオート開AOの位置にあれば(ステップS41:YES)、後述(図11)のオート開処理に移り(ステップS42)、操作スイッチ1がオート開AOの位置になければ(ステップS41:NO)、ステップS32へ戻ってモータ3の正転を継続する。   If pinching is not detected in step S36 (step S36: NO), it is determined whether or not the operation switch 1 is in the manual open MO position (step S39). If the operation switch 1 is in the manual opening MO position (step S39: YES), the process proceeds to the manual opening process described later (FIG. 10) (step S40), and if it is not in the manual opening MO position (step S39: NO), It is determined whether or not the automatic opening AO is in the position (step S41). If the operation switch 1 is in the auto-open AO position (step S41: YES), the process proceeds to an auto-open process described later (FIG. 11) (step S42). If the operation switch 1 is not in the auto-open AO position (step S41). : NO), returning to step S32, the motor 3 continues to rotate normally.

このようにして、上記実施形態においては、ゼロ近傍の加速度に対応する変動の少ない回転速度だけを抽出し、この回転速度の変化量に基づいて挟み込みを判定するので、ドアを閉じたときや悪路を走行したときなどに発生する振動に基因してモータの回転速度が大きく変動しても、挟み込み判定に用いる回転速度の変化量は小さな値となり、閾値を超えることがない。このため、振動周期とモータ回転周期との同期をとらなくても、また、判定値(閾値)を求めるために複雑な演算処理を行なわなくても、挟み込みの誤判定を防止することができる。また、加速度がない場合は、ゼロクロス動作が行われないので、異物の挟み込みがあった際には回転速度の変化量が閾値を超え、これによって、本来の挟み込みを正確に検出することができる。   In this way, in the above embodiment, only the rotational speed with a small fluctuation corresponding to the acceleration in the vicinity of zero is extracted, and the pinching is determined based on the amount of change in the rotational speed. Even if the rotational speed of the motor fluctuates greatly due to vibration generated when traveling on a road, the amount of change in rotational speed used for pinching determination is a small value and does not exceed the threshold value. For this reason, erroneous determination of pinching can be prevented without synchronizing the vibration period and the motor rotation period, or without performing complicated calculation processing to obtain a determination value (threshold value). Further, when there is no acceleration, the zero-crossing operation is not performed, so that when the foreign object is caught, the amount of change in the rotational speed exceeds the threshold value, so that the original pinching can be accurately detected.

図10は、マニュアル開処理(図7のステップS6)の詳細手順を表したフローチャート、図11は、オート開処理(図7のステップS8)の詳細手順を表したフローチャートである。各手順は、制御部8を構成するCPUにより実行され、各実施形態に共通のものである。これらは、いずれも本発明の特徴とするところではないが、以下に一通り説明しておく。   FIG. 10 is a flowchart showing the detailed procedure of the manual opening process (step S6 in FIG. 7), and FIG. 11 is a flowchart showing the detailed procedure of the automatic opening process (step S8 in FIG. 7). Each procedure is executed by the CPU constituting the control unit 8 and is common to each embodiment. None of these are features of the present invention, but will be described below.

図10のマニュアル開処理においては、最初に、マニュアル開動作により窓100が完全に開いたか否かをロータリエンコーダ4の出力に基づいて判定する(ステップS51)。窓100が完全に開けば(ステップS51:YES)処理を終了し、完全に開いてなければ(ステップS51:NO)、モータ駆動回路2から逆転信号を出力してモータ3を逆転させ、窓100を開ける(ステップS52)。続いて、窓100が完全に開いたか否かを判定し(ステップS53)、完全に開けば(ステップS53:YES)処理を終了し、完全に開いてなければ(ステップS53:NO)、操作スイッチ1がマニュアル開MOの位置にあるか否かを判定する(ステップS54)。操作スイッチ1がマニュアル開MOの位置にあれば(ステップS54:YES)、ステップS52へ戻ってモータ3の逆転を継続し、マニュアル開MOの位置になければ(ステップS54:NO)、オート開AOの位置にあるか否かを判定する(ステップS55)。操作スイッチ1がオート開AOの位置にあれば(ステップS55:YES)、後述(図11)のオート開処理に移り(ステップS56)、オート開AOの位置になければ(ステップS55:NO)、マニュアル閉MCの位置にあるか否かを判定する(ステップS57)。操作スイッチ1がマニュアル閉MCの位置にあれば(ステップS57:YES)、前述(図8)のマニュアル閉処理に移り(ステップS58)、マニュアル閉MCの位置になければ(ステップS57:NO)、オート閉ACの位置にあるか否かを判定する(ステップS59)。操作スイッチ1がオート閉ACの位置にあれば(ステップS59:YES)、前述(図9)のオート閉処理に移り(ステップS60)、操作スイッチ1がオート閉ACの位置になければ(ステップS59:NO)、何も処理せずに終了する。   In the manual opening process of FIG. 10, first, it is determined based on the output of the rotary encoder 4 whether or not the window 100 is completely opened by the manual opening operation (step S51). If the window 100 is completely opened (step S51: YES), the process is terminated. If the window 100 is not completely opened (step S51: NO), a reverse signal is output from the motor drive circuit 2 to reverse the motor 3, and the window 100 Is opened (step S52). Subsequently, it is determined whether or not the window 100 is completely opened (step S53). If the window 100 is completely opened (step S53: YES), the processing is terminated. If the window 100 is not completely opened (step S53: NO), the operation switch It is determined whether 1 is in the position of manual opening MO (step S54). If the operation switch 1 is in the manual opening MO position (step S54: YES), the process returns to step S52 to continue the reverse rotation of the motor 3, and if it is not in the manual opening MO position (step S54: NO), the automatic opening AO It is determined whether it is in the position (step S55). If the operation switch 1 is in the auto-open AO position (step S55: YES), the process proceeds to the auto-open process described later (FIG. 11) (step S56), and if it is not in the auto-open AO position (step S55: NO), It is determined whether or not the position is the manual closing MC position (step S57). If the operation switch 1 is in the manual closing MC position (step S57: YES), the process proceeds to the manual closing process described above (FIG. 8) (step S58), and if it is not in the manual closing MC position (step S57: NO), It is determined whether or not the automatic close AC position is reached (step S59). If the operation switch 1 is in the auto-close AC position (step S59: YES), the process proceeds to the above-described auto-close process (step S60) (step S60), and if the operation switch 1 is not in the auto-close AC position (step S59). : NO), the process ends without any processing.

次に、図11のオート開処理においては、最初に、オート開動作により窓100が完全に開いたか否かをロータリエンコーダ4の出力に基づいて判定する(ステップS71)。窓100が完全に開けば(ステップS71:YES)処理を終了し、完全に開いてなければ(ステップS71:NO)、モータ駆動回路2から逆転信号を出力してモータ3を逆転させ、窓100を開ける(ステップS72)。続いて、窓100が完全に開いたか否かを判定し(ステップS73)、完全に開けば(ステップS73:YES)処理を終了し、完全に開いてなければ(ステップS73:NO)、操作スイッチ1がマニュアル閉MCの位置にあるか否かを判定する(ステップS74)。操作スイッチ1がマニュアル閉MCの位置にあれば(ステップS74:YES)、前述(図8)のマニュアル閉処理に移り(ステップS75)、マニュアル閉MCの位置になければ(ステップS74:NO)、オート閉ACの位置にあるか否かを判定する(ステップS76)。操作スイッチ1がオート閉ACの位置にあれば(ステップS76:YES)、前述(図9)のオート閉処理に移り(ステップS77)、操作スイッチ1がオート閉ACの位置になければ(ステップS76:NO)、ステップS72へ戻って、モータ3の逆転を継続する。   Next, in the automatic opening process of FIG. 11, it is first determined based on the output of the rotary encoder 4 whether or not the window 100 is completely opened by the automatic opening operation (step S71). If the window 100 is completely opened (step S71: YES), the process is terminated. If the window 100 is not completely opened (step S71: NO), a reverse signal is output from the motor drive circuit 2 to reverse the motor 3, and the window 100 Is opened (step S72). Subsequently, it is determined whether or not the window 100 is completely opened (step S73). If the window 100 is completely opened (step S73: YES), the processing is terminated. If the window 100 is not completely opened (step S73: NO), the operation switch It is determined whether 1 is in the position of the manual closing MC (step S74). If the operation switch 1 is in the manual closing MC position (step S74: YES), the process proceeds to the manual closing process described above (FIG. 8) (step S75), and if it is not in the manual closing MC position (step S74: NO), It is determined whether or not the automatic close AC position is reached (step S76). If the operation switch 1 is in the auto-close AC position (step S76: YES), the process proceeds to the above-described auto-close process (step S77) (step S77), and if the operation switch 1 is not in the auto-close AC position (step S76). : NO), the process returns to step S72 and the reverse rotation of the motor 3 is continued.

図12は、本発明の第2実施形態における挟み込み検出ブロックを示している。図12において、図5と同一部分には同一符号を付してある。図5においては、回転速度検出部81と変化量算出部83との間にスイッチ82a,82bを設けたが、図12においては、変化量算出部83と挟み込み判定部85との間にスイッチ82a,82bを設けている。   FIG. 12 shows a pinch detection block in the second embodiment of the present invention. In FIG. 12, the same parts as those in FIG. In FIG. 5, switches 82 a and 82 b are provided between the rotation speed detection unit 81 and the change amount calculation unit 83, but in FIG. 12, the switch 82 a is provided between the change amount calculation unit 83 and the pinch determination unit 85. , 82b are provided.

加速度センサ7が所定値以上の加速度を検出していない場合は、スイッチ82aの接点は図の実線位置にあり、変化量算出部83の出力は、そのまま挟み込み判定部85へ与えられる。挟み込み判定部85は、変化量算出部83で算出された変化量と閾値とを比較して、挟み込みを判定する。また、加速度センサ7が所定値以上の加速度を検出した場合は、スイッチ82aの接点は図の破線位置に切り替わり、変化量算出部83の出力は、スイッチ82bに与えられる。ゼロクロス検出部84からゼロクロス信号が出力されない場合は、スイッチ82bの接点は図の実線位置にあって、スイッチ82bはOFF状態にある。このとき、加速度センサ7の出力によりスイッチ82aの接点が破線位置にあっても、スイッチ82bがOFF状態のため、変化量算出部83の出力は挟み込み判定部85へ与えられない。一方、ゼロクロス検出部84からゼロクロス信号が出力された場合は、スイッチ82の接点は図の破線位置に切り替わり、スイッチ82bはON状態となる。これにより、変化量算出部83の出力は、スイッチ82a,82bを介して、挟み込み判定部85へ与えられる。   When the acceleration sensor 7 has not detected an acceleration greater than or equal to a predetermined value, the contact point of the switch 82a is at the position of the solid line in the figure, and the output of the change amount calculation unit 83 is given to the pinch determination unit 85 as it is. The pinch determination unit 85 compares the change amount calculated by the change amount calculation unit 83 with a threshold value and determines pinching. When the acceleration sensor 7 detects an acceleration equal to or higher than a predetermined value, the contact of the switch 82a is switched to the position of the broken line in the figure, and the output of the change amount calculation unit 83 is given to the switch 82b. When the zero-cross signal is not output from the zero-cross detector 84, the contact of the switch 82b is at the solid line position in the figure, and the switch 82b is in the OFF state. At this time, even if the contact of the switch 82a is at the position of the broken line due to the output of the acceleration sensor 7, the output of the change amount calculation unit 83 is not given to the pinching determination unit 85 because the switch 82b is in the OFF state. On the other hand, when a zero cross signal is output from the zero cross detector 84, the contact of the switch 82 is switched to the position of the broken line in the figure, and the switch 82b is turned on. As a result, the output of the change amount calculation unit 83 is given to the pinching determination unit 85 via the switches 82a and 82b.

加速度が加わった場合は、スイッチ82aが破線位置に切り替わるとともに、加速度がゼロ近傍となった時刻から一定時間遅れて、ゼロクロス検出部84からゼロクロス信号が出力され、スイッチ82bがON状態となる。このタイミングで、変化量算出部83から、スイッチ82a,82bを介して、挟み込み判定部85へ回転速度の変化量が与えられる。この変化量は、ゼロ近傍の変動の少ない回転速度に基づいて算出されたものであるから、その値は小さい。したがって、挟み込み判定部85における閾値を適切に設定することにより、加速度がかなり大きいものであっても、回転速度の変化量が閾値を超えることがなく、これによって、加速度による回転速度の変動を挟み込みと誤判定するのを回避することができる。また、加速度がない場合は、スイッチ82aが実線位置にあり、変化量算出部83の出力がそのまま挟み込み判定部85に与えられるので、異物の挟み込みがあった際には回転速度の変化量が閾値を超え、これによって、本来の挟み込みを正確に検出することができる。   When acceleration is applied, the switch 82a is switched to the position of the broken line, and a zero-cross signal is output from the zero-cross detection unit 84 with a certain delay from the time when the acceleration becomes near zero, and the switch 82b is turned on. At this timing, a change amount of the rotational speed is given from the change amount calculation unit 83 to the pinching determination unit 85 via the switches 82a and 82b. Since the amount of change is calculated based on the rotation speed with little fluctuation in the vicinity of zero, the value is small. Therefore, by appropriately setting the threshold value in the pinching determination unit 85, the amount of change in the rotation speed does not exceed the threshold value even if the acceleration is quite large, thereby pinching the fluctuation in the rotation speed due to the acceleration. Can be avoided. When there is no acceleration, the switch 82a is at the solid line position, and the output of the change amount calculation unit 83 is directly applied to the pinch determination unit 85. Therefore, when a foreign object is pinched, the amount of change in the rotational speed is the threshold value. Thus, the original pinching can be accurately detected.

図13および図14は、第2実施形態の動作を示したフローチャートである。図13は、図7のステップS2におけるマニュアル閉動作の詳細手順を表しており、図14は、図7のステップS4におけるオート閉動作の詳細手順を表している。   13 and 14 are flowcharts showing the operation of the second embodiment. FIG. 13 shows a detailed procedure of the manual closing operation in step S2 of FIG. 7, and FIG. 14 shows a detailed procedure of the automatic closing operation in step S4 of FIG.

図13のフローチャートは、図8のステップS15において加速度のゼロ近傍で回転速度を抽出することに代えて、回転速度の変化量を抽出するようにしている点(ステップS15a)が図8と異なるだけであり、その他の点については図8と全く同じであるので、図8と同一の処理を行なうステップには同一符号を付して、各ステップに関する説明は省略する。   The flowchart of FIG. 13 differs from FIG. 8 only in that the amount of change in rotational speed is extracted instead of extracting the rotational speed near zero acceleration in step S15 of FIG. 8 (step S15a). Since the other points are exactly the same as those in FIG. 8, the same reference numerals are given to the steps for performing the same processing as in FIG.

また、図14のフローチャートも、図9のステップS35において加速度のゼロ近傍で回転速度を抽出することに代えて、回転速度の変化量を抽出するようにしている点(ステップS35a)が図9と異なるだけであり、その他の点については図9と全く同じであるので、図9と同一の処理を行なうステップには同一符号を付して、各ステップに関する説明は省略する。   Further, the flowchart of FIG. 14 also shows that the amount of change in rotational speed is extracted (step S35a) instead of extracting the rotational speed near zero acceleration in step S35 of FIG. 9 (step S35a). Since only the differences are the same as in FIG. 9, the other steps are the same as those in FIG.

図15は、本発明の第3実施形態における挟み込み検出ブロックを示している。図15において、図5と同一部分には同一符号を付してある。図5においては、回転速度検出部81の出力を、スイッチ82a,82bを介して変化量算出部83へ与えるようにしたが、図15においては、回転速度検出部81に代えて移動量検出部81aを設け、この移動量検出部81aの出力を、スイッチ82a,82bを介して変化量算出部83へ与えるようにしている。移動量検出部81aは、パルス検出回路5からのパルスに基づいて、窓ガラス101の移動量(移動した距離)を検出する。異物の挟み込みがあってモータ3にかかる負荷が増大すると、モータ3により駆動される窓ガラス101の移動量が減少し、移動量の変化が大きくなるので、回転速度の変化量を検出する場合と同様の原理により、窓ガラス移動量の変化から挟み込みを検出することができる。また、窓ガラス101の移動量は、加速度が加わることによっても変動する。   FIG. 15 shows a pinch detection block in the third embodiment of the present invention. In FIG. 15, the same parts as those of FIG. In FIG. 5, the output of the rotation speed detection unit 81 is supplied to the change amount calculation unit 83 via the switches 82 a and 82 b. However, in FIG. 15, the movement amount detection unit is used instead of the rotation speed detection unit 81. 81a is provided, and the output of the movement amount detection unit 81a is provided to the change amount calculation unit 83 via the switches 82a and 82b. The movement amount detection unit 81 a detects the movement amount (the distance moved) of the window glass 101 based on the pulse from the pulse detection circuit 5. When the load applied to the motor 3 increases due to foreign matter being caught, the amount of movement of the window glass 101 driven by the motor 3 decreases and the change in the amount of movement increases. Based on the same principle, the pinching can be detected from the change in the amount of movement of the window glass. Further, the amount of movement of the window glass 101 varies depending on acceleration.

加速度センサ7が所定値以上の加速度を検出していない場合は、スイッチ82aの接点は実線位置にあり、移動量検出部81aの出力は、そのまま変化量算出部83へ与えられる。挟み込み判定部85は、変化量算出部83で算出された変化量と閾値とを比較して、挟み込みを判定する。また、加速度センサ7が所定値以上の加速度を検出した場合は、スイッチ82aの接点は破線位置に切り替わり、移動量検出部81aの出力は、スイッチ82bに与えられる。ゼロクロス検出部84からゼロクロス信号が出力されない場合は、スイッチ82bの接点は実線位置にあって、スイッチ82bはOFF状態にある。このとき、加速度センサ7の出力によりスイッチ82aの接点が破線位置にあっても、スイッチ82bがOFF状態のため、移動量検出部81aの出力は変化量算出部83へ与えられない。一方、ゼロクロス検出部84からゼロクロス信号が出力された場合は、スイッチ82bの接点は破線位置に切り替わり、スイッチ82bはON状態となる。これにより、移動量検出部81aの出力は、スイッチ82a,82bを介して、変化量算出部83へ与えられる。   When the acceleration sensor 7 has not detected an acceleration greater than or equal to a predetermined value, the contact point of the switch 82a is at the solid line position, and the output of the movement amount detection unit 81a is provided to the change amount calculation unit 83 as it is. The pinch determination unit 85 compares the change amount calculated by the change amount calculation unit 83 with a threshold value and determines pinching. When the acceleration sensor 7 detects an acceleration equal to or higher than a predetermined value, the contact of the switch 82a is switched to the broken line position, and the output of the movement amount detection unit 81a is given to the switch 82b. When the zero-cross signal is not output from the zero-cross detector 84, the contact of the switch 82b is at the solid line position, and the switch 82b is in the OFF state. At this time, even if the contact of the switch 82a is at the position of the broken line by the output of the acceleration sensor 7, the output of the movement amount detection unit 81a is not given to the change amount calculation unit 83 because the switch 82b is in the OFF state. On the other hand, when a zero-cross signal is output from the zero-cross detection unit 84, the contact of the switch 82b is switched to the broken line position, and the switch 82b is turned on. Thereby, the output of the movement amount detection unit 81a is given to the change amount calculation unit 83 via the switches 82a and 82b.

加速度が加わった場合は、スイッチ82aが破線位置に切り替わるとともに、加速度がゼロ近傍となった時刻から一定時間遅れて、ゼロクロス検出部84からゼロクロス信号が出力され、スイッチ82bがON状態となる。このタイミングで、移動量検出部81aから、スイッチ82a,82bを介して、変化量算出部83へ窓ガラス101の移動量が与えられる。このときの窓ガラス移動量は、モータ3の回転速度と同様に、ゼロ近傍の加速度に対応した変動の少ないものであるから、変化量算出部83で算出される窓ガラス移動量の変化量の値は小さい。したがって、挟み込み判定部85における閾値を適切に設定することにより、加速度がかなり大きいものであっても、窓ガラス移動量の変化量が閾値を超えることがなく、これによって、加速度による窓ガラス移動量の変動を挟み込みと誤判定するのを回避することができる。また、加速度がない場合は、スイッチ82aが実線位置にあり、移動量検出部81aの出力がそのまま変化量算出部83に与えられるので、異物の挟み込みがあった際には窓ガラス移動量の変化量が閾値を超え、これによって、本来の挟み込みを正確に検出することができる。   When acceleration is applied, the switch 82a is switched to the position of the broken line, and a zero-cross signal is output from the zero-cross detection unit 84 with a certain delay from the time when the acceleration becomes near zero, and the switch 82b is turned on. At this timing, the movement amount of the window glass 101 is given from the movement amount detection unit 81a to the change amount calculation unit 83 via the switches 82a and 82b. Since the window glass movement amount at this time has a small variation corresponding to the acceleration near zero, similarly to the rotation speed of the motor 3, the amount of change in the window glass movement amount calculated by the change amount calculation unit 83 is The value is small. Therefore, by appropriately setting the threshold value in the pinching determination unit 85, even if the acceleration is quite large, the amount of change in the window glass movement amount does not exceed the threshold value. It is possible to avoid misjudging that the fluctuation of the pinch is caught. When there is no acceleration, the switch 82a is in the position of the solid line, and the output of the movement amount detection unit 81a is directly supplied to the change amount calculation unit 83. Therefore, when a foreign object is caught, the change in the movement amount of the window glass The amount exceeds the threshold, so that the original pinching can be accurately detected.

図16および図17は、第3実施形態の動作を示したフローチャートである。図16は、図7のステップS2におけるマニュアル閉動作の詳細手順を表しており、図17は、図7のステップS4におけるオート閉動作の詳細手順を表している。   16 and 17 are flowcharts showing the operation of the third embodiment. FIG. 16 shows the detailed procedure of the manual closing operation in step S2 of FIG. 7, and FIG. 17 shows the detailed procedure of the automatic closing operation in step S4 of FIG.

図16のフローチャートは、図8のステップS15において加速度のゼロ近傍で回転速度を抽出することに代えて、窓ガラス移動量を抽出するようにしている点(ステップS15b)が図8と異なるだけであり、その他の点については図8と全く同じであるので、図8と同一の処理を行なうステップには同一符号を付して、各ステップに関する説明は省略する。   The flowchart of FIG. 16 differs from FIG. 8 only in that the window glass movement amount is extracted instead of extracting the rotation speed near zero acceleration in step S15 of FIG. 8 (step S15b). Since the other points are exactly the same as those in FIG. 8, the same reference numerals are given to the steps for performing the same processes as in FIG.

また、図17のフローチャートも、図9のステップS35において加速度のゼロ近傍で回転速度を抽出することに代えて、窓ガラス移動量を抽出するようにしている点(ステップS35b)が図9と異なるだけであり、その他の点については図9と全く同じであるので、図9と同一の処理を行なうステップには同一符号を付して、各ステップに関する説明は省略する。   Also, the flowchart of FIG. 17 differs from FIG. 9 in that the window glass movement amount is extracted instead of extracting the rotation speed near zero acceleration in step S35 of FIG. 9 (step S35b). Since the other points are exactly the same as in FIG. 9, the same reference numerals are given to steps performing the same processing as in FIG.

図18は、本発明の第4実施形態における挟み込み検出ブロックを示している。図18において、図15と同一部分には同一符号を付してある。図15においては、移動量検出部81aと変化量算出部83との間にスイッチ82a,82bを設けたが、図18においては、変化量算出部83と挟み込み判定部85との間にスイッチ82a,82bを設けている。   FIG. 18 shows a pinch detection block in the fourth embodiment of the present invention. 18, the same parts as those in FIG. 15 are denoted by the same reference numerals. In FIG. 15, switches 82 a and 82 b are provided between the movement amount detection unit 81 a and the change amount calculation unit 83, but in FIG. 18, the switch 82 a is provided between the change amount calculation unit 83 and the pinch determination unit 85. , 82b are provided.

加速度センサ7が所定値以上の加速度を検出していない場合は、スイッチ82aの接点は図の実線位置にあり、変化量算出部83の出力は、そのまま挟み込み判定部85へ与えられる。挟み込み判定部85は、変化量算出部83で算出された変化量と閾値とを比較して、挟み込みを判定する。また、加速度センサ7が所定値以上の加速度を検出した場合は、スイッチ82aの接点は図の破線位置に切り替わり、変化量算出部83の出力は、スイッチ82bに与えられる。ゼロクロス検出部84からゼロクロス信号が出力されない場合は、スイッチ82bの接点は図の実線位置にあって、スイッチ82bはOFF状態にある。このとき、加速度センサ7の出力によりスイッチ82aの接点が破線位置にあっても、スイッチ82bがOFF状態のため、変化量算出部83の出力は挟み込み判定部85へ与えられない。一方、ゼロクロス検出部84からゼロクロス信号が出力された場合は、スイッチ82bの接点は図の破線位置に切り替わり、スイッチ82bはON状態となる。これにより、変化量算出部83の出力は、スイッチ82a,82bを介して、挟み込み判定部85へ与えられる。   When the acceleration sensor 7 has not detected an acceleration greater than or equal to a predetermined value, the contact point of the switch 82a is at the position of the solid line in the figure, and the output of the change amount calculation unit 83 is given to the pinch determination unit 85 as it is. The pinch determination unit 85 compares the change amount calculated by the change amount calculation unit 83 with a threshold value and determines pinching. When the acceleration sensor 7 detects an acceleration equal to or higher than a predetermined value, the contact of the switch 82a is switched to the position of the broken line in the figure, and the output of the change amount calculation unit 83 is given to the switch 82b. When the zero-cross signal is not output from the zero-cross detector 84, the contact of the switch 82b is at the solid line position in the figure, and the switch 82b is in the OFF state. At this time, even if the contact of the switch 82a is at the position of the broken line due to the output of the acceleration sensor 7, the output of the change amount calculation unit 83 is not given to the pinching determination unit 85 because the switch 82b is in the OFF state. On the other hand, when a zero cross signal is output from the zero cross detector 84, the contact of the switch 82b is switched to the position of the broken line in the figure, and the switch 82b is turned on. As a result, the output of the change amount calculation unit 83 is given to the pinching determination unit 85 via the switches 82a and 82b.

加速度が加わった場合は、スイッチ82aが破線位置に切り替わるとともに、加速度がゼロ近傍となった時刻から一定時間遅れて、ゼロクロス検出部84からゼロクロス信号が出力され、スイッチ82bがON状態となる。このタイミングで、変化量算出部83から、スイッチ82a,82bを介して、挟み込み判定部85へ窓ガラス移動量の変化量が与えられる。この変化量は、ゼロ近傍の変動の少ない窓ガラス移動量に基づいて算出されたものであるから、その値は小さい。したがって、挟み込み判定部85における閾値を適切に設定することにより、加速度がかなり大きいものであっても、窓ガラス移動量の変化量が閾値を超えることがなく、これによって、加速度による窓ガラス移動量の変動を挟み込みと誤判定するのを回避することができる。また、加速度がない場合は、スイッチ82aが実線位置にあり、変化量算出部83の出力がそのまま挟み込み判定部85に与えられるので、異物の挟み込みがあった際には窓ガラス移動量の変化量が閾値を超え、これによって、本来の挟み込みを正確に検出することができる。   When acceleration is applied, the switch 82a is switched to the position of the broken line, and a zero-cross signal is output from the zero-cross detection unit 84 with a certain delay from the time when the acceleration becomes near zero, and the switch 82b is turned on. At this timing, a change amount of the window glass movement amount is given from the change amount calculation unit 83 to the pinch determination unit 85 via the switches 82a and 82b. Since the amount of change is calculated based on the amount of movement of the window glass with little fluctuation in the vicinity of zero, the value is small. Therefore, by appropriately setting the threshold value in the pinching determination unit 85, even if the acceleration is quite large, the amount of change in the window glass movement amount does not exceed the threshold value. It is possible to avoid misjudging that the fluctuation of the pinch is caught. Further, when there is no acceleration, the switch 82a is in the position of the solid line, and the output of the change amount calculation unit 83 is directly given to the pinch determination unit 85. Therefore, when the foreign object is pinched, the change amount of the window glass movement amount Exceeds the threshold value, so that the original pinching can be accurately detected.

図19および図20は、第4実施形態の動作を示したフローチャートである。図19は、図7のステップS2におけるマニュアル閉動作の詳細手順を表しており、図20は、図7のステップS4におけるオート閉動作の詳細手順を表している。   19 and 20 are flowcharts showing the operation of the fourth embodiment. FIG. 19 shows a detailed procedure of the manual closing operation in step S2 of FIG. 7, and FIG. 20 shows a detailed procedure of the automatic closing operation in step S4 of FIG.

図19のフローチャートは、図16のステップS15bにおいて加速度のゼロ近傍で窓ガラス移動量を抽出することに代えて、窓ガラス移動量の変化量を抽出するようにしている点(ステップS15c)が図16と異なるだけであり、その他の点については図16と全く同じであるので、図16と同一の処理を行なうステップには同一符号を付して、各ステップに関する説明は省略する。   The flowchart of FIG. 19 shows that the amount of change in the window glass movement amount is extracted instead of extracting the window glass movement amount in the vicinity of zero acceleration in step S15b of FIG. 16 (step S15c). 16 are the same as those in FIG. 16 except for the points described above, and steps that perform the same processing as in FIG.

また、図20のフローチャートも、図17のステップS35bにおいて加速度のゼロ近傍で窓ガラス移動量を抽出することに代えて、窓ガラス移動量の変化量を抽出するようにしている点(ステップS35c)が図17と異なるだけであり、その他の点については図17と全く同じであるので、図17と同一の処理を行なうステップには同一符号を付して、各ステップに関する説明は省略する。   Further, in the flowchart of FIG. 20, instead of extracting the window glass movement amount in the vicinity of zero acceleration in step S35b of FIG. 17, the amount of change in the window glass movement amount is extracted (step S35c). 17 is different from FIG. 17 in other respects and is exactly the same as FIG. 17. Therefore, the same reference numerals are given to steps for performing the same processing as in FIG.

以上述べた実施形態では、本発明を車両のドアの窓を開閉制御する装置に適用した場合を例に挙げたが、本発明はこれ以外にも、車両の天井のサンルーフ、車両の後部扉、建物の窓、建物の扉・戸など各種の開閉体を開閉制御する装置に適用することができる。   In the embodiment described above, the case where the present invention is applied to an apparatus for controlling opening / closing of a door window of a vehicle is taken as an example, but the present invention is not limited to this, the sun roof on the ceiling of the vehicle, the rear door of the vehicle, The present invention can be applied to a device that controls opening and closing of various opening and closing bodies such as building windows and building doors and doors.

本発明の実施形態であるパワーウィンドウ装置の電気的構成を示したブロック図である。It is the block diagram which showed the electric constitution of the power window apparatus which is embodiment of this invention. 操作スイッチの一例を示した概略構成図である。It is the schematic block diagram which showed an example of the operation switch. 窓開閉機構の一例を示した図である。It is the figure which showed an example of the window opening / closing mechanism. 窓に物体が挟み込まれた状態を示す図である。It is a figure which shows the state by which the object was pinched | interposed into the window. 本発明の第1実施形態における挟み込み検出ブロックを示す図である。It is a figure which shows the pinching detection block in 1st Embodiment of this invention. 本発明におけるゼロクロスの動作を説明するタイムチャートである。It is a time chart explaining operation | movement of the zero cross in this invention. 回転速度の補間を行う場合のタイムチャートである。It is a time chart in the case of performing rotation speed interpolation. パワーウィンドウ装置の基本的な動作を示したフローチャートである。It is the flowchart which showed the basic operation | movement of the power window apparatus. 第1実施形態におけるマニュアル閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the manual closing process in 1st Embodiment. 第1実施形態におけるオート閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the automatic closing process in 1st Embodiment. マニュアル開処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the manual opening process. オート開処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the automatic opening process. 本発明の第2実施形態における挟み込み検出ブロックを示す図である。It is a figure which shows the pinching detection block in 2nd Embodiment of this invention. 第2実施形態におけるマニュアル閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the manual closing process in 2nd Embodiment. 第2実施形態におけるオート閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the automatic closing process in 2nd Embodiment. 本発明の第3実施形態における挟み込み検出ブロックを示す図である。It is a figure which shows the pinching detection block in 3rd Embodiment of this invention. 第3実施形態におけるマニュアル閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the manual closing process in 3rd Embodiment. 第3実施形態におけるオート閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the automatic closing process in 3rd Embodiment. 本発明の第4実施形態における挟み込み検出ブロックを示す図である。It is a figure which shows the pinching detection block in 4th Embodiment of this invention. 第4実施形態におけるマニュアル閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the manual closing process in 4th Embodiment. 第4実施形態におけるオート閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the automatic closing process in 4th Embodiment.

符号の説明Explanation of symbols

1 操作スイッチ
2 モータ駆動回路
3 モータ
4 ロータリエンコーダ
5 パルス検出回路
6 メモリ
7 加速度センサ
8 制御部
81 回転速度検出部
81a 移動量検出部
82a,82b スイッチ
83 変化量算出部
84 ゼロクロス検出部
85 挟み込み判定部
100 窓
101 窓ガラス
102 窓開閉機構
Z 物体
DESCRIPTION OF SYMBOLS 1 Operation switch 2 Motor drive circuit 3 Motor 4 Rotary encoder 5 Pulse detection circuit 6 Memory 7 Acceleration sensor 8 Control part 81 Rotational speed detection part 81a Movement amount detection part 82a, 82b Switch 83 Change amount calculation part 84 Zero cross detection part 85 Pinch determination Part 100 Window 101 Window glass 102 Window opening / closing mechanism Z Object

Claims (2)

開閉体を開閉するためのモータの回転速度を検出する検出手段と、
前記検出手段で検出された回転速度の変化量に基づき、前記開閉体に異物が挟み込まれたか否かを判定する判定手段と、
前記判定手段の判定結果に応じて前記モータを制御する制御手段と、
前記開閉体に加わる加速度を検出する加速度センサと、
を有する開閉制御装置において、
前記加速度センサが検出した加速度の値がゼロ近傍にある場合に、所定のタイミングで前記モータの回転速度の変化量を抽出する抽出手段を備え、
前記判定手段は、前記抽出手段で抽出された回転速度の変化量に基づいて、挟み込みの判定を行なうことを特徴とする開閉制御装置。
Detecting means for detecting a rotation speed of a motor for opening and closing the opening and closing body;
Determination means for determining whether or not a foreign object is caught in the opening and closing body based on the amount of change in rotational speed detected by the detection means;
Control means for controlling the motor according to a determination result of the determination means;
An acceleration sensor for detecting acceleration applied to the opening and closing body;
In an open / close control device having
When the acceleration value detected by the acceleration sensor is in the vicinity of zero, an extraction unit that extracts the amount of change in the rotation speed of the motor at a predetermined timing is provided.
The opening / closing control apparatus according to claim 1, wherein the determining means determines the pinching based on the amount of change in the rotational speed extracted by the extracting means.
請求項1に記載の開閉制御装置において、
前記検出手段は、モータの回転速度に代えて、開閉体の移動量を検出し、
前記抽出手段は、前記加速度センサが検出した加速度の値がゼロ近傍にある場合に、所定のタイミングで前記開閉体の移動量の変化量を抽出し、
前記判定手段は、前記抽出手段で抽出された移動量の変化量に基づいて、挟み込みの判定を行なうことを特徴とする開閉制御装置。
The opening / closing control device according to claim 1,
The detection means detects the amount of movement of the opening and closing body instead of the rotational speed of the motor,
The extraction means extracts the change amount of the movement amount of the opening / closing body at a predetermined timing when the value of the acceleration detected by the acceleration sensor is near zero,
The opening / closing control apparatus, wherein the determination unit determines the pinching based on the change amount of the movement amount extracted by the extraction unit.
JP2005198498A 2005-07-07 2005-07-07 Open / close control device Expired - Fee Related JP4664134B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005198498A JP4664134B2 (en) 2005-07-07 2005-07-07 Open / close control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005198498A JP4664134B2 (en) 2005-07-07 2005-07-07 Open / close control device

Publications (2)

Publication Number Publication Date
JP2007016463A true JP2007016463A (en) 2007-01-25
JP4664134B2 JP4664134B2 (en) 2011-04-06

Family

ID=37753860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005198498A Expired - Fee Related JP4664134B2 (en) 2005-07-07 2005-07-07 Open / close control device

Country Status (1)

Country Link
JP (1) JP4664134B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011132685A (en) * 2009-12-22 2011-07-07 Mitsuba Corp Control unit for opening and closing body for vehicle
KR20200019278A (en) * 2018-08-07 2020-02-24 현대자동차주식회사 Head up display apparatus, vehicle having the same and controlling method of the vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0921274A (en) * 1995-07-06 1997-01-21 Omron Corp Opening/closing control device for opening/closing body
JPH09224388A (en) * 1996-02-15 1997-08-26 Tokai Rika Co Ltd Motor driving and controlling device
JPH10339070A (en) * 1997-06-09 1998-12-22 Yazaki Corp Power window device with safety device
JPH11147418A (en) * 1997-11-18 1999-06-02 Tokai Rika Co Ltd Control unit for driving power window
JP2000008704A (en) * 1998-06-26 2000-01-11 Omron Corp Opening/closing control device
JP2000152677A (en) * 1998-11-05 2000-05-30 Tokai Rika Co Ltd Device for detecting presence of pinching of window glass
JP2003328641A (en) * 2002-05-10 2003-11-19 Yazaki Corp Catching detector for power window

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0921274A (en) * 1995-07-06 1997-01-21 Omron Corp Opening/closing control device for opening/closing body
JPH09224388A (en) * 1996-02-15 1997-08-26 Tokai Rika Co Ltd Motor driving and controlling device
JPH10339070A (en) * 1997-06-09 1998-12-22 Yazaki Corp Power window device with safety device
JPH11147418A (en) * 1997-11-18 1999-06-02 Tokai Rika Co Ltd Control unit for driving power window
JP2000008704A (en) * 1998-06-26 2000-01-11 Omron Corp Opening/closing control device
JP2000152677A (en) * 1998-11-05 2000-05-30 Tokai Rika Co Ltd Device for detecting presence of pinching of window glass
JP2003328641A (en) * 2002-05-10 2003-11-19 Yazaki Corp Catching detector for power window

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011132685A (en) * 2009-12-22 2011-07-07 Mitsuba Corp Control unit for opening and closing body for vehicle
KR20200019278A (en) * 2018-08-07 2020-02-24 현대자동차주식회사 Head up display apparatus, vehicle having the same and controlling method of the vehicle
KR102531316B1 (en) * 2018-08-07 2023-05-12 현대자동차주식회사 Head up display apparatus, vehicle having the same and controlling method of the vehicle

Also Published As

Publication number Publication date
JP4664134B2 (en) 2011-04-06

Similar Documents

Publication Publication Date Title
JP4131272B2 (en) Window opening and closing control device
JP4781127B2 (en) Electric motor control device
US7812554B2 (en) Control device for opening/closing member
JP4896471B2 (en) Opening / closing member control device and pinching detection method
JP2005232753A (en) Opening/closing body control unit
TW574467B (en) Trapping detection device of opening/closing member
JP2005351042A (en) Opening and closing body control device
JP2007023585A (en) Automatic opening and closing device for vehicle
JP2007009573A (en) Opening/closing control device
JP2006002441A (en) Vehicular closure drive mechanism
JP4664134B2 (en) Open / close control device
JP5085371B2 (en) Opening and closing body control device
JP4781126B2 (en) Opening and closing body control device
JP4781222B2 (en) Opening and closing body control device
JP4781129B2 (en) Electric motor control device
JP2007100483A (en) Control device for opening/closing of window
JP4808566B2 (en) Opening and closing body control device
JP4135706B2 (en) Open / close control device
JP2002295128A (en) Insertion decision controlling method for opening/closing body
JP4781868B2 (en) Opening / closing member control device
JP2009007919A (en) Opening-closing body control device
JP4081253B2 (en) Actuator control device
JP4884856B2 (en) Opening / closing member control device
JP4789601B2 (en) Electric motor control device
JP2024035635A (en) Opening/closing body control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080201

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20100726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101217

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110106

R150 Certificate of patent or registration of utility model

Ref document number: 4664134

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees