JP2011087395A - Motor controller for vehicle - Google Patents

Motor controller for vehicle Download PDF

Info

Publication number
JP2011087395A
JP2011087395A JP2009237821A JP2009237821A JP2011087395A JP 2011087395 A JP2011087395 A JP 2011087395A JP 2009237821 A JP2009237821 A JP 2009237821A JP 2009237821 A JP2009237821 A JP 2009237821A JP 2011087395 A JP2011087395 A JP 2011087395A
Authority
JP
Japan
Prior art keywords
motor
current
phase
gain error
current command
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
JP2009237821A
Other languages
Japanese (ja)
Inventor
Takashi Omata
隆士 小俣
Yuichi Hayashi
祐一 林
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2009237821A priority Critical patent/JP2011087395A/en
Publication of JP2011087395A publication Critical patent/JP2011087395A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To improve motor control accuracy based on the output of a current sensor by correcting the influence of a gain error of the current sensor for detecting a current applied to an AC motor. <P>SOLUTION: A motor controller calculates a proportion (kv/kw) of gain errors of V-phase and W-phase current sensors 38, 39 on the basis of a proportion (Iv/Iw) of V-phase and W-phase current command values in giving an invalid current command not contributing to torque generation while an AC motor 17 is stopped and a proportion (iv/iw) of outputs of the V-phase and W-phase current sensors 38, 39, and corrects the output of either the current sensor 38 or 39 by using the proportion of the gain error, thereby correcting imbalance of the gain errors. If the rotor rotation stop position of the AC motor 17 is a calculation unable position (rotation position where the V-phase current command value Iv or the W-phase current command value Iw is zero) in giving the invalid current command, the AC motor 17 generates torque to change the rotor rotation stop position to a rotation position other than the calculation unable position before giving the invalid current command. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、車両に搭載された交流モータと、該交流モータに流れる電流を検出する電流センサとを備えた車両のモータ制御装置に関する発明である。   The present invention relates to a vehicle motor control device including an AC motor mounted on a vehicle and a current sensor that detects a current flowing through the AC motor.

車両の動力源として交流モータを搭載した電気自動車やハイブリッド車においては、交流モータの各相のうちの少なくとも1つの相に流れる電流を検出する電流センサを設け、この電流センサの出力(電流検出値)を用いて交流モータを制御するようにしたものがあるが、一般に、電流センサの個体差(製造ばらつき)や経時変化等によって電流センサの出力に誤差(ばらつき)が生じることは避けられない。例えば、電流センサのゼロ点(実電流が0のときの電流センサの出力)は、温度の影響を受け易く、温度変化によって電流センサのゼロ点がずれることがある。   In an electric vehicle or a hybrid vehicle equipped with an AC motor as a power source of the vehicle, a current sensor for detecting a current flowing in at least one of the phases of the AC motor is provided, and an output (current detection value) of the current sensor is provided. However, in general, it is inevitable that an error (variation) occurs in the output of the current sensor due to an individual difference (manufacturing variation) of the current sensor or a change with time. For example, the zero point of the current sensor (the output of the current sensor when the actual current is 0) is easily affected by temperature, and the zero point of the current sensor may shift due to temperature changes.

この対策として、特許文献1(特開2005−20877号公報)に記載されているように、モータが駆動されていないときに(つまりモータに流れる実電流が0のときに)、電流センサの出力値と温度センサの検出温度との関係に基づいて電流センサのゼロ点の温度特性を学習し、モータの駆動時に、その学習結果を用いて電流センサの出力を補正するようにしたものがある。   As a countermeasure, as described in Patent Document 1 (Japanese Patent Laid-Open No. 2005-20877), when the motor is not driven (that is, when the actual current flowing through the motor is 0), the output of the current sensor In some cases, the temperature characteristics of the zero point of the current sensor are learned based on the relationship between the value and the temperature detected by the temperature sensor, and the output of the current sensor is corrected using the learning result when the motor is driven.

特開2005−20877号公報(第2頁等)Japanese Patent Laying-Open No. 2005-20877 (second page, etc.)

ところで、電流センサの出力は、ゼロ点のずれ(オフセット誤差)以外に、実電流の大きさに応じて変化するゲイン誤差の影響を受けることがある。しかし、上記特許文献1の技術は、電流センサのゼロ点のずれ(オフセット誤差)による電流検出値(電流センサの出力)のずれを補正する技術であり、電流センサのゲイン誤差による電流検出値(電流センサの出力)のずれを補正する技術ではないため、電流センサの個体差や経時変化等によって変化するゲイン誤差の影響を受けて、電流センサの出力に基づく電流検出精度や、強いてはモータ制御精度が低下してしまう可能性がある。   By the way, the output of the current sensor may be influenced by a gain error that changes in accordance with the magnitude of the actual current, in addition to the zero point deviation (offset error). However, the technique of the above-mentioned Patent Document 1 is a technique for correcting a deviation of a current detection value (current sensor output) due to a deviation (offset error) of a zero point of a current sensor. Because it is not a technology that corrects deviations in current sensor output), it is affected by gain errors that change due to individual differences in the current sensor or changes over time, and current detection accuracy based on current sensor output, or even motor control. The accuracy may be reduced.

そこで、本発明が解決しようとする課題は、交流モータに流れる電流を検出する電流センサのゲイン誤差の影響を補正することができ、電流センサの出力に基づく電流検出精度又はモータ制御精度を向上させることができる車両のモータ制御装置を提供することにある。   Therefore, the problem to be solved by the present invention is that the influence of the gain error of the current sensor that detects the current flowing in the AC motor can be corrected, and the current detection accuracy or the motor control accuracy based on the output of the current sensor is improved. An object of the present invention is to provide a motor control device for a vehicle.

上記課題を解決するために、請求項1に係る発明は、車両に搭載された交流モータと、該交流モータに流れる電流を検出する電流センサとを備えた車両のモータ制御装置において、交流モータの停止中に該交流モータのトルク発生に寄与しない無効電流(d軸電流、或は磁束分電流)を該交流モータに流すように指令する無効電流指令、すなわちゼロトルク指令を行い、該無効電流指令を行ったときの電流指令値と電流センサの出力とに基づいて該電流センサのゲイン誤差又はこれに関連性のある情報(以下これらを「ゲイン誤差情報」と総称する)を算出するゲイン誤差情報算出手段と、このゲイン誤差情報算出手段で算出したゲイン誤差情報を用いて電流センサの出力を補正するセンサ出力補正手段と、無効電流指令を行う際に交流モータのロータ回転停止位置が電流センサで検出する相の電流指令値が0となる回転位置(以下「算出不能位置」という)の場合には交流モータにトルクを発生させて該交流モータのロータ回転停止位置を算出不能位置以外の回転位置に変更する停止位置変更制御手段とを備えた構成としたものである。   In order to solve the above-mentioned problem, an invention according to claim 1 is directed to a vehicle motor control device including an AC motor mounted on a vehicle and a current sensor that detects a current flowing through the AC motor. A reactive current command that instructs the AC motor to flow a reactive current that does not contribute to torque generation of the AC motor (d-axis current or magnetic flux component current) during the stop, that is, a zero torque command is issued. Gain error information calculation for calculating a gain error of the current sensor or information related thereto (hereinafter collectively referred to as “gain error information”) based on the current command value and the output of the current sensor. Means, a sensor output correcting means for correcting the output of the current sensor using the gain error information calculated by the gain error information calculating means, and an AC mode when the reactive current command is issued. When the rotor rotation stop position is a rotation position where the current command value of the phase detected by the current sensor is 0 (hereinafter referred to as “incomputable position”), torque is generated in the AC motor to stop the rotor rotation of the AC motor. A stop position change control means for changing the position to a rotational position other than the uncalculatable position is provided.

この構成では、交流モータの停止中に無効電流指令を行ったときの電流指令値が、交流モータに流れる実電流とほぼ等しくなると見なして、該電流指令値を実電流の代用情報として用い、該電流指令値(実電流の代用情報)と電流センサの出力(電流検出値)とからゲイン誤差情報(例えばゲイン誤差やゲイン誤差の比)を算出することで、ゲイン誤差情報を精度良く算出することができる。そして、このゲイン誤差情報を用いて電流センサの出力を補正することで、電流センサのゲイン誤差の影響を補正することができ、電流センサの出力に基づく電流検出精度やモータ制御精度を向上させることができる。   In this configuration, it is assumed that the current command value when the reactive current command is performed while the AC motor is stopped is substantially equal to the actual current flowing through the AC motor, and the current command value is used as substitute information for the actual current. Gain error information can be calculated accurately by calculating gain error information (for example, gain error or gain error ratio) from the current command value (actual current substitute information) and the output of the current sensor (current detection value). Can do. By correcting the output of the current sensor using this gain error information, the influence of the gain error of the current sensor can be corrected, and the current detection accuracy based on the output of the current sensor and the motor control accuracy can be improved. Can do.

ところで、無効電流指令を行う際に、交流モータのロータ回転停止位置(磁極位置)に応じて各相の電流指令値が変化(増減)するため、交流モータのロータ回転停止位置によっては電流センサで検出する相の電流指令値が0となる場合があり、電流センサで検出する相の電流指令値(実電流の代用情報)が0の場合には、ゲイン誤差情報を算出することができない。   By the way, when the reactive current command is issued, the current command value of each phase changes (increases / decreases) according to the rotor rotation stop position (magnetic pole position) of the AC motor. Therefore, depending on the rotor rotation stop position of the AC motor, In some cases, the current command value of the phase to be detected becomes 0, and when the current command value of the phase detected by the current sensor (substitute information of the actual current) is 0, the gain error information cannot be calculated.

この対策として、請求項1に係る発明は、無効電流指令を行う際に交流モータのロータ回転停止位置が算出不能位置(電流センサで検出する相の電流指令値が0となる回転位置)の場合には交流モータにトルクを発生させて該交流モータのロータ回転停止位置を算出不能位置以外の回転位置(電流センサで検出する相の電流指令値が0とならない回転位置)に変更するようにしている。   As a countermeasure against this, in the invention according to claim 1, when the reactive current command is issued, the rotor rotation stop position of the AC motor is a position that cannot be calculated (the rotation position where the current command value of the phase detected by the current sensor is 0). In this case, torque is generated in the AC motor, and the rotor rotation stop position of the AC motor is changed to a rotation position other than the position where calculation is impossible (rotation position where the current command value of the phase detected by the current sensor is not zero). Yes.

このようにすれば、無効電流指令を行う際に交流モータの最初のロータ回転停止位置が算出不能位置の場合には、交流モータのロータ回転停止位置を算出不能位置以外の回転位置に変更してから無効電流指令を行うことができる。これにより、無効電流指令時に電流センサで検出する相の電流指令値(実電流の代用情報)が0になることを回避でき、交流モータの最初のロータ回転停止位置が算出不能位置の場合でも、ゲイン誤差情報を算出することができる。   In this way, if the first rotor rotation stop position of the AC motor is a position that cannot be calculated when the reactive current command is issued, the rotor rotation stop position of the AC motor is changed to a rotation position other than the position that cannot be calculated. The reactive current command can be issued from As a result, it is possible to avoid that the phase current command value (substitute information of the actual current) detected by the current sensor at the time of the reactive current command becomes 0, and even when the first rotor rotation stop position of the AC motor is a position that cannot be calculated, Gain error information can be calculated.

この場合、請求項2のように、交流モータのロータ回転停止位置を所定の目標停止位置に一致させるように交流モータを制御して該交流モータのロータ回転停止位置を変更するようにすると良い。このようにすれば、無効電流指令を行う際に交流モータの最初のロータ回転停止位置が算出不能位置の場合に、交流モータのロータ回転停止位置を所定の目標停止位置(例えばゲイン誤差情報の算出に適した位置)に変更することが可能となり、ゲイン誤差情報を精度良く算出することができる。   In this case, as described in claim 2, it is preferable to change the rotor rotation stop position of the AC motor by controlling the AC motor so that the rotor rotation stop position of the AC motor matches a predetermined target stop position. In this way, if the first rotor rotation stop position of the AC motor is a position that cannot be calculated when the reactive current command is issued, the rotor rotation stop position of the AC motor is set to a predetermined target stop position (for example, calculation of gain error information). It is possible to calculate the gain error information with high accuracy.

或は、請求項3のように、交流モータに所定の目標トルクを発生させるように交流モータを制御して該交流モータのロータ回転停止位置を変更するようにしても良い。このようにすれば、無効電流指令を行う際に交流モータの最初のロータ回転停止位置が算出不能位置の場合に、交流モータに所定の目標トルクを発生させるという簡単な制御で交流モータのロータ回転停止位置を算出不能位置以外の回転位置に変更することができる。   Alternatively, as described in claim 3, the AC motor may be controlled to change the rotor rotation stop position of the AC motor so that a predetermined target torque is generated in the AC motor. In this way, when the reactive current command is issued, if the initial rotor rotation stop position of the AC motor is a non-calculatable position, the rotor rotation of the AC motor can be controlled by simple control in which the AC motor generates a predetermined target torque. The stop position can be changed to a rotational position other than the uncalculatable position.

また、無効電流指令を行う際に、交流モータのロータ回転停止位置(磁極位置)に応じて各相の電流指令値が変化(増減)するため、交流モータのロータ回転停止位置によっては電流センサで検出する相の電流指令値がかなり小さい値になる場合があり、電流センサで検出する相の電流指令値(実電流の代用情報)が小さ過ぎると、電流センサの出力が小さ過ぎて、ゲイン誤差情報を精度良く算出できない可能性がある。   Also, when a reactive current command is issued, the current command value of each phase changes (increases / decreases) according to the rotor rotation stop position (magnetic pole position) of the AC motor. The current command value of the phase to be detected may be quite small. If the current command value of the phase detected by the current sensor (substitute information for the actual current) is too small, the output of the current sensor will be too small, resulting in a gain error. Information may not be calculated accurately.

そこで、請求項4のように、交流モータの停止中に該交流モータのロータ回転座標として設定したd−q座標系におけるd軸指令電流を0以外の所定値に設定してq軸指令電流を0に設定することで該交流モータのトルク発生に寄与しない無効電流を該交流モータに流すように指令する無効電流指令を行い、該無効電流指令を行ったときの電流指令値と電流センサの出力とに基づいて該電流センサのゲイン誤差又はこれに関連性のある情報(以下これらを「ゲイン誤差情報」と総称する)を算出するゲイン誤差情報算出手段と、このゲイン誤差情報算出手段で算出したゲイン誤差情報を用いて電流センサの出力を補正するセンサ出力補正手段と、無効電流指令を行う際に交流モータのロータ回転停止位置が電流センサで検出する相の電流指令値が所定の閾値以下になる回転位置領域の場合には無効電流指令を行う際のd軸指令電流を所定値よりも増大させるd軸指令電流増大制御手段とを備えた構成としても良い。   Therefore, as in claim 4, the d-axis command current in the dq coordinate system set as the rotor rotation coordinate of the AC motor is set to a predetermined value other than 0 while the AC motor is stopped, and the q-axis command current is When set to 0, a reactive current command is issued to command a reactive current that does not contribute to torque generation of the AC motor to flow through the AC motor, and the current command value and current sensor output when the reactive current command is issued Gain error information calculating means for calculating the gain error of the current sensor or information related thereto (hereinafter collectively referred to as “gain error information”), and the gain error information calculating means. Sensor output correction means for correcting the output of the current sensor using the gain error information, and a phase current command that the rotor rotation stop position of the AC motor detects by the current sensor when the reactive current command is issued There may be a configuration in which a d-axis command current increase control means for increasing than the predetermined value d-axis command current when performing the reactive current command in the case of the rotational position region falls below a predetermined threshold.

このようにすれば、無効電流指令を行う際に交流モータのロータ回転停止位置が電流センサで検出する相の電流指令値が所定の閾値以下になる回転位置領域の場合には、無効電流指令時に電流センサで検出する相の電流指令値(実電流の代用情報)が小さ過ぎて、ゲイン誤差情報を精度良く算出できないと判断して、無効電流指令を行う際のd軸指令電流を所定値よりも増大させることで、無効電流指令時に電流センサで検出する相の電流指令値を増大させることができ、ゲイン誤差情報を精度良く算出できる領域(無効電流指令時に電流センサで検出する相の電流指令値が閾値よりも大きくなる領域)を拡大することができる。   In this way, when the reactive current command is issued, the rotor rotation stop position of the AC motor is in the rotational position region where the current command value of the phase detected by the current sensor is equal to or less than the predetermined threshold value. It is determined that the gain current information cannot be accurately calculated because the phase current command value (actual current substitute information) detected by the current sensor is too small, and the d-axis command current when performing the reactive current command is greater than the predetermined value. Can also increase the phase current command value detected by the current sensor at the time of reactive current command, and can accurately calculate gain error information (phase current command value detected by the current sensor at reactive current command). The region where the value is larger than the threshold value can be enlarged.

また、請求項5のように、交流モータの各相のうちの第1の相に流れる電流を検出する第1の電流センサ及び第2の相に流れる電流を検出する第2の電流センサとを備えている場合には、無効電流指令を行ったときの第1及び第2の相の電流指令値の比(第1の相の電流指令値と第2の相の電流指令値との比)と、第1及び第2の電流センサの出力の比(第1の電流センサの出力と第2の電流センサの出力との比)とに基づいて、第1及び第2の電流センサのゲイン誤差の比(第1の電流センサのゲイン誤差と第2の電流センサのゲイン誤差との比)をゲイン誤差情報として算出し、このゲイン誤差の比を用いて第1の電流センサの出力又は第2の電流センサの出力を補正するようにしても良い。   Further, as in claim 5, a first current sensor for detecting a current flowing in the first phase of each phase of the AC motor and a second current sensor for detecting a current flowing in the second phase. If so, the ratio of the current command values of the first and second phases when the reactive current command is performed (ratio of the current command value of the first phase and the current command value of the second phase) And the gain error of the first and second current sensors based on the ratio of the outputs of the first and second current sensors (ratio of the output of the first current sensor and the output of the second current sensor). (The ratio between the gain error of the first current sensor and the gain error of the second current sensor) is calculated as gain error information, and the output of the first current sensor or the second is calculated using this gain error ratio. The output of the current sensor may be corrected.

このようにすれば、第1及び第2の相の電流指令値(実電流の代用情報)の比と、第1及び第2の電流センサの出力(電流検出値)の比とに基づいて、第1及び第2の電流センサのゲイン誤差の比を算出することで、ゲイン誤差の比を精度良く算出することができる。そして、このゲイン誤差の比を用いて第1の電流センサの出力と第2の電流センサの出力のうちの一方を補正することで、第1の電流センサと第2の電流センサのゲイン誤差の不均衡を補正することができ、第1及び第2の電流センサの出力に基づくモータ制御精度を向上させることができる。   In this way, based on the ratio of the first and second phase current command values (actual current substitute information) and the ratio of the first and second current sensor outputs (current detection values), By calculating the gain error ratio of the first and second current sensors, the gain error ratio can be calculated with high accuracy. Then, by correcting one of the output of the first current sensor and the output of the second current sensor using this gain error ratio, the gain error of the first current sensor and the second current sensor is corrected. The imbalance can be corrected, and the motor control accuracy based on the outputs of the first and second current sensors can be improved.

尚、本発明は、ゲイン誤差情報として、第1及び第2の電流センサのゲイン誤差の比を算出する構成に限定されず、無効電流指令を行ったときの電流指令値(実電流の代用情報)と電流センサの出力(電流検出値)とに基づいて電流センサのゲイン誤差を算出し、このゲイン誤差を用いて電流センサの出力を補正することで、電流センサのゲイン誤差による電流検出値のずれを補正して、電流センサの出力に基づく電流検出精度やモータ制御精度を向上させるようにしても良い。   The present invention is not limited to the configuration for calculating the gain error ratio of the first and second current sensors as the gain error information, and the current command value (actual current substitute information) when the reactive current command is issued. ) And the current sensor output (current detection value), the current sensor gain error is calculated and the current sensor output is corrected using this gain error. The deviation may be corrected to improve current detection accuracy and motor control accuracy based on the output of the current sensor.

図1は本発明の実施例1における交流モータ制御システム全体の概略構成図である。FIG. 1 is a schematic configuration diagram of an entire AC motor control system according to Embodiment 1 of the present invention. 図2は例としてオープンループ時のゲイン誤差比算出機能を説明するブロック図である。FIG. 2 is a block diagram illustrating a gain error ratio calculation function during open loop as an example. 図3は無効電流指令時のロータ回転停止位置と各相の電流指令値との関係を示す図である。FIG. 3 is a diagram showing the relationship between the rotor rotation stop position at the time of the reactive current command and the current command value of each phase. 図4は算出不能位置を説明する図である。FIG. 4 is a diagram for explaining a position that cannot be calculated. 図5は算出最適位置を説明する図である。FIG. 5 is a diagram for explaining the calculated optimum position. 図6は実施例1の位置決め制御を説明するブロック図である。FIG. 6 is a block diagram for explaining the positioning control of the first embodiment. 図7は実施例1のゲイン誤差比算出ルーチンの処理の流れを説明するフローチャートである。FIG. 7 is a flowchart for explaining the processing flow of the gain error ratio calculation routine of the first embodiment. 図8はセンサ出力補正ルーチンの処理の流れを説明するフローチャートである。FIG. 8 is a flowchart for explaining the flow of processing of the sensor output correction routine. 図9は実施例2の目標トルク制御を説明する図である。FIG. 9 is a diagram illustrating target torque control according to the second embodiment. 図10は実施例2のゲイン誤差比算出ルーチンの処理の流れを説明するフローチャートである。FIG. 10 is a flowchart for explaining the processing flow of the gain error ratio calculation routine of the second embodiment. 図11の(a)はd軸指令電流Id の増大前における無効電流指令時のロータ回転停止位置と各相の電流指令値との関係を示す図であり、図11の(b)はd軸指令電流Id の増大後における無効電流指令時のロータ回転停止位置と各相の電流指令値との関係を示す図である。FIG. 11A is a diagram showing the relationship between the rotor rotation stop position and the current command value of each phase at the time of the reactive current command before the increase of the d-axis command current Id, and FIG. It is a figure which shows the relationship between the rotor rotation stop position at the time of the reactive current command after increase of the command current Id, and the current command value of each phase. 図12は実施例3のゲイン誤差比算出ルーチンの処理の流れを説明するフローチャートである。FIG. 12 is a flowchart for explaining the processing flow of the gain error ratio calculation routine of the third embodiment.

以下、本発明を実施するための形態を、交流モータを駆動源とする電気自動車又はハイブリッド車に適用して具体化した幾つかの実施例を説明する。   Hereinafter, some embodiments in which the mode for carrying out the present invention is applied to an electric vehicle or a hybrid vehicle using an AC motor as a drive source will be described.

本発明の実施例1を図1乃至図8に基づいて説明する。
まず、図1に基づいて交流モータ制御システム全体の概略構成を説明する。
二次電池等からなる直流電源11には、昇圧コンバータ12が接続され、この昇圧コンバータ12は、直流電源11の直流電圧を昇圧してシステム電源ライン13とアースライン14との間に直流のシステム電圧を発生させたり、このシステム電圧を降圧して直流電源11に電力を戻す機能を持つ。システム電源ライン13とアースライン14との間には、システム電圧を平滑化する平滑コンデンサ15や、電圧制御型の三相のインバータ16が接続され、このインバータ16で交流モータ17が駆動される。
A first embodiment of the present invention will be described with reference to FIGS.
First, a schematic configuration of the entire AC motor control system will be described with reference to FIG.
A step-up converter 12 is connected to a DC power source 11 composed of a secondary battery or the like. The step-up converter 12 boosts the DC voltage of the DC power source 11 and a DC system between the system power line 13 and the earth line 14. It has a function of generating a voltage and returning the power to the DC power supply 11 by reducing the system voltage. A smoothing capacitor 15 that smoothes the system voltage and a voltage-controlled three-phase inverter 16 are connected between the system power supply line 13 and the earth line 14, and an AC motor 17 is driven by the inverter 16.

交流モータ17は、三相永久磁石式同期モータで、永久磁石が内蔵されたものであり、ロータの回転位置θを検出するロータ回転位置センサ18が搭載されている。昇圧コンバータ12には、入力コンデンサ19とリアクトル20と、2つのスイッチング素子21,22が設けられ、各スイッチング素子21,22に、それぞれ還流ダイオード23,24が並列に接続されている。また、電圧制御型の三相のインバータ16には、6つのスイッチ素子25〜30(上アームの各相の3つのスイッチング素子25,27,29と下アームの各相の3つのスイッチング素子26,28,30)が設けられ、各スイッチング素子25〜30に、それぞれ還流ダイオード31〜36が並列に接続されている。   The AC motor 17 is a three-phase permanent magnet type synchronous motor and has a built-in permanent magnet, and is mounted with a rotor rotational position sensor 18 that detects the rotational position θ of the rotor. The step-up converter 12 is provided with an input capacitor 19, a reactor 20, and two switching elements 21 and 22, and free-wheeling diodes 23 and 24 are connected in parallel to the switching elements 21 and 22, respectively. Further, the voltage control type three-phase inverter 16 includes six switch elements 25 to 30 (three switching elements 25, 27, 29 for each phase of the upper arm and three switching elements 26, each phase for the lower arm). 28, 30), and free-wheeling diodes 31 to 36 are connected in parallel to the switching elements 25 to 30, respectively.

このインバータ16は、モータ制御回路37から出力される三相の6アーム電圧指令信号UU,UL,VU,VL,WU,WLに基づいて、システム電源ライン13の直流電圧(昇圧コンバータ12によって昇圧されたシステム電圧)を三相の交流電圧U,V,Wに変換して交流モータ17を駆動する。交流モータ17のV相に流れるV相電流ivがV相電流センサ38によって検出され、交流モータ17のW相に流れるW相電流iwがW相電流センサ39によって検出される。   The inverter 16 is boosted by the boost converter 12 based on the DC voltage of the system power line 13 based on the three-phase six-arm voltage command signals UU, UL, VU, VL, WU, WL output from the motor control circuit 37. System voltage) is converted into three-phase AC voltages U, V, and W to drive AC motor 17. A V-phase current iv flowing in the V phase of AC motor 17 is detected by V phase current sensor 38, and a W phase current iw flowing in the W phase of AC motor 17 is detected by W phase current sensor 39.

