JP2022185373A - Current detector and motor controller - Google Patents

Current detector and motor controller Download PDF

Info

Publication number
JP2022185373A
JP2022185373A JP2021093014A JP2021093014A JP2022185373A JP 2022185373 A JP2022185373 A JP 2022185373A JP 2021093014 A JP2021093014 A JP 2021093014A JP 2021093014 A JP2021093014 A JP 2021093014A JP 2022185373 A JP2022185373 A JP 2022185373A
Authority
JP
Japan
Prior art keywords
current
phase
current detection
value
detection value
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
JP2021093014A
Other languages
Japanese (ja)
Inventor
義喜 藤田
Yoshiki Fujita
哲 重田
Satoru Shigeta
遼一 稲田
Ryoichi Inada
恭啓 石川
Yasuhiro Ishikawa
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Astemo 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 Hitachi Astemo Ltd filed Critical Hitachi Astemo Ltd
Priority to JP2021093014A priority Critical patent/JP2022185373A/en
Publication of JP2022185373A publication Critical patent/JP2022185373A/en
Pending legal-status Critical Current

Links

Images

Abstract

To solve such a problem that an abnormality in a current detection value of one phase cannot be accurately detected while a motor is being driven.SOLUTION: A current detector comprises: a current ratio calculation unit which calculates a current ratio being a ratio of the sum of current detection values of other two phases to a current detection value of one phase in the three-phase AC current output to a three-phase motor while the three-phase motor is being driven; and a current value abnormality determination unit which determines that each current detection value of the three-phase AC current is normal when the current ratio calculated by the current ratio calculation unit is within a prescribed range, and determines that the current detection value of the one phase is abnormal when the current ratio is not included in the prescribed range.SELECTED DRAWING: Figure 1

Description

本発明は、電流検出装置およびモータ制御装置に関する。 The present invention relates to a current detection device and a motor control device.

三相モータに出力されている三相交流電流の値は、電流センサ等で構成される電流検出部により検出される。三相モータを正確に制御するためには、電流検出部で検出された電流検出値に異常が無いかを精度よく検出する必要がある。 The value of the three-phase AC current output to the three-phase motor is detected by a current detection section including a current sensor or the like. In order to accurately control a three-phase motor, it is necessary to accurately detect whether there is an abnormality in the current detection value detected by the current detection unit.

特許文献1には、車両の走行許可スイッチがオフからオンに切り替えられた直後に、電流センサによって検出される電流iu、iw、ivのいずれかの絶対値が規定値α以上であれば、電流センサの出力値が所定量だけずれるオフセット異常であると判断し、規定値α以上ではなければ、電流iu、iw、ivの和の絶対値が規定値βよりも大きければ、真の値を所定倍したゲイン異常であると判断する回転機の制御装置が開示されている。 In Patent Document 1, if the absolute value of any one of the currents iu, iw, and iv detected by the current sensor is equal to or greater than a specified value α immediately after the travel permission switch of the vehicle is switched from off to on, the current It is determined that the output value of the sensor is offset by a predetermined amount, and if the absolute value of the sum of the currents iu, iw, and iv is larger than the predetermined value β, the true value is set to a predetermined value. A control device for a rotating machine is disclosed that determines that a multiplied gain is abnormal.

特開2016-013040号公報JP 2016-013040 A

特許文献1に記載の装置では、モータの駆動中に三相中の1相の電流検出値が異常であることを精度よく検出することができなかった。 In the device described in Patent Document 1, it was not possible to accurately detect that the current detection value of one of the three phases is abnormal during driving of the motor.

本発明による電流検出装置は、三相モータを駆動中に、前記三相モータに出力されている三相交流電流のうち1相の電流検出値に対する他の2相の電流検出値の和の比率である電流比を演算する電流比演算部と、前記電流比演算部で演算された前記電流比が所定範囲内である場合に、前記三相交流電流の各電流検出値は正常であると判定し、前記電流比が前記所定範囲に含まれない場合に前記1相の電流検出値は異常であると判定する電流値異常判定部と、を備えた。
本発明によるモータ制御装置は、三相モータに出力されている三相交流電流を検出する電流検出部と、前記三相モータを駆動中に、前記三相交流電流のうち1相の電流検出値に対する他の2相の電流検出値の和の比率である電流比を演算する電流比演算部と、前記電流比演算部で演算された前記電流比が所定範囲内である場合に、前記電流検出部で検出された前記三相交流電流の各電流検出値は正常であると判定し、前記電流比が前記所定範囲に含まれない場合に前記1相の電流検出値は異常であると判定する電流値異常判定部と、を備えた。
The current detection device according to the present invention detects a ratio of the sum of the current detection values of one phase to the current detection value of the other two phases among the three-phase alternating currents output to the three-phase motor while the three-phase motor is being driven. and a current ratio calculation unit for calculating a current ratio, and when the current ratio calculated by the current ratio calculation unit is within a predetermined range, it is determined that each current detection value of the three-phase alternating current is normal. and a current value abnormality determination unit that determines that the current detection value of the one phase is abnormal when the current ratio is not included in the predetermined range.
A motor control device according to the present invention includes a current detection unit that detects a three-phase alternating current being output to a three-phase motor, and a current detection value of one phase of the three-phase alternating current while driving the three-phase motor. and a current ratio calculator for calculating a current ratio that is a ratio of the sum of the current detection values of the other two phases to the current detection when the current ratio calculated by the current ratio calculator is within a predetermined range. each current detection value of the three-phase alternating current detected by the section is determined to be normal, and when the current ratio is not included in the predetermined range, it is determined that the one-phase current detection value is abnormal and a current value abnormality determination unit.

本発明によれば、モータの駆動中に1相の電流検出値が異常であることを精度よく検出することができる。 According to the present invention, it is possible to accurately detect that the current detection value of one phase is abnormal during driving of the motor.

第1の実施形態にかかるモータ制御装置の回路構成図である。1 is a circuit configuration diagram of a motor control device according to a first embodiment; FIG. 電力変換回路の回路構成図である。It is a circuit block diagram of a power inverter circuit. (A)(B)電流検出値および電流比の関係を示すグラフである。(A) and (B) are graphs showing relationships between current detection values and current ratios. 電流比演算部の処理を示すフローチャートである。4 is a flowchart showing processing of a current ratio calculator; 電流値異常判定部の処理を示すフローチャートである。5 is a flowchart showing processing of a current value abnormality determination unit; 第2の実施形態にかかるモータ制御装置の回路構成図である。FIG. 7 is a circuit configuration diagram of a motor control device according to a second embodiment; 第2の実施形態にかかる電流補正部の処理を示すフローチャートである。9 is a flowchart showing processing of a current correction unit according to the second embodiment; 第3の実施形態にかかるモータ制御装置の回路構成図である。FIG. 11 is a circuit configuration diagram of a motor control device according to a third embodiment; 第3の実施形態にかかる電流比演算部の処理を示すフローチャートである。It is a flow chart which shows processing of a current ratio operation part concerning a 3rd embodiment. 第3の実施形態にかかる電流補正部の処理を示すフローチャートである。It is a flow chart which shows processing of a current amendment part concerning a 3rd embodiment.

以下、図面を参照して本発明の実施形態を説明する。以下の記載および図面は、本発明を説明するための例示であって、説明の明確化のため、適宜、省略および簡略化がなされている。本発明は、他の種々の形態でも実施する事が可能である。特に限定しない限り、各構成要素は単数でも複数でも構わない。 Embodiments of the present invention will be described below with reference to the drawings. The following description and drawings are examples for explaining the present invention, and are appropriately omitted and simplified for clarity of explanation. The present invention can also be implemented in various other forms. Unless otherwise specified, each component may be singular or plural.

以下の説明では、フローチャートで示す処理を説明することがあるが、この処理はプログラムを実行して行う処理であり、プログラムは、プロセッサ(例えばCPU、GPU)によって実行されることで、定められた処理を、適宜に記憶資源(例えばメモリ)および/またはインターフェースデバイス(例えば通信ポート)等を用いながら行うため、処理の主体がプロセッサとされてもよい。同様に、プログラムを実行して行う処理の主体が、プロセッサを有するコントローラ、装置、システム、計算機、ノードであってもよい。プログラムを実行して行う処理の主体は、演算部であれば良く、特定の処理を行う専用回路(例えばFPGAやASIC)を含んでいてもよい。 In the following description, the processing shown in the flowchart may be described, but this processing is performed by executing a program, and the program is executed by a processor (eg, CPU, GPU) to Since processing is performed using storage resources (such as memory) and/or interface devices (such as communication ports) as appropriate, the subject of processing may be a processor. Similarly, a main body of processing executed by executing a program may be a controller having a processor, a device, a system, a computer, or a node. The subject of the processing performed by executing the program may be an arithmetic unit, and may include a dedicated circuit (for example, FPGA or ASIC) that performs specific processing.

プログラムは、プログラムソースから計算機のような装置にインストールされてもよい。プログラムソースは、例えば、プログラム配布サーバまたは計算機が読み取り可能な記憶メディアであってもよい。プログラムソースがプログラム配布サーバの場合、プログラム配布サーバはプロセッサと配布対象のプログラムを記憶する記憶資源を含み、プログラム配布サーバのプロセッサが配布対象のプログラムを他の計算機に配布してもよい。また、以下の説明において、2以上のプログラムが1つのプログラムとして実現されてもよいし、1つのプログラムが2以上のプログラムとして実現されてもよい。 A program may be installed on a device, such as a computer, from a program source. The program source may be, for example, a program distribution server or a computer-readable storage medium. When the program source is a program distribution server, the program distribution server may include a processor and storage resources for storing the distribution target program, and the processor of the program distribution server may distribute the distribution target program to other computers. Also, in the following description, two or more programs may be implemented as one program, and one program may be implemented as two or more programs.

[第1の実施形態]
図1は、第1の実施形態にかかるモータ制御装置100の回路構成図である。
モータ制御装置100は、直流電源200から得られる直流電力を交流電力に変換してモータ300を駆動する。直流電源200は、二次電池等により構成され、直流電力を供給する。モータ300は、内部に3相分の巻き線を有した三相電動機である。モータ300には、回転子の回転角を検出するレゾルバなどの角度センサ301が備えられている。モータ300は、車両に搭載され、力行時には車両の駆動源として、回生時には発電機として機能する。
[First embodiment]
FIG. 1 is a circuit configuration diagram of a motor control device 100 according to the first embodiment.
Motor control device 100 converts DC power obtained from DC power supply 200 into AC power to drive motor 300 . A DC power supply 200 is configured by a secondary battery or the like, and supplies DC power. The motor 300 is a three-phase electric motor having windings for three phases inside. The motor 300 is provided with an angle sensor 301 such as a resolver that detects the rotation angle of the rotor. The motor 300 is mounted on the vehicle and functions as a drive source for the vehicle during power running and as a generator during regeneration.

モータ制御装置100は、電力変換回路101、主制御部102、電流検出部103、角度演算部104、電流比演算部105、電流値異常判定部106を備える。なお、電流検出値の異常を検出する電流検出装置は、少なくとも、電流比演算部105、電流値異常判定部106により構成される。 The motor control device 100 includes a power conversion circuit 101 , a main control section 102 , a current detection section 103 , an angle calculation section 104 , a current ratio calculation section 105 and a current value abnormality determination section 106 . A current detection device for detecting an abnormality in the current detection value is composed of at least the current ratio calculation section 105 and the current value abnormality determination section 106 .

電流検出部103は、電力変換回路101より出力される交流電流の値を検出する。電流検出部103は、内部に図示省略した電流センサや電流センサから出力されるアナログ情報をデジタル情報に変換するA/D変換回路を備えている。そして、UVW相の各相に配置された電流センサにより、U相を流れる交流電流Iu、V相を流れる交流電流Iv、W相を流れる交流電流Iwを測定し、各電流センサから出力されるアナログ情報を各相に対応して設けられたA/D変換回路によりデジタル情報に変換し、電流検出値Iu_s、Iv_s、Iw_sを主制御部102および電流比演算部105へ出力する。 The current detection unit 103 detects the value of alternating current output from the power conversion circuit 101 . The current detection unit 103 includes a current sensor (not shown) and an A/D conversion circuit that converts analog information output from the current sensor into digital information. Then, the current sensors placed in each of the UVW phases measure the alternating current Iu flowing through the U phase, the alternating current Iv flowing through the V phase, and the alternating current Iw flowing through the W phase. The information is converted into digital information by an A/D conversion circuit provided corresponding to each phase, and current detection values Iu_s, Iv_s, and Iw_s are output to main control section 102 and current ratio calculation section 105 .

角度演算部104は、モータ300に配置された角度センサ301からの回転子の角度情報を受け取り、これを用いて電気角θe_sを演算して、主制御部102および電流値異常判定部106へ出力する。 The angle calculation unit 104 receives angle information of the rotor from the angle sensor 301 arranged in the motor 300, calculates the electrical angle θe_s using this, and outputs it to the main control unit 102 and the current value abnormality determination unit 106. do.

主制御部102は、モータ制御装置100の外部に設けられた図示省略した電子制御装置と通信を行い、この電子制御装置からモータ300の目標トルクを受け取る。また、主制御部102には、電流検出部103より電流検出値Iu_s、Iv_s、Iw_sが、角度演算部104より電気角θe_sが入力される。 The main control unit 102 communicates with an electronic control device (not shown) provided outside the motor control device 100 and receives the target torque of the motor 300 from this electronic control device. The current detection values Iu_s, Iv_s, and Iw_s from the current detection unit 103 and the electrical angle θe_s from the angle calculation unit 104 are input to the main control unit 102 .

そして、主制御部102は、目標トルクに基づいてモータ300に流すべき目標電流値を演算する。この目標電流値は、例えばd軸電流目標値、q軸電流目標値で表される。具体的には、電流検出部103より出力された電流検出値Iu_s、Iv_s、Iw_sと、角度演算部104より出力された電気角θe_sとを用いて、d軸電流検出値、q軸電流検出値を演算する。そして、目標電流値であるd軸電流目標値と検出値であるd軸電流検出値との偏差と、目標電流値であるq軸電流目標値と検出値であるq軸電流検出値との偏差を用いてフィードバック制御を行い、電力変換回路101に出力する駆動信号を決定する。また、主制御部102は、電流値異常判定部106より異常情報が入力され、詳細は後述するが、入力された異常情報に対応した制御を行う。 Then, the main control unit 102 calculates a target current value to be supplied to the motor 300 based on the target torque. This target current value is represented by, for example, a d-axis current target value and a q-axis current target value. Specifically, the d-axis current detection value and the q-axis current detection value to calculate Then, the deviation between the d-axis current target value that is the target current value and the d-axis current detection value that is the detection value, and the deviation between the q-axis current target value that is the target current value and the q-axis current detection value that is the detection value is used to perform feedback control to determine the drive signal to be output to the power conversion circuit 101 . Further, the main control unit 102 receives abnormality information from the current value abnormality determination unit 106, and performs control corresponding to the input abnormality information, which will be described later in detail.

電力変換回路101は、スイッチング素子より構成される三相の上下アーム直列回路を備え、主制御部102から出力される駆動信号にもとづきスイッチング素子のスイッチング動作を行う。力行時において、直流電源200より供給される直流電力を3相の交流電力に変換してモータ300を駆動する。また回生時において、3相の交流電力を直流電力に変換し、直流電源200を充電する。 The power conversion circuit 101 includes a three-phase upper and lower arm series circuit composed of switching elements, and performs switching operations of the switching elements based on drive signals output from the main control unit 102 . During power running, the DC power supplied from the DC power supply 200 is converted into three-phase AC power to drive the motor 300 . Also, during regeneration, the three-phase AC power is converted into DC power to charge the DC power supply 200 .

電流比演算部105は、電流検出部103より入力された電流検出値Iu_s、Iv_s、Iw_sに基づいて、以下の式(1)、式(2)、式(3)に示す電流比Gu、Gv、Gwを演算する。この演算は、2相の電流検出値の和を他の1相の電流検出値で除算して-1倍する演算である。 Based on the current detection values Iu_s, Iv_s, and Iw_s input from the current detection unit 103, the current ratio calculation unit 105 calculates the current ratios Gu and Gv shown in the following equations (1), (2), and (3). , Gw. This calculation is a calculation of dividing the sum of the current detection values of the two phases by the current detection value of the other phase and multiplying the result by -1.

Figure 2022185373000002
式(1)では、V相とW相の電流検出値Iv_s、Iw_sの和をU相の電流検出値Iu_sで除算して-1倍したものを電流比Guとする。以下、U相を基準とする電流比Guと称する。
Figure 2022185373000002
In equation (1), the current ratio Gu is obtained by dividing the sum of the V-phase and W-phase current detection values Iv_s and Iw_s by the U-phase current detection value Iu_s and multiplying the result by -1. Hereinafter, it will be referred to as a current ratio Gu based on the U phase.

Figure 2022185373000003
式(2)では、U相とW相の電流検出値Iu_s、Iw_sの和をV相の電流検出値Iv_sで除算して-1倍したものを電流比Gvとする。以下、V相を基準とする電流比Gvと称する。
Figure 2022185373000003
In equation (2), the current ratio Gv is obtained by dividing the sum of the U-phase and W-phase current detection values Iu_s and Iw_s by the V-phase current detection value Iv_s and multiplying the result by -1. Hereinafter, it will be referred to as a current ratio Gv based on the V phase.

Figure 2022185373000004
式(3)では、U相とV相の電流検出値Iu_s、Iv_sの和をW相の電流検出値Iw_sで除算して-1倍したものを電流比Gwとする。以下、W相を基準とする電流比Gwと称する。
Figure 2022185373000004
In equation (3), the current ratio Gw is obtained by dividing the sum of the U-phase and V-phase current detection values Iu_s and Iv_s by the W-phase current detection value Iw_s and multiplying the result by -1. Hereinafter, this is referred to as a current ratio Gw based on the W phase.

このように、電流比演算部105は、三相のモータ300を駆動中に、モータ300に出力されている三相交流電流のうち1相の電流検出値に対する他の2相の電流検出値の和の比率である電流比を演算する。そして、電流比演算部105は、演算した電流比Gu、Gv、Gwを電流値異常判定部106へ出力する。 In this way, the current ratio calculation unit 105 calculates the current detection value of one phase of the three-phase alternating current output to the motor 300 while the three-phase motor 300 is being driven. Calculate the current ratio, which is the ratio of the sums. Current ratio calculation section 105 then outputs the calculated current ratios Gu, Gv, and Gw to current value abnormality determination section 106 .

電流値異常判定部106は、電流比演算部105より電流比Gu、Gv、Gwが、角度演算部104より電気角θe_sが入力される。電流値異常判定部106は、電流比Gu、Gv、Gwを監視し、電気角θe_sが180度変化する期間内(電気角の一定角度範囲)で3つの電流比Gu、Gv、Gwが1で一定であるとみなせれば(所定範囲内であれば)、正常と判定する。また180度変化する期間内(電気角の一定角度範囲)で1つの電流比のみ一定値をとり、他の2つの電流比が一定値を取らない場合(所定範囲に含まれない場合)に、電流比が一定値となった相を異常相と判定する。すなわち、電流値異常判定部106は、電流比演算部105で演算された電流比が所定範囲内である場合に、三相交流電流の各電流検出値は正常であると判定し、電流比が所定範囲に含まれない場合に1相の電流検出値は異常であると判定する。判定した異常情報は、主制御部102へ出力する。 The current value abnormality determination unit 106 receives the current ratios Gu, Gv, and Gw from the current ratio calculation unit 105 and the electrical angle θe_s from the angle calculation unit 104 . The current value abnormality determination unit 106 monitors the current ratios Gu, Gv, and Gw, and determines that the three current ratios Gu, Gv, and Gw are 1 within a period in which the electrical angle θe_s changes by 180 degrees (a constant electrical angle range). If it can be regarded as constant (within a predetermined range), it is determined as normal. Also, when only one current ratio takes a constant value within a period of 180° change (a constant electrical angle range), and the other two current ratios do not take constant values (not included in the predetermined range), A phase with a constant current ratio is determined to be an abnormal phase. That is, when the current ratio calculated by the current ratio calculation unit 105 is within a predetermined range, the current value abnormality determination unit 106 determines that each current detection value of the three-phase alternating current is normal, and the current ratio is If it is not within the predetermined range, it is determined that the current detection value of one phase is abnormal. The determined abnormality information is output to the main control unit 102 .

主制御部102は、故障情報が入力された場合には、入力された故障情報に対応した制御を行う。そして、どの相の電流検出値が異常であるかなどを示す故障情報を外部の電子制御装置へ出力する。故障情報が入力された場合に、主制御部102は、電流検出値Iu_s、Iv_s、Iw_sが異常状態であるにもかかわらずモータ300の制御を継続するとモータ300を正確に制御できない可能性がある。このため、主制御部102は、電力変換回路101の動作を停止する。例えば、主制御部102は、電流値異常判定部106で電流検出値Iu_s、Iv_s、Iw_sが異常であると判定された場合に、電力変換回路101の全てのスイッチング素子をオフにする、もしくは、上アームまたは下アームのスイッチング素子を全てオンにする駆動信号を出力する。例えば、上アームまたは下アームのスイッチング素子を全てオンにすることによって、モータ300の巻線を短絡し、電力変換回路101の機能が停止しているにもかかわらず、モータ300が外力によって回された場合に、モータ300の誘起電圧によって平滑コンデンサが充電されないようにする。 When failure information is input, the main control unit 102 performs control corresponding to the input failure information. Then, failure information indicating which phase's current detection value is abnormal is output to an external electronic control device. When failure information is input, the main control unit 102 may not be able to accurately control the motor 300 if it continues to control the motor 300 even though the current detection values Iu_s, Iv_s, and Iw_s are in an abnormal state. . Therefore, the main control unit 102 stops the operation of the power conversion circuit 101 . For example, when the current value abnormality determination unit 106 determines that the current detection values Iu_s, Iv_s, and Iw_s are abnormal, the main control unit 102 turns off all the switching elements of the power conversion circuit 101, or A drive signal is output to turn on all the switching elements of the upper arm or lower arm. For example, by turning on all the switching elements of the upper arm or the lower arm, the windings of the motor 300 are short-circuited, and the motor 300 is rotated by an external force even though the function of the power conversion circuit 101 is stopped. In this case, the smoothing capacitor is prevented from being charged by the induced voltage of the motor 300. - 特許庁

図2は、電力変換回路101の回路構成図である。
電力変換回路101は、UVW相の上下アーム直列回路を有する。U相上下アーム直列回路は、U相上アームスイッチング素子Tuu及びU相上アームダイオードDuuと、U相下アームスイッチング素子Tul及びU相下アームダイオードDulとよりなる。V相上下アーム直列回路は、V相上アームスイッチング素子Tvu及びV相上アームダイオードDvuと、V相下アームスイッチング素子Tvl及びV相下アームダイオードDvlとよりなる。W相上下アーム直列回路は、W相上アームスイッチング素子Twu及びW相上アームダイオードDwuと、W相下アームスイッチング素子Twl及びW相下アームダイオードDwlとよりなる。
FIG. 2 is a circuit configuration diagram of the power conversion circuit 101. As shown in FIG.
The power conversion circuit 101 has a UVW-phase upper and lower arm series circuit. The U-phase upper and lower arm series circuit consists of a U-phase upper arm switching element Tuu, a U-phase upper arm diode Duu, a U-phase lower arm switching element Tul and a U-phase lower arm diode Dul. The V-phase upper and lower arm series circuit includes a V-phase upper arm switching element Tvu and a V-phase upper arm diode Dvu, and a V-phase lower arm switching element Tvl and a V-phase lower arm diode Dvl. The W-phase upper and lower arm series circuit includes a W-phase upper arm switching element Twu and a W-phase upper arm diode Dwu, and a W-phase lower arm switching element Twl and a W-phase lower arm diode Dwl.

上アームは、U相上アームスイッチング素子Tuu及びU相上アームダイオードDuuと、V相上アームスイッチング素子Tvu及びV相上アームダイオードDvuと、W相上アームスイッチング素子Twu及びW相上アームダイオードDwuとを有する。下アームは、U相下アームスイッチング素子Tul及びU相下アームダイオードDulと、V相下アームスイッチング素子Tvl及びV相下アームダイオードDvlと、W相下アームスイッチング素子Twl及びW相下アームダイオードDwlとを有する。これらのスイッチング素子を以下ではスイッチング素子121と称する。スイッチング素子121は、MOSFET(Metal Oxide Semiconductor Field Effect Transistor)の例を示したが、IGBT(Insulated Gate Bipolar Transistor)やその他の素子であってもよい。 The upper arm includes a U-phase upper arm switching element Tuu and a U-phase upper arm diode Duu, a V-phase upper arm switching element Tvu and a V-phase upper arm diode Dvu, a W-phase upper arm switching element Twu and a W-phase upper arm diode Dwu. and The lower arm includes a U-phase lower arm switching element Tul and a U-phase lower arm diode Dul, a V-phase lower arm switching element Tvl and a V-phase lower arm diode Dvl, a W-phase lower arm switching element Twl and a W-phase lower arm diode Dwl. and These switching elements are hereinafter referred to as switching elements 121 . The switching element 121 has shown an example of a MOSFET (Metal Oxide Semiconductor Field Effect Transistor), but may be an IGBT (Insulated Gate Bipolar Transistor) or another element.

電力変換回路101には、直流電源200より、バスバーの正極B+および負極B-を介して、直流電力が供給される。なお、バスバーの正極B+および負極B-の間には図示省略した平滑コンデンサが接続されている。上アームのスイッチング素子121のゲート電極には、主制御部102より駆動信号102Uが入力される。下アームのスイッチング素子121のゲート電極には、主制御部102より駆動信号102Lが入力される。UVW相の上下アーム直列回路の各上下アーム接続点から交流配線が導出され、モータ300の巻線へ接続される。主制御部102は、電流値異常判定部106で電流検出値Iu_s、Iv_s、Iw_sが異常であると判定された場合に、電力変換回路101の全てのスイッチング素子121をオフにする、もしくは、上アームまたは下アームのスイッチング素子121を全てオンにする駆動信号を出力する。 The power conversion circuit 101 is supplied with DC power from a DC power supply 200 via positive electrodes B+ and negative electrodes B− of the busbar. A smoothing capacitor (not shown) is connected between the positive electrode B+ and the negative electrode B- of the bus bar. A drive signal 102U is input from the main controller 102 to the gate electrode of the switching element 121 of the upper arm. A drive signal 102L is input from the main controller 102 to the gate electrode of the switching element 121 of the lower arm. AC wiring is derived from each upper and lower arm connection point of the UVW phase upper and lower arm series circuit, and is connected to the winding of the motor 300 . When the current value abnormality determination unit 106 determines that the current detection values Iu_s, Iv_s, and Iw_s are abnormal, the main control unit 102 turns off all the switching elements 121 of the power conversion circuit 101 or turns off all the switching elements 121 . A drive signal is output to turn on all the switching elements 121 of the arm or lower arm.

図3(A)、図3(B)は、電流検出値Iu_s、Iv_s、Iw_sおよび電流比Gu、Gv、Gwの関係を示すグラフである。図3(A)は、電流検出値Iu_s、Iv_s、Iw_sを、図3(B)は、電流比Gu、Gv、Gwを示す。横軸はいずれも電気角である。電気角0度~360度までは、電流検出値Iu_s、Iv_s、Iw_sは正常であり、電気角360度以降はU相の電流検出値Iu_sの振幅が過大になる異常が生じた場合を例に説明する。 FIGS. 3(A) and 3(B) are graphs showing the relationship between current detection values Iu_s, Iv_s, Iw_s and current ratios Gu, Gv, Gw. FIG. 3A shows current detection values Iu_s, Iv_s, and Iw_s, and FIG. 3B shows current ratios Gu, Gv, and Gw. Both horizontal axes are electrical angles. The current detection values Iu_s, Iv_s, and Iw_s are normal from an electrical angle of 0 to 360 degrees, and the amplitude of the U-phase current detection value Iu_s is excessive after an electrical angle of 360 degrees. explain.

図3(A)に示すように、電気角0度~360度までは、点の間隔が小の点線で示すU相の電流検出値Iu_s、点の間隔が中の点線で示すV相の電流検出値Iv_s、点の間隔が大の点線で示すW相の電流検出値Iw_sは、各振幅は同じであり、電気角は互に120度分ずれている。 As shown in FIG. 3A, from 0 degrees to 360 degrees in electrical angle, the U-phase current detection value Iu_s indicated by the dotted line with small intervals between dots, and the V-phase current detected by the dotted line with medium intervals The detected value Iv_s and the W-phase current detected value Iw_s indicated by the dotted line with large intervals between the points have the same amplitude and the electrical angles are shifted by 120 degrees from each other.

図3(B)に示すように、電気角0度~360度までは、点の間隔が小の点線で示すU相を基準とする電流比Gu、点の間隔が中の点線で示すV相を基準とする電流比Gv、点の間隔が大の点線で示すW相を基準とする電流比Gwは、全て1である。換言すれば、電流検出値Iu_s、Iv_s、Iw_sは正常であれば、式(1)(2)(3)に基づく電流比Gu、Gv、Gwは全て1になる。すなわち、電流検出値Iu_s、Iv_s、Iw_sが正常であれば、2相の電流検出値の和を-1倍した電流値と他の1相の電流検出値は同相かつ同振幅である。そのため電流比Gu、Gv、Gwの演算結果は全て1となる。 As shown in FIG. 3B, from 0 degrees to 360 degrees in electrical angle, the current ratio Gu based on the U phase indicated by the dotted line with small dot spacing, and the V phase indicated by the dotted line with medium spacing , and the current ratio Gw based on the W-phase indicated by the dotted line with a large distance between the dots are all 1. In other words, if the current detection values Iu_s, Iv_s, and Iw_s are normal, the current ratios Gu, Gv, and Gw based on Equations (1), (2), and (3) are all 1. That is, if the current detection values Iu_s, Iv_s, and Iw_s are normal, the current value obtained by multiplying the sum of the two-phase current detection values by -1 and the other one-phase current detection value have the same phase and amplitude. Therefore, the calculation results of the current ratios Gu, Gv, and Gw are all 1.

図3(A)に示すように、電気角360度でU相の電流検出値Iu_sの振幅が過大になったとする。式(1)(2)(3)に基づく電流比Gu、Gv、Gwは、図3(B)に示すように、電流比Guのみが1以外の値で一定値になり、電流比Gv、Gwは大きく変動している。 Assume that the amplitude of the U-phase current detection value Iu_s becomes excessive at an electrical angle of 360 degrees, as shown in FIG. The current ratios Gu, Gv, and Gw based on the formulas (1), (2), and (3) are, as shown in FIG. Gw fluctuates greatly.

このことから電流比Gu、Gv、Gwの演算結果が全て1であれば電流検出値Iu_s、Iv_s、Iw_sは正常であり、電流比Gu、Gv、Gwのうち1相のみが1以外で一定値であれば、1以外であるその相の電流検出値Iu_s、Iv_s、Iw_sが異常であると特定できる。換言すれば、電流比Gu、Gv、Gwが所定範囲内である場合に、三相交流電流の各電流検出値Iu_s、Iv_s、Iw_sは正常であると判定し、電流比Gu、Gv、Gwが所定範囲に含まれない場合に他の1相の電流検出値は異常であると判定できる。1相の異常時は正常相の電流比が電気角180度毎に同じ特性を繰り返すので、電気角の一定角度範囲、例えば、電気角が180度変化する期間に電流比が一定値を超えたか否かで異常を判定する。なお、電流検出値Iu_s、Iv_s、Iw_sが異常である場合は、電流検出部103内の電流センサ、もしくは電流センサから出力されるアナログ情報をA/D変換するA/D変換回路の故障が考えられる。 From this, if the calculation results of the current ratios Gu, Gv, and Gw are all 1, the current detection values Iu_s, Iv_s, and Iw_s are normal, and only one of the current ratios Gu, Gv, and Gw is a constant value other than 1. If so, it can be identified that the current detection values Iu_s, Iv_s, and Iw_s of the phase other than 1 are abnormal. In other words, when the current ratios Gu, Gv, and Gw are within a predetermined range, it is determined that the current detection values Iu_s, Iv_s, and Iw_s of the three-phase alternating current are normal, and the current ratios Gu, Gv, and Gw are determined to be normal. If it is not within the predetermined range, it can be determined that the current detection value of the other one phase is abnormal. When one phase is abnormal, the current ratio of the normal phase repeats the same characteristics every 180 degrees of electrical angle. Abnormality is determined by whether or not. If the current detection values Iu_s, Iv_s, and Iw_s are abnormal, the current sensor in the current detection unit 103 or the A/D conversion circuit that A/D converts the analog information output from the current sensor may be malfunctioning. be done.

図4は、電流比演算部105の処理を示すフローチャートである。電流比演算部105は、モータ300の駆動中に図4に示すフローチャートの処理を実行する。
ステップS401で、電流比演算部105は、電流検出部103でサンプリングされた電流検出値Iu_s、Iv_s、Iw_sを受信したかを判定する。受信していなければ、受信するまでステップS401の処理を繰り返す。受信すると次のステップS402へ進む。
FIG. 4 is a flowchart showing the processing of the current ratio calculator 105. As shown in FIG. The current ratio calculator 105 executes the process of the flowchart shown in FIG. 4 while the motor 300 is being driven.
In step S401, the current ratio calculator 105 determines whether the current detection values Iu_s, Iv_s, and Iw_s sampled by the current detector 103 have been received. If not received, the process of step S401 is repeated until it is received. When received, the process proceeds to the next step S402.

ステップS402で、電流比演算部105は、既に述べた式(1)、式(2)、式(3)により、電流検出値Iu_s、Iv_s、Iw_sの電流比Gu、Gv、Gwをそれぞれ演算する。
そして、ステップS403で、演算した電流比Gu、Gv、Gwを電流値異常判定部106へ出力する。処理終了後、図4に示す処理を繰り返す。
In step S402, the current ratio calculation unit 105 calculates the current ratios Gu, Gv, and Gw of the current detection values Iu_s, Iv_s, and Iw_s by the formulas (1), (2), and (3) described above, respectively. .
Then, in step S<b>403 , the calculated current ratios Gu, Gv, and Gw are output to current value abnormality determination section 106 . After the processing ends, the processing shown in FIG. 4 is repeated.

電流検出部103の電流検出値Iu_s、Iv_s、Iw_sのサンプリング回数は、角度演算部104の電気角θe_sで電気角が180度変化する期間に複数のサンプリングが行われる。これは、例えば、図3(A)、図3(B)に示すように、電流比Guのみが1以外の値で一定値になり、電流比Gv、Gwは大きく変動していることを検知するためである。 The current detection values Iu_s, Iv_s, and Iw_s of the current detection unit 103 are sampled a plurality of times while the electrical angle θe_s of the angle calculation unit 104 changes by 180 degrees. This is because, for example, as shown in FIGS. 3A and 3B, only the current ratio Gu becomes a constant value other than 1, and the current ratios Gv and Gw fluctuate greatly. It is for

図5は、電流値異常判定部106の処理を示すフローチャートである。電流値異常判定部106は、モータ300の駆動中に図5に示すフローチャートを実行する。
ステップS501で、電流値異常判定部106は、値の初期化を行う。すなわち、基準となる電気角θ0をθe_sに定義し、異常カウンタk、ku、kv、kwを0にする。
FIG. 5 is a flowchart showing the processing of the current value abnormality determination unit 106. As shown in FIG. Current value abnormality determination unit 106 executes the flowchart shown in FIG. 5 while motor 300 is being driven.
In step S501, the current value abnormality determination unit 106 initializes values. That is, the reference electrical angle θ0 is defined as θe_s, and the abnormality counters k, ku, kv, and kw are set to zero.

ステップS502で、電流値異常判定部106は、現在の電気角θe_sをθnに保存する。そして、ステップS503で、電流値異常判定部106は、角度演算部104からの電気角θ0と電気角θnとの差を取り電気角の差が180度以上であるかを判定する。180度未満であれば、ステップS504へ進む。なお、ステップS503で、電流値異常判定部106は、角度演算部104から電気角を取得して電気角の差が180度以上であるかを判定しているが、これに替えて、主制御部102から電気角の差が180度以上になったことを示す指令に基づいて判定してもよい。 In step S502, the current value abnormality determination unit 106 stores the current electrical angle θe_s in θn. Then, in step S503, the current value abnormality determination unit 106 obtains the difference between the electrical angle θ0 and the electrical angle θn from the angle calculation unit 104, and determines whether the electrical angle difference is 180 degrees or more. If less than 180 degrees, the process proceeds to step S504. In step S503, the current value abnormality determination unit 106 acquires the electrical angle from the angle calculation unit 104 and determines whether the electrical angle difference is 180 degrees or more. The determination may be made based on a command from the unit 102 indicating that the electrical angle difference is 180 degrees or more.

ステップS504で、電流値異常判定部106は、電気角θnにおける電流比Gu_n、Gv_n、Gw_nが1であるかどうかを判定する。具体的には、次式(4)~(6)の条件を満たすかを判定する。ここで、εは電流比の演算時の誤差を考慮した値である。 In step S504, the current value abnormality determination unit 106 determines whether or not the current ratios Gu_n, Gv_n, and Gw_n at the electrical angle θn are 1. Specifically, it is determined whether the conditions of the following expressions (4) to (6) are satisfied. Here, .epsilon. is a value considering an error in calculating the current ratio.

Figure 2022185373000005
Figure 2022185373000005
Figure 2022185373000006
Figure 2022185373000006
Figure 2022185373000007
Figure 2022185373000007

式(4)~(6)の条件を満たさない場合は、ステップS505へ進み、異常カウンタkに1を加算する。式(4)~(6)の条件を満たす場合は、ステップS506へ進む。
ステップS506では、電流値異常判定部106は、次式(7)により、U相を基準とする電流比Guの前回値との差分が一定の誤差ΔG以内であるかを判定する。
If the conditions of formulas (4) to (6) are not satisfied, the process proceeds to step S505, and 1 is added to the abnormality counter k. If the conditions of formulas (4) to (6) are satisfied, the process proceeds to step S506.
In step S506, the current value abnormality determination unit 106 determines whether the difference from the previous value of the current ratio Gu based on the U phase is within a certain error ΔG, using the following equation (7).

Figure 2022185373000008
Figure 2022185373000008

差分が誤差ΔGより大きい場合は、ステップS507でU相の異常カウンタkuに1を加算する。
その後、ステップS508に進み、電流値異常判定部106は、次式(8)により、V相を基準とする電流比Gvの前回値との差分が一定の誤差ΔG以内であるかを判定する。
If the difference is greater than the error ΔG, 1 is added to the U-phase abnormality counter ku in step S507.
After that, the process proceeds to step S508, and the current value abnormality determination unit 106 determines whether the difference from the previous value of the current ratio Gv based on the V phase is within a certain error ΔG, using the following equation (8).

Figure 2022185373000009
Figure 2022185373000009

差分が誤差ΔGより大きい場合は、ステップS509でV相の異常カウンタkvに1を加算する。
その後、ステップS510に進み、電流値異常判定部106は、次式(9)により、W相を基準とする電流比Gwの前回値との差分が一定の誤差ΔG以内であるかを判定する。
If the difference is greater than the error ΔG, 1 is added to the V-phase abnormality counter kv in step S509.
After that, proceeding to step S510, the current value abnormality determination unit 106 determines whether the difference from the previous value of the current ratio Gw based on the W phase is within a certain error ΔG, using the following equation (9).

Figure 2022185373000010
Figure 2022185373000010

差分が誤差ΔGより大きい場合は、ステップS511でW相の異常カウンタkwに1を加算する。
なお、ステップS506、S508、S510の処理の順序は説明した順に限らず、順序を変えてもよい。
If the difference is greater than the error ΔG, 1 is added to the W-phase abnormality counter kw in step S511.
Note that the order of steps S506, S508, and S510 is not limited to the order described, and the order may be changed.

その後、ステップS502へ戻り、次の電気角θe_sについて、ステップS503~S511の処理を行う。
そして、ステップS503で、電気角θ0と電気角θnとの電気角の差が180度以上であると判定されると、ステップS512へ進む。
After that, the process returns to step S502, and the processing of steps S503 to S511 is performed for the next electrical angle θe_s.
If it is determined in step S503 that the electrical angle difference between the electrical angles .theta.0 and .theta.n is 180 degrees or more, the process proceeds to step S512.

