JP5338110B2 - Motor drive device and control method thereof - Google Patents

Motor drive device and control method thereof Download PDF

Info

Publication number
JP5338110B2
JP5338110B2 JP2008095919A JP2008095919A JP5338110B2 JP 5338110 B2 JP5338110 B2 JP 5338110B2 JP 2008095919 A JP2008095919 A JP 2008095919A JP 2008095919 A JP2008095919 A JP 2008095919A JP 5338110 B2 JP5338110 B2 JP 5338110B2
Authority
JP
Japan
Prior art keywords
motor
rectangular wave
timing
resolver
motor current
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
JP2008095919A
Other languages
Japanese (ja)
Other versions
JP2009254040A (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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2008095919A priority Critical patent/JP5338110B2/en
Publication of JP2009254040A publication Critical patent/JP2009254040A/en
Application granted granted Critical
Publication of JP5338110B2 publication Critical patent/JP5338110B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Ac Motors In General (AREA)

Description

本発明は、モータに流れる電流とモータの回転位置(電気角)を検出してモータをPWM駆動するモータ駆動装置及びその制御方法に関する。   The present invention relates to a motor drive device that PWM detects a current flowing through a motor and a rotational position (electrical angle) of the motor, and a control method thereof.

モータに流れる相電流を検出する装置として、モータの各相に流れる電流を、インバータの各負側アームを構成するスイッチ素子と基準電位との間に各々負側シャント抵抗を挿入し、負側シャント抵抗の電圧降下により各相に流れる電流を検出する技術が知られている(例えば、特許文献1)。   As a device to detect the phase current flowing in the motor, the negative shunt resistor is inserted between the switch element that constitutes each negative arm of the inverter and the reference potential for the current flowing in each phase of the motor. A technique for detecting a current flowing through each phase due to a voltage drop of a resistor is known (for example, Patent Document 1).

また、モータの回転位置(電気角)を検出するモータ電気角検出装置として、レゾルバが用いられている。このレゾルバの出力信号から回転位置を得る変換手段として、デジタル信号への変換を行うR/Dコンバータを用いないR/Dコンバータレスの構成が用いられてる(例えば特許文献2)。   A resolver is used as a motor electrical angle detection device that detects the rotational position (electrical angle) of the motor. As a conversion means for obtaining the rotational position from the output signal of the resolver, an R / D converter-less configuration that does not use an R / D converter that performs conversion to a digital signal is used (for example, Patent Document 2).

R/Dコンバータレスのモータ電気角の検出方法について、簡単に説明する。レゾルバの回転子(ロータ)に設けられた励磁コイルに正弦波状の信号を印加すると、固定子(ステータ)に形成された2つの検出コイル(余弦コイル、正弦コイル)に信号が誘起される。ここで検出コイルに誘起される信号は、回転子が回転することにより、励磁信号に印加された正弦波状信号がそれぞれ余弦波、正弦波で振幅変調された信号となる。すなわち以下の様に記述することができる。   A method for detecting the motor electrical angle without an R / D converter will be briefly described. When a sinusoidal signal is applied to an excitation coil provided on a resolver rotor (rotor), a signal is induced in two detection coils (cosine coil, sine coil) formed on a stator (stator). Here, the signal induced in the detection coil is a signal in which the sine wave signal applied to the excitation signal is amplitude-modulated with a cosine wave and a sine wave, respectively, as the rotor rotates. That is, it can be described as follows.

励磁コイルの入力 sin(ωt) ωは正弦波の角速度、tは時間
検出コイルの出力 余弦コイル sin(ωt)×Acosθ
正弦コイル sin(ωt)×Asinθ θはモータ電気角、Aは定数
余弦コイル出力および正弦コイル出力から、モータ電気角θは以下の式で求められる。
Excitation coil input sin (ωt) ω is the angular velocity of the sine wave, t is the time detection coil output cosine coil sin (ωt) x Acosθ
The sine coil sin (ωt) × Asinθ θ is the motor electrical angle, A is the constant cosine coil output and the sine coil output, and the motor electrical angle θ is obtained by the following equation.

θ=tan-1{(sin(ωt)×Asinθ)/(sin(ωt)×Acosθ)}
=tan-1(sinθ/cosθ)
ただし、検出コイルの実際の出力には、励磁信号の正弦波成分が含まれている。従ってモータ電気角を検出するためには、各出力信号の包絡線波形の振幅を検出することが必要で、そのためには各出力信号のピークのタイミングで出力信号を検出する必要がある。
θ = tan-1 {(sin (ωt) × Asinθ) / (sin (ωt) × Acosθ)}
= Tan-1 (sinθ / cosθ)
However, the actual output of the detection coil includes a sine wave component of the excitation signal. Therefore, in order to detect the motor electrical angle, it is necessary to detect the amplitude of the envelope waveform of each output signal, and for this purpose, it is necessary to detect the output signal at the timing of the peak of each output signal.

さらに、モータをPWM駆動するときに、駆動回路を構成するスイッチ素子の開閉に起因した電磁放射ノイズ(EMI)を低減するために、PWMのキャリア周波数を変動させる技術が知られている(例えば、特許文献3)。
特開平6−351280号公報 特開2005−210839号公報 特開平7−99795号公報
Furthermore, when the motor is driven by PWM, a technique for changing the carrier frequency of PWM is known in order to reduce electromagnetic radiation noise (EMI) due to opening and closing of switch elements constituting the drive circuit (for example, Patent Document 3).
JP-A-6-351280 JP 2005-210839 A JP-A-7-99795

前記従来技術で説明したモータ駆動装置、すなわちモータ電流検出を負側シャント抵抗を用いて行う構成であるとともに、モータ電気角検出をレゾルバを用いてR/Dコンバータレスで行う構成の場合に、EMIを抑制するためにPWMのキャリア周波数を時間とともに変化させることを考える。   In the case of the motor driving apparatus described in the prior art, that is, the configuration in which the motor current detection is performed using the negative shunt resistor and the motor electrical angle detection is performed without using the R / D converter using the resolver, EMI In order to suppress this, consider changing the PWM carrier frequency with time.

負側シャント抵抗を用いたモータ電流検出手法では、スイッチング回路の負側アームに電流が流れているタイミング(例えば、キャリア三角波の谷(山の場合もあり)のタイミング)で電流を検出する必要がある。キャリア周波数が時間とともに変化するということは、キャリア三角波の谷のタイミングが一定間隔とはならず、変化することになる。   In the motor current detection method using the negative shunt resistor, it is necessary to detect the current at the timing when the current flows through the negative arm of the switching circuit (for example, the timing of the valley of the carrier triangular wave (may be a peak)). is there. The fact that the carrier frequency changes with time means that the timing of the troughs of the carrier triangular wave does not become constant, but changes.

一方モータ電気角の検出は、レゾルバの励磁コイルを励磁する正弦波のピークのタイミングで行わなければならないが、この正弦波信号は一定周期であることから、モータ電気角検出のタイミングは一定となる。   On the other hand, the motor electrical angle must be detected at the timing of the peak of the sine wave that excites the exciting coil of the resolver. Since this sine wave signal has a constant period, the timing of the motor electrical angle detection is constant. .

したがって、キャリア周波数を時間とともに変化させた場合、モータ電流の検出とモータ電気角の検出を常に同時に行うことは不可能となるという問題点があった。   Therefore, when the carrier frequency is changed with time, it is impossible to always detect the motor current and the motor electrical angle at the same time.

上記問題点を解決するために、本発明は、モータにPWM変調したモータ電流を供給するスイッチング回路と、スイッチング回路に設けた負側シャント抵抗を用いてモータ電流を検出するモータ電流検出手段と、レゾルバを用いてモータの電気角を検出するモータ電気角検出手段と、レゾルバを励磁するための励磁信号を生成する励磁信号生成手段と、PWM変調のキャリア周波数を変更するキャリア周波数変更手段とを有するモータ駆動装置において、励磁信号生成手段は、キャリア周波数の変更に合わせて、モータ電流検出手段によりモータ電流が検出されるタイミングに、励磁信号のピークのタイミングを一致させるように、励磁信号の位相を調整することを要旨とする。 In order to solve the above problems, the present invention provides a switching circuit for supplying a motor current PWM-modulated to a motor, a motor current detecting means for detecting a motor current using a negative shunt resistor provided in the switching circuit , Motor electrical angle detecting means for detecting the electrical angle of the motor using a resolver, excitation signal generating means for generating an excitation signal for exciting the resolver, and carrier frequency changing means for changing the carrier frequency of PWM modulation the motor drive device, excited磁信No. generating means, in accordance with the change of the carrier frequency, the timing at which the motor current is detected by the motor current detecting means, so as to match the timing of the peak of the excitation signal, the excitation signal phase The gist is to adjust.

上記構成の本発明によれば、モータ電気角の検出を行うタイミングに合わせてレゾルバの励磁信号の位相を調整することができるので、モータ電流の検出タイミングが限定され、かつモータ電気角の検出をレゾルバを用いてR/Dコンバータレスの手法で行う構成において、キャリア周波数を時間とともに変化させた場合にモータ電流検出とモータ電気角検出を同時に行うことが可能となるという効果がある。   According to the present invention configured as described above, the phase of the excitation signal of the resolver can be adjusted in accordance with the timing of detecting the motor electrical angle, so that the detection timing of the motor current is limited and the detection of the motor electrical angle is performed. In the configuration in which the resolver is used to perform the R / D converter-less technique, there is an effect that the motor current detection and the motor electrical angle detection can be performed simultaneously when the carrier frequency is changed with time.

次に、図面を参照して本発明の実施形態を詳細に説明する。図1は、本発明に係るモータ駆動装置の制御装置の実施例の構成を示すブロック図である。本実施例において、モータ駆動装置1により駆動されるモータ2は、永久磁石型3相同期モータを例に説明するが、駆動されるモータは、永久磁石型3相同期モータに限定されることはない。   Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an embodiment of a control device for a motor drive device according to the present invention. In this embodiment, the motor 2 driven by the motor driving device 1 will be described by taking a permanent magnet type three-phase synchronous motor as an example, but the driven motor is not limited to a permanent magnet type three-phase synchronous motor. Absent.

図1において、モータ駆動装置1は、モータ駆動装置の制御装置であるマイクロコンピュータ3と、モータ2へ3相電力を供給するインバータ4と、モータ2の回転位置(電気角)を検出するレゾルバ5と、矩形波から正弦波を生成する正弦波生成部であるローパスフィルタ(LPF)6とを備えている。   In FIG. 1, a motor drive device 1 includes a microcomputer 3 that is a control device for the motor drive device, an inverter 4 that supplies three-phase power to the motor 2, and a resolver 5 that detects the rotational position (electrical angle) of the motor 2. And a low-pass filter (LPF) 6 that is a sine wave generation unit that generates a sine wave from a rectangular wave.

インバータ4は、3相ブリッジ回路の各負側のスイッチ素子(負側アームとも呼ばれる)と基準電位との間に、それぞれ電流検出のための負側シャント抵抗を備えている。これらの負側シャント抵抗の電圧は、後述するマイクロコンピュータ3のモータ電流検出回路11へ入力されている。このように、本実施例では、負側シャント抵抗を用いてモータ電流の検出を行う構成とすることにより、ホール効果により電流検出を行う電流センサ等を用いて3相モータの各相電流を直接検出する場合に比べて、安価に実現することができる。   The inverter 4 includes a negative shunt resistor for current detection between each negative switch element (also referred to as a negative arm) of the three-phase bridge circuit and a reference potential. The voltages of these negative shunt resistors are input to a motor current detection circuit 11 of the microcomputer 3 described later. As described above, in this embodiment, the motor current is detected using the negative shunt resistor, so that the current of each phase of the three-phase motor is directly measured using the current sensor that detects the current by the Hall effect. Compared to the case of detection, it can be realized at a low cost.

レゾルバ5は、励磁コイル20と、検出コイル21とを備えている。励磁コイル20は、ローパスフィルタ6から与えられる正弦波状の励磁信号により励磁する。また励磁コイル20は、モータ2のロータ又は回転軸に固着され回転軸と一体に回転する。検出コイル21は、図示しない正弦コイルと余弦コイルを備え、励磁コイル20からの磁界を受けて正弦信号および余弦信号を出力する。   The resolver 5 includes an excitation coil 20 and a detection coil 21. The excitation coil 20 is excited by a sinusoidal excitation signal provided from the low-pass filter 6. The exciting coil 20 is fixed to the rotor or the rotating shaft of the motor 2 and rotates integrally with the rotating shaft. The detection coil 21 includes a sine coil and a cosine coil (not shown), receives the magnetic field from the excitation coil 20, and outputs a sine signal and a cosine signal.

マイクロコンピュータ3は、インバータ4を構成する各スイッチング素子へ駆動信号を供給するゲート信号生成部7と、レゾルバ5の検出コイル21が出力する信号のピークを検出するレゾルバ出力信号検出部13と、レゾルバ出力信号検出部13の出力に基づいてモータ電気角を演算するモータ電気角演算部14と、矩形波の立ち上がり及び立ち下がりタイミングを調整する矩形波位相調整部15と、レゾルバ励磁信号の素となる矩形波を発生する矩形波生成部16とを備えている。   The microcomputer 3 includes a gate signal generation unit 7 that supplies a drive signal to each switching element constituting the inverter 4, a resolver output signal detection unit 13 that detects a peak of a signal output from the detection coil 21 of the resolver 5, and a resolver A motor electrical angle calculation unit 14 that calculates a motor electrical angle based on the output of the output signal detection unit 13, a rectangular wave phase adjustment unit 15 that adjusts the rising and falling timings of the rectangular wave, and a source of a resolver excitation signal And a rectangular wave generator 16 for generating a rectangular wave.

ゲート信号生成部7は、PWM変調のキャリア周波数を時間経過と共に変更するキャリア周波数変更部8と、キャリア周波数変更部8が指示する周波数でキャリア波形を生成するキャリア波形生成部9と、キャリア波形と指令値とを比較してインバータのゲート信号を生成するPWM比較部10と、インバータ4から出力される負側シャント抵抗電圧に基づいてモータ電流を検出するモータ電流検出部11と、モータ電流及びモータ電気角に基づいて指令値を生成する指令値生成部12とを備えている。   The gate signal generation unit 7 includes a carrier frequency change unit 8 that changes the carrier frequency of PWM modulation with time, a carrier waveform generation unit 9 that generates a carrier waveform at a frequency indicated by the carrier frequency change unit 8, and a carrier waveform. PWM comparison unit 10 that compares the command value to generate the gate signal of the inverter, motor current detection unit 11 that detects the motor current based on the negative shunt resistance voltage output from inverter 4, motor current and motor And a command value generation unit 12 that generates a command value based on the electrical angle.

ゲート信号生成部7は、キャリア周波数変更部8で決定されるキャリア周波数のキャリア三角波をキャリア波形生成部9で発生させる。またインバータ4から出力される負側シャント抵抗電圧からモータ電流検出部11によりモータ電流を検出する。指令値生成部12は、モータ電流検出値とモータ電気角検出値を素に演算することで、指令値を生成する。その指令値とキャリア三角波とをPWM比較部10で比較し、その大小関係からインバータ4の6個のスイッチ素子のゲートに対してオンオフ信号を印加する。   The gate signal generation unit 7 causes the carrier waveform generation unit 9 to generate a carrier triangular wave having a carrier frequency determined by the carrier frequency change unit 8. Further, the motor current is detected by the motor current detection unit 11 from the negative shunt resistance voltage output from the inverter 4. The command value generation unit 12 generates a command value by computing the motor current detection value and the motor electrical angle detection value. The command value and the carrier triangular wave are compared by the PWM comparator 10, and an on / off signal is applied to the gates of the six switch elements of the inverter 4 due to the magnitude relationship.

一方マイクロコンピュータ3内部には、モータ電気角を検出するための構成として、レゾルバ出力信号検出部13、モータ電気角演算部14、矩形波位相調整部15、及び矩形波生成部16が含まれている。矩形波生成部16は、レゾルバ5の励磁信号の素になる矩形波を発生する。この信号をローパスフィルタ6を通すことで正弦波状の信号を生成する。この信号を励磁信号としてレゾルバ5の励磁コイル20に印加する。レゾルバ5の検出コイル21の出力信号(余弦信号、正弦信号)は、レゾルバ出力信号検出部13によって、励磁信号のピークのタイミングでサンプリングされる。   On the other hand, the microcomputer 3 includes a resolver output signal detection unit 13, a motor electrical angle calculation unit 14, a rectangular wave phase adjustment unit 15, and a rectangular wave generation unit 16 as a configuration for detecting the motor electrical angle. Yes. The rectangular wave generator 16 generates a rectangular wave that is a source of the excitation signal of the resolver 5. By passing this signal through the low-pass filter 6, a sine wave signal is generated. This signal is applied as an excitation signal to the excitation coil 20 of the resolver 5. The output signal (cosine signal, sine signal) of the detection coil 21 of the resolver 5 is sampled by the resolver output signal detector 13 at the peak timing of the excitation signal.

このサンプリングのタイミングは、キャリア波形生成部9から指示される。同時に、キャリア波形生成部9は、モータ電流検出部11へ負側シャント抵抗における電圧降下値のサンプリングのタイミングも指示する。モータ電流検出部11は、例えば周知のサンプル・ホールド回路とA/D変換回路とを内蔵し、負側シャント抵抗の電圧からモータ電流のディジタル値を演算する。   The sampling timing is instructed from the carrier waveform generation unit 9. At the same time, the carrier waveform generation unit 9 also instructs the motor current detection unit 11 to sample the voltage drop value at the negative shunt resistor. The motor current detection unit 11 includes, for example, a known sample and hold circuit and an A / D conversion circuit, and calculates a digital value of the motor current from the voltage of the negative shunt resistor.

モータ電気角演算部14は、レゾルバ出力信号検出部13によるサンプリング値から、モータ電気角を演算する。その演算結果であるモータ電気角の値は、指令値生成部12に入力され、指令値の演算に使用される。   The motor electrical angle calculator 14 calculates the motor electrical angle from the sampling value obtained by the resolver output signal detector 13. The value of the motor electrical angle, which is the calculation result, is input to the command value generation unit 12 and used for calculation of the command value.

次に、矩形波位相調整部15について説明する。今、PWMのキャリア周波数を時間とともに変化させる。この時、モータ電流検出とモータ電気角検出を同時に行うためには、キャリア三角波の谷のタイミングと、励磁信号のピークタイミングを一致させる必要がある。矩形波位相調整部15は、励磁信号のピークタイミングが、キャリア三角波の谷のタイミングに一致するように、励磁信号の素となる矩形波の立上り、立下りのタイミングを調整するものである。   Next, the rectangular wave phase adjustment unit 15 will be described. Now, the PWM carrier frequency is changed with time. At this time, in order to simultaneously detect the motor current and the motor electrical angle, it is necessary to make the timing of the valley of the carrier triangular wave coincide with the peak timing of the excitation signal. The rectangular wave phase adjustment unit 15 adjusts the rising and falling timings of the rectangular wave that is the source of the excitation signal so that the peak timing of the excitation signal matches the timing of the valley of the carrier triangular wave.

本実施例において、矩形波位相調整部を設けたことにより、キャリア周波数を時間とともに変化させた場合でもモータ電流検出とモータ電気角検出を同時に行うことが可能となるという効果がある。   In the present embodiment, the provision of the rectangular wave phase adjustment unit has an effect that the motor current detection and the motor electrical angle detection can be performed simultaneously even when the carrier frequency is changed with time.

図2は、(a)キャリア三角波、(b)検出タイミング、(c)励磁信号、(d)励磁信号の素となる矩形波の時間変化の例である。キャリア三角波の周期が変化すると、モータ電流の検出タイミングとモータ電気角の検出タイミングとの両方が一定ではなくなる。この例では、モータ電流とモータ電気角の検出をキャリア周期2周期毎に行っている。   FIG. 2 is an example of a time change of (a) a carrier triangular wave, (b) a detection timing, (c) an excitation signal, and (d) a rectangular wave that is a source of the excitation signal. When the period of the carrier triangular wave changes, both the motor current detection timing and the motor electrical angle detection timing are not constant. In this example, the motor current and the motor electrical angle are detected every two carrier cycles.

その検出タイミングは、キャリア三角波の谷のタイミングであるが、その検出タイミングが励磁信号のピークのタイミングと一致している。これは、一致するように励磁信号の素となる矩形波の立上り、立下りのタイミングをキャリア周期の変化に応じて調整しているからである。   The detection timing is the valley timing of the carrier triangular wave, and the detection timing coincides with the peak timing of the excitation signal. This is because the rising and falling timings of the rectangular wave that is the source of the excitation signal are adjusted according to the change in the carrier period so as to match.

図2において、Δt1d、Δt1u、Δt2d、Δt2u、Δt3d、及びΔt3uで示す各時間は、矩形波の立上り、立下りのタイミングとキャリア三角波の谷のタイミングとの時間的なずれ(調整時間)である。この時間をキャリア周波数の変化に対応させて決めることで、励磁信号のピークをキャリア三角波の谷と同時にすることができる。なおこれら調整時間は、キャリア周期と1対1の関係になっているのではなく、あるキャリア周期に対して、その前後のキャリア周期の変化がどうなっているかということにより決まる。   In FIG. 2, each time indicated by Δt1d, Δt1u, Δt2d, Δt2u, Δt3d, and Δt3u is a time lag (adjustment time) between the rising and falling timings of the rectangular wave and the timing of the valley of the carrier triangular wave. . By determining this time corresponding to the change in the carrier frequency, the peak of the excitation signal can be made simultaneously with the valley of the carrier triangular wave. Note that these adjustment times are not in a one-to-one relationship with the carrier period, but are determined by the change in the carrier period before and after a certain carrier period.

例えば、キャリア周期がTc1 →Tc1 →Tc2 →Tc2 →Tc3 →Tc3 (繰り返し)と変化する場合と、Tc2 →Tc2 →Tc1 →Tc1 →Tc3 →Tc3 (繰り返し)と変化する場合は、同じキャリア周期Tc1 での調整時間Δt1d 、t1u は異なる。従って、本実施例では、この関係、すなわちキャリア周期の時間変化と矩形波の立ち上がり、立ち下がりの調整時間との対応関係を予めマイクロコンピュータ3が内蔵する制御マップに記憶させておくこととする。   For example, if the carrier period changes from Tc1 → Tc1 → Tc2 → Tc2 → Tc3 → Tc3 (repetition) and Tc2 → Tc2 → Tc1 → Tc1 → Tc3 → Tc3 (repetition), the same carrier period Tc1 The adjustment times Δt1d and t1u are different. Therefore, in the present embodiment, this relationship, that is, the correspondence relationship between the time change of the carrier cycle and the adjustment time of the rising and falling of the rectangular wave is stored in advance in the control map built in the microcomputer 3.

この制御マップは、例えばキャリア周波数変更部8の一部として構成される。これにより、キャリア周波数の時間変化のさせ方を任意に決めた場合に、キャリア周波数変更部8から制御マップを読み出して、矩形波位相調整部15へ調整時間を指示することができる。これにより、キャリア周波数の変更に対応した矩形波の位相を容易に設定することが可能となるという効果がある。   This control map is configured as part of the carrier frequency changing unit 8, for example. Thereby, when the method of changing the carrier frequency with time is arbitrarily determined, the control map can be read from the carrier frequency changing unit 8 and the adjustment time can be instructed to the rectangular wave phase adjusting unit 15. Thereby, there is an effect that the phase of the rectangular wave corresponding to the change of the carrier frequency can be easily set.

さて、上記の様にキャリア周波数を時間とともに変化させ、それに対応して励磁信号の素になる矩形波の立上り、立下りタイミングを調整した場合、矩形波を入力した時のローパスフィルタ6の出力である励磁信号は、振幅が一定とはならない。この励磁コイル20を励磁する励磁信号の振幅の変化により、検出コイル21から出力される正弦信号及び余弦信号の振幅が変化し、結果としてモータ電気角検出の精度の悪化が懸念される。   Now, when the carrier frequency is changed with time as described above, and the rise and fall timing of the rectangular wave that is the source of the excitation signal is adjusted accordingly, the output of the low-pass filter 6 when the rectangular wave is input is Some excitation signals do not have a constant amplitude. Due to the change in the amplitude of the excitation signal for exciting the excitation coil 20, the amplitude of the sine signal and the cosine signal output from the detection coil 21 changes, and as a result, there is a concern that the accuracy of the motor electrical angle detection is deteriorated.

図3は、レゾルバ5の励磁コイル20へ、一定振幅の正弦波状の励磁信号を供給するために、振幅補正部23を備えた構成を示す図である。   FIG. 3 is a diagram illustrating a configuration including an amplitude correction unit 23 for supplying a sinusoidal excitation signal having a constant amplitude to the excitation coil 20 of the resolver 5.

図3において、矩形波発生部16から、立上り、立下りのタイミングをキャリア周期の変化に対応させて調整した矩形波が出力される。ローパスフィルタ6は、この矩形波の低周波成分のみを通過させることで正弦波状信号を生成する。この正弦波状信号は、振幅が変化するため、この信号を振幅補正部23に入力し、振幅を一定とする。振幅が一定となった正弦波状信号を励磁信号として、レゾルバ5の励磁コイル20に入力する。   In FIG. 3, the rectangular wave generator 16 outputs a rectangular wave in which rising and falling timings are adjusted in accordance with changes in the carrier cycle. The low pass filter 6 generates a sine wave signal by allowing only the low frequency component of the rectangular wave to pass therethrough. Since the amplitude of this sinusoidal signal changes, this signal is input to the amplitude correction unit 23 to keep the amplitude constant. A sinusoidal signal having a constant amplitude is input to the excitation coil 20 of the resolver 5 as an excitation signal.

このような構成とすることで、レゾルバの出力波形からモータ電気角θを求める場合の精度の低下を防止することが可能となる。   With such a configuration, it is possible to prevent a decrease in accuracy when the motor electrical angle θ is obtained from the output waveform of the resolver.

図4は、ローパスフィルタ6と励磁コイル20との間に振幅補正部23を挿入して、励磁コイルへ供給する正弦波状の励磁信号の振幅を一定とする構成例を示すブロック回路図である。この振幅補正部23は、ラジオ受信機などで用いられるオートゲインコントロール(AGC;自動利得制御)を応用したものである。   FIG. 4 is a block circuit diagram showing a configuration example in which the amplitude correction unit 23 is inserted between the low-pass filter 6 and the excitation coil 20 to make the amplitude of the sinusoidal excitation signal supplied to the excitation coil constant. The amplitude correction unit 23 is an application of auto gain control (AGC; automatic gain control) used in a radio receiver or the like.

図4において、振幅補正部23は、利得可変増幅手段である増幅器31と、増幅器31で増幅された正弦波状信号を検波する検波器32と、検波器32の出力で増幅器31の利得を制御するためのAGC回路33とを備えている。   In FIG. 4, the amplitude correction unit 23 controls the gain of the amplifier 31 by the output of the amplifier 31 that is a variable gain amplification means, the detector 32 that detects the sinusoidal signal amplified by the amplifier 31, and the output of the detector 32. AGC circuit 33 is provided.

ローパスフィルタ6の出力の正弦波状信号は、増幅器31へ入力される。増幅器31はローパスフィルタ6の出力を増幅して、励磁コイル20および検波器32へ出力する。検波器32は、増幅器31の出力を検波(整流)し、直流レベルを出力する。AGC回路33は、検波器32の出力を増幅器31の利得制御に適するように、増幅、減衰、レベルシフト等の操作を行って、増幅器31の利得制御信号を生成し、これを増幅器31へ供給する。増幅器31は、この利得制御信号により利得(増幅度)を変化させる。   The sine wave signal output from the low-pass filter 6 is input to the amplifier 31. The amplifier 31 amplifies the output of the low-pass filter 6 and outputs it to the excitation coil 20 and the detector 32. The detector 32 detects (rectifies) the output of the amplifier 31 and outputs a DC level. The AGC circuit 33 performs operations such as amplification, attenuation, and level shift so that the output of the detector 32 is suitable for the gain control of the amplifier 31, generates a gain control signal for the amplifier 31, and supplies this to the amplifier 31. To do. The amplifier 31 changes the gain (amplification degree) by this gain control signal.

この利得の変化方向は、検波器32の出力の直流レベルが高くなる場合には、増幅器31の利得が低下する方向へ、これとは逆に、検波器32の出力の直流レベルが低くなる場合には、増幅器31の利得が増加する方向へ、それぞれ変化させる。この結果として、増幅器31の正弦波状信号の出力振幅は一定となる。   The change direction of the gain is such that when the DC level of the output of the detector 32 increases, the gain of the amplifier 31 decreases, and conversely, the DC level of the output of the detector 32 decreases. Are changed in the direction in which the gain of the amplifier 31 increases. As a result, the output amplitude of the sinusoidal signal from the amplifier 31 is constant.

このように、励磁信号の振幅補正部を備える構成とすることにより、レゾルバの出力から電気角θを求める際に、すなわちθ= tan-1(Asinθ/Acosθ)の関係において、Asinθ/Acosθの値が0に近い、すなわちθが0に近い場合でもθの検出精度の低下を抑制することができるという効果がある。   As described above, by providing the excitation signal amplitude correction unit, the value of Asinθ / Acosθ is obtained when the electrical angle θ is obtained from the output of the resolver, that is, in the relationship θ = tan-1 (Asinθ / Acosθ). Is close to 0, that is, even when θ is close to 0, it is possible to suppress a decrease in the detection accuracy of θ.

以上本発明を実施例に基づいて説明したが、本発明は上記構成に限定されるものではない。例えば、モータ電流の検出は、各相の負側シャント抵抗で行う場合のみならず、負側アームの導体周囲の磁界を検出する磁気センサ等、電流検出が常時可能ではなく、限定されたタイミングでのみ可能な構成を全て含むことは明らかである。   Although the present invention has been described based on the embodiments, the present invention is not limited to the above configuration. For example, the detection of motor current is not always possible with the negative shunt resistance of each phase, but current detection is not always possible, such as a magnetic sensor that detects the magnetic field around the conductor of the negative arm, and at a limited timing. It is clear that all possible configurations are included.

本発明に係るモータ駆動装置の実施例の構成を示すシステム構成図である。1 is a system configuration diagram showing the configuration of an embodiment of a motor drive device according to the present invention. 本発明の実施例における(a)キャリア三角波、(b)検出タイミング、(c)励磁信号、(d)励磁信号の素となる矩形波をそれぞれ示すタイミングチャートである。4 is a timing chart showing (a) a carrier triangular wave, (b) a detection timing, (c) an excitation signal, and (d) a rectangular wave that is a source of the excitation signal in an embodiment of the present invention. 本発明の実施例における励磁信号の振幅補正のブロック図である。It is a block diagram of the amplitude correction of the excitation signal in the Example of this invention. 本発明の実施例における励磁信号の振幅補正部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the amplitude correction | amendment part of the excitation signal in the Example of this invention.

符号の説明Explanation of symbols

1 モータ駆動装置
2 モータ
3 マイクロコンピュータ(制御装置)
4 インバータ
5 レゾルバ
6 LPF(正弦波生成部)
7 ゲート信号生成部
8 キャリア周波数変更部
10 PWM比較部
11 モータ電流検出部
12 指令値生成部
13 レゾルバ出力信号検出部
14 モータ電気角演算部
15 矩形波位相調整部
16 矩形波生成部
20 励磁コイル
21 検出コイル
23 振幅補正部
DESCRIPTION OF SYMBOLS 1 Motor drive device 2 Motor 3 Microcomputer (control device)
4 Inverter 5 Resolver 6 LPF (Sine wave generator)
7 Gate signal generation unit 8 Carrier frequency change unit 10 PWM comparison unit 11 Motor current detection unit 12 Command value generation unit 13 Resolver output signal detection unit 14 Motor electrical angle calculation unit 15 Rectangular wave phase adjustment unit 16 Rectangular wave generation unit 20 Excitation coil 21 Detection coil 23 Amplitude correction unit

Claims (6)

モータにPWM変調したモータ電流を供給するスイッチング回路と、
前記スイッチング回路に設けた負側シャント抵抗を用いてモータ電流を検出するモータ電流検出手段と、
レゾルバを用いて前記モータの電気角を検出するモータ電気角検出手段と、
前記レゾルバを励磁するための励磁信号を生成する励磁信号生成手段と、
前記PWM変調のキャリア周波数を変更するキャリア周波数変更手段とを有するモータ駆動装置において
記励磁信号生成手段は、前記キャリア周波数の変更に合わせて、前記モータ電流検出手段によりモータ電流が検出されるタイミングに、前記励磁信号のピークのタイミングを一致させるように、前記励磁信号の位相を調整することを特徴とするモータ駆動装置。
A switching circuit for supplying a motor current modulated by PWM to the motor;
Motor current detection means for detecting motor current using a negative shunt resistor provided in the switching circuit ;
Motor electrical angle detection means for detecting the electrical angle of the motor using a resolver;
Excitation signal generating means for generating an excitation signal for exciting the resolver;
The motor drive device having a carrier frequency changing means for changing the carrier frequency of the PWM modulation,
Before SL excitation signal generating means, in accordance with the change of the carrier frequency, the timing of the motor current by the motor current detecting means is detected, so as to match the timing of the peak of the excitation signal, the excitation signal phase Adjusting the motor.
前記励磁信号生成手段は、矩形波を発生する矩形波発生手段と前記矩形波から正弦波を生成する正弦波生成手段を有し、
前記矩形波発生手段は、前記矩形波の立上りタイミングと立下りタイミングを調整する矩形波位相調整手段を有し、
前記モータ電流検出手段によりモータ電流が検出されるタイミングに、前記正弦波のピークのタイミングを一致させるように、前記矩形波位相調整手段は前記矩形波の位相を調整することを特徴とする請求項1に記載のモータ駆動装置。
The excitation signal generating means includes a rectangular wave generating means for generating a rectangular wave and a sine wave generating means for generating a sine wave from the rectangular wave,
The rectangular wave generating means has a rectangular wave phase adjusting means for adjusting rising timing and falling timing of the rectangular wave,
The rectangular wave phase adjusting means adjusts the phase of the rectangular wave so that the timing of the peak of the sine wave coincides with the timing at which the motor current is detected by the motor current detecting means. The motor drive device according to 1.
前記モータ電流検出手段は、前記スイッチング回路に設けた負側シャント抵抗における電圧を電流検出タイミングでサンプリングして検出することを特徴とする請求項1または請求項2に記載のモータ駆動装置。   3. The motor driving apparatus according to claim 1, wherein the motor current detecting unit samples and detects a voltage at a negative shunt resistor provided in the switching circuit at a current detection timing. 4. 前記キャリア周波数変更手段は、キャリア周波数またはキャリア周期に対応した前記矩形波の立上り及び立下りタイミングを規定する制御マップを備えたことを特徴とする請求項1または請求項2に記載のモータ駆動装置。   3. The motor driving apparatus according to claim 1, wherein the carrier frequency changing unit includes a control map that defines rising and falling timings of the rectangular wave corresponding to a carrier frequency or a carrier period. . 前記正弦波生成手段は、前記矩形波から生成した正弦波を増幅して前記励磁コイルへ供給する利得可変増幅手段と、該利得可変増幅手段の出力を検波した信号で前記利得可変増幅手段の利得を制御する自動利得制御手段とを備え、
前記励磁コイルに供給される正弦波の振幅が一定となるように補正することを特徴とする請求項1または請求項2に記載のモータ駆動装置。
The sine wave generation means amplifies the sine wave generated from the rectangular wave and supplies it to the excitation coil, and a gain of the gain variable amplification means using a signal obtained by detecting the output of the variable gain amplification means Automatic gain control means for controlling
The motor driving apparatus according to claim 1, wherein the motor driving apparatus corrects the amplitude of the sine wave supplied to the exciting coil to be constant.
モータにPWM変調したモータ電流を供給するスイッチング回路と、前記スイッチング回路に設けた負側シャント抵抗を用いることによりモータ電流を検出するモータ電流検出手段と、レゾルバを用いて前記モータの電気角を検出するモータ電気角検出手段と、前記レゾルバを励磁するための励磁信号を生成する励磁信号生成手段と、前記PWM変調のキャリア周波数を変更するキャリア周波数変更手段とを有するモータ駆動装置の制御方法において、
前記モータ電流検出手段によりモータ電流が検出されるタイミングに、前記レゾルバを励磁する正弦波のピークのタイミングを一致させるように、前記正弦波の素となる矩形波の位相を調整する矩形波位相調整過程と、
前記位相調整された矩形波を発生する矩形波発生過程と、
前記矩形波から正弦波を発生させて該正弦波を前記レゾルバへ供給する正弦波発生過程と、
前記レゾルバの出力信号からピークを検出するレゾルバ出力信号検出過程と、
を備えたことを特徴とするモータ駆動装置の制御方法。
A switching circuit for supplying the motor current in PWM modulated motor, said and makes the chromophore at the distal end over motor current detecting means to detect the motor current by using a negative shunt resistor provided in the switching circuit, electric of the motor by using the resolver Control of a motor drive device having motor electrical angle detection means for detecting an angle, excitation signal generation means for generating an excitation signal for exciting the resolver, and carrier frequency changing means for changing the carrier frequency of the PWM modulation In the method
Rectangular wave phase adjustment that adjusts the phase of the rectangular wave that is the source of the sine wave so that the timing of the peak of the sine wave that excites the resolver coincides with the timing at which the motor current is detected by the motor current detection means Process,
A rectangular wave generating process for generating the phase-adjusted rectangular wave;
A sine wave generation process of generating a sine wave from the rectangular wave and supplying the sine wave to the resolver;
A resolver output signal detection process for detecting a peak from the output signal of the resolver;
A method for controlling a motor driving device.
JP2008095919A 2008-04-02 2008-04-02 Motor drive device and control method thereof Active JP5338110B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008095919A JP5338110B2 (en) 2008-04-02 2008-04-02 Motor drive device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008095919A JP5338110B2 (en) 2008-04-02 2008-04-02 Motor drive device and control method thereof

Publications (2)

Publication Number Publication Date
JP2009254040A JP2009254040A (en) 2009-10-29
JP5338110B2 true JP5338110B2 (en) 2013-11-13

Family

ID=41314184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008095919A Active JP5338110B2 (en) 2008-04-02 2008-04-02 Motor drive device and control method thereof

Country Status (1)

Country Link
JP (1) JP5338110B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7238607B2 (en) 2019-05-31 2023-03-14 株式会社村田製作所 Electronic component manufacturing method and conductive paste applicator

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012068094A (en) * 2010-09-22 2012-04-05 Toshiba Corp Resolver signal processing device
JP5919730B2 (en) 2011-10-28 2016-05-18 株式会社リコー Motor drive control apparatus and method
JP5891738B2 (en) * 2011-11-24 2016-03-23 日産自動車株式会社 Motor driving device and control method of motor driving device
KR101338707B1 (en) 2012-11-19 2013-12-06 한밭대학교 산학협력단 Excitation signal generating device and resolver sensing device
JP2014122885A (en) * 2012-11-21 2014-07-03 Panasonic Corp Angle detector

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11271009A (en) * 1998-03-20 1999-10-05 Tamagawa Seiki Co Ltd Conversion method for angle of resolver
JP2001008482A (en) * 1999-06-22 2001-01-12 Hitachi Ltd Control system and control of motor
JP4138631B2 (en) * 2003-04-22 2008-08-27 本田技研工業株式会社 Rotation angle detection device and electric power steering device
JP2005147729A (en) * 2003-11-12 2005-06-09 Nissan Motor Co Ltd Rotational angle detector
JP4455070B2 (en) * 2004-01-23 2010-04-21 株式会社東芝 Motor control device, motor control method, and computer program
JP2006033903A (en) * 2004-07-12 2006-02-02 Matsushita Electric Ind Co Ltd Motor controller
JP2007020320A (en) * 2005-07-08 2007-01-25 Yaskawa Electric Corp Pwm inverter device and control method therefor
JP5264059B2 (en) * 2006-04-24 2013-08-14 日産自動車株式会社 Inverter control device and inverter control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7238607B2 (en) 2019-05-31 2023-03-14 株式会社村田製作所 Electronic component manufacturing method and conductive paste applicator

Also Published As

Publication number Publication date
JP2009254040A (en) 2009-10-29

Similar Documents

Publication Publication Date Title
US8207701B2 (en) Control method of electromotor
JP5338110B2 (en) Motor drive device and control method thereof
US7119530B2 (en) Motor phase current measurement using a single DC bus shunt sensor
JP6533413B2 (en) Controller for driving stepping motor
EP2754998B1 (en) Error frequency component acquisition device, angle of rotation acquisition device, motor control device, and angle of rotation acquisition method
US7166975B2 (en) Apparatus and method for driving the multiphase motor using the magnetic pole position detector
JP6050339B2 (en) Electric drive unit
US9651933B2 (en) Peak detection circuit and method
TWI525981B (en) System, method and apparatus of sensor-less field oriented control for permanent magnet motor
US20070164698A1 (en) Method and device for controlling motors
JP5891738B2 (en) Motor driving device and control method of motor driving device
JP2018046628A (en) Brushless DC motor control device and brushless DC motor device
JP2004242417A (en) Motor driver
JP2019097257A (en) Magnetic pole direction detection device
JPH06351280A (en) Phase current detector for motor
US20160156294A1 (en) Motor driving module
US20080089675A1 (en) Motor-Driving Apparatus
US20110068960A1 (en) Minimizing magnetic interference in a variable reluctance resolver
CN104022706A (en) Sensorless type magnetic field guiding control system, method and device of permanent magnet motor
JP2004359178A (en) Electric power steering control device and control method
JP2017118708A (en) Rotation angle sensor fitting angle measurement device, and rotation angle sensor fitting angle measurement method
Konghirun A resolver-based vector control drive of permanent magnet synchronous motor on a fixed-point digital signal processor
JP2020012714A (en) Rotation angle detector and motor drive system
US20220290968A1 (en) Rotational angle sensor device and method for determining a rotational angle, and control device for an electric motor
JP2004012387A (en) Device for detecting rotational angular position of rotor and motor controller using the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130722

R150 Certificate of patent or registration of utility model

Ref document number: 5338110

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150