JP2011010401A - Motor controller and motor-driven power steering device - Google Patents

Motor controller and motor-driven power steering device Download PDF

Info

Publication number
JP2011010401A
JP2011010401A JP2009149388A JP2009149388A JP2011010401A JP 2011010401 A JP2011010401 A JP 2011010401A JP 2009149388 A JP2009149388 A JP 2009149388A JP 2009149388 A JP2009149388 A JP 2009149388A JP 2011010401 A JP2011010401 A JP 2011010401A
Authority
JP
Japan
Prior art keywords
rotor
angle
time
rotor angle
detection
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
JP2009149388A
Other languages
Japanese (ja)
Inventor
Hiroyasu Ishikawa
博康 石川
Itsuhito Komatsu
逸人 小松
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.)
JTEKT Corp
Original Assignee
JTEKT 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 JTEKT Corp filed Critical JTEKT Corp
Priority to JP2009149388A priority Critical patent/JP2011010401A/en
Publication of JP2011010401A publication Critical patent/JP2011010401A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a motor controller for accurately estimating a rotor angle for control, even if the rotation speed of a rotor suddenly changes or the rotating direction is not inverted.SOLUTION: While a detected rotor angle θr discretely detected by a rotor angle position detecting section 162 cannot be obtained, a rotor angle estimating section 164 executes a normal estimating operation (S72), so long as an elapsed time ΔTL is a previous time interval ΔTor below, and executes a return estimating operation (S62), when it is the time interval or more. In this case, if the difference between the last detected rotor angle θr and an electric angle estimated value θre exceeds 30°, a steering torque code is obtained (S58) to determine whether the rotor is inverted or not (S60). Here, when it is determined that the rotor is not inverted, the estimating section executes normal estimating operation (S72) as reverse return processing, thereby accurately calculating the electric angle estimated value θre, even if the rotation direction of the rotor is not inverted in executing the returning processing.

Description

本発明は、ブラシレスモータの制御を行うモータ制御装置、および当該モータ制御装置を備えた電動パワーステアリング装置に関する。   The present invention relates to a motor control device that controls a brushless motor, and an electric power steering device including the motor control device.

従来から、運転者がハンドル(ステアリングホイール)に加える操舵トルクに応じて電動モータを駆動することにより車両のステアリング機構に操舵補助力を与える電動パワーステアリング装置が用いられている。電動パワーステアリング装置の電動モータには従来からブラシモータが広く使用されているが、信頼性および耐久性の向上や慣性の低減などの観点から、近年ではブラシレスモータも使用されている。   2. Description of the Related Art Conventionally, an electric power steering device that applies a steering assist force to a steering mechanism of a vehicle by driving an electric motor according to a steering torque applied to a steering wheel (steering wheel) by a driver has been used. Conventionally, a brush motor has been widely used as an electric motor of an electric power steering apparatus. However, a brushless motor has also been used in recent years from the viewpoint of improving reliability and durability and reducing inertia.

このブラシレスモータが使用されている電動パワーステアリング装置では、座標変換によるベクトル制御などでブラシレスモータを駆動する方法が一般的である。この方法では、ロータの現時点での回転位置であるロータ角度を検出するため、ホール素子を含む位置検出センサ(ホールセンサ)が用いられることが多い。このホールセンサは、永久磁石からなるロータの周囲に、例えば120度または60度の間隔で3個が配置され、これら3個のホールセンサから出力された検出信号に基づき電気角60度毎のロータ角度の変化が検出される。   In the electric power steering apparatus in which the brushless motor is used, a method of driving the brushless motor by vector control by coordinate conversion is generally used. In this method, in order to detect the rotor angle that is the current rotational position of the rotor, a position detection sensor (hall sensor) including a hall element is often used. Three Hall sensors are arranged around a rotor made of permanent magnets, for example, at intervals of 120 degrees or 60 degrees. Based on the detection signals output from these three Hall sensors, the rotors with an electrical angle of 60 degrees are arranged. A change in angle is detected.

ここで、電気角60度毎の検出情報のみでは、現時点での正確なロータ角度を得ることができないので、当該検出信号に基づき、現時点でのロータ角度を推定する計算が行われるのが一般的である。例えば、検出信号における直前の検出時点からその前の検出時点までの時間間隔と、直前の検出時点からの経過時間とに基づき、現時点でのロータ角度が推定される。   Here, since only the detection information for each electrical angle of 60 degrees cannot obtain the accurate rotor angle at the present time, calculation for estimating the current rotor angle is generally performed based on the detection signal. It is. For example, the current rotor angle is estimated based on the time interval from the previous detection time point to the previous detection time point in the detection signal and the elapsed time from the previous detection time point.

この推定されたロータ角度が不正確であると、脱調やモータ効率の悪化を引き起こすので、推定のための計算には従来よりさまざま工夫がなされている。例えば特許文献1には、ロータ位相推定値が次回の検出位相値に相当する値に達すると、ロータ位相推定値を今回の検出位相値に相当する値の方向へ戻す処理(以下ではこの処理を「戻し処理」という)を行うモータ制御装置の構成が開示されている。   If the estimated rotor angle is inaccurate, it causes step-out and deterioration of motor efficiency. Therefore, various methods have been conventionally used in the calculation for estimation. For example, in Patent Document 1, when the rotor phase estimated value reaches a value corresponding to the next detected phase value, a process of returning the rotor phase estimated value in the direction of the value corresponding to the current detected phase value (hereinafter, this process is referred to as a process). A configuration of a motor control device that performs “return processing”) is disclosed.

特開2004−23973号公報JP 2004-23973 A

ここで、ロータの回転速度が急激に変化することが多い電動パワーステアリング装置において、ホールセンサからの検出信号における直前の検出時点からその前の検出時点までの時間間隔に基づいて単純に現時点でのロータ角度を推定する計算を行うと、現実のロータ角度と大きなずれを生じる可能性がある。   Here, in the electric power steering apparatus in which the rotational speed of the rotor often changes abruptly, it is simply based on the time interval from the immediately preceding detection time to the previous detection time in the detection signal from the hall sensor. When the calculation for estimating the rotor angle is performed, there is a possibility of causing a large deviation from the actual rotor angle.

また、上記戻し処理は、現実のロータが前回の検出時点までの角速度と同じ角速度で回転し、かつ次回の検出位相角が得られると予想される時点の直前でその回転方向が反転し同じ角速度で回転する場合を想定して、上記時点でロータ位相推定値を戻すものである。そのため、現実のロータが上記場合と同様に回転すれば比較的正確なロータ位相推定値を算出することができる。しかし、現実のロータ角度がゆっくりと変化して戻らない場合(すなわちロータの回転方向が反転しない場合)など、上記のように現実のロータが回転しない場合には正確なロータ位相推定値を算出することができない。   In addition, the above-described return processing is performed by rotating the actual rotor at the same angular velocity as the angular velocity up to the previous detection time and reversing the rotation direction immediately before the next detection phase angle is expected to be obtained. The rotor phase estimation value is returned at the above time, assuming the case of rotating at. Therefore, if the actual rotor rotates in the same manner as described above, a relatively accurate rotor phase estimation value can be calculated. However, when the actual rotor angle does not return slowly (that is, when the rotation direction of the rotor does not reverse) or when the actual rotor does not rotate as described above, an accurate rotor phase estimation value is calculated. I can't.

そこで本発明では、ロータの回転速度が急激に変化する場合や、戻し処理が行われるときに回転方向が反転しない場合でも、ロータ角度を正確に推定し制御を行うモータ制御装置、およびこれを備えた電動パワーステアリング装置を提供することを目的とする。   Therefore, the present invention includes a motor control device that accurately estimates and controls the rotor angle even when the rotational speed of the rotor changes abruptly or even when the rotational direction does not reverse when the return process is performed, and Another object is to provide an electric power steering apparatus.

第1の発明は、ブラシレスモータを駆動するモータ制御装置であって、
前記ブラシレスモータのロータの電気角を所定の検出電気角毎に検出可能なように周方向に所定の間隔を空けて配置される複数の検出素子を有し、当該複数の検出素子からの検出信号に基づき前記ロータの電気角を前記所定の検出電気角毎に離散的に検出するロータ角度検出手段と、
前記ロータ角度検出手段による前記ロータ電気角の検出時点の時間間隔に基づき、前記ロータの現時点における電気角推定値を算出するロータ角度推定手段と、
前記ロータの回転方向が反転したか否かを推定する反転推定手段と、
前記ブラシレスモータに供給すべき電流の量を示す指令電流値と、前記ロータ角度推定手段により算出される前記電気角推定値とに基づき、前記ブラシレスモータを制御する指令電圧のレベルを求める制御手段と、
前記制御手段で求められるレベルの電圧に応じて前記ブラシレスモータを駆動するモータ駆動手段と
を備え、
前記ロータ角度推定手段は、前記ロータ角度検出手段による前記ロータ電気角が検出されることなく次に検出されるべき時点が到来した場合、前記ロータ角度検出手段により直前に検出された前記ロータ電気角へ向かって値が戻るように前記電気角推定値を算出する戻し処理を行い、前記戻し処理中に前記反転推定手段により前記ロータが反転していないと推定される場合、前記ロータ角度検出手段により次に検出されるべきロータ電気角へ向かって値が再び戻るように前記電気角推定値を算出する逆戻し処理を行うことを特徴とする。
A first invention is a motor control device for driving a brushless motor,
A plurality of detection elements arranged at predetermined intervals in the circumferential direction so that the electrical angle of the rotor of the brushless motor can be detected for each predetermined detection electrical angle, and detection signals from the plurality of detection elements Rotor angle detection means for discretely detecting the electrical angle of the rotor based on the predetermined detection electrical angle,
Rotor angle estimation means for calculating an electrical angle estimation value at the present time of the rotor based on a time interval at the time of detection of the rotor electrical angle by the rotor angle detection means;
Reversal estimation means for estimating whether or not the rotation direction of the rotor is reversed;
Control means for obtaining a level of a command voltage for controlling the brushless motor based on a command current value indicating an amount of current to be supplied to the brushless motor and the electrical angle estimated value calculated by the rotor angle estimating means; ,
Motor drive means for driving the brushless motor according to a voltage of a level required by the control means,
The rotor angle estimating means detects the rotor electrical angle detected immediately before by the rotor angle detecting means when the next time point to be detected without the rotor electrical angle being detected by the rotor angle detecting means has arrived. When the return processing is performed to calculate the electrical angle estimation value so that the value returns toward the front, and the rotor estimation is not reversed by the inversion estimation unit during the return processing, the rotor angle detection unit Next, reverse processing for calculating the electrical angle estimated value is performed so that the value returns again toward the rotor electrical angle to be detected.

第2の発明は、第1の発明において、
前記ロータ角度推定手段は、前記ロータ角度検出手段による前記ロータ電気角の直前の検出時点から、当該直前の検出時点の前回の検出時点までの時間間隔ΔTn と、前記直前の検出時点から現時点までの経過時間ΔTLとが等しくなるとき、前記次に検出されるべき時点が到来したと判定することを特徴とする。
According to a second invention, in the first invention,
The rotor angle estimation means includes a time interval ΔT n from the detection time immediately before the rotor electrical angle by the rotor angle detection means to the previous detection time of the immediately previous detection time, and from the previous detection time to the current time. When the elapsed time ΔTL becomes equal, it is determined that the next time point to be detected has arrived.

