JP2007053894A - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JP2007053894A
JP2007053894A JP2006187726A JP2006187726A JP2007053894A JP 2007053894 A JP2007053894 A JP 2007053894A JP 2006187726 A JP2006187726 A JP 2006187726A JP 2006187726 A JP2006187726 A JP 2006187726A JP 2007053894 A JP2007053894 A JP 2007053894A
Authority
JP
Japan
Prior art keywords
estimated temperature
motor
temperature
correction value
sleep
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.)
Pending
Application number
JP2006187726A
Other languages
Japanese (ja)
Inventor
Shigeru Kobayashi
滋 小林
Seiichi Tanaka
靜一 田中
Seiichi Watanabe
誠一 渡辺
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.)
Asmo Co Ltd
Toyota Motor Corp
Original Assignee
Asmo Co Ltd
Toyota Motor Corp
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 Asmo Co Ltd, Toyota Motor Corp filed Critical Asmo Co Ltd
Priority to JP2006187726A priority Critical patent/JP2007053894A/en
Publication of JP2007053894A publication Critical patent/JP2007053894A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Protection Of Generators And Motors (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor control device capable of reducing operation power required for processing calculation of the estimated temperature of a motor when the motor is in a stopping state (specifically, the power state of a vehicle is OFF such as a case where an ignition switch is OFF). <P>SOLUTION: A power window device 1 includes the motor 20, and a control unit 3 for driving and controlling the motor 20. The control unit 3 includes an estimated temperature calculating means for calculating the estimated temperature of the motor 20; a mode switching means for switching an operation mode between a normal operation mode capable of driving the motor 20 and a sleep mode requiring power consumption smaller than that of the normal mode, depending on a predetermined condition when the motor does not work; and an activating means for operating the estimated temperature calculating means for only a predetermined active time period Ta every time a predetermined sleep time Ts elapses in the sleep mode. The estimated temperature calculating means calculates an estimated temperature during the active time period Ta. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明はモータ制御装置に係り、特に焼損保護のためにモータの推定温度を算出する機能を有するモータ制御装置に関する。   The present invention relates to a motor control device, and more particularly to a motor control device having a function of calculating an estimated temperature of a motor for burning protection.

従来、モータの焼損保護のために、モータハウジングにバイメタルやPTCといった保護素子を内蔵することが行われている。モータが異常発熱した場合には、この保護素子によって電気回路が遮断され、モータへの通電が停止される。
ところが、上記保護素子をモータ近傍に配設すると、モータ体格が大きくなって装置全体が大型化してしまう。このため、特許文献1に記載のモータ制御装置では、上記保護素子を設けることなく、モータを駆動制御する制御部によって、モータに印加している電圧の大きさおよび印加時間と、前回の推定温度値から、モータの推定温度を算出するように構成している。特許文献1に記載のモータ制御装置では、算出された推定温度が所定の過熱保護温度以上になったときにはモータ駆動が停止され、さらに推定温度が過熱保護解除温度値になるまで停止状態が維持されるようになっている。
Conventionally, in order to protect the motor from burning, a protective element such as bimetal or PTC has been incorporated in the motor housing. When the motor abnormally generates heat, the protective circuit interrupts the electric circuit and stops energization of the motor.
However, when the protective element is disposed in the vicinity of the motor, the size of the motor becomes large and the entire apparatus becomes large. For this reason, in the motor control apparatus described in Patent Document 1, the magnitude and the application time of the voltage applied to the motor and the previous estimated temperature by the control unit that drives and controls the motor without providing the protective element. The estimated temperature of the motor is calculated from the value. In the motor control device described in Patent Document 1, the motor drive is stopped when the calculated estimated temperature is equal to or higher than the predetermined overheat protection temperature, and the stopped state is maintained until the estimated temperature reaches the overheat protection release temperature value. It has become so.

特開平11−164472号公報(第3−4頁)JP-A-11-164472 (page 3-4)

ところで、車両には多くの電装品が搭載されているため、これらに電力を供給する車載バッテリに負担が掛かるという問題がある。このため、電装品の省電力化を図ることが必要となってきている。
ところが、モータの推定温度を算出しているモータ制御装置においては、モータが停止した後に、イグニッションスイッチがOFFされ、エンジン駆動による発電が停止された状態でも、再度モータを駆動したときに的確な推定温度が必要なため、推定温度の算出処理を継続して行う必要がある。このため、モータが停止中であるにもかかわらず、マイコンは推定温度を算出する処理を継続しなければならず、定常的に車載バッテリの電力を消費し続けてしまうという問題があった。
By the way, since many electric components are mounted on the vehicle, there is a problem that a load is applied to the in-vehicle battery that supplies electric power to these. For this reason, it is necessary to reduce the power consumption of electrical components.
However, in the motor control device that calculates the estimated temperature of the motor, after the motor has stopped, the ignition switch is turned OFF, and even when the power generation by the engine drive is stopped, accurate estimation is possible when the motor is driven again. Since temperature is required, it is necessary to continue the process of calculating the estimated temperature. For this reason, even though the motor is stopped, the microcomputer has to continue the process of calculating the estimated temperature, and there is a problem that the power of the in-vehicle battery is continuously consumed.

本発明の目的は、上記課題に鑑み、モータ停止中(特に、イグニッションスイッチOFF時等の車両の電力状況がOFFであるとき)において、モータの推定温度の算出処理に掛かる作動電力の低減を図ることができるモータ制御装置を提供することにある。   In view of the above-described problems, an object of the present invention is to reduce the operating power required to calculate the estimated temperature of the motor while the motor is stopped (particularly when the power status of the vehicle is OFF, such as when the ignition switch is OFF). An object of the present invention is to provide a motor control device that can perform the above-described operation.

前記課題は、本発明によれば、車両電源から電力供給されることによって作動するモータと、該モータを駆動制御する制御部と、を備えたモータ制御装置であって、前記制御部は、前記モータの推定温度を算出する推定温度算出手段と、モータ停止中に所定の条件に応じて、前記制御部の作動モードを、前記モータを駆動可能である通常作動モードから、該通常作動モードよりも消費電力が少ないスリープモードへ切り替えるモード切替手段と、前記スリープモードにおいて所定のスリープ時間経過ごとに前記推定温度算出手段を所定のアクティブ時間だけ作動させる起動手段と、を備え、前記推定温度算出手段は、前記アクティブ時間の間に前記推定温度を算出することにより解決される。   According to the present invention, the object is a motor control device including a motor that operates when electric power is supplied from a vehicle power source, and a control unit that controls driving of the motor. An estimated temperature calculating means for calculating an estimated temperature of the motor, and an operation mode of the control unit from a normal operation mode in which the motor can be driven according to a predetermined condition while the motor is stopped. Mode switching means for switching to a sleep mode with low power consumption, and activation means for operating the estimated temperature calculating means for a predetermined active time every elapse of a predetermined sleep time in the sleep mode, the estimated temperature calculating means This is solved by calculating the estimated temperature during the active time.

このように本発明のモータ制御装置では、モータ停止中に所定の条件に応じて作動モードが通常作動モードからスリープモードへ切り替わるように構成されている。これにより、モータ停止時には電力消費を低く抑えて省電力化を図ることができる。特に、パワーウインドウ装置のように、ウインドウをモータで作動させることが走行時間に対してごく短時間しか行われないような装置においては、電力消費量を極めて低減することが可能となる。
さらに、本発明では、スリープモード中には所定のスリープ時間ごとにモータの推定温度が算出されるように構成されている。これにより、モータ停止時において省電力化を図りつつ、モータの推定温度を的確に把握し続けることができる。
As described above, the motor control device of the present invention is configured such that the operation mode is switched from the normal operation mode to the sleep mode according to a predetermined condition while the motor is stopped. Thereby, at the time of a motor stop, power consumption can be suppressed low and power saving can be achieved. In particular, in an apparatus such as a power window apparatus in which the window is operated by a motor only for a very short time with respect to the traveling time, the power consumption can be extremely reduced.
Further, in the present invention, the estimated temperature of the motor is calculated every predetermined sleep time during the sleep mode. As a result, it is possible to accurately grasp the estimated temperature of the motor while saving power when the motor is stopped.

また、前記制御部は、前記推定温度を記憶する推定温度記憶手段を有し、前記推定温度算出手段は、前記推定温度を新たに算出したときに、前記推定温度記憶手段に記憶された推定温度を、新たに算出した推定温度に更新する構成とすることができる。このように構成すると、推定温度記憶手段を随時更新して最新の推定温度を保持することができる。   In addition, the control unit includes an estimated temperature storage unit that stores the estimated temperature, and the estimated temperature calculation unit stores the estimated temperature stored in the estimated temperature storage unit when the estimated temperature is newly calculated. Can be updated to the newly calculated estimated temperature. If comprised in this way, the estimated temperature memory | storage means can be updated at any time and the newest estimated temperature can be hold | maintained.

また、前記推定温度算出手段は、前記推定温度記憶手段に記憶された推定温度を補正するための補正値を算出し、前記推定温度記憶手段に記憶された推定温度を前記補正値で補正することによって、新たな推定温度を算出する構成とすることができる。このように構成すると、推定温度の算出処理では、推定温度自体を算出するのではなく、現在の推定温度に対する補正値のみを算出し、これを用いて新たな推定温度を算出すればよいので、算出処理の負荷を軽減することができる。   The estimated temperature calculation means calculates a correction value for correcting the estimated temperature stored in the estimated temperature storage means, and corrects the estimated temperature stored in the estimated temperature storage means with the correction value. Thus, a new estimated temperature can be calculated. With this configuration, in the estimated temperature calculation process, instead of calculating the estimated temperature itself, it is only necessary to calculate a correction value for the current estimated temperature and use this to calculate a new estimated temperature. The load of calculation processing can be reduced.

また、本発明は、車両電源から電力供給されることによって作動するモータと、該モータを駆動制御する制御部と、を備えたモータ制御装置であって、前記制御部は、前記モータの推定温度を算出する推定温度算出手段と、前記推定温度算出手段によって算出された推定温度を記憶する推定温度記憶手段と、モータ停止中に所定の条件に応じて、前記制御部の作動モードを、前記モータを駆動可能な通常作動モードから、該通常作動モードよりも消費電力が少ないスリープモードへ切り替えるモード切替手段と、前記推定温度記憶手段に記憶された推定温度を補正するための補正値を算出する補正値算出手段と、該補正値算出手段によって算出された補正値を記憶する補正値記憶手段と、前記スリープモードにおいて所定のスリープ時間経過ごとに前記補正値算出手段を所定のアクティブ時間だけ作動させる起動手段と、を備え、前記アクティブ時間の間に、前記補正値算出手段は前記補正値を算出すると共に、前記補正値記憶手段は前記補正値を記憶し、前記推定温度算出手段は、前記スリープモードから前記通常作動モードへ復帰するときに、前記推定温度記憶手段が記憶する推定温度を前記補正値記憶手段が記憶する補正値で補正することによって、新たな推定温度を算出するように構成してもよい。   The present invention is also a motor control device including a motor that operates when power is supplied from a vehicle power supply, and a control unit that controls driving of the motor, wherein the control unit includes an estimated temperature of the motor. An estimated temperature calculating means for calculating the estimated temperature, an estimated temperature storing means for storing the estimated temperature calculated by the estimated temperature calculating means, and an operation mode of the control unit according to a predetermined condition while the motor is stopped. A mode switching means for switching from a normal operation mode capable of driving to a sleep mode that consumes less power than the normal operation mode, and a correction for calculating a correction value for correcting the estimated temperature stored in the estimated temperature storage means A value calculating means, a correction value storing means for storing the correction value calculated by the correction value calculating means, and a predetermined sleep time elapse in the sleep mode. And an activation means for operating the correction value calculation means for a predetermined active time, and during the active time, the correction value calculation means calculates the correction value, and the correction value storage means A correction value is stored, and the estimated temperature calculation means corrects the estimated temperature stored in the estimated temperature storage means with the correction value stored in the correction value storage means when returning from the sleep mode to the normal operation mode. By doing so, a new estimated temperature may be calculated.

このように構成すると、モータ停止中に所定の条件に応じて作動モードがスリープモードへ切り替えられるので省電力化を図ることができる。また、スリープモード中にはスリープモードへの切り替わり前に算出された推定温度に対する補正値が所定時間ごとに算出され、再び通常作動モードへ復帰したときに、この補正値を用いて推定温度を補正することによって新たな推定温度が算出される。これにより、通常作動モードに復帰したときにもモータの推定温度を的確に把握することができる。   If comprised in this way, since an operation mode is switched to a sleep mode according to predetermined conditions while a motor stops, power saving can be achieved. Also, during the sleep mode, a correction value for the estimated temperature calculated before switching to the sleep mode is calculated every predetermined time, and when returning to the normal operation mode again, the estimated temperature is corrected using this correction value. By doing so, a new estimated temperature is calculated. Thereby, the estimated temperature of the motor can be accurately grasped even when returning to the normal operation mode.

また、上記構成において、前記スリープ時間は、前記アクティブ時間よりも長く設定されると、消費電力を極めて小さく抑えることが可能となる。
また、前記所定の条件は、前記制御部が車両の電力状況がOFFとなることを表す信号を受取ることとすることができる。このように車両の電力状況がOFFのときに消費電力が少ないスリープモードへ切り替われば、車載バッテリの消費を低減することができる。
In the above configuration, when the sleep time is set longer than the active time, it is possible to keep power consumption extremely small.
Further, the predetermined condition may be that the control unit receives a signal indicating that the power status of the vehicle is OFF. Thus, if it switches to sleep mode with little power consumption when the power condition of a vehicle is OFF, consumption of a vehicle-mounted battery can be reduced.

本発明のモータ制御装置によれば、モータ停止後には、所定の条件(例えば、イグニッションスイッチのOFFに伴うエンジン駆動による発電停止時等の車両の電力状況がOFFとなったとき)で作動モードが通常作動モードから低消費電力動作モードであるスリープモードへ切り替えられる。そして、本発明では、このスリープモード中において、所定のスリープ時間ごとにモータの推定温度の算出処理が行われるように構成されているので、スリープモード中においても、モータ制御装置の作動電力を低減しつつ、モータの推定温度の算出処理を引き続き行うことが可能である。   According to the motor control device of the present invention, after the motor is stopped, the operation mode is set under a predetermined condition (for example, when the power state of the vehicle is turned off, for example, when power generation is stopped by driving the engine accompanying turning off the ignition switch). The normal operation mode is switched to the sleep mode, which is a low power consumption operation mode. And in this invention, since it is comprised so that the calculation process of the estimated temperature of a motor may be performed for every predetermined sleep time during this sleep mode, the operating electric power of a motor control apparatus is reduced also during a sleep mode. However, the process for calculating the estimated temperature of the motor can be continued.

以下、本発明の一実施形態について、図を参照して説明する。なお、以下に説明する構成、手順等は、本発明を限定するものではなく、本発明の趣旨に沿って各種改変することができることは勿論である。
図1〜図7は本発明の一実施形態に係るものであり、図1はパワーウインドウ装置の説明図、図2は図1のパワーウインドウ装置の電気構成図、図3は図2のコントローラの電気構成図、図4はモータ停止時の減算温度データを表すグラフ、図5はコントローラの動作モードを表す説明図、図6はアクティブモードでの推定温度の算出処理を表す処理フロー、図7はスリープモードでの推定温度の算出処理を表す処理フローである。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the configurations, procedures, and the like described below do not limit the present invention, and various modifications can be made according to the spirit of the present invention.
1 to 7 relate to one embodiment of the present invention, FIG. 1 is an explanatory diagram of a power window device, FIG. 2 is an electrical configuration diagram of the power window device of FIG. 1, and FIG. 3 is a diagram of the controller of FIG. FIG. 4 is a graph showing the subtracted temperature data when the motor is stopped, FIG. 5 is an explanatory diagram showing the operation mode of the controller, FIG. 6 is a processing flow showing the estimated temperature calculation processing in the active mode, and FIG. It is a processing flow showing the calculation process of the estimated temperature in sleep mode.

図8〜図11は本発明の第2の実施形態に係るものであり、図8はモータ停止時の減算温度データを表すグラフ、図9はスリープ制御回路の電気構成の一部を示す説明図、図10はスリープモードでの推定温度の補正値の算出処理を表す処理フロー、図11はアクティブモードへの復帰時の処理を表す処理フローである。図12は本発明の第3の実施形態に係るアクティブモードでの推定温度の算出処理を表す処理フローである。   8 to 11 relate to the second embodiment of the present invention, FIG. 8 is a graph showing subtracted temperature data when the motor is stopped, and FIG. 9 is an explanatory diagram showing a part of the electrical configuration of the sleep control circuit. FIG. 10 is a process flow showing a process for calculating a correction value of the estimated temperature in the sleep mode, and FIG. 11 is a process flow showing a process when returning to the active mode. FIG. 12 is a process flow showing an estimated temperature calculation process in the active mode according to the third embodiment of the present invention.

以下に本発明のモータ制御装置をパワーウインドウ装置に適用した一実施形態について説明する。図1に本例のパワーウインドウ装置1(以下、「装置1」という)の説明図、図2にその電気構成図を示す。本例の装置1は、車両のドア10に配設される移動部材としてのウインドウガラス11をモータ20の回転駆動により昇降(開閉)作動させるものである。装置1は、ウインドウガラス11を開閉駆動する昇降機構2と、昇降機構2の作動を制御するための制御部3と、乗員が作動を指令するための操作スイッチ4を主要構成要素としている。   Hereinafter, an embodiment in which the motor control device of the present invention is applied to a power window device will be described. FIG. 1 is an explanatory diagram of a power window device 1 (hereinafter referred to as “device 1”) of this example, and FIG. 2 is an electrical configuration diagram thereof. The apparatus 1 of this example moves the window glass 11 as a moving member disposed on the door 10 of the vehicle up and down (opens and closes) by rotating the motor 20. The apparatus 1 has as its main components an elevating mechanism 2 that drives the window glass 11 to open and close, a control unit 3 for controlling the operation of the elevating mechanism 2, and an operation switch 4 for an occupant to command the operation.

本例では、ウインドウガラス11は不図示のレールに沿って上方の全閉位置と下方の全開位置との間を昇降動作する。
本例の昇降機構2は、ドア10に固定された減速機構を有するモータ20と、モータ20に駆動される扇形状のギヤ21aを備えた昇降アーム21と、昇降アーム21とクロスして枢支される従動アーム22と、ドア10に固定された固定チャンネル23およびウインドウガラス11と一体のガラス側チャンネル24とを主要構成要素としている。
本例のモータ20は、制御部3から電力供給を受けることにより、回転子の巻線20aに通電され、これにより回転子とマグネットを有する固定子との間で磁気吸引作用が生じて回転子が正逆回転するように構成されている。本例の昇降機構2では、モータ20の回動に応じて昇降アーム21および従動アーム22が揺動すると、これらの各端部がチャンネル23,24により摺動規制を受け、Xリンクとして駆動し、ウインドウガラス11を昇降作動させる。
In this example, the window glass 11 moves up and down between an upper fully closed position and a lower fully opened position along a rail (not shown).
The elevating mechanism 2 of this example includes a motor 20 having a speed reduction mechanism fixed to the door 10, an elevating arm 21 having a fan-shaped gear 21 a driven by the motor 20, and a crossing with the elevating arm 21 to pivot. The main component is a driven arm 22, a fixed channel 23 fixed to the door 10, and a glass side channel 24 integrated with the window glass 11.
The motor 20 of this example is supplied with electric power from the control unit 3 to energize the rotor winding 20a, thereby generating a magnetic attraction action between the rotor and the stator having the magnet. Is configured to rotate forward and reverse. In the elevating mechanism 2 of this example, when the elevating arm 21 and the follower arm 22 swing according to the rotation of the motor 20, these end portions are subjected to sliding restriction by the channels 23 and 24 and are driven as X links. Then, the window glass 11 is moved up and down.

本例のモータ20には、回転検出装置(位置検出装置)25が一体に備えられている。回転検出装置25は、モータ20の回転と同期したパルス信号を制御部3へ出力するものである。本例の回転検出装置25は、モータ20の出力軸と共に回動するマグネットの磁気変化を複数のホール素子25aで検出するように構成されている。
制御部3は、このパルス信号によって、ウインドウガラス11の昇降位置を算出する。また、制御部3は、パルス信号の間隔によってモータ20の回転速度、またはこれに対応するウインドウガラス11の昇降速度を算出することができる。
The motor 20 of this example is integrally provided with a rotation detection device (position detection device) 25. The rotation detection device 25 outputs a pulse signal synchronized with the rotation of the motor 20 to the control unit 3. The rotation detection device 25 of this example is configured to detect a magnetic change of a magnet that rotates together with the output shaft of the motor 20 by a plurality of Hall elements 25a.
The control part 3 calculates the raising / lowering position of the window glass 11 by this pulse signal. Moreover, the control part 3 can calculate the rotational speed of the motor 20 or the raising / lowering speed of the window glass 11 corresponding to this with the space | interval of a pulse signal.

なお、本例では、回転検出装置25にホール素子を用いたものを採用しているが、これに限らず、モータ20の回転速度を検出することができれば、エンコーダを採用してもよい。また、本例では、ウインドウガラス11の移動に応じたモータ20の出力軸の回転速度を検出するために、モータ20に回転検出装置25を一体に設けているが、これに限らず、公知の手段によってウインドウガラス11の移動速度を検出するようにしてもよい。   In this example, a device using a Hall element is used for the rotation detection device 25. However, the present invention is not limited to this, and an encoder may be used as long as the rotation speed of the motor 20 can be detected. Moreover, in this example, in order to detect the rotational speed of the output shaft of the motor 20 according to the movement of the window glass 11, the rotation detection device 25 is integrally provided in the motor 20. You may make it detect the moving speed of the window glass 11 by a means.

本例の制御部3は、コントローラ31と、駆動回路32と、温度センサ33等が基板上に配設された構成となっている。これらには、車両に搭載される電源であるバッテリ6から作動に必要な電力が供給される。
本例のコントローラ31は、通常時、操作スイッチ4からの操作信号に基づいて駆動回路32を介してモータ20を正逆回転させて、ウインドウガラス11を開閉動作させる。また、コントローラ31には、車両のエンジン駆動状態やオルタネータの発電状態等の車両の電力状況を表す信号が入力可能に構成されている。例えば、本例では、コントローラ31には、車両の電力状況を表す信号としてイグニッション(IG)信号5が入力されるように構成されている。
The controller 3 of this example has a configuration in which a controller 31, a drive circuit 32, a temperature sensor 33, and the like are disposed on a substrate. These are supplied with electric power necessary for operation from a battery 6 which is a power source mounted on the vehicle.
The controller 31 of this example normally opens and closes the window glass 11 by rotating the motor 20 forward and backward via the drive circuit 32 based on the operation signal from the operation switch 4. Further, the controller 31 is configured to be able to input a signal representing a vehicle power state such as a vehicle engine driving state or an alternator power generation state. For example, in this example, the controller 31 is configured such that an ignition (IG) signal 5 is input as a signal representing the power status of the vehicle.

このIG信号5は、図外のイグニッションスイッチのON/OFFに伴って、イグニッションスイッチから直接またはECU等から間接的に入力されるようになっている。IG信号5がON信号のときは、車両の電力状況はONであり、IG信号5がOFF信号のときは、車両の電力状況はOFFである。
なお、「車両の電力状況がON」とは、エンジン駆動に基づく発電が行われ、バッテリ6が充電されつつ車両の電装品に対して電力供給可能な状況を指す。一方、「車両の電力状況がOFF」とは、エンジン駆動に基づく発電が停止されて、バッテリ6が充電されることなく車両の電装品に対して電力供給可能な状況を指す。
The IG signal 5 is input directly from the ignition switch or indirectly from the ECU or the like when the ignition switch (not shown) is turned ON / OFF. When the IG signal 5 is an ON signal, the power status of the vehicle is ON, and when the IG signal 5 is an OFF signal, the power status of the vehicle is OFF.
“Vehicle power status is ON” refers to a status in which power generation based on engine driving is performed and power can be supplied to the vehicle electrical components while the battery 6 is being charged. On the other hand, “the vehicle power status is OFF” refers to a status in which power generation based on engine driving is stopped and power can be supplied to the electrical components of the vehicle without charging the battery 6.

本例のコントローラ31は、図3に示すように、CPU40、ROM,RAM等のメモリ41、入出力回路42、スリープ制御回路50等を備えるマイクロコンピュータで構成されている。CPU40は、メモリ41,入出力回路42,スリープ制御回路50と、バス43を介して互いに接続されている。また、メモリ41には、CPU40が行う処理プログラムや各種データ等が記憶されている。   As shown in FIG. 3, the controller 31 of this example is constituted by a microcomputer including a CPU 40, a memory 41 such as a ROM and a RAM, an input / output circuit 42, a sleep control circuit 50, and the like. The CPU 40 is connected to the memory 41, the input / output circuit 42, the sleep control circuit 50, and the bus 43. The memory 41 stores a processing program executed by the CPU 40 and various data.

本例の駆動回路32は、FETを備えるICによって構成されており、コントローラ31からの制御信号に基づいて、モータ20への電力供給の極性を切換えている。すなわち、駆動回路32は、コントローラ31から正回転指令信号を受けたときは、モータ20を正回転方向に回転させるようにモータ20へ電力を供給し、コントローラ31から逆回転指令信号を受けたときは、モータ20を逆回転方向に回転させるようにモータ20へ電力を供給する。なお、駆動回路32は、リレー回路を用いて極性を切換えるように構成してもよい。また、駆動回路32がコントローラ31内に組み込まれた構成であってもよい。   The drive circuit 32 of this example is configured by an IC including an FET, and switches the polarity of power supply to the motor 20 based on a control signal from the controller 31. That is, when receiving a forward rotation command signal from the controller 31, the drive circuit 32 supplies power to the motor 20 so as to rotate the motor 20 in the forward rotation direction, and receives a reverse rotation command signal from the controller 31. Supplies electric power to the motor 20 so as to rotate the motor 20 in the reverse rotation direction. The drive circuit 32 may be configured to switch the polarity using a relay circuit. Alternatively, the drive circuit 32 may be incorporated in the controller 31.

本例の温度センサ33は、コントローラ31等が配設された基板周辺の温度を検出するものであり、本例では、モータ20から離れた位置に配設されている。
コントローラ31は、温度センサ33からの周辺温度検出信号を受け取り、これに基づいて基板周辺の雰囲気温度(周辺温度)を算出している。温度センサ33およびコントローラ31は、本発明の周辺温度検出部に相当する。
また、コントローラ31は、駆動回路32を介してモータ20へ通電した印加電圧の大きさおよび通電時間をカウントしている。また、回転検出装置25からのパルス信号によってモータ20の回転速度をモニターしている。
The temperature sensor 33 of this example detects the temperature around the substrate on which the controller 31 and the like are arranged. In this example, the temperature sensor 33 is arranged at a position away from the motor 20.
The controller 31 receives the ambient temperature detection signal from the temperature sensor 33, and calculates the ambient temperature (ambient temperature) around the substrate based on this signal. The temperature sensor 33 and the controller 31 correspond to the ambient temperature detection unit of the present invention.
In addition, the controller 31 counts the magnitude of the applied voltage and the energization time that are applied to the motor 20 via the drive circuit 32. Further, the rotational speed of the motor 20 is monitored by a pulse signal from the rotation detection device 25.

また、コントローラ31は、メモリ41に設定された推定温度記憶手段としての温度カウンタに巻線20aの推定温度(モータ推定温度)を記憶している。また、この推定温度を算出するための基準データをメモリ41内に記憶している。推定温度算出手段としてのコントローラ31は、周辺温度,印加電圧,通電時間,回転速度等とこの基準データおよび現在の推定温度からモータ作動中の推定温度の変動分(補正値)を算出し、この変動分を現在の推定温度に加算することによって、新たに推定温度を算出している。この推定温度の算出処理は、所定の繰り返し処理時間ごとに行われる。
なお、本例では、特に巻線20aの推定温度を算出しているが、これに限らず、モータ20全体の推定温度を算出するようにしてもよい。
Further, the controller 31 stores the estimated temperature (motor estimated temperature) of the winding 20 a in a temperature counter serving as estimated temperature storage means set in the memory 41. Further, reference data for calculating the estimated temperature is stored in the memory 41. The controller 31 as the estimated temperature calculation means calculates the fluctuation (correction value) of the estimated temperature during operation of the motor from the ambient temperature, the applied voltage, the energization time, the rotation speed, etc., and this reference data and the current estimated temperature. The estimated temperature is newly calculated by adding the fluctuation amount to the current estimated temperature. This estimated temperature calculation process is performed every predetermined repetition processing time.
In this example, the estimated temperature of the winding 20a is calculated in particular. However, the present invention is not limited to this, and the estimated temperature of the entire motor 20 may be calculated.

そして、コントローラ31は、この推定温度が所定温度を超えた場合に駆動回路32からの電力供給を停止させて、巻線20aが焼損してしまうことを防止している。このように、本例の装置1では、コントローラ31によって算出した巻線20aの推定温度に基づいて電力供給を停止して、巻線20aを焼損から保護している。このため本例では、巻線温度検出のためにモータ20本体内にバイメタルやPTCといった比較的大きな保護素子を配置する必要がないので、モータ20を小型化することができる。   Then, the controller 31 stops the power supply from the drive circuit 32 when the estimated temperature exceeds a predetermined temperature, and prevents the winding 20a from burning out. Thus, in the apparatus 1 of this example, the power supply is stopped based on the estimated temperature of the winding 20a calculated by the controller 31 to protect the winding 20a from burning. For this reason, in this example, it is not necessary to arrange a relatively large protective element such as a bimetal or PTC in the main body of the motor 20 for detecting the winding temperature, so that the motor 20 can be downsized.

また、推定温度算出手段としてのコントローラ31は、モータ停止中における推定温度の算出処理を行うために、現在の温度カウンタの値(推定温度)に対する所定時間当たりの減算温度ΔT(ΔT1,ΔT2)の関係を設定した減算温度データをメモリ41に記憶している。
すなわち、本例では、モータ停止中は、温度カウンタの値を減算温度ΔTに基づいて停止時間の経過にしたがって、所定の繰り返し時間ごとに減算していく。これにより、モータ停止中、最終的に温度カウンタの値は、温度センサ33からの周辺温度検出信号によって算出される周辺温度まで減算される。
Further, the controller 31 as the estimated temperature calculating means calculates the subtracted temperature ΔT (ΔT1, ΔT2) per predetermined time with respect to the current temperature counter value (estimated temperature) in order to perform an estimated temperature calculation process while the motor is stopped. The subtracted temperature data for which the relationship is set is stored in the memory 41.
That is, in this example, while the motor is stopped, the value of the temperature counter is subtracted every predetermined repetition time as the stop time elapses based on the subtraction temperature ΔT. Thereby, while the motor is stopped, the value of the temperature counter is finally subtracted to the ambient temperature calculated by the ambient temperature detection signal from the temperature sensor 33.

図4は、減算温度データを図示している。図中、減算温度データaは減算温度ΔT1,減算温度データbは減算温度ΔT2に対応する。本例では、後述するようにコントローラ31は、アクティブモード(通常作動モード)か、アクティブモードよりも消費電力が少ないスリープモード(低消費電力作動モード)のいずれかの作動モードで作動する。
アクティブモードでは、温度カウンタの更新が所定の繰り返し処理時間ごと(例えば、4msecごと)に行われる。そして、減算温度データbは、各温度カウンタの値に対して、この繰り返し処理時間の間に低下する温度低下分として設定されている。
FIG. 4 illustrates the subtraction temperature data. In the figure, subtraction temperature data a corresponds to subtraction temperature ΔT1, and subtraction temperature data b corresponds to subtraction temperature ΔT2. In this example, as will be described later, the controller 31 operates in either an active mode (normal operation mode) or a sleep mode (low power consumption operation mode) that consumes less power than the active mode.
In the active mode, the temperature counter is updated every predetermined repetition processing time (for example, every 4 msec). The subtracted temperature data b is set as a temperature drop that decreases during this repeated processing time with respect to the value of each temperature counter.

一方、スリープモードでは、スリープ状態で作動するスリープ時間Ts(例えば10sec)にアクティブ(作動)状態で作動するアクティブ時間Ta(例えば、4msec)を加算したスリープ周期P(図5参照)ごとに温度カウンタの更新が行われる。本例では、コントローラ31がスリープモードで作動している場合でも、モータ推定温度の算出処理が所定時間ごとに行われるので、常に、的確なモータ温度を把握することができる。
そして、減算温度データaは、各温度カウンタの値に対して、このスリープ周期Pの間に低下する温度低下分として設定されている。したがって、減算温度データaは、更新時間の長さに比例して減算温度データbよりも傾きが大きくなっている。
On the other hand, in the sleep mode, a temperature counter is provided for each sleep cycle P (see FIG. 5) obtained by adding an active time Ta (for example, 4 msec) that operates in the active (actuated) state to a sleep time Ts (for example, 10 sec) that operates in the sleep state. Is updated. In this example, even when the controller 31 is operating in the sleep mode, the process of calculating the estimated motor temperature is performed every predetermined time, so that an accurate motor temperature can always be grasped.
The subtracted temperature data a is set as a temperature drop that decreases during the sleep period P with respect to the value of each temperature counter. Therefore, the subtraction temperature data a has a larger slope than the subtraction temperature data b in proportion to the length of the update time.

このようにスリープモードにおける推定温度の算出処理では、補正値(減算温度)を演算し、この補正値を用いて温度カウンタの値を更新(減算)するので、低負荷な演算処理で更新を行うことができる。
なお、図4の例では、減算温度データa,bは、一次関数で近似されているが、これに限らず、複数の温度範囲ごとに高次関数で近似してもよい。
また、本例では、温度カウンタの値によって一意に減算温度ΔTが決定されるように構成されているが、これに限らず、温度カウンタの値から周辺温度を差し引いた差分温度の大きさによって減算温度が決定されるよう構成してもよい。このようにしても、最終的に温度カウンタの値を、周辺温度に等しくすることができる。
In this way, in the estimated temperature calculation process in the sleep mode, the correction value (subtraction temperature) is calculated, and the value of the temperature counter is updated (subtracted) using this correction value. Therefore, the update is performed with a low-load calculation process. be able to.
In the example of FIG. 4, the subtraction temperature data a and b are approximated by a linear function, but the present invention is not limited to this, and may be approximated by a high-order function for each of a plurality of temperature ranges.
In this example, the subtraction temperature ΔT is uniquely determined by the value of the temperature counter. However, the present invention is not limited to this, and the subtraction is performed based on the difference temperature obtained by subtracting the ambient temperature from the temperature counter value. You may comprise so that temperature may be determined. Even in this case, the value of the temperature counter can be finally made equal to the ambient temperature.

また、本例では、減算温度データa,bを繰り返し処理時間に対する温度低下分として設定しているが、これに限らず、減算温度データa,bを単位時間当たりの温度低下分として設定してもよい。この場合、減算温度データa,bは一致し、前回の処理時間からの経過時間と減算温度データとの積で表される温度低下分を繰り返し処理時間ごとに差し引く処理を行う構成とすることができる。   In this example, the subtraction temperature data a and b are set as the temperature decrease with respect to the repetitive processing time. However, the present invention is not limited to this, and the subtraction temperature data a and b are set as the temperature decrease per unit time. Also good. In this case, the subtracted temperature data a and b coincide with each other, and a process of repeatedly subtracting the temperature decrease represented by the product of the elapsed time from the previous processing time and the subtracted temperature data for each processing time is performed. it can.

本例の操作スイッチ4は、2段階操作可能な揺動型スイッチ等で構成され、開スイッチ,閉スイッチ及びオートスイッチを有している。この操作スイッチ4を乗員が操作することにより、コントローラ31へウインドウガラス11を開閉動作させるための指令信号が出力される。
具体的には、操作スイッチ4は、一端側へ1段階操作されると開スイッチがオンされ、ウインドウガラス11を通常開動作(すなわち操作している間だけ開動作)させるための通常開指令信号をコントローラ31へ出力する。また、操作スイッチ4は、他端側へ1段階操作されると閉スイッチがオンされ、ウインドウガラス11を通常閉動作(すなわち操作している間だけ閉動作)させるための通常閉指令信号をコントローラ31へ出力する。
The operation switch 4 of this example is composed of a swing type switch that can be operated in two stages, and has an open switch, a close switch, and an auto switch. When the occupant operates the operation switch 4, a command signal for opening and closing the window glass 11 is output to the controller 31.
Specifically, when the operation switch 4 is operated one step toward one end, the opening switch is turned on, and a normal opening command signal for causing the window glass 11 to perform a normal opening operation (that is, an opening operation only during the operation). Is output to the controller 31. Further, when the operation switch 4 is operated one step to the other end side, the closing switch is turned on, and a normal close command signal for causing the window glass 11 to be normally closed (that is, only closed during operation) is a controller. To 31.

コントローラ31は、操作スイッチ4から通常開指令信号を受けている間中(操作スイッチ4が操作されている間中)、駆動回路32を介してモータ20を駆動し、ウインドウガラス11を通常開動作させる。一方、コントローラ31は、操作スイッチ4から通常閉指令信号を受けている間中(操作スイッチ4が操作されている間中)、駆動回路32を介してモータ20を駆動し、ウインドウガラス11を通常閉動作させる。   While receiving the normal opening command signal from the operation switch 4 (while the operation switch 4 is being operated), the controller 31 drives the motor 20 via the drive circuit 32 to normally open the window glass 11. Let On the other hand, the controller 31 drives the motor 20 via the drive circuit 32 while receiving the normal close command signal from the operation switch 4 (while the operation switch 4 is being operated), so that the window glass 11 is normally operated. Close operation.

また、操作スイッチ4は、一端側へ2段階操作されると開スイッチ及びオートスイッチが共にオンされ、ウインドウガラス11をオート開動作(すなわち操作を止めても全開位置まで開動作)させるためのオート開指令信号をコントローラ31へ出力する。また、操作スイッチ4は、他端側へ2段階操作されると閉スイッチ及びオートスイッチが共にオンされ、ウインドウガラス11をオート閉動作(すなわち操作を止めても全閉位置まで閉動作)させるためのオート閉指令信号をコントローラ31へ出力する。   Further, when the operation switch 4 is operated in two steps toward one end, both the opening switch and the auto switch are turned on, and the auto switch for automatically opening the window glass 11 (that is, opening to the fully opened position even if the operation is stopped). An open command signal is output to the controller 31. Further, when the operation switch 4 is operated in two steps to the other end side, both the closing switch and the auto switch are turned on, and the window glass 11 is automatically closed (that is, closed to the fully closed position even if the operation is stopped). Is output to the controller 31.

また、コントローラ31は、操作スイッチ4からオート開指令信号を受けると、駆動回路32を介してモータ20を駆動し、ウインドウガラス11を全開位置までオート開動作させる。一方、コントローラ31は、操作スイッチ4からオート閉指令信号を受けると、駆動回路32を介してモータ20を駆動し、ウインドウガラス11を全閉位置までオート閉動作させる。   When the controller 31 receives an auto-open command signal from the operation switch 4, the controller 31 drives the motor 20 via the drive circuit 32 to automatically open the window glass 11 to the fully open position. On the other hand, when receiving an auto close command signal from the operation switch 4, the controller 31 drives the motor 20 via the drive circuit 32 to cause the window glass 11 to automatically close to the fully closed position.

次に、図5に基づいて、本例のコントローラ31の作動モードについて説明する。
本例のコントローラ31は、上述のようにアクティブモード(通常作動モード)またはスリープモード(低消費電力作動モード)で作動するように構成されている。アクティブモードでは、コントローラ31は操作スイッチ4からの操作信号に基づくモータ20の駆動制御処理や、モータ20の推定温度算出処理等のプログラム処理を行う。一方、スリープモードは節電モードであり、現状維持とアクティブモードへの復帰のための必要最小限の電力のみが消費され、システムとしてはほとんど停止状態となっている。
Next, the operation mode of the controller 31 of this example will be described based on FIG.
The controller 31 of this example is configured to operate in the active mode (normal operation mode) or the sleep mode (low power consumption operation mode) as described above. In the active mode, the controller 31 performs a program process such as a drive control process for the motor 20 based on an operation signal from the operation switch 4 and an estimated temperature calculation process for the motor 20. On the other hand, the sleep mode is a power saving mode, and only the minimum necessary power for maintaining the current state and returning to the active mode is consumed, and the system is almost stopped.

図5(A)はアクティブモードを模式的に示しており、常時、作動状態(アクティブ状態)となっている。CPU40は、アクティブモードでは、メインクロック44からのクロック信号に基づいて、メモリ41に記憶された処理プログラムを実行するように構成されている。なお、アクティブ状態では、次述するように、CPU40はアクティブ信号ACT(Hレベル信号)を出力している。
一方、同図(B)は本例のスリープモードを模式的に示している。モード切替手段としてのCPU40は、イグニッションスイッチの状態を示す所定のIG信号5(OFF信号)を受取ると、スリープモードへ移行するように構成されている。このスリープモードでは、スリープ時間Tsとアクティブ時間Taが周期的に繰り返される。
FIG. 5A schematically shows the active mode, which is always in the operating state (active state). In the active mode, the CPU 40 is configured to execute a processing program stored in the memory 41 based on a clock signal from the main clock 44. In the active state, as described below, the CPU 40 outputs an active signal ACT (H level signal).
On the other hand, FIG. 5B schematically shows the sleep mode of this example. When receiving a predetermined IG signal 5 (OFF signal) indicating the state of the ignition switch, the CPU 40 as the mode switching means is configured to shift to the sleep mode. In this sleep mode, the sleep time Ts and the active time Ta are periodically repeated.

このスリープ時間Tsは、アクティブ時間Taよりも十分に長く設定されている。これにより、スリープモードでは、コントローラ31はほとんどの時間において休止状態となっており、省電力化を図ることができる。
本例では、コントローラ31に入力するIG信号5が、イグニッションスイッチがOFFであることを示すOFF信号であった場合に、コントローラ31が作動モードをアクティブモードからスリープモードへ切換可能となっている。
しかしながら、作動モードのスリープモードへの切換えは、これに限らず、モータ停止中に所定条件が満足されると行われるように構成すればよい。例えば、モータ20の作動終了から所定時間経過したことや、モータ停止中に推定温度が所定の温度に到達したこと等を所定条件とすることができる。
This sleep time Ts is set sufficiently longer than the active time Ta. Thereby, in the sleep mode, the controller 31 is in a dormant state for most of the time, and power saving can be achieved.
In this example, when the IG signal 5 input to the controller 31 is an OFF signal indicating that the ignition switch is OFF, the controller 31 can switch the operation mode from the active mode to the sleep mode.
However, switching from the operation mode to the sleep mode is not limited to this, and it may be configured to be performed when a predetermined condition is satisfied while the motor is stopped. For example, the predetermined condition may be that a predetermined time has elapsed from the end of the operation of the motor 20 or that the estimated temperature has reached a predetermined temperature while the motor is stopped.

このように本例のスリープモードでは、アクティブ状態とスリープ状態を交互に繰り返す。スリープ状態では、CPU40はプログラムの逐次実行動作を停止する。
しかし、CPU40は、スリープ制御回路50からウェイクアップ信号WU1を受けとると、アクティブ時間Taの間だけアクティブ状態へ復帰(ウェイクアップ)し、所定の処理を実行後、再び自動的にスリープ状態へ移行するように構成されている。
また、CPU40は、外部信号(WU2)を受けとると、スリープモードからアクティブモードへ復帰(ウェイクアップ)するようになっている。
Thus, in the sleep mode of this example, the active state and the sleep state are alternately repeated. In the sleep state, the CPU 40 stops the sequential execution operation of the program.
However, when the CPU 40 receives the wakeup signal WU1 from the sleep control circuit 50, the CPU 40 returns to the active state (wakes up) only during the active time Ta, performs a predetermined process, and automatically shifts to the sleep state again. It is configured as follows.
Further, when receiving an external signal (WU2), the CPU 40 returns (wakes up) from the sleep mode to the active mode.

図3に示すように、本例のスリープ制御回路50は、スリープモードで作動中、スリープ状態となってから所定の復帰時間(スリープ時間Ts)が経過したときにアクティブモードへの移行を指示するウェイクアップ信号WU1を発生するものであり、サブクロック51,カウンタ52,レジスタ53および信号生成回路54を備えている。カウンタ52,レジスタ53は、バス43に接続されている。   As shown in FIG. 3, the sleep control circuit 50 of this example instructs the transition to the active mode when a predetermined return time (sleep time Ts) has elapsed since entering the sleep state while operating in the sleep mode. The wakeup signal WU1 is generated, and includes a subclock 51, a counter 52, a register 53, and a signal generation circuit 54. The counter 52 and the register 53 are connected to the bus 43.

カウンタ52は、コントローラ31に電力供給されている間中、動作を継続するサブクロック51からのクロック信号をカウントアップする。このカウンタ52には、CPU40がアクティブモードで作動しているときには定期的にCPU40からクリア信号CLRが入力されるようになっている。このクリア信号CLRが入力されると、カウンタ52のカウント値はリセットされる。
レジスタ53には、スリープ時間Tsに応じたクロック信号のカウント設定値が設定されている。
The counter 52 counts up the clock signal from the sub clock 51 that continues to operate while power is supplied to the controller 31. The counter 52 receives a clear signal CLR periodically from the CPU 40 when the CPU 40 is operating in the active mode. When the clear signal CLR is input, the count value of the counter 52 is reset.
In the register 53, a count setting value of the clock signal corresponding to the sleep time Ts is set.

信号生成回路54は、カウンタ52のカウント値とレジスタ53のカウント設定値とを比較する比較器55と、スリープモード中のみ比較器55の出力信号を通過させるANDゲート56を備える。比較器55は、カウンタ52のカウント値がレジスタ53のカウント設定値を越えたときにウェイクアップ信号WU1を出力する。また、ANDゲート56の一方の入力端子には比較器55の出力信号が入力され、他方の入力端子にはCPU40からのアクティブ信号ACTをインバータ57によって反転させた反転信号が入力される。
CPU40は、アクティブ状態では、継続してアクティブ信号ACTを出力している。アクティブ信号ACTはHレベルの信号であり、アクティブ状態では、インバータ57の出力は、Lレベル信号となる。したがって、アクティブ状態では、ANDゲート56は無効化され、Hレベル信号であるウェイクアップ信号WU1が通過することはない。
The signal generation circuit 54 includes a comparator 55 that compares the count value of the counter 52 with the count setting value of the register 53, and an AND gate 56 that passes the output signal of the comparator 55 only during the sleep mode. Comparator 55 outputs wakeup signal WU1 when the count value of counter 52 exceeds the count set value of register 53. The output signal of the comparator 55 is input to one input terminal of the AND gate 56, and an inverted signal obtained by inverting the active signal ACT from the CPU 40 by the inverter 57 is input to the other input terminal.
In the active state, the CPU 40 continuously outputs an active signal ACT. The active signal ACT is an H level signal. In an active state, the output of the inverter 57 is an L level signal. Therefore, in the active state, the AND gate 56 is invalidated, and the wakeup signal WU1 which is an H level signal does not pass through.

一方、スリープ状態では、CPU40はアクティブ信号ACTを出力しないので、インバータ57への入力はLレベル信号となり、結果、インバータ57の出力はHレベル信号となる。これにより、ANDゲート56は有効化される。この状態で、比較器55からウェイクアップ信号WU1が出力されると、ANDゲート56は、実質的にウェイクアップ信号WU1を通過させる。
割込信号であるウェイクアップ信号WU1は、CPU40の割込端子へ入力される。これにより、CPU40はスリープ状態からアクティブ状態へ直ちに復帰(ウェイクアップ)する。そして、アクティブ状態へ復帰後はアクティブ時間Ta経過するまでに、CPU40は後述する推定温度の算出処理を行った後、再びスリープ状態へ移行する。スリープ制御回路50とCPU40は、本発明の起動手段に相当する。
On the other hand, in the sleep state, since the CPU 40 does not output the active signal ACT, the input to the inverter 57 is an L level signal, and as a result, the output of the inverter 57 is an H level signal. As a result, the AND gate 56 is validated. In this state, when the wakeup signal WU1 is output from the comparator 55, the AND gate 56 substantially passes the wakeup signal WU1.
A wake-up signal WU1, which is an interrupt signal, is input to the interrupt terminal of the CPU 40. As a result, the CPU 40 immediately returns (wakes up) from the sleep state to the active state. After returning to the active state, the CPU 40 performs a process for calculating an estimated temperature, which will be described later, until the active time Ta elapses, and then shifts to the sleep state again. The sleep control circuit 50 and the CPU 40 correspond to an activation unit of the present invention.

また、CPU40には、外部から割込信号であるウェイクアップ信号WU2が入力されるようになっている。本例では、ウェイクアップ信号WU2は、操作スイッチ4を操作することに伴ってCPU40の割込端子へ入力されるようになっている。このウェイクアップ信号WU2が入力されると、CPU40はスリープモードからアクティブモードへ直ちに復帰し、通常のプログラム処理にしたがってモータ20の駆動制御を行う。   The CPU 40 is supplied with a wakeup signal WU2 that is an interrupt signal from the outside. In this example, the wake-up signal WU2 is input to the interrupt terminal of the CPU 40 when the operation switch 4 is operated. When this wakeup signal WU2 is input, the CPU 40 immediately returns from the sleep mode to the active mode, and controls the drive of the motor 20 in accordance with normal program processing.

次に、図6に基づいて、モータ停止中においてアクティブモードで作動しているときの推定温度の算出処理について説明する。この処理は、所定時間ごと(例えば、4msecごと)に繰り返し行われる。
まず、ステップS1でコントローラ31は、IG信号5に基づいて、車両のイグニッションスイッチのON/OFFを判定する。すなわち、コントローラ31は、IG信号5がOFF信号である場合にイグニッションスイッチがOFFであり、IG信号5がON信号である場合にイグニッションスイッチがONであると判定する。この処理は、アクティブモードからスリープモードへ移行するか否かを判定している。IG信号5がOFF信号の場合(ステップS1;Yes)は、スリープモード(ステップS2)へ移行する。
Next, a process for calculating the estimated temperature when the motor is operating in the active mode while the motor is stopped will be described with reference to FIG. This process is repeated every predetermined time (for example, every 4 msec).
First, in step S1, the controller 31 determines ON / OFF of the ignition switch of the vehicle based on the IG signal 5. That is, the controller 31 determines that the ignition switch is OFF when the IG signal 5 is an OFF signal, and the ignition switch is ON when the IG signal 5 is an ON signal. This process determines whether or not to shift from the active mode to the sleep mode. When the IG signal 5 is an OFF signal (step S1; Yes), the process shifts to the sleep mode (step S2).

なお、IG信号5がOFF信号となってから所定時間(例えば、数十秒程度)の経過前は、コントローラ31が、操作スイッチ4からの操作信号に基づいてモータ20を作動可能とし、これによってウインドウガラス11を昇降可能な構成であってもよい。この場合、ステップS1において、IG信号5がOFF信号となってから上記所定時間に対応した時間の経過後に、判定が「Yes」となってスリープモードへ移行するように構成することができる。   In addition, before the lapse of a predetermined time (for example, about several tens of seconds) after the IG signal 5 becomes the OFF signal, the controller 31 enables the motor 20 to operate based on the operation signal from the operation switch 4. The structure which can raise / lower the window glass 11 may be sufficient. In this case, in step S1, after the IG signal 5 becomes an OFF signal, after a time corresponding to the predetermined time has elapsed, the determination becomes “Yes”, and a transition to the sleep mode can be made.

一方、IG信号5がON信号の場合(ステップS1;No)は、ステップS3でCPU40は補正値(減算温度ΔT2)の算出処理を行う。この処理では、そのときの温度カウンタの値を読み出し、この温度カウンタの値に対応する減算温度ΔT2を減算温度データbから算出する。
そして、CPU40はステップS4で温度カウンタの更新処理を行う。この処理では、算出した減算温度ΔT2を、読み出した温度カウンタの値から差し引いて、再び温度カウンタに書き込む処理を行う。
On the other hand, when the IG signal 5 is an ON signal (step S1; No), the CPU 40 performs a correction value (subtraction temperature ΔT2) calculation process in step S3. In this process, the value of the temperature counter at that time is read, and the subtraction temperature ΔT2 corresponding to the value of the temperature counter is calculated from the subtraction temperature data b.
And CPU40 performs the update process of a temperature counter by step S4. In this process, the calculated subtraction temperature ΔT2 is subtracted from the read value of the temperature counter, and the process of writing to the temperature counter again is performed.

続いて、ステップS5でCPU40は、温度センサ33からの周辺温度検出信号に基づいて周辺温度を算出すると共に、温度カウンタの値が算出した周辺温度の値よりも小さいか否かを判定する。
温度カウンタの値の方が小さかった場合(ステップS5;Yes)は、温度カウンタの値を周辺温度に合わせるべく、ステップS6で温度カウンタの値を算出した周辺温度の値に更新して、再びステップS1へ戻る。
一方、温度カウンタの値が周辺温度の値以上であった場合(ステップS5;No)は、温度カウンタの値をステップS4で更新したままに維持して再びステップS1へ戻る。
このようにして、モータ停止後、IG信号5がOFF信号となるまでは、CPU40は、アクティブモードで温度カウンタの値を更新し続ける。
Subsequently, in step S5, the CPU 40 calculates the ambient temperature based on the ambient temperature detection signal from the temperature sensor 33, and determines whether the value of the temperature counter is smaller than the calculated ambient temperature value.
If the value of the temperature counter is smaller (step S5; Yes), the value of the temperature counter is updated to the value of the ambient temperature calculated in step S6 in order to adjust the value of the temperature counter to the ambient temperature, and the step is again performed. Return to S1.
On the other hand, when the value of the temperature counter is equal to or greater than the value of the ambient temperature (step S5; No), the value of the temperature counter is maintained updated in step S4, and the process returns to step S1 again.
Thus, after the motor stops, the CPU 40 continues to update the value of the temperature counter in the active mode until the IG signal 5 becomes the OFF signal.

次に、図7に基づいてスリープモードで作動しているときの推定温度の算出処理について説明する。この処理も所定時間ごと(例えば、10sec+4msecごと)に繰り返し行われる。
まず、ステップS11では、スリープモードで作動しているコントローラ31は、ウェイクアップ信号WU1の待機処理を行う。スリープ状態では、CPU40からアクティブ信号ACTが出力されていないので、スリープ時間Tsが経過すると比較器55から出力されたウェイクアップ信号WU1は、ANDゲート56を通過してCPU40へ入力される。
なお、本例では、スリープ状態でCPU40がウェイクアップ信号WU1を受けた場合に起動して処理を開始するように構成されているが、これに限らず、スリープ状態でCPU40は起動状態にあり、常時、ウェイクアップ信号WU1の入力があるか否かを検出し続けるようにしてもよい。
Next, a process for calculating the estimated temperature when operating in the sleep mode will be described with reference to FIG. This process is also repeated every predetermined time (for example, every 10 sec + 4 msec).
First, in step S11, the controller 31 operating in the sleep mode performs a standby process for the wakeup signal WU1. Since the active signal ACT is not output from the CPU 40 in the sleep state, the wakeup signal WU1 output from the comparator 55 is input to the CPU 40 through the AND gate 56 when the sleep time Ts elapses.
In this example, the CPU 40 is configured to be activated and start processing when the wake-up signal WU1 is received in the sleep state. However, the present invention is not limited to this, and the CPU 40 is in the activated state in the sleep state. It may be continuously detected whether or not the wakeup signal WU1 is input.

CPU40にウェイクアップ信号WU1が入力されていない場合(ステップS11;No)は、スリープ時間Tsが未だ経過していないのでステップS11を繰り返す。
一方、CPU40にウェイクアップ信号WU1が入力された場合(ステップS11;Yes)は、ステップS12でCPU40はアクティブ状態へ復帰する。
そして、ステップS13でCPU40は補正値(減算温度ΔT1)の算出処理を行う。この処理では、そのときの温度カウンタの値を読み出し、この温度カウンタの値に対応する減算温度ΔT1を減算温度データaから算出する。
そして、CPU40はステップS14で温度カウンタの更新処理を行う。この処理では、算出した減算温度ΔT1を、読み出した温度カウンタの値から差し引いて、再び温度カウンタに書き込む処理を行う。
When the wake-up signal WU1 is not input to the CPU 40 (step S11; No), the sleep time Ts has not yet elapsed, and thus step S11 is repeated.
On the other hand, when the wakeup signal WU1 is input to the CPU 40 (step S11; Yes), the CPU 40 returns to the active state in step S12.
In step S13, the CPU 40 performs a correction value (subtraction temperature ΔT1) calculation process. In this process, the value of the temperature counter at that time is read, and the subtraction temperature ΔT1 corresponding to the value of the temperature counter is calculated from the subtraction temperature data a.
And CPU40 performs the update process of a temperature counter by step S14. In this process, the calculated subtraction temperature ΔT1 is subtracted from the read value of the temperature counter and is written again in the temperature counter.

続いて、ステップS15でCPU40は、温度センサ33からの周辺温度検出信号に基づいて周辺温度を算出すると共に、温度カウンタの値が算出した周辺温度の値よりも小さいか否かを判定する。
温度カウンタの値の方が小さかった場合(ステップS15;Yes)は、温度カウンタの値を周辺温度に合わせるべく、ステップS16で温度カウンタの値を算出した周辺温度の値に更新して、ステップS17へ移行する。
一方、温度カウンタの値が周辺温度の値以上であった場合(ステップS15;No)は、温度カウンタの値をステップS14で更新したままに維持してステップS17へ移行する。
Subsequently, in step S15, the CPU 40 calculates the ambient temperature based on the ambient temperature detection signal from the temperature sensor 33, and determines whether the value of the temperature counter is smaller than the calculated ambient temperature value.
If the value of the temperature counter is smaller (step S15; Yes), the value of the temperature counter is updated to the value of the ambient temperature calculated in step S16 in order to adjust the value of the temperature counter to the ambient temperature. Migrate to
On the other hand, when the value of the temperature counter is equal to or greater than the value of the ambient temperature (step S15; No), the value of the temperature counter is kept updated in step S14, and the process proceeds to step S17.

ステップS17では、再びスリープ状態へ戻るためにクリア信号CLRを出力してカウンタ52のリセットを行い、アクティブ状態への復帰からアクティブ時間Ta経過後に再びステップS11へ戻る。
このようにして、モータ停止中におけるスリープモードでは、所定時間経過ごとに、CPU40は、温度カウンタの値を更新し続ける。
なお、ウェイクアップ信号WU2がCPU40へ入力された場合には、割込処理によりスリープモードからアクティブモードへ強制的に復帰する。
In step S17, in order to return to the sleep state again, the clear signal CLR is output to reset the counter 52, and after the active time Ta has elapsed from the return to the active state, the process returns to step S11 again.
Thus, in the sleep mode when the motor is stopped, the CPU 40 continues to update the value of the temperature counter every time a predetermined time has elapsed.
When the wakeup signal WU2 is input to the CPU 40, the sleep mode is forcibly returned from the sleep mode to the active mode.

以下に本発明の他の実施形態を説明する。なお、上記実施形態と同じ構成要素には同じ符号を付し重複する説明は省略する。
(第2の実施形態)
上記実施形態では、スリープモードにおける推定温度の算出処理において、繰り返し処理時間ごとに補正値(ΔT1)を算出し、この補正値を差し引くことによって温度カウンタの値を逐次更新していたが、これに限らず、以下のように構成してもよい。すなわち、本例では、スリープモードでは補正値のみを算出しておき、アクティブモードへの移行時にスリープモードの作動時間分の補正値をまとめて温度カウンタの値から差し引くことによって、温度カウンタの値を更新するように構成している。このため、コントローラ31は、補正値を補正値記憶手段としてのメモリ41に記憶保持している。
Other embodiments of the present invention will be described below. In addition, the same code | symbol is attached | subjected to the same component as the said embodiment, and the overlapping description is abbreviate | omitted.
(Second Embodiment)
In the above embodiment, in the calculation process of the estimated temperature in the sleep mode, the correction value (ΔT1) is calculated every repeated processing time, and the value of the temperature counter is sequentially updated by subtracting this correction value. The configuration is not limited to the following. That is, in this example, only the correction value is calculated in the sleep mode, and the correction value for the sleep mode operation time is collectively subtracted from the value of the temperature counter at the time of transition to the active mode. It is configured to update. For this reason, the controller 31 stores and holds the correction value in the memory 41 as correction value storage means.

本例の減算温度データでは、図8に示すように、スリープモードの累積時間に対して減算温度ΣTが設定されている。なお、本例では、減算温度データcが一次関数で定義されているが、これに限らず、高次関数で定義してもよい。
本例のスリープ制御回路50には、図9に示すように、カウンタ58が付加されている。このカウンタ58は、アクティブモードからスリープモードへ移行するときにクリア信号CLRによってリセットされ、スリープモードで作動中は継続してサブクロック51からのクロック信号を受けてこれをカウントアップし続けるものである。このカウンタ58によってスリープモードの累積時間を算出することができる。
In the subtraction temperature data of this example, as shown in FIG. 8, a subtraction temperature ΣT is set for the cumulative time in the sleep mode. In this example, the subtraction temperature data c is defined by a linear function, but is not limited thereto, and may be defined by a high-order function.
As shown in FIG. 9, a counter 58 is added to the sleep control circuit 50 of this example. The counter 58 is reset by the clear signal CLR when shifting from the active mode to the sleep mode, and continuously receives the clock signal from the sub clock 51 and continues to count up while operating in the sleep mode. . The counter 58 can calculate the accumulated time in the sleep mode.

次に、図10に基づいてスリープモードで作動しているときの推定温度の算出処理について説明する。ステップS21,S22は、上記実施形態のステップS11,S12と同じなので説明を省略する。
ステップS22でアクティブ状態へ復帰すると、ステップS23で補正値算出手段としてのCPU40は補正値(減算温度ΣT)の算出処理を行う。この処理では、そのときのカウンタ58の値に基づいて、減算温度データcから減算温度ΣTを算出する。
そして、CPU40はステップS24で補正値の更新処理を行う。この処理では、算出した減算温度ΣTを、補正値としてメモリ41に書き込む処理を行う。
Next, a process for calculating the estimated temperature when operating in the sleep mode will be described with reference to FIG. Steps S21 and S22 are the same as steps S11 and S12 of the above-described embodiment, and thus description thereof is omitted.
When returning to the active state in step S22, in step S23, the CPU 40 as the correction value calculation means performs a correction value (subtraction temperature ΣT) calculation process. In this process, the subtraction temperature ΣT is calculated from the subtraction temperature data c based on the value of the counter 58 at that time.
And CPU40 performs the update process of a correction value by step S24. In this process, the calculated subtraction temperature ΣT is written into the memory 41 as a correction value.

続いてステップS25では、再びスリープ状態へ戻るためにクリア信号CLRを出力してカウンタ52のリセットを行い、ステップS21へ戻る。
このようにして、モータ停止中におけるスリープモードでは、所定時間経過ごとに、CPU40は、補正値の値を更新し続ける。
Subsequently, in step S25, the clear signal CLR is output to return to the sleep state again, the counter 52 is reset, and the process returns to step S21.
In this way, in the sleep mode while the motor is stopped, the CPU 40 continues to update the correction value every time a predetermined time has elapsed.

図11は、ウェイクアップ信号WU2がCPU40へ入力された場合の割込処理を示している。この処理によりコントローラ31は、スリープモードからアクティブモードへ強制的に復帰する。
ステップS31でCPU40の割込端子にウェイクアップ信号WU2が入力すると割込処理に入り、ステップS32でCPU40はスリープモードからアクティブモードへ復帰する。
そして、ステップS33で推定温度算出手段としてのCPU40は、推定温度の算出処理を行う。この処理では、スリープモードに移行する前に記憶され、スリープモード中は更新されることなく保持されていた温度カウンタの値から、ステップS24で最終的に記憶された補正値を差し引く処理が行われる。
FIG. 11 shows an interrupt process when the wake-up signal WU2 is input to the CPU 40. With this process, the controller 31 forcibly returns from the sleep mode to the active mode.
When the wakeup signal WU2 is input to the interrupt terminal of the CPU 40 in step S31, the interrupt process is started. In step S32, the CPU 40 returns from the sleep mode to the active mode.
In step S33, the CPU 40 serving as the estimated temperature calculating unit performs an estimated temperature calculation process. In this process, a process of subtracting the correction value finally stored in step S24 is performed from the value of the temperature counter that is stored before the transition to the sleep mode and is not updated during the sleep mode. .

ステップS34では、CPU40は温度センサ33からの周辺温度検出信号に基づいて周辺温度を算出すると共に、温度カウンタの値が算出した周辺温度の値よりも小さいか否かを判定する。
温度カウンタの値の方が小さかった場合(ステップS34;Yes)は、温度カウンタの値を周辺温度に合わせるべく、ステップS35で温度カウンタの値を算出した周辺温度の値に更新して処理を終了する。
一方、温度カウンタの値が周辺温度の値以上であった場合(ステップS34;No)は、温度カウンタの値をステップS33で更新したままに維持して処理を終了する。
In step S34, the CPU 40 calculates the ambient temperature based on the ambient temperature detection signal from the temperature sensor 33, and determines whether the value of the temperature counter is smaller than the calculated ambient temperature value.
If the value of the temperature counter is smaller (step S34; Yes), the value of the temperature counter is updated to the value of the ambient temperature calculated in step S35 in order to adjust the value of the temperature counter to the ambient temperature, and the process is terminated. To do.
On the other hand, when the value of the temperature counter is equal to or greater than the value of the ambient temperature (step S34; No), the temperature counter value is maintained as updated in step S33, and the process is terminated.

このようにスリープモードでの動作中は、補正値のみを算出しアクティブモードへの復帰時に最新の補正値に基づいて温度カウンタの値を更新することによっても、省電力化を図りつつモータ停止中の推定温度を算出することができる。   As described above, during operation in the sleep mode, only the correction value is calculated, and the motor is stopped while saving power by updating the temperature counter value based on the latest correction value when returning to the active mode. Can be calculated.

また、上記実施形態では、スリープモードからアクティブモードへ移行させるためにスリープ制御回路50をCPU40と別に配置した構成としたが、これに限らず、CPU40がスリープ制御回路50の機能を有する構成としてもよい。   In the above embodiment, the sleep control circuit 50 is arranged separately from the CPU 40 in order to shift from the sleep mode to the active mode. However, the present invention is not limited to this, and the CPU 40 may have a function of the sleep control circuit 50. Good.

(第3の実施形態)
また、図12に基づいて本発明の第3の実施形態について説明する。この実施形態では、アクティブモードからスリープモードへ移行するか否かを、モータ20が回動を停止してからの時間に基づいて判定するものである。
まず、ステップS41でCPU40は、メインクロック44より入力されるクロック信号に基づいて、駆動回路32を介してモータ20を駆動するための制御信号の出力から所定の時間が経過したか否かを判定する。すなわち、通常動作においてモータ20が回動を停止してから所定の時間が経過したか否かが判定される。この処理は、アクティブモードからスリープモードへ移行するか否かを判定している。動作終了から所定時間経過した場合(ステップS41;Yes)は、ステップS42でCPU40はアクティブ信号ACTの出力を停止すると共に、クリア信号CLRを出力してカウンタ52をリセットしてスリープモード(ステップS42)へ移行する。
(Third embodiment)
A third embodiment of the present invention will be described with reference to FIG. In this embodiment, whether to shift from the active mode to the sleep mode is determined based on the time after the motor 20 stops rotating.
First, in step S41, the CPU 40 determines whether or not a predetermined time has elapsed from the output of the control signal for driving the motor 20 via the drive circuit 32, based on the clock signal input from the main clock 44. To do. That is, it is determined whether or not a predetermined time has elapsed since the motor 20 stopped rotating in the normal operation. This process determines whether or not to shift from the active mode to the sleep mode. When a predetermined time has elapsed from the end of the operation (step S41; Yes), in step S42, the CPU 40 stops the output of the active signal ACT, outputs the clear signal CLR, resets the counter 52, and sleep mode (step S42). Migrate to

一方、動作終了から所定時間経過していない場合(ステップS41;No)は、ステップS43でCPU40は補正値(減算温度ΔT2)の算出処理を行う。この処理では、そのときの温度カウンタの値を読み出し、この温度カウンタの値に対応する減算温度ΔT2を減算温度データbから算出する。
そして、CPU40はステップS44で温度カウンタの更新処理を行う。この処理では、算出した減算温度ΔT2を、読み出した温度カウンタの値から差し引いて、再び温度カウンタに書き込む処理を行う。
On the other hand, if the predetermined time has not elapsed since the end of the operation (step S41; No), the CPU 40 performs a correction value (subtraction temperature ΔT2) calculation process in step S43. In this process, the value of the temperature counter at that time is read, and the subtraction temperature ΔT2 corresponding to the value of the temperature counter is calculated from the subtraction temperature data b.
And CPU40 performs the update process of a temperature counter by step S44. In this process, the calculated subtraction temperature ΔT2 is subtracted from the read value of the temperature counter, and the process of writing to the temperature counter again is performed.

続いて、ステップS45でCPU40は、温度センサ33からの周辺温度検出信号に基づいて周辺温度を算出すると共に、温度カウンタの値が算出した周辺温度の値よりも小さいか否かを判定する。
温度カウンタの値の方が小さかった場合(ステップS45;Yes)は、温度カウンタの値を周辺温度に合わせるべく、ステップS46で温度カウンタの値を算出した周辺温度の値に更新して、再びステップS41へ戻る。
一方、温度カウンタの値が周辺温度の値以上であった場合(ステップS45;No)は、温度カウンタの値をステップS44で更新したままに維持して再びステップS41へ戻る。
このようにして、モータ停止後、所定時間経過するまでは、CPU40は、アクティブモードで温度カウンタの値を更新し続ける。
Subsequently, in step S45, the CPU 40 calculates the ambient temperature based on the ambient temperature detection signal from the temperature sensor 33, and determines whether the value of the temperature counter is smaller than the calculated ambient temperature value.
If the value of the temperature counter is smaller (step S45; Yes), the value of the temperature counter is updated to the value of the ambient temperature calculated in step S46 in order to adjust the value of the temperature counter to the ambient temperature, and the step is again performed. Return to S41.
On the other hand, when the value of the temperature counter is equal to or greater than the value of the ambient temperature (step S45; No), the value of the temperature counter is maintained as updated in step S44, and the process returns to step S41 again.
In this manner, the CPU 40 continues to update the value of the temperature counter in the active mode until a predetermined time elapses after the motor stops.

また、上記実施形態では、本発明をパワーウインドウ装置1に適用した例を示したが、これに限らず、モータを有する装置全般に適用することができる。   Moreover, although the example which applied this invention to the power window apparatus 1 was shown in the said embodiment, it can apply not only to this but the whole apparatus which has a motor.

本発明の一実施形態に係るパワーウインドウ装置の説明図である。It is explanatory drawing of the power window apparatus which concerns on one Embodiment of this invention. 図1のパワーウインドウ装置の電気構成図である。It is an electrical block diagram of the power window apparatus of FIG. 図2のコントローラの電気構成図である。It is an electrical block diagram of the controller of FIG. モータ停止時の減算温度データを表すグラフである。It is a graph showing the subtraction temperature data at the time of a motor stop. コントローラの動作モードを表す説明図である。It is explanatory drawing showing the operation mode of a controller. アクティブモードでの推定温度の算出処理を表す処理フローである。It is a processing flow showing the calculation process of the estimated temperature in active mode. スリープモードでの推定温度の算出処理を表す処理フローである。It is a processing flow showing the calculation process of the estimated temperature in sleep mode. 本発明の第2の実施形態に係るモータ停止時の減算温度データを表すグラフである。It is a graph showing the subtraction temperature data at the time of the motor stop which concerns on the 2nd Embodiment of this invention. スリープ制御回路の電気構成の一部を示す説明図である。It is explanatory drawing which shows a part of electrical structure of a sleep control circuit. スリープモードでの推定温度の補正値の算出処理を表す処理フローである。It is a processing flow showing the calculation process of the correction value of the estimated temperature in sleep mode. アクティブモードへの復帰時の処理を表す処理フローである。It is a processing flow showing the process at the time of return to active mode. 本発明の第3の実施形態に係るアクティブモードでの推定温度の算出処理を表す処理フローである。It is a processing flow showing the calculation process of the estimated temperature in the active mode which concerns on the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

1‥パワーウインドウ装置、2‥昇降機構、3‥制御部、4‥操作スイッチ、
5‥イグニッション(IG)信号、6‥バッテリ、10‥ドア、
11‥ウインドウガラス、20‥モータ、20a‥巻線、21‥昇降アーム、
21a‥ギヤ、22‥従動アーム、23‥固定チャンネル、
24‥ガラス側チャンネル、25‥回転検出装置、25a‥ホール素子、
31‥コントローラ、32‥駆動回路、33‥温度センサ、40‥CPU、
41‥メモリ、42‥入出力回路、43‥バス、44‥メインクロック、
50‥スリープ制御回路、51‥サブクロック、52‥カウンタ、53‥レジスタ、
54‥信号生成回路、55‥比較器、56‥ANDゲート、57‥インバータ、
58‥カウンタ、a,b,c‥減算温度データ、ACT‥アクティブ信号、
CLR‥クリア信号、P‥スリープ周期、Ts‥スリープ時間、
Ta‥アクティブ時間、WU1,WU2‥ウェイクアップ信号
1. Power window device 2. Lifting mechanism 3. Control unit 4. Operation switch
5. Ignition (IG) signal, 6. Battery, 10. Door,
11: Window glass, 20: Motor, 20a: Winding, 21: Lifting arm,
21a: gear, 22: driven arm, 23: fixed channel,
24 ... Glass side channel, 25 ... Rotation detector, 25a ... Hall element,
31: Controller, 32: Drive circuit, 33: Temperature sensor, 40: CPU,
41, memory, 42, input / output circuit, 43, bus, 44, main clock,
50 ... Sleep control circuit, 51 ... Sub clock, 52 ... Counter, 53 ... Register,
54 ... Signal generation circuit, 55 ... Comparator, 56 ... AND gate, 57 ... Inverter,
58 ... Counter, a, b, c ... Subtraction temperature data, ACT ... Active signal,
CLR: Clear signal, P: Sleep cycle, Ts: Sleep time,
Ta: Active time, WU1, WU2: Wake-up signal

Claims (6)

車両電源から電力供給されることによって作動するモータと、該モータを駆動制御する制御部と、を備えたモータ制御装置であって、
前記制御部は、
前記モータの推定温度を算出する推定温度算出手段と、
モータ停止中に所定の条件に応じて、前記制御部の作動モードを、前記モータを駆動可能である通常作動モードから、該通常作動モードよりも消費電力が少ないスリープモードへ切り替えるモード切替手段と、
前記スリープモードにおいて所定のスリープ時間経過ごとに前記推定温度算出手段を所定のアクティブ時間だけ作動させる起動手段と、を備え、
前記推定温度算出手段は、前記アクティブ時間の間に前記推定温度を算出することを特徴とするモータ制御装置。
A motor control device comprising: a motor that operates when power is supplied from a vehicle power supply; and a control unit that controls driving of the motor,
The controller is
An estimated temperature calculating means for calculating an estimated temperature of the motor;
Mode switching means for switching the operation mode of the control unit from a normal operation mode capable of driving the motor to a sleep mode with less power consumption than the normal operation mode according to a predetermined condition while the motor is stopped;
Activation means for operating the estimated temperature calculation means for a predetermined active time every time a predetermined sleep time elapses in the sleep mode,
The estimated temperature calculation means calculates the estimated temperature during the active time.
前記制御部は、前記推定温度を記憶する推定温度記憶手段を有し、
前記推定温度算出手段は、前記推定温度を新たに算出したときに、前記推定温度記憶手段に記憶された推定温度を、新たに算出した推定温度に更新することを特徴とする請求項1に記載のモータ制御装置。
The control unit has estimated temperature storage means for storing the estimated temperature,
The estimated temperature calculation means updates the estimated temperature stored in the estimated temperature storage means to the newly calculated estimated temperature when the estimated temperature is newly calculated. Motor control device.
前記推定温度算出手段は、前記推定温度記憶手段に記憶された推定温度を補正するための補正値を算出し、前記推定温度記憶手段に記憶された推定温度を前記補正値で補正することによって、新たな推定温度を算出することを特徴とする請求項2に記載のモータ制御装置。   The estimated temperature calculation means calculates a correction value for correcting the estimated temperature stored in the estimated temperature storage means, and corrects the estimated temperature stored in the estimated temperature storage means with the correction value. The motor control device according to claim 2, wherein a new estimated temperature is calculated. 車両電源から電力供給されることによって作動するモータと、該モータを駆動制御する制御部と、を備えたモータ制御装置であって、
前記制御部は、
前記モータの推定温度を算出する推定温度算出手段と、
前記推定温度算出手段によって算出された推定温度を記憶する推定温度記憶手段と、
モータ停止中に所定の条件に応じて、前記制御部の作動モードを、前記モータを駆動可能な通常作動モードから、該通常作動モードよりも消費電力が少ないスリープモードへ切り替えるモード切替手段と、
前記推定温度記憶手段に記憶された推定温度を補正するための補正値を算出する補正値算出手段と、
該補正値算出手段によって算出された補正値を記憶する補正値記憶手段と、
前記スリープモードにおいて所定のスリープ時間経過ごとに前記補正値算出手段を所定のアクティブ時間だけ作動させる起動手段と、を備え、
前記アクティブ時間の間に、前記補正値算出手段は前記補正値を算出すると共に、前記補正値記憶手段は前記補正値を記憶し、
前記推定温度算出手段は、前記スリープモードから前記通常作動モードへ復帰するときに、前記推定温度記憶手段が記憶する推定温度を前記補正値記憶手段が記憶する補正値で補正することによって、新たな推定温度を算出することを特徴とするモータ制御装置。
A motor control device comprising: a motor that operates when power is supplied from a vehicle power supply; and a control unit that controls driving of the motor,
The controller is
An estimated temperature calculating means for calculating an estimated temperature of the motor;
Estimated temperature storage means for storing the estimated temperature calculated by the estimated temperature calculation means;
Mode switching means for switching the operation mode of the control unit from a normal operation mode capable of driving the motor to a sleep mode with less power consumption than the normal operation mode according to a predetermined condition while the motor is stopped.
Correction value calculating means for calculating a correction value for correcting the estimated temperature stored in the estimated temperature storage means;
Correction value storage means for storing the correction value calculated by the correction value calculation means;
Activation means for operating the correction value calculation means for a predetermined active time every time a predetermined sleep time elapses in the sleep mode,
During the active time, the correction value calculation means calculates the correction value, and the correction value storage means stores the correction value,
The estimated temperature calculation means corrects the estimated temperature stored in the estimated temperature storage means with the correction value stored in the correction value storage means when returning from the sleep mode to the normal operation mode. A motor control device that calculates an estimated temperature.
前記スリープ時間は、前記アクティブ時間よりも長く設定されたことを特徴とする請求項1又は4に記載のモータ制御装置。   The motor control device according to claim 1, wherein the sleep time is set longer than the active time. 前記所定の条件は、前記制御部が車両の電力状況がOFFとなることを表す信号を受取ることであることを特徴とする請求項1又は4に記載のモータ制御装置。
5. The motor control device according to claim 1, wherein the predetermined condition is that the control unit receives a signal indicating that the power status of the vehicle is OFF. 6.
JP2006187726A 2005-07-20 2006-07-07 Motor control device Pending JP2007053894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006187726A JP2007053894A (en) 2005-07-20 2006-07-07 Motor control device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005210455 2005-07-20
JP2006187726A JP2007053894A (en) 2005-07-20 2006-07-07 Motor control device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011237774A Division JP5277301B2 (en) 2005-07-20 2011-10-28 Motor control device

Publications (1)

Publication Number Publication Date
JP2007053894A true JP2007053894A (en) 2007-03-01

Family

ID=37917940

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006187726A Pending JP2007053894A (en) 2005-07-20 2006-07-07 Motor control device

Country Status (1)

Country Link
JP (1) JP2007053894A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007151380A (en) * 2005-11-07 2007-06-14 Asmo Co Ltd Motor control unit
JP2010239835A (en) * 2009-03-31 2010-10-21 Autonetworks Technologies Ltd Power supply control device and control method thereof
JP2012124982A (en) * 2010-12-06 2012-06-28 Yazaki Corp Protection device for load circuit
WO2012090343A1 (en) * 2010-12-28 2012-07-05 パナソニック株式会社 Actuator driving apparatus
JP2014054158A (en) * 2012-09-05 2014-03-20 Samsung Electro-Mechanics Co Ltd Motor driving device and motor controlling method
JP2015153480A (en) * 2014-02-11 2015-08-24 株式会社デンソー Monitoring device
US9500704B2 (en) 2013-02-25 2016-11-22 Renesas Electronics Corporation Semiconductor device which can detect abnormality
JP2019106767A (en) * 2017-12-11 2019-06-27 株式会社デンソー Motor control device and motor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04208094A (en) * 1990-11-30 1992-07-29 Toto Ltd Method of braking motor by operation time control
JPH06247324A (en) * 1993-02-26 1994-09-06 Mitsubishi Electric Corp Motor controller
JP2005037254A (en) * 2003-07-15 2005-02-10 Favess Co Ltd Rotation angle detection device and rotation angle detection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04208094A (en) * 1990-11-30 1992-07-29 Toto Ltd Method of braking motor by operation time control
JPH06247324A (en) * 1993-02-26 1994-09-06 Mitsubishi Electric Corp Motor controller
JP2005037254A (en) * 2003-07-15 2005-02-10 Favess Co Ltd Rotation angle detection device and rotation angle detection method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007151380A (en) * 2005-11-07 2007-06-14 Asmo Co Ltd Motor control unit
JP2010239835A (en) * 2009-03-31 2010-10-21 Autonetworks Technologies Ltd Power supply control device and control method thereof
JP2012124982A (en) * 2010-12-06 2012-06-28 Yazaki Corp Protection device for load circuit
US9293907B2 (en) 2010-12-06 2016-03-22 Yazaki Corporation Protective device for load circuit
WO2012090343A1 (en) * 2010-12-28 2012-07-05 パナソニック株式会社 Actuator driving apparatus
JP2012143070A (en) * 2010-12-28 2012-07-26 Panasonic Corp Actuator drive device
JP2014054158A (en) * 2012-09-05 2014-03-20 Samsung Electro-Mechanics Co Ltd Motor driving device and motor controlling method
US9500704B2 (en) 2013-02-25 2016-11-22 Renesas Electronics Corporation Semiconductor device which can detect abnormality
JP2015153480A (en) * 2014-02-11 2015-08-24 株式会社デンソー Monitoring device
JP2019106767A (en) * 2017-12-11 2019-06-27 株式会社デンソー Motor control device and motor
JP7035495B2 (en) 2017-12-11 2022-03-15 株式会社デンソー Motor controller and motor

Similar Documents

Publication Publication Date Title
JP4818847B2 (en) Motor control device
JP5277301B2 (en) Motor control device
JP2007053894A (en) Motor control device
JP4864373B2 (en) Motor control device
JP4691165B2 (en) Wiper device
JP3931181B2 (en) Electric power steering device
JP2009512593A5 (en)
JP4679281B2 (en) Motor control device and method for calculating estimated motor temperature
JP2007014057A (en) Motor controller
JP6789911B2 (en) Open / close body control device
US10253544B2 (en) Control device and control method of opening and closing member for vehicle
JP6296557B2 (en) Auxiliary control device
JP4063094B2 (en) Opening and closing body pinching detection device
JP5290683B2 (en) Power window control device and power window control method
JP2010226797A (en) Motor control device and sunroof drive device
JP2004232280A (en) Pinching detector for opening/closing body
JP2007247286A (en) Opening/closing body driving control device
JP6926967B2 (en) Motor control unit
JP2007327220A (en) Power window device
JP2020051071A (en) Vehicle door closer device
JP2003125596A (en) Driver
JP6760020B2 (en) Wiper device
JP4422588B2 (en) Steering lock device
JP2010226796A (en) Motor control apparatus and sunroof driving device
JP2020120442A (en) Motor control device and motor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110418

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110802