JP2018102031A - motor - Google Patents

motor Download PDF

Info

Publication number
JP2018102031A
JP2018102031A JP2016245719A JP2016245719A JP2018102031A JP 2018102031 A JP2018102031 A JP 2018102031A JP 2016245719 A JP2016245719 A JP 2016245719A JP 2016245719 A JP2016245719 A JP 2016245719A JP 2018102031 A JP2018102031 A JP 2018102031A
Authority
JP
Japan
Prior art keywords
rotor
value
inclination
line
rotation
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.)
Withdrawn
Application number
JP2016245719A
Other languages
Japanese (ja)
Inventor
横沢 満雄
Mitsuo Yokozawa
満雄 横沢
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.)
Nidec Instruments Corp
Original Assignee
Nidec Sankyo Corp
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 Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2016245719A priority Critical patent/JP2018102031A/en
Publication of JP2018102031A publication Critical patent/JP2018102031A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • 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 motor which is advantageous for downsizing and reduction of cost and capable of accurately detecting a rotation position.SOLUTION: A calibration execution part 54 stores data in which three signals H1a, H1b, and H1c in an inclination range W of three characteristic lines Na, Nb, and Nc and rotation positions of a rotor 14 are made correspondent, in a storage part 52 as reference data R. The inclination range W includes an intersection (x) of the characteristic lines including a flexion point (f) excluding the vicinity of a maximal value (m) and a minimal value (n), on the three characteristic lines. A position detection part 53 identifies three inclination lines having one inclination feature on the basis of a magnitude relationship of the three signals in a case where the rotor 14 is located at a rotation position of a detection target, from among eighteen inclination lines for one rotation of the motor 14 that are distinguished from one another in accordance with inclination features of the inclination lines within the inclination range W, and calculates the rotation position of the detection target from the reference data R corresponding to one inclination line among the identified three inclination lines.SELECTED DRAWING: Figure 7

Description

本発明は、回転位置を検出するエンコーダ機能を備えるモータに関する。   The present invention relates to a motor having an encoder function for detecting a rotational position.

モータの回転位置を制御するため、回転子の位置情報(回転位置)を検出するエンコーダ機能をモータに持たせたものがある。例えば、光学式エンコーダをモータに搭載し、光学式エンコーダのパルス信号に基づき、位置情報を検出することができる。あるいは、複数のホール素子をモータに搭載し、ホール素子が出力する信号を演算して回転子の回転位置を求めることもできる。特許文献1、2には、この種のモータが開示されている。   In order to control the rotational position of the motor, there is a motor provided with an encoder function for detecting position information (rotational position) of the rotor. For example, an optical encoder can be mounted on a motor, and position information can be detected based on a pulse signal of the optical encoder. Alternatively, a plurality of Hall elements can be mounted on a motor, and a rotation position of the rotor can be obtained by calculating a signal output from the Hall elements. Patent Documents 1 and 2 disclose this type of motor.

特開平7−337076号公報JP-A-7-337076 特開2013−99023号公報JP 2013-99023 A

特許文献1、2には、3個のホール素子を異なる角度位置に配置し、これら3個のホール素子が出力する信号を比較演算して位置情報を得ることが開示されている。しかしながら、特許文献1、2の構成は、モータにホール素子を3個搭載しなければならず、このことはモータの小型化や低コスト化に不利である。また、モータの回転を高精度に制御するためには、位置情報(回転位置)を精度良く求める必要がある。   Patent Documents 1 and 2 disclose that three Hall elements are arranged at different angular positions, and position information is obtained by comparing and calculating signals output from these three Hall elements. However, the configurations of Patent Documents 1 and 2 require that three Hall elements be mounted on the motor, which is disadvantageous for miniaturization and cost reduction of the motor. Further, in order to control the rotation of the motor with high accuracy, it is necessary to obtain the position information (rotation position) with high accuracy.

本発明の課題は、このような点に鑑みて、小型化および低コスト化に有利で、回転位置を精度良く検出できるモータを提案することにある。   In view of such a point, an object of the present invention is to propose a motor that is advantageous for downsizing and cost reduction and that can detect a rotational position with high accuracy.

上記の課題を解決するために、本発明は、
ロータおよびステータと、
ロータが備える駆動マグネットに対して異なる角度位置で対向し、ロータの回転位置に応じた信号をそれぞれ出力する第1ホール素子および第2ホール素子と、
第1ホール素子および第2ホール素子とさらに異なる角度位置で駆動マグネットに対向する仮想の第3ホール素子がロータの回転位置に応じて出力する仮想信号を第1ホール素子の信号および第2ホール素子の信号から算出する算出部と、
第1ホール素子の信号および第2ホール素子の信号並びに仮想信号の各3信号とロータの回転位置との各対応関係を表すデータのうち、各対応関係を表す3本の特性線の、極大値および極小値近傍を除いた変曲点を挟む各特性線の交点を含む傾斜範囲におけるデータを参照データとして記憶する記憶部と、
ロータが検出対象の回転位置にあるときの3信号の相対関係から、検出対象の回転位置を含む特性線範囲の候補を前記傾斜範囲において定め、定めた1候補について、3信号のうちの1信号に対応して参照データに記憶される回転位置に基づいて、検出対象の回転位置を求める位置検出部と、を有して、モータを構成した。
In order to solve the above problems, the present invention provides:
A rotor and a stator;
A first Hall element and a second Hall element that face each other at different angular positions with respect to a drive magnet included in the rotor and output a signal corresponding to the rotational position of the rotor;
A virtual third Hall element facing the drive magnet at an angular position further different from that of the first Hall element and the second Hall element outputs a virtual signal output from the first Hall element and the second Hall element according to the rotational position of the rotor. A calculation unit for calculating from the signal of
Of the data representing the corresponding relationship between each of the three signals of the first Hall element signal, the second Hall element signal and the virtual signal and the rotational position of the rotor, the maximum value of the three characteristic lines representing each corresponding relationship And a storage unit that stores, as reference data, data in an inclination range including intersections of characteristic lines sandwiching an inflection point excluding the vicinity of the minimum value;
Based on the relative relationship of the three signals when the rotor is at the rotational position of the detection target, the characteristic line range candidate including the rotational position of the detection target is determined in the tilt range, and one signal out of the three signals for the determined candidate And a position detection unit that obtains the rotation position of the detection target based on the rotation position stored in the reference data.

本構成によれば、2つのホール素子から、ロータの回転位置に応じて変化する2信号を得、得た2信号から、第1ホール素子および第2ホール素子とさらに異なる角度位置で駆動マグネットに対向する仮想の第3ホール素子が出力する仮想信号を、算出することができる。そして、これら3信号とロータの回転位置との各対応関係を表す3本の特性線の、各特性線の交点を含む傾斜範囲において、ロータが検出対象の回転位置にあるときの3信号の相対関係から定まる、検出対象の回転位置を含む特性線範囲の1候補に基づいて、ロータの回転位置を求めることができる。従って、回転位置検出用のマグネットや光学式エンコーダなどを用いることなく、モータに2つのホール素子を追加するだけでロータの回転位置を検出できる。よって、モータの小型化および低コスト化を図ることができる。また、記憶部に記憶する参照データは、3本の特性線の、極大値および極小値近傍を除いた変曲点を挟む各特性線の交点を含む傾斜範囲に限定される。このため、3本の特性線の全範囲を参照データとして記憶する場合に比較して、参照データのデータ量を抑制して、記憶部の記憶容量を小さくすることが出来る。したがって、高い処理能力を必要としない安価な演算処理装置を用いて、位置検出部を構成することが出来る。また、予め、モータ毎に作成した参照データを用いて回転位置を求めるので、また、特性線の極大値および極小値近傍における信号値変化が大きくて回転位置判定精度が低く、誤判定が起こりやすいデータを用いないので、簡単なアルゴリズムで、精度良く回転位置を検出できる。   According to this configuration, two signals that change in accordance with the rotational position of the rotor are obtained from the two Hall elements, and the drive magnets are obtained from the obtained two signals at angular positions that are further different from those of the first Hall element and the second Hall element. A virtual signal output from the opposing virtual third Hall element can be calculated. Then, relative to the three signals when the rotor is at the rotation position to be detected in the inclination range including the intersection of the three characteristic lines of the three characteristic lines representing the corresponding relationship between the three signals and the rotational position of the rotor. The rotational position of the rotor can be obtained based on one candidate of the characteristic line range including the rotational position to be detected, which is determined from the relationship. Therefore, the rotational position of the rotor can be detected by simply adding two Hall elements to the motor without using a rotational position detecting magnet or an optical encoder. Therefore, it is possible to reduce the size and cost of the motor. Further, the reference data stored in the storage unit is limited to an inclination range including the intersection of the characteristic lines sandwiching the inflection point except for the local maximum value and the local minimum value of the three characteristic lines. For this reason, compared with the case where the entire range of the three characteristic lines is stored as the reference data, the data amount of the reference data can be suppressed and the storage capacity of the storage unit can be reduced. Therefore, the position detection unit can be configured using an inexpensive arithmetic processing device that does not require high processing capability. In addition, since the rotational position is obtained in advance using reference data created for each motor, the change in the signal value in the vicinity of the maximum value and the minimum value of the characteristic line is large, the rotational position determination accuracy is low, and erroneous determination is likely to occur. Since no data is used, the rotational position can be detected with high accuracy by a simple algorithm.

また、本発明は、位置検出部が、前記傾斜範囲における各特性線の各傾斜特徴に応じて区別される、ロータの1回転分の複数の傾斜線の中から、ロータが検出対象の回転位置にあるときの3信号の大小関係に基づいて、1つの傾斜特徴を持つ複数の傾斜線を特定し、特定した複数の傾斜線の中の1本の傾斜線に対応する参照データ中のロータの回転位置の中から、特定した傾斜線の傾斜特徴を持つ特性線の信号値に対応する回転位置を、検出対象の回転位置の電気角候補として求めることを特徴とする。   In the present invention, the position detection unit is distinguished according to each inclination characteristic of each characteristic line in the inclination range, and the rotor is detected from a plurality of inclination lines for one rotation. A plurality of inclined lines having one inclination characteristic are identified based on the magnitude relationship of the three signals at the time, and the rotor data in the reference data corresponding to one inclined line among the plurality of identified inclined lines is identified. The rotation position corresponding to the signal value of the characteristic line having the inclination characteristic of the specified inclination line is obtained from the rotation positions as electrical angle candidates of the rotation position to be detected.

本構成によれば、ロータが検出対象の回転位置にあるときの3信号の相対関係は、ロータが検出対象の回転位置にあるときの3信号の大小関係から認識される。そして、この3信号の大小関係に基づいて、各特性線の交点を含む傾斜範囲におけるロータの1回転分の複数の傾斜線の中から、1つの傾斜特徴を持つ複数の傾斜線を特定し、その中の1本の傾斜線に対応する参照データを参照することで、簡単に、検出対象の回転位置の電気角候補を求めることができる。検出対象の回転位置の絶対角が分からなくても、電気角候補が分かることで、モータへの通電制御を行う駆動部は、ロータに対する駆動制御を行うことが可能になり、ロータを回転駆動させられる。   According to this configuration, the relative relationship of the three signals when the rotor is at the detection target rotational position is recognized from the magnitude relationship of the three signals when the rotor is at the detection target rotational position. Based on the magnitude relationship of the three signals, a plurality of inclination lines having one inclination characteristic are identified from among a plurality of inclination lines for one rotation of the rotor in the inclination range including the intersection of the characteristic lines, By referring to the reference data corresponding to one of the inclined lines, the electrical angle candidate for the rotation position to be detected can be easily obtained. Even if the absolute angle of the rotational position of the detection target is not known, the drive unit that controls the energization of the motor can know the electrical angle candidate, and can perform drive control on the rotor, thereby rotating the rotor. It is done.

また、本発明は、
算出部が、ロータの回転時に所定時間毎に第1ホール素子の信号および第2ホール素子の信号から仮想信号を算出し、
位置検出部が、所定時間毎に3信号の大小関係に基づいて検出対象の回転位置の電気角候補を随時求めることを特徴とする。
The present invention also provides:
The calculation unit calculates a virtual signal from the signal of the first Hall element and the signal of the second Hall element every predetermined time when the rotor rotates,
The position detection unit obtains electrical angle candidates for the rotational position of the detection target at any time based on the magnitude relationship of the three signals every predetermined time.

本構成によれば、モータへの通電制御を行う駆動部は、随時求まる検出対象の回転位置の電気角候補に基づいて、ロータの動きに追従してロータの回転駆動を継続させることができる。   According to this configuration, the drive unit that controls the energization of the motor can continue the rotation drive of the rotor following the movement of the rotor based on the electrical angle candidate of the rotation position to be detected that is obtained as needed.

また、本発明は、位置検出部が、ロータの回転速度をN[rpm]、駆動マグネットの磁極数を2nとしたときにおける前記所定時間が60/(N×2n×3)[sec]以下の場合、検出対象の回転位置を求めた前回と3信号の大小関係が同じであれば前回と同じ1本の傾斜線を特定し、3信号の大小関係が異なれば前回特定した1本の傾斜線に隣接する1本の傾斜線を複数の傾斜線の中から特定することを特徴とする。   Further, according to the present invention, the position detection unit has a predetermined time of 60 / (N × 2n × 3) [sec] or less when the rotational speed of the rotor is N [rpm] and the number of magnetic poles of the drive magnet is 2n. In this case, if the magnitude relationship between the three signals is the same as the previous time when the rotational position of the detection target is obtained, the same single slope line as the previous one is specified, and if the magnitude relation between the three signals is different, the previous one slope line is specified. One sloping line adjacent to is specified from a plurality of sloping lines.

本構成によれば、検出対象の回転位置の電気角候補を60/(N×2n×3)[sec]以下の所定時間毎に求めることで、特定すべき1本の傾斜線の選択候補は、ロータが1本の傾斜線を描く回転範囲にある傾斜線に限定される。したがって、少ない選択候補から1本の傾斜線を特定することができるので、1本の傾斜線を特定する処理は簡単になる。このため、検出対象の回転位置の電気角候補を求める処理負荷が軽くなって、ロータのより速い回転に追従してロータの高速回転駆動を継続させることが可能になる。   According to this configuration, by selecting the electrical angle candidate for the rotation position to be detected at predetermined time intervals of 60 / (N × 2n × 3) [sec] or less, the selection candidate for one inclined line to be specified is The rotor is limited to an inclined line in a rotation range that draws one inclined line. Therefore, since one inclined line can be specified from a small selection candidate, the process of specifying one inclined line is simplified. For this reason, the processing load for obtaining the electrical angle candidate of the rotation position to be detected is reduced, and it is possible to continue the high-speed rotation drive of the rotor following the faster rotation of the rotor.

また、本発明は、
ロータの回転位置の原点を検出する原点検出部を備え、
位置検出部が、ロータが検出対象の回転位置にあるときの3信号の大小関係に基づいて、ロータの1回転分の複数の傾斜線の中から選んだ1本の傾斜線に対応して求まる検出対象の回転位置の電気角候補から、原点検出部によって検出された原点を基準にして、検出対象の回転位置の絶対角を算出することを特徴とする。
The present invention also provides:
It has an origin detection unit that detects the origin of the rotational position of the rotor,
The position detection unit is obtained corresponding to one inclination line selected from a plurality of inclination lines for one rotation of the rotor based on the magnitude relationship of the three signals when the rotor is at the rotation position to be detected. The absolute angle of the rotational position of the detection target is calculated from the electrical angle candidate of the rotational position of the detection target with reference to the origin detected by the origin detection unit.

本構成によれば、原点検出部によって検出された原点の位置を基準にして、求めた電気角候補から、検出対象の回転位置の絶対角が算出される。このため、モータへの通電制御を行う駆動部は、ロータに対する駆動制御を正確に行え、最適なモータ制御を実行することが可能になる。   According to this configuration, the absolute angle of the rotation position of the detection target is calculated from the obtained electrical angle candidates based on the position of the origin detected by the origin detection unit. For this reason, the drive part which performs energization control to a motor can perform drive control with respect to a rotor correctly, and can perform optimal motor control.

また、本発明は、原点検出部が、ロータの原点位置で生じるロータからの反射光もしくは透過光を検出する光学センサ、または、ロータの原点位置で生じる磁気を検出する磁気センサの位置センサから構成され、ロータの1回転分の3本の特性線においてロータの原点位置に対して所定の回転位置関係になる原点パルスを位置検出部へ出力することを特徴とする。   Further, according to the present invention, the origin detection unit includes an optical sensor that detects reflected or transmitted light from the rotor generated at the origin position of the rotor, or a position sensor of a magnetic sensor that detects magnetism generated at the origin position of the rotor. In addition, an origin pulse having a predetermined rotational position relationship with respect to the origin position of the rotor is output to the position detection unit on three characteristic lines for one rotation of the rotor.

本構成によれば、位置センサが位置検出部へ出力する原点パルスにより、位置検出部はロータの原点位置を把握することができる。このため、位置検出部は、原点位置を検出するための計算処理を行う必要が無いので、計算負荷が軽減される。   According to this configuration, the position detection unit can grasp the origin position of the rotor by the origin pulse output from the position sensor to the position detection unit. For this reason, the position detection unit does not need to perform a calculation process for detecting the origin position, thereby reducing the calculation load.

また、本発明は、原点検出部が、駆動マグネットの磁極数を2n、任意の数値をαとしたときに(360/n)−α度分の幅の機械角で、ロータの原点位置を含む原点パルスを出力することを特徴とする。   In the present invention, the origin detection unit includes the origin position of the rotor at a mechanical angle of (360 / n) -α degrees when the number of magnetic poles of the drive magnet is 2n and an arbitrary value is α. An origin pulse is output.

本構成によれば、ロータの回転前に原点パルスが位置センサから出力されていれば、その原点パルスのパルス幅である(360/n)−α度の範囲内に原点があることを判断できるので、ロータを回転させることなく、位置検出部はロータの原点位置を検出することができる。また、ロータの回転前に原点パルスが位置センサから出力されていなければ、360−(360/n)+α度分ロータを回転することで、原点パルスが位置センサから出力されるので、ロータが1回転する前に、位置検出部はロータの原点位置を検出することができる。   According to this configuration, if the origin pulse is output from the position sensor before the rotation of the rotor, it can be determined that the origin is within the range of (360 / n) -α degrees which is the pulse width of the origin pulse. Therefore, the position detector can detect the origin position of the rotor without rotating the rotor. Also, if the origin pulse is not output from the position sensor before the rotor is rotated, the origin pulse is output from the position sensor by rotating the rotor by 360− (360 / n) + α degrees. Before the rotation, the position detector can detect the origin position of the rotor.

なお、原点パルスは、ロータの原点位置を含むタイミングに出力が立ち上がる正論理、ロータの原点位置を含むタイミングに出力が立ち下がる負論理のいずれの論理で出力されてもよい。   Note that the origin pulse may be output by either positive logic in which the output rises at a timing including the origin position of the rotor or negative logic in which the output falls at a timing including the origin position of the rotor.

また、本発明は、
記憶部が、ロータの1回転分の3本の特性線における交点の信号値を交点が現れる順にリファレンステーブルとして記憶すると共に、ロータの原点位置を記憶し、
位置検出部が、モータの起動時に計測される3信号から定まる1本の傾斜線を起動時傾斜線として特定し、起動時傾斜線の端部にある交点から連続する所定標本数の交点の信号値列を元値列として算出し、リファレンステーブルに記憶されたロータの1回転分の回転範囲における交点の信号値を参照して、起動時傾斜線が持つ傾斜特徴と同じ傾斜特徴を持つ傾斜線の端部にある交点の信号値を先頭にする前記標本数と同じ数の交点の信号値列を参照値列としてリファレンステーブルから複数取り出し、取り出した各参照値列と元値列との各間における相関係数の値を算出し、算出した最大値の相関係数値と最大値に次ぐ大きさの相関係数値との間の差が所定値以上になるまで、前記標本数を増やしながら各参照値列と元値列との間の相関係数値を算出することで、前記差が所定値以上になる最大値の相関係数値を算出させる参照値列を特定し、特定した参照値列の先頭にある交点の信号値が端部にある検出傾斜線に、モータの起動持における検出対象の回転位置があると判断し、検出傾斜線を基にして求まる検出対象の回転位置の電気角候補から、記憶部に記憶されたロータの原点位置を基準にして、検出対象の回転位置の絶対角を算出することを特徴とする。
The present invention also provides:
The storage unit stores the signal values of the intersections in the three characteristic lines for one rotation of the rotor as a reference table in the order in which the intersections appear, and stores the origin position of the rotor,
The position detection unit identifies one inclined line determined from the three signals measured at the time of starting the motor as the starting inclined line, and signals of intersections of a predetermined number of samples continuous from the intersection at the end of the starting inclined line. An inclination line having the same inclination characteristic as the inclination characteristic of the starting inclination line by calculating the value string as an original value string and referring to the signal value of the intersection in the rotation range of one rotation of the rotor stored in the reference table A plurality of signal value sequences at the intersection points equal to the number of samples starting from the signal value at the intersection point at the end of the reference value sequence are extracted from the reference table as reference value sequences, and between each of the retrieved reference value sequences and original value sequences The correlation coefficient value is calculated for each reference, and each reference is made while increasing the number of samples until the difference between the calculated maximum correlation coefficient value and the correlation coefficient value next to the maximum value exceeds a predetermined value. Correlation coefficient between value sequence and original value sequence By calculating, a reference value sequence for calculating the maximum correlation coefficient value at which the difference is equal to or greater than a predetermined value is specified, and the detected slope at the end of the signal value of the intersection point at the head of the specified reference value sequence It is determined that the rotation position of the detection target when the motor is started is on the line, and the origin position of the rotor stored in the storage unit is used as a reference from the electrical angle candidates of the rotation position of the detection target obtained based on the detection inclination line Thus, the absolute angle of the rotational position of the detection target is calculated.

本構成によれば、モータの起動時に特定される起動時傾斜線の端部にある交点から連続する所定標本数の元値列と、リファレンステーブルから取り出される、起動時傾斜線が持つ傾斜特徴と同じ傾斜特徴を持つ傾斜線の端部にある交点の信号値を先頭にする、元値列の標本数と同じ数の参照値列との間で、相関係数値が計算されることで、元値列と各参照値列とのパターンマッチングがとられる。このパターンマッチングでは、最大値に次ぐ大きさの相関係数値との間の差が所定値以上になる最大値の相関係数値を算出させる参照値列が、元値列とパターンが一致すると判断される。そして、この参照値列の先頭にある交点の信号値が端部にある検出傾斜線に、モータの起動持における検出対象の回転位置があると判断される。検出対象の回転位置の絶対角は、検出傾斜線を基にして求まる検出対象の回転位置の電気角候補から、記憶部に記憶されたロータの原点位置を基準にして算出される。このため、原点検出部を用いることなく、ハードウエア構成を簡略化して安価に、ロータの回転位置の絶対角を算出することが可能になる。   According to this configuration, the original value sequence of a predetermined number of samples continuous from the intersection at the end of the starting slope line specified at the time of starting the motor, and the slope characteristics of the starting slope line taken from the reference table The correlation coefficient value is calculated between the same number of reference value sequences as the number of samples in the original value sequence starting from the signal value of the intersection point at the end of the slope line with the same slope characteristic. Pattern matching is performed between the value string and each reference value string. In this pattern matching, it is determined that the reference value sequence for calculating the maximum correlation coefficient value that makes the difference between the correlation coefficient value next to the maximum value equal to or greater than a predetermined value matches the pattern with the original value sequence. The Then, it is determined that the detected inclination line at the end of the signal value of the intersection at the head of the reference value sequence has the rotation position to be detected when the motor is started. The absolute angle of the rotational position of the detection target is calculated based on the origin position of the rotor stored in the storage unit from the electrical angle candidate of the rotational position of the detection target obtained based on the detected inclination line. For this reason, the absolute angle of the rotational position of the rotor can be calculated at a low cost by simplifying the hardware configuration without using an origin detection unit.

また、本発明は、相関係数値に代えて相関係数値の二乗値を用いることを特徴とする。   Further, the present invention is characterized in that a square value of a correlation coefficient value is used instead of the correlation coefficient value.

本構成によれば、相関係数値を算出するのに必要とされる平方根を開く算出処理が不要になる。このため、位置検出部の計算負荷を減らすことができる。また、元値列と参照値列とのパターンが一致したか否かの判断の基になる前記差の値を大きくすることができるので、パターンマッチングの誤認判定を抑制することができる。   According to this configuration, a calculation process for opening the square root required for calculating the correlation coefficient value is not required. For this reason, the calculation load of a position detection part can be reduced. In addition, since the difference value, which is a basis for determining whether or not the patterns of the original value sequence and the reference value sequence match, can be increased, it is possible to suppress misidentification of pattern matching.

また、本発明は、位置検出部によって算出された検出対象の回転位置をモータ外部へ出力する出力部を備えることを特徴とする。   In addition, the present invention is characterized by including an output unit that outputs the rotational position of the detection target calculated by the position detection unit to the outside of the motor.

本構成によれば、出力部から外部機器へ検出対象の回転位置が出力されるので、モータの上位装置はその意図する制御を正確に行うことができる。   According to this configuration, since the rotation position to be detected is output from the output unit to the external device, the higher-level device of the motor can accurately perform the intended control.

本発明によれば、回転位置検出用のマグネットや光学式エンコーダなどを用いることなく、モータに2つのホール素子を追加するだけでロータの回転位置を検出できる。さらに、参照データのデータ量を抑制して、記憶部の記憶容量を小さくすることが出来る。また、予め、モータ毎に作成した参照データを用いて回転位置を求めるので、また、信号値変化が大きくて回転位置判定精度が低く、誤判定が起こりやすいデータを用いないので、簡単なアルゴリズムで、精度良く回転位置を検出できる。従って、モータの小型化および低コスト化に有利で、回転位置を精度良く検出できるモータを提供することができる。   According to the present invention, the rotational position of the rotor can be detected simply by adding two Hall elements to the motor without using a rotational position detection magnet or an optical encoder. Furthermore, the data volume of the reference data can be suppressed and the storage capacity of the storage unit can be reduced. In addition, since the rotational position is obtained using reference data created for each motor in advance, and since there is a large change in the signal value, the rotational position determination accuracy is low, and data that is prone to erroneous determination is not used, a simple algorithm is used. The rotational position can be detected with high accuracy. Accordingly, it is possible to provide a motor that is advantageous for miniaturization and cost reduction of the motor and that can accurately detect the rotational position.

本発明の一実施形態によるモータの外観斜視図である。1 is an external perspective view of a motor according to an embodiment of the present invention. 一実施形態によるモータの構造を示す説明図である。It is explanatory drawing which shows the structure of the motor by one Embodiment. 一実施形態によるモータの制御系の概略ブロック図である。It is a schematic block diagram of the control system of the motor by one Embodiment. 一実施形態のモータにおいて第1ホール素子および第2ホール素子の信号を正規化した正規化信号の特性線図である。It is a characteristic line figure of the normalized signal which normalized the signal of the 1st hall element and the 2nd hall element in the motor of one embodiment. 一実施形態のモータにおいて算出した仮想信号の正規化信号を含む各正規化信号の特性線図である。It is a characteristic diagram of each normalization signal including the normalization signal of the virtual signal computed in the motor of one embodiment. 一実施形態のモータにおける回転位置の検出処理に用いられる参照データの元になる参照原データの3本の特性線を表す特性線図である。It is a characteristic line figure showing the three characteristic lines of the reference original data used as the origin of the reference data used for the detection processing of the rotation position in the motor of one embodiment. 図6に示す参照原データから抜き取られて記憶部に記憶される参照データの3本の特性線を表す特性線図である。FIG. 7 is a characteristic diagram showing three characteristic lines of reference data extracted from the reference original data shown in FIG. 6 and stored in a storage unit. 一実施形態のモータにおいて原点パルスが乗った3本の特性線を表す特性線図である。It is a characteristic line figure showing the three characteristic lines on which the origin pulse got in the motor of one embodiment. 一実施形態のモータにおいて記憶部に記憶される、ロータの1回転分の交点の参照値を示す棒グラフである。It is a bar graph which shows the reference value of the intersection for one rotation of a rotor memorized by storage part in a motor of one embodiment. (a)は、一実施形態のモータにおける交点の標本数と相関係数との関係を示すグラフ、(b)は、交点の標本数と決定係数との関係を示すグラフである。(A) is a graph which shows the relationship between the sample number of the intersection in the motor of one Embodiment, and a correlation coefficient, (b) is a graph which shows the relationship between the sample number of an intersection, and a determination coefficient.

以下に、図面を参照して、本発明を適用したモータの実施の形態を説明する。   Embodiments of a motor to which the present invention is applied will be described below with reference to the drawings.

(モータの構造)
図1は本発明を適用したモータの外観斜視図である。また、図2は本発明を適用したモータの構造を示す説明図であり、図2(a)は断面図、図2(b)はロータを部分的に切り欠いた斜視図である。モータ1は、回路基板2と、回路基板2の中央部分に取り付けられたモータ本体3と、回路基板2上に実装されたモータ制御ユニット4とを備えるモータユニットである。
(Motor structure)
FIG. 1 is an external perspective view of a motor to which the present invention is applied. FIG. 2 is an explanatory view showing the structure of a motor to which the present invention is applied. FIG. 2 (a) is a sectional view and FIG. 2 (b) is a perspective view in which a rotor is partially cut away. The motor 1 is a motor unit including a circuit board 2, a motor main body 3 attached to a central portion of the circuit board 2, and a motor control unit 4 mounted on the circuit board 2.

回路基板2の中央部分には、図2(a)に示すように、モータ本体3を固定するための固定孔11(固定部)が設けられている。モータ制御ユニット4は、モータ本体3を駆動するためのドライバ回路、モータ本体3の駆動を制御するためのコントローラ回路、および、アンプ回路等を備える。つまり、本例のモータ1は、モータ本体3と当該モータ本体3の制御基板を一体化したものである。   As shown in FIG. 2A, a fixing hole 11 (fixing portion) for fixing the motor body 3 is provided in the central portion of the circuit board 2. The motor control unit 4 includes a driver circuit for driving the motor body 3, a controller circuit for controlling the driving of the motor body 3, an amplifier circuit, and the like. That is, the motor 1 of this example is an integrated body of the motor body 3 and the control board of the motor body 3.

モータ本体3は3相永久磁石同期モータ(PMSM)である。モータ本体3は、ステータ12と、出力軸13を備えるロータ14と、固定孔11を貫通した状態でステータ12を支持するスリーブ15と、スリーブ15に固定されたベアリング16を有する。モータ本体3の軸線L(出力軸13の回転中心線)は、回路基板2と直交する方向に延びる。ベアリング16はスリーブ15における回路基板2の裏面2bの側の端部分に固定されている。ベアリング16は、出力軸13(ロータ14)を軸線L回りに回転可能に支持する。   The motor body 3 is a three-phase permanent magnet synchronous motor (PMSM). The motor body 3 includes a stator 12, a rotor 14 including an output shaft 13, a sleeve 15 that supports the stator 12 in a state of passing through the fixing hole 11, and a bearing 16 fixed to the sleeve 15. The axis L of the motor body 3 (the rotation center line of the output shaft 13) extends in a direction orthogonal to the circuit board 2. The bearing 16 is fixed to an end portion of the sleeve 15 on the back surface 2 b side of the circuit board 2. The bearing 16 supports the output shaft 13 (rotor 14) so as to be rotatable around the axis L.

ステータ12は、半径方向に突出する複数の突極を備える環状のステータコア18と、各突極に巻き回された駆動コイル19を備える。ステータコア18は回路基板2の表面2aの側に位置する。ステータコア18の中心穴には、スリーブ15において回路基板2の表面2aの側に突出した表面側突出部分が挿入されている。これにより、ステータコア18はスリーブ15を介して回路基板2に固定される。   The stator 12 includes an annular stator core 18 having a plurality of salient poles projecting in the radial direction, and a drive coil 19 wound around each salient pole. The stator core 18 is located on the surface 2 a side of the circuit board 2. In the center hole of the stator core 18, a surface-side protruding portion that protrudes toward the surface 2 a of the circuit board 2 in the sleeve 15 is inserted. Thereby, the stator core 18 is fixed to the circuit board 2 via the sleeve 15.

ロータ14は、円形の底板部21と底板部21の外周縁部分から回路基板2の側に向って延びる環状板部22を備えるロータケース23と、環状板部22の内周面に固定された駆動マグネット24を備える。出力軸13は底板部21の中心に固定されて環状板部22の内側をロータケース23と同軸に延びる。出力軸13はロータケース23の円形開口部(回路基板2の側の開口)から突出する。   The rotor 14 is fixed to a rotor case 23 having a circular bottom plate portion 21 and an annular plate portion 22 extending from the outer peripheral edge portion of the bottom plate portion 21 toward the circuit board 2, and an inner peripheral surface of the annular plate portion 22. A drive magnet 24 is provided. The output shaft 13 is fixed to the center of the bottom plate portion 21 and extends coaxially with the rotor case 23 inside the annular plate portion 22. The output shaft 13 protrudes from a circular opening (opening on the circuit board 2 side) of the rotor case 23.

ロータ14は、ロータケース23が回路基板2の表面2aの側からステータコア18に被せられ、出力軸13がスリーブ15に挿入され、出力軸13の先端部分がスリーブ15から回路基板2の裏面2bの側に突出した状態に組み付けられる。これにより、ステータコア18の突極と駆動マグネット24が径方向に対向する。   In the rotor 14, the rotor case 23 is put on the stator core 18 from the front surface 2 a side of the circuit board 2, the output shaft 13 is inserted into the sleeve 15, and the tip portion of the output shaft 13 extends from the sleeve 15 to the back surface 2 b of the circuit board 2. It is assembled in a state protruding to the side. As a result, the salient poles of the stator core 18 and the drive magnet 24 face each other in the radial direction.

駆動マグネット24は、回路基板2の表面2aに実装された第1ホール素子25および第2ホール素子26と所定間隔で対向する。第1ホール素子25と第2ホール素子26は、ロータ14の軸線Lを中心として見た場合に、周方向に離れた位置に配置される。ステータ12は3相の駆動コイル19を備えており、第1ホール素子25と第2ホール素子26は、隣り合う駆動コイル19の隙間に配置される。   The drive magnet 24 faces the first hall element 25 and the second hall element 26 mounted on the surface 2a of the circuit board 2 at a predetermined interval. The first hall element 25 and the second hall element 26 are arranged at positions separated in the circumferential direction when viewed with the axis L of the rotor 14 as the center. The stator 12 includes a three-phase drive coil 19, and the first Hall element 25 and the second Hall element 26 are arranged in a gap between adjacent drive coils 19.

駆動マグネット24は、正弦波状の着磁パターンで6極着磁されている。ロータ14が回転すると、第1ホール素子25および第2ホール素子26の位置では、駆動マグネット24の回転に伴って周期的な磁界の変化が生じる。第1ホール素子25および第2ホール素子26は、駆動マグネット24に対して異なる角度位置で対向し、ロータ14の回転に伴う磁界の変化に基づき、ロータ14の回転位置に応じた周期的に変動する信号Ha、Hbをそれぞれ出力する。第1ホール素子25と第2ホール素子26は、第1ホール素子25が電気角0度、第2ホール素子26が電気角120度に配置されており、信号Ha、Hbが電気角で120度位相のずれた信号となる。本実施形態では、第1ホール素子25および第2ホール素子26とさらに異なる角度位置で駆動マグネット24に対向する、電気角240度に相当する角度位置に配置される仮想の第3ホール素子を想定する。   The drive magnet 24 is magnetized in 6 poles with a sinusoidal magnetization pattern. When the rotor 14 rotates, a periodic magnetic field change occurs with the rotation of the drive magnet 24 at the positions of the first Hall element 25 and the second Hall element 26. The first Hall element 25 and the second Hall element 26 are opposed to the drive magnet 24 at different angular positions, and periodically change according to the rotational position of the rotor 14 based on the change of the magnetic field accompanying the rotation of the rotor 14. The signals Ha and Hb to be output are output. The first Hall element 25 and the second Hall element 26 are arranged such that the first Hall element 25 is disposed at an electrical angle of 0 degrees and the second Hall element 26 is disposed at an electrical angle of 120 degrees, and the signals Ha and Hb are 120 degrees in electrical angle. The signal is out of phase. In the present embodiment, a virtual third Hall element is assumed that is opposed to the drive magnet 24 at an angular position further different from that of the first Hall element 25 and the second Hall element 26 and is disposed at an angular position corresponding to an electrical angle of 240 degrees. To do.

(モータ制御ユニット)
図3はモータ1の制御系の概略ブロック図である。モータ制御ユニット4は、MPU、メモリ、AD変換器等を内蔵するコントロールユニット41を備える。コントロールユニット41には、上位装置7からの制御信号が入力され、電源回路8を介して電源が供給される。コントロールユニット41の出力側には、U相、V相、W相の駆動コイル19への通電を制御するドライバ回路42u、42v、42wが接続される。上述したように、モータ本体3は、異なる角度位置に配置された第1ホール素子25および第2ホール素子26を備えており、第1ホール素子25および第2ホール素子26が出力する信号Ha、Hbは、差動アンプ回路43、44で増幅されたのち、コントロールユニット41に入力される。なお、差動アンプ回路43、44は第1ホール素子25および第2ホール素子26の側に組み込まれていても良い。
(Motor control unit)
FIG. 3 is a schematic block diagram of the control system of the motor 1. The motor control unit 4 includes a control unit 41 having a built-in MPU, memory, AD converter, and the like. A control signal from the host device 7 is input to the control unit 41, and power is supplied via the power supply circuit 8. On the output side of the control unit 41, driver circuits 42u, 42v, and 42w that control energization to the U-phase, V-phase, and W-phase drive coils 19 are connected. As described above, the motor body 3 includes the first Hall element 25 and the second Hall element 26 arranged at different angular positions, and the signals Ha output from the first Hall element 25 and the second Hall element 26, Hb is amplified by the differential amplifier circuits 43 and 44 and then input to the control unit 41. The differential amplifier circuits 43 and 44 may be incorporated on the first Hall element 25 and the second Hall element 26 side.

コントロールユニット41は、第1ホール素子25と第2ホール素子26の信号Ha、Hbを最大振幅に対応する係数で除して正規化データに変換する処理を行う正規化処理部50と、想定した第3ホール素子がロータ14の回転位置に応じて出力する仮想信号Hcを算出する算出部51と、予め作成された参照データR等を記憶する記憶部52と、記憶部52で記憶する参照データRを用いてロータ14の回転位置を検出する位置検出部53と、参照データRを作成するためのキャリブレーションを実行するキャリブレーション実行部54と、位置検出部53で検出した回転位置と目標位置とを比較して、回転位置を目標位置に一致させるための制御信号(PWM信号)をドライバ回路42u、42v、42wに供給するフィードバック制御部55と、位置検出部53によって算出された検出対象の回転位置をモータ1の外部へ出力する出力部56等を備える。   The control unit 41 is assumed to be a normalization processing unit 50 that performs processing of dividing the signals Ha and Hb of the first Hall element 25 and the second Hall element 26 by a coefficient corresponding to the maximum amplitude and converting the signals into normalized data. A calculation unit 51 that calculates a virtual signal Hc that the third hall element outputs according to the rotational position of the rotor 14, a storage unit 52 that stores reference data R and the like created in advance, and reference data that is stored in the storage unit 52 A position detection unit 53 that detects the rotational position of the rotor 14 using R, a calibration execution unit 54 that executes calibration for creating reference data R, and a rotational position and a target position detected by the position detection unit 53 And a feedback control that supplies a control signal (PWM signal) for matching the rotational position to the target position to the driver circuits 42u, 42v, 42w. And parts 55, an output unit 56 for outputting the rotational position of the detection object calculated by the position detecting section 53 to the outside of the motor 1.

(正規化処理)
図4は第1ホール素子25の信号Haと第2ホール素子26の信号Hbを正規化した正規化データの特性線図であり、ロータ14が1回転する範囲(機械角で360度)の正規化データを示す。図4の横軸はロータ14の回転位置であり、ロータ14の1回転がパルス数で7200に相当する。また、図4の縦軸は各ホール素子25,26の信号を正規化した値であり、最大振幅を4096とするように信号Ha、Hbを変換したことを示す。図4の実線は、第1ホール素子25の信号Haを正規化した正規化信号H1aを、ロータ14が1回転する範囲で生成して得られる第1特性線Naである。また、図4の破線は、第2ホール素子26の信号Hbを正規化した正規化信号H1bを、ロータ14が1回転する範囲で生成して得られる第2特性線Nbである。
(Normalization processing)
FIG. 4 is a characteristic diagram of normalized data obtained by normalizing the signal Ha of the first Hall element 25 and the signal Hb of the second Hall element 26, and the normality of the range in which the rotor 14 rotates once (360 degrees in mechanical angle). The data is shown. 4 represents the rotational position of the rotor 14, and one rotation of the rotor 14 corresponds to 7200 in terms of the number of pulses. The vertical axis in FIG. 4 is a value obtained by normalizing the signals of the Hall elements 25 and 26, and indicates that the signals Ha and Hb are converted so that the maximum amplitude is 4096. The solid line in FIG. 4 is a first characteristic line Na obtained by generating a normalized signal H1a obtained by normalizing the signal Ha of the first Hall element 25 within a range in which the rotor 14 makes one rotation. 4 is a second characteristic line Nb obtained by generating a normalized signal H1b obtained by normalizing the signal Hb of the second Hall element 26 within a range in which the rotor 14 makes one rotation.

正規化処理部50は、コントロールユニット41に入力された信号Ha、Hbに対してノイズ除去処理を行うフィルタ回路を備えており、ノイズ除去後の信号Ha、Hbに対して正規化処理を行って正規化信号H1a、H1bを求め、第1特性線Naおよび第2特性線Nbを得る。また、正規化処理部51は、最大振幅が4096となるように信号Ha、Hbを変換する処理を行うが、この変換処理に用いる係数(例えば、信号Ha、Hbの最大振幅値をそれぞれ4096で除した値)を、予め定めたタイミングで更新する。例えば、一定時間毎に係数を更新する。   The normalization processing unit 50 includes a filter circuit that performs noise removal processing on the signals Ha and Hb input to the control unit 41, and performs normalization processing on the signals Ha and Hb after noise removal. Normalized signals H1a and H1b are obtained to obtain a first characteristic line Na and a second characteristic line Nb. Further, the normalization processing unit 51 performs a process of converting the signals Ha and Hb so that the maximum amplitude is 4096. The coefficient used for the conversion process (for example, the maximum amplitude value of the signals Ha and Hb is 4096, respectively). The divided value is updated at a predetermined timing. For example, the coefficient is updated every certain time.

(仮想信号Hcの算出処理)
算出部51は、想定した第3ホール素子が出力する仮想信号Hcの正規化信号H1cを、第1ホール素子25の正規化信号H1aおよび第2ホール素子26の正規化信号H1bから、次の(1)式に基づいて、算出する。
H1c=(4096×1.5−1)−H1a−H1b …(1)
(Calculation process of virtual signal Hc)
The calculation unit 51 calculates the normalized signal H1c of the virtual signal Hc output from the assumed third Hall element from the normalized signal H1a of the first Hall element 25 and the normalized signal H1b of the second Hall element 26 as follows ( 1) Calculate based on the equation.
H1c = (4096 × 1.5-1) −H1a−H1b (1)

図5は、算出した仮想信号Hcの正規化信号H1cを含む各正規化信号H1a,H1b,H1cの特性線図である。図5の横軸もロータ14の回転位置であり、縦軸は各正規化信号H1a,H1b,H1cの値である。また、図5の実線および破線は図4と同様に正規化信号H1aおよびH1bの第1特性線Naおよび第2特性線Nbを示し、二点鎖線は(1)式によって算出した正規化信号H1cの第3特性線Ncを示す。上記の(1)式は、正規化信号H1a,H1b,H1cの特性線Na,Nb,Ncの各信号波形は120度ずつ位相のずれたsin波形になり、各瞬時値の総和が0になることを想定して、導かれている。(1)式の右辺第1項の(4096×1.5−1)は定数である。なお、本実施形態では、第1ホール素子25の正規化信号H1aおよび第2ホール素子26の正規化信号H1bから仮想信号Hcの正規化信号H1cを算出しているが、正規化する前の信号Ha,Hbから第3ホール素子が出力する仮想信号Hcを算出した後、上記の正規化処理を行うようにしてもよい。   FIG. 5 is a characteristic diagram of the normalized signals H1a, H1b, and H1c including the normalized signal H1c of the calculated virtual signal Hc. The horizontal axis in FIG. 5 is also the rotational position of the rotor 14, and the vertical axis is the value of each normalized signal H1a, H1b, H1c. Further, the solid line and the broken line in FIG. 5 indicate the first characteristic line Na and the second characteristic line Nb of the normalized signals H1a and H1b as in FIG. 4, and the two-dot chain line indicates the normalized signal H1c calculated by the expression (1). The third characteristic line Nc is shown. In the above equation (1), the signal waveforms of the characteristic lines Na, Nb, and Nc of the normalized signals H1a, H1b, and H1c are sin waveforms that are 120 degrees out of phase, and the sum of the instantaneous values is zero. It is guided by assuming that. (4096 × 1.5-1) in the first term on the right side of the equation (1) is a constant. In the present embodiment, the normalized signal H1c of the virtual signal Hc is calculated from the normalized signal H1a of the first Hall element 25 and the normalized signal H1b of the second Hall element 26. However, the signal before normalization is calculated. The normalization process may be performed after the virtual signal Hc output from the third Hall element is calculated from Ha and Hb.

(参照データR)
図6は、回転位置の検出処理に用いる参照データRの元になる参照原データの特性線図であり、ロータ14の1回転分の各特性線Na,Nb,Ncを1つのグラフに表示した図である。同図の横軸は正規化信号H1a,H1b,H1cの値であり、縦軸は、出力部56から出力されるロータ14の回転位置である。キャリブレーション実行部54で参照されるロータ14の回転位置は1回転当たり7200のパルス数で表されるが、出力部56から出力されるロータ14の回転位置は1回転当たり3600のパルス数で表される。各特性線Na,Nb,Ncは図5と同じ線種で示されている。
(Reference data R)
FIG. 6 is a characteristic diagram of the reference original data that is the basis of the reference data R used in the rotational position detection process, and the characteristic lines Na, Nb, and Nc for one rotation of the rotor 14 are displayed in one graph. FIG. The horizontal axis of the figure is the value of the normalized signals H1a, H1b, H1c, and the vertical axis is the rotational position of the rotor 14 output from the output unit 56. The rotational position of the rotor 14 referred to by the calibration execution unit 54 is represented by the number of pulses of 7200 per revolution, while the rotational position of the rotor 14 output from the output unit 56 is represented by the number of pulses of 3600 per revolution. Is done. Each characteristic line Na, Nb, Nc is shown by the same line type as that in FIG.

キャリブレーション実行部54は、モータ1の製造後、出荷前や修理時、メンテナンス時などの各種のタイミングで、参照用のエンコーダを用いてロータ14の回転位置を検出しながら、第1ホール素子25の信号Haおよび第2ホール素子26の信号Hbを検出する、キャリブレーションを実行する。このキャリブレーションにより、各特性線Na,Nbを得て、特性線Ncを算出するために必要なデータを得る。   The calibration execution unit 54 detects the rotational position of the rotor 14 by using a reference encoder at various timings such as before the manufacture of the motor 1, before shipment, at the time of repair, at the time of maintenance, and the like. The calibration for detecting the signal Ha and the signal Hb of the second Hall element 26 is executed. By this calibration, the characteristic lines Na and Nb are obtained, and data necessary for calculating the characteristic line Nc is obtained.

キャリブレーションを実行するときには、モータ1に参照用のエンコーダを装着し、参照用のエンコーダの信号をモータ制御ユニット4に入力するようにモータ1と参照用のエンコーダとを接続する。この状態で、キャリブレーション実行部54は、まず、ロータ14を1回転させる間、参照用のエンコーダを用いてロータ14の回転位置を検出しながら、第1ホール素子25の信号Haを取得して信号Haを正規化し、且つ、第2ホール素子26の信号Hbを取得して信号Hbを正規化する。これにより、図4の横軸が参照回転位置である場合の、第1特性線Naおよび第2特性線Nbが求められる。算出部51はこの第1特性線Naおよび第2特性線Nbのデータから、(1)式を用いて第3特性線Ncを算出する。   When executing the calibration, a reference encoder is attached to the motor 1, and the motor 1 and the reference encoder are connected so as to input a reference encoder signal to the motor control unit 4. In this state, the calibration execution unit 54 first acquires the signal Ha of the first Hall element 25 while detecting the rotational position of the rotor 14 using the reference encoder while rotating the rotor 14 once. The signal Ha is normalized, and the signal Hb of the second Hall element 26 is acquired to normalize the signal Hb. Thus, the first characteristic line Na and the second characteristic line Nb are obtained when the horizontal axis in FIG. 4 is the reference rotation position. The calculation unit 51 calculates the third characteristic line Nc from the data of the first characteristic line Na and the second characteristic line Nb using the equation (1).

3本の特性線Na,Nb,Ncは、第1ホール素子25の正規化信号H1aおよび第2ホール素子26の正規化信号H1b並びに仮想信号の正規化信号H1cの各3信号H1a,H1b,H1cと、ロータ14の回転位置との各対応関係を表す。キャリブレーション実行部54は、この3本の特性線Na,Nb,Ncの、図7に示す特性線図の傾斜範囲Wにおける、各3信号H1a,H1b,H1cとロータ14の回転位置とを対応づけるデータを参照データRとして抜き取り、記憶部52に記憶させる。図7の横軸および縦軸、並びに特性線Na,Nb,Ncを示す線種は図6と同じである。傾斜範囲Wは、3本の特性線Na,Nb,Ncの、図6に示す極大値mおよび極小値n近傍を除いた、変曲点fを挟む各特性線Na,Nb,Ncの交点xを含む範囲である。本実施形態では、傾斜範囲Wの下限ラインL1の信号値は512、上限ラインL2の信号値は3584に設定されている。各交点xは、各特性線Na,Nb,Ncが理想的なsin波形にならないため、定位置にはなく、変動するが、傾斜範囲Wの範囲内に収まっている。   The three characteristic lines Na, Nb, and Nc represent the three signals H1a, H1b, and H1c of the normalized signal H1a of the first Hall element 25, the normalized signal H1b of the second Hall element 26, and the normalized signal H1c of the virtual signal. And the corresponding relationship between the rotational position of the rotor 14. The calibration execution unit 54 correlates each of the three signals H1a, H1b, H1c with the rotational position of the rotor 14 in the inclination range W of the characteristic diagram shown in FIG. 7 of the three characteristic lines Na, Nb, Nc. The data to be attached is extracted as reference data R and stored in the storage unit 52. Line types indicating the horizontal and vertical axes and characteristic lines Na, Nb, and Nc in FIG. 7 are the same as those in FIG. The inclination range W is an intersection x of the characteristic lines Na, Nb, and Nc sandwiching the inflection point f except for the vicinity of the maximum value m and the minimum value n shown in FIG. 6 of the three characteristic lines Na, Nb, and Nc. It is a range including. In the present embodiment, the signal value of the lower limit line L1 of the inclination range W is set to 512, and the signal value of the upper limit line L2 is set to 3584. Since each characteristic line Na, Nb, and Nc does not have an ideal sin waveform, each intersection point x does not have a fixed position but fluctuates, but falls within the range of the inclination range W.

記憶部52に記憶される参照データRは、正規化信号の3信号H1a,H1b,H1cの各値を列、出力回転位置を行とするマトリクステーブルとして記憶される。すなわち、マトリクステーブルは、3列×駆動マグネット24の磁極数(=2n)で構成される。本実施形態では、磁極数が6極であるから、1つの正規化信号値に対して1本の特性線当たりロータ14の1回転毎に6つの回転位置が対応づけられ、3列6行で構成される。   The reference data R stored in the storage unit 52 is stored as a matrix table in which each value of the three signals H1a, H1b, and H1c of the normalized signal is a column and the output rotation position is a row. That is, the matrix table is composed of 3 rows × the number of magnetic poles of the drive magnet 24 (= 2n). In this embodiment, since the number of magnetic poles is six, six rotation positions are associated with one normalized signal value for each rotation of the rotor 14 per characteristic line, and three columns and six rows. Composed.

各特性線Na,Nb,Ncは、ロータ14が1回転する間に、6極の磁極数に応じて、1周期のsin波形を3周期分繰り返す。1回転分の傾斜範囲Wには、図7に示すように、6種類の傾斜特徴を持つ傾斜線A+,A−,B+,B−,C+,C−が各交点xの間に存在する。傾斜線A+,A−は第1特性線Naが作る傾斜線であり、傾斜線A+は正規化信号H1aの値の増加に対して回転位置が進む傾斜特徴1、傾斜線A−は正規化信号H1aの値の増加に対して回転位置が戻る傾斜特徴2を有する。傾斜線B+,B−は第2特性線Nbが作る傾斜線であり、傾斜線B+は正規化信号H1bの値の増加に対して回転位置が進む傾斜特徴3、傾斜線B−は正規化信号H1bの値の増加に対して回転位置が戻る傾斜特徴4を有する。また、傾斜線C+,C−は第3特性線Ncが作る傾斜線であり、傾斜線C+は正規化信号H1cの値の増加に対して回転位置が進む傾斜特徴5、傾斜線C−は正規化信号H1cの値の増加に対して回転位置が戻る傾斜特徴6を有する。   Each characteristic line Na, Nb, and Nc repeats one cycle of the sin waveform for three cycles in accordance with the number of magnetic poles of six poles while the rotor 14 rotates once. In the inclination range W for one rotation, as shown in FIG. 7, inclination lines A +, A−, B +, B−, C +, and C− having six kinds of inclination characteristics exist between the intersection points x. The slope lines A + and A− are slope lines formed by the first characteristic line Na, the slope line A + is the slope feature 1 whose rotational position advances with increasing value of the normalized signal H1a, and the slope line A− is the normalized signal. It has a tilt feature 2 in which the rotational position returns as the value of H1a increases. The slant lines B + and B− are slant lines formed by the second characteristic line Nb, the slant line B + is a slant feature 3 whose rotational position advances with increasing value of the normalization signal H1b, and the slant line B− is a normalization signal. It has an inclination feature 4 in which the rotational position returns as the value of H1b increases. In addition, the inclined lines C + and C− are inclined lines formed by the third characteristic line Nc, the inclined line C + is an inclined feature 5 whose rotational position advances with an increase in the value of the normalization signal H1c, and the inclined line C− is normal. And a tilt feature 6 in which the rotational position returns as the value of the control signal H1c increases.

上記6種類の傾斜線は、ロータ14が1回転する間に3回出現する。したがって、ロータ14が1回転する間には、6×3=18本の傾斜線が存在することになる。6種類の各傾斜線の出現順序は決まっており、図7に示すように、A+,C−,B+,A−,C+,B−の傾斜線の順に出現する。ロータ14が検出対象の回転位置にあるときの傾斜線の種類は、ロータ14が検出対象の回転位置にあるときの正規化信号の3信号H1a,H1b,H1cの大小関係に基づいて、1つに定まる。すなわち、3信号H1a,H1b,H1cの大小関係が、H1b≦H1aかつH1a≦H1cのときには傾斜線A+、H1b≦H1cかつH1c≦H1aのときには傾斜線C−、H1c≦H1bかつH1b≦H1aのときには傾斜線B+、H1c≦H1aかつH1a≦H1bのときには傾斜線A−、H1a≦H1cかつH1c≦H1bのときには傾斜線C+、それ以外のときには傾斜線B−に定まる。したがって、傾斜範囲Wにおける各傾斜線A+,A−,B+,B−,C+,C−は、その傾斜特徴に応じて6本の傾斜線の中から区別される。   The six kinds of inclined lines appear three times during one rotation of the rotor 14. Accordingly, there are 6 × 3 = 18 inclined lines during one rotation of the rotor 14. The order of appearance of each of the six types of inclined lines is determined, and as shown in FIG. 7, they appear in the order of the inclined lines of A +, C−, B +, A−, C +, and B−. The type of the slope line when the rotor 14 is at the rotation position to be detected is one based on the magnitude relationship of the three signals H1a, H1b, and H1c of the normalized signals when the rotor 14 is at the rotation position to be detected. Determined. That is, when the magnitude relationship of the three signals H1a, H1b, and H1c is H1b ≦ H1a and H1a ≦ H1c, the slope line A +, when H1b ≦ H1c and H1c ≦ H1a, the slope line C−, and when H1c ≦ H1b and H1b ≦ H1a The slope line B + is determined to be the slope line A− when H1c ≦ H1a and H1a ≦ H1b, the slope line C + when H1a ≦ H1c and H1c ≦ H1b, and the slope line B− otherwise. Therefore, each inclination line A +, A-, B +, B-, C +, C- in the inclination range W is distinguished from the six inclination lines according to the inclination characteristics.

(回転位置の検出方法)
位置検出部53は、ロータ14が検出対象の回転位置にあるときの3信号H1a,H1b,H1cの相対関係から、検出対象の回転位置を含む特性線範囲(傾斜線)の候補を傾斜範囲Wにおいて定め、定めた1候補について、3信号H1a,H1b,H1cのうちの1信号に対応して参照データRに記憶される回転位置に基づいて、検出対象の回転位置を求める。本実施形態では、位置検出部53は、傾斜範囲Wにおける各傾斜線A+,A−,B+,B−,C+,C−の各傾斜特徴に応じて区別される、ロータ14の1回転分の18本の傾斜線の中から、ロータ14が検出対象の回転位置にあるときの正規化信号の3信号H1a,H1b,H1cの大小関係に基づいて、1つの傾斜特徴を持つ3本の傾斜線を特定し、特定した3本の傾斜線の中の1本の傾斜線に対応する参照データR中のロータ14の回転位置の中から、特定した傾斜線の傾斜特徴を持つ特性線の正規化信号値に対応する回転位置を、検出対象の回転位置の電気角候補として求める。
(Rotation position detection method)
The position detection unit 53 determines a characteristic line range (inclination line) candidate including the rotation position of the detection target from the relative range of the three signals H1a, H1b, and H1c when the rotor 14 is at the detection target rotation position. The rotation position of the detection target is obtained based on the rotation position stored in the reference data R corresponding to one of the three signals H1a, H1b, and H1c. In the present embodiment, the position detection unit 53 is distinguished for each rotation of the rotor 14, which is distinguished according to each inclination characteristic of each inclination line A +, A−, B +, B−, C +, C− in the inclination range W. Of the 18 inclined lines, three inclined lines having one inclination characteristic based on the magnitude relationship of the three signals H1a, H1b, and H1c of the normalized signals when the rotor 14 is at the rotation position to be detected. And normalizing a characteristic line having an inclination characteristic of the specified inclination line from the rotational position of the rotor 14 in the reference data R corresponding to one inclination line among the specified three inclination lines The rotational position corresponding to the signal value is obtained as an electrical angle candidate for the rotational position to be detected.

例えば、位置検出部53が、モータ1の起動時に、ロータ14が検出対象の回転位置にあるときの正規化信号の3信号H1a,H1b,H1cの大小関係に基づいて、ロータ14の1回転分の18本の傾斜線の中から、1つの傾斜特徴1を持つ3本の傾斜線A+を特定した場合を考える。この場合、位置検出部53は、ロータ14の原点位置が判明していないので、暫定で3本の傾斜線A+の中から1本の傾斜線A+を選び、選んだ傾斜線A+に対応する参照データR中のロータ14の回転位置の中から、特定した傾斜線A+の傾斜特徴1を持つ特性線Naの正規化信号値Ha1に対応する回転位置を、ロータ14の初期位置情報とする。初期位置の電気角は、出力回転位置を1200で割った余りとして求まる。選んだ傾斜線A+が本来の傾斜線A+と異なっても、電気角としての誤差は小さいので、ロータ14の原点位置が判明していなくても、ロータ14を回転させるのに支障は無い。   For example, when the motor 1 is started, the position detection unit 53 makes one rotation of the rotor 14 based on the magnitude relationship of the three signals H1a, H1b, and H1c of the normalization signal when the rotor 14 is at the rotation position to be detected. Let us consider a case in which three inclined lines A + having one inclined feature 1 are identified from among the 18 inclined lines. In this case, since the origin position of the rotor 14 is not known, the position detection unit 53 temporarily selects one inclined line A + from the three inclined lines A +, and references corresponding to the selected inclined line A +. Among the rotational positions of the rotor 14 in the data R, the rotational position corresponding to the normalized signal value Ha1 of the characteristic line Na having the slope characteristic 1 of the identified slope line A + is used as the initial position information of the rotor 14. The electrical angle at the initial position is obtained as a remainder obtained by dividing the output rotation position by 1200. Even if the selected inclination line A + is different from the original inclination line A +, since the error as the electrical angle is small, there is no problem in rotating the rotor 14 even if the origin position of the rotor 14 is not known.

(初期原点の設定)
また、モータ制御ユニット4が、ロータ14の回転位置の原点を検出する原点検出部を位置センサとして備える場合、位置センサは、例えば、図8に示すような原点パルスPを出力する。図8における特性線図の横軸および縦軸、並びに符号の意味は図5および図7におけるものと同じである。このような位置センサは、ロータ14の原点位置で生じるロータ14からの反射光もしくは透過光を反射部材や遮光部材などによって検出する光学センサや、ロータ14の原点位置で生じる磁気を検出する磁気センサなどから構成される。位置センサは、ロータ14の1回転分の3本の特性線Na,Nb,Ncにおいて、ロータ14の原点位置に対して所定の回転位置関係になる原点パルスPを位置検出部53へ出力する。本実施形態におけるロータ14の原点位置は、モータ1の起動時に最初に検出される正規化信号H1cの特性線Ncにおけるピーク値に設定され、図8に示す特性線図では、位置センサの原点パルスPのパルス幅に含まれている。
(Initial origin setting)
When the motor control unit 4 includes an origin detection unit that detects the origin of the rotational position of the rotor 14 as a position sensor, the position sensor outputs an origin pulse P as shown in FIG. The horizontal and vertical axes of the characteristic diagram in FIG. 8 and the meanings of the symbols are the same as those in FIGS. 5 and 7. Such a position sensor is an optical sensor that detects reflected light or transmitted light from the rotor 14 generated at the origin position of the rotor 14 by a reflecting member or a light shielding member, or a magnetic sensor that detects magnetism generated at the origin position of the rotor 14. Etc. The position sensor outputs an origin pulse P having a predetermined rotational position relationship with respect to the origin position of the rotor 14 to the position detector 53 on the three characteristic lines Na, Nb, Nc for one rotation of the rotor 14. The origin position of the rotor 14 in the present embodiment is set to the peak value on the characteristic line Nc of the normalized signal H1c detected first when the motor 1 is started. In the characteristic diagram shown in FIG. It is included in the pulse width of P.

位置検出部53は、ロータ14が検出対象の回転位置にあるときの正規化信号の3信号H1a,H1b,H1cの大小関係に基づいて、ロータ14の1回転分の3本の傾斜線の中から1本の傾斜線を選ぶ。そして、選んだ1本の傾斜線に対応して求まる検出対象の回転位置の電気角候補から、位置センサによって検出された原点を基準にして、検出対象の回転位置の絶対角を算出する。例えば、ロータ14の1回転分の3本の傾斜線A+の中から1本の傾斜線A+を位置検出部53が選んだと仮定する。この場合、位置検出部53は、選んだ1本の傾斜線A+に対応する参照データR中における、特定した傾斜線A+の傾斜特徴1を持つ特性線Naの正規化信号値Ha1に対応する回転位置を参照する。そして、参照する回転位置から、原点パルスPに含まれる特性線Ncのピーク値として判明するロータ14の原点位置を基準に、検出対象の回転位置の絶対角を算出する。   Based on the magnitude relationship among the three signals H1a, H1b, and H1c of the normalized signals when the rotor 14 is at the rotation position to be detected, the position detection unit 53 includes three inclined lines for one rotation of the rotor 14. Choose one slope from Then, the absolute angle of the rotational position of the detection target is calculated from the electrical angle candidate of the rotational position of the detection target obtained corresponding to the selected single inclined line with reference to the origin detected by the position sensor. For example, it is assumed that the position detecting unit 53 selects one inclined line A + from three inclined lines A + for one rotation of the rotor 14. In this case, the position detection unit 53 rotates the rotation corresponding to the normalized signal value Ha1 of the characteristic line Na having the inclination feature 1 of the specified inclination line A + in the reference data R corresponding to the selected one inclination line A +. Refer to the position. Then, the absolute angle of the rotation position to be detected is calculated based on the origin position of the rotor 14 that is known as the peak value of the characteristic line Nc included in the origin pulse P from the reference rotation position.

(追従処理)
算出部51は、ロータ14の回転時に所定時間毎に第1ホール素子25の正規化信号H1aおよび第2ホール素子26の正規化信号H1bから仮想正規化信号H1cを算出する。位置検出部53は、所定時間毎に3信号H1a,H1b,H1cの大小関係に基づいて検出対象の回転位置の電気角候補を随時求める。本実施形態では、所定時間は、ロータ14の回転速度をN[rpm]、駆動マグネット24の磁極数を2n(=6)としたときに、60/(N×2n×3)=10/3N[sec]以下に設定される。位置検出部53は、検出対象の回転位置を求めた前回と正規化信号の3信号H1a,H1b,H1cの大小関係が同じであれば、前回と同じ1本の傾斜線を特定する。また、3信号H1a,H1b,H1cの大小関係が異なれば、前回特定した1本の傾斜線に隣接する1本の傾斜線を特定する。例えば、前回に傾斜線A+が特定されており、今回求めた3信号H1a,H1b,H1cの大小関係が前回と同じであれば、前回と同じ傾斜線A+を特定する。また、今回求めた3信号H1a,H1b,H1cの大小関係が前回と異なれば、前回特定した傾斜線A+に隣接する傾斜線C−を特定する。
(Follow-up processing)
The calculation unit 51 calculates a virtual normalization signal H1c from the normalization signal H1a of the first Hall element 25 and the normalization signal H1b of the second Hall element 26 every predetermined time when the rotor 14 rotates. The position detection unit 53 obtains electrical angle candidates for the rotational position of the detection target as needed based on the magnitude relationship between the three signals H1a, H1b, and H1c every predetermined time. In the present embodiment, when the rotational speed of the rotor 14 is N [rpm] and the number of magnetic poles of the drive magnet 24 is 2n (= 6), the predetermined time is 60 / (N × 2n × 3) = 10 / 3N. [sec] or less is set. If the magnitude relationship between the three signals H1a, H1b, and H1c of the normalization signal is the same as the previous time when the rotation position of the detection target is obtained, the position detection unit 53 identifies the same single inclined line as the previous time. In addition, if the magnitude relationships of the three signals H1a, H1b, and H1c are different, one inclined line adjacent to the previously specified one inclined line is specified. For example, if the inclination line A + has been specified last time and the magnitude relationship of the three signals H1a, H1b, and H1c obtained this time is the same as the previous time, the same inclination line A + as the previous time is specified. In addition, if the magnitude relationship of the three signals H1a, H1b, and H1c obtained this time is different from the previous time, the slope line C− adjacent to the slope line A + specified last time is specified.

(作用効果)
このような本実施形態によるモータ1によれば、2つのホール素子25,26から、ロータ14の回転位置に応じて変化する2信号H1a,H1bを得、得た2信号H1a,H1bから、第1ホール素子25および第2ホール素子26とさらに異なる角度位置で駆動マグネット24に対向する仮想の第3ホール素子が出力する仮想信号H1cを、算出部51で算出することができる。そして、これら3信号H1a,H1b,H1cとロータ14の回転位置との各対応関係を表す3本の特性線Na,Nb,Ncの傾斜範囲Wにおいて、ロータ14が検出対象の回転位置にあるときの3信号H1a,H1b,H1cの相対関係から定まる、検出対象の回転位置を含む特性線範囲(傾斜線)の1候補に基づいて、ロータ14の回転位置を求めることができる。従って、回転位置検出用のマグネットや光学式エンコーダなどを用いることなく、モータ1に2つのホール素子25,26を追加するだけでロータ14の回転位置を検出できる。よって、モータ1の小型化および低コスト化を図ることができる。
(Function and effect)
According to the motor 1 according to this embodiment, the two signals H1a and H1b that change according to the rotational position of the rotor 14 are obtained from the two Hall elements 25 and 26, and the obtained second signals H1a and H1b The calculation unit 51 can calculate a virtual signal H1c output from a virtual third Hall element facing the drive magnet 24 at a different angular position from the 1 Hall element 25 and the second Hall element 26. When the rotor 14 is at the rotation position to be detected in the inclination range W of the three characteristic lines Na, Nb, and Nc representing the corresponding relationship between the three signals H1a, H1b, and H1c and the rotation position of the rotor 14. The rotational position of the rotor 14 can be obtained based on one candidate of the characteristic line range (inclined line) including the rotational position of the detection target, which is determined from the relative relationship of the three signals H1a, H1b, and H1c. Therefore, the rotational position of the rotor 14 can be detected simply by adding the two Hall elements 25 and 26 to the motor 1 without using a rotational position detection magnet or an optical encoder. Therefore, the motor 1 can be reduced in size and cost.

また、記憶部52に記憶する参照データRは、図6に示す、3本の特性線Na,Nb,Ncの、極大値mおよび極小値n近傍を除いた、変曲点fを挟む各特性線Na,Nb,Ncの交点xを含む傾斜範囲W(図7参照)に限定される。このため、3本の特性線Na,Nb,Ncの全範囲を参照データRとして記憶する場合に比較して、参照データRのデータ量を抑制して、記憶部52の記憶容量を小さくすることが出来る。したがって、高い処理能力を必要としない安価な演算処理装置を用いて、位置検出部53を構成することが出来る。また、予め、モータ1毎に作成した参照データRを用いて回転位置を求めるので、また、特性線Na,Nb,Ncの極大値mおよび極小値n近傍における信号値変化が大きくて回転位置判定精度が低く、誤判定が起こりやすいデータを用いないので、簡単なアルゴリズムで、精度良く回転位置を検出できる。   Further, the reference data R stored in the storage unit 52 includes each characteristic sandwiching the inflection point f except for the local maximum value m and the local minimum value n of the three characteristic lines Na, Nb, and Nc shown in FIG. It is limited to the inclination range W (see FIG. 7) including the intersection point x of the lines Na, Nb, and Nc. Therefore, compared with the case where the entire range of the three characteristic lines Na, Nb, and Nc is stored as the reference data R, the data amount of the reference data R is suppressed and the storage capacity of the storage unit 52 is reduced. I can do it. Therefore, the position detector 53 can be configured using an inexpensive arithmetic processing device that does not require high processing capability. In addition, since the rotational position is obtained in advance using the reference data R created for each motor 1, the signal position change in the vicinity of the maximum value m and the minimum value n of the characteristic lines Na, Nb, and Nc is large, and the rotational position is determined. Since the accuracy is low and data that is likely to be erroneously detected is not used, the rotational position can be detected with high accuracy by a simple algorithm.

また、本実施形態によるモータ1によれば、ロータ14が検出対象の回転位置にあるときの3信号H1a,H1b,H1cの相対関係は、ロータ14が検出対象の回転位置にあるときの3信号H1a,H1b,H1cの大小関係から認識される。そして、この3信号H1a,H1b,H1cの大小関係に基づいて、傾斜範囲Wにおけるロータ14の1回転分の18本の傾斜線の中から、1つの傾斜特徴を持つ3本の傾斜線を特定し、その中の1本の傾斜線に対応する参照データRを参照することで、簡単に、検出対象の回転位置の電気角候補を求めることができる。検出対象の回転位置の絶対角が分からなくても、電気角候補が分かることで、通電制御を行うフィードバック制御部55は、ロータ14に対する駆動制御を行うことが可能になり、ロータ14を回転駆動させられる。   Further, according to the motor 1 of the present embodiment, the relative relationship between the three signals H1a, H1b, and H1c when the rotor 14 is at the detection target rotational position is the three signals when the rotor 14 is at the detection target rotational position. It is recognized from the magnitude relationship of H1a, H1b, and H1c. Based on the magnitude relationship between the three signals H1a, H1b, and H1c, three inclination lines having one inclination characteristic are identified from 18 inclination lines for one rotation of the rotor 14 in the inclination range W. Then, by referring to the reference data R corresponding to one of the inclined lines, the electrical angle candidate for the rotation position to be detected can be easily obtained. Even if the absolute angle of the rotational position of the detection target is not known, the feedback angle control unit 55 that performs energization control can perform drive control on the rotor 14 by knowing the electrical angle candidate, and the rotor 14 is rotationally driven. Be made.

また、本実施形態によるモータ1によれば、位置検出部53が、所定時間毎に3信号H1a,H1b,H1cの大小関係に基づいて検出対象の回転位置の電気角候補を随時求めるので、通電制御を行うフィードバック制御部55は、随時求まる検出対象の回転位置の電気角候補に基づいて、ロータ14の動きに追従してロータ14の回転駆動を継続させることができる。   Further, according to the motor 1 according to the present embodiment, the position detection unit 53 obtains electrical angle candidates for the rotation position to be detected based on the magnitude relationship between the three signals H1a, H1b, and H1c every predetermined time. The feedback control unit 55 that performs the control can continue the rotational drive of the rotor 14 following the movement of the rotor 14 based on the electrical angle candidate of the rotational position to be detected that is obtained as needed.

また、本実施形態によるモータ1によれば、検出対象の回転位置の電気角候補を10/3N[sec]以下の所定時間毎に求めることで、特定すべき1本の傾斜線の選択候補は、ロータ14が1本の傾斜線を描く回転範囲にある傾斜線に限定される。したがって、少ない選択候補から1本の傾斜線を特定することができるので、1本の傾斜線を特定する処理は簡単になる。このため、検出対象の回転位置の電気角候補を求める処理負荷が軽くなって、ロータ14のより速い回転に追従してロータ14の高速回転駆動を継続させることが可能になる。   Further, according to the motor 1 according to the present embodiment, by selecting electrical angle candidates for the rotational position to be detected at predetermined time intervals of 10/3 N [sec] or less, the selection candidate for one inclined line to be identified is The rotor 14 is limited to an inclined line in a rotation range that draws one inclined line. Therefore, since one inclined line can be specified from a small selection candidate, the process of specifying one inclined line is simplified. For this reason, the processing load for obtaining the electrical angle candidate of the rotation position to be detected is reduced, and it is possible to continue the high-speed rotation drive of the rotor 14 following the faster rotation of the rotor 14.

また、本実施形態によるモータ1によれば、出力部56から外部機器へ検出対象の回転位置が出力されるので、モータ1の上位装置7はその意図する制御を正確に行うことができる。   Further, according to the motor 1 according to the present embodiment, since the rotation position to be detected is output from the output unit 56 to the external device, the host device 7 of the motor 1 can accurately perform the intended control.

また、本実施形態によるモータ1によれば、原点検出部によって検出された原点の位置を基準にして、求めた電気角候補から、検出対象の回転位置の絶対角が算出される。このため、通電制御を行うフィードバック制御部55は、ロータ14に対する駆動制御を正確に行え、最適なモータ制御を実行することが可能になる。   Further, according to the motor 1 of the present embodiment, the absolute angle of the rotation position to be detected is calculated from the obtained electrical angle candidates with reference to the position of the origin detected by the origin detection unit. Therefore, the feedback control unit 55 that performs energization control can accurately perform drive control on the rotor 14 and can perform optimal motor control.

また、本実施形態によるモータ1によれば、位置センサが位置検出部53へ出力する原点パルスP(図8参照)により、位置検出部53はロータ14の原点位置を把握することができる。このため、位置検出部53は、原点位置を検出するための計算処理を行う必要が無いので、計算負荷が軽減される。   Further, according to the motor 1 according to the present embodiment, the position detection unit 53 can grasp the origin position of the rotor 14 by the origin pulse P (see FIG. 8) output from the position sensor to the position detection unit 53. For this reason, the position detection unit 53 does not need to perform a calculation process for detecting the origin position, so the calculation load is reduced.

(変形例1)
位置センサは、駆動マグネット24の磁極数を2n、任意の数値をαとしたときに(360/n)−α度分の幅の機械角で、本実施形態では120−α度分の幅の機械角で、ロータ14の原点位置を含む原点パルスPを出力するように構成することもできる。本構成によれば、ロータ14の回転前に原点パルスPが位置センサから出力されていてハイレベルであれば、その原点パルスPのパルス幅である120−α度のハイレベルの範囲内に原点があることを判断できるので、ロータ14を回転させることなく、位置検出部53はロータ14の原点位置を検出することができる。また、ロータ14の回転前に原点パルスPが位置センサから出力されておらず、ローレベルであれば、240+α(=360−(360/n)+α)度分ロータ14を回転することで、原点パルスPが位置センサから出力されるので、ロータ14が1回転する前に、位置検出部53はロータ14の原点位置を検出することができる。
(Modification 1)
The position sensor has a mechanical angle with a width of (360 / n) -α degrees when the number of magnetic poles of the drive magnet 24 is 2n and an arbitrary numerical value is α. In this embodiment, the position sensor has a width of 120-α degrees. The origin pulse P including the origin position of the rotor 14 may be output at a mechanical angle. According to this configuration, if the origin pulse P is output from the position sensor before the rotation of the rotor 14 and is at a high level, the origin is within the high level range of 120-α degrees that is the pulse width of the origin pulse P. Therefore, the position detector 53 can detect the origin position of the rotor 14 without rotating the rotor 14. In addition, if the origin pulse P is not output from the position sensor before the rotor 14 is rotated and is at a low level, the origin is obtained by rotating the rotor 14 by 240 + α (= 360− (360 / n) + α). Since the pulse P is output from the position sensor, the position detection unit 53 can detect the origin position of the rotor 14 before the rotor 14 makes one rotation.

なお、原点パルスPは、ロータ14の原点位置を含むタイミングに出力が立ち上がってハイレベルになる正論理、ロータ14の原点位置を含むタイミングに出力が立ち下がってローレベルになる負論理のいずれの論理で出力されてもよい。上記の説明は、原点パルスPが正論理で出力される場合である。原点パルスPが負論理で出力される場合、ロータ14の回転前に原点パルスPが立ち下がってローレベルであれば、その原点パルスPのパルス幅である120−α度のローレベルの範囲内に原点があることを判断できるので、ロータ14を回転させることなく、位置検出部53はロータ14の原点位置を検出することができる。また、ロータ14の回転前に原点パルスPが立ち上がってハイレベルであれば、その原点パルスPのハイレベルの範囲外に原点があることを判断でき、240+α度分ロータ14を回転することで、ローレベルの原点パルスPが位置センサから出力されるので、ロータ14が1回転する前に、位置検出部53はロータ14の原点位置を検出することができる。   The origin pulse P is either positive logic whose output rises at a timing including the origin position of the rotor 14 and becomes high level, or negative logic whose output falls at a timing including the origin position of the rotor 14 and becomes low level. It may be output in logic. The above description is a case where the origin pulse P is output in positive logic. When the origin pulse P is output with negative logic, if the origin pulse P falls and is at a low level before the rotation of the rotor 14, the pulse width of the origin pulse P is within a low level range of 120-α degrees. Therefore, the position detector 53 can detect the origin position of the rotor 14 without rotating the rotor 14. If the origin pulse P rises and is at a high level before the rotation of the rotor 14, it can be determined that the origin is outside the high level range of the origin pulse P, and by rotating the rotor 14 by 240 + α degrees, Since the low-level origin pulse P is output from the position sensor, the position detector 53 can detect the origin position of the rotor 14 before the rotor 14 makes one revolution.

(変形例2)
上記の実施形態では、原点検出部を位置センサから構成した場合について説明したが、位置センサを用いずに次のように構成することで、ロータ14の原点位置を検出することもできる。
(Modification 2)
In the above embodiment, the case where the origin detection unit is configured from a position sensor has been described. However, the origin position of the rotor 14 can also be detected by configuring as follows without using the position sensor.

本構成における記憶部52は、ロータ14の1回転分の3本の特性線Na,Nb,Ncにおける交点xの正規化信号値xaを、交点xが現れる順にリファレンステーブルに参照値Raとして記憶する。さらに、記憶部52は、ロータ14の原点位置にある交点xの正規化信号値xaを参照値Raとして記憶する。図9は、記憶部52に記憶される、ロータ14の1回転分の交点xの参照値Raを示す棒グラフである。同グラフの横軸は交点xの標本数、縦軸はリファレンステーブルに記憶される交点xの参照値Raである。   The storage unit 52 in this configuration stores the normalized signal value xa of the intersection point x at the three characteristic lines Na, Nb, and Nc for one rotation of the rotor 14 in the reference table as the reference value Ra in the order in which the intersection point x appears. . Further, the storage unit 52 stores the normalized signal value xa of the intersection point x at the origin position of the rotor 14 as a reference value Ra. FIG. 9 is a bar graph showing the reference value Ra of the intersection point x for one rotation of the rotor 14 stored in the storage unit 52. The horizontal axis of the graph is the number of samples at the intersection x, and the vertical axis is the reference value Ra of the intersection x stored in the reference table.

同グラフにおける交点xの参照値Raは、ロータ14の回転に連れて交点xが現れる順に並んでいる。例えば、図8に示す特性線図において説明すると、1番目の標本数の標本は傾斜線B−と傾斜線A+との交点x1の参照値Ra1、2番目の標本数の標本は傾斜線A+と傾斜線C−との交点x2の参照値Ra2、3番目の標本数の標本は傾斜線C−と傾斜線B+との交点x3の参照値Ra3、4番目の標本数の標本は傾斜線B+と傾斜線A−との交点x4の参照値Ra4、5番目の標本数の標本は傾斜線A−と傾斜線C+との交点x5の参照値Ra5、6番目の標本数の標本は傾斜線C+と傾斜線B−との交点x6の参照値Ra6である。以後、同様に、6標本毎に、7番目〜12番目の交点x7〜交点x12の参照値Ra7〜Ra12、13番目〜18番目の交点x13〜交点x18の参照値Ra13〜Ra18が順番に、リファレンステーブルに記憶される。   The reference values Ra of the intersection points x in the graph are arranged in the order in which the intersection points x appear as the rotor 14 rotates. For example, referring to the characteristic diagram shown in FIG. 8, the first sample number sample is the reference value Ra of the intersection x1 between the inclined line B- and the inclined line A +, and the second sample number sample is the inclined line A +. Reference value Ra2 at the intersection point x2 with the slope line C-, the third sample number sample is the reference value Ra3 at the intersection point x3 between the slope line C- and the slope line B +, and the fourth sample number sample is the slope line B +. The reference value Ra4 at the intersection x4 with the slope line A-, the fifth sample number sample is the reference value Ra5 at the intersection x5 between the slope line A- and the slope line C +, and the sixth sample number sample is the slope line C +. This is the reference value Ra6 of the intersection point x6 with the inclined line B-. Thereafter, similarly, for every six samples, the reference values Ra7 to Ra12 of the seventh to twelfth intersection x7 to the intersection x12 and the reference values Ra13 to Ra18 of the thirteenth to eighteenth intersection x13 to the intersection x18 are sequentially referenced. Stored in a table.

位置検出部53は、モータ1の起動時に計測される3信号H1a,H1b,H1cから定まる1本の傾斜線を起動時傾斜線として特定し、起動時傾斜線の端部にある交点xから連続する所定標本数の交点xの信号値xaの列を元値列として算出する。例えば、起動時傾斜線が傾斜線B−である場合には、起動時傾斜線B−の端部にある交点x1から連続する2つの標本数の交点xの信号値列(xa1,xa2)を元値列として算出する。   The position detection unit 53 identifies one slope line determined from the three signals H1a, H1b, and H1c measured when the motor 1 is started up as the start-up slope line, and continues from the intersection x at the end of the start-up slope line. A sequence of signal values xa at intersections x of a predetermined number of samples to be calculated is calculated as an original sequence. For example, when the startup slope line is the slope line B-, the signal value sequence (xa1, xa2) of the intersection point x of two samples continuous from the intersection point x1 at the end of the startup slope line B- is obtained. Calculated as original value sequence.

次に、位置検出部53は、リファレンステーブルに記憶されたロータ14の1回転分の回転範囲における交点xの参照値Raを参照して、元値列の標本数と同じ数の交点xの信号値Raの列を参照値列として、リファレンステーブルから3組取り出す。参照値列は、起動時傾斜線が持つ傾斜特徴と同じ傾斜特徴を持つ傾斜線の端部にある交点xの参照値Raを、先頭に有する。例えば、起動時傾斜線が傾斜線B−である上記の場合には、元値列の標本数と同じ2つの交点xの信号値列(Ra1,Ra2)、(Ra7,Ra8)、(Ra13,Ra14)を参照値列として、リファレンステーブルから3組取り出す。これらの参照値列は、起動時傾斜線B−が持つ傾斜特徴4と同じ傾斜特徴4を持つ傾斜線B−の端部にある交点x1,x7,x13の参照値Ra1,Ra7,Ra13を、先頭に有する。   Next, the position detection unit 53 refers to the reference value Ra of the intersection point x in the rotation range of one rotation of the rotor 14 stored in the reference table, and signals of the intersection point x as many as the number of samples in the original value sequence. Three sets of values Ra are taken out from the reference table as reference value columns. The reference value column has the reference value Ra of the intersection point x at the end of the slope line having the same slope characteristic as that of the startup slope line at the head. For example, in the above-described case where the startup slope line is the slope line B-, the signal value sequences (Ra1, Ra2), (Ra7, Ra8), (Ra13, Three sets of Ra14) are taken out from the reference table as a reference value string. These reference value columns include reference values Ra1, Ra7, Ra13 of intersection points x1, x7, x13 at the end of the slope line B- having the same slope characteristic 4 as the slope characteristic 4 of the startup slope line B-, Have at the beginning.

次に、位置検出部53は、取り出した各参照値列と元値列との各間における相関係数の値を算出する。例えば、起動時傾斜線が傾斜線B−である上記の場合には、取り出した各参照値列(Ra1,Ra2)、(Ra7,Ra8)、(Ra13,Ra14)と、元値列(xa1,xa2)との各間における相関係数ρの値を算出する。相関係数ρは2組の対応するデータの間の関係を表す数値であり、共分散を規格化したものである。相関係数ρは−1から+1の間の数値をとり、+1の時は完全相関となって2つのデータ群に強い関連性が存在する。一方、0の時は無相関となり、2つのデータ群に関連性がないと判断される。相関係数ρは共分散を2組のデータ群の各標準偏差の積で割ったものであり、その演算には分散の平方根を求める必要がある。   Next, the position detection unit 53 calculates the value of the correlation coefficient between each extracted reference value sequence and original value sequence. For example, in the above case where the startup inclination line is the inclination line B-, the extracted reference value sequences (Ra1, Ra2), (Ra7, Ra8), (Ra13, Ra14) and the original value sequence (xa1, The value of the correlation coefficient ρ between xa2) and each is calculated. The correlation coefficient ρ is a numerical value representing the relationship between two sets of corresponding data, and is a standardized covariance. The correlation coefficient ρ takes a numerical value between −1 and +1. When the correlation coefficient ρ is +1, there is a complete correlation and there is a strong relationship between the two data groups. On the other hand, when 0, there is no correlation and it is determined that the two data groups are not related. The correlation coefficient ρ is obtained by dividing the covariance by the product of the standard deviations of the two sets of data groups. For the calculation, the square root of the variance needs to be obtained.

位置検出部53は、算出した相関係数の各値の中で最大値をとる相関係数ρの値と、最大値に次ぐ大きさの相関係数ρの値との間の差を、算出する。そして、最大値の相関係数値と最大値に次ぐ大きさの相関係数値との間の差が所定値以上になるまで、交点xの標本数を1つずつ増やしながら、各参照値列と元値列との間の相関係数値を算出する。例えば、2つの標本数の交点xについての各参照値列(Ra1,Ra2)、(Ra7,Ra8)、(Ra13,Ra14)と、元値列(xa1,xa2)との各間における相関で、上記の差が所定値以上でなかった場合には、3つの標本数の交点xについての各参照値列(Ra1,Ra2,Ra3)、(Ra7,Ra8,Ra9)、(Ra13,Ra14,Ra15)と、元値列(xa1,xa2,xa3)との各間における相関をとる。これらの相関でも上記の差が所定値以上でなかった場合には、4つの標本数の交点xについての各参照値列(Ra1,Ra2,Ra3,Ra4)、(Ra7,Ra8,Ra9,Ra10)、(Ra13,Ra14,Ra15,Ra16)と、元値列(xa1,xa2,xa3,xa4)との各間における相関をとる。   The position detection unit 53 calculates the difference between the value of the correlation coefficient ρ that takes the maximum value among the calculated values of the correlation coefficient and the value of the correlation coefficient ρ that is the second largest after the maximum value. To do. Then, while increasing the number of samples of the intersection x by one until the difference between the correlation coefficient value of the maximum value and the correlation coefficient value of the magnitude next to the maximum value is equal to or greater than a predetermined value, A correlation coefficient value between the value strings is calculated. For example, the correlation between each reference value sequence (Ra1, Ra2), (Ra7, Ra8), (Ra13, Ra14) and the original value sequence (xa1, xa2) for the intersection x of two samples is If the difference is not greater than or equal to the predetermined value, the reference value sequences (Ra1, Ra2, Ra3), (Ra7, Ra8, Ra9), (Ra13, Ra14, Ra15) for the intersection x of the three sample numbers And the original value sequence (xa1, xa2, xa3). Even in these correlations, when the above difference is not greater than or equal to the predetermined value, the reference value sequences (Ra1, Ra2, Ra3, Ra4), (Ra7, Ra8, Ra9, Ra10) for the intersection x of the four sample numbers. , (Ra13, Ra14, Ra15, Ra16) and the original value sequence (xa1, xa2, xa3, xa4).

図10(a)は、このようにして算出された交点xの標本数と相関係数ρとの関係を示すグラフであり、同グラフの横軸は交点xの標本数、縦軸は相関係数ρの値である。また、菱形のプロットで示される特性線61は参照値列(Ra1,Ra2,…)と元値列(xa1,xa2,…)との間における相関関係、正方形のプロットで示される特性線62は参照値列(Ra7,Ra8,…)と元値列(xa1,xa2,…)との間における相関関係、三角形のプロットで示される特性線63は参照値列(Ra13,Ra14,…)と元値列(xa1,xa2,…)との間における相関関係を表す。   FIG. 10A is a graph showing the relationship between the number of samples at the intersection x calculated in this way and the correlation coefficient ρ. The horizontal axis of the graph is the number of samples at the intersection x, and the vertical axis is the correlation. The value of the number ρ. A characteristic line 61 indicated by a rhombus plot is a correlation between the reference value sequence (Ra1, Ra2,...) And the original value sequence (xa1, xa2,...), And a characteristic line 62 indicated by a square plot is The correlation between the reference value sequence (Ra7, Ra8,...) And the original value sequence (xa1, xa2,...), The characteristic line 63 indicated by the triangular plot is the reference value sequence (Ra13, Ra14,...) This represents the correlation between the value strings (xa1, xa2,...).

位置検出部53は、上記の差が所定値以上になる最大値の相関係数値を算出させる参照値列を特定する。そして、特定した参照値列の先頭にある交点xの正規化信号値が端部にある検出傾斜線に、モータ1の起動持における検出対象の回転位置があると判断し、検出傾斜線を基にして、記憶部52に記憶されたロータ14の原点位置を特定する。例えば、図10(a)に示すグラフにおいては、特性線61の参照値列(Ra1,Ra2,…)が、差が所定値以上になる最大値の相関係数値を算出させるものと特定される。そして、特定された参照値列(Ra1,Ra2,…)の先頭にある交点x1の正規化信号値xa1が端部にある検出傾斜線B−に、モータ1の起動持における検出対象の回転位置があると判断される。この場合、位置検出部53は、検出傾斜線B−を基にして求まる検出対象の回転位置の電気角候補から、記憶部52に記憶されたロータ14の原点位置を基準にして、検出対象の回転位置の絶対角を算出する。   The position detection unit 53 specifies a reference value sequence for calculating the maximum correlation coefficient value at which the above difference is equal to or greater than a predetermined value. Then, it is determined that the detected inclination line at the end of the normalized signal value of the intersection point x at the head of the identified reference value sequence has the rotation position to be detected when the motor 1 is activated, and the detected inclination line is used as a basis. Thus, the origin position of the rotor 14 stored in the storage unit 52 is specified. For example, in the graph shown in FIG. 10A, the reference value string (Ra1, Ra2,...) Of the characteristic line 61 is specified to calculate the maximum correlation coefficient value that makes the difference equal to or greater than a predetermined value. . Then, the rotation position of the detection target when the motor 1 is started is shown on the detection slope line B- at the end of the normalized signal value xa1 of the intersection x1 at the head of the identified reference value sequence (Ra1, Ra2,...). It is judged that there is. In this case, the position detection unit 53 uses the electrical angle candidate of the rotation position of the detection target obtained based on the detection inclination line B−, based on the origin position of the rotor 14 stored in the storage unit 52, as a detection target. Calculate the absolute angle of the rotational position.

このような構成によれば、モータ1の起動時に特定される起動時傾斜線の端部にある交点xから連続する所定標本数の元値列(xa1,xa2,…)と、リファレンステーブルから取り出される、元値列(xa1,xa2,…)の標本数と同じ数の3組の参照値列(Ra1,Ra2,…)、(Ra7,Ra8,…)、(Ra13,Ra14,…)との間で、相関係数値が計算されることで、元値列と参照値列とのパターンマッチングがとられる。これら3組の参照値列は、起動時傾斜線、例えば、起動時傾斜線B−が持つ傾斜特徴4と同じ傾斜特徴4を持つ傾斜線B−の端部にある交点xの信号値を、先頭に有する。このパターンマッチングでは、最大値に次ぐ大きさの相関係数値との間の差が所定値以上になる最大値の相関係数値を算出させる参照値列、例えば、参照値列(Ra1,Ra2,…)が、元値列(xa1,xa2,…)とパターンが一致すると判断される。そして、この参照値列(Ra1,Ra2,…)の先頭にある交点x1の正規化信号値xa1が端部にある検出傾斜線B−に、モータ1の起動持における検出対象の回転位置があると判断される。検出対象の回転位置の絶対角は、検出傾斜線B−を基にして求まる検出対象の回転位置の電気角候補から、記憶部52に記憶されたロータ14の原点位置を基準にして算出される。このため、原点検出部を用いることなく、ハードウエア構成を簡略化して安価に、ロータ14の回転位置の絶対角を算出することが可能な、インクリメントエンコーダを構成できる。   According to such a configuration, the original value sequence (xa1, xa2,...) Having a predetermined number of samples continuous from the intersection point x at the end of the starting slope line specified when the motor 1 is started and the reference table are taken out. The three reference value sequences (Ra1, Ra2,...), (Ra7, Ra8,...), (Ra13, Ra14,...), The same number as the number of samples in the original value sequence (xa1, xa2,. By calculating the correlation coefficient value between them, pattern matching between the original value sequence and the reference value sequence is performed. These three sets of reference value sequences include the signal value of the intersection point x at the end of the slope line B- having the same slope characteristic 4 as the slope line 4 at startup, for example, the slope characteristic 4 of the slope line B- at startup. Have at the beginning. In this pattern matching, a reference value sequence (Ra1, Ra2,..., For example) that calculates a maximum correlation coefficient value that makes a difference between a correlation coefficient value next to the maximum value a predetermined value or more. ) Is determined to match the pattern with the original value sequence (xa1, xa2,...). Then, the detected inclination line B- at the end of the normalized signal value xa1 of the intersection x1 at the head of the reference value sequence (Ra1, Ra2,...) Has a rotation position of the detection target when the motor 1 is started. It is judged. The absolute angle of the rotation position of the detection target is calculated based on the origin position of the rotor 14 stored in the storage unit 52 from the electrical angle candidate of the rotation position of the detection target obtained based on the detection inclination line B−. . Therefore, it is possible to configure an increment encoder that can calculate the absolute angle of the rotational position of the rotor 14 at a low cost by simplifying the hardware configuration without using an origin detection unit.

図10(b)は、上記の相関係数値に代えて相関係数値の二乗値を決定係数として用いて算出される、交点xの標本数と決定係数との関係を示すグラフである。同グラフは縦軸だけが同図(a)と相違する。本構成によれば、相関係数値の二乗値を決定係数として用いるので、相関係数値を算出するのに必要とされる平方根を開く算出処理が不要になる。このため、位置検出部53の計算負荷を減らすことができる。また、元値列と参照値列とのパターンが一致したか否かの判断の基になる差の値を大きくすることができる。例えば、相関係数ρの値0.98を使って値1との差を判定する場合と、その二乗値0.96を決定係数の値に使って値1との差を判定する場合とでは、決定係数の値を使う後者の方が値1との差を大きくとることができる。このため、相関係数値の二乗値を決定係数として用いる本構成によれば、パターンマッチングの誤認判定を抑制することができる。   FIG. 10B is a graph showing the relationship between the number of samples at the intersection point x and the determination coefficient calculated using the square value of the correlation coefficient value as the determination coefficient instead of the correlation coefficient value. The graph is different from FIG. According to this configuration, since the square value of the correlation coefficient value is used as the determination coefficient, a calculation process for opening the square root required for calculating the correlation coefficient value is not necessary. For this reason, the calculation load of the position detection part 53 can be reduced. In addition, it is possible to increase a difference value that is a basis for determining whether or not the patterns of the original value sequence and the reference value sequence match. For example, in the case of determining the difference from the value 1 using the value 0.98 of the correlation coefficient ρ and in the case of determining the difference from the value 1 using the square value 0.96 as the value of the determination coefficient The latter using the value of the determination coefficient can take a larger difference from the value 1. For this reason, according to the present configuration in which the square value of the correlation coefficient value is used as the determination coefficient, it is possible to suppress erroneous recognition of pattern matching.

なお、上記の実施形態および変形例では、駆動マグネット24が6極着磁されている場合について説明したが、6極着磁以外の例えば4極着磁や、8極着磁等されている場合においても、上記の実施形態および変形例と同様な作用効果が奏される。   In the above-described embodiment and modification, the case where the drive magnet 24 is magnetized with 6 poles has been described. However, when the drive magnet 24 is magnetized, for example, with 4 poles or 8 poles other than 6 poles. In this case, the same operational effects as those of the above-described embodiment and the modification can be obtained.

1…モータ
2…回路基板
2a…表面
2b…裏面
3…モータ本体
4…モータ制御ユニット
7…上位装置
8…電源回路
11…固定孔
12…ステータ
13…出力軸
14…ロータ
15…スリーブ
16…ベアリング
18…ステータコア
19…駆動コイル
21…底板部
22…環状板部
23…ロータケース
24…駆動マグネット
25…第1ホール素子
26…第2ホール素子
41…コントロールユニット
42u、42v、43w…ドライバ回路
43、44…差動アンプ回路
50…正規化処理部
51…算出部
52…記憶部
53…位置検出部
54…キャリブレーション実行部
55…フィードバック制御部
56…出力部
Na,Nb,Nc…特性線
m…極大値
n…極小値
f…変曲点
x…交点
W…傾斜範囲
A+,A−,B+,B−,C+,C−…傾斜線
H1a,H1b…正規化信号
H1c…仮想正規化信号
Ha…第1ホール素子の信号
Hb…第2ホール素子の信号
DESCRIPTION OF SYMBOLS 1 ... Motor 2 ... Circuit board 2a ... Front surface 2b ... Back surface 3 ... Motor main body 4 ... Motor control unit 7 ... Host device 8 ... Power supply circuit 11 ... Fixed hole 12 ... Stator 13 ... Output shaft 14 ... Rotor 15 ... Sleeve 16 ... Bearing DESCRIPTION OF SYMBOLS 18 ... Stator core 19 ... Drive coil 21 ... Bottom plate part 22 ... Ring plate part 23 ... Rotor case 24 ... Drive magnet 25 ... 1st Hall element 26 ... 2nd Hall element 41 ... Control unit 42u, 42v, 43w ... Driver circuit 43, 44 ... Differential amplifier circuit 50 ... Normalization processing unit 51 ... Calculation unit 52 ... Storage unit 53 ... Position detection unit 54 ... Calibration execution unit 55 ... Feedback control unit 56 ... Output unit Na, Nb, Nc ... Characteristic line m ... Maximum value n ... Minimum value f ... Inflection point x ... Intersection W ... Inclination range A +, A-, B +, B-, C +, C -... Inclination lines H1a, H1b ... -Normalized signal H1c ... virtual normalized signal Ha ... signal of the signal Hb ... second Hall element of the first Hall element

Claims (10)

ロータおよびステータと、
前記ロータが備える駆動マグネットに対して異なる角度位置で対向し、前記ロータの回転位置に応じた信号をそれぞれ出力する第1ホール素子および第2ホール素子と、
前記第1ホール素子および第2ホール素子とさらに異なる角度位置で前記駆動マグネットに対向する仮想の第3ホール素子が前記ロータの回転位置に応じて出力する仮想信号を前記第1ホール素子の信号および前記第2ホール素子の信号から算出する算出部と、
前記第1ホール素子の信号および前記第2ホール素子の信号並びに前記仮想信号の各3信号と前記ロータの回転位置との各対応関係を表すデータのうち、各対応関係を表す3本の特性線の、極大値および極小値近傍を除いた変曲点を挟む各特性線の交点を含む傾斜範囲におけるデータを参照データとして記憶する記憶部と、
前記ロータが検出対象の回転位置にあるときの前記3信号の相対関係から、前記検出対象の回転位置を含む特性線範囲の候補を前記傾斜範囲において定め、定めた1候補について、前記3信号のうちの1信号に対応して前記参照データに記憶される回転位置に基づいて、前記検出対象の回転位置を求める位置検出部と、を有することを特徴とするモータ。
A rotor and a stator;
A first Hall element and a second Hall element that face each other at different angular positions with respect to a drive magnet included in the rotor and output a signal corresponding to the rotational position of the rotor;
A virtual signal output by the virtual third Hall element facing the drive magnet at an angular position further different from the first Hall element and the second Hall element according to the rotational position of the rotor and the signal of the first Hall element and A calculation unit for calculating from a signal of the second Hall element;
Of the data representing the correspondence between each of the three signals of the first Hall element, the signal of the second Hall element, and the virtual signal and the rotational position of the rotor, three characteristic lines representing the correspondence A storage unit for storing, as reference data, data in an inclination range including an intersection of characteristic lines sandwiching an inflection point excluding the local maximum value and the local minimum value;
From the relative relationship of the three signals when the rotor is at the rotational position of the detection target, a candidate for the characteristic line range including the rotational position of the detection target is determined in the tilt range, and for the determined one candidate, And a position detection unit that obtains a rotation position of the detection target based on a rotation position stored in the reference data corresponding to one of the signals.
前記位置検出部は、前記傾斜範囲における各特性線の各傾斜特徴に応じて区別される、前記ロータの1回転分の複数の傾斜線の中から、前記ロータが検出対象の回転位置にあるときの前記3信号の大小関係に基づいて、1つの傾斜特徴を持つ複数の傾斜線を特定し、特定した複数の傾斜線の中の1本の傾斜線に対応する前記参照データ中の前記ロータの回転位置の中から、特定した傾斜線の傾斜特徴を持つ特性線の信号値に対応する回転位置を、前記検出対象の回転位置の電気角候補として求めることを特徴とする請求項1に記載のモータ。   The position detecting unit is distinguished according to each inclination characteristic of each characteristic line in the inclination range, and the rotor is at a rotation position to be detected from among a plurality of inclination lines for one rotation of the rotor. Based on the magnitude relationship of the three signals, a plurality of inclination lines having one inclination characteristic are specified, and the rotor data in the reference data corresponding to one inclination line among the specified plurality of inclination lines is identified. The rotation position corresponding to the signal value of the characteristic line having the inclination characteristic of the specified inclination line is obtained as an electrical angle candidate of the rotation position of the detection target from the rotation positions. motor. 前記算出部は、前記ロータの回転時に所定時間毎に前記第1ホール素子の信号および前記第2ホール素子の信号から前記仮想信号を算出し、
前記位置検出部は、前記所定時間毎に前記3信号の大小関係に基づいて前記検出対象の回転位置の電気角候補を随時求めることを特徴とする請求項2に記載のモータ。
The calculation unit calculates the virtual signal from the signal of the first Hall element and the signal of the second Hall element every predetermined time when the rotor rotates.
The motor according to claim 2, wherein the position detection unit obtains electrical angle candidates for the rotation position of the detection target as needed based on the magnitude relationship of the three signals at each predetermined time.
前記位置検出部は、前記ロータの回転速度をN[rpm]、前記駆動マグネットの磁極数を2nとしたときにおける前記所定時間が60/(N×2n×3)[sec]以下の場合、前記検出対象の回転位置を求めた前回と前記3信号の大小関係が同じであれば前回と同じ1本の傾斜線を特定し、前記3信号の大小関係が異なれば前回特定した1本の傾斜線に隣接する1本の傾斜線を複数の傾斜線の中から特定することを特徴とする請求項3に記載のモータ。   When the predetermined time is 60 / (N × 2n × 3) [sec] or less when the rotational speed of the rotor is N [rpm] and the number of magnetic poles of the drive magnet is 2n, If the magnitude relation between the three signals is the same as the previous time when the rotation position of the detection target is obtained, the same single slope line as the previous time is specified, and if the magnitude relation between the three signals is different, the previous one slope line is specified. The motor according to claim 3, wherein one inclined line adjacent to is specified from a plurality of inclined lines. 前記ロータの回転位置の原点を検出する原点検出部を備え、
前記位置検出部は、前記ロータが検出対象の回転位置にあるときの前記3信号の大小関係に基づいて、前記ロータの1回転分の前記複数の傾斜線の中から選んだ1本の傾斜線に対応して求まる前記検出対象の回転位置の電気角候補から、前記原点検出部によって検出された原点を基準にして、前記検出対象の回転位置の絶対角を算出する
ことを特徴とする請求項2から請求項4のいずれか1項に記載のモータ。
An origin detection unit for detecting the origin of the rotational position of the rotor;
The position detection unit is configured to select one inclination line selected from the plurality of inclination lines for one rotation of the rotor based on the magnitude relationship of the three signals when the rotor is at a rotation position to be detected. The absolute angle of the rotational position of the detection target is calculated based on the origin detected by the origin detection unit from the electrical angle candidate of the rotational position of the detection target obtained corresponding to The motor according to any one of claims 2 to 4.
前記原点検出部は、前記ロータの原点位置で生じる前記ロータからの反射光もしくは透過光を検出する光学センサ、または、前記ロータの原点位置で生じる磁気を検出する磁気センサの位置センサから構成され、前記ロータの1回転分の3本の特性線において前記ロータの原点位置に対して所定の回転位置関係になる原点パルスを前記位置検出部へ出力することを特徴とする請求項5に記載のモータ。   The origin detection unit is composed of an optical sensor that detects reflected light or transmitted light from the rotor generated at the origin position of the rotor, or a position sensor of a magnetic sensor that detects magnetism generated at the origin position of the rotor, 6. The motor according to claim 5, wherein an origin pulse having a predetermined rotational position relationship with respect to the origin position of the rotor is output to the position detection unit on three characteristic lines for one rotation of the rotor. . 前記原点検出部は、前記駆動マグネットの磁極数を2n、任意の数値をαとしたときに(360/n)−α度分の幅の機械角で、前記ロータの原点位置を含む原点パルスを出力することを特徴とする請求項6に記載のモータ。   The origin detection unit generates an origin pulse including the origin position of the rotor with a mechanical angle of (360 / n) -α degrees when the number of magnetic poles of the drive magnet is 2n and an arbitrary value is α. The motor according to claim 6, which outputs the motor. 前記記憶部は、前記ロータの1回転分の3本の特性線における前記交点の信号値を前記交点が現れる順にリファレンステーブルとして記憶すると共に、前記ロータの原点位置を記憶し、
前記位置検出部は、モータの起動時に計測される前記3信号から定まる1本の傾斜線を起動時傾斜線として特定し、前記起動時傾斜線の端部にある前記交点から連続する所定標本数の前記交点の信号値列を元値列として算出し、前記リファレンステーブルに記憶された前記ロータの1回転分の回転範囲における前記交点の信号値を参照して、前記起動時傾斜線が持つ傾斜特徴と同じ傾斜特徴を持つ傾斜線の端部にある前記交点の信号値を先頭にする前記標本数と同じ数の前記交点の信号値列を参照値列として前記リファレンステーブルから複数取り出し、取り出した各参照値列と元値列との各間における相関係数の値を算出し、算出した最大値の相関係数値と最大値に次ぐ大きさの相関係数値との間の差が所定値以上になるまで、前記標本数を増やしながら各参照値列と元値列との間の相関係数値を算出することで、前記差が所定値以上になる最大値の相関係数値を算出させる参照値列を特定し、特定した参照値列の先頭にある前記交点の信号値が端部にある検出傾斜線に、モータの起動持における検出対象の回転位置があると判断し、前記検出傾斜線を基にして求まる前記検出対象の回転位置の電気角候補から、前記記憶部に記憶されたロータの原点位置を基準にして、前記検出対象の回転位置の絶対角を算出することを特徴とする請求項2から請求項4のいずれか1項に記載のモータ。
The storage unit stores the signal values of the intersections in the three characteristic lines for one rotation of the rotor as a reference table in the order in which the intersections appear, and stores the origin position of the rotor,
The position detection unit identifies one slope line determined from the three signals measured at the time of starting the motor as a start-up slope line, and a predetermined number of samples continuous from the intersection at the end of the start-up slope line. The slope of the start-up slope line is calculated with reference to the signal value of the intersection in the rotation range of one rotation of the rotor stored in the reference table. A plurality of signal value sequences of the intersections as many as the number of samples starting from the signal value of the intersection point at the end of the inclined line having the same inclination feature as the feature are extracted from the reference table as a reference value sequence and extracted. The correlation coefficient value between each reference value sequence and the original value sequence is calculated, and the difference between the calculated maximum correlation coefficient value and the correlation coefficient value next to the maximum value is a predetermined value or more. The number of samples until By calculating a correlation coefficient value between each reference value sequence and the original value sequence while increasing, a reference value sequence for calculating the maximum correlation coefficient value at which the difference is equal to or greater than a predetermined value is identified, and the identified reference It is determined that the detection inclination line at the end of the signal value of the intersection point at the beginning of the value sequence has the rotation position of the detection object when the motor is started, and the detection object obtained based on the detection inclination line 5. The absolute angle of the rotation position of the detection target is calculated from electrical angle candidates of the rotation position with reference to the origin position of the rotor stored in the storage unit. 6. The motor according to claim 1.
前記相関係数値に代えて前記相関係数値の二乗値を用いることを特徴とする請求項8に記載のモータ。   9. The motor according to claim 8, wherein a square value of the correlation coefficient value is used instead of the correlation coefficient value. 前記位置検出部によって算出された前記検出対象の回転位置をモータ外部へ出力する出力部を備えることを特徴とする請求項5から請求項9のいずれか1項に記載のモータ。   The motor according to any one of claims 5 to 9, further comprising an output unit that outputs the rotation position of the detection target calculated by the position detection unit to the outside of the motor.
JP2016245719A 2016-12-19 2016-12-19 motor Withdrawn JP2018102031A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016245719A JP2018102031A (en) 2016-12-19 2016-12-19 motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016245719A JP2018102031A (en) 2016-12-19 2016-12-19 motor

Publications (1)

Publication Number Publication Date
JP2018102031A true JP2018102031A (en) 2018-06-28

Family

ID=62714592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016245719A Withdrawn JP2018102031A (en) 2016-12-19 2016-12-19 motor

Country Status (1)

Country Link
JP (1) JP2018102031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020031882A1 (en) * 2018-08-08 2020-02-13 日本電産株式会社 Position estimation method, motor control device and motor system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020031882A1 (en) * 2018-08-08 2020-02-13 日本電産株式会社 Position estimation method, motor control device and motor system

Similar Documents

Publication Publication Date Title
US8058894B2 (en) Method for detecting a fault condition
US20100090631A1 (en) Sensorless Method and Related Device for Starting a Three-phase Brushless Direct-current Motor
US10171018B2 (en) Method and electronic circuit for stall detection
JP2018102031A (en) motor
US10389283B2 (en) Motor drive apparatus for driving stepping motor and control method therefor
WO2016208474A1 (en) Motor
JP6984454B2 (en) Motor control system
JP6844617B2 (en) Motor modules, motor step motion control systems, and motor controls
JP6406114B2 (en) Brushless motor
US11973456B2 (en) Motor
US20140001997A1 (en) Motor and method of measuring and controlling distance of air gap between rotor and stator assembly
JP2008154314A (en) Motor driving apparatus and washing machine equipped with same
JP2007143213A (en) Dc brushless motor and rotary vacuum pump
JP5175684B2 (en) Three-phase rotation angle detector
JP2607047B2 (en) Rotation angle detector
US8736298B2 (en) Method for detecting a step loss condition
JP6619382B2 (en) Motor drive control device and control method of motor drive control device
WO2020031943A1 (en) Position estimation method, motor control device, and motor system
WO2020031882A1 (en) Position estimation method, motor control device and motor system
JP2018031677A (en) motor
JP2007082370A (en) Dc brushless motor apparatus and rotary vacuum pump
JP2009092047A (en) Vacuum pump device and phase difference detection method
JP2006325311A (en) Dc brushless motor apparatus and rotary vacuum pump
KR102382367B1 (en) Apparatus and Method for taking action against failures of positioning sensors
WO2022208913A1 (en) Position detection device and position detection method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191107

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20200217