JP7278693B2 - motor controller - Google Patents

motor controller Download PDF

Info

Publication number
JP7278693B2
JP7278693B2 JP2019159056A JP2019159056A JP7278693B2 JP 7278693 B2 JP7278693 B2 JP 7278693B2 JP 2019159056 A JP2019159056 A JP 2019159056A JP 2019159056 A JP2019159056 A JP 2019159056A JP 7278693 B2 JP7278693 B2 JP 7278693B2
Authority
JP
Japan
Prior art keywords
motor
rotation angle
command value
energization
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019159056A
Other languages
Japanese (ja)
Other versions
JP2021040376A (en
Inventor
光男 植田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP2019159056A priority Critical patent/JP7278693B2/en
Publication of JP2021040376A publication Critical patent/JP2021040376A/en
Application granted granted Critical
Publication of JP7278693B2 publication Critical patent/JP7278693B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)
  • Control Of Ac Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Description

本発明は、同期モータを制御するモータ制御装置に関する。 The present invention relates to a motor control device for controlling a synchronous motor.

ハイブリッド車(HV:Hybrid Vehicle)や電気自動車(EV:Electric Vehicle)などの車両には、走行用の駆動源としてのモータが搭載されている。モータには、永久磁石同期モータ(PMSM:Permanent Magnet Synchronous Motor)が広く採用されている。 A vehicle such as a hybrid vehicle (HV) or an electric vehicle (EV) is equipped with a motor as a drive source for running. Permanent magnet synchronous motors (PMSM) are widely used as motors.

このモータの制御には、回転子の回転角(モータの回転位置)を検出する必要があり、その回転角の検出には、たとえば、回転角に応じて変化する信号を出力する回転角センサが用いられる。モータを効率/精度よく制御するためには、回転角センサの出力信号から検出される回転角とモータの実際の回転角との間に生じるずれを小さくする必要がある。 In order to control this motor, it is necessary to detect the rotation angle of the rotor (rotational position of the motor). To detect the rotation angle, for example, a rotation angle sensor that outputs a signal that changes according to the rotation angle is used. Used. In order to control the motor efficiently and accurately, it is necessary to reduce the deviation between the rotation angle detected from the output signal of the rotation angle sensor and the actual rotation angle of the motor.

そのため、一般的には、車両の工場出荷時に、回転角センサの取付位置が調整される。この調整時には、モータのd軸電流指令値およびq軸電流指令値がそれぞれ0に設定される。そして、モータに流れる相電流値が回転角センサの出力信号から検出される回転角を用いてd軸電流値およびq軸電流値に変換され、d軸電流指令値とd軸電流値との差およびq軸電流指令値とq軸電流値との差からd軸電圧指令値およびq軸電圧指令値が求められる。 Therefore, generally, the mounting position of the rotation angle sensor is adjusted when the vehicle is shipped from the factory. During this adjustment, the d-axis current command value and the q-axis current command value of the motor are each set to zero. Then, the phase current value flowing through the motor is converted into a d-axis current value and a q-axis current value using the rotation angle detected from the output signal of the rotation angle sensor, and the difference between the d-axis current command value and the d-axis current value is calculated. And the d-axis voltage command value and the q-axis voltage command value are obtained from the difference between the q-axis current command value and the q-axis current value.

回転角センサの出力信号から検出される回転角とモータの実際の回転角とにずれがなければ、d軸電圧指令値が0になるが、ずれがある場合には、d軸電圧指令値が0にならない。そこで、d軸電圧指令値が0ではない場合、d軸電圧指令値が0になるように、回転角センサの取付位置が調整される。 If there is no deviation between the rotation angle detected from the output signal of the rotation angle sensor and the actual rotation angle of the motor, the d-axis voltage command value will be 0, but if there is a deviation, the d-axis voltage command value will change. does not become 0. Therefore, when the d-axis voltage command value is not zero, the mounting position of the rotation angle sensor is adjusted so that the d-axis voltage command value becomes zero.

特開2004-266935号公報JP 2004-266935 A 特開2016-158393号公報JP 2016-158393 A

車両の工場での調整作業を省略するため、実車において、d軸電流指令値およびq軸電流指令値をそれぞれ0に固定し、回転角センサの出力信号から検出される回転角に加えるオフセット量を変化させて、d軸電圧指令値を0に近づけていき、d軸電圧指令値が0になるときのオフセット量を求めて、その求めたオフセット量で回転角センサの出力信号から検出される回転角を補正する手法が提案されている。 In order to omit adjustment work at the vehicle factory, the d-axis current command value and the q-axis current command value are both fixed to 0 in the actual vehicle, and the offset amount added to the rotation angle detected from the output signal of the rotation angle sensor is set to change to bring the d-axis voltage command value closer to 0, find the offset amount when the d-axis voltage command value becomes 0, and rotate detected from the output signal of the rotation angle sensor with the found offset amount. Techniques for correcting the corners have been proposed.

