JP7272888B2 - Rotation detector and motor drive device for detecting rotation information of rotating body - Google Patents

Rotation detector and motor drive device for detecting rotation information of rotating body Download PDF

Info

Publication number
JP7272888B2
JP7272888B2 JP2019133761A JP2019133761A JP7272888B2 JP 7272888 B2 JP7272888 B2 JP 7272888B2 JP 2019133761 A JP2019133761 A JP 2019133761A JP 2019133761 A JP2019133761 A JP 2019133761A JP 7272888 B2 JP7272888 B2 JP 7272888B2
Authority
JP
Japan
Prior art keywords
rotation
rotation information
analog
rotating body
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019133761A
Other languages
Japanese (ja)
Other versions
JP2021018136A (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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2019133761A priority Critical patent/JP7272888B2/en
Publication of JP2021018136A publication Critical patent/JP2021018136A/en
Application granted granted Critical
Publication of JP7272888B2 publication Critical patent/JP7272888B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Description

本発明は、回転体の回転情報を検出する回転検出器及びモータ駆動装置に関する。 The present invention relates to a rotation detector and a motor driving device for detecting rotation information of a rotating body.

工作機械やロボットなどに設けられるモータや回転軸などの回転位置や回転速度などの回転情報を検出するために、回転検出器が用いられる。回転検出器では、回転体に設けられたセンサから回転体の回転に応じて出力される、位相が互いに異なる2相(A相及びB相)のアナログ信号のそれぞれを、周期的に(すなわち一定間隔ごとに)アナログディジタル(AD)変換し、このアナログディジタル変換処理により得られた2相のディジタル信号に基づいて、回転体の回転位置(回転角度)また回転速度に関する回転情報を計算している。回転検出器が取得した回転情報に基づいて回転体の回転を制御する機械装置においては、2相のアナログ信号のそれぞれに対する周期的なアナログディジタル変換処理の実行により、常に最新のディジタル信号を用いて回転情報を計算することができるので、回転体の回転の制御を高精度に行うことができる。例えば、モータ駆動装置においては、モータの回転子の回転情報を検出するための回転検出器が回転子近傍に設けられ、回転検出器が検出した回転情報に基づいて、モータの回転子の回転が制御される。 2. Description of the Related Art Rotation detectors are used to detect rotation information such as rotational positions and rotational speeds of motors and rotary shafts provided in machine tools and robots. In the rotation detector, analog signals of two phases (A phase and B phase) with different phases, which are output according to the rotation of the rotating body from a sensor provided on the rotating body, are periodically (that is, constant Each interval) is analog-to-digital (AD) converted, and based on the two-phase digital signals obtained by this analog-to-digital conversion processing, rotational information regarding the rotational position (rotational angle) and rotational speed of the rotating body is calculated. . In a mechanical device that controls the rotation of a rotating body based on the rotation information obtained by a rotation detector, the latest digital signal is always used by periodically performing analog-to-digital conversion processing on each of the two-phase analog signals. Since the rotation information can be calculated, the rotation of the rotating body can be controlled with high accuracy. For example, in a motor drive device, a rotation detector for detecting rotation information of the rotor of the motor is provided near the rotor, and the rotation of the rotor of the motor is detected based on the rotation information detected by the rotation detector. controlled.

また、回転体に設けられるセンサとして、回転体の回転に応じて周期的に出力される2相(A相及びB相)のアナログ信号に加え、回転体が特定の回転位置に到達したことを示す基準位置信号をさらに出力するものがある。この基準位置信号が出力されるタイミングは、周期的に取得される回転情報の精度を高めるための基準となる回転情報(基準回転情報)を取得するタイミングとして用いられる。基準位置信号として、例えば、回転体が一回転するごとにセンサから出力される一回転信号がある。 In addition, as a sensor provided on the rotating body, in addition to two-phase (A phase and B phase) analog signals that are periodically output according to the rotation of the rotating body, Some further output a reference position signal shown. The timing at which the reference position signal is output is used as the timing for acquiring rotation information (reference rotation information) that serves as a reference for increasing the accuracy of periodically acquired rotation information. As the reference position signal, for example, there is a one-rotation signal output from the sensor each time the rotating body makes one rotation.

回転検出器において、回転体が特定の回転位置に到達した時点すなわちセンサから基準位置信号が出力された時点で、当該センサから出力された2相(A相及びB相)のアナログ信号のそれぞれをアナログディジタル変換し、このとき得られるディジタル信号に基づいて回転体の基準回転位置または基準回転速度に関する基準回転情報を取得する。回転検出器において、基準回転情報は、これとは別に周期的に取得される回転情報の相対的な基準となる目安として用いられる。基準回転情報に基づいて、周期的に取得される回転情報を適宜調整することで、回転検出器の回転検出精度を高めることができる。 In the rotation detector, when the rotating body reaches a specific rotational position, that is, when the reference position signal is output from the sensor, each of the two-phase (A-phase and B-phase) analog signals output from the sensor is detected. Analog-to-digital conversion is performed, and reference rotation information regarding the reference rotation position or reference rotation speed of the rotating body is acquired based on the digital signal obtained at this time. In the rotation detector, the reference rotation information is used as a relative reference measure of the rotation information obtained separately periodically. By appropriately adjusting the periodically obtained rotation information based on the reference rotation information, the rotation detection accuracy of the rotation detector can be improved.

例えば、回転子と、該回転子に対向して固定されていて磁界を発生する磁界発生体と、前記回転子と前記磁界発生体との間に配置されていて前記回転子の回転に基づく前記磁界の変化に応じた信号を検出する検出部とを含む回転検出器において、前記回転子は、1つまたは複数の段を有する第一円筒部分と、1つまたは複数の段を有していて前記第一円筒部分に同軸で軸方向に偏倚して配置された第二円筒部分とを含んでおり、前記第二円筒部分は、前記第一円筒部分よりも周方向の幅が狭い第一部分周面と、該第一部分周面の半径よりも小さい半径を有する第二部分周面とを含んでおり、さらに、前記回転子は、前記第一円筒部分のそれぞれの段に形成された複数の歯部を含む第一被検出部と、前記第一被検出部の歯部と同位相で且つ同一の歯型寸法緒元を有していて、前記第二円筒部分の前記第一部分周面に形成された少なくとも一つの歯部を含む第二被検出部とを具備し、前記第二円筒部分の前記少なくとも一つの歯部と、該少なくとも一つの歯部に対応する前記第一円筒部分の歯部は機械加工により一度に形成されることを特徴とする回転検出器が知られている(例えば、特許文献1参照。)。 For example, a rotor, a magnetic field generator that is fixed opposite to the rotor and generates a magnetic field, and the magnetic field generator that is arranged between the rotor and the magnetic field generator and based on the rotation of the rotor. and a detector for detecting a signal in response to a change in the magnetic field, wherein the rotor has a first cylindrical portion having one or more stages and one or more stages. a second cylindrical portion disposed coaxially with and axially offset from said first cylindrical portion, said second cylindrical portion having a first circumferential width narrower than said first cylindrical portion; a surface and a second circumferential portion having a radius less than the radius of the first circumferential portion; and the rotor includes a plurality of teeth formed on respective stages of the first cylindrical portion. and a first detected portion having the same phase and the same tooth profile dimensions as the tooth portion of the first detected portion, and formed on the first portion peripheral surface of the second cylindrical portion and a second detected portion including at least one tooth that has been set, the at least one tooth of the second cylindrical portion and the tooth of the first cylindrical portion that corresponds to the at least one tooth. is formed at once by machining (see, for example, Patent Document 1).

上述した以外にも、モータや回転軸などの回転情報を検出する回転検出器としては、種々のものが知られている。 In addition to the above, various types of rotation detectors for detecting rotation information of motors, rotating shafts, etc. are known.

例えば、駆動部を駆動するための位置を制御する位置制御装置であって、駆動部の駆動に応じた信号を生成する信号生成手段と、前記信号生成手段が生成した信号から逓倍信号を生成する逓倍手段と、前記逓倍手段の逓倍数を変更する変更手段とを備え、前記変更手段は逓倍数を変更する前後で前記逓倍手段が生成する逓倍信号の位相をそろえることを特徴とする位置制御装置が知られている(例えば、特許文献2参照。)。 For example, a position control device for controlling a position for driving a drive section includes signal generation means for generating a signal corresponding to the drive of the drive section, and a multiplied signal generated from the signal generated by the signal generation means. A position control apparatus comprising: multiplication means; and change means for changing the multiplication number of said multiplication means, wherein said change means aligns the phases of the multiplied signals generated by said multiplication means before and after changing the multiplication number. is known (see, for example, Patent Document 2).

例えば、光の反射特性または透過特性が互いに異なる第一のスケールおよび第二のスケールを備え、モータと連動して回転するコードホイールと、前記コードホイールに光を照射する光源と、前記光源が発し前記第二のスケールで反射または透過された光に基づいて前記モータの原点位置を検出する検出手段と、前記光源が発し前記第一のスケールおよび前記第二のスケールで反射または透過された光と、前記検出手段の検出した原点位置に基づいて前記モータの絶対位置を決定する決定手段と、を備えることを特徴とするモータ制御装置が知られている(例えば、特許文献3参照。)。 For example, a code wheel provided with a first scale and a second scale having different light reflection characteristics or light transmission characteristics and rotating in conjunction with a motor, a light source for irradiating the code wheel with light, and a detection means for detecting the origin position of the motor based on the light reflected or transmitted by the second scale; and light emitted by the light source and reflected or transmitted by the first scale and the second scale. and determining means for determining the absolute position of the motor based on the origin position detected by the detecting means (see, for example, Patent Document 3).

特開2013-53990号公報JP 2013-53990 A 特開2016-80547号公報JP 2016-80547 A 特開2013-246054号公報JP 2013-246054 A

上述の基準位置信号を用いて基準回転情報が取得される回転検出器においては、2相のアナログ信号(A相信号及びB相信号)をそれぞれアナログディジタル変換処理するために、A相及びB相それぞれについて1個のAD(アナログディジタル)変換部が設けられる。すなわち、2相のアナログ信号のそれぞれについて、1個のAD変換部によりアナログディジタル変換処理が実行される。より詳細には、A相及びB相の各相ごとに設けられるAD変換部はそれぞれ、周期的に(すなわち一定間隔ごとに)回転体の回転情報を取得するために周期的に実行されるアナログディジタル変換処理、及び、回転体の基準回転情報を取得するために基準位置信号検出時(回転子の特定の回転位置到達時)に実行されるアナログディジタル変換処理、の両方を実行する。このため、周期的に実行されるアナログディジタル変換処理の合間に、基準位置信号検出時のアナログディジタル変換処理が割り込むことになる。AD変換部によるアナログディジタル変換処理には、数μ秒オーダー程度の時間を要するので、基準位置信号の検出のタイミングによっては、周期的なアナログディジタル変換処理の実行タイミングと基準位置信号検出時のアナログディジタル変換処理の実行タイミングとが時間的に重なることがある。A相及びB相それぞれについて1個のAD変換部を有する回転検出器においては、上述のように実行タイミングが重なった場合は、基準位置信号検出時のアナログディジタル変換処理の実行が優先され、周期的なアナログディジタル変換処理は実行できない。この場合、さらに以前に実行されたアナログディジタル変換処理により得られたディジタル信号に基づいて、等速補間などの推定処理により、回転体の回転情報を取得しなければならないので、回転検出器の検出精度が低下するという課題がある。特に回転体の加速度が大きい状態は、回転検出器の検出精度の低下はより顕著である。 In the rotation detector that acquires the reference rotation information using the reference position signal described above, the A-phase and B-phase One AD (analog-to-digital) converter is provided for each. That is, analog-to-digital conversion processing is executed by one AD converter for each of the two-phase analog signals. More specifically, the AD converters provided for each of the A phase and the B phase are periodically executed (ie, at regular intervals) to acquire the rotation information of the rotating body. It performs both digital conversion processing and analog-to-digital conversion processing that is executed when a reference position signal is detected (when the rotor reaches a specific rotational position) to obtain reference rotation information of the rotating body. Therefore, the analog-to-digital conversion processing at the time of detection of the reference position signal interrupts between analog-to-digital conversion processing that is performed periodically. Since the analog-to-digital conversion processing by the AD conversion section requires time on the order of several microseconds, depending on the timing of detection of the reference position signal, the execution timing of the periodic analog-to-digital conversion processing and the analog conversion processing at the time of detection of the reference position signal may vary. The execution timing of the digital conversion process may temporally overlap. In the rotation detector having one AD conversion unit for each of the A phase and the B phase, when the execution timings overlap as described above, priority is given to the execution of the analog-to-digital conversion processing when the reference position signal is detected. typical analog-to-digital conversion processing cannot be performed. In this case, the rotation information of the rotating body must be obtained by estimation processing such as uniform velocity interpolation based on the digital signal obtained by the previously executed analog-to-digital conversion processing. There is a problem that the accuracy is lowered. In particular, when the acceleration of the rotating body is large, the decrease in detection accuracy of the rotation detector is more pronounced.

したがって、回転体の回転に応じて出力される位相が互いに異なる2相のアナログ信号のそれぞれに対して、1個のAD変換部により、周期的なアナログディジタル変換処理及び回転子の特定の回転位置到達時のアナログディジタル変換処理の両方が実行される回転検出器において、回転体の回転位置または回転速度に関する回転情報を高精度に検出できるようにすることが望まれている。 Therefore, for each of the two-phase analog signals output in accordance with the rotation of the rotating body and having different phases, a single AD converter performs periodic analog-to-digital conversion processing and specific rotational position of the rotor. In a rotation detector that performs both analog-to-digital conversion processing upon arrival, it is desired to be able to detect rotation information regarding the rotational position or rotational speed of the rotating body with high accuracy.

本開示の一態様によれば、回転体の回転情報を検出する回転検出器は、回転体の回転に応じて回転体に設けられたセンサから出力された位相が互いに異なる2相のアナログ信号を、ディジタル信号に変換して出力する、アナログディジタル変換処理を実行するAD変換部と、一周期ごとに、AD変換部から出力されたディジタル信号に基づいて回転体の回転位置または回転速度に関する通常回転情報を取得し、回転体が特定の回転位置に到達するごとに、AD変換部から出力されたディジタル信号に基づいて回転体の基準回転位置または基準回転速度に関する基準回転情報を取得する回転情報取得部と、回転体が特定の回転位置に到達するごとにセンサから出力される基準位置信号を検出する基準位置信号検出部と、基準位置信号検出部が基準位置信号を検出したときに実行されるアナログディジタル変換処理である第1のアナログディジタル変換処理の実行タイミングと、回転情報取得部が通常回転情報を取得するために用いられるディジタル信号を出力するために実行されるアナログディジタル変換処理である第2のアナログディジタル変換処理の実行タイミングと、が時間的に重なるか否かを判定する判定部と、を備え、AD変換部は、一周期中に、アナログディジタル変換処理を複数回実行し、AD変換部は、基準位置信号検出部が基準位置信号を検出したとき、アナログディジタル変換処理を実行して、回転情報取得部が基準回転情報を取得するために用いられるディジタル信号を出力し、AD変換部は、判定部により第1のアナログディジタル変換処理の実行タイミングと第2のアナログディジタル変換処理の実行タイミングとが時間的に重なると判定された場合、第2のアナログディジタル変換処理は実行せずに第1のアナログディジタル変換処理を実行する。 According to one aspect of the present disclosure, a rotation detector that detects rotation information of a rotating body receives two-phase analog signals with different phases output from a sensor provided on the rotating body according to the rotation of the rotating body. , an AD conversion unit that performs analog-to-digital conversion processing to convert to a digital signal and output; Rotation information acquisition for acquiring information and obtaining reference rotation information regarding a reference rotation position or a reference rotation speed of the rotation body based on the digital signal output from the AD conversion unit each time the rotation body reaches a specific rotation position. a reference position signal detector that detects a reference position signal output from a sensor each time the rotating body reaches a specific rotational position; and a reference position signal detector that is executed when the reference position signal is detected. The execution timing of the first analog-to-digital conversion processing, which is an analog-to-digital conversion processing, and the first analog-to-digital conversion processing, which is an analog-to-digital conversion processing executed for outputting a digital signal used by the rotation information acquisition unit to acquire normal rotation information. and a determination unit that determines whether or not the execution timing of the analog-to-digital conversion processing of 2 overlaps in terms of time . When the reference position signal detection unit detects the reference position signal, the conversion unit executes analog-to-digital conversion processing, outputs a digital signal used by the rotation information acquisition unit to acquire the reference rotation information, and performs AD conversion. The unit does not execute the second analog-to-digital conversion processing when the determination unit determines that the execution timing of the first analog-to-digital conversion processing overlaps with the execution timing of the second analog-to-digital conversion processing. , a first analog-to-digital conversion process is executed .

本開示の一態様によれば、回転体の回転に応じて出力される位相が互いに異なる2相のアナログ信号のそれぞれに対して、1個のAD変換部により、周期的なアナログディジタル変換処理及び回転子の特定の回転位置到達時のアナログディジタル変換処理の両方が実行される回転検出器において、回転体の回転位置または回転速度に関する回転情報を高精度に検出することができる。 According to one aspect of the present disclosure, one AD conversion unit performs periodic analog-to-digital conversion processing and Rotation information relating to the rotational position or rotational speed of the rotor can be detected with high precision in the rotation detector that performs both analog-to-digital conversion processing when the rotor reaches a specific rotational position.

本開示の実施形態による回転検出器を示すブロック図である。FIG. 2 is a block diagram illustrating a rotation detector according to embodiments of the present disclosure; 回転体に設けられる磁気式のセンサを示す図であって、(A)は、センサの斜視図であり、(B)はセンサの側面図である。It is a figure which shows the magnetic sensor provided in a rotating body, (A) is a perspective view of a sensor, (B) is a side view of a sensor. 位相が互いに約90度異なる2相のアナログ信号に基づく回転体の回転位置の取得処理を説明する図であって、(A)は図2のセンサから出力されるA相信号及びB相信号を示し、(B)はA相信号及びB相信号を所定のレベルでコンパレートして得られるコンパレータ信号を示し、(C)はAB座標平面上の回転体の回転位置を示す。3A is a diagram for explaining the process of acquiring the rotational position of a rotating body based on two-phase analog signals whose phases are different from each other by about 90 degrees, FIG. (B) shows a comparator signal obtained by comparing the A-phase signal and B-phase signal at a predetermined level, and (C) shows the rotational position of the rotor on the AB coordinate plane. 図2のセンサから出力される一回転信号を例示する図である。3 is a diagram illustrating a one-rotation signal output from the sensor of FIG. 2; FIG. 従来の回転検出器におけるAD変換処理及び回転情報取得処理の実行タイミングを例示する図である。FIG. 10 is a diagram illustrating execution timings of AD conversion processing and rotation information acquisition processing in a conventional rotation detector; 本開示の実施形態による回転検出器におけるAD変換処理及び回転情報取得処理の実行タイミングを例示する図である。FIG. 5 is a diagram illustrating execution timings of AD conversion processing and rotation information acquisition processing in the rotation detector according to the embodiment of the present disclosure; 本開示の実施形態による回転検出器における回転情報取得部の補間による推定処理を説明する図であって、(A)はAD変換処理及び回転情報取得処理の実行タイミングを例示し、(B)は補間による推定処理に直線近似を用いた場合を示す。FIG. 4 is a diagram for explaining estimation processing by interpolation of a rotation information acquisition unit in a rotation detector according to an embodiment of the present disclosure, (A) exemplifying execution timings of AD conversion processing and rotation information acquisition processing, and (B) A case where linear approximation is used for estimation processing by interpolation is shown. 本開示の実施形態による回転検出器におけるAD変換部により得られる1相分のディジタル信号のデータ構成を例示する図である。4 is a diagram illustrating a data configuration of a digital signal for one phase obtained by an AD converter in the rotation detector according to the embodiment of the present disclosure; FIG. 本開示の実施形態による回転検出器を備えるモータ駆動装置を示すブロック図である。1 is a block diagram illustrating a motor drive with a rotation detector according to an embodiment of the present disclosure; FIG.

以下図面を参照して、回転体の回転情報を検出する回転検出器及びこれを備えるモータ駆動装置について説明する。しかしながら、本発明は、図面又は以下に説明される実施形態に限定されるものではないことを理解されたい。また、以下の説明において、回転位置は、回転体の回転角度を意味し、回転速度は、回転体の回転角速度を意味する。 A rotation detector for detecting rotation information of a rotating body and a motor drive device including the same will be described below with reference to the drawings. However, it should be understood that the invention is not limited to the drawings or the embodiments described below. Further, in the following description, the rotational position means the rotational angle of the rotating body, and the rotational speed means the rotational angular velocity of the rotating body.

図1は、本開示の実施形態による回転検出器を示すブロック図である。 FIG. 1 is a block diagram illustrating a rotation detector according to an embodiment of the present disclosure; FIG.

回転体50の回転情報を検出する回転検出器1は、AD変換部11と、回転情報取得部12と、基準位置信号検出部13と、判定部14とを備える。 A rotation detector 1 for detecting rotation information of a rotating body 50 includes an AD conversion section 11 , a rotation information acquisition section 12 , a reference position signal detection section 13 and a determination section 14 .

回転情報の検出対象である回転体50には、センサ21が設置される。センサ21は、回転体50の回転に応じて位相が互いに異なる2相のアナログ信号であるA相信号及びB相信号を出力する。A相信号とB相信号との間で、位相は例えば約90度異なる。センサ21から出力されたA相信号及びB相信号は、AD変換部11へ送られる。また、センサ21は、A相信号及びB相信号とは別に、回転体50が特定の回転位置に到達する度にパルス状の基準位置信号を出力する。すなわち、回転体50が特定の回転位置に到達する度に、基準位置信号では「ロー(L)、ハイ(H)、ロー(L)」の信号変化が発生する。本明細書において、「基準位置信号を出力する」は、「基準位置信号においてロー(L)、ハイ(H)、ロー(L)の信号変化が発生する」と同義である。なお、回転体50が特定の回転位置に到達する度に「ハイ(H)、ロー(L)、ハイ(H)」の信号変化が発生する基準位置信号出力するものを、センサ21として用いてもよく、この場合、以下の説明は、「ロー(L)、ハイ(H)、ロー(L)」を「ハイ(H)、ロー(L)、ハイ(H)」に読み替えて適用される。 A sensor 21 is installed on the rotating body 50 from which rotation information is detected. The sensor 21 outputs an A-phase signal and a B-phase signal, which are two-phase analog signals having different phases according to the rotation of the rotating body 50 . The phases of the A-phase signal and the B-phase signal differ by about 90 degrees, for example. The A-phase signal and B-phase signal output from the sensor 21 are sent to the AD converter 11 . In addition to the A-phase signal and the B-phase signal, the sensor 21 outputs a pulse-like reference position signal each time the rotor 50 reaches a specific rotational position. That is, every time the rotating body 50 reaches a specific rotational position, the reference position signal undergoes a signal change of "low (L), high (H), low (L)". In this specification, "to output a reference position signal" has the same meaning as "a signal change of low (L), high (H), and low (L) occurs in the reference position signal". As the sensor 21, the sensor 21 outputs a reference position signal that generates a signal change of "high (H), low (L), high (H)" each time the rotating body 50 reaches a specific rotational position. In this case, the following description applies by replacing "low (L), high (H), low (L)" with "high (H), low (L), high (H)". .

回転体50の特定の回転位置は、回転体50の1回転中において1か所設けられてもよく、あるいは、複数箇所設けられてもよい。例えば、基準位置信号のための回転体50の特定の回転位置が回転体50の1回転中において1か所設けられる場合、当該基準位置信号は、回転体50が1回転するごとにセンサ21から出力される一回転信号となる。この場合、回転体50が1回転するごとに基準位置信号(一回転信号)においてロー(L)、ハイ(H)、ロー(L)の信号変化が1回だけ発生する。また例えば、基準位置信号のための回転体50の特定の回転位置が回転体50の1回転中において複数箇所設けられる場合、当該基準位置信号は、回転体50の1回転中にセンサ21からが複数回出力されることになる。この場合、回転体50が1回転するごとに基準位置信号においてロー(L)、ハイ(H)、ロー(L)の信号変化が複数回(すなわち特定の回転位置の個数回)だけ発生する。 The specific rotational position of the rotating body 50 may be provided at one position during one rotation of the rotating body 50, or may be provided at a plurality of positions. For example, when one specific rotational position of the rotating body 50 for the reference position signal is provided during one rotation of the rotating body 50, the reference position signal is sent from the sensor 21 each time the rotating body 50 makes one rotation. This is the one-rotation signal to be output. In this case, the reference position signal (single-rotation signal) changes low (L), high (H), and low (L) only once each time the rotating body 50 makes one rotation. Further, for example, when a plurality of specific rotational positions of the rotating body 50 for the reference position signal are provided during one rotation of the rotating body 50, the reference position signal is generated from the sensor 21 during one rotation of the rotating body 50. It will be output multiple times. In this case, each time the rotating body 50 makes one rotation, the reference position signal changes from low (L) to high (H) to low (L) a plurality of times (that is, the number of specific rotation positions).

センサ21から出力された基準位置信号は、基準位置信号検出部13へ送られる。センサ21自体は、本実施形態を限定するものではなく、磁気式であっても光学式であってもよい。なお、センサ21の具体例については後述する。 A reference position signal output from the sensor 21 is sent to the reference position signal detector 13 . The sensor 21 itself is not a limitation of this embodiment and may be magnetic or optical. A specific example of the sensor 21 will be described later.

基準位置信号検出部13は、回転体50が特定の回転位置に到達するごとにセンサ21から出力される基準位置信号を検出する。本明細書において、「基準位置信号を検出する」は、「基準位置信号においてロー(L)、ハイ(H)、ロー(L)の信号変化を検出する」と同義である。 The reference position signal detector 13 detects a reference position signal output from the sensor 21 each time the rotating body 50 reaches a specific rotational position. In this specification, "detecting the reference position signal" has the same meaning as "detecting low (L), high (H), and low (L) signal changes in the reference position signal".

AD(アナログディジタル)変換部11は、回転体50の回転に応じて回転体50に設けられたセンサ21から出力された位相が互いに異なる2相のアナログ信号(A相信号及びB相信号)のそれぞれを、ディジタル信号に変換して出力する。AD変換部11は、A相信号に対してアナログディジタル変換処理を実行するAD(アナログディジタル)変換器と、B相信号に対してアナログディジタル変換処理を実行するAD(アナログディジタル)変換器とが別個に設けられるが、図1では、これら2つのAD変換器をまとめてAD変換部11として表記している。AD変換部11によるアナログディジタル変換処理(以下、「AD変換処理」と称する。)により得られたディジタル信号は、回転情報取得部12へ送られる。 The AD (analog-to-digital) converter 11 converts two-phase analog signals (A-phase signal and B-phase signal) output from the sensor 21 provided on the rotating body 50 according to the rotation of the rotating body 50 and having mutually different phases. Each of them is converted into a digital signal and output. The AD converter 11 includes an AD (analog-to-digital) converter that performs analog-to-digital conversion processing on the A-phase signal and an AD (analog-to-digital) converter that performs analog-to-digital conversion processing on the B-phase signal. Although provided separately, these two AD converters are collectively indicated as an AD converter 11 in FIG. A digital signal obtained by analog-to-digital conversion processing (hereinafter referred to as “AD conversion processing”) by the AD conversion section 11 is sent to the rotation information acquisition section 12 .

AD変換部11によるAD変換処理には、基準となる回転情報の取得のために回転体50が特定の回転位置に到達するごとに実行される第1のAD変換処理と、通常の回転情報の取得のために周期的に実行される第2のAD変換処理と、の合計2種類がある。例えば、基準位置信号のための回転体50の特定の回転位置が回転体50の1回転中において1か所設けられる場合、第1のAD変換処理はセンサ21から一回転信号が出力される度に実行される。以下、基準となる回転情報を「基準回転情報」と称し、通常の回転情報を「通常回転情報」と称する。基準回転情報は、回転体50の基準となる回転位置(以下、「基準回転位置」と称する。)または基準となる回転速度(以下、「基準回転速度」と称する。)に関する情報である。また、通常回転情報は、回転体50の通常の回転位置(以下、「通常回転位置」と称する。)または通常の回転速度(以下、「通常回転速度」と称する。)に関する情報である。 AD conversion processing by the AD conversion unit 11 includes a first AD conversion processing that is executed each time the body of rotation 50 reaches a specific rotational position for obtaining reference rotation information, and a normal rotation information processing. and a second AD conversion process that is periodically executed for acquisition. For example, if one specific rotational position of the rotating body 50 for the reference position signal is provided during one rotation of the rotating body 50, the first AD conversion process is performed every time the one-rotation signal is output from the sensor 21. is executed. Hereinafter, reference rotation information will be referred to as "reference rotation information", and normal rotation information will be referred to as "normal rotation information". The reference rotation information is information about a reference rotation position (hereinafter referred to as "reference rotation position") or a reference rotation speed (hereinafter referred to as "reference rotation speed") of the rotor 50. The normal rotation information is information about the normal rotation position (hereinafter referred to as "normal rotation position") or normal rotation speed (hereinafter referred to as "normal rotation speed") of the rotating body 50.

回転検出器1において、基準回転情報は、これとは別に周期的に取得される通常回転情報の相対的な基準となる目安として用いられる。すなわち、基準回転情報に基づいて、周期的に取得される通常回転情報を適宜調整することで、回転検出器1の回転検出精度を高めることができる。なお、図1では図示を省略したが、回転検出器1は、基準回転情報に基づいて通常回転情報を調整する調整部をさらに備えてもよい。 In the rotation detector 1, the reference rotation information is used as a relative reference for the normal rotation information obtained separately from this. That is, the rotation detection accuracy of the rotation detector 1 can be increased by appropriately adjusting the normal rotation information obtained periodically based on the reference rotation information. Although not shown in FIG. 1, the rotation detector 1 may further include an adjustment unit that adjusts the normal rotation information based on the reference rotation information.

本実施形態では、AD変換部11は、後述する回転情報取得部12による通常回転情報の取得周期(以下、「通常回転情報取得周期」と称する。)の一周期中に、通常回転情報の取得のための第2のAD変換処理を、複数回実行する。また、基準位置信号検出部13は、基準位置信号を検出したとき、AD変換部11に対して第1のAD変換処理を実行するよう指令し、この指令を受けて、AD変換部11は、センサ21から受信したA相信号及びB相信号のそれぞれに対して第1のAD変換処理を実行して2相のディジタル信号を得て回転情報取得部12へ出力する。 In the present embodiment, the AD conversion unit 11 obtains normal rotation information during one cycle of normal rotation information acquisition by the rotation information acquisition unit 12, which will be described later (hereinafter referred to as "normal rotation information acquisition cycle"). is executed a plurality of times. Further, when the reference position signal detection unit 13 detects the reference position signal, it instructs the AD conversion unit 11 to perform the first AD conversion processing. A first AD conversion process is performed on each of the A-phase signal and the B-phase signal received from the sensor 21 to obtain a two-phase digital signal, which is output to the rotation information acquisition unit 12 .

なお、第1のAD変換処理と第2のAD変換処理とは、回転体50の回転に応じてセンサ21から出力された位相が互いに異なる2相のアナログ信号(A相信号及びB相信号)のそれぞれをディジタル信号に変換する点については、相違はない。第1のAD変換処理は回転体50が特定の回転位置に到達する度に実行されるのに対し、第2のAD変換処理は、回転体50の回転の有無にかかわらず周期的に実行される点でのみ、両者は相違する。なお、第2のAD変換処理によるアナログディジタル(AD)変換結果は、後述するように回転情報取得部12において通常回転情報の推定処理に利用されることがあるので、これに備えて記憶部(図示せず)に一旦保持される。記憶部は、回転情報取得部12内にソフトウェアプログラム上の一機能として設けられてもよく、あるいは、回転情報取得部12とは別に、例えばEEPROM(登録商標)などのような電気的に消去・記録可能な不揮発性メモリ、または、例えばDRAM、SRAMなどのような高速で読み書きのできるランダムアクセスメモリなどで構成されてもよい。 Note that the first AD conversion process and the second AD conversion process are two-phase analog signals (A-phase signal and B-phase signal) output from the sensor 21 according to the rotation of the rotating body 50 and having mutually different phases. are converted into digital signals. The first AD conversion process is executed each time the rotating body 50 reaches a specific rotational position, whereas the second AD conversion process is periodically executed regardless of whether the rotating body 50 is rotating. They differ only in that Note that the analog-to-digital (AD) conversion result obtained by the second AD conversion processing may be used for normal rotation information estimation processing in the rotation information acquisition unit 12 as will be described later. not shown). The storage unit may be provided within the rotation information acquisition unit 12 as a function of a software program, or may be stored separately from the rotation information acquisition unit 12, such as an EEPROM (registered trademark). It may comprise recordable non-volatile memory or fast read/write random access memory such as DRAM, SRAM, or the like.

本実施形態では、通常回転情報取得周期に複数回実行される第2のAD変換処理の合間に、基準位置信号検出時に実行される第1のAD変換処理が割り込む。AD変換部11によるAD変換処理には、数μ秒オーダー程度の時間を要するので、基準位置信号の検出のタイミング如何によっては、周期的なAD変換処理の実行タイミングと基準位置信号検出時のAD変換処理の実行タイミングとが時間的に重なることがある。判定部14は、基準位置信号検出部13が基準位置信号を検出したときに実行される第1のAD変換処理の実行タイミングと、回転情報取得部12が通常回転情報を取得するために用いられるディジタル信号を出力するために実行される第2のAD変換処理の実行タイミングと、が時間的に重なるか否かを判定する。なお、基準位置信号検出部13が基準位置信号を検出しない限りは、第1のAD変換処理の実行タイミングと第2のAD変換処理の実行タイミングとが重なることは無い。したがって、判定部14による判定処理は、基準位置信号検出部13が基準位置信号を検出したときにのみ、実行されればよい。判定部14による判定処理の具体例については後述する。 In this embodiment, the first AD conversion process, which is performed when the reference position signal is detected, interrupts between the second AD conversion processes, which are performed a plurality of times in the normal rotation information acquisition period. Since the AD conversion process by the AD converter 11 requires a time on the order of several microseconds, depending on the timing of detection of the reference position signal, the execution timing of the periodic AD conversion process and the AD conversion process at the time of detection of the reference position signal may vary. The execution timing of the conversion process may overlap in terms of time. The determination unit 14 is used by the rotation information acquisition unit 12 to acquire the normal rotation information and the execution timing of the first AD conversion process executed when the reference position signal detection unit 13 detects the reference position signal. It is determined whether or not the execution timing of the second AD conversion process that is executed to output the digital signal overlaps in terms of time. As long as the reference position signal detection unit 13 does not detect the reference position signal, the execution timing of the first AD conversion process and the execution timing of the second AD conversion process do not overlap. Therefore, the determination processing by the determination unit 14 may be executed only when the reference position signal detection unit 13 detects the reference position signal. A specific example of determination processing by the determination unit 14 will be described later.

AD変換部11は、判定部14により第1のAD変換処理の実行タイミングと第2のAD変換処理の実行タイミングとが時間的に重なると判定された場合、第2のAD変換処理は実行せずに第1のAD変換処理を実行する。判定部14の判定結果に基づくAD変換部11によるAD変換処理の選択的実行の具体例については後述する。 When the determination unit 14 determines that the execution timing of the first AD conversion process and the execution timing of the second AD conversion process temporally overlap, the AD conversion unit 11 does not execute the second AD conversion process. The first AD conversion process is executed without A specific example of selective execution of AD conversion processing by the AD conversion unit 11 based on the determination result of the determination unit 14 will be described later.

回転情報取得部12は、AD変換部11が第2のAD変換処理を実行することにより出力されたディジタル信号に基づいて、回転体50の通常回転位置または通常回転速度に関する通常回転情報を、通常回転情報取得周期ごとに(すなわち一定間隔ごとに)取得する。また、基準位置信号検出部13による基準位置信号検出通知を受けて、回転情報取得部12は、AD変換部11が第1のAD変換処理を実行することにより出力されたディジタル信号に基づいて、回転体50の基準回転位置または基準回転速度に関する基準回転情報を取得する。このように、回転情報取得部12は、通常回転情報取得周期ごとに通常回転情報を取得するとともに、回転体50が特定の回転位置に到達するごとに基準回転情報を取得する。回転情報取得部12による通常回転情報の取得処理が開始される基準となるタイミングは、例えば回転検出器1が設けられる機械装置からの割り込み信号によって規定されてもよく、あるいは回転検出器1内に設けられたクロックにより規定されてもよい。 Rotation information acquiring unit 12 acquires normal rotation information about the normal rotational position or normal rotational speed of rotating body 50 based on the digital signal output by AD converting unit 11 executing the second AD conversion process. It is acquired at each rotation information acquisition cycle (that is, at regular intervals). Further, upon receiving the reference position signal detection notification from the reference position signal detection unit 13, the rotation information acquisition unit 12, based on the digital signal output by the AD conversion unit 11 performing the first AD conversion processing, Reference rotation information about the reference rotation position or the reference rotation speed of the rotating body 50 is acquired. In this manner, the rotation information acquisition unit 12 acquires normal rotation information in each normal rotation information acquisition cycle, and acquires reference rotation information each time the rotating body 50 reaches a specific rotation position. The reference timing at which the normal rotation information acquisition process by the rotation information acquisition unit 12 is started may be defined by, for example, an interrupt signal from a mechanical device in which the rotation detector 1 is provided, or may be set within the rotation detector 1. It may be defined by a provided clock.

なお、判定部14により第1のAD変換処理の実行タイミングと第2のAD変換処理の実行タイミングとが時間的に重なると判定された場合、AD変換部11により当該第2のAD変換処理は実行されない。この場合、回転情報取得部12は、当該第1のAD変換処理よりも前にAD変換部11が実行したAD変換処理において出力されたディジタル信号に基づいて、補間による推定処理を行うことで、通常回転情報を取得する。回転情報取得部12の補間による推定処理については後述する。 Note that if the determination unit 14 determines that the execution timing of the first AD conversion process and the execution timing of the second AD conversion process temporally overlap, the AD conversion unit 11 performs the second AD conversion process. Not executed. In this case, the rotation information acquisition unit 12 performs estimation processing by interpolation based on the digital signal output in the AD conversion processing executed by the AD conversion unit 11 prior to the first AD conversion processing. Get normal rotation information. The estimation processing by interpolation of the rotation information acquisition unit 12 will be described later.

上述したように、回転検出器1において、基準回転情報は、これとは別に周期的に取得される通常回転情報の相対的な基準となる目安として用いられ、回転検出器1の回転検出精度を高めることに寄与する。すなわち、回転体50が特定の回転位置に到達したときに取得された基準回転情報(基準回転位置または基準回転速度)を原点(基準点)とすることで、より正確な通常回転情報(通常回転位置または通常回転速度)を取得することができる。 As described above, in the rotation detector 1, the reference rotation information is used as a relative reference for the normal rotation information obtained separately from this, and is used to determine the rotation detection accuracy of the rotation detector 1. Contribute to raising That is, by using the reference rotation information (reference rotation position or reference rotation speed) acquired when the rotor 50 reaches a specific rotation position as the origin (reference point), more accurate normal rotation information (normal rotation position or normal rotation speed) can be obtained.

上述の回転情報取得部12、基準位置信号検出部13及び判定部14は、例えばソフトウェアプログラム形式で構築されてもよく、あるいは各種電子回路とソフトウェアプログラムとの組み合わせで構築されてもよく、あるいは各種電子回路のみで構成されてもよい。例えばこれらをソフトウェアプログラム形式で構築する場合は、例えばASIC、DSPまたはFPGAなどの演算処理装置をこのソフトウェアプログラムに従って動作させることで、上述の各部の機能を実現することができる。またあるいは、回転情報取得部12、基準位置信号検出部13及び判定部14を、各部の機能を実現するソフトウェアプログラムを書き込んだ半導体集積回路として実現してもよい。またあるいは、回転情報取得部12、基準位置信号検出部13及び判定部14を、各部の機能を実現するソフトウェアプログラムを書き込んだ記録媒体として実現してもよい。 The rotation information acquisition unit 12, the reference position signal detection unit 13, and the determination unit 14 described above may be constructed, for example, in the form of a software program, or may be constructed by combining various electronic circuits and software programs, or may be constructed by combining various electronic circuits and software programs. It may be composed only of an electronic circuit. For example, when constructing these in a software program format, the functions of the above-described units can be realized by operating an arithmetic processing unit such as ASIC, DSP, or FPGA according to this software program. Alternatively, the rotation information acquisition unit 12, the reference position signal detection unit 13, and the determination unit 14 may be implemented as a semiconductor integrated circuit in which a software program that implements the functions of each unit is written. Alternatively, the rotation information acquisition section 12, the reference position signal detection section 13, and the determination section 14 may be implemented as a recording medium in which a software program that implements the functions of each section is written.

また、上述のAD変換部11は、例えば逐次比較型AD(アナログディジタル)変換器で構成されるが、それ以外のAD変換器で構成されてもよい。 Further, the AD conversion unit 11 described above is configured by, for example, a successive approximation type AD (analog-to-digital) converter, but may be configured by other AD converters.

また、上述のセンサ21は、回転体50の回転に応じて位相が互いに約90度異なる2相のアナログ信号であるA相信号及びB相信号を出力するとともに、回転体50が特定の回転位置に到達する度に基準位置信号を出力するものであれば、磁気式であっても光学式であってもよい。一例として、基準位置信号として一回転信号を出力可能な磁気式のセンサ21について、図2~図4を参照して説明する。 Further, the sensor 21 described above outputs an A-phase signal and a B-phase signal, which are two-phase analog signals whose phases are different from each other by about 90 degrees, according to the rotation of the rotating body 50. It may be of a magnetic type or an optical type, as long as it outputs a reference position signal every time it reaches the position. As an example, a magnetic sensor 21 capable of outputting a one-rotation signal as a reference position signal will be described with reference to FIGS. 2 to 4. FIG.

図2は、回転体に設けられる磁気式のセンサを示す図であって、(A)は、センサの斜視図であり、(B)はセンサの側面図である。 2A and 2B are diagrams showing a magnetic sensor provided on a rotating body, where (A) is a perspective view of the sensor and (B) is a side view of the sensor.

例えば、回転体50の周囲に、センサギアである第1の円筒部分110及び第2の円筒部分120が設けられることで、センサ21が構成される。第1の円筒部分110の第1の部分周面121上に、位相が互いに異なる2相のアナログ信号であるA相信号及びB相信号の生成のための歯部115及び115aが設けられる。第2の円筒部分120の第2の部分周面122上に、一回転信号の生成のための歯部125が1個設けられる。磁石130が、回転体50の一部分に対面して設置される。この磁石130は、磁界を発生する磁界発生体として機能する。またさらに、2つの磁気抵抗素子131及び132が、磁石130と回転体50との間に設置されている。第1の磁気抵抗素子131は、位相が互いに約90度ずれたA相信号及びB相信号からなる2相のアナログ信号を検出するAB相信号用センサであり、回転体50の第1の円筒部分110に対応した位置に配置される。第2の磁気抵抗素子132は、回転体50が1回転する間に一度だけ発生する一回転信号(Z相信号)を検出する一回転信号用センサであり、回転体50の第2の円筒部分120に対応した位置に配置される。 For example, the sensor 21 is configured by providing a first cylindrical portion 110 and a second cylindrical portion 120 as sensor gears around the rotating body 50 . Teeth 115 and 115a are provided on the first partial peripheral surface 121 of the first cylindrical portion 110 for generating an A-phase signal and a B-phase signal, which are two-phase analog signals having mutually different phases. A toothing 125 is provided on the second partial circumference 122 of the second cylindrical section 120 for the generation of the one-turn signal. A magnet 130 is installed facing a portion of the rotating body 50 . This magnet 130 functions as a magnetic field generator that generates a magnetic field. Furthermore, two magnetoresistive elements 131 and 132 are installed between the magnet 130 and the rotor 50 . The first magnetoresistive element 131 is an AB-phase signal sensor that detects two-phase analog signals consisting of an A-phase signal and a B-phase signal that are out of phase with each other by about 90 degrees. It is arranged at a position corresponding to the portion 110 . The second magnetoresistive element 132 is a one-rotation signal sensor that detects a one-rotation signal (Z-phase signal) that is generated only once while the rotating body 50 makes one rotation. It is arranged at a position corresponding to 120 .

図3は、位相が互いに約90度異なる2相のアナログ信号に基づく回転体の回転位置の取得処理を説明する図であって、(A)は図2のセンサから出力されるA相信号及びB相信号を示し、(B)はA相信号及びB相信号を所定のレベルでコンパレートして得られるコンパレータ信号を示し、(C)はAB座標平面上の回転体の回転位置を示す。図3(A)及び図3(B)において、A相に係る信号は実線で示し、B相に係る信号は破線で示す。磁石130からの磁束は第1の磁気抵抗素子131を通過して回転体50の第1の円筒部分110を通って磁石130に戻る。図示しない駆動部により回転体50がその中心回りに回転されると、歯部115によって第1の磁気抵抗素子131の磁気抵抗が変化する。その結果、図3(A)に示すように、センサ21からは、位相が互いに約90度異なる2相のアナログ正弦波信号であるA相信号及びB相信号が出力される。センサ21から出力されたA相信号及びB相信号は、AD変換部11に送られ、それぞれアナログディジタル(AD)変換される。回転情報取得部12は、AD変換部11から出力されたA相及びB相の各ディジタル信号に基づき、図3(C)に示されるような回転体50の1回転中における回転体50の回転位置を取得する。回転体50の回転量は、A相及びB相の各ディジタル信号におけるハイ(H)及びロー(L)をカウントすることで取得することができ、回転体50の回転方向は、A相及びB相の各ディジタル信号間の位相差から取得することができる。回転検出器1に回転体50の回転速度の出力が要求される場合は、回転情報取得部12は、回転体50の回転位置を微分することで回転体50の回転速度を取得する。なお、図3(B)に示すコンパレータ信号から、センサギアである第1の円筒部分110の歯部115単位の粗い情報を得ることができる。回転体50の1回転中における回転体50の回転位置の取得にあたっては、図3(A)に示すA相信号及びB相信号のみならず、図3(B)示すコンパレータ信号を用いてもよい。 3A and 3B are diagrams for explaining the process of acquiring the rotational position of the rotating body based on two-phase analog signals whose phases are different from each other by about 90 degrees. A B-phase signal is shown, (B) shows a comparator signal obtained by comparing the A-phase signal and B-phase signal at a predetermined level, and (C) shows the rotational position of the rotating body on the AB coordinate plane. In FIGS. 3A and 3B, the A-phase signal is indicated by a solid line, and the B-phase signal is indicated by a broken line. The magnetic flux from magnet 130 passes through first magnetoresistive element 131 and returns to magnet 130 through first cylindrical portion 110 of rotating body 50 . When the rotating body 50 is rotated around its center by a drive section (not shown), the magnetic resistance of the first magnetic resistance element 131 changes due to the teeth 115 . As a result, as shown in FIG. 3A, the sensor 21 outputs an A-phase signal and a B-phase signal, which are two-phase analog sinusoidal signals whose phases are different from each other by about 90 degrees. The A-phase signal and B-phase signal output from the sensor 21 are sent to the AD converter 11 and are analog-to-digital (AD) converted. Based on the A-phase and B-phase digital signals output from the AD converter 11, the rotation information acquisition unit 12 determines the rotation of the rotor 50 during one rotation of the rotor 50 as shown in FIG. Get position. The amount of rotation of the rotating body 50 can be obtained by counting high (H) and low (L) in each of the A-phase and B-phase digital signals. It can be obtained from the phase difference between each digital signal of the phase. When the rotation detector 1 is requested to output the rotational speed of the rotating body 50 , the rotation information acquisition unit 12 acquires the rotational speed of the rotating body 50 by differentiating the rotational position of the rotating body 50 . Rough information for each tooth portion 115 of the first cylindrical portion 110, which is the sensor gear, can be obtained from the comparator signal shown in FIG. 3B. In acquiring the rotational position of the rotating body 50 during one rotation of the rotating body 50, not only the A-phase signal and B-phase signal shown in FIG. 3(A) but also the comparator signal shown in FIG. 3(B) may be used. .

図4は、図2のセンサから出力される一回転信号を例示する図である。磁石130からの磁束は第2の磁気抵抗素子132を通過して回転体50の第2の円筒部分120を通って磁石130に戻る。図示しない駆動部により回転体50がその中心回りに回転されると、歯部125によって第2の磁気抵抗素子132の磁気抵抗が変化する。第2の磁気抵抗素子132からの出力電圧を所定のレベルでコンパレートすると、図4に示すようなパルス状の一回転信号が得られる。歯部125は、第2の円筒部分120の第2の部分周面122上に1個設けられるので、回転体50が1回転する度に、「ロー(L)、ハイ(H)、ロー(L)」の信号変化が1回だけ発生する。センサ21から出力された一回転信号は、一回転信号検出部13へ送られる。一回転信号検出部13は、一回転信号を検出したとき、すなわち、「ロー(L)、ハイ(H)、ロー(L)」の信号変化を検出したとき、AD変換部11に対して第1のAD変換処理を実行するよう指令するとともに、回転情報取得部12に対して一回転信号を検出したことを通知する。なお、歯部125は、第2の円筒部分120の第2の部分周面122上に複数個設ければ、回転体50の1回転中に、「ロー(L)、ハイ(H)、ロー(L)」の信号変化が複数回(すなわち歯部125の個数回)発生する。 FIG. 4 is a diagram illustrating a one-rotation signal output from the sensor of FIG. 2; Magnetic flux from magnet 130 passes through second magnetoresistive element 132 and returns to magnet 130 through second cylindrical portion 120 of rotating body 50 . When the rotating body 50 is rotated around its center by a driving section (not shown), the magnetic resistance of the second magnetic resistance element 132 is changed by the teeth 125 . When the output voltage from the second magnetoresistive element 132 is compared at a predetermined level, a pulse-like one-rotation signal as shown in FIG. 4 is obtained. Since one tooth portion 125 is provided on the second partial peripheral surface 122 of the second cylindrical portion 120, each time the rotating body 50 makes one rotation, "low (L), high (H), low ( L)” occurs only once. A one-rotation signal output from the sensor 21 is sent to the one-rotation signal detection section 13 . When the one-rotation signal detection unit 13 detects the one-rotation signal, that is, when it detects a signal change of “low (L), high (H), low (L)”, the one-rotation signal detection unit 13 sends a first signal to the AD conversion unit 11 . 1, and notifies the rotation information acquiring unit 12 of detection of a one-rotation signal. If a plurality of tooth portions 125 are provided on the second partial peripheral surface 122 of the second cylindrical portion 120, during one rotation of the rotor 50, "low (L), high (H), low (L)” occurs a plurality of times (that is, the number of teeth 125).

なお、図2~4では、A相信号及びB相信号と一回転信号(基準位置信号)との両方を出力する1個のセンサ21を回転体50に取り付ける場合について説明した。この代替例として、A相信号及びB相信号を出力するセンサと一回転信号(基準位置信号)を出力するセンサとを別々に回転体50に取り付けてもよい。 2 to 4, the case where one sensor 21 that outputs both the A-phase signal, the B-phase signal, and the one-rotation signal (reference position signal) is attached to the rotating body 50 has been described. As an alternative example, a sensor for outputting the A-phase signal and the B-phase signal and a sensor for outputting the one-rotation signal (reference position signal) may be attached to the rotor 50 separately.

また、回転体50からA相信号、B相信号及び基準位置信号を検出するセンサ21は、図2~4を参照して説明した磁気式のものに限られず、光学式であってもよい。光学式のセンサ21は、回転体50の回転に応じて変化する光の透過光または反射光の明暗変化に基づいて、A相信号、B相信号及び基準位置信号を出力する。 Further, the sensor 21 for detecting the A-phase signal, the B-phase signal and the reference position signal from the rotating body 50 is not limited to the magnetic type described with reference to FIGS. 2 to 4, and may be an optical type. The optical sensor 21 outputs an A-phase signal, a B-phase signal, and a reference position signal based on the brightness change of the transmitted light or the reflected light that changes according to the rotation of the rotating body 50 .

続いて、本開示の実施形態による回転検出器1における判定部14の判定処理及びこの判定結果に基づくAD変換部11によるAD変換処理の選択的実行の具体例について、従来の回転検出器と比較しながら説明する。 Subsequently, specific examples of the determination processing of the determination unit 14 in the rotation detector 1 according to the embodiment of the present disclosure and the selective execution of the AD conversion processing by the AD conversion unit 11 based on the determination result will be compared with a conventional rotation detector. I will explain while

図5は、従来の回転検出器におけるAD変換処理及び回転情報取得処理の実行タイミングを例示する図である。 FIG. 5 is a diagram illustrating execution timings of AD conversion processing and rotation information acquisition processing in a conventional rotation detector.

図5において、通常回転情報の取得周期をTとする。従来の回転検出器においては、通常回転情報取得処理と通常回転情報の取得のための第2のAD変換処理とが一対一に対応しており、ともに同じ周期Tで実行されていた。図5に示す例では、時刻t0で開始される通常回転情報取得処理S1に対応してその直前に第2のAD変換処理Q11が実行され、時刻t2で開始される通常回転情報取得処理S2に対応してその直前に第2のAD変換処理Q21が実行される。また、時刻t4で開始される通常回転情報取得処理S3に対しては、その直前に第2のAD変換処理Q31が実行されるべきである。しかしながら、時刻t4の直前の時刻txにおいて、基準位置信号が検出されると(すなわち「ロー(L)、ハイ(H)、ロー(L)」の信号変化が検出されると)、AD変換部は、基準回転情報の取得のための第1のAD変換処理Pを実行する。AD変換部によるAD変換処理には、数μ秒オーダー程度の時間を要する。時刻txが、AD変換処理に要する時間よりも短い時間だけ時刻t4よりも時間的に前である場合、第1のAD変換処理Pの実行タイミングと第2のAD変換処理Q31の実行タイミングとが重なってしまう。この場合、AD変換部は、時刻txで第1のAD変換処理Pの実行を開始するので、第2のAD変換処理Q31を実行することができない。よって、第2のAD変換処理Q31によるディジタル信号を得ることができないので、通常回転情報取得処理S3においては、さらに以前に実行された第2のAD変換処理Q11及びQ21により得られたディジタル信号に基づいて、等速補間などの推定処理により、回転体の回転情報を取得する必要がある。 In FIG. 5, T is the acquisition cycle of normal rotation information. In the conventional rotation detector, the normal rotation information obtaining process and the second AD conversion process for obtaining the normal rotation information are in one-to-one correspondence, and both are executed at the same cycle T. In the example shown in FIG. 5, the second AD conversion process Q11 is executed immediately before the normal rotation information acquisition process S1 started at time t0 , and the normal rotation information acquisition process started at time t2 . A second AD conversion process Q21 is executed immediately before S2 corresponding to S2. Also, the second AD conversion process Q31 should be executed immediately before the normal rotation information acquisition process S3 that starts at time t4 . However, when the reference position signal is detected at time tx immediately before time t4 (i.e., when a signal change of "low (L), high (H), low (L)" is detected), AD The conversion unit executes a first AD conversion process P for obtaining reference rotation information. The AD conversion processing by the AD conversion unit requires time on the order of several microseconds. When the time t x is earlier than the time t 4 by a time shorter than the time required for the AD conversion process, the execution timing of the first AD conversion process P and the execution timing of the second AD conversion process Q31 overlaps. In this case, the AD converter starts executing the first AD conversion process P at the time tx , so it cannot execute the second AD conversion process Q31. Therefore, since the digital signal obtained by the second AD conversion processing Q31 cannot be obtained, in the normal rotation information acquisition processing S3, the digital signal obtained by the previously executed second AD conversion processing Q11 and Q21 is Based on this, it is necessary to acquire the rotation information of the rotating body by estimation processing such as uniform velocity interpolation.

図6は、本開示の実施形態による回転検出器におけるAD変換処理及び回転情報取得処理の実行タイミングを例示する図である。ここでは一例として、時刻t3と時刻t4との間の時刻txにおいて、基準位置信号検出部13が基準位置信号を検出した場合について説明する。 FIG. 6 is a diagram illustrating execution timings of AD conversion processing and rotation information acquisition processing in the rotation detector according to the embodiment of the present disclosure. Here, as an example, a case where the reference position signal detector 13 detects the reference position signal at time tx between time t3 and time t4 will be described.

図6において、回転情報取得部12の通常回転情報取得周期をTとする。すなわち、回転情報取得部12は、時刻t0に回転情報取得処理S1を実行し、時刻t0から1周期T後の時刻t2に回転情報取得処理S2を実行し、時刻t2から1周期T後の時刻t4に回転情報取得処理S3を実行する。 In FIG. 6, T is the normal rotation information acquisition period of the rotation information acquisition unit 12 . That is, the rotation information acquisition unit 12 executes the rotation information acquisition process S1 at time t0 , executes the rotation information acquisition process S2 at time t2 after one cycle T from time t0 , and executes the rotation information acquisition process S2 for one cycle from time t2 . At time t4 after T, the rotation information acquisition process S3 is executed.

第1のAD変換処理Pとは別に、AD変換部11は、通常回転情報の取得のための第2のAD変換処理を周期的に実行する。第2のAD変換処理は、通常回転情報取得周期の一周期Tの間に複数回実行される。図6に示す例では、一周期T中に2回実行される。一周期Tの間において、第2のAD変換処理は、均一の間隔で実行されてもよく、不均一の間隔で実行されてもよい。 Aside from the first AD conversion process P, the AD conversion unit 11 periodically executes a second AD conversion process for acquiring normal rotation information. The second AD conversion process is executed multiple times during one cycle T of the normal rotation information acquisition cycle. In the example shown in FIG. 6, it is executed twice during one cycle T. During one cycle T, the second AD conversion process may be performed at uniform intervals or at non-uniform intervals.

AD変換部11は、時刻t0の直前に第2のAD変換処理Q11を実行する。また、時刻t0から時刻t2の1周期T中において、AD変換部11は、時刻t0と時刻t2との間の中間にあたる時刻t1の直前に第2のAD変換処理Q12を実行し、時刻t2の直前に第2のAD変換処理Q21を実行する。 The AD converter 11 executes the second AD conversion process Q11 immediately before time t0 . In addition, during one cycle T from time t0 to time t2 , the AD conversion unit 11 executes the second AD conversion process Q12 just before time t1, which is midway between time t0 and time t2 . Then, immediately before time t2 , the second AD conversion process Q21 is executed.

また、時刻t2から時刻t4の1周期T中において、AD変換部11は、時刻t2と時刻t4との間の中間にあたる時刻t3の直前に第2のAD変換処理Q22を実行する。 During one cycle T from time t2 to time t4 , the AD conversion unit 11 executes the second AD conversion process Q22 immediately before time t3, which is midway between time t2 and time t4 . do.

ここで、時刻t3と時刻t4との間の時刻txにおいて、基準位置信号検出部13が基準位置信号を検出すると(すなわち「ロー(L)、ハイ(H)、ロー(L)」の信号変化を検出すると)、AD変換部11は、センサ21から出力された位相が互いに異なる2相のアナログ信号(A相信号及びB相信号)のそれぞれに対して、基準回転情報の取得のための第1のAD変換処理Pを実行する。また、時刻txにおいては、判定部14は、第1のAD変換処理Pの実行タイミングと、第2のAD変換処理Q31の実行タイミングとが、時間的に重なるか否かを判定する。時刻txが、AD変換処理に要する時間よりも短い時間だけ時刻t4よりも時間的に前である場合、第1のAD変換処理Pの実行タイミングと第2のAD変換処理Q31の実行タイミングとが重なる。この場合、判定部14は、第1のAD変換処理Pの実行タイミングと第2のAD変換処理Q31の実行タイミングとが時間的に重なったと判定する。AD変換部11は、判定部14により第1のAD変換処理の実行タイミングと第2のAD変換処理の実行タイミングとが時間的に重なると判定したので、第2のAD変換処理Q31は実行せずに第1のAD変換処理Pを実行する。図6では図示しないが、回転情報取得部12は、AD変換部11が第1のAD変換処理Pを実行することにより出力されたディジタル信号に基づいて、回転体50の基準回転位置または基準回転速度に関する基準回転情報を取得する。また、図6に示すように、回転情報取得部12は、第2のAD変換処理Q31によるディジタル信号を得ることができないので、通常回転情報取得処理S3においては、さらに以前に実行された第2のAD変換処理Q21及びS22により得られたディジタル信号に基づいて、等速補間などの推定処理により、回転体50の通常回転情報を取得する。 Here, when the reference position signal detector 13 detects the reference position signal at time tx between time t3 and time t4 (i.e., "low (L), high (H), low (L)" ), the AD conversion unit 11 detects each of the two-phase analog signals (A-phase signal and B-phase signal) output from the sensor 21 and having different phases to acquire the reference rotation information. A first AD conversion process P is executed for the purpose. At time t x , the determination unit 14 determines whether or not the execution timing of the first AD conversion process P and the execution timing of the second AD conversion process Q31 temporally overlap. When the time t x is earlier than the time t 4 by a time shorter than the time required for the AD conversion process, the execution timing of the first AD conversion process P and the execution timing of the second AD conversion process Q31 overlaps with In this case, the determination unit 14 determines that the execution timing of the first AD conversion process P and the execution timing of the second AD conversion process Q31 temporally overlap. Since the determination unit 14 has determined that the execution timing of the first AD conversion process and the execution timing of the second AD conversion process overlap, the AD conversion unit 11 does not execute the second AD conversion process Q31. The first AD conversion process P is executed without Although not shown in FIG. 6, the rotation information acquisition unit 12 obtains the reference rotation position or reference rotation position of the rotating body 50 based on the digital signal output by the AD conversion unit 11 executing the first AD conversion processing P. Get reference rotation information about speed. Further, as shown in FIG. 6, the rotation information obtaining unit 12 cannot obtain the digital signal obtained by the second AD conversion processing Q31. Based on the digital signals obtained by the AD conversion processes Q21 and S22, the normal rotation information of the rotating body 50 is acquired by an estimation process such as uniform velocity interpolation.

ここで、時刻t4で実行が開始される通常回転情報取得処理S3に関して、図5に示す従来の回転検出器の動作と図6に示す本開示の実施形態による回転検出器1の動作とを比較する。図5に示す従来の回転検出器では、時刻t0の直前に実行された第2のAD変換処理Q11と時刻t2の直前に実行された第2のAD変換処理Q21とにより得られたディジタル信号に基づいて、等速補間などの推定処理により、回転体の回転情報を得る。これに対し、図6に示す本開示の実施形態による回転検出器1では、時刻t2の直前に実行された第2のAD変換処理Q21と時刻t3の直前に実行された第2のAD変換処理Q22とにより得られたディジタル信号に基づいて、等速補間などの推定処理により、回転体の回転情報を得る。このように、本開示の実施形態による回転検出器1では、従来の回転検出器と比べ、通常回転情報取得処理S3の実行が開始される時刻t4に、より近い時間で実行される第2のAD変換処理により出力されるディジタル信号に基づいて、回転情報を取得することができる。よって、本開示の実施形態による回転検出器1は、従来の回転検出器と比べ、「より新鮮な」ディジタル信号を用いて回転情報を計算することができるので、より検出精度が高い。 Here, with respect to the normal rotation information acquisition process S3 that starts to be executed at time t4 , the operation of the conventional rotation detector shown in FIG. 5 and the operation of the rotation detector 1 according to the embodiment of the present disclosure shown in FIG. compare. In the conventional rotation detector shown in FIG. 5 , the digital Rotation information of the rotating body is obtained by estimation processing such as uniform velocity interpolation based on the signal. On the other hand, in the rotation detector 1 according to the embodiment of the present disclosure shown in FIG . Based on the digital signal obtained by the conversion processing Q22, rotation information of the rotating body is obtained by estimation processing such as uniform velocity interpolation. As described above, in the rotation detector 1 according to the embodiment of the present disclosure, compared to the conventional rotation detector, the second Rotation information can be acquired based on the digital signal output by the AD conversion process of . Thus, the rotation detector 1 according to the embodiments of the present disclosure has higher detection accuracy than conventional rotation detectors, as rotation information can be calculated using "fresher" digital signals.

なお、一周期Tに複数回実行される第2のAD変換処理の各々の直後に毎回、通常回転情報取得処理を実行することは、回転情報取得部12の機能を実現する演算処理装置に負担をかけることになるので、好ましくない。そこで、本開示の実施形態による回転検出器1では、通常回転情報処理の実行頻度は従来と同程度に維持しつつ、通常回転情報取得のための第2のAD変換処理の実行頻度を増やす。これにより、回転情報取得部12の機能を実現する演算処理装置に負担をかけることなく、回転検出器1の検出精度を高めることができる。 It should be noted that executing the normal rotation information acquisition process immediately after each of the second AD conversion processes that are executed multiple times in one cycle T imposes a burden on the arithmetic processing unit that realizes the function of the rotation information acquisition unit 12. This is not preferable because Therefore, in the rotation detector 1 according to the embodiment of the present disclosure, the execution frequency of the normal rotation information processing is maintained at the same level as in the conventional art, while the execution frequency of the second AD conversion processing for acquiring the normal rotation information is increased. As a result, the detection accuracy of the rotation detector 1 can be increased without imposing a burden on the arithmetic processing device that implements the functions of the rotation information acquisition section 12 .

また、図6に示す例では、通常回転情報取得周期の一周期Tの間における第2のAD変換処理の実行回数を、一例として2回とした。本実施形態においては、通常回転情報取得周期の一周期Tの間における第2のAD変換処理の実行回数が多いほど、第2のAD変換処理の実行タイミングの間隔がより短くなる。したがって、常回転情報取得周期の一周期Tの間における第2のAD変換処理の実行回数が多いほど、回転情報取得部12は、本来の実行タイミングにより近いタイミングで過去に実行された第2のAD変換処理により出力されたディジタル信号を用いることができるので、より検出精度が高くなる。 In addition, in the example shown in FIG. 6, the number of executions of the second AD conversion process during one cycle T of the normal rotation information acquisition cycle is two times as an example. In the present embodiment, the greater the number of executions of the second AD conversion process during one period T of the normal rotation information acquisition period, the shorter the interval between execution timings of the second AD conversion process. Therefore, as the number of executions of the second AD conversion process during one cycle T of the normal rotation information acquisition cycle increases, the rotation information acquisition unit 12 detects the second AD conversion process executed in the past at a timing closer to the original execution timing. Since the digital signal output by the AD conversion process can be used, the detection accuracy is further improved.

続いて、本開示の実施形態による回転検出器1における回転情報取得部12の補間による推定処理の具体例について説明する。 Next, a specific example of estimation processing by interpolation of the rotation information acquisition unit 12 in the rotation detector 1 according to the embodiment of the present disclosure will be described.

図7は、本開示の実施形態による回転検出器における回転情報取得部の補間による推定処理を説明する図であって、(A)はAD変換処理及び回転情報取得処理の実行タイミングを例示し、(B)は補間による推定処理に直線近似を用いた場合を示す。ここでは一例として、通常回転情報取得周期の一周期Tの間に3回の第2のAD変換処理が不均一の間隔で実行され、時刻t3と時刻t4との間の時刻txにおいて基準位置信号検出部13が基準位置信号を検出した場合について説明する。 FIG. 7 is a diagram for explaining estimation processing by interpolation of the rotation information acquisition unit in the rotation detector according to the embodiment of the present disclosure. (B) shows a case where linear approximation is used for estimation processing by interpolation. Here, as an example, the second AD conversion process is executed three times at irregular intervals during one cycle T of the normal rotation information acquisition cycle, and at time t x between time t 3 and time t 4 A case where the reference position signal detector 13 detects the reference position signal will be described.

図7(A)に示すように、時刻t0の直前に、AD変換部11は第2のAD変換処理Q11を実行する。回転情報取得部12は、時刻t0に第2のAD変換処理Q11で出力されたディジタル信号D11に基づいて、通常回転情報を取得する通常回転情報取得処理S1を実行する。 As shown in FIG. 7A, immediately before time t0 , the AD converter 11 executes the second AD conversion process Q11. The rotation information acquisition unit 12 executes normal rotation information acquisition processing S1 for acquiring normal rotation information based on the digital signal D11 output in the second AD conversion processing Q11 at time t0 .

時刻t1の直前に、AD変換部11は第2のAD変換処理Q12を実行し、ディジタル信号D12を出力する。また、時刻t2の直前に、AD変換部11は第2のAD変換処理Q13を実行し、ディジタル信号D13を出力する。 Immediately before time t1 , the AD converter 11 executes a second AD conversion process Q12 and outputs a digital signal D12. Further, immediately before time t2 , the AD converter 11 executes a second AD conversion process Q13 and outputs a digital signal D13.

時刻t3と時刻t4との間の時刻txにおいて、基準位置信号検出部13が基準位置信号を検出すると(すなわち「ロー(L)、ハイ(H)、ロー(L)」の信号変化を検出すると)、AD変換部11は、センサ21から出力された位相が互いに異なる2相のアナログ信号(A相信号及びB相信号)のそれぞれに対して、基準回転情報の取得のための第1のAD変換処理Pを実行する。また、時刻txにおいて、判定部14は、第1のAD変換処理Pの実行タイミングと、第2のAD変換処理Q31の実行タイミングとが、時間的に重なるか否かを判定する。時刻txが、AD変換処理に要する時間よりも短い時間だけ時刻t4よりも時間的に前である場合、第1のAD変換処理Pの実行タイミングと第2のAD変換処理Q21の実行タイミングとが重なる。この場合、判定部14は、第1のAD変換処理Pの実行タイミングと第2のAD変換処理Q21の実行タイミングとが時間的に重なったと判定する。この判定結果に基づき、AD変換部11は、第2のAD変換処理Q21は実行せずに第1のAD変換処理Pを実行する。図7では図示しないが、回転情報取得部12は、AD変換部11が第1のAD変換処理Pを実行することにより出力されたディジタル信号に基づいて、回転体50の基準回転位置または基準回転速度に関する基準回転情報を取得する。 At time tx between time t3 and time t4 , when the reference position signal detector 13 detects the reference position signal (i.e., the signal change of "low (L), high (H), low (L)" is detected), the AD conversion unit 11 outputs the first signal for obtaining the reference rotation information for each of the two-phase analog signals (the A-phase signal and the B-phase signal) output from the sensor 21 and having different phases. 1 AD conversion processing P is executed. Also, at time t x , the determination unit 14 determines whether or not the execution timing of the first AD conversion process P and the execution timing of the second AD conversion process Q31 temporally overlap. When the time t x precedes the time t 4 by a time shorter than the time required for AD conversion processing, the execution timing of the first AD conversion processing P and the execution timing of the second AD conversion processing Q21 overlaps with In this case, the determination unit 14 determines that the execution timing of the first AD conversion process P and the execution timing of the second AD conversion process Q21 temporally overlap. Based on this determination result, the AD converter 11 executes the first AD conversion process P without executing the second AD conversion process Q21. Although not shown in FIG. 7, the rotation information acquisition unit 12 obtains the reference rotation position or reference rotation position of the rotating body 50 based on the digital signal output by the AD conversion unit 11 executing the first AD conversion processing P. Get reference rotation information about speed.

また、回転情報取得部12は、第2のAD変換処理Q21によるディジタル信号を得ることができないので、通常回転情報取得処理S2においては、さらに以前に実行された例えば第2のAD変換処理Q11により得られたディジタル信号D11、第2のAD変換処理Q12により得られたディジタル信号D12及び第2のAD変換処理Q13により得られたディジタル信号D13に基づいて、等速補間などの推定処理により、第2のAD変換処理Q21によるディジタル信号D21を推定し、この推定されたディジタル信号D21に基づいて、回転体50の通常回転情報を取得する通常回転情報取得処理S2を実行する。 Further, since the rotation information acquisition unit 12 cannot acquire a digital signal by the second AD conversion processing Q21, in the normal rotation information acquisition processing S2, for example, by the second AD conversion processing Q11 executed previously, Based on the obtained digital signal D11, the digital signal D12 obtained by the second AD conversion processing Q12, and the digital signal D13 obtained by the second AD conversion processing Q13, the first The digital signal D21 obtained by the AD conversion process Q21 of No. 2 is estimated, and the normal rotation information acquisition process S2 for acquiring the normal rotation information of the rotor 50 is executed based on the estimated digital signal D21.

回転情報取得部12による通常回転情報取得処理S2において、ディジタル信号D21を近似直線を用いて算出する場合、例えば時刻tにおけるディジタル信号の推定値をDeとしたとき、推定値を算出するための近似直線は下記式1のように表される。 In the normal rotation information acquisition process S2 by the rotation information acquisition unit 12, when the digital signal D21 is calculated using an approximate straight line, for example, when the estimated value of the digital signal at time t is D , the estimated value is calculated as follows: The approximation straight line is represented by Equation 1 below.

Figure 0007272888000001
Figure 0007272888000001

例えば、式1で示される近似直線の傾きα及び切片βを最小二乗法を用いて求める場合は、ディジタル信号D11、ディジタル信号D12及びディジタル信号D13の値を、A相及びB相の各相ごとに用いる。また例えば式1で示される近似直線の傾きα及び切片βを1次近似(線形近似)を用いて求める場合は、ディジタル信号D11、ディジタル信号D12及びディジタル信号D13のうちの2つの値を、A相及びB相の各相ごとに用いる。回転情報取得部12は、このように算出された近似直線の傾きα及び切片βを有する式1に、時刻t3を代入することで、時刻t3の直前に実行されるはずであった第2のAD変換処理Q21で得られる2相分のディジタル信号D21を推定することができる。 For example, when obtaining the slope α and the intercept β of the approximate straight line shown in Equation 1 using the least squares method, the values of the digital signal D11, the digital signal D12, and the digital signal D13 are obtained for each of the A phase and the B phase. used for Further, for example, when the slope α and the intercept β of the approximate straight line shown in Equation 1 are obtained using first-order approximation (linear approximation), two values of the digital signal D11, the digital signal D12, and the digital signal D13 are used as A It is used for each phase of phase and B phase. The rotation information acquiring unit 12 substitutes the time t3 into Equation 1 having the slope α and the intercept β of the approximate straight line calculated in this way, so that the first It is possible to estimate the digital signal D21 for two phases obtained in the AD conversion process Q21 of 2.

このように、回転情報取得部12の補間による推定処理にあたっては、実行することができなかった第2のAD変換処理よりも以前に実行された過去の第2のAD変換処理により得られたアナログディジタル(AD)変換結果とともに、時刻情報が必要である。このため、AD変換部11による第2のAD変換処理で得られるディジタル信号には、アナログディジタル変換結果に加え、時刻情報が付与される。図8は、本開示の実施形態による回転検出器におけるAD変換部により得られる1相分のディジタル信号のデータ構成を例示する図である。図8に示すように、AD変換部11による第2のAD変換処理により出力されるディジタル信号は、センサ21から出力されたアナログ信号(A相信号またはB相信号)に対するアナログディジタル変換結果からなるデータ部分と、当該アナログディジタル変換結果が得られた時刻情報からなるデータ部分とからなる。図8に示す時刻データは、一例として、通常回転情報取得周期の1周期内の時間期間を8ビットで表している。図8に示した数値はあくまで一例であって、その他の数値であってもよい。 As described above, in the estimation processing by interpolation of the rotation information acquisition unit 12, the analog data obtained by the past second AD conversion processing that was executed before the second AD conversion processing that could not be executed. Time information is required along with the digital (AD) conversion result. Therefore, the digital signal obtained by the second AD conversion processing by the AD converter 11 is provided with time information in addition to the analog-to-digital conversion result. FIG. 8 is a diagram illustrating a data configuration of a digital signal for one phase obtained by an AD converter in the rotation detector according to the embodiment of the present disclosure; As shown in FIG. 8, the digital signal output by the second AD conversion process by the AD converter 11 is the result of analog-to-digital conversion of the analog signal (phase A signal or phase B signal) output from the sensor 21. It consists of a data part and a data part consisting of time information when the analog-to-digital conversion result is obtained. As an example, the time data shown in FIG. 8 represents a time period within one cycle of the normal rotation information acquisition cycle with 8 bits. The numerical values shown in FIG. 8 are merely examples, and other numerical values may be used.

上述した本開示の実施形態による回転検出器1は、回転体を備える機械装置における当該回転体の回転の制御のために用いることができる。 The rotation detector 1 according to the embodiment of the present disclosure described above can be used for controlling the rotation of a rotating body in a mechanical device having the rotating body.

図9は、本開示の実施形態による回転検出器を備えるモータ駆動装置を示すブロック図である。ここでは、一例として、モータ駆動装置1000により、交流電源2から供給された交流電力に基づいてモータ3を制御する場合について説明する。交流電源2及びモータ3の相数は本実施形態を特に限定するものではなく、例えば三相交流であっても単相交流であってもよい。また、モータ3の種類についても本実施形態を特に限定するものではなく、例えば誘導モータであっても同期モータであってもよい。ここで、モータ3が設けられる機械には、工作機械やロボットの他に、鍛圧機械、射出成形機、産業機械、各種電化製品、電車、自動車、航空機などが含まれる。また、交流電源2の一例を挙げると、三相交流400V電源、三相交流200V電源、三相交流600V電源、単相交流100V電源などがある。 FIG. 9 is a block diagram illustrating a motor drive with a rotation detector according to an embodiment of the present disclosure; Here, as an example, a case in which the motor drive device 1000 controls the motor 3 based on the AC power supplied from the AC power supply 2 will be described. The number of phases of the AC power supply 2 and the motor 3 is not particularly limited in this embodiment, and may be, for example, three-phase AC or single-phase AC. Also, the type of the motor 3 is not particularly limited in this embodiment, and may be, for example, an induction motor or a synchronous motor. In addition to machine tools and robots, the machines provided with the motor 3 include forging machines, injection molding machines, industrial machines, various electrical appliances, trains, automobiles, and aircraft. Examples of the AC power supply 2 include a three-phase AC 400V power supply, a three-phase AC 200V power supply, a three-phase AC 600V power supply, and a single-phase AC 100V power supply.

図9に示すように、モータ駆動装置1000は、整流器101と、インバータ102と、モータ制御部103と、回転検出器1とを備える。 As shown in FIG. 9 , motor drive device 1000 includes rectifier 101 , inverter 102 , motor controller 103 , and rotation detector 1 .

整流器101は、交流電源2側の交流電力と直流電力に変換して直流側に出力する。整流器101は、交流電源2から三相交流が供給される場合は三相ブリッジ回路で構成され、交流電源2から単相交流が供給される場合は単相ブリッジ回路で構成される。整流器101は、例えば、ダイオード整流回路、120度通電型整流回路、PWMスイッチング制御方式の整流回路などで構成される。例えば、整流器101がPWMスイッチング制御方式の整流回路である場合は、スイッチング素子及びこれに逆並列に接続されたダイオードのブリッジ回路からなり、上位制御装置(図示せず)から受信した駆動指令に応じて各スイッチング素子がオンオフ制御されて交直双方向に電力変換を行う。スイッチング素子の例としては、FETなどのユニポーラトランジスタ、バイポーラトランジスタ、IGBT、サイリスタ、GTOなどがあるが、スイッチング素子の種類自体は本実施形態を限定するものではなく、その他のスイッチング素子であってもよい。 The rectifier 101 converts AC power on the AC power supply 2 side into DC power and outputs the power to the DC side. The rectifier 101 is configured as a three-phase bridge circuit when three-phase alternating current is supplied from the alternating current power supply 2, and is configured as a single-phase bridge circuit when single-phase alternating current is supplied from the alternating current power supply 2. The rectifier 101 is composed of, for example, a diode rectifier circuit, a 120-degree conduction rectifier circuit, a PWM switching control type rectifier circuit, or the like. For example, if the rectifier 101 is a PWM switching control type rectifier circuit, it is composed of a switching element and a bridge circuit of diodes connected in anti-parallel to the switching element. Each switching element is on/off-controlled to perform power conversion in both AC and DC directions. Examples of switching elements include unipolar transistors such as FETs, bipolar transistors, IGBTs, thyristors, and GTOs. good.

なお、交流電源ではなくバッテリなどの直流電源に基づいてモータ3を制御する場合は、整流器101は省略してもよい。 Note that the rectifier 101 may be omitted when the motor 3 is controlled based on a DC power source such as a battery instead of an AC power source.

インバータ102は、直流側から供給された直流電力を、モータ3を駆動するための交流電力に変換して出力する。インバータ102は、例えば、内部に半導体スイッチング素子を備えるPWMインバータで構成される。インバータ102は、モータ3が三相交流モータである場合は三相ブリッジ回路として構成され、モータ3が単相モータである場合は単相ブリッジ回路として構成される。インバータ102がPWMインバータで構成される場合は、半導体スイッチング素子及びこれに逆並列に接続されたダイオードのブリッジ回路からなる。この場合、半導体スイッチング素子の例としては、FET、IGBT、サイリスタ、GTO(Gate Turn-OFF thyristor:ゲートターンオフサイリスタ)、SiC(シリコンカーバイド)、トランジスタなどがあるが、半導体スイッチング素子の種類自体は本実施形態を限定するものではなく、その他の半導体スイッチング素子であってもよい。 The inverter 102 converts the DC power supplied from the DC side into AC power for driving the motor 3 and outputs the AC power. The inverter 102 is configured by, for example, a PWM inverter including semiconductor switching elements inside. Inverter 102 is configured as a three-phase bridge circuit when motor 3 is a three-phase AC motor, and is configured as a single-phase bridge circuit when motor 3 is a single-phase motor. When the inverter 102 is composed of a PWM inverter, it is composed of a semiconductor switching element and a diode bridge circuit connected in anti-parallel thereto. In this case, examples of semiconductor switching elements include FETs, IGBTs, thyristors, GTOs (Gate Turn-OFF thyristors), SiCs (silicon carbide), and transistors. The embodiment is not limited, and other semiconductor switching elements may be used.

モータ3の回転子の近傍には、センサ21が設けられる。本開示の実施形態による回転検出器1は、センサ21から出力された位相が互いに異なる2相のアナログ信号(A相信号及びB相信号)に基づいて、回転体50であるモータの回転子51の回転情報を検出する。回転検出器1により検出された回転情報は、モータ制御部103へ送られる。 A sensor 21 is provided near the rotor of the motor 3 . The rotation detector 1 according to the embodiment of the present disclosure detects the rotor 51 of the motor, which is the rotating body 50 , based on the two-phase analog signals (A-phase signal and B-phase signal) output from the sensor 21 and having different phases. Detects the rotation information of Rotation information detected by the rotation detector 1 is sent to the motor control unit 103 .

モータ制御部103は、インバータ102の電力変換動作を制御する。すなわち、モータ制御部103は、回転検出器1により検出されるモータ3の回転子51の回転情報、モータ3の巻線に流れる電流(電流フィードバック)、所定のトルク指令、及びモータ3の動作プログラムなどに基づいて、モータ3の速度、トルク、もしくは回転子の位置を制御するための駆動指令をPWM制御方式に従って生成する。モータ制御部103によって作成された駆動指令に基づいて、インバータ102による電力変換動作が制御される。モータ3は、インバータ102から供給される例えば電圧可変及び周波数可変の交流電力に基づいて、速度、トルクまたは回転子の位置が制御される。モータ制御部103は、例えばソフトウェアプログラム形式で構築されてもよく、あるいは各種電子回路とソフトウェアプログラムとの組み合わせで構築されてもよい。例えばこれらをソフトウェアプログラム形式で構築する場合は、DSPやFPGAなどの演算処理装置をこのソフトウェアプログラムに従って動作させることで、上述のモータ制御部103の機能を実現することができる。またあるいは、モータ制御部103を、各部の機能を実現するソフトウェアプログラムを書き込んだ半導体集積回路として実現してもよい。 Motor control unit 103 controls the power conversion operation of inverter 102 . That is, the motor control unit 103 controls rotation information of the rotor 51 of the motor 3 detected by the rotation detector 1, current flowing through the windings of the motor 3 (current feedback), a predetermined torque command, and an operation program of the motor 3. Based on such as, a drive command for controlling the speed and torque of the motor 3 or the position of the rotor is generated according to the PWM control method. Power conversion operation by the inverter 102 is controlled based on the drive command generated by the motor control unit 103 . The speed, torque, or position of the rotor of the motor 3 is controlled based on, for example, voltage-variable and frequency-variable AC power supplied from the inverter 102 . The motor control unit 103 may be constructed, for example, in the form of a software program, or may be constructed by combining various electronic circuits and software programs. For example, when constructing them in a software program format, the functions of the motor control unit 103 can be realized by operating an arithmetic processing unit such as a DSP or FPGA according to this software program. Alternatively, the motor control unit 103 may be implemented as a semiconductor integrated circuit in which a software program that implements the functions of each unit is written.

このように、モータ駆動装置1000は、本開示の実施形態による回転検出器1により検出された回転情報に基づいてモータ3の回転子51の回転を制御するので、高精度のモータ制御を実現することができる。 In this way, the motor drive device 1000 controls the rotation of the rotor 51 of the motor 3 based on the rotation information detected by the rotation detector 1 according to the embodiment of the present disclosure, thereby realizing highly accurate motor control. be able to.

1 回転検出器
2 交流電源
3 モータ
11 AD変換部
12 回転情報取得部
13 基準位置信号検出部
14 判定部
21 センサ
50 回転体
51 回転子
101 整流器
102 インバータ
103 モータ制御部
110 第1の円筒部分
115、115a、125 歯部
120 第2の円筒部分
121 第1の部分周面
122 第2の部分周面
130 磁石
131 第1の磁気抵抗素子
132 第2の磁気抵抗素子
1000 モータ駆動装置
1 rotation detector 2 AC power supply 3 motor 11 AD converter 12 rotation information acquisition unit 13 reference position signal detection unit 14 determination unit 21 sensor 50 rotor 51 rotor 101 rectifier 102 inverter 103 motor control unit 110 first cylindrical portion 115 , 115a, 125 tooth portion 120 second cylindrical portion 121 first partial peripheral surface 122 second partial peripheral surface 130 magnet 131 first magnetic resistance element 132 second magnetic resistance element 1000 motor drive device

Claims (4)

回転体の回転情報を検出する回転検出器であって、
前記回転体の回転に応じて前記回転体に設けられたセンサから出力された位相が互いに異なる2相のアナログ信号を、ディジタル信号に変換して出力する、アナログディジタル変換処理を実行するAD変換部と、
一周期ごとに、前記AD変換部から出力された前記ディジタル信号に基づいて前記回転体の回転位置または回転速度に関する通常回転情報を取得し、前記回転体が特定の回転位置に到達するごとに、前記AD変換部から出力された前記ディジタル信号に基づいて前記回転体の基準回転位置または基準回転速度に関する基準回転情報を取得する回転情報取得部と、
前記回転体が特定の回転位置に到達するごとに前記センサから出力される基準位置信号を検出する基準位置信号検出部と、
前記基準位置信号検出部が前記基準位置信号を検出したときに実行される前記アナログディジタル変換処理である第1のアナログディジタル変換処理の実行タイミングと、前記回転情報取得部が前記通常回転情報を取得するために用いられるディジタル信号を出力するために実行される前記アナログディジタル変換処理である第2のアナログディジタル変換処理の実行タイミングと、が時間的に重なるか否かを判定する判定部と、
を備え、
前記AD変換部は、前記一周期中に、前記アナログディジタル変換処理を複数回実行し、
前記AD変換部は、前記基準位置信号検出部が前記基準位置信号を検出したとき、前記アナログディジタル変換処理を実行して、前記回転情報取得部が前記基準回転情報を取得するために用いられるディジタル信号を出力し、
前記AD変換部は、前記判定部により前記第1のアナログディジタル変換処理の実行タイミングと前記第2のアナログディジタル変換処理の実行タイミングとが時間的に重なると判定された場合、前記第2のアナログディジタル変換処理は実行せずに前記第1のアナログディジタル変換処理を実行する、回転検出器。
A rotation detector for detecting rotation information of a rotating body,
An AD converter for executing analog-to-digital conversion processing for converting two-phase analog signals having different phases output from a sensor provided on the rotating body according to the rotation of the rotating body into digital signals and outputting the analog signals. and,
For each cycle, normal rotation information about the rotational position or rotational speed of the rotating body is acquired based on the digital signal output from the AD conversion unit, and each time the rotating body reaches a specific rotational position, a rotation information acquisition unit that acquires reference rotation information about a reference rotation position or a reference rotation speed of the rotating body based on the digital signal output from the AD conversion unit;
a reference position signal detection unit that detects a reference position signal output from the sensor each time the rotating body reaches a specific rotational position;
execution timing of a first analog-to-digital conversion process which is the analog-to-digital conversion process executed when the reference position signal detection unit detects the reference position signal; and the rotation information acquisition unit acquires the normal rotation information. a determination unit that determines whether or not the execution timing of the second analog-to-digital conversion processing, which is the analog-to-digital conversion processing executed to output the digital signal used for
with
The AD conversion unit executes the analog-to-digital conversion process a plurality of times during the one cycle,
When the reference position signal detection section detects the reference position signal, the AD conversion section executes the analog-to-digital conversion processing, and the rotation information acquisition section performs the digital signal used by the rotation information acquisition section to acquire the reference rotation information. output a signal,
The AD conversion unit converts the second analog-digital A rotation detector that performs the first analog-to-digital conversion process without performing a digital conversion process .
前記回転情報取得部は、前記判定部により前記第1のアナログディジタル変換処理の実行タイミングと前記第2のアナログディジタル変換処理の実行タイミングとが時間的に重なると判定された場合、当該第1のアナログディジタル変換処理よりも前に前記AD変換部が実行したアナログディジタル変換処理において出力された前記ディジタル信号に基づいて、前記通常回転情報を取得する、請求項に記載の回転検出器。 When the judging unit judges that the execution timing of the first analog-to-digital conversion process and the execution timing of the second analog-to-digital conversion process overlap in terms of time, the rotation information acquisition unit performs the first 2. The rotation detector according to claim 1 , wherein said normal rotation information is acquired based on said digital signal output in analog-to-digital conversion processing executed by said AD conversion section prior to analog-to-digital conversion processing. 前記基準位置信号は、前記回転体が1回転するごとに前記センサから出力される一回転信号である、請求項1または2に記載の回転検出器。 3. The rotation detector according to claim 1, wherein said reference position signal is a one-rotation signal output from said sensor each time said rotating body rotates once . 前記回転体であるモータの回転子の回転情報を検出する、請求項1~のいずれか一項に記載の回転検出器と、
直流側から供給された直流電力を、モータ駆動のための交流電力に変換して出力するインバータと、
前記回転検出器により検出された前記回転情報に基づいて、前記インバータによる前記直流電力を前記交流電力に変換する処理を制御するモータ制御部と、
を備える、モータ駆動装置。
The rotation detector according to any one of claims 1 to 3 , which detects rotation information of the rotor of the motor, which is the rotating body;
an inverter that converts the DC power supplied from the DC side into AC power for driving the motor and outputs it;
a motor control unit that controls a process of converting the DC power to the AC power by the inverter based on the rotation information detected by the rotation detector;
A motor drive device.
JP2019133761A 2019-07-19 2019-07-19 Rotation detector and motor drive device for detecting rotation information of rotating body Active JP7272888B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019133761A JP7272888B2 (en) 2019-07-19 2019-07-19 Rotation detector and motor drive device for detecting rotation information of rotating body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019133761A JP7272888B2 (en) 2019-07-19 2019-07-19 Rotation detector and motor drive device for detecting rotation information of rotating body

Publications (2)

Publication Number Publication Date
JP2021018136A JP2021018136A (en) 2021-02-15
JP7272888B2 true JP7272888B2 (en) 2023-05-12

Family

ID=74563563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019133761A Active JP7272888B2 (en) 2019-07-19 2019-07-19 Rotation detector and motor drive device for detecting rotation information of rotating body

Country Status (1)

Country Link
JP (1) JP7272888B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3202713B2 (en) 1999-01-05 2001-08-27 新潟日本電気株式会社 Opto-mechanical mouse and control method thereof
JP2002162253A (en) 2000-11-27 2002-06-07 Futaba Corp Automatic setting device of original signal on linear scale
JP2008261881A (en) 2008-07-07 2008-10-30 Canon Inc Position detector
JP2014126492A (en) 2012-12-27 2014-07-07 Canon Inc Position detector, driving control device, and lens device
JP2018194457A (en) 2017-05-18 2018-12-06 ファナック株式会社 Motor driving device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03202713A (en) * 1989-12-28 1991-09-04 Toshiba Corp Position detecting apparatus
JPH0415520A (en) * 1990-05-09 1992-01-20 Omron Corp Rotation angle detecting device
JP3402207B2 (en) * 1998-07-21 2003-05-06 トヨタ自動車株式会社 Abnormality detector that detects abnormality of the rotation angle detector
JP4764099B2 (en) * 2005-08-10 2011-08-31 キヤノン株式会社 Position detection apparatus and imaging apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3202713B2 (en) 1999-01-05 2001-08-27 新潟日本電気株式会社 Opto-mechanical mouse and control method thereof
JP2002162253A (en) 2000-11-27 2002-06-07 Futaba Corp Automatic setting device of original signal on linear scale
JP2008261881A (en) 2008-07-07 2008-10-30 Canon Inc Position detector
JP2014126492A (en) 2012-12-27 2014-07-07 Canon Inc Position detector, driving control device, and lens device
JP2018194457A (en) 2017-05-18 2018-12-06 ファナック株式会社 Motor driving device

Also Published As

Publication number Publication date
JP2021018136A (en) 2021-02-15

Similar Documents

Publication Publication Date Title
JP4900738B2 (en) Electric motor drive control device
KR20130047653A (en) Motor drive controller and control method
US6522097B2 (en) Position detecting apparatus and abnormality detecting apparatus
US11554500B2 (en) Encoder, motor, and robot
JP2003235285A (en) Rotating direction detector for three-phase brushless dc motor
JP5172833B2 (en) AC servo motor rotational position detection method and simple encoder
JP7272888B2 (en) Rotation detector and motor drive device for detecting rotation information of rotating body
JP6292071B2 (en) Switched reluctance motor controller
JP5854677B2 (en) Motor speed detection device and motor control device
WO2019239792A1 (en) Motor control device
JP5006270B2 (en) Absolute encoder device and its operation method
JP6551289B2 (en) Rotating electrical machine control device
JPH0854205A (en) Rotational position detector for electric rotating
JP3706556B2 (en) Control device for permanent magnet motor
JP6454881B2 (en) Motor control device
JP4867534B2 (en) Motor speed detection device
JP4239291B2 (en) AC servo motor encoder
JP4138051B2 (en) Motor drive control device
JP2674024B2 (en) Servo controller
JP2005229760A (en) Inverter controller and inverter controlling method
JP6690508B2 (en) Motor control device
JP2003130683A (en) Device for detecting position
JPH10337093A (en) Rectangular voltage drive system of rotating electric machine
JP2021164330A (en) Power conversion device
JP2020190499A (en) Encoder device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230131

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230427

R150 Certificate of patent or registration of utility model

Ref document number: 7272888

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150