JP7042028B2 - Motor control device and air conditioner - Google Patents

Motor control device and air conditioner Download PDF

Info

Publication number
JP7042028B2
JP7042028B2 JP2017041031A JP2017041031A JP7042028B2 JP 7042028 B2 JP7042028 B2 JP 7042028B2 JP 2017041031 A JP2017041031 A JP 2017041031A JP 2017041031 A JP2017041031 A JP 2017041031A JP 7042028 B2 JP7042028 B2 JP 7042028B2
Authority
JP
Japan
Prior art keywords
axis current
motor
control
command value
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017041031A
Other languages
Japanese (ja)
Other versions
JP2018148678A (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.)
Corona Corp
Original Assignee
Corona Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Corona Corp filed Critical Corona Corp
Priority to JP2017041031A priority Critical patent/JP7042028B2/en
Publication of JP2018148678A publication Critical patent/JP2018148678A/en
Application granted granted Critical
Publication of JP7042028B2 publication Critical patent/JP7042028B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、モータ制御装置及び空気調和装置に関する。 The present invention relates to a motor control device and an air conditioner.

従来からインバータを制御してモータを駆動するモータ制御装置が知られている。永久磁石によって界磁磁束を得るモータでは、回転数が上がるにつれて逆起電力が増加するため、ある回転数を超えると電機子電流・磁束の低下によりトルクが急激に低下してしまう。このようなトルクの低下を防ぐために、高回転域で印加電圧を弱める弱め磁束制御(弱め界磁制御)を行うモータ制御装置が、例えば、特許文献1に開示されている。 Conventionally, a motor control device that controls an inverter to drive a motor has been known. In a motor that obtains field magnetic flux with a permanent magnet, the counter electromotive force increases as the rotation speed increases, so when a certain rotation speed is exceeded, the torque drops sharply due to a decrease in the armature current and magnetic flux. In order to prevent such a decrease in torque, for example, Patent Document 1 discloses a motor control device that performs weakening magnetic flux control (weakening field control) that weakens the applied voltage in a high rotation range.

特許第5056106号公報Japanese Patent No. 5056106

弱め磁束制御として、弱め磁束制御の理論式に従って、回転数指令に応じて算出されたq軸電流指令値に対応したd軸電流指令値を決定・出力する手法がある。しかしながら、図10(a)に示すように、算出されたq軸電流指令値にバラツキ(ΔIq*参照)が生じると、弱め磁束制御の理論式(曲線C2を表す式)に従って算出されるd軸電流指令値に予期せぬ変動(ΔId*参照)が生じる。 As the weakening magnetic flux control, there is a method of determining and outputting the d-axis current command value corresponding to the q-axis current command value calculated according to the rotation speed command according to the theoretical formula of the weakening magnetic flux control. However, as shown in FIG. 10A, when the calculated q-axis current command value varies (see ΔIq *), the d-axis is calculated according to the theoretical formula for weakening magnetic flux control (formula representing curve C2). Unexpected fluctuations (see ΔId *) occur in the current command value.

また、弱め磁束制御の理論式は、変数として最大電圧Vam(モータの端子電圧の上限値)とモータの回転速度ωを含むため、当該理論式に基づいて算出されるd軸電流指令値はこれらの変数にも依存する。このため、図10(b)に示すように、最大電圧Vamや回転速度ωの入力値にバラツキが生じることによっても、弱め磁束制御理論に従って算出されるd軸電流指令値に予期せぬ変動(ΔId*参照)が生じる。 Further, since the theoretical formula for weakening magnetic flux control includes the maximum voltage Vam (upper limit value of the terminal voltage of the motor) and the rotation speed ω of the motor as variables, the d-axis current command value calculated based on the theoretical formula is these. It also depends on the variables of. Therefore, as shown in FIG. 10B, even if the input values of the maximum voltage Vam and the rotation speed ω vary, the d-axis current command value calculated according to the weakening magnetic flux control theory unexpectedly fluctuates ( ΔId *) occurs.

これらの要因により、算出されるd軸電流指令値にモータの安定動作が困難となる程の変動が生じる可能性がある。 Due to these factors, the calculated d-axis current command value may fluctuate to the extent that stable operation of the motor becomes difficult.

本発明は、上記実状を鑑みてなされたものであり、モータを安定して動作させることができるモータ制御装置及び空気調和装置を提供することを目的とする。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a motor control device and an air conditioning device capable of stably operating a motor.

上記目的を達成するため、本発明の第1の観点に係るモータ制御装置は、
モータの目標回転速度に応じて決定したd軸電流指令値及びq軸電流指令値に従いインバータを介して前記モータを駆動するモータ制御装置であって、
決定されたq軸電流指令値を取得し、取得したq軸電流指令値に基づいてd軸電流指令値を決定するd軸電流制御手段と、
前記モータを弱め磁束制御により駆動するか否かを判別する判別手段と、
前記モータの回転速度変動を抑制するためにq軸電流指令値を補正するトルク制御を実行可能な補正手段と、を備え、
前記判別手段は、前記モータの回転速度が予め定めた切替回転速度以上である場合に前記モータを弱め磁束制御により駆動すると判別し、
前記補正手段は、前記判別手段が前記モータを弱め磁束制御により駆動すると判別したか否かに関わらず、前記モータの目標回転速度と回転速度の偏差が許容値を超える場合に前記トルク制御を実行し、前記偏差が前記許容値を超えない場合には前記トルク制御を実行せず、
前記d軸電流制御手段は、前記判別手段が前記モータを弱め磁束制御により駆動すると判別した場合であっても、前記補正手段が前記トルク制御を実行する場合には、取得したq軸電流指令値に関わらずに求めた値であって、特定関数に基づいて求めた所定値にd軸電流指令値を決定し、
前記特定関数は、電流制限曲線の関数と弱め磁束制御理論に従う曲線の関数とから導かれる、q軸電流指令値に依存しない関数であり、
前記所定値は、前記モータが電圧飽和しない値であって、前記電流制限曲線と前記弱め磁束制御理論に従う曲線との交点に応じた値である。
In order to achieve the above object, the motor control device according to the first aspect of the present invention is
A motor control device that drives the motor via an inverter according to the d-axis current command value and the q-axis current command value determined according to the target rotation speed of the motor.
A d-axis current control means that acquires the determined q-axis current command value and determines the d-axis current command value based on the acquired q-axis current command value.
A discriminating means for determining whether or not the motor is driven by weakening magnetic flux control, and
It is provided with a correction means capable of executing torque control for correcting the q-axis current command value in order to suppress the rotation speed fluctuation of the motor.
The discrimination means determines that the motor is driven by the weakening magnetic flux control when the rotation speed of the motor is equal to or higher than a predetermined switching rotation speed.
The correction means executes the torque control when the deviation between the target rotation speed and the rotation speed of the motor exceeds an allowable value regardless of whether or not the discrimination means determines that the motor is driven by weakening magnetic flux control. However, if the deviation does not exceed the permissible value, the torque control is not executed and the torque control is not executed.
The d-axis current control means has acquired the q-axis current command value when the correction means executes the torque control even when the discriminating means determines that the motor is weakened and driven by the magnetic flux control. The d-axis current command value is determined as a predetermined value obtained based on a specific function, which is a value obtained regardless of the above.
The specific function is a function that does not depend on the q-axis current command value and is derived from the function of the current limiting curve and the function of the curve according to the weakening magnetic flux control theory.
The predetermined value is a value at which the motor does not saturate the voltage, and is a value corresponding to the intersection of the current limiting curve and the curve according to the weakening magnetic flux control theory.

また、前記d軸電流制御手段は、d軸電流指令値を前記所定値に決定すると、d軸電流指令値を現在値から前記所定値まで徐々に変化させてもよい。 Further, the d-axis current control means may gradually change the d-axis current command value from the current value to the predetermined value when the d-axis current command value is determined to be the predetermined value.

上記目的を達成するため、本発明の第2の観点に係る空気調和装置は、
前記モータ制御装置と、
前記インバータと、前記モータと、前記モータによって駆動されるコンプレッサと、前記コンプレッサにより圧縮された冷媒を利用して室温を調整する空調部と、を備える。
In order to achieve the above object, the air conditioner according to the second aspect of the present invention is
With the motor control device
It includes the inverter, the motor, a compressor driven by the motor, and an air conditioning unit that adjusts the room temperature by using the refrigerant compressed by the compressor.

本発明によれば、モータを安定して動作させることができる。 According to the present invention, the motor can be operated stably.

本発明の一実施形態に係る空気調和装置の構成を示す模式図である。It is a schematic diagram which shows the structure of the air conditioner which concerns on one Embodiment of this invention. (a)~(d)は、モータの各角度におけるコンプレッサの断面図である。(A) to (d) are sectional views of a compressor at each angle of a motor. モータの角度に対する負荷トルクの変動を示すグラフである。It is a graph which shows the fluctuation of the load torque with respect to the angle of a motor. 本発明の一実施形態に係るモータ制御部の構成を示すブロック図である。It is a block diagram which shows the structure of the motor control part which concerns on one Embodiment of this invention. 本発明の一実施形態に係るトルク制御部の構成を示すブロック図である。It is a block diagram which shows the structure of the torque control part which concerns on one Embodiment of this invention. トルク制御を実行しない場合における(a)はモータの角度に対する負荷トルクの変動を示すグラフであり、(b)はモータの角度に対する出力トルクの変動を示すグラフであり、(c)はモータの角度に対する回転速度の変動を示すグラフである。When torque control is not executed, (a) is a graph showing the fluctuation of the load torque with respect to the angle of the motor, (b) is a graph showing the fluctuation of the output torque with respect to the angle of the motor, and (c) is the graph showing the fluctuation of the output torque with respect to the angle of the motor. It is a graph which shows the fluctuation of the rotation speed with respect to. トルク制御を実行する場合における(a)はモータの角度に対する負荷トルクの変動を示すグラフであり、(b)はモータの角度に対する出力トルクの変動を示すグラフであり、(c)はモータの角度に対する回転速度の変動を示すグラフである。When torque control is executed, (a) is a graph showing the fluctuation of the load torque with respect to the angle of the motor, (b) is a graph showing the fluctuation of the output torque with respect to the angle of the motor, and (c) is the graph showing the fluctuation of the output torque with respect to the angle of the motor. It is a graph which shows the fluctuation of the rotation speed with respect to. 電流ベクトルの制御範囲などを示すグラフである。It is a graph which shows the control range of a current vector. 本発明の一実施形態に係るd軸電流制御処理を示すフローチャートである。It is a flowchart which shows the d-axis current control processing which concerns on one Embodiment of this invention. (a)及び(b)は、弱め磁束制御時に発生するd軸電流指令値の変動要因を説明するための図である。(A) and (b) are diagrams for explaining the fluctuation factor of the d-axis current command value generated at the time of weakening magnetic flux control.

本発明に係るモータ制御装置及び空気調和装置の一実施形態について図面を参照して説明する。
図1に示すように、空気調和装置1は、制御部10と、インバータ20と、モータ30と、コンプレッサ40と、電源50と、シャント抵抗19と、電流センサ35v,35wと、空調部60と、を備える。
An embodiment of the motor control device and the air conditioner according to the present invention will be described with reference to the drawings.
As shown in FIG. 1, the air conditioner 1 includes a control unit 10, an inverter 20, a motor 30, a compressor 40, a power supply 50, a shunt resistance 19, current sensors 35v, 35w, and an air conditioning unit 60. , Equipped with.

電源50は、図示しない商用電源から直流電圧を生成し、生成された直流電圧をインバータ20に印加する。 The power supply 50 generates a DC voltage from a commercial power supply (not shown), and applies the generated DC voltage to the inverter 20.

シャント抵抗19は、過電流検出のために、電源50とインバータ20との間の接続線に介挿されている。シャント抵抗19は、この接続線に流れる電流を検出する電流検出信号Sp1をインバータ20に出力する。 The shunt resistor 19 is inserted in the connection line between the power supply 50 and the inverter 20 for overcurrent detection. The shunt resistor 19 outputs a current detection signal Sp1 for detecting the current flowing through the connection line to the inverter 20.

インバータ20は、制御部10からのPWM信号Su,Sv,Swに基づき、電源50から供給された直流電流を、3相、すなわちU相、V相、W相の交流電流Iu,Iv,Iwに変換し、その変換した交流電流Iu,Iv,Iwをモータ30に供給する。インバータ20は、例えば、IPM(Intelligent Power Module)から構成されている。インバータ20は、シャント抵抗19からの電流検出信号Sp1を受けて過電流の有無を表す過電流検知信号Sp2を制御部10に出力する。 The inverter 20 transfers the DC current supplied from the power supply 50 to the three-phase, that is, the U-phase, V-phase, and W-phase alternating currents Iu, Iv, and Iw based on the PWM signals Su, Sv, and Sw from the control unit 10. It is converted, and the converted AC currents Iu, Iv, and Iw are supplied to the motor 30. The inverter 20 is composed of, for example, an IPM (Intelligent Power Module). The inverter 20 receives the current detection signal Sp1 from the shunt resistor 19 and outputs an overcurrent detection signal Sp2 indicating the presence or absence of an overcurrent to the control unit 10.

モータ30は、3相ブラシレスモータである。モータ30は、インバータ20から交流電流Iu,Iv,Iwを受けることで回転し、これによりコンプレッサ40を駆動する。 The motor 30 is a three-phase brushless motor. The motor 30 rotates by receiving alternating currents Iu, Iv, and Iw from the inverter 20, thereby driving the compressor 40.

電流センサ35vは、モータ30に流れるV相の電流Ivの値を検出し、検出値を示す信号を制御部10に出力する。電流センサ35wは、モータ30に流れるW相の電流Iwの値を検出し、検出値を示す信号を制御部10に出力する。電流センサ35v、35wの各々は、例えば、CT(変流器)センサ又はホール素子から構成されている。 The current sensor 35v detects the value of the V-phase current Iv flowing through the motor 30, and outputs a signal indicating the detected value to the control unit 10. The current sensor 35w detects the value of the W-phase current Iw flowing through the motor 30, and outputs a signal indicating the detected value to the control unit 10. Each of the current sensors 35v and 35w is composed of, for example, a CT (current transformer) sensor or a Hall element.

コンプレッサ40は、モータ30により駆動されることで、吸入した冷媒を圧縮し、その圧縮した冷媒を排出する。コンプレッサ40の具体的構成については後述する。 The compressor 40 is driven by the motor 30 to compress the sucked refrigerant and discharge the compressed refrigerant. The specific configuration of the compressor 40 will be described later.

空調部60は、コンプレッサ40により圧縮された冷媒を利用して室内温度を調整する。詳しくは、空調部60は、室内空気と熱交換する室内用熱交換器63と、室外空気と熱交換する室外用熱交換器64と、冷媒の減圧を行う膨張弁65と、コンプレッサ40により圧縮された冷媒の流路を室外用熱交換器64及び室内用熱交換器63の何れかに切り替える四方弁66と、を備える。 The air conditioning unit 60 adjusts the room temperature by using the refrigerant compressed by the compressor 40. Specifically, the air conditioning unit 60 is compressed by an indoor heat exchanger 63 that exchanges heat with the indoor air, an outdoor heat exchanger 64 that exchanges heat with the outdoor air, an expansion valve 65 that reduces the pressure of the refrigerant, and a compressor 40. A four-way valve 66 for switching the flow path of the generated refrigerant to either the outdoor heat exchanger 64 or the indoor heat exchanger 63 is provided.

冷房運転時について説明すると、四方弁66は、コンプレッサ40により圧縮された冷媒を室外用熱交換器64に送り込む。室外用熱交換器64は、冷房運転時には冷媒を冷却するガスクーラとして機能し、室外空気と冷媒との間で熱交換させることで冷媒の熱を室外に排出する。その後、この冷媒は、膨張弁65で減圧膨張されたうえで室内用熱交換器63に送られる。室内用熱交換器63は、冷房運転時には蒸発器として機能し、冷媒を蒸発させることで室内空気と冷媒との間で熱交換させ、室内空気の温度を低下させる。これにより、室内温度の調整を図る。そして、室内用熱交換器63を経た冷媒は、四方弁66を介してコンプレッサ40に戻る。 Explaining the cooling operation, the four-way valve 66 sends the refrigerant compressed by the compressor 40 to the outdoor heat exchanger 64. The outdoor heat exchanger 64 functions as a gas cooler for cooling the refrigerant during cooling operation, and discharges the heat of the refrigerant to the outside by exchanging heat between the outdoor air and the refrigerant. After that, this refrigerant is decompressed and expanded by the expansion valve 65, and then sent to the indoor heat exchanger 63. The indoor heat exchanger 63 functions as an evaporator during the cooling operation, and by evaporating the refrigerant, heat is exchanged between the indoor air and the refrigerant, and the temperature of the indoor air is lowered. As a result, the room temperature is adjusted. Then, the refrigerant that has passed through the indoor heat exchanger 63 returns to the compressor 40 via the four-way valve 66.

暖房運転時について説明すると、四方弁66は、コンプレッサ40により圧縮された冷媒を室内用熱交換器63に送り込む。室内用熱交換器63は冷媒を冷却するガスクーラとして機能し、室内空気と冷媒との間で熱交換させることで、室内空気の温度を上昇させる。これにより、室内温度の調整を図る。そして、膨張弁65は、室内用熱交換器63を経た冷媒を減圧膨張させたうえで室外用熱交換器64に送り込む。室外用熱交換器64は、蒸発器として機能し、冷媒を蒸発させることで室外空気と冷媒との間で熱交換させる。その後、四方弁66は、熱交換された冷媒をコンプレッサ40に戻す。 Explaining the heating operation, the four-way valve 66 sends the refrigerant compressed by the compressor 40 to the indoor heat exchanger 63. The indoor heat exchanger 63 functions as a gas cooler for cooling the refrigerant, and raises the temperature of the indoor air by exchanging heat between the indoor air and the refrigerant. As a result, the room temperature is adjusted. Then, the expansion valve 65 decompresses and expands the refrigerant that has passed through the indoor heat exchanger 63, and then sends the refrigerant to the outdoor heat exchanger 64. The outdoor heat exchanger 64 functions as an evaporator and evaporates the refrigerant to exchange heat between the outdoor air and the refrigerant. After that, the four-way valve 66 returns the heat-exchanged refrigerant to the compressor 40.

コンプレッサ40は、本例では、シングルロータリー式で、スライドベーン型のコンプレッサである。詳しくは、図2(a)~(d)に示すように、コンプレッサ40は、円筒状のシリンダ41と、モータ30によりシリンダ41内を偏心回転する円柱状の一つのロータ42と、ロータ42の偏心回転に伴いシリンダ41内を吸入室46a及び圧縮室46bに区切るベーン43と、を備える。 In this example, the compressor 40 is a single rotary type, slide vane type compressor. Specifically, as shown in FIGS. 2A to 2D, the compressor 40 includes a cylindrical cylinder 41, a cylindrical rotor 42 that is eccentrically rotated in the cylinder 41 by a motor 30, and a rotor 42. A vane 43 that divides the inside of the cylinder 41 into a suction chamber 46a and a compression chamber 46b with eccentric rotation is provided.

ベーン43は、シリンダ41の周壁を貫通しており、その先端はシリンダ41の内部に位置する。ベーン43は、図示しないばね等の付勢部材により先端がロータ42の周面に圧接する。シリンダ41には、ベーン43を挟んで位置する排出口41o及び吸入口41iが形成される。吸入口41iは冷媒をシリンダ41内に吸入するための孔である。排出口41oは圧縮した冷媒をシリンダ41内から排出するための孔である。排出口41oには、排出口41oを開閉する排出弁47oが設けられている。吸入口41iには、吸入口41iを開閉する吸入弁47iが設けられている。ロータ42は、モータ30の回転に伴い、自転しつつ、シリンダ41の内周面に沿って公転する。 The vane 43 penetrates the peripheral wall of the cylinder 41, and its tip is located inside the cylinder 41. The tip of the vane 43 is pressed against the peripheral surface of the rotor 42 by an urging member such as a spring (not shown). The cylinder 41 is formed with an discharge port 41o and a suction port 41i located across the vane 43. The suction port 41i is a hole for sucking the refrigerant into the cylinder 41. The discharge port 41o is a hole for discharging the compressed refrigerant from the inside of the cylinder 41. The discharge port 41o is provided with a discharge valve 47o that opens and closes the discharge port 41o. The suction port 41i is provided with a suction valve 47i that opens and closes the suction port 41i. The rotor 42 revolves along the inner peripheral surface of the cylinder 41 while rotating on its axis as the motor 30 rotates.

図2(a)に示すように、モータ30の角度θが0°にあるとき、ロータ42はベーン43の先端をシリンダ41の内周面に一致させる位置まで退避させる。このとき、シリンダ41内には吸入された冷媒が充填されている。
図2(b)に示すように、吸入弁47iが開いた状態で、かつ排出弁47oが閉じた状態で、モータ30の角度θが120°まで回転すると、ロータ42がシリンダ41の内周面に沿って図中の反時計回りに120°回転する。この際、吸入室46a内に吸入口41iを介して冷媒が吸入されるとともに、圧縮室46b内の冷媒は圧縮される。図2(c)に示すように、さらにモータ30の角度θが180°まで回転すると、圧縮室46b内の冷媒がさらに圧縮されることで冷媒の温度は上昇する。図2(d)に示すように、モータ30の角度θが240°程度まで回転すると、圧縮室46b内の圧力が高まることで排出弁47oが開く。これにより、圧縮された冷媒は排出される。
As shown in FIG. 2A, when the angle θ of the motor 30 is 0 °, the rotor 42 retracts the tip of the vane 43 to a position where it coincides with the inner peripheral surface of the cylinder 41. At this time, the cylinder 41 is filled with the sucked refrigerant.
As shown in FIG. 2B, when the angle θ of the motor 30 rotates to 120 ° with the suction valve 47i open and the discharge valve 47o closed, the rotor 42 moves to the inner peripheral surface of the cylinder 41. Rotate 120 ° counterclockwise in the figure along. At this time, the refrigerant is sucked into the suction chamber 46a through the suction port 41i, and the refrigerant in the compression chamber 46b is compressed. As shown in FIG. 2C, when the angle θ of the motor 30 is further rotated to 180 °, the refrigerant in the compression chamber 46b is further compressed, and the temperature of the refrigerant rises. As shown in FIG. 2D, when the angle θ of the motor 30 rotates to about 240 °, the pressure in the compression chamber 46b increases and the discharge valve 47o opens. As a result, the compressed refrigerant is discharged.

このように、モータ30が1回転する間に、コンプレッサ40は、吸入、圧縮及び排出を行う。このため、図3のグラフに示すように、モータ30の負荷トルクは、モータ30の1回転の間に大きく変動する。この負荷トルクの変動をトルク脈動とも呼ぶ。このトルク脈動は、各種コンプレッサのなかでもスライドベーン型のコンプレッサにおいて顕著に発生する。また、図3に例示するように、空気調和装置1における動作負荷等により、それぞれ異なる負荷トルクの変動パターンA1~A3となる。この例では、変動パターンA1は、変動パターンA2,A3よりも動作負荷が大きく、変動パターンA2は、変動パターンA3よりも動作負荷が大きい。変動パターンA1~A3は、それぞれ負荷トルクが最大となるピーク値が異なるとともに、ピーク値をとるモータ30の角度θであるピーク位置が異なる。トルク脈動による変動パターンは、この変動パターンA1~A3に限らず、コンプレッサ40の吐出圧及び吸入圧、コンプレッサ40の経年変化等の種々の要因により無数に存在する。 In this way, while the motor 30 makes one revolution, the compressor 40 performs suction, compression, and discharge. Therefore, as shown in the graph of FIG. 3, the load torque of the motor 30 fluctuates greatly during one rotation of the motor 30. This fluctuation in load torque is also called torque pulsation. This torque pulsation is remarkably generated in the slide vane type compressor among various compressors. Further, as illustrated in FIG. 3, the fluctuation patterns A1 to A3 of the load torque are different depending on the operating load and the like in the air conditioner 1. In this example, the fluctuation pattern A1 has a larger operating load than the fluctuation patterns A2 and A3, and the fluctuation pattern A2 has a larger operating load than the fluctuation pattern A3. The fluctuation patterns A1 to A3 have different peak values at which the load torque is maximized, and also have different peak positions, which are angles θ of the motors 30 that take the peak values. The fluctuation pattern due to torque pulsation is not limited to the fluctuation patterns A1 to A3, and exists innumerably due to various factors such as the discharge pressure and suction pressure of the compressor 40 and the secular variation of the compressor 40.

図1に示す制御部10は、インバータ20を介してモータ30の動作を制御するものであり、マイクロコンピュータから構成され、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを有する。ROMは、CPUの処理手順を規定する動作プログラム(後述のd軸電流制御処理を実行するためのプログラムを含む)やテーブルデータなどの固定データを予め記憶する。RAMは、各種の演算結果などを一時的に記憶する。例えば、RAMには、後述のd軸電流制御処理における判別結果や決定結果を示すデータなどが記憶される。 The control unit 10 shown in FIG. 1 controls the operation of the motor 30 via the inverter 20, is composed of a microcomputer, and has a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). ) And so on. The ROM stores in advance fixed data such as an operation program (including a program for executing the d-axis current control process described later) and table data that define the processing procedure of the CPU. The RAM temporarily stores various calculation results and the like. For example, the RAM stores data indicating a discrimination result or a determination result in the d-axis current control process described later.

制御部10は、機能部として、運転指令部11と、モータ制御部12とを備える。
運転指令部11は、例えばユーザによるリモコンの操作に応じて空気調和装置1の運転を指令する。運転指令部11は、例えば、図示しないセンサにより取得される室内温度及び室外温度、ユーザにより設定される目標温度に基づきモータ30の目標回転速度ω0(回転数指令)を演算し、演算した目標回転速度ω0をモータ制御部12に出力する。
The control unit 10 includes an operation command unit 11 and a motor control unit 12 as functional units.
The operation command unit 11 commands the operation of the air conditioner 1 in response to, for example, the operation of the remote controller by the user. The operation command unit 11 calculates the target rotation speed ω0 (rotation speed command) of the motor 30 based on, for example, the indoor temperature and the outdoor temperature acquired by a sensor (not shown), and the target temperature set by the user, and the calculated target rotation. The rotation speed ω0 is output to the motor control unit 12.

モータ制御部12は、ベクトル制御によりモータ30を制御する。
図4に示すように、モータ制御部12は、機能部として、3相電流演算部121と、電流変換部122と、位置推定部123と、速度制御部124と、d軸電流制御部125と、電流制御部126と、電圧変換部127と、PWM信号生成部128と、トルク制御部13と、を備える。
The motor control unit 12 controls the motor 30 by vector control.
As shown in FIG. 4, the motor control unit 12 includes a three-phase current calculation unit 121, a current conversion unit 122, a position estimation unit 123, a speed control unit 124, and a d-axis current control unit 125 as functional units. , A current control unit 126, a voltage conversion unit 127, a PWM signal generation unit 128, and a torque control unit 13.

3相電流演算部121は、電流センサ35v、35wを通じてV相、W相の電流Iv,Iwの値を取得する。そして、3相電流演算部121は、その取得した電流Iv,Iwの値に基づき、3相の電流Iu,Iv,Iwの和がゼロとなることを利用してU相の電流Iuの値を演算する。この際、3相電流演算部121は、例えば、複数回にわたって電流Iv,Iwの値を取得し、その平均値をとる。また、3相電流演算部121は、例えば、インバータ20からの過電流検知信号Sp2に基づき過電流が発生しているときにはそのときの電流Iv,Iwの値を含めずに平均値をとる。 The three-phase current calculation unit 121 acquires the values of the V-phase and W-phase currents Iv and Iw through the current sensors 35v and 35w. Then, the three-phase current calculation unit 121 sets the value of the U-phase current Iu by utilizing the fact that the sum of the three-phase currents Iu, Iv, and Iw becomes zero based on the acquired current values Iv and Iw. Calculate. At this time, the three-phase current calculation unit 121 acquires the values of the currents Iv and Iw a plurality of times, and takes the average value thereof. Further, the three-phase current calculation unit 121 takes an average value without including the values of the currents Iv and Iw at that time when an overcurrent is generated based on the overcurrent detection signal Sp2 from the inverter 20, for example.

電流変換部122は、3相電流演算部121によって演算された3相の電流Iu,Iv,Iwを2相のq軸電流Iqとd軸電流Idに座標変換する。なお、q軸電流Iqはモータ30のトルク成分であり、d軸電流Idはモータ30の磁束成分である。 The current conversion unit 122 coordinates-converts the three-phase currents Iu, Iv, and Iw calculated by the three-phase current calculation unit 121 into the two-phase q-axis current Iq and the d-axis current Id. The q-axis current Iq is a torque component of the motor 30, and the d-axis current Id is a magnetic flux component of the motor 30.

位置推定部123は、電流変換部122により変換されたq軸電流Iq及びd軸電流Idと、後述する電流制御部126により演算されるq軸電圧指令値Vq及びd軸電圧指令値Vdとに基づき、モータ30の角度θ(回転位置)を推定する。また、位置推定部123は、推定されたモータ30の角度θを微分することで回転速度情報であるモータ30の回転速度ω(回転数)を推定する。 The position estimation unit 123 has a q-axis current Iq and a d-axis current Id converted by the current conversion unit 122, and a q-axis voltage command value Vq and a d-axis voltage command value Vd calculated by the current control unit 126 described later. Based on this, the angle θ (rotational position) of the motor 30 is estimated. Further, the position estimation unit 123 estimates the rotation speed ω (rotation speed) of the motor 30, which is the rotation speed information, by differentiating the estimated angle θ of the motor 30.

速度制御部124は、モータ30の回転速度ωを運転指令部11からの目標回転速度ω0に一致させるべくq軸電流指令値Iq*(目標となるq軸電流)を演算するフィードバック制御を行う。例えば、速度制御部124は、目標回転速度ω0と回転速度ωとの偏差ωe(ωe=ω0-ω)を求める。そして、速度制御部124は、偏差ωeに基づくPI制御により、q軸電流指令値Iq*を、Iq*=k1・ωe+k2∫ωedtにより求める。なお、k1は比例要素のフィードバックゲインであり、k2は積分要素のフィードバックゲインである。また、速度制御部124が行うフィードバック制御は、PI制御に限られず、P(比例)、I(積分)、D(微分)のうち少なくともいずれかを用いた制御であってもよい。 The speed control unit 124 performs feedback control for calculating the q-axis current command value Iq * (target q-axis current) so that the rotation speed ω of the motor 30 matches the target rotation speed ω0 from the operation command unit 11. For example, the speed control unit 124 obtains the deviation ωe (ωe = ω0−ω) between the target rotation speed ω0 and the rotation speed ω. Then, the speed control unit 124 obtains the q-axis current command value Iq * by Iq * = k1 · ωe + k2 ∫ωedt by PI control based on the deviation ωe. Note that k1 is the feedback gain of the proportional element, and k2 is the feedback gain of the integrating element. Further, the feedback control performed by the speed control unit 124 is not limited to the PI control, and may be a control using at least one of P (proportional), I (integral), and D (differential).

トルク制御部13は、位置推定部123が推定した回転速度ωと、電流変換部122により変換されたq軸電流Iq及びd軸電流Idとに基づき、トルク補正電流Iq*’を演算する。加算器14は、このトルク補正電流Iq*’と、速度制御部124によって演算されたq軸電流指令値Iq*とを加算する。これにより補正後のq軸電流指令値Iq*’’が演算される。このトルク補正電流Iq*’は、トルク脈動による負荷変動に関わらずモータ30の回転速度ωを安定させる値に設定される。 The torque control unit 13 calculates the torque correction current Iq *'based on the rotation speed ω estimated by the position estimation unit 123 and the q-axis current Iq and the d-axis current Id converted by the current conversion unit 122. The adder 14 adds the torque correction current Iq *'and the q-axis current command value Iq * calculated by the speed control unit 124. As a result, the corrected q-axis current command value Iq * ″ is calculated. This torque correction current Iq *'is set to a value that stabilizes the rotational speed ω of the motor 30 regardless of the load fluctuation due to torque pulsation.

この実施形態では、後述するように、トルク制御部13によるトルク制御(q軸電流指令値Iq*の補正)が行われる場合と行われない場合がある。トルク制御部13によるトルク制御が行われない場合は、後述するようにトルク補正電流Iq*’は0(Iq*’=0)となり、加算器14から出力されるq軸電流値Iq*’’は、速度制御部124によって演算されたq軸電流指令値Iq*そのままの値となる。トルク制御部13の具体的な構成及び処理内容については後述する。 In this embodiment, as will be described later, torque control (correction of the q-axis current command value Iq *) by the torque control unit 13 may or may not be performed. When the torque control by the torque control unit 13 is not performed, the torque correction current Iq *'is 0 (Iq *'= 0) as described later, and the q-axis current value Iq *'' output from the adder 14 Is the q-axis current command value Iq * calculated by the speed control unit 124 as it is. The specific configuration and processing contents of the torque control unit 13 will be described later.

d軸電流制御部125は、加算器14から出力されたq軸電流指令値Iq*’’に応じてd軸電流指令値Id*を決定し、電流制御部126に出力する。また、d軸電流制御部125は、位置推定部123が推定した回転速度ωを取得するとともに、図示せぬ電圧センサから最大電圧Vam(モータ30の端子電圧の上限値)を取得する。これらの回転速度ωと最大電圧Vamもd軸電流指令値Id*の決定に用いられる。 The d-axis current control unit 125 determines the d-axis current command value Id * according to the q-axis current command value Iq * ″ output from the adder 14, and outputs the d-axis current command value Id * to the current control unit 126. Further, the d-axis current control unit 125 acquires the rotation speed ω estimated by the position estimation unit 123, and also acquires the maximum voltage Vam (upper limit value of the terminal voltage of the motor 30) from a voltage sensor (not shown). These rotation speed ω and maximum voltage Vam are also used to determine the d-axis current command value Id *.

詳細には、d軸電流制御部125は、条件に応じて、下記の第1~第3制御モードのいずれかを選択し、選択したモードに応じた手法(下記(数1)~(数3)の式に基づく手法)でd軸電流指令値Id*を算出する。d軸電流制御部125は、予めROM内に記憶されている、下記(数1)~(数3)の式を示すデータやテーブルを用いて、d軸電流指令値Id*を算出する。以下に、第1~第3制御モードについて説明する。 Specifically, the d-axis current control unit 125 selects one of the following first to third control modes according to the conditions, and the method according to the selected mode (the following (Equation 1) to (Equation 3). ) Is used to calculate the d-axis current command value Id *. The d-axis current control unit 125 calculates the d-axis current command value Id * by using the data and the table showing the following equations (Equation 1) to (Equation 3) stored in the ROM in advance. The first to third control modes will be described below.

(第1制御モード:最大トルク制御)
モータ30の駆動開始時には、d軸電流制御部125は、加算器14から取得したq軸電流指令値Iq*’’と下記(数1)式に基づき、d軸電流指令値Id*を算出する。これにより、第1制御モードとしての最大トルク制御が実行される。最大トルク制御では、下記(数1)式が表す最大トルク制御曲線C1(図8参照)に従って、電流ベクトルを最小の電流で最大のトルクが得られるように制御する。なお、K1は、K1=Kf/{2(ρ-1)}により求められる係数であり、Kfは、Kf=Ψ/Ldにより求められる係数である。ρは突極係数(ρ=Lq/Ld)、Lq,Ldはq,d軸電機子自己インダクタンス、Ψは磁束鎖交数である。また、下記(数1)における「Iq」は加算器14から取得するq軸電流指令値Iq*’’に、「Id」はd軸電流制御部125が算出するd軸電流指令値Id*に相当する。
(1st control mode: maximum torque control)
At the start of driving the motor 30, the d-axis current control unit 125 calculates the d-axis current command value Id * based on the q-axis current command value Iq *'' acquired from the adder 14 and the following equation (Equation 1). .. As a result, the maximum torque control as the first control mode is executed. In the maximum torque control, the current vector is controlled so that the maximum torque can be obtained with the minimum current according to the maximum torque control curve C1 (see FIG. 8) represented by the following equation (Equation 1). K1 is a coefficient obtained by K1 = Kf / {2 (ρ-1)}, and Kf is a coefficient obtained by Kf = Ψ / Ld. ρ is a salient pole coefficient (ρ = Lq / Ld), Lq and Ld are q and d-axis armature self-inductances, and Ψ is the number of magnetic flux chain crossings. Further, "Iq" in the following (Equation 1) is the q-axis current command value Iq *'' acquired from the adder 14, and "Id" is the d-axis current command value Id * calculated by the d-axis current control unit 125. Equivalent to.

Figure 0007042028000001
Figure 0007042028000001

d軸電流制御部125は、モータ30の誘起電圧が印加電圧に達していない場合(電圧飽和が生じていない場合)、(数1)式によりd軸電流指令値Id*を算出し、最大トルク制御を実行する。具体的には、d軸電流制御部125は、位置推定部123から取得した回転速度ωが、モータ30が電圧飽和状態となる場合に相当する切替回転数ω1未満である場合に、最大トルク制御を実行する。なお、切替回転数ω1は、モータ30の負荷により変動する。一方、d軸電流制御部125は、回転速度ωが切替回転数ω1以上となった場合に、誘起電圧の増加によりトルクが低下してしまうことを防ぐために印加電圧を弱める、第2制御モードとしての弱め磁束制御を行う。 When the induced voltage of the motor 30 does not reach the applied voltage (when voltage saturation does not occur), the d-axis current control unit 125 calculates the d-axis current command value Id * by the equation (Equation 1), and the maximum torque. Take control. Specifically, the d-axis current control unit 125 controls the maximum torque when the rotation speed ω acquired from the position estimation unit 123 is less than the switching rotation speed ω1 corresponding to the case where the motor 30 is in the voltage saturation state. To execute. The switching rotation speed ω1 varies depending on the load of the motor 30. On the other hand, the d-axis current control unit 125 has a second control mode in which the applied voltage is weakened in order to prevent the torque from decreasing due to the increase in the induced voltage when the rotation speed ω becomes the switching rotation speed ω1 or more. Weak magnetic flux control is performed.

(第2制御モード:弱め磁束制御)
d軸電流制御部125は、弱め磁束制御実行時には、加算器14から取得したq軸電流指令値Iq*’’と、モータ30の端子電圧の上限値Vamと、下記(数2)式とに基づき、d軸電流指令値Id*を算出する。弱め磁束制御では、下記(数2)が表す弱め磁束制御曲線(電圧制限曲線)C2(図8参照)に従ってモータ30が電圧飽和しないように電流ベクトルを制御する。なお、下記(数2)における「Iq」は加算器14から取得するq軸電流指令値Iq*’’に、「Id」はd軸電流制御部125が算出するd軸電流指令値Id*に相当する。
(Second control mode: weak magnetic flux control)
When the weakening magnetic flux control is executed, the d-axis current control unit 125 uses the q-axis current command value Iq *'' acquired from the adder 14, the upper limit value Vam of the terminal voltage of the motor 30, and the following equation (Equation 2). Based on this, the d-axis current command value Id * is calculated. In the weakening magnetic flux control, the current vector is controlled so that the motor 30 does not saturate the voltage according to the weakening magnetic flux control curve (voltage limiting curve) C2 (see FIG. 8) represented by the following (Equation 2). In the following (Equation 2), "Iq" is the q-axis current command value Iq *'' acquired from the adder 14, and "Id" is the d-axis current command value Id * calculated by the d-axis current control unit 125. Equivalent to.

Figure 0007042028000002
Figure 0007042028000002

(第3制御モード)
d軸電流制御部125は、弱め磁束制御を実行する期間においても、トルク制御部13によりトルク制御が実行されている場合は、第3制御モードとして、d軸電流指令値Id*を、加算器14から取得するq軸電流指令値Iq*’’に関わらない所定値に決定する。なお、d軸電流制御部125は、後述するトルク制御実行中フラグを参照することで、現在、トルク制御が実行されているか否かを判別する。
第3制御モードでは、d軸電流制御部125は、上記(数2)式を表す弱め磁束制御曲線C2と、下記(数3)式を表す電流制限曲線C3との交点N2に応じた値I2をd軸電流指令値Id*に決定する。なお、Iamはモータ30の電機子電流の制限値であり、モータ30の定格電流あるいはインバータ20の最大出力電流によって決まる値である。このため、電流制限曲線C3と弱め磁束制御曲線C2との交点N2は、電流制限の下で弱め磁束制御時の発生トルクが最大となる電流ベクトルを表すことになる。
(Third control mode)
The d-axis current control unit 125 sets the d-axis current command value Id * as the third control mode when the torque control is executed by the torque control unit 13 even during the period in which the weakening magnetic flux control is executed. It is determined to be a predetermined value which is not related to the q-axis current command value Iq *'' acquired from 14. The d-axis current control unit 125 determines whether or not torque control is currently being executed by referring to the torque control executing flag described later.
In the third control mode, the d-axis current control unit 125 has a value I2 corresponding to the intersection point N2 between the weak magnetic flux control curve C2 representing the above equation (Equation 2) and the current limiting curve C3 representing the following equation (Equation 3). Is determined as the d-axis current command value Id *. Iam is a limit value of the armature current of the motor 30, and is a value determined by the rated current of the motor 30 or the maximum output current of the inverter 20. Therefore, the intersection N2 between the current limiting curve C3 and the weakening magnetic flux control curve C2 represents the current vector in which the torque generated during the weakening magnetic flux control is maximized under the current limitation.

Figure 0007042028000003
Figure 0007042028000003

具体的には、d軸電流制御部125は、(数2)式と(数3)式との一方のIqを他方に代入することで得られるIqに依存しない関数に、最大電圧Vamと回転数ωを代入することで得られるIdの値を、d軸電流指令値Id*に決定する。なお、この際、式中のωには、位置推定部123が推定した回転速度ωではなく、運転指令部11が出力した目標回転速度ω0を代入する。 Specifically, the d-axis current control unit 125 rotates with the maximum voltage Vam into an IQ-independent function obtained by substituting one IQ of the equations (2) and (3) into the other. The value of Id obtained by substituting the number ω is determined as the d-axis current command value Id *. At this time, instead of the rotation speed ω estimated by the position estimation unit 123, the target rotation speed ω0 output by the operation command unit 11 is substituted for ω in the equation.

以上から分かるように、第2制御モードでは、弱め磁束制御曲線C2を表す(数2)式に従って、入力されるq軸電流指令値Iq*’’に応じた値をd軸電流指令値Id*に決定する一方で、第3制御モードでは、入力されるq軸電流指令値Iq*’’に関わらず、前記の所定値I2をd軸電流指令値Id*に決定する。このように第3制御モード時に、d軸電流指令値Id*を、入力されるq軸電流指令値Iq*’’に関わらない所定値とする理由は、後述するトルク制御部13によるトルク制御が行われると、理論上はq軸電流指令値Iq*’’がバラツク要因とはならないが、実際にはq軸電流指令値Iq*’’のバラツキが生じ易いためである。また、当該所定値をI2とする理由は、d軸電流指令値Id*を、電流制限の下で弱め磁束制御時の発生トルクが最大となる交点N2に応じた値とすれば、入力されるq軸電流指令値Iq*’’によらず、弱め磁束効果を発揮できるからである。なお、第3制御モード時に決定されるd軸電流指令値Id*は、交点N2に応じたI2に限られず、後の変形例で述べるように、モータ30が電圧飽和しない値であれば、任意である。 As can be seen from the above, in the second control mode, the value corresponding to the input q-axis current command value Iq *'' is set to the d-axis current command value Id * according to the equation (Equation 2) representing the weakening magnetic flux control curve C2. On the other hand, in the third control mode, the predetermined value I2 is determined to be the d-axis current command value Id * regardless of the input q-axis current command value Iq *''. In this way, the reason why the d-axis current command value Id * is set to a predetermined value regardless of the input q-axis current command value Iq *'' in the third control mode is due to the torque control by the torque control unit 13 described later. If this is done, the q-axis current command value Iq *'' does not theoretically become a variation factor, but in reality, the q-axis current command value Iq *'' tends to vary. Further, the reason why the predetermined value is set to I2 is input if the d-axis current command value Id * is set to a value corresponding to the intersection N2 where the generated torque at the time of weakening magnetic flux control is maximized under the current limit. This is because the weakening magnetic flux effect can be exhibited regardless of the q-axis current command value Iq *''. The d-axis current command value Id * determined in the third control mode is not limited to I2 corresponding to the intersection N2, and is arbitrary as long as the motor 30 does not saturate the voltage as described in a later modification. Is.

図4に戻って、電流制御部126は、現在のq軸電流Iqをq軸電流指令値Iq*’’に一致させるためのq軸電圧指令値Vqを演算する。また、電流制御部126は、現在のd軸電流Idをd軸電流指令値Id*に一致させるためのd軸電圧指令値Vdを演算する。この際、電流制御部126は、上記速度制御部124と同様の計算手法でPI制御によるフィードバック制御を行ってもよいし、その他PD、PID等のフィードバック制御を行ってもよい。 Returning to FIG. 4, the current control unit 126 calculates the q-axis voltage command value Vq for matching the current q-axis current Iq with the q-axis current command value Iq * ″. Further, the current control unit 126 calculates the d-axis voltage command value Vd for matching the current d-axis current Id with the d-axis current command value Id *. At this time, the current control unit 126 may perform feedback control by PI control by the same calculation method as the speed control unit 124, or may perform feedback control such as PD and PID.

電圧変換部127は、電流制御部126により演算されたq軸電圧指令値Vq及びd軸電圧指令値VdをU相、V相、W相の電圧指令値Vu,Vv,Vwに座標変換する。 The voltage conversion unit 127 converts the q-axis voltage command value Vq and the d-axis voltage command value Vd calculated by the current control unit 126 into U-phase, V-phase, and W-phase voltage command values Vu, Vv, and Vw.

PWM信号生成部128は、電圧変換部127により座標変換されたU相、V相、W相の電圧指令値Vu,Vv,Vwに応じて直流電圧をパルス幅変調することでPWM信号Su,Sv,Swを生成する。PWM信号生成部128は、このPWM信号Su,Sv,Swをインバータ20に出力する。 The PWM signal generation unit 128 pulse-width-modulates the DC voltage according to the voltage command values Vu, Vv, Vw of the U-phase, V-phase, and W-phase coordinate-converted by the voltage conversion unit 127, thereby performing the PWM signal Su, Sv. , Sw is generated. The PWM signal generation unit 128 outputs the PWM signals Su, Sv, Sw to the inverter 20.

(トルク制御部13)
次に、トルク制御部13の具体的構成について説明する。
図5に示すように、トルク制御部13は、トルク脈動推定部13aと、ローパスフィルタ13eと、補正トルク電流演算部13fと、を備える。
(Torque control unit 13)
Next, a specific configuration of the torque control unit 13 will be described.
As shown in FIG. 5, the torque control unit 13 includes a torque pulsation estimation unit 13a, a low-pass filter 13e, and a correction torque current calculation unit 13f.

トルク脈動推定部13aは、電流変換部122により変換されたq軸電流Iq及びd軸電流Idと、位置推定部123が推定した回転速度ωとに基づきトルク脈動による回転速度変動を抑制するために不足しているトルクを推定する。 The torque pulsation estimation unit 13a suppresses the rotation speed fluctuation due to the torque pulsation based on the q-axis current Iq and the d-axis current Id converted by the current conversion unit 122 and the rotation speed ω estimated by the position estimation unit 123. Estimate the missing torque.

詳しくは、トルク脈動推定部13aは、モータ出力トルク演算部13bと、モータ負荷トルク演算部13cと、減算器13dと、を備える。 Specifically, the torque pulsation estimation unit 13a includes a motor output torque calculation unit 13b, a motor load torque calculation unit 13c, and a subtractor 13d.

モータ出力トルク演算部13bは、電流変換部122により変換されたq軸電流Iq及びd軸電流Idから推定されるモータ電流Iaとモータ30のトルク係数Kとの積によりモータ30の出力トルクTa(=K・Ia)を演算する。出力トルクTaはモータ30が実際に出力するトルクである。モータ電流Iaは、例えばq軸電流Iq及びd軸電流Idの合成電流である。なお、本実施形態では、モータ電流Iaをq軸電流Iq及びd軸電流Idから推定するものとしたが、制御を簡素化するためにq軸電流Iqのみからモータ電流Iaを推定するものとしてもよい。 The motor output torque calculation unit 13b is the output torque Ta of the motor 30 based on the product of the motor current Ia estimated from the q-axis current Iq and the d-axis current Id converted by the current conversion unit 122 and the torque coefficient K of the motor 30. = K · Ia) is calculated. The output torque Ta is the torque actually output by the motor 30. The motor current Ia is, for example, a combined current of the q-axis current Iq and the d-axis current Id. In the present embodiment, the motor current Ia is estimated from the q-axis current Iq and the d-axis current Id, but the motor current Ia may be estimated only from the q-axis current Iq in order to simplify the control. good.

モータ負荷トルク演算部13cは、モータ30の回転速度ωの時間微分により得られる角加速度α(=dω/dt)と、モータ30の出力軸の慣性モーメントJとの積によりモータ30の負荷トルクTb(=J・α)を演算する。負荷トルクTbは、モータ30の出力軸の回転を妨げるトルクであって、一般的には、遠心力、コリオリ力等のモータ30の出力軸が受ける内部干渉力による負荷と、上述したトルク脈動等の外力による負荷と、摩擦による負荷との総和により求められる。 The motor load torque calculation unit 13c is the load torque Tb of the motor 30 due to the product of the angular acceleration α (= dω / dt) obtained by the time derivative of the rotational speed ω of the motor 30 and the moment of inertia J of the output shaft of the motor 30. Calculate (= J · α). The load torque Tb is a torque that hinders the rotation of the output shaft of the motor 30, and is generally a load due to an internal interference force received by the output shaft of the motor 30 such as centrifugal force and Coriolis force, and the above-mentioned torque pulsation and the like. It is obtained by the sum of the load due to the external force and the load due to friction.

減算器13dは、出力トルクTaから負荷トルクTbを差し引くことで差分トルクTc(=Ta-Tb)を演算する。この差分トルクTcは、回転速度ωを安定させるために不足しているトルクである。 The subtractor 13d calculates the differential torque Tc (= Ta−Tb) by subtracting the load torque Tb from the output torque Ta. This differential torque Tc is a torque that is insufficient to stabilize the rotation speed ω.

ローパスフィルタ13eは、差分トルクTcに重畳する高周波数のノイズを除去する。ローパスフィルタ13eは、例えば1次遅れフィルタである。ローパスフィルタ13eの遮断周波数は、例えば実験等に基づき、トルク脈動による回転速度変動成分の周波数よりも高く、かつトルク脈動以外の回転速度変動成分の周波数よりも低く設定する。 The low-pass filter 13e removes high-frequency noise superimposed on the differential torque Tc. The low-pass filter 13e is, for example, a first-order lag filter. The cutoff frequency of the low-pass filter 13e is set higher than the frequency of the rotation speed fluctuation component due to torque pulsation and lower than the frequency of the rotation speed fluctuation component other than torque pulsation, based on, for example, an experiment.

補正トルク電流演算部13fは、ローパスフィルタ13eを経た差分トルクTcに基づき、差分トルクTcに応じた値のq軸電流値としてトルク補正電流Iq*’を演算する。詳しくは、トルク補正電流Iq*’は、差分トルクTcをトルク係数Kで除することにより求められる(Iq*’=Tc/K)。 The correction torque current calculation unit 13f calculates the torque correction current Iq *'as the q-axis current value of the value corresponding to the difference torque Tc based on the difference torque Tc that has passed through the low-pass filter 13e. Specifically, the torque correction current Iq *'is obtained by dividing the differential torque Tc by the torque coefficient K (Iq *'= Tc / K).

また、補正トルク電流演算部13fは、所定の場合には、出力するトルク補正電流Iq*’の値を0(ゼロ)とする。つまり、この場合は、トルク制御部13によるトルク制御(q軸電流値Iq*の補正)が行われない。具体的には、補正トルク電流演算部13fは、目標回転速度ω0及び回転速度ωを取得可能となっており、算出した偏差Δω(Δω=|ω0-ω|)が、予めROMに記憶されている許容値を超えない場合に、トルク制御を実行しない(トルク補正電流Iq*’を0とする)。当該許容値は、例えば、機器として音や振動が許容できる範囲における最大の回転数変動値として予め定められている。このように、偏差Δωが許容値を超えず、回転数の変動が比較的小さいと見做せる回転域(例えば、負荷脈動が小さくなる高回転域)では、トルク制御を実行せずとも回転速度ωが安定するため、トルク制御を実行しない。 Further, the correction torque current calculation unit 13f sets the value of the output torque correction current Iq *'to 0 (zero) in a predetermined case. That is, in this case, the torque control unit 13 does not perform torque control (correction of the q-axis current value Iq *). Specifically, the correction torque current calculation unit 13f can acquire the target rotation speed ω0 and the rotation speed ω, and the calculated deviation Δω (Δω = | ω0-ω |) is stored in the ROM in advance. If the allowable value is not exceeded, torque control is not executed (torque correction current Iq *'is set to 0). The permissible value is predetermined as, for example, the maximum rotation speed fluctuation value within a range in which sound or vibration can be tolerated as a device. In this way, in the rotation range where the deviation Δω does not exceed the permissible value and the fluctuation of the rotation speed is considered to be relatively small (for example, the high rotation range where the load pulsation is small), the rotation speed is not executed without torque control. Since ω is stable, torque control is not executed.

補正トルク電流演算部13fは、差分トルクTcに応じた値のq軸電流値としてトルク補正電流Iq*’を算出した場合、トルク制御が実行中である旨を、トルク制御実行中フラグをオン状態にセットすることでRAMに記憶する。一方、補正トルク電流演算部13fは、トルク補正電流Iq*’の値を0とした場合、現在、トルク制御が実行されていない旨を、トルク制御実行中フラグをオフ状態にクリアすることでRAMに記憶する。なお、トルク制御が実行中か否かは、後述のd軸電流制御処理における第2制御モードと第3制御モードのいずれに移行するかの判別基準となる。 When the correction torque current calculation unit 13f calculates the torque correction current Iq *'as the q-axis current value of the value corresponding to the difference torque Tc, the torque control execution flag is turned on to indicate that the torque control is being executed. By setting it to, it is stored in the RAM. On the other hand, when the value of the torque correction current Iq *'is set to 0, the correction torque current calculation unit 13f clears the torque control executing flag to the off state to indicate that the torque control is not currently executed, thereby causing the RAM. Remember in. Whether or not torque control is being executed is a criterion for determining whether to shift to the second control mode or the third control mode in the d-axis current control process described later.

トルク制御部13は、上述したように、トルク制御を実行する場合には、出力トルクTaと負荷トルクTbとを常時監視しつつ、出力トルクTaと負荷トルクTbとが釣り合うようにトルク補正電流Iq*’を調整する。この結果、出力トルクTaと負荷トルクTbが等しくなることでモータ30の回転速度ωが安定する。 As described above, the torque control unit 13 constantly monitors the output torque Ta and the load torque Tb when executing the torque control, and the torque correction current Iq so that the output torque Ta and the load torque Tb are balanced. * Adjust'. As a result, the output torque Ta and the load torque Tb become equal to each other, so that the rotational speed ω of the motor 30 becomes stable.

トルク制御部13によるトルク制御(q軸電流指令値の補正)を行わない場合は、図6(a)に模式的に示すように、上述したトルク脈動により負荷トルクTbが変動するが、図6(b)に模式的に示すように、出力トルクTaは一定となる。このため、図6(c)に模式的に示すように、理論上は、トルク脈動によりモータ30の回転速度ωは変動して安定しないことになる。しかし、前述の通り、この実施形態では、回転数の偏差Δωが許容値を超えず、トルク制御を実行せずとも回転速度ωが安定すると見做せる場合(例えば、負荷脈動が小さくなる高回転域である場合)に、トルク制御を実行しないため、モータ30の回転速度ωの変動について実機としての問題は生じない。
一方で、例えば、負荷脈動が高回転域に比べて大きくなる低回転域では、回転数の偏差Δωが許容値を超えて、トルク制御部13によるトルク制御が行われる。トルク制御部13によるトルク制御が行われる場合、図7(a),(b)に模式的に示すように、出力トルクTaは、上述したトルク脈動により負荷トルクTbが変動するのに合わせて変動する。このため、図7(c)に模式的に示すように、トルク脈動に関わらず、モータ30の回転速度ωが安定する。以上がモータ制御部12の全体構成についての説明である。
When the torque control unit 13 does not perform torque control (correction of the q-axis current command value), the load torque Tb fluctuates due to the above-mentioned torque pulsation as schematically shown in FIG. 6A. As schematically shown in (b), the output torque Ta is constant. Therefore, as schematically shown in FIG. 6C, theoretically, the rotational speed ω of the motor 30 fluctuates due to torque pulsation and becomes unstable. However, as described above, in this embodiment, when the deviation Δω of the rotation speed does not exceed the allowable value and it can be considered that the rotation speed ω is stable without executing torque control (for example, high rotation where the load pulsation becomes small). Since the torque control is not executed in the range), there is no problem as an actual machine regarding the fluctuation of the rotation speed ω of the motor 30.
On the other hand, for example, in the low rotation speed region where the load pulsation is larger than in the high rotation speed region, the deviation Δω of the rotation speed exceeds the allowable value, and the torque control unit 13 performs torque control. When torque control is performed by the torque control unit 13, the output torque Ta fluctuates according to the fluctuation of the load torque Tb due to the torque pulsation described above, as schematically shown in FIGS. 7 (a) and 7 (b). do. Therefore, as schematically shown in FIG. 7 (c), the rotational speed ω of the motor 30 is stable regardless of the torque pulsation. The above is the description of the overall configuration of the motor control unit 12.

続いて、d軸電流制御部125により実行され、条件に応じて第1~第3制御モードのいずれかを選択するとともに、各モードに応じたd軸電流指令値を決定・出力するd軸電流制御処理を、図9のフローチャートを参照して説明する。d軸電流制御処理は、モータ30の駆動中に継続して実行される。なお、モータ30の駆動開始時は、d軸電流制御部125がデフォルトで第1制御モード(最大トルク制御)を実行する。 Subsequently, it is executed by the d-axis current control unit 125, and one of the first to third control modes is selected according to the conditions, and the d-axis current command value corresponding to each mode is determined and output. The control process will be described with reference to the flowchart of FIG. The d-axis current control process is continuously executed while the motor 30 is being driven. At the start of driving the motor 30, the d-axis current control unit 125 executes the first control mode (maximum torque control) by default.

(d軸電流制御処理)
d軸電流制御処理を開始すると、まず、d軸電流制御部125は、q軸電流指令値Iq*’’、回転速度ω、最大電圧Vamを取得する(ステップS1)。
(D-axis current control processing)
When the d-axis current control process is started, first, the d-axis current control unit 125 acquires the q-axis current command value Iq *'', the rotation speed ω, and the maximum voltage Vam (step S1).

続いて、d軸電流制御部125は、弱め磁束制御を実行するか否かを判別する(ステップS2)。具体的には、d軸電流制御部125は、ステップS1で取得した回転速度ωが前記の切替回転速度ω1以上である場合に、弱め磁束制御を実行すると判別する。なお、モータ30の端子電圧、端子電流等により弱め磁束制御の実行可否を判別してもよい。 Subsequently, the d-axis current control unit 125 determines whether or not to execute the weakening magnetic flux control (step S2). Specifically, the d-axis current control unit 125 determines that the weakening magnetic flux control is executed when the rotation speed ω acquired in step S1 is equal to or higher than the switching rotation speed ω1. It should be noted that it may be determined whether or not the weakening magnetic flux control can be executed based on the terminal voltage, terminal current, or the like of the motor 30.

弱め磁束制御を実行しないと判別した場合は(ステップS2;No)、第1制御モードに移行する。第1制御モードでは、d軸電流制御部125は、ステップS1で取得したq軸電流指令値Iq*’’と、ROM内に記憶されている上記(数1)式とに基づき、d軸電流指令値Id*を算出・決定する(ステップS3)。そして、d軸電流制御部125は、決定したd軸電流指令値Id*を電流制御部126に出力する(ステップS4)。このようにして、インバータ20を介してモータ30を最大トルク制御で駆動する。 If it is determined that the weakening magnetic flux control is not executed (step S2; No), the mode shifts to the first control mode. In the first control mode, the d-axis current control unit 125 determines the d-axis current command value Iq *'' acquired in step S1 and the d-axis current stored in the ROM according to the above equation (Equation 1). The command value Id * is calculated and determined (step S3). Then, the d-axis current control unit 125 outputs the determined d-axis current command value Id * to the current control unit 126 (step S4). In this way, the motor 30 is driven by the maximum torque control via the inverter 20.

一方、弱め磁束制御を実行すると判別した場合(ステップS2;Yes)、d軸制御部125は、補正トルク電流演算部13fによってRAMに記憶されるトルク制御実行中フラグのオン・オフ状態を参照し、トルク制御部13によるトルク制御が実行中か否かを判別する(ステップS5)。 On the other hand, when it is determined to execute the weakening magnetic flux control (step S2; Yes), the d-axis control unit 125 refers to the on / off state of the torque control executing flag stored in the RAM by the correction torque current calculation unit 13f. , It is determined whether or not the torque control by the torque control unit 13 is being executed (step S5).

トルク制御が実行中で無い場合は(ステップS5;No)、第2制御モードに移行する。第2制御モードでは、d軸電流制御部125は、ステップS1で取得したq軸電流指令値Iq*’’及び最大電圧Vamと、ROM内に記憶されている上記(数2)式とに基づき、d軸電流指令値Id*を算出・決定する(ステップS6)。そして、d軸電流制御部125は、決定したd軸電流指令値Id*を電流制御部126に出力する(ステップS4)。このようにして、インバータ20を介してモータ30を弱め磁束制御で駆動する。 If the torque control is not being executed (step S5; No), the mode shifts to the second control mode. In the second control mode, the d-axis current control unit 125 is based on the q-axis current command value Iq *'' and the maximum voltage Vam acquired in step S1 and the above equation (Equation 2) stored in the ROM. , The d-axis current command value Id * is calculated and determined (step S6). Then, the d-axis current control unit 125 outputs the determined d-axis current command value Id * to the current control unit 126 (step S4). In this way, the motor 30 is weakened and driven by magnetic flux control via the inverter 20.

トルク制御が実行中の場合は(ステップS5;Yes)、第3制御モードに移行する。第3制御モードでは、d軸電流制御部125は、(数2)式と(数3)式との一方のIqを他方に代入することで得られるIqに依存しない関数に、最大電圧Vamと目標回転速度ω0を代入することで得られるIdの値を、d軸電流指令値Id*の目標値に決定する(ステップS7)。つまり、ステップS1で取得したq軸電流指令値Iq*’’に関わらず、前記したように、電流制限曲線C3と弱め磁束制御曲線C2との交点N2に応じた所定値I2をd軸電流指令値Id*の目標値に決定する。 If torque control is being executed (step S5; Yes), the mode shifts to the third control mode. In the third control mode, the d-axis current control unit 125 sets the maximum voltage Vam to the IQ-independent function obtained by substituting one IQ of the equation (Equation 2) and the equation (Equation 3) into the other. The value of Id obtained by substituting the target rotation speed ω0 is determined as the target value of the d-axis current command value Id * (step S7). That is, regardless of the q-axis current command value Iq *'' acquired in step S1, as described above, the d-axis current command is the predetermined value I2 corresponding to the intersection point N2 between the current limit curve C3 and the weakening magnetic flux control curve C2. Determine the target value of the value Id *.

続いて、d軸電流制御部125は、現在のd軸電流指令値Id*が、ステップS7で決定した目標値に到達したか否かを判別する(ステップS8)。目標値に到達していない場合は(ステップS8;No)、現在のd軸電流指令値Id*に変化量ΔI(負の変化量)を加算し(ステップS9)、Id*+ΔIを、d軸電流指令値Id*として電流制御部126に出力する(ステップS4)。 Subsequently, the d-axis current control unit 125 determines whether or not the current d-axis current command value Id * has reached the target value determined in step S7 (step S8). If the target value has not been reached (step S8; No), the change amount ΔI (negative change amount) is added to the current d-axis current command value Id * (step S9), and Id * + ΔI is set to the d-axis. It is output to the current control unit 126 as the current command value Id * (step S4).

第3制御モードでは、現在のd軸電流指令値Id*が、ステップS7で決定した目標値に到達してステップS8でYesと判別されるまでは、ステップS8でNoと判別され続けることになり、現在のd軸電流指令値Id*に変化量ΔI(負の変化量)が加算され続ける(ステップS9)。つまり、目標値に到達するまでは、現在のd軸電流指令値Id*にΔIずつ加算される。このようにして、d軸電流指令値Id*を、ステップS7で決定した所定値I2に徐々に変化させる。これにより、d軸電流指令値Id*が急激に変化してモータ30に不安定動作が生じることを抑制することができる。 In the third control mode, the current d-axis current command value Id * continues to be determined as No in step S8 until it reaches the target value determined in step S7 and is determined as Yes in step S8. , The change amount ΔI (negative change amount) continues to be added to the current d-axis current command value Id * (step S9). That is, until the target value is reached, ΔI is added to the current d-axis current command value Id *. In this way, the d-axis current command value Id * is gradually changed to the predetermined value I2 determined in step S7. As a result, it is possible to prevent the d-axis current command value Id * from suddenly changing and causing unstable operation in the motor 30.

なお、ステップS9の処理毎に加算される変化量ΔIは、毎回同じ固定値でなくともよく、例えば、加算される回数や、現在のd軸電流指令値Id*の大きさなどに応じて変化する値であってもよい。当該値の変化の態様は、ROMに格納されたテーブルなどによって規定すればよい。また、第3制御モードの実行中に、トルク制御部13によるトルク制御動作が停止され、第3制御モードから第2制御モードに切り替わった場合にも、d軸電流指令値Id*が急激に変化してモータ30に不安定動作が生じることを抑制するために、現在のd軸電流指令値Id*から、決定された目標値に徐々に変化させることが好ましい。 The amount of change ΔI added for each process in step S9 does not have to be the same fixed value each time, and changes depending on, for example, the number of times of addition or the magnitude of the current d-axis current command value Id *. It may be a value to be used. The mode of change of the value may be specified by a table or the like stored in the ROM. Further, even when the torque control operation by the torque control unit 13 is stopped during the execution of the third control mode and the third control mode is switched to the second control mode, the d-axis current command value Id * changes abruptly. In order to prevent the motor 30 from causing unstable operation, it is preferable to gradually change the current d-axis current command value Id * to a determined target value.

以上の各処理がモータ30の駆動中に継続して実行される。d軸電流制御処理の説明は以上である。 Each of the above processes is continuously executed while the motor 30 is being driven. This concludes the description of the d-axis current control process.

続いて、再び図8を参照して、d軸電流制御処理に従う制御モード移行例を説明する。モータ30の駆動を開始すると、まず、第1制御モードとしての最大トルク制御を実行する。つまり、d軸電流制御部125は、取得したq軸電流指令値Iq*’’に対応する最大トルク制御曲線C1上の値をd軸電流指令値Id*に決定し、出力する。そして、目標回転速度ω0の増加に応じてq軸電流指令値Iq*’’が上昇し、誘起電圧が印加電圧を超えるような負荷状態となると、第2制御モードとしての弱め磁束制御を実行する(点P1~点P2の区間を参照)。つまり、d軸電流制御部125は、取得したq軸電流指令値Iq*’’に対応する弱め磁束制御曲線C2上の値をd軸電流指令値Id*に決定し、出力する。 Subsequently, with reference to FIG. 8 again, an example of shifting to the control mode according to the d-axis current control process will be described. When the driving of the motor 30 is started, first, the maximum torque control as the first control mode is executed. That is, the d-axis current control unit 125 determines the value on the maximum torque control curve C1 corresponding to the acquired q-axis current command value Iq * ″ as the d-axis current command value Id * and outputs the value. Then, when the q-axis current command value Iq *'' rises in response to the increase in the target rotation speed ω0 and the load state is such that the induced voltage exceeds the applied voltage, the weak magnetic flux control as the second control mode is executed. (See the section from point P1 to point P2). That is, the d-axis current control unit 125 determines the value on the weakened magnetic flux control curve C2 corresponding to the acquired q-axis current command value Iq * ″ as the d-axis current command value Id * and outputs the value.

ここで、点P2において、トルク制御部13によるトルク制御の実行が開始されたとする(ステップS5;Yes)。すると、第2制御モードから第3制御モードへと移行し、d軸電流指令値Id*の目標値がI2に決定されるとともに、第3制御モードへ移行する直前に決定されたd軸電流指令値(この例では、点P2に対応したd軸電流指令値Id*)から徐々に目標値I2に変化する。このように、第3制御モードでは、d軸電流制御部125に入力されるq軸電流指令値Iq*’’に関わらず、d軸電流指令値をId*、弱め磁束制御曲線C2と電流制限曲線C3の交点N2に応じたI2に決定する。 Here, it is assumed that the execution of torque control by the torque control unit 13 is started at the point P2 (step S5; Yes). Then, the mode shifts from the second control mode to the third control mode, the target value of the d-axis current command value Id * is determined to be I2, and the d-axis current command determined immediately before shifting to the third control mode. The value (in this example, the d-axis current command value Id * corresponding to the point P2) gradually changes to the target value I2. As described above, in the third control mode, regardless of the q-axis current command value Iq *'' input to the d-axis current control unit 125, the d-axis current command value is set to Id *, the weakened magnetic flux control curve C2 and the current limit. It is determined to be I2 according to the intersection N2 of the curve C3.

なお、この制御モード移行例では、第1、第2、第3制御モードと、順に移行する例を説明したが、図9から分かるように、第1制御モード実行中に、ステップS2でYes、ステップS5でYesと判別されれば、第1制御モードから第3制御モードに切り替わることになる。また、第3制御モード実行中に、トルク制御部13によるトルク制御動作が停止すれば、ステップS2でYes、ステップS5でNoとなるので、第3制御モードから第2制御モードに切り替わることになる。 In this control mode transition example, an example of transitioning to the first, second, and third control modes in order has been described, but as can be seen from FIG. 9, Yes, in step S2 during the execution of the first control mode. If Yes is determined in step S5, the first control mode is switched to the third control mode. Further, if the torque control operation by the torque control unit 13 is stopped during the execution of the third control mode, Yes in step S2 and No in step S5, so that the third control mode is switched to the second control mode. ..

以上に説明したように、トルク制御部13によるトルク制御時には第3制御モードに移行し、入力されるq軸電流指令値Iq*’’には関わらない所定値I2にd軸電流指令値Id*を決定する。このため、q軸電流指令値Iq*’’のバラツキや(図10(a)参照)、Vam、ωのバラツキによる弱め制御曲線C2の変化(図10(b)参照)に起因するd軸電流指令値Id*の変動を回避することができる。結果として、モータ30及びコンプレッサ40を安定して動作させることができる。また、d軸電流指令値Id*を、電流制限の下で弱め磁束制御時の発生トルクが最大となる交点N2に応じた所定値I2としたため、入力されるq軸電流指令値Iq*’’によらず、弱め磁束効果を発揮できる。 As described above, when the torque is controlled by the torque control unit 13, the mode shifts to the third control mode, and the d-axis current command value Id * is set to the predetermined value I2 which is not related to the input q-axis current command value Iq *''. To determine. Therefore, the d-axis current caused by the variation of the q-axis current command value Iq *'' (see FIG. 10A) and the change of the weakening control curve C2 due to the variation of Vam and ω (see FIG. 10B). It is possible to avoid fluctuations in the command value Id *. As a result, the motor 30 and the compressor 40 can be operated stably. Further, since the d-axis current command value Id * is set to a predetermined value I2 corresponding to the intersection N2 where the torque generated during weakening magnetic flux control is maximized under the current limit, the input q-axis current command value Iq *'' Regardless, the weakening magnetic flux effect can be exhibited.

なお、本発明は以上の実施形態及び図面によって限定されるものではない。本発明の要旨を変更しない範囲で、適宜、変更(構成要素の削除も含む)を加えることが可能である。以下に変形の一例を説明する。 The present invention is not limited to the above embodiments and drawings. Changes (including deletion of components) can be made as appropriate without changing the gist of the present invention. An example of the modification will be described below.

(変形例)
第3制御モード時に決定されるd軸電流指令値Id*は、交点N2に応じたI2に限られず、モータ30が電圧飽和しない値であればよい。例えば、第3制御モード時に決定されるd軸電流指令値Id*は、図8に示すI1からIamの範囲D(|I1|<D<|Iam|)内における任意の値であってもよい。ここで、理論上は、d軸電流指令値Id*をI1~I2の範囲内とした場合には、入力されるq軸電流指令値Iq*’’によっては弱め磁束効果が不足する場合がある。一方、d軸電流指令値Id*をI2~Iamの範囲内とした場合には、入力されるq軸電流指令値Iq*’’によっては、電流制限を超えてしまう。しかしながら、実機のシステムを考えた場合は、交点N2に対応したI2から、I1とIamとのいずれかに偏在した値とすることも可能である。当該値は、実験により求めればよい。
(Modification example)
The d-axis current command value Id * determined in the third control mode is not limited to I2 corresponding to the intersection N2, and may be any value as long as the motor 30 does not saturate the voltage. For example, the d-axis current command value Id * determined in the third control mode may be any value within the range D (| I1 | <D << | Iam |) from I1 to Iam shown in FIG. .. Here, theoretically, when the d-axis current command value Id * is within the range of I1 to I2, the weakening magnetic flux effect may be insufficient depending on the input q-axis current command value Iq *''. .. On the other hand, when the d-axis current command value Id * is within the range of I2 to Iam, the current limit may be exceeded depending on the input q-axis current command value Iq *''. However, when considering the system of the actual machine, it is possible to set the value unevenly distributed in either I1 or Iam from I2 corresponding to the intersection N2. The value may be obtained experimentally.

また、トルク制御部13によるトルク制御は、上記実施形態で説明した手法に限られない。例えば、予め想定される負荷トルクの変動パターンに合わせて、モータ30やコンプレッサ40の各回転位置θに関連づけられた補正値を予めテーブルとして記憶する方式(プロファイル方式と呼ぶ)によりトルク制御を実行してもよい。プロファイル方式では、取得した回転位置θに応じて補正値をテーブルから読み出し、この補正値によりトルク制御を行う。この手法を採用した場合、例えば、位置推定部123が推定した回転数ωが、予めROM内に記憶されている閾値以上となった場合に、トルク制御部13によるトルク制御を実行しないようにすればよい。当該閾値は、プロファイル方式による制御限界に応じた回転数として予め定めればよい。また、プロファイル方式においても、回転数の偏差Δωが、前記の許容値を超えない場合にトルク制御を実行しないようにしてもよい。 Further, the torque control by the torque control unit 13 is not limited to the method described in the above embodiment. For example, torque control is executed by a method (called a profile method) in which correction values associated with each rotation position θ of the motor 30 and the compressor 40 are stored in advance as a table according to a load torque fluctuation pattern assumed in advance. You may. In the profile method, a correction value is read from the table according to the acquired rotation position θ, and torque control is performed based on this correction value. When this method is adopted, for example, when the rotation speed ω estimated by the position estimation unit 123 becomes equal to or higher than the threshold value stored in the ROM in advance, the torque control unit 13 should not execute the torque control. Just do it. The threshold value may be predetermined as the rotation speed according to the control limit by the profile method. Further, also in the profile method, the torque control may not be executed when the deviation Δω of the rotation speed does not exceed the above-mentioned allowable value.

上記実施形態では、トルク制御部13によるトルク制御が実行されている場合に、第3制御モードでの動作を実行する例を示したが、これに限られない。例えば、d軸電流制御部125は、取得可能なq軸電流指令値Iq*’’、最大電圧Vam、回転速度ωなどのパラメータに基づき、d軸電流指令値Id*に変動が生じる要因(例えば、パラメータの変動量が予め定めた閾値を超えた場合やエラー値を取得した場合など)が存在すると判別した場合に、第3制御モードによりd軸電流指令値Id*を前記の所定値に決定し、出力してもよい。 In the above embodiment, an example of executing the operation in the third control mode when the torque control by the torque control unit 13 is executed is shown, but the present invention is not limited to this. For example, the d-axis current control unit 125 causes the d-axis current command value Id * to fluctuate based on parameters such as the q-axis current command value Iq *'', the maximum voltage Vam, and the rotation speed ω that can be acquired. , When it is determined that there is a parameter fluctuation amount exceeding a predetermined threshold value or an error value is acquired), the d-axis current command value Id * is determined to the above-mentioned predetermined value by the third control mode. And may be output.

上記実施形態においては、モータ制御部12は、電流センサ35v、35wの検出結果に基づきモータ30を制御していたが、電流センサ35v、35wを省略してもよい。この場合、モータ制御部12は、シャント抵抗19からの電流検出信号Sp1とPWMスイッチングパターンとに基づき3相の交流電流Iu,Iv,Iwを復元してもよい。 In the above embodiment, the motor control unit 12 controls the motor 30 based on the detection results of the current sensors 35v and 35w, but the current sensors 35v and 35w may be omitted. In this case, the motor control unit 12 may restore the three-phase alternating currents Iu, Iv, and Iw based on the current detection signal Sp1 from the shunt resistance 19 and the PWM switching pattern.

上記実施形態においては、モータ30は回転角度センサレスであったが、回転角度センサが設けられていてもよい。 In the above embodiment, the motor 30 is without a rotation angle sensor, but a rotation angle sensor may be provided.

上記実施形態においては、コンプレッサ40はスライドベーン型のコンプレッサであったが、この種類以外のコンプレッサであってもよく、例えば、ツインロータリー式、レシプロ式、斜板式、ダイアフラム式、ツインスクリュー式、シングルスクリュー式、スクロール式、ロータリーピストン式等であってもよい。 In the above embodiment, the compressor 40 is a slide vane type compressor, but a compressor other than this type may be used, for example, a twin rotary type, a reciprocating type, a swash plate type, a diaphragm type, a twin screw type, or a single compressor. It may be a screw type, a scroll type, a rotary piston type, or the like.

(1)以上に説明した空気調和装置1の制御部10(モータ制御装置の一例)は、モータ30の目標回転速度ω0に応じて決定したd軸電流指令値Id*及びq軸電流指令値Iq*’’に従いインバータ20を介してモータ30を駆動する。制御部10が有するd軸電流制御部125は、決定されたq軸電流指令値Iq*’’を取得し、取得したq軸電流指令値Iq*’’に基づいてd軸電流指令値Id*を決定するd軸電流制御手段と、モータ30を弱め磁束制御により駆動するか否かを判別する判別手段としての機能を備える。d軸電流制御手段は、判別手段がモータ30を弱め磁束制御により駆動すると判別した場合であっても、所定条件下においては、取得したq軸電流指令値Iq*’’に関わらない所定値にd軸電流指令値Id*を決定する。この所定値は、モータ30が電圧飽和しない値である。
このようにしたから、前述したようにd軸電流指令値Id*の変動を回避することができ、結果として、モータ30及びコンプレッサ40を安定して動作させることができる。
(1) The control unit 10 (an example of the motor control device) of the air conditioner 1 described above has the d-axis current command value Id * and the q-axis current command value Iq determined according to the target rotation speed ω0 of the motor 30. The motor 30 is driven via the inverter 20 according to *''. The d-axis current control unit 125 included in the control unit 10 acquires the determined q-axis current command value Iq *'', and the d-axis current command value Id * based on the acquired q-axis current command value Iq *''. It is provided with a function as a d-axis current control means for determining whether or not the motor 30 is driven by weakening magnetic flux control and as a determination means for determining whether or not the motor 30 is driven by magnetic flux control. Even when the discrimination means determines that the motor 30 is weakened and driven by the magnetic flux control, the d-axis current control means sets the value to a predetermined value regardless of the acquired q-axis current command value Iq *'' under predetermined conditions. The d-axis current command value Id * is determined. This predetermined value is a value at which the motor 30 does not saturate the voltage.
As described above, the fluctuation of the d-axis current command value Id * can be avoided as described above, and as a result, the motor 30 and the compressor 40 can be operated stably.

(2)また、制御部10は、モータ30の回転速度変動を抑制するために、q軸電流指令値Iq*を補正する(トルク補正電流Iq*’を出力することで、q軸電流指令値をIq*’’(Iq*’’=Iq*+Iq*’)とする)トルク制御部13(補正手段の一例)を備え、d軸電流制御手段は、前記所定条件として、トルク制御部13がq軸電流指令値Iq*を補正した場合に、d軸電流指令値Id*を前記所定値に決定する。
このように、q軸電流指令値Iq*’’のバラツキが生じる蓋然性が高いトルク制御実行時に、d軸電流指令値Id*を前記所定値に決定するようにしたから、より効果的にd軸電流指令値Id*の変動を回避することができ、結果として、モータ30及びコンプレッサ40を安定して動作させることができる。
また、変形例で述べた通りトルク制御の手法は限られないが、前記の実施形態のトルク制御によれば、種々の要因によりコンプレッサ回転時の負荷の変動パターンが変化した場合であっても、それに合わせてリアルタイムで異なる値にトルク補正電流Iq*’が設定される。このため、モータ30の回転速度ωを安定させることができる。また、これによりコンプレッサ40の振動、騒音等も低減させることができる。また、無数に存在する負荷の変動パターンに応じてトルク補正電流Iq*’を予め記憶させる必要がないため、トルク制御部13の設計も容易であり、トルク補正電流Iq*’を記憶させるメモリの負担も小さい。
(2) Further, the control unit 10 corrects the q-axis current command value Iq * in order to suppress the rotation speed fluctuation of the motor 30 (by outputting the torque correction current Iq *', the q-axis current command value. Is Iq *'' (Iq *'' = Iq * + Iq *')) The torque control unit 13 (an example of the correction means) is provided, and the d-axis current control means has the torque control unit 13 as the predetermined condition. When the q-axis current command value Iq * is corrected, the d-axis current command value Id * is determined to be the predetermined value.
In this way, the d-axis current command value Id * is determined to be the predetermined value when torque control is executed, which is highly likely to cause variation in the q-axis current command value Iq *'', so that the d-axis current command value Id * is determined more effectively. Fluctuations in the current command value Id * can be avoided, and as a result, the motor 30 and the compressor 40 can be operated stably.
Further, although the torque control method is not limited as described in the modified example, according to the torque control of the above-described embodiment, even when the load fluctuation pattern during compressor rotation changes due to various factors, the load fluctuation pattern may change. The torque correction current Iq *'is set to a different value in real time accordingly. Therefore, the rotation speed ω of the motor 30 can be stabilized. Further, this can reduce the vibration, noise and the like of the compressor 40. Further, since it is not necessary to store the torque correction current Iq *'in advance according to the innumerable load fluctuation patterns, the torque control unit 13 can be easily designed, and the memory for storing the torque correction current Iq *' The burden is also small.

(3)また、前記所定値は、電流制限曲線C3と弱め磁束制御曲線C2との交点N2に応じた値I2とすることが好ましい。
このように、d軸電流指令値を、電流制限の下で弱め磁束制御時の発生トルクが最大となる交点N2に応じた所定値I2とすれば、入力されるq軸電流指令値Iq*’’によらず、弱め磁束効果を発揮できるからである。
(3) Further, it is preferable that the predetermined value is a value I2 corresponding to the intersection N2 between the current limiting curve C3 and the weakening magnetic flux control curve C2.
In this way, if the d-axis current command value is a predetermined value I2 corresponding to the intersection N2 where the torque generated during weakening magnetic flux control is maximized under the current limit, the input q-axis current command value Iq *' This is because the weakening magnetic flux effect can be exerted regardless of'.

(4)また、d軸電流制御手段は、d軸電流指令値Id*を前記所定値に決定すると、d軸電流指令値Id*を現在値から前記所定値まで徐々に変化させることが好ましい。
こうすれば、d軸電流指令値Id*が急激に変化してモータ30に不安定動作が生じることを抑制することができるからである。
(4) Further, it is preferable that the d-axis current control means gradually changes the d-axis current command value Id * from the current value to the predetermined value when the d-axis current command value Id * is determined to be the predetermined value.
This is because it is possible to prevent the d-axis current command value Id * from suddenly changing and causing unstable operation in the motor 30.

(5)また、空気調和装置1は、モータ制御装置と、インバータ20と、モータ30と、モータ30によって駆動されるコンプレッサ40と、コンプレッサ40により圧縮された冷媒を利用して室温を調整する空調部60と、を備える。
変形例で述べたようにコンプレッサ40の種別は限られないが、他種類のコンプレッサに比べて1回転中における負荷変動及び回転速度変動が大きいスライドベーン型を採用した場合は、第3制御モードでのd軸電流指令値の決定手法や、トルク制御部13によるトルク制御がより効果的である。
(5) Further, the air conditioning device 1 is an air conditioner that adjusts the room temperature by using a motor control device, an inverter 20, a motor 30, a compressor 40 driven by the motor 30, and a refrigerant compressed by the compressor 40. A unit 60 is provided.
As described in the modified example, the type of the compressor 40 is not limited, but when the slide vane type, in which the load fluctuation and the rotation speed fluctuation during one rotation are larger than those of other types of compressors, is adopted, the third control mode is used. The method for determining the d-axis current command value and the torque control by the torque control unit 13 are more effective.

1…空気調和装置
10…制御部
11…運転指令部
12…モータ制御部
124…速度制御部
125…d軸電流制御部(判別手段、d軸電流制御手段の一例)
C1…最大トルク制御曲線、C2…弱め磁束制御曲線、C3…電流制限曲線
13…トルク制御部(補正手段の一例)
20…インバータ
30…モータ
40…コンプレッサ
50…電源
60…空調部
1 ... Air conditioner 10 ... Control unit 11 ... Operation command unit 12 ... Motor control unit 124 ... Speed control unit 125 ... d-axis current control unit (example of discriminating means, d-axis current control means)
C1 ... Maximum torque control curve, C2 ... Weak magnetic flux control curve, C3 ... Current limit curve 13 ... Torque control unit (example of correction means)
20 ... Inverter 30 ... Motor 40 ... Compressor 50 ... Power supply 60 ... Air conditioning unit

Claims (3)

モータの目標回転速度に応じて決定したd軸電流指令値及びq軸電流指令値に従いインバータを介して前記モータを駆動するモータ制御装置であって、
決定されたq軸電流指令値を取得し、取得したq軸電流指令値に基づいてd軸電流指令値を決定するd軸電流制御手段と、
前記モータを弱め磁束制御により駆動するか否かを判別する判別手段と、
前記モータの回転速度変動を抑制するためにq軸電流指令値を補正するトルク制御を実行可能な補正手段と、を備え、
前記判別手段は、前記モータの回転速度が予め定めた切替回転速度以上である場合に前記モータを弱め磁束制御により駆動すると判別し、
前記補正手段は、前記判別手段が前記モータを弱め磁束制御により駆動すると判別したか否かに関わらず、前記モータの目標回転速度と回転速度の偏差が許容値を超える場合に前記トルク制御を実行し、前記偏差が前記許容値を超えない場合には前記トルク制御を実行せず、
前記d軸電流制御手段は、前記判別手段が前記モータを弱め磁束制御により駆動すると判別した場合であっても、前記補正手段が前記トルク制御を実行する場合には、取得したq軸電流指令値に関わらずに求めた値であって、特定関数に基づいて求めた所定値にd軸電流指令値を決定し、
前記特定関数は、電流制限曲線の関数と弱め磁束制御理論に従う曲線の関数とから導かれる、q軸電流指令値に依存しない関数であり、
前記所定値は、前記モータが電圧飽和しない値であって、前記電流制限曲線と前記弱め磁束制御理論に従う曲線との交点に応じた値である、
モータ制御装置。
A motor control device that drives the motor via an inverter according to the d-axis current command value and the q-axis current command value determined according to the target rotation speed of the motor.
A d-axis current control means that acquires the determined q-axis current command value and determines the d-axis current command value based on the acquired q-axis current command value.
A discriminating means for determining whether or not the motor is driven by weakening magnetic flux control, and
It is provided with a correction means capable of executing torque control for correcting the q-axis current command value in order to suppress the rotation speed fluctuation of the motor.
The discrimination means determines that the motor is driven by the weakening magnetic flux control when the rotation speed of the motor is equal to or higher than a predetermined switching rotation speed.
The correction means executes the torque control when the deviation between the target rotation speed and the rotation speed of the motor exceeds an allowable value regardless of whether or not the discrimination means determines that the motor is driven by weakening magnetic flux control. However, if the deviation does not exceed the permissible value, the torque control is not executed and the torque control is not executed.
The d-axis current control means has acquired the q-axis current command value when the correction means executes the torque control even when the discriminating means determines that the motor is weakened and driven by the magnetic flux control. The d-axis current command value is determined as a predetermined value obtained based on a specific function, which is a value obtained regardless of the above.
The specific function is a function that does not depend on the q-axis current command value and is derived from the function of the current limiting curve and the function of the curve according to the weakening magnetic flux control theory.
The predetermined value is a value at which the motor does not saturate the voltage, and is a value corresponding to the intersection of the current limiting curve and the curve according to the weakening magnetic flux control theory.
Motor control device.
前記d軸電流制御手段は、d軸電流指令値を前記所定値に決定すると、d軸電流指令値を現在値から前記所定値まで徐々に変化させる、
請求項1に記載のモータ制御装置。
When the d-axis current control means determines the d-axis current command value to the predetermined value, the d-axis current control means gradually changes the d-axis current command value from the current value to the predetermined value.
The motor control device according to claim 1 .
請求項1又は2に記載のモータ制御装置と、
前記インバータと、前記モータと、前記モータによって駆動されるコンプレッサと、前記コンプレッサにより圧縮された冷媒を利用して室温を調整する空調部と、を備える、
空気調和装置。
The motor control device according to claim 1 or 2 ,
It includes the inverter, the motor, a compressor driven by the motor, and an air conditioning unit that adjusts the room temperature by using the refrigerant compressed by the compressor.
Air conditioner.
JP2017041031A 2017-03-03 2017-03-03 Motor control device and air conditioner Active JP7042028B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017041031A JP7042028B2 (en) 2017-03-03 2017-03-03 Motor control device and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017041031A JP7042028B2 (en) 2017-03-03 2017-03-03 Motor control device and air conditioner

Publications (2)

Publication Number Publication Date
JP2018148678A JP2018148678A (en) 2018-09-20
JP7042028B2 true JP7042028B2 (en) 2022-03-25

Family

ID=63591821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017041031A Active JP7042028B2 (en) 2017-03-03 2017-03-03 Motor control device and air conditioner

Country Status (1)

Country Link
JP (1) JP7042028B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102586189B1 (en) * 2021-11-23 2023-10-06 주식회사 브이씨텍 High efficiency operating control appratus of pmsm for electric vehcle and its control method
CN114608158B (en) * 2022-02-18 2024-02-20 青岛海尔空调器有限总公司 Method and device for controlling direct-current air conditioner and air conditioner
CN114811880B (en) * 2022-02-28 2024-04-05 青岛国创智能家电研究院有限公司 Method and device for defrosting direct-current air conditioner and direct-current air conditioner

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011172450A (en) 2010-02-22 2011-09-01 Sanyo Electric Co Ltd Inverter device
JP2015192473A (en) 2014-03-27 2015-11-02 日本電産サンキョー株式会社 servo motor control system and servo motor control method
JP2016226270A (en) 2015-06-02 2016-12-28 エルエス産電株式会社Lsis Co., Ltd. Operating method of synchronous machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5626592B2 (en) * 2011-08-08 2014-11-19 アイシン・エィ・ダブリュ株式会社 Control device
JP2017046430A (en) * 2015-08-26 2017-03-02 ジョンソンコントロールズ ヒタチ エア コンディショニング テクノロジー(ホンコン)リミテッド Motor controller, fluid machinery, air conditioner, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011172450A (en) 2010-02-22 2011-09-01 Sanyo Electric Co Ltd Inverter device
JP2015192473A (en) 2014-03-27 2015-11-02 日本電産サンキョー株式会社 servo motor control system and servo motor control method
JP2016226270A (en) 2015-06-02 2016-12-28 エルエス産電株式会社Lsis Co., Ltd. Operating method of synchronous machine

Also Published As

Publication number Publication date
JP2018148678A (en) 2018-09-20

Similar Documents

Publication Publication Date Title
JP7042028B2 (en) Motor control device and air conditioner
JP4300730B2 (en) Permanent magnet motor device, refrigeration cycle device, and driving method of permanent magnet motor
WO2012144276A1 (en) Motor control device
CN109314477B (en) Motor driving device, refrigeration cycle device, and motor driving method
JP5984524B2 (en) Motor control device
WO2016006613A1 (en) Motor control device and refrigeration/air conditioning device
TWI355477B (en)
JP7014014B2 (en) In-vehicle fluid machine
WO2016067665A1 (en) Inverter control device and inverter compressor
JP7058562B2 (en) Motor control device and air conditioner
JP4804100B2 (en) Motor drive device, control method therefor, and air conditioner
JP6838999B2 (en) Motor control device and air conditioner
WO2006075742A1 (en) Heat pump application device and power recovering device using expander
JP5752546B2 (en) Motor control device, compressor and heat pump device
WO2017018206A1 (en) Motor control device
JP2012249355A (en) Motor controller and motor starting method using the same
JPWO2019176004A1 (en) Air conditioner
JP5344946B2 (en) Electric compressor control device
JP2008295204A (en) Apparatus and method for motor control
JP2018129957A (en) Motor controller and air conditioner
EP3355466B1 (en) Motor control device, rotary compressor system and motor control method
JP7115360B2 (en) electric compressor
JP2007175135A (en) Motor drive unit for washing machine or washing/drying machine
KR101918058B1 (en) Apparatus and method for driving brushless motor, and air conditioner having the same
JP5868564B1 (en) Inverter control device and inverter compressor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200825

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210323

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220314

R150 Certificate of patent or registration of utility model

Ref document number: 7042028

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150