JP5502605B2 - Motor control device - Google Patents

Motor control device Download PDF

Info

Publication number
JP5502605B2
JP5502605B2 JP2010131663A JP2010131663A JP5502605B2 JP 5502605 B2 JP5502605 B2 JP 5502605B2 JP 2010131663 A JP2010131663 A JP 2010131663A JP 2010131663 A JP2010131663 A JP 2010131663A JP 5502605 B2 JP5502605 B2 JP 5502605B2
Authority
JP
Japan
Prior art keywords
magnetic pole
pole position
rotor
signal
motor
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
Application number
JP2010131663A
Other languages
Japanese (ja)
Other versions
JP2011259606A (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.)
Honda Motor Co Ltd
Original Assignee
Honda 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP2010131663A priority Critical patent/JP5502605B2/en
Priority to KR1020110055101A priority patent/KR101255931B1/en
Priority to CN201110161965.5A priority patent/CN102281027B/en
Publication of JP2011259606A publication Critical patent/JP2011259606A/en
Application granted granted Critical
Publication of JP5502605B2 publication Critical patent/JP5502605B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/10Arrangements for controlling torque ripple, e.g. providing reduced torque ripple
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2203/00Indexing scheme relating to controlling arrangements characterised by the means for detecting the position of the rotor
    • H02P2203/03Determination of the rotor position, e.g. initial rotor position, during standstill or low speed operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Description

本発明は、産業用設備、或いは電動アシスト自転車や電動バイク、電気自動車などの電力車両に用いられるモータを駆動するモータ制御装置に関する。   The present invention relates to a motor control device that drives a motor used in industrial equipment or electric vehicles such as electric assist bicycles, electric motorcycles, and electric vehicles.

従来、ブラシレスモータを駆動する制御方式には、回路構成が安価で効率の高い120度通電方式が広く用いられている。120度通電方式は、磁極位置検出素子を用いてロータの磁極位置を検出しインバータ回路のスイッチング素子をON/OFFさせ各相の巻線に電流を流しモータを駆動する。しかし、通電相を切り替える際にトルクリップルが発生し振動や騒音を発生してしまう事があり、この事象は特に低速回転領域において顕著に現れる。
この問題に対し、ロータの位置に同期してインバータ回路が備えるスイッチング素子の上段、下段(順直列接続された一対のスイッチング素子の上段、下段)を交互にON/OFFさせ正弦波状の変調波信号を生成しモータ巻線に流れる電流を正弦波状にする制御方式(いわゆる正弦波駆動方式)がある。しかし、ロータ位置検出のために高価なエンコーダやレゾルバを必要とし、更に磁極位置検出信号をマイクロコンピュータに入力するためのインターフェンス回路が多数の部品を必要とするため120度通電方式に比べ高価になってしまうという問題がある。
これらの問題に対し、磁極位置検出として安価なホールICを用いつつ、当該ホールICの磁極位置検出信号から擬似的に正弦波状の変調波信号を生成し、正弦波駆動を行う制御方式が提案されている(例えば、特許文献1参照)。
Conventionally, as a control method for driving a brushless motor, a 120-degree energization method having a low circuit configuration and high efficiency has been widely used. In the 120-degree energization method, the magnetic pole position of the rotor is detected using a magnetic pole position detection element, the switching element of the inverter circuit is turned on / off, current is passed through the windings of each phase, and the motor is driven. However, when switching the energized phase, torque ripple may be generated, causing vibration and noise, and this phenomenon is particularly noticeable in the low-speed rotation region.
To solve this problem, the upper and lower stages of the switching elements included in the inverter circuit in synchronization with the rotor position (the upper and lower stages of a pair of switching elements connected in series) are alternately turned ON / OFF to generate a sinusoidal modulated wave signal There is a control method (so-called sine wave drive method) that generates a current flowing through the motor winding and makes the current flowing in the motor winding a sine wave. However, an expensive encoder or resolver is required for rotor position detection, and the fence circuit for inputting the magnetic pole position detection signal to the microcomputer requires a large number of parts. There is a problem of becoming.
To solve these problems, a control method has been proposed in which an inexpensive Hall IC is used for magnetic pole position detection, and a pseudo sine wave-like modulated wave signal is generated from the magnetic pole position detection signal of the Hall IC to drive a sine wave. (For example, refer to Patent Document 1).

特開2004−120841号公報Japanese Patent Laid-Open No. 2004-120841

しかしながら、U相、V相、及びW相の3つの磁極位置検出信号は、各相の立ち上がり、及び立ち下がりから成る6パターンのみしかない。したがって、例えば4極対ロータの12スロットモータの場合、モータ1回転あたり6×4の回数のみの分解能となる。このため、6×4パターンの磁極位置検出信号で正弦波状の変調波信号を生成することとなり、正弦波の波形が荒く歪みが大きくなるなどの問題が発生する。
特に、モータの低速回転領域では磁極位置検出信号の更新が遅く(磁極位置検出信号の出力間隔が長く)なるため、荒い波形の正弦波が更に時間軸上で伸びることとなり、変調波信号の正弦波形からのズレや歪みが大きくなる、という問題がある。
本発明は、上述した事情に鑑みてなされたものであり、低速回転領域における正弦波状の変調波信号の生成を改善し、なおかつ正弦波歪みの少ない変調波信号を生成できる、モータ制御装置を提供することを目的とする。
However, the three magnetic pole position detection signals for the U phase, the V phase, and the W phase have only six patterns including the rising and falling edges of each phase. Thus, for example, in the case of 12 slots motor 4 pole pairs rotor, a resolution of only 1 number of rotation per 6 × 4 of the motor. For this reason, a 6 × 4 pattern magnetic pole position detection signal generates a sinusoidal modulation wave signal, which causes problems such as a rough sine wave waveform and increased distortion.
In particular, in the low-speed rotation region of the motor, the update of the magnetic pole position detection signal is slow (the output interval of the magnetic pole position detection signal is long), so that a rough sine wave extends further on the time axis, and the sine of the modulation wave signal There is a problem that deviation and distortion from the waveform increase.
The present invention has been made in view of the above-described circumstances, and provides a motor control device that can improve generation of a sinusoidal modulation wave signal in a low-speed rotation region and can generate a modulation wave signal with less sine wave distortion. The purpose is to do.

上記目的を達成するために、本発明は、モータのロータに複数の磁極を設け、前記ロータの回転に伴う磁極位置の変化に伴い磁極位置検出信号を出力する複数の磁気センサを前記ロータの対向位置に配置し、前記磁気センサのそれぞれの磁極位置検出信号の変化及び配置位置に基づいて前記ロータの磁極位置を検出し、当該磁極位置に基づいて正弦波状の変調波信号を生成し、前記モータの正弦波駆動を行うモータ制御装置において、前記磁極位置検出信号が変化する間の磁極位置を補間する磁極位置補間手段を備え、前記磁極位置補間手段は、前記磁極位置検出信号の変化に要した時間、及び前記磁極位置検出信号が変化したときの磁極位置の移動量から求められる時間あたりの移動量と、前記磁極位置検出信号が変化してからの経過時間とに基づいて前記磁極位置を補間し、前記モータの回転が停止前、始動直後、及び回転方向反転直後の極低速を示す所定時間を前記経過時間が超えた以降は、前記磁極位置検出信号の変化に要した前回の時間ごとに前記磁極位置を増加させて前記磁極位置を補間することを特徴とする。 In order to achieve the above object, the present invention provides a plurality of magnetic sensors provided on a rotor of a motor, and a plurality of magnetic sensors that output a magnetic pole position detection signal in accordance with a change in the magnetic pole position accompanying the rotation of the rotor. The magnetic sensor detects a magnetic pole position of the rotor based on a change and an arrangement position of each magnetic pole position detection signal of the magnetic sensor, generates a sine wave-shaped modulated wave signal based on the magnetic pole position, and In the motor control apparatus that performs sine wave driving, magnetic pole position interpolation means for interpolating the magnetic pole position while the magnetic pole position detection signal changes is provided, and the magnetic pole position interpolation means is required for the change of the magnetic pole position detection signal. The amount of movement per time obtained from the time and the amount of movement of the magnetic pole position when the magnetic pole position detection signal changes, and the elapsed time since the change of the magnetic pole position detection signal The magnetic pole position is interpolated based on the change of the magnetic pole position detection signal after the elapsed time exceeds the predetermined time indicating the extremely low speed immediately before the rotation of the motor is stopped, immediately after the start, and immediately after the rotation direction is reversed. The magnetic pole position is interpolated by increasing the magnetic pole position at every previous time required .

本発明によれば、磁極位置検出信号の変化のパターンが少ない場合であっても、変化する間の磁極位置が磁極位置補間手段によって補間されることから、正弦波形に近い波形の変調波信号を生成することができる。特に、磁極位置検出信号が変化する間が長くなる低速回転領域であっても、その間の磁極位置が暫時補間されることから、正弦波形の変調波形が極端に荒くなるのが防止される。また、例えばホールIC等の廉価なセンサを磁気センサに用いた場合であっても、正弦波に近い変調波信号を生成し、モータの疑似正弦波駆動を行うことができる。   According to the present invention, even if the change pattern of the magnetic pole position detection signal is small, the magnetic pole position during the change is interpolated by the magnetic pole position interpolation means, so that the modulated wave signal having a waveform close to a sine waveform can be obtained. Can be generated. In particular, even in a low-speed rotation region in which the magnetic pole position detection signal changes for a long time, the magnetic pole position between them is interpolated for a while, so that the sinusoidal modulation waveform is prevented from becoming extremely rough. Further, even when an inexpensive sensor such as a Hall IC is used for the magnetic sensor, a modulated wave signal close to a sine wave can be generated and the motor can be driven in a pseudo sine wave.

本発明によれば、磁極位置検出信号が変化する間の磁極位置を、そのときのロータ(モータ)の回転速度に応じて補間することができ、モータの回転速度によらず歪みの少ない変調波信号を生成できる。   According to the present invention, the magnetic pole position during the change of the magnetic pole position detection signal can be interpolated according to the rotational speed of the rotor (motor) at that time, and the modulated wave with little distortion regardless of the rotational speed of the motor. A signal can be generated.

本発明によれば、モータが非常に低速度で回転し、磁極位置検出信号が変化するまでの時間が長くなった場合であっても、磁極位置検出信号の変化時から所定時間が超えたときには、磁極位置の増加度合いが抑えられ、モータの低速回転に応じた変調波信号に切り替えることができる。特に、磁極位置検出信号の変化に要した前回の時間ごとに磁極位置を増加させるため、経過時間に対する磁極位置の増加量が比較的急激に抑えられることから、例えばモータの駆動停止直前時のようにモータの回転速度が急激に低下するような場合に、これに即した変調波信号を生成することができる。   According to the present invention, even when the motor rotates at a very low speed and the time until the magnetic pole position detection signal changes becomes long, when the predetermined time has passed since the change of the magnetic pole position detection signal The degree of increase of the magnetic pole position can be suppressed, and switching to a modulated wave signal corresponding to the low speed rotation of the motor can be performed. In particular, since the magnetic pole position is increased at every previous time required for the change of the magnetic pole position detection signal, the amount of increase in the magnetic pole position with respect to the elapsed time can be suppressed relatively abruptly. In the case where the rotational speed of the motor is drastically reduced, a modulated wave signal corresponding to this can be generated.

また本発明は、上記モータ制御装置において、前記磁気センサのそれぞれの磁極位置検出信号の変化が反映された一連のパルス信号を生成するパルス生成回路を備え、前記パルス生成回路のパルス信号の立ち上がり、及び立ち下がりに基づいて磁極位置を検出し、当該磁極位置に基づいて正弦波状の変調波信号を生成するとともに、前記磁極位置補間手段は、前記パルス信号の立ち上がり/立ち下がりに基づいて磁極位置を補間することを特徴とする。   In the motor control device, the present invention further includes a pulse generation circuit that generates a series of pulse signals in which changes in the magnetic pole position detection signals of the magnetic sensors are reflected, the rising edge of the pulse signal of the pulse generation circuit, The magnetic pole position is detected based on the falling edge, and a sine wave-shaped modulated wave signal is generated based on the magnetic pole position, and the magnetic pole position interpolation means determines the magnetic pole position based on the rising / falling edge of the pulse signal. It is characterized by interpolation.

本発明によれば、パルス信号においては、複数の磁気センサのそれぞれの磁極位置検出信号の変化が反映されることから、1個の磁極位置検出信号よりも周期が短くなる。そして、このパルス信号の立ち上がり、及び立ち下がりに基づいて磁極位置を検出することで、磁極位置の検出間隔が短くなるため、変調波信号の正弦波歪みをより効率的に抑制することができる。   According to the present invention, the pulse signal reflects a change in the magnetic pole position detection signal of each of the plurality of magnetic sensors, so that the cycle is shorter than that of one magnetic pole position detection signal. Then, by detecting the magnetic pole position based on the rise and fall of the pulse signal, the detection interval of the magnetic pole position is shortened, so that the sine wave distortion of the modulation wave signal can be more efficiently suppressed.

また本発明は、上記モータ制御装置において、前記磁極位置補間手段は、前記パルス信号の立ち上がりから次の立ち上がりまでの期間のそれぞれ、又は立ち下がりから次の立ち下がりまでの期間のそれぞれで磁極位置を補間することを特徴とする。   In the motor control device according to the present invention, the magnetic pole position interpolation unit may determine the magnetic pole position in each period from the rising edge of the pulse signal to the next rising edge, or in each period from the falling edge to the next falling edge. It is characterized by interpolation.

本発明によれば、磁気センサの誤差や検出磁石誤差等の各種の誤差成分に起因する補間の誤差を除去することができる。これにより、磁気センサに廉価なホールIC等を用いた場合でも、精度良く磁極位置を補間することができる。   According to the present invention, it is possible to remove an interpolation error caused by various error components such as a magnetic sensor error and a detection magnet error. Thereby, even when an inexpensive Hall IC or the like is used for the magnetic sensor, the magnetic pole position can be accurately interpolated.

本発明によれば、磁極位置検出信号の変化のパターンが少ない場合であっても、変化する間の磁極位置が磁極位置補間手段によって補間されることから、正弦波形に近い波形の変調波信号を生成することができる。特に、磁極位置検出信号が変化する間が長くなる低速回転領域であっても、その間の磁極位置が暫時補間されることから、正弦波形の変調波形が極端に荒くなるのが防止される。また、例えばホールIC等の廉価なセンサを磁気センサに用いた場合であっても、正弦波に近い変調波信号を生成し、モータの疑似正弦波駆動を行うことができる。
また本発明において、前記磁極位置補間手段が、前記磁極位置検出信号の変化に要した時間、及び前記磁極位置検出信号が変化したときの磁極位置の移動量から求められる単位時間あたりの移動量と、前記磁極位置検出信号が変化してからの経過時間とに基づいて前記磁極位置を補間する構成とすることで、そのときのロータ(モータ)の回転速度に応じて磁極位置を補間することができ、モータの回転速度によらず歪みの少ない変調波信号を生成できる。
また本発明において、前記磁極位置補間手段が、前記磁極位置検出信号が変化してからの経過時間が所定時間を超えた以降は、前記磁極位置検出信号の変化に要した前回の時間ごとに所定量ずつ前記磁極位置を増加させて補間する構成とすることで、モータが非常に低速度で回転し、磁極位置検出信号が変化するまでの時間が長くなった場合であっても、磁極位置検出信号の変化時から所定時間が超えたときには、磁極位置の増加度合いが抑えられ、モータの低速回転に応じた変調波信号に切り替えることができる。特に、磁極位置検出信号の変化に要した前回の時間ごとに磁極位置を増加させるため、経過時間に対する磁極位置の増加量が比較的急激に抑えられることから、例えばモータの駆動停止直前時のようにモータの回転速度が急激に低下するような場合に、これに即した変調波信号を生成することができる。
また本発明において、前記磁気センサのそれぞれの磁極位置検出信号の変化が反映された一連のパルス信号を生成するパルス生成回路を備え、前記パルス生成回路のパルス信号の立ち上がり、及び立ち下がりに基づいて磁極位置を検出し、当該磁極位置に基づいて正弦波状の変調波信号を生成するとともに、前記磁極位置補間手段は、前記パルス信号の立ち上がりと立ち下がりと間の磁極位置を補間する構成とすることで、1つの磁極位置検出信号よりも周期が短いパルス信号の立ち上がり、及び立ち下がりに基づいて磁極位置を検出することで、磁極位置の検出間隔が短くなり、変調波信号の正弦波歪みをより効率的に抑制することができる。
また本発明において、前記磁極位置補間手段が、前記パルス信号の立ち上がりから次の立ち上がりまでの期間のそれぞれ、又は立ち下がりから次の立ち下がりまでの期間のそれぞれで磁極位置を補間する構成とすることで、磁気センサの誤差や検出磁石誤差等の各種の誤差成分に起因する補間の誤差を除去することができる。これにより、磁気センサに廉価なホールIC等を用いた場合でも、精度良く磁極位置を補間することができる。
According to the present invention, even if the change pattern of the magnetic pole position detection signal is small, the magnetic pole position during the change is interpolated by the magnetic pole position interpolation means, so that the modulated wave signal having a waveform close to a sine waveform can be obtained. Can be generated. In particular, even in a low-speed rotation region in which the magnetic pole position detection signal changes for a long time, the magnetic pole position between them is interpolated for a while, so that the sinusoidal modulation waveform is prevented from becoming extremely rough. Further, even when an inexpensive sensor such as a Hall IC is used for the magnetic sensor, a modulated wave signal close to a sine wave can be generated and the motor can be driven in a pseudo sine wave.
Further, in the present invention, the magnetic pole position interpolation means has a movement amount per unit time obtained from a time required for the change of the magnetic pole position detection signal and a movement amount of the magnetic pole position when the magnetic pole position detection signal changes. The magnetic pole position can be interpolated according to the rotational speed of the rotor (motor) at that time by adopting a configuration in which the magnetic pole position is interpolated based on the elapsed time after the magnetic pole position detection signal changes. Thus, a modulated wave signal with little distortion can be generated regardless of the rotational speed of the motor.
In the present invention, the magnetic pole position interpolating means is provided at every previous time required for the change of the magnetic pole position detection signal after the elapsed time from the change of the magnetic pole position detection signal exceeds a predetermined time. By interpolating by increasing the magnetic pole position by a certain amount, even if the motor rotates at a very low speed and the time until the magnetic pole position detection signal changes becomes longer, the magnetic pole position is detected. When a predetermined time has passed since the change of the signal, the degree of increase in the magnetic pole position is suppressed, and it is possible to switch to a modulated wave signal corresponding to the low-speed rotation of the motor. In particular, since the magnetic pole position is increased at every previous time required for the change of the magnetic pole position detection signal, the amount of increase in the magnetic pole position with respect to the elapsed time can be suppressed relatively abruptly. In the case where the rotational speed of the motor is drastically reduced, a modulated wave signal corresponding to this can be generated.
The present invention further includes a pulse generation circuit that generates a series of pulse signals reflecting changes in the magnetic pole position detection signals of the magnetic sensors, and based on rising and falling edges of the pulse signals of the pulse generation circuit. The magnetic pole position is detected, a sine wave-like modulated wave signal is generated based on the magnetic pole position, and the magnetic pole position interpolation means is configured to interpolate the magnetic pole position between the rise and fall of the pulse signal. By detecting the magnetic pole position based on the rise and fall of the pulse signal having a shorter cycle than one magnetic pole position detection signal, the detection interval of the magnetic pole position is shortened, and the sine wave distortion of the modulation wave signal is further increased. It can be suppressed efficiently.
Further, in the present invention, the magnetic pole position interpolation means is configured to interpolate the magnetic pole position in each period from the rising edge to the next rising edge of the pulse signal or in each period from the falling edge to the next falling edge. Thus, interpolation errors caused by various error components such as a magnetic sensor error and a detection magnet error can be removed. Thereby, even when an inexpensive Hall IC or the like is used for the magnetic sensor, the magnetic pole position can be accurately interpolated.

本発明の実施形態に係るモータ駆動システムの構成を模式的に示す図である。It is a figure showing typically composition of a motor drive system concerning an embodiment of the present invention. DCブラシレスモータを示す構成図である。It is a block diagram which shows DC brushless motor. 図2におけるII−II線上からみた矢視図である。It is the arrow line view seen from the II-II line in FIG. ステータの構成を示す平面図である。It is a top view which shows the structure of a stator. 磁気検出回路及び駆動回路の構成を示す図である。It is a figure which shows the structure of a magnetic detection circuit and a drive circuit. (A)は第1磁気センサの出力波形を示す図であり、(B)はノイズフィルタの出力波形を示す図であり、(C)は波形整形回路の出力波形を示す図である。(A) is a figure which shows the output waveform of a 1st magnetic sensor, (B) is a figure which shows the output waveform of a noise filter, (C) is a figure which shows the output waveform of a waveform shaping circuit. (A)は3相のロータ位置検出パルスを示す波形図であり、(B)はロータ速度検出パルスを示す波形図であり、(C)は正弦波信号を示す波形図である。(A) is a waveform diagram showing a three-phase rotor position detection pulse, (B) is a waveform diagram showing a rotor speed detection pulse, and (C) is a waveform diagram showing a sine wave signal. パルス生成回路の真理値表を示す表図である。It is a table | surface figure which shows the truth table of a pulse generation circuit. (A)は3相のロータ位置検出パルスを誤差成分と共に示す説明図であり、(B)はロータ速度検出パルスに基づいて第1の手法で速度検出した場合の誤差成分による影響を示す説明図であり、(C)は第1の手法で速度検出した場合の誤差成分による影響を示す説明図である。(A) is explanatory drawing which shows a 3-phase rotor position detection pulse with an error component, (B) is explanatory drawing which shows the influence by an error component at the time of speed detection by a 1st method based on a rotor speed detection pulse. (C) is an explanatory view showing the influence of an error component when speed is detected by the first method. モータ駆動システムのモータ制御系を示すブロック図である。It is a block diagram which shows the motor control system of a motor drive system. ロータ速度検出パルス信号と磁極位置との関係を示す図である。It is a figure which shows the relationship between a rotor speed detection pulse signal and a magnetic pole position. 正弦波振幅信号を示す図である。It is a figure which shows a sine wave amplitude signal. 磁極位置補間処理のフローチャートである。It is a flowchart of a magnetic pole position interpolation process. ロータ位置検出パルス、磁極位置補間器が出力する磁極位置、及び正弦波形の変調波信号をそれぞれ示す図である。It is a figure which each shows a rotor position detection pulse, the magnetic pole position which a magnetic pole position interpolator outputs, and the modulated wave signal of a sine waveform. モータ回転数と角度補間誤差の関係を示す図である。It is a figure which shows the relationship between a motor rotation speed and an angle interpolation error. 本発明の変形例に係るモータ駆動システムのモータ制御系を示すブロック図である。It is a block diagram which shows the motor control system of the motor drive system which concerns on the modification of this invention.

以下、図面を参照して本発明の実施形態を説明する。この実施形態では、電力車両に用いられる電動機としてDCブラシレスモータ(以下、単に「モータ」と称する)を例示する。
図1は、本実施形態に係るモータ駆動システム1の構成を模式的に示す図である。
同図に示すように、モータ駆動システム1は、車載バッテリ等の直流電源Eと、この直流電源Eの電力で駆動される、車両駆動の動力源としてのモータ10と、モータ10の駆動を制御する制御装置2とを備えている。制御装置2は、モータ10の回転速度の指令値である指令速度値に基づいてモータ駆動電流の波形を制御する駆動回路4と、この駆動回路4の制御の下、直流電源Eの直流電流を交流のモータ駆動電流に変換しモータ10に出力するインバータ回路6とを備えている。インバータ回路6は、例えばパワーMOSFETやIGBT等の6個のスイッチング素子Tr1〜Tr6を組み合わせた回路であり、各スイッチング素子Tr1〜Tr6は駆動回路4からのPWM駆動信号によりON/OFFされる。また指令速度値は、車両側のコンピュータによって生成され制御装置2の駆動回路4に入力される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In this embodiment, a DC brushless motor (hereinafter simply referred to as “motor”) is illustrated as an electric motor used in an electric vehicle.
FIG. 1 is a diagram schematically illustrating a configuration of a motor drive system 1 according to the present embodiment.
As shown in the figure, the motor drive system 1 controls a DC power source E such as a vehicle-mounted battery, a motor 10 that is driven by electric power of the DC power source E, and a power source for driving the vehicle, and driving of the motor 10. And a control device 2 for performing the operation. The control device 2 controls the waveform of the motor drive current based on the command speed value that is the command value of the rotation speed of the motor 10, and controls the DC current of the DC power source E under the control of the drive circuit 4. And an inverter circuit 6 for converting to an AC motor driving current and outputting it to the motor 10. The inverter circuit 6 is a circuit in which six switching elements Tr1 to Tr6 such as power MOSFETs and IGBTs are combined, and each switching element Tr1 to Tr6 is turned on / off by a PWM drive signal from the drive circuit 4. The command speed value is generated by a computer on the vehicle side and input to the drive circuit 4 of the control device 2.

図2は、本実施形態に係るモータ10を示す構成図である。
本実施形態では、モータ10として、図2に示すように、ロータ12と、ステータ14とを有するインナーロータ型のモータ10を例示する。なお、アウターロータ型のモータでも実施可能である。
ロータ12は、円筒状の筐体16と、該筐体16の中心に軸方向に延びるロータ軸18とを有する。図3に示すように、筐体16の内部には、該筐体16の内壁に沿って永久磁石20が配置され、例えば8極(4極対)のモータ10として構成されている。ロータ12のうち、ステータ14に対向する部分に検出磁石22が設置されている。永久磁石20はロータ12を回転させるために設置され、検出磁石22はロータ12の速度検出のために設置されている。
FIG. 2 is a configuration diagram illustrating the motor 10 according to the present embodiment.
In the present embodiment, as the motor 10, as illustrated in FIG. 2, an inner rotor type motor 10 having a rotor 12 and a stator 14 is illustrated. An outer rotor type motor can also be implemented.
The rotor 12 includes a cylindrical casing 16 and a rotor shaft 18 that extends in the axial direction at the center of the casing 16. As shown in FIG. 3, a permanent magnet 20 is disposed inside the housing 16 along the inner wall of the housing 16, and is configured as an 8-pole (4-pole pair) motor 10, for example. A detection magnet 22 is installed in a portion of the rotor 12 that faces the stator 14. The permanent magnet 20 is installed for rotating the rotor 12, and the detection magnet 22 is installed for detecting the speed of the rotor 12.

また、検出磁石22は、モータ10の磁極位置に対応するようにN極及びS極を交互に配列して着磁されている。従って、検出磁石22は、N極とS極との境界について、8つの境界(第1境界24a〜第8境界24h)を有する。
一方、ステータ14は、図4に示すように、12個のスロット(第1スロット26a〜第12スロット26l)が円周に沿って等間隔に、且つ、例えば時計回りに第1スロット26a、第2スロット26b、第3スロット26c・・・という順番で配列されている。このうち、第1スロット26a、第4スロット26d、第7スロット26g及び第10スロット26jには第1相巻線が巻回され、第2スロット26b、第5スロット26e、第8スロット26h及び第11スロット26kには第2相巻線が巻回され、第3スロット26c、第6スロット26f、第9スロット26i及び第12スロット26lには第3相巻線が巻回されている。
また、ステータ14は、その中央に、ロータ軸18の端部が挿入される穴部28が設けられ、該穴部28の周囲に該穴部28を囲むように例えば平面コ字状の取付板30が設置されている。また、穴部28の周囲には、第1相巻線のための第1結線端子部32a、第2相巻線のための第2結線端子部32b及び第3相巻線のための第3結線端子部32cが設けられている。
なお、巻線の結線方式は、同図に示すY結線に限らず、スター結線やデルタ結線等の他の結線方式でも実施可能である。
The detection magnet 22 is magnetized by alternately arranging N poles and S poles so as to correspond to the magnetic pole positions of the motor 10. Therefore, the detection magnet 22 has eight boundaries (the first boundary 24a to the eighth boundary 24h) with respect to the boundary between the N pole and the S pole.
On the other hand, as shown in FIG. 4, the stator 14 has twelve slots (first slot 26a to twelfth slot 261) at equal intervals along the circumference and, for example, in the clockwise direction, the first slot 26a and the second slot. The second slot 26b, the third slot 26c,... Are arranged in this order. Among them, the first slot 26a, the fourth slot 26d, the seventh slot 26g, and the tenth slot 26j are wound with the first phase winding, and the second slot 26b, the fifth slot 26e, the eighth slot 26h, and the A second phase winding is wound around the 11th slot 26k, and a third phase winding is wound around the third slot 26c, the sixth slot 26f, the ninth slot 26i and the twelfth slot 26l.
Further, the stator 14 is provided with a hole 28 into which the end of the rotor shaft 18 is inserted at the center thereof, and a mounting plate having a U-shape, for example, is formed so as to surround the hole 28 around the hole 28. 30 is installed. Further, around the hole 28, there are a first connection terminal portion 32a for the first phase winding, a second connection terminal portion 32b for the second phase winding, and a third connection for the third phase winding. A connection terminal portion 32c is provided.
Note that the winding connection method is not limited to the Y connection shown in the figure, and other connection methods such as a star connection and a delta connection can also be implemented.

取付板30のうち、ロータ12の検出磁石22に対向する面(例えば上面)には、6つの磁気センサ(第1磁気センサ34a〜第6磁気センサ34f)が配置されている。
具体的には、穴部28の中心位置を通り、且つ、第5スロット26eと第11スロット26kの各中心を通る基準線mを考えたとき、取付板30の上面のうち、基準線m上であって、且つ、第5スロット26e側の位置に第1磁気センサ34aが設置され、この第1磁気センサ34aから穴部28の円周に沿って例えば時計方向に30°離間した位置に第2磁気センサ34bが設置され、この第2磁気センサ34bから穴部28の円周に沿って30°離間した位置に第3磁気センサ34cが設置されている。
同様に、取付板30の上面のうち、基準線m上であって、且つ、第11スロット26k側の位置に第4磁気センサ34dが設置され、この第4磁気センサ34dから穴部28の円周に沿って例えば反時計方向に30°離間した位置に第5磁気センサ34eが設置され、この第5磁気センサ34eから穴部28の円周に沿って30°離間した位置に第6磁気センサ34fが設置されている。
Six magnetic sensors (first magnetic sensor 34 a to sixth magnetic sensor 34 f) are arranged on the surface (for example, the upper surface) of the mounting plate 30 facing the detection magnet 22 of the rotor 12.
Specifically, when the reference line m passing through the center position of the hole 28 and passing through the centers of the fifth slot 26e and the eleventh slot 26k is considered, the upper surface of the mounting plate 30 is on the reference line m. In addition, the first magnetic sensor 34a is installed at a position on the fifth slot 26e side, and the first magnetic sensor 34a is spaced from the first magnetic sensor 34a along the circumference of the hole 28 by, for example, 30 ° clockwise. The second magnetic sensor 34b is installed, and the third magnetic sensor 34c is installed at a position 30 ° away from the second magnetic sensor 34b along the circumference of the hole 28.
Similarly, a fourth magnetic sensor 34d is installed at a position on the reference line m on the upper surface of the mounting plate 30 and on the eleventh slot 26k side, and the circle of the hole 28 extends from the fourth magnetic sensor 34d. For example, a fifth magnetic sensor 34e is installed at a position spaced 30 ° in the counterclockwise direction along the circumference, and a sixth magnetic sensor is disposed at a position spaced 30 ° along the circumference of the hole 28 from the fifth magnetic sensor 34e. 34f is installed.

第1磁気センサ34a〜第6磁気センサ34fのうち、第1磁気センサ34a〜第3磁気センサ34cは、ロータ12の正転速度を検出するためのものであり、第1磁気センサ34aが第1相に対応し、第2磁気センサ34bが第2相に対応し、第3磁気センサ34cが第3相に対応する。従って、上述の配列を言い換えれば、第1磁気センサ34a〜第3磁気センサ34cは、ロータ12の正転方向に沿って第1磁気センサ34a、第2磁気センサ34b、第3磁気センサ34cの順番で配列され、且つ、ロータ12の正転方向に沿ってそれぞれ30°離間して配置された形となっている。   Among the first magnetic sensor 34a to the sixth magnetic sensor 34f, the first magnetic sensor 34a to the third magnetic sensor 34c are for detecting the forward rotation speed of the rotor 12, and the first magnetic sensor 34a is the first magnetic sensor 34a. The second magnetic sensor 34b corresponds to the second phase, and the third magnetic sensor 34c corresponds to the third phase. Therefore, in other words, the first magnetic sensor 34a to the third magnetic sensor 34c are arranged in the order of the first magnetic sensor 34a, the second magnetic sensor 34b, and the third magnetic sensor 34c along the forward rotation direction of the rotor 12. And 30 ° apart from each other along the forward rotation direction of the rotor 12.

同様に、第4磁気センサ34d〜第6磁気センサ34fは、ロータ12の逆転速度を検出するためのものであり、第4磁気センサ34dが第1相に対応し、第5磁気センサ34eが第3相に対応し、第6磁気センサ34fが第2相に対応する。従って、上述の配列を言い換えれば、第4磁気センサ34d〜第6磁気センサ34fは、ロータ12の逆転方向に沿って第4磁気センサ34d、第5磁気センサ34e、第6磁気センサ34fの順番で配列され、且つ、ロータ12の逆転方向に沿ってそれぞれ30°離間して配置された形となっている。   Similarly, the fourth magnetic sensor 34d to the sixth magnetic sensor 34f are for detecting the reverse rotation speed of the rotor 12, the fourth magnetic sensor 34d corresponds to the first phase, and the fifth magnetic sensor 34e is the first one. Corresponding to the three phases, the sixth magnetic sensor 34f corresponds to the second phase. Therefore, in other words, the fourth magnetic sensor 34d to the sixth magnetic sensor 34f are arranged in the order of the fourth magnetic sensor 34d, the fifth magnetic sensor 34e, and the sixth magnetic sensor 34f along the reverse direction of the rotor 12. They are arranged and arranged 30 ° apart from each other along the reverse direction of the rotor 12.

また、第1磁気センサ34a〜第6磁気センサ34fは、それぞれホールICにて構成されている。ホールICは、ホール素子と論理回路とをIC化した磁気センサで、ロータ12の検出磁石22の磁極(N極又はS極)と、その磁極の強さを、ホール素子の電磁現象により検出する。従って、ロータ12が回転すると、ホール素子から磁束密度に比例したアナログ電圧信号が出力される。論理回路は、ホール素子からのアナログ電圧信号を整形して磁界の極性に対応したデジタル波形、例えばN極のとき高レベル、S極のとき低レベルのデジタル波形を出力する。本実施形態では、例えば出力トランジスタを有するオープンコレクタ出力方式のホールICを使用している。   The first magnetic sensor 34a to the sixth magnetic sensor 34f are each configured by a Hall IC. The Hall IC is a magnetic sensor in which a Hall element and a logic circuit are integrated into an IC, and detects the magnetic pole (N pole or S pole) of the detection magnet 22 of the rotor 12 and the strength of the magnetic pole by the electromagnetic phenomenon of the Hall element. . Therefore, when the rotor 12 rotates, an analog voltage signal proportional to the magnetic flux density is output from the Hall element. The logic circuit shapes the analog voltage signal from the Hall element and outputs a digital waveform corresponding to the polarity of the magnetic field, for example, a high-level digital waveform at the N pole and a low-level digital waveform at the S pole. In this embodiment, for example, an open collector output type Hall IC having an output transistor is used.

これら第1磁気センサ34a〜第6磁気センサ34fを備えて、モータ10の磁極位置を検出する磁気検出回路52(図1)が構成されている。この磁気検出回路52は、図1及び図5(後述)に示すように、第1磁気センサ34a〜第3磁気センサ34cを含み3相の第1デジタル波形を出力する第1磁気センサ部64aと、第4磁気センサ34d〜第6磁気センサ34fを含み3相の第2デジタル波形を出力する第2磁気センサ部64bとを有する。これら第1及び第2デジタル波形が磁極位置検出信号として駆動回路4に入力される。
駆動回路4は、図1に示すように、磁極位置検出信号処理回路54と、パルス生成回路56と、CPU58とを有する。CPU58は、少なくともソフトウェアとしてのロータ位置検出手段60と、ロータ速度検出手段62とが動作するようになっている。
A magnetic detection circuit 52 (FIG. 1) that detects the magnetic pole position of the motor 10 includes the first magnetic sensor 34a to the sixth magnetic sensor 34f. As shown in FIGS. 1 and 5 (described later), the magnetic detection circuit 52 includes a first magnetic sensor unit 64a including a first magnetic sensor 34a to a third magnetic sensor 34c and outputting a first digital waveform of three phases. And a second magnetic sensor unit 64b including a fourth magnetic sensor 34d to a sixth magnetic sensor 34f and outputting a three-phase second digital waveform. These first and second digital waveforms are input to the drive circuit 4 as magnetic pole position detection signals.
As shown in FIG. 1, the drive circuit 4 includes a magnetic pole position detection signal processing circuit 54, a pulse generation circuit 56, and a CPU 58. The CPU 58 operates at least a rotor position detecting means 60 and a rotor speed detecting means 62 as software.

図5は、駆動回路4の構成を磁気検出回路52と共に示す図である。なお、同図において、インバータ回路6に入力する信号を生成するための構成部材については図示を省略している。
同図に示すように、磁極位置検出信号処理回路54は、磁気検出回路52からのデジタル波形、すなわち、第1磁気センサ部64aからの3相の第1デジタル波形及び第2磁気センサ部64bからの3相の第2デジタル波形を安定化させるプルアップ抵抗66と、高周波成分(ノイズ)を抑圧するノイズフィルタ68(ローパスフィルタ)と、シュミットトリガ機能を有し、且つ、ノイズフィルタ68でなまった波形をパルス波形に整形する波形整形回路70と、CPU58からのロータ12の正転又は逆転を示す制御信号Scに基づいて、3相の第1デジタル波形又は3相の第2デジタル波形を切り替え選択し、3相のロータ位置検出パルスSa(第1相のロータ位置検出パルスSa1〜第3相のロータ位置検出パルスSa3)として出力する選択回路72とを有する。
FIG. 5 is a diagram showing the configuration of the drive circuit 4 together with the magnetic detection circuit 52. In addition, in the same figure, illustration is abbreviate | omitted about the structural member for producing | generating the signal input into the inverter circuit 6. FIG.
As shown in the figure, the magnetic pole position detection signal processing circuit 54 includes a digital waveform from the magnetic detection circuit 52, that is, a three-phase first digital waveform from the first magnetic sensor unit 64a and a second magnetic sensor unit 64b. A pull-up resistor 66 for stabilizing the second digital waveform of the three phases, a noise filter 68 (low-pass filter) for suppressing high-frequency components (noise), a Schmitt trigger function, and the noise filter 68 Based on a waveform shaping circuit 70 for shaping the waveform into a pulse waveform and a control signal Sc indicating normal rotation or reverse rotation of the rotor 12 from the CPU 58, the first digital waveform of three phases or the second digital waveform of three phases is switched and selected. And output as a three-phase rotor position detection pulse Sa (first-phase rotor position detection pulse Sa1 to third-phase rotor position detection pulse Sa3). And a selection circuit 72 that.

パルス生成回路56は、選択回路72からの3相のロータ位置検出パルスSaの各立ち上がり及び各立ち下がりがそれぞれ反映された一連のパルス信号を生成する回路である。すなわち、パルス生成回路56は、選択回路72からの3相のロータ位置検出パルスSaのうち、第1相のロータ位置検出パルスSa1と第2相のロータ位置検出パルスSa2との排他的論理和を出力する第1論理回路74と、第3相のロータ位置検出パルスSa3と第1論理回路74の出力との排他的論理和をロータ速度検出パルスSbとして出力する第2論理回路76とを有する。   The pulse generation circuit 56 is a circuit that generates a series of pulse signals that reflect each rising edge and each falling edge of the three-phase rotor position detection pulse Sa from the selection circuit 72. That is, the pulse generation circuit 56 performs exclusive OR of the first-phase rotor position detection pulse Sa1 and the second-phase rotor position detection pulse Sa2 among the three-phase rotor position detection pulses Sa from the selection circuit 72. The first logic circuit 74 for outputting, and the second logic circuit 76 for outputting the exclusive OR of the third-phase rotor position detection pulse Sa3 and the output of the first logic circuit 74 as the rotor speed detection pulse Sb.

CPU58が実現するロータ位置検出手段60は、選択回路72からの3相のロータ位置検出パルスSaに基づいてロータ12の位置を検出し、CPU58が実現するロータ速度検出手段62は、パルス生成回路56からのロータ速度検出パルスSbに基づいてロータ12の回転速度(正転速度又は逆転速度)を検出する。また、CPU58は、ロータ速度検出手段62により検出した回転速度と、車両側から入力された速度指令値とに基づいてモータ10の回転速度をフィードバック制御する。このモータ制御に係る構成については後述する。
なお、例えばロータ12の正転時のロータ位置及び正転速度のみを検出する場合は、ロータ12の逆転に関する第2磁気センサ部64b(第4磁気センサ34d〜第6磁気センサ34f)を省略し、また、これに応じて、プルアップ抵抗66の構成要素、ノイズフィルタ68の構成要素、波形整形回路70の構成要素をそれぞれ一部省略し、さらに、選択回路72を省略することができる。
The rotor position detection means 60 realized by the CPU 58 detects the position of the rotor 12 based on the three-phase rotor position detection pulse Sa from the selection circuit 72, and the rotor speed detection means 62 realized by the CPU 58 is a pulse generation circuit 56. The rotational speed (forward rotation speed or reverse rotation speed) of the rotor 12 is detected based on the rotor speed detection pulse Sb from. Further, the CPU 58 feedback-controls the rotational speed of the motor 10 based on the rotational speed detected by the rotor speed detecting means 62 and the speed command value input from the vehicle side. The configuration related to the motor control will be described later.
For example, when only the rotor position and the normal rotation speed at the time of the forward rotation of the rotor 12 are detected, the second magnetic sensor unit 64b (the fourth magnetic sensor 34d to the sixth magnetic sensor 34f) related to the reverse rotation of the rotor 12 is omitted. In response to this, some of the components of the pull-up resistor 66, the components of the noise filter 68, and the components of the waveform shaping circuit 70 can be omitted, and the selection circuit 72 can be omitted.

図6は磁気検出回路52及び駆動回路4の動作説明図であり、図6(A)は第1磁気センサ34aの出力波形を示す図であり、図6(B)はノイズフィルタの出力波形を示す図であり、図6(C)は波形整形回路70の出力波形を示す図である。
例えば第1磁気センサ34aから出力されるデジタル波形について説明すると、ロータ12の例えば正転に伴って第1磁気センサ34aと対向する磁極が例えばN極→S極→N極→S極というように順番に変わっていくことから、第1磁気センサ34aの出力トランジスタは、例えばN極と対向する期間においてOFF、S極と対向する期間においてONとされる。第1磁気センサ34aの出力にはプルアップ抵抗66が接続されているため、出力トランジスタがOFFのときには、出力電圧が電源電圧Vcc近くまで引き上げられる。第1磁気センサ34aの出力は、後段のノイズフィルタ68によって高周波成分(ノイズ)が抑圧される。しかし、第1磁気センサ34aの出力波形は、図6(B)に示すように、立ち上がり及び立ち下がりがノイズフィルタ68の時定数に対応してなまった一次遅れ波形となる。
6A and 6B are diagrams for explaining the operation of the magnetic detection circuit 52 and the drive circuit 4, FIG. 6A is a diagram showing an output waveform of the first magnetic sensor 34a, and FIG. 6B is an output waveform of the noise filter. FIG. 6C is a diagram illustrating an output waveform of the waveform shaping circuit 70.
For example, the digital waveform output from the first magnetic sensor 34a will be described. For example, the magnetic pole facing the first magnetic sensor 34a as the rotor 12 rotates forward is, for example, N pole → S pole → N pole → S pole. Since the order changes, the output transistor of the first magnetic sensor 34a is turned off, for example, in a period facing the N pole, and turned on in a period facing the S pole. Since the pull-up resistor 66 is connected to the output of the first magnetic sensor 34a, the output voltage is raised to near the power supply voltage Vcc when the output transistor is OFF. In the output of the first magnetic sensor 34a, a high frequency component (noise) is suppressed by the noise filter 68 at the subsequent stage. However, the output waveform of the first magnetic sensor 34a is a first-order lag waveform in which the rise and fall correspond to the time constant of the noise filter 68, as shown in FIG.

ノイズフィルタ68によって立ち上がりと立ち下がりがなまった第1磁気センサ34aの出力は、後段の波形整形回路70のシュミットトリガ機能によって、パルス波形に整形される。具体的には、波形整形回路70は、ノイズフィルタ68の出力(出力電圧)が第1閾値電圧Vtp以上となった時点で低レベルとし、第2閾値電圧Vtn(<Vtp)以下となった時点で高レベルにする。なお、この波形整形回路70では、チャタリング防止も行っている。
一方、選択回路72は、波形整形回路70から出力される第1磁気センサ部64aに対応した3相の第1デジタル波形と第2磁気センサ部64bに対応する3相の第2デジタル波形を、CPU58で動作するロータ位置検出手段60からのロータ12の正転又は逆転を示す制御信号Scに基づいて、切り替え選択して、3相のロータ位置検出パルスSaとして出力する。ロータ12が正転しているときの3相のロータ位置検出パルスSaの例を図7に示す。
The output of the first magnetic sensor 34a that has risen and fallen by the noise filter 68 is shaped into a pulse waveform by the Schmitt trigger function of the waveform shaping circuit 70 at the subsequent stage. Specifically, the waveform shaping circuit 70 is set to a low level when the output (output voltage) of the noise filter 68 becomes equal to or higher than the first threshold voltage Vtp, and when it becomes equal to or lower than the second threshold voltage Vtn (<Vtp). To a high level. The waveform shaping circuit 70 also prevents chattering.
On the other hand, the selection circuit 72 outputs the three-phase first digital waveform corresponding to the first magnetic sensor unit 64a output from the waveform shaping circuit 70 and the three-phase second digital waveform corresponding to the second magnetic sensor unit 64b, Based on the control signal Sc indicating normal rotation or reverse rotation of the rotor 12 from the rotor position detecting means 60 operated by the CPU 58, switching is selected and output as a three-phase rotor position detection pulse Sa. An example of a three-phase rotor position detection pulse Sa when the rotor 12 is rotating forward is shown in FIG.

3相のロータ位置検出パルスSaは、ロータ12の正転又は逆転を検出し、さらに、ロータ12の磁極の位置を検出するために用いられる。もちろん、ロータ12の1回転につき、4周期のタイミング(パルス周期Ta)でロータ12の速度を検出することができるが、検出精度は低い。
また、パルス生成回路56では、第1論理回路74から第1相のロータ位置検出パルスSa1と第2相のロータ位置検出パルスSa2との排他的論理和が出力され、第2論理回路76から第3相のロータ位置検出パルスSa3と第1論理回路74の出力との排他的論理和が出力される。すなわち、3入力の排他的論理和機能によってロータ速度検出パルスSbを生成している。
The three-phase rotor position detection pulse Sa is used to detect forward rotation or reverse rotation of the rotor 12 and further to detect the position of the magnetic pole of the rotor 12. Of course, the speed of the rotor 12 can be detected at a timing of 4 cycles (pulse cycle Ta) per rotation of the rotor 12, but the detection accuracy is low.
In the pulse generation circuit 56, an exclusive OR of the first phase rotor position detection pulse Sa 1 and the second phase rotor position detection pulse Sa 2 is output from the first logic circuit 74, and the second logic circuit 76 outputs the second logic circuit 76. An exclusive OR of the three-phase rotor position detection pulse Sa3 and the output of the first logic circuit 74 is output. That is, the rotor speed detection pulse Sb is generated by a 3-input exclusive OR function.

パルス生成回路56の真理値表を図8に示す。この真理値表の中で、第1相のロータ位置検出パルスSa1〜第3相のロータ位置検出パルスSa3全てが「0」又は「1」の場合は、ハーネスの断線やショートによる異常出力であり、CPU58によって、モータ停止等のエラー処理が行われる。   A truth table of the pulse generation circuit 56 is shown in FIG. In this truth table, if all of the first-phase rotor position detection pulse Sa1 to the third-phase rotor position detection pulse Sa3 are “0” or “1”, it is an abnormal output due to a disconnection or short circuit of the harness. The CPU 58 performs error processing such as motor stop.

駆動回路4では、パルス生成回路56からの出力に基づいてロータ12の回転速度(正転速度及び逆転速度)を検出する。パルス生成回路56から出力されるロータ速度検出パルスSbのパルス周期は、ロータ位置検出パルスSaのパルス周期Taの1/3であるため、パルス生成回路56から出力されるロータ速度検出パルスSbに基づいてロータ12の速度を検出することで、3相のロータ位置検出パルスSaを用いた場合よりも、検出精度が高められる。
検出タイミングとしては、第1の手法として、パルス波形が変化するタイミング、すなわち、立ち下がりから次の立ち上がりまでの期間、立ち上がりから次の立ち下がりまでの期間をそれぞれ速度検出周期とすることが考えられる。この場合、ロータ12が1回転する間に、24個の速度検出周期が到来するため、高精度にロータ12の速度を検出することができる。
The drive circuit 4 detects the rotational speed (forward rotation speed and reverse rotation speed) of the rotor 12 based on the output from the pulse generation circuit 56. Since the pulse period of the rotor speed detection pulse Sb output from the pulse generation circuit 56 is 1/3 of the pulse period Ta of the rotor position detection pulse Sa, it is based on the rotor speed detection pulse Sb output from the pulse generation circuit 56. By detecting the speed of the rotor 12, the detection accuracy can be improved as compared with the case where the three-phase rotor position detection pulse Sa is used.
As the detection timing, as a first method, it is conceivable that the timing at which the pulse waveform changes, that is, the period from the fall to the next rise and the period from the rise to the next fall are used as the speed detection period. . In this case, since 24 speed detection cycles arrive during one rotation of the rotor 12, the speed of the rotor 12 can be detected with high accuracy.

ただし、各速度検出期間の開始時点は、様々な誤差成分によって影響を受けている場合が多い。誤差成分としては、検出磁石誤差、磁気センサ誤差、ノイズフィルタ誤差、CPU誤差等がある。
検出磁石誤差は、検出磁石22の着磁範囲の誤差やロータ12に対する取付誤差を含み、理想的な第1境界24a〜第8境界24hに対する実際の第1境界24a〜第8境界24hの配置誤差成分を指す。磁気センサ誤差は、ロータ12の正転速度を検出する場合は、第1磁気センサ34a〜第3磁気センサ34cの読取誤差やステータ14に対する取付誤差を含み、ロータ12の逆転速度を検出する場合は、第4磁気センサ34d〜第6磁気センサ34fの読取誤差やステータ14に対する取付誤差を含む。ノイズフィルタ誤差は、回路素子の回路定数のばらつき等に起因する時定数誤差を含む。CPU誤差は、アナログ信号をデジタル信号に変換する際の量子化誤差等を含む。この中で、CPU誤差は、CPU58自体の性能に依存するため、上述した誤差成分から除外する。
However, the start point of each speed detection period is often influenced by various error components. Examples of error components include a detection magnet error, a magnetic sensor error, a noise filter error, and a CPU error.
The detection magnet error includes an error in the magnetizing range of the detection magnet 22 and an installation error with respect to the rotor 12, and an arrangement error of the actual first boundary 24a to the eighth boundary 24h with respect to the ideal first boundary 24a to the eighth boundary 24h. Refers to ingredients. The magnetic sensor error includes a reading error of the first magnetic sensor 34a to the third magnetic sensor 34c and an attachment error with respect to the stator 14 when detecting the normal rotation speed of the rotor 12, and when detecting the reverse rotation speed of the rotor 12. The reading error of the fourth magnetic sensor 34d to the sixth magnetic sensor 34f and the mounting error with respect to the stator 14 are included. The noise filter error includes a time constant error caused by variations in circuit constants of circuit elements. The CPU error includes a quantization error when converting an analog signal to a digital signal. Of these, the CPU error depends on the performance of the CPU 58 itself, and is therefore excluded from the error components described above.

時定数誤差は、図6(B)に示すように、ノイズフィルタ68の出力波形がCR時定数による一次遅れ波形となることによって生じる。
すなわち、後段の波形整形回路70から出力されるパルス波形(図6(C)参照)は、理想的には、その立ち下がり時点が、ノイズフィルタ68の出力波形(図6(B)参照)の立ち上がり時点とほぼ同時となり、立ち上がり時点が、ノイズフィルタ68の出力波形の立ち下がり時点とほぼ同時になることである。
しかし、ノイズフィルタ68の出力波形が一次遅れ波形であることから、波形整形回路70の出力波形の立ち下がり時点は、ノイズフィルタ68の出力波形の立ち上がり時点からノイズフィルタ68の出力(出力電圧)が第1閾値電圧Vtp以上となった時点までの時間だけ遅れ、この遅れ時間Δt1が時定数誤差となる。
As shown in FIG. 6B, the time constant error is generated when the output waveform of the noise filter 68 becomes a first order lag waveform due to the CR time constant.
That is, the pulse waveform (see FIG. 6C) output from the waveform shaping circuit 70 at the subsequent stage ideally has a falling time point of the output waveform of the noise filter 68 (see FIG. 6B). The rise time is almost simultaneously with the rise time, and the rise time is almost simultaneously with the fall time of the output waveform of the noise filter 68.
However, since the output waveform of the noise filter 68 is a first-order lag waveform, the output (output voltage) of the noise filter 68 starts from the rising point of the output waveform of the noise filter 68 at the falling point of the output waveform of the waveform shaping circuit 70. This is delayed by a time until the time when the voltage becomes equal to or higher than the first threshold voltage Vtp, and this delay time Δt1 becomes a time constant error.

なお、波形整形回路70の出力波形の立ち上がり時点は、ノイズフィルタ68の出力波形の立ち下がり時点からノイズフィルタ68の出力(出力電圧)が第2閾値電圧Vtn以下となった時点までの時間だけ遅れることになるが、この遅れ時間Δt2は無視できる程度に短い。そのため、波形整形回路70の出力波形のうち、立ち上がり時点に時定数誤差は存在しないものとして扱うことができる。
このことから、図9(A)に示すように、3相のロータ位置検出パルスSaのうち、各立ち下がりは、ノイズフィルタ誤差による影響を受けていることになる。
The rise time of the output waveform of the waveform shaping circuit 70 is delayed by the time from the fall time of the output waveform of the noise filter 68 to the time when the output (output voltage) of the noise filter 68 becomes equal to or lower than the second threshold voltage Vtn. However, this delay time Δt2 is short enough to be ignored. Therefore, the output waveform of the waveform shaping circuit 70 can be treated as having no time constant error at the rise time.
From this, as shown in FIG. 9A, each falling edge of the three-phase rotor position detection pulse Sa is affected by a noise filter error.

検出磁石誤差は、上述したように、検出磁石22の着磁範囲の誤差や取付誤差を含むため、各磁気センサが磁極の変化を検出した時点で検出磁石誤差の影響を受けることになる。すなわち、3相のロータ位置検出パルスSaのうち、各立ち下がり及び各立ち上がりは、検出磁石誤差による影響を受けていることになる。
具体的には、第1磁気センサ34aを基準位置としたとき、例えば第1相のロータ位置検出パルスSa1のうち、基準位置から最初の立ち下がりは、検出磁石22における第1境界24aの位置誤差(第1検出磁石誤差)による影響を受け、次の最初の立ち上がりは、検出磁石22における第2境界24bの位置誤差(第2検出磁石誤差)による影響を受け、次の2回目の立ち下がりは、検出磁石22における第3境界24cの位置誤差(第3検出磁石誤差)による影響を受け、次の第2回目の立ち上がりは、検出磁石22における第4境界24dの位置誤差(第4検出磁石誤差)による影響を受け、次の第3回目の立ち下がりは、検出磁石22における第5境界24eの位置誤差(第5検出磁石誤差)による影響を受け、次の第3回目の立ち上がりは、検出磁石22における第6境界24fの位置誤差(第6検出磁石誤差)による影響を受け、次の第4回目の立ち下がりは、検出磁石における第7境界24gの位置誤差(第7検出磁石誤差)による影響を受けていることになる。これは、第2相のロータ位置検出パルスSa2及び第3相のロータ位置検出パルスSa3においても同様である。
As described above, the detection magnet error includes an error in the magnetization range of the detection magnet 22 and an installation error, and therefore, the detection magnet error is affected by the detection magnet error when each magnetic sensor detects a change in the magnetic pole. That is, each falling edge and each rising edge of the three-phase rotor position detection pulse Sa are affected by the detection magnet error.
Specifically, when the first magnetic sensor 34a is used as the reference position, for example, in the first-phase rotor position detection pulse Sa1, the first falling from the reference position is the position error of the first boundary 24a in the detection magnet 22. The next first rising edge is affected by the position error (second detecting magnet error) of the second boundary 24b in the detecting magnet 22, and the next second falling edge is influenced by the (first detecting magnet error). Due to the influence of the position error (third detection magnet error) of the third boundary 24 c in the detection magnet 22, the next second rise is the position error (fourth detection magnet error of the fourth boundary 24 d in the detection magnet 22). ), The next third fall is affected by the position error (fifth detection magnet error) of the fifth boundary 24e in the detection magnet 22 and the next third fall. The rise is affected by the position error (sixth detection magnet error) of the sixth boundary 24f in the detection magnet 22, and the next fourth fall is the position error (seventh detection of the seventh boundary 24g in the detection magnet). It is influenced by the magnet error. The same applies to the second-phase rotor position detection pulse Sa2 and the third-phase rotor position detection pulse Sa3.

磁気センサ誤差は、上述したように、ロータ12の正転速度を検出する場合は、第1磁気センサ34a〜第3磁気センサ34cの読取誤差やステータ14に対する取付誤差を含むことから、第1磁気センサ34aを基準としたとき、第2磁気センサ34bに対応する第2相のロータ位置検出パルスSa2の各立ち上がり及び各立ち下がりが第2磁気センサ34bに起因する磁気センサ誤差(第2磁気センサ誤差と記す)による影響を受け、第3磁気センサ34cに対応する第3相のロータ位置検出パルスSa3の各立ち上がり及び各立ち下がりが第3磁気センサ34cに起因する磁気センサ誤差(第3磁気センサ誤差と記す)による影響を受けていることになる。   As described above, the magnetic sensor error includes the reading error of the first magnetic sensor 34a to the third magnetic sensor 34c and the mounting error with respect to the stator 14 when detecting the forward rotation speed of the rotor 12. When the sensor 34a is used as a reference, each rising edge and each falling edge of the second-phase rotor position detection pulse Sa2 corresponding to the second magnetic sensor 34b is a magnetic sensor error (second magnetic sensor error) caused by the second magnetic sensor 34b. The rise and fall of the third-phase rotor position detection pulse Sa3 corresponding to the third magnetic sensor 34c is affected by the third magnetic sensor 34c (the third magnetic sensor error). It is influenced by.

したがって、パルス生成回路56から出力されるロータ速度検出パルスSbは、上述した様々な誤差成分による影響を受けることになる。
例えば図9(B)に示すように、時点t1ではノイズフィルタ誤差、第3磁気センサ誤差及び第7検出磁石誤差による影響を受け、時点t2では第2磁気センサ誤差による影響を受け、時点t3ではノイズフィルタ誤差と第1検出磁石誤差による影響を受け、以下同様である。
そのため、上述した第1の手法、すなわち、ロータ速度検出パルスSbの立ち下がりから次の立ち上がりまでの期間及び立ち上がりから次の立ち下がりまでの期間をそれぞれ速度検出周期としてロータ12の速度を検出すると、図9(B)に示すように、時点t1〜時点t23に含まれる3相のロータ位置検出パルスSa全ての誤差成分による影響を受けることになる。
Therefore, the rotor speed detection pulse Sb output from the pulse generation circuit 56 is affected by the various error components described above.
For example, as shown in FIG. 9B, at time t1, it is affected by the noise filter error, the third magnetic sensor error, and the seventh detection magnet error, at time t2, it is affected by the second magnetic sensor error, and at time t3. The same applies to the influence of the noise filter error and the first detection magnet error.
Therefore, when the speed of the rotor 12 is detected using the first method described above, that is, the period from the falling edge of the rotor speed detection pulse Sb to the next rising edge and the period from the rising edge to the next falling edge, respectively, as speed detection cycles, As shown in FIG. 9B, it is influenced by the error components of all the three-phase rotor position detection pulses Sa included in the time point t1 to the time point t23.

そこで、第2の手法として、ロータ速度検出パルスSbの立ち下がりから次の任意の立ち下がりまでの期間、立ち上がりから次の任意の立ち上がりまでの期間を速度検出周期としてロータ12の速度を検出することが好ましい。この場合、検出精度を上げるために、速度検出期間<ロータ位置検出パルスSaのパルス周期Taを満足することが好ましい。
例えばロータ速度検出パルスSbの立ち下がりから次の立ち下がりまでの期間(t0→t2、t2→t4、t4→t6、・・・)を速度検出周期としてロータ12の速度を検出すると、図9(C)に示すように、時点t2での第2磁気センサ誤差、時点t4での第3磁気センサ誤差、時点t6での第2検出磁石誤差、時点t8での第2検出磁石誤差と第2磁気センサ誤差、時点t10での第2検出磁石誤差と第3磁気センサ誤差、時点t12での第4検出磁石誤差、時点t14での第4検出磁石誤差と第2磁気センサ誤差、時点t16での第4検出磁石誤差と第3磁気センサ誤差、時点t18での第6検出磁石誤差、時点t20での第6検出磁石誤差と第2磁気センサ誤差、時点t22での第6検出磁石誤差と第3磁気センサ誤差の影響を受けるのみであり、誤差成分による影響を最小限に抑えることができる。これは、ロータ12の速度の検出精度のさらなる向上につながる。
Therefore, as a second method, the speed of the rotor 12 is detected using the period from the falling edge of the rotor speed detection pulse Sb to the next arbitrary falling edge, and the period from the rising edge to the next arbitrary rising edge as the speed detection period. Is preferred. In this case, in order to increase the detection accuracy, it is preferable to satisfy the speed detection period <the pulse period Ta of the rotor position detection pulse Sa.
For example, when the speed of the rotor 12 is detected using the period from the fall of the rotor speed detection pulse Sb to the next fall (t0 → t2, t2 → t4, t4 → t6,...) As the speed detection cycle, FIG. C), the second magnetic sensor error at time t2, the third magnetic sensor error at time t4, the second detection magnet error at time t6, the second detection magnet error and the second magnetism at time t8. Sensor error, second detection magnet error and third magnetic sensor error at time t10, fourth detection magnet error at time t12, fourth detection magnet error and second magnetic sensor error at time t14, first detection at time t16 4 detection magnet error and third magnetic sensor error, sixth detection magnet error at time t18, sixth detection magnet error and second magnetic sensor error at time t20, sixth detection magnet error and third magnetic at time t22 Affected by sensor error Is a Runomi, it is possible to minimize the impact of the error component. This leads to further improvement in the detection accuracy of the speed of the rotor 12.

なお、速度検出期間として用いられるロータ速度検出パルスSbの立ち下がりから次の任意の立ち下がりまでの期間としては、上述した立ち下がりから次の立ち下がりまでの期間のほかに、立ち下がりから1つ置きの立ち下がりまでの期間(t0→t4、t4→t8、t8→t12、・・・)を採用するようにしてもよい。
また、速度検出期間として用いられるロータ速度検出パルスSbの立ち上がりから次の任意の立ち上がりまでの期間としては、立ち上がりから次の立ち上がりまでの期間(t1→t3、t3→t5、t5→t7、・・・)でもよいし、立ち上がりから1つ置きの立ち上がりまでの期間(t1→t5、t5→t9、t9→t13、・・・)を採用するようにしてもよい。
いずれにしても、誤差成分による影響が最小限になる期間を速度検出期間として採用することが好ましい。
このように、本実施の形態に係る速度検出回路50は、誤差成分による影響を最小限に抑えることができ、高精度にロータ12の速度を検出することができる。
The period from the fall of the rotor speed detection pulse Sb used as the speed detection period to the next arbitrary fall is one period from the fall in addition to the period from the fall to the next fall described above. It is also possible to adopt a period (t0 → t4, t4 → t8, t8 → t12,...) Until the trailing edge.
Further, as a period from the rise of the rotor speed detection pulse Sb used as the speed detection period to the next arbitrary rise, periods from the rise to the next rise (t1 → t3, t3 → t5, t5 → t7,... Or a period from a rising edge to every other rising edge (t1 → t5, t5 → t9, t9 → t13,...) May be adopted.
In any case, it is preferable to adopt a period in which the influence of the error component is minimized as the speed detection period.
As described above, the speed detection circuit 50 according to the present embodiment can minimize the influence of the error component, and can detect the speed of the rotor 12 with high accuracy.

すなわち、速度制御を行うモータシステムにおいて、モータ10(ロータ12)の回転数の検出精度は極めて重要である。従って、速度制御を行うモータシステムにおけるモータ10の回転数の検出には高精度ではあるが、高価なエンコーダやレゾルバを使用することが考えられる。これに対して、本実施の形態で使用されるホールICは、安価ではあるが、分解能が低く、一般に、モータ10の回転数の検出誤差が大きいという問題がある。
これに対して、本実施形態のように、3相のロータ位置検出パルスSaに基づいてロータ速度検出パルスSbを生成するパルス生成回路56を設けることによって、高精度にロータ12の速度を検出できる。さらに、速度検出期間として、ロータ速度検出パルスSbの立ち下がりから次の任意の立ち下がりまでの期間あるいは立ち上がりから次の任意の立ち上がりまでの期間を選ぶことで、検出精度をより向上させることができる。特に、ロータ速度検出パルスSbの立ち下がりから次の立ち下がりまでの期間を速度検出期間として選ぶことで、誤差成分の影響を最小限に抑えることができ、その結果、ロータ12の速度検出精度を、ロータ位置検出パルスSaのパルス周期Taを速度検出期間とした場合の3倍向上させることができ、誤差成分を約1/10にすることができる。
これにより、磁気センサとしてホールICを用いたとしても、モータ10の速度制御を高精度に行うことができ、CPU58からの速度指令値に対してほとんど誤差なく高精度に追従させることができる。
さらに、速度検出期間として、ロータ速度検出パルスSbの立ち下がりから次の任意の立ち下がりまでの期間あるいは立ち上がりから次の任意の立ち上がりまでの期間を選ぶことで、検出精度をより向上させることができる。特に、ロータ速度検出パルスSbの立ち下がりから次の立ち下がりまでの期間を速度検出期間として選ぶことで、誤差成分の影響を最小限に抑えることができ、その結果、ロータ12の速度検出精度を、ロータ位置検出パルスSaのパルス周期Taを速度検出期間とした場合の3倍向上させることができ、誤差成分を約1/10にすることができる。
That is, in a motor system that performs speed control, the detection accuracy of the rotational speed of the motor 10 (rotor 12) is extremely important. Therefore, it is conceivable to use an expensive encoder or resolver for detecting the number of rotations of the motor 10 in a motor system that performs speed control, although it is highly accurate. On the other hand, the Hall IC used in the present embodiment is inexpensive, but has a problem that the resolution is low and generally the detection error of the rotational speed of the motor 10 is large.
On the other hand, the speed of the rotor 12 can be detected with high accuracy by providing the pulse generation circuit 56 that generates the rotor speed detection pulse Sb based on the three-phase rotor position detection pulse Sa as in the present embodiment. . Furthermore, the detection accuracy can be further improved by selecting a period from the falling edge of the rotor speed detection pulse Sb to the next arbitrary falling edge or a period from the rising edge to the next arbitrary rising edge as the speed detection period. . In particular, by selecting the period from the fall of the rotor speed detection pulse Sb to the next fall as the speed detection period, the influence of the error component can be minimized, and as a result, the speed detection accuracy of the rotor 12 can be improved. The rotor position detection pulse Sa can be improved three times as long as the pulse detection period Ta is the speed detection period, and the error component can be reduced to about 1/10.
As a result, even if a Hall IC is used as the magnetic sensor, the speed control of the motor 10 can be performed with high accuracy, and the speed command value from the CPU 58 can be followed with high accuracy with almost no error.
Furthermore, the detection accuracy can be further improved by selecting a period from the falling edge of the rotor speed detection pulse Sb to the next arbitrary falling edge or a period from the rising edge to the next arbitrary rising edge as the speed detection period. . In particular, by selecting the period from the fall of the rotor speed detection pulse Sb to the next fall as the speed detection period, the influence of the error component can be minimized, and as a result, the speed detection accuracy of the rotor 12 can be improved. The rotor position detection pulse Sa can be improved three times as long as the pulse detection period Ta is the speed detection period, and the error component can be reduced to about 1/10.

次いで、モータ10の駆動制御系について説明する。
図10は、モータ駆動システム1のモータ駆動制御系を示すブロック図である。
このモータ駆動制御系では、車両に搭載されたコンピュータから制御装置2に速度指令値たる指令速度ωrm *が入力され、当該指令速度ωrm *でモータ10が駆動されるようにフィードバック制御が行われる。すなわち、図10に示すように、モータ駆動制御系は、大別すると、位置・速度検出部82と、速度制御部84と、駆動信号生成部86と、角度補間部88とを備えている。なお、これら各部は上記駆動回路4が備えるCPU58によって実現されている。
位置・速度検出部82は、ロータ12の磁極位置θre、及びロータ12の回転速度ωrmを検出し、回転速度ωrmを速度制御部84に出力するとともに、磁極位置θreを角度補間部88に出力するものであり、上述したロータ位置検出手段60、及びロータ速度検出手段62を含んで構成されている。
Next, the drive control system of the motor 10 will be described.
FIG. 10 is a block diagram showing a motor drive control system of the motor drive system 1.
In this motor drive control system, a command speed ω rm *, which is a speed command value, is input to the control device 2 from a computer mounted on the vehicle, and feedback control is performed so that the motor 10 is driven at the command speed ω rm *. Is called. That is, as shown in FIG. 10, the motor drive control system roughly includes a position / speed detector 82, a speed controller 84, a drive signal generator 86, and an angle interpolator 88. These units are realized by the CPU 58 provided in the drive circuit 4.
The position / speed detector 82 detects the magnetic pole position θ re of the rotor 12 and the rotational speed ω rm of the rotor 12, outputs the rotational speed ω rm to the speed controller 84, and outputs the magnetic pole position θ re to the angle interpolator. The rotor position detecting means 60 and the rotor speed detecting means 62 described above are included.

速度制御部84は、車両が備えるコンピュータから入力された指令速度ωrm *と、位置・速度検出部82で検出した回転速度ωrmとに基づいて電圧指令値を算出し、駆動信号生成部86に出力する。詳述すると、速度制御部84は、指令速度ωrm *と、回転速度ωrmとからトルク指令値を算出する速度制御器90と、トルク指令値及び指令速度ωrm *で検索可能なデューティ(Duty)マップ91及び進角マップ92とを備えている。
速度制御器90は、比例(P)制御器、及び積分(I)制御器を有し、指令速度ωrm *と回転速度ωrmとの偏差に基づいて、PI制御により誤差を補償してトルク指令値を算出する。デューティマップ91は、指令速度ωrm *、後述するPWM駆動信号のデューティ、及びトルクの相互の関係を予め規定したマップである。トルク指令値、及び指令速度ωrm *でデューティマップ91を検索することで、当該トルク指令値のトルクが得られるデューティが決定される。進角マップ92は、指令速度ωrm *、進角、及びトルクの相互の関係を予め規定したマップである。すなわち、トルク指令値及び指令速度ωrm *で進角マップ92を検索することで、当該トルク指令値及び指令速度ωrm *に対して最適な進角が得られる。そして、これら進角及びデューティの指示値を含んだ電圧指令値が駆動信号生成部86に入力される。
The speed control unit 84 calculates a voltage command value based on the command speed ω rm * input from the computer included in the vehicle and the rotational speed ω rm detected by the position / speed detection unit 82, and the drive signal generation unit 86. Output to. More specifically, the speed control unit 84 calculates a torque command value from the command speed ω rm * and the rotation speed ω rm, and a duty that can be searched by the torque command value and the command speed ω rm * ( (Duty) map 91 and advance angle map 92 are provided.
The speed controller 90 has a proportional (P) controller and an integral (I) controller. Based on the deviation between the command speed ω rm * and the rotational speed ω rm , the speed controller 90 compensates for the error by PI control and generates a torque. Calculate the command value. The duty map 91 is a map that preliminarily defines the mutual relationship between the command speed ω rm * , the duty of a PWM drive signal to be described later, and the torque. By searching the duty map 91 using the torque command value and the command speed ω rm * , the duty at which the torque of the torque command value is obtained is determined. The advance angle map 92 is a map that predetermines the mutual relationship between the command speed ω rm * , the advance angle, and the torque. That is, by searching the advance angle map 92 by the torque command value and the command speed omega rm *, the optimum advance angle with respect to the torque command value and the command speed omega rm * is obtained. Then, a voltage command value including these lead angle and duty indication values is input to the drive signal generator 86.

駆動信号生成部86は、波形生成器93と、PWM駆動信号生成部94とを備えている。波形生成器93は、後述する角度補間部88からロータ12の磁極位置θreに基づくU相、V相、及びW相の各相の正弦振幅信号sinθreが入力されるとともに、速度制御部84から上記電圧指令値が入力され、各相の正弦振幅信号sinθreの信号振幅を電圧指令値によって調整し、それぞれを正弦波の変調波信号Vua*、Vva*、Vwa*としてPWM駆動信号生成部94に出力する。PWM駆動信号生成部94は、各正弦波の変調波信号Vua*、Vva*、Vwa*に基づいてPWM駆動信号を生成する。具体的には、PWM駆動信号生成部94は、三角波比較非同期式によりPWM駆動信号を生成しており、各正弦波の変調波信号Vua*、Vva*、Vwa*と、搬送波である三角波との電圧値を比較してPWM駆動信号を生成し、インバータ回路6に出力する。 The drive signal generation unit 86 includes a waveform generator 93 and a PWM drive signal generation unit 94. Waveform generator 93, U-phase based on the magnetic pole position theta re of the rotor 12 from the angle interpolation unit 88 to be described later, together with the V-phase, and each phase of the sine amplitude signal sin [theta re the W phase are inputted, the speed control unit 84 The voltage command value is input from the above, and the signal amplitude of the sine amplitude signal sin θ re of each phase is adjusted by the voltage command value, and the PWM drive signal generation unit is set as a sine wave modulation wave signal Vua * , Vva * , Vwa * , respectively. Output to 94. The PWM drive signal generation unit 94 generates a PWM drive signal based on the modulation wave signals Vua * , Vva * , and Vwa * of each sine wave. Specifically, the PWM drive signal generation unit 94 generates a PWM drive signal by a triangular wave comparison asynchronous method, and each modulated wave signal Vua * , Vva * , Vwa * of each sine wave and a triangular wave that is a carrier wave. The voltage values are compared to generate a PWM drive signal and output to the inverter circuit 6.

角度補間部88は、位置・速度検出部82が出力するロータ12の磁極位置θreに基づいて正弦振幅信号sinθreを生成し、駆動信号生成部86に出力するものであり、磁極位置補間器95と、三角関数演算器96とを備えている。正弦振幅信号sinθreは、前掲図7(C)に示すように、ロータ位置検出パルスSaに同期した周期の正弦波の振幅信号である。
本実施形態では、ロータ速度検出パルスSbのパルス周期がロータ位置検出パルスSaのパルス周期Taの1/3(電気角60度)であることから、このロータ速度検出パルスSbの立ち上がり、及び立ち下がりのタイミングごとに正弦振幅信号sinθreを生成し、これによりロータ位置検出パルスSaの立ち上がり、及び立ち下がりに基づいて正弦振幅信号sinθreを生成する場合よりも分解能を高めることとしている。なお、電気角は、モータ10の構造(ロータやステータの構造、スロット数など)によって変わることは勿論である。
磁極位置補間器95は、ロータ速度検出パルスSbの立ち上がり、及び立ち下がりのタイミングで磁極位置θreを三角関数演算器96に出力する。すなわち、モータ10が一定方向に回転している場合、ロータ速度検出パルスSbが立ち上がり、及び立ち下がるごとに、磁極位置θreは、0度→60度→120度→180度→240度→300度→360度(0度)→60度といったように60度間隔で0度から360度まで循環的に変化する。磁極位置補間器95は、モータ10の回転開始時、或いは回転方向の反転検出後にロータ速度検出パルスSbが最初に立ち上がり、又は立ち下がったタイミングを磁極位置θre=0度に設定し、その後、ロータ速度検出パルスSbが立ち上がり、又は立ち下がるごとに、三角関数演算器96に出力する磁極位置θreを60度ずつ増加させる。
The angle interpolation unit 88 generates a sine amplitude signal sin θ re based on the magnetic pole position θ re of the rotor 12 output from the position / velocity detection unit 82 and outputs the sine amplitude signal sin θ re to the drive signal generation unit 86. 95 and a trigonometric function calculator 96. As shown in FIG. 7C, the sine amplitude signal sin θ re is a sine wave amplitude signal having a period synchronized with the rotor position detection pulse Sa.
In the present embodiment, since the pulse period of the rotor speed detection pulse Sb is 1/3 (electrical angle 60 degrees) of the pulse period Ta of the rotor position detection pulse Sa, the rise and fall of the rotor speed detection pulse Sb. The sine amplitude signal sin θ re is generated at each timing, and thereby the resolution is increased as compared with the case where the sine amplitude signal sin θ re is generated based on the rise and fall of the rotor position detection pulse Sa. Of course, the electrical angle varies depending on the structure of the motor 10 (the structure of the rotor and stator, the number of slots, etc.).
The magnetic pole position interpolator 95 outputs the magnetic pole position θ re to the trigonometric function calculator 96 at the rising and falling timings of the rotor speed detection pulse Sb. That is, when the motor 10 is rotating in a certain direction, the magnetic pole position θ re is 0 degree → 60 degrees → 120 degrees → 180 degrees → 240 degrees → 300 each time the rotor speed detection pulse Sb rises and falls. It changes cyclically from 0 degrees to 360 degrees at intervals of 60 degrees, such as degrees → 360 degrees (0 degrees) → 60 degrees. The magnetic pole position interpolator 95 sets the timing at which the rotor speed detection pulse Sb first rises or falls at the start of rotation of the motor 10 or after detection of reversal of the rotation direction to the magnetic pole position θ re = 0 degrees, and then Each time the rotor speed detection pulse Sb rises or falls, the magnetic pole position θ re output to the trigonometric function calculator 96 is increased by 60 degrees.

三角関数演算器96は、磁極位置θreが入力されるごとに、磁極位置θreの正弦値(sinθre)を算出し、正弦振幅信号sinθreとして波形生成器93に出力する。このとき、三角関数演算器96は、磁極位置θreが入力されるごとに正弦振幅信号sinθreの値を更新しており、三角関数演算器96の出力信号波形は、いわゆる階段状の信号波形となる。したがって、磁極位置補間器95が磁極位置θreを電気角60度ごとにだけ出力する構成とすると、図11に一点鎖線で示すように、三角関数演算器96が出力している正弦振幅信号sinθreは正弦波形からのズレが大きな荒い信号Sjとなる。特に、モータ10の回転速度ωrmが遅いときには、ロータ速度検出パルスSbのパルス周期Tcが長くなることから、正弦振幅信号sinθreは、荒い信号Sjを時間軸上で引き延ばした波形となり、正弦波形からのズレが顕著なものとなる。
そこで本実施形態では、磁極位置補間器95がロータ速度検出パルスSbの立ち上がり及び立ち下がり時に加え、その間も一定時間間隔で磁極位置θreを補間して三角関数演算器96に出力し、これにより正弦振幅信号sinθreの解像度を高めることとしている。
本実施形態では、図12に示すように、1周期の正弦波信号を512分割、すなわち角度分解能を512/360(deg)とし、この角度分解能で磁極位置補間器95が角度を補間することで三角関数演算器96が暫時出力する正弦振幅信号sinθreのグラフが正弦波に十分に近似したものとなるようにしている。
The trigonometric function calculator 96 calculates a sine value (sin θ re ) of the magnetic pole position θ re every time the magnetic pole position θ re is input, and outputs the sine amplitude signal sin θ re to the waveform generator 93. At this time, the trigonometric function calculator 96 updates the value of the sine amplitude signal sin θ re every time the magnetic pole position θ re is input, and the output signal waveform of the trigonometric function calculator 96 is a so-called stepped signal waveform. It becomes. Therefore, if the magnetic pole position interpolator 95 outputs the magnetic pole position θ re only at every electrical angle of 60 degrees, the sine amplitude signal sin θ output from the trigonometric function calculator 96 as shown by a one-dot chain line in FIG. re is a rough signal Sj with a large deviation from the sine waveform. In particular, when the rotational speed ω rm of the motor 10 is slow, the pulse period Tc of the rotor speed detection pulse Sb becomes long. Therefore, the sine amplitude signal sin θ re becomes a waveform obtained by extending the rough signal Sj on the time axis. The deviation from is remarkable.
Therefore, in this embodiment, the magnetic pole position interpolator 95 interpolates the magnetic pole position θ re at a constant time interval and outputs it to the trigonometric function calculator 96 in addition to the rise and fall of the rotor speed detection pulse Sb. The resolution of the sine amplitude signal sin θ re is increased.
In this embodiment, as shown in FIG. 12, the sine wave signal of one cycle is divided into 512, that is, the angle resolution is set to 512/360 (deg), and the magnetic pole position interpolator 95 interpolates the angle with this angle resolution. The graph of the sine amplitude signal sin θ re output for a while by the trigonometric function calculator 96 is made to be sufficiently approximate to a sine wave.

ところで、PWM制御信号の生成の搬送波に用いる三角波のキャリア周波数をfc、速度制御部84から波形生成器93に入力される電圧指令値の周波数である指令電圧周波数をflとしたとき、三角波比較非同期式のPWM制御によりモータ10を駆動する揚合、PWM駆動信号として生成する正弦波の変調波信号Vua*、Vva*、Vwa*に対し十分な速度で指令しないと波形が崩れる。このため、fc/fl≧N(=9)とすることで波形品質を維持する。(ここでN=9というのは、キャリア周波数fcに実用的な周波数が得られる値として値実験や経験値などから求められたものである。)
すなわち、モータ10の設定最高回転数がX[rpm]である場合には、指令電圧周波数fl=X/60×(極数/2)[Hz]と求められることから、搬送波のキャリア周波数fc=Y[kHz]は、fc/fl≧N(=9)の関係を満たすように設定すれば、波形の崩れは生じないことになる。本実施形態では、設定最高回転数Xを3500[rpm]とし、キャリア周波数fcにはfc=16kHzを用いることとしている。
磁極位置補間器95には、キャリア周波数fcごと(すなわち、62.5μ秒ごと)に割込みが発生し、この割込み発生ごとに、磁極位置補間処理が磁極位置補間器95によって行われる。
By the way, when the carrier frequency of the triangular wave used for the carrier wave for generating the PWM control signal is fc and the command voltage frequency that is the frequency of the voltage command value input from the speed control unit 84 to the waveform generator 93 is fl, the triangular wave comparison is asynchronous. If the motor 10 is driven by the PWM control of the equation and the sine wave modulation wave signals Vua * , Vva * and Vwa * generated as PWM drive signals are not commanded at a sufficient speed, the waveform will be broken. For this reason, the waveform quality is maintained by setting fc / fl ≧ N (= 9). (Here, N = 9 is obtained from a value experiment, an empirical value, or the like as a value for obtaining a practical frequency for the carrier frequency fc.)
That is, when the set maximum rotational speed of the motor 10 is X [rpm], the command voltage frequency fl = X / 60 × (number of poles / 2) [Hz] is obtained, so that the carrier frequency fc of the carrier wave = fc = If Y [kHz] is set so as to satisfy the relationship of fc / fl ≧ N (= 9), the waveform does not collapse. In the present embodiment, the maximum set rotational speed X is 3500 [rpm], and fc = 16 kHz is used as the carrier frequency fc.
The magnetic pole position interpolator 95 is interrupted every carrier frequency fc (that is, every 62.5 μsec), and the magnetic pole position interpolator 95 performs the magnetic pole position interpolation processing every time this interrupt occurs.

磁極位置補間処理は、ロータ速度検出パルスSbの立ち上がりと、立ち下がりとの間の磁極位置θreを補間する処理である。ロータ速度検出パルスSbの立ち上がりから立ち下がりの間(すなわち1/2パルス周期)が電気角60度に相当することから、ロータ速度検出パルスSbの立ち上がりから立ち下がりに亘って、補間角度αを60度分だけ経過時間に応じて漸次増加(正回転時)、或いは減少(逆回転時)させ、そして、ロータ速度検出パルスSbの前回の立ち上がり又は立ち下がり時に出力した磁極位置θreに補間角度αを加えることで補間が行われる。 The magnetic pole position interpolation process is a process of interpolating the magnetic pole position θ re between the rising edge and the falling edge of the rotor speed detection pulse Sb. Since the rotor speed detection pulse Sb rises and falls (ie, 1/2 pulse period) corresponds to an electrical angle of 60 degrees, the interpolation angle α is set to 60 from the rise to the fall of the rotor speed detection pulse Sb. By gradually increasing (forward rotation) or decreasing (reverse rotation) according to the elapsed time, the interpolation angle α is added to the magnetic pole position θ re output at the previous rise or fall of the rotor speed detection pulse Sb. Interpolation is performed by adding.

図13は、磁極位置補間処理のフローチャートである。
同図に示すように、割込が発生すると(ステップS1)、磁極位置補間器95は、先ず、ロータ速度検出パルスSbが立ち上がり又は立ち下がることで信号レベルに変化があったか否かを判定する(ステップS2)。信号レベルに変化があった場合(ステップS2:YED)、補間角度αの初期値に30度を設定する(ステップS3)。この初期値は、モータ10のスロット数に基づいて決定された値である。すなわち、モータ10のスロット数が12スロットである場合、スロットが30度間隔に配置されることから、第1磁気センサ34a〜第6磁気センサ34fも、それぞれ30度間隔で配置される。したがって、第1磁気センサ34a〜第6磁気センサ34fのいずれかから電気角30度ごとに磁極位置検出信号が出力される。ロータ速度検出パルスSbは、この磁極位置検出信号に基づいてパルス生成回路56により生成されるため、ロータ速度検出パルスSbの立ち上がり及び立ち下がり時は電気角30度だけ磁極位置θreが既に移動していることを示すこととなり、この電気角30度が初期値として設定される。なお、スロット数がMであり、スロットごとに磁気センサが配置される場合には、初期値として(360度/スロット数M)が設定される。
なお、U相、V相及びW相のスロットのそれぞれに磁気センサを配置したとき、
(360度/スロット数M)×2>(360度/磁極数)>(360度/スロット数M)
の関係が成り立つ。
FIG. 13 is a flowchart of magnetic pole position interpolation processing.
As shown in the figure, when an interrupt occurs (step S1), the magnetic pole position interpolator 95 first determines whether or not the signal level has changed as the rotor speed detection pulse Sb rises or falls ( Step S2). If there is a change in the signal level (step S2: YED), 30 degrees is set as the initial value of the interpolation angle α (step S3). This initial value is a value determined based on the number of slots of the motor 10. That is, when the number of slots of the motor 10 is 12, the slots are arranged at intervals of 30 degrees, and therefore the first magnetic sensor 34a to the sixth magnetic sensor 34f are also arranged at intervals of 30 degrees. Therefore, a magnetic pole position detection signal is output every 30 degrees of electrical angle from any of the first magnetic sensor 34a to the sixth magnetic sensor 34f. Since the rotor speed detection pulse Sb is generated by the pulse generation circuit 56 based on the magnetic pole position detection signal, the magnetic pole position θ re has already moved by an electrical angle of 30 degrees when the rotor speed detection pulse Sb rises and falls. This electrical angle of 30 degrees is set as an initial value. When the number of slots is M and a magnetic sensor is arranged for each slot, (360 degrees / slot number M) is set as an initial value.
When a magnetic sensor is disposed in each of the U-phase, V-phase, and W-phase slots,
(360 degrees / number of slots M) × 2> (360 degrees / number of magnetic poles)> (360 degrees / number of slots M)
The relationship holds.

次いで、磁極位置補間器95は、モータ10の回転方向が反転したか否かを判定する(ステップS4)。モータ10の回転方向が同一方向に回転している場合には(ステップS4:NO)、後述する割込カウンタ値Cnがカウント上限値Cmaxに達していない事を条件に(ステップS5:NO)、補間角度αの算出アルゴリズムを指定する補間フラグQfに「通常補間」をセットする(ステップS6)。一方、モータ10の回転方向が反転している場合(ステップS4:YES)、或いは割込カウンタ値Cnがカウント上限値Cmaxに達している場合(ステップS5:YES)、補間角度αの算出アルゴリズムを通常のアルゴリズムから変更すべく補間フラグQfに「極低速用補間」をセットする(ステップS7)。
ここで、磁気センサ34a〜第6磁気センサ34fの各磁極位置検出信号の出力順序は、モータ10の回転方向ごとに一意に決まっているため、上記ステップS4においては、磁極位置検出信号を出力した今回の磁気センサ34と、各磁気センサ34の前回までの磁極位置検出信号の出力順序とに基づいて、モータ10の回転方向の反転の有無が判別される。なお、磁極位置検出信号を出力する磁気センサ34の順序は、ステップS2において、ロータ速度検出パルスSbの信号レベルが変化するごとにRAM等に更新記録されている。
Next, the magnetic pole position interpolator 95 determines whether or not the rotation direction of the motor 10 is reversed (step S4). When the rotation direction of the motor 10 is rotating in the same direction (step S4: NO), on condition that an interrupt counter value Cn described later has not reached the count upper limit value Cmax (step S5: NO), “Normal interpolation” is set to the interpolation flag Qf for designating the calculation algorithm of the interpolation angle α (step S6). On the other hand, when the rotation direction of the motor 10 is reversed (step S4: YES), or when the interrupt counter value Cn has reached the count upper limit value Cmax (step S5: YES), an algorithm for calculating the interpolation angle α is set. In order to change from the normal algorithm, “very low speed interpolation” is set in the interpolation flag Qf (step S7).
Here, since the output order of the magnetic pole position detection signals of the magnetic sensor 34a to the sixth magnetic sensor 34f is uniquely determined for each rotation direction of the motor 10, the magnetic pole position detection signal is output in step S4. Based on the current magnetic sensor 34 and the output order of the magnetic pole position detection signals of each magnetic sensor 34 until the previous time, it is determined whether or not the rotation direction of the motor 10 is reversed. The order of the magnetic sensor 34 that outputs the magnetic pole position detection signal is updated and recorded in the RAM or the like every time the signal level of the rotor speed detection pulse Sb changes in step S2.

割込カウンタ値Cnは、ロータ速度検出パルスSbの信号レベルが変化する間に生じた割込発生回数を計数するカウンタの値である。ロータ速度検出パルスSbの信号レベルが1回の変化するごとに磁極位置θreが電気角60度だけ変化することから、この間の割込カウンタ値Cnの最終カウント値Cend(前回の信号レベルの変化に要した時間)で電気角60度を割ることにより、割込発生1回あたりの磁極位置θreの移動量(割込発生時間あたりの移動量)が得られる。磁極位置補間器95は、次回の割込発生時に行う補間角度αの算出に備え、ロータ速度検出パルスSbの前回から今回の信号レベル変化の間にカウントした現時点での割込カウンタ値Cnを最終カウント値Cendにセットして記録する(ステップS8)。 The interrupt counter value Cn is a value of a counter that counts the number of interrupts generated while the signal level of the rotor speed detection pulse Sb changes. Every time the signal level of the rotor speed detection pulse Sb changes once, the magnetic pole position θ re changes by an electrical angle of 60 degrees, so that the final count value Cend (change in the previous signal level) of the interrupt counter value Cn during this time The amount of movement of the magnetic pole position θ re per one occurrence of interruption (the amount of movement per interruption occurrence time) is obtained by dividing the electrical angle by 60 degrees by the time required for. The magnetic pole position interpolator 95 finally calculates the current interrupt counter value Cn counted between the previous change of the rotor speed detection pulse Sb and the current signal level in preparation for the calculation of the interpolation angle α performed at the next interrupt occurrence. The count value Cend is set and recorded (step S8).

ここで、ロータ速度検出パルスSbの信号レベルの変化間隔(周期)は、モータ10の回転速度が遅いほど長くなり、これに比例して、割込カウンタ値Cnも増大するため、信号レベルの変化間隔が非常に長くなると割込カウンタ値Cnにオーバーフローが発生する。具体的には、本実施形態では割込を16kHzで発生させているため、62.5μ秒ごとに割込カウンタ値Cnがカウントアップし、10bitタイマーを用いて割込カウンタを構成した場合、62.5μ秒×1024≒64m秒がカウントの上限値となることから、信号レベルの変化間隔がこれを超えるとオーバーフローが発生することになる。つまり例えばモータ10の回転数が30rpmと遅い場合には、U相1周期の時間は(30/60)×4で2Hz(500m秒)となるためオーバーフローが発生する。オーバーフローが発生すると、割込カウンタ値Cnに基づいて算出される補間角度αに狂いが生じる。そこで、本実施形態では、割込カウンタを構成するタイマーのbit数に基づいて、オーバーフローが発生しない範囲で上述したカウント上限値Cmaxを設定し、このカウント上限値Cmaxを割込カウンタ値Cnが超えた場合には、モータ10が極低速で回転しているものとし、補間角度αの算出アルゴリズムを通常のアルゴリズムから変更することとしている。このため、上述の通り、磁極位置補間器95は、上記ステップS5において割込カウンタ値Cnがカウント上限値Cmaxに達しているか否かを判定し、達していない場合には(ステップS5:NO)、補間フラグQfに「通常補間」をセットし(ステップS6)、またカウント上限値Cmaxを超えている場合には(ステップS5:YES)、補間フラグQfに「極低速用補間」をセットしている。
なお、モータ10の回転が極低速となるタイミングには、モータ10の停止前、始動直後、及び回転方向反転直後が挙げられる。
Here, the change interval (cycle) of the signal level of the rotor speed detection pulse Sb becomes longer as the rotation speed of the motor 10 is slower, and the interrupt counter value Cn increases in proportion to this, so the change in the signal level. When the interval becomes very long, an overflow occurs in the interrupt counter value Cn. Specifically, in this embodiment, since the interrupt is generated at 16 kHz, when the interrupt counter value Cn is incremented every 62.5 μsec and the interrupt counter is configured using a 10-bit timer, 62 Since .5 .mu.sec.times.1024.apprxeq.64 msec is the upper limit value of the count, overflow occurs when the signal level change interval exceeds this. That is, for example, when the rotation speed of the motor 10 is as slow as 30 rpm, the time of one cycle of the U phase is (30/60) × 4 and 2 Hz (500 msec), and thus overflow occurs. When an overflow occurs, the interpolation angle α calculated based on the interrupt counter value Cn is distorted. Therefore, in the present embodiment, based on the number of bits of the timer constituting the interrupt counter, the above-described count upper limit value Cmax is set in a range where overflow does not occur, and the interrupt counter value Cn exceeds the count upper limit value Cmax. In this case, it is assumed that the motor 10 is rotating at an extremely low speed, and the algorithm for calculating the interpolation angle α is changed from a normal algorithm. For this reason, as described above, the magnetic pole position interpolator 95 determines whether or not the interrupt counter value Cn has reached the count upper limit value Cmax in step S5, and if not (step S5: NO). Then, “normal interpolation” is set in the interpolation flag Qf (step S6), and if the count upper limit Cmax is exceeded (step S5: YES), “very low speed interpolation” is set in the interpolation flag Qf. Yes.
The timing at which the rotation of the motor 10 becomes extremely low includes before the motor 10 is stopped, immediately after starting, and immediately after the rotation direction is reversed.

次いで、磁極位置補間器95は、極低速でモータ10が回転している場合の補間角度αに用いる極低速用パラメータlowpathを、
極低速用パラメータlowpath
=(現在の割込カウンタ値)+1
により算出し記録する(ステップS9)。なお、この式において、現在の割込カウンタ値Cnは、ロータ速度検出パルスSbの信号が変化するまでのカウント値(経過時間に相当)を示す。
Next, the magnetic pole position interpolator 95 uses a very low speed parameter lowpath used for the interpolation angle α when the motor 10 is rotating at a very low speed.
Low speed parameter lowpath
= (Current interrupt counter value) + 1
Is calculated and recorded (step S9). In this equation, the current interrupt counter value Cn indicates a count value (corresponding to an elapsed time) until the signal of the rotor speed detection pulse Sb changes.

磁極位置補間器95は、以上のようにして補間フラグQfの設定、最終カウント値Cendの記録、及び極低速用パラメータlowpathの設定を行った後、割込カウンタ値Cnをゼロにクリアし(ステップS10)、処理手順をステップS1に戻す。   The magnetic pole position interpolator 95 sets the interpolation flag Qf, records the final count value Cend, and sets the very low speed parameter lowpath as described above, and then clears the interrupt counter value Cn to zero (step S10) The processing procedure is returned to step S1.

さて、割込発生時(ステップS1)にロータ速度検出パルスSbの信号レベルが変化していなかった場合には(ステップS2:NO)、磁極位置θreの補間角度αの算出が行われる。すなわち、磁極位置補間器95は、先ず、割込カウンタ値Cnを「1」だけインクリメントし(ステップS11)、その結果、割込カウンタ値Cnがカウント上限値Cmaxに達したか否かを判定する(ステップS12)。カウント上限値Cmaxに達した場合には(ステップS12:YES)、モータ10が極低速で回転している事を示すため、補間フラグQfに「極低速用補間」をセットする(ステップS13)。 When the signal level of the rotor speed detection pulse Sb has not changed at the time of occurrence of an interrupt (step S1) (step S2: NO), the interpolation angle α of the magnetic pole position θre is calculated. That is, the magnetic pole position interpolator 95 first increments the interrupt counter value Cn by “1” (step S11), and as a result, determines whether or not the interrupt counter value Cn has reached the count upper limit value Cmax. (Step S12). When the count upper limit value Cmax is reached (step S12: YES), “interpolation for extremely low speed” is set in the interpolation flag Qf to indicate that the motor 10 is rotating at an extremely low speed (step S13).

そして、磁極位置補間器95は、補間フラグQfに応じたアルゴリズムで磁極位置θreの補間角度αを算出する(ステップS14)。具体的には、補間フラグQfが「通常補間」である場合(ステップS14:通常補間)、割込カウンタ値Cnに比例させて補間角度αを暫時増加或いは減少させるべく、補間角度αを次の式により算出する(ステップS15)。
補間角度α=−(補間角度αの初期値)
+(現在の割込カウンタ値Cn×60度/最終カウント値Cend)
これにより、割込カウンタ値Cnに比例して、補間角度αが−30度(或いは、+30度)から暫時増大する補間角度αが算出される。
Then, the magnetic pole position interpolator 95 calculates the interpolation angle α of the magnetic pole position θ re with an algorithm according to the interpolation flag Qf (step S14). Specifically, when the interpolation flag Qf is “normal interpolation” (step S14: normal interpolation), the interpolation angle α is set to the following in order to temporarily increase or decrease the interpolation angle α in proportion to the interrupt counter value Cn. Calculation is performed using an equation (step S15).
Interpolation angle α =-(initial value of interpolation angle α)
+ (Current interrupt counter value Cn × 60 degrees / final count value Cend)
As a result, the interpolation angle α is calculated in which the interpolation angle α increases for a while from −30 degrees (or +30 degrees) in proportion to the interrupt counter value Cn.

一方、補間フラグQfが「極低速用補間」である場合(ステップS14:極低速用補間)、割込カウンタ値Cnに単純に比例して補間角度αを増大させるのではなく、割込カウンタ値Cnを上記極低速用パラメータlowpathで除算した残余がゼロになった場合、すなわち、割込カウンタ値Cnが上記極低速用パラメータlowpath分だけ増加した場合に、補間角度αを1度だけインクリメントする(ステップS16)。
これにより、補間角度αの増加が割込カウンタ値Cnの増加に対して緩慢になり、モータ10の低速回転に応じて緩やかに補間角度αを変化させることができる。また極低速用パラメータlowpathは、ロータ速度検出パルスSbの信号レベルの変化に要した前回の経過時間を示し、この経過時間ごとに磁極位置θreを増加させるため、経過時間に対する磁極位置θreの増加が比較的急激に抑えられる。これにより、例えばモータ10の駆動停止直前時のようにモータ10の回転速度が急激に低下するような場合に、これに即して磁極位置θreを補間できる。また、割込カウンタ値Cnがオーバーフローした場合でも、割込カウンタ値Cnは循環的に変動することとなるから、オーバーフローの有無にかかわらず、割込カウンタ値Cnが極低速用パラメータlowpath分だけ変動するごとに補間角度αを増加させることができる。
On the other hand, when the interpolation flag Qf is “very low speed interpolation” (step S14: very low speed interpolation), the interpolation counter α is not simply increased in proportion to the interrupt counter value Cn, but the interrupt counter value is increased. When the remainder obtained by dividing Cn by the very low speed parameter lowpath becomes zero, that is, when the interrupt counter value Cn is increased by the very low speed parameter lowpath, the interpolation angle α is incremented by 1 ( Step S16).
As a result, the increase in the interpolation angle α becomes slower with respect to the increase in the interrupt counter value Cn, and the interpolation angle α can be gradually changed according to the low speed rotation of the motor 10. Also very low speed parameter lowpath indicates the previous elapsed time required for the change of the signal level of the rotor speed detection pulse Sb, every elapsed time for increasing the magnetic pole position theta re, the magnetic pole position theta re with respect to the elapsed time The increase is suppressed relatively rapidly. As a result, for example, when the rotational speed of the motor 10 is abruptly reduced just before the motor 10 is stopped, the magnetic pole position θ re can be interpolated accordingly. Even if the interrupt counter value Cn overflows, the interrupt counter value Cn fluctuates cyclically, so that the interrupt counter value Cn fluctuates by the very low speed parameter lowpath regardless of the presence or absence of overflow. Each time the interpolation angle α can be increased.

次いで、磁極位置補間器95は、例えば割込カウンタのオーバーフロー等に起因して補間角度αが−30度以下になった場合には(ステップS17:YES)、補間角度αを−30度に設定し(ステップS18)、また、30度を超えた場合(ステップS19:YES)には補間角度αを30度(補間角度αとして取り得る最大値)に設定する(ステップS20)。
そして、磁極位置補間器95は、ロータ速度検出パルスSbの前回の立ち上がり又は立ち下がり時に出力した磁極位置θreに補間角度αを加えることで補間した磁極位置θreを算出し、三角関数演算器96に出力した後(ステップS21)、処理をステップS1に戻す。
なお、補間した磁極位置θreの算出について詳細には、
補間した磁極位置θre
ロータ速度検出パルスSbの信号レベル変化時の磁極位置θre
+(補間角度α+進角)×回転方向係数Pdir
ただし、正回転の場合、Pdir=1、逆回転の場合、Pdir=−1
により算出される。
Next, the magnetic pole position interpolator 95 sets the interpolation angle α to −30 degrees, for example, when the interpolation angle α becomes −30 degrees or less due to an overflow of the interrupt counter or the like (step S17: YES). When the angle exceeds 30 degrees (step S19: YES), the interpolation angle α is set to 30 degrees (maximum value that can be taken as the interpolation angle α) (step S20).
The magnetic pole position interpolator 95 calculates the interpolated magnetic pole position θ re by adding the interpolation angle α to the magnetic pole position θ re output at the previous rise or fall of the rotor speed detection pulse Sb, and the trigonometric function calculator After outputting to 96 (step S21), the process returns to step S1.
For details on the calculation of the interpolated magnetic pole position θre ,
Interpolated magnetic pole position θ re =
Magnetic pole position θ re when the signal level of rotor speed detection pulse Sb changes
+ (Interpolation angle α + advance) × rotation direction coefficient Pdir
However, in the case of forward rotation, Pdir = 1, and in the case of reverse rotation, Pdir = −1.
Is calculated by

以上の磁極位置補間処理により、ロータ速度検出パルスSbの立ち上がり/立ち下がりのタイミング以外の間も磁極位置θreが補間され、図14に示すように、ロータ12が1回転(電気角360度)する間、360/512の角度分解能で磁極位置θreが磁極位置補間器95に出力される。この結果、三角関数演算器96から出力される正弦振幅信号sinθreのグラフ波形も正弦波に近いものとなり、この正弦振幅信号sinθreから生成される正弦波形の変調波信号を正弦波に近づけることができる。 By the above magnetic pole position interpolation processing, the magnetic pole position θ re is interpolated also during timings other than the rising / falling timing of the rotor speed detection pulse Sb, and as shown in FIG. 14, the rotor 12 makes one rotation (electrical angle 360 degrees). In the meantime, the magnetic pole position θ re is output to the magnetic pole position interpolator 95 with an angular resolution of 360/512. As a result, the graph waveform of the sine amplitude signal sin θ re output from the trigonometric function calculator 96 is also close to a sine wave, and the sinusoidal modulation wave signal generated from the sine amplitude signal sin θ re is brought close to a sine wave. Can do.

ここで、上述のように、第1磁気センサ34a〜第6磁気センサ34fによる検出磁石誤差には各種の誤差成分が含まれるため、この第1磁気センサ34a〜第6磁気センサ34fの出力に基づく磁極位置θreの補間角度αにも角度誤差が含まれることとなる。この角度誤差は、図15に示すように、モータ10の回転数に依存し、高速回転時ほど大きくなる。そこで、この角度誤差を除去すべく、磁極位置θreの補間を、ロータ速度検出パルスSbの立ち上がり/立ち下がり間とするのではなく、ロータ速度検出時と同様に、ロータ速度検出パルスSbの立ち下がりから次の立ち下がりまでの期間のそれぞれ、或いは立ち上がりから次の立ち上がりまでの期間のそれぞれとすることで、補間角度αの角度誤差を除去することができる。特に、ロータ速度検出パルスSbの立ち下がりから次の立ち下がりまでの期間のそれぞれで磁極位置θreを補間することで、誤差成分の影響を最小限に抑えることができる。 Here, as described above, various error components are included in the detected magnet errors by the first magnetic sensor 34a to the sixth magnetic sensor 34f, and therefore based on the outputs of the first magnetic sensor 34a to the sixth magnetic sensor 34f. An angle error is also included in the interpolation angle α of the magnetic pole position θre . As shown in FIG. 15, this angle error depends on the number of rotations of the motor 10 and becomes larger at higher speeds. Therefore, in order to eliminate this angular error, the magnetic pole position θ re is not interpolated between the rising and falling edges of the rotor speed detection pulse Sb, but in the same way as when the rotor speed is detected, the rising edge of the rotor speed detection pulse Sb. By setting each period from the fall to the next fall or each period from the rise to the next rise, the angle error of the interpolation angle α can be removed. In particular, the influence of the error component can be minimized by interpolating the magnetic pole position θ re in each period from the fall of the rotor speed detection pulse Sb to the next fall.

以上説明したように、本実施形態のモータ10の制御装置2によれば、ロータ速度検出パルスSbの信号レベルが変化する間の磁極位置θreが磁極位置補間器95によって補間されることから、ロータ速度検出パルスSbの周期にかかわらず正弦波形に近い波形の変調波信号を波形生成器93で生成することができる。
特に、モータ10が低速回転するほど、ロータ速度検出パルスSbの信号レベルが変化する期間が長くなるものの、その間の磁極位置θreが暫時補間されることから、正弦波形の変調波形が極端に荒くなるのが防止される。また、例えばホールIC等の廉価なセンサを磁気センサに用いて、正弦波に近い変調波信号を生成し、モータ10の擬似正弦波駆動を行うことができる。
As described above, according to the control device 2 of the motor 10 of the present embodiment, the magnetic pole position θ re while the signal level of the rotor speed detection pulse Sb changes is interpolated by the magnetic pole position interpolator 95. Regardless of the period of the rotor speed detection pulse Sb, the waveform generator 93 can generate a modulated wave signal having a waveform close to a sine waveform.
In particular, as the motor 10 rotates at a lower speed, the period during which the signal level of the rotor speed detection pulse Sb changes becomes longer. However, since the magnetic pole position θre is interpolated for a while, the sinusoidal modulation waveform becomes extremely rough. It is prevented from becoming. Further, by using an inexpensive sensor such as a Hall IC as a magnetic sensor, a modulated wave signal close to a sine wave can be generated to drive the motor 10 with a pseudo sine wave.

また本実施形態によれば、磁極位置補間器95は、ロータ速度検出パルスSbの信号レベルの変化に前回要した時間(最終カウント値Cend)、及び、当該信号レベルが変化したときの磁極位置θreの移動量から求められる時間あたりの移動量(電気角60度/最終カウント値Cend)と、当該信号レベルが変化してからの経過時間(割込カウンタ値Cn)とに基づいて磁極位置θreを補間する構成とした。この構成により、信号レベルが変化する間の磁極位置θreを、そのときのモータ10の回転速度に応じて補間することができ、モータ10の回転速度によらず歪みの少ない変調波信号を生成できる。 Further, according to the present embodiment, the magnetic pole position interpolator 95 includes the time (final count value Cend) previously required to change the signal level of the rotor speed detection pulse Sb and the magnetic pole position θ when the signal level changes. The magnetic pole position θ based on the movement amount per hour (electrical angle 60 degrees / final count value Cend) obtained from the re movement amount and the elapsed time (interrupt counter value Cn) after the signal level changes. The re is interpolated. With this configuration, the magnetic pole position θ re while the signal level changes can be interpolated according to the rotational speed of the motor 10 at that time, and a modulated wave signal with little distortion is generated regardless of the rotational speed of the motor 10. it can.

また本実施形態によれば、磁極位置補間器95は、ロータ速度検出パルスSbの信号レベルが変化してからの経過時間(割込カウンタ値Cn)が所定時間(カウント上限値Cmax)を超えた以降は、信号レベルの変化に要した前回の時間(lowpath)ごとに所定量(本実施形態では1度)ずつ磁極位置θreを増加させて補間する構成とした。
この構成により、モータ10が非常に低速度で回転し、ロータ速度検出パルスSbの信号レベルが変化するまでの時間が長くなった場合であっても、前回の変化時から所定時間(カウント上限値Cmax)が超えたときには、磁極位置θreの増加度合いが抑えられ、モータ10の低速回転に応じた変調波信号に切り替えることができる。特に、信号レベルの変化に要した前回の時間ごとに磁極位置θreを増加させるため、経過時間に対する磁極位置θreの増加量が比較的急激に抑えられることから、例えばモータ10の駆動停止直前時のようにモータ10の回転速度が急激に低下するような場合に、これに即した変調波信号を生成することができる。
Further, according to the present embodiment, the magnetic pole position interpolator 95 has the elapsed time (interrupt counter value Cn) after the signal level of the rotor speed detection pulse Sb has changed exceeds a predetermined time (count upper limit value Cmax). thereafter, (in this embodiment a time) a predetermined amount for each previous time required for the change of the signal level (Lowpath) was configured to interpolate by increasing the magnetic pole position theta re each.
With this configuration, even when the motor 10 rotates at a very low speed and the time until the signal level of the rotor speed detection pulse Sb changes becomes long, a predetermined time (count upper limit value) from the previous change time. when Cmax) is exceeded, the degree of increase in the magnetic pole position theta re is suppressed, can be switched to a modulation wave signal corresponding to the low speed rotation of the motor 10. In particular, since the magnetic pole position θ re is increased at every previous time required to change the signal level, the increase amount of the magnetic pole position θ re with respect to the elapsed time can be suppressed relatively abruptly. When the rotational speed of the motor 10 decreases rapidly as in the case of a time, a modulated wave signal corresponding to this can be generated.

また本実施形態によれば、磁気センサ34のそれぞれの磁極位置検出信号の変化が反映された一連のパルス信号を生成するパルス生成回路56を備え、このパルス生成回路56のパルス信号の立ち上がり、及び立ち下がりに基づいて磁極位置θreを検出し、当該磁極位置θreに基づいて正弦波状の変調波信号を生成するとともに、磁極位置補間器95は、パルス信号の立ち上がりと立ち下がりと間の磁極位置θreを補間する構成とした。
この構成により、パルス信号においては、複数の磁気センサ34のそれぞれの磁極位置検出信号の変化が反映されることから、1個の磁極位置検出信号よりも周期が短くなる(本実施形態では3相分の磁極位置検出信号からパルス信号が生成されるため1/3周期となる)。そして、このパルス信号の立ち上がり、及び立ち下がりに基づいて磁極位置θreを検出することで、磁極位置θreの検出間隔を短くでき、変調波信号の正弦波歪みをより効率的に抑制することができる。
In addition, according to the present embodiment, the pulse generation circuit 56 that generates a series of pulse signals reflecting changes in the magnetic pole position detection signals of the magnetic sensor 34 is provided. The magnetic pole position θ re is detected based on the falling edge, and a sine wave-like modulated wave signal is generated based on the magnetic pole position θ re , and the magnetic pole position interpolator 95 includes a magnetic pole between the rising edge and the falling edge of the pulse signal. The position θ re is interpolated.
With this configuration, the pulse signal reflects changes in the magnetic pole position detection signals of the plurality of magnetic sensors 34, and therefore the cycle is shorter than that of one magnetic pole position detection signal (in this embodiment, three phases). Since a pulse signal is generated from the magnetic pole position detection signal for one minute, the period becomes 1/3). And by detecting the magnetic pole position θ re based on the rise and fall of this pulse signal, the detection interval of the magnetic pole position θ re can be shortened, and the sine wave distortion of the modulation wave signal can be more efficiently suppressed. Can do.

また本実施形態によれば、磁極位置補間器95は、パルス信号の立ち上がりから次の立ち上がりまでの期間のそれぞれ、又は立ち下がりから次の立ち下がりまでの期間のそれぞれで磁極位置θreを補間する構成とした。この構成によれば、磁気センサ34の誤差や検出磁石誤差等の各種の誤差成分に起因する補間角度αの角度誤差を除去することができる。これにより、磁気センサ34に廉価なホールIC等を用いた場合でも、精度良く磁極位置θreを補間することができる。 Further, according to the present embodiment, the magnetic pole position interpolator 95 interpolates the magnetic pole position θ re in each of the period from the rising edge of the pulse signal to the next rising edge or in each period from the falling edge to the next falling edge. The configuration. According to this configuration, the angle error of the interpolation angle α caused by various error components such as an error of the magnetic sensor 34 and a detected magnet error can be removed. Thereby, even when an inexpensive Hall IC or the like is used for the magnetic sensor 34, the magnetic pole position θre can be accurately interpolated.

なお、上述した実施形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形及び応用が可能である。
たとえば、上述した実施形態において、磁極位置補間器95は、ロータ速度検出パルスSbの信号レベルの変化に基づいて磁極位置θreを検出したが、これに限らず、図7(A)に示すロータ位置検出パルスSaのそれぞれの立ち上がり/立ち下がりに基づいて磁極位置θreを検出する構成としても良い。この場合、いずれかのロータ位置検出パルスSaの立ち上がり/立ち下がりから他のロータ位置検出パルスSaの上り/立ち下がりの期間のそれぞれで磁極位置θreの補間が行われる。そのときの磁極位置補間処理については、図13に示すフローチャートと同様であるため説明を省略する。
In addition, embodiment mentioned above shows the one aspect | mode of this invention to the last, and a deformation | transformation and application are arbitrarily possible within the scope of the present invention.
For example, in the above-described embodiment, the magnetic pole position interpolator 95 detects the magnetic pole position θ re based on the change in the signal level of the rotor speed detection pulse Sb. However, the present invention is not limited to this, and the rotor shown in FIG. A configuration may be adopted in which the magnetic pole position θre is detected based on each rising / falling of the position detection pulse Sa. In this case, the magnetic pole position θre is interpolated in each period from the rise / fall of one of the rotor position detection pulses Sa to the rise / fall of another rotor position detection pulse Sa. The magnetic pole position interpolation processing at that time is the same as the flowchart shown in FIG.

また例えば、上述した実施形態では、モータ駆動システム1として、指令速度ωrm *によるモータ駆動制御を例示したが、これに限らない。すなわち、図16に示すように、指令トルクT*に基づいてモータ10を駆動するモータ駆動システム100としても良い。なお、この図において、図10と同じ部材には同一の符号を付して説明を省略する。 Further, for example, in the above-described embodiment, the motor drive control by the command speed ω rm * is exemplified as the motor drive system 1, but is not limited thereto. That is, as shown in FIG. 16, a motor drive system 100 that drives the motor 10 based on the command torque T * may be used. In this figure, the same members as those in FIG.

同図において、指令トルクT*は、モータ10の回転速度ωrm、及びスロットル開度と、目標とするトルク指令値との関係を規定したトルクマップにしたがって決定される。すなわち、車両が備えるコンピュータ等には、位置・速度検出部82からモータ10の回転速度ωrmが入力されるとともに、スロットル開度が入力され、当該コンピュータ等が上記トルクマップに基づいてトルク指令値を決定し、指令トルクT*としてモータ駆動システム100のトルク制御器190に入力する。
トルク制御器190は、現在の出力トルクTが指令トルクT*になるように、出力トルクTを調整して上記Dutyマップ91、及び進角マップ92に出力する。これらDutyマップ91、及び進角マップ92には、それぞれ回転速度ωrmも入力されており、これにより指令トルクT*及び回転速度ωrmに最適なデューティ、及び進角が駆動信号生成部86に出力されることで、指令トルクT*に基づくモータ10の駆動制御が行われることとなる。
In the figure, the command torque T * is determined according to a torque map that defines the relationship between the rotational speed ω rm of the motor 10 and the throttle opening and the target torque command value. That is, the rotational speed ω rm of the motor 10 is input from the position / speed detection unit 82 to the computer or the like provided in the vehicle, and the throttle opening is input, and the computer or the like receives a torque command value based on the torque map. Is input to the torque controller 190 of the motor drive system 100 as the command torque T * .
The torque controller 190 adjusts the output torque T so that the current output torque T becomes the command torque T * , and outputs it to the duty map 91 and the advance angle map 92. The duty map 91 and the advance map 92 also receive the rotational speed ω rm , whereby the optimum duty and the advanced angle for the command torque T * and the rotational speed ω rm are input to the drive signal generator 86. By outputting, drive control of the motor 10 based on the command torque T * is performed.

また、上述した実施形態では、インバータを用いた実施形態について説明したが、バッテリEと、インバータ回路6との間にバッテリEの電圧を昇降圧するDC/DCコンバータ回路等の電圧変換回路を組み込んだ回路に適用することも可能である。   Moreover, although embodiment mentioned above demonstrated embodiment using an inverter, voltage conversion circuits, such as a DC / DC converter circuit which raises / lowers the voltage of the battery E between the battery E and the inverter circuit 6, were incorporated. It is also possible to apply to a circuit.

1、100 モータ駆動システム
2 制御装置(モータ制御装置)
4 駆動回路
6 インバータ回路
12 ロータ
14 ステータ
20 永久磁石
22 検出磁石
34、34a〜34f 磁気センサ
50 速度検出回路
52 磁気検出回路
54 磁極位置検出信号処理回路
56 パルス生成回路
58 CPU
60 ロータ位置検出手段
60 三角関数演算器
62 ロータ速度検出手段
82 位置・速度検出部
84 速度制御部
86 駆動信号生成部
88 角度補間部
93 波形生成器
94 PWM駆動信号生成部
95 磁極位置補間器
96 三角関数演算器
Cend 最終カウント値
Cmax カウント上限値
Cn 割込カウンタ値
Sa、Sa1〜Sa3 ロータ位置検出パルス
Sb ロータ速度検出パルス
Vua※〜Vwa※ 変調波信号
lowpath 極低速用パラメータ
sinθre 正弦振幅信号
θre 磁極位置
ωrm 回転速度
ωrm※ 指令速度
1, 100 Motor drive system 2 Control device (motor control device)
DESCRIPTION OF SYMBOLS 4 Drive circuit 6 Inverter circuit 12 Rotor 14 Stator 20 Permanent magnet 22 Detection magnet 34, 34a-34f Magnetic sensor 50 Speed detection circuit 52 Magnetic detection circuit 54 Magnetic pole position detection signal processing circuit 56 Pulse generation circuit 58 CPU
Reference Signs List 60 rotor position detection means 60 trigonometric function calculator 62 rotor speed detection means 82 position / speed detection section 84 speed control section 86 drive signal generation section 88 angle interpolation section 93 waveform generator 94 PWM drive signal generation section 95 magnetic pole position interpolator 96 Trigonometric function calculator Cend Final count value Cmax Count upper limit value Cn Interrupt counter value Sa, Sa1 to Sa3 Rotor position detection pulse Sb Rotor speed detection pulse Vua * to Vwa * Modulation wave signal Lowpath Parameter for very low speed sinθ re Sine amplitude signal θ re Magnetic pole position ω rm Rotational speed ω rm * Command speed

Claims (3)

モータのロータに複数の磁極を設け、前記ロータの回転に伴う磁極位置の変化に伴い磁極位置検出信号を出力する複数の磁気センサを前記ロータの対向位置に配置し、
前記磁気センサのそれぞれの磁極位置検出信号の変化及び配置位置に基づいて前記ロータの磁極位置を検出し、当該磁極位置に基づいて正弦波状の変調波信号を生成し、前記モータの正弦波駆動を行うモータ制御装置において、
前記磁極位置検出信号が変化する間の磁極位置を補間する磁極位置補間手段を備え、
前記磁極位置補間手段は、
前記磁極位置検出信号の変化に要した時間、及び前記磁極位置検出信号が変化したときの磁極位置の移動量から求められる時間あたりの移動量と、前記磁極位置検出信号が変化してからの経過時間とに基づいて前記磁極位置を補間し、
前記モータの回転が停止前、始動直後、及び回転方向反転直後の極低速を示す所定時間を前記経過時間が超えた以降は、前記磁極位置検出信号の変化に要した前回の時間ごとに前記磁極位置を増加させて前記磁極位置を補間する
ことを特徴とするモータ制御装置。
A plurality of magnetic sensors are provided on the rotor of the motor, and a plurality of magnetic sensors that output a magnetic pole position detection signal in accordance with a change in the magnetic pole position accompanying the rotation of the rotor are disposed at positions facing the rotor
A magnetic pole position of the rotor is detected based on a change and an arrangement position of each magnetic pole position detection signal of the magnetic sensor, a sine wave-shaped modulation wave signal is generated based on the magnetic pole position, and a sine wave drive of the motor is performed. In the motor control device to perform,
Magnetic pole position interpolation means for interpolating the magnetic pole position while the magnetic pole position detection signal is changed,
The magnetic pole position interpolation means includes
The amount of time required to change the magnetic pole position detection signal, the amount of movement per time obtained from the amount of movement of the magnetic pole position when the magnetic pole position detection signal changes, and the time elapsed since the change of the magnetic pole position detection signal And interpolating the magnetic pole position based on time,
After the elapsed time exceeds the predetermined time indicating the extremely low speed immediately before the rotation of the motor is stopped, immediately after the start, and immediately after the reversal of the rotation direction, the magnetic pole is detected at every previous time required for the change of the magnetic pole position detection signal. A motor control device that interpolates the magnetic pole position by increasing the position .
前記磁気センサのそれぞれの磁極位置検出信号の変化が反映された一連のパルス信号を生成するパルス生成回路を備え、前記パルス生成回路のパルス信号の立ち上がり、及び立ち下がりに基づいて磁極位置を検出し、当該磁極位置に基づいて正弦波状の変調波信号を生成するとともに、
前記磁極位置補間手段は、前記パルス信号の立ち上がり/立ち下がりに基づいて磁極位置を補間することを特徴とする請求項に記載のモータ制御装置。
A pulse generation circuit that generates a series of pulse signals reflecting changes in the respective magnetic pole position detection signals of the magnetic sensor, and detects the magnetic pole position based on the rise and fall of the pulse signal of the pulse generation circuit; And generating a sinusoidal modulated wave signal based on the magnetic pole position,
The motor control apparatus according to claim 1 , wherein the magnetic pole position interpolating unit interpolates the magnetic pole position based on a rise / fall of the pulse signal.
前記磁極位置補間手段は、前記パルス信号の立ち上がりから次の立ち上がりまでの期間のそれぞれ、又は立ち下がりから次の立ち下がりまでの期間のそれぞれで磁極位置を補間することを特徴とする請求項に記載のモータ制御装置。 The magnetic pole position interpolator, respectively from the rise of the pulse signal of the period until the next rising or falling in claim 2, wherein the interpolating of each magnetic pole position of the period until the next falling The motor control apparatus described.
JP2010131663A 2010-06-09 2010-06-09 Motor control device Expired - Fee Related JP5502605B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2010131663A JP5502605B2 (en) 2010-06-09 2010-06-09 Motor control device
KR1020110055101A KR101255931B1 (en) 2010-06-09 2011-06-08 Motor control unit
CN201110161965.5A CN102281027B (en) 2010-06-09 2011-06-09 Motor controlling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010131663A JP5502605B2 (en) 2010-06-09 2010-06-09 Motor control device

Publications (2)

Publication Number Publication Date
JP2011259606A JP2011259606A (en) 2011-12-22
JP5502605B2 true JP5502605B2 (en) 2014-05-28

Family

ID=45106254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010131663A Expired - Fee Related JP5502605B2 (en) 2010-06-09 2010-06-09 Motor control device

Country Status (3)

Country Link
JP (1) JP5502605B2 (en)
KR (1) KR101255931B1 (en)
CN (1) CN102281027B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10425023B2 (en) 2017-08-10 2019-09-24 Honda Motor Co., Ltd. Control device and control method of rotary electric machine
US10505476B2 (en) 2017-08-10 2019-12-10 Honda Motor Co., Ltd. Control device and control method of rotary electric machine

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103573664B (en) * 2012-07-24 2015-11-18 台达电子工业股份有限公司 The controlling method of fan and control system
KR101508815B1 (en) * 2012-08-31 2015-04-07 한라비스테온공조 주식회사 Method for detecting a rotor position in Permanent Magnet Synchronous Motor
JP6134905B2 (en) * 2013-03-15 2017-05-31 パナソニックIpマネジメント株式会社 MOTOR DRIVE DEVICE AND ELECTRIC DEVICE USING THE SAME
CN104184374A (en) * 2014-09-16 2014-12-03 上海理工大学 Advance angle regulation method for permanent magnet synchronous motor control system
JP6474331B2 (en) * 2015-07-27 2019-02-27 株式会社ミツバ Motor control method and motor control apparatus
CN105974256B (en) * 2016-06-12 2019-07-19 深圳市阿尔法电气技术有限公司 Sine and cosine encoder wire break detection method
CN108023514A (en) * 2016-11-04 2018-05-11 德昌电机(深圳)有限公司 Application apparatus, electric machine and its motor driving integrated circuit
CN108075696B (en) * 2016-11-15 2021-08-06 德昌电机(深圳)有限公司 Motor and motor drive circuit
US11001295B2 (en) 2017-10-26 2021-05-11 Nsk Ltd. Motor control device, motor control method, and electric power steering device
CN111193441B (en) * 2018-11-14 2021-03-16 追创科技(苏州)有限公司 Starting method of brushless direct current motor
JP6976371B2 (en) * 2020-03-13 2021-12-08 三菱電機株式会社 Rotation speed detector
WO2024025848A1 (en) * 2022-07-24 2024-02-01 Navia Energy Inc. Controlled energy system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3311283B2 (en) * 1997-10-17 2002-08-05 株式会社東芝 Drive device for brushless motor
JP3546782B2 (en) * 1999-11-12 2004-07-28 松下電器産業株式会社 Synchronous motor and control method thereof
JP2002354876A (en) 2001-05-21 2002-12-06 Toyota Motor Corp Apparatus and method for detecting deflection of sensor reference point, control apparatus and method of motor, motor fault judging method and sensor mounting position adjusting method
JP4027721B2 (en) * 2002-05-24 2007-12-26 オリエンタルモーター株式会社 Speed control device for brushless motor
DE10253388B4 (en) * 2002-11-15 2005-05-12 Minebea Co., Ltd. Method for adjusting a sensor device for determining the rotational position of a rotor of an electronically commutated motor
JP2005219710A (en) * 2004-02-09 2005-08-18 Shinano Kenshi Co Ltd Sunroof driving device
TWI342663B (en) * 2004-02-25 2011-05-21 Rohm Co Ltd Phase adjustment circuit, motor driving control circuit, and motor apparatus
JP2006157999A (en) * 2004-11-25 2006-06-15 Toshiba Corp Motor driving unit, washing machine, and motor driving method
JP4674514B2 (en) * 2005-09-16 2011-04-20 株式会社島津製作所 DC brushless motor device and rotary vacuum pump
KR101186161B1 (en) * 2006-03-22 2012-10-02 삼성전자주식회사 Method to infer hall sensor position of Brushless Direct Current Motor
JP2009124864A (en) * 2007-11-15 2009-06-04 Panasonic Corp Motor driving device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10425023B2 (en) 2017-08-10 2019-09-24 Honda Motor Co., Ltd. Control device and control method of rotary electric machine
US10505476B2 (en) 2017-08-10 2019-12-10 Honda Motor Co., Ltd. Control device and control method of rotary electric machine

Also Published As

Publication number Publication date
KR20110134845A (en) 2011-12-15
CN102281027B (en) 2014-10-22
KR101255931B1 (en) 2013-04-23
JP2011259606A (en) 2011-12-22
CN102281027A (en) 2011-12-14

Similar Documents

Publication Publication Date Title
JP5502605B2 (en) Motor control device
JP5131318B2 (en) Motor control device
JP5413424B2 (en) Motor drive device and brushless motor
JP5494662B2 (en) Rotation angle detector
JP4959460B2 (en) Motor starting device and motor starting method
JPH10225164A (en) Drive device for brushless motor, and rotor position detecting device of motor
US6850022B2 (en) Method and system for determining electronic commutation in brushless DC machines irrespective of the placement of rotor position sensors
JP2010273502A (en) Motor drive apparatus and motor drive method
JP2019103382A (en) Motor control method
US20030102829A1 (en) Method and system for controlling a permanent magnet machine
US20180167003A1 (en) Lead angle controller
Lee A new method to minimize overall torque ripple in the presence of phase current shift error for three-phase BLDC motor drive
JP6474331B2 (en) Motor control method and motor control apparatus
EP1416623B1 (en) Method and system for determining electronic commutation in brushless DC machines irrespective of the placement of rotor position sensors
JP4027721B2 (en) Speed control device for brushless motor
JP6976203B2 (en) Brushless motor
JP2006158022A (en) Dc brushless motor device and turbo-molecular pump
JP5585058B2 (en) Rotation angle detection device, motor control device, and electric power steering device
JP2005328644A (en) Motor driver, motor controller and motor drive method
JP6498501B2 (en) Motor driving device and control method of motor driving device
JP2004088838A (en) Motor controller
JP2011055586A (en) Motor drive control circuit
WO2021106609A1 (en) Power converter
JP7468390B2 (en) Motor Control Device
US20230231499A1 (en) Motor control device and motor control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140313

R150 Certificate of patent or registration of utility model

Ref document number: 5502605

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees