Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3423839B2 - Control device for vehicle power window regulator - Google Patents
[go: Go Back, main page]

JP3423839B2 - Control device for vehicle power window regulator - Google Patents

Control device for vehicle power window regulator

Info

Publication number
JP3423839B2
JP3423839B2 JP16901996A JP16901996A JP3423839B2 JP 3423839 B2 JP3423839 B2 JP 3423839B2 JP 16901996 A JP16901996 A JP 16901996A JP 16901996 A JP16901996 A JP 16901996A JP 3423839 B2 JP3423839 B2 JP 3423839B2
Authority
JP
Japan
Prior art keywords
voltage
correction
control device
vehicle power
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP16901996A
Other languages
Japanese (ja)
Other versions
JPH1018709A (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.)
Mitsubishi Motors Corp
Tokai Rika Co Ltd
Original Assignee
Mitsubishi Motors Corp
Tokai Rika Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Motors Corp, Tokai Rika Co Ltd filed Critical Mitsubishi Motors Corp
Priority to JP16901996A priority Critical patent/JP3423839B2/en
Publication of JPH1018709A publication Critical patent/JPH1018709A/en
Application granted granted Critical
Publication of JP3423839B2 publication Critical patent/JP3423839B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、車両に設けられた
窓ガラスをモータの正逆回転に応じて往復移動させるよ
うにした車両用パワーウインドレギュレータ、特には挟
み込み防止機能を備えた車両用パワーウインドレギュレ
ータの制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle power window regulator for reciprocally moving a window glass provided in a vehicle in accordance with forward and reverse rotations of a motor, and more particularly to a vehicle power window having a trapping prevention function. The present invention relates to a control device for a window regulator.

【0002】[0002]

【従来の技術】近年の車両用パワーウインドレギュレー
タにおいては、窓ガラスを閉鎖方向へ移動させる際に、
その窓ガラスと窓枠との間に手指などが挟み込まれる事
態を防止する機能を設けることが行われている。
2. Description of the Related Art In a recent vehicle power window regulator, when moving a window glass in a closing direction,
A function is provided to prevent a finger or the like from being caught between the window glass and the window frame.

【0003】このような挟み込み防止機能を設ける場合
には、ウインドレギュレータモータに流れる負荷電流に
基づいてモータ負荷の大きさを検出する手段を設け、移
動中の窓ガラスが、全閉位置の直前に設定された自動反
転禁止領域に到達する前の期間に、上記負荷検出手段に
よる検出出力のレベルが所定のしきい値以上となったと
きに、これを異物の挟み込み状態と認識して窓ガラスの
移動方向を反転させる構成とされる。
When such a trapping prevention function is provided, a means for detecting the magnitude of the motor load based on the load current flowing in the window regulator motor is provided so that the moving window glass is located just before the fully closed position. When the level of the detection output by the load detecting means becomes equal to or higher than a predetermined threshold value during the period before reaching the set automatic inversion prohibition region, this is recognized as a foreign substance trapped state and the window glass is detected. The moving direction is reversed.

【0004】但し、単純に負荷電流の絶対値に基づいて
モータ負荷の大きさを検出する構成とした場合には、そ
の検出出力が、車載バッテリの経年劣化や周囲温度など
に起因した電源電圧の変化に追随して変動することにな
るため、挟み込み防止機能が必要なときに正常に働かな
くなったり、この逆に不要に働いたりする可能性が高く
なるものであり、その信頼性が低くなるという問題点が
出てくる。
However, in the case where the magnitude of the motor load is simply detected based on the absolute value of the load current, the detection output indicates the power supply voltage due to the deterioration of the vehicle battery over time, the ambient temperature, and the like. Since it fluctuates following changes, it is highly likely that the trapping prevention function will not work properly when it is needed, and vice versa, and its reliability will decrease. Problems arise.

【0005】そこで、実際には、ウインドレギュレータ
モータに流れる負荷電流の増分に基づいてモータ負荷の
大きさを検出する手段を設けるようにしている。具体的
には、モータの負荷電流を微分することによって当該負
荷電流の単位時間当たりの増分を検出すると共に、その
検出結果としきい値との比較によってモータ負荷の大き
さを判定することが行われており、斯様な判定結果に基
づいて異物の挟み込み状態を認識するようにしている。
Therefore, in practice, a means for detecting the magnitude of the motor load based on the increment of the load current flowing through the window regulator motor is provided. Specifically, the increment of the load current per unit time is detected by differentiating the load current of the motor, and the magnitude of the motor load is determined by comparing the detection result with a threshold value. Therefore, the entrapment state of the foreign matter is recognized based on the determination result.

【0006】[0006]

【発明が解決しようとする課題】上記のようにモータ負
荷の大きさを負荷電流の増分に基づいて検出する構成に
よれば、車載バッテリの経年劣化や周囲温度などに起因
した電源電圧の変化には対応可能である。
According to the structure for detecting the magnitude of the motor load based on the increment of the load current as described above, it is possible to detect a change in the power supply voltage due to the deterioration of the on-vehicle battery or the ambient temperature. Is available.

【0007】しかしながら、車両においては、例えばス
タータモータの駆動時、エアコン用ブロアモータの始動
時或いはパッシングライトの点滅時などにおいて、電源
電圧が一旦低下した後に再上昇するという電源電圧の一
時的な変動現象が往々にして発生するという事情があ
り、従来構成では、このような電圧変動に対応できない
という問題点があった。つまり、上記のように過渡的な
電源電圧の変動現象が発生した場合には、その現象に基
づいた単位時間当たりの負荷電流の増分がしきい値を越
えることがある。このような状態が発生したときには、
これを異物の挟み込み状態と誤認識して窓ガラスの移動
方向を反転させることになり、結果的に、挟み込み防止
機能の信頼性を十分に高めることが困難になるという問
題点があった。
However, in a vehicle, for example, when the starter motor is driven, when the air conditioner blower motor is started, or when the passing light flashes, the power supply voltage temporarily decreases and then rises again. However, the conventional configuration cannot cope with such voltage fluctuation. That is, when the transient power supply voltage variation phenomenon occurs as described above, the increment of the load current per unit time based on the phenomenon may exceed the threshold value. When such a situation occurs,
This is erroneously recognized as a state of entrapment of foreign matter, and the moving direction of the window glass is reversed, resulting in a problem that it is difficult to sufficiently enhance the reliability of the entrapment prevention function.

【0008】このような問題点に対処するためには、し
きい値の設定レベルを高めることによって、異物の挟み
込み状態の認識動作に十分なマージンを与える構成が考
えられるが、この構成では、実際に異物を挟み込んだと
きに、その検出タイミングが遅くなると共に、検出荷重
(窓ガラス反転時のモータ負荷の大きさ)が大きくなる
という新たな問題点が出てくる。
In order to deal with such a problem, it is conceivable that the threshold setting level is increased to give a sufficient margin for the operation of recognizing the entrapped state of the foreign matter. When a foreign matter is caught in the sheet, a new problem arises that the detection timing is delayed and the detection load (the magnitude of the motor load when the window glass is inverted) increases.

【0009】本発明は上記事情に鑑みてなされたもので
あり、その目的は、電源電圧の一時的な変動に起因して
挟み込み防止機能が誤動作する事態を、挟み込み状態の
検出タイミングの遅れや検出荷重の増大を伴うことなく
防止できるようになる車両用パワーウインドレギュレー
タを提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to detect a situation in which the entrapment prevention function malfunctions due to a temporary fluctuation of a power supply voltage, such as delay in detection timing of the entrapment state or detection. It is an object of the present invention to provide a vehicle power window regulator that can be prevented without increasing the load.

【0010】[0010]

【課題を解決するための手段】本発明は上記目的を達成
するために、窓ガラスを往復移動させるためのモータ
と、このモータに流れる負荷電流を検出するための電流
検出手段とを備え、前記窓ガラスの閉鎖方向への移動時
に、その窓ガラスが閉鎖位置に達する前の時点で前記負
荷電流の単位時間当たりの増分が予め設定されたしきい
値以上となったときに当該窓ガラスの移動方向を反転さ
せるようにした車両用パワーウインドレギュレータの制
御装置において、前記モータの電源電圧を検出する電圧
検出手段と、この電圧検出手段による検出電圧が予め設
定された電圧幅以上低下した状態となったときに補正動
作モードに切替わると共に、その補正動作モードでは、
上記検出電圧の一定レベル以上の上昇傾向を抽出したと
きに前記しきい値に対し予め設定された電流補正値を加
算する補正手段とを設ける構成としたものである(請求
項1)。
In order to achieve the above object, the present invention comprises a motor for reciprocating a window glass, and a current detecting means for detecting a load current flowing through the motor. When the window glass moves in the closing direction, the window glass moves when the increment of the load current per unit time exceeds a preset threshold value before the window reaches the closed position. In a control device for a vehicle power window regulator in which the direction is reversed, voltage detection means for detecting the power supply voltage of the motor, and a state in which the detection voltage by the voltage detection means is reduced by a preset voltage width or more When switching to the correction operation mode when
A correction means for adding a preset current correction value to the threshold when the rising tendency of the detected voltage above a certain level is extracted is provided (claim 1).

【0011】このような構成によれば、窓ガラスの閉鎖
方向への移動時において、その窓ガラスと窓枠との間に
異物が挟まったときには、モータがロック状態となるの
に応じて、電流検出手段が検出する負荷電流の単位時間
当たりの増分がしきい値以上を越えるようになるため、
窓ガラスの移動方向が自動的に反転されるという挟み込
み防止機能が働くようになる。
According to this structure, when the window glass is moved in the closing direction and a foreign object is caught between the window glass and the window frame, the motor is locked according to the current. Since the increment of the load current detected by the detecting means per unit time exceeds the threshold value,
The trapping prevention function that the moving direction of the window glass is automatically reversed comes to work.

【0012】モータの電源電圧は、これを検出するよう
に設けられた電圧検出手段を通じて監視される。このよ
うな監視状態で、電源電圧が一旦低下した後に再上昇す
るという一時的な変動現象が発生した場合において、上
記電圧検出手段による検出電圧の低下幅が、補正手段に
設定された電圧幅以上であったときには、当該補正手段
が補正動作モードに切替わるようになる。この補正手段
は、補正動作モードに切り替わった状態では、電圧検出
手段による検出電圧の一定レベル以上の上昇傾向を抽出
したときに前記しきい値に対し予め設定された電流補正
値を加算するようになる。
The power supply voltage of the motor is monitored by a voltage detecting means provided to detect this. In such a monitoring state, when a temporary fluctuation phenomenon occurs in which the power supply voltage once drops and then rises again, the decrease width of the voltage detected by the voltage detection means is equal to or larger than the voltage width set in the correction means. If so, the correction means is switched to the correction operation mode. The correction means adds the preset current correction value to the threshold value when the rising tendency of the voltage detected by the voltage detection means above a certain level is extracted in the state of switching to the correction operation mode. Become.

【0013】従って、上述したような過渡的な電源電圧
の変動現象が発生した場合には、前記しきい値が常時よ
り大きな値に変更されるから、その変動現象に起因し
て、単位時間当たりの負荷電流の増分が上記しきい値を
越えてしまう事態を未然に防止できるようになる。この
結果、従来構成のように、過渡的な電源電圧の変動現象
が発生したときに、これを異物の挟み込み状態と誤認識
して窓ガラスの移動方向を不要に反転させてしまうこと
がなくなる。
Therefore, when the transient power supply voltage fluctuation phenomenon as described above occurs, the threshold value is constantly changed to a larger value. It becomes possible to prevent the situation where the increment of the load current exceeds the above threshold value. As a result, unlike the conventional configuration, when a transient power supply voltage variation phenomenon occurs, it is not erroneously recognized as a foreign substance trapped state and the direction of movement of the window glass is not reversed unnecessarily.

【0014】[0014]

【0015】[0015]

【0016】[0016]

【発明の実施の形態】以下、本発明を自動車の窓ガラス
開閉用のパワーウインドレギュレータに適用した一実施
例について図面を参照しながら説明する。図1には全体
の電気的構成が示されている。この図1において、直流
モータ1は、例えば自動車用ドアに設けられた窓ガラス
をウインドレギュレータ(何れも図示せず)を通じて往
復移動させるためのもので、電源端子+Bからドライブ
回路2及びシャント抵抗3(本発明でいう電流検出手段
に相当)を介して通電される構成となっている。尚、上
記モータ1は、正方向に通電された状態で窓ガラスを閉
鎖方向(上方向)へ移動させ、逆方向に通電された状態
で当該窓ガラスを開放方向(下方向)へ移動させる。ま
た、上記電源端子+Bは、車載バッテリに対し電源用リ
レースイッチ(何れも図示せず)を介して接続されたも
ので、この電源用リレースイッチは、自動車のエンジン
キースイッチがオン位置にある状態でオンされる構成と
なっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a power window regulator for opening and closing a window glass of an automobile will be described below with reference to the drawings. FIG. 1 shows the entire electrical configuration. In FIG. 1, a DC motor 1 is for reciprocating a window glass provided on, for example, an automobile door through a window regulator (none of which is shown), and includes a drive circuit 2 and a shunt resistor 3 from a power supply terminal + B. It is configured to be energized via (corresponding to the current detection means in the present invention). The motor 1 moves the window glass in the closing direction (upward direction) when energized in the forward direction, and moves the window glass in the opening direction (downward direction) when energized in the reverse direction. The power supply terminal + B is connected to an on-vehicle battery via a power supply relay switch (none of which is shown), and the power supply relay switch is in a state where the engine key switch of the automobile is in the ON position. It is configured to be turned on.

【0017】上記ドライブ回路2は、具体的には図示し
ないが、例えば2個のリレーを組み合わせたもので、後
述する制御回路4(本発明でいう補正手段に相当)の出
力ポートQ1からの指令信号に応じてモータ1に対する
正方向通電路及び逆方向通電路を選択的に形成できる構
成となっている。
Although not specifically shown, the drive circuit 2 is, for example, a combination of two relays, and has a command from an output port Q1 of a control circuit 4 (corresponding to the correcting means in the present invention) described later. A forward-direction energization path and a reverse-direction energization path for the motor 1 can be selectively formed according to a signal.

【0018】また、前記シャント抵抗3は、モータ1に
流れる負荷電流を検出するためのもので、その端子電圧
は、アンプ5により増幅された後に、モータ1に流れる
負荷電流に比例したレベルの電圧信号Vdとして制御回
路4の入力ポートP1に与えられる構成となっている。
The shunt resistor 3 is for detecting a load current flowing through the motor 1. The terminal voltage of the shunt resistor 3 is amplified by the amplifier 5 and then the voltage of a level proportional to the load current flowing through the motor 1. The signal Vd is supplied to the input port P1 of the control circuit 4.

【0019】リミットスイッチ6は、窓ガラスが、その
閉鎖位置の直前に設定された自動反転禁止領域へ移動さ
れた状態でオンするよう構成されたもので、そのオン信
号を制御回路4の入力ポートP5に与えるようになって
いる。尚、上記自動反転禁止領域は、周知のように、挟
み込み防止機能を無効化するための領域であり、窓ガラ
スの全閉位置から数ミリ程度手前の位置に設定される。
The limit switch 6 is configured to turn on when the window glass is moved to the automatic reversal prohibition area set immediately before the closing position thereof, and its on signal is input to the input port of the control circuit 4. It is given to P5. As is well known, the automatic reversal prohibition region is a region for invalidating the pinch prevention function, and is set at a position several millimeters before the fully closed position of the window glass.

【0020】アップスイッチ7及びダウンスイッチ8
は、窓ガラスの閉鎖(上昇)動作及び開放(下降)動作
を指令するためのもので、各オン信号を制御回路4の入
力ポートP3及びP4に与えるようになっている。
Up switch 7 and down switch 8
Is for instructing a closing (up) operation and an opening (down) operation of the window glass, and is adapted to give each ON signal to the input ports P3 and P4 of the control circuit 4.

【0021】本発明でいう電圧検出手段に相当したA−
D変換回路10は、電源端子+Bの出力電圧(モータ1
の電源電圧)をダイオード9を通じて受けるように設け
られており、その変換出力を、モータ1の電源電圧のレ
ベルを示す電圧信号Vsとして制御回路4の入力ポート
P2に与える構成となっている。
A-corresponding to the voltage detecting means in the present invention
The D conversion circuit 10 outputs the output voltage of the power supply terminal + B (motor 1
Power source voltage) is received through the diode 9, and the converted output is applied to the input port P2 of the control circuit 4 as the voltage signal Vs indicating the level of the power source voltage of the motor 1.

【0022】制御回路4は、マイクロコンピュータを主
体に構成されたもので、電源端子+Bから前記ダイオー
ド9及び定電圧電源回路11を通じて給電されるように
なっている。尚、上記制御回路4には、クロック信号用
の発振子12と、定電圧電源回路11の出力電圧を監視
する電源監視回路13とが付随して設けられており、特
に電源監視回路13は、定電圧電源回路11の出力電圧
が制御回路4を構成するマイクロコンピュータの動作保
証電圧より下がったときに、当該制御回路4をリセット
する構成となっている。
The control circuit 4 is mainly composed of a microcomputer, and is adapted to be fed from the power supply terminal + B through the diode 9 and the constant voltage power supply circuit 11. The control circuit 4 is provided with an oscillator 12 for a clock signal and a power supply monitoring circuit 13 that monitors the output voltage of the constant voltage power supply circuit 11, and in particular, the power supply monitoring circuit 13 is When the output voltage of the constant voltage power supply circuit 11 falls below the operation guarantee voltage of the microcomputer constituting the control circuit 4, the control circuit 4 is reset.

【0023】さて、制御回路4は、モータ1の正方向通
電路及び逆方向通電路を、アップスイッチ7及びダウン
スイッチ8からのオン信号に基づいて選択的に形成する
ことにより窓ガラスの移動制御を行う構成となってお
り、特に、窓ガラスの閉鎖方向への移動時において、そ
の窓ガラスと窓枠(ウェザストリップ)の間に手指など
の異物が挟み込まれた状態となったときには、その状態
を検出して窓ガラスの移動方向を反転させるという挟み
込み防止機能を実現するための制御を行う構成となって
いる。
The control circuit 4 controls the movement of the window glass by selectively forming the forward and reverse energization paths of the motor 1 based on the ON signals from the up switch 7 and the down switch 8. In particular, when moving the window glass in the closing direction, when foreign matter such as fingers is caught between the window glass and the window frame (weather strip), that state Is detected to reverse the moving direction of the window glass, and the control is performed to realize the trapping prevention function.

【0024】上記挟み込み防止機能は、基本的には、モ
ータ1の正方向通電路を形成した状態(窓ガラスが閉鎖
方向へ移動される状態)において、前記アンプ5を通じ
て与えられる電圧信号Vdに基づいてモータ1に流れる
負荷電流の単位時間当たりの増分(微分値)を逐次検出
し、このように検出した負荷電流の増分が予め設定され
たしきい値Isを越えた状態となったときに、モータ1
の逆方向通電路を形成して窓ガラスの移動方向を反転さ
せるという制御を行うことにより実現している。但し、
このような挟み込み防止機能は、窓ガラスがリミットス
イッチ6により画定された自動反転禁止領域にある状態
では無効化される。
The trapping prevention function is basically based on the voltage signal Vd given through the amplifier 5 in the state where the forward-direction energization path of the motor 1 is formed (the window glass is moved in the closing direction). Sequentially detects the increment (differential value) of the load current flowing through the motor 1 and the thus detected increment of the load current exceeds a preset threshold value Is. Motor 1
It is realized by forming a reverse-direction electric conduction path and reversing the moving direction of the window glass. However,
Such a trapping prevention function is disabled when the window glass is in the automatic inversion prohibition region defined by the limit switch 6.

【0025】本実施例は、上記のような挟み込み防止機
能のためのしきい値Isを、電源電圧の変動状態により
補正する構成に特徴を有するものであり、以下において
は、このようなしきい値Isの補正のための制御内容並
びに関連した作用について、その制御内容を示す図2及
び図3、電源電圧の変化状態の一例を示す図4などを利
用して説明する。
The present embodiment is characterized in that the threshold value Is for the trapping prevention function as described above is corrected according to the fluctuation state of the power supply voltage. The control contents for Is correction and the related actions will be described with reference to FIGS. 2 and 3 showing the control contents and FIG. 4 showing an example of the change state of the power supply voltage.

【0026】即ち、図2及び図3には、制御回路4によ
る制御内容のうち、しきい値Isの補正のための「しき
い値設定」ルーチンの内容が示されている。また、図4
には、自動車のエンジンスタータモータの駆動時(クラ
ンキング時)における電源電圧の変化状態の一例と、前
記しきい値Isの補正に使用される電流補正値のレベル
の一例が示されている。
That is, FIG. 2 and FIG. 3 show the contents of the “threshold setting” routine for correcting the threshold value Is among the control contents of the control circuit 4. Also, FIG.
4 shows an example of a change state of the power supply voltage when the engine starter motor of the automobile is driven (during cranking) and an example of the level of the current correction value used for correcting the threshold value Is.

【0027】上記「しきい値設定」ルーチンは、メイン
プログラム中に組み込まれたもので、このルーチンで
は、まず、図2に示されているように、ウインドガラス
が上昇中か否かを出力ポートQ1からの指令信号の出力
内容に基づいて判断する(S101)。
The above-mentioned "threshold setting" routine is incorporated in the main program. In this routine, as shown in FIG. 2, first, as shown in FIG. Judgment is made based on the output content of the command signal from Q1 (S101).

【0028】ウインドガラスが上昇中でなかった場合に
は、低下検出フラグKF及び補正値保持フラグHFをそ
れぞれ「0」にリセットするステップS102を実行し
てメインプログラムへリターンする。尚、上記低下検出
フラグKF及び補正値保持フラグHFは、エンジンキー
スイッチのオンに応じた電源投入後のイニシャライズ処
理時に、後述するリトライフラグRTFと共に「0」に
リセットされる構成となっている。
If the window glass is not rising, step S102 of resetting the drop detection flag KF and the correction value holding flag HF to "0" is executed and the process returns to the main program. The drop detection flag KF and the correction value holding flag HF are configured to be reset to "0" together with a retry flag RTF, which will be described later, at the time of initialization processing after power-on in response to turning on of the engine key switch.

【0029】これに対して、ウインドガラスが上昇中で
あった場合には、低下検出フラグKFが「1」か否かを
判断する(S103)。この場合、電源投入後の初期状
態では、上記低下検出フラグKFが「0」にリセットさ
れているから、電源投入後に「しきい値設定」ルーチン
が最初に実行されるときにはステップS103で「N
O」と判断されることになり、このように判断したとき
には、電圧信号Vsにより示される電源電圧(以下、サ
ンプリング電圧と呼ぶ)の変化量ΔVを算出するための
ステップS104を実行する。
On the other hand, when the window glass is rising, it is determined whether the drop detection flag KF is "1" (S103). In this case, in the initial state after the power is turned on, the drop detection flag KF is reset to "0". Therefore, when the "threshold setting" routine is first executed after the power is turned on, "N" is given in step S103.
When it is determined in this way, step S104 for calculating the variation amount ΔV of the power supply voltage (hereinafter, referred to as a sampling voltage) indicated by the voltage signal Vs is executed.

【0030】このステップS104では、最新のサンプ
リング電圧Vから前回のサンプリング電圧V′(以下、
必要に応じて基準サンプリング電圧と呼ぶ)を差し引く
という演算を行うことにより単位時間α(1サンプリン
グ周期)での電圧変化量ΔVを算出する。但し、電源投
入後のイニシャライズ処理においては、上記基準サンプ
リング電圧V′の初期値として例えば0Vが設定される
ものであり、ステップS104の初回実行時には、この
初期値がステップS104での電圧変化量のΔVの算出
に利用される。
In step S104, the latest sampling voltage V is changed to the previous sampling voltage V '(hereinafter,
The voltage change amount ΔV in the unit time α (one sampling cycle) is calculated by performing a calculation of subtracting a reference sampling voltage as necessary. However, in the initialization process after the power is turned on, for example, 0 V is set as the initial value of the reference sampling voltage V ′, and at the initial execution of step S104, this initial value is the voltage change amount in step S104. It is used to calculate ΔV.

【0031】上記のように電圧変化量ΔVを算出した後
には、ΔV>0の関係になったか否か、つまり、最新の
サンプリング電圧Vが基準サンプリング電圧V′(前回
のサンプリング電圧)より上昇したか否かを判断する
(S105)。ここで「YES」と判断した場合(サン
プリング電圧が上昇している場合)には、図3に示す判
断ステップS132へ移行するが、「NO」と判断した
場合には、ΔV(=V−V′)≦−Vaの関係になった
か否か、つまり、最新のサンプリング電圧Vが基準サン
プリング電圧V′より一定の電圧幅Va以上低下したか
否かを判断する(S106)。
After calculating the voltage change amount ΔV as described above, whether or not the relation ΔV> 0 is satisfied, that is, the latest sampling voltage V is higher than the reference sampling voltage V ′ (previous sampling voltage). It is determined whether or not (S105). When it is determined to be "YES" (when the sampling voltage is increasing), the process proceeds to the determination step S132 shown in FIG. 3, but when it is determined to be "NO", ΔV (= V-V ′) ≦ −Va is satisfied, that is, it is determined whether the latest sampling voltage V is lower than the reference sampling voltage V ′ by a certain voltage width Va or more (S106).

【0032】尚、初期状態においては、基準サンプリン
グ電圧V′として0Vが設定されているから、電源投入
後に「しきい値設定」ルーチンが最初に実行されるとき
には、ΔV>0の関係が成立するものであり、従ってス
テップS105で「YES」と判断されて、判断ステッ
プS132が実行されることになる。
Since 0V is set as the reference sampling voltage V'in the initial state, when the "threshold setting" routine is first executed after the power is turned on, the relationship of ΔV> 0 is established. Therefore, it is determined "YES" in step S105, and the determination step S132 is executed.

【0033】図3に示す判断ステップS132では、リ
トライフラグRTFが「0」か否かを判断する。この場
合、電源投入後の初期状態では、上記リトライフラグR
TFが「0」にリセットされているから、電源投入後に
「しきい値設定」ルーチンが最初に実行されるときには
ステップS132で「YES」と判断されることにな
り、このように判断したときには、最新のサンプリング
電圧Vを新たな基準サンプリング電圧V′として更新記
憶し(S133)、この後にメインプログラムへリター
ンする。
In the judgment step S132 shown in FIG. 3, it is judged whether or not the retry flag RTF is "0". In this case, in the initial state after the power is turned on, the retry flag R
Since TF has been reset to "0", "YES" is determined in step S132 when the "threshold setting" routine is first executed after power-on, and when such determination is made, The latest sampling voltage V is updated and stored as a new reference sampling voltage V '(S133), after which the process returns to the main program.

【0034】また、上記判断ステップS132で「N
O」と判断した場合、つまりリトライフラグRTFが
「1」にセットされていた場合には、上述のように新た
な基準サンプリング電圧V′を更新記憶するためのステ
ップS133をジャンプしてリターンする。
Further, in the judgment step S132, "N
When it is determined to be "O", that is, when the retry flag RTF is set to "1", step S133 for updating and storing the new reference sampling voltage V'is jumped and returned as described above.

【0035】従って、リトライフラグRTFが「1」に
セットされた状態では、基準サンプリング電圧V′がそ
のまま保持されることになる。このため、リトライフラ
グRTFが「0」にリセットされるまでの期間中におい
ては、ステップS109における電圧変化量ΔVの算出
動作が、上記のように保持された状態の基準サンプリン
グ電圧V′に基づいて行われることになる。つまり、電
圧変化量ΔVの基礎となる電源電圧のサンプリング間隔
は、単位時間αずつ延長されることになる。
Therefore, when the retry flag RTF is set to "1", the reference sampling voltage V'is held as it is. Therefore, during the period until the retry flag RTF is reset to “0”, the operation of calculating the voltage change amount ΔV in step S109 is based on the reference sampling voltage V ′ held as described above. Will be done. That is, the sampling interval of the power supply voltage which is the basis of the voltage change amount ΔV is extended by the unit time α.

【0036】尚、後述の説明によって明らかなように、
リトライフラグRTFは、低下検出フラグKFが「1」
の状態(ステップS103で「YES」と判断される状
態)でのみ「1」にセットされるものであるから、低下
検出フラグKFが「0」の状態で行われるステップS1
04での電圧変化量ΔVの算出動作は、単位時間αの周
期で順次サンプリングされる前回のサンプリング電圧
V′に基づいて行われることになる。
As will be apparent from the description below,
In the retry flag RTF, the deterioration detection flag KF is "1".
Is set to "1" only in the state (state determined to be "YES" in step S103), the step S1 performed in the state where the decrease detection flag KF is "0".
The calculation operation of the voltage change amount ΔV in 04 is performed based on the previous sampling voltage V ′ sequentially sampled in the cycle of the unit time α.

【0037】上述のようなステップS133の実行によ
り新たな基準サンプリング電圧V′が記憶された後にお
いても、最新のサンプリング電圧Vの低下幅が設定電圧
幅Vaより小さい場合、つまりステップS106で「N
O」と判断される場合には、判断ステップS132へ移
行するが、サンプリング電圧Vが設定電圧幅Va以上低
下した場合(ステップS106で「YES」)には、窓
ガラスが自動反転禁止領域にあるか否かをリミットスイ
ッチ6からのオン信号に基づいて判断する(S10
7)。
Even after the new reference sampling voltage V'is stored by executing step S133 as described above, if the latest decrease in the sampling voltage V is smaller than the set voltage width Va, that is, "N" in step S106.
If it is determined to be “O”, the process proceeds to a determination step S132, but if the sampling voltage V decreases by the set voltage width Va or more (“YES” in step S106), the window glass is in the automatic inversion prohibition region. Whether or not it is determined based on the ON signal from the limit switch 6 (S10).
7).

【0038】窓ガラスが自動反転禁止領域にある状態で
は判断ステップS132へ移行するが、これ以外の状態
では低下検出フラグKFを「1」にセットするステップ
S108を実行した後に判断ステップS132へ移行す
る。
When the window glass is in the automatic inversion prohibition region, the process proceeds to the determination step S132, but in the other states, the process proceeds to the determination step S132 after executing the step S108 for setting the drop detection flag KF to "1". .

【0039】要するに、図4に示すように、サンプリン
グ電圧V(電源電圧)の単位時間α(サンプリング周期
に対応)当たりの変化量ΔVが−Va以上となったとき
(タイミングt1)には、窓ガラスが自動反転禁止領域
に存在しないことを前提として低下検出フラグKFを
「1」にセットするものである。
In short, as shown in FIG. 4, when the variation amount ΔV of the sampling voltage V (power supply voltage) per unit time α (corresponding to the sampling cycle) becomes -Va or more (timing t1), the window is opened. The drop detection flag KF is set to "1" on the assumption that the glass does not exist in the automatic inversion prohibition region.

【0040】このように低下検出フラグKFがセットさ
れた状態では、前記ステップS103で「YES」と判
断されることになるが、この場合にも、サンプリング電
圧Vの変化量ΔVを算出するためのステップS109を
実行する。
When the drop detection flag KF is set in this way, it is judged "YES" in step S103, but in this case as well, the change amount ΔV of the sampling voltage V is calculated. Step S109 is executed.

【0041】ステップS109の実行後には、補正値保
持フラグHFが「0」か否かを判断する(S110)。
この場合、上記補正値保持フラグHFはイニシャライズ
処理時において「0」にリセットされているから、通常
状態ではステップS110で「YES」と判断されるこ
とになり、このように「YES」と判断したときには、
ΔV>0の関係になったか否か(最新のサンプリング電
圧Vが基準サンプリング電圧V′より上昇したか否か)
を判断する(S111)。
After execution of step S109, it is determined whether the correction value holding flag HF is "0" (S110).
In this case, since the correction value holding flag HF is reset to "0" during the initialization processing, "YES" is determined in step S110 in the normal state, and thus "YES" is determined. Sometimes
Whether ΔV> 0 is established (whether the latest sampling voltage V has risen above the reference sampling voltage V ′)
Is determined (S111).

【0042】ここで「NO」と判断した場合、つまり、
図4のタイミングt2に示すように、最新のサンプリン
グ電圧Vが前回のサンプリング電圧V′以下であった場
合には、前記判断ステップS132へ移行する。これに
対して、ステップS111で「YES」と判断した場
合、つまり、図4のタイミングt3に示すように、最新
のサンプリング電圧Vが前回のサンプリング電圧V′よ
り高くなった場合には、前記挟み込み防止機能に利用さ
れるしきい値Isを、電圧変化量ΔV(電源電圧の変動
状態に対応)に基づいて補正するためのステップS11
2〜S123を選択的に実行する。
If "NO" is determined here, that is,
As shown at timing t2 in FIG. 4, when the latest sampling voltage V is equal to or lower than the previous sampling voltage V ', the process proceeds to the determination step S132. On the other hand, when it is determined to be “YES” in step S111, that is, when the latest sampling voltage V becomes higher than the previous sampling voltage V ′ as shown at timing t3 in FIG. Step S11 for correcting the threshold value Is used for the prevention function based on the voltage change amount ΔV (corresponding to the fluctuation state of the power supply voltage).
2 to S123 are selectively executed.

【0043】ここで、上記のような補正は、しきい値I
sに対して、電圧変化量ΔVの増加分に応じたレベルの
電流補正値を加算することにより行うものである。本実
施例の場合、4段階のレベルの電流補正値I1 、I2 、
I3 、I4 (I1 <I2 <I3 <I4 )を用意した構成
としており、制御回路4は、電流補正値レベルを決定す
るために4段階の基準電圧レベルL1〜L4を図5に示
すような補正値用データテーブルとして記憶している。
Here, the above-mentioned correction is performed by the threshold I
It is performed by adding a current correction value of a level corresponding to the increase of the voltage change amount ΔV to s. In the case of this embodiment, the current correction values I1, I2 of four levels,
I3 and I4 (I1 <I2 <I3 <I4) are prepared, and the control circuit 4 corrects the four levels of reference voltage levels L1 to L4 in order to determine the current correction value level as shown in FIG. It is stored as a value data table.

【0044】この図5において、各基準電圧レベルL1
〜L4は、電圧変化量ΔVの算出の基礎となったサンプ
リング間隔(単位時間αの整数倍)に応じてそれぞれ異
なるレベルの基準電圧値δV11、δV12、……、δV2
1、δV22、……、δV31、δV32、……、δV41、δ
V42、……が設定されるものであり、上記基準電圧レベ
ルL1〜L4の各基準電圧値は図6に示すようにサンプ
リング間隔が長くなるのに応じて高い値となるように設
定されている。
In FIG. 5, each reference voltage level L1
˜L4 are reference voltage values δV11, δV12, ..., δV2 at different levels according to the sampling interval (an integral multiple of the unit time α) that is the basis of the calculation of the voltage change amount ΔV.
1, δV22, ……, δV31, δV32, ……, δV41, δ
V42, ... Are set, and the reference voltage values of the reference voltage levels L1 to L4 are set to become higher as the sampling interval becomes longer as shown in FIG. .

【0045】しかして、ステップS112では、ΔV≧
L1の関係にあるか否かを判断する。但し、この判断時
には、基準電圧レベルL1の各基準電圧値δV11、δV
12、……のうち、判断対象の電圧変化量ΔVの算出の基
礎となったサンプリング間隔に対応したデータを前記図
5のデータテーブルから読み出して使用するものであ
り、以下の各判断ステップS113、S114、S11
5においても、データテーブルから同様に読み出したデ
ータを使用する。
However, in step S112, ΔV ≧
It is determined whether or not the relationship is L1. However, at the time of this determination, the reference voltage values δV11, δV of the reference voltage level L1
Of 12, ..., The data corresponding to the sampling interval which is the basis of the calculation of the voltage change amount ΔV to be determined is read from the data table of FIG. 5 and used, and each of the following determination steps S113, S114, S11
Also in No. 5, the data similarly read from the data table is used.

【0046】上記ステップS112で「NO」と判断し
た場合には、リトライフラグRTFを「1」にセットす
るステップS122、補正時間タイマのタイマ時間TX
を補正動作終了時間(例えば400ms)に相当したT
max に設定するステップS123を順次実行した後に、
図3に示す判断ステップS124へ移行する。
When it is judged "NO" in the above step S112, the retry flag RTF is set to "1" in step S122, and the timer time TX of the correction time timer is set.
Corresponds to the correction operation end time (for example, 400 ms)
After sequentially executing step S123 of setting max,
The procedure moves to the determination step S124 shown in FIG.

【0047】これに対して、ステップS112で「YE
S」と判断した場合には、電圧変化量ΔVが、基準電圧
レベルL2、L3、L4に対しどのような関係にあるか
を判断し(S113、S114、S115)、その判断
結果に基づいて電流補正値のレベルを決定する。
On the other hand, in step S112, "YE
If it is determined to be “S”, it is determined what relationship the voltage change amount ΔV has with the reference voltage levels L2, L3, and L4 (S113, S114, S115), and the current is determined based on the determination result. Determine the level of the correction value.

【0048】具体的には、ステップS113では、ΔV
<L2の関係にあるか否かを判断し、「YES」の場合
(L1≦ΔV<L2)には、しきい値Isに電流補正値
I1を加算するステップS116を実行した後に前記ス
テップS122以降の制御を実行する。
Specifically, in step S113, ΔV
If it is "YES" (L1≤ΔV <L2), it is determined whether or not there is a relation of <L2, and after performing step S116 of adding the current correction value I1 to the threshold value Is, step S122 and subsequent steps are performed. Control of.

【0049】また、上記ステップS113で「NO」と
判断された場合に実行されるステップS114では、Δ
V<L3の関係にあるか否かを判断し、「YES」の場
合(L2≦ΔV<L3)には、しきい値Isに電流補正
値I2 を加算するステップS117を実行した後にステ
ップS122以降の制御を実行する。
Further, in step S114 executed when "NO" is determined in step S113, Δ
If it is "YES" (L2≤ΔV <L3), it is determined whether or not the relationship of V <L3 is satisfied, and after step S117 of adding the current correction value I2 to the threshold value Is is executed, step S122 and subsequent steps are performed. Control of.

【0050】上記ステップS114で「NO」と判断さ
れた場合に実行されるステップS115では、ΔV<L
4の関係にあるか否かを判断し、「YES」の場合(L
3≦ΔV<L4)には、しきい値Isに電流補正値I3
を加算するステップS118を実行した後にステップS
122以降の制御を実行する。
In step S115, which is executed when "NO" is determined in step S114, ΔV <L
It is judged whether or not there is a relationship of 4, and if “YES” (L
3 ≦ ΔV <L4), the current correction value I3 is set to the threshold value Is.
After performing step S118 of adding
The control after 122 is executed.

【0051】さらに、上記ステップS115で「NO」
と判断した場合(L4≦ΔV)には、しきい値Isに電
流補正値I4 を加算するステップS119、リトライフ
ラグRTFを「0」にリセットすると共に補正値保持フ
ラグHFを「1」にセットするステップS120、補正
時間タイマのタイマ時間TXをTmax (400ms相当
値)に設定するステップS121を順次実行した後に、
図3に示すステップS132へ移行する。
Furthermore, "NO" in the above step S115.
If it is determined that L4 ≦ ΔV, the current correction value I4 is added to the threshold value Is in step S119, the retry flag RTF is reset to “0”, and the correction value holding flag HF is set to “1”. After step S120 and step S121 of setting the timer time TX of the correction time timer to Tmax (value corresponding to 400 ms) are sequentially executed,
The process moves to step S132 shown in FIG.

【0052】要するに、低下検出フラグKFが「1」に
セットされた場合、つまり、サンプリング電圧Vが設定
電圧幅Va以上低下した場合においては、挟み込み防止
機能に利用されるしきい値Isを電圧変化量ΔVに基づ
いて補正するという補正動作モードに切り替えられるも
のである。
In short, when the drop detection flag KF is set to "1", that is, when the sampling voltage V drops by the set voltage width Va or more, the threshold Is used for the trapping prevention function is changed in voltage. It is possible to switch to a correction operation mode in which correction is performed based on the amount ΔV.

【0053】この場合、しきい値Isに加算される電流
補正値のレベルが、0、I1 、I2、I3 の何れかに設
定された状態では、リトライフラグRTFが「1」にセ
ットされるため、前記ステップS132で「NO」と判
断されてステップS133の実行が阻止される。このた
め、基準サンプリング電圧V′が更新されることなくそ
のまま保持されるようになり、従って、その後におい
て、しきい値Isを補正するための上述したステップS
112〜S123が選択的に行われるのに伴い電流補正
値のレベルが変更されるケースが出てくる。
In this case, the retry flag RTF is set to "1" when the level of the current correction value added to the threshold value Is is set to 0, I1, I2, or I3. Then, it is determined as "NO" in the step S132, and the execution of the step S133 is blocked. For this reason, the reference sampling voltage V ′ is maintained as it is without being updated, and thereafter, the above-described step S for correcting the threshold value Is is performed.
There are cases in which the level of the current correction value is changed as steps 112 to S123 are selectively performed.

【0054】これに対して、しきい値Isに加算される
電流補正値のレベルが最高レベルであるI4 に設定され
た状態では、リトライフラグRTFが「0」にリセット
される。このため、前記ステップS132で「YES」
と判断されてステップS133が実行されるようになる
から、最新のサンプリング電圧Vが新たな基準サンプリ
ング電圧V′として更新記憶されるようになる。
On the other hand, when the level of the current correction value added to the threshold value Is is set to I4 which is the highest level, the retry flag RTF is reset to "0". Therefore, "YES" in the step S132.
Since it is determined that step S133 is executed, the latest sampling voltage V is updated and stored as a new reference sampling voltage V '.

【0055】また、電流補正値のレベルがI4 に設定さ
れた状態では、補正値保持フラグHFが「1」にセット
される。このため、前記ステップS110で「NO」と
判断されるようになり、この場合には、図3に示す判断
ステップS124へ移行するようになる。この結果、し
きい値Isを補正するための上述したステップS112
〜S123の実行が停止されるようになり、設定された
電流補正値I4 がそのまま保持される。
When the level of the current correction value is set to I4, the correction value holding flag HF is set to "1". For this reason, it is judged "NO" in the step S110, and in this case, the process moves to the judgment step S124 shown in FIG. As a result, the above-described step S112 for correcting the threshold value Is is performed.
The execution of S123 to S123 is stopped, and the set current correction value I4 is held as it is.

【0056】一方、図3に示すステップS124では、
ΔV>0の関係になったか否か、つまり、最新のサンプ
リング電圧Vが基準サンプリング電圧V′より上昇した
か否かを判断する。
On the other hand, in step S124 shown in FIG.
It is determined whether or not the relationship of ΔV> 0 has been established, that is, whether or not the latest sampling voltage V has risen above the reference sampling voltage V ′.

【0057】上記ステップS124で「YES」と判断
した場合には、電圧変化量ΔVが0.4V以下であるか
否かを判断し(S125)、またステップS124で
「NO」と判断した場合には、電圧変化量ΔVがΔV≦
−0.8Vの関係になったか否か、つまり、最新のサン
プリング電圧Vが基準サンプリング電圧V′より0.8
V以上低下したか否かを判断する(S126)。尚、請
求項5記載の発明でいう補助電圧幅は、この0.8Vの
ことを指すものである。
If "YES" is determined in the above step S124, it is determined whether or not the voltage change amount ΔV is 0.4 V or less (S125), and if "NO" is determined in the step S124. Indicates that the voltage change amount ΔV is ΔV ≦
Whether or not the relationship is −0.8 V, that is, the latest sampling voltage V is 0.8 than the reference sampling voltage V ′.
It is determined whether or not it has decreased by V or more (S126). The auxiliary voltage width in the invention described in claim 5 refers to 0.8V.

【0058】上記ステップS125で「NO」と判断し
た場合(電圧変化量ΔVが0.4Vを越えた場合)、並
びにステップS126で「YES」と判断した場合(電
圧変化量ΔVが−0.8V以上であった場合)には、補
正時間タイマのタイマ時間TXをTmax に再設定するス
テップS127を実行した後にステップS132以降の
制御を実行する。
When it is judged "NO" at the step S125 (when the voltage change amount ΔV exceeds 0.4V) and when it is judged "YES" at the step S126 (the voltage change amount ΔV is -0.8V). If it is above), step S127 of resetting the timer time TX of the correction time timer to Tmax is executed, and then the control of step S132 and thereafter is executed.

【0059】また、ステップS125で「YES」と判
断した場合(電圧変化量ΔVが0.4V以下であった場
合)、並びにステップS126で「NO」と判断した場
合(電圧変化量ΔVが−0.8V未満であった場合)に
は、補正タイマのタイマ時間TXが零であるか否かを判
断する(S128)。
Further, when it is determined to be "YES" in step S125 (when the voltage change amount ΔV is 0.4 V or less) and when it is determined to be "NO" in step S126 (voltage change amount ΔV is -0). If it is less than 0.8 V), it is determined whether the timer time TX of the correction timer is zero (S128).

【0060】TX≠0であった場合には、タイマ時間T
X(初期値はTmax )を「1」だけデクリメントするス
テップS129を実行した後に、ステップS132以降
の制御を実行するが、TX=0であった場合には、低下
検出フラグKF、補正値保持フラグHF及びリトライフ
ラグRTFを「0」にリセットするステップS130、
電流補正値の初期化(零に戻す処理)を実行するステッ
プS131を順次実行した後に、ステップS132以降
の制御を実行する。
When TX ≠ 0, the timer time T
After step S129 of decrementing X (initial value is Tmax) by "1", the control after step S132 is executed. However, if TX = 0, the decrease detection flag KF, the correction value holding flag Step S130 of resetting the HF and the retry flag RTF to "0",
After sequentially executing step S131 for initializing the current correction value (processing for returning to zero), the control after step S132 is executed.

【0061】要するに、低下検出フラグKFが「1」に
セットされた場合(挟み込み防止機能用のしきい値Is
を電圧変化量ΔVに基づいて補正するための補正動作モ
ードに切り替えられた場合)において、電圧変化量ΔV
が0.4Vを越えて上昇する状態、並びに当該電圧変化
量ΔVが0.8V以上低下する状態が何れも発生するこ
となく、補正時間タイマに設定されたタイマ時間Tmax
(400ms)が経過したときには、ステップS130
及びS131が実行されて初期状態に戻されるものであ
り、以て補正動作モードが終了するようになる。
In short, when the drop detection flag KF is set to "1" (the threshold value Is for the trapping prevention function Is).
Of the voltage change amount ΔV), the voltage change amount ΔV
Is higher than 0.4 V and the voltage change amount ΔV is decreased by 0.8 V or more, neither occurs, and the timer time Tmax set in the correction time timer is set.
When (400 ms) has elapsed, step S130
And S131 are executed and returned to the initial state, whereby the correction operation mode ends.

【0062】また、補正動作モードに切り替えられた状
態において、電圧変化量ΔVが0.4Vを越えて上昇す
る状態、若しくは当該電圧変化量ΔVが0.8V以上低
下する状態が発生した場合には、ステップS127が実
行されて補正時間タイマによるタイマ動作が最初から再
実行されるものである。
Further, when the voltage change amount ΔV rises above 0.4V or the voltage change amount ΔV decreases by 0.8V or more in the state where the correction operation mode is switched to, , Step S127 is executed and the timer operation by the correction time timer is re-executed from the beginning.

【0063】つまり、補正動作モードは、電圧変化量Δ
Vが0.4V以下に下がった状態が400ms継続され
たときに初めて終了されることになる。また、補正動作
モードに切り替えられた期間中において、サンプリング
電圧V(電源電圧)が図4に二点鎖線で示すように0.
8V以上低下した場合には、その補正動作モードがタイ
マ時間Tmax (400ms)だけ余分に継続されること
になる。尚、このようなサンプリング電圧の低下現象
は、例えばクランキングが再度行われた場合などに発生
するものである。
That is, in the correction operation mode, the voltage change amount Δ
It will be terminated only when the state where V drops to 0.4 V or less is continued for 400 ms. Further, during the period in which the correction operation mode is switched to, the sampling voltage V (power supply voltage) is 0.
When the voltage drops by 8 V or more, the correction operation mode is additionally continued for the timer time Tmax (400 ms). It should be noted that such a decrease phenomenon of the sampling voltage occurs, for example, when the cranking is performed again.

【0064】上記のように構成された本実施例によれ
ば、以下に述べるような作用・効果を奏することができ
る。制御回路4は、モータ1の正方向通電路を形成した
状態、つまり窓ガラスを閉鎖方向へ移動させている状態
では、モータ1に流れる負荷電流の単位時間当たりの増
分(微分値)を逐次検出し、窓ガラスが閉鎖位置の直前
に設定された自動反転禁止領域に到達する前の段階にお
いて、上記のように検出した負荷電流の増分が予め設定
されたしきい値Isを越えた状態となったときには、モ
ータ1の逆方向通電路を形成した状態に切り替える。こ
れにより、窓ガラスの移動方向が自動的に反転されると
いう挟み込み防止機能が働くようになる。
According to the present embodiment configured as described above, the following actions and effects can be obtained. The control circuit 4 sequentially detects the increment (differential value) of the load current flowing through the motor 1 per unit time in a state where the forward direction energization path of the motor 1 is formed, that is, when the window glass is moved in the closing direction. However, in the stage before the window glass reaches the automatic inversion prohibition region set immediately before the closing position, the load current increment detected as described above exceeds the preset threshold value Is. In this case, the motor 1 is switched to the state in which the reverse-direction energization path is formed. As a result, the pinching prevention function that the moving direction of the window glass is automatically reversed comes to work.

【0065】また、制御回路4は、モータ1の電源電圧
を、A−D変換回路10を通じて周期的にサンプリング
し、そのサンプリング電圧が一旦低下した後に再上昇す
るという一時的な電圧変動現象が発生した場合におい
て、サンプリング電圧の低下幅が予め設定された電圧幅
Va以上となったときには補正動作モードに切り替わる
ようになる。
Further, the control circuit 4 periodically samples the power supply voltage of the motor 1 through the AD conversion circuit 10, and a temporary voltage fluctuation phenomenon occurs in which the sampling voltage once drops and then rises again. In such a case, when the decrease width of the sampling voltage becomes equal to or larger than the preset voltage width Va, the correction operation mode is switched to.

【0066】制御回路4は、上記のように補正動作モー
ドに切り替わった状態では、前記サンプリング電圧の一
定レベル以上の上昇傾向を抽出したとき、具体的には、
サンプリング電圧に基づいて算出した時間当たりの電圧
変化量ΔVと予め記憶した基準電圧レベル(図6に示す
L1〜L4参照)との比較に基づいて、サンプリング電
圧の増分を検出したときに、その増分に応じた電流補正
値(I1 〜I4 の何れか)を前記しきい値Isに対し加
算するようになる。
When the control circuit 4 extracts a rising tendency of the sampling voltage above a certain level in the state of switching to the correction operation mode as described above, specifically,
When the increment of the sampling voltage is detected based on the comparison between the voltage change amount ΔV calculated based on the sampling voltage per time and the previously stored reference voltage level (see L1 to L4 shown in FIG. 6), the increment is detected. The current correction value (any one of I1 to I4) corresponding to the above is added to the threshold value Is.

【0067】つまり、窓ガラスを閉鎖方向へ移動させて
いる最中に、エンジンのクランキングなどに起因して上
述したような電源電圧(サンプリング電圧)の過渡的な
変動現象が発生した場合には、前記しきい値Isが常時
より大きな値に変更されるから、その電圧変動現象に起
因して、単位時間当たりの負荷電流の増分が上記しきい
値Isを越えてしまう事態を未然に防止できるようにな
る。
That is, when the transient fluctuation phenomenon of the power supply voltage (sampling voltage) as described above occurs due to engine cranking or the like while moving the window glass in the closing direction, Since the threshold value Is is constantly changed to a larger value, it is possible to prevent the increase of the load current per unit time from exceeding the threshold value Is due to the voltage fluctuation phenomenon. Like

【0068】この結果、従来構成のように、過渡的な電
源電圧の変動現象が発生したときに、これを異物の挟み
込み状態と誤認識して窓ガラスの移動方向を不要に反転
させてしまうことがなくなるものであり、以て誤動作に
対する信頼性が高くなる。また、電源電圧の変動が少な
い常時においては、前記しきい値Isのレベルが高めら
れることがないから、異物を挟み込んだときに、その検
出タイミングが遅くなったり、検出荷重(窓ガラスの反
転時にモータ1に作用する負荷の大きさ)が無闇に増大
する虞がなくなるものである。
As a result, when a transient fluctuation of the power supply voltage occurs, as in the conventional configuration, this is erroneously recognized as a foreign substance trapped state and the direction of movement of the window glass is unnecessarily reversed. Therefore, the reliability against malfunction is increased. Further, since the level of the threshold value Is is not increased at all times when the fluctuation of the power supply voltage is small, the detection timing is delayed when a foreign object is caught, or the detection load (when the window glass is inverted) This eliminates the risk that the magnitude of the load acting on the motor 1 will unnecessarily increase.

【0069】制御回路4は、上述したようなサンプリン
グ電圧の上昇傾向の抽出を、当該サンプリング電圧の2
回以上のサンプリング周期にわたる変化量ΔVに基づい
て行う構成、具体的には、補正動作モードに切り替わる
のに応じてリトライフラグRTFが「1」にセットされ
た状態(この状態では、電流補正値のレベルが0、I1
、I2 、I3 の何れかである)においては、電源電圧
のサンプリング間隔が単位時間α(1サンプリング周
期)ずつ延長されることにより、電圧変化量ΔVを2回
以上のサンプリング周期にわたるデータとして得る構成
となっているから、電源電圧の変化パターンが種々異な
る場合でも、上記のような誤動作防止作用を確実に発揮
できるようになる。
The control circuit 4 extracts the rising tendency of the sampling voltage as described above from the sampling voltage 2
The configuration is performed based on the change amount ΔV over the sampling cycle of not less than one time, specifically, the state in which the retry flag RTF is set to “1” in response to the switching to the correction operation mode (in this state, the current correction value Level 0, I1
, I2, or I3), the sampling interval of the power supply voltage is extended by unit time α (1 sampling cycle) to obtain the voltage change amount ΔV as data over two or more sampling cycles. Therefore, even if the change pattern of the power supply voltage is different, it is possible to reliably exhibit the above-described malfunction prevention action.

【0070】上記のように制御回路4が補正動作モード
に切り替わった状態は、サンプリング電圧の変化量が一
定レベル(0.4V)以下の状態が設定時間(400m
s)以上継続した場合に自動的に終了されるから、その
後において、挟み込み防止機能に悪影響が及ぶ虞がなく
なるものである。また、上記補正モードが継続されてい
る期間に、再クランキングが行われるなどして、電源電
圧が予め設定された補助電圧幅(0.8V)以上低下す
る現象が発生した場合には、その補正動作モードが設定
時間(400ms)だけ延長されるから、このような電
源電圧の再低下現象に起因した挟み込み防止機能の誤動
作をも的確に防止できるようになる。
In the state where the control circuit 4 is switched to the correction operation mode as described above, the state where the variation amount of the sampling voltage is equal to or lower than a constant level (0.4 V) is the set time (400 m).
s) When the operation is continued for more than the above, the operation is automatically ended, and thereafter, there is no fear that the pinch prevention function is adversely affected. In the case where a phenomenon in which the power supply voltage drops by a preset auxiliary voltage width (0.8 V) or more occurs due to re-cranking or the like during the period in which the correction mode is continued, Since the correction operation mode is extended by the set time (400 ms), it is possible to properly prevent the malfunction of the entrapment prevention function due to such a re-drop phenomenon of the power supply voltage.

【0071】尚、上記実施例においては、制御回路4が
補正動作モードに切り替わったときに、しきい値Isに
対して、サンプリング電圧の増分に応じた電流補正値
(I1〜I4 )を加算する構成としたが、このときに加
算する補正電流値のレベルを、モータ1に流れる負荷電
流の単位時間当たりの増分の最大値より十分大きな値に
設定する構成としても良い。
In the above embodiment, when the control circuit 4 switches to the correction operation mode, the current correction value (I1 to I4) corresponding to the increment of the sampling voltage is added to the threshold value Is. However, the level of the correction current value added at this time may be set to a value sufficiently larger than the maximum value of the increment of the load current flowing through the motor 1 per unit time.

【0072】この構成によれば、窓ガラスを閉鎖方向へ
移動させている最中に、エンジンのクランキングなどに
起因して電源電圧の過渡的な変動現象が発生した場合に
は、実質的にしきい値Isが無限大に拡大された状態と
なって、しきい値Isに基づいたモータ1の負荷の大き
さの判定動作が無効化されるようになるから、挟み込み
防止機能が誤動作する事態を確実に防止できることにな
る。
According to this structure, when a transient fluctuation phenomenon of the power source voltage due to engine cranking or the like occurs during the movement of the window glass in the closing direction, it is substantially prevented. Since the threshold value Is is expanded to infinity and the load magnitude determination operation of the motor 1 based on the threshold value Is is invalidated, the trapping prevention function malfunctions. It can be surely prevented.

【0073】また、A−D変換回路10を通じて検出し
た電源電圧が予め設定された電圧幅以上低下した状態と
なったときに、例えば、シャント抵抗3からの電圧信号
Vdを零レベルに落とすことにより、当該シャント抵抗
3による電流検出機能を無効化する構成とすることもで
きる。
Further, when the power supply voltage detected through the A / D conversion circuit 10 is reduced by a preset voltage width or more, for example, by dropping the voltage signal Vd from the shunt resistor 3 to zero level. The current detection function of the shunt resistor 3 may be invalidated.

【0074】この構成によれば、窓ガラスを閉鎖方向へ
移動させている最中に電源電圧の過渡的な変動現象が発
生した場合において、A−D変換回路10による検出電
圧の低下幅が、予め設定された電圧幅以上であったとき
には、シャント抵抗3による電流検出機能が無効化され
るようになる。従って、この場合においても、モータ1
の負荷の大きさの判定動作が無効化されるようになるか
ら、挟み込み防止機能が誤動作する事態を確実に防止で
きることになる。
According to this configuration, when the transient fluctuation phenomenon of the power supply voltage occurs during the movement of the window glass in the closing direction, the decrease width of the detection voltage by the AD conversion circuit 10 becomes When the voltage width is equal to or more than the preset voltage width, the current detection function of the shunt resistor 3 is disabled. Therefore, even in this case, the motor 1
Since the determination operation of the load magnitude of 1 is invalidated, it is possible to reliably prevent a situation in which the entrapment prevention function malfunctions.

【0075】尚、本発明は上記した実施例に限定される
ものではなく、以下に述べるような拡大或いは変形が可
能である。本発明でいう窓ガラスは、所謂サンルーフな
ども含む概念である。電流補正値のレベルを4段階(I
1 、I2 、I3 、I4 )としたがさらに多段階に設定し
ても良く、また4段階未満であっても良い。制御回路4
は、A−D変換回路10を通じて検出した電源電圧の変
化量が一定レベル以下に収束した場合に補正動作モード
を終了する構成であっても良い。
The present invention is not limited to the above embodiment, but can be expanded or modified as described below. The window glass in the present invention is a concept including so-called sunroof and the like. There are four levels of current correction value (I
1, I2, I3, I4), but may be set in multiple stages or less than four stages. Control circuit 4
May be configured to end the correction operation mode when the amount of change in the power supply voltage detected through the A / D conversion circuit 10 converges below a certain level.

【0076】[0076]

【発明の効果】本発明によれば以上の説明によって明ら
かなように、閉鎖方向へ移動中の窓ガラスが閉鎖位置に
達する前の時点で負荷電流の単位時間当たりの増分が予
め設定されたしきい値以上となったときに当該窓ガラス
の移動方向を反転させるようにした車両用パワーウイン
ドレギュレータの制御装置において、電圧検出手段を通
じて検出した電源電圧が予め設定された電圧幅以上低下
した状態となったときに補正動作モードに切替わると共
に、その補正動作モードでは、上記検出電圧の一定レベ
ル以上の上昇傾向を抽出したときに、前記しきい値に対
し予め設定された電流補正値を加算する補正手段を設け
る構成としたから、電源電圧の一時的な変動に起因して
挟み込み防止機能が誤動作する事態を、挟み込み状態の
検出タイミングの遅れや検出荷重の増大を伴うことなく
防止できるという有益な効果を奏するものである。
According to the present invention, as apparent from the above description, the increment per unit time of the load current is preset before the window glass moving in the closing direction reaches the closing position. In the control device of the vehicle power window regulator that reverses the moving direction of the window glass when it becomes equal to or higher than the threshold value, the power supply voltage detected by the voltage detecting means is reduced by a preset voltage width or more. When the detected voltage rises above a certain level in the correction operation mode, a preset current correction value is added to the threshold value. because was configuration providing a correction means, a situation in which catch prevention function to malfunction due to temporary fluctuations in the power supply voltage, the detection timing of the jamming state It is intended to achieve the beneficial effect of preventing without increasing Les and detection load.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示す電気的構成図FIG. 1 is an electrical configuration diagram showing an embodiment of the present invention.

【図2】制御内容の要部を示すフローチャートその1FIG. 2 is a flow chart showing a main part of control contents.

【図3】制御内容の要部を示すフローチャートその2FIG. 3 is a flowchart showing a main part of control contents, part 2

【図4】電源電圧の変化例と電流補正値の一例を示すタ
イミングチャート
FIG. 4 is a timing chart showing an example of a change in power supply voltage and an example of a current correction value.

【図5】電流補正値用データテーブルの一例を示す図FIG. 5 is a diagram showing an example of a current correction value data table.

【図6】電流補正値の決定に基準となる基準電圧レベル
の大小関係を説明するための図
FIG. 6 is a diagram for explaining a magnitude relationship of reference voltage levels that are used as a reference for determining a current correction value.

【符号の説明】[Explanation of symbols]

図面中、1はモータ、3はシャント抵抗(電流検出手
段)、4は制御回路(補正手段)、6はリミットスイッ
チ、10はA−D変換回路(電圧検出手段)を示す。
In the drawings, 1 is a motor, 3 is a shunt resistance (current detection means), 4 is a control circuit (correction means), 6 is a limit switch, and 10 is an AD conversion circuit (voltage detection means).

───────────────────────────────────────────────────── フロントページの続き (72)発明者 林 一成 愛知県丹羽郡大口町大字豊田字野田1番 地 株式会社東海理化電機製作所内 (56)参考文献 特開 平7−67385(JP,A) 特開 昭59−99979(JP,A) 実開 平4−62881(JP,U) (58)調査した分野(Int.Cl.7,DB名) E05F 15/00 B60J 1/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Issei Hayashi, Noda No. 1, Toyoda, Oguchi-machi, Niwa-gun, Aichi Prefecture Tokai Rika Electric Co., Ltd. (56) Reference JP-A-7-67385 (JP, A ) Japanese Patent Laid-Open No. 59-99979 (JP, A) Actual Development 4-62881 (JP, U) (58) Fields investigated (Int.Cl. 7 , DB name) E05F 15/00 B60J 1/00

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 窓ガラスを往復移動させるためのモータ
と、このモータに流れる負荷電流を検出するための電流
検出手段とを備え、前記窓ガラスの閉鎖方向への移動時
に、その窓ガラスが閉鎖位置に達する前の時点で前記負
荷電流の単位時間当たりの増分が予め設定されたしきい
値以上となったときに当該窓ガラスの移動方向を反転さ
せるようにした車両用パワーウインドレギュレータの制
御装置において、 前記モータの電源電圧を検出する電圧検出手段と、 この電圧検出手段による検出電圧が予め設定された電圧
幅以上低下した状態となったときに補正動作モードに切
替わると共に、その補正動作モードでは、上記検出電圧
の一定レベル以上の上昇傾向を抽出したときに前記しき
い値に対し予め設定された電流補正値を加算する補正手
段とを設けたことを特徴とする車両用パワーウインドレ
ギュレータの制御装置。
1. A motor for reciprocating a window glass, and a current detecting means for detecting a load current flowing through the motor, wherein the window glass is closed when the window glass is moved in a closing direction. Control device for vehicle power window regulator, which reverses the moving direction of the window glass when the increment per unit time of the load current exceeds a preset threshold value before reaching the position In the above, the voltage detection means for detecting the power supply voltage of the motor and the correction operation mode are switched to the correction operation mode when the voltage detected by the voltage detection means is in a state of decreasing by a preset voltage width or more. Then, a correction means for adding a preset current correction value to the threshold value when the rising tendency of the detection voltage above a certain level is extracted, A control device for a vehicle power window regulator, characterized in that provided.
【請求項2】 前記電圧検出手段は、前記モータの電源
電圧を一定のサンプリング周期で検出するように設けら
れ、 前記補正手段は、前記電圧検出手段による検出電圧の上
昇傾向の抽出を、当該検出電圧の2回以上のサンプリン
グ周期における電圧の変化量に基づいて行い得るように
構成されていることを特徴とする請求項1記載の車両用
パワーウインドレギュレータの制御装置。
2. The voltage detection means is provided so as to detect the power supply voltage of the motor at a constant sampling cycle, and the correction means detects the rising tendency of the detection voltage by the voltage detection means. a control device for a vehicle power window regulator according to claim 1, characterized in that it is configured to be performed based on the amount of change in the voltage at the sampling period of more than two voltage.
【請求項3】 前記補正手段は、前記電圧検出手段によ
る検出電圧の単位時間当たりの変化量が設定時間以上継
続して一定レベル以下であった場合に前記補正動作モー
ドを終了するように構成されていることを特徴とする請
求項1または2記載の車両用パワーウインドレギュレー
タの制御装置。
3. The correction means is configured to end the correction operation mode when the amount of change in the voltage detected by the voltage detection means per unit time continues for a set time or more and is below a certain level. The control device for a vehicle power window regulator according to claim 1 or 2, wherein.
【請求項4】 前記補正手段は、前記電圧検出手段によ
る検出電圧の変化量が一定レベル以下に収束した場合に
前記補正動作モードを終了するように構成されているこ
とを特徴とする請求項1または2記載の車両用パワーウ
インドレギュレータの制御装置。
4. The correction means is configured to end the correction operation mode when the amount of change in the voltage detected by the voltage detection means converges to a predetermined level or less. Alternatively, the control device for the vehicle power window regulator according to the second aspect.
【請求項5】 前記補正手段は、前記補正動作モードの
終了前の状態で前記電圧検出手段による検出電圧が予め
設定された補助電圧幅以上低下したときに、当該補正動
作モードを所定時間だけ延長するように構成されている
ことを特徴とする請求項3または4記載の車両用パワー
ウインドレギュレータの制御装置。
5. The correction means extends the correction operation mode for a predetermined time when the voltage detected by the voltage detection means falls by a preset auxiliary voltage width or more in a state before the end of the correction operation mode. The control device for a vehicle power window regulator according to claim 3 or 4, wherein the control device is a vehicle power window regulator.
JP16901996A 1996-06-28 1996-06-28 Control device for vehicle power window regulator Expired - Fee Related JP3423839B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16901996A JP3423839B2 (en) 1996-06-28 1996-06-28 Control device for vehicle power window regulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16901996A JP3423839B2 (en) 1996-06-28 1996-06-28 Control device for vehicle power window regulator

Publications (2)

Publication Number Publication Date
JPH1018709A JPH1018709A (en) 1998-01-20
JP3423839B2 true JP3423839B2 (en) 2003-07-07

Family

ID=15878831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16901996A Expired - Fee Related JP3423839B2 (en) 1996-06-28 1996-06-28 Control device for vehicle power window regulator

Country Status (1)

Country Link
JP (1) JP3423839B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005194872A (en) * 2004-01-10 2005-07-21 Brose Fahrzeugteile Gmbh & Co Kg Coburg Automobile adjustment system, more particularly controls for automobile window lifter
JP2011106140A (en) * 2009-11-16 2011-06-02 Bunka Shutter Co Ltd Opening/closing device and automatic closing control method thereof

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6713980B2 (en) 2001-07-30 2004-03-30 Asmo Co., Ltd. Apparatus and method for controlling moving member
JP6468052B2 (en) * 2015-04-22 2019-02-13 株式会社デンソー Opening / closing member control device
JP6697970B2 (en) * 2016-07-22 2020-05-27 株式会社ミツバ Motor control system and motor control method
JP7456906B2 (en) * 2020-09-30 2024-03-27 株式会社ハイレックスコーポレーション Mobile moving device
CN117137402A (en) * 2023-08-31 2023-12-01 宁波方太厨具有限公司 Door driving method, storage media, cleaning machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005194872A (en) * 2004-01-10 2005-07-21 Brose Fahrzeugteile Gmbh & Co Kg Coburg Automobile adjustment system, more particularly controls for automobile window lifter
JP2011106140A (en) * 2009-11-16 2011-06-02 Bunka Shutter Co Ltd Opening/closing device and automatic closing control method thereof

Also Published As

Publication number Publication date
JPH1018709A (en) 1998-01-20

Similar Documents

Publication Publication Date Title
JP3924548B2 (en) Window glass pinching presence / absence detection device
US8604743B2 (en) Method for operating an electric window lift of a convertible
US6426604B1 (en) Power window controlling device
US7701157B2 (en) Motor controller and method for controlling motor
CN102822439B (en) Method for operating a closing device and closing device
JP3423839B2 (en) Control device for vehicle power window regulator
US9255434B2 (en) Vehicle power window apparatus
TW200401071A (en) Clamp detection device for open/closure object
JPH06327279A (en) Electrically driven device
US9511651B2 (en) Controller for opening and closing member
JP2004084458A (en) Open / close body pinch detection device
JP4448621B2 (en) Window glass clamping presence / absence detection device
JP3835522B2 (en) Open / close control device
EP0886360B1 (en) Dynamic protection for a circuit for a motor type load
JP3455319B2 (en) Control device for vehicle power window regulator
JPH07166761A (en) Power window drive control device
JP2003041856A (en) Detecting method for foreign matter caught by opening and closing member and detecting device for foreign matter caught by opening and closing member
JPH1054175A (en) Control device of power window regulator for vehicle
JP3283165B2 (en) Motor drive control device
US20240262412A1 (en) Drive member control apparatus
JP2002174075A (en) Opening / closing control device
JP3410289B2 (en) Control device for vehicle power window regulator
JP2002250175A (en) Opening / closing control device
JP2002089132A (en) Pinch detection device and window control device
JP3974485B2 (en) Power window drive control device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030408

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090425

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100425

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110425

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120425

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130425

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees