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
JP7578045B2 - Motor Control Device - Google Patents
[go: Go Back, main page]

JP7578045B2 - Motor Control Device - Google Patents

Motor Control Device Download PDF

Info

Publication number
JP7578045B2
JP7578045B2 JP2021058852A JP2021058852A JP7578045B2 JP 7578045 B2 JP7578045 B2 JP 7578045B2 JP 2021058852 A JP2021058852 A JP 2021058852A JP 2021058852 A JP2021058852 A JP 2021058852A JP 7578045 B2 JP7578045 B2 JP 7578045B2
Authority
JP
Japan
Prior art keywords
current
axis
unit
voltage
motor
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
JP2021058852A
Other languages
Japanese (ja)
Other versions
JP2022155392A (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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP2021058852A priority Critical patent/JP7578045B2/en
Publication of JP2022155392A publication Critical patent/JP2022155392A/en
Application granted granted Critical
Publication of JP7578045B2 publication Critical patent/JP7578045B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)

Description

本開示は、モータ制御装置に関する。 This disclosure relates to a motor control device.

モータの駆動を制御するモータ制御装置は、モータに印加される3相の交流電圧(以下では「3相電圧」と呼ぶことがある)を生成するスイッチングモジュールを有する。スイッチングモジュールは、複数のスイッチング素子から構成される。スイッチングモジュールは、インバータと呼ばれることもある。 A motor control device that controls the drive of a motor has a switching module that generates a three-phase AC voltage (hereinafter sometimes referred to as a "three-phase voltage") that is applied to the motor. The switching module is composed of multiple switching elements. The switching module is sometimes called an inverter.

また、モータ制御装置に対してベクトル制御を用いる場合、モ-タ制御装置は、モータの回転速度が速度指令値(目標速度)に一致するようにd軸電流指令値及びq軸電流指令値を生成し、d軸電流指令値及びq軸電流指令値からd軸電圧指令値及びq軸電圧指令値を生成する。さらに、モータ制御装置は、d軸電圧指令値及びq軸電圧指令値を3相の電圧指令値へ変換する。 When vector control is used for the motor control device, the motor control device generates a d-axis current command value and a q-axis current command value so that the motor rotation speed matches the speed command value (target speed), and generates a d-axis voltage command value and a q-axis voltage command value from the d-axis current command value and the q-axis current command value. Furthermore, the motor control device converts the d-axis voltage command value and the q-axis voltage command value into three-phase voltage command values.

3相の電圧指令値に基づいてスイッチングモジュールを制御する技術としてPWM(Pulse Width Modulation)が知られている。PWMは、スイッチングモジュールを構成する複数のスイッチング素子のオン/オフ時間の長さを調節することによりスイッチングモジュールの出力電圧(つまり、3相電圧)を変化させる技術である。スイッチング素子のオン/オフを制御する信号(以下では「PWM信号」と呼ぶことがある)は、PWMの搬送波であるキャリア信号と比較値との比較結果に基づいて生成される。PWM信号に応じてスイッチング素子のオン/オフが制御されることにより、モータに3相電圧が印加されてモータの駆動が制御される。 PWM (Pulse Width Modulation) is known as a technique for controlling a switching module based on three-phase voltage command values. PWM is a technique for changing the output voltage (i.e., three-phase voltage) of a switching module by adjusting the on/off time of multiple switching elements that make up the switching module. A signal (hereinafter sometimes referred to as a "PWM signal") that controls the on/off of the switching elements is generated based on the result of comparing a carrier signal, which is the carrier wave of the PWM, with a comparison value. By controlling the on/off of the switching elements according to the PWM signal, a three-phase voltage is applied to the motor, controlling the drive of the motor.

また、モータのロータの回転位置(以下では「ロータ位置」と呼ぶことがある)を検出するためのセンサ(以下では「位置センサ」と呼ぶことがある)を使用せずにモータの駆動を制御する技術(以下では「位置センサレス方式」と呼ぶことがある)が知られている。位置センサレス方式では、モータに流れる3相の電流(以下では「モータ電流」と呼ぶことがある)を検出することにより、位置センサを使用せずに、ロータ位置を推定する。 There is also known a technology (hereinafter sometimes referred to as the "position sensorless method") that controls the drive of a motor without using a sensor (hereinafter sometimes referred to as the "position sensor") for detecting the rotational position of the motor rotor (hereinafter sometimes referred to as the "rotor position"). In the position sensorless method, the rotor position is estimated without using a position sensor by detecting the three-phase current (hereinafter sometimes referred to as the "motor current") that flows through the motor.

また、モータ電流の検出方式として「1シャント検出方式」が知られている。1シャント検出方式では、3相電圧を生成するスイッチングモジュールと直流電源との間に流れる母線電流に基づいてモータ電流のうちの2相分の電流を検出し、残りの1相分の電流を、2相分の電流からキルヒホッフの法則を用いて算出する。 The "single-shunt detection method" is also known as a method for detecting motor current. In the single-shunt detection method, two phases of the motor current are detected based on the bus current flowing between the DC power supply and the switching module that generates the three-phase voltage, and the remaining one phase of current is calculated from the two phases of current using Kirchhoff's law.

ここで、母線電流検出用のシャント抵抗の両端に発生する電圧を増幅した増幅電圧を第1A/D変換器に伝送する第1接続線と、オフセット電圧生成部で生成されるオフセット電圧を第2A/D変換器に伝送する第2接続線とを、できる限り等しくノイズの影響を受けるように配置する先行技術が提案されている。この先行技術では、第1接続線にノイズが重畳した場合には第2接続線にもノイズが重畳するため、オフセット電圧が所定の範囲外の電圧であるか否かを判定することにより、母線電流に大きなノイズが重畳されているか否かの判定(以下では「ノイズ判定」と呼ぶことがある)を行っている。また、この先行技術では、オフセット電圧が所定の範囲外の電圧であるときは、ノイズによる影響が大きいと判定し、オフセット電圧と同時に検出された母線電流としての増幅電圧を破棄し、オフセット電圧が所定の範囲内であるときに、オフセット電圧と同時に検出された母線電流に基づいてPWM信号が生成される。こうすることで、ノイズによる影響が小さい電流値(つまり、精度の高い電流値)を用いてモータを制御することが可能になる。 Here, a prior art has been proposed in which a first connection line that transmits an amplified voltage obtained by amplifying the voltage generated across a shunt resistor for detecting a bus current to a first A/D converter and a second connection line that transmits an offset voltage generated by an offset voltage generating unit to a second A/D converter are arranged so as to be as equally affected by noise as possible. In this prior art, when noise is superimposed on the first connection line, noise is also superimposed on the second connection line, so that a determination is made as to whether or not a large noise is superimposed on the bus current (hereinafter, sometimes referred to as "noise determination") by determining whether or not the offset voltage is a voltage outside a predetermined range. In addition, in this prior art, when the offset voltage is a voltage outside a predetermined range, it is determined that the influence of noise is large, and the amplified voltage as the bus current detected simultaneously with the offset voltage is discarded, and when the offset voltage is within a predetermined range, a PWM signal is generated based on the bus current detected simultaneously with the offset voltage. In this way, it becomes possible to control the motor using a current value that is less affected by noise (i.e., a current value with high accuracy).

特開2015-126555号公報JP 2015-126555 A

上記の先行技術では、ノイズ判定を行うにあたり、増幅電圧のサンプリングと同時にオフセット電圧のサンプリングを行う必要があるため、オフセット電圧を取得するための回路や、オフセット電圧をサンプリングするための第2A/D変換器が別途必要になる。このため、上記の先行技術では、精度の高い電流値を用いてモータの制御を行う際に、モータ制御装置における部品点数が増加してしまう。 In the above prior art, when making a noise judgment, it is necessary to sample the offset voltage at the same time as sampling the amplified voltage, so a separate circuit for acquiring the offset voltage and a second A/D converter for sampling the offset voltage are required. For this reason, in the above prior art, when controlling the motor using a highly accurate current value, the number of parts in the motor control device increases.

そこで、本開示では、モータ制御装置における部品点数の増加を抑えつつ、精度の高い電流値を用いてモータの制御を行うことができる技術を提案する。 Therefore, this disclosure proposes a technology that can control a motor using highly accurate current values while minimizing an increase in the number of parts in a motor control device.

本開示のモータ制御装置は、スイッチングモジュールと、検出部と、第一算出部と、変換部と、予測部と、決定部とを有する。前記スイッチングモジュールは、直流電源から供給される直流電圧を交流電圧に変換し、前記交流電圧をモータに印加する。前記検出部は、前記直流電源と前記スイッチングモジュールとの間に接続された抵抗を用いて前記スイッチングモジュールの母線電流を検出する。前記第一算出部は、前記モータにおける固定座標の3相電流を前記母線電流に基づいて算出する。前記変換部は、前記3相電流を回転座標の2相電流に変換する。前記予測部は、前記2相電流の予測値を算出する。前記決定部は、前記2相電流と前記予測値とに基づいて、前記2相電流または前記予測値の何れを前記モータの制御に用いるかを決定する。また、前記予測部は、前記決定部が前記モータの制御に用いると決定した前記2相電流または前記予測値である決定値にフーリエ変換を施すことにより前記決定値を複数の次数の周波数成分に分離し、前記複数の次数の周波数成分を合成することにより前記予測値を算出する。 The motor control device of the present disclosure has a switching module, a detection unit, a first calculation unit, a conversion unit, a prediction unit, and a determination unit. The switching module converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor. The detection unit detects a bus current of the switching module using a resistor connected between the DC power source and the switching module. The first calculation unit calculates a three-phase current of a fixed coordinate in the motor based on the bus current. The conversion unit converts the three-phase current into a two-phase current of a rotating coordinate. The prediction unit calculates a predicted value of the two-phase current. The determination unit determines whether the two-phase current or the predicted value is to be used to control the motor based on the two-phase current and the predicted value. The prediction unit also performs a Fourier transform on the two-phase current or the predicted value that the determination unit has determined to be used for controlling the motor, to separate the determined value into frequency components of multiple orders, and calculates the predicted value by synthesizing the frequency components of multiple orders.

開示の技術によれば、モータ制御装置における部品点数の増加を抑えつつ、精度の高い電流値を用いてモータの制御を行うことができる。 The disclosed technology makes it possible to control a motor using highly accurate current values while minimizing an increase in the number of parts in a motor control device.

図1は、本開示の実施例のモータ制御装置の構成例を示す図である。FIG. 1 is a diagram illustrating an example of the configuration of a motor control device according to an embodiment of the present disclosure. 図2は、本開示の実施例のノイズ判定部の構成例を示す図である。FIG. 2 is a diagram illustrating an example of the configuration of a noise determination unit according to an embodiment of the present disclosure. 図3は、本開示の実施例の電流予測部の動作例の説明に供する図である。FIG. 3 is a diagram illustrating an example of the operation of the current prediction unit according to the embodiment of the present disclosure.

以下、本開示の実施例を図面に基づいて説明する。以下の実施例において同一の構成には同一の符号を付す。 Below, examples of the present disclosure will be described with reference to the drawings. In the following examples, the same components are given the same reference numerals.

[実施例]
<モータ制御装置の構成>
図1は、本開示の実施例のモータ制御装置の構成例を示す図である。図1に示すモータ制御装置100は、位置センサレス方式、1シャント検出方式、及び、PWMを用いてモータMの駆動を制御する。図1において、モータ制御装置100は、減算部46,47,52と、d軸電流設定部48と、速度制御部49と、d軸q軸電圧設定部45と、dq/3φ変換部43と、PWM部41と、スイッチングモジュール10と、直流電源EDCと、シャント抵抗Rsとを有する。また、モータ制御装置100は、DC電圧検出部31と、電流検出部21と、AD変換部71,72と、3φ電流算出部61と、DC電圧算出部32と、3φ/dq変換部42と、位置・速度推定部44と、1/Pn処理部51と、ノイズ判定部80とを有する。
[Example]
<Configuration of the motor control device>
FIG. 1 is a diagram showing an example of the configuration of a motor control device according to an embodiment of the present disclosure. The motor control device 100 shown in FIG. 1 controls the driving of a motor M using a position sensorless method, a one-shunt detection method, and PWM. In FIG. 1, the motor control device 100 includes subtraction units 46, 47, and 52, a d-axis current setting unit 48, a speed control unit 49, a d-axis and q-axis voltage setting unit 45, a dq/3φ conversion unit 43, a PWM unit 41, a switching module 10, a DC power supply E DC , and a shunt resistor Rs. The motor control device 100 also includes a DC voltage detection unit 31, a current detection unit 21, AD conversion units 71 and 72, a 3φ current calculation unit 61, a DC voltage calculation unit 32, a 3φ/dq conversion unit 42, a position and speed estimation unit 44, a 1/Pn processing unit 51, and a noise determination unit 80.

減算部46,47,52、d軸電流設定部48、速度制御部49、d軸q軸電圧設定部45、dq/3φ変換部43、PWM部41、DC電圧検出部31、電流検出部21、AD変換部71,72、3φ電流算出部61、DC電圧算出部32、3φ/dq変換部42、位置・速度推定部44、1/Pn処理部51、及び、ノイズ判定部80は、ハードウェアとして、例えばMCU(Micro Control Unit)により実現される。 The subtraction units 46, 47, 52, the d-axis current setting unit 48, the speed control unit 49, the d-axis/q-axis voltage setting unit 45, the dq/3φ conversion unit 43, the PWM unit 41, the DC voltage detection unit 31, the current detection unit 21, the AD conversion units 71, 72, the 3φ current calculation unit 61, the DC voltage calculation unit 32, the 3φ/dq conversion unit 42, the position/speed estimation unit 44, the 1/Pn processing unit 51, and the noise determination unit 80 are realized as hardware, for example, by an MCU (Micro Control Unit).

また、スイッチングモジュール10は、上アームのスイッチング素子SWup,SWvp,SWwpと、下アームのスイッチング素子SWun,SWvn,SWwnとを有する。 The switching module 10 also has upper arm switching elements SWup, SWvp, and SWwp, and lower arm switching elements SWun, SWvn, and SWwn.

モータ制御装置100において、d軸電流設定部48は、所定値のd軸電流指令値idを減算部46へ出力する。 In the motor control device 100, the d-axis current setting unit 48 outputs a predetermined d-axis current command value id * to the subtraction unit 46.

減算部46には、d軸電流設定部48からd軸電流指令値idが入力され、ノイズ判定部80からd軸電流idが入力される。減算部46は、d軸電流指令値idからd軸電流idを減算することによりd軸電流偏差Δidを算出し、算出したd軸電流偏差Δidをd軸q軸電圧設定部45へ出力する。 The subtraction unit 46 receives the d-axis current command value id * from the d-axis current setting unit 48, and receives the d-axis current id from the noise determination unit 80. The subtraction unit 46 calculates the d-axis current deviation Δid by subtracting the d-axis current id from the d-axis current command value id * , and outputs the calculated d-axis current deviation Δid to the d-axis/q-axis voltage setting unit 45.

速度制御部49は、減算部52から入力される速度偏差Δωがゼロに近づくようにq軸電流指令値iqを算出し、算出したq軸電流指令値iqを減算部47へ出力する。 The speed control unit 49 calculates the q-axis current command value iq * so that the speed deviation Δω input from the subtraction unit 52 approaches zero, and outputs the calculated q-axis current command value iq * to the subtraction unit 47.

減算部47には、速度制御部49からq軸電流指令値iqが入力され、ノイズ判定部80からq軸電流iqが入力される。減算部47は、q軸電流指令値iqからq軸電流iqを減算することによりq軸電流偏差Δiqを算出し、算出したq軸電流偏差Δiqをd軸q軸電圧設定部45へ出力する。 The subtraction unit 47 receives the q-axis current command value iq * from the speed control unit 49 and the q-axis current iq from the noise determination unit 80. The subtraction unit 47 calculates the q-axis current deviation Δiq by subtracting the q-axis current iq from the q-axis current command value iq *, and outputs the calculated q-axis current deviation Δiq to the d-axis/q-axis voltage setting unit 45.

d軸q軸電圧設定部45には、減算部46からd軸電流偏差Δidが入力され、減算部47からq軸電流偏差Δiqが入力され、ノイズ判定部80からd軸電流id及びq軸電流iqが入力される。d軸q軸電圧設定部45は、d軸電流偏差Δid及びq軸電流偏差Δiqがゼロに近づくようにd軸電圧指令値Vd及びq軸電圧指令値Vqを算出し、算出したd軸電圧指令値Vd及びq軸電圧指令値Vqを位置・速度推定部44及びdq/3φ変換部43へ出力する。d軸電圧指令値Vd及びq軸電圧指令値Vqは、3φ電流算出部61により算出されるモータ電流であるU相電流iu、V相電流iv及びW相電流iwに応じても変化する。 The d-axis/q-axis voltage setting unit 45 receives the d-axis current deviation Δid from the subtraction unit 46, the q-axis current deviation Δiq from the subtraction unit 47, and the d-axis current id and the q-axis current iq from the noise determination unit 80. The d-axis/q-axis voltage setting unit 45 calculates a d-axis voltage command value Vd * and a q-axis voltage command value Vq * so that the d-axis current deviation Δid and the q-axis current deviation Δiq approach zero, and outputs the calculated d-axis voltage command value Vd * and q-axis voltage command value Vq * to the position/speed estimation unit 44 and the dq/3φ conversion unit 43. The d-axis voltage command value Vd * and the q-axis voltage command value Vq * also change according to the U-phase current iu, the V-phase current iv, and the W-phase current iw, which are motor currents calculated by the 3φ current calculation unit 61.

位置・速度推定部44には、ノイズ判定部80からd軸電流id及びq軸電流iqが入力され、d軸q軸電圧設定部45からd軸電圧指令値Vd及びq軸電圧指令値Vqが入力される。位置・速度推定部44は、d軸電流id、q軸電流iq、d軸電圧指令値Vd、及び、q軸電圧指令値Vqに基づいて、モータMの電気的な角速度ωeと、回転座標(dq座標)でのモータMの電気角位相θe及び機械角位相θmを推定する。位置・速度推定部44は、推定した角速度ωeを1/Pn処理部51へ出力し、推定した電気角位相θeを3φ/dq変換部42及びdq/3φ変換部43へ出力し、推定した機械角位相θmをノイズ判定部80へ出力する。 The position/speed estimator 44 receives the d-axis current id and the q-axis current iq from the noise determiner 80, and receives the d-axis voltage command value Vd * and the q-axis voltage command value Vq * from the d-axis/q-axis voltage setting unit 45. The position/speed estimator 44 estimates the electrical angular velocity ωe of the motor M, and the electrical angle phase θe and the mechanical angle phase θm of the motor M in the rotating coordinates (dq coordinates) based on the d-axis current id, the q-axis current iq , the d-axis voltage command value Vd*, and the q-axis voltage command value Vq*. The position/speed estimator 44 outputs the estimated angular velocity ωe to the 1/Pn processor 51, outputs the estimated electrical angle phase θe to the 3φ/dq converter 42 and the dq/3φ converter 43, and outputs the estimated mechanical angle phase θm to the noise determiner 80.

1/Pn処理部51は、角速度ωeをモータMの極対数で除することにより、電気的な角速度ωeをモータMが有するロータの機械的な角速度ωmに変換し、変換後の角速度ωmを減算部52へ出力する。 The 1/Pn processing unit 51 converts the electrical angular velocity ωe into the mechanical angular velocity ωm of the rotor of the motor M by dividing the angular velocity ωe by the number of pole pairs of the motor M, and outputs the converted angular velocity ωm to the subtraction unit 52.

減算部52には、1/Pn処理部51から角速度ωmが入力され、モータ制御装置100の外部から(例えば、モータ制御装置100の上位のコントローラから)速度指令値ωmが入力される。減算部52は、速度指令値ωmから角速度ωmを減算することにより速度偏差Δωを算出し、算出した速度偏差Δωを速度制御部49へ出力する。 The subtraction unit 52 receives the angular velocity ωm from the 1/Pn processing unit 51, and receives a speed command value ωm * from outside the motor control device 100 (for example, from a higher-level controller of the motor control device 100). The subtraction unit 52 calculates a speed deviation Δω by subtracting the angular velocity ωm from the speed command value ωm * , and outputs the calculated speed deviation Δω to the speed control unit 49.

dq/3φ変換部43は、電気角位相θeを用いて、回転座標の2相のd軸電圧指令値Vd及びq軸電圧指令値Vqを、固定座標(UVW座標)の3相の電圧指令値Vu,Vv,Vwに変換する。dq/3φ変換部43は、変換後の電圧指令値Vu,Vv,VwをPWM部41へ出力する。 The dq/3φ converter 43 converts the two-phase d-axis voltage command value Vd * and the q-axis voltage command value Vq * in the rotating coordinates into three-phase voltage command values Vu * , Vv * , Vw * in the fixed coordinates (UVW coordinates) using the electrical angle phase θe. The dq/3φ converter 43 outputs the converted voltage command values Vu * , Vv * , Vw * to the PWM unit 41.

PWM部41には、dq/3φ変換部43から電圧指令値Vu,Vv,Vwが入力され、DC電圧算出部32からDC電圧Vdcが入力される。また、PWM部41には、モータ制御装置100の外部から(例えば、モータ制御装置100の上位のコントローラから)、PWMの搬送波であるキャリア信号が入力される。PWM部41は、電圧指令値Vu,Vv,Vwと、DC電圧Vdcと、キャリア信号とに基づいて、3相のPWM信号Up,Un,Vp,Vn,Wp,Wnを生成し、生成したPWM信号Up,Un,Vp,Vn,Wp,Wnをスイッチングモジュール10及び3φ電流算出部61へ出力する。 The PWM unit 41 receives the voltage command values Vu * , Vv * , Vw * from the dq/3φ conversion unit 43 and receives the DC voltage Vdc from the DC voltage calculation unit 32. A carrier signal, which is a PWM carrier wave, is also input to the PWM unit 41 from outside the motor control device 100 (for example, from a higher-level controller of the motor control device 100). The PWM unit 41 generates three-phase PWM signals Up, Un, Vp, Vn, Wp, Wn based on the voltage command values Vu * , Vv * , Vw * , the DC voltage Vdc, and the carrier signal, and outputs the generated PWM signals Up, Un, Vp, Vn, Wp, Wn to the switching module 10 and the 3φ current calculation unit 61.

スイッチングモジュール10には、直流電源EDCから直流電圧が供給され、PWM部41からPWM信号Up,Un,Vp,Vn,Wp,Wnが入力される。スイッチングモジュール10は、直流電源EDCから供給される直流電圧をPWM信号Up~Wnに従って3相の交流電圧に変換し、変換後の3相の交流電圧をモータMに印加する。3相の交流電圧がモータMに印加されることによりモータMが駆動される。スイッチングモジュール10では、PWM信号Up,Un,Vp,Vn,Wp,Wnに従って各スイッチング素子SWup,SWun,SWvp,SWvn,SWwp,SWwnがオン/オフされることにより、直流電圧が3相電圧に変換される。各スイッチング素子SWup,SWun,SWvp,SWvn,SWwp,SWwnの両端には、還流ダイオードDup,Dun,Dvp,Dvn,Dwp,Dwnが接続されている。 The switching module 10 is supplied with a DC voltage from a DC power supply E DC , and receives PWM signals Up, Un, Vp, Vn, Wp, and Wn from a PWM unit 41. The switching module 10 converts the DC voltage supplied from the DC power supply E DC into a three-phase AC voltage in accordance with the PWM signals Up to Wn, and applies the converted three-phase AC voltage to a motor M. The motor M is driven by applying the three-phase AC voltage to the motor M. In the switching module 10, the switching elements SWup, SWun, SWvp, SWvn, SWwp, and SWwn are turned on/off in accordance with the PWM signals Up, Un, Vp, Vn, Wp, and Wn, thereby converting the DC voltage into a three-phase voltage. Freewheeling diodes Dup, Dun, Dvp, Dvn, Dwp, and Dwn are connected to both ends of each of the switching elements SWup, SWun, SWvp, SWvn, SWwp, and SWwn.

電流検出部21は、直流電源EDCとスイッチングモジュール10との間に接続されているシャント抵抗Rsを用いて、スイッチングモジュール10の母線電流Isを検出する。シャント抵抗Rsは、直流電源EDCにおけるN側端子とスイッチングモジュール10との間のDCラインであるNラインL上に配置されている。なお、シャント抵抗Rsは、直流電源EDCにおけるP側端子とスイッチングモジュール10との間のDCラインであるPラインL上に配置されても良い。シャント抵抗Rsには、モータ電流であるU相電流、V相電流、W相電流と、PWM信号とに応じた母線電流Isが流れ、シャント抵抗Rsに母線電流Isが流れるときに、シャント抵抗Rsの両端に電圧降下が生じる。電流検出部21は、この電圧降下の大きさとシャント抵抗Rsの抵抗値とから、シャント抵抗Rsに流れる母線電流Isを検出する。さらに、電流検出部21は、シャント抵抗Rsと母線電流Isとに基づいて、式(1)によって表されるアナログ電圧VA1を算出し、算出したアナログ電圧VA1をAD変換部72へ出力する。式(1)における“k”は所定の増幅率を示す。
VA1=k×(Rs・Is) …(1)
The current detection unit 21 detects the bus current Is of the switching module 10 by using a shunt resistor Rs connected between the DC power supply E DC and the switching module 10. The shunt resistor Rs is arranged on an N line LN which is a DC line between an N-side terminal of the DC power supply E DC and the switching module 10. The shunt resistor Rs may be arranged on a P line LP which is a DC line between a P-side terminal of the DC power supply E DC and the switching module 10. A bus current Is corresponding to a U-phase current, a V-phase current, and a W-phase current which are motor currents and a PWM signal flows through the shunt resistor Rs, and when the bus current Is flows through the shunt resistor Rs, a voltage drop occurs across the shunt resistor Rs. The current detection unit 21 detects the bus current Is flowing through the shunt resistor Rs from the magnitude of this voltage drop and the resistance value of the shunt resistor Rs. Furthermore, the current detection unit 21 calculates an analog voltage VA1 expressed by equation (1) based on the shunt resistance Rs and the bus current Is, and outputs the calculated analog voltage VA1 to the AD conversion unit 72. "k" in equation (1) represents a predetermined amplification factor.
VA1=k×(Rs・Is)…(1)

AD変換部72は、アナログ電圧VA1に対してサンプリングを行うことにより、アナログ電圧VA1をデジタル電圧値VA2へ変換し、変換後のデジタル電圧値VA2を3φ電流算出部61へ出力する。 The AD conversion unit 72 samples the analog voltage VA1 to convert it into a digital voltage value VA2, and outputs the converted digital voltage value VA2 to the 3φ current calculation unit 61.

3φ電流算出部61は、1シャント検出方式を用いてモータ電流を算出する。3φ電流算出部61は、シャント抵抗Rsの抵抗値と、増幅率kと、デジタル電圧値VA2と、PWM信号Up~Wnとに基づいて、モータ電流であるU相電流iu、V相電流iv及びW相電流iwを算出し、算出したモータ電流iu,iv,iwを3φ/dq変換部42へ出力する。 The 3φ current calculation unit 61 calculates the motor current using a single shunt detection method. The 3φ current calculation unit 61 calculates the motor currents U-phase current iu, V-phase current iv, and W-phase current iw based on the resistance value of the shunt resistor Rs, the amplification factor k, the digital voltage value VA2, and the PWM signals Up to Wn, and outputs the calculated motor currents iu, iv, and iw to the 3φ/dq conversion unit 42.

3φ/dq変換部42は、位置・速度推定部44から入力される電気角位相θeを用いて、固定座標の3相の電流ベクトルを示すモータ電流iu,iv,iwを、回転座標の2相の電流ベクトルを示すd軸電流及びq軸電流に変換する。以下では、3φ/dq変換部42での変換後のd軸電流を「検出d軸電流」と呼び、3φ/dq変換部42での変換後のq軸電流を「検出q軸電流」と呼ぶことがある。3φ/dq変換部42は、検出d軸電流id_det及び検出q軸電流iq_detをノイズ判定部80へ出力する。 The 3φ/dq conversion unit 42 converts the motor currents iu, iv, and iw, which indicate the three-phase current vector of the fixed coordinate system, into d-axis current and q-axis current, which indicate the two-phase current vector of the rotating coordinate system, using the electrical angle phase θe input from the position and speed estimation unit 44. Hereinafter, the d-axis current after conversion by the 3φ/dq conversion unit 42 may be referred to as the "detected d-axis current," and the q-axis current after conversion by the 3φ/dq conversion unit 42 may be referred to as the "detected q-axis current." The 3φ/dq conversion unit 42 outputs the detected d-axis current id_det and the detected q-axis current iq_det to the noise determination unit 80.

ノイズ判定部80には、3φ/dq変換部42から検出d軸電流id_det及び検出q軸電流iq_detが入力され、位置・速度推定部44から機械角位相θmが入力される。ノイズ判定部80は、ノイズ判定を行い、ノイズ判定の判定結果に基づいて、位置・速度推定部44、d軸q軸電圧設定部45及び減算部46へ出力するd軸電流idと、位置・速度推定部44、d軸q軸電圧設定部45及び減算部47へ出力するq軸電流iqとを決定する。ノイズ判定部80の詳細については後述する。 The noise determination unit 80 receives the detected d-axis current id_det and the detected q-axis current iq_det from the 3φ/dq conversion unit 42, and the mechanical angle phase θm from the position/speed estimation unit 44. The noise determination unit 80 performs noise determination, and based on the result of the noise determination, determines the d-axis current id to be output to the position/speed estimation unit 44, the d-axis/q-axis voltage setting unit 45, and the subtraction unit 46, and the q-axis current iq to be output to the position/speed estimation unit 44, the d-axis/q-axis voltage setting unit 45, and the subtraction unit 47. Details of the noise determination unit 80 will be described later.

DC電圧検出部31は、PラインLとNラインLとの間の母線電圧を検出し、検出したアナログの母線電圧VB1をAD変換部71へ出力する。 The DC voltage detection unit 31 detects a bus voltage between the P line LP and the N line LN , and outputs the detected analog bus voltage VB1 to the AD conversion unit 71.

AD変換部71は、アナログの母線電圧VB1に対してサンプリングを行うことにより、アナログの母線電圧VB1をデジタルの母線電圧値VB2へ変換し、変換後のデジタルの母線電圧値VB2をDC電圧算出部32へ出力する。 The AD conversion unit 71 samples the analog bus voltage VB1 to convert it into a digital bus voltage value VB2, and outputs the converted digital bus voltage value VB2 to the DC voltage calculation unit 32.

