[go: up one dir, main page]

JP6183911B2 - Opening and closing body control device - Google Patents

Opening and closing body control device Download PDF

Info

Publication number
JP6183911B2
JP6183911B2 JP2014128781A JP2014128781A JP6183911B2 JP 6183911 B2 JP6183911 B2 JP 6183911B2 JP 2014128781 A JP2014128781 A JP 2014128781A JP 2014128781 A JP2014128781 A JP 2014128781A JP 6183911 B2 JP6183911 B2 JP 6183911B2
Authority
JP
Japan
Prior art keywords
current
motor
opening
closing
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014128781A
Other languages
Japanese (ja)
Other versions
JP2016008409A (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 JP2014128781A priority Critical patent/JP6183911B2/en
Publication of JP2016008409A publication Critical patent/JP2016008409A/en
Application granted granted Critical
Publication of JP6183911B2 publication Critical patent/JP6183911B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、モータの駆動により開閉体を開閉させる開閉体制御装置に関し、特に、開閉体が全開または全閉して機械的に拘束されたときに開閉用部品を保護する技術に関する。   The present invention relates to an opening / closing body control device that opens and closes an opening / closing body by driving a motor, and more particularly to a technique for protecting an opening / closing component when the opening / closing body is fully opened or fully closed and mechanically restrained.

車両に搭載される開閉体制御装置として、たとえばパワーウインドウ制御装置がある。パワーウインドウ制御装置は、モータを正転または逆転して、パワーウインドウ開閉機構を作動させることにより、窓ガラスを開閉動作させる。   As an opening / closing body control device mounted on a vehicle, for example, there is a power window control device. The power window control device opens and closes the window glass by rotating the motor forward or backward to operate the power window opening / closing mechanism.

窓ガラスが全開または全閉すると、窓ガラスが窓枠やストッパなどにより機械的に拘束され、パワーウインドウ開閉機構の構成部品やモータも機械的に拘束される。その際、窓ガラスと窓枠などの接触や、パワーウインドウ開閉機構の部品同士の接触により、衝突音が発生する。また、それら機械系部品の接触時の衝撃が大きい場合、機械系部品が損傷するおそれがある。さらに、モータの駆動が継続されると、過負荷状態となり、モータやモータ駆動回路などの電気系部品や、上記機械系部品が損傷するおそれもある。   When the window glass is fully opened or fully closed, the window glass is mechanically restrained by a window frame, a stopper, or the like, and the components of the power window opening / closing mechanism and the motor are also mechanically restrained. At that time, a collision sound is generated by contact between the window glass and the window frame, or contact between the components of the power window opening / closing mechanism. Moreover, when the impact at the time of contact of these mechanical system parts is large, there exists a possibility that mechanical system parts may be damaged. Furthermore, when the motor continues to be driven, an overload state occurs, and there is a risk that electrical parts such as the motor and the motor drive circuit and the mechanical parts will be damaged.

一方、特許文献1には、実際に電動機が機械的に拘束されることによって現れる過電流を、他の要因による瞬間的な過電流や微弱な過電流と区別して、前記機械的拘束による過電流からモータなどを保護する技術が開示されている。詳しくは、電動機に流れる電流信号を電圧信号に変換し、該電圧信号が一定の第1比較基準電圧を超過する値を積分している。そして、その積分出力が一定の第2比較基準電圧より小さい場合に、過電流が流れたと判断して、電動機をストップさせている。   On the other hand, in Patent Document 1, an overcurrent that appears when an electric motor is actually restrained mechanically is distinguished from an instantaneous overcurrent or a weak overcurrent caused by other factors. Technology for protecting motors and the like from the above has been disclosed. Specifically, a current signal flowing through the electric motor is converted into a voltage signal, and a value at which the voltage signal exceeds a certain first comparison reference voltage is integrated. When the integrated output is smaller than the constant second comparison reference voltage, it is determined that an overcurrent has flowed, and the electric motor is stopped.

また、特許文献2に開示された直流モータの駆動装置では、モータの電流を検出して、この検出電流が定格電流より大きいときに、検出電流に比例した増幅電圧をCR積分してCR積分値を算出している。そして、そのCR積分値が過負荷設定値より大きいときに、モータの通電を遮断している。   Further, in the DC motor driving apparatus disclosed in Patent Document 2, when the motor current is detected and the detected current is larger than the rated current, the amplified voltage proportional to the detected current is CR-integrated to obtain a CR integrated value. Is calculated. When the CR integrated value is larger than the overload set value, the motor is deenergized.

特開平8−220152号公報JP-A-8-220152 特開2007−259626号公報JP 2007-259626 A

窓ガラスの開閉動作中にモータに流れる電流は、図7に示すように、たとえば温度、電圧、負荷、回路、および部品などのばらつきの影響を受けて、変動し易い。具体的には、常温下より低温下の方が、モータ電流は増加する傾向にある。また、同じ温度下でも、モータや開閉機構の部品特性により、モータ電流はばらつく。   As shown in FIG. 7, the current flowing through the motor during the opening / closing operation of the window glass is likely to fluctuate due to the influence of variations in temperature, voltage, load, circuit, parts, and the like. Specifically, the motor current tends to increase at a lower temperature than at a normal temperature. Even at the same temperature, the motor current varies due to the component characteristics of the motor and the opening / closing mechanism.

このため、モータの電流など(モータの電流を変換した電圧の場合もある)を一定のモータ電流用閾値と比較した結果に基づいて、モータの電流などの積分を開始する場合、該積分開始点のばらつきが大きくなる。さらに、その積分値を一定の積分値用閾値と比較した結果に基づいて、開閉体の機械的拘束による過負荷を検出して、モータを停止させる場合、該停止点のばらつきも大きくなる。これらの結果、過負荷状態が長引いて、開閉体の開閉に関わる機械系部品や電気系部品が損傷するおそれがある。   Therefore, when integration of the motor current or the like is started based on the result of comparing the motor current or the like (which may be a voltage obtained by converting the motor current) with a constant motor current threshold, the integration start point The variation of the is increased. Further, when the motor is stopped by detecting an overload due to mechanical restraint of the opening / closing body based on the result of comparing the integral value with a certain integral value threshold value, the variation of the stop point also increases. As a result, the overload state is prolonged, and there is a possibility that mechanical parts and electric parts related to opening and closing of the opening / closing body are damaged.

また、モータの性能により、モータ駆動回路からモータに流せる電流には上限がある。このため、このモータ電流の上限と上述のばらつきの影響を考慮すると、モータ電流用閾値を設定可能な範囲が狭くなり、該閾値を設定するのが難しくなる。   Moreover, there is an upper limit to the current that can be passed from the motor drive circuit to the motor depending on the performance of the motor. For this reason, when the upper limit of the motor current and the influence of the above-described variation are taken into consideration, the range in which the motor current threshold can be set becomes narrow, and it becomes difficult to set the threshold.

本発明の課題は、種々のばらつきの影響を受けても、開閉体の全開閉時の機械的拘束による過負荷で開閉用部品が損傷するのを防止し、かつ閾値を容易に設定することができる開閉体制御装置を提供することである。   An object of the present invention is to prevent damage to an opening / closing component due to an overload caused by mechanical restraint during full opening / closing of an opening / closing body, and to easily set a threshold value even under the influence of various variations. It is to provide an opening / closing body control device that can be used.

本発明による開閉体制御装置は、開閉体を開閉動作させるための電動機の駆動を制御する電動機制御部と、開閉体の開閉位置を検出する位置検出部と、電動機に流れる電流を検出する電流検出部と、電流検出部により検出された電動機の電流の変化量を算出する変化量算出部と、電流検出部により検出された電動機の電流に基づく積分値を算出する積分値算出部とを備える。そして、電動機制御部により電動機を駆動して、開閉体を開閉動作させている場合に、開閉体が全開位置または全閉位置の付近に設けられた所定の領域まで開閉したことを位置検出部により検出すると、変化量算出部により電動機の電流の変化量を算出し、該変化量が所定の第1閾値より大きくなると、積分値算出部により電動機の電流に基づく積分値を算出し、該積分値が所定の第2閾値より大きくなると、電動機制御部によりモータの駆動を停止させる。   An opening / closing body control apparatus according to the present invention includes an electric motor control unit that controls driving of an electric motor for opening / closing an opening / closing body, a position detection unit that detects an opening / closing position of the opening / closing body, and a current detection that detects a current flowing through the electric motor. A change amount calculation unit that calculates a change amount of the current of the motor detected by the current detection unit, and an integration value calculation unit that calculates an integral value based on the current of the motor detected by the current detection unit. Then, when the electric motor is driven by the electric motor control unit to open and close the open / close body, the position detection unit indicates that the open / close body has opened / closed to a predetermined region provided near the fully open position or the fully closed position. When detected, the change amount calculation unit calculates a change amount of the current of the motor, and when the change amount exceeds a predetermined first threshold value, the integration value calculation unit calculates an integration value based on the current of the motor, and the integration value Becomes larger than a predetermined second threshold value, the motor control unit stops the driving of the motor.

上記によると、開閉体の開閉動作中に、種々のばらつきの影響を受けて、電動機に流れる電流が変動しても、ばらつきの影響を受け難い電動機の電流の変化量が第1閾値より大きくなったときに、電動機の電流に基づく積分を開始するので、該積分開始点のばらつきを小さく抑えることができる。また、その積分値が第2閾値より大きくなったときは、開閉体の機械的拘束による過負荷状態であるため、電動機の駆動を停止することにより、該停止点のばらつきを積分開始点のばらつきと同程度に小さく抑えることができる。この結果、開閉体の機械的拘束による過負荷状態が長引くのを抑えて、該過負荷で開閉体の開閉用の機械系部品や電気系部品が損傷するのを防止することが可能となる。   According to the above, even if the current flowing through the motor fluctuates due to the influence of various variations during the opening / closing operation of the opening / closing body, the amount of change in the current of the motor that is hardly affected by the variation is greater than the first threshold. Since integration based on the electric current of the electric motor is started, variation in the integration start point can be kept small. Further, when the integral value becomes larger than the second threshold value, it is an overload state due to mechanical restraint of the opening / closing body, and therefore, by stopping the driving of the electric motor, the variation of the stop point is made to be the variation of the integration start point. Can be kept as small as. As a result, it is possible to prevent the overload state due to the mechanical restraint of the opening / closing body from being prolonged, and to prevent damage to the mechanical system parts and electrical system parts for opening / closing the opening / closing body due to the overload.

また、ばらつきの影響を受け難くて上限を考慮する必要がない電動機の電流の変化量を、第1閾値と比較するので、第1閾値を容易に設定することができる。また、ばらつきの影響を受け難く上限を考慮する必要がない電動機の電流に基づく積分値を、第2閾値と比較するので、第2閾値も容易に設定することができる。   In addition, since the amount of change in the current of the motor that is not easily affected by the variation and does not need to consider the upper limit is compared with the first threshold, the first threshold can be easily set. Further, since the integral value based on the electric current of the motor that is not easily affected by the variation and does not need to consider the upper limit is compared with the second threshold value, the second threshold value can be easily set.

また、本発明では、上記開閉体制御装置において、電流検出部により検出された電動機の電流から電圧変動による電流成分を差し引いて、電動機の電流を補正する電流補正部をさらに備えてもよい。この場合、変化量算出部は、電流補正部による補正後の電動機の電流の変化量を算出し、積分値算出部は、電流補正部による補正後の電動機の電流に基づく積分値を算出する。   In the present invention, the opening / closing body control device may further include a current correction unit that corrects the current of the motor by subtracting a current component due to voltage fluctuation from the current of the motor detected by the current detection unit. In this case, the change amount calculation unit calculates the change amount of the electric current of the electric motor after correction by the current correction unit, and the integration value calculation unit calculates an integration value based on the electric current of the electric motor corrected by the current correction unit.

また、本発明では、上記開閉体制御装置において、変化量算出部は、開閉体の開閉位置が所定の領域に到ったときからの前記電動機の電流の変化量を算出してもよい。   Further, in the present invention, in the opening / closing body control apparatus, the change amount calculation unit may calculate the amount of change in the electric current of the motor from when the opening / closing position of the opening / closing body reaches a predetermined region.

また、本発明では、上記開閉体制御装置において、前記電動機の電流の変化量が第1閾値以下の場合、積分値算出部が前記積分値の算出を停止して、該積分値を初期化してもよい。   Further, in the present invention, in the opening / closing body control device, when the amount of change in the current of the motor is equal to or less than a first threshold, the integral value calculation unit stops calculating the integral value and initializes the integral value. Also good.

さらに、本発明の一実施形態では、開閉体は、車両の窓ガラスから成り、上記開閉体制御装置は、パワーウインドウ制御装置から成る。   Furthermore, in one Embodiment of this invention, an opening / closing body consists of a window glass of a vehicle, and the said opening / closing body control apparatus consists of a power window control apparatus.

本発明によれば、種々のばらつきの影響を受けても、開閉体の全開閉時の機械的拘束による過負荷で開閉用部品が損傷するのを防止し、かつ閾値を容易に設定することができる開閉体制御装置を提供することが可能となる。   According to the present invention, even when affected by various variations, it is possible to prevent the opening / closing component from being damaged by an overload due to mechanical restraint during full opening / closing of the opening / closing body, and to easily set the threshold value. It becomes possible to provide an openable / closable body control device.

本発明の実施形態によるPW(パワーウインドウ)制御システムとPW制御装置の構成を示した図である。It is the figure which showed the structure of the PW (power window) control system and PW control apparatus by embodiment of this invention. 図1のPW制御装置におけるモータ電流の補正の概要を示した図である。It is the figure which showed the outline | summary of the correction | amendment of the motor current in the PW control apparatus of FIG. 図1のPW制御装置の動作を示したフローチャートである。3 is a flowchart showing the operation of the PW control device of FIG. 1. 図1のPW制御装置における補正後のモータ電流とその積分値の変化の一例を示した図である。It is the figure which showed an example of the motor current after correction | amendment in the PW control apparatus of FIG. 1, and the change of the integral value. 図1のPW制御装置における補正後のモータ電流の変化の一例を示した図である。It is the figure which showed an example of the change of the motor current after correction | amendment in the PW control apparatus of FIG. 図1のPW制御装置におけるモータ駆動電圧とモータ電流の変化の一例を示した図である。It is the figure which showed an example of the change of the motor drive voltage and motor current in the PW control apparatus of FIG. 従来の問題点を説明するためのモータ電流の変化の一例を示した図である。It is the figure which showed an example of the change of the motor current for demonstrating the conventional problem.

以下、本発明の実施形態につき、図面を参照しながら説明する。各図において、同一の部分または対応する部分には、同一符号を付してある。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

まず、実施形態の構成を、図1を参照しながら説明する。以下では、「パワーウインドウ」を「PW」と表記する。   First, the configuration of the embodiment will be described with reference to FIG. Hereinafter, the “power window” is expressed as “PW”.

図1は、PW制御システム100とPW制御装置1の構成を示した図である。PW制御システム100は、自動車に搭載され、PW制御装置1とその他の構成要素5〜9を含んでいる。   FIG. 1 is a diagram showing the configuration of the PW control system 100 and the PW control device 1. The PW control system 100 is mounted on an automobile and includes a PW control device 1 and other components 5 to 9.

PW制御装置1は、モータ9を駆動して、PW開閉機構8を作動させ、車両のドアに設けられた窓6の窓ガラス7を開閉動作させる。PW制御装置1は、本発明の「開閉体制御装置」の一例である。窓6および窓ガラス7は、本発明の「開閉体」の一例である。モータ9は、本発明の「電動機」の一例である。   The PW control device 1 drives the motor 9 to operate the PW opening / closing mechanism 8 to open / close the window glass 7 of the window 6 provided on the door of the vehicle. The PW control device 1 is an example of the “opening / closing body control device” of the present invention. The window 6 and the window glass 7 are examples of the “opening / closing body” of the present invention. The motor 9 is an example of the “electric motor” in the present invention.

PW制御装置1には、制御部2、PW操作部3、およびモータ駆動部4が備わっている。   The PW control device 1 includes a control unit 2, a PW operation unit 3, and a motor drive unit 4.

制御部2は、マイクロコンピュータから成り、窓6の開閉を制御する。制御部2には、記憶部2a、モータ制御部2b、電流補正部2c、位置検出部2d、変化量算出部2e、および積分値算出部2fが設けられている。記憶部2aには、各部を制御するためのデータが記憶されている。   The control unit 2 includes a microcomputer and controls opening and closing of the window 6. The control unit 2 includes a storage unit 2a, a motor control unit 2b, a current correction unit 2c, a position detection unit 2d, a change amount calculation unit 2e, and an integral value calculation unit 2f. The storage unit 2a stores data for controlling each unit.

PW操作部3は、窓6の開閉を操作するためのスイッチから成り、車内に設けられている。PW操作部3は、利用者により操作されて、その操作に応じた信号を出力する。制御部2は、PW操作部3から出力される信号に基づいて、PW操作部3の操作状態を検出する。本例では、PW操作部3でマニュアル開閉操作とオート開閉操作を行うことができる。   The PW operation unit 3 includes a switch for operating opening and closing of the window 6 and is provided in the vehicle. The PW operation unit 3 is operated by the user and outputs a signal corresponding to the operation. The control unit 2 detects the operation state of the PW operation unit 3 based on the signal output from the PW operation unit 3. In this example, a manual opening / closing operation and an automatic opening / closing operation can be performed by the PW operation unit 3.

モータ9は、直流モータから成る。モータ駆動部4は、モータ9を正転または逆転で駆動する回路から成る。モータ制御部2bは、PW操作部3の操作状態や窓ガラス7の開閉状態に応じて、モータ駆動部4を動作させて、モータ9の駆動を制御する。モータ9が正転または逆転することで、PW開閉機構8が作動して、窓ガラス7が下降または上昇し、窓6が開閉される。モータ制御部2bは、本発明の「電動機制御部」の一例である。   The motor 9 is a DC motor. The motor drive unit 4 includes a circuit that drives the motor 9 in the normal rotation or reverse rotation. The motor control unit 2 b controls the drive of the motor 9 by operating the motor drive unit 4 according to the operation state of the PW operation unit 3 and the open / closed state of the window glass 7. When the motor 9 is rotated forward or reverse, the PW opening / closing mechanism 8 is operated, the window glass 7 is lowered or raised, and the window 6 is opened / closed. The motor control unit 2b is an example of the “motor control unit” in the present invention.

モータ駆動部4には、電流検出部4aが設けられている。電流検出部4aは、シャント抵抗とCRローパスフィルタを含んだ回路から成り、モータ9に流れる電流(以下、「モータ電流」という。)を検出する。電流検出部4aで検出されたモータ電流は、制御部2に出力される。電流補正部2cは、後述するように、電流検出部4aにより検出されたモータ電流を補正する。   The motor drive unit 4 is provided with a current detection unit 4a. The current detection unit 4a includes a circuit including a shunt resistor and a CR low-pass filter, and detects a current flowing through the motor 9 (hereinafter referred to as “motor current”). The motor current detected by the current detection unit 4a is output to the control unit 2. As will be described later, the current correction unit 2c corrects the motor current detected by the current detection unit 4a.

パルス発生器5は、たとえばロータリエンコーダから成り、モータ9の回転状態に応じたパルス信号を制御部2に出力する。位置検出部2dは、パルス発生器5から出力されたパルス信号を検出し、該パルス信号に基づいて窓ガラス7の開閉位置を検出する。具体的には、位置検出部2dは、たとえばパルス発生器5から出力されるパルス信号の立ち上がりなどの数を数えて、その計数値から窓ガラス7の開閉位置を判断する。   The pulse generator 5 is composed of, for example, a rotary encoder, and outputs a pulse signal corresponding to the rotation state of the motor 9 to the control unit 2. The position detector 2d detects the pulse signal output from the pulse generator 5, and detects the open / close position of the window glass 7 based on the pulse signal. Specifically, the position detection unit 2d counts the number of rises of the pulse signal output from the pulse generator 5, for example, and determines the opening / closing position of the window glass 7 from the counted value.

変化量算出部2eは、電流補正部2cにより補正された後のモータ電流の変化量を算出する。積分値算出部2fは、電流補正部2cにより補正された後のモータ電流に基づく積分値を算出する。   The change amount calculation unit 2e calculates the change amount of the motor current after being corrected by the current correction unit 2c. The integral value calculation unit 2f calculates an integral value based on the motor current after being corrected by the current correction unit 2c.

次に、PW制御装置1によるモータ電流の補正方法について、図2を参照しながら説明する。   Next, a method of correcting the motor current by the PW control device 1 will be described with reference to FIG.

図2は、モータ電流の補正の概要を示した図である。モータ9では、モータ駆動部4からモータ駆動電圧が印加されると、電圧−電流特性11により電圧に基づく電流成分が生成される。また、PW開閉機構8から外部トルク(負荷)が加わると、負荷−電流特性12により負荷に基づく電流成分が生成される。そして、電圧に基づく電流成分と負荷に基づく電流成分とが加算されて、モータ電流となる。このモータ電流は、電流検出部4aにより検出されて、制御部2に入力され、AD(アナログデジタル)変換部14によりAD変換される。   FIG. 2 is a diagram showing an outline of motor current correction. In the motor 9, when a motor driving voltage is applied from the motor driving unit 4, a current component based on the voltage is generated by the voltage-current characteristic 11. When an external torque (load) is applied from the PW opening / closing mechanism 8, a current component based on the load is generated by the load-current characteristic 12. Then, the current component based on the voltage and the current component based on the load are added to form a motor current. This motor current is detected by the current detection unit 4 a, input to the control unit 2, and AD converted by the AD (analog / digital) conversion unit 14.

制御部2では、モータ駆動部4から入力されたモータ駆動電圧が、AD変換部15によりAD変換されて、電流補正部2cに入力される。電流補正部2cでは、まず、AD変換後のモータ駆動電圧と機械的特性16により機械的電流成分が算出され、かつ、AD変換後のモータ駆動電圧と電気的特性17により電気的電流成分が算出される。次に、その機械的電流成分と電気的電流成分とが加算されて、電圧変動による電流成分(演算値)が算出される。そして、この電圧変動による電流成分が、電流検出部4aより入力されAD変換されたモータ電流(AD値)から差し引かれて、補正後のモータ電流が算出される。   In the control unit 2, the motor drive voltage input from the motor drive unit 4 is AD converted by the AD conversion unit 15 and input to the current correction unit 2c. In the current correction unit 2c, first, a mechanical current component is calculated from the motor drive voltage after AD conversion and the mechanical characteristics 16, and an electrical current component is calculated from the motor drive voltage after AD conversion and the electrical characteristics 17 Is done. Next, the mechanical current component and the electrical current component are added to calculate a current component (calculated value) due to voltage fluctuation. Then, the current component due to the voltage fluctuation is subtracted from the motor current (AD value) input from the current detection unit 4a and subjected to AD conversion, and the corrected motor current is calculated.

つまり、電流補正部2cでは、モータ駆動部4より取得したモータ駆動電圧に基づいて、電圧変動による電流成分が算出される。そして、その電流成分が電流検出部4aより取得したモータ電流から差し引かれることで、電圧変動の影響を除去した補正後のモータ電流が算出される。この補正後のモータ電流は、電流補正部2cから変化量算出部2eや積分値算出部2fに出力される。   That is, the current correction unit 2 c calculates a current component due to voltage fluctuation based on the motor drive voltage acquired from the motor drive unit 4. Then, the current component is subtracted from the motor current acquired from the current detection unit 4a, thereby calculating a corrected motor current from which the influence of voltage fluctuation is removed. The corrected motor current is output from the current correction unit 2c to the change amount calculation unit 2e and the integral value calculation unit 2f.

次に、PW制御装置1の動作を、図3および図4を参照しながら説明する。また適宜、図1も参照する。   Next, the operation of the PW control device 1 will be described with reference to FIG. 3 and FIG. Reference is also made to FIG. 1 as appropriate.

図3は、PW制御装置1の動作を示したフローチャートである。図4は、PW制御装置1における補正後のモータ電流(実線)とその積分値(破線)の変化の一例を示した図である。図4では、横軸に窓ガラス7が開閉している時間または位置を示している(後述の図5および図6も同様)。   FIG. 3 is a flowchart showing the operation of the PW control device 1. FIG. 4 is a diagram showing an example of changes in the corrected motor current (solid line) and its integrated value (broken line) in the PW control device 1. In FIG. 4, the horizontal axis indicates the time or position where the window glass 7 is opened and closed (the same applies to FIGS. 5 and 6 described later).

PW操作部3で窓の開閉操作が行われると(図3のステップS1)、モータ制御部2bが、その操作状態に応じてモータ駆動部4によりモータ9の駆動を開始する(図3のステップS2)。これにより、窓ガラス7の開閉動作が開始される。そして、前述したように、電流検出部4aがモータ電流Aの検出を開始して(図3のステップS3)、電流補正部2cがモータ電流Aの補正を開始する(図3のステップS4)。また、位置検出部2dが窓ガラス7の開閉位置の検出を開始する(図3のステップS5)。   When the opening / closing operation of the window is performed by the PW operation unit 3 (step S1 in FIG. 3), the motor control unit 2b starts driving the motor 9 by the motor driving unit 4 according to the operation state (step in FIG. 3). S2). Thereby, the opening / closing operation | movement of the window glass 7 is started. As described above, the current detection unit 4a starts detecting the motor current A (step S3 in FIG. 3), and the current correction unit 2c starts correcting the motor current A (step S4 in FIG. 3). Moreover, the position detection part 2d starts the detection of the opening / closing position of the window glass 7 (step S5 of FIG. 3).

窓ガラス7の閉動作中に、窓ガラス7の上端が、図1に示す閉方向側ロック検出領域Zcに入るまでは、PW制御装置1において、窓6への異物の挟み込みの検出処理が行われる。この挟み込みの検出処理は、公知の方法で行われる(説明省略)。   During the closing operation of the window glass 7, until the upper end of the window glass 7 enters the closing direction lock detection region Zc shown in FIG. Is called. This pinching detection process is performed by a known method (not described).

図1に示す閉方向側ロック検出領域Zcは、窓ガラス7の全閉位置の付近に設定された領域である。窓ガラス7の閉動作中に、窓ガラス7の上端が閉方向側ロック検出領域Zcに入った後、窓ガラス7が全閉して、窓ガラス7やPW開閉機構8やモータ9が機械的に拘束されたロック状態になる。   The closing direction side lock detection area Zc shown in FIG. 1 is an area set in the vicinity of the fully closed position of the window glass 7. During the closing operation of the window glass 7, after the upper end of the window glass 7 enters the closing direction side lock detection region Zc, the window glass 7 is fully closed, and the window glass 7, the PW opening / closing mechanism 8 and the motor 9 are mechanically operated. It becomes the locked state restrained by.

また、図1に示す開方向側ロック検出領域Zoは、窓ガラス7の全開位置の付近に設定された領域である。窓ガラス7の開動作中に、窓ガラス7の上端が開方向側ロック検出領域Zoに入った後、窓ガラス7が全開して、窓ガラス7やPW開閉機構8やモータ9が機械的に拘束されたロック状態になる。閉方向側ロック検出領域Zcと開方向側ロック検出領域Zoは、本発明の「所定の領域」の一例である。   Further, the opening direction side lock detection area Zo shown in FIG. 1 is an area set in the vicinity of the fully opened position of the window glass 7. During the opening operation of the window glass 7, after the upper end of the window glass 7 enters the opening direction side lock detection area Zo, the window glass 7 is fully opened, and the window glass 7, the PW opening / closing mechanism 8 and the motor 9 are mechanically operated. It becomes a restricted lock state. The closing direction side lock detection region Zc and the opening direction side lock detection region Zo are examples of the “predetermined region” in the present invention.

モータ9が駆動して、窓ガラス7の開閉動作が開始されると、モータ電流Aおよび補正後のモータ電流A’は、一旦上昇した後、ほぼ一定で推移する。閉動作中の場合、窓ガラス7が閉方向側ロック検出領域Zcまで閉じた(窓ガラス7の上端が閉方向側ロック検出領域Zcに入った状態;図4のP)後、窓ガラス7と窓枠との接触やPW開閉機構8の部品特性などにより、負荷がかかって、モータ電流A、A’が上昇する(図4のP以降;補正後のモータ電流A’のみ図示)。そして、窓ガラス7が全閉して、窓ガラス7やPW開閉機構8やモータ9がロック状態になると、過負荷がかかり、モータ駆動部4からモータ9に流せる上限値であるロック電流でモータ電流A、A’が推移する(図4のP、P)。 When the motor 9 is driven and the opening / closing operation of the window glass 7 is started, the motor current A and the corrected motor current A ′ once increase and then change substantially constant. In the case of the closing operation, after the window glass 7 is closed to the closing direction side lock detection area Zc (a state where the upper end of the window glass 7 enters the closing direction side lock detection area Zc; P 1 in FIG. 4), the window glass 7 and due to component properties of the contact and PW closing mechanism 8 with the window frame, it takes the load, the motor current a, a 'is increased (P 2 and subsequent FIGS. 4; a motor current a' after the correction only shown). When the window glass 7 is fully closed and the window glass 7, the PW opening / closing mechanism 8 and the motor 9 are in a locked state, an overload is applied and the motor is driven with a lock current which is an upper limit value that can be passed from the motor drive unit 4 to the motor 9. Currents A and A ′ change (P 4 and P 5 in FIG. 4).

また、開動作中の場合も、窓ガラス7が開方向側ロック検出領域Zoまで開いた(窓ガラス7の上端が開方向側ロック検出領域Zoに入った状態;図4のP)後、窓ガラス7と窓枠との接触やPW開閉機構8の部品特性などにより、負荷がかかって、モータ電流A、A’が上昇する(図4のP以降)。そして、窓ガラス7が全開して、窓ガラス7やPW開閉機構8やモータ9がロック状態になると、過負荷がかかり、モータ電流A、A’がロック電流で推移する(図4のP、P)。 Further, even during the opening operation, after the window glass 7 has been opened to the opening direction side lock detection area Zo (the state where the upper end of the window glass 7 has entered the opening direction side lock detection area Zo; P 1 in FIG. 4), due part characteristics of contact and PW closing mechanism 8 of the window glass 7 and the window frame, it takes the load, the motor current a, a 'is increased (P 2 onward in FIG. 4). When the window glass 7 is fully opened and the window glass 7, the PW opening / closing mechanism 8 and the motor 9 are in a locked state, an overload is applied, and the motor currents A and A ′ change with the lock current (P 4 in FIG. 4). , P 5 ).

窓ガラス7やPW開閉機構8やモータ9のロック状態で、モータ9の駆動が継続されると、窓ガラス7、窓枠、PW開閉機構8、およびモータ9に過負荷がかかり、これら各部が損傷するおそれがある。そこで、以下のように、ロック状態を検出して、過負荷状態を解除する。   If the driving of the motor 9 is continued while the window glass 7, the PW opening / closing mechanism 8 and the motor 9 are locked, the window glass 7, the window frame, the PW opening / closing mechanism 8 and the motor 9 are overloaded. There is a risk of damage. Therefore, the lock state is detected and the overload state is canceled as follows.

閉動作中の窓ガラス7が閉方向側ロック検出領域Zcまで閉じたこと、または開動作中の窓ガラス7が開方向側ロック検出領域Zoまで開いたことを、位置検出部2dにより検出すると(図3のステップS6:YES、図4のP)、変化量算出部2eが、補正後のモータ電流A’の変化量ΔA’を算出する(図3のステップS7)。このとき、たとえば、窓ガラス7の開閉位置が閉方向側ロック検出領域Zcまたは開方向側ロック検出領域Zoに到ったときからの、補正後のモータ電流A’の変化量ΔA’が算出される。 When the position detecting unit 2d detects that the window glass 7 during the closing operation is closed to the closing direction side lock detection region Zc or that the window glass 7 during the opening operation is opened to the opening direction side lock detection region Zo ( Step S6 in FIG. 3: YES, P 1 in FIG. 4), the change amount calculation unit 2e calculates the change amount ΔA ′ of the corrected motor current A ′ (step S7 in FIG. 3). At this time, for example, the amount of change ΔA ′ of the corrected motor current A ′ from when the opening / closing position of the window glass 7 reaches the closing direction lock detection region Zc or the opening direction lock detection region Zo is calculated. The

次に、制御部2が、変化量算出部2eにより算出された補正後のモータ電流A’の変化量ΔA’と、記憶部2aに記憶された積分開始判定閾値Xとを比較する。そして、変化量ΔA’が積分開始判定閾値Xより大きくなるまでは(ΔA’≦X、図3のステップS8:NO)、積分値算出部2fが補正後のモータ電流A’に基づく積分値∫A’の算出を停止し、該積分値∫A’が初期値(=0)のままとなる(図3のステップS10)。積分開始判定閾値Xは、本発明の「第1閾値」の一例である。   Next, the control unit 2 compares the corrected change amount ΔA ′ of the motor current A ′ calculated by the change amount calculation unit 2 e with the integration start determination threshold value X stored in the storage unit 2 a. Until the change amount ΔA ′ becomes larger than the integration start determination threshold value X (ΔA ′ ≦ X, step S8 in FIG. 3: NO), the integral value calculation unit 2f integrates the integrated value 基 づ く based on the corrected motor current A ′. The calculation of A ′ is stopped and the integral value ∫A ′ remains at the initial value (= 0) (step S10 in FIG. 3). The integration start determination threshold value X is an example of the “first threshold value” in the present invention.

再び、変化量算出部2eにより補正後のモータ電流A’の変化量ΔA’が算出されて(図3のステップS7)、該変化量ΔA’が積分開始判定閾値Xより大きくなると(図3のステップS8:YES、図4のP、P’)、積分値算出部2fが、補正後のモータ電流A’ に基づく積分値∫A’の算出を開始する(図3のステップS9)。 Again, the change amount calculation unit 2e calculates the change amount ΔA ′ of the corrected motor current A ′ (step S7 in FIG. 3), and when the change amount ΔA ′ becomes larger than the integration start determination threshold value X (in FIG. 3). Step S8: YES, P 3 , P 3 ′ in FIG. 4, the integral value calculation unit 2 f starts calculating the integral value ∫A ′ based on the corrected motor current A ′ (Step S <b> 9 in FIG. 3).

このとき、積分値算出部2fは、たとえば図4に示すハッチング部分を補正後のモータ電流A’ に基づく積分値∫A’として算出する。詳しくは、図4のP、P’(補正後のモータ電流A’の変化量ΔA’が積分開始判定閾値Xより大きくなったとき)以降の補正後のモータ電流A’の値と、P、P’における補正後のモータ電流A’の値との差分を積分することにより、積分値∫A’を求める。あるいは、図4のPまたはP’における補正後のモータ電流A’の値と、P〜P区間またはP’〜P区間の値(移動時間または移動量)との積(図4のハッチング部分の下方にある四角の面積)を、PまたはP’以降の補正後のモータ電流A’の値の積分値から差し引くことにより、積分値∫A’を求めてもよい。 At this time, the integral value calculation unit 2f calculates, for example, the hatched portion shown in FIG. 4 as an integral value ∫A ′ based on the corrected motor current A ′. Specifically, the values of the corrected motor current A ′ after P 3 and P 3 ′ in FIG. 4 (when the amount of change ΔA ′ of the corrected motor current A ′ becomes larger than the integration start determination threshold value X), An integrated value ∫A ′ is obtained by integrating the difference between the corrected motor current A ′ in P 3 and P 3 ′. Alternatively, the product of the value of the motor current A ′ after correction at P 3 or P 3 ′ in FIG. 4 and the value (movement time or movement amount) in the P 3 to P 6 section or P 3 ′ to P 7 section ( The integrated value ∫A ′ may be obtained by subtracting the square area below the hatched portion in FIG. 4 from the integrated value of the corrected motor current A ′ after P 3 or P 3 ′. .

また、他の例として、補正後のモータ電流A’そのものを積分することにより、積分値∫A’を求めてもよい(図示省略)。   As another example, the integrated value ∫A ′ may be obtained by integrating the corrected motor current A ′ itself (not shown).

次に、制御部2が、積分値算出部2fにより算出された積分値∫A’と、記憶部2aに記憶されたロック判定閾値Yとを比較する。そして、積分値∫A’がロック判定閾値Yより大きくなるまでは(∫A’≦Y、図3のステップS11:NO)、モータ制御部2bがモータ駆動部4によりモータ9の駆動を継続する(図3のステップS12)。ロック判定閾値Yは、本発明の「第2閾値」の一例である。   Next, the control unit 2 compares the integral value ∫A ′ calculated by the integral value calculating unit 2f with the lock determination threshold value Y stored in the storage unit 2a. Until the integrated value ∫A ′ becomes larger than the lock determination threshold Y (∫A ′ ≦ Y, step S11 in FIG. 3: NO), the motor control unit 2b continues to drive the motor 9 by the motor drive unit 4. (Step S12 in FIG. 3). The lock determination threshold Y is an example of the “second threshold” in the present invention.

この後、再び変化量算出部2eにより補正後のモータ電流A’の変化量ΔA’が算出されて(図3のステップS7)、該変化量ΔA’が積分開始判定閾値以下になったとする(図3のステップS8:NO)。すると、積分値算出部2fが、補正後のモータ電流A’ に基づく積分値∫A’の算出を停止し、該積分値∫A’を初期化する(図3のステップS10)。   Thereafter, the change amount calculation unit 2e calculates again the change amount ΔA ′ of the corrected motor current A ′ (step S7 in FIG. 3), and the change amount ΔA ′ becomes equal to or less than the integration start determination threshold ( Step S8 of FIG. 3: NO). Then, the integral value calculation unit 2f stops the calculation of the integral value ’A 'based on the corrected motor current A' and initializes the integral value ∫A '(step S10 in FIG. 3).

一方、変化量ΔA’が積分開始判定閾値Xより大きくなって(図3のステップS8:YES)、積分値∫A’の算出が開始された(図3のステップS9)後、積分値∫A’がロック判定閾値Yより大きくなったとする(図3のステップS11:YES、図4のT、T)。すると、制御部2が、ロック状態であると判断する(図3のステップS13)。このとき、窓ガラス7が全閉または全開して、窓ガラス7やPW開閉機構8やモータ9が機械的に拘束されて、過負荷がかかった状態になっている。 On the other hand, after the change amount ΔA ′ becomes larger than the integration start determination threshold value X (step S8 in FIG. 3: YES), the calculation of the integral value ∫A ′ is started (step S9 in FIG. 3), and then the integral value ∫A. Assume that 'is greater than the lock determination threshold Y (step S11 in FIG. 3: YES, T 6 and T 7 in FIG. 4). Then, the control unit 2 determines that it is in the locked state (step S13 in FIG. 3). At this time, the window glass 7 is fully closed or fully opened, and the window glass 7, the PW opening / closing mechanism 8, and the motor 9 are mechanically constrained to be overloaded.

この場合、モータ制御部2bが、モータ駆動部4によりモータ9に流す電流を遮断して、モータ9の駆動を停止させる(図3のステップS14)。これにより、電流検出部4aにより検出されるモータ電流Aと、電流補正部2cにより算出される補正後のモータ電流A’とが0まで低下して(図4のP、P)、窓ガラス7やPW開閉機構8やモータ9の過負荷状態が解除される。 In this case, the motor control unit 2b cuts off the current flowing to the motor 9 by the motor driving unit 4 and stops driving the motor 9 (step S14 in FIG. 3). As a result, the motor current A detected by the current detection unit 4a and the corrected motor current A ′ calculated by the current correction unit 2c are reduced to 0 (P 6 and P 7 in FIG. 4), and the window The overload state of the glass 7, the PW opening / closing mechanism 8, and the motor 9 is released.

そして、積分値算出部2fが、積分値∫A’の算出を停止して、該積分値∫A’を初期化する(図3のステップS15)。また、電流検出部4aがモータ電流Aの検出を停止し(図3のステップS16)、電流補正部2cがモータ電流Aの補正を停止する(図3のステップS17)。さらに、位置検出部2dが窓ガラス7の開閉位置の検出を停止する(図3のステップS18)。   Then, the integral value calculator 2f stops the calculation of the integral value ∫A 'and initializes the integral value ∫A' (step S15 in FIG. 3). Further, the current detection unit 4a stops the detection of the motor current A (step S16 in FIG. 3), and the current correction unit 2c stops the correction of the motor current A (step S17 in FIG. 3). Furthermore, the position detector 2d stops detecting the opening / closing position of the window glass 7 (step S18 in FIG. 3).

上記実施形態によると、窓ガラス7の開閉動作中に、たとえば温度、電圧、負荷、回路、および部品などのような、種々のばらつきの影響を受けて、モータ電流Aが変動しても、ばらつきの影響を受け難い補正後のモータ電流A’の変化量ΔA’と、積分開始判定閾値Xとを比較している。そして、変化量ΔA’が積分開始判定閾値Xより大きくなったときに、補正後のモータ電流A’に基づいて積分を開始するので、該積分開始点(図4および図5のP、P’)のばらつきを小さく抑えることができる。 According to the above-described embodiment, even if the motor current A fluctuates due to various influences such as temperature, voltage, load, circuit, and parts during the opening / closing operation of the window glass 7, the fluctuations Is compared with the change amount ΔA ′ of the corrected motor current A ′ that is not easily affected by the integration start determination threshold value X. Then, when the change amount ΔA ′ becomes larger than the integration start determination threshold value X, the integration is started based on the corrected motor current A ′. Therefore, the integration start point (P 3 , P 3 in FIG. 4 and FIG. 5) is started. The variation of 3 ′) can be reduced.

また、その補正後のモータ電流A’に基づく積分値∫A’がロック判定閾値Yより大きくなったときに、窓ガラス7やPW開閉機構8やモータ9がロック状態にあると判断して、モータ9の駆動を停止するので、該停止点(図4のP、P)のばらつきを積分開始点のばらつきと同程度に小さく抑えることができる。しかも、窓6への異物の挟み込みによる過負荷状態や、モータ9の駆動直後または外乱による瞬間的な過負荷状態などと区別して、窓ガラス7の機械的拘束による過負荷(ロック)状態を検出して、モータ9を確実に停止させることができる。この結果、窓ガラス7の機械的拘束による過負荷状態が長引くのを抑えて、該過負荷で窓ガラス7の開閉用の機械系部品や電気系部品が損傷するのを防止することが可能となる。 Further, when the integral value ∫A ′ based on the corrected motor current A ′ becomes larger than the lock determination threshold Y, it is determined that the window glass 7, the PW opening / closing mechanism 8 and the motor 9 are in the locked state, Since the driving of the motor 9 is stopped, the variation of the stop points (P 6 and P 7 in FIG. 4) can be suppressed to be as small as the variation of the integration start point. In addition, an overload state due to mechanical restraint of the window glass 7 is detected by distinguishing it from an overload state due to foreign matter caught in the window 6 or an instantaneous overload state immediately after driving the motor 9 or due to a disturbance. Thus, the motor 9 can be stopped reliably. As a result, it is possible to prevent the overload state due to the mechanical restraint of the window glass 7 from being prolonged, and to prevent damage to the mechanical and electrical parts for opening and closing the window glass 7 due to the overload. Become.

また、ばらつきの影響を受け難く上限を考慮する必要がない補正後のモータ電流A’の変化量ΔA’を、積分開始判定閾値Xと比較するので、制約を受けることなく、積分開始判定閾値Xを容易に設定することができる。また、ばらつきの影響を受け難くて上限を考慮する必要がない補正後のモータ電流A’に基づく積分値∫A’を、ロック判定閾値Yと比較するので、制約を受けることなく、ロック判定閾値Yも容易に設定することができる。   Further, since the change amount ΔA ′ of the corrected motor current A ′ that is not easily affected by the variation and does not need to consider the upper limit is compared with the integration start determination threshold value X, the integration start determination threshold value X is not limited. Can be set easily. Further, since the integrated value ∫A ′ based on the corrected motor current A ′ that is not easily affected by the variation and does not need to consider the upper limit is compared with the lock determination threshold Y, the lock determination threshold is not limited. Y can also be set easily.

また、上記実施形態では、窓ガラス7の開閉位置がロック検出領域Zc、Zoに到ったときからの、補正後のモータ電流A’の変化量ΔA’を算出している。このため、窓ガラス7が全開または全閉して、機械的に拘束されたことによる過負荷状態を確実に検出し、モータ9の駆動を停止させて、過負荷状態を解除し、開閉用の部品が損傷するのを防止することができる。   Further, in the above embodiment, the change amount ΔA ′ of the corrected motor current A ′ from when the opening / closing position of the window glass 7 reaches the lock detection regions Zc, Zo is calculated. Therefore, the overload state due to the window glass 7 being fully opened or fully closed and mechanically restrained is reliably detected, the driving of the motor 9 is stopped, the overload state is released, and the opening and closing It is possible to prevent the parts from being damaged.

また、上記実施形態では、補正後のモータ電流A’の変化量ΔA’が積分開始判定閾値X以下の場合に、積分値算出部2fが補正後のモータ電流A’に基づく積分値∫A’の算出を停止して、該積分値∫A’を初期化している。このため、外乱による瞬間的な過負荷状態を誤検出して、モータ9の駆動が停止され、窓6が全開または全閉されなくなるのを防止することができる。   In the above embodiment, when the change amount ΔA ′ of the corrected motor current A ′ is equal to or less than the integration start determination threshold value X, the integrated value calculation unit 2f integrates the integrated value ∫A ′ based on the corrected motor current A ′. And the integral value ∫A ′ is initialized. For this reason, it is possible to prevent a momentary overload state caused by a disturbance from being erroneously detected and stop the driving of the motor 9 and prevent the window 6 from being fully opened or fully closed.

なお、窓ガラス7が全開位置または全閉位置の付近まで開閉した後、たとえばクランキングの発生やエアコンの操作などの外乱により、図6に示すように、モータ駆動電圧が瞬時低下することがある。この場合、従来のようにモータ電流Aが補正されないと、図6に破線で示すように、モータ電流Aも瞬時低下してしまう。そして、モータ電流Aが一定のモータ電流用閾値(従来の閾値)以下になることで、モータ電流Aの積分が停止されて、該積分値が初期化され、ロック状態の検出やモータ9の駆動停止が遅れてしまう。   In addition, after the window glass 7 is opened and closed to the vicinity of the fully open position or the fully closed position, the motor drive voltage may instantaneously decrease as shown in FIG. 6 due to disturbance such as the occurrence of cranking or the operation of the air conditioner. . In this case, if the motor current A is not corrected as in the prior art, the motor current A also decreases instantaneously as shown by the broken line in FIG. When the motor current A falls below a certain motor current threshold value (conventional threshold value), the integration of the motor current A is stopped, the integration value is initialized, the lock state is detected, and the motor 9 is driven. Stop will be delayed.

然るに、上記実施形態では、電流補正部2cが、電流検出部4aで検出されたモータ電流Aからモータ駆動電圧の変動による電流成分を差し引いて、モータ電流Aを補正している。このため、窓ガラス7がロック検出領域Zc、Zoまで開閉した後、図6に示すように、外乱によりモータ駆動電圧が瞬時低下しても、図6に実線で示すように、補正後のモータ電流A’は瞬時低下しなくなる。そして、補正後のモータ電流A’の変化量ΔA’や積分値∫A’が算出されて、それぞれ閾値X、Yと比較されるので、外乱によるモータ駆動電圧の変動の影響を抑制して、積分値∫A’が初期化されたり、該積分開始やロック状態の検出やモータ9の駆動停止が遅れたりするのを防止することができる。この結果、窓ガラス7やPW開閉機構8やモータ9がロック状態になったことを早期に検出して、モータ9の駆動を停止し、過負荷で窓ガラス7の開閉用の部品が損傷するのを一層効果的に防止することが可能となる。   However, in the above embodiment, the current correction unit 2c corrects the motor current A by subtracting the current component due to the fluctuation of the motor drive voltage from the motor current A detected by the current detection unit 4a. Therefore, even after the window glass 7 is opened and closed to the lock detection areas Zc and Zo, as shown in FIG. 6, even if the motor drive voltage drops instantaneously due to a disturbance, as shown by the solid line in FIG. The current A ′ does not decrease instantaneously. Then, the amount of change ΔA ′ and the integral value ∫A ′ of the corrected motor current A ′ are calculated and compared with the threshold values X and Y, respectively, so that the influence of fluctuations in the motor drive voltage due to disturbance is suppressed, It is possible to prevent the integration value ∫A ′ from being initialized, or delaying the start of integration, detection of the lock state, and stop of driving of the motor 9. As a result, it is detected at an early stage that the window glass 7, the PW opening / closing mechanism 8 and the motor 9 are in a locked state, the driving of the motor 9 is stopped, and the components for opening / closing the window glass 7 are damaged due to overload. Can be more effectively prevented.

本発明は、上述した以外にも種々の実施形態を採用することができる。たとえば、以上の実施形態では、窓ガラス7の開閉位置がロック検出領域Zc、Zoに到ったときからの補正後のモータ電流A’の変化量ΔA’を算出した例を示したが、本発明はこれのみに限定するものではない。これ以外に、たとえば、所定の時間または開閉量の間隔で、補正後のモータ電流A’の変化量ΔA’を算出してもよい。   The present invention can employ various embodiments other than those described above. For example, in the above embodiment, the example in which the change amount ΔA ′ of the corrected motor current A ′ from when the opening / closing position of the window glass 7 reaches the lock detection regions Zc and Zo is calculated has been described. The invention is not limited to this. In addition to this, for example, the change amount ΔA ′ of the corrected motor current A ′ may be calculated at a predetermined time or at an opening / closing amount interval.

また、以上の実施形態では、モータ駆動電圧の変動に基づいてモータ電流Aを補正した例を示したが、本発明はこれのみに限定するものではない。これ以外に、たとえば、温度検出手段により検出した周囲温度などのような、他のばらつき要因に基づいて、モータ電流Aを補正してもよい。そして、その補正後のモータ電流の変化量や積分値を算出して、それぞれ閾値X、Yと比較すればよい。   Moreover, although the example which correct | amended the motor current A based on the fluctuation | variation of the motor drive voltage was shown in the above embodiment, this invention is not limited only to this. In addition to this, the motor current A may be corrected based on other variation factors such as the ambient temperature detected by the temperature detecting means. Then, the corrected motor current change amount and the integrated value may be calculated and compared with the threshold values X and Y, respectively.

また、以上の実施形態では、モータ9の回転状態に応じてパルス発生器5から出力されたパルス信号に基づいて、窓ガラス7がロック検出領域Zc、Zoまで開閉したことを検出した例を示したが、本発明はこれのみに限定するものではない。これ以外に、たとえば、電流検出部4aからの出力信号をバンドパスフィルタに通過させることにより、モータ電流に含まれるリップルを抽出し、該リップルに基づいて窓ガラス7がロック検出領域Zc、Zoまで開閉したことを検出してもよい。また、たとえば、ドアや窓枠などにセンサやスイッチを設けて、それらの出力信号に基づいて、窓ガラス7がロック検出領域Zc、Zoまで開閉したことを検出してもよい。   Moreover, in the above embodiment, the example which detected that the window glass 7 opened and closed to the lock | rock detection area | region Zc and Zo based on the pulse signal output from the pulse generator 5 according to the rotation state of the motor 9 is shown. However, the present invention is not limited to this. In addition to this, for example, a ripple included in the motor current is extracted by passing the output signal from the current detection unit 4a through a bandpass filter, and the window glass 7 extends to the lock detection regions Zc and Zo based on the ripple. The opening / closing may be detected. Further, for example, a sensor or a switch may be provided on a door, a window frame, or the like, and it may be detected that the window glass 7 has been opened or closed to the lock detection areas Zc and Zo based on output signals thereof.

さらに、以上の実施形態では、自動車のPW制御装置1に本発明を適用した例を挙げたが、これに限るものではない。これ以外の、たとえば電動式開閉ルーフなどのような、車両用の開閉体制御装置または車両以外の用途の開閉体制御装置に対しても、本発明を適用することは可能である。   Furthermore, although the example which applied this invention to the PW control apparatus 1 of the motor vehicle was given in the above embodiment, it is not restricted to this. The present invention can also be applied to an opening / closing body control device for a vehicle, such as an electric opening / closing roof, or an opening / closing body control device for uses other than a vehicle.

1 パワーウインドウ制御装置(開閉体制御装置)
2b モータ制御部(電動機制御部)
2c 電流補正部
2d 位置検出部
2e 変化量算出部
2f 積分値算出部
4a 電流検出部
6 窓(開閉体)
7 窓ガラス(開閉体)
9 モータ(電動機)
A モータ電流
A’ 補正後のモータ電流
ΔA’ 補正後のモータ電流の変化量
∫A’ 補正後のモータ電流に基づく積分値
Zc 閉方向側ロック検出領域
Zo 開方向側ロック検出領域
X 積分開始判定閾値(第1閾値)
Y ロック判定閾値(第2閾値)
1 Power window control device (opening / closing body control device)
2b Motor control unit (motor control unit)
2c Current correction unit 2d Position detection unit 2e Change amount calculation unit 2f Integral value calculation unit 4a Current detection unit 6 Window (opening / closing body)
7 Window glass (opening and closing body)
9 Motor (electric motor)
A Motor current A ′ Motor current after correction ΔA ′ Motor current change after correction 積分 A ′ Integral value based on motor current after correction Zc Closed direction lock detection area Zo Open direction lock detection area X Integration start determination Threshold (first threshold)
Y lock judgment threshold (second threshold)

Claims (5)

開閉体を開閉動作させるための電動機の駆動を制御する電動機制御部と、
前記開閉体の開閉位置を検出する位置検出部と、
前記電動機に流れる電流を検出する電流検出部と、
前記電流検出部により検出された前記電動機の電流の変化量を算出する変化量算出部と、
前記電流検出部により検出された前記電動機の電流に基づく積分値を算出する積分値算出部と、を備え、
前記電動機制御部により前記電動機を駆動して、前記開閉体を開閉動作させている場合に、
前記開閉体が全開位置または全閉位置の付近に設けられた所定の領域まで開閉したことを前記位置検出部により検出すると、前記変化量算出部により前記電動機の電流の変化量を算出し、
前記変化量が所定の第1閾値より大きくなると、前記積分値算出部により前記電動機の電流に基づく積分値を算出し、
前記積分値が所定の第2閾値より大きくなると、前記電動機制御部により前記電動機の駆動を停止させる、ことを特徴とする開閉体制御装置。
An electric motor control unit for controlling the driving of the electric motor for opening and closing the opening and closing body;
A position detector for detecting an open / close position of the open / close body;
A current detector for detecting a current flowing in the motor;
A change amount calculation unit for calculating a change amount of the current of the electric motor detected by the current detection unit;
An integral value calculation unit that calculates an integral value based on the electric current of the motor detected by the current detection unit, and
When the electric motor controller drives the electric motor to open and close the open / close body,
When the position detecting unit detects that the opening / closing body has opened / closed to a predetermined region provided near the fully open position or the fully closed position, the change amount calculating unit calculates a change amount of the electric current of the motor,
When the amount of change is greater than a predetermined first threshold, the integral value calculation unit calculates an integral value based on the current of the motor,
The opening / closing body control device, wherein when the integrated value is greater than a predetermined second threshold, the motor control unit stops driving the motor.
請求項1に記載の開閉体制御装置において、
前記電流検出部により検出された前記電動機の電流から電圧変動による電流成分を差し引いて、前記電動機の電流を補正する電流補正部を、さらに備え、
前記変化量算出部は、前記電流補正部による補正後の電動機の電流の変化量を算出し、
前記積分値算出部は、前記電流補正部による補正後の電動機の電流に基づく積分値を算出する、ことを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 1,
A current correction unit that corrects the current of the motor by subtracting a current component due to voltage fluctuation from the current of the motor detected by the current detection unit;
The change amount calculation unit calculates a change amount of the current of the electric motor after correction by the current correction unit,
The opening / closing body control device, wherein the integral value calculation unit calculates an integral value based on the electric current of the electric motor corrected by the current correction unit.
請求項1または請求項2に記載の開閉体制御装置において、
前記変化量算出部は、前記開閉体の開閉位置が前記所定の領域に到ったときからの前記電動機の電流の変化量を算出する、ことを特徴とする開閉体制御装置。
In the opening-closing body control apparatus of Claim 1 or Claim 2,
The change amount calculation unit calculates an amount of change in current of the electric motor from when the open / close position of the open / close body reaches the predetermined region.
請求項1ないし請求項3のいずれかに記載の開閉体制御装置において、
前記電動機の電流の変化量が前記第1閾値以下の場合、前記積分値算出部が前記積分値の算出を停止して、該積分値を初期化する、ことを特徴とする開閉体制御装置。
In the opening-closing body control apparatus in any one of Claim 1 thru | or 3,
When the change amount of the electric current of the electric motor is equal to or less than the first threshold value, the integral value calculation unit stops calculating the integral value and initializes the integral value.
請求項1ないし請求項4のいずれかに記載の開閉体制御装置において、
前記開閉体は、車両の窓ガラスから成り、
当該開閉体制御装置は、パワーウインドウ制御装置から成る、ことを特徴とする開閉体制御装置。
In the opening-closing-body control apparatus in any one of Claim 1 thru | or 4,
The opening / closing body is made of a window glass of a vehicle,
The opening / closing body control device comprises a power window control device.
JP2014128781A 2014-06-24 2014-06-24 Opening and closing body control device Active JP6183911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014128781A JP6183911B2 (en) 2014-06-24 2014-06-24 Opening and closing body control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014128781A JP6183911B2 (en) 2014-06-24 2014-06-24 Opening and closing body control device

Publications (2)

Publication Number Publication Date
JP2016008409A JP2016008409A (en) 2016-01-18
JP6183911B2 true JP6183911B2 (en) 2017-08-23

Family

ID=55226174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014128781A Active JP6183911B2 (en) 2014-06-24 2014-06-24 Opening and closing body control device

Country Status (1)

Country Link
JP (1) JP6183911B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6697970B2 (en) * 2016-07-22 2020-05-27 株式会社ミツバ Motor control system and motor control method
JP2020117978A (en) 2019-01-25 2020-08-06 日本電産モビリティ株式会社 Opening/closing body control device and structure
JP6941125B2 (en) * 2019-03-08 2021-09-29 株式会社ハイレックスコーポレーション Opening and closing body drive mechanism

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0132521B1 (en) * 1994-11-29 1998-10-01 김광호 Dc motor over-current detection apparatus
JPH08251982A (en) * 1995-03-08 1996-09-27 Tokai Rika Co Ltd Motor controller
JPH11147418A (en) * 1997-11-18 1999-06-02 Tokai Rika Co Ltd Control unit for driving power window
JP4984213B2 (en) * 2006-03-24 2012-07-25 豊和工業株式会社 DC motor drive device

Also Published As

Publication number Publication date
JP2016008409A (en) 2016-01-18

Similar Documents

Publication Publication Date Title
JP6161576B2 (en) Opening and closing body control device
EP1306967B1 (en) Inverter device and current limiting method therefor
JP5940202B1 (en) Opening and closing body control device
US9121214B2 (en) Opening and closing member control apparatus and method for controlling opening and closing member
US10267079B2 (en) System and method of blockage detection during an automatic adjustment of a movable vehicle part in a motor vehicle
US8370029B2 (en) Method and device for detecting a jam
JP6988769B2 (en) Open / close body control device and motor
JP6183911B2 (en) Opening and closing body control device
US20180002969A1 (en) Opening/closing control device
US6580242B2 (en) Entrapment detection device of opening/closing member
WO2015064002A1 (en) Controlling device and control method for vehicle opening and closing body and vehicle opening and closing body comprising same controlling device
JP2020147950A (en) Vehicle opening/closing body control device
CN113338743B (en) Anti-pinch control system of electric tail gate
KR20160115171A (en) Apparatus and method sensing error operation of anti pinch in sunroof
JP2861781B2 (en) Electric drive
KR101735167B1 (en) Methods for detecting of pinch in anti pinch system of sunroof for vehicle and appratuses using the same
JP2007270607A (en) Control device of opening-closing body for vehicle
US20160060943A1 (en) Controller for opening and closing member
JP4510409B2 (en) Window glass clamping presence / absence detection device
JP3881602B2 (en) Power window control device
JP2011166869A (en) Overcurrent protection device of load circuit
JP2008114931A (en) Door controller for elevator
CN109154176B (en) Method for operating a closing device and closing device
JP6697970B2 (en) Motor control system and motor control method
JPH0921273A (en) Opening/closing control device for opening/closing body

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170712

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170720

R150 Certificate of patent or registration of utility model

Ref document number: 6183911

Country of ref document: JP

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