JP2011188678A - Device and method of control for vehicle - Google Patents

Device and method of control for vehicle Download PDF

Info

Publication number
JP2011188678A
JP2011188678A JP2010053203A JP2010053203A JP2011188678A JP 2011188678 A JP2011188678 A JP 2011188678A JP 2010053203 A JP2010053203 A JP 2010053203A JP 2010053203 A JP2010053203 A JP 2010053203A JP 2011188678 A JP2011188678 A JP 2011188678A
Authority
JP
Japan
Prior art keywords
value
unit
vehicle
correction value
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010053203A
Other languages
Japanese (ja)
Other versions
JP5402736B2 (en
Inventor
Toshikazu Ono
敏和 大野
Masayoshi Suhama
将圭 洲濱
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.)
Toyota Motor Corp
Original Assignee
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2010053203A priority Critical patent/JP5402736B2/en
Publication of JP2011188678A publication Critical patent/JP2011188678A/en
Application granted granted Critical
Publication of JP5402736B2 publication Critical patent/JP5402736B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/62Hybrid vehicles
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/64Electric machine technologies in electromobility

Abstract

<P>PROBLEM TO BE SOLVED: To achieve a highly accurate learning of errors in detection results detected by a sensor for detecting a motor current while driving a hybrid vehicle. <P>SOLUTION: An ECU (Electronic Control Unit) is configured to execute a program including: a step (S102) of stopping a feedback control when a torque command is constant (YES in S100); a step (S104) of deciding a tentative correction value; a step (S106) of calculating a deviation Δi(n); a step (S110) of deciding the final correction value if the present deviation Δi(n) is larger than the previous deviation Δi(n-1) (YES in S108); and a step (S112) of starting the feedback control. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、交流モータを搭載した車両の制御に関し、特に車両が走行状態である場合、センサによって検出されたモータ電流を精度高く補正する技術に関する。   The present invention relates to control of a vehicle equipped with an AC motor, and particularly to a technique for accurately correcting a motor current detected by a sensor when the vehicle is in a traveling state.

従来、電気自動車やハイブリッド自動車等の車両には、駆動源あるいは発電機として交流モータが搭載される。交流モータには、高電圧の電池から供給される直流電力がインバータによって3相交流電力に変換されて供給される。   Conventionally, an AC motor is mounted on a vehicle such as an electric vehicle or a hybrid vehicle as a drive source or a generator. The AC motor is supplied with DC power supplied from a high-voltage battery after being converted into three-phase AC power by an inverter.

このような技術は、2007−028702号(特許文献1)の二次電池を迅速かつ容易に昇温可能な二次電池の制御装置に開示される。この二次電池の制御装置は、二次電池から電力の供給を受けて負荷を駆動する駆動回路と、二次電池の電池温度を取得する電池温度取得手段と、取得された電池温度が所定のしきい値温度よりも低いとき、負荷の出力を、目標出力値を中心値とする所定出力範囲内で周期的に振動させるように駆動回路を制御する制御回路とを備える。   Such a technique is disclosed in a secondary battery control device capable of quickly and easily raising the temperature of a secondary battery disclosed in 2007-028702 (Patent Document 1). The control device for the secondary battery includes a drive circuit that drives the load upon receiving power from the secondary battery, a battery temperature acquisition unit that acquires the battery temperature of the secondary battery, and the acquired battery temperature is a predetermined value. And a control circuit that controls the drive circuit to periodically vibrate the output of the load within a predetermined output range centered on the target output value when the temperature is lower than the threshold temperature.

上述した公報に開示された二次電池の制御装置によると、負荷の出力を意図的に振動させて二次電池から負荷への電力の入出力を繰返すことにより、二次電池の充放電電流を強制的に発生させることによって、迅速かつ容易に二次電池を昇温させることができる。   According to the secondary battery control device disclosed in the above-mentioned publication, the charge / discharge current of the secondary battery is reduced by intentionally vibrating the output of the load and repeating input / output of power from the secondary battery to the load. By forcibly generating, the secondary battery can be quickly and easily heated.

特開2007−028702号JP 2007-028702 A

ところで、交流モータに供給される交流電流のセンサを用いた実測値には、センサの検出誤差が含まれる。そのため、交流モータに供給される交流電力を精度高く制御することができないという問題がある。特に、車両が停止状態である場合と比較して車両が走行状態である場合には、交流モータにおいて生じる熱等によってセンサの検出誤差が変化する場合がある。そのため、たとえば、予め定められた値を検出誤差として考慮した場合、交流モータに供給される交流電力を精度高く制御することができない場合がある。このような場合には、交流モータにおいて減磁が生じて、目標トルクを精度高く発生させることができない可能性がある。   By the way, the measurement value using the sensor of the alternating current supplied to the AC motor includes a detection error of the sensor. Therefore, there is a problem that the AC power supplied to the AC motor cannot be controlled with high accuracy. In particular, when the vehicle is in a running state as compared with the case where the vehicle is in a stopped state, the detection error of the sensor may change due to heat generated in the AC motor. Therefore, for example, when a predetermined value is considered as a detection error, the AC power supplied to the AC motor may not be accurately controlled. In such a case, demagnetization occurs in the AC motor, and the target torque may not be generated with high accuracy.

上述した公報に開示された二次電池の制御装置においては、交流モータの交流電流の検出誤差を予め定められた値として考慮しており、やはり、交流モータに供給される交流電力を精度高く制御することができない。   In the secondary battery control device disclosed in the above-mentioned publication, the AC current detection error of the AC motor is considered as a predetermined value, and the AC power supplied to the AC motor is controlled with high accuracy. Can not do it.

本発明は、上述した課題を解決するためになされたものであって、その目的は、車両が走行状態である場合にモータ電流を検出するセンサの検出誤差を精度高く学習する車両用制御装置および車両用制御方法を提供することである。   The present invention has been made in order to solve the above-described problems, and an object of the present invention is to provide a vehicle control device that accurately learns a detection error of a sensor that detects a motor current when the vehicle is running. It is to provide a vehicle control method.

この発明のある局面に係る車両用制御装置は、交流モータが搭載された車両の車両用制御装置である。この車両用制御装置は、交流モータを駆動するための交流電流を検出するための電流検出部と、電流検出部の検出誤差を補正するための補正値を用いて電流検出部により検出された交流電流の実測値を補正するための補正部と、補正部によって補正された実測値を用いたフィードバック制御により、交流モータの出力トルクが目標トルクとなるように交流モータを制御するためのフィードバック制御部と、車両が走行状態であるという第1条件と、フィードバック制御の実行中の第1判定期間において目標トルクの変化量が第1しきい値以下であるという第2条件とを含む学習条件が成立した場合に、車両の走行中にフィードバック制御を停止して補正値を学習するための学習部とを含む。   A vehicle control device according to an aspect of the present invention is a vehicle control device for a vehicle on which an AC motor is mounted. The vehicle control device includes an electric current detection unit for detecting an alternating current for driving an AC motor, and an AC detected by the current detection unit using a correction value for correcting a detection error of the current detection unit. A correction unit for correcting the actual measurement value of the current, and a feedback control unit for controlling the AC motor so that the output torque of the AC motor becomes the target torque by feedback control using the actual measurement value corrected by the correction unit. And a first condition that the vehicle is in a running state and a second condition that the amount of change in the target torque is equal to or less than the first threshold value during the first determination period during execution of feedback control is satisfied A learning unit for learning the correction value by stopping the feedback control while the vehicle is running.

好ましくは、フィードバック制御部は、目標トルクをd軸電流およびq軸電流のうちのいずれか一方の指令値に変換するための第1変換部と、補正部によって補正された実測値をd軸電流およびq軸電流のうちの指令値に対応するいずれか一方の電流値に変換するための第2変換部とを含む。学習部は、学習条件が成立した場合に、補正値の暫定値を決定するための暫定値決定部と、指令値と、暫定値を用いて補正された実測値を第2変換部によって変換された電流値との偏差の絶対値の極大値を算出するための算出部と、暫定値決定部によって複数の暫定値が補正値として決定されて算出部によって複数の極大値が算出された場合に、複数の極大値のうちの最小値に対応する暫定値を最終的な補正値として決定するための最終決定部とを含む。   Preferably, the feedback control unit includes a first conversion unit for converting the target torque into a command value of one of the d-axis current and the q-axis current, and the actual value corrected by the correction unit as the d-axis current. And a second converter for converting into one of the current values corresponding to the command value of the q-axis current. When the learning condition is satisfied, the learning unit converts the provisional value determination unit for determining the provisional value of the correction value, the command value, and the actual value corrected using the provisional value by the second conversion unit. A calculation unit for calculating the maximum value of the absolute value of the deviation from the measured current value, and a plurality of provisional values determined as correction values by the provisional value determination unit and a plurality of maximum values calculated by the calculation unit A final determination unit for determining a provisional value corresponding to the minimum value among the plurality of maximum values as a final correction value.

さらに好ましくは、暫定値決定部は、前回決定された暫定値に予め定められた値を加算または減算することによって今回の暫定値を決定する。最終決定部は、算出部によって今回まで算出された複数の極大値のうち暫定値に変化に対して極小となる値に対応する暫定値を最終的な補正値として決定する。   More preferably, the provisional value determination unit determines the current provisional value by adding or subtracting a predetermined value to the provisional value determined last time. The final determination unit determines, as a final correction value, a provisional value corresponding to a value that is minimal with respect to the change to the provisional value among the plurality of maximum values calculated up to this time by the calculation unit.

さらに好ましくは、車両は、交流モータを用いて発電するための動力源として内燃機関を搭載する。学習部は、学習条件に加えて、第1判定期間においての内燃機関の回転数の変化量が第2しきい値以下であるという条件が成立した場合に、フィードバック制御を停止して補正値を学習する。   More preferably, the vehicle is equipped with an internal combustion engine as a power source for generating electric power using an AC motor. In addition to the learning condition, the learning unit stops the feedback control and sets the correction value when the condition that the amount of change in the rotational speed of the internal combustion engine in the first determination period is equal to or smaller than the second threshold value is satisfied. learn.

さらに好ましくは、学習部は、フィードバック制御中に第2判定期間が経過するまで第2条件が成立しない場合、および、車両が予め定められた距離以上の距離を走行するまで第2条件が成立しない場合のうちの少なくともいずれか一方の場合、フィードバック制御を停止して補正値を学習する。   More preferably, the learning unit does not satisfy the second condition when the second condition is not satisfied until the second determination period elapses during the feedback control, and until the vehicle travels a distance greater than or equal to a predetermined distance. In at least one of the cases, the feedback control is stopped and the correction value is learned.

この発明の他の局面に係る車両用制御方法は、交流モータが搭載された車両の車両用制御方法である。この車両用制御方法は、交流モータを駆動するための交流電流を検出するステップと、交流電流を検出する際の検出誤差を補正するための補正値を用いて交流電流の実測値を補正するステップと、実測値を補正するステップにて補正された実測値を用いたフィードバック制御により、交流モータの出力トルクが目標トルクとなるように交流モータを制御するステップと、車両が走行状態であるという第1条件と、フィードバック制御の実行中の第1判定期間において目標トルクの変化量が第1しきい値以下であるという第2条件とを含む学習条件が成立した場合に、車両の走行中にフィードバック制御を停止して補正値を学習するステップとを含む。   A vehicle control method according to another aspect of the present invention is a vehicle control method for a vehicle equipped with an AC motor. This vehicle control method includes a step of detecting an alternating current for driving an alternating current motor and a step of correcting an actual value of the alternating current using a correction value for correcting a detection error when detecting the alternating current. And a step of controlling the AC motor so that the output torque of the AC motor becomes a target torque by feedback control using the actual value corrected in the step of correcting the actual value, and a step that the vehicle is in a running state. When a learning condition including one condition and a second condition that the amount of change in the target torque is equal to or less than the first threshold value during the first determination period during execution of the feedback control is satisfied, feedback is performed during traveling of the vehicle. And stopping the control to learn the correction value.

