Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6717166B2 - Current detector - Google Patents
[go: Go Back, main page]

JP6717166B2 - Current detector - Google Patents

Current detector Download PDF

Info

Publication number
JP6717166B2
JP6717166B2 JP2016218915A JP2016218915A JP6717166B2 JP 6717166 B2 JP6717166 B2 JP 6717166B2 JP 2016218915 A JP2016218915 A JP 2016218915A JP 2016218915 A JP2016218915 A JP 2016218915A JP 6717166 B2 JP6717166 B2 JP 6717166B2
Authority
JP
Japan
Prior art keywords
current
phase
value
sensor
failure
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
JP2016218915A
Other languages
Japanese (ja)
Other versions
JP2018077130A (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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2016218915A priority Critical patent/JP6717166B2/en
Publication of JP2018077130A publication Critical patent/JP2018077130A/en
Application granted granted Critical
Publication of JP6717166B2 publication Critical patent/JP6717166B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Description

本開示は、三相電流が供給されて駆動されるモータへの各相電流を検出する技術に関する。 The present disclosure relates to a technique of detecting each phase current to a motor that is driven by being supplied with a three-phase current.

電気自動車やハイブリッド自動車など、走行用の駆動源として、三相電流により駆動されるモータ(以下、三相モータ)を搭載した各種車両が普及している。この種の車両には、通常、U,V,W各相の電流を生成するインバータが搭載され、インバータから三相モータへ三相電流が供給されることにより三相モータが駆動される。 2. Description of the Related Art Various vehicles, such as electric vehicles and hybrid vehicles, equipped with a motor driven by a three-phase current (hereinafter referred to as a three-phase motor) have become widespread as a driving source for traveling. This type of vehicle is usually equipped with an inverter that generates U, V, and W phase currents, and the three-phase motor is driven by supplying the three-phase current from the inverter to the three-phase motor.

また、インバータから三相モータへの各相電流の制御方法として、各相の電流を個別に検出し、各検出値に基づいて各相電流を制御する方法が広く知られている。この制御方法においては、各相電流の供給経路毎に電流センサが設けられ、各電流センサにて検出された各電流値に基づいて制御が行われる。 As a method of controlling each phase current from the inverter to the three-phase motor, a method of individually detecting the current of each phase and controlling each phase current based on each detected value is widely known. In this control method, a current sensor is provided for each phase current supply path, and control is performed based on each current value detected by each current sensor.

近年、三相モータの高出力化に伴い、インバータから三相モータへ供給される各相電流の値も増加の傾向にある。各相電流が大きくなると、それに合わせて定格の大きな電流センサを搭載する必要が生じる。しかし、定格の大きな電流センサを新たに選定するとなると、選定にかかるコストや電流センサ自体のコストなどの影響により、コストアップを招く懸念がある。 In recent years, with the increase in output of three-phase motors, the value of each phase current supplied from the inverter to the three-phase motor has also tended to increase. When the current of each phase becomes large, it becomes necessary to mount a current sensor having a large rating accordingly. However, if a current sensor with a large rating is newly selected, there is a concern that the cost will increase due to the cost of selection and the cost of the current sensor itself.

これに対し、特許文献1には、被検出電流が流れるバスバーを複数に分岐させ、複数の分岐バーのうち1つに電流センサを設けて、その1つの電流センサによる検出結果からバスバー全体に流れる電流を検出する技術が記載されている。 On the other hand, in Patent Document 1, a bus bar in which a current to be detected flows is branched into a plurality of parts, a current sensor is provided in one of the plurality of branch bars, and the current flows to the entire bus bar from the detection result of the one current sensor. Techniques for detecting current are described.

特開2002−257866号公報JP, 2002-257866, A

三相モータへの各相電流の検出方法として特許文献1に記載の方法を用いれば、相電流が大きい場合であっても、その相電流全体を直接検出する必要はなく、分岐された一部の電流を検出すればよくなる。そのため、相電流全体の大きさに合わせて電流センサの定格を大きくする必要はない。 If the method described in Patent Document 1 is used as the method of detecting each phase current to the three-phase motor, even if the phase current is large, it is not necessary to directly detect the entire phase current, and a branched portion is used. It is sufficient to detect the current of. Therefore, it is not necessary to increase the rating of the current sensor according to the size of the entire phase current.

ただし、複数の分岐経路全ての電流が直接検出されるわけではないため、相電流全体を精度良く検出できない可能性がある。これに対し、複数の分岐経路の全てに電流センサを設け、それら各電流センサの検出値を合算するようにすれば、相電流全体の検出精度を高めることができる。 However, since the currents of all of the plurality of branch paths are not directly detected, the entire phase current may not be detected accurately. On the other hand, if the current sensors are provided on all of the plurality of branch paths and the detection values of the respective current sensors are summed up, the detection accuracy of the entire phase current can be improved.

しかし、全ての分岐経路に電流センサを設けると、当然ながら電流センサの総数が増加するため、その分、全体として電流センサの故障発生確率が高くなるという懸念がある。また、同じ相の複数の電流センサのうち何れかが故障した場合に、複数の電流センサのうちどの電流センサが故障したのかを特定するのが難しいという問題もある。 However, if the current sensors are provided in all the branch paths, the total number of the current sensors naturally increases, and there is a concern that the failure probability of the current sensors as a whole increases accordingly. Further, when any of the current sensors of the same phase fails, it is difficult to identify which of the current sensors has failed.

本開示は、三相モータへの各相電流を相毎に複数に分岐させて供給させ、その複数の分岐経路それぞれに電流センサを設けるよう構成されたモータ駆動装置において、何れかの電流センサが故障した場合にその故障した電流センサを迅速且つ的確に検出できるようにする技術を提供する。 The present disclosure relates to a motor drive device configured to supply each phase current to a three-phase motor by branching into a plurality of phases for each phase, and providing a current sensor in each of the plurality of branch paths. Provided is a technique that enables a failed current sensor to be detected quickly and accurately in the event of a failure.

本開示の一態様は、モータ駆動装置(1)において用いられる電流検出装置(13)である。モータ駆動装置は、モータ(10)へ三相電流を供給する駆動回路(12)からモータに至る各相毎の電流の供給経路(21,22,23)それぞれに、当該相の電流を所定の分岐割合で複数に分岐させて再び合流させるように構成された複数の分岐経路(21a,21b,22a,22b,23a,23b)が設けられている。また、各相それぞれ、当該相の分岐経路毎に当該分岐経路を流れる電流を検出する電流センサ(UA,UB,VA,VB,WA,WB)が設けられている。 One aspect of the present disclosure is a current detection device (13) used in a motor drive device (1). The motor drive device supplies a predetermined current to each of the current supply paths (21, 22, 23) for each phase from the drive circuit (12) that supplies a three-phase current to the motor (10) to the motor. A plurality of branch paths (21a, 21b, 22a, 22b, 23a, 23b) configured to branch into a plurality of branches at a branching ratio and join again are provided. Further, each phase is provided with a current sensor (UA, UB, VA, VB, WA, WB) for detecting a current flowing through the branch path of the phase.

このような構成のモータ駆動装置において用いられる本開示の電流検出装置は、各相それぞれ、当該相の複数の分岐経路に設けられた各電流センサにより検出された電流の値である検出電流値の総和を、当該相の電流値として検出するよう構成されている。 The current detection device of the present disclosure used in the motor drive device having such a configuration, for each phase, of the detected current value that is the value of the current detected by each current sensor provided in the plurality of branch paths of the phase The sum is detected as the current value of the phase.

そして、本開示の電流検出装置は、正常判断部(13,S210,S220)と、三相総和算出部(13,S240)と、故障判定部(13,S250,S310)とを備える。 Then, the current detection device of the present disclosure includes a normality determination unit (13, S210, S220), a three-phase total sum calculation unit (13, S240), and a failure determination unit (13, S250, S310).

正常判断部は、各相それぞれ、当該相の複数の分岐経路に設けられた各電流センサによる各検出電流値の比率と、当該相における分岐割合の比率とに基づいて、当該相の複数の分岐経路に設けられた各電流センサが全て正常か否か判断する。 The normality determination unit determines, for each phase, a plurality of branches of the phase based on the ratio of the detected current values by the current sensors provided in the plurality of branch paths of the phase and the ratio of the branch ratio of the phase. It is determined whether all the current sensors provided on the path are normal.

三相総和算出部は、正常判断部により、何れか1つの相について、全て正常ではないと判断された場合、換言すれば正常ではない電流センサが1つは含まれているということが判断された場合に、当該判断された相である異常相における電流センサ毎に、当該電流センサの検出電流値を当該電流センサが設けられた分岐経路の分岐割合で除算した値である異常相みなし電流値と、異常相以外の他の2つの相における各電流センサの各検出電流値との総和である、三相総和値を算出する。 When the normality determining unit determines that all of the phases are not normal, the three-phase total sum calculating unit determines that one abnormal current sensor is included in other words. In this case, for each current sensor in the abnormal phase that is the determined phase, the detected current value of the current sensor is divided by the branching ratio of the branch path in which the current sensor is provided. And the sum of the detected current values of the current sensors in the other two phases other than the abnormal phase, the three-phase total value is calculated.

故障判定部は、三相総和算出部により算出された三相総和値が特定の正常条件を満たしていない場合に、当該三相総和値に含まれる異常相みなし電流値の算出に用いられた検出電流値を検出した電流センサの故障を判定する。 When the three-phase sum total value calculated by the three-phase sum total calculation unit does not satisfy the specific normal condition, the failure determination unit detects the abnormal phase-deemed current value included in the three-phase total sum value. The failure of the current sensor that detected the current value is determined.

このような構成の電流検出装置では、何れかの相が異常相であることが判断された場合、その異常相における電流センサ毎に、当該電流センサが故障しているか否かが判断される。具体的に、異常相の各電流センサのうち1つの検出電流値を用いて、異常相みなし電流値を算出する。この異常相みなし電流値は、実際の検出電流値を分岐割合で除算した値であるため、実際の検出電流値が正常な値であれば、異常相の実際の電流値に一致するか若しくはほぼ同等となる。 In the current detection device having such a configuration, when it is determined that any one of the phases is an abnormal phase, it is determined for each current sensor in the abnormal phase whether or not the current sensor is out of order. Specifically, the current value regarded as the abnormal phase is calculated by using the detected current value of one of the current sensors in the abnormal phase. This abnormal phase deemed current value is a value obtained by dividing the actual detected current value by the branching ratio, so if the actual detected current value is a normal value, it will match or almost match the actual current value of the abnormal phase. Will be equivalent.

そして、異常相みなし電流値を用いて三相総和値が算出される。ここで、三相電流の総和は、周知の通り、理論的には0になる。即ち、時系列的に変化する三相各相の電流値をどのタイミングで加算しても、理論的には0になる。 Then, the three-phase sum total value is calculated using the abnormal phase regarded current value. Here, the sum of the three-phase currents is theoretically 0, as is well known. That is, no matter which timing the current values of the three phases that change in time series are added, theoretically it becomes zero.

このような三相電流の理論特性を考慮して正常条件を適宜設定することで、三相総和値に基づく電流センサの故障の有無を適切に判定できる。例えば、三相総和値が0か若しくはその近傍であることを正常条件に設定してもよい。 By appropriately setting the normal condition in consideration of the theoretical characteristics of the three-phase current, it is possible to appropriately determine whether or not the current sensor has a failure based on the three-phase sum value. For example, the normal condition may be that the three-phase sum value is at or near zero.

したがって、このように構成された本開示の電流検出装置によれば、何れかの電流センサが故障した場合にその故障した電流センサを迅速且つ的確に検出することができる。
なお、この欄及び特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本開示の技術的範囲を限定するものではない。
Therefore, according to the current detection device of the present disclosure configured as described above, when any of the current sensors fails, the failed current sensor can be detected quickly and accurately.
It should be noted that the reference numerals in parentheses described in this column and the claims indicate the correspondence with the specific means described in the embodiments to be described later as one aspect, and the technical scope of the present disclosure. It is not limited.

実施形態のモータ駆動装置の概略構成を示す説明図である。It is explanatory drawing which shows schematic structure of the motor drive device of embodiment. U相第2電流センサが故障している場合に検出される各相のセンサ値の一例を示す説明図である。It is explanatory drawing which shows an example of the sensor value of each phase detected when the U-phase 2nd electric current sensor is out of order. U相第2電流センサが故障した場合に行われる各種処理を時系列的に説明するための説明図である。It is explanatory drawing for chronologically explaining various processes performed when a U-phase second current sensor fails. 実施形態の電流センサ監視処理のフローチャートである。It is a flow chart of current sensor monitoring processing of an embodiment. 図4の電流センサ監視処理におけるS120の故障判定処理のフローチャートである。5 is a flowchart of a failure determination process of S120 in the current sensor monitoring process of FIG. 図4の電流センサ監視処理におけるS140の波形情報取得処理のフローチャートである。5 is a flowchart of the waveform information acquisition process of S140 in the current sensor monitoring process of FIG. 図4の電流センサ監視処理におけるS160の復旧/破棄判定処理のフローチャートである。5 is a flowchart of a restoration/discard determination process of S160 in the current sensor monitoring process of FIG. 実施形態の相電流算出処理のフローチャートである。It is a flow chart of phase current calculation processing of an embodiment.

以下、本開示の実施形態について、図面を参照しながら説明する。
[1.実施形態]
(1−1)モータ駆動装置の構成
図1に示すモータ駆動装置1は、モータ10と、バッテリ11と、インバータ12と、制御装置13とを備える。本実施形態のモータ駆動装置1は、例えば車両に搭載される。そして、モータ10は、車両の走行用駆動源として、車両の駆動輪を回転させることができるよう構成されている。
Hereinafter, embodiments of the present disclosure will be described with reference to the drawings.
[1. Embodiment]
(1-1) Configuration of Motor Drive Device The motor drive device 1 shown in FIG. 1 includes a motor 10, a battery 11, an inverter 12, and a control device 13. The motor drive device 1 of the present embodiment is mounted in, for example, a vehicle. The motor 10 is configured to rotate the drive wheels of the vehicle as a driving source for driving the vehicle.

バッテリ11は、モータ10を駆動させるための電力源である。バッテリ11は、例えばニッケル水素電池やリチウムイオン電池などの、繰り返し充電可能な二次電池を有し、その二次電池から直流電力が出力される。 The battery 11 is a power source for driving the motor 10. The battery 11 has a rechargeable secondary battery such as a nickel hydrogen battery or a lithium ion battery, and DC power is output from the secondary battery.

インバータ12は、バッテリ11から供給される直流電力を、U相、V相、W相の三相の交流電力に変換して、モータ10へ供給する。インバータ12からモータ10には、互いに位相が120度ずつ異なる正弦波状の三相交流電流、即ち、U相電流Iu、V相電流Iv、W相電流Iwの三相電流が供給される。なお、本実施形態のインバータ12は、電力変換素子として例えばIGBTを搭載している。 The inverter 12 converts the DC power supplied from the battery 11 into three-phase AC power of U phase, V phase, and W phase, and supplies the AC power to the motor 10. Inverter 12 supplies motor 10 with sinusoidal three-phase alternating currents having phases different from each other by 120 degrees, that is, three-phase currents of U-phase current Iu, V-phase current Iv, and W-phase current Iw. The inverter 12 of the present embodiment is equipped with, for example, an IGBT as a power conversion element.

モータ10は、インバータ12から供給される三相電流によって駆動される。本実施形態のモータ10は、例えば、界磁として永久磁石を有する同期モータである。
インバータ12とモータ10とは、インバータ12からモータ10へ三相電流を供給するための、U相バスバー21、V相バスバー22およびW相バスバー23によって接続されている。
The motor 10 is driven by the three-phase current supplied from the inverter 12. The motor 10 of this embodiment is, for example, a synchronous motor having a permanent magnet as a field.
The inverter 12 and the motor 10 are connected by a U-phase bus bar 21, a V-phase bus bar 22 and a W-phase bus bar 23 for supplying a three-phase current from the inverter 12 to the motor 10.

インバータ12から出力されるU相電流Iuは、U相バスバー21によってモータ10へ供給され、モータ10のU相電流入力端子に入力される。インバータ12から出力されるV相電流Ivは、V相バスバー22によってモータ10へ供給され、モータ10のV相電流入力端子に入力される。インバータ12から出力されるW相電流Iwは、W相バスバー23によってモータ10へ供給され、モータ10のW相電流入力端子に入力される。 The U-phase current Iu output from the inverter 12 is supplied to the motor 10 by the U-phase bus bar 21 and input to the U-phase current input terminal of the motor 10. The V-phase current Iv output from the inverter 12 is supplied to the motor 10 by the V-phase bus bar 22 and input to the V-phase current input terminal of the motor 10. The W-phase current Iw output from the inverter 12 is supplied to the motor 10 by the W-phase bus bar 23 and input to the W-phase current input terminal of the motor 10.

U相バスバー21は、インバータ12からモータ10に至る経路全体のうち一部が、2つの分岐バー21a,21bによって分岐されている。即ち、インバータ12から出力されるU相電流Iuは、U相バスバー21の途中でU相第1分岐バー21aとU相第2分岐バー21bの2つの経路に分岐して流れる。そして、分岐した電流は再び合流して、U相バスバー21を経てモータ10へ入力される。 In the U-phase bus bar 21, a part of the entire path from the inverter 12 to the motor 10 is branched by two branch bars 21a and 21b. That is, the U-phase current Iu output from the inverter 12 branches into two paths of the U-phase first branch bar 21 a and the U-phase second branch bar 21 b in the middle of the U-phase bus bar 21. Then, the branched currents merge again and are input to the motor 10 via the U-phase bus bar 21.

U相第1分岐バー21aとU相第2分岐バー21bの各々に分岐するU相電流Iuの分岐割合は、いずれも50%である。つまり、U相電流Iuは、2つの分岐バー21a,21bによって分岐比率1:1で二等分される。 The branch ratio of the U-phase current Iu branched to each of the U-phase first branch bar 21a and the U-phase second branch bar 21b is 50%. That is, the U-phase current Iu is bisected by the two branch bars 21a and 21b at a branching ratio of 1:1.

さらに、U相第1分岐バー21aとU相第2分岐バー21bには、それぞれ、当該分岐バーを流れる電流の値を検出するための電流センサが設けられている。具体的に、U相第1分岐バー21aにはU相第1電流センサUAが設けられ、U相第2分岐バー21bにはU相第2電流センサUBが設けられている。 Further, each of the U-phase first branch bar 21a and the U-phase second branch bar 21b is provided with a current sensor for detecting the value of the current flowing through the branch bar. Specifically, the U-phase first branch bar 21a is provided with a U-phase first current sensor UA, and the U-phase second branch bar 21b is provided with a U-phase second current sensor UB.

V相バスバー22及びW相バスバー23も、基本的にU相バスバー21と同様の構成となっている。即ち、V相バスバー22は、インバータ12からモータ10に至る経路全体のうち一部が、2つの分岐バー22a,22bによって分岐されている。インバータ12から出力されるV相電流Ivは、V相バスバー22の途中でV相第1分岐バー22aとV相第2分岐バー22bの2つの経路に分岐して流れる。そして、分岐した電流は再び合流して、V相バスバー22を経てモータ10へ入力される。 The V-phase bus bar 22 and the W-phase bus bar 23 also have basically the same configuration as the U-phase bus bar 21. That is, in the V-phase bus bar 22, a part of the entire path from the inverter 12 to the motor 10 is branched by the two branch bars 22a and 22b. The V-phase current Iv output from the inverter 12 branches into two paths of the V-phase first branch bar 22 a and the V-phase second branch bar 22 b in the middle of the V-phase bus bar 22. Then, the branched currents merge again and are input to the motor 10 via the V-phase bus bar 22.

V相第1分岐バー22aとV相第2分岐バー22bの各々に分岐するV相電流Ivの分岐割合は、本実施形態では、U相電流の分岐割合と同じくいずれも50%である。つまり、V相電流Ivも、U相電流Iuと同様、2つの分岐バー22a,22bによって分岐比率1:1で二等分される。 In the present embodiment, the branch ratio of the V-phase current Iv branched to each of the V-phase first branch bar 22a and the V-phase second branch bar 22b is 50%, like the U-phase current branch ratio. That is, the V-phase current Iv is also bisected by the two branch bars 22a and 22b at a branching ratio of 1:1 like the U-phase current Iu.

さらに、V相第1分岐バー22aとV相第2分岐バー22bには、それぞれ、当該分岐バーを流れる電流の値を検出するための電流センサが設けられている。具体的に、V相第1分岐バー22aにはV相第1電流センサVAが設けられ、V相第2分岐バー22bにはV相第2電流センサVBが設けられている。 Further, the V-phase first branch bar 22a and the V-phase second branch bar 22b are each provided with a current sensor for detecting the value of the current flowing through the branch bar. Specifically, the V-phase first branch bar 22a is provided with a V-phase first current sensor VA, and the V-phase second branch bar 22b is provided with a V-phase second current sensor VB.

W相バスバー23も、インバータ12からモータ10に至る経路全体のうち一部が、2つの分岐バー23a,23bによって分岐されている。インバータ12から出力されるW相電流Iwは、W相バスバー23の途中でW相第1分岐バー23aとW相第2分岐バー23bの2つの経路に分岐して流れる。そして、分岐した電流は再び合流して、W相バスバー23を経てモータ10へ入力される。 Also in the W-phase bus bar 23, a part of the entire path from the inverter 12 to the motor 10 is branched by the two branch bars 23a and 23b. The W-phase current Iw output from the inverter 12 branches into two paths of the W-phase first branch bar 23 a and the W-phase second branch bar 23 b in the middle of the W-phase bus bar 23. Then, the branched currents merge again and are input to the motor 10 via the W-phase bus bar 23.

W相第1分岐バー23aとW相第2分岐バー23bの各々に分岐するW相電流Iwの分岐割合は、本実施形態では、U相電流の分岐割合と同じくいずれも50%である。つまり、W相電流Iwも、U相電流Iu及びV相電流Ivと同様、2つの分岐バー23a,23bによって分岐比率1:1で二等分される。 In the present embodiment, the branching ratio of the W-phase current Iw that branches into each of the W-phase first branch bar 23a and the W-phase second branch bar 23b is 50%, like the U-phase current branching ratio. That is, like the U-phase current Iu and the V-phase current Iv, the W-phase current Iw is equally bisected by the two branch bars 23a and 23b at a branching ratio of 1:1.

さらに、W相第1分岐バー23aとW相第2分岐バー23bには、それぞれ、当該分岐バーを流れる電流の値を検出するための電流センサが設けられている。具体的に、W相第1分岐バー23aにはW相第1電流センサWAが設けられ、W相第2分岐バー23bにはW相第2電流センサWBが設けられている。 Further, the W-phase first branch bar 23a and the W-phase second branch bar 23b are each provided with a current sensor for detecting the value of the current flowing through the branch bar. Specifically, the W-phase first branch bar 23a is provided with a W-phase first current sensor WA, and the W-phase second branch bar 23b is provided with a W-phase second current sensor WB.

各電流センサUA,UB,VA,VB,WA,WBは、本実施形態では、いわゆる貫通型の電流センサであり、リング状の検出用コアを有し、検出対象の分岐バーに対し、その分岐バーが検出用コアを貫通するように配置される。そして、検出対象の分岐バーに流れる電流の値に応じた検出信号を出力する。このような貫通側の電流センサは、例えば特許文献1に記載されているようなホール素子を有するものを含め、様々なタイプのものが提供されていてよく知られているため、ここではその詳細説明を省略する。各電流センサUA,UB,VA,VB,WA,WBから出力される検出信号は、制御装置13に入力される。 In the present embodiment, each of the current sensors UA, UB, VA, VB, WA, WB is a so-called through-type current sensor, has a ring-shaped detection core, and branches the branch bar to be detected with respect to the branch bar. The bar is arranged so as to penetrate the detection core. Then, the detection signal corresponding to the value of the current flowing through the branch bar to be detected is output. Various types of current sensors on the penetrating side are well known, including those having a Hall element as described in Patent Document 1, for example. The description is omitted. The detection signals output from the current sensors UA, UB, VA, VB, WA, WB are input to the control device 13.

制御装置13は、CPU13aと、メモリ13bとを有する、周知のマイクロコンピュータを中心に構成される。メモリ13bは、RAM、ROM、フラッシュメモリ等の半導体メモリを有する。制御装置13の各種機能は、CPU13aが非遷移的実体的記録媒体に格納されたプログラムを実行することにより実現される。この例では、メモリ13bが、プログラムを格納した非遷移的実体的記録媒体に該当する。また、このプログラムが実行されることで、プログラムに対応する方法が実行される。なお、制御装置13を構成するマイクロコンピュータの数は1つでも複数でもよい。 The control device 13 is mainly composed of a well-known microcomputer having a CPU 13a and a memory 13b. The memory 13b has a semiconductor memory such as a RAM, a ROM, or a flash memory. Various functions of the control device 13 are realized by the CPU 13a executing a program stored in the non-transitional physical recording medium. In this example, the memory 13b corresponds to a non-transitional substantive recording medium storing a program. By executing this program, the method corresponding to the program is executed. It should be noted that the number of microcomputers forming the control device 13 may be one or more.

メモリ13bに格納されているプログラムには、後述する図4〜図7の電流センサ監視処理のプログラムや、後述する図8の相電流算出処理のプログラムが含まれる。制御装置13においてプログラムの実行により実現される各種機能の一部又は全部は、一つあるいは複数のハードウェアを用いて実現してもよい。 The programs stored in the memory 13b include a current sensor monitoring process program of FIGS. 4 to 7 described later and a phase current calculation process program of FIG. 8 described later. Some or all of the various functions realized by the execution of the program in the control device 13 may be realized by using one or a plurality of hardware.

制御装置13は、U相第1電流センサUAからの検出信号に基づいてU相第1分岐バー21aを流れる電流の値を検出し、U相第2電流センサUBからの検出信号に基づいてU相第2分岐バー21bを流れる電流の値を検出する。なお、U相第1電流センサUAからの検出信号に基づいて検出する電流値をU相第1センサ値IuAと称し、U相第2電流センサUBからの検出信号に基づいて検出する電流値をU相第2センサ値IuBと称する。制御装置は、検出したU相第1センサ値IuAとU相第2センサ値IuBの総和を、U相電流値Iuとして検出する。 The control device 13 detects the value of the current flowing through the U-phase first branch bar 21a based on the detection signal from the U-phase first current sensor UA, and U based on the detection signal from the U-phase second current sensor UB. The value of the current flowing through the phase second branch bar 21b is detected. The current value detected based on the detection signal from the U-phase first current sensor UA is referred to as the U-phase first sensor value IuA, and the current value detected based on the detection signal from the U-phase second current sensor UB is It is referred to as the U-phase second sensor value IuB. The control device detects the sum of the detected U-phase first sensor value IuA and U-phase second sensor value IuB as the U-phase current value Iu.

また、制御装置13は、V相第1電流センサVAからの検出信号に基づいてV相第1分岐バー22aを流れる電流の値を検出し、V相第2電流センサVBからの検出信号に基づいてV相第2分岐バー22bを流れる電流の値を検出する。なお、V相第1電流センサVAからの検出信号に基づいて検出する電流値をV相第1センサ値IvAと称し、V相第2電流センサVBからの検出信号に基づいて検出する電流値をV相第2センサ値IvBと称する。制御装置13は、検出したV相第1センサ値IvAとV相第2センサ値IvBの総和を、V相電流値Ivとして検出する。 Further, the control device 13 detects the value of the current flowing through the V-phase first branch bar 22a based on the detection signal from the V-phase first current sensor VA, and based on the detection signal from the V-phase second current sensor VB. The value of the current flowing through the V-phase second branch bar 22b is detected. The current value detected based on the detection signal from the V-phase first current sensor VA is referred to as the V-phase first sensor value IvA, and the current value detected based on the detection signal from the V-phase second current sensor VB is It is referred to as a V-phase second sensor value IvB. The control device 13 detects the total sum of the detected V-phase first sensor value IvA and V-phase second sensor value IvB as the V-phase current value Iv.

また、制御装置13は、W相第1電流センサWAからの検出信号に基づいてW相第1分岐バー23aを流れる電流の値を検出し、W相第2電流センサWBからの検出信号に基づいてW相第2分岐バー23bを流れる電流の値を検出する。なお、W相第1電流センサWAからの検出信号に基づいて検出する電流値をW相第1センサ値IwAと称し、W相第2電流センサWBからの検出信号に基づいて検出する電流値をW相第2センサ値IwBと称する。制御装置13は、検出したW相第1センサ値IwAとW相第2センサ値IwBの総和を、W相電流値Iwとして検出する。 Further, the control device 13 detects the value of the current flowing through the W-phase first branch bar 23a based on the detection signal from the W-phase first current sensor WA, and based on the detection signal from the W-phase second current sensor WB. The value of the current flowing through the W-phase second branch bar 23b is detected. The current value detected based on the detection signal from the W-phase first current sensor WA is referred to as the W-phase first sensor value IwA, and the current value detected based on the detection signal from the W-phase second current sensor WB is It is referred to as the W-phase second sensor value IwB. The control device 13 detects the sum of the detected W-phase first sensor value IwA and the detected W-phase second sensor value IwB as the W-phase current value Iw.

制御装置13は、検出した各相電流値Iu,Iv,Iwを含む、各種情報に基づいて、インバータ12による三相電流の出力を制御することにより、モータ10の駆動を制御する。 The control device 13 controls the drive of the motor 10 by controlling the output of the three-phase current by the inverter 12 based on various information including the detected phase current values Iu, Iv, and Iw.

また、制御装置13は、各センサ値IuA、IuB、IvA、IvB、IwA、IwBに基づいて、各電流センサUA,UB,VA,VB,WA,WBが正常かどうかを監視する。 Further, the control device 13 monitors whether or not the current sensors UA, UB, VA, VB, WA, WB are normal based on the sensor values IuA, IuB, IvA, IvB, IwA, IwB.

(1−2)電流センサ故障時の制御装置の動作
制御装置13による各電流センサの監視の具体的内容、及び、何れかの電流センサの故障を検出した場合の動作の概要について、図2及び図3を用いて説明する。
(1-2) Operation of the control device when the current sensor fails The specific contents of the monitoring of each current sensor by the control device 13 and the outline of the operation when a failure of any current sensor is detected will be described with reference to FIG. This will be described with reference to FIG.

本実施形態の制御装置13は、計6個の電流センサUA,UB,VA,VB,WA,WBのうち何れか1つが故障して正常な検出信号が出力されなくなった場合に、その故障した1つの電流センサを特定することができる。 The control device 13 of the present embodiment has a failure when any one of the six current sensors UA, UB, VA, VB, WA, WB fails and a normal detection signal is not output. One current sensor can be specified.

本実施形態では、インバータ12からモータ10へ供給される各相電流がそれぞれ、バスバーの途中で二等分に分岐される。そのため、各電流センサが全て正常であれば、各相それぞれ、制御装置13により検出される2つのセンサ値は同値になる。 In this embodiment, each phase current supplied from the inverter 12 to the motor 10 is divided into two equal parts in the middle of the bus bar. Therefore, if all the current sensors are normal, the two sensor values detected by the control device 13 for each phase are the same.

一方、例えば、U相における各分岐バー21a,21bに設けられた各電流センサUA,UBのうちU相第2電流センサUBが故障したとする。この場合、U相第1センサ値IuAとU相第2センサ値IuBとが一致しない可能性がある。 On the other hand, for example, it is assumed that the U-phase second current sensor UB out of the current sensors UA and UB provided in the U-phase branch bars 21a and 21b fails. In this case, the U-phase first sensor value IuA and the U-phase second sensor value IuB may not match.

図2は、6つの電流センサのうちU相第2電流センサUBが故障して他の5つの電流センサは全て正常である場合の、各センサ値の一例を示している。図2に示すように、各相それぞれ、2つの電流センサが正常であれば、2つのセンサ値は同値となるが、2つの電流センサのうち一方が故障すると、2つのセンサ値は異なる値となる。 FIG. 2 shows an example of each sensor value when the U-phase second current sensor UB out of the six current sensors fails and all the other five current sensors are normal. As shown in FIG. 2, if the two current sensors in each phase are normal, the two sensor values will be the same value, but if one of the two current sensors fails, the two sensor values will be different values. Become.

このことから、各相それぞれ、2つの電流センサのセンサ値が同値かどうかによって、2つの電流センサが共に正常であるのか、それとも少なくとも一方が故障しているのかを、判定することができる。より一般的に言えば、各相それぞれ、2つの電流センサのセンサ値の比率が、当該2つの電流センサが設けられている各分岐バーにおける分岐割合の比率(以下、「正規比率」とも称する)に一致しているかどうかによって、2つの電流センサが共に正常であるかどうかを判定することができる。 From this, it is possible to determine whether the two current sensors are normal or whether at least one of them is defective depending on whether the sensor values of the two current sensors are the same in each phase. More generally speaking, the ratio of the sensor values of the two current sensors in each phase is the ratio of the branch ratios in each branch bar provided with the two current sensors (hereinafter, also referred to as “normal ratio”). It is possible to determine whether both of the two current sensors are normal depending on whether the two current sensors match.

そこで、制御装置13は、相毎に、当該相の2つのセンサ値を監視し、両者の比率と正規比率とに基づいて、2つの電流センサが共に正常であるかどうかを監視する。そして、三相のうちある相において、2つの電流センサが共に正常ではなくなった場合は、故障した電流センサの特定や、故障した電流センサのセンサ値を補正する処理などを行う。 Therefore, the control device 13 monitors, for each phase, the two sensor values of the phase and, based on the ratio of both and the normal ratio, monitors whether both of the two current sensors are normal. Then, in a certain phase of the three phases, when both of the two current sensors are not normal, the faulty current sensor is identified, and the sensor value of the faulty current sensor is corrected.

ここで、U相第2電流センサUBが故障した場合の制御装置13の動作について、図3を用いて説明する。図3は、U相の各センサ値IuA,IuBについて、その変化例を示している。図3は、U相第1電流センサUAは正常であってU相第1センサ値IuAは正常な値であり、一方、U相第2電流センサUBは時刻t1で故障が発生して時刻t1以降はU相第2センサ値IuBが正常な値ではなくなった例を示している。なお、図3において、時刻t0,時刻t3,時刻t7は、いずれも、U相第1センサ値IuAがゼロクロスとなるタイミングである。 Here, the operation of the control device 13 when the U-phase second current sensor UB fails will be described with reference to FIG. FIG. 3 shows an example of changes in the U-phase sensor values IuA and IuB. FIG. 3 shows that the U-phase first current sensor UA is normal and the U-phase first sensor value IuA is normal, while the U-phase second current sensor UB has a failure at time t1 and is time t1. Hereinafter, examples in which the U-phase second sensor value IuB is no longer a normal value are shown. In FIG. 3, time t0, time t3, and time t7 are all timings when the U-phase first sensor value IuA becomes zero cross.

図3に例示するように、時刻t1の直前までは、2つの電流センサUA,UBがともに正常であるため、両者のセンサ値IuA,IuBはほぼ一致している。一方、時刻t1でU相第2電流センサUBが故障し、U相第2センサ値IuBの値が実際の値よりも低い値となって検出されるようになると、各センサ値IuA,IuBの差が大きくなる。換言すれば、各センサ値IuA,IuBの比率が、正規比率とは異なる比率となる。 As illustrated in FIG. 3, until immediately before time t1, the two current sensors UA and UB are both normal, so that the sensor values IuA and IuB of both sensors are substantially the same. On the other hand, when the U-phase second current sensor UB fails at time t1 and the value of the U-phase second sensor value IuB becomes lower than the actual value and is detected, the respective sensor values IuA and IuB are detected. The difference becomes large. In other words, the ratio of the sensor values IuA and IuB is different from the normal ratio.

制御装置13は、各センサ値IuA,IuBの比率が正規比率と一致するかどうかの判断を含む故障判定処理を周期的に行っている。本実施形態では、正規比率が1:1であることから、各センサ値IuA,IuBの比率が正規比率と一致するかどうかの判断は、実際には、各センサ値IuA,IuBが一致するかを判断することにより行っている。即ち、本実施形態では、各センサ値IuA,IuBが一致することと、各センサ値IuA,IuBの比率が正規比率と一致することとは、同義である。 The control device 13 periodically performs a failure determination process including a determination as to whether the ratio of the sensor values IuA and IuB matches the normal ratio. In the present embodiment, since the normal ratio is 1:1, it is actually determined whether or not the sensor values IuA and IuB match with each other in determining whether the ratio of the sensor values IuA and IuB matches the normal ratio. It is done by judging. That is, in the present embodiment, that the sensor values IuA and IuB match and that the ratio of the sensor values IuA and IuB match the normal ratio are synonymous.

なお、ここでいう、各センサ値が一致とは、文字通り完全に一致することのみを意味しているものではなく、例えば両者の差が一定値以内であれば一致しているとみなすようにしてもよい。各センサ値IuA,IuBの比率と正規比率との一致についても、文字通り完全に一致することのみを意味しているものではなく、一致しているとみなせる範囲内である場合も含む。例えば正規比率をx0:y0、実際の各センサ値の比率をx:yとしたとき、x/yが、x0/y0を含む所定範囲内であれば、一致しているとみなすようにしてもよい。 It should be noted that, here, that the sensor values match does not mean that the sensor values are literally exactly the same. For example, if the difference between the two is within a certain value, it is considered that they match. Good. The matching between the ratio of the sensor values IuA and IuB and the normal ratio does not mean that they are completely matched literally, but includes the case where they are within the range where they can be considered to be matched. For example, assuming that the normal ratio is x0:y0 and the ratio of the actual sensor values is x:y, if x/y is within a predetermined range including x0/y0, they may be considered to match. Good.

時刻t1で、U相が、各センサ値IuA,IuBが一致しない異常相になると、制御装置13は、異常相であるU相を対象として、各センサ値IuA,IuBのうちどちらが正しくないのか、即ち各電流センサUA,UBのどちらが故障しているのかを判定する。 At time t1, when the U phase becomes an abnormal phase in which the sensor values IuA and IuB do not match, the control device 13 targets the U phase, which is the abnormal phase, and which of the sensor values IuA and IuB is incorrect? That is, it is determined which of the current sensors UA and UB is out of order.

具体的に、U相の各電流センサUA,UB毎に個別に、次に述べる三相総和値を算出し、その三相総和値に基づいて故障の有無を判定する。即ち、例えばまずU相第1電流センサUAを対象として、U相第1センサ値IuAを、U相第1電流センサUAが設けられたU相第1分岐バー21aの分岐割合で除算する。この除算結果をU相みなし電流値とする。このU相みなし電流値は、U相第1センサ値IuAが正常な値であるならば実際のU相電流Iuの値と一致するはずである。なお、本実施形態では前述のように分岐割合は50%であるため、U相みなし電流値は、単にU相第1センサ値IuAを2倍することにより算出してもよい。 Specifically, the three-phase total sum value described below is calculated individually for each of the U-phase current sensors UA and UB, and the presence or absence of a failure is determined based on the three-phase total sum value. That is, for example, first, for the U-phase first current sensor UA, the U-phase first sensor value IuA is divided by the branch ratio of the U-phase first branch bar 21a provided with the U-phase first current sensor UA. The result of this division is regarded as the U phase current value. This U-phase deemed current value should match the actual value of the U-phase current Iu if the U-phase first sensor value IuA is a normal value. In the present embodiment, since the branching ratio is 50% as described above, the U-phase deemed current value may be calculated by simply doubling the U-phase first sensor value IuA.

U相第1センサ値IuAを用いてU相みなし電流値を算出したら、そのU相みなし電流値と、V相及びW相の各センサ電流値IvA,IvB,IwA,IwBとの総和である、三相総和値を算出する。そして、その三相総和値が正常条件を満たしているかどうか判断する。前述の通り、三相電流の総和は理論的には0になる。そのため、本実施形態では、正常条件として、三相総和値が0であることが設定されている。なお、ここでいう、三相総和値が0とは、文字通り完全に0であることのみを意味しているものではなく、例えば0より小さい負の所定値から0より大きい正の所定値までの、0を含む所定範囲内であれば、0であるとみなすようにしてもよい。三相総和値と0との差がどの程度までであれば三相総和値を0とみなすようにするかについては、適宜決めてもよい。 When the U-phase deemed current value is calculated using the U-phase first sensor value IuA, it is the sum of the U-phase deemed current value and the V-phase and W-phase sensor current values IvA, IvB, IwA, IwB, Calculate the three-phase sum value. Then, it is determined whether the three-phase sum value satisfies the normal condition. As described above, the total sum of the three-phase currents is theoretically zero. Therefore, in this embodiment, it is set that the three-phase sum value is 0 as a normal condition. Note that the three-phase sum value 0 here does not mean that the three-phase sum value is literally completely 0, and for example, from a negative predetermined value smaller than 0 to a positive predetermined value larger than 0. , 0 may be considered to be within a predetermined range including 0. The maximum difference between the three-phase total value and 0 may be appropriately determined as to how the three-phase total value is regarded as 0.

U相第1センサ値IuAに基づくU相みなし電流値を用いて算出した三相総和値が正常条件を満たしていたら、即ち三相総和値が0であったら、U相第1電流センサUAは正常であると判断する。 If the three-phase total value calculated using the U-phase deemed current value based on the U-phase first sensor value IuA satisfies the normal condition, that is, if the three-phase total value is 0, the U-phase first current sensor UA Judge as normal.

そして次に、U相第2センサUB対象として、上記同様に三相総和値に基づく故障判定を行う。即ち、U相第2センサ値IuBを、U相第2電流センサUBが設けられたU相第2分岐バー21bの分岐割合で除算し、その除算結果をU相みなし電流値とする。なお、本実施形態では前述のようにU相第2分岐バー21bの分岐割合は50%であるため、ここでも、U相みなし電流値は、単にU相第2センサ値IuBを2倍することにより算出してもよい。 Then, as a target of the U-phase second sensor UB, a failure determination based on the three-phase total sum value is performed as described above. That is, the U-phase second sensor value IuB is divided by the branch ratio of the U-phase second branch bar 21b provided with the U-phase second current sensor UB, and the division result is regarded as the U-phase regarded current value. In the present embodiment, the U-phase second branch bar 21b has a branching ratio of 50% as described above. Therefore, the U-phase deemed current value should simply double the U-phase second sensor value IuB. It may be calculated by

U相第2センサ値IuBを用いてU相みなし電流値を算出したら、そのU相みなし電流値と、V相及びW相の各センサ電流値IvA,IvB,IwA,IwBとの総和である、三相総和値を算出する。そして、その三相総和値が正常条件を満たしているかどうか判断する。図3の例の場合、U相第2センサ値IuBは正常な値ではなくなっているため、U相第2センサ値IuBに基づくU相みなし電流値を用いて算出した三相総和値は正常条件を満たさない。つまり三相総和値が0にならない。 When the U-phase deemed current value is calculated using the U-phase second sensor value IuB, it is the sum of the U-phase deemed current value and the V-phase and W-phase sensor current values IvA, IvB, IwA, and IwB. Calculate the three-phase sum value. Then, it is determined whether the three-phase sum value satisfies the normal condition. In the case of the example of FIG. 3, since the U-phase second sensor value IuB is no longer a normal value, the three-phase total value calculated using the U-phase deemed current value based on the U-phase second sensor value IuB is a normal condition. Does not meet. That is, the three-phase sum value does not become zero.

そこで制御装置13は、U相第2電流センサUBが故障しているとの一応の仮判定を行って、U相第2電流センサUBの状態を「故障判定中」に設定する。そして引き続き、U相を対象とする、上述の三相総和値に基づく故障の有無の確認を含む故障判定処理を、周期的に行う。そして、U相第2センサ値IuBに基づく三相総和値が正常条件を満たさないとの判断が連続して行われ、その累積回数が時刻t4で故障判定閾値以上になると、U相第2電流センサUBが故障しているとの正式な判定を行い、U相第2電流センサUBの状態を「故障」に設定する。 Therefore, the control device 13 makes a provisional determination that the U-phase second current sensor UB is out of order, and sets the state of the U-phase second current sensor UB to "during failure determination". Then, subsequently, a failure determination process for the U phase, which includes the presence/absence of a failure based on the above-described three-phase sum value, is periodically performed. Then, it is continuously determined that the three-phase total value based on the U-phase second sensor value IuB does not satisfy the normal condition, and when the cumulative number becomes equal to or more than the failure determination threshold value at time t4, the U-phase second current. The formal determination that the sensor UB is out of order is made, and the state of the U-phase second current sensor UB is set to "failure".

なお、制御装置13は、後述の相電流算出処理によって各相電流値Iu,Iv,Iwの算出を周期的に行い、それら算出した各相電流値Iu,Iv,Iwを各種制御で用いている。例えばU相電流値Iuについては、U相の各電流センサUA,UBがともに正常であれば、U相第1センサ値IuAとU相第2センサ値IuBとを加算することによって算出する。 The controller 13 periodically calculates the phase current values Iu, Iv, and Iw by a phase current calculation process described later, and uses the calculated phase current values Iu, Iv, and Iw in various controls. .. For example, the U-phase current value Iu is calculated by adding the U-phase first sensor value IuA and the U-phase second sensor value IuB if both the U-phase current sensors UA and UB are normal.

時刻t1では、U相第2電流センサUBが故障しているとの仮判定が行われるが、正式に故障と判定されるまでは、引き続き、U相電流値IuはU相第1センサ値IuAとU相第2センサ値IuBとの加算により算出する。 At time t1, a tentative determination is made that the U-phase second current sensor UB has failed, but the U-phase current value Iu continues to be the U-phase first sensor value IuA until it is officially determined to be failed. And the U-phase second sensor value IuB are added.

そして、時刻t4でU相第2電流センサUBの故障が正式に判定されると、制御装置13は、U相電流値IuBの算出を、U相第1センサ値UAを用いた補間演算により算出する。即ち、U相第2センサ値IuBについては無効とし、U相電流値IuBの算出にU相第2センサ値IuBを用いることを停止する。そして、U相第1センサ値IuAと、U相第1分岐バー21aの分岐割合に基づく補間演算により、U相電流値IuBを算出する。補間演算は、具体的には、前述のU相みなし電流値の算出と同じである。つまり、補間演算とは、故障と判定されていない他方のセンサ値を用いたみなし電流値を算出することを意味する。制御装置13は、U相第1センサ値IuAを用いてU相みなし電流値を算出し、これをU相電流値Iuとして各種制御に用いる。 When the failure of the U-phase second current sensor UB is officially determined at time t4, the control device 13 calculates the U-phase current value IuB by interpolation calculation using the U-phase first sensor value UA. To do. That is, the U-phase second sensor value IuB is invalidated and the use of the U-phase second sensor value IuB for the calculation of the U-phase current value IuB is stopped. Then, the U-phase current value IuB is calculated by interpolation calculation based on the U-phase first sensor value IuA and the branch ratio of the U-phase first branch bar 21a. The interpolation calculation is specifically the same as the calculation of the U-phase deemed current value described above. That is, the interpolation calculation means to calculate the deemed current value using the other sensor value that is not determined to be a failure. The control device 13 calculates the U-phase deemed current value using the U-phase first sensor value IuA, and uses it as the U-phase current value Iu for various controls.

制御装置13は、時刻t1でU相第2電流センサUBの故障の仮判定を行うと、故障判定処理を継続実行することに加えて、新たに、波形情報取得処理を周期的に実行する。波形情報取得処理は、正常な値ではなくなったU相第2センサ値IuBを補正して利用できるようにするための準備的な処理である。なお、故障判定処理の周期的実行は、時刻t4でU相第2電流センサUBの故障が正式判定されるまで継続される。 When the control device 13 makes a provisional determination of the failure of the U-phase second current sensor UB at time t1, in addition to continuously executing the failure determination process, it newly newly executes the waveform information acquisition process. The waveform information acquisition process is a preliminary process for correcting the U-phase second sensor value IuB that is no longer a normal value and making it usable. The periodical execution of the failure determination process is continued until the failure of the U-phase second current sensor UB is officially determined at time t4.

具体的に、制御装置13は、時刻t1以後、正常電流センサとしてのU相第1電流センサUAにより検出されるU相第1センサ値IuA、及び故障電流センサとしてのU相第2センサUBにより検出されるU相第2センサ値IuBのそれぞれ、周期的に増減する過程における最大値であるプラスピークと最小値であるマイナスピークを検出する。 Specifically, the control device 13 uses the U-phase first sensor value IuA detected by the U-phase first current sensor UA as the normal current sensor and the U-phase second sensor UB as the fault current sensor after the time t1. Each of the detected U-phase second sensor values IuB detects a plus peak, which is the maximum value, and a minus peak, which is the minimum value, in the process of periodically increasing and decreasing.

図3の例では、時刻t1以降、まず、時刻t2にて、U相第1センサ値IuAのプラスピークIppAと、U相第2センサ値IuBのプラスピークIppBとが検出される。その後、時刻t5にて、U相第1センサ値IuAのマイナスピークIpnAと、U相第2センサ値IuBのマイナスピークIpnBとが検出される。 In the example of FIG. 3, after time t1, first, at time t2, the positive peak IppA of the U-phase first sensor value IuA and the positive peak IppB of the U-phase second sensor value IuB are detected. After that, at time t5, the minus peak IpnA of the U-phase first sensor value IuA and the minus peak IpnB of the U-phase second sensor value IuB are detected.

制御装置13は、時刻t5で正負それぞれの最大値、最小値を検出した状態になると、U相第2センサ値IuBの補正に用いるオフセット誤差Doffとゲイン誤差Gdとを算出する。 The control device 13 calculates the offset error Doff and the gain error Gd used to correct the U-phase second sensor value IuB when the positive and negative maximum and minimum values are detected at time t5.

オフセット誤差Doffの算出は、次のように行う。即ち、故障検出電流値としてのU相第2センサ値IuBのプラスピークIppBとマイナスピークIpnBに基づいて、U相第2センサ値IuBの振幅中心値PB0を算出する。そして、その振幅中心値PB0の符号を正負反対にした値を、オフセット誤差Doffとして算出する。例えば、振幅中心値PB0が−20[A]である場合は、オフセット誤差Doffを20として算出する。 The offset error Doff is calculated as follows. That is, the amplitude center value PB0 of the U-phase second sensor value IuB is calculated based on the plus peak IppB and the minus peak IpnB of the U-phase second sensor value IuB as the failure detection current value. Then, a value obtained by inverting the sign of the amplitude center value PB0 is calculated as an offset error Doff. For example, when the amplitude center value PB0 is −20 [A], the offset error Doff is calculated as 20.

なお、より正確に、正常検出電流値としてのU相第1センサ値IuAのプラスピークIppA及びマイナスピークIpnAも用いて、オフセット誤差Doffを算出してもよい。例えば、U相第1センサ値IuAのプラスピークIppA及びマイナスピークIpnAの少なくとも一方に基づいて振幅中心値を算出し、その算出した振幅中心値と、U相第2センサ値IuBの振幅中心値PB0との差を、オフセット誤差Doffとして算出してもよい。 The offset error Doff may be calculated more accurately by using the plus peak IppA and minus peak IpnA of the U-phase first sensor value IuA as the normal detection current value. For example, the amplitude center value is calculated based on at least one of the positive peak IppA and the negative peak IpnA of the U-phase first sensor value IuA, and the calculated amplitude center value and the amplitude center value PB0 of the U-phase second sensor value IuB. The difference between and may be calculated as an offset error Doff.

ゲイン誤差Gdの算出は、次のように行う。即ち、U相第2センサ値IuBのプラスピークIppB及びマイナスピークIpnBに基づいて、U相第2センサ値IuBの振幅を求める。例えば、U相第2センサ値IuBのピークピーク値を求めてそれを二分することで、U相第2センサ値IuBの振幅を求めることができる。 The gain error Gd is calculated as follows. That is, the amplitude of the U-phase second sensor value IuB is obtained based on the plus peak IppB and the minus peak IpnB of the U-phase second sensor value IuB. For example, the amplitude of the U-phase second sensor value IuB can be obtained by obtaining the peak-peak value of the U-phase second sensor value IuB and dividing the peak value into two.

また、U相第1センサ値IuAのプラスピークIppA及びマイナスピークIpnAの少なくとも1つに基づいて、U相第1センサ値IuAの振幅を求める。例えば、プラスピークIppA、及びマイナスピークIpnAの絶対値のうち何れか一方をU相第1センサ値IuAの振幅としてもよいし、U相第1センサ値IuAのピークピーク値を求めてそれを二分することで振幅を求めてもよい。 Further, the amplitude of the U-phase first sensor value IuA is obtained based on at least one of the positive peak IppA and the negative peak IpnA of the U-phase first sensor value IuA. For example, either one of the absolute values of the plus peak IppA and the minus peak IpnA may be used as the amplitude of the U-phase first sensor value IuA, or the peak-peak value of the U-phase first sensor value IuA is obtained and divided into two. You may obtain|require amplitude by doing.

そして、U相第2センサ値IuBの振幅に対する、U相第1センサ値IuAの振幅の割合を算出し、その算出結果をゲイン誤差Gdとする。例えば、U相第2センサ値IuBの振幅がK1、U相第1センサ値IuAの振幅がK2である場合、ゲイン誤差Gdは、K2/K1で算出される。 Then, the ratio of the amplitude of the U-phase first sensor value IuA to the amplitude of the U-phase second sensor value IuB is calculated, and the calculation result is set as the gain error Gd. For example, when the amplitude of the U-phase second sensor value IuB is K1 and the amplitude of the U-phase first sensor value IuA is K2, the gain error Gd is calculated by K2/K1.

なお、図3において、時刻t6は、オフセット誤差Doff及びゲイン誤差Gdが算出されて補正の準備が完了したタイミングである。
このようにして時刻t6でオフセット誤差Doff及びゲイン誤差Gdが得られたら、U相第2電流センサUBの状態を「復旧判定中」に設定する。そして、以後、U相第2センサ値IuBを検出する度にそのU相第2センサ値IuBに対して補正演算を行う。なお、U相第2電流センサUBの状態が「正常」に戻った場合及び「破棄」になった場合は、補正演算は停止する。
In FIG. 3, time t6 is the timing when the offset error Doff and the gain error Gd are calculated and the preparation for correction is completed.
In this way, when the offset error Doff and the gain error Gd are obtained at time t6, the state of the U-phase second current sensor UB is set to “restoration determination in progress”. Then, thereafter, every time the U-phase second sensor value IuB is detected, a correction calculation is performed on the U-phase second sensor value IuB. The correction calculation is stopped when the state of the U-phase second current sensor UB returns to "normal" or "discard".

補正演算は、具体的には、次式(1)により行う。なお、下記式(1)において、IuBcは、U相第2センサ値IuBの故障補正値であるU相第2故障補正値を示す。
IuBc=(IuB+Doff)*Gd ・・・(1)
時刻t6でU相第2電流センサUBの状態を「復旧判定中」に設定すると、制御装置13は、波形情報取得処理に代えて、復旧/破棄判定処理を周期的に実行する。復旧/破棄判定処理は、補正演算により得られるU相第2故障補正値が適切な値であるかどうか、換言すれば算出したオフセット誤差Doff及びゲイン誤差Gdが適切な値であるかどうかを判定するための処理である。
Specifically, the correction calculation is performed by the following equation (1). In the formula (1) below, IuBc represents a U-phase second failure correction value which is a failure correction value of the U-phase second sensor value IuB.
IuBc=(IuB+Doff)*Gd (1)
When the state of the U-phase second current sensor UB is set to "during restoration determination" at time t6, the control device 13 periodically executes restoration/discard determination processing instead of the waveform information acquisition processing. The restoration/discard determination processing determines whether the U-phase second failure correction value obtained by the correction calculation is an appropriate value, in other words, whether the calculated offset error Doff and gain error Gd are appropriate values. This is a process for doing.

復旧/破棄判定処理は、U相第1センサ値IuAとU相第2故障補正値IuBcとの比率が、対応する分岐割合の比率に一致するか否かに基づいて行う。本実施形態では、正規比率が1:1であることから、実際には、U相第1センサ値IuAとU相第2故障補正値IuBcとが一致するか否か、より具体的には両者の差が閾値以下であるかどうかに基づいて行う。 The restoration/discard determination processing is performed based on whether or not the ratio between the U-phase first sensor value IuA and the U-phase second failure correction value IuBc matches the corresponding branch ratio ratio. In the present embodiment, since the normal ratio is 1:1, it is actually determined whether or not the U-phase first sensor value IuA and the U-phase second failure correction value IuBc match, more specifically, both. Based on whether or not the difference is less than or equal to the threshold.

そして、周期的に行われる復旧/破棄判定処理において、両者の差が閾値以下であるとの判断が連続して復旧閾値回続いたら、補正演算により得られるU相第2故障補正値IuBcが適切な値であると判定し、U相第2電流センサUBの状態を「復旧」に設定する。図3の例では、時刻t8で「復旧」に設定される。 Then, in the recovery/discard determination processing that is periodically performed, when it is continuously determined that the difference between the two is less than or equal to the threshold value for the recovery threshold value, the U-phase second failure correction value IuBc obtained by the correction calculation is appropriate. The value of the U-phase second current sensor UB is set to “restored”. In the example of FIG. 3, it is set to “recovery” at time t8.

時刻t8で「復旧」に設定されたら、復旧/破棄判定処理の周期的実行を停止する。そして、以後、再び故障判定処理を周期的に実行する。なお、「復旧」の状態で実行される故障判定処理では、U相第1センサ値IuAとU相第2故障補正値IuBcとの比率が正規比率に一致するかどうかを監視する。 When "recovery" is set at time t8, the periodical execution of the recovery/discard determination processing is stopped. Then, thereafter, the failure determination process is periodically executed again. In the failure determination process executed in the “recovery” state, it is monitored whether the ratio between the U-phase first sensor value IuA and the U-phase second failure correction value IuBc matches the normal ratio.

また、時刻t8で「復旧」に設定されたら、制御装置13は、U相第2分岐バー21bに流れる電流の値として、補正演算により得られるU相第2故障補正値IuBcを用いる。即ち、制御装置13は、U相電流値Iuについては、U相第1センサ値IuAとU相第2故障補正値IuBcとの総和を算出し、これをU相電流値Iuとして各種処理に用いる。なお、復旧/破棄判定処理において、補正演算により得られるU相第2故障補正値IuBcが適切な値であると判定されなかった場合は、U相電流値Iuとしては、引き続き、U相第1センサ値IuAを用いたU相みなし電流値を用いる。 When set to "recovery" at time t8, the control device 13 uses the U-phase second failure correction value IuBc obtained by the correction calculation as the value of the current flowing through the U-phase second branch bar 21b. That is, for the U-phase current value Iu, the control device 13 calculates the sum of the U-phase first sensor value IuA and the U-phase second failure correction value IuBc, and uses this as the U-phase current value Iu for various processes. .. In the restoration/discard determination processing, if the U-phase second failure correction value IuBc obtained by the correction calculation is not determined to be an appropriate value, the U-phase current value Iu continues to be the U-phase first value. The U-phase deemed current value using the sensor value IuA is used.

(1−3)電流センサ監視処理
次に、図3に例示したような動作を実現するために制御装置13が実行する電流センサ監視処理について、図4を用いて説明する。制御装置13は、起動後、各電流センサを監視すべき所定の監視期間中、図4の電流センサ監視処理を所定の制御周期で繰り返し実行する。電流センサ監視処理は、制御装置13において実際には、前述のCPUにより、メモリに記憶されている電流センサ監視処理のプログラムに従って実行される。
(1-3) Current Sensor Monitoring Process Next, the current sensor monitoring process executed by the control device 13 to realize the operation illustrated in FIG. 3 will be described with reference to FIG. After activation, the control device 13 repeatedly executes the current sensor monitoring process of FIG. 4 in a predetermined control cycle during a predetermined monitoring period in which each current sensor should be monitored. The current sensor monitoring process is actually executed in the control device 13 by the above-described CPU according to the current sensor monitoring process program stored in the memory.

なお、電流センサ監視処理は、U,V,Wの各相毎に個別に実行される。即ち、U相の各電流センサUA,UBを監視対象として実行される電流センサ監視処理と、V相の各電流センサVA,VBを監視対象として実行される電流センサ監視処理と、W相の各電流センサWA,WBを監視対象として実行される電流センサ監視処理とが、例えばマルチタスクとして並列的に実行される。 The current sensor monitoring process is individually executed for each phase of U, V, and W. That is, the current sensor monitoring process executed with each of the U-phase current sensors UA and UB as a monitoring target, the current sensor monitoring process executed with each of the V-phase current sensors VA and VB as a monitoring target, and each of the W-phase The current sensor monitoring process executed with the current sensors WA and WB as the monitoring targets is executed in parallel as, for example, a multitask.

制御装置13は、図4の電流センサ監視処理を開始すると、S110で、第1電流センサの状態が「正常」、「復旧」又は「故障判定中」であって、且つ、第2電流センサの状態も「正常」、「復旧」又は「故障判定中」であるか否か判断する。なお、図4以降の説明において、「第1電流センサ」、「第2電流センサ」とは、処理対象の相に対応した2つの電流センサを意味する。例えば処理対象がU相の場合は、U相第1電流センサUA及びU相第2電流センサUBを意味する。 When the control device 13 starts the current sensor monitoring process of FIG. 4, in S110, the state of the first current sensor is “normal”, “recovery”, or “during failure determination”, and the second current sensor It is determined whether the state is also “normal”, “recovery”, or “during failure determination”. In addition, in the description after FIG. 4, the “first current sensor” and the “second current sensor” mean two current sensors corresponding to the phase to be processed. For example, when the processing target is the U phase, it means the U phase first current sensor UA and the U phase second current sensor UB.

S110で肯定判定された場合はS120に進み、S110で否定判定された場合はS130に進む。
S120では、故障判定処理を実行する。故障判定処理の詳細は図5に示す通りである。制御装置13は、故障判定処理に進むと、S210で、現時点における当該相の各センサ値を取得し、それら各センサ値の比率を算出する。例えば処理対象がU相である場合は、U相第1センサ値IuAとU相第2センサ値IuBの比率を算出する。なお、2つの電流センサのうち状態が「復旧」の電流センサがある場合は、その電流センサについては、センサ値そのものではなく故障補正値を用いる。
If an affirmative decision is made in S110, the operation proceeds to S120, and if a negative decision is made in S110, the operation proceeds to S130.
In S120, a failure determination process is executed. The details of the failure determination process are as shown in FIG. When proceeding to the failure determination process, the control device 13 acquires each sensor value of the relevant phase at the present time and calculates a ratio of each sensor value in S210. For example, when the processing target is the U phase, the ratio between the U phase first sensor value IuA and the U phase second sensor value IuB is calculated. When there is a current sensor whose state is “recovery” out of the two current sensors, the failure correction value is used for the current sensor instead of the sensor value itself.

S220では、S210で算出した比率に基づき、各センサ値が共に正常である否か判断する。具体的に、算出した比率が正規比率に一致するか否か判断する。なお、本実施形態では、正規比率が1:1であるため、S210〜S220では、実際には、各センサ値が一致するか否かを判断する。 In S220, based on the ratio calculated in S210, it is determined whether or not each sensor value is normal. Specifically, it is determined whether the calculated ratio matches the normal ratio. In this embodiment, the normal ratio is 1:1. Therefore, in S210 to S220, it is determined whether or not the sensor values actually match.

S220で、各センサ値が共に正常である場合は、故障判定処理を終了し、図4のS130に進む。なお、各センサ値が共に正常な場合とは、算出した比率が正規比率に一致する場合であり、正規比率が1:1の場合は各センサ値が一致する場合である。 If both sensor values are normal in S220, the failure determination process is terminated, and the process proceeds to S130 in FIG. The case where both sensor values are normal is the case where the calculated ratio matches the normal ratio, and the case where the normal ratio is 1:1 is the case where the sensor values match.

各センサ値が共に正常ではない場合、即ち少なくともどちらか一方が故障している場合は、S230に進む。S230では、変数Xに、次の電流センサの番号を設定する。電流センサ監視処理の開始後、初めてこのS230の処理を行う場合は、変数Xは初期値「1」に設定する。 If both sensor values are not normal, that is, if at least one of them is defective, the process proceeds to S230. In S230, the variable X is set to the number of the next current sensor. When the process of S230 is performed for the first time after the current sensor monitoring process is started, the variable X is set to the initial value “1”.

S240では、当該相の第Xセンサ値を用いて、当該相のみなし電流値を算出する。そして、そのみなし電流値を用いて三相総和値を算出する。例えば処理対象がU相の場合、U相第Xセンサ値を用いてU相みなし電流値を算出し、そのU相みなし電流値と、V相及びW相の各センサ電流値IvA,IvB,IwA,IwBとの総和を三相総和値として算出する。 In S240, the apparent current value of the phase is calculated using the Xth sensor value of the phase. Then, the deemed current value is used to calculate the three-phase sum value. For example, when the processing target is the U-phase, the U-phase X-sensor value is used to calculate the U-phase considered current value, and the U-phase considered current value and each of the V-phase and W-phase sensor current values IvA, IvB, IwA. , IwB is calculated as a three-phase total sum value.

S250では、S240で算出した三相総和値が正常であるか否か、即ち前述の正常条件を満たしているか否かを判断する。三相総和値が正常条件を満たしている場合は、S280に進む。S280では、故障カウンタのカウンタ値(以下、故障カウンタ値)を0にクリアする。S290では、第X電流センサの状態を「正常」に設定する。ただし、現在すでに「復旧」に設定されている場合は、「復旧」の設定を維持する。S290の処理後はS300に進む。 In S250, it is determined whether or not the three-phase sum value calculated in S240 is normal, that is, whether or not the above-described normal condition is satisfied. If the three-phase sum value satisfies the normal condition, the process proceeds to S280. In S280, the counter value of the failure counter (hereinafter, failure counter value) is cleared to 0. In S290, the state of the Xth current sensor is set to "normal". However, if it is already set to "Recovery", the setting of "Recovery" is maintained. After the processing of S290, the process proceeds to S300.

S250で、三相総和値が正常条件を満たしていない場合は、S260に進む。S260では、故障カウンタ値を現在の値から1加算する。S270では、第X電流センサの状態を「故障判定中」に設定する。 If the three-phase total value does not satisfy the normal condition in S250, the process proceeds to S260. In S260, the failure counter value is incremented by 1 from the current value. In S270, the state of the Xth current sensor is set to "during failure determination".

S300では、故障カウンタ値が故障判定閾値以上か否か判断する。故障判定閾値は適宜決めてよく、本実施形態では例えば「12」である。故障カウンタ値が故障判定閾値未満の場合はS320に進む。故障カウンタ値が故障判定閾値以上の場合は、S310に進む。S310では、第X電流センサの状態を「故障」に設定する。 In S300, it is determined whether the failure counter value is greater than or equal to the failure determination threshold value. The failure determination threshold value may be appropriately determined, and is “12” in this embodiment. If the failure counter value is less than the failure determination threshold value, the process proceeds to S320. If the failure counter value is greater than or equal to the failure determination threshold value, the process proceeds to S310. In S310, the state of the Xth current sensor is set to "failure".

S320では、当該相の電流センサ全てについて判定を実施済みか否か、即ち当該相の全ての電流センサのセンサ値に対してS240以下の処理を行ったか否か判断する。当該相の電流センサ全て判定を行った場合は、図4のS130に進む。まだ判定を行っていない電流センサがある場合はS230に戻る。 In S320, it is determined whether or not the determination has been performed for all the current sensors of the phase, that is, whether or not the processing of S240 and the following has been performed on the sensor values of all the current sensors of the phase. When all the current sensors of the phase have been determined, the process proceeds to S130 of FIG. If there is a current sensor that has not been determined yet, the process returns to S230.

例えばまだ第1電流センサまでしか判定を行っていない場合は、S230に戻る。この場合、S230で、変数Xが現在の「1」から、次の電流センサを示す「2」に設定されることになり、これにより、以下のS240では第2電流センサを対象とした処理が行われる。 For example, when the determination has been performed only up to the first current sensor, the process returns to S230. In this case, in S230, the variable X is set from the current "1" to "2" indicating the next current sensor, which allows the second current sensor to be processed in S240 below. Done.

図4のS130では、第1電流センサ及び第2電流センサのうち一方の状態が「故障判定中」又は「故障」であって、且つ他方の状態が「正常」又は「復旧」であるか否か判断する。S130で肯定判定された場合はS140に進む。 In S130 of FIG. 4, whether one of the states of the first current sensor and the second current sensor is “during failure determination” or “fault”, and the other state is “normal” or “recovery”. To judge. If an affirmative decision is made in S130, the operation proceeds to S140.

S140では、波形情報取得処理を実行する。波形情報取得処理の詳細は、図6に示す通りである。制御装置13は、波形情報取得処理に進むと、S410で、ピーク取得処理を行う。 In S140, waveform information acquisition processing is executed. The details of the waveform information acquisition processing are as shown in FIG. When proceeding to the waveform information acquisition process, the control device 13 performs a peak acquisition process in S410.

このピーク取得処理は、当該相の各センサ値それぞれについて、前述のプラスピークとマイナスピークを取得する処理である。制御装置13は、現時点における当該相の各センサ値を取得し、それぞれ、最大値又は最小値のどちらかになっているかどうか判断する。なお、2つの電流センサのうち状態が「復旧」の電流センサがある場合は、その電流センサについては、センサ値そのものではなく故障補正値を対象として、最大値又は最小値のどちらかになっているかどうか判断する。 This peak acquisition process is a process of acquiring the above-mentioned plus peak and minus peak for each sensor value of the phase. The control device 13 acquires each sensor value of the relevant phase at the present time, and determines whether each is the maximum value or the minimum value. If there is a current sensor whose status is "recovery" out of the two current sensors, the current sensor is either the maximum value or the minimum value, not the sensor value itself, but the failure correction value. Judge whether there is.

そして、最大値になっているセンサ値があった場合はそのセンサ値を当該電流センサのプラスピークとして取得し、最小値になっているセンサ値があった場合はそのセンサ値を当該電流センサのマイナスピークとして取得する。取得したプラスピーク又はマイナスピークは、メモリ13bに一時的に保存しておく。 Then, if there is a maximum sensor value, that sensor value is obtained as a plus peak of the current sensor, and if there is a minimum sensor value, that sensor value is obtained. Get as a negative peak. The acquired plus peak or minus peak is temporarily stored in the memory 13b.

S420では、第1電流センサの第1センサ値及び第2電流センサの第2センサ値の双方について、プラスピーク及びマイナスピークの両方が取得された状態になっているか否か、即ちメモリ13bにそれら両方が保存された状態になっているか否かを判断する。まだ取得していないピークがある場合は、電流センサ監視処理を終了する。取得すべきプラスピーク及びマイナスピークを全て取得した状態になっている場合は、S430に進む。 In S420, it is determined whether or not both the positive peak and the negative peak have been acquired for both the first sensor value of the first current sensor and the second sensor value of the second current sensor, that is, they are stored in the memory 13b. Determine if both are in a saved state. If there is a peak that has not been acquired yet, the current sensor monitoring process ends. When all the plus peaks and minus peaks to be acquired are in the acquired state, the process proceeds to S430.

S430では、図3を用いて説明した前述のオフセット誤差Doffの算出方法と同様の方法で、オフセット誤差を算出する。即ち、故障検出電流値としての、「故障判定中」又は「故障」に設定されている電流センサのセンサ値を対象として、そのプラスピーク及びマイナスピークから、前述の方法にてオフセット誤差を算出する。 In S430, the offset error is calculated by the same method as the method of calculating the offset error Doff described above with reference to FIG. That is, the offset error is calculated by the above-mentioned method from the plus and minus peaks of the sensor value of the current sensor set to "during failure determination" or "failure" as the failure detection current value. ..

S440では、図3を用いて説明した前述のゲイン誤差Gdの算出方法と同様の方法で、ゲイン誤差を算出する。具体的に、故障検出電流値としての、「故障判定中」又は「故障」に設定されている電流センサのセンサ値の振幅K1を、当該センサ値のプラスピーク及びマイナスピークから求める。さらに、もう一方の電流センサのセンサ値についても、その振幅K2を、当該センサ値のプラスピーク及びマイナスピークの少なくとも一方を用いて求める。そして、両者の比率、即ちK2/K1を、ゲイン誤差として算出する。 In S440, the gain error is calculated by the same method as the method of calculating the gain error Gd described above with reference to FIG. Specifically, the amplitude K1 of the sensor value of the current sensor set to "during failure determination" or "failure" as the failure detection current value is obtained from the plus peak and the minus peak of the sensor value. Further, for the sensor value of the other current sensor, the amplitude K2 is obtained using at least one of the plus peak and the minus peak of the sensor value. Then, the ratio between them, that is, K2/K1 is calculated as a gain error.

S450では、「故障」状態の電流センサのセンサ値である故障検出電流値に対する、補正処理を開始する。即ち、当該電流センサのセンサ値に対し、以後、当該電流センサが「正常」状態になるか「破棄」状態になるまでは、実際に検出されている故障検出電流値を用いて前述の式(1)により故障補正値を算出する。つまり、当該電流センサは、以後、後述するS460で「復旧判定中」状態に変化し、さらに後述するS580で「復旧」状態に変化することもあるが、そのように状態が変化しても、「正常」状態若しくは「破棄」状態になるまでは、故障検出電流値に対して補正演算を行うことにより故障補正値を算出する。S460では、「故障」状態の電流センサの状態を「復旧判定中」に設定する。 In S450, the correction process is started for the failure detection current value which is the sensor value of the current sensor in the "failure" state. That is, with respect to the sensor value of the current sensor, until the current sensor becomes the “normal” state or the “discard” state, the above-mentioned equation ( The fault correction value is calculated according to 1). That is, the current sensor may change to the “recovery determination in progress” state in S460 to be described later and further to the “recovery” state in S580 to be described later. Until the "normal" state or the "discard" state is reached, the fault correction value is calculated by performing a correction calculation on the fault detection current value. In S460, the state of the current sensor in the "fault" state is set to "restoring determination".

図4に戻って説明を続ける。S130で否定判定された場合は、S150に進む。S150では、第1電流センサ及び第2電流センサのうち一方の状態が「復旧判定中」であって、且つ他方の状態が「正常」又は「復旧」であるか否か判断する。S150で否定判定された場合は電流センサ監視処理を終了する。S150で肯定判定された場合はS160に進む。 Returning to FIG. 4, the description will be continued. When a negative determination is made in S130, the process proceeds to S150. In S150, it is determined whether one state of the first current sensor and the second current sensor is "restoring determination" and the other state is "normal" or "restoring". When a negative determination is made in S150, the current sensor monitoring process ends. If an affirmative decision is made in S150, the operation proceeds to S160.

S160では、復旧/破棄判定処理を実行する。復旧/破棄判定処理の詳細は、図7に示す通りである。制御装置13は、復旧/破棄判定処理に進むと、S510で、現在算出されている故障補正値と正常な電流センサのセンサ値との比率が正規の比率に一致するか否か判断する。例えば図3の動作例の場合は、U相第2故障補正値IuBcとU相第1センサ値IuAと比率が正規比率である1:1に一致するか否か、換言すれば両値の差が閾値以下であるか否か判断する。 In S160, restoration/discard determination processing is executed. Details of the restoration/discard determination processing are as shown in FIG. 7. When the control device 13 proceeds to the restoration/discard determination processing, in S510, it is determined whether or not the ratio between the currently calculated failure correction value and the sensor value of the normal current sensor matches the normal ratio. For example, in the case of the operation example of FIG. 3, whether or not the ratio between the U-phase second failure correction value IuBc and the U-phase first sensor value IuA matches the normal ratio of 1:1, in other words, the difference between the two values. Is less than or equal to the threshold value.

故障補正値と正常な電流センサのセンサ値との比率が正規比率に一致する場合は、S520で、復旧カウンタのカウンタ値(以下、復旧カウンタ値)を現在の値から1加算する。S520の処理後はS550に進む。 When the ratio between the failure correction value and the sensor value of the normal current sensor matches the normal ratio, in S520, the counter value of the recovery counter (hereinafter, recovery counter value) is incremented by 1 from the current value. After the processing of S520, the process proceeds to S550.

S510で、故障補正値と正常な電流センサのセンサ値との比率が正規比率に一致しない場合は、S530で、破棄カウンタのカウンタ値(以下、破棄カウンタ値)を現在の値から1加算する。S540では、復旧カウンタ値を0にクリアする。なお、復旧カウンタ値及び破棄カウンタ値の初期値は、いずれも0である。 If the ratio between the failure correction value and the sensor value of the normal current sensor does not match the normal ratio in S510, the counter value of the discard counter (hereinafter, discard counter value) is incremented by 1 in S530. In S540, the recovery counter value is cleared to 0. The initial values of the recovery counter value and the discard counter value are both 0.

S540で復旧カウンタ値をクリアする処理は、省いてもよい。逆に、S520で復旧カウンタ値を1加算する前後どちらかで、破棄カウンタ値を0にクリアするようにしてもよい。 The process of clearing the recovery counter value in S540 may be omitted. On the contrary, the discard counter value may be cleared to 0 before or after the recovery counter value is incremented by 1 in S520.

S550では、破棄カウンタ値が破棄閾値以上であるか否か判断する。破棄カウンタ値が破棄閾値以上の場合は、S560で、「復旧判定中」状態の電流センサの状態を「破棄」に設定する。 In S550, it is determined whether the discard counter value is equal to or greater than the discard threshold. If the discard counter value is equal to or greater than the discard threshold value, the state of the current sensor in the “restoring determination” state is set to “discard” in S560.

S550で、破棄カウンタ値が破棄閾値未満の場合は、S570で、復旧カウンタ値が復旧閾値以上であるか否か判断する。復旧カウンタ値が復旧閾値以上でない場合は電流センサ監視処理を終了する。復旧カウンタ値が復旧閾値以上である場合は、S580で、「復旧判定中」状態の電流センサの状態を「復旧」に設定する。 If the discard counter value is less than the discard threshold value in S550, it is determined in S570 whether or not the recovery counter value is greater than or equal to the recovery threshold value. If the restoration counter value is not greater than or equal to the restoration threshold value, the current sensor monitoring process ends. If the restoration counter value is equal to or greater than the restoration threshold value, the state of the current sensor in the “restoring determination” state is set to “restoration” in S580.

(1−4)相電流算出処理
次に、制御装置13が実行する相電流算出処理について、図8を用いて説明する。制御装置13は、起動後、各相の電流値を検出すべき所定の電流検出期間中、図8の相電流算出処理を所定の制御周期で繰り返し実行する。相電流算出処理は、制御装置13において実際には、前述のCPUにより、メモリに記憶されている相電流算出処理のプログラムに従って実行される。
(1-4) Phase Current Calculation Process Next, the phase current calculation process executed by the control device 13 will be described with reference to FIG. 8. After activation, the control device 13 repeatedly executes the phase current calculation process of FIG. 8 in a predetermined control cycle during a predetermined current detection period in which the current value of each phase should be detected. The phase current calculation process is actually executed in the control device 13 by the above-described CPU according to the program of the phase current calculation process stored in the memory.

なお、相電流算出処理は、U,V,Wの各相毎に個別に実行される。即ち、U相電流を算出するための相電流算出処理と、V相電流を算出するための相電流算出処理と、W相電流を算出するための相電流算出処理とが、例えばマルチタスクとして並列的に実行される。 The phase current calculation process is individually executed for each of the U, V, and W phases. That is, the phase current calculation process for calculating the U-phase current, the phase current calculation process for calculating the V-phase current, and the phase current calculation process for calculating the W-phase current are performed in parallel as multitasks, for example. Will be executed.

制御装置13は、図8の相電流算出処理を開始すると、S610で、第1電流センサ及び第2電流センサの状態について、共に「正常」であるか、又は、一方が「正常」で他方が「正常」から「故障判定中」に設定変更されている状態であるかどうか、判断する。なお、「正常」から「故障判定中」に設定変更されている状態、とは、現在は「故障判定中」であって、その「故障判定中」に切り替わる前の状態が「正常」であったことを意味している。 When the control device 13 starts the phase current calculation process in FIG. 8, in S610, the states of the first current sensor and the second current sensor are both “normal”, or one is “normal” and the other is “normal”. It is determined whether the setting is changed from "normal" to "during failure determination". The state in which the setting is changed from "normal" to "during failure determination" is currently "during failure determination", and the state before switching to "during failure determination" is "normal". It means that.

S610で肯定判定された場合は、S620に進む。S620では、各センサ値の和を、当該相の電流値として算出する。つまり、例えばU相の場合、U相第1センサ値IuAとU相第2センサ値IuBとの和を、U相電流値Iuとして算出する。 If an affirmative decision is made in S610, the operation proceeds to S620. In S620, the sum of the sensor values is calculated as the current value of the phase. That is, for example, in the case of the U phase, the sum of the U phase first sensor value IuA and the U phase second sensor value IuB is calculated as the U phase current value Iu.

S610で否定判定された場合は、S630に進む。S630では、第1電流センサ及び第2電流センサの状態について、一方が「正常」であって、他方が、「故障」、「復旧判定中」又は「破棄」であるかどうか、判断する。 When a negative determination is made in S610, the process proceeds to S630. In S630, it is determined whether or not one of the states of the first current sensor and the second current sensor is “normal” and the other is “fault”, “recovery determination in progress”, or “discard”.

S630で肯定判定された場合は、S640に進む。S640では、状態が「故障」、「復旧判定中」又は「破棄」の電流センサのセンサ値は無効とし、それ以外の状態の電流センサのセンサ値を用いた前述の補間演算にて当該相の電流値を算出する。図3の動作例において、時刻t4〜t8の間でU相第1センサ値IuAの2倍の値をU相電流値Iuとして算出する処理が、S640の処理に対応している。 If an affirmative decision is made in S630, the operation proceeds to S640. In S640, the sensor value of the current sensor whose status is "fault", "recovery determination in progress" or "discard" is invalidated, and the phase of the relevant phase is calculated by the above-described interpolation calculation using the sensor value of the current sensor in any other status. Calculate the current value. In the operation example of FIG. 3, the process of calculating a value twice the U-phase first sensor value IuA as the U-phase current value Iu between times t4 and t8 corresponds to the process of S640.

S630で否定判定された場合は、状態が「正常」ではない方の電流センサのセンサ値を故障補正値に代える。そして、当該故障補正値と「正常」状態の電流センサのセンサ値との和を、当該相の電流値として算出する。図3の動作例において、時刻t8以降でU相第1センサ値IuAとU相第2故障補正値IuBcとの和をU相電流値Iuとして算出する処理が、S650の処理に対応している。 When a negative determination is made in S630, the sensor value of the current sensor whose state is not “normal” is replaced with the failure correction value. Then, the sum of the failure correction value and the sensor value of the current sensor in the “normal” state is calculated as the current value of the phase. In the operation example of FIG. 3, the process of calculating the sum of the U-phase first sensor value IuA and the U-phase second failure correction value IuBc as the U-phase current value Iu after time t8 corresponds to the process of S650. ..

(1−5)実施形態の効果
以上説明した実施形態によれば、以下の(1a)〜(1)の効果を奏する。
(1a)本実施形態では、相毎に、2つの分岐経路に設けられた各電流センサの各検出電流値の比率に基づいて、各電流センサが共に正常か否か判断する。そして、2つの電流センサのうちどちらかが故障している場合は、どちらが故障しているかを特定する。具体的に、一方の電流センサのセンサ値を当該電流センサが設けられた分岐経路の分岐割合で除算してみなし電流値を算出し、そのみなし電流値と、他の二相の各センサ値との三相総和値を算出する。そして、三相総和値が正常条件を満たしていない場合、当該一方の電流センサの故障を判定する。
(1-5) Effects of the Embodiment According to the embodiment described above, the following effects (1a) to (1) are achieved.
(1a) In the present embodiment, it is determined for each phase whether or not each current sensor is normal based on the ratio of the detected current value of each current sensor provided in the two branch paths. Then, if either one of the two current sensors has failed, which one has failed is specified. Specifically, the current value is calculated by dividing the sensor value of one current sensor by the branch ratio of the branch path provided with the current sensor, and the deemed current value and the other two-phase sensor values are calculated. Calculate the three-phase sum value of. Then, when the three-phase total sum value does not satisfy the normal condition, the failure of the one current sensor is determined.

そのため、何れかの電流センサが故障した場合に、その故障した電流センサを迅速且つ的確に検出することができる。
(1b)三相総和値が正常条件を満たしていないことをもって直ぐに故障判定するのではなく、三相総和値が正常条件を満たしていない状態が連続して故障判定閾値以上継続した場合に、正式に故障と判定する。そのため、故障の判定を精度良く行うことができる。
Therefore, when any one of the current sensors fails, the failed current sensor can be detected quickly and accurately.
(1b) Instead of immediately determining a failure due to the fact that the three-phase sum value does not satisfy the normal condition, when the state in which the three-phase sum value does not satisfy the normal condition continues for more than the failure determination threshold, It is determined to be a failure. Therefore, it is possible to accurately determine the failure.

(1c)一方の電流センサが故障と正式判定された場合、その故障電流センサのセンサ値自体は無効とする。そして、その故障電流センサが設けられた分岐バーの電流値としては、実際のセンサ値に代えて、故障電流センサのセンサ値を用いた補正演算により得られる故障補正値を用いる。 (1c) If one of the current sensors is officially determined to be faulty, the sensor value of the fault current sensor is invalidated. Then, as the current value of the branch bar provided with the fault current sensor, a fault correction value obtained by a correction calculation using the sensor value of the fault current sensor is used instead of the actual sensor value.

また、補正演算を行う際、事前にオフセット誤差及びゲイン誤差の算出処理を行う。そして、オフセット誤差及びゲイン誤差が得られたら、以後、それらを用いて補正演算を行う。 Further, when performing the correction calculation, the offset error and the gain error are calculated in advance. Then, after the offset error and the gain error are obtained, the correction calculation is performed using them.

そのため、何れかの電流センサが故障しても、その故障した電流センサのセンサ値については補正演算により故障補正値に補正されるため、その故障補正値を用いて当該相の電流値を精度良く算出することができる。 Therefore, even if any of the current sensors fails, the sensor value of the failed current sensor is corrected to the failure correction value by the correction calculation, and therefore the current value of the phase is accurately measured using the failure correction value. It can be calculated.

(1d)一方の電流センサが故障と正式判定された場合、補正演算用のオフセット誤差及びゲイン誤差が得られるまでの間は、他方の正常な電流センサのセンサ値を用いた補間演算によって当該相の電流値が算出される。そのため、オフセット誤差及びゲイン誤差が得られるまでの間も、当該相の電流値の算出結果を実用上問題ないレベルに維持することができる。 (1d) When one of the current sensors is officially determined to be defective, until the offset error and the gain error for the correction calculation are obtained, the phase is calculated by the interpolation calculation using the sensor value of the other normal current sensor. The current value of is calculated. Therefore, until the offset error and the gain error are obtained, the calculation result of the current value of the phase can be maintained at a level where there is no practical problem.

(1e)オフセット誤差及びゲイン誤差が得られて故障補正値を算出できる状態になっても、すぐにはその故障補正値を当該相の電流値の算出に用いず、故障補正値が実用上問題ない精度であるかどうかを確認する。具体的に、故障補正値と正常なセンサ値との差が閾値以下であるかどうか判断する。そして、当該差が閾値以下であるとの判断が連続して故障判定閾値回以上継続した場合に、故障補正値が実用上問題ない値であると判断して、以後、その故障補正値を用いて当該相の電流値を算出する。そのため、故障補正値を用いて算出される相電流の信頼性を向上できる。 (1e) Even if the offset error and the gain error are obtained and the failure correction value can be calculated, the failure correction value is not immediately used for calculating the current value of the phase, and the failure correction value is a practical problem. Check if there is no precision. Specifically, it is determined whether the difference between the failure correction value and the normal sensor value is less than or equal to the threshold value. Then, when the determination that the difference is less than or equal to the threshold value continues continuously for the failure determination threshold value times or more, the failure correction value is determined to be a value that causes no practical problem, and thereafter, the failure correction value is used. To calculate the current value of the phase. Therefore, the reliability of the phase current calculated using the failure correction value can be improved.

(1−6)特許請求の範囲の文言との対応関係
ここで、実施形態の文言と特許請求の範囲の文言との対応関係について説明する。制御装置13は電流検出装置に相当する。インバータ12は駆動回路に相当する。各相のバスバー21,22,23は供給経路に相当する。各分岐バー21a,21b,22a,22b,23a,23bは分岐経路に相当する。
(1-6) Correspondence between Claims and Claims Here, the correspondence between the wording of the embodiment and the claims will be described. The control device 13 corresponds to a current detection device. The inverter 12 corresponds to a drive circuit. The bus bars 21, 22, 23 of each phase correspond to the supply path. Each branch bar 21a, 21b, 22a, 22b, 23a, 23b corresponds to a branch path.

図5のS210〜S220の処理は正常判断部の処理に相当する。図5のS240の処理は三相総和算出部の処理に相当する。図5のS250、S310の処理は故障判定部の処理に相当する。図6のS410の処理は故障側ピーク取得部及び正常側ピーク取得部の処理に相当する。図6のS430の処理はオフセット誤差算出部の処理に相当する。図6のS440の処理はゲイン誤差算出部の処理に相当する。図6のS450の処理は故障補正値算出部の処理に相当する。図7のS510の処理は補正結果判断部の処理に相当する。図8のS640、S650の処理は異常相電流算出部の処理に相当する。 The processing of S210 to S220 in FIG. 5 corresponds to the processing of the normality determining unit. The process of S240 in FIG. 5 corresponds to the process of the three-phase total sum calculation unit. The processing of S250 and S310 of FIG. 5 corresponds to the processing of the failure determination unit. The process of S410 of FIG. 6 corresponds to the process of the fault side peak acquisition unit and the normal side peak acquisition unit. The process of S430 in FIG. 6 corresponds to the process of the offset error calculation unit. The process of S440 in FIG. 6 corresponds to the process of the gain error calculation unit. The process of S450 of FIG. 6 corresponds to the process of the failure correction value calculation unit. The process of S510 in FIG. 7 corresponds to the process of the correction result determination unit. The processing of S640 and S650 in FIG. 8 corresponds to the processing of the abnormal phase current calculation unit.

[2.他の実施形態]
以上、本開示の実施形態について説明したが、本開示は上述の実施形態に限定されることなく、種々変形して実施することができる。
[2. Other Embodiments]
Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments, and various modifications can be implemented.

(2−1)各相それぞれ、バスバーの分岐数、即ち分岐バーの数は、適宜決めてもよい。即ち、上記実施形態では、分岐バーを2つ有する2分岐の構成であったが、3分岐以上であってもよい。 (2-1) The number of branching of the bus bar for each phase, that is, the number of branching bars may be appropriately determined. That is, in the above embodiment, the two-branch configuration has two branch bars, but three or more branches may be used.

(2−2)各相全て分岐数を一致させる必要性はない。例えば、U相は2分岐にしてV相及びW相は3分岐にしたり、相毎に分岐数を異ならせたりするなど、各相の分岐数は適宜決めてもよい。 (2-2) It is not necessary to match the number of branches for each phase. For example, the number of branches of each phase may be appropriately determined such that the U phase has two branches and the V phase and the W phase have three branches, or the number of branches is different for each phase.

(2−3)各相それぞれ、当該相における複数の分岐経路の分岐割合は適宜決めてよい。例えば2分岐の場合、上記実施形態のように二等分に分岐させることに限らず、一方の分岐割合を50%未満とし、他方の分岐割合を50%より大きくするようにしてもよい。 (2-3) For each phase, the branch ratios of the plurality of branch paths in the phase may be appropriately determined. For example, in the case of bifurcation, the bifurcation is not limited to bisection as in the above embodiment, and one bifurcation ratio may be less than 50% and the other bifurcation ratio may be greater than 50%.

(2−4)分岐数が3つ以上である場合であって、各分岐バーの各電流センサのうち1つが故障と判定された場合、みなし電流値の算出は、故障と判定されていない他の2つ以上の電流センサのセンサ値を適宜用いて算出してもよい。例えば、故障と判定されていない他の2つ以上の電流センサの各センサ値のうち、何れか1つのみを用いてみなし電流値を算出してもよいし、何れか2つ以上を用いてみなし電流値を算出してもよい。 (2-4) When the number of branches is three or more, and when one of the current sensors of each branch bar is determined to be in failure, the deemed current value is not determined to be in failure. It may be calculated by appropriately using the sensor values of the two or more current sensors. For example, the deemed current value may be calculated by using only one of the sensor values of the other two or more current sensors that are not determined to be faulty, or by using any two or more of them. The deemed current value may be calculated.

何れか2つ以上を用いてみなし電流値を算出する場合の算出要領は、例えば次の通りである。即ち、みなし電流の算出に用いる2つ以上のセンサ値をそれぞれ、対応する分岐割合で除算する。そして、各除算結果の和を、みなし電流値とする。 The calculation procedure in the case of calculating the considered current value using any two or more is as follows, for example. That is, each of the two or more sensor values used to calculate the deemed current is divided by the corresponding branch ratio. Then, the sum of the division results is set as the deemed current value.

(2−5)本開示の技術を適用可能なモータは、上記実施形態で例示した、界磁として永久磁石を有する同期モータに限定されない。本開示は、3相電流により動作可能な各種の三相モータに対して適用可能である。 (2-5) The motor to which the technique of the present disclosure can be applied is not limited to the synchronous motor having the permanent magnet as the field magnet, which is exemplified in the above embodiment. The present disclosure can be applied to various three-phase motors that can operate with three-phase current.

(2−6)三相総和値に基づくS250の判断処理で、同じ相の電流センサが全て「故障」状態となる可能性がある。その場合、制御装置13は、当該相の電流値については少なくとも当該相のセンサ値を用いては算出せず、当該相以外の他の二相の各センサ値を用いてモータ10を制御するようにしてもよい。 (2-6) In the determination processing of S250 based on the three-phase sum value, all the current sensors of the same phase may be in the "failure" state. In that case, the control device 13 does not calculate the current value of the phase using at least the sensor value of the phase, and controls the motor 10 using the sensor values of the two phases other than the phase. You may

(2−7)電流センサが貫通型であることはあくまでも一例であり、電流センサとしてどのような種類のものを用いるかについては適宜決めてもよい。
(2−8)上記実施形態における1つの構成要素が有する複数の機能を、複数の構成要素によって実現したり、1つの構成要素が有する1つの機能を、複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を、1つの構成要素によって実現したり、複数の構成要素によって実現される1つの機能を、1つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加又は置換してもよい。なお、特許請求の範囲に記載した文言から特定される技術思想に含まれるあらゆる態様が本開示の実施形態である。
(2-7) The fact that the current sensor is a through type is merely an example, and what kind of current sensor may be used may be appropriately determined.
(2-8) By implementing a plurality of functions of one component in the above embodiment by a plurality of components, or by implementing a single function of one component by a plurality of components Good. Further, a plurality of functions of a plurality of constituent elements may be realized by one constituent element, or one function realized by a plurality of constituent elements may be realized by one constituent element. Moreover, you may omit a part of structure of the said embodiment. Further, at least a part of the configuration of the above-described embodiment may be added or replaced with the configuration of the other above-described embodiment. Note that all aspects included in the technical idea specified by the wording recited in the claims are embodiments of the present disclosure.

1…モータ駆動装置、10…モータ、11…バッテリ、12…インバータ、13…制御装置、13a…CPU、13b…メモリ、21…U相バスバー、21a…U相第1分岐バー、21b…U相第2分岐バー、22…V相バスバー、22a…V相第1分岐バー、22b…V相第2分岐バー、23…W相バスバー、23a…W相第1分岐バー、23b…W相第2分岐バー、UA…U相第1電流センサ、UB…U相第2電流センサ、VA…V相第1電流センサ、VB…V相第2電流センサ、WA…W相第1電流センサ、WB…W相第2電流センサ。 DESCRIPTION OF SYMBOLS 1... Motor drive device, 10... Motor, 11... Battery, 12... Inverter, 13... Control device, 13a... CPU, 13b... Memory, 21... U phase bus bar, 21a... U phase 1st branch bar, 21b... U phase Second branch bar, 22... V-phase bus bar, 22a... V-phase first branch bar, 22b... V-phase second branch bar, 23... W-phase bus bar, 23a... W-phase first branch bar, 23b... W-phase second Branch bar, UA... U-phase first current sensor, UB... U-phase second current sensor, VA... V-phase first current sensor, VB... V-phase second current sensor, WA... W-phase first current sensor, WB... W-phase second current sensor.

Claims (5)

モータ(10)へ三相電流を供給する駆動回路(12)から前記モータに至る各相毎の電流の供給経路(21,22,23)それぞれに、当該相の電流を所定の分岐割合で複数に分岐させて再び合流させるように構成された複数の分岐経路(21a,21b,22a,22b,23a,23b)が設けられ、前記分岐経路毎に当該分岐経路を流れる電流を検出する電流センサ(UA,UB,VA,VB,WA,WB)が設けられたモータ駆動装置(1)において用いられ、各相それぞれ、当該相の前記複数の分岐経路に設けられた各前記電流センサにより検出された電流の値である検出電流値の総和を当該相の電流値として検出するよう構成された電流検出装置(13)であって、
各相それぞれ、当該相の前記複数の分岐経路に設けられた各前記電流センサによる各前記検出電流値の比率と、当該相における前記分岐割合の比率とに基づいて、当該相の前記複数の分岐経路に設けられた各前記電流センサが全て正常か否か判断する正常判断部(13,S210,S220)と、
前記正常判断部により何れか1つの相について全て正常ではないと判断された場合に、当該判断された相である異常相における前記電流センサ毎に、当該電流センサの前記検出電流値を当該電流センサが設けられた前記分岐経路の前記分岐割合で除算した値である異常相みなし電流値と、前記異常相以外の他の2つの相における各前記電流センサの各前記検出電流値との総和である、三相総和値を算出する三相総和算出部(13,S240)と、
前記三相総和算出部により算出された前記三相総和値が特定の正常条件を満たしていない場合に、当該三相総和値に含まれる前記異常相みなし電流値の算出に用いられた前記検出電流値を検出した前記電流センサの故障を判定する故障判定部(13,S250,S310)と、
を備える、電流検出装置。
A plurality of currents of the phase are provided in a predetermined branch ratio in each of the current supply paths (21, 22, 23) for each phase from the drive circuit (12) that supplies the three-phase current to the motor (10) to the motor. A plurality of branch paths (21a, 21b, 22a, 22b, 23a, 23b) configured to be branched and rejoined are provided, and a current sensor (current sensor for detecting a current flowing through the branch path for each of the branch paths ( UA, UB, VA, VB, WA, WB) used in the motor drive device (1), and each phase is detected by each of the current sensors provided in the plurality of branch paths of the phase. A current detecting device (13) configured to detect a sum of detected current values, which are current values, as a current value of the phase,
Each of the phases, based on the ratio of the detected current value by each of the current sensors provided in the plurality of branch paths of the phase, and the ratio of the branch ratio in the phase, the plurality of branches of the phase. A normality determination unit (13, S210, S220) for determining whether or not all the current sensors provided on the path are normal;
When the normality determining unit determines that all of the phases are not normal, the detected current value of the current sensor is set to the current sensor for each of the current sensors in the abnormal phase that is the determined phase. Is a sum of an abnormal phase deemed current value that is a value divided by the branching ratio of the branching path provided with, and each of the detected current values of each of the current sensors in two phases other than the abnormal phase. , A three-phase total sum calculation unit (13, S240) for calculating a three-phase total sum value,
When the three-phase sum total value calculated by the three-phase sum total calculation unit does not satisfy a specific normal condition, the detected current used in the calculation of the abnormal phase deemed current value included in the three-phase sum total value A failure determination unit (13, S250, S310) that determines a failure of the current sensor that has detected a value;
A current detection device comprising:
請求項1に記載の電流検出装置であって、
前記故障判定部により前記電流センサの故障が判定された場合、当該故障と判定された前記電流センサによる前記検出電流値を無効とし、前記異常相における各前記検出電流値のうち前記無効とした検出電流値以外の他の前記検出電流値の少なくとも1つ、及びその少なくとも1つの検出電流値を検出した前記電流センサが設けられている前記分岐経路の前記分岐割合に基づいて、前記異常相の電流値を算出する異常相電流算出部(13,S640)を備える、電流検出装置。
The current detection device according to claim 1, wherein
When a failure of the current sensor is determined by the failure determination unit, the detected current value by the current sensor that is determined to be the failure is invalidated, and detection is made invalid among the detected current values in the abnormal phase. At least one of the other detected current values other than the current value, and the current of the abnormal phase based on the branch ratio of the branch path provided with the current sensor detecting the at least one detected current value. An electric current detection device provided with the abnormal phase electric current calculation part (13, S640) which calculates a value.
請求項1に記載の電流検出装置であって、
前記故障判定部により前記電流センサの故障が判定された場合、前記異常相における当該故障と判定された前記電流センサを故障電流センサとして、前記故障電流センサによる前記検出電流値である故障検出電流値について、周期的に増減する過程における最大値及び最小値を取得する故障側ピーク取得部(13,S410)と、
前記異常相における前記故障電流センサ以外の他の少なくとも1つの前記電流センサを正常電流センサとして、前記正常電流センサによる前記検出電流値である正常検出電流値について、周期的に増減する過程における最大値及び最小値の少なくとも1つを取得する正常側ピーク取得部(13,S410)と、
前記正常側ピーク取得部により取得された前記正常検出電流値の前記最大値及び前記最小値の少なくとも1つに基づく前記正常検出電流値の振幅に、前記故障電流センサが設けられた前記分岐経路の前記分岐割合と前記正常電流センサが設けられた前記分岐経路の前記分岐割合との比率を乗算した値を、前記故障電流センサにより本来検出されるべき電流の振幅である故障側正規振幅として、前記故障側正規振幅と、前記故障側ピーク取得部により取得された前記故障検出電流値の前記最大値及び前記最小値に基づく実際の前記故障検出電流値の振幅と、の比率であるゲイン誤差を算出するゲイン誤差算出部(13,S440)と、
前記故障側ピーク取得部により取得された前記故障検出電流値の前記最大値及び前記最小値に基づく前記故障検出電流値の振幅中心値と前記正常検出電流値の振幅中心値との差であるオフセット誤差を算出するオフセット誤差算出部(13,S430)と、
前記故障検出電流値に、前記オフセット誤差算出部により算出された前記オフセット誤差を加算し、さらにその加算結果に対し、前記ゲイン誤差算出部により算出された前記ゲイン誤差を乗算することにより、故障補正値を算出する故障補正値算出部(13,S450)と、
記故障補正値算出部により前記故障補正値が算出された場合、その算出された前記故障補正値と、前記異常相における前記故障電流センサ以外の他の各前記電流センサによる前記検出電流値との総和を、前記異常相の電流値として算出する異常相電流算出部(S650)と
を備える電流検出装置。
The current detection device according to claim 1 , wherein
When the failure determination unit determines a failure of the current sensor, the current sensor determined to be the failure in the abnormal phase is used as a failure current sensor, and the failure detection current value that is the detection current value by the failure current sensor. The failure-side peak acquisition unit (13, S410) that acquires the maximum value and the minimum value in the process of increasing and decreasing periodically.
The maximum value in the process of periodically increasing or decreasing the normal detection current value that is the detection current value by the normal current sensor, using at least one current sensor other than the fault current sensor in the abnormal phase as the normal current sensor. And a normal-side peak acquisition unit (13, S410) that acquires at least one of the minimum value and
The amplitude of the normal detection current value based on at least one of the maximum value and the minimum value of the normal detection current value acquired by the normal-side peak acquisition unit, in the branch path provided with the fault current sensor The value obtained by multiplying the ratio of the branch ratio and the branch ratio of the branch path provided with the normal current sensor, as the fault side normal amplitude which is the amplitude of the current that should be originally detected by the fault current sensor, Calculate a gain error that is a ratio between the fault-side normal amplitude and the actual amplitude of the fault-detection current value based on the maximum value and the minimum value of the fault-detection current value acquired by the fault-side peak acquisition unit. A gain error calculation unit (13, S440)
Offset that is the difference between the amplitude center value of the failure detection current value and the normal value of the normal detection current value based on the maximum value and the minimum value of the failure detection current value acquired by the failure side peak acquisition unit An offset error calculation unit (13, S430) for calculating an error;
The fault correction is performed by adding the offset error calculated by the offset error calculation unit to the fault detection current value, and further multiplying the addition result by the gain error calculated by the gain error calculation unit. A failure correction value calculation unit (13, S450) for calculating a value,
If the fault correction value is calculated by the previous SL fault correction value calculation unit, and the fault correction value, thus calculated, and the detected current value by each of the other said current sensor other than the fault current sensor in the abnormality phase An abnormal phase current calculation unit (S650) for calculating the sum of the above as an abnormal phase current value;
A current detection device comprising.
請求項3に記載の電流検出装置であって、
前記故障補正値算出部により前記故障補正値が算出された場合に、前記故障補正値と、前記異常相における前記故障電流センサ以外の他の前記電流センサによる前記検出電流値との比率が、対応する前記分岐割合の比率に一致するか否かを判断する補正結果判断部(13,S510)を備え、
前記異常相電流算出部は、前記補正結果判断部により一致すると判断された場合に、前記故障補正値と、前記異常相における前記故障電流センサ以外の他の各前記電流センサによる前記検出電流値の総和を、前記異常相の電流値として算出する、
電流検出装置。
The current detection device according to claim 3,
When the failure correction value is calculated by the failure correction value calculation unit, the ratio of the failure correction value and the current value detected by the current sensor other than the failure current sensor in the abnormal phase corresponds to A correction result determination unit (13, S510) for determining whether or not the ratio of the branching ratio
The abnormal phase current calculation unit, when it is determined by the correction result determination unit to match, the failure correction value and the detected current value of each of the current sensors other than the failure current sensor in the abnormal phase Calculating the sum as the current value of the abnormal phase,
Current detection device.
請求項1〜請求項4の何れか1項に記載の電流検出装置であって、
各相いずれも、前記分岐経路は2つであり、
各相いずれも、2つの前記分岐経路は、当該相の電流が二等分されて分岐するように構成されている、
電流検出装置。
The current detection device according to any one of claims 1 to 4,
In each of the phases, there are two branch paths,
In each of the phases, the two branch paths are configured so that the current of the phase is divided into two and branched.
Current detection device.
JP2016218915A 2016-11-09 2016-11-09 Current detector Active JP6717166B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016218915A JP6717166B2 (en) 2016-11-09 2016-11-09 Current detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016218915A JP6717166B2 (en) 2016-11-09 2016-11-09 Current detector

Publications (2)

Publication Number Publication Date
JP2018077130A JP2018077130A (en) 2018-05-17
JP6717166B2 true JP6717166B2 (en) 2020-07-01

Family

ID=62150157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016218915A Active JP6717166B2 (en) 2016-11-09 2016-11-09 Current detector

Country Status (1)

Country Link
JP (1) JP6717166B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110907690A (en) * 2018-09-17 2020-03-24 北京恒源力创电力技术有限公司 Box-type substation low-voltage longitudinal flow device
JP7167804B2 (en) * 2019-03-26 2022-11-09 株式会社デンソー power converter
DE102020118637B3 (en) * 2020-07-15 2022-01-13 Isabellenhütte Heusler Gmbh & Co. Kg Current measuring device with redundant current measurement

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57106868A (en) * 1980-12-24 1982-07-02 Hitachi Ltd Current measuring device
JP2005094912A (en) * 2003-09-17 2005-04-07 Suzuki Motor Corp Current sensor failure detection device
JP4877397B2 (en) * 2010-01-22 2012-02-15 株式会社デンソー Current sensor abnormality diagnosis device and sensor abnormality diagnosis device
JP5984166B2 (en) * 2015-02-25 2016-09-06 三菱電機株式会社 Electric motor control device

Also Published As

Publication number Publication date
JP2018077130A (en) 2018-05-17

Similar Documents

Publication Publication Date Title
JP5353867B2 (en) Rotating machine control device
EP2725705A1 (en) Motor control device and electric power steering device using same
JP6257689B2 (en) Synchronous machine controller
EP3439163B1 (en) Power converter
CN101841298B (en) Control device of three-phase synchronous motor with wiring error detection function
JP5664928B2 (en) Rotating electrical machine control device
JP2015192582A (en) Current sensor failure detection device
US11005405B2 (en) Rotating-electric-machine control apparatus and electric power steering control apparatus equipped with the rotating-electric-machine control apparatus
JP6717166B2 (en) Current detector
TWI646769B (en) Control device of electric power converter and electric vehicle
US20180323613A1 (en) Electric motor control device
JP2012222881A (en) Brushless motor and control method therefor
JP5263067B2 (en) Inverter failure detection device
JP2007282299A (en) Fault diagnosis device for voltage sensor
JP6711241B2 (en) Current detector
JP2010220384A (en) Device for control of rotary electric machine
JP6173003B2 (en) Power converter
JP6711240B2 (en) Current detector
JP2010259210A (en) Rotating electrical machine control device
JP5473071B2 (en) Load control device
JP2017028966A (en) Current sensor abnormality diagnostic device
CN111771330B (en) motor control device
JP7006428B2 (en) Motor control device
US12531501B2 (en) Power conversion device and drive device
Li et al. Current and rotor position sensor fault detection and isolation for permanent magnet synchronous generators in wind applications

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191220

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: 20200512

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200525

R151 Written notification of patent or utility model registration

Ref document number: 6717166

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250