Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3009620B2 - Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver - Google Patents
[go: Go Back, main page]

JP3009620B2 - Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver - Google Patents

Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver

Info

Publication number
JP3009620B2
JP3009620B2 JP8025635A JP2563596A JP3009620B2 JP 3009620 B2 JP3009620 B2 JP 3009620B2 JP 8025635 A JP8025635 A JP 8025635A JP 2563596 A JP2563596 A JP 2563596A JP 3009620 B2 JP3009620 B2 JP 3009620B2
Authority
JP
Japan
Prior art keywords
rotation angle
pole
detection
data
angle data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP8025635A
Other languages
Japanese (ja)
Other versions
JPH09219963A (en
Inventor
三郎 楠美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CKD Corp
Original Assignee
CKD 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 CKD Corp filed Critical CKD Corp
Priority to JP8025635A priority Critical patent/JP3009620B2/en
Publication of JPH09219963A publication Critical patent/JPH09219963A/en
Application granted granted Critical
Publication of JP3009620B2 publication Critical patent/JP3009620B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、モータ等に備えら
れる多極検出レゾルバにおける原点復帰方法及び多極検
出レゾルバの原点復帰装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of returning to the origin in a multi-pole detection resolver provided in a motor or the like, and to a device for returning to the origin of the multi-pole detection resolver.

【0002】[0002]

【従来の技術】従来、レゾルバを内蔵したダイレクトド
ライブモータには、安価に提供するためにモータの出力
軸の1回転における絶対回転角を検出する1回転検出レ
ゾルバを備えず、分割された角度範囲における絶対回転
角の検出を高い精度で行う多極検出レゾルバのみを備え
たものがある。従って、このモータでは出力軸の1回転
における絶対回転角を得ることができないため、電源投
入毎に原点復帰を行い、その原点位置を基準として、回
転角に対応して生成される多極検出レゾルバの周期的な
回転角データに基づき、1回転における絶対回転角を求
めるようになっている。
2. Description of the Related Art Conventionally, a direct drive motor having a built-in resolver is not provided with a one-rotation detection resolver for detecting an absolute rotation angle in one rotation of an output shaft of the motor in order to provide an inexpensive motor. Some have only a multi-pole detection resolver that detects the absolute rotation angle with high accuracy. Therefore, since this motor cannot obtain the absolute rotation angle in one rotation of the output shaft, the motor returns to the home position each time the power is turned on, and the multi-pole detection resolver generated corresponding to the rotation angle with respect to the home position. The absolute rotation angle in one rotation is obtained based on the periodic rotation angle data.

【0003】原点復帰は、出力軸とともに回動する検出
板を、モータに対して固定された近接センサで検出する
ことにより行う。即ち、モータの電源投入時に、出力軸
を回動させ、図11に示すように、近接センサからの検
出信号Sが入ったときの回転角θ10において多極検出レ
ゾルバの検出極T10が回転角データD10を出力すると
き、この検出極T10を1番目の検出極、即ち、原点位置
を設定する基準極とし、この基準極における回転角デー
タDが0となる回転角θ0を原点位置として設定する。
[0003] Return to origin is performed by detecting a detection plate that rotates together with the output shaft by a proximity sensor fixed to the motor. That is, when the power of the motor is turned on, the output shaft is rotated, and as shown in FIG. 11 , the detection pole T10 of the multi-pole detection resolver becomes the rotation angle data at the rotation angle θ10 when the detection signal S from the proximity sensor is input. When outputting D10, this detection pole T10 is set as the first detection pole, that is, a reference pole for setting the origin position, and the rotation angle θ0 at which the rotation angle data D at this reference pole becomes 0 is set as the origin position.

【0004】原点復帰が行われた後は、出力軸の回動に
応じて出力される多極検出レゾルバの回転角データDの
周期的な変化に基づき、回転角データDが出力される検
出極の基準極からの移動を判別し、現在位置における検
出極を特定する。そして、その特定した検出極と、現在
位置における回転角データDとに基づき、出力軸の現在
位置での1回転における絶対回転角を算出している。
After the return to the origin, the detection pole to which the rotation angle data D is output is based on the periodic change of the rotation angle data D of the multi-pole detection resolver which is output according to the rotation of the output shaft. Is determined from the reference pole, and the detection pole at the current position is specified. Then, based on the specified detection pole and the rotation angle data D at the current position, the absolute rotation angle of the output shaft at one rotation at the current position is calculated.

【0005】即ち、この原点復帰方法では、原点復帰を
行う毎に検出信号Sが入力される回転角における多極検
出レゾルバの検出極は同一の検出極T10であることが前
提にされている。
That is, this origin return method is based on the premise that the detection poles of the multi-pole detection resolver at the rotation angle at which the detection signal S is input each time the origin return is performed are the same detection pole T10.

【0006】[0006]

【発明が解決しようとする課題】ところが、モータをシ
ーケンサで制御する場合、シーケンサのスキャンタイ
ム、出力軸の回転速度等の要因により、図12に示すよ
うに、検出信号Sが入力される回転角θ10が一定の回転
角範囲にばらつく。その結果、検出信号Sが入力される
ときの多極検出レゾルバの回転角データD10が変動する
ことになる。
However, when the motor is controlled by the sequencer, the rotation angle at which the detection signal S is inputted is determined as shown in FIG. 12 due to factors such as the scan time of the sequencer and the rotation speed of the output shaft . θ10 varies within a certain rotation angle range. As a result, the rotation angle data D10 of the multi-pole detection resolver when the detection signal S is input fluctuates.

【0007】従って、図13に示すように、検出信号S
が入力される回転角範囲が、隣合う2つの検出極T10,
T11にまたがる回転角範囲になると、検出信号Sが入力
されるときの回転角θ10により設定される原点位置が異
なることになる。即ち、検出信号Sが検出極T10の回転
角範囲で入力されると、検出極T10における回転角デー
タDが0となる回転角θ2が原点位置に設定される。
又、検出信号Sが検出極T11の回転角範囲で入力される
と、検出極T11における回転角データDが0となる回転
角θ3が原点位置として設定される。従って、同一の原
点位置への原点復帰が確実に行われなくなるため、この
モータで駆動する機械装置が正しく作動しなかったりす
る問題が発生する。
Therefore, as shown in FIG.
Is input to the two detection poles T10,
When the rotation angle range spans T11, the origin position set by the rotation angle θ10 when the detection signal S is input is different. That is, when the detection signal S is input within the rotation angle range of the detection pole T10, the rotation angle θ2 at which the rotation angle data D at the detection pole T10 becomes 0 is set to the origin position.
When the detection signal S is input within the rotation angle range of the detection pole T11, the rotation angle θ3 at which the rotation angle data D at the detection pole T11 becomes 0 is set as the origin position. Therefore, since the origin return to the same origin position cannot be performed reliably, there arises a problem that a mechanical device driven by this motor does not operate properly.

【0008】このような事態を防止するため、上記の原
点復帰方法では、検出信号Sが入力されるときの回転角
範囲が、図12に示すように、特定の検出極T10の回転
角範囲のほぼ中央となるように、予め、近接センサと検
出板との位置関係を調整している。このように設定する
ことにより、原点復帰を行う毎に同一の検出極T10から
の回転角データD10が入力される回転角範囲内で検出信
号Sが入力される。このため、この検出極T10の回転角
データDが0となる回転角θ0が常に原点位置として設
定される。即ち、この原点復帰方法では、検出信号Sが
入力される回転角範囲は、1つの検出極T10の回転角デ
ータDに対応する回転角範囲△θよりも十分に小さい範
囲であることが前提とされている。
[0008] In order to prevent such a situation, in the above homing method, the rotation angle range when the detection signal S is input, as shown in FIG. 12, the rotation angle range of the particular detection electrode T 10 The positional relationship between the proximity sensor and the detection plate is adjusted in advance so as to be approximately at the center. With this setting, the detection signal S is input within the rotation angle range in which the rotation angle data D10 from the same detection pole T10 is input each time the home position return is performed. Therefore, the rotation angle θ0 at which the rotation angle data D of the detection pole T10 becomes 0 is always set as the origin position. That is, in this origin return method, it is assumed that the rotation angle range in which the detection signal S is input is a range sufficiently smaller than the rotation angle range Δθ corresponding to the rotation angle data D of one detection pole T10. Have been.

【0009】しかしながら、この原点復帰方法では、検
出板と近接センサとの位置関係を正しく調整していない
と、前述のように、同一の原点位置への原点復帰を行う
ことができなくなる。又、両者の位置関係が正しく設定
されているように、定期的な調整確認を行わなければな
らなかった。
However, in this method of returning to the origin, if the positional relationship between the detection plate and the proximity sensor is not properly adjusted, as described above, the origin cannot be returned to the same origin position. In addition, it is necessary to periodically check the adjustment so that the positional relationship between the two is correctly set.

【0010】本発明は、上記問題点を解決するためにな
されたものであって、その目的は、原点復帰を行うため
の被検出部及び被検出部検出センサの位置関係の調整を
行うことなく、原点復帰を確実に行うことができる多極
検出レゾルバにおける原点復帰方法及び多極検出レゾル
バの原点復帰装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to adjust the positional relationship between a detected part and a detected part detection sensor for performing origin return. Another object of the present invention is to provide an origin return method for a multi-pole detection resolver and an origin return device for a multi-pole detection resolver that can surely perform an origin return.

【0011】[0011]

【課題を解決するための手段】上記問題点を解決するた
め、請求項1に記載の発明は、多極検出レゾルバが設け
られた回転軸とともに回動し、その回転軸が予め設定し
た回転角になったとき検出手段にて検出される被検出部
を設け、前記検出手段にて被検出部が検出されたときの
回転角における多極検出レゾルバの検出極に基づいて原
点位置を設ける基準極を設定し、この基準極における回
転角データが予め設定した基準回転角データとなる回転
角を原点位置とする多極検出レゾルバにおける原点復帰
方法において、原点復帰を行う前に、予め前記検出手段
にて前記被検出部を検出し、そのとき被検出部が検出さ
れる第1の回転角において第1の回転角データを出力す
る多極検出レゾルバの第1の検出極に基づいて前記基準
極を決定し、原点復帰時において、改めて被検出部が検
出される第2の回転角において多極検出レゾルバが出力
する第2の回転角データから前記第1の回転角データを
差し引いたデータ差の大きさが、多極検出レゾルバの各
検出極の最大データ値の半分である中央値以下であると
きは、前記第2の回転角における多極検出レゾルバの第
2の検出極に基づいて前記基準極を設定し、前記データ
差が正の値であり、その大きさが前記中央値を超えると
きは、前記第2の検出極の1つ後方の検出極に基づいて
前記基準極を設定し、前記データ差が負の値であり、そ
の大きさが前記中央値を超えるときは、前記第2の検出
極の1つ前方の検出極に基づいて前記基準極を設定する
ようにした。
In order to solve the above-mentioned problems, the invention according to claim 1 rotates with a rotating shaft provided with a multi-pole detection resolver, and the rotating shaft rotates at a preset rotation angle. A reference electrode that is provided with a detection target that is detected by the detection unit when the detection position is reached, and that sets the origin position based on the detection pole of the multipolar detection resolver at the rotation angle when the detection unit is detected by the detection unit. In the multi-pole detection resolver in which the rotation angle data at the reference pole is the reference rotation angle data set in advance and the rotation angle becomes the origin position, in the multi-pole detection resolver, before performing the home position return, the detection means in advance The detected part is detected at that time, and the reference pole is determined based on a first detected pole of a multi-pole detection resolver that outputs first rotation angle data at a first rotation angle at which the detected part is detected. Decide and origin At the time of return, the magnitude of the data difference obtained by subtracting the first rotation angle data from the second rotation angle data output by the multi-pole detection resolver at the second rotation angle at which the detected portion is detected again is large. When not more than the median which is half of the maximum data value of each detection pole of the pole detection resolver, set the reference pole based on the second detection pole of the multi-pole detection resolver at the second rotation angle, When the data difference is a positive value and the magnitude exceeds the median, the reference pole is set based on a detection pole one behind the second detection pole, and the data difference is negative. When the magnitude exceeds the median value, the reference pole is set based on the detection pole one before the second detection pole.

【0012】請求項2に記載の発明は、多極検出レゾル
バが設けられる回転軸とともに回動する被検出部と、予
め設定された回転角において前記被検出部を検出して検
出信号を出力する検出手段とを備え、前記検出手段にて
被検出部が検出されたときの回転角における多極検出レ
ゾルバの検出極に基づいて原点位置を設ける基準極を設
定し、この基準極における回転角データが予め設定した
基準回転角データとなる回転角を原点位置とする多極検
出レゾルバの原点復帰装置において、原点復帰を行う前
に、検出手段にて被検出部が検出される第1の回転角に
おいて第1の回転角データを出力する多極検出レゾルバ
の第1の検出極に基づいて原点位置を設定する基準極を
決定する基準極決定手段と、原点復帰時において、改め
て被検出部が検出される第2の回転角において多極検出
レゾルバが出力する第2の回転角データから前記第1の
回転角データを差し引いたデータ差を求め、前記データ
差の大きさが、多極検出レゾルバの各検出極の最大デー
タ値の半分である中央値以下であるときは、前記第2の
回転角における多極検出レゾルバの第2の検出極に基づ
いて前記基準極を設定し、前記データ差が正の値であ
り、その大きさが前記中央値を超えるときは、前記第2
の検出極の1つ後方の検出極に基づいて前記基準極を設
定し、前記データ差が負の値であり、その大きさが前記
中央値を超えるときは、前記第2の検出極の1つ前方の
検出極に基づいて前記基準極を設定する基準極設定手段
とから構成した。
According to a second aspect of the present invention, a detected portion which rotates together with a rotation shaft provided with a multi-pole detection resolver, and the detected portion is detected at a preset rotation angle to output a detection signal. Detecting means, and setting a reference pole for setting the origin position based on the detection pole of the multi-pole detection resolver at the rotation angle when the detected part is detected by the detection means, and the rotation angle data at this reference pole In the multi-pole detection resolver home position return device having a rotation angle serving as a reference rotation angle data set in advance as a home position, a first rotation angle at which a detection target is detected by a detection unit before performing home position return And a reference pole determining means for determining a reference pole for setting an origin position based on the first detection pole of the multi-pole detection resolver for outputting the first rotation angle data. A data difference obtained by subtracting the first rotation angle data from the second rotation angle data output by the multi-pole detection resolver at the second rotation angle is calculated, and the magnitude of the data difference is determined by each of the multi-pole detection resolvers. When the difference is equal to or less than the median value which is half of the maximum data value of the detection pole, the reference pole is set based on the second detection pole of the multi-pole detection resolver at the second rotation angle, and the data difference is positive. If the magnitude exceeds the median, the second
The reference pole is set based on the detection pole one behind the detection pole, and when the data difference is a negative value and the size exceeds the median value, one of the second detection poles is set. And a reference pole setting means for setting the reference pole on the basis of the detection pole immediately before.

【0013】請求項3に記載の発明は、多極検出レゾル
バが設けられた回転軸とともに回動し、その回転軸が予
め設定した回転角になったとき検出手段にて検出される
被検出部を設け、前記検出手段にて前記被検出部が検出
されたときの回転角における前記多極検出レゾルバの検
出極を原点位置を設ける基準極とし、前記基準極におけ
る回転角データを現在位置データとすることにより該基
準極における回転角データが0となる回転角を原点位置
とする多極検出レゾルバにおける原点復帰方法におい
て、原点復帰を行う前に、予め前記検出手段にて前記被
検出部を検出し、そのとき被検出部が検出される第1の
回転角において第1の回転角データを出力する多極検出
レゾルバの検出極を前記基準極とし、多極検出レゾルバ
の各検出極のデータ数の半分である中央値から、前記第
1の回転角データを減じてなるシフト値を算出し、原点
復帰時において、改めて被検出部が検出される第2の回
転角において前記多極検出レゾルバが出力する第2の回
転角データに前記シフト値を加算してなる第1のシフト
回転角データを算出し、前記第1のシフト回転角データ
が前記最大データ値よりも大きいときは、第1のシフト
回転角データから前記データ数を減じた値であり、第1
のシフト回転角データが0よりも小さいときは、前記デ
ータ数に第1のシフト回転角データを加算した値であ
り、又、第1のシフト回転角データが前記最大データ値
よりも小さいときは、第1のシフト回転角データとなる
第2のシフト回転角データを算出し、前記第2の回転角
データから前記シフト値を減じた値を現在位置データと
する。
[0013] According to a third aspect of the present invention, a detected part which rotates together with a rotating shaft provided with a multi-pole detection resolver and is detected by a detecting means when the rotating shaft has reached a preset rotation angle. Provided, the detection pole of the multi-pole detection resolver at the rotation angle when the detected portion is detected by the detection means as a reference pole to provide the origin position, the rotation angle data at the reference pole and the current position data In the multi-pole detection resolver with the rotation angle at which the rotation angle data at the reference pole becomes 0 as the origin position, the detection unit detects the detected portion in advance by the detection unit before performing the origin return. At this time, the detection pole of the multi-pole detection resolver that outputs the first rotation angle data at the first rotation angle at which the detected portion is detected is set as the reference pole, and the data of each detection pole of the multi-pole detection resolver is used. The multi-pole detection resolver calculates a shift value obtained by subtracting the first rotation angle data from the median value which is half of the multi-pole detection resolver at the second rotation angle at which the part to be detected is newly detected when returning to the origin. First shift rotation angle data obtained by adding the shift value to the second rotation angle data to be output is calculated. When the first shift rotation angle data is larger than the maximum data value, the first shift rotation angle data is calculated. This is a value obtained by subtracting the number of data from the shift rotation angle data.
When the shift rotation angle data is smaller than 0, it is a value obtained by adding the first shift rotation angle data to the number of data. When the first shift rotation angle data is smaller than the maximum data value, , Second shift rotation angle data serving as first shift rotation angle data is calculated, and a value obtained by subtracting the shift value from the second rotation angle data is used as current position data.

【0014】請求項4に記載の発明は、多極検出レゾル
バが設けられる回転軸とともに回動する被検出部と、予
め設定された回転角において前記被検出部を検出する検
出手段とを備え、前記検出手段にて被検出部が検出され
たときの回転角における前記多極検出レゾルバの検出極
を決定位置を設ける基準極とし、前記基準極における回
転角データを現在位置データとすることにより該基準極
における回転角データが0となる回転角を原点位置とす
る多極検出レゾルバの原点復帰装置において、原点復帰
を行う前に、前記検出手段にて被検出部が検出される第
1の回転角において第1の回転角データを出力する多極
検出レゾルバの第1の検出極を原点位置を設定する基準
極とする基準極決定手段と、多極検出レゾルバの各検出
極のデータ数の半分である中央値から、前記第1の回転
角データを減じてなるシフト値を算出するシフト値算出
手段と、原点復帰時において、改めて被検出部が検出さ
れる第2の回転角において前記多極検出レゾルバが出力
する第2の回転角データに前記シフト値を加算してなる
第1のシフト回転角データを算出する第1のシフト回転
角データ算出手段と、前記第1のシフト回転角データが
前記最大データ値よりも大きいときは、第1のシフト回
転角データから前記データ数を減じた値であり、第1の
シフト回転角データが0よりも小さいときは、前記デー
タ数に第1のシフト回転角データを加算した値であり、
又、第1のシフト回転角データが前記最大データ値より
も小さいときは、第1のシフト回転角データとなる第2
のシフト回転角データを算出する第2のシフト回転角デ
ータ算出手段と、前記第2の回転角データから前記シフ
ト値を減じた値を現在位置データとする現在位置データ
算出手段とから構成した。
According to a fourth aspect of the present invention, there is provided a detection section which rotates together with a rotation shaft provided with a multi-pole detection resolver, and detection means for detecting the detection section at a preset rotation angle. By setting the detection pole of the multi-pole detection resolver at the rotation angle when the detected portion is detected by the detection means as a reference pole for providing a determined position, and using the rotation angle data at the reference pole as current position data, In the home position return device of the multi-pole detection resolver having the rotation angle at which the rotation angle data at the reference pole becomes 0 as the origin position, before the origin return is performed, the first rotation in which the detection target is detected by the detection means is performed. A reference pole determining means for setting the first detection pole of the multi-pole detection resolver that outputs the first rotation angle data at the angle as a reference pole for setting the origin position, and a half of the number of data of each detection pole of the multi-pole detection resolver A shift value calculating means for calculating a shift value obtained by subtracting the first rotation angle data from the median value, and the multi-pole at a second rotation angle at which a portion to be detected is newly detected at the time of origin return. First shift rotation angle data calculating means for calculating first shift rotation angle data obtained by adding the shift value to second rotation angle data output by the detection resolver; When the value is larger than the maximum data value, it is a value obtained by subtracting the number of data from the first shift rotation angle data. When the first shift rotation angle data is smaller than 0, the first data is the first data. This is the value obtained by adding the shift rotation angle data,
When the first shift rotation angle data is smaller than the maximum data value, the second shift rotation angle data becomes the second shift rotation angle data.
A second shift rotation angle data calculating means for calculating the shift rotation angle data, and a current position data calculating means for setting a value obtained by subtracting the shift value from the second rotation angle data as a current position data.

【0015】従って、請求項1に記載の発明によれば、
原点復帰を行う前に、予め被検出部が検出されるときの
第1の回転角において第1の回転角データを出力する多
極検出レゾルバの第1の検出極に基づき、原点位置を設
定する基準極が決定される。この基準極における回転角
データが予め設定した回転角データとなる回転角が原点
位置とされる。原点復帰時に、改めて被検出部が検出さ
れるときの第2の回転角において多極検出レゾルバが出
力する第2の回転角データから第1の回転角データを差
し引いたデータ差の大きさが、各検出極の最大データ値
の半分である中央値以下であるときは、第2の回転角に
おける第2の検出極と第1の検出極とは同一の検出極と
なる。従って、この場合には、第2の検出極に基づいて
基準極を設定することにより、原点設定時に第1の検出
極に基づいて決定された基準極と同一の検出極が基準極
として設定される。又、データ差が正の値であり、その
大きさが中央値を超えるときには、第2の検出極は第1
の検出極の1つ前の検出極になる。従って、この場合に
は、第2の検出極の1つ後の検出極に基づいて基準極を
設定することにより、第1の検出極に基づいて決定され
た基準極と同一の検出極が基準極として設定される。
又、データ差が負の値であり、その大きさが中央値を超
えるときには、第2の検出極は第1の検出極の1つ後の
検出極になる。従って、この場合には、第2の検出極の
1つ前の検出極に基づいて基準極を設定することによ
り、第1の検出極に基づいて設定された基準極と同一の
検出極が基準極として設定される。以上の結果、検出信
号が入力されるときの回転角範囲に対応する回転角デー
タのばらつき範囲の大きさが中央値以下である場合に
は、その回転角範囲が隣合う検出極の回転角範囲にまた
がっても、原点復帰時においては予め設定した基準極が
設定される。
Therefore, according to the first aspect of the present invention,
Before returning to the home position, the home position is set based on the first detection pole of the multipolar detection resolver that outputs the first rotation angle data at the first rotation angle when the detected portion is detected in advance. A reference pole is determined. The rotation angle at which the rotation angle data at the reference pole becomes the preset rotation angle data is set as the origin position. At the time of home position return, the magnitude of the data difference obtained by subtracting the first rotation angle data from the second rotation angle data output by the multi-pole detection resolver at the second rotation angle when the detected portion is newly detected is: When it is equal to or less than the median value which is half of the maximum data value of each detection pole, the second detection pole and the first detection pole at the second rotation angle are the same detection pole. Therefore, in this case, by setting the reference pole based on the second detection pole, the same detection pole as the reference pole determined based on the first detection pole at the time of setting the origin is set as the reference pole. You. When the data difference is a positive value and its magnitude exceeds the median, the second detection pole is set to the first detection pole.
Becomes the detection pole immediately before the detection pole. Therefore, in this case, by setting the reference pole based on the next detection pole after the second detection pole, the same detection pole as the reference pole determined based on the first detection pole is used as the reference pole. Set as pole.
When the data difference is a negative value and its magnitude exceeds the median value, the second detection pole is the next detection pole after the first detection pole. Therefore, in this case, by setting the reference pole based on the detection pole immediately before the second detection pole, the same detection pole as the reference pole set based on the first detection pole is used as the reference pole. Set as pole. As a result, when the variation range of the rotation angle data corresponding to the rotation angle range when the detection signal is input is equal to or smaller than the median, the rotation angle range is the rotation angle range of the adjacent detection pole. , A preset reference pole is set at the time of origin return.

【0016】請求項2に記載の発明によれば、原点復帰
を行う前に、基準極決定手段にて、予め検出手段により
被検出部が検出されるときの第1の回転角において第1
の回転角データを出力する多極検出レゾルバの第1の検
出極に基づき、原点位置を設定する基準極が決定され
る。この基準極における回転角データが予め設定した回
転角データとなる回転角が原点位置とされる。原点復帰
時には、基準極設定手段にて、改めて被検出部が検出さ
れるときの第2の回転角において多極検出レゾルバが出
力する第2の回転角データから基準回転角データを差し
引いたデータ差が求められる。このデータ差の大きさ
が、各検出極の回転角データの最大値の半分である中央
値以下であるときは、第2の回転角における第2の検出
極と第1の検出極とは同一の検出極となる。従って、こ
の場合には、基準極設定手段が、第2の検出極に基づい
て基準極を設定するため、原点設定時に第1の検出極に
基づいて決定された基準極と同一の検出極が基準極とし
て設定される。又、データ差が正の値であり、その大き
さが中央値を超えるときには、第2の検出極は第1の検
出極の1つ前の検出極になる。従って、この場合には、
基準極設定手段が、第2の検出極の1つ後の検出極に基
づいて基準極を設定するため、第1の検出極に基づいて
決定された基準極と同一の検出極が基準極として設定さ
れる。又、データ差が負の値であり、その大きさが中央
値を超えるときには、第2の検出極は第1の検出極の1
つ後の検出極になる。従って、この場合には、基準極設
定手段が、第2の検出極の1つ前の検出極に基づいて基
準極を設定するため、第1の検出極に基づいて設定され
た基準極と同一の検出極が基準極として設定される。以
上の結果、検出信号が入力されるときの回転角範囲に対
応するデータ範囲が中央値以下である場合には、その回
転角範囲が隣合う検出極の回転角範囲にまたがっても、
原点復帰時においては予め決定した基準極が設定され
る。
According to the second aspect of the present invention, before performing the return to origin, the reference pole determination means sets the first rotation angle at the first rotation angle when the detection target is detected by the detection means in advance.
The reference pole for setting the origin position is determined based on the first detection pole of the multi-pole detection resolver that outputs the rotation angle data of. The rotation angle at which the rotation angle data at the reference pole becomes the preset rotation angle data is set as the origin position. At the time of home return, the reference pole setting means subtracts the reference rotation angle data from the second rotation angle data output by the multi-pole detection resolver at the second rotation angle when the detected portion is detected again. Is required. When the magnitude of this data difference is equal to or less than the median value which is half the maximum value of the rotation angle data of each detection pole, the second detection pole and the first detection pole at the second rotation angle are the same. Detection pole. Therefore, in this case, since the reference pole setting means sets the reference pole based on the second detection pole, the same detection pole as the reference pole determined based on the first detection pole when setting the origin is set. It is set as a reference pole. When the data difference is a positive value and its magnitude exceeds the median value, the second detection pole becomes the detection pole immediately before the first detection pole. Therefore, in this case,
Since the reference pole setting means sets the reference pole based on the detection pole immediately after the second detection pole, the same detection pole as the reference pole determined based on the first detection pole is used as the reference pole. Is set. When the data difference is a negative value and its magnitude exceeds the median, the second detection pole is one of the first detection poles.
The next detection pole. Therefore, in this case, since the reference pole setting means sets the reference pole based on the detection pole immediately before the second detection pole, it is the same as the reference pole set based on the first detection pole. Are set as reference electrodes. As a result, when the data range corresponding to the rotation angle range when the detection signal is input is equal to or smaller than the median, even if the rotation angle range spans the rotation angle range of the adjacent detection pole,
At the time of home return, a predetermined reference pole is set.

【0017】請求項3に記載の発明によれば、原点復帰
を行う前に、予め被検出部が検出される第1の回転角に
おいて第1の回転角データを出力する第1の検出極が原
点位置を設ける基準極とされ、この基準極における回転
角データが0となる回転角が原点位置に決定される。こ
のとき、各検出極のデータ数の半分の値である中央値か
ら、第1の回転角データを減じてなるシフト値が算出さ
れる。原点復帰時に、改めて被検出部が検出される第2
の回転角において多極検出レゾルバが出力する第2の回
転角データにシフト値が加算されると、基準極の隣の検
出極の回転角範囲において、被検出部が検出されるとき
の回転角データが最大データ値以上のデータ値、又は、
0以下のデータ値からなる第1のシフト回転角データに
変換される。第2のシフト回転角データは、第1のシフ
ト回転角データが最大データ値よりも大きいときは、第
1のシフト回転角データからデータ数を減じた値とな
り、第1のシフト回転角データが0よりも小さいとき
は、データ数に第1のシフト回転角データを加算した値
となり、又、第1のシフト回転角データが0から最大デ
ータ値の間の大きさであるときは、第1のシフト回転角
データとなる。その結果、第2のシフト回転角データ
は、基準極における回転角データと、基準極の隣の検出
極における回転角データが連続するものとなる。そし
て、この第2のシフト回転角データからシフト値を減じ
てなる現在位置データは、基準極の回転角データが0と
なる回転角を原点位置とする絶対回転角に対応する。
According to the third aspect of the present invention, the first detection pole for outputting the first rotation angle data at the first rotation angle at which the detected portion is detected before the home position return is performed. The reference position is set as a reference pole, and the rotation angle at which the rotation angle data at this reference pole becomes 0 is determined as the reference position. At this time, a shift value is calculated by subtracting the first rotation angle data from a median value that is a half value of the number of data of each detection pole. During return to origin, the detected part is detected again.
When the shift value is added to the second rotation angle data output by the multi-pole detection resolver at the rotation angle of, the rotation angle at which the detected part is detected in the rotation angle range of the detection pole adjacent to the reference pole Data value is greater than or equal to the maximum data value, or
It is converted to first shift rotation angle data having a data value of 0 or less. When the first shift rotation angle data is larger than the maximum data value, the second shift rotation angle data is a value obtained by subtracting the number of data from the first shift rotation angle data. When it is smaller than 0, the value becomes the value obtained by adding the first shift rotation angle data to the number of data. When the first shift rotation angle data has a size between 0 and the maximum data value, it becomes the first data. Is the shift rotation angle data. As a result, in the second shift rotation angle data, the rotation angle data at the reference pole and the rotation angle data at the detection pole adjacent to the reference pole are continuous. The current position data obtained by subtracting the shift value from the second shift rotation angle data corresponds to the absolute rotation angle with the rotation angle at which the rotation angle data of the reference pole becomes 0 as the origin position.

【0018】請求項4に記載の発明によれば、原点復帰
を行う前に、基準極決定手段にて、予め被検出部が検出
される第1の回転角において第1の回転角データを出力
する第1の検出極が原点位置を設ける基準極とされ、こ
の基準極における回転角データが0となる回転角が原点
位置に決定される。このとき、シフト値算出手段にて、
各検出極のデータ数の半分の値である中央値から、第1
の回転角データを減じてなるシフト値が算出される。原
点復帰時には、第1のシフト回転角データ算出手段に
て、改めて被検出部が検出される第2の回転角において
多極検出レゾルバが出力する第2の回転角データにシフ
ト値が加算されると、基準極の隣の検出極の回転角範囲
において、被検出部が検出されるときの回転角データが
最大データ値以上のデータ値、又は、0以下のデータ値
からなる第1のシフト回転角データに変換される。第2
のシフト回転角データ算出手段にて算出される第2のシ
フト回転角データは、第1のシフト回転角データが最大
データ値よりも大きいときは、第1のシフト回転角デー
タからデータ数を減じた値となり、第1のシフト回転角
データが0よりも小さいときは、データ数に第1のシフ
ト回転角データを加算した値となり、又、第1のシフト
回転角データが0から最大データ値の間の大きさである
ときは、第1のシフト回転角データとなる。その結果、
第2のシフト回転角データは、基準極における回転角デ
ータと、基準極の隣の検出極における回転角データが連
続するものとなる。そして、現在位置データ算出手段に
て、第2の回転角データからシフト値を減じてなる現在
位置データが算出される。この現在位置データは、基準
極の回転角データが0となる回転角を原点位置とする絶
対回転角に対応する。
According to the fourth aspect of the present invention, the reference pole determination means outputs the first rotation angle data at the first rotation angle at which the detected portion is detected before performing the origin return. The first detection pole to be used is a reference pole for setting the origin position, and the rotation angle at which the rotation angle data at this reference pole becomes 0 is determined as the origin position. At this time, the shift value calculation means
From the median value, which is half the number of data for each detection pole,
The shift value obtained by subtracting the rotation angle data is calculated. At the time of origin return, the first shift rotation angle data calculation means adds the shift value to the second rotation angle data output by the multi-pole detection resolver at the second rotation angle at which the detected portion is detected again. And a first shift rotation in which the rotation angle data when the detected part is detected in the rotation angle range of the detection pole adjacent to the reference pole is a data value equal to or greater than the maximum data value or a data value equal to or less than 0. Converted to angle data. Second
When the first shift rotation angle data is larger than the maximum data value, the second shift rotation angle data calculated by the second shift rotation angle data calculation means is obtained by subtracting the number of data from the first shift rotation angle data. When the first shift rotation angle data is smaller than 0, the first shift rotation angle data is a value obtained by adding the first shift rotation angle data to the number of data. When the value is within the range, the first shift rotation angle data is obtained. as a result,
In the second shift rotation angle data, the rotation angle data at the reference pole and the rotation angle data at the detection pole adjacent to the reference pole are continuous. Then, the current position data calculating means calculates the current position data obtained by subtracting the shift value from the second rotation angle data. This current position data corresponds to an absolute rotation angle having a rotation angle at which the rotation angle data of the reference pole becomes 0 as an origin position.

【0019】[0019]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

〔第1の実施の形態〕以下、本発明をダイレクトドライ
ブモータに内蔵された多極検出レゾルバの原点復帰装置
に具体化した第1の実施の形態を図1〜図7に従って説
明する。
[First Embodiment] A first embodiment in which the present invention is embodied in an origin return device of a multi-pole detection resolver incorporated in a direct drive motor will be described below with reference to FIGS.

【0020】図1に示すように、絶対回転角が制御され
るダイレクトドライブモータ(以下、単にモータと略称
する)1には、モータ1の出力軸2の1回転における絶
対回転角を検出する回転角検出ユニット3が接続されて
いる。モータ1は、モータ本体4及び多極検出レゾルバ
5とから構成されている。一方、回転角検出ユニット3
は、発振器6、レゾルバ/デジタルコンバータ(以下、
RDコンバータと略記する)7及びマイコン部8にて構
成されている。
As shown in FIG. 1, a direct drive motor (hereinafter simply referred to as a motor) 1 whose absolute rotation angle is controlled has a rotation for detecting the absolute rotation angle in one rotation of an output shaft 2 of the motor 1. The angle detection unit 3 is connected. The motor 1 includes a motor body 4 and a multi-pole detection resolver 5. On the other hand, the rotation angle detection unit 3
Is an oscillator 6, a resolver / digital converter (hereinafter, referred to as
RD converter 7) and a microcomputer unit 8.

【0021】図2に示すように、モータ1の出力軸2に
は図示しないワークを操作するアーム9が連結され、こ
のアーム9には出力軸2とともに回動する被検出部とし
ての検出板10が固着されている。この検出板10が回
動する平面の上方には、検出板10が予め設定された回
転角に配置されたときに検出板10を検出する検出手段
としての近接センサ11が設けられている。近接センサ
11は、検出板10を検出すると検出信号Sをマイコン
部8に出力する。
As shown in FIG. 2, an arm 9 for operating a work (not shown) is connected to the output shaft 2 of the motor 1, and a detection plate 10 serving as a detected part that rotates together with the output shaft 2 is connected to the arm 9. Is fixed. Above the plane on which the detection plate 10 rotates, a proximity sensor 11 is provided as detection means for detecting the detection plate 10 when the detection plate 10 is arranged at a preset rotation angle. When the proximity sensor 11 detects the detection plate 10, it outputs a detection signal S to the microcomputer unit 8.

【0022】発振器6は、絶対回転角を検出するための
正弦波信号からなる基準信号VS をモータ1の多極検出
レゾルバ5に出力する。多極検出レゾルバ5は、基準信
号VS から360°をその検出極数で分割した回転角範
囲に対応して1周期となる、互いに位相が90°ずれた
一対の回転角検出信号V1 ,V2 を生成し、レゾルバ/
デジタルコンバータ(以下、RDコンバータと略称す
る)7に出力する。
The oscillator 6 outputs a reference signal VS consisting of a sine wave signal for detecting the absolute rotation angle to the multi-pole detection resolver 5 of the motor 1. The multi-pole detection resolver 5 converts a pair of rotation angle detection signals V1 and V2 having a phase shift of 90 ° from one another corresponding to a rotation angle range obtained by dividing 360 ° by the number of detection poles from the reference signal VS. Generate and resolver /
Output to a digital converter (hereinafter abbreviated as RD converter) 7.

【0023】RDコンバータ7は、1周期の位相が互い
に90°ずれた一対の回転角検出信号V1 ,V2 から、
例えば12ビットのデジタルの回転角データDを生成し
てマイコン部8に出力する。即ち、RDコンバータ7
は、1周期の一対の回転角検出信号V1 ,V2 を0から
最大データ値DR である4095(12ビットの場合)
まで変化するデジタル信号からなる回転角データDに変
換する。従って、RDコンバータ7は、出力軸2の1回
転に対応して、0から4095まで変化する回転角デー
タDを検出極の総数だけ周期的に生成する。
The RD converter 7 calculates a pair of rotation angle detection signals V 1 and V 2 whose phases of one cycle are shifted from each other by 90 °.
For example, digital rotation angle data D of 12 bits is generated and output to the microcomputer unit 8. That is, the RD converter 7
Is the maximum data value DR from 0 to 4095 (in the case of 12 bits) from a pair of rotation angle detection signals V1 and V2 in one cycle.
Is converted into rotation angle data D composed of a digital signal which changes up to. Accordingly, the RD converter 7 periodically generates the rotation angle data D that changes from 0 to 4095 by the total number of the detection poles, corresponding to one rotation of the output shaft 2.

【0024】基準極決定手段及び基準極設定手段として
のマイコン部8は、図示しない不揮発性メモリを備えて
いる。マイコン部8は、原点設定モード及び原点復帰/
回転角検出モードを備えている。原点設定モードは、モ
ータ1を作動させる前段階において原点位置を設定する
ためのモードである。又、原点復帰/回転角検出モード
は、原点設定後において、モータ1の作動毎の電源投入
時において原点復帰を行った後、その原点位置を基準と
して出力軸2の絶対回転角を求めるためのモードであ
る。
The microcomputer section 8 as a reference pole determining means and a reference pole setting means has a non-volatile memory (not shown). The microcomputer unit 8 has an origin setting mode and an origin return /
A rotation angle detection mode is provided. The origin setting mode is a mode for setting the origin position before the motor 1 is operated. The home position return / rotation angle detection mode is a method for obtaining the absolute rotation angle of the output shaft 2 based on the home position after the home position is returned when the power is turned on each time the motor 1 is operated after the home position is set. Mode.

【0025】マイコン部8は、原点設定モードにおいて
は、原点設定処理を実行する。即ち、マイコン部8は、
原点設定処理として、第1の回転角θ1 で検出信号Sを
入力すると、その第1の回転角θ1 において出力される
多極検出レゾルバ5の第1の回転角データD1 を不揮発
性メモリに記憶する。このことにより、マイコン部8
は、第1の回転角データθ1 が出力される第1の検出極
T1 を原点位置を設定する基準極とし、この基準極にお
ける回転角データが0となる回転角θ0 を原点位置とし
て設定する。
The microcomputer section 8 executes an origin setting process in the origin setting mode. That is, the microcomputer unit 8
As the origin setting processing, when the detection signal S is input at the first rotation angle θ1, the first rotation angle data D1 of the multi-pole detection resolver 5 output at the first rotation angle θ1 is stored in the nonvolatile memory. . As a result, the microcomputer unit 8
Sets the first detection pole T1 from which the first rotation angle data .theta.1 is output as a reference pole for setting the origin position, and sets the rotation angle .theta.0 at which the rotation angle data at this reference pole becomes zero as the origin position.

【0026】又、マイコン部8は、原点復帰/回転角検
出モードにおいては、原点復帰処理及び回転角検出処理
を実行する。即ち、マイコン部8は、原点復帰処理とし
て、第2の回転角θ2 で改めて検出信号Sを入力する
と、その第2の回転角θ2 において多極検出レゾルバ5
が出力する第2の回転角データD2 から前記第1の回転
角データD1 を差し引いたデータ差ΔDを求める。そし
て、マイコン部8は、このデータ差ΔDの絶対値を回転
角データDのデータ数DN (12ビットの場合は409
6)の半分の大きさの値(以下、中央値という、12ビ
ットの場合は2048)DC と比較する。
In the home position return / rotation angle detection mode, the microcomputer unit 8 executes a home position return process and a rotation angle detection process. That is, when the detection signal S is input again at the second rotation angle θ2 as the origin return processing, the microcomputer unit 8 receives the multi-pole detection resolver 5 at the second rotation angle θ2.
Is obtained by subtracting the first rotation angle data D1 from the second rotation angle data D2 output by the controller. Then, the microcomputer unit 8 calculates the absolute value of the data difference ΔD as the data number DN of the rotation angle data D (409 in the case of 12 bits).
6) is compared with DC (hereinafter referred to as the median, which is 2048 in the case of 12 bits).

【0027】マイコン部8は、原点復帰処理として、図
3に示すように、データ差ΔDの大きさが中央値DC 以
下であるときは、その第2の回転角データD2 を出力軸
2の1回転における絶対回転角データである現在位置デ
ータとして記憶する。このことにより、マイコン部8
は、第2の回転角θ2 における多極検出レゾルバ5の第
2の検出極T2 を基準極として設定し、この基準極にお
ける回転角データDが0となる回転角θ0 を原点位置と
する。
As shown in FIG. 3, when the magnitude of the data difference ΔD is equal to or smaller than the median value DC, the microcomputer unit 8 returns the second rotation angle data D2 to the output shaft 2 as shown in FIG. It is stored as current position data which is absolute rotation angle data in rotation. As a result, the microcomputer unit 8
Sets the second detection pole T2 of the multi-pole detection resolver 5 at the second rotation angle .theta.2 as a reference pole, and sets the rotation angle .theta.0 at which the rotation angle data D at this reference pole becomes 0 as the origin position.

【0028】又、マイコン部8は、原点復帰処理とし
て、図4に示すように、前記データ差ΔDが正の値であ
り、その大きさが中央値DC を超えるときは、第2の回
転角データD2 からデータ数DN を減じた値を現在位置
データとして記憶する。このことにより、マイコン部8
は、第2の検出極T2 の1つ後ろの検出極T1 を基準極
として設定し、この基準極における回転角データDが0
となる回転角θ0 を原点位置とする。
As shown in FIG. 4, the microcomputer section 8 executes the second rotation angle when the data difference ΔD is a positive value and its magnitude exceeds the median value DC as shown in FIG. The value obtained by subtracting the data number DN from the data D2 is stored as the current position data. As a result, the microcomputer unit 8
Sets the detection pole T1 immediately behind the second detection pole T2 as a reference pole, and the rotation angle data D at this reference pole is 0.
Is the origin position.

【0029】さらに、マイコン部8は、原点復帰処理と
して、図5に示すように、前記データ差ΔDが負の値で
あり、その大きさが中央値DC を超えるときは、第2の
回転角データD2 にデータ値DN を加算した値を現在位
置データとして記憶する。このことにより、マイコン部
8は、第2の検出極T2 の1つ前の検出極T1 を基準極
として判定し、この基準極における回転角データDが0
となる回転角θ0 を原点位置とする。
Further, as shown in FIG. 5, the microcomputer unit 8 performs the second rotation angle when the data difference ΔD is a negative value and the magnitude exceeds the median value DC, as shown in FIG. The value obtained by adding the data value DN to the data D2 is stored as the current position data. As a result, the microcomputer unit 8 determines the detection pole T1 immediately before the second detection pole T2 as the reference pole, and sets the rotation angle data D at this reference pole to 0.
Is the origin position.

【0030】次に、マイコン部8は、回転角検出処理と
して、周期的に変化する多極検出レゾルバ5からの回転
角データの変化と、原点復帰処理において記憶した現在
位置データとに基づき、新たな現在位置における検出極
の基準極からの位置を判定する。そして、マイコン部8
は、その検出極の基準極からの位置と、その検出極にお
ける回転角データとに基づき、現在位置における絶対回
転角データを生成する。
Next, the microcomputer section 8 performs a new rotation angle detection process based on the periodically changing rotation angle data from the multi-pole detection resolver 5 and the current position data stored in the home position return process. The position of the detection pole from the reference pole at the current position is determined. And the microcomputer unit 8
Generates absolute rotation angle data at the current position based on the position of the detection pole from the reference pole and the rotation angle data at the detection pole.

【0031】次に、以上のように構成された多極検出レ
ゾルバの原点復帰装置の作用を図6及び図7のフローチ
ャートに従って説明する。先ず、原点位置を設定するた
めに、マイコン部8に原点設定処理を実行させる。図6
は、原点設定処理のフローチャートを示している。マイ
コン部8は、原点設定処理において、先ず、ステップ1
0(以下、S10というように略記する)で、原点設定
のためにモータの出力軸2が回動され、検出信号Sが入
力されたか否かを判定する。マイコン部8は、検出信号
Sが入力されると、S11で、検出信号Sを入力した第
1の回転角θ1 における多極検出レゾルバ5の第1の回
転角データD1 を読み込んで一時記憶する。その結果、
検出信号Sが入力されるときの第1の回転角θ1 におけ
る多極検出レゾルバ5の第1の検出極T1 が、原点位置
が設定される基準極として設定され、この基準極におけ
る回転角データが0となる回転角θ0 が原点位置として
決定される。
Next, the operation of the origin return device of the multi-pole detection resolver configured as described above will be described with reference to the flowcharts of FIGS. First, in order to set the origin position, the microcomputer unit 8 is caused to execute an origin setting process. FIG.
Shows a flowchart of the origin setting process. In the origin setting process, the microcomputer unit 8 firstly performs step 1
At 0 (hereinafter abbreviated as S10), it is determined whether or not the output shaft 2 of the motor is rotated to set the origin and the detection signal S is input. When the detection signal S is input, the microcomputer unit 8 reads and temporarily stores the first rotation angle data D1 of the multi-pole detection resolver 5 at the first rotation angle θ1 to which the detection signal S is input in S11. as a result,
The first detection pole T1 of the multi-pole detection resolver 5 at the first rotation angle θ1 when the detection signal S is input is set as a reference pole at which the origin position is set. The rotation angle θ0 that becomes 0 is determined as the origin position.

【0032】原点設定後に、原点復帰を行わせるには、
マイコン部8に原点復帰処理を実行させる。図7は、原
点復帰処理のフローチャートを示している。マイコン部
8は、原点復帰処理において、先ず、S20で、原点復
帰のためにモータの出力軸2が回動され、検出信号Sが
入力されたか否かを判断する。マイコン部8は、検出信
号Sが入力されると、S21で、検出信号Sを入力した
第2の回転角θ2 における多極検出レゾルバ5の第2の
回転角データD2 を読み込んで一時記憶する。
In order to return to the origin after setting the origin,
The microcomputer 8 causes the microcomputer 8 to execute the origin return processing. FIG. 7 shows a flowchart of the origin return processing. In the home position return process, the microcomputer unit 8 first determines in S20 whether the output shaft 2 of the motor is rotated for the home position return and the detection signal S is input. When the detection signal S is input, the microcomputer unit 8 reads and temporarily stores the second rotation angle data D2 of the multi-pole detection resolver 5 at the second rotation angle θ2 to which the detection signal S was input in S21.

【0033】次に、マイコン部8は、S22で、第2の
回転角データD2 から第1の回転角データD1 を差し引
いたデータ差ΔDを算出する。マイコン部8は、S23
で、S22で求めたデータ差ΔDの絶対値が中央値DC
以下であるか否かを判定する。マイコン部8は、データ
差ΔDの絶対値が中央値DC 以下であったときは、第1
の回転角データD1 が出力された第1の検出極θ1 、即
ち、基準極と、第2の回転角データD2 が出力された第
2の検出極θ2 とは一致するとして、S24で、第2の
回転角データD2 を現在位置データとして記憶する。そ
の結果、この現在位置データが、前記原点位置からの絶
対回転角データとして設定される。
Next, in S22, the microcomputer unit 8 calculates a data difference ΔD obtained by subtracting the first rotation angle data D1 from the second rotation angle data D2. The microcomputer unit 8 is configured in S23
The absolute value of the data difference ΔD obtained in S22 is the median value DC.
It is determined whether or not: When the absolute value of the data difference ΔD is equal to or smaller than the median value DC, the microcomputer unit 8 performs the first
It is assumed that the first detection pole θ1 from which the rotation angle data D1 has been output, that is, the reference pole, and the second detection pole θ2 from which the second rotation angle data D2 has been output coincide with each other. Is stored as the current position data. As a result, the current position data is set as absolute rotation angle data from the origin position.

【0034】マイコン部8は、S23において、データ
差ΔDの絶対値が中央値DC よりも大きかったときは、
S25で、データ差ΔDが正の値であるか否かを判定す
る。マイコン部8は、データ差ΔDが正の値であったと
きは、第2の回転角データD2 が出力された第2の検出
極T2 は、基準極の1つ前の第1の検出極T1 であると
して、S26で、第2の回転角データD2 からデータ数
DN を減じた得た値を現在位置データとして記憶する。
その結果、この現在位置データが、前記原点位置からの
絶対回転角データとして設定される。
If the absolute value of the data difference ΔD is larger than the median value DC in S23,
In S25, it is determined whether the data difference ΔD is a positive value. When the data difference ΔD is a positive value, the microcomputer unit 8 determines that the second detection pole T2 from which the second rotation angle data D2 has been output is the first detection pole T1 immediately before the reference pole. In step S26, a value obtained by subtracting the data number DN from the second rotation angle data D2 is stored as the current position data.
As a result, the current position data is set as absolute rotation angle data from the origin position.

【0035】又、マイコン部8は、S25において、デ
ータ差ΔDが負の値であったときは、第2の回転角デー
タが出力された第2の検出極は、基準極の1つ後ろの第
1の検出極T1 であるとして、S27で、第2の回転角
データD2 にデータ数DN を加算して得た値を現在位置
データとして記憶する。その結果、この現在位置データ
が、前記原点位置からの絶対回転角データとして設定さ
れる。
When the data difference ΔD is a negative value in S25, the microcomputer section 8 determines that the second detection pole, from which the second rotation angle data has been output, is located immediately behind the reference pole. Assuming that it is the first detection pole T1, in S27, a value obtained by adding the number of data DN to the second rotation angle data D2 is stored as the current position data. As a result, the current position data is set as absolute rotation angle data from the origin position.

【0036】従って、原点復帰時に検出信号Sが入力さ
れる第2の回転角θ2 における多極検出レゾルバ5の第
2の検出極T2 が、原点設定時において設定された基準
極(即ち、第1の検出極T1 )と異なっても、その基準
極における原点位置への復帰が行われる。
Therefore, the second detection pole T2 of the multi-pole detection resolver 5 at the second rotation angle θ2 at which the detection signal S is input at the time of home return is set to the reference pole (ie, the first pole) set at the time of home setting. , The return to the origin position at the reference pole is performed.

【0037】原点復帰が終了すると、マイコン部8は、
回転角検出処理を実行する。マイコン部8は、回転角検
出処理において、出力軸2の回動に伴い多極検出レゾル
バ5から出力される回転角データDの周期的な変化に基
づき回転角θの変化に対応した検出極の移動を判断す
る。マイコン部8は、原点復帰処理において記憶した現
在位置データと検出極の移動数に基づき、現在位置にお
ける検出極の基準極からの位置を判定する。そして、マ
イコン部8は、判定した検出極と、その現在位置におけ
る多極検出レゾルバ5の回転角データDとに基づき、現
在位置の絶対回転角データを生成する。
When the origin return is completed, the microcomputer unit 8
Execute rotation angle detection processing. In the rotation angle detection process, the microcomputer unit 8 detects the detection pole corresponding to the change of the rotation angle θ based on the periodic change of the rotation angle data D output from the multi-pole detection resolver 5 with the rotation of the output shaft 2. Judge the move. The microcomputer unit 8 determines the position of the detection pole from the reference pole at the current position based on the current position data stored in the origin return processing and the number of movements of the detection pole. Then, the microcomputer unit 8 generates absolute rotation angle data of the current position based on the determined detection pole and the rotation angle data D of the multi-pole detection resolver 5 at the current position.

【0038】以上詳述したように、本実施の形態の多極
検出レゾルバにおける原点復帰方法及び多極検出レゾル
バの原点復帰装置によれば、以下(a),(b)の効果
を得ることができる。
As described in detail above, according to the method of returning to the origin in the multi-pole detection resolver of the present embodiment and the device for returning to the origin of the multi-pole detection resolver, the following effects (a) and (b) can be obtained. it can.

【0039】(a) 予め近接センサ11にて検出板1
0が検出され、そのとき検出信号Sが入力される第1の
回転角θ1 において多極検出レゾルバ5の第1の回転角
データD1 が記憶される。このことにより、第1の検出
極T1 が原点位置を設定する基準極として決定される。
原点復帰時には、改めて検出信号Sが入力されるときの
第2の回転角データD2 と第1の回転角データD1 との
データ差ΔDの大きさが各検出極の最大データ値DR の
半分である中央値DC 以下であるときは、第2の回転角
データD2 が出力された第2の検出極T2 と第1の検出
極T1 とは同一となる。従って、第2の検出極を基準極
として設定することにより、原点設定時に第1の検出極
T1 に基づいて決定された基準極と同一の検出極が基準
極として設定される。
(A) The detection plate 1 is detected by the proximity sensor 11 in advance.
0 is detected, and at that time, the first rotation angle data D1 of the multi-pole detection resolver 5 is stored at the first rotation angle θ1 to which the detection signal S is input. Thus, the first detection pole T1 is determined as a reference pole for setting the origin position.
At the time of home return, the magnitude of the data difference ΔD between the second rotation angle data D2 and the first rotation angle data D1 when the detection signal S is input again is half of the maximum data value DR of each detection pole. When it is equal to or smaller than the median value DC, the second detection pole T2 from which the second rotation angle data D2 is output is the same as the first detection pole T1. Therefore, by setting the second detection pole as the reference pole, the same detection pole as the reference pole determined based on the first detection pole T1 at the time of setting the origin is set as the reference pole.

【0040】又、同じく、データ差ΔDが正の値であ
り、その大きさが中央値DC を超えるときは、第2の検
出極T2 は基準極の1つ前の検出極となる。従って、第
2の検出極T2 の1つ後の検出極を基準極として設定す
ることにより、原点設定時に決定された基準極と同一の
検出極が基準極として設定される。
Similarly, when the data difference ΔD is a positive value and its magnitude exceeds the median value DC, the second detection pole T2 becomes the detection pole immediately before the reference pole. Therefore, by setting the detection pole immediately after the second detection pole T2 as the reference pole, the same detection pole as the reference pole determined at the time of setting the origin is set as the reference pole.

【0041】さらに、同じく、データ差ΔDが負の値で
あり、その大きさが中央値DC を超えるときは、第2の
検出極T2 は基準極の1つ後ろの検出極となる。従っ
て、第2の検出極T2 の1つ前の検出極を基準極として
設定することにより、原点設定時に決定された基準極と
同一の検出極が基準極として設定される。以上の結果、
検出信号Sが入力されるときの回転角範囲が、隣合う検
出極の各回転角範囲にまたがっても、原点復帰時におい
ては原点設定時において設定した基準極が設定される。
ゆえに、検出信号Sが入力される回転角範囲と各検出極
の回転角データDの回転角範囲の関係に拘らず予め設定
した原点位置への復帰が行われる。従って、検出信号S
が入力される回転角範囲が1つの検出極の回転角範囲内
に入るように検出板10と近接センサ11との位置関係
の調整を行うことなく、原点復帰を確実に行うことがで
きる。
Further, similarly, when the data difference ΔD is a negative value and its magnitude exceeds the median value DC, the second detection pole T2 is the detection pole immediately after the reference pole. Therefore, by setting the detection pole immediately before the second detection pole T2 as a reference pole, the same detection pole as the reference pole determined at the time of setting the origin is set as the reference pole. As a result,
Even when the rotation angle range when the detection signal S is input extends over each rotation angle range of the adjacent detection poles, the reference pole set at the time of origin setting is set when returning to the origin.
Therefore, regardless of the relationship between the rotation angle range where the detection signal S is input and the rotation angle range of the rotation angle data D of each detection pole, the return to the preset origin position is performed. Therefore, the detection signal S
The origin return can be reliably performed without adjusting the positional relationship between the detection plate 10 and the proximity sensor 11 so that the rotation angle range in which is input is within the rotation angle range of one detection pole.

【0042】(b) ダイレクトドライブモータ1に多
極検出レゾルバ5、検出板10及び近接センサ11を設
け、回転角検出ユニット3にて原点復帰を行うようにし
たので、ダイレクトドライブモータ1の出力軸2の原点
復帰を行うことができる。
(B) Since the multi-pole detection resolver 5, the detection plate 10 and the proximity sensor 11 are provided in the direct drive motor 1 and the origin is returned by the rotation angle detection unit 3, the output shaft of the direct drive motor 1 is provided. 2 can be performed.

【0043】〔第2の実施の形態〕次に、本発明を具体
化した第2の実施の形態を図8〜図10に従って説明す
る。尚、本実施の形態は、前記第1の実施の形態に対し
て、マイコン部8が、原点設定モードにおいて実行する
原点設定処理、及び、原点復帰/回転角検出モードにお
いて実行する原点復帰処理のみが異なる。従って、原点
設定処理及び原点復帰処理のみを詳述し、第1の実施の
形態と同一の構成についてはその符号を同じにして説明
を省略する。
[Second Embodiment] Next, a second embodiment of the present invention will be described with reference to FIGS. This embodiment is different from the first embodiment only in the origin setting process executed by the microcomputer unit 8 in the origin setting mode and in the origin return process executed in the origin return / rotation angle detection mode. Are different. Therefore, only the origin setting process and the origin return process will be described in detail, and the same components as those in the first embodiment will be denoted by the same reference numerals and description thereof will be omitted.

【0044】基準極決定手段、シフト値算出手段、第1
のシフト回転角データ算出手段、第2のシフト回転角デ
ータ算出手段、及び、現在位置データ算出手段としての
マイコン部8は、原点設定処理として、第1の回転角θ
1 で検出信号Sを入力すると、その第1の回転角θ1 に
おいて出力される多極検出レゾルバ5の第1の回転角デ
ータD1 を記憶する。このことにより、マイコン部8
は、第1の回転角データθ1 が出力される第1の検出極
T1 を原点位置を設定する基準極とし、この基準極にお
ける回転角データが0となる回転角θ0 を原点位置とし
て設定する。
Reference pole determining means, shift value calculating means, first
The microcomputer unit 8 as the shift rotation angle data calculation means, the second shift rotation angle data calculation means, and the current position data calculation means performs the first rotation angle θ as the origin setting processing.
When the detection signal S is inputted at step 1, the first rotation angle data D1 of the multi-pole detection resolver 5 output at the first rotation angle θ1 is stored. As a result, the microcomputer unit 8
Sets the first detection pole T1 from which the first rotation angle data .theta.1 is output as a reference pole for setting the origin position, and sets the rotation angle .theta.0 at which the rotation angle data at this reference pole becomes zero as the origin position.

【0045】次に、マイコン部8は、原点設定処理とし
て、中央値DC から第1の回転角データD1 を差し引い
た値を算出し、この値をシフト値E(=DC −D1 )と
して不揮発性メモリに記憶する。
Next, as the origin setting processing, the microcomputer unit 8 calculates a value obtained by subtracting the first rotation angle data D1 from the median value DC, and uses this value as a shift value E (= DC-D1). Store in memory.

【0046】本実施の形態では、検出信号Sが入力され
る回転角θのばらつき範囲は、前記第1の実施の形態と
同様に、多極検出レゾルバ5の各検出極に対応する回転
角範囲Δθの半分以下であることが前提とされている。
即ち、検出信号Sが、第1の検出極T1 の回転角範囲内
である第1の回転角θ1 で入力されたときは、そのばら
つき範囲は、第1の回転角θ1 から回転角範囲Δθの半
分を減じた回転角θLから、回転角θ1 に同じく半分の
回転範囲を加算した回転角θU までの回転角範囲とな
る。従って、この回転角範囲に対応して出力される回転
角データDは、0からDR までのデータ値を取る。
In the present embodiment, the variation range of the rotation angle θ to which the detection signal S is input is the rotation angle range corresponding to each detection pole of the multi-pole detection resolver 5, as in the first embodiment. It is assumed that it is less than half of Δθ.
That is, when the detection signal S is input at the first rotation angle θ1 which is within the rotation angle range of the first detection pole T1, the variation range is from the first rotation angle θ1 to the rotation angle range Δθ. The rotation angle range is from the rotation angle θL reduced by half to the rotation angle θU obtained by adding the same rotation range to the rotation angle θ1. Therefore, the rotation angle data D output corresponding to this rotation angle range takes data values from 0 to DR.

【0047】図8に示すように、第1の回転角θ1 が回
転角範囲Δθの中央値よりも小さい回転角θである場
合、0からDR までの回転角データDの内、0からD1
+DCまでの回転角データDは第1の検出極T1 で出力
され、DR −(DC −D1 )(=DR −E)からDR ま
での回転角データDは第1の検出極T1 の1つ前の検出
極T2 で出力される。即ち、シフト値E(>0)は、原
点設定処理において、検出信号Sが第1の検出極T1 の
回転角範囲内の回転角範囲Δθの中央値よりも小さい回
転角である第1の回転角θ1 で入力されたときに、検出
信号Sが入力される回転角θのばらつき範囲の内、第1
の検出極T1 (即ち、基準極)の1つ前の検出極T2 の
回転角範囲Δθ内にある回転角範囲に対応する回転角デ
ータDの範囲である。
As shown in FIG. 8, when the first rotation angle θ1 is smaller than the median value of the rotation angle range Δθ, 0 to D1 of the rotation angle data D from 0 to DR.
The rotation angle data D up to + DC is output at the first detection pole T1, and the rotation angle data D from DR− (DC−D1) (= DR−E) to DR is immediately before the first detection pole T1. At the detection pole T2. That is, the shift value E (> 0) is the first rotation in which the detection signal S is the rotation angle smaller than the median of the rotation angle range Δθ within the rotation angle range of the first detection pole T1 in the origin setting processing. When the angle θ1 is input, the detection signal S is set to the first position within the variation range of the input rotation angle θ.
Is the rotation angle data D corresponding to the rotation angle range within the rotation angle range Δθ of the detection pole T2 immediately before the detection pole T1 (that is, the reference pole).

【0048】上記の場合には、マイコン部8は、原点復
帰処理として、θL からθU の範囲内である第2の回転
角θ2 で改めて検出信号Sを入力すると、その第2の回
転角θ2 において多極検出レゾルバ5が出力する第2の
回転角データθ2 に前記シフト値Eを加算した値を求
め、この値を第1のシフト回転角データDS1として一時
記憶する。即ち、マイコン部8は、第2の回転角データ
D2 にシフト値Eを加算することにより、第2の回転角
データD2 をシフト値E以上の範囲の第1のシフト回転
角データDS1に変換する。従って、前記検出極T2 にて
出力される回転角データDは、最大データ値DR から
(DR +E)までの範囲の第1のシフト回転角データD
S1に変換され、第1の検出極T1 にて出力される回転角
データDは、Eからデータ数DN (=D1 +DC +E=
2DC =DN )までの第1のシフト回転角データDS1に
変換される。
In the above case, when the microcomputer section 8 inputs the detection signal S again at the second rotation angle θ2 within the range of θL to θU as the origin return processing, the microcomputer section 8 performs the second rotation angle θ2. A value obtained by adding the shift value E to the second rotation angle data θ2 output from the multi-pole detection resolver 5 is obtained, and this value is temporarily stored as first shift rotation angle data DS1. That is, the microcomputer unit 8 converts the second rotation angle data D2 into the first shift rotation angle data DS1 in the range of the shift value E or more by adding the shift value E to the second rotation angle data D2. . Therefore, the rotation angle data D output from the detection pole T2 is the first shift rotation angle data D ranging from the maximum data value DR to (DR + E).
The rotation angle data D converted to S1 and output at the first detection pole T1 is obtained from E by the number of data DN (= D1 + DC + E =
It is converted to first shift rotation angle data DS1 up to 2DC = DN).

【0049】次に、マイコン部8は、原点復帰処理とし
て、第1のシフト回転角データDS1と最大データ値DR
との論理和をとり、この値を第2のシフト回転角データ
DS2として一時記憶する。即ち、マイコン部8は、シフ
ト回転角データDS1と最大データ値DR との論理和をと
ることにより、検出極T2 に対応する最大データDRか
らDR +Eまでの第1のシフト回転角データ値DS1を0
からシフト値Eまでの第2のシフト回転角データDS2に
変換し、第1の検出極T1 に対応するシフト値Eからデ
ータ数DN までの第1のシフト回転角データ値DS1をそ
のまま第2のシフト回転角データDS2とする。
Next, the microcomputer section 8 executes the first shift rotation angle data DS1 and the maximum data value DR as the origin return processing.
And the value is temporarily stored as second shift rotation angle data DS2. That is, the microcomputer unit 8 calculates the logical sum of the shift rotation angle data DS1 and the maximum data value DR, thereby converting the first shift rotation angle data value DS1 from the maximum data DR corresponding to the detection pole T2 to DR + E. 0
From the shift value E corresponding to the first detection pole T1 to the number of data DN, and the second shift rotation angle data DS1 corresponding to the first detection pole T1 is converted to the second shift rotation angle data DS2. The shift rotation angle data is set to DS2.

【0050】次に、マイコン部8は、原点復帰処理とし
て、第2のシフト回転角データDS2からシフト値Eを減
じた値を求め、この値を現在位置データとして記憶す
る。即ち、マイコン部8は、第2のシフト回転角データ
DS2からシフト値Eを減じることにより、検出極T2 に
対応する0からEまでのシフト回転角データDS1を−E
から0までの現在位置データに変換し、第1の検出極T
1 に対応するEからデータ数DN までの第2のシフト回
転角データDS2を0からDN −E(=D1 +DC)まで
の現在位置データに変換する。
Next, the microcomputer section 8 obtains a value obtained by subtracting the shift value E from the second shift rotation angle data DS2 as the origin return processing, and stores this value as the current position data. That is, the microcomputer unit 8 subtracts the shift value E from the second shift rotation angle data DS2, thereby converting the shift rotation angle data DS1 from 0 to E corresponding to the detection pole T2 to -E.
To the current position data of the first detection pole T
The second shift rotation angle data DS2 from E corresponding to 1 to the number of data DN is converted to current position data from 0 to DN -E (= D1 + DC).