ステップS512で、電流値異常判定部106は、電気角が180度変化する期間に3つの電流比Gu、Gv、Gwが1であるとみなせなかった回数kが許容回数k’以下であるかを判定する。許容回数k’以下であれば、ステップS513へ進み、正常であると判定し、異常情報Fを0にする。許容回数k’以下でなければ、ステップS514へ進む。 In step S512, the current value abnormality determination unit 106 determines whether the number k of times the three current ratios Gu, Gv, and Gw cannot be considered to be 1 during the period in which the electrical angle changes by 180 degrees is equal to or less than the allowable number of times k′. judge. If it is equal to or less than the permissible number of times k', the process advances to step S513, it is determined to be normal, and the abnormality information F is set to zero. If it is not equal to or less than the allowable number of times k', the process proceeds to step S514.

ステップS514で、電流値異常判定部106は、U相の異常カウンタkuの値のみ許容回数k’以下で、他の異常カウンタは許容回数より大きい場合、異常カウンタkuが許容回数以下であるU相の電流検出値Iu_sが異常であると判定する。そして、次のステップS515で、U相の電流検出値Iu_sが異常であることを示す異常情報Fを1にする。ステップS514の条件を満たさない場合は、ステップS516へ進む。 In step S514, if only the value of the U-phase abnormality counter ku is equal to or less than the allowable number of times k' and the other abnormality counters are greater than the allowable number of times, the current value abnormality determination unit 106 is determined to be abnormal. Then, in the next step S515, the abnormality information F indicating that the U-phase current detection value Iu_s is abnormal is set to 1. If the condition of step S514 is not satisfied, the process proceeds to step S516.

ステップS516で、電流値異常判定部106は、V相の異常カウンタkvの値のみ許容回数k’以下で、他の異常カウンタは許容回数より大きい場合、異常カウンタkvが許容回数以下であるV相の電流検出値Iv_sが異常であると判定する。そして、次のステップS517で、V相の電流検出値Iv_sが異常であることを示す異常情報Fを2にする。ステップS516の条件を満たさない場合は、ステップS518へ進む。 In step S516, if only the value of the V-phase abnormality counter kv is equal to or less than the allowable number of times k' and the other abnormality counters are larger than the allowable number of times, the current value abnormality determination unit 106 is determined to be abnormal. Then, in the next step S517, the abnormality information F indicating that the V-phase current detection value Iv_s is abnormal is set to 2. If the condition of step S516 is not satisfied, the process proceeds to step S518.

ステップS518で、電流値異常判定部106は、W相の異常カウンタkwの値のみ許容回数k’以下で、他の異常カウンタは許容回数より大きい場合、異常カウンタkwが許容回数以下であるW相の電流検出値Iw_sが異常であると判定する。そして、次のステップS519で、W相の電流検出値Iw_sが異常であることを示す異常情報Fを3にする。ステップS518の条件を満たさない場合は、ステップS520へ進む。 In step S518, if only the value of the W-phase abnormality counter kw is equal to or less than the allowable number of times k′ and the other abnormality counters are greater than the allowable number of times, the current value abnormality determination unit 106 is determined to be abnormal. Then, in the next step S519, the abnormality information F indicating that the W-phase current detection value Iw_s is abnormal is set to 3. If the condition of step S518 is not satisfied, the process proceeds to step S520.

ステップS520で、電流値異常判定部106は、各相の電流検出値Iu_s、Iv_s、Iw_sのいずれか1相のみの異常以外の異常と判定し、このことを示す異常情報Fを4にする。1相のみの異常以外の異常は、例えば、2相、3相、その他の異常である。 In step S520, the current value abnormality determination unit 106 determines that there is an abnormality other than an abnormality in only one of the current detection values Iu_s, Iv_s, and Iw_s of each phase, and sets the abnormality information F indicating this to 4. Abnormalities other than a one-phase-only abnormality are, for example, two-phase, three-phase, and other abnormalities.

ステップS513、S515、S517、S519、S520の処理後は、ステップS521へ進む。ステップS521で、電流値異常判定部106は、異常情報Fを主制御部102へ出力する。 After the processing of steps S513, S515, S517, S519, and S520, the process proceeds to step S521. In step S<b>521 , current value abnormality determination section 106 outputs abnormality information F to main control section 102 .

異常情報Fを受けた主制御部102は、既に述べたように、電流値異常判定部106で電流検出値Iu_s、Iv_s、Iw_sが異常であると判定された場合に、すなわち、F=1、F=2、F=3、F=4の場合に、電力変換回路101の全てのスイッチング素子121をオフにする、もしくは、上アームまたは下アームのスイッチング素子121を全てオンにする駆動信号を出力する。そして、F=1の場合には、U相の電流検出値が、F=2の場合には、V相の電流検出値が、F=3の場合には、W相の電流検出値が異常であることを示す故障情報を外部の電子制御装置へ出力する。F=4の場合には、2つ以上の相の電流検出値が異常であるなど電流検出部103に異常があることを示す故障情報を外部の電子制御装置へ出力する。F=0の場合には、正常であるので故障情報は外部の電子制御装置へ出力しない、もしくは正常であることを示す情報を出力する。なお、外部の電子制御装置へ出力された故障情報に基づいて図示省略した報知部を設けて報知することにより、各相の電流検出値の異常を把握することができる。 The main control unit 102 that has received the abnormality information F, as described above, when the current value abnormality determination unit 106 determines that the current detection values Iu_s, Iv_s, and Iw_s are abnormal, that is, F=1, When F=2, F=3, and F=4, output a drive signal to turn off all the switching elements 121 of the power conversion circuit 101 or to turn on all the switching elements 121 of the upper arm or the lower arm. do. When F=1, the U-phase current detection value is abnormal. When F=2, the V-phase current detection value is abnormal. When F=3, the W-phase current detection value is abnormal. It outputs failure information indicating that it is to an external electronic control unit. In the case of F=4, failure information indicating that there is an abnormality in the current detection unit 103, such as an abnormality in current detection values of two or more phases, is output to an external electronic control device. In the case of F=0, since it is normal, failure information is not output to the external electronic control unit, or information indicating normality is output. An anomaly in the current detection value of each phase can be grasped by providing a notification unit (not shown) to notify based on the failure information output to the external electronic control unit.

なお、1相の電流検出値の振幅が過大になる異常が生じた場合を例に説明したが、1相の電流検出値の振幅が過小になる異常が生じた場合も同様の処理により検出することができる。 Although the case where the amplitude of the current detection value of one phase becomes excessive has been described as an example, the same processing is used to detect an abnormality where the amplitude of the current detection value of one phase becomes too small. be able to.

本実施形態によれば、モータ300の駆動中に1相の電流検出値が異常であることを精度よく検出することができる。一般に、モータ300を搭載した車両では、通常の走行状態におけるモータ300の駆動中には、電流検出値が異常であることを精度よく検出することができなかったが、本実施形態ではこれが可能になる。 According to this embodiment, it is possible to accurately detect that the current detection value of one phase is abnormal while the motor 300 is being driven. In general, in a vehicle equipped with the motor 300, it was not possible to accurately detect that the current detection value was abnormal while the motor 300 was being driven in a normal running state, but in the present embodiment, this is possible. Become.

[第2の実施形態]
図6は、第2の実施形態にかかるモータ制御装置100’の回路構成図である。
本実施形態におけるモータ制御装置100’は、電流補正部107を設けた点が、第1の実施形態で示したモータ制御装置100と異なる。第1の実施形態で示したモータ制御装置100と同一箇所には同一の符号を付してその説明を省略する。
[Second embodiment]
FIG. 6 is a circuit configuration diagram of a motor control device 100' according to the second embodiment.
A motor control device 100' according to the present embodiment differs from the motor control device 100 shown in the first embodiment in that a current correction unit 107 is provided. The same parts as those of the motor control device 100 shown in the first embodiment are denoted by the same reference numerals, and descriptions thereof are omitted.

電流補正部107は、電流検出部103より電流検出値Iu_s、Iv_s、Iw_sが入力される。さらに、電流比演算部105より電流比Gu、Gv、Gwが入力される。そして、電流値異常判定部106からの異常情報により、異常である電流検出値を補正して、補正した電流検出値I’u_s、I’v_s、I’w_sを主制御部102に出力する。電流検出値の補正は電流比Gu、Gv、Gwを一定期間保持し、その平均値を演算することにより行う。 The current correction unit 107 receives the current detection values Iu_s, Iv_s, and Iw_s from the current detection unit 103 . Furthermore, current ratios Gu, Gv, and Gw are input from the current ratio calculator 105 . Then, based on the abnormality information from the current value abnormality determination unit 106 , the abnormal current detection values are corrected, and the corrected current detection values I′u_s, I′v_s, and I′w_s are output to the main control unit 102 . The current detection values are corrected by holding the current ratios Gu, Gv, and Gw for a certain period of time and calculating the average value.

主制御部102は、電流値異常判定部106より出力される異常情報がF=1、F=2、F=3の場合に、電流補正部107で補正された電流検出値I’u_s、I’v_s、I’w_sを用いて電力変換回路101を制御する。異常情報がF=4の場合には、第1の実施形態と同様に、電力変換回路101の全てのスイッチング素子121をオフにする、もしくは、上アームまたは下アームのスイッチング素子121を全てオンにする駆動信号を出力する。 Main control unit 102 corrects detected current values I′u_s, I 'v_s and I'w_s are used to control the power conversion circuit 101 . When the abnormality information is F=4, all the switching elements 121 of the power conversion circuit 101 are turned off, or all the switching elements 121 of the upper arm or the lower arm are turned on, as in the first embodiment. output a drive signal to

図7は、電流補正部107の処理を示すフローチャートである。
ステップS702で、電流補正部107は、入力された電流比Gu、Gv、Gwを今回の電流比Gu_m、Gv_m、Gw_mとして保存する。次に、ステップS703で、最大サンプル数Nを超えた過去の電流比を廃棄する。そして、次のステップS704で、保存した各相のN個の電流比から、電流比の平均値を求める。U相を基準とする電流比の平均値G’uは次式(10)より、V相を基準とする電流比の平均値G’vは次式(11)より、W相を基準とする電流比の平均値G’wは次式(12)より演算する。
FIG. 7 is a flowchart showing processing of the current correction unit 107. As shown in FIG.
In step S702, the current correction unit 107 stores the input current ratios Gu, Gv, and Gw as current ratios Gu_m, Gv_m, and Gw_m. Next, in step S703, past current ratios exceeding the maximum number N of samples are discarded. Then, in the next step S704, the average value of the current ratios is obtained from the saved N current ratios of each phase. The average value G'u of the current ratio with the U phase as the reference is obtained from the following equation (10), and the average value G'v of the current ratio with the V phase as the reference is obtained from the following equation (11) with the W phase as the reference. The average value G'w of the current ratio is calculated from the following equation (12).