DC電圧算出部32は、デジタルの母線電圧値VB2からDC電圧Vdcを算出し、算出したDC電圧VdcをPWM部41へ出力する。 The DC voltage calculation unit 32 calculates the DC voltage Vdc from the digital bus voltage value VB2 and outputs the calculated DC voltage Vdc to the PWM unit 41.

<ノイズ判定部の構成>
図2は、本開示の実施例のノイズ判定部の構成例を示す図である。図2において、ノイズ判定部80は、電流予測部81と、差分算出部82と、電流決定部83とを有する。電流予測部81には、後述するようにして電流決定部83によって決定されたd軸電流id及びq軸電流iqが入力されるとともに、位置・速度推定部44から機械角位相θmが入力される。差分算出部82及び電流決定部83には、3φ/dq変換部42から検出d軸電流id_det及び検出q軸電流iq_detが入力される。
<Configuration of Noise Determination Unit>
2 is a diagram showing an example of the configuration of a noise determination unit according to an embodiment of the present disclosure. In FIG. 2, the noise determination unit 80 includes a current prediction unit 81, a difference calculation unit 82, and a current determination unit 83. The current prediction unit 81 receives the d-axis current id and the q-axis current iq determined by the current determination unit 83 as described below, and also receives the mechanical angle phase θm from the position/speed estimation unit 44. The difference calculation unit 82 and the current determination unit 83 receive the detected d-axis current id_det and the detected q-axis current iq_det from the 3φ/dq conversion unit 42.

電流予測部81は、制御タイミング毎に電流決定部83によって決定され電流決定部83から入力されるd軸電流idと、制御タイミング毎に電流決定部83によって決定され電流決定部83から入力されるq軸電流iqと、位置・速度推定部44から入力される機械角位相θmとを用いて、d軸電流の予測値である予測d軸電流id_preと、q軸電流の予測値である予測q軸電流iq_preとを算出する。電流予測部81は、算出した予測d軸電流id_pre及び予測q軸電流iq_preを差分算出部82及び電流決定部83へ出力する。電流予測部81の詳細については後述する。 The current prediction unit 81 calculates a predicted d-axis current id_pre, which is a predicted value of the d-axis current, and a predicted q-axis current iq_pre, which is a predicted value of the q-axis current, using the d-axis current id determined by the current determination unit 83 at each control timing and input from the current determination unit 83, the q-axis current iq determined by the current determination unit 83 at each control timing and input from the current determination unit 83, and the mechanical angle phase θm input from the position/speed estimation unit 44. The current prediction unit 81 outputs the calculated predicted d-axis current id_pre and predicted q-axis current iq_pre to the difference calculation unit 82 and the current determination unit 83. Details of the current prediction unit 81 will be described later.

差分算出部82は、式(2.1)及び式(2.2)に従って、検出d軸電流id_detと予測d軸電流id_preとの差分(以下では「d軸差分」と呼ぶことがある)id_dif、及び、検出q軸電流iq_detと予測q軸電流iq_preとの差分(以下では「q軸差分」と呼ぶことがある)iq_difを算出する。差分算出部82は、算出したd軸差分id_dif及びq軸差分iq_difを電流決定部83へ出力する。
id_dif=id_det-id_pre …(2.1)
iq_dif=iq_det-iq_pre …(2.2)
The difference calculation unit 82 calculates a difference id_dif between the detected d-axis current id_det and the predicted d-axis current id_pre (hereinafter sometimes referred to as the “d-axis difference”) and a difference iq_dif between the detected q-axis current iq_det and the predicted q-axis current iq_pre (hereinafter sometimes referred to as the “q-axis difference”) according to equations (2.1) and (2.2). The difference calculation unit 82 outputs the calculated d-axis difference id_dif and q-axis difference iq_dif to the current determination unit 83.
id_dif=id_det-id_pre...(2.1)
iq_dif=iq_det−iq_pre…(2.2)

d軸差分id_dif及びq軸差分iq_difは、d軸電流及びq軸電流における検出値と予測値との差分である。検出値と予測値とが大きく乖離する場合には、d軸電流及びq軸電流における検出値にノイズが重畳している可能性が考えられる。また、d軸差分id_dif及びq軸差分iq_difは、重畳するノイズによって正の値となる場合と負の値となる場合とが考えられる。電流決定部83は、d軸差分id_dif及びq軸差分iq_difを負の値である所定の閾値TH1及び正の値である所定の第二閾値TH2と比較することによりノイズ判定を行って、今回の制御タイミングでのd軸電流id及びq軸電流iqを決定する。 The d-axis difference id_dif and the q-axis difference iq_dif are the differences between the detected values and the predicted values of the d-axis current and the q-axis current. If the detected values and the predicted values differ greatly, it is possible that noise is superimposed on the detected values of the d-axis current and the q-axis current. In addition, the d-axis difference id_dif and the q-axis difference iq_dif may become positive or negative depending on the superimposed noise. The current determination unit 83 performs noise determination by comparing the d-axis difference id_dif and the q-axis difference iq_dif with a predetermined threshold value TH1, which is a negative value, and a predetermined second threshold value TH2, which is a positive value, to determine the d-axis current id and the q-axis current iq at the current control timing.

ここで、第一閾値TH1は、検出d軸電流id_det及び検出q軸電流iq_detにノイズが重畳されていないとき、または、検出d軸電流id_det及び検出q軸電流iq_detに重畳されているノイズが小さいときの定常的なd軸差分id_dif及びq軸差分iq_difのボトム値よりも小さい負の値に設定される。例えば定常的なd軸差分id_dif及びq軸差分iq_difのボトム値は試験により予め求めておくことができる。定常的なd軸差分id_dif及びq軸差分iq_difのボトム値が-0.8[A]であるとき、第一閾値TH1は、ボトム値よりも小さい負の値として、例えば-1[A]に設定される。 The first threshold value TH1 is set to a negative value smaller than the bottom values of the steady d-axis difference id_dif and q-axis difference iq_dif when no noise is superimposed on the detected d-axis current id_det and the detected q-axis current iq_det, or when the noise superimposed on the detected d-axis current id_det and the detected q-axis current iq_det is small. For example, the bottom values of the steady d-axis difference id_dif and q-axis difference iq_dif can be obtained in advance by testing. When the bottom values of the steady d-axis difference id_dif and q-axis difference iq_dif are -0.8 [A], the first threshold value TH1 is set to a negative value smaller than the bottom values, for example, -1 [A].

同様に、第二閾値TH2は、検出d軸電流id_det及び検出q軸電流iq_detにノイズが重畳されていないとき、または、検出d軸電流id_det及び検出q軸電流iq_detに重畳されているノイズが小さいときの定常的なd軸差分id_dif及びq軸差分iq_difのピーク値よりも大きい正の値に設定される。例えば定常的なd軸差分id_dif及びq軸差分iq_difのピーク値は試験により予め求めておくことができる。定常的なd軸差分id_dif及びq軸差分iq_difのピーク値が0.8[A]であるとき、第二閾値TH2は、ピーク値よりも大きい正の値として、例えば1[A]に設定される。 Similarly, the second threshold value TH2 is set to a positive value larger than the peak values of the steady d-axis difference id_dif and q-axis difference iq_dif when no noise is superimposed on the detected d-axis current id_det and the detected q-axis current iq_det, or when the noise superimposed on the detected d-axis current id_det and the detected q-axis current iq_det is small. For example, the peak values of the steady d-axis difference id_dif and q-axis difference iq_dif can be obtained in advance by testing. When the peak values of the steady d-axis difference id_dif and q-axis difference iq_dif are 0.8 [A], the second threshold value TH2 is set to a positive value larger than the peak values, for example 1 [A].

電流決定部83は、d軸差分id_difが第一閾値TH1以上、かつ、第二閾値TH2未満であるときは、検出d軸電流id_detにノイズが重畳されていない、または、検出d軸電流id_detに重畳されているノイズが小さいと判定し、検出d軸電流id_detを今回の制御タイミングでのモータMの制御に用いるd軸電流idとして決定し、検出d軸電流id_det及び予測d軸電流id_preのうち検出d軸電流id_detを位置・速度推定部44、d軸q軸電圧設定部45、減算部46及び電流予測部81へ出力する。一方で、電流決定部83は、d軸差分id_difが第一閾値TH1未満、または、第二閾値TH2以上であるときは、検出d軸電流id_detに重畳されているノイズが大きいと判定し、予測d軸電流id_preを今回の制御タイミングでのモータMの制御に用いるd軸電流idとして決定し、検出d軸電流id_det及び予測d軸電流id_preのうち予測d軸電流id_preを位置・速度推定部44、d軸q軸電圧設定部45、減算部46及び電流予測部81へ出力する。 When the d-axis difference id_dif is greater than or equal to the first threshold TH1 and less than the second threshold TH2, the current determination unit 83 determines that no noise is superimposed on the detected d-axis current id_det or that the noise superimposed on the detected d-axis current id_det is small, and determines the detected d-axis current id_det as the d-axis current id to be used for controlling the motor M at the current control timing, and outputs the detected d-axis current id_det of the detected d-axis current id_det and the predicted d-axis current id_pre to the position/speed estimation unit 44, the d-axis/q-axis voltage setting unit 45, the subtraction unit 46, and the current prediction unit 81. On the other hand, when the d-axis difference id_dif is less than the first threshold TH1 or equal to or greater than the second threshold TH2, the current determination unit 83 determines that the noise superimposed on the detected d-axis current id_det is large, determines the predicted d-axis current id_pre as the d-axis current id to be used for controlling the motor M at the current control timing, and outputs the predicted d-axis current id_pre of the detected d-axis current id_det and the predicted d-axis current id_pre to the position/speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, the subtraction unit 46, and the current prediction unit 81.

また、電流決定部83は、q軸差分iq_difが第一閾値TH1以上、かつ、第二閾値TH2未満であるときは、検出q軸電流iq_detにノイズが重畳されていない、または、検出q軸電流iq_detに重畳されているノイズが小さいと判定し、検出q軸電流iq_detを今回の制御タイミングでのモータMの制御に用いるq軸電流iqとして決定し、検出q軸電流iq_det及び予測q軸電流iq_preのうち検出q軸電流iq_detを位置・速度推定部44、d軸q軸電圧設定部45、減算部47及び電流予測部81へ出力する。一方で、電流決定部83は、q軸差分iq_difが第一閾値TH1未満、または、第二閾値TH2以上であるときは、検出q軸電流iq_detに重畳されているノイズが大きいと判定し、予測q軸電流iq_preを今回の制御タイミングでのモータMの制御に用いるq軸電流iqとして決定し、検出q軸電流iq_det及び予測q軸電流iq_preのうち予測q軸電流iq_preを位置・速度推定部44、d軸q軸電圧設定部45、減算部47及び電流予測部81へ出力する。 In addition, when the q-axis difference iq_dif is greater than or equal to the first threshold value TH1 and less than the second threshold value TH2, the current determination unit 83 determines that no noise is superimposed on the detected q-axis current iq_det or that the noise superimposed on the detected q-axis current iq_det is small, and determines the detected q-axis current iq_det as the q-axis current iq to be used for controlling the motor M at the current control timing, and outputs the detected q-axis current iq_det, of the detected q-axis current iq_det and the predicted q-axis current iq_pre, to the position/speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, the subtraction unit 47, and the current prediction unit 81. On the other hand, when the q-axis difference iq_dif is less than the first threshold value TH1 or greater than or equal to the second threshold value TH2, the current determination unit 83 determines that the noise superimposed on the detected q-axis current iq_det is large, determines the predicted q-axis current iq_pre as the q-axis current iq to be used for controlling the motor M at the current control timing, and outputs the predicted q-axis current iq_pre of the detected q-axis current iq_det and the predicted q-axis current iq_pre to the position/speed estimation unit 44, the d-axis and q-axis voltage setting unit 45, the subtraction unit 47, and the current prediction unit 81.

<電流予測部の動作>
図3は、本開示の実施例の電流予測部の動作例の説明に供する図である。以下では、d軸電流及びq軸電流を「2相電流」と総称することがある。また、以下では、サンプリングされた2相電流に基づいて電流予測部81によって予測される2相電流を「予測電流」と呼ぶことがある。
<Operation of current prediction unit>
3 is a diagram for explaining an example of the operation of the current prediction unit of the embodiment of the present disclosure. Hereinafter, the d-axis current and the q-axis current may be collectively referred to as "two-phase currents." In addition, below, the two-phase current predicted by the current prediction unit 81 based on the sampled two-phase currents may be referred to as "predicted current."

電流予測部81は、機械角位相θmが0から2πまで変化する積分区間において、制御タイミング毎に電流決定部83によって決定され電流決定部83から入力されるd軸電流idにフーリエ変換を施す。すなわち、電流予測部81は、式(3.2)及び式(3.3)に従って、d軸フーリエ余弦係数an_d及びd軸フーリエ正弦係数bn_dを算出することにより、d軸電流idを複数の次数の周波数成分に分離する。そして、電流予測部81は、式(3.1)に従って、d軸電流idの複数の次数の周波数成分を合成することにより予測d軸電流id_preを算出する。ここで、式(3.1)におけるa/2はd軸電流idの平均値である。

Figure 0007578045000001
The current prediction unit 81 performs a Fourier transform on the d-axis current id determined by the current determination unit 83 and input from the current determination unit 83 at each control timing in an integral interval in which the mechanical angle phase θm varies from 0 to 2π. That is, the current prediction unit 81 separates the d-axis current id into frequency components of multiple orders by calculating a d-axis Fourier cosine coefficient an_d and a d-axis Fourier sine coefficient bn_d according to equations (3.2) and (3.3). Then, the current prediction unit 81 calculates a predicted d-axis current id_pre by combining the frequency components of multiple orders of the d-axis current id according to equation (3.1). Here, a 0 /2 in equation (3.1) is the average value of the d-axis current id.
Figure 0007578045000001

同様に、電流予測部81は、機械角位相θmが0から2πまで変化する積分区間において、制御タイミング毎に電流決定部83によって決定され電流決定部83から入力されるq軸電流iqにフーリエ変換を施す。すなわち、電流予測部81は、式(4.2)及び式(4.3)に従って、q軸フーリエ余弦係数an_q及びq軸フーリエ正弦係数bn_qを算出することにより、q軸電流iqを複数の次数の周波数成分に分離する。そして、電流予測部81は、式(4.1)に従って、q軸電流iqの複数の次数の周波数成分を合成することにより予測q軸電流iq_preを算出する。ここで、式(4.1)におけるa/2はq軸電流iqの平均値である。

Figure 0007578045000002
Similarly, the current prediction unit 81 performs a Fourier transform on the q-axis current iq determined by the current determination unit 83 and input from the current determination unit 83 at each control timing in an integral interval in which the mechanical angle phase θm changes from 0 to 2π. That is, the current prediction unit 81 separates the q-axis current iq into frequency components of multiple orders by calculating a q-axis Fourier cosine coefficient an_q and a q-axis Fourier sine coefficient bn_q according to the formulas (4.2) and (4.3). Then, the current prediction unit 81 calculates a predicted q-axis current iq_pre by combining the frequency components of multiple orders of the q-axis current iq according to the formula (4.1). Here, a 0 /2 in the formula (4.1) is the average value of the q-axis current iq.
Figure 0007578045000002

式(3.1)~(4.3)におけるnは次数であり、nには1,2,3,4,…が代入される。つまり、電流予測部81は、式(3.2)、式(3.3)、式(4.2)、式(4.3)において、d軸電流id及びq軸電流iqをn個の次数の周波数成分に分離する。 In equations (3.1) to (4.3), n is the order, and 1, 2, 3, 4, ... are substituted for n. In other words, the current prediction unit 81 separates the d-axis current id and the q-axis current iq into frequency components of n orders in equations (3.2), (3.3), (4.2), and (4.3).

ここで、nはできるだけ大きい値であることが好ましい。つまり、電流予測部81がd軸電流id及びq軸電流iqにフーリエ変換を施す際には、d軸電流id及びq軸電流iqをできるだけ高次の成分まで分離するのが好ましい。分離可能な次数は、電流予測部81の処理能力や、電流予測部81の処理に許容される時間等に基づいて決定される。 Here, it is preferable that n is as large as possible. In other words, when the current prediction unit 81 performs a Fourier transform on the d-axis current id and the q-axis current iq, it is preferable to separate the d-axis current id and the q-axis current iq into components of as high order as possible. The number of orders that can be separated is determined based on the processing capacity of the current prediction unit 81, the time allowed for processing by the current prediction unit 81, etc.

ここで、例えば2相電流をそのままコピーすることにより予測電流を算出する場合には、サンプリング周期で2相電流のデータをメモリに蓄積する必要がある。例えば、1周期分の予測電流を算出する場合には、d軸電流id及びq軸電流iqのそれぞれについて「2相電流の周期/サンプリング周期[個]」のデータをメモリに蓄積する必要がある。このため、2相電流の周期が長い場合、予測電流の算出に多くのメモリ領域が使用されることになる。例えば、200msの周期の2相電流を0.125msの周期でサンプリングする場合、d軸電流id及びq軸電流iqを合わせたデータの個数は3200個となる。 Here, for example, if the predicted current is calculated by directly copying the two-phase current, it is necessary to store the two-phase current data in memory at the sampling period. For example, to calculate the predicted current for one period, it is necessary to store in memory "two-phase current period/sampling period [pieces]" data for each of the d-axis current id and q-axis current iq. For this reason, if the period of the two-phase current is long, a large memory area will be used to calculate the predicted current. For example, if the two-phase current with a period of 200 ms is sampled at a period of 0.125 ms, the total number of data for the d-axis current id and q-axis current iq will be 3,200.

一方で、上記のようにフーリエ変換を用いて予測電流を算出する場合には、2相電流の周期の長さにかかわらず、分離後の各次数のデータを次数毎に同一のメモリ領域に積分することにより予測電流を算出することが可能になる。すなわち、次数毎に得られるd軸フーリエ余弦係数an_d、d軸フーリエ正弦係数bn_d、q軸フーリエ余弦係数an_q及びq軸フーリエ正弦係数bn_qを算出するためのメモリ領域があれば良く、メモリに蓄積するデータの個数は「次数の数×4[個]」となる。例えば、次数の数が30個である場合、データの個数は120個となる。よって、フーリエ変換を用いて予測電流を算出することにより、予測電流の算出に使用されるメモリ領域を削減することができる。 On the other hand, when the predicted current is calculated using the Fourier transform as described above, it is possible to calculate the predicted current by integrating the data of each order after separation into the same memory area for each order, regardless of the length of the period of the two-phase current. In other words, all that is required is a memory area for calculating the d-axis Fourier cosine coefficient an_d, the d-axis Fourier sine coefficient bn_d, the q-axis Fourier cosine coefficient an_q, and the q-axis Fourier sine coefficient bn_q obtained for each order, and the number of data stored in the memory is "the number of orders x 4 [pieces]". For example, if the number of orders is 30, the number of data will be 120. Therefore, by calculating the predicted current using the Fourier transform, the memory area used to calculate the predicted current can be reduced.

以上、実施例について説明した。 The above explains the examples.

以上のように、本開示のモータ制御装置(実施例のモータ制御装置100)は、スイッチングモジュール(実施例のスイッチングモジュール10)、検出部(実施例の電流検出部21)と、第一算出部(実施例の3φ電流算出部61)と、変換部(実施例の3φ/dq変換部42)と、予測部(実施例の電流予測部81)と、決定部(実施例の電流決定部83)とを有する。スイッチングモジュールは、直流電源から供給される直流電圧を交流電圧に変換し、交流電圧をモータ(実施例のモータM)に印加する。検出部は、直流電源とスイッチングモジュールとの間に接続された抵抗(実施例のシャント抵抗Rs)を用いてスイッチングモジュールの母線電流を検出する。第一算出部は、モータにおける固定座標の3相電流を母線電流に基づいて算出する。変換部は、固定座標の3相電流を回転座標の2相電流(実施例の検出d軸電流id_det,検出q軸電流iq_det)に変換する。予測部は、2相電流の予測値(実施例の予測d軸電流id_pre,予測q軸電流iq_pre)を算出する。決定部は、回転座標の2相電流と2相電流の予測値とに基づいて、2相電流または予測値の何れをモータの制御に用いるかを決定する。また、予測部は、決定部がモータの制御に用いると決定した2相電流または予測値である決定値(実施例のd軸電流id,q軸電流iq)にフーリエ変換を施すことにより決定値を複数の次数の周波数成分に分離し、複数の次数の周波数成分を合成することにより予測値を算出する。 As described above, the motor control device (motor control device 100 of the embodiment) of the present disclosure has a switching module (switching module 10 of the embodiment), a detection unit (current detection unit 21 of the embodiment), a first calculation unit (3φ current calculation unit 61 of the embodiment), a conversion unit (3φ/dq conversion unit 42 of the embodiment), a prediction unit (current prediction unit 81 of the embodiment), and a determination unit (current determination unit 83 of the embodiment). The switching module converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor (motor M of the embodiment). The detection unit detects the bus current of the switching module using a resistor (shunt resistor Rs of the embodiment) connected between the DC power source and the switching module. The first calculation unit calculates the three-phase current of the fixed coordinate in the motor based on the bus current. The conversion unit converts the three-phase current of the fixed coordinate into two-phase current of the rotating coordinate (detected d-axis current id_det, detected q-axis current iq_det of the embodiment). The prediction unit calculates predicted values of the two-phase currents (predicted d-axis current id_pre, predicted q-axis current iq_pre in the embodiment). The determination unit determines whether the two-phase currents or the predicted values are to be used for motor control based on the two-phase currents of the rotating coordinates and the predicted values of the two-phase currents. The prediction unit also performs a Fourier transform on the two-phase currents or the determined values (d-axis current id, q-axis current iq in the embodiment) that the determination unit has determined to be used for motor control, thereby separating the determined values into frequency components of multiple orders, and calculates the predicted values by combining the frequency components of multiple orders.

例えば、本開示のモータ制御装置は、2相電流と予測値との間の差分(実施例のd軸差分id_dif,q軸差分iq_dif)を算出する第二算出部(実施例の差分算出部82)を有する。決定部は、差分が第一閾値(実施例の第一閾値TH1)以上、かつ、第二閾値(実施例の第二閾値TH2)未満のときに2相電流をモータの制御に用いると決定し、差分が第一閾値未満、または、第二閾値以上のときに予測値をモータの制御に用いると決定する。 For example, the motor control device of the present disclosure has a second calculation unit (difference calculation unit 82 in the embodiment) that calculates the difference between the two-phase currents and the predicted value (d-axis difference id_dif and q-axis difference iq_dif in the embodiment). The decision unit decides to use the two-phase currents to control the motor when the difference is equal to or greater than a first threshold (first threshold TH1 in the embodiment) and less than a second threshold (second threshold TH2 in the embodiment), and decides to use the predicted value to control the motor when the difference is less than the first threshold or equal to or greater than the second threshold.