【0051】従って、マイコン部8は、原点復帰処理に
より、第1の回転角θ1 が基準極の回転角範囲Δθの中
央値よりも小さい場合に、第2の回転角θ2 が第1の検
出極T1 の回転角範囲内にあるときには、第2の回転角
データD2 を現在位置データとして記憶する。このこと
により、マイコン部8は、第2の回転角θ2 における多
極検出レゾルバ5の第2の検出極T2 を基準極として設
定し、この基準極における回転角データDが0となる回
転角θ0を原点位置とする。
Therefore, when the first rotation angle θ1 is smaller than the median of the rotation angle range Δθ of the reference pole by the origin return processing, the microcomputer section 8 sets the second rotation angle θ2 to the first detection pole. When the rotation angle is within the rotation angle range of T1, the second rotation angle data D2 is stored as the current position data. As a result, the microcomputer unit 8 sets the second detection pole T2 of the multi-pole detection resolver 5 at the second rotation angle θ2 as a reference pole, and sets the rotation angle θ0 at which the rotation angle data D at this reference pole becomes zero. Is the origin position.

【0052】又、マイコン部8は、第1の回転角θ1 が
基準極の回転角範囲Δθの中央値よりも小さい場合に、
第2の回転角θ2 が第1の検出極T1 の1つ前の検出極
T2の回転角範囲内にあるときには、第2の回転角デー
タD2 を第1の回転角データD1 に対する絶対回転角デ
ータに変換した値を現在位置データとして記憶する。こ
のことにより、マイコン部8は、第2の検出極T2 の1
つ後の検出極T1 を基準極として設定し、この基準極に
おける回転角データDが0となる回転角θ0を原点位置
とする。
When the first rotation angle θ 1 is smaller than the central value of the rotation angle range Δθ of the reference pole, the microcomputer 8
When the second rotation angle θ2 is within the rotation angle range of the detection pole T2 immediately before the first detection pole T1, the second rotation angle data D2 is converted to the absolute rotation angle data for the first rotation angle data D1. Is stored as the current position data. As a result, the microcomputer unit 8 determines that the second detection pole T2
The next detection pole T1 is set as a reference pole, and the rotation angle θ0 at which the rotation angle data D at this reference pole becomes 0 is defined as the origin position.

【0053】同様に、図9に示すように、第1の回転角
θ1 が回転角範囲Δθの中央値よりも大きい回転角θで
ある場合、0からDR までの回転角データDの内、(D
1 −DC )(=−E;E<0))からDR までの回転角
データDは、第1の検出極T1 で出力され、0から−E
までの回転角データDは、第1の検出極T1 の1つ後ろ
の検出極T2 から出力される。即ち、シフト値Eは、原
点設定処理において、検出信号Sが第1の検出極T1 の
回転角範囲内の回転角範囲Δθの中央値よりも大きい回
転角である第1の回転角θ1 で入力されたときに、検出
信号Sが入力される回転角θのばらつき範囲の内、第1
の検出極T1 (即ち、基準極)の1つ後ろの検出極T2
の回転角範囲内にある回転角範囲に対応する回転角デー
タDの範囲である。
Similarly, as shown in FIG. 9, when the first rotation angle θ1 is a rotation angle θ larger than the median of the rotation angle range Δθ, the rotation angle data D from 0 to DR D
The rotation angle data D from 1 −DC) (= −E; E <0)) to DR is output at the first detection pole T 1, and from 0 to −E
The rotation angle data D up to the first detection pole T1 is output from the detection pole T2 immediately after the first detection pole T1. That is, the shift value E is input at the first rotation angle θ1 at which the detection signal S is a rotation angle larger than the median of the rotation angle range Δθ within the rotation angle range of the first detection pole T1 in the origin setting processing. Of the rotation angle θ at which the detection signal S is inputted,
Detection pole T1 (that is, the detection pole T2 immediately after the detection pole T1)
Is the range of the rotation angle data D corresponding to the rotation angle range that is within the rotation angle range.

【0054】上記の場合には、マイコン部8は、原点復
帰処理として、θL からθU の範囲内である第2の回転
角θ2 で改めて検出信号Sを入力すると、その第2の回
転角θ2 において多極検出レゾルバ5が出力する第2の
回転角データθ2 に前記シフト値Eを加算した値を求
め、この値を第1のシフト回転角データDS として一時
記憶する。即ち、マイコン部8は、第2の回転角データ
D2 にシフト値Eを加算することにより、第2の回転角
データD2 を(DR −E)以下の範囲の第1のシフト回
転角データDS1に変換する。従って、第1の検出極T1
にて出力される回転角データDは、0(=D1 −DC +
E=0)から(DR +E)までの第1のシフト回転角デ
ータDS1に変換され、前記検出極T2 にて出力される回
転角データDは、Eから0までの範囲の第1のシフト回
転角データDS1に変換される。
In the above case, when the microcomputer section 8 inputs the detection signal S again at the second rotation angle θ2 within the range of θL to θU as the origin return processing, the microcomputer section 8 executes the second rotation angle θ2. A value obtained by adding the shift value E to the second rotation angle data .theta.2 output from the multipole detection resolver 5 is obtained, and this value is temporarily stored as the first shift rotation angle data DS. That is, the microcomputer unit 8 adds the shift value E to the second rotation angle data D2 to convert the second rotation angle data D2 into the first shift rotation angle data DS1 in the range of (DR-E) or less. Convert. Therefore, the first detection pole T1
Is 0 (= D1 -DC +
The rotation angle data D, which is converted into the first shift rotation angle data DS1 from (E = 0) to (DR + E) and output at the detection pole T2, is the first shift rotation angle data in the range from E to 0. It is converted into angle data DS1.

【0055】次に、マイコン部8は、原点復帰処理とし
て、第1のシフト回転角データDS1と最大データ値DR
との論理和をとり、この値を第2のシフト回転角データ
DS2として一時記憶する。即ち、マイコン部8は、シフ
ト回転角データDS1と最大データ値DR との論理和をと
ることにより、第1の検出極T1 に対応する0から(D
R +E)までの第1のシフト回転角データ値DS1をその
まま第2のシフト回転角データDS2とし、検出極T2 に
対応するEから0までの第1のシフト回転角データ値D
S1を(DR +E)からDR までの第2のシフト回転角デ
ータDS2に変換する。
Next, the microcomputer unit 8 executes the first shift rotation angle data DS1 and the maximum data value DR as the origin return processing.
And the value is temporarily stored as second shift rotation angle data DS2. That is, the microcomputer unit 8 performs a logical OR operation of the shift rotation angle data DS1 and the maximum data value DR, thereby changing from 0 corresponding to the first detection pole T1 to (D
R + E) is used as the second shift rotation angle data DS2 as it is, and the first shift rotation angle data values D from E to 0 corresponding to the detection pole T2 are obtained.
S1 is converted to second shift rotation angle data DS2 from (DR + E) to DR.

【0056】次に、マイコン部8は、原点復帰処理とし
て、第2のシフト回転角データDS2からシフト値Eを減
じた値を求め、この値を現在位置データとして記憶す
る。即ち、マイコン部8は、第2のシフト回転角データ
DS2からシフト値Eを減じることにより、第1の検出極
T1 に対応する0から(DR +E)までの第2の回転角
データDS2をEからDR までの現在位置データに変換
し、検出極T2 に対応する(DR +E)からDR までの
第2の回転角データDS2をDR から(DR −E)までの
現在位置データに変換する。
Next, as the origin return processing, the microcomputer section 8 obtains a value obtained by subtracting the shift value E from the second shift rotation angle data DS2, and stores this value as the current position data. That is, the microcomputer unit 8 subtracts the shift value E from the second shift rotation angle data DS2 to convert the second rotation angle data DS2 from 0 to (DR + E) corresponding to the first detection pole T1 to E. To DR, and the second rotation angle data DS2 from (DR + E) to DR corresponding to the detection pole T2 is converted to current position data from DR to (DR-E).

【0057】従って、マイコン部8は、原点復帰処理に
より、第1の回転角θ1 が基準極の回転角範囲Δθの中
央値よりも大きい場合に、第2の回転角θ2 が第1の検
出極T1 の回転角範囲内にあるときには、第2の回転角
データD2 を現在位置データとして記憶する。このこと
により、マイコン部8は、第2の回転角θ2 における多
極検出レゾルバ5の第2の検出極T2 を基準極として設
定し、この基準極における回転角データDが0となる回
転角θ0を原点位置とする。又、マイコン部8は、第1
の回転角θ1 が基準極の回転角範囲Δθの中央値よりも
大きい場合に、第2の回転角θ2 が第1の検出極T1 の
1つ後の検出極T2 の回転角範囲内にあるときには、第
2の回転角データD2 を第1の回転角データD1 に対す
る絶対回転角データに変換した値を現在位置データとし
て記憶する。このことにより、マイコン部8は、第2の
検出極T2 の1つ前の検出極T1 を基準極として設定
し、この基準極における回転角データDが0となる回転
角θ0を原点位置とする。
Therefore, when the first rotation angle θ1 is larger than the median of the rotation angle range Δθ of the reference pole by the origin return processing, the microcomputer section 8 sets the second rotation angle θ2 to the first detection pole. When the rotation angle is within the rotation angle range of T1, the second rotation angle data D2 is stored as the current position data. As a result, the microcomputer unit 8 sets the second detection pole T2 of the multi-pole detection resolver 5 at the second rotation angle θ2 as a reference pole, and sets the rotation angle θ0 at which the rotation angle data D at this reference pole becomes zero. Is the origin position. Also, the microcomputer unit 8 includes the first
Is larger than the median value of the rotation angle range Δθ of the reference pole, and the second rotation angle θ2 is within the rotation angle range of the detection pole T2 immediately after the first detection pole T1. , And the value obtained by converting the second rotation angle data D2 into the absolute rotation angle data for the first rotation angle data D1 is stored as the current position data. As a result, the microcomputer unit 8 sets the detection pole T1 immediately before the second detection pole T2 as a reference pole, and sets the rotation angle θ0 at which the rotation angle data D at this reference pole becomes 0 as the origin position. .

【0058】次に、以上のように構成された多極検出レ
ゾルバの原点復帰装置の作用について図10(a)及び
図10(b)のフローチャートに従って説明する。図1
0(a)は、原点設定処理のフローチャートを示してい
る。マイコン部8は、原点設定処理において、先ず、S
30で、検出信号Sが入力されたか否かを判断する。マ
イコン部8は、検出信号Sが入力されると、S31で第
1の回転角データD1 を読み込む。その結果、第1の回
転角θ1 における第1の検出極T1が、原点位置が設け
られる基準極として設定され、この基準極における回転
角データDが0となる回転角θ0 が原点位置として決定
される。マイコン部8は、S32で中央値DC から第1
の回転角データD1 を減じたシフト値Eを算出し、S3
3でこのシフト値Eを不揮発性メモリに格納する。
Next, the operation of the home position return device of the multi-pole detection resolver configured as described above will be described with reference to the flow charts of FIGS. 10 (a) and 10 (b). FIG.
0 (a) shows a flowchart of the origin setting processing. In the origin setting process, the microcomputer unit 8 first sets S
At 30, it is determined whether the detection signal S has been input. When the detection signal S is input, the microcomputer unit 8 reads the first rotation angle data D1 in S31. As a result, the first detection pole T1 at the first rotation angle θ1 is set as a reference pole at which the origin position is provided, and the rotation angle θ0 at which the rotation angle data D at this reference pole becomes 0 is determined as the origin position. You. The microcomputer unit 8 determines the first value from the median value DC in S32.
A shift value E obtained by subtracting the rotation angle data D1 from the above is calculated, and S3
At 3, the shift value E is stored in the nonvolatile memory.

【0059】図10(b)は、原点復帰処理のフローチ
ャートを示している。マイコン部8は、原点復帰処理に
おいて、先ず、S40で検出信号Sが入力されたか否か
を判断する。マイコン部8は、検出信号Sが入力される
と、S41で第2の回転角データD2 を読み込む。
FIG. 10B shows a flowchart of the origin return processing. In the home position return process, the microcomputer unit 8 first determines whether or not the detection signal S has been input in S40. When the detection signal S is input, the microcomputer unit 8 reads the second rotation angle data D2 in S41.

【0060】次に、マイコン部8は、S42で第2の回
転角データD2 にシフト値Eを加算した第1のシフト回
転角データDS1を算出する。マイコン部8は、S43で
第1のシフト回転角データDS1と最大データ値DR との
論理和を取り、第2のシフト回転角データDS2を算出す
る。そして、マイコン部8は、S44で第2のシフト回
転角データDS2からシフト値Eを減じて現在位置データ
を算出する。
Next, the microcomputer unit 8 calculates first shift rotation angle data DS1 by adding the shift value E to the second rotation angle data D2 in S42. In S43, the microcomputer unit 8 calculates the logical sum of the first shift rotation angle data DS1 and the maximum data value DR to calculate the second shift rotation angle data DS2. Then, the microcomputer section 8 calculates the current position data by subtracting the shift value E from the second shift rotation angle data DS2 in S44.

【0061】その結果、求めた現在位置データが、前記
原点位置からの絶対回転角データとして設定される。従
って、原点復帰時において、検出信号Sが入力される第
2の回転角θ2 における多極検出レゾルバ5の第2の検
出極T2 が、原点設定時において設定された基準極(即
ち、第1の検出極T1 )と異なっても、その基準極にお
ける原点位置θ0 への復帰が行われる。
As a result, the obtained current position data is set as absolute rotation angle data from the origin position. Therefore, at the time of origin return, the second detection pole T2 of the multi-pole detection resolver 5 at the second rotation angle .theta.2 to which the detection signal S is input is set to the reference pole (that is, the first pole) set at the time of origin setting. Even if it differs from the detection pole T1), the reference pole is returned to the origin position θ0.

【0062】以上詳述した本実施の形態の多極検出レゾ
ルバにおける原点復帰方法及び原点復帰装置によれば、
前記第1の実施の形態の効果(a),(b)の他に、以
下(a)の効果を得ることができる。
According to the origin return method and the origin return device in the multi-pole detection resolver of the present embodiment described in detail above,
In addition to the effects (a) and (b) of the first embodiment, the following effect (a) can be obtained.

【0063】(a) 第1の実施の形態におけるマイコ
ン部8の原点復帰処理のように、条件分岐命令を含まな
いため、マイコン部8のプログラムメモリが少なくてす
むとともに、処理時間を短縮することができる。
(A) Unlike the home position return process of the microcomputer unit 8 in the first embodiment, since a conditional branch instruction is not included, the program memory of the microcomputer unit 8 can be reduced and the processing time can be shortened. Can be.

【0064】尚、本発明は上記各実施の形態に限定され
るものではなく、以下のように構成することもできる。 (1) 上記実施の形態では、原点設定時に、検出信号
Sを入力した第1の回転角θ1 における多極検出レゾル
バ5の第1の検出極T1 を基準極として設定したが、第
1の検出極T1 から前方へ何番目かの検出極、又は、後
方へ何番目かの検出極を基準極として設定するようにし
てもよい。
The present invention is not limited to the above embodiments, but may be configured as follows. (1) In the above embodiment, the first detection pole T1 of the multi-pole detection resolver 5 at the first rotation angle θ1 to which the detection signal S was input was set as the reference pole when the origin was set. Any number of detection poles forward from the pole T1 or some number of detection poles backward may be set as the reference pole.

【0065】(2) 基準極における回転角データDが
0となる回転角θ0を原点位置として設定するようにし
たが、回転角データDが0以外の値となる回転角を原点
位置として設定するようにしてもよい。
(2) Although the rotation angle θ0 at which the rotation angle data D at the reference pole becomes 0 is set as the origin position, the rotation angle at which the rotation angle data D takes a value other than 0 is set as the origin position. You may do so.

【0066】(3) 1つの多極検出レゾルバ5を備え
たモータ1に実施したが、これを、異なる検出極数を持
つ2つの多極検出レゾルバ、例えば、18極検出レゾル
バと132極検出レゾルバを備えたモータにおいて実施
してもよい。この場合には、18極検出レゾルバでの絶
対回転角検出時に原点復帰を行い、この18極レゾルバ
の絶対回転角データに基づき現在位置における132極
検出レゾルバの検出極を特定する。この構成では、13
2極検出レゾルバの検出極を高い精度で特定するととも
に、132極検出レゾルバにより高い分解能で絶対回転
角を検出することができる。
(3) The motor 1 provided with one multi-pole detection resolver 5 was used. However, this was performed for two multi-pole detection resolvers having different numbers of detection poles, for example, an 18-pole detection resolver and a 132-pole detection resolver. May be implemented in a motor provided with In this case, the origin is returned when the absolute rotation angle is detected by the 18-pole resolver, and the detection pole of the 132-pole detection resolver at the current position is specified based on the absolute rotation angle data of the 18-pole resolver. In this configuration, 13
The detection pole of the two-pole detection resolver can be specified with high accuracy, and the absolute rotation angle can be detected with high resolution by the 132-pole detection resolver.

【0067】さらに、互いに異なる検出極数を持つ3つ
以上の多極検出レゾルバを備えたモータに実施してもよ
い。 (4) モータ1に内蔵された多極検出レゾルバ5に実
施したが、モータの外部に取り付けて出力軸2の絶対回
転角を検出するようにした多極検出レゾルバに実施して
もよい。
Further, the present invention may be applied to a motor having three or more multi-pole detection resolvers having different numbers of detection poles. (4) Although the present invention is applied to the multi-pole detection resolver 5 built in the motor 1, the invention may be applied to a multi-pole detection resolver which is mounted outside the motor and detects the absolute rotation angle of the output shaft 2.

【0068】(5) ダイレクトドライブモータ1の出
力軸2の絶対回転角を検出する多極検出レゾルバについ
て実施したが、その他、回転軸の絶対回転角を検出する
多極検出レゾルバに実施してもよい。
(5) Although the present invention is applied to the multi-pole detection resolver for detecting the absolute rotation angle of the output shaft 2 of the direct drive motor 1, the present invention is also applicable to a multi-pole detection resolver for detecting the absolute rotation angle of the rotation shaft. Good.

【0069】前記実施の形態から把握できる請求項以外
の技術的思想について、以下にその効果とともに記載す
る。 (1) 請求項1に記載の多極検出レゾルバにおける原
点復帰方法において、互いに異なる検出極数である複数
の多極検出レゾルバの最も検出極数が少ない多極検出レ
ゾルバの原点復帰方法とする。この構成によれば、分解
能が高い多極検出レゾルバの検出極を高い精度で特定す
ることができるため、より高い精度で絶対回転角を検出
することができる。
The technical ideas other than the claims which can be grasped from the embodiment will be described below together with their effects. (1) The method for returning to the origin in the multi-pole detection resolver according to claim 1 is a method for returning to the origin of a multi-pole detection resolver having the smallest number of detection poles among a plurality of multi-pole detection resolvers having different numbers of detection poles. According to this configuration, since the detection pole of the multi-polar detection resolver having high resolution can be specified with high accuracy, the absolute rotation angle can be detected with higher accuracy.

【0070】[0070]

【発明の効果】以上詳述したように、請求項1〜請求項
4のいずれかに記載の発明によれば、原点復帰を行うた
めの被検出部及び被検出部検出センサの位置関係の調整
を行うことなく、原点復帰を確実に行うことができる。
As described in detail above, according to any one of the first to fourth aspects of the present invention, adjustment of the positional relationship between the detected part and the detected sensor for performing the home position return. Origin return can be performed without fail.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 第1の実施の形態のモータと回転角検出ユニ
ットのブロック図。
FIG. 1 is a block diagram of a motor and a rotation angle detection unit according to a first embodiment.

【図2】 モータの斜視図。FIG. 2 is a perspective view of a motor.

【図3】 回転角データと検出信号のグラフ。FIG. 3 is a graph of rotation angle data and a detection signal.

【図4】 同じく回転角データと検出信号のグラフ。FIG. 4 is also a graph of rotation angle data and a detection signal.

【図5】 同じく回転角データと検出信号のグラフ。FIG. 5 is also a graph of rotation angle data and a detection signal.

【図6】 原点設定処理のフローチャート。FIG. 6 is a flowchart of an origin setting process.

【図7】 原点復帰処理のフローチャート。FIG. 7 is a flowchart of a home position return process.

【図8】 第2の実施の形態の回転角データのグラフ。FIG. 8 is a graph of rotation angle data according to the second embodiment.

【図9】 同じく回転角データのグラフ。FIG. 9 is also a graph of rotation angle data.

【図10】 (a)原点設定処理のフローチャート、
(b)原点復帰処理のフローチャート。
FIG. 10A is a flowchart of an origin setting process;
(B) Flow chart of the origin return processing.

【図11】 従来例における回転角データと検出信号の
グラフ。
FIG. 11 is a graph of rotation angle data and a detection signal in a conventional example.

【図12】 同じく回転角データと検出信号のグラフ。FIG. 12 is also a graph of rotation angle data and a detection signal.

【図13】 同じく回転角データと検出信号のグラフ。FIG. 13 is a graph of rotation angle data and a detection signal.

【符号の説明】[Explanation of symbols]

1…ダイレクトドライブモータ、2…回転軸としての出
力軸、8…基準極決定手段、基準極設定手段、シフト値
算出手段、第1のシフト回転角データ算出手段、第2の
シフト回転角データ算出手段及び現在位置データ算出手
段としてのマイコン部、10…被検出部としての検出
板、11…検出手段としての近接センサ、D…回転角デ
ータ、DC …中央値、DN …データ数、DR …最大デー
タ値、DS1…第1のシフト回転角データ、DS2…第2の
シフト回転角データ、T1 …第1の検出極、T2 …第2
の検出極、θ1 …第1の回転角、θ2 …第2の回転角、
ΔD…データ差。
DESCRIPTION OF SYMBOLS 1 ... Direct drive motor, 2 ... Output shaft as a rotating shaft, 8 ... Reference pole determination means, reference pole setting means, shift value calculation means, 1st shift rotation angle data calculation means, 2nd shift rotation angle data calculation Microcomputer means as means and current position data calculation means, 10 detection plate as detected part, 11 proximity sensor as detection means, D rotation angle data, DC medium value, DN data number, DR maximum Data value, DS1... First shift rotation angle data, DS2... Second shift rotation angle data, T1... First detection pole, T2.
, The first rotation angle, θ2... The second rotation angle,
ΔD: Data difference.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多極検出レゾルバ(5)が設けられた回
転軸(2)とともに回動し、その回転軸(2)が予め設
定した回転角になったとき検出手段(11)にて検出さ
れる被検出部(10)を設け、前記検出手段(11)に
て前記被検出部(10)が検出されたときの回転角にお
ける前記多極検出レゾルバ(5)の検出極に基づいて原
点位置を設ける基準極を設定し、その基準極における回
転角データ(D)が予め設定した基準回転角データとな
る回転角を原点位置とする多極検出レゾルバにおける原
点復帰方法において、 原点復帰を行う前に、予め前記検出手段(11)にて前
記被検出部(10)を検出し、そのとき被検出部(1
0)が検出される第1の回転角(θ1 )において第1の
回転角データ(D1 )を出力する多極検出レゾルバ
(5)の第1の検出極(T1 )に基づいて前記基準極を
決定し、 原点復帰時において、改めて被検出部(10)が検出さ
れる第2の回転角(θ2 )において前記多極検出レゾル
バ(5)が出力する第2の回転角データ(D2)から前
記第1の回転角データ(D1 )を差し引いたデータ差
(ΔD)の大きさが、前記多極検出レゾルバ(5)の各
検出極の最大データ値(DR )の半分である中央値(D
C )以下であるときは、前記第2の回転角(θ2 )にお
ける多極検出レゾルバ(5)の検出極に基づいて前記基
準極を設定し、 前記データ差(ΔD)が正の値であり、その大きさが前
記中央値(DC )を超えるときは、前記第2の検出極
(T2 )の1つ後方の検出極に基づいて前記基準極を設
定し、 前記データ差(ΔD)が負の値であり、その大きさが前
記中央値(DC )を超えるときは、前記第2の検出極
(T2 )の1つ前方の検出極に基づいて前記基準極を設
定するようにした多極検出レゾルバにおける原点復帰方
法。
1. A detecting means (11) which rotates together with a rotating shaft (2) provided with a multi-pole detecting resolver (5), and detects when the rotating shaft (2) reaches a preset rotation angle. The detection unit (10) is provided, and the origin is determined based on the detection pole of the multi-pole detection resolver (5) at the rotation angle when the detection unit (10) is detected by the detection unit (11). A reference pole for setting a position is set, and the origin is returned in the origin return method in the multi-pole detection resolver in which the rotation angle at which the rotation angle data (D) at the reference pole becomes the preset reference rotation angle data is the origin position. Before the detection, the detection unit (10) is detected in advance by the detection unit (11).
0) is detected based on the first detection pole (T1) of the multi-pole detection resolver (5) which outputs the first rotation angle data (D1) at the first rotation angle (θ1) at which the reference pole is detected. At the time of origin return, the multi-pole detection resolver (5) outputs the second rotation angle data (D2) at the second rotation angle (θ2) at which the detected part (10) is detected again. The magnitude of the data difference (ΔD) obtained by subtracting the first rotation angle data (D1) is the median value (D) which is half of the maximum data value (DR) of each detection pole of the multipole detection resolver (5).
C) If not greater than, the reference pole is set based on the detection pole of the multi-pole detection resolver (5) at the second rotation angle (θ2), and the data difference (ΔD) is a positive value. When the magnitude exceeds the median value (DC), the reference pole is set based on the detection pole immediately behind the second detection pole (T2), and the data difference (.DELTA.D) is negative. If the magnitude exceeds the median value (DC), the multi-pole is set based on the detection pole one ahead of the second detection pole (T2). Origin return method for detection resolver.
【請求項2】 多極検出レゾルバ(5)が設けられる回
転軸(2)とともに回動する被検出部(10)と、 予め設定された回転角において前記被検出部(10)を
検出する検出手段(11)とを備え、 前記検出手段(11)にて被検出部(10)が検出され
たときの回転角における前記多極検出レゾルバ(5)の
検出極に基づいて原点位置を設ける基準極を設定し、こ
の基準極における回転角データ(D)が予め設定した基
準回転角データとなる回転角を原点位置とする多極検出
レゾルバの原点復帰装置において、 原点復帰を行う前に、検出手段(11)にて被検出部
(10)が検出される第1の回転角(θ1 )において第
1の回転角データ(D1 )を出力する多極検出レゾルバ
(5)の第1の検出極(T1 )に基づいて原点位置を設
定する基準極を決定する基準極決定手段(8)と、 原点復帰時において、改めて被検出部(10)が検出さ
れる第2の回転角(Dθ2 )において前記多極検出レゾ
ルバ(5)が出力する第2の回転角データ(D2 )から
前記第1の回転角データ(D1 )を差し引いたデータ差
(ΔD)を求め、 前記データ差(ΔD)の大きさが、多極検出レゾルバ
(5)の各検出極の最大データ値(DR )の半分である
中央値(DC )以下であるときは、前記第2の回転角
(θ2 )における多極検出レゾルバ(5)の第2の検出
極(T2 )に基づいて前記基準極を設定し、 前記データ差(ΔD)が正の値であり、その大きさが前
記中央値(DC )を超えるときは、前記第2の検出極
(T2 )の1つ後方の検出極に基づいて前記基準極を設
定し、 前記データ差(ΔD)が負の値であり、その大きさが前
記中央値(DC )を超えるときは、前記第2の検出極
(T2 )の1つ前方の検出極に基づいて前記基準極を設
定する基準極設定手段(8)とからなる多極検出レゾル
バの原点復帰装置。
2. A detection part (10) that rotates together with a rotation shaft (2) provided with a multi-pole detection resolver (5), and a detection part that detects the detection part (10) at a preset rotation angle. A reference for setting an origin position based on a detection pole of the multi-pole detection resolver (5) at a rotation angle when the detection target (10) is detected by the detection means (11). A pole is set, and the rotation angle data (D) at the reference pole is set to the reference rotation angle data set in advance. The first detection pole of the multi-pole detection resolver (5) that outputs the first rotation angle data (D1) at the first rotation angle (θ1) at which the detected portion (10) is detected by the means (11). Base for setting the origin position based on (T1) A reference pole determining means (8) for determining a pole; and a multi-pole detection resolver (5) output at a second rotation angle (Dθ2) at which a portion to be detected (10) is detected again at the time of origin return. The data difference (ΔD) obtained by subtracting the first rotation angle data (D1) from the rotation angle data (D2) of the second multi-pole detection resolver (5) is obtained. If it is less than the median value (DC) which is half of the maximum data value (DR) of the detection pole, the second detection pole (T2) of the multipole detection resolver (5) at the second rotation angle (.theta.2). If the data difference (ΔD) is a positive value and its magnitude exceeds the median value (DC), one of the second detection poles (T2) is set. The reference pole is set based on a rear detection pole, and the data difference (ΔD) is a negative value. If the magnitude exceeds the median value (DC), the reference pole setting means (8) sets the reference pole based on the detection pole one ahead of the second detection pole (T2). Origin return device for multi-pole detection resolver.
【請求項3】 多極検出レゾルバ(5)が設けられた回
転軸(2)とともに回動し、その回転軸(2)が予め設
定した回転角になったとき検出手段(11)にて検出さ
れる被検出部(10)を設け、前記検出手段(11)に
て前記被検出部(10)が検出されたときの回転角にお
ける前記多極検出レゾルバ(5)の検出極を原点位置を
設ける基準極とし、前記基準極における回転角データ
(D)を現在位置データとすることにより該基準極にお
ける回転角データが0となる回転角を原点位置とする多
極検出レゾルバにおける原点復帰方法において、 原点復帰を行う前に、予め前記検出手段(11)にて前
記被検出部(10)を検出し、そのとき被検出部(1
0)が検出される第1の回転角(θ1 )において第1の
回転角データ(D1 )を出力する多極検出レゾルバ
(5)の検出極(T1)を前記基準極とし、 多極検出レゾルバ(5)の各検出極のデータ数(DN )
の半分である中央値(DC )から、前記第1の回転角デ
ータ(D1 )を減じてなるシフト値(E)を算出し、 原点復帰時において、改めて被検出部(10)が検出さ
れる第2の回転角(θ2 )において前記多極検出レゾル
バ(5)が出力する第2の回転角データ(D2)に前記
シフト値(E)を加算してなる第1のシフト回転角デー
タ(DS1)を算出し、 前記第1のシフト回転角データ(DS1)が前記最大デー
タ値(DR )よりも大きいときは、第1のシフト回転角
データ(DS1)から前記データ数(DN )を減じた値で
あり、第1のシフト回転角データ(DS1)が0よりも小
さいときは、前記データ数(DN )に第1のシフト回転
角データ(DS1)を加算した値であり、又、第1のシフ
ト回転角データ(DS1)が前記最大データ値(DR )よ
りも小さいときは、第1のシフト回転角データ(DS1)
となる第2のシフト回転角データ(DS2)を算出し、 前記第2の回転角データ(DS2)から前記シフト値
(E)を減じた値を現在位置データとする多極検出レゾ
ルバにおける原点復帰方法。
3. A multi-pole detection resolver (5) is rotated together with a rotating shaft (2) provided with the rotating shaft (2), and the detecting means (11) detects when the rotating shaft (2) reaches a preset rotation angle. And a detection pole of the multi-pole detection resolver (5) at a rotation angle when the detection section (10) is detected by the detection means (11) is set to an origin position. An origin return method in a multi-pole detection resolver in which a rotation angle at which the rotation angle data at the reference pole becomes 0 by using the rotation angle data (D) at the reference pole as the current position data as a reference pole to be provided. Before performing the origin return, the detection unit (10) is detected in advance by the detection unit (11), and the detection unit (1)
0) is detected at the first rotation angle (θ1), and the detection pole (T1) of the multipole detection resolver (5) that outputs the first rotation angle data (D1) is set as the reference pole. (5) Number of data for each detection pole (DN)
The shift value (E) is calculated by subtracting the first rotation angle data (D1) from the median value (DC) which is half of the above, and the detected portion (10) is detected again when returning to the original position. First shift rotation angle data (DS1) obtained by adding the shift value (E) to second rotation angle data (D2) output from the multi-pole detection resolver (5) at a second rotation angle (θ2). When the first shift rotation angle data (DS1) is larger than the maximum data value (DR), the number of data (DN) is subtracted from the first shift rotation angle data (DS1). When the first shift rotation angle data (DS1) is smaller than 0, it is a value obtained by adding the first shift rotation angle data (DS1) to the number of data (DN). Is smaller than the maximum data value (DR). The first shift rotation angle data (DS1)
Origin return in a multi-pole detection resolver that calculates second shift rotation angle data (DS2) as the current position data and calculates a value obtained by subtracting the shift value (E) from the second rotation angle data (DS2). Method.
【請求項4】 多極検出レゾルバ(5)が設けられる回
転軸(2)とともに回動する被検出部(10)と、 予め設定された回転角において前記被検出部(10)を
検出する検出手段(11)とを備え、 前記検出手段(11)にて被検出部(10)が検出され
たときの回転角における前記多極検出レゾルバ(5)の
検出極を決定位置を設ける基準極とし、前記基準極にお
ける回転角データ(D)を現在位置データとすることに
より該基準極における回転角データが0となる回転角を
原点位置とする多極検出レゾルバの原点復帰装置におい
て、 原点復帰を行う前に、前記検出手段(11)にて被検出
部(10)が検出される第1の回転角(θ1 )において
第1の回転角データ(D1 )を出力する多極検出レゾル
バ(5)の第1の検出極(T1 )を原点位置を設定する
基準極とする基準極決定手段(8)と、 多極検出レゾルバ(5)の各検出極のデータ数(DN )
の半分である中央値(DC )から、前記第1の回転角デ
ータ(D1 )を減じてなるシフト値(E)を算出するシ
フト値算出手段(8)と、 原点復帰時において、改めて被検出部(10)が検出さ
れる第2の回転角(Dθ2 )において前記多極検出レゾ
ルバ(5)が出力する第2の回転角データ(DS2)に前
記シフト値(E)を加算してなる第1のシフト回転角デ
ータ(DS1)を算出する第1のシフト回転角データ算出
手段(8)と、 前記第1のシフト回転角データ(DS1)が前記最大デー
タ値(DR )よりも大きいときは、第1のシフト回転角
データ(DS19から前記データ数(DN )を減じた値で
あり、第1のシフト回転角データ(DS1)が0よりも小
さいときは、前記データ数(DN )に第1のシフト回転
角データ(DS1)を加算した値であり、第1のシフト回
転角データ(DS1)が前記最大データ値(DR )よりも
小さいときは、第1のシフト回転角データ(DS1)とな
る第2のシフト回転角データ(DS2)を算出する第2の
シフト回転角データ算出手段(8)と、 前記第2の回転角データ(DS2)から前記シフト値
(E)を減じた値を現在位置データとする現在位置デー
タ算出手段(8)とからなる多極検出レゾルバの原点復
帰装置。
4. A detection part (10) that rotates together with a rotation shaft (2) provided with a multi-pole detection resolver (5), and a detection that detects the detection part (10) at a preset rotation angle. Means (11), and a detection pole of the multi-pole detection resolver (5) at a rotation angle when the detection section (10) is detected by the detection means (11) is set as a reference pole for providing a determined position. An origin return device for a multi-pole detection resolver having a rotation angle at which the rotation angle data at the reference pole becomes zero as an origin position by using the rotation angle data (D) at the reference pole as current position data; Before the detection, the multi-pole detection resolver (5) which outputs the first rotation angle data (D1) at the first rotation angle (θ1) at which the detection unit (10) is detected by the detection means (11). From the first detection pole (T1) A reference electrode determining means for the reference electrode to set the position (8), multi-pole sensing resolver (5) of the number of data of each detection electrode (DN)
Shift value calculating means (8) for calculating a shift value (E) obtained by subtracting the first rotation angle data (D1) from a median value (DC) which is half of the above. The second shift angle (E) is added to the second rotation angle data (DS2) output by the multi-pole detection resolver (5) at the second rotation angle (Dθ2) at which the section (10) is detected. A first shift rotation angle data calculating means (8) for calculating one shift rotation angle data (DS1); and a case where the first shift rotation angle data (DS1) is larger than the maximum data value (DR). , The first shift rotation angle data (DS19 is a value obtained by subtracting the number of data (DN) from the data, and if the first shift rotation angle data (DS1) is smaller than 0, the number of data (DN) 1 is the value obtained by adding the shift rotation angle data (DS1) of 1. When the first shift rotation angle data (DS1) is smaller than the maximum data value (DR), the second shift rotation angle data (DS2) that becomes the first shift rotation angle data (DS1) is calculated. 2 shift rotational angle data calculating means (8), and current position data calculating means (8) which uses the value obtained by subtracting the shift value (E) from the second rotational angle data (DS2) as current position data. A multi-pole detection resolver origin return device.
JP8025635A 1996-02-13 1996-02-13 Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver Expired - Fee Related JP3009620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8025635A JP3009620B2 (en) 1996-02-13 1996-02-13 Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8025635A JP3009620B2 (en) 1996-02-13 1996-02-13 Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver

Publications (2)

Publication Number Publication Date
JPH09219963A JPH09219963A (en) 1997-08-19
JP3009620B2 true JP3009620B2 (en) 2000-02-14

Family

ID=12171324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8025635A Expired - Fee Related JP3009620B2 (en) 1996-02-13 1996-02-13 Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver

Country Status (1)

Country Link
JP (1) JP3009620B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0556739B1 (en) * 1992-02-20 1998-07-08 Hitachi, Ltd. Gate turn-off thyristor and power convertor using the same
WO2011010516A1 (en) * 2009-07-24 2011-01-27 トヨタ自動車株式会社 Rotation angle detection device
CN112838726B (en) * 2021-02-09 2025-05-02 台州市路桥鼎新阳光机电科技有限公司 A motor winding machine capable of automatically detecting the starting position of the core winding

Also Published As

Publication number Publication date
JPH09219963A (en) 1997-08-19

Similar Documents

Publication Publication Date Title
US7548039B2 (en) Motor control unit
US6826499B2 (en) Method and apparatus for calibrating and initializing an electronically commutated motor
JP4900473B2 (en) Absolute value encoder device and multi-rotation detection method
CN102612802B (en) Rotation angle calculation apparatus and rotation angle calculation method
JPH09121584A (en) Magnetic pole position detecting device and brushless DC motor driving device using the same
US10623213B2 (en) Method of determining a direction of rotation and valid transitions of quadrature pulses
JP5172833B2 (en) AC servo motor rotational position detection method and simple encoder
JP3009620B2 (en) Home position return method for multi-pole detection resolver and home position return device for multi-pole detection resolver
JP2004187396A (en) Control device for permanent magnet synchronous motor
US11463028B2 (en) Control device and control method for actuator
JP4027721B2 (en) Speed control device for brushless motor
JP2010200435A (en) Device for detection of motor angle
JP2004020198A (en) Rotary body rotational position detecting device and rotary body control device
JP2020190499A (en) Encoder device
CN112398368A (en) EC motor with lower energy consumption in static mode
JP7635670B2 (en) Rotating electric machine control method and rotating electric machine control system
JP2003009579A (en) Motor control device and control method
CN110299883B (en) Control method of permanent magnet synchronous motor based on Hall position sensor
JPWO2011132411A1 (en) Motor control device, motor control method, motor system, and program
JP2000050664A (en) Motor control device
JP2020046709A (en) Servo control device and servo system
JPH0644320Y2 (en) Synchronous motor controller
JPH10281809A (en) Position detection device and motor control device
CN120301281A (en) Initial position identification method of robot joint motor using single incremental position sensor
CN119834656A (en) Hall sensor angle automatic compensation circuit and method for brushless direct current motor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071203

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081203

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091203

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101203

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees