JP4455070B2 - Motor control device, motor control method, and computer program - Google Patents
Motor control device, motor control method, and computer program Download PDFInfo
- Publication number
- JP4455070B2 JP4455070B2 JP2004015353A JP2004015353A JP4455070B2 JP 4455070 B2 JP4455070 B2 JP 4455070B2 JP 2004015353 A JP2004015353 A JP 2004015353A JP 2004015353 A JP2004015353 A JP 2004015353A JP 4455070 B2 JP4455070 B2 JP 4455070B2
- Authority
- JP
- Japan
- Prior art keywords
- motor
- reference signal
- period
- analog
- resolver
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Description
本発明は、モータの回転位置を検出して、前記モータの巻線に通電する電流をPWM変調して制御するモータ制御装置及び制御方法、並びにそのような制御をコンピュータに実行させるプログラムに関する。 The present invention relates to a motor control device and a control method for detecting the rotational position of a motor and controlling the current supplied to the motor winding by PWM modulation, and a program for causing a computer to execute such control.
ブラシレスモータを通電制御するモータ制御装置の場合、通電相を最適化するためにブラシレスモータの回転位置を検出する必要がある。回転位置の検出手段としてホールICを使用するのが一般的であるが、1回転中のトルク変動を極力抑制したい場合やブラシレスモータの停止位置を制御する場合などには、レゾルバを使用することが適切である。
回転位置を検出する手段としてレゾルバを使用する際、レゾルバの出力信号から回転位置を得るには変換手段が必要となるが、この手段としては、専用のレゾルバ/デジタル変換IC(例えば多摩川精機製の“AU6802”)が良く知られている。この変換ICを用いた場合の構成例を図7に示す。
In the case of a motor control device that controls energization of a brushless motor, it is necessary to detect the rotational position of the brushless motor in order to optimize the energization phase. In general, a Hall IC is used as a means for detecting the rotational position, but a resolver may be used when it is desired to suppress torque fluctuation during one rotation as much as possible or when the stop position of the brushless motor is controlled. Is appropriate.
When a resolver is used as a means for detecting the rotational position, a conversion means is required to obtain the rotational position from the output signal of the resolver. As this means, a dedicated resolver / digital conversion IC (for example, manufactured by Tamagawa Seiki) “AU6802”) is well known. A configuration example in the case of using this conversion IC is shown in FIG.
ブラシレスモータ1に取り付けられたレゾルバ2の励磁コイルには、制御装置30を構成する変換IC16に内蔵された発振器14による励磁信号が、増幅器12を介して入力される。レゾルバ2の出力コイルである余弦コイル及び正弦コイルの出力信号は、変換IC16に内蔵される差動増幅器13を介してレゾルバ/デジタル(R/D)変換器15に入力され、ここで例えば12ビットのデジタル信号に変換される。マイコン31は、これらのデジタル信号を入力ポートから読み込むことによりモータ1の回転位置情報を得ている。
An excitation signal from the
専用の変換ICを用いることなく回転位置を検出する技術として、特許文献1に開示された構成を図8に示す。制御装置40には励磁信号発生器14及び増幅器12が設けられ、レゾルバ2の励磁コイルが励磁される。余弦コイル及び正弦コイルの出力信号は、差動増幅器13を介した後、同期検波回路17及びローパスフィルタ18を介してマイコン41のアナログ/デジタル変換器(以下、A/D変換器)22cに入力される。この際、交流成分を含む余弦コイル及び正弦コイルの出力信号は、同期検波回路17及びローパスフィルタ18により直流成分に変換されている。マイコン41は、これらのA/D変換結果と変換テーブルに基づいてモータ1の回転位置を検出している。
図7に示すように専用の変換ICを使用する構成では、精度の高い位置情報を得ることが出来るが、変換ICが高コストであるという問題点がある。また、特許文献1に開示された構成では、ローパスフィルタ18を使用するためモータ制御の応答性が悪くなるという問題がある。
本発明は上記事情に鑑みてなされたものであり、その目的は、レゾルバを使用したモータの回転位置検出を、低コストで且つ制御応答性の良い構成で実現することを可能としたモータ制御装置、及びモータの制御方法並びにコンピュータプログラムを提供することにある。
As shown in FIG. 7, in the configuration using a dedicated conversion IC, it is possible to obtain position information with high accuracy, but there is a problem that the conversion IC is expensive. Moreover, in the structure disclosed by
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a motor control device capable of realizing the rotational position detection of a motor using a resolver with a low-cost and good control response configuration. And a motor control method and a computer program.
上記目的を達成するため、本発明のモータ制御装置は、モータの回転位置を検出し、前記モータの巻線に通電する電流をPWM変調して制御するものにおいて、
電流制御周期のn倍(nは自然数)又は前記PWM変調に使用する搬送波周期のn倍に同期した励磁基準信号を形成及び出力し、前記モータ側に配置されているレゾルバに供給する基準信号形成手段と、
前記レゾルバによって出力される正弦波信号及び余弦波信号を、前記電流制御周期又は前記搬送波周期のn/2倍に同期して且つ前記励磁基準信号の周期よりも速い周期でアナログ/デジタル変換し、連続する2回のアナログ/デジタル変換結果を演算することで、前記モータの回転位置を得る演算手段とを備えることを特徴とする。
In order to achieve the above object, the motor control device of the present invention detects the rotational position of the motor, and performs PWM modulation to control the current supplied to the winding of the motor.
Forming and outputting an excitation reference signal synchronized with n times the current control period (n is a natural number) or n times the carrier wave period used for the PWM modulation, and supplying a reference signal to the resolver disposed on the motor side Means,
The sine wave signal and cosine wave signal output by the resolver are analog / digital converted in synchronization with the current control period or n / 2 times the carrier wave period and at a period faster than the excitation reference signal period, Computation means for obtaining the rotational position of the motor by computing two consecutive analog / digital conversion results is provided.
即ち、レゾルバによって出力される正弦波信号と余弦波信号の振幅は、モータ(ロータ)の回転位置に応じて変化する。そこで、レゾルバに供給する励磁基準信号を、モータ巻線に対する通電を制御するための電流制御周期又はPWM搬送波周期のn倍に同期させて形成し、且つ、演算手段が、電流制御周期又はPWM搬送波周期のn/2倍に同期して且つ励磁基準信号の周期よりも速い周期で正弦波信号及び余弦波信号をアナログ/デジタル変換し、連続する2回のアナログ/デジタル変換結果を演算すれば、正弦波信号及び余弦波信号の交流的な振幅変化が反映した値を得ることができる。そして、それらの演算結果を用いれば、ロータの回転位置を得ることができる。 That is, the amplitudes of the sine wave signal and cosine wave signal output by the resolver change according to the rotational position of the motor (rotor). Therefore, the excitation reference signal to be supplied to the resolver is formed in synchronization with the current control period for controlling the energization of the motor windings or n times the PWM carrier wave period , and the calculation means has the current control period or the PWM carrier wave. If the sine wave signal and the cosine wave signal are analog / digital converted in synchronization with n / 2 times the cycle and faster than the cycle of the excitation reference signal, and two consecutive analog / digital conversion results are calculated, A value reflecting the alternating amplitude change of the sine wave signal and the cosine wave signal can be obtained. And if those calculation results are used, the rotational position of the rotor can be obtained.
本発明のモータ制御装置によれば、レゾルバの出力信号を変換するためのICを用いることなく、また、特許文献1とは異なりレゾルバの出力信号にローパスフィルタを介すことなく、低コストで且つ制御応答性の良い構成でロータの回転位置を検出することができる。
According to the motor control device of the present invention, an IC for converting the output signal of the resolver is not used, and unlike the
以下、本発明の一実施例について図1乃至図6を参照して説明する。モータ制御装置の構成を示す図1において、制御装置20は、ブラシレスモータ1の巻線に流れる電流を検出するための電流検出回路5を備えおり、電流検出回路5の出力端子は、マイクロコンピュータ(マイコン,演算手段)21に内蔵のA/D変換器22aに接続されている。電流検出回路5は、例えばインバータ主回路3の下アームとグランドとの間に挿入されるシャント抵抗の端子電圧を検出するように構成される。
An embodiment of the present invention will be described below with reference to FIGS. In FIG. 1 showing the configuration of the motor control device, the control device 20 includes a
インバータ主回路3は、例えば6個のMOSFETを三相ブリッジ接続して構成されている。マイコン21内蔵のPWM回路23の6本の出力端子は、ゲートドライブ回路4を介して、インバータ主回路3を構成する各FETのゲートに夫々接続されている。そして、インバータ主回路3により、ブラシレスモータ1の三相巻線に対してPWM電圧を供給する構成となっている。
The inverter
マイコン21は、後述する電流制御処理に同期したクロック信号S1を出力し、そのクロック信号S1は、励磁信号S2(励磁基準信号)を形成する同期励磁信号形成回路(基準信号形成手段)11に与えられている。励磁信号S2は、増幅器12を介して、ブラシレスモータ1に取り付けられたレゾルバ2の励磁コイルに供給される。
レゾルバ2の出力コイルである余弦コイルと正弦コイルとは差動増幅器13の入力端子(+,−)に夫々接続されており、差動増幅器13の出力信号は、余弦信号S3及び正弦信号S4としてマイコン21のA/D変換器22cに与えられている。また、マイコン21は、内部のメモリ24に制御プログラム(コンピュータプログラム)25が記憶されており、そのプログラム25に基づいて処理を実行するようになっている。
The microcomputer 21 outputs a clock signal S1 synchronized with a current control process to be described later, and the clock signal S1 is given to a synchronous excitation signal forming circuit (reference signal forming means) 11 for forming an excitation signal S2 (excitation reference signal). It has been. The excitation signal S2 is supplied to the excitation coil of the
The cosine coil and sine coil, which are output coils of the
図2は、同期励磁信号形成回路11の構成を示すものである。入力されるクロック信号S1は、高調波を除去するための抵抗とコンデンサからなるローパスフィルタ50,51,52とバッファ用のオペアンプ53を介した後、増幅器54に供給される。増幅器54内のコンデンサC1は,基準電位Vrに対する直流成分を除去するために挿入されている。そして、抵抗R1,R2とコンデンサC2によって、出力信号である励磁信号S2の振幅と位相とが調整される。
FIG. 2 shows the configuration of the synchronous excitation
次に、本実施例の作用について図3乃至図6も参照して説明する。図3は、マイコン21がPWM回路23の動作に同期して実行するPWM割込み処理を示すフローチャートである。PWM割込み処理は、例えば50μ秒周期で実行される。マイコン21は、ステップS1で割込み処理回数をカウントし、続くステップS2では、そのカウント値が奇数か偶数かによって処理を2つの経路に分岐させる。 Next, the operation of this embodiment will be described with reference to FIGS. FIG. 3 is a flowchart showing a PWM interrupt process executed by the microcomputer 21 in synchronization with the operation of the PWM circuit 23. The PWM interrupt process is executed, for example, at a cycle of 50 μsec. The microcomputer 21 counts the number of interrupt processing in step S1, and in subsequent step S2, the process is branched into two paths depending on whether the count value is odd or even.
ステップS2でカウント値が奇数の場合、ステップS3に移行して同期励磁信号形成回路11に対して出力するクロック信号S1をハイレベルとする。そして、ステップS4でA/D変換器22cによる余弦信号S3及び正弦信号S4のデータ読み込みを実行する。この時、A/D変換結果は、夫々データD1,D2としてメモリ24に記憶される。次のステップS5では、A/D変換器22aによる電流検出回路5の検出結果の読み込みを実行する。これにより、ブラシレスモータ1の各相の巻線電流Iu,Iv,Iwが認識される。
When the count value is an odd number in step S2, the process proceeds to step S3 and the clock signal S1 output to the synchronous excitation
尚、本実施例では、制御装置20は所謂ベクトル制御により電流の制御を行っており、ステップS6では、後述する回転位置演算結果に基づいて、巻線電流Iu,Iv,Iwをd(direct)軸,q(quadrature)軸の電流Id,Iqに変換する。ステップS7では、変換した電流Id,Iqと電流指令Idr,Iqrとの差に基づいて比例積分(PI)制御を行い、電圧Vd,Vqを決定する。ステップS8では、電圧Vd,Vqから後述する回転位置演算結果に基づいてブラシレスモータ1に印加する各相の電圧Vu,Vv,Vwを計算し、PWM回路23に出力する。
即ち、ステップS5〜S8の処理によって、モータ電流が検出され、指令値との比較結果により電圧が決定される電流制御動作が実行されるようになっている。つまり、図3のフローチャートがPWM変調の搬送波周期で実行されるのに対して、電流制御はその2倍の周期で実行されている。
In this embodiment, the control device 20 controls the current by so-called vector control. In step S6, the winding currents Iu, Iv, Iw are set to d (direct) based on the rotational position calculation result described later. Conversion into currents Id and Iq of the axis and q (quadrature) axis. In step S7, proportional-integral (PI) control is performed based on the difference between the converted currents Id and Iq and the current commands Idr and Iqr to determine the voltages Vd and Vq. In step S8, the voltages Vu, Vv, Vw of each phase applied to the
That is, the current control operation in which the motor current is detected and the voltage is determined based on the comparison result with the command value is executed by the processing in steps S5 to S8. That is, while the flowchart of FIG. 3 is executed in the PWM carrier wave period, the current control is executed in twice that period.
一方、ステップS2でカウント値が遇数の場合はステップS9に移行する。ステップS9では、同期励磁信号形成回路11に出力するクロック信号S1をローレベルとする。即ち、ステップS3,S9により、クロック信号S1はPWM変調の搬送波周期毎に反転されるため、搬送波周期に対して2倍周期の信号となる。続くステップS10では、A/D変換器22cによる余弦信号S3及び正弦信号S4のデータ読み込みを実行する。この場合も、A/D変換結果は夫々データD3,D4としてメモリ24に記憶される。
On the other hand, if the count value is a treatment number in step S2, the process proceeds to step S9. In step S9, the clock signal S1 output to the synchronous excitation
次のステップS11では、まず、余弦信号S3及び正弦信号S4の振幅に相当するデータとなる、A/D変換結果の差を求める。以下に、その詳細を説明する。先ず、ステップS4にて取得したデータD1,D2と、ステップS9にて取得したデータD3,D4との差を求め、余弦データDx,正弦データDyとする。
Dx=D1―D3
Dy=D2―D4
次に、これらのデータDx,Dyの関係から、図4に示すように8つのパターンに区別して異なる演算を実行することで、モータ1の回転位置Θを求める。
[パターン1]Dx≧0 且つ Dy≧0 且つ |Dx|≧|Dy|
回転位置Θ=arctan(Dy/Dx)
[パターン2]Dx≧0 且つ Dy≧0 且つ |Dy|≧|Dx|
回転位置Θ=π/2−arctan(Dx/Dy)
[パターン3]Dx<0 且つ Dy≧0 且つ |D|y≧|Dx|
回転位置Θ=π/2+arctan(Dx/Dy)
[パターン4]Dx<0 且つ Dy≧0 且つ |Dx|≧|Dy|
回転位置Θ=π−arctan(Dy/Dx)
[パターン5]Dx<0 且つ Dy<0 且つ |Dx|≧|Dy|
回転位置Θ=π+arctan(Dy/Dx)
[パターン6]Dx<0 且つ Dy<0 且つ |Dy|≧|Dx|
回転位置Θ=−π/2−arctan(Dx/Dy)
[パターン7]Dx≧0 且つ Dy<0 且つ |Dy|≧|Dx|
回転位置Θ=−π/2+arctan(Dx/Dy)
[パターン8]Dx≧0 且つ Dy<0 且つ |Dx|≧|Dy|
回転位置Θ=−arctan(Dy/Dx)
ここで、図4に示すように、Dx,Dyの2次元座標における単位円を1/2象限(π/4)ずつ区切ることで8パターンに区別しているのは、関数arctan(アークタンジェント)の計算ではπ/2付近の計算精度が悪くなることから、その領域を避けて、0〜π/4の範囲のみを使用して計算を行うためである。
In the next step S11, first, a difference between A / D conversion results, which is data corresponding to the amplitudes of the cosine signal S3 and the sine signal S4, is obtained. The details will be described below. First, the difference between the data D1 and D2 acquired in step S4 and the data D3 and D4 acquired in step S9 is obtained and set as cosine data Dx and sine data Dy.
Dx = D1-D3
Dy = D2-D4
Next, based on the relationship between these data Dx and Dy, the rotational position Θ of the
[Pattern 1] Dx ≧ 0 and Dy ≧ 0 and | Dx | ≧ | Dy |
Rotation position Θ = arctan (Dy / Dx)
[Pattern 2] Dx ≧ 0 and Dy ≧ 0 and | Dy | ≧ | Dx |
Rotation position Θ = π / 2-arctan (Dx / Dy)
[Pattern 3] Dx <0 and Dy ≧ 0 and | D | y ≧ | Dx |
Rotation position Θ = π / 2 + arctan (Dx / Dy)
[Pattern 4] Dx <0 and Dy ≧ 0 and | Dx | ≧ | Dy |
Rotation position Θ = π-arctan (Dy / Dx)
[Pattern 5] Dx <0 and Dy <0 and | Dx | ≧ | Dy |
Rotation position Θ = π + arctan (Dy / Dx)
[Pattern 6] Dx <0 and Dy <0 and | Dy | ≧ | Dx |
Rotation position Θ = -π / 2-arctan (Dx / Dy)
[Pattern 7] Dx ≧ 0 and Dy <0 and | Dy | ≧ | Dx |
Rotation position Θ = -π / 2 + arctan (Dx / Dy)
[Pattern 8] Dx ≧ 0 and Dy <0 and | Dx | ≧ | Dy |
Rotation position Θ = -arctan (Dy / Dx)
Here, as shown in FIG. 4, the unit circle in the two-dimensional coordinates of Dx and Dy is divided into ½ quadrants (π / 4) and divided into 8 patterns. The function arctan (arc tangent) This is because the calculation accuracy near π / 2 is deteriorated in the calculation, and the calculation is performed using only the range of 0 to π / 4 while avoiding that region.
即ち、マイコン21は、ステップS10及びS11により、レゾルバの出力信号をPWM周期でA/D変換し、ステップS1,S9において連続する2回のA/D変換結果に基づいた演算で回転位置Θを得ている。図5には、余弦データDx,正弦データDyと回転位置Θの関係を示している。これら2つのデータDx,Dyの値を参照することで、回転位置Θを一意に決定することができる。 That is, the microcomputer 21 performs A / D conversion on the output signal of the resolver at the PWM cycle in steps S10 and S11, and calculates the rotational position Θ by calculation based on two consecutive A / D conversion results in steps S1 and S9. It has gained. FIG. 5 shows the relationship between cosine data Dx, sine data Dy, and rotational position Θ. The rotational position Θ can be uniquely determined by referring to the values of these two data Dx and Dy.
次に、図6のタイミングチャートを参照して、図3のフローチャートに基づく回転位置検出動作について説明する。図6(a)は、PWM回路23によって出力されるPWM信号の一例を示しており、このPWM信号の搬送波周期と同期してマイコン21の割込み処理が図6(b)の様に発生する。割込み処理では、前述したようにステップS1,S9における処理により、クロック信号S1が出力される(図6(c)参照)。また、電流制御はPWM搬送波周期の倍の周期で行われているので、図6(a)に示すPWM信号のパルス幅は1回おきに変化している。 Next, the rotational position detection operation based on the flowchart of FIG. 3 will be described with reference to the timing chart of FIG. FIG. 6A shows an example of a PWM signal output by the PWM circuit 23, and the interrupt processing of the microcomputer 21 is generated as shown in FIG. 6B in synchronization with the carrier wave cycle of the PWM signal. In the interrupt process, as described above, the clock signal S1 is output by the processes in steps S1 and S9 (see FIG. 6C). In addition, since the current control is performed with a period twice the PWM carrier period, the pulse width of the PWM signal shown in FIG. 6A changes every other time.
同期励磁信号形成回路11により図6(d)に示す励磁信号S2が形成されるが、ここでは時間t1の遅れを与えている。これは、後述するA/D変換タイミングを余弦信号S3や正弦信号S4の最大振幅タイミングと一致させるためである。励磁信号S2は増幅器12を介してレゾルバ2の励磁コイルに印加される。そして、レゾルバ2の出力コイルからは、差動増幅器13を介して余弦信号S3と(図6(e)参照)正弦信号S4(図6(f)参照)とがマイコン21に与えられる。
The excitation signal S2 shown in FIG. 6D is formed by the synchronous excitation
割込み処理におけるステップS4,S10では、図6(e),(f)及び(g)に示すタイミングでA/D変換動作が行われ、余弦信号S3についてはデータD1,D3が図示のように取り込まれ、その差が余弦データDxとなる(図6(h)参照)。また、余弦信号S4についてはデータD2,D4が図示の様に取り込まれ、その差が正弦データDyとなる(図6(h)参照)。 In steps S4 and S10 in the interrupt processing, an A / D conversion operation is performed at the timing shown in FIGS. 6E, 6F, and 6G, and data D1 and D3 are fetched as shown in the figure for the cosine signal S3. The difference becomes cosine data Dx (see FIG. 6H). As for the cosine signal S4, the data D2 and D4 are taken as shown in the figure, and the difference becomes the sine data Dy (see FIG. 6H).
以上のように本実施例によれば、マイコン21は、PWM変調における搬送波周期の2倍の周期を有するクロック信号S1を出力し、同期励磁信号形成回路11は、そのクロック信号S1を低域濾波することで正弦波状の励磁信号S2を形成する。そして、マイコン21は、モータ1に配置されたレゾルバ2によって出力される余弦信号S3及び正弦信号S4を搬送波周期に同期してA/D変換すると、連続する2回のA/D変換結果の差により余弦データDx,正弦データDyを得て、関数arctanを用いてロータの回転位置Θを演算するようにした。
As described above, according to the present embodiment, the microcomputer 21 outputs the clock signal S1 having a period twice the carrier wave period in PWM modulation, and the synchronous excitation
即ち、この場合、マイコン21がA/D変換を行う周期はPWM変調の搬送周期に等しいので、励磁信号S2並びに余弦信号S3及び正弦信号S4の周期に対しては1/2の周期となり、余弦信号S3及び正弦信号S4の交流的な振幅変化が最大値,最小値を示す付近でA/D変換を行うことができる。従って、レゾルバ2の出力信号を変換するための専用ICを用いることなく、また、特許文献1とは異なりレゾルバ2の出力信号にローパスフィルタを介すことなく、低コストで且つ制御応答性の良い構成で回転位置Θを検出することができる。
That is, in this case, since the period in which the microcomputer 21 performs the A / D conversion is equal to the PWM modulation carrier period, the period of the excitation signal S2, the cosine signal S3, and the sine signal S4 is ½. A / D conversion can be performed in the vicinity where the AC amplitude change of the signal S3 and the sine signal S4 shows the maximum value and the minimum value. Therefore, a dedicated IC for converting the output signal of the
そして、マイコン21がPWM制御周期に同期したクロック信号S1を出力し、同期励磁信号形成回路11が励磁信号S2を形成するので、マイコン21は、電流制御処理とA/D変換処理、及び回転位置検出演算を一連の動作で実行することが可能となるから、同期制御が容易となり、プログラムの負担を軽減することができる。また、マイコン21は、A/D変換して得られる正弦波データ及び余弦波データの正負及び大小関係により、8つの異なるパターンに区別して演算を行なうので、関数arctanを用いた演算を精度良く実行することができる。
Since the microcomputer 21 outputs the clock signal S1 synchronized with the PWM control cycle and the synchronous excitation
本発明は上記し且つ図面に記載した実施例にのみ限定されるものではなく、以下のような変形又は拡張が可能である。
励磁基準信号は、PWM制御周期のn(nは自然数)倍の周期となるように形成すれば良く、それ対して余弦信号及び正弦信号をA/D変換する周期は、PWM制御周期のn/2倍とすれば良い。
The present invention is not limited to the embodiments described above and shown in the drawings, and the following modifications or expansions are possible.
The excitation reference signal may be formed so as to have a period n (n is a natural number) times the PWM control period. On the other hand, the period for A / D converting the cosine signal and the sine signal is n / of the PWM control period. Just double it.
また、励磁基準信号を、電流制御周期を基準としてそのn(nは自然数)倍の周期にする場合、A/D変換周期は電流制御周期のn/2倍とすれば良い。
電流制御処理の同期基準となるクロック信号を出力する回路は、マイコン21の外部に存在しても良い。
計算精度の高さが要求されない場合には、関数arctanを用いた演算を8つのパターンに区別して行なう必要はない。
In addition, when the excitation reference signal is set to a cycle that is n (n is a natural number) times the current control cycle as a reference, the A / D conversion cycle may be set to n / 2 times the current control cycle.
A circuit that outputs a clock signal serving as a synchronization reference for current control processing may exist outside the microcomputer 21.
When high calculation accuracy is not required, it is not necessary to perform the calculation using the function arctan in eight patterns.
図面中、1はブラシレスモータ、2はレゾルバ、11は同期励磁信号形成回路、12は増幅器、21はマイクロコンピュータ、23はPWM回路、25は制御プログラムを示す。 In the drawings, 1 is a brushless motor, 2 is a resolver, 11 is a synchronous excitation signal forming circuit, 12 is an amplifier, 21 is a microcomputer, 23 is a PWM circuit, and 25 is a control program.
Claims (13)
電流制御周期のn倍(nは自然数)に同期した励磁基準信号を形成及び出力して、前記モータ側に配置されているレゾルバに供給する基準信号形成手段と、
前記レゾルバによって出力される正弦波信号及び余弦波信号を、前記電流制御周期のn/2倍に同期して且つ前記励磁基準信号の周期よりも速い周期でアナログ/デジタル変換し、連続する2回のアナログ/デジタル変換結果を演算することで、前記モータの回転位置を得る演算手段とを備えることを特徴とするモータ制御装置。 In the motor control device that detects the rotational position of the motor and controls the current applied to the winding of the motor by PWM modulation,
A reference signal forming means for forming and outputting an excitation reference signal synchronized with n times the current control period (n is a natural number) and supplying the excitation reference signal to a resolver disposed on the motor side;
The sine wave signal and the cosine wave signal output by the resolver are analog / digital converted in synchronization with n / 2 times the current control period and at a period faster than the excitation reference signal period, and two consecutive times A motor control device comprising: a calculation means for obtaining the rotational position of the motor by calculating the analog / digital conversion result of the motor.
前記PWM変調に使用する搬送波周期のn倍(nは自然数)に同期した励磁基準信号を形成及び出力して、前記モータ側に配置されているレゾルバに供給する基準信号形成手段と、
前記レゾルバによって出力される正弦波信号及び余弦波信号を、前記搬送波周期のn/2倍に同期して且つ前記励磁基準信号の周期よりも速い周期でアナログ/デジタル変換し、連続する2回のアナログ/デジタル変換結果を演算することで、前記モータの回転位置を得る演算手段とを備えることを特徴とするモータ制御装置。 In the motor control device that detects the rotational position of the motor and controls the current applied to the winding of the motor by PWM modulation,
A reference signal forming means for forming and outputting an excitation reference signal synchronized with n times (n is a natural number) of a carrier wave period used for the PWM modulation, and supplying the excitation reference signal to a resolver disposed on the motor side;
A sine wave signal and cosine wave signal output by the previous SL resolver, the analog / digital conversion at a faster cycle than the cycle of the carrier wave period of n / 2 times in synchronization with and the excitation reference signal, two consecutive A motor control device comprising: a calculation means for obtaining the rotational position of the motor by calculating the analog / digital conversion result of the motor.
前記基準信号形成手段は、前記クロック信号に同期した励磁基準信号を形成するように構成されていることを特徴とする請求項1記載のモータ制御装置。 The arithmetic means outputs a clock signal synchronized with n times the current control period,
2. The motor control device according to claim 1, wherein the reference signal forming means is configured to form an excitation reference signal synchronized with the clock signal .
前記基準信号形成手段は、前記クロック信号に同期した励磁基準信号を形成するように構成されていることを特徴とする請求項2記載のモータ制御装置。 The arithmetic means outputs a clock signal synchronized with n times the carrier wave period,
3. The motor control device according to claim 2, wherein the reference signal forming unit is configured to form an excitation reference signal synchronized with the clock signal.
電流制御周期のn倍(nは自然数)に同期した励磁基準信号を形成して、前記モータ側に配置されているレゾルバに供給し、
前記レゾルバによって出力される正弦波信号及び余弦波信号を、前記電流制御周期のn/2倍に同期して且つ前記励磁基準信号の周期よりも速い周期でアナログ/デジタル変換し、連続する2回のアナログ/デジタル変換結果を演算して前記モータの回転位置を得ることを特徴とするモータ制御方法。 In the motor control method for detecting the rotational position of the motor and controlling the current applied to the winding of the motor by PWM modulation,
An excitation reference signal synchronized with n times the current control period (n is a natural number) is formed and supplied to a resolver arranged on the motor side,
The sine wave signal and the cosine wave signal output by the resolver are analog / digital converted in synchronization with n / 2 times the current control period and at a period faster than the excitation reference signal period , and two consecutive times features and to makes the chromophore at the distal end over motor control method that analog / digital conversion result by computing the obtaining a rotational position of the motor.
前記PWM変調に使用する搬送波周期のn倍(nは自然数)に同期した励磁基準信号を形成して、前記モータ側に配置されているレゾルバに供給し、
前記レゾルバによって出力される正弦波信号及び余弦波信号を、前記搬送波周期のn/2倍に同期して且つ前記励磁基準信号の周期よりも速い周期でアナログ/デジタル変換し、連続する2回のアナログ/デジタル変換結果を演算して前記モータの回転位置を得ることを特徴とするモータ制御方法。 In the motor control method for detecting the rotational position of the motor and controlling the current applied to the winding of the motor by PWM modulation,
Form an excitation reference signal synchronized with n times the carrier wave period used for the PWM modulation (n is a natural number), and supply it to the resolver arranged on the motor side,
The sine wave signal and cosine wave signal output by the resolver are analog / digital converted in synchronization with n / 2 times the carrier wave period and at a period faster than the excitation reference signal period. A motor control method characterized in that the rotational position of the motor is obtained by calculating an analog / digital conversion result .
電流制御周期のn倍(nは自然数)に同期した励磁基準信号を形成させて、前記モータ側に配置されているレゾルバに供給させ、
前記レゾルバによって出力される正弦波信号及び余弦波信号を、前記電流制御周期のn/2倍に同期して且つ前記励磁基準信号の周期よりも速い周期でアナログ/デジタル変換させ、
連続する2回のアナログ/デジタル変換結果を演算させることで、前記モータの回転位置を得るように処理させることを特徴とするコンピュータプログラム。 A program that is executed by a computer that detects the rotational position of the motor and controls the current applied to the winding of the motor by PWM modulation,
An excitation reference signal synchronized with n times the current control cycle (n is a natural number) is formed and supplied to a resolver arranged on the motor side,
The sine wave signal and the cosine wave signal output by the resolver are analog / digital converted in synchronization with n / 2 times the current control period and with a period faster than the period of the excitation reference signal ,
It is to calculating the two analog / digital conversion result continuous, features and to Turkey computer program that is processed so as to obtain a rotational position of the motor.
前記PWM変調に使用する搬送波周期のn倍(nは自然数)に同期した励磁基準信号を形成させて、前記モータ側に配置されているレゾルバに供給させ、
前記レゾルバによって出力される正弦波信号及び余弦波信号を、前記搬送波周期のn/2倍に同期して且つ前記励磁基準信号の周期よりも速い周期でアナログ/デジタル変換させ、
連続する2回のアナログ/デジタル変換結果を演算させることで、前記モータの回転位置を得るように処理させることを特徴とするコンピュータプログラム。 A program that is executed by a computer that detects the rotational position of the motor and controls the current applied to the winding of the motor by PWM modulation,
An excitation reference signal synchronized with n times the carrier wave period used for the PWM modulation (n is a natural number) is formed and supplied to a resolver arranged on the motor side ,
The sine wave signal and cosine wave signal output by the resolver, by the analog / digital converter at a faster cycle than the cycle of the synchronization with the n / 2 times the previous Ki搬 transmitting period and the excitation reference signal,
It is to calculating the two analog / digital conversion result continuous, features and to Turkey computer program that is processed so as to obtain a rotational position of the motor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004015353A JP4455070B2 (en) | 2004-01-23 | 2004-01-23 | Motor control device, motor control method, and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004015353A JP4455070B2 (en) | 2004-01-23 | 2004-01-23 | Motor control device, motor control method, and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005210839A JP2005210839A (en) | 2005-08-04 |
| JP4455070B2 true JP4455070B2 (en) | 2010-04-21 |
Family
ID=34900845
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004015353A Expired - Fee Related JP4455070B2 (en) | 2004-01-23 | 2004-01-23 | Motor control device, motor control method, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4455070B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112104270A (en) * | 2020-08-28 | 2020-12-18 | 中国海洋石油集团有限公司 | Motor position obtaining method and motor control system |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4950824B2 (en) * | 2007-09-28 | 2012-06-13 | 株式会社東芝 | Rotating machine control device, control system, and control method |
| JP5338110B2 (en) * | 2008-04-02 | 2013-11-13 | 日産自動車株式会社 | Motor drive device and control method thereof |
| JP5148394B2 (en) * | 2008-07-11 | 2013-02-20 | 株式会社東芝 | Microcomputer, motor control system |
| JP5494070B2 (en) * | 2010-03-18 | 2014-05-14 | シンフォニアテクノロジー株式会社 | Rotation angle detection device and motor control system equipped with the same |
| JP5183666B2 (en) * | 2010-04-14 | 2013-04-17 | 三菱電機株式会社 | Rotation position detector for brushless motor |
| JP6589106B2 (en) * | 2016-08-25 | 2019-10-16 | 有限会社ワイエスデイ | Modulated wave resolver device |
| JP7126212B2 (en) * | 2020-02-19 | 2022-08-26 | 有限会社ワイエスデイ | Driving device, modulated wave resolver device, and method for driving modulated wave resolver device |
-
2004
- 2004-01-23 JP JP2004015353A patent/JP4455070B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112104270A (en) * | 2020-08-28 | 2020-12-18 | 中国海洋石油集团有限公司 | Motor position obtaining method and motor control system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005210839A (en) | 2005-08-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4950824B2 (en) | Rotating machine control device, control system, and control method | |
| JP4434184B2 (en) | Method and apparatus for feedback control of electric motor | |
| JP3752247B2 (en) | Amplitude detection method and apparatus for high frequency impedance tracking sensorless algorithm | |
| JP5874688B2 (en) | Control device | |
| CN113866480B (en) | Detection of offset errors in phase current measurements for motor control systems | |
| CN107085193B (en) | Detection of offset errors in phase current measurements for motor control systems | |
| JP5273451B2 (en) | Motor control device | |
| JP5326742B2 (en) | AC motor control device | |
| CN108702118A (en) | Method, angle setting unit and control device | |
| JP4455070B2 (en) | Motor control device, motor control method, and computer program | |
| JP6417544B2 (en) | Motor control device and drum type washing machine or drum type washing and drying machine equipped with the same | |
| CN110999069B (en) | AC rotary electric machine control device and electric power steering control device | |
| JP5782769B2 (en) | AC motor control method and control apparatus | |
| JP4896407B2 (en) | Inverter device with magnetic pole position detection function | |
| CN112544034B (en) | Position estimation method, motor control device, and motor system | |
| JP6116449B2 (en) | Electric motor drive control device | |
| JP2009183034A (en) | Motor control device, motor control system, and motor control method | |
| JP5194545B2 (en) | Brushless motor control device | |
| JP2009100544A (en) | Motor control device | |
| CN114762239B (en) | Power conversion device | |
| JP2008220069A (en) | Electric motor control device | |
| JP5327503B2 (en) | Motor control device | |
| JP7077878B2 (en) | Motor control device | |
| JP6772844B2 (en) | AC motor control device | |
| JP2008206375A (en) | Drive unit for brushless motor, and its driving method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061228 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090916 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090929 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091130 |
|
| 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: 20100105 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100203 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130212 Year of fee payment: 3 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4455070 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130212 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140212 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |