JP7212243B2 - Rotating machine control device and control method - Google Patents

Rotating machine control device and control method Download PDF

Info

Publication number
JP7212243B2
JP7212243B2 JP2018159842A JP2018159842A JP7212243B2 JP 7212243 B2 JP7212243 B2 JP 7212243B2 JP 2018159842 A JP2018159842 A JP 2018159842A JP 2018159842 A JP2018159842 A JP 2018159842A JP 7212243 B2 JP7212243 B2 JP 7212243B2
Authority
JP
Japan
Prior art keywords
current
voltage command
command value
value
control cycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018159842A
Other languages
Japanese (ja)
Other versions
JP2020036422A (en
Inventor
優司 小川
伸昌 後
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sinfonia Technology Co Ltd
Original Assignee
Sinfonia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sinfonia Technology Co Ltd filed Critical Sinfonia Technology Co Ltd
Priority to JP2018159842A priority Critical patent/JP7212243B2/en
Publication of JP2020036422A publication Critical patent/JP2020036422A/en
Application granted granted Critical
Publication of JP7212243B2 publication Critical patent/JP7212243B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Ac Motors In General (AREA)

Description

本発明は、回転機のモデル予測制御を行うにあたり、指令値の更新に即応することで無駄時間の発生を回避した、回転機の制御装置及び制御方法に関するものである。 TECHNICAL FIELD The present invention relates to a control apparatus and control method for a rotating machine that avoids the occurrence of wasted time by immediately responding to update of command values when performing model predictive control of the rotating machine.

一般的に3相回転機の制御装置としては、PI補償器を用いた三角波比較PWM制御(以後、PI制御という)を行うものが提案され実用化されている。このPI制御では、現在の電流値と指令値に対する差分から電圧指令を算出し、差分が0になるように比例積分制御を行うが、制御の応答遅れ(制御周期のムダ時間)により、3相回転機の電流応答性が悪化するという問題がある。制御の応答遅れとして、現在の電流値と指令値の差分から電圧指令を算出するまでの遅れや電圧指令に基づいた操作量(出力電圧)により、変化する電流値を検出するまでの遅れなどが考えられる。 Generally, as a control device for a three-phase rotating machine, one that performs triangular wave comparison PWM control (hereinafter referred to as PI control) using a PI compensator has been proposed and put into practical use. In this PI control, the voltage command is calculated from the difference between the current current value and the command value, and proportional integral control is performed so that the difference becomes 0. There is a problem that the current responsiveness of the rotating machine is deteriorated. Control response delays include the delay before the voltage command is calculated from the difference between the current current value and the command value, and the delay until the current value that changes due to the manipulated variable (output voltage) based on the voltage command is detected. Conceivable.

こうした問題を解決するために、モデル予測制御を採用することが有効とされている。
モデル予測制御は、一般的に、制御対象を模したモデルを策定し、このモデルにおける予測値と制御対象の制御量との関係を利用して、操作量を決定するものである。例えば、回転機の特性を模した数学モデルを策定し、この数学モデルにおける電圧と電流の関係を利用して予測した電流値が、電流指令に近くなるように操作量を決定するもので、PI制御に比べて、制御の応答性において 改善を期待することができる。
Adopting model predictive control is effective in solving these problems.
In model predictive control, a model that imitates a controlled object is generally developed, and the relationship between the predicted value in this model and the controlled variable of the controlled object is used to determine the manipulated variable. For example, a mathematical model that simulates the characteristics of a rotating machine is formulated, and the operation amount is determined so that the current value predicted using the relationship between voltage and current in this mathematical model is close to the current command. Improvement can be expected in control responsiveness compared to control.

特許文献1、2は、モデル予測制御の一例を示している。特許文献1は、空間ベクトルを用いた電圧ベクトル制御において、インバータの操作量をさまざまに設定した場合に3相回転機を流れる電流を予測し、この電流予測値と電流指令値との偏差が最小となる操作量を決定するものである。このモデル予測制御は操作量を決定する際に電流予測値を用いることにより、上記PI制御のムダ時間のうち、電圧指令に基づいた操作量により、変化する電流値を検出するまでの遅れを削減することができる。 Patent Documents 1 and 2 show an example of model predictive control. In patent document 1, in voltage vector control using space vectors, the current flowing through a three-phase rotating machine is predicted when the operation amount of the inverter is set variously, and the deviation between the predicted current value and the current command value is minimized. It determines the amount of operation that becomes This model predictive control uses the current predicted value when determining the manipulated variable, thereby reducing the delay until the current value that changes due to the manipulated variable based on the voltage command is detected, out of the waste time of the PI control. can do.

また、特許文献2は、特許文献1のデメリットとして演算負荷が大きいことを問題点として上げ、独自に設定する座標系を用いて、電圧ベクトルをゼロベクトルまたは非電圧ベクトルに分けることで演算負荷を低減している。 In addition, Patent Document 2 raises the problem that the calculation load is large as a disadvantage of Patent Document 1, and divides the voltage vector into a zero vector or a non-voltage vector using a uniquely set coordinate system, thereby reducing the calculation load. is decreasing.

特許第4748245号公報Japanese Patent No. 4748245 特許第5637155号公報Japanese Patent No. 5637155

従来のモデル予測制御は、制御周期毎に電流指令の更新を行っているため、ある制御周期から次の制御周期の間で電流指令の変更が要求された場合、電流応答が低下するという課題がある。具体的には、このような状態で電流指令の変更が要求された場合、変更が要求された制御周期での電流制御に用いる電流指令値は、変更前の指令値を用いており次の制御周期で電流指令値が更新される。そのため、変更が要求された制御周期では、変更後の電流指令値が、電流制御に用いられずムダ時間が生じ電流応答が低下する。 In conventional model predictive control, the current command is updated every control cycle, so if a change in the current command is requested between one control cycle and the next, the problem is that the current response drops. be. Specifically, when a change of the current command is requested in such a state, the current command value used for current control in the control cycle for which the change is requested is the command value before the change, and the next control is performed. The current command value is updated periodically. Therefore, in the control period in which a change is requested, the current command value after change is not used for current control, resulting in wasted time and reduced current response.

本発明は、以上のような課題に着眼してなされたものであって、電流制御のムダ時間を削減して、これによりモデル予測制御の本来の効果を実効あるものにした、新たな制御装置および制御方法を実現することを目的としている。 The present invention has been made in view of the above problems, and is a new control device that reduces the waste time of current control and thereby makes the original effect of model predictive control effective. and control method.

本発明は、かかる目的を達成するために、次のような手段を講じたものである。 In order to achieve this object, the present invention takes the following means.

すなわち、本発明に係る回転機の制御装置は、回転機を制御するための電流指令値の入力を受けて当該回転機に接続されたインバータに電圧指令値を出力するにあたり、制御周期ごとに、前記回転機から検出される電流値と前記インバータに出力している現在の電圧指令値とに基づいて次の制御周期で回転機を流れる電流値を予測する電流予測部と、少なくともこの電流予測部が予測する電流予測値と前記電流指令値とに基づいて前記インバータに出力する次の制御周期での電圧指令値を演算して出力する第1電圧指令生成部とを備えたものにおいて、ある制御周期から次の制御周期の間において前記電流指令値の変更が要求された場合に、変更の要求時に、少なくとも前記電流予測部が予測した電流予測値と変更後の電流指令値とに基づいて前記インバータに出力する次の制御周期での電圧指令値を再度演算する第2電圧指令生成部を更に備え、前記電流指令値の変更が要求された場合には、電圧指令値として、前記第2電圧指令生成部で再度演算された電圧指令値を選択することを特徴とする。
That is, the controller for a rotating machine according to the present invention receives an input of a current command value for controlling the rotating machine and outputs a voltage command value to an inverter connected to the rotating machine. a current prediction unit for predicting the value of current flowing through the rotating machine in the next control cycle based on the current value detected from the rotating machine and the current voltage command value output to the inverter; and at least the current predicting unit a first voltage command generator that calculates and outputs a voltage command value in the next control cycle to be output to the inverter based on the predicted current value and the current command value predicted by a control When a change in the current command value is requested between one control cycle and the next control cycle, at the time of the change request, at least the current prediction value predicted by the current prediction unit and the changed current command value are used as the basis for the current command value. It further comprises a second voltage command generator for calculating again the voltage command value in the next control cycle to be output to the inverter, and when a change in the current command value is requested, the second voltage command value is generated as the voltage command value. It is characterized by selecting the voltage command value calculated again by the command generation unit .

このように構成すれば、電流指令の変更が要求された際には変更の要求時に、変更された電流指令値に到達するために必要な電圧指令値が再計算される。このため、電流指令の変更が要求されてから電流指令の更新がされるまでの処理時間が削減でき、電流応答が改善される。 With this configuration, when a change of the current command is requested, the voltage command value required to reach the changed current command value is recalculated at the time of the change request. Therefore, it is possible to reduce the processing time from when the change of the current command is requested until when the current command is updated, and the current response is improved.

本発明に係る回転機の制御装置において、前記第2電圧指令生成部における電流制御の制御周期は、前記第1電圧指令生成部における電流制御の制御周期よりも長く設定されることを特徴とする。
前記第2電圧指令生成部における電圧指令値の演算は、前記電流予測部が予測した電流予測値から前記電流指令値に一致するために必要な電圧指令値を算出して直接出力するものであることが望ましい。
In the control apparatus for a rotating machine according to the present invention, a control cycle of current control in the second voltage command generator is set longer than a control cycle of current control in the first voltage command generator. .
The calculation of the voltage command value in the second voltage command generation unit is to calculate the voltage command value necessary to match the current command value from the current prediction value predicted by the current prediction unit and directly output the voltage command value. is desirable.

このようにすれば、例えば電圧ベクトル制御方式のように何通りもの電圧指令に基づいて電流値を予測する必要がない。このため、同じ制御周期であれば、電流制御の精度が改善され、演算負荷も削減できる。 In this way, there is no need to predict the current value based on several voltage commands, unlike the voltage vector control method. Therefore, if the control cycle is the same, the accuracy of current control is improved and the computational load can be reduced.

前記第2電圧指令生成部の一態様としては、前記電流予測部が予測した電流予測値から変更後の電流指令値に一致するために必要な電圧指令値を再度演算し、この電圧指令値を、先に前記第1電圧指令生成部が演算した電圧指令値に代えて電圧指令値とするものが挙げられる。
As one aspect of the second voltage command generation unit, the voltage command value required to match the changed current command value is recalculated from the current prediction value predicted by the current prediction unit, and this voltage command value is calculated. , the voltage command value is used in place of the voltage command value calculated by the first voltage command generation unit .

このようにすると、既に演算した電圧指令値に代えて新たに演算した電圧指令値を用いるため、メモリに上書きするだけで対応することができる。 With this configuration, the newly calculated voltage command value is used in place of the already calculated voltage command value, so that it is possible to cope with this by simply overwriting the memory.

また、前記第2電圧指令生成部の他の一態様としては、前記電流予測部が予測した電流予測値と変更後の電流指令値の差分を補償するための電圧指令補償値を演算し、この電圧指令補償値を、電圧指令生成部が演算した電圧指令値に加算して適用するものが挙げられる。
Further, as another aspect of the second voltage command generation unit, a voltage command compensation value for compensating for a difference between the current prediction value predicted by the current prediction unit and the changed current command value is calculated, For example, the voltage command compensation value is added to the voltage command value calculated by the voltage command generation unit and applied.

このように構成すると、電流指令の変更要求時に電圧指令値を再度演算する際、電流指令の変更分に対する演算(電圧指令補償値の演算)のみになるため、演算負荷を軽くすることができる。 With this configuration, when the voltage command value is recalculated when the current command is requested to be changed, only the calculation for the changed amount of the current command (calculation of the voltage command compensation value) is performed, so that the calculation load can be lightened.

また、前記第2電圧指令生成部における電圧指令値の演算は、空間モデルを用いた電圧ベクトル制御モデルに基づき、複数の電圧ベクトルで電流予測値を再度算出し、そのうち電流予測値が電流指令値に最も近くなる電圧指令値を採用するものであってもよい。
Further, the calculation of the voltage command value in the second voltage command generation unit is based on a voltage vector control model using a space model, and the current prediction value is recalculated using a plurality of voltage vectors. A voltage command value that is closest to may be adopted.

このような空間ベクトルを用いた電圧ベクトル制御方式のものでは、その都度複数の電圧ベクトルに対して電流予測値を算出しなければならないので、その計算が最大で1制御周期分減ることによる効果は大きい。また、これにより電流応答を改善することが可能となる。 In the voltage vector control method using such a space vector, the predicted current value must be calculated for a plurality of voltage vectors each time. big. Also, this makes it possible to improve the current response.

さらに、電流予測部が行う次の電流の予測は、次の制御周期における電流予測にとどまらず、さらにその次の制御周期である2回目の制御周期もしくは2回目以後の1または2以上の制御周期における電流予測を含み、前記第2電圧指令生成部はこれらの電流予測値を用いて次の制御周期での電圧指令値を演算するものであってもよい。
Furthermore, the prediction of the next current performed by the current prediction unit is not limited to the current prediction in the next control cycle, but also the second control cycle, which is the next control cycle, or one or more control cycles after the second time. and the second voltage command generator may use these predicted current values to calculate the voltage command value for the next control cycle.

このような場合、演算負荷は大きくなるが、高い精度の電流応答が追求されるモデル予測制御において、その効果はさらに大きい。 In such a case, the computational load increases, but the effect is even greater in model predictive control in which a highly accurate current response is pursued.

また本発明に係る回転機の制御方法は、回転機を制御するための電流指令値の入力を受けて当該回転機に接続されたインバータに電圧指令値を出力するにあたり、制御周期ごとに、前記回転機から検出される電流値と前記インバータに出力している現在の電圧指令値とに基づいて次の制御周期で回転機を流れる電流値を予測する電流予測ステップと、少なくともこの電流予測ステップで予測する電流予測値と前記電流指令値とに基づいて前記インバータに出力する次の制御周期での電圧指令値を演算して出力する第1電圧指令生成ステップとを備えたものにおいて、ある制御周期から次の制御周期の間において前記電流指令値の変更が要求された場合に、変更の要求時に、少なくとも前記電流予測ステップで予測した電流予測値と変更後の電流指令値とに基づいて前記インバータに出力する次の制御周期での電圧指令値を再度演算する第2電圧指令生成ステップと、前記電流指令値の変更が要求された場合には、電圧指令値として、前記第2電圧指令生成ステップで再度演算された電圧指令値を選択する電圧指令値選択ステップとを更に備えたことを特徴とする。 Further, in a method for controlling a rotating machine according to the present invention, in receiving an input of a current command value for controlling the rotating machine and outputting a voltage command value to an inverter connected to the rotating machine, the above-described a current prediction step of predicting a current value flowing through the rotating machine in the next control cycle based on a current value detected from the rotating machine and a current voltage command value output to the inverter; and at least the current prediction step a first voltage command generating step of calculating and outputting a voltage command value in the next control cycle to be output to the inverter based on the predicted current value and the current command value, wherein If a change in the current command value is requested during the next control cycle, the inverter based on at least the current prediction value predicted in the current prediction step and the changed current command value at the time of the change request a second voltage command generating step for recalculating the voltage command value in the next control cycle to be output to the second voltage command generating step as the voltage command value when a change in the current command value is requested and a voltage command value selection step of selecting the voltage command value calculated again in the step of selecting the voltage command value.

このような制御方法を採用する限り、電流指令の更新に即応して電圧指令を再計算し、最大で1制御周期分の制御遅れを解消することができ、電流応答を改善することが可能となる。 As long as such a control method is adopted, it is possible to recalculate the voltage command immediately in response to the update of the current command, eliminate the control delay of up to one control cycle, and improve the current response. Become.

以上、説明した本発明によれば、モデル予測制御に電流指令更新のタイミングに同期して再度電圧指令を算出することができるので、最大で1制御周期分の制御遅れを解消して電流応答を改善することができる、優れた制御装置及び制御方法を提供することが可能となる。 According to the present invention described above, the voltage command can be calculated again in synchronization with the timing of updating the current command in the model predictive control. It is possible to provide better control devices and control methods that can be improved.

本発明の第1実施形態に係る制御装置の構成を示すブロック図。1 is a block diagram showing the configuration of a control device according to a first embodiment of the present invention; FIG. 図1の前提となるモデル予測制御の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of model predictive control that is the premise of FIG. 1; 図2のモデル予測制御を他のモデル予測制御と比較して示す概念図。FIG. 3 is a conceptual diagram showing a comparison of the model predictive control of FIG. 2 with other model predictive controls; 図2のモデル予測制御による場合の不具合を説明するための概念図。FIG. 3 is a conceptual diagram for explaining a problem caused by the model predictive control of FIG. 2; 図1のモデル予測制御による場合の作用効果を説明するための概念図。FIG. 2 is a conceptual diagram for explaining the effects of the model predictive control of FIG. 1; 図1の制御装置の応答特性を図2の構成と比較して示すボート線図。FIG. 3 is a boat diagram showing the response characteristics of the control device of FIG. 1 in comparison with the configuration of FIG. 2; 本発明の第2実施形態に係る制御装置の構成を示す図1に対応したブロック図。FIG. 2 is a block diagram corresponding to FIG. 1 showing the configuration of a control device according to a second embodiment of the present invention; 図7のモデル予測制御による場合の作用効果を説明するための図5に対応した概念図。FIG. 8 is a conceptual diagram corresponding to FIG. 5 for explaining the effects of the model predictive control of FIG. 7; 本発明の変形例を示す図2に対応したブロック図。The block diagram corresponding to FIG. 2 which shows the modification of this invention. 本発明の他の変形例を示す図2に対応したブロック図。FIG. 3 is a block diagram corresponding to FIG. 2 showing another modification of the present invention; 図10における外乱オブザーバの具体的な構成を示す図。FIG. 11 is a diagram showing a specific configuration of a disturbance observer in FIG. 10; 図10の更なる変形例を示す図。The figure which shows the further modification of FIG. 本発明の上記以外の変形例に係るモデル予測制御を示す図。The figure which shows the model predictive control based on the modification other than the above of this invention.

以下、本発明の第1実施形態を、図面を参照して説明する。 A first embodiment of the present invention will be described below with reference to the drawings.

図1は、本実施形態に係る回転機の制御装置Cを示すブロック図であり、図2は、この実施形態の前提となる回転機の制御装置C´を、インバータ1及びモータ2とともに示すブロック図である。両図において共通する部分には同一符合が付してある。 FIG. 1 is a block diagram showing a control device C for a rotating machine according to this embodiment, and FIG. It is a diagram. The same reference numerals are given to common parts in both figures.

モータ2は、3相の永久磁石同期モータの1つであるPMモータである。モータ2は、インバータ1を介してバッテリ1bに接続されている。インバータ1は、3相であるU相、V相、W相に対して、各相に上アームと下アームを構成する一対のスイッチング素子の直列接続部1U、1V、1Wを備え、これらの直列接続部1U、1V、1Wの中間点がモータ2の各相(U、V、W相)に接続されている。本実施形態のスイッチング素子は絶縁ゲートバイポーラトランジスタ(IGBT)であり、それぞれダイオードが逆並列に接続されている。 The motor 2 is a PM motor, which is one of three-phase permanent magnet synchronous motors. The motor 2 is connected via the inverter 1 to the battery 1b. The inverter 1 includes a pair of series connection portions 1U, 1V, and 1W of switching elements forming an upper arm and a lower arm for each of three phases U, V, and W. Midpoints of the connection portions 1U, 1V and 1W are connected to respective phases (U, V and W phases) of the motor 2 . The switching elements of this embodiment are insulated gate bipolar transistors (IGBTs), and diodes are connected in anti-parallel.

モータ2からは、エンコーダやレゾルバ等の回転角度センサを通じて電気角θが検出されてセンサ入力部3aより制御装置C´に入力され、また、電流センサを通じて3相のうちの2相(ここではU相、W相)の電流Iu、Iwがアナログ入力部3bより制御装置C´に入力されている。 From the motor 2, an electrical angle θ is detected through a rotation angle sensor such as an encoder or resolver, and is input to the control device C′ through a sensor input section 3a. phase, W phase) currents Iu and Iw are input to the controller C' from the analog input section 3b.

また制御装置C´は、ディジタル出力部3cから、インバータ1の制御信号を出力する。 The control device C' also outputs a control signal for the inverter 1 from the digital output section 3c.

制御装置C´は、電流予測部4において、現在の電圧指令値Vd、Vqとモータ2からセンサ等で検出される電流値(以降、電流検出値)Id、Iqとに基づき、次の制御周期で流れるモータ電流値(以降、電流予測値) Ide(n+1)、Iqe(n+1)を予測する。そして、第1の電圧指令生成部5において、現に電流指令入力部10から入力される電流指令値 Idref、Iqrefと電流予測値Ide(n+1)、Iqe(n+1)との偏差が小さくなるような新たな電圧指令値Vd(n+1)、Vq(n+1)を決定する。新たに決定した電圧指令値Vd(n+1)、Vq(n+1)は、2/3変換部6、キャリア比較部7を経て、ディジタル出力部3cより出力される。「2/3変換部」とは2相/3相変換部の意で、dq/UVW変換部のことである。また、以下に述べる「3/2変換部」とは3相/2相変換部の意で、UVW/dq変換部のことである。 In the current prediction unit 4, the control device C' determines the next control cycle based on the current voltage command values Vd and Vq and current values (hereinafter referred to as current detection values) Id and Iq detected by a sensor or the like from the motor 2. predict the motor current values (hereinafter referred to as current prediction values) Ide(n+1) and Iqe(n+1). Then, in the first voltage command generation unit 5, a new voltage is generated so that the deviation between the current command values Idref, Iqref actually input from the current command input unit 10 and the current prediction values Ide(n+1), Iqe(n+1) becomes smaller. voltage command values Vd(n+1) and Vq(n+1) are determined. The newly determined voltage command values Vd(n+1) and Vq(n+1) are output from the digital output section 3c via the 2/3 conversion section 6 and the carrier comparison section 7. FIG. The "2/3 converter" means a 2-phase/3-phase converter, which is a dq/UVW converter. Further, the "3/2 conversion section" described below means a 3-phase/2-phase conversion section and is a UVW/dq conversion section.

なお、この明細書においてd軸に関するものを表すときは「d」の添え字、q軸に関するものを表すときは「q」の添え字を付す。 In this specification, the suffix “d” is used when referring to the d-axis, and the suffix “q” is used when referring to the q-axis.

電流センサによって検出された相電流値Iu、Iwは、AD変換部8を経て、3/2変換部9において モータ2の検出電流値Id,Iqに変換される。その変換のために、角度センサによって検出される電気角θも、2/3変換部6や3/2変換部9に入力される。 The phase current values Iu and Iw detected by the current sensors are converted into detected current values Id and Iq of the motor 2 in the 3/2 converter 9 via the AD converter 8 . For the conversion, the electrical angle θ detected by the angle sensor is also input to the 2/3 conversion section 6 and the 3/2 conversion section 9 .

電流検出値Id、Iqと、現在の電圧指令値Vd、Vqとは、電流予測部4に入力される。電流予測部4にはまた、角度センサが検出した角度θが微分部10で微分されて角速度ωとして入力される。電流予測部4は、PMモータの一般的な電圧方程式と前進差分法とから導き出された式([数1])を用いて、電流予測値Ide(n+1)、Iqe(n+1)を算出し、出力する。なお、本実施形態では、前進差分法を適用したが、微分要素を有限差分近似に置き換えて差分近似する手法であれば、後退差分など他の差分法も適用可能である。 Current detection values Id and Iq and current voltage command values Vd and Vq are input to current prediction unit 4 . The angle θ detected by the angle sensor is also differentiated by the differentiating unit 10 and input as an angular velocity ω to the current predicting unit 4 . The current prediction unit 4 calculates current prediction values Ide(n+1) and Iqe(n+1) using a formula ([Equation 1]) derived from a general voltage equation of a PM motor and the forward difference method, Output. Although the forward difference method is applied in the present embodiment, other difference methods such as backward difference can also be applied as long as the differential element is replaced with finite difference approximation and difference approximation is performed.

Figure 0007212243000001
Figure 0007212243000001

上述したように、
Vd(n)、Vq(n)は、現在の制御周期におけるd軸電圧指令値、q軸電圧指令値、Id(n)、Iq(n)は、現在の制御周期で検出したd軸電流指令値、q軸電流指令値、Ide(n+1)、Iqe(n+1)は、次の制御周期で流れると予測したd軸電流予測値、q軸電流予測値である。また、Tcは、制御周期、Ld、Lqは、d軸インダクタンス、q軸インダクタンス、Rは 電機子抵抗、ωは電気角速度、ψは電機子鎖交磁束である。
As mentioned above,
Vd(n) and Vq(n) are d-axis voltage command values and q-axis voltage command values in the current control cycle, and Id(n) and Iq(n) are d-axis current commands detected in the current control cycle. A value, a q-axis current command value, Ide(n+1), and Iqe(n+1) are the d-axis current predicted value and the q-axis current predicted value predicted to flow in the next control cycle. Also, Tc is the control cycle, Ld and Lq are the d-axis inductance and the q-axis inductance, R is the armature resistance, ω is the electrical angular velocity, and ψ is the armature interlinkage magnetic flux.

そして、電流予測値Ide(n+1)、Iqe(n+1)と、電流指令値Idref、Iqrefとが、電圧指令生成部5に入力され、次の[数2]の2つの式に基づいて、電圧指令値Vd(n+1)、Vq(n+1)を生成する。 Then, the predicted current values Ide(n+1), Iqe(n+1) and the current command values Idref, Iqref are input to the voltage command generator 5, and based on the following two equations, the voltage command Generate the values Vd(n+1), Vq(n+1).

Figure 0007212243000002
Figure 0007212243000002

上述したように、Vd(n+1)、Vq(n+1)は次の制御周期におけるd軸電圧指令値、q軸電圧指令値、idref、iqrefは現在の制御周期におけるd軸電流指令値、q軸電流指令値である。 As described above, Vd(n+1) and Vq(n+1) are d-axis voltage command values and q-axis voltage command values in the next control cycle, and idref and iqref are d-axis current command values and q-axis current values in the current control cycle. command value.

この電圧指令生成部5による制御量は、過度な指令分をカットする電圧クランプ部11を経て、2/3変換部6に入力され、角度θに基づいて制御信号Vu、Vv、Vwに変換された後、キャリア比較部7でPWM信号を生成して、ディジタル出力部3cよりインバータ1のスイッチング素子に制御信号として入力される。キャリア比較部7は、例えば三角波キャリアで電圧指令Vu、Vv、Vwを切り取ってPWM信号を生成するものである。勿論、キャリア比較部7はこのような三角波キャリアを用いたPWM変調方式に限定されるものではない。 The amount of control by the voltage command generation unit 5 is input to the 2/3 conversion unit 6 via the voltage clamp unit 11 that cuts off the excessive command amount, and is converted into control signals Vu, Vv, Vw based on the angle θ. After that, a PWM signal is generated by the carrier comparator 7 and input as a control signal to the switching element of the inverter 1 from the digital output section 3c. The carrier comparison unit 7 cuts the voltage commands Vu, Vv, and Vw using, for example, a triangular wave carrier to generate a PWM signal. Of course, the carrier comparator 7 is not limited to the PWM modulation method using such a triangular wave carrier.

つまり、電圧指令生成部5において、図3(a)に示すように、制御周期のn-1周期目においてn周期目のd軸電圧値Vd(n)、q軸電圧値Vq(n)が算出されると、これらの電圧値 が n周期目で検出される検出電流値Id(n)、Iq(n)や角速度ωとともに電流予測部4に入力され、ここでn+1周期目で流れると予想したモータ電流である電流予測値Ide(n+1)、Iqe(n+1)が算出される。そして、n周期目において、電流指令値Idref、Iqrefとともに電圧指令生成部5に入力されて、その偏差に応じて電圧指令値Vd(n+1)、Vq(n+1)が出力される。 That is, in the voltage command generation unit 5, as shown in FIG. Once calculated, these voltage values are input to the current prediction unit 4 together with the detected current values Id(n) and Iq(n) detected in the nth cycle and the angular velocity ω, where it is predicted that the voltage will flow in the n+1th cycle. Current predicted values Ide(n+1) and Iqe(n+1), which are motor currents obtained by the calculation, are calculated. Then, in the nth period, it is input to the voltage command generator 5 together with the current command values Idref and Iqref, and the voltage command values Vd(n+1) and Vq(n+1) are output according to the deviation.

このように、図2のモデル予測制御は、図3(a)のn+1周期目で検出される電流値 をn周期目で予測して、電流指令値に一致するために必要な電圧指令値をn+1周期目 で算出して直接出力することができる。これに対して、図3(b)は先行技術文献で述べた電圧ベクトル制御によるモデル予測制御を示したものであるが、n-1周期目、n周期目でn+1周期目で検出される電流値を予測するまでの処理は同じであるにしても、 その後の電流予測値と複数の電圧ベクトルを演算して、n+2周期目で検出される電流を予測し、そのうち電流指令値Idref、Iqrefに最も近い電圧ベクトルを採用する方式である。このため、最大で8つの電圧ベクトルを演算すればよいが、電流指令値と最も近い電圧ベクトルを採用する際、必ずしも電流値が一致する電圧ベクトルを選択できるとは限らず、特に定常的な状態における電流制御の精度が低下すると考えられる。また、電流制御の精度を向上するために、従来のPI制御における制御周期よりも短い制御周期で制御することも考えられるが、この場合、演算負荷が大きくなる。これに比べれば、図3(a)では予測したn + 1周期目で検出される電流値から電流指令値に一致するために必要な電圧指令値を算出して直接出力することができる。よって、同じ制御周期であれば、図3(b)のモデル予測制御に比べて、電流制御の精度が改善され、演算負荷も削減できる。 In this way, the model predictive control in FIG. 2 predicts the current value detected in the n+1th cycle in FIG. It can be calculated at the n+1th cycle and output directly. On the other hand, FIG. 3(b) shows the model predictive control by the voltage vector control described in the prior art document. Even if the processing up to prediction of the value is the same, the subsequent current prediction value and a plurality of voltage vectors are calculated to predict the current detected in the n+2 cycle. This method adopts the closest voltage vector. For this reason, it is sufficient to calculate a maximum of eight voltage vectors. It is considered that the accuracy of current control in Also, in order to improve the accuracy of current control, it is conceivable to perform control with a control cycle shorter than the control cycle of conventional PI control, but in this case the computational load increases. In comparison, in FIG. 3A, the voltage command value required to match the current command value can be calculated from the current value detected in the predicted n+1 cycle and output directly. Therefore, if the control period is the same, the accuracy of the current control is improved and the computational load can be reduced as compared with the model predictive control of FIG. 3(b).

しかしながら、この制御は、ある制御周期から次の制御周期の間において電流指令の変更が要求された場合、電流制御の応答性が悪くなる可能性がある。従来のモデル予測制御は、制御周期毎に電流指令の更新を行っているが、例えば、図4に示すように、制御周期のn周期目からn+1周期目の間で電流指令値の変更(idrefA、iqrefA → idrefB、iqrefB)が要求された場合、電流指令値は、n+1周期目まで更新されず、idrefA、iqrefAのままである。よって、電流指令値idrefB、iqrefBに基づくモデル予測制御は、n+1周期目から始まるため、電流指令値の変更が要求されてから更新されるまでの処理時間が、電流制御のムダ時間となり、電流応答(特に位相特性)が悪くなる可能性がある。 However, this control may deteriorate the responsiveness of the current control when a change in the current command is requested between one control cycle and the next control cycle. In the conventional model predictive control, the current command is updated every control cycle. For example, as shown in FIG. 4, the current command value is changed (idrefA , iqrefA→idrefB, iqrefB) is requested, the current command value is not updated until the n+1 cycle and remains at idrefA and iqrefA. Therefore, since the model predictive control based on the current command values idrefB and iqrefB starts from the (n+1)th cycle, the processing time from when the change of the current command value is requested to when it is updated becomes the waste time of the current control, and the current response (especially phase characteristics) may deteriorate.

これは、図3(b)に示した電圧ベクトル制御によるモデル予測制御を行う場合であっても同様である。 This is the same even in the case of performing the model predictive control by the voltage vector control shown in FIG. 3(b).

そこで本実施形態は、ある制御周期から次の制御周期の間で電流指令の変更が要求された場合、変更の要求時に電圧指令値 を再度演算する構成を新たに採用している。 Therefore, the present embodiment newly adopts a configuration in which, when a change in the current command is requested between one control cycle and the next control cycle, the voltage command value is recalculated at the time of the change request.

図1は、図2の構成に新たに第2の電圧指令生成部105を設けたものである。図1において、図2と共通する部分には同一符合を付して、説明を省略する。この電圧指令生成部105は、電流制御の制御周期とは切り離して、電流指令値Idref、Iqrefの変更を検知し、電圧指令生成部5と同様の演算を行う。ここで、電流指令の変更の周期は、電流制御の制御周期よりも長くなることが多いため、電圧指令生成部105における電流制御の制御周期は、電圧指令生成部5における電流制御の制御周期よりも長くしてある。なお、図1において「Z-1」と表記してあるところは、電流指令値idref、iqrefが電圧指令生成部105に入力される際に、電圧指令生成部5に入力される時に比べ、最大で1制御周期分遅れることを表している。 FIG. 1 is obtained by newly providing a second voltage command generator 105 to the configuration of FIG. In FIG. 1, parts common to those in FIG. 2 are denoted by the same reference numerals, and descriptions thereof are omitted. The voltage command generation unit 105 detects changes in the current command values Idref and Iqref separately from the control cycle of current control, and performs the same calculation as the voltage command generation unit 5 does. Here, since the cycle of changing the current command is often longer than the control cycle of the current control, the control cycle of the current control in the voltage command generation unit 105 is longer than the control cycle of the current control in the voltage command generation unit 5. is also lengthened. 1, when the current command values idref and iqref are input to the voltage command generation unit 105, the maximum represents a delay of one control cycle.

具体的には、電圧指令生成部105は、電圧指令生成部5と同様に、電流予測値Ide(n+1)、Iqe(n+1)が電流予測部4から入力されており、図5の制御周期のn周期目からn+1周期目の間で、電流指令値がidrefA、iqrefAからidrefB、iqrefBに変更されると、変更された電流指令値に到達するために必要な電圧指令値Vd(n+1)、Vq(n+1)を直ちに演算する。この演算には、電圧指令生成部5と同様の式([数1])を用いるが、電流指令値は変更された値を使用する。すなわち、n周期目からn+1周期目の間で変更した電流指令値をid_refB、iq_refB、変更された電流指令値に基づいて算出された電圧指令値をVd_dx(n+1)、Vq_dx(n+1)とした場合、以下の式([数3])に沿って演算を行う。 Specifically, similarly to the voltage command generation unit 5, the voltage command generation unit 105 receives the current prediction values Ide(n+1) and Iqe(n+1) from the current prediction unit 4, and the control period shown in FIG. When the current command values are changed from idrefA, iqrefA to idrefB, iqrefB between the n-th cycle and the n+1-th cycle, the voltage command values Vd(n+1), Vq required to reach the changed current command values Compute (n+1) immediately. For this calculation, the same formula ([Equation 1]) as that of the voltage command generator 5 is used, but a changed current command value is used. That is, when the current command values changed from the nth cycle to the n+1th cycle are id_refB and iq_refB, and the voltage command values calculated based on the changed current command values are Vd_dx(n+1) and Vq_dx(n+1). , the calculation is performed according to the following formula ([Formula 3]).

Figure 0007212243000003
Figure 0007212243000003

ここで、図1のように、電圧指令生成部5から出力された電圧指令値Vd、Vqは、フラグ選択部F1に入力される。同様に、電圧指令生成部105から出力された電圧指令値Vd_dx、Vq_dxも、フラグ選択部F1に入力される。フラグ選択部F1は、通常、電圧指令値Vd、Vqを選択して、電流予測部4に出力している。しかし、電流指令値idref、iqrefの変更が要求された場合、電流指令値の変更に伴う選択フラグが立ち、電圧指令値Vd_dx、Vd_dxを選択して、電流予測部4に出力する。 Here, as shown in FIG. 1, the voltage command values Vd and Vq output from the voltage command generator 5 are input to the flag selector F1. Similarly, the voltage command values Vd_dx and Vq_dx output from the voltage command generation unit 105 are also input to the flag selection unit F1. Flag selection unit F1 normally selects voltage command values Vd and Vq and outputs them to current prediction unit 4 . However, when a request is made to change the current command values idref and iqref, a selection flag accompanying the change of the current command value is set, and the voltage command values Vd_dx and Vd_dx are selected and output to the current prediction unit 4 .

電圧指令生成部5から出力された電圧指令値Vd、Vqは、2/3変換部6を通って3相変換された値が、フラグ選択部F2に入力される。同様に、電圧指令生成部105から出力された電圧指令値Vd_dx、Vq_dxは、2/3変換部106を通って3相変換された値が、フラグ選択部F2に入力される。フラグ選択部F2は、通常、電圧指令値Vd、Vqを3相変換された値を選択して、キャリア比較部7に出力している。しかし、電流指令値idref、iqrefの変更が要求された場合、電流指令値の変更に伴う選択フラグが立ち、電圧指令値Vd_dx、Vd_dxを3相変換された値を選択して、キャリア比較部7に出力している。 The voltage command values Vd and Vq output from the voltage command generation unit 5 are converted into three phases through the 2/3 conversion unit 6, and the values are input to the flag selection unit F2. Similarly, the voltage command values Vd_dx and Vq_dx output from the voltage command generation unit 105 are three-phase converted through the 2/3 conversion unit 106, and the values are input to the flag selection unit F2. The flag selection unit F2 normally selects values obtained by converting the voltage command values Vd and Vq into three phases, and outputs the selected values to the carrier comparison unit 7 . However, when a request is made to change the current command values idref and iqref, a selection flag is set according to the change in the current command values, and the voltage command values Vd_dx and Vd_dx are converted into three phases to select the carrier comparison unit 7. is output to

このように、図5において、n周期目からn+1周期目の間で電流指令の変更が要求された場合、電圧指令生成部105において、変更の要求時に、変更された電流指令値id_refB、iq_refBに到達するために必要な電圧指令値を再度演算する。よって、電流指令の変更が要求されてからn+1周期目に電流指令の更新がされるまでの処理時間が削減でき、電流応答が改善される。 As described above, in FIG. 5, when a change of the current command is requested between the n-th cycle and the n+1-th cycle, the voltage command generation unit 105 sets the changed current command values id_refB and iq_refB at the time of the change request. Recalculate the voltage command value required to reach the target. Therefore, the processing time from when the change of the current command is requested to when the current command is updated in the (n+1) cycle can be reduced, and the current response is improved.

図6は、ある制御周期から次の制御周期の間において電流指令の変更が要求された場合、図1の構成と図2の構成において、電流制御の応答性を比較した場合の一例である。この例においては、図1の構成は、図2の構成に比べて、ゲイン特性に影響を及ぼすことなく、位相特性すなわち位相遅れを略90°改善されていることがわかる。 FIG. 6 is an example of comparing the responsiveness of current control between the configuration of FIG. 1 and the configuration of FIG. 2 when a change in current command is requested from one control cycle to the next control cycle. In this example, it can be seen that the configuration of FIG. 1 improves the phase characteristic, that is, the phase delay by approximately 90 degrees, without affecting the gain characteristic, as compared with the configuration of FIG.

以上のように、本実施形態に係る回転機の制御装置は、モータ2を制御するための電流指令Idref、Iqrefの入力を受けてモータ2に接続されたインバータ1に電圧指令Vd、Vqを出力するにあたり、制御周期Tcごとに、モータ2から検出される電流値Id、Iqとインバータ1に出力している現在の電圧指令値Vd、Vqとに基づいて次の制御周期Tcでモータ2を流れる電流値を予測する電流予測部4と、少なくともこの電流予測部4が予測する電流予測値Ide(n+1)、qe(n+1)と電流指令値Idref、Iqrefとに基づいてインバータ1に出力する次の制御周期Tcでの電圧指令値Vd(n+1)、Vq(n+1)を演算して出力する電圧指令生成部5とを備えたものである。そして、電流指令値が制御周期のn周期目とn+1周期目の間においてidrefA、iqrefAからidrefB、iqrefBへの変更が要求された場合に、変更の要求時に、少なくとも電流予測部4が予測した電流予測値Id(n+1)、Iq(n+1)と変更後の電流指令値idrefB、IqrefBとに基づいてインバータ1に出力する次の制御周期での電圧指令値Vd_dx、Vq_dxを再度演算する電圧指令生成部105を付加している。 As described above, the controller for a rotating machine according to the present embodiment receives input of current commands Idref and Iqref for controlling the motor 2 and outputs voltage commands Vd and Vq to the inverter 1 connected to the motor 2. In doing so, based on the current values Id and Iq detected from the motor 2 and the current voltage command values Vd and Vq output to the inverter 1 every control cycle Tc, the current flowing through the motor 2 in the next control cycle Tc A current prediction unit 4 for predicting a current value, and at least the current prediction values Ide(n+1) and qe(n+1) predicted by the current prediction unit 4 and the current command values Idref and Iqref for output to the inverter 1. and a voltage command generator 5 for calculating and outputting voltage command values Vd(n+1) and Vq(n+1) in the control cycle Tc. Then, when the current command value is requested to be changed from idrefA, iqrefA to idrefB, iqrefB between the n-th cycle and the n+1-th cycle of the control cycle, at least the current predicted by the current prediction unit 4 at the time of the change request A voltage command generator that recalculates the voltage command values Vd_dx and Vq_dx in the next control cycle to be output to the inverter 1 based on the predicted values Id(n+1) and Iq(n+1) and the changed current command values idrefB and IqrefB. 105 is added.

このように構成すれば、電流指令Idref、Iqrefの変更が要求された際には変更の要求時に、変更された電流指令値に到達するために必要な電圧指令Vd_dx、Vq_dxが再計算される。このため、電流指令の変更が要求されてから電流指令の更新がされるまでの処理時間が削減でき、電流応答が改善される。 With this configuration, voltage commands Vd_dx and Vq_dx required to reach the changed current command values are recalculated when a change of the current commands Idref and Iqref is requested. Therefore, it is possible to reduce the processing time from when the change of the current command is requested until when the current command is updated, and the current response is improved.

特に、電圧指令生成部5、105における電圧指令値Vd_dx、Vq_dxの演算は、電流予測部4が予測した電流予測値Ide(n+1)、Iqe(n+1)から電流指令値Idref、Iqrefに一致するために必要な電圧指令値Vd_dx、Vq_dxを算出して直接出力するものである。 In particular, the calculation of the voltage command values Vd_dx and Vq_dx in the voltage command generation units 5 and 105 matches the current command values Idref and Iqref from the current prediction values Ide(n+1) and Iqe(n+1) predicted by the current prediction unit 4. , the voltage command values Vd_dx and Vq_dx required for are calculated and directly output.

このようにすることで、例えば電圧ベクトル制御方式のように何通りもの電圧指令に基づいて電流値を予測する必要がない。このため、同じ制御周期であれば、電流制御の精度が改善され、演算負荷も削減できる。 By doing so, there is no need to predict the current value based on several voltage commands, unlike the voltage vector control method, for example. Therefore, if the control cycle is the same, the accuracy of current control is improved and the computational load can be reduced.

より具体的には、電圧指令生成部105は、電流予測部4が予測した電流予測値Id(n+1)、Iq(n+1)から変更後の電流指令値idrefB、iqrefBに一致するために必要な電圧指令値Vd_dx、Vq_dxを再度演算し、この電圧指令値Vd_dx、Vq_dxを、先に演算した電圧指令値Vd、Vqに代えて適用するものである。 More specifically, the voltage command generation unit 105 generates the voltage required to match the current command values idrefB and iqrefB after the change from the current prediction values Id(n+1) and Iq(n+1) predicted by the current prediction unit 4. The command values Vd_dx and Vq_dx are calculated again, and these voltage command values Vd_dx and Vq_dx are applied instead of the previously calculated voltage command values Vd and Vq.

このため、計算結果をメモリに上書きするだけで処理を終わらせることができる。 Therefore, the process can be completed simply by overwriting the calculation result in the memory.

次に、本発明の第2実施形態について説明する。 Next, a second embodiment of the invention will be described.

第1実施形態では、電流指令の変更が要求された時に、変更後の電流指令に対する電圧指令値を再度演算したが、図8に示すように、変更前の電流指令値と変更後の電流指令値の差分に基づいて電圧指令の補償値を算出し、電圧指令生成部5で算出した変更前の電流指令に対する電圧指令値に加算する形で再度演算しても良い。 In the first embodiment, when a change of the current command is requested, the voltage command value for the changed current command is calculated again. A compensation value for the voltage command may be calculated based on the difference in values, and may be added to the voltage command value for the current command before change calculated by the voltage command generation unit 5 to calculate again.

そのための構成を図7に示す。電流指令値の変更要求時、差分器205aは、変更後の電流指令値として、id_refB、iq_refBが入力されるとともに、「Z-1」と表記した側から変更前の電流指令値であるid_refA、iq_refAが入力されて、これらの差分を算出する。電圧指令生成部205では、その差分に対応する電圧指令の補償値(以降、電圧指令補償値)Vd_dx、Vq_dxが生成される。そして、加算器205bにおいて、電圧指令生成部5で生成した電流指令値id_refA、iq_refAに基づく電圧指令値Vd(n+1)、Vq(n+1)と電圧指令生成部205で生成した電圧指令補償値Vd_dx、Vq_dxを加算した値を、変更後の電流指令値id_refB、iq_refBに対する電圧指令値Vd(n+1)、Vq(n+1)として出力するように構成されている。 A configuration for that purpose is shown in FIG. When requesting to change the current command value, the differentiator 205a receives id_refB and iq_refB as the current command values after the change, and receives current command values before the change id_refA, iq_refA is input to compute the difference between them. The voltage command generation unit 205 generates voltage command compensation values (hereinafter referred to as voltage command compensation values) Vd_dx and Vq_dx corresponding to the difference. Then, in the adder 205b, the voltage command values Vd(n+1) and Vq(n+1) based on the current command values id_refA and iq_refA generated by the voltage command generator 5 and the voltage command compensation value Vd_dx generated by the voltage command generator 205, It is configured to output values obtained by adding Vq_dx as voltage command values Vd(n+1) and Vq(n+1) for the changed current command values id_refB and iq_refB.

電圧指令生成部5は、図8に示すように、制御周期のn+1周期目での電流検出値から電流指令値idrefA、iqrefAに到達するために必要な電圧指令値Vd(n+1)、Vq(n+1)を[数2]の式に基づいて算出する。 As shown in FIG. 8, the voltage command generator 5 generates voltage command values Vd(n+1), Vq(n+1 ) is calculated based on the formula of [Formula 2].

一方、電圧指令生成部205は、電流指令値idrefA、iqrefAから電流指令値idrefB、iqrefBに到達するために必要な電圧指令補償値Vd_dx、Vq_dxを[数4]の式に基づいて算出する。 On the other hand, the voltage command generation unit 205 calculates the voltage command compensation values Vd_dx and Vq_dx required to reach the current command values idrefB and iqrefB from the current command values idrefA and iqrefA based on the equation [Formula 4].

Figure 0007212243000004
Figure 0007212243000004

算出された電圧指令値Vd(n+1)、Vq(n+1)と電圧指令補償値Vd_dx、Vq_dxを加算することで、n+1周期目において、更新後の電流指令値idrefB、iqrefBに到達するために必要な電圧指令値Vd(n+1)、Vq(n+1)を算出することができる。 By adding the calculated voltage command values Vd(n+1), Vq(n+1) and the voltage command compensation values Vd_dx, Vq_dx, the values required to reach the updated current command values idrefB, iqrefB in the n+1 cycle are obtained. Voltage command values Vd(n+1) and Vq(n+1) can be calculated.

このように、電圧指令生成部205は、電流予測部4が予測する電流予測値と変更前後の電流指令値の差分とに基づいて、次の制御周期での電圧指令補償値Vd_dx、Vq_dxを演算し、この補償値を電圧指令生成部5が演算した電圧指令値Vd(n+1)、Vq(n+1)に加算して適用するものである。 In this manner, the voltage command generation unit 205 calculates the voltage command compensation values Vd_dx and Vq_dx for the next control cycle based on the current prediction value predicted by the current prediction unit 4 and the difference between the current command values before and after the change. Then, this compensation value is added to the voltage command values Vd(n+1) and Vq(n+1) calculated by the voltage command generator 5 and applied.

このように構成すると、電流指令の変更要求時に電圧指令値を再度演算する際、電流指令の変更分に対する演算(電圧指令補償値の演算)のみになるため、演算負荷を軽くすることができる。 With this configuration, when the voltage command value is recalculated when the current command is requested to be changed, only the calculation for the changed amount of the current command (calculation of the voltage command compensation value) is performed, so that the calculation load can be lightened.

以上、本発明の第1、第2実施形態について説明したが、制御周期のn+1周期目における電流予測値や電圧指令値の演算を簡易化するために、d軸、q軸を非干渉化することも有効である。図9に、非干渉化するための構成を示す As described above, the first and second embodiments of the present invention have been described. is also valid. FIG. 9 shows a configuration for non-interfering

非干渉補償部300は、[数2]の電圧指令値Vd(n+1)を算出する式において、干渉項(右辺第3項)をキャンセルするため、加算器300aで、電圧指令値Vd(n+1)に電流予測値Iqe(n+1)にωLqを乗算した値を加算する。
また、同様に、Vq(n+1)を算出する式において、干渉項(右辺第3項と第4項)をキャンセルするため、加算器300bで、電圧指令値Vq(n+1)に電流予測値Iqe(n+1)にωLdを乗じた値とωφをそれぞれ減算する。
In order to cancel the interference term (the third term on the right side) in the equation for calculating the voltage command value Vd(n+1) in [Equation 2], the non-interference compensation unit 300 adds the voltage command value Vd(n+1) to the adder 300a. is added with the value obtained by multiplying the predicted current value Iqe(n+1) by ωLq.
Similarly, in the equation for calculating Vq(n+1), in order to cancel the interference terms (the third and fourth terms on the right side), the adder 300b adds the voltage command value Vq(n+1) to the predicted current value Iqe ( n+1) multiplied by ωLd and ωφ are subtracted.

このような非干渉化を行うことにより、n+1周期目における電圧指令値Vd(n+1)、Vq(n+1)の算出式を、[数5]の式の様に簡易化できる。 By performing such non-interference, the calculation formulas for the voltage command values Vd(n+1) and Vq(n+1) in the (n+1)th period can be simplified as shown in [Formula 5].

Figure 0007212243000005
Figure 0007212243000005

同様に、n+1周期目における電流予測値Ide(n+1)、Iqe(n+1)の算出式を、[数6]の式の様に簡易化できる。 Similarly, the calculation formulas for the predicted current values Ide(n+1) and Iqe(n+1) in the (n+1)th cycle can be simplified as shown in [Math. 6].

Figure 0007212243000006
Figure 0007212243000006

非干渉補償部300は、図9に示すように、電圧指令生成部5の電圧指令値に対して適用したが、図1の電圧指令生成部105の電圧指令値に対して適用してもよい。また、図7に示す電圧指令生成部5の電圧指令値と電圧指令生成部205の電圧指令値に対して適用してもよい。 The non-interference compensation unit 300 is applied to the voltage command value of the voltage command generation unit 5 as shown in FIG. 9, but may be applied to the voltage command value of the voltage command generation unit 105 in FIG. . Moreover, it may be applied to the voltage command value of the voltage command generation unit 5 and the voltage command value of the voltage command generation unit 205 shown in FIG.

また本発明は、電圧指令に外乱オブザーバを適用することも有効である。図10は、図2の電圧指令生成部5に外乱オブザーバ400を適用した例であるが、図1の電圧指令生成部5、105や図7の電圧指令生成部5、205にも適用することができる。 It is also effective in the present invention to apply a disturbance observer to the voltage command. FIG. 10 shows an example in which the disturbance observer 400 is applied to the voltage command generator 5 of FIG. 2, but it can also be applied to the voltage command generators 5 and 105 of FIG. can be done.

外乱オブザーバ400を構成する場合、d軸、q軸の双方を考慮した構成にする必要があるが、PMモータの電圧方程式ではd軸とq軸が相互に干渉しているため、複雑な制御系になってしまう。そこで、図10に示すように、外乱オブザーバ400の手前に非干渉補償部300を設けて、d軸とq軸を非干渉化している。外乱オブザーバ400の概略図を図11に示す。 When configuring the disturbance observer 400, it is necessary to consider both the d-axis and the q-axis. Become. Therefore, as shown in FIG. 10, a non-interference compensator 300 is provided in front of the disturbance observer 400 to decouple the d-axis and the q-axis. A schematic diagram of the disturbance observer 400 is shown in FIG.

図11は、非干渉化したq軸について示したものである。電圧指令VqにインバータゲインGを乗算した後に、加算器aにおいて外乱Vq_disが加わり、モータコイル(1/(R+pLq)を通してモータ電流iqが流れる。一方、外乱オブザーバ400は、インバータを模したゲインG´を電圧指令Vqに乗算した値と、モータ電流iqにモータコイルを模した特性(R+pLq)´を乗じることによって逆算で求められる電圧とを、差分器bに入力し、その差分がローパスフィルタ1/(τs+1)を通り、インバータゲイン逆数G-1を乗じられてフィードバックされている。 FIG. 11 shows the decoupled q-axis. After multiplying the voltage command Vq by the inverter gain G, a disturbance Vq_dis is added in the adder a, and the motor current iq flows through the motor coil (1/(R+pLq). multiplied by the voltage command Vq, and the voltage obtained by inverse calculation by multiplying the motor current iq by the characteristic (R+pLq)' that simulates the motor coil, are input to the difference calculator b, and the difference is the low-pass filter 1/ (τs+1), multiplied by the inverter gain reciprocal G −1 and fed back.

すなわち、外乱が無い場合、差分器bの出力は0になる。外乱が有る場合、それを打ち消す方向に電圧指令Vqが修正される。 That is, when there is no disturbance, the output of the differentiator b is 0. If there is a disturbance, the voltage command Vq is corrected in the direction of canceling it.

この構成にすれば、モデル誤差による外乱の影響を打ち消す方向にフィードバック制御され、モデル予測制御を採用するにあたって制御性能が落ちることを有効に防止することができる。 With this configuration, feedback control is performed in the direction of canceling out the influence of disturbance due to model errors, and it is possible to effectively prevent deterioration of control performance when adopting model predictive control.

さらに、このようなモデル予測制御を行う場合、モデル予測制御は、現在の電圧値と制御周期のn+1周期目の電流予測値の算出に使用する電圧指令値が一致していることが好ましい。しかし、外乱オブザーバは制御周期より十分に遅い周期で更新されているので、図12のように、外乱オブザーバ400を適用する前の電圧指令値Vd、Vqを電流予測部4で用いても問題はない。 Furthermore, when performing such model predictive control, it is preferable that the current voltage value and the voltage command value used to calculate the current predicted value in the (n+1)th cycle of the control cycle match. However, since the disturbance observer is updated at a period sufficiently slower than the control period, there is no problem even if the voltage command values Vd and Vq before applying the disturbance observer 400 are used in the current prediction unit 4 as shown in FIG. Absent.

また本発明は、モデル予測制御を行う際、図13に示すような空間ベクトルを用いた電圧ベクトル制御も適用することができる。 The present invention can also apply voltage vector control using space vectors as shown in FIG. 13 when performing model predictive control.

すなわち、図3(b)の制御周期のn周期目において、各電圧ベクトルV0~V7で電流予測値を演算し、このうち電流指令値に最も近い電圧指令値を採用するが、制御周期のn周期目からn+1周期目の間で電流指令の変更が要求された場合、次の制御周期のn+1周期目からn+2周期目が始まる前に各電圧ベクトルV0~V7で電流予測値を再度演算し、このうち電流予測値が電流指令値に最も近くなる電圧指令値を採用するようにしてもよい。 That is, in the n-th cycle of the control cycle in FIG. When a change in the current command is requested between the n+1th cycle and the n+1th cycle, the current prediction value is recalculated with each of the voltage vectors V0 to V7 before the n+1th cycle to the n+2th cycle of the next control cycle starts, Among them, the voltage command value whose predicted current value is closest to the current command value may be adopted.

このようにしても、上記実施形態と同様に、最大で1制御周期分の遅れを解消することができ、電流応答を改善することが可能となる。 Even in this way, as in the above embodiment, it is possible to eliminate a delay of at most one control cycle and improve the current response.

さらにまた、電流予測部が行う次の電流の予測は、次の制御周期における電流予測にとどまらず、さらにその次の制御周期である2回目の制御周期もしくは2回目以後の1または2以上の制御周期における電流予測を含み、電圧指令生成部はこれらの電流予測値を用いて次の制御周期での電圧指令値を演算するような制御装置にも適用することができる。このような制御装置において、電流指令値の変更が要求された場合に、次の制御周期が開始されるまでの間に、少なくとも電流予測部が予測した電流予測値と変更後の電流指令値とに基づいて、インバータに出力する次の制御周期での電圧指令値を再度演算する電圧指令生成部を構成すればよい。 Furthermore, the prediction of the next current performed by the current prediction unit is not limited to the current prediction in the next control cycle, but also in the second control cycle, which is the next control cycle, or one or more controls after the second time. It can also be applied to a control device in which current prediction is included in a cycle, and the voltage command generator uses these current prediction values to calculate the voltage command value in the next control cycle. In such a control device, when a change of the current command value is requested, at least the current prediction value predicted by the current prediction unit and the current command value after the change are changed until the next control cycle is started. Based on, a voltage command generation unit may be configured to re-calculate the voltage command value in the next control cycle to be output to the inverter.

このような場合、演算負荷は大きくなるが、高精度の電流応答が追求されるモデル予測制御において、その効果は更に大きいものになる。 In such a case, the computational load increases, but the effect is even greater in model predictive control in which a highly accurate current response is pursued.

さらにまた、本発明の制御ブロックも実施形態等に限定されない。すなわち、モータを制御するための電流指令の入力を受けて、モータに接続されたインバータに電圧指令を出力するにあたり、制御周期ごとに、モータから検出される電流値とインバータに出力している現在の電圧指令値とに基づいて次の制御周期でモータを流れる電流を予測する電流予測ステップと、少なくともこの電流予測ステップで予測する電流予測値と電流指令値とに基づいて、インバータに出力する次の制御周期での電圧指令値を演算して出力する電圧指令生成ステップとを備えたものにおいて、ある制御周期から次の制御周期の間において電流指令値の変更が要求された場合に、変更の要求時に、少なくとも電流予測ステップで予測した電流予測値と変更後の電流指令値とに基づいて、インバータに出力する次の制御周期での電圧指令値を再度演算する電圧指令生成ステップを更に備える方法であれば、制御ブロックの構成は、各実施形態に限定されない。 Furthermore, the control block of the present invention is also not limited to the embodiment. That is, when receiving a current command input for controlling the motor and outputting a voltage command to the inverter connected to the motor, the current value detected from the motor and the current value being output to the inverter are calculated for each control cycle. Based on the current prediction step for predicting the current flowing through the motor in the next control cycle based on the voltage command value of and at least the current prediction value predicted in this current prediction step and the current command value, the next output to the inverter and a voltage command generation step for calculating and outputting the voltage command value in the control cycle of , when a change in the current command value is requested between one control cycle and the next control cycle, the change A method further comprising a voltage command generation step of recalculating the voltage command value for the next control cycle to be output to the inverter when requested, based on at least the current prediction value predicted in the current prediction step and the changed current command value. If so, the configuration of the control block is not limited to each embodiment.

そして、このような方法を採用する限り、電流指令の更新に即応して電圧指令を再計算し、最大で1制御周期分の遅れを解消することができ、電流応答を改善することが可能となる。 As long as such a method is adopted, it is possible to recalculate the voltage command in response to the update of the current command, eliminate the delay of up to one control cycle, and improve the current response. Become.

以上、本発明の実施形態や変形例について説明したが、各部の具体的な構成は、上述した実施形態のみに限定されるものではなく、本発明の趣旨を逸脱しない範囲で種々変形が可能である。 Although the embodiments and modifications of the present invention have been described above, the specific configuration of each part is not limited to the above-described embodiments, and various modifications are possible without departing from the scope of the present invention. be.

1…インバータ
2…回転機(モータ)
4…電流予測部
5、105、205…電圧指令生成部
Tc…制御周期
Id、Iq…電流検出値
Ide(n+1)、Iqe(n+1)…電流予測値
Idref、Iqref…電流指令値
idrefA、iqrefA…変更前の電流指令値
idrefB、iqrefB…変更後の電流指令値
Vd、Vq…インバータに出力している現在の電圧指令値
Vd(n+1)、Vq(n+1)…次の制御周期での電圧指令値
Vd_dx、Vq_dx…電圧指令補償値


1... Inverter 2... Rotating machine (motor)
4 Current prediction unit 5, 105, 205 Voltage command generation unit Tc Control cycle Id, Iq Current detection values Ide(n+1), Iqe(n+1) Current prediction values Idref, Iqref Current command values idrefA, iqrefA Current command values before change idrefB, iqrefB...Current command values after change Vd, Vq...Current voltage command values output to the inverter Vd(n+1), Vq(n+1)...Voltage command values in the next control cycle Vd_dx, Vq_dx... Voltage command compensation value


Claims (8)

回転機を制御するための電流指令値の入力を受けて当該回転機に接続されたインバータに電圧指令値を出力するにあたり、制御周期ごとに、前記回転機から検出される電流値と前記インバータに出力している現在の電圧指令値とに基づいて次の制御周期で回転機を流れる電流値を予測する電流予測部と、少なくともこの電流予測部が予測する電流予測値と前記電流指令値とに基づいて前記インバータに出力する次の制御周期での電圧指令値を演算して出力する第1電圧指令生成部とを備えたものにおいて、
ある制御周期から次の制御周期の間において前記電流指令値の変更が要求された場合に、変更の要求時に、少なくとも前記電流予測部が予測した電流予測値と変更後の電流指令値とに基づいて前記インバータに出力する次の制御周期での電圧指令値を再度演算する第2電圧指令生成部を更に備え、
前記電流指令値の変更が要求された場合には、電圧指令値として、前記第2電圧指令生成部で再度演算された電圧指令値を選択することを特徴とする、回転機の制御装置。
In receiving a current command value input for controlling a rotating machine and outputting a voltage command value to an inverter connected to the rotating machine, the current value detected from the rotating machine and the inverter a current prediction unit that predicts the current value flowing through the rotating machine in the next control cycle based on the current voltage command value that is being output; and at least the current prediction value predicted by the current prediction unit and the current command value. and a first voltage command generator that calculates and outputs a voltage command value in the next control cycle to be output to the inverter based on
When a change of the current command value is requested between one control cycle and the next control cycle, at least based on the current prediction value predicted by the current prediction unit and the changed current command value at the time of the change request. further comprising a second voltage command generating unit that recalculates the voltage command value in the next control cycle to be output to the inverter by
A control device for a rotating machine, wherein when a change of the current command value is requested, the voltage command value recalculated by the second voltage command generation unit is selected as the voltage command value.
前記第2電圧指令生成部における電流制御の制御周期は、前記第1電圧指令生成部における電流制御の制御周期よりも長く設定される、請求項1に記載の回転機の制御装置。 2. The controller for a rotating machine according to claim 1, wherein a control cycle of current control in said second voltage command generator is set longer than a control cycle of current control in said first voltage command generator. 前記第2電圧指令生成部における電圧指令値の演算は、前記電流予測部が予測した電流予測値から前記電流指令値に一致するために必要な電圧指令値を算出して直接出力するものである、請求項1または2に記載の回転機の制御装置。 The calculation of the voltage command value in the second voltage command generation unit is to calculate the voltage command value necessary to match the current command value from the current prediction value predicted by the current prediction unit and directly output the voltage command value. 3. The controller for a rotating machine according to claim 1 or 2. 前記第2電圧指令生成部は、前記電流予測部が予測した電流予測値から変更後の電流指令値に一致するために必要な電圧指令値を再度演算し、この電圧指令値を、先に前記第1電圧指令生成部が演算した電圧指令値に代えて電圧指令値とする、請求項3に記載の回転機の制御装置。 The second voltage command generation unit recalculates a voltage command value necessary to match the changed current command value from the current prediction value predicted by the current prediction unit, and calculates this voltage command value first. 4. The controller for a rotating machine according to claim 3, wherein the voltage command value is used instead of the voltage command value calculated by the first voltage command generation unit. 前記第2電圧指令生成部は、前記電流予測部が予測した電流予測値と変更後の電流指令値との差分を補償するための電圧指令補償値を演算し、この電圧指令補償値を、第1電圧指令生成部が演算した電圧指令値に加算して適用する、請求項3に記載の回転機の制御装置。 The second voltage command generation unit calculates a voltage command compensation value for compensating for a difference between the current prediction value predicted by the current prediction unit and the changed current command value, and calculates the voltage command compensation value as a second voltage command compensation value. 4. The control device for a rotating machine according to claim 3, wherein the voltage command value calculated by the voltage command generator is added to and applied. 前記第2電圧指令生成部における電圧指令値の演算は、空間モデルを用いた電圧ベクトル制御モデルに基づき、複数の電圧ベクトルで電流予測値を再度算出し、そのうち電流予測値が電流指令値に最も近くなる電圧指令値を採用するものである、請求項1に記載の回転機の制御装置。 The calculation of the voltage command value in the second voltage command generation unit is based on a voltage vector control model using a space model, and the current prediction value is recalculated using a plurality of voltage vectors. 2. The control device for a rotating machine according to claim 1, which adopts a voltage command value that approaches. 電流予測部が行う次の電流の予測は、次の制御周期における電流予測にとどまらず、さらにその次の制御周期である2回目の制御周期もしくは2回目以後の1または2以上の制御周期における電流予測を含み、前記第2電圧指令生成部はこれらの電流予測値を用いて次の制御周期での電圧指令値を演算する、請求項1に記載の回転機の制御装置。 The prediction of the next current made by the current prediction unit is not limited to the current prediction in the next control cycle, but also the current in the second control cycle, which is the next control cycle, or in one or more control cycles after the second control cycle. 2. The controller for a rotating machine according to claim 1, wherein the prediction is included, and the second voltage command generator uses these current prediction values to calculate the voltage command value in the next control cycle. 回転機を制御するための電流指令値の入力を受けて当該回転機に接続されたインバータに電圧指令値を出力するにあたり、制御周期ごとに、前記回転機から検出される電流値と前記インバータに出力している現在の電圧指令値とに基づいて次の制御周期で回転機を流れる電流値を予測する電流予測ステップと、少なくともこの電流予測ステップで予測する電流予測値と前記電流指令値とに基づいて前記インバータに出力する次の制御周期での電圧指令値を演算して出力する第1電圧指令生成ステップとを備えたものにおいて、
ある制御周期から次の制御周期の間において前記電流指令値の変更が要求された場合に、変更の要求時に、少なくとも前記電流予測ステップで予測した電流予測値と変更後の電流指令値とに基づいて前記インバータに出力する次の制御周期での電圧指令値を再度演算する第2電圧指令生成ステップと、
前記電流指令値の変更が要求された場合には、電圧指令値として、前記第2電圧指令生成ステップで再度演算された電圧指令値を選択する電圧指令値選択ステップとを更に備えたことを特徴とする、回転機の制御方法。
In receiving a current command value input for controlling a rotating machine and outputting a voltage command value to an inverter connected to the rotating machine, the current value detected from the rotating machine and the inverter A current prediction step for predicting the current value flowing through the rotating machine in the next control cycle based on the current voltage command value being output, and at least the current prediction value predicted in this current prediction step and the current command value. a first voltage command generation step of calculating and outputting a voltage command value in the next control cycle to be output to the inverter based on
When a change in the current command value is requested between one control cycle and the next control cycle, at the time of the change request, at least based on the current prediction value predicted in the current prediction step and the changed current command value a second voltage command generation step of recalculating the voltage command value in the next control cycle to be output to the inverter;
and a voltage command value selection step of selecting the voltage command value calculated again in the second voltage command generation step as the voltage command value when a change in the current command value is requested. and a method for controlling a rotating machine.
JP2018159842A 2018-08-29 2018-08-29 Rotating machine control device and control method Active JP7212243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018159842A JP7212243B2 (en) 2018-08-29 2018-08-29 Rotating machine control device and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018159842A JP7212243B2 (en) 2018-08-29 2018-08-29 Rotating machine control device and control method

Publications (2)

Publication Number Publication Date
JP2020036422A JP2020036422A (en) 2020-03-05
JP7212243B2 true JP7212243B2 (en) 2023-01-25

Family

ID=69668861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018159842A Active JP7212243B2 (en) 2018-08-29 2018-08-29 Rotating machine control device and control method

Country Status (1)

Country Link
JP (1) JP7212243B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001245499A (en) 2000-02-28 2001-09-07 Hitachi Ltd Motor control apparatus and control apparatus of electric rolling stock
JP2002252991A (en) 2001-02-26 2002-09-06 Matsushita Electric Ind Co Ltd Motor control apparatus
JP2009142112A (en) 2007-12-07 2009-06-25 Yaskawa Electric Corp Motor controller and its control method
JP2010252433A (en) 2009-04-10 2010-11-04 Denso Corp Device for control of rotary machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001245499A (en) 2000-02-28 2001-09-07 Hitachi Ltd Motor control apparatus and control apparatus of electric rolling stock
JP2002252991A (en) 2001-02-26 2002-09-06 Matsushita Electric Ind Co Ltd Motor control apparatus
JP2009142112A (en) 2007-12-07 2009-06-25 Yaskawa Electric Corp Motor controller and its control method
JP2010252433A (en) 2009-04-10 2010-11-04 Denso Corp Device for control of rotary machine

Also Published As

Publication number Publication date
JP2020036422A (en) 2020-03-05

Similar Documents

Publication Publication Date Title
JP4811495B2 (en) Rotating machine control device
JP4915439B2 (en) Rotating machine control device
JP5549384B2 (en) Electric motor control device and electric motor control system
JP5510842B2 (en) Three-phase motor control device, three-phase motor system, three-phase motor control method and program
JP5178768B2 (en) AC rotating machine control device and electric power steering control device
JP5182302B2 (en) Rotating machine control device
EP1460758A2 (en) Vector control method and apparatus
JP6374037B2 (en) Motor control device
JP5737093B2 (en) Rotating machine control device
JPWO2014167667A1 (en) Rotating machine control device
JP2019083672A (en) Inverter, and drive control method for motor
JP4763329B2 (en) Control device for power converter
JP7212243B2 (en) Rotating machine control device and control method
JP2004120834A (en) Controller of dc brushless motor
JP6424773B2 (en) Control device of AC rotating electric machine
JP5678837B2 (en) Rotating machine control device
JP6604436B2 (en) Motor control device and control method
JP2011234581A (en) Control unit of rotary machine
JP5556054B2 (en) AC motor control device
JP6424774B2 (en) Control device of AC rotating electric machine
JP7311759B2 (en) Rotating machine control device
JP2013038946A (en) Control unit for rotary machine
JP2010063311A (en) Controller for rotary machine
JP7032514B2 (en) AC rotating machine control device and electric power steering control device
JP2019213309A (en) Control method of winding field magnetic type synchronous motor, and control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210608

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220620

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221128

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221226

R150 Certificate of patent or registration of utility model

Ref document number: 7212243

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150