本実施の形態に係る車両用制御装置が搭載された車両の概略構成を示す図である。It is a figure which shows schematic structure of the vehicle by which the vehicle control apparatus which concerns on this Embodiment is mounted. 本実施の形態に係る車両用制御装置であるECUを用いてインバータを制御するための機能ブロック図である。It is a functional block diagram for controlling an inverter using ECU which is a control device for vehicles concerning this embodiment. 検出誤差を含まない場合のモータの相電流の変化を示すタイミングチャートである。It is a timing chart which shows the change of the phase current of a motor in case a detection error is not included. 検出誤差を含まない場合の電流指令値Id_comと電流値Id1との変化を示すタイミングチャートである。It is a timing chart which shows change of current command value Id_com and current value Id1 when not including detection error. 検出誤差を含む場合のモータの相電流の変化を示すタイミングチャートである。It is a timing chart which shows the change of the phase current of a motor in case a detection error is included. 検出誤差を含む場合の電流指令値Id_comと電流値Id1との変化を示すタイミングチャートである。It is a timing chart which shows change of current command value Id_com and current value Id1 in case a detection error is included. 学習部の機能ブロック図である。It is a functional block diagram of a learning part. 偏差Δiと補正値との関係を示す図(その1)である。FIG. 6 is a diagram (part 1) illustrating a relationship between a deviation Δi and a correction value. 本実施の形態に係る車両用制御装置であるECUで実行されるプログラムの制御構造を示すフローチャートである。It is a flowchart which shows the control structure of the program performed by ECU which is the vehicle control apparatus which concerns on this Embodiment. 偏差Δiと補正値との関係を示す図(その2)である。FIG. 6 is a diagram (part 2) illustrating a relationship between a deviation Δi and a correction value. トルク指令値が単調増加する場合の偏差Δiの変化を示すタイミングチャートである。It is a timing chart which shows change of deviation deltai when a torque command value increases monotonously.

以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰返さない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.

図1に示すように、車両10は、昇圧コンバータ12と、バッテリ13と、インバータ14,16と、モータジェネレータ(以下、MGと記載する)18,20と、電圧センサ22,36と、電流センサ24,26と、駆動輪28と、エンジン30と、回転センサ32,34と、ECU(Electronic Control Unit)40とを含む。本実施の形態において車両10は、モータジェネレータ20とエンジン30とを駆動源とするハイブリッド自動車を一例として説明するが、モータジェネレータのみを駆動源とする電気自動車であってもよい。   As shown in FIG. 1, a vehicle 10 includes a boost converter 12, a battery 13, inverters 14 and 16, motor generators (hereinafter referred to as MG) 18 and 20, voltage sensors 22 and 36, and a current sensor. 24, 26, drive wheels 28, engine 30, rotation sensors 32, 34, and ECU (Electronic Control Unit) 40. In the present embodiment, vehicle 10 is described as an example of a hybrid vehicle using motor generator 20 and engine 30 as drive sources, but may be an electric vehicle using only motor generator as a drive source.

MG18は、エンジン30に連結される。MG18は、エンジン30の動力によって交流電圧を発生する発電機としての機能を有するとともに、エンジン30を始動する電動機としての機能を有する。   MG 18 is coupled to engine 30. The MG 18 has a function as a generator that generates an AC voltage by the power of the engine 30 and also has a function as an electric motor that starts the engine 30.

MG20は、車両10の駆動輪28を駆動するための電動機としての機能を有するとともに、回生制動によって交流電圧を発生する発電機としての機能を有する。なお、回生制動とは、車両10を運転するドライバーによるフットブレーキ操作があった場合の回生発電を伴って制動する場合と、フットブレーキは操作されないものの、走行中にアクセルペダルがオフされることで回生発電をさせながら車速を減速(または加速を中止)させる場合とを含む。   The MG 20 has a function as an electric motor for driving the drive wheels 28 of the vehicle 10 and also has a function as a generator that generates an AC voltage by regenerative braking. Note that regenerative braking means braking with regenerative power generation when a driver operating the vehicle 10 performs a foot brake operation, and a case where the foot pedal is not operated but the accelerator pedal is turned off during traveling. Including a case where the vehicle speed is decelerated (or acceleration is stopped) while regenerative power generation is performed.

MG18,20の各々は、3相の交流モータであり、U相コイル、V相コイルおよびW相コイルを含む。MG18,20の各々のU相コイル、V相コイルおよびW相コイルの一端は、中点に共通に接続される。   Each of MGs 18 and 20 is a three-phase AC motor, and includes a U-phase coil, a V-phase coil, and a W-phase coil. One end of each of U-phase coil, V-phase coil, and W-phase coil of MGs 18 and 20 is commonly connected to the midpoint.

動力分割機構38は、エンジン30、モータジェネレータ18,20に結合されてこれらの間で動力を分配する。たとえば、サンギヤ、プラネタリキャリヤおよびリングギヤの3つの回転軸を有する遊星歯車を動力分割機構38として用いることができ、この3つの回転軸がエンジン30、モータジェネレータ18,20にそれぞれ接続される。   The power split mechanism 38 is coupled to the engine 30 and the motor generators 18 and 20 and distributes power between them. For example, a planetary gear having three rotating shafts of a sun gear, a planetary carrier, and a ring gear can be used as the power split mechanism 38, and these three rotating shafts are connected to the engine 30 and the motor generators 18 and 20, respectively.

昇圧コンバータ12は、リアクトルL1と、NPNトランジスタQ1,Q2と、ダイオードD1,D2とを含む。   Boost converter 12 includes a reactor L1, NPN transistors Q1, Q2, and diodes D1, D2.

リアクトルL1の一方端はバッテリ13の電源ラインPL1に接続され、他方端はNPNトランジスタQ1とNPNトランジスタQ2との中間点、すなわち、NPNトランジスタQ1のエミッタとNPNトランジスタQ2のコレクタとの間に接続される。   Reactor L1 has one end connected to power supply line PL1 of battery 13, and the other end connected to an intermediate point between NPN transistor Q1 and NPN transistor Q2, that is, between the emitter of NPN transistor Q1 and the collector of NPN transistor Q2. The

NPNトランジスタQ1,Q2は、電源ラインPL2とアースラインSL1との間に直列に接続される。NPNトランジスタQ1のコレクタは電源ラインPL2に接続され、NPNトランジスタQ2のエミッタはアースラインSL1に接続される。また、各NPNトランジスタQ1,Q2のコレクタ−エミッタ間には、エミッタ側からコレクタ側に電流を流すダイオードD1,D2がそれぞれ配されている。   NPN transistors Q1, Q2 are connected in series between power supply line PL2 and ground line SL1. NPN transistor Q1 has a collector connected to power supply line PL2, and NPN transistor Q2 has an emitter connected to ground line SL1. In addition, diodes D1 and D2 that allow current to flow from the emitter side to the collector side are arranged between the collector and emitter of the NPN transistors Q1 and Q2, respectively.

インバータ14,16の各々は、MG18,20のU相コイルの各々に接続されるU相上下アームと、MG18,20のV相コイルの各々に接続されるV相上下アームと、MG18,20のW相コイルの各々に接続されるW相上下アームとを含む。各相の上下アームの構成は、NPNトランジスタQ1,Q2の中間点に接続される接続先がリアクトルL1の一方端であることに代えて各相のコイルの一端であることを除いて、昇圧コンバータ12のNPNトランジスタQ1,Q2と、ダイオードD1,D2と同様の構成であり、その詳細な説明は繰返さない。   Each of inverters 14 and 16 includes a U-phase upper and lower arm connected to each of U-phase coils of MGs 18 and 20, a V-phase upper and lower arm connected to each of V-phase coils of MGs 18 and 20, and MGs 18 and 20. W-phase upper and lower arms connected to each of the W-phase coils. The configuration of the upper and lower arms of each phase is the boost converter except that the connection destination connected to the intermediate point of NPN transistors Q1 and Q2 is one end of each phase coil instead of one end of reactor L1. Twelve NPN transistors Q1, Q2 and diodes D1, D2 have the same configuration, and detailed description thereof will not be repeated.

インバータ14は、MG18のU相コイル、V相コイルおよびW相コイルに交流電力を供給する。インバータ16は、MG20のU相コイル、V相コイルおよびW相コイルに交流電力を供給する。インバータ14,16は、電源ラインPL2とアースラインSL1との間に並列に接続される。   Inverter 14 supplies AC power to the U-phase coil, V-phase coil, and W-phase coil of MG 18. Inverter 16 supplies AC power to the U-phase coil, V-phase coil, and W-phase coil of MG 20. Inverters 14 and 16 are connected in parallel between power supply line PL2 and ground line SL1.

なお、昇圧コンバータ12およびインバータ14,16にそれぞれ含まれるスイッチング素子は、NPNトランジスタに限定されず、IGBT(Insulated Gate Bipolar Transistor)やMOSFET(Metal-Oxide-Semiconductor Field-Effect Transistor)等の他のパワー素子で構成しても良い。   The switching elements included in each of boost converter 12 and inverters 14 and 16 are not limited to NPN transistors, but other powers such as IGBTs (Insulated Gate Bipolar Transistors) and MOSFETs (Metal-Oxide-Semiconductor Field-Effect Transistors). You may comprise with an element.

本実施の形態において、バッテリ13は、ニッケル水素またはリチウムイオンなどの二次電池であるとして説明するが、二次電池に代えて大容量キャパシタ等を用いてもよい。電圧センサ36は、バッテリ13から出力される直流の電圧Vbを検出し、検出した電圧Vbを示す信号をECU40に送信する。   In the present embodiment, the battery 13 is described as a secondary battery such as nickel metal hydride or lithium ion, but a large capacity capacitor or the like may be used instead of the secondary battery. The voltage sensor 36 detects a DC voltage Vb output from the battery 13 and transmits a signal indicating the detected voltage Vb to the ECU 40.

回転センサ32は、MG18の回転角度θ1およびモータ回転数MRN1を検出し、検出した回転角度θ1およびモータ回転数MRN1を示す信号をECU40に送信する。回転センサ34は、MG20の回転角度θ2およびモータ回転数MRN2を検出し、検出した回転角度θ2およびモータ回転数MRN2を示す信号をECU40に送信する。回転センサ32,34として、たとえば、レゾルバが用いられる。   The rotation sensor 32 detects the rotation angle θ1 and the motor rotation number MRN1 of the MG 18, and transmits a signal indicating the detected rotation angle θ1 and the motor rotation number MRN1 to the ECU 40. The rotation sensor 34 detects the rotation angle θ2 of the MG 20 and the motor rotation number MRN2, and transmits a signal indicating the detected rotation angle θ2 and motor rotation number MRN2 to the ECU 40. For example, resolvers are used as the rotation sensors 32 and 34.

昇圧コンバータ12は、バッテリ13から供給された電圧を昇圧してコンデンサC1に供給する。より具体的には、昇圧コンバータ12は、ECU40から信号PWCを受信した場合に、信号PWCによってNPNトランジスタQ2がオンされた期間に応じて電圧を昇圧してコンデンサC1に供給する。   Boost converter 12 boosts the voltage supplied from battery 13 and supplies the boosted voltage to capacitor C1. More specifically, when boosting converter 12 receives signal PWC from ECU 40, boosting converter 12 boosts the voltage according to the period during which NPN transistor Q2 is turned on by signal PWC and supplies the boosted voltage to capacitor C1.

また、昇圧コンバータ12は、ECU40から信号PWCを受信した場合に、コンデンサC1を介してインバータ14から供給された電圧を降圧してバッテリ13へ供給する。   Further, when boosting converter 12 receives signal PWC from ECU 40, boosting converter 12 steps down the voltage supplied from inverter 14 via capacitor C <b> 1 and supplies it to battery 13.

コンデンサC1は、昇圧コンバータ12から出力された直流電圧を平滑化し、平滑化した直流電圧をインバータ14,16へ供給する。   Capacitor C <b> 1 smoothes the DC voltage output from boost converter 12, and supplies the smoothed DC voltage to inverters 14 and 16.

電圧センサ22は、コンデンサC1の両端の電圧VH(すなわち、インバータ14,16の入力電圧に相当する。以下同じ。)を検出し、その検出した電圧VHを示す信号をECU40に送信する。   The voltage sensor 22 detects the voltage VH across the capacitor C1 (that is, the input voltage of the inverters 14 and 16; the same applies hereinafter), and transmits a signal indicating the detected voltage VH to the ECU 40.

インバータ14は、コンデンサC1から直流電圧が供給される場合、ECU40から受信した信号PWMI1に基づいて直流電圧を交流電圧に変換してMG18を駆動する。ECU40は、目標トルクであるトルク指令値TR1に基づいて信号PWMI1を生成する。   When the DC voltage is supplied from capacitor C1, inverter 14 converts the DC voltage into an AC voltage based on signal PWMI1 received from ECU 40, and drives MG18. The ECU 40 generates the signal PWMI1 based on the torque command value TR1 that is the target torque.

また、インバータ14は、エンジン30の動力を用いて発電を行なう場合に、MG18が発電した交流電圧をECU40から受信した信号PWMI1に基づいて直流電圧に変換し、その変換した直流電圧をコンデンサC1および電源ラインPL2およびアースラインSL1を介して昇圧コンバータ12に供給する。   Further, when generating power using the power of engine 30, inverter 14 converts the AC voltage generated by MG 18 into a DC voltage based on signal PWMI1 received from ECU 40, and converts the converted DC voltage to capacitor C1 and The voltage is supplied to boost converter 12 through power supply line PL2 and ground line SL1.

同様に、インバータ16は、コンデンサC1から直流電圧が供給される場合、ECU40から受信した信号PWMI2に基づいて直流電圧を交流電圧に変換してMG20を駆動する。ECU40は、トルク指令値TR2に基づいて信号PWMI2を生成する。   Similarly, when a DC voltage is supplied from capacitor C1, inverter 16 converts dc voltage to an AC voltage based on signal PWMI2 received from ECU 40, and drives MG20. ECU 40 generates signal PWMI2 based on torque command value TR2.

また、インバータ16は、車両10の回生制動時に、MG20が発電した交流電圧をECU40から受信した信号PWMI2に基づいて直流電圧に変換し、その変換した直流電圧をコンデンサC1および電源ラインPL2およびアースラインSL1を介して昇圧コンバータ12に供給する。   Further, inverter 16 converts the AC voltage generated by MG 20 into a DC voltage based on signal PWMI2 received from ECU 40 during regenerative braking of vehicle 10, and converts the converted DC voltage to capacitor C1, power supply line PL2, and ground line. The voltage is supplied to the boost converter 12 via SL1.

電流センサ24は、MG18のV相コイルおよびW相コイルに流れるモータ電流(以下、相電流ともいう)Iv1,Iw1を検出し、その検出したモータ電流Iv1,Iw1を示す信号をECU40に送信する。電流センサ26は、MG20のV相コイルおよびW相コイルに流れるモータ電流Iv2,Iw2を検出し、その検出したモータ電流Iv2,Iw2を示す信号をECU40に送信する。   The current sensor 24 detects motor currents (hereinafter also referred to as phase currents) Iv1 and Iw1 flowing in the V-phase coil and the W-phase coil of the MG 18, and transmits signals indicating the detected motor currents Iv1 and Iw1 to the ECU 40. Current sensor 26 detects motor currents Iv2 and Iw2 flowing through the V-phase coil and W-phase coil of MG 20, and transmits signals indicating the detected motor currents Iv2 and Iw2 to ECU 40.

なお、本実施の形態において、電流センサ24は、MG18のV相コイルおよびW相コイルに流れるモータ電流Iv1,Iw1を検出して、検出されたモータ電流Iv1,Iw1に基づいてMG18のU相コイルに流れるモータ電流Iu1を算出するとして説明するが、特にこれに限定されるものではない。たとえば、電流センサ24は、MG18のU相コイル、V相コイルおよびW相コイルに流れるモータ電流Iu1,Iv1,Iw1を検出するようにしてもよい。   In the present embodiment, current sensor 24 detects motor currents Iv1 and Iw1 flowing in the V-phase coil and W-phase coil of MG18, and U-phase coil of MG18 based on the detected motor currents Iv1 and Iw1. However, the present invention is not limited to this. For example, current sensor 24 may detect motor currents Iu1, Iv1, and Iw1 flowing through the U-phase coil, V-phase coil, and W-phase coil of MG18.

また、同様に、本実施の形態において、電流センサ26は、MG20のV相コイルおよびW相コイルに流れるモータ電流Iv2,Iw2を検出して、検出されたモータ電流Iv2,Iw2に基づいてMG20のU相コイルに流れるモータ電流Iu2を算出するとして説明するが、特にこれに限定されるものではない。たとえば、電流センサ26は、MG20のU相コイル、V相コイルおよびW相コイルに流れるモータ電流Iu2,Iv2,Iw2を検出するようにしてもよい。   Similarly, in the present embodiment, current sensor 26 detects motor currents Iv2, Iw2 flowing through the V-phase coil and W-phase coil of MG 20, and based on the detected motor currents Iv2, Iw2, Although the description will be made assuming that the motor current Iu2 flowing through the U-phase coil is calculated, the present invention is not particularly limited thereto. For example, current sensor 26 may detect motor currents Iu2, Iv2, and Iw2 flowing through the U-phase coil, V-phase coil, and W-phase coil of MG20.

ECU40は、運転者のアクセルペダルの操作量に基づくトルク指令値TR1,TR2と、回転センサ32,34からのモータ回転数MRN1,MRN2と、電圧センサ22,36からの電圧VH,Vbと、電流センサ24,26からのモータ電流Iv1,Iw1,Iv2,Iw2とを受信する。   ECU 40 includes torque command values TR1 and TR2 based on the operation amount of the accelerator pedal of the driver, motor rotation speeds MRN1 and MRN2 from rotation sensors 32 and 34, voltages VH and Vb from voltage sensors 22 and 36, and current. Motor currents Iv1, Iw1, Iv2, and Iw2 from sensors 24 and 26 are received.

ECU40は、電圧VH、トルク指令値TR1およびモータ電流Iv1、Iw1に基づいて、インバータ14がMG18を駆動するときにインバータ14の複数のNPNトランジスタに対してスイッチング制御を実行するための信号PWMI1を生成し、生成した信号PWMI1をインバータ14に送信する。   Based on voltage VH, torque command value TR1 and motor currents Iv1, Iw1, ECU 40 generates a signal PWMI1 for performing switching control on a plurality of NPN transistors of inverter 14 when inverter 14 drives MG18. Then, the generated signal PWMI1 is transmitted to the inverter 14.

ECU40は、電圧VH、トルク指令値TR2およびモータ電流Iv2,Iw2に基づいて、インバータ16がMG20を駆動するときにインバータ16の複数のNPNトランジスタに対してスイッチング制御を実行するための信号PWMI2を生成し、生成した信号PWMI2をインバータ16に送信する。   Based on voltage VH, torque command value TR2 and motor currents Iv2 and Iw2, ECU 40 generates signal PWMI2 for executing switching control on a plurality of NPN transistors of inverter 16 when inverter 16 drives MG20. Then, the generated signal PWMI2 is transmitted to the inverter 16.

さらに、ECU40は、インバータ14(またはインバータ16)がMG18(またはMG20)を駆動するとき、バッテリ13の電圧Vb、電圧VH、トルク指令値TR1(またはトルク指令値TR2)およびモータ回転数MRN1(またはモータ回転数MRN2)に基づいて、昇圧コンバータ12の複数のNPNトランジスタQ1、Q2に対してスイッチング制御を実行するための信号PWCを生成し、生成した信号PWCを昇圧コンバータ12に送信する。   Further, when the inverter 14 (or the inverter 16) drives the MG 18 (or MG 20), the ECU 40 detects the voltage Vb, the voltage VH, the torque command value TR1 (or the torque command value TR2), and the motor rotational speed MRN1 (or the motor 13). Based on the motor rotational speed MRN2), a signal PWC for executing switching control for the plurality of NPN transistors Q1 and Q2 of the boost converter 12 is generated, and the generated signal PWC is transmitted to the boost converter 12.

図2に、ECU40を用いてインバータ14を制御するための機能ブロック図を示す。なお、ECU40を用いたインバータ16の制御は、ECU40を用いたインバータ14の制御と実質的に同じであるため、その詳細な説明は繰返さない。   FIG. 2 shows a functional block diagram for controlling the inverter 14 using the ECU 40. Since control of inverter 16 using ECU 40 is substantially the same as control of inverter 14 using ECU 40, detailed description thereof will not be repeated.

ECU40は、電流指令値変換部410と、減算器412,414と、PI制御部416,418と、2相/3相変換部420と、PWM生成部422と、センサ値補正部430と、3相/2相変換部432と、学習部434とを含む。   The ECU 40 includes a current command value conversion unit 410, subtracters 412 and 414, PI control units 416 and 418, a two-phase / three-phase conversion unit 420, a PWM generation unit 422, a sensor value correction unit 430, 3 A phase / two-phase conversion unit 432 and a learning unit 434 are included.

電流指令値変換部410には、目標トルクであるトルク指令値TR1と、MG18のモータ回転数MRN1と、電圧VHとが入力される。電流指令値変換部410は、トルク指令値TR1とモータ回転数MRN1と電圧VHとに基づいてトルク指令値TR1によって指定されたトルクを出力するための2相(d軸およびq軸)の電流指令値Id_com,Iq_comを生成し、その生成した電流指令値Id_comを減算器412へ出力し、生成した電流指令値Iq_comを減算器414へ出力する。   Torque command value TR1, which is a target torque, motor rotation number MRN1 of MG 18, and voltage VH are input to current command value conversion unit 410. Current command value conversion unit 410 outputs a two-phase (d-axis and q-axis) current command for outputting the torque specified by torque command value TR1 based on torque command value TR1, motor rotational speed MRN1, and voltage VH. The values Id_com and Iq_com are generated, the generated current command value Id_com is output to the subtractor 412, and the generated current command value Iq_com is output to the subtractor 414.

減算器412には、電流指令値変換部410から電流指令値Id_comが入力され、3相/2相変換部432から電流値Id1が入力される。減算器412は、電流指令値Id_comと電流値Id1との偏差(=Id_com−Id1)を算出し、その算出した偏差をPI制御部416に出力する。   The subtractor 412 receives the current command value Id_com from the current command value conversion unit 410 and the current value Id1 from the three-phase / two-phase conversion unit 432. The subtractor 412 calculates a deviation (= Id_com−Id1) between the current command value Id_com and the current value Id1, and outputs the calculated deviation to the PI control unit 416.

減算器414には、電流指令値変換部410から電流指令値Iq_comが入力され、3相/2相変換部432から電流値Iq1が入力される。減算器414は、電流指令値Iq_comと電流値Iq1との偏差(=Iq_com−Iq1)を算出し、その算出した偏差をPI制御部418に出力する。   The current command value Iq_com is input from the current command value conversion unit 410 and the current value Iq1 is input from the three-phase / two-phase conversion unit 432 to the subtractor 414. The subtractor 414 calculates a deviation (= Iq_com−Iq1) between the current command value Iq_com and the current value Iq1, and outputs the calculated deviation to the PI control unit 418.

PI制御部416,418の各々は、減算器412,414の各々から入力された偏差Id_com−Id1,Iq_com−Iq1に対してPIゲインを用いてモータ電流調整用の電圧操作量Vd1,Vq1を算出し、その算出した電圧操作量Vd1,Vq1を2相/3相変換部420に出力する。   Each of PI control units 416 and 418 calculates voltage operation amounts Vd1 and Vq1 for adjusting motor current using PI gain with respect to deviations Id_com−Id1 and Iq_com−Iq1 input from subtracters 412 and 414, respectively. Then, the calculated voltage operation amounts Vd1 and Vq1 are output to the two-phase / three-phase converter 420.

2相/3相変換部420は、PI制御部416,418から入力された電圧操作量Vd1,Vq1を回転センサ32から受信した回転角度θ1と変換式とを用いて2相/3相変換してMG18に印加する電圧操作量Vu1,Vv1,Vw1を算出する。2相/3相変換部420は、算出された電圧操作量Vu1,Vv1,Vw1をPWM生成部422に出力する。   The two-phase / three-phase conversion unit 420 performs two-phase / three-phase conversion on the voltage operation amounts Vd1 and Vq1 input from the PI control units 416 and 418 using the rotation angle θ1 received from the rotation sensor 32 and the conversion formula. Then, the voltage operation amounts Vu1, Vv1, Vw1 applied to the MG 18 are calculated. The two-phase / three-phase conversion unit 420 outputs the calculated voltage operation amounts Vu1, Vv1, and Vw1 to the PWM generation unit 422.

PWM生成部422は、電圧操作量Vu1,Vv1,Vw1と、電圧VHとに基づいて信号PWMI1を生成し、その生成した信号PWMI1をインバータ14に出力する。   The PWM generation unit 422 generates a signal PWMI1 based on the voltage manipulated variables Vu1, Vv1, Vw1, and the voltage VH, and outputs the generated signal PWMI1 to the inverter 14.

インバータ14においては、PWM生成部422から入力された信号PWMI1に応じて、スイッチング制御が実行される。これにより、MG18のU相コイル、V相コイルおよびW相コイルには、モータ電流Iu1,Iv1,Iw1がそれぞれ流れる。   In the inverter 14, switching control is executed in accordance with the signal PWMI 1 input from the PWM generation unit 422. Thereby, motor currents Iu1, Iv1, and Iw1 flow through the U-phase coil, V-phase coil, and W-phase coil of MG18, respectively.

センサ値補正部430には、電流センサ24からモータ電流Iv1,Iw1を示す信号が入力される。センサ値補正部430は、電流センサ24のセンサ値であるモータ電流Iv1,Iw1に検出誤差を補正するための補正値(以下、オフセット補正値ともいう)ΔIv1,ΔIw1を加算する。   Signals indicating motor currents Iv1 and Iw1 are input from the current sensor 24 to the sensor value correction unit 430. The sensor value correction unit 430 adds correction values (hereinafter also referred to as offset correction values) ΔIv1 and ΔIw1 for correcting detection errors to the motor currents Iv1 and Iw1 that are sensor values of the current sensor 24.

センサ値補正部430は、オフセット補正値ΔIv1,ΔIw1を加算したモータ電流Iv1+ΔIv1,Iw1+ΔIw1を3相/2相変換部432に出力する。   Sensor value correction unit 430 outputs motor currents Iv1 + ΔIv1, Iw1 + ΔIw1 obtained by adding offset correction values ΔIv1, ΔIw1 to three-phase / two-phase conversion unit 432.

3相/2相変換部432には、センサ値補正部430からモータ電流Iv1+ΔIv1,Iw1+ΔIw1が入力される。3相/2相変換部432は、入力されたモータ電流Iv1+ΔIv1,Iw1+ΔIw1に基づいてモータ電流Iu1(=−(Iv1+ΔIv1)−(Iw1+ΔIw1))を算出する。   The motor currents Iv1 + ΔIv1, Iw1 + ΔIw1 are input from the sensor value correction unit 430 to the three-phase / two-phase conversion unit 432. The three-phase / two-phase converter 432 calculates a motor current Iu1 (= − (Iv1 + ΔIv1) − (Iw1 + ΔIw1)) based on the input motor currents Iv1 + ΔIv1, Iw1 + ΔIw1.

3相/2相変換部432は、MG18のU相コイル、V相コイルおよびW相コイルの各相に流れるモータ電流Iu1,Iv1+ΔIv1,Iw1+ΔIw1を回転センサ32から受信した回転角度θ1と変換式とを用いて3相/2相変換して、d軸およびq軸に流れる電流値Id1,Iq1を算出する。   The three-phase / two-phase converter 432 receives the motor currents Iu1, Iv1 + ΔIv1, Iw1 + ΔIw1 flowing in the U-phase coil, V-phase coil, and W-phase coil of the MG 18 from the rotation sensor 32 and the conversion equation. Using the three-phase / two-phase conversion, current values Id1 and Iq1 flowing in the d-axis and the q-axis are calculated.

3相/2相変換部432は、算出された電流値Id1を減算器412に出力し、算出された電流値Iq1を減算器414に出力する。なお、変換式を用いた3相/2相変換および2相/3相変換については周知であるため、その詳細な説明は行なわない。   The three-phase / two-phase conversion unit 432 outputs the calculated current value Id1 to the subtractor 412 and outputs the calculated current value Iq1 to the subtractor 414. Since three-phase / two-phase conversion and two-phase / three-phase conversion using conversion equations are well known, detailed description thereof will not be given.

学習部434は、電流センサ24のセンサ値の検出誤差を補正するための補正値を学習してセンサ値補正部430に出力する。   The learning unit 434 learns a correction value for correcting the detection error of the sensor value of the current sensor 24 and outputs the correction value to the sensor value correction unit 430.

このようにして、電流値Id1,Iq1と電流指令値Id_com,Iq_comとがそれぞれ一致するようにフィードバック制御が行なわれる。   In this way, feedback control is performed so that the current values Id1, Iq1 and the current command values Id_com, Iq_com coincide with each other.

このような構成を有する車両10において、電流センサ24,26を用いたMG18,20に流れる交流電流の実測値Iv1,Iw1には、電流センサ24,26の検出誤差が含まれる。そのため、MG18,20に供給される交流電力を精度高く制御することができない場合がある。   In the vehicle 10 having such a configuration, the measured values Iv1 and Iw1 of the alternating currents flowing through the MGs 18 and 20 using the current sensors 24 and 26 include detection errors of the current sensors 24 and 26. Therefore, the AC power supplied to the MGs 18 and 20 may not be controlled with high accuracy.

特に、車両10が停止状態である場合と比較して車両10が走行状態である場合には、MG18,20において生じる熱等によってセンサの検出誤差が変化する場合がある。そのため、車両10が停止状態である場合のセンサの検出誤差と、車両10が走行状態である場合のセンサの検出誤差とは、異なる場合がある。したがって、たとえば、車両10が停止状態である場合のセンサの検出誤差を考慮してセンサの実測値を補正した場合、MG18,20に供給される交流電力を精度高く制御することができない可能性がある。その結果、MG18,20のトルク変動によって減磁が発生する場合がある。   In particular, when the vehicle 10 is in a running state as compared with the case where the vehicle 10 is in a stopped state, the detection error of the sensor may change due to heat generated in the MGs 18 and 20. Therefore, the detection error of the sensor when the vehicle 10 is in a stopped state may be different from the detection error of the sensor when the vehicle 10 is in a traveling state. Therefore, for example, when the measured value of the sensor is corrected in consideration of the detection error of the sensor when the vehicle 10 is stopped, the AC power supplied to the MGs 18 and 20 may not be controlled with high accuracy. is there. As a result, demagnetization may occur due to torque fluctuations of the MGs 18 and 20.

たとえば、図3に、検出誤差を含まない場合の電流センサ24の実測値の時間変化を示す。なお、図3の縦軸は、V相コイルの相電流を示し、図3の横軸は、時間を示す。図3の実線に示すように、検出誤差を含まない場合、電流センサ24は、振動中心がオフセットすることなく、V相コイルの相電流を検出する。   For example, FIG. 3 shows the time change of the actual measurement value of the current sensor 24 when no detection error is included. 3 represents the phase current of the V-phase coil, and the horizontal axis in FIG. 3 represents time. As shown by the solid line in FIG. 3, when the detection error is not included, the current sensor 24 detects the phase current of the V-phase coil without offsetting the vibration center.

そのため、図4の実線と破線とに示すように、電流指令値Id_com(図4の破線)が一定である場合には、電流指令値Id_comと電流センサ24の実測値を3相/2相変換した電流値Id1(図4の実線)とは実質的に一致する。なお、図4の縦軸は、d軸に流れる電流値を示し、図4の横軸は、時間を示す。   Therefore, as shown by the solid line and the broken line in FIG. 4, when the current command value Id_com (broken line in FIG. 4) is constant, the current command value Id_com and the measured value of the current sensor 24 are converted into a three-phase / two-phase conversion. The current value Id1 (solid line in FIG. 4) substantially matches. The vertical axis in FIG. 4 indicates the current value flowing through the d axis, and the horizontal axis in FIG. 4 indicates time.

一方、図5に、検出誤差を含む場合の電流センサ24の実測値の時間変化を示す。図5の縦軸は、V相コイルの相電流を示し、図5の横軸は、時間を示す。図5の実線に示すように、検出誤差を含む場合、電流センサ24は、振動中心が正方向にオフセットした状態でV相コイルの相電流を検出する。   On the other hand, FIG. 5 shows the time change of the actual measurement value of the current sensor 24 when the detection error is included. The vertical axis in FIG. 5 indicates the phase current of the V-phase coil, and the horizontal axis in FIG. 5 indicates time. As shown by the solid line in FIG. 5, when a detection error is included, the current sensor 24 detects the phase current of the V-phase coil in a state where the vibration center is offset in the positive direction.

そのため、図6の実線と破線とに示すように、電流指令値Id_com(図6の破線)が一定である場合でも、電流指令値Id_comと電流センサ24の実測値を3相/2相変換した電流値Id1(図6の実線)とは一致せず、電流値Id1は、ゼロを振動中心として振動することとなる。その結果、MG18,20に供給される交流電力を精度高く制御することができない場合がある。   Therefore, as indicated by the solid line and the broken line in FIG. 6, even when the current command value Id_com (broken line in FIG. 6) is constant, the current command value Id_com and the measured value of the current sensor 24 are subjected to three-phase / two-phase conversion. It does not coincide with the current value Id1 (solid line in FIG. 6), and the current value Id1 vibrates with zero as the vibration center. As a result, the AC power supplied to the MGs 18 and 20 may not be accurately controlled.

そこで、本実施の形態においては、ECU40が、車両10が走行状態であるという第1条件と、フィードバック制御の実行中の第1判定期間において目標トルクの変化量が第1しきい値以下である第2条件とを含む学習条件が成立した場合に、車両10の走行中にフィードバック制御を停止して検出誤差を学習する点に特徴を有する。   Therefore, in the present embodiment, the ECU 40 has the first condition that the vehicle 10 is in the traveling state and the amount of change in the target torque is equal to or less than the first threshold value during the first determination period during execution of the feedback control. When the learning condition including the second condition is satisfied, the feedback control is stopped while the vehicle 10 is traveling and the detection error is learned.

具体的には、ECU40は、学習条件が成立した場合、車両10の走行中にフィードバック制御を停止して、検出誤差を補正するための補正値の暫定値(以下、暫定補正値という)を決定して、電流指令値と、暫定補正値を用いて補正された電流値との偏差の絶対値の極大値を算出する。ECU40は、複数の暫定補正値が決定されて複数の極大値が算出された場合に、複数の極大値のうちの最小値に対応する暫定補正値を最終的な補正値(以下、最終補正値という)Cf1として決定する。ECU40は、決定された最終補正値Cf1を用いて電流センサ24によって検出された実測値Iv1,Iw1を補正する。   Specifically, when the learning condition is satisfied, the ECU 40 stops the feedback control while the vehicle 10 is traveling, and determines a provisional value of a correction value (hereinafter referred to as a provisional correction value) for correcting the detection error. Then, the maximum value of the absolute value of the deviation between the current command value and the current value corrected using the provisional correction value is calculated. When a plurality of provisional correction values are determined and a plurality of maximum values are calculated, the ECU 40 determines a provisional correction value corresponding to the minimum value among the plurality of maximum values as a final correction value (hereinafter referred to as a final correction value). It is determined as Cf1. The ECU 40 corrects the actual measurement values Iv1 and Iw1 detected by the current sensor 24 using the determined final correction value Cf1.

なお、ECU40は、同様に、電流センサ26の検出誤差に対する最終補正値Cf2を決定し、検定された最終補正値Cf2を用いて電流センサ26によって検出された実測値Iv2,Iw2を補正する。そのため、その詳細な説明は繰返さない。   Similarly, the ECU 40 determines a final correction value Cf2 for the detection error of the current sensor 26, and corrects the actual measurement values Iv2 and Iw2 detected by the current sensor 26 using the verified final correction value Cf2. Therefore, detailed description thereof will not be repeated.

さらに、本実施の形態においては、ECU40は、前回決定された暫定補正値C(n−1)に予め定められた値を加算または減算することによって今回の暫定補正値C(n)を決定する。ECU40は、今回までに算出された複数の極大値のうち暫定補正値の変化に対して極小となる値に対応する暫定補正値を最終補正値Cf1として決定する。   Further, in the present embodiment, the ECU 40 determines the current temporary correction value C (n) by adding or subtracting a predetermined value to the previously determined temporary correction value C (n−1). . The ECU 40 determines, as the final correction value Cf1, a temporary correction value corresponding to a value that is minimal with respect to a change in the temporary correction value among a plurality of maximum values calculated so far.

図7に、学習部434の機能ブロック図を示す。学習部434は、トルク指令判定部102と、フィードバック制御停止部104と、暫定補正値決定部106と、偏差算出部108と、最終補正値決定部110とを含む。   FIG. 7 shows a functional block diagram of the learning unit 434. The learning unit 434 includes a torque command determination unit 102, a feedback control stop unit 104, a provisional correction value determination unit 106, a deviation calculation unit 108, and a final correction value determination unit 110.

なお、本実施の形態においては、インバータ14の制御に対して本発明を適用した場合について説明するがインバータ16の制御に対して本発明を適用した場合も同様である。そのため、その詳細な説明は繰返さない。さらに、本実施の形態においては、d軸の電流指令値Id_comと、d軸の電流値Id1とを用いて検出誤差を学習して最終補正値Cf1を決定してもよいし、q軸の電流指令値Iq_comと、q軸の電流値Iq1とを用いて検出誤差を学習して最終補正値Cf1を決定するようにしてもよい。以下の説明においては、d軸の電流指令値Id_comと、d軸の電流値Id1とを用いた場合を一例として説明する。   In the present embodiment, the case where the present invention is applied to the control of the inverter 14 will be described, but the same applies to the case where the present invention is applied to the control of the inverter 16. Therefore, detailed description thereof will not be repeated. Further, in the present embodiment, the final correction value Cf1 may be determined by learning the detection error using the d-axis current command value Id_com and the d-axis current value Id1, or the q-axis current. The final correction value Cf1 may be determined by learning the detection error using the command value Iq_com and the q-axis current value Iq1. In the following description, a case where the d-axis current command value Id_com and the d-axis current value Id1 are used will be described as an example.

トルク指令判定部102は、トルク指令値(TR1)が実質的に一定の状態であるか否かを判定する。具体的には、トルク指令判定部102は、車両10が走行状態であるという第1条件と、フィードバック制御中の第1判定期間のおいてトルク指令値(TR1)の変化量がしきい値以下であるという第2条件とを含む学習条件が成立するか否かを判定する。なお、しきい値は、予め定められた値であってもよいし、車両10の走行状態に応じて決定される値であってもよい。トルク指令判定部102は、学習条件が成立すると判定した場合に、実質的にトルク指令値が一定の状態であると判定する。   The torque command determination unit 102 determines whether or not the torque command value (TR1) is in a substantially constant state. Specifically, the torque command determination unit 102 determines that the amount of change in the torque command value (TR1) is equal to or less than a threshold value in the first condition that the vehicle 10 is in a running state and the first determination period during feedback control. It is determined whether or not a learning condition including the second condition is satisfied. The threshold value may be a predetermined value or may be a value determined according to the traveling state of the vehicle 10. When it is determined that the learning condition is satisfied, the torque command determination unit 102 determines that the torque command value is substantially constant.

なお、トルク指令判定部102は、トルク指令値が実質的に一定の状態であると判定された場合に、トルク指令判定フラグをオンするようにしてもよい。また、トルク指令判定部102は、Id_comが実質的に一定の状態である場合(Id_comがしきい値以下である場合)に第2条件が成立したと判定するようにしてもよい。さらに、トルク指令判定部102は、たとえば、駆動輪28の回転速度あるいはMG20の回転速度等がゼロより大きい場合、あるいは、予め定められた速度よりも大きい場合に、第1条件が成立したと判定すればよい。   The torque command determination unit 102 may turn on the torque command determination flag when it is determined that the torque command value is in a substantially constant state. The torque command determination unit 102 may determine that the second condition is satisfied when Id_com is in a substantially constant state (when Id_com is equal to or less than a threshold value). Further, torque command determination unit 102 determines that the first condition is satisfied, for example, when the rotation speed of drive wheel 28 or the rotation speed of MG 20 is greater than zero or greater than a predetermined speed. do it.

フィードバック制御停止部104は、トルク指令判定部102によってトルク指令値が実質的に一定の状態であると判定された場合に、フィードバック制御を停止する。フィードバック制御停止部104は、図2に示した減算器412において算出されるId_comとId1との偏差を強制的にゼロとするようにしてもよいし、あるいは、PI制御部416の入力値を強制的にゼロとしてもよい。   The feedback control stop unit 104 stops the feedback control when the torque command determination unit 102 determines that the torque command value is substantially constant. The feedback control stop unit 104 may forcibly make the deviation between Id_com and Id1 calculated by the subtractor 412 shown in FIG. 2 zero, or forcibly input the input value of the PI control unit 416. It may be zero.

フィードバック制御停止部104は、たとえば、電流指令値変換部410から減算器412に入力される電流指令値Id_comをId1と同一の値とすることによって、Id_comとId1との偏差を強制的にゼロとするようにしてもよい。   For example, the feedback control stop unit 104 forces the deviation between Id_com and Id1 to zero by setting the current command value Id_com input from the current command value conversion unit 410 to the subtractor 412 to the same value as Id1. You may make it do.

本実施の形態においては、フィードバック制御停止部104は、トルク指令判定部102によってトルク指令値が一定の状態であると判定された時点から後述する最終補正値Cf1が決定されるまでフィードバック制御を停止するとして説明するが、特にフィードバック制御を停止する期間の終わりとしては最終補正値Cf1が決定されるまでに限定されるものではない。たとえば、フィードバック制御停止部104は、トルク指令判定部102によってトルク指令値が一定の状態であると判定された時点から予め定められた時間が経過するまでフィードバック制御を停止するようにしてもよいし、トルク指令判定部102によってトルク指令値が一定の状態であると判定された時点からトルク指令判定部102によってトルク指令値が一定の状態でないと判定されるまでフィードバック制御を停止するようにしてもよい。   In the present embodiment, the feedback control stop unit 104 stops the feedback control from when the torque command determination unit 102 determines that the torque command value is in a constant state until a final correction value Cf1 described later is determined. However, the end of the period for stopping the feedback control is not limited to the time until the final correction value Cf1 is determined. For example, the feedback control stop unit 104 may stop the feedback control until a predetermined time elapses after the torque command determination unit 102 determines that the torque command value is in a constant state. The feedback control may be stopped from when the torque command determination unit 102 determines that the torque command value is in a constant state until the torque command determination unit 102 determines that the torque command value is not in a constant state. Good.

なお、フィードバック制御停止部104は、たとえば、トルク指令判定フラグがオンである場合に、フィードバック制御を停止するようにしてもよい。   Note that the feedback control stop unit 104 may stop the feedback control when the torque command determination flag is on, for example.

暫定補正値決定部106は、フィードバック制御停止部104によってフィードバック制御が停止された場合に暫定補正値を決定する。暫定補正値決定部106は、暫定補正値の決定がフィードバック制御停止後の初回である場合には、予め定められた初期値C(0)を暫定補正値として決定する。暫定補正値決定部106は、後述する最終補正値決定部110において最終補正値Cf1が決定されない場合に、再度、暫定補正値を決定する。暫定補正値決定部106は、たとえば、暫定補正値の決定がフィードバック制御停止後の初回でない場合には、前回決定された暫定補正値C(n−1)に予め定められた値aを加算または前回決定された暫定補正値C(n−1)から予め定められた値aを減算した値を今回の暫定補正値C(n)として決定する。   The provisional correction value determination unit 106 determines a provisional correction value when the feedback control is stopped by the feedback control stop unit 104. If the provisional correction value is determined for the first time after the feedback control is stopped, the provisional correction value determination unit 106 determines a predetermined initial value C (0) as the provisional correction value. The temporary correction value determination unit 106 determines the temporary correction value again when the final correction value Cf1 is not determined by the final correction value determination unit 110 described later. For example, when the provisional correction value is not determined for the first time after the feedback control is stopped, the provisional correction value determination unit 106 adds a predetermined value a to the provisional correction value C (n−1) determined last time or A value obtained by subtracting a predetermined value a from the previously determined provisional correction value C (n−1) is determined as the current provisional correction value C (n).

本実施の形態において、暫定補正値決定部106は、フィードバック制御停止後の初回に、たとえば、暫定補正値C(0)(=0)を決定する。暫定補正値決定部106は、後述する最終補正値決定部110において最終補正値Cf1が決定されない場合に、前回の暫定補正値C(0)に予め定められた値aを加算して今回の暫定補正値C(1)(=a)を決定する。以降、暫定補正値決定部106は、前回の暫定補正値C(n−1)に対応する偏差Δi(n−1)を算出された場合であって、最終補正値Cf1が決定されない場合に、前回の暫定補正値C(n−1)に予め定められた値aを加算して今回の暫定補正値C(n)(=C(n−1)+a)を決定する。   In the present embodiment, provisional correction value determination unit 106 determines provisional correction value C (0) (= 0), for example, for the first time after feedback control is stopped. When the final correction value Cf1 is not determined by the final correction value determination unit 110 (to be described later), the temporary correction value determination unit 106 adds a predetermined value a to the previous temporary correction value C (0) and adds the current temporary value. The correction value C (1) (= a) is determined. Thereafter, the provisional correction value determination unit 106 calculates the deviation Δi (n−1) corresponding to the previous provisional correction value C (n−1), and the final correction value Cf1 is not determined. The current provisional correction value C (n) (= C (n-1) + a) is determined by adding a predetermined value a to the previous provisional correction value C (n-1).

偏差算出部108は、電流指令値Id_comと、決定された暫定補正値を用いて補正された実測値を3相2相変換部432によって変換された電流値Id1との偏差の絶対値の極大値(以下、偏差Δi(n)という)を算出する。偏差算出部108は、少なくとも半周期の電流指令値Id_comと電流値Id1との偏差Δi(n)を算出する。   The deviation calculation unit 108 is the maximum value of the absolute value of the deviation between the current command value Id_com and the current value Id1 converted by the three-phase to two-phase conversion unit 432 from the measured value corrected using the determined provisional correction value. (Hereinafter referred to as deviation Δi (n)) is calculated. The deviation calculating unit 108 calculates a deviation Δi (n) between the current command value Id_com and the current value Id1 of at least a half cycle.

なお、偏差算出部108は、たとえば、予め定められた周期に亘って電流指令値Id_comと電流値Id1との偏差の絶対値の極大値を複数算出し、算出された複数の極大値の平均値を偏差Δi(n)としてもよい。   The deviation calculating unit 108 calculates, for example, a plurality of maximum values of absolute values of deviation between the current command value Id_com and the current value Id1 over a predetermined period, and the average value of the calculated plurality of maximum values. May be the deviation Δi (n).

最終補正値決定部110は、偏差算出部108において算出された複数の偏差Δi(0)〜偏差Δi(n)に基づいて最終補正値Cf1を決定する。最終補正値決定部110は、偏差算出部108によって算出された複数の偏差Δi(0)〜偏差Δi(n)のうちの最小偏差Δi_minに対応する暫定補正値Cminを最終補正値Cf1として決定する。最終補正値決定部は、決定した最終補正値Cf1を図2に示したセンサ値補正部430に出力する。   The final correction value determination unit 110 determines the final correction value Cf1 based on the plurality of deviations Δi (0) to deviation Δi (n) calculated by the deviation calculation unit 108. The final correction value determination unit 110 determines the temporary correction value Cmin corresponding to the minimum deviation Δi_min among the plurality of deviations Δi (0) to Δi (n) calculated by the deviation calculation unit 108 as the final correction value Cf1. . The final correction value determination unit outputs the determined final correction value Cf1 to the sensor value correction unit 430 illustrated in FIG.

図8に、補正値と偏差Δiとの関係を示す。図8に示すように、補正値の増加に対して偏差Δiは、Cminにおいて極小となる値Δi_minを有するように変化する。したがって、最終補正値決定部110は、最小偏差Δi_minに対応する暫定補正値Cminを最終補正値Cf1として決定する。   FIG. 8 shows the relationship between the correction value and the deviation Δi. As shown in FIG. 8, the deviation Δi changes so as to have a minimum value Δi_min at Cmin as the correction value increases. Therefore, the final correction value determination unit 110 determines the temporary correction value Cmin corresponding to the minimum deviation Δi_min as the final correction value Cf1.

本実施の形態において、暫定補正値決定部106によって、ゼロを初期値として、予め定められた値aを加算して暫定補正値が決定され、偏差算出部108によって偏差Δiが算出される計算が最終補正値が決定されるまで繰返される。このとき、図8に示すように、偏差Δiは、暫定補正値の増加に減少していき、極小となる暫定補正値C(n−1)(Cmin)よりも大きい暫定補正値C(n)が設定された場合に、増加に転じる。   In the present embodiment, the provisional correction value determination unit 106 calculates zero deviation as an initial value by adding a predetermined value a to determine a provisional correction value, and the deviation calculation unit 108 calculates the deviation Δi. Repeat until the final correction value is determined. At this time, as shown in FIG. 8, the deviation Δi decreases as the provisional correction value increases, and the provisional correction value C (n) larger than the provisional correction value C (n−1) (Cmin) that becomes the minimum. When is set, it starts to increase.

したがって、最終補正値決定部110は、今回の暫定補正値C(n)に対応する偏差Δi(n)が前回の暫定補正値C(n−1)に対応する偏差Δi(n−1)に対して増加した場合に、前回の暫定補正値に対応する偏差Δi(n−1)が最小偏差Δi_minとして算出される。暫定補正値決定部106は、算出された最小偏差Δi_minに対応する暫定補正値Cminを最終補正値Cf1として決定する。   Therefore, the final correction value determination unit 110 changes the deviation Δi (n) corresponding to the current temporary correction value C (n) to the deviation Δi (n−1) corresponding to the previous temporary correction value C (n−1). On the other hand, when it increases, the deviation Δi (n−1) corresponding to the previous provisional correction value is calculated as the minimum deviation Δi_min. The temporary correction value determination unit 106 determines the temporary correction value Cmin corresponding to the calculated minimum deviation Δi_min as the final correction value Cf1.

最終補正値決定部110は、今回の暫定補正値C(n)に対応する偏差Δi(n)が前回の暫定補正値C(n−1)に対して減少した場合に、最終補正値を決定しない。   The final correction value determination unit 110 determines the final correction value when the deviation Δi (n) corresponding to the current temporary correction value C (n) is reduced with respect to the previous temporary correction value C (n−1). do not do.

本実施の形態において、トルク指令判定部102と、フィードバック制御停止部104と、暫定補正値決定部106と、偏差算出部108と、最終補正値決定部110とは、いずれもECU40のCPUがメモリに記憶されたプログラムを実行することにより実現される、ソフトウェアとして機能するものとして説明するが、ハードウェアにより実現されるようにしてもよい。なお、このようなプログラムは記憶媒体に記録されて車両に搭載される。   In the present embodiment, the torque command determination unit 102, the feedback control stop unit 104, the provisional correction value determination unit 106, the deviation calculation unit 108, and the final correction value determination unit 110 are all stored in the CPU of the ECU 40. Although it is assumed that the program functions as software, which is realized by executing the program stored in the program, it may be realized by hardware. Such a program is recorded on a storage medium and mounted on the vehicle.

図9を参照して、本実施の形態に係る車両用制御装置であるECU40で実行されるプログラムの制御構造について説明する。   Referring to FIG. 9, a control structure of a program executed by ECU 40 that is the vehicle control device according to the present embodiment will be described.

ステップ(以下、ステップをSと記載する)100にて、ECU40は、トルク指令値TR1が一定の状態であるか否かを判定する。トルク指令値TR1が一定の状態である場合(S100にてYES)、処理はS102に移される。もしそうでない場合(S100にてNO)、この処理はS100に戻され、トルク指令値TR1が一定の状態になるまで待機する。   In step (hereinafter, step is referred to as S) 100, ECU 40 determines whether or not torque command value TR1 is in a constant state. If torque command value TR1 is in a constant state (YES in S100), the process proceeds to S102. If not (NO in S100), the process returns to S100 and waits until torque command value TR1 becomes a constant state.

S102にて、ECU40は、フィードバック制御を停止する。S104にて、ECU40は、前回の暫定補正値C(n−1)に予め定められた値aを加算して、今回の暫定補正値C(n)を決定する。   In S102, ECU 40 stops feedback control. In S104, ECU 40 adds a predetermined value a to the previous provisional correction value C (n-1) to determine the current provisional correction value C (n).

S106にて、ECU40は、決定された今回の暫定補正値C(n)に基づいて偏差Δi(n)を算出する。なお、偏差Δi(n)の算出方法については上述したとおりであるため、その詳細な説明は繰返さない。   In S106, ECU 40 calculates deviation Δi (n) based on the current provisional correction value C (n) determined. Since the method of calculating deviation Δi (n) is as described above, detailed description thereof will not be repeated.

S108にて、ECU40は、今回の偏差Δi(n)が前回の偏差Δi(n−1)よりも大きいか否かを判定する。今回の偏差Δi(n)が前回の偏差Δi(n−1)よりも大きい場合に、処理はS110に移される。もしそうでない場合(S108にてNO)、処理はS104に移される。   In S108, ECU 40 determines whether or not current deviation Δi (n) is larger than previous deviation Δi (n−1). If the current deviation Δi (n) is larger than the previous deviation Δi (n−1), the process proceeds to S110. If not (NO in S108), the process proceeds to S104.

S110にて、ECU40は、前回の偏差Δi(n−1)に対応する暫定補正値C(n−1)を最終補正値Cf1として決定する。S112にて、ECU40は、フィードバック制御を開始する。   In S110, ECU 40 determines provisional correction value C (n-1) corresponding to previous deviation Δi (n-1) as final correction value Cf1. In S112, ECU 40 starts feedback control.

以上のような構造およびフローチャートに基づく本実施の形態に係る車両用制御装置であるECU40の動作について説明する。   The operation of ECU 40 that is the vehicle control device according to the present embodiment based on the above-described structure and flowchart will be described.

たとえば、車両10が走行状態である場合であって、かつ、運転者がアクセルペダルの踏み込み量を一定としている場合を想定する。この場合、トルク指令値TR1が一定の状態であるため(S100にてYES)、車両10の走行中にフィードバック制御が停止されて(S102)、検出誤差の学習が開始される。   For example, it is assumed that the vehicle 10 is in a traveling state and the driver keeps the amount of depression of the accelerator pedal constant. In this case, since torque command value TR1 is in a constant state (YES in S100), feedback control is stopped while vehicle 10 is traveling (S102), and learning of detection error is started.

すなわち、今回の暫定補正値C(n)が決定されて(S104)、決定された今回の暫定補正値C(n)に基づいて偏差Δi(n)が算出される(S106)。算出された今回の偏差Δi(n)が前回の偏差Δi(n−1)以下である場合には(S108にてNO)、今回の暫定補正値C(n)に予め定められた値aが加算されて、次回の暫定補正値C(n+1)が決定される(S104)。   That is, the current temporary correction value C (n) is determined (S104), and the deviation Δi (n) is calculated based on the determined current temporary correction value C (n) (S106). If the calculated current deviation Δi (n) is equal to or smaller than the previous deviation Δi (n−1) (NO in S108), a predetermined value a is set as the current temporary correction value C (n). The next provisional correction value C (n + 1) is determined by addition (S104).

一方、算出された今回の偏差Δi(n)が前回の偏差Δi(n−1)よりも大きい場合には(S108にてYES)、前回の暫定補正値C(n−1)が最終補正値Cf1として決定される(S110)。ECU40は、決定された最終補正値Cf1を用いたフィードバック制御を開始する(S112)。   On the other hand, when calculated current deviation Δi (n) is larger than previous deviation Δi (n−1) (YES in S108), previous provisional correction value C (n−1) is the final correction value. Cf1 is determined (S110). The ECU 40 starts feedback control using the determined final correction value Cf1 (S112).

ECU40は、このような上述の検出誤差の学習によってV相コイルのモータ電流およびW相コイルのモータ電流の各々についての最終補正値Cvf1およびCwf1を決定する。ECU40は、図3に示したセンサ値補正部430において、電流センサ24から受信したモータ電流Iv1,Iw1から最終補正値Cvf1,Cwf1をそれぞれ減算して、減算された値Iv1−Cvf1,Iw1−Cwf1を用いてフィードバック制御を実行する。図3に示したΔIv1は、−Cvf1であって、ΔIw1は、−Cwf1である。   The ECU 40 determines final correction values Cvf1 and Cwf1 for each of the motor current of the V-phase coil and the motor current of the W-phase coil by learning the detection error described above. ECU 40 subtracts final correction values Cvf1 and Cwf1 from motor currents Iv1 and Iw1 received from current sensor 24 in sensor value correction unit 430 shown in FIG. The feedback control is executed using ΔIv1 shown in FIG. 3 is −Cvf1, and ΔIw1 is −Cwf1.

モータ電流Iv1,Iw1から最終補正値Cvf1,Cwf1をそれぞれ減算することによって、電流センサ24の実測値は、図5に示すような実測値の振動中心がオフセットした波形から図3に示すように、ゼロを振動中心とした波形に補正される。   By subtracting the final correction values Cvf1 and Cwf1 from the motor currents Iv1 and Iw1, respectively, the actual measurement value of the current sensor 24 is as shown in FIG. 3 from the waveform in which the vibration center of the actual measurement value is offset as shown in FIG. The waveform is corrected to zero as the center of vibration.

また、ECU40は、次にトルク指令値が一定の状態になるまで、決定した最終補正値Cvf1およびCwf1を用いてフィードバック制御を実行し、トルク指令値が一定の状態になった場合に(S100にてYES)、最終補正値Cvf1およびCwf1を更新する(S110)。   Further, the ECU 40 executes feedback control using the determined final correction values Cvf1 and Cwf1 until the torque command value becomes constant next time, and when the torque command value becomes constant (S100) YES), the final correction values Cvf1 and Cwf1 are updated (S110).

以上のようにして、本実施の形態に係る車両用制御装置によると、学習条件が成立した場合に、車両の走行中に最終補正値を決定する際に、フィードバック制御を停止することによって、フィードバック制御による影響を排除して最終補正値を精度高く算出することができる。そのため、たとえば、長時間車両が走行することによって、電流センサの検出誤差に変化が生じた場合でも、適切に電流センサの検出誤差を補正することができる。また、トルク指令値が一定の状態である場合に学習を実行するため、車両の走行中における電流制御の制御精度の悪化を抑制することができる。したがって、車両の走行中である場合に検出誤差を学習することによって交流モータに供給される交流電力を精度高く制御する車両用制御装置および車両用制御方法を提供することができる。   As described above, according to the vehicle control device of the present embodiment, when the learning condition is satisfied, the feedback control is stopped when the final correction value is determined while the vehicle is running, thereby providing feedback. The final correction value can be calculated with high accuracy by eliminating the influence of the control. Therefore, for example, even when the detection error of the current sensor changes due to the vehicle traveling for a long time, the detection error of the current sensor can be corrected appropriately. Moreover, since learning is executed when the torque command value is in a constant state, it is possible to suppress deterioration in control accuracy of current control during travel of the vehicle. Therefore, it is possible to provide a vehicle control device and a vehicle control method for accurately controlling AC power supplied to an AC motor by learning detection errors when the vehicle is running.

また、本実施の形態に係る車両用制御装置によると、車両の走行中においても電流センサの検出誤差の学習が可能となるため、モータの停止時に実行されていた検出誤差の学習領域を拡大させることができる。   Further, according to the vehicle control device of the present embodiment, it becomes possible to learn the detection error of the current sensor even while the vehicle is traveling, so the learning error learning area that was executed when the motor was stopped is expanded. be able to.

本実施の形態において、暫定補正値決定部106は、暫定補正値の初期値C(0)としてゼロを決定するものとして説明したが、特に、初期値はゼロに限定されるものではない。初期値は、たとえば、補正値として取り得る値よりも大きな値であってもよい。   In the present embodiment, the provisional correction value determination unit 106 has been described as determining zero as the initial value C (0) of the provisional correction value, but the initial value is not particularly limited to zero. The initial value may be a value larger than a value that can be taken as a correction value, for example.

この場合、暫定補正値決定部106は、最終補正値決定部110において最終補正値Cf1が決定されない場合に、前回の暫定補正値C(n−1)から予め定められた値aを減算して今回の暫定補正値C(n)(C(n)−a)を決定すればよい。   In this case, the temporary correction value determination unit 106 subtracts a predetermined value a from the previous temporary correction value C (n−1) when the final correction value Cf1 is not determined by the final correction value determination unit 110. The current provisional correction value C (n) (C (n) -a) may be determined.

なお、偏差算出部108および最終補正値決定部110の最小偏差Δi_minに対応する暫定補正値Cminを最終補正値Cf1として決定する動作については、初期値をゼロとした場合と同様であるため、その詳細な説明は繰返さない。   The operation of determining the temporary correction value Cmin corresponding to the minimum deviation Δi_min of the deviation calculation unit 108 and the final correction value determination unit 110 as the final correction value Cf1 is the same as that when the initial value is set to zero. Detailed description will not be repeated.

あるいは、図10に示すように、暫定補正値決定部106は、まず、暫定補正値Caを決定し、偏差算出部108は、決定された暫定補正値Caに基づいて偏差Δiaを算出し、次に、暫定補正値決定部106は、暫定補正値Caに予め定められた値aを加算した値を暫定補正値Cbとして決定し、偏差算出部108は、決定された暫定補正値Cbに基づいて偏差Δibを算出するようにしてもよい。   Alternatively, as shown in FIG. 10, the provisional correction value determination unit 106 first determines the provisional correction value Ca, and the deviation calculation unit 108 calculates the deviation Δia based on the determined provisional correction value Ca. In addition, the provisional correction value determining unit 106 determines a value obtained by adding a predetermined value a to the provisional correction value Ca as the provisional correction value Cb, and the deviation calculating unit 108 is based on the determined provisional correction value Cb. The deviation Δib may be calculated.

この場合、次回の計算において、暫定補正値決定部106は、2つの偏差ΔiaおよびΔibを比較し、ΔiaがΔibよりも小さい場合に、暫定補正値Caから予め定められた値aを減算した値を暫定補正値Ccとして決定し、偏差算出部108は、決定された暫定補正値Ccに基づいて偏差Δicを算出する。   In this case, in the next calculation, the provisional correction value determination unit 106 compares the two deviations Δia and Δib, and when Δia is smaller than Δib, a value obtained by subtracting a predetermined value a from the provisional correction value Ca. Is determined as the temporary correction value Cc, and the deviation calculating unit 108 calculates the deviation Δic based on the determined temporary correction value Cc.

最終補正値決定部110は、算出された偏差Δicが偏差Δiaよりも大きい場合には、偏差Δiaが最小偏差Δi_minとして算出され、図10に示すように、算出されたΔicが偏差Δiaよりも小さい場合には、最終補正値Cf1が決定されるまで、前回の暫定補正値から予め定められた値aを減算して今回の暫定補正値を算出し、算出された今回の暫定補正値に対応する偏差Δiを算出するという計算を繰返すようにしてもよい。   When the calculated deviation Δic is larger than the deviation Δia, the final correction value determining unit 110 calculates the deviation Δia as the minimum deviation Δi_min, and as shown in FIG. 10, the calculated Δic is smaller than the deviation Δia. In this case, the current provisional correction value is calculated by subtracting a predetermined value a from the previous provisional correction value until the final correction value Cf1 is determined, and corresponds to the calculated present provisional correction value. The calculation of calculating the deviation Δi may be repeated.

また、暫定補正値決定部106は、2つの偏差ΔiaおよびΔibを比較して、ΔibがΔiaよりも小さい場合に、暫定補正値Cbに予め定められた値aを加算した値を暫定補正値Cc’として決定し、偏差算出部108は、決定された暫定補正値Cc’に基づいて偏差Δic’を算出する。   Further, the provisional correction value determining unit 106 compares the two deviations Δia and Δib, and when Δib is smaller than Δia, the provisional correction value Cc is obtained by adding a value a predetermined value to the provisional correction value Cb. The deviation calculating unit 108 calculates the deviation Δic ′ based on the determined provisional correction value Cc ′.

最終補正値決定部110は、算出された偏差Δic’が偏差Δibよりも大きい場合には、偏差Δibが最小偏差Δi_minとして算出され、算出されたΔic’が偏差Δibよりも小さい場合には、最終補正値Cf1が決定されるまで、前回の暫定補正値に予め定められた値aを加算して今回の暫定補正値を算出し、算出された今回の暫定補正値に対応する偏差Δiを算出するという計算を繰返すようにしてもよい。   When the calculated deviation Δic ′ is larger than the deviation Δib, the final correction value determining unit 110 calculates the deviation Δib as the minimum deviation Δi_min, and when the calculated Δic ′ is smaller than the deviation Δib, Until the correction value Cf1 is determined, a predetermined value a is added to the previous temporary correction value to calculate the current temporary correction value, and the deviation Δi corresponding to the calculated current temporary correction value is calculated. The calculation may be repeated.

さらに、ECU40は、トルク指令値が一定の状態であるという学習条件に加えて、第1判定期間においてエンジン30の回転数の変化量がしきい値以下であるという条件が成立した場合に、車両10の走行中にフィードバック制御を停止して検出誤差を学習するようにしてもよい。このようにすると、より精度高く最終補正値を決定することができる。   Furthermore, in addition to the learning condition that the torque command value is in a constant state, the ECU 40 determines that the vehicle satisfies the condition that the amount of change in the rotational speed of the engine 30 is equal to or less than a threshold value during the first determination period. The feedback control may be stopped during the traveling of 10 to learn the detection error. In this way, the final correction value can be determined with higher accuracy.

また、ECU40は、第2判定期間が経過するまで学習条件が成立しない場合、または、車両が予め定められた距離以上走行するまで学習条件が成立しない場合、車両10の走行中にフィードバック制御を停止して検出誤差を学習するようにしてもよい。このようにすると、速やかに検出誤差を補正することができる。   Further, the ECU 40 stops the feedback control during the traveling of the vehicle 10 when the learning condition is not satisfied until the second determination period elapses or when the learning condition is not satisfied until the vehicle travels more than a predetermined distance. Thus, the detection error may be learned. In this way, the detection error can be corrected promptly.

さらに、本実施の形態においては、トルク指令値が一定の状態である場合に、フィードバック制御を停止して、最終補正値を決定することとしたが、たとえば、トルク指令値が単調増加あるいは単調減少している場合に、車両の走行中にフィードバック制御を停止して、最終補正値Cf1を決定するようにしてもよい。   Furthermore, in the present embodiment, when the torque command value is in a constant state, the feedback control is stopped and the final correction value is determined. For example, the torque command value is monotonously increased or monotonously decreased. In this case, the final correction value Cf1 may be determined by stopping the feedback control while the vehicle is traveling.

この場合、ECU40は、たとえば、図11に示すように、1周期におけるId_comと電流値Id1との偏差の絶対値の極大値を偏差Δiとして算出する。なお、具体的な最終補正値Cf1の決定方法については、トルク指令値が一定の状態である場合の最終補正値Cf1の決定方法と同様であるため、その詳細な説明は繰返さない。   In this case, for example, as shown in FIG. 11, the ECU 40 calculates the maximum value of the absolute value of the deviation between Id_com and the current value Id1 in one cycle as the deviation Δi. Note that the specific method for determining final correction value Cf1 is the same as the method for determining final correction value Cf1 when the torque command value is constant, and therefore detailed description thereof will not be repeated.

また、ECU40は、最終補正値Cf1を決定する際のフィードバック制御の停止中には、フィードフォワード項のみを変更することによって電流制御を実行する。   Further, the ECU 40 executes the current control by changing only the feedforward term while the feedback control at the time of determining the final correction value Cf1 is stopped.

たとえば、この場合の図3に示した電圧操作量Vd1は、Vd1=Σvdi+vd_ffの式により算出される。Σvdiは、フィードバック制御を停止する直前までのvdi(ゲインKiと偏差Δidとの積)の積算値である。vd_ffは、フィードフォワード項である。vd_ffは、vd_ff=−1×回転速度ω×インダクタンスLq×電流指令値Iq_comの式より算出される。   For example, the voltage operation amount Vd1 shown in FIG. 3 in this case is calculated by the equation Vd1 = Σvdi + vd_ff. Σvdi is an integrated value of vdi (product of gain Ki and deviation Δid) until just before feedback control is stopped. vd_ff is a feedforward term. vd_ff is calculated from the equation: vd_ff = −1 × rotational speed ω × inductance Lq × current command value Iq_com.

また、この場合の図3に示した電圧操作量Vq1は、Vq1=ΣVqi+vq_ffの式により算出される。ΣVqiは、フィードバック制御を停止する直前までのvqi(ゲインKiと偏差Δiqとの積)の積算値である。vq_ffは、フィードフォワード項である。vq_ffは、vq_ff=回転速度ω×インダクタンスLd×電流指令値Id_com+回転速度ω×永久磁石によるモータ鎖交磁束φの式より算出される。   Further, the voltage operation amount Vq1 shown in FIG. 3 in this case is calculated by an equation of Vq1 = ΣVqi + vq_ff. ΣVqi is an integrated value of vqi (product of gain Ki and deviation Δiq) until just before feedback control is stopped. vq_ff is a feedforward term. vq_ff is calculated from the equation: vq_ff = rotational speed ω × inductance Ld × current command value Id_com + rotational speed ω × permanent magnet motor linkage flux φ.

このようにしても、フィードバック制御による影響を排除して最終補正値を精度高く算出することができる。   Even in this case, the final correction value can be calculated with high accuracy by eliminating the influence of the feedback control.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

10 車両、12 昇圧コンバータ、13 バッテリ、14,16 インバータ、18,20 MG、22,36 電圧センサ、24,26 電流センサ、28 駆動輪、30 エンジン、32,34 回転センサ、38 動力分割機構、40 ECU、102 トルク指令判定部、104 フィードバック制御停止部、106 暫定補正値決定部、108 偏差算出部、110 最終補正値決定部、410 電流指令値変換部、412,414 減算器、416,418 PI制御部、420 2相/3相変換部、422 PWM生成部、430 センサ値補正部、432 3相/2相変換部、434 学習部。   DESCRIPTION OF SYMBOLS 10 Vehicle, 12 Boost converter, 13 Battery, 14, 16 Inverter, 18, 20 MG, 22, 36 Voltage sensor, 24, 26 Current sensor, 28 Drive wheel, 30 Engine, 32, 34 Rotation sensor, 38 Power split mechanism, 40 ECU, 102 Torque command determination unit, 104 Feedback control stop unit, 106 Temporary correction value determination unit, 108 Deviation calculation unit, 110 Final correction value determination unit, 410 Current command value conversion unit, 412, 414 Subtractor, 416, 418 PI control unit, 420 2 phase / 3 phase conversion unit, 422 PWM generation unit, 430 sensor value correction unit, 432 3 phase / 2 phase conversion unit, 434 learning unit.

Claims (6)

交流モータが搭載された車両の車両用制御装置であって、
前記交流モータを駆動するための交流電流を検出するための電流検出部と、
前記電流検出部の検出誤差を補正するための補正値を用いて前記電流検出部により検出された前記交流電流の実測値を補正するための補正部と、
前記補正部によって補正された実測値を用いたフィードバック制御により、前記交流モータの出力トルクが目標トルクとなるように前記交流モータを制御するためのフィードバック制御部と、
前記車両が走行状態であるという第1条件と、前記フィードバック制御の実行中の第1判定期間において前記目標トルクの変化量が第1しきい値以下であるという第2条件とを含む学習条件が成立した場合に、前記車両の走行中に前記フィードバック制御を停止して前記補正値を学習するための学習部とを含む、車両用制御装置。
A vehicle control device for a vehicle equipped with an AC motor,
A current detection unit for detecting an alternating current for driving the alternating current motor;
A correction unit for correcting an actual value of the alternating current detected by the current detection unit using a correction value for correcting a detection error of the current detection unit;
A feedback control unit for controlling the AC motor so that the output torque of the AC motor becomes a target torque by feedback control using the actual measurement value corrected by the correction unit;
A learning condition includes a first condition that the vehicle is in a running state and a second condition that a change amount of the target torque is equal to or less than a first threshold value in a first determination period during execution of the feedback control. And a learning unit for learning the correction value by stopping the feedback control while the vehicle is running.
前記フィードバック制御部は、
前記目標トルクをd軸電流およびq軸電流のうちのいずれか一方の指令値に変換するための第1変換部と、
前記補正部によって補正された実測値を前記d軸電流および前記q軸電流のうちの前記指令値に対応するいずれか一方の電流値に変換するための第2変換部とを含み、
前記学習部は、前記学習条件が成立した場合に、前記補正値の暫定値を決定するための暫定値決定部と、
前記指令値と、前記暫定値を用いて補正された実測値を前記第2変換部によって変換された電流値との偏差の絶対値の極大値を算出するための算出部と、
前記暫定値決定部によって複数の暫定値が前記補正値として決定されて前記算出部によって複数の極大値が算出された場合に、前記複数の極大値のうちの最小値に対応する暫定値を最終的な補正値として決定するための最終決定部とを含む、請求項1に記載の車両用制御装置。
The feedback control unit includes:
A first converter for converting the target torque into a command value of one of a d-axis current and a q-axis current;
A second conversion unit for converting the actual value corrected by the correction unit into one of the d-axis current and the q-axis current corresponding to the command value;
The learning unit, when the learning condition is satisfied, a provisional value determination unit for determining a provisional value of the correction value;
A calculation unit for calculating a maximum value of an absolute value of a deviation between the command value and an actual value corrected using the provisional value by the second conversion unit;
When a plurality of provisional values are determined as the correction values by the provisional value determination unit and a plurality of maximum values are calculated by the calculation unit, a provisional value corresponding to the minimum value among the plurality of maximum values is finally determined. The vehicle control device according to claim 1, further comprising a final determination unit for determining as a general correction value.
前記暫定値決定部は、前回決定された暫定値に予め定められた値を加算または減算することによって今回の暫定値を決定し、
前記最終決定部は、前記算出部によって今回まで算出された前記複数の極大値のうち前記暫定値に変化に対して極小となる値に対応する暫定値を前記最終的な補正値として決定する、請求項2に記載の車両用制御装置。
The provisional value determination unit determines the provisional value of this time by adding or subtracting a predetermined value to the provisional value determined last time,
The final determination unit determines, as the final correction value, a provisional value corresponding to a value that is minimal with respect to a change to the provisional value among the plurality of maximum values calculated up to this time by the calculation unit. The vehicle control device according to claim 2.
前記車両は、前記交流モータを用いて発電するための動力源として内燃機関を搭載し、
前記学習部は、前記学習条件に加えて、前記第1判定期間においての前記内燃機関の回転数の変化量が第2しきい値以下であるという条件が成立した場合に、前記フィードバック制御を停止して前記補正値を学習する、請求項1〜3のいずれかに記載の車両用制御装置。
The vehicle is equipped with an internal combustion engine as a power source for generating electric power using the AC motor,
In addition to the learning condition, the learning unit stops the feedback control when a condition that the amount of change in the rotational speed of the internal combustion engine in the first determination period is equal to or less than a second threshold is satisfied. The vehicle control device according to claim 1, wherein the correction value is learned.
前記学習部は、前記フィードバック制御中に第2判定期間が経過するまで前記第2条件が成立しない場合、および、前記車両が予め定められた距離以上の距離を走行するまで前記第2条件が成立しない場合のうちの少なくともいずれか一方の場合、前記フィードバック制御を停止して前記補正値を学習する、請求項1〜4のいずれかに記載の車両用制御装置。   The learning unit satisfies the second condition when the second condition is not satisfied until the second determination period elapses during the feedback control and until the vehicle travels a distance greater than or equal to a predetermined distance. 5. The vehicle control device according to claim 1, wherein the feedback control is stopped and the correction value is learned in at least one of the cases where the correction is not performed. 6. 交流モータが搭載された車両の車両用制御方法であって、
前記交流モータを駆動するための交流電流を検出するステップと、
前記交流電流を検出する際の検出誤差を補正するための補正値を用いて前記交流電流の実測値を補正するステップと、
前記実測値を補正するステップにて補正された実測値を用いたフィードバック制御により、前記交流モータの出力トルクが目標トルクとなるように前記交流モータを制御するステップと、
前記車両が走行状態であるという第1条件と、前記フィードバック制御の実行中の第1判定期間において前記目標トルクの変化量が第1しきい値以下であるという第2条件とを含む学習条件が成立した場合に、前記車両の走行中に前記フィードバック制御を停止して前記補正値を学習するステップとを含む、車両用制御方法。
A vehicle control method for a vehicle equipped with an AC motor,
Detecting an alternating current for driving the alternating current motor;
Correcting the measured value of the alternating current using a correction value for correcting a detection error when detecting the alternating current;
Controlling the AC motor such that the output torque of the AC motor becomes a target torque by feedback control using the actual value corrected in the step of correcting the actual value;
A learning condition includes a first condition that the vehicle is in a running state and a second condition that a change amount of the target torque is equal to or less than a first threshold value in a first determination period during execution of the feedback control. A control method for a vehicle, including a step of learning the correction value by stopping the feedback control while the vehicle is running when the vehicle is established.
JP2010053203A 2010-03-10 2010-03-10 VEHICLE CONTROL DEVICE AND VEHICLE CONTROL METHOD Expired - Fee Related JP5402736B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010053203A JP5402736B2 (en) 2010-03-10 2010-03-10 VEHICLE CONTROL DEVICE AND VEHICLE CONTROL METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010053203A JP5402736B2 (en) 2010-03-10 2010-03-10 VEHICLE CONTROL DEVICE AND VEHICLE CONTROL METHOD

Publications (2)

Publication Number Publication Date
JP2011188678A true JP2011188678A (en) 2011-09-22
JP5402736B2 JP5402736B2 (en) 2014-01-29

Family

ID=44794304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010053203A Expired - Fee Related JP5402736B2 (en) 2010-03-10 2010-03-10 VEHICLE CONTROL DEVICE AND VEHICLE CONTROL METHOD

Country Status (1)

Country Link
JP (1) JP5402736B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016019341A (en) * 2014-07-08 2016-02-01 三菱電機株式会社 Control device for three-phase ac rotary machine
JP2016159837A (en) * 2015-03-04 2016-09-05 株式会社ホンダロック Reaction force output device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09172703A (en) * 1995-12-20 1997-06-30 Denso Corp Device for controlling motor for driving electric vehicle
JPH1080172A (en) * 1996-09-05 1998-03-24 Matsushita Electric Ind Co Ltd Automatic correcting means of current offset in current detecting means
JP2000023488A (en) * 1998-07-06 2000-01-21 Toyota Motor Corp Drive current controller for motor
JP2004191301A (en) * 2002-12-13 2004-07-08 Toyota Motor Corp Electric current sensor offset value calculator and its method
JP2005312201A (en) * 2004-04-22 2005-11-04 Matsushita Electric Ind Co Ltd Inverter controller and air conditioner using it
JP2006258745A (en) * 2005-03-18 2006-09-28 Toyota Motor Corp Motor drive system
JP2007028702A (en) * 2005-07-12 2007-02-01 Toyota Motor Corp Controller of secondary battery
JP2010279231A (en) * 2009-06-01 2010-12-09 Mitsubishi Motors Corp Device for control of motor driving current

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09172703A (en) * 1995-12-20 1997-06-30 Denso Corp Device for controlling motor for driving electric vehicle
JPH1080172A (en) * 1996-09-05 1998-03-24 Matsushita Electric Ind Co Ltd Automatic correcting means of current offset in current detecting means
JP2000023488A (en) * 1998-07-06 2000-01-21 Toyota Motor Corp Drive current controller for motor
JP2004191301A (en) * 2002-12-13 2004-07-08 Toyota Motor Corp Electric current sensor offset value calculator and its method
JP2005312201A (en) * 2004-04-22 2005-11-04 Matsushita Electric Ind Co Ltd Inverter controller and air conditioner using it
JP2006258745A (en) * 2005-03-18 2006-09-28 Toyota Motor Corp Motor drive system
JP2007028702A (en) * 2005-07-12 2007-02-01 Toyota Motor Corp Controller of secondary battery
JP2010279231A (en) * 2009-06-01 2010-12-09 Mitsubishi Motors Corp Device for control of motor driving current

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016019341A (en) * 2014-07-08 2016-02-01 三菱電機株式会社 Control device for three-phase ac rotary machine
JP2016159837A (en) * 2015-03-04 2016-09-05 株式会社ホンダロック Reaction force output device

Also Published As

Publication number Publication date
JP5402736B2 (en) 2014-01-29

Similar Documents

Publication Publication Date Title
US9077269B2 (en) Control system for AC electric motor
US8497646B2 (en) Controller for AC electric motor and electric powered vehicle
JP6292208B2 (en) Hybrid vehicle
JP5652549B2 (en) Electric motor drive device, vehicle equipped with the same, and method for controlling electric motor drive device
JP5227102B2 (en) Motor drive control apparatus and method
JP5573968B2 (en) Vehicle and vehicle control method
US9166511B2 (en) Control system for AC motor
CN108667368B (en) Vehicle and control method thereof
JP2007028702A (en) Controller of secondary battery
JP2011122835A (en) Internal resistance estimation apparatus for power storage device, degradation determination apparatus for power storage device, and power supply system
US10099563B2 (en) Power supply device for vehicle and method for controlling the same
JP2011109851A (en) Device for controlling power supply system, and vehicle mounting the same
JP2013005618A (en) Inverter control device and vehicle
JP5556635B2 (en) Vehicle and current detection device abnormality determination method
JP6863046B2 (en) Automobile
JP2011067010A (en) Motor drive of vehicle
JP2011109852A (en) Device for controlling power supply system, and vehicle mounting the same
JP5402736B2 (en) VEHICLE CONTROL DEVICE AND VEHICLE CONTROL METHOD
JP5969382B2 (en) AC motor control system
JP5751059B2 (en) Drive device and electric vehicle
JP2011024349A (en) Vehicle having motor capable of inputting/outputting power from/to drive shaft connected to drive wheel, and vehicle including inverter driving drive motor
JP2015231276A (en) Control device for synchronous motor, and vehicle control system with the same
JP2019161748A (en) Inverter control method and inverter control device
JP6828297B2 (en) Car
JP6686772B2 (en) Drive

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120424

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130430

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130617

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131001

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131014

LAPS Cancellation because of no payment of annual fees