JP2018148678A - Motor controller and air conditioner - Google Patents

Motor controller and air conditioner Download PDF

Info

Publication number
JP2018148678A
JP2018148678A JP2017041031A JP2017041031A JP2018148678A JP 2018148678 A JP2018148678 A JP 2018148678A JP 2017041031 A JP2017041031 A JP 2017041031A JP 2017041031 A JP2017041031 A JP 2017041031A JP 2018148678 A JP2018148678 A JP 2018148678A
Authority
JP
Japan
Prior art keywords
axis current
motor
command value
current command
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.)
Granted
Application number
JP2017041031A
Other languages
Japanese (ja)
Other versions
JP7042028B2 (en
Inventor
学 川上
Manabu Kawakami
学 川上
豪 宮尾
Takeshi Miyao
豪 宮尾
泰聖 松野
Taisei Matsuno
泰聖 松野
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

Landscapes

  • Air Conditioning Control Device (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a motor controller and an air conditioner capable of stably operating a motor.SOLUTION: An air conditioner comprises a motor controller that drives a motor through an invertor. The motor controller comprises d-axial current control means of determining a command value of a d-axial current on the basis of a q-axis current command value determined in accordance with a target rotation speed of the motor. The d-axial current control means determines a d-axis current command value as a predetermined value in regardless to the q-axis current command value under a predetermined condition that the motor is driven by weaken flux control, and the q-axis current command value is corrected. The predetermined value is a value which not cause a voltage saturation in the motor, is preferably determined by a value I2 in accordance with an intersection point N2 of a current regulation curve C3 and a weaken flux control curve C2.SELECTED DRAWING: Figure 8

Description

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

従来からインバータを制御してモータを駆動するモータ制御装置が知られている。永久磁石によって界磁磁束を得るモータでは、回転数が上がるにつれて逆起電力が増加するため、ある回転数を超えると電機子電流・磁束の低下によりトルクが急激に低下してしまう。このようなトルクの低下を防ぐために、高回転域で印加電圧を弱める弱め磁束制御(弱め界磁制御)を行うモータ制御装置が、例えば、特許文献1に開示されている。   2. Description of the Related Art Conventionally, a motor control device that drives an motor by controlling an inverter is known. In a motor that obtains a field magnetic flux by a permanent magnet, the counter electromotive force increases as the rotational speed increases. Therefore, when the rotational speed exceeds a certain rotational speed, the torque rapidly decreases due to a decrease in 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 weak flux control (weak field control) that weakens an applied voltage in a high rotation range.

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

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

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

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

本発明は、上記実状を鑑みてなされたものであり、モータを安定して動作させることができるモータ制御装置及び空気調和装置を提供することを目的とする。   This invention is made | formed in view of the said actual condition, and it aims at providing the motor control apparatus and air conditioning apparatus which can operate a motor stably.

上記目的を達成するため、本発明の第1の観点に係るモータ制御装置は、
モータの目標回転速度に応じて決定したd軸電流指令値及びq軸電流指令値に従いインバータを介して前記モータを駆動するモータ制御装置であって、
決定されたq軸電流指令値を取得し、取得したq軸電流指令値に基づいてd軸電流指令値を決定するd軸電流制御手段と、
前記モータを弱め磁束制御により駆動するか否かを判別する判別手段と、を備え、
前記d軸電流制御手段は、前記判別手段が前記モータを弱め磁束制御により駆動すると判別した場合であっても、所定条件下においては、取得したq軸電流指令値に関わらない所定値にd軸電流指令値を決定し、
前記所定値は、前記モータが電圧飽和しない値である。
In order to achieve the above object, a motor control device according to a first aspect of the present invention includes:
A motor control device that drives the motor via an inverter according to a d-axis current command value and a q-axis current command value determined according to a target rotational speed of the motor,
D-axis current control means for acquiring the determined q-axis current command value and determining the d-axis current command value based on the acquired q-axis current command value;
Discriminating means for discriminating whether or not the motor is driven by weakening magnetic flux control,
The d-axis current control means sets the d-axis to a predetermined value that is not related to the acquired q-axis current command value under a predetermined condition even when the determination means determines that the motor is weakened and driven by magnetic flux control. Determine the current command value,
The predetermined value is a value at which the motor does not saturate.

また、前記モータ制御装置は、前記モータの回転速度変動を抑制するためにq軸電流指令値を補正する補正手段を備え、
前記d軸電流制御手段は、前記所定条件として、前記補正手段がq軸電流指令値を補正した場合に、d軸電流指令値を前記所定値に決定してもよい。
In addition, the motor control device includes a correction unit that corrects the q-axis current command value in order to suppress the rotational speed fluctuation of the motor.
The d-axis current control unit may determine the d-axis current command value as the predetermined value when the correction unit corrects the q-axis current command value as the predetermined condition.

また、前記所定値は、電流制限曲線と弱め磁束制御理論に従う曲線との交点に応じた値であってもよい。   Further, the predetermined value may be a value corresponding to an intersection of a current limit curve and a curve according to a flux-weakening control theory.

また、前記d軸電流制御手段は、d軸電流指令値を前記所定値に決定すると、d軸電流指令値を現在値から前記所定値まで徐々に変化させてもよい。   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, an air conditioner according to a second aspect of the present invention includes:
The motor control device;
The inverter, the motor, a compressor driven by the motor, and an air conditioning unit that adjusts the room temperature using the refrigerant compressed by the compressor.

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

本発明の一実施形態に係る空気調和装置の構成を示す模式図である。It is a mimetic diagram showing the composition of the air harmony device concerning one embodiment of the present invention. (a)〜(d)は、モータの各角度におけるコンプレッサの断面図である。(A)-(d) is sectional drawing of the compressor in each angle of a motor. モータの角度に対する負荷トルクの変動を示すグラフである。It is a graph which shows the fluctuation | variation 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)はモータの角度に対する回転速度の変動を示すグラフである。In the case where torque control is not executed, (a) is a graph showing variation in load torque with respect to the motor angle, (b) is a graph showing variation in output torque with respect to the motor angle, and (c) is an angle of the motor. It is a graph which shows the fluctuation | variation of the rotational speed with respect to. トルク制御を実行する場合における(a)はモータの角度に対する負荷トルクの変動を示すグラフであり、(b)はモータの角度に対する出力トルクの変動を示すグラフであり、(c)はモータの角度に対する回転速度の変動を示すグラフである。(A) in the case of performing torque control is a graph which shows the fluctuation | variation of the load torque with respect to the angle of a motor, (b) is a graph which shows the fluctuation | variation of the output torque with respect to the angle of a motor, (c) is an angle of a motor. It is a graph which shows the fluctuation | variation of the rotational speed with respect to. 電流ベクトルの制御範囲などを示すグラフである。It is a graph which shows the control range etc. of an electric current vector. 本発明の一実施形態に係るd軸電流制御処理を示すフローチャートである。It is a flowchart which shows the d-axis current control process which concerns on one Embodiment of this invention. (a)及び(b)は、弱め磁束制御時に発生するd軸電流指令値の変動要因を説明するための図である。(A) And (b) is a figure for demonstrating the fluctuation | variation factor of the d-axis current command value which generate | occur | produces at the time of flux-weakening control.

本発明に係るモータ制御装置及び空気調和装置の一実施形態について図面を参照して説明する。
図1に示すように、空気調和装置1は、制御部10と、インバータ20と、モータ30と、コンプレッサ40と、電源50と、シャント抵抗19と、電流センサ35v,35wと、空調部60と、を備える。
An embodiment of a motor control device and an 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 resistor 19, current sensors 35 v and 35 w, and an air conditioning unit 60. .

電源50は、図示しない商用電源から直流電圧を生成し、生成された直流電圧をインバータ20に印加する。   The power source 50 generates a DC voltage from a commercial power source (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 a 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 converts the DC current supplied from the power supply 50 into three-phase, that is, U-phase, V-phase, and W-phase AC currents Iu, Iv, and Iw based on the PWM signals Su, Sv, and Sw from the control unit 10. 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). Inverter 20 receives current detection signal Sp <b> 1 from shunt resistor 19 and outputs overcurrent detection signal Sp <b> 2 indicating the presence or absence of overcurrent to 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 the 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 35 v 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 35 w 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. A 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 using the refrigerant compressed by the compressor 40. Specifically, the air conditioning unit 60 is compressed by the indoor heat exchanger 63 that exchanges heat with the indoor air, the outdoor heat exchanger 64 that exchanges heat with the outdoor air, the expansion valve 65 that decompresses the refrigerant, and the compressor 40. And a four-way valve 66 for switching the refrigerant flow path to either the outdoor heat exchanger 64 or the indoor heat exchanger 63.

冷房運転時について説明すると、四方弁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 that cools the refrigerant during the cooling operation, and discharges the heat of the refrigerant to the outside by exchanging heat between the outdoor air and the refrigerant. Thereafter, the 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, evaporates the refrigerant, exchanges heat between the indoor air and the refrigerant, and lowers the temperature of the indoor air. 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. 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 heat is exchanged between the outdoor air and the refrigerant by evaporating the refrigerant. Thereafter, 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 and a slide vane type compressor. Specifically, as shown in FIGS. 2A to 2D, the compressor 40 includes a cylindrical cylinder 41, a columnar rotor 42 that rotates eccentrically in the cylinder 41 by the motor 30, and the rotor 42. And a vane 43 that divides the inside of the cylinder 41 into a suction chamber 46a and a compression chamber 46b in accordance with the eccentric rotation.

ベーン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 passes through the peripheral wall of the cylinder 41, and the tip thereof is located inside the cylinder 41. The vane 43 has its tip pressed against the circumferential surface of the rotor 42 by a biasing member such as a spring (not shown). The cylinder 41 is formed with a discharge port 41o and a suction port 41i positioned with the vane 43 therebetween. The suction port 41 i 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 cylinder 41. The discharge port 41o is provided with a discharge valve 47o for opening and closing 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 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 is retracted to a position where the tip of the vane 43 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 is rotated to 120 ° with the suction valve 47i open and the discharge valve 47o closed, the rotor 42 becomes the inner peripheral surface of the cylinder 41. Is rotated 120 ° counterclockwise in the figure. 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, so that the temperature of the refrigerant rises. As shown in FIG. 2 (d), when the angle θ of the motor 30 is rotated to about 240 °, the pressure in the compression chamber 46b increases and the discharge valve 47o opens. Thereby, 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 manner, the compressor 40 performs suction, compression, and discharge while the motor 30 makes one rotation. For this reason, as shown in the graph of FIG. 3, the load torque of the motor 30 varies greatly during one rotation of the motor 30. This variation in load torque is also referred to as torque pulsation. This torque pulsation occurs remarkably in a slide vane type compressor among various compressors. Moreover, as illustrated in FIG. 3, the load torque variation patterns A <b> 1 to A <b> 3 are different depending on the operating load or the like in the air conditioner 1. In this example, the variation pattern A1 has a larger operation load than the variation patterns A2 and A3, and the variation pattern A2 has a larger operation load than the variation pattern A3. The fluctuation patterns A1 to A3 have different peak values at which the load torque is maximum, and different peak positions that are the angle θ of the motor 30 that takes the peak value. Variation patterns due to torque pulsations are not limited to these variation patterns A1 to A3, and there are countless variations due to various factors such as discharge pressure and suction pressure of the compressor 40, secular change of the compressor 40, and the like.

図1に示す制御部10は、インバータ20を介してモータ30の動作を制御するものであり、マイクロコンピュータから構成され、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを有する。ROMは、CPUの処理手順を規定する動作プログラム(後述のd軸電流制御処理を実行するためのプログラムを含む)やテーブルデータなどの固定データを予め記憶する。RAMは、各種の演算結果などを一時的に記憶する。例えば、RAMには、後述のd軸電流制御処理における判別結果や決定結果を示すデータなどが記憶される。   A control unit 10 shown in FIG. 1 controls the operation of the motor 30 via an inverter 20 and is composed of a microcomputer. The control unit 10 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). ) Etc. The ROM stores in advance fixed data such as an operation program (including a program for executing d-axis current control processing described later) that defines the processing procedure of the CPU and table data. The RAM temporarily stores various calculation results and the like. For example, the RAM stores data indicating a determination result or a determination result in a 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 according to, for example, a remote control operation by the user. The operation command unit 11 calculates a target rotation speed ω0 (rotation speed command) of the motor 30 based on, for example, an indoor temperature and an outdoor temperature acquired by a sensor (not shown), and a target temperature set by a user, and calculates the calculated target rotation. The 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 calculates the value of the U-phase current Iu using the fact that the sum of the three-phase currents Iu, Iv, Iw becomes zero based on the acquired values of the currents Iv, Iw. Calculate. At this time, for example, 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. Further, for example, when an overcurrent is generated based on the overcurrent detection signal Sp2 from the inverter 20, the three-phase current calculation unit 121 takes an average value without including the values of the currents Iv and Iw at that time.

電流変換部122は、3相電流演算部121によって演算された3相の電流Iu,Iv,Iwを2相のq軸電流Iqとd軸電流Idに座標変換する。なお、q軸電流Iqはモータ30のトルク成分であり、d軸電流Idはモータ30の磁束成分である。   The current converter 122 converts the three-phase currents Iu, Iv, and Iw calculated by the three-phase current calculator 121 into a two-phase q-axis current Iq and a 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 converts the q-axis current Iq and the d-axis current Id converted by the current conversion unit 122 into a q-axis voltage command value Vq and a d-axis voltage command value Vd calculated by a 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 that is 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 to calculate a 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 a deviation ωe (ωe = ω0−ω) between the target rotational speed ω0 and the rotational 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 a feedback gain of a proportional element, and k2 is a feedback gain of an integral element. The feedback control performed by the speed control unit 124 is not limited to PI control, and may be 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 a 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 load fluctuations caused by 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 torque control by the torque control unit 13 is not performed, the torque correction current Iq * ′ becomes 0 (Iq * ′ = 0) as will be 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 it 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 (the upper limit value of the terminal voltage of the motor 30) from a voltage sensor (not shown). These rotational 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 conditions, and a method (the following (Equation 1) to (Equation 3) corresponding to the selected mode. The d-axis current command value Id * is calculated by a method based on the equation (1). The d-axis current control unit 125 calculates the d-axis current command value Id * by using data and a table that are stored in advance in the ROM and indicate the following equations (Equation 1) to (Equation 3). Hereinafter, the first to third control modes will be described.

(第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*に相当する。
(First control mode: Maximum torque control)
At the start of driving of 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 formula (1). . Thereby, the maximum torque control as the first control mode is executed. In the maximum torque control, the current vector is controlled so as to obtain the maximum torque with the minimum current according to the maximum torque control curve C1 (see FIG. 8) represented by the following (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, d-axis armature self-inductance, and Ψ is a flux linkage number. In the following (Equation 1), “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 2018148678
Figure 2018148678

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 no voltage saturation occurs), the d-axis current control unit 125 calculates the d-axis current command value Id * using the formula (1), and the maximum torque Execute 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 number ω1 corresponding to the case where the motor 30 is in a voltage saturation state. Execute. Note that the switching rotational speed ω <b> 1 varies depending on the load of the motor 30. On the other hand, when the rotational speed ω becomes equal to or higher than the switching rotational speed ω1, the d-axis current control unit 125 reduces the applied voltage in order to prevent the torque from decreasing due to the increase of the induced voltage. The flux-weakening 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: magnetic flux weakening control)
The d-axis current control unit 125 performs the q-axis current command value Iq * ″ obtained from the adder 14, the upper limit value Vam of the terminal voltage of the motor 30, and the following (Equation 2) when performing the flux-weakening control. Based on this, a d-axis current command value Id * is calculated. In the flux weakening control, the current vector is controlled so that the motor 30 does not saturate in accordance with the flux weakening control curve (voltage limit curve) C2 (see FIG. 8) expressed 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 2018148678
Figure 2018148678

(第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 adds the d-axis current command value Id * to the adder as the third control mode when the torque control is being executed by the torque control unit 13 even during the period of executing the flux-weakening control. 14 is determined to be a predetermined value that is not related to the q-axis current command value Iq * '' acquired from 14. The d-axis current control unit 125 determines whether torque control is currently being executed by referring to a torque control execution flag described later.
In the third control mode, the d-axis current control unit 125 has a value I2 corresponding to the intersection N2 between the flux-weakening control curve C2 representing the above (Equation 2) and the current limiting curve C3 representing the following (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. For this reason, the intersection N2 between the current limit curve C3 and the flux-weakening control curve C2 represents a current vector that maximizes the torque generated during the flux-weakening control under the current limit.

Figure 2018148678
Figure 2018148678

具体的には、d軸電流制御部125は、(数2)式と(数3)式との一方のIqを他方に代入することで得られるIqに依存しない関数に、最大電圧Vamと回転数ωを代入することで得られるIdの値を、d軸電流指令値Id*に決定する。なお、この際、式中のωには、位置推定部123が推定した回転速度ωではなく、運転指令部11が出力した目標回転速度ω0を代入する。   Specifically, the d-axis current control unit 125 rotates the maximum voltage Vam and the rotation into a function that does not depend on Iq obtained by substituting one Iq in 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 rotational speed ω estimated by the position estimating unit 123, the target rotational 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, a 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 (2) representing the flux-weakening control curve C2. On the other hand, in the third control mode, the predetermined value I2 is determined as the d-axis current command value Id * regardless of the input q-axis current command value Iq * ''. Thus, in the third control mode, the reason why the d-axis current command value Id * is set to a predetermined value that is not related to the input q-axis current command value Iq * '' is that torque control by the torque control unit 13 described later is performed. This is because, in theory, the q-axis current command value Iq * ″ does not cause a variation, but in reality, the q-axis current command value Iq * ″ is likely to vary. Also, the reason why the predetermined value is 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 magnetic flux control is maximized under the current limit. This is because the magnetic flux weakening effect can be exhibited regardless of the q-axis current command value Iq * ''. Note that the d-axis current command value Id * determined in the third control mode is not limited to I2 corresponding to the intersection N2, and any value as long as the motor 30 does not saturate the voltage as described in a later modification. It 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 a q-axis voltage command value Vq for making the current q-axis current Iq coincide with the q-axis current command value Iq * ″. Further, the current control unit 126 calculates a d-axis voltage command value Vd for making the current d-axis current Id coincide with the d-axis current command value Id *. At this time, the current control unit 126 may perform feedback control by PI control using the same calculation method as the speed control unit 124, or may perform other 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 performs pulse width modulation on the DC voltage according to the U-phase, V-phase, and W-phase voltage command values Vu, Vv, and Vw coordinate-converted by the voltage conversion unit 127 to thereby generate PWM signals Su and Sv. , Sw are 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 controller 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 corrected torque current calculation unit 13f.

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

詳しくは、トルク脈動推定部13aは、モータ出力トルク演算部13bと、モータ負荷トルク演算部13cと、減算器13dと、を備える。   Specifically, the torque pulsation estimating unit 13a includes a motor output torque calculating unit 13b, a motor load torque calculating 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 calculates the output torque Ta (of the motor 30 by 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). The output torque Ta is the torque that the motor 30 actually outputs. The motor current Ia is, for example, a combined current of a q-axis current Iq and a d-axis current Id. In this embodiment, the motor current Ia is estimated from the q-axis current Iq and the d-axis current Id. However, in order to simplify the control, the motor current Ia may be estimated from only the q-axis current Iq. Good.

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

減算器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 rotational 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 to be higher than the frequency of the rotational speed fluctuation component due to torque pulsation and lower than the frequency of the rotational speed fluctuation component other than torque pulsation based on, for example, experiments.

補正トルク電流演算部13fは、ローパスフィルタ13eを経た差分トルクTcに基づき、差分トルクTcに応じた値のq軸電流値としてトルク補正電流Iq*’を演算する。詳しくは、トルク補正電流Iq*’は、差分トルクTcをトルク係数Kで除することにより求められる(Iq*’=Tc/K)。   The corrected torque current calculation unit 13f calculates a torque correction current Iq * ′ as a q-axis current value having a value corresponding to the differential torque Tc based on the differential 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 corrected 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, torque control (correction of q-axis current value Iq *) by the torque control unit 13 is not performed. 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 determined in advance as, for example, the maximum rotational speed fluctuation value in a range in which sound and vibration can be permitted as a device. As described above, in the rotation range where the deviation Δω does not exceed the allowable value and the fluctuation in 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. Since ω is stabilized, torque control is not executed.

補正トルク電流演算部13fは、差分トルクTcに応じた値のq軸電流値としてトルク補正電流Iq*’を算出した場合、トルク制御が実行中である旨を、トルク制御実行中フラグをオン状態にセットすることでRAMに記憶する。一方、補正トルク電流演算部13fは、トルク補正電流Iq*’の値を0とした場合、現在、トルク制御が実行されていない旨を、トルク制御実行中フラグをオフ状態にクリアすることでRAMに記憶する。なお、トルク制御が実行中か否かは、後述のd軸電流制御処理における第2制御モードと第3制御モードのいずれに移行するかの判別基準となる。   When the torque correction current Iq * ′ is calculated as the q-axis current value corresponding to the differential torque Tc, the correction torque current calculation unit 13f indicates that the torque control is being executed, and the torque control execution flag is turned on. 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 indicates that the torque control is not currently being executed by clearing the torque control execution flag to the off state. To remember. 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, when the torque control is performed, the torque control unit 13 constantly monitors the output torque Ta and the load torque Tb, 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 are equalized, so that the rotational speed ω of the motor 30 is stabilized.

トルク制御部13によるトルク制御(q軸電流指令値の補正)を行わない場合は、図6(a)に模式的に示すように、上述したトルク脈動により負荷トルクTbが変動するが、図6(b)に模式的に示すように、出力トルクTaは一定となる。このため、図6(c)に模式的に示すように、理論上は、トルク脈動によりモータ30の回転速度ωは変動して安定しないことになる。しかし、前述の通り、この実施形態では、回転数の偏差Δωが許容値を超えず、トルク制御を実行せずとも回転速度ωが安定すると見做せる場合(例えば、負荷脈動が小さくなる高回転域である場合)に、トルク制御を実行しないため、モータ30の回転速度ωの変動について実機としての問題は生じない。
一方で、例えば、負荷脈動が高回転域に比べて大きくなる低回転域では、回転数の偏差Δωが許容値を超えて、トルク制御部13によるトルク制御が行われる。トルク制御部13によるトルク制御が行われる場合、図7(a),(b)に模式的に示すように、出力トルクTaは、上述したトルク脈動により負荷トルクTbが変動するのに合わせて変動する。このため、図7(c)に模式的に示すように、トルク脈動に関わらず、モータ30の回転速度ωが安定する。以上がモータ制御部12の全体構成についての説明である。
When torque control by the torque control unit 13 (q-axis current command value correction) is not performed, the load torque Tb fluctuates due to the torque pulsation described above as schematically shown in FIG. As schematically shown in (b), the output torque Ta is constant. Therefore, as schematically shown in FIG. 6C, the rotational speed ω of the motor 30 fluctuates theoretically due to torque pulsation and is not stable. However, as described above, in this embodiment, when the rotational speed deviation Δω does not exceed the allowable value and it can be assumed that the rotational speed ω is stable without executing torque control (for example, high rotation speed at which load pulsation is small). Since the torque control is not executed in the case of a region), there is no problem as a real machine with respect to fluctuations in the rotational speed ω of the motor 30.
On the other hand, for example, in the low rotation range where the load pulsation is larger than that in the high rotation range, the rotational speed deviation Δω exceeds the allowable value, and the torque control by the torque control unit 13 is performed. When torque control by the torque control unit 13 is performed, as schematically shown in FIGS. 7A and 7B, the output torque Ta varies as the load torque Tb varies due to the torque pulsation described above. To do. For this reason, as schematically shown in FIG. 7C, the rotational speed ω of the motor 30 is stabilized 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, the d-axis current is executed by the d-axis current control unit 125, selects one of the first to third control modes according to the conditions, and determines and outputs a d-axis current command value according to each mode. 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 perform the flux-weakening control (Step S2). Specifically, the d-axis current control unit 125 determines that the flux-weakening control is to be executed when the rotational speed ω acquired in step S1 is equal to or higher than the switching rotational speed ω1. Note that it may be determined whether or not the flux-weakening control can be performed based on the terminal voltage, the terminal current, and 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を最大トルク制御で駆動する。   When it is determined that the flux-weakening control is not executed (step S2; No), the process shifts to the first control mode. In the first control mode, the d-axis current control unit 125 determines the d-axis current based on the q-axis current command value Iq * '' acquired in step S1 and the above equation (Equation 1) stored in the ROM. 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 that the flux-weakening control is to be executed (step S2; Yes), the d-axis control unit 125 refers to the on / off state of the torque control execution flag stored in the RAM by the correction torque current calculation unit 13f. Then, 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を弱め磁束制御で駆動する。   When the torque control is not being executed (step S5; No), the process proceeds 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 via the inverter 20 and driven by magnetic flux control.

トルク制御が実行中の場合は(ステップ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*の目標値に決定する。   When the torque control is being executed (step S5; Yes), the process proceeds to the third control mode. In the third control mode, the d-axis current control unit 125 determines the maximum voltage Vam as a function that does not depend on Iq obtained by substituting one Iq in the equations (2) and (3) into the other. The value of Id obtained by substituting the target rotational 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 * '' obtained in step S1, as described above, the predetermined value I2 corresponding to the intersection N2 between the current limit curve C3 and the flux-weakening control curve C2 is set to the d-axis current command. The target value of the value Id * is determined.

続いて、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. The current command value Id * is output to the current control unit 126 (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, until the current d-axis current command value Id * reaches the target value determined in step S7 and is determined to be Yes in step S8, it is determined to be No in step S8. The change amount ΔI (negative change amount) is continuously 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 changing suddenly and causing unstable operation in the motor 30.

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

以上の各処理がモータ30の駆動中に継続して実行される。d軸電流制御処理の説明は以上である。   The above processes are continuously executed while the motor 30 is being driven. This is the end of 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*に決定し、出力する。   Next, referring to FIG. 8 again, an example of control mode transition according to the d-axis current control process will be described. When driving of the motor 30 is started, first, maximum torque control as the first control mode is executed. That is, the d-axis current control unit 125 determines and outputs 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 *. Then, when the q-axis current command value Iq * '' increases as the target rotational speed ω0 increases and the induced voltage exceeds the applied voltage, the flux-weakening control as the second control mode is executed. (See the section between points P1 and P2). That is, the d-axis current control unit 125 determines the value on the flux-weakening control curve C2 corresponding to the acquired q-axis current command value Iq * '' as the d-axis current command value Id * and outputs it.

ここで、点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 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 gradually changes from the value (in this example, the d-axis current command value Id * corresponding to the point P2) to the target value I2. Thus, 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 Id *, the flux-weakening control curve C2 and the current limit. It is determined to be I2 corresponding 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, the example in which the first, second, and third control modes are sequentially shifted has been described. However, as can be seen from FIG. 9, during execution of the first control mode, Yes, 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 execution of the third control mode, the result is 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, during the torque control 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 irrespective of the input q-axis current command value Iq * ''. To decide. For this reason, the d-axis current caused by variations in the q-axis current command value Iq * ″ (see FIG. 10A) and changes in the weakening control curve C2 due to variations in Vam and ω (see FIG. 10B). Variations in the command value Id * can be avoided. As a result, the motor 30 and the compressor 40 can be stably operated. Further, since the d-axis current command value Id * is set to a predetermined value I2 corresponding to the intersection N2 at which the generated torque during the flux-weakening control becomes maximum under the current limit, the input q-axis current command value Iq * '' Regardless, the magnetic flux weakening effect can be exhibited.

なお、本発明は以上の実施形態及び図面によって限定されるものではない。本発明の要旨を変更しない範囲で、適宜、変更(構成要素の削除も含む)を加えることが可能である。以下に変形の一例を説明する。   In addition, this invention is not limited by the above embodiment and drawing. Changes (including deletion of components) can be made as appropriate without departing from the scope of the present invention. An example of 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)
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 that does not cause the motor 30 to saturate. 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. . Theoretically, when the d-axis current command value Id * is set within the range of I1 to I2, depending on the input q-axis current command value Iq * '', the weakening magnetic flux effect may be insufficient. . On the other hand, when the d-axis current command value Id * is set within the range of I2 to Iam, the current limit is exceeded depending on the input q-axis current command value Iq * ''. However, when considering a system of an actual machine, it is possible to make the value unevenly distributed to either I1 or Iam from I2 corresponding to the intersection N2. The value may be obtained by experiment.

また、トルク制御部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 performed by a method (referred to as a profile method) in which correction values associated with the rotational positions θ of the motor 30 and the compressor 40 are stored in advance as a table in accordance with a load torque fluctuation pattern assumed in advance. May be. In the profile method, a correction value is read from the table in accordance with the acquired rotational position θ, and torque control is performed using this correction value. When this method is employed, for example, when the rotational speed ω estimated by the position estimation unit 123 becomes equal to or higher than a threshold value stored in advance in the ROM, the torque control by the torque control unit 13 is not executed. That's fine. The threshold value may be determined in advance as the number of rotations according to the control limit by the profile method. Also in the profile method, torque control may not be executed when the rotational speed deviation Δω does not exceed the allowable value.

上記実施形態では、トルク制御部13によるトルク制御が実行されている場合に、第3制御モードでの動作を実行する例を示したが、これに限られない。例えば、d軸電流制御部125は、取得可能なq軸電流指令値Iq*’’、最大電圧Vam、回転速度ωなどのパラメータに基づき、d軸電流指令値Id*に変動が生じる要因(例えば、パラメータの変動量が予め定めた閾値を超えた場合やエラー値を取得した場合など)が存在すると判別した場合に、第3制御モードによりd軸電流指令値Id*を前記の所定値に決定し、出力してもよい。   In the above embodiment, the example in which the operation in the third control mode is executed 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 may cause a variation in the d-axis current command value Id * based on parameters such as an acquirable q-axis current command value Iq * '', the maximum voltage Vam, and the rotation speed ω (for example, When the parameter fluctuation amount exceeds a predetermined threshold or when an error value is acquired, the d-axis current command value Id * is determined to be the predetermined value in 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 resistor 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 may be a compressor other than this type, for example, a twin rotary type, a reciprocating type, a swash plate type, a diaphragm type, a twin screw type, a single type A screw type, a scroll type, a rotary piston type, etc. may be sufficient.

(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 a motor control device) of the air conditioning apparatus 1 described above is configured to determine the d-axis current command value Id * and the q-axis current command value Iq determined according to the target rotational speed ω0 of the motor 30. In accordance with * '', the motor 30 is driven via the inverter 20. The d-axis current control unit 125 included in the control unit 10 acquires the determined q-axis current command value Iq * '', and based on the acquired q-axis current command value Iq * '', the d-axis current command value Id * D-axis current control means, and a function as discrimination means for discriminating whether the motor 30 is weakened and driven by magnetic flux control. The d-axis current control means has a predetermined value that is not related to the acquired q-axis current command value Iq * '' under a predetermined condition even when the determination means determines that the motor 30 is weakened and driven by magnetic flux control. The d-axis current command value Id * is determined. This predetermined value is a value at which the motor 30 does not saturate.
Since it did in this way, the fluctuation | variation of d-axis current command value Id * can be avoided as mentioned above, 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 rotational speed fluctuation of the motor 30 (by outputting the torque correction current Iq * ′, the q-axis current command value Is provided as Iq * ″ (Iq * ″ = Iq * + Iq * ′)) torque control unit 13 (an example of a correction unit), and the d-axis current control unit includes 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.
As described above, since the d-axis current command value Id * is determined to be the predetermined value at the time of executing the torque control with a high probability that the variation of the q-axis current command value Iq * '' occurs, the d-axis Variations in the current command value Id * can be avoided, and as a result, the motor 30 and the compressor 40 can be stably operated.
Further, as described in the modification, the torque control method is not limited, but according to the torque control of the above-described embodiment, even when the load fluctuation pattern during the rotation of the compressor changes due to various factors, Accordingly, the torque correction current Iq * ′ is set to a different value in real time. For this reason, the rotational speed ω of the motor 30 can be stabilized. In addition, vibration, noise, and the like of the compressor 40 can be reduced accordingly. Further, since it is not necessary to store the torque correction current Iq * ′ in advance according to the infinite number of load fluctuation patterns, the design of the torque control unit 13 is easy, and the memory for storing the torque correction current Iq * ′ is easy. The burden is small.

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

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

(5)また、空気調和装置1は、モータ制御装置と、インバータ20と、モータ30と、モータ30によって駆動されるコンプレッサ40と、コンプレッサ40により圧縮された冷媒を利用して室温を調整する空調部60と、を備える。
変形例で述べたようにコンプレッサ40の種別は限られないが、他種類のコンプレッサに比べて1回転中における負荷変動及び回転速度変動が大きいスライドベーン型を採用した場合は、第3制御モードでのd軸電流指令値の決定手法や、トルク制御部13によるトルク制御がより効果的である。
(5) In addition, the air conditioner 1 uses the motor control device, the inverter 20, the motor 30, the compressor 40 driven by the motor 30, and the air conditioning that adjusts the room temperature using the refrigerant compressed by the compressor 40. Unit 60.
As described in the modified example, the type of the compressor 40 is not limited. However, when the slide vane type in which the load fluctuation and the rotation speed fluctuation during one rotation are large compared to other types of compressors is adopted, the third control mode is used. The d-axis current command value determining method 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…空調部
DESCRIPTION OF SYMBOLS 1 ... Air conditioning apparatus 10 ... Control part 11 ... Operation command part 12 ... Motor control part 124 ... Speed control part 125 ... d-axis current control part (an example of a discrimination means and d-axis current control means)
C1: Maximum torque control curve, C2: Weak magnetic flux control curve, C3: Current limit curve 13: Torque control unit (an example of correction means)
20 ... Inverter 30 ... Motor 40 ... Compressor 50 ... Power source 60 ... Air conditioning unit

Claims (5)

モータの目標回転速度に応じて決定したd軸電流指令値及びq軸電流指令値に従いインバータを介して前記モータを駆動するモータ制御装置であって、
決定されたq軸電流指令値を取得し、取得したq軸電流指令値に基づいてd軸電流指令値を決定するd軸電流制御手段と、
前記モータを弱め磁束制御により駆動するか否かを判別する判別手段と、を備え、
前記d軸電流制御手段は、前記判別手段が前記モータを弱め磁束制御により駆動すると判別した場合であっても、所定条件下においては、取得したq軸電流指令値に関わらない所定値にd軸電流指令値を決定し、
前記所定値は、前記モータが電圧飽和しない値である、
モータ制御装置。
A motor control device that drives the motor via an inverter according to a d-axis current command value and a q-axis current command value determined according to a target rotational speed of the motor,
D-axis current control means for acquiring the determined q-axis current command value and determining the d-axis current command value based on the acquired q-axis current command value;
Discriminating means for discriminating whether or not the motor is driven by weakening magnetic flux control,
The d-axis current control means sets the d-axis to a predetermined value that is not related to the acquired q-axis current command value under a predetermined condition even when the determination means determines that the motor is weakened and driven by magnetic flux control. Determine the current command value,
The predetermined value is a value at which the motor does not saturate.
Motor control device.
前記モータの回転速度変動を抑制するためにq軸電流指令値を補正する補正手段を備え、
前記d軸電流制御手段は、前記所定条件として、前記補正手段がq軸電流指令値を補正した場合に、d軸電流指令値を前記所定値に決定する、
請求項1に記載のモータ制御装置。
Correction means for correcting the q-axis current command value to suppress the rotational speed fluctuation of the motor;
The d-axis current control means determines the d-axis current command value as the predetermined value when the correction means corrects the q-axis current command value as the predetermined condition.
The motor control device according to claim 1.
前記所定値は、電流制限曲線と弱め磁束制御理論に従う曲線との交点に応じた値である、
請求項1又は2に記載のモータ制御装置。
The predetermined value is a value corresponding to the intersection of the current limit curve and the curve according to the flux-weakening control theory,
The motor control device according to claim 1 or 2.
前記d軸電流制御手段は、d軸電流指令値を前記所定値に決定すると、d軸電流指令値を現在値から前記所定値まで徐々に変化させる、
請求項1〜3のいずれか1項に記載のモータ制御装置。
The d-axis current control means, when determining the d-axis current command value to the predetermined value, gradually changes the d-axis current command value from the current value to the predetermined value.
The motor control apparatus of any one of Claims 1-3.
請求項1〜4のいずれか1項に記載のモータ制御装置と、
前記インバータと、前記モータと、前記モータによって駆動されるコンプレッサと、前記コンプレッサにより圧縮された冷媒を利用して室温を調整する空調部と、を備える、
空気調和装置。
The motor control device according to any one of claims 1 to 4,
The inverter, the motor, a compressor driven by the motor, and an air conditioning unit that adjusts the room temperature 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 true JP2018148678A (en) 2018-09-20
JP7042028B2 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114608158A (en) * 2022-02-18 2022-06-10 青岛海尔空调器有限总公司 Method and device for controlling direct current air conditioner and air conditioner
CN114811880A (en) * 2022-02-28 2022-07-29 青岛海尔空调器有限总公司 Method and device for defrosting of direct-current air conditioner and direct-current air conditioner
KR20230075896A (en) * 2021-11-23 2023-05-31 주식회사 브이씨텍 High efficiency operating control appratus of pmsm for electric vehcle and its control method

Citations (5)

* 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
JP2013038925A (en) * 2011-08-08 2013-02-21 Aisin Aw Co Ltd Control 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
JP2017046430A (en) * 2015-08-26 2017-03-02 ジョンソンコントロールズ ヒタチ エア コンディショニング テクノロジー(ホンコン)リミテッド Motor controller, fluid machinery, air conditioner, and program

Patent Citations (5)

* 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
JP2013038925A (en) * 2011-08-08 2013-02-21 Aisin Aw Co Ltd Control 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
JP2017046430A (en) * 2015-08-26 2017-03-02 ジョンソンコントロールズ ヒタチ エア コンディショニング テクノロジー(ホンコン)リミテッド Motor controller, fluid machinery, air conditioner, and program

Cited By (6)

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

Also Published As

Publication number Publication date
JP7042028B2 (en) 2022-03-25

Similar Documents

Publication Publication Date Title
JP7058562B2 (en) Motor control device and air conditioner
CN109314477B (en) Motor driving device, refrigeration cycle device, and motor driving method
WO2004095684A1 (en) Motor controlling device, compressor, air conditioner and refrigerator
JP2012005199A (en) Motor controller, compressor and heat pump device
JP7042028B2 (en) Motor control device and air conditioner
JP2010093995A (en) Motor control apparatus, motor control method, and air conditioner
JP6838999B2 (en) Motor control device and air conditioner
TWI355477B (en)
WO2016006613A1 (en) Motor control device and refrigeration/air conditioning device
WO2016067665A1 (en) Inverter control device and inverter compressor
JP4804100B2 (en) Motor drive device, control method therefor, and air conditioner
JP5752546B2 (en) Motor control device, compressor and heat pump device
JP2012249355A (en) Motor controller and motor starting method using the same
JP2018148592A (en) Motor controller
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
KR101918058B1 (en) Apparatus and method for driving brushless motor, and air conditioner having the same
JP5868564B1 (en) Inverter control device and inverter compressor
JP7118274B2 (en) Drive device, fluid utilization device and air conditioner
JP6093606B2 (en) Motor drive device
JP2003209998A (en) Method for driving motor and motor driver
JP6786446B2 (en) Motor control device
JP2023033006A (en) air conditioner

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