こうすることで、精度の高い電流値を用いてモータの制御を行うにあたり、上記の先行技術が必要としたオフセット電圧が不要になるため、オフセット電圧を取得するための回路や、オフセット電圧をサンプリングするためのA/D変換器が不要になる。よって、モータ制御装置における部品点数の増加を抑えつつ、精度の高い電流値を用いてモータの制御を行うことができる。また、オフセット電圧をサンプリングするためのA/D変換器が不要になるため、オフセット電圧のサンプリングに用いていたA/D変換器を別の用途に使用することが可能になる。 In this way, when controlling a motor using a highly accurate current value, the offset voltage required by the above-mentioned prior art is no longer necessary, and therefore a circuit for acquiring the offset voltage and an A/D converter for sampling the offset voltage are no longer necessary. Therefore, it is possible to control a motor using a highly accurate current value while suppressing an increase in the number of parts in a motor control device. In addition, because an A/D converter for sampling the offset voltage is no longer necessary, the A/D converter used to sample the offset voltage can be used for another purpose.

100 モータ制御装置
10 スイッチングモジュール
21 電流検出部
42 3φ/dq変換部
61 3φ電流算出部
80 ノイズ判定部
81 電流予測部
82 差分算出部
83 電流決定部
REFERENCE SIGNS LIST 100 Motor control device 10 Switching module 21 Current detection section 42 3φ/dq conversion section 61 3φ current calculation section 80 Noise determination section 81 Current prediction section 82 Difference calculation section 83 Current determination section

Claims (1)

直流電源から供給される直流電圧を交流電圧に変換し、前記交流電圧をモータに印加するスイッチングモジュールと、
前記直流電源と前記スイッチングモジュールとの間に接続された抵抗を用いて前記スイッチングモジュールの母線電流を検出する検出部と、
前記モータにおける固定座標の3相電流を前記母線電流に基づいて算出する第一算出部と、
前記3相電流を回転座標の2相電流に変換する変換部と、
前記2相電流の予測値を算出する予測部と、
前記2相電流と前記予測値とに基づいて、前記2相電流または前記予測値の何れを前記モータの制御に用いるかを決定する決定部と、を具備し、
前記予測部は、前記決定部が前記モータの制御に用いると決定した前記2相電流または前記予測値である決定値にフーリエ変換を施すことにより前記決定値を複数の次数の周波数成分に分離し、前記複数の次数の周波数成分を合成することにより前記予測値を算出
前記2相電流と前記予測値との間の差分を算出する第二算出部、をさらに具備し、
前記決定部は、前記差分が定常的な前記差分のボトム値よりも小さい負の第一所定値以上、かつ、定常的な前記差分のピーク値よりも大きい正の値の第二所定値未満のときに前記2相電流を前記モータの制御に用いると決定し、前記差分が前記第一所定値未満、または、前記第二所定値以上のときに前記予測値を前記モータの制御に用いると決定する、
モータ制御装置。
a switching module that converts a DC voltage supplied from a DC power source into an AC voltage and applies the AC voltage to a motor;
a detection unit that detects a bus current of the switching module using a resistor connected between the DC power source and the switching module;
a first calculation unit that calculates three-phase currents of a fixed coordinate system in the motor based on the bus currents;
A conversion unit for converting the three-phase current into a two-phase current in a rotating coordinate system;
A prediction unit that calculates a predicted value of the two-phase current;
a determination unit that determines whether the two-phase currents or the predicted value is to be used for control of the motor based on the two-phase currents and the predicted value,
the prediction unit performs a Fourier transform on the two-phase currents determined by the determination unit to be used for control of the motor or a determined value that is the predicted value, thereby separating the determined value into frequency components of a plurality of orders, and calculates the predicted value by synthesizing the frequency components of the plurality of orders;
A second calculation unit calculates a difference between the two-phase currents and the predicted values,
the determination unit determines that the two-phase currents are to be used for control of the motor when the difference is equal to or greater than a negative first predetermined value that is smaller than a bottom value of the steady difference and is less than a positive second predetermined value that is larger than a peak value of the steady difference, and determines that the predicted value is to be used for control of the motor when the difference is less than the first predetermined value or equal to or greater than the second predetermined value.
Motor control device.
JP2021058852A 2021-03-30 2021-03-30 Motor Control Device Active JP7578045B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021058852A JP7578045B2 (en) 2021-03-30 2021-03-30 Motor Control Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021058852A JP7578045B2 (en) 2021-03-30 2021-03-30 Motor Control Device

Publications (2)

Publication Number Publication Date
JP2022155392A JP2022155392A (en) 2022-10-13
JP7578045B2 true JP7578045B2 (en) 2024-11-06

Family

ID=83556969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021058852A Active JP7578045B2 (en) 2021-03-30 2021-03-30 Motor Control Device

Country Status (1)

Country Link
JP (1) JP7578045B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2026061330A (en) * 2024-09-30 2026-04-09 ダイキン工業株式会社 control device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001197797A (en) 1999-11-10 2001-07-19 Toyoda Mach Works Ltd Motor controller
WO2003030348A1 (en) 2001-09-29 2003-04-10 Daikin Industries, Ltd. Phase current detection method, inverter control method, motor control method, and apparatuses used in these methods
JP2013215064A (en) 2012-04-04 2013-10-17 Nsk Ltd Motor control device and electric power steering device mounted with the same
JP2015154532A (en) 2014-02-12 2015-08-24 株式会社デンソー Control device for ac motor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001197797A (en) 1999-11-10 2001-07-19 Toyoda Mach Works Ltd Motor controller
WO2003030348A1 (en) 2001-09-29 2003-04-10 Daikin Industries, Ltd. Phase current detection method, inverter control method, motor control method, and apparatuses used in these methods
JP2013215064A (en) 2012-04-04 2013-10-17 Nsk Ltd Motor control device and electric power steering device mounted with the same
JP2015154532A (en) 2014-02-12 2015-08-24 株式会社デンソー Control device for ac motor

Also Published As

Publication number Publication date
JP2022155392A (en) 2022-10-13

Similar Documents

Publication Publication Date Title
JP4677852B2 (en) Vector controller for permanent magnet synchronous motor
JP5130031B2 (en) Position sensorless control device for permanent magnet motor
JP3661642B2 (en) Motor control device and control method thereof
JP2003134898A (en) Sensorless control device and control method for synchronous generator
JP2001314090A (en) Inverter device
JP2001309697A (en) Motor control device
JP6129972B2 (en) AC motor control device, AC motor drive system, fluid pressure control system, positioning system
JP4912516B2 (en) Power converter
JP4771998B2 (en) Electric motor drive
US12255558B2 (en) Motor controller, motor system and method for controlling motor
JP2001211698A (en) Synchronous motor controller
EP3557759A1 (en) Motor controlling apparatus and method of the same
JP7578045B2 (en) Motor Control Device
US20110062904A1 (en) Alternating current motor control system
JP2000175483A (en) Sensorless control method for synchronous motor and its apparatus
JP2003255006A (en) AC motor current sensor failure detection device
JP2000116176A (en) Control device for three-phase AC motor
JP2004015858A (en) Sensorless control system of pm motor position
JP7578041B2 (en) Motor Control Device
JP4637616B2 (en) Brushless DC motor control device
CN119769016A (en) Motor control device
JP2004248480A (en) Control device for three-phase AC motor
JP3578096B2 (en) Motor control device
JP7567624B2 (en) Motor Control Device
JP7501058B2 (en) Motor Control Device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230630

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240308

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240402

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240603

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241007

R150 Certificate of patent or registration of utility model

Ref document number: 7578045

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533