第3の発明は、ブラシレスモータを駆動するモータ制御装置であって、
前記ブラシレスモータのロータの電気角を所定の検出電気角毎に検出可能なように周方向に所定の間隔を空けて配置される複数の検出素子を有し、当該複数の検出素子からの検出信号に応じて前記ロータの電気角を前記所定の検出電気角毎に離散的に検出するロータ角度検出手段と、
前記ロータ角度検出手段による前記ロータ電気角の直前の検出時点である第1の時点を終点とし当該第1の時点の前回の検出時点である第2の時点を始点とする時間間隔ΔTn に基づき算出される前記ロータの角速度ωに応じて、前記ロータの現時点における電気角推定値を算出するロータ角度推定手段と、
前記ブラシレスモータに供給すべき電流の量を示す指令電流値と、前記ロータ角度推定手段により算出される前記電気角推定値とに基づき、前記ブラシレスモータを制御する指令電圧のレベルを求める制御手段と、
前記制御手段で求められるレベルの電圧に応じて前記ブラシレスモータを駆動するモータ駆動手段と
を備え、
前記ロータ角度推定手段は、前記第2の時点から前記第1の時点までの間に前記ロータの回転方向が反転した場合であって、かつ前記第2の時点を終点とし当該第2の時点の前回の検出時点である第3の時点を始点とする時間間隔ΔTn-1 に対して1以上の所定の係数αを乗算して得られる時間間隔α・ΔTn-1 よりも前記時間間隔ΔTn が大きい場合、前記ロータの角速度ωに対して1より大きい所定の角速度増大係数を乗算しまたは前記時間間隔ΔTn に対して1より小さい所定の期間短縮係数を乗算することにより前記ロータの角速度ωを算出し、前記電気角推定値を算出することを特徴とする。
A third invention is a motor control device for driving a brushless motor,
A plurality of detection elements arranged at predetermined intervals in the circumferential direction so that the electrical angle of the rotor of the brushless motor can be detected for each predetermined detection electrical angle, and detection signals from the plurality of detection elements And a rotor angle detection means for discretely detecting the electrical angle of the rotor for each of the predetermined detection electrical angles,
Based on a time interval ΔT n starting from the first time point, which is the detection time immediately before the rotor electrical angle by the rotor angle detecting means, and starting from the second time point, which is the previous detection time of the first time point. Rotor angle estimating means for calculating an estimated electrical angle value of the rotor at a current time according to the calculated angular velocity ω of the rotor;
Control means for obtaining a level of a command voltage for controlling the brushless motor based on a command current value indicating an amount of current to be supplied to the brushless motor and the electrical angle estimated value calculated by the rotor angle estimating means; ,
Motor drive means for driving the brushless motor according to a voltage of a level required by the control means,
The rotor angle estimation means is a case where the rotation direction of the rotor is reversed between the second time point and the first time point, and the second time point is an end point. The time interval ΔT is greater than the time interval α · ΔT n-1 obtained by multiplying the time interval ΔT n-1 starting from the third time point, which is the previous detection time point, by a predetermined coefficient α of 1 or more. When n is large, the angular velocity of the rotor is multiplied by a predetermined angular velocity increase factor greater than 1 for the angular velocity ω of the rotor or by a predetermined period reduction factor less than 1 for the time interval ΔT n . ω is calculated, and the electrical angle estimation value is calculated.

第4の発明は、第1から第3までのいずれか1つの発明に記載のモータ制御装置を備えた、電動パワーステアリング装置である。   A fourth invention is an electric power steering device including the motor control device according to any one of the first to third inventions.

上記第1の発明によれば、戻し処理中に反転推定手段によりロータが反転していないと推定される場合、ロータ角度検出手段により次に検出されるべきロータ電気角へ向かって値が再び戻るように電気角推定値を算出する逆戻し処理が行われるので、逆戻し処理開始時点以降において実際のロータの電気角とロータ角度推定手段により算出される電気角推定値との差が広がることがない。よって、戻し処理が行われるときに回転方向が反転しない場合でも、ロータ角度を正確に推定し制御を行うことができる。   According to the first aspect, when it is estimated that the rotor is not inverted by the inversion estimation means during the return process, the value returns again toward the rotor electrical angle to be detected next by the rotor angle detection means. Thus, since the reverse process for calculating the electrical angle estimated value is performed, the difference between the actual electrical angle of the rotor and the electrical angle estimated value calculated by the rotor angle estimating means after the start of the reverse process is widened. Absent. Therefore, even when the rotation direction does not reverse when the return process is performed, the rotor angle can be accurately estimated and controlled.

上記第2の発明によれば、時間間隔ΔTn と、経過時間ΔTLとが等しくなるとき、次に検出されるべき時点が到来したと判定するので、ロータ角度推定手段により算出される電気角推定値が次に検出されるべきロータ角度に達したか否かを判定することなく、適切な時点で戻し処理を行うか否かを判定することができる。 According to the second aspect of the invention, when the time interval ΔT n becomes equal to the elapsed time ΔTL, it is determined that the next time point to be detected has arrived, so the electrical angle estimation calculated by the rotor angle estimation means It is possible to determine whether or not to perform the return process at an appropriate time without determining whether or not the value has reached the rotor angle to be detected next.

上記第3の発明によれば、ロータ角度推定手段により、ロータの回転方向が反転した場合であって、かつ時間間隔α・ΔTn-1 よりも時間間隔ΔTn が大きい場合、ロータの角速度ωに対して角速度増大係数を乗算しまたは時間間隔ΔTn に対して期間短縮係数を乗算することによりロータの角速度ωを算出し、電気角推定値を算出する。よって、途中でロータの回転方向が反転したことから長くなった期間または小さくなった角速度に対してその期間を短くするようまたはその角速度を大きくするよう補正することができるので、補正された期間または角速度に基づき正確な電気角推定値を算出することができる。 According to the third aspect of the invention, when the rotor rotation direction is reversed by the rotor angle estimation means and the time interval ΔT n is larger than the time interval α · ΔT n−1 , the angular velocity ω of the rotor Is multiplied by the angular velocity increasing coefficient or the time interval ΔT n is multiplied by the period shortening coefficient to calculate the angular velocity ω of the rotor, and the electrical angle estimated value is calculated. Therefore, since the rotation direction of the rotor is reversed in the middle, it can be corrected to shorten the period or increase the angular speed with respect to the long period or the reduced angular speed. An accurate electrical angle estimated value can be calculated based on the angular velocity.

上記第4の発明によれば、上記第1から第3までの発明における効果を奏するモータ制御装置を備えた電動パワーステアリング装置を提供することができる。   According to the fourth aspect, it is possible to provide an electric power steering apparatus including a motor control device that exhibits the effects of the first to third aspects.

本発明の一実施形態に係る電動パワーステアリング装置の構成をそれに関連する車両構成と共に示す概略図である。It is the schematic which shows the structure of the electric power steering apparatus which concerns on one Embodiment of this invention with the vehicle structure relevant to it. 上記実施形態に係る電動パワーステアリング装置を制御的観点から見た構成を示すブロック図である。It is a block diagram which shows the structure which looked at the electric power steering apparatus which concerns on the said embodiment from a control viewpoint. 上記実施形態におけるモータの軸方向に対する垂直断面図である。It is a vertical sectional view to the axial direction of the motor in the embodiment. 図3に示すロータが60度時計回りに回転した時のモータの軸方向に対する垂直断面図である。FIG. 4 is a vertical sectional view with respect to the axial direction of the motor when the rotor shown in FIG. 3 rotates clockwise by 60 degrees. 上記実施形態におけるロータ角度検出値に基づくロータ角度推定の手順を示すフローチャートである。It is a flowchart which shows the procedure of the rotor angle estimation based on the rotor angle detection value in the said embodiment. 上記実施形態における実際のロータ角度と推定ロータ角度との時間的な変化の一例を示す図である。It is a figure which shows an example of the time change of the actual rotor angle and estimated rotor angle in the said embodiment. 上記実施形態におけるロータ角度推定処理の詳しい処理手順を示すフローチャートである。It is a flowchart which shows the detailed process sequence of the rotor angle estimation process in the said embodiment. 上記実施形態における実際のロータ角度と推定ロータ角度との時間的な変化の別例を示す図である。It is a figure which shows another example of the time change of the actual rotor angle and estimated rotor angle in the said embodiment.

以下、添付図面を参照しつつ、本発明の実施形態について説明する。
<1.全体構成>
図1は、本発明の一実施形態(およびその他の各実施形態)に係る電動パワーステアリング装置の構成を、それに関連する車両の構成と共に示す概略図である。図1に示す電動パワーステアリング装置は、ブラシレスモータ1、減速機2、トルクセンサ3、車速センサ4、位置検出センサであるホールセンサ5、および、電子制御ユニット(Electronic Control Unit :以下、ECUという)10を備えたコラムアシスト型の電動パワーステアリング装置である。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
<1. Overall configuration>
FIG. 1 is a schematic diagram showing the configuration of an electric power steering apparatus according to one embodiment (and other embodiments) of the present invention, together with the configuration of a vehicle related thereto. The electric power steering apparatus shown in FIG. 1 includes a brushless motor 1, a speed reducer 2, a torque sensor 3, a vehicle speed sensor 4, a hall sensor 5 that is a position detection sensor, and an electronic control unit (hereinafter referred to as an ECU). 10 is a column assist type electric power steering device.

図1に示すように、ステアリングシャフト102の一端にはハンドル(ステアリングホイール)101が固着されており、ステアリングシャフト102の他端はラックピニオン機構103を介してラック軸104に連結されている。ラック軸104の両端は、タイロッドおよびナックルアームからなる連結部材105を介して車輪106に連結されている。運転者がハンドル101を回転させると、ステアリングシャフト102は回転し、これに伴いラック軸104は往復運動を行う。ラック軸104の往復運動に伴い、車輪106の向きが変わる。   As shown in FIG. 1, a steering wheel (steering wheel) 101 is fixed to one end of the steering shaft 102, and the other end of the steering shaft 102 is connected to a rack shaft 104 via a rack and pinion mechanism 103. Both ends of the rack shaft 104 are connected to a wheel 106 via a connecting member 105 composed of a tie rod and a knuckle arm. When the driver rotates the handle 101, the steering shaft 102 rotates, and the rack shaft 104 reciprocates accordingly. As the rack shaft 104 reciprocates, the direction of the wheels 106 changes.

電動パワーステアリング装置は、運転者の負荷を軽減するために、以下に示す操舵補助を行う。トルクセンサ3は、ハンドル101の操作によってステアリングシャフト102に加えられる操舵トルクTを検出する。車速センサ4は、車速Sを検出する。   The electric power steering device performs the following steering assistance in order to reduce the driver's load. The torque sensor 3 detects a steering torque T applied to the steering shaft 102 by operating the handle 101. The vehicle speed sensor 4 detects the vehicle speed S.

ホールセンサ5は、ホール素子を含むホールICからなり、ブラシレスモータ1のロータの回転位置Pを検出する。なお、後述するようにこのホールセンサは、連続的にロータの位置を検出可能ないわゆるリニア形式のホールセンサではなく、離散的にロータの位置を検出するスイッチ形式(オンオフ形式)のホールセンサである。   The hall sensor 5 includes a hall IC including a hall element, and detects the rotational position P of the rotor of the brushless motor 1. As will be described later, this Hall sensor is not a so-called linear Hall sensor that can continuously detect the rotor position, but a switch-type (ON / OFF) Hall sensor that discretely detects the rotor position. .

ECU10は、車載バッテリ100から電力の供給を受け、操舵トルクT、車速Sおよび回転位置Pに基づきブラシレスモータ1を駆動する。ブラシレスモータ1は、ECU10によって駆動されると、操舵補助力を発生させる。減速機2は、ブラシレスモータ1とステアリングシャフト102との間に設けられる。ブラシレスモータ1で発生した操舵補助力は、減速機2を介して、ステアリングシャフト102を回転させるように作用する。   The ECU 10 is supplied with electric power from the in-vehicle battery 100 and drives the brushless motor 1 based on the steering torque T, the vehicle speed S, and the rotational position P. The brushless motor 1 generates a steering assist force when driven by the ECU 10. The speed reducer 2 is provided between the brushless motor 1 and the steering shaft 102. The steering assist force generated by the brushless motor 1 acts to rotate the steering shaft 102 via the speed reducer 2.

この結果、ステアリングシャフト102は、ハンドル101に加えられる操舵トルクと、ブラシレスモータ1で発生した操舵補助力の両方によって回転する。このように電動パワーステアリング装置は、ブラシレスモータ1で発生した操舵補助力を車両のステアリング機構に与えることにより操舵補助を行う。   As a result, the steering shaft 102 is rotated by both the steering torque applied to the handle 101 and the steering assist force generated by the brushless motor 1. As described above, the electric power steering apparatus performs steering assist by applying the steering assist force generated by the brushless motor 1 to the steering mechanism of the vehicle.

このような本実施形態に係る電動パワーステアリング装置では、ブラシレスモータ1を駆動する制御装置(モータ制御装置)に特徴がある。そこで以下では、本実施形態に係る電動パワーステアリング装置に含まれるモータ制御装置について説明する。   The electric power steering apparatus according to this embodiment is characterized by a control device (motor control device) that drives the brushless motor 1. Therefore, hereinafter, a motor control device included in the electric power steering apparatus according to the present embodiment will be described.

<2.モータ制御装置の構成>
図2は、上記電動パワーステアリング装置における制御装置であるECU10の構成を示すブロック図である。このECU10は、マイクロコンピュータ(以下「マイコン」と略記する)20とモータ駆動部とから構成される。マイコン20は、その内部のメモリに格納された所定のプログラムを実行することにより、車速演算部184と、目標電流演算部114と、減算器122,124と、d軸電流PI制御部126と、q軸電流PI制御部128と、d−q/3相交流座標変換部132と、符号反転加算器134と、3相交流/d−q座標変換部138と、ロータ角度位置検出部162と、ロータ角度推定部164とからなるモータ制御部として機能する。目標電流演算部114には、基本アシスト制御部180とモータ電流指令値演算部188とが含まれている。モータ駆動部は、モータ制御部としてのマイコン20から出力される電圧指令値に基づき3相のブラシレスモータ1を駆動するハードウェア(回路)であり、PWM信号生成回路150と、モータ駆動回路152と、U相電流検出器156と、V相電流検出器154とから構成される。
<2. Configuration of Motor Control Device>
FIG. 2 is a block diagram showing a configuration of the ECU 10 which is a control device in the electric power steering apparatus. The ECU 10 includes a microcomputer (hereinafter abbreviated as “microcomputer”) 20 and a motor drive unit. The microcomputer 20 executes a predetermined program stored in its internal memory, so that the vehicle speed calculation unit 184, the target current calculation unit 114, the subtractors 122 and 124, the d-axis current PI control unit 126, q-axis current PI control unit 128, dq / 3-phase AC coordinate conversion unit 132, sign inversion adder 134, 3-phase AC / dq coordinate conversion unit 138, rotor angular position detection unit 162, It functions as a motor control unit including the rotor angle estimation unit 164. The target current calculation unit 114 includes a basic assist control unit 180 and a motor current command value calculation unit 188. The motor drive unit is hardware (circuit) that drives the three-phase brushless motor 1 based on a voltage command value output from the microcomputer 20 serving as a motor control unit, and includes a PWM signal generation circuit 150, a motor drive circuit 152, , U phase current detector 156 and V phase current detector 154.

ハンドル101が操作されると、トルクセンサ3によって検出される操舵トルクTがECU10に入力されるとともに、車速センサ4によって検出される車速信号SもECU10に入力される。車速演算部184では、車速信号Sに基づいて車速Vが算出される。   When the handle 101 is operated, the steering torque T detected by the torque sensor 3 is input to the ECU 10, and the vehicle speed signal S detected by the vehicle speed sensor 4 is also input to the ECU 10. The vehicle speed calculation unit 184 calculates the vehicle speed V based on the vehicle speed signal S.

ロータ角度位置検出部162は、ブラシレスモータ1に取り付けられたホールセンサ5から出力されるセンサ信号に基づいて、ブラシレスモータ1のロータである永久磁石の回転位置である実際のロータ角度θaに相当する電気角(以下「検出ロータ角度θr」という)を離散的に検出する。このホールセンサ5は、図3のように取り付けられる3つのホールセンサからなる。   The rotor angle position detector 162 corresponds to the actual rotor angle θa that is the rotational position of the permanent magnet that is the rotor of the brushless motor 1 based on the sensor signal output from the Hall sensor 5 attached to the brushless motor 1. The electrical angle (hereinafter referred to as “detected rotor angle θr”) is discretely detected. The hall sensor 5 includes three hall sensors attached as shown in FIG.

図3は、モータの軸方向に対する垂直断面図であり、図4は、図3に示すロータが60度時計回りに回転した時のモータの軸方向に対する垂直断面図である。これらの図に示されるように、ホールセンサ5は、3つのホールセンサ5a〜5cからなり、これらは3つのステータ6a〜6cの直上に取り付けられている。これらのホールセンサ5a〜5cは、説明の便宜のため、ロータ7の磁極(N極またはS極)が最も接近した時、すなわち対応するステータ6a〜6cの直上に位置する時点でセンサ信号を出力するものとする。なお、実際にはホールセンサ5a〜5cは、ロータ7の実際のロータ角度θaが60度変化する毎にこれらのうちのいずれか1つから出力される信号がHレベルからLレベルへまたはその逆に変化するよう、軸回りに120度ずつの間隔を空けて配置される。   FIG. 3 is a vertical sectional view with respect to the axial direction of the motor, and FIG. 4 is a vertical sectional view with respect to the axial direction of the motor when the rotor shown in FIG. 3 rotates clockwise by 60 degrees. As shown in these drawings, the hall sensor 5 includes three hall sensors 5a to 5c, which are mounted immediately above the three stators 6a to 6c. For the convenience of explanation, these Hall sensors 5a to 5c output sensor signals when the magnetic poles (N pole or S pole) of the rotor 7 are closest to each other, that is, when they are located immediately above the corresponding stators 6a to 6c. It shall be. In practice, the Hall sensors 5a to 5c are configured such that every time the actual rotor angle θa of the rotor 7 changes by 60 degrees, the signal output from any one of them changes from H level to L level or vice versa. Are arranged at intervals of 120 degrees around the axis.

また、図3および図4では、センサ信号を出力するホールセンサに斜線が付されている。さらに以下では、ホールセンサ5aの位置にロータ7のN極が最も接近した時のロータ7の角度を0度とする。すなわち、図3に示されるように、実際のロータ角度θaが0度のときに斜線を付されたホールセンサ5aは、ロータ7のN極を検出しており、ロータ角度位置検出部162に対してセンサ信号が送られる。ロータ角度位置検出部162は、ホールセンサ5aからの当該センサ信号を受け取ることにより、検出ロータ角度θrは0度であることを判別することができるので、ロータ角度推定部164に対して検出ロータ角度θrである0度を与える。   3 and 4, the hall sensor that outputs the sensor signal is hatched. Further, hereinafter, the angle of the rotor 7 when the N pole of the rotor 7 is closest to the position of the hall sensor 5a is assumed to be 0 degree. That is, as shown in FIG. 3, when the actual rotor angle θa is 0 degree, the hatched Hall sensor 5 a detects the N pole of the rotor 7, and the rotor angle position detection unit 162 Sensor signal is sent. The rotor angle position detection unit 162 can determine that the detected rotor angle θr is 0 degrees by receiving the sensor signal from the hall sensor 5a, and therefore the detected rotor angle with respect to the rotor angle estimation unit 164. 0 degree which is θr is given.

さらに、ロータ7が時計回り方向に60度回転すると、図4に示されるように斜線を付されたホールセンサ5cは、ロータ7のS極を検出しており、ロータ角度位置検出部162に対してセンサ信号が送られる。ロータ角度位置検出部162は、ホールセンサ5cからの当該センサ信号を受け取った時の検出ロータ角度θrは60度であることを判別することができるので、ロータ角度推定部164に対して検出ロータ角度θrである60度を与える。   Further, when the rotor 7 rotates 60 degrees in the clockwise direction, the hall sensor 5c hatched as shown in FIG. 4 detects the south pole of the rotor 7, and the rotor angular position detector 162 is Sensor signal is sent. Since the rotor angle position detector 162 can determine that the detected rotor angle θr is 60 degrees when receiving the sensor signal from the hall sensor 5c, the rotor angle estimator 164 detects the detected rotor angle. 60 degrees which is θr is given.

このように、ロータ7が60度回転する毎に、3つのホールセンサ5a〜5cによりロータ7のN極またはS極を検出することができるので、ロータ角度位置検出部162は、ロータ角度推定部164に対して検出単位角度である60度毎に(離散的に)検出ロータ角度θrを与える。したがって、検出ロータ角度θrが与えられる場合には、その検出ロータ角度θrは正確であってそのままロータ角度として使用することができるが、その値は離散的にしか得られないためその間の値を推定する必要がある。   Thus, every time the rotor 7 rotates 60 degrees, the three Hall sensors 5a to 5c can detect the north pole or south pole of the rotor 7, so that the rotor angle position detector 162 is a rotor angle estimator. The detected rotor angle θr is given to the 164 every 60 degrees which is the detection unit angle (discretely). Therefore, when the detected rotor angle θr is given, the detected rotor angle θr is accurate and can be used as it is as the rotor angle, but since the value can only be obtained discretely, the value between them is estimated. There is a need to.

そこでロータ角度推定部164は、ロータ角度位置検出部162によって検出された検出ロータ角度θrに対して、現時点におけるロータ角度を正確に推定する演算を行うことにより、この電気角θrを推定された電気角θreに補正し出力する。この推定演算については詳しくは後述する。なお、本実施形態ではロータの極対数が1であるため、この電気角θre(電気角θr)は機械角に一致している。またこの極対数は2以上であってもよい。   Therefore, the rotor angle estimation unit 164 performs an operation of accurately estimating the current rotor angle with respect to the detected rotor angle θr detected by the rotor angle position detection unit 162, thereby estimating the electrical angle θr. Correct to the angle θre and output. This estimation calculation will be described in detail later. In this embodiment, since the number of pole pairs of the rotor is 1, this electrical angle θre (electrical angle θr) matches the mechanical angle. The number of pole pairs may be 2 or more.

またロータ角度推定部164は、直前(すなわち次回の検出時点から見て1回前)にロータ角度位置検出部162から受け取った検出ロータ角度θrと、その前(2回前)に受け取った検出ロータ角度θr’とを記憶するとともに、さらにその前(3回前)にロータ角度位置検出部162から検出ロータ角度θrを受け取った時点から前回(2回前)の時点までの時間間隔ΔTn-1 と、前回(2回前)の時点から直前(1回前)の時点までの時間間隔ΔTn とを記憶する。これらの値はロータ角度の推定のために使用されるが詳しくは後述する。 The rotor angle estimation unit 164 also detects the detected rotor angle θr received from the rotor angle position detection unit 162 immediately before (that is, one time before the next detection time) and the detected rotor received before (two times before). In addition to storing the angle θr ′, the time interval ΔT n−1 from the time point when the detected rotor angle θr is received from the rotor angle position detection unit 162 before (three times before) to the time point before (two times before). And the time interval ΔT n from the previous time (2 times before) to the immediately previous time (1 time before). These values are used for estimating the rotor angle, which will be described in detail later.

基本アシスト制御部180は、アシストマップと呼ばれる、操舵トルクと目標電流値とを対応づけるテーブルを参照し、操舵トルクTと車速Vとに基づいて、ブラシレスモータ1に流すべき目標電流値Itを決定する。モータ電流指令値演算部188は、目標電流値Itに基づいて、q軸電流指令値iq*を出力する。このq軸電流指令値iq*は、ブラシレスモータ1が発生すべきトルクに対応する電流値であり、減算器124に入力される。一方、d軸電流指令値id*は、トルクに関与しないのでid*=0として、減算器122に入力される。 The basic assist control unit 180 refers to a table called an assist map that associates the steering torque with the target current value, and determines the target current value It to flow through the brushless motor 1 based on the steering torque T and the vehicle speed V. To do. The motor current command value calculation unit 188 outputs a q-axis current command value iq * based on the target current value It. The q-axis current command value iq * is a current value corresponding to the torque that should be generated by the brushless motor 1 and is input to the subtractor 124. On the other hand, the d-axis current command value id * is input to the subtractor 122 as id * = 0 because it does not relate to the torque.

U相電流検出器156およびV相電流検出器154は、それぞれモータのU相、V相の巻き線(本明細書では単に「U相、V相」という)に流れる電流を検出し、U相電流検出値iuとV相電流検出値ivとをそれぞれ電圧信号で出力する。これらのU相電流検出器156およびV相電流検出器154は、モータ駆動回路152からブラシレスモータ1へ繋がる線に対して配置されるが、モータ駆動回路152内の各駆動用素子と接地点との間に配置されてもよい。   The U-phase current detector 156 and the V-phase current detector 154 detect currents flowing in the U-phase and V-phase windings of the motor (referred to simply as “U-phase and V-phase” in this specification), respectively. The current detection value iu and the V-phase current detection value iv are output as voltage signals, respectively. The U-phase current detector 156 and the V-phase current detector 154 are arranged with respect to a line connecting the motor drive circuit 152 to the brushless motor 1, but each drive element in the motor drive circuit 152 and a grounding point are arranged. It may be arranged between.

3相交流/d−q座標変換部138は、ロータの電気角θreに基づいて、U相電流検出値iuおよびV相電流検出値ivを、d−q座標上の値であるd軸モータ電流値idおよびq軸モータ電流値iqに変換する。このd軸モータ電流値idおよびq軸モータ電流値iqは、減算器122および減算器124にそれぞれ入力される。   The three-phase AC / dq coordinate conversion unit 138 converts the U-phase current detection value iu and the V-phase current detection value iv into a d-axis motor current that is a value on the dq coordinate, based on the electrical angle θre of the rotor. The value id and the q-axis motor current value iq are converted. The d-axis motor current value id and the q-axis motor current value iq are input to the subtractor 122 and the subtractor 124, respectively.

減算器122では、d軸電流指令値id*とd軸モータ電流値idとの偏差id*−idが出力される。そして、d軸電流PI制御部126では、その偏差id*−idに基づく比例積分演算によって、d軸電圧指令値vd*が出力される。一方、減算器124では、q軸電流指令値iq*とq軸モータ電流値iqとの偏差iq*−iqが出力される。そして、q軸電流PI制御部128では、その偏差iq*−iqに基づく比例積分演算によって、q軸電圧指令値vq*が出力される。 The subtractor 122 outputs a deviation id * -id between the d-axis current command value id * and the d-axis motor current value id. Then, the d-axis current PI control unit 126 outputs the d-axis voltage command value vd * by proportional-integral calculation based on the deviation id * -id. On the other hand, the subtractor 124 outputs a deviation iq * -iq between the q-axis current command value iq * and the q-axis motor current value iq. Then, the q-axis current PI control unit 128 outputs the q-axis voltage command value vq * by the proportional integration calculation based on the deviation iq * −iq.

d−q/3相交流座標変換部132では、ロータの電気角θreに基づいて、d軸電圧指令値vd*およびq軸電圧指令値vq*を、3相交流座標上の値であるU相電圧指令値vu*およびV相電圧指令値vv*に変換する。そして、符号反転加算器134は、U相電圧指令値vu*およびV相電圧指令値vv*からW相電圧指令値vw*を算出する。 In the dq / 3-phase AC coordinate conversion unit 132, based on the electrical angle θre of the rotor, the d-axis voltage command value vd * and the q-axis voltage command value vq * are U-phase values that are values on the three-phase AC coordinates. The voltage command value vu * and the V-phase voltage command value vv * are converted. Then, the sign inversion adder 134 calculates the W-phase voltage command value vw * from the U-phase voltage command value vu * and the V-phase voltage command value vv * .

PWM信号生成回路150は、U相電圧指令値vu*、V相電圧指令値vv*、W相電圧指令値vw*を受け取り、それらの指令値に応じてデューティ比の変化するPWM信号Su、Sv、Swを生成する。モータ駆動回路152では、そのPWM信号Su、Sv、Swによってスイッチング素子がオン/オフされ、それにより、デューティ比に応じた電圧vu、vv、vwがブラシレスモータ1のU相、V相、W相にそれぞれ印加される。 The PWM signal generation circuit 150 receives the U-phase voltage command value vu * , the V-phase voltage command value vv * , and the W-phase voltage command value vw *, and the PWM signals Su and Sv whose duty ratio changes according to these command values. , Sw is generated. In the motor drive circuit 152, the switching elements are turned on / off by the PWM signals Su, Sv, Sw, so that the voltages vu, vv, vw corresponding to the duty ratio are the U phase, V phase, W phase of the brushless motor 1. Respectively.

<3.ロータ角度推定部の動作>
<3.1 全体の動作>
次に、本実施形態におけるロータ角度推定部164のロータ角度決定処理について説明する。図5は、本実施形態に係る電動パワーステアリング装置における、ロータ角度検出値に基づくロータ角度決定の手順を示すフローチャートである。なお、以下の処理は所定の非常に短い制御間隔で繰り返し行われるものとする。
<3. Operation of Rotor Angle Estimator>
<3.1 Overall operation>
Next, the rotor angle determination process of the rotor angle estimation unit 164 in the present embodiment will be described. FIG. 5 is a flowchart showing a procedure for determining the rotor angle based on the detected rotor angle in the electric power steering apparatus according to the present embodiment. Note that the following processing is repeatedly performed at a predetermined very short control interval.

ステップS10において、このモータ制御装置に備えられるロータ角度推定部164は、ホールセンサ5からのセンサ信号を入力されるロータ角度位置検出部162によって算出され離散的に与えられる検出ロータ角度θrを受け取った否かを判定する。ホールセンサの信号検出により検出ロータ角度θrを受け取らない場合には(ステップS10:No)、処理はステップS50に進む。このステップS50における角度推定処理については詳しく後述する。この角度推定処理が行われると、上記処理は一旦終了し、次の制御周期が到来すると新たに開始される、という動作が装置の停止まで繰り返される。   In step S10, the rotor angle estimation unit 164 provided in the motor control device receives the detected rotor angle θr that is discretely given and calculated by the rotor angle position detection unit 162 to which the sensor signal from the hall sensor 5 is input. Determine whether or not. When the detected rotor angle θr is not received by the signal detection of the hall sensor (step S10: No), the process proceeds to step S50. The angle estimation process in step S50 will be described in detail later. When this angle estimation process is performed, the above-described process is temporarily ended, and a new operation is started when the next control cycle comes.

また、上記判定の結果、ホールセンサの信号検出により離散的に与えられる検出ロータ角度θrを受け取った場合には(ステップS10:Yes)、ロータ角度推定部164は、受け取ったロータ角度である検出ロータ角度θrをそのまま推定値としての推定ロータ角度θreに代入し(ステップS12)、その推定ロータ角度θreを出力する。この出力された推定ロータ角度θreが3相交流/d−q座標変換部138およびd−q/3相交流座標変換部132に与えられることについては前述した。   When the detection rotor angle θr discretely given by the signal detection of the Hall sensor is received as a result of the determination (step S10: Yes), the rotor angle estimation unit 164 detects the detected rotor angle that is the received rotor angle. The angle θr is directly substituted into the estimated rotor angle θre as an estimated value (step S12), and the estimated rotor angle θre is output. As described above, the output estimated rotor angle θre is given to the three-phase AC / dq coordinate conversion unit 138 and the dq / 3-phase AC coordinate conversion unit 132.

次にステップS14において、ロータ角度推定部164は、ロータ7の回転方向が前回の検出時点から今回の検出時点までの間に反転したか否かを判定し、反転した場合には(ステップS14:Yes)、続くステップS16の処理へ進み、反転していない場合には(ステップS14:No)、詳しくは後述する期間短縮係数Tcに1を代入し(ステップS20)、さらに続くステップS22の処理へ進む。なお、上記判定は、具体的には前回(2回前)の検出時点における推定ロータ角度θre’と、今回である直前(1回前)の検出時点における推定ロータ角度θreとを比較し、同じ値であればその間に反転したものとすることにより行うことができる。このようにロータ7の回転方向が反転する場合について、図6を参照して詳しく説明する。   Next, in step S14, the rotor angle estimation unit 164 determines whether or not the rotation direction of the rotor 7 has been reversed between the previous detection time and the current detection time, and when reversed (step S14: Yes), the process proceeds to the subsequent step S16, and if it is not reversed (step S14: No), 1 is substituted into a period shortening coefficient Tc described later in detail (step S20), and further to the subsequent step S22. move on. Specifically, the above determination is made by comparing the estimated rotor angle θre ′ at the previous detection time (two times before) with the estimated rotor angle θre at the detection time immediately before this time (one time before). If it is a value, it can be performed by inverting it in the meantime. The case where the rotation direction of the rotor 7 is reversed will be described in detail with reference to FIG.

図6は、実際のロータ角度と推定ロータ角度との時間的な変化の一例を示す図である。この図6に示されるように、時刻t0では実際のロータ角度θaも推定ロータ角度θreもゼロであり、また図示されていないが検出ロータ角度θrもゼロである。その後、時刻t1において、ロータ角度位置検出部162により検出ロータ角度θrが60°と検出される。この時点における実際のロータ角度θaも推定ロータ角度θreも60°になることは前述したとおりである。   FIG. 6 is a diagram illustrating an example of a temporal change between the actual rotor angle and the estimated rotor angle. As shown in FIG. 6, at time t0, both the actual rotor angle θa and the estimated rotor angle θre are zero, and the detected rotor angle θr is also zero although not shown. Thereafter, at time t1, the rotor angle position detection unit 162 detects the detected rotor angle θr as 60 °. As described above, the actual rotor angle θa and the estimated rotor angle θre at this point are both 60 °.

さらにその後、時刻t2において実際のロータ角度θaが120°になる前に減少に転じ、推定ロータ角度θreは120°となりその後減少に転じているが、このような推定ロータ角度θreの算出方法については詳しく後述する。なお、この時刻t2近傍で実際のロータ7の回転方向は反転しているが、この時点ではロータ角度位置検出部162により検出ロータ角度θrを得ることができないので、反転したことを直接に検出することはできない。ただし結果的に反転したであろうことを推定することは可能であり、詳しくは後述する。   After that, at time t2, the actual rotor angle θa starts to decrease before it becomes 120 °, and the estimated rotor angle θre becomes 120 °, and then starts to decrease. Details will be described later. Although the actual rotation direction of the rotor 7 is reversed in the vicinity of the time t2, since the detected rotor angle θr cannot be obtained by the rotor angle position detection unit 162 at this time, it is directly detected that the rotation is reversed. It is not possible. However, it is possible to estimate that it would have reversed as a result, which will be described in detail later.

そして時刻t5において、ロータ角度位置検出部162により検出ロータ角度θrが60°と検出される。この時点において、前回(2回前)の検出時点t1における推定ロータ角度θre’は60°であり、今回である直前(1回前)の検出時点t5における推定ロータ角度θreも60°であるので、上記ステップS14の処理においてロータ7の回転方向は、時刻t1から時刻t5までの間に反転したと判定される。   At time t5, the rotor angle position detector 162 detects the detected rotor angle θr as 60 °. At this time, the estimated rotor angle θre ′ at the detection time t1 of the previous time (two times before) is 60 °, and the estimated rotor angle θre at the detection time t5 immediately before this time (one time before) is also 60 °. In the process of step S14, it is determined that the rotation direction of the rotor 7 is reversed between time t1 and time t5.

続いてステップS16において、ロータ角度推定部164は、前回(2回前)にロータ角度位置検出部162から検出ロータ角度θr’を受け取った時点から直前(1回前)の時点までの時間間隔ΔTn の大きさが、前回のさらに前(3回前)の時点から前回(2回前)の時点までの時間間隔ΔTn-1 の大きさよりも大きいか否かを判定し、大きい場合には(ステップS16:Yes)、詳しくは後述する期間短縮係数Tcに1/2を代入し(ステップS18)、さらに続くステップS22の処理へ進む。また上記判定の結果大きくない場合には(ステップS16:No)、前述したステップS20における処理を行った後、さらに続くステップS22の処理へ進む。 Subsequently, in step S16, the rotor angle estimation unit 164 determines the time interval ΔT from the time point when the detected rotor angle θr ′ is received from the rotor angle position detection unit 162 the previous time (two times before) to the time point immediately before (one time before). the size of n may determine whether greater than the magnitude of the time interval [Delta] T n-1 up to the time of the last time (previous two times) from the time the last addition (before 3 times), the greater the (Step S16: Yes), ½ is substituted for a period shortening coefficient Tc described later in detail (Step S18), and the process proceeds to the subsequent Step S22. If the result of the determination is not great (step S16: No), after performing the process in step S20 described above, the process proceeds to the subsequent step S22.

ここで図6に示す例では、直前(1回前)の検出時点を時刻t5とするとき、まず前述したように、上記ステップS14の処理において、時刻t5の時点ではロータ7の回転方向は(途中で)反転したと判定される。次に上記ステップS16の処理において、前回(2回前)の検出時点である時刻t1から上記時刻t5までの時間間隔ΔTn の大きさは、前々回(3回前)の検出時点である時刻t0から上記時刻t1までの時間間隔ΔTn-1 の大きさよりも大きいと判定される。したがって、上記ステップS18の処理において、期間短縮係数Tcには1/2が代入される。このように期間短縮係数Tcに1/2を代入する目的については詳しく後述する。 Here, in the example shown in FIG. 6, when the detection time immediately before (one time before) is time t5, as described above, in the process of step S14, the rotation direction of the rotor 7 at time t5 is ( It is determined that it has been reversed. Next, in the process of step S16, the magnitude of the time interval ΔT n from time t1 which is the previous detection time (two times before) to time t5 is the time t0 which is the detection time of the previous time (three times before). Is determined to be larger than the time interval ΔT n-1 from time t1 to time t1. Accordingly, in the process of step S18, ½ is substituted for the period shortening coefficient Tc. The purpose of substituting 1/2 for the period shortening coefficient Tc will be described later in detail.

次にステップS22において、ロータ角度推定部164は、角度推定用の初期化処理を行う。具体的には、後述するステップS50における角度推定処理に使用される直前(1回前)の検出時点からの経過時間ΔTLをゼロに設定する。   Next, in step S22, the rotor angle estimation unit 164 performs an initialization process for angle estimation. Specifically, the elapsed time ΔTL from the detection time immediately before (one time before) used in the angle estimation process in step S50 described later is set to zero.

また、ロータ角度推定部164は、ステップS50における角度推定処理に使用されるロータの回転方向を示す回転方向係数Orに1または−1の値を代入する。具体的には、前回(2回前)の検出時点における推定ロータ角度θre’と、今回である直前(1回前)の検出時点における推定ロータ角度θreとに基づき、図の時計回り方向にロータ7が回転していると判定される場合には回転方向係数Orに1を代入し、反時計回り方向にロータ7が回転していると判定される場合には回転方向係数Orに−1を代入する。またθre’=θreである場合には、前述したようにロータ7の回転方向が途中で反転しているので、前回の回転方向係数Orの符号を逆にして、再び回転方向係数Orに代入する。   Further, the rotor angle estimation unit 164 substitutes a value of 1 or −1 for the rotation direction coefficient Or indicating the rotation direction of the rotor used in the angle estimation process in step S50. Specifically, based on the estimated rotor angle θre ′ at the previous detection time (two times before) and the estimated rotor angle θre at the detection time immediately before this time (one time before), the rotor is rotated clockwise in the figure. When it is determined that the rotor 7 is rotating, 1 is assigned to the rotation direction coefficient Or, and when it is determined that the rotor 7 is rotating counterclockwise, the rotation direction coefficient Or is set to -1. substitute. When θre ′ = θre, the rotation direction of the rotor 7 is reversed in the middle as described above. Therefore, the sign of the previous rotation direction coefficient Or is reversed and substituted in the rotation direction coefficient Or again. .

その後、上記一連の処理は一旦終了し、次の制御周期が到来すると新たに開始される、という動作が装置の停止まで繰り返される。次に、図7を参照して角度推定処理(ステップS50)の詳しい処理内容について説明する。   Thereafter, the series of processes is temporarily terminated, and a new operation is started when the next control cycle arrives, and the operation is repeated until the apparatus is stopped. Next, detailed processing contents of the angle estimation processing (step S50) will be described with reference to FIG.

<3.2 角度推定の詳しい動作>
図7は、本実施形態に係る電動パワーステアリング装置における、角度推定処理の詳しい処理手順を示すフローチャートである。図7に示されるステップS52において、ロータ角度推定部164は、直前(1回前)にロータ角度位置検出部162から検出ロータ角度θrを受け取った時点から現時点までの経過時間ΔTLが、前回(2回前)から直前(1回前)の時点までの時間間隔ΔTn 以上であるか否かを判定する。
<3.2 Detailed operation of angle estimation>
FIG. 7 is a flowchart showing a detailed processing procedure of angle estimation processing in the electric power steering apparatus according to the present embodiment. In step S52 shown in FIG. 7, the rotor angle estimation unit 164 determines that the elapsed time ΔTL from the time when the detected rotor angle θr is received from the rotor angle position detection unit 162 immediately before (one time before) to the current time is (2 It is determined whether or not the time interval ΔT n from the previous time to the previous time (one time before) is equal to or greater than.

この判定の結果、ΔTL≧ΔTn である場合(ステップS52:Yes)、処理はステップS54に進み、以降の処理で(従来の戻し処理とは異なる、後述する逆戻し処理として機能する通常推定演算を含めた)本実施形態における戻し処理が行われる。この処理内容については後述する。なお、このステップS52における処理のように経過時間ΔTLに基づき戻し処理を行うか否か判定すれば、推定ロータ角度θreが次に検出されるべき検出ロータ角度に達したか否かを判定することなく、適切な時点で戻し処理を行うか否かを判定することができる。もっとも、ここでステップS52における処理に代えて、従来のように推定ロータ角度θreが次に検出されるべき検出ロータ角度に達したか否かを判定してもよい。 As a result of this determination, if ΔTL ≧ ΔT n (step S52: Yes), the process proceeds to step S54, and the subsequent process (normal estimation calculation functioning as a reverse return process, which will be described later, is different from the conventional return process) The return processing in this embodiment is performed. Details of this processing will be described later. If it is determined whether or not the return process is performed based on the elapsed time ΔTL as in the process in step S52, it is determined whether or not the estimated rotor angle θre has reached the detected rotor angle to be detected next. It is possible to determine whether or not to perform the return process at an appropriate time. However, instead of the processing in step S52, it may be determined whether or not the estimated rotor angle θre has reached the detected rotor angle to be detected next, as in the past.

なお、上記ステップS52では、ΔTL≧ΔTn であるか否かが判定されるが、ΔTn より所定の期間pだけ長い期間と比較されてもよい(ΔTL≧ΔTn +p)。そうすれば、推定ロータ角度θreが次に検出されるべき検出ロータ角度に達した場合、さらに期間pが経過した時点で戻し処理を行うか否かを判定することができる。 In the step S52, but whether .DELTA.TL ≧ [Delta] T n is determined, which may be compared only long period predetermined period p from ΔT n (ΔTL ≧ ΔT n + p). Then, when the estimated rotor angle θre reaches the detected rotor angle to be detected next, it is possible to determine whether or not to perform the return process when the period p further elapses.

また、上記判定の結果、ΔTL<ΔTn である場合(ステップS52:No)、ステップS68の処理を経てステップS72における通常推定演算が行われる。ここで、まず前述した戻し処理が行われない場合であって、上記期間短縮係数Tcに1/2が代入される場合を含めた通常推定演算に関連する動作について先に説明する。 If ΔTL <ΔT n as a result of the determination (step S52: No), the normal estimation calculation in step S72 is performed through the process of step S68. Here, the operation related to the normal estimation calculation including the case where the above-described return processing is not performed and the case where 1/2 is substituted for the period shortening coefficient Tc will be described first.

<3.2.1 期間が短縮される場合を含む通常推定演算動作>
まずステップS68において、ロータ角度推定部164は、後述するトルク検出フラグをリセットする。このトルク検出フラグは、以下に説明する通常推定演算が後述する逆戻し処理として機能する場合に使用されるので、以下の通常推定演算が逆戻し処理として機能しないこの時点でリセットされる。その後処理はステップS72に進む。
<3.2.1 Normal estimation calculation operation including the case where the period is shortened>
First, in step S68, the rotor angle estimation unit 164 resets a torque detection flag described later. Since this torque detection flag is used when a normal estimation calculation described below functions as a reverse process described later, the torque detection flag is reset at this point when the following normal estimation calculation does not function as a reverse process. Thereafter, the process proceeds to step S72.

次にステップS72(通常推定演算)において、ロータ角度推定部164は、ロータ角度位置検出部162による前回(2回前)から直前(1回前)の時点までの時間間隔ΔTn に対して期間短縮係数Tcを乗算した期間に基づき、この期間におけるロータ7の角速度ω(=60/(ΔTn ・Tc)・Or)を算出し、この角速度ωを上記直前の検出時点からの経過時間ΔTLに対して乗算し、この乗算値を直前に検出された検出ロータ角度θrに加算することにより、推定ロータ角度θre(=ω・ΔTL+θr)を算出する。 Next, in step S72 (normal estimation calculation), the rotor angle estimation unit 164 performs a period with respect to a time interval ΔT n from the previous time (two times before) to the time immediately before (one time before) by the rotor angle position detection unit 162. Based on the period multiplied by the shortening coefficient Tc, the angular velocity ω (= 60 / (ΔT n · Tc) · Or) of the rotor 7 in this period is calculated, and this angular velocity ω is set to the elapsed time ΔTL from the previous detection time point. The estimated rotor angle θre (= ω · ΔTL + θr) is calculated by multiplying the resultant value and adding the multiplied value to the detected rotor angle θr detected immediately before.

ここで、前述したステップS20の処理において上記期間短縮係数Tcに1が代入される場合、時間間隔ΔTn に対して期間短縮係数Tcを乗算する意味はない。しかし、前述したステップS18の処理において上記期間短縮係数Tcに1/2が代入される場合、時間間隔ΔTn に対して期間短縮係数Tcを乗算した期間は、時間間隔ΔTn の半分となる。この期間に基づき推定ロータ角度θreを算出するためのロータ7の角速度ωを算出すると、比較的正確な推定ロータ角度θreを得ることができる。以下、図6を参照して詳しく説明する。 Here, when 1 is substituted for the period shortening coefficient Tc in the process of step S20 described above, there is no point in multiplying the time interval ΔT n by the period shortening coefficient Tc. However, when ½ is substituted for the period shortening coefficient Tc in the process of step S18 described above, the period obtained by multiplying the time interval ΔT n by the period shortening coefficient Tc is half of the time interval ΔT n . If the angular velocity ω of the rotor 7 for calculating the estimated rotor angle θre is calculated based on this period, a relatively accurate estimated rotor angle θre can be obtained. Hereinafter, this will be described in detail with reference to FIG.

前述したように図6に示される時刻t5において、期間短縮係数Tcには1/2が代入される(S14→S16→S18)。したがって、その直後の角度推定処理(S10→S50)において行われる通常推定演算(S52→S68→S72)では、ロータ7の角速度ω(=60/(ΔTn ・Tc)・Or)は、時刻t2から時刻t5までの実際のロータ角度θaの変化(角速度)に近い値が得られる。すなわち、図6に示されるように、実際の角度θaは時刻t2近傍で120°直前の角度となった後に減少に転じており、時刻t2から時刻t5までの時間間隔は、時刻t1から時刻t5までの時間間隔ΔTn の1/2にほぼ等しいので、時刻t2から時刻t5までの実際のロータ7の角速度は、上記通常推定演算におけるロータ7の角速度ωに近い値となる。もちろん、実際のロータ角度θaは、例えば時刻t2近傍で120°とは全く異なる角度(例えば90°)となった後に減少に転じるなど、図6に示される変化態様とは異なるように変化することも考えられるが、ロータ7が途中で反転する場合であって(S14:Yes)かつΔTn >ΔTn-1 である場合(S16:Yes)、前述した戻し処理により想定される変化態様と同様に考えれば、現実のロータ7が次回の検出位相角が得られると予想される時刻t2の直前でその回転方向が反転し同じ角速度で回転する変化態様を想定することが好適であると考えられる。したがって、上記場合に限り、1/2が代入された期間短縮係数Tcを使用して推定ロータ角度θreを算出すると、比較的正確な値を得ることができる。 As described above, at time t5 shown in FIG. 6, ½ is substituted for the period shortening coefficient Tc (S14 → S16 → S18). Therefore, in the normal estimation calculation (S52 → S68 → S72) performed in the angle estimation process (S10 → S50) immediately after that, the angular velocity ω (= 60 / (ΔT n · Tc) · Or) of the rotor 7 is determined at time t2. A value close to the actual change (angular velocity) of the rotor angle θa from time t5 to time t5 is obtained. That is, as shown in FIG. 6, the actual angle θa turns to decrease after reaching the angle just before 120 ° in the vicinity of time t2, and the time interval from time t2 to time t5 is from time t1 to time t5. since approximately equal to 1/2 of the time interval [Delta] T n to the actual angular velocity of the rotor 7 from time t2 to time t5 is a value close to the angular speed ω of the rotor 7 in the normal estimation operation. Of course, the actual rotor angle θa changes to be different from the change mode shown in FIG. 6, for example, when it becomes an angle completely different from 120 ° (for example, 90 °) in the vicinity of the time t2, and then starts to decrease. However, if the rotor 7 is reversed in the middle (S14: Yes) and ΔT n > ΔT n-1 (S16: Yes), the change mode assumed by the return process described above is the same. In view of this, it is considered preferable to assume a change mode in which the rotation direction of the actual rotor 7 is reversed and rotated at the same angular velocity immediately before the time t2 at which the next detected phase angle is expected to be obtained. . Therefore, only in the above case, if the estimated rotor angle θre is calculated using the period shortening coefficient Tc into which ½ is substituted, a relatively accurate value can be obtained.

なお、上記ステップS16の処理における条件は、ΔTn >ΔTn-1 としたが、図6に示すような例では時刻t4から時刻t5までの時間間隔をΔTkとするとき、ΔTn =ΔTn-1 ・2+ΔTkであるので、上記条件はΔTn >ΔTn-1 ・2としてもよい。このように上記条件はΔTn >ΔTn-1 ・α(ただしα≧1)とすることができる。もっともαが2より大きい場合に上記条件を満たすことは少ないため、αを2以下の値とすることが多く、典型的には1とすることが多い。 Note that the condition in the process of step S16 is ΔT n > ΔT n−1 , but in the example shown in FIG. 6, when the time interval from time t4 to time t5 is ΔTk, ΔT n = ΔT n Since −1 · 2 + ΔTk, the above condition may be ΔT n > ΔT n−1 · 2. Thus, the above condition can be set to ΔT n > ΔT n−1 · α (where α ≧ 1). Of course, when α is larger than 2, the above condition is rarely satisfied. Therefore, α is often set to a value of 2 or less, and is typically set to 1.

次にステップS74において、ロータ角度推定部164は、推定ロータ角度θreから直前に検出されたロータ角度である検出ロータ角度θrを差し引いた値の絶対値が60°より大きいか否かを判定する。この判定の結果、60°以下の場合(ステップS74:No)、上記一連の角度推定処理は終了し、図5の処理に復帰する。また上記判定の結果、60°より大きい場合(ステップS74:Yes)、直前の検出ロータ角度θrに対して、60°に回転方向係数Orを乗算した値を加え、得られる値を推定ロータ角度θreに代入し(ステップS76)、上記一連の角度推定処理が終了する。   Next, in step S74, the rotor angle estimation unit 164 determines whether or not the absolute value of the value obtained by subtracting the detected rotor angle θr, which is the rotor angle detected immediately before, from the estimated rotor angle θre is greater than 60 °. If the result of this determination is 60 ° or less (step S74: No), the series of angle estimation processing ends, and the processing returns to the processing in FIG. If the result of the determination is greater than 60 ° (step S74: Yes), the value obtained by multiplying the previous detected rotor angle θr by 60 ° and the rotational direction coefficient Or is added, and the resulting value is estimated rotor angle θre. (Step S76), and the series of angle estimation processing is completed.

このように推定ロータ角度θreが次に検出されるべき検出ロータ角度を超えないように演算を行うのは、次に検出されるべき検出ロータ角度θrが実際に得られていないのにそれを超える角度であると推定することができないからである。また、推定ロータ角度θreを次に検出されるべき検出ロータ角度(=θr+60・Or)とするのは、後述する戻し処理の場合とは異なり、通常の場合には、当該次に検出されるべき検出ロータ角度が実際のロータ角度θaに近いと推定されるからである。   Thus, the calculation is performed so that the estimated rotor angle θre does not exceed the detected rotor angle to be detected next, but the detected rotor angle θr to be detected next is exceeded even though it is not actually obtained. This is because the angle cannot be estimated. The estimated rotor angle θre should be detected next (= θr + 60 · Or), which is different from the return process described later, and in the normal case, it should be detected next. This is because the detected rotor angle is estimated to be close to the actual rotor angle θa.

例えば、図6に示されるように、時刻t6において、推定ロータ角度θreは、次に検出されるべき検出ロータ角度0°に達しているので、次に実際に検出ロータ角度が検出される時刻t7の時点まで推定ロータ角度θreは0°に維持される。   For example, as shown in FIG. 6, at time t6, the estimated rotor angle θre reaches the detected rotor angle 0 ° to be detected next, so that the detected rotor angle is actually detected next time t7. Until this time, the estimated rotor angle θre is maintained at 0 °.

次に、前述したようにステップS52の判定の結果、ΔTL≧ΔTn である場合、(従来の戻し処理とは異なる、後述する逆戻し処理として機能する通常推定演算を含めた)戻し処理が行われる。この処理内容について詳しく説明する Then, the result of the determination in step S52 as described above, when a ΔTL ≧ ΔT n, (different from the conventional tempering treatment, including normal estimation operation which functions as a reverse return process will be described later) back process line Is called. I will explain this process in detail

<3.2.2 逆戻し処理として機能する通常推定演算を含めた戻し処理動作>
まずステップS54において、ロータ角度推定部164は、推定ロータ角度θreから直前に検出された検出ロータ角度θrを差し引いた値の絶対値が30°以下であるか否かを判定する。この判定の結果、30°より大きい場合(ステップS54:No)、処理はステップS62へ進む。
<3.2.2 Return processing operation including normal estimation calculation functioning as reverse processing>
First, in step S54, the rotor angle estimation unit 164 determines whether or not the absolute value of the value obtained by subtracting the detected rotor angle θr detected immediately before from the estimated rotor angle θre is 30 ° or less. If the result of this determination is greater than 30 ° (step S54: No), the process proceeds to step S62.

また上記判定の結果、30°以下である場合(ステップS54:Yes)、ロータ角度推定部164は、トルク検出フラグが立てられているかすなわちトルク検出済みであるか否かを判定し(ステップS56)、この判定の結果、検出済みである場合(ステップS56:Yes)、ステップS60の処理に進み、この判定の結果、検出済みでない場合(ステップS56:No)、トルクセンサ3によって検出される操舵トルクTの符号を取得してトルク検出フラグを立て(ステップS58)、ステップS60の処理に進む。すなわち、戻し処理が行われる場合において、推定ロータ角度θreと検出ロータ角度θrとの差が30°に達したとき、これらの処理(S54〜S58)により、操舵トルクTの符号取得が一回だけなされることになる。   As a result of the determination, if it is 30 ° or less (step S54: Yes), the rotor angle estimation unit 164 determines whether the torque detection flag is set, that is, whether the torque has been detected (step S56). If the result of this determination is that it has been detected (step S56: Yes), the process proceeds to step S60. If the result of this determination is that it has not been detected (step S56: No), the steering torque detected by the torque sensor 3 is detected. The sign of T is acquired and a torque detection flag is set (step S58), and the process proceeds to step S60. That is, when the return process is performed, when the difference between the estimated rotor angle θre and the detected rotor angle θr reaches 30 °, the sign of the steering torque T is acquired only once by these processes (S54 to S58). Will be made.

次にステップS60において、ロータ角度推定部164は、ステップS56において取得された操舵トルクTの符号と回転方向係数Orの符号とを比較し、符号が一致している場合にはロータ7の回転方向が途中で反転したであろうと判定し、符号が一致していない場合にはロータ7の回転方向が反転していないであろうと判定する。前述したように、ロータ7の回転方向は直前の検出時点とその前の検出時点とにおいて検出される検出ロータ角度θrを比較することにより行われるので、その途中の時点でロータ7の回転方向が反転したか否かを判定することは本来できないはずである。しかし、ステアリングシャフト102の回転方向が反転される時点の直前を除いて、操舵トルクの符号は、ロータ7の回転方向と一致していることが多い。したがって、反転されると想定される時点(すなわち推定ロータ角度θreと(反転されないときに)次に検出されるべき検出ロータ角度との差がほとんどない時点)から離れた時点(例えば推定ロータ角度θreと上記検出されるべき検出ロータ角度との差が30°の時点)において、戻し処理中の回転方向係数Orの符号が操舵トルクTの符号と一致している場合には、実際のロータ角度θaの変化も戻し処理中の推定ロータ角度θreの変化と一致していることが多いと推定される。このことから上記のような判定を行うことができる。また、推定ロータ角度θreと検出ロータ角度θrとの差が30°に達した時点で上記判定を行い、かつ必要な場合に後述する逆戻し処理を行うことにより、結果的に実際のロータ角度θaと推定ロータ角度θreとの差が30°以上開くことを防止することができ、より正確な推定ロータ角度θreを算出することができる。なお、上記30°の角度は典型例であって、60°未満の異なる角度であってもよい。   Next, in step S60, the rotor angle estimation unit 164 compares the sign of the steering torque T acquired in step S56 with the sign of the rotation direction coefficient Or. If the signs match, the rotation direction of the rotor 7 is determined. Is determined to have been reversed halfway, and if the signs do not match, it is determined that the rotation direction of the rotor 7 has not been reversed. As described above, the rotation direction of the rotor 7 is performed by comparing the detected rotor angle θr detected at the immediately preceding detection time point and the previous detection time point. It should not be possible to determine whether it has been reversed. However, the sign of the steering torque often coincides with the rotational direction of the rotor 7 except immediately before the time when the rotational direction of the steering shaft 102 is reversed. Therefore, a time point away from a time point that is assumed to be reversed (that is, a time point when there is almost no difference between the estimated rotor angle θre and the next detected rotor angle (when not reversed)) (for example, the estimated rotor angle θre). And the detected rotor angle to be detected at the time of 30 °), when the sign of the rotational direction coefficient Or during the return process matches the sign of the steering torque T, the actual rotor angle θa It is presumed that the change in is often the same as the change in the estimated rotor angle θre during the return process. Thus, the above determination can be made. Further, when the difference between the estimated rotor angle θre and the detected rotor angle θr reaches 30 °, the above determination is performed, and if necessary, a reverse return process described later is performed, resulting in the actual rotor angle θa. And the estimated rotor angle θre can be prevented from opening by 30 ° or more, and a more accurate estimated rotor angle θre can be calculated. The angle of 30 ° is a typical example, and may be a different angle of less than 60 °.

このような判定の結果、ロータ7の回転方向が反転したと推定される場合(ステップS60:Yes)、処理はステップS62における戻し推定演算に進む。また、上記判定の結果、反転していないと推定される場合(ステップS60:No)、期間短縮係数Tcに1を代入し(ステップS70)、ステップS72における前述した通常推定演算に進む。ここで戻し処理中に行われる通常推定演算は、戻し処理における戻し推定演算に対してさらに逆方向に推定ロータ角度θreの変化方向を戻す処理、すなわち逆戻し処理として機能する。したがって、期間短縮係数Tcに1/2を代入すると、正確な推定ロータ角度θreを算出することができなくなるので、上記ステップS70における処理のように期間短縮係数Tcに1を代入する。   As a result of such determination, when it is estimated that the rotation direction of the rotor 7 is reversed (step S60: Yes), the process proceeds to a return estimation calculation in step S62. As a result of the above determination, if it is estimated that there is no inversion (No at Step S60), 1 is substituted for the period shortening coefficient Tc (Step S70), and the routine proceeds to the above-described normal estimation calculation at Step S72. Here, the normal estimation calculation performed during the return process functions as a process for returning the change direction of the estimated rotor angle θre in the opposite direction to the return estimation calculation in the return process, that is, a reverse return process. Therefore, if 1/2 is substituted for the period shortening coefficient Tc, an accurate estimated rotor angle θre cannot be calculated. Therefore, 1 is substituted for the period shortening coefficient Tc as in the process in step S70.

続いてステップS62(戻し推定演算)において、ロータ角度推定部164は、ロータ角度位置検出部162による前回(2回前)から直前(1回前)の時点までの時間間隔ΔTn におけるロータ7の角速度ω(=60/ΔTn ・Or)を算出し、この角速度ωの符号を反転した角速度−ωを上記直前の検出時点からの経過時間ΔTLに対して乗算し、この乗算値を直前に検出された検出ロータ角度θrに加算することにより、推定ロータ角度θre(=−ω・ΔTL+θr)を算出する。なおこの戻し推定演算は、角速度ωの符号が反転される点と、期間短縮係数Tcが使用されない点とが前述した通常推定演算(ステップS72)とは異なる。 Subsequently, in step S62 (return estimation calculation), the rotor angle estimation unit 164 causes the rotor 7 to rotate at a time interval ΔT n from the previous time (two times before) to the time immediately before (one time before) by the rotor angle position detection unit 162. The angular velocity ω (= 60 / ΔT n · Or) is calculated, and the angular velocity −ω obtained by inverting the sign of the angular velocity ω is multiplied by the elapsed time ΔTL from the immediately preceding detection time, and this multiplied value is detected immediately before. The estimated rotor angle θre (= −ω · ΔTL + θr) is calculated by adding to the detected rotor angle θr. This return estimation calculation is different from the above-described normal estimation calculation (step S72) in that the sign of the angular velocity ω is inverted and the point shortening coefficient Tc is not used.

次にステップS64において、ロータ角度推定部164は、直前に検出されたロータ角度である検出ロータ角度θrから推定ロータ角度θreを差し引くことにより得られる値に対して回転方向係数Orを乗算した値が0°より小さいか否かを判定する。この判定の結果、0°以上の場合(ステップS64:No)、上記一連の角度推定処理は終了し、図5の処理に復帰する。また上記判定の結果、0°より小さい場合(ステップS64:Yes)、直前の検出ロータ角度θrを推定ロータ角度θreに代入し(ステップS66)、上記一連の角度推定処理が終了する。   Next, in step S64, the rotor angle estimation unit 164 obtains a value obtained by multiplying the value obtained by subtracting the estimated rotor angle θre from the detected rotor angle θr, which is the rotor angle detected immediately before, by the rotation direction coefficient Or. It is determined whether or not it is smaller than 0 °. As a result of this determination, when the angle is 0 ° or more (step S64: No), the series of angle estimation processing ends, and the processing returns to the processing in FIG. If the result of the determination is smaller than 0 ° (step S64: Yes), the immediately preceding detected rotor angle θr is substituted into the estimated rotor angle θre (step S66), and the series of angle estimation processing ends.

このように推定ロータ角度θreが検出ロータ角度θrを超えないように演算を行うのは、前述したように次に検出されるべき検出ロータ角度θrが実際に得られていないのにそれを超える角度であると推定することができないからである。また、推定ロータ角度θreを検出ロータ角度θrとするのは、前述したように戻し処理により想定されるロータの回転態様を前提にするとき、次に検出されるべき検出ロータ角度は、実際のロータ角度θaに近いと推定されるからである。   As described above, the calculation is performed so that the estimated rotor angle θre does not exceed the detected rotor angle θr, as described above, although the detected rotor angle θr to be detected next is not actually obtained, but exceeds it. This is because it cannot be estimated. In addition, assuming that the estimated rotor angle θre is the detected rotor angle θr as described above, assuming that the rotor rotation mode assumed by the return processing is assumed as described above, the detected rotor angle to be detected next is the actual rotor angle. This is because it is estimated to be close to the angle θa.

以上のような戻し処理が行われる場合について、まず前述した図6を参照して、逆戻し処理が行われない例を具体的に説明する。図6に示されるように、時刻t2において推定ロータ角度θreは120°となる。ここで時刻t1におけるロータ角度検出を直前(1回前)の検出時点とするとき、時刻t0から時刻t1までの時間間隔ΔTn は、時刻t1から時刻t2までの経過時間ΔTLに等しくなるので、この時刻t2の時点から戻し推定演算が行われる(S52→S54→S62)。 In the case where the return process as described above is performed, an example in which the reverse process is not performed will be specifically described with reference to FIG. 6 described above. As shown in FIG. 6, the estimated rotor angle θre is 120 ° at time t2. Here, when the rotor angle detection at time t1 is set to the detection time immediately before (one time before), the time interval ΔT n from time t0 to time t1 is equal to the elapsed time ΔTL from time t1 to time t2. A return estimation calculation is performed from the time t2 (S52 → S54 → S62).

その後、推定ロータ角度θreが検出ロータ角度θrである120°から30°以上離れた時点、すなわち推定ロータ角度θreが90°になる時点である時刻t3において、操舵トルクTの符号が取得される(S52→S54→S56→S58)。そして、図示されていないが、この時点での操舵トルクTの符号が回転方向係数Orの符号と合致しているものとすると、ロータ7の回転方向は戻し処理において想定されるように反転したと推定されるので、推定ロータ角度θreが60°に達する時刻t4まで戻し推定演算が繰り返される(S52→S54→S56→S60→S62→S64)。   Thereafter, the sign of the steering torque T is acquired at the time t3 when the estimated rotor angle θre is 30 ° or more away from 120 ° which is the detected rotor angle θr, that is, when the estimated rotor angle θre becomes 90 ° ( S52 → S54 → S56 → S58). Although not shown, if the sign of the steering torque T at this time coincides with the sign of the rotation direction coefficient Or, the rotation direction of the rotor 7 is reversed as assumed in the return process. Therefore, the estimation calculation is repeated until time t4 when the estimated rotor angle θre reaches 60 ° (S52 → S54 → S56 → S60 → S62 → S64).

そして時刻t4に達すると、推定ロータ角度θreが検出ロータ角度θrを超えないように推定ロータ角度θreに検出ロータ角度θrが代入され(S66)、次にロータ角度が検出される時刻t5まで上記処理が繰り返される(S52→S54→S56→S60→62→S64→S66)。   When time t4 is reached, the detected rotor angle θr is substituted for the estimated rotor angle θre so that the estimated rotor angle θre does not exceed the detected rotor angle θr (S66), and the above processing is performed until time t5 when the rotor angle is next detected. Are repeated (S52 → S54 → S56 → S60 → 62 → S64 → S66).

次に、逆戻し処理が行われる例について図8を参照して具体的に説明する。図8は、実際のロータ角度と推定ロータ角度との時間的な変化の別例を示す図である。この図8に示される例は、図6に示される例と、時刻t2の前まではほぼ同様であるが、図6に示す例とは異なり実際のロータ角度θaの変化方向(ロータの回転方向)が反転していない。したがって、もし逆戻し処理が行われない従来の戻し処理が行われると、次に検出ロータ角度θrが得られる時刻t5の時点では、推定ロータ角度θreと実際のロータ角度θaとが60°もの誤差を生じることになる。しかし、前述したように本実施形態では、推定ロータ角度θreが検出ロータ角度θrである120°から30°以上離れた時点、すなわち推定ロータ角度θreが90°になる時点である時刻t3において、操舵トルクTの符号が取得される(S52→S54→S56→S58)。そして、図示されていないが、この時点での操舵トルクTの符号が回転方向係数Orの符号と合致していないものとすると、ロータ7の回転方向は戻し処理において想定されるようには反転しなかったと推定されるので、推定ロータ角度θreが120°に達する時刻t4まで逆戻し処理として機能する通常推定演算が繰り返される(S52→S54→S56→S60→S70→S72→S74)。   Next, an example in which the reverse processing is performed will be specifically described with reference to FIG. FIG. 8 is a diagram illustrating another example of the temporal change between the actual rotor angle and the estimated rotor angle. The example shown in FIG. 8 is substantially the same as the example shown in FIG. 6 until time t2, but unlike the example shown in FIG. 6, the actual change direction of the rotor angle θa (rotation direction of the rotor) ) Is not reversed. Therefore, if the conventional return process is performed in which the reverse return process is not performed, the estimated rotor angle θre and the actual rotor angle θa have an error of 60 ° at the time t5 when the next detected rotor angle θr is obtained. Will result. However, as described above, in the present embodiment, steering is performed at a time t3 when the estimated rotor angle θre is 30 ° or more away from 120 ° that is the detected rotor angle θr, that is, when the estimated rotor angle θre becomes 90 °. The sign of torque T is acquired (S52 → S54 → S56 → S58). Although not shown, if the sign of the steering torque T at this time does not match the sign of the rotation direction coefficient Or, the rotation direction of the rotor 7 is reversed as assumed in the return process. Since it is presumed that there has not been, the normal estimation calculation functioning as the reverse process is repeated until time t4 when the estimated rotor angle θre reaches 120 ° (S52 → S54 → S56 → S60 → S70 → S72 → S74).

そして時刻t4に達すると、推定ロータ角度θreが次回検出されるべき検出ロータ角度である120°(=θr+60°)を超えないように推定ロータ角度θreに120°が代入され(S76)、次にロータ角度が検出される時刻t5まで上記処理が繰り返される(S52→S54→S56→S60→S70→S72→S74→S76)。   When time t4 is reached, 120 ° is substituted into the estimated rotor angle θre so that the estimated rotor angle θre does not exceed 120 ° (= θr + 60 °), which is the detected rotor angle to be detected next time (S76). The above process is repeated until time t5 when the rotor angle is detected (S52 → S54 → S56 → S60 → S70 → S72 → S74 → S76).

<4.効果>
以上のように、本実施形態におけるロータ角度推定部164は、ロータ7が途中で反転しかつΔTn >ΔTn-1 である場合には、現実のロータ7が次回の検出位相角が得られると予想される時刻t2の直前でその回転方向が反転し同じ角速度で回転する変化態様を想定し、1/2が代入された期間短縮係数Tcを使用して推定ロータ角度θreを算出するので、正確な推定ロータ角度θreを得ることができる。なお、この効果を奏するためには、図5に示す各処理および図7に示すステップS72〜S76における処理が行われれば足りるので、図7に示すステップS52〜S70における処理は省略してもよい。
<4. Effect>
As described above, the rotor angle estimator 164 according to the present embodiment obtains the next detected phase angle of the actual rotor 7 when the rotor 7 is reversed halfway and ΔT n > ΔT n−1. Assuming a change mode in which the rotation direction is reversed and rotated at the same angular velocity immediately before the time t2 that is expected, the estimated rotor angle θre is calculated using the period shortening coefficient Tc to which ½ is substituted. An accurate estimated rotor angle θre can be obtained. In order to achieve this effect, it is only necessary to perform the processes shown in FIG. 5 and the processes in steps S72 to S76 shown in FIG. 7, and therefore the processes in steps S52 to S70 shown in FIG. 7 may be omitted. .

また、上記ロータ角度推定部164は、戻し処理中に、推定ロータ角度θreと検出ロータ角度θrとの差が30°に達した時点でトルクセンサにより得られる操舵トルクTの符号が回転方向係数Orの符号が合致していない場合には逆戻し処理を行うことにより、結果的に実際のロータ角度θaと推定ロータ角度θreとの差が30°以上開くことを防止することができ、より正確な推定ロータ角度θreを算出することができる。なお、この効果を奏するためには、図5に示すステップS14〜S20における処理および図7に示すステップS70における処理は省略してもよい。   Further, the rotor angle estimation unit 164 determines that the sign of the steering torque T obtained by the torque sensor when the difference between the estimated rotor angle θre and the detected rotor angle θr reaches 30 ° during the return process is the rotation direction coefficient Or. If the signs of the two do not match, a reverse process is performed, and as a result, the difference between the actual rotor angle θa and the estimated rotor angle θre can be prevented from opening by 30 ° or more, and more accurate The estimated rotor angle θre can be calculated. In order to achieve this effect, the processing in steps S14 to S20 shown in FIG. 5 and the processing in step S70 shown in FIG. 7 may be omitted.

<5.変形例>
上記一実施形態では、スイッチ方式のホールセンサ5を用いたが、離散的な値を出力する位置検出センサであってそのために角度推定が必要であるものであればよく、例えば交番検知型のホールセンサが用いられてもよい。なおその場合にはホールセンサの取り付け位置は図3および図4の場合とは異なるが、ロータ7の位置を離散的に検出可能であれば、ホールセンサの取り付け位置(例えば軸回りに60°ずつ間隔を空けた位置)や配置数などは周知の様々な組み合わせを採用することができる。
<5. Modification>
In the above embodiment, the switch-type Hall sensor 5 is used. However, any position detection sensor that outputs discrete values and requires angle estimation for this purpose, for example, an alternating detection type Hall sensor. A sensor may be used. In this case, the mounting position of the hall sensor is different from that in FIGS. 3 and 4, but if the position of the rotor 7 can be detected discretely, the mounting position of the hall sensor (for example, 60 ° around the axis) Various well-known combinations can be adopted for the positions spaced apart) and the number of arrangements.

上記一実施形態では、ステップS18において期間短縮係数Tcに1/2を代入することにより角速度算出の対象となる期間を短縮する構成であるが、この構成に代えて角速度ωが2倍になるよう速度増大係数ωcに2を代入し、例えばステップS72(通常推定演算)において、ロータ角度推定部164は、ロータ7の角速度ω(=60/ΔTn ・ωc・Or)を算出し、この角速度ωに基づき推定ロータ角度θre(=ω・ΔTL+θr)を算出してもよい。 In the above embodiment, the period for calculating the angular velocity is reduced by substituting 1/2 into the period shortening coefficient Tc in step S18. However, instead of this configuration, the angular velocity ω is doubled. For example, in step S72 (normal estimation calculation), the rotor angle estimation unit 164 calculates the angular velocity ω (= 60 / ΔT n · ωc · Or) of the rotor 7 and substitutes this angular velocity ωc. Based on the above, the estimated rotor angle θre (= ω · ΔTL + θr) may be calculated.

また上記一実施形態では、期間短縮係数Tcには1/2を代入するが、これは前述したように上記戻し処理は、現実のロータが前回の検出時点までの角速度と同じ角速度で回転し、かつ次回の検出位相角が得られると予想される時点の直前でその回転方向が反転し同じ角速度で回転する変化態様を想定しているからである。したがって、ロータの回転方向が反転する場合において、上記態様とは異なるロータ角速度の変化態様を想定することにより、期間短縮係数Tcに1より小さい数値であって1/2以外の数値を代入してもよい。このような場合、途中でロータの回転方向が反転したことから長くなった期間に対してその期間を短くするよう1未満の期間短縮係数Tcを乗算することにより補正すれば、補正された期間に基づき正確な推定ロータ角度θreを得ることができる。なお、このことは速度増大係数ωcについても同様であり、1より大きい数値であって2以外の数値が代入されてもよい。   In the above-described embodiment, 1/2 is substituted for the period shortening coefficient Tc. As described above, the above-described return processing causes the actual rotor to rotate at the same angular velocity as the previous detection time point, This is because a change mode is assumed in which the rotation direction is reversed and rotated at the same angular velocity immediately before the next detection phase angle is expected to be obtained. Therefore, when the rotation direction of the rotor is reversed, by assuming a change mode of the rotor angular velocity different from the above mode, a numerical value smaller than 1 and a value other than 1/2 is substituted for the period shortening coefficient Tc. Also good. In such a case, if correction is performed by multiplying a period that has become longer due to reversal of the rotation direction of the rotor in the middle by multiplying by a period shortening coefficient Tc of less than 1 so as to shorten the period, the corrected period can be obtained. Based on this, an accurate estimated rotor angle θre can be obtained. This also applies to the speed increase coefficient ωc, and a numerical value larger than 1 and other than 2 may be substituted.

上記一実施形態では、ステップS58における処理で操舵トルクTの符号を取得する構成であって、トルクセンサおよび関連する上記処理は、ステップS60における処理でロータ7の回転方向が反転されたと推定する反転推定手段として機能するが、この反転推定手段は周知の様々な構成を採用することができる。例えば図示されない舵角センサを備え、この舵角センサにより取得されるハンドル101の操舵角の変化方向を取得し、ロータ7の反転推定を行う構成であってもよい。   In the above-described embodiment, the sign of the steering torque T is acquired in the process in step S58, and the torque sensor and the related process are reversed so that the rotation direction of the rotor 7 is reversed in the process in step S60. Although functioning as an estimation means, this inversion estimation means can employ various known configurations. For example, a configuration in which a steering angle sensor (not shown) is provided, a change direction of the steering angle of the handle 101 acquired by the steering angle sensor is acquired, and the inversion estimation of the rotor 7 may be performed.

5a〜5c…ホールセンサ、6a〜6c…ステータ、7…ロータ、20…マイコン   5a to 5c: Hall sensor, 6a to 6c ... stator, 7 ... rotor, 20 ... microcomputer

Claims (4)

ブラシレスモータを駆動するモータ制御装置であって、
前記ブラシレスモータのロータの電気角を所定の検出電気角毎に検出可能なように周方向に所定の間隔を空けて配置される複数の検出素子を有し、当該複数の検出素子からの検出信号に基づき前記ロータの電気角を前記所定の検出電気角毎に離散的に検出するロータ角度検出手段と、
前記ロータ角度検出手段による前記ロータ電気角の検出時点の時間間隔に基づき、前記ロータの現時点における電気角推定値を算出するロータ角度推定手段と、
前記ロータの回転方向が反転したか否かを推定する反転推定手段と、
前記ブラシレスモータに供給すべき電流の量を示す指令電流値と、前記ロータ角度推定手段により算出される前記電気角推定値とに基づき、前記ブラシレスモータを制御する指令電圧のレベルを求める制御手段と、
前記制御手段で求められるレベルの電圧に応じて前記ブラシレスモータを駆動するモータ駆動手段と
を備え、
前記ロータ角度推定手段は、前記ロータ角度検出手段による前記ロータ電気角が検出されることなく次に検出されるべき時点が到来した場合、前記ロータ角度検出手段により直前に検出された前記ロータ電気角へ向かって値が戻るように前記電気角推定値を算出する戻し処理を行い、前記戻し処理中に前記反転推定手段により前記ロータが反転していないと推定される場合、前記ロータ角度検出手段により次に検出されるべきロータ電気角へ向かって値が再び戻るように前記電気角推定値を算出する逆戻し処理を行うことを特徴とする、モータ制御装置。
A motor control device for driving a brushless motor,
A plurality of detection elements arranged at predetermined intervals in the circumferential direction so that the electrical angle of the rotor of the brushless motor can be detected for each predetermined detection electrical angle, and detection signals from the plurality of detection elements Rotor angle detection means for discretely detecting the electrical angle of the rotor based on the predetermined detection electrical angle,
Rotor angle estimation means for calculating an electrical angle estimation value at the present time of the rotor based on a time interval at the time of detection of the rotor electrical angle by the rotor angle detection means;
Reversal estimation means for estimating whether or not the rotation direction of the rotor is reversed;
Control means for obtaining a level of a command voltage for controlling the brushless motor based on a command current value indicating an amount of current to be supplied to the brushless motor and the electrical angle estimated value calculated by the rotor angle estimating means; ,
Motor drive means for driving the brushless motor according to a voltage of a level required by the control means,
The rotor angle estimating means detects the rotor electrical angle detected immediately before by the rotor angle detecting means when the next time point to be detected without the rotor electrical angle being detected by the rotor angle detecting means has arrived. When the return processing is performed to calculate the electrical angle estimation value so that the value returns toward the front, and the rotor estimation is not reversed by the inversion estimation unit during the return processing, the rotor angle detection unit A motor control device that performs a reverse process for calculating the electrical angle estimated value so that the value returns again toward the rotor electrical angle to be detected next.
前記ロータ角度推定手段は、前記ロータ角度検出手段による前記ロータ電気角の直前の検出時点から、当該直前の検出時点の前回の検出時点までの時間間隔ΔTn と、前記直前の検出時点から現時点までの経過時間ΔTLとが等しくなるとき、前記次に検出されるべき時点が到来したと判定することを特徴とする、請求項1に記載のモータ制御装置。 The rotor angle estimation means includes a time interval ΔT n from the detection time immediately before the rotor electrical angle by the rotor angle detection means to the previous detection time of the immediately previous detection time, and from the previous detection time to the current time. 2. The motor control device according to claim 1, wherein when the elapsed time ΔTL becomes equal, it is determined that the time point to be detected next has arrived. ブラシレスモータを駆動するモータ制御装置であって、
前記ブラシレスモータのロータの電気角を所定の検出電気角毎に検出可能なように周方向に所定の間隔を空けて配置される複数の検出素子を有し、当該複数の検出素子からの検出信号に応じて前記ロータの電気角を前記所定の検出電気角毎に離散的に検出するロータ角度検出手段と、
前記ロータ角度検出手段による前記ロータ電気角の直前の検出時点である第1の時点を終点とし当該第1の時点の前回の検出時点である第2の時点を始点とする時間間隔ΔTn に基づき算出される前記ロータの角速度ωに応じて、前記ロータの現時点における電気角推定値を算出するロータ角度推定手段と、
前記ブラシレスモータに供給すべき電流の量を示す指令電流値と、前記ロータ角度推定手段により算出される前記電気角推定値とに基づき、前記ブラシレスモータを制御する指令電圧のレベルを求める制御手段と、
前記制御手段で求められるレベルの電圧に応じて前記ブラシレスモータを駆動するモータ駆動手段と
を備え、
前記ロータ角度推定手段は、前記第2の時点から前記第1の時点までの間に前記ロータの回転方向が反転した場合であって、かつ前記第2の時点を終点とし当該第2の時点の前回の検出時点である第3の時点を始点とする時間間隔ΔTn-1 に対して1以上の所定の係数αを乗算して得られる時間間隔α・ΔTn-1 よりも前記時間間隔ΔTn が大きい場合、前記ロータの角速度ωに対して1より大きい所定の角速度増大係数を乗算しまたは前記時間間隔ΔTn に対して1より小さい所定の期間短縮係数を乗算することにより前記ロータの角速度ωを算出し、前記電気角推定値を算出することを特徴とする、モータ制御装置。
A motor control device for driving a brushless motor,
A plurality of detection elements arranged at predetermined intervals in the circumferential direction so that the electrical angle of the rotor of the brushless motor can be detected for each predetermined detection electrical angle, and detection signals from the plurality of detection elements And a rotor angle detection means for discretely detecting the electrical angle of the rotor for each of the predetermined detection electrical angles,
Based on a time interval ΔT n starting from the first time point, which is the detection time immediately before the rotor electrical angle by the rotor angle detecting means, and starting from the second time point, which is the previous detection time of the first time point. Rotor angle estimating means for calculating an estimated electrical angle value of the rotor at a current time according to the calculated angular velocity ω of the rotor;
Control means for obtaining a level of a command voltage for controlling the brushless motor based on a command current value indicating an amount of current to be supplied to the brushless motor and the electrical angle estimated value calculated by the rotor angle estimating means; ,
Motor drive means for driving the brushless motor according to a voltage of a level required by the control means,
The rotor angle estimation means is a case where the rotation direction of the rotor is reversed between the second time point and the first time point, and the second time point is an end point. The time interval ΔT is greater than the time interval α · ΔT n-1 obtained by multiplying the time interval ΔT n-1 starting from the third time point, which is the previous detection time point, by a predetermined coefficient α of 1 or more. When n is large, the angular velocity of the rotor is multiplied by a predetermined angular velocity increase factor greater than 1 for the angular velocity ω of the rotor or by a predetermined period reduction factor less than 1 for the time interval ΔT n . A motor control device that calculates ω and calculates the electrical angle estimation value.
請求項1から請求項3までのいずれか1項に記載のモータ制御装置を備えた、電動パワーステアリング装置。   An electric power steering device comprising the motor control device according to any one of claims 1 to 3.
JP2009149388A 2009-06-24 2009-06-24 Motor controller and motor-driven power steering device Pending JP2011010401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009149388A JP2011010401A (en) 2009-06-24 2009-06-24 Motor controller and motor-driven power steering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009149388A JP2011010401A (en) 2009-06-24 2009-06-24 Motor controller and motor-driven power steering device

Publications (1)

Publication Number Publication Date
JP2011010401A true JP2011010401A (en) 2011-01-13

Family

ID=43566397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009149388A Pending JP2011010401A (en) 2009-06-24 2009-06-24 Motor controller and motor-driven power steering device

Country Status (1)

Country Link
JP (1) JP2011010401A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018088807A (en) * 2015-09-18 2018-06-07 日本精工株式会社 Electric power steering device
CN108667254A (en) * 2017-03-27 2018-10-16 法雷奥***公司 Electric notor, gear motor, mop system and corresponding control methods

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018088807A (en) * 2015-09-18 2018-06-07 日本精工株式会社 Electric power steering device
JP2018088809A (en) * 2015-09-18 2018-06-07 日本精工株式会社 Electric power steering device
CN108667254A (en) * 2017-03-27 2018-10-16 法雷奥***公司 Electric notor, gear motor, mop system and corresponding control methods
CN108667254B (en) * 2017-03-27 2020-09-01 法雷奥***公司 Electric motor, gear motor, wiping system and related control method

Similar Documents

Publication Publication Date Title
JP3485905B2 (en) Motor control device
JP5365701B2 (en) Electric power steering device
JP5453714B2 (en) Motor control device and electric power steering device
JP3674919B2 (en) Electric power steering apparatus and control method thereof
JP2000350489A (en) Position sensorless motor controller
CN104052344A (en) Rotating electric machine control device and electric power steering apparatus
US6774592B2 (en) Method and system for controlling a permanent magnet machine
JP2010029028A (en) Motor controller
JP2010029030A (en) Motor controller
JP4771998B2 (en) Electric motor drive
JP5392530B2 (en) Motor control device
JP4367279B2 (en) Control device for synchronous motor
KR102166814B1 (en) Apparatus for compensating errors of position sensor for mortor, Method thereof
JP5136839B2 (en) Motor control device
JP5585058B2 (en) Rotation angle detection device, motor control device, and electric power steering device
JP2011010401A (en) Motor controller and motor-driven power steering device
JP2015033265A (en) Motor control method, motor control apparatus and electric power steering apparatus
JP5386813B2 (en) Sensorless control device for brushless motor
JP5470968B2 (en) Motor control device and electric power steering device
JP2004312930A (en) Motor controller
JP2005088709A (en) Steering device
JP5141955B2 (en) Motor control device
JP2011230531A (en) Device for controlling motor
JP2010246231A (en) Motor controller and electric power steering device
JP6493135B2 (en) In-vehicle electric compressor