Figure 2022185373000011
Figure 2022185373000011
Figure 2022185373000012
Figure 2022185373000012
Figure 2022185373000013
Figure 2022185373000013

ステップS704の処理後は、ステップS705へ進む。ステップS705で、電流補正部107は、電流値異常判定部106からの異常情報を判定する。すなわち、F=0の条件を満たすかを判定する。この条件を満たした場合、すなわち電流検出値が正常な場合は、ステップS706へ進む。ステップS706で、電流補正部107は、電流検出部103より入力された電流検出値Iu_s、Iv_s、Iw_sを補正することなく、そのまま電流検出値I’u_s、I’v_s、I’w_sとする。 After the process of step S704, the process proceeds to step S705. In step S<b>705 , the current correction unit 107 determines abnormality information from the current value abnormality determination unit 106 . That is, it is determined whether the condition of F=0 is satisfied. If this condition is satisfied, that is, if the current detection value is normal, the process proceeds to step S706. In step S706, the current correction unit 107 uses the current detection values Iu_s, Iv_s, and Iw_s input from the current detection unit 103 as the current detection values I'u_s, I'v_s, and I'w_s without correcting them.

ステップS705で、F=0の条件を満たさないと判定された場合はステップS707へ進む。ステップS707で、電流補正部107は、F=1であるかを判定する。F=1であると判定された場合はステップS708へ進む。 If it is determined in step S705 that the condition of F=0 is not satisfied, the process proceeds to step S707. In step S707, the current correction unit 107 determines whether F=1. If it is determined that F=1, the process proceeds to step S708.

ステップS708で、電流補正部107は、U相を基準とする電流比の平均値G’uにU相の電流検出値Iu_sを乗算し、U相の補正された電流検出値I’u_sとする。他の相は、電流検出値Iv_s、Iw_sを補正することなく、電流検出値I’v_s、I’w_sとする。ステップS707で、F=1であると判定されなかった場合はステップS709へ進む。 In step S708, the current correction unit 107 multiplies the average value G′u of the current ratio with respect to the U phase by the U-phase current detection value Iu_s, and obtains the U-phase corrected current detection value I′u_s. . For the other phases, the current detection values Iv_s and Iw_s are set to the current detection values I'v_s and I'w_s without correction. If it is not determined in step S707 that F=1, the process proceeds to step S709.

ステップS709で、電流補正部107は、F=2であるかを判定する。F=2であると判定された場合はステップS710へ進む。 In step S709, the current correction unit 107 determines whether F=2. If it is determined that F=2, the process proceeds to step S710.

ステップS710で、電流補正部107は、V相を基準とする電流比の平均値G’vにV相の電流検出値Iv_sを乗算し、V相の補正された電流検出値I’v_sとする。他の相は、電流検出値Iu_s、Iw_sを補正することなく、電流検出値I’u_s、I’w_sとする。ステップS709で、F=2であると判定されなかった場合はステップS711へ進む。 In step S710, the current correction unit 107 multiplies the V-phase current detection value Iv_s by the average value G′v of the current ratio with respect to the V-phase as a corrected current detection value I′v_s of the V-phase. . For the other phases, the current detection values Iu_s and Iw_s are set to the current detection values I'u_s and I'w_s without correction. If it is not determined in step S709 that F=2, the process proceeds to step S711.

ステップS711で、電流補正部107は、F=3であるかを判定する。F=3であると判定された場合はステップS712へ進む。 In step S711, the current correction unit 107 determines whether F=3. If it is determined that F=3, the process proceeds to step S712.

ステップS712で、電流補正部107は、W相を基準とする電流比の平均値G’wにW相の電流検出値I w_sを乗算し、W相の補正された電流検出値I’w_sとする。他の相は、電流検出値Iu_s、Iv_sを補正することなく、電流検出値I’u_s、I’vsとする。ステップS711で、F=3であると判定されなかった場合はステップS713へ進む。 In step S712, the current correction unit 107 multiplies the W-phase current detection value Iw_s by the W-phase current detection value Iw_s by the W-phase current ratio average value G′w. do. For the other phases, the current detection values Iu_s and Iv_s are set to the current detection values I'u_s and I'vs without correction. If it is not determined in step S711 that F=3, the process proceeds to step S713.

ステップS713で、電流補正部107は、F≠0≠1≠2≠3となった補正できない異常であるので、電流検出部103より入力された電流検出値Iu_s、Iv_s、Iw_sを補正することなく、そのまま電流検出値I’u_s、I’v_s、I’w_sとする。 In step S713, the current correction unit 107 corrects the current detection values Iu_s, Iv_s, and Iw_s input from the current detection unit 103 because the abnormality is F≠0≠1≠2≠3 and cannot be corrected. , are used as they are as current detection values I'u_s, I'v_s, and I'w_s.

そして、ステップS706、S708、S710、S712、S713の後は、ステップS714へ進み、電流補正部107は、電流検出値I’u_s、I’v_s、I’w_sを主制御部102へ出力する。 After steps S<b>706 , S<b>708 , S<b>710 , S<b>712 , and S<b>713 , the process proceeds to step S<b>714 , and current correction unit 107 outputs current detection values I′u_s, I′v_s, and I′w_s to main control unit 102 .

本実施形態によれば、モータ300の駆動中に1相の電流検出値が異常であることを精度よく検出でき、さらに、異常である1相の電流検出値をモータ300の駆動中に補正できるので、モータ300を搭載した車両では、車両の走行を継続することが可能になる。なお、本実施形態ではステップS704において、U相、V相、W相をそれぞれ基準とする電流比の平均値G’u、G’v、G’wを求めるようにしたが、ステップS704の処理を実施せずに、その後のステップS708、S710、S712において、上記の各平均値G’u、G’v、G’wのうち、それぞれの処理で使用する値のみを演算するようにしてもよい。 According to this embodiment, it is possible to accurately detect that the current detection value of one phase is abnormal while the motor 300 is being driven, and furthermore, it is possible to correct the current detection value of one phase that is abnormal while the motor 300 is being driven. Therefore, the vehicle equipped with the motor 300 can continue to run. In this embodiment, in step S704, the average values G'u, G'v, and G'w of the current ratios based on the U-phase, V-phase, and W-phase, respectively, are obtained. is not performed, and only the values used in the respective processing among the average values G'u, G'v, and G'w are calculated in subsequent steps S708, S710, and S712. good.

[第3の実施形態]
図8は、第3の実施形態にかかるモータ制御装置100”の回路構成図である。
本実施形態におけるモータ制御装置100”は、電流比演算部105の処理が第2の実施形態で示したモータ制御装置100’と異なる。第1の実施形態および第2の実施形態で示したモータ制御装置100、100’と同一箇所には同一の符号を付してその説明を省略する。
[Third embodiment]
FIG. 8 is a circuit configuration diagram of a motor control device 100'' according to the third embodiment.
A motor control device 100″ in this embodiment differs from the motor control device 100′ shown in the second embodiment in the processing of the current ratio calculation unit 105. The same parts as those of the control devices 100 and 100' are denoted by the same reference numerals, and the description thereof is omitted.

第1の実施形態および第2の実施形態では電流比演算部105の処理が電流検出部103のサンプリングのタイミングに同期している。このためサンプリングのタイミング間隔が短い場合に電流比演算部105の演算回数が多くなり負荷がかかる。そこで第3の実施形態では、モータ300の低速時は電流比演算部105の演算回数を減らす。 In the first and second embodiments, the processing of the current ratio calculator 105 is synchronized with the sampling timing of the current detector 103 . Therefore, when the sampling timing interval is short, the number of calculations of the current ratio calculation unit 105 increases and the load is increased. Therefore, in the third embodiment, when the motor 300 is running at a low speed, the number of calculations by the current ratio calculator 105 is reduced.

主制御部102は、角度演算部104より入力される電気角θe_sに基づいてモータ300の回転数Nmを演算する。電流比演算部105は、主制御部102からモータ300の回転数Nmを受け取り、一定の回転数N’m以上であれば電流検出部103のサンプリングのタイミングに同期して電流比を算出する。一方、モータ300の回転数Nmが一定の回転数N’mより低ければ、電気角θe_sを用いて0度~360度変化する時間T2πを計測し、180度当たりのサンプル数S(≧2)より演算タイミングTsを求める。電流比演算部105は、この演算タイミングTsに同期して電流比を演算して出力する。 Main control unit 102 calculates rotation speed Nm of motor 300 based on electrical angle θe_s input from angle calculation unit 104 . A current ratio calculation unit 105 receives the rotation speed Nm of the motor 300 from the main control unit 102, and calculates the current ratio in synchronization with the sampling timing of the current detection unit 103 if the rotation speed N'm is equal to or higher than a certain rotation speed. On the other hand, if the number of revolutions Nm of the motor 300 is lower than the constant number of revolutions N'm, the electrical angle θe_s is used to measure the time T2π that changes from 0 degrees to 360 degrees, and the number of samples S (≧2) per 180 degrees. Calculate the calculation timing Ts. The current ratio calculator 105 calculates and outputs the current ratio in synchronization with this calculation timing Ts.

図9は、本実施形態にかかる電流比演算部105の処理を示すフローチャートである。電流比演算部105は、モータ300の駆動中に図9に示すフローチャートを実行する。 FIG. 9 is a flowchart showing processing of the current ratio calculator 105 according to this embodiment. The current ratio calculator 105 executes the flowchart shown in FIG. 9 while the motor 300 is being driven.

ステップS901で、電流比演算部105は、電流検出部103でサンプリングされた電流検出値Iu_s、Iv_s、Iw_sを受信したかを判定する。受信していなければ、受信するまでステップS901の処理を繰り返す。受信すると次のステップS902へ進む。 In step S901, the current ratio calculation unit 105 determines whether the current detection values Iu_s, Iv_s, and Iw_s sampled by the current detection unit 103 have been received. If not received, the process of step S901 is repeated until it is received. If received, the process proceeds to the next step S902.

ステップS902で、電流比演算部105は、モータ300の回転数Nmが一定の回転数N’m以上であるかを判定する。回転数が高ければ、ステップS903で、電流比演算部105は、既に述べた式(1)、式(2)、式(3)により、電流検出値Iu_s、Iv_s、Iw_sの電流比Gu、Gv、Gwをそれぞれ演算する。そして、ステップS904で、演算した電流比Gu、Gv、Gwを電流値異常判定部106および電流補正部107へ出力する。処理終了後、図7に示す処理を繰り返す。 In step S<b>902 , the current ratio calculator 105 determines whether the rotation speed Nm of the motor 300 is equal to or higher than a certain rotation speed N′m. If the rotation speed is high, in step S903, the current ratio calculation unit 105 calculates the current ratios Gu, Gv , Gw respectively. Then, in step S 904 , the calculated current ratios Gu, Gv, and Gw are output to current value abnormality determination section 106 and current correction section 107 . After the processing ends, the processing shown in FIG. 7 is repeated.

ステップS902で、モータ300の回転数Nmが一定の回転数N’mより低いと判定された場合は、ステップS905へ進む。 If it is determined in step S902 that the rotation speed Nm of the motor 300 is lower than the constant rotation speed N'm, the process proceeds to step S905.

ステップS905で、電流比演算部105は、電気角θe_sを用いて0度から360度まで変化する時間T2πを計測する。そして、次のステップS906で、時間T2πを2Sで除算して演算タイミングTsを求める。S(≧2)は、電気角180度当たりのサンプル数である。次のステップS907でカウンタtsを初期化する。そして、次のステップS908で、カウンタtsをカウントアップする。ステップS909で、カウンタtsが演算タイミングTsを超えたか判定し、超えない場合はステップS908に戻り、超えた場合はステップS903以下の処理により電流比Gu、Gv、Gwを演算して電流値異常判定部106および電流補正部107へ出力する。電流値異常判定部106の処理は、図5を参照して説明した内容と同様である。 In step S905, the current ratio calculator 105 measures the time T2π that changes from 0 degrees to 360 degrees using the electrical angle θe_s. Then, in the next step S906, the calculation timing Ts is obtained by dividing the time T2π by 2S. S (≧2) is the number of samples per electrical angle of 180 degrees. A counter ts is initialized in the next step S907. Then, in the next step S908, the counter ts is counted up. In step S909, it is determined whether or not the counter ts exceeds the calculation timing Ts. If not, the process returns to step S908. Output to the section 106 and the current correction section 107 . The processing of the current value abnormality determination unit 106 is the same as the content described with reference to FIG.

図10は、本実施形態にかかる電流補正部107の処理を示すフローチャートである。
ステップS701で、電流補正部107は、電流比演算部105より入力された電流比Gu、Gv、Gwが前回の入力時の値から更新されているかを判定する。更新されている場合は、ステップS702へ進む。ステップS702以下の処理は、図7を参照して説明した内容と同様である。
FIG. 10 is a flowchart showing processing of the current correction unit 107 according to this embodiment.
In step S701, the current correction unit 107 determines whether the current ratios Gu, Gv, and Gw input from the current ratio calculation unit 105 have been updated from the previous input values. If it has been updated, the process proceeds to step S702. The processing after step S702 is the same as the content described with reference to FIG.

ステップS704の処理後、またはステップS701で、電流比Gu、Gv、Gwが前回の入力時の値から更新されていない場合は、ステップS705へ進む。なお、電流比Gu、Gv、Gwが更新されていない場合は、前回に演算した電流比の平均値に基づいて以下のステップに示すように電流検出値を補正する。
ステップS705以下の処理は、図7を参照して説明した内容と同様であるのでその説明を省略する。
After the process of step S704, or when the current ratios Gu, Gv, and Gw have not been updated from the values at the time of the previous input in step S701, the process proceeds to step S705. If the current ratios Gu, Gv, and Gw have not been updated, the current detection values are corrected as shown in the following steps based on the average value of the current ratios calculated last time.
Since the processing after step S705 is the same as the content explained with reference to FIG. 7, the explanation thereof is omitted.

本実施形態では、電流比演算部105において、モータ回転数Nmに応じて演算タイミングTsを求め、この演算タイミングTsに同期して電流比を演算して出力する例を説明した。その他の例として、電流検出部103における電流検出値Iu_s、Iv_s、Iw_sのサンプリングタイミングをモータ回転数Nmに応じて決定してもよい。すなわち、電流検出部103は、モータ300の回転数Nmを参照して、モータ300の回転数Nmが低い場合はサンプリングタイミングを疎にし、モータ300の回転数Nmが高い場合はサンプリングタイミングを密にする。この場合の電流比演算部105の処理は図4のフローチャートを参照して説明した処理を行う。すなわち、電流比演算部105はモータ回転数Nmに応じて図4に示すフローチャートの処理を実行するので、電流比演算部105の演算回数が多くなる負荷を軽減できる。 In the present embodiment, the current ratio calculator 105 obtains the calculation timing Ts according to the motor rotation speed Nm, and calculates and outputs the current ratio in synchronization with the calculation timing Ts. As another example, the sampling timings of the current detection values Iu_s, Iv_s, and Iw_s in the current detection unit 103 may be determined according to the motor rotation speed Nm. That is, the current detection unit 103 refers to the rotation speed Nm of the motor 300, and when the rotation speed Nm of the motor 300 is low, the sampling timing is sparse, and when the rotation speed Nm of the motor 300 is high, the sampling timing is dense. do. In this case, the current ratio calculator 105 performs the processing described with reference to the flowchart of FIG. That is, the current ratio calculation unit 105 executes the processing of the flowchart shown in FIG. 4 according to the motor rotation speed Nm, so that the load of the current ratio calculation unit 105 increasing the number of calculations can be reduced.

本実施形態によれば、モータ300の駆動中に1相の電流検出値が異常であることを精度よく検出でき、さらに、電流検出値が異常であることを検出するための演算負荷を軽減できる。 According to this embodiment, it is possible to accurately detect that the current detection value of one phase is abnormal while the motor 300 is being driven, and furthermore, it is possible to reduce the calculation load for detecting that the current detection value is abnormal. .

以上説明した各実施形態において、モータ制御装置100、100’100”の回路構成図は、理解し易くするために、主制御部102、角度演算部104、電流比演算部105、電流値異常判定部106、電流補正部107等の複数のブロックに分けて説明した。しかし、これらのブロックに分けは一例であり、複数のブロックの全て、あるいは一部の機能を記述したプログラムをプロセッサ(例えばCPU、GPU)により実行する構成にして実現してもよい。 In each of the embodiments described above, the circuit diagrams of the motor control devices 100, 100', 100'', 100', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', 100'', and 100'' The description has been given by dividing into a plurality of blocks such as the unit 106 and the current correction unit 107. However, the division into these blocks is an example, and a program describing the functions of all or a part of the plurality of blocks is executed by a processor (for example, a CPU , GPU).

以上説明した実施形態によれば、次の作用効果が得られる。
(1)電流検出装置は、三相モータ300を駆動中に、三相モータ300を駆動中に、三相モータ300に出力されている三相交流電流のうち1相の電流検出値に対する他の2相の電流検出値の和の比率である電流比を演算する電流比演算部105と、電流比演算部105で演算された電流比が所定範囲内である場合に、三相交流電流の各電流検出値は正常であると判定し、電流比が所定範囲に含まれない場合に1相の電流検出値は異常であると判定する電流値異常判定部106と、を備えた。これにより、モータの駆動中に1相の電流検出値が異常であることを精度よく検出することができる。
According to the embodiment described above, the following effects are obtained.
(1) The current detection device detects the current detection value of one of the three-phase alternating currents output to the three-phase motor 300 while the three-phase motor 300 is being driven. A current ratio calculation unit 105 that calculates a current ratio that is a ratio of the sum of two-phase current detection values, and if the current ratio calculated by the current ratio calculation unit 105 is within a predetermined range, and a current value abnormality determination unit 106 that determines that the detected current value is normal and determines that the detected current value of one phase is abnormal when the current ratio is not within a predetermined range. As a result, it is possible to accurately detect that the current detection value of one phase is abnormal during driving of the motor.

(2)モータ制御装置100、100’、100”は、三相モータ300に出力されている三相交流電流を検出する電流検出部103と、三相モータ300を駆動中に、三相交流電流のうち1相の電流検出値に対する他の2相の電流検出値の和の比率である電流比を演算する電流比演算部105と、電流比演算部105で演算された電流比が所定範囲内である場合に、電流検出部103で検出された三相交流電流の各電流検出値は正常であると判定し、電流比が所定範囲に含まれない場合に1相の電流検出値は異常であると判定する電流値異常判定部106と、を備えた。これにより、モータの駆動中に1相の電流検出値が異常であることを精度よく検出することができる。 (2) The motor control devices 100, 100′, and 100″ include a current detector 103 that detects the three-phase alternating current that is being output to the three-phase motor 300, and a three-phase alternating current that detects the three-phase alternating current while the three-phase motor 300 is being driven. A current ratio calculation unit 105 that calculates a current ratio, which is the ratio of the sum of the current detection values of the other two phases to the current detection value of one phase, and the current ratio calculated by the current ratio calculation unit 105 is within a predetermined range , it is determined that each current detection value of the three-phase alternating current detected by the current detection unit 103 is normal, and if the current ratio is not within the predetermined range, the current detection value of one phase is abnormal. and a current value abnormality determination unit 106 that determines that there is an abnormality, whereby it is possible to accurately detect that the current detection value of one phase is abnormal during driving of the motor.

本発明は、上述の実施形態に限定されるものではなく、本発明の特徴を損なわない限り、本発明の技術思想の範囲内で考えられるその他の形態についても、本発明の範囲内に含まれる。また、上述の各実施形態や変形例を組み合わせた構成としてもよい。 The present invention is not limited to the above-described embodiments, and other forms conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention as long as the features of the present invention are not impaired. . Moreover, it is good also as a structure which combined above-mentioned each embodiment and modification.

100、100’、100”・・・モータ制御装置、101・・・電力変換回路、102・・・主制御部、103・・・電流検出部、104・・・角度演算部、105・・・電流比演算部、106・・・電流値異常判定部、107・・・電流補正部、200・・・直流電源、300・・・モータ、301・・・角度センサ、Tuu・・・U相上アームスイッチング素子、Duu・・・U相上アームダイオード、Tul・・・U相下アームスイッチング素子、Dul・・・U相下アームダイオード、Tvu・・・V相上アームスイッチング素子、Dvu・・・V相上アームダイオード、Tvl・・・V相下アームスイッチング素子、Dvl・・・V相下アームダイオード、Twu・・・W相上アームスイッチング素子、Dwu・・・W相上アームダイオード、Twl・・・W相下アームスイッチング素子、Dwl・・・W相下アームダイオード。 100, 100′, 100″ motor control device 101 power conversion circuit 102 main control unit 103 current detection unit 104 angle calculation unit 105 Current ratio calculation unit 106 Current value abnormality determination unit 107 Current correction unit 200 DC power supply 300 Motor 301 Angle sensor Tuu U phase upper arm switching element, Duu... U-phase upper arm diode, Tul... U-phase lower arm switching element, Dul... U-phase lower arm diode, Tvu... V-phase upper arm switching element, Dvu... V-phase upper arm diode, Tvl... V-phase lower arm switching element, Dvl... V-phase lower arm diode, Twu... W-phase upper arm switching element, Dwu... W-phase upper arm diode, Twl. . . W-phase lower arm switching element, Dwl . . . W-phase lower arm diode.

Claims (11)

三相モータを駆動中に、前記三相モータに出力されている三相交流電流のうち1相の電流検出値に対する他の2相の電流検出値の和の比率である電流比を演算する電流比演算部と、
前記電流比演算部で演算された前記電流比が所定範囲内である場合に、前記三相交流電流の各電流検出値は正常であると判定し、前記電流比が前記所定範囲に含まれない場合に前記1相の電流検出値は異常であると判定する電流値異常判定部と、を備えた電流検出装置。
A current for calculating a current ratio, which is a ratio of the sum of the current detection value of one phase and the sum of the current detection values of the other two phases among the three-phase alternating currents output to the three-phase motor while the three-phase motor is being driven. a ratio calculation unit;
When the current ratio calculated by the current ratio calculation unit is within a predetermined range, each current detection value of the three-phase alternating current is determined to be normal, and the current ratio is not included in the predetermined range. and a current value abnormality determination unit that determines that the current detection value of the one phase is abnormal when the current detection value of the one phase is abnormal.
請求項1に記載の電流検出装置において、
前記電流比演算部は、各相を基準とする3つの前記電流比を演算し、
前記電流値異常判定部は、前記3つの前記電流比のいずれかが前記所定範囲に含まれない場合に前記基準とした1相の電流検出値は異常であると判定する電流検出装置。
The current detection device according to claim 1,
The current ratio calculation unit calculates the three current ratios based on each phase,
The current value abnormality determination unit determines that the reference current detection value of one phase is abnormal when any one of the three current ratios is not within the predetermined range.
請求項2に記載の電流検出装置において、
前記三相モータからの角度情報に基づいて電気角を演算する角度演算部を備え、
前記電流値異常判定部は、前記角度演算部で演算された前記電気角の一定角度範囲において電流検出値が異常であるかを判定する電流検出装置。
The current detection device according to claim 2,
An angle calculation unit that calculates an electrical angle based on angle information from the three-phase motor,
The current value abnormality determination section is a current detection device that determines whether or not the current detection value is abnormal within the constant angular range of the electrical angle calculated by the angle calculation section.
請求項3に記載の電流検出装置において、
前記電気角の前記一定角度範囲は180度である電流検出装置。
In the current detection device according to claim 3,
The current detection device, wherein the constant angular range of the electrical angle is 180 degrees.
請求項3または請求項4に記載の電流検出装置において、
前記電流値異常判定部で前記三相交流電流のいずれか1相の電流検出値が異常であると判定された場合に、前記一定角度範囲における当該相の前記電流比の平均値を当該相の前記電流検出値に乗算して出力する電流補正部を備えた電流検出装置。
In the current detection device according to claim 3 or 4,
When the current value abnormality determination unit determines that the current detection value of any one of the three-phase alternating currents is abnormal, the average value of the current ratio of the phase in the constant angle range is determined. A current detection device comprising a current correction unit that multiplies and outputs the current detection value.
三相モータに出力されている三相交流電流を検出する電流検出部と、
前記三相モータを駆動中に、前記三相交流電流のうち1相の電流検出値に対する他の2相の電流検出値の和の比率である電流比を演算する電流比演算部と、
前記電流比演算部で演算された前記電流比が所定範囲内である場合に、前記電流検出部で検出された前記三相交流電流の各電流検出値は正常であると判定し、前記電流比が前記所定範囲に含まれない場合に前記1相の電流検出値は異常であると判定する電流値異常判定部と、を備えたモータ制御装置。
a current detector that detects the three-phase alternating current that is being output to the three-phase motor;
a current ratio calculation unit that calculates a current ratio, which is a ratio of the sum of the current detection value of one phase and the sum of the current detection values of the other two phases among the three-phase alternating currents, while the three-phase motor is being driven;
When the current ratio calculated by the current ratio calculation unit is within a predetermined range, each current detection value of the three-phase alternating current detected by the current detection unit is determined to be normal, and the current ratio is determined to be normal. and a current value abnormality determination unit that determines that the current detection value of the one phase is abnormal when is not included in the predetermined range.
請求項6に記載のモータ制御装置において、
前記電流比演算部は、各相を基準とする3つの前記電流比を演算し、
前記電流値異常判定部は、前記3つの前記電流比のいずれかが前記所定範囲に含まれない場合に前記基準とした1相の電流検出値は異常であると判定するモータ制御装置。
In the motor control device according to claim 6,
The current ratio calculation unit calculates the three current ratios based on each phase,
The current value abnormality determination unit determines that the one-phase current detection value used as the reference is abnormal when any one of the three current ratios is not included in the predetermined range.
請求項7に記載のモータ制御装置において、
前記三相モータからの角度情報に基づいて電気角を演算する角度演算部を備え、
前記電流値異常判定部は、前記角度演算部で演算された前記電気角の一定角度範囲において電流検出値が異常であるかを判定するモータ制御装置。
In the motor control device according to claim 7,
An angle calculation unit that calculates an electrical angle based on angle information from the three-phase motor,
The current value abnormality determination unit determines whether the current detection value is abnormal within the constant angular range of the electrical angle calculated by the angle calculation unit.
請求項8に記載のモータ制御装置において、
前記電気角の前記一定角度範囲は180度であるモータ制御装置。
In the motor control device according to claim 8,
The motor control device, wherein the constant angular range of the electrical angle is 180 degrees.
請求項8に記載のモータ制御装置において、
前記電流値異常判定部で前記三相交流電流のいずれか1相の電流検出値が異常であると判定された場合に、前記一定角度範囲における当該相の前記電流比の平均値を当該相の前記電流検出値に乗算して出力する電流補正部を備えたモータ制御装置。
In the motor control device according to claim 8,
When the current value abnormality determination unit determines that the current detection value of any one of the three-phase alternating currents is abnormal, the average value of the current ratio of the phase in the constant angle range is determined. A motor control device comprising a current correction unit that multiplies the current detection value and outputs the result.
請求項6から請求項10までのいずれか一項に記載のモータ制御装置において、
スイッチング素子より構成される三相の上下アーム直列回路を備え、前記スイッチング素子のスイッチング動作により、供給された直流電力を交流電力に変換して、前記三相交流電流を前記三相モータに出力する電力変換回路と、
前記電力変換回路の前記スイッチング素子を駆動制御する主制御部とを備え、
前記主制御部は、前記電流値異常判定部で前記電流検出値が異常であると判定された場合に、前記電力変換回路の全ての前記スイッチング素子をオフにする、もしくは、上アームまたは下アームの前記スイッチング素子を全てオンにする駆動信号を出力するモータ制御装置。
In the motor control device according to any one of claims 6 to 10,
A three-phase upper and lower arm series circuit composed of switching elements is provided, and the switching operation of the switching elements converts the supplied DC power into AC power and outputs the three-phase AC current to the three-phase motor. a power conversion circuit;
A main control unit that drives and controls the switching element of the power conversion circuit,
The main control unit turns off all the switching elements of the power conversion circuit, or turns off the upper arm or the lower arm when the current value abnormality determination unit determines that the current detection value is abnormal. A motor control device that outputs a drive signal to turn on all of the switching elements of.
JP2021093014A 2021-06-02 2021-06-02 Current detector and motor controller Pending JP2022185373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021093014A JP2022185373A (en) 2021-06-02 2021-06-02 Current detector and motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021093014A JP2022185373A (en) 2021-06-02 2021-06-02 Current detector and motor controller

Publications (1)

Publication Number Publication Date
JP2022185373A true JP2022185373A (en) 2022-12-14

Family

ID=84438671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021093014A Pending JP2022185373A (en) 2021-06-02 2021-06-02 Current detector and motor controller

Country Status (1)

Country Link
JP (1) JP2022185373A (en)

Similar Documents

Publication Publication Date Title
US8981688B2 (en) Control device for AC motor
JP5353867B2 (en) Rotating machine control device
JP5398861B2 (en) Multi-winding motor drive device
CN110785920B (en) Inverter device and electric power steering device
EP2725705A1 (en) Motor control device and electric power steering device using same
US20040257027A1 (en) Motor Controller
JP5929874B2 (en) AC motor control device
US20130257332A1 (en) Electric motor driving apparatus having failure detection circuit, and failure detection method for the electric motor driving apparatus having failure detection circuit
JP2015091168A (en) Ac motor control device
JP5402403B2 (en) Electric motor control system
TWI646769B (en) Control device of electric power converter and electric vehicle
EP2882095B1 (en) Motor controller
JP5514660B2 (en) Load control device
JP5316551B2 (en) Rotating machine control device
JP2012105515A (en) Control apparatus for rotary machine
JPWO2019155585A1 (en) Motor control device and cable disconnection detection method
JP2017028966A (en) Current sensor abnormality diagnostic device
JP2022185373A (en) Current detector and motor controller
CN113169694A (en) Control device for rotating electric machine and control device for electric vehicle
JP2000116176A (en) Controller of three-phase ac motor
JP2014212602A (en) Motor drive
JP5473071B2 (en) Load control device
JP6280326B2 (en) Brushless DC motor control device, brushless DC motor control method, and motor system
US20220393627A1 (en) Motor controller
JP5853641B2 (en) Line current detection device and power conversion system