JP4781222B2 - Opening and closing body control device - Google Patents

Opening and closing body control device Download PDF

Info

Publication number
JP4781222B2
JP4781222B2 JP2006275653A JP2006275653A JP4781222B2 JP 4781222 B2 JP4781222 B2 JP 4781222B2 JP 2006275653 A JP2006275653 A JP 2006275653A JP 2006275653 A JP2006275653 A JP 2006275653A JP 4781222 B2 JP4781222 B2 JP 4781222B2
Authority
JP
Japan
Prior art keywords
opening
value
closing body
change
past 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.)
Expired - Fee Related
Application number
JP2006275653A
Other languages
Japanese (ja)
Other versions
JP2007126960A (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.)
Nidec Mobility Corp
Original Assignee
Omron Automotive Electronics 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 Omron Automotive Electronics Co Ltd filed Critical Omron Automotive Electronics Co Ltd
Priority to JP2006275653A priority Critical patent/JP4781222B2/en
Publication of JP2007126960A publication Critical patent/JP2007126960A/en
Priority to US11/868,207 priority patent/US7812554B2/en
Application granted granted Critical
Publication of JP4781222B2 publication Critical patent/JP4781222B2/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)

Description

本発明は、車両に用いられる窓開閉制御装置(以下、「パワーウィンドウ装置」という。)のような開閉体の制御装置に関するものである。   The present invention relates to a control device for an opening / closing body such as a window opening / closing control device (hereinafter referred to as “power window device”) used in a vehicle.

パワーウィンドウ装置は、スイッチの操作によりモータを正転または逆転させてドアの窓ガラスを昇降させ、窓を開閉する装置である。図1は、パワーウィンドウ装置の電気的構成を示したブロック図である。1は窓の開閉動作を制御するCPUからなる制御部、2はモータ3を駆動するモータ駆動回路、4はモータ3の回転に同期したパルスを出力するロータリエンコーダ、5はロータリエンコーダ4から出力されるパルスを検出するパルス検出回路、6はROMやRAM等から構成されるメモリ、7は窓の開閉を操作するための操作スイッチである。   The power window device is a device that opens and closes a window by rotating a motor forward or reverse 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 a control unit composed of a CPU for controlling the opening and closing operation of 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 output from the rotary encoder 4. A pulse detection circuit for detecting a pulse, 6 a memory composed of a ROM, a RAM and the like, and 7 an operation switch for operating the opening and closing of the window.

操作スイッチ7を操作すると、制御部1に窓開閉指令が与えられ、モータ駆動回路2によりモータ3が正転または逆転する。モータ3の回転により、モータ3と連動する窓開閉機構が作動して窓の開閉が行われる。パルス検出回路5はロータリエンコーダ4から出力されるパルスを検出し、制御部1はこの検出結果に基づきモータの回転速度や窓の移動距離を算出して、モータ駆動回路2を介してモータ3の回転を制御する。   When the operation switch 7 is operated, a window opening / closing command is given to the control unit 1, 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 1 calculates the rotational speed of the motor and the moving distance of the window based on the detection result, and the motor 3 via the motor drive circuit 2. Control the rotation.

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

操作ノブ71は、オート閉AC、マニュアル閉MC、中立N、マニュアル開MO、オート開AOの各位置へ切換可能となっている。図2は、操作ノブ71が中立Nの位置にある状態を示している。この位置から操作ノブ71をa方向に一定量回転させて、マニュアル閉MCの位置にすると、マニュアル動作で窓が閉じるマニュアル閉動作が行われ、この位置よりさらにa方向に操作ノブ71を回転させてオート閉ACの位置にすると、オート動作で窓が閉じるオート閉動作が行われる。また、操作ノブ71を中立Nの位置からb方向に一定量回転させて、マニュアル開MOの位置にすると、マニュアル動作で窓が開くマニュアル開動作が行われ、この位置よりさらにb方向に操作ノブ71を回転させてオート開AOの位置にすると、オート動作で窓が開くオート開動作が行われる。操作ノブ71には、図示しないバネが設けられており、回転した操作ノブ71から手を離すと、操作ノブ71はバネの力により中立Nの位置に復帰する。   The operation knob 71 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 71 is in the neutral N position. When the operation knob 71 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 71 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 71 is rotated 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 71 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 71 is provided with a spring (not shown), and when the hand is released from the rotated operation knob 71, the operation knob 71 returns to the neutral N position by the force of the spring.

マニュアル動作の場合は、操作ノブ71がマニュアル閉MCまたはマニュアル開MOの位置に手で保持され続ける間だけ、窓を閉じる動作または開ける動作が行われ、操作ノブ71から手を離してノブが中立Nの位置に復帰すると、窓の閉動作または開動作は停止する。一方、オート動作の場合は、一旦、操作ノブ71がオート閉ACまたはオート開AOの位置まで回転されると、その後は操作ノブ71から手を離してノブが中立Nの位置に復帰しても、窓の閉動作または開動作が継続して行われる。   In the case of manual operation, the window is closed or opened only while the operation knob 71 is held by hand at the position of manual closing MC or manual opening MO, and the knob is neutralized by releasing the hand from the operation knob 71. 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 71 is rotated to the position of auto-close AC or auto-open AO, after that, the hand is released from the operation knob 71 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. .

以上のようなパワーウィンドウ装置において、操作ノブ71が図2のオート閉ACの位置にあってオート閉動作が行われる場合は、物体の挟み込みを検出する機能が備わっている。すなわち、図4に示したように、窓100が閉まる途中で窓ガラス101の隙間に物体Zが挟み込まれた場合、これを検知して窓100の閉動作を開動作へ切り換えるようになっている。オート閉動作中は窓100が自動的に閉じるため、誤って手や首などが挟まれた場合に、人体に危害が加わるのを防止する必要性から、挟み込み検出機能が働いて窓100の閉動作が禁止される。挟み込みの検出にあたっては、パルス検出回路5の出力であるモータ3の回転速度を制御部1が随時読み込み、現在の回転速度と過去の回転速度とを比較して、その比較結果(回転速度の変化量)に基づいて挟み込みの有無を判定する。窓100に物体Zの挟み込みが発生すると、モータ3の負荷が増大して回転速度が低下するため、速度の変化量が大きくなり、この速度変化量が所定の閾値を超えたときに、物体Zが挟み込まれたと判定する。閾値はメモリ6にあらかじめ記憶されている。   In the power window device as described above, when the operation knob 71 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 sandwiched in the gap of the window glass 101 while the window 100 is closed, this is detected and the closing operation of the window 100 is switched to the opening operation. . Since the window 100 is automatically closed during the automatic closing operation, the pinching detection function works to prevent the human body from being harmed when a hand or neck is accidentally pinched. Operation is prohibited. In detecting pinching, the controller 1 reads the rotational speed of the motor 3 that is the output of the pulse detection circuit 5 as needed, compares the current rotational speed with the past rotational speed, and compares the results (changes in rotational speed). The presence or absence of pinching is determined based on the amount. When the object Z is caught in the window 100, the load of the motor 3 increases and the rotational speed decreases, so that the amount of change in speed increases, and when the amount of change in speed 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および図4に示した窓開閉機構102においては、第1アーム104と第2アーム105とによってX字状のリンク機構が構成され、モータ3の動力がこのリンク機構を介して、窓ガラス101に伝達されるようになっている。このようなX字状のリンク機構を構成するアームを、以下では「Xアーム」と呼ぶ。Xアームの詳細な機構については、例えば後掲の特許文献1に記載されている。なお、窓開閉機構には、Xアーム以外に、1つだけのアームからなるシングルアームを用いることもできる。   In the window opening / closing mechanism 102 shown in FIGS. 3 and 4, the first arm 104 and the second arm 105 constitute an X-shaped link mechanism, and the power of the motor 3 is transmitted through the link mechanism to the window glass. 101 is transmitted. Hereinafter, an arm constituting such an X-shaped link mechanism is referred to as an “X arm”. The detailed mechanism of the X arm is described in, for example, Patent Document 1 described later. In addition to the X arm, a single arm consisting of only one arm can be used for the window opening / closing mechanism.

ところで、窓ガラス101の全閉位置付近では、窓100のサッシに設けられているウェザーストリップ(図示省略)に窓ガラス101が接触することによって、その際に発生する摩擦のために窓ガラス101の移動速度が小さくなる。このように移動速度が低下すると、挟み込みがあっても速度の変化量が小さくなって閾値を下回るため、挟み込みを正確に検出できなくなるおそれがある。   By the way, in the vicinity of the fully closed position of the window glass 101, the window glass 101 comes into contact with a weather strip (not shown) provided in the sash of the window 100, and the friction of the window glass 101 occurs due to friction generated at that time. The moving speed is reduced. When the moving speed is reduced in this way, even if there is jamming, the amount of change in the speed becomes small and falls below the threshold value, so that pinching may not be detected accurately.

そこで、特許文献2には、窓ガラスの全閉位置付近での移動速度の低下があっても、異物の挟み込み判定を正常に行えるようにするために、窓が全開状態から全閉状態に移動する領域を複数に分割して、各領域毎に異なる閾値を設け、荷重が閾値を越えた場合に、異物の挟み込みと判定するようにしたパワーウィンドウ装置が記載されている。また、特許文献3には、モータの回転速度を全閉位置手前の所定の区間で低くすることで、挟み込み荷重に対する余裕を大きくして、ウェザーストリップなどの摩擦による挟み込みの誤判定を防ぐ一方、全閉位置直前で回転速度が規定値以下に低下したらモータの出力を高めることにより、開閉体が確実に閉じるようにした開閉体制御装置が記載されている。   Therefore, in Patent Document 2, the window moves from the fully open state to the fully closed state so that the foreign object pinching can be normally determined even when the movement speed of the window glass near the fully closed position decreases. A power window device is described in which a region to be divided is divided into a plurality of regions, and different threshold values are provided for each region, and when a load exceeds the threshold value, it is determined that a foreign object is caught. Further, in Patent Document 3, by reducing the rotational speed of the motor in a predetermined section before the fully-closed position, the margin for the pinching load is increased to prevent erroneous determination of pinching due to friction such as a weather strip, An opening / closing body control device is described in which the opening / closing body is reliably closed by increasing the output of the motor when the rotational speed drops below a specified value immediately before the fully closed position.

実用新案登録第2555475号公報Utility Model Registration No. 2555475 特許第2857048号公報Japanese Patent No. 2857048 特開2002ー327574号公報JP 2002-327574 A

上述したXアームやシングルアームを用いた窓開閉機構においては、モータ3の回転速度を一定とした場合、窓ガラス101が全閉位置に近づくとガラスの移動速度が小さくなる。これを図12の原理図で説明する。図12において、Mはモータ、AはモータMの回転に連動して回動するアーム、WはアームAの回動により昇降する窓ガラス、RはアームAの先端をガイドするレールである。ここでは簡略化のために、アームAはシングルアームとしてある。アームAは図3の第1アーム104に相当するものであり、レールRは図3の支持部材103に相当するものである。   In the window opening / closing mechanism using the X arm or the single arm described above, when the rotational speed of the motor 3 is constant, the moving speed of the glass decreases as the window glass 101 approaches the fully closed position. This will be described with reference to the principle diagram of FIG. In FIG. 12, M is a motor, A is an arm that rotates in conjunction with the rotation of the motor M, W is a window glass that moves up and down as the arm A rotates, and R is a rail that guides the tip of the arm A. Here, for simplicity, the arm A is a single arm. The arm A corresponds to the first arm 104 in FIG. 3, and the rail R corresponds to the support member 103 in FIG.

アームAが、水平状態の初期位置(窓が全開となる位置)から、上向きに角度θだけ回動したときの窓ガラスWの移動距離をY1とし、アームAが、最終位置(窓が全閉となる位置)に近い位置から最終位置まで、角度θだけ回動したときの窓ガラスWの移動距離をY2としたとき、Y1>Y2であるから、モータMの回転速度を一定とすると、窓ガラスWがY1の距離を移動する速度V1と、窓ガラスWがY2の距離を移動する速度V2との関係は、V1>V2となる。すなわち、窓ガラスWは全開位置付近では移動速度が大きく、全閉位置に近づくと移動速度が小さくなる。この結果、全閉位置付近で挟み込みが発生した場合、速度の変化量が小さくなって閾値を下回るため、挟み込みを正確に検出できなくなるおそれがある。以下、これについて詳細に説明する。   The movement distance of the window glass W when the arm A is rotated upward by the angle θ from the initial position in the horizontal state (the position where the window is fully opened) is Y1, and the arm A is the final position (the window is fully closed). Y1> Y2 where Y2 is the moving distance of the window glass W when it is rotated by an angle θ from a position close to the final position to the final position, so if the rotational speed of the motor M is constant, the window The relationship between the speed V1 at which the glass W moves the distance Y1 and the speed V2 at which the window glass W moves the distance Y2 is V1> V2. That is, the window glass W has a high moving speed in the vicinity of the fully opened position, and the moving speed decreases as it approaches the fully closed position. As a result, if pinching occurs in the vicinity of the fully closed position, the amount of change in speed becomes smaller and falls below the threshold value, and pinching may not be detected accurately. This will be described in detail below.

図13は、モータ回転速度の時間的変化の例を示したグラフである。ここでは、縦軸のモータ回転速度を、ロータリエンコーダ4の出力パルスの周波数としている。また、横軸の時間は、出力パルスのパルスエッジのタイミングを表している。f1は窓が全開位置付近にあるときに挟み込みが発生した場合のパルス周波数(モータ回転速度)を示しており、f2は窓が全閉位置付近にあるときに挟み込みが発生した場合のパルス周波数(モータ回転速度)を示している。なお、f1の曲線とf2の曲線とは、本来時間軸(横軸)方向にずれているはずであるが、ここでは比較の便宜のために同位置に描いてある。Δf1はパルス周波数f1の変化量、Δf2はパルス周波数f2の変化量を示している。また、P1は窓全開位置付近で挟み込みがあった場合の挟み込み荷重、P2は窓全閉位置付近で挟み込みがあった場合の挟み込み荷重を示している。βはパルス周波数の変化量Δf1,Δf2との比較により挟み込みの検出を行うための閾値である。   FIG. 13 is a graph showing an example of a temporal change in the motor rotation speed. Here, the motor rotation speed on the vertical axis is the frequency of the output pulse of the rotary encoder 4. The time on the horizontal axis represents the pulse edge timing of the output pulse. f1 indicates a pulse frequency (motor rotation speed) when pinching occurs when the window is near the fully open position, and f2 indicates a pulse frequency when pinching occurs when the window is near the fully closed position ( Motor rotation speed). It should be noted that the curve of f1 and the curve of f2 should originally be shifted in the time axis (horizontal axis) direction, but are drawn at the same position here for convenience of comparison. Δf1 indicates the amount of change in the pulse frequency f1, and Δf2 indicates the amount of change in the pulse frequency f2. P1 indicates a pinching load when pinching occurs near the window fully open position, and P2 indicates a pinching load when pinching occurs near the window fully closed position. β is a threshold value for detecting pinching by comparison with the change amounts Δf1 and Δf2 of the pulse frequency.

図13においては、t10のタイミングにおいて挟み込みが発生しており、これ以降、モータの回転速度は低下する。挟み込みを検出するためには、モータ回転速度の変化量を算出し、この変化量を閾値βと比較する必要がある。そこで、パルス周波数の現在値と、現在から一定期間だけ遡った時点の過去値とに基づいて、パルス周波数の差分すなわち変化量を算出する。パルス周波数(回転速度)の変化量Δfは、次式により算出される。
Δf=f(m−a)−f(m) …(1)
ここで、f(m):任意のタイミングtにおけるパルス周波数の現在値、a:周波数差分の比較間隔、f(m−a):tからaだけ遡った時点のパルス周波数の過去値である。例えば、a=6、m=19とした場合、タイミングt19におけるパルス周波数が現在値、t19より6個分のタイミングだけ遡ったt13におけるパルス周波数が過去値となり、t19におけるパルス周波数の変化量Δfは(1)式より、
Δf=f(13)−f(19)
となる。
In FIG. 13, pinching has occurred at the timing t10, and thereafter, the rotational speed of the motor decreases. In order to detect pinching, it is necessary to calculate a change amount of the motor rotation speed and to compare this change amount with the threshold value β. Therefore, the difference, that is, the amount of change in the pulse frequency is calculated based on the current value of the pulse frequency and the past value at a point in time that is traced back from the present for a certain period. The change amount Δf of the pulse frequency (rotation speed) is calculated by the following equation.
Δf = f (m−a) −f (m) (1)
Here, f (m): current value of the pulse frequency at an arbitrary timing t m , a: comparison interval of frequency difference, f (m−a): past value of the pulse frequency at a time point a backward from t m is there. For example, when a = 6 and m = 19, the pulse frequency at timing t19 is the current value, the pulse frequency at t13 that is 6 times earlier than t19 is the past value, and the pulse frequency change Δf at t19 is From equation (1)
Δf = f (13) −f (19)
It becomes.

上記のようにして求めた各タイミングごとのパルス周波数の変化量Δfを閾値βと比較し、Δf≧βであれば、挟み込みがあったと判定する。図13のΔf1は、窓が全開位置付近にあるときに挟み込みが発生した場合の、上記(1)式から求めたパルス周波数の変化量を示しており、Δf2は、窓が全閉位置付近にあるときに挟み込みが発生した場合の、上記(1)式から求めたパルス周波数の変化量を示している。ここで、パルス周波数f1の減少度合いと、パルス周波数f2の減少度合いとを比較すると、前述したように窓全閉位置付近では窓ガラスの移動速度が小さくなることから、パルス周波数f2はパルス周波数f1に比べて減少度合いが小さくなっている。このため、窓全閉位置付近で挟み込みがあった場合のパルス周波数の変化量Δf2は、窓全開位置付近で挟み込みがあった場合のパルス周波数の変化量Δf1よりも小さな値となる。したがって、(1)式で例えばa=6として変化量を求めると、Δf1の場合はt14において変化量が閾値βに達して挟み込みが検出されるが、Δf2の場合はt15以降の変化量が飽和状態となって閾値βに達しないため、挟み込みが検出されないことになる。この結果、挟み込みが発生しているにもかかわらず窓ガラスが開方向に反転動作せず、挟み込まれた物体に加わる加重が増大して破損等に至る場合がある。   The amount of change Δf of the pulse frequency at each timing obtained as described above is compared with a threshold value β, and if Δf ≧ β, it is determined that there has been pinching. Δf1 in FIG. 13 indicates the amount of change in the pulse frequency obtained from the above equation (1) when pinching occurs when the window is in the vicinity of the fully open position, and Δf2 indicates that the window is in the vicinity of the fully closed position. This shows the amount of change in pulse frequency obtained from the above equation (1) when pinching occurs at a certain time. Here, when the degree of decrease of the pulse frequency f1 is compared with the degree of decrease of the pulse frequency f2, as described above, the moving speed of the window glass is reduced in the vicinity of the fully closed position of the window, so the pulse frequency f2 is the pulse frequency f1. The degree of decrease is smaller than For this reason, the amount of change Δf2 in the pulse frequency when there is a pinch near the fully closed position of the window is smaller than the amount of change Δf1 in the pulse frequency when there is a pinch near the fully open position of the window. Therefore, when the amount of change is obtained by using, for example, a = 6 in equation (1), if Δf1, the amount of change reaches the threshold value β at t14, and pinching is detected, but if Δf2, the amount of change after t15 is saturated. Since the threshold value β is not reached, the pinching is not detected. As a result, the window glass does not reverse in the opening direction despite the occurrence of pinching, and the load applied to the pinched object may increase, leading to breakage.

このように、従来の装置においては、窓の全閉位置付近で挟み込みが発生した場合に、挟み込みが検出できなくなるという問題がある。また、特許文献2の方法では、窓の全開から全閉までの移動領域を複数に分割して、各領域毎に異なる閾値を設定しなければならないという煩わしさが伴う。さらに、特許文献3の方法では、窓全閉位置の手前でモータの回転速度が強制的に低下されるため、挟み込みを正常に検出できなくなるおそれがある。   As described above, the conventional apparatus has a problem that the pinching cannot be detected when the pinching occurs near the fully closed position of the window. In addition, the method of Patent Document 2 is troublesome in that the moving region from the full opening to the full closing of the window must be divided into a plurality of values and different threshold values must be set for each region. Furthermore, in the method of Patent Document 3, since the rotational speed of the motor is forcibly reduced before the window fully closed position, there is a possibility that pinching cannot be detected normally.

また、挟み込み時のモータの回転速度は、窓の位置だけでなく、他の要因によっても影響を受ける。例えば、大人の手が挟まれた場合と子供の手が挟まれた場合とでは、手の硬さが異なることから回転速度の減少度合いも異なる。さらに、モータの回転速度は、挟み込みが発生していなくても、周囲温度、路面状態、経年変化などによって変動する。このため、これらの要因によって誤った挟み込み判定が行われるおそれがある。   Further, the rotational speed of the motor at the time of clamping is influenced not only by the position of the window but also by other factors. For example, when the hand of an adult is pinched and when the hand of a child is pinched, the degree of decrease in the rotational speed is different because the hardness of the hand is different. Further, the rotational speed of the motor varies depending on the ambient temperature, road surface condition, secular change, and the like even if no pinching occurs. For this reason, there is a possibility that erroneous pinching determination is performed due to these factors.

そこで、本発明の課題は、種々の要因により開閉体の移動速度が変動しても、挟み込みを正確に検出することができる開閉体制御装置を簡易に実現することにある。   Therefore, an object of the present invention is to easily realize an opening / closing body control device that can accurately detect pinching even if the moving speed of the opening / closing body fluctuates due to various factors.

本発明に係る開閉体制御装置は、開閉体を開閉するためのモータの回転速度を検出する速度検出手段と、この速度検出手段が検出した回転速度の現在値と過去値とに基づいて、回転速度の変化量を算出する変化量算出手段と、この変化量算出手段で算出された変化量と所定の閾値とを比較し、当該比較結果に基づいて開閉体に異物が挟み込まれたか否かを判定する判定手段と、この判定手段により異物が挟み込まれたと判定された場合に、開閉体を開くように、または停止するようにモータを制御する制御手段と、開閉体の状態、または開閉体の周囲の状態を検出する状態検出手段とを備える。そして、変化量算出手段は、状態検出手段が検出した状態に応じて、回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出する。   The opening / closing body control device according to the present invention comprises a speed detection means for detecting a rotation speed of a motor for opening / closing the opening / closing body, and a rotation based on a current value and a past value of the rotation speed detected by the speed detection means. The change amount calculating means for calculating the change amount of the speed, the change amount calculated by the change amount calculating means and a predetermined threshold value are compared, and whether or not a foreign object is caught in the opening / closing body based on the comparison result is determined. A determination means for determining, a control means for controlling the motor so as to open or stop the opening / closing body, and a state of the opening / closing body, State detecting means for detecting a surrounding state. Then, the change amount calculating means selects a previous past value or a past value closer to the present as the past value of the rotation speed according to the state detected by the state detecting means, and the past value and the present value are selected. The amount of change in rotational speed is calculated using

本発明では、開閉体やその周囲の状態を検出する状態検出手段を設け、この検出手段の検出結果に応じて、回転速度の過去値を選択するようにしたので、状況に応じてより以前の過去値、または、より現在に近い過去値を用いることで、回転速度の変化量を大きくまたは小さくすることができ、これによって種々の要因により開閉体の移動速度が変動しても、挟み込みを正確に検出することが可能となる。   In the present invention, the state detecting means for detecting the opening and closing body and the surrounding state is provided, and the past value of the rotational speed is selected according to the detection result of the detecting means. By using past values or past values closer to the present, the amount of change in rotational speed can be increased or decreased, so that even if the moving speed of the switching body fluctuates due to various factors, pinching can be accurately performed. Can be detected.

状態検出手段としては、例えば、開閉体の位置を検出する位置検出手段を用いることができる。この場合、変化量算出手段は、開閉体がその移動速度の小さくなる方向に所定距離移動したことを位置検出手段が検出すると、回転速度の過去値としてより以前の過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出する。より具体的には、変化量算出手段は、開閉体がその移動速度の小さくなる方向に所定距離移動したことを位置検出手段が検出するまでは、回転速度の現在値と、当該現在値から第1の期間T1だけ遡った時点の過去値とに基づいて回転速度の変化量を算出し、開閉体がその移動速度の小さくなる方向に所定距離移動したことを位置検出手段が検出した時点以降は、回転速度の現在値と、当該現在値から第2の期間T2(T2>T1)だけ遡った時点の過去値とに基づいて回転速度の変化量を算出する。   As the state detection means, for example, a position detection means for detecting the position of the opening / closing body can be used. In this case, when the position detecting unit detects that the opening / closing body has moved a predetermined distance in the direction in which the moving speed decreases, the change amount calculating unit selects a previous past value as the past value of the rotation speed, and The amount of change in rotational speed is calculated using the value and the current value. More specifically, the change amount calculating means calculates the current value of the rotational speed and the current value from the current value until the position detecting means detects that the opening / closing body has moved a predetermined distance in the direction in which the moving speed decreases. After the time point when the position detecting means detects that the opening / closing body has moved a predetermined distance in the direction of decreasing the moving speed, the amount of change in the rotating speed is calculated based on the past value at the time point back by one period T1. Then, the amount of change in the rotational speed is calculated based on the current value of the rotational speed and the past value at a time point that is back from the current value by the second period T2 (T2> T1).

本発明では、開閉体が移動速度の小さくなる方向に移動して所定位置に至ると、回転速度の過去値としてより以前の値が選択され、この過去値を用いて回転速度の変化量が算出されるので、例えば移動速度が低下する前の過去値と現在値とから速度変化量を求めることで、開閉体の移動速度が小さくなっても大きな速度変化量が得られる。このため、開閉体の全閉位置付近で挟み込みが発生した場合、速度変化量が閾値に達して挟み込みを検出することが可能となり、人体に危害が生じるのを未然に防止することができる。また、窓の移動領域を複数に分割して、各領域毎に異なる閾値を設定する煩わしさもなく、簡易に実現することが可能である。   In the present invention, when the opening / closing body moves in the direction in which the moving speed decreases and reaches a predetermined position, an earlier value is selected as the past value of the rotational speed, and the amount of change in the rotational speed is calculated using this past value. Therefore, for example, by obtaining the speed change amount from the past value and the current value before the movement speed decreases, a large speed change amount can be obtained even if the movement speed of the opening / closing body is reduced. For this reason, when pinching occurs near the fully closed position of the opening / closing body, it is possible to detect the pinching by the amount of speed change reaching the threshold value, and it is possible to prevent the human body from being harmed. In addition, the window moving area can be divided into a plurality of parts and can be easily realized without the trouble of setting different threshold values for each area.

本発明における開閉体は、例えば、モータと連動して動く回動自在なアームに連結されていて、当該アームの回動により上下方向に移動可能であり、アームが水平状態から上向きに回動するにしたがって、開閉体が全開位置から全閉位置まで移動するようになっている。そして、アームが水平状態から一定量回動して、開閉体が所定距離だけ移動し全閉位置に近づいたときに、変化量算出手段が、第2の期間だけ遡った時点の過去値を用いて回転速度の変化量を算出する。   The opening / closing body in the present invention is connected to, for example, a rotatable arm that moves in conjunction with a motor, and can be moved up and down by the rotation of the arm, and the arm rotates upward from a horizontal state. Accordingly, the opening / closing body moves from the fully open position to the fully closed position. Then, when the arm rotates by a certain amount from the horizontal state and the opening / closing body moves by a predetermined distance and approaches the fully closed position, the change amount calculation means uses the past value at the time point that is traced back by the second period. To calculate the amount of change in rotation speed.

本発明の状態検出手段としては、乗員の重量を検出する重量検出手段を用いることもできる。この場合、変化量算出手段は、重量検出手段が検出した乗員の重量が所定値より小さい場合に、回転速度の過去値としてより以前の過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出する。これによると、子供が手を挟んだ場合、閾値はそのままでも、モータの回転速度の変化量が大きくなるので、挟み込みを確実に検出することができる。   As the state detection means of the present invention, weight detection means for detecting the weight of the occupant can also be used. In this case, when the weight of the occupant detected by the weight detection unit is smaller than the predetermined value, the change amount calculation unit selects the previous past value as the past value of the rotational speed, and uses the past value and the current value. To calculate the amount of change in rotation speed. According to this, when the child pinches the hand, the amount of change in the rotation speed of the motor becomes large even if the threshold value is kept as it is, so that pinching can be reliably detected.

本発明の状態検出手段としては、車体の周囲温度を検出する温度検出手段を用いることもできる。この場合、変化量算出手段は、温度検出手段が検出した周囲温度が所定値以上の高温である場合に、回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出する。また、変化量算出手段は、温度検出手段が検出した周囲温度が所定値未満の低温である場合も、回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出する。これによると、車体の周囲温度が高温または低温になっても、モータの回転速度の変化量を小さくして、挟み込みの誤判定を防止することができる。   As the state detection means of the present invention, temperature detection means for detecting the ambient temperature of the vehicle body can also be used. In this case, when the ambient temperature detected by the temperature detection unit is a high temperature that is equal to or higher than a predetermined value, the change amount calculation unit calculates an earlier past value or a past value closer to the present as the past value of the rotation speed. A change amount of the rotational speed is calculated using the past value and the current value. In addition, the change amount calculation means selects a previous past value or a past value closer to the present as the past value of the rotation speed even when the ambient temperature detected by the temperature detection means is a low temperature lower than a predetermined value. Then, the change amount of the rotational speed is calculated using the past value and the current value. According to this, even if the ambient temperature of the vehicle body becomes high or low, the amount of change in the rotational speed of the motor can be reduced to prevent erroneous determination of pinching.

本発明の状態検出手段としては、走行路面の状態を検出する走行路面状態検出手段を用いることもできる。この場合、変化量算出手段は、走行路面状態検出手段が検出した走行路面の状態に応じて、回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出する。これによると、走行路面が悪路である場合は、モータの回転速度の変化量を小さくして、挟み込みの誤判定を防止することができる。   As the state detecting means of the present invention, a traveling road surface state detecting means for detecting the state of the traveling road surface can be used. In this case, the change amount calculating means selects a previous past value or a past value closer to the present as the past value of the rotation speed according to the state of the traveling road surface detected by the traveling road surface state detecting means, The amount of change in rotational speed is calculated using the past value and the current value. According to this, when the traveling road surface is a rough road, the amount of change in the rotational speed of the motor can be reduced to prevent erroneous determination of pinching.

本発明の状態検出手段としては、経年変化を検出する経年変化検出手段を用いることもできる。この場合、変化量算出手段は、経年変化検出手段が検出した経年変化に応じて、回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出する。これによると、例えば、経年変化により窓の移動速度が全閉位置から全開位置へ至る間で変動した場合でも、モータの回転速度の変化量を小さくして、挟み込みの誤判定を防止することができる。   As the state detection means of the present invention, a secular change detection means for detecting a secular change can also be used. In this case, the change amount calculation means selects a previous past value or a past value closer to the present as the past value of the rotation speed according to the secular change detected by the secular change detection means, and the past value The amount of change in rotational speed is calculated using the current value. According to this, for example, even when the moving speed of the window fluctuates from the fully closed position to the fully open position due to secular change, it is possible to reduce the amount of change in the rotation speed of the motor and prevent erroneous determination of pinching. it can.

本発明によれば、種々の要因により開閉体の移動速度が変動しても、挟み込みを正確に検出することが可能となり、しかも挟み込み検出を簡易に実現することができる。   According to the present invention, even when the moving speed of the opening / closing body fluctuates due to various factors, it is possible to accurately detect pinching, and it is possible to easily realize pinching detection.

次に、本発明の実施形態につき図を参照して説明する。以下では、背景技術の項で説明した図1〜図4を本発明の実施形態として引用する。また、図12で説明した内容は、本発明の場合にも当てはまる。   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. Further, the contents described with reference to FIG. 12 also apply to the present invention.

図1は、本発明の第1実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。1は窓の開閉動作を制御するCPUからなる制御部、2はモータ3を駆動するモータ駆動回路、4はモータ3の回転に同期したパルスを出力するロータリエンコーダ、5はロータリエンコーダ4から出力されるパルスを検出するパルス検出回路、6はROMやRAM等から構成されるメモリ、7は窓の開閉を操作するための操作スイッチである。メモリ6には、挟み込み検出用の閾値βが記憶されている。ロータリエンコーダ4とパルス検出回路5とは、本発明における速度検出手段および位置検出手段の一例であり、制御部1は、本発明における変化量算出手段、判定手段および制御手段の一例である。   FIG. 1 is a block diagram showing an electrical configuration of the power window device according to the first embodiment of the present invention. 1 is a control unit composed of a CPU for controlling the opening and closing operation of 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 output from the rotary encoder 4. A pulse detection circuit for detecting a pulse, 6 a memory composed of a ROM, a RAM and the like, and 7 an operation switch for operating the opening and closing of the window. The memory 6 stores a trapping detection threshold value β. The rotary encoder 4 and the pulse detection circuit 5 are examples of speed detection means and position detection means in the present invention, and the control unit 1 is an example of change amount calculation means, determination means, and control means in the present invention.

図2は操作スイッチ7の一例を示しており、図3は窓開閉機構の一例を示しているが、これらについてはすでに説明済みなので、ここでは重複説明を省略する。   FIG. 2 shows an example of the operation switch 7, and FIG. 3 shows an example of the window opening / closing mechanism, but since these have already been described, redundant description is omitted here.

次に、本発明の原理について説明する。本発明では、パルス周波数の現在値と、現在から一定期間だけ遡った時点の過去値とに基づいて、前記の(1)式からパルス周波数の変化量Δfを算出し、この変化量Δfを閾値βと比較して挟み込みの有無を判定する点は、従来と同じである。しかしながら、従来は、窓ガラス101が全閉から全開までのどの位置にあっても、過去値を求める際に現在から過去に遡る期間が常に同じ(先の例ではa=6)であったのに対し、本発明の場合は、窓ガラス101が窓全閉位置付近の所定位置に至るまでと、当該所定位置に至った時点以後とで、現在から過去に遡る期間を異ならせる。   Next, the principle of the present invention will be described. In the present invention, based on the current value of the pulse frequency and the past value at a time point that has been traced back for a certain period of time, the amount of change Δf of the pulse frequency is calculated from the above equation (1), and this amount of change Δf is calculated as a threshold value. The point which determines the presence or absence of pinching compared with (beta) is the same as the past. However, conventionally, when the window glass 101 is in any position from fully closed to fully open, the period from the present to the past is always the same when obtaining the past value (a = 6 in the previous example). On the other hand, in the case of the present invention, the period from the present to the past is different between the time when the window glass 101 reaches a predetermined position near the window fully closed position and the time after the window glass 101 reaches the predetermined position.

すなわち、図5において、窓ガラス101が窓全開位置から閉方向(移動速度の小さくなる方向)へ距離Lだけ移動するまでは、(1)式において例えばa=6とし、現在から6個分のタイミングに相当する期間T1だけ遡った時点におけるパルス周波数を過去値として採用し、この過去値と現在値とからパルス周波数の変化量Δfを算出する。一方、窓ガラス101が閉方向へ距離Lだけ移動して窓全閉位置に近づくと、(1)式において例えばa=11とし、現在から11個分のタイミングに相当する期間T2(T2>T1)だけ遡った時点におけるパルス周波数を過去値として採用し、この過去値と現在値とからパルス周波数の変化量Δfを算出する。なお、窓ガラス101の移動位置は、ロータリエンコーダ4の出力パルスに基づいて検出することができるが、これとは別に専用の位置検出センサを設けてもよい。   That is, in FIG. 5, until the window glass 101 moves from the fully open position of the window by the distance L in the closing direction (direction in which the moving speed decreases), for example, a = 6 in the formula (1), and 6 pieces from the present. A pulse frequency at a time point that is traced back by a period T1 corresponding to the timing is adopted as a past value, and a pulse frequency change Δf is calculated from the past value and the current value. On the other hand, when the window glass 101 moves in the closing direction by the distance L and approaches the window fully closed position, for example, a = 11 in the equation (1), and a period T2 (T2> T1) corresponding to 11 timings from the present. ) Is used as a past value, and the change amount Δf of the pulse frequency is calculated from the past value and the current value. The moving position of the window glass 101 can be detected based on the output pulse of the rotary encoder 4, but a dedicated position detection sensor may be provided separately from this.

図6は、a=11とした場合のモータ回転速度の時間的変化を示したグラフである。図中の符号については、図13で説明したものと同じなので、ここでは重複説明を省略する。図6においては、現在のタイミングが例えばt19であるとした場合、そこから11個分遡ったタイミングt8におけるパルス周波数が過去値となる。この場合のパルス周波数の変化量は
Δf=f(8)−f(19)
となり、これは、先に述べたt19から6個分だけ遡った場合(a=6)のパルス周波数の変化量
Δf=f(13)−f(19)
と比較して大きな値となることが図6からわかる。この結果、窓の全閉位置付近、すなわち図5で窓ガラス101が距離L以上上昇した位置で挟み込みが発生した場合、a=6であれば、図13で説明したように、タイミングt19になっても変化量Δf2が閾値βに達せず挟み込みが検出されないが、a=11であれば、図6に示すように、タイミングt19でパルス周波数の変化量Δf2が閾値βに達し、挟み込みが検出される。
FIG. 6 is a graph showing temporal changes in the motor rotation speed when a = 11. The reference numerals in the figure are the same as those described with reference to FIG. In FIG. 6, when the current timing is, for example, t19, the pulse frequency at the timing t8 that is 11 times later is the past value. In this case, the amount of change in pulse frequency is
Δf = f (8) −f (19)
This is the amount of change in the pulse frequency when going back six times from the above-mentioned t19 (a = 6)
Δf = f (13) −f (19)
It can be seen from FIG. As a result, if pinching occurs in the vicinity of the fully closed position of the window, that is, the position where the window glass 101 is raised by the distance L or more in FIG. 5, if a = 6, as described in FIG. However, the amount of change Δf2 does not reach the threshold value β and pinching is not detected. However, if a = 11, as shown in FIG. The

したがって、窓ガラス101が距離Lだけ移動するまでは、(1)式でa=6としてパルス周波数の変化量を算出し、窓ガラス101が距離Lだけ移動した後は、(1)式でa=11としてパルス周波数の変化量を算出することにより、窓ガラス101が窓全閉位置に近づいた状態で挟み込みが発生した場合でも、これを正確に検出することが可能となる。なお、窓ガラス101が窓全開位置付近にある状態で挟み込みが発生した場合は、図13で説明したように、a=6であってもパルス周波数の変化量Δf1が閾値βに達し、挟み込みが検出される。また、窓ガラス101の全移動領域にわたってa=11とすることも考えられるが、モータ3の回転速度(パルス周波数)は、実際には、挟み込みが発生してなくても時間とともに変動するので、aの値を一律に大きくすることは、速度変化量の誤差が大きくなって好ましくない。そこで、本発明のように、速度変化量が小さくて挟み込み検出ができなくなる窓全閉位置付近においてのみaの値を大きくすることで、速度変化量の誤差を小さくしつつ、挟み込みの検出を可能とすることができる。なお、上で挙げたa=6、a=11の値は一例であって、本発明がこれらに拘束されるものでないことは言うまでもない。   Therefore, until the window glass 101 moves by the distance L, the amount of change in the pulse frequency is calculated with a = 6 in equation (1), and after the window glass 101 has moved by the distance L, a in equation (1) By calculating the amount of change in the pulse frequency as = 11, even when the window glass 101 is close to the window fully closed position, it can be accurately detected. In addition, when pinching occurs in a state in which the window glass 101 is in the vicinity of the window full open position, as described with reference to FIG. 13, even if a = 6, the pulse frequency change Δf1 reaches the threshold value β, and pinching occurs. Detected. Further, although it is conceivable that a = 11 over the entire movement region of the window glass 101, the rotational speed (pulse frequency) of the motor 3 actually varies with time even if no pinching occurs. It is not preferable to increase the value of a uniformly because the error of the speed change amount becomes large. Therefore, as in the present invention, it is possible to detect pinching while reducing the error in the speed variation amount by increasing the value a only in the vicinity of the window fully closed position where the pinching detection cannot be performed because the speed variation amount is small. It can be. It should be noted that the values of a = 6 and a = 11 given above are merely examples, and it goes without saying that the present invention is not limited to these values.

図7は、本発明の実施形態に係るパワーウィンドウ装置の基本的な動作を示したフローチャートである。図中の「SW」は「操作スイッチ7」を表している(以下のフローチャートにおいても同じ)。ステップS1で、操作スイッチ7がマニュアル閉MCの位置にあれば、マニュアル閉動作の処理が行われ(ステップS2)、ステップS3で、操作スイッチ7がオート閉ACの位置にあれば、オート閉動作の処理が行われ(ステップS4)、ステップS5で、操作スイッチ7がマニュアル開MOの位置にあれば、マニュアル開動作の処理が行われ(ステップS6)、ステップS7で、操作スイッチ7がオート開AOの位置にあれば、オート開動作の処理が行われる(ステップS8)。また、ステップS7で、操作スイッチ7がオート開AOの位置になければ、操作スイッチ7は中立Nの位置にあって、何も処理を行わない。ステップS2、S4、S6、S8の詳細については、以下に順を追って説明する。   FIG. 7 is a flowchart showing the basic operation of the power window device according to the embodiment of the present invention. “SW” in the drawing represents “operation switch 7” (the same applies to the following flowcharts). If the operation switch 7 is in the manual closing MC position in step S1, the manual closing operation is performed (step S2). If the operation switch 7 is in the auto closing AC position in step S3, the automatic closing operation is performed. If the operation switch 7 is in the manual opening MO position in step S5, the manual opening operation is performed (step S6). In step S7, the operation switch 7 is automatically opened. If it is at the position of AO, an automatic opening operation process is performed (step S8). If the operation switch 7 is not in the auto-open AO position in step S7, the operation switch 7 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は、図7のステップS2での「マニュアル閉処理」の詳細手順を示している。この処理手順については、従来と変わりはない。図8の手順は、制御部1を構成するCPUにより実行される。最初に、マニュアル閉動作により窓100が完全に閉じたか否かをロータリエンコーダ4の出力に基づいて判定する(ステップS11)。窓100が完全に閉じれば(ステップS11:YES)処理を終了し、完全に閉じてなければ(ステップS11:NO)、モータ駆動回路2から正転信号を出力してモータ3を正転させ、窓100を閉じる(ステップS12)。続いて、窓100が完全に閉じたか否かを判定し(ステップS13)、完全に閉じれば(ステップS13:YES)処理を終了し、完全に閉じてなければ(ステップS13:NO)、挟み込みを検出したか否かを判定する(ステップS14)。この挟み込みの検出にあたっては、前述のように、(1)式で求めたパルス周波数の変化量Δfを閾値βと比較し、Δf≧βであれば、挟み込みがあったと判定する。この場合、a=6として変化量Δf1を求め、これを閾値βと比較する。マニュアル閉動作の場合は、挟み込みが発生しても、操作スイッチ7の操作を止めることで窓ガラスを停止させることができ、オート閉動作の場合のように強制的に窓ガラスが閉じることがないので、あえてa=6とa=11とを使い分ける必要はない。勿論、マニュアル閉動作の場合に本発明を用いてもよいことは言うまでもない。   FIG. 8 shows a detailed procedure of the “manual closing process” in step S2 of FIG. This processing procedure is not different from the conventional one. The procedure in FIG. 8 is executed by the CPU that constitutes the control unit 1. 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), pinching is performed. It is determined whether or not it has been detected (step S14). In detecting this pinching, as described above, the change amount Δf of the pulse frequency obtained by the equation (1) is compared with the threshold value β, and if Δf ≧ β, it is determined that the pinching has occurred. In this case, the amount of change Δf1 is obtained with a = 6, and this is compared with the threshold value β. In the case of the manual closing operation, even if the pinch occurs, the window glass can be stopped by stopping the operation of the operation switch 7, and the window glass is not forcibly closed as in the case of the automatic closing operation. Therefore, it is not necessary to separately use a = 6 and a = 11. Of course, it goes without saying that the present invention may be used in a manual closing operation.

図4で示したような物体Zの挟み込みがあった場合は(ステップS14:YES)、モータ駆動回路2から逆転信号を出力してモータ3を逆転させ、窓100を開く(ステップS15)。これによって、挟み込みが解除される。そして、窓100が完全に開いたか否かを判定し(ステップS16)、完全に開けば(ステップS16:YES)処理を終了し、完全に開いてなければ(ステップS16:NO)、ステップS15へ戻ってモータ3の逆転を継続する。なお、モータ3を逆転させて窓100を開くことに代えて、モータ3を停止させて窓100がそれ以上閉じないようにしてもよい。   When the object Z is caught as shown in FIG. 4 (step S14: 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 S15). Thereby, the pinching is released. Then, it is determined whether or not the window 100 is completely opened (step S16). If the window 100 is completely opened (step S16: YES), the process is terminated. If the window 100 is not completely opened (step S16: NO), the process proceeds to step S15. Return to continue the reverse rotation of the motor 3. Instead of opening the window 100 by reversing the motor 3, the motor 3 may be stopped so that the window 100 does not close any more.

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

図9は、図7のステップS4での「オート閉処理」の詳細手順を示している。この処理手順(特にステップS34、S35)は、本発明の特徴をなすものである。図9の手順は、制御部1を構成するCPUにより実行される。最初に、オート閉動作により窓100が完全に閉じたか否かをロータリエンコーダ4の出力に基づいて判定する(ステップS31)。窓100が完全に閉じれば(ステップS31:YES)、ステップS43へ移行し、完全に閉じてなければ(ステップS31:NO)、ステップS32へ移行する。   FIG. 9 shows a detailed procedure of the “automatic closing process” in step S4 of FIG. This processing procedure (particularly steps S34 and S35) is a feature of the present invention. The procedure in FIG. 9 is executed by the CPU constituting the control unit 1. 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 proceeds to step S43, and if not completely closed (step S31: NO), the process proceeds to step S32.

ステップS32では、モータ駆動回路2へ正転信号を出力してモータ3を正転させ、窓100を閉じる。続いて、窓100が完全に閉じたか否かを判定し(ステップS33)、完全に閉じれば(ステップS33:YES)、ステップS43へ移行し、完全に閉じてなければ(ステップS33:NO)、ステップS34へ移行して、窓ガラス101が図5の距離Lの位置まで移動(上昇)したか否かを判定する。距離Lの位置まで移動していなければ(ステップS34:NO)、ステップS35を飛ばして、ステップS36へ移行する。また、窓ガラス101が距離Lの位置まで移動すれば(ステップS34:YES)、ステップS35へ進んで、周波数差分の比較間隔aをa=6(初期値)からa=11へ変更した後、ステップS36へ移行する。   In step S32, a normal rotation signal is output to the motor drive circuit 2 to cause the motor 3 to rotate normally, and the window 100 is closed. 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 proceeds to step S43, and if it is not completely closed (step S33: NO), It transfers to step S34 and it is determined whether the window glass 101 moved to the position of the distance L of FIG. If it has not moved to the position of the distance L (step S34: NO), step S35 is skipped and the process proceeds to step S36. Moreover, if the window glass 101 moves to the position of the distance L (step S34: YES), the process proceeds to step S35, and after changing the frequency difference comparison interval a from a = 6 (initial value) to a = 11, Control goes to step S36.

ステップS36では、挟み込みを検出したか否かを判定する。この挟み込みの検出にあたっては、前述のように、(1)式で求めたパルス周波数の変化量Δfを閾値βと比較し、Δf≧βであれば、挟み込みがあったと判定する。この場合、ステップS34の判定がNOであれば、a=6として求めた変化量Δfを閾値βと比較し、ステップS34の判定がYESであれば、a=11として求めた変化量Δfを閾値βと比較する。   In step S36, it is determined whether pinching has been detected. In detecting this pinching, as described above, the change amount Δf of the pulse frequency obtained by the equation (1) is compared with the threshold value β, and if Δf ≧ β, it is determined that the pinching has occurred. In this case, if the determination in step S34 is NO, the change amount Δf obtained as a = 6 is compared with the threshold value β, and if the determination in step S34 is YES, the change amount Δf obtained as a = 11 is the threshold value. Compare with β.

判定の結果、挟み込みがあった場合は(ステップS36:YES)、モータ駆動回路2から逆転信号を出力してモータ3を逆転させ、窓100を開く(ステップS37)。これによって、挟み込みが解除される。そして、窓100が完全に開いたか否かを判定し(ステップS38)、完全に開けば(ステップS38:YES)、ステップS43へ移り、完全に開いてなければ(ステップS38:NO)、ステップS37へ戻ってモータ3の逆転を継続する。なお、モータ3を逆転させて窓100を開くことに代えて、モータ3を停止させて窓100がそれ以上閉じないようにしてもよい。   As a result of the determination, if there is a pinch (step S36: YES), the motor drive circuit 2 outputs a reverse rotation signal to reverse the motor 3 and open the window 100 (step S37). Thereby, the pinching is released. Then, it is determined whether or not the window 100 is completely opened (step S38). If it is completely opened (step S38: YES), the process proceeds to step S43. If it is not completely opened (step S38: NO), step S37 is performed. Return to, and continue the reverse rotation of the motor 3. Instead of opening the window 100 by reversing the motor 3, the motor 3 may be stopped so that the window 100 does not close any more.

ステップS36で挟み込みが検出されなかった場合は(ステップS36:NO)、操作スイッチ7がマニュアル開MOの位置にあるか否かを判定する(ステップS39)。操作スイッチ7がマニュアル開MOの位置にあれば(ステップS39:YES)、後述(図10)のマニュアル開処理に移り(ステップS40)、マニュアル開MOの位置になければ(ステップS39:NO)、オート開AOの位置にあるか否かを判定する(ステップS41)。操作スイッチ7がオート開AOの位置にあれば(ステップS41:YES)、後述(図11)のオート開処理に移り(ステップS42)、操作スイッチ7がオート開AOの位置になければ(ステップS41:NO)、ステップS32へ戻ってオート閉動作を継続する。   When pinching is not detected in step S36 (step S36: NO), it is determined whether or not the operation switch 7 is in the manual opening MO position (step S39). If the operation switch 7 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 7 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 7 is not in the auto-open AO position (step S41). : NO), the process returns to step S32 to continue the automatic closing operation.

ステップS31、S33、S38で判定がYESの場合、およびステップS40、S42の実行後は、ステップS43へ移り、周波数差分の比較間隔aを11から初期値の6に変更する。   If the determination is YES in steps S31, S33, and S38, and after execution of steps S40 and S42, the process proceeds to step S43, and the frequency difference comparison interval a is changed from 11 to an initial value of 6.

図10は、図7のステップS6での「マニュアル開処理」の詳細手順を示している。この処理手順については、従来と変わりはない。図10の手順は、制御部1を構成するCPUにより実行される。最初に、マニュアル開動作により窓100が完全に開いたか否かをロータリエンコーダ4の出力に基づいて判定する(ステップS51)。窓100が完全に開けば(ステップS51:YES)処理を終了し、完全に開いてなければ(ステップS51:NO)、モータ駆動回路2から逆転信号を出力してモータ3を逆転させ、窓100を開ける(ステップS52)。続いて、窓100が完全に開いたか否かを判定し(ステップS53)、完全に開けば(ステップS53:YES)処理を終了し、完全に開いてなければ(ステップS53:NO)、操作スイッチ7がマニュアル開MOの位置にあるか否かを判定する(ステップS54)。操作スイッチ7がマニュアル開MOの位置にあれば(ステップS54:YES)、ステップS52へ戻ってモータ3の逆転を継続し、マニュアル開MOの位置になければ(ステップS54:NO)、オート開AOの位置にあるか否かを判定する(ステップS55)。操作スイッチ7がオート開AOの位置にあれば(ステップS55:YES)、後述(図11)のオート開処理に移り(ステップS56)、オート開AOの位置になければ(ステップS55:NO)、マニュアル閉MCの位置にあるか否かを判定する(ステップS57)。操作スイッチ7がマニュアル閉MCの位置にあれば(ステップS57:YES)、前述(図8)のマニュアル閉処理に移り(ステップS58)、マニュアル閉MCの位置になければ(ステップS57:NO)、オート閉ACの位置にあるか否かを判定する(ステップS59)。操作スイッチ7がオート閉ACの位置にあれば(ステップS59:YES)、前述(図9)のオート閉処理に移り(ステップS60)、操作スイッチ7がオート閉ACの位置になければ(ステップS59:NO)、何も処理せずに終了する。   FIG. 10 shows a detailed procedure of the “manual opening process” in step S6 of FIG. This processing procedure is not different from the conventional one. The procedure of FIG. 10 is executed by the CPU that constitutes the control unit 1. 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 or not 7 is at the position of manual opening MO (step S54). If the operation switch 7 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 7 is at the auto-open AO position (step S55: YES), the process proceeds to an auto-open process described later (FIG. 11) (step S56), and if it is not at 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 7 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 7 is in the auto-close AC position (step S59: YES), the process proceeds to the above-described auto-close process (step S60) (step S60). If the operation switch 7 is not in the auto-close AC position (step S59). : NO), the process ends without any processing.

図11は、図7のステップS8での「オート開処理」の詳細手順を示している。この処理手順については、従来と変わりはない。図11の手順は、制御部1を構成するCPUにより実行される。最初に、オート開動作により窓100が完全に開いたか否かをロータリエンコーダ4の出力に基づいて判定する(ステップS71)。窓100が完全に開けば(ステップS71:YES)処理を終了し、完全に開いてなければ(ステップS71:NO)、モータ駆動回路2から逆転信号を出力してモータ3を逆転させ、窓100を開ける(ステップS72)。続いて、窓100が完全に開いたか否かを判定し(ステップS73)、完全に開けば(ステップS73:YES)処理を終了し、完全に開いてなければ(ステップS73:NO)、操作スイッチ7がマニュアル閉MCの位置にあるか否かを判定する(ステップS74)。操作スイッチ7がマニュアル閉MCの位置にあれば(ステップS74:YES)、前述(図8)のマニュアル閉処理に移り(ステップS75)、マニュアル閉MCの位置になければ(ステップS74:NO)、オート閉ACの位置にあるか否かを判定する(ステップS76)。操作スイッチ7がオート閉ACの位置にあれば(ステップS76:YES)、前述(図9)のオート閉処理に移り(ステップS77)、操作スイッチ7がオート閉ACの位置になければ(ステップS76:NO)、ステップS72へ戻って、モータ3の逆転を継続する。   FIG. 11 shows a detailed procedure of the “automatic opening process” in step S8 of FIG. This processing procedure is not different from the conventional one. The procedure in FIG. 11 is executed by the CPU that constitutes the control unit 1. First, it is 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 or not 7 is at the position of the manual closing MC (step S74). If the operation switch 7 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 7 is in the auto-close AC position (step S76: YES), the process proceeds to the auto-close process described above (FIG. 9) (step S77). If the operation switch 7 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.

以上のように、上述した第1実施形態においては、窓ガラス101の閉方向への移動距離がLに至ると、モータ3の回転速度(パルス周波数)の過去値としてより以前の過去値が選択され、この過去値を用いて回転速度の変化量が算出される。したがって、例えば移動速度が低下する前(図6のt1〜t9)の過去値と現在値とから速度変化量を求めることで、窓ガラス101の移動速度が小さくなっても大きな速度変化量が得られる。このため、窓全閉位置付近で挟み込みが発生した場合、速度変化量Δf2が閾値βに達して挟み込みを検出することが可能となり、人体に危害が生じるのを未然に防止することができる。また、前掲の特許文献2のように複数に分割された窓移動領域毎に異なる閾値を設定する煩わしさもなく、簡易に実現することが可能である。   As described above, in the first embodiment described above, when the moving distance of the window glass 101 in the closing direction reaches L, the previous past value is selected as the past value of the rotation speed (pulse frequency) of the motor 3. Then, the amount of change in the rotational speed is calculated using this past value. Therefore, for example, by obtaining the speed change amount from the past value and the current value before the moving speed is lowered (t1 to t9 in FIG. 6), a large speed change amount is obtained even if the moving speed of the window glass 101 is reduced. It is done. For this reason, when the trapping occurs near the window fully closed position, the speed change amount Δf2 reaches the threshold value β and it is possible to detect the trapping, and it is possible to prevent the human body from being harmed. In addition, unlike the above-mentioned Patent Document 2, it is possible to easily realize without the trouble of setting a different threshold value for each of the divided window moving areas.

図14は、本発明の第2実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。図14においては、図1の構成に加えて荷重センサ8が設けられている。その他は図1と同じであるので、図1と同一部分については、同一符号を付して説明は省略する。荷重センサ8は、本発明における重量検出手段の一例であり、車両のシートの内部に配置され、乗員の着座時の体重を検出する。荷重センサ8としては、例えば、特開2005−231539号公報に記載されているような公知のセンサを用いることができる。   FIG. 14 is a block diagram showing an electrical configuration of a power window device according to the second embodiment of the present invention. In FIG. 14, a load sensor 8 is provided in addition to the configuration of FIG. Since the other parts are the same as those in FIG. 1, the same parts as those in FIG. The load sensor 8 is an example of the weight detection means in the present invention, and is disposed inside the vehicle seat, and detects the weight when the occupant is seated. As the load sensor 8, for example, a known sensor described in JP-A-2005-231539 can be used.

図15は、大人の手が窓に挟まれた場合のモータ3の回転速度の変化を示したグラフである。また、図16は、子供の手が窓に挟まれた場合のモータ3の回転速度の変化を示したグラフである。各図の縦軸はモータ回転速度に相当する周波数(単位:Hz)および周波数の差分(単位:Hz)を表し、横軸は時間に相当するパルスエッジの数を表している。また、各図において、周波数差分の比較間隔Tは、T=6としてある。すなわち、周波数差分は、現在の周波数と、それより6個前の過去値との差として算出される。なお、Tは、先の(1)式におけるaと同じものである。また、T=6は一例であって、これに拘束されるものではない。   FIG. 15 is a graph showing changes in the rotational speed of the motor 3 when an adult's hand is sandwiched between windows. FIG. 16 is a graph showing changes in the rotational speed of the motor 3 when a child's hand is sandwiched between windows. In each figure, the vertical axis represents the frequency (unit: Hz) corresponding to the motor rotation speed and the frequency difference (unit: Hz), and the horizontal axis represents the number of pulse edges corresponding to time. In each figure, the frequency difference comparison interval T is T = 6. In other words, the frequency difference is calculated as the difference between the current frequency and the past value six previous. T is the same as a in the previous equation (1). Moreover, T = 6 is an example, and is not limited thereto.

図15と図16との比較からわかるように、大人の手が挟まれた場合(図15)、大人の手は子供の手に比べ骨格などが硬いため、挟み込み時にモータの回転速度(周波数)は大きな減少傾向を示す。したがって、周波数の差分値が閾値を上回り、挟み込みが発生したと判定される。一方、子供の手が挟まれた場合(図16)、子供の手は大人の手に比べ骨格が柔らかいため、挟み込み時にモータの回転速度(周波数)は緩やかな減少傾向を示す。したがって、周波数の差分値は閾値に届く前に飽和して一定値となるので、挟み込みが生じているにもかかわらず、挟み込みが発生したと判定されないことになる。   As can be seen from the comparison between FIG. 15 and FIG. 16, when an adult's hand is pinched (FIG. 15), the skeleton of the adult hand is harder than that of a child's hand. Indicates a large downward trend. Therefore, the frequency difference value exceeds the threshold value, and it is determined that pinching has occurred. On the other hand, when a child's hand is pinched (FIG. 16), the child's hand has a softer skeleton than an adult's hand, and therefore the rotational speed (frequency) of the motor shows a gradual decreasing tendency when pinched. Therefore, since the frequency difference value is saturated before reaching the threshold value and becomes a constant value, it is not determined that pinching has occurred even though pinching has occurred.

そこで、本実施形態では、荷重センサ8が検出した乗員の重量が所定値より小さい場合(例えば、検出荷重が7N/mmの場合)、制御部1は、そのシートに着座している乗員が子供であると判断し、比較間隔をTからT+γに変更して、周波数差分を演算する。図17は、T=6、γ=5とした場合の、周波数差分の変化を示したグラフである。ここでは、周波数差分は、現在の周波数と、それより11個前の過去値との差として算出される。なお、γ=5の値も一例であって、これに拘束されるものではない。このように、乗員が子供であることが検出された場合に、周波数(すなわち回転速度)の過去値として、より以前の過去値を選択し、この過去値と現在値とを用いて周波数差分(すなわち回転速度の変化量)を算出すると、図17に示されるように、挟み込み時のモータ回転速度の減少度合いが小さくても、周波数差分が大きくなって閾値を上回るので、挟み込みの発生を確実に検出することができる。   Therefore, in this embodiment, when the weight of the occupant detected by the load sensor 8 is smaller than a predetermined value (for example, when the detected load is 7 N / mm), the control unit 1 determines that the occupant seated on the seat is a child. The comparison interval is changed from T to T + γ, and the frequency difference is calculated. FIG. 17 is a graph showing changes in frequency difference when T = 6 and γ = 5. Here, the frequency difference is calculated as the difference between the current frequency and the past value 11 previous. Note that the value of γ = 5 is also an example, and is not limited thereto. Thus, when it is detected that the occupant is a child, an earlier past value is selected as the past value of the frequency (that is, the rotation speed), and a frequency difference ( That is, as shown in FIG. 17, even if the degree of decrease in the motor rotation speed during pinching is small, the frequency difference becomes large and exceeds the threshold value, as shown in FIG. Can be detected.

図18は、本発明の第3実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。図18においては、図1の構成に加えて温度センサ9が設けられている。その他は図1と同じであるので、図1と同一部分については、同一符号を付して説明は省略する。温度センサ9は、本発明における温度検出手段の一例であり、車両周囲の温度が測定可能なように、車体の適宜箇所に設けられる。この温度センサ9も公知のセンサを用いることができる。   FIG. 18 is a block diagram showing an electrical configuration of a power window device according to the third embodiment of the present invention. In FIG. 18, a temperature sensor 9 is provided in addition to the configuration of FIG. Since the other parts are the same as those in FIG. 1, the same parts as those in FIG. The temperature sensor 9 is an example of the temperature detection means in the present invention, and is provided at an appropriate location on the vehicle body so that the temperature around the vehicle can be measured. As the temperature sensor 9, a known sensor can be used.

車両周囲の温度が常温であれば、挟み込みが発生していない場合のモータ3の回転速度は、図23に示したようなパターンとなる。以下、図23のパターンを「パターン1」という。図23のように、常温時には、モータ3の回転速度(周波数)は一定であり、周波数の差分値が閾値を上回ることはない。したがって、当然のことながら、挟み込みの誤判定は発生しない。   If the temperature around the vehicle is normal temperature, the rotation speed of the motor 3 when no pinching occurs is a pattern as shown in FIG. Hereinafter, the pattern of FIG. 23 is referred to as “pattern 1”. As shown in FIG. 23, at the normal temperature, the rotation speed (frequency) of the motor 3 is constant, and the frequency difference value does not exceed the threshold value. Therefore, as a matter of course, an erroneous determination of pinching does not occur.

車両周囲の温度が高温になると、モータ3の回転速度は、挟み込みが発生していないにもかかわらず一定ではなく、図24のように変動する特性があることが実験的に確認されている。以下、図24のパターンを「パターン2」という。図24においては、モータ回転速度の正弦波的な変動のために、比較間隔がT(ここではT=3)の場合の周波数差分(■で示す)が大きくなって閾値を上回り、挟み込みが発生していないにも関わらず、挟み込みが発生したと誤判定されてしまう。   It has been experimentally confirmed that when the temperature around the vehicle becomes high, the rotational speed of the motor 3 is not constant despite the occurrence of pinching, and varies as shown in FIG. Hereinafter, the pattern of FIG. 24 is referred to as “pattern 2”. In FIG. 24, because of the sinusoidal fluctuation of the motor rotation speed, the frequency difference (indicated by ■) increases when the comparison interval is T (here, T = 3), exceeds the threshold value, and pinching occurs. Although it is not done, it is erroneously determined that the pinching has occurred.

そこで、本実施形態では、温度センサ9の検出した車両周囲の温度が所定値以上の高温の場合、制御部1は、比較間隔をTからT+γに変更して、周波数差分を演算する。図24では、T=3、γ=3とし、現在の周波数と、それより6個前の過去値との差として周波数差分(▲で示す)を算出する。このように、周囲温度が高温であることが検出された場合に、周波数(すなわち回転速度)の過去値として、より以前の過去値を選択し、この過去値と現在値とを用いて周波数差分(すなわち回転速度の変化量)を算出すると、モータ回転速度の変動が大きくても、周波数差分が小さくなって閾値を上回ることがないので、挟み込みが発生したとは判定されず、誤判定を防止することができる。   Therefore, in the present embodiment, when the temperature around the vehicle detected by the temperature sensor 9 is a high temperature equal to or higher than a predetermined value, the control unit 1 calculates the frequency difference by changing the comparison interval from T to T + γ. In FIG. 24, T = 3 and γ = 3, and the frequency difference (indicated by ▲) is calculated as the difference between the current frequency and the past value six times before. As described above, when it is detected that the ambient temperature is high, a previous past value is selected as the past value of the frequency (that is, the rotation speed), and the frequency difference is calculated using the past value and the current value. When calculating (that is, the amount of change in rotational speed), even if the fluctuation of the motor rotational speed is large, the frequency difference does not decrease and does not exceed the threshold value. can do.

一方、車両周囲の温度が低温になると、モータ3の回転速度は、挟み込みが発生していないにもかかわらず一定ではなく、図25のように、窓の全開から全閉に至るまでに一旦減少し、その後増加する特性があることが実験的に確認されている。以下、図25のパターンを「パターン3」という。図25においては、モータ回転速度のV字形変動のために、比較間隔がT(ここではT=3)の場合の周波数差分(細実線で示す)が大きくなって閾値を上回り、挟み込みが発生していないにも関わらず、挟み込みが発生したと誤判定されてしまう。   On the other hand, when the temperature around the vehicle becomes low, the rotational speed of the motor 3 is not constant despite the occurrence of pinching, and temporarily decreases until the window is fully opened to fully closed as shown in FIG. However, it has been experimentally confirmed that there is an increasing characteristic thereafter. Hereinafter, the pattern of FIG. 25 is referred to as “pattern 3”. In FIG. 25, due to the V-shaped fluctuation of the motor rotation speed, the frequency difference (indicated by a thin solid line) when the comparison interval is T (here, T = 3) becomes large and exceeds the threshold value, and pinching occurs. Although it is not, it is erroneously determined that the pinching has occurred.

そこで、本実施形態では、温度センサ9の検出した車両周囲の温度が所定値未満の低温の場合、制御部1は、比較間隔をTからT−αに変更して、周波数差分を演算する。図25では、T=3、α=1とし、現在の周波数と、それより2個前の過去値との差として周波数差分(太実線で示す)を算出する。このように、周囲温度が低温であることが検出された場合に、周波数(すなわち回転速度)の過去値として、より現在に近い過去値を選択し、この過去値と現在値とを用いて周波数差分(すなわち回転速度の変化量)を算出すると、モータ回転速度の変動が大きくても、周波数差分が小さくなって閾値を上回ることがないので、挟み込みが発生したとは判定されず、誤判定を防止することができる。   Therefore, in the present embodiment, when the temperature around the vehicle detected by the temperature sensor 9 is a low temperature lower than a predetermined value, the control unit 1 changes the comparison interval from T to T-α and calculates the frequency difference. In FIG. 25, T = 3 and α = 1, and a frequency difference (indicated by a bold solid line) is calculated as a difference between the current frequency and the previous value two times earlier. As described above, when it is detected that the ambient temperature is low, a past value closer to the present is selected as the past value of the frequency (that is, the rotation speed), and the frequency is determined using the past value and the present value. When the difference (that is, the amount of change in the rotational speed) is calculated, even if the fluctuation in the motor rotational speed is large, the frequency difference does not decrease and does not exceed the threshold value. Can be prevented.

なお、図24においては、比較間隔をT+γとして、より以前の過去値を選択し、図25においては、比較間隔をT−αとして、より現在に近い過去値を選択したが、原理的には、図24において比較間隔をT−αとし、図25において比較間隔をT+γとすることも可能である。T、α、γの値は、モータ特性に応じて適切に選定される。   In FIG. 24, the previous past value is selected with the comparison interval being T + γ, and in FIG. 25, the past value closer to the present is selected with the comparison interval being T−α. In FIG. 24, the comparison interval may be T-α, and in FIG. 25, the comparison interval may be T + γ. The values of T, α, and γ are appropriately selected according to the motor characteristics.

図19は、本発明の第4実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。図19においては、図1の構成に加えて加速度センサ10が設けられている。その他は図1と同じであるので、図1と同一部分については、同一符号を付して説明は省略する。加速度センサ10は、本発明における走行路面状態検出手段の一例であり、悪路走行時に車両に加わる加速度を測定可能なように、車体の適宜箇所に設けられる。この加速度センサ10も公知のセンサを用いることができる。   FIG. 19 is a block diagram showing an electrical configuration of a power window device according to the fourth embodiment of the present invention. In FIG. 19, an acceleration sensor 10 is provided in addition to the configuration of FIG. Since the other parts are the same as those in FIG. 1, the same parts as those in FIG. The acceleration sensor 10 is an example of a traveling road surface state detecting means in the present invention, and is provided at an appropriate location on the vehicle body so that the acceleration applied to the vehicle when traveling on a rough road can be measured. As the acceleration sensor 10, a known sensor can be used.

車両の走行している路面が平地であれば、挟み込みが発生していない場合のモータ3の回転速度は、先のパターン1(図23)のようになる。平地走行時は、モータ3の回転速度(周波数)は一定であり、周波数の差分値が閾値を上回ることはない。したがって、当然のことながら、挟み込みの誤判定は発生しない。   If the road surface on which the vehicle is traveling is flat, the rotational speed of the motor 3 when no pinching occurs is as in the previous pattern 1 (FIG. 23). When running on flat ground, the rotational speed (frequency) of the motor 3 is constant, and the difference value of the frequency does not exceed the threshold value. Therefore, as a matter of course, an erroneous determination of pinching does not occur.

車両の走行している路面が悪路(舗装されていない砂利道、凸凹道など)であれば、モータ3の回転速度は、挟み込みが発生していないにもかかわらず一定ではなく、先のパターン2(図24)のようになることが実験的に確認されている。このため、図24で説明したように、周波数差分が大きくなって閾値を上回り、挟み込みが発生していないにも関わらず、挟み込みが発生したと誤判定されてしまう。   If the road surface on which the vehicle is traveling is a rough road (such as an unpaved gravel road, a bumpy road, etc.), the rotational speed of the motor 3 is not constant despite the occurrence of pinching, and the previous pattern 2 (FIG. 24) has been experimentally confirmed. Therefore, as described with reference to FIG. 24, the frequency difference becomes large and exceeds the threshold value, and it is erroneously determined that the pinching has occurred although the pinching has not occurred.

そこで、本実施形態では、加速度センサ10の検出した加速度値が所定値以上の場合、制御部1は、車両の走行路面が悪路であると判断し、第3実施形態の場合と同様に、比較間隔をTからT+γに変更して、より以前の過去値を用いて周波数差分を演算する。これにより、モータ回転速度の変動が大きくても、周波数差分が小さくなって閾値を上回ることがないので、挟み込みが発生したとは判定されず、誤判定を防止することができる。   Therefore, in the present embodiment, when the acceleration value detected by the acceleration sensor 10 is equal to or greater than a predetermined value, the control unit 1 determines that the traveling road surface of the vehicle is a bad road, and as in the case of the third embodiment, The comparison interval is changed from T to T + γ, and the frequency difference is calculated using the previous past value. As a result, even if the fluctuation of the motor rotation speed is large, the frequency difference does not decrease and does not exceed the threshold value, so that it is not determined that pinching has occurred, and erroneous determination can be prevented.

ここでは、比較間隔をT+γとして、より以前の過去値を選択したが、原理的には、比較間隔をT−αとし、より現在に近い過去値を選択することも可能である。T、α、γの値は、モータ特性に応じて適切に選定される。また、図19では、走行路面状態検出手段として加速度センサ10を用いたが、加速度センサ10に代えて路面を撮像する撮像装置を用い、画像処理によって悪路を検出するようにしてもよい。   Here, the previous past value is selected by setting the comparison interval to T + γ, but in principle, it is also possible to select the past value closer to the present time by setting the comparison interval to T−α. The values of T, α, and γ are appropriately selected according to the motor characteristics. In FIG. 19, the acceleration sensor 10 is used as the traveling road surface state detection unit. However, instead of the acceleration sensor 10, an imaging device that images a road surface may be used, and a bad road may be detected by image processing.

なお、悪路と判定される前に挟み込みの誤判定が発生する場合が考えられるが、これに関しては、周波数差分が一定期間内に一定回数(例えば3回)以上閾値を上回ったか否かを監視し、上回った場合に挟み込みがあったと判定するなどの方法で対処すればよい。   In addition, there may be a case where an erroneous determination of pinching occurs before it is determined as a rough road. In this regard, it is monitored whether the frequency difference exceeds a threshold value a certain number of times (for example, three times) within a certain period. However, if it exceeds, it may be dealt with by a method such as determining that there is pinching.

図20は、本発明の第5実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。図20においては、図1の構成に加えて、操作カウンタ11が制御部1に設けられている。その他は図1と同じであるので、図1と同一部分については、同一符号を付して説明は省略する。操作カウンタ11は、本発明における経年変化検出手段の一例である。操作カウンタ11の初期値は、工場出荷時に0に設定されており、操作スイッチ7により窓の開閉操作が行われるごとに、カウンタ値は+1ずつ加算される。   FIG. 20 is a block diagram showing an electrical configuration of a power window device according to the fifth embodiment of the present invention. In FIG. 20, an operation counter 11 is provided in the control unit 1 in addition to the configuration of FIG. 1. Since the other parts are the same as those in FIG. 1, the same parts as those in FIG. The operation counter 11 is an example of the secular change detection means in the present invention. The initial value of the operation counter 11 is set to 0 at the time of shipment from the factory, and the counter value is incremented by +1 every time the window is opened / closed by the operation switch 7.

車両を購入してから日数が経ってなければ、挟み込みが発生していない場合のモータ3の回転速度は、先のパターン1(図23)のようになる。モータ3の回転速度(周波数)は一定であり、周波数の差分値が閾値を上回ることはない。したがって、当然のことながら、挟み込みの誤判定は発生しない。   If the number of days has not passed since the purchase of the vehicle, the rotational speed of the motor 3 when no pinching has occurred is as in the previous pattern 1 (FIG. 23). The rotation speed (frequency) of the motor 3 is constant, and the frequency difference value does not exceed the threshold value. Therefore, as a matter of course, an erroneous determination of pinching does not occur.

車両を購入してから一定以上期間が経つと、モータ3の回転速度は、挟み込みが発生していないにもかかわらず一定ではなく、部品の劣化や摩擦の増加などの要因により、先のパターン2(図24)やパターン3(図25)のように変化する。また、複合的な要因があると、モータ3の回転速度は、図26のパターン4のように、複雑な変動を示すことが実験的に確認されている。いずれのパターンにおいても、比較間隔がTの場合は、周波数差分が大きくなって閾値を上回り、挟み込みが発生していないにも関わらず、挟み込みが発生したと誤判定されてしまう。   After a certain period of time has passed since the purchase of the vehicle, the rotational speed of the motor 3 is not constant despite the fact that no pinching has occurred, and due to factors such as deterioration of parts and increase in friction, the previous pattern 2 It changes as shown in FIG. 24 and pattern 3 (FIG. 25). Further, it has been experimentally confirmed that when there are complex factors, the rotational speed of the motor 3 shows complicated fluctuations as shown in the pattern 4 in FIG. In any pattern, when the comparison interval is T, the frequency difference becomes large and exceeds the threshold value, so that it is erroneously determined that pinching has occurred although pinching has not occurred.

そこで、本実施形態では、操作カウンタ11のカウント値に基づいて経年変化を検出し、カウント値が所定値K(例えばK=10000)に達したときに、制御部1は、モータ回転速度のパターンに応じて、比較間隔をTからT+γに変更し、あるいは比較間隔をTからT−αに変更して、より以前の過去値、あるいはより現在に近い過去値を用いて周波数差分を演算する。これにより、モータ回転速度の変動が大きくても、周波数差分が小さくなって閾値を上回ることがないので、挟み込みが発生したとは判定されず、誤判定を防止することができる。   Therefore, in this embodiment, when the secular change is detected based on the count value of the operation counter 11 and the count value reaches a predetermined value K (for example, K = 10000), the control unit 1 displays the pattern of the motor rotation speed. Accordingly, the comparison interval is changed from T to T + γ, or the comparison interval is changed from T to T−α, and the frequency difference is calculated using an earlier past value or a past value closer to the present. As a result, even if the fluctuation of the motor rotation speed is large, the frequency difference does not decrease and does not exceed the threshold value, so that it is not determined that pinching has occurred, and erroneous determination can be prevented.

図21および図22は、上述した第5実施形態の動作を示すフローチャートである。図21は基本的な動作を示したフローチャートで、図7に対応している。図21において、図7と同一の処理を行うステップには同一符号を付してある。図21では、ステップS1、S3、S5、S7の次に、操作カウンタ11のカウント値CNTに1を加算するステップS1a、S3a、S5a、S7aがそれぞれ追加されている。このため、操作スイッチ7がマニュアル閉、オート閉、マニュアル開、オート開のいずれに操作されても、操作カウンタ11のカウント値CNTには1が加算される。すなわち、窓の開閉操作が行われるたびに、カウント値CNTは+1ずつ歩進するようになっている。   21 and 22 are flowcharts showing the operation of the fifth embodiment described above. FIG. 21 is a flowchart showing the basic operation and corresponds to FIG. In FIG. 21, steps for performing the same processing as in FIG. In FIG. 21, steps S1a, S3a, S5a, and S7a for adding 1 to the count value CNT of the operation counter 11 are added after steps S1, S3, S5, and S7, respectively. Therefore, 1 is added to the count value CNT of the operation counter 11 regardless of whether the operation switch 7 is operated manually closed, automatically closed, manually opened, or automatically opened. That is, every time a window opening / closing operation is performed, the count value CNT is incremented by +1.

図22はオート閉処理における動作を示したフローチャートで、図9に対応している。図22において、図9と同一の処理を行うステップには同一符号を付してある。図22で図9と異なるのは、ステップS34a、S35a、S35bの部分である。また、図9のステップS43は、図22では省略されている。ステップS34aでは、操作カウンタ11のカウント値CNTが所定値Kに達したか否かが判定され、達してなければ(ステップS34a:NO)、周波数差分の比較間隔をTとし(ステップS35b)、これに基づいて算出した周波数差分を用いて挟み込み検出を行う(ステップS36)。挟み込み検出の方法は、第1実施形態の場合と同じである。また、操作カウンタ11のカウント値CNTが所定値Kに達すると(ステップS34a:YES)、周波数差分の比較間隔をTからT+γに変更し(ステップS35a)、これに基づいて算出した周波数差分を用いて挟み込み検出を行う(ステップS36)。   FIG. 22 is a flowchart showing the operation in the automatic closing process, and corresponds to FIG. In FIG. 22, steps that perform the same processing as in FIG. 9 are given the same reference numerals. FIG. 22 differs from FIG. 9 in the steps S34a, S35a, and S35b. Further, step S43 in FIG. 9 is omitted in FIG. In step S34a, it is determined whether or not the count value CNT of the operation counter 11 has reached the predetermined value K. If not (step S34a: NO), the frequency difference comparison interval is set to T (step S35b). The pinch detection is performed using the frequency difference calculated based on (step S36). The method for detecting pinching is the same as in the first embodiment. When the count value CNT of the operation counter 11 reaches the predetermined value K (step S34a: YES), the frequency difference comparison interval is changed from T to T + γ (step S35a), and the frequency difference calculated based on this is used. Then, pinching detection is performed (step S36).

なお、図22では、ステップS35aにおいて、周波数差分の比較間隔をTからT+γに変更したが、比較間隔をTからT−αに変更するようにしてもよい。T、α、γの値は、モータ特性に応じて適切に選定される。また、図20では、操作スイッチ7の操作により加算される操作カウンタ11を設けたが、初期値がKに設定され操作スイッチ7の操作により減算される操作カウンタを設け、カウント値が0になったときに、周波数差分の比較間隔を変更するようにしてもよい。さらに、経年変化検出手段として、操作カウンタに代えて、車両の走行距離を計数する走行距離カウンタを設け、走行距離が一定値に達した場合に、周波数差分の比較間隔を変更するようにしてもよい。   In FIG. 22, the frequency difference comparison interval is changed from T to T + γ in step S35a, but the comparison interval may be changed from T to T−α. The values of T, α, and γ are appropriately selected according to the motor characteristics. In FIG. 20, the operation counter 11 that is added by the operation of the operation switch 7 is provided. However, an operation counter that is set to an initial value K and is subtracted by the operation of the operation switch 7 is provided, and the count value becomes zero. The frequency difference comparison interval may be changed. Further, as the secular change detection means, a travel distance counter that counts the travel distance of the vehicle is provided instead of the operation counter, and the frequency difference comparison interval is changed when the travel distance reaches a certain value. Good.

以上述べた各実施形態では、モータ3の回転速度をパルスの周波数に基づいて検出するようにしたが、これに代えて、パルスの周期に基づいて回転速度を検出するようにしてもよい。あるいは、モータ3に流れる電流の値に基づいて回転速度を検出するようにしてもよい。この場合は、速度検出手段として電流検出回路を設ければよい。   In each of the embodiments described above, the rotation speed of the motor 3 is detected based on the pulse frequency. Instead, the rotation speed may be detected based on the pulse period. Or you may make it detect a rotational speed based on the value of the electric current which flows into the motor 3. FIG. In this case, a current detection circuit may be provided as speed detection means.

また、以上述べた各実施形態では、開閉体として車両の窓ガラスを例に挙げたが、本発明は、車両の後部ドアやサンルーフなどの開閉体の制御にも適用することができる。さらには、車両に限らず、建物の窓や扉などを開閉制御する場合にも本発明は適用が可能である。   In each embodiment described above, the window glass of the vehicle is taken as an example of the opening / closing body, but the present invention can also be applied to control of the opening / closing body such as a rear door of the vehicle and a sunroof. Furthermore, the present invention can be applied not only to vehicles but also to opening / closing control of windows and doors of buildings.

本発明の第1実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。It is the block diagram which showed the electrical structure of the power window apparatus which concerns on 1st 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. 窓ガラスの移動位置を説明する図である。It is a figure explaining the movement position of a window glass. モータ回転速度の時間的変化の例を示したグラフである。It is the graph which showed the example of the time change of motor rotation speed. パワーウィンドウ装置の基本的な動作を示したフローチャートである。It is the flowchart which showed the basic operation | movement of the power window apparatus. マニュアル閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the manual closing process. オート閉処理の詳細手順を表したフローチャートである。It is a flowchart showing the detailed procedure of the automatic closing process. マニュアル開処理の詳細手順を表したフローチャートである。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. 全閉位置付近で窓ガラスの移動速度が小さくなる原理を説明する図である。It is a figure explaining the principle that the moving speed of a window glass becomes small near the fully closed position. モータ回転速度の時間的変化の例を示したグラフである。It is the graph which showed the example of the time change of motor rotation speed. 本発明の第2実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。It is the block diagram which showed the electric constitution of the power window apparatus which concerns on 2nd Embodiment of this invention. 大人の手が窓に挟まれた場合のモータ回転速度の変化を示したグラフである。It is the graph which showed the change of motor rotation speed when an adult's hand is pinched by a window. 子供の手が窓に挟まれた場合のモータ回転速度の変化を示したグラフである。It is the graph which showed the change of motor rotation speed when a child's hand is pinched by a window. 周波数差分の比較間隔を変更した場合のグラフである。It is a graph at the time of changing the comparison interval of a frequency difference. 本発明の第3実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。It is the block diagram which showed the electric constitution of the power window apparatus which concerns on 3rd Embodiment of this invention. 本発明の第4実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。It is the block diagram which showed the electric constitution of the power window apparatus which concerns on 4th Embodiment of this invention. 本発明の第5実施形態に係るパワーウィンドウ装置の電気的構成を示したブロック図である。It is the block diagram which showed the electric constitution of the power window apparatus which concerns on 5th Embodiment of this invention. 第5実施形態における全体動作を示したフローチャートである。It is the flowchart which showed the whole operation in 5th Embodiment. 第5実施形態におけるオート閉動作を示したフローチャートである。It is the flowchart which showed the automatic closing operation | movement in 5th Embodiment. モータ回転速度の特性(パターン1)を示したグラフである。It is the graph which showed the characteristic (pattern 1) of the motor rotational speed. モータ回転速度の特性(パターン2)を示したグラフである。It is the graph which showed the characteristic (pattern 2) of the motor rotational speed. モータ回転速度の特性(パターン3)を示したグラフである。It is the graph which showed the characteristic (pattern 3) of the motor rotational speed. モータ回転速度の特性(パターン4)を示したグラフである。It is the graph which showed the characteristic (pattern 4) of the motor rotational speed.

符号の説明Explanation of symbols

1 制御部
2 モータ駆動回路
3 モータ
4 ロータリエンコーダ
5 パルス検出回路
6 メモリ
7 操作スイッチ
8 荷重センサ
9 温度センサ
10 加速度センサ
11 操作カウンタ
100 窓
101 窓ガラス
102 窓開閉機構
Z 物体
DESCRIPTION OF SYMBOLS 1 Control part 2 Motor drive circuit 3 Motor 4 Rotary encoder 5 Pulse detection circuit 6 Memory 7 Operation switch 8 Load sensor 9 Temperature sensor 10 Acceleration sensor 11 Operation counter 100 Window 101 Window glass 102 Window opening / closing mechanism Z Object

Claims (9)

開閉体を開閉するためのモータの回転速度を検出する速度検出手段と、
前記速度検出手段が検出した回転速度の現在値と過去値とに基づいて、回転速度の変化量を算出する変化量算出手段と、
前記変化量算出手段で算出された変化量と所定の閾値とを比較し、当該比較結果に基づいて前記開閉体に異物が挟み込まれたか否かを判定する判定手段と、
前記判定手段により異物が挟み込まれたと判定された場合に、前記開閉体を開くように、または停止するように前記モータを制御する制御手段と、
前記開閉体の状態、または前記開閉体の周囲の状態を検出する状態検出手段と、
を備え、
前記変化量算出手段は、前記状態検出手段が検出した状態に応じて、前記回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出することを特徴とする開閉体制御装置。
Speed detecting means for detecting the rotational speed of a motor for opening and closing the opening and closing body;
Based on the current value and the past value of the rotational speed detected by the speed detecting means, a change amount calculating means for calculating a change amount of the rotational speed;
A determination unit that compares a change amount calculated by the change amount calculation unit with a predetermined threshold value and determines whether or not a foreign object is caught in the opening and closing body based on the comparison result;
Control means for controlling the motor to open or stop the opening and closing body when it is determined by the determination means that a foreign object has been sandwiched;
State detecting means for detecting a state of the opening / closing body or a surrounding state of the opening / closing body;
With
The change amount calculating unit selects an earlier past value or a past value closer to the present as the past value of the rotation speed according to the state detected by the state detecting unit, and the past value and the present An opening / closing body control device that calculates the amount of change in rotational speed using a value.
請求項1に記載の開閉体制御装置において、
前記状態検出手段は、前記開閉体の位置を検出する位置検出手段であり、
前記変化量算出手段は、前記開閉体がその移動速度の小さくなる方向に所定距離移動したことを前記位置検出手段が検出すると、前記回転速度の過去値としてより以前の過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出することを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 1,
The state detection means is a position detection means for detecting the position of the opening / closing body,
When the position detecting unit detects that the opening / closing body has moved a predetermined distance in a direction in which the moving speed decreases, the change amount calculating unit selects a previous past value as the past value of the rotational speed, and An opening / closing body control device that calculates the amount of change in rotational speed using a past value and a current value.
請求項2に記載の開閉体制御装置において、
前記変化量算出手段は、前記開閉体がその移動速度の小さくなる方向に所定距離移動したことを前記位置検出手段が検出するまでは、回転速度の現在値と、当該現在値から第1の期間T1だけ遡った時点の過去値とに基づいて回転速度の変化量を算出し、前記開閉体がその移動速度の小さくなる方向に所定距離移動したことを前記位置検出手段が検出した時点以降は、回転速度の現在値と、当該現在値から第2の期間T2(T2>T1)だけ遡った時点の過去値とに基づいて回転速度の変化量を算出することを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 2,
The change amount calculating means determines a current value of the rotational speed and a first period from the current value until the position detecting means detects that the opening / closing body has moved a predetermined distance in a direction in which the moving speed decreases. After the time point when the position detecting means detects that the opening / closing body has moved a predetermined distance in the direction in which the moving speed decreases, the amount of change in the rotational speed is calculated based on the past value at the time point T1 back. An opening / closing body control device that calculates a change amount of a rotation speed based on a current value of the rotation speed and a past value at a time point that is back from the current value by a second period T2 (T2> T1).
請求項2に記載の開閉体制御装置において、
前記開閉体は、前記モータと連動して動く回動自在なアームに連結されていて、当該アームの回動により上下方向に移動可能であり、
前記アームが水平状態から上向きに回動するにしたがって、前記開閉体が全開位置から全閉位置まで移動するようになっており、
前記アームが水平状態から一定量回動して、前記開閉体が前記所定距離だけ移動し全閉位置に近づいたときに、前記変化量算出手段が、前記第2の期間だけ遡った時点の過去値を用いて回転速度の変化量を算出することを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 2,
The opening / closing body is connected to a rotatable arm that moves in conjunction with the motor, and is movable in the vertical direction by the rotation of the arm.
As the arm rotates upward from a horizontal state, the opening / closing body moves from a fully open position to a fully closed position,
When the arm rotates a certain amount from the horizontal state, and the opening / closing body moves by the predetermined distance and approaches the fully closed position, the change amount calculating means is past the point in time that is traced back by the second period. An opening / closing body control device that calculates the amount of change in rotational speed using a value.
請求項1に記載の開閉体制御装置において、
前記状態検出手段は、乗員の重量を検出する重量検出手段であり、
前記変化量算出手段は、前記重量検出手段が検出した乗員の重量が所定値より小さい場合に、前記回転速度の過去値としてより以前の過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出することを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 1,
The state detection means is a weight detection means for detecting the weight of an occupant,
When the weight of the occupant detected by the weight detection unit is smaller than a predetermined value, the change amount calculation unit selects a previous past value as the past value of the rotation speed, and uses the past value and the current value. The opening / closing body control device characterized in that the change amount of the rotational speed is calculated.
請求項1に記載の開閉体制御装置において、
前記状態検出手段は、車体の周囲温度を検出する温度検出手段であり、
前記変化量算出手段は、前記温度検出手段が検出した周囲温度が所定値以上の高温である場合に、前記回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出することを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 1,
The state detection means is a temperature detection means for detecting the ambient temperature of the vehicle body,
When the ambient temperature detected by the temperature detection unit is a high temperature that is equal to or higher than a predetermined value, the change amount calculation unit calculates an earlier past value or a past value closer to the present as the past value of the rotation speed. An opening / closing body control device that selects and calculates the amount of change in rotational speed using the past value and the current value.
請求項1に記載の開閉体制御装置において、
前記状態検出手段は、車体の周囲温度を検出する温度検出手段であり、
前記変化量算出手段は、前記温度検出手段が検出した周囲温度が所定値未満の低温である場合に、前記回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出することを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 1,
The state detection means is a temperature detection means for detecting the ambient temperature of the vehicle body,
When the ambient temperature detected by the temperature detection unit is a low temperature lower than a predetermined value, the change amount calculation unit calculates an earlier past value or a past value closer to the present as the past value of the rotation speed. An opening / closing body control device that selects and calculates the amount of change in rotational speed using the past value and the current value.
請求項1に記載の開閉体制御装置において、
前記状態検出手段は、走行路面の状態を検出する走行路面状態検出手段であり、
前記変化量算出手段は、前記走行路面状態検出手段が検出した走行路面の状態に応じて、前記回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出することを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 1,
The state detecting means is a traveling road surface state detecting means for detecting the state of the traveling road surface,
The change amount calculating means selects a previous past value or a past value closer to the present as a past value of the rotational speed according to the state of the traveling road surface detected by the traveling road surface state detecting means, An opening / closing body control device that calculates the amount of change in rotational speed using the past value and the current value.
請求項1に記載の開閉体制御装置において、
前記状態検出手段は、経年変化を検出する経年変化検出手段であり、
前記変化量算出手段は、前記経年変化検出手段が検出した経年変化に応じて、前記回転速度の過去値として、より以前の過去値、または、より現在に近い過去値を選択し、当該過去値と現在値とを用いて回転速度の変化量を算出することを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 1,
The state detection means is a secular change detection means for detecting a secular change,
The change amount calculating means selects an earlier past value or a past value closer to the present as the past value of the rotation speed according to the secular change detected by the secular change detecting means, and the past value An opening / closing body control device that calculates the amount of change in rotational speed using the current value and the current value.
JP2006275653A 2005-10-07 2006-10-06 Opening and closing body control device Expired - Fee Related JP4781222B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2006275653A JP4781222B2 (en) 2005-10-07 2006-10-06 Opening and closing body control device
US11/868,207 US7812554B2 (en) 2006-10-06 2007-10-05 Control device for opening/closing member

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2005295738 2005-10-07
JP2005295738 2005-10-07
JP2006275653A JP4781222B2 (en) 2005-10-07 2006-10-06 Opening and closing body control device

Publications (2)

Publication Number Publication Date
JP2007126960A JP2007126960A (en) 2007-05-24
JP4781222B2 true JP4781222B2 (en) 2011-09-28

Family

ID=38149820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006275653A Expired - Fee Related JP4781222B2 (en) 2005-10-07 2006-10-06 Opening and closing body control device

Country Status (1)

Country Link
JP (1) JP4781222B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103124827B (en) 2010-12-24 2015-06-03 利禄株式会社 Trapping determination device for opening/closing section, vehicle with same, and trapping determination method for opening/closing section
WO2013121623A1 (en) 2012-02-15 2013-08-22 株式会社リブ技術研究所 Vehicle open/close portion control apparatus, and vehicle open/close portion control method
JP2014077239A (en) * 2012-10-09 2014-05-01 Denso Corp Opening/closing body control device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3553276B2 (en) * 1996-07-01 2004-08-11 オムロン株式会社 Power window switch device
JP4573992B2 (en) * 2000-11-07 2010-11-04 株式会社東海理化電機製作所 Window glass clamping presence / absence detection device
JP4510409B2 (en) * 2003-08-01 2010-07-21 株式会社東海理化電機製作所 Window glass clamping presence / absence detection device
JP4896471B2 (en) * 2005-09-08 2012-03-14 アスモ株式会社 Opening / closing member control device and pinching detection method

Also Published As

Publication number Publication date
JP2007126960A (en) 2007-05-24

Similar Documents

Publication Publication Date Title
US7812554B2 (en) Control device for opening/closing member
US9121214B2 (en) Opening and closing member control apparatus and method for controlling opening and closing member
US20070084120A1 (en) Opening and closing member control system
EP1884616B1 (en) Open/Close Member Control Apparatus
JP6390466B2 (en) Opening / closing member control apparatus and opening / closing member control method
JP4896471B2 (en) Opening / closing member control device and pinching detection method
TW574467B (en) Trapping detection device of opening/closing member
JP2007009413A (en) Window opening-closing control device
JP6337283B2 (en) Opening / closing member control apparatus and opening / closing member control method
JP4781222B2 (en) Opening and closing body control device
JP4528264B2 (en) Vehicle opening / closing panel system
JP2007210474A (en) Platform fence, and device and method for detecting failure of the same
JP4781126B2 (en) Opening and closing body control device
JP2007009573A (en) Opening/closing control device
JP2009052247A (en) Opening/closing body controller
JP2007327240A (en) Opening/closing body controller and power window device
JP4664872B2 (en) Pinch detection device
JP6697953B2 (en) Opening/closing body control system and opening/closing body control method
JP4579757B2 (en) Opening / closing member control device
JP2009007919A (en) Opening-closing body control device
JP4664134B2 (en) Open / close control device
JP3268603B2 (en) Opening / closing body opening / closing control device
JP4781868B2 (en) Opening / closing member control device
JP3267444B2 (en) Vehicle window control device with learning function
JP4781129B2 (en) Electric motor control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090220

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

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

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

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

Free format text: PAYMENT UNTIL: 20140715

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4781222

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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