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

JP7578041B2 - Motor Control Device - Google Patents

Motor Control Device Download PDF

Info

Publication number
JP7578041B2
JP7578041B2 JP2021055999A JP2021055999A JP7578041B2 JP 7578041 B2 JP7578041 B2 JP 7578041B2 JP 2021055999 A JP2021055999 A JP 2021055999A JP 2021055999 A JP2021055999 A JP 2021055999A JP 7578041 B2 JP7578041 B2 JP 7578041B2
Authority
JP
Japan
Prior art keywords
motor
axis
current
unit
difference
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
JP2021055999A
Other languages
Japanese (ja)
Other versions
JP2022153006A (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 JP2021055999A priority Critical patent/JP7578041B2/en
Publication of JP2022153006A publication Critical patent/JP2022153006A/en
Application granted granted Critical
Publication of JP7578041B2 publication Critical patent/JP7578041B2/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相電流または前記予測値の何れを前記モータの制御に用いるかを決定する。 The motor control device of the present disclosure includes 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 system 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 system. The prediction unit calculates a predicted value of the two-phase current according to a motor model formula of the motor. 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 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は、本開示の実施例1のモータ制御装置の構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a motor control device according to a first embodiment of the present disclosure. 図2は、本開示の実施例1のノイズ判定部の構成例を示す図である。FIG. 2 is a diagram illustrating an example of the configuration of a noise determination unit according to the first embodiment of the present disclosure. 図3は、本開示の実施例2のノイズ判定部の構成例を示す図である。FIG. 3 is a diagram illustrating a configuration example of a noise determination unit according to the second embodiment of the present disclosure. 図4は、本開示の実施例2のノイズ成分抽出部の動作例の説明に供する図である。FIG. 4 is a diagram illustrating an example of the operation of the noise component extraction unit according to the second 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は、本開示の実施例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 1]
<Configuration of the motor control device>
FIG. 1 is a diagram showing a configuration example of a motor control device according to a first 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及びノイズ判定部80へ出力する。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, the dq/3φ conversion unit 43, and the noise determination unit 80. 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 the 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の回転位相角θdqとを推定する。位置・速度推定部44は、推定した角速度ωeを1/Pn処理部51及びノイズ判定部80へ出力し、推定した回転位相角θdqを3φ/dq変換部42及びdq/3φ変換部43へ出力する。 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 rotational phase angle θdq 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 and the noise determiner 80, and outputs the estimated rotational phase angle θdq to the 3φ/dq converter 42 and the dq/3φ converter 43.

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は、回転位相角θdqを用いて、回転座標の2相のd軸電圧指令値Vd及びq軸電圧指令値Vqを、固定座標(UVW座標)の3相の電圧指令値Vu,Vv,Vwに変換する。dq/3φ変換部43は、変換後の電圧指令値Vu,Vv,VwをPWM部41へ出力する。 The dq/3φ conversion unit 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 rotation phase angle θdq. The dq/3φ conversion unit 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から入力される回転位相角θdqを用いて、固定座標の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 rotation phase angle θdq 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から角速度ωeが入力され、d軸q軸電圧設定部45からd軸電圧指令値Vd及びq軸電圧指令値Vqが入力される。ノイズ判定部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, the angular velocity ωe from the position/speed estimation unit 44, and 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 noise determination unit 80 performs noise determination, and 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, based on the result of the noise determination. 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は、本開示の実施例1のノイズ判定部の構成例を示す図である。図2において、ノイズ判定部80は、電流予測部81と、差分算出部82と、電流決定部83とを有する。電流予測部81には、d軸q軸電圧設定部45からd軸電圧指令値Vd及びq軸電圧指令値Vqが入力され、位置・速度推定部44から角速度ωeが入力される。差分算出部82及び電流決定部83には、3φ/dq変換部42から検出d軸電流id_det及び検出q軸電流iq_detが入力される。
<Configuration of Noise Determination Unit>
2 is a diagram showing a configuration example of a noise determination unit according to the first 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 voltage command value Vd * and the q-axis voltage command value Vq * from the d-axis/q-axis voltage setting unit 45, and receives the angular velocity ωe 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.

ここで、d軸電圧指令値Vd及びq軸電圧指令値Vqは、式(2.1)及び式(2.2)に示すモータモデル式によって表される。式(2.1)及び式(2.2)において、“R”はモータMの巻線抵抗、“id”は前回の制御タイミングで電流決定部83から出力されたd軸電流(以下では「前回d軸電流」と呼ぶことがある)、“p”は(d/dt)の微分演算子、“Ld”はモータMのd軸インダクタンス、“ωe”は位置・速度推定部44から入力される角速度、“Lq”はモータMのq軸インダクタンス、“iq”は前回の制御タイミングで電流決定部83から出力されたq軸電流(以下では「前回q軸電流」と呼ぶことがある)、“Ψ”はモータMの鎖交磁束である。巻線抵抗R、d軸インダクタンスLd、q軸インダクタンスLq及び鎖交磁束Ψは、モータMの特性を決定するパラメータ(以下では「モータパラメータ」と呼ぶことがある)である。
Vd=R・id+p・Ld・id-ωe・Lq・iq …(2.1)
Vq=R・iq+p・Lq・iq+ωe・Ld・id+ωe・Ψ …(2.2)
Here, the d-axis voltage command value Vd * and the q-axis voltage command value Vq * are expressed by the motor model formulas shown in formulas (2.1) and (2.2). In formulas (2.1) and (2.2), "R" is the winding resistance of the motor M, "id" is the d-axis current output from the current determination unit 83 at the previous control timing (hereinafter may be referred to as the "previous d-axis current"), "p" is the differential operator of (d/dt), "Ld" is the d-axis inductance of the motor M, "ωe" is the angular velocity input from the position/speed estimation unit 44, "Lq" is the q-axis inductance of the motor M, "iq" is the q-axis current output from the current determination unit 83 at the previous control timing (hereinafter may be referred to as the "previous q-axis current"), and "Ψ" is the flux linkage of the motor M. The winding resistance R, the d-axis inductance Ld, the q-axis inductance Lq, and the flux linkage Ψ are parameters that determine the characteristics of the motor M (hereinafter, may be referred to as “motor parameters”).
Vd * = R・id+p・Ld・id−ωe・Lq・iq…(2.1)
Vq * = R・iq+p・Lq・iq+ωe・Ld・id+ωe・Ψ…(2.2)

また、モータ制御装置100におけるキャリア周波数fcを用いると、式(2.1)及び式(2.2)は、式(3.1)及び式(3.2)に変形できる。式(3.1)及び式(3.2)において、“ΔId”は、今回の制御タイミングで電流決定部83から出力されると予測されるd軸電流(以下では「予測d軸電流」と呼ぶことがある)の前回d軸電流に対する変化量(以下では「d軸電流変化量」と呼ぶことがある)、“ΔIq”は、今回の制御タイミングで電流決定部83から出力されると予測されるq軸電流(以下では「予測q軸電流」と呼ぶことがある)の前回q軸電流に対する変化量(以下では「q軸電流変化量」と呼ぶことがある)である。
Vd=R・id+Ld・ΔId・fc-ωe・Lq・iq …(3.1)
Vq=R・iq+Lq・ΔIq・fc+ωe・Ld・id+ωe・Ψ …(3.2)
Furthermore, when the carrier frequency fc in the motor control device 100 is used, formulas (2.1) and (2.2) can be transformed into formulas (3.1) and (3.2). In formulas (3.1) and (3.2), "ΔId" is the amount of change (hereinafter sometimes referred to as "d-axis current change") in the d-axis current predicted to be output from the current determination unit 83 at the current control timing (hereinafter sometimes referred to as "predicted d-axis current") relative to the previous d-axis current, and "ΔIq" is the amount of change (hereinafter sometimes referred to as "q-axis current change") in the q-axis current predicted to be output from the current determination unit 83 at the current control timing (hereinafter sometimes referred to as "predicted q-axis current") relative to the previous q-axis current.
Vd * =R・id+Ld・ΔId・fc−ωe・Lq・iq…(3.1)
Vq * = R・iq+Lq・ΔIq・fc+ωe・Ld・id+ωe・Ψ…(3.2)

式(3.1)及び式(3.2)をd軸電流変化量及びq軸電流変化量について解くと、式(4.1)及び式(4.2)が得られる。
ΔId=(Vd-R・id+ωe・Lq・iq)/(Ld・fc) …(4.1)
ΔIq=(Vq-R・iq-ωe・Ld・id-ωe・Ψ)/(Lq・fc)
…(4.2)
By solving equations (3.1) and (3.2) for the d-axis current change amount and the q-axis current change amount, equations (4.1) and (4.2) are obtained.
ΔId=(Vd * -R・id+ωe・Lq・iq)/(Ld・fc)…(4.1)
ΔIq=(Vq * -R・iq−ωe・Ld・id−ωe・Ψ)/(Lq・fc)
…(4.2)

そこで、電流予測部81は、前回の制御タイミングで電流決定部83によって決定され電流決定部83から入力された前回d軸電流idと、前回の制御タイミングで電流決定部83によって決定され電流決定部83から入力された前回q軸電流iqとを用いて、式(5.1)及び式(5.2)に従って、予測d軸電流id_pre及び予測q軸電流iq_preを算出する。
id_pre=id+ΔId …(5.1)
iq_pre=iq+ΔIq …(5.2)
Therefore, the current prediction unit 81 calculates the predicted d-axis current id_pre and the predicted q-axis current iq_pre according to equations (5.1) and (5.2) using the previous d-axis current id determined by the current determination unit 83 at the previous control timing and input from the current determination unit 83, and the previous q-axis current iq determined by the current determination unit 83 at the previous control timing and input from the current determination unit 83.
id_pre=id+ΔId...(5.1)
iq_pre=iq+ΔIq...(5.2)

このようにして、電流予測部81は、モータMのモータモデル式に従って理論的に導出される予測d軸電流id_pre及び予測q軸電流iq_preを算出し、算出した予測d軸電流id_pre及び予測q軸電流iq_preを差分算出部82及び電流決定部83へ出力する。 In this way, the current prediction unit 81 calculates the predicted d-axis current id_pre and the predicted q-axis current iq_pre that are theoretically derived according to the motor model equation of the motor M, and outputs the calculated predicted d-axis current id_pre and the predicted q-axis current iq_pre to the difference calculation unit 82 and the current determination unit 83.

差分算出部82は、式(6.1)及び式(6.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 …(6.1)
iq_dif=iq_det-iq_pre …(6.2)
The difference calculation unit 82 calculates the 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 the 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”) in accordance with equations (6.1) and (6.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...(6.1)
iq_dif=iq_det−iq_pre…(6.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 first threshold TH1, which is a negative value, and a predetermined second threshold 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.

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

[実施例2]
<ノイズ判定部の構成>
図3は、本開示の実施例2のノイズ判定部の構成例を示す図である。図3において、ノイズ判定部80は、電流予測部81と、差分算出部82と、電流決定部83と、ノイズ成分抽出部84とを有する。電流予測部81及び差分算出部82の動作については、実施例1のものと同様であるため、説明を省略する。
[Example 2]
<Configuration of Noise Determination Unit>
Fig. 3 is a diagram showing a configuration example of a noise determination unit according to the second embodiment of the present disclosure. In Fig. 3, a noise determination unit 80 includes a current prediction unit 81, a difference calculation unit 82, a current determination unit 83, and a noise component extraction unit 84. The operations of the current prediction unit 81 and the difference calculation unit 82 are similar to those of the first embodiment, and therefore will not be described.

差分算出部82は、算出したd軸差分id_dif及びq軸差分iq_difをノイズ成分抽出部84へ出力する。 The difference calculation unit 82 outputs the calculated d-axis difference id_dif and q-axis difference iq_dif to the noise component extraction unit 84.

ここで、d軸差分id_dif及びq軸差分iq_difには、ノイズ成分と、ノイズ以外の成分(以下では「非ノイズ成分」と呼ぶことがある)とが含まれる。ノイズ成分抽出部84は、d軸差分id_dif及びq軸差分iq_difから非ノイズ成分を除去することによりd軸差分id_dif及びq軸差分iq_difからd軸ノイズ成分id_no及びq軸ノイズ成分iq_noを抽出し、抽出したd軸ノイズ成分id_no及びq軸ノイズ成分iq_noを電流決定部83へ出力する。d軸ノイズ成分id_no及びq軸ノイズ成分iq_noは、正の値となる場合と負の値となる場合とが考えられる。 Here, the d-axis difference id_dif and the q-axis difference iq_dif include noise components and components other than noise (hereinafter sometimes referred to as "non-noise components"). The noise component extraction unit 84 extracts the d-axis noise components id_no and q-axis noise components iq_no from the d-axis difference id_dif and the q-axis difference iq_dif by removing the non-noise components from the d-axis difference id_dif and the q-axis difference iq_dif, and outputs the extracted d-axis noise components id_no and q-axis noise components iq_no to the current determination unit 83. The d-axis noise components id_no and q-axis noise components iq_no may be positive or negative values.

電流決定部83は、d軸ノイズ成分id_no及びq軸ノイズ成分iq_noを負の値である所定の第三閾値TH3及び正の値である所定の第四閾値TH4と比較することによりノイズ判定を行って、今回の制御タイミングでのd軸電流id及びq軸電流iqを決定する。 The current determination unit 83 performs noise determination by comparing the d-axis noise component id_no and the q-axis noise component iq_no with a predetermined third threshold TH3, which is a negative value, and a predetermined fourth threshold TH4, which is a positive value, to determine the d-axis current id and the q-axis current iq at the current control timing.

ここで、第三閾値TH3は、第一閾値TH1と異なる値を有する。例えば、第三閾値TH3は、検出d軸電流id_det及び検出q軸電流iq_detにノイズが重畳されていないとき、または、検出d軸電流id_det及び検出q軸電流iq_detに重畳されているノイズが小さいときの定常的なd軸ノイズ成分id_no及びq軸ノイズ成分iq_noのボトム値よりも小さい負の値に設定される。例えば定常的なd軸ノイズ成分id_no及びq軸ノイズ成分iq_noのボトム値は試験により予め求めておくことができる。定常的なd軸ノイズ成分id_no及びq軸ノイズ成分iq_noのボトム値が-0.3[A]であるとき、第三閾値TH3は、ボトム値よりも小さい負の値として、例えば-0.5[A]に設定される。 Here, the third threshold TH3 has a value different from the first threshold TH1. For example, the third threshold TH3 is set to a negative value smaller than the bottom values of the stationary d-axis noise components id_no and q-axis noise components iq_no 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 stationary d-axis noise components id_no and q-axis noise components iq_no can be obtained in advance by testing. When the bottom values of the stationary d-axis noise components id_no and q-axis noise components iq_no are -0.3 [A], the third threshold TH3 is set to a negative value smaller than the bottom values, for example, -0.5 [A].

同様に、第四閾値TH4は、第二閾値TH2と異なる値を有する。例えば、第四閾値TH4は、検出d軸電流id_det及び検出q軸電流iq_detにノイズが重畳されていないとき、または、検出d軸電流id_det及び検出q軸電流iq_detに重畳されているノイズが小さいときの定常的なd軸ノイズ成分id_no及びq軸ノイズ成分iq_noのピーク値よりも大きい正の値に設定される。例えば定常的なd軸ノイズ成分id_no及びq軸ノイズ成分iq_noのピーク値は試験により予め求めておくことができる。定常的なd軸ノイズ成分id_no及びq軸ノイズ成分iq_noのピーク値が0.3[A]であるとき、第四閾値TH4は、ピーク値よりも大きい正の値として、例えば0.5[A]に設定される。 Similarly, the fourth threshold TH4 has a value different from the second threshold TH2. For example, the fourth threshold TH4 is set to a positive value larger than the peak values of the stationary d-axis noise components id_no and q-axis noise components iq_no 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 stationary d-axis noise components id_no and q-axis noise components iq_no can be obtained in advance by testing. When the peak values of the stationary d-axis noise components id_no and q-axis noise components iq_no are 0.3 [A], the fourth threshold TH4 is set to a positive value larger than the peak values, for example, 0.5 [A].

また、第三閾値TH3及び第四閾値TH4は、d軸ノイズ成分id_no及びq軸ノイズ成分iq_noに基づいて随時更新されても良い。例えば、検出d軸電流id_det及び検出q軸電流iq_detにノイズが重畳されていないとき、または、検出d軸電流id_det及び検出q軸電流iq_detに重畳されているノイズが小さいときのd軸ノイズ成分id_no及びq軸ノイズ成分iq_noのピーク値とボトム値とを随時更新し、ピーク値と、ボトム値の絶対値とのうちの大きい方の値にマージンを設けた値を算出し、算出した値を第四閾値TH4として設定し、算出した値に負の符号を付した値を第三閾値TH3として設定しても良い。 The third threshold TH3 and the fourth threshold TH4 may be updated as needed based on the d-axis noise component id_no and the q-axis noise component iq_no. For example, 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, the peak value and bottom value of the d-axis noise component id_no and the q-axis noise component iq_no may be updated as needed, a value with a margin set to the larger of the absolute values of the peak value and the bottom value may be calculated, the calculated value may be set as the fourth threshold TH4, and a value with a negative sign added to the calculated value may be set as the third threshold TH3.

電流決定部83は、d軸ノイズ成分id_noの大きさが第三閾値TH3以上、かつ、第四閾値TH4未満であるときは、検出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へ出力する。一方で、電流決定部83は、d軸ノイズ成分id_noの大きさが第三閾値TH3未満、または、第四閾値TH4以上であるときは、検出d軸電流id_detに重畳されているノイズが大きいと判定し、予測d軸電流id_preを今回の制御タイミングでのモータMの制御に用いるd軸電流idとして決定し、検出d軸電流id_det及び予測d軸電流id_preのうち予測d軸電流id_preを位置・速度推定部44、d軸q軸電圧設定部45及び減算部46へ出力する。 When the magnitude of the d-axis noise component id_no is greater than or equal to the third threshold TH3 and less than the fourth threshold TH4, 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, 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 and q-axis voltage setting unit 45, and the subtraction unit 46. On the other hand, when the magnitude of the d-axis noise component id_no is less than the third threshold TH3 or equal to or greater than the fourth threshold TH4, 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, and the subtraction unit 46.

また、電流決定部83は、q軸ノイズ成分iq_noの大きさが第三閾値TH3以上、かつ、第四閾値TH4未満であるときは、検出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へ出力する。一方で、電流決定部83は、q軸ノイズ成分iq_noの大きさが第三閾値TH3未満、または、第四閾値TH4以上であるときは、検出q軸電流iq_detに重畳されているノイズが大きいと判定し、予測q軸電流iq_preを今回の制御タイミングでのモータMの制御に用いるq軸電流iqとして決定し、検出q軸電流iq_det及び予測q軸電流iq_preのうち予測q軸電流iq_preを位置・速度推定部44、d軸q軸電圧設定部45及び減算部47へ出力する。 In addition, when the magnitude of the q-axis noise component iq_no is greater than or equal to the third threshold TH3 and less than the fourth threshold TH4, 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, 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, and the subtraction unit 47. On the other hand, when the magnitude of the q-axis noise component iq_no is less than the third threshold TH3 or equal to or greater than the fourth threshold TH4, 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, and the subtraction unit 47.

ここで、非ノイズ成分の一例として、モータMの回転周波数の次数(以下では「回転次数」と呼ぶことがある)に依存する周波数成分(以下では「回転次数成分」と呼ぶことがある)、予測d軸電流id_pre及び予測q軸電流iq_preの算出遅れに起因して発生する周波数成分(以下では「算出遅れ成分」と呼ぶことがある)、及び、モータパラメータの誤差に起因して発生する成分(以下では「パラメータ誤差成分」と呼ぶことがある)等が挙げられる。回転次数成分の一例として、コギングトルクによる脈動等が挙げられる。以下、d軸差分id_dif及びq軸差分iq_difからのd軸ノイズ成分id_no及びq軸ノイズ成分iq_noの抽出について、抽出例1,2,3の3つの抽出例を挙げて説明する。 Here, examples of non-noise components include frequency components (hereinafter sometimes referred to as "rotation order components") that depend on the order of the rotation frequency of the motor M (hereinafter sometimes referred to as "rotation order"), frequency components (hereinafter sometimes referred to as "calculation delay components") that occur due to a delay in the calculation of the predicted d-axis current id_pre and the predicted q-axis current iq_pre, and components (hereinafter sometimes referred to as "parameter error components") that occur due to errors in the motor parameters. An example of a rotation order component is pulsation due to cogging torque. Below, extraction of the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif will be explained using three extraction examples, extraction examples 1, 2, and 3.

<抽出例1>
抽出例1では、ノイズ成分抽出部84は、d軸差分id_dif及びq軸差分iq_difから回転次数成分を除去することによりd軸差分id_dif及びq軸差分iq_difからd軸ノイズ成分id_no及びq軸ノイズ成分iq_noを抽出する。
<Extraction Example 1>
In extraction example 1, the noise component extraction unit 84 extracts the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif by removing the rotation order components from the d-axis difference id_dif and the q-axis difference iq_dif.

回転次数成分には高調波成分が含まれ、回転次数成分が出現する周波数の次数はモータMの極数、モータMのスロット数及びモータMの回転数によって定まる。例えば、モータMの回転数を基本波周波数として、モータMがX極Yスロットモータである場合には、図4に示すように、XとYの最小公倍数の周波数に回転次数成分が出現する。さらに、XとYの最小公倍数の2分の1倍、2倍、3倍、…、n倍の次数の周波数にも回転次数成分が出現する。例えば、モータMが6極9スロットのモータである場合、6と9との最小公倍数である18次の周波数の他、6と9との最小公倍数の2分の1倍の9次の周波数、及び、36次、54次、…という18×n次の周波数に回転次数成分が出現する。よって例えば、モータMの回転数が30[rps]である場合、270[Hz]、540[Hz]、1080[Hz]、1620[Hz]、…、540×n[Hz]の周波数に回転次数成分が出現する。このように、回転次数成分は、特定の周波数に出現する。図4は、本開示の実施例2のノイズ成分抽出部の動作例の説明に供する図である。 The rotational order components include harmonic components, and the order of the frequency at which the rotational order components appear is determined by the number of poles of motor M, the number of slots of motor M, and the rotational speed of motor M. For example, if motor M is an X-pole Y-slot motor with the rotational speed of motor M as the fundamental frequency, the rotational order components appear at the frequency of the least common multiple of X and Y, as shown in Figure 4. Furthermore, rotational order components also appear at frequencies of orders of half, two, three, ..., n times the least common multiple of X and Y. For example, if motor M is a 6-pole 9-slot motor, in addition to the 18th order frequency, which is the least common multiple of 6 and 9, the 9th order frequency, which is half the least common multiple of 6 and 9, and the 18 x n order frequencies of 36th, 54th, ... Therefore, for example, when the rotation speed of the motor M is 30 [rps], the rotation order components appear at frequencies of 270 [Hz], 540 [Hz], 1080 [Hz], 1620 [Hz], ..., 540 x n [Hz]. In this way, the rotation order components appear at specific frequencies. Figure 4 is a diagram for explaining an example of the operation of the noise component extraction unit of the second embodiment of the present disclosure.

そこで、抽出例1では、ノイズ成分抽出部84は、特定の周波数成分を除去可能なノッチフィルタを用いてd軸差分id_dif及びq軸差分iq_difをフィルタリングすることにより、d軸差分id_dif及びq軸差分iq_difから回転次数成分を除去する。これにより、d軸差分id_dif及びq軸差分iq_difから回転次数成分が除去された後のd軸ノイズ成分id_no及びq軸ノイズ成分iq_noが抽出される。 Therefore, in extraction example 1, the noise component extraction unit 84 removes the rotational order components from the d-axis difference id_dif and the q-axis difference iq_dif by filtering the d-axis difference id_dif and the q-axis difference iq_dif using a notch filter capable of removing specific frequency components. This allows the d-axis noise component id_no and the q-axis noise component iq_no to be extracted after the rotational order components have been removed from the d-axis difference id_dif and the q-axis difference iq_dif.

<抽出例2>
抽出例2では、ノイズ成分抽出部84は、d軸差分id_dif及びq軸差分iq_difから算出遅れ成分を除去することによりd軸差分id_dif及びq軸差分iq_difからd軸ノイズ成分id_no及びq軸ノイズ成分iq_noを抽出する。
<Extraction Example 2>
In extraction example 2, the noise component extraction unit 84 extracts the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif by removing the calculation delay components from the d-axis difference id_dif and the q-axis difference iq_dif.

算出遅れ成分は予測d軸電流id_pre及び予測q軸電流iq_preの算出に起因して発生する周波数成分であるため、図4に示すように、モータMの回転数と同じ特定の周波数に算出遅れ成分が出現する。例えば、モータMの回転数が30[rps]である場合、30[Hz]の周波数に算出遅れ成分が出現する。 Since the calculation delay component is a frequency component that occurs due to the calculation of the predicted d-axis current id_pre and the predicted q-axis current iq_pre, as shown in FIG. 4, the calculation delay component appears at a specific frequency that is the same as the rotation speed of the motor M. For example, when the rotation speed of the motor M is 30 [rps], the calculation delay component appears at a frequency of 30 [Hz].

そこで、抽出例2では、ノイズ成分抽出部84は、特定の周波数成分を除去可能なノッチフィルタを用いてd軸差分id_dif及びq軸差分iq_difをフィルタリングすることにより、d軸差分id_dif及びq軸差分iq_difから算出遅れ成分を除去する。これにより、d軸差分id_dif及びq軸差分iq_difから算出遅れ成分が除去された後のd軸ノイズ成分id_no及びq軸ノイズ成分iq_noが抽出される。 Therefore, in extraction example 2, the noise component extraction unit 84 removes the calculation delay components from the d-axis difference id_dif and the q-axis difference iq_dif by filtering the d-axis difference id_dif and the q-axis difference iq_dif using a notch filter capable of removing specific frequency components. This allows the d-axis noise component id_no and the q-axis noise component iq_no to be extracted after the calculation delay components have been removed from the d-axis difference id_dif and the q-axis difference iq_dif.

<抽出例3>
抽出例3では、ノイズ成分抽出部84は、d軸差分id_dif及びq軸差分iq_difからパラメータ誤差成分を除去することによりd軸差分id_dif及びq軸差分iq_difからd軸ノイズ成分id_no及びq軸ノイズ成分iq_noを抽出する。
<Extraction Example 3>
In extraction example 3, the noise component extraction unit 84 extracts the d-axis noise component id_no and the q-axis noise component iq_no from the d-axis difference id_dif and the q-axis difference iq_dif by removing parameter error components from the d-axis difference id_dif and the q-axis difference iq_dif.

実際のモータパラメータは固定値ではなく、モータMの状態によって変化する値であるため、式(2.1)及び式(2.2)に設定された固定値のモータパラメータと、実際のモータパラメータとの間には誤差が生じる。上記のように、予測d軸電流id_pre及び予測q軸電流iq_preは固定値のモータパラメータを設定された式(2.1)及び式(2.2)に基づいて算出されるため、モータパラメータ間の誤差に起因して、検出d軸電流id_detと予測d軸電流id_preとの間、及び、検出q軸電流iq_detと予測q軸電流iq_preとの間に定常的な誤差が生じる。つまり、パラメータ誤差成分は、図4に示すように、周波数成分を持たない所謂オフセット成分である。 The actual motor parameters are not fixed values, but values that change depending on the state of the motor M, so an error occurs between the fixed motor parameters set in equations (2.1) and (2.2) and the actual motor parameters. As described above, the predicted d-axis current id_pre and the predicted q-axis current iq_pre are calculated based on equations (2.1) and (2.2) in which fixed motor parameters are set, so that a steady error occurs between the detected d-axis current id_det and the predicted d-axis current id_pre, and between the detected q-axis current iq_det and the predicted q-axis current iq_pre due to the error between the motor parameters. In other words, the parameter error components are so-called offset components that do not have frequency components, as shown in FIG. 4.

そこで、抽出例3では、ノイズ成分抽出部84は、まず、ローパスフィルタを用いてd軸差分id_dif及びq軸差分iq_difをフィルタリングすることによりd軸差分id_dif及びq軸差分iq_difからパラメータ誤差成分を抽出する。次いで、ノイズ成分抽出部84は、抽出したパラメータ誤差成分をd軸差分id_dif及びq軸差分iq_difから除去する。これにより、d軸差分id_dif及びq軸差分iq_difからパラメータ誤差成分が除去された後のd軸ノイズ成分id_no及びq軸ノイズ成分iq_noが抽出される。 Therefore, in extraction example 3, the noise component extraction unit 84 first extracts parameter error components from the d-axis difference id_dif and the q-axis difference iq_dif by filtering the d-axis difference id_dif and the q-axis difference iq_dif using a low-pass filter. Next, the noise component extraction unit 84 removes the extracted parameter error components from the d-axis difference id_dif and the q-axis difference iq_dif. As a result, the d-axis noise component id_no and the q-axis noise component iq_no are extracted after the parameter error components have been removed from the d-axis difference id_dif and the q-axis difference iq_dif.

以上、抽出例1,2,3について説明した。 Extraction examples 1, 2, and 3 have been explained above.

なお、ノイズ成分抽出部84は、回転次数成分、算出遅れ成分及びパラメータ誤差成分のうち一つまたは複数をd軸差分id_dif及びq軸差分iq_difから除去しても良い。 The noise component extraction unit 84 may also remove one or more of the rotation order components, the calculation delay components, and the parameter error components from the d-axis difference id_dif and the q-axis difference iq_dif.

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

以上のように、本開示のモータ制御装置(実施例のモータ制御装置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相電流または予測値の何れをモータの制御に用いるかを決定する。 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 the predicted values of the two-phase currents (predicted d-axis current id_pre, predicted q-axis current iq_pre in the embodiment) according to the motor model formula of the motor. The determination unit determines whether to use the two-phase currents or the predicted values for motor control based on the two-phase currents of the rotating coordinates and the predicted values of the two-phase currents.

例えば、本開示のモータ制御装置は、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.

また、本開示のモータ制御装置は、差分に含まれる非ノイズ成分を差分から除去することにより差分に含まれるノイズ成分を抽出する抽出部(実施例のノイズ成分抽出部84)を有する。決定部は、ノイズ成分の大きさが第三閾値(実施例の第四閾値TH3)以上、かつ、第四閾値(実施例の第四閾値TH4)未満のときに2相電流をモータの制御に用いると決定し、ノイズ成分の大きさが第三閾値未満、または、第四閾値以上のときに予測値をモータの制御に用いると決定する。 The motor control device of the present disclosure also has an extraction unit (noise component extraction unit 84 in the embodiment) that extracts noise components contained in the difference by removing non-noise components contained in the difference from the difference. The determination unit determines that the two-phase current is used to control the motor when the magnitude of the noise component is equal to or greater than a third threshold (fourth threshold TH3 in the embodiment) and less than a fourth threshold (fourth threshold TH4 in the embodiment), and determines that the predicted value is used to control the motor when the magnitude of the noise component is less than the third threshold or equal to or greater than the fourth threshold.

こうすることで、モータの制御に用いる電流値の精度をさらに高めることができる。 This can further improve the accuracy of the current values used to control the motor.

例えば、抽出部は、モータの回転次数に依存する周波数成分を差分から除去することにより差分に含まれるノイズ成分を抽出する。 For example, the extraction unit extracts the noise components contained in the difference by removing frequency components that depend on the rotational order of the motor from the difference.

また例えば、抽出部は、予測値の算出遅れに起因する周波数成分を差分から除去することにより差分に含まれるノイズ成分を抽出する。 For example, the extraction unit also extracts noise components contained in the difference by removing frequency components caused by a delay in the calculation of the predicted value from the difference.

また例えば、抽出部は、モータモデル式に含まれるモータパラメータと、モータの実際のモータパラメータとの間のオフセット成分を差分から抽出し、オフセット成分を差分から除去することにより差分に含まれるノイズ成分を抽出する。 For example, the extraction unit extracts an offset component between the motor parameters included in the motor model formula and the actual motor parameters of the motor from the difference, and extracts the noise component included in the difference by removing the offset component from the difference.

こうすることで、ノイズ成分を正確に抽出することができる。 This allows the noise components to be extracted accurately.

100 モータ制御装置
10 スイッチングモジュール
21 電流検出部
42 3φ/dq変換部
61 3φ電流算出部
80 ノイズ判定部
81 電流予測部
82 差分算出部
83 電流決定部
84 ノイズ成分抽出部
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 84 Noise component extraction section

Claims (4)

直流電源から供給される直流電圧を交流電圧に変換し、前記交流電圧をモータに印加するスイッチングモジュールと、
前記直流電源と前記スイッチングモジュールとの間に接続された抵抗を用いて前記スイッチングモジュールの母線電流を検出する検出部と、
前記モータにおける固定座標の3相電流を前記母線電流に基づいて算出する第一算出部と、
前記3相電流を回転座標の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 according to a motor model equation of the motor;
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;
a second calculation unit that calculates a difference between the two-phase currents and the predicted values;
Equipped with
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.
直流電源から供給される直流電圧を交流電圧に変換し、前記交流電圧をモータに印加するスイッチングモジュールと、
前記直流電源と前記スイッチングモジュールとの間に接続された抵抗を用いて前記スイッチングモジュールの母線電流を検出する検出部と、
前記モータにおける固定座標の3相電流を前記母線電流に基づいて算出する第一算出部と、
前記3相電流を回転座標の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 according to a motor model equation of the motor;
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;
a second calculation unit that calculates a difference between the two-phase currents and the predicted values;
an extracting unit that extracts a noise component included in the difference by removing a frequency component that depends on a rotation order of the motor from the difference;
Equipped with
the determination unit determines whether to use the two-phase currents or the predicted value for controlling the motor based on a magnitude of the noise component.
Motor control device.
直流電源から供給される直流電圧を交流電圧に変換し、前記交流電圧をモータに印加するスイッチングモジュールと、
前記直流電源と前記スイッチングモジュールとの間に接続された抵抗を用いて前記スイッチングモジュールの母線電流を検出する検出部と、
前記モータにおける固定座標の3相電流を前記母線電流に基づいて算出する第一算出部と、
前記3相電流を回転座標の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 according to a motor model equation of the motor;
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;
a second calculation unit that calculates a difference between the two-phase currents and the predicted values;
an extraction unit that extracts a noise component included in the difference by removing a frequency component caused by a delay in calculation of the predicted value from the difference;
Equipped with
the determination unit determines whether to use the two-phase current or the predicted value for controlling the motor based on a magnitude of the noise component.
Motor control device.
直流電源から供給される直流電圧を交流電圧に変換し、前記交流電圧をモータに印加するスイッチングモジュールと、
前記直流電源と前記スイッチングモジュールとの間に接続された抵抗を用いて前記スイッチングモジュールの母線電流を検出する検出部と、
前記モータにおける固定座標の3相電流を前記母線電流に基づいて算出する第一算出部と、
前記3相電流を回転座標の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 according to a motor model equation of the motor;
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;
a second calculation unit that calculates a difference between the two-phase currents and the predicted values;
an extraction unit that extracts an offset component between a motor parameter included in the motor model formula and an actual motor parameter of the motor from the difference, and extracts a noise component included in the difference by removing the offset component from the difference;
Equipped with
the determination unit determines whether to use the two-phase current or the predicted value for controlling the motor based on a magnitude of the noise component.
Motor control device.
JP2021055999A 2021-03-29 2021-03-29 Motor Control Device Active JP7578041B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021055999A JP7578041B2 (en) 2021-03-29 2021-03-29 Motor Control Device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021055999A JP7578041B2 (en) 2021-03-29 2021-03-29 Motor Control Device

Publications (2)

Publication Number Publication Date
JP2022153006A JP2022153006A (en) 2022-10-12
JP7578041B2 true JP7578041B2 (en) 2024-11-06

Family

ID=83556491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021055999A Active JP7578041B2 (en) 2021-03-29 2021-03-29 Motor Control Device

Country Status (1)

Country Link
JP (1) JP7578041B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002095263A (en) 2000-09-14 2002-03-29 Mitsubishi Electric Corp Inverter device, compressor drive device, refrigeration / air-conditioning device, control method of inverter device
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
JP2008067556A (en) 2006-09-11 2008-03-21 Sanyo Electric Co Ltd Motor controller
JP2013055713A (en) 2011-08-31 2013-03-21 Mitsubishi Heavy Ind Ltd Motor controller, motor drive system, and motor control method
JP2013215064A (en) 2012-04-04 2013-10-17 Nsk Ltd Motor control device and electric power steering device mounted with the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002095263A (en) 2000-09-14 2002-03-29 Mitsubishi Electric Corp Inverter device, compressor drive device, refrigeration / air-conditioning device, control method of inverter device
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
JP2008067556A (en) 2006-09-11 2008-03-21 Sanyo Electric Co Ltd Motor controller
JP2013055713A (en) 2011-08-31 2013-03-21 Mitsubishi Heavy Ind Ltd Motor controller, motor drive system, and motor control method
JP2013215064A (en) 2012-04-04 2013-10-17 Nsk Ltd Motor control device and electric power steering device mounted with the same

Also Published As

Publication number Publication date
JP2022153006A (en) 2022-10-12

Similar Documents

Publication Publication Date Title
JP4677852B2 (en) Vector controller for permanent magnet synchronous motor
JP5155344B2 (en) Electric motor magnetic pole position estimation device
JP5130031B2 (en) Position sensorless control device for permanent magnet motor
JP4749874B2 (en) Power conversion device and motor drive device using the same
JP6183291B2 (en) Control device for synchronous motor
JP4881635B2 (en) Vector controller for permanent magnet motor
EP3252942A1 (en) Inverter control device and motor drive system
JP2003134898A (en) Sensorless control device and control method for synchronous generator
KR102409792B1 (en) Control device of permanent magnet synchronization electric motor, microcomputer, electric motor system, and driving method of permanent magnet synchronization electric motor
WO2020217764A1 (en) Power conversion device, and electric vehicle system provided therewith
JP4771998B2 (en) Electric motor drive
WO2013035382A1 (en) Control system for synchronous motor
US20260005629A1 (en) Motor control device
JP2003255006A (en) AC motor current sensor failure detection device
JP7578045B2 (en) Motor Control Device
JP7578041B2 (en) Motor Control Device
JP7567624B2 (en) Motor Control Device
JP5186352B2 (en) Electric motor magnetic pole position estimation device
JP2005045990A (en) Speed electromotive force detection device and method, inverter control device, etc.
US12199533B2 (en) Power conversion device
JP2002262592A (en) Motor control device
JP2024034452A (en) motor control device
JP2025015032A (en) Control device
JP2002071731A (en) Inverter control amplifier test equipment relative ground potential detection circuit
JP2025152421A (en) Motor controller, motor control program and motor system

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

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