モータ制御回路37は、システム電圧が目標電圧となるように昇圧コンバータ12を制御すると共に、交流モータ17の出力トルクが目標トルク(トルク指令値)となるようにインバータ16を制御して交流モータ17に印加する交流電圧を調整するトルク制御を実行する。このトルク制御では、図示しないメイン制御回路等から出力されるトルク指令値と、交流モータ17のV相電流ivとW相電流iw(電流センサ38,39の出力信号)と、交流モータ17のロータ回転位置θ(ロータ回転位置センサ18の出力信号)とに基づいて、例えば正弦波PWM制御方式又は矩形波制御方式等で三相電圧指令信号を生成してインバータ16に出力する。   The motor control circuit 37 controls the boost converter 12 so that the system voltage becomes the target voltage, and controls the inverter 16 so that the output torque of the AC motor 17 becomes the target torque (torque command value). Torque control is performed to adjust the AC voltage applied to. In this torque control, a torque command value output from a main control circuit (not shown), the V-phase current iv and the W-phase current iw of the AC motor 17 (output signals of the current sensors 38 and 39), and the rotor of the AC motor 17 Based on the rotational position θ (the output signal of the rotor rotational position sensor 18), a three-phase voltage command signal is generated by, for example, a sine wave PWM control system or a rectangular wave control system and output to the inverter 16.

また、モータ制御回路37は、後述する図7のゲイン誤差比算出ルーチンを実行することで、交流モータ17の制御システムの起動直後のシステムチェック処理中(つまり交流モータ17の制御開始前の交流モータ17の停止中)に、交流モータ17のトルク発生に寄与しない無効電流を交流モータ17に流すように指令する無効電流指令を行い、この無効電流指令を行ったときのV相及びW相の電流指令値の比(Iv /Iw )と、V相及びW相の電流センサ38,39の出力の比(iv /iw )とに基づいて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )をゲイン誤差情報として算出する。この場合、V相とW相が特許請求の範囲でいう第1の相と第2の相に相当し、V相の電流センサ38とW相の電流センサ39が特許請求の範囲でいう第1の電流センサと第2の電流センサに相当する。   Further, the motor control circuit 37 executes a gain error ratio calculation routine shown in FIG. 7 to be described later, thereby performing a system check process immediately after activation of the control system of the AC motor 17 (that is, the AC motor before the control of the AC motor 17 is started). 17), a reactive current command is issued to instruct the reactive current that does not contribute to the torque generation of the AC motor 17 to flow to the AC motor 17, and the V-phase and W-phase currents when the reactive current command is issued. Based on the ratio of the command values (Iv / Iw) and the ratio of the outputs of the V-phase and W-phase current sensors 38, 39 (iv / iw), the gain error of the V-phase and W-phase current sensors 38, 39 Ratio (kv / kw) is calculated as gain error information. In this case, the V phase and the W phase correspond to the first phase and the second phase in the claims, and the V phase current sensor 38 and the W phase current sensor 39 are the first phase in the claims. This corresponds to the current sensor and the second current sensor.

具体的には、図2に示すように、まず、交流モータ17のロータ回転座標として設定したd−q座標系における指令電流ベクトル(d軸指令電流Id ,q軸指令電流Iq)のd軸指令電流Id を0以外の所定値αに設定すると共にq軸指令電流Iq を0に設定することで、d−q座標系のd軸上に電流ベクトルを制御するように設定して、交流モータ17のトルク発生に寄与しない無効電流(d軸電流、或は磁束分電流)を交流モータ17に流すように指令する無効電流指令、すなわちゼロトルク指令を行う。   Specifically, as shown in FIG. 2, first, the d-axis command of the command current vector (d-axis command current Id, q-axis command current Iq) in the dq coordinate system set as the rotor rotation coordinates of the AC motor 17 is used. By setting the current Id to a predetermined value α other than 0 and setting the q-axis command current Iq to 0, the AC motor 17 is set to control the current vector on the d-axis of the dq coordinate system. The reactive current command that instructs the AC motor 17 to flow a reactive current (d-axis current or flux-divided current) that does not contribute to the generation of torque, that is, a zero torque command is performed.

この場合、指令電流ベクトル(d軸指令電流Id ,q軸指令電流Iq)を指令電圧ベクトル(d軸指令電圧Vd ,q軸指令電圧Vq )に変換し、この指令電圧ベクトル(d軸指令電圧Vd ,q軸指令電圧Vq )と、ロータ回転位置センサ18で検出した交流モータ17のロータ回転位置θ(ロータ回転停止位置)とに基づいて、三相電圧指令値Vu ,Vv ,Vw を求める。この後、三相電圧指令値Vu ,Vv ,Vw を、例えば正弦波PWM制御方式又は矩形波制御方式等で三相の6アーム電圧指令信号UU,UL,VU,VL,WU,WLに変換し、これらの三相の6アーム電圧指令信号UU,UL,VU,VL,WU,WLをインバータ16に出力する。これにより、交流モータ17のトルク発生に寄与しない無効電流を交流モータ17に流す。   In this case, the command current vector (d-axis command current Id, q-axis command current Iq) is converted into a command voltage vector (d-axis command voltage Vd, q-axis command voltage Vq), and this command voltage vector (d-axis command voltage Vd , Q-axis command voltage Vq) and the rotor rotation position θ (rotor rotation stop position) of AC motor 17 detected by rotor rotation position sensor 18 determine three-phase voltage command values Vu, Vv, Vw. Thereafter, the three-phase voltage command values Vu, Vv, Vw are converted into three-phase six-arm voltage command signals UU, UL, VU, VL, WU, WL by, for example, a sine wave PWM control method or a rectangular wave control method. These three-phase six-arm voltage command signals UU, UL, VU, VL, WU, WL are output to the inverter 16. As a result, a reactive current that does not contribute to torque generation of the AC motor 17 is caused to flow through the AC motor 17.

また、V相電流指令値Iv とW相電流指令値Iw は、指令電流ベクトル(d軸指令電流Id ,q軸指令電流Iq )と交流モータ17のロータ回転位置θ(ロータ回転停止位置)とを用いて下記(1),(2)式により表すことができる。   Further, the V-phase current command value Iv and the W-phase current command value Iw are obtained by calculating a command current vector (d-axis command current Id, q-axis command current Iq) and a rotor rotation position θ (rotor rotation stop position) of the AC motor 17. And can be expressed by the following equations (1) and (2).

Figure 2011087395
Figure 2011087395

無効電流指令を行ったときには、Iq =0となるため、上記(1),(2)式から下記(3),(4)式が得られる。   Since Iq = 0 when the reactive current command is issued, the following equations (3) and (4) are obtained from the above equations (1) and (2).

Figure 2011087395
Figure 2011087395

更に、上記(3),(4)式から下記(5)式が得られる。
Iv /Iw =cos(θ−2/3×π)/cos(θ+2/3×π) ……(5)
上記(5)式によって、無効電流指令を行ったときのV相電流指令値Iv とW相電流指令値Iw との比(Iv /Iw )を求めることができ、その際、V相及びW相の電流指令値の比(Iv /Iw )は、機器定数(抵抗R等)の影響を受けずに交流モータ17のロータ回転位置θ(ロータ回転停止位置)のみによって決まる。
Furthermore, the following formula (5) is obtained from the above formulas (3) and (4).
Iv / Iw = cos ([theta] -2 / 3 * [pi]) / cos ([theta] + 2/3 * [pi]) (5)
From the above equation (5), the ratio (Iv / Iw) between the V-phase current command value Iv and the W-phase current command value Iw when the reactive current command is performed can be obtained. The current command value ratio (Iv / Iw) is determined only by the rotor rotation position θ (rotor rotation stop position) of the AC motor 17 without being affected by the device constant (resistance R or the like).

本実施例1では、交流モータ17の停止中に無効電流指令を行ったときの三相電流指令値Iu ,Iv ,Iw が、交流モータ17の各相に流れる実電流とほぼ等しくなると見なして、V相電流指令値Iv をV相の実電流の代用情報として用いると共に、W相電流指令値Iw をW相の実電流の代用情報として用いる。   In the first embodiment, it is assumed that the three-phase current command values Iu, Iv, Iw when the reactive current command is issued while the AC motor 17 is stopped are substantially equal to the actual currents flowing in the respective phases of the AC motor 17, The V-phase current command value Iv is used as substitute information for the V-phase actual current, and the W-phase current command value Iw is used as substitute information for the W-phase actual current.

V相及びW相の電流センサ38,39のオフセット誤差補正後であれば、V相電流検出値iv (V相電流センサ38の出力)は、V相電流センサ38のゲイン誤差kv とV相電流指令値Iv (V相の実電流の代用情報)とを用いて下記(6)式により表すことができ、W相電流検出値iw (W相電流センサ39の出力)は、W相電流センサ39のゲイン誤差kw とW相電流指令値Iw (W相の実電流の代用情報)とを用いて下記(7)式により表すことができる。
iv =kv ×Iv ……(6)
iw =kw ×Iw ……(7)
If the offset errors of the V-phase and W-phase current sensors 38 and 39 are corrected, the V-phase current detection value iv (the output of the V-phase current sensor 38) is the gain error kv of the V-phase current sensor 38 and the V-phase current. The command value Iv (substitute information of the V-phase actual current) can be used to express the following equation (6). The W-phase current detection value iw (the output of the W-phase current sensor 39) is the W-phase current sensor 39. The gain error kw and the W-phase current command value Iw (substitute information of the W-phase actual current) can be expressed by the following equation (7).
iv = kv xIv (6)
iw = kw × Iw (7)

上記(6),(7)式から下記(8)式が得られる。
kv /kw =(iv /iw )/(Iv /Iw ) ……(8)
上記(8)式によって、無効電流指令を行ったときのV相及びW相の電流指令値の比(Iv /Iw )と、V相及びW相の電流センサ38,39の出力の比(iv /iw )とを用いて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を求めることができる。
The following formula (8) is obtained from the above formulas (6) and (7).
kv / kw = (iv / iw) / (Iv / Iw) (8)
According to the above equation (8), the ratio (Iv / Iw) of the V-phase and W-phase current command values when the reactive current command is performed, and the ratio (iv) of the outputs of the V-phase and W-phase current sensors 38 and 39 / Iw) can be used to determine the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39.

前述したように、V相及びW相の電流指令値の比(Iv /Iw )は、機器定数(抵抗R等)の影響を受けずに交流モータ17のロータ回転位置θ(ロータ回転停止位置)のみによって決まるため、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )は、機器定数(抵抗R等)の影響を受けずに求めることができる。   As described above, the ratio (Iv / Iw) between the current command values of the V phase and the W phase is not affected by the device constant (resistance R or the like), and the rotor rotation position θ (rotor rotation stop position) of the AC motor 17. Therefore, the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38 and 39 can be obtained without being affected by the device constant (resistance R or the like).

このようにして求めたV相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )は、モータ制御回路37のバックアップRAM40等の書き換え可能な不揮発性メモリ(モータ制御回路37の電源オフ中でも記憶データを保持する書き換え可能なメモリ)に記憶される。   The gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39 thus obtained is a rewritable nonvolatile memory (such as the backup RAM 40 of the motor control circuit 37). The data is stored in a rewritable memory that holds stored data even when the power is off.

更に、モータ制御回路37は、後述する図8のセンサ出力補正ルーチンを実行して、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を用いてW相電流センサ39の出力(W相電流検出値iw )を補正することで、V相電流センサ38とW相電流センサ39のゲイン誤差の不均衡を補正する。   Further, the motor control circuit 37 executes a sensor output correction routine shown in FIG. 8 to be described later, and uses the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38 and 39 to make a W-phase current sensor. By correcting the output 39 (W-phase current detection value iw), the gain error imbalance between the V-phase current sensor 38 and the W-phase current sensor 39 is corrected.

具体的には、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を用いてW相電流センサ39の出力(W相電流検出値iw )を次式により補正して最終的なW相電流検出値iw'を求め、V相電流センサ38の出力(V相電流検出値iv )をそのまま最終的なV相電流検出値iv'とする。
iv'=iv ……(9)
iw'=iw ×(kv /kw ) ……(10)
Specifically, the output (W-phase current detection value iw) of the W-phase current sensor 39 is corrected by the following equation using the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39. Thus, the final detected W-phase current value iw ′ is obtained, and the output of the V-phase current sensor 38 (V-phase current detected value iv) is directly used as the final V-phase current detected value iv ′.
iv '= iv (9)
iw ′ = iw × (kv / kw) (10)

上記(9),(10)式は、それぞれ上記(6),(7)式の関係を用いて次のように表すことができる。
iv'=iv =kv ×Iv
iw'=iw ×(kv /kw )=kw ×Iw ×(kv /kw )=kv ×Iw
The above equations (9) and (10) can be expressed as follows using the relationships of the above equations (6) and (7), respectively.
iv '= iv = kv × Iv
iw '= iw * (kv / kw) = kw * Iw * (kv / kw) = kv * Iw

これにより、最終的なV相電流検出値iv'と最終的なW相電流検出値iw'のゲイン誤差をV相電流センサ38のゲイン誤差kv に揃えることができ、V相電流センサ38とW相電流センサ39のゲイン誤差の不均衡を補正することができる。   As a result, the gain error between the final V-phase current detection value iv ′ and the final W-phase current detection value iw ′ can be aligned with the gain error kv of the V-phase current sensor 38. The gain error imbalance of the phase current sensor 39 can be corrected.

或は、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を用いてV相電流センサ38の出力(V相電流検出値iv )を補正することで、V相電流センサ38とW相電流センサ39のゲイン誤差の不均衡を補正するようにしても良い。   Alternatively, by correcting the output (V-phase current detection value iv) of the V-phase current sensor 38 using the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39, The gain error imbalance between the current sensor 38 and the W-phase current sensor 39 may be corrected.

具体的には、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を用いてV相電流センサ38の出力(V相電流検出値iv )を次式により補正して最終的なV相電流検出値iv を求め、W相電流センサ39の出力(W相電流検出値iw )をそのまま最終的なW相電流検出値iw'とする。
iv'=iv /(kv /kw ) ……(11)
iw'=iw ……(12)
Specifically, the output (V-phase current detection value iv) of the V-phase current sensor 38 is corrected by the following equation using the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39. Thus, the final V-phase current detection value iv is obtained, and the output (W-phase current detection value iw) of the W-phase current sensor 39 is directly used as the final W-phase current detection value iw ′.
iv '= iv / (kv / kw) (11)
iw '= iw (12)

上記(11),(12)式は、それぞれ上記(6),(7)式の関係を用いて次のように表すことができる。
iv'=iv /(kv /kw )=kv ×Iv /(kv /kw )=kw ×Iv
iw'=iw =kw ×Iw
The above equations (11) and (12) can be expressed as follows using the relationships of the above equations (6) and (7), respectively.
iv '= iv / (kv / kw) = kv * Iv / (kv / kw) = kw * Iv
iw '= iw = kw × Iw

これにより、最終的なV相電流検出値iv'と最終的なW相電流検出値iw'のゲイン誤差をW相電流センサ39のゲイン誤差kw に揃えることができ、V相電流センサ38とW相電流センサ39のゲイン誤差の不均衡を補正することができる。   As a result, the gain error between the final V-phase current detection value iv ′ and the final W-phase current detection value iw ′ can be aligned with the gain error kw of the W-phase current sensor 39. The gain error imbalance of the phase current sensor 39 can be corrected.

尚、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を用いてV相電流センサ38の出力又はW相電流センサ39の出力を補正する処理は、電流センサ38,39の出力を用いて交流モータ17を制御するモータ制御ルーチン等で行うようにしても良い。   The process of correcting the output of the V-phase current sensor 38 or the output of the W-phase current sensor 39 using the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38 and 39 is the current sensor 38. , 39 may be used in a motor control routine or the like for controlling the AC motor 17 using the output of 39.

ところで、図3に示すように、無効電流指令を行う際に、交流モータ17のロータ回転停止位置(磁極位置)に応じて各相の電流指令値、或は電流検出値が変化(増減)するため、交流モータ17のロータ回転停止位置によってはV相電流指令値Iv =0となる場合やW相電流指令値Iw =0となる場合(或はV相電流検出値iv =0となる場合やW相電流検出値iw =0となる場合)があり、V相電流指令値Iv (V相の実電流の代用情報)やW相電流指令値Iw (W相の実電流の代用情報)が0となる場合(或はV相電流検出値iv やW相電流検出値が0となる場合)には、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出することができない。   As shown in FIG. 3, when a reactive current command is issued, the current command value of each phase or the current detection value changes (increases or decreases) according to the rotor rotation stop position (magnetic pole position) of the AC motor 17. Therefore, depending on the rotor rotation stop position of the AC motor 17, when the V-phase current command value Iv = 0 or when the W-phase current command value Iw = 0 (or when the V-phase current detection value iv = 0) W-phase current detection value iw = 0), and V-phase current command value Iv (substitute information for V-phase actual current) and W-phase current command value Iw (substitute information for W-phase actual current) are 0. (Or when the V-phase current detection value iv or the W-phase current detection value is 0), the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38 and 39 is calculated. Can not do it.

例えば、図4に示すように、交流モータ17のロータ回転停止位置(磁極位置)が電気角で30°,150°,210°,330°のいずれかのときに、V相電流指令値Iv =0又はW相電流指令値Iw =0となり、ゲイン誤差の比(kv /kw )を算出できない回転位置(以下「算出不能位置」という)となる。   For example, as shown in FIG. 4, when the rotor rotation stop position (magnetic pole position) of the AC motor 17 is 30 °, 150 °, 210 °, or 330 ° in electrical angle, the V-phase current command value Iv = 0 or W-phase current command value Iw = 0, and a rotational position where the gain error ratio (kv / kw) cannot be calculated (hereinafter referred to as “incomputable position”).

一方、図5に示すように、交流モータ17のロータ回転停止位置(磁極位置)が電気角で0°,90°,180°,270°のいずれかのときに、V相電流指令値Iv とW相電流指令値Iw が両方とも0以外の値で且つV相電流指令値Iv =W相電流指令値Iw となり、ゲイン誤差の比(kv /kw )の算出に適した回転位置(以下「算出最適位置」という)となる。   On the other hand, as shown in FIG. 5, when the rotor rotation stop position (magnetic pole position) of the AC motor 17 is any one of 0 °, 90 °, 180 °, and 270 ° in electrical angle, the V-phase current command value Iv and Both W-phase current command value Iw is a value other than 0 and V-phase current command value Iv = W-phase current command value Iw, and the rotation position suitable for calculating the gain error ratio (kv / kw) (hereinafter referred to as “calculation”) It is called “optimum position”.

この場合、算出不能位置から算出最適位置までの最大回転量は、電気角で30°となるため、交流モータ17の極対数が4の場合には、交流モータ17のロータ回転角(機械角)で7.5°(=30°/4)となり、交流モータ17の1/48回転に相当する。   In this case, since the maximum rotation amount from the position where calculation is impossible to the calculation optimal position is 30 ° in electrical angle, when the number of pole pairs of the AC motor 17 is 4, the rotor rotation angle (mechanical angle) of the AC motor 17 7.5 ° (= 30 ° / 4), which corresponds to 1/48 rotation of the AC motor 17.

そこで、モータ制御回路37は、後述する図7のゲイン誤差比算出ルーチンを実行することで、無効電流指令を行う際に交流モータ17のロータ回転停止位置が算出不能位置(無効電流指令時にV相電流指令値Iv =0又はW相電流指令値Iw =0となる回転位置)の場合には、交流モータ17にトルクを発生させて該交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置(無効電流指令時にV相電流指令値Iv とW相電流指令値Iw が両方とも0以外の値になる回転位置)に変更する。   Therefore, the motor control circuit 37 executes a gain error ratio calculation routine shown in FIG. 7 to be described later, so that the rotor rotation stop position of the AC motor 17 cannot be calculated when the reactive current command is issued (the V phase at the time of the reactive current command). In the case of the current command value Iv = 0 or the rotation position where the W-phase current command value Iw = 0), the torque is generated in the AC motor 17 to rotate the rotor rotation stop position of the AC motor 17 other than the position where the rotation cannot be calculated. The position is changed to the position (the rotational position where the V-phase current command value Iv and the W-phase current command value Iw are both non-zero during the reactive current command).

その際、本実施例1では、交流モータ17のロータ回転停止位置を所定の目標停止位置θ* に一致させるように交流モータ17を制御する位置決め制御を実行する。具体的には、図6に示すように、まず、目標停止位置θ* (例えば、算出最適位置のうちの現在の交流モータ17のロータ回転停止位置に一番近い回転位置)と、交流モータ17のロータ回転位置θ(ロータ回転位置センサ18の出力信号)との偏差を小さくするように目標回転角速度ω* を算出し、この目標回転角速度ω* と、ロータ回転位置センサ18の出力信号から求めた交流モータ17のロータ回転角速度ωとの偏差を小さくするように目標電流ベクトルI* (d軸目標電流Id*,q軸目標電流Iq*)を算出する。   At this time, in the first embodiment, positioning control for controlling the AC motor 17 is executed so that the rotor rotation stop position of the AC motor 17 coincides with a predetermined target stop position θ *. Specifically, as shown in FIG. 6, first, the target stop position θ * (for example, the rotation position closest to the current rotor rotation stop position of the AC motor 17 in the calculated optimum position) and the AC motor 17 The target rotational angular velocity ω * is calculated so as to reduce the deviation from the rotor rotational position θ (the output signal of the rotor rotational position sensor 18), and obtained from the target rotational angular velocity ω * and the output signal of the rotor rotational position sensor 18. The target current vector I * (d-axis target current Id *, q-axis target current Iq *) is calculated so as to reduce the deviation from the rotor rotational angular velocity ω of the AC motor 17.

この目標電流ベクトルI* (d軸目標電流Id*,q軸目標電流Iq*)と、交流モータ17のV相電流ivとW相電流iw(電流センサ38,39の出力信号)から求めた電流ベクトルi(d軸電流id ,q軸電流iq )との偏差を小さくするように目標電圧ベクトルV* (d軸目標電圧Vd*,q軸目標電圧Vq*)を算出し、この目標電圧ベクトルV* (d軸目標電圧Vd*,q軸目標電圧Vq*)を三相の6アーム電圧指令信号に変換し、これらの三相の6アーム電圧指令信号をインバータ16に出力する。これにより、交流モータ17にトルクを発生させてロータ回転停止位置を目標停止位置θ* に変更する。   Current obtained from this target current vector I * (d-axis target current Id *, q-axis target current Iq *), V-phase current iv and W-phase current iw of AC motor 17 (output signals of current sensors 38 and 39). A target voltage vector V * (d-axis target voltage Vd *, q-axis target voltage Vq *) is calculated so as to reduce the deviation from the vector i (d-axis current id, q-axis current iq), and this target voltage vector V * (D-axis target voltage Vd *, q-axis target voltage Vq *) is converted into a three-phase six-arm voltage command signal, and these three-phase six-arm voltage command signals are output to the inverter 16. As a result, torque is generated in the AC motor 17 to change the rotor rotation stop position to the target stop position θ *.

このようにすれば、無効電流指令を行う際に交流モータの最初のロータ回転停止位置が算出不能位置の場合には、位置決め制御によって交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置である目標停止位置θ* (例えば算出最適位置)に変更してから無効電流指令を行うことができる。   In this way, if the first rotor rotation stop position of the AC motor is a position that cannot be calculated when the reactive current command is issued, the rotor rotation stop position of the AC motor 17 is determined to be a rotation position other than the position that cannot be calculated by positioning control. The reactive current command can be issued after the target stop position θ * (for example, the calculated optimum position) is changed.

尚、位置決め制御の目標停止位置θ* は、算出最適位置に限定されず、適宜変更しても良く、例えば、算出最適位置と算出不能位置との間の回転位置に設定しても良い。その際、目標停止位置θ* は、運転者に不快なショックを感じさせない範囲内で算出最適位置にできるだけ近い回転位置に設定するようにしても良い。また、運転者に不快なショックを感じさせないように位置決め制御中の交流モータ17の制御パラメータ(例えば目標電流や目標電圧等)やその変化量を所定ガード値でガード処理するようにしても良い。   The target stop position θ * of the positioning control is not limited to the calculated optimal position, and may be changed as appropriate. For example, the target stop position θ * may be set to a rotational position between the calculated optimal position and the uncalculatable position. At that time, the target stop position θ * may be set to a rotational position as close as possible to the calculated optimum position within a range in which the driver does not feel an unpleasant shock. In addition, the control parameter (for example, target current, target voltage, etc.) of the AC motor 17 during positioning control and the amount of change thereof may be guarded with a predetermined guard value so that the driver does not feel an unpleasant shock.

以下、モータ制御回路37が実行する図7のゲイン誤差比算出ルーチン及び図8のセンサ出力補正ルーチンの処理内容を説明する。
[ゲイン誤差比算出]
図7に示すゲイン誤差比算出ルーチンは、モータ制御回路37の電源オン後に所定周期で繰り返し実行され、特許請求の範囲でいうゲイン誤差情報算出手段としての役割を果たす。本ルーチンが起動されると、まず、ステップ101で、交流モータ17の制御システムの起動直後(モータ制御回路37の電源オン直後)のシステムチェック処理中であるか否かを判定し、システムチェック処理中でなければ、ステップ102以降の処理を行うことなく、本ルーチンを終了する。
The processing contents of the gain error ratio calculation routine of FIG. 7 and the sensor output correction routine of FIG. 8 executed by the motor control circuit 37 will be described below.
[Gain error ratio calculation]
The gain error ratio calculation routine shown in FIG. 7 is repeatedly executed at a predetermined period after the motor control circuit 37 is turned on, and serves as a gain error information calculation means in the claims. When this routine is started, first, in step 101, it is determined whether or not the system check process is being performed immediately after the control system of the AC motor 17 is started (immediately after the motor control circuit 37 is turned on). If not, the routine is terminated without performing the processing from step 102 onward.

一方、上記ステップ101で、交流モータ17の制御システムの起動直後のシステムチェック処理中であると判定されれば、交流モータ17の制御開始前における交流モータ17の停止中であると判断して、ステップ102に進み、ロータ回転位置センサ18で検出した交流モータ17のロータ回転位置θをロータ回転停止位置として読み込む。   On the other hand, if it is determined in step 101 that the system check process is being performed immediately after the control system of the AC motor 17 is started, it is determined that the AC motor 17 is stopped before the control of the AC motor 17 is started. Proceeding to step 102, the rotor rotation position θ of the AC motor 17 detected by the rotor rotation position sensor 18 is read as the rotor rotation stop position.

この後、ステップ103に進み、交流モータ17のロータ回転停止位置が、無効電流指令時にV相電流指令値Iv =0となる回転位置又は無効電流指令時にW相電流指令値Iw =0となる回転位置であるか否かを判定する。ここで、無効電流指令時にV相電流指令値Iv =0となる回転位置と無効電流指令時にW相電流指令値Iw =0となる回転位置は、予めモータ制御回路37のROM(図示せず)等に記憶されている。   After this, the routine proceeds to step 103, where the rotor rotation stop position of the AC motor 17 is the rotation position at which the V-phase current command value Iv = 0 at the time of the reactive current command, or the rotation at which the W-phase current command value Iw = 0 at the time of the reactive current command. It is determined whether it is a position. Here, the rotational position at which the V-phase current command value Iv = 0 at the reactive current command and the rotational position at which the W-phase current command value Iw = 0 at the reactive current command are determined in advance in the ROM (not shown) of the motor control circuit 37. And so on.

このステップ103で、交流モータ17のロータ回転停止位置が無効電流指令時にV相電流指令値Iv =0となる回転位置ではなく且つ無効電流指令時にW相電流指令値Iw =0となる回転位置ではないと判定された場合には、ステップ104に進み、指令電流ベクトル(d軸指令電流Id ,q軸指令電流Iq)のd軸指令電流Id を0以外の所定値αに設定すると共にq軸指令電流Iq を0に設定することで、d−q座標系のd軸上に電流ベクトルを制御するように設定して、無効電流指令を行う。これにより、交流モータ17のトルク発生に寄与しない無効電流を交流モータ17に流す。   In step 103, the rotor rotation stop position of the AC motor 17 is not the rotational position where the V-phase current command value Iv = 0 when the reactive current command is given, and the rotational position where the W-phase current command value Iw = 0 when the reactive current command is given. If not, the process proceeds to step 104 where the d-axis command current Id of the command current vector (d-axis command current Id, q-axis command current Iq) is set to a predetermined value α other than 0 and the q-axis command By setting the current Iq to 0, the reactive vector is issued by setting the current vector to be controlled on the d-axis of the dq coordinate system. As a result, a reactive current that does not contribute to torque generation of the AC motor 17 is caused to flow through the AC motor 17.

この後、ステップ105に進み、交流モータ17のロータ回転位置θ(ロータ回転停止位置)を用いて、次式[上記(5)式]により、相電流指令値Iv (V相の実電流の代用情報)と、W相電流指令値Iw (W相の実電流の代用情報)との比(Iv /Iw )を求める。
Iv /Iw =cos(θ−2/3×π)/cos(θ+2/3×π)
Thereafter, the routine proceeds to step 105, where the phase current command value Iv (substituting the actual current of the V phase) is calculated by the following equation [Equation (5)] using the rotor rotation position θ (rotor rotation stop position) of the AC motor 17 Information) and the W-phase current command value Iw (substitute information of the W-phase actual current) (Iv / Iw).
Iv / Iw = cos (θ-2 / 3 × π) / cos (θ + 2/3 × π)

この後、ステップ106に進み、V相電流センサ38で検出したV相電流検出値iv (V相電流センサ38の出力)と、W相電流センサ39で検出したW相電流検出値iw (W相電流センサ39の出力)との比(iv /iw )を算出する。   Thereafter, the process proceeds to step 106, where the V-phase current detection value iv (output of the V-phase current sensor 38) detected by the V-phase current sensor 38 and the W-phase current detection value iw (W-phase) detected by the W-phase current sensor 39 are detected. The ratio (iv / iw) to the output of the current sensor 39 is calculated.

この後、ステップ107に進み、V相及びW相の電流指令値の比(Iv /Iw )と、V相及びW相の電流検出値の比(iv /iw )とを用いて、次式[上記(8)式]によりV相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を求める。
kv /kw =(iv /iw )/(Iv /Iw )
Thereafter, the process proceeds to step 107, and using the ratio of the V-phase and W-phase current command values (Iv / Iw) and the ratio of the V-phase and W-phase current detection values (iv / iw), the following equation [ The gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39 is obtained from the above equation (8).
kv / kw = (iv / iw) / (Iv / Iw)

この後、ステップ108に進み、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を、モータ制御回路37のバックアップRAM40等の書き換え可能な不揮発性メモリに記憶する。   Thereafter, the process proceeds to step 108, and the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38 and 39 is stored in a rewritable nonvolatile memory such as the backup RAM 40 of the motor control circuit 37.

これに対して、上記ステップ103で、交流モータ17のロータ回転停止位置が、無効電流指令時にV相電流指令値Iv =0となる回転位置又は無効電流指令時にW相電流指令値Iw =0となる回転位置であると判定された場合(つまり交流モータ17のロータ回転停止位置が算出不能位置であると判定された場合)には、このままのロータ回転停止位置では、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出することができないと判断して、ステップ109に進み、交流モータ17のロータ回転停止位置を所定の目標停止位置θ* (例えば算出最適位置)に一致させるように交流モータ17を制御する位置決め制御を実行する。これにより、交流モータ17にトルクを発生させてロータ回転停止位置を目標停止位置θ* に変更する。このステップ109の処理が特許請求の範囲でいう停止位置変更制御手段としての役割を果たす。   On the other hand, in step 103, the rotor rotation stop position of the AC motor 17 is the rotational position where the V-phase current command value Iv = 0 when the reactive current command is given, or the W-phase current command value Iw = 0 when the reactive current command is given. If it is determined that the rotation position of the rotor is not calculated (that is, if the rotor rotation stop position of the AC motor 17 is determined to be an uncalculatable position), the currents of the V phase and the W phase are maintained at the rotor rotation stop position. It is determined that the gain error ratio (kv / kw) of the sensors 38 and 39 cannot be calculated, and the routine proceeds to step 109 where the rotor rotation stop position of the AC motor 17 is set to a predetermined target stop position θ * (for example, calculation optimum) Positioning control for controlling the AC motor 17 so as to coincide with (position) is executed. As a result, torque is generated in the AC motor 17 to change the rotor rotation stop position to the target stop position θ *. The process of step 109 serves as stop position change control means in the claims.

このようにして、交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置である目標停止位置θ* に変更した後、無効電流指令を行い、該無効電流指令を行ったときのV相及びW相の電流指令値の比(Iv /Iw )と、V相及びW相の電流検出値の比(iv /iw )とに基づいて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出し、そのゲイン誤差の比(kv /kw )を、モータ制御回路37のバックアップRAM40等の書き換え可能な不揮発性メモリに記憶する(ステップ104〜108)。   In this way, after changing the rotor rotation stop position of the AC motor 17 to the target stop position θ * which is a rotation position other than the position where calculation is impossible, the reactive current command is issued, and the V phase when the reactive current command is issued And W phase current command value ratio (Iv / Iw) and V phase and W phase current detection value ratio (iv / iw) based on the gain of V phase and W phase current sensors 38 and 39 The error ratio (kv / kw) is calculated, and the gain error ratio (kv / kw) is stored in a rewritable nonvolatile memory such as the backup RAM 40 of the motor control circuit 37 (steps 104 to 108).

[センサ出力補正]
図8に示すセンサ出力補正ルーチンは、モータ制御中に所定周期(例えば電流センサ38,39の出力のサンプリング周期)で繰り返し実行され、特許請求の範囲でいうセンサ出力補正手段としての役割を果たす。本ルーチンが起動されると、まず、ステップ201で、モータ制御回路37のバックアップRAM40等の書き換え可能な不揮発性メモリに記憶されているV相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )の記憶値を読み込んだ後、ステップ202に進み、V相電流センサ38の出力(V相電流検出値iv )とW相電流センサ39の出力(W相電流検出値iw )を読み込む。
[Sensor output correction]
The sensor output correction routine shown in FIG. 8 is repeatedly executed at a predetermined cycle (for example, the sampling cycle of the outputs of the current sensors 38 and 39) during motor control, and plays a role as sensor output correction means in the claims. When this routine is started, first, in step 201, the ratio between the gain errors of the V-phase and W-phase current sensors 38, 39 stored in the rewritable nonvolatile memory such as the backup RAM 40 of the motor control circuit 37. After reading the stored value of (kv / kw), the routine proceeds to step 202, where the output of the V-phase current sensor 38 (V-phase current detection value iv) and the output of the W-phase current sensor 39 (W-phase current detection value iw) are obtained. Read.

この後、ステップ203に進み、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を用いてW相電流センサ39の出力(W相電流検出値iw )を補正することで、V相電流センサ38とW相電流センサ39のゲイン誤差の不均衡を補正する。或は、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を用いてV相電流センサ38の出力(V相電流検出値iv )を補正することで、V相電流センサ38とW相電流センサ39のゲイン誤差の不均衡を補正するようにしても良い。   Thereafter, the process proceeds to step 203, and the output of the W-phase current sensor 39 (W-phase current detection value iw) is corrected using the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39. Thus, the gain error imbalance between the V-phase current sensor 38 and the W-phase current sensor 39 is corrected. Alternatively, by correcting the output (V-phase current detection value iv) of the V-phase current sensor 38 using the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39, The gain error imbalance between the current sensor 38 and the W-phase current sensor 39 may be corrected.

以上説明した本実施例1では、交流モータ17の停止中に無効電流指令を行ったときのV相及びW相の電流指令値Iv ,Iw をV相及びW相の実電流の代用情報として用い、無効電流指令を行ったときのV相及びW相の電流指令値の比(Iv /Iw )と、V相及びW相の電流センサ38,39の出力の比(iv /iw )とに基づいて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出するようにしたので、機器定数(抵抗R等)の影響を受けずにV相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を精度良く算出することができる。そして、このゲイン誤差の比(kv /kw )を用いてW相電流センサ39の出力又はV相電流センサ38の出力を補正するようにしたので、V相電流センサ38とW相電流センサ39のゲイン誤差の不均衡を補正することができ、V相及びW相の電流センサ38,39の出力に基づくモータ制御精度を向上させることができる。これにより、V相電流センサ38とW相電流センサ39のゲイン誤差の不均衡によるシステム内の電力の変動を抑制することができる。しかも、交流モータ17の停止中にゲイン誤差の比(kv /kw )を算出する際に、交流モータ17のトルク発生に寄与しない無効電流を交流モータ17に流すようにしたので、交流モータ17にトルクが発生することを防止して、システムに悪影響を及ぼすことを回避できる。   In the first embodiment described above, the V-phase and W-phase current command values Iv and Iw when the reactive current command is issued while the AC motor 17 is stopped are used as substitute information for the V-phase and W-phase actual currents. Based on the ratio (Iv / Iw) of the V-phase and W-phase current command values when the reactive current command is issued, and the ratio (iv / iw) of the outputs of the V-phase and W-phase current sensors 38, 39. Since the gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38 and 39 is calculated, the V-phase and W-phase current sensors 38 and 39 are not affected by the device constants (resistance R, etc.). The gain error ratio (kv / kw) of the current sensors 38 and 39 can be calculated with high accuracy. Since the gain error ratio (kv / kw) is used to correct the output of the W-phase current sensor 39 or the output of the V-phase current sensor 38, the V-phase current sensor 38 and the W-phase current sensor 39 The gain error imbalance can be corrected, and the motor control accuracy based on the outputs of the V-phase and W-phase current sensors 38 and 39 can be improved. Thereby, the fluctuation | variation of the electric power in a system by the imbalance of the gain error of the V-phase current sensor 38 and the W-phase current sensor 39 can be suppressed. Moreover, when the gain error ratio (kv / kw) is calculated while the AC motor 17 is stopped, a reactive current that does not contribute to the torque generation of the AC motor 17 is caused to flow to the AC motor 17. Torque is prevented from being generated, and adverse effects on the system can be avoided.

また、本実施例1では、交流モータ17の制御システムの起動直後のシステムチェック処理中(つまり交流モータ17の制御開始前の交流モータ17の停止中)に無効電流指令を行ってゲイン誤差の比(kv /kw )を算出するようにしたので、交流モータ7の制御開始前にゲイン誤差の比(kv /kw )を算出することができ、交流モータ17の制御開始当初から最新のゲイン誤差の比(kv /kw )を用いてW相電流センサ39の出力又はV相電流センサ38の出力を精度良く補正して、電流センサ38,39の出力に基づいたモータ制御精度を向上させることができる。   In the first embodiment, the reactive current command is issued during the system check process immediately after the activation of the control system of the AC motor 17 (that is, while the AC motor 17 is stopped before the control of the AC motor 17 is started), and the gain error ratio is determined. Since (kv / kw) is calculated, the gain error ratio (kv / kw) can be calculated before starting the control of the AC motor 7, and the latest gain error can be calculated from the beginning of the control of the AC motor 17. Using the ratio (kv / kw), the output of the W-phase current sensor 39 or the output of the V-phase current sensor 38 can be accurately corrected, and the motor control accuracy based on the outputs of the current sensors 38 and 39 can be improved. .

更に、本実施例1では、無効電流指令を行う際に交流モータ17の最初のロータ回転停止位置が算出不能位置の場合には、交流モータ17にトルクを発生させて該交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置に変更してから無効電流指令を行うようにしたので、無効電流指令時にV相及びW相の電流指令値Iv ,Iw が0になることを回避でき、交流モータ17の最初のロータ回転停止位置が算出不能位置の場合でも、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出することができる。   Further, in the first embodiment, when the reactive rotor command is issued, if the first rotor rotation stop position of the AC motor 17 is a non-calculatable position, torque is generated in the AC motor 17 to rotate the rotor of the AC motor 17. Since the reactive current command is performed after the stop position is changed to a rotational position other than the non-calculatable position, it is possible to avoid the V-phase and W-phase current command values Iv and Iw from becoming zero at the reactive current command, Even when the first rotor rotation stop position of the AC motor 17 is an uncalculatable position, the ratio of gain errors (kv / kw) of the V-phase and W-phase current sensors 38, 39 can be calculated.

その際、本実施例1では、交流モータ17のロータ回転停止位置を所定の目標停止位置に一致させるように交流モータ17を制御して該交流モータ17のロータ回転停止位置を変更するようにしたので、無効電流指令を行う際に交流モータ17の最初のロータ回転停止位置が算出不能位置の場合に、交流モータ17のロータ回転停止位置を所定の目標停止位置(例えば算出最適位置)に変更することが可能となり、ゲイン誤差の比(kv /kw )を精度良く算出することができる。   At that time, in the first embodiment, the AC motor 17 is controlled to change the rotor rotation stop position of the AC motor 17 so that the rotor rotation stop position of the AC motor 17 matches the predetermined target stop position. Therefore, when the reactive current command is issued, if the first rotor rotation stop position of the AC motor 17 is a position that cannot be calculated, the rotor rotation stop position of the AC motor 17 is changed to a predetermined target stop position (for example, a calculated optimum position). Thus, the gain error ratio (kv / kw) can be calculated with high accuracy.

次に、図9及び図10を用いて本発明の実施例2を説明する。但し、前記実施例1と実質的に同一部分については説明を省略又は簡略化し、主として前記実施例1と異なる部分について説明する。   Next, Embodiment 2 of the present invention will be described with reference to FIGS. 9 and 10. However, description of substantially the same parts as those in the first embodiment will be omitted or simplified, and different parts from the first embodiment will be mainly described.

本実施例2では、モータ制御回路37により後述する図10のゲイン誤差比算出ルーチンを実行することで、無効電流指令を行う際に交流モータ17のロータ回転停止位置が算出不能位置の場合に、交流モータ17にトルクを発生させて該交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置に変更する際、交流モータ17に所定の目標トルクを発生させるように交流モータ17を制御する目標トルク制御を実行する。具体的には、図9に示すように、目標トルク(停止位置変更用のトルク指令値)を実現するように指令電流ベクトル(d軸指令電流Id ,q軸指令電流Iq)を設定することで、交流モータ17のトルク発生に寄与する電流を交流モータ17に流すように指令する。これにより、交流モータ17に目標トルクを発生させてロータ回転停止位置を算出不能位置以外の回転位置に変更する。   In the second embodiment, by executing a gain error ratio calculation routine of FIG. 10 described later by the motor control circuit 37, when the rotor rotation stop position of the AC motor 17 is an uncalculatable position when performing the reactive current command, When the torque is generated in the AC motor 17 and the rotor rotation stop position of the AC motor 17 is changed to a rotational position other than the non-calculatable position, the AC motor 17 is controlled so that the AC motor 17 generates a predetermined target torque. Target torque control is executed. Specifically, as shown in FIG. 9, by setting the command current vector (d-axis command current Id, q-axis command current Iq) so as to realize the target torque (torque command value for changing the stop position). The AC motor 17 is instructed to pass a current that contributes to the torque generation of the AC motor 17. Thereby, the target torque is generated in the AC motor 17, and the rotor rotation stop position is changed to a rotation position other than the non-calculatable position.

このようにすれば、無効電流指令を行う際に交流モータの最初のロータ回転停止位置が算出不能位置の場合には、目標トルク制御によって交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置に変更してから無効電流指令を行うことができる。   In this way, if the first rotor rotation stop position of the AC motor is an uncalculatable position when the reactive current command is issued, the rotor rotation stop position of the AC motor 17 is rotated at a position other than the uncalculatable position by target torque control. The reactive current command can be issued after changing to the position.

尚、目標トルク制御の目標トルク(停止位置変更用のトルク指令値)は、例えば、運転者に不快なショックを感じさせない範囲内で交流モータ17を回転駆動できるトルク値に設定すると良い。その際、運転者に不快なショックを感じさせないように位置決め制御中の交流モータ17の制御パラメータ(例えば目標電流や目標電圧等)やその変化量を所定ガード値でガード処理するようにしても良い。   Note that the target torque (torque command value for changing the stop position) of the target torque control may be set to a torque value at which the AC motor 17 can be rotationally driven within a range in which the driver does not feel an unpleasant shock, for example. At that time, the control parameter (for example, target current, target voltage, etc.) of the AC motor 17 during the positioning control and the amount of change thereof may be guard-processed with a predetermined guard value so that the driver does not feel an unpleasant shock. .

図10のゲイン誤差比算出ルーチンは、前記実施例1で説明した図7のルーチンのステップ109の処理を、ステップ109aの処理に変更したものであり、それ以外の各ステップの処理は図7と同じである。   The gain error ratio calculation routine of FIG. 10 is obtained by changing the processing of step 109 of the routine of FIG. 7 described in the first embodiment to processing of step 109a, and the processing of each other step is the same as that of FIG. The same.

図10のゲイン誤差比算出ルーチンでは、ステップ103で、交流モータ17のロータ回転停止位置が、無効電流指令時にV相電流指令値Iv =0となる回転位置又は無効電流指令時にW相電流指令値Iw =0となる回転位置であると判定された場合(つまり交流モータ17のロータ回転停止位置が算出不能位置であると判定された場合)には、このままのロータ回転停止位置では、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出することができないと判断して、ステップ109aに進み、交流モータ17に所定の目標トルク(停止位置変更用のトルク指令値)を発生させるように交流モータ17を制御する目標トルク制御を実行する。これにより、交流モータ17に目標トルクを発生させてロータ回転停止位置を算出不能位置以外の回転位置に変更する。   In the gain error ratio calculation routine of FIG. 10, in step 103, the rotor rotation stop position of the AC motor 17 is the rotational position where the V-phase current command value Iv = 0 when the reactive current command is issued, or the W-phase current command value when the reactive current command is received. When it is determined that the rotation position is Iw = 0 (that is, when it is determined that the rotor rotation stop position of the AC motor 17 is a non-calculatable position), at the rotor rotation stop position, the V phase and It is determined that the gain error ratio (kv / kw) of the W-phase current sensors 38, 39 cannot be calculated, and the routine proceeds to step 109a, where a predetermined target torque (a torque command for changing the stop position) is sent to the AC motor 17. Target torque control for controlling the AC motor 17 so as to generate (value). Thereby, the target torque is generated in the AC motor 17, and the rotor rotation stop position is changed to a rotation position other than the non-calculatable position.

このようにして、交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置に変更した後、無効電流指令を行い、該無効電流指令を行ったときのV相及びW相の電流指令値の比(Iv /Iw )と、V相及びW相の電流検出値の比(iv /iw )とに基づいて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出し、そのゲイン誤差の比(kv /kw )を、モータ制御回路37のバックアップRAM40等の書き換え可能な不揮発性メモリに記憶する(ステップ104〜108)。   In this way, after changing the rotor rotation stop position of the AC motor 17 to a rotation position other than the position where calculation is impossible, the reactive current command is issued, and the current command values of the V phase and the W phase when the reactive current command is issued. The ratio of gain errors (kv / kw) of the current sensors 38 and 39 of the V-phase and the W-phase based on the ratio (Iv / Iw) of the current and the ratio of the detected current values of the V-phase and the W-phase (iv / iw) ) And the gain error ratio (kv / kw) is stored in a rewritable nonvolatile memory such as the backup RAM 40 of the motor control circuit 37 (steps 104 to 108).

以上説明した本実施例2では、無効電流指令を行う際に交流モータ17の最初のロータ回転停止位置が算出不能位置の場合には、交流モータ17にトルクを発生させて該交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置に変更してから無効電流指令を行うようにしたので、無効電流指令時にV相及びW相の電流指令値Iv ,Iw が0になることを回避でき、交流モータ17の最初のロータ回転停止位置が算出不能位置の場合でも、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出することができる。   In the second embodiment described above, if the first rotor rotation stop position of the AC motor 17 is an uncalculatable position when the reactive current command is issued, torque is generated in the AC motor 17 to cause the rotor of the AC motor 17 to rotate. Since the reactive current command is issued after the rotation stop position is changed to a rotational position other than the non-calculatable position, it is possible to avoid the V-phase and W-phase current command values Iv and Iw from becoming zero during the reactive current command. Even when the first rotor rotation stop position of the AC motor 17 is an uncalculatable position, the ratio (kv / kw) of gain errors of the V-phase and W-phase current sensors 38 and 39 can be calculated.

その際、本実施例2では、交流モータ17に所定の目標トルクを発生させるように交流モータ17を制御して該交流モータ17のロータ回転停止位置を変更するようにしたので、無効電流指令を行う際に交流モータ17の最初のロータ回転停止位置が算出不能位置の場合に、交流モータ17に所定の目標トルクを発生させるという簡単な制御で交流モータ17のロータ回転停止位置を算出不能位置以外の回転位置に変更することができる。   At this time, in the second embodiment, the AC motor 17 is controlled so that the AC motor 17 generates a predetermined target torque and the rotor rotation stop position of the AC motor 17 is changed. When the first rotor rotation stop position of the AC motor 17 is not a position that cannot be calculated, the rotor rotation stop position of the AC motor 17 is set to a position other than the position where it cannot be calculated by simple control in which the AC motor 17 generates a predetermined target torque. The rotation position can be changed.

次に、図11及び図12を用いて本発明の実施例3を説明する。但し、前記実施例1と実質的に同一部分については説明を省略又は簡略化し、主として前記実施例1と異なる部分について説明する。   Next, Embodiment 3 of the present invention will be described with reference to FIGS. However, description of substantially the same parts as those in the first embodiment will be omitted or simplified, and different parts from the first embodiment will be mainly described.

図11に示すように、無効電流指令を行う際に、交流モータ17のロータ回転停止位置(磁極位置)に応じて各相の電流指令値が変化(増減)するため、交流モータ17のロータ回転停止位置によってはV相電流指令値Iv の絶対値やW相電流指令値Iw の絶対値がかなり小さい値になる場合があり、V相電流指令値Iv (V相の実電流の代用情報)やW相電流指令値Iw (W相の実電流の代用情報)が小さ過ぎると、V相電流センサ38の出力やW相電流センサ39の出力が小さ過ぎて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を精度良く算出できない可能性がある。   As shown in FIG. 11, when the reactive current command is issued, the current command value of each phase changes (increases / decreases) in accordance with the rotor rotation stop position (magnetic pole position) of the AC motor 17. Depending on the stop position, the absolute value of the V-phase current command value Iv and the absolute value of the W-phase current command value Iw may be considerably small, and the V-phase current command value Iv (substitute information of the V-phase actual current) or If the W-phase current command value Iw (W-phase actual current substitute information) is too small, the output of the V-phase current sensor 38 and the output of the W-phase current sensor 39 are too small, and the V-phase and W-phase current sensors 38 are output. , 39 may not be accurately calculated (kv / kw).

そこで、本実施例3では、モータ制御回路37により後述する図12のゲイン誤差比算出ルーチンを実行することで、無効電流指令を行う際に交流モータ17のロータ回転停止位置が所定の電流微小領域(無効電流指令時にV相電流指令値Iv の絶対値又はW相電流指令値Iw の絶対値が所定の閾値K以下になる回転位置領域)の場合には、無効電流指令を行う際のd軸指令電流Id を所定値αよりも大きい増大値βに設定する。ここで、増大値βは、各相の電流指令値の最大値が許容範囲内(例えば過電流異常診断によって過電流と診断されない範囲内)になるように設定されている。また、閾値Kは、ゲイン誤差の比の算出精度を確保できなくなる電流指令値に設定されている。   Therefore, in the third embodiment, the motor control circuit 37 executes a gain error ratio calculation routine shown in FIG. 12 to be described later so that the rotor rotation stop position of the AC motor 17 is a predetermined current minute region when the reactive current command is issued. In the case of (the rotational position region where the absolute value of the V-phase current command value Iv or the absolute value of the W-phase current command value Iw is equal to or less than a predetermined threshold K) at the time of the reactive current command, The command current Id is set to an increase value β larger than the predetermined value α. Here, the increase value β is set such that the maximum value of the current command value of each phase is within an allowable range (for example, within a range where an overcurrent is not diagnosed by overcurrent abnormality diagnosis). Further, the threshold value K is set to a current command value that makes it impossible to ensure the calculation accuracy of the gain error ratio.

無効電流指令時はq軸指令電流Iq =0とするため、無効電流指令時のV相電流指令値Iv とW相電流指令値Iw は、上記(3),(4)式により表すことができ、無効電流指令を行う際のd軸指令電流Id を所定値αに設定した場合[図11の(a)参照]に比べて、無効電流指令を行う際のd軸指令電流Id を所定値αよりも大きい増大値βに設定した場合[図11の(b)参照]には、無効電流指令時のV相電流指令値Iv の絶対値とW相電流指令値Iw の絶対値を増大させることができる。   Since the q-axis command current Iq is set to 0 at the time of the reactive current command, the V-phase current command value Iv and the W-phase current command value Iw at the time of the reactive current command can be expressed by the above equations (3) and (4). When the d-axis command current Id for performing the reactive current command is set to a predetermined value α, the d-axis command current Id for performing the reactive current command is set to the predetermined value α as compared with the case where the d-axis command current Id is set to the predetermined value α (see FIG. 11A). When the increase value β is set to be larger than that (see FIG. 11B), the absolute value of the V-phase current command value Iv and the absolute value of the W-phase current command value Iw at the time of the reactive current command are increased. Can do.

図12のゲイン誤差比算出ルーチンでは、まず、ステップ301で、交流モータ17の制御システムの起動直後(モータ制御回路37の電源オン直後)のシステムチェック処理中であるか否かを判定し、システムチェック処理中でなければ、ステップ302以降の処理を行うことなく、本ルーチンを終了する。   In the gain error ratio calculation routine of FIG. 12, first, in step 301, it is determined whether or not the system check process is being performed immediately after the AC motor 17 control system is started (immediately after the motor control circuit 37 is powered on). If the check process is not in progress, this routine is terminated without performing the processes in and after step 302.

一方、上記ステップ301で、交流モータ17の制御システムの起動直後のシステムチェック処理中であると判定されれば、交流モータ17の制御開始前における交流モータ17の停止中であると判断して、ステップ302に進み、ロータ回転位置センサ18で検出した交流モータ17のロータ回転位置θをロータ回転停止位置として読み込む。   On the other hand, if it is determined in step 301 that the system check process is being performed immediately after the control system of the AC motor 17 is started, it is determined that the AC motor 17 is stopped before the control of the AC motor 17 is started. Proceeding to step 302, the rotor rotation position θ of the AC motor 17 detected by the rotor rotation position sensor 18 is read as the rotor rotation stop position.

この後、ステップ303に進み、交流モータ17のロータ回転停止位置が所定の電流微小領域(無効電流指令時にV相電流指令値Iv の絶対値又はW相電流指令値Iw の絶対値が所定の閾値K以下になる回転位置領域)であるか否かを判定する。ここで、無効電流指令時にV相電流指令値Iv の絶対値又はW相電流指令値Iw の絶対値が閾値K以下になる回転位置領域[図11(a)中に斜線で示す領域]は、予めモータ制御回路37のROM(図示せず)等に記憶されている。   Thereafter, the process proceeds to step 303 where the rotor rotation stop position of the AC motor 17 is a predetermined current minute region (the absolute value of the V-phase current command value Iv or the absolute value of the W-phase current command value Iw is a predetermined threshold value when the reactive current command is issued). It is determined whether or not the rotation position region is K or less. Here, at the time of the reactive current command, the rotational position region [region shown by hatching in FIG. 11A] where the absolute value of the V-phase current command value Iv or the absolute value of the W-phase current command value Iw is equal to or less than the threshold K is: It is stored in advance in a ROM (not shown) of the motor control circuit 37 or the like.

このステップ303で、交流モータ17のロータ回転停止位置が電流微小領域ではないと判定された場合(つまり無効電流指令時にV相電流指令値Iv の絶対値とW相電流指令値Iw の絶対値が両方とも閾値Kよりも大きくなる回転位置領域であると判定された場合)には、ステップ304に進み、d軸指令電流Id を所定値αに設定すると共にq軸指令電流Iq を0に設定して無効電流指令を行う。   If it is determined in step 303 that the rotor rotation stop position of the AC motor 17 is not in the current minute region (that is, the absolute value of the V-phase current command value Iv and the absolute value of the W-phase current command value Iw at the time of the reactive current command are If it is determined that both are rotational position regions that are larger than the threshold value K), the routine proceeds to step 304 where the d-axis command current Id is set to a predetermined value α and the q-axis command current Iq is set to 0. To issue a reactive current command.

この後、無効電流指令を行ったときのV相及びW相の電流指令値の比(Iv /Iw )と、V相及びW相の電流検出値の比(iv /iw )とに基づいて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出し、そのゲイン誤差の比(kv /kw )を、モータ制御回路37のバックアップRAM40等の書き換え可能な不揮発性メモリに記憶する(ステップ305〜308)。   Thereafter, based on the ratio (Iv / Iw) of the current command values of the V phase and the W phase when the reactive current command is performed, and the ratio (iv / iw) of the detected current values of the V phase and the W phase, The gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39 is calculated, and the gain error ratio (kv / kw) is a rewritable nonvolatile memory such as the backup RAM 40 of the motor control circuit 37. (Steps 305 to 308).

これに対して、上記ステップ303で、交流モータ17のロータ回転停止位置が電流微小領域(無効電流指令時にV相電流指令値Iv の絶対値又はW相電流指令値Iw の絶対値が所定の閾値K以下になる回転位置領域)であると判定された場合には、無効電流指令時のV相電流指令値Iv やW相電流指令値Iw が小さ過ぎて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を精度良く算出できないと判断して、ステップ309に進み、無効電流指令を行う際のd軸指令電流Id を所定値αよりも大きい増大値βに設定する。このステップ309の処理が特許請求の範囲でいうd軸指令電流増大制御手段としての役割を果たす。   On the other hand, in step 303 above, the rotor rotation stop position of the AC motor 17 is in a very small current region (the absolute value of the V-phase current command value Iv or the absolute value of the W-phase current command value Iw at the time of the reactive current command is a predetermined threshold value). When the reactive current command is too low, the V-phase current command value Iv and the W-phase current command value Iw are too small, and the V-phase and W-phase current sensors 38 are determined. , 39, the gain error ratio (kv / kw) cannot be calculated with high accuracy, and the process proceeds to step 309 where the d-axis command current Id when the reactive current command is issued is set to an increase value β larger than the predetermined value α. Set. The processing in step 309 serves as d-axis command current increase control means in the claims.

この後、ステップ310に進み、無効電流指令を行う際のd軸指令電流Id を増大値βに設定した場合に、現在の交流モータ17のロータ回転停止位置において、無効電流指令時にV相電流指令値Iv の絶対値とW相電流指令値Iw の絶対値が両方とも閾値Kよりも大きくなるか否かを判定する。   Thereafter, the process proceeds to step 310, and when the d-axis command current Id used when the reactive current command is issued is set to the increased value β, the V-phase current command at the time of the reactive current command at the current rotor rotation stop position of the AC motor 17 is set. It is determined whether or not both the absolute value of the value Iv and the absolute value of the W-phase current command value Iw are larger than the threshold value K.

このステップ310で、無効電流指令時にV相電流指令値Iv の絶対値とW相電流指令値Iw の絶対値が両方とも閾値Kよりも大きくなると判定された場合には、ステップ304に進み、d軸指令電流Id を所定値αよりも大きい増大値βに設定すると共にq軸指令電流Iq を0に設定して無効電流指令を行う。   If it is determined in step 310 that the absolute value of the V-phase current command value Iv and the absolute value of the W-phase current command value Iw are both greater than the threshold value K during the reactive current command, the process proceeds to step 304, and d The axis command current Id is set to an increase value β larger than a predetermined value α, and the q-axis command current Iq is set to 0 to issue a reactive current command.

この後、無効電流指令を行ったときのV相及びW相の電流指令値の比(Iv /Iw )と、V相及びW相の電流検出値の比(iv /iw )とに基づいて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を算出し、そのゲイン誤差の比(kv /kw )を、モータ制御回路37のバックアップRAM40等の書き換え可能な不揮発性メモリに記憶する(ステップ305〜308)。   Thereafter, based on the ratio (Iv / Iw) of the current command values of the V phase and the W phase when the reactive current command is performed, and the ratio (iv / iw) of the detected current values of the V phase and the W phase, The gain error ratio (kv / kw) of the V-phase and W-phase current sensors 38, 39 is calculated, and the gain error ratio (kv / kw) is a rewritable nonvolatile memory such as the backup RAM 40 of the motor control circuit 37. (Steps 305 to 308).

一方、上記ステップ310で、無効電流指令時にV相電流指令値Iv の絶対値又はW相電流指令値Iw の絶対値が閾値K以下になると判定された場合には、ステップ311に進み、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )の算出を行わずに、ゲイン誤差の比(kv /kw )を前回値に保持する(記憶値を更新しない)。   On the other hand, if it is determined in step 310 that the absolute value of the V-phase current command value Iv or the absolute value of the W-phase current command value Iw is equal to or less than the threshold value K at the time of the reactive current command, the process proceeds to step 311 to In addition, the gain error ratio (kv / kw) of the W-phase current sensors 38 and 39 is not calculated, and the gain error ratio (kv / kw) is held at the previous value (the stored value is not updated).

尚、上記ステップ310で、無効電流指令時にV相電流指令値Iv の絶対値又はW相電流指令値Iw の絶対値が閾値K以下になると判定された場合に、前記実施例1の位置決め制御や前記実施例2の目標トルク制御等を実行することで交流モータ17にトルクを発生させて該交流モータ17のロータ回転停止位置を変更してから無効電流指令を行ってゲイン誤差の比(kv /kw )を算出するようにしても良い。   When it is determined in step 310 that the absolute value of the V-phase current command value Iv or the absolute value of the W-phase current command value Iw is equal to or less than the threshold value K at the time of the reactive current command, By executing the target torque control of the second embodiment and the like, torque is generated in the AC motor 17 and the rotor rotation stop position of the AC motor 17 is changed, and then the reactive current command is issued, and the gain error ratio (kv / kW) may be calculated.

以上説明した本実施例3では、無効電流指令を行う際に交流モータ17のロータ回転停止位置が電流微小領域(無効電流指令時にV相電流指令値Iv の絶対値又はW相電流指令値Iw の絶対値が閾値K以下になる回転位置領域)の場合には、無効電流指令時のV相電流指令値Iv やW相電流指令値Iw が小さ過ぎて、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を精度良く算出できないと判断して、無効電流指令を行う際のd軸指令電流Id を所定値αよりも大きい増大値βに設定するようにしたので、無効電流指令時のV相電流指令値Iv の絶対値とW相電流指令値Iw の絶対値を増大させることができ、V相及びW相の電流センサ38,39のゲイン誤差の比(kv /kw )を精度良く算出できる領域(無効電流指令時にV相電流指令値Iv の絶対値とW相電流指令値Iw の絶対値が両方とも閾値Kよりも大きくなる領域)を拡大することができる。   In the third embodiment described above, when the reactive current command is issued, the rotor rotation stop position of the AC motor 17 is in a very small current region (the absolute value of the V-phase current command value Iv or the W-phase current command value Iw at the time of the reactive current command). In the case of the rotational position region where the absolute value is equal to or less than the threshold value K), the V-phase current command value Iv and the W-phase current command value Iw at the reactive current command are too small, and the V-phase and W-phase current sensors 38, Since it is determined that the gain error ratio (kv / kw) of 39 cannot be accurately calculated, the d-axis command current Id when the reactive current command is issued is set to an increase value β larger than the predetermined value α. The absolute value of the V-phase current command value Iv and the absolute value of the W-phase current command value Iw during the reactive current command can be increased, and the gain error ratio (kv of the V-phase and W-phase current sensors 38 and 39) can be increased. / Kw) area (when reactive current command is given) Can be the absolute value of the absolute value and the W-phase current command value Iw of the V-phase current command value Iv to enlarge the area) becomes larger than both threshold K.

尚、上記各実施例1〜3では、交流モータの3つの相のうちの2つの相に流れる電流を検出するように2つの電流センサを備えたシステムに本発明を適用したが、これに限定されず、交流モータの3相に流れる電流を検出するように3つ以上(例えば2重系など)の電流センサを備えたシステムに本発明を適用しても良い。   In the first to third embodiments, the present invention is applied to a system including two current sensors so as to detect currents flowing in two of the three phases of the AC motor. However, the present invention is not limited thereto. Instead, the present invention may be applied to a system including three or more (for example, double system) current sensors so as to detect a current flowing in the three phases of the AC motor.

また、上記各実施例1〜3では、ゲイン誤差情報として、第1及び第2の電流センサのゲイン誤差の比を算出するようにしたが、これに限定されず、例えば、無効電流指令を行ったときの電流指令値(実電流の代用情報)と電流センサの出力(電流検出値)とに基づいて電流センサのゲイン誤差を算出し、このゲイン誤差を用いて電流センサの出力を補正することで、電流センサのゲイン誤差による電流検出値のずれを補正して、電流センサの出力に基づく電流検出精度やモータ制御精度を向上させるようにしても良い。   In the first to third embodiments, the gain error ratio of the first and second current sensors is calculated as gain error information. However, the present invention is not limited to this. For example, a reactive current command is issued. The current sensor gain error is calculated based on the current command value (actual current substitute information) and the current sensor output (current detection value), and the current sensor output is corrected using this gain error. Thus, the deviation of the current detection value due to the gain error of the current sensor may be corrected to improve the current detection accuracy and the motor control accuracy based on the output of the current sensor.

また、本発明は、交流モータの制御開始前の交流モータの停止中に無効電流指令を行ってゲイン誤差情報(例えばゲイン誤差やゲイン誤差の比)を算出する構成に限定されず、他の交流モータの停止中(例えば、交流モータの制御開始後に交流モータを停止させたときや、交流モータを停止させた状態で交流モータの制御システムを停止させるとき等)に無効電流指令を行ってゲイン誤差情報を算出するようにしても良い。   Further, the present invention is not limited to the configuration in which the reactive current command is issued during the stop of the AC motor before the start of the control of the AC motor and the gain error information (for example, gain error or gain error ratio) is calculated. When the motor is stopped (for example, when the AC motor is stopped after starting the control of the AC motor, or when the AC motor control system is stopped while the AC motor is stopped, etc.), a reactive current command is issued to give a gain error. Information may be calculated.

その他、本発明は、電気自動車やハイブリッド車の駆動源として搭載される交流モータの電流センサに限定されず、車両に搭載される種々の交流モータの電流センサに適用しても良い。   In addition, the present invention is not limited to an AC motor current sensor mounted as a drive source of an electric vehicle or a hybrid vehicle, and may be applied to various AC motor current sensors mounted on a vehicle.

11…直流電源、12…昇圧コンバータ、16…インバータ、17…交流モータ、18…ロータ回転位置センサ、37…モータ制御回路(ゲイン誤差情報算出手段,センサ出力補正手段,停止位置変更制御手段,d軸指令電流増大制御手段)、38…V相電流センサ、39…W相電流センサ、40…バックアップRAM   DESCRIPTION OF SYMBOLS 11 ... DC power supply, 12 ... Boost converter, 16 ... Inverter, 17 ... AC motor, 18 ... Rotor rotation position sensor, 37 ... Motor control circuit (gain error information calculation means, sensor output correction means, stop position change control means, d Axis command current increase control means), 38 ... V-phase current sensor, 39 ... W-phase current sensor, 40 ... backup RAM

Claims (5)

車両に搭載された交流モータと、該交流モータに流れる電流を検出する電流センサとを備えた車両のモータ制御装置において、
前記交流モータの停止中に該交流モータのトルク発生に寄与しない無効電流を該交流モータに流すように指令する無効電流指令を行い、該無効電流指令を行ったときの電流指令値と前記電流センサの出力とに基づいて該電流センサのゲイン誤差又はこれに関連性のある情報(以下これらを「ゲイン誤差情報」と総称する)を算出するゲイン誤差情報算出手段と、
前記ゲイン誤差情報算出手段で算出したゲイン誤差情報を用いて前記電流センサの出力を補正するセンサ出力補正手段と、
前記無効電流指令を行う際に前記交流モータのロータ回転停止位置が前記電流センサで検出する相の電流指令値が0となる回転位置(以下「算出不能位置」という)の場合には前記交流モータにトルクを発生させて該交流モータのロータ回転停止位置を前記算出不能位置以外の回転位置に変更する停止位置変更制御手段と
を備えていることを特徴とする車両のモータ制御装置。
In a vehicle motor control device including an AC motor mounted on a vehicle and a current sensor that detects a current flowing through the AC motor,
When the AC motor is stopped, a reactive current command is issued to command a reactive current that does not contribute to torque generation of the AC motor to flow to the AC motor, and the current command value and the current sensor when the reactive current command is issued Gain error information calculating means for calculating the gain error of the current sensor or information related thereto (hereinafter collectively referred to as “gain error information”) based on the output of
Sensor output correction means for correcting the output of the current sensor using the gain error information calculated by the gain error information calculation means;
In the case where the rotor rotation stop position of the AC motor is a rotation position where the current command value of the phase detected by the current sensor is 0 (hereinafter referred to as “incomputable position”) when performing the reactive current command, the AC motor And a stop position change control means for changing the rotor rotation stop position of the AC motor to a rotation position other than the uncalculatable position by generating torque.
前記停止位置変更制御手段は、前記交流モータのロータ回転停止位置を所定の目標停止位置に一致させるように前記交流モータを制御して該交流モータのロータ回転停止位置を変更する手段を有することを特徴とする請求項1に記載の車両のモータ制御装置。   The stop position change control means has means for changing the rotor rotation stop position of the AC motor by controlling the AC motor so that the rotor rotation stop position of the AC motor matches a predetermined target stop position. The vehicle motor control device according to claim 1, wherein the motor control device is a vehicle control device. 前記停止位置変更制御手段は、前記交流モータに所定の目標トルクを発生させるように前記交流モータを制御して該交流モータのロータ回転停止位置を変更する手段を有することを特徴とする請求項1に記載の車両のモータ制御装置。   2. The stop position change control means includes means for changing the rotor rotation stop position of the AC motor by controlling the AC motor so that the AC motor generates a predetermined target torque. The vehicle motor control device according to claim 1. 車両に搭載された交流モータと、該交流モータに流れる電流を検出する電流センサとを備えた車両のモータ制御装置において、
前記交流モータの停止中に該交流モータのロータ回転座標として設定したd−q座標系におけるd軸指令電流を0以外の所定値に設定してq軸指令電流を0に設定することで該交流モータのトルク発生に寄与しない無効電流を該交流モータに流すように指令する無効電流指令を行い、該無効電流指令を行ったときの電流指令値と前記電流センサの出力とに基づいて該電流センサのゲイン誤差又はこれに関連性のある情報(以下これらを「ゲイン誤差情報」と総称する)を算出するゲイン誤差情報算出手段と、
前記ゲイン誤差情報算出手段で算出したゲイン誤差情報を用いて前記電流センサの出力を補正するセンサ出力補正手段と、
前記無効電流指令を行う際に前記交流モータのロータ回転停止位置が前記電流センサで検出する相の電流指令値が所定の閾値以下になる回転位置領域の場合には前記無効電流指令を行う際のd軸指令電流を前記所定値よりも増大させるd軸指令電流増大制御手段と
を備えていることを特徴とする車両のモータ制御装置。
In a vehicle motor control device including an AC motor mounted on a vehicle and a current sensor that detects a current flowing through the AC motor,
By setting the d-axis command current in the dq coordinate system set as the rotor rotation coordinate of the AC motor to a predetermined value other than 0 and setting the q-axis command current to 0 while the AC motor is stopped, the AC A reactive current command is provided for instructing a reactive current that does not contribute to motor torque generation to flow to the AC motor, and the current sensor is based on a current command value when the reactive current command is issued and the output of the current sensor. Gain error information calculating means for calculating the gain error or information related thereto (hereinafter collectively referred to as “gain error information”),
Sensor output correction means for correcting the output of the current sensor using the gain error information calculated by the gain error information calculation means;
When the reactive current command is issued, the rotor rotation stop position of the AC motor is in a rotational position region where the current command value of the phase detected by the current sensor is equal to or less than a predetermined threshold value. A vehicle motor control device comprising: d-axis command current increase control means for increasing the d-axis command current beyond the predetermined value.
前記交流モータの各相のうちの第1の相に流れる電流を検出する第1の電流センサ及び第2の相に流れる電流を検出する第2の電流センサとを備え、
前記ゲイン誤差情報算出手段は、前記無効電流指令を行ったときの前記第1及び第2の相の電流指令値の比と、前記第1及び第2の電流センサの出力の比とに基づいて、前記第1及び第2の電流センサのゲイン誤差の比を前記ゲイン誤差情報として算出する手段を有し、
前記センサ出力補正手段は、前記ゲイン誤差情報算出手段で算出したゲイン誤差の比を用いて前記第1の電流センサの出力又は前記第2の電流センサの出力を補正する手段を有することを特徴とする請求項1乃至4のいずれかに記載の車両のモータ制御装置。
A first current sensor for detecting a current flowing in a first phase of each phase of the AC motor and a second current sensor for detecting a current flowing in a second phase;
The gain error information calculation means is based on a ratio of the current command values of the first and second phases when the reactive current command is performed and a ratio of outputs of the first and second current sensors. And means for calculating a gain error ratio of the first and second current sensors as the gain error information,
The sensor output correction means includes means for correcting the output of the first current sensor or the output of the second current sensor using the gain error ratio calculated by the gain error information calculation means. The motor control device for a vehicle according to any one of claims 1 to 4.
JP2009237821A 2009-10-15 2009-10-15 Motor controller for vehicle Pending JP2011087395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009237821A JP2011087395A (en) 2009-10-15 2009-10-15 Motor controller for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009237821A JP2011087395A (en) 2009-10-15 2009-10-15 Motor controller for vehicle

Publications (1)

Publication Number Publication Date
JP2011087395A true JP2011087395A (en) 2011-04-28

Family

ID=44079945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009237821A Pending JP2011087395A (en) 2009-10-15 2009-10-15 Motor controller for vehicle

Country Status (1)

Country Link
JP (1) JP2011087395A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012248421A (en) * 2011-05-27 2012-12-13 Toyota Motor Corp Fuel cell system
US20220074992A1 (en) * 2018-12-27 2022-03-10 Robert Bosch Gmbh Method for determining a gain error of a current measuring device
CN114599544A (en) * 2019-10-28 2022-06-07 日产自动车株式会社 Method for controlling electric vehicle and device for controlling electric vehicle
WO2024057874A1 (en) * 2022-09-16 2024-03-21 株式会社デンソー Motor control device and vehicular brake device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012248421A (en) * 2011-05-27 2012-12-13 Toyota Motor Corp Fuel cell system
US20220074992A1 (en) * 2018-12-27 2022-03-10 Robert Bosch Gmbh Method for determining a gain error of a current measuring device
US11768243B2 (en) * 2018-12-27 2023-09-26 Robert Bosch Gmbh Method for determining a gain error of a current measuring device
CN114599544A (en) * 2019-10-28 2022-06-07 日产自动车株式会社 Method for controlling electric vehicle and device for controlling electric vehicle
CN114599544B (en) * 2019-10-28 2024-03-08 日产自动车株式会社 Control method for electric vehicle and control device for electric vehicle
WO2024057874A1 (en) * 2022-09-16 2024-03-21 株式会社デンソー Motor control device and vehicular brake device

Similar Documents

Publication Publication Date Title
JP5353867B2 (en) Rotating machine control device
JP5321614B2 (en) Rotating machine control device
US9407181B2 (en) Vehicle and method for controlling vehicle
JP5929873B2 (en) AC motor control device
US9590551B2 (en) Control apparatus for AC motor
JP5929874B2 (en) AC motor control device
US20140225540A1 (en) Control apparatus for ac motor
JP2007228700A (en) Motor control device
JP5414893B2 (en) Brushless motor drive device
JP2011087395A (en) Motor controller for vehicle
JP7361924B2 (en) Motor control device, motor control method
JP2010239790A (en) Rotary electric machine controller
JP5263067B2 (en) Inverter failure detection device
JP2011019302A (en) Controller for motor driving system
JP6407175B2 (en) Power converter control device
JP5585397B2 (en) Rotating machine control device
JP2010035396A (en) Battery current suppression method and battery current suppression controller
JP4775145B2 (en) Synchronous motor controller
JP2007267512A (en) Drive controller of ac motor
JP5541587B2 (en) AC motor control device
JP4281316B2 (en) Electric machine control device, electric machine control method and program
JP2011078295A (en) Motor control device of vehicle
JP2011087413A (en) Motor controller for vehicle
JP5556601B2 (en) Rotating machine control device
WO2019187678A1 (en) Motor control device and electric vehicle