JP2013172550A - Motor controller and three-phase voltage command generating method of motor - Google Patents

Motor controller and three-phase voltage command generating method of motor Download PDF

Info

Publication number
JP2013172550A
JP2013172550A JP2012035025A JP2012035025A JP2013172550A JP 2013172550 A JP2013172550 A JP 2013172550A JP 2012035025 A JP2012035025 A JP 2012035025A JP 2012035025 A JP2012035025 A JP 2012035025A JP 2013172550 A JP2013172550 A JP 2013172550A
Authority
JP
Japan
Prior art keywords
phase
current
control
motor
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.)
Pending
Application number
JP2012035025A
Other languages
Japanese (ja)
Inventor
Sari Maekawa
佐理 前川
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2012035025A priority Critical patent/JP2013172550A/en
Publication of JP2013172550A publication Critical patent/JP2013172550A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a torque ripple and noise of a motor without a reduction in control accuracy even if a control band is low when variations and nonlinear elements contained in control are controlled in a state that the variations and the nonlinear elements are separated for each phase.SOLUTION: A motor controller detects a rotational position of a rotor by a position detection section and detects phase currents of a motor by a current detection section. When a dq axis command value output section outputs a dq axis current command value in vector control in response to a control command, a command value coordinate conversion section converts the dq axis current command value to a three-phase current command value of a three-phase coordinate system on the basis of the rotational position of the rotor. A voltage command generation section adds a result obtained by performing PI control operation of deviations among the three-phase current command value and the three-phase currents detected by the current detection section and a result obtained by multiplying the deviations by a correction value varying in accordance with the rotational position of the rotor and generates a three-phase voltage command.

Description

本発明の実施形態は、初段の指令値としてベクトル制御のd軸,q軸電流指令を与え、それらの指令を3相電流指令に変換してから3相電圧指令を生成し、電力変換器を介してモータに3相交流を出力するモータ制御装置及びモータの3相電圧指令生成方法に関する。   In the embodiment of the present invention, vector-controlled d-axis and q-axis current commands are given as first-stage command values, these commands are converted into three-phase current commands, and then a three-phase voltage command is generated. The present invention relates to a motor control device that outputs a three-phase alternating current to a motor and a motor three-phase voltage command generation method.

現在、家電や車載用途に適用されるモータは一般的に永久磁石同期モータ(PMSM)であることが多く、永久磁石同期モータは3相の正弦波電流によって駆動されている。また、モータを駆動する制御方式としては、ベクトル制御が広く使用されている。ベクトル制御の場合、モータの検出電流やインバータ(電力変換器)の出力は3相であり、フィードバック制御系はdq軸の2相である。したがって、2相/3相座標変換部で再び2相から3相に逆変換してモータを駆動制御する必要があり、2相/3相変換及び3相/2相変換が混在している。   Currently, motors applied to home appliances and in-vehicle applications are generally permanent magnet synchronous motors (PMSM), and the permanent magnet synchronous motor is driven by a three-phase sine wave current. Vector control is widely used as a control method for driving a motor. In the case of vector control, the detected current of the motor and the output of the inverter (power converter) are three phases, and the feedback control system is two phases of the dq axis. Therefore, it is necessary to reversely convert from the 2-phase to the 3-phase again in the 2-phase / 3-phase coordinate conversion unit to control the drive of the motor, and the 2-phase / 3-phase conversion and the 3-phase / 2-phase conversion are mixed.

ここで、理想的な2軸の駆動制御に対して、外乱や誤差については3相部分に起因する様々な問題がある。例えばインバータのスイッチング制御において上下アームのスイッチング素子を同時にオフするデッドタイムがある。デッドタイムを設けたスイッチングパターンにより発生するモータ電流には、スイッチング過渡状態の非線形要素が含まれることになる。また、モータ電流を検出する検出素子の誤差や、モータの巻線抵抗、インダクタンス、磁束のばらつきなども3相,2相間の問題として挙げられる。   Here, with respect to the ideal two-axis drive control, there are various problems due to the three-phase portion in terms of disturbances and errors. For example, there is a dead time in which the switching elements of the upper and lower arms are simultaneously turned off in the inverter switching control. The motor current generated by the switching pattern provided with the dead time includes a nonlinear element in a switching transient state. Further, errors in the detection element for detecting the motor current, motor winding resistance, inductance, variation in magnetic flux, and the like can be cited as problems between the three phases and the two phases.

例えばU相電流Iuに発生する誤差HA、フィードバック系の3相/2相変換部におけるdq軸変換により、d軸電流成分Id及びq軸電流成分Iqに含有されてしまう。そのため、電流成分Id,Iqに基づいて電流制御が行われ、PI(比例積分)制御等を経てインバータへの指令値Vd及びVqが算出され、更に2相/3相変換部でd相及びq相からUVW相に逆変換され、3相の指令値が算出される。   For example, the error HA generated in the U-phase current Iu is included in the d-axis current component Id and the q-axis current component Iq due to the dq-axis conversion in the three-phase / two-phase conversion unit of the feedback system. Therefore, current control is performed based on the current components Id and Iq, and the command values Vd and Vq to the inverter are calculated through PI (proportional integration) control and the like, and the d-phase and q-phase are converted by the 2-phase / 3-phase converter. The phase is inversely converted to the UVW phase, and the command value for the three phases is calculated.

このような制御プロセスにより、当初はU相電流Iuのみに含まれていた誤差要素が、dq軸変換,dq/UVW変換によってインバータの指令値Vu、Vv、Vwに拡散され、U相のみならずV相及びW相の指令値にも非線形要素が含まれてしまう。つまり、モータを3相で駆動しているにも拘わらず、フィードバックの電流制御を2相で演算し、2相で決定された指令値Vd、Vqを形式的に3相指令値に変換して制御することで非線型要素が拡散し、結果として効果的なフィードバックがかからないおそれがある。したがって、前述のような誤差等が発生している場合は、トルクリップルが大きく、モータの駆動騒音が大きくなるという問題がある。このような問題に対して特許文献1では、dq軸座標系にて電流指令値を作成した後、電流フィードバックループは3相系にするという構成を用いている。   By such a control process, the error element that was originally included only in the U-phase current Iu is diffused to the inverter command values Vu, Vv, and Vw by dq axis conversion and dq / UVW conversion. Non-linear elements are also included in the V-phase and W-phase command values. That is, although the motor is driven in three phases, the feedback current control is calculated in two phases, and the command values Vd and Vq determined in the two phases are formally converted into three-phase command values. By controlling, non-linear elements may diffuse, and as a result, effective feedback may not be applied. Therefore, when the above-described error occurs, there is a problem that the torque ripple is large and the driving noise of the motor is increased. With respect to such a problem, Patent Document 1 uses a configuration in which the current feedback loop is made a three-phase system after the current command value is created in the dq axis coordinate system.

特開2004−201487号公報JP 2004-201487 A

3相電流指令に基づいて3相電圧指令を生成する場合、特許文献1に開示があるように一般にPI制御が用いられる。PI制御を高周波数の制御帯域に対応させるには、比例ゲインを大きな値に設定する必要があるが、比例ゲインを大きくするとそれに伴い電流に発生するリップルも大きくなる。例えば家電製品の場合、PWM周波数が数kHz程度であることも多く、電流制御周波数がその数分の1で設定されるとリップルの増大が騒音として認識されることがある。すると、騒音の発生を抑制するため、電流制御周波数をより低く設定せざるを得ず、制御精度が低下してしまう。   When a three-phase voltage command is generated based on a three-phase current command, PI control is generally used as disclosed in Patent Document 1. In order to make PI control correspond to a high frequency control band, it is necessary to set the proportional gain to a large value. However, if the proportional gain is increased, the ripple generated in the current increases accordingly. For example, in the case of home appliances, the PWM frequency is often about several kHz, and when the current control frequency is set to a fraction thereof, an increase in ripple may be recognized as noise. Then, in order to suppress generation | occurrence | production of noise, a current control frequency must be set lower, and control accuracy will fall.

そこで、制御に含まれるばらつきや非線形要素を各相に分離した状態で制御する際に、制御帯域が低い場合でも制御精度を低下させることなく、モータのトルクリップルや騒音を低減できるモータ制御装置及びモータの3相電圧指令生成方法を提供する。   Therefore, when controlling in a state where variations and nonlinear elements included in the control are separated into each phase, a motor control device capable of reducing torque ripple and noise of the motor without reducing control accuracy even when the control band is low, and A method for generating a three-phase voltage command for a motor is provided.

実施形態のモータ制御装置によれば、位置検出部によりロータの回転位置を検出し、電流検出部によりモータの相電流を検出する。dq軸指令値出力部が、制御指令に応じて、ベクトル制御におけるdq軸電流指令値を出力すると、指令値座標変換部は、そのdq軸電流指令値を、ロータの回転位置に基づいて3相座標系の3相電流指令値に変換する。電圧指令生成部は、電流検出部により検出される3相電流との偏差についてPI制御演算を行った結果と、前記偏差について、前記ロータの回転位置に応じて変動する補正値を乗じた結果とを加算して3相電圧指令を生成する。   According to the motor control apparatus of the embodiment, the rotational position of the rotor is detected by the position detection unit, and the phase current of the motor is detected by the current detection unit. When the dq-axis command value output unit outputs the dq-axis current command value in vector control in accordance with the control command, the command value coordinate conversion unit converts the dq-axis current command value into the three-phase based on the rotational position of the rotor. Convert to coordinate system 3-phase current command value. The voltage command generation unit performs a PI control calculation on the deviation from the three-phase current detected by the current detection unit, and a result obtained by multiplying the deviation by a correction value that varies according to the rotational position of the rotor. Are added to generate a three-phase voltage command.

一実施形態を示すもので、モータ制御装置の構成を示す機能ブロック図The functional block diagram which shows one Embodiment and shows the structure of a motor control apparatus 電圧指令生成部の内部構成を1相分のみ示す機能ブロック図Functional block diagram showing the internal configuration of the voltage command generator only for one phase (a)PI制御のみ行った場合の電流指令値相電流Iuとの関係を示す図であり、(b)は本実施形態の場合の(a)相当図(A) It is a figure which shows the relationship with the electric current command value phase current Iu at the time of performing only PI control, (b) is a (a) equivalent figure in the case of this embodiment. 瞬時位相補償ゲインαをモータの回転数に応じて変化させる一例を示す図The figure which shows an example which changes instantaneous phase compensation gain (alpha) according to the rotation speed of a motor

以下、一実施形態について図面を参照しながら説明する。図1は、モータ制御装置の構成を示す機能ブロック図である。例えばブラシレスDCモータである永久磁石同期モータ(以下、単にモータと称す)1には、ロータの回転位置を検出するための位置センサ(例えば、ホールICやロータリエンコーダなど)2が取り付けられている。位置検出部3は、位置センサ2(位置検出部)が出力する位置信号に基づいて電気角θe,回転数ωeを検出し、出力する。   Hereinafter, an embodiment will be described with reference to the drawings. FIG. 1 is a functional block diagram showing the configuration of the motor control device. For example, a permanent magnet synchronous motor (hereinafter simply referred to as a motor) 1 that is a brushless DC motor is provided with a position sensor (for example, a Hall IC or a rotary encoder) 2 for detecting the rotational position of the rotor. The position detector 3 detects and outputs the electrical angle θe and the rotational speed ωe based on the position signal output by the position sensor 2 (position detector).

回転数指令ωref(制御指令)は、上記の制御装置により与えられ、減算器4は、回転数指令ωrefと、位置検出部3より出力される回転数ωeとの減算結果である回転数偏差ωdevをPI制御部5に出力する。尚、減算器4及びPI制御部5は、回転数制御部6(dq軸指令値出力部)を構成している。PI制御部5は、回転数偏差ωdevに対してPI制御演算を行うことでq軸電流指令Iqrefを生成し、2相/3相変換部7(指令値座標変換部)に出力する、また、2相/3相変換部7には、後述する出力電圧飽和補償部8(dq軸指令値出力部)によって生成されるd軸電流指令Idrefが入力される。   The rotational speed command ωref (control command) is given by the control device, and the subtractor 4 has a rotational speed deviation ωdev that is a subtraction result between the rotational speed command ωref and the rotational speed ωe output from the position detector 3. Is output to the PI control unit 5. The subtractor 4 and the PI control unit 5 constitute a rotation speed control unit 6 (dq axis command value output unit). The PI control unit 5 generates a q-axis current command Iqref by performing PI control calculation on the rotational speed deviation ωdev, and outputs the q-axis current command Iqref to the 2-phase / 3-phase conversion unit 7 (command value coordinate conversion unit). A d-axis current command Idref generated by an output voltage saturation compensation unit 8 (dq axis command value output unit) described later is input to the two-phase / three-phase conversion unit 7.

2相/3相変換部7には電気角θeが入力されており、2相/3相変換部7は電気角θeに基づいて、d,q軸電流指令Idref、Iqrefを3相電流指令Iuref,Ivref,Iwrefに変換すると、それらを減算器9u,9v,9wに出力する。また、減算器9u,9v,9wには、後述する3相電流選択部10を介して与えられる3相電流Iu,Iv,Iwが入力されており、減算器9u,9v,9wは、3相電流指令Iuref,Ivref,Iwrefと、3相電流Iu,Iv,Iwとの差Iudev,Ivdev,Iwdevを電圧指令生成部11に出力する。   An electrical angle θe is input to the two-phase / three-phase converter 7, and the two-phase / 3-phase converter 7 converts the d and q-axis current commands Idref and Iqref to the three-phase current command Iuref based on the electrical angle θe. , Ivref, Iwref are output to the subtracters 9u, 9v, 9w. The subtracters 9u, 9v, and 9w are supplied with three-phase currents Iu, Iv, and Iw that are given via a three-phase current selection unit 10 to be described later. Differences Iudev, Ivdev, Iwdev between the current commands Iuref, Ivref, Iwref and the three-phase currents Iu, Iv, Iw are output to the voltage command generator 11.

電圧指令生成部11は、上記電流の差Iudev,Ivdev,Iwdevに基づいて正弦波状の交流電圧を出力するように3相電圧指令Vu,Vv,Vwを生成し、出力電圧飽和補償部8及びPWM波形形成部12に出力する。PWM波形形成部12は、3相電圧指令Vu,Vv,Vwに基づいて3相PWM信号U±,V±,W±を生成し、インバータ回路13(電力変換器)に出力する。インバータ回路13は、例えばIGBTやMOSFET等のスイッチング素子を3相ブリッジ接続して構成されており、各相出力端子は、モータ1の各相巻線に接続されている。   The voltage command generator 11 generates the three-phase voltage commands Vu, Vv, Vw so as to output a sinusoidal AC voltage based on the current differences Iudev, Ivdev, Iwdev, and outputs the output voltage saturation compensator 8 and the PWM. Output to the waveform forming unit 12. The PWM waveform forming unit 12 generates three-phase PWM signals U ±, V ±, W ± based on the three-phase voltage commands Vu, Vv, Vw, and outputs them to the inverter circuit 13 (power converter). The inverter circuit 13 is configured by connecting switching elements such as IGBTs and MOSFETs in a three-phase bridge, and each phase output terminal is connected to each phase winding of the motor 1.

電流検出器14u,14v,14w(電流検出部)は、インバータ回路13の各相出力端子とモータ1の各相巻線との間に介挿されているように図示している。実際の電流検出器14u,14v,14wは、インバータ回路13の下アーム側に挿入されるシャント抵抗であり、図示の都合上電流センサのようなイメージで示している。電流検出器14u,14v,14wにより検出された各相電流Iu,Iv,Iwは、A/D変換部15を介してA/D変換されて3相電流選択部10(制御相選択部)に出力される。   The current detectors 14u, 14v, 14w (current detection units) are illustrated as being interposed between the phase output terminals of the inverter circuit 13 and the phase windings of the motor 1. The actual current detectors 14u, 14v, and 14w are shunt resistors inserted on the lower arm side of the inverter circuit 13, and are shown as an image of a current sensor for convenience of illustration. The phase currents Iu, Iv, and Iw detected by the current detectors 14u, 14v, and 14w are A / D converted via the A / D conversion unit 15 to the three-phase current selection unit 10 (control phase selection unit). Is output.

電流検出器14はシャント抵抗であるため、PWM制御によるインバータ回路13のスイッチングパターンによっては、3相全ての電流が検出できない場合がある。そこで、3相電流選択部10は、電流検出器14により検出できた相の電流だけを減算器9に出力する。また、3相電流選択部10は、3相電流のうち、電流検出器14により直接検出できた2相,又は直接検出できなかった1相が何れであるかを示す信号(相電流制御選択指令)を電圧指令生成部11に出力する。電圧指令生成部11は、前記信号を受けて、電圧指令を、先ず直接検出できた2相の電流に対応するものだけについて演算する。そして、直接検出できなかった1相については、上記2相に対応する電圧指令から演算により間接的に求めるようにする。   Since the current detector 14 is a shunt resistor, the current of all three phases may not be detected depending on the switching pattern of the inverter circuit 13 by PWM control. Therefore, the three-phase current selection unit 10 outputs only the phase current detected by the current detector 14 to the subtractor 9. Further, the three-phase current selection unit 10 is a signal (phase current control selection command) that indicates which of the three-phase currents is two phases that can be directly detected by the current detector 14 or one phase that cannot be directly detected. ) Is output to the voltage command generator 11. The voltage command generator 11 receives the signal and calculates a voltage command for only the one corresponding to the two-phase current that can be directly detected. Then, one phase that cannot be detected directly is obtained indirectly by calculation from the voltage command corresponding to the two phases.

出力電圧飽和補償部8は、インバータ回路13に入力される駆動用の直流電源電圧Vdcのレベルをモニタしている。そして、上記電源電圧Vdcと、電圧指令生成部11より入力される3相電圧指令Vu,Vv,Vwとを比較し、3相電圧指令Vu,Vv,Vwに基づきインバータ回路13が出力する交流電圧振幅が、電源電圧Vdcを超えて波形が歪むことを防止するようにd軸電流指令Idfrefを2相/3相変換部7に出力する。d軸電流指令Idfrefは、交流電圧振幅が歪むおそれがない限りゼロに設定されるが、3相電圧指令値の差電圧である線間電圧振幅がVdcの一定割合に達すると、負の値に設定されて(制御指令)いわゆる進角制御(弱め磁束制御)が行われる。   The output voltage saturation compensation unit 8 monitors the level of the driving DC power supply voltage Vdc input to the inverter circuit 13. The power supply voltage Vdc is compared with the three-phase voltage commands Vu, Vv, and Vw input from the voltage command generator 11, and the AC voltage output from the inverter circuit 13 based on the three-phase voltage commands Vu, Vv, and Vw. The d-axis current command Iffref is output to the two-phase / three-phase converter 7 so as to prevent the amplitude from exceeding the power supply voltage Vdc and distorting the waveform. The d-axis current command Idfref is set to zero unless there is a possibility that the AC voltage amplitude is distorted. However, when the line voltage amplitude, which is the voltage difference between the three-phase voltage command values, reaches a certain ratio of Vdc, it becomes a negative value. When set (control command), so-called advance control (weakening magnetic flux control) is performed.

図2は、電圧指令生成部11の内部構成を1相分のみ示す機能ブロック図である。電圧指令生成部11は、PI演算部21(PI制御部),位相補償部22(位置補正部),加算器23で構成されている。PI演算部21,位相補償部22には、減算器9による電流の減算結果Idevが入力され、PI演算部21では、上記差分Idevに対してPI演算(Kp+Ki/s)を行う。ここで、
Kp:比例ゲイン,Ki:積分ゲイン,s:微分演算子
である。一方、位相補償部22では、上記差分Idevに対して位相補償演算{α・sin(θm)/s}を行う。ここで、
α:瞬時位相補償ゲイン
θm=atan(Idfref/Iqref)+θe+θuvw …(1)
である。尚、θuvwは3相電流間の120度の位相差を付与するもので、U相を基準(0度)とするとV相の場合は−120度、W相の場合は−240度に設定される。そして、加算器23は、PI演算部21,位相補償部22の演算結果を加算することで電圧指令V(u,v,w)を出力する。
FIG. 2 is a functional block diagram showing the internal configuration of the voltage command generator 11 for only one phase. The voltage command generation unit 11 includes a PI calculation unit 21 (PI control unit), a phase compensation unit 22 (position correction unit), and an adder 23. The PI calculation unit 21 and the phase compensation unit 22 receive the current subtraction result Idev from the subtractor 9, and the PI calculation unit 21 performs the PI calculation (Kp + Ki / s) on the difference Idev. here,
Kp: proportional gain, Ki: integral gain, s: differential operator. On the other hand, the phase compensation unit 22 performs a phase compensation calculation {α · sin (θm) / s} on the difference Idev. here,
α: instantaneous phase compensation gain θm = atan (Idfref / Iqref) + θe + θuvw (1)
It is. Θuvw gives a phase difference of 120 degrees between the three-phase currents. If the U phase is the reference (0 degree), it is set to -120 degrees for the V phase and -240 degrees for the W phase. The The adder 23 outputs the voltage command V (u, v, w) by adding the calculation results of the PI calculation unit 21 and the phase compensation unit 22.

すなわち、電圧指令生成部11より出力される電圧指令V(u,v,w)は、次式により表わされる。
V(u,v,w)=Idev・(Kp+Ki/s)
+Idev・{α・sin(θm)/s} …(2)
以上の構成において、インバータ回路13を除く構成部分は、MCU(Micro Control Unit)が実行するソフトウェア処理により実現されている。MCUは、その他、入出力ポート、シリアル通信回路、上述したPWM制御を行うためのタイマなどを備えている。
That is, the voltage command V (u, v, w) output from the voltage command generation unit 11 is expressed by the following equation.
V (u, v, w) = Idev. (Kp + Ki / s)
+ Idev · {α · sin (θm) / s} (2)
In the above configuration, the components other than the inverter circuit 13 are realized by software processing executed by an MCU (Micro Control Unit). In addition, the MCU includes an input / output port, a serial communication circuit, a timer for performing the above-described PWM control, and the like.

次に、本実施形態の作用について図3を参照して説明する。電流指令値について2相/3相変換を行うことによる作用については、特許文献1と同様であり、電圧指令生成部11の作用を中心に説明する。電圧指令生成部11では、図2及び(2)式で示すように、PI演算部21の演算結果に対して、位相補償部22による位相,ロータの回転位置θeに応じた電圧指令をフィードフォワード的に重畳している。つまり、フィードフォワード制御により位相θeに対する応答の大部分を補償した上で、補償しきれない僅かな制御量をPI制御で埋めるような作用となる。この位相補償部22の効果について、従来のPI制御のみの場合と比較し説明する。   Next, the operation of the present embodiment will be described with reference to FIG. The action of performing the two-phase / three-phase conversion on the current command value is the same as that of Patent Document 1, and the action of the voltage command generator 11 will be mainly described. 2 and (2), the voltage command generator 11 feeds forward a voltage command corresponding to the phase of the phase compensator 22 and the rotational position θe of the rotor to the calculation result of the PI calculator 21. Are superimposed. In other words, after compensating most of the response to the phase θe by the feedforward control, a slight control amount that cannot be compensated for is filled with the PI control. The effect of the phase compensation unit 22 will be described in comparison with the conventional PI control only.

PI制御の場合、その比例ゲインKp、積分ゲインKiの値や、制御ループのサンプリング周波数(電流制御周波数)によって制御対象の制御帯域が決定される。このため、例えばモータを高速で回転させる際に、制御帯域が電流指令値に対し充分でない場合が考えられる。図3(a)は、ある周波数についてPI制御のみ行った場合のU相電流指令値Iuref(実線)とU相電流Iu(破線)との関係を示している。正弦波状に変化する指令値Iurefに対して実際の電流Iuが追従できず、遅れが生じている。   In the case of PI control, the control band to be controlled is determined by the values of the proportional gain Kp and the integral gain Ki and the sampling frequency (current control frequency) of the control loop. For this reason, for example, when the motor is rotated at a high speed, the control band may not be sufficient for the current command value. FIG. 3A shows the relationship between the U-phase current command value Iuref (solid line) and the U-phase current Iu (broken line) when only PI control is performed for a certain frequency. The actual current Iu cannot follow the command value Iuref that changes in a sine wave shape, resulting in a delay.

ベクトル制御におけるdq軸の電流制御では、電流指令が直流値であるため、過渡状態を除けばモータを高速で回転させる場合でも問題が発生し難いが、3相電流制御をPI制御のみで行うと、制御帯域によってはこのような制御遅れが発生する。そこで、位相補償部22は、ロータの回転位置θeに応じた相電流指令値Iurefの変化に対して、位置θeに応じた出力を、(2)式右辺第2項で、位相θeに応じたsin(θm)(補正値)に比例して加えることで補償している。   In dq axis current control in vector control, since the current command is a direct current value, it is difficult to cause a problem even when the motor is rotated at high speed except in a transient state. However, if three-phase current control is performed only by PI control, Depending on the control band, such a control delay occurs. Therefore, the phase compensator 22 responds to the change of the phase current command value Iuref according to the rotational position θe of the rotor with the output corresponding to the position θe according to the phase θe in the second term on the right side of the equation (2). Compensation is made by adding in proportion to sin (θm) (correction value).

また、位相θeは、d軸電流Idが負方向に増大している弱め磁束制御時などは進む傾向にあるため、(1)式の右辺第1項で補償している。このように位相θeに応じた変化を出力にフィードフォワード的に与えることで、制御帯域よりも高い周波数の応答を可能としている(図3(b)参照)。例えば、図3(a)に示すA点において、位相補償が無い場合、フィードバックの遅れのため電流を+側に増加させるようPI制御出力が演算されてしまうが、位相補償部22による制御結果として{α・sin(θm)/s}項の出力は電流を−側に増加させるように出力される。この結果、相電圧指令値Vuは、遅延が発生しない方向に補正される。   The phase θe is compensated by the first term on the right side of the equation (1) because the phase θe tends to advance during the flux weakening control in which the d-axis current Id increases in the negative direction. Thus, by giving a change according to the phase θe to the output in a feed-forward manner, a response with a frequency higher than the control band is enabled (see FIG. 3B). For example, if there is no phase compensation at point A shown in FIG. 3A, the PI control output is calculated to increase the current to the + side due to feedback delay, but as a control result by the phase compensation unit 22 The output of the term {α · sin (θm) / s} is output so as to increase the current to the − side. As a result, the phase voltage command value Vu is corrected in a direction in which no delay occurs.

また、(2)式における瞬時位相補償ゲインα(補償係数)は、モータ1の回転数ωeに応じて変化させるようにする。これは、回転数ωeが低い場合は電気角θeに応じた電流指令値Irefの変化が小さいため、PI制御のみでも応答性に問題ないことが多い。しかし、回転数ωeが上昇すると、それに従い応答性が低下するため、図4に一例を示すように瞬時位相補償ゲインαを増加させることで、位相補償項の寄与を効果的に増加させる。この場合、回転数ωeに応じて変化させる瞬時位相補償ゲインαを関数で与えたり、データテーブルとしてメモリに保持しておくなどすれば良い。   Further, the instantaneous phase compensation gain α (compensation coefficient) in the equation (2) is changed according to the rotational speed ωe of the motor 1. This is because when the rotational speed ωe is low, the change in the current command value Iref according to the electrical angle θe is small, so that there is often no problem in the response even with the PI control alone. However, as the rotational speed ωe increases, the response decreases accordingly. Therefore, as shown in an example in FIG. 4, the instantaneous phase compensation gain α is increased to effectively increase the contribution of the phase compensation term. In this case, the instantaneous phase compensation gain α that is changed according to the rotational speed ωe may be given as a function, or may be stored in a memory as a data table.

尚、ここまでの説明は、モータ1の電流指令値Irefに、主に回転周波数の1次成分を反映させれば制御が良好になることを前提としている。しかし、モータによっては、誘起電圧やインダクタンスに高次の高調波成分が重畳されるものもあり、このような場合、さらに高い周波数(例えば、5次や7次など)に対する応答が求められる。例えば5次成分が顕著に表れる場合は、(2)式第2項の{α・sin(θm)/s}を、
{α・sin(5・θm)/s}としたものを、位相補償部22の機能ブロックとして並列に追加する。すなわち、(2)式に替えて(3)式を用いる。
V(u,v,w)=Idev・(Kp+Ki/s)
+Idev・{α・sin(θm)/s}
+Idev・{α・sin(5・θm)/s}…(3)
つまり、高次高調波の位相補償も並列して実行する。
The description so far is based on the premise that the control will be good if the primary component of the rotation frequency is mainly reflected in the current command value Iref of the motor 1. However, some motors have high-order harmonic components superimposed on the induced voltage or inductance. In such a case, a response to a higher frequency (for example, the fifth or seventh order) is required. For example, when a quintic component appears remarkably, {α · sin (θm) / s} in the second term of equation (2) is
The component {α · sin (5 · θm) / s} is added in parallel as a functional block of the phase compensation unit 22. That is, equation (3) is used instead of equation (2).
V (u, v, w) = Idev. (Kp + Ki / s)
+ Idev · {α · sin (θm) / s}
+ Idev · {α · sin (5 · θm) / s} (3)
That is, phase compensation for higher harmonics is also performed in parallel.

次に、3相電流選択部10の作用について説明する。一般に3相のモータ制御においては、dq軸のベクトル制御であっても、3相電流制御であっても3相の電流検出値が必要である。しかし、電流検出器のコストや検出アルゴリズムの制約から2相のみしか検出できない場合がるため、残りの1相は3相電流値の合計がゼロであることから演算にて求めることになる。
すると、上記の演算により誤差が拡大する可能性がある。例えば、実際の電流値が
Iu=10A,Iv=−5A,Iw=−5Aであり、いまU相,V相が検出できるが、1Aの誤差が乗っていることから、Iu=11A,Iv=−4Aで検出したとする。この場合、W相電流Iwを演算で求めると、Iw=−7Aとなるため、検出できた他の2相に比べて誤差が2倍に増加する。
Next, the operation of the three-phase current selection unit 10 will be described. In general, in three-phase motor control, a three-phase current detection value is required regardless of dq-axis vector control or three-phase current control. However, because only two phases can be detected due to current detector cost and detection algorithm limitations, the remaining one phase is obtained by calculation because the sum of the three-phase current values is zero.
Then, there is a possibility that the error is enlarged by the above calculation. For example, the actual current values are Iu = 10A, Iv = −5A, Iw = −5A, and now the U phase and V phase can be detected, but since an error of 1A is present, Iu = 11A, Iv = Suppose that it is detected at -4A. In this case, when the W-phase current Iw is obtained by calculation, Iw = −7 A, and thus the error is doubled compared to the other two phases that can be detected.

このような事態を回避するため、3相電流選択部10は、電圧指令生成部11において、電圧指令を直接生成するために使用する相電流を、電流検出器14(u,v,w)で実際に検出できた2相を指定する信号を出力する。上記の例では、U相とV相のみについて図2に示す機能ブロックにより演算を行う。その結果、得られるのはU相とV相の電圧指令Vu,Vvのみであるが、残ったW相の電圧指令Vwについては、電圧指令Vu,Vvとの合計がゼロであることから演算により求める。このように、実際に検出されている相電流のみを用いることで、電流検出器14の誤差の影響が他の相へ拡大することが防止される。   In order to avoid such a situation, the three-phase current selection unit 10 uses the current detector 14 (u, v, w) to generate the phase current used to directly generate the voltage command in the voltage command generation unit 11. Outputs signals that specify the two phases that were actually detected. In the above example, only the U phase and the V phase are calculated using the functional blocks shown in FIG. As a result, only the U-phase and V-phase voltage commands Vu and Vv are obtained, but the remaining W-phase voltage commands Vw are calculated by calculation because the sum of the voltage commands Vu and Vv is zero. Ask. Thus, by using only the phase current that is actually detected, the influence of the error of the current detector 14 is prevented from expanding to other phases.

以上のように本実施形態によれば、モータ制御装置は、位置検出部3によりロータの回転位置θeを検出し、電流検出器14によりモータ1の相電流Iu,Iv,Iwを検出する。回転数制御部6,出力電圧飽和補償部8が、回転数指令ωrefや出力電圧の飽和を回避するための制御指令に応じて、ベクトル制御におけるd,q軸電流指令値Idref,Iqrefを出力すると、2相/3相変換部7は、dq軸電流指令値を、ロータの回転位置θeに基づいて3相座標系の3相電流指令値Iuref,Ivref,Iwrefに変換する。   As described above, according to the present embodiment, the motor control device detects the rotational position θe of the rotor by the position detector 3 and detects the phase currents Iu, Iv, Iw of the motor 1 by the current detector 14. When the rotation speed control unit 6 and the output voltage saturation compensation unit 8 output the d and q-axis current command values Idref and Iqref in the vector control according to the rotation speed command ωref and the control command for avoiding the saturation of the output voltage. The two-phase / three-phase conversion unit 7 converts the dq-axis current command value into the three-phase current command values Iuref, Ivref, and Iwref in the three-phase coordinate system based on the rotational position θe of the rotor.

そして、電圧指令生成部11は、電流検出器14により検出される3相電流との偏差IdevについてPI制御演算を行った結果と、偏差Idevについて、ロータの回転位置θeに応じて変動する補正値sin(θm)を乗じた結果とを加算して3相電圧指令Vu,Vv,Vwを生成する。これにより、制御帯域が低い制御系においても、電流制御の追従性が良く、トルクリップル及び騒音の少ないモータ駆動制御を実現することができる。
また、位相補償部22は、演算において補正値sin(θm)の重みを決定するための瞬時位相補償ゲインαを使用し、そのゲインαを、モータ1の回転数ωeと同期して変化させるようにした。したがって、回転数ωeが上昇することに従い制御応答性が低下することを防止し、位相補償項の寄与を効果的に増加させることができる。
Then, the voltage command generator 11 performs the PI control calculation on the deviation Idev from the three-phase current detected by the current detector 14, and the correction value that fluctuates according to the rotational position θe of the rotor with respect to the deviation Idev. A three-phase voltage command Vu, Vv, Vw is generated by adding the result obtained by multiplying by sin (θm). As a result, even in a control system with a low control band, it is possible to realize motor drive control with good current control followability and less torque ripple and noise.
The phase compensation unit 22 uses an instantaneous phase compensation gain α for determining the weight of the correction value sin (θm) in the calculation, and changes the gain α in synchronization with the rotational speed ωe of the motor 1. I made it. Therefore, it is possible to prevent the control responsiveness from decreasing as the rotational speed ωe increases, and to effectively increase the contribution of the phase compensation term.

また、3相電流選択部10は、3相電流のうち、電流検出器14により検出できた相の電流について電圧指令を生成させ、電流検出器14により検出できなかった相の電圧指令については、生成させた電圧指令に基づき演算により生成させるので、電流検出器14の誤差の影響が他の相へ拡大することを防止できる。この場合、3相電流選択部10は、PWM制御による所定の通電パターンに従って電流の検出相が変化する際に、電流検出器14により検出された2相について電圧指令を生成させるので、電流検出器14として3シャント方式の抵抗を用いる場合の誤差を低減できる。   The three-phase current selection unit 10 generates a voltage command for the phase current that can be detected by the current detector 14 out of the three-phase current, and for the voltage command for the phase that cannot be detected by the current detector 14, Since it is generated by calculation based on the generated voltage command, the influence of the error of the current detector 14 can be prevented from expanding to other phases. In this case, the three-phase current selection unit 10 generates a voltage command for the two phases detected by the current detector 14 when the current detection phase changes according to a predetermined energization pattern by PWM control. 14 can reduce an error when using a three-shunt type resistor.

本発明のいくつかの実施形態を説明したが、これらの実施形態は例として提示したものであり、発明の範囲を限定することは意図していない。これらの新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。
瞬時位相補償ゲインαを、図4とは異なるパターンで変化させても良い。また、瞬時位相補償ゲインαを、ロータの回転位置と同期して変化させたり、或いは回転数と前記回転位置との双方の変化に応じて変化させても良い。
Although several embodiments of the present invention have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
The instantaneous phase compensation gain α may be changed in a pattern different from that in FIG. The instantaneous phase compensation gain α may be changed in synchronization with the rotational position of the rotor, or may be changed in accordance with changes in both the rotational speed and the rotational position.

また、瞬時位相補償ゲインαを、一定の値にしても良い。この場合、電圧指令生成部11に推定回転数ωeを入力する必要はない。
インバータ回路の下アーム側に各相のシャント抵抗を挿入することに替えて、インバータ回路の直流部にシャント抵抗を1つだけ挿入しても良い。但しこの場合、1PWM周期内で2相の電流が検出可能となるように、3相PWMパルスの位相を調整する。
また、例えばCTのような電流センサを使用する場合は、2相にのみ配置すれば良い。
更に、電流センサを3相全てに配置する場合には、3相電流選択部10は不要である。
出力電圧飽和補償部8は、必要に応じて設ければ良い。出力電圧飽和補償部8が不要である場合、d軸電流指令Idrefについては、例えばモータの回転数指令に応じて、低/中回転数領域ではゼロとし、高回転数領域では負の値に設定するように、切り替える構成を配置すれば良い。
位置検出部は、位置センサを使用するものに限らず、例えばモータの誘起電圧を検出して回転位置を推定するものでも良い。すなわち、位置センサレス制御を行う制御装置に適用しても良い。
Further, the instantaneous phase compensation gain α may be a constant value. In this case, it is not necessary to input the estimated rotational speed ωe to the voltage command generator 11.
Instead of inserting a shunt resistor for each phase on the lower arm side of the inverter circuit, only one shunt resistor may be inserted in the DC part of the inverter circuit. However, in this case, the phase of the three-phase PWM pulse is adjusted so that a two-phase current can be detected within one PWM cycle.
For example, when a current sensor such as CT is used, it may be arranged in only two phases.
Furthermore, when the current sensors are arranged in all three phases, the three-phase current selection unit 10 is not necessary.
The output voltage saturation compensation unit 8 may be provided as necessary. When the output voltage saturation compensator 8 is not required, the d-axis current command Idref is set to zero in the low / medium rpm region and set to a negative value in the high rpm region, for example, according to the motor rpm command. In such a case, a configuration for switching may be arranged.
The position detection unit is not limited to the one using the position sensor, and may be one that estimates the rotational position by detecting the induced voltage of the motor, for example. That is, you may apply to the control apparatus which performs position sensorless control.

図面中、1はモータ、2は位置センサ(位置検出部)、3は位置検出部、6は回転数制御部(dq軸指令値出力部)、7は2相/3相変換部(指令値座標変換部)、8は出力電圧飽和補償部(dq軸指令値出力部)、10は3相電流選択部(制御相選択部)、11は電圧指令生成部、13はインバータ回路(電力変換器)、14は電流検出器(電流検出部)、21はPI演算部(PI制御部)、22は位相補償部(位置補正部)を示す。   In the drawings, 1 is a motor, 2 is a position sensor (position detection unit), 3 is a position detection unit, 6 is a rotation speed control unit (dq axis command value output unit), and 7 is a 2-phase / 3-phase conversion unit (command value). Coordinate conversion unit), 8 an output voltage saturation compensation unit (dq axis command value output unit), 10 a three-phase current selection unit (control phase selection unit), 11 a voltage command generation unit, and 13 an inverter circuit (power converter) , 14 indicates a current detector (current detection unit), 21 indicates a PI calculation unit (PI control unit), and 22 indicates a phase compensation unit (position correction unit).

Claims (5)

ブリッジ接続された複数のスイッチング素子を所定の通電パターンに従ってオン、オフ制御することにより直流を3相交流に変換し、前記3相交流をモータの巻線に出力する電力変換器と、
前記モータのロータ回転位置を検出する位置検出部と、
前記モータの相電流を検出する電流検出部と、
制御指令に応じて、ベクトル制御におけるdq軸電流指令値を出力するdq軸指令値出力部と、
前記dq軸電流指令値を、前記ロータの回転位置に基づいて3相座標系の3相電流指令値に変換する指令値座標変換部と、
前記3相電流指令値と、前記電流検出部により検出される3相電流との偏差に応じて、前記電力変換器に出力する3相電圧指令を生成する電圧指令生成部とを備え、
前記電圧指令生成部は、
前記偏差についてPI制御演算を行うPI制御部と、
前記偏差について、前記ロータの回転位置に応じて変動する補正値を乗じる位置補正部とを有し、
前記PI制御部の演算結果と、前記位置補正部の演算結果とを加算して前記3相電圧指令を生成することを特徴とするモータ制御装置。
A power converter that converts a direct current into a three-phase alternating current by controlling on and off of a plurality of bridge-connected switching elements according to a predetermined energization pattern, and outputs the three-phase alternating current to a motor winding;
A position detector for detecting a rotor rotational position of the motor;
A current detector for detecting a phase current of the motor;
A dq axis command value output unit that outputs a dq axis current command value in vector control in accordance with the control command;
A command value coordinate conversion unit that converts the dq-axis current command value into a three-phase current command value in a three-phase coordinate system based on the rotational position of the rotor;
A voltage command generator that generates a three-phase voltage command to be output to the power converter according to a deviation between the three-phase current command value and the three-phase current detected by the current detector;
The voltage command generator is
A PI control unit that performs a PI control calculation on the deviation;
A position correction unit that multiplies a correction value that varies according to the rotational position of the rotor with respect to the deviation;
The motor control device, wherein the calculation result of the PI control unit and the calculation result of the position correction unit are added to generate the three-phase voltage command.
前記位置補正部は、前記補正値を算出する演算において、当該補正値の重みを決定するための補償係数を使用し、前記補償係数を、前記モータの回転数及び/又は前記ロータの回転位置と同期して変化させることを特徴とする請求項1記載のモータ制御装置。   In the calculation for calculating the correction value, the position correction unit uses a compensation coefficient for determining the weight of the correction value, and uses the compensation coefficient as the rotational speed of the motor and / or the rotational position of the rotor. 2. The motor control device according to claim 1, wherein the motor control device is changed synchronously. 前記電圧指令生成部に対し、前記3相電流のうち、前記電流検出部により検出できた相の電流について前記電圧指令を生成させ、
前記電流検出部により検出できなかった相の電圧指令については、前記生成させた電圧指令に基づき演算により生成させる制御相選択部を備えることを特徴とする請求項1又は2記載のモータ制御装置。
The voltage command generation unit is configured to generate the voltage command for the phase current detected by the current detection unit among the three-phase currents,
3. The motor control device according to claim 1, further comprising a control phase selection unit that generates a voltage command of a phase that cannot be detected by the current detection unit based on the generated voltage command.
前記制御相選択部は、前記所定の通電パターンに従って検出相が変化する際に、前記電流検出部により検出された2相について前記電圧指令を生成させることを特徴とする請求項3記載のモータ制御装置。   The motor control according to claim 3, wherein the control phase selection unit generates the voltage command for the two phases detected by the current detection unit when the detection phase changes according to the predetermined energization pattern. apparatus. ブリッジ接続された複数のスイッチング素子を所定の通電パターンに従ってオン、オフ制御することにより直流を3相交流に変換し、前記3相交流をモータの巻線に出力するモータ制御に使用するもので、
前記モータのロータ回転位置を検出すると共に、前記モータの相電流を検出し、
制御指令に応じて、ベクトル制御におけるdq軸電流指令値を出力し、
前記dq軸電流指令値を、前記ロータの回転位置に基づいて3相座標系の3相電流指令値に変換し、
前記3相電流指令値と検出された3相電流との偏差についてPI制御演算を行った結果と、前記偏差について前記ロータの回転位置に応じて変動する補正値を乗じた結果とを加算して前記3相交流を出力するための3相電圧指令を生成することを特徴とするモータの3相電圧指令生成方法。
By switching on and off a plurality of switching elements connected in a bridge according to a predetermined energization pattern, the direct current is converted into a three-phase alternating current and used for motor control to output the three-phase alternating current to a motor winding.
Detecting the rotor rotational position of the motor and detecting the phase current of the motor;
According to the control command, the dq axis current command value in vector control is output,
Converting the dq-axis current command value into a three-phase current command value in a three-phase coordinate system based on the rotational position of the rotor;
The result obtained by performing the PI control calculation on the deviation between the three-phase current command value and the detected three-phase current is added to the result obtained by multiplying the deviation by a correction value that varies according to the rotational position of the rotor. A three-phase voltage command generation method for a motor, which generates a three-phase voltage command for outputting the three-phase alternating current.
JP2012035025A 2012-02-21 2012-02-21 Motor controller and three-phase voltage command generating method of motor Pending JP2013172550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012035025A JP2013172550A (en) 2012-02-21 2012-02-21 Motor controller and three-phase voltage command generating method of motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012035025A JP2013172550A (en) 2012-02-21 2012-02-21 Motor controller and three-phase voltage command generating method of motor

Publications (1)

Publication Number Publication Date
JP2013172550A true JP2013172550A (en) 2013-09-02

Family

ID=49266164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012035025A Pending JP2013172550A (en) 2012-02-21 2012-02-21 Motor controller and three-phase voltage command generating method of motor

Country Status (1)

Country Link
JP (1) JP2013172550A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015142418A (en) * 2014-01-28 2015-08-03 株式会社東芝 Switching controller and control method of drive circuit
JPWO2018062096A1 (en) * 2016-09-30 2019-09-26 日本電産トーソク株式会社 Control device, control method, motor, and electric oil pump
CN110995099A (en) * 2019-12-25 2020-04-10 浙江吉智新能源汽车科技有限公司 Motor heating control method, controller and system based on look-up table and closed-loop control

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015142418A (en) * 2014-01-28 2015-08-03 株式会社東芝 Switching controller and control method of drive circuit
JPWO2018062096A1 (en) * 2016-09-30 2019-09-26 日本電産トーソク株式会社 Control device, control method, motor, and electric oil pump
US11378070B2 (en) 2016-09-30 2022-07-05 Nidec Tosok Corporation Control device, control method, motor, and electric oil pump
JP7463635B2 (en) 2016-09-30 2024-04-09 ニデックパワートレインシステムズ株式会社 Control device, control method, motor, and electric oil pump
CN110995099A (en) * 2019-12-25 2020-04-10 浙江吉智新能源汽车科技有限公司 Motor heating control method, controller and system based on look-up table and closed-loop control
CN110995099B (en) * 2019-12-25 2021-04-27 浙江吉智新能源汽车科技有限公司 Motor heating control method, controller and system based on look-up table and closed-loop control

Similar Documents

Publication Publication Date Title
JP4988329B2 (en) Beatless control device for permanent magnet motor
US9112436B2 (en) System for controlling controlled variable of rotary machine
JP6617500B2 (en) Electric power steering control method, electric power steering control device, electric power steering device and vehicle
JP3722048B2 (en) Motor control device
US20150333681A1 (en) Apparatus for controlling controlled variable of rotary machine to command value
WO2008047438A1 (en) Vector controller of permanent magnet synchronous motor
JP2013212002A (en) Motor controller
JP2010246260A (en) Motor control device and method
JP5351390B2 (en) Power converter
JP5888074B2 (en) Power converter
JP5473289B2 (en) Control device and control method for permanent magnet type synchronous motor
JP2013172550A (en) Motor controller and three-phase voltage command generating method of motor
JP2013150498A (en) Controller and control method of synchronous motor
JP5412772B2 (en) Rotating machine control device
JP6682313B2 (en) Motor control device
JP7251424B2 (en) INVERTER DEVICE AND INVERTER DEVICE CONTROL METHOD
CN112425054B (en) Inverter-based device and control method thereof
JP2018125955A (en) Motor controller
JP2010252523A (en) Control apparatus and control method for ac motor
JP2020089203A (en) Motor drive device
JP6544204B2 (en) Motor control device
JP2020031469A (en) Motor drive control device
CN110785923A (en) Motor control device and motor control method
JP5862691B2 (en) Control device for motor drive device and motor drive system
JP2010063336A (en) Controller for rotary machine