ところが、回転角センサの出力信号から検出される回転角とモータの実際の回転角とにずれがある場合に、q軸電圧指令値が明らかに0ではない値とし、判定精度を上げるためには、モータの逆起電圧が検出することができる程度の回転数まで上げなければならず、車両が前後に動く可能性がある。 However, when there is a discrepancy between the rotation angle detected from the output signal of the rotation angle sensor and the actual rotation angle of the motor, the q-axis voltage command value is clearly set to a value other than 0 to improve the determination accuracy. , the number of revolutions must be increased to the extent that the back EMF of the motor can be detected, and the vehicle may move back and forth.

本発明の目的は、車両が停止した状態で、回転角センサの出力信号から検出される回転角の補正に用いるオフセット量を求めることができる、モータ制御装置を提供することである。 SUMMARY OF THE INVENTION An object of the present invention is to provide a motor control device capable of obtaining an offset amount used for correcting a rotation angle detected from an output signal of a rotation angle sensor while the vehicle is stopped.

前記の目的を達成するため、本発明に係るモータ制御装置は、バッテリと、モータと、三相ブリッジ回路および平滑コンデンサを備え、バッテリとモータとに接続されて、直流電力と交流電力とを変換するインバータと、モータの回転角に応じて変化する信号を出力する回転角センサと、回転角センサのオフセット記憶装置とを搭載し、モータの動力が駆動輪に伝達されて走行する車両に用いられるモータ制御装置であって、車両が停止した状態において、q軸電流指令値を0に設定し、d軸電流指令値を所定値に設定して、回転角センサの出力信号から検出される回転角にオフセット記憶装置で補正した回転角を用いて、d軸電流指令値およびq軸電流指令値に応じた三相電圧指令値を設定し、当該三相電圧指令値に基づいて、インバータからモータに通電する通電処理を実行し、通電処理による通電でモータが回転した場合、所定角度を増加減した値にてオフセット記憶装置で保持するオフセット量を更新する。 To achieve the above object, a motor control device according to the present invention includes a battery, a motor, a three-phase bridge circuit and a smoothing capacitor, and is connected to the battery and the motor to convert DC power and AC power. It is equipped with an inverter, a rotation angle sensor that outputs a signal that changes according to the rotation angle of the motor, and an offset storage device for the rotation angle sensor. A motor control device in which a q-axis current command value is set to 0 and a d-axis current command value is set to a predetermined value while the vehicle is stopped, and the rotation angle is detected from the output signal of the rotation angle sensor. Then, using the rotation angle corrected by the offset storage device, the three-phase voltage command value corresponding to the d-axis current command value and the q-axis current command value is set, and based on the three-phase voltage command value, the inverter to the motor An energization process is executed to energize, and when the motor rotates due to energization by the energization process, the offset amount held in the offset storage device is updated with a value obtained by increasing or decreasing a predetermined angle.

この構成によれば、車両が停止した状態において、q軸電流指令値が0に設定され、d軸電流指令値が所定値に設定されて、インバータからモータに通電する通電処理が実行される。通電処理では、d軸電流指令値およびq軸電流指令値に応じた三相電圧指令値を設定するために、回転角センサの出力信号から検出される回転角が用いられる。q軸電流指令値が0に設定されているので、回転角センサの出力信号から検出される回転角がモータの実際の回転角と一致していれば、トルク電流成分を含まない電流がモータに供給され、モータの出力トルクが0となり、モータは回転しない。しかし、回転角センサの出力信号から検出される回転角がモータの実際の回転角からずれていれば、トルク電流成分を含む電流がモータに供給されるので、モータが回転する。 According to this configuration, when the vehicle is stopped, the q-axis current command value is set to 0, the d-axis current command value is set to a predetermined value, and the energization process of energizing the motor from the inverter is executed. In the energization process, the rotation angle detected from the output signal of the rotation angle sensor is used to set the three-phase voltage command value according to the d-axis current command value and the q-axis current command value. Since the q-axis current command value is set to 0, if the rotation angle detected from the output signal of the rotation angle sensor matches the actual rotation angle of the motor, a current that does not include a torque current component will flow to the motor. is supplied, the output torque of the motor becomes 0, and the motor does not rotate. However, if the rotation angle detected from the output signal of the rotation angle sensor deviates from the actual rotation angle of the motor, a current containing a torque current component is supplied to the motor, causing the motor to rotate.

通電処理によるモータへの通電でモータが回転した場合、その通電処理で用いられたオフセット量では実際の回転角まで補正できていないと考え、次回通電処理で使用するオフセット量として所定角度を増加減した値にて更新する。 If the motor rotates due to energization to the motor by the energization process, it is considered that the offset amount used in the energization process cannot be corrected to the actual rotation angle, and the specified angle is increased or decreased as the offset amount used in the next energization process. updated with the new value.

通電処理による通電でモータが回転しなかった場合、その通電処理で用いられたオフセット量にて実際の回転角まで補正できていると考え、モータを回転させるときに使用する回転角センサからの検出値の補正値として当該オフセット量を使用する。 If the motor does not rotate due to energization by the energization process, it is considered that the actual rotation angle can be corrected by the offset amount used in the energization process, and the rotation angle sensor used when rotating the motor is detected. The offset amount is used as the correction value of the value.

更新するオフセット量としては、通電処理による通電でモータが回転した方向と逆方向でも順方向でもよい。 The offset amount to be updated may be in the opposite direction or in the forward direction of the direction in which the motor rotates due to the energization in the energization process.

よって、実車において、回転角センサの出力信号から検出される回転角の補正に用いるオフセット量を求めることができる。しかも、車両が停止した安全な状態で、オフセット量を求めることができる。 Therefore, in the actual vehicle, it is possible to obtain the offset amount used for correcting the rotation angle detected from the output signal of the rotation angle sensor. Moreover, the offset amount can be obtained in a safe state where the vehicle is stopped.

また、モータへの通電は、インバータがバッテリから切り離された状態で、その通電には、インバータに備えられている平滑コンデンサの放電(ディスチャージ機能)を利用してもよい。 Further, the motor may be energized by discharging a smoothing capacitor provided in the inverter (discharge function) while the inverter is disconnected from the battery.

さらに、実車の状態において、車両に搭載されている回転角センサのオフセット量が求められるので、モータ、回転角センサまたはモータ制御装置が故障した場合に、その故障した部品を単品で交換しても、その交換後に回転角センサのオフセット量を求めることができる。よって、故障した部品の単品での交換が可能であり、車両のメンテナンスにかかる費用を抑制することができる。 Furthermore, since the offset amount of the rotation angle sensor mounted on the vehicle is obtained in the state of the actual vehicle, if the motor, rotation angle sensor, or motor control device fails, the failed part can be replaced individually. , the offset amount of the rotation angle sensor can be determined after the replacement. Therefore, it is possible to replace the faulty part as a single item, and it is possible to suppress the cost for maintenance of the vehicle.

車両には、モータと駆動輪との間の動力伝達経路上に、駆動ギヤおよび駆動ギヤと噛合する被動ギヤが設けられており、通電処理による通電でのモータの回転は、駆動ギヤと被動ギヤとの間のバックラッシュ内での回転であることが好ましい。 A vehicle is provided with a drive gear and a driven gear that meshes with the drive gear on a power transmission path between the motor and the drive wheels. It is preferable that the rotation is within the backlash between

この構成では、通電処理による通電でのモータの回転で車両が動くことを一層防止できる。 With this configuration, it is possible to further prevent the vehicle from moving due to the rotation of the motor due to the energization of the energization process.

通電処理による通電でモータが回転しなかった場合にも、オフセット記憶装置で保持するオフセット量に所定角度を増加減し、複数回の通電処理による通電でモータが回転しなかった場合のオフセット量の中間値に基づいて、オフセット記憶装置で保持するオフセット量を求めてもよい。 Even if the motor does not rotate due to energization in the energization process, the offset amount held in the offset storage device is increased or decreased by a predetermined angle, and the offset amount in the case that the motor does not rotate due to energization due to multiple energization processes is calculated. Based on the intermediate value, the offset amount to be held in the offset storage device may be determined.

回転角のずれ量(「モータの実際の回転角」と「回転角センサにて検出された回転角+オフセット量」)の差が小さくなると、トルク電流成分が小さくなり、ベアリングの摩擦力等の反力を受けて、回転角にずれ量が生じていてもモータが回転しない現象が発生する。 As the difference between the rotation angle deviation ("actual rotation angle of the motor" and "rotation angle detected by the rotation angle sensor + offset amount") becomes smaller, the torque current component becomes smaller, and the frictional force of the bearing, etc. A phenomenon occurs in which the motor does not rotate due to the reaction force even if there is a deviation in the rotation angle.

そこで、回転角のずれ量を補正するオフセット量の精度を上げるために、オフセット量を変えた複数回の通電処理を実施し、モータが回転しなかった際のオフセット値の上下限の間を確定オフセット量とする。 Therefore, in order to increase the accuracy of the offset amount that corrects the amount of rotation angle deviation, energization processing is performed multiple times with different offset amounts to determine the upper and lower limits of the offset value when the motor does not rotate. This is the amount of offset.

本発明によれば、車両が停止した状態で、回転角センサの出力信号から検出される回転角の補正に用いるオフセット量を求めることができる。 According to the present invention, it is possible to determine the offset amount used for correcting the rotation angle detected from the output signal of the rotation angle sensor while the vehicle is stopped.

本発明の一実施形態に係る車両の要部の構成を示す図である。1 is a diagram showing the configuration of a main part of a vehicle according to one embodiment of the present invention; FIG. インバータの構成を示す回路図である。3 is a circuit diagram showing the configuration of an inverter; FIG. オフセット量設定処理の流れを示すフローチャートである。7 is a flowchart showing the flow of offset amount setting processing;

以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。 BEST MODE FOR CARRYING OUT THE INVENTION Below, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

<車両の要部の構成>
図1は、本発明の一実施形態に係る車両1の要部の構成を示す図である。
<Configuration of main parts of the vehicle>
FIG. 1 is a diagram showing the configuration of the essential parts of a vehicle 1 according to one embodiment of the present invention.

車両1は、モータ2を走行用の駆動源として搭載し、そのモータ2の電力源としてバッテリ3を搭載した電気自動車(EV:Electric Vehicle)である。モータ2は、たとえば、回転子に永久磁石を用いた永久磁石同期モータ(PMSM:Permanent Magnet Synchronous Motor)である。バッテリ3は、複数の二次電池を組み合わせた組電池であり、たとえば、約200~350Vの直流電力を出力する。 A vehicle 1 is an electric vehicle (EV) equipped with a motor 2 as a drive source for traveling and a battery 3 as a power source for the motor 2 . The motor 2 is, for example, a Permanent Magnet Synchronous Motor (PMSM) using a permanent magnet for its rotor. The battery 3 is an assembled battery in which a plurality of secondary batteries are combined, and outputs DC power of approximately 200 to 350V, for example.

車両1は、モータ2の動力を駆動輪4に伝達する動力伝達機構5を備えている。動力伝達機構5には、出力ギヤ6およびデファレンシャルギヤ7が含まれる。出力ギヤ6は、デファレンシャルギヤ7のリングギヤ8と噛合している。モータ2の動力は、出力ギヤ6を介してデファレンシャルギヤ7のリングギヤ8に伝達され、デファレンシャルギヤ7からドライブシャフト9を介して駆動輪4に伝達される。駆動輪4の駆動力により、車両1が前進または後進する。 The vehicle 1 includes a power transmission mechanism 5 that transmits the power of the motor 2 to the driving wheels 4 . The power transmission mechanism 5 includes an output gear 6 and a differential gear 7 . The output gear 6 meshes with the ring gear 8 of the differential gear 7 . Power of the motor 2 is transmitted to the ring gear 8 of the differential gear 7 via the output gear 6 and then transmitted from the differential gear 7 to the drive wheels 4 via the drive shaft 9 . The driving force of the driving wheels 4 causes the vehicle 1 to move forward or backward.

また、車両1には、PCU(Power Control Unit:パワーコントロールユニット)11が搭載されている。PCU11は、インバータ12と、インバータ12に含まれるスイッチング素子をオン/オフさせる駆動回路13と、インバータ12とバッテリ3との接続/非接続を切り替えるスイッチ14とを内蔵している。 The vehicle 1 is also equipped with a PCU (Power Control Unit) 11 . The PCU 11 incorporates an inverter 12 , a drive circuit 13 that turns on/off a switching element included in the inverter 12 , and a switch 14 that switches connection/disconnection between the inverter 12 and the battery 3 .

モータ2が電動機として機能する力行運転時には、インバータ12がバッテリ3に接続された状態で、バッテリ3から出力される直流電力がインバータ12で交流電力に変換され、交流電力がインバータ12からモータ2に供給される。一方、モータ2が発電機として機能する回生運転時には、モータ2で駆動輪からの動力が交流電力に変換される。このとき、モータ2が駆動系の抵抗となり、その抵抗による回生制動力が駆動輪に作用する。モータ2で発生した交流電力は、インバータ12で直流電力に変換されて、バッテリ3に充電される。 During power running when the motor 2 functions as an electric motor, the DC power output from the battery 3 is converted to AC power by the inverter 12 while the inverter 12 is connected to the battery 3, and the AC power is supplied from the inverter 12 to the motor 2. supplied. On the other hand, during regenerative operation in which the motor 2 functions as a generator, the motor 2 converts the power from the drive wheels into AC power. At this time, the motor 2 acts as a resistance of the drive system, and the regenerative braking force due to the resistance acts on the drive wheels. The AC power generated by the motor 2 is converted into DC power by the inverter 12 and the battery 3 is charged with the DC power.

さらに、車両1には、ECU(Electronic Control Unit:電子制御ユニット)15が搭載されている。ECU15には、CPU、フラッシュメモリなどの不揮発性メモリおよびDRAM(Dynamic Random Access Memory)などの揮発性メモリが内蔵されている。図1には、1つのECU15のみが示されているが、車両1には、各部を制御するため、ECU15と同様の構成を有する複数のECUが搭載されている。ECU15を含む複数のECUは、CAN(Controller Area Network)通信プロトコルによる双方向通信が可能に接続されている。 Further, the vehicle 1 is equipped with an ECU (Electronic Control Unit) 15 . The ECU 15 incorporates a CPU, a non-volatile memory such as a flash memory, and a volatile memory such as a DRAM (Dynamic Random Access Memory). Although only one ECU 15 is shown in FIG. 1, the vehicle 1 is equipped with a plurality of ECUs having the same configuration as the ECU 15 in order to control each part. A plurality of ECUs including the ECU 15 are connected so as to be capable of two-way communication using a CAN (Controller Area Network) communication protocol.

PCU11には、モータ2の回転角を検出するため、回転角センサ16が接続されている。回転角センサ16は、たとえば、レゾルバであり、ロータがモータ2の回転軸に取り付けられて、モータ2の回転角の変化を2相の交流電圧の変化として出力する。回転角センサ16の接続先はECU15でもよい。 A rotation angle sensor 16 is connected to the PCU 11 to detect the rotation angle of the motor 2 . The rotation angle sensor 16 is, for example, a resolver, has a rotor attached to the rotation shaft of the motor 2, and outputs changes in the rotation angle of the motor 2 as changes in two-phase AC voltage. The connection destination of the rotation angle sensor 16 may be the ECU 15 .

ECU15には、モータ2の回転角と、回転角センサ16から検出される回転角のオフセット量を記憶するオフセット記憶装置17を備えている。オフセット記憶装置17はPCU11に備えてもよい。 The ECU 15 includes an offset storage device 17 that stores the rotation angle of the motor 2 and the offset amount of the rotation angle detected by the rotation angle sensor 16 . Offset storage device 17 may be provided in PCU 11 .

PCU11は、回転角センサ16の検出信号や他のECUから受信する情報などに基づいて、モータ2の駆動を制御するため、PCU11の駆動回路13を介してインバータ12の動作を制御する。 The PCU 11 controls the operation of the inverter 12 via the drive circuit 13 of the PCU 11 in order to control the driving of the motor 2 based on the detection signal of the rotation angle sensor 16 and information received from other ECUs.

図2は、インバータ12の構成を示す回路図である。 FIG. 2 is a circuit diagram showing a configuration of inverter 12. Referring to FIG.

インバータ12は、三相電圧形インバータの回路構成を有している。すなわち、インバータ12は、三相ブリッジ回路21および平滑コンデンサ22を備えている。 The inverter 12 has a circuit configuration of a three-phase voltage source inverter. That is, the inverter 12 has a three-phase bridge circuit 21 and a smoothing capacitor 22 .

三相ブリッジ回路21には、2個のスイッチング素子23U,24Uの直列回路と、2個のスイッチング素子23V,24Vの直列回路と、2個のスイッチング素子23W,24Wの直列回路とが含まれる。これらの直列回路は、モータ2のU相、V相およびW相の各相に対応して設けられている。U相に対応する直列回路は、2個のスイッチング素子23U,24Uの接続点でモータ2のU相巻線に接続されている。V相に対応する直列回路は、2個のスイッチング素子23V,24Vの接続点でモータ2のV相巻線に接続されている。W相に対応する直列回路は、2個のスイッチング素子23W,24Wの接続点でモータ2のW相巻線に接続されている。 The three-phase bridge circuit 21 includes a series circuit of two switching elements 23U and 24U, a series circuit of two switching elements 23V and 24V, and a series circuit of two switching elements 23W and 24W. These series circuits are provided corresponding to the U-phase, V-phase and W-phase of the motor 2 . A series circuit corresponding to the U phase is connected to the U phase winding of the motor 2 at the connection point of the two switching elements 23U and 24U. A series circuit corresponding to the V-phase is connected to the V-phase winding of the motor 2 at the connection point of the two switching elements 23V and 24V. A series circuit corresponding to the W phase is connected to the W phase winding of the motor 2 at the connection point of the two switching elements 23W and 24W.

スイッチング素子23U,23V,23W,24U,24V,24Wには、たとえば、IGBT(絶縁ゲートバイポーラトランジスタ)を用いることができる。駆動回路13(図1参照)は、スイッチング素子23U,23V,23W,24U,24V,24Wのゲートに印加する電圧により、スイッチング素子23U,23V,23W,24U,24V,24Wをオン/オフ動作させる。 IGBTs (insulated gate bipolar transistors), for example, can be used for switching elements 23U, 23V, 23W, 24U, 24V, and 24W. The drive circuit 13 (see FIG. 1) turns on/off the switching elements 23U, 23V, 23W, 24U, 24V, and 24W by voltage applied to the gates of the switching elements 23U, 23V, 23W, 24U, 24V, and 24W. .

U相、V相およびW相の各相に対応する直列回路は、プラス配線25とマイナス配線26との間に互いに並列に接続されている。プラス配線25およびマイナス配線26は、それぞれバッテリ3の正極端子および負極端子に接続されている。平滑コンデンサ22は、バッテリ3とインバータ12との間において、プラス配線25とマイナス配線26とに接続されている。また、バッテリ3と平滑コンデンサ22との間において、プラス配線25およびマイナス配線26にそれぞれスイッチ14が介装されている。 Series circuits corresponding to each of the U-phase, V-phase and W-phase are connected in parallel between plus wiring 25 and minus wiring 26 . The positive wiring 25 and the negative wiring 26 are connected to the positive terminal and the negative terminal of the battery 3, respectively. Smoothing capacitor 22 is connected to plus wiring 25 and minus wiring 26 between battery 3 and inverter 12 . A switch 14 is interposed in each of the positive wiring 25 and the negative wiring 26 between the battery 3 and the smoothing capacitor 22 .

<オフセット量設定処理>
図3は、オフセット量設定処理の流れを示すフローチャートである。
<Offset amount setting processing>
FIG. 3 is a flowchart showing the flow of offset amount setting processing.

モータ2に対する回転角センサ16の取付位置によっては、PCU11により回転角センサ16の出力信号から検出されるモータ2の回転角とモータ2の実際の回転角とにずれが生じる。モータ2を効率/精度よく制御するためには、回転角センサ16の出力信号から検出される回転角をモータ2の実際の回転角に一致するように補正する必要がある。 Depending on the mounting position of the rotation angle sensor 16 with respect to the motor 2 , a deviation occurs between the rotation angle of the motor 2 detected from the output signal of the rotation angle sensor 16 by the PCU 11 and the actual rotation angle of the motor 2 . In order to control the motor 2 efficiently and accurately, it is necessary to correct the rotation angle detected from the output signal of the rotation angle sensor 16 so as to match the actual rotation angle of the motor 2 .

そこで、ECU15により、その補正に用いるオフセット量を設定するためのオフセット量設定処理が実行される。オフセット量設定処理は、車両1のイグニッションスイッチが初めてオンにされたときに実行されてもよいし、適当なタイミングで定期的に実行されてもよい。 Therefore, the ECU 15 executes offset amount setting processing for setting the offset amount used for the correction. The offset amount setting process may be performed when the ignition switch of the vehicle 1 is turned on for the first time, or may be performed periodically at appropriate timing.

オフセット量設定処理は、車両1が停止した状態で実行される。また、オフセット量設定処理が実行されるときには、PCU11に内蔵されているスイッチ14がオフにされて、インバータ12がバッテリ3から切り離された状態にしてもよい。 The offset amount setting process is executed while the vehicle 1 is stopped. Further, when the offset amount setting process is executed, the switch 14 incorporated in the PCU 11 may be turned off to disconnect the inverter 12 from the battery 3 .

この状態において、q軸電流指令値が0に、d軸電流指令値が所定値に設定される(ステップS1)。また、回転角センサ16の出力信号からモータ2の回転角が検出され、その回転角にオフセット値を加え、通電電圧算出に必要な現在の回転角を算出する(ステップS2)。この算出された回転角を用いて、d軸電流指令値およびq軸電流指令値が満足されるように、d軸電圧指令値およびq軸電圧指令値が求められる。d軸電圧指令値およびq軸電圧指令値のd-q/三相交流座標変換により、U相電圧指令値、V相電圧指令値およびW相電圧指令値が設定される。そして、U相電圧指令値、V相電圧指令値およびW相電圧指令値に基づいて、インバータ12の動作(スイッチング素子23U,23V,23W,24U,24V,24Wをオン/オフ動作)が制御されることにより、インバータ12からモータ2に電流が供給される(ステップS3:モータ通電)。 In this state, the q-axis current command value is set to 0, and the d-axis current command value is set to a predetermined value (step S1). Further, the rotation angle of the motor 2 is detected from the output signal of the rotation angle sensor 16, and an offset value is added to the rotation angle to calculate the current rotation angle necessary for calculating the energized voltage (step S2). Using this calculated rotation angle, the d-axis voltage command value and the q-axis voltage command value are obtained so that the d-axis current command value and the q-axis current command value are satisfied. A U-phase voltage command value, a V-phase voltage command value and a W-phase voltage command value are set by dq/three-phase AC coordinate conversion of the d-axis voltage command value and the q-axis voltage command value. Based on the U-phase voltage command value, the V-phase voltage command value, and the W-phase voltage command value, the operation of inverter 12 (on/off operation of switching elements 23U, 23V, 23W, 24U, 24V, and 24W) is controlled. As a result, current is supplied from the inverter 12 to the motor 2 (step S3: motor energization).

q軸電流指令値が0に設定されているので、回転角センサ16の出力信号から検出される回転角がモータ2の実際の回転角と一致していれば、トルク電流成分を含まない電流がモータ2に供給され、モータ2の出力トルクが0となり、モータ2は回転しない。しかし、回転角センサ16の出力信号から検出される回転角がモータ2の実際の回転角からずれていれば、トルク電流成分を含む電流がモータに供給されるので、モータ2が回転する。 Since the q-axis current command value is set to 0, if the rotation angle detected from the output signal of the rotation angle sensor 16 matches the actual rotation angle of the motor 2, the current that does not contain the torque current component is It is supplied to the motor 2, the output torque of the motor 2 becomes 0, and the motor 2 does not rotate. However, if the rotation angle detected from the output signal of the rotation angle sensor 16 deviates from the actual rotation angle of the motor 2, a current containing a torque current component is supplied to the motor, causing the motor 2 to rotate.

モータ通電でモータ2が回転したかどうかが判定される(ステップS4)。 It is determined whether or not the motor 2 has rotated by energizing the motor (step S4).

モータ2が回転した場合(ステップS4のYES)、次回モータ通電で使用する回転角算出で使用するオフセット量を更新する(ステップS5)。 If the motor 2 rotates (YES in step S4), the offset amount used in calculating the rotation angle to be used in the next motor energization is updated (step S5).

<作用効果>
以上のように、実車において、回転角センサ16の出力信号から検出される回転角の補正に用いるオフセット量を求めることができる。しかも、車両1が停止した安全な状態で、オフセット量を求めることができる。
<Effect>
As described above, in the actual vehicle, the offset amount used for correcting the rotation angle detected from the output signal of the rotation angle sensor 16 can be obtained. Moreover, the offset amount can be obtained in a safe state in which the vehicle 1 is stopped.

また、モータ2への通電は、インバータ12がバッテリ3から切り離された状態で、その通電には、インバータ12に備えられている平滑コンデンサ22の放電(ディスチャージ機能)を利用してもよい。その際は、オフセット量を求めるために、バッテリ3の電力を消費せず、また、追加の構成が不要である。 The motor 2 may be energized while the inverter 12 is disconnected from the battery 3, and the smoothing capacitor 22 provided in the inverter 12 may be discharged (discharge function) for the energization. In this case, the electric power of the battery 3 is not consumed and an additional configuration is not required to obtain the offset amount.

さらに、実車の状態において、車両1に搭載されている回転角センサ16のオフセット量が求められるので、モータ2、PCU11または回転角センサ16が故障した場合に、その故障した部品を単品で交換しても、その交換後に回転角センサ16のオフセット量を求めることができる。よって、故障した部品の単品での交換が可能であり、車両1のメンテナンスにかかる費用を抑制することができる。 Furthermore, since the offset amount of the rotation angle sensor 16 mounted on the vehicle 1 is obtained in the state of the actual vehicle, when the motor 2, the PCU 11 or the rotation angle sensor 16 breaks down, the broken parts can be replaced individually. However, the offset amount of the rotation angle sensor 16 can be obtained after the replacement. Therefore, it is possible to replace the faulty part individually, and the maintenance cost of the vehicle 1 can be suppressed.

また、モータ通電によりモータ2が回転したかどうかは、動力伝達機構5に含まれるギヤ間のバックラッシュ内での回転で判定される。これにより、モータ2に負荷がかかることを抑制でき、また、モータ2の回転で車両1が動くことを良好に防止できる。 Further, whether or not the motor 2 is rotated by the motor energization is determined by the rotation within the backlash between the gears included in the power transmission mechanism 5 . As a result, it is possible to prevent the load from being applied to the motor 2 and to prevent the vehicle 1 from moving due to the rotation of the motor 2 .

<変形例>
以上、本発明の一実施形態について説明したが、本発明は、他の形態で実施することもできる。
<Modification>
Although one embodiment of the present invention has been described above, the present invention can also be implemented in other forms.

たとえば、モータ通電でモータ2が回転しなかった場合にも、オフセット記憶装置17で保持するオフセット量に所定角度を増加減し、複数回のモータ通電でモータが回転しなかった場合のオフセット量の中間値に基づいて、オフセット記憶装置17で最終的に保持するオフセット量を求めてもよい。 For example, even when the motor 2 does not rotate due to motor energization, the offset amount held in the offset storage device 17 is increased or decreased by a predetermined angle, and the offset amount is calculated when the motor does not rotate due to multiple times of motor energization. The offset amount to be finally held in the offset storage device 17 may be obtained based on the intermediate value.

回転角のずれ量(「モータの実際の回転角」と「回転角センサにて検出された回転角+オフセット量」)の差が小さくなると、トルク電流成分が小さくなり、ベアリングの摩擦力等の反力を受けて、回転角にずれ量が生じていてもモータ2が回転しない現象が発生する。 As the difference between the rotation angle deviation ("actual rotation angle of the motor" and "rotation angle detected by the rotation angle sensor + offset amount") becomes smaller, the torque current component becomes smaller, and the frictional force of the bearing, etc. A phenomenon occurs in which the motor 2 does not rotate due to the reaction force even if there is a deviation in the rotation angle.

そこで、回転角のずれ量を補正するオフセット量の精度を上げるために、オフセット量を変えた複数回の通電処理を実施し、モータ2が回転しなかった際のオフセット値の上下限の間を確定オフセット量とする。 Therefore, in order to increase the accuracy of the offset amount for correcting the deviation amount of the rotation angle, energization processing is performed a plurality of times with different offset amounts, and the upper and lower limits of the offset value when the motor 2 does not rotate are adjusted. Defined offset amount.

また、前述の実施形態では、車両1が電気自動車であるとしたが、車両1は、モータ2を走行用の駆動源として搭載したハイブリッド車(HV:Hybrid Vehicle)であってもよい。 Further, in the above-described embodiment, the vehicle 1 is an electric vehicle, but the vehicle 1 may be a hybrid vehicle (HV) equipped with a motor 2 as a drive source for running.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。 In addition, various design changes can be made to the above configuration within the scope of the matters described in the claims.

1:車両
2:モータ
3:バッテリ
4:駆動輪
12:インバータ
15:ECU(モータ制御装置)
16:回転角センサ
17:オフセット記憶装置
21:三相ブリッジ回路
22:平滑コンデンサ
1: Vehicle 2: Motor 3: Battery 4: Driving Wheel 12: Inverter 15: ECU (Motor Control Device)
16: Rotation angle sensor 17: Offset storage device 21: Three-phase bridge circuit 22: Smoothing capacitor

Claims (2)

バッテリと、モータと、三相ブリッジ回路および平滑コンデンサを備え、前記バッテリと前記モータとに接続されて、直流電力と交流電力とを変換するインバータと、前記モータの回転角に応じて変化する信号を出力する回転角センサと、前記回転角センサのオフセット記憶装置とを搭載し、前記モータの動力が駆動輪に伝達されて走行する車両に用いられるモータ制御装置であって、
前記車両が停止した状態において、q軸電流指令値を0に設定し、d軸電流指令値を所定値に設定して、前記回転角センサの出力信号から検出される回転角に前記オフセット記憶装置で補正した回転角を用いて、前記d軸電流指令値および前記q軸電流指令値に応じた三相電圧指令値を設定し、当該三相電圧指令値に基づいて、前記インバータから前記モータに通電する通電処理を実行し、
前記通電処理による通電で前記モータが回転した場合、所定角度を増加減した値にて前記オフセット記憶装置で保持するオフセット量を更新し、
前記通電処理による通電で前記モータが回転しなかった場合にも、前記オフセット記憶装置で保持するオフセット量に所定角度を増加減し、
複数回の前記通電処理による通電で前記モータが回転しなかった場合のオフセット量の中間値に基づいて、前記オフセット記憶装置で保持するオフセット量を求める、モータ制御装置。
An inverter that includes a battery, a motor, a three-phase bridge circuit and a smoothing capacitor, is connected to the battery and the motor and converts DC power and AC power, and a signal that changes according to the rotation angle of the motor. and an offset storage device for the rotation angle sensor, and is used in a vehicle that travels by transmitting the power of the motor to drive wheels,
With the vehicle stopped, the q-axis current command value is set to 0, the d-axis current command value is set to a predetermined value, and the rotation angle detected from the output signal of the rotation angle sensor is stored in the offset storage device. A three-phase voltage command value corresponding to the d-axis current command value and the q-axis current command value is set using the rotation angle corrected by the above, and based on the three-phase voltage command value, from the inverter to the motor Execute the energization process to energize,
updating the offset amount held in the offset storage device with a value obtained by increasing or decreasing a predetermined angle when the motor rotates due to the energization by the energization process ;
increasing or decreasing the offset amount held in the offset storage device by a predetermined angle even when the motor does not rotate due to the energization by the energization process;
A motor control device that obtains an offset amount held in the offset storage device based on an intermediate value of offset amounts when the motor does not rotate due to energization by the energization process a plurality of times.
前記車両には、前記モータと前記駆動輪との間の動力伝達経路上に、駆動ギヤおよび前記駆動ギヤと噛合する被動ギヤが設けられており、
前記通電処理による通電での前記モータの回転は、前記駆動ギヤと前記被動ギヤとの間のバックラッシュ内での回転である、請求項1に記載のモータ制御装置。
The vehicle is provided with a drive gear and a driven gear that meshes with the drive gear on a power transmission path between the motor and the drive wheels,
2. The motor control device according to claim 1, wherein rotation of said motor due to energization by said energization process is rotation within a backlash between said driving gear and said driven gear.
JP2019159056A 2019-08-30 2019-08-30 motor controller Active JP7278693B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019159056A JP7278693B2 (en) 2019-08-30 2019-08-30 motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019159056A JP7278693B2 (en) 2019-08-30 2019-08-30 motor controller

Publications (2)

Publication Number Publication Date
JP2021040376A JP2021040376A (en) 2021-03-11
JP7278693B2 true JP7278693B2 (en) 2023-05-22

Family

ID=74847534

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019159056A Active JP7278693B2 (en) 2019-08-30 2019-08-30 motor controller

Country Status (1)

Country Link
JP (1) JP7278693B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007228700A (en) 2006-02-22 2007-09-06 Toyota Motor Corp Motor control device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5445031B2 (en) * 2009-10-27 2014-03-19 株式会社ジェイテクト Method of manufacturing rotation angle detection device, rotation angle detection device, motor control device, and electric power steering device
JP6614092B2 (en) * 2016-10-12 2019-12-04 株式会社デンソー Vehicle control device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007228700A (en) 2006-02-22 2007-09-06 Toyota Motor Corp Motor control device

Also Published As

Publication number Publication date
JP2021040376A (en) 2021-03-11

Similar Documents

Publication Publication Date Title
JP5569626B1 (en) Motor control device, electric power steering device using the same, and vehicle
JP4998836B2 (en) Control device for multi-phase rotating machine and electric power steering device using the same
WO2009123118A1 (en) Motor control device and electric power steering device
WO2015136989A1 (en) Motor control device and motor control method
US10024945B2 (en) Abnormality diagnosis apparatus that determines an abnormality of a power-supply voltage sensor
WO2012090677A1 (en) Hybrid vehicle system and control method thereof
JPWO2015129271A1 (en) Motor control device, electric power steering device using the same, and vehicle
US10298165B2 (en) Rotary electric machine system
JP5803951B2 (en) Rotating electric machine drive system
US10797620B2 (en) Rotating machine control device and electric power steering control device
US10340834B2 (en) Drive system
JP2007318894A (en) Device and method for detecting phase shift of magnetic pole position sensor for synchronous motor
JP2007228700A (en) Motor control device
US20170267231A1 (en) Hybrid vehicle
JP5141149B2 (en) Motor control device and vehicle equipped with the same
JP7278693B2 (en) motor controller
JP2009189089A (en) Motor controller and electric power steering machine
US11312242B2 (en) Electric rolling stock control device
US9755564B2 (en) Controller for motor generator
WO2018110502A1 (en) Abnormality detection device
JP2005065349A (en) Synchronous motor controller
US11502632B2 (en) Motor control device and electric vehicle
JP5141955B2 (en) Motor control device
JP7345972B2 (en) motor control device
JP2019134550A (en) Motor controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230414

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230509

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230509

R150 Certificate of patent or registration of utility model

Ref document number: 7278693

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150