JP2013090478A - Brushless dc motor rotor position detection method and apparatus - Google Patents

Brushless dc motor rotor position detection method and apparatus Download PDF

Info

Publication number
JP2013090478A
JP2013090478A JP2011229703A JP2011229703A JP2013090478A JP 2013090478 A JP2013090478 A JP 2013090478A JP 2011229703 A JP2011229703 A JP 2011229703A JP 2011229703 A JP2011229703 A JP 2011229703A JP 2013090478 A JP2013090478 A JP 2013090478A
Authority
JP
Japan
Prior art keywords
brushless
signal
motor
rotor
rotation direction
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.)
Granted
Application number
JP2011229703A
Other languages
Japanese (ja)
Other versions
JP5690700B2 (en
Inventor
Makoto Yoneda
真 米田
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.)
Oriental Motor Co Ltd
Original Assignee
Oriental 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 Oriental Motor Co Ltd filed Critical Oriental Motor Co Ltd
Priority to JP2011229703A priority Critical patent/JP5690700B2/en
Publication of JP2013090478A publication Critical patent/JP2013090478A/en
Application granted granted Critical
Publication of JP5690700B2 publication Critical patent/JP5690700B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a brushless DC motor rotor position detection method and apparatus with which it is possible to discriminate a rotation direction of a motor rotor by generating a signal equivalent to an output of a two-phase encoder from values of four signals in total that are signal outputs of three Hall sensors and a pulse alternating signal.SOLUTION: A method includes steps of: discriminating a rotation direction of a rotor based on current values and their immediately preceding values of signals of three Hall sensors 2, 2, and 2; setting a rising edge or a falling edge of one of the three Hall sensors 2, 2, and 2as a reference position while determining which one of the rising edge and the falling edge is to be selected as the reference position based on the rotation direction of the rotor; generating an alternating signal that alternates each time the reference position is passed; generating a pulse signal equivalent to an output of a two-phase encoder from the signals of the three Hall sensors 2, 2, and 2and the alternating signal; and detecting a position of the rotor based on the pulse signal.

Description

本発明はブラシレスDCモータの回転子位置検出方法とその装置に関する。   The present invention relates to a rotor position detection method and apparatus for a brushless DC motor.

従来、この種のブラシレスDCモータの回転子位置を検出するには、ロータリーエンコーダを用いるのが一般的であった。
ロータリーエンコーダはデジタル信号を出力するため制御性に優れる。しかし、その反面、高価という問題がある。また、エンコーダ本体に加えて信号線等のスペースも必要になるため、装置の小型化にはマイナスとなる。
このような問題を解決するため、特許文献1では、ブラシレスDCモータを制御するための3相の磁極検出用ホールセンサの信号から、6逓倍化手段と2相化手段とを用いて、2相エンコーダ相当の信号を生成する回転角度検出装置を提案している。
Conventionally, it has been common to use a rotary encoder to detect the rotor position of this type of brushless DC motor.
The rotary encoder is excellent in controllability because it outputs a digital signal. However, on the other hand, there is a problem of being expensive. Further, since a space such as a signal line is required in addition to the encoder body, it is a minus for downsizing of the apparatus.
In order to solve such a problem, in Patent Document 1, a signal from a hall sensor for detecting a three-phase magnetic pole for controlling a brushless DC motor is used to obtain a two-phase signal by using a 6-fold multiplication unit and a two-phase unit. A rotation angle detection device that generates a signal corresponding to an encoder has been proposed.

特開平10−111304号公報JP-A-10-111304

しかしながら、特許文献1の発明にあっては、2相エンコーダ相当の信号とはいうものの、B相の信号は単にA相の信号を電気角で90°遅らせただけの信号であって、実質的には1相であるため、エンコーダの出力信号からモータ回転子の回転方向を判別することができないという問題がある。   However, in the invention of Patent Document 1, although it is a signal corresponding to a two-phase encoder, the B-phase signal is simply a signal obtained by delaying the A-phase signal by 90 ° in terms of electrical angle. Since there is a single phase, the rotation direction of the motor rotor cannot be determined from the output signal of the encoder.

本発明は、このような従来の問題点に着目してなされたもので、3つのホールセンサの信号出力とパルス交番信号の、合計4つの信号の値から、2相エンコーダの出力に相当する信号を生成することによって、モータ回転子の回転方向を判別することができるブラシレスDCモータの回転子位置検出方法とその装置を提供することを目的とする。   The present invention has been made paying attention to such a conventional problem, and a signal corresponding to an output of a two-phase encoder from a total of four signal values of a signal output of three hall sensors and a pulse alternating signal. It is an object of the present invention to provide a brushless DC motor rotor position detection method and apparatus capable of determining the rotation direction of the motor rotor by generating the motor.

本発明は、上記課題を解決するため、ブラシレスDCモータの固定子に、一定間隔で3つのホールセンサを配置し、前記ブラシレスDCモータの回転子の磁気を前記ホールセンサで検出し、前記ホールセンサの信号によって前記ブラシレスDCモータの回転子位置を検出する方法であって、前記3つのホールセンサ信号の現在値と、その1つ前の値とから、前記回転子の回転方向を判別し、前記3つのホールセンサのうち、いずれか1つの立ち上がりエッジまたは、立ち下がりエッジを基準位置とし、かつ、この基準位置として立ち上がりエッジを選択するか、あるいは、立ち下がりエッジを選択するかは、前記回転子の回転方向によって決定して、前記基準位置を通過する度に交番する交番信号を生成し、前記3つのホールセンサの信号と、前記交番信号とから、2相エンコーダ出力相当のパルス信号を生成し、このパルス信号によって前記回転子位置を検出することにある。
また、本発明は、前記3つのホールセンサ信号の現在値の1つ前の値が無い場合には、現在値に基づいて、回転方向と前記現在値の1つ前の値とが合致するように、前記現在値の1つ前の値を設定することにある。
さらに、本発明は、ブラシレスDCモータと、このブラシレスDCモータの固定子に、一定間隔で配置され、前記ブラシレスDCモータの回転子の磁気を検出する3つのホールセンサと、前記ブラシレスDCモータの3つのホールセンサ信号をサンプリングし、現在値とその1つ前の値とから、前記ブラシレスDCモータの回転子の回転方向を判別する回転方向判別部と、得られた回転方向情報と前記3つのホールセンサの信号とから、前記ホールセンサ信号の2倍の周期の交番信号を生成する交番信号生成部と、前記3つのホールセンサ信号と前記交番信号とに基づき2相エンコーダ相当の信号を生成する2相エンコーダ信号生成部とを備え、前記2相エンコーダ相当の信号から回転子位置を検出することにある。
In order to solve the above-described problems, the present invention provides three Hall sensors arranged at regular intervals on a stator of a brushless DC motor, detects the magnetism of the rotor of the brushless DC motor by the Hall sensor, and The rotor position of the brushless DC motor is detected based on the signal of the following, wherein the rotational direction of the rotor is determined from the current value of the three Hall sensor signals and the previous value, Of the three Hall sensors, any one rising edge or falling edge is used as a reference position, and the rising edge or the falling edge is selected as the reference position. To generate an alternating signal that alternates every time it passes through the reference position, and the signals from the three Hall sensors From said alternating signal, generates a pulse signal of a two-phase encoder output equivalent is to detect the rotor position by this pulse signal.
Further, according to the present invention, when there is no value immediately before the current value of the three hall sensor signals, the rotation direction and the value immediately before the current value are matched based on the current value. Is to set the value immediately before the current value.
Furthermore, the present invention provides a brushless DC motor, three Hall sensors that are arranged at regular intervals on the stator of the brushless DC motor and detect the magnetism of the rotor of the brushless DC motor, and 3 of the brushless DC motor. A rotation direction discriminating unit for sampling the rotation direction of the rotor of the brushless DC motor from the current value and the previous value; and the obtained rotation direction information and the three holes An alternating signal generating unit that generates an alternating signal having a period twice that of the Hall sensor signal from a sensor signal, and a signal corresponding to a two-phase encoder based on the three Hall sensor signals and the alternating signal 2 And a phase encoder signal generation unit for detecting a rotor position from a signal corresponding to the two-phase encoder.

本発明によれば、ロータリーエンコーダなどを取り付けることなく、既存のブラシレスDCモータに取り付けられたホールセンサ出力を位置検出装置に入力することで回転子の位置をカウントする信号を得ることが可能となる。また回転方向を知ることもできる。
さらに、ブラシレスDCモータの駆動回路に本発明の装置が装備されている場合、そのまま回転子の位置をエンコーダカウンタでカウントできる。
ホールセンサと本発明の位置検出装置をバッテリーバックアップすることで、停電時の回転子位置情報を保持できる。
According to the present invention, it is possible to obtain a signal for counting the position of the rotor by inputting the Hall sensor output attached to the existing brushless DC motor to the position detection device without attaching a rotary encoder or the like. . You can also know the direction of rotation.
Further, when the brushless DC motor drive circuit is equipped with the device of the present invention, the position of the rotor can be counted by the encoder counter as it is.
By backing up the Hall sensor and the position detection device of the present invention with a battery, the rotor position information during a power failure can be retained.

本発明の実施の形態によるブラシレスDCモータの回転子位置検出装置を示す概念図である。It is a conceptual diagram which shows the rotor position detection apparatus of the brushless DC motor by embodiment of this invention. 2相エンコーダ相当の信号A,Bを生成する手順を示すフローチャートである。It is a flowchart which shows the procedure which produces | generates the signals A and B equivalent to a 2-phase encoder. ホールセンサ出力の位相が120度で回転方向が時計方向であるときの3個のホールセンサ2,2,2からの出力と、エンコーダ信号を示すタイミングパルス波形である。It is a timing pulse waveform indicating encoder signals and outputs from three Hall sensors 2 U , 2 V , 2 W when the phase of the Hall sensor output is 120 degrees and the rotation direction is clockwise. ホールセンサ出力の位相が120度で回転方向が反時計方向であるときの3個のホールセンサ2,2,2からの出力と、エンコーダ信号を示すタイミングパルス波形である。This is a timing pulse waveform indicating outputs from three Hall sensors 2 U , 2 V , 2 W when the phase of the Hall sensor output is 120 degrees and the rotation direction is counterclockwise, and encoder signals. 図1の回転子位置検出装置のブロック図である。It is a block diagram of the rotor position detection apparatus of FIG. ホールセンサ出力の位相が60度で回転方向が時計方向であるときの3個のホールセンサ2,2,2からの出力と、エンコーダ信号を示すタイミングパルス波形である。It is a timing pulse waveform indicating encoder signals and outputs from the three hall sensors 2 U , 2 V , 2 W when the phase of the hall sensor output is 60 degrees and the rotation direction is clockwise. ホールセンサ出力の位相が60度で回転方向が反時計方向であるときの3個のホールセンサ2,2,2からの出力と、エンコーダ信号を示すタイミングパルス波形である。It is a timing pulse waveform indicating encoder signals and outputs from the three hall sensors 2 U , 2 V , 2 W when the phase of the hall sensor output is 60 degrees and the rotation direction is counterclockwise. 本発明の他の実施の形態を示す概念図である。It is a conceptual diagram which shows other embodiment of this invention.

以下、本発明の実施の形態を、図面を参照しながら詳細に説明する。
図1は、本発明の実施の形態によるブラシレスDCモータの回転子位置検出装置を示す概念図で、ブラシレスDCモータ1には、回転子の位置を検出する3つのホールセンサ2,2,2が内蔵されている。ホールセンサ2,2,2は、固定子の内側に一定間隔で3個配置され、例えば120度の位相でそれぞれ配置されている。この位相は60度の位相で3個配置することもできる。
ブラシレスDCモータ1は、固定子を構成する固定子鉄心に巻線を巻装して一定間隔で例えば6つの磁極が設けられている。これら磁極には、デルタ結線またはスター結線により、それぞれU相巻線、V相巻線、W相巻線を構成するように固定子巻線が巻装されている。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a conceptual diagram showing a brushless DC motor rotor position detecting device according to an embodiment of the present invention. The brushless DC motor 1 includes three hall sensors 2 U , 2 V , 2 W is built-in. Three Hall sensors 2 U , 2 V , 2 W are arranged at regular intervals inside the stator, and are arranged, for example, at a phase of 120 degrees. Three of these phases can be arranged with a phase of 60 degrees.
The brushless DC motor 1 is provided with, for example, six magnetic poles at regular intervals by winding a winding around a stator core constituting the stator. A stator winding is wound around these magnetic poles so as to constitute a U-phase winding, a V-phase winding, and a W-phase winding, respectively, by delta connection or star connection.

3はブラシレスDCモータ1を駆動する駆動回路であり、この駆動回路3は、例えば、対をなすスイッチング素子を三組、並列接続して構成されるもので、電源から流れる電流を、スイッチング素子をON、OFF制御して前記固定子巻線に駆動電流を流して駆動制御するものである。   Reference numeral 3 denotes a drive circuit for driving the brushless DC motor 1, and this drive circuit 3 is constituted by connecting, for example, three pairs of switching elements in parallel. ON / OFF control is performed to drive control by flowing a drive current through the stator winding.

4は前記3つのホールセンサ2,2,2から回転子の位置情報が入力され、回転子位置を検出する回転子位置検出装置である。この回転子位置検出装置4は、回転方向判別部41と、交番信号生成部42と、2相エンコーダ信号生成部43とを備えている。前記回転方向判別部41は、前記3つのホールセンサ2,2,2信号の現在値U,V,W相信号と、その1つ前の値Un-1,Vn-1,Wn-1相信号から回転子の回転方向を判別するものである。前記交番信号生成部42は、前記回転方向判別部41で得られた回転方向情報と、前記3つのホールセンサ2,2,2のU,V,W相信号とから前記ホールセンサ信号の2倍の周期の交番信号を生成するものである。前記2相エンコーダ信号生成部43は、前記3つのホールセンサ2,2,2のU,V,W相信号と、前記交番信号生成部42からの交番信号Pとに基づき2相エンコーダ相当のA相,B相信号を生成するものである。このA相,B相信号はエンコーダカウンタ5に入力されてブラシレスDCモータ1の回転子位置が検出される。 Reference numeral 4 denotes a rotor position detection device that receives rotor position information from the three hall sensors 2 U , 2 V , 2 W and detects the rotor position. The rotor position detection device 4 includes a rotation direction determination unit 41, an alternating signal generation unit 42, and a two-phase encoder signal generation unit 43. The rotation direction discriminating unit 41 includes the current values U n , V n , and W n phase signals of the three hall sensors 2 U , 2 V , and 2 W signals, and the previous values U n-1 and V n. The rotation direction of the rotor is discriminated from the -1 and W n-1 phase signals. The alternating signal generation unit 42 generates the Hall sensor signal from the rotation direction information obtained by the rotation direction determination unit 41 and the U, V, and W phase signals of the three Hall sensors 2 U , 2 V , and 2 W. An alternating signal having a period twice as long as the above is generated. The two-phase encoder signal generator 43 is a two-phase encoder based on the three Hall sensors 2 U , 2 V , 2 W U, V, W phase signals and the alternating signal P from the alternating signal generator 42. A considerable A-phase and B-phase signal is generated. The A-phase and B-phase signals are input to the encoder counter 5 to detect the rotor position of the brushless DC motor 1.

次に、2相エンコーダ相当の信号A,Bを生成する手順を図2のフローチャートを用いて説明する。
始めにホールセンサ2,2,2信号の現在値U,V,W相信号から電気角1周期中の位置情報を得る(ステップ1)。
次にホールセンサ2,2,2信号の現在値U,V,W相信号とその1つ前の値Un-1,Vn-1,Wn-1相信号と、から回転方向情報を得る(ステップ2)。
次に、3つのホールセンサ2,2,2のうちのどれか1つを選択し、選択したホールセンサの立ち上がりエッジまたは立ち下がりエッジを基準位置とし、基準位置を通過するごとに交番するパルス交番信号を生成する(ステップ3)。
この際、回転方向によって立ち上がりエッジか、立ち下がりエッジかを決定する。
たとえば回転方向が時計回り方向のときに立ち上がりエッジを基準位置にするように決めた場合、回転方向が反時計回り方向になったら、今度は立ち下がりエッジを基準位置としてパルス交番信号を生成するように変更する(ステップ4)。
そして、3つのホールセンサ2,2,2の信号出力とパルス交番信号の、合計4つの信号の値から、2相エンコーダの出力A,Bに相当する信号を生成する(ステップ5)。
Next, a procedure for generating the signals A and B corresponding to the two-phase encoder will be described with reference to the flowchart of FIG.
First, position information in one electrical angle cycle is obtained from the current values U n , V n , and W n phase signals of the Hall sensors 2 U , 2 V , and 2 W signals (step 1).
Next, the present values U n , V n , and W n phase signals of the Hall sensors 2 U , 2 V , and 2 W signals and the previous values U n−1 , V n−1 , W n−1 phase signals and , To obtain rotation direction information (step 2).
Next, one of the three Hall sensors 2 U , 2 V , 2 W is selected, and the rising edge or the falling edge of the selected Hall sensor is set as a reference position, and alternates every time the reference position is passed. A pulse alternating signal is generated (step 3).
At this time, a rising edge or a falling edge is determined depending on the rotation direction.
For example, when the rotation direction is the clockwise direction and the rising edge is determined to be the reference position, when the rotation direction becomes the counterclockwise direction, a pulse alternating signal is generated with the falling edge as the reference position. (Step 4).
Then, signals corresponding to the outputs A and B of the two-phase encoder are generated from the total of four signal values of the signal outputs of the three hall sensors 2 U , 2 V and 2 W and the pulse alternating signal (step 5). .

次に、図3および図4には、ホールセンサ2,2,2の位相が120度位相で、回転方向が時計回り方向(CW方向)、回転方向が反時計回り方向(CCW方向)に回転しているブラシレスDCモータに取り付けられた3個のホールセンサ2,2,2からの出力を示す。
図3は時計回り方向(CW方向)に回転しているブラシレスDCモータに取り付けられた3個のホールセンサ2,2,2からの出力を示す。
Next, FIGS. 3 and 4 show that the hall sensors 2 U , 2 V and 2 W have a phase of 120 degrees, the rotation direction is clockwise (CW direction), and the rotation direction is counterclockwise (CCW direction). ) Shows the outputs from three Hall sensors 2 U , 2 V , 2 W attached to the rotating brushless DC motor.
FIG. 3 shows outputs from three Hall sensors 2 U , 2 V , 2 W attached to the brushless DC motor rotating in the clockwise direction (CW direction).

算出したいエンコーダ信号A,Bの一例は、図3の下部のとおりである。
ホールセンサ2,2,2の出力は1周期6箇所の位置情報が検出可能である。一方、エンコーダA,Bから得られる位置情報は4種類である。このため、ホールセンサ出力が区間0から5まで経過すると区間0の出力に戻るが、エンコーダ出力は同一とはならない。
An example of encoder signals A and B to be calculated is as shown in the lower part of FIG.
The output of the hall sensors 2 U , 2 V , 2 W can detect position information at six locations in one cycle. On the other hand, there are four types of position information obtained from the encoders A and B. For this reason, when the Hall sensor output passes from section 0 to section 5, it returns to the section 0 output, but the encoder output is not the same.

このことを、表1,2を使って説明する。この表1は、図3の信号を数値で表したものである。ただし、説明の都合上UDカウンタは除いてある。   This will be described with reference to Tables 1 and 2. Table 1 shows numerical values of the signals in FIG. However, the UD counter is omitted for convenience of explanation.

Figure 2013090478
Figure 2013090478

区間「0」のホールセンサ信号値は「101」で、エンコーダ値は「10」である。
区間「6」のホールセンサ信号値は区間「0」と同じく「101」であるが、エンコーダ値は「01」である。
The Hall sensor signal value in the section “0” is “101”, and the encoder value is “10”.
The Hall sensor signal value in the section “6” is “101” as in the section “0”, but the encoder value is “01”.

このように、ホールセンサ信号値とエンコーダ値が一意対応になっていないため、3つのホールセンサ信号値から2相エンコーダの信号を直接生成することはできない。
そこで本実施例においては、図5に示すように、前記交番信号生成部42にアップダウンカウンタ(UDカウンタ)42UDを用いて、表2のように、ホールセンサ信号の他に、新たにもう1つの信号を生成することにした。
As described above, since the Hall sensor signal value and the encoder value are not uniquely associated, it is not possible to directly generate the signal of the two-phase encoder from the three Hall sensor signal values.
Therefore, in the present embodiment, as shown in FIG. 5, an up / down counter (UD counter) 42 UD is used for the alternating signal generator 42, and as shown in Table 2, in addition to the hall sensor signal, a new one is newly added. We decided to generate one signal.

Figure 2013090478
Figure 2013090478

アップダウンカウンタ42UDの出力信号の生成方法について、表2を用いて以下に説明する。この表は、図3の信号を数値で表したものである。
便宜上、左から右へ進むのをCW方向、その逆をCCW方向とする。
本実施例では、CW方向に回転した時のホールUの立ち上がりエッジを基準位置として、交番信号生成部42でパルス交番信号を生成することとする。
A method for generating the output signal of the up / down counter 42 UD will be described below with reference to Table 2. This table is a numerical representation of the signal of FIG.
For convenience, the direction from left to right is the CW direction, and the opposite is the CCW direction.
In the present embodiment, the alternating signal generation unit 42 generates a pulse alternating signal with the rising edge of the hole U when rotated in the CW direction as a reference position.

CW方向に回転していてホールUの信号が立ち上がりエッジとなるのは、ホールUの信号値が0から1に変わる区間「5」から「6」の間と、区間「11」から「0」の間である。
よって表2のように、アップダウンカウンタ42UDの出力値は、区間「5」と区間「11」を通過する度に0→1→0→1…と交番するパルス信号となる。
Rotating in the CW direction, the signal of the hall U becomes a rising edge because the signal value of the hall U changes from 0 to 1 between the intervals “5” to “6” and the intervals “11” to “0”. Between.
Therefore, as shown in Table 2, the output value of the up / down counter 42 UD becomes a pulse signal alternating with 0 → 1 → 0 → 1... Every time the section “5” and the section “11” are passed.

次に、図4のように回転方向がCCW方向に変わった場合について説明する。
モータ回転子の回転方向については、3つのホールセンサ2,2,2の値から判別可能である。ただし、現在値U,V,Wだけからでの判別は不可能で、現在値U,V,Wとその1つ前の値Un-1,Vn-1,Wn-1とを比較することによって回転方向を判別する。
たとえばホールセンサ2,2,2の現在値U,V,Wが「100」で、その前の値Un-1,Vn-1,Wn-1が「110」だったとする。現在値U,V,Wが「100」ということは区間でいうと「1」か「7」ということになる。その前Un-1,Vn-1,Wn-1は「110」であるから、区間でいうと「2」か「8」ということになる。したがって、現在値U,V,Wの如何に係わらず回転方向はCCW方向であると判別できる。このように、3つのホールセンサ2,2,2の現在値U,V,Wとその1つ前の値Un-1,Vn-1,Wn-1から回転方向の判別が可能である。
Next, the case where the rotation direction is changed to the CCW direction as shown in FIG. 4 will be described.
The rotation direction of the motor rotor can be determined from the values of the three hall sensors 2 U , 2 V , and 2 W. However, the current value U n, V n, W discrimination n in color only impossible, the current value U n, V n, W n the value U n-1 of the previous one that, V n-1, W The rotation direction is determined by comparing with n-1 .
For example, the current values U n , V n and W n of the hall sensors 2 U , 2 V and 2 W are “100”, and the previous values U n−1 , V n−1 and W n−1 are “110”. Suppose that. The current values U n , V n , and W n being “100” mean “1” or “7” in the section. Before that, U n−1 , V n−1 , and W n−1 are “110”, and therefore, “2” or “8” in the section. Therefore, it can be determined that the rotation direction is the CCW direction regardless of the current values U n , V n , and W n . As described above, the current values U n , V n , and W n of the three hall sensors 2 U , 2 V , and 2 W and the previous value U n−1 , V n−1 , and W n−1 are rotated. The direction can be determined.

そして、回転方向がCCW方向になった場合には、パルス交番信号の基準位置をホールUの立ち下がりエッジに変更する。
ただしこれは、基準位置自体を別の位置に移してしまうという意味ではない。
表2を用いて具体的に説明すると、区間「5」から「6」に移る際はホールUの値は「0」から「1」になる。すなわち、立ち上がりエッジとなる。逆に区間「6」から「5」に移る際はホールUの値は「1」から「0」になる。これは立ち下がりエッジということになる。
このように回転方向によって立ち上がり/立ち下がりが逆転してしまうため、回転方向によって立ち上がりエッジでカウントするか、立ち下がりエッジでカウントするかを変更する必要がある。
When the rotation direction becomes the CCW direction, the reference position of the pulse alternating signal is changed to the falling edge of the hole U.
However, this does not mean that the reference position itself is moved to another position.
Specifically, using Table 2, the value of the hole U is changed from “0” to “1” when the section “5” is changed to “6”. That is, it becomes a rising edge. On the contrary, when moving from the section “6” to “5”, the value of the hole U is changed from “1” to “0”. This is a falling edge.
As described above, since the rising / falling direction is reversed depending on the rotation direction, it is necessary to change whether counting is performed at the rising edge or the falling edge depending on the rotation direction.

本実施例では、時計(CW)方向の回転時のホールUの立ち上がりエッジを基準位置とし、基準位置から1周期を1bitのアップダウンカウンタ42UDでカウントした。このときCW方向回転の場合にはアップカウント、反時計(CCW)方向の回転の場合にはダウンカウントするようにした。
以上のようにして、図3のUDカウンタ42UDの出力信号を生成した。
In this embodiment, the rising edge of the hole U during rotation in the clockwise (CW) direction is used as a reference position, and one cycle from the reference position is counted by the 1-bit up / down counter 42 UD . At this time, in the case of rotation in the CW direction, an up-count is performed, and in the case of rotation in the counterclockwise (CCW) direction, a down-count is performed.
As described above, the output signal of the UD counter 42 UD of FIG. 3 was generated.

なお、上記実施例のホールセンサ2,2,2の信号に対応するエンコーダ信号出力はー例であり、区間単位でずれる分には一向に問題はない。これは本発明に係わるエンコーダ相当出力信号が、インクリメンタルタイプであるためである。 The encoder signal output corresponding to the signals of the hall sensors 2 U , 2 V , 2 W in the above embodiment is an example, and there is no problem as long as the encoder signal output deviates in units of sections. This is because the encoder-equivalent output signal according to the present invention is an incremental type.

ここで、初期設定について説明する。
電源投入直後は、当然であるが、現在値の1つ前の値が存在しない。
そこで、電源投入後の初期値は、現在値と1bitカウンタの値を0もしくは1とし、CW方向回転もしくはCCW回転時の正常な1つ前の値を選択し、エンコーダ出力を決定するようにする。
それは例えば、ホールセンサ信号の現在値が「100」で、回転方向をCW方向とする場合、1つ前の値を「101」に選択する、ということである。
Here, the initial setting will be described.
Naturally immediately after the power is turned on, there is no value immediately before the current value.
Therefore, the initial value after power-on is set so that the current value and the value of the 1-bit counter are 0 or 1, the normal previous value at the time of CW direction rotation or CCW rotation is selected, and the encoder output is determined. .
For example, if the current value of the Hall sensor signal is “100” and the rotation direction is the CW direction, the previous value is selected as “101”.

図6と図7は、本発明の他の実施の形態で、図3と図4では、120度位相のホールセンサ2,2,2を使用した場合について説明したが、ブラシレスDCモータでは、ホールセンサ2,2,2の位相が60度で使用される場合もある。このときのCW方向回転時のホールセンサ2,2,2と1bitアップダウンカウンタ42UD、エンコーダ出力の関係を示したのが図6である。
また、回転方向CCW時のホールセンサ2,2,2と1bitアップダウンカウンタ42UD、エンコーダ出力の関係を示したのが図7である。
このようにホールセンサ2,2,2の位相が60度であっても、120度位相の場合と同様に、2相エンコーダ相当の信号を生成することが可能である。
FIGS. 6 and 7 show another embodiment of the present invention. In FIGS. 3 and 4, the case where 120 degree phase Hall sensors 2 U , 2 V , and 2 W are used has been described. Then, the phases of the Hall sensors 2 U , 2 V and 2 W may be used at 60 degrees. FIG. 6 shows the relationship between the Hall sensors 2 U , 2 V , 2 W , the 1-bit up / down counter 42 UD , and the encoder output during rotation in the CW direction at this time.
FIG. 7 shows the relationship between the Hall sensors 2 U , 2 V , 2 W , the 1-bit up / down counter 42 UD , and the encoder output when the rotation direction is CCW.
As described above, even if the phases of the Hall sensors 2 U , 2 V , and 2 W are 60 degrees, it is possible to generate a signal corresponding to a two-phase encoder as in the case of the 120-degree phase.

本願発明における回転位置検出装置4は、前記実施の形態では、ブラシレスDCモータの駆動回路装置とは別体に設けたが、図8に示すように、ブラシレスDCモータの駆動回路装置に内蔵させることもできる。
なお、上記実施の形態では、交番信号生成部42で、交番信号を生成するのにアップダウンカウンタを用いたが、本発明はこれに限定されるものではなく、他の素子を使用して交番信号を生成しても良い。
The rotational position detection device 4 in the present invention is provided separately from the brushless DC motor drive circuit device in the above embodiment, but as shown in FIG. 8, it is built in the brushless DC motor drive circuit device. You can also.
In the above embodiment, the alternating signal generation unit 42 uses the up / down counter to generate the alternating signal. However, the present invention is not limited to this, and the alternating signal is generated using other elements. A signal may be generated.

以上説明したように、上記実施の形態によれば、以下に列挙する効果が得られる。
ロータリーエンコーダなどを取り付けることなく、既存のブラシレスDCモータに取り付けられたホールセンサ2,2,2の出力を位置検出装置4に入力することで回転子の位置をカウントする信号を得ることが可能となる。また回転方向を知ることもできる。
さらに、ブラシレスDCモータ1の駆動回路3に本発明の装置が装備されている場合、そのまま回転子の位置をエンコーダカウンタ5でカウントできる。
ホールセンサ2,2,2と本発明の位置検出装置4をバッテリーバックアップすることで、停電時の回転子位置情報を保持できる。
As described above, according to the above embodiment, the effects listed below can be obtained.
A signal for counting the position of the rotor is obtained by inputting the outputs of the hall sensors 2 U , 2 V and 2 W attached to the existing brushless DC motor to the position detection device 4 without attaching a rotary encoder or the like. Is possible. You can also know the direction of rotation.
Furthermore, when the drive circuit 3 of the brushless DC motor 1 is equipped with the device of the present invention, the position of the rotor can be counted by the encoder counter 5 as it is.
By backing up the hall sensors 2 U , 2 V , 2 W and the position detection device 4 of the present invention with a battery, the rotor position information during a power failure can be retained.

1 ブラシレスDCモータ
,2,2 ホールセンサ
3 駆動回路
4 回転子位置検出装置
41 回転方向判別部
42 交番信号生成部
42UD アップダウンカウンタ
43 2相エンコーダ信号生成部
5 エンコーダカウンタ
1 brushless DC motor 2 U, 2 V, 2 W Hall sensor 3 driving circuit 4 rotor position detector 41 rotational direction discriminator 42 alternating signal generating unit 42 UD up-down counter 43 2-phase encoder signal generating unit 5 encoder counter

Claims (3)

ブラシレスDCモータの固定子に、一定間隔で3つのホールセンサを配置し、前記ブラシレスDCモータの回転子の磁気を前記ホールセンサで検出し、前記ホールセンサの信号によって前記ブラシレスDCモータの回転子位置を検出する方法であって、
前記3つのホールセンサ信号の現在値と、その1つ前の値とから、前記回転子の回転方向を判別し、
前記3つのホールセンサのうち、いずれか1つの立ち上がりエッジまたは、立ち下がりエッジを基準位置とし、かつ、この基準位置として立ち上がりエッジを選択するか、あるいは、立ち下がりエッジを選択するかは、前記回転子の回転方向によって決定して、前記基準位置を通過する度に交番する交番信号を生成し、
前記3つのホールセンサの信号と、前記交番信号とから、2相エンコーダ出力相当のパルス信号を生成し、
このパルス信号によって前記回転子位置を検出することを特徴とするブラシレスDCモータの回転子位置検出方法。
Three hall sensors are arranged at regular intervals on the stator of the brushless DC motor, the magnetism of the rotor of the brushless DC motor is detected by the hall sensor, and the rotor position of the brushless DC motor is determined by the signal of the hall sensor. A method of detecting
From the current value of the three hall sensor signals and the previous value, the rotational direction of the rotor is determined,
Of the three Hall sensors, any one rising edge or falling edge is used as a reference position, and whether the rising edge or the falling edge is selected as the reference position depends on the rotation. Determined by the rotation direction of the child, generating an alternating signal that alternates every time it passes the reference position,
A pulse signal equivalent to a two-phase encoder output is generated from the signals of the three hall sensors and the alternating signal,
A rotor position detection method for a brushless DC motor, wherein the rotor position is detected by the pulse signal.
前記3つのホールセンサ信号の現在値の1つ前の値が無い場合には、現在値に基づいて、回転方向と前記現在値の1つ前の値とが合致するように、前記現在値の1つ前の値を設定することを特徴とする請求項1に記載のブラシレスDCモータの回転子位置検出方法。   If there is no previous value of the current values of the three hall sensor signals, the current value is set so that the rotation direction and the previous value of the current value match based on the current value. 2. The method of detecting a rotor position of a brushless DC motor according to claim 1, wherein the previous value is set. ブラシレスDCモータと、このブラシレスDCモータの固定子に、一定間隔で配置され、前記ブラシレスDCモータの回転子の磁気を検出する3つのホールセンサと、
前記ブラシレスDCモータの3つのホールセンサ信号をサンプリングし、現在値と、その1つ前の値とから、前記ブラシレスDCモータの回転子の回転方向を判別する回転方向判別部と、
得られた回転方向情報と前記3つのホールセンサの信号とから、前記ホールセンサ信号の2倍の周期の交番信号を生成する交番信号生成部と、
前記3つのホールセンサ信号と前記交番信号とに基づき2相エンコーダ相当の信号を生成する2相エンコーダ信号生成部と、
を備え、前記2相エンコーダ相当の信号から回転子位置を検出することを特徴とするブラシレスDCモータの回転子位置検出装置。
A brushless DC motor, and three Hall sensors that are arranged at regular intervals on the stator of the brushless DC motor and detect the magnetism of the rotor of the brushless DC motor;
A rotation direction determination unit that samples three hall sensor signals of the brushless DC motor and determines a rotation direction of the rotor of the brushless DC motor from a current value and a previous value;
An alternating signal generating unit that generates an alternating signal having a period twice that of the Hall sensor signal from the obtained rotation direction information and the signals of the three Hall sensors;
A two-phase encoder signal generator for generating a signal corresponding to a two-phase encoder based on the three Hall sensor signals and the alternating signal;
A rotor position detecting device for a brushless DC motor, wherein the rotor position is detected from a signal corresponding to the two-phase encoder.
JP2011229703A 2011-10-19 2011-10-19 Method and apparatus for detecting rotor position of brushless DC motor Active JP5690700B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011229703A JP5690700B2 (en) 2011-10-19 2011-10-19 Method and apparatus for detecting rotor position of brushless DC motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011229703A JP5690700B2 (en) 2011-10-19 2011-10-19 Method and apparatus for detecting rotor position of brushless DC motor

Publications (2)

Publication Number Publication Date
JP2013090478A true JP2013090478A (en) 2013-05-13
JP5690700B2 JP5690700B2 (en) 2015-03-25

Family

ID=48533877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011229703A Active JP5690700B2 (en) 2011-10-19 2011-10-19 Method and apparatus for detecting rotor position of brushless DC motor

Country Status (1)

Country Link
JP (1) JP5690700B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103322896A (en) * 2013-07-10 2013-09-25 江苏浩峰汽车附件有限公司 Detection method and system for mounting position of Hall sensor of brushless direct current motor
CN109612375A (en) * 2018-11-20 2019-04-12 天津大学 A kind of globular motor rotor position detecting method based on Hall element
CN111438709A (en) * 2020-04-30 2020-07-24 深圳市鼎拓达机电有限公司 Mechanical arm monitoring equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580066A (en) * 1991-09-24 1993-03-30 Matsushita Electric Ind Co Ltd Commutation sensor combined with encoding function
JPH10111304A (en) * 1996-10-03 1998-04-28 Mitsubishi Heavy Ind Ltd Rotary angle detecting device
JP2013066351A (en) * 2011-09-20 2013-04-11 Shinano Kenshi Co Ltd Drive controller for three-phase brushless motor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580066A (en) * 1991-09-24 1993-03-30 Matsushita Electric Ind Co Ltd Commutation sensor combined with encoding function
JPH10111304A (en) * 1996-10-03 1998-04-28 Mitsubishi Heavy Ind Ltd Rotary angle detecting device
JP2013066351A (en) * 2011-09-20 2013-04-11 Shinano Kenshi Co Ltd Drive controller for three-phase brushless motor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103322896A (en) * 2013-07-10 2013-09-25 江苏浩峰汽车附件有限公司 Detection method and system for mounting position of Hall sensor of brushless direct current motor
CN109612375A (en) * 2018-11-20 2019-04-12 天津大学 A kind of globular motor rotor position detecting method based on Hall element
CN109612375B (en) * 2018-11-20 2020-05-26 天津大学 Spherical motor rotor position detection method based on Hall element
CN111438709A (en) * 2020-04-30 2020-07-24 深圳市鼎拓达机电有限公司 Mechanical arm monitoring equipment

Also Published As

Publication number Publication date
JP5690700B2 (en) 2015-03-25

Similar Documents

Publication Publication Date Title
JP5494662B2 (en) Rotation angle detector
US7049776B2 (en) Rotor-position sensor assembly and method for detecting a rotor position
JP6124112B2 (en) AC motor control device and control method
JP2011120444A (en) Motor control apparatus
JP6398782B2 (en) Motor control device
JP4796472B2 (en) Brushless DC motor control device, brushless DC motor control method, and brushless DC motor module
JP2014110675A (en) Detection method, and three-phase permanent magnet synchronous motor
US20210297020A1 (en) Method for correcting magnetic field position error in electric motor
US20170163185A1 (en) Method for sensorless commutation of a brushless direct current motor
JP5690700B2 (en) Method and apparatus for detecting rotor position of brushless DC motor
Yun et al. Position control of low cost brushless DC Motor using Hall sensor
CN107544022B (en) Motor state detection method and device
JP6582216B2 (en) Control method for three-phase brushless DC motor and motor control apparatus using the control method
JP5172833B2 (en) AC servo motor rotational position detection method and simple encoder
KR101655297B1 (en) Apparatus for correcting position of linear hole sensor and control method of thereof
KR20090056112A (en) Apparatus for measuring velocity and angle of rotator using hole device
KR20110016573A (en) Rotor position sensor
US11031888B2 (en) Operation of a rotating electric machine having two position sensors
JP7291104B2 (en) Three-phase brushless motor and method for detecting rotational position of three-phase brushless motor
KR20170071260A (en) Method and system for detecting a position of low speed section in sensorless motor
JP2010276417A (en) Disconnection detecting device and disconnection detecting method
KR20200082358A (en) BLDC Motor control system and control method
JPH0854205A (en) Rotational position detector for electric rotating
US10686392B2 (en) Driving permanent magnet motor based on neutral point voltage
WO2024004474A1 (en) Angle detection device and angle detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130610

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140729

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140924

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150202

R150 Certificate of patent or registration of utility model

Ref document number: 5690700

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250